Skip to content

Instantly share code, notes, and snippets.

Juan Carlos Rojas juankiz

Block or report user

Report or block juankiz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
juankiz /
Created Aug 7, 2019
Fix elasticsearch on OSX Catalina

Edit /Library/Java/JavaVirtualMachines/*your java version*/Contents/Home/jre/lib/security/java.policy add before the closing bracket:

        permission "/System/Volumes/Data/usr/local/Cellar/elasticsearch/-", "read";
        permission "/System/Volumes/Data/usr/local/var/elasticsearch/-", "read";
        permission "/System/Volumes/Data/usr/local/var/elasticsearch/-", "write";
        permission "/System/Volumes/Data/usr/local/var/elasticsearch/-", "delete";
        permission "/System/Volumes/Data/usr/local/var/log/elasticsearch/-", "write";
        permission "/System/Volumes/Data/usr/local/var/log/elasticsearch/-", "read";
juankiz / gist:e5c58f1a52bfa1c7739aa5ec8d49414e
Created Oct 17, 2017
Imagemagick install errors, now fixed
View gist:e5c58f1a52bfa1c7739aa5ec8d49414e
brew update
brew rm imagemagick
brew install imagemagick@6
gem install rmagick

Keybase proof

I hereby claim:

  • I am juankiz on github.
  • I am juankiz ( on keybase.
  • I have a public key ASCaWsADU3Wts3xMj27bUDaKAcoRfbJuCq5z0IjHuZTy1Ao

To claim this, I am signing this object:

View gist:04b1094e44f61818d915
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
juankiz / gist:a57452192802b33a2017
Created May 1, 2014
Clean git logs (~ 10GB of HDD space)
View gist:a57452192802b33a2017
find ./ | grep \.log$ | xargs rm
You can’t perform that action at this time.