Skip to content

Instantly share code, notes, and snippets.

View vimagick's full-sized avatar
🐰
🐰🐰🐰🐰🐰🐰🐰🐰🐰

K̶e̶v̶i̶n̶ vimagick

🐰
🐰🐰🐰🐰🐰🐰🐰🐰🐰
View GitHub Profile
#!/bin/bash
#
# IPv4 Address by Country
#
declare -A URLS=(
[afrinic]='http://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-extended-latest'
[apnic]='http://ftp.apnic.net/pub/stats/apnic/delegated-apnic-extended-latest'
[arin]='http://ftp.arin.net/pub/stats/arin/delegated-arin-extended-latest'
[ripe]='http://ftp.ripe.net/pub/stats/ripencc/delegated-ripencc-extended-latest'
#/bin/bash
#
# Device Listing in Linksys Smart Wi-Fi
#
IPADDR=x.x.x.x
PASSWD=********
ACTION=devicelist/GetDevices
curl -s -H 'Content-Type: application/json' -H "X-JNAP-Authorization: Basic $(echo -n "admin:$PASSWD" | base64)" -H "X-JNAP-Action: http://linksys.com/jnap/$ACTION" http://$IPADDR/JNAP/ -d '{}' |
#!/bin/bash
#
# https://kodi.wiki/view/Databases/MyVideos
#
echo "select strFilename, lastPlayed from files where playCount > 0 order by lastPlayed desc limit 10" |
sqlite3 ~/.kodi/userdata/Database/MyVideos121.db
#!/bin/bash
source /etc/profile.d/ecm_env.sh
source /etc/profile.d/hdfs.sh
now=$(date +%F)
ago=$(date -d '7 days ago' +%F)
echo "###### $now ######"
@vimagick
vimagick / shadowsocks
Last active July 27, 2023 17:16
(OpenWrt) /etc/config/shadowsocks && /etc/init.d/ss-tunnel
config port_forward 'world'
option local_port '5300'
option destination '8.8.4.4:53'
option mtu '1492'
list server 'nil'
config port_forward 'china'
option protocol 'udp'
option local_port '5353'
option destination '223.5.5.5:53'
#!/bin/bash
#
# https://music.xn--41a.ws/
#
BASE_URL=https://music.xn--41a.ws
TOTAL_PAGES=$(curl -s $BASE_URL | pup 'ul.listalka > li:last-child > a text{}')
for p in $(seq 1 $TOTAL_PAGES)
do
@vimagick
vimagick / build-shadowsocks-libev.sh
Last active December 15, 2023 09:37
Enable Logging for shadowsocks-libev 🈲️
sudo apt-get install --no-install-recommends gettext build-essential autoconf libtool libpcre3-dev libev-dev libc-ares-dev automake libmbedtls-dev libsodium-dev pkg-config
git clone --depth=1 --recurse-submodules https://github.com/shadowsocks/shadowsocks-libev.git
cd shadowsocks-libev
vim -p src/server.c src/resolv.c
./autogen.sh
CFLAGS="-Wno-unused-function" ./configure --prefix=/usr --disable-documentation
make -j$(getconf _NPROCESSORS_ONLN)
make install
vless://c438b3a9-6545-4a92-9039-a96373f7ad01@172.67.24.121:2087?security=tls&type=ws&sni=xx.1lagvpn13.cfd&path=/@v2rray1_ng&encryption=none&headerType=none#%F0%9F%87%BA%F0%9F%87%B8_US_%E7%BE%8E%E5%9B%BD-%3E%F0%9F%87%A9%F0%9F%87%AA_DE_%E5%BE%B7%E5%9B%BD
vmess://eyJ2IjoiMiIsInBzIjoi8J+HuvCfh7hfVVNf576O5Zu9LT7wn4ep8J+Hql9ERV/lvrflm70iLCJhZGQiOiIxMDQuMjEuNjkuNDQiLCJwb3J0Ijo4MCwiaWQiOiI3MDIyOTgyZi1kYTRjLTQ4YzktYzY2MC1iMjMxNWFiZGNmN2UiLCJhaWQiOjAsInNjeSI6ImF1dG8iLCJuZXQiOiJ3cyIsImhvc3QiOiJhLnByYXB0NC5pciIsInBhdGgiOiIvIiwidGxzIjoiIn0=
vless://89b6ddc8-da0a-4efd-93e5-9275ead14e18@162.159.1.169:2096?security=tls&type=ws&sni=new2.4four4.top.&path=/&encryption=none&headerType=none#%F0%9F%87%BA%F0%9F%87%B8_US_%E7%BE%8E%E5%9B%BD-%3E%F0%9F%87%AC%F0%9F%87%A7_GB_%E8%8B%B1%E5%9B%BD
vmess://eyJ2IjoiMiIsInBzIjoi8J+Hs/Cfh7FfTkxf6I235YWwIiwiYWRkIjoiMTg4LjExNC45Ni4xMTMiLCJwb3J0Ijo4MCwiaWQiOiI3MDIyOTgyZi1kYTRjLTQ4YzktYzY2MC1iMjMxNWFiZGNmN2UiLCJhaWQiOjAsInNjeSI6ImF1dG8iLCJuZXQiOiJ3cyIsImhvc3QiOiJhLnByYXB0NC5pciIsInBhdGgiOiIvIiwidGxz
文件名 下载链接 提取码
一凡评书《孙庞演义》MP3免费打包下载 123回全 https://pan.baidu.com/s/1TKRhydXv0QLRiRcHSpBfWg?pwd=2233 2233
一凡评书《辽西风雨路》MP3打包下载 220回全 https://pan.baidu.com/s/1gqssQppHCpjWjeK9iqC31g?pwd=5566 5566
于枢海评书《大刀王五》MP3免费打包下载 79回全集 https://pan.baidu.com/s/12fIxuA4oI_zTVndaFpxqbA xdqt
于海龙评书《张义传奇》MP3免费打包下载 14回 https://pan.baidu.com/s/1viC2m6xWt7kVuww0rMdQ5g?pwd=6677 6677
仲维维评书《一个女人的风景》MP3免费打包下载 7回全集 https://pan.baidu.com/s/1c227Iuc wpja
仲维维评书《一滴血》MP3免费打包下载 24回全集 https://pan.baidu.com/s/1miG45L2 xm2j
仲维维评书《七星龙王》MP3免费打包下载 30回全集 https://pan.baidu.com/s/1mhEmtmw a3wx
仲维维评书《三少爷的剑》MP3打包下载 ed2k://|file|%5B%E4%BB%B2%E7%BB%B4%E7%BB%B4%5D%E4%B8%89%E5%B0%91%E7%88%B7%E7%9A%84%E5%89%91.rar|265302041|c210a0ac46be8f474738351d8d586bc8|h=MDB2DETOEWWKIT3NKIXDCZYKYKF4DJOH|/
仲维维评书《中国瓷商》MP3打包下载 75回全集 https://pan.baidu.com/s/1wX_Hx303j5jVP9xVMS6h5Q abah
// ==UserScript==
// @name icp-extractor
// @namespace http://tampermonkey.net/
// @version 1.0
// @description remove chinese results
// @author EasyPi Software Foundation
// @match *
// @grant GM_xmlhttpRequest
// @require https://code.jquery.com/jquery-3.7.1.min.js
// @run-at document-idle