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”

How to keep your forked repositories in sync with the source repository

This blog post aims to answer the following questions. How to contribute to Open Source Projects (Partially)? How to keep forked repositories in sync with the source repository ? How to pull the commits from source repository to the forked repository? I often forked open source repositories found in github and also commit back to … Continue reading “How to keep your forked repositories in sync with the source repository”

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”