excercism added

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-04-10 19:38:38 +02:00
parent dd06b19fa0
commit 8c302e5ffc
4 changed files with 14 additions and 4 deletions

5
.zshrc
View file

@ -46,8 +46,10 @@ else
fi fi
# env vars # env vars
export GOPATH=~/go
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
export PATH=$HOME/tools:$PATH export PATH=$HOME/tools:$PATH
export PATH=$HOME/$GOPATH/bin:$PATH
export PATH=$HOME/.local/bin:$PATH export PATH=$HOME/.local/bin:$PATH
export PATH=/usr/local/heroku/bin:$PATH export PATH=/usr/local/heroku/bin:$PATH
export PATH=$HOME/tools/subuser/logic:$HOME/.subuser/bin:$PATH export PATH=$HOME/tools/subuser/logic:$HOME/.subuser/bin:$PATH
@ -55,7 +57,8 @@ export PATH=$HOME/dev/dotfiles/.vim/bundle/racer/target/debug:$PATH
export RUST_SRC_PATH=$HOME/dev/rust/src export RUST_SRC_PATH=$HOME/dev/rust/src
export EDITOR="vim" export EDITOR="vim"
export KEYTIMEOUT=1 export KEYTIMEOUT=1
#
#temporary fix for rustc [https://github.com/rust-lang/rust-installer/issues/30], for Fedora only #temporary fix for rustc [https://github.com/rust-lang/rust-installer/issues/30], for Fedora only
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

View file

@ -84,13 +84,20 @@ else
git pull git pull
fi fi
#rvm # rvm
gpg --recv-keys BF04FF17 gpg --recv-keys BF04FF17
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable curl -sSL https://get.rvm.io | bash -s stable
source $HOME/.rvm/scripts/rvm source $HOME/.rvm/scripts/rvm
rvm install ruby rvm install ruby
# go
export GOPATH="$HOME/go"
mkdir -p "$GOPATH"
# excercism
go get -u github.com/exercism/cli/exercism
# talks: reveal-md # talks: reveal-md
sudo npm install -g reveal-md sudo npm install -g reveal-md
sudo npm install -g diff-so-fancy sudo npm install -g diff-so-fancy

View file

@ -6,7 +6,7 @@ sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderb
FEDORA_VERSION=`rpm -E %fedora` FEDORA_VERSION=`rpm -E %fedora`
sudo dnf -y install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm sudo dnf -y install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm
sudo dnf -y install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm sudo dnf -y install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm
sudo dnf -y install vlc splix gutenprint-cups cups-bjnp keepass mplayer sudo dnf -y install vlc splix gutenprint-cups cups-bjnp keepass mplayer golang
sudo dnf -y groupinstall "C Development Tools and Libraries" sudo dnf -y groupinstall "C Development Tools and Libraries"
sudo systemctl enable tor sudo systemctl enable tor

View file

@ -6,7 +6,7 @@ COMMAND_PREFIX="DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=\"-
curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash
sudo apt-get update sudo apt-get update
INSTALL_COMMAND="sudo $COMMAND_PREFIX install meld whois zsh tmux vim atop aria2 curl pv gajim tor torsocks nodejs terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar thunderbird mercurial kdiff3 gnupg2 python3-setuptools realpath python3-dev python3 apt-file" INSTALL_COMMAND="sudo $COMMAND_PREFIX install meld whois zsh tmux vim atop aria2 curl pv gajim tor torsocks nodejs terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar thunderbird mercurial kdiff3 gnupg2 python3-setuptools realpath python3-dev python3 apt-file golang"
eval ${INSTALL_COMMAND} eval ${INSTALL_COMMAND}
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"