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
acd34464c2536e1b9bf71475a93c941034f60e89
555
ex
Elixir
lib/riverside/codec/message_pack.ex
acuityinnovations/riverside
4c1e5477da34c8b7542ea289cda456cffefcf012
[ "MIT" ]
null
null
null
lib/riverside/codec/message_pack.ex
acuityinnovations/riverside
4c1e5477da34c8b7542ea289cda456cffefcf012
[ "MIT" ]
null
null
null
lib/riverside/codec/message_pack.ex
acuityinnovations/riverside
4c1e5477da34c8b7542ea289cda456cffefcf012
[ "MIT" ]
null
null
null
defmodule Riverside.Codec.MessagePack do @behaviour Riverside.Codec @impl Riverside.Codec def frame_type do :binary end @impl Riverside.Codec def encode(msg) do case Msgpax.pack(msg) do {:ok, value} -> {:ok, value} {:error, _exception} -> {:error, :invalid_message} ...
15
40
0.576577
acd36338a4f0beb4a23aa6e67db60e278821d423
1,089
ex
Elixir
backend/lib/backend_web/controllers/todo_controller.ex
sdil/todo-app-phoenix-nuxtjs
cfdb2ccce9cf54f691236ae81740608ce1c6a227
[ "MIT" ]
null
null
null
backend/lib/backend_web/controllers/todo_controller.ex
sdil/todo-app-phoenix-nuxtjs
cfdb2ccce9cf54f691236ae81740608ce1c6a227
[ "MIT" ]
null
null
null
backend/lib/backend_web/controllers/todo_controller.ex
sdil/todo-app-phoenix-nuxtjs
cfdb2ccce9cf54f691236ae81740608ce1c6a227
[ "MIT" ]
null
null
null
defmodule BackendWeb.TodoController do use BackendWeb, :controller alias Backend.Todos alias Backend.Todos.Todo action_fallback BackendWeb.FallbackController def index(conn, _params) do todos = Todos.list_todos() render(conn, "index.json", todos: todos) end def create(conn, %{"todo" => todo_pa...
24.75
73
0.627181
acd37cd70c38d52a24761f5bd1d8f90da822dab7
1,077
ex
Elixir
lib/util/interrupt_vector.ex
NickMcG/SNEEX
901215dea41fa21314a4f4db46b51648158f1544
[ "MIT" ]
1
2019-11-16T00:33:02.000Z
2019-11-16T00:33:02.000Z
lib/util/interrupt_vector.ex
NickMcG/SNEEX
901215dea41fa21314a4f4db46b51648158f1544
[ "MIT" ]
1
2019-08-11T23:02:15.000Z
2019-08-11T23:02:15.000Z
lib/util/interrupt_vector.ex
NickMcG/SNEEX
901215dea41fa21314a4f4db46b51648158f1544
[ "MIT" ]
null
null
null
defmodule Util.InterruptVector do @moduledoc """ This is a structure that holds the addresses for various interrupts. The interrupts are: * _Coprocessor_: Co-processor enable. Shouldn't be used for the SNES. * _Break_: {purpose TBD} * _Abort_: {purpose TBD} * _NMI (Non-maskable interrupt)_: Called when v...
37.137931
95
0.703807
acd380269d4d6bc207b55441d3b8b51f86e78179
3,899
ex
Elixir
lib/chat_api/conversations/helpers.ex
Tiamat-Tech/papercups
f17d2b0ce080c0edab92a4b2e6d4afcef04aa291
[ "MIT" ]
1
2021-06-17T03:17:24.000Z
2021-06-17T03:17:24.000Z
lib/chat_api/conversations/helpers.ex
Tiamat-Tech/papercups
f17d2b0ce080c0edab92a4b2e6d4afcef04aa291
[ "MIT" ]
null
null
null
lib/chat_api/conversations/helpers.ex
Tiamat-Tech/papercups
f17d2b0ce080c0edab92a4b2e6d4afcef04aa291
[ "MIT" ]
null
null
null
defmodule ChatApi.Conversations.Helpers do @moduledoc """ Helper methods for Conversations context. """ require Logger alias ChatApi.{Slack, SlackAuthorizations, SlackConversationThreads} alias ChatApi.Conversations.Conversation @spec format(Conversation.t()) :: map() def format(%Conversation{} = conv...
34.8125
106
0.631444
acd38c36c2382610fd01e74214ba2c5ad3a6e2c7
332
ex
Elixir
lib/phoenix_component_folders_web/controllers/page_controller.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
30
2017-05-05T09:30:06.000Z
2021-03-29T15:08:02.000Z
lib/phoenix_component_folders_web/controllers/page_controller.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
4
2017-05-01T18:53:57.000Z
2020-11-22T06:46:55.000Z
lib/phoenix_component_folders_web/controllers/page_controller.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
7
2017-11-09T06:34:07.000Z
2021-03-01T20:14:18.000Z
defmodule PhoenixComponentFoldersWeb.PageController do use PhoenixComponentFoldersWeb, :controller def index(conn, _params) do render(conn, "index.html", comments: example_comments()) end defp example_comments do [%{author: "Jack", content: "Lorem ipsum"}, %{author: "Linda", content: "Dolor sit amet"}...
27.666667
94
0.728916
acd3904d6e055eab7335a18457cd6198e149c5d5
913
ex
Elixir
lib/fragment/structured_text/block/text.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
10
2018-01-12T18:52:53.000Z
2022-02-17T06:00:21.000Z
lib/fragment/structured_text/block/text.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
12
2018-02-14T23:08:08.000Z
2021-11-22T15:55:41.000Z
lib/fragment/structured_text/block/text.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
8
2018-05-08T14:02:21.000Z
2021-12-15T08:19:55.000Z
alias Prismic.Fragment.StructuredText.Block defmodule Block.Text do alias Prismic.Fragment.StructuredText.Span defstruct [:text, :label, spans: []] @type t :: %__MODULE__{text: String.t(), spans: [Span.t()], label: String.t()} @spec prepare_spans(t) :: {list(Span.t()), list(Span.t())} def prepare_spans(%{...
27.666667
80
0.665936
acd39ca7df5f295f773a28a5e689601416fe0d4f
1,376
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/integer_values.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/integer_values.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/integer_values.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...
29.276596
76
0.729651
acd3ab37626814b09e430488f696e987292bc19c
848
ex
Elixir
lib/glimesh_web/controllers/user_authorized_apps_controller.ex
coredreamstudios/glimesh.tv
736f4f03aa51a7fbcaaf276ffee2af470afc2fa7
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
lib/glimesh_web/controllers/user_authorized_apps_controller.ex
coredreamstudios/glimesh.tv
736f4f03aa51a7fbcaaf276ffee2af470afc2fa7
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
lib/glimesh_web/controllers/user_authorized_apps_controller.ex
coredreamstudios/glimesh.tv
736f4f03aa51a7fbcaaf276ffee2af470afc2fa7
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule GlimeshWeb.UserAuthorizedAppsController do @moduledoc false use GlimeshWeb, :controller plug :put_layout, "user-sidebar.html" def index(conn, _params) do tokens = Glimesh.Apps.list_valid_tokens_for_user(conn.assigns[:current_user]) render(conn, "index.html", page_title: format_page_ti...
28.266667
81
0.670991
acd3e5ec055df2c5e603c7b24640cced89a28caf
1,783
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/event_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/event_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/event_filter.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...
35.66
171
0.744812
acd42403d39391dc2c9ae220dfab49fa9c42b8a8
1,119
ex
Elixir
lib/exkeychain/application.ex
ctxhaard/exkeychain
1109316f182ab35d0f01a5607260afd35b87e7ff
[ "Apache-2.0" ]
1
2021-02-15T08:56:17.000Z
2021-02-15T08:56:17.000Z
lib/exkeychain/application.ex
ctxhaard/exkeychain
1109316f182ab35d0f01a5607260afd35b87e7ff
[ "Apache-2.0" ]
null
null
null
lib/exkeychain/application.ex
ctxhaard/exkeychain
1109316f182ab35d0f01a5607260afd35b87e7ff
[ "Apache-2.0" ]
null
null
null
defmodule Exkeychain.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Telemetry supervisor ExkeychainWeb.Telemetry, # Start the PubSub system ...
29.447368
68
0.687221
acd425c005f8c74baa7d658e3ed58456ee420dd3
2,864
exs
Elixir
test/glimesh/channel_lookups_test.exs
aMytho/glimesh.tv
f2855e83647611f33ecbdb21ab35d716933db024
[ "MIT" ]
null
null
null
test/glimesh/channel_lookups_test.exs
aMytho/glimesh.tv
f2855e83647611f33ecbdb21ab35d716933db024
[ "MIT" ]
null
null
null
test/glimesh/channel_lookups_test.exs
aMytho/glimesh.tv
f2855e83647611f33ecbdb21ab35d716933db024
[ "MIT" ]
null
null
null
defmodule Glimesh.ChannelLookupsTest do use Glimesh.DataCase use Bamboo.Test import Glimesh.AccountsFixtures alias Glimesh.ChannelLookups alias Glimesh.ChannelCategories defp create_channel(_) do streamer = streamer_fixture(%{}, %{ # Force ourselves to have a gaming stream catego...
29.833333
94
0.64176
acd43e952be87b1eb9d590ebb39a713cd230fe76
792
ex
Elixir
lib/web/channels/admin_socket.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
lib/web/channels/admin_socket.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
lib/web/channels/admin_socket.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
defmodule Web.AdminSocket do use Phoenix.Socket require Logger alias Web.User channel("character:*", Web.CharacterChannel) channel("npc:*", Web.NPCChannel) transport(:websocket, Phoenix.Transports.WebSocket) def connect(%{"token" => token}, socket) do case Phoenix.Token.verify(socket, "user socket...
21.405405
79
0.637626
acd45037bb6b193bca1bf1853b7d32f2cf1b1dc8
1,340
ex
Elixir
gen/envoy/config/filter/http/fault/v2/fault.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
5
2018-10-12T13:13:19.000Z
2020-10-03T17:51:37.000Z
gen/envoy/config/filter/http/fault/v2/fault.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
207
2018-02-09T14:24:14.000Z
2020-07-25T11:09:19.000Z
gen/envoy/config/filter/http/fault/v2/fault.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
1
2019-08-08T11:30:59.000Z
2019-08-08T11:30:59.000Z
defmodule Envoy.Config.Filter.Http.Fault.V2.FaultAbort do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ error_type: {atom, any}, percent: non_neg_integer, percentage: Envoy.Type.FractionalPercent.t() | nil } defstruct [:error_type, :percent, :perce...
36.216216
76
0.685821
acd4590720da31803e65c2f5c21432a4e6083634
2,322
ex
Elixir
elixir/lib/parser.ex
jtarchie/syslog
2281c7b3147bd611ad68e32ba7d06003670a3862
[ "MIT" ]
null
null
null
elixir/lib/parser.ex
jtarchie/syslog
2281c7b3147bd611ad68e32ba7d06003670a3862
[ "MIT" ]
1
2018-04-28T04:53:46.000Z
2018-06-19T03:28:56.000Z
elixir/lib/parser.ex
jtarchie/syslog
2281c7b3147bd611ad68e32ba7d06003670a3862
[ "MIT" ]
null
null
null
defmodule SyslogParser do @compile [:native, {:hipe, [:verbose, :o3]}] import NimbleParsec datetime = choice([ string("-"), ascii_string([not: ?\s], min: 1) ]) |> tag(:datetime) prival = integer(min: 1, max: 3) |> tag(:prival) pri = ignore(string("<")) |> concat(prival) |> ignore(str...
20.017241
72
0.488803
acd46b14cca16c4f1a17d5f411ddb94f609fc8fd
1,764
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/operation_error_errors.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/operation_error_errors.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/operation_error_errors.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.283019
156
0.710884
acd479a41b706241b7fc33f5d403fdd981971cc3
2,000
ex
Elixir
lib/quark/ski.ex
czwartyeon/quark
ce0465d565dd32db5d7b9f836ca59ac541952e3a
[ "MIT" ]
80
2019-06-07T00:02:56.000Z
2022-03-14T19:33:27.000Z
lib/quark/ski.ex
czwartyeon/quark
ce0465d565dd32db5d7b9f836ca59ac541952e3a
[ "MIT" ]
11
2019-07-08T09:56:54.000Z
2021-11-29T09:57:16.000Z
lib/quark/ski.ex
czwartyeon/quark
ce0465d565dd32db5d7b9f836ca59ac541952e3a
[ "MIT" ]
7
2019-09-18T14:56:57.000Z
2021-05-25T17:16:43.000Z
defmodule Quark.SKI do @moduledoc ~S""" The classic [SKI](https://en.wikipedia.org/wiki/SKI_combinator_calculus) system of combinators. `s` and `k` alone can be used to express any algorithm, though generally not efficiently. """ import Quark.Partial @doc ~S""" The identity combinator. Also aliased as...
20
80
0.5825
acd48718ab3bccbcaead2c071698c3a4d1a8c337
1,225
ex
Elixir
.emacs.d/plugins/ddskk-20110102/skk.ex
thayamizu/dotfiles
5d3eae4070da0b892e487ab14d1500ad4527bb2b
[ "CC0-1.0" ]
null
null
null
.emacs.d/plugins/ddskk-20110102/skk.ex
thayamizu/dotfiles
5d3eae4070da0b892e487ab14d1500ad4527bb2b
[ "CC0-1.0" ]
3
2020-03-30T09:51:06.000Z
2020-12-18T14:25:45.000Z
.emacs.d/plugins/ddskk-20110102/skk.ex
thayamizu/dotfiles
5d3eae4070da0b892e487ab14d1500ad4527bb2b
[ "CC0-1.0" ]
null
null
null
RCS CVS not_used *,v *.elc *.bak *.BAK make.log temp.el dic/SKK-JISYO.E2J dic/SKK-JISYO.pubdic+ dic/SKK-JISYO.L dic/SKK-JISYO.M dic/SKK-JISYO.ML dic/SKK-JISYO.S dic/edict.doc jisyo-tools experimental/rdbms/kanjidic/kanjidic experimental/rdbms/kanjidic/kanjidic.doc experimental/rdbms/kanjidic/kanjid212 experimental/rdbm...
26.06383
41
0.835102
acd49ed66d4d45afd7326680a45341e9483b6486
553
exs
Elixir
test/views/error_view_test.exs
cuongkta/login_logout_elixir
71ad24e1077402fa719ce52fb3bc2a77510b1b86
[ "Apache-2.0" ]
7
2016-12-15T00:33:22.000Z
2019-04-24T20:42:17.000Z
test/views/error_view_test.exs
cuongkta/login_logout_elixir
71ad24e1077402fa719ce52fb3bc2a77510b1b86
[ "Apache-2.0" ]
1
2017-07-19T16:41:35.000Z
2017-07-19T16:41:35.000Z
test/views/error_view_test.exs
cuongkta/login_logout_elixir
71ad24e1077402fa719ce52fb3bc2a77510b1b86
[ "Apache-2.0" ]
2
2017-04-28T21:52:38.000Z
2020-04-24T14:41:31.000Z
defmodule Blog.ErrorViewTest do use Blog.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Blog.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do asser...
25.136364
66
0.667269
acd4b6c2c051e032e71073bf8cd4b6b4082c59f3
360
ex
Elixir
ex/loqui/lib/loqui/protocol/compressors/noop.ex
NorthIsUp/loqui
8d394a7951fd3a82d109becc1aebbd9e7ccc894a
[ "MIT" ]
147
2017-10-02T18:16:52.000Z
2020-03-16T03:26:40.000Z
ex/loqui/lib/loqui/protocol/compressors/noop.ex
NorthIsUp/loqui
8d394a7951fd3a82d109becc1aebbd9e7ccc894a
[ "MIT" ]
14
2017-09-19T16:13:32.000Z
2019-06-25T21:18:47.000Z
ex/loqui/lib/loqui/protocol/compressors/noop.ex
NorthIsUp/loqui
8d394a7951fd3a82d109becc1aebbd9e7ccc894a
[ "MIT" ]
25
2017-10-01T20:10:31.000Z
2020-03-19T14:00:20.000Z
defmodule Loqui.Protocol.Compressors.NoOp do @moduledoc """ The default compressor, which does nothing. The name used during negotiation is "" (empty string) """ @behaviour Loqui.Protocol.Compressor @doc false def name, do: "" @doc false def compress(binary), do: binary @doc false def...
16.363636
55
0.680556
acd4d587697b562f3dbed515c45616e9fb737574
1,147
exs
Elixir
config/config.exs
Fulnir/cologne_phonetic_ex
3f8b666d5979d8dee03879f04fd0d0884b8f0ed0
[ "MIT" ]
null
null
null
config/config.exs
Fulnir/cologne_phonetic_ex
3f8b666d5979d8dee03879f04fd0d0884b8f0ed0
[ "MIT" ]
null
null
null
config/config.exs
Fulnir/cologne_phonetic_ex
3f8b666d5979d8dee03879f04fd0d0884b8f0ed0
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37
73
0.756757
acd4d7d145d37d27ced007f75001733ef3ac42f5
815
ex
Elixir
web/db/old_reservation_sink.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
web/db/old_reservation_sink.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
web/db/old_reservation_sink.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.OldReservationSink do alias Eecrit.OldGroup alias Eecrit.OldUse @repo Eecrit.OldRepo # TODO: Should this use changesets? Note: as it stands, no # validations are done to any of the structs. But at the moment, # nothing here is built from user-supplied data. def make_full!(reservation_fi...
37.045455
82
0.719018
acd4e79ed729b80f2c16ffe7f18e7e9429e83377
56,540
ex
Elixir
lib/aws/generated/swf.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/swf.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/swf.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.SWF do @moduledoc """ Amazon Simple Workflow Service The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across ...
40.676259
189
0.751698
acd4ed3bdd4a6633c22f06cdd68505996187bd08
261
ex
Elixir
lib/bonfire/games/router.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
71
2020-03-09T02:09:30.000Z
2022-03-09T06:10:23.000Z
lib/bonfire/games/router.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
null
null
null
lib/bonfire/games/router.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
4
2020-04-03T02:28:05.000Z
2021-11-24T20:07:25.000Z
defmodule Bonfire.Games.Router do use Commanded.Commands.Router alias Bonfire.Games.{ Commands.StartGame, Commands.NewStar, Aggregate } identify(Aggregate, by: :user_id, prefix: "game-") dispatch([StartGame, NewStar], to: Aggregate) end
20.076923
52
0.716475
acd4f23d77cfb498c190273fde1eefe9e4cfdd2b
128
ex
Elixir
lib/battle_box/utilities/graph.ex
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
lib/battle_box/utilities/graph.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
lib/battle_box/utilities/graph.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBox.Utilities.Graph do defdelegate a_star(start_loc, end_loc, neighbors, heuristic), to: __MODULE__.AStar end
32
84
0.820313
acd51255e5f8a46aa23da746a2820fa3dba35028
402
ex
Elixir
lib/segment/hkspa.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
27
2015-08-09T16:36:31.000Z
2020-01-26T17:47:17.000Z
lib/segment/hkspa.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
14
2015-07-31T07:28:07.000Z
2018-09-06T18:32:37.000Z
lib/segment/hkspa.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
19
2015-07-31T01:25:17.000Z
2019-06-29T16:28:42.000Z
defmodule FinTex.Segment.HKSPA do @moduledoc false alias FinTex.Model.Dialog alias FinTex.Helper.Segment defstruct [segment: nil] import Segment def new(_, d = %Dialog{}) do v = max_version(d, __MODULE__) %__MODULE__{ segment: [ ["HKSPA", "?", v] ] } end en...
14.888889
45
0.624378
acd520c70f8d61f7f8eceba8391e0298f6613334
4,042
ex
Elixir
lib/flagr/api/segment.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
lib/flagr/api/segment.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
lib/flagr/api/segment.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Flagr.Api.Segment do @moduledoc """ API calls for all endpoints tagged `Segment`. """ alias Flagr.Connection import Flagr.RequestBuilde...
29.50365
159
0.639782
acd580f8adff18918bb52ad02aa0e6f4bcf4cac3
72
exs
Elixir
config/dev.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
config/dev.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
config/dev.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
use Mix.Config config :logger, :console, format: "[$level] $message\n"
18
55
0.694444
acd5a08d11e57cbb765d1b0eace3153549b089b9
323
exs
Elixir
config/test.exs
jschoch/reflux_eventbroker_react_phoenix_elixir
31a6ca7ccf5914a5c02f16c5a3cbf0bdb3d0be2d
[ "MIT" ]
5
2015-08-18T09:25:47.000Z
2021-01-19T04:52:18.000Z
config/test.exs
jschoch/reflux_eventbroker_react_phoenix_elixir
31a6ca7ccf5914a5c02f16c5a3cbf0bdb3d0be2d
[ "MIT" ]
1
2015-08-26T17:37:23.000Z
2015-08-29T12:38:56.000Z
config/test.exs
jschoch/reflux_eventbroker_react_phoenix_elixir
31a6ca7ccf5914a5c02f16c5a3cbf0bdb3d0be2d
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :reflux_eventbroker_react_phoenix_elixir, RefluxEventbrokerReactPhoenixElixir.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :wa...
29.363636
94
0.783282
acd5ad5a2607766854ec77a786f95b7e969ba6d2
97
exs
Elixir
score-a-good-guess/pythag.exs
herminiotorres/elixir-for-programmers
6a02e3312ad0f7b1e543627e3cf8b54db00d0a1e
[ "MIT" ]
1
2020-08-10T21:07:43.000Z
2020-08-10T21:07:43.000Z
score-a-good-guess/pythag.exs
herminiotorres/elixir-for-programmers
6a02e3312ad0f7b1e543627e3cf8b54db00d0a1e
[ "MIT" ]
null
null
null
score-a-good-guess/pythag.exs
herminiotorres/elixir-for-programmers
6a02e3312ad0f7b1e543627e3cf8b54db00d0a1e
[ "MIT" ]
null
null
null
for a <- 1..100, b <- 1..100, c <- 1..100, (a*a) + (b*b) == (c*c) do {a,b,c} |> IO.inspect end
24.25
68
0.42268
acd5bd1614c5e484d18af33ac5a4ec603d9db9b8
1,275
ex
Elixir
test/support/conn_case.ex
vsyrovat/inn-checker
03cb3f282af598c7d62ea96c483540edead4ba1e
[ "MIT" ]
null
null
null
test/support/conn_case.ex
vsyrovat/inn-checker
03cb3f282af598c7d62ea96c483540edead4ba1e
[ "MIT" ]
null
null
null
test/support/conn_case.ex
vsyrovat/inn-checker
03cb3f282af598c7d62ea96c483540edead4ba1e
[ "MIT" ]
null
null
null
defmodule AppWeb.ConnCase do # credo:disable-for-this-file Credo.Check.Design.AliasUsage @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 d...
28.333333
65
0.721569
acd60049a71cba67be849d9c598cca1d47f1bd5f
361
exs
Elixir
priv/repo/seeds.exs
zookzook/benzinpreise
05f7946bc2b181ca9e3260b388ae45a55829b9a9
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
zookzook/benzinpreise
05f7946bc2b181ca9e3260b388ae45a55829b9a9
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
zookzook/benzinpreise
05f7946bc2b181ca9e3260b388ae45a55829b9a9
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Benzinpreise.Repo.insert!(%Benzinpreise.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as...
30.083333
61
0.714681
acd60638b2d43218f6e7d9c2996521f3fc374688
4,516
ex
Elixir
lib/muontrap.ex
se-apc/muontrap
a6d91b6b5676c7345e53420c615b04ff3798fe3c
[ "Apache-2.0" ]
null
null
null
lib/muontrap.ex
se-apc/muontrap
a6d91b6b5676c7345e53420c615b04ff3798fe3c
[ "Apache-2.0" ]
null
null
null
lib/muontrap.ex
se-apc/muontrap
a6d91b6b5676c7345e53420c615b04ff3798fe3c
[ "Apache-2.0" ]
null
null
null
defmodule MuonTrap do @moduledoc """ MuonTrap protects you from lost and out of control OS processes. You can use it as a `System.cmd/3` replacement or to pull OS processes into an Erlang supervision tree via `MuonTrap.Daemon`. Either way, if the Erlang process that runs the command dies, then the OS process...
40.321429
169
0.70837
acd61142aeaf3e6543eea367ce7f1bafa64f24a9
10,147
ex
Elixir
lib/nerves_runtime/kv.ex
nerves-project/nerves_runtime
b6d74f390e97952d1c0ed79c50b675a2e5f3a1f9
[ "Apache-2.0" ]
49
2017-03-02T03:38:32.000Z
2022-02-24T12:11:40.000Z
lib/nerves_runtime/kv.ex
nerves-project/nerves_runtime
b6d74f390e97952d1c0ed79c50b675a2e5f3a1f9
[ "Apache-2.0" ]
83
2017-03-09T09:09:14.000Z
2022-02-09T11:13:27.000Z
lib/nerves_runtime/kv.ex
nerves-project/nerves_runtime
b6d74f390e97952d1c0ed79c50b675a2e5f3a1f9
[ "Apache-2.0" ]
21
2017-02-28T16:55:32.000Z
2021-07-29T15:54:13.000Z
defmodule Nerves.Runtime.KV do @moduledoc """ Key Value storage for firmware variables provided by fwup. KV provides functionality to read and modify firmware metadata set by fwup. The firmware metadata contains information such as the active firmware slot, where the application data partition is located, et...
33.268852
89
0.665615
acd618f540cea1c6d9f861c1a1848290bd257c94
28,395
exs
Elixir
test/phoenix_live_view/diff_test.exs
HoJSim/phoenix_live_view
8cb3b4c872e6e0a0fb4209cb651aab84309ea6c8
[ "MIT" ]
null
null
null
test/phoenix_live_view/diff_test.exs
HoJSim/phoenix_live_view
8cb3b4c872e6e0a0fb4209cb651aab84309ea6c8
[ "MIT" ]
null
null
null
test/phoenix_live_view/diff_test.exs
HoJSim/phoenix_live_view
8cb3b4c872e6e0a0fb4209cb651aab84309ea6c8
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.DiffTest do use ExUnit.Case, async: true import Phoenix.LiveView.Helpers alias Phoenix.LiveView.{Socket, Diff, Rendered, Component} def basic_template(assigns) do ~L""" <div> <h2>It's <%= @time %></h2> <%= @subtitle %> </div> """ end def literal_tem...
32.193878
133
0.485226
acd6324cff73c9fdbb32f950ca0bd1b90d566c5d
2,028
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/stage_source.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/stage_source.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/stage_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...
36.214286
185
0.713511
acd635fdd5350b00bd140749db6e2b18b94493d7
386
ex
Elixir
web/views/error_view.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
1
2017-02-06T23:13:04.000Z
2017-02-06T23:13:04.000Z
web/views/error_view.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
null
null
null
web/views/error_view.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
null
null
null
defmodule AbsintheReact.ErrorView do use AbsintheReact.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_foun...
21.444444
47
0.707254
acd694a20ad894b20d67928fd3092df0276d0af8
1,383
ex
Elixir
test/support/apps/example/test/support/data_case.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
528
2019-09-13T15:10:36.000Z
2022-03-31T10:28:27.000Z
test/support/apps/example/test/support/data_case.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
133
2019-09-13T17:46:59.000Z
2022-03-01T13:37:10.000Z
test/support/apps/example/test/support/data_case.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
84
2018-08-27T11:56:59.000Z
2022-01-28T00:33:47.000Z
defmodule Example.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test...
25.611111
77
0.679682
acd69dd08b2967e1d0439419131df82fed30ed02
164,146
ex
Elixir
lib/elixir/lib/kernel.ex
ribwortplantain/elixir
620a5631ea59d4ab7ed23386f1f6c73ec673cf2c
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
ribwortplantain/elixir
620a5631ea59d4ab7ed23386f1f6c73ec673cf2c
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
ribwortplantain/elixir
620a5631ea59d4ab7ed23386f1f6c73ec673cf2c
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
27.03772
116
0.632285
acd6f99d862c2c686e9e15f423b7f1c416d3bf18
129
exs
Elixir
test/chopperbot/money_formatter_test.exs
flipay/chopperbot
29d81a343442bdd8eae7627bc6eb3c7d83cd0151
[ "MIT" ]
5
2019-12-14T03:12:28.000Z
2020-03-04T12:58:44.000Z
test/chopperbot/money_formatter_test.exs
flipay/chopperbot
29d81a343442bdd8eae7627bc6eb3c7d83cd0151
[ "MIT" ]
12
2020-01-07T09:31:33.000Z
2020-03-27T06:11:21.000Z
test/chopperbot/money_formatter_test.exs
flipay/chopperbot
29d81a343442bdd8eae7627bc6eb3c7d83cd0151
[ "MIT" ]
1
2020-01-09T10:35:37.000Z
2020-01-09T10:35:37.000Z
defmodule Chopperbot.MoneyFormatterTest do use ExUnit.Case, async: true doctest Chopperbot.MoneyFormatter, import: true end
21.5
49
0.813953
acd70d2941e233f74b4362805264dbf4e9bc9e0d
2,522
ex
Elixir
lib/crontab/cron_expression/ecto_type.ex
mveytsman/crontab
f42a90a1ab227c9137bd9f31d33ccfb1a82439e2
[ "MIT" ]
null
null
null
lib/crontab/cron_expression/ecto_type.ex
mveytsman/crontab
f42a90a1ab227c9137bd9f31d33ccfb1a82439e2
[ "MIT" ]
null
null
null
lib/crontab/cron_expression/ecto_type.ex
mveytsman/crontab
f42a90a1ab227c9137bd9f31d33ccfb1a82439e2
[ "MIT" ]
null
null
null
# TODO: Replace with simple Code.ensure_compiled as soon as Elixir mininum # version is raised to 1.10. Code |> function_exported?(:ensure_compiled, 1) |> if do match?({:module, Ecto.Type}, Code.ensure_compiled(Ecto.Type)) else :erlang.apply(Code, :ensure_compiled?, [Ecto.Type]) end |> if do defmodule Crontab.Cr...
27.714286
85
0.624901
acd738b2c7cc86352444a92332301283491fed23
5,053
ex
Elixir
lib/elastic/document/api.ex
bypasslane/elastic
b6a776d5c03bb7a4ee7c0b8cb8e3065b4fe77610
[ "MIT" ]
1
2017-04-12T02:25:06.000Z
2017-04-12T02:25:06.000Z
lib/elastic/document/api.ex
bypasslane/elastic
b6a776d5c03bb7a4ee7c0b8cb8e3065b4fe77610
[ "MIT" ]
3
2017-05-15T15:08:12.000Z
2018-12-18T16:50:19.000Z
lib/elastic/document/api.ex
bypasslane/elastic
b6a776d5c03bb7a4ee7c0b8cb8e3065b4fe77610
[ "MIT" ]
1
2017-03-24T15:44:38.000Z
2017-03-24T15:44:38.000Z
defmodule Elastic.Document.API do @moduledoc ~S""" The Document API provides some helpers for interacting with documents. The Document API extracts away a lot of the repetition of querying / indexing of a particular index. Here's an example: ``` defmodule Answer do @es_type "answer" @es_index "ans...
22.864253
99
0.594498
acd73ae71e4e5206a89964fa6a9938c459541cfd
7,042
ex
Elixir
lib/faker/util.ex
secoint/faker
36d0a1a38fd4dc5a53e732e16223e64eb54ff305
[ "MIT" ]
1
2019-02-11T20:46:52.000Z
2019-02-11T20:46:52.000Z
lib/faker/util.ex
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
null
null
null
lib/faker/util.ex
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
null
null
null
defmodule Faker.Util do import Faker, only: [localize: 1] @moduledoc """ Collection of useful functions for your fake data. Functions aware of locale. """ @doc """ Pick a random element from the list ## Examples iex> Faker.Util.pick(10..100) 79 iex> Faker.Util.pick([1, 3, 5, 7]) ...
26.276119
100
0.593865
acd74a6c964ecd04ffbf3dc034ae5469383fe257
817
exs
Elixir
test/docs/import_option_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
test/docs/import_option_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
test/docs/import_option_test.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule ESpec.DocTestTest.Mod3 do @doc """ iex> some_fun() :some_fun """ def some_fun, do: :some_fun @doc """ iex> some_fun(1, 1) 2 """ def some_fun(a, b), do: a + b end |> ExUnit.TestHelpers.write_beam() defmodule ESpec.DocTestTest.ImportSpec do use ESpec doctest ESpec.DocTestTest.M...
20.425
63
0.669523
acd77e20664c62745110b03e6060771291d299f6
15,369
ex
Elixir
lib/accounting/adapters/xero_adapter.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
3
2017-12-17T22:00:22.000Z
2020-01-12T17:29:36.000Z
lib/accounting/adapters/xero_adapter.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
2
2017-12-11T23:31:04.000Z
2017-12-15T16:44:31.000Z
lib/accounting/adapters/xero_adapter.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
3
2017-07-26T07:34:30.000Z
2022-01-11T15:53:07.000Z
defmodule Accounting.XeroAdapter do @moduledoc """ The journal adapter for https://developer.xero.com/. """ alias Accounting.{ Account, AccountTransaction, Adapter, Entry, Helpers, Journal, XeroView, } import Helpers, only: [sort_transactions: 1] import XeroView, only: [render...
34.38255
176
0.647732
acd7a72a3aebd4a64e20a068b26b951f2d94aae1
3,318
ex
Elixir
lib/jorb/backend/sqs.ex
appcues/jorb
4aad0ae440b18374ff1d37cb4780e812f48b704e
[ "MIT" ]
null
null
null
lib/jorb/backend/sqs.ex
appcues/jorb
4aad0ae440b18374ff1d37cb4780e812f48b704e
[ "MIT" ]
7
2018-02-08T21:48:39.000Z
2019-10-16T19:53:18.000Z
lib/jorb/backend/sqs.ex
appcues/jorb
4aad0ae440b18374ff1d37cb4780e812f48b704e
[ "MIT" ]
null
null
null
defmodule Jorb.Backend.SQS do @behaviour Jorb.Backend alias ExAws.SQS @impl true def create_queue(queue, opts) do request = SQS.create_queue(queue, opts) case ExAws.request(request) do {:ok, %{body: %{queue_url: queue_url}}} -> put_queue_url(queue, queue_url) :ok err -> ...
25.523077
81
0.600964
acd7b688bbca93a2d91cd9a8b437a856845d2661
1,869
exs
Elixir
mix.exs
cogini/onvif
ec687d70895bf22ad7b802d7964142e3719787b6
[ "Apache-2.0" ]
3
2018-09-26T07:33:22.000Z
2020-01-14T18:34:44.000Z
mix.exs
cogini/onvif
ec687d70895bf22ad7b802d7964142e3719787b6
[ "Apache-2.0" ]
null
null
null
mix.exs
cogini/onvif
ec687d70895bf22ad7b802d7964142e3719787b6
[ "Apache-2.0" ]
null
null
null
defmodule Onvif.MixProject do use Mix.Project def project do [ app: :onvif, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, erlc_options: erlc_options(), dialyzer: [ # plt_add_deps: :project, # plt_add_apps: [:ssl, :mnesia, :compiler,...
30.639344
92
0.597111
acd7c2ad3f10cefff3eedb801a1329f7e45840b0
292
exs
Elixir
test/future_made_concerts_web/views/layout_view_test.exs
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
test/future_made_concerts_web/views/layout_view_test.exs
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
test/future_made_concerts_web/views/layout_view_test.exs
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
defmodule FutureMadeConcertsWeb.LayoutViewTest do use FutureMadeConcertsWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
32.444444
65
0.784247
acd7ceb1f732f152b810bfcaf215ae70d77db3a9
770
ex
Elixir
lib/N2O.ex
Youimmi/n2o
f39fb848dce9a0bc0b729217b8fbaf5dd8043de2
[ "ISC" ]
666
2015-08-06T08:01:31.000Z
2022-03-31T02:36:19.000Z
lib/N2O.ex
Youimmi/n2o
f39fb848dce9a0bc0b729217b8fbaf5dd8043de2
[ "ISC" ]
70
2015-08-17T09:41:42.000Z
2021-04-20T07:37:49.000Z
lib/N2O.ex
Youimmi/n2o
f39fb848dce9a0bc0b729217b8fbaf5dd8043de2
[ "ISC" ]
136
2015-08-10T04:40:36.000Z
2022-03-24T14:39:59.000Z
defmodule N2O do require Record Enum.each(Record.extract_all(from_lib: "n2o/include/n2o.hrl"), fn {name, definition} -> Record.defrecord(name, definition) end) defmacro __using__(opts \\ []) do imports = opts |> Macro.exp...
24.83871
83
0.54026
acd7e310e3354c720dace21231d289d4313c0d68
139
ex
Elixir
lib/kwtool_web/controllers/home_controller.ex
byhbt/kwtool
8958a160066e3e4c61806202af2563541f2261e3
[ "MIT" ]
5
2021-12-14T08:18:24.000Z
2022-03-29T10:02:48.000Z
lib/kwtool_web/controllers/home_controller.ex
byhbt/kwtool
8958a160066e3e4c61806202af2563541f2261e3
[ "MIT" ]
32
2021-03-21T16:32:18.000Z
2022-03-23T08:00:37.000Z
lib/kwtool_web/controllers/home_controller.ex
byhbt/kwtool
8958a160066e3e4c61806202af2563541f2261e3
[ "MIT" ]
1
2021-06-03T17:22:16.000Z
2021-06-03T17:22:16.000Z
defmodule KwtoolWeb.HomeController do use KwtoolWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
17.375
37
0.733813
acd7e7ccd3361934704ba61ccac21afd466b71f1
3,168
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/write_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/write_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/write_request.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...
56.571429
618
0.736742
acd7eb3b67e358e6cb453867e8a69cfe7dccf375
483
ex
Elixir
lib/movekr/accounts/user.ex
devandcoffee/movekr-be
bff1690e22daec9a545ca7b69495cb928d68c0a5
[ "MIT" ]
null
null
null
lib/movekr/accounts/user.ex
devandcoffee/movekr-be
bff1690e22daec9a545ca7b69495cb928d68c0a5
[ "MIT" ]
null
null
null
lib/movekr/accounts/user.ex
devandcoffee/movekr-be
bff1690e22daec9a545ca7b69495cb928d68c0a5
[ "MIT" ]
null
null
null
defmodule Movekr.Accounts.User do use Ecto.Schema import Ecto.Changeset alias Movekr.Projects.Project schema "users" do field :mail, :string field :name, :string field :password, :string has_many :projects, Project, foreign_key: :owner_id timestamps() end @doc false def changeset(us...
21
55
0.670807
acd80930655009776b62f6d4e290306d04bfc4f1
145,616
exs
Elixir
test/harmonex/pitch_test.exs
njonsson/harmonex
1a7a8531719986f00dd73bdca9457ec2f224d8cf
[ "MIT" ]
6
2017-07-25T03:49:00.000Z
2022-03-20T06:44:31.000Z
test/harmonex/pitch_test.exs
njonsson/harmonex
1a7a8531719986f00dd73bdca9457ec2f224d8cf
[ "MIT" ]
85
2017-06-20T23:10:21.000Z
2021-08-02T11:15:20.000Z
test/harmonex/pitch_test.exs
njonsson/harmonex
1a7a8531719986f00dd73bdca9457ec2f224d8cf
[ "MIT" ]
null
null
null
defmodule Harmonex.PitchTest do use ExUnit.Case, async: true alias Harmonex.{Pitch,Interval} doctest Pitch @natural_names ~w(c d e f g a b)a @accidentals ~w(double_flat flat natural sharp double_sharp)a @octaves [-100, -1, 0, 1, 100] @invalid_name "Invalid pitch name -- must be in #{inspect Enum.sort(...
43.93965
117
0.47709
acd8196dff47b2c1dd88feb523c13dd88d7bc870
20,869
exs
Elixir
test/epi_contacts/commcare_sms_trigger_test.exs
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
test/epi_contacts/commcare_sms_trigger_test.exs
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
13
2021-06-29T04:35:41.000Z
2022-02-09T04:25:39.000Z
test/epi_contacts/commcare_sms_trigger_test.exs
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
defmodule EpiContacts.CommcareSmsTriggerTest do use EpiContacts.DataCase, async: true use ExUnitProperties alias EpiContacts.{CommcareSmsTrigger, PatientCase} alias EpiContacts.Commcare alias EpiContacts.Parsers import Mox setup :verify_on_exit! @callout_property_name Commcare.PatientCase.callout_pro...
39.080524
176
0.677225
acd820194d41bbfee1a66d90015f668b5e0c7709
404
ex
Elixir
lib/protocols/snake_caser_protocol.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/protocols/snake_caser_protocol.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/protocols/snake_caser_protocol.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
1
2021-11-09T14:20:08.000Z
2021-11-09T14:20:08.000Z
defprotocol Digger.SnakeCaser do @moduledoc """ Documentation for Digger.SnakeCaser Protocol """ @fallback_to_any true @doc """ snake_case a valid Types.data_type according to the protocol implementation """ @spec snake_case(Types.data_type(), keyword()) :: Types.valid_return_type() def snake_case(...
26.933333
96
0.732673
acd83b6704a3204c0fd75c49132c26a82f65cf28
671
exs
Elixir
test/phoenix_slime_test.exs
neurodynamic/phoenix_slime
2b80de44cbfb2f1526bdd59ab9f1a10eb5351083
[ "MIT" ]
null
null
null
test/phoenix_slime_test.exs
neurodynamic/phoenix_slime
2b80de44cbfb2f1526bdd59ab9f1a10eb5351083
[ "MIT" ]
null
null
null
test/phoenix_slime_test.exs
neurodynamic/phoenix_slime
2b80de44cbfb2f1526bdd59ab9f1a10eb5351083
[ "MIT" ]
null
null
null
defmodule PhoenixSlimeTest do use ExUnit.Case alias Phoenix.View defmodule MyApp.PageView do use Phoenix.View, root: "test/fixtures/templates" use Phoenix.HTML end test "render a slime template with layout" do html = View.render(MyApp.PageView, "new.html", message: "hi", l...
24.851852
96
0.603577
acd8533574b3cdda61400e4b7782699df2379565
14,756
ex
Elixir
lib/mongo/bulk_write.ex
aenglisc/elixir-mongodb-driver
a8a72fbb8690f44ac349e0449616ac2cfbf50640
[ "Apache-2.0" ]
null
null
null
lib/mongo/bulk_write.ex
aenglisc/elixir-mongodb-driver
a8a72fbb8690f44ac349e0449616ac2cfbf50640
[ "Apache-2.0" ]
null
null
null
lib/mongo/bulk_write.ex
aenglisc/elixir-mongodb-driver
a8a72fbb8690f44ac349e0449616ac2cfbf50640
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.BulkWrite do @moduledoc """ The driver supports the so-called bulk writes ([Specification](https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#basic)): The motivation for bulk writes lies in the possibility of optimizing to group the same operations. The driver supports ...
34.884161
177
0.63669
acd88b59a819cf01f9bdb3b05671771e87ee3144
3,233
exs
Elixir
robotica/test/robotica/scheduler/classifier_test.exs
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica/test/robotica/scheduler/classifier_test.exs
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica/test/robotica/scheduler/classifier_test.exs
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule Robotica.Scheduler.Classifier.Test do use ExUnit.Case, async: true import Robotica.Scheduler.Classifier test "is weekday" do assert "weekday" not in classify_date(~D[2018-12-22]) assert "weekday" not in classify_date(~D[2018-12-23]) assert "weekday" in classify_date(~D[2018-12-24]) ass...
42.539474
66
0.700588
acd8ab2287396de13385d0877f2d96c7ec185a08
3,438
ex
Elixir
lib/companies/companies.ex
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
null
null
null
lib/companies/companies.ex
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
null
null
null
lib/companies/companies.ex
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
null
null
null
defmodule Companies.Companies do @moduledoc false import Ecto.Query, warn: false alias Companies.{PendingChanges, Repo} alias Companies.Schema.{Company, Job} @doc """ Returns the list of paginated companies. ## Examples iex> all() [%Company{}, ...] """ def all(params \\ %{}) do page = M...
20.105263
92
0.623037
acd8cb9afa603d30145b68c419ddd215699e457b
2,254
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/point.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/point.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/point.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 ...
45.08
626
0.750222
acd8ccce23bd79271f158d201a5507b854722c5d
1,669
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_delivery_details.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/content/lib/google_api/content/v2/model/order_delivery_details.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_delivery_details.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 ...
33.38
115
0.733972
acd8e70e0323789c48045460903f18631dc07017
4,948
exs
Elixir
test/smwc_web/controllers/user_settings_controller_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
2
2022-03-09T18:04:42.000Z
2022-03-11T22:24:25.000Z
test/smwc_web/controllers/user_settings_controller_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
null
null
null
test/smwc_web/controllers/user_settings_controller_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
2
2022-02-27T22:00:17.000Z
2022-02-28T02:20:21.000Z
defmodule SMWCWeb.UserSettingsControllerTest do use SMWCWeb.ConnCase, async: true import SMWC.AccountsFixtures alias SMWC.Accounts setup :register_and_log_in_user describe "GET /users/settings" do test "renders settings page", %{conn: conn} do conn = get(conn, Routes.user_settings_path(conn, :edi...
38.061538
96
0.64996
acd90f9d45b74c994aa6b75ec7b64152e6ce7130
3,193
exs
Elixir
test/smwc_web/controllers/user_session_controller_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
2
2022-03-09T18:04:42.000Z
2022-03-11T22:24:25.000Z
test/smwc_web/controllers/user_session_controller_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
null
null
null
test/smwc_web/controllers/user_session_controller_test.exs
druu/smwcbot
0c9e3530c470028c767b6a77be8a939481756438
[ "MIT" ]
2
2022-02-27T22:00:17.000Z
2022-02-28T02:20:21.000Z
defmodule SMWCWeb.UserSessionControllerTest do use SMWCWeb.ConnCase, async: true import SMWC.AccountsFixtures setup do %{user: user_fixture()} end describe "GET /users/log_in" do test "renders log in page", %{conn: conn} do conn = get(conn, Routes.user_session_path(conn, :new)) response...
32.252525
89
0.600063
acd91c4b67a5d4372cd1dc62ff33275acb5d45e1
3,114
exs
Elixir
test/lib/sts_test.exs
igormq/ex_aws_sts
10a909917269df737f36e6b0145800c023ca5da3
[ "Unlicense", "MIT" ]
8
2018-12-11T19:31:14.000Z
2022-03-18T02:54:28.000Z
test/lib/sts_test.exs
igormq/ex_aws_sts
10a909917269df737f36e6b0145800c023ca5da3
[ "Unlicense", "MIT" ]
26
2017-10-19T01:08:57.000Z
2022-01-26T14:17:28.000Z
test/lib/sts_test.exs
igormq/ex_aws_sts
10a909917269df737f36e6b0145800c023ca5da3
[ "Unlicense", "MIT" ]
18
2018-07-11T10:50:37.000Z
2021-11-12T12:17:24.000Z
defmodule ExAws.STSTest do use ExUnit.Case, async: true alias ExAws.STS test "#get_caller_identity" do version = "2011-06-15" expected = %{ "Action" => "GetCallerIdentity", "Version" => version } assert expected == STS.get_caller_identity().params end test "#assume_role" do ...
22.897059
96
0.601477
acd925d2e804247c90a6d06df382eba07e978c75
500
exs
Elixir
config/test.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
null
null
null
config/test.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
7
2019-09-20T02:00:23.000Z
2019-10-07T04:22:51.000Z
config/test.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :creek_dict_admin, CreekDictAdmin.Repo, username: "postgres", password: "postgres", database: "creek_dict_admin_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required, # you can enable the server o...
26.315789
56
0.754
acd93882b8af7ddeffc9e9d9bd4df5c80bbafedb
980
exs
Elixir
mix.exs
savonarola/token_bucket
5125e27fca7092ede2bed405d46da78a7cd33d9c
[ "MIT" ]
3
2018-05-07T13:58:32.000Z
2019-10-23T07:03:57.000Z
mix.exs
savonarola/token_bucket
5125e27fca7092ede2bed405d46da78a7cd33d9c
[ "MIT" ]
null
null
null
mix.exs
savonarola/token_bucket
5125e27fca7092ede2bed405d46da78a7cd33d9c
[ "MIT" ]
null
null
null
defmodule TokenBucket.Mixfile do use Mix.Project def project do [ app: :token_bucket, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "cove...
21.304348
73
0.55
acd9459e6b8f1e38deaad588de90c03e2aff7fc7
2,459
ex
Elixir
lib/faker/internet/status_code.ex
kurt-friedrich/faker
a23a82ff69f3dd895ae6487d6f9aa1f35278efdb
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
lib/faker/internet/status_code.ex
kurt-friedrich/faker
a23a82ff69f3dd895ae6487d6f9aa1f35278efdb
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
lib/faker/internet/status_code.ex
kurt-friedrich/faker
a23a82ff69f3dd895ae6487d6f9aa1f35278efdb
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker.Internet.StatusCode do import Faker, only: [sampler: 2] @moduledoc """ Functions for generating HTTP status codes """ @doc """ Returns an information status code ## Examples iex> Faker.Internet.StatusCode.information() 102 iex> Faker.Internet.StatusCode.information() ...
19.99187
81
0.602277
acd947bd1502911f6f12f36d67311bebbdd45980
4,910
ex
Elixir
lib/chat_api/intercom/client.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
lib/chat_api/intercom/client.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
lib/chat_api/intercom/client.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule ChatApi.Intercom.Client do @moduledoc """ A module to handle interacting with the Intercom API """ require Logger use Tesla alias ChatApi.Intercom.IntercomAuthorization plug(Tesla.Middleware.BaseUrl, "https://api.intercom.io") plug(Tesla.Middleware.Headers, [ {"Accept", "application/j...
30.308642
98
0.627088
acd960ce9b73705fd9ffd8d1e1ef278f1ffe4ccf
1,271
ex
Elixir
top-secret/lib/top_secret.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
1
2022-01-23T20:34:09.000Z
2022-01-23T20:34:09.000Z
top-secret/lib/top_secret.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
top-secret/lib/top_secret.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
defmodule TopSecret do @moduledoc false @spec to_ast(string :: String.t()) :: ast :: Macro.t() def to_ast(string) do Code.string_to_quoted!(string) end @spec decode_secret_message_part(ast :: Macro.t(), accumlator :: list()) :: {ast :: Macro.t(), accumulator :: list()} def decode_secret_mess...
31.775
90
0.652242
acd962390ef1da6bcd7e7c13ba754c2ee0eca245
739
ex
Elixir
crawler_challenge/lib/crawler_challenge_web/gettext.ex
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
crawler_challenge/lib/crawler_challenge_web/gettext.ex
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
3
2021-05-08T08:50:39.000Z
2022-02-10T19:40:38.000Z
crawler_challenge/lib/crawler_challenge_web/gettext.ex
tuliostarling/elixir-crawler
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
defmodule CrawlerChallengeWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import CrawlerChallengeWeb.Gettext # Simple translation ...
29.56
72
0.690122
acd96ca27f2f3b5f6dc523ad341c6ce33c206aec
4,269
ex
Elixir
lib/jamdb_oracle_ecto.ex
erlangbureau/jamdb_oracle
1331a70556a40daa26fb62cefc6c445d71f3b986
[ "MIT" ]
93
2016-01-13T10:57:47.000Z
2022-01-20T11:54:56.000Z
lib/jamdb_oracle_ecto.ex
erlangbureau/jamdb_oracle
1331a70556a40daa26fb62cefc6c445d71f3b986
[ "MIT" ]
101
2016-02-29T09:02:19.000Z
2022-03-31T08:27:41.000Z
lib/jamdb_oracle_ecto.ex
erlangbureau/jamdb_oracle
1331a70556a40daa26fb62cefc6c445d71f3b986
[ "MIT" ]
38
2016-06-23T13:35:52.000Z
2022-02-03T12:43:12.000Z
defmodule Ecto.Adapters.Jamdb.Oracle do @moduledoc """ Adapter module for Oracle. `Ecto.Adapters.SQL` callbacks implementation. It uses `jamdb_oracle` for communicating to the database. """ use Ecto.Adapters.SQL, driver: Jamdb.Oracle, migration_lock: nil @behaviour Ecto.Adapter.Storage @behaviour Ecto...
31.389706
111
0.680721
acd9710bb693e5ff332ecbe4f1004861dd129c72
411
ex
Elixir
lib/live_beats_web/controllers/redirect_controller.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
1
2021-11-19T07:44:18.000Z
2021-11-19T07:44:18.000Z
lib/live_beats_web/controllers/redirect_controller.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
lib/live_beats_web/controllers/redirect_controller.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
defmodule LiveBeatsWeb.RedirectController do use LiveBeatsWeb, :controller import LiveBeatsWeb.UserAuth, only: [fetch_current_user: 2] plug :fetch_current_user def redirect_authenticated(conn, _params) do if conn.assigns.current_user do LiveBeatsWeb.UserAuth.redirect_if_user_is_authenticated(conn, ...
25.6875
71
0.761557
acd984ea3de9b749165f53c576eb5dd417c50f6b
1,846
exs
Elixir
test/nerves_hub_user_api/device_test.exs
nerves-hub/nerves_hub_user_api
5d41b1faede4a38c48367a7e7408bf5539cb9d36
[ "Apache-2.0" ]
2
2019-06-18T19:59:13.000Z
2020-01-13T18:45:50.000Z
test/nerves_hub_user_api/device_test.exs
nerves-hub/nerves_hub_user_api
5d41b1faede4a38c48367a7e7408bf5539cb9d36
[ "Apache-2.0" ]
9
2019-03-08T19:06:33.000Z
2022-03-16T21:35:04.000Z
test/nerves_hub_user_api/device_test.exs
nerves-hub/nerves_hub_core
aeef481f80391ad124fa14349ffa0bde67eb96d6
[ "Apache-2.0" ]
3
2019-11-25T12:15:30.000Z
2021-01-22T16:17:37.000Z
defmodule NervesHubCoreTest.DeviceTest do use NervesHubCoreTest.Case doctest NervesHubUserAPI.Device alias NervesHubUserAPI.Device describe "create" do setup [:create_user, :create_product] test "valid", %{user: user, product: product, auth: auth} do identifier = Fixtures.device_identifier() ...
29.301587
97
0.579632
acd9a1b4c6d7c36bb33542cbfe99315dc2a95d1e
1,949
exs
Elixir
exercises/dominoes/dominoes_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/dominoes/dominoes_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/dominoes/dominoes_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("dominoes.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule DominoesTest do use ExUnit.Case test "empty input = empty output" do assert Dominoes.chain?([]) == true end @tag :pending test "singleton...
24.061728
133
0.586455
acd9e81600201705a22a1b9293407c7ca5ed93d7
412
exs
Elixir
test/band_manager_web/controllers/band_controller_test.exs
tutsplus/get-started-with-phoenix
c729d25291fedda134ce7a4d307fe4b3cc50db89
[ "BSD-2-Clause" ]
3
2019-04-11T07:29:58.000Z
2021-03-14T00:01:58.000Z
test/band_manager_web/controllers/band_controller_test.exs
tutsplus/get-started-with-phoenix
c729d25291fedda134ce7a4d307fe4b3cc50db89
[ "BSD-2-Clause" ]
null
null
null
test/band_manager_web/controllers/band_controller_test.exs
tutsplus/get-started-with-phoenix
c729d25291fedda134ce7a4d307fe4b3cc50db89
[ "BSD-2-Clause" ]
null
null
null
defmodule BandManagerWeb.BandControllerTest do use BandManagerWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Bands" end test "GET /:band", %{conn: conn} do {:ok, band} = BandManager.Artists.create_band(%{name: "Test Band", genre: "Pop"}) c...
25.75
85
0.63835
acda1c869bd0f959f3ecc55a86f2a3bd13a34e7b
9
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operation_parsing_test_case/AtNonNumericOperation.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/matched_dot_operation_parsing_test_case/AtNonNumericOperation.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/matched_dot_operation_parsing_test_case/AtNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
@one.@two
9
9
0.666667
acda37f5450c8eee2dc4ae8f6602e45b1d852459
1,851
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_message.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_message.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_message.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...
33.053571
99
0.693679
acda42f265208ddf40f4575ea90ce506d0e81f75
565
ex
Elixir
web/views/changeset_view.ex
Dania02525/duckphoenix
a998d7987231b1488c5ee87a63358cb0981f9356
[ "MIT" ]
1
2018-02-09T13:29:32.000Z
2018-02-09T13:29:32.000Z
web/views/changeset_view.ex
Dania02525/duckphoenix
a998d7987231b1488c5ee87a63358cb0981f9356
[ "MIT" ]
null
null
null
web/views/changeset_view.ex
Dania02525/duckphoenix
a998d7987231b1488c5ee87a63358cb0981f9356
[ "MIT" ]
null
null
null
defmodule Duckphoenix.ChangesetView do use Duckphoenix.Web, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `Duckphoenix.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(change...
28.25
65
0.739823
acda6fb980ae79de8ca57177b67c2a8d7a8a1d54
1,556
ex
Elixir
lib/bonfire_web/endpoint.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
71
2020-03-09T02:09:30.000Z
2022-03-09T06:10:23.000Z
lib/bonfire_web/endpoint.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
null
null
null
lib/bonfire_web/endpoint.ex
qhwa/bonfire
4a368d6d5300539399dcaff167ac69e3165c2bff
[ "MIT" ]
4
2020-04-03T02:28:05.000Z
2021-11-24T20:07:25.000Z
defmodule BonfireWeb.Endpoint do use Phoenix.Endpoint, otp_app: :bonfire use Appsignal.Phoenix # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cook...
29.923077
97
0.700514
acdab616961563fed58e3a54796510ecf8311d39
2,545
ex
Elixir
lib/changelog/files/file.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
1
2019-11-02T08:32:25.000Z
2019-11-02T08:32:25.000Z
lib/changelog/files/file.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
null
null
null
lib/changelog/files/file.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
null
null
null
defmodule Changelog.File do defmacro __using__(types) do quote do use Waffle.Definition use Waffle.Ecto.Definition @acl :public_read # We can purge subsets of files from the CDN by setting a key on upload. # The module name that uses this module seems to be the best way of # ...
29.941176
99
0.569745
acdad3178f8e361782ed0dd50a550c33a4e57b98
210
exs
Elixir
config/config.exs
dennisxtria/exrabbitmq
50705c5f42daedd6ce465662dd752f8c2f6895b2
[ "MIT" ]
null
null
null
config/config.exs
dennisxtria/exrabbitmq
50705c5f42daedd6ce465662dd752f8c2f6895b2
[ "MIT" ]
null
null
null
config/config.exs
dennisxtria/exrabbitmq
50705c5f42daedd6ce465662dd752f8c2f6895b2
[ "MIT" ]
null
null
null
import Config if File.exists?("#{__DIR__}/#{Mix.env()}.exs") do import_config "#{Mix.env()}.exs" end if File.exists?("#{__DIR__}/#{Mix.env()}.secrets.exs") do import_config "#{Mix.env()}.secrets.exs" end
21
57
0.647619
acdadbd429d79e82bccddbf725fe76c1141f4023
5,904
exs
Elixir
test/sanbase/alerts/trigger_payload_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/sanbase/alerts/trigger_payload_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/sanbase/alerts/trigger_payload_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Alert.TriggerPayloadTest do use Sanbase.DataCase, async: false import Sanbase.Factory alias Sanbase.Alert.{UserTrigger, Scheduler} alias Sanbase.Alert.Trigger.MetricTriggerSettings setup do Sanbase.Cache.clear_all(:alerts_evaluator_cache) user = insert(:user, email:...
30.43299
98
0.650915
acdae4d0935a2f18ed81c3889c27bb84eb000253
2,577
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/user_profile.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/user_profile.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/classroom/lib/google_api/classroom/v1/model/user_profile.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...
41.564516
291
0.702367
acdb12b3da0ae80e0353b89f7e1788b0febfa6b7
598
ex
Elixir
anagram/lib/anagram.ex
tarcisiooliveira/Exercise-form-Exercism-in-Elixir
2c9f14c264345d8aae09c701dc56128072b7f3c1
[ "MIT" ]
null
null
null
anagram/lib/anagram.ex
tarcisiooliveira/Exercise-form-Exercism-in-Elixir
2c9f14c264345d8aae09c701dc56128072b7f3c1
[ "MIT" ]
null
null
null
anagram/lib/anagram.ex
tarcisiooliveira/Exercise-form-Exercism-in-Elixir
2c9f14c264345d8aae09c701dc56128072b7f3c1
[ "MIT" ]
null
null
null
defmodule Anagram do # like bogmir`s solution @doc """ Returns all candidates that are anagrams of, but not equal to, 'base'. """ @spec match(String.t(), [String.t()]) :: [String.t()] def match(base, candidates) do Enum.filter(candidates, &is_anagram?(base, &1)) end def is_anagram?(base, word) do ...
23.92
72
0.64214
acdb86cd0043d438952ea9b5199e8a8e37c950d1
277
exs
Elixir
chapter_13/todo_release/stop_node.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T11:55:58.000Z
2021-08-22T13:19:56.000Z
chapter_13/todo_release/stop_node.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
null
null
null
chapter_13/todo_release/stop_node.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T21:19:45.000Z
2021-08-22T13:20:03.000Z
# elixir --sname terminator@localhost stop_node.exs target_node = :todo_system@localhost if Node.connect(target_node) == true do :rpc.call(target_node, System, :stop, []) IO.puts("Node #{target_node} terminated") else IO.puts("Can't connect to node #{target_node}") end
27.7
51
0.732852
acdb89c6dd6125495e5916639924635a9a4a36d2
21,946
ex
Elixir
lib/phoenix/router.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
lib/phoenix/router.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
lib/phoenix/router.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
defmodule Phoenix.Router do defmodule NoRouteError do @moduledoc """ Exception raised when no route is found. """ defexception plug_status: 404, message: "no route found", conn: nil def exception(opts) do conn = Keyword.fetch!(opts, :conn) path = "/" <> Enum.join(conn.path_info, "/") ...
29.339572
95
0.641666
acdbae0c1526defeaff4a9ce5cafb43a4209673a
1,885
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message_text.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message_text.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message_text.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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.272727
229
0.739523
acdbbf11b6c82289a4996a1349582f16bf90fc14
638
ex
Elixir
lib/ed_explorer/accounts/user.ex
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "MIT" ]
1
2020-01-26T18:07:51.000Z
2020-01-26T18:07:51.000Z
lib/ed_explorer/accounts/user.ex
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "MIT" ]
null
null
null
lib/ed_explorer/accounts/user.ex
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "MIT" ]
null
null
null
defmodule EdExplorer.Accounts.User do use Ecto.Schema import Ecto.Changeset alias EdExplorer.Accounts.User @derive {Phoenix.Param, key: :name} @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "accounts_users" do field :avatar_url, :string field :github_id, :...
24.538462
71
0.694357
acdbc193693e966e6fa69d5fcb2b9a69ee7bfa55
2,162
ex
Elixir
clients/games/lib/google_api/games/v1/model/peer_session_diagnostics.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/peer_session_diagnostics.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/peer_session_diagnostics.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...
37.929825
149
0.759482
acdbd172253664b3bb226cc8437d225313c6fd7a
4,857
exs
Elixir
test/credo/check/readability/large_numbers_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
test/credo/check/readability/large_numbers_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
test/credo/check/readability/large_numbers_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
1
2020-06-30T16:32:44.000Z
2020-06-30T16:32:44.000Z
defmodule Credo.Check.Readability.LargeNumbersTest do use Credo.TestHelper @described_check Credo.Check.Readability.LargeNumbers # # cases NOT raising issues # test "it should NOT report expected code" do """ @budgets %{ budget1: 100_000, budget2: 200_000, budget3: 300_000, ...
20.845494
79
0.608812
acdbda4bf03ad7bc44484a797fd5100b4f76b809
203
ex
Elixir
lib/edgedb/protocol/enums/error_severity.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/enums/error_severity.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/enums/error_severity.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Enums.ErrorSeverity do use EdgeDB.Protocol.Enum defenum( values: [ error: 0x78, fatal: 0xC8, panic: 0xFF ], guard: :is_error_severity ) end
15.615385
48
0.635468
acdbdb551420bebdf252287adf632dc97c08ede9
772
ex
Elixir
lib/polling/polling.supervisor.pipeline_server.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
2
2019-03-05T16:29:10.000Z
2020-01-17T14:11:48.000Z
lib/polling/polling.supervisor.pipeline_server.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
3
2019-03-18T20:26:48.000Z
2020-06-25T14:31:13.000Z
lib/polling/polling.supervisor.pipeline_server.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
1
2018-06-16T15:32:25.000Z
2018-06-16T15:32:25.000Z
defmodule CncfDashboardApi.Polling.Supervisor.Pipeline do use Supervisor def start_link do Supervisor.start_link(__MODULE__, [], name: :pipeline_supervisor) end @doc """ starts a pipeline 'last check' based on `name`, `skpm_id`, and `timeout`. name is a unique identifier across the cluster, given gproc...
23.393939
87
0.721503
acdbeb25a392ec6eb09495b63fa1b6a82e25cf7a
11,291
ex
Elixir
lib/components/menu_bar/menu_bar.ex
scenic-contrib/scenic-widget-contrib
023197f6df07061c5192fd0665f6dc3ff8a67512
[ "Apache-2.0" ]
5
2019-05-29T20:59:16.000Z
2022-01-14T12:22:43.000Z
lib/components/menu_bar/menu_bar.ex
scenic-contrib/scenic-widget-contrib
023197f6df07061c5192fd0665f6dc3ff8a67512
[ "Apache-2.0" ]
10
2019-05-28T07:49:24.000Z
2022-01-24T04:33:47.000Z
lib/components/menu_bar/menu_bar.ex
scenic-contrib/scenic-widget-contrib
023197f6df07061c5192fd0665f6dc3ff8a67512
[ "Apache-2.0" ]
2
2022-01-05T02:33:43.000Z
2022-01-13T05:43:36.000Z
defmodule ScenicWidgets.MenuBar do use Scenic.Component require Logger alias ScenicWidgets.MenuBar.FloatButton use ScenicWidgets.ScenicEventsDefinitions # how far we indent the first menu item @left_margin 15 def validate( %{ # The %Frame{} struct describing the rectangular size of the...
33.306785
121
0.603755
acdc337459543e072a3147dfda26c638bfe0afdd
86
exs
Elixir
test/want/sort_test.exs
wrren/want.erl
32a06e947e87507263ca93dd823437716c9a79a0
[ "MIT" ]
1
2018-08-30T17:47:10.000Z
2018-08-30T17:47:10.000Z
test/want/sort_test.exs
wrren/want.erl
32a06e947e87507263ca93dd823437716c9a79a0
[ "MIT" ]
null
null
null
test/want/sort_test.exs
wrren/want.erl
32a06e947e87507263ca93dd823437716c9a79a0
[ "MIT" ]
null
null
null
defmodule Want.SortTest do use ExUnit.Case, async: true doctest Want.Sort end
17.2
31
0.732558
acdc3590aa471ea610ae2fdebf49d0744f2f9b9d
569
exs
Elixir
plugins/ucc_chat/test/ucc_chat/accounts/account_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/test/ucc_chat/accounts/account_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/test/ucc_chat/accounts/account_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChat.Accounts.AccountTest do use ExUnit.Case, async: true alias UcxUcc.Accounts.Account test "insert changeset" do account = %Account{} assert account.view_mode == 1 assert account.emoji_tone == 0 changeset = Account.changeset account, %{ user_id: "fd601558-9502-4672-...
21.074074
56
0.644991
acdc8e197f3052acef4b08ada34aea435fd03485
2,060
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_group_aggregated_list_warning_data.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/instance_group_aggregated_list_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_group_aggregated_list_warning_data.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.2
527
0.747087
acdc90075318e63b94a8f48a63f7aeffaa57210c
508
exs
Elixir
exercises/secret-handshake/secret_handshake.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/secret-handshake/secret_handshake.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/secret-handshake/secret_handshake.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
defmodule SecretHandshake do @doc """ Determine the actions of a secret handshake based on the binary representation of the given `code`. If the following bits are set, include the corresponding action in your list of commands, in order from lowest to highest. 1 = wink 10 = double blink 100 = close yo...
24.190476
78
0.714567
acdcd182b911904b63768f60008e5df3e049455d
23
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_expression_parsing_test_case/Identifier.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/matched_expression_parsing_test_case/Identifier.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/matched_expression_parsing_test_case/Identifier.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# identifier identifier
11.5
12
0.869565
acdcd7125120c1e0754862a51be4866ed98210d1
540
ex
Elixir
lib/grapevine/schema.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/grapevine/schema.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/grapevine/schema.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
defmodule Grapevine.Schema do @moduledoc """ Helper for setting up Ecto """ import Ecto.Changeset defmacro __using__(_opts) do quote do use Ecto.Schema import Ecto import Ecto.Changeset import Ecto.Query import Grapevine.Schema alias Grapevine.Repo @type t ::...
16.363636
45
0.625926
acdcdaefafd5a37fcf958397d8c163db5a438a83
267
exs
Elixir
config/test.exs
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
config/test.exs
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
config/test.exs
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :web_chat, WebChatWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
24.272727
56
0.737828
acdcdcb97fdc9740b52e15f9b71195fe0a73b394
976
ex
Elixir
apps/omg_watcher_rpc/lib/web/views/challenge.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/views/challenge.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/views/challenge.ex
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 ...
32.533333
74
0.748975