Skip to content

Instantly share code, notes, and snippets.

View vitoyayo's full-sized avatar
🌴

Victor Cedeno vitoyayo

🌴
View GitHub Profile
@vitoyayo
vitoyayo / mermaid-pandoc-guide.md
Created October 12, 2024 19:25 — forked from letientai299/mermaid-pandoc-guide.md
Render PDF from markdown that using mermaid

Render PDF from Markdown that using mermaid

You will need:

This guide is based on Ubuntu, for other OS, use their package manager instead.

@vitoyayo
vitoyayo / postgres-brew.md
Created January 27, 2021 12:01 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@vitoyayo
vitoyayo / hash_recap.rb
Created September 4, 2020 13:24 — forked from stevecass/hash_recap.rb
Ruby hash recap
h1 = Hash.new # => {}
h2 = Hash.new("a") # => {}
h3 = {} # => {}
h4 = {abc: "def"} # => {:abc=>"def"}
h5 = {:abc => "def"} # => {:abc=>"def"}
h6 = {"abc" => "def"} # => {"abc"=>"def"}
h1["abc"] # => nil
h1.fetch("abc", "kitty") # => "kitty"