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 milkyway | |
// @namespace gyuque | |
// @include https://twitter.com/* | |
// @include http://twitter.com/* | |
// @version 2 | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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 autopoke | |
// @namespace gyuque | |
// @description あいさつ | |
// @include https://www.facebook.com/pokes* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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
// results from D3DXSHEvalDirection | |
var DirectXTestData1 = { | |
theta: 1.570795, | |
phi: 0.785398, | |
shvals: [ | |
0.282095, -0.345494, | |
0.000001, -0.345494, | |
0.546274, -0.000001, | |
-0.315392, -0.000001, |
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
CC = clang | |
OBJS = acyclic.bc aspect.bc class1.bc class2.bc cluster.bc compound.bc conc.bc decomp.bc dotinit.bc dotsplines.bc fastgr.bc flat.bc \ | |
mincross.bc position.bc rank.bc sameport.bc test-dot.bc | |
LIBS = -L ../common -lcommonll -L../graph -lgraphll -L../cdt -lcdtll -L../gvc -lgvcll -lm -L../pathplan -lpathplanll | |
INCLUDES = -I. -I.. -I../common -I../gvc -I../pathplan -I../cdt -I../graph | |
.SUFFIXES: .bc |
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 EvilRT | |
// @namespace gyuque | |
// @include https://plus.google.co* | |
// ==/UserScript== | |
/* | |
This code is available under dual licensing, the MIT license and the | |
DeNA License. | |
*/ |
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 EvilRT | |
// @namespace gyuque | |
// @include https://plus.google.co* | |
// ==/UserScript== | |
(function() { | |
function makeFunc(postBox) { | |
var btn = document.createElement("button"); | |
btn.innerHTML = "Blur"; |
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 NoNob | |
// @namespace gyuque | |
// @include http://* | |
// ==/UserScript== | |
(function(){ | |
var src = document.body.innerHTML; | |
if (src.match(/林[ ]*信行|MG[ ]*Siegler/i )) { | |
var ms = RegExp['$&']; |
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 distanceLL(x1, y1, x2, y2) | |
{ | |
var DEG2RAD = Math.PI / 180.0; | |
x1 *= DEG2RAD; | |
y1 *= DEG2RAD; | |
x2 *= DEG2RAD; | |
y2 *= DEG2RAD; | |
var dx = Math.abs(x2-x1); | |
var dy = Math.abs(y2-y1); | |
var phi = dy*0.5 + y1; |
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
require 'digest/sha1' | |
HANNYA_CHARS = [ | |
'観','菩','薩','行','深','般','若','波', | |
'羅','蜜','多','時','照','見','五','蘊', | |
'皆','空','度','苦','厄','舎','利','阿', | |
'不','異','即','是','想','心','経','如' | |
] | |
def hannya_sha1(src) | |
s = [] |
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
<div style="border-radius: 30px; background-color: #732; width: 100px; height: 40px"> |