Skip to content

Instantly share code, notes, and snippets.

Avatar

Scott Aubrey scottaubrey

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am scottaubrey on github.
  • I am scottaubrey (https://keybase.io/scottaubrey) on keybase.
  • I have a public key ASBe62jVqcrIUhUM_yRzYUvSCLk-eK6Z82nQ0UkFX1CpQQo

To claim this, I am signing this object:

@scottaubrey
scottaubrey / stacktrace
Created Jun 10, 2015
Stack trace for PHP plugin in sonarqube
View stacktrace
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:100)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
@scottaubrey
scottaubrey / gist:9a9e219ea9c8b56b84a0
Last active Aug 29, 2015
PHP deflate-flush.patch
View gist:9a9e219ea9c8b56b84a0
diff -r 3f34ad90be60 ext/zlib/zlib_filter.c
--- a/ext/zlib/zlib_filter.c Fri Feb 27 11:10:32 2015 +0000
+++ b/ext/zlib/zlib_filter.c Fri Feb 27 11:26:08 2015 +0000
@@ -239,7 +239,7 @@
php_stream_bucket_delref(bucket TSRMLS_CC);
}
- if (flags & PSFS_FLAG_FLUSH_CLOSE) {
+ if (flags & PSFS_FLAG_FLUSH_CLOSE || flags & PSFS_FLAG_FLUSH_INC) {
/* Spit it out! */