Add auto-completion in Bash terminal using Fish shell
April 11, 2021 — The default terminal shell you get in Linux systems is pretty basic and bare-bones. For instance, in Ubuntu, the default shell is GNU Bash and while it can get your job done, it lacks some of the power user features.
Function properties in JavaScript
April 10, 2021 — Today I learned something new about JavaScript. i.e JavaScript functions can have properties which can be accessed from within the function scope.
Quick tip - Using lightweight pagination in Laravel
April 4, 2021 — If you want to paginate database records in Laravel, you can use the paginate
method on the query builder or an Eloquent query.
Delay dispatching actions in Redux using Thunk middleware
April 1, 2021 — Managing the application state in a modern frontend application is hard. But it’s tools like Redux which makes it all breeze for us.
The prohibited validation rule in Laravel 8.x
March 30, 2021 — Sometimes, all you would need is to forcefully prevent some of the fields in the request. Essentially, to “prohibit” or ban the fields to be mandatorily empty or not present in the request at all.
How to specify default value for props in React.js
Moving to a privacy-focused and open-source comment system on my blog
March 24, 2021 — If you’re running any sort of blog, it would be really important to interact with your audience. One way to doing this by having a comment system that can enable a visitor on your blog to drop their view and opinions.
Best Ways to Learn How to Code
March 24, 2021 — Any new beginning is always a challenge. When it comes to learning how to code, many individuals back off simply because it looks not-so-easy to understand the programming principles at the first sight.
Cleaner exception handling using rescue() helper in Laravel
March 22, 2021 — If you want to make your web application robust, you get to handle those quirky and unpredictable exceptions. And the way you do that in PHP is by using try-catch blocks in your code. The same applies in the case of Laravel as well.