Skip to content

Instantly share code, notes, and snippets.

View major's full-sized avatar
🤠
Yeehaw.

Major Hayden major

🤠
Yeehaw.
View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"meta": {
"theme": "macchiato"
},
"basics": {
"name": "Major Hayden",
"label": "Linux Engineer & Security Architect",
"email": "[email protected]",
"phone": "",
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"meta": {
"theme": "flat",
},
"basics": {
"name": "Major Hayden",
"label": "Linux Engineer & Security Architect",
"email": "[email protected]",
"phone": "",
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Major Hayden",
"label": "Linux Engineer & Security Architect",
"email": "[email protected]",
"phone": "",
"url": "https://majorhayden.com",
"summary": "Linux Engineer and Principal Software Engineer with 20+ years of experience in system administration, application development, DevOps, and cybersecurity.",
"location": {
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Major Hayden",
"label": "Linux Engineer & Security Architect",
"image": "",
"email": "[email protected]",
"phone": "",
"url": "https://majorhayden.com",
"summary": "Linux Engineer with skills in database administration, system administration, application development and leadership. Enjoys connecting people with technology solutions that are easy to use, affordable, and sustainable over time. Familiar with, and a huge supporter of, the DevOps culture and how to make it work with a large team in a fast paced environment. Information security has been a key interest, having served as Chief Security Architect leading teams of senior engineers dedicated to increasing security within organizations and for their customers.",
@major
major / sma_and_vwma.pine
Created February 3, 2025 13:04
SMA/VWMA TradingView Indicator
//@version=6
indicator(title="SMA vs VWMA (thetanerd) 🤓", shorttitle="SMA/VWMA 🤓", overlay=true, timeframe="", timeframe_gaps=true)
// MarketSurge colors by default, just because.
defaultSMAColor = color.new(#e040fb, 0)
defaultVWMAColor = color.new(#2962ff, 0)
// CONFIGURABLES
var GRP0 = "Let's get nerdy because why not? 🤓"
len = input.int(50, minval=1, title="Length", group=GRP0)
@major
major / test.html
Last active March 9, 2024 15:35
Testing TradingView Embeds
# TradingView embed testing
<!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container" style="height:100%;width:100%">
<div class="tradingview-widget-container__widget" style="height:calc(100% - 32px);width:100%"></div>
<div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/" rel="noopener nofollow" target="_blank"><span class="blue-text">Track all markets on TradingView</span></a></div>
<script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-advanced-chart.js" async>
{
"autosize": true,
"symbol": "XLP/SPY",
@major
major / build.log
Created February 2, 2024 13:05
azure-cli 2.56.0 deps
Provides: azure-cli = 2.56.0-1.fc39 python3.12dist(azure-cli) = 2.56 python3dist(azure-cli) = 2.56
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ((python3.12dist(azure-cosmos) >= 3 with python3.12dist(azure-cosmos) < 4) with python3.12dist(azure-cosmos) >= 3.0.2) (python3.12dist(azure-appconfiguration) >= 1.1.1 with python3.12dist(azure-appconfiguration) < 1.2) (python3.12dist(azure-batch) >= 14 with python3.12dist(azure-batch) < 14.1) (python3.12dist(azure-datalake-store) >= 0.0.49 with python3.12dist(azure-datalake-store) < 0.1) (python3.12dist(azure-graphrbac) >= 0.60 with python3.12dist(azure-graphrbac) < 0.61) (python3.12dist(azure-loganalytics) >= 0.1 with python3.12dist(azure-loganalytics) < 0.2) (python3.12dist(azure-mgmt-applicationinsights) >= 1 with python3.12dist(azure-mgmt-applicationinsights) < 1.1) (python3.12dist(azure-mgmt-authorization) >= 4 with python3.12dist(a
@major
major / charts.md
Last active November 23, 2023 03:57
Major's interesting charts

SPX to VVIX correlation

When this closes over zero, watch out for a turnaround in the VIX. It isn't always immediate, but it often precedes a change down the line.

https://schrts.co/MTbuyXTK

Back month vol versus current

https://schrts.co/VsZbvNHQ

@major
major / el9.txt
Created July 3, 2023 15:37
websockets missing modules
+ /usr/bin/python3 -s /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/build/BUILD/python-websockets-11.0.3-2.el9.x86_64-pyproject-modules
Check import: websockets
Check import: websockets.speedups
@major
major / Caddyfile
Last active June 15, 2023 14:24
Caddy + Watchtower + Wordpress + MariaDB
example.com {
tls [email protected]
root * /var/www/html
php_fastcgi wordpress:9000
encode gzip
file_server
@disallowed {
path *.sql
path /wp-content/uploads/*.php