Skip to content

Instantly share code, notes, and snippets.

Dylan Wang Ehekatl

View GitHub Profile
@Ehekatl
Ehekatl / test-maas-enlistment.sh
Created Jan 22, 2019 — forked from mpontillo/test-maas-enlistment.sh
Script to fetch the default TFTP configuration from MAAS and fetch the cloud-config URL.
View test-maas-enlistment.sh
#!/bin/bash -e
TMPDIR="$(mktemp -d)"
function cleanup() {
rm -rf "$TMPDIR"
}
trap cleanup EXIT
@Ehekatl
Ehekatl / netpps.sh
Created Jun 19, 2018 — forked from joemiller/netpps.sh
shell: quick linux scripts for showing network bandwidth or packets-per-second
View netpps.sh
#!/bin/bash
if [ -z "$1" ]; then
echo
echo usage: $0 network-interface
echo
echo e.g. $0 eth0
echo
echo shows packets-per-second
View ecDSA
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJeDmpd/4DS904L+mIF0IbxJ0O1yriX5JR0U7zOqYQ3s hyuwang@UNDEFINED
View server.json
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 443,
"protocol": "vmess",
View client.json
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 1080,
"protocol": "http",
@Ehekatl
Ehekatl / Dockerfile
Created Dec 18, 2016
git2go static compile environment on Amazon Linux with docker
View Dockerfile
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 \
View client.json
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 1080,
"protocol": "http",
@Ehekatl
Ehekatl / packer.log
Created Aug 8, 2016
packer build log
View packer.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
View keybase.md

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
You can’t perform that action at this time.