Skip to content

Instantly share code, notes, and snippets.

View fuzzbawl's full-sized avatar

fuzzbawl

  • Indiana, USA
View GitHub Profile
@paperclip
paperclip / autodeploy.sh
Last active August 12, 2020 06:47
Talpa autodeploy script
#!/bin/bash
set -o pipefail
[[ -n "$WORKING_DIR" ]] || WORKING_DIR="$1"
[[ -n "$WORKING_DIR" ]] || WORKING_DIR=$(pwd)
function failure()
{
echo "$@"
@vpetersson
vpetersson / gist:6b1da35edbe3f7dc7ca4
Last active August 12, 2017 01:58
Example on how to create a 'Secret URL' for Nagios in Apache.
# Example from http://www.screenlyapp.com/use-cases/dashboard/nagios.html
ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
Alias /nagios3/stylesheets /etc/nagios3/stylesheets
Alias /nagios3 /usr/share/nagios3/htdocs
<Location /abc123>
# Hard code credentials
AuthBasicFake nagiosadmin nagiosadmin
@fulv
fulv / main.yml
Last active August 31, 2023 09:06
Ansible - Creating users and copying ssh keypair files to the remote server
Put this in your `local-configure.yml` file, add as many users as you need:
users:
- name: fulvio
sudoer: yes
auth_key: ssh-rsa blahblahblahsomekey this is actually the public key in cleartext
- name: plone_buildout
group: plone_group
sudoer: no
auth_key: ssh-rsa blahblahblah ansible-generated on default