This instalment is hosted on GitHub — Read the Show Notes Here.

Tagged with:

This instalment is hosted on GitHub — Read the Show Notes Here.

Tagged with:

This post is part 92 of 92 in the series Programming by Stealth

This instalment is hosted on GitHub — Read the Show Notes Here.

Tagged with:

This post is part 91 of 92 in the series Programming by Stealth

This instalment is hosted on GitHub — Read the Show Notes Here.

Tagged with:

While I wrote these MacOS Quick Actions to scratch my own proverbial itch, I think they could be of use to others, so I’m releasing them as open source.

The actions allow you to calculate the word count, line count, and character count of selected text, to convert a text selection to upper case, lower case, or title case, to do the same to the contents of the clipboard, and to convert the clipboard from rich text to plain text and to trim the contents of the clipboard.

You can download the actions and read the docs on GitHub.

As well as describing what each of the Quick Actions do, the GitHub docs also describe how to install the actions, how to use them, and how to assign keyboard shortcuts to them if desired.

If you’re curious to learn how these Quick Actions work, read on.

Read more

Tagged with:

This instalment is hosted on GitHub — Read the Show Notes Here.

Tagged with:

This post is part 90 of 92 in the series Programming by Stealth

This instalment is hosted on GitHub — Read the Show Notes Here.

Tagged with:

Listener @lbutlr pointed out on Twitter that the sample solution to the challenge set in PBS 88 as I originally posted it in PBS 89 had a bug — it sometimes got its maths spectacularly wrong!

PBS 88 Solution Bug

It’s important to note that the bug did not affect all currencies, just some currencies.

The line of code for doing the currency conversion is supremely simple:

How on earth can there be a bug that is something so simple that only manifests for some currencies but not for others?

Read more

Tagged with:

This post is part 89 of 92 in the series Programming by Stealth

This instalment is an experiment in more ways than one. The most obvious being that it is the first to be hosted entirely on GitHub, show notes and all!

Read the Show Notes Here

Tagged with:

This post is part 88 of 92 in the series Programming by Stealth

We’re nearing the end of our series-within-a-series re-capping the many proverbial hats JavaScript objects wear and updating our knowledge to include new features added to the language since we started our JavaScript journey. In this instalment we’ll focus on two very tightly related hats — native JavaScript DOM object, which we’ve chosen not to use, and jQuery object, which wrap native DOM object to give them super-powers.

This instalment will have a slightly unusual structure, we’ll use my sample solution to the challenge set at the end of instalment 85 to illustrate some of the core concepts.

Read more

Tagged with:

keep looking »