Description of the command.
Choose your flavor:
$ php bin/Hermes.php --execute CommandName [--option1="..."] [--option2="..."] [--optionN]
#!/bin/bash | |
set -e | |
show_help() { | |
cat << EOF | |
Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE] | |
${0##*/} -h | |
Open a standard connection in Sequel PRO. |
'use strict'; | |
define(['phaser'], function(Phaser) { | |
function Gesture(game) { | |
this.game = game; | |
this.swipeDispatched = false; | |
this.holdDispatched = false; | |
this.isTouching = false; |
via: http://www.webupd8.org/2011/05/install-firefox-nightly-from-ubuntu-ppa.html
Add the Mozilla Daily PPA (available for Ubuntu 11.04, 10.10 and 10.04) and install Firefox Nightly using the commands below:
$ [sudo] add-apt-repository ppa:ubuntu-mozilla-daily/ppa
$ [sudo] apt-get update
$ [sudo] apt-get install firefox-trunk
Since this is a daily builds PPA, it's nowhere near stable so use it at your own risk!
# You will need to run these with superuser permissions. | |
# Either prefix `sudo` to all commands, or switch user | |
# Be very careful when you switch user | |
sudo su - root | |
# Update all the packages | |
yum update | |
# Install the basics - python27, gcc, svn, git, httpd, make, uuid |
[ | |
{ | |
"id": 0, | |
"guid": "1b8c3019-c0b6-44f9-b35c-5b1b2729551a", | |
"isActive": true, | |
"balance": "$3,163.00", | |
"picture": "http://placehold.it/32x32", | |
"age": 32, | |
"name": "Saunders Sosa", | |
"gender": "male", |
Either copy the aliases from the .gitconfig
or run the commands in add-pr-alias.sh
Easily checkout local copies of pull requests from remotes:
git pr 4
- creates local branch pr/4
from the github upstream
(if it exists) or origin
remote and checks it outgit pr 4 someremote
- creates local branch pr/4
from someremote
remote and checks it out/* | |
_______ | |
These simple SCSS/SASS mixins for Foundation 4 are made by me to deal with media-queries and have a clean code at the same time! ;) | |
****IMPORTANT**** | |
Due to Foundation 4 uses mobile-first methodology, every $phone-"X" variable in these mixins defines the value for every screen size. | |
$desktop-"X" values overrides $phone-"X" values when the width of the window is 768px and above. |
#!/usr/bin/python | |
""" | |
Media fix is designed to re-factor media queries within the CSS outputted by | |
SASS. | |
Usage: python media-fix.py style.css, ... | |
""" | |
import sys | |
import re |