Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[ | |
{ | |
"id": 1972602, | |
"location": null, | |
"configurations": [ | |
{ | |
"id": 2995402, | |
"constraints": { | |
"max_airmass": 1.6, | |
"min_lunar_distance": 30.0, |
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
#!/bin/bash | |
#deploy jade and required databases for site-software kubernetes test stack | |
#$1 - directory containing kubernetes deployment configuration files e.g site-software/deployment/ | |
deployment_dir=$1 | |
kubectl apply -f $deployment_dir/pond-db-deployment.yaml | |
kubectl apply -f $deployment_dir/lake-db-deployment.yaml | |
kubectl apply -f $deployment_dir/pubsub-db-deployment.yaml | |
kubectl apply -f $deployment_dir/jade-deployment.yaml |
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 django import forms | |
import requests | |
from tom_alerts.alerts import GenericQueryForm, GenericAlert | |
from tom_alerts.models import BrokerQuery | |
from tom_targets.models import Target | |
broker_url = 'https://gist.githubusercontent.com/mgdaily/f5dfb4047aaeb393bf1996f0823e1064/raw/6fe1680f22b86467c50a21a138177838378eb143/example_broker_data.json' | |
class MyBrokerForm(GenericQueryForm): |
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
[ | |
{ | |
"mag":8, | |
"dec":-20, | |
"id":1, | |
"ra":32, | |
"name":"Tatooine", | |
"timestamp":"08/27/18 15:43:47", | |
"score":20 | |
}, |