Skip to content

Instantly share code, notes, and snippets.

View beckyconning's full-sized avatar

Becky Conning beckyconning

View GitHub Profile
module Main where
import Prelude
import Control.Apply (lift2)
import Data.Array (catMaybes, fromFoldable, many)
import Data.List (List(..))
import Data.List as List
import Data.String.CodeUnits (fromCharArray)
import Effect (Effect)
module Main where
import Prelude
import Control.Alt ((<|>))
import Control.Apply (lift2)
import Data.Array (catMaybes, fromFoldable, many)
import Data.List (List(..))
import Data.List as List
import Data.String.CodeUnits (fromCharArray)
using CsvHelper;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using CsvHelper;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using CsvHelper;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using CsvHelper;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
traceroute to redshift-cluster-1.cnmokaqqc7hl.us-east-2.redshift.amazonaws.com (3.16.2.153), 30 hops max, 60 byte packets
1 216.182.226.246 (216.182.226.246) 17.759 ms 216.182.226.128 (216.182.226.128) 17.780 ms 216.182.226.236 (216.182.226.236) 17.098 ms
2 100.66.9.200 (100.66.9.200) 12.641 ms 100.66.8.156 (100.66.8.156) 16.710 ms 100.66.12.42 (100.66.12.42) 17.311 ms
3 100.66.11.102 (100.66.11.102) 14.630 ms 100.66.15.130 (100.66.15.130) 16.727 ms 100.66.11.26 (100.66.11.26) 21.361 ms
4 100.66.7.55 (100.66.7.55) 15.826 ms 100.66.6.3 (100.66.6.3) 20.902 ms 100.66.6.197 (100.66.6.197) 15.920 ms
5 100.66.5.19 (100.66.5.19) 12.345 ms 100.66.5.169 (100.66.5.169) 14.080 ms 100.66.5.107 (100.66.5.107) 17.920 ms
6 100.65.15.97 (100.65.15.97) 0.298 ms 100.65.15.177 (100.65.15.177) 0.254 ms 100.65.13.145 (100.65.13.145) 0.285 ms
7 52.93.28.255 (52.93.28.255) 0.590 ms 52.93.28.233 (52.93.28.233) 0.796 ms 52.93.29.1 (52.93.29.1) 0.291 ms
8 * * *
9 100.91.39.85 (100.91.39.85) 10.9
@beckyconning
beckyconning / gist:ca8397506f205fde017d956e299697ca
Last active February 7, 2019 17:55 — forked from asabaylus/gist:3071099
Github Markdown Heading Anchors

Anchors in Markdown

To create an anchor to a heading in github flavored markdown. Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:

[create an anchor](#anchors-in-markdown)

A

@beckyconning
beckyconning / _.sh
Last active January 22, 2019 21:52
#!/bin/bash
set -e
set -o pipefail
TABLE_INFO=$(cat)
echo "${TABLE_INFO}" | jq -r .name | tr '[:upper:]' '[:lower:]' | while read x ; do printf "create table $x(" ; done
echo "${TABLE_INFO}" | jq -r '.columns | .[] | .type = if .type == "offsetdatetime" then "datetime" elif .type == "number" then "decimal" elif .type == "string" then "varchar(255)" elif .type == "boolean" then "boolean" else null end | [.column, .type] | @csv' | tr -d '"' | tr ' ' '_' | tr '[:upper:]' '[:lower:]' | tr ',' ' ' | perl -pe 'chomp if eof' | tr "\n" ","
printf ')'
{
"name": "cloud-functions-schedule-instance",
"version": "0.0.1",
"private": true,
"license": "Apache-2.0",
"author": "Google Inc.",
"repository": {
"type": "git",
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},