Search

Nalezeno "Blog": 1842

5 Reasons Static Sites Rock!


Static Sites are the new hotness in Web Development and rightfully so. Every day on podcasts, blog articles, and tweets I see and hear more and more people converting their sites. Let's check out f

Object.fromEntries


The Object object has been buffed with useful methods over the past few years.  Object.keys, Object.values, Object.freeze, and Object.assign all address frequently desired functionality.  One of the new Object methods is fromEntries, which accepts a Map or map-like array nesting and converts it...

Download a YouTube Channel’s Videos


YouTube is an endless source of entertainment, be it stuff you’re proud to share you like or stuff you would rather others not know about (see: David’s history of watching old WWE Royal Rumbles).  I watch a lot of YouTube in hotels and on flights when I don’t have internet access...

Turn Bluetooth On and Off from Command Line on macOS


Bluetooth has been a revelation in wireless technology: wireless mice, headphones, streaming devices, and a variety of home and office environments.  It goes without saying that wireless peripherals are so much easier to manage than wired counterparts, especially mice, that I usually have...

Get Up and Win


Down on my hands and knees, I crawl around, bleeding out.  I’m resigned to my fate.  A kind stranger, a new friend, rushes over to me and kneels to help, reviving me at a time that didn’t require it.  Just as I’m revived, the kind stranger says “Get up and win”.  I...

Jak pracovat efektivně s relační databází pomocí JDBC jazyka Java?


Pokud pro implementaci databázových dotazů nechcete použít žádný z mnoha javových ORM frameworků a přitom máte dojem, že ani springový nástroj JdbcTemplate není pro vás úplně to pravé, zkuste třídu JdbcBuilder z projektu UjoTools. Každý, kdo někdy programoval SQL dotazy prostřednictvím knihovny...

Lessons in Failure: Removing the Old Debugger from Firefox


Joining the Firefox DevTools team was a dream come true for me.  I shared why in the first episode of the Script & Style show but the quick summary is that I grew up loving Firefox (even before it was called “Firefox”) because Mozilla cared about developers via their early developer...

Mercurial: Mass Add and Remove All Files


While I much prefer git and the GitHub workflow, Firefox’s codebase (mozilla-central) is store in a mercurial repository.  There are tools that wrap mercurial so you can use a git-like interface, like git-cinnabar, but my philosophy is to learn the root tool so that I know what’s going...

Change Mac Brightness from Command Line


Earlier this week I posted about how you can modify your Mac’s volume from command line.  Little command line scripts make me smile because I spend so much of my day in command line, and automation can be the key to productivity.  I next thought about modifying brightness from command line...

Find and Change Default App for File Type from Command Line


There are few things more frustrating to any computer user than files opening in an unwanted application.  Sure you can use the Open menu item in the desired application but we all just want to double-click a file and see it open in the application we expect.  I recently got to thinking about this...

Real-time Geolocation & Reverse IP Lookup with ipapi (Sponsored)


There’s an incredible amount you can do when you know where your web visitor is located.  You can target advertising to the user, you can load maps of nearby search queries, you can localize website verbiage, you can customize content for their region, etc.  I guess what I’m trying...

What does Stack Overflow want to be when it grows up?


I sometimes get asked by regular people in the actual real world what it is that I do for a living, and here's my 15 second answer: We built a sort of Wikipedia website for computer programmers to post questions and answers. It's called Stack Overflow. As of last month

Arch, Secure Boot a falešný pocit bezpečí


Nedávno jsem s kolegou diskutoval právě o tomhle vynálezu, SecureBoot. Došli jsme k závěru, že nemá smysl mít podepsaný zavaděč a jádro, když se dá podvrhnout initramdisk a díky tomu odposlechnout heslo šifrovaného disku. Nedalo mi to a pročetl jsem si kus ArchWiki, mimochodem nejlepší dokumentace...

Chromebook jako primární (a jediný) laptop?


Na většinu hloupých otázek z titulku článku se většinou odpovídá „ne“, přestože se často článek snaží vyznít obráceně. Nicméně se mi podařilo nastavit Chromebook do té míry, že jej bez uzardění mohu používat pořád i na složitější úkoly. A to i na veřejnosti! Mýtus: Chromebook jako online psací stroj

Change System Volume from Command Line on Mac OS


Oftentimes the awesome GUI applications we love are simply gloss over a command line functionality.  While I do love a visual app, it’s always good to know how to do things from command line, if only for the sake of automation.  I’ve covered loads of command line secrets, most notably...

Jemný úvod do jazyka Idris (2) - Některé výrazy jsou si rovnější


V minulém díle jsme si řekli, že v Idrisu jsou kromě „běžných“ typů také typy rovnostní, jejichž (generickou) definici si můžeme představit zhruba takto: /---pre data (=) : a → b → Type where Refl : x = x \--- Konstruktor je nanejvýš jeden, a to pouze v případě, že se oba argumenty shodují. To dává...

How to Get and Set CSS Variable Values with JavaScript


CSS variables are a very welcome addition to the language, despite them being incredibly basic.  Sure we could use SASS or stylus but languages should never count on developers relying on frameworks and toolkits to accomplish what we know we need.  And just like every other part of a webpage,...

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