Heart of Five is a multiplayer playing card game. A player wins by discarding all their cards first, a player loses by having cards at the end.
This game is best played with 4 players, but could be played with 2 to N
# Based on: | |
# - https://unix.stackexchange.com/questions/82630/put-text-in-the-bash-command-line-buffer/82716#82716 | |
# - https://github.com/junegunn/fzf/blob/master/shell/key-bindings.bash | |
hack() { | |
if [ $((RANDOM % 10)) -eq 0 ]; then | |
# Run an interesting in the background: | |
(/full/path/to/command &) | |
fi | |
local selected="e" |
""" | |
All environment variable access should be performed via this module. | |
- allows tracing of where variables are used | |
- provide sensible defaults | |
- reduce string typos | |
""" | |
import os | |
import sys | |
SIZE = '10' |
#!/bin/sh | |
export LC_ALL=C.UTF-8 | |
export LANG=C.UTF-8 | |
export LANGUAGE=C.UTF-8 | |
# Terminal settings and colors | |
export TERM=xterm-256color | |
export BASE16_THEME=ocean |
#!/usr/bin/env python | |
import os | |
import sys | |
import termios | |
import tty | |
import threading | |
def main(): |
function simulateKey (keyCode, type, modifiers, elm) { | |
var evtName = (typeof(type) === "string") ? "key" + type : "keydown"; | |
var modifier = (typeof(modifiers) === "object") ? modifier : {}; | |
var event = document.createEvent("HTMLEvents"); | |
event.initEvent(evtName, true, false); | |
event.keyCode = keyCode; | |
for (var i in modifiers) { | |
event[i] = modifiers[i]; |
// ==UserScript== | |
// @name Remove Ads | |
// @namespace https://ddrscott.github.io/remove_ads | |
// @version 0.5 | |
// @description Removes elements that are thought to be ads. | |
// @author Scott Pierce | |
// @match https://*/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
src_dir = sources | |
dist_dir = dist | |
cbr_files = $(wildcard $(src_dir)/*.cbr) | |
pdf_files = $(cbr_files:$(src_dir)/%.cbr=$(dist_dir)/%.pdf) | |
image_dir = .images-$< | |
all: ${pdf_files} | $(dist_dir) | |
@echo Done | |
clean: |
id | color | meta | |
---|---|---|---|
1 | red | {"x":123} | |
2 | green | {"y":456} | |
3 | blue | {"x":789,"y":234} |