書いて覚える
TODO/DONE切り替えやHTML出力などの説明
spacemacsだと SPC f J
で開ける
// | |
// _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 | |
// }}} | |
// |
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|<|‹|←| )+)" |
書いて覚える
TODO/DONE切り替えやHTML出力などの説明
spacemacsだと SPC f J
で開ける
ffmpeg -i $@ -f mp4 -vcodec libx264 -b:v 4000k -an -r 30 ${@%.*}.mp4 | |
afplay "/System/Library/Sounds/Hero.aiff" |
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
.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; |
// ==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== | |
{ |
# https://stackoverflow.com/questions/45726573/ | |
function myfunc -a num | |
set -q num[1] || set num 10 | |
echo 'myfunc' $num | |
end |
ref. https://devonzuegel.com/post/twitter-backup
gem install t twurl
# copy consumer key https://developer.twitter.com/en/apps
twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}