I hereby claim:
- I am rahduro on github.
- I am rahduro (https://keybase.io/rahduro) on keybase.
- I have a public key ASBqFOrIOD6NUh3PQD8yqqVdYw7wWoCtALNDlwJfKjSEhgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears -info
optirun -b none python/jupyter
# for running python or jupyter notebook with cuda support when bumblebee drivers are in use
DISPLAY=:8 glxgears -info
# this is for hdmi plugged to nvidia card
rfkill unblock bluetooth
# if bluetooth is not active and not showing up
Cuda path setup for visual studio 2015, solves missing d3dx9.h d3dx10.h problem
add C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations
to CUDA_PATH
environment variable.
A very nice windows automated setup idea https://github.com/felixrieseberg/windows-development-environment/blob/master/README.md
Download all directories and files recursively from a hyperlink stackoverflow
wget -r --no-parent --reject "index.html*" <URL>
Change virtualbox shared folder permission
sudo usermod -aG vboxsf $(whoami)
# 4 digits binary numbers in increasing order | |
from itertools import product | |
map(lambda i: '{}{}{}{}'.format(i[0], i[1], i[2], i[3]), product(range(2), repeat=4)) |
# learned from https://medium.com/@Tiagojdferreira/how-i-set-up-my-git-in-a-new-computer-85bb461b089f#.9u0csujzb | |
[user] | |
name = Name | |
email = Email | |
[alias] | |
co = checkout | |
b = branch | |
pu = push -u origin HEAD | |
ci = commit | |
st = status |