Skip to content

Instantly share code, notes, and snippets.

🌚
How to disable this ****** status feature??

Yukino Song ClassicOldSong

Block or report user

Report or block ClassicOldSong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ClassicOldSong
ClassicOldSong / tmuxlogin
Last active Dec 26, 2018
Use tmux as your login shell
View tmuxlogin
#!/bin/bash
# Usage:
# Download this file
# Put it in /bin or wherever you want, eg: `/bin/tmuxlogin`
# Give it excutable permission, eg: `sudo chmod +x /bin/tmuxlogin`
# Modify your `/etc/shells` and add `/bin/tmuxlogin` to it
# Modify your `~/.tmux.conf` and add `set-option -g default-shell /bin/bash(or whatever shell you want)` to it
# `chsh -s /bin/tmuxlogin`
# Done!
@ClassicOldSong
ClassicOldSong / MouseDelta.ahk
Last active Dec 18, 2018
AHK for enhancing GPD Pocket. Run pocket_enhancement.ahk. Feature: AppsKey + Mouse movenent = ScrollWheel, CapsLock + PrtScn = Region Screen Capture
View MouseDelta.ahk
; 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 Nov 21, 2018
My SurfingKeys Configuration
View surfingkeys.js
/* Original gist from deluxghost
* https://gist.github.com/deluxghost/f15e304ab18214e6a39587e17b63dd4d
*/
unmap('cp');
unmap('spa');
unmap('spb');
unmap('spd');
unmap('sps');
unmap('spc');
View GitHub_top_bar_enhancement.user.js
// ==UserScript==
// @name GitHub top bar enhancement
// @namespace https://ccoooss.com/
// @version 0.1.20
// @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
View keybase.md

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:

You can’t perform that action at this time.