摘要:
中键的快捷键使用:选择文本--移动鼠标--中键(即粘贴选择的文本到鼠标移动的地方)1. One common shortcut is to paste selected text. (This is sometimes called primary selection paste.) Select the text you want to paste, then go to where you want to paste it and middle-click. The selected text is pasted at the mouse position.注意:粘贴文本用中键 与 cli 阅读全文
摘要:
sudo apt-get install smbfsbut failedfollow the hintssudo apt-get install cifs-utilsoknow i can mount windows share direcotry挂载windows的共享目录mount -c cifs -ouser=xxx,passwd=yyy //192.168.1.1/share_dir /mount_point 阅读全文
摘要:
sudo fallocate -l 768m swap.filesudo chmod 600 swap.filesudo mkswap swap.filesudo swapon swap.filesudo vi /etc/fstabadd line:/boot/swap.file none swap sw 0 0 阅读全文
摘要:
# 开启ip转发echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward# 用iptables 实现拦截 nat伪装sudo iptables -t nat -I POSTROUTING -j MASQUERADEsudo ifconfig eth0 down #关闭网卡sudo ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE #然后改地址sudo ifconfig eth0 up #然后启动网卡查看当前系统所有的监听端口nc -zv localhost 1-65535如何查看HTTP头w3m -dump_head htt 阅读全文
摘要:
数据库总是没有好好学习, 在校学 sqlserver 当时有点抵制, 现在觉得有点后悔,在大的时候学习 mysql 当时还不知道怎么安装。 后来多次学习 都没有深入(惭愧)数据的处理不在其复杂的特性, 不在其市场, 而在于其适用。信息的精髓 与社会的发展(引导)。price/performance/scalabilityMySQL is relatively light-weight, can be extremely fast when applications leverage architecture. Lots of features stay free as the database 阅读全文
摘要:
2470 /*2471 * This is the 'heart' of the zoned buddy allocator.2472 *//* 参数理解: *//* GFP = Get Free Pages ? *//* 098 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; *//* #define DECLARE_BITMAP(name,bits) \ unsigned long name[BITS_TO_LONGS(bits)] *//* typedef struct { unsign 阅读全文
摘要:
Spacebar (page down) 空格键Shift-Spacebar (page up) shift+空格Ctrl+F (find) 查找 / 快速查找 “/”Alt-N (find next) 下一个 或者 enter键shift+Ctrl+D (bookmark page)Ctrl+T (new tab)Ctrl+K (go to search box)Ctrl+L (go to address bar) / Alt + D — highlights the text in the Location BarCtrl+= (increase text size)Ctrl+- (dec 阅读全文