Skip to content

Instantly share code, notes, and snippets.

View andrewsmedina's full-sized avatar

Andrews Medina andrewsmedina

View GitHub Profile
@hugs
hugs / build_test_install.txt
Created February 26, 2010 15:39
Selenium 2 Build - Ubuntu 9.10 - Python 2.6
# Get recent updates
$ sudo apt-get update upgrade
$ sudo apt-get upgrade
# Install some decent tools :-)
$ sudo apt-get install vim ack-grep
# Install pre-reqs
$ sudo apt-get install sun-java6-jdk ruby rake subversion python-pip python2.6-dev
$ sudo pip install distribute py
@viniciusteles
viniciusteles / gist:556029
Created August 29, 2010 06:20
Sete Atitudes para Hackear a Indústria de Software
Sete Atitudes para Hackear a Indústria de Software
By Klaus Wuestefeld
1) Torne-se excelente.
Seja realmente bom em alguma coisa. Não fique só choramingando ou
querendo progredir às custas dos outros. Não pense q pq vc sentou 4
anos numa faculdade ouvindo um professor falar sobre software q vc
sabe alguma coisa. Jogador de futebol não aprende a jogar bola tendo
<!DOCTYPE html>
<!-- Helpful things to keep in your <head/>
// Brian Blakely, 360i
// http://twitter.com/brianblakely/
-->
<head>
<!-- Disable automatic DNS prefetching.
@igorsobreira
igorsobreira / gist:595326
Created September 24, 2010 13:06
vimrc
syntax on
set encoding=utf-8
set fileformat=unix
set number
set expandtab
set ignorecase
set nowrap
set shiftround " when at 3 spaces, and I hit > ... go to 4, not 5
set smartcase " if there are caps, go case-sensitive
@bebraw
bebraw / gameengines.md
Created January 6, 2011 18:07
List of JS game engines. You can find a wikified version at https://github.com/bebraw/jswiki/wiki/Game-Engines. Feel free to modify that. I sync it here every once in a while.

IMPORTANT! Remember to check out the wiki page at https://github.com/bebraw/jswiki/wiki/Game-Engines for the most up to date version. There's also a "notes" column in the table but it simply does not fit there... Check out the raw version to see it.

This table contains primarily HTML5 based game engines and frameworks. You might also want to check out the [[Feature Matrix|Game-Engine-Feature-Matrix]], [[Game Resources]] and [[Scene Graphs]].

Name Size (KB) License Type Unit Tests Docs Repository Notes
Akihabara 453 GPL2, MIT Classic Repro no API github Intended for making classic arcade-style games in JS+HTML5
AllBinary Platform Platform Dependent AllBinary 2D/2.5D/3D n
@transaction.commit_on_success
def _action(action, o):
getattr(o,action)()
o.is_processing = False
o.save()
def _bulk_action(action, objs):
for o in objs:
_action(action,o)
@marcelnicolay
marcelnicolay / quatix.mkd
Created March 28, 2011 22:11
Quatix - Vaga para desenvolvedor

Quatix

Somos uma empresa de tecnologia com espírito altamente inovador e empreendedor. Trabalhamos com grandes companhias, que confiam no nosso trabalho e nos vêem como verdadeiros parceiros, capazes de aliar o mais alto padrão de tecnologia da informação às suas necessidades.

Trabalhamos com práticas ágeis de desenvolvimento, em um ambiente seguro, altamente colaborativo, que possibilita maior integração e sinergia entre todos da equipe. Acreditamos que o maior valor que uma empresa pode ter está nas pessoas que a constituem, por isso, procuramos valorizar nossos profissionais e dar todas as condições necessárias para seu crescimento pessoal e profissional.

Acreditamos que desenvolvimento de qualidade se faz com profissionais de qualidade, motivados, com toda uma estrutura a seu dispor, com um ambiente saudável, divertido, e com um processo de trabalho voltado para a realidade do nosso dia a dia.

Perfil

@everton
everton / Bhaskara
Created April 6, 2011 13:45
Weird way to say Bhaskara in Ruby (or "((-b).± √ Δ(a, b, c))" / (2 * a) as a valid Ruby expression)
#!/usr/bin/env ruby
#-*- coding: utf-8 -*-
def √(n)
Math::sqrt(n)
end
class Numeric
def ±(n)
r = [self + n, self - n]
@andrewsmedina
andrewsmedina / node_reinstall.sh
Created May 16, 2011 01:27 — forked from coolaj86/node_reinstall.sh
Install Node.JS on Mac OS X or Linux
NUMBER_OF_CPU_CORES=2
BASHRC=~/.profile
# Remove old Node.JS installation
rm ~/local/*/node* -rf
rm ~/.node_libraries -rf
sudo rm /usr/local/*/node* -rf
sudo rm /usr/*/node* -rf
@andrewsmedina
andrewsmedina / gist:1029865
Created June 16, 2011 18:21
align element vertically
.container {
line-height: 85px; /* container height */
}
.element {
display:inline;
display:inline-table;
display:inline-block;
vertical-align:middle;
}