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
#!/opt/local/bin/python2.7 | |
# To run this you may need to install requests. Do this by running | |
# sudo python -m pip install requests | |
import requests as r | |
import json as j | |
from time import sleep | |
url="https://banded-water-156623.appspot.com" |
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
explain SELECT * | |
FROM film | |
INNER JOIN film_actor ON film.film_id = film_actor.film_id | |
INNER JOIN actor ON actor.actor_id = film_actor.actor_id | |
WHERE film.release_year =2006; | |
id select_type table type possible_keys key key_len ref rows Extra | |
1 SIMPLE actor ALL PRIMARY NULL NULL NULL 200 | |
1 SIMPLE film_actor ref PRIMARY,idx_fk_film_id PRIMARY 2 wolfordj-db.actor.actor_id 13 Using index |
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
{ | |
"GCLOUD_PROJECT": "[YOUR-PROJECT-ID]", | |
"DATA_BACKEND": "datastore" | |
} |
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
function define(name, value) { | |
Object.defineProperty(exports, name, { | |
value: value, | |
enumerable: true | |
}); | |
} | |
define("LODGING", "Lodging"); | |
define("GUEST", "Guest"); |