Using WP-CLI in XAMPP for Linux

WP-CLI or WordPress Command Line Interface is used to manage sites without the need of accessing the website through a browser. Here is a quick instructions on how to install WP-CLI in XAMPP for GNU/Linux.

 

Getting Started

Download WP-CLI, you can use curl, or wget commands to download the wp-cli.phar file.

$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

Or,

$ wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

Next, is to check whether the downloaded file works or not, by running the following command:

$ php wp-cli.phar --info

You’ll notice the following output:

$ php wp-cli.phar --info
The program 'php' can be found in the following packages:
 * php7.0-cli
 * hhvm
Try: sudo apt install <selected package>

This is due to the missing PHP package, XAMPP is used to ease the installing of such packages for a quick development server setup, installing PHP package isn’t an ideal solution, as XAMPP already includes it. What you need to do is define the PATH variable.

Defining PATH Variable

When you type the following in your shell, you’ll notice your existing path from which the executable files are called:

$ echo $PATH

PATH variable lists all the paths of the executable directory from where shell will try to execute a particular command.

To add the XAMPPs PHP directory, you’ll need to define the following rules in the .profile file located in your home directory. The rules will be as follows:
Continue reading “Using WP-CLI in XAMPP for Linux”

Translate WordPress to Malayalam

wp-mal

Malayalam fonts transition over the period from ASCII to UNICODE, has finally taken on recognizing the language all over the Internet. Much of the credit lies with the Free and Open source communities for their efforts.

Over the years, influence of other languages somehow found its way into our day-to-day life to such an extent that our native language fades in many sector, especially in computing.

As more and more Malayalam blogs and thoughts being published using WordPress, people are looking for ways to express, and adapt their native language into the sphere of WordPress.

WordPress Kerala communities aim is to make WordPress available in languages other than English, and to encourage native Malayalam speakers to volunteer, contribute and help make WordPress part of our vocabulary.

Why translate WordPress?
WordPress is a free software. It could act as a platform to bridge a gap between tech savvy to those who don’t speak English, or someone who just prefers their native language.

What do I need to know?
Skills you need to know are fluency in both English and Malayalam. The key is to translate organically and not to structure each word or string as it is.

Getting started – contributing:
1) Log in to the Malayalam translation website: https://translate.wordpress.org/locale/ml/default/wp and select any set/subproject that grabs your attention and translate.

2) After you make your suggested translated strings, a translation editor will then accept or reject these suggestion.

More info :
Translator’s Handbook: https://make.wordpress.org/polyglots/handbook/
Translation Team: https://make.wordpress.org/polyglots/teams/?locale=ml_IN

Grow Up with Me

 

Grow up with me.

Let’s run in fields and fear the dark together.
Fall of swings, and burn special things,
and both play outside in bad weather.

Let’s eat badly.
Let’s watch adults drink wine and laugh at their idiocy.
Let’s sit in the back of the car,
making eye contact with strangers driving past,
making them uncomfortable.

Not caring.
Not swearing.
Don’t look.

Let’s both reclaim our superpowers;
the ones we all have and lose with our milk teeth.
The ability not to fear social awkwardness.
To panic when locked in the cellar;
still sure there’s something down there.
And while picking from pillows each feather,
let’s both stay away from the edge of the bed,
forcing us closer together.

Continue reading “Grow Up with Me”

Ideas and Opinions by Albert Einstein

 

img_20150710_204134_hdr1-1437984948-1 Finally managed to finish reading this book, I could only think of this quote at the moment:

“What an astonishing thing a book is. It’s a flat object made from a tree with flexible parts on which are imprinted lots of funny dark squiggles. But one glance at it and you’re inside the mind of another person, maybe somebody dead for thousands of years. Across the millennia, an author is speaking clearly and silently inside your head, directly to you. Writing is perhaps the greatest of human inventions, binding together people who never knew each other, citizens of distant epochs. Books break the shackles of time. A book is proof that humans are capable of working magic.” ― Carl Sagan

The Cinematic Orchestra

 

There is a house built out of stone
Wooden floors, walls and window sills
Tables and chairs worn by all of the dust
This is a place where I don’t feel alone
This is a place where I feel at home.

And I built a home
for you
for me

Until it disappeared
from me
from you

And now, it’s time to leave and turn to dust……..

Out in the garden where we planted the seeds
There is a tree as old as me
Branches were sewn by the color of green
Ground had arose and passed its knees
By the cracks of the skin I climbed to the top
I climbed the tree to see the world
When the gusts came around to blow me down
Held on as tightly as you held onto me
Held on as tightly as you held onto me……

And I built a home
for you
for me

Until it disappeared
from me
from you

And now, it’s time to leave and turn to dust……..