This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sony Computer Entertainment CECH-ZKB1 | |
virtual_modifiers: | |
- fn | |
modmap: | |
- remap: | |
btn_right: | |
held: fn | |
alone: btn_right |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
device_name = "ELECOM ELECOM UltimateLaser Mouse" | |
[[dual_role]] | |
input = "BTN_SIDE" | |
hold = ["KEY_LEFTSHIFT"] | |
tap = ["BTN_SIDE"] | |
[[dual_role]] | |
input = "BTN_EXTRA" | |
hold = ["KEY_LEFTCTRL"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Presto Gestures | |
// @namespace https://x.com/cxx | |
// @version 0.1.2 | |
// @description Opera-like mouse gestures with middle mouse button instead of right | |
// @match *://*/* | |
// @grant GM_openInTab | |
// @grant window.close | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
device_name = "ELECOM ELECOM UltimateLaser Mouse" | |
[[dual_role]] | |
input = "BTN_SIDE" | |
hold = ["KEY_LEFTCTRL"] | |
tap = ["BTN_SIDE"] | |
[[dual_role]] | |
input = "BTN_EXTRA" | |
hold = ["KEY_LEFTSHIFT"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Credit: https://github.com/mooz/xkeysnail/blob/bf3c93b4fe6efd42893db4e6588e5ef1c4909cfb/example/config.py#L62-L125 | |
shared: | |
terminals: &terminals | |
- gnome-terminal-server | |
- qterminal | |
- Com.github.amezin.ddterm | |
- emacs | |
virtual_modifiers: | |
- CapsLock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// avault2mame.js - convert arcade game data in Atari Vault to older MAME ROM sets | |
// | |
// Usage: | |
// node avault2mame.js [ROM directory] | |
// (ex. on Linux) node avault2mame.js ~/.steam/steam/steamapps/common/Atari\ Vault/AtariVault_Data/StreamingAssets/FOCAL_Emulator | |
// | |
// Requirements: | |
// - Node.js v6 or later | |
// - [Microsoft Windows] .NET Framework 4.5 or later (included in Windows 8/10) | |
// - [Linux] /usr/bin/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// dotemu2mame.js - convert data of games ported by DotEmu to MAME ROM sets | |
// | |
// Usage: | |
// node dotemu2mame.js [ROM directory] | |
// | |
// Requirements: | |
// - Node.js v6 or later | |
// - [Microsoft Windows] .NET Framework 4.5 or later (included in Windows 8/10) | |
// - [Linux] /usr/bin/zip | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name サムネイルから本棚に登録 | |
// @namespace http://twitter.com/cxx | |
// @include http://www.mangaz.com/* | |
// @include http://r18.mangaz.com/* | |
// @version 0.1.0 | |
// ==/UserScript== | |
"use strict"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'optparse' | |
fg = "\u{2b1c}" | |
bg = "\u{2139}" | |
opt = OptionParser.new | |
opt.on("-f CHAR") {|v| fg = v[0] } | |
opt.on("-b CHAR") {|v| bg = v[0] } | |
opt.parse!(ARGV) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'open-uri' | |
require 'RMagick' | |
include Magick | |
palette = Hash[ *( | |
[ ["000000", "\u{2660}" ], ["157569", "\u{1f5fd}"], ["226699", "\u{1f17f}"], | |
["231f20", "\u{2b1b}" ], ["292f33", "\u{1f3b1}"], ["3b88c3", "\u{2139}" ], | |
["4288c1", "\u{1f53d}"], ["553986", "\u{1f47e}"], ["55acee", "\u{1f6b9}"], | |
["58595b", "\u{1f3a5}"], ["5c913b", "\u{264a}" ], ["5dadec", "\u{1f499}"], |
NewerOlder