Skip to content

Instantly share code, notes, and snippets.

View estherjk's full-sized avatar

Esther Jun Kim estherjk

View GitHub Profile
@estherjk
estherjk / !caffeinate-mac-on-startup.md
Last active December 28, 2023 15:45
Caffeinate on startup

Caffeinate Mac on startup

Keep your mac awake (indefinitely) with caffeinate! Learn more about launchd.

Copy plist file to the user agents directory:

cp local.startup.caffeinate.plist ~/Library/LaunchAgents/
@estherjk
estherjk / esther.zsh-theme
Created December 28, 2023 15:38
Custom oh-my-zsh theme
# Modified robbyrussell theme w/ hostname
# Change hostname color to green for ssh connections
local hostname
if [[ -n $SSH_CONNECTION ]]; then
hostname="%{$fg_bold[green]%}%m"
else
hostname="%{%B$FG[250]%}%m"
fi
@estherjk
estherjk / !rbenv-on-macos-m1.md
Created November 21, 2021 18:05
rbenv on macOS (M1 Chip)

rbenv on macOS (M1 Chip)

Installing a specific Ruby version

# Configure Ruby parameters 
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
export RUBY_CFLAGS="-Wno-error=implicit-function-declaration"

# Install desired version
@estherjk
estherjk / !dell-xps-15-7590-ubuntu-dual-boot.md
Last active December 13, 2023 12:42
Dell XPS 15 7590 Ubuntu Dual Boot

Dell XPS 15 7590 Ubuntu Dual Boot

From Windows

Updating Windows

Make sure you have the latest Windows & Dell updates. Go to Settings > Updates & Security > Check For Updates.

Turning off BitLocker

@estherjk
estherjk / _uxr-heatmap.md
Last active November 6, 2015 23:33
Visualizing usability data with a heat map in R

This example shows how to create a heat map in R to visualize task success data.