Skip to content

Instantly share code, notes, and snippets.

/* hoverの系の順序 */
a:link { color: #999ea1 }
a:visited { color: #999ea1 }
a:hover { color: #999ea1 }
a:active { color: #999ea0 }
// String {{{
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g, "");
}
String.prototype.ltrim = function() {
return this.replace(/^\s+/, "");
}
String.prototype.rtrim = function() {
return this.replace(/\s+$/, "");
}
# coding: utf-8
require 'date'
#
# カレンダークラス
#
# 実装(予定)機能
# (1)コンソールへの出力 ->○
# (2)テーブル形式での出力 ->○
# (3)休日を考慮