Skip to content

Instantly share code, notes, and snippets.

View rhilo's full-sized avatar

Christer Karlsen rhilo

View GitHub Profile
@rhilo
rhilo / index.html
Created July 27, 2023 21:35
Linux Distro Name Generator
<div class="wrapper">
<div class="output">
<span class="output"></span>
<button onclick="generate()">Generate</button>
</div>
</div>
[[ $G_DIETPI_VERSION_SUB == 2[78] && -w '/DietPi/dietpi/func/dietpi-banner' ]] && sed -i '/G_TERM_CLEAR$/s/$/ 2> \/dev\/null || printf "\\ec"/' /DietPi/dietpi/func/dietpi-banner
[[ $G_DIETPI_VERSION_SUB == 2[78] && $G_DISTRO == 4 && -w '/DietPi/dietpi/dietpi-software' ]] && sed -i '/always-show-logo/d' /DietPi/dietpi/dietpi-software
motd='welcome'
@rhilo
rhilo / mac-vendor.txt
Created December 22, 2019 14:17 — forked from aallan/mac-vendor.txt
List of MAC addresses with vendors identities
000000 Officially Xerox
000001 SuperLAN-2U
000002 BBN (was internal usage only, no longer used)
000003 XEROX CORPORATION
000004 XEROX CORPORATION
000005 XEROX CORPORATION
000006 XEROX CORPORATION
000007 XEROX CORPORATION
000008 XEROX CORPORATION
000009 powerpipes?
@rhilo
rhilo / byobuCommands
Created December 11, 2019 05:33 — forked from jshaw/byobuCommands
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window
@rhilo
rhilo / ssh-known-hosts-mgmt.sh
Created April 26, 2019 20:46 — forked from jaymecd/ssh-known-hosts-mgmt.sh
known_hosts management commands
# This is a short collection of tools that are useful for managing your
# known_hosts file. In this case, I'm using the '-f' flag to specify the
# global known_hosts file because I'll be adding many deploy users on this
# system. Simply omit the -f flag to operate on ~/.ssh/known_hosts
# Add entry for host
ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts
# Scan known hosts
ssh-keygen -f /etc/ssh/ssh_known_hosts -H -F github.com