Linux wget command FAQ: Can you share an example of a wget command used in a Linux shell script?

Here's a Unix/Linux shell script that I created to download a specific URL on the internet every day using the wget command. Note that I also use the date command to create a dynamic filename, which I'll describe shortly.

Sticks and stones may break my bones
Words will also hurt me
Compliments make me uncomfortable
I have social anxiety
I’m a wreck
Just go

For a friend, from this Twitter page. :)

This performance of “Glitter in the Air” by P!nk one of my favorite performances of any song, ever. (Warning: Her outfit may not be considered safe for work.)

I’m currently trying to upgrade a Drupal 6 website to Drupal 8, but the process has been slow-going so far. I’ll explain the problems and workarounds in this article as I learn them.

So far I have been able to get a Drupal 6 website with 7,000+ nodes and 18,000+ URL aliases converted to the point that I can now see all of the old blog posts on the Drupal 8 site, and I’ve also started theming the Drupal 8 website.

Getting ready for the upgrade

The process of getting ready to upgrade a Drupal 6 website to Drupal 8 goes like this:

I had to go to a doctor’s office today to give blood for another test, but there was a delay in processing my paperwork so I had to sit there for a little while. As I was sitting there my doctor walked into this area with another patient. I don’t remember how we started the conversation, but as we were talking, my doctor said that she was “trying to simplify her life.”

Life changes a lot when you don’t know if you’re going to end up in the hospital from one moment to the next. Technology is important, but it’s also not important. I hope the “technologists” out there get a chance to understand this in their time. Paraphrasing someone whose name I can’t remember, “Nobody who was about to die ever said, ‘I wish I had worked more.’”

“Now I see the secret of the making of the best persons. It is to grow in the open air, and to eat and sleep with the earth.”

~ Walt Whitman (as discovered from this tweet)

“I feel like when you talk to me there’s a lot of pressure on me to listen.”

~ from this twitter page :)

A funny tweet about taking criticism, from this Twitter page.

I don’t know why, but I was unable to get MySQL under MAMP 3.5 to read a my.cnf configuration file. I put that file in all of the usual places, but it wasn’t read. Then I tried to get it to read my configuration file by modifying this MAMP/MySQL startup script:

/Applications/MAMP/bin/startMysql.sh

but all I got then was an error message that these two options don’t work:

--defaults-file=FILE
--defaults-extra-file=FILE

I got those errors even though those options are shown in the mysqld_safe help output:

“For an actor, you’re rejected eight or ten times a day. All you’ve got to sell is yourself. You’re not selling products, they’re not turning down a car, they’re turning you down. Most people can’t handle that. Most people are essentially not set up that way.”

That’s a quote from Barry Corbin, who I mostly think of as Maurice Minnifield on Northern Exposure. His quote reminds me of the sales process in consulting work. I write more about this in my online book, A Survival Guide for New Consultants.

“When we do not expect anything we can be ourselves. That is our way, to live fully in each moment of time.”

~ Shunryu Suzuki, not always so

I’ve done this several times to myself now, but if you have just installed Drupal and then try to access the /user URI and get a “404 Not Found” error, fear not, you’re probably just missing the Drupal .htaccess file in the root directory of your installation.

According to this pcworld.com story, Intel is stopping production of its mobile Atom processors and quitting the mobile CPU business. “The company is immediately canceling Atom chips, code-named Sofia and Broxton, for mobile devices, an Intel spokeswoman confirmed.”

I’m a big fan of good pitchers. Not the hard-throwing guys, but guys who really have control of their stuff and know how to pitch. Cole Hamels is one of those guys, and espn.com has this story on his changing pitch selection.

I haven’t written too many high-performance Java applications lately, but if I did I would check out Java Mission Control from Oracle. I just saw some screenshots of it, and it looks useful.

re/code reports that Google is creating a new hardware division to implement their “living room” vision.

Mosquitoes in Alaska are so big that they’re jokingly referred to as Alaska’s “State Bird.” As a result, you want to make sure you have a good mosquito repellent up there, especially when you’re walking in the wilderness. And if you’re going to put on a repellent, why not smell good too, right?

Here’s your solution: This NPR story ranks Victoria’s Secret “Bombshell” perfume as the #6 mosquito repellent in their tests.

A ten-minute video where Richard Feynman discusses the Scientific Method. As always with Mr. Feynman, it’s smart, and funny:

Twig debugging in Drupal 8 is great — really great — when you need it as you’re developing a new Drupal 8 theme. But when you don’t need it, it generates a lot of extra output in your HTML that gets in the way of working on your theme development.

So, as a quick note to self, to disable (turn off) Drupal 8 Twig debugging, follow these steps: