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?" |
# 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 |
# 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 |
// includes bindings for fetching/fetched | |
var PaginatedCollection = Backbone.Collection.extend({ | |
initialize: function() { | |
_.bindAll(this, 'parse', 'url', 'pageInfo', 'nextPage', 'previousPage'); | |
typeof(options) != 'undefined' || (options = {}); | |
this.page = 1; | |
typeof(this.perPage) != 'undefined' || (this.perPage = 10); | |
}, | |
fetch: function(options) { |
#!/usr/bin/env python | |
"""Store messages in a Maildir into a couchdb database.""" | |
import couchdb | |
from mailbox import Maildir | |
from optparse import OptionParser | |
import os | |
from pprint import pprint | |
import sys | |
from uuid import uuid4 |
I hereby claim:
To claim this, I am signing this object:
function tts | |
set q $argv; | |
mplayer "http://translate.google.com/translate_tts?ie=UTF-8&q=$q&tl=en&textlen="(math (echo "$q" | wc -m) - 1)"idx=0&total=1&prev=input"; | |
end |