Skip to content

Instantly share code, notes, and snippets.

@brooksvb
brooksvb / Uptime-Kuma-Status-Page-Dark-Mode-High-Density-Tweaks.css
Last active June 17, 2024 17:45
These CSS tweaks are for higher density display for Uptime Kuma status pages in dark mode.
:root {
--min-item-width: 28ch;
--max-item-width: .5fr;
--grid-spacing: .25rem;
--item-padding: .25rem;
}
/* Let items expand on small screens */
@media (max-width: 600px) {
:root {
@bagaag
bagaag / change_path.py
Last active October 30, 2023 22:21
Update file system paths in Navidrome's database
# This script changes the path for a folder or file in Navidrome's database, allowing music files to be
# moved or renamed on the file system without losing associated metadata in Navidrome. Since the original
# version, it has been updatd to account for the media_file IDs, which are calculated from the path value
# and referenced in several tables.
#
# This script is based on Navidrome version 0.49.2. If you are running an older version of Navidrom, it
# will likely fail. If you are running a newer version of Navidrome, your mileage may vary.
#
# It does NOT make any modifications to the file system - only to the Navidrome database.
#
@aadhilpm
aadhilpm / Alf.io Setup & Manual Installation.md
Last active June 8, 2024 01:50
Alf.io Manual Installation.md
@sebastian-fahrenkrog
sebastian-fahrenkrog / submit.php
Created January 29, 2022 10:29
Mautic Anti Form Spam
<?php
/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
@daif
daif / erpnext-installer-v13.sh
Created April 18, 2021 01:27
ERPNext v13 installer
#!/bin/bash
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
##################################################################
@LinuxlinkedBD
LinuxlinkedBD / Jasmin_web_panel.sh
Created December 30, 2020 16:56
Jasmin_web_panel installation
If you need complete Jasmin Web Panel setup, ping me on below contacts:
Telegram: linuxlinked
email: linuxlinked@gmail.com
WhatsApp: +8801720903155
Skype:live:.cid.c0dc316b9d727d5e
YouTube: https://youtu.be/px4U_A4aFXY
########################################################################################################################################
sudo apt update
sudo apt upgrade -y
sudo apt-get install build-essential checkinstall

Prerequisites

  • EKS Fargate profiles for <fargate-profile-namespace>. Guide
  • EKS Fargate coredns profile for coredns pods to run (create profile for kube-system namespace, refer guide from previous step)
  • EFS CSI Driver installed, mount points set and pv.yaml created. Refer Guide
  • EKS ALB Controller, refer Guide.

Install Helm

Refer Helm Installation to install helm command

@martinhbramwell
martinhbramwell / ErpNextQikInstall_0.sh
Last active June 15, 2022 22:31
Install ERPNext on Ubuntu Bionic 18.04 LTS and Focal 20.04 LTS
#!/usr/bin/env bash
#
export MYPWD=""; # MySQL password
export ADMPWD=""; # Administrator password
export THESITE="my site"; # Site name
export USERCTX=".profile";
source ${HOME}/${USERCTX};
if [ "${BASH_SOURCE[0]}" -ef "$0" ]
@mrpeardotnet
mrpeardotnet / PVE-host-backup.md
Created December 17, 2019 18:03
Proxmox PVE Host Config Backup Script

Proxmox PVE Host Config Backup Script

This script can be used to backup essential configuration files from the Proxmox Virtual Enivronment (PVE) host.

The script will create backups using tar with specified backup prefix and date and time stamp in the file name. Script will also delete backups that are older then number of days specified.

Create backup script file

To create backup script that will be executed every day we can create backup script in /etc/cron.daily/ folder. We need to make it writeable by root (creator) only, but readable and executable by everyone:

touch /etc/cron.daily/pvehost-backup