How to Set a Variable in Laravel Blade Template?

How to Set a Variable in Laravel Blade Template?

Introduction The Blade templating engine has been a real game-changer for me. Blade makes it working with PHP and HTML a breeze. It allows you to use plain PHP code directly in your template. In most cases, you will pass your variables from your controller to your Blade views, but you might want to set a variable directly in you...

Bobby Iliev

10 hours ago

3
Select One:
How to Display Formatted Date in JavaScript Without Using Any External Library

How to Display Formatted Date in JavaScript Without Using Any External Library

In most of the applications, we need to display a formatted date like 18 June 2021 or 06/18/2021 along with the time. So we normally use moment.js or date-fns or day.js library to get that done. But using an external library adds a lot of extra code to the final size of the application. For example, the moment.js npm library is...

Yogesh Chavan

11 hours ago

2
Select One:
How to Remove a Migration in Laravel?

How to Remove a Migration in Laravel?

Introduction Adding columns or tables to your database manually could be an intimidating process and would more often than not lead to database inconsistencies between your different environments. The Laravel migrations allow you to basically version control your database so that all members of your team could have a consistent...

Bobby Iliev

1 day ago

3
Select One:
SASS nothing to something, CSS superpower

SASS nothing to something, CSS superpower

SASS is CSS with superpowers. So, as front-end developer and learner I researched about LESS which was great but very soon I changed to SASS because of using pre/post processor you can write CSS more programmatically and can help you develop robust systems. Nonetheless, I regularly find that individuals just know a couple of fun...

Rahul

1 day ago

3
Select One:
Setup Email Authentication with Reset option in React App πŸš€

Setup Email Authentication with Reset option in React App πŸš€

Hello Folks πŸ‘‹ This is Savio here. I'm young dev with an intention to enhance as a successful web developer. I love building web apps with React. I have proved my superiority in frontend technologies. Today, Let's learn how you can set up Email Authentication with reset password option in your React App πŸš€. So, be with me! Let's c...

Savio Martin

1 day ago

4
Select One:
How to fix Laravel Unknown Column 'updated_at'?

How to fix Laravel Unknown Column 'updated_at'?

Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations and any other database queries. As described in the official Laravel documentation, Eloquent expects the created_at and updated_at columns to...

Bobby Iliev

1 day ago

4
Select One:
Deletion in Linked Lists

Deletion in Linked Lists

In this blog I'm gonna be talking about the deletion operations in linked lists. Just like how there are three insertion operations in a linked list, there are three deletion operations. All the three deletion methods are just the reverse of what we do in insertion operations. The three types of Node Deletion 1. Delete node from...

Richa

2 days ago

3
Select One:
How to Select Specific Columns in Laravel Eloquent?

How to Select Specific Columns in Laravel Eloquent?

Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations and any other database queries. In some specific cases you might not want to get all of the columns from a specific table but just one or some...

Bobby Iliev

3 days ago

4
Select One:
Insertion Operations in a Linked List

Insertion Operations in a Linked List

Now that we've learned how the basic operations on a linked list are done let's look at the different types of insertion in a linked list. There are three ways of node insertion in a linked list. The Three Ways of Node Insertion We can insert a node in the following ways: 1.Insertion from the front end The front-most node of a l...

Richa

3 days ago

4
Select One:
15 Best and Unique CSS Loaders

15 Best and Unique CSS Loaders

One of the fundamental principles of User Experience (UX) is that a visitor expects to see some feedback when they do an actionable work on a website or an app. For example, when you click on a β€œDownload” button to download a file to your machine, the file processes in the background but on the frontend, till the file is ready,...

Sunil Joshi

3 days ago

3
Select One:
First steps in building app with React, Strapi & Apollo GraphQL

First steps in building app with React, Strapi & Apollo GraphQL

I have to say I fell in love with Strapi from the day I found it. For all of those who never heard of Strapi be sure to checkout Strapi.io. As per Strapi.io: Strapi is the leading open-source Headless CMS. Strapi gives developers the freedom to use their favorite tools and frameworks while allowing editors to easily manage thei...

Semir Teskeredzic

4 days ago

6
Select One:
How to use the splice() method

How to use the splice() method

Introduction Arrays will always be something that you will use or run into. You can store different types of data inside of them. For example - strings, numbers, objects, and even other arrays. But what do you do when you want to remove a specific item. Well, you could delete the whole array and rewrite it, but that will be a wa...

Boyan Iliev

4 days ago

6
Select One:
20 Developer Memes | You'll die laughing

20 Developer Memes | You'll die laughing

(Invest Your 2 Minutes Laughing) Converting your developing seriousness to laughter. Every week this post will come up with amazing memes. So I just want you to devote your some minutes in laughing hehe :) Thanks For Laughing. I am coming up with my meme comic series. Be tuned🀘

Rahul

4 days ago

7
Select One:
DevDojo Weekly Winners Week 2 June 2021

DevDojo Weekly Winners Week 2 June 2021

Happy week number two of June πŸ“…. It's time for another edition of DevDojo weekly winners πŸ† This week we have posts on Deep Learning, High Order Functions, NodeJS, Firebase, and Cool HTML Tags πŸŽ‰. Remember each week we feature five posts to receive a nice little cash prize πŸ’°. You can read more about the official rules here. Let's...

Dev Dojo

5 days ago

6
Select One:
Create a Dark Mode toggler with Tailwind ⚑️

Create a Dark Mode toggler with Tailwind ⚑️

Hello Folks πŸ‘‹ This is Savio here. I'm young dev with an intention to enhance as a successful web developer. I love building web apps with React. I have proved my superiority in frontend technologies. Today, I'll show you the easiest and the effective way to set up dark mode toggler in your tailwind app. πŸš€. So, be with me! Let's...

Savio Martin

5 days ago

4
Select One:
Add Notifications to your React application

Add Notifications to your React application

Proper notifications are crucial for functional UI. Imagine you are using one of many web applications and you enter a wrong password or any kind of input just to see that nothing happens and you are left baffled. That is why integrating notifications, alerts or other kind of signals what has happened is important for any applic...

Semir Teskeredzic

1 week ago

3
Select One:
JavaScript Basics: Truthy and Falsy values in JavaScript

JavaScript Basics: Truthy and Falsy values in JavaScript

Do you know that JavaScript has a set of pre-defined falsy values? Truthy and Falsy values are the non-boolean values that are coerced to true or false when performing certain operations. The following are the only eight values that are considered as falsy values in JavaScript. false undefined null "" NaN 0 -0 0n A...

Yogesh Chavan

1 week ago

6
Select One:
Setting up Google Colab for Deep Learning

Setting up Google Colab for Deep Learning

Introduction Google Colaboratory or Colab is a free service provided by Google that allows a person to run Python notebooks without having to install python on their systems. Colab provides a user with numerous features, the most important of them being: No need to configure for basic notebooks Free and easy GPU access Easily s...

Azhan Mohammed

1 week ago

3
Select One:
How to create a simple CLI app with MiniCLI.

How to create a simple CLI app with MiniCLI.

In this post we're covering how to create a simple CLI app with the help of MiniCLI. What we'll be creating is a small CLI tool to ping websites. Setting up our requirements. The first thing we do is to create a folder for our new tool, which I'll name ping-cli and require the minicli/minicli package. composer require minicli/mi...

Kim Hallberg

1 week ago

4
Select One:
Scope chain and Lexical Scoping in JavaScript

Scope chain and Lexical Scoping in JavaScript

Scope chain and Lexical Scoping are central ideas of JavaScript. These ideas confound new JavaScript developers. The information on these ideas is fundamental in dominating JavaScript. Having an appropriate comprehension of these ideas will assist you with composing better, more proficient and clean code. Which will, thus, assis...

Rahul

1 week ago

7
Select One:
HarperDB Instance w/ React

HarperDB Instance w/ React

HarperDB is a distributed database focused on making data management easy. It supports both SQL and NoSQL queries. Besides building REST APIs with server-side technologies(Catalin Pit's Build A REST API With HarperDB and FastifyJS), it also offers to access the database instance directly inside the client-side application. In th...

Piyush Sinha

1 week ago

5
Select One:
What is a Fork Bomb in Linux and how to stop it?

What is a Fork Bomb in Linux and how to stop it?

Introduction A fork bomb (also known as a rabbit virus) is a denial-of-service attack that consists of a process that constantly replicates itself to exhaust all available system resources, slowing down or crashing the system due to resource starvation. Here's an example of the most popular fork bomb in Linux: :(){ :|:& };:...

Bobby Iliev

1 week ago

5
Select One:
Work with me - a 25 Minutes Pomodoro Video Session

Work with me - a 25 Minutes Pomodoro Video Session

Need to get some work done? Let's be productive together! You can use this video as a timer for your Pomodoro sessions. The idea behind the Pomodoro sessions is to separate your tasks into small 25 minute blocks and take 5-minute breaks after each session. Here's how my sessions usually go: I make a to-do list for the day. In...

Bobby Iliev

1 week ago

5
Select One:
How to invalidate a compromised JWT

How to invalidate a compromised JWT

In a past article, I wrote about JWTs, how to generate one and how to use them for authorization. JSON Web Tokens, however, have one major drawback. Once it is generated and submitted to the client, it can’t be easily made invalid. This is a big problem if the JWT got leaked and it did not expire (or worse, it does NOT have an e...

Petre Popescu

1 week ago

6
Select One:
List of Handy Regular Expression Examples

List of Handy Regular Expression Examples

In this article, we will see some of the useful regular expressions which you can use in your real-world applications. Email validation ^[^@ ]+@[^@ ]+\.[^@ \.]{2,}$ ^[^@ ]+ => starts with the character which is not @ and space (one or more occurrence of character) @[^@ ]+ => then one single @ symbol and after that no @ sy...

Yogesh Chavan

1 week ago

6
Select One:
High Order Functions in JavaScript

High Order Functions in JavaScript

As a JavaScript developer you will utilize high order functions frequently, so having a decent comprehension of these functions is vital. Presently I see individuals get frequently confounded when finding out about the reduce() technique, yet I had clarified everything in detail so attempt to comprehend it bit by bit and I'm cer...

Rahul

1 week ago

6
Select One:
Create Forms with Formik and Firebase

Create Forms with Formik and Firebase

Whatever is the application you are building, the data is in the heart of it. In this post I will go through building a simple but functional form with Formik and storing the data to Firebase database. I will use React functional component for this example so you can follow along or use it with your React project. Prerequisites...

Semir Teskeredzic

1 week ago

5
Select One:
How To Write Your First Node.js Script

How To Write Your First Node.js Script

Introduction Until recently(if you think that 2009 is recently), we could only run JS code in a web browser. Node is a JavaScript runtime that executes code outside of the browser. We can use the same JS syntax we know and love to write server-side code, instead of relying on other languages like Python or Ruby. You can build We...

Boyan Iliev

1 week ago

9
Select One:
5 things to know about creating a SaaS

5 things to know about creating a SaaS

When it really comes down to it, there is no right or wrong way to build something. Many factors can play into the success or failure of an application. That's why it's good to have as much help and advice as possible. I want to share a few lessons I've learned along my path of building a SaaS. I hope this advice will help guide...

Tony Lea

1 week ago

8
Select One:
Navigation with React Router

Navigation with React Router

React Router is a simple library of React inside web app for handling routes. Here we will learn Navigation with React-Router. Basic routing with react-router-dom Let's see these two Components. const PageOne = () => { return ( <> <h1>Content One</h1> </> ) } const...

Rahul

1 week ago

4
Select One:

Loading More Content