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
- Get authors file: | |
svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | sort -u > authors-transform.txt | |
- Fix the authors file with alias = Name <[email protected]> | |
- Convert! | |
mkdir repo && cd repo | |
git svn init repo --no-metadata | |
git config svn.authorsfile <path to authors file> | |
git svn fetch |
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
# 2 Minutes Terminal Dj using cmus | |
mix(){ cmus-remote -n -k 40; } | |
dj(){ while [ 1==1 ]; do mix; sleep 16; done }; | |
nohup cmus & | |
echo "Warning nohup may cause size of nohup.out in GBs when played for a longer time..." | |
cmus-remote -p | |
echo "Running termDJ, Ctrl+C to break" | |
dj |
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
#! /bin/bash | |
# | |
# Converts all MP4 files in the current directory to MP3s. | |
# | |
# Uncomment to remove whitespaces in mp4 files | |
for video in *.MP4; do | |
#f=`echo $video | tr ' ' '_'` | |
#mv "$video" $f |
NewerOlder