Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
🖖 working

Yusuke Yokozawa yokozawa

:octocat:
🖖 working
View GitHub Profile
@bells17
bells17 / my_sublime_text_2_preferences.json
Last active Aug 25, 2016
個人用に作成したSublime Text 2 の設定ファイルです。
View my_sublime_text_2_preferences.json
{
/*
* UI関係
*/
// カラー&スキーマ
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", // カラー
"theme": "Soda Dark.sublime-theme", // スキーマ
// カーソルのスタイル ("smooth", "phase", "blink", "wide", "solid")
"caret_style": "smooth",
@ymmt2005
ymmt2005 / due2fs.c
Last active Apr 15, 2019
Fastest du for Linux. This is in fact faster than du(1) as long as all dentries are cached :-p
View due2fs.c
/**
* 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
*
@matchy2
matchy2 / web_alive.sh
Last active Jul 24, 2018
wget を使った Web 死活監視スクリプト
View web_alive.sh
#!/bin/bash
if [ $# -eq 2 ]; then
URL=$1
MAILTO=$2
else
echo "usage : $0 check_url alert_mail_address"
exit 1
fi
You can’t perform that action at this time.