Skip to content

Instantly share code, notes, and snippets.

View martinusso's full-sized avatar
🏠
Working from home

Breno Martinusso martinusso

🏠
Working from home
View GitHub Profile
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.
@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
@jeffmicklos
jeffmicklos / gist:1329185
Created October 31, 2011 22:09
Programming 101 - if you fail this, I don't want you.
// 1) Write a loop that prints out 1 - 50
// 2) Now I want the same output but without a loop
// 3) Now if current number if a multiple of 3, print 'Fizz' instead of the number
// If it is a multiple of 5 print 'Buzz' instead of the number
// If it is a multiple of 3 and 5, print 'FizzBuzz' instead of the number
@SpyDude
SpyDude / diplom100500
Created November 12, 2011 14:19
next gen
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#written by Yuriy Karpilov <yuriy.karpilov@crewing.pro>
try:
import sys, pygtk
pygtk.require('2.0')
@magnomp
magnomp / Common.Bindings.pas
Created November 24, 2011 19:55
Helper class for defining live bindings for a TStringGrid
{ Created it because I found that defining the columns at design time isn't much productive.
Usage:
Consider CustomersBindingScope is a TBindScope and CustomersGrid is a TStringGrid, and
CustomerBindingScope.DataObject points to a TList<TCustomer> and TCustomer is declared as
follow:
type
TCustomer = class
public
property Name: String read FName write FName;
property Age: Integer read FAge write FAge;
<!DOCTYPE html>
<!-- Helpful things to keep in your <head/>
// Brian Blakely, 360i
// http://twitter.com/brianblakely/
-->
<head>
<!-- Disable automatic DNS prefetching.
@klauswuestefeld
klauswuestefeld / gist:1595701
Created January 11, 2012 17:22
O Ciclo Vicioso Do Software Retranqueiro
We couldn’t find that file to show.
@unclebob
unclebob / commatize
Created February 7, 2012 17:44
A function to format a number with commas
(defn commatize [n]
(if (nil? n)
""
(let [s (str n)]
(apply str
(reverse (drop-last
(interleave
(reverse s)
(take (count s) (flatten (repeat [nil nil \,]))))))))))
@fsouza
fsouza / sorteio.py
Created May 9, 2012 15:03
Script de sorteio do dev in cachu
# -*- coding: utf-8 -*-
import random
import sys
limpa_nl = lambda arq: [l.strip('\n') for l in arq.readlines()]
def main():
if len(sys.argv) != 2:
print "Você deve informar o arquivo com inscritos!"
@banaslee
banaslee / XGH - en.txt
Last active July 17, 2024 16:13
eXtreme Go-Horse Process
eXtreme Go Horse (XGH) Process
Source: http://gohorseprocess.wordpress.com
1. I think therefore it's not XGH.
In XGH you don't think, you do the first thing that comes to your mind. There's not a second option as the first one is faster.
2. There are 3 ways of solving a problem: the right way, the wrong way and the XGH way which is exactly like the wrong one but faster.
XGH is faster than any development process you know (see Axiom 14).