- See here: http://vim.1045645.n5.nabble.com/MacVim-and-PATH-td3388705.html#a3392363
- Do this:
sudo mv /etc/zshenv /etc/zprofile
- Put this in your
~/.zprofile
sudo mv /etc/zshenv /etc/zprofile
~/.zprofile
Navigate to http://nodejs.org/download/ and on the Linux Binaries (.tar.gz) row click to download the 64-bit version of the current latest release.
Say you've downloaded node-v0.10.7-linux-x64.tar.gz
into the Downloads
directory. Then, open the terminal and type the following:
$ cd ~/Downloads
$ mkdir -p ~/local/node
$ tar xzf node-v0.10.7-linux-x64.tar.gz -C ~/local/node --strip-components=1
$ echo '# Node Enviroment Setup' >> ~/.bashrc
$ echo 'export PATH=$HOME/local/node/bin:$PATH' >> ~/.bashrc
defmodule RomanNumerals do | |
@moduledoc """ | |
Task definition: Create a function taking a positive integer as its parameter and | |
returning a string containing the Roman Numeral representation of that integer. | |
""" | |
def convert(number) do | |
convert(number, [[10,'X'], [9,'IX'], [5,'V'], [4,'IV'], [1,'I']]) | |
end |
# Make sure you grab the latest version | |
curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip | |
# Unzip | |
unzip protoc-3.2.0-linux-x86_64.zip -d protoc3 | |
# Move protoc to /usr/local/bin/ | |
sudo mv protoc3/bin/* /usr/local/bin/ | |
# Move protoc3/include to /usr/local/include/ |
# Install node lts version | |
curl -sL install-node.now.sh/lts | sudo bash |