Skip to content

Instantly share code, notes, and snippets.

@rapbhan
rapbhan / build_mysql.sh
Created October 29, 2017 12:00 — forked from shichao-an/build_mysql.sh
Build and install MySQL 5.1 from source on Ubuntu 14.04
#!/bin/bash
# Run as root
set -e
apt-get update
apt-get install -y build-essential
apt-get install -y libncurses5-dev
useradd mysql
@rapbhan
rapbhan / 0_reuse_code.js
Last active August 29, 2015 14:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#This would display the list of files for a particular commit
git show --pretty="format:" --name-only 660a62