Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
| import tensorflow as tf | |
| import numpy as np | |
| import input_data | |
| import Image | |
| from util import tile_raster_images | |
| def sample_prob(probs): | |
| return tf.nn.relu( | |
| tf.sign( |
| """ | |
| 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) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
I’m a web app that wants to allow other web apps access to my users’ information, but I want to ensure that the user says it’s ok.
I can’t trust the other web apps, so I must interact with my users directly. I’ll let them know that the other app is trying to get their info, and ask whether they want to grant that permission. Oauth defines a way to initiate that permission verification from the other app’s site so that the user experience is smooth. If the user grants permission, I issue an AuthToken to the other app which it can use to make requests for that user's info.
Oauth2 has nothing to do with encryption -- it relies upon SSL to keep things (like the client app’s shared_secret) secure.
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| // go build -ldflags "-s -w" -o index.cgi cgi.go | |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "net/http/cgi" | |
| ) |