> 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
function walk(dir) { | |
var results = []; | |
fs.readdirSync(dir).forEach(function(file) { | |
file = dir+'/'+file; | |
var stat = fs.statSync(file); | |
if (stat && stat.isDirectory()) { |
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 _getFiles = function(dir) { | |
var results = []; | |
filesystem.readdirSync(dir).forEach(function(file) { | |
file = dir+'/'+file; | |
var stat = filesystem.statSync(file); | |
if (stat && stat.isDirectory()) { |
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 _getUniqItemsFromArray = function(array){ | |
var temp = {}; | |
var uniqueArray = []; | |
for (var i = 0; i < array.length; i++) { | |
temp[array[i]] = true; | |
} | |
for (var k in temp) { |
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
canvas { margin: 20px; } |
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
$(document).ready(function() { | |
var ctl = new Leap.Controller({enableGestures: true}); | |
var swiper = ctl.gesture('swipe'); | |
var totalDistance = 0; | |
var tolerance = 50; | |
var cooloff = 300; |
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
goog.provide( "lib.display.CanvasText" ); | |
goog.require( "lib.display.IDisplayObject" ); | |
goog.require( "lib.display.CanvasSprite" ); | |
goog.require( "goog.dom" ); | |
goog.require( "goog.events.Event" ); | |
goog.require( "goog.asserts" ); | |
goog.require( "easy.data.domain.placeholder.font.FontStyle" ); | |
goog.require( "goog.math.Coordinate" ); | |
goog.require( "easy.data.domain.Color" ); |
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://www.marchettidesign.net/fullby/ | |
http://www.eleventhemes.com/gridly/ | |
http://themeforest.net/item/gridlocked-minimalistic-wordpress-portfolio-theme/full_screen_preview/245947?ref=cinim | |
http://themes.zeotheory.com/?theme=spaces | |
http://themeforest.net/item/hoarder-responsive-wordpress-blog-theme/full_screen_preview/2919551?ref=cinim | |
http://themeforest.net/item/gridnik-elite-portfolio-wordpress-theme/full_screen_preview/145673?ref=cinim | |
http://themeforest.net/item/quickly-handcrafted-wordpress-theme/full_screen_preview/4670677?ref=cinim | |
http://themeforest.net/item/dreame-responsive-wordpress-theme/full_screen_preview/5438510?ref=cinim |
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" |
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); | |
}; |