Skip to content

Instantly share code, notes, and snippets.

View lo48576's full-sized avatar
✔️
activated

YOSHIOKA Takuma lo48576

✔️
activated
View GitHub Profile
@lo48576
lo48576 / tw-newui.css
Last active October 10, 2023 04:18
Firefox の Stylus で使える、何とは言わない某の新 UI 用 CSS 。英語版 UI でテストしているので日本語版で使うならラベル文字列とかちょっと調整してね
@-moz-document domain("twitter.com") {
/*
* Left sidebar
*/
/* Hide menu labels */
nav[aria-label="メインメニュー"] .css-901oao,
nav[aria-label="Primary"] .css-901oao {
display: none;
}
@lo48576
lo48576 / ftdetect__ssh_known_hosts.vim
Last active January 18, 2023 10:43
Vim syntax highlight for `~/.ssh/known_hosts`
au BufRead,BufNewFile known_hosts,ssh_known_hosts set filetype=ssh_known_hosts
@lo48576
lo48576 / keybase.md
Created November 18, 2022 13:51
keybase.md

Keybase proof

I hereby claim:

  • I am lo48576 on github.
  • I am nop_thread (https://keybase.io/nop_thread) on keybase.
  • I have a public key whose fingerprint is 33F3 EE46 343A 3832 1D9D BADA 84A6 DDBD 3573 FB7F

To claim this, I am signing this object:

@lo48576
lo48576 / 20200505-mastodon-db-maintenance-log.md
Last active August 24, 2022 15:26
Mastodon 腐った DB 矯正メモ (2020-05-05) by らりお

Mastodon 腐った DB 矯正メモ (2020-05-05)

状況

// ==UserScript==
// @name auto redirect
// @author NOP Thread <nop_thread@nops.red>
// @version 0.0.4
// @include https://pbs.twimg.com/*
// @include https://twitter.com/*
// @include https://mobile.twitter.com/*
// @include https://ja.m.wikipedia.org/*
// @include http://d.hatena.ne.jp/*
// @include https://d.hatena.ne.jp/*
@lo48576
lo48576 / README.md
Last active March 4, 2022 17:20
fcitk4 & fcitx-skk & libskk セット
  • flatpak で fcitx を動かす用。
@lo48576
lo48576 / flamegraph-20220108-0420.svg
Last active January 8, 2022 23:02
20220108-iri-string-parser-improvement
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lo48576
lo48576 / README.md
Created December 23, 2021 14:36
OpenPGP key transition statement (2021-12)

Files

  • README.md
    • This file.
  • transition.md
    • Transition statement.
    • Signed by keys.
  • old.asc
    • My old public key.
  • new.asc
@lo48576
lo48576 / x11-elecom-deft-pro-buttons.conf
Last active January 1, 2021 13:14
Buttons config for DEFT Pro
# /etc/X11/xorg.conf.d/60-lo48576-elecom.conf
Section "InputClass"
Identifier "Elecom USB Trackball Wheel Emulation"
MatchVendor "ELECOM"
MatchProduct "DEFT Pro"
MatchIsPointer "yes"
Driver "evdev"
Option "EmulateWheel" "true"
# 1: Left button
@lo48576
lo48576 / linux-5.10-rc4_elecom-m-xgl20dlbk.patch
Last active November 28, 2020 14:26
Linux 5.10-rc4 用の、 ELECOM EX-G (M-XGL20DLBK) の Fn1〜Fn3 ボタンを使えるようにするパッチ
From 8ddcf4c694ec89bc1ea7a1b48be9786d8b00c928 Mon Sep 17 00:00:00 2001
From: YOSHIOKA Takuma <lo48576@hard-wi.red>
Date: Sun, 22 Nov 2020 04:36:34 +0900
Subject: [PATCH 1/2] HID: elecom: rewrite report based on model specific
parameters
The report descriptor for EX-G wireless mouse (M-XGL20DLBK) is a bit
different from that for trackball mice such as DEFT. For such mouse, the
current `mouse_button_fixup` cannot be used as is, because it uses
hard-coded indices for a report descriptor.