Tips & Tricks

137 posts

[Fix] A connection was successfully established with the server, but then an error occurred during the login process

After you create a new login for a database in your SQL Server and try to use it to connect to your database, you may encounter a “login for ‘your_username’ failed” error. The reason for this common error is that by default MS SQL Server runs in “Windows Authentication mode”. And you will need to change it to “SQL Server and Windows Authentication mode” by following the steps below: Launch SQL Server Management Studio Log […]

Using CSS Margin Auto May Cause CSS Transitions Not To Work

The CSS transitions and transformations make it very easy to change different properties of an element on a web page and to apply those changes without using JavaScript. For instance, we can use simple CSS transitions to move a <div> box slowly to the right side of a window when the mouse hovers over the window, as shown in this code snippet: See the Pen A simple moving box by Jeffrey (@NTOTL) on CodePen. In […]

How to Validate Date when Using jQuery Datepicker

It is a common practice to use some calendar tool for date entry in a web application because it is user friendly and can enforce the format of the entered date to the way you want it to, for example, jQuery Datepicker. But it is also important that user can manually enter a date if they choose not to use the calendar tool or when it is easier to manually enter the date than using […]

How to Legally Install and Use Windows 10 Without Product Key

Do you know you can legally install and use Windows 10 without a product key? If no, you can consider this post the good news for you. I have been switching between Windows and Linux (mainly Ubuntu and Linux Mint) in the past years until the official release of Ubuntu 18.04 LTS when I finally decided to go all out with Ubuntu and wiped Windows from my laptop. And I am happy and satisfied with […]

[Fix] Cannot boot after installing Linux Mint in UEFI mode

Linux Mint is a popular Linux distro and is based on Ubuntu LTS distribution. Recently, Linux Mint 19 was released, almost three months after the release of Ubuntu LTS 18.04, with many new features and I decided to give it a try, but the installation was not as smooth as I expected. First, I got an GRUB installation error: The ‘grub-efi-amd64-signed’ package failed to install into /target/. Without the GRUB boot loader, the installed system will […]

[Fix] ‘grub-efi-amd64-signed’ package failed to install into /target/

[UPDATE 07-18-2018] It seems that some people still get the same error message after unchecking “Install the third party software” option. If that is the case for you, you can try the following: 1. Reboot your computer with Live USB and start Ubuntu (or Linux Mint) installation again 2. At the “Installation type” step, choose “Something else” 3. Delete all partitions (since you already have trouble installing Ubuntu, I don’t think you need to worry […]

How to Uninstall VMWare Workstation Player 12 in Windows 10

Windows 10 is a great operating system and works great…oh well at least when it’s working it works great. When it’s not working, you will probably be banging your head on the wall and yelling why. Recently I just had a moment like that. I was using VMWare Workstation Player 12 and decided to upgrade to Player 14, so I need to uninstall Player 12 first. It should be a simple task in Windows 10, […]

[Solved] How to install Realtek rtl8812au WiFi Driver in Linux

[UPDATE 07/16/2019] After upgrading to Linux kernel 5.0, the two Github repos in the original post and the last update do not work any more. Fortunately, here is the working repo: https://github.com/AstroDrabb/rtl8812au and you will need to Clone the repo to your PC: git clone https://github.com/AstroDrabb/rtl8812au Copy all contents in the folder to “/usr/src/8812au-4.2.2 Follow the steps under the DKMS section  It worked for me. Hopefully, it will work for you too. [UPDATE 04/23/2019] The […]

How to switch to Linux from Windows gradually

This post is for those who had some experience with Linux or had tried Linux before, but never made up mind to switch to it. Linux has become better and better in every aspect of the operating system, especially with the new release of Ubuntu 17.10 and Linux Mint 18.3, I think it is the right time to dive into Linux and eventually switch to Linux from Windows. However, if you think you are still […]