Skip to content

Instantly share code, notes, and snippets.

View Ehekatl's full-sized avatar

Dylan Wang Ehekatl

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ehekatl on github.
  • I am hyuwang (https://keybase.io/hyuwang) on keybase.
  • I have a public key ASC1soWK6digJzN77B1UK4WyU9gMZLdJsHs_SuwMl_atT go
@Ehekatl
Ehekatl / packer.log
Created August 8, 2016 03:57
packer build log
PACKER_LOG=1 AWS_PROFILE=cn packer build app_cn.json
2016/08/08 11:54:34 [INFO] Packer version: 0.10.1
2016/08/08 11:54:34 Packer Target OS/Arch: linux amd64
2016/08/08 11:54:34 Built with Go Version: go1.6.2
2016/08/08 11:54:34 Detected home directory from env var: /home/hyuwang
2016/08/08 11:54:34 Using internal plugin for amazon-ebs
2016/08/08 11:54:34 Using internal plugin for virtualbox-ovf
2016/08/08 11:54:34 Using internal plugin for amazon-instance
2016/08/08 11:54:34 Using internal plugin for qemu
2016/08/08 11:54:34 Using internal plugin for googlecompute
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 1080,
"protocol": "http",
@Ehekatl
Ehekatl / Dockerfile
Created December 18, 2016 12:37
git2go static compile environment on Amazon Linux with docker
FROM lambdalinux/baseimage-amzn:latest
CMD ["/sbin/my_init"]
RUN yum update -y && yum install -y yum-plugin-ovl && yum install -y \
gcc \
make \
cmake \
git \
libcurl-devel \
@Ehekatl
Ehekatl / client.json
Created December 30, 2016 08:47
v2ray client
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 1080,
"protocol": "http",
@Ehekatl
Ehekatl / server.json
Created December 30, 2016 08:49
v2ray server
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 443,
"protocol": "vmess",
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJeDmpd/4DS904L+mIF0IbxJ0O1yriX5JR0U7zOqYQ3s hyuwang@UNDEFINED
@Ehekatl
Ehekatl / netpps.sh
Created June 19, 2018 11:58 — forked from joemiller/netpps.sh
shell: quick linux scripts for showing network bandwidth or packets-per-second
#!/bin/bash
if [ -z "$1" ]; then
echo
echo usage: $0 network-interface
echo
echo e.g. $0 eth0
echo
echo shows packets-per-second
@Ehekatl
Ehekatl / test-maas-enlistment.sh
Created January 22, 2019 06:26 — forked from mpontillo/test-maas-enlistment.sh
Script to fetch the default TFTP configuration from MAAS and fetch the cloud-config URL.
#!/bin/bash -e
TMPDIR="$(mktemp -d)"
function cleanup() {
rm -rf "$TMPDIR"
}
trap cleanup EXIT