- How many keys do you want ie. do you need function keys / cursor arrow keys / numpad?
- Do you like loud clicky keys, bumpy tactile, or linear fast to hit keys?
- Do you want to be able to swap out switches for different ones or mix / match your switches?
- Do you need it to be portable?
- Do you want LED lighting?
- Do you want to program it with macros to be highly custom?
- Do you want USB-c?
- Windows or Mac?
- Do you want split / ergonomic / ortholinear?
- Do you want to use custom / creative keycap sets or keep it OEM?
View fml_quite_seriously.sh
brew cask install xquartz | |
./configure --with-features=huge --enable-multibyte --enable-rubyinterp=yes --enable-python3interp=yes --with-python3-config-dir=$(python3-config --configdir) --enable-perlinterp=yes --enable-luainterp=yes --enable-gui=athena --enable-cscope --prefix=/usr/local/ --with-x --disable-darwin | |
export DISPLAY=:0.0 |
View pinterest-autoplay-fix.tampermonkey.js
// ==UserScript== | |
// @name Pinterest Autoplay Remover | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description pauses autoplaying / looping videos | |
// @author @noopkat | |
// @match https://www.pinterest.com | |
// @grant none | |
// ==/UserScript== |
View mech-keyboard-questions.md
View 01 iTunesSong.scpt
on is_running(appName) | |
tell application "System Events" to (name of processes) contains appName | |
end is_running | |
set iTunesRunning to is_running("iTunes") | |
set noMusic to "no music is playing" | |
set song to noMusic | |
if iTunesRunning then | |
set song to run script "tell application \"iTunes\" to if player state is playing then \"now playing: \" & name of current track & \" by \" & artist of current track" |
View nodemon.sh
nodemon --exec npm test |
View keybase.md
Keybase proof
I hereby claim:
- I am noopkat on github.
- I am noopkat (https://keybase.io/noopkat) on keybase.
- I have a public key whose fingerprint is F4D8 088B F58E 8AAF 9496 E1DE EE33 65D4 1D8D C876
To claim this, I am signing this object:
View chat.js
const setup = () => { | |
const nearestColorScript = document.createElement('script'); | |
document.body.appendChild(nearestColorScript); | |
nearestColorScript.onload = onScriptLoad; | |
nearestColorScript.src = 'https://cdn.rawgit.com/dtao/nearest-color/a017c25b/nearestColor.js'; | |
} | |
const onScriptLoad = () => { | |
console.log('nearest color script loaded'); |
View aci.sh
az container create \ | |
--resource-group <resource-group-name> \ | |
--name <container-instance-name> \ | |
--image <docker-image-name> \ | |
--azure-file-volume-account-name <file-storage-name> \ | |
--azure-file-volume-account-key <file-storage-key> \ | |
--azure-file-volume-share-name <file-share-name> \ | |
--azure-file-volume-mount-path /aci/status/ |
View tracker.js
const puppeteer = require('puppeteer'); | |
const statusTextSelector = '.someClassname'; | |
const trackingUrl = 'http://ozcouriers.com.au'; | |
const extractStatus = async () => { | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
await page.goto(trackingUrl, {waitUntil: 'networkidle2'}); | |
await page.waitFor(statusTextSelector); |
NewerOlder