Skip to content

Instantly share code, notes, and snippets.

@NoUseFreak
NoUseFreak / gist:76349a692efe097069b3
Last active February 5, 2016 13:38
phpenv installation
cd /tmp
git clone https://github.com/CHH/phpenv.git
cd phpenv
./bin/phpenv-install.sh 
rm -rf /tmp/phpenv
#!/usr/bin/env ruby
# Usage
# $ docker-machine create my-machine123 -d virtualbox
# $ ruby <(curl -L https://git.io/vvvco) my-machine123
# https://gist.github.com/mattes/4d7f435d759ca2581347
require 'erb'
bootlocalsh = %Q(#/bin/bash

Keybase proof

I hereby claim:

  • I am NoUseFreak on github.
  • I am nousefreak (https://keybase.io/nousefreak) on keybase.
  • I have a public key whose fingerprint is 2133 ADB2 040F 2468 80E4 9749 DCFC E9CF 89C7 5F96

To claim this, I am signing this object:

@NoUseFreak
NoUseFreak / install-solr.md
Created May 6, 2013 20:57
Install solr on a mac.
  • Make sure you have homebrew installed.
  • Install solr.
    brew install solr
  • Make a data folder and copy the example multicore instance. mkdir /var/solr && cp /usr/local/Cellar/solr/4.2.1/libexec/example/multicore /var/solr/multicore
  • Set the permissions correct.
    sudo chown -R `whoami` /usr/local/Cellar/solr/ /var/solr
  • Start solr. solr /var/solr/multicore
  • Access solr at http://localhost:8983/solr/