Skip to content

Instantly share code, notes, and snippets.

View jhyland87's full-sized avatar

J jhyland87

View GitHub Profile
@jhyland87
jhyland87 / forum_post.md
Created January 5, 2025 04:38
Post intended for future4200

Here's an Imgur album I just uploaded a bunch of screenshots to - https://imgur.com/a/24-45-gl45-adaptor-vHJwzqn But since I know people don't like clicking on links, here's a few pictures from the post: 5xEVXLH|666x500 sdCvG80|375x500

Now this solution works great for me, but when getting this post ready for yall, I stumbled across something that might work better: https://www.laborxing.com/collections/stoppers/products/gl45-screw-cap-with-ptfe-joint-adapter?variant=46214047531225

@jhyland87
jhyland87 / bash_colors.sh
Last active November 10, 2024 16:43
Prusa sliced gcode diff
#!/usr/bin/env bash
# Set fg color with \e[38;5;${COLOR}m:
# echo -e '\e[38;5;17mTest\e[0m'
# echo -e '\e[38;5;226mYellow text\e[0m'
# Set bg color with \e[48;5;${COLOR}m:
# echo -e '\e[48;5;17mBlue background\e[0m'
# Change the fg and bg colors:
@jhyland87
jhyland87 / dictionary_attack_checker.sh
Last active August 30, 2024 12:03
Function to check if a string (password) can be found in online reverse sha1/md5 checksum dictionaries.
function checkmd5 {
local string="${1?No string provided to test}"
local checksum=$(printf "${string}" | md5sum | awk '{print $1}')
printf "%10s: %s\n" "string" "${string}"
printf "%10s: %s\n" "checksum" "${checksum}"
printf "%10s: %s\n" "type" "MD5"
printf "%10s: %s" "result" "Checking..."
/**
* Wait For Element - Creates a MutationObserver to watch for an element to be created.
*
* @param {object|string} selectorObj - The object with the selector and other params; Can also be a string
* value of the selector.
* @property {string} [selectorObj.selector] - The string to use as the querySelector value.
* @property {boolean} [selectorObj.multiple] - Determines if the mutation observer should be removed after
* the first match or not.
* @property {boolean} [selectorObj.verbose] - If true, some debug logs will be output to console.
* @see https://stackoverflow.com/a/61511955/1596569
@jhyland87
jhyland87 / .fluidd-theme___custom.css
Last active September 5, 2024 15:25
Custom fluidd theme that sets the background image to the webcam stream, and forces all cards to be semi-transparent until hovered over
/*
rgb(from var(--v-card-background-color) calc(r - 75) g b / 50%)
rgb(from var(--v-card-heading-base) calc(r + 40) calc(g + 40) b / 50%)
--v-card-background-color
*/
/* BG Animation */
:root {
All files were found via Googling:
site:oregontechsfcdn.azureedge.net filetype:pdf inurl:library-documents
or for specific chapters:
site:oregontechsfcdn.azureedge.net filetype:pdf inurl:library-documents inurl:chapter-1
#https://www.google.com/search?q=site%3Aoregontechsfcdn.azureedge.net+inurl%3Alibrary-documents+filetype%3Apdf
Successful Searching in Oregon Tech Library’s Electronic Resources
https://oregontechsfcdn.azureedge.net/oregontech/library-documents/successful-searching-in-oregon-tech-library-electronic-resources2012.pdf
@jhyland87
jhyland87 / youtube-dl_template-values.list
Created October 5, 2018 21:14
Template values for the youtube-dl command
General
id (string) Video identifier
title (string) Video title
url (string) Video URL
ext (string) Video filename extension
alt_title (string) A secondary title of the video
display_id (string) An alternative identifier for the video
uploader (string) Full name of the video uploader
license (string) License name the video is licensed under
creator (string) The creator of the video
Question:
Tell me about a time that you strongly disagreed with your
manager on something you deemed to be very important to the
business. What was it about and how did you handle it?
Answer:
I think the most prevalent example would be the mentality in which my
previous manager and I had towards potential problems related to
monitoring, logging and security weaknesses. It seemed to me that he
had more of a reactive oriented mentality, where as I thought it was
@jhyland87
jhyland87 / AmazonUIPageJS-namespaces.list
Created September 18, 2018 20:48
Generated via: grep -A 1 -nH _namespace *.js | grep -Eo '\(".+"\)' | grep -Eo '([a-zA-Z]+)' | sort -u
AUIBuild
ActionPanelAssets
AmazonCertifiedDetailPageAssets
AmazonCustomBuyBoxAssets
AmazonCustomCommonAssets
AmazonCustomPreviewerAssets
AmazonPopoversAUIShim
AmazonsChoiceAssets
Assets
BabyRegistryDPAssets
@jhyland87
jhyland87 / AmazonUIPageJS-when.list
Created September 18, 2018 20:44
Output of: grep '\.when' * | grep -Eo '\.when\("[a-zA-Z0-9:[:space:]",\-]+"' | sed -E -e 's/^\.when\("//g' -e 's/"//g' -e 's/, /,/g' | tr ',' '\n' | sort -u | grep -Ev '^$'
3p-fabricjs
3p-promise
A
Airy
AmazonCustom:BrowserSpecific:DisableBFCache
CountryNames
DigitalDashAddListeners
DigitalDashCreateForm
DigitalDashUtils
EDPUtils