Skip to content

Instantly share code, notes, and snippets.

Elliot Kroo kroo

View GitHub Profile
@kroo
kroo / Schema.ts.patch
Created Dec 4, 2017
Fix for infinite recursion in ReDoc 2.0.0-alpha.4
View Schema.ts.patch
diff --git a/src/services/models/Schema.ts b/src/services/models/Schema.ts
index c53219e..20cbabf 100644
--- a/src/services/models/Schema.ts
+++ b/src/services/models/Schema.ts
@@ -67,11 +67,13 @@ export class SchemaModel {
this.schema = parser.mergeAllOf(this.rawSchema, this._$ref, isChild);
this.init(parser, isChild);
- parser.exitRef(schemaOrRef);
+ if (!this.isCircular) {
@kroo
kroo / README.md
Last active Jun 26, 2017
A quick n' dirty hack to fix a dying GrowlVoice
View README.md

How to Use

Open up Terminal.app in your /Applications/Utilities directory, then type in these commands, one after each other:

  1. Create a temporary directory for cycript:

    mkdir cycript && cd cycript
    
  2. Pull the latest cycript from cycript.org:

View gist:a283e14f5125fa8cf9483a1f078858cd
git
erlang
rebar
rust
python
node
wget
bash-completion
@kroo
kroo / gist:86b2de3ab8b9ddbdf978715a1495e2c7
Created Feb 4, 2017
New Machine Setup: Brew Cask List
View gist:86b2de3ab8b9ddbdf978715a1495e2c7
Command Line
------------
minikube
cargo
google-cloud-sdk
vagrant
googleappengine
p4merge
virtualbox
vmware-fusion
@kroo
kroo / gist:d9b30207046b9346a3cfa02cd5b30865
Created Feb 4, 2017
New Machine Setup: Brew Cask List
View gist:d9b30207046b9346a3cfa02cd5b30865
Command Line
------------
minikube
cargo
google-cloud-sdk
vagrant
googleappengine
p4merge
virtualbox
vmware-fusion
@kroo
kroo / enable_pne.patch
Created Dec 29, 2009
Apply this patch to put etherpad-open-source into "PNE" mode
View enable_pne.patch
--- a/trunk/etherpad/etc/etherpad.localdev-default.properties Tue Dec 22 14:51:36 2009 -0500
+++ b/trunk/etherpad/etc/etherpad.localdev-default.properties Tue Dec 29 12:58:27 2009 -0800
@@ -14,3 +14,4 @@
transportPrefix = /comet
transportUseWildcardSubdomains = true
useVirtualFileRoot = ./src
+etherpad.pneVersion=1.1.3
\ No newline at end of file
diff -r 78a2f7962089 trunk/etherpad/src/etherpad/licensing.js
--- a/trunk/etherpad/src/etherpad/licensing.js Tue Dec 22 14:51:36 2009 -0500
View gist:e05f861cdaa48404859b
### Keybase proof
I hereby claim:
* I am kroo on github.
* I am kroo (https://keybase.io/kroo) on keybase.
* I have a public key whose fingerprint is 721F 3D54 C855 C41C 243A 9B3C 13AB 6F43 13A0 C0A2
To claim this, I am signing this object:
You can’t perform that action at this time.