Skip to content

d9k/d9k-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,143 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d9k scripts

(and config at /cfg)

Installation

Project uses git submodules

so use

git clone --recurse-submodules git@github.com:d9k/d9k-scripts.git
git config --global diff.submodule log

to install it.

Paths with submodules:

  • submodules
  • cfg/zsh-submodules/*

Update submodules after pull

git submodule update --init --recursive

Markdown Scripts

  • markdown-append-chapter [-c|--clipboard] [TARGET_FILENAME] — Append text fragment from stdin or clipboard to markdown/txt file with fzf selection
  • markdown-commit [FILE_NAME] — Commit changed markdown file with auto-generated message from added headers
  • markdown-fix-header [-c|--clipboard] [-f|--force] — Fix markdown header by detecting URL and generating title via youtube/url processor
  • markdown-from-hh-vacancy.sh VACANCY_URL — Convert hh.ru vacancy page to markdown file
  • markdown-header-from-url [-c|--copy-to-clipboard] [--link] URL — Generate markdown header/link from URL metadata (title, author, site, year)
  • markdown-header-from-youtube [--proxy PROXY_URL] [-l|--link] [-c|--copy-to-clipboard] VIDEO_URL — Generate markdown header/link from YouTube video metadata
  • markdown-headers-added [-s|--short] [FILE_NAME] — Show headers added to markdown files (git diff) in short or full format
  • markdown-headers-decrease-after-subnote-extract.sh FILE_NAME — Preview and apply header level decrease after subnote extraction
  • markdown-headers.sh [-n|--line-number] FILE_PATH — Display markdown headers with optional line numbers from file or vault
  • markdown-image-fileurl FILE — Generate markdown image syntax with file:// URL and copy to clipboard

About

Small bash scripts to speed up everyday tasks

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors