In Laravel development, I came across the situation to get the client’s browser or user agent details in server side. Here I am going to share how I have solved it. Solution: First we have to import the necessary library. To import library run the following command from the project’s root folder. This will add […]
Category: Programming
How to focus the cursor to end of the strings in flutter
In Flutter development, I came across the situation where we need to move the cursor focus to the end of the previously assigned text. The focus should be triggered during the initial load of the widget. Solution: To achieve the result I need to understand these simple piece of the code. First I am loading […]
About Flutter
Introduction Flutter is a powerful framework which uses dart programming language, It eases your mobile application development. You can create high quality cross platform applications using flutter frameworks. That means you can create the applications for different platforms such as Android, iOS, Mac, iPad using single codebase in flutter. Flutter is an open source application […]
PostgreSQL – libpq.5.dylib LoadError
Here is the error details we resolved. PostgreSQL libpq.5.dylib LoadError The above issue when starting the rails application, Solution: If you are recently upgraded the PostgreSql 14.5, that affected gem installed in the application. To resolve the issue you have to uninstall the Gem ‘pg’ and reinstall it again. Command to execute: orMention the gem […]
What if the WP_REST actions not working after deployed to different server?
WordPress have a important feature called WP_REST to create customised api actions In some cases these actions won’t work properly when you switch the code to different server. It will simply through 404 error code. Solution 1: Check your apache server config file for mod_rewrite module is enabled or not. Also refer. how to check […]
Create Simple Android App using Ionic + Angular and Cordova
We are going to learn how to create simple Android App using Ionic + Angular and Cordova. Ionic Installation Install Ionic CLI globally using below command. Create new ionic app Framework: Choose the Angular in the framework selection using up and down keys. Starter template: Choose the Starter template using up and down keys.(e.g: tabs, […]
How to clear Rails irb console history
Rails irb is the console system which used by all Rails developers for testing purpose and debugging purpose. Every commands and actions are stored in the history. Usually the irb history path will be ~/.irb-history How to clear the irb history To clear the Rails console history, enough if we can clear the history file […]