- Boter: 115 gram gezouten boter, verzacht
- Kristalsuiker: 100 gram
- Lichtbruine Basterdsuiker: 106,5 gram
- Pure Vanille-extract: 1 theelepel = 4,2 gram
- Eieren: 1 groot
- Bloem: 180 gram
- Baking Soda: ½ theelepel = 2,4 gram
- Bakpoeder: ¼ theelepel = 1,25 gram
- Zeezout: ½ theelepel = 2,6 gram
- Chocoladedruppels: 200 gram
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup, Tag | |
import requests | |
from pathlib import Path | |
from itertools import chain, combinations | |
from collections import Counter | |
file_path = Path('page.html') | |
if not file_path.is_file(): | |
url = 'https://www.serebii.net/heartgoldsoulsilver/pokewalker-area.shtml' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cpu cortex-m3 | |
.syntax unified @ this is important, you won't get most of thumb-2 otherwise | |
.text | |
@ this file contains a assembly version of a lz decoder for cpse1 at the hogeschool utrecht | |
@ it's done in 15 instructions / 40 bytes, 20% less then what the best compiler did :) | |
@ compiler benchmarks | |
@ clang (trunk) | |
@ -O0 124 bytes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from itertools import combinations, chain | |
from compatibility import Voorkeur, Voorkeuren | |
partijen = { | |
'VVD': 35, | |
'D66': 23, | |
'PVV': 17, | |
'CDA': 15, | |
'SP': 9, | |
'PvdA': 9, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TupleSections #-} | |
pop = | |
[ ("Hard Labor", [1, 2, 3, 4]) | |
, ("Lasting Consequences", [1, 2, 3]) | |
, ("Convenience Fee", [1, 2]) | |
, ("Jury Summons", [1, 2, 3]) | |
, ("Extreme Measures", [1, 3, 6, 10]) | |
, ("Calisthenics Program", [1, 2]) | |
, ("Benefits Package", [2, 5]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hi! This script is a slow way to generate a random pact of punishment | |
# for the Hades game, if you want a more complete version, check out my | |
# friends work at https://github.com/Druyv/hades_randomizer | |
from random import choice | |
from itertools import product | |
pop = { | |
'Hard Labor' : [1, 2, 3, 4], | |
'Lasting Consequences' : [1, 2, 3], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
const os = std.os; | |
pub fn main() void { | |
const filename = std.mem.span(os.argv[1]); | |
const open_result = os.open(filename, os.O_RDONLY, 0) catch unreachable; | |
const fstat_result = os.fstat(open_result) catch unreachable; | |
const data = os.mmap(null, @intCast(u64, fstat_result.size), os.PROT_READ, os.MAP_PRIVATE, open_result, 0) catch unreachable; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# This adds the post-inc, post-dec, pre-inc and pre-dec operators to python! | |
# Additionally, it supports the -O3 optimization feature. | |
# Test! :) | |
my $optimized = 0; | |
if (@ARGV and $ARGV[0] eq '-O3') { | |
shift; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for _ in map(exec, map(lambda s: f'''{"""""".join(map(chr, range(100, 103)))} c{s}r(l): h,*t=l; return {"c" + s[:-1] + "r(" + ("h)" if s[-1] == "a" else "t)") if s[:-1] else "h" if s[-1] == "a" else "t"}''', [f'{bin(i)[2:].zfill(x)}'.translate({48: 97, 49: 100}) for x in range(10) for i in range(2**10)])): pass |
I hereby claim:
- I am ManDeJan on github.
- I am j21 (https://keybase.io/j21) on keybase.
- I have a public key whose fingerprint is 6FE3 09B8 7B16 D7B4 6F5A 2476 3D28 050C 38FE 3FB8
To claim this, I am signing this object:
NewerOlder