Skip to content

Instantly share code, notes, and snippets.

@azharimad
azharimad / bird1-bird-vultr.conf
Created November 7, 2023 01:02 — forked from aveao/bird1-bird-vultr.conf
BIRD 1 and 2 configs for BGP stuffs (HE Tunnelbroker, Vultr etc)
router id [our IPv4];
protocol bgp vultr
{
local as [our ASN];
source address [our IPv4 from vultr];
import all;
export filter {
if net ~ [[the IPv4 block we want to announce]] then accept;
reject;
@azharimad
azharimad / greback.sh
Last active September 11, 2023 10:28
gre back
#!/bin/bash
#
# Install iptables iproute2
# Variables
#
#
GRE_FRONT_IP=""
GRE_BACK_IP=""
@azharimad
azharimad / grefront.sh
Last active September 11, 2023 10:29
Gre Front
#!/bin/bash
#
# Install iptables iproute2
# Variables
#
#
GRE_FRONT_IP=""
GRE_BACK_IP=""
#!/usr/bin/env bash
chr_ver=6.45.9
chr_file=chr-$chr_ver.img
disk=/dev/vda
disk_size=$(parted $disk print | grep $disk | cut -d" " -f3)
echo "download CHR"
wget https://download.mikrotik.com/routeros/$chr_ver/$chr_file.zip && unzip $chr_file.zip && rm -f $chr_file.zip
<?php
if (!defined("WHMCS"))
die("This file cannot be accessed directly");
function sendTelegramMessage($pm) {
global $vars;
//$chat_id = (""); //Group
$chat_id = (""); //Channel
$tokenbot = ("");
<?php
/**
* Display Client's Credit Balance in Client Area
*
* @author WHMCMS
* @link www.whmcms.com
* @since WHMCS v6.0.0+
*/
### Keybase proof
I hereby claim:
* I am azharimad on github.
* I am azharimad (https://keybase.io/azharimad) on keybase.
* I have a public key ASDp8Rk_PqG3f9Eos0b6oBpEERTGaEZ25eFLCQh9__jcAAo
To claim this, I am signing this object: