Skip to content

Instantly share code, notes, and snippets.

Anuj Singh theweirdguy

Block or report user

Report or block theweirdguy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@theweirdguy
theweirdguy / pms.py
Created Jul 26, 2017 — forked from cirrusUK/pms.py
standalone python script for searching,streaming,downloading mp3's from www.pleer.com script author https://github.com/np1/pms #python script 'poor mans spotify'
View pms.py
#!/usr/bin/python
''' pms
Copyright (C) 2013 nagev
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
View parser.py
import sys
import re
import datetime
pattern = 'sending user preferences:'
first_argument = int(sys.argv[1])
second_argument = int(sys.argv[2])
today_object = datetime.datetime.today()
today_object_month = str(today_object.month) if today_object.month>10 else "0"+str(today_object.month)
today_object_day = str(today_object.day) if today_object.day>10 else "0"+str(today_object.day)
You can’t perform that action at this time.