Robuta

https://www.seanmcp.com/articles/finding-a-linux-distro-and-software-that-work/ Finding a Linux distro and software that work – seanmcp.com After a lot of trial an error, I settled on Raspberry Pi OS and Firefox for my little Linux-powered computer. linux distrofindingsoftwareworkseanmcp https://www.seanmcp.com/articles/check-npm-scripts-in-current-directory/ How to check npm scripts in current directory – seanmcp.com Writing a script to read the package.json for you. current directorychecknpmscriptsseanmcp https://www.seanmcp.com/tags/zed/?category=Articles Tagged "Zed" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedzedseanmcp https://www.seanmcp.com/articles/css-empty-pseudo-class/ CSS :empty pseudo class – seanmcp.com Empty elements in a flex or grid container can result in double gaps, but CSS has an pseudo class to select and remove those elements. pseudo classcssemptyseanmcp https://www.seanmcp.com/articles/bypass-error-there-are-no-prompts-in-promptfoo/ Bypass "Error: There are no prompts" in promptfoo – seanmcp.com Adding a space to the end of the prompt text appears to be a workaround for this error. bypasserrorpromptsseanmcp https://www.seanmcp.com/articles/a-first-look-at-static-cms-with-astro/ A first look at Static CMS with Astro – seanmcp.com Documenting my first attempt at switching from Netlify CMS to Static CMS. first lookstatic cmsastroseanmcp https://www.seanmcp.com/tags/typography/?category=Articles Tagged "Typography" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedtypographyseanmcp https://www.seanmcp.com/tags/egghead/?category=Articles Tagged "Egghead" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedeggheadseanmcp https://www.seanmcp.com/articles/get-innerhtml-of-enzyme-wrapper/ Get innerHTML of Enzyme wrapper – seanmcp.com Writing a little helper function to grab the HTML of all children of a shallow wrapper in Enzyme. getinnerhtmlenzymewrapperseanmcp https://www.seanmcp.com/tags/mobile/?category=Articles Tagged "Mobile" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedmobileseanmcp https://www.seanmcp.com/tags/deno/?category=Articles Tagged "Deno" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggeddenoseanmcp https://www.seanmcp.com/articles/see-all-package-versions-in-npm-cli/ See all package versions in npm cli – seanmcp.com How to use npm view to see all the published versions of a package on the registry. package versionsseenpmcliseanmcp https://www.seanmcp.com/tags/decap/?category=Articles Tagged "Decap" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggeddecapseanmcp https://www.seanmcp.com/tags/programming/?category=Articles Tagged "Programming" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedprogrammingseanmcp https://www.seanmcp.com/tags/math/?category=Articles Tagged "Math" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedmathseanmcp https://www.seanmcp.com/tags/youtube/?category=Articles Tagged "YouTube" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedyoutubeseanmcp https://www.seanmcp.com/articles/typescript-mega-course-on-egghead/ TypeScript mega-course on Egghead.io – seanmcp.com Creating a playlist to learn TypeScript. typescriptmegacourseeggheadio https://www.seanmcp.com/articles/find-and-replace-with-regex-groups/ Find and replace with Regex groups – seanmcp.com Create Regex groups with parentheses for powerful find/replace patterns. findreplaceregexgroupsseanmcp https://www.seanmcp.com/tags/svelte/?category=Articles Tagged "Svelte" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedsvelteseanmcp https://www.seanmcp.com/articles/use-multiple-chrome-profiles-when-debugging/ Use multiple Chrome Profiles when debugging – seanmcp.com With specialized profiles, you can help identify issues without messing with your favorite settings. use multiplechromeprofilesdebuggingseanmcp https://www.seanmcp.com/articles/what-default-parameters-do-and-dont-do/ What default parameters do (and don't do) – seanmcp.com Correcting my mental model. defaultparametersseanmcp https://www.seanmcp.com/tags/computing/?category=Articles Tagged "Computing" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedcomputingseanmcp https://www.seanmcp.com/articles/storing-data-in-state-vs-class-variable/ Storing data in state vs. class variable – seanmcp.com Why do we store data in state as opposed to on the class? storingdatastatevsclass https://www.seanmcp.com/articles/linux-update-in-2023/ Linux Update in 2023 – seanmcp.com After experimenting with Linux last year, I am happily using Ubuntu on a Lenovo Yoga as my personal computer. linuxupdateseanmcp https://www.seanmcp.com/articles/programming-reads/ Programming reads – seanmcp.com A list of articles, books, and resources for software engineers. programmingreadsseanmcp https://www.seanmcp.com/articles/remove-duplicates-from-an-array-in-javascript/ Remove duplicates from an array in JavaScript – seanmcp.com Using sets to de-dupe arrays of primitive and object-like values. remove duplicatesarrayjavascriptseanmcp https://www.seanmcp.com/articles/snapshot-test-ui-components/ Should I snapshot my UI components? – seanmcp.com The temptation is strong, but consider some of the tradeoffs. ui componentssnapshotseanmcp https://www.seanmcp.com/articles/prevent-chrome-from-adjusting-audio-input-levels-on-mac/ Prevent Chrome from adjusting audio input levels on Mac – seanmcp.com A clever extension can prevent Google Meet from muting your bluetooth microphone. preventchromeadjustingaudioinput https://www.seanmcp.com/tags/bun/?category=Articles Tagged "Bun" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedbunseanmcp https://www.seanmcp.com/articles/gpts-read-text-files-better-than-markdown/ GPTs read text files better than markdown – seanmcp.com Use text files instead of markdown with OpenAI’s custom GPTs. text filesgptsreadbettermarkdown https://www.seanmcp.com/articles/english-words-by-consonant-vowel-pattern/ English words by consonant-vowel pattern – seanmcp.com A tool to look up common words by their consonant-vowel pattern and resources for the rest. english wordsvowelpatternseanmcp https://www.seanmcp.com/articles/reviewing-go-by-example/ Reviewing "Go By Example" – seanmcp.com Go By Example is a great resource for learning the syntax and patterns of Go, but you might need to supplement it with other resources to learn how to work in... reviewinggoexampleseanmcp https://www.seanmcp.com/articles/use-stackblitz-with-firefox/ How to use StackBlitz with Firefox – seanmcp.com Disable enhanced tracking protections to use StackBlitz with Firefox. usestackblitzfirefoxseanmcp https://www.seanmcp.com/tags/static-site-generator/?category=Articles Tagged "Static-site Generator" – seanmcp.com The personal site for Sean McPherson (seanmcp) static site generatortaggedseanmcp https://www.seanmcp.com/tags/github-actions/?category=Articles Tagged "GitHub Actions" – seanmcp.com The personal site for Sean McPherson (seanmcp) tagged githubactionsseanmcp https://www.seanmcp.com/articles/looking-over-the-fence-at-eleventy/ Looking over the fence at Eleventy – seanmcp.com Eleventy is looking better and better as an alternative to Astro for simple or long-lived websites. lookingfenceeleventyseanmcp https://www.seanmcp.com/articles/when-to-use-reacts-memo-hoc/ When to use React's memo HOC – seanmcp.com The memo higher-order component can prevent your component for re-rendering unnecessarily, but you should use caution before using it. use reactmemohocseanmcp https://www.seanmcp.com/tags/ai/?category=Articles Tagged "AI" – seanmcp.com The personal site for Sean McPherson (seanmcp) tagged aiseanmcp https://www.seanmcp.com/articles/qa-questions-for-everyone-to-ask/ QA questions for everyone to ask – seanmcp.com Everyone on the product team should ask verifying, discovery, and critical questions to ensure quality. qaquestionseveryoneaskseanmcp https://www.seanmcp.com/articles/new-command-palette/ New command palette – seanmcp.com I added a new new command/control K command palette to my site. You can use the keyboard shortcut or activate it by clicking the magnifying glass in the header. command palettenewseanmcp https://www.seanmcp.com/articles/add-text-to-the-beginning-of-every-file/ Add text to the beginning of every file – seanmcp.com Using a shell script to add a line to every file with a given extension. add textbeginningeveryfileseanmcp https://www.seanmcp.com/articles/listen-for-class-change-in-javascript/ Listen for class change in JavaScript – seanmcp.com There isn’t an event for class list changes, but you can write a function that listens for class changes on an element with the MutationObserver API. listenclasschangejavascriptseanmcp https://www.seanmcp.com/tags/vs-code/?category=Articles Tagged "VS Code" – seanmcp.com The personal site for Sean McPherson (seanmcp) vs codetaggedseanmcp https://www.seanmcp.com/tags/scripting/?category=Articles Tagged "Scripting" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedscriptingseanmcp https://www.seanmcp.com/articles/slidev-review/ Sli.dev review – seanmcp.com A great tool that gets out of the way when creating slides. slidevreviewseanmcp https://www.seanmcp.com/tags/declarative-code/?category=Articles Tagged "Declarative Code" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggeddeclarativecodeseanmcp https://www.seanmcp.com/articles/add-heroicons-to-an-eleventy-site/ Add Heroicons to an Eleventy site – seanmcp.com A guide to using the eleventy-plugin-heroicons package in your Eleventy projects. eleventy siteaddheroiconsseanmcp https://www.seanmcp.com/tags/performance/?category=Articles Tagged "Performance" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedperformanceseanmcp https://www.seanmcp.com/articles/writing-code-was-never-the-bottleneck-in-software-engineering/ Writing code was never the bottleneck in software engineering – seanmcp.com writing codesoftware engineeringneverbottleneckseanmcp https://www.seanmcp.com/articles/event-listener-for-class-change/ Add event listener for class change – seanmcp.com How to create a custom event listener for class names using the MutationObserver API. addeventlistenerclasschange https://www.seanmcp.com/articles/copy-the-last-git-commit-hash-on-macos/ Copy the last git commit hash on macOS – seanmcp.com A one liner to copy the last commit hash to the clipboard on a Mac. git commitcopylasthashmacos https://www.seanmcp.com/tags/web-components/?category=Articles Tagged "Web Components" – seanmcp.com The personal site for Sean McPherson (seanmcp) web componentstaggedseanmcp https://www.seanmcp.com/tags/regex/?category=Articles Tagged "Regex" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedregexseanmcp https://www.seanmcp.com/articles/what-is-a-build-gradle-file/ What is a build.gradle file? – seanmcp.com An brief explanation of Gradle and build.gradle files for JavaScript developers. buildgradlefileseanmcp https://www.seanmcp.com/articles/use-your-domain-on-mastodon-with-astro/ Use your domain on Mastodon with Astro – seanmcp.com A quick guide on using an Astro endpoint to generate the webfinger you need to use your domain on Mastodon. usedomainmastodonastroseanmcp https://www.seanmcp.com/articles/how-to-open-dev-tools/ How to open the Dev Tools – seanmcp.com A comprehensive guide for opening the dev tools in Chrome and Firefox. dev toolsopenseanmcp https://www.seanmcp.com/tags/shell/?category=Articles Tagged "Shell" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedshellseanmcp https://www.seanmcp.com/tags/npm/?category=Articles Tagged "npm" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggednpmseanmcp https://www.seanmcp.com/tags/firefox/?category=Articles Tagged "Firefox" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedfirefoxseanmcp https://www.seanmcp.com/articles/fix-package-esbuild-linux-64-could-not-be-found-error-on-netlify/ Fix "package esbuild-linux-64 could not be found" error on Netlify – seanmcp.com I don't know how applicable this solution will be to your situation, but it worked for me! found errorfixpackageesbuildlinux https://www.seanmcp.com/tags/gpts/?category=Articles Tagged "GPTs" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedgptsseanmcp https://www.seanmcp.com/articles/what-happened-to-react-native-community-packages/ What happened to @react-native-community packages? – seanmcp.com Why you won't be installing any community packages on your next React Native project. react nativehappenedcommunitypackagesseanmcp https://www.seanmcp.com/tags/android/?category=Articles Tagged "Android" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedandroidseanmcp https://www.seanmcp.com/articles/typescript-without-typescript/ TypeScript without TypeScript – seanmcp.com TypeScript provides valuable features but complicate the development process. What are some alternatives that provide the features without the headache? typescriptwithoutseanmcp https://www.seanmcp.com/articles/my-on-again-off-again-relationship-with-ai-assistants/ My on-again-off-again relationship with AI assistants – seanmcp.com I keep subscribing to and canceling AI assistant plans without finding lasting value. ai assistantsrelationshipseanmcp https://www.seanmcp.com/tags/search/?category=Articles Tagged "Search" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedsearchseanmcp https://www.seanmcp.com/articles/create-a-use-is-online-react-hook/ Create a useIsOnline React hook – seanmcp.com Using the Navigator's onLine property and online/offline events to create a custom React hook. react hookcreateseanmcp https://www.seanmcp.com/articles/normalizing-data-is-a-good-idea/ Normalizing data is a good idea – seanmcp.com By transforming your data into a consistent structure, you can reduce the complexity of your code. good ideanormalizingdataseanmcp https://www.seanmcp.com/tags/browsers/?category=Articles Tagged "Browsers" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedbrowsersseanmcp https://www.seanmcp.com/articles/zed-is-a-rocket-powered-skateboard/ Zed is a rocket-powered skateboard – seanmcp.com Zed is a new Rust-powered editor by the creator of Atom that focuses on speed but lacks a lot of features. zedrocketpoweredskateboardseanmcp https://www.seanmcp.com/tags/dev-tools/?category=Articles Tagged "Dev Tools" – seanmcp.com The personal site for Sean McPherson (seanmcp) dev toolstaggedseanmcp https://www.seanmcp.com/tags/jest/?category=Articles Tagged "Jest" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedjestseanmcp https://www.seanmcp.com/tags/astro/?category=Articles Tagged "Astro" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedastroseanmcp https://www.seanmcp.com/articles/create-a-dave-rupert-inspired-activity-graph/ Create a "Dave Rupert"-inspired activity graph – seanmcp.com A little code walk through a the new Activity Graph on my homepage. dave rupertcreateinspiredactivitygraph https://www.seanmcp.com/articles/fix-error-could-not-resolve-pagination-key-in-template-data-in-eleventy/ Fix "Error: Could not resolve pagination key in template data" in Eleventy – seanmcp.com Not a true fix, but a decent workaround when paginating collections in Eleventy. fixerrorcouldresolvepagination https://www.seanmcp.com/articles/timeboxing-types/ Timeboxing types – seanmcp.com In order to maximize the value of types and your time, consider timeboxing the amount of time that you spend writing any given type. timeboxingtypesseanmcp https://www.seanmcp.com/articles/fix-netlify-devs-multiple-possible-start-commands-found-issue/ Fix Netlify Dev's 'Multiple possible start commands found' issue – seanmcp.com You need to include additional properties in your netlify.toml to get it working correctly. fixnetlifydevmultiplepossible https://www.seanmcp.com/articles/three-new-games-on-toollama/ Three new games on Toollama – seanmcp.com Turtle Guide, Paint Pig, and Spotlight all help children build computer literacy. three newgamesseanmcp https://www.seanmcp.com/tags/icons/?category=Articles Tagged "Icons" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggediconsseanmcp https://www.seanmcp.com/tags/cognitive-load/?category=Articles Tagged "Cognitive Load" – seanmcp.com The personal site for Sean McPherson (seanmcp) cognitive loadtaggedseanmcp https://www.seanmcp.com/articles/axe-devtools-doesnt-flag-multiple-h1-elements-on-a-page/ Axe DevTools doesn't flag multiple h1 elements on a page – seanmcp.com Rendering multiple h1 elements on a page isn't technically an issue, but you probably want to avoid it anyway. Here I explain how to configure a snippet in... axe devtoolsflagmultipleelementsseanmcp https://www.seanmcp.com/articles/read-url-search-parameters-with-javascript/ Read URL search parameters with JavaScript – seanmcp.com How to use URLSearchParams to parse any search parameters string like window.location.search. readurlsearchparametersjavascript https://www.seanmcp.com/tags/language/?category=Articles Tagged "Language" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedlanguageseanmcp https://www.seanmcp.com/articles/how-im-using-ai-in-may-2023/ How I'm using AI in May 2023 – seanmcp.com GitHub Copilot is the top product this month, but Bard, Bing, ChatGPT, and Warp all have their uses. using aimayseanmcp https://www.seanmcp.com/tags/text-to-speech/?category=Articles Tagged "Text-to-Speech" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedtextspeechseanmcp https://www.seanmcp.com/tags/craft/?category=Articles Tagged "Craft" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedcraftseanmcp https://www.seanmcp.com/articles/upgrading-an-eleventy-site-to-1-0-0/ Upgrading an Eleventy site to 1.0.0 – seanmcp.com Make sure the you are using Node.js version 12 or later. eleventy siteupgradingseanmcp https://www.seanmcp.com/articles/fix-svg-css-animation-issue-in-safari/ Fix SVG CSS animation issue in Safari – seanmcp.com Safari 16 has trouble with CSS animations on SVG child elements, but you can resolve them by using a combined transform property. fixsvgcssanimationissue https://www.seanmcp.com/tags/openai/?category=Articles Tagged "OpenAI" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedopenaiseanmcp https://www.seanmcp.com/articles/migrating-from-google-domains-to-porkbun-was-painless/ Migrating from Google Domains to Porkbun was... – seanmcp.com I was able to transfer two domains from Google to Porkbun without any issues or downtime. migratinggoogledomainsporkbunseanmcp https://www.seanmcp.com/articles/pittsburgh-techfest-2024/ Pittsburgh TechFest 2024 – seanmcp.com Pittsburgh TechFest 2024 was a good experience and valuable opportunity to connect with the local tech scene. pittsburghseanmcp https://www.seanmcp.com/tags/fix/?category=Articles Tagged "Fix" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedfixseanmcp https://www.seanmcp.com/tags/productivity/?category=Articles Tagged "Productivity" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedproductivityseanmcp https://www.seanmcp.com/articles/fix-missing-astro-files-on-github-pages/ Fix missing Astro files on GitHub pages – seanmcp.com Astro generated CSS files start with an underscore which causes them to be ignored by GitHub Pages. fix missinggithub pagesastrofilesseanmcp https://www.seanmcp.com/articles/parse-argument-aliases-in-deno/ Parse argument aliases in Deno – seanmcp.com Using Deno's standard flags module to parse command-line arguments with aliases. parseargumentaliasesdenoseanmcp https://www.seanmcp.com/tags/error/?category=Articles Tagged "Error" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggederrorseanmcp https://www.seanmcp.com/articles/there-is-no-multi-tasking-on-the-raspberry-pi/ There is no multi-tasking on the Raspberry Pi – seanmcp.com Detailing some of the struggles that I've encountered while trying to do front-end development on a Raspberry Pi. multi taskingraspberry piseanmcp https://www.seanmcp.com/tags/bug/?category=Articles Tagged "Bug" – seanmcp.com The personal site for Sean McPherson (seanmcp) taggedbugseanmcp https://www.seanmcp.com/articles/simplify-event-delegation-with-the-element-closest-method/ Simplify event delegation with the Element.closest method – seanmcp.com Event delegation is a useful pattern for managing descendant interactions and Element.closest helps with simple and robust code. simplifyeventdelegationelementclosest https://www.seanmcp.com/articles/free-to-grow-with-tests/ Free to grow – seanmcp.com Why tests (should) free you to grow with confidence. freegrowseanmcp