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 | |
import datetime, os | |
START_DATE = datetime.date(2008, 6, 28) | |
BASE_URL = "http://static.macanudo.com.ar/macanudo_pics/" | |
current_date = START_DATE | |
while current_date <= datetime.date.today(): | |
file_to_download = current_date.strftime("%Y%m%d") + ".jpg" |
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
/* | |
Vumetro para Matriz 8x8 de LEDs RGB. | |
Codigo basado en: | |
* Visualizacion de la matriz: http://www.instructables.com/id/64-pixel-RGB-LED-Display-Another-Arduino-Clone/ | |
* Manejo de la entrada de audio: http://neuroelec.com/2011/03/fft-library-for-arduino/ | |
*/ | |
#include <stdint.h> | |
#include <ffft.h> |
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
"Close a window by title programatically - Pharo 1.4, 2.0" | |
(SystemWindow allInstances detect: [ :w | w label = '<title>' ] ifNone: [ ^ nil ]) delete |
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
class Proc | |
def on(exception_class) | |
begin | |
self.call | |
rescue exception_class => e | |
yield e | |
end | |
end | |
end |
NewerOlder