Skip to content

Instantly share code, notes, and snippets.

View jmacqueen's full-sized avatar

Jonathan MacQueen jmacqueen

  • Bitsight
  • United States
View GitHub Profile
@jmacqueen
jmacqueen / captions.vtt
Created November 19, 2019 13:11
Sample VTT file
WEBVTT
1
00:00:00.000 --> 00:00:00.500
2
00:00:00.500 --> 00:00:02.170
<v Neil deGrasse Tyson>Then I would like to introduce
the two persons who will
export const command = `/usr/local/bin/docker ps --format '{{.Names}}\t{{.Ports}}'`
export const refreshFrequency = 5000 // ms
export const render = ({ output }) => {
if (!output) return <h3>Docker daemon not responding</h3>
const lines = output.split("\n")
function tableRow(line) {
const splitLine = line.split(/\t/)
@jmacqueen
jmacqueen / tmux.conf
Last active November 4, 2024 20:47
My tmux.conf
set -g mouse on
set -g history-limit 1000000 # increase history size (from 2,000)
set -g set-clipboard on # use system clipboard
set -g status-position top # macOS / darwin style
# Set true color
set-option -sa terminal-overrides ",xterm*:Tc"
# set vi mode
set-window-option -g mode-keys vi
# Set prefix
@jmacqueen
jmacqueen / alacritty.toml
Created November 4, 2024 21:03
My Alacritty conf
[window]
opacity = 1
decorations = "None"
option_as_alt = "OnlyLeft"
[font]
size = 16.0
normal = { family = "BerkeleyMono Nerd Font", style = "Regular" }
bold = { family = "BerkeleyMono Nerd Font", style = "Bold" }
italic = { family = "BerkeleyMono Nerd Font", style = "Italic" }