This is a link aggregation for things discussed at Bill's 2024 Developing Kids CodeMash talk
This file contains 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 ruby | |
# Made by Pieter de Bie <[email protected]> | |
# Based on a "Pastie" task by someone | |
require "tempfile" | |
GIST_URL = 'http://gist.github.com/gists' | |
GIST_LOGIN_URL = 'https://gist.github.com/session' | |
USERNAME = "martinisoft" | |
TOKEN = "6ef8395fecf207165f1a82178ae1b984" |
This file contains 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
<?php | |
// Define the 'class' class | |
$class = Obj() | |
->fn('new', function ($class) { | |
$newClass = Obj($class->methods) | |
->fn('new', function($class) { | |
$obj = Obj($class->imethods); | |
$args = func_get_args(); | |
array_shift($args); |
This file contains 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
git config --global user.email "[email protected]" | |
git config --global user.name "David Renne" | |
git config --global core.editor "vim" | |
git config --global core.fileMode false | |
git config --global push.default current | |
git config --global alias.up 'pull --rebase --autostash' | |
git config --global alias.cp 'cherry-pick' | |
git config --global alias.s 'status' | |
git config --global alias.co 'checkout' | |
git config --global alias.c 'commit -a' |
This file contains 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
""" | |
"oh hell!" card game logic | |
(aka contract whilst) | |
benjamin yates & dave renne, 2016 | |
renne house rules edition | |
""" | |
import sys | |
import random | |
from itertools import chain |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Drive\shell] | |
@="none" | |
[-HKEY_CLASSES_ROOT\Drive\shell\open] | |
[HKEY_CLASSES_ROOT\Directory] | |
@="File Folder" |