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
#compatibility ciphers | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_ciphers "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA"; | |
#permissive ciphers | |
#ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; | |
#ssl_ciphers "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-R |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Book Test</title> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> | |
<style> |
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
[Unit] | |
Description=Libreant | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Environment="LIBREANT_SETTINGS=/etc/libreant/libreant.cfg" | |
User=root | |
Group=root | |
ExecStart=/opt/libreant/ve/bin/libreant |
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
[Unit] | |
Description=VBox Virtual Machine %i Service | |
Requires=systemd-modules-load.service | |
After=systemd-modules-load.service | |
[Service] | |
User=username | |
Group=vboxusers | |
ExecStart=/usr/bin/VBoxHeadless -s %i | |
ExecStop=/usr/bin/VBoxManage controlvm %i savestate |
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 | |
basedir=$(readlink -f $(dirname $0)) | |
source "$basedir/config" | |
source "$basedir/lib-run.sh" | |
set -e | |
set -u | |
run /bin/bash do-base.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
import json | |
import string | |
import sys | |
import re, os | |
import logging | |
from archivant import Archivant | |
logging.basicConfig(level=logging.DEBUG) | |
logging.getLogger("elasticsearch").setLevel(logging.WARNING) | |
logging.getLogger("urllib3").setLevel(logging.WARNING) |
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
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /bin/mkdir -p | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking for style of include used by make... GNU | |
checking for mpicc... mpicc | |
checking for gcc... (cached) mpicc | |
checking for C compiler default output file name... a.out | |
checking whether the C compiler works... yes |
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
import re | |
NUM_REGEXP = "[0-9]+\.?[0-9]*" | |
def parse_data(input_file): | |
with open(input_file, 'r') as fb: | |
num = parse_single_number(fb) | |
matrix = parse_matrix(fb, cast=float) | |
fb.readline() |
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
**************************** | |
* ROOT-Sim Configuration * | |
**************************** | |
Cores: 16 available, 4 used | |
Number of Logical Processes: 64 | |
Output Statistics Directory: ~/rootsim/outputs/rootsim_TA-0.3_CC-1000_4_4_64__2739546_stats | |
Scheduler: 0 | |
MPI multithread support: no | |
GVT Time Period: 1.00 seconds | |
Checkpointing Type: 2 |
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 | |
export RS_BUILD_DIR=/tmp/rsbuild | |
#export RS_BUILD_DIR=/nfs/site/home/macabral/devel/tmp/ROOT-Sim-install | |
echo "####### CONFIGURING #######" | |
echo "RS_BUILD_DIR=${RS_BUILD_DIR}" | |
autoreconf -if |
OlderNewer