Skip to content

Instantly share code, notes, and snippets.

@maratsh
maratsh / autosshd
Created September 10, 2012 05:52 — forked from qingshan/autosshd
autosshd is the autossh daemon.
#!/bin/bash
#
# autosshd This script starts and stops the autossh daemon
#
# chkconfig: 2345 95 15
# processname: autosshd
# description: autosshd is the autossh daemon.
# Source function library.
. /etc/rc.d/init.d/functions
@maratsh
maratsh / README
Created September 19, 2012 19:31 — forked from sasha-id/README
MongoDB multiple instance upstart scripts: mongodb, mongod --configsvr and mongos
MongoDB upstart scripts for Ubuntu.
Run following commands after installing upstart scripts:
ln -s /lib/init/upstart-job /etc/init.d/mongoconf
ln -s /lib/init/upstart-job /etc/init.d/mongodb
ln -s /lib/init/upstart-job /etc/init.d/mongos
To start services use:
@maratsh
maratsh / sequence-diagram.html
Last active March 25, 2017 19:28 — forked from afomi/sequence-diagram.html
js sequence diagram example
<h1>
paas
</h1>
<div class="diagram">
masterofmasters->Provider:
Provider->VM: text
VM->masterofmasters:
LEM->mel:
Provider->mel:
mel-->VM: