Skip to content

Instantly share code, notes, and snippets.

Karabiner layouts for symbols and navigation

Gavin Sinclair, January 2022

Introduction

I use Karabiner (configured with Gosu) to make advanced key mappings on my Apple computer. Karabiner allows you to create “layers”, perhaps simulating those on a programmable mechanical keyboard. I make good use of these layers to give me easy access (home-row or nearby) to all symbols and navigational controls, and even a numpad.

The motivation is to keep hand movement to a minimum. Decades of coding on standard keyboards has unfortunately left me with hand and wrist pain. I will soon enough own a small split keyboard which will force me to use layers to access symbols etc., so this Karabiner solution, which has evolved over months, is a training run for that.

@ginixsan
ginixsan / nodejs-cicd-github-actions.md
Created January 13, 2022 13:15 — forked from danielwetan/nodejs-cicd-github-actions.md
Deploy Node.js to VPS using Github Actions

Deploy Node.js to VPS using Github Actions

Steps to deploy Node.js to VPS using PM2 and Github Actions

1. Clone repo to vps folder

git clone https://github.com/danielwetan/node1.git
https://github.com/monosans/proxy-list/raw/main/proxies/http.txt
https://github.com/ShiftyTR/Proxy-List/raw/master/https.txt
https://github.com/clarketm/proxy-list/raw/master/proxy-list-raw.txt
https://github.com/TheSpeedX/PROXY-List/raw/master/http.txt
@korniychuk
korniychuk / touch-typing_how-to.md
Last active October 23, 2024 23:50
Печатать быстрее чем говорить? Вам сюда! | Touch Typing - How To
@shuhei
shuhei / README.md
Last active October 22, 2021 16:34
Node.js HTTP timeout

Node.js HTTP timeout

Findings

  • http.request({ timeout }) is not working for response timeout.
    • Agent timeout supercedes the option
  • Doesn't leak because request.on('timeout') instead of socket.on('timeout'). It's easier because request is always thrown away.
    • Then why header leaks?
      • Print socket's listeners('timeout').length
  • Try dropRequestAfter together
@hygull
hygull / LICENSE KEY FOR SUBLIME TEXT 3 BUILD 3143.md
Last active December 16, 2023 19:30
LICENSE KEY FOR SUBLIME TEXT 3 BUILD 3143

STEPS

  • Click on Help menu

  • Select Enter License

  • Then paste given KEY given at bottom

  • Finally click on Use License

@gr1ev0us
gr1ev0us / find.sh
Last active November 12, 2024 19:23
Cheatsheet for find linux
# List of cheatsheet for linux find.
# Taken from here http://alvinalexander.com/unix/edu/examples/find.shtml
# basic 'find file' commands
# --------------------------
find / -name foo.txt -type f -print # full command
find / -name foo.txt -type f # -print isn't necessary
find / -name foo.txt # don't have to specify "type==file"
find . -name foo.txt # search under the current dir
find . -name "foo.*" # wildcard
@oubiwann
oubiwann / appify.sh
Last active August 13, 2024 01:24 — forked from advorak/appify.sh
appify — create the simplest possible Mac app from a shell script (adds an application icon)
#!/usr/bin/env bash
VERSION=4.0.1
SCRIPT=`basename "$0"`
APPNAME="My App"
APPICONS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns"
OSX_VERSION=`sw_vers -productVersion`
PWD=`pwd`
function usage {
@korniychuk
korniychuk / collection.ts
Created July 25, 2016 09:38
TypeScript: extends Array class example
'use strict';
class Collection<T> extends Array<T> {
// noinspection JSAnnotator
public constructor(...args: T[]) {
let array = super(...args);
Object.setPrototypeOf(array, this.constructor.prototype);
return array;
}
@btroncone
btroncone / rxjs_operators_by_example.md
Last active November 7, 2024 09:19
RxJS 5 Operators By Example