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
# This file defines regular expression patterns that can be used to | |
# rewrite metric names in a search & replace fashion. It consists of two | |
# sections, [pre] and [post]. The rules in the pre section are applied to | |
# metric names as soon as they are received. The post rules are applied | |
# after aggregation has taken place. | |
# | |
# The general form of each rule is as follows: | |
# | |
# regex-pattern = replacement-text | |
# |
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 | |
# Created on 2011-11-03 by Tim Baldoni <[email protected]> | |
# | |
# Creates HOST_default dashboards in graphite | |
# | |
# | |
# Notes: | |
# - First and last items are missing from the graph definitions below. This | |
# makes things much easier...but prevents the resulting graphs from being | |
# cloned in the Graphite Dashboard. |
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 python | |
""" | |
String concatenation comparison | |
Also see: | |
- http://greaterdebater.com/blog/gabe/post/7 | |
- http://www.skymind.com/~ocrow/python_string/ | |
""" | |
# Standard library |
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"?> | |
<rdf:RDF xmlns:cc="https://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
<rdf:Description rdf:about="https://creativecommons.org/licenses/by/4.0/"> | |
<cc:License rdf:resource="https://creativecommons.org/licenses/by/4.0/"/> | |
<dc:identifier>by</dc:identifier> | |
<cc:licenseVersion>4.0</cc:licenseVersion> | |
<foaf:maker rdf:resource="https://creativecommons.org/"/> | |
<cc:legalcode rdf:resource="https://creativecommons.org/licenses/by/4.0/legalcode.ar"/> | |
<cc:legalcode rdf:resource="https://creativecommons.org/licenses/by/4.0/legalcode.cs"/> | |
<cc:legalcode rdf:resource="https://creativecommons.org/licenses/by/4.0/legalcode.da"/> |
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"?> | |
<rdf:RDF xmlns:cc="https://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
<rdf:Description rdf:about="https://creativecommons.org/licenses/by/3.0/es/"> | |
<cc:License rdf:resource="https://creativecommons.org/licenses/by/3.0/es/"/> | |
<dc:identifier>by</dc:identifier> | |
<cc:licenseVersion>3.0</cc:licenseVersion> | |
<foaf:maker rdf:resource="https://creativecommons.org/"/> | |
<cc:jurisdiction rdf:resource="https://creativecommons.org/international/es"/> | |
<cc:legalcode rdf:resource="https://creativecommons.org/licenses/by/3.0/es/legalcode.ast"/> | |
<cc:legalcode rdf:resource="https://creativecommons.org/licenses/by/3.0/es/legalcode.ca"/> |
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"?> | |
<rdf:RDF | |
xmlns:cc="http://creativecommons.org/ns#" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:dcq="http://purl.org/dc/terms/" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
> | |
<cc:License rdf:about="https://creativecommons.org/licenses/by/4.0/"> | |
<dc:identifier>by</dc:identifier> | |
<dcq:hasVersion>4.0</dcq:hasVersion> |
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"?> | |
<rdf:RDF | |
xmlns:cc="http://creativecommons.org/ns#" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:dcq="http://purl.org/dc/terms/" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
> | |
<cc:License rdf:about="https://creativecommons.org/licenses/by/3.0/es/"> | |
<dc:identifier>by</dc:identifier> | |
<dcq:hasVersion>3.0</dcq:hasVersion> |
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 | |
set -o errtrace | |
set -o nounset | |
printf "\e[1m\e[7m %-80s\e[0m\n" 'Ensuring docker is running' | |
if [[ -S /var/run/docker.sock ]] | |
then | |
echo . | |
else | |
open -a Docker |
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'?> | |
<rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcq="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
<cc:License rdf:about="http://creativecommons.org/licenses/by/4.0/"> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.ar" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.cs" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.da" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.de" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.el" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.en" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/4.0/legalcode.es" /> |
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'?> | |
<rdf:RDF xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcq="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
<cc:License rdf:about="http://creativecommons.org/licenses/by/3.0/es/"> | |
<cc:jurisdiction rdf:resource="http://creativecommons.org/international/es" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.ast" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.ca" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.es" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.eu" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.gl" /> | |
<cc:legalcode rdf:resource="http://creativecommons.org/licenses/by/3.0/es/legalcode.oc-aranes" /> |
OlderNewer