Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓
Hi!

Thiago Rocha thiagokimo

🤓
Hi!
View GitHub Profile
@thiagokimo
thiagokimo / macarrao-ao-alho-e-oleo
Last active Aug 29, 2015
Macarrão ao alho e óleo
View macarrao-ao-alho-e-oleo
Receita do Macarrão ao Alho e Óleo
Estou supondo será para 1 pessoa (você).
Ingredientes:
- spaghetti (o tanto que vc irá achar que dá conta de comer)
- azeite (eu uso o azeite comum. se vc quiser usar outros azeites diferentes fique à vontade)
- 12 dentes de alho fatiados bem fininhos (se achar que é muito alho, diminua a quantidade)
- pimenta caiena (não vou colocar a quantidade pq eu não sei se vc gosta muito de pimenta)
View find_next_power_of_two.rb
require 'benchmark'
number = 257
def power_of_2?(number)
return true if number == 1
return false if number == 0 || number % 2 != 0
power_of_2?(number / 2)
end
@thiagokimo
thiagokimo / save.txt
Last active Dec 26, 2015
My Candybox2 game save
View save.txt
bool candiesThrownGotChocolateBar=false, bool candyBoxBoxOpened=false, bool castleBigRoomHovenHappy=true, bool castleRoom2LitFire=false, bool castleRoom2TookObject=false, bool castleTowerFirstVisitDone=true, bool castleTowerPStoneDone=true, bool castleTowerLStoneDone=false, bool castleTowerAStoneDone=false, bool castleTowerYStoneDone=false, bool castleTowerTookTalkingCandy=false, bool castleKilledNougatMonster=true, bool cellarDone=true, bool dragonDone=true, bool dragonUnlockedCyclops=true, bool forgeFoundLollipop=true, bool forgeBoughtWoodenSword=true, bool forgeBoughtIronAxe=true, bool forgeBoughtPolishedSilverSword=true, bool forgeBoughtLightweightBodyArmour=true, bool forgeBoughtScythe=false, bool fortressRoom1ChestFound=true, bool fortressRoom3ChestFound=true, bool fourthHouseFoundLollipopOnCupboard=true, bool gameDebug=false, bool gameInvertedColors=false, bool lighthousePuzzleDone=false, bool lollipopFarmPlant1LollipopButtonUnlocked=true, bool lollipopFarmPlant10LollipopsButtonUnlocked=true, bool loll
You can’t perform that action at this time.