Skip to content

Instantly share code, notes, and snippets.

@davidsf
davidsf / gist:8c8a01341e7acceaf7d8855427c6c74b
Created January 30, 2020 17:11
Downgrade java version
apt-get purge openjdk-8-jre-headless
wget https://launchpad.net/~openjdk-r/+archive/ubuntu/security-deletedppa/+build/16691000/+files/openjdk-8-jre-headless_8u212-b03-0ubuntu1.16.04.1_amd64.deb
apt-get install ca-certificates-java
dpkg -i openjdk-8-jre-headless_8u212-b03-0ubuntu1.16.04.1_amd64.deb
@davidsf
davidsf / get_all_versions.sh
Last active October 8, 2020 16:32
Get all versions of a file in a repo
#!/bin/bash
# we'll write all git versions of the file to this folder:
EXPORT_TO=/tmp/all_versions_exported
# take relative path to the file to inspect
GIT_PATH_TO_FILE=$1
# ---------------- don't edit below this line --------------