Search

Nalezeno "any": 1085

My New Mac Setup and Why I Switched


I want to start this article by saying that I'm not here to start or take part in any brand war between Microsoft and Apple. I like both companies and have switched between operating systems occasi

Pseudo Code


Yonatan Doron wrote a post on Medium not long ago called "Art of Code — Why you should write more Pseudo Code." Love that title, as a fan of pseudo code myself. That is, writing "code" that describes something you want to do or communicate, but that isn't of any particular language and doesn't...

CSS :not() with Multiple Classes


Say you want to select an element when it doesn't have a certain class. That's what the :not() selector is for. body:not(.home) { } But what if there are multiple classes you want to avoid? There are no logical combinators with :not(), like and or or, but you can chain them, which...

Using GraphQL Playground with Gatsby


I’m assuming most of you have already heard about Gatsby, and at least loosely know that it’s basically a static site generator for React sites. It generally runs like this: Data Sources → Pull data from anywhere. Build → Generate your website with React and GraphQL. Deploy → Send the site to...

Get Peak WordPress Performance with Jetpack


The irony of web performance is that the average page weight of a site continues to go up year after year, despite us being more aware of the problem and having more tools at our disposal to fight it than ever. To paraphrase Seinfeld, "we know how to fight page weight issues; we just don't use...

Finally… A Post on Finally in Promises


“When does finally fire in a JavaScript promise?” This is a question I was asked in a recent workshop and I thought I’d write up a little post to clear up any confusion. The answer is, to quote Snape: ...always. The basic structure is like this: try { // I’ll try to execute some code...

JP Morgan Chase Ship Busted: Cocaine, Banks and the Failed Drug War


A ship seized by the U.S. Customs and Border Protection Agency in June carrying over 15,000 kilos of cocaine has now been tied to JP Morgan Chase’s asset management unit. Officially the company does not exercise any operational control of the vessel, but some serious questions are raised when...

Exploring Sets and Maps in JavaScript


Let’s take a look into two new constructs that were introduced in the JavaScript ES6 specification: Set - The Set object allows you to store unique values of any type

Toast


One day, all the sudden, I started hearing jokes about toast. I had no idea what the context was. I assumed some friends just got started telling toast jokes, which isn't rare by any means. But it turns out it was a whole thing. It got me thinking, jeez, if I can't keep up with this stuff when it's...

Restricting a (pseudo) element to its parent’s border-box


Have you ever wanted to ensure that nothing of a (pseudo) element gets displayed outside its parent's border-box? In case you're having trouble picturing what that looks like, let's say we wanted to get the following result with minimal markup and avoiding brittle CSS. The desired result. This...

Over 22,000 Traders Have Now Signed up to Local.Bitcoin.com


People from all over the world have opened accounts to trade bitcoin cash anonymously and without any KYC on Local.Bitcoin.com. Almost 1,000 BCH has already been exchanged privately through blind escrow via the new platform. Also Read: Namecheap Lets You Buy a Domain and Host Your Website With...

Markets Update: Cryptocurrency Prices Continue to Accelerate


Digital asset markets have been on a tear lately, gaining $68 billion in five days. Currently, there’s over $100 billion in global trade volumes and crypto bulls don’t seem to be letting up any time soon. Also Read: How to Find a Bitcoin Cash Meetup Near You The Cryptoconomy Captures...

Getting to Know the useReducer React Hook


useReducer is one of a handful of React hooks that shipped in React 16.7.0. It accepts a reducer function with the application initial state, returns the current application state, then dispatches a function. Here is an example of how it is used; const [state, dispatch] = useReducer(reducer...

Getting to Know the useReducer React Hook


useReducer is one of a handful of React hooks that shipped in React 16.7.0. It accepts a reducer function with the application initial state, returns the current application state, then dispatches a function. Here is an example of how it is used; const [state, dispatch] = useReducer(reducer...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace