Convenient scripts and configuration files meant for quick setup on a new machine.
This script will pre-pend a block of code to your existing ~/.bash_aliases
file to define new aliases without overwriting existing ones. It will create this file if it doesn't exist, and for macOS, will make ~/.bash_profile
source it if it doesn't already do so.
python aliases/add_aliases.py
Use the -h
flag to learn about what args each script needs.
replace_all_in_file.py
- can be called usingrepall
alias added by this repo. Given a file, replaces all occurrences ofstr1
withstr2
.default_scp.py
- can be called usingdscp
alias added by this repo. Executesscp
command on using your favorite remote host so you don't have to keep writing it out (must export$DEFAULT_REMOTE_HOST
).video2gif.py
- converts video to gif (useful for Google Slides)speedup_video.py
- creates faster copy of video (removes sound)count.py
- just prints out numbers fromint1
toint2
each on a new line (OK not too useful, but sometimes useful when composing repetitive commands in a text editor)
- Jumpcut
- Rectangle
- Mini-Calendar
- iTerm
- Sublime Text
- PyCharm
- Chrome
- Handbrake
- Karabiner-Elements