jQuery X-CSRF-TOKEN header in Laravel 5.4

In Laravel 5.4, we already have HTTP client configured out-of-the-box, that we can use in frontend. It is axios. In file resources\assets\js\bootstrap.js we can see the default headers that will be included in every request that we make with axios. However, although jQuery is also bootstraped, the default headers for jQuery are not set. If … Read more jQuery X-CSRF-TOKEN header in Laravel 5.4

LG Optimus G Not Showing as Debugging Device in Android Studio

If you tried to run your app on your Android device, but the device wasn’t listed (although you have your USB drivers installed and Developer options enabled on your device), be sure to enable the “USB debugging” option in Developer options. If you don’t do that before you plug in your phone to the computer … Read more LG Optimus G Not Showing as Debugging Device in Android Studio

Show all sites under My Sites menu in WordPress

When running WordPress in multisite mode, you’ll be able to create multiple sites with only one WordPress installation. However, WordPress won’t show all your sites under My Sites menu item if you don’t do one specific thing. If you want to show specific sites under My Sites menu, you have to add you existing user as … Read more Show all sites under My Sites menu in WordPress

Translating WordPress Themes to Specific Language

Recently I had to translate Real Homes WordPress theme from InspiryThemes. This theme is translation ready, and the tutorial on how to translate it to only one language is this Knowledge Base Article. However, there is a small catch on how to properly name your new PO file (which is mentioned in the tutorial) in … Read more Translating WordPress Themes to Specific Language