Skip to content

Instantly share code, notes, and snippets.

View faceleg's full-sized avatar

Michael Robinson faceleg

  • Auckland, New Zealand
View GitHub Profile
This file has been truncated, but you can view the full file.
<!DOCTYPE html><html class=""><head>
<!-- TRACEVIEW_HEADER -->
<meta name="play/version" content="3.71.0.1">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="shortcut icon" sizes="16x16 24x24 32x32 64x64" type="image/x-icon" href="/assets/images/favicon-6ee220ee8e6c04c8907ff1a56e0c42ed.ico">
import React from "react";
import Constants from "expo-constants";
import PropTypes from "prop-types";
import { TouchableOpacity } from "react-native-gesture-handler";
import {
Icon,
Text,
Item,
Label,
@faceleg
faceleg / faceleg.json
Last active January 14, 2020 02:57
QMK Keymap for Redox W
{"keyboard":"redox_w","keymap":"faceleg","layout":"LAYOUT","layers":[["KC_ESC","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_MINS","TG(3)","KC_Q","KC_W","KC_E","KC_R","KC_T","TG(1)","TG(2)","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_EQL","LGUI(KC_C)","KC_A","KC_S","KC_D","KC_F","KC_G","KC_LBRC","KC_RBRC","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","LGUI(KC_V)","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_LCTL","KC_DEL","KC_TAB","KC_RCTL","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_RALT","LCA(KC_I)","KC_GRV","KC_LEFT","KC_RGHT","KC_LGUI","KC_BSPC","KC_LSFT","KC_ENT","KC_SPC","KC_RGUI","KC_UP","KC_DOWN","KC_BSLS","RGUI(KC_SPC)"],["KC_TRNS","KC_F1","KC_F2","KC_F3","KC_F4","KC_F5","KC_F6","KC_F7","KC_F8","KC_F9","KC_F10","KC_VOLU","KC_TRNS","KC_EXLM","KC_AT","KC_LCBR","KC_RCBR","KC_PIPE","KC_TRNS","KC_TRNS","KC_MRWD","KC_P7","KC_P8","KC_P9","KC_MUTE","KC_VOLD","KC_TRNS","KC_HASH","KC_DLR","KC_LBRC","KC_RBRC","KC_GRV","KC_TRNS","KC_TRNS","KC_MFFD","KC_P4","KC_P5","KC_P6","KC_MSTP","KC_BRIU
#!/bin/bash
set -e
set -x
# Usage:
# ~/repo/ci/git/cancel-build-for-unchanged-directory.sh \
# chromecast \ # CHANGE_DIRECTORY
# https://devices.lightbox.co.nz/google-cast/version.json \ # REMOTE_PRODUCTION_VERSION_URL
@faceleg
faceleg / genesis_public_key
Created February 21, 2018 20:43
genesis_public_key
0418fdac62348b1e1a3cdde6241e6a1ec9da6be1e03b7e9d7eb11996826567fc774a4160769dfa9948543c0f90163b205924529bf493e855fd86f2b02a75c2bbbb;ryanwillams
@faceleg
faceleg / dirsize.sh
Created July 22, 2017 09:02
Find and display largest directories linux
for X in $(du -s * | sort -nr | cut -f 2); do du -hs $X ; done | head -n 20
{
"extends": "eslint:recommended",
"env": {
"browser": true,
"es6": true,
"node": true
},
"parserOptions": {
<html>
<head>
<meta charset="UTF-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.3.0/lodash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/2.2.5/mocha.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chai/2.3.0/chai.js"></script>
<script src="https://cdn.rawgit.com/spalger/WebConsole-reporter/57579baebea6e326effca37745f909c029fcca72/WebConsole.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.js"></script>
<script src="https://cdn.rawgit.com/spalger/b57619d9d298556ab5e9/raw/af6707d928e22e9c9602f391bb1f238743895632/test.js"></script>
@faceleg
faceleg / docker_wrapper.sh
Last active August 29, 2015 14:26 — forked from iansinnott/docker_wrapper.sh
Automatically set up boot2docker on a Mac whenever `docker` is called
#!/bin/bash
# A wrapper for the docker binary. Checks to make sure the docker host is
# set before executing docker commands.
docker() {
# Start the daemon if it's not running
if [ $(boot2docker status) != 'running' ]; then
echo 'Starting the Docker daemon.'
boot2docker start
" disable arrow keys
map <up> <nop>
map <down> <nop>
map <left> <nop>
map <right> <nop>
imap <up> <nop>
imap <down> <nop>
imap <left> <nop>
imap <right> <nop>