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
aws_find_dns_records() { | |
# args: <Zone ID> <pattern> where pattern is a string to search against DNS record names | |
# returns: table of A and CNAME records that match | |
zone="$1"; val="$2"; shift; | |
aws route53 list-resource-record-sets --hosted-zone-id "$zone" --query "ResourceRecordSets[?(Type==\`A\` || Type==\`CNAME\`) && contains(Name, '$val')].[Name, AliasTarget.DNSName, ResourceRecords[0].Value, Type]" --output table; | |
} | |
aws_find_zone_ids() { | |
# args: <pattern> string pattern to match against zone name | |
# returns: table of DNS Hosted Zone Ids and other details |
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
In [65]: service.get_remote_mfp_workouts(client, workout_start_datetime_local) | |
[pid: 16685] 2016-01-27 16:07:23,153 INFO: requests.packages.urllib3.connectionpool: Resetting dropped connection: api.myfitnesspal.com | |
Out[65]: | |
[{u'calories': 113, | |
u'description': u'Strength training (weight lifting, weight training)', | |
u'distance': 0.0, | |
u'duration': 1080000, | |
u'exercise_entry_identifier': u'urD12jeHEJ7Ny5P2oluGSw==', | |
u'exercise_id': 134028370799981, |
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
Mon Jun 25 17:06:53 2012 - [udp:10.242.52.140:51815] Exception: /challenges/challenge/63/join | |
Mon Jun 25 17:06:53 2012 - [udp:10.242.52.140:51815] Request (REDACTED): {'_request': <django.utils.datastructures.MergeDict object at 0x1f698390>, '_cached_user': <User: vishalbathija>, 'site': <Site: MapMyFITNESS>, '_post': <QueryDict: {}>, '_get': <QueryDict: {}>, 'session': <packages.mmf_django_mongo.session.SessionStore object at 0x1f698450>, 'path_info': u'/challenges/challenge/63/join', '_messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x1f698a50>, 'path': u'/challenges/challenge/63/join', '_cookies': {'_gig_shareUI_lastUID': '_gid_HPCBw6/GY3v2T4Il5ttiJw==', 'is_human': 'true', 'fbm_44829295357': 'base_domain=.mapmyfitness.com', '_gig_shareUI_cb_facebook': '0', 'PHPSESSID': 'bnhrnbpkautlvlstk9g05dlar2', 'OX_plg': 'swf,sl,qt,shk', '_gig_llp': 'facebook', '_gig_llu': 'Vishal', '_gig_email': 'vishalbathija%40gmail.com', 'company_history': '%5B%5B%22http%3A//support.mapmy |
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
cPickle.BadPickleGet | |
BadPickleGet: AJjYnNvbi5vYmplY3RpZApPYmplY3RJZApxASmBcQJVDE/Bo8X49aackMC5rXEDYi4= | |
Traceback (most recent call last) | |
File "/home/mmf/.virtualenvs/panama/lib/python2.6/site-packages/werkzeug/wsgi.py", line 406, in __call__ | |
return self.app(environ, start_response) | |
File "/home/mmf/.virtualenvs/panama/lib/python2.6/site-packages/werkzeug/wsgi.py", line 466, in __call__ | |
return app(environ, start_response) | |
File "/home/mmf/.virtualenvs/panama/src/django/django/core/servers/basehttp.py", line 674, in __call__ | |
return self.application(environ, start_response) |
NewerOlder