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/sh | |
| case $1 in | |
| start) | |
| /opt/etc/init.d/S05vpnserver start | |
| ;; | |
| stop) | |
| ;; | |
| esac |
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
| ./ngrok tcp -region ap 5900 -log=stdout > ngrok.log & |
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/sh | |
| ######################################################################## | |
| # | |
| # Usage: via-ssh.sh [-v] [-d] [USER@]SERVER[:PORT] | |
| # | |
| # -v Provide verbose output. | |
| # -d Send all UDP on the DNS port 53 to 127.0.0.1. | |
| # USER User name to use for SSH; default is current user. | |
| # SERVER Server to use for SSH. |
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
| cat <<EOF | |
| TYPE The following commands: | |
| sysctl -w net.ipv4.conf.docker0.route_localnet=1 | |
| iptables -t nat -N REDSOCKS | |
| iptables -t nat -A REDSOCKS -d 0.0.0.0/8 -j RETURN | |
| iptables -t nat -A REDSOCKS -d 10.0.0.0/8 -j RETURN | |
| iptables -t nat -A REDSOCKS -d 127.0.0.0/8 -j RETURN | |
| iptables -t nat -A REDSOCKS -d 169.254.0.0/16 -j RETURN | |
| iptables -t nat -A REDSOCKS -d 172.16.0.0/12 -j RETURN | |
| iptables -t nat -A REDSOCKS -d 192.168.0.0/16 -j RETURN |
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
| <ul class="tiny-block-grid-1 small-block-grid-2 medium-block-grid-2 large-block-grid-3 prd-blk-minimal"> | |
| <li> | |
| <a href="#"> | |
| <ul> | |
| <li> | |
| <div class="label color-orange">50% OFF</div> | |
| <img src="http://dummyimage.com/600x400/c0c0c0/fff"> | |
| </li> | |
| <li><strong>Photo book Square</strong><br>Starting at 19.95 | |
| <li> |
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
| [Unit] | |
| Description=TurboVNC vncserver | |
| After=network.target syslog.target | |
| [Service] | |
| User=labrax | |
| Type=forking | |
| ExecStartPre=/bin/sh -c '/opt/TurboVNC/bin/vncserver -kill :1 &>/dev/null || :' | |
| ExecStart=/opt/TurboVNC/bin/vncserver -nthreads 2 -disconnect -idletimeout 0 -interframe -depth 24 -name bal :1 | |
| ExecStop=/bin/sh -c '/opt/TurboVNC/bin/vncserver -kill :1 &>/dev/null || :' |
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 | |
| apt-get update | |
| apt-get dist-upgrade -y | |
| apt-get install xrdp build-essential git autoconf libtool pkg-config libpulse-dev -y | |
| adduser xrdp ssl-cert | |
| systemctl restart xrdp | |
| cd /root | |
| git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git |
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
| #EXTINF:0 tvg-country="UN" tvg-logo="" group-title="Sport",NBC Sports Washington | |
| https://tv4.live/api/stream/[email protected]/629662/livetv.epg/nbc.sports.washington.us.m3u8 | |
| #EXTINF:0 tvg-country="UN" tvg-logo="https://i.imgur.com/7NeBmWX.jpg" group-title="Sport",Red Bull TV | |
| https://rbmn-live.akamaized.net/hls/live/590964/BoRB-AT/master.m3u8 | |
| #EXTINF:0 tvg-country="" tvg-logo="" group-title="Sport",Arena Sport 9 HR | |
| https://tv4.live/api/stream/[email protected]/629662/livetv.epg/arena.sport.9.hr.m3u8 | |
| #EXTINF:0 tvg-country="UN" tvg-logo="https://i.imgur.com/8ZFQ93Z.png" group-title="Sport",SPORT : ATG TV,SPORT | ATG TV | |
| https://httpcache0-00688-cacheliveedge0.dna.qbrick.com/00688-cacheliveedge0/out/u/atg_sdi_1_free.m3u8 | |
| #EXTINF:0 tvg-country="ES" tvg-logo="" group-title="Sport",M. DEPORTES 8 | |
| http://listplay4k.live:8080/play/sEqGlXBK924GUbV9yuY_SA_Ye6MOfNX5qA4RME0A1dU/ts |
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
| apt-get install xz-utils && wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz && mkdir -p ffmpeg-static && tar xvf ffmpeg-release-amd64-static.tar.xz -C ffmpeg-static --strip-components 1 && sudo mv ffmpeg-static/ff* /usr/bin/ |
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
| # -*- coding: utf-8 -*- | |
| # @Organization : insightface.ai | |
| # @Author : Jia Guo | |
| # @Time : 2021-05-04 | |
| # @Function : | |
| #wget /usr/local/lib/python3.10/dist-packages/insightface/model_zoo/model_zoo.py | |
| import os | |
| import os.path as osp | |
| import glob | |
| import onnxruntime |