Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View nhubbard's full-sized avatar
💭
🤖 Finding reasons to stay busy

Nicholas Hubbard nhubbard

💭
🤖 Finding reasons to stay busy
View GitHub Profile
@nhubbard
nhubbard / PRIVACY.md
Created February 14, 2024 19:26
Sort Visualizer Privacy Policy

Sort Visualizer Privacy Policy

This app only collects final benchmark information when a sorting operation is finished. None of this information is associated with unique characteristics of you or your device.

These are the only pieces of information that this app will collect:

  • The model of your device (ex.: "MacBookPro18,1"). This is an extremely generic piece of information and cannot be used to identify you in any way, shape, or form.
  • The exact time when the sorting operation finished
  • The sorting algorithm that was run
  • The number of items you chose to sort
@nhubbard
nhubbard / mars.txt
Created January 19, 2024 14:55
MARS assembly spec
# MARS Assembly Specification
## Basic Instructions
### Branch
* bc1f 1, label
* bc1t 1, label
* bc1f label
* bc1t label
@nhubbard
nhubbard / knuth_gpt.md
Last active May 21, 2023 18:57
Don Knuth Plays with ChatGPT (ft. Stephen Wolfram)

Preface

Since one of today's popular recreations is to play with ChatGPT, I decided on 07 April 2023 to try my own little experiment, as part of a correspondence with Stephen Wolfram.

The results were sufficiently interesting that I passed them on to a few friends the next day, and I've also been mentioning them in conversation when the topic comes up.

So I was asked to post the story online, and here it is (lightly edited)!

-- Don Knuth

@nhubbard
nhubbard / resume.json
Last active April 6, 2023 16:12
My resume.
{
"meta": {
"theme": "actual"
},
"basics": {
"name": "Nicholas Hubbard",
"label": "Software Developer",
"email": "hubbardn95@gmail.com",
"phone": "(586) 383-3499",
"summary": "I am a junior at Gannon University, pursing a career in software engineering and cybersecurity. I have significant experience in multiple domains of computer science and systems administration.",
@nhubbard
nhubbard / ASSIGNMENT1.md
Created January 10, 2020 18:03
AP Computer Science: Assignment 1

AP CS Assignment 1

Nicholas Hubbard

Natural Numbers, Naturally

Code:

@nhubbard
nhubbard / tensorflow.py
Created May 29, 2019 19:11
Benchmarking code for VTK model
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:
04b402d5ac0b0fd1c48ace436fbb5440c82f85454d7e08b3c7a9bc85c38329b3e0e8536f4b4a8537ed1bddd667e1592cb93e010b37026fd3bea1079dc50124008d
@nhubbard
nhubbard / binwalk.log
Created February 3, 2018 16:11
Binwalk log from the file I'm trying to extract.
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 January 16, 2018 15:45
Applications of Euler's number using continually compounded interest.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[ 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