I hereby claim:
- I am io41 on github.
- I am fa_timkersten (https://keybase.io/fa_timkersten) on keybase.
- I have a public key ASAS54tUFmVK2ESbC0Pp1G1oZnilEY7otf8zXEICKrpQzgo
To claim this, I am signing this object:
#!/bin/bash | |
#set -F | |
VOICE=shimmer | |
AI_NAME=Rosie | |
RESPONSE_FILE=~/.ai.${AI_NAME}.response | |
ospeak -v $VOICE "Wie heist du?" > /dev/null 2>&1 | |
read -p "$AI_NAME: Wie heist du? " NAME | |
ospeak -v $VOICE "Hallo $NAME, ich bin $AI_NAME. Was brauchst du?" > /dev/null 2>&1 | |
echo "$AI_NAME: Hallo $NAME, ich bin $AI_NAME. Was brauchst du?" | |
TODAY=$(date) |
#!/bin/bash | |
# Install ospeak: https://github.com/simonw/ospeak | |
# Install llm: https://github.com/simonw/llm | |
# Set your OpenAI key: export OPENAI_API_KEY="..." | |
ospeak -v nova "What's your name?" | |
read -p "Wanda: What's your name? " NAME | |
ospeak -v nova "Hi $NAME, I'm Wanda. What's up?" |
# install ripgrep & moreutils (for the sponge tool) See https://www.putorius.net/moreutils.html | |
# On mac: brew install moreutils ripgrep | |
# Source this file in your zsh config by adding `source .rgr.zsh` to your .zshrc | |
function rgr() { | |
local context_lines=2 | |
local search="$1" | |
local replace="$2" | |
shift 2 |
import board | |
import time | |
import pwmio | |
print("Hello world!") | |
class LCD: | |
_led = None | |
_led_max = 65535 | |
@property |
# dvorak layout | |
loadkeys dvorak | |
export HOSTNAME=thinkpad | |
export DEVICE=/dev/sda | |
export EFI_PARTITION=/dev/sda1 | |
export ROOT_PARTITION=/dev/sda2 | |
# as root | |
timedatectl set-ntp true |
I hereby claim:
To claim this, I am signing this object:
PYTHON := python2.6 | |
BUILD_DIR := buildtmp | |
AURORA_CLUSTER := test | |
AURORA_ROLE := $(shell whoami) | |
UWSGI_VER = 2.0.4 | |
UWSGI_DIR = uwsgi-$(UWSGI_VER) | |
UWSGI_FILE = $(UWSGI_DIR).tar.gz | |
UWSGI_URL = http://projects.unbit.it/downloads/$(UWSGI_FILE) |
/** | |
* computes the what elements were added to, and removed from, s1 | |
* to obtain s2, where s1 and s2 are assumed to be unordered Array | |
* possibly with duplicates | |
* uDiff([1,3], [2,3]) --> {added: [2], removed: [1]} | |
* uDiff([1,2,3], [2,3,1]) --> {added: [], removed: []} | |
* uDiff([1,2,1], [1,2,2]) --> {added: [2], removed: [1]} | |
* @param s1 Array | |
* @param s2 Array |
history={'data': [ | |
{ | |
'o': 0, /* offset */ | |
'h': 1, /* horizontal slide index */ | |
'v': 0, /* vertical slide index */ | |
}, | |
{ | |
'o': 120, | |
'h': 2, | |
'v': 0, |