Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Jumping Qu jumping

🎯
Focusing
  • Shanghai, China
View GitHub Profile
View History|-104b39d1|entries.json
{"version":1,"resource":"file:///Users/ron/Documents/Work/Github/WastedLand_Unity/Assets/Code/BPGames/BPMono/BPMainController.cs","entries":[{"id":"asRE.cs","timestamp":1653017452369},{"id":"1N1A.cs","timestamp":1653017490920},{"id":"ZcIB.cs","timestamp":1653017517999},{"id":"1sWI.cs","timestamp":1653018848615},{"id":"b2y6.cs","timestamp":1653033123307},{"id":"p0fY.cs","timestamp":1653033276547},{"id":"SurA.cs","timestamp":1653033301622},{"id":"8aiu.cs","timestamp":1653033472606},{"id":"4qe9.cs","timestamp":1653038794506},{"id":"m05x.cs","timestamp":1653038809996},{"id":"8dkr.cs","timestamp":1653038832762},{"id":"xxRB.cs","timestamp":1653039127616},{"id":"1IX0.cs","timestamp":1653040123957}]}
@eferro
eferro / _aws_golang_examples.md
Last active Oct 18, 2021
golang aws: examples
View _aws_golang_examples.md

AWS Golang SDK examples

@andrewmilson
andrewmilson / file-upload-multipart.go
Last active Sep 29, 2022
Golang multipart/form-data File Upload
View file-upload-multipart.go
package main
import (
"net/http"
"os"
"bytes"
"path"
"path/filepath"
"mime/multipart"
"io"
@einthusan
einthusan / go1.4arc65-ubuntu.sh
Last active Jul 10, 2018
Install Golang 1.4.1 on Ubuntu 14.04 AWS EC2
View go1.4arc65-ubuntu.sh
#!/bin/sh
# OPTIONAL FLAGS:
#
# -geoip true
# this will install maxmind geoip and auto update crontab file
#
# -cloudwatch true
# this will install aws cloud watch metrics and send them to aws dashboard
#
@ktheory
ktheory / dd.log
Last active Jul 20, 2022
EC2 EBS-SSD vs instance-store performance on an EBS-optimized m3.2xlarge
View dd.log
# /tmp/test = EBS-SSD
# /mnt/test = instance-store
root@ip-10-0-2-6:~# dd bs=1M count=256 if=/dev/zero of=/tmp/test
256+0 records in
256+0 records out
268435456 bytes (268 MB) copied, 3.26957 s, 82.1 MB/s
root@ip-10-0-2-6:~# dd bs=1M count=256 if=/dev/zero of=/tmp/test
256+0 records in
256+0 records out
@hwdsl2
hwdsl2 / .MOVED.md
Last active Sep 30, 2022
IPsec VPN Server Auto Setup Script for Ubuntu and Debian
View .MOVED.md
@bradmontgomery
bradmontgomery / dummy-web-server.py
Last active Sep 19, 2022
a minimal http server in python. Responds to GET, HEAD, POST requests, but will fail on anything else.
View dummy-web-server.py
#!/usr/bin/env python
"""
Very simple HTTP server in python (Updated for Python 3.7)
Usage:
./dummy-web-server.py -h
./dummy-web-server.py -l localhost -p 8000
Send a GET request:
@elubow
elubow / flume-site-agent.xml
Created Feb 3, 2011
Flume Configuration files
View flume-site-agent.xml
<!-- a1 (agent) -->
<configuration>
<property>
<name>flume.master.servers</name>
<value>$master_IP</value>
<description>This is the address for the config servers status server (http)</description>
</property>
<property>
<name>flume.collector.event.host</name>