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 Oya () { | |
this.init(); | |
}; | |
Oya.prototype.init = function () { | |
var props = arguments[0]; | |
for(var prop in props) | |
this[prop] = props[prop]; | |
}; | |
function Ko () { |
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(){$("form").submit(function(){var t=$('input[type="text"]').val();var p=Array(70,152,195,284,475,612,791,896,810,850,737,1332,1469,1120,1470,832,1785,2196,1520,1480,1449);var f=false;if(p.length==t.length){f=true;for(var i=0;i<p.length;i++)if(t.charCodeAt(i)*(i+1)!=p[i])f=false;if(f)alert("(」・ω・)」うー!(/・ω・)/にゃー!");}if(!f)alert("No");return false;});}); | |
$(function () { | |
$("form").submit(function () { | |
var t = $('input[type="text"]').val(); | |
var p = Array(70, 152, 195, 284, 475, 612, 791, 896, 810, 850, 737, 1332, 1469, 1120, 1470, 832, 1785, 2196, 1520, 1480, 1449); | |
var f = false; | |
if (p.length == t.length) { | |
f = true; |
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
Object.prototype.__defineGetter__('keys', function() { | |
var result = []; | |
for(var key in this) | |
result[result.length] = key; | |
return result; | |
}); | |
Object.prototype.__defineGetter__('length', function () { | |
return this.keys.length - 2; | |
}); |
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
%w( HogeError FugaError PiyoError ).each do |error| | |
Object.const_set(error, Class.new(ArgumentError)) | |
end | |
raise HogeError |
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
<head> | |
<title>KeyBindテスト</title> | |
<script type="text/javascript" src="./keybind.js"></script> | |
<script type="text/javascript"> | |
KeyBind.extend({ | |
13 : function () { | |
alert(1); | |
} | |
}); |
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
# -*- encoding: UTF-8 -*- | |
require 'uri' | |
require 'open-uri' | |
require 'optparse' | |
require 'rubygems' | |
require 'nokogiri' | |
class Misawa |
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 SlideImage () { | |
return (this instanceof SlideImage) ? this.init() : new SlideImage(); | |
}; | |
(function (proto) { | |
proto.init = function () { | |
this.images = []; | |
this.display = null; | |
}; |
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
[][(({}+{})[(([]^[]<{})<<([]^[]<{})<<([]^[]<{}))+([]^[]<{})])+(({}+{})[[]^[]<{}])+ | |
((([][{}<<{}])+({}+{}))[[]^[]<{}])+((([]>{})+({}+{}))[(([]^[]<{})<<([]^[]<{}))+([] | |
^[]<{})])+((([]<{})+({}+{}))[[]^[]])+((([]<{})+({}+{}))[[]^[]<{}])+((([][{}<<{}])+ | |
({}+{}))[[]^[]])+(({}+{})[(([]^[]<{})<<([]^[]<{})<<([]^[]<{}))+([]^[]<{})])+((([]< | |
{})+({}+{}))[[]^[]])+(({}+{})[[]^[]<{}])+((([]<{})+({}+{}))[[]^[]<{}])][(({}+{})[( | |
([]^[]<{})<<([]^[]<{})<<([]^[]<{}))+([]^[]<{})])+(({}+{})[[]^[]<{}])+((([][{}<<{}] | |
)+({}+{}))[[]^[]<{}])+((([]>{})+({}+{}))[(([]^[]<{})<<([]^[]<{}))+([]^[]<{})])+((( | |
[]<{})+({}+{}))[[]^[]])+((([]<{})+({}+{}))[[]^[]<{}])+((([][{}<<{}])+({}+{}))[[]^[ | |
]])+(({}+{})[(([]^[]<{})<<([]^[]<{})<<([]^[]<{}))+([]^[]<{})])+((([]<{})+({}+{}))[ | |
[]^[]])+(({}+{})[[]^[]<{}])+((([]<{})+({}+{}))[[]^[]<{}])](((({}+{})[(([]^[]<{})<< |
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
window[(!{}+'')[-~[]]+(!{}+'')[-~-~[]]+({}+'')[-~-~-~-~[]]+(!!{}+'')[-~[]]+(!!{}+'')[[]&[]]](0); |
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 toDecimal (hex) { | |
return parseInt(hex, 10).toString(); | |
} | |
function toRGBA (color_code, alpha) { | |
if(color_code.length > 6) | |
return; | |
var rgba = 'rgba('; |