Skip to content

Instantly share code, notes, and snippets.

1-1

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
1-1 / mysql-install.sh
Last active Aug 29, 2015
Installing MySQL 5.6 in Centos 5 and Centos 6
View mysql-install.sh
#!/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"
@1-1
1-1 / OpenHashMap.java
Created Dec 15, 2012
HashSet with chaining
View OpenHashMap.java
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.