Skip to content

Instantly share code, notes, and snippets.

@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.名]
@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
@hashrock
hashrock / diag.md
Last active January 22, 2025 21:10
作図系ツール・ライブラリまとめ

シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ

GraphViz

http://www.graphviz.org/

  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など
@drkarl
drkarl / gist:739a864b3275e901d317
Last active October 30, 2024 19:38
Ask HN: Best Linux server backup system?

Linux Backup Solutions

I've been looking for the best Linux backup system, and also reading lots of HN comments.

Instead of putting pros and cons of every backup system I'll just list some deal-breakers which would disqualify them.

Also I would like that you, the HN community, would add more deal breakers for these or other backup systems if you know some more and at the same time, if you have data to disprove some of the deal-breakers listed here (benchmarks, info about something being true for older releases but is fixed on newer releases), please share it so that I can edit this list accordingly.

  • It has a lot of management overhead and that's a problem if you don't have time for a full time backup administrator.
@glava
glava / app.js
Last active August 2, 2016 02:41 — forked from mshwery/app.js
Knockout + custom components + browserify
var ko = require('knockout');
ko.components.register('simple-name', require('./simple-name.js'));
ko.applyBindings({ userName: ko.observable() });
@hashrock
hashrock / vuejs.md
Last active October 5, 2023 23:42
Vue.js資料まとめ(古いので注意)

#まず見るべき

以下のURLは、常に更新されているコンテンツです。

@onk
onk / .rubocop.yml
Last active January 15, 2018 02:30
僕の使っている .rubocop.yml
# rubocop v0.35.0 から inherit_gem という機能が増えたので gem にしました
# https://github.com/onk/onkcop
inherit_gem:
onkcop: "config/rubocop.yml"
@robatron
robatron / fallout-1-high-res-patch-mac-osx.md
Last active November 29, 2024 13:35
How to get the Fallout 1 (and Fallout 2) high-resolution patch working for Mac OS X

Fallout 1 (and Fallout 2) Hi-Res Patch for Mac OS X

Fallout 1 was originally designed to run at 640x480 resolution. I wanted to run the Mac OS X version of Fallout on my MacBook 11", which has a 1366x768 display. There is a [high resolution patch][hi-res], but it only supports the Windows version of Fallout.

Turns out that the OS X version of Fallout runs through Wine, so we can get this patch working with just a few configuration changes:

Note for Fallout 2 users: The process for Fallout 2 is essentially the same, with a different patch, and some minor pathing differences. Other than that, the process is exactly the same!

Install Wine

@josephspurrier
josephspurrier / drop_encrypt.go
Last active March 24, 2020 17:48
Golang - Drag and Drop AES Encryption and Decryption
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"fmt"
"io"
"io/ioutil"
"os"