Skip to content

Instantly share code, notes, and snippets.

mars /
Last active December 19, 2019 22:26 — forked from Micka33/
Cassandra on Mac OS X

Installing Cassandra on Mac OS X

Install Homebrew

Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:

ruby -e "$(curl -fsSL"
mars / foo.rb
Created June 27, 2018 23:09 — forked from mtsmfm/foo.rb
convert from json hyper schema to swagger spec
require 'yaml'
require 'pathname'
require 'active_support/all'
def convert(f)
filename =
yaml = YAML.load_file(filename)
name = filename.basename('.yml').to_s
File.write(filename, {