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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'openssl' | |
| module ActiveMerchant #:nodoc: | |
| module Billing #:nodoc: | |
| # | |
| # = Girosolution Gateway | |
| # | |
| # == Usage | |
| # | |
| # require 'active_merchant' | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##################################### | |
| # Postfix | |
| # | |
| if [type] == "redis-input" and "postfix" in [@tags] { | |
| grok { | |
| match => [ "@message", "%{PF}" ] | |
| add_tag => [ "postfix", "grokked" ] | |
| patterns_dir => [ "/opt/logstash/patterns-extensions/" ] | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Version for Safari 11 | |
| javascript:function%20startAdBlockDetectionWithDelay()%20{};$('.ua-detected').hide();$('#wrapper-content').css('opacity',1).css('filter','none').css('pointer-events','auto') | |
| # Version for Safari 10 | |
| javascript:function%20startAdBlockDetectionWithDelay()%20{};$('.ua-detected').hide(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.qutic.backup_fms_databases</string> | |
| <key>LowPriorityIO</key> | |
| <true/> | |
| <key>ProgramArguments</key> | |
| <array> |