Skip to content

Instantly share code, notes, and snippets.

View willkessler's full-sized avatar

Will Kessler willkessler

View GitHub Profile
@willkessler
willkessler / workspace_utils.py
Created January 24, 2019 22:43
Keep-alive script for Udacity students using Jupyter Workspaces
import signal
from contextlib import contextmanager
import requests
DELAY = INTERVAL = 4 * 60 # interval time in seconds
MIN_DELAY = MIN_INTERVAL = 2 * 60
KEEPALIVE_URL = "https://nebula.udacity.com/api/v1/remote/keep-alive"
@willkessler
willkessler / learning_management_system.md
Created August 1, 2019 21:05
A Student Learning Management System

A Student Learning Management System

Implement a program that can enroll, unenroll, and waitlist students in online courses.

You may make either a command-line application (CLI) that accepts a text file as input, or a web application that accepts GET and POST requests.

If developing a CLI, the text file will consist of input commands (one per line)

@willkessler
willkessler / init.el
Created October 17, 2024 18:40
Current emacs init.el
;;; package -- Configuring emacs for React editing
;;; Last update: 11/15/2016. By Will Kessler
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Set up melpa.
;; cf: http://melpa.org/#/getting-started
;;
(require 'package) ;; You might already have this line
(add-to-list 'package-archives