Skip to content

Instantly share code, notes, and snippets.

View Sacristan's full-sized avatar

Ģirts Ķesteris Sacristan

View GitHub Profile
@Sacristan
Sacristan / check unix relative dir disk space
Created June 12, 2014 12:55
check unix relative dir disk space
du --max-depth=1 2> /dev/null | sort -n -r | head -n20
@Sacristan
Sacristan / dev user
Created June 10, 2014 20:06
Rails create posgres user -> superuser and login
sudo su postgres -c psql
postgres=# CREATE ROLE <username> SUPERUSER LOGIN;
postgres=# \q
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
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.