I hereby claim:
- I am icecreammatt on github.
- I am mattcarrier (https://keybase.io/mattcarrier) on keybase.
- I have a public key ASALuAchtA9o1n6qHwaEbxkYVOLo63mDqyz1JAm2saRYrwo
To claim this, I am signing this object:
{ | |
"gitlens.advanced.messages": { | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"workbench.colorTheme": "Palenight Theme", | |
"window.zoomLevel": 1, | |
"workbench.iconTheme": "vscode-icons", | |
"editor.minimap.enabled": false, | |
"vim.easymotion": true, | |
"vim.leader": ",", |
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.navigateLeft" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.navigateRight" | |
}, |
// https://github.com/mikewesthad/ExperimentalMedia/blob/master/people/mikewesthad/Week5/Arduino/AnalogReadWithSmoothing/AnalogReadWithSmoothing.ino | |
// https://github.com/bakercp/ExperimentalMedia2013/issues/43 | |
const int potPin = A0; | |
const int BAUD_RATE = 9600; | |
// Array variables for tracking a window of potentiometer values | |
// We want to hold on to the last NUM_SAMPLES values and perform | |
// an average on them to arrive at a 'current' value - this | |
// is called a moving average: http://en.wikipedia.org/wiki/Moving_average |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
# Automatically update your CloudFlare DNS record to the IP, Dynamic DNS | |
# Can retrieve cloudflare Domain id and list zone's, because, lazy | |
# Place at: | |
# /usr/local/bin/cf-ddns.sh |
#!/bin/sh | |
tail -fn0 /var/log/file.log | while read line ; do | |
echo "$line" | grep "pattern" | |
if [ $? = 0 ] | |
then | |
echo "Log: $line" | |
fi | |
done |
#!/bin/bash | |
# Script to (decrypt encfs and) selectively sync a remote sshfs directory | |
REMOTEDIR=server:/path/to/some/encfs | |
LOCALDIR=/path/to/local/directory | |
MOUNTFUNC=_ssh+encfs | |
# verbose | |
# set -vx |
#!/bin/bash | |
# For each .mp4 file convert and rename to .mov | |
for x in *.mp4; do | |
ffmpeg -i $x -c:v libx264 -acodec aac -ab 192k -strict -2 -ac 2 -qp 0 ${x/.mp4/.mov}; | |
done |