Skip to content

Instantly share code, notes, and snippets.

Sunry hplc

Block or report user

Report or block hplc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hplc
hplc / exam.php
Last active Nov 12, 2019
PHP Script to do exam.
View exam.php
#!/usr/bin/php
<?php
/* Contents of exam.csv file like this:
奈奎斯特定理是哪一年提出来的?,1928
已知无线电频率为1GHz,其波长为(单位为m):,0.3
已知WiFi的频率为2.4GHz,其波长为(单位为m):,0.125
已知WiFi的频率为5GHz,其波长为(单位为cm):,6
......
*/
@hplc
hplc / check_web_servers.php
Created Oct 22, 2019
Check a bunch of web servers' online status.
View check_web_servers.php
<!DOCTYPE html>
<html>
<head>
<title>16CNetG5-2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<?php
/* Contents of 16CNetG5-2.csv file like this:
View lte-exam-final.php
#!/usr/bin/php
<?php
$terms = [
"TD-LTE与WLAN系统共存的干扰隔离度要求为多少(dB)" => "87",
"TD-LTE与WLAN系统共存的空间距离要求为水平距离多少m" => "54",
"TD-LTE与WLAN系统共存的空间距离要求为垂直距离多少m" => "2.3",
"LTE相对3G“少一层,多一口”中的少一层是少了哪一层" => "RNC",
"LTE相对3G“少一层,多一口”中的多一口是多了哪个口" => "X2",
"采用256-QAM高阶调制技术时,每个符号能代表多少位比特的信息" => "8",
View lte-exam-chapter-13-14.php
#!/usr/bin/php
<?php
$terms = [
"干扰发生影响的基本要素有三个:干扰源、传播途径和" => "被干扰源",
"控制共站干扰影响的三要素是:抑制干扰源、切断干扰传播途径,提高被干扰源敏感器件的" => "抗干扰性能",
"抑制干扰源的手段有:提高发射机的性能和" => "增加发射端滤波器",
"切断干扰传播途径的手段有:调整频点、设置保护带宽和" => "增加隔离度",
"提高被干扰源敏感器件的抗干扰性能的主要手段:" => "提高接收机的性能",
"空间隔离度需求由两个因素决定:发射端发送干扰大小和" => "接收机允许接收的最小干扰",
View lte-exam-chapter-12.php
#!/usr/bin/php
<?php
$terms = [
"LTE网络规划重点场景是“五高一地”,指得是高校、高铁、高速、高架、高层和" => "地铁",
"LTE规划的建网目标是" => "热点区域连续覆盖",
"基站覆盖估算的目的是从覆盖的角度计算所需基站的数目,公式为规划覆盖面积除以" => "单基站的覆盖面积",
"LTE的覆盖能力的影响因素有:发射功率、频率、多天线、RB资源、带宽及信道配置、RRM算法、子帧结构和" => "配置",
"LTE使用高频段时,其覆盖范围变" => "",
"容量计算是通过计算满足一定话务需求所需要的无线资源数目,进而计算出所需要的载波配置、" => "基站数目",
View lte-exam-chapter-10.php
#!/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",
View lte-exam-4.php
#!/usr/bin/php
<?php
$terms = [
"下行物理过程有几个" => "5",
"上行物理过程有几个" => "4",
"手机开机,会马上涉及到什么物理过程" => "小区搜索过程",
"小区切换,会涉及到什么物理过程" => "小区搜索过程",
"小区切换,会涉及到什么物理过程" => "小区搜索过程",
"UE开机经历了小区搜索过程,随机接入过程后,有其他UE向其拨号,首先会发生什么过程" => "寻呼过程",
View mapapi-exma.php
#!/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=
View lte-exam-3.php
#!/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",
@hplc
hplc / lte-terms.php
Last active Apr 10, 2019
PHP script to practice several LTE terms.
View lte-terms.php
#!/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",
You can’t perform that action at this time.