This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JDBC Master Slave | |
http://activemq.apache.org/jdbc-master-slave.html | |
A Cassandra backed PersistenceAdapter for ActiveMQ | |
https://github.com/ticktock/qsandra | |
http://www.giuseppeurso.eu/en/activemq-and-the-ssl-transport/ | |
https://memorynotfound.com/spring-boot-embedded-activemq-configuration-example/ | |
http://websystique.com/spring/spring-4-jms-activemq-example-with-annotations/ | |
https://github.com/create1st/spring-batch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failover JDBC | |
https://www.enterprisedb.com/blog/improve-database-resiliency-new-jdbc-connectors-and-edb-failover-manager | |
https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-master-slave-replication-connection.html | |
http://ha-jdbc.org/doc.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/ejurgensen/forked-daapd | |
https://github.com/mycoboco/canary | |
https://github.com/linuxserver/docker-daapd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SSLMutualAuthTest { | |
public static void main(String[] args) { | |
System.out.println("MagicDude4Eva 2-way / mutual SSL-authentication test"); | |
org.apache.log4j.BasicConfigurator.configure(); | |
Logger.getRootLogger().setLevel(Level.INFO); | |
try { | |
String CERT_ALIAS = "myalias", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.docker.com/install/linux/linux-postinstall//#manage-docker-as-a-non-root-user | |
https://docs.docker.com/install/linux/linux-postinstall//#configure-docker-to-start-on-boot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
networks=$(ifconfig|tr A-Z a-z|grep b[a-z]*st|sed -e "s/.*b[a-z]*st[: ]*//;s/ .*//;s#\$#/24#"|grep [0-9]/24) | |
netinfo=$(sudo nmap --min-rate 10000 --max-retries 0 --max-rtt-timeout 250ms -T 5 -n -sn $networks|\ | |
sed -e 's/Nmap scan report for /\$/'|tr '\n' '|'|tr '\$' '\n'|grep MAC|sed -e "s/|.*MAC [A-z]*: */|/;s/ [(].*//") | |
vboxmanage list runningvms|sed -e 's/[^"]{.*//'|tr -d '"'|grep '[A-z]'|while read name ; do | |
macs=$(vboxmanage showvminfo "$name" | grep NIC.*MAC: | awk '{print $4}' | \ | |
sed 's/.\{2\}/&:/g' | sed 's/.\{2\}$//'|tr '\n' '|') | |
printf '%s\n%s\n' "$name" "$netinfo" | egrep -i "($macs$name)" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see also: http://adbshell.com/commands/adb-shell-pm-list-packages | |
# Package manager | |
pm list packages | |
pm list packages -f | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Show all colors | |
for x in {0..8}; do for i in {30..37}; do for a in {40..47}; do | |
echo -ne "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0;37;40m "; | |
done; echo; done; done; | |
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find local repo | |
mvn help:evaluate -Dexpression=settings.localRepository | grep -v '\[INFO\]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://www.northwaysolutions.com/loadrunner-guid-creator/ | |
GUID() | |
{ | |
lr_guid_gen(); | |
lr_message("%s", lr_eval_string("")); | |
lr_message("%s", lr_eval_string("")); | |
} | |
int lr_guid_gen() |
OlderNewer