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
@doc """ | |
Renders an icon. | |
Supports three icon libraries: | |
- [Heroicons](https://heroicons.com) - prefixed with "hero-" | |
- [Lucide](https://lucide.dev) - prefixed with "lucide-" | |
- [Simple Icons](https://simpleicons.org) - prefixed with "si-" | |
You can customize the size and colors of the icons by setting | |
width, height, and background color classes. |
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
add_searchable_column("skills", "searchable", "english", [ | |
{:string, "name"}, | |
{:array, "alt_names"}, | |
{:array, "hidden_labels"} | |
]) | |
add_translated_searchable_column( | |
"skills", | |
"searchable_pt", | |
"portuguese", |
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
defmodule Elixir.Cache do | |
@moduledoc """ | |
Author: Nuno M. | |
Warning: This is exploratory, not tested at all. | |
A simple Cache system implement using ETS as a way to | |
create in-memory cache named tables. | |
In order to keep concurrent access to the cache tables, methods |