Mix.install([
{:tesla, "~> 1.6"},
{:kino, "~> 0.9.2"},
{:nx, "~> 0.4"},
{:evision, "~> 0.1"}
])
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
/** | |
* @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
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
[ | |
{ | |
"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
defmodule AppWeb.Host do | |
@moduledoc """ | |
Conveniences for working with host. | |
""" | |
def root do | |
Keyword.get(get_config(), :root) | |
end | |
def root_uri do | |
Keyword.get(get_config(), :root_uri) |
OlderNewer