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
L1BheEhlYWRlcnMuMC8uUkRhdGEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAAMDAwMDAw | |
MAAwMDAwMDAwADAwMDAwMDAwMTQyADAwMDAwMDAwMDAwADAxMTI3MQAgeAAAAAAAAAAAAAAAAAAA | |
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB1c3RhcgAwMAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0 | |
MiBTQ0hJTFkueGF0dHIudHJ1c3RlZC5vdmVybGF5Lm1ldGFjb3B5PQo1NiBTQ0hJTFkueGF0dHIu |
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 | |
set -euo pipefail | |
dd if=/dev/zero of=/swapfile2 bs=1M count=2560 | |
chmod 0600 /swapfile2 | |
mkswap /swapfile2 | |
swapon /swapfile2 | |
swapoff /swapfile |
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
// not sure if it's the json.trace_id or json.id that is correct for the second, status check call | |
dumper = function(response) { console.log(response.status); response.text().then( text => console.log(text) ) } | |
function checkWorkflow(site_id, env_id, workflow_id) { | |
p = fetch("/api/sites/" + site_id + "/environments/" + env_id + "/workflows/" + workflow_id, { | |
credentials: "include", | |
headers: { | |
"accept":"*/*", | |
"accept-language":"en-US,en;q=0.9,de;q=0.8,fr;q=0.7,ro;q=0.6", | |
"content-type":"application/json; charset=UTF-8", | |
"sec-fetch-mode":"cors", |
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 | |
assets=`find core -regex '.*\.\(js\|css\|png\|jpg\|jpeg\|svg\|ico\)$'` | |
for ASSET in ${assets}; do | |
dir=$(dirname $ASSET) | |
if [[ ! -d "../html/$dir" ]]; then | |
mkdir -p "../html/$dir" | |
fi | |
cp -a $ASSET ../html/$ASSET |
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 | |
docker rm d753_curator | |
docker run -t -v /home/mbaynton/d7.53_curator:/var/www/html -v /usr/local/phpenv/versions -p 80:80 -e 'PHP_VERSION=7.0.18' -e 'XDEBUG2HOST="serverName=d753_curator"' --cap-add SYS_PTRACE --security-opt seccomp:unconfined --name d753_curator -d prophusion/prophusion-apache |
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
/* | |
* Demonstrate a trivial filesystem using libfs. | |
* | |
* Copyright 2002, 2003 Jonathan Corbet <[email protected]> | |
* This file may be redistributed under the terms of the GNU GPL. | |
* | |
* Chances are that this code will crash your system, delete your | |
* nethack high scores, and set your disk drives on fire. You have | |
* been warned. | |
*/ |