Cypress v10 is out, and it makes some big changes. It comes with a real handy migration guide built into the
cypress open command, which is nice! But the component testing framework they’ve added expects you to be using Webpack in a normal way, and if you’re using Gatsby, that is not the case…
Today I Learned about the
-a flag in MacOS’s
open command-line application. It lets you specify the name of an app in
/Applications (without the
.app ending), and then opens it!
git log -- path/to/deleted-file
git log -S string
… don’t do it!
If you are using a desktop (not mobile/tablet) Mozilla Firefox or Brave Browser (or Google Chrome or another browser based on Chromium), here’s a quick way to remove a specific part of a web page — e.g. a distracting ad within the content, or a persistent subscription popup, or a “subscribe now” overlay which covers half the screen…
This blog is still alive! Up and running on Jekyll now. Should figure out how to support RSS feeds…
(…not quite literally, because these wouldn’t hatch anyway. But they are literal eggs…)
Sure can be annoying looking through HTML source trying to find all the
<meta name="whatever" content="something that search engines love" /> tags that the super-expensive SEO consultant said you absolutely must add…
…because the documentation for Hapi is awful:
Because I keep forgetting that I originally put this on the twitters…
Are you seeing ESLint throwing an error like
First things first: it can be a lot easier to resolve merge conflicts when you can see what the code looked like before the edits which are now conflicting. Git calls that the “common ancestors” of the conflicting lines of code, and it’s easy to configure Git to show those in the merge conflicts themselves using the
merge.conflictstyle config option. Here’s what Git’s help has to say about it:
…why would anyone want to have Dvorak on a mobile device?!? Actually, I only care about it in the iOS Simulator, when I’m using it on a computer with a real-live hardware keyboard.
Here is how I like to structure my Git branches and commit messages.
tl;dr Don’t use links like
github.com/owner/repo/blob/master/file.ext#L13 because that branch will change! Use
github.com/owner/repo/blob/COMMIT_SHA/file.ext#L13 and be future-proof.
Ever wanted to look through a Git repository’s history for a commits involving a specific string, but ignoring a certain directory (e.g. for packaged/built code)?
Thoughtbot’s Hound-CI service runs Rubocop on Ruby projects. It had a setting to show the name of the “cop” (style rule) that failed, which made it easier to look up the options for that specific rule.
Don’t need to
brew edit or check out old SHAs inside
/usr/local/Library any more: just
brew switch [project] [version]. Shiny!
I’m using Google’s Inbox mail client for work email. Recently I noticed that an email in a thread was marked as being spam, and couldn’t find a way to tell Inbox that this automated email wasn’t actually spam.
ElixirConf US 2015 was October 2–3 in Austin, Texas.
Ever find yourself wanting to type a literal ellipsis, like this? …
Run this in your (POSIX-compliant) shell — I promise it’s not bad:
Are you a vi/vim user who’s been hearing about how wonderful/useful/fast Spacemacs can be? Here is an evolving list of pointers for folks beginning to use this crazy new blend of editors…
Google Chrome has some nice developer tools. The Network tab in there lets you see requests and their headers, responses, initiators, and much more. Being able to filter the list of requests in the Network tab can be very useful.
For the next time I forget what this tool is called:
About once a week now, I’ll notice that the Dock on my Macbook (running 10.8.5) no longer auto-shows itself when hovering at the bottom of the screen.
In 2011 the dev team I was on went to Pivotal Labs for a few months to bootstrap a rebuild of our company’s site, and learn their style of “extreme programming”. We used a tool to organize our weekly retrospective meetings which I felt was remarkably useful and easy, but it’s since disappeared and I haven’t found a web-based replacement.
In the middle of the very top of iTunes, between the play/volume controls on the left and the search bar on the right, there’s a panel that normally shows the currently-playing song name and position, or device sync info, or CD burning info.
…is an episode of the Ruby Rogues podcast, #129 with Ben Orenstein (who has spent some of his time being the host of Thoughtbot’s Giant Robots podcast). In the episode, Ben talks about periodically evaluating his tools and making them work better for you.
Signals to try in order: 1, 15, 2, only then 9
Might need a patched font to get the fancy glyphs, e.g. Inconsolata for Powerline