Laravel: How to fix Laravel Queues Errors not updating on runtime
I was doing development with Laravel Queues and noticed that I am having the following errors. To solve the above error, I added the following code to the top of my Jobs file for it to reference the correct DB and Log class. But even with the additional code, I am still getting the same…
How to install Visual Studio Code in Ubuntu
If you want to install Visual Studio Code in Ubuntu then you can follow the steps below. Note: I’ve tested the installation instruction below for Ubuntu 20.04 (Focal Fossa) and 22.04 (Jammy Jellyfish). #1 Download the Visual Studio Code .deb installer Go to https://code.visualstudio.com/#alt-downloads. Under the Linux installers, select the .deb installer that is for…
How to solve dsadd error: Not enough memory resources are available to complete this operation
I was creating Powershell scripts for creating a user in my Windows Active Directory using the dsadd user command, but when I ran the command it should the following error. dsadd failed: cn=SaiSciTech,cn=Users,cd=ad,dc=saiscitech,dc=com: Not enough memory resources are available to complete this command
How to run Python 3 virtualenv in Ubuntu
As best practice, whenever you have a new project in Python you should always run it in a virtual environment so that packages will not be installed globally that may affect system tools. The most common virtual environment for Python3 is virtualenv. By default, Python3 is already installed in Ubuntu, but virtualenv is not. The…
How to install pip3 in Ubuntu
If you’ve installed Ubuntu recently, by default it comes with Python 3 installed. The issue is when you want to install a Python package, then you will need pip3.
How to show battery percentage in Ubuntu 22.04
If you are the type of person who wants to know your battery percentage without clicking anything then you will not be happy with the default system tray battery icon of Ubuntu 22.04, since it does not show the battery percentage. Follow the tutorial below on how you can always show the Battery Percentage in…
AWS SSO cannot attach a permission set in an AWS account using Delegated Administrator account and how to solve it
If you have assigned an AWS Single Sign-On (SSO) Delegated Administrator Account you might have noticed that there are permission sets that you cannot assign to your accounts. The reason for this is that if you are in the Delegated Administrator Account, you cannot assign any Permission Set that you already have assigned to the…
How to disable screen lock in Ubuntu 22.04 Desktop
If you are idle for 5 minutes on a fresh install Ubuntu 22.04 Desktop, you’ll be surprised that a lock screen will display and you have to re-login. Lock screens are not actually bad since it’s a security feature that will help prevent other people operating your computer when you left it alone. But for…