Skip to content

Instantly share code, notes, and snippets.

View yokozawa's full-sized avatar
:octocat:
🖖 working

Yusuke Yokozawa yokozawa

:octocat:
🖖 working
View GitHub Profile
@matchy256
matchy256 / web_alive.sh
Last active July 24, 2018 15:51
wget を使った Web 死活監視スクリプト
#!/bin/bash
if [ $# -eq 2 ]; then
URL=$1
MAILTO=$2
else
echo "usage : $0 check_url alert_mail_address"
exit 1
fi
@ymmt2005
ymmt2005 / due2fs.c
Last active June 30, 2021 05:04
Fastest du for Linux. This is in fact faster than du(1) as long as all dentries are cached :-p
/**
* Compilation:
*
* 1. Without e2fslib:
* $ gcc -O2 -o due2fs due2fs.c
*
* 2. With e2fslib
* $ sudo apt-get install e2fslibs-dev
* $ gcc -DUSE_E2FSLIB -O2 -o due2fs due2fs.c -lext2fs
*
@bells17
bells17 / my_sublime_text_2_preferences.json
Last active August 25, 2016 05:09
個人用に作成したSublime Text 2 の設定ファイルです。
{
/*
* UI関係
*/
// カラー&スキーマ
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", // カラー
"theme": "Soda Dark.sublime-theme", // スキーマ
// カーソルのスタイル ("smooth", "phase", "blink", "wide", "solid")
"caret_style": "smooth",