hexsha
stringlengths
40
40
size
int64
2
991k
ext
stringclasses
2 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
208
max_stars_repo_name
stringlengths
6
106
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
list
max_stars_count
int64
1
33.5k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
208
max_issues_repo_name
stringlengths
6
106
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
list
max_issues_count
int64
1
16.3k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
208
max_forks_repo_name
stringlengths
6
106
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
list
max_forks_count
int64
1
6.91k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
2
991k
avg_line_length
float64
1
36k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
217d6f5e873eb6d0e7887db89484e0a0711208c9
169
exs
Elixir
.formatter.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
.formatter.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
.formatter.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
[ inputs: [ "apps/*/{lib,config,test}/**/*.{ex,exs}", "apps/*/mix.exs", "rel/config.exs", "config/*", "mix.exs", "priv/itest/*.{ex,exs}" ] ]
15.363636
45
0.449704
217d7b78fa8cc67708ef8f00d7e6ba3f198094cf
570
ex
Elixir
lib/techtree_web/views/projects/project_contributors_view.ex
kenkeiras/MonTree
7ec724634c123ee085921c4cac07800c9a15e4ec
[ "WTFPL" ]
2
2018-10-26T06:06:42.000Z
2020-02-16T15:01:42.000Z
lib/techtree_web/views/projects/project_contributors_view.ex
kenkeiras/TechTree
26c8ca59855002a88bf15eb0b64a6c788f438ec8
[ "WTFPL" ]
108
2018-10-25T10:30:33.000Z
2021-07-28T04:18:03.000Z
lib/techtree_web/views/projects/project_contributors_view.ex
kenkeiras/TechTree
26c8ca59855002a88bf15eb0b64a6c788f438ec8
[ "WTFPL" ]
null
null
null
defmodule TechtreeWeb.Projects.ProjectContributorsView do use TechtreeWeb, :view alias Techtree.Projects.Contributor alias Techtree.Accounts.User def render("result.json", %{contributors: contributors}) do filtered = for c <- contributors, do: filter_contributor(c) %{contributors: filtered} end d...
24.782609
63
0.710526
217d862b4865f0c4a3eba005671104d82b553f81
64
ex
Elixir
lib/example_web/views/central_views.ex
Teifion/central
feaeb35ec855b62a3ff8de6c364f6190ef0a196c
[ "MIT" ]
1
2022-01-03T16:36:25.000Z
2022-01-03T16:36:25.000Z
lib/example_web/views/central_views.ex
Teifion/central
feaeb35ec855b62a3ff8de6c364f6190ef0a196c
[ "MIT" ]
null
null
null
lib/example_web/views/central_views.ex
Teifion/central
feaeb35ec855b62a3ff8de6c364f6190ef0a196c
[ "MIT" ]
null
null
null
defmodule ExampleWeb.CentralView do use ExampleWeb, :view end
16
35
0.8125
217d909b27035537cb349fb1995bcb675b9efae8
3,820
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_custom_event.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_custom_event.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_custom_event.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
50.263158
218
0.711518
217d916ebb18f205bbb9ee0f3df8ff883f41c40f
2,747
exs
Elixir
test/components/form/email_input_test.exs
jshmrtn/surface
5ddbbc67b2c165ba53a85c68c0da8fce491472f2
[ "MIT" ]
1
2021-04-30T14:28:08.000Z
2021-04-30T14:28:08.000Z
test/components/form/email_input_test.exs
davydog187/surface
6547e015a70d06fe20548b5618d0666c4f7481d1
[ "MIT" ]
null
null
null
test/components/form/email_input_test.exs
davydog187/surface
6547e015a70d06fe20548b5618d0666c4f7481d1
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.EmailInputTest do use Surface.ConnCase, async: true alias Surface.Components.Form.EmailInput test "empty input" do html = render_surface do ~H""" <EmailInput form="user" field="email" /> """ end assert html =~ """ <input i...
22.333333
94
0.552603
217da237ba5c90a3cfe9bed4ff4c0697c9ce7b7a
1,036
exs
Elixir
test/test_helper.exs
dcrck/solana-spl-elixir
e81cc1e9c7e028ec6e6547a30f3649e13dcd8d88
[ "MIT" ]
8
2021-11-16T23:56:04.000Z
2022-02-19T08:48:33.000Z
test/test_helper.exs
dcrck/solana-spl-elixir
e81cc1e9c7e028ec6e6547a30f3649e13dcd8d88
[ "MIT" ]
null
null
null
test/test_helper.exs
dcrck/solana-spl-elixir
e81cc1e9c7e028ec6e6547a30f3649e13dcd8d88
[ "MIT" ]
1
2021-11-29T07:19:05.000Z
2021-11-29T07:19:05.000Z
alias Solana.TestValidator extra_programs = [ {Solana.SPL.TokenSwap, ["solana-program-library", "target", "deploy", "spl_token_swap.so"]}, ["solana-program-library", "target", "deploy", "spl_governance"] ] opts = [ ledger: "/tmp/test-ledger", bpf_program: Enum.map(extra_programs, fn {mod, path} -> ...
27.263158
94
0.571429
217dd8ce6010f847620f7ef54b21c802879ce94f
110
ex
Elixir
lib/chewiepay/repo.ex
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
4
2021-02-22T18:27:51.000Z
2021-02-28T21:54:12.000Z
lib/chewiepay/repo.ex
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
null
null
null
lib/chewiepay/repo.ex
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
null
null
null
defmodule Chewiepay.Repo do use Ecto.Repo, otp_app: :chewiepay, adapter: Ecto.Adapters.Postgres end
18.333333
35
0.736364
217e0127a8b9ee238afb9064753894e4edd37b7b
2,891
ex
Elixir
elixir/lib/homework/transactions.ex
simmons-hayden/web-homework
de9e339f2c6e5c082ea1b3f14aeb54caf03752f1
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions.ex
simmons-hayden/web-homework
de9e339f2c6e5c082ea1b3f14aeb54caf03752f1
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions.ex
simmons-hayden/web-homework
de9e339f2c6e5c082ea1b3f14aeb54caf03752f1
[ "MIT" ]
null
null
null
defmodule Homework.Transactions do @moduledoc """ The Transactions context. """ import Ecto.Query, warn: false import HomeworkWeb.Helpers alias Homework.Repo alias Homework.Transactions.Transaction @doc """ Returns the list of transactions. ## Examples iex> list_transactions([]) [%T...
20.949275
75
0.646143
217e6b40e40ad80a199a92bdcfe0a423462c201e
1,219
exs
Elixir
rustler_tests/test/binary_test.exs
Regikul/rustler
9a91b939aa64c3d129696c81ae2752716a152de4
[ "Apache-2.0", "MIT" ]
null
null
null
rustler_tests/test/binary_test.exs
Regikul/rustler
9a91b939aa64c3d129696c81ae2752716a152de4
[ "Apache-2.0", "MIT" ]
null
null
null
rustler_tests/test/binary_test.exs
Regikul/rustler
9a91b939aa64c3d129696c81ae2752716a152de4
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule RustlerTest.BinaryTest do use ExUnit.Case, async: true test "subbinary creation" do assert RustlerTest.make_shorter_subbinary("test") == "es" assert_raise ErlangError, fn -> RustlerTest.make_shorter_subbinary("t") end end test "parse integer from binary" do assert RustlerTest.parse_integ...
31.25641
92
0.701395
217ea6ec97e7a2bf48fd5c756f2a61c0f126d7fb
360
exs
Elixir
config/dev.exs
chrismccord/beam_toolbox_web
8aaf37b073cc4ca619e33d3742b51335a8944201
[ "MIT" ]
1
2018-01-14T09:41:05.000Z
2018-01-14T09:41:05.000Z
config/dev.exs
chrismccord/beam_toolbox_web
8aaf37b073cc4ca619e33d3742b51335a8944201
[ "MIT" ]
null
null
null
config/dev.exs
chrismccord/beam_toolbox_web
8aaf37b073cc4ca619e33d3742b51335a8944201
[ "MIT" ]
null
null
null
use Mix.Config config :phoenix, BeamToolboxWeb.Router, port: System.get_env("PORT") || 4000, ssl: false, code_reload: true, cookies: true, consider_all_requests_local: true, session_key: "_beam_toolbox_web_key", session_secret: "@TFCIFT_#V0ZN_^X)&UD1!3D_FFI8CH1E#0=12_!6&P4JWFY1S3VXX18F$TM0H(1NQH%I" conf...
22.5
89
0.738889
217eb62ec25513356548c6e5458ffeded63d422a
1,540
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/empty.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/iam/lib/google_api/iam/v1/model/empty.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/empty.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
30.8
77
0.738961
217ed6d0e414612b94c0041a2176a58d1c480c9e
770
ex
Elixir
lib/otto_api/me.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
null
null
null
lib/otto_api/me.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
1
2020-11-11T15:16:51.000Z
2020-11-11T20:53:34.000Z
lib/otto_api/me.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
null
null
null
defmodule OttoApi.Me do defstruct [:account_id, :auth0_user_id, :id, :account_name, :account_description] alias OttoApi.Client def get(client) do case Client.get(client, "/me") do {:ok, %{ "data" => %{ "id" => id, "auth0_user_id" => auth0_user_id, "acco...
24.0625
83
0.536364
217eea4dfec5713ff6340db605fe6d9c490b6572
14,901
ex
Elixir
lib/horde/supervisor_impl.ex
amatalai/horde
b94c96e186450672279d40b754c36b80dea9e2b8
[ "MIT" ]
null
null
null
lib/horde/supervisor_impl.ex
amatalai/horde
b94c96e186450672279d40b754c36b80dea9e2b8
[ "MIT" ]
null
null
null
lib/horde/supervisor_impl.ex
amatalai/horde
b94c96e186450672279d40b754c36b80dea9e2b8
[ "MIT" ]
null
null
null
defmodule Horde.SupervisorImpl do require Logger use GenServer # 60s defmodule State do @moduledoc false defstruct pid: nil, node_id: nil, name: nil, members_pid: nil, processes_pid: nil, members: %{}, processes: %{}, ...
26.94575
97
0.600362
217eface22e94fc8ddf9dada2d8d621a08020eb8
390
ex
Elixir
lib/from_the_ashes_web/controllers/hello_controller.ex
hazen/from_the_ashes
05b4468b6ce5ff0225ff2fed5e27d6055bf3d852
[ "MIT" ]
null
null
null
lib/from_the_ashes_web/controllers/hello_controller.ex
hazen/from_the_ashes
05b4468b6ce5ff0225ff2fed5e27d6055bf3d852
[ "MIT" ]
1
2021-03-09T22:08:11.000Z
2021-03-09T22:08:11.000Z
lib/from_the_ashes_web/controllers/hello_controller.ex
hazen/from_the_ashes
05b4468b6ce5ff0225ff2fed5e27d6055bf3d852
[ "MIT" ]
null
null
null
defmodule FromTheAshesWeb.HelloController do use FromTheAshesWeb, :controller def index(conn, _params) do conn |> put_flash(:info, "Welcome to Phoenix, from flash info!") |> put_flash(:error, "Let's pretend we have an error.") |> render("index.html") end def show(conn, %{"messenger" => messeng...
26
63
0.679487
217f0b17de045f64db5fee07bea545f004714c33
1,880
exs
Elixir
test/decoding/append_raw_line_test.exs
y86/csv
a4794926f5e86bc0736341ac8d7265b8b4dd9eb7
[ "MIT" ]
null
null
null
test/decoding/append_raw_line_test.exs
y86/csv
a4794926f5e86bc0736341ac8d7265b8b4dd9eb7
[ "MIT" ]
null
null
null
test/decoding/append_raw_line_test.exs
y86/csv
a4794926f5e86bc0736341ac8d7265b8b4dd9eb7
[ "MIT" ]
null
null
null
defmodule DecodingTests.AppendRawLineTest do use ExUnit.Case import TestSupport.StreamHelpers alias CSV.Decoding.Decoder alias CSV.RowLengthError alias CSV.EscapeSequenceError alias CSV.StrayQuoteError alias CSV.EncodingError defp filter_errors(stream) do stream |> Stream.filter(fn {:err...
34.181818
97
0.625532
217f0be99452b4c1683f15311ab59347b6e97f21
684
exs
Elixir
plugins/one_chat/priv/repo/migrations/02620170217224533_create_starred_message.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_chat/priv/repo/migrations/02620170217224533_create_starred_message.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_chat/priv/repo/migrations/02620170217224533_create_starred_message.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneChat.Repo.Migrations.CreateStarredMessage do use Ecto.Migration def change do create table(:starred_messages, primary_key: false) do add :id, :binary_id, primary_key: true add :user_id, references(:users, on_delete: :nilify_all, type: :binary_id) add :message_id, references(:mess...
34.2
86
0.714912
217f142f90d231c621ce8bf882c7277bba4a644f
21,898
exs
Elixir
test/phoenix/integration/websocket_channels_test.exs
h3xby/phoenix
708c8f54ded40fdfeb0c1a7b874ccd5af4959f0f
[ "MIT" ]
null
null
null
test/phoenix/integration/websocket_channels_test.exs
h3xby/phoenix
708c8f54ded40fdfeb0c1a7b874ccd5af4959f0f
[ "MIT" ]
null
null
null
test/phoenix/integration/websocket_channels_test.exs
h3xby/phoenix
708c8f54ded40fdfeb0c1a7b874ccd5af4959f0f
[ "MIT" ]
null
null
null
Code.require_file "../../support/websocket_client.exs", __DIR__ defmodule Phoenix.Integration.WebSocketChannelsTest do use ExUnit.Case import ExUnit.CaptureLog alias Phoenix.Integration.WebsocketClient alias Phoenix.Socket.{V1, V2, Message} alias __MODULE__.Endpoint @moduletag :capture_log @port 5807 ...
36.927487
132
0.551557
217f2cad8c38cf4a4aeeb961e913fd80a9e71894
1,017
ex
Elixir
lib/output/logger.ex
aeturnum/stenotype
90e7b9be60ee748ab046f46005bd17b17f1d153a
[ "Apache-2.0" ]
null
null
null
lib/output/logger.ex
aeturnum/stenotype
90e7b9be60ee748ab046f46005bd17b17f1d153a
[ "Apache-2.0" ]
null
null
null
lib/output/logger.ex
aeturnum/stenotype
90e7b9be60ee748ab046f46005bd17b17f1d153a
[ "Apache-2.0" ]
null
null
null
defmodule Stenotype.Output.Logger do require Logger alias Stenotype.Format.{ Timestamp, LogLevel } @metadata [stenotype: true] def output(line, :info), do: Logger.info(line, Keyword.put(@metadata, :statement, line)) def output(line, :debug), do: Logger.debug(line, Keyword.put(@metadata, :statemen...
36.321429
94
0.700098
217f4d1fb3f2ad5c2fec089d12c72379be8f65e9
714
ex
Elixir
lib/kwtool/crawlers/schemas/keyword.ex
byhbt/kwtool
8958a160066e3e4c61806202af2563541f2261e3
[ "MIT" ]
5
2021-12-14T08:18:24.000Z
2022-03-29T10:02:48.000Z
lib/kwtool/crawlers/schemas/keyword.ex
byhbt/kwtool
8958a160066e3e4c61806202af2563541f2261e3
[ "MIT" ]
32
2021-03-21T16:32:18.000Z
2022-03-23T08:00:37.000Z
lib/kwtool/crawlers/schemas/keyword.ex
byhbt/kwtool
8958a160066e3e4c61806202af2563541f2261e3
[ "MIT" ]
1
2021-06-03T17:22:16.000Z
2021-06-03T17:22:16.000Z
defmodule Kwtool.Crawlers.Schemas.Keyword do use Ecto.Schema import Ecto.Changeset @statuses %{ added: "added", in_process: "in_process", finished: "finished", failed: "failed" } schema "keywords" do field :phrase, :string field :raw_result, :string field :status, :string t...
22.3125
61
0.661064
217f4e67ce502d785f405435072dc37ded922f70
670
ex
Elixir
apps/rig/lib/rig/event_stream/kafka_to_filter.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
apps/rig/lib/rig/event_stream/kafka_to_filter.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
132
2018-11-26T14:00:54.000Z
2022-03-11T04:17:54.000Z
apps/rig/lib/rig/event_stream/kafka_to_filter.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
1
2020-07-17T05:17:32.000Z
2020-07-17T05:17:32.000Z
defmodule Rig.EventStream.KafkaToFilter do @moduledoc """ Consumes events and forwards them to the event filter by event type. """ use Rig.KafkaConsumerSetup alias Rig.EventFilter alias RigCloudEvents.CloudEvent # --- def validate(conf), do: {:ok, conf} # --- def kafka_handler(message) do ...
21.612903
70
0.659701
217f6e955fa1835c71eedebfd75bbaed26a7a306
1,387
ex
Elixir
lib/game/command/examine.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/examine.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/examine.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.Command.Examine do @moduledoc """ The "info" command """ use Game.Command alias Game.Format.Items, as: FormatItems alias Game.Item alias Game.Items commands(["examine"]) @impl Game.Command def help(:topic), do: "Examine" def help(:short), do: "View information about items in you...
23.116667
99
0.633021
217f71f4c31ca55aedbf0ac8bd689c167dbceb5a
14,851
exs
Elixir
lib/mix/test/mix/tasks/deps.git_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/mix/test/mix/tasks/deps.git_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/mix/test/mix/tasks/deps.git_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.DepsGitTest do use MixTest.Case defmodule DepsOnGitApp do def project do [ app: :deps_on_git_app, version: "0.1.0", deps: [ {:deps_on_git_repo, "0.2.0", git: fixture_path("deps_on_git_repo")} ...
30.683884
133
0.630193
217f8645e0581fc51d1415c8df79a0b662296a2b
5,081
exs
Elixir
code_flow/test/railway_test.exs
Marcelo-Zometa/ElixirPractice
f1915c57e8ac3b30b921891d2b077e72b0b3cebf
[ "MIT" ]
null
null
null
code_flow/test/railway_test.exs
Marcelo-Zometa/ElixirPractice
f1915c57e8ac3b30b921891d2b077e72b0b3cebf
[ "MIT" ]
null
null
null
code_flow/test/railway_test.exs
Marcelo-Zometa/ElixirPractice
f1915c57e8ac3b30b921891d2b077e72b0b3cebf
[ "MIT" ]
null
null
null
# --- # Excerpted from "Thinking Elixir - CodeFlow", published by Mark Ericksen. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact me if you are in doubt. I make # no guarantees that this code is fit for any purpose. Visit # https://thinki...
40.325397
103
0.649282
217fb1784cb1563cc3f0970de401db321a27c436
190
exs
Elixir
apps/re/priv/repo/migrations/20190520172836_add_facebook_buyer_leads_budget_field.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/priv/repo/migrations/20190520172836_add_facebook_buyer_leads_budget_field.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/priv/repo/migrations/20190520172836_add_facebook_buyer_leads_budget_field.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Repo.Migrations.AddFacebookBuyerLeadsBudgetField do use Ecto.Migration def change do alter table(:facebook_buyer_leads) do add :budget, :string end end end
19
64
0.747368
217fb3fb7b9af64e7a94d6197dd5564861e3e64e
1,231
ex
Elixir
apps/graphql/lib/graphql/schema/rollout.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/graphql/lib/graphql/schema/rollout.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/graphql/lib/graphql/schema/rollout.ex
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defmodule GraphQl.Schema.Rollout do use GraphQl.Schema.Base alias GraphQl.Resolvers.{Rollout, Repository} ecto_enum :rollout_status, Core.Schema.Rollout.Status object :rollout do field :id, non_null(:id) field :status, non_null(:rollout_status) field :heartbeat, :datetime field :c...
26.76087
108
0.68156
21800e33cb1bbf718a5c1925c28daf4f72a3ace2
1,355
exs
Elixir
mix.exs
ColaCheng/ex_tr39
cd0fcf1bb906c6527891cb74d2dcd80e1ca0f439
[ "MIT" ]
2
2021-04-02T04:38:11.000Z
2021-04-05T10:15:22.000Z
mix.exs
ColaCheng/ex_tr39
cd0fcf1bb906c6527891cb74d2dcd80e1ca0f439
[ "MIT" ]
null
null
null
mix.exs
ColaCheng/ex_tr39
cd0fcf1bb906c6527891cb74d2dcd80e1ca0f439
[ "MIT" ]
null
null
null
defmodule ExConfusables.MixProject do use Mix.Project @version "0.1.1" def project do [ app: :ex_confusables, name: "ExConfusables", version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), docs: docs(), ...
23.362069
79
0.577122
21801a019fa4e403bc7b1d36cd238bb513553d8d
885
ex
Elixir
test/support/conn_case.ex
AdolfodelSel/Tembeza
20c19d6cc090e7c128bf35f016b7a3843cfc0dad
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
AdolfodelSel/Tembeza
20c19d6cc090e7c128bf35f016b7a3843cfc0dad
[ "Apache-2.0" ]
1
2021-05-11T18:22:04.000Z
2021-05-11T18:22:04.000Z
test/support/conn_case.ex
AdolfodelSel/Tembeza
20c19d6cc090e7c128bf35f016b7a3843cfc0dad
[ "Apache-2.0" ]
null
null
null
defmodule TembezaWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if th...
26.818182
59
0.728814
218041decdcf007231446928677657731d8d925e
1,505
exs
Elixir
mix.exs
Julian4ReRe/pop3mail
171b56174d26e4e06550a0cb5691a338bd4aa5a4
[ "MIT" ]
null
null
null
mix.exs
Julian4ReRe/pop3mail
171b56174d26e4e06550a0cb5691a338bd4aa5a4
[ "MIT" ]
null
null
null
mix.exs
Julian4ReRe/pop3mail
171b56174d26e4e06550a0cb5691a338bd4aa5a4
[ "MIT" ]
null
null
null
defmodule Pop3mail.Mixfile do use Mix.Project def project do [ app: :pop3mail, version: "1.3.1", elixir: "~> 1.4", # Hex package: package(), description: description(), # Docs docs: [ source_ref: "master", main: "Pop3mail", source_url: "...
22.462687
78
0.581395
218062f5e005ef1e6648a83c10689721457eb14e
1,424
ex
Elixir
lib/file_size/utils.ex
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
5
2019-05-25T14:33:23.000Z
2020-10-25T01:23:17.000Z
lib/file_size/utils.ex
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
6
2020-04-14T21:48:53.000Z
2020-09-25T12:52:03.000Z
lib/file_size/utils.ex
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
1
2020-09-23T21:51:37.000Z
2020-09-23T21:51:37.000Z
defmodule FileSize.Utils do @moduledoc false @spec cast_num(number | String.t() | Decimal.t()) :: {:ok, number} | :error def cast_num(value) when is_binary(value) do case Float.parse(value) do {value, ""} -> cast_num(value) _ -> :error end end def cast_num(value) when is_number(value), d...
24.982456
77
0.613062
21807443c16d02466a0e57d5d0f0080b871fa207
5,123
exs
Elixir
implementations/elixir/ockam/ockam_vault_software/mix.exs
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_vault_software/mix.exs
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_vault_software/mix.exs
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Vault.Software.MixProject do use Mix.Project @version "0.10.1" @elixir_requirement "~> 1.10" @ockam_github_repo "https://github.com/build-trust/ockam" @ockam_github_repo_path "implementations/elixir/ockam/ockam_vault_software" def project do [ app: :ockam_vault_software, ...
23.608295
93
0.577201
2180c026865a7a68aee8b6e448f24f5b1e6c8429
2,462
ex
Elixir
lib/stripe/checkout/session.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
2
2019-05-02T10:42:09.000Z
2019-12-02T21:29:17.000Z
lib/stripe/checkout/session.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/checkout/session.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
1
2019-07-18T11:44:35.000Z
2019-07-18T11:44:35.000Z
defmodule Stripe.Session do @moduledoc """ Work with Stripe Checkout Session objects. You can: - Create a new session Stripe API reference: https://stripe.com/docs/api/checkout/sessions """ use Stripe.Entity import Stripe.Request @type line_item :: %{ :amount => integer(), :cu...
27.662921
88
0.563769
2180d642041a6551096046da1dee6c1091cf6f60
1,092
ex
Elixir
lib/sanbase_web/graphql/schema/queries/promoter_queries.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/schema/queries/promoter_queries.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/schema/queries/promoter_queries.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Schema.PromoterQueries do use Absinthe.Schema.Notation alias SanbaseWeb.Graphql.Resolvers.PromoterResolver alias SanbaseWeb.Graphql.Middlewares.JWTAuth object :promoter_queries do @desc ~s""" Show promoter details and stats """ field :show_promoter, :promoter do ...
28
130
0.701465
2180de76d1e245b43eb11c33a6c818129ad014ab
10,058
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/users.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/users.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/users.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
45.511312
217
0.681149
2180f6cb965608899142a0c668cdae92bfe630a5
2,116
ex
Elixir
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_catalog_inline_source.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_catalog_inline_source.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_catalog_inline_source.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.688525
237
0.765123
218113531dc1800633390a71921a0e924d241b06
9,406
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
68.656934
646
0.728578
218130175bb2fb3704f156e4d0aaf93a894b4b6f
942
ex
Elixir
lib/ash/error/query/invalid_filter_value.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/error/query/invalid_filter_value.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/error/query/invalid_filter_value.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Error.Query.InvalidFilterValue do @moduledoc "Used when an invalid value is provided for a filter" use Ash.Error.Exception def_ash_error([:message, :value, :context], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ash.UUID.generate() def code(_), do: "invalid_filter_value" ...
28.545455
97
0.641189
21814235a44159abf9c23cb2d3ed6372f6b9cc35
2,570
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/path_matcher.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/path_matcher.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/path_matcher.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
45.087719
503
0.743969
218144d0c81055403b4764f5450f7fb1c1f8c222
144
exs
Elixir
test/challenge_test.exs
emerayo/challenge
93d41a667bf32aa4982cc0e19dbf0b7b2d9ec800
[ "MIT" ]
null
null
null
test/challenge_test.exs
emerayo/challenge
93d41a667bf32aa4982cc0e19dbf0b7b2d9ec800
[ "MIT" ]
3
2019-01-20T23:17:20.000Z
2019-01-21T11:46:09.000Z
test/challenge_test.exs
emerayo/challenge
93d41a667bf32aa4982cc0e19dbf0b7b2d9ec800
[ "MIT" ]
null
null
null
defmodule ChallengeTest do use ExUnit.Case doctest Challenge test "greets the world" do assert Challenge.hello() == :world end end
16
38
0.722222
218144e7e166c8660ba8a8f28cccbc50d213e317
2,957
ex
Elixir
clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/lib/google_api/text_to_speech/v1/model/voice_selection_params.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.485294
146
0.717957
218150a16e94c81567932d3391884c6d23c710ed
2,083
ex
Elixir
lib/shopiex/webhook/events.ex
byjpr/Shopiex
360dc00e6ffd21a822f32d83af15948e77f6e11c
[ "MIT" ]
1
2019-03-07T11:30:09.000Z
2019-03-07T11:30:09.000Z
lib/shopiex/webhook/events.ex
byjpr/Shopiex
360dc00e6ffd21a822f32d83af15948e77f6e11c
[ "MIT" ]
28
2020-06-28T19:35:02.000Z
2021-07-11T13:15:06.000Z
lib/shopiex/webhook/events.ex
byjpr/Shopiex
360dc00e6ffd21a822f32d83af15948e77f6e11c
[ "MIT" ]
null
null
null
defmodule Shopiex.Events do @moduledoc """ Events are generated by some Shopify resources when certain actions are completed, such as the creation of an article, the fulfillment of an order, or the addition of a product. By requesting events, your app can know when certain actions have occurred in the shop. The ...
33.063492
267
0.68507
218167581d03456c4ec4361a5ee4b6ae263fb735
3,898
ex
Elixir
lib/solutions/day10.ex
DianaOlympos/AdventOfCode2016
f7b9551df87c878073738468e29228efd4c8784f
[ "MIT" ]
null
null
null
lib/solutions/day10.ex
DianaOlympos/AdventOfCode2016
f7b9551df87c878073738468e29228efd4c8784f
[ "MIT" ]
null
null
null
lib/solutions/day10.ex
DianaOlympos/AdventOfCode2016
f7b9551df87c878073738468e29228efd4c8784f
[ "MIT" ]
null
null
null
defmodule Adventofcode2016.Solution.Day10 do alias Adventofcode2016.Solution.Helper alias Adventofcode2016.Solution.Day10.Bot alias Adventofcode2016.Solution.Day10.BotRegistry def solve() do BotRegistry.launch() "day10.txt" |> Helper.load_input() |> String.split("\n") |> Enum.map(...
26.882759
154
0.668805
218181b54b5dbdd76a7225ca1e3923bb79fef742
1,931
exs
Elixir
config/dev.exs
gordonguthrie/rappel
bbdf8ca6c7ef272ad95708512af0975e18fa11a9
[ "Apache-2.0" ]
2
2021-08-09T14:37:42.000Z
2021-11-18T14:54:39.000Z
config/dev.exs
gordonguthrie/rappel
bbdf8ca6c7ef272ad95708512af0975e18fa11a9
[ "Apache-2.0" ]
4
2020-05-13T14:04:55.000Z
2021-07-18T17:03:50.000Z
config/dev.exs
gordonguthrie/rappel
bbdf8ca6c7ef272ad95708512af0975e18fa11a9
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :rappel_web, RappelWeb.Endpoint, http: [port: 40...
28.397059
68
0.685655
2181c49c15e69e4e1cf6e53b78226b6971eaece2
204
exs
Elixir
priv/repo/migrations/20170509094446_aad_role_id_to_users.exs
Ellocsys/kedo
81626082952bfc63c382d015cffaa1ebd80e1f67
[ "MIT" ]
null
null
null
priv/repo/migrations/20170509094446_aad_role_id_to_users.exs
Ellocsys/kedo
81626082952bfc63c382d015cffaa1ebd80e1f67
[ "MIT" ]
null
null
null
priv/repo/migrations/20170509094446_aad_role_id_to_users.exs
Ellocsys/kedo
81626082952bfc63c382d015cffaa1ebd80e1f67
[ "MIT" ]
null
null
null
defmodule Pxblog.Repo.Migrations.AadRoleIdToUsers do use Ecto.Migration def change do alter table(:users) do add :role_id, references(:roles) end create index(:users, [:role_id]) end end
18.545455
52
0.72549
2181ed7dc3b20becef16280c96cfcbadb731a625
69
ex
Elixir
web/views/layout_view.ex
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
22
2016-03-31T02:58:09.000Z
2020-06-16T02:37:16.000Z
web/views/layout_view.ex
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
7
2016-03-27T14:22:59.000Z
2021-04-27T14:33:51.000Z
web/views/layout_view.ex
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
13
2016-04-21T06:05:32.000Z
2018-08-23T06:38:54.000Z
defmodule ExAdminDemo.LayoutView do use ExAdminDemo.Web, :view end
17.25
35
0.811594
2181f45cd3a52584dcd319ef10f0bcf5234ecaba
847
exs
Elixir
test/core/sup_tree_core/system_metrics_reporter_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
test/core/sup_tree_core/system_metrics_reporter_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
test/core/sup_tree_core/system_metrics_reporter_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. defmodule AntikytheraCore.SystemMetricsReporterTest do use Croma.TestCase alias Antikythera.Time alias Antikythera.Test.GenServerHelper alias AntikytheraCore.Metrics.AggregateStrategy.Gauge setup do {:ok, pid} = SystemMetricsReporter.start_l...
35.291667
125
0.707202
2181f5a9126804a13705a30e8da5bd15b0134162
984
ex
Elixir
lib/oli_web/live/breadcrumb/breadcrumb_live.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/live/breadcrumb/breadcrumb_live.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/live/breadcrumb/breadcrumb_live.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule OliWeb.Breadcrumb.BreadcrumbLive do use OliWeb, :live_component import Phoenix.HTML.Link alias OliWeb.Common.Breadcrumb def render(assigns) do render_breadcrumb(assigns) end defp render_breadcrumb(%{is_last: true} = assigns) do ~L""" <li class="breadcrumb-item active" aria-current="...
25.230769
92
0.653455
2181ff804f25048dc9945f267d7ec5aefaeca200
1,700
ex
Elixir
live_view_studio/lib/live_view_studio/accounts/user_notifier.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio/accounts/user_notifier.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio/accounts/user_notifier.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
defmodule LiveViewStudio.Accounts.UserNotifier do import Swoosh.Email alias LiveViewStudio.Mailer # Delivers the email using the application mailer. defp deliver(recipient, subject, body) do email = new() |> to(recipient) |> from({"MyApp", "contact@example.com"}) |> subject(subject...
21.25
64
0.574118
218216e38646076ff9a87ba32b952539cc0045eb
1,587
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/source_context.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/source_context.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/source_context.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.765957
201
0.746062
218218067fe1835342033af34c2ae07cebd851b4
3,226
ex
Elixir
apps/astarte_appengine_api/lib/astarte_appengine_api/data_transmitter.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
4
2018-03-15T14:26:43.000Z
2019-12-20T15:07:10.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api/data_transmitter.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
27
2018-06-28T16:00:07.000Z
2019-12-19T10:05:36.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api/data_transmitter.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
2
2018-03-16T09:37:29.000Z
2019-11-18T17:37:42.000Z
# # This file is part of Astarte. # # Copyright 2017-2018 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
30.149533
85
0.708308
21823067d366c19f89c1b9dc2600dca0c0d84753
2,240
exs
Elixir
apps/omg_watcher_info/test/omg_watcher_info/block_application_consumer_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/test/omg_watcher_info/block_application_consumer_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/test/omg_watcher_info/block_application_consumer_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.111111
92
0.711607
2182afa99b04a56807ed7f6daddf6b758e9d0338
91
exs
Elixir
phoenix_commerce/test/views/layout_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
phoenix_commerce/test/views/layout_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
phoenix_commerce/test/views/layout_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule PhoenixCommerce.LayoutViewTest do use PhoenixCommerce.ConnCase, async: true end
30.333333
43
0.857143
2182b11cb431b1c94a13a56a48b13832d7fba7f9
1,142
ex
Elixir
test/support/helpers/ecto_job_helpers.ex
victorprs/ecto-job-scheduler
233e312f24ab3edf7b53e6da3d6667925450d60d
[ "MIT" ]
null
null
null
test/support/helpers/ecto_job_helpers.ex
victorprs/ecto-job-scheduler
233e312f24ab3edf7b53e6da3d6667925450d60d
[ "MIT" ]
null
null
null
test/support/helpers/ecto_job_helpers.ex
victorprs/ecto-job-scheduler
233e312f24ab3edf7b53e6da3d6667925450d60d
[ "MIT" ]
null
null
null
defmodule EctoJobScheduler.Support.Helpers.EctoJobHelpers do @moduledoc false alias EctoJobScheduler.Test.Repo import ExUnit.Assertions import EctoJob.JobQueue @default_options [ attempt: 0, max_attempts: 5 ] def build_initial_multi(job_queue, job_args, options \\ []) do merged_options = Ke...
27.190476
96
0.69352
2182c0abd16dc9b2cdcde267f3ef0ef5bf5c8905
2,149
exs
Elixir
apps/day10/test/day10_test.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
2
2019-12-21T21:21:04.000Z
2019-12-27T07:00:19.000Z
apps/day10/test/day10_test.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
apps/day10/test/day10_test.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
defmodule Day10Test do use ExUnit.Case doctest Day10 # alias Day10.SpaceMap @ex1 """ .#..# ..... ##### ....# ...## """ test "example1" do s = Day10.parse(@ex1) |> Day10.find_neighbors() a = s.asteroids assert Enum.count(Map.keys(a)) == 10 assert a[{3, 4}] == 8 assert a[{4, 2}...
19.898148
70
0.370405
2182d1eeb5e061fe532c6711f1754eb52df3a7f8
39,972
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/102.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/102.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/102.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** noun verb verb verb_aux verb_aux; verb_aux verb conj noun verb_aux; adjective verb SYM adjective verb_aux; SYM adjective conj adjective verb; noun verb SYM pnoun verb_aux; noun verb verb_aux SYM verb_aux; adjective noun demonstrative cm verb; adjective verb verb_aux SYM verb_aux; verb verb co...
32.737101
48
0.786526
2182f620fc68b0756e4f50390a59b43ef0d88af8
1,583
ex
Elixir
server/lib/block_data.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
1
2022-03-31T03:49:59.000Z
2022-03-31T03:49:59.000Z
server/lib/block_data.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
null
null
null
server/lib/block_data.ex
runcitadel/bitfeed
2169704007610b02ab9a94b03bfd1c2fa797d80f
[ "MIT" ]
null
null
null
defmodule BitcoinStream.BlockData do @moduledoc """ Block data module. Serves a cached copy of the latest block """ use GenServer alias BitcoinStream.Protocol.Block, as: BitcoinBlock def start_link(opts) do IO.puts("Starting block data link") # load block.dat with {:ok, block_data} <- File...
23.279412
74
0.600758
21830e1a454d563d0822a0315f21686164bfcfba
1,570
exs
Elixir
mix.exs
justinrlle/GORProject-API
07cad451cb9acee242612357d706e4f64e3069d8
[ "MIT" ]
null
null
null
mix.exs
justinrlle/GORProject-API
07cad451cb9acee242612357d706e4f64e3069d8
[ "MIT" ]
null
null
null
mix.exs
justinrlle/GORProject-API
07cad451cb9acee242612357d706e4f64e3069d8
[ "MIT" ]
null
null
null
defmodule GORproject.Mixfile do use Mix.Project def project do [ app: :gor_project, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), ...
25.737705
79
0.584076
2183318e5352503fcb9f0d1550ddf2d3b29e05e1
1,914
ex
Elixir
lib/elixir/lib/string/chars.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/elixir/lib/string/chars.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string/chars.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [to_string: 1] defprotocol String.Chars do @moduledoc %S""" The String.Chars protocol is responsible for converting a structure to a Binary (only if applicable). The only function required to be implemented is `to_string` which does the conversion. The `to_string` function automatic...
23.341463
65
0.68652
2183635a86551d59f8797cc1b8b1b6d2a8b680c4
164
ex
Elixir
lib/fragment/slice_zone.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
10
2018-01-12T18:52:53.000Z
2022-02-17T06:00:21.000Z
lib/fragment/slice_zone.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
12
2018-02-14T23:08:08.000Z
2021-11-22T15:55:41.000Z
lib/fragment/slice_zone.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
8
2018-05-08T14:02:21.000Z
2021-12-15T08:19:55.000Z
defmodule Prismic.Fragment.SliceZone do @type slice :: CompositeSlice.t() | SimpleSlice.t() @type t :: %__MODULE__{slices: [slice]} defstruct slices: [] end
23.428571
53
0.70122
218364d46fbd4fbe296066cfd74d64343d41d79e
1,803
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/error_detail.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/error_detail.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/error_detail.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.06
187
0.737659
2183748b5d39d6756079a9fbeca95a45d24c4d65
444
ex
Elixir
05-chapter/15_screws_factory.ex
herminiotorres/learn-funcional-programming-with-elixir
01b0696e0859da20f389a6e53c51b5ab6c4f6e24
[ "MIT" ]
1
2022-03-01T13:54:43.000Z
2022-03-01T13:54:43.000Z
05-chapter/15_screws_factory.ex
herminiotorres/learn-funcional-programming-with-elixir
01b0696e0859da20f389a6e53c51b5ab6c4f6e24
[ "MIT" ]
null
null
null
05-chapter/15_screws_factory.ex
herminiotorres/learn-funcional-programming-with-elixir
01b0696e0859da20f389a6e53c51b5ab6c4f6e24
[ "MIT" ]
null
null
null
defmodule ScrewsFactory do def run(pieces) do pieces |> Enum.map(&add_thread/1) |> Enum.map(&add_head/1) |> Enum.each(&output/1) end defp add_thread(piece) do Process.sleep(50) piece <> "--" end defp add_head(piece) do Process.sleep(100) "o" <> piece end defp output(scre...
17.076923
52
0.637387
2183a5edd9f503c67f9c277fde71940dbeea9141
19,573
ex
Elixir
lib/protocol/v4/frames/requests/encoder/encoder.ex
overdb/over_db
0bc52de49ee684b4d63607e960d522663e17ed6a
[ "Apache-2.0" ]
7
2019-04-13T01:11:18.000Z
2020-08-11T08:11:03.000Z
lib/protocol/v4/frames/requests/encoder/encoder.ex
overdb/over_db
0bc52de49ee684b4d63607e960d522663e17ed6a
[ "Apache-2.0" ]
null
null
null
lib/protocol/v4/frames/requests/encoder/encoder.ex
overdb/over_db
0bc52de49ee684b4d63607e960d522663e17ed6a
[ "Apache-2.0" ]
null
null
null
defmodule OverDB.Protocol.V4.Frames.Requests.Encoder do @moduledoc false # TODO: convert lists resut to binary use Bitwise alias OverDB.Protocol.V4.Frames.{Helper, Requests.Query, Responses.Result.Prepared} @type data :: integer | binary | float | map | list | tuple | struct | boolean | atom @default_c...
32.45937
146
0.661932
2183ba003795c205dce80d58ea52919ed25d0d3b
6,982
ex
Elixir
lib/credo/check/refactor/abc_size.ex
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
lib/credo/check/refactor/abc_size.ex
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
lib/credo/check/refactor/abc_size.ex
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
1
2020-06-30T16:32:44.000Z
2020-06-30T16:32:44.000Z
defmodule Credo.Check.Refactor.ABCSize do @moduledoc false @checkdoc """ The ABC size describes a metric based on assignments, branches and conditions. A high ABC size is a hint that a function might be doing "more" than it should. As always: Take any metric with a grain of salt. Since this one was origi...
26.957529
94
0.590805
2183d9f9285f3147901aa76c31bea4c6bfd4e3ff
2,488
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180613034653_add_cross_token_support_to_transfers.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180613034653_add_cross_token_support_to_transfers.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180613034653_add_cross_token_support_to_transfers.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
31.897436
94
0.618167
21841d96c2b577445a526e2e335196a0a54588ae
227
ex
Elixir
lib/mix/tasks/day3.ex
takakoshimizu/advent-of-code-2020
dd0c49396196aa7686f36d596263baff0e64b800
[ "MIT" ]
null
null
null
lib/mix/tasks/day3.ex
takakoshimizu/advent-of-code-2020
dd0c49396196aa7686f36d596263baff0e64b800
[ "MIT" ]
null
null
null
lib/mix/tasks/day3.ex
takakoshimizu/advent-of-code-2020
dd0c49396196aa7686f36d596263baff0e64b800
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Day3 do use Mix.Task @shortdoc "Runs the day 3 problem." def run(_) do Advent2020.Day3.main(input()) end defp input, do: String.split(File.read!("./lib/advent2020/day3/input.txt"), "\n") end
20.636364
83
0.674009
2184222bacf81f1f577094cb38d496b7f7658abb
167
exs
Elixir
test/fixtures/ecto_3_3_2/mix.exs
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
824
2015-01-05T09:12:36.000Z
2022-03-28T12:02:29.000Z
test/fixtures/ecto_3_3_2/mix.exs
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
737
2015-01-01T05:48:46.000Z
2022-03-29T12:56:12.000Z
test/fixtures/ecto_3_3_2/mix.exs
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
220
2015-03-14T17:55:11.000Z
2022-03-23T22:17:07.000Z
defmodule Ecto_3_3_2.Fixture.MixProject do use Mix.Project def project do [app: :ecto, version: "3.3.1", deps: deps()] end defp deps do [] end end
13.916667
48
0.640719
21845011210e3fe0ba087c7dc7eb003bd4ea4ce9
169
ex
Elixir
lib/accent/auth/user_remote/adapter/fetcher.ex
samuelnygaard/accent
db753badab1d885397b48a42ac3fb43024345467
[ "BSD-3-Clause" ]
null
null
null
lib/accent/auth/user_remote/adapter/fetcher.ex
samuelnygaard/accent
db753badab1d885397b48a42ac3fb43024345467
[ "BSD-3-Clause" ]
2
2021-09-28T05:37:00.000Z
2022-02-26T10:10:15.000Z
lib/accent/auth/user_remote/adapter/fetcher.ex
samuelnygaard/accent
db753badab1d885397b48a42ac3fb43024345467
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.UserRemote.Adapter.Fetcher do alias Accent.UserRemote.Adapter.User @callback fetch(String.t()) :: {:ok, User.t()} | {:error, list(String.t())} end
28.166667
77
0.704142
21845e7716be7a4f3dbbc251821f799163231af2
5,148
ex
Elixir
apps/snitch_core/lib/core/domain/shipping_calculator.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_core/lib/core/domain/shipping_calculator.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_core/lib/core/domain/shipping_calculator.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule Snitch.Domain.ShippingCalculator do @moduledoc """ Defines the calculator module for shipping. The core functionality of the module is to handle caluclation of shipping rates. """ alias Snitch.Core.Tools.MultiTenancy.Repo alias Snitch.Domain.Order, as: OrderDomain alias Snitch.Data.Model.Gen...
32.175
81
0.730186
218474bee6b37cb2147277f4164f033a6fc1262b
2,292
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__explicit_content_annotation.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__explicit_content_annotation.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__explicit_content_annotation.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.208955
204
0.75
21848ad1f78d1f5ebe70a8e2e0171bdaea6d08fa
1,722
exs
Elixir
test/tablespoon_web/controllers/priority_controller_test.exs
paulswartz/tablespoon
3637ee22cce16755fa50461058a079fa18d33b1b
[ "MIT" ]
2
2020-04-03T14:39:23.000Z
2020-12-17T23:12:58.000Z
test/tablespoon_web/controllers/priority_controller_test.exs
mbta/tablespoon
4303ad8498f3e619b081ffbd6892156e0214b61e
[ "MIT" ]
107
2019-09-16T12:52:17.000Z
2022-02-28T10:25:15.000Z
test/tablespoon_web/controllers/priority_controller_test.exs
mbta/tablespoon
4303ad8498f3e619b081ffbd6892156e0214b61e
[ "MIT" ]
null
null
null
defmodule TablespoonWeb.PriorityControllerTest do @moduledoc false use TablespoonWeb.ConnCase use ExUnitProperties import ExUnit.CaptureLog import TablespoonWeb.Router.Helpers import TablespoonWeb.PriorityController describe "index" do test "invalid requests do not log an error", %{conn: conn} do ...
32.490566
98
0.657956
2184a10cdd04d71dab36a30431faf4a698629136
416
ex
Elixir
backend/web/views/error_view.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
backend/web/views/error_view.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
backend/web/views/error_view.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
defmodule Palike.ErrorView do use Palike.Web, :view def render("404.json", _assigns) do %{errors: %{detail: "Page not found"}} end def render("500.json", _assigns) do %{errors: %{detail: "Internal server error"}} end # In case no render clause matches or no # template is found, let's render it ...
23.111111
49
0.680288
2184b383697c8fc003de08f81a856f0cd7f60710
343
ex
Elixir
web/views/error_helpers.ex
marick/elixir-critter4us
eeea901c1debf6c77969d80a55320daf909df053
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
marick/elixir-critter4us
eeea901c1debf6c77969d80a55320daf909df053
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
marick/elixir-critter4us
eeea901c1debf6c77969d80a55320daf909df053
[ "MIT" ]
null
null
null
defmodule Critter4us.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, error, class: "help-bl...
21.4375
59
0.688047
2184f290841ca1ec8aff38048f5e434af30f8ec3
723
exs
Elixir
integration_test/pg/all_test.exs
arcz/ecto_sql
22ecbe3782af32f50c36387c861db77041247de8
[ "Apache-2.0" ]
null
null
null
integration_test/pg/all_test.exs
arcz/ecto_sql
22ecbe3782af32f50c36387c861db77041247de8
[ "Apache-2.0" ]
null
null
null
integration_test/pg/all_test.exs
arcz/ecto_sql
22ecbe3782af32f50c36387c861db77041247de8
[ "Apache-2.0" ]
1
2018-09-21T16:05:29.000Z
2018-09-21T16:05:29.000Z
Code.require_file "../sql/alter.exs", __DIR__ Code.require_file "../sql/lock.exs", __DIR__ Code.require_file "../sql/migration.exs", __DIR__ Code.require_file "../sql/sandbox.exs", __DIR__ Code.require_file "../sql/sql.exs", __DIR__ Code.require_file "../sql/stream.exs", __DIR__ Code.require_file "../sql/subquery.exs",...
45.1875
51
0.751037
21850629ecbc13552ad10b3254ad3686c4248dbe
1,105
exs
Elixir
config/config.exs
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
config/config.exs
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
config/config.exs
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :demo, ecto_repos: [Demo.Repo] # Config...
33.484848
86
0.767421
21850aaa36573adf8b16a4babf6243ebe0ef799b
1,488
exs
Elixir
apps/bank/test/bank/ledger_test.exs
gusaiani/acme-bank-clone
4ebd638c56a3f5360bccff68aa6d321bb25bf2cd
[ "MIT" ]
776
2016-07-16T14:24:37.000Z
2022-03-07T17:05:11.000Z
apps/bank/test/bank/ledger_test.exs
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
19
2016-09-03T15:06:57.000Z
2021-12-10T10:04:05.000Z
apps/bank/test/bank/ledger_test.exs
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
130
2016-09-03T19:44:27.000Z
2022-01-16T12:27:54.000Z
defmodule Bank.LedgerTest do use Bank.Case @moduletag isolation: :serializable setup _tags do alice = Ledger.create_wallet!("alice") bob = Ledger.create_wallet!("bob") {:ok, _} = Deposit.build(alice, ~M"100 USD") |> Ledger.write {:ok, %{alice: alice, bob: bob}} end test "write: success", %...
27.054545
81
0.594086
21855c802f9a54609691a14f70aa362e0e02bc3b
1,161
exs
Elixir
clients/firebase_dynamic_links/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
defmodule GoogleApi.FirebaseDynamicLinks.V1.Mixfile do use Mix.Project @version "0.1.0" def project do [app: :google_api_firebase_dynamic_links, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), ...
24.1875
122
0.619294
21856dee67ea2580a1589e8663ec90d8f29904c4
4,220
exs
Elixir
apps/roll35_core/test/roll35_core/data/weapon_test.exs
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
1
2021-08-07T09:43:28.000Z
2021-08-07T09:43:28.000Z
apps/roll35_core/test/roll35_core/data/weapon_test.exs
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
24
2020-11-24T19:18:46.000Z
2022-02-28T08:03:36.000Z
apps/roll35_core/test/roll35_core/data/weapon_test.exs
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
null
null
null
defmodule Roll35Core.Data.WeaponTest do @moduledoc false use Roll35Core.TestHarness.BattleGear, async: true alias Roll35Core.Data.Weapon alias Roll35Core.Types alias Roll35Core.TestHarness alias Roll35Core.TestHarness.BattleGear @testfile Path.join("priv", "weapon.yaml") @item_types [:melee, :ranged...
26.878981
82
0.672038
21857253cbdaa3f5ba36c1f1061e93b22bfd701e
659
ex
Elixir
lib/covid19_questionnaire/tests/codes.ex
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
1
2020-05-09T19:13:47.000Z
2020-05-09T19:13:47.000Z
lib/covid19_questionnaire/tests/codes.ex
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
null
null
null
lib/covid19_questionnaire/tests/codes.ex
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
null
null
null
defmodule Covid19Questionnaire.Tests.Codes do @moduledoc """ Codes des résultats du test d'orientation du COVID19. """ @type name :: atom @type code :: String.t() @codes [ :orientation_moins_de_15_ans, :orientation_domicile_surveillance_1, :orientation_consultation_surveillance_1, :orienta...
23.535714
55
0.714719
218573790be8cae74a3e466632ca7875f95668ff
1,878
exs
Elixir
say/say.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
say/say.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
say/say.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
defmodule Say do @numbers %{ 1 => "one", 2 => "two", 3 => "three", 4 => "four", 5 => "five", 6 => "six", 7 => "seven", 8 => "eight", 9 => "nine", 10 => "ten", 11 => "eleven", 12 => "twelve", 13 => "thirteen", 14 => "fourteen", 15 => "fifteen", 16 => "six...
21.101124
69
0.57082
2185a7b03ee2c0e407879739ae105a0b3f37aeda
695
exs
Elixir
elixir/bob/bob.exs
esambo/exercism_solutions
520d9a5c28793c6fab2cb963b8c6de6c3404ac0b
[ "MIT" ]
1
2020-04-29T01:16:49.000Z
2020-04-29T01:16:49.000Z
elixir/bob/bob.exs
esambo/exorcism_solutions
520d9a5c28793c6fab2cb963b8c6de6c3404ac0b
[ "MIT" ]
null
null
null
elixir/bob/bob.exs
esambo/exorcism_solutions
520d9a5c28793c6fab2cb963b8c6de6c3404ac0b
[ "MIT" ]
null
null
null
defmodule Bob do def hey(input) do cond do without_actually_saying_anything?(input) -> "Fine. Be that way!" yell_question?(input) -> "Calm down, I know what I'm doing!" yell?(input) -> "Whoa, chill out!" question?(input) -> "Sure." true -> "Whatever." end end defp question?(...
21.71875
70
0.614388
2185bfbb33611e1a0d0c0bd36fc52a1744226380
531
ex
Elixir
lib/geonames/endpoints/find_nearest_intersection_osm.ex
pareeohnos/geonames-elixir
d4ea326ed413ed2d8d07de491ab608923d959f30
[ "MIT" ]
18
2016-08-11T11:51:49.000Z
2021-11-17T11:23:52.000Z
lib/geonames/endpoints/find_nearest_intersection_osm.ex
pareeohnos/geonames-elixir
d4ea326ed413ed2d8d07de491ab608923d959f30
[ "MIT" ]
5
2016-11-13T10:48:29.000Z
2022-01-10T11:06:22.000Z
lib/geonames/endpoints/find_nearest_intersection_osm.ex
pareeohnos/geonames-elixir
d4ea326ed413ed2d8d07de491ab608923d959f30
[ "MIT" ]
8
2016-11-13T10:44:03.000Z
2021-12-10T12:52:01.000Z
defmodule Geonames.Endpoints.FindNearestIntersectionOSM do @moduledoc false @behaviour Geonames.Endpoint @default_arguments %{ lat: nil, lng: nil, radius: nil, maxRows: nil } def endpoint, do: "findNearestIntersectionOSMJSON" def available_url_parameters, do: Map.keys(@default_arguments) ...
25.285714
64
0.758945
2185e42bc1a06c024bef2841194cebc09b014655
430
ex
Elixir
lib/petal_components.ex
MortadaAK/petal_components
69980b96afec232715071d75d3a394ac6daf75b3
[ "MIT" ]
null
null
null
lib/petal_components.ex
MortadaAK/petal_components
69980b96afec232715071d75d3a394ac6daf75b3
[ "MIT" ]
null
null
null
lib/petal_components.ex
MortadaAK/petal_components
69980b96afec232715071d75d3a394ac6daf75b3
[ "MIT" ]
null
null
null
defmodule PetalComponents do defmacro __using__(_) do quote do alias PetalComponents.Heroicons import PetalComponents.{ Alert, Badge, Button, Container, Dropdown, Form, Loading, Typography, Avatar, Progress, Bread...
15.925926
37
0.506977
2185f327cfb41c3a4815b8b8e4664ceb8cc9f55c
1,862
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/dynamic_link_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/dynamic_link_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/dynamic_link_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.132075
126
0.731472
2185f33857b3d167ff5fdbfb849811799dd48d9f
1,817
exs
Elixir
test/test_helper.exs
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
null
null
null
assert_receive_timeout = case System.get_env("ASSERT_RECEIVE_TIMEOUT") do nil -> 200 str -> String.to_integer(str) end ExUnit.configure( exclude: [property_based: true], assert_receive_timeout: assert_receive_timeout ) ExUnit.start() defmodule TestHelper do def make_btree(store, entries, cap \\ 32)...
22.432099
79
0.593286
21861183e332920b05f2bcac997948e388630314
81
ex
Elixir
.env.ex
pidgpidg/Fanfiction-Finder
c1f12ac4ca30aa1787e3a1f24c9c246d1c8d4d1b
[ "MIT" ]
3
2021-06-26T09:37:00.000Z
2021-11-14T20:02:59.000Z
.env.ex
pidgpidg/Fanfiction-Finder
c1f12ac4ca30aa1787e3a1f24c9c246d1c8d4d1b
[ "MIT" ]
1
2022-03-22T17:16:04.000Z
2022-03-22T17:16:04.000Z
.env.ex
pidgpidg/Fanfiction-Finder
c1f12ac4ca30aa1787e3a1f24c9c246d1c8d4d1b
[ "MIT" ]
5
2021-06-04T09:14:21.000Z
2022-01-29T20:39:03.000Z
# .env DISCORD_TOKEN = <your-bot-token> BOT_ID = <bot-id> OWNER_ID = <your-id>
20.25
33
0.654321
218645777ea2bd43958d9bc2478b14dcf697d942
617
ex
Elixir
lib/games/even.ex
NikitaNaumenko/brain_games_elixir
25ef3898164846faab5813096804661734d54af8
[ "MIT" ]
null
null
null
lib/games/even.ex
NikitaNaumenko/brain_games_elixir
25ef3898164846faab5813096804661734d54af8
[ "MIT" ]
null
null
null
lib/games/even.ex
NikitaNaumenko/brain_games_elixir
25ef3898164846faab5813096804661734d54af8
[ "MIT" ]
null
null
null
defmodule BrainGames.Games.Even do @moduledoc """ "Even Check". The essence of the game is as follows: a random number is shown to the user. And he needs to answer yes if the number is even, or no if it is odd. """ require Integer @max 100 @spec generate_game_data() :: map() def generate_game_data d...
26.826087
78
0.667747
21864a8d968e1bc38dec6e061f6ad6217ac6ac4b
333
ex
Elixir
lib/cuba_librato/metrics_store.ex
TV4/cuba-librato
e2dcf139d6224b56f8f3158af596c319f71a6091
[ "MIT" ]
null
null
null
lib/cuba_librato/metrics_store.ex
TV4/cuba-librato
e2dcf139d6224b56f8f3158af596c319f71a6091
[ "MIT" ]
null
null
null
lib/cuba_librato/metrics_store.ex
TV4/cuba-librato
e2dcf139d6224b56f8f3158af596c319f71a6091
[ "MIT" ]
null
null
null
defmodule CubaLibrato.MetricsStore do use Agent def start_link() do Agent.start_link(fn -> [] end, name: __MODULE__) end def store(metrics) do Agent.update(__MODULE__, fn _ -> metrics end) end def get() do Agent.get(__MODULE__, fn metrics -> metrics end) end def size() do length(get(...
16.65
52
0.660661
218655ddc92e25ceb87f6af0b46c38ccdbd78b1c
2,254
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_services_scoped_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/backend_services_scoped_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_services_scoped_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
41.740741
194
0.732919
2186761d6233898f557f67796c6c239fd83eb421
219
exs
Elixir
test/gdex/payment_test.exs
fracek/gdex
20c56076991d3eb660bf1e424d6560cc5d96e97f
[ "Apache-2.0" ]
7
2017-12-12T19:08:40.000Z
2021-11-11T04:58:55.000Z
test/gdex/payment_test.exs
fracek/gdex
20c56076991d3eb660bf1e424d6560cc5d96e97f
[ "Apache-2.0" ]
null
null
null
test/gdex/payment_test.exs
fracek/gdex
20c56076991d3eb660bf1e424d6560cc5d96e97f
[ "Apache-2.0" ]
2
2018-11-21T17:05:56.000Z
2019-04-07T19:33:12.000Z
defmodule Gdex.PaymentTest do use ExUnit.Case, async: true test "list" do expected = %Gdex.Request{ method: "GET", path: "/payment-methods", } assert expected == Gdex.Payment.list end end
18.25
40
0.634703
21867c588113c0ca0dcb29aaf83398e2a90a0f66
1,504
ex
Elixir
web/controllers/event_controller.ex
gimc/joshua
bc77ed12b45f49879222231849e88e96198920d7
[ "MIT" ]
null
null
null
web/controllers/event_controller.ex
gimc/joshua
bc77ed12b45f49879222231849e88e96198920d7
[ "MIT" ]
null
null
null
web/controllers/event_controller.ex
gimc/joshua
bc77ed12b45f49879222231849e88e96198920d7
[ "MIT" ]
null
null
null
defmodule Joshua.EventController do use Joshua.Web, :controller alias Joshua.Event def index(conn, _params) do events = Repo.all(Event) render(conn, "index.json", events: events) end def create(conn, event_params) do changeset = Event.changeset(%Event{}, event_params) case Repo.insert(chan...
26.857143
75
0.616356
21868433dbefa6233846ede417580067bc57e84f
2,314
exs
Elixir
sample-mods.exs
luispeerez/elixir-examples
01504ecb803254f9755eca629921ad60c6f2f61e
[ "MIT" ]
null
null
null
sample-mods.exs
luispeerez/elixir-examples
01504ecb803254f9755eca629921ad60c6f2f61e
[ "MIT" ]
null
null
null
sample-mods.exs
luispeerez/elixir-examples
01504ecb803254f9755eca629921ad60c6f2f61e
[ "MIT" ]
null
null
null
# Alias the module so it can be called as Bar instead of Foo.Bar #alias Foo.Bar, as: Bar # Require the module in order to use its macros #require Foo # Import functions from Foo so they can be called without the `Foo.` prefix #import Foo # Invokes the custom code defined in Foo as an extension point #use Foo defmod...
19.948276
111
0.723855
218685991de59cb59af02a5e89c4c861b72a020a
1,718
ex
Elixir
apps/viztube_web/lib/viztube_web.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
null
null
null
apps/viztube_web/lib/viztube_web.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
3
2020-07-16T23:48:01.000Z
2021-05-08T15:54:04.000Z
apps/viztube_web/lib/viztube_web.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
null
null
null
defmodule ViztubeWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use ViztubeWeb, :controller use ViztubeWeb, :view The definitions below will be executed for every view, controller, ...
23.861111
69
0.687427
2186a29eeae10a4660f0126678f92b27201533f8
69
exs
Elixir
test/test_helper.exs
b310-digital/qrstorage
1a6ee58e87df5f9a3e6da4787e15afd2b83ba417
[ "MIT" ]
null
null
null
test/test_helper.exs
b310-digital/qrstorage
1a6ee58e87df5f9a3e6da4787e15afd2b83ba417
[ "MIT" ]
null
null
null
test/test_helper.exs
b310-digital/qrstorage
1a6ee58e87df5f9a3e6da4787e15afd2b83ba417
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Qrstorage.Repo, :auto)
23
53
0.782609
2186d9becbd49f592ba1e676987b24c540d739d6
286
ex
Elixir
lib/hologram/compiler/call_graph_builder/struct_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/call_graph_builder/struct_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/call_graph_builder/struct_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
# TODO: test alias Hologram.Compiler.CallGraphBuilder alias Hologram.Compiler.IR.StructType defimpl CallGraphBuilder, for: StructType do def build(%{data: data}, module_defs, templates, from_vertex) do CallGraphBuilder.build(data, module_defs, templates, from_vertex) end end
26
69
0.793706
2186f1f3370141241d394283a02e2decb81c53a0
63
ex
Elixir
lib/reactor_web/views/layout_view.ex
jeantsai/phoenix-react-starter
dd0e048285134492dad160f1f2a8d942648acba9
[ "MIT" ]
null
null
null
lib/reactor_web/views/layout_view.ex
jeantsai/phoenix-react-starter
dd0e048285134492dad160f1f2a8d942648acba9
[ "MIT" ]
null
null
null
lib/reactor_web/views/layout_view.ex
jeantsai/phoenix-react-starter
dd0e048285134492dad160f1f2a8d942648acba9
[ "MIT" ]
null
null
null
defmodule ReactorWeb.LayoutView do use ReactorWeb, :view end
15.75
34
0.809524
2186f61b6ecc2093c8b34ef9911c17041fa8f1dd
113
exs
Elixir
test/fun_land/chainable_test.exs
gerbal/elixir_fun_land
86adc20dc6af8c7c84d39dffd92195c3e9571009
[ "MIT" ]
47
2016-07-10T15:40:21.000Z
2019-04-22T09:41:01.000Z
test/fun_land/chainable_test.exs
gerbal/elixir_fun_land
86adc20dc6af8c7c84d39dffd92195c3e9571009
[ "MIT" ]
34
2019-08-30T05:27:17.000Z
2022-03-23T18:22:32.000Z
test/fun_land/chainable_test.exs
gerbal/elixir_fun_land
86adc20dc6af8c7c84d39dffd92195c3e9571009
[ "MIT" ]
3
2016-07-23T16:23:31.000Z
2019-02-03T17:18:47.000Z
defmodule FunLand.ChainableTest do use ExUnit.Case, async: true use FunLand doctest FunLand.Chainable end
16.142857
34
0.787611
2186fb92f90495917c82be47b923a4de8e645db7
1,276
ex
Elixir
lib/exi18n/loader/yaml.ex
Liberatys/exi18n
af4dbd8bcaa48d3282d1bc4ae3b134558ea1a1c9
[ "MIT" ]
7
2017-02-27T17:53:35.000Z
2022-01-21T16:54:38.000Z
lib/exi18n/loader/yaml.ex
Liberatys/exi18n
af4dbd8bcaa48d3282d1bc4ae3b134558ea1a1c9
[ "MIT" ]
1
2020-03-18T18:53:55.000Z
2020-03-20T09:22:49.000Z
lib/exi18n/loader/yaml.ex
gvl/exi18n
af4dbd8bcaa48d3282d1bc4ae3b134558ea1a1c9
[ "MIT" ]
2
2020-03-18T09:51:53.000Z
2020-06-18T01:03:14.000Z
if Code.ensure_loaded?(YamlElixir) do defmodule ExI18n.Loader.YAML do @moduledoc """ Loads translations from YAML files. """ @behaviour ExI18n.Loader @doc """ Loads yaml file with translations. ## Parameters - `locale`: `String` with name of locale/file. - `options`: `Map` w...
33.578947
226
0.581505
218719d67e91654d2f6d03b6cc7d539353d62bec
1,721
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.617021
288
0.751888
2187599de5f6879a10cfb3140a7610265a06ab63
56
ex
Elixir
testData/org/elixir_lang/parser_definition/hexadecimal_whole_number_parsing_test_case/ValidDigits.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/hexadecimal_whole_number_parsing_test_case/ValidDigits.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/hexadecimal_whole_number_parsing_test_case/ValidDigits.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# all valid hexadecimal digits 0x0123456789ABCDEFabcdef
18.666667
30
0.875
218771694136815ef263fb0532766274d53aeb87
2,064
ex
Elixir
lib/massively_multiplayer_ttt/game.ex
DylanSp/massively-multiplayer-ttt
abf4fea2853a4691a31f0d9f9a6cb71d9cce6d05
[ "MIT" ]
null
null
null
lib/massively_multiplayer_ttt/game.ex
DylanSp/massively-multiplayer-ttt
abf4fea2853a4691a31f0d9f9a6cb71d9cce6d05
[ "MIT" ]
9
2021-09-09T19:17:59.000Z
2021-09-09T19:32:12.000Z
lib/massively_multiplayer_ttt/game.ex
DylanSp/massively-multiplayer-ttt
abf4fea2853a4691a31f0d9f9a6cb71d9cce6d05
[ "MIT" ]
null
null
null
defmodule MassivelyMultiplayerTtt.Game do defstruct current_player: :player_x, winning_player: :unfinished, board: List.duplicate(:empty, 9) def make_move(game, cell_num) when cell_num >= 0 and cell_num <= 8 do case Enum.at(game.board, cell_num) do :empty -> if game.winnin...
33.290323
89
0.562984
21878048d2a774666436829ccbfc9be8793e8947
48
ex
Elixir
monitoring_hub/apps/monitoring_hub_utils/lib/monitoring_hub_utils/serializers.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
1,459
2017-09-16T13:13:15.000Z
2020-10-05T06:19:50.000Z
monitoring_hub/apps/monitoring_hub_utils/lib/monitoring_hub_utils/serializers.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
1,413
2017-09-14T18:18:14.000Z
2020-09-28T08:10:30.000Z
monitoring_hub/apps/monitoring_hub_utils/lib/monitoring_hub_utils/serializers.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
80
2017-09-27T23:16:23.000Z
2020-06-02T09:18:53.000Z
defmodule MonitoringHubUtils.Serializers do end
16
43
0.895833