Try them in a table!
product | price | trend |
---|---|---|
widgets | 4.37 | ⠉⠉⢄⡠⠤⢄⣀⠤ |
int doubler(int x) { | |
return 2 * x; | |
} |
license: gpl-3.0 | |
border: no | |
scrolling: no | |
height: 500 |
#!/bin/bash | |
for file in $(git diff --cached --name-only | grep -E '\.(js|jsx)$') | |
do | |
git show ":$file" | node_modules/.bin/eslint --stdin --stdin-filename "$file" # we only want to lint the staged changes, not any un-staged changes | |
if [ $? -ne 0 ]; then | |
echo "ESLint failed on staged file '$file'. Please check your code and try again. You can run ESLint manually via npm run eslint." | |
exit 1 # exit with failure status | |
fi | |
done |
""" 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 |
#!/usr/bin/ruby | |
# For an OO language, this is distinctly procedural. Should probably fix that. | |
require 'json' | |
details = Hash.new({}) | |
capture_params = [ | |
{ :name => "title", :message => "Enter project name." }, | |
{ :name => "url", :message => "Enter the URL of the project repository." }, |
Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
v0.7.0 ------------------------------------------- | |
node@[1m[33mv0.12.4 [39m[22m: [1m[31mFAIL[39m[22m [3mwrote output to /tmp/nan-dnt-v0.12.4.out[23m | |
node@[1m[33mv0.12.3 [39m[22m: [1m[31mFAIL[39m[22m [3mwrote output to /tmp/nan-dnt-v0.12.3.out[23m | |
node@[1m[33mv0.12.2 [39m[22m: [1m[31mFAIL[39m[22m [3mwrote output to /tmp/nan-dnt-v0.12.2.out[23m | |
node@[1m[33mv0.12.1 [39m[22m: [1m[31mFAIL[39m[22m [3mwrote output to /tmp/nan-dnt-v0.12.1.out[23m | |
node@[1m[33mv0.12.0 [39m[22m: [1m[31mFAIL[39m[22m [3mwrote output to /tmp/nan-dnt-v0.12.0.out[23m | |
node@[1m[33mv0.10.38[39m[22m: [1m[31mFAIL[39m[22m [3mwrote output to /tmp/nan-dnt-v0.10.38.out[23m | |
node@[1m[33mv0.10.37[39m[22m: [1m[31mFAIL[39m[22m [3mwrote output to /tmp/nan-dnt-v0.10.37.out[23m | |
node@[1m[33mv0.10.36[39m[22m: [1m[31mFAIL[39m[22m [3mwrote output to /tmp/nan-dnt-v0.10.36.out[23m | |
node@[1m[33mv0.10.35[39m[22m: [1m[32mPASS[39m[22m [3mwrote output to /tmp/nan-dnt-v0.10.35.out[2 |