This file contains 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
# setup hml | |
composer install | |
bower install -F | |
php app/console cache:clear | |
php app/console cache:clear --env=prod | |
php app/console assetic:dump | |
php app/console assetic:dump --env=prod --no-debug | |
php app/console assets:install | |
php app/console assets:install --env=prod --no-debug |
This file contains 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
cl_crosshairalpha "200" | |
cl_crosshaircolor "5" | |
cl_crosshaircolor_b "50" | |
cl_crosshaircolor_r "50" | |
cl_crosshaircolor_g "250" | |
cl_crosshairdot "0" | |
cl_crosshairgap "-1" | |
cl_crosshairsize "3" | |
cl_crosshairstyle "4" | |
cl_crosshairusealpha "1" |
This file contains 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
#/etc/init/kong.conf | |
# Kong Server Container Service | |
description "Kong App" | |
author "Ingresse S.A." | |
start on filesystem and started docker | |
stop on runlevel [!2345i] | |
respawn |
This file contains 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 | |
# PHP CodeSniffer pre-commit hook for git | |
# | |
# @author Soenke Ruempler <soenke@ruempler.eu> | |
# @author Sebastian Kaspari <s.kaspari@googlemail.com> | |
# | |
# see the README | |
PHPCS_BIN=/usr/local/bin/phpcs | |
PHPCS_CODING_STANDARD=PSR2 |
This file contains 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
export PATH="/usr/local/bin:$PATH" | |
source /usr/local/git/contrib/completion/git-completion.bash | |
source /usr/local/git/contrib/completion/git-prompt.sh | |
if [ -f ~/.bash_aliases ]; then | |
. ~/.bash_aliases | |
fi |
This file contains 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
if [ -f /etc/bash_completion ]; then | |
source /etc/bash_completion | |
fi | |
__has_parent_dir () { | |
# Utility function so we can test for things like .git/.hg without firing up a | |
# separate process | |
test -d "$1" && return 0; | |
current="." |
This file contains 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
#install pv: sudo apt-get install pv | |
pv <file>.sql.bz2 | bunzip2 -c | mysql --host <host> -u admin -p ingresse |
This file contains 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
// FROM: http://www.mongodb.org/display/DOCS/Updating#Updating-update%28%29 | |
// | |
// db.collection.update( criteria, objNew, upsert, multi ) | |
// criteria - query which selects the record to update; | |
// objNew - updated object or $ operators (e.g., $inc) which manipulate the object | |
// upsert - if this should be an "upsert"; that is, if the record does not exist, insert it | |
// multi - if all documents matching criteria should be updated | |
// | |
// SQL VERSION: | |
// UPDATE myTable SET dateField = '2011-01-01' WHERE condField = 'condValue' |
This file contains 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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Dracula Color Scheme/Dracula.tmTheme", | |
"copy_with_empty_selection": false, | |
"ensure_newline_at_eof_on_save": true, | |
"font_options": "subpixel_antialias", | |
"font_size": 14, | |
"highlight_line": true, | |
"ignored_packages": | |
[ |
This file contains 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
set PATH ~/bin $PATH | |
set PATH /usr/local/bin $PATH | |
#PHP 5.5 (brew install php55) | |
set PATH /usr/local/Cellar/php55/5.5.12/bin $PATH |