I hereby claim:
- I am gavvvr on github.
- I am gavvvr (https://keybase.io/gavvvr) on keybase.
- I have a public key ASBVdAscFthlk-FsN7qXMK_99KVss6R_cLAwh1W10lE4Wgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
brew install openconnect
sudo openconnect vpn.domain.com -u [email protected] --authgroup=VPN-SSL-GROUP
If you have issues with DNS resolution (even though your /ect/resolv.conf
looks good), configure DNS servers manually:
#!/bin/bash | |
minikube start --vm-driver=hyperkit --kubernetes-version=v1.9.3 --bootstrapper=kubeadm |
If you prefer using SDKMAN!
for having Java installed on your Mac and recieve the following message:
you need to install the legacy Java SE 6 runtime
You should open /Applications/AnypointStudio.app/Contents/Eclipse/AnypointStudio.ini
and explicitly add path to your JVM using -vm
option, i.e.:
-vm
/Users/user/.sdkman/candidates/java/8.0.181-zulu/bin/java
It is hard to make Eclipse-based apps to work on Max OS X if you do not have Oracle Java installed. Usually you get an error like this:
To open X you need to install the legacy java se 6 runtime
Liberica JDK fixes running Eclipse-based apps on Mac OS. So, you can install tools like DBeaver or SpringToolsSuite from command line without need to modify eclipse.ini or any other files.
netstat -antp 2>&1 | sort -k7,7 -k 6,6| { | |
while IFS= read -r line | |
do p="$(sed -En 's/^.*( [0-9]+)\/[^ ]*.*/\1/gp'<<<"$line")"; | |
[ "$p" == "" ] || p=" ## $(ps -p $p -o cmd=)"; | |
echo "$line"$p; | |
done | |
} |
Svn repos often have binary files and secrets committed. This data should not get to target Git repository.
To migrate Svn repo to git I have the following workflow:
echo 'basiclite sdk sqlplus' | tr ' ' '\n' | xargs -P 3 -I{} \
sh -c "wget -O {}.zip \
https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-{}-linux.x64-19.8.0.0.0dbru.zip \
&& unzip {}.zip -d $CLIENT_PATH && rm {}.zip"
I used this command to add a content of multiple archives from the Internet within single RUN
step in Dockerfile
which will lead to only one new layer.
RUBY_VERSION=2.7.1 | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.0 | |
. $HOME/.asdf/asdf.sh | |
asdf plugin install ruby | |
sudo apt install -y build-essential libssl-dev zlib1g-dev | |
asdf install ruby $RUBY_VERSION | |
asdf global ruby $RUBY_VERSION |