Skip to content

Instantly share code, notes, and snippets.

@kingosticks
kingosticks / config.json
Created December 14, 2015 15:21
TomTom MySports
https://mysports.tomtom.com/service/config/config.json
{
"self":"https://mysports.tomtom.com/service/config/config.json"
"env":"prod"
"service:webshop":"http://sports.tomtom.com/{LOCALE}"
"service:webshop_actionsports":"http://www.tomtom.com/{LOCALE}/action-camera/action-camera/#accessories/"
"service:pairing_support":"http://www.tomtom.com/{FORUM_ID}"
"service:ephemeris":"https://gpsquickfix.services.tomtom.com/fitness/sifgps.f2p{DAYS}enc.ee"
"service:ephemeris_glonass":"https://gpsquickfix.services.tomtom.com/fitness/sifglo.f2p{DAYS}enc.ee"
@kingosticks
kingosticks / main.cpp
Created February 23, 2015 11:43
Alternative reicast SetupInput
#ifdef TARGET_PANDORA
#define DEFAULT_KEYBOARD_DEVICE "/dev/input/event4"
#else
#define DEFAULT_KEYBOARD_DEVICE "/dev/event2"
#endif
void SetupInput()
{
for (int port=0;port<4;port++)
{
@kingosticks
kingosticks / gist:6c31f111fe116a76a85b
Last active August 29, 2015 14:14
pyspotify vs spotipy - artist albums
from __future__ import print_function, unicode_literals
import time
import spotify
import threading
import spotipy
sp = spotipy.Spotify()
VARIOUS_ARTISTS_URIS = [
'spotify:artist:0LyfQWJT6nXafLPZqxe9Of',
@kingosticks
kingosticks / gist:8210242
Created January 1, 2014 18:30
01-01 18:22:42.667: E/MpdCallable(2565): failed after 3 attempts : java.net.SocketTimeoutException
INFO Request from [::ffff:127.0.0.1]:55146: list "album" "albumartist" "The Rolling Stones"
INFO Request from [::ffff:127.0.0.1]:55147: command_list_ok_begin
INFO Request from [::ffff:127.0.0.1]:55147: count "artist" "The Rolling Stones" "album" "A Bigger Bang"
INFO Request from [::ffff:127.0.0.1]:55147: count "artist" "The Rolling Stones" "album" "Aftermath"
INFO Request from [::ffff:127.0.0.1]:55147: count "artist" "The Rolling Stones" "album" "BRIT Awards 2013"
INFO Request from [::ffff:127.0.0.1]:55147: count "artist" "The Rolling Stones" "album" "Beggars Banquet"
INFO Request from [::ffff:127.0.0.1]:55147: count "artist" "The Rolling Stones" "album" "Best Of British"
INFO Request from [::ffff:127.0.0.1]:55147: count "artist" "The Rolling Stones" "album" "Between The Buttons"
INFO Request from [::ffff:127.0.0.1]:55147: count "artist" "The Rolling Stones" "album" "Big Hits (High Tide and Green Grass)"
INFO Request from [::ffff:127.0.0.1]:55147: count "artist" "The Ro
@kingosticks
kingosticks / gist:8208006
Last active January 1, 2016 22:09
Mopidy status and stats
OK MPD 0.17.0
status
volume: 100
repeat: 0
random: 0
single: 0
consume: 0
playlist: 0
playlistlength: 0
xfade: 0