For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| # Ubuntu upstart file at /etc/init/mongodb.conf | |
| pre-start script | |
| mkdir -p /var/lib/mongodb/ | |
| mkdir -p /var/log/mongodb/ | |
| end script | |
| start on runlevel [2345] | |
| stop on runlevel [06] |
| $ java -jar jenkins-cli.jar -s http://localhost:9000 install-plugin findbugs | |
| findbugs is neither a valid file, URL, nor a plugin artifact name in the update center | |
| No update center data is retrieved yet from: http://updates.jenkins-ci.org/update-center.json | |
| findbugs looks like a short plugin name. Did you mean 'null'? | |
| # Specifying a full URL works! | |
| $ java -jar jenkins-cli.jar -s http://localhost:9020 install-plugin http://updates.jenkins-ci.org/download/plugins/AdaptivePlugin/0.1/AdaptivePlugin.hpi | |
| # Get the update center ourself |
| # requires root permissions in /usr/bin/ | |
| star = String.new | |
| 8.times { star += "*" } | |
| Star = "\n#{star * 3}\n" | |
| def newblock string | |
| puts "\n#{Star}#{string}#{Star}\n" | |
| end |
| ##FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' | |
| # triple space a file |
| #!/bin/sh | |
| # Just copy and paste the lines below (all at once, it won't work line by line!) | |
| # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e |
---------- Forwarded message ----------
From: Mark S. Miller <[email protected]>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: [email protected]
| #!/usr/bin/env bash | |
| set -o errtrace | |
| set -o errexit | |
| facter_version=$1 | |
| puppet_version=$2 | |
| target_volume=$3 |