Skip to content

Instantly share code, notes, and snippets.

@wardviaene
wardviaene / mapreduce_repartition.go
Created June 9, 2020 14:24
Use MapReduce to repartition parquet files in S3
package main
import (
"fmt"
"log"
"os"
"time"
"github.com/in4it/gomap/pkg/context"
"github.com/in4it/gomap/pkg/types"
@wardviaene
wardviaene / glue_repartition.go
Created June 9, 2020 13:47
Repartition a glue table with the AWS Go SDK
package main
import (
"fmt"
"log"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/glue"
)
@wardviaene
wardviaene / neo4j.yml
Created July 29, 2017 14:18
kubernetes neo4j deployment
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: standard
provisioner: kubernetes.io/aws-ebs
parameters:
type: gp2
zone: eu-west-1a
---
kind: PersistentVolumeClaim
@wardviaene
wardviaene / ipassign
Last active September 15, 2016 08:28 — forked from santhoshdaivajna/ipassign
#!/bin/bash
# chkconfig: 2345 99 10
# description: Set Public IP from ElasticIP pool during instance startup
# processname: ipassign
# Provides: ipassign
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Set Public IP from ElasticIP pool during instance startup

Keybase proof

I hereby claim:

  • I am wardviaene on github.
  • I am edwardviaene (https://keybase.io/edwardviaene) on keybase.
  • I have a public key whose fingerprint is E133 33F8 13CE 4F3D 0EEC 2933 3B3A DD77 CEA7 7D71

To claim this, I am signing this object: