- Install
qpdf
brew install qpdf
- To replace contents of PDF run
vim scp://user@myserver[:port]//path/to/file.txt | |
# also works when you set a custom name in ~/.ssh/config; | |
# e.g. edit a file on raspberry pi | |
nvim scp://pi/pythonScripts/timetable.py |
:TSLspRenameFile
For more information see nvim-lsp-ts-utils
#!/bin/bash | |
JIRA_BASE_URL="https:\/\/your.jira.com\/browse\/" | |
# --follow lists all commits for the particular file, even through renames | |
# %B is short for commit subject line + body | |
COMMIT_MESSAGES=$(git log --pretty=format:%B --follow -- $1) | |
# matches Jira issue keys, e.g. JIRA-123 | |
PATTERN='([[:upper:]]+-[[:digit:]]+)' |
#!/bin/bash | |
git log --extended-regexp --grep="JIRA-[[:digit:]]+" --pretty="format:%h %ar %n >>%s<< %n" | |
# %h = commit ID short | |
# %ar = date | |
# %s = subject line | |
# %n = newline |