Skip to content

Instantly share code, notes, and snippets.

View davetrux's full-sized avatar

David Truxall davetrux

View GitHub Profile
@luisciphere
luisciphere / Bootstrap Table CSS
Last active January 31, 2025 15:35
Bootstrap tables only css
.table {
width: 100%;
max-width: 100%;
margin-bottom: 1rem;
}
.table th,
.table td {
padding: 0.75rem;
vertical-align: top;
@mcmoe
mcmoe / java-keytool.md
Last active November 8, 2024 16:42
Creating a keystore and truststore using the Java keytool plus useful check and modification keytool commands

Creating a keystore and exporting its certificate into a new truststore

Create the Keystore and generate a certificate, an example is shown below:

keytool -genkey -alias client -keyalg RSA -keystore client.jks -keysize 2048

Export a certificate from a Keystore:

keytool -export -alias client -file client.crt -keystore client.jks

Import the certificate to a Truststore:

keytool -import -v -trustcacerts -alias client -file client.crt -keystore clienttrust.jks

@ACK-J
ACK-J / ThreatMetrixEndpoints.txt
Last active November 10, 2023 09:16
All endpoints currently known which are used to run ThreatMetrix's invasive data collection scripts
*.caesarscasino.com
*.credit24.com
*.credit24.com.au
*.creditea.com
*.fashionette.de
*.hapipozyczki.pl
*.ideafinancial.com
*.mohegansuncasino.com
*.online-metrix.net
*.qa.threatmetrix.com