Here is text with an email link.
Here is an email in text ([email protected]).
What about second-line email links?
| # oh my quiz | |
| What the what? | |
| : Option! | |
| : Correct option! : |
| longest.ordered <- function(original) { | |
| results <- list() | |
| for (item in original) { | |
| static_results <- results | |
| for (stem in static_results) { | |
| if (stem[length(stem)] <= item) { | |
| results[[length(results)+1]] <- c(stem, item) | |
| } | |
| } | |
| results[[length(results)+1]] <- item |
| par(pty='s') | |
| par(mfrow=c(1, 2)) | |
| ci_lower_bound <- function(pos, n, confidence) { | |
| if (n == 0) return(0) | |
| z = qnorm(1 - (1 - confidence) / 2) | |
| p = pos / n | |
| (p + z^2 / (2*n) - z * sqrt((p * (1-p) + z^2 / (4*n)) / n )) / | |
| (1 + z^2 / n) |
| #!/bin/bash | |
| # Start an AWS instance with one of the AMIs provided by: | |
| # http://www.louisaslett.com/RStudio_AMI/ | |
| # | |
| # Get this script and make executable. | |
| # wget THE_RAW_URL | |
| # chmod +x build_logins.sh | |
| # | |
| # Then use this script to create many logins on the system. |
Here is text with an email link.
Here is an email in text ([email protected]).
What about second-line email links?
| def _find_getch(): | |
| # courtesy of Louis | |
| # http://stackoverflow.com/questions/510357/ | |
| try: | |
| import termios | |
| except ImportError: | |
| # Non-POSIX. Return msvcrt's (Windows') getch. | |
| import msvcrt | |
| return msvcrt.getch |
This is Bostock's interactive Reingold-Tilford Tree with data representing the rules of a simple sklearn decision tree. Click on nodes to expand or collapse.
For more, see the complete write-up.
| import tensorflow as tf | |
| w = tf.Variable([2.0]) | |
| b = tf.Variable([2.0]) | |
| x = tf.constant([1.0]) | |
| y = tf.sigmoid(w*x + b) | |
| y_ = tf.constant([0.0]) | |
| cross_entropy = -1*(y_*tf.log(y) + (1-y_)*(tf.log(1-y))) | |
| s = tf.Session() | |
| s.run(tf.initialize_all_variables()) |
| import time | |
| import pygame | |
| import gym | |
| frame_time = 1.0 / 15 # seconds | |
| pygame.init() |