Turning on Bluetooth w/out a mouse

I accidentally turned off Bluetooth and my mouse stopped working on my Mac. To turn Bluetooth back on with just the keyboard, use Command-Spacebar to bring up Spotlight search. Type Bluetooth File Exchange which will prompt you for turning on Bluetooth by hitting the Return key.

How to find locked files on a Mac

I have a video headlight for my bike and occasionally I want to lock a file to make sure it’s not written over with subsequent videos. Later I want to unlock them. One way is to reformat the memory card. Another way is to do it on theMac. However, Finder does not indicate which files are locked. This unix command can be used:

Start the Terminal

cd to the proper folder. I moved to the top level, then to Volumes, then to the volume with the memory card which is inserted into the MacBook Thunderbolt port.

sudo find . -flags uchg” [without the quotes. This will list locked files. To unlock files, use: “sudo chflags -R nouchg”]

Summarizing Numbers data

I have a table with a row for each bike facility occurrence in each VA county and the trails in each county. I want to summarize that data. It can be done using Categories in Numbers. Under Organize, select Add Categories. This will sort the table and create a new row for each category. Cells in that row can be designated to Sum the values in that column. The Category was Locality and the Length of each facility segment is totaled by clicking the gears in the category row for that attribute. All Categories can be collapsed and the total for Length calculated by selecting the category totals and pasting them into another sheet and totaling those.

How to obtain name and addresses

The Mailing List Generator allows users to create mailing lists for adjoining property notifications. The tool allows users to drop a point on a parcel and generates a list of all property owners addresses within 500ft of the parcel. 

How do I use it? Follow these simple steps.

1. Locate the parcel where you would like to generate the list. 

2. Activate the Mailing List Generator by clicking on the envelope icon.

3. Click on the Selection Point icon and drop in the parcel. 

4. Select Run. 

5. Once the tool has run the mailing list can be accessed by clicking the hyperlink under mailing list. 

Working with address point data

Anyone can download Fairfax Co GIS data. Wanting to know how many people live in my area, went to the Address Points data layer under Property & Land. I zoomed to my area and used the area selection tool on the right, then used Filter to this area which selected points within the area. Those were downloaded.

I entered the points data into QGIS, in a csv file that contained x, y data in the first two columns. I did this by selecting Open Data Source Manager in the upper left. I then selected Delimited Text. The first row contained feature names.

Using QGIS Select Features by Freehand I selected the addresses in my area. The Select Features by Polygon didn’t work on the MacBook because I couldn’t close the polygon. I then used Open Attribute Table (Selected Features) and there were 691 addresses selected. According to the Census demographic for Virginia, there is an average of 2.4 people per household in this area (ESRI data for 3 mile radius). My area then is estimated to have 2.4 x 691 = 1,658 people. According to the Census data for Virginia, there are 128 towns smaller than my immediate neighborhood in Reston. Everyone driving a vehicle must enter and exit the neighborhood using one road. Bicyclists have a few options other than the road.

Moving Mac cursor using the keyboard

After turning off Bluetooth using the cursor, the Bluetooth mouse no longer works. To move the cursor, use Option-Command-F5 to bring up the Accessibility Shortcuts window. Move through the options using the Tab key to reach “Mouse Keys”. Use Space bar to select that option. Now the Keypad can be used to move the cursor. Number 5 acts as a click.

Europe/England/US Soccer Tournaments and Leagues

Via ChatGPT

There are several major soccer tournaments held in Europe, some of the most prominent ones include:

  1. UEFA Champions League: This is one of the most prestigious club competitions in the world and features top teams from various European leagues such as the English Premier League, Spanish La Liga, German Bundesliga, and Italian Serie A.
  2. UEFA Europa League: This is another important club competition for teams in Europe, featuring clubs that did not qualify for the Champions League.
  3. UEFA European Championship (Euros): This is the biggest international soccer tournament held in Europe, featuring national teams from across the continent. It takes place every four years and is considered one of the most important international soccer competitions.
  4. FIFA World Cup: Although not exclusively held in Europe, the World Cup is a global soccer tournament that takes place every four years and often includes several European teams.
  5. Copa del Rey: The Copa del Rey is a knockout competition for Spanish clubs, with teams from La Liga and Segunda División competing for the title.

England is home to some of the most prestigious professional soccer tournaments in the world, including:

  1. Premier League: The Premier League is the top tier of English professional soccer and is widely considered one of the best leagues in the world. It features 20 clubs and runs from August to May each year.
  2. FA Cup: The FA Cup is the oldest soccer competition in the world and is open to all teams from the Premier League down to the amateur levels. It is a knockout tournament that culminates in a final at Wembley Stadium.
  3. League Cup: The League Cup, also known as the Carabao Cup, is a competition for English professional clubs. It is held annually and features teams from the Premier League, Championship, League One, and League Two.
  4. Community Shield: The Community Shield is a one-off match played at the start of each season, between the winner of the Premier League and the winner of the FA Cup.

The major professional soccer leagues in Britain include:

  1. Premier League: The Premier League is the top tier of English professional soccer and is widely considered one of the best leagues in the world. It features 20 clubs and runs from August to May each year.
  2. English Football League (EFL): The English Football League is a system of professional soccer leagues in England and is made up of the Championship, League One, and League Two. The EFL is below the Premier League in the English soccer league system.
  3. Scottish Professional Football League (SPFL): The Scottish Professional Football League is the governing body for professional soccer in Scotland and is comprised of four divisions: the Scottish Premiership, Scottish Championship, Scottish League One, and Scottish League Two.
  4. Welsh Premier League: The Welsh Premier League is the top level of professional soccer in Wales and is comprised of 12 clubs.

The major professional soccer leagues in the United States include:

  1. Major League Soccer (MLS): Major League Soccer is the top tier of professional soccer in the United States and is comprised of 27 teams. It was founded in 1996 and has grown to become one of the leading soccer leagues in North America.
  2. United Soccer League (USL): The United Soccer League is a system of professional and semi-professional soccer leagues in the United States and Canada. It is divided into three tiers: USL Championship, USL League One, and USL League Two.
  3. National Women’s Soccer League (NWSL): The National Women’s Soccer League is the premier women’s professional soccer league in the United States and is made up of nine teams.

These are the main professional soccer leagues in the United States, although there are also numerous lower-level leagues and regional competitions. Additionally, many American players also compete in top leagues in Europe, Mexico, and other countries around the world.

Renaming files with date

Found a good tutorial on using Automator to rename files using the creation date. I had several photos with duplicate filenames that I wanted to use in sequence by date.

Automator Quick Action, Run Shell Script with a Workflow receives current “files or folders” in “Finder.app”

The script Shell: is bin/zsh and Pass Input: “as arguments”. The Quick Action is called RenameWithDate and is activated by right clicking on one or more filenames and choosing Quick Action in the popup menu, then selecting RenameWithDate:

for f in “$@”
do
filedate=$(date -r $(stat -f %B $f) +%Y-%m-%d);
filename=$f:t
filepath=$f:h
mv $filepath/{“$filename”,”$filedate $filename”}
done

This is a link to the YouTube video: