Skip to content

Instantly share code, notes, and snippets.

## base setup with brew
https://docs.qmk.fm/getting_started_build_tools.html#macos
## custom keymap
Copy a predefined keymap and customise it. Replace all the <name> parts in the command lines.
$ cp -r keyboards/iris/keymaps/hexwire/ keyboards/iris/keymaps/<name>
Now edit cp keyboards/iris/keymaps/hexwire/keymap.c.
$ make iris/rev2:<name>
@jubecker
jubecker / banasplit_layout.json
Last active August 12, 2017 11:54
Bananasplit keyboard layout for use with http://minivan.config.thevankeyboards.com/
{"keyboard":"bananasplit","activeLayout":4,"keymap":[[[{"value":"ESC","type":null,"mod":null},{"value":"1","type":null,"mod":null},{"value":"2","type":null,"mod":null},{"value":"3","type":null,"mod":null},{"value":"4","type":null,"mod":null},{"value":"5","type":null,"mod":null},{"value":"6","type":null,"mod":null},{"value":"7","type":null,"mod":null},{"value":"8","type":null,"mod":null},{"value":"9","type":null,"mod":null},{"value":"0","type":null,"mod":null},{"value":"-","type":null,"mod":null},{"value":"=","type":null,"mod":null},{"value":"BSPACE","type":null,"mod":null}],[{"value":"TAB","type":null,"mod":null},{"value":"Q","type":null,"mod":null},{"value":"W","type":null,"mod":null},{"value":"E","type":null,"mod":null},{"value":"R","type":null,"mod":null},{"value":"T","type":null,"mod":null},{"value":"Y","type":null,"mod":null},{"value":"U","type":null,"mod":null},{"value":"I","type":null,"mod":null},{"value":"O","type":null,"mod":null},{"value":"P","type":null,"mod":null},{"value":"[","type":null,"mod":nu
@jubecker
jubecker / rust_readings.md
Last active March 5, 2017 11:01
Good Rust readings
@jubecker
jubecker / macos_setup.sh
Last active February 25, 2018 14:45
macOS setup ad tuning
#!/usr/bin/env bash
# adaptation of https://github.com/mathiasbynens/dotfiles/blob/master/.macos
# ~/.macos — https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
@jubecker
jubecker / bash_update.sh
Last active January 2, 2016 18:13
bash 4.3 update
#!/bin/sh
BASE_VERSION="bash-4.3"
MAX_PATCH=42
BASE_URL="http://ftp.gnu.org/gnu/bash"
PATCHES_URL="${BASE_URL}/${BASE_VERSION}-patches"
ARC="${BASE_VERSION}.tar.gz"
rm -rf ${BASE_VERSION}
@jubecker
jubecker / osx_setup.sh
Last active August 29, 2015 14:05
OS X Setup
#!/usr/bin/env bash
# copied from https://github.com/mathiasbynens/dotfiles/blob/master/.osx?os-x-10.8
# Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "
# Menu bar: disable transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
@jubecker
jubecker / inst_opencv_osx
Last active August 29, 2015 14:04
install OpenCV 2.4.x on OS X
get TBB from https://www.threadingbuildingblocks.org/download
unzip source archives
mkdir release
cd release/
cmake -DCMAKE_BUILD_TYPE=RELEASE -DWITH_TBB=on -DTBB_INCLUDE_DIRS=/opt/tbb/include -DTBB_LIB_DIR=/opt/tbb/lib ..
@jubecker
jubecker / torch7_install_osx.md
Last active November 16, 2016 16:26
Install torch7 on OS X 10.9

Install torch7 on OS X 10.9

The torch project: https://github.com/torch/torch7

Everything gets installed under /opt/lua

$ mkdir -p /opt/lua && sudo chown $USER /opt/lua