Skip to content

Instantly share code, notes, and snippets.

View chreke's full-sized avatar
💭
Just catching up on some reading

Christoffer Ekeroth chreke

💭
Just catching up on some reading
View GitHub Profile
@chreke
chreke / remind.py
Created October 9, 2017 13:30
Add Reminder item from command line
#!/usr/bin/python
import datetime
import re
import subprocess
title = raw_input('What do you want to be reminded about? ')
assert title, 'Title cannot be blank'
when = raw_input('When do you want to be reminded? ')
@chreke
chreke / hemlagad-huel.md
Last active August 23, 2023 09:27
Recept på "hemlagad" "Huel"

Hemlagad Huel

  • 200 g kvarg
  • 1 banan
  • 1 dl havregryn
  • 3 dl mjölk (3%)
  • 1 msk olivolja
  • 0,5 tsk salt

Instruktioner:

@chreke
chreke / .gitconfig
Last active September 23, 2020 14:49
Example .gitconfig
[alias]
st = status
ci = commit --verbose
br = branch
co = checkout
# List branches sorted by latest commit date
mru = branch --sort=-committerdate
[user]
name = John Doe
email = [email protected]
[
{
"id": "9fbc18",
"title": "Chicken Parmesan",
"prep_time": 45,
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
"tags": [
"poultry",
"italian",
"main"
@chreke
chreke / cohost.py
Last active October 12, 2024 06:55
Cohost Export
import json
from pathlib import Path
import argparse
"""
This is a very simple script to extract raw Markdown files from a Cohost export.
Feel free to modify as needed!
Usage: