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 | |
# Alpine linux 3.4/edge Script For pdf2htmlEx | |
# Inspired from | |
# Rajeev Kannav Sharma | |
# http://rajeevkannav.github.io/ | |
# AND | |
# https://github.com/BWITS | |
# | |
# | |
# Downloads and configures the following: |
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
var amqp = require('amqplib/callback_api'); | |
// if the connection is closed or fails to be established at all, we will reconnect | |
var amqpConn = null; | |
function start() { | |
amqp.connect(process.env.CLOUDAMQP_URL + "?heartbeat=60", function(err, conn) { | |
if (err) { | |
console.error("[AMQP]", err.message); | |
return setTimeout(start, 1000); | |
} |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<!-- | |
~ /* | |
~ * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) | |
~ * | |
~ * Licensed under the Apache License, Version 2.0 (the "License"); | |
~ * you may not use this file except in compliance with the License. | |
~ * You may obtain a copy of the License at | |
~ * | |
~ * http://www.apache.org/licenses/LICENSE-2.0 |
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
. | |
.` ` | |
, `:. | |
`,` ,:` | |
.,. :,, | |
.,, ,,, | |
. .,.::::: ```` ::::::::: ::::::::: | |
,` .::,,,,::.,,,,,,`;; .: :::::::::: ::: ::: | |
`,. ::,,,,,,,:.,,.` ` .: ::: ::: ::: ::: | |
,,:,:,,,,,,,,::. ` ` `` .: ::: ::: ::: ::: |
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
core@core-01 ~/holy-grail-environment/docker/2.2.2 $ docker run --name orientdb -v /opt/orientdb:/orientdb/databases -p ${COREOS_PRIVATE_IPV4}:2424:2424 -p ${COREOS_PRIVATE_IPV4}:2480:2480 -e "COREOS_PRIVATE_IPV4=${COREOS_PRIVATE_IPV4}" -p ${COREOS_PRIVATE_IPV4}:5701:5701 -e "ORIENTDB_NODE_NAME=core-01" localhost:5000/orientdb:cluster dserver.sh -Dhazelcast.ip=${COREOS_PRIVATE_IPV4} | |
. | |
.` ` | |
, `:. | |
`,` ,:` | |
.,. :,, | |
.,, ,,, | |
. .,.::::: ```` ::::::::: ::::::::: | |
,` .::,,,,::.,,,,,,`;; .: :::::::::: ::: ::: | |
`,. ::,,,,,,,:.,,.` ` .: ::: ::: ::: ::: |
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
{ | |
"result": [ | |
{ | |
"@type": "d", | |
"@rid": "#12:925", | |
"@version": 3, | |
"@class": "Applications", | |
"created_date_time": "2016-06-13 09:55:56", | |
"vsq_data": [ | |
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
FROM frolvlad/alpine-oraclejdk8:full | |
# Set environment variables | |
ENV PKG_NAME orientdb | |
ENV ORIENT_VERSION 2.2.0-rc1 | |
ENV ORIENTDB_HOME /orientdb | |
ENV ORIENTDB_URL http://orientdb.com/[email protected]&file=orientdb-community-$ORIENT_VERSION.tar.gz&os=linux | |
RUN apk add --update bash openssl wget \ | |
&& mkdir -p $ORIENTDB_HOME \ |
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 | |
if [ "$(id -u)" != 0 ] ; then | |
echo This must be run as root! | |
exit 1 | |
fi | |
# | |
# Look for the most comment cases | |
# |
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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
LISTENER | |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
curl -X POST -H "Content-Type: application/json" http://188.166.42.116:8182/v2/listeners\ | |
-d '{"Listener":{"Id": "ls1", "Protocol":"http", "Address":{"Network":"tcp", "Address":"0.0.0.0:80"}}}' | |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
ADMIN BOX | |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
NewerOlder