Skip to content

Instantly share code, notes, and snippets.

@poppen
poppen / crontab
Last active May 14, 2017 02:02
簡易Radiko録音ツール。要swftools/rtmpdump/libxml/wget/ffmpeg/lame
# aliceorder
30 1 * * 1 sh ~/workspace/radio/radiko/src/rec_radiko.sh QRR 31 ~/workspace/radio/radiko/data radio_order
# sumipe
0 0 * * 0 sh ~/workspace/radio/radiko/src/rec_radiko.sh QRR 31 ~/workspace/radio/radiko/data heart
@poppen
poppen / rec_radiru.sh
Last active September 10, 2017 10:41
らじるらじる録音スクリプト forked from http://www.geocities.jp/mrsd_tangerine/rec_radiru.sh
#!/bin/bash
LANG=ja_JP.utf8
date=`date '+%Y-%m-%d-%H-%M'`
outdir="."
#引数:[Ch.名] [録音秒数] [出力先] [ファイル名]
# [録音秒数]は30秒増しに録られる
# [ファイル名]は[ファイル名]-YYYY-MM-DD-HH-mm.m4aで保存される。デフォルトは[Ch.名]
@z80oolong
z80oolong / 00_TMUX_FIX.md
Last active October 4, 2021 22:50
tmux 2.5 以降において East Asian Ambiguous Character を全角文字の幅で表示する

tmux 2.5 以降において East Asian Ambiguous Character を全角文字の幅で表示する

告知 (2019/03/15, 2020/04/29)

これまで、本稿の Gist にて公開しておりました [tmux 2.5][TMUX] 以降において [East Asian Ambiguous Character][EAWA] を全角文字の幅で表示する為の差分ファイルについて、差分ファイルの分量が多くなったことに伴い、今後は以下の [Github][GITH] のリポジトリにて [tmux][TMUX] の [East Asian Ambiguous Character][EAWA] 対応差分ファイルを公開することと致します。

また、今後 [East Asian Ambiguous Character][EAWA] 対応の [tmux][TMUX] の導入を御考えの方は、後述する [Linuxbrew][BREW] を用いた差分ファイルの適用及びインストール若しくは、 [AppImage パッケージ][APPR]を用いたインストールを御勧め致します。

@poppen
poppen / init.lua
Last active May 18, 2018 23:44
KarabinerでやっていたことをHammerspoonで代替する(USキーボード用)
local VK_SEMICOLON = 0x29
local VK_ESC = 0x35
local VK_RIGHT_BRACKET = 0x21
local VK_J = 0x26
-- Auto reload config
function reloadConfig(files)
doReload = false
for _,file in pairs(files) do
if file:sub(-4) == ".lua" then
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active November 28, 2025 03:29 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@erukiti
erukiti / review.md
Last active October 13, 2025 07:30
Re:VIEWチートシート

Re:VIEWチートシート

いつもいつもいつもRe:VIEWの記法に悩んでぐぐってしまう皆さんへ送るチートシートです。

基本

名称 ルール 概要・備考
段落 1行以上の空行をはさむと別の段落になる HTMLでいうP
見出し =ではじまる行 =の個数で、章・節・項・段という感じで増えます。HTMLで言うH1, H2, H3, H4, H5
@ytakano
ytakano / epubVertical.sh
Last active December 28, 2024 17:34
横書きのepubファイルを縦書きに変更するスクリプト
#!/usr/bin/env sh
if [ $# -ne 1 ]; then
echo "need epub file!" 1>&2
echo "example:" 1>&2
echo " $ $0 ebook.epub" 1>&2
exit 1
fi
FILE=`basename "$1" .epub`
@panakuma
panakuma / RTXとNEC IXでNGN網折り返しIPSec IX側
Last active February 28, 2025 04:00
RTXとNEC IXでNGN網折り返しIPSec構築 (RTXはVPNに必要な部分だけ)
! NEC Portable Internetwork Core Operating System Software
! IX Series IX2105 (magellan-sec) Software, Version 10.1.14, RELEASE SOFTWARE
! Compiled Mar 06-Wed-2019 14:03:05 JST #2
! Current time Mar 26-Tue-2019 04:29:21 JST
!
timezone +09 00
!
logging buffered 204800
!
ntp server 133.243.238.163
@lisawolderiksen
lisawolderiksen / git-commit-template.md
Last active December 1, 2025 23:17
Use a Git commit message template to write better commit messages

Using Git Commit Message Templates to Write Better Commit Messages

The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the