پنل تحت وب مدیریت V2ray و ساخت کاربر و مدیریت سرور
mkdir x-ui && cd x-ui
docker run -itd --network=host \
-v $PWD/db/:/etc/x-ui/ \
-v $PWD/cert/:/root/cert/ \
There's a workaround that might be useful for some people - use the Shadowsocks app for Android TV. Because that app only accepts a JSON configuration file, you need to convert the Outline key to JSON.
{
"server":"YOUR-SERVER",
"server_port":12345,
"local_port":1080,
"password":"YOUR-PASSWORD",
"method":"chacha20-ietf-poly1305",| # Read more about setting it up | |
| # https://medium.com/@ljmocic/deploying-react-application-to-aws-s3-using-github-actions-85addacaeace | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| build: |
| import requests | |
| import json | |
| # DOCS: https://idpay.ir/web-service/v1.1/index.html | |
| class IDPay: | |
| API_URL = "https://api.idpay.ir/v1.1/payment" |
| # Tested on Python 3.6.1 | |
| # install: pip install --upgrade arabic-reshaper | |
| import arabic_reshaper | |
| # install: pip install python-bidi | |
| from bidi.algorithm import get_display | |
| # install: pip install Pillow | |
| from PIL import ImageFont |
| server { | |
| listen 80; | |
| root /usr/share/nginx/html; | |
| gzip on; | |
| gzip_types text/css application/javascript application/json image/svg+xml; | |
| gzip_comp_level 9; | |
| etag on; | |
| location / { | |
| try_files $uri $uri/ /index.html; | |
| } |
mkdir -p /usr/local/etc/nginx/sites-available
File locations:
nginx.conf to /usr/local/etc/nginx/default and default-ssl to /usr/local/etc/nginx/sites-available #STOP APACHE
sudo apachectl stop
| ############################################################################### | |
| # Sample Size and Confidence Interval Calculation # | |
| # v 1.3 by "Ananda Mahto"/mrdwab/ananda@mahto.info # | |
| # 2011 May 17 # | |
| # --------------------------------------------------------------------------- # | |
| # # | |
| # Example usage: # | |
| # * sample.size.table(c.lev = c(90, 95, 98, 99), population = 378) # | |
| # * sample.size(c.lev = 98, population = 200) # | |
| # * confidence.interval(c.lev = 95, p.ss = 80, population = 100) # |