All posts by ht

How to Change Your Default Applications on Ubuntu

File Associations

To set the default application for a specific file type, locate a file of that type in the file manager, right-click it, and select Properties.
Click the Open With tab and select the application you want to use for that file type. Use the Set as default button to make the application the default application.

查询苹果系统验证状态

方法:
1首先,打开iPhone上的浏览器,Safari浏览器或者其他下载的浏览器
2打开后,在地址栏输入【ipsw.me】
3向下找到【select a device】
4点击后面的倒三角,选择设备
5选择好设备后,选择select iOS version,可以看到iOS9.1的背景是绿色的,说明当前只能刷iOS9.1版本的固件,其他背景为红色的都无法更新
6这个网站不仅可以在iPhone上打开,在电脑上也可以打开

Ubuntu MATE for the Raspberry Pi 2 and Raspberry Pi 3

Martin Wimpress and Rohith Madhavan have made an Ubuntu MATE image for the Raspberry Pi 2 and Raspberry Pi 3 which you can download or build yourself.
The image is based on the regular Ubuntu armhf base, not the new Snappy Core, which means that the installation procedure for applications is the same as that for the regular desktop version, ie using apt-get. However, since Ubuntu MATE 16.04 snap packages can be installed alongside classic deb packages. Continue reading Ubuntu MATE for the Raspberry Pi 2 and Raspberry Pi 3

find 命令

Linux中find常见用法示例

·find   path   -option   [   -print ]   [ -exec   -ok   command ]   {} \;

find命令的参数;
pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。
-print: find命令将匹配的文件输出到标准输出。
-exec: find命令对匹配的文件执行该参数所给出的shell命令。相应命令的形式为’command’ { } \;,注意{ }和\;之间的空格。
-ok: 和-exec的作用相同,只不过以一种更为安全的模式来执行该参数所给出的shell命令,在执行每一个命令之前,都会给出提示,让用户来确定是否执行。 Continue reading find 命令