diff --git a/~/Binary/.gitignore b/~/Binary/.gitignore new file mode 100644 index 0000000..81d0cfc --- /dev/null +++ b/~/Binary/.gitignore @@ -0,0 +1,2 @@ +/lib +shard.lock diff --git a/~/Binary/README.md b/~/Binary/README.md new file mode 100644 index 0000000..0853ed5 --- /dev/null +++ b/~/Binary/README.md @@ -0,0 +1,14 @@ +**My binary files in `$HOME/.bin/`** + + ----------------- ------------------------------------------------------------------ ----------------------------------------------------------------------------- ---------- +| Binary name | Software Name | Home Link | Language | +|-----------------|------------------------------------------------------------------|-----------------------------------------------------------------------------|----------| +| ec | editorconfig-checker | [Follow link](https://github.com/editorconfig-checker/editorconfig-checker) | Go | +| git-ahead-check | A tool for checking changes that have not been sent in Git repos | [Follow link](https://git.a2s.su/iiiypuk/git-ahead-check) | Crystal | +| hugo | The world’s fastest framework for building websites | [Follow link](https://gohugo.io/) | Go | +| magick | ImageMagick | [Follow link](https://imagemagick.org/script/index.php) | C | +| minify-html | Extremely fast and smart HTML + JS + CSS minifier | [Follow link](https://github.com/wilsonzlin/minify-html/) | Rust | +| pfetch | penguin A pretty system information tool written in POSIX sh | [Follow link](https://github.com/dylanaraps/pfetch) | Shell | +| pmng | The very simple password manager for humans | [Follow link](https://git.a2s.su/iiiypuk/pmng) | Crystal | + +For generate this doc, use `crystal run generate_table.cr > README.md`. diff --git a/~/Binary/generate_table.cr b/~/Binary/generate_table.cr new file mode 100644 index 0000000..634e696 --- /dev/null +++ b/~/Binary/generate_table.cr @@ -0,0 +1,29 @@ +require "tallboy" + +def link_generate(link) + return "[Follow link](#{link})" +end + +table = Tallboy.table do + header ["Binary name", "Software Name", "Home Link", "Language"] + row ["ec", "editorconfig-checker", + link_generate("https://github.com/editorconfig-checker/editorconfig-checker"), "Go"] + row ["git-ahead-check", "A tool for checking changes that have not been sent in Git repos", + link_generate("https://git.a2s.su/iiiypuk/git-ahead-check"), "Crystal"] + row ["hugo", "The world’s fastest framework for building websites", + link_generate("https://gohugo.io/"), "Go"] + row ["magick", "ImageMagick", + link_generate("https://imagemagick.org/script/index.php"), "C"] + row ["minify-html", "Extremely fast and smart HTML + JS + CSS minifier", + link_generate("https://github.com/wilsonzlin/minify-html/"), "Rust"] + row ["pfetch", "penguin A pretty system information tool written in POSIX sh", + link_generate("https://github.com/dylanaraps/pfetch"), "Shell"] + row ["pmng", "The very simple password manager for humans", + link_generate("https://git.a2s.su/iiiypuk/pmng"), "Crystal"] +end + +puts "**My binary files in `$HOME/.bin/`**" +puts +puts table.render(:markdown) +puts +puts "For generate, use `crystal run generate_table.cr > README.md`" diff --git a/~/Binary/shard.yml b/~/Binary/shard.yml new file mode 100644 index 0000000..b2df089 --- /dev/null +++ b/~/Binary/shard.yml @@ -0,0 +1,11 @@ +name: home_binary +version: 1.0.0 + +authors: + - Alexander Popov + +dependencies: + tallboy: + github: epoch/tallboy + +license: MIT-0