Skip to content

Instantly share code, notes, and snippets.

View coreymartella's full-sized avatar

Corey Martella coreymartella

  • Waterloo, Ontario, Canada
View GitHub Profile
@coreymartella
coreymartella / index.html
Created July 19, 2017 18:08 — forked from tomhodgins/html-tooltips.html
HTML inside Bootstrap tooltips
<!DOCTYPE html>
<html>
<head>
<title>Tooltip HTML Styles</title>
<!-- Bootstrap: with responsive, no icons -->
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<!-- FontAwesome -->
<link href="http://netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet">
@coreymartella
coreymartella / index.md
Last active September 7, 2017 14:40 — forked from tobyhede/gist:3179978
Date format cheat sheet

Server Side (Ruby)

From http://linux.die.net/man/3/strftime

  • %a - The abbreviated weekday name (Sun)
  • %A - The full weekday name (Sunday)
  • %b - The abbreviated month name (Jan)
  • %B - The full month name (January)
  • %d - Day of the month (01..31)
  • %e - Day of the month without leading 0 (1..31)
  • %g - Year in YY (00-99`)