Pinned Loading
-
Huawei HG8245H ONT reboot script
Huawei HG8245H ONT reboot script 1#!/usr/bin/expect
23set timeout 20
4spawn telnet 192.168.0.1
5expect "Login:"
-
iOS DNS Settings for cellular data
iOS DNS Settings for cellular data 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5<key>PayloadContent</key>
-
Bash script to install it self as sy...
Bash script to install it self as systemd timer 1#!/usr/bin/env bash
23# set -x
45script_name=$(basename "${0%.*}")
-
Install vnc server debian 12 (bookwo...
Install vnc server debian 12 (bookworm) 1#!/usr/bin/env bash
23sudo apt install tightvncserver
45if [ ! -e $HOME/.Xresources ]; then
-
Get ASN from ip address and then cre...
Get ASN from ip address and then create ipset with all IP4/6 prefix associated with ASN 1#!/usr/bin/env bash
2[[ -v 1 ]] && IP=$1 || { echo "Please enter ip address"; exit 1; }
34ASNS=$(curl -s https://stat.ripe.net/data/network-info/data.json?resource=$IP | jq -r .data.asns[])
5 -
Install Bash 5.2 on macOS
Install Bash 5.2 on macOS 1# Install bash using HomeBrew
2brew install bash
34# Add new Bash to macOS shell list
5sudo echo -e "/usr/local/bin/bash\n" >> /etc/shells
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.