Skip to content

Instantly share code, notes, and snippets.

View indykish's full-sized avatar

Kishorekumar Neelamegam indykish

View GitHub Profile
@indykish
indykish / dockerinstall_xenial.sh
Last active July 31, 2018 04:43 — forked from katopz/install-docker-exp.sh
Install Docker 1.12 on Ubuntu Xenial 16.04.1 x64
# Install Docker on Xenial 16.04.1 x64
# Ref https://docs.docker.com/engine/installation/linux/ubuntulinux/
# No interactive for now.
export DEBIAN_FRONTEND=noninteractive
# Update your APT package index.
sudo apt-get -y update
# Update package information, ensure that APT works with the https method, and that CA certificates are installed.
sudo apt-get -y install apt-transport-https ca-certificates
# Add the new GPG key.
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
@indykish
indykish / megam.assemblies.torpedo.json
Created October 22, 2015 05:57
The declarative directive of megam cloud assemblies json which illustrates that any app in git/image, docker git/image, service can be launched by bundling assemblys
{
"id":" ",
"name":" ",
"accounts_id":" ",
"assemblies":[
"ASM0001"
],
"inputs":[
"01"
],
@indykish
indykish / megam.assemblies.json
Last active October 22, 2015 06:00
The base declarative directive of megam cloud assemblies json which illustrates that more declarative directives can be housed inside it (assembly of app in git/image, docker git/image, service) can be launched.
{
"id" : "assemblies_id ",
"name" : "assemblies_name ",
"accounts_id" : "accounts_id of the holder",
"assemblys" : ["assemblys_id"],
"inputs" : ["01"],
"created_at" : "date"
}
@indykish
indykish / megam.assembly.json
Created October 22, 2015 05:52
The base declarative directive of megam cloud assembly json which illustrates that an app in git/image, docker git/image, service can be launched.
{
"name":"assembly_name",
"components":[
"component_1"
],
"tosca_type":"tosca.torpedo.coreos",
"inputs":[
{
"key":"domain",
"value":"megambox.com"
@indykish
indykish / megam.comp.json
Last active October 30, 2015 09:49
The base declarative directive of megam cloud component json which illustrates that an app in git/image, docker git/image, service can be launched.
{
"name": "component_1",
"tosca_type": "tosca.web.Java",
"inputs": [
"domain",
"version"
],
"related_components": "",
"status": "deploying, creating, bootstrapping, stateup, running",
"outputs": [],
@indykish
indykish / megam.comp.app.php.json
Created October 22, 2015 05:25
The declarative directive of megam cloud component json which illustrates launch of an app (php) in git based on CAMP/TOSCA specification.
{
"id":"COM1266309531965718528",
"name":"babyhood",
"tosca_type":"tosca.app.php",
"inputs":[
{
"key":"domain",
"value":"megambox.com"
},
{
@indykish
indykish / megam.comp.app.nodejs.json
Created October 22, 2015 05:24
The declarative directive of megam cloud component json which illustrates launch of an service (postgresql) based on CAMP/TOSCA specification.
{
"id":"COM1266071370949853184",
"name":"parenthetically",
"tosca_type":"tosca.app.nodejs",
"inputs":[
{
"key":"domain",
"value":"megambox.com"
},
{
@indykish
indykish / megam.comp.service.psql.json
Created October 22, 2015 05:22
The declarative directive of megam cloud component json which illustrates launch of an service (postgresql) based on CAMP/TOSCA specification.
{
"id":"COM1266307125995503616",
"name":"stratums",
"tosca_type":"tosca.service.postgresql",
"inputs":[
{
"key":"domain",
"value":"megambox.com"
},
{
@indykish
indykish / megam.service.postgresql.assembly.json
Created October 22, 2015 05:19
The declarative directive of megam cloud assembly json which illustrates launch of a service (postgresql) based on CAMP/TOSCA specification.
{
"id":"ASM1266307125966143488",
"json_claz":"Megam::Assembly",
"name":"bush",
"components":[
"COM1266307125995503616"
],
"tosca_type":"tosca.service.postgresql",
"policies":[
{
@indykish
indykish / megam.app.assembly.json
Created October 22, 2015 05:17
The declarative directive of megam cloud assembly json which illustrates launch of an app using git based on CAMP/TOSCA specification.
{
"id":"ASM1266309531944747008",
"json_claz":"Megam::Assembly",
"name":"thickest",
"components":[
"COM1266309531965718528",
""
],
"tosca_type":"tosca.app.php",
"policies":[