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
- hosts: localhost | |
gather_facts: no | |
vars: | |
jira_tasks: | |
- summary: Test task | |
description: "" | |
tasks: | |
- name: Create an issue | |
jira: |
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
CREATE TABLE cf_imageproxy_20170611 ( | |
logdate character varying(65535), | |
logtime character varying(65535), | |
edge character varying(40), | |
bytessent integer, | |
cip character varying(50), | |
method character varying(50), | |
host character varying(65535), | |
uri character varying(65535), | |
status character varying(20), |
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 | |
#export PGPASSWORD= | |
#export PGHOST= | |
#export PGPORT= | |
#export PGUSER= | |
#export PGDATABASE= | |
SCHEMA="$1" | |
TABLE="$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 ( | |
"fmt" | |
"strings" | |
"github.com/aws/aws-sdk-go/aws" | |
aws_session "github.com/aws/aws-sdk-go/aws/session" | |
aws_s3 "github.com/aws/aws-sdk-go/service/s3" | |
) |
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 ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"net/http" |
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 ( | |
"bufio" | |
"io" | |
"os" | |
"os/exec" | |
"time" | |
) |
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
#!/usr/bin/env python3 | |
import csv | |
import codecs | |
import urllib.request | |
import argparse | |
import ipaddress | |
def iter_blocked_subnets(): |
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
#!/usr/bin/env python | |
import csv | |
import codecs | |
import urllib.request | |
import argparse | |
import ipaddress | |
def iter_blocked_subnets(): |
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 ( | |
"flag" | |
"fmt" | |
"os" | |
"time" | |
"github.com/aws/aws-sdk-go/aws" | |
aws_session "github.com/aws/aws-sdk-go/aws/session" |
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
func (e *ASGTarget) Deploy(ctx context.Context, artifact Artifact, output chan DeployLogEntry) error { | |
ctx, _ = context.WithTimeout(ctx, e.Timeout) | |
if artifact.Type != ARTIFACT_AMI { | |
return fmt.Errorf("unsupported artifact type '%s'", artifact.Type) | |
} | |
asg, err := e.fetchAsg() | |
if err != nil { | |
return err | |
} | |
oldLc, err := e.fetchLc(asg) |