This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G4='-f 392.00' | |
C5='-f 523.25' | |
E5='-f 659.26' | |
G5='-f 783.99' | |
whole='-l 2048' | |
dottedhalf='-l 1536' | |
half='-l 1024' | |
dottedquarter='-l 768' | |
quarter='-l 512' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name webkitNotifications shim for Firefox 22+ | |
// @namespace https://github.com/Rob--w/ | |
// @author Rob Wu <[email protected]> | |
// @description Enable desktop notifications on Firefox 22+ for websites which use the webkitNotification API. | |
// @include * | |
// @version 1.0.2 | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from operator import itemgetter | |
from gmusicapi import Api | |
api = Api() | |
api.login('[email protected]', 'my-password') | |
# => True | |
lib = api.get_all_songs() |