Skip to content

Instantly share code, notes, and snippets.


Irene Ros iros

View GitHub Profile
iros / Dockerfile
Created Oct 5, 2017
Travis dockerfile
View Dockerfile
FROM openjdk:8
RUN wget
RUN tar zxvf apache-maven-3.3.9-bin.tar.gz
RUN chmod +x apache-maven-3.3.9/bin/mvn
RUN export M2_HOME=$PWD/apache-maven-3.3.9
RUN export PATH=$PWD/apache-maven-3.3.9/bin:${PATH}
RUN apt-get update
RUN apt-get install -y software-properties-common
iros / .block
Last active Aug 17, 2017
D3 v4 - circle re-packing stability
View .block
license: mit
iros / .block
Last active Aug 17, 2017
D3 v3 - circle re-packing stability
View .block
license: mit
iros / .pylintrc
Created Jun 29, 2016
.pylintrc for mlab
View .pylintrc
# Specify a configuration file.
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
# Profiled execution.
iros / force.reqanimframe.js
Created Apr 15, 2016
force layout with d3.timer instead of tick loop
View force.reqanimframe.js
var force = d3.layout.force()
.size([width, height]);
d3.json("assets/500nodes.json", function(error, graph) {
if (error) throw error;
// Task 2:
// Connect the force layout to the nodes and links in our dataset
iros /
Created Apr 6, 2016
D3 Force Layout + Pixi.js Experiment
iros / 0.plt.txt
Last active Aug 29, 2015
matplotlib style attributes
View 0.plt.txt
alpha Alpha (transparency) of the plot – default is 1 (no transparency)
color Color description for the line.1
label Label for the line – used when creating legends
linestyle A line style symbol
linewidth A positive integer indicating the width of the line
marker A marker shape symbol or character
markeredgecolor Color of the edge (a line) around the marker
markeredgewidth Width of the edge (a line) around the marker
markerfacecolor Face color of the marker
markersize A positive integer indicating the size of the marker
iros / nantests.txt
Created Aug 13, 2015
Python nan tests
View nantests.txt
isnan 1 if nan element-by-element
isinf 1 if inf element-by-element
isfinite 1 if not inf and not nan element-by-element
isposfin,isnegfin 1 for positive or negative inf element-by-element
isreal 1 if not complex valued element-by-element
iscomplex 1 if complex valued element-by-element
isreal 1 if real valued element-by-element
is_string_like 1 if argument is a string scalar
is_numlike 1 if is a numeric type scalar
isscalar 1 if scalar scalar
iros / css_pattern_use.html
Last active Mar 15, 2022
View css_pattern_use.html
<div class="circles-1">