Skip to content

Instantly share code, notes, and snippets.

Xiaokang Wang xiaokangwang

Block or report user

Report or block xiaokangwang

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
xiaokangwang / rawudp.go
Created May 23, 2018 — forked from chrisnc/rawudp.go
constructing ip/udp packets in go
View rawudp.go
package main
import (
xiaokangwang /
Last active May 24, 2019 — forked from zhy0/
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
# Thanks to
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
apt-get install -y unzip make expect # NDK stuff
xiaokangwang / sortR.awk
Created Sep 21, 2017
Sort Cite with Year It was written
View sortR.awk
function SortByYear(i1, v1, i2, v2, l, r) {
Year1=match(v1, /20([0-9]){2}/, year)
View index.html
<div id="paint">
<canvas id="myCanvas"></canvas>
<div class="floatbtn">
<a class="btn-floating btn-large waves-effect waves-light blue">
<i class="material-icons">home</i>
xiaokangwang / caln.go
Created Mar 5, 2017
Convert Calander formart, from CUEB's version to a Google Calander importable formart
View caln.go
package main
import (
View in.json
"log" : {
"access": "",
"error": "",
"loglevel": "info"
"inbound": {
"port": 10086,
"protocol": "vmess",
"settings": {
// ==UserScript==
// @name fuck
// @namespace
// @include*
// @version 1
// @grant none
// ==/UserScript==
xiaokangwang / main.go
Created Mar 8, 2015
Newton's method for sqrt()
View main.go
package main
import "fmt"
func main() {
i := 1
var sqr, x, cm float64
sqr = 16
View jsbin.hoqay.css
#myCanvas {
border: 1px solid black;
xiaokangwang /
Last active Jan 2, 2016
English Chinese
Subscriptions 订阅
Label 标签
Stream 节点流
peer 节点
public key 公匙
Inventory lookups 同步请求
Address 地址
Bitmessage 比特信
You can’t perform that action at this time.