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 com.acme.util; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Date; | |
import java.util.TimeZone; | |
import java.util.logging.Logger; | |
import javax.xml.bind.annotation.adapters.XmlAdapter; |
-
Troy Harvey, IT Consultant at ZyQuest
-
Woodport Doors project
-
Demonstrate
door.bifold
ng-model
binding.scope = angular.element($0).scope() scope.DoorService.door.bifold = false
I hereby claim:
- I am troyharvey on github.
- I am troyharvey (https://keybase.io/troyharvey) on keybase.
- I have a public key ASCz9PmMG0ER6PZQM3ew7Fxb78b7UPnZEAMjYgXod4BJKgo
To claim this, I am signing this object:
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
# Use envFrom to load Secrets and ConfigMaps into environment variables | |
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: mans-not-hot | |
labels: | |
app: mans-not-hot | |
spec: | |
replicas: 1 |
- pack
- hammock
- hammock straps
- hammock rain fly
- sleeping pad
- sleeping bag
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 Jan 2024 | |
# Deploying Cloud Functions is much simpler than it was 6 years ago. | |
# I'm leaving the gist in it's original 2018 state for now, | |
# but skip the the recent comments below for a simpler solution. | |
variables: | |
GCP_ZONE: us-central1-a | |
stages: | |
- npm-install |
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
/** | |
* Convert Google Cloud Storage object url into an object with bucket and file path. | |
*/ | |
function fromStorageUrl(url) { | |
var tokens = RegExp('https://storage.googleapis.com/(.+?)/(.+)','g').exec(url); | |
if (tokens === null) throw "Invalid Google Cloud Storage url."; | |
return { | |
'bucket': tokens[1], | |
'file': tokens[2] |
Cayley is an open-source graph inspired by the graph database behind Freebase and Google's Knowledge Graph. Gephi is an open-source graph visualization tool. The Graph Streaming plugin for Gephi allows you to visualize a Cayley graph or a stream of real-time changes to a Cayley graph.
-
Install Cayley
brew install cayley
-
Start Cayley with the Movie Data sample
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 CreateRedshiftTableFromSchemaOperator(BaseOperator): | |
""" | |
Create Redshift Table from schema file. | |
:param redshift_conn_id Airflow Redshift Connection ID | |
:type redshift_conn_id string | |
:param schema Redshift schema | |
:type schema string | |
:param table Redshift table | |
:type table string |
OlderNewer