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
async = require 'async' | |
Shred = require 'shred' | |
shred = new Shred() | |
_ = require 'underscore' | |
mysql = require 'mysql' | |
#Rel = require 'rel' | |
#pics = new Rel.Table 'mp_gallery' | |
conn = mysql.createConnection('mysql://root:password@127.0.0.1:3306/moefou') |
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
var https=require('https'); | |
var qs=require('querystring'); | |
var utils=require('./utils'); | |
Wind=require('wind'); | |
Task=Wind.Async.Task; | |
token={ | |
authorizationAsync:eval(Wind.compile('async',function(second){ | |
if(second){ | |
var data={ |
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
module.exports = (grunt)-> | |
grunt.initConfig | |
clean:['build'] | |
coffee: | |
app: | |
files: | |
'build/app.js':'app.coffee' | |
static: | |
expand:true | |
cwd:'static/js/' |
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
request = require 'request' | |
_ = require 'underscore' | |
{E} = require './error' | |
{make_esc} = require 'iced-error' | |
client_id = '545553600905.apps.googleusercontent.com' | |
client_secret = 'q-tA1vMJhkoeoucVH7NfvryX' | |
red_uri = 'urn:ietf:wg:oauth:2.0:oob' | |
endpoint = 'https://www.googleapis.com/rpc?prettyPrint=false' |
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
import android.content.ContentResolver; | |
import android.database.Cursor; | |
import android.net.Uri; | |
import android.util.Log; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map; | |
import java.util.Map.Entry; | |
import java.util.Set; | |
import java.util.TreeMap; |
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
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. | |
// Jad home page: http://www.kpdus.com/jad.html | |
// Decompiler options: packimports(3) | |
import android.content.ContentResolver; | |
import android.util.Base64; | |
import android.util.Log; | |
import java.io.UnsupportedEncodingException; | |
import java.math.BigInteger; | |
import java.security.*; |
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
@echo off | |
set /p src=请拖入来源BDMV文件夹并ENTER | |
set /p dest=请拖入目标BDMV文件夹并ENTER | |
%dest:*"=set "dest=% | |
echo @echo off>output.bat | |
for /r %src%\STREAM %%i in (*.m2ts) do echo mklink /H "%dest%\STREAM\%%~ni%%~xi" "%%i">>output.bat | |
echo echo.>>output.bat | |
echo echo Done.>>output.bat | |
echo echo.>>output.bat | |
echo @echo off>output_del.bat |
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
g = gate.create() | |
background.set '001d.jpg',g.latch() | |
role.set 1,'X-sad.png','right',g.latch() | |
role.say 1,'没有什么意义了……',g.latch() | |
await g.await defer() | |
await role.say 0,'X,一个可爱的黄发女孩,满脸泪水、一个人跌跌撞撞的走在崎岖的山路上。',defer() | |
await role.say 0,'这座山可以说是繁华城市里极度冷清的一角;无论过去还是将来,可能只会留下这一个人的脚印。也有可能以后不会再留下任何人的脚印了。',defer() | |
await role.say 0,'她手里握着一瓶写着苯巴比妥的白色药瓶,来到了一个破旧的寺庙前。四处长满了杂草、野花,时不时的还会有几只蜻蜓落在草叶上。她坐在不远处同样四周长满杂草的长凳上,抬起头,凝视着眼前这座古老的建筑。就在离长凳不远的地上,整整齐齐的插满了一排雪糕棍;每一根上面都记录着各种各样的东西,同学的生日、遇到的好笑的、悲伤的事情、小小的涂鸦……',defer() | |
g = gate.create() | |
role.set 1,'X-cry.png','right',g.latch() |
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
ddns-update-style ad-hoc; | |
default-lease-time 600; | |
max-lease-time 7200; | |
authoritative; | |
subnet 192.168.100.1 netmask 255.255.255.0 { | |
option subnet-mask 255.255.255.0; | |
option broadcast-address 192.168.100.255; | |
option routers 192.168.100.233; | |
option domain-name-servers 114.114.114.114; | |
range 192.168.100.1 192.168.100.140; |
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== | |
// | |
//Displayable Name of your script | |
// @name My First Script | |
// | |
// brief description | |
// @description Alerts Hello | |
// | |
//URI (preferably your own site, so browser can avert naming collisions | |
// @namespace http://www.htdocscat.me |