Skip to content

Instantly share code, notes, and snippets.

package com.danielvaughan.ctci.strings;
/**
* Created with IntelliJ IDEA.
* User: dvaughan
* Date: 13/07/2013
* Time: 13:48
* To change this template use File | Settings | File Templates.
*/
public class HasAllUniqueCharacters {
package com.danielvaughan.wordgame;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
/**
* Created by danielvaughan on 11/09/2014.
*/
public class LetterGenerator {
package com.example.roman;
import com.example.roman.Roman;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Created by danielvaughan on 09/10/2014.
package com.example.roman;
/**
* Created by danielvaughan on 09/10/2014.
*/
public class Roman {
public String fromArabic(int i) {
if(i == 0)
throw new IllegalArgumentException("Zero not allowed");
package camdug;
import com.google.gson.Gson;
import org.zeromq.ZMQ;
public class MQExtensions {
public static void sendT(ZMQ.Socket socket, Object src) {
Gson gson = new Gson();
String json = gson.toJson(src);
@danielvaughan
danielvaughan / main.go
Created April 18, 2017 19:48
Our go message forwarder
package main
import (
"net/http"
"fmt"
"strings"
"time"
"io"
)

Becoming a Spring Certified Professional without the Core Spring Course

Until recently, the only way you could become a Certified Spring Professional was to take Pivotal’s compulsory, 4-day, Core Spring training course. On completion of the course, participants received an exam voucher that allowed them to schedule an exam at a certification centre.

At approximately £2.5k per attendee, the course is not cheap putting certification out of the reach of many self-funded developers and those that work for organisations without generous training budgets.

In May 2017 Pivotal changed their policy. Spring Certification Exams became available for individual purchase without enrolling in the course. I set out to see if it was possible to pass the exam without the Core Spring course and only using publically available material.

I set myself a budget of £250, ap

//INFRASTRUCTURE
CREATE (ingest_core:INFRASTRUCTURE {name:"Ingest Core"})
CREATE (ingest_broker_api:INFRASTRUCTURE {name:"Ingest Broker API"})
CREATE (ingest_broker:INFRASTRUCTURE {name:"Ingest Broker"})
CREATE (ingest_exporter:INFRASTRUCTURE {name:"Ingest Exporter"})
CREATE (ingest_archiver:INFRASTRUCTURE {name:"Ingest Archiver"})
CREATE (ingest_accessioner:INFRASTRUCTURE {name:"Ingest Accessioner"})
CREATE (ingest_validator:INFRASTRUCTURE {name:"Ingest Validator"})
CREATE (ingest_ui:INFRASTRUCTURE {name:"Ingest UI"})
CREATE (ingest_ccc:INFRASTRUCTURE {name:"Cross-cutting Concerns"})

Keybase proof

I hereby claim:

  • I am danielvaughan on github.
  • I am danielvaughan (https://keybase.io/danielvaughan) on keybase.
  • I have a public key ASAYN3G83ZMkoOM21CsFSh2CsIDJVyIdIyAY2IivFLJLbAo

To claim this, I am signing this object:

package main
import (
"compress/gzip"
"encoding/json"
"fmt"
"log"
"os"
)