These instructions currently target a source build from http://github.com/basho/riak on Ubuntu 12.04 LTS
The configuration shows how to enable the new searching and such.
| #!/bin/bash | |
| # uses scrot for capture | |
| # and imgur for posting | |
| post=0 | |
| scrotargs="" | |
| selectopt="-s" | |
| filename='%Y-%m-%d-%H%M_$wx$h.png' | |
| execcmd="imgur" |
| set ts=2 | |
| set sw=2 | |
| set et | |
| set nocompatible | |
| syntax on | |
| filetype on | |
| filetype indent on | |
| filetype plugin on |
| defmodule StringIO do | |
| def new(string) when is_binary(string) do | |
| spawn_link(fn -> string_io_process(string) end) | |
| end | |
| def string_io_process(string) do | |
| loop(:infinity, String.to_char_list!(string)) | |
| end | |
| def loop(wait, buf) do |
| ... | |
| # Fake a fuse install | |
| RUN apt-get install libfuse2 | |
| RUN cd /tmp ; apt-get download fuse | |
| RUN cd /tmp ; dpkg-deb -x fuse_* . | |
| RUN cd /tmp ; dpkg-deb -e fuse_* | |
| RUN cd /tmp ; rm fuse_*.deb | |
| RUN cd /tmp ; echo -en '#!/bin/bash\nexit 0\n' > DEBIAN/postinst | |
| RUN cd /tmp ; dpkg-deb -b . /fuse.deb |
| sudo dpkg --purge nano | |
| sudo apt-get -y install software-properties-common python-software-properties | |
| sudo add-apt-repository -y ppa:nviennot/tmate | |
| sudo add-apt-repository -y ppa:pi-rho/dev # tmux 1.8 | |
| sudo add-apt-repository -y ppa:keithw/mosh | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential checkinstall | |
| sudo apt-get install -y vim unzip git ctags pwgen tmate tmux mosh |
These instructions currently target a source build from http://github.com/basho/riak on Ubuntu 12.04 LTS
The configuration shows how to enable the new searching and such.
| #!/bin/bash | |
| osdistro="" | |
| function determine_distro() { | |
| if [ -f /etc/lsb-release ] ; then | |
| DISTRO=$(grep DISTRIB_ID /etc/lsb-release | awk -F= '{print $2}') | |
| elif [ -f /etc/redhat-release ] ; then | |
| if [ $(grep -qi centos /etc/yum.conf ; echo $?) ] ; then | |
| DISTRO="centos" | |
| else |
| #!/bin/bash | |
| testbucket="testhistories$RANDOM" | |
| #testfile1=mockquote$RANDOM | |
| #testfile2=mockquote$RANDOM | |
| echo "Test bucket: $testbucket" | |
| #echo "Creating test files: $testfile1 $testfile2" | |
| echo "Installing post commit hook on bucket $testbucket" |
| set -g default-terminal "screen-256color" | |
| ## OLD | |
| #set -g prefix DC,C-b | |
| #bind-key b send-keys C-b | |
| #bind-key b send-keys C-b | |
| ## NEW | |
| #set -g prefix2 C-b | |
| #bind-key b send-prefix -2 |