Traits in PHP and Laravel?

This is a fact that in PHP you can only have single inheritance. That means a class can inherit from only one other class.

 Posted in Laravel, PHP Tagged , , , ,

Shorthand comparisons in PHP

If you are a programmer then you may already know about comparison operators or shorthand comparisons.

 Posted in PHP Tagged ,
xcode

Command CompileSwift failed with a nonzero exit code

Quick tip of the day, if you are facing this issue, try to run following commands, it will clean the build.

 Posted in xcode Tagged , ,
Linux / Unix

Grant write permissions to multiple users on a folder in Ubuntu

Create a new group like “DevOps” and add the desire users to the group.

 Posted in Linux, Ubuntu Tagged , , ,

Correct file permissions for ssh keys and config.

Let’s look at some SSH commands.

 Posted in Cloud, Ubuntu Tagged , ,

Installing MySQL on Ubuntu Server

MySQL is a database management system. It provides access to databases where your site can store information.

 Posted in MySQL Tagged , ,
Linux / Unix

How to find you public IP on Ubuntu

If you do not know what is your server’s public IP address is, there are a few methods you can try.

 Posted in Ubuntu Tagged , , ,
Vue.js

Vue.js Build & Run from dist

Tip: It’s always good idea to test production build application locally before it is deployed.

 Posted in Uncategorized, Vuejs Tagged , , ,
Linux / Unix

Basic Firewall on Ubuntu Server

UFW can be used to set up firewall on Ubuntu server, that make sure only connections to certain services are allowed.

 Posted in Ubuntu Tagged , ,
Linux / Unix

Create non root user in Ubuntu Server

In order to create a new user, you need root access to the server. Once you are logged in as a root, you are ready to add the new user account.

 Posted in Ubuntu Tagged , ,