Skip to content

Instantly share code, notes, and snippets.

View damoun's full-sized avatar
🛰️
Connecting clusters with ClusterMesh

Damien Plénard damoun

🛰️
Connecting clusters with ClusterMesh
View GitHub Profile
@damoun
damoun / complete.sh
Last active July 21, 2022 23:57
Send notification when transmission finished to download a file.
#!/bin/bash
/var/lib/transmission-daemon/notify.py $TR_TORRENT_NAME
@damoun
damoun / bjtu-net-bruteforcer.user.js
Created October 28, 2012 07:31
Greasemonkey script to login on Wifi/Ethernet Web Login at BJTU
// ==UserScript==
// @name BJTU Net BruteForcer
// @namespace https://gist.github.com/gists/3967968
// @version 0.45
// @description Greasemonkey script to login on Wifi/Ethernet Web Login at BJTU
// @author Damien Plenard
// @include https://10.1.154.*/portal/*
// @include http://10.10.43.3/*
// @grant GM_getValue
// @grant GM_setValue
@damoun
damoun / MuninPluginAbstract.php
Created July 26, 2012 11:25
A simple abstract class to create a munin plugin
<?php
class Field
{
protected $_name;
protected $_label;
protected $_color;
protected $_value;
public function Field($label, $color = false)