Skip to content

Instantly share code, notes, and snippets.

Avatar

Alban LOPEZ sctfic

View GitHub Profile
View gist:0509a90f0de72c3c1b77
#! /bin/sh -e
DAEMON="/usr/bin/ssh" #ligne de commande du programme
DEAMON_OPT=$2 #argument à utiliser par le programme
DAEMONUSER="coaxis" #utilisateur du programme
DEAMON_NAME="tunnelSsh" #Nom du programme (doit être identique à l'exécutable)
PATH="/sbin:/bin:/usr/sbin:/usr/bin" #Ne pas toucher
test -x $DAEMON || exit 0
@sctfic
sctfic / tunnel-ssh
Last active Aug 29, 2015
Service to open ssh connection
View tunnel-ssh
#!/usr/bin/env bash
# DESCRIPTION
# Connect ssh as STunnel
#
# USAGE
# sudo tunnel-ssh start[ username@server[:port]]
# sudo tunnel-ssh restart[ username@server[:port]]
# sudo tunnel-ssh stop
# sudo tunnel-ssh status
#
@sctfic
sctfic / ProbeTools.js
Last active Jan 1, 2016
Infinity zoomable timeChart
View ProbeTools.js
/** ProbeTools.js
* D3 binder to visualize <dataset> data
*
* @category Tools
* @package Probe
* @author alban lopez <alban.lopez+probe@gmail.com>
* @license http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode CC-by-nc-sa-3.0
* @link http://probe.com/doc
*/