Skip to content

Instantly share code, notes, and snippets.

View sonuame's full-sized avatar
😀
Life z good

Sunil sonuame

😀
Life z good
View GitHub Profile
@sonuame
sonuame / cybree-debian-upgrade-script.md
Created February 11, 2024 05:12 — forked from Bonveio/cybree-debian-upgrade-script.md
Cybree upgrade script (10 >> 11 >> 12 >> 13)

download script:

wget -O upgrade.sh 'https://gist.github.com/Bonveio/bb40b778b33ef06868c14c0240f25967/raw/upgrade.sh'

usage:

  • Debian 10 to 11 bash upgrade.sh 11
  • Debian 11 to 12 bash upgrade.sh 12
  • Debian 12 to 13 bash upgrade.sh 13
@sonuame
sonuame / install-redis-wsl.sh
Last active October 4, 2020 08:15 — forked from clzola/install-redis.sh
Bash script for installing Redis on Ubuntu 18.04
#!/bin/bash -e
# cleanup old installation
rm -rf /etc/redis
rm -rf /var/lib/redis
rm $HOME/redis.sh
deluser --force --remove-home redis
# Install the Build and Test Dependencies
apt-get update
@sonuame
sonuame / MountVHD.cmd
Created March 19, 2018 09:27 — forked from nicjansma/MountVHD.cmd
MountVHD and UnMountVHD: Allows you to mount .VHDs in Windows 7 from the command-line. http://nicj.net/2012/01/04/mounting-vhds-in-windows-7-from-a-command-line-script
@echo off
setlocal enabledelayedexpansion
if {%1}=={} (
echo Usage: %~nx0 [vhd] [letter]
exit /b 1
)
set vhdPath=%~dpnx1
set driveLetter=%2