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/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
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
@article{kadir2001saliency, | |
title={Saliency, scale and image description}, | |
author={Kadir, Timor and Brady, Michael}, | |
journal={International Journal of Computer Vision}, | |
volume={45}, | |
number={2}, | |
pages={83--105}, | |
year={2001}, | |
publisher={Springer} | |
} |
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/python3 | |
import h5py | |
import numpy | |
import scipy.io | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument("file", help="h5 file or mat file") | |
args = parser.parse_args() |
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
openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 3650 -keyout output/localhost.pem -out output/localhost.cer -subj "/CN=localhost" -addext "subjectAltName = DNS:localhost" |