{
"groups" : [
{
"name" : "g1",
"pipelines" : [ ... ]
},
{
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/sh | |
# | |
# ORIGINAL AUTHORS | |
# Shawn Moore <smmoore@catawba.edu> | |
# Rodney Rymer <rrr@catawba.edu> | |
# | |
# | |
# REQUIREMENTS | |
# GNU Awk (gawk) | |
# |
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 host GPU drivers | |
# ... | |
# Start a bare X-server | |
X :0 & | |
# Make it possible to connect from other hosts | |
export DISPLAY=:0 | |
xhost + |
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 | |
# Usage: | |
# ceph-reweight-slowly <OSD-ID> <IN or OUT> | |
# | |
# OUT will reweight osd from 1 to 0 in 0.1 decrements. | |
# E.g. when removing osd 1 from cluster: `ceph-reweight-slowly 1 out` | |
# IN will reweight osd from 0 to 1 in 0.1 increments. | |
# E.g. when adding osd 5 to cluster: `ceph-reweight-slowly 5 in` | |
# |
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/dash | |
### | |
# ABOUT : collectd monitoring script for smartmontools (using smartctl) | |
# AUTHOR : Samuel B. <samuel_._behan_(at)_dob_._sk> (c) 2012 | |
# LICENSE: GNU GPL v3 | |
# SOURCE: http://devel.dob.sk/collectd-scripts/ | |
# | |
# This script monitors SMART pre-fail attributes of disk drives using smartmon tools. | |
# Generates output suitable for Exec plugin of collectd. | |
### |
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 | |
git clone https://github.com/hashicorp/terraform.git | |
docker run --rm -v "$PWD/terraform":/go/src/github.com/hashicorp/terraform -w /go/src/github.com/hashicorp/terraform golang:1.6 bash -c 'apt-get update && apt-get install -y zip && XC_OS=linux XC_ARCH=amd64 make bin' |
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, division | |
import numpy as np | |
import tensorflow as tf | |
import matplotlib.pyplot as plt | |
num_epochs = 100 | |
total_series_length = 50000 | |
truncated_backprop_length = 15 | |
state_size = 4 | |
num_classes = 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
import tensorflow as tf | |
import numpy as np | |
def print_ops(): | |
graph = tf.get_default_graph() | |
ops = graph.get_operations() | |
print("Total ops:", len(ops)) | |
for op in ops: | |
print(op.name, op.type) |
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 openjdk:8-jdk | |
MAINTAINER Tomasz Sętkowski <tom@ai-traders.com> | |
RUN apt-get update && apt-get install -y -q \ | |
sudo fakeroot git nsis rpm unzip zip mercurial rake subversion wget | |
# install nodejs, update-alternatives is needed on ubuntu to enable command 'node' | |
RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - &&\ | |
apt-get install --yes nodejs && update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10 | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\ |
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 | |
# disable automatic upgrades to avoid error on start: "Could not get lock /var/lib/dpkg/lock" | |
cat << EOF > 20auto-upgrades | |
// Do "apt-get update" automatically every n-days (0=disable) | |
APT::Periodic::Update-Package-Lists "0"; | |
// Run the "unattended-upgrade" security upgrade script | |
// every n-days (0=disabled) | |
// Requires the package "unattended-upgrades" and will write | |
// a log in /var/log/unattended-upgrades | |
APT::Periodic::Unattended-Upgrade "0"; |
OlderNewer