I hereby claim:
- I am daviscodesbugs on github.
- I am thedavispearson (https://keybase.io/thedavispearson) on keybase.
- I have a public key whose fingerprint is 1256 BD6B 8F6C B5E4 3667 F1AB 93D0 4BB2 362C 8EE7
To claim this, I am signing this object:
# Get the count of each character in a file | |
filename = ARGV[0] | |
file = File.new(filename) | |
chars = {} of String => Int32 | |
while true | |
r = file.gets(1) |
# http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html | |
# http://soundfile.sapp.org/doc/WaveFormat/ | |
filename = ARGV[0] | |
filesize = File.size(filename) | |
puts "Reading #{filename} (#{filesize} bytes)" | |
# Constant | |
chunkID = "RIFF" | |
format = "WAVE" |
#!/bin/bash | |
ffmpeg -loop 1 -i image.jpg -i audio.mp3 -c:a copy -c:v libx264 -shortest audio.mp4 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Need NPM package localtunnel-cli installed | |
while : | |
do | |
lt --subdomain <subdomain> --port 80 | |
done |
# Get Windows Product Key | |
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey |
I hereby claim:
To claim this, I am signing this object:
# Given an array, output all possible subsets | |
# An array of length n has 2^n subsets | |
def subsets(arr) | |
return [arr] if arr == [] | |
subs = subsets(arr.drop(1)) | |
subs + subs.map {|x| [arr.first] + x} | |
end |
Free
Paid