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
#regex | |
def findNumber(path): | |
reGex = re.compile('\d+') | |
match = reGex.search(path) | |
return match.group() |
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
long ultimo_tweet = 0; | |
searchResult = twitter.search("#testing", ultimo_tweet); | |
for (int i=0; i<searchResult.size(); i++) { | |
Tweet t = (Tweet)searchResult.get(i); | |
String user = t.getFromUser(); | |
String msg = t.getText(); | |
Date d = t.getCreatedAt(); | |
ultimo_tweet = t.getId(); | |
println(id); |
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
*.swp | |
lib-cov | |
*.seed | |
*.log | |
*.csv | |
*.dat | |
*.out | |
*.pid | |
*.gz |
NewerOlder