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
# Install prerequisites before compiling: | |
apt-get install build-essential | |
apt-get install libfuse-dev | |
apt-get install fuse-utils | |
apt-get install libcurl4-openssl-dev | |
apt-get install libxml2-dev | |
apt-get install mime-support | |
# Download and Install | |
wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz |
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
{ | |
"settings" : { | |
"id" : "matthewhudson", | |
"name" : "Matthew Hudson", | |
"avatar" : "http://www.matthewghudson.com/Matthew-Hudson.jpg", | |
"enable_search" : true | |
}, | |
"content" : { | |
"tumblr" : { | |
"title" : "Blog", |
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 constructor = function (spec, my) { | |
var that = {}; | |
var my = my || {}; | |
// This function is private. | |
my.privateFunction = function() { | |
return true; | |
}; | |
// This function is public. |
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() { | |
// Open external links in a new window. | |
$("a").each(function(index) { | |
var re = new RegExp('^(?:f|ht)tp(?:s)?\://([^/]+)', 'im'); | |
var hostname = $(this).attr('href').match(re)[1].toString(); | |
if (hostname != "www.wetalky.com") { | |
$(this).attr({ | |
target: "_blank" |
NewerOlder