React / TypeScript

Using tableLayout CSS property with TypeScript

Tagged , Leave a Comment on Using tableLayout CSS property with TypeScript

Using table-layout property with React and TypeScript was giving a type error like below: ERROR in /var/jenkins/workspace/dev/resources/packages/sites/table.tsx [tsl] ERROR in /var/jenkins/workspace/dev/resources/packages/sites/table.tsx(79,25) TS2322: Type ‘{ padding: number; width: string; margin: string; tableLayout: string; […]

READ MORE

Web Development

CSS Flip Animation for Font Awesome Icons

Tagged Leave a Comment on CSS Flip Animation for Font Awesome Icons

This flip animation will be a perfect use-case for enable/disable UI actions. We’ll be using rotateY transform function to achieve this flip animation. Here is a simple HTML page with a few […]

READ MORE

Flutter

Flutter – Local push notifications

Leave a Comment on Flutter – Local push notifications

Create a Flutter project To create a new project in Flutter execute the following command line in the terminal. We are using tryoutflutter as the project name. It will create a folder […]

READ MORE

Spring Boot

Fixing slow Bcrypt and BasicAuthenticationFilter.doFilter

Tagged Leave a Comment on Fixing slow Bcrypt and BasicAuthenticationFilter.doFilter

I recently investigated and fixed a performance issue with user authentication in our Spring Boot based API service. Our users started complaining about random 504s from our service. Looking at our thread […]

READ MORE

CI/CD

Jenkinsfile – Cheat sheet, Examples & References

Tagged Leave a Comment on Jenkinsfile – Cheat sheet, Examples & References

All of these examples were tested with the ‘Multibranch Pipeline’ type jobs. This may not work with other types of jobs in Jenkins. Validate Jenkinsfile for syntax Navigate to the directory which […]

READ MORE

PHP

Vagrant Remote Debugging – Xdebug 3 & IntelliJ or PHPStorm

Tagged , , Leave a Comment on Vagrant Remote Debugging – Xdebug 3 & IntelliJ or PHPStorm

Debugging is one of the most efficient ways to investigate an unexpected behaviour. This post details how to setup a debugger for a PHP application running in a vagrant machine via your […]

READ MORE

Productivity

iTerm2 – Clear scrollback automatically on a schedule

Tagged , Leave a Comment on iTerm2 – Clear scrollback automatically on a schedule

iTerm2 is my default terminal and have been using it for close to 8 years now. It is highly customizable and has API support for hackability. I was using it today to […]

READ MORE