iknowthatnow.com - Web development news and tutorials


Web development news and tutorials

What is Absolute zero?

What is absolute zero? Absolute zero is the temperature at which a thermodynamic system has the lowest energy. What does that actually mean? Understanding Absolute Zero (Kelvin) Absolute Zero corresponds to −273.15 °C or −459.67 °F or 0 K (Kelvin). The Kelvin is the Standard International unit of thermodynamic temperature. The Kelvin differs from other more

How to create Alias command in Linux

Alias commands in Linux are a great way to speed up your workflow. In this post, I will show you how to create Alias command in Linux using Bash on WSL (Windows Subsystem for Linux). What is an Alias command? The alias command in Linux allows you to create custom shortcuts for frequently used commands.

Run Python Script on boot

Writing your own Shell scripts is a great way to automate your processes. In this post, I will show you how to Run Python Script on boot. This example will be for Raspberry Pi Computers and will run a python script when the device is booted and the user has authenticated. The Python Script we

How to use Laravel Factory in Database Seeders

Laravel factories are a great way to add test data to your database in bulk. This saves time, removing the need to write methods to insert data for each column manually. Follow along to learn how to use Laravel Factory in Database Seeders.  To get started, create a new model. The model we will create

WSL vs Dual Boot speed test

In this experiment, I will be using WSL2 running Ubuntu 20.04 and Ubuntu 20.04 dual-booted on the same Dell XPS. Is there a noticeable difference? Follow along for the results of the WSL vs Dual Boot speed test. If you are like me and use different development environments a lot, you may find the results

How to access Laravel env variables in Vue.js | Laravel MIX

Using Laravel and Vue together is a common approach as it allows the MVC framework to handle the logic, and an application-like user interface for the frontend. Learn how to use Laravel environment variables in Vue.js. MIX Environment Varaibles Vue js files are compiled by Laravel Mix. To have Mix compile your environment variables from

Vue 3 Popup Modal Component – Create a Modal

In this post, I’m going to show you how to create a Popup Modal Component in Vue 3. This Popup Modal will use the built-in transition component. The Modal we will create looks a lot like the Modal Dialogs used by Apple in iOS. We will use Tailwind CSS for styling. What is Vue?  Vue

Check your Composer version – How to install and use Composer for PHP

Composer is a dependency manager for PHP. First released in 2012, Composer, and its adoption by popular frameworks such as Laravel, has single-handedly driven the rise in PHP adoption in recent years. In this post, I will show you how to install and use Composer. How to install Composer To get started, download Composer from

Create SSH Connections in DBeaver

In this post, I will show you step-by-step how to Create SSH Connections in DBeaver. Create SSH Connections in DBeaver First, select the Create New Connection option found in the top right. This will open a window to select the database driver. In this example, I will be creating an SSH connection to a MySQL

PHP Variable Variables

In PHP, it is sometimes necessary to have variables that have variable names. Traditionally, a variable is given a name and a value is given to the variable like so: $foo = 'bar'; A Variable Variable, or Double Dollar Variable, gets its name from the value of another variable like so: $foo = 'bar'; $$foo