There's someone asked a question in a community about how to connect MySQL with VB Script (VBS).
I think it is an interesting topic and I've never tried it before.
So I just created a prove of …
Read more...
I have my little Latte Panda machine that run Windows server and I want it to auto turn of at 2am everyday.
Therefore I create a simple one PowerShell script file to turn off a machine automatically. …
Read more...
Link to download SQL Server Express with SQL Server Management Studio (SSMS) multiple version.
Please select 32bit or 64bit version with SQL Server Management Studio (SSMS) to install.
Microsoft® SQL …
Read more...
Starting from SQL Server 2008, you can use the following SQL query to get the version information of your SQL server.
SELECT @@VERSION
Execute the command in SSMS and it will show output like this …
Read more...
I sometime need to kill multiples processes manually e.g., to kill all Chrome drivers in my computer.
I think the following PowerShell script is pretty handy and maybe useful for other people as well. …
Read more...
Vim surround with
If you have Vim surround with plugin installed, you can use a powerful command
of surround with to add or remove character around a word.
Add surround character
ys<motion><character> …
Read more...
In Vim, you can make a bookmark and assign a character to reference the bookmark.
Then you can jump to that bookmark.
You can use '{character} and `{character}
The difference between '{character} and …
Read more...
I sometimes have wrong typing my friend's name.
His name is Phuong but I typed as Phoung.
However, Vim has a useful command to help this.
With xp the combination of x cut and p = paste.
When we use …
Read more...
When you make some changes, Vim records your changes as a change list
To see your change list use :changes
You can go backward in a change list by using the command
g;
For go forward use the …
Read more...
Vim record your as jump list
To see your jump list use :jumps
You can go backward in jump list by using command
ctl+0
For go forward you this command
ctrl+i
You can repeat it to continue go …
Read more...