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
| @repo = "file:///path_to_svn_repo" | |
| #How much each ticket should be incremented by | |
| @increment_ticket = 100 | |
| #If the incremented ticket is above or below these numbers it will not increment | |
| #Useful if you have a svn repository which refers to tickets in another project | |
| @ticket_min = 0 | |
| @ticket_max = 100000 | |
| class SvnEntry | |
| attr_accessor :revision, :log |
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
| wmctrl -a 'Google Chrome' |
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
| banshee --toggle-playing |
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
| config.vm.customize ["modifyvm", :id, "--memory", "1024", "--ioapic", "on"] | |
| # Set cpu cores | |
| if not RUBY_PLATFORM.downcase.include?("mswin") | |
| config.vm.customize ["modifyvm", :id, "--cpus", | |
| `awk "/^processor/ {++n} END {print n}" /proc/cpuinfo 2> /dev/null || sh -c 'sysctl hw.logicalcpu 2> /dev/null || echo ": 2"' | awk \'{print \$2}\' `.chomp ] | |
| end |
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
| zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so | |
| xdebug.remote_enable=1 | |
| xdebug.remote_handler=dbgp | |
| xdebug.remote_mode=req | |
| xdebug.remote_host=192.168.33.1 | |
| xdebug.remote_port=9000 | |
| xdebug.remote_cookie_expire_time=36000 | |
| xdebug.profiler_enable_trigger = 1; | |
| xdebug.profiler_output_dir = "/vagrant/profiler" | |
| xdebug.profiler_output_name = cachegrind.out.%t.%p |
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
| SYMFONY_ENV=prod ./composer.phar install |
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
| fos_rest: | |
| param_fetcher_listener: true | |
| view: | |
| view_response_listener: true | |
| failed_validation: HTTP_BAD_REQUEST | |
| default_engine: php | |
| formats: | |
| json: true | |
| format_listener: | |
| prefer_extension: true |
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
| require 'mail' |
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 | |
| REGISTRY_IP=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' registry) | |
| for f in * | |
| do | |
| if [[ "$f" != *\.sh ]] | |
| then | |
| config=$(<$f); | |
| config=${config//REGISTRY_IP/$REGISTRY_IP}; | |
| printf '%s\n' "$config" >../sites-enabled/$f |
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 | |
| if [ $# -eq 0 ] | |
| then | |
| echo "Templater" | |
| echo "Copies templates from one folder to another." | |
| echo "Only replaces variables that exist in the environment" | |
| echo "Usage: templater IN_FOLDER OUT_FOLDER" | |
| exit 1 | |
| fi |
OlderNewer