Skip to content

Instantly share code, notes, and snippets.

View johnpeele's full-sized avatar
🏠
Working from home

John Peele johnpeele

🏠
Working from home
View GitHub Profile
upstream php-fpm {
server unix:/var/run/php5-fpm.sock;
}
server {
listen 80;
server_name www.example.com;
rewrite ^ http://example.com$request_uri?;
}
@johnpeele
johnpeele / _media32.scss
Created February 13, 2014 19:36
Sass media query mixin
// Here are some variables, then a mixin and then an application of the mixin - this will only compile using Sass 3.2
//variables
$XS: 12.5em; // 200px;
$S: 18.75em; // 300px
$SM: 35em; // 560px
$M: 47.5em; // 760px
$L: 63em; // 1008px
$XL: 110em; // 1760px
$XXL: 180em; // 2880px
@johnpeele
johnpeele / README.md
Created December 4, 2013 15:48 — forked from hupili/README.md

Use Git to update your web server.

Many hosting service now supports not only FTP and web uploading but also SSH. It's more convenient to use the Git flow:

  • Modify and test your site locally.
  • Push to remote Git repo, which triggers the update of your website.

My settings:

@johnpeele
johnpeele / perferences.json
Created August 22, 2012 13:21 — forked from soffes/perferences.json
My Sublime Text 2 config
{
"color_scheme": "Packages/User/Monokai Soda.tmTheme",
"theme": "Soda Dark.sublime-theme",
// "theme": "Soda Light.sublime-theme",
"soda_classic_tabs": true,
"fade_fold_buttons": false,
"bold_folder_labels": true,
"highlight_modified_tabs": true,
"save_on_focus_lost": true,
"tab_size": 2,