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
query { | |
# replace owner name and name of the repositort to scan | |
repository(owner: "twinsnes", name: "<repo name>"){ | |
name, | |
refs(refPrefix: "refs/heads/", first: 100){ | |
totalCount, | |
nodes { | |
target { | |
... on Commit { | |
# replace dates |
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
![Hava embedded architecture diagram](https://embed.hava.io/247ba715-2bf4-4a22-a063-b27be3b9bdf6.png) |
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
// Update the target to be the taget url you are hitting | |
// | |
// run this standalone and in your app send traffic to localhost:8000 | |
var http = require('http'), | |
httpProxy = require('http-proxy'); | |
const proxy = httpProxy.createProxyServer({ | |
target: 'https://target.url.com', | |
secure: false |
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
# more info about for_each here: https://developer.hashicorp.com/terraform/language/meta-arguments/for_each | |
provider "hava" { | |
# alternatively use the HAVA_TOKEN environment variable | |
api_token = "xxx" | |
} | |
local ( | |
accounts = toset([] | |
{ |
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 | |
# ------------------------------------- | |
# Hava Source Loader | |
# | |
# This short script will load aws car sources into hava from a CSV file | |
# | |
# Variables: | |
# * INPUT - path to csv file to read sources from | |
# * HAVA_API_KEY - api key to access hava | |
# * EXTERNAL_ID - external ID for your Hava account. This value must be set to an |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
body { padding-left: 5rem; padding-right: 5rem; } | |
.label { width: 160px; } | |
.bigbtn { padding: 0.5rem 2rem; } | |
</style> | |
<title>Pusher Test Page</title> | |
<script src="https://js.pusher.com/8.3/pusher.min.js"></script> |