I hereby claim:
- I am genekogan on github.
- I am genekogan (https://keybase.io/genekogan) on keybase.
- I have a public key ASAsYjWbGA30myV56Ln5AfmPZwf503RRRu6O9m9b4ajWFAo
To claim this, I am signing this object:
| sudo systemctl stop lightdm | |
| sudo nohup X -ac >/dev/null 2>&1 & | |
| export DISPLAY=:0 | |
| ./myApp |
| import os | |
| import torch | |
| import torch.nn as nn | |
| import torch.nn.functional as F | |
| import torchvision | |
| from torchvision import transforms | |
| from torchvision.utils import save_image | |
| from torch.autograd import Variable | |
| import syft as sy |
| #!/bin/bash | |
| # fix keys | |
| sudo killall apt apt-get | |
| sudo rm /var/lib/apt/lists/lock | |
| sudo rm /var/cache/apt/archives/lock | |
| sudo rm /var/lib/dpkg/lock | |
| sudo rm /var/lib/dpkg/lock-frontend | |
| sudo dpkg --configure -a | |
| curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - |
I hereby claim:
To claim this, I am signing this object:
install PyEnv and PipEnv if you don't have it already:
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
exec "$SHELL"
pip install -U pipenv
| /* -------------------------------------------------------------------------- | |
| * SimpleOpenNI User Test | |
| * -------------------------------------------------------------------------- | |
| * Processing Wrapper for the OpenNI/Kinect 2 library | |
| * http://code.google.com/p/simple-openni | |
| * -------------------------------------------------------------------------- | |
| * prog: Max Rheiner / Interaction Design / Zhdk / http://iad.zhdk.ch/ | |
| * date: 12/12/2012 (m/d/y) | |
| * ---------------------------------------------------------------------------- | |
| */ |
| 0) tench, Tinca tinca | |
| 1) goldfish, Carassius auratus | |
| 2) great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias | |
| 3) tiger shark, Galeocerdo cuvieri | |
| 4) hammerhead, hammerhead shark | |
| 5) electric ray, crampfish, numbfish, torpedo | |
| 6) stingray | |
| 7) cock | |
| 8) hen | |
| 9) ostrich, Struthio camelus |
| # luarocks | |
| sudo rm -rf ~/.cache/luarocks/ | |
| luarocks install loadcaffe | |
| luarocks install cutorch | |
| luarocks install cudnn | |
| luarocks install cunn | |
| luarocks install torch | |
| luarocks install nn | |
| luarocks install image |
| .:' | |
| ..:' | |
| .;' | |
| .;!; | |
| .;;;;,;;,;;,,,. | |
| .,;;;'''''';;..,;;;,; | |
| `'',CC;;;;;;'.....;;;. | |
| :.............,'`...;;;;;;;.............;;\. :::::::::: | |
| ;;;;;;..,,,...,,..........;' :::::::::::;;;;;;;;;'.. | |
| :::::::::::' :: `'':::::......,,,;::::::::::::::::' |
| for i in {1..100}; do | |
| filepath=$(printf "http://caliban.mpipz.mpg.de/haeckel/kunstformen/Tafel_%03d_300.jpg" $i) | |
| wget $filepath; | |
| done |