Search

Nalezeno "auto": 1826

Set Commit Author with git or hg


Knowing who authored a code patch is a sacred and important practice in the world of software engineering. Knowing the author gives the reviewer an idea of trust level, know who to ask questions about the patch, and gives credit to the genius of an important fix. There have been times when...

Creating a Custom Element from Scratch


In the last article, we got our hands dirty with Web Components by creating an HTML template that is in the document but not rendered until we need it. Next up, we’re going to continue our quest to create a custom element version of the dialog component below which currently only uses...

Adding Search to Your Site with JavaScript


Static website generators like Gatsby and Jekyll are popular because they allow the creation of complex, templated pages that can be hosted anywhere. But the awesome simplicity of website generators is also limiting. Search is particularly hard. How do you allow users to search when you have...

I Don’t Hate Arrow Functions


TL;DR Arrow functions are fine for certain usages, but they have so many variations that they need to be carefully controlled to not break down the readability of the code. While arrow functions clearly have a ubiquitous community consensus (though not unanimous support!), it turns...

Write Your First Service Worker in 5 Minutes


What is a service worker? A service worker is a little file that will allow you to cache files and other assets on a user’s machine. How is this different from server-side caching? Because the assets are stored on a user’s machine, rather than a server, there is no need to go across...

Škoda, Alza a Rohlik startují pilotní projekt doručování zboží do kufru auta


Zákazníci firem Alza.cz a Rohlik.cz si budou moci už brzy vybrané zboží objednat přímo do zavazadlového prostoru svého vozu. Škoda Auto DigiLab totiž ve spolupráci s oběma internetovými obchody vyvíjí doručovací systém, díky němuž bude kurýrovi umožněn zabezpečený přístup do zavazadlového prostoru....

Planning for Responsive Images


The first time I made an image responsive, it was as simple as coding these four lines: img { max-width: 100%; height auto; /* default */ } Though that worked for me as a developer, it wasn’t the best for the audience. What happens if the the image in the src attribute is heavy? On high-end...

How to Set Commit Author


I’ve worn dozens of hats on a dozen different teams during my time at Mozilla, but none has been as rewarding and challenging as community management. Whether it’s mentoring students, welcoming new contributors, or reviewing pull requests, there’s always so much to be done....

Samořídicí auto ze smrtelnou nehodu nemůže, Uber nebude obviněný


Uber vyvázne z nehody svého autonomního vozidla, při které zemřela loni v Arizoně žena, zcela bez postihnu. Místní prokurátorka Sheila Polková v dopise informovala, že společnost za nešťastnou událost není trestně odpovědná a nebude z ničeho obviněna. Polková v dokumentu uvádí, že se svým týmem

Get File MIME Type from Command Line


I’ve gotten skilled at shell scripting over the years. I love a good GUI but knowing how to automate makes you a much more powerful engineer. Much of my scripting requires recursing over directories and processing a file if it meets a given criteria, which is often file extension or MIME...

Control Icons with Font Size


Here’s a nifty trick from Andy Bell that now seems a little obvious in hindsight: if you set an SVG to have a width and height of 1em then you can change the size of it with the font-size property. Try and change the font-size on the body element below to see the icon scale with the text: ...

List USB Devices from Command Line


I was recently creating a Recalbox with my 5 year old son and it was an awesome experience; I saw the excitement and curiosity in his eyes while helping him put together a video game machine. We added NES, SNES, and Nintendo 64 games to the device but it became apparent that the N64 controller...

JavaScript Proxy


I’ve always loved the flexibility of Objects and prototypes in JavaScript, but for a long time, I felt that a level of dynamism was lacking. JavaScript eventually added get and set methods for object properties, which was an awesome step, but there was still room for improvement....

Chris Coyier’s Favorite CodePen Demos IV


Did you know you can triple-heart things on CodePen? We’ve had that little not-so-hidden feature forever. You can click that little heart button on any Pen (or Project, Collection, or Post) on CodePen to show the creator a little love, but you can click it again and again to heart it just that...

Roboauto: České autonomní auto, které to chce rozjet u konkurence


Během pár let prý budeme běžně na silnicích potkávat plně samořiditelná auta. Jedno takové se poměrně v tichosti vyvíjí i v Česku. Do úrovně, kdy by skutečně samo a bez zásahů řidiče brázdilo silnice, má sice ještě daleko – ale jeho vývojáři našli možná ještě zajímavější byznys model. Zatímco...

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