This file contains 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
DEBUG=10 | |
TG_API_ID=61369 | |
TG_API_HASH=a2a6455ff461sdfsdf532ce03795278fb92f56 | |
TG_BOT_TOKEN=6281007953:AAHE4sdsdfsdfl9h3XsdfsdfJK6-yWhaTdxkCE8pxizJbXgqQ | |
TG_CHANNEL_ID=-1000000 |
This file contains 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
while true; | |
clear; | |
curl -s 'https://apigateway.okala.com/api/Search/v1/Product/SearchByStoreGrouping?CategorySlugs=mutton&StoreIds=7470&StoreIds=6500&StoreIds=7096&StoreIds=7143&StoreIds=7294&StoreIds=5350&StoreIds=6792&StoreIds=7242&StoreIds=7329&StoreIds=7469&StoreIds=2223&StoreIds=6801&StoreIds=7679&StoreIds=4957&StoreIds=7636&StoreIds=2099&StoreIds=7295&StoreIds=4773&null&&&&hasQuantity=true&excludeShoppingCard=true' |jq '.entities[].products[].name'|uniq; | |
sleep 5; | |
end |
This file contains 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
"log": { | |
"level": "trace" | |
}, | |
"inbounds": [ | |
{ | |
"type": "hysteria2", | |
"tag": "hy2-in", | |
"listen": "::", | |
"listen_port": 443, |
This file contains 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
curl -s -L -o /tmp/ybkh.json https://69b.ir/ybkh; | |
sed -i 's|//.*||g' /tmp/ybkh.json; | |
sed -i 's|"listen_port": 2080,|"listen_port": 13741,|g' /tmp/ybkh.json; | |
sed -i 's|"level": "fatal",|"level": "debug","output": "box.log" ,|p' /tmp/ybkh.json ; | |
jq 'del(.inbounds[] | select(.tag=="tun-in"))' /tmp/ybkh.json > /tmp/ybkh.json.json; | |
kill -HUP "$(pgrep sing-box)" |
This file contains 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
{ | |
"route": { | |
"geoip": { | |
"download_url": "https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db" | |
}, | |
"geosite": { | |
"download_url": "https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db" | |
} | |
}, | |
"rules": [ |
This file contains 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
function dd() { | |
try { | |
document.querySelector('button[title="انتخاب همه موارد در نما"]').click(); | |
document.querySelector('button[title="حذف کردن (Del)"]').click() | |
} catch (error) { | |
console.table(error) | |
} | |
setTimeout(dd,400) | |
} |
This file contains 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
{ | |
"inbounds": [ | |
{ | |
"type": "vless", | |
"tag": "vless-in", | |
"listen": "::", | |
"listen_port": 1443, | |
"sniff": true, | |
"sniff_override_destination": true, | |
"domain_strategy": "ipv4_only", |
This file contains 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 | |
export version_vray="$(curl -L -s -o /dev/null -w %{url_effective} https://github.com/shadowsocks/v2ray-plugin/releases/latest|rev|cut -d/ -f1|rev)" | |
export version_xray="$(curl -L -s -o /dev/null -w %{url_effective} https://github.com/teddysun/xray-plugin/releases/latest|rev|cut -d/ -f1|rev)" | |
export version_ss="$(curl -L -s -o /dev/null -w %{url_effective} https://github.com/shadowsocks/shadowsocks-rust/releases/latest|rev|cut -d/ -f1|rev)" | |
export version_singbox="$(curl -L -s -o /dev/null -w %{url_effective} https://github.com/SagerNet/sing-box/releases/latest|rev|cut -d/ -f1|rev)" | |
export v_singbox="${version_singbox:1}" | |
export url_vray="https://github.com/shadowsocks/v2ray-plugin/releases/download/$version_vray/v2ray-plugin-linux-amd64-$version_vray.tar.gz" | |
export url_xray="https://github.com/teddysun/xray-plugin/releases/download/$version_xray/xray-plugin-linux-amd64-$version_xray.tar.gz" | |
export url_ss="https://github.com/shadowsocks/shadowsocks-rust/releases/download/$version_ss/shadowsocks-$v |
This file contains 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
{ | |
"log": {"level": "info"}, | |
"dns": {}, | |
"ntp": {}, | |
"inbounds": [ { | |
"domain_strategy": "", | |
"listen": "0.0.0.0", | |
"type": "mixed", | |
"listen_port": 2081 | |
}], |
This file contains 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
import random | |
class NationalCode: | |
code_melli:str = None | |
def __init__(self,code_melli:str|int=None,starts_with='',with_numbers=[0,1,2,3,4,5,6,7,8,9]): | |
self.code_melli=str(code_melli).rjust(10,'0') | |
if code_melli is not None: | |
self.validate() | |
else: | |
self.code_melli=self.generate(with_numbers=with_numbers,starts_with=starts_with) | |
def validate(self): |
NewerOlder