- something
- something else
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class php | |
| { | |
| $packages = [ | |
| "php5", | |
| "php5-cli", | |
| "php5-mysql", | |
| "php5-dev", | |
| "php5-mcrypt", | |
| "php5-gd", | |
| "php5-curl", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| git diff --cached --name-status --diff-filter=ACMR | while read STATUS FILE; do | |
| if [[ "$FILE" =~ ^.+(php|inc)$ ]]; then | |
| php -l "$FILE" 1> /dev/null | |
| if [ $? -ne 0 ]; then | |
| echo "Aborting commit due to files with syntax errors" >&2 | |
| exit 1 | |
| fi | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| load_ssh_agent() { | |
| local keys="$@" | |
| local tmp=~/.ssh-agent | |
| if [ -e $tmp ] ; then | |
| . $tmp | |
| fi | |
| ssh-add -l > /dev/null | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host github.com | |
| hostname github.com | |
| IdentityFile ~/.ssh/key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class CalDay | |
| { | |
| protected $date; | |
| protected $week; | |
| protected $id; | |
| public function setId($id) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class CalDay | |
| { | |
| protected $date; | |
| protected $week; | |
| protected $id; | |
| public function setId($id) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sculpin: | |
| raw: | |
| - "bower_components/*" | |
| sculpin_posts: | |
| permalink: "blog/:filename/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trq@oblivion[~/src/lr]+ bin/sculpin generate | |
| [Twig_Error_Syntax] | |
| Unexpected tag name "highlight" (expecting closing tag for the "block" tag defined near line 1) in "FileSource:FilesystemDataSource:/Users/trq/src/lr/source:bower_components/sa | |
| ss-bootstrap/components.html" at line 816 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I need: | |
| sudo bindfs --owner=vagrant --group=www-data --perms=u=rwX:g=rwX:o=r /.vagrant-storage /var/www/app/storage | |
| to end up being: | |
| sudo bindfs -o nonempty --owner=vagrant --group=www-data --perms=u=rwX:g=rwX:o=r /.vagrant-storage /var/www/app/storage |