One Rails app recently generated loads of exceptions with “Security warning: an embedded <script> tag on another site requested protected JavaScript.” Once we understood the cause, it was easy to fix.
What’s this all about?Feed
Techstuff: Ruby, Rails, JavaScript and more.
Playing Audio over an USB Audio Interface on a Raspberry Pi from the Command-line
The Raspberry Pi powering our status screen is also connected to our doorbell, and it should play a sound each time someone rings the bell. How does this work from the command-line and over an external USB audio interface?
Setup a Raspberry Pi to run a Web Browser in Kiosk Mode
Our status screen is powered by a RaspberryPi running a web browser full screen. This is called “kiosk mode”, and it can be a bit tricky to setup. Here’s how we do it.