Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
function base_config () {
# Add 'wlpc' user to sudoers with no password needed. NOT SECURE
echo -en "Updating sudoers...\n"
bash -c 'echo "wlpc ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers.d/20-wlpc >/dev/null'
# Generate user SSH key
echo -en "Generating user SSH key...\n"
bash -c 'ssh-keygen -q -t rsa -P "" -f ~/.ssh/id_rsa 2>/dev/null <<< y >/dev/null'
# Make base projects directory
#!/usr/bin/env python3
import socket
import re
import sys
import os
def get_hwaddr() -> str:
addr = None

Keybase proof

I hereby claim:

  • I am radzima on github.
  • I am radzima (https://keybase.io/radzima) on keybase.
  • I have a public key ASDTcV533yusMh0u2RNtDFcKRWTl3oehvx4DG-JkS7BL3wo

To claim this, I am signing this object: