Open folder where chrome driver downloaded and open terminal & run one by one
sudo chmod +x chromedriverOpen folder where chrome driver downloaded and open terminal & run one by one
sudo chmod +x chromedriver| # 默认端口 33400 | |
| # binwalk -e TL-R470GP-AC_V2.0_1.0.8_Build_20200703_Rel.60778.bin 提取文件内容 | |
| # 搜索 getNewPasswd 查看密码加密方式 | |
| # 使用LAN口的MAC地址 | |
| macAddr=7844FD5F42E2 | |
| key=$(echo -n "$macAddr" | md5sum) | |
| key=$(echo ${key:0:16}) | |
| echo ${key} |
给你的OpenWRT/LEDE 添加frp开机服务
添加PROC服务文件:
vi /etc/init.d/frpc配置文件内容:
#!/bin/sh /etc/rc.common利用 NGINX 的 Stream 模塊 sni_preread 功能,可以做到讓 Trojan 和其他網站在同一台機器上共享 443 端口。
| #!/bin/bash | |
| # Helper script for deluge or qBittorrent bittorrent clients | |
| # Intended to be run when the torrent download completes | |
| # | |
| # for qBittorrent, enable 'Run external program on torrent completion' under 'Downloads' in the options dialog. | |
| # in the text field, enter: | |
| # | |
| # <path to>/torrent-complete.sh "%K" "%N" "%D" | |
| # |
| import os | |
| import requests | |
| import time | |
| import sys | |
| video_quality = "540p" # available qualities 360p, 540p, 720p | |
| """ | |
| In order to get courseId go to a course page open network tab in browser dev tools and search for "onDemandSpecializations" | |
| in search input of network tab and then go to videos section of say week 1 , check the query param "courseId" its value is what we use can use as value for "one_of_specialization_course_id" |
| #! /bin/bash | |
| # NEWLY ADDED BACKUP FUNCTIONALITY IS NOT FULLY TESTED YET, USE WITH CARE, ESPECIALLY DELETION | |
| # Developed for DSM 6 - 7.0.1. Not tested on other versions. | |
| # Steps to install | |
| # Save this script in one of your shares | |
| # Edit it according to your requirements | |
| # Backup /usr/syno/share/nginx/ as follows: | |
| # # cd /usr/syno/share/ | |
| # # tar cvf ~/nginx.tar nginx |
| FROM nginx | |
| COPY docker/start.sh / | |
| COPY docker/buildConfig.sh / | |
| RUN chmod +x /start.sh /buildConfig.sh | |
| COPY docker/myapp.nginx.conf /etc/nginx/conf.d/default.conf | |
| COPY build /usr/share/nginx/html | |
| ENV MYAPP_OPTION_A="Default option A value" |
| FROM python:3.5 | |
| MAINTAINER Marlon Baptista de Quadros([email protected]) | |
| ENV PYTHONUNBUFFERED 1 | |
| RUN apt-get update -y | |
| RUN apt-get -y install binutils libproj-dev gdal-bin postgresql-client python3-lxml | |
| RUN apt-get -y install libmemcached-dev |