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
//////////////////////////////////////////////////////////////////////////////// | |
// loading | |
//////////////////////////////////////////////////////////////////////////////// | |
;(function(w, d, b) { | |
'use strict'; | |
//-------------------------------------------------------------------------- | |
// Variables | |
//-------------------------------------------------------------------------- | |
var isMSIE = /*@cc_on!@*/false; |
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
#!/bin/sh | |
if [ "$#" -lt 2 ] | |
then | |
echo "usage: gitdiff [target] [export]" | |
echo "example: gitdiff master ../files" | |
exit 1 | |
fi | |
## Export directory |
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
///////////////////////////////////////////////////////////////////////////////// | |
// PolarClock | |
// ポーラークロック | |
// | |
// Copyright (c) 2010 Minoru Nakanow | |
// Licensed under the MIT licenses. | |
// http://www.opensource.org/licenses/mit-license.html | |
// | |
// Usage: | |
// var point = new Point(120, 120, 120); |
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
//////////////////////////////////////////////////////////////////////////////// | |
// DrawCircle / DrawArc | |
// canvasに円を描く | |
// | |
// Copyright (c) 2010 Minoru Nakanow | |
// Licensed under the MIT licenses. | |
// http://www.opensource.org/licenses/mit-license.html | |
// | |
// Usage: | |
// var circle = new DrawCircle(canvas); |
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
/** | |
* ZeroPadding. | |
* | |
* @param {String|Number} number | |
* @return {String} | |
* | |
* @example | |
* "009" = zeroPadding(9, 3); | |
*/ | |
function zeroPadding(number, size) { |
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
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>jquery.getphotos.js</title> | |
<style type="text/css"> | |
* { | |
border: none; | |
list-style: none; | |
} | |
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
//////////////////////////////////////////////////////////////////////////////// | |
// Dateset | |
// 指定期間の日付/曜日の出力など | |
// Copyright 2010, Minoru Nakanou | |
// Licensed under the MIT licenses. | |
// http://www.opensource.org/licenses/mit-license.html | |
//////////////////////////////////////////////////////////////////////////////// | |
(function() { | |
/** | |
* @private |
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
//////////////////////////////////////////////////////////////////////////////// | |
// Smart scroll - jQuery Plugin | |
// ページをまたいで作動するスムーズスクロール | |
// | |
// Copyright 2010, Minoru Nakanow | |
// Licensed under the MIT licenses. | |
// http://www.opensource.org/licenses/mit-license.html | |
// | |
// Usage: | |
// $("a[href^='#']:not([target])").pageScroll(); |
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
//////////////////////////////////////////////////////////////////////////////// | |
// Open new window - jQuery plugin | |
// target属性で指定する別窓展開プラグイン | |
// | |
// Copyright 2010, Minoru Nakanow | |
// Licensed under the MIT licenses. | |
// http://www.opensource.org/licenses/mit-license.html | |
// | |
// Usage: | |
// <a href="example.html?width=full&height=full" target="new">全画面展開</a></p> |
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
//////////////////////////////////////////////////////////////////////////////// | |
// Add a classname to the alternate - jQuery Plugin | |
// 交互にクラス名を付与してストライプなテーブルを作成 | |
// | |
// Copyright 2010, Minoru Nakanow | |
// Licensed under the MIT licenses. | |
// http://www.opensource.org/licenses/mit-license.html | |
// | |
// Usage: | |
// $("table").stripeTable(); |