R.I.P. William “Bill” Baldwin

Author: , Posted on Thursday, August 9th, 2018 at 12:48:45pm

Bill Baldwin passed away from a stroke in July 2018. He will be missed terribly by his many friends, family and co-workers. His exemplary craftsmanship and feisty attitude will be remembered with great fondness by all who knew him.

How To Display Blog Pages for a Single Category

Author: , Posted on Monday, August 6th, 2018 at 4:23:58pm

Create a new page and set the page template to Blog.

Add a new Custom Field to the page.

Set the Name to the string query_args and the value to cat=NNN, where NNN is the ID of the desired category.

Be sure to click Publish or Update when done.

You can locate the Category ID on the Categories management page:


If you cannot find the Custom Fields box on the edit page screen, look at the very top for a drop-down menu called “Screen Options”. Make sure that “Custom Fields” is checked.

How To Revert All Changes in a git Branch

Author: , Posted on Thursday, August 2nd, 2018 at 12:55:42pm

git checkout -f

How To Disable WordPress wpautop for Shortcodes

Author: , Posted on Friday, June 15th, 2018 at 1:35:54pm

remove_filter( 'the_content', 'wpautop' );
add_filter( 'the_content', 'smart_autop' );
function smart_autop($content) {
$post = get_post();
if($post->post_type != 'post') return $content; // if not a post, leave $content untouched
return wpautop($content);

Trademark Symbol

Author: , Posted on Friday, June 15th, 2018 at 9:53:58am

™ ™

How To Select Rows in MySQL with No Matching Entry in Another Table

Author: , Posted on Wednesday, May 16th, 2018 at 6:08:36pm

SELECT t1.id
FROM tableOne t1
LEFT JOIN tableTwo t2 ON t1.id = t2.id

The “WHERE t2.id IS NULL clause” restricts the results to only those rows where the id returned from tableTwo is null.

tableTwo.id will be NULL for all records from tableOne where the id is not found in tableTwo.

How To Move Around in Linux CLI Mail

Author: , Posted on Monday, May 7th, 2018 at 4:48:44pm

h Shows you a screenful of message headers (a “header” being the number, sender, date, size and subject).
h with no message number shows the current screenful of messages (the number that make up a screenful is set with the screen variable, described below).

h$ shows you the last screenful of messages — which is usually what you’re interested in (this is usually the first thing I type when I start mail).

h1 or h^ shows you the first screenful of messages.

z or z- If there is more than a screenful of messages, then z will show the next screenful, and z- will show the previous screenful.

d Mark message(s) for deletion.

d with no number marks the current message for deletion.

d with a number (or +, -, $, etc.) will mark the specified message(s) for deletion. To delete messages 1 to 3, you could do d 1-3, or d 1 2 3 or d *

I means ‘mark for deletion’ instead of ‘delete’ because the changes you make are only saved when you type q.


R.I.P. James R. Boyd Sr. (1934 – 2018)

Author: , Posted on Tuesday, May 1st, 2018 at 8:39:14am

James R. Boyd Sr. (1934 - 2018)

James R. Boyd Sr. (1934 – 2018)

NORTH RUPERT – James R. Boyd Sr., age 84 passed away peacefully on Monday, April 23, 2018, after an extended hospitalization.
Jim was born in Albany, NY, on March 26, 1934, the only child of David and Elizabeth (Adams) Boyd. He grew up in Colonie, NY, and served honorably in the U.S. Army 82nd Airborne Division in the 1950s.
Jim was the proprietor of Valley Woodworking in North Rupert, specializing in custom cabinetry work for the past 28 years.
He loved seeing friends and neighbors from the Pawlet community each day and was a regular at Mach’s Market and Sheldon’s Store in Pawlet for morning coffee. Always quick with a smile, he loved to laugh, share a good joke and opine on national and world events. It was especially pleasing to him when neighbors stopped into his shop for conversation.
Jim loved the outdoors and hunted and fished his entire life from the Adirondacks of New York to Narragansett Bay in Rhode Island. Oftentimes on summer evenings, he would be found fly fishing in his favorite spots along the nearby Mettowee River.
Jim is survived by his loving wife of 28 years, Linda (Stetson) Boyd. He was the beloved father of James R. Boyd Jr. and his wife, Emily Harrison, of Rumford, RI; his daughter, Cheryl Curcio and her husband, Steven, of Smithfield, RI; his daughter, Kerry Fleming and partner Al Wood, of Coventry, RI. He is also survived by a stepson, Robert Stetson, of Warwick, RI; and was predeceased by his stepdaughter, Melissa Stetson.
Additionally, he is survived by his six cherished grandchildren Tyler Curcio, Jordan Curcio, Andrew Fleming, Ryan Fleming, Jennifer Fleming, U.S. Navy PO3; and Rocque Dutil. He is also survived by his first wife, Arlene (Hunt Boyd) Papa.
Friends are invited to join family members for a graveside service with military honors to be held on Saturday, May 5, at 9 a.m. in the North Rupert Cemetery, VT Route 30.
A celebration of life gathering will immediately follow at The Barn Restaurant, 5581 VT Route 30, Pawlet.
Donations in Jim’s memory may be sent to the Wounded Warriors Project at: https://support.woundedwarriorproject.org
To send personal condolences, please visit www.sheafuneralhomes.com

April 30th and Snow is Falling

Author: , Posted on Monday, April 30th, 2018 at 8:00:23am


How To Locate Attached Disk Devices in Linux

Author: , Posted on Tuesday, April 24th, 2018 at 11:11:40am

# lsblk -a

nvme1n1       259:0    0  100G  0 disk /volumes/data
nvme0n1       259:1    0   20G  0 disk 
├─nvme0n1p1   259:2    0   20G  0 part /
└─nvme0n1p128 259:3    0    1M  0 part 
nvme1n1       259:0    0  100G  0 disk /volumes/data
nvme0n1       259:1    0   20G  0 disk 
├─nvme0n1p1   259:2    0   20G  0 part /
└─nvme0n1p128 259:3    0    1M  0 part