I hereby claim:
- I am bohdantkachenko on github.
- I am bohdantkachenko (https://keybase.io/bohdantkachenko) on keybase.
- I have a public key ASCQQi2Uso1IMsOdCiRBxTg5-eD-KlaKGwQsqRUJ_uW9oQo
To claim this, I am signing this object:
add-apt-repository -y ppa:graphics-drivers/ppa | |
apt-get update -y | |
apt-get install -y build-essential | |
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/381.09/NVIDIA-Linux-x86_64-381.09.run | |
sh NVIDIA-Linux-x86_64-381.09.run -q -a --ui=none | |
rm NVIDIA-Linux-x86_64-381.09.run | |
apt-get install -y nvidia-384 nvidia-modprobe | |
nvidia-smi | |
wget https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb | |
dpkg -i nvidia-docker_1.0.1-1_amd64.deb |
I hereby claim:
To claim this, I am signing this object:
function getMessagesCount() { | |
var re = /\((\d+)\)/; | |
var count = 0; | |
Array.prototype.slice.call(document.querySelectorAll('.scroll-list-item.top-level-item')).forEach(function (el) { | |
if (el.attributes.class.value.split(' ').indexOf('scroll-list-item-cluster') >= 0 && re.test(el.innerText)) { | |
count += parseInt(/\((\d+)\)/.exec(el.innerText)[1], 10); | |
} else { | |
count++; | |
} |
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Usage: $0 <directory name>" | |
echo "" | |
echo "This tools allows you to easily put subdirectories of some directory to 7z archives." | |
echo "It also tests each archive and creates md5 and sha1 sum files." | |
exit 1 | |
fi |