so cute!! especially its big eyes
1. use ctrl+v to select a vertical line
2. type “:norm ctrl+A", where “ctrl+A" is to press your keyboard directly.
3. If you want to increase multiple times, for example, increase by 3, then change step 2 with “:norm 3 ctrl+A"
For the above, “norm" means normal mode command, 3 is the command repeats 3 times and ctrl+A is the normal mode command.
It’s really useful!!!
||Clear the screen|
||Move cursor one character to the left|
||Move cursor one character to the right|
||Move cursor one word to the left|
||Move cursor one word to the right|
||Move cursor to start of the line|
||Move cursor to end of the line|
|Copy & Paste|
||Cut everything from line start to cursor|
||Cut everything from the cursor to end of the line|
||Cut the current word after the cursor|
||Cut the current word before the cursor|
||Paste the previous cut text|
||Paste the second latest cut text|
||Paste the first argument of the previous command|
||Paste the last argument of the previous command|
||Move to the previous line|
||Move to the next line|
||Abort search (restores original line)|
||Restores all changes made to line|
||Auto-complete a name|
||List all possible completions|
||Insert all possible completions|
可以直接在 Google Chrome 瀏覽器的網址列或 Google 搜尋引擎的方框中輸入「cache:http://網站網址」，如「cache:http://briian.com」，即可快速讀取 Google 先前所索引到的掛站前的近期網頁內容。
it’s useful sometimes.
my $str = ‘abc';
substr($str,2,1)= ‘d'; #$str = adc
#I didn’t know that substr can be left side. It looks it is a call by reference!
I have no idea why these two commands are different:
find ./ -name “pattern"
find . -name “pattern"
The first one only find file/folder in the current folder, and the second one can find file/folder “recursively".
can’t get any digital message.
But you can get things by
grep -P ‘\d\+’
This is because grep use POSIX regex and \d is PCRE regex. Basically, it’s just default format issue.
32768 is 2^15 in other words a chain of 15 divide by two stages will give 1Hz out.
In many applications, particularly digital watches, the current consumption has to be as low as possible to preserve battery life. This frequency was chosen as a best compromise between low frequency (= low power consumption) and convenient manufacture where low frequency generally means the quartz is physically bigger.
quote from :http://www.microchip.com/forums/m410159.aspx