In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
if you create a new wget child process "wget http://foo.bar", but redirect child stdin and stdout to the same pipe, wget will give you something like this
0K .......... .......... .......... .......... .......... 0% 105K 2h1m
50K .......... .......... .......... .......... .......... 0% 158K 1h41m
100K .......... .......... .......... .......... .......... 0% 302K 81m58s
Python version of the MATLAB code in this Stack Overflow post: http://stackoverflow.com/a/18648210/97160
The example shows how to determine the best-fit plane/surface (1st or higher order polynomial) over a set of three-dimensional points.
Implemented in Python + NumPy + SciPy + matplotlib.
| conda install pyqt=4 | |
| conda install -c https://conda.binstar.org/menpo opencv |
This document describes in which way, what packages, and from where are installed on my Macs to get a decent Python 3.x, scipy/numpy & Co setup.
Note, I switched to Python's 3.x pyvenv from virtualenv in order to handle my pip-installable packages. Also thanks to Anaconda, the whole setup is so simple now that I use this document just to remember which additional packages I like.
- Install Homebrew
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| #include <boost/thread.hpp> | |
| #include <boost/thread/tss.hpp> | |
| #include <boost/bind.hpp> | |
| #include <iostream> | |
| class del{ | |
| public: | |
| int dat; | |
| del(int i):dat(i){} |
