Skip to content

Instantly share code, notes, and snippets.

@wholewheattoast
wholewheattoast / toc-example.html
Created August 1, 2019 18:32
Example of using css and vanilla js to dynamically create a toc, which you could export to pdf.
<!DOCTYPE html>
<html lang="en">
<head>
<title>toc example</title>
<meta charset="UTF-8" />
<style>
#toc {
ol { list-style-type: square; }
a::after {
### Keybase proof
I hereby claim:
* I am wholewheattoast on github.
* I am wholewheattoast (https://keybase.io/wholewheattoast) on keybase.
* I have a public key whose fingerprint is C1EA 6872 E816 C3F7 9B7A C7FA FF9F 76AA 9BF9 3BD0
To claim this, I am signing this object:
@wholewheattoast
wholewheattoast / fresh_debain_install_notes.md
Last active August 29, 2015 14:00
Debain set up for fun and profit.

$ su $ apt-get install vim $ apt-get install curl

edit sources.list to install useful things

$ sudo vim /etc/apt/sources.list ``` #

deb cdrom:[Debian GNU/Linux 7.4.0 Wheezy - Official amd64

@wholewheattoast
wholewheattoast / custom.css
Last active December 19, 2015 06:39
Custom stylesheet to remove the Yuk bar.
/* flickr no more Yuk bar */
#yucs-top-bar { display: none !important; }
#global-nav { top: 0 !important; }
@wholewheattoast
wholewheattoast / pycon2013-notes.md
Created March 19, 2013 17:16
Pycon 2013 Tutorial Notes