Laravel blade structure for scalable projects

  • avatar
  • 4.4K Views
  • 2 Likes
  • 5 mins read
Preview post image

Projects tend to grow in size and level of complexity resulting in more and more files. A good base structure may help creating developer-friendly, maintainable and scalable product. Blade is a simple and powerful templating engine included with Laravel. Unlike some PHP templating engines, Blade does not restrict you from using plain PHP code in your templates. In fact, all Blade templates are compiled into plain PHP code and cached until they are modified, meaning Blade adds essentially zero overhead to your application. Blade template files use the .blade.php file extension and are typically stored in the resources/views directory.

How to use the L298N motor driver module

  • avatar
  • 49.2K Views
  • 18 Likes
  • 8 mins read
Preview post image

The L298N Motor Driver is a controller that uses an H-Bridge to easily control motors direction and PWM to control the speed. This module allows you to independently manage two motors of up to 2A each in both directions. Supply range may vary between 5V and 35V, enough for most DC motor projects.

How to enable hibernation in Linux

  • avatar
  • 12.9K Views
  • 8 Likes
  • 7 mins read
Preview post image

Hibernation was designed for laptops and might not be available for all PCs. It uses less power than sleep and when you start up the PC again, you're back to where you left off. Hibernation suspends to disk unlike the sleep option that suspends to RAM. That's why it takes a bit longer to wake up from hibernation than from sleep.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Reading MPU6050 sensors with Arduino

  • avatar
  • 4.9K Views
  • 6 Likes
  • 10 mins read
Preview post image

The MPU-60X0 is the world's first integrated 6-axis MotionTracking device that combines a 3-axis gyroscope, 3-axis accelerometer and a Digital Motion Processor (DMP) all in a small package. It helps to measure velocity, orientation, acceleration, displacement and other motion like features

The MPU-6050 features three 16-bit analog-to-digital converters (ADCs) for digitizing the gyroscope outputs and three 16-bit ADCs for digitizing the accelerometer outputs. For precision tracking of both fast and slow motions, the parts feature a user-programmable gyroscope full-scale range and a user-programmable accelerometer full-scale range.

Sync local and remote directories with Rsync

  • avatar
  • 1.7K Views
  • 1 Like
  • 4 mins read
Preview post image

Rsync is a very flexible network-enabled syncing tool. Due to its ubiquity and its popularity as a tool for system scripts, it's included on most Linux distributions by default. It efficiently copies and sync files to or from a remote system. It’s faster than scp because rsync uses a remote-update protocol which allows transferring just the differences between two sets of files. The first time, it copies the whole content of a file or a directory from source to destination but from next time, it copies only the changed blocks and bytes to the destination.

Getting started with Arduino Uno

  • avatar
  • 2.0K Views
  • 1 Like
  • 5 mins read
Preview post image

Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino programming language and the Arduino Software (IDE).

DIY - Universal RC Joystick

  • avatar
  • 3.5K Views
  • 9 Likes
  • 23 mins read
Preview post image

Controlling devices over a distance opens lots of possibilities. Our Arduino roadmap contains many projects that must be controlled remotely and sometimes on a long-distance. Of course, it can be done with a PC but our experience has shown that it becomes complicated when you need long way, portable and rapid communications. Our solution was designing a multi-functional remote controller, we have called it AirControl. Aware of the needs it will have 4 push buttons, 2 switch buttons, 2 potentiometers and two analog modules. Additionally, each analog joystick module has integrated push button.

Getting started with MongoDB

  • avatar
  • 1.3K Views
  • 6 Likes
  • 11 mins read
Preview post image

MongoDB is a popular open source and document oriented database system. It belongs to a family of databases called NoSQL, which is different from the traditional table based SQL databases. It makes use of collections, each having multiple documents, and allows the user to store data in a non relational format. Data is stored in flexible, JSON-like documents where fields can vary from document to document. That's the reason for calling it schemaless database.

Play Home Alone song with a piezo buzzer and Arduino

  • avatar
  • 2.9K Views
  • 3 Likes
  • 7 mins read
Preview post image

Home Alone has since been considered one of the best Christmas films and Somewhere in My Memory has been nominated as best original song. We wanted to recreate the melody of the film's theme song with a piezo buzzer and share with you. Buzzer is used to generate sound, beep or even melody of a song. It can be found in alarm devices, computers, timers and confirmation of user input such as a mouse click or keystroke.

What's new in PHP 8.2

  • avatar
  • 1.9K Views
  • 2 Likes
  • 5 mins read
Preview post image

PHP 8.2 has been released on December 8, 2022. We'll go through most important features, performance improvements, changes and deprecations one by one.

Read only properties were introduced in PHP 8.1. Now, PHP 8.2 is adding support to declare the entire class as read only.

If you declare a class as read only, all its properties will automatically inherit the read only feature. Thus, declaring a class read only is the same as declaring every class property as read only.