Skip to content

Instantly share code, notes, and snippets.

@Bijman
Bijman / apply.sh
Last active February 16, 2025 19:26
SRB2 - Shadow+ patch script (Linux)
#!/bin/sh
set -e
# Shellscript written in POSIX sh by Bijman. Put this script to extracted CL_ShadowPlus Patcher folder and run it from there.
# Check for required commands in relative paths
check_command() {
if [ -z "$(command -v "$1")" ]; then
echo "Error: Required command '$1' not found or not executable." >&2
exit 1
@Bijman
Bijman / megafetch.sh
Last active March 20, 2022 16:55 — forked from zanculmarktum/megafetch.sh
Get download url from mega.nz
#!/bin/bash
# Copyright 2018, 2019, 2020 Azure Zanculmarktum
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.