#!/bin/sh -eo pipefail
pwd && ls -la
/work
total 39756
drwxr-xr-x 10 root root 4096 Mar 29 03:27 .
drwxr-xr-x 33 root root 4096 Mar 29 03:27 ..
drwxr-xr-x 2 root root 4096 Mar 29 03:26 .circleci
drwxr-xr-x 5 root root 4096 Mar 29 03:27 .git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python -m gen_tags --dicdir /usr/local/lib/mecab/dic/mecab-ipadic-neologd --restore ./wikipedia.pickles --show-keywords ../hugo/content/**/*.md | |
| ../hugo/content/about.en.md, watching, 45, 1.18 | |
| ../hugo/content/about.en.md, Knowledges, 45, 1.18 | |
| ../hugo/content/about.en.md, app, 38, 0.72 | |
| ../hugo/content/about.en.md, Pictures, 45, 0.63 | |
| ../hugo/content/about.en.md, Kyoichiro, 45, 0.61 | |
| ../hugo/content/about.en.md, animations, 45, 0.61 | |
| ../hugo/content/about.en.md, scrabble, 45, 0.61 | |
| ../hugo/content/about.en.md, knowledges, 38, 0.61 | |
| ../hugo/content/about.en.md, gaind, 38, 0.61 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 結構arrayformula便利だけど忘れがちだからメモっていく |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //TARGET: id.jobcan.jp, ssl.wf.jobcan.jp, ssl.jobcan.jp | |
| //DEV: https://gist.githack.com/kyoh86/99b31c2a78ef58f99534ebf4ae673c27/raw/jobcan-insite.js | |
| //PRODUCTION: https://gistcdn.githack.com/kyoh86/99b31c2a78ef58f99534ebf4ae673c27/raw/jobcan-insite.js | |
| (()=>{ | |
| const interval = 2000; | |
| const get = (cl)=>Array.from(window.document.getElementsByClassName(cl)); | |
| const process = ()=>{ | |
| get('jbc-app-link').concat(get('jbcid-logo')).concat(get('logo')).forEach(i=>{i.removeAttribute('target')}); | |
| window.setTimeout(process, interval); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //TARGET: https://ssl.jobcan.jp/employee/holidayworking/new | |
| //DEV: https://gist.githack.com/kyoh86/5d9e7b9648e3aa0ce0e6fb6516131d6f/raw/jobcan-holiday-compensatory.js | |
| //PRODUCTION: https://gistcdn.githack.com/kyoh86/5d9e7b9648e3aa0ce0e6fb6516131d6f/raw/jobcan-holiday-compensatory.js | |
| (()=>{ | |
| const interval = 2000; | |
| const process = ()=>{ | |
| let sel = document.getElementById('holiday_type'); | |
| if (!sel) { | |
| return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # vimとの連携設定 {{{ | |
| if [[ -n "${VIM_TERMINAL}" ]]; then | |
| # 現在のパスをタイトルとして渡す | |
| function _update_term_title() { | |
| # sets the tab title to current dir | |
| echo -ne "\033]0;${PWD}\007" | |
| } | |
| add-zsh-hook precmd _update_term_title | |
| # vimを置換える |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| ) | |
| func main() { | |
| _, err := os.Stat("") | |
| fmt.Println(err) |
著者: 青い鴉(ぶるくろ)さん @bluecrow2
これは結城浩さんの運用されていた YukiWiki に当時 Coffee 様 (青い鴉(ぶるくろ)さん)がかかれていた文章です。 ただ 2018 年 3 月 7 日に YukiWiki が運用停止したため消えてしまいました。その記事のバックアップです。
今は 404 ですが、もともとの記事の URL は http://www.hyuki.com/yukiwiki/wiki.cgi?%A5%C7%A5%B9%A5%DE%A1%BC%A5%C1%A4%AC%B5%AF%A4%AD%A4%EB%CD%FD%CD%B3 になります。
昔、自分がとても感銘を受けた文章なので、このまま読めなくなるのはとてももったいないと思い、バックアップとして公開しています。
常駐系アプリにCTRL+某を奪われがちなのがつらい。ATOKとか、Gyazoとか、まあいろいろ。設定もそれぞれバラバラに持ってるし。
Macなら大体CMD+で持って行くので、そこはまあ好きにしてくれ、と明け渡すことができるが、CTRL系だと自分が設定したいキーと衝突するので、これだけはなんとかならんか、と思って試行錯誤。
WindowにWM_GETHOTKEYメッセージを飛ばせば戻り値のUPPER WORDがMOD、LOWER WORDが実キーで返るよ、という記述を見つけて喜び勇んでやってみたものの、 どうやら今はWM_SETHOTKEYを使ったホットキー設定は使われていないらしい。 (RegisterHotKey関数を使っているぽい) そして、RegisterHotKeyを使って登録されたホットキーはWM_GETHOTKEYではどうにもならない。
夢は破れたのでここに供養。