Skip to content

Instantly share code, notes, and snippets.

@Netcelal
Netcelal / mixins.scss
Created July 25, 2012 20:44 — forked from jpmckinney/mixins.scss
CSS3 SCSS Mixins
// blog post: http://blog.slashpoundbang.com/post/15096433153/css3-scss-mixins
// Mixins ----------------------------------------------------------------------
// http://css3please.com/
@mixin background-rgba($red, $green, $blue, $opacity, $rgba) {
background-color: transparent;
background-color: rgba($red, $green, $blue, $opacity);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$rgba}',endColorstr='#{$rgba}');
zoom: 1;
}
@Netcelal
Netcelal / Boxfile.yml
Created July 30, 2012 23:38 — forked from Meroje-snippets/Boxfile.yml
Boxfile:Laravel
global:
env:
- LARAVEL_ENV: production
web1:
name: your-app-name
shared_writable_dirs:
- /storage/cache
- /storage/database
- /storage/logs
- /storage/sessions
@Netcelal
Netcelal / gist:3296673
Created August 8, 2012 17:03 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), uri);