Skip to content

Instantly share code, notes, and snippets.

View cpoliver's full-sized avatar

Charles P Oliver cpoliver

View GitHub Profile
@tanyuan
tanyuan / smart-caps-lock.md
Last active May 9, 2025 20:31
Smart Caps Lock: Remap Caps Lock to Control AND Escape

Smart Caps Lock: Remap to Control AND Escape (Linux, Mac, Windows)

Caps Lock 變成智慧的 Control 以及 Escape

  • 單獨輕按一下就是 Escape
  • 若按下時同時按著其他鍵,就會是 Control

這應該是 Vim 和 Emacs 的最佳解了!(Emacs? Bash 的快捷鍵就是 Emacs 系列的)

  • Send Escape if you tap Caps Lock alone.
@thbar
thbar / test_helper.exs
Created May 10, 2016 07:12
How to "focus" (à la RSpec) on one ExUnit test
ExUnit.configure(
exclude: :test, include: :focus,
# SNIP
)
@itod
itod / split_keyboards.md
Last active April 26, 2025 15:22
Every "split" mechanical keyboard currently being sold that I know of
@jimmywarting
jimmywarting / readme.md
Last active April 29, 2025 08:29
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@camilleriluke
camilleriluke / cz-conventional-changelog-casumo.install.sh
Created August 16, 2017 16:59
Using cz-conventional-changelog-casumo
npm install -g commitizen
npm install -g git+https://[email protected]/camilleriluke/cz-conventional-changelog-casumo.git
echo '{ "path": "cz-conventional-changelog-casumo" }' > ~/.czrc
import React from "react";
import { render } from "react-dom";
import Task from "data.task";
import TaskComponent from "./TaskComponent";
const users = [
{ id: 1, name: "User A", points: 45 },
{ id: 2, name: "User B", points: 22 },
{ id: 3, name: "User C", points: 79 },
{ id: 4, name: "User D", points: 54 }