Easter79 Easter79
4年前
swconfig
 swconfig是交换接口(switch)配置命令。swconfiglist;列出可用的SWITCH设备信息(dev参数)Found:switch0ag71xxmdio.0swconfigdevswitch0help;查询该设备信息switch0:ag71xxmdio.0(Athero
good123 good123
3年前
python做频率统计图 完整版
yourcodegoesherefrommatplotlibimportpyplotaspltimportpandasaspddeflinearCongruentialMethod(Xo,m,a,c,randomNums,U):randomNums0XoU0randomNums0/m
Stella981 Stella981
4年前
Linux:ifconfig命令 示例
显示各个网卡的信息:ifconfig激活eth0:ifconfigeth0up关闭eth0:ifconfigeth0down更改ip地址和掩码:ifconfigeth0192.168.1.101netmask255.255.255
Wesley13 Wesley13
4年前
C++中输出16进制数
方法1:chardata2{0x0A,0x0B};charresult8;for(inti0;i<2;i){sprintf(result,"%X",datai);//%X结果为大写,%x结果为小写cout<<"result"<<resulti<<endl
Wesley13 Wesley13
4年前
verilog 仿真时读取txt文件
reg7:0data;initialbegin10clk0;forever4clk~clk;endinitialbegin20rst1;20rst0;endreg7:0
Wesley13 Wesley13
4年前
FLV文件格式
1.        FLV文件对齐方式FLV文件以大端对齐方式存放多字节整型。如存放数字无符号16位的数字300(0x012C),那么在FLV文件中存放的顺序是:|0x01|0x2C|。如果是无符号32位数字300(0x0000012C),那么在FLV文件中的存放顺序是:|0x00|0x00|0x00|0x01|0x2C。2.  
Wesley13 Wesley13
4年前
BC开方(乙)
functionbcroot($幂,$指'3',$scale0){开方$dfalse;if($幂'0'){return'0';}elseif($幂'1'){return'1';}$指数
Wesley13 Wesley13
4年前
525. Contiguous Array
Givenabinaryarray,findthemaximumlengthofacontiguoussubarraywithequalnumberof0and1.Example1:Input:0,1Output:2Explanation:0,1isthelo
Stella981 Stella981
4年前
Kali Day01
1root@kali:~/文档arpspoofieth0t172.20.151.172.20.151.1234:64:a9:36:4:b70:0:0:0:0:0080642:arpreply172.20.151.1isat34:64:a9:36:4:b7334:64:a9:36:4
Stella981 Stella981
4年前
JVM 字节码指令表
字节码助记符指令含义0x00nop什么都不做0x01aconst\_null将null推送至栈顶0x02iconst\_m1将int型1推送至栈顶0x03iconst\_0将int型0推送至栈顶0x04iconst\_1将int型1推送至栈顶0x05ic