Search

Nalezeno "Blog": 1879

How to Detect When a Sticky Element Gets Pinned


The need for position: sticky was around for years before it was implemented natively, and I can boast that I implemented it with JavaScript and scroll events for ages. Eventually we got position: sticky, and it works well from a visual perspective, but I wondered how can we determine when...

Minisklizeň, převážně "řádková"


Jsem minimalista a rád používám drobné šikovné utilitky. Nehodlám sice konkurovat Softwarové sklizni, která tu na rootu probíhá v rámci klasických článků každou středu, ale rád bych představil malé pomocníky, které mi zlehčují život s Linuxem. Předpokládám, že jsou v repozitáři distribuce, tak...

CMC Launches CoinMarketCap Earn Campaign With Terra Money


CoinMarketCap Earn, a way for CoinMarketCap users to learn about how a certain crypto asset while earning crypto rewards, hasContinue Reading The post CMC Launches CoinMarketCap Earn Campaign With Terra Money appeared first on CoinMarketCap Blog

Some New Icon Sets


I’ve bookmarked some icon sets lately, partly because I can never find a nice set when I need to. I figured I’d even go the extra mile here and blog them so I can definitely find them later. Aside from being nice, cohesive, and practical sets of icons, I find it interesting that...

Make Your Own Dev Tool


Amber Wilson on making bookmarklets to help yo-self. She shows off one that injects an accessibility script — I like this approach, as it means you don’t have to maintain the bookmarklet, just the script it links to). Another example runs some code contained right in the link. The result...

Shoelace 2.0: A Forward-thinking Library of Web Components


A few years ago, I released a lightweight alternative to Bootstrap affectionately named Shoelace. Shoelace was small and fast because of its minimal design and pure CSS approach to styling. It used CSS custom properties extensively to enable customizations, even when loaded via CDN — something...

Projekt ST - kapitola 4. - Přípravy a drobnosti


Tak zdroj máme funkční, vlastní logika počítače vypadá v pořádku, tedy je možno začít se věnovat dalším drobným činnostem. První věcí je základní deska, jelikož s ní není žádný další problém, stačí už jen pár drobností. Povrch profoukat stlačeným vzduchem (já nemaje kompresor používám plyn...

How to Detect the Default Branch in a git Repository


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...

O kompromisech uživatelské přívětivosti


Každému z nás se někdy při spolupráci s počítačem stalo, že si povzdechl: „Proč je to udělané právě takto? Nešlo by to jinak, ____?“ Záměrně jsem vynechal konec věty: jsou totiž dva různé povzdechy tohoto typu. Ti z vás, kteří s výpočetní technikou spíše bojují než spolupracují, si na vynechané...

CoinMarketCap Q3: Keeping Up With Crypto


From the CoinMarketCap Team Dear CoinMarketCap Community, To say that a lot has happened in the crypto space between thisContinue Reading The post CoinMarketCap Q3: Keeping Up With Crypto appeared first on CoinMarketCap Blog

Web Technologies and Syntax


JavaScript has a (newish) feature called optional chaining. Say I have code like: const name = Data.person.name; If person happens to not exist on Data, I’m going to get a hard, show-stopping error. With optional chaining, I can write: const name = Data.person?.name; Now if person...

How to Create an Async Function


One thing I love about JavaScript is that there are many ways to accomplish the same task, one such example being creating functions. There are several patterns for functions; one of the last you see used is the new Function method: /* new Function(arg1, arg2 (...), body) */ const myFunction =...

Úvod


Brian Krebs: „These days, complaining about being scanned is about as useful as griping that the top of your home is viewable via Google Earth. Trying to put devices on the Internet and then hoping that someone or something won’t find them is one of the most futile exercises...

Nehyzděte své aplikace vyhřezlými implementačními detaily


Dnes bych rád mluvil o jednom neduhu, který postihuje hlavně některé open source aplikace. Na konci se ještě zmíním o neduhu jiném, malinko podobném. O co jde? O vyhřezávání implementačních detailů. Implementačním detailem myslím nějaký mechanismus, který je nutný z technických důvodů, netýká...

Pár osobních zkušeností s Linuxem


V poslední době je populární používat Linuxové distribuce v režimu Rolling release. Rád bych se podělil o zkušenosti s nejstarší Linuxovou distribucí v tomto režimu, kterou je, podle mě, Debian Testing. Na desktopu je Debian testing super, updaty balíčků chodí brzy, balíčkovací systém Debianu, tedy...

Projekt ST - kapitola 3. - Rozchodíme to?


V této kapitole se dostáváme k tomu největšímu neznámému – dokáži vůbec počítač opravit? U nefunkčního stroje lze uvažovat nad vícero druhy závad, z nich asi nejhorší by byla celková nefunkčnost základní desky. V tom případě by to znamenalo začít procházet schémata, vzít si logickou sondu a pak...

Vital Web Performance


I hate slow websites. They are annoying to use and frustrating to work on. But what does it mean to be “slow”? It used to be waiting for document load. Then waiting for page ready. But with so many asynchronous patterns in use today, how do we even define what “slow” is? The W3C has […] The...

Remove the Search Input Clear(x) Icon


I really appreciate the amount of different <input> elements we’ve received over the past decade. These elements don’t just bring a new semantic advantage, but also provide UI helpers, which in many cases are useful. In a recent case, I found a UI element not useful: the x (clear)...

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