JWT authentication using Laravel middleware

  • avatar
  • 2.1K Views
  • 1 Like
  • 6 mins read
Preview post image

Security is crucial in web development, and one widely used method for securing APIs and web applications is JSON Web Token (JWT) authentication. Laravel, a powerful PHP framework, offers robust support for JWT authentication, making it a popular choice among developers. In this guide, we'll explore the intricacies of JWT authentication in Laravel, from grasping the basics of JWT to implementing token decoding within Laravel middleware.

Merry Christmas and a Happy New Year!

  • avatar
  • 546 Views
  • 1 Like
  • 1 min read
Preview post image

Wishing you a festive Christmas filled with warmth, laughter, and the company of loved ones. May the spirit of the season bring peace and happiness to your heart. As the year concludes, welcome the promise of a fresh start and a new chapter in the coming year. May the New Year be adorned with success, good health, and countless moments of happiness. Merry Christmas and a Happy New Year to you and your loved ones!

Discovering commonly used battery types in electronic projects

  • avatar
  • 605 Views
  • 2 Likes
  • 12 mins read
Preview post image

In our modern world, batteries are the lifeblood that powers our everyday devices. When it comes to radio control, toys, and electronic projects, choosing the right battery is essential for an uninterrupted and enjoyable experience. By understanding the features, advantages, and applications of these batteries, you can make informed decisions and maximize the performance and enjoyment of your devices. In this article, we will explore some commonly used battery types in these realms.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

Compressing PNG images on Linux

  • avatar
  • 2.7K Views
  • 4 Likes
  • 4 mins read
Preview post image

PNG is short for Portable Network Graphic, a type of image file. It’s particularly popular file type with web designers and widely used on websites to display high-quality digital images because it can handle graphics with transparent or semi-transparent backgrounds. PNG files, which use the .png extension, can handle 16 million colors - which definitely sets them apart from most file types.

Understanding OAuth 2.0 and how it works

  • avatar
  • 1.5K Views
  • 6 Likes
  • 4 mins read
Preview post image

OAuth is an open authorization protocol, which allows accessing the resources of the resource owner by enabling the client applications on HTTP services such as Google, Facebook, Twitter, GitHub, BitBucket, and a long etc... It allows sharing of resources stored on one site to another site without using user credentials. Username and password tokens are used instead. The access to the resource can be limited by defined and approved scope.

Conventional commits

  • avatar
  • 2.0K Views
  • 15 Likes
  • 3 mins read
Preview post image

The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history; which makes it easier to write automated tools on top of.

The commit message should be structured as follows:

<type>[optional scope]: <description>

[optional body]

[optional footer]

Decimal, binary and hex representations

  • avatar
  • 2.3K Views
  • 6 Likes
  • 5 mins read
Preview post image

When working with any kind of digital system in which numbers are being represented, it is important to understand the different ways numbers are represented in these systems.

In electronics, almost without fail, numbers are represented by two voltage levels which can represent a one or a zero. The number system based on ones and zeroes is called the binary system: because there are only two possible digits. In HTML programming, colors can be represented by a 6-digit hexadecimal number: FFFFFF represents white whereas 000000 represents black.