Skip to content

Instantly share code, notes, and snippets.

Eric Turner etdev

Block or report user

Report or block etdev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
etdev /
Last active Aug 29, 2015
Installing ZNC from source on Linux

In this gist I will explain how to install ZNC from source in Ubuntu/Debian, and CentOS/Fedora/Red Hat Linux.

####Ubuntu/Debian: (I recommend installing as root if possible, or using sudo otherwise).

  1. First, install the required dependencies.
apt-get install build-essential libssl-dev libperl-dev pkg-config
  1. Next, install the OpenSSL Development package, which is required to use SSL with ZNC.
etdev /
Last active Aug 29, 2015
Useful commands (便利なシェルなどのコマンド)

###Shell (tested in zsh)

####Replace string_a with string_b in any files containing string_a (recursive):

I'm going to assume this is inside a git repository but even if it weren't, you could just use grep, ag etc. instead.

git grep -l "<string_a>" | xargs sed -i 's@<string_a>@<string_b>@'
Name Price Range (higher = more expensive) Tabelog Rating Distance to Kyobashi Staiton URL Type of Food
ダバインディア 2 3.94 0.2 km インドカレー; インド料理
3丁目のカレー屋さん 1 3.63 0.3 km カレーライス
京橋屋カレー 1 3.62 0.5 km カレーライス
紅花別館 1 3.6 0.8 km 洋食; カレーライス; 鉄板焼き
根室花まる KITTE丸の内店 2 3.59 0.9 km 回転寿司
近為 大丸東京店 1 3.59 0.8 km 和食(その他); 京料理
ミート矢澤アンドブラッカウズ 大丸東京 テイクアウトステーション 1 3.59 0.8 km 弁当
お好み焼 きじ 丸の内店 1 3.59 0.6 km 焼きそば; お好み焼き
etdev /
Created Jul 6, 2017
id name url price_range rating review_count thumbnail description holiday created_at updated_at english_name address homepage latitude longitude kyobashi_distance nakameguro_distance hiroo_distance genres
338 麻布食堂 1 3.61 200 日曜日、月曜日、祝祭日 2017-07-06 10:48:08 UTC 2017-07-06 10:52:55 UTC 東京都港区西麻布4-18-1 麻布ウェストB1F unknown unknown 1.0 km 洋食, オムライス
339 hayari 4 3.66 55 不定休 2017-07-06 10:48:08 UTC 2017-07-06 10:52:58 UTC 東京都渋谷区恵比寿3-48-5 グランデ恵比寿 2F unknown unknown 0.8 km イタリアン, 居酒屋, ワインバー
340 ルコント 広尾本店
etdev /
Last active Feb 16, 2018
CSS to make WardsWiki look a little nicer

CSS to make WardsWiki look a little nicer

This is just some simple CSS I use to make browsing WardsWiki a bit easier on the eyes. It's distantly inspired by WebDesignIn4Minutes.

You can inject the CSS via your preferred method; personally I use Stylebot on Chrome.


body {
    margin: 0 auto;
You can’t perform that action at this time.