Skip to content

Instantly share code, notes, and snippets.

View AlchemistCamp's full-sized avatar


View GitHub Profile
AlchemistCamp / elixir.json5
Created June 1, 2020 12:24
My elixir.json file for Elixir snippets in VS Code
// In VS Code you can create this file via ctrl/cmd +p, and then "> Preferences: Configure User Snippets"
// Each snippet is defined under a snippet name and has a prefix, body and description.
// The prefix is what is used to trigger the snippet and the body will be expanded and inserted.
// Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.

Internationalizing a Phoenix App: Gettext, routing and meta tags


  • A consistent structure under a single domain
  • SEO friendliness
  • Avoid geo-location and other user-hostile practices
  • Do as much as possible from the back-end


  • Painful geo-location experiences (especially in a place with an unfamiliar script)