Skip to content

Instantly share code, notes, and snippets.

Avatar

Vinicius Teles viniciusteles

View GitHub Profile
@viniciusteles
viniciusteles / bench.rb
Created November 4, 2012 16:19
Picasa API access benchmarks
View bench.rb
require 'rubygems'
require 'benchmark'
require 'httparty'
@picasa_user = '117499753694301708125'
class XmlFetcher
include HTTParty
format :xml
end
@viniciusteles
viniciusteles / gist:556029
Created August 29, 2010 06:20
Sete Atitudes para Hackear a Indústria de Software
View gist:556029
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
View gist:399401
# Returns a copy of self with all +true+ elements removed.
# [ "a", true, "b", true, "c", true].compact_true #=> [ "a", "b", "c" ]
#
def compact_true
remove_elements(TrueClass)
end
# Returns a copy of self with all +false+ elements removed.
# [ "a", false, "b", false, "c", false].compact_true #=> ["a","b","c" ]
#
View gist:79536
On the long list of the reasons why an all Flash site sucks, this dialogue, that I found somewhere is awesome. And, unfortunately, quite realistic.
* Dialogue
Ever try selling a client over the phone with a Flash based site? It goes something like this:
- Ok. Wait for the loader bar to finish? Is it loaded? Great.
- Wait for a second while the intro animation runs.
- Click on the pulsing green button.
- See the dancing donkey in the corner? Click that.
- Click on the donkey's right eye.