Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
Solution to https://twitter.com/nolanlawson/status/578948854411878400.
doSomething().then(function () {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gender: { | |
nominative: { | |
neutral: 'they', | |
masculine: 'he', | |
feminine: 'she', | |
elverson: 'ey', | |
spivak: 'E', | |
humanist: 'hu', | |
peh: 'peh', | |
per: 'per', |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const minute = 60; | |
const hour = minute * 60; | |
const day = hour * 24; | |
const week = day * 7; | |
const month = day * 30; | |
const year = day * 365; | |
/** | |
* Convert a date to a relative time string, such as | |
* "a minute ago", "in 2 hours", "yesterday", "3 months ago", etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script takes a clean Ubuntu Server 24.04 LTS AMI and installs and configures | |
# everything needed to deploy a Rails 7 app to it. The resulting state is a secure, | |
# production-ready instance. | |
set -euo pipefail | |
# --- AESTHETICS --- |