All (well, most of it) the apps & tools I installed on my Mac from clean install until now
Install Homebrew (check website for latest install code)
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
ssh -t user@domain.com 'cd /home/domain/public && git pull' |
alias backup-webapps="ssh -t user@domain 'tar zcvf webapps.tar.gz webapps' && mkdir ~/Documents/Backups/webapps-`date +%Y%m%d` && rsync -avz user@domain:/home/user/webapps.tar.gz ~/Documents/Backups/webapps-`date +%Y%m%d`" |
{ | |
"theme": "Soda Light 3.sublime-theme", | |
"soda_folder_icons": true, | |
"font_size": 16, | |
"font_face": "Menlo", | |
"line_padding_bottom": 1, | |
"line_padding_top": 1, | |
"caret_style": "wide", |
<?php | |
// Add to functions.php | |
add_action('save_post', 'rei_xmlrpc_process_post'); | |
function rei_xmlrpc_process_post($post_id) | |
{ | |
if (defined('XMLRPC_REQUEST') && XMLRPC_REQUEST) | |
{ |
!!! 5 | |
%html{ :xmlns => "http://www.w3.org/1999/xhtml", :lang => "en", "xml:lang" => "en"} | |
%head | |
%title Sample Haml | |
%body | |
#example_header | |
:markdown | |
This is [Haml](http://en.wikipedia.org/wiki/Haml) with [Markdown](http://daringfireball.net/projects/markdown/) |
{ | |
"require": { | |
"silex/silex": "1.0.*@dev" | |
} | |
} |
{ | |
"require": { | |
"silex/silex": "1.0.*@dev" | |
} | |
} |
function set_responsive_class(viewportwidth){ | |
/* Small phones */ | |
if (viewportwidth > 480) { | |
$("body").attr("data-viewport-bigger-than-mobile", "true"); | |
} | |
/* Big phones */ | |
if (viewportwidth > 767) { | |
$("body").attr("data-viewport-bigger-than-mobilelarge", "true"); |
@mixin mq($size) { | |
/* Desktop */ | |
@if $size == "max" { | |
@media (min-width: 1200px) { | |
@content; | |
} | |
/* Landscape tablet and desktop small */ | |
} @else if $size == "large" { |
All (well, most of it) the apps & tools I installed on my Mac from clean install until now
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"