Skip to content

Instantly share code, notes, and snippets.

🌴
On vacation

thinkhy thinkhy

🌴
On vacation
Block or report user

Report or block thinkhy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:19abb0c5d0de887992d086f030667198
[2019-11-27T09:27:07.046872000Z TRACE mio::sys::unix::kqueue] registering; token=Token(18446744073709551615); interests=Readable
[2019-11-27T09:27:07.047121000Z TRACE mio::poll] registering with poller
[2019-11-27T09:27:07.047146000Z TRACE mio::sys::unix::kqueue] registering; token=Token(0); interests=Readable
[2019-11-27T09:27:07.075663000Z INFO http3_client] connecting to 127.0.0.1:4433 from 127.0.0.1:57689with scid 11f3609530bd0ba68ad74e4882855455005e13dd
[2019-11-27T09:27:07.075947000Z TRACE quiche::tls] 11f3609530bd0ba68ad74e4882855455005e13dd tls writemessage lvl=Initial len=512
[2019-11-27T09:27:07.076042000Z TRACE quiche] 11f3609530bd0ba68ad74e4882855455005e13dd tx pkt Initialversion=babababa dcid=688a56ec5134560e9813fb2f61e32c53 scid=11f3609530bd0ba68ad74e4882855455005e13dd len=1153 pn=0
[2019-11-27T09:27:07.076101000Z TRACE quiche] 11f3609530bd0ba68ad74e4882855455005e13dd tx frm CRYPTO off=0 len=512
[2019-11-27T09:27:07.076132000Z TRACE quiche] 11f3609530bd0ba68ad74e4882855455005e13dd tx frm PADDIN
View pystate_course.md
@thinkhy
thinkhy / sift.py
Created Mar 7, 2017
Using SIFT algo to automation Android APP
View sift.py
#!/usr/bin/python
# coding=utf-8
from __future__ import print_function
import cv2
import scipy as sp
import os
import subprocess
import time
globalStartupInfo = subprocess.STARTUPINFO()
@thinkhy
thinkhy / store_pcap.go
Last active Aug 20, 2019
Read pcap file generated by tcpdump and store ip packet info to InfluxDB
View store_pcap.go
package main
/* file: readPcap.go
* brief: read pcap file with gopacket package
* date: 2017-02-20
* creator: thinkhy
* reference: http://www.devdungeon.com/content/packet-capture-injection-and-analysis-gopacket
* TODO:
* 2017-02-22 Extract URL from HTTP packet
*/
@thinkhy
thinkhy / ml_test_score.md
Last active Feb 12, 2017
[翻译]What's your ML Test Score? A rubric for ML production systems
@thinkhy
thinkhy / docker-compose-guide.md
Last active Jan 16, 2017
docker-compose的使用指南与常见问题总结
View docker-compose-guide.md

docker-compose的使用指南与常见问题总结

简介

compose是用来在docker中定义和运行复杂应用的常用工具,它通过在一个yml文件中定义多个容器的配置参数,只用一行命令就可以让容器环境运行就绪。 compose实际上就是以前的docker第三方工具fig,docke公司14年收购了fig团队之后并将其改名为docker-compose。

优势

@thinkhy
thinkhy / http-benchmark.md
Created Jan 6, 2017 — forked from denji/http-benchmark.md
HTTP(S) Benchmark Tools / Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)
View http-benchmark.md

Tools

Located in alphabetical order (not prefer)

  • ab – slow and single threaded, written in C
  • apib – most of the features of ApacheBench (ab), also designed as a more modern replacement, written in C
  • baloo – Expressive end-to-end HTTP API testing made easy, written in Go (golang)
  • bombardier – Fast crossplatform HTTP benchmarking tool, written in Go (golang)
  • curl-loader – performance loading of various application services and traffic generation, written in C
  • fasthttploader – benchmark (kinda ab) with autoadjustment and charts based on fasthttp library, write in Go (golang)
@thinkhy
thinkhy / links.md
Created Oct 12, 2016 — forked from g0t4/links.md
Starting Point Files for Jenkins2 Getting Started course
View links.md
View fork.go
package main
import (
"syscall"
"os"
"time"
"fmt"
)
func daemon (nochdir, noclose int) int {
@thinkhy
thinkhy / replay.go
Created Dec 17, 2015
Replay MINIIST log
View replay.go
package main
import (
"fmt"
"time"
"log"
"os"
"os/exec"
"strings"
"bufio"
You can’t perform that action at this time.