现在的笔记本、台式机,都不用BIOS,改成用UEFI了。
想要体验下UEFI但又不想在搞砸自己的系统咋办?
当然是在免费的VMWARE PLAYER里面使用UEFI了!
但是UEFI默认在VMWARE PLAYER里面是关闭的。这个时候就需要使用这个OpenSource的工具了:
打开这个Enable “efi” BIOS boot type,你就可以体验UEFI了。
现在的笔记本、台式机,都不用BIOS,改成用UEFI了。
想要体验下UEFI但又不想在搞砸自己的系统咋办?
当然是在免费的VMWARE PLAYER里面使用UEFI了!
但是UEFI默认在VMWARE PLAYER里面是关闭的。这个时候就需要使用这个OpenSource的工具了:
打开这个Enable “efi” BIOS boot type,你就可以体验UEFI了。
现在磁盘分区升级成GPT,主板引导也变成EFI。虽然可以用Ghost 11.5,但是感觉不大好用…
研究了一下,推荐Macrium Reflect。简单易用的操作界面,备份、克隆速度也不错!
关键还是免费软件~ 🙂
http://www.macrium.com/reflectfree.aspx
这下满意了吧?
最近在Ubuntu上安装LAMP,并假设Wordpress。发现权限无论怎么设,除非设置为执行Apache的用户,才能避开这个问题。
弄了半天,最后发现在wp-config.php里面加入这句话可以解决这个问题:
define('FS_METHOD', 'direct');
在安装完Win10以后,才发现居然没有打开硬盘的AHCI模式。怎么办?
别急,其实很简单。不用重装Win10的。照下面步骤来就行。
bcdedit /set {current} safeboot minimal
bcdedit /deletevalue {current} safeboot
如下命令
grep -rnw '/path/to/somewhere/' -e "pattern"
-r 或者 -R 为递归查找, -n 是行号 -w 为要求全匹配. -l (小写L) 参数可以只列出文件名.
除此以外, –exclude 或者 –include 参数可以提供更有效的查找。比如:
grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"
这个可以查找扩展名为.c或者.h的文件. –exclude的用法也类似:
grep --exclude=*.o -rnw '/path/to/somewhere/' -e "pattern"
上面这行命令在搜索中会排除扩展名为.0的文件。和包含/不包含文件一样,目录也可以使用 –exclude-dir 和 –include-dir 参数。 比如下面列出怎么使用 –exclude-dir:
grep --exclude-dir={dir1,dir2,*.dst} -rnw '/path/to/somewhere/' -e "pattern"
如果单是遍历查找文件的话可以用
find . -name '*.xml'
如果想遍历删除某种类型的文件的话,可以用
find . -name '*.xml' -type f -delete
很多喜欢Win7,Win8的朋友正在经受着整天提示升级Win10的骚扰。就是不升,怎么着~哈哈
那怎样去掉这个恼人的提示呢?
卸载KB3035583,然后选择忽略此更新。
Done
If you are using a wired connection on your PC or using a USB connection with your 3G or 4G LTE dongle, you can share this connection to other devices. This means you can connect other smartphones, tablets and even laptops to this connection by creating aportable wireless hotspot on Windows 10. There is no direct UI to create the hotspot, but you can easily do it using few commands.
In this article, we will show you how to get started in creating a wireless hotspot in Windows 10.
To get started, right click on the Windows start button and click Command prompt (admin). This will open the command prompt in administrator mode.
Now type the following command;
netsh wlan set hostednetwork mode=allow ssid=AdHoc key=password
In the above command, you can add your own value for SSID and enter your key. Now press enter.
Now to start the network, type the below command;
netsh wlan start hostednetwork
Now that ad-hoc connection is created with passkey, you need to share the existing connection.
Once the hosted network is enabled, you can see MyWiFi connection listed in the network and sharing center. Now the network needs an internet connection and for this, you need to share the existing active Internet connection. Right click on your existing internet connection and select properties.
Now select the Sharing tab in properties. Check the box against “Allow other network users to connect through this computer’s internet connection”. Then select the newly created Wi-fi connection from the drop down list. Now save the details and close the properties.
Now you can see Internet available on the new hotspot connection created.
In case you want to stop the hosted network, use this command;
netsh wlan stop hostednetwork
If you find this method difficult, you can probably use tools like Virtual Hotspot,Connectify or mHotspot.
Ref: http://www.nirmaltv.com/2015/08/18/how-to-create-a-wi-fi-hotspot-in-windows-10/
在国内是很难打开Google相关服务的,比如google.com和gmail.com…
其中一个重要原因就是DNS污染太严重。怎么办呢?只能手工指定DNS解析了。
附件是一个hosts文件,你可以用这个文件来替换Windows下的hosts文件来修正DNS污染问题。