I hereby claim:
- I am shanna on github.
- I am shanna (https://keybase.io/shanna) on keybase.
- I have a public key ASB7WctqxheSQaiFSOvDLCvRe47lFZMirPn1NQiv4ePUcQo
To claim this, I am signing this object:
| <script> | |
| const login = async () => { | |
| window.location.href = await window.go.main.App.AuthURL(); | |
| }; | |
| let email; | |
| window.go.main.App.AuthEmail() | |
| .then(e => { | |
| if (!e) login(); | |
| email = e; |
I hereby claim:
To claim this, I am signing this object:
| #include <webkit2/webkit2.h> | |
| #include <JavaScriptCore/JavaScript.h> | |
| int main(int argc, char **argv) { | |
| gtk_init(&argc, &argv); | |
| GtkWidget *main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL); | |
| GtkWidget *webkit_view = webkit_web_view_new(); | |
| gtk_container_add(GTK_CONTAINER(main_window), webkit_view); |
| require 'shingles' | |
| compare = %w{ | |
| foo foo | |
| foo bar | |
| baz boz | |
| foofoo foobar | |
| }.each_slice(2) | |
| compare.each do |a, b| |
| // MIT https://github.com/alexrabarts/jquery-brokenimage minus the jquery. | |
| function BrokenImage(selector, options) { | |
| 'use strict'; | |
| options = options || {}; | |
| var defaults = { | |
| timeout: 2500 | |
| }; | |
| for (var key in defaults) { |
| #!/usr/bin/env bash | |
| set -e | |
| # Homebrew homebrew/versions was broken when I went to install postgres. | |
| # This shell script just documents my install from source. | |
| release=9.4.6 | |
| prefix=$HOME/local | |
| mkdir -p $prefix |
| #!/usr/bin/env sh | |
| set -eu | |
| if [ $# -ne 0 ]; then | |
| cat <<-USAGE | |
| psql-migrate | |
| Takes a sorted list of filenames from stdin and writes psql migrations sql | |
| to stdout. |
| # [ -e ~/.config/short-prompt.sh ] && source ~/.config/short-prompt.sh | |
| export GIT_PS1_SHOWDIRTYSTATE=true | |
| __git_ps1() { PS1="$1$2"; } | |
| [ -e ~/.config/git-prompt.sh ] && source ~/.config/git-prompt.sh | |
| __short_ps1() { | |
| local exit=$? | |
| local __short_ps1_host="" | |
| if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then |
| #!/usr/bin/env sh | |
| # Setup Go environment. | |
| # | |
| # source ~/local/bin/go-env | |
| # http://superuser.com/questions/39751/add-directory-to-path-if-its-not-already-there | |
| __util_env_path_prepend() { | |
| if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then | |
| PATH="$1:$PATH" |
| #!/bin/bash | |
| set -e | |
| command=$1 | |
| TARGET="STM32F405RG" | |
| TARGET_IF="swd" | |
| TARGET_ADDRESS="0x08000000" | |
| BUILD="build" |