Skip to content

Instantly share code, notes, and snippets.

View gioragutt's full-sized avatar

Giora Guttsait gioragutt

View GitHub Profile
@gioragutt
gioragutt / game.md
Last active November 24, 2018 20:43
ruven.properties

Concept

  • Real time combat
  • Team Game
  • Online - optional, with ability to private host
  • Deathmatch/Team Deathmatch support
  • Time based/ Goal based games. Not endless.

Game Features

@gioragutt
gioragutt / Docs.md
Last active October 22, 2018 20:48
Docs for creating a game
@gioragutt
gioragutt / .gitconfig
Last active March 19, 2018 01:14
Git Presentation
[alias]
graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%cr)%C(reset) %C(white) %s%C(reset) %C(bold yellow)- %cn%C(reset)%C(bold red)%d%C(reset)' --all
pr = pull --rebase
ob = checkout -b
amend = commit --amend
qam = commit --amend --no-verify --no-edit
tmp = commit --no-verify -m
far-master = !git fetch && git checkout -f master && git reset --hard origin/master
@gioragutt
gioragutt / bootstrap.sh
Last active February 7, 2018 16:20
initialize mongo with replication set
DEFAULT_VOLUME_PATH=~/mongo/data
CONTAINER_NAME=some-mongo
runMongoContainer()
{
VOLUME=$1
docker run --name $CONTAINER_NAME -v $VOLUME:/data/bs -p 27017:27017 -d mongo --replSet rs0
####################################################################### NOTICE --replSet
}