Full threadnabla9·Don't drink caffeine 4-6 hours before midnight.Install F.lux or reshift. They adjust your display's color temperature automatically to nightime.View on HN