adduser newuser
passwd newuser
groupadd admin
编号 代码 命令分解 命令 | |
//switchtabpos switch tab pos 更改底部功能按钮位置的命令 | |
//multiwebview multi web view 微信多窗口显示命令 | |
//opentrace open trace 打开跟踪 | |
//getfpkey get fp key 得到手机基本信息 | |
//pickpoi pick poi 定位当前位置 | |
//fullexit full exit 完全退出微信 | |
//testwaitsms test wait sms 测试验证手机号码 | |
//sightinfo sight info 打开查看小视频参数 | |
//testsetpageowner test set page owner 检测你是否拥有页面的所有权 |
adduser newuser
passwd newuser
groupadd admin
set number |
#!/bin/bash | |
#tools | |
# sudo yum install wget | |
# sudo yum install net-tools | |
# sudo yum install vim | |
#update source | |
# sudo yum install -y wget |
#!/bin/sh | |
# Remove Postfix | |
systemctl stop postfix | |
systemctl disable postfix | |
yum remove -y postfix | |
# Remove Linux headers | |
yum -y remove *firmware avahi-autoipd avahi-libs avahi bluez-utils kudzu alsa-lib fxload rdma man-db microcode_ctl NetworkManager-team | |
yum clean all |
application.directory=APP_PATH "/app/" | |
application.ext="php" | |
application.view.ext="phtml" | |
application.modules="index" | |
application.library.directory = APP_PATH "/library" | |
application.library.namespace="" | |
application.bootstrap=APP_PATH "/library/Bootstrap" | |
application.baseUri="" | |
application.dispatcher.defaultRoute="" | |
application.dispatcher.throwException=1 |
<?php | |
// Initial Configuration | |
global $aHash; | |
$i = 0; | |
$tmp = ''; | |
while($i < 100) { | |
$tmp .= 'a'; | |
++$i; | |
} |
PHP_PATH=${PHP_PATH:=php} | |
#get php version | |
#获取 php 版本 | |
PHP_VERSION=$("$PHP_PATH" -v|grep --only-matching --perl-regexp "\d\.\d+\.\d+"|head -1); | |
php -v|grep -oP "(?<=^PHP\W)\d\.\d\.\d+" | |
#get php.ini path | |
#获取 php.in 位置 | |
PHP_INI=$("$PHP_PATH" --ini|grep --only-matching --perl-regexp "/.*php.ini$"|head -1) | |
#php.ini for all | |
PHP_INI=$("$PHP_PATH" --ini|grep --only-matching --perl-regexp "/.*php.ini$"|head -1|sed -r -e 's/cli/*/') |
curl -so /dev/null -w 'DNS:%{time_namelookup}\tConnect:%{time_connect}\tStart:%{time_starttransfer}\tTotal:%{time_total}\tSpeed:%{speed_download} byte/s\n' https://mirrors6.tuna.tsinghua.edu.cn/ubuntu/ | |
curl -so /dev/null -w 'DNS:%{time_namelookup}\tConnect:%{time_connect}\tStart:%{time_starttransfer}\tTotal:%{time_total}\tSpeed:%{speed_download} byte/s\n' https://ipv6.mirrors.ustc.edu.cn/ubuntu/ |
{ | |
"repositories": [ | |
{ | |
"url": "https://github.com/YunYinORG/YYF.git", | |
"path": "/var/www/YYF", | |
"cmd": "git pull && service httpd restart", | |
"branch": "master" | |
}, | |
{ | |
"url": "https://github.com/YunYinORG/YYF.git", |