This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: env2 | |
channels: | |
- https://conda.anaconda.org/menpo | |
- conda-forge | |
dependencies: | |
- python=2.7 | |
- numpy | |
- matplotlib | |
- jupyter | |
- opencv3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 1 > /proc/sys/kernel/sysrq | |
echo b > /proc/sysrq-trigger | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder