People think of education as something that they can finish. And what’s more, when they finish, it’s a rite of passage. You’re finished with school. You’re no more a child, and therefore anything that reminds you of school – reading books, having ideas, asking questions – that’s kid’s stuff. Now you’re an adult, you don’t do that sort of thing any more.
You have everybody looking forward to no longer learning, and you make them ashamed
afterwardof going back to learning. If you have a system of education using computers, then anyone, any age, can learn by himself, can continue to be interested. If you enjoy learning, there’s no reason why you should stop at a given age. People don’t stop things they enjoy doing just because they reach a certain age.
What’s exciting is the actual process of broadening yourself, of knowing there’s now a little extra facet of the universe you know about and can think about and can understand. It seems to me that when it’s time to die, there would be a certain pleasure in thinking that you had utilized your life well, learned as much as you could, gathered in as much as possible of the universe, and enjoyed it. There’s only this one universe and only this one lifetime to try to grasp it. And while it is inconceivable that anyone can grasp more than a tiny portion of it, at least you can do that much. What a tragedy just to pass through and get nothing out of it.Isaac Asimov
My frequent picks for a convenient place to work.
The Pepper House cafe Fort Kochi
An evening in Fort Kochi Beach.
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 instruction on how to install WP-CLI in XAMPP for GNU/Linux.
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
$ 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 the 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”
Stumbled upon the backwater enclosure near Kumbalangi, some random clicks down the road.