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
Scripts: | |
* setup.py creates cloud instances,installs and starts jmeter-server | |
* cleanup.py destroys cloud instances who's name matches a pattern | |
Usage: | |
1) edit setup.py, and insert your username/api key/ssh keys. Define the number of instances you want | |
1a) install the dependencies listed at the top of setup.py | |
2) run setup.py | |
3) edit jmeter.properties and add the line specified at the end of setup.py's output | |
4) run jmeter, build a test plan, and start on all remotes. |
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
#include "stdio.h" | |
#include "stdlib.h" | |
unsigned int max(unsigned int a, unsigned int b) { | |
return a > b ? a : b; | |
} | |
unsigned int bucket(unsigned int val) { | |
return val & 0xF0000000 >> 28; | |
} |
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
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |