Commit Graph

97 Commits

Author SHA1 Message Date
MorganGeek
923f0ba039 all local changes 2021-06-07 11:51:29 +02:00
MorganGeek
db6430d3df send mail function 2021-06-07 09:57:24 +02:00
MorganGeek
27221b850f checkenremote: improve github readme url detection 2020-07-23 09:47:45 +02:00
MorganGeek
a31870d764 fix parsing of history content
- top_commands_full depends on the history which prefixes some commands
  wiht '*' as the history grows
2020-07-23 09:21:12 +02:00
MorganGeek
91c41d33cb improve my fork workflow
- always go to new copy of the cloned repository after forking it
- always set the local repo user config after the fork
- always check for spelling mistakes in the forked repo readme files
  just in case
2020-07-23 07:32:35 +02:00
MorganGeek
ac7bfb46f8 shortcuts to open vimium/toby browser extensions 2020-07-23 07:30:50 +02:00
MorganGeek
bb0370ae7b function for converting epub to mobi files 2020-07-23 07:30:29 +02:00
MorganGeek
b68120da30 alias for unmuting the current audio device 2020-07-23 07:28:17 +02:00
MorganGeek
f9d012072d new aliases to configure the local repo git user 2020-07-23 07:26:33 +02:00
MorganGeek
447698b826 feature: manage macos sound devices
- installed switchaudio-osx for managing macos sound devices
  e.g : muting a device or switching to a device
- aliases/functions to switch/mute devices
- always mute speakers and switch to headset before running a zoom
  session
- new aliases for starting timeboxed zoom meetings
2020-07-19 15:41:26 +02:00
MorganGeek
34254c50d5 write-good: disable passive voice checks 2020-07-19 12:36:57 +02:00
MorganGeek
5ad4c597fe always copy git hooks, with adapted configs 2020-07-19 12:16:15 +02:00
MorganGeek
cda3324d86 add new text linter + integrate it with vim 2020-07-18 18:19:25 +02:00
MorganGeek
aabb0dadc1 increase text linting in pre-commit, vim etc 2020-07-18 17:51:18 +02:00
MorganGeek
641f25cc99 eat our own dog foot 2020-07-18 16:55:52 +02:00
MorganGeek
a766b96ef1 feature : start zoom and autokill it after x minutes 2020-07-18 10:55:45 +02:00
MorganGeek
b88a574495 feature: fn(x) for forking repos via github 2020-07-17 14:54:47 +02:00
MorganGeek
fa938d9df5 feature: check spelling of remote files via fn(x) 2020-07-17 14:53:14 +02:00
MorganGeek
4befc36c8b readability: remove useless whitespace in echo 2020-07-17 14:52:30 +02:00
MorganGeek
0d24e86401 feature: find non human readable code 2020-07-17 14:51:39 +02:00
MorganGeek
29f4e5ecb1 feature: spelling check function, non interactive 2020-07-15 22:41:03 +02:00
MorganGeek
a85ab418ed improve: decrease rate of errors/false positives
- avoid showing useless results (e.g : alias found himself...)
- better handling of quotes/double quotes/dollars sign in searches, by
  switching to fgrep (thanks to
  https://unix.stackexchange.com/q/32018/220566 for the idea)
2020-07-15 22:15:19 +02:00
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