Skip to content

Instantly share code, notes, and snippets.

Avatar
🛠️
focused

Elijah Shackelford eshack94

🛠️
focused
View GitHub Profile
@eshack94
eshack94 / tutorial.md
Created Apr 20, 2021 — forked from dhinakg/tutorial.md
iOS/iPadOS 14.3 OTA
View tutorial.md
View nvidia.js
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";
View keybase.md

Keybase proof

I hereby claim:

  • I am eshack94 on github.
  • I am eshack94 (https://keybase.io/eshack94) on keybase.
  • I have a public key ASD6X637W5qIzP63BxND3WNQCZFsWFj1Ib_3_gul93hMBAo

To claim this, I am signing this object:

@eshack94
eshack94 / README.md
Created Jul 3, 2020 — forked from pdanford/README.md
Launching iTerm2 from macOS Finder
View README.md

Launching iTerm2 from macOS Finder

(Based on info from Peter Downs' gitub but with modified behavior to open a new terminal window for each invocation instead of reusing an already open window.)

The following three ways to launch an iTerm2 window from Finder have been tested on iTerm2 version 3+ running on macOS Mojave+.

pdanford - April 2020


@eshack94
eshack94 / generate-ssh-key.sh
Created Jun 4, 2020 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
View generate-ssh-key.sh
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View sed cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@eshack94
eshack94 / colorscheme-override.md
Created Jan 21, 2020 — forked from romainl/colorscheme-override.md
The right way to override any highlighting if you don't want to edit the colorscheme file directly
View colorscheme-override.md

Suppose you have weird taste and you absolutely want:

  • your visual selection to always have a green background and black foreground,
  • your active statusline to always have a white background and red foreground,
  • your very own deep blue background.

Your first reflex is probably to put those lines somewhere in your vimrc:

highlight Visual cterm=NONE ctermbg=76 ctermfg=16 gui=NONE guibg=#5fd700 guifg=#000000

highlight StatusLine cterm=NONE ctermbg=231 ctermfg=160 gui=NONE guibg=#ffffff guifg=#d70000

@eshack94
eshack94 / colorscheme-override.md
Created Jan 21, 2020 — forked from romainl/colorscheme-override.md
The right way to override any highlighting if you don't want to edit the colorscheme file directly
View colorscheme-override.md

Suppose you have weird taste and you absolutely want:

  • your visual selection to always have a green background and black foreground,
  • your active statusline to always have a white background and red foreground,
  • your very own deep blue background.

Your first reflex is probably to put those lines somewhere in your vimrc:

highlight Visual cterm=NONE ctermbg=76 ctermfg=16 gui=NONE guibg=#5fd700 guifg=#000000

highlight StatusLine cterm=NONE ctermbg=231 ctermfg=160 gui=NONE guibg=#ffffff guifg=#d70000

@eshack94
eshack94 / st2vim_themes.py
Created Jan 8, 2020 — forked from jojonas/st2vim_themes.py
Converter for Sublime Text themes to VIM themes
View st2vim_themes.py
from __future__ import print_function
import sys
import argparse
import os.path
import textwrap
import re
from pprint import pprint
import xml.etree.ElementTree as ET