Skip to content

Instantly share code, notes, and snippets.

View Ninja-mann07's full-sized avatar
🏠
Working from home

Ninja-mann Ninja-mann07

🏠
Working from home
View GitHub Profile
@Ninja-mann07
Ninja-mann07 / reserved_addresses.md
Created May 24, 2024 16:24 — forked from dwallraff/reserved_addresses.md
Tables of Reserved IP Addresses (blatantly stolen from https://en.wikipedia.org/wiki/Reserved_IP_addresses)

IPv4 Reserved IP Addresses

Address block (CIDR) Range Number of Addresses Scope Decsription
0.0.0.0/8 0.0.0.0–0.255.255.255 16,777,216 Software Current (local, "this") network
10.0.0.0/8 10.0.0.0–10.255.255.255 16,777,216 Private network Used for local communications within a private network
100.64.0.0/10 100.64.0.0–100.127.255.255 4,194,304 Private network IPv4 shared address space
127.0.0.0/8 127.0.0.0–127.255.255.255 16,777,216 Host Used for loopback addresses to the local host
@Ninja-mann07
Ninja-mann07 / every
Last active February 29, 2024 14:45 — forked from sorbits/every
Run «command» only every «number» time invoked
curl --header "X-GitHub-Api-Version:2022-11-28" https://api.github.com/zen#!/usr/bin/env bash
progname=$(basename $0)
version="1.0 (2014-08-17)"
step=2
function create_hash {
openssl dgst -sha1 -binary <<< "$1" | xxd -p
}