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
# Make example for verifying application dependancies for execution | |
# Christian R. Vozar <christian@rogueethic.com> | |
dependencies: | |
$(call isinstalled,kubectl) | |
define isinstalled | |
@hash $(1) >/dev/null 2>/dev/null || { echo >&2 "$(1) required but not found. Aborting."; exit 1; } | |
endef |
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
var MARK_UNREAD = true; | |
var ADD_UNSNOOZED_LABEL = false; | |
function getLabelName(i) { | |
return "Snooze/Snooze " + i + " days"; | |
} | |
function setup() { | |
// Create the labels we’ll need for snoozing | |
GmailApp.createLabel("Snooze"); |
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
// Class Fizz Buzz Solution | |
// Christian Vozar <christianvozar@gmail.com> | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"strconv" | |
) |
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
[Procd to Statsd - CPU] | |
type = "StatFilter" | |
stat_accum_name = "Procd to Statsd Accumulator" | |
message_matcher = 'Type == "procd.resources.cpu"' | |
[Procd to Statsd - CPU.Metric.cpu_user] | |
type = "Gauge" | |
name = "%Hostname%.resources.cpu.user" | |
value = "%CpuUser%" | |
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
# Copyright 2013, Harvest Exchange Corporation | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
# Copyright 2013, Harvest Exchange Corporation | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |