Skip to content

Instantly share code, notes, and snippets.

View miio's full-sized avatar

miio mitani miio

  • Sapporo, Hokkaido, Japan
View GitHub Profile
@miio
miio / vpnclient
Last active August 29, 2015 14:27 — forked from ww24/vpnclient
SoftEther VPN 4 init.d script
#! /bin/sh
### BEGIN INIT INFO
# Provides: vpnclient
# Required-Start: $remote_fs $local_fs $network $syslog
# Required-Stop: $remote_fs $local_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: SoftEther VPN Client
# Description: SoftEther VPN Client
### END INIT INFO
@miio
miio / equipment_color.rb
Last active January 1, 2016 18:29 — forked from maraigue/equipment_color.rb
ActiveDecorator使うときっとこんな感じになりそう(未検証)
# app/decorators/character_decorator.rb
# for https://github.com/kyubuns/misterioso/commit/3598eec678cf7368e105141b1cd7b8c259f1af12
module CharacterDecorator
EQUIPMENT_COLOR_TABLE = {
1 => 'black',
2 => 'orange',
3 => 'forestgreenq',
4 => 'blue',