This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Enable syntax highlight mode in LESS command by using source-highlight | |
# http://www.gnu.org/software/src-highlite/ | |
sudo apt-get install source-highlight -y | |
cat >> ~/.bashrc <<EOF | |
export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s" | |
export LESS=" -R" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script will install RVM then use it to install RUBY, RAILS. | |
# Thanks for DigitalOcean awesome guides at: | |
# https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-centos-6-with-rvm | |
# https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm | |
# Detect which distro | |
DISTRO=`cat /etc/issue` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Installs stardict in Ubuntu 12.04 and enables its systray icon | |
echo " | |
This script will add 'ppa:ubuntu-vn/ppa' repo to your update list | |
then install 'stardict' and 'english<->vietnamese' 'japanese<->vietnamese' dicts | |
" | |
sleep 1.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The default version of VBox in Ubuntu partner repo is 4.1 | |
# We need to add new repo to install newest version 4.2.x | |
# Add virtualbox repo | |
sudo apt-add-repository "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" -y | |
# Add Oracle public key | |
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you are using Ubuntu 32 bit just go straight you don't have to install ia32-libs | |
# and if you have any troubles with dependencies. I suggest you change your Ubuntu update server to the main server. | |
sudo apt-get install ia32-libs | |
# Download the newest version of Kingsoft office here: http://wps-community.org/download.html | |
# There are deb, rpm and source code too | |
wget http://wdl.cache.ijinshan.com/wps/download/Linux/unstable/kingsoft-office_9.1.0.4184~a12p1_i386.deb | |
# Install using dpkg | |
sudo dpkg -i kingsoft* |
NewerOlder