Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on MS SQL Server

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. convert: 106 - dd mon yyyy, 101 - mm/dd/yyyy

Remote Desktop Using Remmina

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

NoMachine is a better alternative than Remmina for Linux.

  1. Remmina does not save plain password, instead, it saves encrypted password. So do not worry about password leaking using Remmina.

Auto Typing Using AutoKey

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. matching case is very interesting, sounds like something to save your work

  2. the file based structure is not good as it restrict names that can be used for hotkeys ...

Debug C/C++ Code Using GDB

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. lines use : while functions use ::

  2. use relative path from the executable to implementation files!!!

    b ../../tree.cpp:31 if knot->name()=="GO:0006139"
    
  3. it seems that there is a bug in …

Tips on IBus

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. advanced, share among all ...

Tips on MongoDB

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

{"\(and": [{"tags": {"\)regex": "idea"}}, {"tags": {"$regex": "idea"}}]}

{"\(and": [{"tags": {"\)regex": "idea"}}, {"tags": {"$regex": "mob"}}]}

mongoimport -d notes -c note notes.json

mongodb: dbpath, centos: /data/db by default