This file contains hidden or 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
{ | |
"_sync": { | |
"rev": "131-d6920011c53afe48364b84e0394073c5", | |
"sequence": 396, | |
"recent_sequences": [ | |
387, | |
388, | |
389, | |
390, | |
391, |
This file contains hidden or 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
# Crashlytics - plaintext stacktrace downloaded by Robin van Emden at Sat, 05 Nov 2016 17:36:33 GMT | |
# URL: https://fabric.io/pwy/android/apps/org.pvlv.birdy/issues/581e118a0aeb16625b856fe0/sessions/581e0d6900eb000119c2c6bd7c1c2ea8 | |
# Organization: Pwy | |
# Platform: android | |
# Application: Birdy | |
# Version: 1.0 (1) | |
# Bundle Identifier: org.pvlv.birdy | |
# Issue #: 2 | |
# Issue ID: 581e118a0aeb16625b856fe0 | |
# Session ID: 581e0d6900eb000119c2c6bd7c1c2ea8 |
This file contains hidden or 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
/* | |
# jquery.couch.longpoll.js # | |
A handler that can be used to listen to changes from a CouchDB database, | |
using long-polling. | |
This seemed to be a bit simpler than using continuous polling, which I | |
was unable to get working with jQuery. |
This file contains hidden or 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
{ | |
"_id":"24:4B:03:39:E7:91", | |
"type":"bird", | |
"name":"pooky", | |
"date":"2016-09-19T14:33:38.964Z", | |
"location":{ | |
"type":"Point", | |
"coordinates":[ | |
52.49177162129288, | |
4.451482822254181 |
This file contains hidden or 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
{ | |
"type": "bird", | |
"name": "pooky", | |
"date": "09-04-16T16:09:42.918Z02:00", | |
"location": { | |
"type": "Point", | |
"coordinates": [ | |
3.1, | |
5 | |
] |
This file contains hidden or 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
#!/bin/sh | |
IP_ADDRESS="192.168.0.2" | |
ufw allow from $IP_ADDRESS to any port 4369 | |
ufw allow from $IP_ADDRESS to any port 8091 | |
ufw allow from $IP_ADDRESS to any port 8092 | |
ufw allow from $IP_ADDRESS to any port 11214 | |
ufw allow from $IP_ADDRESS to any port 11215 | |
ufw allow from $IP_ADDRESS to any port 11209 |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import libs.lif as lf | |
key = "question" | |
value = self.context['question'] | |
theta = self.get_theta(all_float=False, key=key, value=value) | |
Lif = lf.Lif(theta, x0=self.context['x0'], A=self.context['A'], T=150, gamma=.06, omega=1.0, lifversion=1) | |
Lif.update(self.action["t"],self.action["x"], self.reward) | |
self.set_theta(Lif, key=key, value=value) |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
#============================================================================== | |
# Reset IPython - may delete the following when not making use of Spyder IDE | |
from IPython import get_ipython | |
get_ipython().magic('reset -sf') | |
#============================================================================== |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
#============================================================================== | |
# Reset IPython - may delete the following when not making use of Spyder IDE | |
from IPython import get_ipython | |
get_ipython().magic('reset -sf') | |
# import libraries |
This file contains hidden or 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
import sys,random | |
import json | |
import asyncio,aiohttp,pymongo,time | |
import numpy as np | |
import matplotlib.pyplot as plt | |
MONGO_IP = "78.46.212.194" | |
MONGO_PORT = 27017 | |
SB_BASE_URL = "https://strm.mnds.org:8080" |