In order to build MySQL 5.7, one needs a lower version of Bison. This script can help downgrade Bison from v3 to v2.7.
This file contains hidden or 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
def getIPAddress() { | |
return "ip route show dev eth0".execute().getText().tokenize()[9] | |
} |
This file contains hidden or 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 org.apache.log4j.* | |
import grails.util.Holders | |
myconfig { | |
myvariable { | |
workdir = 0 | |
} | |
} | |
log4j = { |
This file contains hidden or 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
grammar FixityTest; | |
@header { | |
import java.util.*; | |
} | |
@members { | |
Map<String, String> fmap = new HashMap<>(); | |
Map<String, Integer> pmap = new HashMap<>(); |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
sudo add-apt-repository -y ppa:synapse-core/ppa | |
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3 | |
sudo add-apt-repository -y ppa:moka/stable | |
sudo add-apt-repository -y ppa:ricotz/docky | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install -y moka-gnome-shell-theme plank moka-icon-theme faba-icon-theme faba-mono-icons plank-theme-orchis | |
sudo apt-get install -y synapse sublime-text-installer curl build-essential wget oracle-java8-installer |
docker rmi $(docker images | grep "^<none>" | tr -s ' ' | cut -d ' ' -f 3)