Skip to content

Instantly share code, notes, and snippets.

View fnx-ableton's full-sized avatar

fronx (ableton) fnx-ableton

View GitHub Profile
#!/usr/bin/env python
import sys
import subprocess
import re
cmd = ' '.join(sys.argv[1:])
lines = subprocess.Popen(
"shopt -s expand_aliases && source ~/.bash_profile && alias",
shell=True,
-- what does this function do?
someFn :: (a -> b) -> [a] -> [b]
-- map!
map :: (a -> b) -> [a] -> [b]
-- not only lists are mappable