this week
september 27-october 3, 2020
bottle, css, git, html, regex, regular expressions, website
wednesday, august 9
- Working on the website in the first time in a while;;
- blessfrey.me's static pages look as intended - no footer in the middle of the body, no unclosed <ul> tags from diary entry previews breaking the CSS.
- w3's Nu Html Checker (lol @ the nu name) is really handy for automatically checking whether all my html tags are closed and CSS is valid, especially the parts generated through Bottle + SimpleTemplate.
thursday, october 1
- blessfrey.me's diary properly displays snippets for all articles: a header taken from the title, a truncated view of the article, the date + a place for social media share links, and a link to the article.
- Cleaning the snippets enough to look okay and not break the page was a challenge. I used regular expressions to remove html link + header tags, which is apparently a lost cause Stack Overflow users stand against daily, hourly even. It's not so bad if it's not user content, and the content is pretty predictable, right?
- Pythex @ https://pythex.org/ is useful for checking whether your regular expression will catch your target strings
- First command line git merge. I usually do it on the website. It's really simple - switch to the branch you're merging the second branch into, type 'git merge second-branch' (second-branch = name of the second branch obviously), and fix any conflicts.