This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#written by Yuriy Karpilov <[email protected]> | |
try: | |
import sys, pygtk | |
pygtk.require('2.0') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- Helpful things to keep in your <head/> | |
// Brian Blakely, 360i | |
// http://twitter.com/brianblakely/ | |
--> | |
<head> | |
<!-- Disable automatic DNS prefetching. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 \,])))))))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
OlderNewer