Skip to content

Instantly share code, notes, and snippets.

import argparse
import hexdump
import struct
import time
from greatfet import GreatFET
def reset(gf, reset_pin):
"""Pulse the reset pin low"""
View untrusted-lvl12-solution.js
* robotNav.js
* The green key is located in a slightly more
* complicated room. You'll need to get the robot
* past these obstacles.
function startLevel(map) {
// Hint: you can press R or 5 to "rest" and not move the
Konamiman / 0. WiFi for Ethernet-only devices via Raspberry
Last active Oct 17, 2021
How to use a Raspberry Pi to provide WiFi for Ethernet-only devices, and how to use stunnel as a SOCKS server ro provide indirect TLS support
View 0. WiFi for Ethernet-only devices via Raspberry

What's this?

I love MSX computers. I have developed quite a few things for them, including a TCP/IP stack and some networking applications. Some other MSX nerds have developed networking hardware, so boom! Here it is, Internet access from MSX, a 1980s 8 bit machine. How cool is that?

However there are a few issues that prevent us the MSX users to reach the absolute networking happiness:

  1. At the time of this writing, there isn't any solution for wireless Internet for MSX, only Ethernet hardware.
  2. InterNestor Lite, the TCP/IP stack for MSX, doesn't support TLS. It's not that the developer (me!) is too lazy to implement it, it's just that a Z80 can't handle the required encryption algorythms. Trust me, I tried.


vinzenz / dial-mysql-via-ssh.go
Created Nov 7, 2016
Using MySQL / MariaDB via SSH in Golang
View dial-mysql-via-ssh.go
package main
import (
denji /
Last active Nov 18, 2021 — forked from spikebike/client.go
Simple Golang HTTPS/TLS Examples

Moved to git repository:

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
grugq / gist:03167bed45e774551155
Last active Oct 27, 2021
operational pgp - draft
View gist:03167bed45e774551155

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

jordic / ssh.go
Created May 27, 2014
golang mysql throught a tunnel
View ssh.go
package main
// based on gist
// obro conexio ssh amb el server remot.
// tot el que envio al port local ho copio al port remote
// a traves de la conexio remota. Per tant he d'obrir un
// port a la maquina remota?