Skip to content

Instantly share code, notes, and snippets.

View johnscancella's full-sized avatar

John Scancella johnscancella

  • Library of Congress
  • Adams building
View GitHub Profile
@johnscancella
johnscancella / log
Created November 9, 2016 19:46
check.dependsOn dependencyCheck
[jscancella@johns-air bagit-java (dependencyCheck)]$ gradle check
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':check'.
> Cannot convert org.owasp.dependencycheck.gradle.extension.CheckExtension_Decorated@586b3f34 to a task.
The following types/formats are supported:
- A String or CharSequence task name or path
- A TaskReference instance
#!/usr/bin/env python
import os
import sys
if len(sys.argv) < 2:
print("must specify a folder to run against for rename")
sys.exit()
#lists so they maintain order
VERSION=0.9.0
PACKAGE_VERSION=2
all: clean rpm
clean:
rm -rf *.rpm build/ dist/ *.egg-info/
rpm:
curl --fail -LO https://github.com/prometheus/mysqld_exporter/releases/download/v${VERSION}/mysqld_exporter-${VERSION}.linux-amd64.tar.gz
@johnscancella
johnscancella / default.vcl
Last active April 11, 2017 15:15
varnish config for chronam
# new 4.0 format.
vcl 4.0;
import directors;
backend app1 {
.host = "ndnpappvlp01.loc.gov";
.probe = {
.url = "/";
.interval = 60s;