Skip to content

Instantly share code, notes, and snippets.

Julius Beckmann h4cc

  • ZENNER IoT Solutions
  • Hamburg, Germany
Block or report user

Report or block h4cc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:86d6d82ef9aeb7cd8486
sudo apt-get update
sudo apt-get install munin-plugins-extra
cd /etc/munin/plugins
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_bytes
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_counters
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_rates
sudo aptitude install libcache-memcached-perl
sudo /etc/init.d/munin-node restart
sudo tail -f /var/log/munin/munin-node.log
View wssetoken.php
#!/usr/bin/env php
function wsse_header($username, $password) {
// Needed to change hashing, so not nounces with '/' inside will not be generated.
$nonce = sha1(uniqid(null, true) . uniqid());
$created = new DateTime('now', new DateTimezone('UTC'));
$created = $created->format(DateTime::ISO8601);
$digest = sha1($nonce.$created.$password, true);
You can’t perform that action at this time.