This file contains hidden or 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
console.log('Loading function'); | |
const https = require('https'); | |
const url = require('url'); | |
// to get the slack hook url, go into slack admin and create a new "Incoming Webhook" integration | |
const slack_url = 'https://hooks.slack.com/services/...'; | |
const slack_req_opts = url.parse(slack_url); | |
slack_req_opts.method = 'POST'; | |
slack_req_opts.headers = {'Content-Type': 'application/json'}; |
This file contains hidden or 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
global | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
stats socket /run/haproxy/admin.sock mode 660 level admin | |
stats timeout 30s | |
user haproxy | |
group haproxy | |
daemon | |
maxconn 2048 |
This file contains hidden or 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 | |
list="$( | |
sudo ps -A \ | |
| grep -iE '([h]ear|[f]irefox|[c]hrome|[b]lue|[c]oreaudiod)' \ | |
| cut -c 1-90 | |
)" | |
pids=$( cut -c 1-6 <<< "$list" ) |
This file contains hidden or 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
--- src/c/configure.ac.orig 2012-11-21 10:30:09.966335111 +0100 | |
+++ src/c/configure.ac 2012-11-21 10:30:45.536188378 +0100 | |
@@ -22,27 +22,6 @@ | |
AC_CONFIG_HEADER([config.h]) | |
# Checks for programs. | |
-AC_ARG_WITH(cppunit, | |
- [ --without-cppunit do not use CPPUNIT]) | |
- | |
-if test "$with_cppunit" = "no" ; then |