Tuesday, 26 May 2020

Baking life......

"Baking" .. Ahh! so simple .....

what is she trying to quote??   

What is so strange in it??? 

What is that which clicked to blog it??? blah!! blah! blah!!

Many questions might have bombarded in your mind with the title "Baking", and it's very obvious though. By baking the first acronym that comes is OTG. Or, some might conclude,  "She might have started baking some cake /cookies..", or "Her content will follow some baking recipe..."πŸ˜›πŸ˜›

But in the title it's just not "baking" rather it's "Baking life" .... so weird know ... If we dig in deep, this is what happening in reality.

Our life gets baked very now and then, when the events are on right track, all moving towards triumph, no trace of sorrow then it can be inferred as happy baking, just like perfect baked caked with correct proportions and authentic flavors.  
On the other hand, some time  though a good baker (masterChef), pro. in ratios and perfect baking still the tongue feels some lacking point, it has something missing ....Similar is our life, you don't get the outcome as desired even all resources were put in use .  

**Not the day for baking**
 
Sometimes, it also comes with unanticipated upshot where you are partly involved......

"A door bell rang by a friend with a deliciously baked cake......
**Your mouth salivate, life baked in a happy way. Unexpectedly, the aromatic cake made your day ** ....
Just think of a reverse for a moment, same situation, you were just about to pleasure your mouth with the appetizing cake when out of the blue cake falls on the floor..next what... "you are wiping the floor" πŸ˜› .... ** Baked cake baked your life resulting in doing cleaning**....

May be it sounds silly to some, but if one fit in their life events just as above moment with cake then  it will be a difference just by a nose....

Not baking much of your time....😢 Just one last line,

That's the way cookie crumbles.......Happy reading... 😊😊

Saturday, 8 February 2020

History.....

History a very common word with a simple meaning, past happenings or better meaning comes like * events kept alive from their records*.

A child often tears the wrongly written paper from the notebook, does he ever recall those wrong answers written or that dirty pages which was spoiling his beautiful calligraphy?????  Big No!!!!!😎😎😎

Similar, is the case with our lives, a book full of events . It's our choice, which event is to written as our life history or which is to be categorised as dirty page.

A torn page lefts with no significance, same can be implied with the happenings which we want to erase from our life . 

We often be like wondering to have time machine, "Pls. God give me one chance to travel back and correct  or remove those embarassing/ terrifying/ horrific/ horrible moments", but what if we treat those moments as child's notebook page??? 

What if we don't add them in our life book ???

😊😊It will be nothing more than a nightmare, which just terrified us for a time and vanshied as the alarm rang.

With this those happenings neither  becomes word for mouth nor gets added in life book.

Technicality of a life.....

Happy reading 😊😊




Thursday, 6 February 2020

Life: Welcome On-board


Everyone would have heard this "Welcome On-board" multiple times in life by others....
 
How many times have you ever greeted yourself with "Welcome On-board"??

We homospaiens are very much concerned about those welcomes which are part of a life but not life. (These just go on and on, sailing on different ships from time to time, or just like different seasons to and forth.... ).

Permanent on-boarding comes in three phases of life(
When you first step out of your mother's womb(Welcomed on earth),
When you attain morals and become a part of human kind(Welcome in most beautiful creation of God),
Lastly, when you are welcomed by your better half (just like boat getting both oars to sail through any nature of river).

Apart from above three phases, which ever moment comes in life inclusive education, success, career, wealth, sorrow, happiness etc all our part of the ship you sailing upon....temporary ones.

Be thankful for getting chance for boarding those three phases in a right way and try every moment to value them.

And this is how life warmly says, WELCOME: ON-BOARD.
Technicality of a life ... Happy Reading!!!!!







Tuesday, 28 January 2020

Get base64 from excel created using Apache POI in java


Apache POI is the most common way to create excel dynamically or statically in our java code. However, most of the times we do it by importing maven dependency for POI and giving the path to excel in FileOutputStream.

Use of FileOutputStreams, doesn't work when the same created excel needs to be transferred over network (encryption is needed --> base64 format). 

Chin up!!!

 ByteArrayOutputStream is the option to go for it (Create excel using Apache POI, write it in workbook using ByteArrayOutputStream, convert it in byte followed by base64 encoder).
Below is the snippet:

ByteArrayOutputStream b = new ByteArrayOutputStream();
try {
    workbook.write(b);
}catch(FileNotFoundException e){
  e.printStackTrace();
}catch(Exception e){
  e.printStackTrace();
}
byte[] bytes = bos.toByteArray();
Base64.encodeBase64String(bytes);

This solution worked for me, As first excel was created using Apache POI then applied above code and converted it to base64, which when decoded over network, encoded file was got opened in a excel application as expected. πŸ˜€πŸ˜€

Monday, 27 January 2020

My missing piece???


Oh!! It's just a *COMPLETE A PICTURE PUZZLE GAME*,  why am I posting this.
In a first thought, yeah!! True it is just a simple game to place 4th picture and complete the hen....
But....

Did you think, just one missing leg is making the hen's life incomplete. So, is our life . Everyone component has a massive role.....

May be for grown ups, above picture is a seconds game but for a child, it's full brain indulging activity as well as for a hen, her leg is a life line above.

Our life is also placed on the same platform. Life is just a bowl of cherries only if your surrounding is your reason to smile . If one of the part goes missing from life then it is no more like bed of Roses...⚘⚘🌹

But the positivity of the life is of you  hit the nail on the head,  then you know which is the missing piece for hen's leg as well as our life  then it is no more a missing piece, just wait for the right time to place the piece.......And the life will be as beautiful as ever :)  ...
Happy reading.... :) 

Tech blog.... technicality of a life ...