Skip to content

Instantly share code, notes, and snippets.

Mapping the Internet, one router at a time.

Maxime Mouchet maxmouchet

Mapping the Internet, one router at a time.
View GitHub Profile
ruanbekker /
Last active Sep 26, 2022
Docker Container Logging using Promtail
talaviram /
Last active Aug 22, 2022
Simple Utility Script for allowing debug of hardened macOS apps.
#! /bin/bash
# Simple Utility Script for allowing debug of hardened macOS apps.
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off.
# Credit for idea goes to (McMartin):
# Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers.
# Please note:
# - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP.
# - Some hosts uses separate plug-in scanning or sandboxing.
# if that's the case, it's required to patch those (if needed) and attach debugger to them instead.
sdiama / althosting.txt
Last active Sep 16, 2022
A curated list of cheap "alternatives" to AWS, GCP, Azure hosting solutions
View althosting.txt
S3 Alternatives
View clickhouse-get-tables-size.sql
SELECT table,
formatReadableSize(sum(bytes)) as size,
min(min_date) as min_date,
max(max_date) as max_date
WHERE active
GROUP BY table
ndevenish / CMakeLists.txt
Last active May 2, 2022
Very simple "Getting started" boost-python CMakeLists.txt
View CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
# Find python and Boost - both are required dependencies
find_package(PythonLibs 2.7 REQUIRED)
find_package(Boost COMPONENTS python REQUIRED)
# Without this, any build libraries automatically have names "lib{x}.so"
# Add a shared module - modules are intended to be imported at runtime.
View antidote-shell.nix
{ pkgs ? import <nixpkgs> {}} :
with pkgs;
buildFHSUserEnv {
name = "antidote9";
targetPkgs = pkgs: (with pkgs; [
martijnvermaat /
Last active Sep 10, 2022
Installation of NixOS with encrypted root
MikeInnes / startup.jl
Last active Dec 14, 2021
Some useful macros for Julia
View startup.jl
# Repeat an operation n times, e.g.
# @dotimes 100 println("hi")
macro dotimes(n, body)
for i = 1:$(esc(n))