Application.put_env(:ash, :validate_api_resource_inclusion?, false)
Application.put_env(:ash, :validate_api_config_inclusion?, false)
Mix.install([:ash, :faker], consolidate_protocols: false)
This file contains 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
def icon(%{name: "hero-" <> _} = assigns) do | |
~H""" | |
<span class={[@name, @class]} /> | |
""" | |
end | |
# Add the pattern match fn for lucide | |
def icon(%{name: "lucide-" <> _} = assigns) do | |
~H""" | |
<span class={[@name, @class]} /> |
This file contains 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
nmake /f makefile.win | |
Microsoft (R) Program Maintenance Utility Version 14.32.31329.0 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
del /Q /F priv | |
erl -noshell -s init stop -eval "io:setopts(standard_io, [{encoding, unicode}]), io:format(\"ERTS_INCLUDE_PATH=~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)])." > Makefile.auto.win | |
nmake /F Makefile.win priv\vix.dll | |
Microsoft (R) Program Maintenance Utility Version 14.32.31329.0 |
This file contains 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
/** | |
* @license MIT | |
* timeago.js 4.0.2 | |
* https://github.com/mrdotb/timeago.js | |
* Copyright (c) 2016 Hust.cc | |
*/ | |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).timeago={})}(this,function(e){"use strict";function t(e,t){n[e]=t}function r(e){return n[e]||n.en_US}var n={},a=[60,60,24,7,365/7/12,12];function o(e){return e instanceof Date?e:!isNaN(e)||/^\d+$/.test(e)?new Date(parseInt(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(e))}function s(e,t){for(var n=e<0?1:0,r=e=Math.abs(e),o=0;e>=a[o]&&o<a.length;o++)e/=a[o];return(0===(o*=2)?9:1)<(e=Math.floor(e))&&(o+=1),t(e,o,r)[n].replace("%s",e.toString())}function u(e,t){return(+(t?o(t):new Date)-+o(e))/1e3}var c="timeago-id";function f(e){return parseInt(e.getAttribute(c))}var d={},g=function(e){clearTimeout(e),delete d[e]};function l( |
This file contains 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 ProbuildExWeb.GameLive.RowComponent do | |
use ProbuildExWeb, :live_component | |
alias Phoenix.LiveView.JS | |
alias ProbuildEx.App | |
import ProbuildExWeb.GameLive.GridElementComponent | |
import ProbuildExWeb.GameLive.DdragonComponent | |
@defaults %{ |
This file contains 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
[ | |
{ | |
"current_ign": "다난번", | |
"current_team": "Team Aze", | |
"league": "LLA", | |
"main_role": "adc", | |
"normalized_name": "5kid", | |
"official_name": "5kid", | |
"region_id": "kr" | |
}, |
This file contains 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
create table opening_hours | |
( | |
-- il est possible d'utiliser les horaires d'une boutique en particulier pour l'eshop | |
point_of_sale_id uuid REFERENCES point_of_sale (uuid), -- donc nullable | |
-- il est aussi possible pour l'eshop d'avoir ses propres horaires | |
terminal_eshop_id uuid REFERENCES terminal_eshops (uuid), -- donc nullable | |
day_of_the_week integer NOT NULL, | |
open time without time zone not NULL, -- est-ce qu'on a besoin de stocker la time zone ? | |
close time without time zone not NULL | |
); |
NewerOlder