View gist:0509a90f0de72c3c1b77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |
View tunnel-ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
# |
View ProbeTools.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** 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 | |
*/ |