Search
Open a Browser Tab with DevTools Open by Default
28.12.2020
Using command line flags is a great way to subtly improve productivity. Whether saving yourself keystrokes or enabling specific features, it’s very much worth knowing the application flags available to you. To launch a new tab with DevTools in Chrome, you can use...
Watch The First Episode Of Mamoru Oshii's New Anime Right Here
18.12.2020
Mamoru Oshii is famous for influential anime feature films like Patlabor 2: The Movie and Ghost in the Shell. Prior to that, he made a name for himself directing the Urusei Yatsura TV series in the early 1980s. He’s now returned to TV anime with Vlad Love.Read more
Ghost In The Shell Director Mamoru Oshii On This Year's Biggest Anime Hit
14.12.2020
When people look back at 2020, for all its awfulness, one bright spot will stick out in Japan: the runaway success of Demon Slayer.Read more
git: Remove Untracked Files
19.11.2020
I’ve always said that I know just enough about git to get the job done, but also do something destructive. Nothing embodies that more than my recent mistake. I somehow found a git repository full of untracked files and git stash wouldn’t fix it. Desperation led me to learning how...
Detect Changed Files with git
26.10.2020
There are numerous reasons to want to know which files have been added or modified in a git repository, one of which is your text editor highlighting those files. Another use case is running tasks against only files which are presently changed, like lint or other validation routines. So how can...
How to Detect the Default Branch in a git Repository
28.9.2020
Over the past few years, many engineering teams have switched their default git branch name from master to a different, potentially less offensive term. I’m all for choosing to name your default branch whatever you’d like, but not having a universal default branch name can complicate...
Shell-Backed Firm Raises $2.5M for Zero-Knowledge Proof Platform
22.4.2020
Enterprises are increasingly adopting zero-knowledge proofs, with a Shell-backed blockchain firm raising $2.5M
Detect git Directory with Bash
2.4.2020
One interesting aspect of working at Mozilla is that Firefox lives in a mercurial repository while several other projects live on GitHub in a git repository. While most focus on either Firefox or another project, I switch between both, leaving me running git commands inside the mercurial repository...
Shell Subsidiary Builds DLT-Based Virtual Power Plant in Germany
16.3.2020
Sonnen Group, a subsidiary of Royal Dutch Shell, will use blockchain technology to create a virtual power plant to store excess wind power in Germany
How to Set a Default Commit Message
2.3.2020
Having a default commit message is really useful for a number of reasons: It can formalize your commit messages It serves as a good reminder for the information you should add to your commit message, like issue number If you set it to “Drunk AF, don’t accept this” To set a default...
How to Specify User Agent with cURL
25.2.2020
Over the years I’ve shared how to perform a number of actions with cURL: how to send POST data, how to retrieve headers, follow redirects, check GZIP encoding, and more. Another useful cURL directive is sending the user agent, as some servers respond with different content or headers...
View Mac Calendar from Command Line
24.2.2020
As someone that loves using UI tools, I do pride myself in learning how to accomplish the same feats from command line. Don’t believe me? Check out my Command Line tutorials section — I guarantee you’ll learn quite a bit. Recently I learned that you can view basic calendars from...
Git Branch Autocompletion
4.2.2020
Naming git branches is something most of us have down to a science. My branch naming pattern is usually {issue number}-short-feature-description, though many developers prefer to lead with the description and end with the issue. Regardless of the pattern you use, having a feature like autocomplete...
Validate CSP from Command Line
2.1.2020
The content security policy spec has been an amazing front-end security tool to help prevent XSS and other types of attacks. I’d go as far to say that every site should implement as specific CSP as possible. If you aren’t familiar with CSPs, here’s a quick example:...
Mirror Android Device to Computer
26.11.2019
As I continue my adventure into Android development, pair programming has been a huge help in learning this new platform. When it’s time to build and run the app, relying on the emulator is a fools’ game — the emulator is slow and it’s hard to reliably simulate gestures....
Firefox Kiosk Mode
16.10.2019
As someone who loves the HTML and web APIs, I want to see them used in all different types of devices and mediums. Being that I work for the amazing Mozilla Corporation, seeing Firefox and the gecko web engine thrive in those spaces is important to me. Firefox was recently featured in the Firefox...
How to Create a QR Code
15.10.2019
QR codes aren’t everyone’s cup of tea but I quite like them. If I see something I want to remember or check out later, especially when on the road, it’s super easy to take a quick picture — it’s much easier than trying to remember a URL and much faster than typing...
Stop Installing Packages Globally
9.9.2019
These days, most front-end projects are going to involve NPM packages of some kind. Occasionally, when browsing documentation for these packages, I’ll see a recommendation to install a package like this. yarn global add <package> Or like this. npm install --global <package> In both...
How to Build Firefox
27.8.2019
Open source is a dream and a gateway to an amazing career — I’m a testament to that. One of the most amazing open source projects to ever exist, Mozilla Firefox, is a project I’m proud to work on as an employee of Mozilla. It’s rewarding, challenging, and a unique...
Mercurial Tips
19.8.2019
While most of the world seems to be using git for version control, Mozilla continues to use Mercurial (hg) to manage the Firefox source code. As a git and GitHub lover, it took me a while to get used to Mercurial. I don’t consider myself a hg expert but I know enough to complete...