Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Andres Orozco andresoro

🏠
Working from home
View GitHub Profile
View gist:c80c85abf8ca2469b6b698171ec8852a
{
"Iata": "OKC",
"Address": "6300 AIR CARGO RD BAY M\nOKLAHOMA CITY\nOK\n73159",
"Days": {
"friday": [
{
"Start": "04:30",
"End": "21:00"
}
],
@andresoro
andresoro / README.md
Created Sep 20, 2019 — forked from evalphobia/README.md
Golang Benchmark: gob vs json
View README.md

tl;dr

  • gob is faster on Go1.7.1
    • map[int64]float64
    • []map[int64]float64

about

benchmark result to encode/decode map[int64]float64

View gist:1703acdb3d5c1a00a2aaff891c94c73a
'''
### ASCII Maze Master
Write a program that will find a path through a simple maze. A simple maze in this context is a maze where all of the walls are connected to each other. Take this example maze segment.
```
# # ### #
# #
# ### B #
# # B #
@andresoro
andresoro / postgres-cheatsheet.md
Created May 30, 2018 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet
View postgres-cheatsheet.md

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
You can’t perform that action at this time.