sudo -H pip freeze > requirements.txt
source: http://askubuntu.com/questions/24022/how-can-i-backup-my-repositories
tar cvzf sources.tar.gz /etc/apt/sources.list.d/
Or use y-ppa-manager
sudo -H pip freeze > requirements.txt
source: http://askubuntu.com/questions/24022/how-can-i-backup-my-repositories
tar cvzf sources.tar.gz /etc/apt/sources.list.d/
Or use y-ppa-manager
Follow http://www.ozbotz.org/opencv-installation/ and http://www.pyimagesearch.com/2015/06/22/install-opencv-3-0-and-python-2-7-on-ubuntu/
I downloaded the latest versions of ffmpeg, v4l and x264 libs
OpenCV when compiled with default libgphoto2 installed on Ubuntu 12.04 gives error. As described here
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y opencl-headers build-essential protobuf-compiler \
libprotoc-dev libboost-all-dev libleveldb-dev hdf5-tools libhdf5-serial-dev \
libopencv-dev libopenblas-dev liblapack-dev libsnappy-dev libsnappy1 \
cmake libstdc++6-4.8-dbg libgoogle-glog0 libgoogle-glog-dev \
libgflags-dev liblmdb-dev git python-pip gfortran
sudo apt-get update -y | |
sudo apt-get install -y git wget linux-image-generic build-essential unzip | |
cd /tmp | |
# cuda downloads - http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64 | |
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb | |
sudo apt-get update && sudo apt-get install cuda-toolkit-7-0 | |
echo -e "\nexport CUDA_HOME=/usr/local/cuda" >> ~/.bashrc |
Filter all emails which have a userlabel and are in inbox: | |
-(label:later-reply OR label:later:read) has:userlabels in:inbox | |
-label:taga -label:tagb -label:tagc | |
or | |
-label:{taga tagb tagc} |
adb shell ls /foo/bar | tr -d '\015' | while read file | |
do | |
folder="/foo/bar/$file" | |
adb pull $folder download | |
done | |
adb shell ls /sdcard/ | tr -d '\015' | while read file | |
do | |
echo "copying >>>>>>>> /sdcard/$file to >>>>>>>>> OnePlusOne_Backup" | |
/usr/lib/adb-sync --reverse "/sdcard/$file" "OnePlusOne_Backup" |
ML, level 1 by Prof. Andrew Ng: Machine Learning, Website
ML, level 1 by Prof. Andrew Ng: Machine Learning, Website, Lecture Notes, Videos
ML, level 1 by Prof. Nando de Freitas: Machine Learning & Data Mining, Website, Lecture Notes, Videos
ML, level 2 by Prof. Nando de Freitas: Machine Learning, Website, Lecture Notes, [Videos](https://www.youtube.com/playlist?list=PLE6Wd9FR--EdyJ5lb
## dynamic links to .so files | |
ldd libopenblas.so | |
## install gxx-4.8 and/or gxx-4.9 on Ubuntu 12.04 or Ubuntu 14.04 | |
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install gcc-4.9 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50 | |
sudo apt-get install g++-4.9 |