Commit Graph

75 Commits

Author SHA1 Message Date
MorganGeek
90b0df7a17 feature: (wip) code simplifications suggestions
the purpose is to suggest refactoring opportunities in a given shellscript.
some features would be :
- Increase KISS / YAGNI
- Remove code duplication / repetition
- Improve code consistency / redability
- Reduce LOC :-) (lines of code)
- Encourage reuse of aliases
2020-07-14 15:22:06 +02:00
MorganGeek
b57a7bb8ff feature: website to spy on torrent downloaders 2020-07-14 15:20:03 +02:00
MorganGeek
e5469f5aa8 feature: bash substring f(x) for textual input 2020-07-14 15:18:57 +02:00
MorganGeek
061b1e4672 create epub2pdf conversion fn(x) 2020-07-14 10:35:29 +02:00
MorganGeek
56702d74f7 helper to list invalid filenames in manuals/readme
- Helper name is `invalid_file_refs` and can be used like this :
  `invalid_file_refs README.*`
- Given a document (readme, manual...) containing file names, the script
  will attempt to identify what file names are either not referenced in
  the source code, or missing in the project, thus helping to detect
  some potentials issues.
- Example of issue detected by this tool : the README.md
  mentions a `config.yaml` while the application would search for `config.yml`.
  Because of this mistake, the user might struggle to make the application work.
2020-07-13 16:19:08 +02:00
MorganGeek
5c464f6128 remove extra " and silent useless grep output 2020-07-13 16:18:58 +02:00
MorganGeek
816fdb8d9b helpers for capturing command outputs 2020-07-13 16:17:33 +02:00
MorganGeek
1cf76dee6f Reorganize functions by scope
- Reorganize functions by categories
- Apply some best practices for shell scripting
2020-07-13 07:13:23 +02:00
MorganGeek
0b3d06a3f9 move reusable code bricks to aliases/functions
- new aliases to be used in pipes
2020-07-12 22:55:16 +02:00
MorganGeek
acfe778c4e create gitignore fetcher :-)
- use the information available on GitHub to download gitignore files
  and add them to the current repo. Any important gitignore file is one
  command invocation away now :-) ... like "gitignorefor terraform" for
  instance.
2020-07-12 17:54:06 +02:00
MorganGeek
60cee5b38a ansible/blog aliase + improve UX for some functions
- improve behavior of clone function to show more output
- add alias for going ti blog editing mode
- aliases for ansible ad-hoc command invocation
2020-07-12 17:50:17 +02:00
MorganGeek
3a3fc30b8c fix technical debt + fine tune functions and hooks
- linting/fixing/formating
- utility for suggesting aliases now accepts parameters to change output
  size
- add helper to checkci
- add verify committer script to avoid committer with wrong git identify
2020-07-12 16:22:17 +02:00
MorganGeek
336aaa2729 performance and ui improvements
- better alias recommendation UI.
- add function to randomly execute whatever function/alias is passed as
argument.
- the default jira check executed when opening a session will now only
  occurs 1/10 times.
2020-07-12 10:20:12 +02:00
MorganGeek
4002d62840 vars/aliases for confluence/trello/browser 2020-07-11 23:30:48 +02:00
MorganGeek
228982a0a8 add linters and refactor bootstraping scripts
- giant refactoring
- add aliases and functions to ease work
- apply linters / fixers / fmt to most files
2020-07-11 12:31:06 +02:00
MorganGeek
1bbe0e985a update toploc to show only top 50 results 2020-07-09 07:42:09 +02:00
MorganGeek
056fc58616 git aliases for pushing branches 2020-07-08 17:09:19 +02:00
MorganGeek
f0aa65ef56 add filtering for top commands output 2020-07-08 16:59:29 +02:00
MorganGeek
86709fa128 manage bookmarks additions via cli 2020-07-08 12:10:02 +02:00
MorganGeek
d7ff4f74fa terraform tools, git aliases, ctrl-c in cli, ... 2020-07-08 11:16:34 +02:00
MorganGeek
c6ae66c57d aliases for git diff and text parsing 2020-07-07 15:19:29 +02:00
MorganGeek
d6ea09d5a5 alias / functions for managing my time off 2020-07-06 20:03:34 +02:00
MorganGeek
7d707dad27 don't enable pre-commit hooks on collibra repos 2020-07-06 16:43:26 +02:00
MorganGeek
fa26428098 trim line ending spaces for history output 2020-07-03 08:13:38 +02:00
MorganGeek
0730b2f039 add aliases inspired
- inspired partially by
  https://github.com/sapegin/dotfiles/blob/master/zsh/aliases.zsh
2020-07-03 06:22:30 +02:00
MorganGeek
7e645f19cb replace basic with colored messages formatting 2020-07-02 16:51:30 +02:00
MorganGeek
2eaee51534 move common functions at the top 2020-07-02 16:31:38 +02:00
MorganGeek
b8963e1609 add shell text formating utilities 2020-07-02 16:27:08 +02:00
MorganGeek
8e48d807d9 git aliases improved + add git backup alias 2020-07-02 15:51:10 +02:00
MorganGeek
4cc74a4069 rss feeds + aliases to manipulate them 2020-06-30 14:22:03 +02:00
MorganGeek
1d378225a5 fix clone function behavior with public urls 2020-06-30 11:09:26 +02:00
MorganGeek
7c1f1f8bf2 jenkins pre-commit-hooks + aliases for git+brew 2020-06-29 13:34:06 +02:00
MorganGeek
f1e6fe7c0f git alias and ansible-vault hack
- git alias to push to all remote whatever their name is
- ansible-vault hack to print all secret strings from a ansible file
  with a mix of secrets and cleartext informations
2020-06-24 16:59:50 +02:00
MorganGeek
409b3695f8 add bitwarden security aliases 2020-06-24 15:21:13 +02:00
MorganGeek
9e5c369133 secrets, jenkins tricks and productivity
- created jenkins file linter script
- created vim script for validating jenkinsfiles
- adapt all configs to use secrets
- load secrets from hidden file
+ vim script
- tune vim (plugins - icons/fonts/features...)
- new aliases (music, jira, git, ...)
2020-06-24 09:51:04 +02:00
MorganGeek
0fceab1771 sync 2020-06-21 12:38:50 +02:00
MorganGeek
a111ae0168 more git/docker/http CLI friendly tools/aliases
- also thank you Kevin
2020-03-06 12:19:52 +01:00
MorganGeek
081e33143c tuning my dev env with more tools 2020-02-22 16:31:41 +01:00
MorganGeek
1732ed5cd2 enable pre-commit 2020-02-15 15:16:45 +01:00
MorganGeek
e934a93c65 switch to powerlevel10k and install misc utilities 2020-02-08 11:23:45 +01:00
MorganGeek
2e67ecc3cb Improvements :-) ... 2019-12-01 12:03:57 +01:00
Morgan Wattiez
02fa048057 fix spotify alias + add baton spotify cli 2019-11-09 15:31:15 +01:00
Morgan Wattiez
8287ff3499 support kotlin and fix illegal byte sequence 2019-10-22 10:21:06 +02:00
Morgan Wattiez
0058e33cdb helper for getting lines of code stats 2019-10-22 07:57:44 +02:00
Morgan Wattiez
da7abc6e60 fix indentation 2019-10-13 13:24:34 +02:00
Morgan Wattiez
fd746a7dc9 detect titles in page and prepare them for bookmarks 2019-10-13 12:00:14 +02:00
Morgan Wattiez
64c7775fda better search pattern for authors 2019-10-12 16:19:10 +02:00
Morgan Wattiez
80896fcdce improve uloc and replace greppagedate with aboutpage 2019-10-12 16:09:24 +02:00
Morgan Wattiez
c0d07b5dd3 where is a function defined 2019-09-30 13:21:18 +02:00
Morgan Wattiez
f9b88bed52 alias for unique lines of code 2019-09-13 15:42:35 +02:00