#示例地图数据 { "autoplayBgm":false,"autoplayBgs":false,"battleback1Name":"","battleback2Name":"","bgm":{"name":"","pan":0,"pitch":100,"volume":90},"bgs":{"name":"","pan":0,"pitch":100,"volume":90},"disableDashing":false,"displayName":"","encounterList":[],"encounterStep":30,"height":13,"note":"","parallaxLoopX":false,"parallaxLoopY":false,"parallaxName":"","parallaxShow":true,"parallaxSx":0,"parallaxSy":0,"scrollType":0,"specifyBattleback":false,"tilesetId":1,"width":17, "data":[2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816,2816
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
正确的姿势是 | |
protoc --go_out=plugins=grpc:. *.proto |
This file has been truncated, but you can view the full file.
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
../eyyxo.torrent: | |
Name: Hacked Team | |
Size: 415768052618 (387G) | |
Announce: udp://coppersurfer.tk:6969/announce | |
Files: | |
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa001.2011 Royal.xls 59392 (58K) | |
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa002.2011 Royal.xls 59392 (58K) |
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
$.getJSON("http://member.bilibili.com/message.do?act=notify_list&page=1") | |
.done(function(data){ | |
var maxPage = data.numPages; | |
for(var page = 1; page <= maxPage; page++){ | |
$.getJSON("http://member.bilibili.com/message.do?act=notify_list&page=" + page) | |
.done(function(d){ | |
for(var j in d){ | |
if(!$.isNumeric(j)){ | |
continue; | |
} |
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
// ==UserScript== | |
// @name shit bilibili | |
// @namespace http://blog.hcg.im/ | |
// @version 0.2 | |
// @description enter something useful | |
// @match http://www.bilibili.com/video/* | |
// @copyright 2015+, ReitsukiSion | |
// ==/UserScript== | |
(function(){ |
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
# 一周的第一个星期 6 | |
if [ $(date +%d) -gt 7 ] || [ $(date +%w) -neq 6 ] | |
then | |
echo 'shit!' | |
exit | |
fi |
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
<?php | |
$domainsStr = <<<DOMAIN | |
twitter.com | |
facebook.com | |
instagram.com | |
youtube.com | |
google.com | |
ytimg.com | |
DOMAIN; |
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
// ==UserScript== | |
// @name g.Hentai.com Thumb | |
// @namespace http://9.co/ | |
// @version 0.2 | |
// @description g.Hentai.com Thumb | |
// @match http://g.e-hentai.org/* | |
// @match http://exhentai.org/* | |
// @exclude http://g.e-hentai.org/g/* | |
// @exclude http://exhentai.org/g/* | |
// @copyright 2012+, sion |
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
#### 以下是HTTP PROXY的实现 | |
net = require 'net' | |
localPort = 8011 | |
findBodyStartPos = (buffer)-> | |
length = buffer.length | |
for index in [0..buffer.length] | |
# http header end \r\n\r\n pos | |
return index+4 if buffer[index] == 0x0d and buffer[index+1] == 0x0a and buffer[index+2] == 0x0d and buffer[index+3] == 0x0a | |
return -1 # not found |