Debian 7.5
build-essentials
andgit
ipython notebook
numpy
scipy
matplotlib
pandas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
#include <set> | |
#include <map> | |
#include <queue> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Tarjan implementation from Wikipedia's pseudocode | |
def tarjan(graph): | |
#input: graph G = (V, E) | |
#output: set of strongly connected components (sets of vertices) | |
n = len(graph) | |
sccs = [] | |
index = [0] | |
indexes = [-1] * n | |
lows = [float('Inf')] * n | |
S = [] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "clusterpy loves matplotlib" | |
}, | |
"nbformat": 2, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ | |
"cell_type": "code", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
type Fetcher interface { | |
// Fetch returns the body of URL and | |
// a slice of URLs found on that page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Week | cat | dog | fish | |
---|---|---|---|---|
2012-01-01 - 2012-01-07 | 56 | 92 | 59 | |
2012-01-08 - 2012-01-14 | 59 | 91 | 56 | |
2012-01-15 - 2012-01-21 | 55 | 91 | 56 | |
2012-01-22 - 2012-01-28 | 56 | 89 | 54 | |
2012-01-29 - 2012-02-04 | 58 | 89 | 55 | |
2012-02-05 - 2012-02-11 | 60 | 94 | 54 | |
2012-02-12 - 2012-02-18 | 56 | 98 | 54 | |
2012-02-19 - 2012-02-25 | 58 | 91 | 58 | |
2012-02-26 - 2012-03-03 | 59 | 85 | 54 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## How to Use: | |
from radar import radar_graph | |
labels = ['v1', 'v2', 'v3', 'v4', 'v5', 'v6', 'v7', 'v8', 'v9'] | |
values = [1, 1, 2, 7, 4, 0, 3, 10, 6] | |
optimum = [5, 3, 2, 4, 5, 7, 5, 8, 5] | |
radar_graph(labels, values, optimum) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RiSE Group - Sergio B | |
# Condor description file | |
Notify_user = condorjobs@sbuj.co | |
Universe = vanilla | |
Executable = /opt/python/bin/python2.7 | |
Arguments = performance_script.py | |
Log = log/fast_performance.log.$(Cluster) |