Skip to content
David Walsh Blog

David Walsh Blog

A blog featuring tutorials about JavaScript, HTML5, AJAX, PHP, CSS, WordPress, and everything else development.

davidwalsh.name
David Walsh BlogDavid Walsh Blog
ART AND DESIGN
JavaScript SpeechSynthesis API
As the web continues to be the medium for all users, standards bodies need to continue to provide new APIs to enrich user experience and accessibility. One underused API for unsighted users is speechSynthesis, an API to programmatically direct the browser to audibly speak any arbitrary string. The Code You can direct the browser to […] The post JavaScript SpeechSynthesis API appeared first on David Walsh Blog.
David Walsh BlogDavid Walsh Blog
VIDEO GAMES AND GAME DEVELOPMENT

Fix “This video format is not supported” on YouTube TV

Setting up a new computer is bliss — no old, unused apps and the machine performs much better than the previous. Unfortunately, you may encounter new problems based on the new hardware. One such issue I encountered with my new MacBook was a “This video format is not supported” message when I went to YouTube […] The post Fix “This video format is not supported” on YouTube TV appeared first on David Walsh Blog.
David Walsh BlogDavid Walsh Blog
WEB DEVELOPMENT AND INTERNET TECHNOLOGIES
How to Add a Header to a curl Request
curl is one of those great utilities that’s been around seemingly forever and has endless use cases. These days I find myself using curl to batch download files and test APIs. Sometimes my testing leads me to using different HTTP headers in my requests. To add a header to a curl request, use the -H […] The post How to Add a Header to a curl Request appeared first on David Walsh Blog.
David Walsh BlogDavid Walsh Blog
ANIMATION AND VISUAL EFFECTS
Case Insensitive CSS Attribute Selector
CSS selectors never cease to amaze me in how powerful they can be in matching complex patterns. Most of that flexibility is in parent/child/sibling relationships, very seldomly in value matching. Consider my surprise when I learned that CSS allows matching attribute values regardless off case! Adding a {space}i to the attribute selector brackets will make […] The post Case Insensitive CSS Attribute Selector appeared first on David Walsh Blog.
David Walsh BlogDavid Walsh Blog
MOBILE APP DEVELOPMENT
How to Set Date Time from Mac Command Line
Working on a web extension that ships to an app store and isn’t immediately modifiable, like a website, can be difficult. Since you cannot immediately deploy updates, you sometimes need to bake in hardcoded date-based logic. Testing future dates can be difficult if you don’t know how to quickly change the date on your local […] The post How to Set Date Time from Mac Command Line appeared first on David Walsh Blog.
EDNA PIRANHA