-
Vaccinated.
Virus: SARS-CoV-2
Vaccine: Pfizer-BioNTech
Dose number: booster
Superpowers: /dev/null -
Moving Day. It’s all about the state of mind. π§
-
Not sure why, but it catches me every year. Repeat after me:
WWDC keynotes are not really for developers.
WWDC keynotes are not really for developers.
WWDC keynotes are not really for developers.
WWDC keynotes are not really for developers.
WWDC keynotes are not really for⦠-
Somehow @siracusa’s games simultaneously captivate and dumbfound me.
The first person to identify the movie from which this portion of a frame was extracted will get a free t-shirt at https://t.co/bVIQ8dstkE pic.twitter.com/ovcOeX1yZF
— John Siracusa (@siracusa) April 29, 2021 -
Vaccinated.
Virus: SARS-CoV-2
Vaccine: Oxford / AstraZeneca
Dose number: 2
Superpowers: still nothing -
I am trying to burn command line Git into my brain, rather than using a graphical tool. The options are fine, but I need to actually get the command correct…
zsh: command not found: got
-
Preparing to Ignore Files with Git and Xcode
Source code version control is a core competency of the modern developer. But sometimes the system and the environment can get in the way.
When using Xcode (or other tools) with services such as GitHub the default situation is to associate a folder with a new repository, including all files and subfolders contained within. This might also include some files or folders you might not want to include.
For example, macOS uses hidden files named
.DS_Store
(Apple’s Desktop Services Store) to manage information about the state of local folders, and Xcode places files inxcuserdata/
folders which trbck the state its own UI.Both of these are useful for the local user, but are unlikely to be so for others who might be working on your project code.
Before Your First Project
If you want to prevent all of your local projects including selected files or folders in their repositories, then you can update Git’s global settings.
Step One: create a .gitignore file
Create a file named
.gitignore_global
in your local user root directory. For example, by using the following command in the Terminal:touch ~/.gitignore_global
Note the
_global
suffix to highlight to future you that this affects all repositories.Step Two: add the required rules to the .gitignore file
Using your preferred text editor, add the name of each file or folder that you want to be excluded from all of your Git repositories. For the examples above, the file would contain (with #-prefixed comments included):
# macOS .DS_Store # Xcode xcuserdata/
There are other options, such as using wildcards, which can be explored as extended reading.
Step Three: Configure Git to use the .gitignore file
Use the Terminal to tell Git to use this list of files folders to be ignored when creating all new local repositories:
git config --global core.excludesfile ~/.gitignore_global
Ignoring by Project
You might want to ignore files on a project by project basis.
The process is the same, but in each project root folder you should include a
.gitignore
file, formatted as above.Fixing Files that Slip Through the Net
If you had already linked your Xcode project via Git, and after setting up your global, or per-project, ignore files, perhaps now have the odd erroneous file such as
.DS_Store
in one of your repositories, you can remove the individual files from your repository:git rm --cached .DS_Store
This will need done for each rogue file in your local repository, with files being removed from your remote repository on the next
git push
. -
Our Professional Learning Community breakfast club continued today with a discussion abut metacognition:
All good teachers implicitly understand and support the metacognitive development of their students, but too rarely have/take the time to explicitly explore the topic.
-
It’s a small solar system (but I wouldn’t want to paint it)! Congratulations NASA! π π
Iβm safe on Mars. Perseverance will get you anywhere.
— NASA's Perseverance Mars Rover (@NASAPersevere) February 18, 2021
#CountdownToMars -
Vaccinated.
Virus: SARS-CoV-2
Vaccine: Oxford / AstraZeneca
Dose number: 1
Superpowers: none yet detected -
Day 100 of #100DaysOfSwiftUI: without distinction
Thanks to @twostraws for an exceptionally high quality SwiftUI course. It’s taken me 499 days to get this done, but worth every devoted hour.
-
Day 99 of #100DaysOfSwiftUI: always seeking snow
Final challenge day, and not lazy for a change. All challenges complete. With care and attention.
βTomorrow we’ll discover
What our god in heaven has in store!
One more dawn, one more day, one day more!" -
Splash of the Titans:
Mathieu van der Poel on his way to besting Wout van Aert in the battle for the cyclocross rainbow bands in Ostend. Not often bike races take place in the North Sea.
-
Cumbria County Council get free pass from UK government to allow a new coal mine:
β[Projected emissions are] greater than the level of annual emissions we have projected from all open UK coalmines to 2050.β
β Lord Deben, reported by The Guardian
-
π΅ ‘Caterpillar’, Hamish Hawk
New single from the sensational Hamish Hawk (Twitter: @HHawkOfficial).
Bit of an early 80s indie vibe going on with this one, with Byrne-esque visuals.
-
The first meeting of our virtual Professional Learning Community breakfast club is tomorrow morning. The topic? Retrieval Practice. Want a primer?
-
Last quarter of 2020:
- Apple sales > 850,000 USD a minute
- Food banks
Mind-blowing.
Apple today announced financial results for its […] quarter ended December 26, 2020. The Company posted all-time record revenue of $111.4 billion
β Apple PR
-
Current favourite tools for teaching Maths (synchronous, remote):
DrFrostMaths: https://www.drfrostmaths.com/
Whiteboard.fi: https://whiteboard.fi
And good old PDFs with an iPad and Apple Pencil.
-
Day 98 of #100DaysOfSwiftUI: first degree burns
Last project complete, bar the inevitable challenges. And two days to go…
“Nae man can tether Time nor Tide,
The hour approaches Tam maun ride;”