Skip to content

Instantly share code, notes, and snippets.

View msoap's full-sized avatar
🇺🇦

Serhii Mudryk msoap

🇺🇦
  • Kyiv, Ukraine
  • 11:47 (UTC +03:00)
View GitHub Profile
@msoap
msoap / flac2mp3.rb
Created March 25, 2012 12:09 — forked from mxcl/flac2mp3.md
Simplest functional FLAC to MP3 converter script you can make
#!/usr/bin/env ruby
# http://gist.github.com/gists/124242
# Deps: brew install flac lame
filename = ARGV[0]
abort "Usage: flac2mp3 FLACFILE" if filename.nil?
map = {"TITLE" => "--tt", "ARTIST" => "--ta", "ALBUM" => "--tl", "TRACKNUMBER" => "--tn", "GENRE" => "--tg", "DATE" => "--ty"}
args = ""
@msoap
msoap / http-server-test.pl
Created March 17, 2012 16:10
test http server via Net::Server::HTTP for static files
#!/usr/bin/perl
=head1 NAME
http-server-test.pl
=head1 DESCRIPTION
test http server via Net::Server::HTTP for static files
@msoap
msoap / http-mojo-server-test.pl
Created March 16, 2012 20:11
test http server for static files via Mojo::Server::Daemon
#!/usr/bin/perl
=head1 NAME
http-mojo-server-test.pl
=head1 DESCRIPTION
test http server via Mojo::Server::Daemon