Skip to content

Instantly share code, notes, and snippets.

@tbmc
tbmc / onedork.css
Last active June 30, 2018 18:24
This Gist provide a dark theme for Jupyter Notebook and small border
/*
Original link:
https://github.com/dunovank/jupyter-themes/
https://raw.githubusercontent.com/dunovank/jupyter-themes/master/jupyterthemes/styles/compiled/onedork.css
*/
div#notebook {
font-family: sans-serif;
font-size: 13pt;
line-height: 170%;
@tbmc
tbmc / test.py
Created February 4, 2020 12:11
test
print("This is a test")
@tbmc
tbmc / clone.sh
Created February 24, 2020 13:32
git behind proxy and fiddler
export HTTPS_PROXY=http://localhost:8888
git -c http.sslVerify=false clone https://domain.com/path/to/git
@tbmc
tbmc / oom_scores.py
Created January 20, 2021 18:12
List OOM Killer scores
import os
from os import listdir
from os.path import isdir, isfile
files = listdir("/proc")
scores = []
for file in files:
path = f"/proc/{file}/oom_score"