Add the following line to you 'Vagrantfile':
config.vm.provision :shell do |s|
s.path = "preinstall.sh"
s.args = "3.1.1-1puppetlabs1"| var mouseDropS = $('#drop').onAsObservable('drop') | |
| var uploadsS = mouseDropS.flatMap(function(e) { | |
| var fileList = e.originalEvent.dataTransfer.files | |
| var files = range(fileList.length).map(function(i) { return fileList[i] }) | |
| return Rx.Observable.fromArray(files.map(function(file) { | |
| var subject = new Rx.ReplaySubject(1) | |
| var reader = new FileReader() |
| let transpose3 = function | |
| | [||] -> [||] | |
| | a -> | |
| Array.maxBy Array.length a | |
| |> Array.Parallel.mapi (fun i _ -> | |
| Array.filter (fun js -> Array.length js > i) a | |
| |> Array.map (fun sub -> sub.[i]) | |
| ) |
| #r "WindowsBase.dll" | |
| #r "PresentationFramework.dll" | |
| #r "PresentationCore.dll" | |
| #r "System.Xaml.dll" | |
| #r "Tsunami.IDEDesktop.exe" | |
| #r "System.Xml.Linq" | |
| #r "cache:http://tsunami.io/assemblies/FunScript.dll" | |
| #r "cache:http://tsunami.io/assemblies/FunScript.TypeScript.dll" | |
| #r "cache:http://tsunami.io/assemblies/FunScript.TypeScript.Interop.dll" | |
| #r "ActiproSoftware.Docking.Wpf.dll" |
| Exception in filterworker {"exception"=>#<NoMethodError: undefined method `[]=' for nil:NilClass>, "backtrace"=>["file:/opt/logstash/logstash.jar!/logstash/event.rb:135:in `[]='", "org/jruby/RubyProc.java:255:in `call'", "(eval):9:in `exec'", "org/jruby/RubyProc.java:255:in `call'", "file:/opt/logstash/logstash.jar!/logstash/util/fieldreference.rb:44:in `exec'", "file:/opt/logstash/logstash.jar!/logstash/event.rb:134:in `[]='", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:234:in `rename'", "org/jruby/RubyHash.java:1332:in `each'", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:232:in `rename'", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:205:in `filter'", "(eval):127:in `initialize'", "org/jruby/RubyProc.java:255:in `call'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:243:in `filter'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:191:in `filterworker'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:134:in `start_filters'"], :level=>: |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Specialized; | |
| // As opposed to magic validation libraries that rely on reflection and attributes, | |
| // applicative validation is pure, total, composable, type-safe, works with immutable types, and it's easy to implement. | |
| public abstract class Result<T> { | |
| private Result() { } |
| # download latest libevent2 and tmux sources, and extract them somewhere | |
| # | |
| # at the time of writing: | |
| # https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
| # http://sourceforge.net/projects/tmux/files/latest/download?source=files | |
| # | |
| # don't compile tools as root, just don't do it. | |
| # install deps |
| # bash function | |
| defcomp () { | |
| local name="$1" && shift | |
| local functionName="$( echo "${name}_completion" | tr - _ )" | |
| source <(cat <<EOM | |
| $functionName () { | |
| local cur | |
| _get_comp_words_by_ref -n =: cur | |
| COMPREPLY=( \$(compgen -W "\$( $@ )" -- "\$cur") ) | |
| } |
| type Service<'Input, 'Output> = 'Input -> Async<'Output> | |
| /// A filter is an aspect in the AOP sense. | |
| type Filter<'Input, 'InputInner, 'OutputInner, 'Output> = 'Input-> Service<'InputInner, 'OutputInner> -> Async<'Output> | |
| type Filter<'Input, 'Output> = 'Input-> Service<'Input, 'Output> -> Async<'Output> | |
| type Continuation<'a,'r> = ('a -> 'r) -> 'r | |
| module Continuation = |