Skip to content

Instantly share code, notes, and snippets.

View adriantorrie's full-sized avatar

Adrian Torrie adriantorrie

View GitHub Profile
@adriantorrie
adriantorrie / launcher-light-table.sh
Last active August 29, 2015 14:08
Ubuntu 14.04 - Create a launcher for LightTable
cat > ~/.local/share/applications/ltbin.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Light Table
Icon=ltbin
Path=~/
Exec=light-table
StartupNotify=false
@adriantorrie
adriantorrie / install-light-table.sh
Last active August 29, 2015 14:08
Ubuntu 14.04 - Install LightTable
cd ~/repos
git clone https://github.com/LightTable/LightTable.git
cd LightTable
bash linux_deps.sh
./deploy/LightTable
ln -s ~/repos/LightTable/deploy/LightTable ~/bin/light-table
@adriantorrie
adriantorrie / install-leiningen.sh
Last active August 29, 2015 14:08
Ubuntu 14.04 - Install dependencies for LightTable -> Leiningen | Java 6/7
java -version
mkdir ~/bin
cd ~/bin
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
chmod a+x ~/bin/lein
~/bin/lein
@adriantorrie
adriantorrie / install-julia.sh
Last active February 25, 2020 11:43
Ubuntu 14.04 - Install The Julia Language (julia-lang)
sudo add-apt-repository ppa:staticfloat/juliareleases
sudo apt-get update
sudo apt-cache show julia
sudo apt-get install julia julia-doc -y
julia -E 'Pkg.update()'
julia
@adriantorrie
adriantorrie / install-indicators.sh
Last active August 29, 2015 14:09
Ubuntu 14.04 - Install indicators for the Ubuntu task bar
sudo apt-get -y install indicator-datetime indicator-messages indicator-power indicator-session
@adriantorrie
adriantorrie / install-archimatetool.sh
Last active September 14, 2023 13:21
Ubuntu 14.04 - Install Archi (Archimate Tool)
cd ~/Downloads
wget http://www.archimatetool.com/downloads/latest/Archi-lnx32_64-3.0.0.tar.gz
# wget -c http://www.archimatetool.com/downloads/latest/Archi-lnx32_64-3.0.0.tar.gz
tar xf Archi-lnx32_64-3.0.0.tar.gz
./Archi/Archi64
sudo mv ./Archi/ /opt/archi/
ln -s /opt/archi/Archi64 ~/bin/archi
@adriantorrie
adriantorrie / launcher-archimatetool.sh
Last active August 29, 2015 14:09
Ubuntu 14.04 - Create a launcher for Archi (Archimate Tool)
cat > ~/.local/share/applications/archi.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Archi
Icon=Archi64
Path=/opt/archi/
Exec=Archi64
StartupNotify=false
@adriantorrie
adriantorrie / ssh-no-password.sh
Created November 11, 2014 10:37
Ubuntu 14.04 - Generate ssh key and copy the key to a remote machine
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
ssh remote-host
@adriantorrie
adriantorrie / ssh-remote-shutdown.sh
Created November 11, 2014 10:40
Ubuntu 14.04 - Remote shutdown another Ubuntu machine using ssh
ssh -t name@remote-host 'sudo shutdown -h now'
#placeholder