Skip to content

Instantly share code, notes, and snippets.

View coldfire7's full-sized avatar
🚀
>:D

Raiyan Hossain coldfire7

🚀
>:D
View GitHub Profile
@coldfire7
coldfire7 / docker-compose.yml
Last active January 22, 2023 10:16
WireGuard Server
version: "3"
services:
wireguard:
image: weejewel/wg-easy:latest
container_name: wireguard
hostname: wireguard
restart: unless-stopped
volumes:
@coldfire7
coldfire7 / pihole
Last active January 22, 2023 10:15
Pi-hole UFW app (/etc/ufw/applications.d/pihole)
[Pihole]
title=Pihole
description=Network-wide protection and ad blocking
ports=53/tcp|53/udp|80/tcp
[Pihole with DHCP]
title=Pihole
description=Network-wide protection and ad blocking
ports=53/tcp|53/udp|67/udp|80/tcp|547/udp
@coldfire7
coldfire7 / kernel-cleanup
Last active January 22, 2023 10:15
PROXMOX Scripts
#!/bin/bash
YW=`echo "\033[33m"`
BL=`echo "\033[36m"`
RD=`echo "\033[01;31m"`
CM='\xE2\x9C\x94\033'
GN=`echo "\033[1;92m"`
CL=`echo "\033[m"`
while true; do
read -p "This will Clean unused Kernel images. Proceed(y/n)?" yn
case $yn in
13.248.193.101
151.106.248.1
75.2.69.178
76.223.1.250
99.83.157.116
@coldfire7
coldfire7 / 99-pihole-art
Created February 11, 2022 14:22
/etc/update-motd.d/99-pihole-art
#!/bin/sh
# COLORS
COL_NC='\e[0m' # No Color
COL_LIGHT_GREEN='\e[1;32m'
COL_LIGHT_RED='\e[1;31m'
COL_LIGHT_BLUE='\e[1;34m'
TICK="[${COL_LIGHT_GREEN} ^|^s${COL_NC}]"
CROSS="[${COL_LIGHT_RED} ^|^w${COL_NC}]"
INFO="[i]"
@coldfire7
coldfire7 / 99-art
Last active January 29, 2023 16:45
Pi-hole pihello MOTD
#!/bin/sh
# COLORS
COL_NC='\e[0m' # No Color
COL_LIGHT_GREEN='\e[1;32m'
COL_LIGHT_RED='\e[1;31m'
COL_LIGHT_BLUE='\e[1;34m'
TICK="[${COL_LIGHT_GREEN} ^|^s${COL_NC}]"
CROSS="[${COL_LIGHT_RED} ^|^w${COL_NC}]"
INFO="[i]"
@coldfire7
coldfire7 / Valorant Asia Pacific Servers & Ports
Last active September 21, 2024 19:15
Valorant Asia Pacific Servers & Ports
# Valorant Asia Pacific Servers
# Note most of the servers are AWS Global Accelerator anycast IP addresses
# https://aws.amazon.com/global-accelerator/features/#Static_anycast_IP_addresses
# https://en.wikipedia.org/wiki/Anycast
# Last Update: 2023-01-09
# ~CO7DFiRE
# All Asia Pacific Servers
13.248.193.101
13.248.197.71
@coldfire7
coldfire7 / NETDATA
Last active March 12, 2022 08:12
NETDATA (Install / Uninatall)
###########
# NETDATA #
###########
# Install
# curl
@coldfire7
coldfire7 / Enable SSD TRIM on pfSense.txt
Created March 26, 2021 07:46
Enable SSD TRIM on pfSense
### Enable SSD TRIM on pfSense
### Get your device ID frmo fstab
[2.5.1][root@rigel.coldzone.lan]/root: cat /etc/fstab
/dev/gptid/82155eb7-884a-11eb-92c9-33fce6ee9433 / ufs rw,noatime 1 1
/dev/gptid/8216f4a4-884a-11eb-92c9-33fce6ee9433 none swap sw 0 0
@coldfire7
coldfire7 / Install pve-edge-kernel on Proxmox.txt
Last active March 18, 2022 14:32
Install pve-edge-kernel on Proxmox (Zen 2)
### This guide is for Zen 2 ONLY!!!
### USE AT YOUR OWN RISK!!!
### NEW WAY!!!
apt install pve-kernel-5.11
apt install pve-headers-$(uname -r)
update-grub
update-initramfs -u
reboot