Skip to content

Instantly share code, notes, and snippets.

View JesperDramsch's full-sized avatar
🤓
This mind is intentionally left blank.

Jesper Dramsch JesperDramsch

🤓
This mind is intentionally left blank.
View GitHub Profile
/* @theme dramsch */
@import 'uncover';
:root {
--color-background: #eee;
--color-background-code: #ddd;
--color-background-header: #222;
--color-background-paginate: rgba(128, 128, 128, 0.05);
--color-foreground: #111;
@JesperDramsch
JesperDramsch / create_readme_shields.py
Last active January 20, 2023 17:08
Simple script to create shields to view notebooks on Colab, Gradient, and AWS Studio
from pathlib import Path
## replace these
user = "jesperdramsch"
folder = "notebooks"
repo = "euroscipy-2022-ml-for-science-reproducibility-tutorial"
## Add a Binder link once
print(f"https://mybinder.org/v2/gh/{user}/{repo}/HEAD", "\n")
@JesperDramsch
JesperDramsch / organize.py
Last active April 5, 2026 14:45 — forked from sqordfish/organize.py
Python script for organizing files in windows into multiple folders by file type. I made this primarily to organize my downloads folder.
# Author: Jacob Rust
# Modified: Jesper Dramsch
# Date: 7/8/2013
# Description:This script organizes downloaded files into separate folders depending
# on the file type. This was made for windows systems.
# Download directory should be the first command line argument
# New file types can be added to the dictionary in the main method
# Usage: python organize.py
import hashlib