Search
How to Add Native Keyword Aliases to Babel
16.4.2020
Those of you who follow this blog know that not every blog post is an endorsement of a technique but simply a tutorial how to accomplish something. Sometimes the technique described is probably not something you should do. This is one of those blog posts. The Babel parser is an essential tool...
Using CSS to Set Text Inside a Circle
14.4.2020
You want to set some text inside the shape of a circle with HTML and CSS? That’s crazy talk, right?
Not really! Thanks to shape-outside and some pure CSS trickery it is possible to do exactly that.
However, this can be a fiddly layout option. We have to take lots of different things into...
JavaScript Picture-in-Picture API
14.4.2020
As a huge fan of media on the web, I’m always excited about enhancements to how we can control our media. Maybe I get excited about simple things like the <video> tag and its associated elements and attributes because media on the web started with custom codecs, browser extensions,...
How to Create a CSS-Tricks Custom Scrollbar
13.4.2020
Chris Coyier of CSS-Tricks is an amazing engineer and blogger. He’s not only creative but has always had the drive to put his thoughts to work, no matter how large. He also has a good eye for the little things that can make CSS-Tricks or your site special. One of those little things is...
UFC Fighter Changes Twitter Name to Promote Bitcoin Halving
8.4.2020
One prominent sports figure is doing all he can to promote the Bitcoin halving to his 311,000 followers
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...
5 Essential git Commands and Utilities
26.3.2020
For many of us, git and GitHub play a huge role in our development workflows. Whenever we have a tool that we need to use often, the more fine-tuned we can make that tool, the faster we can get things done. The following are five git commands or helpers that can make your developer life...
How to Buy Weed With Bitcoin
25.3.2020
So you’ve got a little bitcoin to your name but are all out of weed. What you gonna do? Well, if you’re fortunate enough to live in a region where marijuana is legal, there are ways to exchange the two. While if you don’t inhabit such an enlightened area, rumor has it there...
Teamstack: Easy Automation of Identity Management (Sponsored)
23.3.2020
Access management can be a bit of a nightmare, especially when we realize that we rely on a number of different, independent services that power our organizations. Many businesses use Gmail for email, Google Docs for documents, Slack for communication, GitHub for their codebase, etc. Yet each...
Steem Fork Faces Legal Threat From Mining Firm Over ‘Hive’ Name
23.3.2020
A new blockchain called Hive is being told it needs to change its name just days after it was created in a fork from Steem
Neumorphism and CSS
20.3.2020
Neumorphism (aka neomorphism) is a relatively new design trend and a term that’s gotten a good amount of buzz lately. It’s aesthetic is marked by minimal and real-looking UI that’s sort of a new take on skeuomorphism — hence the name. It got its name in a UX Collective post from December 2019,...
How to Cancel a Fetch Request
17.3.2020
JavaScript promises have always been a major win for the language — they’ve led to a revolution of asynchronous coding that has vastly improved performance on the web. One shortcoming of native promises is that there’s no true way to cancel a fetch…until now. A...
How to Simulate Long HTTP Requests
17.3.2020
It happens less frequently these days but there are times when we need to accommodate for a HTTP request timing out. The service could be down, under heavy traffic, or just poorly coded, or any host of other issues. Whenever I need to simulate a long HTTP request, I use a bit of PHP...
CSS X
17.3.2020
My name appears in an article from Bert Bos (co-author of the original CSS spec), so I'll consider that a life accomplishment. Berts makes the point that CSS has evolved and the working group versions things, but the working group hasn't been and doesn't really plan to be involved in these...
Tips for Working Remotely and Enjoying It!
9.3.2020
With the coronavirus spreading and employers telling employees work from home if possible, there are scores of people getting their first taste of working remotely. Depending on your experience and discipline levels, this could be a welcomed change or a complete culture shock. The amount of freedom...
South Korea Passes Bill to Regulate Cryptocurrency in Line With FATF Standards
7.3.2020
South Korea’s National Assembly finally passed a bill that provides a framework for the regulation of cryptocurrencies and exchanges. Crypto service providers will be required to use the real-name verification system and comply with reporting requirements in line with the global...
Hex Opacity Table
6.3.2020
We’ve used hex colors for years but 8-digit hexadecimal is still relatively new. While rgba is simple to understand, 8-digit hex is more difficult, as you need to provide a hex representation of a numeric value. The following is a hexadecimal chart of opacity! 100 FF 99 FC 98 FA 97 F7 96...
What React Does (and Doesn’t Do)
5.3.2020
With a name as big as React, it's bound to cause some Stream-Crossing Confusion, as I like to call it. How do you center a <div> in React? Dave Ceddia:
React cares exactly zero about styling. Think of it as generating the barebones HTML. React will put elements on the page, but everything...
Human Readability and Privacy: BCH Can Be Sent by Email With Tips Tool, No Usernames Required
3.3.2020
Tips.Bitcoin.com allows users of crypto to tip BCH to friends and family via email address, arguably cutting out some of the inconvenience associated with standard bitcoin address formats. Unlike Coinbase Wallet’s new username option, which achieves similar ease for transactions, sending keys...
Considerations for Creating a Card Component
2.3.2020
Here's a Card component in React:
const Card = props ={
return(
<div className="card"<h2{props.title}</h2<p{props.content}</p</div)
}
It might be pretty useful! If you end up using this thing hundreds of times, now you have the ability to refactor a little bit of HTML...