Install the OpenSSL on Debian based systems
sudo apt-get install openssl| #!/bin/zsh | |
| KEEP_FORMULAS=(asdf bat fd fzf git htop httpie hub iftop jq ncdu neovim p7zip ruby-build the_silver_searcher tig tmux watch yq z zsh) | |
| declare -A visited_formulas | |
| for formula ($KEEP_FORMULAS); do | |
| echo "Keeping $formula" | |
| visited_formulas[$formula]=1 | |
| done |
Export your public key:
keybase pgp export > keybase-public.key
Export your private key:
keybase pgp export --secret > keybase-private.key
In open Ubuntu 18.04 machine click Parallels Actions -> "Install Parallels Tools"
A "Parallels Tools" CD will popup on your Ubuntu desktop.
Open it by double mouse click, copy all the content to a new, empty directory on a desktop, name it for e.g. "parallels_fixed"
Open terminal, change directory to parallels_fixed (cd ~/Desktop/parallels_fixed)
Make command line installer executable (chmod +x install)
Change directory to "installer" (cd installer)
Make few other scripts executable: chmod +x installer.* *.sh prl_*
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
| // Assuming Kotlin plugin is applied... | |
| // Run as: ./gradlew kotlinRepl --console plain --no-daemon | |
| val kotlinRepl by tasks.creating { | |
| description = "Starts Kotlin REPL with compiled main classes and runtime classpath" | |
| val mainSourceSet = java.sourceSets["main"] | |
| dependsOn(mainSourceSet.output) | |
| doFirst { | |
| val buildscriptClasspath = rootProject.buildscript.configurations["classpath"] |
| variables: | |
| REVIEW_APP_NAME: "$CI_COMMIT_REF_SLUG-$CI_PROJECT_NAME" | |
| stages: | |
| - build | |
| - review | |
| - deploy | |
| build: | |
| stage: build |
| require 'sidekiq/api' | |
| # 1. Clear retry set | |
| Sidekiq::RetrySet.new.clear | |
| # 2. Clear scheduled jobs | |
| Sidekiq::ScheduledSet.new.clear |