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
#!/bin/bash | |
# Quick and dirty MP4 to MP3 converter | |
# by Grzegorz Błaszczyk <[email protected]> 2014-2015 | |
# License: MIT http://rem.mit-license.org/ | |
MPLAYER=`which mplayer` | |
LAME=`which lame` | |
RM=`which rm` |
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
#!/bin/bash | |
SWAP_FILE="/swap" | |
sudo swapoff ${SWAP_FILE} | |
sudo dd if=/dev/zero of=${SWAP_FILE} bs=1M count=2048 && sudo mkswap ${SWAP_FILE} && sudo chmod 0600 ${SWAP_FILE} && sudo swapon ${SWAP_FILE} |
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
list_of_sheets.xml | |
nodes.txt |
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
AUTO_ACCEPT=true rake db:reset --trace |
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
#!/bin/bash | |
function print_usage { | |
echo "Usage: $0 [delay time in seconds]" | |
} | |
SLEEP_TIME=2 | |
if [ "x$1" != "x" ]; then | |
if [[ $1 == "-h" || $1 == "--help" ]]; then | |
print_usage; |
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
#!/bin/bash | |
################################################################################ | |
# Subversion daily report generator 1.0 # | |
# fast & dirty version by Grzegorz Blaszczyk <[email protected]> # | |
################################################################################ | |
AFTER_HOURS=17 | |
CAT=`which cat` |
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 | |
""" | |
Usage: | |
./rtail.py user@host:port:path/foo.log bar.log host2:port:/path/baz.log | |
""" | |
import optparse | |
import os |
NewerOlder