Profile cover photo
Profile photo
Michael Lee
59 followers
59 followers
About
Posts

Post has attachment
Quickie: Checking a remote branch exists in Bash
This bash script will check that a branch exists on the first remote returned.  if git branch -r --contains $(git remote | head -1)/branch-to-check &> /dev/null ; then     echo "Branch Exists" else    echo "Branch does not exist" fi
Add a comment...

Post has attachment
The new Property Partner Resale Market mapper is awesome.
The Resale Market: Mapped
The Resale Market: Mapped
resources.propertypartner.co
Add a comment...

Post has attachment
Stuff to watch from QCon London
Fantastic #QConLondon. When they finally come out, these are the talks to watch: How to Backdoor Invulnerable Code  by  Josh Schwartz Be terrified as Josh just blows past your shiny security. Consensual Software: Prioritizing Trust & Safety  by  Danielle Le...
Add a comment...

Post has attachment
Meme Deconstruction: Has Trump won the popular vote
I've seen a large number of people posting on Twitter and Quora  that Donald Trump has won the popular vote and not Hilary Clinton and the only reason it is not reported on Wikipedia or Mainstream Media is liberal bias and/or general liberal upset. In this ...
Add a comment...

Post has attachment
SSL Certificate Revocation List (CRL) with CloudFlare's PKI toolkit and nginx
This post will quickly go over the gotchas I have encountered when making the CRL returned by the cfssl tool work with nginx . This post makes the assumption that you already know a bit about nginx, SSL and cfssl. It also assumes that you have already have ...
Add a comment...

Post has attachment
SSL Certificate Revocation List (CRL) with CloudFlare's PKI toolkit and nginx
This post will quickly go over the gotchas I have encountered when making the CRL returned by the cfssl tool work with nginx . This post makes the assumption that you already know a bit about nginx, SSL and cfssl. It also assumes that you have already have ...
Add a comment...

Post has attachment
Posts Worth Reading: Compressed Content, Amazon S3, and CloudFront
Cameron Stokes's Blog : Compressed Content, Amazon S3, and CloudFront Cameron describes how to pre-compress files stored and served on S3. Given S3 charges per GB, pre-compressing content seams an sensible step to add to your process.
Add a comment...

Post has attachment
Meta-programming and Guice
I really like the meta-programming style of  JDBI  and  Feign . They allow developers to focus on what is important rather than the boilerplate code. However I find that once you introduce Dependency Injection with them the boilerplate begins to creep back ...
Add a comment...

Post has attachment
Spark DataFrame: Programmatically filtering column names
In this we have a dataframe where we wish to extract a number of columns from it, but do not know the names of the columns ahead of time. For example: case class Document(colA : String,
colB : String,
colC : String,
...
Add a comment...

Post has attachment
User Defined Functions in a Spark DataFrame
First lets create an example DataFrame . You could use anything (Avro, JSON etc) but for this we will create it programmatically. import org.apache.spark.sql.functions._ case class Document(id: Integer, name: String ) val documents = Seq ( new Document( 1 ,...
Add a comment...
Wait while more posts are being loaded