If you want a logon password to secure your Windows 10, you can create a password, add a PIN code, and set up a Picture password for your user account. However, sometimes password may bring much inconvenience so that you don't want any password. In this case, just don't set up any password or disable password logon. Now here we show how to disable PIN, Picture and Password logon in Windows 10.
作者: 默默
华为WS832修复(ubuntu 16.04.5系统下进行操作)
华为WS832
已经损坏了很长时间了,一直提示是没有插上网线,明显是WAN
口损坏了。跟华为的售后扯皮了几个月,华为拒绝维修,更换政策又非常的不合理,最后的解决方案就只剩下自己维修这一条路了。
树莓派2B调试SPI接口
最近需要用树莓派2B
自带的SPI
接口调试CYPRESS
的FM25W256-GTR
芯片,这里记录一下整个的调试过程。首先是打开树莓派2B
自带的SPI
接口,默认情况下,这个接口是关闭的。
Ubuntu 17.10升级到Ubuntu 18.04 LTS
Ubuntu 17.10/18.04使用内置指纹识别(联想T440内置Synaptics Validity Sensors)
最近想在自己的联想T440
机器上启用内置的指纹识别,具体的执行命令如下:
1 2 3 4 5 6 7 8 9 |
$ sudo add-apt-repository ppa:fingerprint/fingerprint-gui $ sudo apt update $ sudo apt install libbsapi policykit-1-fingerprint-gui fingerprint-gui $ sudo apt-get install fprintd libpam-fprintd $ sudo apt install fprint-demo |
继续阅读Ubuntu 17.10/18.04使用内置指纹识别(联想T440内置Synaptics Validity Sensors)
ubuntu 16.04系统上开启PHP7的OpCache
目前使用的阿里云服务器是通过阿里云ECS ubuntu 14.04.5 LTS升级到ubuntu 16.04.2 LTS升级上来的,升级之后,一直没有开启PHP 7.0
的OpCache
。以前感觉性能还够用,最近发现有些卡顿现象,因此想到开启OpCache
。
开启命令如下(PHP-FPM
模式):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
$ sudo apt install php7.0-opcache $ sudo phpenmod opcache # PHP-FPM模式的配置文件 $ FILEPATH="/etc/php/7.0/fpm/php.ini" # Enable the opcache. $ SEARCH=";opcache.enable=0" $ REPLACE="opcache.enable=1" $ sudo sed -i "s:$SEARCH:$REPLACE:" $FILEPATH # Set the amount of memory we can use for caching. # The production server has oooooodles of RAM. $ SEARCH=";opcache.memory_consumption=64" $ REPLACE="opcache.memory_consumption=256" $ sudo sed -i "s:$SEARCH:$REPLACE:" $FILEPATH # increase the number of files to cache $ SEARCH=";opcache.max_accelerated_files=2000" $ REPLACE="opcache.max_accelerated_files=1000000" $ sudo sed -i "s:$SEARCH:$REPLACE:" $FILEPATH # Don't bother revalidating files for a long time because # they should never change. # Obviously you need to undo this in dev. $ SEARCH=";opcache.validate_timestamps=1" $ REPLACE="opcache.validate_timestamps=3000" $ sudo sed -i "s:$SEARCH:$REPLACE:" $FILEPATH #重启服务 $ sudo service php7.0-fpm restart |
网站响应速度有明显的飞跃。
参考链接
基于CC1310的Contiki 6LoWPAN组网技术应用
基于CC1310的Contiki 6LoWPAN组网技术应用
继续阅读基于CC1310的Contiki 6LoWPAN组网技术应用
ubuntu 16.04系统minicom退出方法
1)需使用Ctrl+a 进入设置状态
2)按z进入设置菜单
(1)S键:发送文件到目标系统中;
(2)W键:自动卷屏。当显示的内容超过一行之後,自动将後面的内容换行。这个功能在查看内核的啓动信息时很有用。
(3)C键:清除屏幕的显示内容;
(4)B键:浏览minicom的历史显示;
(5)X键:退出mInicom,会提示确认退出。
参考链接
minicom保存uart log
使用minicom也有很长时间了,只用minicom抓过uart log,但是从来没有去保存过这个log,也不知道有这个功能。后来在超级终端中发现有这个功能(传送->捕获文字),想想minicom应该也有这个功能才对,后来搜索找到怎么用了,方法如下:
干涉仪测向原理
干涉仪测向原理