Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Wow, github such social now

Ivan Muratov binakot

:shipit:
Wow, github such social now
View GitHub Profile
@binakot
binakot / ubuntu-openjdk-ssl-fix.sh
Created Sep 6, 2019
Fix OpenJDK error with SSL: the trustAnchors parameter must be non-empty
View ubuntu-openjdk-ssl-fix.sh
rm -rf /etc/ssl/certs/java/cacerts
update-ca-certificates -f
@binakot
binakot / macos-java-switch.bash
Created May 23, 2019
Aliases for different java version on MacOS
View macos-java-switch.bash
$ touch ~/.bash_profile
$ nano ~/.bash_profile
alias j12="export JAVA_HOME=`/usr/libexec/java_home -v 12`; java -version"
alias j11="export JAVA_HOME=`/usr/libexec/java_home -v 11`; java -version"
alias j10="export JAVA_HOME=`/usr/libexec/java_home -v 10`; java -version"
alias j9="export JAVA_HOME=`/usr/libexec/java_home -v 9`; java -version"
alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version"
alias j7="export JAVA_HOME=`/usr/libexec/java_home -v 1.7`; java -version"
@binakot
binakot / a-virgil-security-tasks-highload2018.py
Last active Nov 12, 2018
The tasks by Virgil Security on HighLoad++ 2018 in Moscow. https://quest.virgilsecurity.com
View a-virgil-security-tasks-highload2018.py
import subprocess
import time
from itertools import product
from string import ascii_lowercase
def brute_force(assumption):
result = subprocess.run(['passw0rd',
'--cfg',
'passw0rd.yml',
You can’t perform that action at this time.