Tips & Tricks

146 posts

[Fixed] Error Code 0x851A001A When Installing SQL Server on Window 11

If you try to install MS SQL Server or LocalDB on a Windows 11 computer, especially a Samsung computer, you will most likely encounter an error with code 0x851A001A. This post will show you how to fix this error. The default disk sector size on Windows 11 is 4KB but some new computers may have a sector size greater than 4KB, such as Samsung computers with new SSDs. This will cause the installation of SQL […]

[Solved] Dell Laptop Cannot Power On

Have you had the problem that suddenly your Dell laptop is not able to turn on after you press the power button? In this post, I will show you how to fix this Dell laptop power issue. It happened to me multiple times when I tried to wake up the laptop after it was put into sleep mode for an extended period of time, for example, more than two days. If you have the same […]

[Fixed] ThinkPad T450S touchpad not working in Linux Mint

I have an old Lenovo ThinkPad T450S that is laying around and collecting dust, so I decided to install the latest version of Linux Mint 21 on it to give a new life. I chose Linux Mint over Ubuntu because Linux Mint is built on Ubuntu LTS and everything works “Out Of The Box”, so it is stable and does not require me to manually install any drivers to make it work. The installation was […]

Visual Studio Code Icon

How to Set up Visual Studio Code for Java Development in Ubuntu

Visual Studio Code is the most popular open-source, cross-platform IDE for software developers and it supports various programming languages, such as C++, C#, Python, Java, and more. Besides being a professional development IDE, VS Code is an excellent educational tool for teaching students programming languages. I have been teaching Java to students and I think VS Code is a better choice of IDE than others such as jGRASP, IntelliJ,IDEA or Eclipse. In order to use […]

How to Make Kali Linux Live USB with Persistence in Ubuntu

In this post, I will show you how to create a bootable Kali Linux Live USB in Ubuntu 20.04 LTS and then configure a persistent partition so files and settings can be retained between reboots. Preparation Before we start, make sure you have the following items ready: A blank USB 2.0 or above drive, at least 8 GB GParted Kali Linux Live ISO image file UNetbootin Now, let’s get started. 1. Prepare the USB drive […]

A simple algorithm for calculating the result of Rock Paper Scissors game

The Rock Paper Scissors game is a simple game that everyone knows how to play, and because of its simplicity, it has been used in many tutorials for teaching new programming languages. By creating a Rock Paper Scissors game, a student can grasp the concepts in a programming language such as random numbers, if statements, and “while” loop. There are several ways to write a Rock Paper Scissors game and the basic steps are: The […]

If Remote Desktop Connection not working in Windows 10, try this one thing to fix it

Problem Computer crashes are inevitable and system reinstallation becomes the last resort when they happen, then all sorts of problems emerge after the reinstallation for you to fix. Sounds familiar? That was exactly what happened to me recently. After my computer crashed, I tried Windows update, driver update, and Windows reset, but none of them helped, so I finally decided it is time to reinstall Windows to have a fresh start. I have reinstalled Windows […]

Bootstrap not loading in Angular 8 after installation

Bootstrap is a very popular open-source toolkit for developing professional web applications and it can be used along with other JavaScript frameworks, such as Angular. One way to add Bootstrap in an Angular application is to use npm to install it in your application. Open a command window, then navigate to your project folder, then execute the line of code below: After the installation, you will need to modify the angular.json file to add the […]

Fix ASP.NET Core application HTTP Error 500.30 ANCM In-Process Start Failure

Last week when I was working on an ASP.NET Core web application, suddenly I got an error like this: The common causes listed in the error message are quite vague and not very helpful. But fortunately, the link in the error message above to Microsoft’s documentation site provides some guidance on how to fix the error. I have to admit that the troubleshooting information in the error message or on Microsoft documentation site does not […]

Cannot create initial migration with dotnet ef command in .NET core

By Jason Groce – https://github.com/dotnet/docs/blob/cb475ed45f881e9462e34764480d3b0ebce85e91/docs/images/hub/netcore.svg, Public Domain, Link The new .NET Core 3.0 was released on September 23, 2019, with lots of new features and new changes. Often times, those new changes will not cause any trouble but sometimes they do. And there is one specific change in this new update that will give you a headache if you update to .NET Core 3.0 without reading what has been changed in the new release, and […]