Skip to content
October 9, 2026
Newsletter
Random News
TechRadiant

TechRadiant

Your Destination for Tech News, Reviews, AI News and AI Articles

  • AI
  • Javascript
  • React
  • Bash
  • Git
  • Magento
  • Mysql
  • Redis
  • Frontend
  • Backend
    • PHP
    • Laravel
    • Redis
Headlines
  • 3 days ago3 days ago

    Top 12 AI Video Generators in 2026 (Compared by Use Case)

  • Docker
    2 weeks ago

    How to Push a Docker Image to Docker Hub (Step-by-Step Guide)

  • 3 weeks ago3 weeks ago

    Meet Jev: The AI Model That Makes Decisions Instead of Sentences

  • 4 months ago4 months ago

    How to use Claude Code for Free?

  • Dokploy vs Coolify
    5 months ago5 months ago

    Dokploy vs Coolify: Which Self-Hosted PaaS Should You Actually Use in 2026?

  • Docmost
    5 months ago5 months ago

    Docmost Review 2026: The Open-Source Alternative to Notion and Confluence You’ve Been Waiting For

  • Git

How to undo ‘git add’ before commit?

Techradiant4 years ago4 years ago02 mins

< 1 min readTo undo the git add command and remove files from the staging area before committing them, you can use the git restore command. The git restore command allows you to undo changes made to the staging area and restore the specified files to their previous state. You can use the git restore command with the…

Read More
  • Git

How to rename a local Git branch?

Techradiant4 years ago4 years ago03 mins

< 1 min readTo rename a local Git branch, you can use the git branch command with the -m option, followed by the current name of the branch and the new name of the branch. For example: This will rename the old-name branch to new-name. If you are currently on the branch that you want to rename, you…

Read More
  • Git

What is the difference between ‘git pull’ and ‘git fetch’?

Techradiant4 years ago4 years ago03 mins

< 1 min readgit pull and git fetch are both commands that are used to download new commits and data from a remote repository. However, they differ in how they integrate the new data into the local repository. git pull is a combination of git fetch and git merge. It downloads new commits and data from the remote…

Read More
  • Git

How to delete a Git branch locally and remotely?

Techradiant4 years ago4 years ago02 mins

< 1 min readTo delete a Git branch locally, you can use the git branch command with the -d option, followed by the name of the branch you want to delete. For example: This will delete the my-branch branch locally. If the branch has not been merged into the current branch, Git will refuse to delete it, and…

Read More
  • Git

How to undo the most recent local commits in Git?

Techradiant4 years ago4 years ago03 mins

< 1 min readTo undo the most recent local commits in Git, you can use the git reset command. The git reset command allows you to undo commits, moving the branch pointer to a previous commit and destroying any commits in the process. The commits are not deleted permanently, but they are removed from the branch and are…

Read More
Javascript Logo
  • Javascript

How to set and unset a cookie in Javascript?

Techradiant4 years ago4 years ago03 mins

< 1 min readTo set a cookie in JavaScript, you can use the setCookie function: This function takes the following parameters: name: the name of the cookie value: the value to store in the cookie expires: a Date object that specifies when the cookie should expire path: the path on the server to which the cookie should be…

Read More
Javascript Logo
  • Javascript

How to find the sum of an array of numbers in Javascript?

Techradiant4 years ago4 years ago03 mins

< 1 min readTo find the sum of an array of numbers in JavaScript, you can use the reduce() method. The reduce() method allows you to apply a function to each element in the array, reducing the array to a single value. Here’s an example of how you can use the reduce() method to find the sum of…

Read More
Javascript Logo
  • Javascript

What is the difference between null and undefined in JavaScript?

Techradiant4 years ago4 years ago02 mins

< 1 min readIn JavaScript, null and undefined are both primitive values that represent the absence of a value or object. However, they have different meanings and uses. null is a value that represents the intentional absence of an object value. It is an explicit representation of no value. You can assign the value null to a variable…

Read More
  • Laravel
  • PHP

How to set the port for PHP artisan.php serve?

Techradiant4 years ago4 years ago01 mins

< 1 min readTo specify a port for the PHP development server when using the php artisan serve command, you can use the –port option followed by the desired port number. For example: This will start the development server on port 8000. If you omit the –port option, the development server will use the default port of 8000….

Read More
  • Laravel
  • PHP

How to redirect back with message in Laravel?

Techradiant4 years ago4 years ago02 mins

< 1 min readTo redirect back to the previous page with a message in Laravel, you can use the redirect()->back() method and pass a key-value pair to the with() method. The key will be the name of the variable that you want to use to store the message, and the value will be the message itself. Here’s an…

Read More
  • 1
  • …
  • 32
  • 33
  • 34
  • 35
  • 36
  • …
  • 48

Sponsored

  • Top 12 AI Video Generators in 2026 (Compared by Use Case)
  • How to Push a Docker Image to Docker Hub (Step-by-Step Guide)
  • Meet Jev: The AI Model That Makes Decisions Instead of Sentences
  • How to use Claude Code for Free?
  • Dokploy vs Coolify: Which Self-Hosted PaaS Should You Actually Use in 2026?
TechRadiant 2026. Powered By BlazeThemes.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT