Web Development (sometimes not) things I stumble upon while working through projects & the interwebs.
Today I Learned
Ruby's Uniq Method Has Superpowers
I kinda always took the .uniq method for granted with just appending it to an Array.uniq.count type of usage. Not any more.
.uniq
Array.uniq.count
Post Date: August 24, 2021
Hit . to open a slick browser based dev environment.
I know I'm probably late to the dance on this product rollout from Github's rollout of Codespaces bit check out this slick hotkey they got working in the browser.
Post Date: August 11, 2021
Remove HTML Tags Like a Regex Boss
Came across a slick little Ruby snippet to help remove HTML tags from a string. This helped in a Spina CMS project I am working on.
Post Date: July 25, 2021