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
juankiz / catalina_fix.md
Created Aug 7, 2019
Fix elasticsearch on OSX Catalina
View catalina_fix.md

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

        permission java.io.FilePermission "/System/Volumes/Data/usr/local/Cellar/elasticsearch/-", "read";
        permission java.io.FilePermission "/System/Volumes/Data/usr/local/var/elasticsearch/-", "read";
        permission java.io.FilePermission "/System/Volumes/Data/usr/local/var/elasticsearch/-", "write";
        permission java.io.FilePermission "/System/Volumes/Data/usr/local/var/elasticsearch/-", "delete";
        permission java.io.FilePermission "/System/Volumes/Data/usr/local/var/log/elasticsearch/-", "write";
        permission java.io.FilePermission "/System/Volumes/Data/usr/local/var/log/elasticsearch/-", "read";
@juankiz
juankiz / gist:e5c58f1a52bfa1c7739aa5ec8d49414e
Created Oct 17, 2017
Imagemagick install errors, now fixed
View gist:e5c58f1a52bfa1c7739aa5ec8d49414e
brew update
brew rm imagemagick
brew install imagemagick@6
LDFLAGS=-L/usr/local/opt/imagemagick@6/lib
CPPFLAGS=-I/usr/local/opt/imagemagick@6/include
PKG_CONFIG_PATH=/usr/local/opt/imagemagick@6/lib/pkgconfig
gem install rmagick
View keybase.md

Keybase proof

I hereby claim:

  • I am juankiz on github.
  • I am juankiz (https://keybase.io/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
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.