まっぴーさんが発言した(に向けて発言された)、迷セリフまとめです。
URL: https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q13149033688
汎用性: 高い
その他: ありえないことはありえない。。。

| // ==UserScript== | |
| // @name ユーザースクリプトの名前をここに入力 | |
| // @namespace http://your.homepage/ | |
| // @version 0.1 | |
| // @description enter something useful | |
| // @author あなたの名前をここに | |
| // @match http://www.want_to_match-url.com/* | |
| // @run-at document-start | |
| // @grant none | |
| // ==/UserScript== |
| <?php | |
| $getURLParam = function($input,$method=''){ | |
| if(!is_array($input)) return []; | |
| $info = []; | |
| foreach($input as $key => $val){ | |
| unset($_param); | |
| unset($_key); | |
| unset($_type); | |
| unset($_def); |
| $(function() { | |
| // 揺らしアニメーション管理用のフラグ変数 | |
| var waitShake = false; | |
| $("#syaro_pyonpyon").on({ | |
| "mouseover": function() { | |
| // マウスが上に乗ったら、揺らしアニメーションを強制的に中断して | |
| // バウンドアニメーションに切り替えていく | |
| $(this).removeClass("shake") | |
| .addClass("animated bounce"); |
まっぴーさんが発言した(に向けて発言された)、迷セリフまとめです。
URL: https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q13149033688
汎用性: 高い
その他: ありえないことはありえない。。。

| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>bug component</title> | |
| <script src="js/vue.js"></script> | |
| </head> | |
| <body> | |
| <h1>selectタグだと中に入らない</h1> |
| class Util{ | |
| static createPromiseContainer(){ | |
| return {resolve:null,reject:null,_resolved:[]}; | |
| } | |
| static createPromiseCallback(callback,promiseContainer){ | |
| return (...args)=>{ | |
| var isFirst = true; | |
| for(var res of callback(...args)){ | |
| if(typeof(res)==="undefined"){ |
| !function(){ | |
| // 多重実行防止 | |
| if(!window.GAO_WATCH_USA_AUTO_PLAY) window.GAO_WATCH_USA_AUTO_PLAY = {}; | |
| else return; | |
| // Game.Processをオーバーライド | |
| var _GameProcess = Game.Process; | |
| window.Game.Process = function(){ | |
| // 基底メソッドの実行 | |
| _GameProcess.apply(this,arguments); |
| var _ = GaoFunctional(); | |
| var input = "114514"; | |
| var res = input[_.count](); | |
| console.log(res); // 6 | |
| var input2 = [1,1,4,5,1,4]; | |
| var res2 = input2[_.count]((x)=>x===1); | |
| console.log(res2); // 3 |
| (function(){ | |
| var i,flag,res,times = 1000000; | |
| console.time("rand"); | |
| res = 0; | |
| for(i=0;i<times;++i){ | |
| flag = ["","true"][Math.random()*2|0]; | |
| if(flag){ | |
| res += Math.random(); | |
| } |
| const fs = require("fs"); | |
| //this.clearのあとにこの関数を呼ぶだけ | |
| await this.clear("hoge/fuga"); | |
| await checkDelete("hoge/fuga"); | |
| async function checkDelete(path){ | |
| return new Promise(function check(resolve,reject){ | |
| fs.stat(path,(err,stats)=>{ | |
| if(!err){ |