Skip to content

Instantly share code, notes, and snippets.

View scottlingran's full-sized avatar

Scott Lingran scottlingran

  • Melbourne, Australia
View GitHub Profile
var person = {
firstName: "JSON",
lastName: "Lim",
aptitude: "Awesome",
philosophy: "All SQL is based on selection"
};
@poteto
poteto / _media_queries.sass
Created October 22, 2012 13:54
Sass media queries
// Standard device screen widths
$iphone-portrait: 320px
$iphone-landscape: 480px
$ipad-portrait: 767px
$ipad-landscape: 980px
$desktop: 1224px
$desktop-large: 1824px
// General device targeting
// Use: Only use if you want the style to apply to many devices
@poteto
poteto / new-pg-db.md
Created August 24, 2012 08:48
new postgres db on local machine

Creating a new local pg database:

$ sudo su - postgres
# log in as postgres

$ createuser
# Enter name of role to add: username
# Shall the new role be a superuser? (y/n) n
# Shall the new role be allowed to create databases? (y/n) n