Skip to content

Instantly share code, notes, and snippets.

View evgeniy-trebin's full-sized avatar
🏠
Working from home

Evgeniy Trebin evgeniy-trebin

🏠
Working from home
View GitHub Profile
@evgeniy-trebin
evgeniy-trebin / brew_elasticsearch.sh
Last active September 21, 2022 22:39
How to install specific version of elasticsearch via brew
brew tap homebrew/versions
brew cask install java
brew search elasticsearch
brew install elasticsearch@2.3
brew services start elasticsearch@2.3
@evgeniy-trebin
evgeniy-trebin / postgres_start_up.sh
Last active March 14, 2017 10:14
Postgresql load at startup in Mac OS
brew services start postgresql
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
@evgeniy-trebin
evgeniy-trebin / gem_install_puma.sh
Created March 13, 2017 10:59
ERROR: Error installing puma: ERROR: Failed to build gem native extension.
gem install puma -v 2.13.4 -- --with-opt-dir=/usr/local/opt/openssl
@evgeniy-trebin
evgeniy-trebin / libv8_therubyracer_install.sh
Last active February 25, 2017 07:47
Install therubyracer on the OSX ( libv8 therubyracer error )
brew tap homebrew/versions
brew uninstall v8
gem uninstall -a libv8
gem uninstall -a therubyracer
brew install v8-315
- if it throws error from the previous v8
brew unlink v8
@evgeniy-trebin
evgeniy-trebin / ensure_xvfb_is_running.sh
Last active September 14, 2016 17:04
ensure_xvfb_is_running fix
mkdir /tmp/.X11-unix
sudo chmod 1777 /tmp/.X11-unix
sudo chown root /tmp/.X11-unix/