Skip to content

Instantly share code, notes, and snippets.

Irene Ros iros

Block or report user

Report or block iros

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@iros
iros / Dockerfile
Created Oct 5, 2017
Travis dockerfile
View Dockerfile
FROM openjdk:8
RUN wget http://apache.claz.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
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
iros / .block
Last active Aug 17, 2017
D3 v4 - circle re-packing stability
View .block
license: mit
@iros
iros / .block
Last active Aug 17, 2017
D3 v3 - circle re-packing stability
View .block
license: mit
@iros
iros / .pylintrc
Created Jun 29, 2016
.pylintrc for mlab
View .pylintrc
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
# Profiled execution.
@iros
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()
.charge(-150)
.linkDistance(30)
.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
iros / README.md
Created Apr 6, 2016
D3 Force Layout + Pixi.js Experiment
@iros
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
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
iros / css_pattern_use.html
Last active Oct 3, 2018
patternfill_gists
View css_pattern_use.html
<div class="circles-1">
</div>
You can’t perform that action at this time.