Skip to content

Instantly share code, notes, and snippets.

View Goles's full-sized avatar

Nicolas Goles Goles

View GitHub Profile
➜ ~ rvm get stable && rvm get head
Original installed RVM version:
rvm 1.10.2 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 829k 100 829k 0 0 105k 0 0:00:07 0:00:07 --:--:-- 168k
Usage:
rvm get {stable|latest|x.y.z|head|master|branch|help} [--auto]
Options:
stable - git clone and install the latest RVM repository stable branch.
latest - download and install the latest RVM release listed by
https://rvm.beginrescueend.com/releases/stable-version.txt
@Goles
Goles / engine_template_generator.py
Created August 16, 2011 09:20
Gando Games Automatic Engine Template Generation
#!/usr/bin/python
import shutil
import sys
import os
import subprocess
ROOT_PATH = "GGEngine/"
SRC_PATH = "src/gengine"
GG_USERNAME = "username"
GIT_REPO_URL = "ssh://" + GG_USERNAME + "@gandogames.com/path/to/engine.git "
@Goles
Goles / gist:1091012
Created July 19, 2011 00:18
Schemaless
db.itemTypes
name: Weapon
types: Pierce, Sharp
name: Magic
types: Fire, Ice
db.items
@Goles
Goles / gist:1091007
Created July 19, 2011 00:12
Pseudo Relational
weapon_type_id | weapon_type
1 Pierce
2 Sharp
magic_type_id | magic_type
1 Fire
weapon_id | weapon| weapon_type_id | damage
1 | Knife | 3 | 2