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
Pre-Alpha: the first stage of development, if a previous game was made that had a similar engine to the one going to be used, it uses the previous games engine, the engine controls everything in the game; | |
Alpha: Similar to pre-alpha, but most major levels and maps are completed, some slightly revamped textures now exist; | |
Beta: Very similar to the final stage of the game, usually the stage where things in the game are given there semi-final test; | |
Delta: A very short testing stage; | |
Final Product: This is what well pick up in stores and will enjoy. |
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
DB -> Local | |
ssh [email protected] | |
pg_dump --format=c -h localhost --username norden nordenhealth > latest.dump | |
scp [email protected]:/home/deployer/latest.dump ~/Desktop/ | |
source ~/.bashrc && rake db:drop && rake db:create && pg_restore --verbose --clean --no-acl --no-owner -h localhost -U sac -d nordenhealth_development ~/Desktop/latest.dump | |
rake db:migrate RAILS_ENV=test && rake db:seed RAILS_ENV=test | |
Local -> DB | |
source ~/.bashrc && pg_dump --format=c -h localhost --username sac nordenhealth_development > ~/Desktop/t_latest.dump | |
scp ~/Desktop/t_latest.dump [email protected]:/home/deployer/t_latest.dump |
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
sudo su postgres -c psql | |
postgres=# CREATE ROLE <username> SUPERUSER LOGIN; | |
postgres=# \q |
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
du --max-depth=1 2> /dev/null | sort -n -r | head -n20 |
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
1. gem uninstall net-ssh | |
2. bundle install | |
3. sudo curl https://raw.githubusercontent.com/beautifulcode/ssh-copy-id-for-OSX/master/ssh-copy-id.sh -o /usr/local/bin/ssh-copy-id | |
4. sudo chmod +x /usr/local/bin/ssh-copy-id | |
5. ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected] |
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
sudo apt-get install postgresql postgresql-contrib | |
sudo -u postgres createuser sac |
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
sudo su postgres -c psql | |
ALTER USER myuser WITH SUPERUSER; |
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
# Path to your oh-my-fish. | |
set fish_path $HOME/.oh-my-fish | |
set fish_plugins git rails rvm | |
# Theme | |
set fish_theme robbyrussell | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-fish/plugins/*) | |
# Custom plugins may be added to ~/.oh-my-fish/custom/plugins/ | |
# Example format: set fish_plugins autojump bundler |
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
ssh deployer@$ip | |
pg_dump --format=c -h localhost --username norden nordenhealth > latest.dump | |
scp deployer@$ip:/home/deployer/latest.dump ~/Desktop/ | |
rake db:drop db:create;and pg_restore --verbose --clean --no-acl --no-owner -h localhost -U girts -d nordenhealth_development ~/Desktop/latest.dump |
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
for TRANS in `cat ~/transactions`; do echo "__"$TRANS"__" && cat ~/apps/nordenhealth/shared/log/unicorn.log | grep '"VK_SERVICE"=>"1101"' | grep '"VK_STAMP"=>"'$TRANS'"' ; done | |
for TRANS in `echo 102344`; do echo "__"$TRANS"__" && cat ~/apps/nordenhealth/shared/log/unicorn.log | grep '"VK_SERVICE"=>"1101"' | grep '"VK_STAMP"=>"'$TRANS'"' ; done |
OlderNewer