I am pleased to say that most of the non-blog parts of my site are now served from static files. I have been working toward making a static version of my site for a while. I have created a PHP static web task that can crawl a site and turn the responses into an Apache friendly directory structure. Those pages now can be served extra fast, without going through PHP, and could be served on a free static host if I wanted. To go static, I not only had to write the code to build the static files, but also had to modify my site code to have the desired output when called from that context and modify my Apache configuration to respond correctly and add some headers that were being added by PHP before.
Continue reading post "Site partially static"change posts
git: MacOS default branch now “main”?
At some point recently, git init
on my Mac has started to default to the branch name “main”. It did this for a repo I created today, but not for one created August 29th, so maybe Apple made a change in an update sometime between then and now. I haven’t been able to find anything about the change on the web though.
I’ve gone over both my data and minutes this month on my cell plan.
Continue reading post "#2110"Helped my brother change his oil and install a filter relocater to make it easier to do in the future.
Continue reading post "#1855"Change git commit
To edit a git commit somewhere before the last one, use rebase with the commit hash (via StackOverflow answer):
Continue reading post "Change git commit"