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
#domain-needed | |
bogus-priv | |
expand-hosts | |
addn-hosts=/var/lib/dnsmasq/hosts | |
# interfaces ... | |
interface=eth1 | |
# DCHP configs ... |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>XHR upload large file with slice</title> | |
<style> | |
#debug { | |
border: 3px dashed #ccc; | |
margin: 10px 0; | |
padding: 10px; |
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
CC=gcc | |
CFLAGS=-shared -fPIC -Wall | |
LIBS=-ldl | |
TARGET=statx_dont_sync_override.so | |
SRC=statx_dont_sync_override.c | |
all: $(TARGET) | |
$(TARGET): $(SRC) | |
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LIBS) |
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
# This is working without a virtualenv with | |
# bootstrap script version 20181121.101701 | |
# See https://github.com/easybuilders/easybuild-framework/issues/2389 | |
# for a bit more context | |
# Build the image with: | |
# sudo singularity build ebc7 ebc7.singularity | |
Bootstrap: docker | |
From: centos:7 |
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
from __future__ import print_function | |
import time | |
import os | |
import sys | |
import isi_sdk_8_1_0 | |
from isi_sdk_8_1_0.rest import ApiException | |
from pprint import pprint | |
import urllib3 |
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 python | |
from __future__ import print_function | |
import os | |
import sys | |
import stat | |
import argparse | |
import ConfigParser | |
import sqlite3 |
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 python | |
from influxdb import InfluxDBClusterClient | |
influx_host = "127.0.0.1" | |
influx_port = 8086 | |
influx_user = "user" | |
influx_pass = "pass" | |
database = "example" |
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
Bootstrap: docker | |
From: centos:7 | |
%post | |
mkdir /pasteur |
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
$ cat /home/eb/eb-Cvdx4V/easybuild-C8jsEA.log | |
== 2018-06-21 13:43:20,009 generaloption.py:1575 DEBUG generate_cmd_line no ignore | |
== 2018-06-21 13:43:20,009 generaloption.py:1606 DEBUG generate_cmd_line adding add-dummy-to-minimal-toolchains value False default found. Not adding to args. | |
== 2018-06-21 13:43:20,009 generaloption.py:1606 DEBUG generate_cmd_line adding aggregate-regtest value None default found. Not adding to args. | |
== 2018-06-21 13:43:20,009 generaloption.py:1606 DEBUG generate_cmd_line adding allow-loaded-modules value ('EasyBuild',) default found. Not adding to args. | |
== 2018-06-21 13:43:20,009 generaloption.py:1606 DEBUG generate_cmd_line adding allow-modules-tool-mismatch value False default found. Not adding to args. | |
== 2018-06-21 13:43:20,009 generaloption.py:1606 DEBUG generate_cmd_line adding allow-use-as-root-and-accept-consequences value False default found. Not adding to args. | |
== 2018-06-21 13:43:20,009 generaloption.py:1606 DEBUG generate_cmd_line adding amend value None default found. |
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 python | |
# generates urllib2.URLError: <urlopen error [Errno 1] _ssl.c:492: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure> | |
# on CentOS 6.9 with python 2.6.6 | |
import urllib2 | |
url = "https://www.open-mpi.org/software/hwloc/v1.6/downloads/hwloc-1.6.2.tar.gz" | |
url_req = urllib2.Request(url, headers={'User-Agent': 'EasyBuild', "Accept" : "*/*"}) | |
urllib2.urlopen(url_req) |
NewerOlder