- iCloud の Letterspace にテキストファイルがあるので、ファイル名を変えたい
- iCloud 使ってないとき、 ~/Library/Containers/com.x10studio.LetterspaceMac/Data/Documents/Home にファイルがある
- 適当なフォルダにコピーして作業
- 予めファイル名の空白をハイフンに置換しておく
find . -name "* *" -print0 | xargs -0 rename 's/ /-/g'
- 更新日をファイル名につける
ls -l --time-style='+%Y-%m-%d' | grep -v total | awk '{ printf("%s %s-%s\n", $7, $6, $7) }' | xargs -n 2 mv
- 参考 大量のファイルをシェルのコマンドで一括リネームする | Developers.IO
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
| # https://stackoverflow.com/questions/45726573/ | |
| function myfunc -a num | |
| set -q num[1] || set num 10 | |
| echo 'myfunc' $num | |
| end |
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
| // ==UserScript== | |
| // @name ニコレポを見やすくするやつ | |
| // @namespace https://twitter.com/hush_in | |
| // @version 0.1 | |
| // @description ニコレポを見やすくするやつ | |
| // @author hush_in | |
| // @match https://www.nicovideo.jp/my/top | |
| // @grant none | |
| // ==/UserScript== | |
| { |
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
| .column:nth-child(1) { | |
| width: 600px; | |
| } | |
| .column:nth-child(1) .item-box:not(:hover) .tweet-footer { | |
| display: none; | |
| } | |
| .column:nth-child(1) .js-stream-item-content { | |
| padding: 3px; |
- 出先、Androidで長文が打てるようにBluetoothキーボードで快適に入力できるようにしたい
- 英字配列で打つ
- CapslockをCtrlキーとして使う
- IME: Google 日本語入力
- キーマップ変更: 106/109ハードウェアキーボード配列変更+親指Ctrl - Google Play の Android アプリ
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
| ffmpeg -i $@ -f mp4 -vcodec libx264 -b:v 4000k -an -r 30 ${@%.*}.mp4 | |
| afplay "/System/Library/Sounds/Hero.aiff" |
書いて覚える
TODO/DONE切り替えやHTML出力などの説明
spacemacsだと SPC f J で開ける
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
| set noautofocus | |
| set cncpcompletion | |
| set smoothscroll | |
| let scrollstep = 150 | |
| let fullpagescrollpercent = 100 | |
| let locale = "jp" | |
| let barposition = "bottom" | |
| let hintcharacters = "hjklasdfgyuiowertnm" | |
| let blacklists = ["https://mail.google.com/*","https://www.google.com/calendar/*","https://www.amazon.co.jp/gp/video/*","https://feedly.com/*","https://i.doit.im/*"] | |
| let previousmatchpattern = "((?!last)((P|p)rev(ious)?|newer|back|«|less|<|‹|←| )+)" |
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
| // | |
| // _smooziee.js | |
| // | |
| // LICENSE: {{{ | |
| // Copyright (c) 2009 snaka<snaka.gml@gmail.com> | |
| // | |
| // distributable under the terms of an MIT-style license. | |
| // http://www.opensource.jp/licenses/mit-license.html | |
| // }}} | |
| // |
- あとで資料公開されるらしい
- AECGオフ主催の人
- 無料で有償版の9割使える