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”

[Solved] Error executing git commit in phpstorm

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

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

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”

Introduction to drush for drupal development

What is drush ? Drush is very popular and useful tool for drupal developers. It provides us shell access to the drupal commands and functions which otherwise had to be accessed using the menus provided in the drupal administration. It helps us to enable/disable modules, installs ¬†dependency modules automatically, manage users, permissions etc. For complete … Continue reading “Introduction to drush for drupal development”