This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ [Error: Validation Error | |
UglifyJs Plugin Invalid Options | |
options.parallel should be boolean | |
options.parallel should be integer | |
options.parallel should match exactly one schema in oneOf | |
] | |
err: | |
[ { keyword: 'type', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- HTML below from below from http://www.smoothdivscroll.com/runningTicker.html but took out the display: none styles for the hotspots (but they are still not appearing) --> | |
<div id="ticker"> | |
<div class="ticker-container"> | |
<div id="scrollingText"> | |
<div id="ticker-left" class="arrow"> | |
</div> | |
<div class="scrollWrapper"> | |
<div id="scrollableArea" class="container-fluid scrollableArea"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var escodegen = require('escodegen') | |
var through = require('through') | |
var esprima = require('esprima') | |
var modify = require('./modify') // Custom code that you write to preprocess the file | |
module.exports = function(file, opts) { | |
var buffer = [] | |
return through(function(data) { | |
buffer.push(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Overview of Go Tools and and how the Go language resolvesd dependencies. | |
- http://areyoufuckingcoding.me/2012/02/14/the-go-tool/ | |
- interesting writing style, but insightful | |
- written 2 years ago | |
The Problem | |
- Go pulls from HEAD and relies on third party maintainers to always have a clean master | |
- Hard to create dependable, reproducable builds on different systems | |
- Puts more work on the developer | |
- Golang-nuts mailing list discussion: https://groups.google.com/forum/#!topic/golang-nuts/rePoHM1ERMA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//get node specific and less strict options from .jshintrc file | |
var jsHintOPTIONS = JSON.parse(JSON.minify(fs.readFileSync('./.jshintrc', 'utf8'))); | |
/*Purpose: To run jsHint on a str.js | |
Params: error message passed up from callback caller, string is path and filename to a .js file | |
Output: Outputs to console a very similar output as "$ jshint myfile.js". After a file finishe with errors, script exits with code 1 | |
Async: false - because call to readFile uses readFileSync version | |
*/ | |
function hint(err, str) { | |
if (err) { |