Skip to content

Instantly share code, notes, and snippets.

View leahhuyghe's full-sized avatar

Leah leahhuyghe

  • San Francisco, CA
View GitHub Profile
@leahhuyghe
leahhuyghe / meta-tags.md
Last active September 11, 2015 03:14 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>

#Data Structures

Arrays | Hashes

Arrays

In Ruby, we define an aray simply using square brackets []

a = [1, 59, "Hey", "Yo", 200]
a[2]                  # "Hey"

You can put anything inside an array