Windows-like keyboard shortcuts inspired by karabiner-windows-mode
- Open
~/.config/karabiner/
- Replace
karabiner.json
See the offical document for the latest information.
Windows-like keyboard shortcuts inspired by karabiner-windows-mode
~/.config/karabiner/
karabiner.json
See the offical document for the latest information.
# 50 is the number of repositories to be listed
gh repo list -L 50 <organisation> | \
awk '{print $1}' | \
This explains how to set up Vim on Ubuntu 18.04 on Windows Subsystem for Linux 2 (WSL2) in order to share the clipboard between Windows and Ubuntu.
'use strict'; | |
const qs = require('qs'); | |
function format_url(base) { | |
const remove_trailing_slash = (element) => { | |
return element.endsWith('/') ? element.slice(1, -1) : element; | |
}; | |
const remove_leading_slash = (element) => { |
'use strict';
const moment = require('moment');
class DateOnly {
/**
* @param {moment|Date|string} input an object or a string moment.js can parse
*/
constructor(input) {
defaults write com.apple.Dock appswitcher-all-displays -bool true
$ yarn workspaces info --json | jq -rc '.data | fromjson | keys | .[]' | sed 's/^/yarn workspace /g' | sed 's/$/ test/g' | sh
This instruction will store the source in /usr/local/src
following the linux convention.
$ sudo apt update
$ sudo apt install libssl-dev autoconf automake libtool python-setuptools python-dev
$ cd /usr/local/src
$ sudo git clone https://github.com/facebook/watchman.git
$ cd watchman
$ sudo git checkout v4.9.0 # the latest stable release
$ sudo ./autogen.sh