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
git ls-files | rsync -avzn --delete --files-from=/dev/stdin . jupiter:proj/ir |
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 | |
BROWSER="links" | |
PHPDOC="/path/to/doc/php/" | |
if [ "$#" -ne 1 ]; then | |
echo "usage: phpman class|function" | |
exit | |
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
/usr/bin/bitesize.d | |
/usr/bin/cpuwalk.d | |
/usr/bin/creatbyproc.d | |
/usr/bin/dappprof | |
/usr/bin/dapptrace | |
/usr/bin/diskhits | |
/usr/bin/dispqlen.d | |
/usr/bin/dtruss | |
/usr/bin/errinfo | |
/usr/bin/execsnoop |
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
while [[ 1 ]]; do kill -USR1 `pgrep ^dd$`; sleep 2; done |
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
search: (^ +)(if|else|do|while|switch|for) (.*)?{ | |
replace: $1$2 $3\n$1{ |
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
{ | |
arrowheads = ( | |
{ | |
Gap = 0.5; | |
LineGap = 1.0; | |
Name = ExactOne; | |
Path = { | |
elements = ( | |
{element = MOVETO; point = "{12, 6}"; }, | |
{element = CURVETO; control1 = "{3, 6}"; control2 = "{3, -6}"; point = "{12, -6}"; }, |
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 | |
// utf-8 is the default setting, just to be sure for this example. | |
ini_set('default_charset', 'UTF-8'); | |
if (count($_POST)) { | |
var_dump($_POST); | |
} | |
?> |
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
// Preload Qucksand Bold | |
var preload = $('<div>hello</div>').css({ | |
'clip': 'rect(1px, 1px, 1px, 1px)', | |
'font-family': 'Quicksand Bold', | |
'position': 'absolute' | |
}); | |
$('body').prepend(preload); |
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
#!/usr/bin/env sh | |
# | |
# A shell wrapper for composer.phar | |
# | |
#set -e | |
# Do we have PHP? | |
PHP=$(which php) |
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
after "deploy:restart", "deploy:cleanup" | |
after "deploy:setup", "symfony:setup:parameters_init" | |
# Clear the cache before the cache:warmup task is run. The cache directory is | |
# shared, that way setting ACL's only happens once and we avoid the use of | |
# sudo | |
before 'deploy:finalize_update', 'symfony:cache:remove' | |
namespace :symfony do | |
namespace :cache do |