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> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<script> | |
var akarin = {name: 'あかり'}; | |
var yryr = Object.create(null, { | |
standby: {value: standby}, | |
start: {get: getStart}, |
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.prototype.bind = Function.prototype.bind || function bind(thisArg) { | |
var method = this; | |
var args = Array.prototype.slice.call(arguments, 1); | |
return function bound() { | |
var _args = args.concat(Array.prototype.slice.call(arguments)); | |
if (!(this instanceof bound)) | |
return method.apply(thisArg, _args); | |
var __args = []; |
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> | |
<p> | |
Photoshop 24bit png: | |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUw |
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
arg.match(/(["'])(?:\\\1|(?!\1)[^])*\1|\S+/g).map(function(s) s.replace(/^(["']).*\1$/.test(s) ? /^["']|\\(["'\\])|["']$/g : /\\(["'\\])/g, '$1')) |
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
# ffmpeg -i "input" -vcodec libx264 -threads 0 -vpre best -crf 25 out.mp4 | |
coder=1 | |
trellis=2 | |
mbd=2 | |
sc_threshold=40 | |
flags=+loop | |
flags2=+bpyramid+wpred+mixed_refs+mbtree+dct8x8-fastpskip | |
partitions=+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 | |
i_qfactor=0.71 |
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
@echo off | |
:mainloop | |
if "%~1" == "" goto :eof | |
call :optimize "%~1" | |
shift | |
goto :mainloop | |
:optimize | |
set a=%~a1 |
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
// ==UserScript== | |
// @name checkmate.uc.js | |
// @description | |
// @include main | |
// @compatibility Firefox | |
// @namespace http://twitter.com/xulapp | |
// @author xulapp | |
// @license MIT License | |
// @version 2011/07/06 23:20 +09:00 | |
// ==/UserScript== |
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 WeakDict() { | |
var map = WeakMap(); | |
Object.defineProperty(map, '__dict__', { | |
value: Object.create(null), | |
writable: true, | |
configuable: true, | |
}); | |
map.__proto__ = WeakDict.prototype; | |
return map; | |
} |
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
@mixin box-shadow($arg) { | |
-moz-box-shadow: $arg; | |
-ms-box-shadow: $arg; | |
-o-box-shadow: $arg; | |
-webkit-box-shadow: $arg; | |
box-shadow: $arg; | |
} | |
div { | |
// Mixin box-shadow takes 1 argument but 2 were passed. (Sass::SyntaxError) |
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 id = (function() { | |
var uid = 0; | |
var dic = Object.create(null); | |
var map = WeakMap(); | |
return function id(obj) { | |
if (!(obj instanceof Object)) | |
return obj in dic ? dic[obj] : dic[obj] = uid++; | |
if (map.has(obj)) |