如twitter.com:443 u 23 517 d 154 u 51 53 98 809 d 44
从左向右看
首先twitter.com:443
表示访问twitter.com的443端口,即https
上传方向(以字母u表示),先发送23字节,再发517字节,
然后下载方向(以字母d表示),收到154字节,
接着上传方向再上传51、53、98、809字节,
最后下载方向收到44字节后,连接断开。
一行内容即为一次连接的记录
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
dp minDist minRadius maxRadius | |
circle 2 0.5 700 150 220 | |
100 200 | |
20 100 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
myKB.tgds = { | |
TGD ( { Atom ( "U" , { "x" , "y" , "z" } ) } , { Atom ( "T" , { "x" , "y" , "z" } ) } ), | |
TGD ( { Atom ( "R" , { "x" , "y" } ) , Atom ( "S" , { "x" , "z" , "w" } ) } , { Atom ( "T" , { "x", "y", "z" } ) , Atom ( "V" , { "w", "x" } ) } ) | |
}; | |
myKB.src.localI = { | |
Tuple ( "R", { Cell(CONST, "1") , Cell(CONST, "1") } ), | |
Tuple ( "R", { Cell(CONST, "3") , Cell(CONST, "2") } ), | |
Tuple ( "S", { Cell(CONST, "1") , Cell(CONST, "1") , Cell(CONST, "4") } ), | |
Tuple ( "S", { Cell(CONST, "1") , Cell(CONST, "2") , Cell(CONST, "4") } ), |
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
require 'net/http' | |
require 'json' | |
def request | |
Net::HTTP.get(URI('http://socialclub.rockstargames.com/games/gtav/ps4/bawsaq')) | |
uri = URI('http://socialclub.rockstargames.com/games/gtav/ajax/stockdetail') | |
http = Net::HTTP.new(uri.host, uri.port) | |
req = Net::HTTP::Get.new(uri) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 re | |
stopwords = codecs.open('stopwords.txt', 'r', 'utf-8').read() | |
stopwords = re.findall(r"[\w']+", stopwords) |
flappy learn 说明
https://xviniette.github.io/FlappyLearning/
input 2 = (nowy, nxtcentery) (0.xx) hidden 2 output 1 重组过程 随机选择两方+随机突变(rate = 0.2)
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 Leap = require("leapjs/lib/index") | |
var net = require('net'); | |
var JsonSocket = require('json-socket'); | |
/* | |
var WebSocketServer = require('ws').Server | |
, wss = new WebSocketServer({ port: 2333 }); | |
*/ | |
var mSocket; | |
var started = true; |