Skip to content

Instantly share code, notes, and snippets.

View eshack94's full-sized avatar
🔧

Elijah Shackelford eshack94

🔧
View GitHub Profile
@VictorTaelin
VictorTaelin / gpt4_abbreviations.md
Last active April 26, 2024 17:31
Notes on the GPT-4 abbreviations tweet

Notes on this tweet.

  • The screenshots were taken on different sessions.

  • The entire sessions are included on the screenshots.

  • I lost the original prompts, so I had to reconstruct them, and still managed to reproduce.

  • The "compressed" version is actually longer! Emojis and abbreviations use more tokens than common words.

@debakarr
debakarr / kodekloud_course_decks.md
Last active April 19, 2024 23:17
Course decks for KodeKloud
@pythoninthegrass
pythoninthegrass / .bash_profile
Last active May 2, 2024 19:21
Bash shell config (~/.bashrc) for Intel and ARM Macs
[[ -s ~/.bashrc ]] && source ~/.bashrc
@cubic3d
cubic3d / diff-hr-on-pr.yaml
Last active May 6, 2024 22:31
GitHub Actions workflow to create a resource diff on HelmRelease PRs
name: Create diff on updated HelmReleases
on:
pull_request:
branches:
- master
paths:
- "clusters/**.yaml"
env:
@dhinakg
dhinakg / tutorial.md
Last active December 9, 2023 01:50
iOS/iPadOS 14.3 OTA
@davidmroth
davidmroth / .bash_profile
Last active November 11, 2022 01:04
Homebrew Setup Mac M1
# !!! IMPORTANT
# Must point to the correct director or this entire script breaks
eval $(/opt/homebrew/bin/brew shellenv)
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/usr/local/google-cloud-sdk/path.bash.inc' ]; then . '/usr/local/google-cloud-sdk/path.bash.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/usr/local/google-cloud-sdk/completion.bash.inc' ]; then . '/usr/local/google-cloud-sdk/completion.bash.inc'; fi
# Source: https://gist.github.com/0431989df4836eb82bdac0cc53c7f3d6
# Used in https://youtu.be/R6OeIgb7lUI
##############################
# Flux 2 With GitOps Toolkit #
##############################
# What Is GitOps And Why Do We Want It?: https://youtu.be/HKkhD6nokC8
# Argo CD: Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4
const puppeteer = require("puppeteer");
const opn = require("opn");
const nodemailer = require("nodemailer");
const timeout = 5000;
const waitForTimeout = 1000;
const cartLink =
"https://store.nvidia.com/store/nvidia/en_US/buy/productID.5438481700/clearCart.yes/nextPage.QuickBuyCartPage";
@experimatt
experimatt / iterm-colors-to-vscode.js
Last active April 9, 2024 17:18
A simple script to use your iTerm color profile in vscode's built-in terminal.
// This script takes an iTerm Color Profile as an argument and translates it for use with Visual Studio Code's built-in terminal.
//
// usage: `node iterm-colors-to-vscode.js [path-to-iterm-profile.json]
//
// To export an iTerm Color Profile:
// 1) Open iTerm
// 2) Go to Preferences -> Profiles -> Colors
// 3) Other Actions -> Save Profile as JSON
//
// To generate the applicable color settings and use them in VS Code:
@bonniss
bonniss / github-search-cheatsheet.md
Last active April 23, 2024 15:22
Github search cheatsheet from official docs.

Github Search Cheat Sheet

GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.

For more information, visit our search help section.

Basic search