Skip to content

Instantly share code, notes, and snippets.

@RomkeVdMeulen
Last active February 20, 2022 14:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RomkeVdMeulen/7617592 to your computer and use it in GitHub Desktop.
Save RomkeVdMeulen/7617592 to your computer and use it in GitHub Desktop.
Setup scripts for a variety of handy tools

Install scripts

This is a list of scripts for installing applications that require a little extra effort.

Individual raw scripts are also available at tny.im. E.g.: http://tny.im/flexget

See shortcuts.list for the full list of tny.im adresses. The raw shortcuts list is available at http://tny.im/installscripts

To automatically install a script using the shortcut:

curl -L http://tny.im/marlin | bash

And here's a little script for interacting with these gists from the command line:

#!/bin/bash

if [ $# -lt 1 ]; then
        echo "Usage: $0 [gist name] or $0 show [gist name]"
        echo ""
        echo "Available gists:"
        for GIST in `\curl -sL http://tny.im/installscripts | tr "\n" " "`; do echo " * $GIST"; done
        echo
        exit
fi

if [ "$1" = "show" ]; then
        \curl -L "http://tny.im/$2"
        echo ""
else
        \curl -L "http://tny.im/$1" | sudo bash
fi
git clone git://github.com/huyng/bashmarks.git
cd bashmarks
make install
cd ..
rm -rf bashmarks
sudo apt-get -qqy install ethtool
sudo ethtool -s eth0 wol g
sudo bash -c "cat > /etc/init/wakeonlan.conf" <<'EOF'
start on started network
script
interface=eth0
logger -t 'wakeonlan init script' enabling wake on lan for $interface
ethtool -s $interface wol g
end script
EOF
sudo chmod +x /etc/init/wakeonlan.conf
sudo service wakeonlan start
ifconfig
sudo apt-get install -qq -y python2.7 python-pip
sudo pip install --upgrade flexget transmissionrpc
line="@hourly /usr/local/bin/flexget --cron"
(crontab -l; echo "$line" ) | crontab -
echo "Flexget installed"
echo "Test with flexget --test"
echo "Do your first run by running 'flexget'"
wget http://download.opensuse.org/repositories/home:kamilprusko/xUbuntu_14.04/Release.key
sudo apt-key add - < Release.key
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/gnome-pomodoro.list"
sudo apt-get -qq update
sudo apt-get -qqy install gnome-pomodoro
sudo add-apt-repository ppa:gnome-shell-extensions
sudo apt-get -qq update
sudo apt-get -qqy install gnome-shell-extension-weather
sudo add-apt-repository ppa:marlin-devs/marlin-daily
# Really whish these guys would update their channel
sudo rm /etc/apt/sources.list.d/marlin-devs-marlin-daily-*.list
sudo sh -c "echo 'deb http://ppa.launchpad.net/marlin-devs/marlin-daily/ubuntu saucy main' > /etc/apt/sources.list.d/marlin-devs-marlin-daily-saucy.list"
sudo apt-get -qq update
sudo apt-get -qqy install marlin
echo "Marlin installed. Run with 'marlin'"
bashmarks
enable-wakeonlan
flexget
gnome-pomodoro
gnome-weather
marlin
solarize
ubuntu-tweak
virtualbox
vmware
youtubedl
sudo apt-get install -qqy git
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git
cd gnome-terminal-colors-solarized
./solarize
./install.sh
cd ..
rm -rf gnome-terminal-colors-solarized
git clone https://github.com/coolwanglu/guake-colors-solarized.git
cd guake-colors-solarized
./set_dark.sh solarized
cd ..
rm -rf guake-colors-solarized
echo "Gnome terminal and Guake successfully solarized"
sudo add-apt-repository -y ppa:tualatrix/ppa
sudo apt-get -qq update
sudo apt-get -qqy install ubuntu-tweak
echo "Ubuntu tweak installed: run with command 'ubuntu-tweak'"
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
sudo apt-get -qq update
sudo apt-get -qqy install virtualbox-4.3
echo "Virtualbox 4.3 installed"
echo "To properly access USB devices from your guest OS, you may need to install the virtualbox extensions:"
echo "https://www.virtualbox.org/wiki/Downloads"
sudo apt-get -qqy install build-essential linux-headers-$(uname -r)
xdg-open "https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0"
echo "Download latest VMWare player to ~/Downloads and press enter when done"
read
chmod +x ~/Downloads/*.bundle
sudo ~/Downloads/*.bundle
sudo apt-get install -qq -y python2.7 python-pip libav-tools
sudo pip install --upgrade youtube_dl
echo "youtube_dl installed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment