This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.
:
curl \ | |
-XPOST \ | |
-H "Content-Type: application/json" \ | |
-u "user:pass" \ | |
https://opnsense.example.com/api/acmeclient/certificates/add -d \ | |
'{ | |
"certificate": { | |
"enabled": "0", | |
"name": "test.example.com", | |
"altNames": "test2.example.com", |
#!/usr/bin/env ruby | |
# install ruby requirements with: | |
# gem install terrapin | |
require 'terrapin' | |
require 'logger' | |
# Usage: | |
# DELETE_SNAPSHOTS=false DEBUG=true zfsbackup backup-storage.example.com local/pool remote/pool |
This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.
:
#!/bin/bash | |
sudo apt-get -y install cups | |
sudo apt-get -y install cups-pdf | |
# add pdf printer to cups | |
# - named files end up in ~/PDF/ | |
# - unnamed files are stored in /var/spool/cups-pdf/ANONYMOUS/, such as PDF:s created by streaming bytes over an API | |
sudo lpadmin -p cups-pdf -v cups-pdf:/ -E -P /usr/share/ppd/cups-pdf/CUPS-PDF.ppd |
#!/usr/bin/bash | |
## CONFIG | |
# Lookup USBKEY: disklist -r | |
AUTO_REBOOT=1 | |
MIRROR=us-east.manta.joyent.com | |
USBKEY=c1t0d0 | |
## INIT | |
CURRENT_REFERENCE=$(curl -s -k https://${MIRROR}/Joyent_Dev/public/builds/smartos/ | grep release | tail -n 1 | json name) |
require 'openssl' | |
module ActiveMerchant #:nodoc: | |
module Billing #:nodoc: | |
# | |
# = Girosolution Gateway | |
# | |
# == Usage | |
# | |
# require 'active_merchant' | |
# |
##################################### | |
# Postfix | |
# | |
if [type] == "redis-input" and "postfix" in [@tags] { | |
grok { | |
match => [ "@message", "%{PF}" ] | |
add_tag => [ "postfix", "grokked" ] | |
patterns_dir => [ "/opt/logstash/patterns-extensions/" ] | |
} | |
-- This script enables the macOS Contact-Application to dial a phone-number | |
-- via a SNOM hardware phone by clicking on the phone label. | |
-- | |
-- (C) 2008 David Kreitschmann, K3com Kommunikationstechnik http://www.k3com.de | |
-- (C) 2017 Modification for SNOM 715 by Stefan Husch, https://qutic.com | |
-- | |
-- Copy this script to ~/Library/Application\ Scripts/com.apple.AddressBook | |
-- on your macOS 10.11+ and change the phoneURL to your needs. | |
-- | |
-- A chmod 0600 ~/Library/Application\ Scripts/com.apple.AddressBook/Snom.scpt |
#!/bin/bash | |
# Build OpenVPN on Nexenta NCP 3.0.1 | |
# (c) 2010 qutic development | |
# Make sure only root can run this script | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi |