cd 0ad/build/workspaces
./update-workspaces.sh -j3
cd gcc
make config=debug
binaries/system/pyrogenesis_dbg
{
#Source code with the blog post at http://monik.in/a-noobs-guide-to-implementing-rnn-lstm-using-tensorflow/ | |
#Original gist: https://gist.github.com/AlmostDan/a5f4b57104532a68bda2c274f8bcf16f | |
#Tensorboard inspirational: https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4_Utils/tensorboard_basic.py | |
import numpy as np | |
#import random | |
from random import shuffle | |
import tensorflow as tf | |
NUM_EXAMPLES = 10000 |
#Source code with the blog post at http://monik.in/a-noobs-guide-to-implementing-rnn-lstm-using-tensorflow/ | |
#Original gist: https://gist.github.com/AlmostDan/a5f4b57104532a68bda2c274f8bcf16f | |
#Tensorboard inspirational: https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/4_Utils/tensorboard_basic.py | |
import numpy as np | |
#import random | |
from random import shuffle | |
import tensorflow as tf | |
NUM_EXAMPLES = 10000 |
package main | |
// BEFORE RUNNING: | |
// --------------- | |
// 1. If not already done, enable the Google Cloud DNS API | |
// and check the quota for your project at | |
// https://console.developers.google.com/apis/api/dns | |
// 2. This sample uses Application Default Credentials for authentication. | |
// If not already done, install the gcloud CLI from | |
// https://cloud.google.com/sdk/ and run | |
// `gcloud beta auth application-default login`. |
package main | |
/** | |
* Minimal go server with logging and all the headers visible. | |
* | |
* To build it simply | |
* '$go build ms.go' | |
* | |
* # To lear how to use it simply: | |
* $ ms --help |
########################################################################################################################## | |
# External Services Istio | |
######################################################################################################################### | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: ServiceEntry | |
metadata: | |
name: external-svc-https | |
spec: | |
hosts: | |
- www.googleapis.com #bigquery |
######################################################################################################################### | |
# External Services Istio | |
######################################################################################################################### | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: ServiceEntry | |
metadata: | |
name: external-svc-https | |
spec: | |
hosts: | |
- www.googleapis.com #bigquery |
cd 0ad/build/workspaces
./update-workspaces.sh -j3
cd gcc
make config=debug
binaries/system/pyrogenesis_dbg
{
#!/usr/bin/env bash | |
case `uname -s` in | |
Linux*) sslConfig=/etc/ssl/openssl.cnf;; | |
Darwin*) sslConfig=/System/Library/OpenSSL/openssl.cnf;; | |
esac | |
openssl req \ | |
-newkey rsa:2048 \ | |
-x509 \ | |
-nodes \ | |
-keyout server.key \ |
package main | |
/** | |
* I needed to view env variables in Appengine Standard. Why? Because I needed to know | |
* so I thought I could add an environment variable and I could track the value of this env variable and I could track | |
* what other env vars the code was receiving. | |
* | |
* So I decided to make a simple function that gets all the env vars and send them as HTML as a a response to the URL | |
* call | |
* Author: iolalla@gmail.com |
How to create a Python 2 Colab. | |
bit.ly/colabpy2 | |
colab.to/py2 | |
https://colab.research.google.com/notebook#create=true&language=python2 |