Add SubversionDownloadStrategy#source_modified_time
Override VCSDownloadStrategy#source_modified_time
""" 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 |
curl
to get the JSON response for the latest releasegrep
to find the line containing file URLcut
and tr
to extract the URLwget
to download itcurl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
Project Title | Student Display Name | Organization Name | Mentors | |
---|---|---|---|---|
Key mapping GUI | Tomasito665 | Mixxx DJ Software | RJ Ryan, Ferran Pujol Camins | |
YAPDNS | system64 | The Honeynet Project | Pietro Delsante, Fedele Mantuano, Andrea De Pasquale | |
FFv1 P frame support | sdolganov | FFmpeg | Reynaldo Verdejo, michaelni | |
coala: Integrating coala with the Eclipse IDE | Sheikh Araf | Python Software Foundation | Harsh Dattani, Lasse Schuirmann (sils1297), AbdealiJKothari | |
User interfaces for Tracker | Dilushi | Sustainable Computing Research Group ( SCoRe ) | Dinith Minura, Namal Jayasuriya, Rumesh | |
File Support | izgzhen | Mozilla | Manishearth | |
KolibriOS. Development of TLS/SSL library | DenisKarpenko | KolibriOS | Jeffrey A., Pathoswithin | |
IPFS friendly & distributed version of Amber | skbly7 | Berkman Center for Internet and Society | Genève | |
Cache layer for jpf-nhandler | Jayton | Java Pathfinder Team | franck, Nastaran, Cyrille Artho |
// Load fonts async by default | |
// Load sync from SW cache when available. | |
// | |
// Snippet assumes your Service Worker caches fonts as part of installation, so that | |
// an 'activated' Service Worker means the fonts are cached with 100% confidence. | |
if ( | |
'serviceWorker' in navigator && | |
navigator.serviceWorker.controller !== null && | |
navigator.serviceWorker.controller.state === 'activated' | |
) { |
from sympy import * | |
# https://www.rose-hulman.edu/~finn/CCLI/Notes/day09.pdf | |
a0, a1, a2, a3, t = symbols('a0 a1 a2 a3 t') | |
polynomial = a0 + a1*t + a2*t**2 + a3*t**3 | |
polynomial_d = diff(polynomial, t) | |
p0, v0, p1, v1 = symbols('p0 v0 p1 v1') |
SVG Circular Progress CSS Animated Angle Gradient
By Pouya Saadeghi
Forked from Pouya Saadeghi (پویا صادقی)'s Pen SVG circular progress: CSS animated & Angle gradient .
/* Implement a directed graph using adjacency list representation | |
* Depth First Traversal for a Graph: http://www.geeksforgeeks.org/depth-first-traversal-for-a-graph/ | |
* Breadth First Traversal for a Graph http://www.geeksforgeeks.org/breadth-first-traversal-for-a-graph/ | |
* Connectivity in a directed graph: http://www.geeksforgeeks.org/connectivity-in-a-directed-graph/ | |
*/ | |
#ifndef GRAPH_H | |
#define GRAPH_H | |
#include <iostream> |
#include<iostream> | |
#include<cstdlib> | |
#include<set> | |
using namespace std; | |
struct Node { | |
int data; | |
struct Node *next; | |
}; | |
int length(struct Node *head) { |
/* Deleting a node from Binary search tree */ | |
#include<iostream> | |
using namespace std; | |
struct Node { | |
int data; | |
struct Node *left; | |
struct Node *right; | |
}; | |
//Function to find minimum in a tree. | |
Node* FindMin(Node* root) |