contact
blog
news
services
home
B
log
Total blog posts:
95
Node.js
Logging part 2 - runtime performance
7th Dec 2024
Logging part 2 - runtime performance
Node.js
Logging part 1 - down the process ID (pid) and thread ID (threadId)
23th Nov 2024
Log down the process ID (pid) and thread ID (threadId)
JavaScript
Running a list of function
21st Sep 2024
Data processing can be easier with function list.
JavaScript
Advanced use case of RegEx in JavaScript
28th Jul 2024
A complex use case of string replacement with advanced RegEx.
Node.js
A smarter cleanup process on a working directory
5th July 2024
A smarter cleanup process on a working directory.
JavaScript
Javascript - Immediately Invoked Function Expression (IIFE) firing timing
15th Apr 2024
The firing timing of Immediately Invoked Function Expression (IIFE).
JavaScript
Javascript Array use case
1st Apr 2024
Array is one of the fundamental types that appears in all programming languages which every programmer should master in its usage.
JavaScript
JavaScript function parameter
25th Aug 2023
Some secret features in JavaScript function parameter
Node.js
Array.sort() performance
25th July 2023
Finding ways to improve the Array.sort() performance.
JavaScript
Async performance
13th April 2023
The cost and performance for adding async keyword to a function
JavaScript
Use case of RegEx in JavaScript
16th Mar 2023
String operation is very common in any program especially those requires in processing user input.
Powershell
Using 7z in Powershell
2nd Mar 2023
Calling 7z for compressing files
Ubuntu
Adding new website to Nginx
12th Jan 2023
Adding new website to Nginx
Ubuntu
Incremental backup for directory using rdiff-backup
14th Oct 2022
Automating the data backup with rdiff-backup.
JavaScript
Javascript setTimeout with async callback
6th Sep 2022
Javascript setTimeout with async callback
Node.js
The loading sequence for require() in Node.js
18th Jun 2022
Let's analyse the script file loading sequence for require().
JavaScript
Error handling for async/await and Promise
30th Apr 2022
Error handling for async and Promise
JavaScript
Async/await vs Promise and its side effects
14th Mar 2022
Async/await is not a solution for everything and the Promise() is still having a reason to exist.
Node.js
Worker thread vs child process fork in Node.js
7th Jun 2021
It will be good to see the performance comparison between worker thread and child process fork before deciding which route to go.
MSSQL
Analyze data with MSSQL SELECT statement
31th May 2021
Learn how to analyze the data with SELECT statement
Node.js
Install private Node.js package
13th May 2021
Install private Node.js package and make it accessible in the console
Ubuntu
Hardening your server
4th Feb 2021
The public facing server has a higher risk of being hacked or attacked. So, you may want to minimize the risk by following the steps mentioned in this article.
App DEV
Design an iOS app for managing project earning and payout
22nd Jan 2021
Design an iOS app for managing project earning and payout
Node.js
Parsing CREATE TABLE statement with Regex in Node.js
18th Jan 2021
Regex is one of the most mysterious and complex stuffs to understand.
MSSQL
Implementing discount process in MSSQL
12th Jan 2021
Implementing discount process in MSSQL
Ubuntu
Add a new hard disk/partition
5th Dec 2020
When you need more space.. try this out
Ubuntu
Install Nginx
5th Dec 2020
Running a web server is the minimum thing in your big enterprise.
Ubuntu
Install Node.js and PM2
5th Dec 2020
Developing web applications using Node.js and making it running fulltime using pm2.
Ubuntu
Install php-fpm
5th Dec 2020
Developing websites, especially business applications with PHP is fun.
Ubuntu
Ubuntu installation checklist
5th Dec 2020
This installation checklist will guide you on how to set up a web server or file server for office use.
Powershell
Preload your favorite scripts in PowerShell
14th May 2020
It is best if all our favorite functions are ready when Powershell starts.
Powershell
Failed to download from Internet
12th May 2020
Failed to download file from a web server.
Powershell
Tricky ConvertTo-Json in Powershell
11th May 2020
Converting Powershell objects to JSON with ease.
Powershell
Handling XML in Powershell
4th May 2020
Powershell is able to handle XML structure easily.
Powershell
View the binding for the website in IIS
10th Feb 2020
The best part of Powershell to us is the capability of managing an IIS web server.
Powershell
Get all website entries in IIS
6th Feb 2020
Get the list of websites hosted in the IIS.
Powershell
Create scheduled task in Windows Task Scheduler - part 3
27th Dec 2019
Creating scheduled tasks with Powershell command line part 3.
Powershell
Trigger an URL without waiting for its result
23th Dec 2019
curl without waiting for the result.
Powershell
Executing another Powershell script
16th Dec 2019
Here's how to run a third party script.
Powershell
Executing DOS command with Powershell
16th Dec 2019
Do not forget the old DOS command is still useful.
Powershell
Restart IIS appPool
16th Dec 2019
Restarting IIS appPool with a script file.
Powershell
Install PowerShell WMF 5.1
12th Dec 2019
Install Powershell.
Powershell
Create scheduled task in Windows Task Scheduler - part 2
9th Dec 2019
Creating scheduled tasks with Powershell command line part 2.
Powershell
Declaring C# like Class type
5th Dec 2019
Declaring your custom class structure in Powershell.
Powershell
Parsing text into object
5th Dec 2019
Parsing DOS commands results into a Powershell class structure.
Powershell
Matching a string against a list of predefined strings
4th Dec 2019
Matching a string in a string list is easy.
Powershell
Create scheduled task in Windows Task Scheduler
2nd Dec 2019
Creating scheduled tasks with Powershell command line.
MSSQL
Disable the auto-close feature for the database
28th Nov 2019
The script to disable auto close the database in MSSQL
Powershell
The Powershell way to keep configuration in file
27th Nov 2019
You need a place to keep your setting.
Powershell
Compress and decompress file
25th Nov 2019
Compressing files is part of the automation process which is important for creating backup before rolling out the updates.
Powershell
Copying files with Robocopy
25th Nov 2019
Triggering external programs to copy files.
Powershell
Setting up IIS server
18th Nov 2019
Setting up an IIS web server using Powershell.
Powershell
Installing MSSQL server with Powershell
11th Nov 2019
Another task has been simplified and standardized.
Powershell
Installing DNS server
4th Nov 2019
Automating new server setup - installing DNS server.
Powershell
Changing the execution policy
2nd Nov 2019
Updating the execution policy before starting your Powershell script for the first time.
MSSQL
Loop all records
18th Oct 2019
Loop through the records without using cursor in MSSQL
MSSQL
How to find out which index is missing
19th Sep 2019
Looking for missing index in MSSQL
MSSQL
Fix the database state in MSSQL
14th Sep 2019
Change the database state back to normal
MSSQL
Running the same stored procedure sequentially
26th Oct 2018
The script to disable auto close the database in MSSQL
App DEV
Happiness in life with less unnecessary stuffs
24th April 2018
Happiness in life with less unnecessary stuffs
JavaScript
Printing HTML with JavaScript
2nd Nov 2017
Printing HTML is easy and fun
System design
Decoupling the front end from back end
26th Sep 2017
Replacing backend services with ease by decoupling the front end from back end.
JavaScript
Avoiding uncertainty with "this" keyword
12th July 2017
Confusion with 'this' keyword
MSSQL
Wait for a while
22nd Dec 2016
Simulating resource locking with waitfor in MSSQL
JavaScript
Javascript object and class
20th July 2016
null
Ubuntu
Cleanup
22nd Apr 2014
Recovering storage space after upgrade.
Ubuntu
Compression Tool
22nd Apr 2014
Installing 7z program to compress and password protect your backup.
Ubuntu
Configure firewall
22nd Apr 2014
Firewall is crucial for a server especially if it is a public facing server.
Ubuntu
Configure server IP address & DNS
22nd Apr 2014
As long as your server has the need to access the network, you will need to assign an IP address and configure the DNS.
Ubuntu
File & Directory
22nd Apr 2014
Be familiar with chown and chmod which is going to be helpful in running a web server or office server.
Ubuntu
Frequently used commands
22nd Apr 2014
Here are the frequently used commands for you.
Ubuntu
Frequently used directories
22nd Apr 2014
There are 3 frequently used directories: 'etc', 'var' and 'home'.
Ubuntu
Install fail2ban
22nd Apr 2014
fail2ban is an automated defend daemon that safeguards your server.
Ubuntu
Install FTP
22nd Apr 2014
FTP allows the user to upload files to the server without the need of physical access.
Ubuntu
Install OpenSSH
22nd Apr 2014
Accessing the server remotely with SSH feels magical. No other feeling better than this.
Ubuntu
Scheduled a task
22nd Apr 2014
Doing more work with lesser manpower and achieving higher efficiency.
Ubuntu
User & Groups Security
22nd Apr 2014
User accounts in Linux are free of charge. You can add as many as you want.
Ubuntu
Ubuntu Linux Server
20th Apr 2014
Here is my collection of the basic ideas on how to install and maintain an Ubuntu server throughout the years.
MSSQL
Dynamic query
15th Oct 2013
Dynamic query allows you to prepare the query at runtime and executes it
MSSQL
Concatenate all records into one line text
21st Feb 2013
It is slow if you are concatenating all records with a loop in MSSQL
MSSQL
Create user reminder
8th Oct 2012
Reminding user with notification in MSSQL
MSSQL
Benefits of using stored procedure
1st Oct 2012
Want to find out how we use the stored procedure in MSSQL
MSSQL
Generate a series of records with CTE
27th Sep 2012
Here is the correct and better way to generate a series of number or date with CTE in MSSQL
MSSQL
Load the system settings using SQL stored procedure or SQL function
20th Sep 2012
Load the system settings in MSSQL
MSSQL
Process re-entrant
28th Aug 2012
Allow to run the process again in MSSQL.
MSSQL
How to design a better reporting process
7th Aug 2012
Design a better and manageable reporting process in MSSQL.
MSSQL
You need an application log for your systems
24th Jul 2012
An application log for your systems
MSSQL
Design a custom mail process
17th Jul 2012
You need a custom mail process
MSSQL
Design a stoppable long running process
10th Jul 2012
How to design a stoppable long running process?
MSSQL
Tracking the progress of a long run process
3rd Jul 2012
Troubleshooting a long run process is no longer a nightmare.
MSSQL
Database stored procedure development guide
26th Jun 2012
Database stored procedure development guide
MSSQL
Primary key in uniqueidentifier
20th Jun 2012
Implementing primary key with uniqueidentifier in MSSQL
MSSQL
Throw an error in MSSQL and catch by C#
5th Jun 2012
Throw an error in MSSQL and catch by C#
MSSQL
Returning paginated records in MSSQL
22nd Dec 2011
You have a huge table and you do not want to return all records to the browser in one go
MSSQL
Rebuilding indexes to maintain the query performance
24th May 2010
Rebuilding indexes to maintain the query performance in MSSQL
[Find more at App DEV blog]
[Find more at JavaScript blog]
[Find more at MSSQL blog]
[Find more at Node.js blog]
[Find more at Powershell blog]
[Find more at Ubuntu blog]
[Find more at System design blog]
[See what we have done..]
[Get in touch with us..]