A Common IT Man's Blog

Raves, rants, views, reviews, comments and experiences of a Common IT Man.

Friday, July 12, 2024

Convert strings to Upper or Lower Case in bash

›
Very simple way to convert strings to all Upper or Lower case in bash without using any of the other tools like awk or sed myStr="Tes...
Friday, March 31, 2023

Spring Data JPA Query Methods

›
 Spring Data JPA Queries are a great way to create queries derived from the method name without needing to write tons of boiler-plate code t...
Saturday, January 21, 2023

Piping output of top through grep does not give any output

›
Recently I was trying to grep for "load average" in the output of top and then redirect it to a file to save for later analysis - ...
Saturday, December 31, 2022

Extract a range of lines from a file on Linux

›
Say you have a huge file, but want to extract only a specific range of lines from that file into another one. There are many ways to do this...
Friday, December 30, 2022

Disable automatic backslash insertion before $ when using auto-complete in bash

›
When using bash that is not configured properly, on using tab to auto-complete paths, it automatically escapes dollar symbols by inserting a...
Thursday, May 6, 2021

Extract files from RPM package without installing

›
An RPM package is a file consisting of a cpio archive that contains the files to be installed and a header that contains metadata informati...
Wednesday, May 5, 2021

Handling Exceptions in EJB using Interceptors

›
In my previous posts Using EJB Interceptors to add functionality to existing Beans , and Using EJB Interceptors to execute code AFTER servic...
Tuesday, May 4, 2021

Using EJB Interceptors to execute code AFTER service method completes

›
In my previous post Using EJB Interceptors to add functionality to existing Beans , we saw how to use EJB3 Interceptors to add common concer...
Tuesday, November 10, 2020

Using EJB Interceptors to add functionality to existing Beans

›
To add any decorations or cross-cutting features like logging, profiling or performance measurement for service method calls of existing ent...
Monday, November 9, 2020

Undo git stash clear

›
You can clear git stashes using the command: git stash drop stash@{stash_index} ### OR git stash clear If you need to recover very recen...
1 comment:
›
Home
View web version

About Me

Darshan Shah
View my complete profile
Powered by Blogger.