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
/* mtest8.c - memory-mapped database tester/toy */ | |
/* | |
* Copyright 2013 Dimitrij Denissenko, Black Square Media | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted only as authorized by the OpenLDAP | |
* Public License. | |
* | |
* A copy of this license is available in the file LICENSE in the |
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
#!/bin/bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "Sorry, please run with sudo." | |
exit 1 | |
fi | |
echo "deb http://binaries.erlang-solutions.com/debian `lsb_release -c | cut -f2` contrib" | tee /etc/apt/sources.list.d/esl-erlang.list | |
wget -O - http://binaries.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add - | |
aptitude update |
NewerOlder