Skip to content

Instantly share code, notes, and snippets.

@mjcc30
mjcc30 / README.md
Last active March 7, 2024 01:27 — forked from dreamcat4/README.md
Void Linux on Raspberry Pi 4

Summary

download link: https://voidlinux.org/download/#arm%20platforms

I'm able to get a Void Linux image (32bit, raspberry pi 2 image) to boot on the raspberry pi 4. Currently, I can get it to boot and even handle upgrading via xbps-install -Su (networked over ethernet), however I can't seem to get it to see the internal wlan (wifi) device.

huge shout out to kodifies on [this reddit

@mjcc30
mjcc30 / create-pi-void-linux.sh
Last active March 6, 2024 21:28 — forked from vitezfh/create-pi.sh
Void Linux on the Raspberry Pi - SD-card install script for Headless use! Only tested on Zero W
#!/bin/bash
# This makes a readily bootable Voidlinux SD-Card for the raspberrypi
# Sets up some configs, making the Pi connect to wifi and sshd
#
# First boot up takes a very long time (5+ mins even) on a Zero W. Really give it time.
# For remedy on subsequent booting see:
# https://wiki.voidlinux.org/Raspberry_Pi#Enabling_hardware_RNG_device
# SD-Card:
device="/dev/sda"
@mjcc30
mjcc30 / ssh-connect.sh
Last active September 28, 2023 15:01
script to easily connect to kodekloud servers
#!/bin/bash
declare -A servers=(
["stapp01"]="tony:172.16.238.10:Ir0nM@n:App server 1"
["stapp02"]="steve:172.16.238.11:Am3ric@:App server 2"
["stapp03"]="banner:172.16.238.12:BigGr33n:App server 3"
["stlb01"]="loki:172.16.238.14:Mischi3f:HTTP LBR"
["stdb01"]="peter:172.16.239.10:Sp!dy:DB Server"
["ststor01"]="natasha:172.16.238.15:Bl@kW:Storage Server"
["stbkp01"]="clint:172.16.238.16:H@wk3y3:Backup Server"
["stmail01"]="groot:172.16.238.17:Gr00T123:Mail Server"
local config = {
-- Configure AstroNvim updates
updater = {
remote = "origin", -- remote to use
channel = "nightly", -- "stable" or "nightly"
version = "latest", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY)
branch = "main", -- branch name (NIGHTLY ONLY)
commit = nil, -- commit hash (NIGHTLY ONLY)
pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only)
skip_prompts = false, -- skip prompts about breaking changes
@mjcc30
mjcc30 / python-asdf.md
Last active April 29, 2022 09:58 — forked from rubencaro/README.md
Python installation guide

Python installation guide

These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.

Install asdf and its python plugin, then install Python

asdf lives in https://github.com/asdf-vm/asdf

Follow its installation instructions, which at the moment of writing were:

#!/bin/sh
#
echo " .__ __ .__ .__ ";
echo " |__| ____ _______/ |______ | | | | ";
echo " | |/ \ / ___/\ __\__ \ | | | | ";
echo " | | | \\___ \ | | / __ \| |_| |__ ";
echo " |__|___| /____ > |__| (____ /____/____/ ";
echo " \/ \/ \/ ";
echo " ";