Alacritty is a cross-platform, GPU-accelerated terminal emulator. find out more
Keybinding | Action |
---|---|
Ctrl + - | Zoom Out |
Alacritty is a cross-platform, GPU-accelerated terminal emulator. find out more
Keybinding | Action |
---|---|
Ctrl + - | Zoom Out |
Aerospace is a tiling window manager for macOS similar to i3, find out more here
| Keybinding | Action |
Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry sessionDebugger
#!/bin/bash | |
# Rename all *.txt to *.text | |
for f in *.txt; do | |
mv -- "$f" "${f%.txt}.text" | |
done |
#!/bin/bash | |
chmod 0644 ~/.ssh/id_rsa.pub | |
chmod 0600 ~/.ssh/id_rsa |
#!/bin/bash | |
# Install reflector | |
sudo pacman -S reflector | |
# Update mirrorlist | |
reflector | sudo tee /etc/pacman.d/mirrorlist | |
import time, sys | |
start = time.clock() | |
for x in range(1000): | |
pass | |
end = time.clock() |
# With start time and duration | |
ffmpeg -ss $START -i $INFILE -c copy -map 0 -t $DURATION $OUTFILE | |
# With start time and end time | |
ffmpeg -ss $START -i $INFILE -c copy -map 0 -to $END $OUTFILE |
# Quick Substitution | |
^string1^string2 | |
# Global Substitution | |
!!:gs/string1/string2 |