Skip to content

Instantly share code, notes, and snippets.

View tomato-tom's full-sized avatar

とまと tomato-tom

  • Japan
View GitHub Profile
@hakerdefo
hakerdefo / sources.list
Last active March 30, 2025 01:04
Ubuntu 22.04 LTS (Jammy Jellyfish) complete sources.list
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
@grgr-dkrk
grgr-dkrk / gist:99d9fb77f592f8a23a8f1cfff0d5afe2
Last active June 17, 2024 00:30
LINUX で動かしながら学ぶ TCP/IP ネットワーク入門(Kindle Unlimited のやつ)

メモ

linuxで動かしながら学ぶtcp/ipネットワーク入門(https://www.amazon.co.jp/dp/B085BG8CH5) のコードを macOS Big Sur(Intel) + Docker で動かすためのメモ

Docker

※ privileged がないとあとで netns の追加ができない

docker run -it -d --privileged --name tcpip ubuntu:20.04
@ArtBIT
ArtBIT / GRUB_INIT_TUNE.md
Last active July 3, 2025 10:24
A collection of GRUB init tunes
@dpino
dpino / ns-inet.sh
Last active May 13, 2025 10:00
Setup a network namespace with Internet access
#!/usr/bin/env bash
# set -x
if [[ $EUID -ne 0 ]]; then
echo "You must be root to run this script"
exit 1
fi
# Returns all available interfaces, except "lo" and "veth*".