Skip to content

Instantly share code, notes, and snippets.

Stian Soiland-Reyes stain

Block or report user

Report or block stain

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
stain / gist:7ed8e1c9cdeb7d3b5f0d
Created Sep 25, 2014
How to patch docker image for the bash
View gist:7ed8e1c9cdeb7d3b5f0d
stain@docker:~$ docker run dockerfile/elasticsearch env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
this is a test
# Let's update the docker image
docker run -i -t dockerfile/elasticsearch /bin/bash
apt-get update
apt-get dist-upgrade inside
stain / goingsouth.ipynb
Created Oct 15, 2014
Going South from the South (iPython nodebook)
View goingsouth.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View digital-preservation-migration-image-imagemagick-image2tiff.t2flow
<?xml version="1.0"?>
<workflow xmlns="" version="1" producedBy="taverna-2.4.0">
<dataflow id="a076fdee-b459-4581-8109-f152156c5329" role="top">
stain / gist:0f65cc0f9c8d3f731a54
Created Oct 20, 2014
Taverna has been accepted as an Apache Incubator project
View gist:0f65cc0f9c8d3f731a54

Taverna has been accepted as an Apache Incubator project

The Apache Software Foundation is a non-profit organization, forming a community of open-source software projects with strong emphasis on openness, collaboration and a consensus-based development process. Well-known Apache projects include the Apache HTTP server, Tomcat, Maven, Jena, CXF and OpenOffice.

Taverna will participate in the Apache Incubator process - - with assigned mentors that help assure that we follow the Apache guidelines.

Practically this means that the Taverna code base, mailing lists and website will be migrated to the Apache infrastructure, and future releases will be called Apache Taverna.

Apache Taverna development will follow a clear open process, with important decisions (such as approving a release) done by voting on the new mailing list, which will be open to anyone.

View gist:707c411c65507c830273
stain@biggie-mint ~ $ asdkj
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 27, in <module>
from CommandNotFound.util import crash_guard
ImportError: No module named 'CommandNotFound'
View gist:018cd513ff052ef2645c
top - 14:45:59 up 4 days, 22:28, 8 users, load average: 1.86, 1.55, 1.51
Tasks: 521 total, 2 running, 519 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1%us, 0.2%sy, 1.7%ni, 97.5%id, 0.6%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 49409280k total, 49191260k used, 218020k free, 850196k buffers
Swap: 51199996k total, 156236k used, 51043760k free, 41689352k cached
20415 999 20 0 2202m 1.6g 4444 S 1.3 3.4 126:18.76 mysqld
4394 root 20 0 22.8g 1.3g 11m S 3.0 2.7 7:43.25 java
19964 tomcat 20 0 15.5g 675m 5920 S 0.0 1.4 3:44.79 java
import java.nio.charset.Charset;
import java.util.Date;
import java.util.concurrent.atomic.AtomicLong;
View gist:63cd3f8e267e0a9af0c7
// ------------------------------------------------------------------
// Transitive dependencies of this project determined from the
// maven pom organized by organization.
// ------------------------------------------------------------------
Apache Taverna Databundle API
From: 'Aduna' (
- Aduna Commons: Collections ( info.aduna.commons:aduna-commons-collections:jar:2.3


<rdf:RDF xmlns="" xmlns:dcterms="" xmlns:rdf="" xmlns:rdfs="" xmlns:owl="" xmlns:skos="" xmlns:bibo="" xmlns:foaf="" xmlns:void="" xmlns:sd="" xmlns:faldo="">

<!-- .. -->
<rdf:Description rdf:about="">
  <citation rdf:resource="" rdf:ID="_5033353335340018"/>
  <!-- .. -->
// ------------------------------------------------------------------
// NOTICE file corresponding to the section 4d of The Apache License,
// Version 2.0, in this case for
// ------------------------------------------------------------------
Apache log4j
Copyright 2007 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (
You can’t perform that action at this time.