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
/*************************************************************************** | |
* FeatureLogger - Saves features detected by Modernizr to google analytics | |
***************************************************************************/ | |
(function () { | |
var _gaq = _gaq || [], | |
Modernizr = Modernizr || {}; | |
for(testName in Modernizr) // For every Modernizr test | |
if(typeof Modernizr[testName] === 'boolean') // If it is a boolean | |
_gaq.push(['_trackEvent', 'modernizr', testName, ((Modernizr[testName]) ? 'Yes' : 'No')]); // Log a yes or no | |
})(); |
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
#Linux GNOME | |
alias git-push="gnome-open 'http://www.youtube.com/watch?v=YleXlgHI1oM' && git push" | |
#OS X | |
alias git-push="open 'http://www.youtube.com/watch?v=YleXlgHI1oM' && git push" |
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
public bool onError(error) | |
{ | |
if (error == true) | |
return true | |
return false | |
} |
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
[laney:~/projects/yoSite] $ grunt server | |
/Users/laney/projects/yoSite/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js:53 | |
KEYWORDS = makePredicate(KEYWORDS); | |
^ | |
util.debug: Use console.error instead | |
DEBUG: ERROR in file: /Users/laney/projects/yoSite/node_modules/grunt-contrib-uglify/node_modules/uglify-js/lib/parse.js / ReferenceError: KEYWORDS is not defined | |
Elapsed time | |
Total 120ms | |
[laney:~/projects/yoSite] $ grunt |
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 TomLane = { | |
isStudent: true, | |
experience: [ | |
'html', | |
'css', | |
'JavaScript', | |
'git', | |
'tooling', | |
'yeoman', | |
'responsive design', |
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
<!-- YUI JS Module Loader --> | |
<script src="http://yui.yahooapis.com/3.10.1/build/yui/yui-min.js"></script> | |
<!-- YUI CSS Includes --> | |
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?3.10.1/cssfonts/cssfonts-min.css&3.10.1/cssgrids/cssgrids-min.css&3.10.1/cssreset/cssreset-min.css&3.10.1/cssbase/cssbase-min.css"> |
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
bower cloning git://github.com/jrburke/requirejs | |
bower cached git://github.com/components/jquery.git | |
bower cached git://github.com/jrburke/requirejs | |
bower fetching jquery | |
bower cloning git://github.com/jlong/sass-twitter-bootstrap.git | |
bower fetching requirejs | |
bower fetching sass-bootstrap | |
bower cloning git://github.com/components/jquery.git | |
bower cached git://github.com/jlong/sass-twitter-bootstrap.git | |
bower cloning git://github.com/Modernizr/Modernizr.git |
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
C:\Users\Lenovo\Dropbox\Webdev\Projects\yo> yo webapp | |
Error webapp | |
Invalid namespace: webapp (or not yet registered). | |
Registered: 4 namespace(s). Run with the `--help` option to list them. | |
C:\Users\Lenovo\Dropbox\Webdev\Projects\yo> yo webapp --help | |
Usage: yo GENERATOR [args] [options] | |
General options: | |
-h, --help # Print generator's options and usage |
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
C:\Users\Lenovo\Dropbox\Webdev\Projects\yo> yo webapp | |
Error webapp | |
Invalid namespace: webapp (or not yet registered). |
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
C:\Users\Lenovo\Dropbox\Webdev\Projects\generator>mocha test/ | |
...path.existsSync is now called `fs.existsSync`. | |
.. create write/to/bar.js | |
create write/to/foo.js | |
create write/to/lodash.js | |
..... create write/to/foobar.js | |
. create write/to/from-template.js | |
create foo-template.js | |
create write/to/from-template-bar.js |
NewerOlder