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
import java.math.BigInteger; | |
import java.util.Arrays; | |
public class OpenHashMap { | |
class Entry { | |
String key; | |
String value; | |
public Entry(String key, String value) { |
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
#!/usr/bin/env bash | |
MYSQL_RPM_DIR="$HOME/mysql-5_6" | |
mkdir -p "$MYSQL_RPM_DIR" | |
cd "$MYSQL_RPM_DIR" | |
release=$(cat /etc/redhat-release | awk '{print $3}' | cut -d. -f1) | |
if [ "$release" == "6" ]; then | |
printf "Proceeding with Centos 6+ mysql installation.\nRemoving old mysql mysql-client\n" |