Skip to content

Instantly share code, notes, and snippets.

View jugyo's full-sized avatar
🏠
Working from home

Kaz jugyo

🏠
Working from home
  • The League
  • New Jersey
View GitHub Profile
@maimai-swap
maimai-swap / upsidedown.rb
Last active December 10, 2015 19:28
Upside down tweet / earthquake plugin
# -*- coding: utf-8 -*-
# Upside down tweet / earthquake plugin
#
# upd:
#
require 'pp'
class Upd
@@values = {
'a'=>'ɐ','b'=>'q','c'=>'ɔ','d'=>'p','e'=>'ǝ','f'=>'ɟ','g'=>'ƃ','h'=>'ɥ','i'=>'ı',
'j'=>'ɾ','k'=>'ʞ','l'=>'l','m'=>'ɯ','n'=>'u','o'=>'o','p'=>'d','q'=>'b','r'=>'ɹ',
@no6v
no6v / api_v1_1.rb
Last active December 14, 2015 09:29
Earthquake.once do
Module.new do |api_v1_1_forcibly|
def request(http_method, path, *arguments)
super(http_method, path.sub("/1/", "/1.1/"), *arguments)
end
OAuth::AccessToken.__send__(:prepend, api_v1_1_forcibly)
end
Module.new do |api_v1_1|
@joshschmelzle
joshschmelzle / remap-capslock-to-control-win10.md
Last active May 13, 2024 01:55
Remap Caps Lock to Control on Windows 10

Ways to remap caps lock to control on Windows 10

These methods in this gist worked for me on my U.S.-based keyboard layouts. I am unsure about other layouts. If you have problems, revert your changes; delete the registry key you created (and reboot).

Update: you should probably scroll down to approach 4 where I suggest using Microsoft PowerToys Keyboard Manager.

Approach 1. Manually through regedit

Navigate to and create a new binary value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout named Scancode Map.