From 5eb6706c8747fdf7d9fa661ae70a85599d344d60 Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 10:27:13 +0200 Subject: [PATCH 01/11] Changed brew cask installs to new format --- scripts/setup/brew.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/setup/brew.sh b/scripts/setup/brew.sh index f5c58bf..a29c664 100755 --- a/scripts/setup/brew.sh +++ b/scripts/setup/brew.sh @@ -90,7 +90,7 @@ for brew in "${_DEV_LIBRARIES[@]}"; do done _info "Installing fonts..." -brew cask install font-hack-nerd-font || error "failed installing fonts" +brew install --cask font-hack-nerd-font || error "failed installing fonts" _info "Installing dev tool casks..." _DEV_CASKS=( @@ -106,7 +106,7 @@ _DEV_CASKS=( ) for cask in "${_DEV_CASKS[@]}"; do _info "installing $cask" - brew cask install "$cask" || error "failed brew cask install $cask" + brew install --cask "$cask" || error "failed brew install --cask $cask" done _info "Installing misc casks..." @@ -142,7 +142,7 @@ _MISC_CASKS=( ) for cask in "${_MISC_CASKS[@]}"; do _info "installing $cask" - brew cask install "$cask" || error "failed brew cask install $cask" + brew install --cask "$cask" || error "failed brew install --cask $cask" done _info "Installing quick look plugins..." @@ -156,7 +156,7 @@ _PLUGINS=( ) for cask in "${_PLUGINS[@]}"; do _info "installing $cask" - brew cask install "$cask" || error "failed brew cask install $cask" + brew install --cask "$cask" || error "failed brew install $cask" done ############################################################################### From da5d37037337f01062df654c66f3d37ce3bc3aae Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 10:44:31 +0200 Subject: [PATCH 02/11] Changed zoomus cask to zoom --- scripts/setup/brew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup/brew.sh b/scripts/setup/brew.sh index a29c664..3504622 100755 --- a/scripts/setup/brew.sh +++ b/scripts/setup/brew.sh @@ -138,7 +138,7 @@ _MISC_CASKS=( ticktick tunnelblick whatsapp - zoomus + zoom ) for cask in "${_MISC_CASKS[@]}"; do _info "installing $cask" From 8344ccb91876f1fef83c71df9a949788b0586300 Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 10:46:23 +0200 Subject: [PATCH 03/11] Changed path to Dracula.itermcolors --- scripts/setup/brew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup/brew.sh b/scripts/setup/brew.sh index 3504622..05302db 100755 --- a/scripts/setup/brew.sh +++ b/scripts/setup/brew.sh @@ -21,7 +21,7 @@ _info "Installing antibody..." curl -sfL git.io/antibody | sh -s - -b /usr/local/bin _info "Installing the Tomorrow Night theme for iTerm (opening file)" -open "./themes/Dracula.itermcolors" && _ok "" +open "./config/iTerm2/Dracula.itermcolors" && _ok "" _info "Setting ZSH as the default shell environment" sudo sh -c "echo $(which zsh) >> /etc/shells" From 0e2d1b7a1be7a698d65de2ac4194093aa97b5bbb Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 11:30:02 +0200 Subject: [PATCH 04/11] Select specific openjdk because of multiple taps --- scripts/setup/brew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup/brew.sh b/scripts/setup/brew.sh index 05302db..9731901 100755 --- a/scripts/setup/brew.sh +++ b/scripts/setup/brew.sh @@ -94,7 +94,7 @@ brew install --cask font-hack-nerd-font || error "failed installing fonts" _info "Installing dev tool casks..." _DEV_CASKS=( - adoptopenjdk8 + adoptopenjdk/openjdk/adoptopenjdk8 chromedriver insomnia intellij-idea From 688f5acfb5df93bdb7264c934ae696bf6a358944 Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 13:38:35 +0200 Subject: [PATCH 05/11] Changed mas to work for first-time installs --- scripts/setup/brew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup/brew.sh b/scripts/setup/brew.sh index 9731901..cade882 100755 --- a/scripts/setup/brew.sh +++ b/scripts/setup/brew.sh @@ -178,7 +178,7 @@ gem install --user-install jekyll || _error "failed gem install jekyll" # Mac App Store # ############################################################################### _info "Installing apps from App Store..." -mas install 497799835 || _error "failed mas install Xcode" # Xcode +mas purchase 497799835 || _error "failed mas install Xcode" # Xcode ############################################################################### # Other apps # From b2a93d31f94e2e13b8f928f35d3ea5ac416d3d5a Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 14:16:31 +0200 Subject: [PATCH 06/11] Added docker cask to dev casks --- scripts/setup/brew.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/setup/brew.sh b/scripts/setup/brew.sh index cade882..cfea94f 100755 --- a/scripts/setup/brew.sh +++ b/scripts/setup/brew.sh @@ -103,6 +103,7 @@ _DEV_CASKS=( robo-3t visual-studio-code webstorm + docker ) for cask in "${_DEV_CASKS[@]}"; do _info "installing $cask" From 5fc9951b643f7bf7be2974dc3603ddc992527560 Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 14:56:25 +0200 Subject: [PATCH 07/11] Added DOTFILES and USER_PATH variables, Improved fzf-script-launcher --- config/zsh/env.zsh | 10 ++++++---- config/zsh/functions.zsh | 4 ++-- scripts/chmod-x-scripts.sh | 4 ++-- scripts/daily/_cronjob.sh | 12 ++++++------ scripts/daily/rebuild-github-pages.sh | 2 +- scripts/kodify/kodify.py | 7 +++---- scripts/pdf/_cronjob-get-pdfs.sh | 4 ++-- scripts/shellcheck-scripts.sh | 4 ++-- 8 files changed, 24 insertions(+), 23 deletions(-) diff --git a/config/zsh/env.zsh b/config/zsh/env.zsh index 9c95c0f..455b7a3 100755 --- a/config/zsh/env.zsh +++ b/config/zsh/env.zsh @@ -5,6 +5,8 @@ export EDITOR='code' export VISUAL='nano' # set to nano to edit crontabs export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home" export TERM="xterm-256color" +export USER_PATH="/Users/saltukkezer" +export DOTFILES_PATH="$USER_PATH/dev/dotfiles" # PATHS # Set ruby installed by Homebrew first in your PATH @@ -14,7 +16,7 @@ export PATH="${PATH}:/usr/local/opt/findutils/libexec/gnubin" export PATH="${PATH}:/usr/local/opt/grep/libexec/gnubin" export PATH="${PATH}:/usr/local/opt/bc/bin" export PATH="${PATH}:/usr/local/opt/fzf/bin" -export PATH="${PATH}:/Users/longdo/.gem/ruby/2.7.0/bin" -export PATH="${PATH}:/Users/longdo/.local/bin" -export PATH="${PATH}:/Users/longdo/repos/flutter/bin" -export PATH="$HOME/.jenv/bin:$PATH" +export PATH="${PATH}:$USER_PATH/.gem/ruby/3.0.0/bin" +export PATH="${PATH}:$USER_PATH/.local/bin" +export PATH="${PATH}:$USER_PATH/repos/flutter/bin" +export PATH="$HOME/.jenv/bin:$PATH" \ No newline at end of file diff --git a/config/zsh/functions.zsh b/config/zsh/functions.zsh index 26681c5..5ad13e0 100644 --- a/config/zsh/functions.zsh +++ b/config/zsh/functions.zsh @@ -94,12 +94,12 @@ jj() { # CTRL-X fzf-script-launcher() { - SCRIPTS_PATH='/Users/longdo/dev/dotfiles/scripts/' + SCRIPTS_PATH="$DOTFILES_PATH/scripts/" allfiles=$(rg -t sh --files $SCRIPTS_PATH) # filteredfiles=$(echo $allfiles | grep -v "_templates/\|setup/") # cutpaths=$(echo $filteredfiles | cut -c 36-) - cutpaths=$(echo $allfiles | cut -c 36-) + cutpaths=$(echo $allfiles | cut -c $(( ${#SCRIPTS_PATH} + 1 ))-) local selected if selected=$(echo $cutpaths | fzf --height 40% --preview "bat --style=grid --color=always '$SCRIPTS_PATH{}'" -q "$LBUFFER"); then diff --git a/scripts/chmod-x-scripts.sh b/scripts/chmod-x-scripts.sh index 4b29c6c..1dcc283 100755 --- a/scripts/chmod-x-scripts.sh +++ b/scripts/chmod-x-scripts.sh @@ -5,8 +5,8 @@ # Log Helper _ok() { echo -e "\033[32m[OK]\033[0m $1" ; } -_SCRIPTS_PATH='/Users/longdo/dev/dotfiles/scripts/' +_SCRIPTS_PATH="$DOTFILES_PATH/scripts/" -for script in $(rg -t sh --files $_SCRIPTS_PATH); do +for script in $(rg -t sh --files "$_SCRIPTS_PATH"); do [[ $(stat -f "%OLp" "$script") == '644' ]] && chmod +x "$script" && _ok "$script" done diff --git a/scripts/daily/_cronjob.sh b/scripts/daily/_cronjob.sh index 743fc3a..7063adb 100755 --- a/scripts/daily/_cronjob.sh +++ b/scripts/daily/_cronjob.sh @@ -3,9 +3,9 @@ # Script which is running daily with crontab # # > Add following line to crontab: -# 30 23 * * * /Users/longdo/dev/dotfiles/scripts/daily/_cronjob.sh >/tmp/stdout.log 2>/tmp/stderr.log +# 30 23 * * * $DOTFILES_PATH/scripts/daily/_cronjob.sh >/tmp/stdout.log 2>/tmp/stderr.log -export PATH='/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/longdo/.local/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/bc/bin:/usr/local/opt/fzf/bin:/Users/longdo/.gem/ruby/2.7.0/bin:/Users/longdo/.local/bin' +export PATH="/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$USER_PATH/.local/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/bc/bin:/usr/local/opt/fzf/bin:$USER_PATH/.gem/ruby/3.0.0/bin:$USER_PATH/.local/bin" # Log Helper _info() { echo -e "\033[33m[INFO]\033[0m $1" ; } @@ -14,15 +14,15 @@ date _info "Running backup.sh" # Answer every mackup prompt for overwriting with 'yes' when running backup.sh -yes | /Users/longdo/dev/dotfiles/scripts/daily/backup.sh +"$DOTFILES_PATH"/scripts/daily/backup.sh _info "Running update.sh" -/Users/longdo/dev/dotfiles/scripts/daily/update.sh +"$DOTFILES_PATH"/scripts/daily/update.sh _info "Running cleanup.sh" -/Users/longdo/dev/dotfiles/scripts/daily/cleanup.sh +"$DOTFILES_PATH"/scripts/daily/cleanup.sh _info "Running rebuild-github-pages.sh" -/Users/longdo/dev/dotfiles/scripts/daily/rebuild-github-pages.sh +"$DOTFILES_PATH"/scripts/daily/rebuild-github-pages.sh # TODO send mail on error log diff --git a/scripts/daily/rebuild-github-pages.sh b/scripts/daily/rebuild-github-pages.sh index 5bf493a..cbcd626 100755 --- a/scripts/daily/rebuild-github-pages.sh +++ b/scripts/daily/rebuild-github-pages.sh @@ -6,7 +6,7 @@ _ok() { echo -e "\033[32m[OK]\033[0m $1" ; } # Load GITHUB_TOKEN from .env -export "$(grep -E -v '^#' "/Users/longdo/dev/dotfiles/.env" | xargs)" +export "$(grep -E -v '^#' "$DOTFILES_PATH.env" | xargs)" # Declare repositories, where new build should be triggered declare -a _repositories=("longpdo.github.io" "neumorphism") diff --git a/scripts/kodify/kodify.py b/scripts/kodify/kodify.py index fcf6df6..eb03844 100644 --- a/scripts/kodify/kodify.py +++ b/scripts/kodify/kodify.py @@ -5,11 +5,10 @@ from helpers import os_utils from helpers import mkv_utils - working_dir = os.getcwd() -backup_dir = '/Users/longdo/Downloads/old_macbook/filme/#fertig/#backup/' -mkvmerge_dir = '/Users/longdo/Downloads/old_macbook/filme/#fertig/#mkvmerge/' -output_dir = '/Users/longdo/Downloads/old_macbook/filme/#fertig/#output/' +backup_dir = os.environ['USER_PATH'] + '/Downloads/old_macbook/filme/#fertig/#backup/' +mkvmerge_dir = os.environ['USER_PATH'] + '/Downloads/old_macbook/filme/#fertig/#mkvmerge/' +output_dir = os.environ['USER_PATH'] + '/Downloads/old_macbook/filme/#fertig/#output/' excluded_dirs = {'#backup', '#mkvmerge', '#output'} diff --git a/scripts/pdf/_cronjob-get-pdfs.sh b/scripts/pdf/_cronjob-get-pdfs.sh index ffddfe5..5505955 100755 --- a/scripts/pdf/_cronjob-get-pdfs.sh +++ b/scripts/pdf/_cronjob-get-pdfs.sh @@ -3,9 +3,9 @@ # Script which is running every 30 minutes # # > Add following line to crontab: -# */30 * * * * /Users/longdo/dev/dotfiles/scripts/pdf/_cronjob-get-pdfs.sh +# */30 * * * * $DOTFILES_PATH/scripts/pdf/_cronjob-get-pdfs.sh -export PATH='/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/longdo/.local/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/bc/bin:/usr/local/opt/fzf/bin:/Users/longdo/.gem/ruby/2.7.0/bin:/Users/longdo/.local/bin' +export PATH="/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$USER_PATH/.local/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/bc/bin:/usr/local/opt/fzf/bin:$USER_PATH/.gem/ruby/3.0.0/bin:$USER_PATH/.local/bin" _PDF_PATH="$HOME/Documents/broker/" _WATCH_FOLDER_PATH="$HOME/Dropbox/Trade.Republic/" diff --git a/scripts/shellcheck-scripts.sh b/scripts/shellcheck-scripts.sh index 8c040bc..68538a5 100755 --- a/scripts/shellcheck-scripts.sh +++ b/scripts/shellcheck-scripts.sh @@ -2,8 +2,8 @@ # Analyse all shell scripts with ShellCheck -_SCRIPTS_PATH='/Users/longdo/dev/dotfiles/scripts/' +_SCRIPTS_PATH="$DOTFILES_PATH/scripts/" -for script in $(rg -t sh --files $_SCRIPTS_PATH); do +for script in $(rg -t sh --files "$_SCRIPTS_PATH"); do shellcheck "$script" done From 280c26e3549a709289867776d36a49da92964222 Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 15:06:18 +0200 Subject: [PATCH 08/11] Added shellcheck and postman casks --- scripts/setup/brew.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/setup/brew.sh b/scripts/setup/brew.sh index cfea94f..0684854 100755 --- a/scripts/setup/brew.sh +++ b/scripts/setup/brew.sh @@ -67,6 +67,7 @@ _BINARIES=( trash wget youtube-dl + shellcheck ) for brew in "${_BINARIES[@]}"; do _info "installing $brew" @@ -104,6 +105,7 @@ _DEV_CASKS=( visual-studio-code webstorm docker + postman ) for cask in "${_DEV_CASKS[@]}"; do _info "installing $cask" From 92a40baa46d53a96b1a61b7904c1b7f07e9acafa Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 15:42:18 +0200 Subject: [PATCH 09/11] Fixed and improved brew-install.sh --- scripts/brew/brew-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/brew/brew-install.sh b/scripts/brew/brew-install.sh index 81c8bc6..914eef6 100755 --- a/scripts/brew/brew-install.sh +++ b/scripts/brew/brew-install.sh @@ -4,7 +4,7 @@ # > Select files with # > Confirm with -_selected=$(brew search | fzf -m) +_selected=$(brew search "$1" | tail -n +2 | fzf -m) if [[ $_selected ]]; then for brew in $_selected; do From 30d00e1a700d44a68e361a6d69a48161e3c5f9b3 Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 19:09:03 +0200 Subject: [PATCH 10/11] Fixed brew-cask and brew-install scripts --- config/zsh/.zshrc | 2 +- scripts/brew/brew-cask.sh | 8 ++++---- scripts/brew/brew-install.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 5e843a8..4c466fe 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -4,4 +4,4 @@ antibody bundle < ~/dev/dotfiles/config/antibody/plugins.txt > ~/dev/dotfiles/config/antibody/plugins.zsh source ~/dev/dotfiles/config/antibody/plugins.zsh -for file in ~/dev/dotfiles/config/zsh/*.zsh; do source $file; done +for file in ~/dev/dotfiles/config/zsh/*.zsh; do source $file; done \ No newline at end of file diff --git a/scripts/brew/brew-cask.sh b/scripts/brew/brew-cask.sh index 003f1f0..4c97e03 100755 --- a/scripts/brew/brew-cask.sh +++ b/scripts/brew/brew-cask.sh @@ -3,18 +3,18 @@ # [I]nstall/[U]ninstall brew casks or open the [H]omepage of the app # > Confirm with -_cask=$(brew search --casks | fzf-tmux --query="$1" +m --preview 'brew cask info {}') +_cask=$(brew casks | tail -n +2 | fzf-tmux --query="$1" +m --preview 'brew info --cask {}') if [ "x$_cask" != "x" ]; then echo "(I)nstall, (U)ninstall or open the (h)omepage of $_cask" read -r input if [ "$input" = "i" ] || [ "$input" = "I" ]; then - brew cask install "$_cask" + brew install --cask "$_cask" fi if [ "$input" = "u" ] || [ "$input" = "U" ]; then - brew cask uninstall "$_cask" + brew uninstall --cask "$_cask" fi if [ "$input" = "h" ] || [ "$input" = "H" ]; then - brew cask home "$_cask" + brew home --cask "$_cask" fi fi diff --git a/scripts/brew/brew-install.sh b/scripts/brew/brew-install.sh index 914eef6..8fe22a9 100755 --- a/scripts/brew/brew-install.sh +++ b/scripts/brew/brew-install.sh @@ -4,7 +4,7 @@ # > Select files with # > Confirm with -_selected=$(brew search "$1" | tail -n +2 | fzf -m) +_selected=$(brew formulae | fzf -m) if [[ $_selected ]]; then for brew in $_selected; do From ef1015cd14f94a078ff7357e5fd34df76c8fdce3 Mon Sep 17 00:00:00 2001 From: Ducane Date: Mon, 16 Aug 2021 19:54:32 +0200 Subject: [PATCH 11/11] Added java switching functionality --- config/zsh/alias.zsh | 1 + config/zsh/env.zsh | 5 +++-- config/zsh/functions.zsh | 12 ++++++++++++ scripts/setup/brew.sh | 1 + 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/config/zsh/alias.zsh b/config/zsh/alias.zsh index c819b29..77609ea 100644 --- a/config/zsh/alias.zsh +++ b/config/zsh/alias.zsh @@ -38,6 +38,7 @@ alias ca='convert_audio_flac_to_aac_vbr_5' alias cdf='cd_to_current_finder_window' alias gh='git_open_repo_in_browser' alias j='z' +alias sj='java_version_selection' alias mi='mediainfo' alias mkd='create_dir_and_cd_to_it' alias update='update_all_and_cleanup' diff --git a/config/zsh/env.zsh b/config/zsh/env.zsh index 455b7a3..7e49771 100755 --- a/config/zsh/env.zsh +++ b/config/zsh/env.zsh @@ -3,7 +3,7 @@ # VARIABLES export EDITOR='code' export VISUAL='nano' # set to nano to edit crontabs -export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home" +export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) export TERM="xterm-256color" export USER_PATH="/Users/saltukkezer" export DOTFILES_PATH="$USER_PATH/dev/dotfiles" @@ -19,4 +19,5 @@ export PATH="${PATH}:/usr/local/opt/fzf/bin" export PATH="${PATH}:$USER_PATH/.gem/ruby/3.0.0/bin" export PATH="${PATH}:$USER_PATH/.local/bin" export PATH="${PATH}:$USER_PATH/repos/flutter/bin" -export PATH="$HOME/.jenv/bin:$PATH" \ No newline at end of file +export PATH="$HOME/.jenv/bin:$PATH" +export PATH=$JAVA_HOME/bin:$PATH \ No newline at end of file diff --git a/config/zsh/functions.zsh b/config/zsh/functions.zsh index 5ad13e0..a0f4d36 100644 --- a/config/zsh/functions.zsh +++ b/config/zsh/functions.zsh @@ -42,6 +42,18 @@ function open_arg_in_vs_code { open -a "Visual Studio Code" "$argPath" } +function java_environment_change() { + export JAVA_HOME=$(/usr/libexec/java_home -v $argv) + export PATH=$JAVA_HOME/bin:$PATH + launchctl setenv JAVA_HOME $JAVA_HOME + java -version +} + +function java_version_selection() { + _selected=$(/usr/libexec/java_home -V 2>&1 | grep -Eo "\d+.\d.\d" | fzf +m) + java_environment_change $_selected +} + # Open File in vscode of() { local file diff --git a/scripts/setup/brew.sh b/scripts/setup/brew.sh index 0684854..f19fba6 100755 --- a/scripts/setup/brew.sh +++ b/scripts/setup/brew.sh @@ -96,6 +96,7 @@ brew install --cask font-hack-nerd-font || error "failed installing fonts" _info "Installing dev tool casks..." _DEV_CASKS=( adoptopenjdk/openjdk/adoptopenjdk8 + adoptopenjdk/openjdk/adoptopenjdk11 chromedriver insomnia intellij-idea