> git clone https://github.com/mdowndev/2014-portfolio
> cd 2014-portfolio
> mdown preview
This file contains hidden or 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 events = require("events"); | |
var Scanner = function() { | |
events.EventEmitter.call(this); | |
this.on("after1000", function(){ | |
console.log("one"); | |
}); |
This file contains hidden or 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 CreateBuildDirectory = function(callback) { | |
events.EventEmitter.call(this); | |
this.on("error", function(error){ | |
throw error; | |
process.kill(); | |
}); | |
this.on("removed", function(){ |
This file contains hidden or 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
Math.random() >= 0.5 |
This file contains hidden or 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
/** | |
* | |
* Albumprinter Copyright 2014 | |
* Samuel Ondrek, @ondrek | |
* | |
This file contains hidden or 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 myFunc = function(){}; | |
myFunc.prototype.bind = function( funct, obj ) { | |
return function(){ | |
return funct.apply( obj, arguments ); | |
}; | |
}; | |
/* | |
Element.addEventListener( "change", this.bind( this.refreshImagePreview, this ) ); |
This file contains hidden or 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
static assets in JS and CSS | |
how to include jquery | |
how to include google maps api | |
how to add social media | |
templates in templates | |
{{ templates.xxx }} |
This file contains hidden or 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
[ { "count" : 9815, | |
"degree" : "PhD." | |
}, | |
{ "count" : 2547, | |
"degree" : "CSc." | |
}, | |
{ "count" : 433, | |
"degree" : "DrSc." | |
}, | |
{ "count" : 290, |
This file contains hidden or 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
Core = function(){}; | |
Core.prototype.logger = function(arg){ | |
console.log(+Date(), arg); | |
}; |
This file contains hidden or 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
http://d13yacurqjgara.cloudfront.net/users/99244/screenshots/1143283/mountainlogo.png | |
http://d13yacurqjgara.cloudfront.net/users/3820/screenshots/806996/vintage_ski_patches.png | |
http://d13yacurqjgara.cloudfront.net/users/5531/screenshots/1285039/logo_gold_teaser.jpg | |
http://d13yacurqjgara.cloudfront.net/users/23979/screenshots/202998/planks_stack_teaser.jpg | |
http://d13yacurqjgara.cloudfront.net/users/60/screenshots/966935/check_these_logos.png | |
http://d13yacurqjgara.cloudfront.net/users/22136/screenshots/1332554/iis3_teaser.jpg | |
http://d13yacurqjgara.cloudfront.net/users/71149/screenshots/841887/dribbble-klondo_teaser.jpg | |
http://d13yacurqjgara.cloudfront.net/users/5772/screenshots/78763/shot_1289670195_teaser.jpg | |
http://d13yacurqjgara.cloudfront.net/users/3816/avatars/original/rally_logo.png?1358151861 | |
http://d13yacurqjgara.cloudfront.net/users/3597/screenshots/900613/ski-close.png" |