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

Pocket

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”

[Solved] Error executing git commit in phpstorm

Pocket

I thought Git and Phpstorm would work out of the box with minimal configuration. I pointed Git.exe in phpstorm and tried committing a file. To my surprise, I got the following error always. example is taken from web: “Error executing git commit –only -F /private/var/folders/bs/zfry67p51_gflf6hqgzplv2xt80189/T/git-commit-msg-5921808149812071312.txt –author=dsedlacek — web/js/definitions/jquery.d.ts web/js/libs/handlebars-v1.3.0.js web/css/icon….” And after poking around for … Continue reading “[Solved] Error executing git commit in phpstorm”

[Solved] How to deploy php app to heroku from windows

Pocket

I am fulltime linux user and parttime windows user. Lately I have started working with windows for some project stuffs. I found windows quite frustating and limited to what linux provided me. Well it’s all personal feelings. I always hated unnecessary installations of extra applications for the same tools which most of the linux distributions … Continue reading “[Solved] How to deploy php app to heroku from windows”

[Solved] Codeigniter session expires frequently

Pocket

I was working in a Codeigniter project and when I hit refresh button (F5) continuously, My application session was expiring frequently. I googled for a while and found the simple solution. A solution is to increase the amount of time for the session_time_to_update in codeigniter config. Since I won’t be updating session frequently. I am … Continue reading “[Solved] Codeigniter session expires frequently”