Skip to content

Instantly share code, notes, and snippets.

View alexserver's full-sized avatar

Alejandro Gomez alexserver

View GitHub Profile
alexserver / .profile
Last active August 29, 2015 14:02 — forked from kenzie/.profile
# add these aliases to your BASH profile ~/.profile
alias mongodb-start="mongod run --config /usr/local/etc/mongod.conf"
alias redis-start="redis-server /usr/local/etc/redis.conf"
alias mongodb-stop="mongod --shutdown"
alias redis-stop="redis-cli shutdown"
# TODO fix mongod shutdown
alexserver / page.php
Last active August 29, 2015 13:57 — forked from jonexe/page.php
* The template for displaying all pages.
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
* @package WordPress

Assumes a fresh install of Ubuntu 12.04 LTS.

  1. Setup the system to handle compiling and installing from source.

     $ sudo apt-get install build-essential
  2. If SSL support is needed then we will need to install libssl-dev.

     $ sudo apt-get install libssl-dev
alexserver / Genesis.GOD
Last active December 27, 2015 02:48 — forked from ZeroDragon/Genesis.GOD
//Así se creó el mundo version Programador... (se vale contribuir en los comentarios)
//tambien pueden hacer un fork y luego hacemos un merge :P
//Genesis... Documentación en
1:0 void();
tierra = new Earth();
cielo = new Heaven();
1:2 tierra.oscuridad = true;
tierra.agua = new Water();
1:3 tierra.luz = new Light();