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
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 |
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
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`. |
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
#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 |
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
#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 |
NewerOlder