This file contains hidden or 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
| //-------------------------------------------------- | |
| // please read: | |
| // 某ニコニコできる動画サイトにログインして、 | |
| // マイリストページでこのスクリプトを実行 | |
| // (ChromeならF12おしてconsoleにはっつけてください) | |
| // すると、上から連続で再生してくれるかもしれない何かです。 | |
| // | |
| // クロスフェードっぽい何かもついてますがうまくいかないかも... | |
| // 動画が読み込めなかったときやエラーなど例外的なサムシングは考えてません。 | |
| // |
This file contains hidden or 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
| ################################################### | |
| # | |
| # Any file compile run on shell. | |
| # Can't some file joint compile that regret... | |
| # | |
| # target : win32, Ruby | |
| # necessary : Ruby # can simple file name processing and command run. | |
| # gem/win32console # color set | |
| # | |
| # support : haml It mean, "can compile command run". |
This file contains hidden or 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
| <!-- | |
| moved: https://github.com/sters/ohirunejs | |
| --> | |
| <html> | |
| <body> | |
| <a id="ohirune" target="_blank">おひるね</a> | |
| <a id="okita" target="_blank">おきた</a> | |
| <script type="text/javascript"> |
This file contains hidden or 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
| <!DOCTYPE HTML> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>スタイルシートそのものを変更する</title> | |
| <link rel="stylesheet" type="text/css" href="style-a.css" id="style-a" disabled="true"> | |
| <link rel="stylesheet" type="text/css" href="style-b.css" id="style-b" disabled="true"> | |
| <style id="style-c"> | |
| #foo { |
This file contains hidden or 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(){ | |
| function auto_font_size($, target){ | |
| var temp = $("<div>").css({ | |
| "display" : "none", | |
| "font-family" : target.css("font-family"), | |
| }).text(target.text()).appendTo("body"); | |
| var maxWidth = $(window).width(); | |
| var tempWidth = temp.width(); |
This file contains hidden or 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
| var target = "happybirthday"; | |
| var r=function(x,r){var s=String,a=Array,b=s.prototype.charCodeAt,c=b.call("a",0);return s.fromCharCode.apply(s,a.prototype.map.call(x,function(v){return c+((b.call(v,0)+r)%26);}))}; | |
| for(var i=0;i<26;i++) console.log(r(target, i)); |
This file contains hidden or 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(f,l,m){ | |
| f(function(){ | |
| l.hash=m.random().toString(36); | |
| f(arguments.callee, 100); | |
| }) | |
| })(setTimeout, location, Math); |
This file contains hidden or 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
| // usage: | |
| // | |
| // search(encodeURIComponent) | |
| // | |
| // or Other encode / escape function | |
| // | |
| function search(encodeFunc) { | |
| for(var i=0; i<65536; i++) { |
This file contains hidden or 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
| $.when(naga_______i_shori()) | |
| .done(function() { | |
| console.log("OK!"); | |
| }).fail(function() { | |
| console.log("fail..."); | |
| }).always(function() { | |
| console.log("way"); | |
OlderNewer