Skip to content

Instantly share code, notes, and snippets.

@swkeever
swkeever / nb_to_pdf.py
Created April 10, 2020 01:16
Utility for batch converting Jupyter Notebooks to PDFs.
import sys
from os import listdir, mkdir, rename
from os.path import isfile, join, exists
import subprocess
if len(sys.argv) < 2:
print('usage: nb_to_pdf.py <folder containing jupyter notebooks>')
exit(1)
folder = sys.argv[1]
@swkeever
swkeever / systemverilog.code-snippets
Created October 30, 2019 23:28
SystemVerilog snippets useful for CSE/EE 469
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
@swkeever
swkeever / index.html
Created June 21, 2018 23:11
Survey Form
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!--
Hello Camper!
For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding!
- The freeCodeCamp Team
@swkeever
swkeever / index.html
Created June 21, 2018 19:20
Tribute to Isaac Newton
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!--
Hello Camper!
For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding!
- The freeCodeCamp Team