Notepad++: using regular expression to search and replace

Self-tutoring about Notepad++: the tutor mentions using regular expressions.

Regular expressions can be used in Notepad++ Search and Replace. For instance, suppose you want to change the variable names test2 test39 test991 to test_2 test_39 test_991 . In Notepad++, such change would be possible using Search with a regular expression

Replace (test)([0-9]+) with \1_\2


Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Religion: Luke 23.47

Self-tutoring about the Bible: the tutor mentions a quote he remembers often.

Perhaps Easter is the most noted time for some Christians, because it commemorates the actual sacrifice of Jesus and His subsequent return to life.

As Jesus’s body yields on the cross, Luke observes the following:

Now when the centurion saw what had happened, he began praising God, saying, “Certainly this man was innocent.” -Luke 23.47

The Romans viewed Jesus with objectivity the Jews could hardly manage. As Jesus observes,

Truly I say to you, no prophet is welcome in his home town. -Luke 4.24


Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Windows: shortcut to minimize app window

Self-tutoring about Windows: the tutor mentions a way to minimize an app from the keyboard.

Window key+down arrow, in my experience, will minimize an app.


Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Windows command prompt: how to combine Windows commands on one line

Self-tutoring about Windows command prompt: the tutor mentions a way to combine commands on one line.


a_command & another_command

will perform both commands if possible. Even if it can’t do the first, it will still attempt the second.

a_command && another_command

it seems, will stop if it can’t perform the first command. However, if it can perform the first it will move on to the second.


Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Text editors: Notepad++, part 1: copy current line shortcut

Self-tutoring about computer science apps: the tutor mentions a trick.

In my experience, the shortcut to copy current line, Notepad++: Crtl+Shift+X

The version of Notepad++ I use is v7.5.9


Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Gardening: attracting earthworms

Self-tutoring about gardening: the tutor shares a story.

Many years ago I was aerating the lawn with a hand tool when a man approached me from where he was parked across the street.

“Hello…what are you doing?” he asked.

“Aerating the lawn.”

It turned out he’d been in the lawn business, and proceeded to give me some tips. “You feed the soil, not the grass,” he advised. Then, he crossed the street and drove away, not to return.

Not uncommonly, strangers approach me, introduce themselves, and tell a story. I listen as carefully as I can; such encounters have taught me much. The man’s comment “feed the soil” I’d read before.

Late last May I planted some seeds. While a few sunflowers grew, I harvested nothing from the garden. One reason I decided: the soil just wasn’t prepared. In the fall I raked the yard of oak leaves, then mixed them into the garden soil (read about that here).

Back then, I noticed that one patch – the one in the lawn – had plentiful earthworms, while the raised one had almost none. I wondered at the difference. I knew that, to give the raised plot a chance to be successful, worms had to populate it. Would they find the leaves I mixed into it? The leaves were many: I mixed them thickly in the soil, hoping for the best.

Maybe a week ago, I went out to begin this year’s yard work in earnest. I dug into the soil of the raised bed, hoping to find earthworms. Indeed, they’ve found the leaves and migrated there to partake of them.

Mixing the leaves in the soil back in late October seemed an optimistic activity. However, taking that man’s serendipitous advice from so many years ago, I was “feeding the soil.”

I’m approaching this year’s gardening with cautious optimism.

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Exercise and fitness: motivation, part 0

Self-tutoring about motivation towards exercise: the tutor reflects.

In my experience, exercise is less comfortable than relaxing. So how does a person propel themselves from relaxing to exercise? Perhaps just as importantly, how to ensure they work hard enough to get the benefit they want?

One trick I use is calorie counting. Even our 20+ year old exercise bike has a calorie counter. I know how many calories I can manage in 20 minutes (300 on that bike), so I push hard, trying to reach that goal. Later, the 5 minute cool down feels good. A couple stretches after…done:)

After a while I got bored with making 300 calories every time. Instead of trying for more, I tried to make 300 in 19 minutes, rather than 20. That motivator sustained me through many workouts. Somehow, finishing that minute early was worth fighting hard for.

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Botany: cherry birch identification

Self-tutoring about tree identification: the tutor mentions cherry birch.

Waiting last week at an office, I gazed out the window, where a tree drew my attention.

The tree had a few familiar features; never had I seen them in the same tree. It looked like a birch, but was it? The bark was bronze, perhaps even red. Yet, it had that sideways grooving a birch has.

I can’t recall seeing a birch with bark that colour. In fact, its trunk and bark reminded me of a cherry tree, yet its flowers were catkins rather than blossoms.

Identifying a tree can be very difficult, especially when you see it from a distance and only once. I searched the internet and decided the tree in question must be a birch – but which kind? I concluded it wasn’t one native here.

I looked at cherry birch a few times. Finally I noticed the comparison to cherry bark, and its identity crystallized: I believe the tree to be cherry birch.

Cherry birch isn’t native here but is a known landscape tree.


Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Homemade apple pie: good for you?

Self-tutoring about eating and lifestyle: the tutor reflects.

Recently I made a couple of apple pies because we had a big bag of apples we’d gotten for cheap. I must have used 6 pounds of apples making the pies. I also used two cups sugar.

The pies were gone in two days.

Some people might say that eating less sugar is better, so we just should have eaten the apples plain rather than in pies. My perspective, however, is that we never would have eaten six pounds of plain apples in two days; we might have managed to consume them in a week.

In pie form, the apples are much more attractive to eat. Is the sugar partly why? Perhaps. Yet, if you believe that eating more fruit is better, you’re provoked to contemplate that people might eat around three times the volume of apples in pie form as they will plain.

A cornerstone of the reasoning is knowing exactly how much apples and sugar were involved.


Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Design: what is sepia?

Self-tutoring about design: the tutor mentions the idea of sepia.

To start with, I didn’t even know how to pronounce sepia, but it’s SEE-pee-uh.

In black-and-white photography, there is only a scale of brightness of a single hue. Likely the simplest case to imagine is grey hue, ranging from black to white.

Sepia is a brown colour. When black-and-white photography is based on a brown hue, the effect is also called sepia. Therefore, a sepia photograph will look dark brown on darker features, while lighter features might look yellow.



Mish, Frederick C. (editor). Merriam-Webster Dictionary. Springfield: Merriam-Webster, 2004.

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
%d bloggers like this: