Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rrostt on github.
  • I am rost (https://keybase.io/rost) on keybase.
  • I have a public key ASDXGR37Ay2qaJbqYw-jE0MsfICG9xKwU4hvnApvtBy5gAo

To claim this, I am signing this object:

# cuda
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y opencl-headers build-essential protobuf-compiler \
libprotoc-dev libboost-all-dev libleveldb-dev hdf5-tools libhdf5-serial-dev \
libopencv-core-dev libopencv-highgui-dev libsnappy-dev libsnappy1 \

Keybase proof

I hereby claim:

  • I am rrostt on github.
  • I am rost (https://keybase.io/rost) on keybase.
  • I have a public key whose fingerprint is 76E7 C94B 664D 7BEC 8760 B49C A7B9 F648 BC44 A521

To claim this, I am signing this object:

function ComparisonOfXAndY(x,y) {
var result;
this.compare = function() {
if (isXGreaterThanY()) {
result = 1;
} else if (isYGreatedThanX()) {
result = -1;
}
result = 0;