Bobby Iliev

@bobbyiliev

4272 Points

60 Followers

119 Posts

187 Answers

Joined March 6th, 2019

I am a professional System Administrator with a demonstrated history of working in the internet industry. I am an avid Linux lover and supporter of the open-source movement philosophy.

How to Count and Detect Empty Laravel Eloquent Collections?

How to Count and Detect Empty Laravel Eloquent Collections?

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. Laravel provides a lot of handy methods that you could use to work with your Eloquent collections. In this tut...

Bobby Iliev

11 hours ago

2
Select One:
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

3 days ago

5
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

4 days 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

5 days ago

4
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

6 days ago

4
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:
17 Special Characters in the Shell That You Should Know

17 Special Characters in the Shell That You Should Know

Introduction In Unix systems, the shell is a command-line interpreter. It provides a command-line user interface (CLI). The shell is a scripting language that you could use to write scripts like any other programming language and it is also an interactive command language. It is used by the operating system to control the execut...

Bobby Iliev

3 weeks ago

7
Select One:
Opensource Introduction to SQL eBook 💡

Opensource Introduction to SQL eBook 💡

This is an open-source introduction to SQL guide that will help you learn the basics of SQL and start using relational databases for your SysOps, DevOps, and Dev projects. No matter if you are a DevOps/SysOps engineer, developer, or just a Linux enthusiast, you will most likely have to use SQL at some point in your career. The g...

Bobby Iliev

1 month ago

7
Select One:
Introduction to Git and GitHub Crash Course + Giveaway ⭐

Introduction to Git and GitHub Crash Course + Giveaway ⭐

Introduction Hello everybody! Welcome to this Introduction to Git and GitHub video series, where you will learn the basics of Git and start using it for your day-to-day tasks. My name is Bobby and I've been working as a Linux system administrator for the past 7 years and a few months ago I wrote an opensource eBook on how to get...

Bobby Iliev

1 month ago

5
Select One:
How to fix 'Please provide a valid cache path' error in Laravel?

How to fix 'Please provide a valid cache path' error in Laravel?

Introduction The other day, I was setting up a local development environment for an existing project when I encountered the 'Please provide a valid cache path' error. As the error itself is not very descriptive and could leave you thinking that something is wrong with your configuration, I've decided to write a short post on how...

Bobby Iliev

1 month ago

4
Select One:
How to Define Custom ENV Variables in Laravel?

How to Define Custom ENV Variables in Laravel?

Introduction If you have some experience with Linux, you are probably quite familiar with environment variables. In Linux, you could check the available environment variables with the printenv command. A way to define environment variables in Linux would be to use the export command followed by the variable that you want to defi...

Bobby Iliev

1 month ago

8
Select One:
Use Composer like a Pro - the Dependency Manager for PHP

Use Composer like a Pro - the Dependency Manager for PHP

Introduction Composer is without the go to dependency manager for PHP. Composer is a command line tool that you can use to install packages to your projects and also update and manage existing packages. If you are coming the JavaScript world you could consider composer as the dependency manager for PHP similar to NPM for JavaScr...

Bobby Iliev

2 months ago

12
Select One:
10 SaaS Startups Ideas to Build in 2021

10 SaaS Startups Ideas to Build in 2021

Introduction Software-as-a-Service, or SaaS for short, in most cases, is a platform that provides a specific service on a monthly or yearly subscription plan. Popular SaaS products are Netflix, Spotify, Dropbox, and Slack. They all offer a specific service which you pay a certain amount for every month. Running a SaaS business c...

Bobby Iliev

2 months ago

11
Select One:
What are signed routes in Laravel and how to use them?

What are signed routes in Laravel and how to use them?

Introduction Signed routes allow you to create routes accessible only when a signature is passed as a GET parameter. This could be used for sharing a preview of a draft article or any other route that you want to be public but only accessible by people who have the signature. You could also use signed routes to allow them access...

Bobby Iliev

2 months ago

9
Select One:
How to Create Response Macros in Laravel?

How to Create Response Macros in Laravel?

Introduction Response macros allow you to create a custom response which you could later on re-use in different routes and controllers. This is quite beneficial in order to reduce code duplication. You could actually built macros for other Laravel components as well, but in this tutorial, you will learn how to create a route mac...

Bobby Iliev

2 months ago

8
Select One:
Custom Namespaces to Organize Your Controllers

Custom Namespaces to Organize Your Controllers

Introduction In some cases, when you have too many Controllers in your Laravel project, your app/Http/Controllers directory might get cluttered with too many Controllers. To keep things more organized, you could use custom Laravel namespaces to store your Controllers in different directories inside the app/Http/Controllers direc...

Bobby Iliev

2 months ago

5
Select One:
Open-source Introduction to Git and GitHub eBook 💡

Open-source Introduction to Git and GitHub eBook 💡

💡 Introduction to Git and GitHub This is an open-source introduction to Git and GitHub guide that will help you learn the basics of version control and start using Git for your SysOps, DevOps, and Dev projects. No matter if you are a DevOps/SysOps engineer, developer, or just a Linux enthusiast, you can use Git to track your cod...

Bobby Iliev

2 months ago

11
Select One:
The 10 Most Popular PHP Frameworks and Their Creators

The 10 Most Popular PHP Frameworks and Their Creators

Introduction It would be really intimidating if you had to start from scratch and reinvent the wheel every time you were to start a new project. Luckily in 2021 there is a vast number of brilliant PHP frameworks out there that you can use. In my opinion using a framework is a must as it would help you structure your project, so...

Bobby Iliev

3 months ago

5
Select One:
How to Rollback Database Migrations in Laravel?

How to Rollback Database Migrations in Laravel?

Introduction Laravel comes with many convenient tools out of the box, which makes your life as a developer much more enjoyable. One of the best Laravel features is the database migrations which essentially allow you to version control your database! In this tutorial, you will learn how to rollback your database migrations in Lar...

Bobby Iliev

3 months ago

5
Select One:
9 Basic Docker Commands with Examples

9 Basic Docker Commands with Examples

I would be running the commands on a Digital Ocean droplet running Ubuntu 18.04. Prerequisites If you don't have a DigitalOcean account yet, you can sign up for DigitalOcean and get $100 free credit via this link: digitalocean.com Before we get started, you can follow these steps here on the devdojo website on how to install Doc...

Bobby Iliev

3 months ago

5
Select One:
5 Project Ideas for Junior Linux System Administrators

5 Project Ideas for Junior Linux System Administrators

Introduction If you are getting started with programming, there are countless articles with ideas for projects that you could build, but not that many project ideas for purely Ops-related roles. For anyone who is getting started with Linux and wants a DevOps/SysOps practical task or a challenge to boost your knowledge, you could...

Bobby Iliev

3 months ago

9
Select One:
How to get the Laravel Query Builder to Output the Raw SQL Query?

How to get the Laravel Query Builder to Output the Raw SQL Query?

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. When troubleshooting problems with the Laravel query builder, you might want to see the actual SQL query that...

Bobby Iliev

3 months ago

6
Select One:
How to Quickly Change the Password for a User in Laravel?

How to Quickly Change the Password for a User in Laravel?

Introduction In some cases, you might want to reset the password for your Laravel user quickly. Another reason might be that you could be having problems with your emails, and the reset password email is not being delivered. However, unlike WordPress, for example, where you could simply use MD5 to encrypt your password and updat...

Bobby Iliev

3 months ago

7
Select One:
Top 18 Git commands that you should know

Top 18 Git commands that you should know

Introduction Git is without a doubt the most popular version control system for tracking changes in source code out there. The original author of git is Linus Torvalds who is also the creator of Linux. Git is designed to help programmers coordinating work among each other. Its goals include speed, data integrity, and support for...

Bobby Iliev

4 months ago

7
Select One:
How to build a blog with Laravel and Wink?

How to build a blog with Laravel and Wink?

Introduction In 2021 with great blogging platforms like the Developer Blog, you can save yourself the hassle of building your own blog from scratch. However, if you are planning to build a Laravel blog by yourself, you don't have to start from scratch! There is a Laravel great package called Wink developed by Mohamed Said which...

Bobby Iliev

4 months ago

3
Select One:
[Video] Bash Scripting Crash Course + Giveaway ⭐

[Video] Bash Scripting Crash Course + Giveaway ⭐

Introduction Hello everybody! Welcome to this Introduction to bash scripting video series, where you will learn the basics of bash scripting and start creating some awesome scripts! My name is Bobby and I've been working as a Linux system administrator for the past 7 years and a few months ago I wrote an opensource ebook on how...

Bobby Iliev

4 months ago

5
Select One:
How to create an eBook from Markdown using Ibis?

How to create an eBook from Markdown using Ibis?

Introduction A few months ago I wrote an open-source eBook on how to get started with Bash Scripting. This is when I came across a tool called Ibis created by Mohamed Said who is a Developer at Laravel. Ibis allows you to generate an awesome PDF for your eBook, and you can just use markdown! In this tutorial, I will show you how...

Bobby Iliev

4 months ago

7
Select One:
How to squash multiple commits into one with Git?

How to squash multiple commits into one with Git?

Introduction Git is a huge reason why the web dev community is so awesome. You can join an open-source project and add some amazing stuff to it. By committing your code and pushing it, you can share your creation with the project's creator and the open-source community. And while doing this, you are helping both yourself and the...

Bobby Iliev

4 months ago

7
Select One:
Here is why you should not be too quick at judging people by their GitHub activity stats

Here is why you should not be too quick at judging people by their GitHub activity stats

Introduction I am a supporter of the opensource movement and I truly admire people like Eddie Jaoude, Matt Cowley and all other open-source maintainers who work hard every day so that we could have awesome software! 🙏 I strongly encourage everyone to be active in the open-source world and make meaningful contributions. If you ar...

Bobby Iliev

4 months ago

11
Select One:

Loading More Content