Skip to content

Instantly share code, notes, and snippets.

View monsat's full-sized avatar

TANAKA Kohji monsat

View GitHub Profile
@monsat
monsat / animal.js
Last active December 15, 2015 23:49 — forked from anonymous/index.html
function Animal(data) {
this.data = data;
this.base = '1966/12/31';
this.count = data.length;
}
Animal.prototype.get = function(birthday) {
var number = this.number(birthday);
var data = this.data[number];
data.number = number;
@monsat
monsat / gist:2878768
Created June 5, 2012 23:25 — forked from avalanche123/gist:981817
GitHub Emoji
:+1:
:-1:
:airplane:
:art:
:bear:
:beer:
:bike:
:bomb:
:book:
:bulb:
@monsat
monsat / code_highlighter_for_gist.user.js
Created March 8, 2012 07:29 — forked from yuya-takeyama/paste_your_code_your_color.user.js
Changes style of Gist's syntax highlight to paste into some presentation tools like Keynote.
// ==UserScript==
// @name code_highlighter_for_gist.user.js
// @namespace http://www.direct-serarch.jp/
// @description Changes style of Gist's syntax highlight
// @include https://gist.github.com/*
// ==/UserScript==
// forked from https://gist.github.com/1254056
(function () {
var styles = {
@monsat
monsat / app_email.php
Created April 14, 2010 07:15 — forked from nojimage/app_email.php
CakePHP version 1.3.x EmailComponent for Japanese
<?php
/**
*
* AppEmailComponent (for Japanese)
*
* Copyright 2010, nojimage (http://php-tips.com/)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*