This file contains 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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains 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
hyperdex_binary_test_SOURCES = \ | |
binary-test.cc | |
hyperdex_binary_test_LDADD = \ | |
libhyperclient.la \ | |
-lrt | |
hyperdex_binary_test_LDFLAGS = \ | |
-no-install | |
hyperdex_binary_test_CPPFLAGS = \ | |
$(E_CFLAGS) \ | |
$(CPPFLAGS) |
This file contains 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
--- build_detect_platform 2013-01-07 16:07:29.000000000 -0500 | |
+++ build_detect_platform 2013-02-16 14:28:06.000000000 -0500 | |
@@ -178,13 +178,6 @@ | |
PLATFORM_LIBS="$PLATFORM_LIBS -lsnappy" | |
fi | |
- # Test whether tcmalloc is available | |
- $CXX $CXXFLAGS -x c++ - -o /dev/null -ltcmalloc 2>/dev/null <<EOF | |
- int main() {} | |
-EOF |
This file contains 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 | |
#install openmpi stuff | |
yum install gcc -y | |
yum install openmpi-devel -y | |
#add new user cluster | |
useradd cluster | |
#copy credentials to cluster users |
This file contains 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
#!/usr/bin/env python3 | |
import urllib.request | |
import xml.etree.ElementTree as ET | |
from datetime import datetime,timedelta | |
from collections import namedtuple | |
import math | |
#NOTE: TAKE THIS AS AN INPUT |