Skip to content

Instantly share code, notes, and snippets.

View katsyoshi's full-sized avatar
hello world!

MATSUMOTO Katsuyoshi katsyoshi

hello world!
View GitHub Profile
katsyoshi / Rakefile
Last active May 22, 2023 15:55
steep type check task
View Rakefile
require "steep"
require "steep/cli"
namespace :steep do
desc "steep type check"
task :check do |_t, options|
steep_cmd_task(:check, *options.to_a)
desc "steep type annotations"
View env.markdown
  • os: gentoo linux
  • kernel: Linux rin 5.19.1-gentoo #1 SMP PREEMPT_DYNAMIC Sat Aug 13 22:33:43 JST 2022 x86_64 AMD Ryzen Threadripper 1950X 16-Core Processor AuthenticAMD GNU/Linux
  • X11
  • xremap version: 0.7.2
  • cargo install xremap --features x11
$ xremap --device "Pekaso The Fortitude60 Keyboard" --ignore "Mouse" --ignore "Control" ~/.config/xremap/config.yml
Selecting devices from the following list:
View AvoidBomInUTF8FromCSV.rb
class BomUtf8CSV
attr_reader :has_bom
UTF_8_BOM = "\xEF\xBB\xBF".b
def initialize(io)
io.rewind if io.respond_to?(:rewind)
@has_bom = == UTF_8_BOM
io.rewind unless @has_bom
@io = io
@csv =, { headers: true })
katsyoshi /
Created May 28, 2019 01:14
fortitude60 LCTRL mapped CapsLock
View lsp-ruby-mtsmfm.log
D, [2018-11-27T20:40:28.516834 #15714] DEBUG -- : Receive: {
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"processId": 14486,
"rootPath": "/home/katsyoshi/Program/Ruby/anzen-na-password-kanri/",
"rootUri": "file:///home/katsyoshi/Program/Ruby/anzen-na-password-kanri/",
"capabilities": {
"workspace": {
"applyEdit": true,
katsyoshi / build.log
Created September 9, 2018 23:43
i cannot build cumo in my pc
View build.log
current directory: /home/katsyoshi/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/cumo-0.1.0/ext/cumo
/home/katsyoshi/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20180910-20388-1muakq5.rb extconf.rb
checking for numo/narray.h... yes
checking for dlfcn.h... yes
checking for -ldl... yes
checking for dlopen()... yes
checking for stdbool.h... yes
checking for stdint.h... yes
checking for bool in stdbool.h... yes
checking for u_int8_t in stdint.h... yes
View apache arrow.deb
エラー:6 bionic/main Sources
404 Not Found [IP: 443]
無視:7 bionic/main all Packages
無視:8 bionic/main i386 Packages
無視:9 bionic/main amd64 Packages
無視:10 bionic/main Translation-ja_JP
無視:11 bionic/main Translation-ja
無視:12 bionic/main Translation-en
無視:13 bionic/main amd64 DEP-11 Metadata
無視:14 bionic/main all DEP-11 Metadata
View gist:6550221fef7a9044b653b5fa9622b90c
-[321]% iwlist wlp1s0 scanning | grep -e SSID -e Frequency | grep -i rubykaigi -A 1
ESSID:"RubyKaigi 2018"
Frequency:2.412 GHz (Channel 1)
ESSID:"RubyKaigi 2018"
Frequency:2.412 GHz (Channel 1)
ESSID:"RubyKaigi 2018"
Frequency:2.412 GHz (Channel 1)
ESSID:"RubyKaigi 2018"
Frequency:2.412 GHz (Channel 1)
ESSID:"RubyKaigi 2018"
katsyoshi / dns dig
Created April 23, 2018 12:10
cannot find
View dns dig
-[1132]% dig @
; <<>> DiG 9.11.2-P1 <<>> @
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39674
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
katsyoshi / rdoc.log
Created March 4, 2018 12:28
failed rdoc building in gentoo emerge
View rdoc.log
-[12122]% sudo emerge -uDN rdoc
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 7) dev-ruby/rdoc-6.0.1::gentoo