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
280468b6dfaaaec1d3d4ae734d83aa6b247af695
1,184
exs
Elixir
test/mix.exs
fhunleth/nerves_system_rpi3a
5fe2d2c1adc8b2697dc32a76dbf1bf43b7af3eb7
[ "Apache-2.0" ]
9
2018-12-17T13:58:20.000Z
2022-02-23T17:01:31.000Z
test/mix.exs
fhunleth/nerves_system_rpi3a
5fe2d2c1adc8b2697dc32a76dbf1bf43b7af3eb7
[ "Apache-2.0" ]
11
2019-02-27T12:45:29.000Z
2022-01-12T20:39:04.000Z
test/mix.exs
fhunleth/nerves_system_rpi3a
5fe2d2c1adc8b2697dc32a76dbf1bf43b7af3eb7
[ "Apache-2.0" ]
9
2019-01-05T04:50:09.000Z
2022-01-10T01:49:25.000Z
if Mix.env() == :test do hash = :os.cmd('git rev-parse HEAD') |> to_string |> String.trim() System.put_env("NERVES_FW_VCS_IDENTIFIER", hash) end defmodule Test.MixProject do use Mix.Project @app :test def project do [ app: @app, name: "system-test", version: "0.1.0", ...
21.527273
74
0.602196
28046e26fce8c71aceec0b006ea591f1c40b8997
1,505
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/reset_admin_password_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/managed_identities/lib/google_api/managed_identities/v1/model/reset_admin_password_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/managed_identities/lib/google_api/managed_identities/v1/model/reset_admin_password_response.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...
32.021277
108
0.751495
28046fb78313b40f1caebbb08cd0c94f6da3c187
2,206
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_search_example_comparisons_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_search_example_comparisons_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_search_example_comparisons_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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.46875
211
0.7534
2804b1f1df485359291336a7c02b2085f97cd56e
2,749
ex
Elixir
lib/stockmonit/config/file.ex
cfx/stockmonit
73b4217039a623bfa20872330a4ab1cff1ce8980
[ "MIT" ]
null
null
null
lib/stockmonit/config/file.ex
cfx/stockmonit
73b4217039a623bfa20872330a4ab1cff1ce8980
[ "MIT" ]
null
null
null
lib/stockmonit/config/file.ex
cfx/stockmonit
73b4217039a623bfa20872330a4ab1cff1ce8980
[ "MIT" ]
null
null
null
defmodule Stockmonit.Config.File do alias Stockmonit.{Config} alias Config.{Stock, Provider} @behaviour Config.Reader @doc """ Reads config file from $HOME/.stockmonit.json and converts it into %Stockmonit.Config struct """ @impl Config.Reader def read(path) do case File.read(path) do {:ok...
26.180952
95
0.457257
2804d40b122481fec3e85b82280aa3c350871318
904
ex
Elixir
lib/arrow/disruption/trip_short_name.ex
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
null
null
null
lib/arrow/disruption/trip_short_name.ex
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
775
2019-11-18T16:23:57.000Z
2022-03-28T18:20:04.000Z
lib/arrow/disruption/trip_short_name.ex
mbta/arrow
abbac9c7f300790d452ecec027a6c609775b72d1
[ "MIT" ]
1
2019-12-23T13:52:25.000Z
2019-12-23T13:52:25.000Z
defmodule Arrow.Disruption.TripShortName do @moduledoc """ The `trip_short_name` of the a specific trip a disruption applies to. Normally used to refer to Commuter Rail train numbers. """ use Ecto.Schema import Ecto.Changeset @type t :: %__MODULE__{ trip_short_name: String.t() | nil, ...
28.25
97
0.691372
2804fa12ff67a4c6caefea0abeacf8a96b8a9ea9
910
ex
Elixir
2015/day8/lib/task1/task1.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2015/day8/lib/task1/task1.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2015/day8/lib/task1/task1.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
defmodule Task1 do @spec solution([String.t()]) :: integer() def solution(lines) do lines |> Enum.reduce(0, fn x, acc -> acc + String.length(x) - valueLength(x) end) end defp valueLength(str) do String.graphemes(str) |> Enum.slice(1..(String.length(str) - 2)) |> Enum.reduce(%{tota...
35
91
0.543956
280519f829f186d94f4b38924f4c8bac3a1e4736
497
ex
Elixir
lib/milbase_web/schema/middlewares/authorize.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
1
2020-07-14T03:27:30.000Z
2020-07-14T03:27:30.000Z
lib/milbase_web/schema/middlewares/authorize.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
lib/milbase_web/schema/middlewares/authorize.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
defmodule MilbaseWeb.Schema.Middleware.Authorize do @behaviour Absinthe.Middleware def call(resolution, role) do with %{current_user: current_user} <- resolution.context, true <- correct_role?(current_user, role) do resolution else _ -> resolution |> Absinthe.Resolution.put_result(...
27.611111
81
0.68008
280586f03c4585c9d95d1c59a0f2d815689599ca
4,851
exs
Elixir
apps/tai/test/tai/new_orders/cancel_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/test/tai/new_orders/cancel_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/test/tai/new_orders/cancel_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.NewOrders.CancelTest do use Tai.TestSupport.DataCase, async: false alias Tai.NewOrders @venue_order_id "df8e6bd0-a40a-42fb-8fea-b33ef4e34f14" @venue :venue_a @credential :main @credentials Map.put(%{}, @credential, %{}) setup do mock_venue(id: @venue, credentials: @credentials, adapter...
30.31875
127
0.666667
28058d1a7703f6ed6071a159e18917c17796d8c4
29,818
ex
Elixir
clients/recommender/lib/google_api/recommender/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/recommender/lib/google_api/recommender/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/recommender/lib/google_api/recommender/v1/api/projects.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...
47.938907
508
0.641056
280594b8634c6666fc20ff66e16add1cb13ebcfe
2,018
ex
Elixir
clients/chat/lib/google_api/chat/v1/model/card_header.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/model/card_header.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/model/card_header.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2018 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...
34.793103
231
0.712091
2805bfcf06fb8f3aa755d7d884b426ad8a4dc9a8
4,334
ex
Elixir
lib/kino/table.ex
livebook-dev/kino
48e76a351869164cbef307e57fb81cde27a12f28
[ "Apache-2.0" ]
84
2021-07-17T09:19:45.000Z
2022-03-21T20:43:21.000Z
lib/kino/table.ex
livebook-dev/kino
48e76a351869164cbef307e57fb81cde27a12f28
[ "Apache-2.0" ]
48
2021-07-21T11:59:20.000Z
2022-03-31T16:34:16.000Z
lib/kino/table.ex
livebook-dev/kino
48e76a351869164cbef307e57fb81cde27a12f28
[ "Apache-2.0" ]
11
2021-09-05T16:30:23.000Z
2022-02-19T02:06:48.000Z
defmodule Kino.Table do @moduledoc false @type info :: %{ name: String.t(), features: list(:refetch | :pagination | :sorting) } @type rows_spec :: %{ offset: non_neg_integer(), limit: pos_integer(), order_by: nil | term(), order: :asc | :desc ...
24.625
93
0.579372
28060f324e65f8745c5d21d61cf04ea48b83dbf7
1,147
exs
Elixir
test/controllers/tag_controller_test.exs
mwindholtz/has_many_blog
521f13c8b91620713a305f44040581276d162abc
[ "Apache-2.0" ]
7
2016-12-15T00:33:22.000Z
2019-04-24T20:42:17.000Z
test/controllers/tag_controller_test.exs
mwindholtz/has_many_blog
521f13c8b91620713a305f44040581276d162abc
[ "Apache-2.0" ]
1
2017-07-19T16:41:35.000Z
2017-07-19T16:41:35.000Z
test/controllers/tag_controller_test.exs
mwindholtz/has_many_blog
521f13c8b91620713a305f44040581276d162abc
[ "Apache-2.0" ]
2
2017-04-28T21:52:38.000Z
2020-04-24T14:41:31.000Z
defmodule Blog.TagControllerTest do use Blog.ConnCase alias Blog.Tag @valid_attrs %{name: "some content"} @invalid_attrs %{} test "lists all entries on index", %{conn: conn} do conn = get conn, tag_path(conn, :index) assert html_response(conn, 200) =~ "Listing tags" end test "renders form for n...
31.861111
91
0.678291
28061b0a67b75b2ef6aa82a20bec1650c08cecfc
5,271
ex
Elixir
lib/scrollable/utility/drag.ex
vacarsu/flo_ui
2605f2c826e8f21d16d11e84f0468bd823b5f5e1
[ "MIT" ]
null
null
null
lib/scrollable/utility/drag.ex
vacarsu/flo_ui
2605f2c826e8f21d16d11e84f0468bd823b5f5e1
[ "MIT" ]
null
null
null
lib/scrollable/utility/drag.ex
vacarsu/flo_ui
2605f2c826e8f21d16d11e84f0468bd823b5f5e1
[ "MIT" ]
null
null
null
defmodule FloUI.Scrollable.Drag do @moduledoc """ Module for handling the drag controllability for `Scenic.Scrollable` components. """ alias Scenic.Math.Vector2 alias Scenic.Math @typedoc """ Atom representing a mouse button. """ @type mouse_button :: 0 | 1 | 2 @typedoc """ Data structure with ...
32.537037
192
0.688674
28061ba8bcae73b5cf6b33c473c8f4eb6233705d
1,232
ex
Elixir
lib/logi_std/sink/console.ex
sile/logi_stdlib_ex
452d952332383e7b95b279950596959af69fae5f
[ "MIT" ]
null
null
null
lib/logi_std/sink/console.ex
sile/logi_stdlib_ex
452d952332383e7b95b279950596959af69fae5f
[ "MIT" ]
null
null
null
lib/logi_std/sink/console.ex
sile/logi_stdlib_ex
452d952332383e7b95b279950596959af69fae5f
[ "MIT" ]
null
null
null
defmodule LogiStd.Sink.Console do @moduledoc """ A sink which prints log messages to the console. Behaviours: `Logi.SinkWriter`. ## Note The sink has no overload protections, so it is recommended to use it together with (for example) `LogiStd.Sink.FlowLimiter` in a production environment. ## Example...
25.666667
125
0.701299
2806398d2c5999beabfdf3d1030af41e38a1189d
2,054
exs
Elixir
test/litmus_test.exs
mpiercy827/litmus
47a82b36d5614f6f40ddc748612209fc89f746e3
[ "MIT" ]
38
2018-08-21T22:07:25.000Z
2021-09-23T09:27:57.000Z
test/litmus_test.exs
mpiercy827/litmus
47a82b36d5614f6f40ddc748612209fc89f746e3
[ "MIT" ]
7
2018-07-17T17:47:08.000Z
2019-07-09T21:18:58.000Z
test/litmus_test.exs
mpiercy827/litmus
47a82b36d5614f6f40ddc748612209fc89f746e3
[ "MIT" ]
6
2019-05-02T22:28:33.000Z
2021-02-13T02:10:27.000Z
defmodule LitmusTest do use ExUnit.Case, async: true doctest Litmus alias Litmus.Type describe "validate/2" do test "validates data according to a schema" do login_schema = %{ "id" => %Litmus.Type.Any{ required: true }, "user" => %Litmus.Type.String{ max_l...
24.746988
84
0.482473
28065c3d44c9ff986d4fc8df49f8f775ebcaae59
474
exs
Elixir
test/tokenbalance_web/views/error_view_test.exs
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
test/tokenbalance_web/views/error_view_test.exs
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
test/tokenbalance_web/views/error_view_test.exs
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
defmodule TokenbalanceWeb.ErrorViewTest do use TokenbalanceWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(TokenbalanceWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "...
29.625
97
0.696203
28067786307d01e247f067e8dd9301cef37a0c18
3,745
ex
Elixir
lib/tradehub/mnemonic.ex
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-04T16:54:25.000Z
2021-12-15T06:53:24.000Z
lib/tradehub/mnemonic.ex
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-19T04:49:00.000Z
2021-06-01T13:36:50.000Z
lib/tradehub/mnemonic.ex
anhmv/tradehub-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
null
null
null
defmodule Tradehub.Mnemonic do @moduledoc false @words Tradehub.Mnemonic.Words.all() @invalid_entropy "Invalid entropy" @invalid_mnemonic "Invalid mnemonic" @invalid_checksum "Invalid mnemonic checksum" def generate(strength \\ 256) def generate(strength) when rem(strength, 32) !== 0, do: raise(@invali...
26.75
90
0.631509
280686b53dc63605f51c99523244ca86c774dbfa
1,506
ex
Elixir
lib/slack/dnd.ex
cjbottaro/slack_ex
866c3bb4df324094f97cbeed9201c8e83d6904db
[ "MIT" ]
null
null
null
lib/slack/dnd.ex
cjbottaro/slack_ex
866c3bb4df324094f97cbeed9201c8e83d6904db
[ "MIT" ]
null
null
null
lib/slack/dnd.ex
cjbottaro/slack_ex
866c3bb4df324094f97cbeed9201c8e83d6904db
[ "MIT" ]
null
null
null
defmodule Slack.DND do @moduledoc """ Functions for working with the user's Do Not Disturb session """ @base "dnd" use Slack.Request @doc """ End the user's Do Not Disturb session. https://api.slack.com/methods/dnd.endDnd ## Examples Slack.client(token) |> Slack.DND.endDnd """ ...
20.08
68
0.656042
28069f34e40ebd852998a4eece292a5440092ec4
14,379
exs
Elixir
installer/test/phx_new_test.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
1
2015-05-19T11:04:16.000Z
2015-05-19T11:04:16.000Z
installer/test/phx_new_test.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
installer/test/phx_new_test.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
Code.require_file "mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.NewTest do use ExUnit.Case import MixHelper import ExUnit.CaptureIO @app_name "phx_blog" setup do # The shell asks to install deps. # We will politely say not. send self(), {:mix_shell_input, :yes?, false} :ok end test...
41.200573
156
0.659156
2806a69a94afe88f0a993e444a9f825341ab4786
1,604
exs
Elixir
mix.exs
markmeeus/horde
a7107b78fa7c56364ed74cebe8f35a16721b9e7b
[ "MIT" ]
null
null
null
mix.exs
markmeeus/horde
a7107b78fa7c56364ed74cebe8f35a16721b9e7b
[ "MIT" ]
null
null
null
mix.exs
markmeeus/horde
a7107b78fa7c56364ed74cebe8f35a16721b9e7b
[ "MIT" ]
null
null
null
defmodule Horde.MixProject do use Mix.Project def project do [ app: :horde, version: "0.6.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), docs: docs(), package: package(), name: "Horde", ...
23.588235
82
0.561097
2806b5fe9a86319bf3e24200ac92604cb1c01deb
2,847
exs
Elixir
test/open_submissions_web/controllers/test_case_controller_test.exs
csfalcione/open-submissions-api
b7af153ebe9c1a9bd487f7fc30a25007bdf2b9c3
[ "MIT" ]
7
2019-02-11T14:31:24.000Z
2021-12-28T08:15:00.000Z
test/open_submissions_web/controllers/test_case_controller_test.exs
tblount/open-submissions-api
fb7395175e8079a659bc65ff7c5a7f1f4fc4b422
[ "MIT" ]
null
null
null
test/open_submissions_web/controllers/test_case_controller_test.exs
tblount/open-submissions-api
fb7395175e8079a659bc65ff7c5a7f1f4fc4b422
[ "MIT" ]
2
2019-02-11T14:31:37.000Z
2021-12-28T08:15:01.000Z
defmodule OpenSubmissionsWeb.TestCaseControllerTest do use OpenSubmissionsWeb.ConnCase alias OpenSubmissions.TestCases alias OpenSubmissions.TestCases.TestCase @create_attrs %{ input: "some input", output: "some output" } @update_attrs %{ input: "some updated input", output: "some updated ...
30.612903
107
0.634001
2806b8a4568be54077097ee71c1ce29b3ba43850
2,033
ex
Elixir
lib/koans/09_map_sets.ex
machad0/elixir-koans
ccf0ae0ab2e7c74f60ab2382970b0d5d22633cd6
[ "MIT" ]
null
null
null
lib/koans/09_map_sets.ex
machad0/elixir-koans
ccf0ae0ab2e7c74f60ab2382970b0d5d22633cd6
[ "MIT" ]
null
null
null
lib/koans/09_map_sets.ex
machad0/elixir-koans
ccf0ae0ab2e7c74f60ab2382970b0d5d22633cd6
[ "MIT" ]
null
null
null
defmodule MapSets do use Koans @intro "My name is Set, MapSet." @set MapSet.new([1, 2, 3, 4, 5]) koan "I am very similar to a list" do assert Enum.fetch(@set, 0) == {:ok, 1} end koan "However, I do not allow duplication" do new_set = MapSet.new([1, 1, 2, 3, 3, 3]) assert MapSet.size(new_set...
25.098765
85
0.641909
2806e0c74b06b89e1691c19a6598465482cb83a0
3,813
ex
Elixir
lib/delivery/sections.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
null
null
null
lib/delivery/sections.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
4
2021-03-01T20:51:23.000Z
2021-09-20T21:37:12.000Z
lib/delivery/sections.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
null
null
null
defmodule Delivery.Sections do @moduledoc """ The Sections context. """ import Ecto.Query, warn: false alias Delivery.Repo alias Delivery.Activities.Activity alias Delivery.Sections.Section alias Delivery.Packages.Package alias Delivery.Sections.Enrollment alias Delivery.Accounts.User @doc """ ...
21.421348
110
0.604511
28070b5d84db24fd1c99aab673b1febd7c8cdf7a
1,819
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/range.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/range.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/slides/lib/google_api/slides/v1/model/range.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.320755
184
0.709181
28071e2af47c73507fb3fff30ceb863d5d95e48f
2,840
ex
Elixir
lib/siwapp_web/resolvers/invoice.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
lib/siwapp_web/resolvers/invoice.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
lib/siwapp_web/resolvers/invoice.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
defmodule SiwappWeb.Resolvers.Invoice do @moduledoc """ Invoices functions for GraphQL """ alias Siwapp.Invoices alias SiwappWeb.PageView alias SiwappWeb.Resolvers.Errors alias SiwappWeb.Resolvers.Helpers @spec get(map(), Absinthe.Resolution.t()) :: {:ok, Invoices.Invoice.t()} def get(%{id: id}, _re...
30.869565
95
0.64331
280741bb4d1189d203bdf9f81736825b7bf1ead8
65
ex
Elixir
lib/readtome_web/views/layout_view.ex
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
1
2021-09-05T20:54:57.000Z
2021-09-05T20:54:57.000Z
lib/readtome_web/views/layout_view.ex
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
17
2019-07-06T17:31:56.000Z
2021-06-22T15:31:06.000Z
lib/readtome_web/views/layout_view.ex
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
1
2021-03-15T20:50:27.000Z
2021-03-15T20:50:27.000Z
defmodule ReadtomeWeb.LayoutView do use ReadtomeWeb, :view end
16.25
35
0.815385
2807537550ab2e9bacc5492bfa30cd5e6e147bc7
746
ex
Elixir
server/lib/project_web/controllers/fallback_controller.ex
lemartin19/cs4550-project
bd7baf279021543db33fe52beb3e0d5413dbe405
[ "Xnet", "X11" ]
null
null
null
server/lib/project_web/controllers/fallback_controller.ex
lemartin19/cs4550-project
bd7baf279021543db33fe52beb3e0d5413dbe405
[ "Xnet", "X11" ]
null
null
null
server/lib/project_web/controllers/fallback_controller.ex
lemartin19/cs4550-project
bd7baf279021543db33fe52beb3e0d5413dbe405
[ "Xnet", "X11" ]
null
null
null
defmodule ProjectWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use ProjectWeb, :controller # This clause handles errors returned by Ecto's insert/update/delete. def call(con...
29.84
78
0.709115
280755b2d0d4283cdf0925a82d429d4d06fac8fc
949
ex
Elixir
lib/absinthe/execution/resolution/atom.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
lib/absinthe/execution/resolution/atom.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
lib/absinthe/execution/resolution/atom.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
defimpl Absinthe.Execution.Resolution, for: Atom do # If we attempt to resolve at atom, we assume # it is an identifier referencing a type. alias Absinthe.Schema alias Absinthe.Type alias Absinthe.Execution alias Absinthe.Execution.Resolution alias Absinthe.Flag @spec resolve(Type.identifier_t, Execu...
33.892857
111
0.693361
28075641510287f49a5c1219ace7f8afccda8d8e
235
exs
Elixir
priv/repo/migrations/20170712002608_create_user.exs
IvanOM/ices
cbda3f66a61a302033515312614925441a66409b
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20170712002608_create_user.exs
IvanOM/ices
cbda3f66a61a302033515312614925441a66409b
[ "Apache-2.0" ]
1
2017-08-24T17:58:54.000Z
2017-08-24T17:58:54.000Z
priv/repo/migrations/20170712002608_create_user.exs
IvanOM/ices
cbda3f66a61a302033515312614925441a66409b
[ "Apache-2.0" ]
null
null
null
defmodule Ices.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :name, :string add :email, :string add :password_hash, :string timestamps() end end end
15.666667
44
0.646809
28077ee30d750d6b41ae6e7d51fa2349fb8bf24f
1,186
ex
Elixir
web/channels/user_socket.ex
haruio/haru-elixir-api
8a1762ac4f7f781fb806539cf07c850a418e3b3c
[ "MIT" ]
2
2015-10-18T16:14:20.000Z
2015-10-24T18:33:02.000Z
web/channels/user_socket.ex
haruio/haru-elixir-api
8a1762ac4f7f781fb806539cf07c850a418e3b3c
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
haruio/haru-elixir-api
8a1762ac4f7f781fb806539cf07c850a418e3b3c
[ "MIT" ]
null
null
null
defmodule HaruElixirApi.UserSocket do use Phoenix.Socket ## Channels # channel "rooms:*", HaruElixirApi.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verif...
31.210526
87
0.705734
28079902e632ba6e211e4420d328fa8f665b4e66
257
ex
Elixir
test/aggregates/support/lifespan/default_lifespan_router.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
test/aggregates/support/lifespan/default_lifespan_router.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
test/aggregates/support/lifespan/default_lifespan_router.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.Aggregates.DefaultLifespanRouter do use Commanded.Commands.Router alias Commanded.Aggregates.LifespanAggregate alias Commanded.Aggregates.LifespanAggregate.Command dispatch [Command], to: LifespanAggregate, identity: :uuid end
28.555556
60
0.836576
2807b98a3c8024c9a4392c2c8d7674927e95fcdf
18,937
ex
Elixir
lib/ecto/type.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Type do @moduledoc """ Defines functions and the `Ecto.Type` behaviour for implementing custom types. A custom type expects 4 functions to be implemented, all documented and described below. We also provide two examples of how custom types can be used in Ecto to augment existing types or pro...
28.138187
101
0.607699
2807e1cad9b82485ab737b7bbebaf75b765e55a7
1,207
ex
Elixir
lib/event_store/eex_iolist_engine.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
2
2021-11-19T22:28:41.000Z
2021-11-19T22:28:50.000Z
lib/event_store/eex_iolist_engine.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
null
null
null
lib/event_store/eex_iolist_engine.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
null
null
null
defmodule EventStore.EExIOListEngine do @behaviour EEx.Engine @impl true def init(_opts) do %{iodata: [], dynamic: [], vars_count: 0} end @impl true def handle_begin(state) do %{state | iodata: [], dynamic: []} end @impl true def handle_end(quoted) do handle_body(quoted) end @impl ...
21.945455
91
0.633803
280827f3f72b252ff1adfbadd8c04110df48f5c9
1,685
ex
Elixir
clients/people/lib/google_api/people/v1/model/batch_get_contact_groups_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/batch_get_contact_groups_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/batch_get_contact_groups_response.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...
35.104167
125
0.760831
280858ced0c34bd7111581c6aa8356ac850f84de
4,108
exs
Elixir
test/wallaby/browser_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
1
2019-01-30T12:08:17.000Z
2019-01-30T12:08:17.000Z
test/wallaby/browser_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
2
2019-04-10T08:23:27.000Z
2021-01-25T16:37:23.000Z
test/wallaby/browser_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
1
2019-01-29T16:03:55.000Z
2019-01-29T16:03:55.000Z
defmodule Wallaby.BrowserTest do use ExUnit.Case import Wallaby.SettingsTestHelpers alias Wallaby.Browser alias Wallaby.NoBaseUrlError alias Wallaby.Session defmodule TestDriver do def start_link() do Agent.start_link(fn -> [] end, name: __MODULE__) end def visit(%Session{} = session,...
27.756757
85
0.651412
280899c483ff930a8145c938e355a4f30e7a9267
2,420
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_result.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_result.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_result.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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.214286
198
0.745041
2808c373ac592f47760f2d4ec6faad0812a23204
787
exs
Elixir
mix.exs
e-matrix/e2020-common
24db846ed0ce90b83143af07bd5220860be634f9
[ "Apache-2.0" ]
null
null
null
mix.exs
e-matrix/e2020-common
24db846ed0ce90b83143af07bd5220860be634f9
[ "Apache-2.0" ]
null
null
null
mix.exs
e-matrix/e2020-common
24db846ed0ce90b83143af07bd5220860be634f9
[ "Apache-2.0" ]
null
null
null
defmodule Common.MixProject do use Mix.Project def project do [ app: :common, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), # Docs name: "e2020-Common", source_url: "https://github.com/e-matrix/e2020-common", homepa...
20.179487
61
0.540025
280901afa88f49ccaed622fd2d4f94b1925474cc
995
ex
Elixir
lib/examples/application.ex
iodevs/chart_example
69202596fbf8a7b802c21d45d021f0021406ad39
[ "MIT" ]
null
null
null
lib/examples/application.ex
iodevs/chart_example
69202596fbf8a7b802c21d45d021f0021406ad39
[ "MIT" ]
null
null
null
lib/examples/application.ex
iodevs/chart_example
69202596fbf8a7b802c21d45d021f0021406ad39
[ "MIT" ]
null
null
null
defmodule Examples.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 ExamplesWeb.Telemetry, # Start the PubSub system ...
30.151515
77
0.710553
28094aba3b6e01fc43618c63e3af76faa5a5fdd6
9,106
exs
Elixir
test/plausible_web/controllers/api/external_controller_test.exs
dukhniav/plausible
dfcbf9cc98637721698b2046eee205b66b204acb
[ "MIT" ]
null
null
null
test/plausible_web/controllers/api/external_controller_test.exs
dukhniav/plausible
dfcbf9cc98637721698b2046eee205b66b204acb
[ "MIT" ]
null
null
null
test/plausible_web/controllers/api/external_controller_test.exs
dukhniav/plausible
dfcbf9cc98637721698b2046eee205b66b204acb
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.Api.ExternalControllerTest do use PlausibleWeb.ConnCase use Plausible.Repo @user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36" @country_code "EE" describe "POST /api/page" do test "records the page...
29.661238
137
0.583352
280992c1aaad5beac90f0c7efeb2df87f11edabf
2,307
ex
Elixir
lib/socket/socket_handler.ex
robjmorrissey/lanyard
83c25012dbc5c2e7d625e7322e705072093b9586
[ "MIT" ]
null
null
null
lib/socket/socket_handler.ex
robjmorrissey/lanyard
83c25012dbc5c2e7d625e7322e705072093b9586
[ "MIT" ]
null
null
null
lib/socket/socket_handler.ex
robjmorrissey/lanyard
83c25012dbc5c2e7d625e7322e705072093b9586
[ "MIT" ]
null
null
null
defmodule Lanyard.SocketHandler do require Logger alias Lanyard.Presence @type t :: %{ awaiting_init: boolean, encoding: String.t(), compression: String.t() } defstruct awaiting_init: true, encoding: nil, compression: nil @behaviour :cowboy_websocket def init(requ...
25.921348
108
0.573472
2809a5fa0f041cb615d8c38a8be2d6ef21a99c16
404
exs
Elixir
priv/repo/migrations/20170126200250_create_data.exs
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20170126200250_create_data.exs
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20170126200250_create_data.exs
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
defmodule ProjectsStatistics.Repo.Migrations.CreateData do use Ecto.Migration def change do create table(:data) do add :name, :string add :version_id, references(:versions, on_delete: :nothing) add :data_type_id, references(:data_types, on_delete: :nothing) timestamps() end cr...
23.764706
69
0.690594
2809c5af4e333de4c69905a6672d1d55904eedcb
689
ex
Elixir
scripts/debian/preinst.ex
orzuk-lmj/xmake
2aec1cfaa90e1f885410ff3c2eed4f70186c2eb2
[ "Apache-2.0" ]
3,721
2019-02-14T09:12:03.000Z
2022-03-31T22:58:53.000Z
scripts/debian/preinst.ex
orzuk-lmj/xmake
2aec1cfaa90e1f885410ff3c2eed4f70186c2eb2
[ "Apache-2.0" ]
1,536
2019-02-08T14:22:32.000Z
2022-03-31T17:00:35.000Z
scripts/debian/preinst.ex
orzuk-lmj/xmake
2aec1cfaa90e1f885410ff3c2eed4f70186c2eb2
[ "Apache-2.0" ]
361
2019-02-08T12:20:22.000Z
2022-03-31T15:07:59.000Z
#!/bin/sh # preinst script for xmake # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # for details, s...
19.138889
63
0.626996
2809d7d52debd9e70a45c63bb039b5280953de15
238
ex
Elixir
lib/absinthe/language/directive.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
lib/absinthe/language/directive.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
lib/absinthe/language/directive.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
defmodule Absinthe.Language.Directive do @moduledoc false @type t :: %{name: binary, arguments: [Absinthe.Language.Argument], loc: Absinthe.Language.loc_t} defstruct name: nil, arguments: [], loc: %{start: nil} end
26.444444
69
0.676471
2809e928477c01aa3ba89971402feb4769afdeb4
4,556
exs
Elixir
test/enum_transform1_test.exs
ianrumford/plymio_enum
019165e369508eadcb723579e02a86670d894bb4
[ "MIT" ]
null
null
null
test/enum_transform1_test.exs
ianrumford/plymio_enum
019165e369508eadcb723579e02a86670d894bb4
[ "MIT" ]
null
null
null
test/enum_transform1_test.exs
ianrumford/plymio_enum
019165e369508eadcb723579e02a86670d894bb4
[ "MIT" ]
null
null
null
defmodule PlymioEnumTransform1Test1 do use PlymioEnumHelpersTest test "enum_transform: filter" do helper_assert_transform_realise( @l_test1, @l_test1, filter: fn x -> x end) helper_assert_transform_realise( @t_test1 |> Keyword.take([:a, :c]), @t_test1, filter: f...
22.554455
88
0.535558
2809f2c14bf64ada1ef87b803b3afec16a3cc38b
2,804
ex
Elixir
lib/oli/analytics/datashop/elements/event_descriptor.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/analytics/datashop/elements/event_descriptor.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/analytics/datashop/elements/event_descriptor.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Analytics.Datashop.Elements.EventDescriptor do @moduledoc """ <event_descriptor> <selection>(ARC-BD-MEASURE QUESTION1 REASON)</selection> <action>INPUT-CELL-VALUE</action> <input>HINT</input> </event_descriptor> <event_descriptor> <selection>(ARC-BD-MEASURE QUESTION1 REASON)</sele...
34.617284
104
0.661912
280a0519c8d1d5193ae2322fb30baaad444e0f39
66
ex
Elixir
apps/neoscan_web/lib/neoscan_web/views/contracts_view.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
1
2021-02-23T02:55:26.000Z
2021-02-23T02:55:26.000Z
apps/neoscan_web/lib/neoscan_web/views/contracts_view.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
null
null
null
apps/neoscan_web/lib/neoscan_web/views/contracts_view.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
1
2019-10-16T21:37:31.000Z
2019-10-16T21:37:31.000Z
defmodule NeoscanWeb.ContractsView do use NeoscanWeb, :view end
16.5
37
0.818182
280a105b4d713bf9c955e24f2a3280a6c0c37f69
2,006
exs
Elixir
config/prod.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
config/prod.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
config/prod.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.821429
66
0.713858
280a356e8546737fa7cf4c0df7847f8df497893e
690
ex
Elixir
lib/kvasir/command/encoder.ex
IanLuites/kvasir_agent
37a70c1eaa8cee1a61de8c0fe6b9ff7dcd290a83
[ "MIT" ]
1
2020-09-03T08:31:02.000Z
2020-09-03T08:31:02.000Z
lib/kvasir/command/encoder.ex
IanLuites/kvasir_agent
37a70c1eaa8cee1a61de8c0fe6b9ff7dcd290a83
[ "MIT" ]
null
null
null
lib/kvasir/command/encoder.ex
IanLuites/kvasir_agent
37a70c1eaa8cee1a61de8c0fe6b9ff7dcd290a83
[ "MIT" ]
null
null
null
defmodule Kvasir.Command.Encoder do def encode(command, opts \\ []), do: encoding(opts).encode(command, opts) def decode(command, opts \\ []), do: encoding(opts).decode(command, opts) @base_encoders %{ brod: Kvasir.Command.Encodings.Brod, json: Kvasir.Command.Encodings.JSON, raw: Kvasir.Command.Encod...
30
75
0.682609
280a4d6306fd2552039d60a6b2a623b0754e68bd
1,825
exs
Elixir
mix.exs
curiosum-dev/elixir-debugging
061d7c7405725df61da8d069b0069389aabb710f
[ "MIT" ]
1
2022-01-25T09:29:24.000Z
2022-01-25T09:29:24.000Z
mix.exs
curiosum-dev/elixir-debugging
061d7c7405725df61da8d069b0069389aabb710f
[ "MIT" ]
null
null
null
mix.exs
curiosum-dev/elixir-debugging
061d7c7405725df61da8d069b0069389aabb710f
[ "MIT" ]
null
null
null
defmodule Hello.MixProject do use Mix.Project def project do [ app: :hello, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
27.651515
84
0.57863
280a541373e341f468959992dd09841484066ea7
1,398
exs
Elixir
test/test_helper.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
302
2016-08-01T05:16:06.000Z
2022-03-26T07:20:46.000Z
test/test_helper.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
206
2016-08-04T15:18:35.000Z
2022-03-01T03:07:57.000Z
test/test_helper.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
35
2016-10-29T13:59:34.000Z
2022-03-01T01:50:31.000Z
ExUnit.start() Serum.IOProxy.config(mute_err: true, mute_msg: true) defmodule Serum.TestHelper do @test_dir Path.join(File.cwd!(), "test_fixtures") defmacro fixture(arg) do quote(do: Path.join([unquote(@test_dir), unquote(arg)])) end def get_tmp_dir(prefix) do uniq = Base.url_encode64(:crypto.strong...
33.285714
91
0.640916
280a9538c888c889ecd4f11bd3cf7fa18b3c8d0a
3,191
exs
Elixir
test/memo_web/controllers/user_session_controller_test.exs
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
test/memo_web/controllers/user_session_controller_test.exs
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
test/memo_web/controllers/user_session_controller_test.exs
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
defmodule MemoWeb.UserSessionControllerTest do use MemoWeb.ConnCase, async: true import Memo.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.232323
89
0.600439
280a9667cb613c5b2e95e36bea0e19029169f6f8
8,910
ex
Elixir
lib/siwapp/commons.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
lib/siwapp/commons.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
lib/siwapp/commons.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
defmodule Siwapp.Commons do @moduledoc """ The Commons context. It handles Series and Taxes. """ import Ecto.Query, warn: false alias Siwapp.Commons.Series alias Siwapp.Commons.Tax alias Siwapp.Repo ### SERIES ### @doc """ Returns the list of series. ## Examples iex> list_series() ...
22.5
101
0.605724
280acad6b6127482077bc40c14779d42f2fe935d
10,131
ex
Elixir
lib/wallaby/selenium.ex
pay-it-off/wallaby
d957f0dbf807180a25b8663f8e549071714ddc5d
[ "MIT" ]
null
null
null
lib/wallaby/selenium.ex
pay-it-off/wallaby
d957f0dbf807180a25b8663f8e549071714ddc5d
[ "MIT" ]
3
2021-08-18T20:39:11.000Z
2022-01-11T22:45:06.000Z
lib/wallaby/selenium.ex
pay-it-off/wallaby
d957f0dbf807180a25b8663f8e549071714ddc5d
[ "MIT" ]
null
null
null
defmodule Wallaby.Selenium do @moduledoc """ The Selenium driver uses [Selenium Server](https://github.com/SeleniumHQ/selenium) to power many types of browsers (Chrome, Firefox, Edge, etc). ## Usage Start a Wallaby Session using this driver with the following command: ``` {:ok, session} = Wallaby.start_s...
25.138958
189
0.677327
280ad9b285af8549daf18507c95ce38f476db180
382
ex
Elixir
lib/dashwallet_web/views/error_view.ex
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
2
2017-11-15T20:47:47.000Z
2017-12-02T11:29:10.000Z
lib/dashwallet_web/views/error_view.ex
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
null
null
null
lib/dashwallet_web/views/error_view.ex
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
null
null
null
defmodule DashwalletWeb.ErrorView do use DashwalletWeb, :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_found(_t...
21.222222
47
0.706806
280ad9f8c523d6c4f86854c6b848288f78771152
1,516
exs
Elixir
mix.exs
ashlyrclark/Ace
73a9aa620923f64d6955c23a3bec6afe353e05b9
[ "MIT" ]
1
2021-11-22T10:30:44.000Z
2021-11-22T10:30:44.000Z
mix.exs
ashlyrclark/Ace
73a9aa620923f64d6955c23a3bec6afe353e05b9
[ "MIT" ]
null
null
null
mix.exs
ashlyrclark/Ace
73a9aa620923f64d6955c23a3bec6afe353e05b9
[ "MIT" ]
1
2021-11-22T10:31:48.000Z
2021-11-22T10:31:48.000Z
defmodule Ace.Mixfile do use Mix.Project def project do [ app: :ace, version: "0.18.10", elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), elixirc_options: [ # Will be done when switching to ssl handshake ...
22.969697
67
0.519129
280aeafd28020e320ab34de28b9a5bcb4b10c840
491
exs
Elixir
test/telemetry_pipeline/rabbitmq_message_test.exs
brsg/telluride_pipeline
e5701ee7e750b80b114f248519c95fbb3ed5fd7b
[ "Apache-2.0" ]
null
null
null
test/telemetry_pipeline/rabbitmq_message_test.exs
brsg/telluride_pipeline
e5701ee7e750b80b114f248519c95fbb3ed5fd7b
[ "Apache-2.0" ]
null
null
null
test/telemetry_pipeline/rabbitmq_message_test.exs
brsg/telluride_pipeline
e5701ee7e750b80b114f248519c95fbb3ed5fd7b
[ "Apache-2.0" ]
null
null
null
defmodule TelluridePipeline.RabbitmqMessageTest do use ExUnit.Case, async: true alias TelluridePipeline.SensorMessage @rmq_msg "{\"device_id\":\"DEV_A\",\"line_id\":\"line_AAA\",\"reading\":119.7549023828733,\"sensor_id\":123,\"timestamp\":\"2021-01-21T19:21:19.370968Z\"}" describe "parse RMQ message" do ...
30.6875
157
0.716904
280af1f32d4fe3571b47f6297e50fe889f4bbac5
2,411
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_partner_metadata.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_partner_metadata.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_partner_metadata.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...
44.648148
251
0.764413
280aff7d4f8945c8ad255736bbb50b15b553a6ad
2,431
exs
Elixir
mix.exs
ConnorRigby/nerves_system_lichee_nano
5a7b1237659c2cc45086bcd61ccef4b264979111
[ "Apache-2.0" ]
7
2020-01-15T04:34:12.000Z
2021-10-11T21:31:01.000Z
mix.exs
ConnorRigby/nerves_system_lichee_nano
5a7b1237659c2cc45086bcd61ccef4b264979111
[ "Apache-2.0" ]
null
null
null
mix.exs
ConnorRigby/nerves_system_lichee_nano
5a7b1237659c2cc45086bcd61ccef4b264979111
[ "Apache-2.0" ]
1
2020-07-08T08:54:13.000Z
2020-07-08T08:54:13.000Z
defmodule NervesSystemLicheeNano.MixProject do use Mix.Project @app :nerves_system_lichee_nano @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, version: @version, elixir: "~> 1.6", compilers: Mix.compilers() +...
21.900901
87
0.575483
280b02acbf42e9c8040a09b54382d374c25e455d
1,750
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_numerical_stats_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_numerical_stats_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_numerical_stats_config.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.714286
153
0.758286
280b4559f2d317b7b9ab0e953b0dc6e67f88b608
1,365
exs
Elixir
apps/engine/test/engine/db/transaction_fee/transaction_fee_query_test.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/engine/test/engine/db/transaction_fee/transaction_fee_query_test.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/engine/test/engine/db/transaction_fee/transaction_fee_query_test.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Engine.DB.TransactionFee.TransactionFeeQueryTest do use Engine.DB.DataCase, async: false alias Engine.DB.TransactionFee.TransactionFeeQuery alias Engine.Repo describe "get_fees_for_block/1" do test "returns transaction fees by currency for a block" do eth = <<0::160>> other_token = <...
39
98
0.681319
280b51b8ff65e0b40a9b895e9a91255a3a920097
2,077
exs
Elixir
apps/omg_watcher/test/omg_watcher/api/status_cache_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/test/omg_watcher/api/status_cache_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/test/omg_watcher/api/status_cache_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 ...
29.253521
91
0.690419
280b562f10563f6eb405d8815827428b2963a76d
561
exs
Elixir
priv/repo/migrations/20180802025001_create_inbound_batch_requests.exs
jolyus/csv-uploader
ca29234a4b1bf1ab3f0760099b1bcd4f9aa8c354
[ "MIT" ]
null
null
null
priv/repo/migrations/20180802025001_create_inbound_batch_requests.exs
jolyus/csv-uploader
ca29234a4b1bf1ab3f0760099b1bcd4f9aa8c354
[ "MIT" ]
null
null
null
priv/repo/migrations/20180802025001_create_inbound_batch_requests.exs
jolyus/csv-uploader
ca29234a4b1bf1ab3f0760099b1bcd4f9aa8c354
[ "MIT" ]
null
null
null
defmodule CsvUploader.Repo.Migrations.CreateInboundBatchRequests do use Ecto.Migration def change do create table(:inbound_batch_requests, primary_key: false) do add :id, :binary_id add :batch_request_code, :string, primary_key: true add :branch_code, :string add :batch_status, :string ...
25.5
67
0.688057
280b5db0a5d2b6f12e9d3ff46d7ec34935c20cf7
2,181
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/vpn_gateway_aggregated_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/vpn_gateway_aggregated_list_warning.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/vpn_gateway_aggregated_list_warning.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...
40.388889
194
0.729023
280b61206aaf1477bcc273295cdad42f439d455e
984
ex
Elixir
lib/tasks/create_schemas.ex
quiqupltd/ktsllex
e596e774561a56cafb7dcfc1c43d8e1cdfc86348
[ "MIT" ]
3
2018-09-07T13:43:22.000Z
2020-04-28T18:00:24.000Z
lib/tasks/create_schemas.ex
quiqupltd/ktsllex
e596e774561a56cafb7dcfc1c43d8e1cdfc86348
[ "MIT" ]
3
2018-09-11T13:00:17.000Z
2018-09-11T20:45:59.000Z
lib/tasks/create_schemas.ex
quiqupltd/ktsllex
e596e774561a56cafb7dcfc1c43d8e1cdfc86348
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.CreateSchemas do use Mix.Task @shortdoc "Creates the Kafka schemas" @moduledoc ~S""" This is a mix task wrapper to Ktsllex.Schemas, which creates Schemas on a Kafka host. See Ktsllex.Schemas for more info ### Usage ``` $ mix create_schemas --host=localhost:8081 --schema=schema-n...
23.428571
88
0.610772
280b624db10aefba09d7b03d89e9a0a600198d8e
1,304
ex
Elixir
lib/dynamic_template.ex
KeenMate/dynamic_template
e5fa61889feaf8eb780fe0bdf45c1dd85372aad0
[ "MIT" ]
null
null
null
lib/dynamic_template.ex
KeenMate/dynamic_template
e5fa61889feaf8eb780fe0bdf45c1dd85372aad0
[ "MIT" ]
null
null
null
lib/dynamic_template.ex
KeenMate/dynamic_template
e5fa61889feaf8eb780fe0bdf45c1dd85372aad0
[ "MIT" ]
null
null
null
defmodule DynamicTemplate do def render(module_name, assigns) do case Code.ensure_loaded?(module_name) do true -> {:ok, render!(module_name, assigns)} false -> {:error, :template_not_loaded} end end def render!(module_name, assigns) do apply(module_name, :render, [assigns]) end def c...
29.636364
162
0.715491
280b98375eddcede971267fdf481290f43a43d7c
1,249
exs
Elixir
test/test_helper.exs
mayel/benchee
faf3c85c241a4c7eeaab8edfc85094bbbb10c44d
[ "MIT" ]
636
2016-06-06T07:58:36.000Z
2019-03-19T15:27:37.000Z
test/test_helper.exs
mayel/benchee
faf3c85c241a4c7eeaab8edfc85094bbbb10c44d
[ "MIT" ]
198
2016-06-18T08:19:15.000Z
2019-03-19T15:32:37.000Z
test/test_helper.exs
mayel/benchee
faf3c85c241a4c7eeaab8edfc85094bbbb10c44d
[ "MIT" ]
43
2016-06-08T08:04:30.000Z
2019-02-13T17:10:24.000Z
# OTP 18 doesn't support the memory measurement things we need otp_release = List.to_integer(:erlang.system_info(:otp_release)) exclusions = if otp_release > 18, do: [], else: [memory_measure: true] # On Windows we have by far worse time measurements (millisecond level) # see: https://github.com/bencheeorg/benchee/pul...
33.756757
92
0.731785
280ba34c1e54e5462e7efd381ceb0cf11f01662e
102
exs
Elixir
installer/templates/phx_test/views/layout_view_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
2
2016-11-01T15:01:48.000Z
2016-11-01T15:07:20.000Z
installer/templates/phx_test/views/layout_view_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
1
2021-11-17T12:10:06.000Z
2021-11-24T12:53:45.000Z
installer/templates/phx_test/views/layout_view_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
null
null
null
defmodule <%= web_namespace %>.LayoutViewTest do use <%= web_namespace %>.ConnCase, async: true end
25.5
48
0.72549
280bc46fc22afbb52880cf36d2711a64caed0178
495
ex
Elixir
apps/playground_db/lib/playground_db/posts/post.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
apps/playground_db/lib/playground_db/posts/post.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
apps/playground_db/lib/playground_db/posts/post.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
defmodule PlaygroundDb.Posts.Post do @moduledoc """ The Post schema. """ use Ecto.Schema import Ecto.Changeset alias PlaygroundDb.Posts.Comments.Comment @derive {Jason.Encoder, only: [:id, :content, :comments]} schema "posts" do field :content, :string # foreign key: delete_all has_many :...
18.333333
59
0.666667
280bcf23edb9604a74ff3329b7cf25729601aa1e
7,735
ex
Elixir
services/interop-proxy/lib/interop_proxy/sanitize.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
1
2020-10-08T14:37:36.000Z
2020-10-08T14:37:36.000Z
services/interop-proxy/lib/interop_proxy/sanitize.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
33
2017-10-31T22:36:42.000Z
2021-01-10T22:15:54.000Z
services/interop-proxy/lib/interop_proxy/sanitize.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
3
2018-10-07T21:36:02.000Z
2020-02-07T01:13:53.000Z
defmodule InteropProxy.Sanitize do @moduledoc """ Translates the interop server responses to our own and vise-versa. """ # Aliasing the main messages. alias InteropProxy.Message.Interop.{ Position, AerialPosition, InteropMission, Obstacles, InteropTelem, Odlc, OdlcList, InteropMessage } # Aliasi...
22.683284
76
0.565869
280bd7c2aa544a2402693661ddec3369442e96be
826
exs
Elixir
mix.exs
mwmiller/equivalex
553ce73b365fadca5dd947fe9a6b07636c75a31c
[ "MIT" ]
1
2016-05-02T10:47:51.000Z
2016-05-02T10:47:51.000Z
mix.exs
mwmiller/equivalex
553ce73b365fadca5dd947fe9a6b07636c75a31c
[ "MIT" ]
null
null
null
mix.exs
mwmiller/equivalex
553ce73b365fadca5dd947fe9a6b07636c75a31c
[ "MIT" ]
null
null
null
defmodule Equivalex.Mixfile do use Mix.Project def project do [ app: :equivalex, version: "1.0.2", elixir: "~> 1.7", name: "Equivalex", source_url: "https://github.com/mwmiller/equivalex", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, d...
18.772727
67
0.549637
280beba8dd8793ebbe7dd0402fd706066dc6f2f1
6,181
ex
Elixir
lib/mix/lib/mix/deps/retriever.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/retriever.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/retriever.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
# This module is responsible for retrieving # dependencies of a given project. This # module and its functions are private to Mix. defmodule Mix.Deps.Retriever do @moduledoc false @doc """ Gets all direct children of the current `Mix.Project` as a `Mix.Dep` record. Umbrella project dependencies are included ...
26.757576
115
0.598123
280c014105116dc5a3928eed6f6322ed99583711
2,084
ex
Elixir
lib/code_corps/model/stripe_connect_charge.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps/model/stripe_connect_charge.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps/model/stripe_connect_charge.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.StripeConnectCharge do use CodeCorps.Model @type t :: %__MODULE__{} schema "stripe_connect_charges" do field :amount, :integer field :amount_refunded, :integer field :application_id_from_stripe, :string field :application_fee_id_from_stripe, :string field :balance_transac...
34.163934
86
0.75144
280c1628dde7ace4ff2b957595f76958d81c4a09
2,692
exs
Elixir
apps/cms/test/lib/blurb_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/cms/test/lib/blurb_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/cms/test/lib/blurb_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule CMS.BlurbTest do use ExUnit.Case, async: false alias CMS.Blurb @suffix_length String.length(Blurb.suffix()) @suffix_range Range.new(-1 * @suffix_length, -1) test "keeps string under or equal to max_length characters" do max_length = 10 string = String.duplicate("a", max_length + 2) as...
31.670588
94
0.666048
280c27028db3cd7efb6d056f62dba4f526611727
271
ex
Elixir
lib/kantele/character/commands/whisper_command.ex
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
610
2017-08-09T15:20:25.000Z
2022-03-27T15:49:07.000Z
lib/kantele/character/commands/whisper_command.ex
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
69
2017-09-23T04:02:30.000Z
2022-03-19T21:08:21.000Z
lib/kantele/character/commands/whisper_command.ex
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
85
2017-09-23T04:07:11.000Z
2021-11-20T06:44:56.000Z
defmodule Kantele.Character.WhisperCommand do use Kalevala.Character.Command def run(conn, params) do params = %{ name: params["name"], text: params["text"] } conn |> event("whisper/send", params) |> assign(:prompt, false) end end
18.066667
45
0.623616
280c278f91e0767ff0bfe380f4a640dd027b0493
229
ex
Elixir
lib/slackex/emoji.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
lib/slackex/emoji.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
lib/slackex/emoji.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
defmodule Slack.Emoji do @moduledoc """ Gets custom Emojis for a team. """ @doc """ This method lists the custom emoji for a team. """ def list(options \\ %{}) do Slack.request("emoji.list", options) end end
17.615385
48
0.628821
280c2d788fcdc48dabdb18f09a5d4f0c72cc4e72
87
ex
Elixir
lib/spike/command/error.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
1
2019-04-16T22:13:23.000Z
2019-04-16T22:13:23.000Z
lib/spike/command/error.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
null
null
null
lib/spike/command/error.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
null
null
null
defmodule Spike.Command.Error do @enforce_keys [:message] defstruct [:message] end
17.4
32
0.758621
280c324d2e2cb9302e1d59d4d0a3f601e770e704
3,462
ex
Elixir
lib/scenic/component/input/carat.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/carat.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/carat.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer August 6, 2018. # Copyright © 2018 Kry10 Industries. All rights reserved. # defmodule Scenic.Component.Input.Carat do use Scenic.Component, has_children: false alias Scenic.Graph alias Scenic.Primitive.Style.Paint.Color import Scenic.Primitives, only: [ {:line, 3}, ...
25.086957
83
0.493934
280c429b01148762fb45cac7be3ade0f50a5faaa
1,887
ex
Elixir
lib/events/products.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
3
2019-06-19T14:00:28.000Z
2019-06-20T23:26:06.000Z
lib/events/products.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
null
null
null
lib/events/products.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
null
null
null
defmodule PLM.Products do require Logger use N2O, with: [:n2o, :kvs, :nitro] use FORM use BPE require ERP def header() do panel( id: :header, class: :th, body: [ panel(class: :column6, body: "Code"), panel(class: :column10, body: "KPI"), panel(class: :column6, ...
23.886076
100
0.503975
280c61c730877550ae86c7601ec9f19f3aba46e4
1,269
exs
Elixir
apps/ewallet/test/ewallet/web/v1/event_handlers/event_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet/test/ewallet/web/v1/event_handlers/event_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/v1/event_handlers/event_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.V1.EventTest do use EWallet.LocalLedgerCase, async: true import ExUnit.CaptureLog require Logger alias EWallet.TestEndpoint alias EWallet.Web.V1.Event setup do Logger.configure(level: :info) {:ok, pid} = TestEndpoint.start_link() on_exit(fn -> Logger.configure(level...
28.2
74
0.535855
280c94b950db2eab7b2a7f3c063527ed57350ff4
1,949
exs
Elixir
config/config.exs
Jesterovskiy/video_processor
579e4d2de22e7761f5a129a7c4c44b393eb534da
[ "MIT" ]
1
2016-12-21T21:35:12.000Z
2016-12-21T21:35:12.000Z
config/config.exs
Jesterovskiy/video_processor
579e4d2de22e7761f5a129a7c4c44b393eb534da
[ "MIT" ]
null
null
null
config/config.exs
Jesterovskiy/video_processor
579e4d2de22e7761f5a129a7c4c44b393eb534da
[ "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...
38.98
73
0.723961
280c9c13996f7b93b032486fc8d9658fb01bfbd8
4,339
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_environment.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_environment.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_environment.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.453488
541
0.738419
280cc1d04eb831564e8724cd1fa4a99dbad51864
946
ex
Elixir
lib/teslamate_web/live/geofence_live/index.ex
Try2Fly/teslamate
7ac8d5681231a494af288b0fb16adb1e775ffcec
[ "MIT" ]
null
null
null
lib/teslamate_web/live/geofence_live/index.ex
Try2Fly/teslamate
7ac8d5681231a494af288b0fb16adb1e775ffcec
[ "MIT" ]
null
null
null
lib/teslamate_web/live/geofence_live/index.ex
Try2Fly/teslamate
7ac8d5681231a494af288b0fb16adb1e775ffcec
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.GeoFenceLive.Index do use Phoenix.LiveView alias TeslaMate.{Locations, Settings} alias TeslaMateWeb.GeoFenceView @impl true def render(assigns), do: GeoFenceView.render("index.html", assigns) @impl true def mount(_session, socket) do unit_of_length = case Settings.get_s...
25.567568
92
0.67019
280cd6daab8154029d00ab8179d858ce949921ab
1,135
exs
Elixir
clients/vision/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/vision/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# 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...
36.612903
73
0.755066
280ce72cfc1a36fffc11e3d38834a98718a1b338
641
ex
Elixir
farmbot_os/platform/target/network/presetup.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
1
2021-04-22T10:18:50.000Z
2021-04-22T10:18:50.000Z
farmbot_os/platform/target/network/presetup.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_os/platform/target/network/presetup.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Platform.Target.Network.PreSetup do @moduledoc """ VintageNet technology responsible for doing nothing, but isn't the NULL technology """ @behaviour VintageNet.Technology alias VintageNet.Interface.RawConfig @impl true def normalize(config), do: config @impl true def to_raw_...
20.03125
58
0.683307
280cf3e3f6528937d083e7d178a706d6c9182e8b
1,042
exs
Elixir
mix.exs
soundtrackyourbrand/absinthe-throttle
2e639700b6bc1af7ddac86def400e80495d07b8b
[ "MIT" ]
14
2017-08-29T20:31:58.000Z
2020-11-05T01:07:55.000Z
mix.exs
soundtrackyourbrand/absinthe-throttle
2e639700b6bc1af7ddac86def400e80495d07b8b
[ "MIT" ]
null
null
null
mix.exs
soundtrackyourbrand/absinthe-throttle
2e639700b6bc1af7ddac86def400e80495d07b8b
[ "MIT" ]
null
null
null
defmodule AbsintheThrottle.Mixfile do use Mix.Project def project do [ app: :absinthe_throttle, version: "0.4.0", elixir: "~> 1.4", start_permanent: Mix.env == :prod, deps: deps(), description: description(), package: package(), name: "absinthe_throttle", s...
22.170213
86
0.579655
280d0d489a3d76c00cd9b1821aca7060ade71488
445
ex
Elixir
test/setup/schemas/address.ex
chrislaskey/assoc
7bee95e7f5bc6222cd7c2a63e3f955d0db89b2b7
[ "MIT" ]
6
2019-01-31T23:31:42.000Z
2020-10-06T20:05:34.000Z
test/setup/schemas/address.ex
chrislaskey/assoc
7bee95e7f5bc6222cd7c2a63e3f955d0db89b2b7
[ "MIT" ]
2
2021-11-09T14:35:51.000Z
2021-11-09T18:04:15.000Z
test/setup/schemas/address.ex
chrislaskey/assoc
7bee95e7f5bc6222cd7c2a63e3f955d0db89b2b7
[ "MIT" ]
2
2019-01-31T23:53:33.000Z
2021-11-05T21:47:26.000Z
defmodule Assoc.Test.Address do use Assoc.Test.Schema use Assoc.Schema, repo: Assoc.Test.Repo schema "addresses" do field(:address, :string) belongs_to(:user, Assoc.Test.User, on_replace: :update) timestamps() end def updatable_associations, do: [ user: Assoc.Test.User ] def c...
18.541667
59
0.651685
280d23507b98dc1bb74eaade8769bf892613459f
977
exs
Elixir
test/format_parser/font_test.exs
ahtung/format_parser.ex
b4c858f9f3dedd8e62ac17b633d951eb247b7c1f
[ "Apache-2.0" ]
21
2018-02-17T18:49:37.000Z
2020-03-13T11:14:30.000Z
test/format_parser/font_test.exs
ahtung/format_parser.ex
b4c858f9f3dedd8e62ac17b633d951eb247b7c1f
[ "Apache-2.0" ]
20
2018-02-15T07:17:56.000Z
2021-01-13T13:08:49.000Z
test/format_parser/font_test.exs
dunyakirkali/format_parser.ex
418a6ff5d83be4bcaaa057b4f7eb652c1add2ae6
[ "Apache-2.0" ]
1
2020-01-28T09:39:00.000Z
2020-01-28T09:39:00.000Z
defmodule FormatParser.FontTest do use ExUnit.Case test "parse passed error" do {:ok, file} = File.read("priv/test.ttf") assert FormatParser.Font.parse({:error, file}).format == :ttf end test "parse file" do {:ok, file} = File.read("priv/test.ttf") assert FormatParser.Font.parse(file).format...
23.829268
82
0.657114
280d71c5252dfb75e6bcb0ad56df063870f0b7ce
2,758
ex
Elixir
clients/content/lib/google_api/content/v21/model/return_policy_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v21/model/return_policy_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v21/model/return_policy_policy.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...
52.037736
608
0.737491
280dcf1ca33b1578e7b00644c223f9a6ca9892aa
728
exs
Elixir
io/2-rest-client/mix.exs
mrice/elixir-examples
bca08b7378f5cc39e31467767484c54553d8fbe7
[ "MIT" ]
null
null
null
io/2-rest-client/mix.exs
mrice/elixir-examples
bca08b7378f5cc39e31467767484c54553d8fbe7
[ "MIT" ]
null
null
null
io/2-rest-client/mix.exs
mrice/elixir-examples
bca08b7378f5cc39e31467767484c54553d8fbe7
[ "MIT" ]
null
null
null
defmodule HttpClient.Mixfile do use Mix.Project def project do [app: :http_client, version: "0.0.1", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` f...
22.060606
77
0.605769
280ddb052f9a56f4863d26c350c5916dfc99dc6e
415
ex
Elixir
fw/lib/fw/application.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
1
2019-08-30T08:45:43.000Z
2019-08-30T08:45:43.000Z
fw/lib/fw/application.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
5
2020-10-15T13:33:02.000Z
2020-10-15T13:33:04.000Z
fw/lib/fw/application.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
null
null
null
defmodule Fw.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false @target Mix.target() use Application def start(_type, _args) do opts = [strategy: :one_for_one, name: Fw.Supervisor] Supervisor.start_link(children(@target), op...
18.043478
56
0.689157
280dee3015a712700effe3ab3de6c91656d6cb9a
8,434
ex
Elixir
lib/plug/parsers/multipart.ex
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
lib/plug/parsers/multipart.ex
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
lib/plug/parsers/multipart.ex
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Parsers.MULTIPART do @moduledoc """ Parses multipart request body. ## Options All options supported by `Plug.Conn.read_body/2` are also supported here. They are repeated here for convenience: * `:length` - sets the maximum number of bytes to read from the request, defaults to 8_000...
32.945313
101
0.64987
280e2ccd19434582fc8155225eb15fe80b8f8fa9
1,570
ex
Elixir
lib/composers/ota_hotel_booking_rule_notif/mapping.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/composers/ota_hotel_booking_rule_notif/mapping.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/composers/ota_hotel_booking_rule_notif/mapping.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
defmodule ExOpenTravel.Composers.OtaHotelBookingRuleNotif.Mapping do @behaviour ExOpenTravel.Response.Converter alias ExOpenTravel.Response.Converter import SweetXml @sweet_xpath [ OTA_HotelBookingRuleNotifRS: [ ~x"//*[local-name() = 'OTA_HotelBookingRuleNotifRS']", "@Version": ~x"./@Version"os...
28.035714
72
0.605096
280e52e74036a27d2bcda953cdd7f2f2290407cf
1,551
ex
Elixir
cards/lib/cards.ex
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
cards/lib/cards.ex
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
cards/lib/cards.ex
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
defmodule Cards do @moduledoc """ Provides methods for creating and handling a deck of cards """ @doc """ Returns a list of strings representing a deck of playing cards """ def create_deck do values = ["Ace", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", ...
22.157143
66
0.60735
280e679dcfb6f8b557c1e14771d6363ea6aa8295
197
exs
Elixir
api-integrations-team/round 1/nucleotide-count/dna.exs
Intellection/code-kata
cacf4fc7b843dd1fd8a2dbc3c80209868738d950
[ "MIT" ]
null
null
null
api-integrations-team/round 1/nucleotide-count/dna.exs
Intellection/code-kata
cacf4fc7b843dd1fd8a2dbc3c80209868738d950
[ "MIT" ]
7
2020-02-26T00:34:39.000Z
2022-02-11T23:16:54.000Z
api-integrations-team/round 1/nucleotide-count/dna.exs
Intellection/code-kata
cacf4fc7b843dd1fd8a2dbc3c80209868738d950
[ "MIT" ]
null
null
null
defmodule DNA do @spec count([char], char) :: non_neg_integer def count(strand, nucleotide) do end @spec nucleotide_counts([char]) :: Dict.t() def nucleotide_counts(strand) do end end
19.7
46
0.705584
280e983ef18f44006eb7f2f26f73817aebbd2437
78
exs
Elixir
test/vutuv_web/views/layout_view_test.exs
hendri-tobing/vutuv
50a3095e236fe96739a79954157b74b4c4025921
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
test/vutuv_web/views/layout_view_test.exs
hendri-tobing/vutuv
50a3095e236fe96739a79954157b74b4c4025921
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
test/vutuv_web/views/layout_view_test.exs
hendri-tobing/vutuv
50a3095e236fe96739a79954157b74b4c4025921
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule VutuvWeb.LayoutViewTest do use VutuvWeb.ConnCase, async: true end
19.5
36
0.820513
280ebd083abb5a92d579c9833990f2bf177dc05a
1,117
exs
Elixir
config/config.exs
szTheory/gen_fsm
c66839c139716fe2076730a197d7b2ff30a4343f
[ "Apache-2.0" ]
41
2016-04-01T08:14:07.000Z
2020-03-15T14:00:21.000Z
config/config.exs
szTheory/gen_fsm
c66839c139716fe2076730a197d7b2ff30a4343f
[ "Apache-2.0" ]
16
2016-04-01T08:22:27.000Z
2016-05-31T15:07:56.000Z
config/config.exs
szTheory/gen_fsm
c66839c139716fe2076730a197d7b2ff30a4343f
[ "Apache-2.0" ]
4
2016-04-01T17:08:09.000Z
2020-03-03T22:26:43.000Z
# 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...
36.032258
73
0.751119
280ec8b44e7affb9e430f636b4daedecc693e58f
242
ex
Elixir
instrumentation/opentelemetry_ecto/test/support/models/user.ex
andrewhr/opentelemetry-erlang-contrib
6591b28166bbcfd28c34838638570354e5bb62ce
[ "Apache-2.0" ]
null
null
null
instrumentation/opentelemetry_ecto/test/support/models/user.ex
andrewhr/opentelemetry-erlang-contrib
6591b28166bbcfd28c34838638570354e5bb62ce
[ "Apache-2.0" ]
null
null
null
instrumentation/opentelemetry_ecto/test/support/models/user.ex
andrewhr/opentelemetry-erlang-contrib
6591b28166bbcfd28c34838638570354e5bb62ce
[ "Apache-2.0" ]
null
null
null
defmodule OpentelemetryEcto.TestModels.User do use Ecto.Schema schema "users" do field(:email, :string) has_many(:posts, OpentelemetryEcto.TestModels.Post) has_many(:comments, OpentelemetryEcto.TestModels.Comment) end end
22
61
0.760331
280ee047cd9ace4c1b8a455c2dcef01a64929110
4,705
ex
Elixir
lib/siwapp_web/live/invoices_live/index.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
lib/siwapp_web/live/invoices_live/index.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
lib/siwapp_web/live/invoices_live/index.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
defmodule SiwappWeb.InvoicesLive.Index do @moduledoc false use SiwappWeb, :live_view alias Siwapp.Invoices alias Siwapp.Invoices.Invoice alias Siwapp.Searches @invoices_limit 20 @impl Phoenix.LiveView def mount(params, _session, socket) do query = Searches.filters_query(Invoice, params) send_...
25.994475
98
0.606801
280f233b16f7a98b7b959ec79c5ed0b96f62b871
1,497
ex
Elixir
lib/advent_of_code/day_9_b.ex
rob-brown/AdventOfCode2017
cb8a56fba4b1999820b3aec4c4f03d7094836484
[ "MIT" ]
3
2017-12-26T20:51:47.000Z
2019-05-14T04:59:38.000Z
lib/advent_of_code/day_9_b.ex
rob-brown/AdventOfCode2017
cb8a56fba4b1999820b3aec4c4f03d7094836484
[ "MIT" ]
null
null
null
lib/advent_of_code/day_9_b.ex
rob-brown/AdventOfCode2017
cb8a56fba4b1999820b3aec4c4f03d7094836484
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Day9B do def count_garbage(input) do process(input, %{total: 0, stack: [0], garbage: 0}, :normal).garbage end defp process("", result, _), do: result defp process(<<"!", _, rest::binary>>, result, :in_garbage) do process rest, result, :in_garbage end defp process("<" <> rest...
28.788462
82
0.60521
280f3573a9e9e0a778fd85ae07ca6a255ee27d91
516
ex
Elixir
lib/extensions/invitation/phoenix/messages.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
4
2018-05-07T16:37:15.000Z
2018-07-14T00:44:12.000Z
lib/extensions/invitation/phoenix/messages.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
lib/extensions/invitation/phoenix/messages.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
defmodule PowInvitation.Phoenix.Messages do @moduledoc """ Module that handles messages for PowInvitation. See `Pow.Extension.Phoenix.Messages` for more. """ @doc """ Flash message to show when an invalid or expired invitation url is used. """ def invalid_invitation(_conn), do: "The invitation doesn't...
28.666667
87
0.72093