Skip to content

Instantly share code, notes, and snippets.

makcuk / gist:7016b96ae4e20db71ecc32e67141e8d9
Created Oct 30, 2020
VIA GA-6VA7 motherboard USB header pinout
View gist:7016b96ae4e20db71ecc32e67141e8d9
That was hard to find and if you are playing with retro computing it can help
p0 +5V | 1 8 | GDN p1
p0 -D | 2 7 | +D p1
p0 +D | 3 6 | -D p1
p0 GND | 4 5 | +5V p1
Took standard 2xUSB header, cut key section and repin one side of connector reverse
makcuk / suntrio.conf
Created Dec 29, 2019
SAJ SunTrio fetch data using Telegraf
View suntrio.conf
## One or more URLs from which to read formatted metrics
urls = [
## Optional HTTP headers
headers = {"Authorization" = "Basic <auth_token_use_chrome_dev_tools_to_get_it>="}
data_format = "csv"
makcuk /
Created Jan 29, 2016
A simple python tun/tap udp tunnel example
# Simple linux tun/tap device example tunnel over udp
# create tap device with ip tuntap add device0 tap
# set ip address on it and run tap-linux on that device and set desitation ip
# run same on another node, changing dst ip to first node
import fcntl
import struct
import os
import socket
import threading
You can’t perform that action at this time.