Skip to content

Instantly share code, notes, and snippets.

@allred
allred / testing_public.txt
Last active May 23, 2016 16:56
A public gist
This is a public gist.
@allred
allred / lubuntu_lenovo_yoga_2_pro.md
Last active April 13, 2017 17:13
Lubuntu on Lenovo Yoga 2 Pro

Wifi

Add the following to /etc/modprobe.d/blacklist.conf

blacklist ideapad_laptop

Chrome

def flatten(array, accum=[])
array.each do |a|
if a.is_a? Array
flatten(a, accum)
else
accum.push(a)
end
end
return accum
end