conda install -c conda-forge jupyterlab jupytext
jupyter labextension install @jupyterlab/toc
| #!/usr/bin/python2.7 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| MakeHuman plugin for estimating the weight of the model using BSA (body surface | |
| are) based metrics. | |
| **Project Name:** MakeHuman | |
| **Product Home Page:** http://www.makehuman.org/ |
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\*\Shell\Vim] | |
| @="Edit with &Vim" | |
| "Icon"="\"C:\\Program Files (x86)\\Vim\\vim81\\vim.exe\"" | |
| [HKEY_CLASSES_ROOT\*\Shell\Vim\command] | |
| @="\"C:\\Program Files (x86)\\Vim\\vim81\\vim.exe\" \"%1\"" |
| name: env2 | |
| channels: | |
| - https://conda.anaconda.org/menpo | |
| - conda-forge | |
| dependencies: | |
| - python=2.7 | |
| - numpy | |
| - matplotlib | |
| - jupyter | |
| - opencv3 |
| echo 1 > /proc/sys/kernel/sysrq | |
| echo b > /proc/sysrq-trigger | |
| #!/usr/bin/env bash | |
| # Pi-hole: A black hole for Internet advertisements | |
| # (c) 2015, 2016 by Jacob Salmela | |
| # Network-wide ad blocking via your Raspberry Pi | |
| # http://pi-hole.net | |
| # Installs Pi-hole | |
| # | |
| # Pi-hole is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 2 of the License, or |
| import sys, gzip | |
| from cStringIO import StringIO | |
| from elftools.elf.elffile import ELFFile | |
| elffile = ELFFile(open(sys.argv[1])) | |
| data = open(sys.argv[1]).read() | |
| is_mkbundle = False | |
| section = elffile.get_section_by_name('.dynsym') |
| Camera.Parameters p = mCam.getParameters(); | |
| p.setPreviewSize(camHeight, camWidth); | |
| p.setPreviewFpsRange(minFps, maxFps); | |
| mCam.setParameters(p); | |
| texture = new SurfaceTexture(10); | |
| mCam.setPreviewTexture(texture); | |
| mCam.startPreview(); | |
| mCam.setPreviewCallback(new PreviewCallback() { | |
| @Override |