Skip to content

Instantly share code, notes, and snippets.

View ClassicOldSong's full-sized avatar
🐦

Yukino Song ClassicOldSong

🐦
View GitHub Profile
@ClassicOldSong
ClassicOldSong / MouseDelta.ahk
Last active December 31, 2024 09:09
AHK for enhancing GPD Pocket. Run pocket_enhancement.ahk. Feature: Esc + Mouse movenent = ScrollWheel, CapsLock + PrtScn = Region Screen Capture
; Instantiate this class and pass it a func name or a Function Object
; The specified function will be called with the delta move for the X and Y axes
; Normally, there is no windows message "mouse stopped", so one is simulated.
; After 10ms of no mouse movement, the callback is called with 0 for X and Y
Class MouseDelta {
State := 0
__New(callback){
;~ this.TimeoutFn := this.TimeoutFunc.Bind(this)
this.MouseMovedFn := this.MouseMoved.Bind(this)
@ClassicOldSong
ClassicOldSong / surfingkeys.js
Last active November 7, 2019 13:40
My SurfingKeys Configuration
/* Original gist from deluxghost
* https://gist.github.com/deluxghost/f15e304ab18214e6a39587e17b63dd4d
*/
unmap('cp');
unmap('spa');
unmap('spb');
unmap('spd');
unmap('sps');
unmap('spc');
@ClassicOldSong
ClassicOldSong / GitHub_top_bar_enhancement.user.js
Last active August 9, 2019 11:10
GitHub top bar enhancement
// ==UserScript==
// @name GitHub top bar enhancement
// @namespace https://ccoooss.com/
// @version 0.1.3
// @description Fix and Auto Hide GitHub Top Bar w/ Ocototree caused headerbar displacement fix
// @author Yukino Song
// @match https://github.com
// @match https://github.com/*/*
// @match https://gist.github.com/*
// @grant none

Keybase proof

I hereby claim:

  • I am ClassicOldSong on github.
  • I am classicoldsong (https://keybase.io/classicoldsong) on keybase.
  • I have a public key whose fingerprint is FDCF 498C CBA6 943D F62F 9B08 D752 1E12 8373 6003

To claim this, I am signing this object: