Skip to content

Instantly share code, notes, and snippets.

View jhyland87's full-sized avatar

J jhyland87

View GitHub Profile
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
@jhyland87
jhyland87 / AmazonUIPageJS-execute.list
Created September 18, 2018 20:12
Results from grep '\.when' * | grep -Eo '\.execute\(".+",' | sed -E -e 's/^\.execute\("//g' -e 's/",$//g'
DigitalDashAutoAction
DigitalDashPopoverManager
ac-popover-metrics
ac:olp:init
add-to-cart-refresh
addSuppliersButton
aloha.carrierCompatibility.onStart
attach-dss-js
atwl-dropdown
atwl-huc
var PrefixedLog = function( prefix, style ) {
if ( ! prefix || typeof prefix !== 'string' ) return;
this.prefix = prefix;
this.prefixFormat = '[%c%s%c]';
this.style = (typeof style === 'string' ? style : 'color: grey; font-weight: bold');
this.unstyle = 'color: none; font-weight: none';
};
PrefixedLog.prototype.initArgs = function(){
declare -A CFG
CFG[tmp.prefix]="ip-dns-parse"
CFG[tmp.file.file-list]="files-to-parse.list"
CFG[tmp.file.grep-results]="grep-results.list"
CFG[tmp.file.pruned-grep-results]="pruned-grep-results.list"
CFG[output.result]="./results"
@jhyland87
jhyland87 / csv-from-grep.sh
Created August 15, 2018 19:42
Parses the grep output and generates CSV file content (sent to STDOUT)
#!/usr/local/bin/bash
declare -A CFG
#CFG['ignore.filetype']
# Grep for DNS and IP records
# grep -IERnHis --exclude-dir={.git,.gitmodules} '(192\.168\.78\.[0-9]{1,3}|10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|\.(mywebsite|abcstaging)\.com)' liberty-{cron,magento,misc,models,portal,reports,services,ship{,-{client,server}},sweet,ups,warehouse} > ip-dns-references.txt
[Tue Aug 14 09:46:02| 0:000]{1:193}jdoe@MacBook-Pro:/Volumes(✓)$ df /Volumes/Secure
Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on
/dev/disk4s1 35372096 1566528 33805568 5% 0 0 100% /Volumes/Secure
[Tue Aug 14 09:46:06| 0:000]{1:194}jdoe@MacBook-Pro:/Volumes(✓)$ ls /Volumes/Secure
chemdocs credentials data.tar.gz.enc scripts test test-data test-data.tar.gz.enc tor
[Tue Aug 14 09:46:09| 0:000]{1:195}jdoe@MacBook-Pro:/Volumes(✓)$ cd /Volumes/Secure
[Tue Aug 14 09:46:11| 0:000]{1:196}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ls
.
[Tue Aug 14 09:52:28| 0:000]{1:27}jdoe@MacBook-Pro:/Volumes/Secure(✓)$ ls .
.