Sam Richard
@Snugug
BBQ lead, ChromeOS DevRel. Mostly food, sometimes design and development, especially for the web. 7008px tall. He/him.
An archive of my Twitter timeline up until I moved to Mastodon. You can find me there at @[email protected]
-
Ok, I’ve got one more for y’all now that I’ve got the kinks worked out: Emoji Commit Helpers:
npmjs.com/package/emoji-commit-helpers
:emoji: (scope) Subject
commit style helpers for Commitizen and Commitlint, but with shared settings and Lerna support! Semantic Release & Changelog soon. -
RT @auchenberg: Congrats to my friends at @MSEdgeDev for shipping their new Chromium-based browser! 🎉 Excited to see where you’ll take thin…
-
@nhoizey @eleven_ty I would have loved that too. Would make my life so much easier. I’ll+1 your thread
-
@nhoizey @eleven_ty :) I’m glad you like my solution!
It’s Apache-2.0 licensed so as long as you follow those guidelines please use it as inspiration!
I’m also open to expanding the scope of this module if you’d like to contribute (name may need to change then)
-
@nhoizey @eleven_ty It takes the min/max/step config and generates images and srcsets based on that without growing larger than the source image. No customization beyond that.
Sizes attribute, absolutely! Add one to the
img
tag and that’ll be used instead of the default! -
@nekrtemplar @workboxjs I was concerned that something labeled Workbox coming from a Googler that wasn’t from the Workbox team would be confusing, but this seems to be equally so. I’m going to marinade on a module name change for a few days before making one
-
That’s what I’ve got for y’all! Static Site Scaffold has also been updated to use these, too!
These all now live in github.com/chromeos/static-site-scaffold-modules, my first monorepo. More thoughts (and modules!) coming from my learnings setting that up soon.
-
Finally, an @eleven_ty plugin! Local Responsive Images!
npmjs.com/package/eleventy-plugin-local-respimg
This transforms
img
tags with images on-disk by resizing, WebP-ing, and optimizing them, and sticks them in apicture
tag! Drop-dead simple local responsive images. -
[@workboxjs](https://twitter.com/workboxjs/) Third, Service Worker Includes!
npmjs.com/package/service-worker-includes
This is a caching pattern where full HTML is served to a user, but dynamic and static parts of the page can be cached and updated separately! Uses @workboxjs too.
-
Next is internationalization redirection for service workers!
npmjs.com/package/service-worker-i18n-redirect
This will allow a Service Worker to redirect a URL to the user’s preferred language given a url pattern
{{langcode}}/url/path
. Should be dep free, but designed for @workboxjs. -
First up, @RollupJS plugin for @workboxjs to use Workbox’s precache injection w/a processed file! Existing solutions have Workbox control the service worker generation, meaning it couldn’t be processed w/Rollup before.
-
Ok everyone! I’ve got some goodies to share with y’all! Have spent the past week or so cleaning up my codebases and have some new modules to share!
-
Today on #samdoessandwich, a classic! Ham and swiss with honey mustard and mayo on honey wheat. Some cheeky salt and malt vinegar chips peeking through the back, too. instagram.com/p/B7T494bJE-f/?igshid=1fl1foaottecp
-
RT @DasSurma: Super excited to see this.
Safari froze it’s UA string in TP 46 already.
Firefox and Edge are supportive and aim to do the…
-
Curry chicken salad on romaine, with chips. instagram.com/p/B7SPVEhphwJ/?igshid=11raje9f8ukwb
-
That said, if you wanna play with a kinda experimental Lerna/Gitmoji Commitizen and Commitlint setup, it’s def working inside the monorepo r/n!
-
For those curious what I’ve been up to w/r/t this, I wound up writing github.com/chromeos/static-site-scaffold-modules/tree/master/modules/lerna-emoji (in progress) to get Commitizen/Commitlint working nicely together. Next step is to integrate w/Semantic Release.
-
@ImAaronUpright @ElijahLynn @howardbrande @jonpugh Also, yes! The Roadmapping solution built in to ZenHub is great! I finally have a chance to use it!
-
@ElijahLynn @jonpugh First, I’ll say I’m slightly biased because I absolutely adore ZenHub, but in general my $.02:
Projects is a good basic Kanban board, which is getting smarter with Actions, but mostly manual.
ZenHub is a full project management platform.
If you want to manage a project, go ZH.
-
RT @justinfagnani: ⏱T-minus 3 days till 100% native web components support across the major browsers! 🚀
-
RT @KenJennings: BREAKING: I have decided to follow @James_Holzhauer on Twitter, since he’s been following me on Jeopardy all week.
-
RT @davideastUK: obsessed with this picture of a seal looking up
-
RT @sophiebits: The real “clean code” is code that is easy to understand, verify, and change. Which often means more repetition and less ab…
-
RT @apf: I have an uncanny ability to estimate time while cooking: without looking I know when 10min or 45min has passed for the food,…
-
RT @AuschwitzMuseum: We should not ask ‘what would we do then?’ as bystanders seeing the warning signs.
We must ask: 'what are we doing n…