Skip to content

Instantly share code, notes, and snippets.

View indykish's full-sized avatar

Kishorekumar Neelamegam indykish

View GitHub Profile
@indykish
indykish / riak.service
Last active April 15, 2019 10:20
Archlinux riak systemd service with ulimit fix
#Checkout for a free launch at, https://www.megam.io
[Unit]
Description=Distributed key/value store from Basho Technologies
After=network.target
[Service]
LimitNOFILE=infinity
LimitMEMLOCK=infinity
User=riak
Type=forking
@indykish
indykish / ruby2.2.2
Created June 11, 2015 05:37
Compile ruby from 2.2.2 source , we use it to package a deb of megam nilavu
# this is amd64 compiled ruby grabbed from source.
wget http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz
gunzip -c ruby-2.2.2.tar.gz | tar -xvf -; rm ruby-2.2.2.tar.gz
cd ruby-2.2.2
./configure --prefix="/home/megam/Downloads/ruby2.2.2" \
@indykish
indykish / snowflake.service
Created June 26, 2015 08:36
snowflake.service
#Place the megam snowflake here /etc/systemd/system/snowflake.service
[Unit]
Description=Megam Snowflake
After=network.target
After=runlevel2.target
After=runlevel3.target
After=runlevel4.target
After=runlevel5.target
[Service]
ExecStart=/usr/share/megam/snowflake/bin/src/pysnowflake.py --host localhost --port 7609 0 1
@indykish
indykish / megam.torpedo.assembly.json
Last active October 30, 2015 09:46
The declarative directive of megam cloud assembly json which illustrates launch of a virtual machine based on CAMP/TOSCA specification.
{
"id": "ASM1266318644653195264",
"json_claz": "Megam::Assembly",
"name": "injuries",
"components": [],
"tosca_type": "tosca.torpedo.centos",
"policies": [],
"inputs": [
{
"key": "domain",
@indykish
indykish / megam.appk.assembly.json
Last active October 30, 2015 09:45
The declarative directive of megam cloud assembly json which illustrates launch of an app (starterpack) based on CAMP/TOSCA specification.
{
"id": "ASM1266315814366216192",
"json_claz": "Megam::Assembly",
"name": "landmarks",
"components": [
"COM1266315814387187712",
""
],
"tosca_type": "tosca.app.php",
"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":[
@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.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.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.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"
},
{