Tutorials Page 33
Script & Style Show: Episode 26: Web Games with ExcaliburJS with Erik Onarheim and Kamran Ayub
In this episode: Todd returns from a vacation to Disney and gives David some tips about surviving a family visit to Orlando's most famous theme parks. Erik Onarheim and Kamran Ayub join the guys to discuss HTML5 games, the Excalibur JavaScript HTML5 game library, the amazing...
Object.fromEntries
The
Object
object has been buffed with useful methods over the past few years.Object.keys
,Object.values
,Object.freeze
, andObject.assign
all address frequently desired functionality. One of the newObject
methods isfromEntries
, which accepts a Map or map-like array nesting and converts it to a useful object literal! Convert Map...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...
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 my MacBook's bluetooth...
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...
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...
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...
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...
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. ...Real-time Geolocation & Reverse IP Lookup with ipapi
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...