Skip to content

Instantly share code, notes, and snippets.

View ninformations's full-sized avatar

Nitin Sharma ninformations

View GitHub Profile
@ninformations
ninformations / lua-arangodb-0.0.1-1.rockspec
Created November 28, 2017 04:46
Arangodb client for lua, using REST Apis.
package = "lua-arangodb"
version = "0.0.1-1"
source = {
url = "..."
}
description = {
summary = "Arangodb client for lua, using REST Apis.",
homepage = "...",
@ninformations
ninformations / docker-compose.yml
Last active July 30, 2019 04:46 — forked from neunhoef/docker-compose.yml
Docker compose file to start a local arangodb cluster
version: '2'
services:
agency:
image: arangodb/arangodb
environment:
- ARANGO_ROOT_PASSWORD=openSesame
command: --server.jwt-secret=openSesameJWT --database.password openSesame --server.endpoint tcp://0.0.0.0:5001 --agency.activate true --agency.size 1 --agency.supervision true
coordinator:
image: arangodb/arangodb
@ninformations
ninformations / catalina.sh
Created January 20, 2015 12:21
multiple tomcat instance
#!/bin/sh
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else