See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| #!/bin/sh | |
| # name: koolshare联网检测+自动重启网络脚本 | |
| # scriptFilePath: /koolshare/scripts/checknetwork.sh | |
| # referenceLink: https://post.m.smzdm.com/p/a25dgzmq/ | |
| # | |
| # usage: | |
| # vim /jffs/scripts/services-start | |
| # #!/bin/sh | |
| # #services-start创建定时任务添加本脚本,每2分钟一次检测网络,多次探测均断网则自动重新拨号 | |
| # /usr/sbin/cru a checknetwork "*/2 * * * * /bin/sh /koolshare/scripts/checknetwork.sh" |
| <?php | |
| $cookie_name = $cookie_val = ''; | |
| $lines = [ | |
| '用户名||密码', | |
| ]; | |
| foreach ($lines as $line) { | |
| list($username, $password) = explode('||', $line); | |
| $username = trim($username); |
| /** | |
| * @fileoverview check surgio traffic | |
| * @version 1.0.0 | |
| * @supported Quantumult X (v1.0.5-build166) | |
| */ | |
| // add in QuantumultX config: | |
| // [task_local] | |
| // 0 5 */12 * * checkin_surgio_traffic.js |
| from __future__ import print_function | |
| import requests | |
| import threading | |
| import sys | |
| def eprint(*args, **kwargs): | |
| print(*args, file=sys.stderr, **kwargs) |
| #!/usr/bin/env bash | |
| # | |
| # Description: Auto test download & I/O speed script | |
| # | |
| # Copyright (C) 2015 - 2016 Teddysun <i@teddysun.com> | |
| # | |
| # Thanks: LookBack <admin@dwhd.org> | |
| # | |
| # URL: https://teddysun.com/444.html | |
| # |
| #!/bin/bash | |
| DAEMON=/usr/local/Cellar/aria2/1.31.0/bin/aria2c | |
| PID_NAME=aria2c | |
| PID=$(ps ux | awk '/aria2c/ && !/awk/ {print $2}') | |
| CONFIG_PATH='/path/to/aria2.conf' | |
| TRACKER_URL='https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt' | |
| ##### |
| <?php | |
| header('content-type:text/html; charset=utf-8'); | |
| ini_set('date.timezone', 'Asia/Shanghai'); | |
| /** | |
| * 获取多说评论 | |
| * @var json | |
| */ | |
| $export = file_get_contents('./export.json'); |
| <?php | |
| /* Last Update : 20170208 ,Laravel 5.3 */ | |
| return [ | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Validation Language Lines | |
| |-------------------------------------------------------------------------- | |
| | | |
| | The following language lines contain the default error messages used by |