Skip to content

Instantly share code, notes, and snippets.

Avatar

Eric Turner etdev

View GitHub Profile
@etdev
etdev / wards_wiki_css.md
Last active Feb 16, 2018
CSS to make WardsWiki look a little nicer
View wards_wiki_css.md

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.

CSS

body {
    margin: 0 auto;
@etdev
etdev / hiroo_restaurants.md
Created Jul 6, 2017
hiroo_restaurants.md
View hiroo_restaurants.md
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 麻布食堂 https://tabelog.com/tokyo/A1307/A130703/13001363/ 1 3.61 200 https://tblg.k-img.com/restaurant/images/Rvw/761/150x150_square_761791.jpg 日曜日、月曜日、祝祭日 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 https://tabelog.com/tokyo/A1307/A130703/13099907/ 4 3.66 55 https://tblg.k-img.com/restaurant/images/Rvw/19846/150x150_square_19846203.jpg 不定休 2017-07-06 10:48:08 UTC 2017-07-06 10:52:58 UTC 東京都渋谷区恵比寿3-48-5 グランデ恵比寿 2F unknown unknown 0.8 km イタリアン, 居酒屋, ワインバー
340 ルコント 広尾本店 https://tabelog.com/tokyo/A1307/A130703/13153942
View kyobashi_restaurants.md
Name Price Range (higher = more expensive) Tabelog Rating Distance to Kyobashi Staiton URL Type of Food
ダバインディア 2 3.94 0.2 km https://tabelog.com/tokyo/A1302/A130202/13000506/ インドカレー; インド料理
3丁目のカレー屋さん 1 3.63 0.3 km https://tabelog.com/tokyo/A1302/A130202/13025962/ カレーライス
京橋屋カレー 1 3.62 0.5 km https://tabelog.com/tokyo/A1302/A130202/13027104/ カレーライス
紅花別館 1 3.6 0.8 km https://tabelog.com/tokyo/A1302/A130202/13000487/ 洋食; カレーライス; 鉄板焼き
根室花まる KITTE丸の内店 2 3.59 0.9 km https://tabelog.com/tokyo/A1302/A130201/13153777/ 回転寿司
近為 大丸東京店 1 3.59 0.8 km https://tabelog.com/tokyo/A1302/A130201/13044475/ 和食(その他); 京料理
ミート矢澤アンドブラッカウズ 大丸東京 テイクアウトステーション 1 3.59 0.8 km https://tabelog.com/tokyo/A1302/A130201/13145852/ 弁当
お好み焼 きじ 丸の内店 1 3.59 0.6 km https://tabelog.com/tokyo/A1302/A130201/13020110/ 焼きそば; お好み焼き
@etdev
etdev / useful_commands.md
Last active Aug 29, 2015
Useful commands (便利なシェルなどのコマンド)
View useful_commands.md

###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>@'
@etdev
etdev / znc_install.md
Last active Aug 29, 2015
Installing ZNC from source on Linux
View znc_install.md

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.
You can’t perform that action at this time.