Skip to content

Instantly share code, notes, and snippets.

View matejvelikonja's full-sized avatar

Matej Velikonja matejvelikonja

View GitHub Profile
#!/bin/sh
SHORTCUT="[Desktop Entry]
Name=Sublime Text 2
Comment=Edit text files
Exec=/usr/local/sublime-text-2/sublime_text
Icon=/usr/local/sublime-text-2/Icon/128x128/sublime_text.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;TextEditor;"
@matejvelikonja
matejvelikonja / rbenv-install.sh
Last active December 20, 2015 01:19 — forked from jnx/rbenv-install-system-wide.sh
Installs Rbenv and with ruby 1.9.3-p448
# Update, upgrade and install development tools:
sudo apt-get update
sudo apt-get -y install curl build-essential git-core
# Install rbenv and rbenv-build:
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
# Add rbenv to the path:
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile