Skip to content

Instantly share code, notes, and snippets.

View Beerware License
/*
* ------------------------------------------------------------
* "THE BEERWARE LICENSE" (Revision 42):
* <author> wrote this code. As long as you retain this
* notice, you can do whatever you want with this stuff. If we
* meet someday, and you think this stuff is worth it, you can
* buy me a beer in return.
* ------------------------------------------------------------
*/
@GlenCorreia
GlenCorreia / rails http status codes
Created Apr 25, 2021 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
View rails http status codes
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@GlenCorreia
GlenCorreia / markdown_cheatsheet.txt
Created Oct 1, 2018
A simple and short overview of markdown techniques.
View markdown_cheatsheet.txt
Italics and Bold
=> Italics: _some text_
=> Bold: **bold text**
=> Bold and Italics: **_bolditalics_** OR _**bolditalics**_ OR _bold **and** italics_
Headers
=> h1: #header1
=> h2: ##header2
=> h3: ###header3
=> h4: ####header4
@GlenCorreia
GlenCorreia / js-tricky-bits.md
Created Sep 28, 2018 — forked from amysimmons/js-tricky-bits.md
Understanding closures, callbacks and promises in JavaScript
View js-tricky-bits.md

#Understanding closures, callbacks and promises

For a code newbie like myself, callbacks, closures and promises are scary JavaScript concepts.

10 months into my full-time dev career, and I would struggle to explain these words to a peer.

So I decided it was time to face my fears, and try to get my head around each concept.

Here are the notes from my initial reading. I'll continue to refine them as my understanding improves.