Skip to content

Instantly share code, notes, and snippets.

View NotAlexNoyle's full-sized avatar
🌻
Breaking Stuff

Alex Noyle NotAlexNoyle

🌻
Breaking Stuff
View GitHub Profile
@NotAlexNoyle
NotAlexNoyle / fucktheskullofsystemd.sh
Last active September 6, 2023 05:35 — forked from artixnous/fucktheskullofsystemd.sh
Fast convert systemd Arch to OpenRC Artix (Fixed 2023)
#!/bin/bash
# nous,2019-2022
# How to use
# wget https://tiny.cc/fucksystemd
# chmod +x fucksystemd
# sudo ./fucksystemd
# Test Arch ISO installation:
# cfdisk /dev/sda
@NotAlexNoyle
NotAlexNoyle / openjdk-12-pi-3-guide.txt
Last active March 29, 2021 14:37
A step-by-step tutorial on installing OpenJDK 12 on a Raspberry Pi 3 running Raspbian
Do you use your Raspberry Pi 3 to develop Java applications using OpenJDK? You may have noticed that the latest version available on the default apt repositories is OpenJDK 9. This is because the armhf architecture is underserved by the Oracle open source community. Luckilly, you can build and run the latest version (OpenJDK 12.x) on your device. It will just take some time, given the minimal power of the Pi 3's CPU.
The first step is to boot into raspbian and launch the shell.
Next, we are going to create 1GB of swap space for the build.
Get the 'pv' package:
> sudo apt-get install pv
@NotAlexNoyle
NotAlexNoyle / cask-upgrade-workflow.txt
Created March 29, 2019 20:51
A simple workflow for updating applications from https://github.com/Homebrew/homebrew-cask
Command 1: caskchk - Check for updates
Command 2: caskupgrade - Install updates
To Install:
- Make sure you have homebrew installed, and some casks
- Install homebrew-cask-upgrade using: "brew tap buo/cask-upgrade" without the quotes
- Put everything in between the dotted lines into your ~/.bash_profile