Skip to content

Instantly share code, notes, and snippets.

View narath's full-sized avatar

Narath Carlile narath

View GitHub Profile
@narath
narath / application.js
Last active February 16, 2021 20:41 — forked from bkeepers/application.js
Get timezone offset from the browser and use it for timezones in Rails
// jquery-cookies retired, moved this to js-cookie which no longer requires jQuery
import Cookies from 'js-cookie'
Cookies.set('tz', (new Date()).getTimezoneOffset());
@narath
narath / realm_words
Last active August 29, 2015 14:13 — forked from anonymous/realm_words
Menopause
Antibiotics
Exercise
Jaundice
Rectal
@narath
narath / realm_words
Last active August 29, 2015 14:13 — forked from anonymous/realm_words
Menopause
Antibiotics
Exercise
Jaundice
Rectal