Search
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...
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...
BitGo: A Name That Infuses Trust in Digital Currency!
29.2.2020
BitGo is a digital asset trust company that provides multi-signature bitcoin wallet service with a unique distribution of wallet keys. The wallet keys are distributed among different owners for better security and management of risks. BitGo wallets have three types of keys, one key is held by BitGo...
Coinbase Wallet Adds Support for Short and ‘Human-Friendly’ Cryptocurrency Addresses
26.2.2020
One of the scariest features of transacting with cryptocurrency, for many new users, is correctly inputting the long hexadecimal addresses involved. Various individual projects and larger collaborations have tried to tackle this anxiety-inducing issue in different ways, so that bitcoin adoption...
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...
The Domain Startups Building an Uncensorable Internet on Top of Ethereum
21.2.2020
Last weekend at ETHDenver, decentralized internet alternatives were on display from projects leveraging blockchain’s censorship-resistant nature
Lazy Object Initialization
17.2.2020
The Firefox DevTools underlying code, which is written with JavaScript and HTML, is a complex application. Due to the complexity and amount of work going on, the DevTools team has done everything they can to load as little as possible. Furthermore the team has a system of lazily importing...
Land Your Dream Job with Vettery (Sponsored)
17.2.2020
Whether you’re an experienced pro or someone new to the industry, finding a great job can be a scary, stressful process. Engineers and designers get inundated with Hacker Rank tests, portfolio requests, and a variety of other queries. Vettery improves the experience for free agents...
Steemit for Sale: Popular Crypto Blogging Platform Sold to Tron, Community Reacts
16.2.2020
Crypto blogging platform Steemit is undergoing a big change, migrating from its own Steem blockchain to the Tron network. The struggling crypto blogging platform launched in 2016 and made waves when big name libertarian users began to make thousands of dollars per post. The platform’s heyday...
Override window.alert
11.2.2020
For years the only bit of feedback web developers could get was via alert("{str}") calls. These days we have the web console but, in rare cases, we don’t have a console and alert calls are our only window into a value at a given time. One problem: if an alert sneaks into production code, your...
The Case of the Stolen Domain Names
10.2.2020
Back in 2011, the domain name for this site, css-tricks.com, was stolen. "Domain Hijacking," they call it. It wasn't just this site, but around 12 others in the design and development space. To this day, none of us really know how it happened and who was behind it, although I believe all...
Awesome Forward & Reverse Geocoding API: positionstack (Sponsored)
6.2.2020
One awesome web functionality we take for granted is geolocation. Based on geolocation data, we can get someone to their destination, provide them suggestions based on their location, and so on. One downside of native geolocation, especially in the browser, is that it’s limited in both input...