Skip to content

Instantly share code, notes, and snippets.

View ryoakg's full-sized avatar

℟γồ ᾅḳᐃϼ╿ ryoakg

View GitHub Profile
@ryoakg
ryoakg / gosh_completions_gen.scm
Created December 20, 2023 12:50
create $RLWRAP_HOME/gosh_completions
#! /usr/bin/env gosh
(require "binary/io") (require "binary/pack") (require "dbi")
(require "dbm") (require "dbm/fsdbm") (require "file/filter")
(require "file/util") (require "gauche/auxsys") (require "gauche/cgen")
(require "gauche/charconv") (require "gauche/collection") (require "gauche/config")
(require "gauche/fcntl") (require "gauche/hook") (require "gauche/libutil")
(require "gauche/listener") (require "gauche/logger") (require "gauche/mop/propagate")
(require "gauche/mop/singleton") (require "gauche/mop/validator") (require "gauche/net")
(require "gauche/package") (require "gauche/package/fetch") (require "gauche/package/util")
@ryoakg
ryoakg / quick-command.css
Created February 22, 2021 01:09
Vivaldi quick command overlay style to inject browser.html
/* https://forum.vivaldi.net/topic/32459/adjustable-width-height-for-quick-command-dialog */
/* .quick-command-container {opacity:50%;} */
/* .quick-command-container .quick-commands > div > div {max-height: 100% !important;} */
/* .quick-command-container, .quick-command-container .quick-commands > div {min-height:86vh;} */
.quick-command-container, .quick-command-container .quick-commands > div {min-width:65vw; cursor: auto;}
.quick-command-container .quick-commands > div > div {max-width: 100% !important;}
.quick-command-container .quick-command {cursor: pointer;}
@ryoakg
ryoakg / iodoform.svg
Created February 15, 2021 07:47
ヨードホルム反応
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryoakg
ryoakg / imwheel.service
Created February 12, 2021 00:45
imwheel systemd unit file
[Unit]
Description=IMWheel
Wants=display-manager.service
After=display-manager.service
[Service]
Type=simple
Environment=XAUTHORITY=%h/.Xauthority
ExecStart=/usr/bin/imwheel -d
ExecStop=/bin/kill -INT $(MAINPID)
@ryoakg
ryoakg / alcohol.svg
Created February 1, 2021 08:31
アルコール
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryoakg
ryoakg / alkyne.svg
Created February 1, 2021 07:56
アルキン
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryoakg
ryoakg / alkene.svg
Created February 1, 2021 07:22
アルケン
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryoakg
ryoakg / isomer.svg
Created February 1, 2021 06:56
異性体の分類
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[10 ?? 1,
"a" ?? 1,
true ?? 1,
false ?? 1,
null ?? 1,
undefined ?? 1
];
#=> [10, "a", true, false, 1, 1]
@ryoakg
ryoakg / 70-synaptics.conf
Created February 28, 2020 03:33
ミヨシ(MCO) なめらかUSBタッチパッド TTP-US01 用
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "VertEdgeScroll" "off"
Option "VertTwoFingerScroll" "on"
Option "HorizEdgeScroll" "off"