As part of my on-going attempt to run my custom Linux environment from an ISO file to ease demonstration and reinstallation thereof, I found myself in need of an Artix Linux image that had two additional repositories available to it. Both of these are repositories put out by the project itself, here you can read about why they are not enabled by default and how to enable them in a fresh installation of Artix Linux. The reason this is necessary is that I need to install a package adding support for the Arch Linux repositories that was recently-ish moved to the Universe repo from Community, thus rendering my ISO
#!/bin/bash | |
##################################################################### | |
# Author: Thomas Leon Highbaugh # | |
# # | |
# Description: A script to replace spaces in file names with # | |
# underscores to ease terminal access and navigation # | |
# on Unix based systems. # | |
# # | |
# For those new to Unix-like shell scripts, and my # | |
# own later reference, I have fully annnotated the # |
#! /bin/bash | |
################################################################################################################################# | |
# DESCRIPTION: causes the system it is run on to consume 100% of its system resources through the recusive forking of a function | |
# that does nothing but will continue to fork itself in the background by calling itself. | |
################################################################################################################################## | |
# USE: crash the system it is executed on, forces the system to be restarted to resume use thereof | |
################################################################################################################################## | |
# WARNING: this is for informational purposes only, don't do stupid or illegal things with it unless willing to pay the karmic toll | |
# of using it. | |
############################################################################################################ |
If you are like me, you are not going to start paying some developer to package pieces of the Notion Enhancer Extension in their own extension since Notion Enhancer had stopped working.
Well you don't have thanks to a user script I just found that defeats the
means by which the extension had been blocked and must be how the alternatives
are able to provide a more limited set of features while desperately trying to
get you to upgrade to the pro
version to access those old features you knew
#!/bin/bash | |
# --------------------------------------------------- # | |
# --------------------------------------------------- # | |
# TODO add in other sizes' subdirectories | |
cd actions/scalable && for i in *.svg; do svgo -i "$i" --pretty --multipass; done && cd .. | |
cd apps/scalable && for i in *.svg; do svgo -i "$i" --pretty --multipass; done && cd .. | |
cd devices/scalable && for i in *.svg; do svgo -i "$i" --pretty --multipass; done && cd .. | |
cd emblems/scalable && for i in *.svg; do svgo -i "$i" --pretty --multipass; done && cd .. | |
cd mimetypes/scalable && for i in *.svg; do svgo -i "$i" --pretty --multipass; done && cd .. | |
cd places/scalable && for i in *.svg; do svgo -i "$i" --pretty --multipass; done && cd .. |
#!/bin/bash | |
# Author: Thomas Leon Highbaugh | |
# Description: Assuming you have the dependencies installed, | |
# this will convert your various OTF fonts to TTF than all your TTF fonts to WOFF, | |
# WOFF2 and EOT. This streamlines including fonts on websites, though consult with | |
# the font's license before using them for such! | |
# | |
# Note: for my own purposes, I have included the dependency installation commands that | |
# as they are found on archlinux's repositories and the AUR, adjust this to your own distro | |
# or comment them out otherwise you might have a bad time. |
For anyone curious in the future:
Yes, you can relatively easily install brave browser on void linux, if that is somehow a non-negotiable for you fear not. There are three methods that I am aware of:
-
Add this template file to your fork of
void-packages
locally and build the./xbps-src
package like any other. -
Use flatpak, which I need not explain since instructions are on the flathub listing itself. (Note: will be isolated from the system which can be a bit of a pain, especially using things like keepassxc)
#!/bin/bash | |
echo "Path to the directory you would like to copy the names of the files to clipboard from please" | |
read DIR | |
ls $DIR > /tmp/names.txt | |
xclip -sel clip /tmp/names.txt | |
rm /tmp/names.txt |