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
@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;
@SpyDude
SpyDude / diplom100500
Created November 12, 2011 14:19
next gen
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#written by Yuriy Karpilov <[email protected]>
try:
import sys, pygtk
pygtk.require('2.0')
@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
@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
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.