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
function ipStringToNumber(str) { | |
var arr = str.split("."); | |
if(arr.length != 4) { | |
return null; | |
} | |
var hexString = ""; | |
for(var i = 0; i < arr.length; i++) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
fjohnson@fjohnson-Latitude-E6540:~/Desktop/test$ ~/Desktop/programs/terraform init | |
Initializing provider plugins... | |
- Checking for available provider plugins on https://releases.hashicorp.com... | |
- Downloading plugin for provider "aws" (1.2.0)... | |
The following providers do not have any version constraints in configuration, | |
so the latest version was installed. |
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 [ -z "$1" ] | |
then | |
echo "Missing first argument, zookeeper host port like: my-zookeeper-hostname:2181" | |
echo "Usage Example: ./topic-last-messages.sh my-zookeeper-hostname:2181 MY_TOPIC_NAME 10 America/Chicago" | |
exit 1 | |
fi | |
if [ -z "$2" ] |
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
package main | |
import ( | |
"errors" | |
"log" | |
"os" | |
"github.com/influxdata/kapacitor/udf/agent" | |
) | |
type createTagFromMeasurementNameHandler struct { |
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
package main | |
import ( | |
"bytes" | |
"encoding/gob" | |
"errors" | |
"log" | |
"os" | |
"github.com/influxdata/kapacitor/udf" |