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
require 'wavefile' | |
include WaveFile | |
releases = Dir.glob("/Volumes/ONESEVENTY/Singles/*") | |
releases.each do |r| | |
tracklist = [] | |
catno, album_artist, album_name = File.basename(r).split(' - ') | |
tracks = Dir.glob("#{r}/*.wav") | |
tracks.sort_by! { |f| f.match("Radio Edit") ? 0 : 1 } | |
tracks.each_with_index do |t, i| |
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
# For every file in a given directory | |
for x in * | |
do | |
if [ "`file $x |cut -d' ' -f 2-`" == "Parity Archive Volume Set" ] # If the file is determined to be a PAR file | |
then | |
# Print the filename and file type again as a confirmation | |
file $x | |
mv $x ${x}.par2 # Rename it to have a .par2 extension | |
fi | |
done |
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
require 'wavefile' | |
include WaveFile | |
releases = Dir.glob("/Volumes/ONESEVENTY/Singles/*") | |
releases.each do |r| | |
tracklist = [] | |
catno, album_artist, album_name = File.basename(r).split(' - ') | |
tracks = Dir.glob("#{r}/*.wav") | |
tracks.sort_by! { |f| f.match("Radio Edit") ? 0 : 1 } | |
tracks.each_with_index do |t, i| |
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
$.ajax({ | |
url: "https://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=" + this.window.location, | |
context: document.body | |
}).done(function(data) { | |
$( this ).append( data ); | |
}); |
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
javascript: { | |
var color = null; | |
var c = $('canvas.sketchpad')[0]; | |
var swidth = 32; | |
var sheight = 32; | |
var emojiX = 0; | |
var emojiY = 0; | |
function changeColor(newColor) { |
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/perl | |
use warnings; | |
use strict; | |
use feature ':5.10'; | |
use Carp qw(croak); | |
sub strip_non_main_artists | |
{ |
One | Two | Three |
---|
|
- one
- two
- three
| two | three |
One | Two | Three |
---|
I hereby claim:
- I am VxJasonxV on github.
- I am vxjasonxv (https://keybase.io/vxjasonxv) on keybase.
- I have a public key whose fingerprint is A785 914E B2F0 40BC 9271 6590 7200 058C E5BE 5C1D
To claim this, I am signing this object:
NewerOlder