Skip to content

Instantly share code, notes, and snippets.

🏃
Keep learning

ha4gu

🏃
Keep learning
Block or report user

Report or block ha4gu

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
@ha4gu
ha4gu / karabiner.sh
Last active Apr 8, 2019
for macOS initial setup
View karabiner.sh
#!/bin/bash
mkdir -p $HOME/.config/karabiner/assets/complex_modifications
cd $HOME/.config/karabiner/assets/complex_modifications/.
curl -OLs https://gist.githubusercontent.com/ha4gu/bcea8f4e5d8fa8064d5b949b5ce50343/raw/swaptab.json
curl -OLs https://gist.githubusercontent.com/ha4gu/bcea8f4e5d8fa8064d5b949b5ce50343/raw/terminal.json
curl -OLs https://gist.githubusercontent.com/ha4gu/bcea8f4e5d8fa8064d5b949b5ce50343/raw/other.json
@ha4gu
ha4gu / anipota.rb
Last active Apr 3, 2019
アキバ総研 (https://akiba-souken.com/) 様の新作アニメリストページから情報を取得し、録画サーバ2台での録画予約リストを作成するための個人的なスクリプト。
View anipota.rb
### ここから依存パッケージ定義パート
# NokogiriとChronicをgemでインストールしておくように。
require 'open-uri'
require 'nokogiri'
require 'date'
require 'time'
require "active_support/all"
require 'chronic'
You can’t perform that action at this time.