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
assemble: { | |
options: { | |
layoutdir: '<%= config.src %>/templates/layouts', | |
}, | |
posts: { | |
options: { | |
flatten: true, | |
layout: 'entry.hbs', | |
ext: '.html' | |
}, |
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
dist/ | |
blog/ | |
post1.html | |
post2.html | |
post3.html | |
index.html | |
src/ | |
content/ | |
blog/ | |
post1.hbs |
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
jQuery.get('/account/info').always(function(data, textStatus, jqXHR){ | |
if(jqXHR.status === 200){ | |
try{ | |
if(typeof data.userName === 'string'){ | |
if(data.userName !== ''){ |
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
jQuery.get('/account/info').always(function(data, textStatus, jqXHR){ | |
if(jqXHR.status === 200){ | |
try{ | |
if(typeof data.userName === 'string'){ | |
if(data.userName !== ''){ |
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
jQuery.get('/account/info').always(function(data, textStatus, jqXHR){ | |
if(jqXHR.status === 200){ | |
try{ | |
jQuery('#user-name').text(data.userName); | |
} catch(error){ |
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
jQuery.get('/account/info').always(function(data, textStatus, jqXHR){ | |
if(jqXHR.status === 200){ | |
jQuery('#user-name').text(data.userName); | |
} | |
}); |
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
jQuery.get('/account/info', function(data){ | |
jQuery('#user-name').text(data.userName); | |
}); |
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
jQuery.get('/account/info', function(data){ | |
jQuery('#user-name').text(data.userName); | |
}); |
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
_gaq.push(['_trackEvent', 'Donate error', 'field validation error', 'email']); |
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
#!/usr/bin/env python | |
#install the follow first: | |
#sudo easy_install pip | |
#sudo pip install -U boto | |
#sudo pip install configparser |