Flash installer:
$ dd if=void-live-x86_64-musl-20181111.iso of=/dev/X bs=1m
login as root:voidlinux
# 64 eighth notes | |
bass_riff = [ | |
[:As3] * 16, | |
[:Cs4] * 6, | |
[:Fs3] * 26, | |
[:As2] * 6, | |
[:Fs3] * 7, | |
[:Ds3] * 3 | |
].flatten |
require 'net/http' | |
class Birthday | |
def initialize(date, name) | |
@date = date | |
@name = name | |
end | |
def ics | |
"BEGIN:VEVENT\r\nDTSTART;VALUE=DATE:#{@date}\r\nRRULE:FREQ=YEARLY\r\nSUMMARY:Birthday #{@name}\r\nEND:VEVENT\r\n" |
#! /usr/bin/env ruby | |
# usage: | |
# $ das_download.rb | |
require "mechanize" | |
require "fileutils" | |
class DasDownloader | |
attr_reader :agent, :email, :password |
import csv | |
import sys | |
from collections import Counter | |
with open (sys.argv[1], 'rb') as csvfile: | |
reader = csv.reader(csvfile, delimiter='\t') | |
reader.next() | |
songs = [row[4] for row in reader] |