Skip to content

Instantly share code, notes, and snippets.

View zhiyuli's full-sized avatar

Zhiyu(Drew) Li zhiyuli

View GitHub Profile
@zhiyuli
zhiyuli / multiauthenticator.py
Created August 23, 2019 14:05 — forked from danizen/multiauthenticator.py
MultiAuthenticator for jupyterhub
from urllib.parse import urlsplit
from tornado import gen
from tornado.escape import url_escape
from tornado.httputil import url_concat
from traitlets import (
Unicode, Integer, Dict, TraitError, List, Bool, Any,
Type, Set, Instance, Bytes, Float,
observe, default,
@zhiyuli
zhiyuli / clean-up-boot-partition-ubuntu.md
Created February 23, 2018 18:26 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r