Skip to content

Instantly share code, notes, and snippets.

Mars Hall mars

Block or report user

Report or block mars

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
@mars
mars / foo.rb
Created Jun 27, 2018 — forked from mtsmfm/foo.rb
convert from json hyper schema to swagger spec
View foo.rb
require 'yaml'
require 'pathname'
require 'active_support/all'
def convert(f)
filename = Pathname.new(f)
yaml = YAML.load_file(filename)
name = filename.basename('.yml').to_s
File.write(filename, {
@mars
mars / install.md
Last active Feb 10, 2019 — forked from Micka33/install.md
Cassandra on Mac OS X
View install.md

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 https://raw.github.com/Homebrew/homebrew/go/install)"
You can’t perform that action at this time.