Skip to content

Instantly share code, notes, and snippets.

View huarmenta's full-sized avatar
💭
Fullsnack developer

Hugo Armenta huarmenta

💭
Fullsnack developer
View GitHub Profile
@huarmenta
huarmenta / falsehoods-programming-time-list.md
Created March 5, 2024 19:11 — forked from timvisee/falsehoods-programming-time-list.md
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@huarmenta
huarmenta / Dockerfile
Created November 6, 2017 19:12 — forked from RoyalIcing/Dockerfile
Rails 5.1 Dockerfile
FROM ruby:2.4-alpine
ENV PATH /root/.yarn/bin:$PATH
RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh build-base nodejs tzdata
RUN apk update \
&& apk add curl bash binutils tar gnupg \
&& rm -rf /var/cache/apk/* \