Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sgrimm-sg on github.
  • I am sgrimm_segovia (https://keybase.io/sgrimm_segovia) on keybase.
  • I have a public key whose fingerprint is 69ED 4BA6 92FD A656 845C BC33 976C BD27 EA9E AB88

To claim this, I am signing this object:

@sgrimm-sg
sgrimm-sg / slow-lateral.py
Created November 14, 2015 06:03
Demonstration of LATERAL performance issue on PostgreSQL 9.4
#!/usr/bin/env python3
print("""
DROP TABLE settings;
DROP TABLE multi_id;
CREATE TABLE multi_id (
id1 INTEGER PRIMARY KEY,
id2 INTEGER,
id3 INTEGER
@sgrimm-sg
sgrimm-sg / gist:5d69ca50237b4ca1cf2f
Created October 16, 2015 02:03
Spring Boot startup demonstrating NullPointerException message from Spring AMQP
crisp~/spring-boot/spring-boot-samples/spring-boot-sample-amqp(master|✔) % java -jar target/spring-boot-sample-amqp-1.3.0.BUILD-SNAPSHOT.jar
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.3.0.BUILD-SNAPSHOT)