December 26, 2018

We never know!


One of my recent finds on Facebook which was quite eye-opening. I am trying to learn this new lesson in life – to be more understanding. This is what the image caption said…

“In this scene, the person who is on top cannot see the snake that is biting the person who is in the bottom and the person who is on the bottom cannot see the stone above the person who is on the part Up!! Do you know what this means? Not always the person can see the pain that the other is suffering and the other can’t always understand the pressure that the other person feels in the day to day. We need to exercise more understanding, communicate better, talk about our weaknesses, hear about the weakness of the other, understand the problems, the limitations and have more empathy to understand that even the person is not doing everything we hope to be by our side Doesn’t mean he’s not doing the best he can”.

October 29, 2018

You can do anything! – Maggie Doyne

Life is short so make every day count. Stories like these inspire me and I hope they inspire you too, to do something worthwhile. I’ve been blessed with many things in life but I have not found greater joy and satisfaction in anything as much as I do in giving. Giving with right motives brings in fruit. Hats off to people like Maggie who I think have the best job and life in the world. I envy what they’ve accomplished in their life so far. This is what is a success should mean for everyone.

“The great use of life is to spend it for something that will outlast it.” —William James
“That is your legacy on this Earth when you leave this Earth: how many hearts you touched.” —Patti Davis

October 25, 2018

Run Tasks/Jobs in the Background while closing the SSH Session

We usually run imports and exports for our email marketing software using PHP-CLI (Command-line Interface). The problem comes when we want to work on something else. Instead of opening multiple terminal sessions, we use this little application called Screen. This little application is quite handy when it comes to keeping those sessions alive by running tasks/jobs in the background. Screen is a console application that allows you to have multiple terminal sessions within a single window.

If you don’t have it installed, you can install it by using the following command:

sudo apt-get update
sudo apt-get install screen

To use:

screen -dmSL [session name] [commands]

d – starts a session and immediately detaches from it
m – forces the creation of a new session
S – lets you give the session a friendly name
L – turns on logging to ~/screenlog.0

To detach and keep the processes running:

Ctrl + A + D

To resume the session:

Screen -x "session-name"
Older Posts