git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
| #!/bin/sh | |
| # Install brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Apple hides old versions of stuff at https://developer.apple.com/download/more/ | |
| # Install the latest XCode (8.0). | |
| # We used to install the XCode Command Line Tools 7.3 here, but that would just upset the most recent versions of brew. | |
| # So we're going to install all our brew dependencies first, and then downgrade the tools. You can switch back after | |
| # you have installed caffe. | |
| # Install CUDA toolkit 8.0 release candidate | |
| # Register and download from https://developer.nvidia.com/cuda-release-candidate-download |
| """ Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """ | |
| import numpy as np | |
| import cPickle as pickle | |
| import gym | |
| # hyperparameters | |
| H = 200 # number of hidden layer neurons | |
| batch_size = 10 # every how many episodes to do a param update? | |
| learning_rate = 1e-4 | |
| gamma = 0.99 # discount factor for reward |
| """ | |
| 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) |
| http://qrdroid.com/generate/ | |
| https://chrome.google.com/webstore/detail/the-qr-code-generator/s | |
| http://www.waspbarcode.com/qr-code-generator | |
| http://www.visualead.com/qurify2/ | |
| http://www.visualead.com/qr-code-generator/ | |
| http://delivr.com/qr-code-generator | |
| https://scan.me/qr-code-generator | |
| http://qrcode.littleidiot.be/ | |
| http://www.qrcode-monkey.com/ | |
| https://www.unitag.io/qrcode |
| -- Two dashes start a one-line comment. | |
| --[[ | |
| Adding two ['s and ]'s makes it a | |
| multi-line comment. | |
| --]] | |
| ---------------------------------------------------- | |
| -- 1. Variables and flow control. | |
| ---------------------------------------------------- |