Monday, January 30, 2017

How to open folders with multiple tabs / view directories with multiple tabs on Windows

Two solutions:
1. Download clover. It hijacks your default folder viewer to allow for multiple tabs. This software used to cause trouble but it's improving. If you are concerned with uncertain risks this is not for you.

2. Use Google Chrome! For example, open a new tab on Google chrome and type C:\\
You will open your C disk folder on Google chrome and view its contents. The advantage is you can combine your multi-tabbed browser with multiple directories into one single window.


Wednesday, January 25, 2017

[solved] how to add Chinese lunar calendar to Google Calendar

Calendar->Settings->General->Alternative Calendar->Chinese Calendar-Simplified Chinese

reference:
https://productforums.google.com/forum/#!topic/calendar/6E7-iW96gHs

Monday, January 23, 2017

植物大战僵尸online 挑战关 收集阳光1 无道具无付费攻略

使用火龙、蒲公英、向日葵、地毯、两个坚果(一个来自好友)

最右列种坚果当肉盾
右起第二列种蒲公英
右起第三第四列种火龙(可能需要地毯)
左边疯狂种植向日葵
中间地带种蒲公英足以解决僵尸将军

总之:不停种向日葵收货阳光,然后用得到的阳光不停种坚果维持前线

Sunday, January 22, 2017

BOA maintenance fee -8.95

This new policy came out that the default paper delivery of bank summary causes you to be charged with this.

No way to eliminate it
But you can switch to paperless manner by calling them

Friday, January 20, 2017

[solved] Notepad++ can't perform find or replace. Nothing found

Solution: check the checkboxes and make sure you unselect "Match Whole word only"

Wednesday, January 18, 2017

[solved] linux nano automatically creates linebreaks when copy pasting from a windows txt file

There is bad communication between a windows text editor and a linux nano editor when you copy and paste.

Solution:
Use filezilla etc. to directly transfer a file instead of copy pasting

Friday, January 13, 2017

How to print/extract/save powerpoint notes to a text file on Mac

It's a little bit tricky. I'll take Mac Office ppt as an example

The principle is ppt -> pdf -> txt

1. open your ppt file
2. on the top bar click File -> print
3. in the printer window, make sure you select PDF as the output instead of real printers
    current option -> "PowerPoint" Layout -> "Notes"
    Click print
    You'll get a pdf with both the slides and texts
    But the slides are in image format so the texts in the slides won't be recognized and saved, so that you can only save your notes

4. go to http://pdftotext.com/
5. drop your pdf file to the upload box
6. click "Download All"

Alternatively
4. open the pdf using acrobat adobe
5. File -> Save as -> more options -> Text

Monday, January 9, 2017

How to run Linux commands despite wireless network disruption

Use Screen: Attach and detach

https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/

Friday, January 6, 2017

gangqinpu.com 虫虫钢琴网曲谱修改快捷链接

http://www.gangqinpu.com/pux/scpu.aspx

更新谱面缓存:

http://www.gangqinpu.com/user/upmypudata.aspx

Monday, January 2, 2017

clear wechat storage 微信缓存清除

Although there are multiple apps to do it and everybody knows Me->settings -> General -> Storage -> Clear WeChat, they may not be easy or even effective.

The easiest way is: manually delete your group chat history and some chat history with a lot of videos/photos.

That works very well.

Sunday, January 1, 2017

linux: can't grep/join txt file due to weird parsing

It's probably due to special windows characters hidden in your txt file created on Windows

One way to tell is:

wc $(head -1 yourtxtfile)

to see from the error message whether your first line contains anything like '$'\r'

If yes, you can remove them on Linux by using:
awk '{ sub("\r$", "");print $1}'  yourtxtfile