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
katsyoshi / Rakefile
Last active May 22, 2023 15:55
steep type check task
require "steep"
require "steep/cli"
namespace :steep do
desc "steep type check"
task :check do |_t, options|
steep_cmd_task(:check, *options.to_a)
end
desc "steep type annotations"
  • 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:
------------------------------------------------------------------------------
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 = io.read(UTF_8_BOM.length) == UTF_8_BOM
io.rewind unless @has_bom
@io = io
@csv = CSV.new(@io, { headers: true })
end
@katsyoshi
katsyoshi / env.md
Created May 28, 2019 01:14
fortitude60 LCTRL mapped CapsLock
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
katsyoshi / build.log
Created September 9, 2018 23:43
i cannot build cumo in my pc
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
エラー:6 https://packages.red-data-tools.org/debian bionic/main Sources
404 Not Found [IP: 133.18.24.104 443]
無視:7 https://packages.red-data-tools.org/debian bionic/main all Packages
無視:8 https://packages.red-data-tools.org/debian bionic/main i386 Packages
無視:9 https://packages.red-data-tools.org/debian bionic/main amd64 Packages
無視:10 https://packages.red-data-tools.org/debian bionic/main Translation-ja_JP
無視:11 https://packages.red-data-tools.org/debian bionic/main Translation-ja
無視:12 https://packages.red-data-tools.org/debian bionic/main Translation-en
無視:13 https://packages.red-data-tools.org/debian bionic/main amd64 DEP-11 Metadata
無視:14 https://packages.red-data-tools.org/debian bionic/main all DEP-11 Metadata
-[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
katsyoshi / dns dig
Created April 23, 2018 12:10
cannot find mangamura.org
-[1132]% dig @8.8.8.8 mangamura.org
; <<>> DiG 9.11.2-P1 <<>> @8.8.8.8 mangamura.org
; (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
;; OPT PSEUDOSECTION:
@katsyoshi
katsyoshi / rdoc.log
Created March 4, 2018 12:28
failed rdoc building in gentoo emerge
-[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