Skip to content

Instantly share code, notes, and snippets.

View lezi's full-sized avatar
:octocat:

Osvaldo Júnior "mwanalezi" lezi

:octocat:
View GitHub Profile
@lezi
lezi / gist:556867
Created August 30, 2010 00:50 — forked from cmilfont/gist:556585
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
aula. Ele pratica. Instrumentistas geniais nao aprendem a tocar tendo
aula. Eles praticam. Pratique. Chegue em casa depois do trabalho e da
@lezi
lezi / feature
Created September 18, 2010 18:36 — forked from radar/feature
Given there are movies:
| title | year |
| Sunshine | 2007 |
# mongo_template.rb
# remove unneeded defaults
run "rm public/index.html"
run "rm public/images/rails.png"
run "rm public/javascripts/controls.js"
run "rm public/javascripts/dragdrop.js"
run "rm public/javascripts/effects.js"
run "rm public/javascripts/prototype.js"
pt:
errors:
messages:
not_found: "não encontrado"
already_confirmed: "já foi confirmado"
not_locked: "não foi bloequeado"
devise:
failure:
unauthenticated: 'Para continuar, deve fazer login ou registrar-se.'
@lezi
lezi / Gemfile
Created June 16, 2011 13:12 — forked from wesgarrison/Gemfile
gem 'ruby_parser'
gem 'hpricot'
gem 'haml'
@lezi
lezi / jdk.bat
Created November 13, 2011 20:39 — forked from thesurlydev/jdk.bat
@echo off
echo Installing JDK...
start /w C:\temp\jdk-1_5_0_12-windows-i586-p.exe /s /v"/qn INSTALLDIR=d:\bin\Java\jdk1.5.0_12 REBOOT=Suppress"
@lezi
lezi / jre.bat
Created November 13, 2011 20:39 — forked from thesurlydev/jre.bat
@echo off
echo Installing JRE...
start /w C:\temp\jre-1_5_0_12-windows-i586-p.exe /s INSTALLDIR=d:\bin\Java\jre1.5.0_12 REBOOT=Suppress
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2004 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
<div class="social">
<span class="twitter">
<a href="http://twitter.com/share" class="twitter-share-button" data-url="[your-url-here]">Tweet</a>
</span>
<span class="google">
<g:plusone size="medium" href="[your-url-here]"></g:plusone>
</span>
<span class="Facebook">
<iframe src="https://www.facebook.com/plugins/like.php?href=[your-url-here]&amp;show_faces=false&amp;layout=button_count" scrolling="no" frameborder="0" style="height: 21px; width: 100px" allowTransparency="true"></iframe>
</span>
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static