Skip to content

Instantly share code, notes, and snippets.

@DanielVartanov
DanielVartanov / Gemfile
Last active July 19, 2020 07:54 — forked from DannyBen/Gemfile
Demonstrating TTY Prompt testing with rspec
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
gem "tty-prompt", github: 'piotrmurach/tty-prompt'
gem "tty-testing", github: 'DanielVartanov/tty-testing'
gem "rspec"
@DanielVartanov
DanielVartanov / ElasticSearch.sh
Created March 9, 2016 14:48 — forked from ricardo-rossi/ElasticSearch.sh
Installing ElasticSearch on Ubuntu 14.04
#!/bin/bash
### USAGE
###
### ./ElasticSearch.sh 1.7 will install Elasticsearch 1.7
### ./ElasticSearch.sh will fail because no version was specified (exit code 1)
###
### CLI options Contributed by @janpieper
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch