This file contains 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
``` | |
[remote "origin"] | |
fetch = +refs/pull/*/head:refs/remotes/origin/pr/* | |
``` |
This file contains 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 'nokogiri' | |
require 'utils/simpleconfig' | |
class XML_CSS < Inspec.resource(1) | |
name 'xml_css' | |
desc 'XML for Chef Inspec using Nokogiri\'s CSS selector feature' | |
example ' | |
Given this set of XML: |
This file contains 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 | |
if [ $# -ne 1 ]; then | |
echo "Please provide a length (e.g. \`urandgen 40\`)!"; | |
exit 1; | |
fi | |
# I rather use the whole list of characters and add/remove one by hand then to screw around with a-zA-Z9-9... | |
cat /dev/urandom | tr -dc 'qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM1234567890,.-;:_!@§$%&/()=?`*+' | head -c $1 | |
echo "" |