This file contains 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
#!/usr/bin/php | |
<?php | |
$terms = [ | |
"LTE网络规划重点场景是“五高一地”,指得是高校、高铁、高速、高架、高层和" => "地铁", | |
"LTE规划的建网目标是" => "热点区域连续覆盖", | |
"基站覆盖估算的目的是从覆盖的角度计算所需基站的数目,公式为规划覆盖面积除以" => "单基站的覆盖面积", | |
"LTE的覆盖能力的影响因素有:发射功率、频率、多天线、RB资源、带宽及信道配置、RRM算法、子帧结构和" => "配置", | |
"LTE使用高频段时,其覆盖范围变" => "小", | |
"容量计算是通过计算满足一定话务需求所需要的无线资源数目,进而计算出所需要的载波配置、" => "基站数目", |
This file contains 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
#!/usr/bin/php | |
<?php | |
$terms = [ | |
"RRM的英文全称" => "Radio Resource Management", | |
"LTE最小调度周期是多长时间" => "1ms", | |
"LTE支持多种系统带宽,它们是(各带宽间用英文逗号间隔)" => "1.4MHz,3MHz,5MHz,10MHz,15MHz,20MHz", | |
"RAC的英文全称" => "Radio Admission Control", | |
"RBC的英文全称" => "Radio Bearer Control", | |
"DRA的英文全称" => "Dynamic Resource Allocation", |
This file contains 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
#!/usr/bin/php | |
<?php | |
$terms = [ | |
"下行物理过程有几个" => "5", | |
"上行物理过程有几个" => "4", | |
"手机开机,会马上涉及到什么物理过程" => "小区搜索过程", | |
"小区切换,会涉及到什么物理过程" => "小区搜索过程", | |
"小区切换,会涉及到什么物理过程" => "小区搜索过程", | |
"UE开机经历了小区搜索过程,随机接入过程后,有其他UE向其拨号,首先会发生什么过程" => "寻呼过程", |
This file contains 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
#!/usr/bin/php | |
<?php | |
$terms = [ | |
"腾讯地图API Key的长度是多少个字符(包括减号)" => "35", | |
"https://apis.map.qq.com/ws/staticmap/v2/?center=22.74,114.229&zoom=10&size=600*300&maptype=roadmap&markers=size:large|color:0xFFCCFF|label:k|22.74,114.229&key=MXLBZ-AZT3W-2JWRR-RMKHZ-NRDWH-QEBU4,如上API为腾讯地图API的哪个产品" => "静态图API", | |
"https://apis.map.qq.com/ws/staticmap/v2/?center=22.74,114.229&zoom=10&size=600*300&maptype=roadmap&markers=size:large|color:0xFFCCFF|label:k|22.74,114.229&key=MXLBZ-AZT3W-2JWRR-RMKHZ-NRDWH-QEBU4,如上API获取的图片宽度为" => "600px", | |
"https://apis.map.qq.com/ws/staticmap/v2/?center=22.74,114.229&zoom=10&size=600*300&maptype=roadmap&markers=size:large|color:0xFFCCFF|label:k|22.74,114.229&key=MXLBZ-AZT3W-2JWRR-RMKHZ-NRDWH-QEBU4,如上API获取的图片高度为" => "300px", | |
"https://apis.map.qq.com/ws/staticmap/v2/?center=22.74,114.229&zoom=10&size=900*600&maptype=roadmap&markers=size:large|color:0xFFCCFF|label:k|22.74,114.229&key=MXLBZ-AZT3W-2JWRR-RMKHZ-NRDWH-QEBU4,如上API获取的图片宽度为" => "900px", | |
"https://apis.map.qq.com/ws/staticmap/v2/?center= |
This file contains 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
#!/usr/bin/php | |
<?php | |
$terms = [ | |
"OFDM的英文全称为" => "Orthogonal Frequency Division Multiplexing", | |
"OFDMA的英文全称为" => "Orthogonal Frequency Division Multiplexing Access", | |
"LTE中子载波的频率间隔是" => "15KHz", | |
"一个OFDM的符号周期(不包含CP)是多少μs(精确到小数点后两位)" => "66.67", | |
"OFDM中的O的中文含义是" => "正交", | |
"PRB的英文全称为" => "Physical Resource Block", |
This file contains 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
#!/usr/bin/php | |
<?php | |
$terms = [ | |
"LTE" => "Long Term Evolution", | |
"SAE" => "System Architecture Evolution", | |
"E-UTRAN" => "Evolved Universal Terrestrial Radio Access Network", | |
"EPC" => "Evolved Packet Core", | |
"EPS" => "Evolved Packet System", |
This file contains 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 | |
# Put this script run in crond. | |
service=ocserv | |
if test $(netstat -na | grep 0.0.0.0:443 | wc -l) = 2 | |
then | |
echo "$service is running!" | |
else | |
/etc/init.d/$service start |
This file contains 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 | |
for (( ; ; )) | |
do | |
wget -m http://www.youobd2.com | |
sleep 1h | |
done |
This file contains 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
<?php | |
// $url_login = "http://192.168.1.6/weboa/sys/logon.aspx?stferNo=200&stferPassword=hehehe"; | |
$url = "http://http://zhiye.jiaoshi.com.cn//admin/deal_vote.php?pid=49&type=1"; | |
$file="cookie.txt"; | |
echo postPage($url, "$postfields"); |
This file contains 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 | |
# Worked in CentOS 7. | |
for ip in 10.1.41.106 10.1.41.158 10.1.41.149 10.1.41.104 10.1.41.145 10.1.41.122 10.1.41.113 10.1.41.223 10.1.41.200; do | |
timeout 1 bash -c "echo >/dev/tcp/${ip}/22" && | |
echo "$ip SSH is OPEN" || | |
echo "$ip SSH is $(tput setaf 1)CLOSED$(tput sgr0)" | |
done |