海铝 A330-100电脑小机箱(黑拉丝)赏析
最近很迷Micro-ATX板的小机箱,网上搜集许多产品,最终决定买这一款:海铝 A330-100电脑小机箱(黑拉丝)
购于淘宝北京卖家,价格219+30运费从石家庄发货,从发货到收货(南宁)总共四天时间,速度不错。沉甸甸的装箱有4.7Kg重,然而拆出机箱本体,虽然有2Kg,拿起来感觉意外的轻。
机箱尺寸385x180x370mm(长x宽x高),亲自测量结果完全符合标称数值。我选择的是黑拉丝颜色,实际颜色接近黑灰,暗光下更黑,亮光下则因反光显得更亮。全机箱果真为全美铝合金制,外部为拉丝处理,不容沾指纹和污垢,但是受尖锐物品划伤后痕迹明显。
BCMath: PHP浮点数精确运算
bc是Binary Calculator的缩写。
bc*函数的用法:
string bc*(string $left_operand, string $right_operand[, int $scale])
p7zip命令详解释
–help命令输出的帮助:
1080p、720p、480p对应resize
| 1920×1080 | 1280×720 | 848×480 (720p crop: 4,0,4,0 | 1080p crop: 6,0,6,0) |
| 1920×1032 | 1280×688 | 848×456 |
| 1920×816 | 1280×544 | 848×360 |
[转]centos/redhat安装Git
首先安装Git依赖的一些包:
yum install zlib-devel yum install openssl-devel yum install perl yum install cpio yum install expat-devel yum install gettext-devel
Linux的关机与重启命令
重启命令:
1、reboot
2、shutdown -r now 立刻重启(root用户使用)
3、 shutdown -r 10 过10分钟自动重启(root用户使用)
4、shutdown -r 20:35 在时间为20:35时候重启(root用户使用)
如果是通过shutdown命令设置重启的话,可以用shutdown -c命令取消重启
关机命令:
1、halt 立刻关机
2、poweroff 立刻关机
3、shutdown -h now 立刻关机(root用户使用)
4、shutdown -h 10 10分钟后自动关机
如果是通过shutdown命令设置 关机的话,可以用shutdown -c命令取消重启
FFmpeg任一帧截图
ffmpeg -i input.ts -f image2 -ss 00:01:00 -vframes 1 pic_1.png
CISCO 学习笔记:路由器配置
//配置RIP
R(config)# router rip //进入路由RIP配置模式
R(config-router)# network 192.168.1.0 //配置第一个网络
R(config-router)# network 192.168.2.0 //配置第二个网络
R(config)# no router rip //清除路由RIP配置
R(config-router)# passive-interface fa0/0 //将fa0/0配置为被动接口
CISCO学习笔记:交换机配置
//配置VLAN
S(config)# vlan 99 //创建vlan
S(config-if)# name Guest //为当前vlan命名
S(config)# int vlan 99
S(config-if)# ip address 172.16.10.12 255.255.255.0 //为当前vlan配置IP地址
S(config)# int fa0/1
S(config-if)# switchport mode access
S(config-if)# swi acc vlan 56 //将当前端口添加到vlan 56
CISCO学习笔记:基本命令
注:无特别注明的命令都适合路由器和交换机
R(config)# enable password class //将特权执行模式口令设置为class
R(config)# enable secret class //将特权执行模式加密口令设置为class
R(config)# line console 0 //为控制台连接配置口令
R(config)# password cisco
R(config)# login
R(config)# line vty 0 4 //为虚拟终端配置口令
R(config)# password cisco
R(config)# login