Skip to content

Instantly share code, notes, and snippets.

View rexlManu's full-sized avatar
🏠
Working from home

Emmanuel Lampe rexlManu

🏠
Working from home
View GitHub Profile
@rexlManu
rexlManu / openvpn.sh
Created April 16, 2019 03:50
install openvpn
#!/bin/bash
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS and Arch Linux
# https://github.com/Angristan/OpenVPN-install
if [[ "$EUID" -ne 0 ]]; then
echo "Sorry, you need to run this as root"
exit 1
fi
@rexlManu
rexlManu / mono-install.sh
Created June 16, 2019 16:32
mono-install.sh
apt install sudo -y
sudo apt install apt-transport-https dirmngr gnupg ca-certificates -y
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/debian stable-stretch main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-complete -y
@rexlManu
rexlManu / plesk websites.php
Created January 24, 2020 21:44
Use this to show all websites on a plesk webhosting
<?php
exec("cd ../.. && ls", $output);
foreach(json_decode(json_encode($output)) as $dir){
echo '<a href="http://'.$dir.'">'.$dir.'</a><br>';
}
?>
@rexlManu
rexlManu / workupload_download.sh
Created March 17, 2020 14:27
Download workupload files via curl
if [ -z "$1" ] || [ -z "$2" ]
then
echo "workupload_download.sh <workupload id> <output file name>"
exit 1
fi
echo "Getting download url from workupload servers"
URL="$(curl -s "https://workupload.com/api/file/getDownloadServer/$1" | \python -c "import sys, json; print(json.load(sys.stdin)['data']['url'])")"
@rexlManu
rexlManu / install-java8.sh
Last active April 27, 2022 16:43
Install java 8 on debian 10
apt install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common -y
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
apt update -y
apt install adoptopenjdk-8-hotspot -y
clear
java -version
@rexlManu
rexlManu / resizeFileSystemLinux.txt
Created May 7, 2020 00:25
HOW TO RESIZE DISK IF U STUPID AND INSTALL LINUX BY HAND
HOW TO RESIZE DISK IF U STUPID AND INSTALL LINUX BY HAND
- swapoff -a
- /etc/fstab > comment the uuid with swap
- /etc/initramfs-tools/conf.d/resume > RESUME=none
- delete swap partitions with parted
- update-initramfs -u -k all
- update-grub
- resize2fs
@rexlManu
rexlManu / ts3ab_installer.sh
Created June 8, 2020 08:34
ts3 audiobot installer
#!/bin/bash
r="\033[31m"
gr="\033[32m"
w="\033[37m"
echo ""
echo -e "\e[1mScript coded by server-installer.de - \e[93mSaveCode \e[0m"
sleep 1
@rexlManu
rexlManu / trashMails.json
Last active July 24, 2023 03:06
List of all trash mail providers | 80k Entries | Last update: 29.06.2020
["0-mail.com","001.igg.biz","027168.com","0815.ru","0815.ru0clickemail.com","0815.ry","0815.su","0845.ru","0box.eu","0clickemail.com","0n0ff.net","0nelce.com","0sg.net","0v.ro","0w.ro","0wnd.net","0wnd.org","0x207.info","1-8.biz","10-minuten-mail.de","10.dns-cloud.net","1000rebates.stream","100likers.com","105kg.ru","10host.top","10mail.com","10mail.org","10minut.com.pl","10minut.xyz","10minutemail.be","10minutemail.cf","10minutemail.co.uk","10minutemail.co.za","10minutemail.com","10minutemail.de","10minutemail.eu","10minutemail.ga","10minutemail.gq","10minutemail.info","10minutemail.ml","10minutemail.net","10minutemail.nl","10minutemail.org","10minutemail.pro","10minutemail.ru","10minutemail.us","10minutemailbox.com","10minutemails.in","10minutenemail.de","10minutesmail.co.uk","10minutesmail.com","10minutesmail.eu","10minutesmail.fr","10minutesmail.net","10minutesmail.org","10minutesmail.ru","10minutesmail.us","10minutmail.pl","10x9.com","11163.com","117.yyolf.net","123-m.com","123.dns-cloud.net","126.com","
@rexlManu
rexlManu / laravel observer methods.php
Created July 12, 2020 22:48
laravel observer methods
<?php
$methods = ['retrieved', 'creating', 'created', 'updating', 'updated',
'saving', 'saved', 'restoring', 'restored', 'replicating',
'deleting', 'deleted', 'forceDeleted']
@rexlManu
rexlManu / giftcodes.txt
Last active October 31, 2020 19:33
Zap Hosting Helloween 2020 Gift codes
Hier findest du eine Auflistung von den Gutscheinen von ZapHosting Helloween 2020.
Diese Auflistung wird aktualisiert wenn neue gefunden werden.
https://zap-hosting.com/de/kuerbis-gefunden-4ebxbz/
https://zap-hosting.com/en/pumpkin-found-gumnfj/
https://zap-hosting.com/de/kuerbis-gefunden-n5vk50/
https://zap-hosting.com/de/kuerbis-gefunden-rhaifd/
https://zap-hosting.com/de/kuerbis-gefunden-g6pqwm/
https://zap-hosting.com/de/kuerbis-gefunden-hqkvld/