• Generating Dummy Data in Laravel Application Using Faker

    Back in the good old days, I often test PHP applications by accessing it directly from the web browser and input the data in the forms. Today, with the explosion of awesome PHP libraries we can now generate most kinds of data by using code alone. The data can then be directly inserted into the database. This reduces the need to input data directly into the app. In Laravel application, there’s an awesome package for this called Faker - a PHP library that generates fake data for you. Faker is not exactly Laravel package, but perfectly works with this framework as well. Check their github page: https://github.com/fzaninotto/Faker
  • How to install MongoDB 4.2 on Linux Mint 19

    Using official Ubuntu's repository is easier if you don't care if you're using older MongoDB version.
  • How to install PHP 7.3 on Ubuntu 18.04 (Bionic Beaver)

    As PHP had officially released , I decided to install it on one of my development server. It uses Ubuntu 18.04 (Bionic Beaver), so official PHP package provided from their repository is at 7.2.19. Thanks to
  • How to Install PostgreSQL 12 on Linux Mint 19 Tara (19.1 Tessa, 19.2 Tina, 19.3 Tricia)

    The PostgreSQL Global Development Group had announced the release of PostgreSQL 12 . Let's install it on our Linux Mint 19 (19 Tara, 19.1 Tessa, 19.2 Tina, 19.3 Tricia).
  • How to Use Tailwindcss with Laravel 7

    Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override. Most CSS frameworks do too much. They come with all sorts of predesigned components like buttons, cards, and alerts that might help you move quickly at first, but cause more pain than they cure when it comes time to make your site stand out with a custom design.
  • How to Read SMART Log from NVMe Device on Linux

    After convincing myself that it's worth the price, I took the courage to get an NVMe SSD and install it to my PC. I've considered two strong candidates: Samsung 970 Evo Plus and Adata XPG SX8200. Adata has cheaper price and I'm going to take it, but in last minutes I choose Samsung one because it has bigger TBW so I hope it will be last longer.
  • How to Install Ubuntu 20.04 Focal Fossa Server

    On Thursday, April 23rd, 2020, Canonical Ltd, the makers of distribution officially released the long-awaited version code-named “”, it is an () version based on Linux kernel series , for which maintenance updates will be provided for 5 years until and it will reach end-of-life in . This article will walk you through the process of installing with on your machine.
  • How to Install PostgreSQL 12 on Ubuntu 20.04 Focal Fossa

    , or Postgres, is a relational database management system that provides an implementation of the SQL querying language. It’s standards-compliant and has many advanced features like reliable transactions and concurrency without read locks. PostgreSQL is developed by PostgreSQL Global Development Group, a group of individual volunteers and corporate companies.
  • 09
    Aug

    How to Install Fail2ban on CentOS 7

    Most Linux servers offer an SSH login via port 22 for remote administration purposes. While connecting to your server through SSH can be very secure, the SSH daemon itself is a service that must be exposed to the Internet to function properly. This comes with some inherent risk and offers a vector of attack for would-be assailants.
  • 30
    Jul

    How to Install Node.js 8 on Ubuntu/Debian/Mint/ElemetaryOS

    Node.js is an open-source, cross-platform Javascript run-time environment that executes Javascript code outside the browser. Historically, Javascript was used primarily for client-side scripting, in which scripts written in JavaScript are embedded in a webpage's HTML and run client-side by a JavaScript engine in the user's web browser. Nowadays, Node.js represents a "JavaScript everywhere" paradigm, unifying web application development around a single programming language, rather than different languages for server side and client side scripts.
  • 17
    Jul

    How to Hide nginx Web Server Version Signature and Remove X-Powered-By PHP Header on CentOS

    If you are running a web server, by default it's showing the world what type of server installed and it is usually shown along with its version number. This information is ignored by most people, with the exception of hackers, who could use this information to launch targeted attacks against your web server and version specifically. In addition, if the version of your web server is known to be vulnerable to a specific exploit, the hacker would just need to use the exploit as part of his attack on your server.
  • 14
    Jul

    How to Validate File Upload in Laravel 5 with MIME Types or File Extensions

    Most of the times when it comes to web application development, we as a developer need to either check or validate uploaded file from user. This routine is a great practice, to prevent user from uploading malicious file. Luckily on Laravel, this could be done in easy way.