I have been using the Macintosh computer off and on since 1989. On Friday, I'll share some tips and tricks using the computer and various accessories. All reviews and tips are my own.
I have been using the Macintosh computer off and on since 1989. On Friday, I'll share some tips and tricks using the computer and various accessories. All reviews and tips are my own.
A list of all the Blog Posts in this category.
Macintosh ExFat Format is the best way to format your USB drive for use with a Macintosh computer. This format provides compatibility with both Mac and Windows operating systems, making it the perfect choice for cross-platform users.
If you're having problems copying large files to a USB, chances are it's because the USB is using an outdated file system. Unfortunately, the only way to convert to ExFAT is to reformat the USB.
USB thumb drives are a convenient way to move files between computers, but their size can be limiting. A USB thumb drive formatted with the Macintosh ExFat file system can store large files without running into the size limitations of other file systems.
The ExFat file system was designed for flash drives and other portable media. It supports files up to 16 terabytes in size, making it ideal for storing large video or image files. The ExFat format is also compatible with both Windows and Mac computers, making it a versatile choice for transferring files between different platforms.
Microsoft owns the patents on several elements of the ExFAT technical design. This means that any company that wants to use this technology must license it from Microsoft. While this may seem like a burden, it is actually a good thing for companies. Microsoft has a strong track record of protecting its patents and ensuring that its technology is used in a responsible way. This means that companies can be confident that they will not face legal challenges from Microsoft if they use ExFAT in their products.
Adding a script menu to the menu bar is an incredibly useful feature that I recently discovered. This allows you to easily run AppleScript whenever you would like, without having to search for it in your Applications folder. This can be really helpful if you need to run a script regularly, or if you just want easy access to your scripts.
Each application can have a specific set of AppleScript files. This helps declutter the menu and have only the essential scripts shown. Every application can have its own script folder - even if the Applicationdoesn't have built-in support for AppleScript.
In the example above, I have two AppleScripts where I generate an anchor tag for HTML or Markdown. The script output is saved to the clipboard - ready to be pasted in any application.
Do you code in PHP, Python, or BASH? No problem, you can always have AppleScript run your code! Here's a sample line:
do shell script "Python3 ~/scripts/something.py"
That one line of code will execute a Python Script. It can be modified to run any Shell command. Now you can run your code anyplace.
There isn't a way to assign shortcut keys to any AppleScript command.
This is the AppleScript that I wrote to generate the HTML tag of the active Chrome Browser:
tell application "Google Chrome" set broswerurl to get URL of active tab of first window set browsertitle to get title of active tab of first window set the clipboard to "<a href="" & broswerurl & "" >" & browsertitle & "</a >" end tell
There are several Macintosh applications that make it really easy to create a Year on a Page calendar. These calendars can be used as quick reference tools to help you plan your year.
You can't create Year on a Page printout using Apple Calendar or Google Calendar. The best application that I found to create Year On a Page is Posterino. It's really easy to use and you can produce a simple customize calendar in a matter of seconds.
Here are the steps to create a custom Year on A Page:
You can add references to Apple Calendars in your "Year on a Page Calendar." The only problem is there is no guide, on the page, to what color goes with the calendar.
There are all sorts of additional configurations in the Adjust panel. You can change the color of the Month, have Weekday have longer names, and more. You can even have adjacent days show up on the months too - in a lighter color. There's also a setting to draw the month frame and grid lines.
There are 11 different Calendar templates to select from in Posterino
Posterino cost $19.99 for a single user or $29.99 for the household. Obviously, there's a lot you can do with this application. The Year on a Page functionality is just one way to use the application.
There are some online services that are available that you can use. These are free and don't offer the same customization that Posterino does.
TimeandDate - Create your own PDF Printable Calendar. You can create a login so you don't have to type in events every time you create a calendar. Very popular solution and they have good templates.
CalendarLabs - Quick and easy calendars. Just download the PDF and your on your way. There are some customization available.
SentinelOne is the world's first artificial intelligence (AI) powered cybersecurity platform that prevents threats at a faster speed, greater scale, and higher accuracy than humanly possible.
The platform uses AI to identify and prevent cyber threats in real-time, across all devices and networks. It does this by analyzing data patterns and behaviors to identify malicious activity before it can cause damage.
Since SentinelOne is powered by AI, it can detect threats that traditional security measures cannot see. This makes the platform incredibly effective at preventing cyberattacks from causing harm or stealing valuable data.
In addition to its threat prevention capabilities, SentinelOne also provides comprehensive reporting on all activity across your network so you can stay informed of any potential risks.
Apparently the Keyboard Maestro application is considered a threat in the SentinelOne world.
When you uncompress the keyboardmaestro-1002.zip file, immediately SentinelOne will remove the Keyboard Maestro Engine. There is no chance to override it. Poof! it's gone.
Without the Keyboard Maestro Engine you can't use the application. THere's no way around it.
You can get approval from Admin that the file is safe, but the file has been removed. Someone from IT will need to log in to the computer and disable the SentinelOne and unzip keyboardmaestro-1002.zip so that SentinelOne doesn't delete it.
It's one thing to protect a computer, but should you limit the productivity of the users?
Keyboard Maestro is an automation tool that helps speed up personal productivity. Users can save a lot of time by not having to type repeated statements.
Keyboard Maestro has an excellent ClipBoard History manager that makes it easy to recall previously saved clipboard content - saving lots of time from copying common text and images. You can even save the content to be reused over and over again.
Keyboard Maestro has the ability to tap into Chrome. Users can parse URLs to be used in other apps. For example, if I am in Slack and I want to post the current Jira ticket that I have open, I can type a simple command and instantly have a Markdown parse version of the Jira page.
There's so much more that Keyboard Maestro can do to help users be more efficient in their day-to-day activities.
According to the Developer, SentinelOne needs to fix its software. They have voiced their complaint and nothing happens.
I wonder what other applications are being prevented installed by SentinelOne.
Epic Ruler is an impressive set of design utility tools to measure distance, dimension, position, pick colors, test contrast, and align on-screen elements. It's a great tool for web designers and developers who need to quickly check the dimensions or positioning of objects on the screen. With Epic Ruler you can easily select any color from your screen with a built-in color picker, and test the contrast between two colors. You can also use it to quickly align objects on your screen by selecting one or more points and clicking "Align."
Epic Ruler shows exactly how far objects are on a webpage.
The ruler is very cool. It works based on the screen elements and not windows. This means that you can use it to check the proper placements of objects on a webpage. You can type 'd' to save the measure tool. In addition, you can use the arrow keys to extend the boundaries of the measure tool.
Guidelines are a good way to make sure elements are properly spaced out. This might be useful when I need to validate that objects in tables are properly aligned correctly. What's nice is that's its an overlay, so you can keep it on the screen as you doing work.
Color Picker is a fast and easy way to identify the color of objects that you see on the screen. By default, the color picker will show RGBA values, but you can change that to HEX values in the appearance section in the preferences dialog box.
To capture the results of Epic Ruler elements you need to use the included screen capture tool. This captures all the saved rulers, guidelines, and color picker elements. You can then send the capture to any program such as Snagit or Slack.
Note: There is a bug in macOS Monterey and that sharing the capture isn't working. Luckly you can still access the capture files in in ~/Pictures/EpicRuler
Epic Ruler works in the background and you can trigger elements by using the shortcuts. Two useful shortcuts worth remembering is Option D to enable the Measure Tool and Option C to clear the screen.
The ruler functionality is certainly worth getting. I haven't seen rulers work the way that Epic Ruler works. Most applications are just based on the window edges - which can be useful - but to find the spacing between elements is pretty cool.
The nice thing is that isn't a browser plug-in. So you can use this in graphic and page layout programs too. This makes it a great universal app so you can use it no matter where you are on the computer.
I would recommend getting the application as a unique tool for your toolbox. It may come in handy someday when your trying to figure out if something is align correctly.
One of the things I don't like about macOS Monterey is the additional security features. When you try to copy text from some PDF documents you may encounter this dialog box:
All I am doing is copying the text. Why should this be prevented? How do I know who the document owner is? Do you think that they would just give me the username/password to unlock this document?
This all worked fine in previous versions of macOS. But the new rules make a simple copy and paste a crime.
One creative way around this security restriction, is to open the PDF file in Firefox. You can open the PDF, go to the page and copy the text. You can then paste the content of the text into any document (as text data.)
If you're going to be frequently referencing data from this PDF, you can bypass the copy/paste permissions by duplicating the file! Yup. Simply duplicate the file in Preview and you'll be able to copy text like it was macOS 11 (Big Sur)
Who knows if Apple will make future changes with the ability to duplicate PDF documents?
There are several UNIX commands that Apple provides to help with audio. These are executed from the terminal.
applay allows you to play audio files from the command line.
Audio File Play
Version: 2.0
Copyright 2003-2013, Apple Inc. All Rights Reserved.
Specify -h (-help) for command options
afinfo allows you to get information on an audio file.
Sample output
File: 2004.mp3
File type ID: MPG3
Num Tracks: 1
----
Data format: 2 ch, 44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 bytes/frame
no channel layout.
estimated duration: 53.916735 sec
audio bytes: 1294001
audio packets: 2064
bit rate: 191999 bits per second
packet size upper bound: 1052
maximum packet size: 627
audio data file offset: 1027
optimized
audio 2375680 valid frames + 576 priming + 1472 remainder = 2377728
For me the most useful information is the Data format. In the above example, the 44100 Hz is a common sampling frequency - so the audio should play fine on most devices.
afconvert converts file from one format to another.
Supported formats:
3GP Audio, 3GPP-2 Audio , AAC ADTS, AC3, AIFC, AIFF, amrf, m4af, m4bf, caff, ec-3, MPG1, MPG2, MPG3, mp4f, NeXT, Sd2f, WAVE
Interesting formats that is missing: oog (Common for streaming audio)
Sample output
# Converts MP3 to WAVE
afconvert -f WAVE -d LEI32 2004.mp3 -o 2004.wav
# FLAC
afconvert -f flac -d flac 2004.mp3 -o 2004.flac
afclip checks to see if your audio file has clipped sound - which is audio that is too loud and caused a clip.
Sample output
afclip 2004.mp3
afclip : "2004.mp3" 2 ch, 44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 bytes/frame
-- no samples clipped --
afhash is an audio file hash
The purpose of the hashing at offsets close to the start and the end of the file is to ensure that if a TAG editing tool modifies either the beginning of the end of the file, at least one of the two hashes should survive and allow us to get meta-data on a specific file.
Sample output
afhash 2004.flac
2004.flac :
MD5 Hash in file : 41004751cb6cb5219a51e6935ec97b66
MD5 Hash of audio data : 41004751cb6cb5219a51e6935ec97b66
Hashes match.
If you're on the hunt for the best gifts to buy an Apple fan this year, we've put together a helpful guide to point you in the right direction. While personal preference always plays a part in gift-giving, sometimes it can be hard to come up with any ideas for someone in your life who loves tech and Apple products.
The gifts in this guide largely relate to products created by Apple and third-party accessories that work well with Apple's devices. We've divided things up by Apple Products; Cases, Skins, and Screen Protectors; Charging; Audio; TVs; Smart Home; and Miscellaneous. Be sure to save this guide and browse it throughout the year whenever you need to buy a birthday gift or other present for a loved one.
If your budget allows for it, Apple has numerous devices that make for solid gift-giving ideas. If the person you're buying for subscribes to Apple Music, AirPods and HomePod mini are great companions to the streaming music service. For anyone active on your shopping list, the new Apple Watch SE is a great workout companion at an affordable price point.
With their cheap prices and small sizes, iPhone cases and screen protectors make for great, quick gifts. Of course, if you're looking for MacBook protection, companies like Pad & Quill and Twelve South offer solid options, and the growing popularity of AirPods has caused third-party brands to introduce some case options for the wireless headphones as well.
Portable chargers are one of the best go-to gifts since most people can relate to needing a quick charge on their smartphone at one point during the day. Anker's popularity and reliability in the market remain strong, so you can't go wrong buying from them, but look to Choetech, RAVPower, and the new brand Nimble for a few other notable charging accessories options.
![]() | Web enthusiast. Enjoy writing tech reviews. All-around dev & writer, an on-air contributor to various websites & magazines. My job entailed show prep, YouTube management, writing segments, running tests on different tech. |
Have you ever gotten this error when running your Python code:
UnicodeEncodeError: 'ascii' codec can't encode character 'u2019' in position 16520: ordinal not in range(128)
args = ('ascii', '<!DOCTYPE html>n<html lang="en">n <head>n <m...rigin="anonymous"></script>nnn </body>n</html>nn', 16520, 16521, 'ordinal not in range(128)')
encoding = 'ascii'
end = 16521
object = '<!DOCTYPE html>n<html lang="en">n <head>n <m...rigin="anonymous"></script>nnn </body>n</html>nn'
reason = 'ordinal not in range(128)'
start = 16520
with_traceback = <built-in method with_traceback of UnicodeEncodeError object>
This has been happening to me a lot when I convert code from PHP to Python. It was frustrating to fix the error. Someplace in my code is a piece of text that isn't translating well.
The easy quick fix I found is in the Text Status Bar in BBEdit. The text status bar shows the file encoding,
Change the Python File Encoding!
By default the coding is Unicode (UTF-8)
However, if you change the file encoding to Western (ISO Latin 1) something magical happens when you save.
Unmappable character(s) detected.
If there's any Unicode in your file, it warns you and then tells you where the Unicode is so that you can fix it!
Once you fix all the errors the file will save and the UnicodeEncodeError should go away!
Sample Unmappable Characters dialog box that shows you what you need to fix!
If you get ordinal not in range(256) - Check out my solution.
If the error is results from a Database data, check out out this solution.
Emmet is an easy way for Web Developers to generate code from a series of shortcuts. It's a good tool for raw HTML and CSS developers.
Emmit support was include in BBEdit v.14 which was released in the summer of 2021.
div>ul>li*2
Using Emmit expands to:
<div>
<ul>
<li><# $1 #></li>
<li><# $2 #></li>
</ul>
</div>
To use Emmet in BBEdit you need to install it. You use Node Package Manager (NPM) to install the files. ( Emmet NPM page)
Got NPM?
If you haven't installed NPM before, or don't know if you have it installed - you can always download the node installer from Nodejs.org
Download the NodeJS installer from Nodejs.org website: https://nodejs.org/
After doing the NPS install, you will need to run the NPM install command to install Emmet:
npm install emmet
Why not run the install command in BBEdit's Shell Worksheet?
The important thing about using Emmet in BBEdit is that you use the "Expand Emmet Abbreviation" on the same line that you have type the abbreviation.
You do not select the text and then use the "Expand Emmet Abbreviation" command.
Copy the following into any BBEdit window:
h2.card-title>h5.card-subtitle>p*3
At the end of the line use the keyboard shortcut Shift F5 or select "Expand Emmet Abbreviation" from the Edit menu.
If your into Bootstrap, this is a good one to know:
card.mt-3>.card-header>.card-body
Output:
<card class="mt-3">
<div class="card-header">
<div class="card-body"><# $1 #></div>
</div>
</card>
That created the basic card area in the Bootstrap universe.
You can learn more about Emmet commands from there website: https://docs.emmet.io/