Skip to content

Instantly share code, notes, and snippets.

View joaovitor's full-sized avatar

Joao Vitor Lacerda Guimaraes joaovitor

  • Zero Hash
  • Belo Horizonte, MG, Brasil
View GitHub Profile
# Recursively add a .gitignore file to all directories
# in the working directory which are empty and don't
# start with a dot. Helpful for tracking empty dirs
# in a git repository.
for i in $(find . -type d -regex ``./[^.].*'' -empty); do touch $i"/.gitignore"; done;
@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
@thbar
thbar / deploy.rb
Created September 7, 2010 18:18
Resque + god + capistrano recipe
# note - you may need to split into a before-deploy (stop) and after-deploy (start) depending on your setup
desc "Hot-reload God configuration for the Resque worker"
deploy.task :reload_god_config do
sudo "god stop resque"
sudo "god load #{File.join deploy_to, 'current', 'config', 'resque.god'}"
sudo "god start resque"
end
after 'deploy:update_code', 'deploy:update_shared_symlinks'
@brunofms
brunofms / gist:740741
Created December 14, 2010 17:24 — forked from marcospereira/gist:594208
Vaga Globo.com :: Systems Engineer (Streaming)

A Globo.com

Você já deve conhecer a Globo.com: somos um dos maiores portais da Internet Brasileira. Por trás deste portal, existe uma grande equipe, composta por profissionais extremamente dedicados, competentes, comprometidos e apaixonados pelo que fazem. E estamos contratando!

Procuramos por alguém com vontade de fazer diferente, trazer mais alternativas e ações do que reclamações, lidar com os problemas de maneira criativa, se divertir e participar da criação de produtos usados por um público que é contado aos milhões. Nós queremos pessoas com paixão pelo que fazem! E, claro, pessoas que trabalhem com vontade de criar produtos dos quais elas se orgulhem de mostrar. Para nós é mais importante o quão curioso você é e não se seu currículo está recheado de siglas e especialidades. Se você tem bastante vontade para aprender e também é capaz de nos ensinar novos truques, essa é uma vaga para você.

WebMedia

Somos o time responsável pela área de vídeos da globo.com e aqui há o desafio de trabalhar com uma

@andresrc
andresrc / gist-github-gadget.xml
Created January 23, 2011 12:53
Gist.GitHub Google Gadget
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Derquinse Gist.GitHub Gadget">
<Require feature="dynamic-height" />
</ModulePrefs>
<UserPref name="gistId" display_name="Gist #" required="true" />
<Content type="html">
<![CDATA[
<div id="content_div">
@rafamvc
rafamvc / test_obj.rb
Created April 8, 2011 20:43
Example of a mexican class
class TestObj
# All requests coming for #long_background_processing_method will be handled in the background
handle_async :method1
# This needs access to be a class method
schedule :method2, :every => :day, :at => '12:55am'
# The multiple will not allow two #method3 to run at the same time
module Test
module Unit
TestCase = RSpec::Core::ExampleGroup
end
end
class Test::Unit::TestCase
def self.inherited(host)
host.set_it_up host.name.gsub(/(Spec|Test)/,'')
def host.method_added(name)
@nstielau
nstielau / default.rb
Created May 18, 2011 16:22
A simple Chef recipe to install Jenkins
#
# Cookbook Name:: jenkins
# Recipe:: default
#
# https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
# This is super-simple, compared to the other Chef cookbook I found
# for Jenkins (https://github.com/fnichol/chef-jenkins).
#
# This doesn't include Chef libraries for adding Jenkin's jobs via
@klauswuestefeld
klauswuestefeld / gist:1186975
Created September 1, 2011 19:03
Martin Fowler to Usurp Pattern
We couldn’t find that file to show.
@JonKernPA
JonKernPA / admin_smoke_test.feature
Created March 18, 2012 16:56
Cucumber UI Smoke Tests
Feature: Quickly exercise the primary ADMIN UIs just to make sure nothing blows up
Background: We need to pre-populate the database with the simulator results, and be logged in as admin
Given I login as "admin"
And we have the following Patients:
| Johnson |
| Henry |
| Walters |
| Glanzmann |
| Franklin |