Aqui se encontra a lista de tools que citamos no painel do ultimo CocoaHeads de Campinas (Jul/16). Tentei organizar minamente o que por sessão e esta organização esta sujeita mudanças. Se você tiver alguma duvida ou sugestão deixe um comentario no gist ou me pingue no twitter @gsampaio
This file contains hidden or 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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("mail.google.com") { | |
.pY { | |
display:none; | |
} | |
#gb { | |
display:none; |
This file contains hidden or 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 bash | |
curl "http://www.ic.unicamp.br/~fkm/disciplinas/mc548/old/2011s2/notas.txt" 2>|/dev/null | grep 73177 | sed s/\,/./ | awk '{OFMT="%.2f";print(((3*(($2)+($3)))+(4*(($4)+($5))))/14)}' |
This file contains hidden or 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
/* | |
Node filewatch to email module by Guilherme Martinez Sampaio | |
require npm, daemon and mail | |
Make sure to change the configuration object | |
To install: | |
npm: curl http://npmjs.org/install.sh | sh | |
daemon: npm install daemon | |
mail: npm install mail |
This file contains hidden or 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
/** | |
* A simple javascript script to get the lastest images from your instagram account. | |
* Require an app to acess instagram api in order to get the access_token and user_id | |
* Require jquery for the ajax and dom manipulation | |
*/ | |
var settings = { | |
user : 'ENTER_YOUR_USER_ID_HERE', | |
access_token : 'ENTER_YOUR_USER_ACCESS_TOKEN_HERE' | |
}; |
This file contains hidden or 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
tell application "System Events" | |
set isRunning to (count of (every process whose bundle identifier is "com.Growl.GrowlHelperApp")) > 0 | |
end tell | |
if isRunning then | |
tell application id "com.Growl.GrowlHelperApp" | |
-- Create the crash notification | |
set the allNotificationsList to ¬ | |
{"Xcode Notification"} | |
This file contains hidden or 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
NSInvocation *timerSelectorInvocation = [[NSInvocation alloc] init]; | |
[timerSelectorInvocation setSelector:@selector(tapRecognizer:)]; | |
[timerSelectorInvocation setArgument:NULL atIndex:0]; | |
[NSTimer scheduledTimerWithTimeInterval:2 invocation:timerSelectorInvocation repeats:YES]; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
I hereby claim:
- I am gsampaio on github.
- I am gsampaio (https://keybase.io/gsampaio) on keybase.
- I have a public key whose fingerprint is AE5F 724E 291E 7CFA 90CF EA2D 2F3E 6CAB CC18 B3A3
To claim this, I am signing this object:
This file contains hidden or 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 ruby | |
def check(folder) | |
swift_files = Dir.glob("#{folder}/**/*").select { |file| file.end_with? "swift" } | |
fileForPaths = {} | |
for file in swift_files | |
fileName = file.split('/').last | |
# If we find a file with the same name we add the path |
OlderNewer