- sublime-text
- Eclipse Classic
- ADT + NDK + Android source code
- Keepass
- Filezilla
- Skype
- svn
- git
#####For the NDK on AMD64
sudo apt-get install ia32-libs
sudo apt-get install gcc-multilib
- svn: Subversive
- maven: m2e
Add in /etc/fstab to the sda hard drive
,noatime,nodiratime,discard
and at the end
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
Then in rc.local
sudo nano /etc/rc.local
Above the "exit 0" line, add these two lines if you’re using deadline:
echo deadline > /sys/block/sda/queue/scheduler
echo 1 > /sys/block/sdX/queue/iosched/fifo_batch
Set Swappiness to 0
gksudo gedit /etc/sysctl.conf
Search for vm.swappiness and change its value as desired. If vm.swappiness does not exist, add it to the end of the file like so:
vm.swappiness=10
# Android path
PATH=$PATH:~/developer/tools/android-sdk-linux/platform-tools/:~/developer/tools/android-ndk-r8b/
# My custom alias
alias ll="ls -l"
alias lo="ls -o"
alias lh="ls -lh"
alias la="ls -lag"
alias sl="ls"
alias l="ls"
alias s="ls"
alias cd..='cd ..'
# Useful extract function
extract () {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via extract()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
#dirsize - finds directory sizes and lists them for the current directory
dirsize ()
{
du -shx * .[a-zA-Z0-9_]* 2> /dev/null | \
egrep '^ *[0-9.]*[MG]' | sort -n > /tmp/list
egrep '^ *[0-9.]*M' /tmp/list
egrep '^ *[0-9.]*G' /tmp/list
rm -rf /tmp/list
}
dpkg --get-selections > ~/Documents/package_list.txt
then restore it on the new one with
sudo dpkg --set-selections < ~/Documents/package_list.txt && apt-get dselect-upgrade.
#! /bin/sh
# listppa Script to get all the PPA installed on a system ready to share for reininstall
for APT in `find /etc/apt/ -name *.list`; do
grep -o "^deb http://ppa.launchpad.net/[a-z0-9\-]\+/[a-z0-9\-]\+" $APT | while read ENTRY ; do
USER=`echo $ENTRY | cut -d/ -f4`
PPA=`echo $ENTRY | cut -d/ -f5`
echo sudo apt-add-repository ppa:$USER/$PPA
done
done
Then run:
./listppa.sh > ~/Documents/ppa_installed.sh
Editar el archivo /etc/sudoers, y al final de la linea Defaults añadir insults, de modo que quede algo como esto:
Defaults env_reset, insults
Some other toys:
sudo apt-get install cowsay
sudo apt-get install cmatrix
sudo apt-get install toilet
sudo apt-get install sl