Skip to content

Instantly share code, notes, and snippets.

View emjayoh's full-sized avatar

Matt Ogram emjayoh

View GitHub Profile
@emjayoh
emjayoh / typewriter.css
Last active December 27, 2020 04:54
[Simple vanilla CSS/JS Typing] from codepen #vanilla #typing #animation #css
@import url(https://fonts.googleapis.com/css?family=Khula:700);
body {
background: #111;
}
.hidden {
opacity:0;
}
.console-container {
font-family:Khula;
@emjayoh
emjayoh / bracketmatch.go
Last active January 13, 2021 08:59
[Regex: match in brackets] Simple/silly #regex #brackets
\[(.*?)\]
@emjayoh
emjayoh / fif.sh
Last active November 18, 2020 15:15 — forked from gnanderson/fif.sh
[fif.sh - fuzzy + rg + bat] Find in file using ripgrep, then fuzzy find matched filenames with fzf, preview match using bat #fzf #terminal #bash #shell #bat #rg #function
fif() {
rg \
--column \
--line-number \
--no-column \
--no-heading \
--fixed-strings \
--ignore-case \
--hidden \
--follow \
@emjayoh
emjayoh / log.sh
Created November 17, 2020 22:24
[tail feed] syntax highlighting + #bash #zsh #broke
tail -f /var/log/wifi.log | bat --paging=never -l log
@emjayoh
emjayoh / fzf.sh
Created November 17, 2020 21:10
[FZF stuff] aliases and stuff for fzf/rg #fzf #rg #zsh #bash #terminal #snoop
export FZF_DEFAULT_OPTS="
--layout=reverse
--info=inline
--height=80%
--multi
--preview-window=:hidden
--preview '([[ -f {} ]] && (bat --style=numbers --color=always {} || cat {})) || ([[ -d {} ]] && (tree -C {} | less)) || echo {} 2> /dev/null | head -200'
--color='hl:148,hl+:154,pointer:032,marker:010,bg+:237,gutter:008'
--prompt='∼ ' --pointer='▶' --marker='✓'
--bind '?:toggle-preview'
@emjayoh
emjayoh / kitty.sh
Created November 13, 2020 16:33
[Kitty terminal themes] Install #themes #terminal #tty #kitty
git clone --depth 1 [email protected]:dexpota/kitty-themes.git ~/.config/kitty/kitty-themes
ln -s ~/.config/kitty/kitty-themes/themes/Dracula.conf ~/.config/kitty/theme.conf
@emjayoh
emjayoh / resume.json
Last active October 17, 2023 03:03
[resume.json] old version #resume #json #json-resume
{
"basics": {
"name": "Matthew J. Ogram",
"label": "Software Engineer",
"picture": "https://i.imgur.com/FSl4zjT.png",
"email": "email",
"phone": "phone",
"website": "https://github.com/emjayoh",
"summary": "Seasoned engineer with passion for emerging frontend technologies and modern approaches to the evolving challenges in the web application space",
"location": {
@emjayoh
emjayoh / .leptonrc
Created October 17, 2020 01:59 — forked from hackjutsu/.leptonrc
[Template for .leptonrc] This is a template for Lepton's configuration file. Please place it on your home directory. #lepton
{
"theme": "light",
"autoUpdate": false,
"snippet": {
"expanded": true,
"newSnippetPrivate": false,
"sorting": "updated_at",
"sortingReverse": true
},
"editor" : {
@emjayoh
emjayoh / resume.json
Last active January 13, 2021 08:51
[Resume json] Old.... #resume #jsonresume #draft
{
"basics": {
"name": "Matthew J. Ogram",
"label": "Software Engineer",
"picture": "https://avatars3.githubusercontent.com/u/5733079?s=460&u=e8f305e7c990eb5043b764a21cbce53d74c4b000&v=4",
"email": "[email protected]",
"phone": "phone",
"website": "https://github.com/emjayoh",
"summary": "Seasoned engineer with passion for emerging frontend technologies and modern approaches to the evolving challenges in the web application space",
"location": {
@emjayoh
emjayoh / xrandr.sh
Last active January 13, 2021 08:53 — forked from chirag64/xrandr.sh
[Resolution adjustment xrandr] Useful for pesky resolution issues in linux #linux #graphics #xrandr #archlinux #bash
#!/bin/bash
#If no argument is specified, ask for it and exit
if [[ -z "$@" ]];
then
echo "An argument is needed to run this script";
exit
else
arg="$@"
#Basic check to make sure argument number is valid. If not, display error and exit
if [[ $(($(echo $arg | grep -o "\s" | wc --chars) / 2 )) -ne 2 ]];