This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:+1: | |
:-1: | |
:airplane: | |
:art: | |
:bear: | |
:beer: | |
:bike: | |
:bomb: | |
:book: | |
:bulb: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |