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
# This is a quick script for doing a mass rename of all files in an | |
# Amazon S3 bucket. | |
# In this case, the rename operation was to unescape all filenames which | |
# had been previously escaped in error. | |
############################# | |
# Configuration: | |
bucketname = ENV.fetch('S3_BUCKET_NAME') | |
access_key = ENV.fetch('S3_ACCESS_KEY_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
REM Subversion pre-commit hook for Windows machine | |
REM put this in your SVN repository folder /hooks/pre-commit.bat | |
REM we use it with svn version | |
REM http://stackoverflow.com/questions/869248/windows-pre-commit-hook-for-comment-length-subversion | |
@echo off | |
:: Stops commits that have empty log messages. | |
@echo off | |
setlocal |
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 serial | |
import struct | |
from optparse import OptionParser | |
parser = OptionParser(usage="hurra") | |
parser.add_option("-p",default="hello world") |
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
/** | |
* Adds ECMA-262 rev. 5 methods to Array prototype, if they are missing | |
* Please note that the global prototypes are updated, so only use this file | |
* if that is acceptable, or if you're running in an iframe | |
* | |
* Please not that this file WILL NOT BE COPYRIGHTED, as it merely wraps mozilla implementation | |
* of JavaScript 1.6 / ECMA-262 rev. 5 methods | |
* | |
* @author Morgan Roderick - [email protected] | |
*/ |