Skip to content

Instantly share code, notes, and snippets.

View spotify-save-all-in-playlist.js
/*
* This Script adds every song in the playlist you're currently
* viewing at https://play.spotify.com to "Your Music".
*
* Open your browser console and paste this script to run it.
*/
(function() {
// Check this web browser has all the functionality we need to do this task.
var hasQuerySelector = typeof document.querySelector === 'function';
@ShaneHudson
ShaneHudson / functions.php
Created July 20, 2012 14:04 — forked from johnmegahan/functions.php
Extended Walker class for use with the Zurb Foundation Template Dropdown menus in Wordpress. Forked from a Twitter Bootstrap walker.
View functions.php
<?php
class Foundation_Walker_Nav_Menu extends Walker_Nav_Menu {
function start_lvl( &$output, $depth ) {
$indent = str_repeat( "\t", $depth );
$output .= "\n$indent<ul class=\"flyout\">\n";
}