Extending Spotify's web volume slider

Having to choose between “too loud” and “too quiet” sucks. Unfortunately the Spotify web UI has an annoyingly short volume slider. Fortunately that’s easy to fix with a bookmarklet. Before: After: Drag this bookmarklet to your browser bookmark bar, and click on it to expand the volume slider. The code is pretty straightforward, it just changes the CSS slightly. Spotify volume Here’s the code in more understandable JavaScript:

Ultrasonic-triggered MP3 player with Arduino

This small MP3 player is triggered when the ultrasound sensor notices someone nearby for a longer period of time (must be closer than 70cm for >0.9s). The hardware uses: Arduino Uno R3 ( Seeed Studio Music Shield v1 ( and micro-SD card with a MP3 file (shop ( HC-SR04 ultrasonic distance sensor (eg shop (, they’re cheap) Breadboard, speakers, jumper wires Optional: LED, 330 Ohm resistor (to show that it’s still running) I hacked the Music Shield to include risers for some of the pins.