Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block 1-1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
1-1 /
Last active Aug 29, 2015
Installing MySQL 5.6 in Centos 5 and Centos 6
#!/usr/bin/env bash
mkdir -p "$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"
1-1 /
Created Dec 15, 2012
HashSet with chaining
import java.math.BigInteger;
import java.util.Arrays;
public class OpenHashMap {
class Entry {
String key;
String value;
public Entry(String key, String value) {
You can’t perform that action at this time.