This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://www.shellcheck.net/ | |
for i in `seq 1 9000`; | |
do | |
ip=$(curl -s "https://projects.milankragujevic.com/ip.php") | |
echo -e "\e[36;1m" $i "\e[0m served from : $ip" | |
#ping -c 1 192.168.1.1 | |
#ping -c 1 192.168.3.1 | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -ti -p 80:80 --name openwrt --net=host --cap-add NET_ADMIN --privileged -v /home/naufal/Docker/Data/openwrt:/data openwrtorg/rootfs:armvirt-64-19.07.7 | |
docker run --rm -ti -p 80:80 --name openwrt --net=conf-vlan11 --privileged -v /home/naufal/Docker/Data/openwrt:/data openwrtorg/rootfs:armvirt-64-19.07.7 | |
docker run --rm -ti -p 80:80 --name openwrt --net=OpenWrt-LAN --cap-add NET_ADMIN --privileged -v /home/naufal/Docker/Data/openwrt:/data openwrtorg/rootfs:armvirt-64-19.07.7 | |
# https://hub.docker.com/r/raiuka/openwrt_on_docker | |
docker network create -d macvlan --subnet=192.0.0.0/24 --gateway=192.0.0.254 --ipv6 --subnet=fe80::/16 --gateway=fe80::1 -o parent=vlan11 -o macvlan_mode=bridge openwrt-LAN | |
docker network create -d macvlan --subnet=192.168.0.0/24 --gateway=192.168.0.254 --ipv6 --subnet=fe82::/16 --gateway=fe82::1 -o parent=wlan0 -o macvlan_mode=bridge openwrt-WAN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://www.shellcheck.net/ | |
#!/bin/bash | |
read -p "Enter GitLab repo URL : " repo | |
read -p "Enter GitHub repo URL : " newrepo | |
IFS='/' | |
read -a array <<< "$repo" | |
reponame=${array[1]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pm uninstall -k --user 0 com.miui.msa.global | |
pm uninstall -k --user 0 com.xiaomi.glgm | |
pm uninstall -k --user 0 com.facebook.appmanager | |
pm uninstall -k --user 0 com.facebook.services | |
pm uninstall -k --user 0 com.facebook.system | |
pm uninstall -k --user 0 com.mi.webkit.core | |
pm uninstall -k --user 0 com.android.calendar | |
pm uninstall -k --user 0 com.miui.calculator | |
pm uninstall -k --user 0 com.android.deskclock | |
pm uninstall -k --user 0 com.android.mms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env lua | |
local socket = require("socket") | |
local use_ssl, ssl = pcall(require, "ssl") | |
local Blynk = require("blynk.socket") | |
local Timer = require("timer") | |
local http = require("socket.http") | |
assert(#arg >= 1, "Please specify Auth Token") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -f "/home/me/.ssh/known_hosts" -R "192.168.1.1" | |
ssh -oHostKeyAlgorithms=+ssh-rsa -t [email protected] |
OlderNewer