I hereby claim:
- I am matburt on github.
- I am matburt (https://keybase.io/matburt) on keybase.
- I have a public key whose fingerprint is FC4A 5B73 555B EA53 82AF 1C64 C10C 4C26 B29F EFA4
To claim this, I am signing this object:
| import os | |
| import i3 | |
| import sys | |
| import pickle | |
| def showHelp(): | |
| print(sys.argv[0] + " <save|restore>") | |
| def get_visible_workspace(): | |
| for workspace in i3.get_workspaces(): |
| (defun urgent-hint () | |
| (let ((wm-hints (append (x-window-property "WM_HINTS" nil "WM_HINTS" nil nil t) nil))) | |
| (setcar wm-hints (logior (car wm-hints) #x00000100)) | |
| (x-change-window-property "WM_HINTS" wm-hints nil "WM_HINTS" 32 t))) | |
| (defun rcirc-urgent-emit (process sender response target text) | |
| (dolist (tvar rcirc-keywords) | |
| (if (search tvar text) | |
| (progn | |
| (urgent-hint) |
| from APNSWrapper import * | |
| import binascii | |
| deviceToken = binascii.unhexlify('2122a207ebbe6462d447c530f84c9380ad01e67b5faea0c852b6e4e14cf90722'); | |
| wrapper = APNSNotificationWrapper('dev.pem', True) | |
| message = APNSNotification() | |
| message.token(deviceToken) | |
| message.alert("Test Message") | |
| message.badge(5) | |
| message.sound('fema.aiff') | |
| wrapper.append(message) |
| #!/bin/bash | |
| API_KEY="<twitch api key>" | |
| FPS="15" | |
| INRES="1920x1080" | |
| OUTRES="1920x1080" | |
| OFFSET="2560,0" | |
| ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0+$OFFSET \ | |
| -f alsa -ac 2 -i default -vcodec libx264 -s "$OUTRES" \ |
I hereby claim:
To claim this, I am signing this object:
| def kfactor(r): | |
| return kfactorScale * (122 - 6*(r/100) + math.pow(r/100,2)/15) |
| package main | |
| import ( | |
| "github.com/matburt/vindinium-go-engine" | |
| "fmt" | |
| ) | |
| var ( | |
| client vindinium.Client | |
| ) |
| #!/usr/bin/env python | |
| from flask import Flask, request, abort, jsonify | |
| app = Flask(__name__) | |
| @app.route('/push', methods=['POST']) | |
| def handle_push(): | |
| if not request.json: | |
| abort(400) | |
| if 'AAA' not in request.headers: | |
| pass |
| ;;; onlinego.el | |
| ;; Author: Matthew Jones <[email protected]> | |
| (require 'request) | |
| (defvar onlinego-api-base "https://online-go.com/api/v1" | |
| "The base onlinego api url") | |
| (defcustom onlinego-api-client-id nil | |
| "onlinego api client id, see: https://online-go.com/developer" |
| (defun org-idonethis-capture () | |
| "Captures captures and sends them to idonethis" | |
| (message "before hook") | |
| (cond ((string-match "\:tag-to-match\:" (buffer-string)) | |
| (goto-char (point-min)) | |
| (search-forward "****") | |
| (setq note-contents (buffer-substring (+ (point) 1) (line-end-position))) | |
| (message note-contents) | |
| (request | |
| "https://idonethis.com/api/v0.1/dones/" |