Skip to content

Instantly share code, notes, and snippets.

💭
🤖 Finding reasons to stay busy

Nicholas Hubbard nhubbard

💭
🤖 Finding reasons to stay busy
Block or report user

Report or block nhubbard

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nhubbard
nhubbard / tensorflow.py
Created May 29, 2019
Benchmarking code for VTK model
View tensorflow.py
import numpy as np
import tensorflow as tf
import cv2 as cv
from time import time
import sys, os
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
cap = cv.VideoCapture(int(sys.argv[2]))
lat = []
# Read the graph.
with open(sys.argv[1], 'rb') as f:
View genesis_public_key
04b402d5ac0b0fd1c48ace436fbb5440c82f85454d7e08b3c7a9bc85c38329b3e0e8536f4b4a8537ed1bddd667e1592cb93e010b37026fd3bea1079dc50124008d
@nhubbard
nhubbard / binwalk.log
Created Feb 3, 2018
Binwalk log from the file I'm trying to extract.
View binwalk.log
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 Linux EXT filesystem, rev 0.0, ext2 filesystem data, UUID=00000000-0000-0000-0000-000000000000
9768 0x2628 Unix path: /etc/natinst/share/ssh/ssh_host_dsa_key
15400 0x3C28 Unix path: /usr/lib/busybox/sbin/acpid
27432 0x6B28 Unix path: /usr/lib/busybox/usr/sbin/addgroup
27944 0x6D28 Unix path: /usr/sbin/readprofile.util-linux
29352 0x72A8 Unix path: /usr/lib/busybox/usr/bin/printf
356352 0x57000 ELF, 32-bit LSB relocatable, ARM, version 1 (SYSV)
@nhubbard
nhubbard / ApplicationsEulerCCI.ipynb
Last active Jan 16, 2018
Applications of Euler's number using continually compounded interest.
View ApplicationsEulerCCI.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View dmesg.log
[ 0.000000] microcode: microcode updated early to revision 0x62, date = 2017-04-27
[ 0.000000] Linux version 4.12.14-300.fc26.x86_64 (mockbuild@bkernel02.phx2.fedoraproject.org) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC) ) #1 SMP Wed Sep 20 16:28:07 UTC 2017
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.12.14-300.fc26.x86_64 root=UUID=0c21b243-83a4-4d43-ae22-1748e49bbf9d ro rhgb quiet LANG=en_US.UTF-8
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
You can’t perform that action at this time.