Integrating font awesome with Laravel (5.X) using webpack

Laravel uses laravel-mix by default which uses webpack under the hood for frontend-tooling. We have following steps Install font-awesome using npm (I assume you already have npm configured) I am using https://www.npmjs.com/package/@fortawesome/fontawesome-free-webfonts use command from the project root directory. npm i @fortawesome/fontawesome-free-webfonts Import font-awesome scss inĀ app.scss (your main sass file) Open your app.scss and copy … Continue reading “Integrating font awesome with Laravel (5.X) using webpack”

[HowTo] Change User Model Namespace in Laravel

By default Laravel’s “User” model is place on “App” namespace. To move it to App\Models namespace we have to do the following: Move User.php to App\Models folder Update this path in config/app.php Search for “providers” key and update the path in “model” before : App\User::class, after: App\Models\User::class Generate new class path by using composer dump-autoload … Continue reading “[HowTo] Change User Model Namespace in Laravel”

Unable to change account picture and lock screen background in windows8.1

It’s been a while I have been using Windows8.1 activated. I tried to change the account picture and lock screen background but to my surprise I could not change it. After researching a bit, I came to know that this issue was caused by the folder permissions issue in windows8.1. In order to change account … Continue reading “Unable to change account picture and lock screen background in windows8.1”

Walkthrough on remote access to Ubuntu14.04

I often access my ubuntu machine remotely and today I will be describing how I setup my machine to access it remotely from anywhere through internet. This is not a step by step guide rather it’s a kind of walkthrough and giving overview on how I knitted each bits and pieces to get the job … Continue reading “Walkthrough on remote access to Ubuntu14.04”