Skip to content

Instantly share code, notes, and snippets.

View eisterman's full-sized avatar

Federico Pasqua eisterman

View GitHub Profile
@Zorgatone
Zorgatone / http-fetch.zig
Last active November 13, 2025 03:06
Zig 0.15.1 http-client GET example
const builtin = @import("builtin");
const std = @import("std");
// This version won't read/print headers, just the response
pub fn main() !void {
var writer_buffer: [8 * 1024]u8 = undefined;
var redirect_buffer: [8 * 1024]u8 = undefined;
var writer = std.fs.File.stdout().writer(&writer_buffer);
@AbstractUmbra
AbstractUmbra / 00-deprecation.md
Last active October 26, 2025 12:01
discord.py 2.0+ slash command info and examples

This gist has now been 'deprecated' and has moved...

... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.

@kassane
kassane / wireguard-mininet.py
Created June 19, 2021 14:58
Mininet - Wireguard topology
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
"""
About: This example demonstrates how to setup a Wireguard network tunnel between two hosts.
----
# Display the status of all Wireguard interfaces
wg show
@TG9541
TG9541 / Openocd.md
Last active June 10, 2024 16:39
Test run with stm8-gdb and openmcd

Experiments with OPENOCD and GDB for the STM8

Attempts to support the STM8 with OPENOCD, a standard hardware debugger front-end, and GDB, the GNU Debugger, was a long while in the making. Both OPENOCD and GDB are powerful tools that are often packaged by tool vendors (integrated in a turnkey IDE) or independently used by a community advanced users. Usuage examples for µCs often barely scratch the surface, don't mention testing procedures, modes of operation, or which features are supported.

Here is a list of features that worked so far:

  • flashing a binary in ELF format to an STM8S003F3P6
  • running, interrupting and continuing execution
  • setting breakpoints
  • reading registers
@Hakky54
Hakky54 / openssl_commands.md
Last active December 9, 2025 10:34 — forked from p3t3r67x0/openssl_commands.md
OpenSSL Cheat Sheet

OpenSSL Cheat Sheet 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl