Skip to content

Instantly share code, notes, and snippets.

Avatar
🔆

Mars Hall mars

🔆
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 Dec 19, 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.