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
{ | |
"context": {}, | |
"event": { | |
"header": { | |
"messageId": "cedd4af3-a6ce-4e13-9c72-6bed87261eb6", | |
"namespace": "Alexa", | |
"name": "ChangeReport", | |
"payloadVersion": "3" | |
}, | |
"endpoint": { |
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
[user@localhost certs]$ oc get builds | |
NAME TYPE FROM STATUS STARTED DURATION | |
nodejs-mongo-persistent-1 Source Git@e59fe75 Complete About an hour ago 2m37s | |
simple-nginx-ssl-reverseproxy-1 Source Git@552932f Complete 16 minutes ago 47s |
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/sh | |
# Script to build nginx with lua support. | |
NGINX_VERSION='1.18.0' | |
NGX_DEVEL_KIT_VERSION='0.3.1' | |
LUA_NGINX_MODULE_VERSION='0.10.16rc5' | |
STREAM_LUA_NGINX_MODULE_VERSION='0.0.8rc3' | |
# we use openresty's version of luajit here. |
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/sh | |
# Script to build nginx with lua support. | |
# XXX: The result might work, but it was not thoroughly tested. Use it at your | |
# own risk. If you really need nginx with LUA in production, you should use | |
# OpenResty instead. | |
NGINX_VERSION='1.20.2' | |
NGX_DEVEL_KIT_VERSION='0.3.1' |
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
curl -i -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET https://dynamicdns.park-your-domain.com/update?host=@&domain=[domain]&password=[update-password]&ip=[local-ip] |
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
cd $HOME | |
FileName='go1.13.4.linux-armv6l.tar.gz' | |
wget https://dl.google.com/go/$FileName | |
sudo tar -C /usr/local -xvf $FileName | |
cat >> ~/.bashrc << 'EOF' | |
export GOPATH=$HOME/go | |
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin | |
EOF | |
source ~/.bashrc |
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
//// Usage | |
var queue = createMessageQueue({ messagesPerMinute: 60 }) | |
queue.on('message', function(msg) { | |
console.log('message: ' + JSON.stringify(msg, null, 2)) | |
}) | |
queue.enqueue({ to: 'avian', from: 'sjs', body: 'cool story bro' }) |
OlderNewer