I hereby claim:
- I am thomaseizinger on github.
- I am thomas_eizinger (https://keybase.io/thomas_eizinger) on keybase.
- I have a public key ASB22yWraE2fryAt9ZbEaAdDGqURbmnTmwDN8-uffWJ7Hgo
To claim this, I am signing this object:
| use anyhow::Context; | |
| use bytecodec::{DecodeExt, EncodeExt as _}; | |
| use futures::{Future, FutureExt}; | |
| use std::{ | |
| collections::VecDeque, | |
| net::{SocketAddr, ToSocketAddrs}, | |
| pin::Pin, | |
| task::{ready, Poll, Waker}, | |
| time::{Duration, Instant}, | |
| }; |
| FROM ubuntu:18.04 | |
| RUN apt update | |
| RUN apt install -y curl unzip mpi-default-dev m4 autotools-dev autoconf build-essential ssh | |
| # Only if you don't have python already | |
| RUN apt install -y python3 python-pip | |
| RUN pip install python-config | |
| # This is just like `cd /source`, you can choose any other folder ... |
I hereby claim:
To claim this, I am signing this object:
| configurations { | |
| // Create the configuration we will use to refer to our sources. | |
| testSupport.extendsFrom compile | |
| } | |
| sourceSets { | |
| // Creates two configurations (testSupportCompile, testSupportRuntime) we will ignore. | |
| testSupport { | |
| // We will at least need access to our main sourceSet and all dependencies that are declared for our configuration. | |
| compileClasspath += sourceSets.main.output + configurations.testSupport |
| # Put this file under ~/.oh-my-zsh/custom if it should be automatically run for every babun shell that is opened. | |
| # Credits to http://stackoverflow.com/questions/3831131/rubygems-cygwin-posix-path-not-found-by-ruby-exe#comment61900449_19424481 | |
| echo "Aliasing all ruby binaries." | |
| if [[ -n "$(which ruby 2>/dev/null)" ]]; then | |
| RUBY_BIN=$(cygpath -u $(ruby -e 'puts RbConfig::CONFIG["bindir"]')) | |
| for f in $(find ${RUBY_BIN: : -1} -regex ".*bat$"| xargs -n1 basename); do | |
| alias ${f%.bat}=${f} | |
| done |
| <template name="inslist" value="private java.util.List<$T$> $ts$ = new $listType$<$T$>(); public java.util.List<$T$> get$Ts$() { return java.util.Collections.unmodifiableList($ts$); } private void set$Ts$(List<$T$> $ts$) { this.$ts$ = $ts$; } public void add$T$($T$ $t$) { this.$ts$.add($t$); } public void remove$T$($T$ $t$) { this.$ts$.remove($t$); }" description="Insert and encapsulate a list" toReformat="false" toShortenFQNames="true"> | |
| <variable name="T" expression="" defaultValue="" alwaysStopAt="true" /> | |
| <variable name="listType" expression="subtypes()" defaultValue="" alwaysStopAt="true" /> | |
| <variable name="Ts" expression="capitalize(ts)" defaultValue="" alwaysStopAt="false" /> | |
| <variable name="t" expression="suggestVariableName()" defaultValue="" alwaysStopAt="false" /> | |
| <variable name="ts" expression="suggestVariableName()" defaultValue="" alwaysStopAt="false" /> | |
| <context> | |
| <option name="JAVA |