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
| python manage.py dumpdata --database uat --natural-foreign --indent 5 auth.group auth.user v1 -o /var/nicico/fogstar_project_manager/uat_group | |
| _user_v1_14040807.json.gz | |
| python manage.py loaddata /var/nicico/fogstar_project_manager/uat_group_user_v1_14040807.json.gz |
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
| import httpx | |
| git_address = 'https://gitlab.com' | |
| token = 'glpat-N_Akkbhqgs8pqvX' | |
| header = {"Authorization": f'Bearer {token}'} | |
| client = httpx.Client(headers=header, timeout=100) | |
| commerce_project_id = 82 | |
| sales_project_id = 7 | |
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 | |
| mkdir -p $HOME/App/tun2proxy >/dev/null 2>&1 | |
| cd $HOME/App/tun2proxy || true | |
| aria2c -x 16 -k1m -s 16 -c "https://github.com/tun2proxy/tun2proxy/releases/latest/download/tun2proxy-x86_64-unknown-linux-gnu.zip" | |
| 7z x -aoa tun2proxy-x86_64-unknown-linux-gnu.zip | |
| sudo ip tuntap add name tun0 mode tun | |
| sudo ip link set tun0 up | |
| # Define array of domains | |
| domains=( |
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
| xontrib load abbrevs | |
| execx($(atuin init xonsh)) | |
| execx($(starship init xonsh)) | |
| abbrevs['xxh']='pipx run --spec xxh-xxh xxh +s xonsh +if' |
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 --name phpmyadmin --label traefik.http.routers.phpmyadmin.rule=Host\(\`phpmyadmin.local\`\) \ | |
| --net traefik phpmyadmin:latest |
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
| saeb@saeb-pc ~/M/a/s/I/f/lib> tree | |
| . | |
| ├── constants | |
| ├── logic | |
| │ ├── cubit | |
| │ └── utility | |
| ├── main.dart | |
| └── presentation | |
| ├── router | |
| │ └── router.dart |
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
| 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 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
| "log": { | |
| "level": "trace" | |
| }, | |
| "inbounds": [ | |
| { | |
| "type": "hysteria2", | |
| "tag": "hy2-in", | |
| "listen": "::", | |
| "listen_port": 443, |
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
| 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 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
| { | |
| "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": [ |
NewerOlder