Skip to content

Instantly share code, notes, and snippets.

View kroo's full-sized avatar

Elliot Kroo kroo

View GitHub Profile
#!/bin/bash -x
#
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA Corporation and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA Corporation is strictly prohibited.
#
@kroo
kroo / Schema.ts.patch
Created December 4, 2017 17:59
Fix for infinite recursion in ReDoc 2.0.0-alpha.4
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 / gist:a283e14f5125fa8cf9483a1f078858cd
Created February 4, 2017 21:44
New Machine Setup: Brew List
git
erlang
rebar
rust
python
node
wget
bash-completion
@kroo
kroo / gist:86b2de3ab8b9ddbdf978715a1495e2c7
Created February 4, 2017 21:34
New Machine Setup: Brew Cask List
Command Line
------------
minikube
cargo
google-cloud-sdk
vagrant
googleappengine
p4merge
virtualbox
vmware-fusion
@kroo
kroo / gist:d9b30207046b9346a3cfa02cd5b30865
Created February 4, 2017 21:34
New Machine Setup: Brew Cask List
Command Line
------------
minikube
cargo
google-cloud-sdk
vagrant
googleappengine
p4merge
virtualbox
vmware-fusion
### 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:
@kroo
kroo / README.md
Last active June 26, 2017 18:11
A quick n' dirty hack to fix a dying GrowlVoice

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:

@kroo
kroo / enable_pne.patch
Created December 29, 2009 20:59
Apply this patch to put etherpad-open-source into "PNE" mode
--- 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