Skip to content

Instantly share code, notes, and snippets.

View maheshpalamuttath's full-sized avatar

Mahesh Palamuttath maheshpalamuttath

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Shinobi Dynamic Wall Pro</title>
<style>
html,
body {
#!/bin/bash
# =====================================================
# Xubuntu Minimal Post-Install Script
# Author: Mahesh Palamuttath
# Description: Standard setup for Xubuntu workstations
# =====================================================
set -e
#!/bin/bash
# Base Dropbox directory for current user
DROPBOX_DIR="$HOME/Dropbox"
# Backup directories
KOHA_BACKUP_DIR="$DROPBOX_DIR/koha-backups"
LIBINOUT_BACKUP_DIR="$DROPBOX_DIR/libinout-backups"
#!/bin/bash
# ==============================
# Jellyfin Backup & Restore Script for CasaOS
# ==============================
MOUNT_POINT="/mnt/usb" # Where USB will be mounted
JELLYFIN_APP="/DATA/AppData/jellyfin"
MEDIA_FOLDER="/DATA/Media"
NOW=$(date +%Y-%m-%d_%H-%M-%S)
#!/bin/bash
# Exit on any error
set -e
echo "Installing Syncthing (Stable) on Debian/Ubuntu..."
# Create keyrings directory if it doesn't exist
sudo mkdir -p /etc/apt/keyrings
#!/usr/bin/env bash
# Step 1: Ensure required packages are installed
sudo apt update
sudo apt install -y curl apt-transport-https lsb-release
function switchSource() {
# Get current Ubuntu codename (e.g., jammy, focal, bionic)
codename=$(lsb_release -cs)
# Define a list of potential mirrors
SELECT
bi.biblioitemnumber AS `020$a`,
bi.isbn AS `021$a`,
IFNULL(ExtractValue(bm.metadata, '//datafield[@tag="082"]/subfield[@code="a"]'), '') AS `082$a`,
IFNULL(ExtractValue(bm.metadata, '//datafield[@tag="082"]/subfield[@code="b"]'), '') AS `082$b`,
b.author AS `100$a`,
CONCAT(b.title, ' ', IFNULL(ExtractValue(bm.metadata, '//datafield[@tag="245"]/subfield[@code="b"]'), '')) AS `245$a`,
bi.editionstatement AS `250$a`,
bi.place AS `260$a`,
bi.publishercode AS `260$b`,
#!/bin/bash
# Koha Multi-Instance Setup Script
# Author: Mahesh Palamuttath
# Website: https://maheshpalamuttath.info/
# Description: Automates the creation of multiple Koha instances with dynamic ports and custom naming.
# Check if script is run as root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." >&2
exit 1
Step 1: Move to the directory
cd Downloads
Step 2: Download RustDesk
Download the RustDesk .deb package for your system using the following link:
wget https://github.com/rustdesk/rustdesk/releases/download/1.3.3/rustdesk-1.3.3-x86_64.deb