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
3f1f250dccadddc5406eee38770a37f561f6cf94
1,474
ex
Elixir
lib/live_md_web/views/error_helpers.ex
RobertDober/life_md
e6eabe13de0f3752db90371c3deae64144718aa0
[ "Apache-2.0" ]
null
null
null
lib/live_md_web/views/error_helpers.ex
RobertDober/life_md
e6eabe13de0f3752db90371c3deae64144718aa0
[ "Apache-2.0" ]
null
null
null
lib/live_md_web/views/error_helpers.ex
RobertDober/life_md
e6eabe13de0f3752db90371c3deae64144718aa0
[ "Apache-2.0" ]
null
null
null
defmodule LiveMdWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:...
32.755556
75
0.669607
3f1f253c7ecd8440f59600027458a6a062d84fc4
1,356
ex
Elixir
lib/shipstation/product.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
4
2017-03-28T19:21:48.000Z
2022-02-11T05:12:07.000Z
lib/shipstation/product.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
1
2018-10-05T14:55:55.000Z
2018-10-05T14:55:55.000Z
lib/shipstation/product.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
3
2018-10-05T14:04:02.000Z
2021-11-11T10:22:46.000Z
defmodule Shipstation.Product do @moduledoc ~s""" Manage Products hosted on your account """ @doc ~s""" Get product """ @spec get(id :: integer) :: Shipstation.Client.response_type def get(id) do uri = %{Shipstation.Client.base_uri | path: "/products/#{id}"} Shipstation.Client.call_api(:get, ur...
32.285714
115
0.695428
3f1f3292965270bd90494dbe6948defbb11ee0f8
1,060
exs
Elixir
test/store/ets_test.exs
SpotIM/gen_spoxy
4e15d1e4c04719ef771f65f892049b217c2325d8
[ "MIT" ]
23
2018-03-02T19:50:19.000Z
2021-06-21T04:44:30.000Z
test/store/ets_test.exs
SpotIM/gen_spoxy
4e15d1e4c04719ef771f65f892049b217c2325d8
[ "MIT" ]
null
null
null
test/store/ets_test.exs
SpotIM/gen_spoxy
4e15d1e4c04719ef771f65f892049b217c2325d8
[ "MIT" ]
1
2018-12-10T15:53:00.000Z
2018-12-10T15:53:00.000Z
defmodule Spoxy.Stores.Ets.Tests do use ExUnit.Case, async: false alias GenSpoxy.Stores.Ets setup do Ets.reset_all!() :ok end test "returns 'nil' when data isn't in the cache" do lookup = Ets.lookup_req("req-ets-test-1", "key-1") assert is_nil(lookup) end test "returns cached data if ...
24.090909
80
0.633962
3f1f87e70cd775844c3036de275f5daad82a088b
91
exs
Elixir
test/test_helper.exs
facto/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
56
2016-07-31T19:35:49.000Z
2021-10-21T20:32:42.000Z
test/test_helper.exs
atomic-fads/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
2
2016-01-27T17:38:55.000Z
2016-05-21T18:33:14.000Z
test/test_helper.exs
facto/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
3
2016-10-05T19:33:04.000Z
2018-02-16T16:35:26.000Z
Plasm.Repo.start_link() ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Plasm.Repo, :manual)
22.75
51
0.78022
3f1fbe6cb74a9c31b4d30b9d2a05019fd60d751d
561
exs
Elixir
config/test.exs
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
config/test.exs
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
config/test.exs
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "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 :elirc_twitch_oauth_web, ElircTwitchOauthWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database con...
29.526316
61
0.770053
3f1fc1cc4a923c8f4a7236e7e014fb42b2264821
281
ex
Elixir
lib/empex_cookbook/cookbook/non_veganic.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
4
2019-02-11T12:15:36.000Z
2021-03-22T16:23:47.000Z
lib/empex_cookbook/cookbook/non_veganic.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
lib/empex_cookbook/cookbook/non_veganic.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
defmodule EmpexCookbook.Cookbook.NonVeganic do @moduledoc """ The Ingredient Model """ use Ecto.Schema import Ecto.Changeset schema "non_veganic" do field(:name, :string) end def changeset(schema, params) do schema |> cast(params, [:name]) end end
15.611111
46
0.676157
3f2034254daca415e0ab55110d9f5fd4fd5b364b
1,158
ex
Elixir
lib/ex_rets/http_middleware/logger.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
1
2019-12-20T14:23:19.000Z
2019-12-20T14:23:19.000Z
lib/ex_rets/http_middleware/logger.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
null
null
null
lib/ex_rets/http_middleware/logger.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
null
null
null
defmodule ExRets.Middleware.Logger do @moduledoc false @moduledoc since: "0.1.0" require Logger alias ExRets.HttpRequest alias ExRets.Middleware @behaviour Middleware @impl Middleware @doc since: "0.1.0" def init(opts), do: opts @impl Middleware @doc since: "0.1.0" def call(%HttpRequest{} =...
23.632653
98
0.645078
3f2035f2411443cc3b08154100f3cd5ba1d0d236
1,690
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_keystore.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_keystore.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_keystore.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.8
162
0.72071
3f204007eecd5516e2966f59923c5070e48bc8f2
2,750
ex
Elixir
clients/drive_activity/lib/google_api/drive_activity/v2/model/drive_item_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive_activity/lib/google_api/drive_activity/v2/model/drive_item_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive_activity/lib/google_api/drive_activity/v2/model/drive_item_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.650794
165
0.713818
3f20514d6b8042ea476747737eee543f8c55996e
489
exs
Elixir
nevernote/config/test.exs
dreamingechoes/create-an-mvp-with-phoenix-framework
2a75582fdece9c8f0931f6322e27db5467ae96a4
[ "MIT" ]
4
2019-01-07T09:15:23.000Z
2021-06-18T02:56:14.000Z
nevernote/config/test.exs
dreamingechoes/create-an-mvp-with-phoenix-framework
2a75582fdece9c8f0931f6322e27db5467ae96a4
[ "MIT" ]
null
null
null
nevernote/config/test.exs
dreamingechoes/create-an-mvp-with-phoenix-framework
2a75582fdece9c8f0931f6322e27db5467ae96a4
[ "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 :nevernote, NevernoteWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :nevernote, Neve...
24.45
56
0.732106
3f20517dede28bfeccb95c21ccec6ba0f4346b3b
3,014
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/api/payments.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/api/payments.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/api/payments.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.657895
187
0.662575
3f205b4c5f50306ed6c8960ac7f8e541338b58e9
4,544
exs
Elixir
test/mix/tasks/phx.gen.release_test.exs
padmaJS/phoenix
e0d7c9308f2e097fd169407bfd34850c2355f8b0
[ "MIT" ]
1
2022-02-09T00:31:50.000Z
2022-02-09T00:31:50.000Z
test/mix/tasks/phx.gen.release_test.exs
padmaJS/phoenix
e0d7c9308f2e097fd169407bfd34850c2355f8b0
[ "MIT" ]
null
null
null
test/mix/tasks/phx.gen.release_test.exs
padmaJS/phoenix
e0d7c9308f2e097fd169407bfd34850c2355f8b0
[ "MIT" ]
null
null
null
Code.require_file("../../../installer/test/mix_helper.exs", __DIR__) defmodule Mix.Tasks.Phx.Gen.ReleaseTest do use ExUnit.Case import MixHelper alias Mix.Tasks.Phx.Gen setup do Mix.Task.clear() :ok end test "generates release files", config do in_tmp_project(config.test, fn -> Gen.Rele...
38.508475
104
0.645026
3f207ae817a1f2ced2ac420d7e1c3f2f7c5bdc66
166
exs
Elixir
priv/templates/brando.upgrade/migrations/brando_46_rename_villain_templates_to_modules.exs
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
priv/templates/brando.upgrade/migrations/brando_46_rename_villain_templates_to_modules.exs
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
priv/templates/brando.upgrade/migrations/brando_46_rename_villain_templates_to_modules.exs
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Brando.Migrations.RenameTemplatesToModules do use Ecto.Migration def change do rename table(:pages_templates), to: table(:pages_modules) end end
20.75
61
0.783133
3f2080236012bb61db25dca72295266a5fd885f2
1,498
ex
Elixir
lib/ex_admin/param_associations.ex
landonwilkins/ex_admin
bc6fa5c5e82add16b90e92f9abf388f5b04f67ec
[ "MIT" ]
null
null
null
lib/ex_admin/param_associations.ex
landonwilkins/ex_admin
bc6fa5c5e82add16b90e92f9abf388f5b04f67ec
[ "MIT" ]
1
2021-07-08T17:24:01.000Z
2021-11-02T09:49:33.000Z
lib/ex_admin/param_associations.ex
landonwilkins/ex_admin
bc6fa5c5e82add16b90e92f9abf388f5b04f67ec
[ "MIT" ]
2
2020-01-14T21:10:46.000Z
2021-07-07T16:36:49.000Z
defmodule ExAdmin.ParamsAssociations do @moduledoc false require Logger def load_associations(params, model_name, model, delete_association \\ true) do case Map.has_key?(params, model_name) do true -> Map.put( params, model_name, do_load_associations(params[model_n...
22.358209
81
0.580774
3f20ad168ca000fa5e4422396621687902ae50ee
1,630
ex
Elixir
lib/shoppings.ex
gissandrogama/-shopping
fe6e669bdd075a3b2780715c3b78ac06142d3671
[ "MIT" ]
null
null
null
lib/shoppings.ex
gissandrogama/-shopping
fe6e669bdd075a3b2780715c3b78ac06142d3671
[ "MIT" ]
3
2021-01-21T04:37:42.000Z
2021-01-21T17:52:42.000Z
lib/shoppings.ex
gissandrogama/-shopping
fe6e669bdd075a3b2780715c3b78ac06142d3671
[ "MIT" ]
null
null
null
defmodule Shoppings do @moduledoc """ module has function that receives lists """ @doc """ function to receive a shopping list and an email list. She passes on these lists to the `calculate / 2` function of the` Handle` module, to perform the due processing. ## Function parameters - buy: list of maps...
34.680851
280
0.614724
3f20af25847a9a686eae42a4b42aee8890ea830e
131,309
exs
Elixir
test/livebook/session/data_test.exs
axelson/livebook
78b9a11d8c3dac78c648cc7903343ea09f45efd9
[ "Apache-2.0" ]
null
null
null
test/livebook/session/data_test.exs
axelson/livebook
78b9a11d8c3dac78c648cc7903343ea09f45efd9
[ "Apache-2.0" ]
null
null
null
test/livebook/session/data_test.exs
axelson/livebook
78b9a11d8c3dac78c648cc7903343ea09f45efd9
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Session.DataTest do use ExUnit.Case, async: true import Livebook.TestHelpers alias Livebook.Session.Data alias Livebook.{Delta, Notebook} alias Livebook.Notebook.Cell alias Livebook.Users.User @eval_resp {:ok, [1, 2, 3]} @eval_meta %{evaluation_time_ms: 10} @smart_cell_definition...
36.627336
127
0.507604
3f20b24695bd70f218faa44381babeafc9bb08ba
950
ex
Elixir
test/support/channel_case.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
15
2020-01-24T10:33:57.000Z
2020-10-24T07:57:14.000Z
test/support/channel_case.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
24
2020-01-24T09:52:56.000Z
2021-02-19T09:15:12.000Z
test/support/channel_case.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
5
2020-01-25T18:03:44.000Z
2021-02-23T10:07:03.000Z
defmodule PostofficeWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interact...
25
72
0.718947
3f20b27536c36743111c06cca888919bc3b959a9
3,707
ex
Elixir
apps/wechat_base/lib/wechat_base/api/model/json_response.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_base/lib/wechat_base/api/model/json_response.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_base/lib/wechat_base/api/model/json_response.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
defmodule WechatBase.Api.Model.JsonResponse do alias WechatBase.Api.Model.JsonResponse.Schema defmacro __using__(_args) do quote do @behaviour WechatBase.Api.Endpoint.ResponseType import unquote(__MODULE__), only: :macros @before_compile unquote(__MODULE__) def init(_), do: [] ...
23.024845
128
0.614783
3f20cf1b687a9ebfdffa53efa6f386a068273baf
3,706
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/transfer_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/transfer_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/transfer_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
56.151515
322
0.750675
3f20d1c154a4ea723fb42c7bc065b065a8f52bcb
1,498
ex
Elixir
lib/remote_retro.ex
pwjablonski/remote_retro
1b6acf359b362ae2ec187cfbd1a38dc8266aa546
[ "MIT" ]
null
null
null
lib/remote_retro.ex
pwjablonski/remote_retro
1b6acf359b362ae2ec187cfbd1a38dc8266aa546
[ "MIT" ]
null
null
null
lib/remote_retro.ex
pwjablonski/remote_retro
1b6acf359b362ae2ec187cfbd1a38dc8266aa546
[ "MIT" ]
null
null
null
defmodule RemoteRetro do use Application require Logger alias RemoteRetroWeb.Endpoint # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervise...
32.565217
115
0.719626
3f20d460dba012064d350302e89d44d393f8f68e
5,080
exs
Elixir
test/ex_parameterized_callback_test.exs
byronalley/ex_parameterized
02a92d7c249995e070ee48986828accc604341e5
[ "MIT" ]
null
null
null
test/ex_parameterized_callback_test.exs
byronalley/ex_parameterized
02a92d7c249995e070ee48986828accc604341e5
[ "MIT" ]
null
null
null
test/ex_parameterized_callback_test.exs
byronalley/ex_parameterized
02a92d7c249995e070ee48986828accc604341e5
[ "MIT" ]
null
null
null
defmodule ExParameterizedParamsCallbackTest do use ExUnit.Case, async: true use ExUnit.Parameterized setup do {:ok, [hello: "world", value: 1, bool: false, nil_value: nil]} end test "ast format when one param with context" do import ExUnit.Parameterized.ParamsCallback assert (quote do ...
24.190476
102
0.508858
3f20d56e19c3a01ca36275772fd2dbf13e7566f0
157
ex
Elixir
lib/membrane_element_opus/encoder.ex
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_opus/encoder.ex
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_opus/encoder.ex
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.Opus.Encoder do @moduledoc """ This element performs encoding of raw audio using Opus codec. """ use Membrane.Filter end
19.625
63
0.745223
3f20ef75aa9e16aff42aa5dd57c0999f782f1e46
636
exs
Elixir
example_typed_integrations/mix.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
101
2020-06-11T23:51:50.000Z
2022-03-30T16:29:18.000Z
example_typed_integrations/mix.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
11
2020-10-11T11:50:24.000Z
2022-02-12T08:54:50.000Z
example_typed_integrations/mix.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
4
2020-07-02T08:54:22.000Z
2021-12-26T09:59:15.000Z
defmodule ExampleTypedIntegrations.MixProject do use Mix.Project def project do [ app: :example_typed_integrations, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, compilers: [:domo_compiler] ++ Mix.compilers(), deps: deps() ] end # Run "mi...
20.516129
59
0.584906
3f20f89934b719239342678f911ecaafa17124b3
2,559
ex
Elixir
lib/bpxe/engine/process/log.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
lib/bpxe/engine/process/log.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
lib/bpxe/engine/process/log.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
defmodule BPXE.Engine.Process.Log do defmodule NewProcessActivation do defstruct pid: nil, id: nil, activation: nil end defmodule FlowNodeActivated do defstruct pid: nil, id: nil, token_id: nil, token: nil end defmodule FlowNodeForward do defstruct pid: nil, id: nil, token_id: nil, to: [] end ...
24.141509
75
0.721766
3f20f974f5e4a4a83d1d31a48fdc53553055ae9b
7,103
exs
Elixir
apps/evm/test/evm_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
105
2017-08-02T07:55:17.000Z
2021-12-23T21:49:57.000Z
apps/evm/test/evm_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
19
2017-08-21T22:28:39.000Z
2018-05-01T13:33:12.000Z
apps/evm/test/evm_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
17
2017-08-10T15:50:47.000Z
2021-11-19T04:29:59.000Z
defmodule EvmTest do alias MerklePatriciaTree.Trie use ExUnit.Case, async: true @passing_tests_by_group %{ sha3_test: :all, arithmetic_test: :all, bitwise_logic_operation: :all, block_info_test: :all, environmental_info: :all, push_dup_swap_test: :all, random_test: :all, log_test:...
27.854902
104
0.617767
3f20facc100be9f2fa1039fcd6768d9626308108
1,687
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/event_extended_properties.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/calendar/lib/google_api/calendar/v3/model/event_extended_properties.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/calendar/lib/google_api/calendar/v3/model/event_extended_properties.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.74
138
0.724363
3f212019231d35a14e33720c18d43fe4edd4f0b0
551
ex
Elixir
apps/buzzcms_web/lib/buzzcms_web/context.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
apps/buzzcms_web/lib/buzzcms_web/context.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
41
2020-02-12T07:53:14.000Z
2020-03-30T02:18:14.000Z
apps/buzzcms_web/lib/buzzcms_web/context.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
defmodule BuzzcmsWeb.Context do @behaviour Plug alias BuzzcmsWeb.Auth.Guardian def init(opts), do: opts def call(conn, _) do context = build_context(conn) Absinthe.Plug.put_options(conn, context: context) end @doc """ Return the current user context based on the authorization header """ de...
19
67
0.6098
3f2134ce41e23f7728ae2b82ee50ddf99ccd1605
1,304
ex
Elixir
lib/scenic/view_port/context.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/view_port/context.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/view_port/context.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on July 23, 2018. # Copyright © 2018 Kry10 Industries. All rights reserved. # # Seperate Context out into its own file defmodule Scenic.ViewPort.Context do @moduledoc false alias Scenic.Math alias Scenic.Graph alias Scenic.ViewPort.Input alias Scenic.ViewPort.Context # note...
26.612245
80
0.627301
3f213696a595d0636f512a3312c1cc931bb4e435
4,334
ex
Elixir
lib/plug/upload.ex
fishcakez/plug
9fafa1527536b0b1895cad9fb464bc62e6e80123
[ "Apache-2.0" ]
null
null
null
lib/plug/upload.ex
fishcakez/plug
9fafa1527536b0b1895cad9fb464bc62e6e80123
[ "Apache-2.0" ]
null
null
null
lib/plug/upload.ex
fishcakez/plug
9fafa1527536b0b1895cad9fb464bc62e6e80123
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Upload do @moduledoc """ A server that manages uploaded files. Uploaded files are stored in a temporary directory and removed from the directory after the process that requested the file dies. During the request, those files are represented with the Plug.Upload struct that contains three ...
27.0875
119
0.620904
3f2138f7b58caeccb4147344f643808c99097b6f
1,739
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_add_visibility_labels_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_add_visibility_labels_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_add_visibility_labels_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...
33.442308
169
0.750431
3f2149ab217d150e3f2f3fd723667b6e52a63350
20,092
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_notification_endpoints.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_notification_endpoints.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_notification_endpoints.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...
55.197802
2,276
0.647521
3f2155a94b1930049dd0d7b85491923a1d562761
5,009
ex
Elixir
apps/aecore/lib/aecore/tx/pool/worker.ex
aeternity/epoch-elixir
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
131
2018-03-10T01:35:56.000Z
2021-12-27T13:44:41.000Z
apps/aecore/lib/aecore/tx/pool/worker.ex
aeternity/elixir-node
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
445
2018-03-12T09:46:17.000Z
2018-12-12T09:52:07.000Z
apps/aecore/lib/aecore/tx/pool/worker.ex
aeternity/epoch-elixir
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
23
2018-03-12T12:01:28.000Z
2022-03-06T09:22:17.000Z
defmodule Aecore.Tx.Pool.Worker do @moduledoc """ Module for working with the transaction pool. """ use GenServer alias Aecore.Governance.GovernanceConstants alias Aecore.Tx.{SignedTx, DataTx} alias Aecore.Chain.Worker, as: Chain alias Aecore.Chain.{Header, Block} alias Aecore.Peers.Worker, as: Peer...
27.222826
91
0.636055
3f21574ad675b5700b56d006ee12aa3c3faa9254
701
ex
Elixir
vue_fire/web/gettext.ex
hectorip/VuePhoenix
2bd5ff6de9811d373c260a1eda60d6809d472d15
[ "Apache-2.0" ]
1
2016-08-30T17:14:49.000Z
2016-08-30T17:14:49.000Z
vue_fire/web/gettext.ex
hectorip/VuePhoenix
2bd5ff6de9811d373c260a1eda60d6809d472d15
[ "Apache-2.0" ]
null
null
null
vue_fire/web/gettext.ex
hectorip/VuePhoenix
2bd5ff6de9811d373c260a1eda60d6809d472d15
[ "Apache-2.0" ]
null
null
null
defmodule VueFire.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](http://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import VueFire.Gettext # Simple translation gettext "Here is the stri...
28.04
71
0.677603
3f21578a940523511a41dd820d330ee4a84d47d7
2,138
ex
Elixir
lib/advent_of_code/day_05.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-19T04:13:00.000Z
2021-12-19T04:13:00.000Z
lib/advent_of_code/day_05.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
null
null
null
lib/advent_of_code/day_05.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-15T19:15:20.000Z
2021-12-15T19:15:20.000Z
defmodule AdventOfCode.Day05 do import AdventOfCode.Utils @type coordinate :: {integer(), integer()} @type vent :: {coordinate(), coordinate()} @type heatmap :: %{required(coordinate()) => integer()} @spec part1([binary()]) :: integer() def part1(args) do parse_args(args) |> number_intersections(:...
25.452381
76
0.608045
3f2172bf55096d67e49e282aa0420565c9e66dc9
30,834
ex
Elixir
lib/surface/compiler/eex_engine.ex
krushi123/surface
122c9c7a61c23c1f8ed5cb3a532c08d5932bd113
[ "MIT" ]
1,161
2019-12-12T02:30:52.000Z
2021-03-11T17:55:44.000Z
lib/surface/compiler/eex_engine.ex
krushi123/surface
122c9c7a61c23c1f8ed5cb3a532c08d5932bd113
[ "MIT" ]
244
2019-12-12T14:05:07.000Z
2021-03-11T07:04:17.000Z
lib/surface/compiler/eex_engine.ex
krushi123/surface
122c9c7a61c23c1f8ed5cb3a532c08d5932bd113
[ "MIT" ]
73
2019-12-12T13:57:41.000Z
2021-03-11T21:46:10.000Z
defmodule Surface.Compiler.EExEngine do @moduledoc """ This module glues together surface's AST and Phoenix.LiveView.Engine to actually render an AST. It takes a list of Surface AST nodes, and processes them into a sequence of static raw html items and dynamic pieces. It then converts these into tokens which a...
30.229412
120
0.629889
3f219da4870ef534054d01e0bc3994d6a8bf0a3e
106
exs
Elixir
server/test/utils/firebase_auth/firebase_auth_test.exs
iii-ishida/workrec
d9937282f1665aa65cf6a25d56a583831017239e
[ "MIT" ]
2
2019-02-25T01:43:21.000Z
2019-07-22T03:57:14.000Z
server/test/utils/firebase_auth/firebase_auth_test.exs
iii-ishida/workrec
d9937282f1665aa65cf6a25d56a583831017239e
[ "MIT" ]
2
2022-02-14T03:11:33.000Z
2022-02-27T12:05:43.000Z
server/test/utils/firebase_auth/firebase_auth_test.exs
iii-ishida/workrec
d9937282f1665aa65cf6a25d56a583831017239e
[ "MIT" ]
null
null
null
# defmodule Utils.FirebaseAuthTest do # use ExUnit.Case, async: true # doctest Utils.FirebaseAuth # end
21.2
37
0.764151
3f21b256cd9c86b879231ad11f797a32cc8a6b97
575
ex
Elixir
apps/blunt_ddd/test/support/state_test/person_aggregate_root.ex
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt_ddd/test/support/state_test/person_aggregate_root.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt_ddd/test/support/state_test/person_aggregate_root.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
defmodule Support.StateTest.PersonAggregateRoot do use Blunt.Ddd alias Support.StateTest.ReservationEntity alias Support.StateTest.Protocol.{PersonCreated, ReservationAdded} defstate do field :id, :binary_id field :reservations, {:array, ReservationEntity}, default: [] end def apply(state, %Perso...
28.75
92
0.746087
3f21c180d71a3417f4655479e1aa54a71005fdfb
281
exs
Elixir
ros/ros_service_api/config/test.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
1
2019-07-01T18:47:28.000Z
2019-07-01T18:47:28.000Z
ros/ros_service_api/config/test.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
4
2020-07-17T16:57:18.000Z
2021-05-09T23:50:52.000Z
ros/ros_service_api/config/test.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
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 :ros_service_api, Ros.ServiceApiWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
25.545455
56
0.747331
3f21c83c9f34dab160afabe08460c1bfbd1a0b72
3,225
ex
Elixir
lib/docusign/model/custom_tabs.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/custom_tabs.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/custom_tabs.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# 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 DocuSign.Model.CustomTabs do @moduledoc """ Custom tabs """ @derive [Poison.Encoder] defstruct [ :anchor, :anchorCaseSensitive,...
28.043478
89
0.578605
3f2235236167c86d09cc8dc784d50d3d376eb622
3,590
ex
Elixir
lib/espec/formatters/html.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
lib/espec/formatters/html.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
lib/espec/formatters/html.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule ESpec.Formatters.Html do @moduledoc """ Generates html output. """ alias ESpec.Example use ESpec.Formatters.Base @doc "Format the final result." def format_result(examples, durations, _opts) do tree = context_tree(examples) html = make_html(tree, true) summary = format_summary(exam...
25.642857
96
0.587187
3f2252fcc3421dc853a1c61c64699f8f34046839
817
ex
Elixir
lib/gen/sql/create_table.ex
tyrchen/tub
2181d2545ca8cc6fb6a969a52450d29279b615ed
[ "MIT" ]
3
2018-06-27T06:31:44.000Z
2021-08-01T07:57:57.000Z
lib/gen/sql/create_table.ex
tyrchen/tub
2181d2545ca8cc6fb6a969a52450d29279b615ed
[ "MIT" ]
45
2018-07-22T14:34:01.000Z
2019-11-17T10:48:18.000Z
lib/gen/sql/create_table.ex
tyrchen/tub
2181d2545ca8cc6fb6a969a52450d29279b615ed
[ "MIT" ]
2
2018-07-03T22:31:02.000Z
2021-08-01T07:58:06.000Z
defmodule Tub.Sql.CreateTable do @moduledoc """ Generate create table SQL """ @doc """ Generate create table SQL """ def gen(name, fields) do case fields do [] -> "" _ -> serialize_title(name) <> serialize_args(fields) <> "\n);" end end defp serialize_title(v), do: "create table ...
19
68
0.553244
3f227375a6ec5fe1faae60d9320bcae08a628c0c
355
exs
Elixir
config/test.exs
isabella232/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
6
2019-11-15T20:34:47.000Z
2021-04-05T03:15:23.000Z
config/test.exs
FindHotel/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
1
2022-03-20T09:34:42.000Z
2022-03-20T09:34:42.000Z
config/test.exs
isabella232/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
3
2021-06-09T05:58:09.000Z
2022-03-20T07:05:13.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :ido_keido, IdoKeidoWeb.Endpoint, http: [port: 4001], server: false config :logger, level: :warn config :ido_keido, :injections, geolocation: IdoKeido.GeolocationMock, repo: IdoKeido.RepoM...
22.1875
56
0.740845
3f22d073c13bb2e76b01a815916532b8204dab0a
1,953
exs
Elixir
matrix/matrix.exs
lpvm/exercism_elixir
b32981727c4aaec444680838db4014d70c983f5d
[ "MIT" ]
null
null
null
matrix/matrix.exs
lpvm/exercism_elixir
b32981727c4aaec444680838db4014d70c983f5d
[ "MIT" ]
null
null
null
matrix/matrix.exs
lpvm/exercism_elixir
b32981727c4aaec444680838db4014d70c983f5d
[ "MIT" ]
null
null
null
defmodule Matrix do defstruct matrix: nil @doc """ Convert an `input` string, with rows separated by newlines and values separated by single spaces, into a `Matrix` struct. """ @spec from_string(input :: String.t()) :: %Matrix{} def from_string(input) do input |> String.split("\n") |> List.fo...
26.753425
103
0.590374
3f22d32ecf574cc8a658bf4525aeb2641e9ee763
318
ex
Elixir
apps/bank/lib/bank/model.ex
gusaiani/acme-bank-clone
4ebd638c56a3f5360bccff68aa6d321bb25bf2cd
[ "MIT" ]
776
2016-07-16T14:24:37.000Z
2022-03-07T17:05:11.000Z
apps/bank/lib/bank/model.ex
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
19
2016-09-03T15:06:57.000Z
2021-12-10T10:04:05.000Z
apps/bank/lib/bank/model.ex
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
130
2016-09-03T19:44:27.000Z
2022-01-16T12:27:54.000Z
defmodule Bank.Model do @moduledoc false defmacro __using__(_) do quote do use Ecto.Schema import Ecto.Changeset import Ecto.Query alias Bank.{ Account, Customer, Deposit, Ledger, Repo, Transfer, Entry } end end end
14.454545
27
0.537736
3f23399fddcb76f6c861403123206526f5f04f05
1,283
ex
Elixir
lib/kirby/entities/contato.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
lib/kirby/entities/contato.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
lib/kirby/entities/contato.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
defmodule Kirby.Entities.Contato do @moduledoc """ Contato schema """ use Kirby.Schema import Ecto.Changeset alias Kirby.Common.Formats @required_fields ~w(email endereco celular)a @email_format Formats.email() @mobile_format Formats.mobile() schema "contato" do field :celular, :string ...
22.508772
92
0.670304
3f23564910f286e75207e8a617d32939530026be
240
exs
Elixir
priv/repo/migrations/20180516213301_add_colors_to_categories.exs
10clouds/10Books
622360ea190421e07d4b207700867be105894218
[ "MIT" ]
11
2018-08-29T15:59:09.000Z
2021-08-25T16:35:13.000Z
priv/repo/migrations/20180516213301_add_colors_to_categories.exs
fram74/10Books
9e4e280032c7f7b9625c831efa9850d999327e53
[ "MIT" ]
16
2018-08-29T15:43:52.000Z
2021-05-09T00:53:56.000Z
priv/repo/migrations/20180516213301_add_colors_to_categories.exs
fram74/10Books
9e4e280032c7f7b9625c831efa9850d999327e53
[ "MIT" ]
3
2019-05-29T14:22:59.000Z
2020-06-06T12:30:54.000Z
defmodule LibTen.Repo.Migrations.AddColorsToCategories do use Ecto.Migration def change do alter table(:categories) do add :text_color, :string, null: false add :background_color, :string, null: false end end end
21.818182
57
0.716667
3f2369fca425b67a67672692ea7ddb8011b7b609
1,131
exs
Elixir
config/config.exs
uhoreg/ex_remote_dockers
c4df4c0d3838cbbb6326d79f9400ea1050e3f49f
[ "MIT" ]
7
2019-09-30T23:14:51.000Z
2021-11-08T12:11:08.000Z
config/config.exs
uhoreg/ex_remote_dockers
c4df4c0d3838cbbb6326d79f9400ea1050e3f49f
[ "MIT" ]
5
2018-02-26T08:45:37.000Z
2018-04-03T13:30:44.000Z
config/config.exs
uhoreg/ex_remote_dockers
c4df4c0d3838cbbb6326d79f9400ea1050e3f49f
[ "MIT" ]
3
2019-09-30T23:22:21.000Z
2020-10-04T18:24:40.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...
37.7
73
0.758621
3f2388e9007d044e1c31b74d6b9b5c3d17a33f5e
3,348
exs
Elixir
elixir/tournament/tournament.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
elixir/tournament/tournament.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
elixir/tournament/tournament.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
defmodule Tournament do @default_results %{matches_played: 0, points: 0, wins: 0, losses: 0, draws: 0} @doc """ Given `input` lines representing two teams and whether the first of them won, lost, or reached a draw, separated by semicolons, calculate the statistics for each team's number of games played, won,...
29.113043
94
0.621266
3f23a552f046ced69b752e243ca3ed6c8086d579
4,708
ex
Elixir
lib/customer.ex
gengogaku/braintree-elixir
aa1308d054ada93adee0bd661919625f988b58d3
[ "MIT" ]
1
2021-05-23T05:04:46.000Z
2021-05-23T05:04:46.000Z
lib/customer.ex
gengogaku/braintree-elixir
aa1308d054ada93adee0bd661919625f988b58d3
[ "MIT" ]
null
null
null
lib/customer.ex
gengogaku/braintree-elixir
aa1308d054ada93adee0bd661919625f988b58d3
[ "MIT" ]
null
null
null
defmodule Braintree.Customer do @moduledoc """ You can create a customer by itself, with a payment method, or with a credit card with a billing address. For additional reference see: https://developers.braintreepayments.com/reference/request/customer/create/ruby """ use Braintree.Construction alias B...
28.361446
85
0.592396
3f24115b9686022abf26e6d5902c8f004f0f5c65
1,260
exs
Elixir
test/auto_api/states/browser_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
test/auto_api/states/browser_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
5
2018-11-29T09:48:29.000Z
2019-11-06T12:11:35.000Z
test/auto_api/states/browser_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
46.666667
79
0.778571
3f24538a57fccc3addbce2bb79e4f4ec7f78fab3
2,520
ex
Elixir
core/handler/gear_action/gear_action.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/handler/gear_action/gear_action.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/handler/gear_action/gear_action.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.Handler.GearAction do alias Antikythera.{Conn, Context, Request, Time, GearName, PathInfo} alias Antikythera.ExecutorPool.Id, as: EPoolId alias AntikytheraCore.Conn, as: CoreConn alias AntikytheraCore.{MetricsUp...
51.428571
135
0.677778
3f248e9157e4da5c76dbb10f87582fb16885f5bc
1,125
exs
Elixir
config/config.exs
keathley/butler_cage
38638bc52af403aa324d419a3e0aa18ffe6b8e8d
[ "MIT" ]
4
2015-12-21T03:45:32.000Z
2020-01-20T10:49:47.000Z
config/config.exs
keathley/butler_cage
38638bc52af403aa324d419a3e0aa18ffe6b8e8d
[ "MIT" ]
null
null
null
config/config.exs
keathley/butler_cage
38638bc52af403aa324d419a3e0aa18ffe6b8e8d
[ "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...
36.290323
73
0.752889
3f24d234562733d9b1c7200f9ef58b24621e948d
6,870
ex
Elixir
lib/taggart/tags.ex
ijcd/taggart
603aac1bea00f17ad2eebdb40e3720d4f42fc5a7
[ "Apache-2.0" ]
36
2017-10-27T10:08:37.000Z
2021-12-26T07:54:05.000Z
lib/taggart/tags.ex
ijcd/taggart
603aac1bea00f17ad2eebdb40e3720d4f42fc5a7
[ "Apache-2.0" ]
null
null
null
lib/taggart/tags.ex
ijcd/taggart
603aac1bea00f17ad2eebdb40e3720d4f42fc5a7
[ "Apache-2.0" ]
4
2017-11-08T15:58:15.000Z
2020-04-21T21:34:13.000Z
defmodule Taggart.Tags do @doc "See `taggart/1`" defmacro taggart() do quote location: :keep do {:safe, ""} end end @doc """ Allows grouping tags in a block. Groups tags such that they all become part of the result. Normally, with an Elixir block, only the last expression is part of the v...
24.275618
95
0.559971
3f2505ad09e016ab8f11b51f81fb5a33e418325c
16,407
ex
Elixir
lib/ecto/changeset.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
lib/ecto/changeset.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
lib/ecto/changeset.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Changeset do @moduledoc """ Changesets allow filtering, casting and validation of model changes. There is an example of working with changesets in the introductory documentation in the `Ecto` module. ## The Ecto.Changeset struct The fields are: * `valid?` - Stores if the changeset ...
31.551923
100
0.633388
3f2509b173931b1c8e560b6cbcc66a8838a882ed
2,460
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/model/nested_parameter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/admin/lib/google_api/admin/reports_v1/model/nested_parameter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/admin/lib/google_api/admin/reports_v1/model/nested_parameter.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...
37.846154
112
0.678862
3f251deeaa40aca3776633862c1b024ec7fbe7fb
5,031
exs
Elixir
test/chat_db/repo/sqlite_queries_test.exs
os-ex/chat_db_ex
887aadaf6499bd214fd12af5410f5414672420a0
[ "Apache-2.0" ]
null
null
null
test/chat_db/repo/sqlite_queries_test.exs
os-ex/chat_db_ex
887aadaf6499bd214fd12af5410f5414672420a0
[ "Apache-2.0" ]
null
null
null
test/chat_db/repo/sqlite_queries_test.exs
os-ex/chat_db_ex
887aadaf6499bd214fd12af5410f5414672420a0
[ "Apache-2.0" ]
null
null
null
defmodule ChatDb.Repo.SQLiteQueriesTest do @moduledoc false use ExUnit.Case, async: true alias ChatDb.Repo.SQLiteQueries alias DarkEcto.SQLFormatter describe ".sql/2 (:last_message_at)" do test "it returns valid sql" do assert_sql(SQLiteQueries.sql(:last_message_at, %{rowid: 1}), """ SELECT...
31.841772
74
0.630491
3f2596264ac6aecb1aa7b9aa3c55b374670e7046
56
exs
Elixir
config/test.exs
fbcouch/hipchat_logger_backend
6e0eca8bb9973525d1a86dfd0b4b2b7dea3085c7
[ "MIT" ]
null
null
null
config/test.exs
fbcouch/hipchat_logger_backend
6e0eca8bb9973525d1a86dfd0b4b2b7dea3085c7
[ "MIT" ]
null
null
null
config/test.exs
fbcouch/hipchat_logger_backend
6e0eca8bb9973525d1a86dfd0b4b2b7dea3085c7
[ "MIT" ]
null
null
null
use Mix.Config config :bypass, enable_debug_log: false
14
39
0.803571
3f2596fb0ab74dc21d18b836316069e8d4dfe9e5
3,547
exs
Elixir
mix.exs
FarmBot-Labs/farmbot_system_rpi
abd0b5d5fb1efc65014a5c643b60f1efeac5c0b6
[ "Apache-2.0" ]
null
null
null
mix.exs
FarmBot-Labs/farmbot_system_rpi
abd0b5d5fb1efc65014a5c643b60f1efeac5c0b6
[ "Apache-2.0" ]
null
null
null
mix.exs
FarmBot-Labs/farmbot_system_rpi
abd0b5d5fb1efc65014a5c643b60f1efeac5c0b6
[ "Apache-2.0" ]
null
null
null
defmodule FarmbotSystemRpi.MixProject do use Mix.Project @github_organization "farmbot" @app :farmbot_system_rpi @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @a...
24.462069
83
0.586411
3f25a4e03a1276f88434c33128cf1d98716016c9
983
ex
Elixir
test/support/factory.ex
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
test/support/factory.ex
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
test/support/factory.ex
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
defmodule Banking.Factory do @moduledoc """ Users factory """ use ExMachina.Ecto, repo: Banking.Repo alias Banking.{Account, Transaction, User} def employee_factory do %User{ name: "Jane Smith", email: sequence(:email, &"employee-#{&1}@example.com"), password_hash: Bcrypt.hash_pwd_sa...
19.66
62
0.599186
3f25e1381708499d64fcf9b38277d3d394b2d44f
2,140
ex
Elixir
lib/elsa/consumer/message_handler.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
76
2019-05-31T20:35:19.000Z
2022-02-26T10:15:27.000Z
lib/elsa/consumer/message_handler.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
44
2019-06-13T14:43:30.000Z
2022-03-31T12:16:19.000Z
lib/elsa/consumer/message_handler.ex
mhanberg/elsa
53eb831ca4abcc0f2de6a8a9686bd13fc4767ca6
[ "Apache-2.0" ]
11
2019-06-05T02:23:06.000Z
2022-02-10T16:14:33.000Z
defmodule Elsa.Consumer.MessageHandler do @moduledoc """ Define the behaviour and default implementations of functions for creating message handlers that will be called by Elsa worker processes. """ @callback init(term()) :: {:ok, term()} @callback handle_messages(term(), term()) :: {:ackno...
28.533333
105
0.598131
3f25e52ade078a9a31702e4d42f1efcdf2d28b34
4,554
ex
Elixir
lib/exavier.ex
KingOfRostov/exavier
fe8020361db6295d9ec92cc71fb5170937c22833
[ "MIT" ]
null
null
null
lib/exavier.ex
KingOfRostov/exavier
fe8020361db6295d9ec92cc71fb5170937c22833
[ "MIT" ]
null
null
null
lib/exavier.ex
KingOfRostov/exavier
fe8020361db6295d9ec92cc71fb5170937c22833
[ "MIT" ]
null
null
null
defmodule Exavier do @moduledoc """ Documentation for Exavier. """ @default_timeout 5000 @timeouts %{ mutate_module: 5000, mutate_everything: 60_000, report: 1000, } def file_to_quoted(file) do file |> File.read!() |> Code.string_to_quoted!() end def test_module_to_module(te...
27.6
108
0.677866
3f2610330db2e7bc7e5b58ef725f3135e445076c
1,684
ex
Elixir
lib/elixir_pid_crtl.ex
joewilliams/elixir_pid_crtl
3f02f32e3ff790e5746ef272ef038a3f25932987
[ "MIT" ]
null
null
null
lib/elixir_pid_crtl.ex
joewilliams/elixir_pid_crtl
3f02f32e3ff790e5746ef272ef038a3f25932987
[ "MIT" ]
null
null
null
lib/elixir_pid_crtl.ex
joewilliams/elixir_pid_crtl
3f02f32e3ff790e5746ef272ef038a3f25932987
[ "MIT" ]
null
null
null
defmodule ElixirPidCrtl do use GenServer require Logger @impl true def init(%{kp: kp, ki: ki, kd: kd, setpoint: setpoint}) do {:ok, %{ output: 0, kp: kp, ki: ki, kd: kd, setpoint: setpoint, prev_err: 0, integral: 0, last_update_time: now() }...
20.289157
70
0.562352
3f2615d02c8c1a013a7cd84064136560cdf2e5df
6,912
exs
Elixir
test/plug/session/cookie_test.exs
tomciopp/plug
af7fba19e8bce208129d858b924c7a49b93beef1
[ "Apache-2.0" ]
1
2020-09-01T12:50:36.000Z
2020-09-01T12:50:36.000Z
test/plug/session/cookie_test.exs
tomciopp/plug
af7fba19e8bce208129d858b924c7a49b93beef1
[ "Apache-2.0" ]
null
null
null
test/plug/session/cookie_test.exs
tomciopp/plug
af7fba19e8bce208129d858b924c7a49b93beef1
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Session.CookieTest do use ExUnit.Case, async: true use Plug.Test alias Plug.Session.COOKIE, as: CookieStore @default_opts [ store: :cookie, key: "foobar", encryption_salt: "encrypted cookie salt", signing_salt: "signing salt", log: false ] @secret String.duplicate("abcd...
29.665236
98
0.62963
3f262c06ba97799d5be5f0868716b67a5e48ba7f
1,142
ex
Elixir
lib/google_api/you_tube/v3/model/monitor_stream_info.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/monitor_stream_info.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/monitor_stream_info.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
# 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...
29.282051
77
0.747811
3f26354d4d88fa4968a5b961d3a56b79bd61ab83
3,352
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1beta1_export_entities_metadata.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1beta1_export_entities_metadata.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1beta1_export_entities_metadata.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 ...
47.885714
173
0.763425
3f265de2757f88eeac4824ac6e43171694b31c8c
575
exs
Elixir
exercises/practice/scrabble-score/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/scrabble-score/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/scrabble-score/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Scrabble.MixProject do use Mix.Project def project do [ app: :scrabble, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra...
19.827586
87
0.575652
3f26b1d0a94bf3731453e813a0cd3814d618c87a
4,071
ex
Elixir
clients/service_control/lib/google_api/service_control/v2/model/request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v2/model/request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_control/lib/google_api/service_control/v2/model/request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
50.8875
300
0.678212
3f270bbfbb59a2d0caba705116f163bf5f5cd5db
2,181
exs
Elixir
test/orders_test.exs
Ventup-IT/conekta-elixir
c871f3e4d53272cecb85f7952f931db57f82ec62
[ "MIT" ]
null
null
null
test/orders_test.exs
Ventup-IT/conekta-elixir
c871f3e4d53272cecb85f7952f931db57f82ec62
[ "MIT" ]
null
null
null
test/orders_test.exs
Ventup-IT/conekta-elixir
c871f3e4d53272cecb85f7952f931db57f82ec62
[ "MIT" ]
null
null
null
defmodule ConektaTest.OrdersTest do use ExUnit.Case, async: false import Mock describe "Orders" do test "should get orders" do expected_mock = Mocks.OrdersMock.get_mock() with_mock Conekta.Client, get_request: fn _ -> expected_mock end do actual = Conekta.Orders.orders() {:ok, co...
27.607595
82
0.602934
3f271f1ec604ae71274c0d357af0c423aee8d491
3,068
exs
Elixir
apps/valkyrie/test/unit/valkyrie/event/event_handler_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/valkyrie/test/unit/valkyrie/event/event_handler_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/valkyrie/test/unit/valkyrie/event/event_handler_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Valkyrie.Event.EventHandlerTest do use ExUnit.Case use Placebo use Brook.Event.Handler import Checkov import SmartCity.Event, only: [data_ingest_start: 0, data_standardization_end: 0, dataset_delete: 0] alias SmartCity.TestDataGenerator, as: TDG alias Valkyrie.Event.EventHandler alias Valkyri...
29.5
109
0.648305
3f273499860fab135b5298267392b96f930dc8bf
3,029
exs
Elixir
test/entice/logic/skills/skills_test.exs
hoodaly/logic
6737f644129c16e83479bc76286624d5d54b197b
[ "WTFPL" ]
null
null
null
test/entice/logic/skills/skills_test.exs
hoodaly/logic
6737f644129c16e83479bc76286624d5d54b197b
[ "WTFPL" ]
null
null
null
test/entice/logic/skills/skills_test.exs
hoodaly/logic
6737f644129c16e83479bc76286624d5d54b197b
[ "WTFPL" ]
null
null
null
defmodule Entice.Logic.SkillsTest do use Entice.Logic.Skill use Entice.Logic.Attributes use ExUnit.Case, async: true alias Entice.Entity alias Entice.Entity.Attribute alias Entice.Logic.Vitals defmodule TestAttr, do: defstruct test_pid: nil defskill SomeSkill, id: 1 do def description, do: "Is...
23.3
137
0.683064
3f273b9d9c9f28ad0e17b1c2d1fd990e2fdf5ab5
3,164
ex
Elixir
lib/slack/state.ex
nmohoric/Elixir-Slack
da6df7612cc0a8c56bc29498a8c636fa6f095d88
[ "MIT" ]
null
null
null
lib/slack/state.ex
nmohoric/Elixir-Slack
da6df7612cc0a8c56bc29498a8c636fa6f095d88
[ "MIT" ]
null
null
null
lib/slack/state.ex
nmohoric/Elixir-Slack
da6df7612cc0a8c56bc29498a8c636fa6f095d88
[ "MIT" ]
3
2017-08-16T23:02:52.000Z
2020-09-23T13:31:35.000Z
defmodule Slack.State do @behaviour Access def fetch(client, key) defdelegate fetch(client, key), to: Map def get_and_update(client, key, function) defdelegate get_and_update(client, key, function), to: Map defstruct [ :socket, :client, :token, :me, :team, :bots, :channels, ...
31.019608
110
0.641277
3f27629efc31214de16a7366ec8269548c91d842
1,069
exs
Elixir
backend/test/edgehog_web/views/error_view_test.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/test/edgehog_web/views/error_view_test.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/test/edgehog_web/views/error_view_test.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
# # This file is part of Edgehog. # # Copyright 2021 SECO Mind Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
31.441176
92
0.723106
3f2771189be25b76a504b39142ff1f92c83ece58
9,905
ex
Elixir
lib/true_type/table/os2.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
lib/true_type/table/os2.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
lib/true_type/table/os2.ex
john-vinters/exttf
dea21d52ef55b66f4236dc1cf3115fc7791178da
[ "Apache-2.0" ]
null
null
null
# # (c) Copyright 2021 John Vinters <john.vinters@gmail.com> # # 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 applicab...
33.690476
100
0.579808
3f27b56841b167eab2ff17122fa86348d7f4db43
1,957
ex
Elixir
clients/content/lib/google_api/content/v2/model/customer_return_reason.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/customer_return_reason.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/customer_return_reason.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...
29.651515
87
0.678079
3f27dfdc26bea266f167e7c745675a00cd8f2ba6
6,076
exs
Elixir
test/nimble_publisher_test.exs
dkuku/nimble_publisher
312690c1bb3949c72437a6537d8990cb208ca111
[ "Apache-2.0" ]
null
null
null
test/nimble_publisher_test.exs
dkuku/nimble_publisher
312690c1bb3949c72437a6537d8990cb208ca111
[ "Apache-2.0" ]
null
null
null
test/nimble_publisher_test.exs
dkuku/nimble_publisher
312690c1bb3949c72437a6537d8990cb208ca111
[ "Apache-2.0" ]
null
null
null
defmodule NimblePublisherTest do use ExUnit.Case, async: true doctest NimblePublisher defmodule Builder do def build(filename, attrs, body) do %{filename: filename, attrs: attrs, body: body} end end alias NimblePublisherTest.Example setup do File.rm_rf!("test/tmp") :code.purge(Exam...
28.525822
95
0.563693
3f280a70e08d44d458f82bfd0d3127f97483bb86
4,009
ex
Elixir
lib/hl7/segment_grammar.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
lib/hl7/segment_grammar.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
lib/hl7/segment_grammar.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
defmodule HL7.SegmentGrammar do require Logger @type t :: %HL7.SegmentGrammar{ children: list(), optional: boolean(), repeating: boolean() } @type grammar_result :: HL7.SegmentGrammar.t() | HL7.InvalidGrammar.t() @moduledoc false defstruct children: [], op...
27.648276
99
0.587678
3f281055f2908c982c316d6d9e31fa4ecb8ace8e
734
exs
Elixir
test/boltex/logger_test.exs
dominique-vassard/boltex
acf71d9c97782d17ad9c07f7ea2a7e7f12dbb311
[ "Apache-2.0" ]
31
2016-07-19T00:05:56.000Z
2020-04-28T12:28:43.000Z
test/boltex/logger_test.exs
dominique-vassard/boltex
acf71d9c97782d17ad9c07f7ea2a7e7f12dbb311
[ "Apache-2.0" ]
24
2016-07-31T20:17:51.000Z
2019-03-21T15:45:59.000Z
test/boltex/logger_test.exs
dominique-vassard/boltex
acf71d9c97782d17ad9c07f7ea2a7e7f12dbb311
[ "Apache-2.0" ]
8
2016-08-01T12:56:29.000Z
2017-03-22T23:02:49.000Z
defmodule Boltex.LoggerTest do use ExUnit.Case import ExUnit.CaptureLog alias Boltex.Logger test "Log from formed message" do assert capture_log(fn -> Logger.log_message(:client, {:success, %{data: "ok"}}) end) =~ "C: SUCCESS ~ %{data: \"ok\"}" end test "Log from non-formed message" do ...
31.913043
98
0.619891
3f282f128c2a9ec7043dd1b3ed125c78f40d913c
911
exs
Elixir
test/ex_phone_number/model/phone_number_test.exs
msharp/ex_phone_number
ae8d4fb8d78b119b64fb926d4047ddf133d9998b
[ "MIT" ]
179
2016-05-18T17:51:14.000Z
2022-03-17T17:01:53.000Z
test/ex_phone_number/model/phone_number_test.exs
msharp/ex_phone_number
ae8d4fb8d78b119b64fb926d4047ddf133d9998b
[ "MIT" ]
45
2016-05-18T15:46:39.000Z
2022-03-04T12:48:54.000Z
test/ex_phone_number/model/phone_number_test.exs
msharp/ex_phone_number
ae8d4fb8d78b119b64fb926d4047ddf133d9998b
[ "MIT" ]
52
2016-06-06T05:21:00.000Z
2022-01-07T22:38:22.000Z
defmodule ExPhoneNumber.Model.PhoneNumberTest do use ExUnit.Case, async: true doctest ExPhoneNumber.Model.PhoneNumber import ExPhoneNumber.PhoneNumberFixture import ExPhoneNumber.Model.PhoneNumber describe ".get_national_significant_number/1" do test "GetNationalSignificantNumber" do assert "6502...
37.958333
85
0.778266
3f282f5a5da359f98b0ab3647018c4ab830f1824
9,529
exs
Elixir
test/doumi/query_helper_test.exs
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
1
2020-08-25T23:43:51.000Z
2020-08-25T23:43:51.000Z
test/doumi/query_helper_test.exs
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
null
null
null
test/doumi/query_helper_test.exs
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
null
null
null
defmodule Doumi.QueryHelperTest do use Doumi.EctoCase, async: true alias Doumi.QueryHelper alias Doumi.TestRepo defmodule QueryTestParentModule do use Ecto.Schema import Ecto.Changeset schema "query_test_parents" do end end defmodule QueryTestModule do use Ecto.Schema import Ecto....
31.345395
91
0.706055
3f2841566bc4abc1378aa70c5eb06febe1e37a36
1,119
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__manual_scaling.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__manual_scaling.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__manual_scaling.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...
30.243243
97
0.758713
3f284719f09663d3f446c9aee91ef3a9bbe3219e
1,086
exs
Elixir
mix.exs
invrs/biggie
901b1462d1ee3e0e317cbc8adbbe309efd8f2a94
[ "Apache-2.0" ]
null
null
null
mix.exs
invrs/biggie
901b1462d1ee3e0e317cbc8adbbe309efd8f2a94
[ "Apache-2.0" ]
2
2018-11-14T16:36:30.000Z
2019-01-17T20:37:35.000Z
mix.exs
invrs/biggie
901b1462d1ee3e0e317cbc8adbbe309efd8f2a94
[ "Apache-2.0" ]
null
null
null
defmodule Biggie.MixProject do use Mix.Project def project do [ app: :biggie, version: "0.1.6", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description() ] end # Run "mix help compile.app" to learn abou...
20.884615
83
0.561694
3f2852a0294d2d475deedab17d864bc1d81c9df7
433
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/transport/udp.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1,912
2019-01-10T14:17:00.000Z
2022-03-30T19:16:44.000Z
implementations/elixir/ockam/ockam/lib/ockam/transport/udp.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1,473
2019-01-16T15:14:47.000Z
2022-03-31T23:44:50.000Z
implementations/elixir/ockam/ockam/lib/ockam/transport/udp.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
219
2019-01-11T03:35:13.000Z
2022-03-31T10:25:56.000Z
defmodule Ockam.Transport.UDP do @moduledoc """ UDP transport """ alias Ockam.Transport.UDP.Listener @doc """ Start a UDP transport ## Parameters - options: port: optional(integer) - port to listen on ip: optional(integer) - ip address to listen on """ @spec start(options :: keyword) ...
20.619048
73
0.637413
3f286c17a203926dbcdbf8a6b33409febf9ba12e
2,455
exs
Elixir
mix.exs
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
mix.exs
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
mix.exs
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Mixfile do use Mix.Project @version "0.22.1" def project do [ app: :ex_doc, version: @version, elixir: "~> 1.7", deps: deps(), aliases: aliases(), package: package(), escript: escript(), elixirc_paths: elixirc_paths(Mix.env()), source_url...
22.943925
89
0.55112
3f286e0bac181f2128d0939d2ebfa89b7575394d
1,393
ex
Elixir
test/support/data_case.ex
TechforgoodCAST/first-steps
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
3
2018-01-30T09:55:29.000Z
2018-02-01T18:48:10.000Z
test/support/data_case.ex
TechforgoodCAST/first-days
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
16
2018-01-30T09:45:20.000Z
2018-02-07T11:11:04.000Z
test/support/data_case.ex
TechforgoodCAST/first-days
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
null
null
null
defmodule FirstDays.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 te...
25.796296
77
0.681981
3f2887614b05d672f53c71f0c83ad4bd8adf69d9
464
exs
Elixir
test/phoenix_gon/storage_test.exs
defaulterr0r/phoenix_gon
19e678706fc4474ad71156d85bf3068d39c81ac9
[ "MIT" ]
null
null
null
test/phoenix_gon/storage_test.exs
defaulterr0r/phoenix_gon
19e678706fc4474ad71156d85bf3068d39c81ac9
[ "MIT" ]
null
null
null
test/phoenix_gon/storage_test.exs
defaulterr0r/phoenix_gon
19e678706fc4474ad71156d85bf3068d39c81ac9
[ "MIT" ]
null
null
null
defmodule PhoenixGon.StoregeTest do use ExUnit.Case, async: false import PhoenixGon.Storage describe "default storage" do test "namespace" do storage = %PhoenixGon.Storage{} assert storage.namespace == nil end test "camel_case" do storage = %PhoenixGon.Storage{} assert stora...
20.173913
40
0.655172
3f28885d9a70614b74a2fffaa653bcc0141e5a07
68
exs
Elixir
test/banshee_test.exs
bonfire-networks/banshee
4b22085380e0cecd9d30b479655a0a34c33ef643
[ "Apache-2.0" ]
1
2020-05-16T10:24:54.000Z
2020-05-16T10:24:54.000Z
test/banshee_test.exs
bonfire-networks/banshee
4b22085380e0cecd9d30b479655a0a34c33ef643
[ "Apache-2.0" ]
1
2020-05-27T21:25:10.000Z
2020-05-29T00:17:17.000Z
test/banshee_test.exs
bonfire-networks/banshee
4b22085380e0cecd9d30b479655a0a34c33ef643
[ "Apache-2.0" ]
1
2020-05-27T19:23:02.000Z
2020-05-27T19:23:02.000Z
defmodule BansheeTest do use ExUnit.Case # doctest Banshee end
11.333333
24
0.764706
3f28931bd260c5afcd6ee87cd96589751bbed089
1,977
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/audit_log_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/audit_log_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/audit_log_config.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...
39.54
316
0.727365
3f2899a15e726f673a36ff4b673b58972570abec
526
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/policy_name_enum.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/policy_name_enum.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/policy_name_enum.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
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 Microsoft.Azure.Management.Network.Model.PolicyNameEnum do @moduledoc """ Ssl predefined policy name enums. """ @derive [Poison.Encoder] ...
20.230769
87
0.722433
3f28b574199a5a3cdfb8c15e34bae524da2cf330
145
exs
Elixir
.formatter.exs
membraneframework/membrane_ffmpeg_swresample_plugin
920ee3e41a79f66a997c049f2e50583d872a3aac
[ "Apache-2.0" ]
2
2018-07-27T14:16:08.000Z
2018-07-27T20:36:25.000Z
.formatter.exs
membraneframework/membrane_ffmpeg_swresample_plugin
920ee3e41a79f66a997c049f2e50583d872a3aac
[ "Apache-2.0" ]
4
2021-06-25T05:54:23.000Z
2021-11-03T11:26:01.000Z
.formatter.exs
membraneframework/membrane-element-ffmpeg-swresample
8d4b4ff597e70addd4cba0ecaa68383589ae2056
[ "Apache-2.0" ]
1
2020-11-14T15:36:01.000Z
2020-11-14T15:36:01.000Z
[ inputs: [ "{lib,test,config}/**/*.{ex,exs}", "*.exs", ".formatter.exs" ], import_deps: [:membrane_core, :bundlex, :unifex] ]
16.111111
50
0.524138
3f28f28bb3caf5c9ed5dc5537982a6a39bae7e61
9,951
ex
Elixir
lib/cldr/backend.ex
kianmeng/cldr_locale_display
702855b15bffbf18754843c91ec3d2b247109885
[ "Apache-2.0" ]
null
null
null
lib/cldr/backend.ex
kianmeng/cldr_locale_display
702855b15bffbf18754843c91ec3d2b247109885
[ "Apache-2.0" ]
2
2021-09-08T10:59:09.000Z
2022-03-06T13:45:34.000Z
lib/cldr/backend.ex
kianmeng/cldr_locale_display
702855b15bffbf18754843c91ec3d2b247109885
[ "Apache-2.0" ]
2
2021-09-08T10:48:14.000Z
2022-03-05T15:17:21.000Z
defmodule Cldr.LocaleDisplay.Backend do @moduledoc false def define_locale_display_module(config) do require Cldr require Cldr.Config module = inspect(__MODULE__) backend = config.backend config = Macro.escape(config) quote location: :keep, bind_quoted: [module: module, backend: backend, ...
31.391167
147
0.602753
3f28f42cf179e22c322388209e2f8a1a29c3c15b
1,806
exs
Elixir
test/school_house_web/views/html_helpers_test.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
90
2021-02-10T23:57:52.000Z
2022-03-17T18:36:55.000Z
test/school_house_web/views/html_helpers_test.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
120
2021-02-11T00:32:44.000Z
2022-03-23T04:11:59.000Z
test/school_house_web/views/html_helpers_test.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
18
2021-04-15T09:57:44.000Z
2022-03-23T02:55:26.000Z
defmodule SchoolHouseWeb.HtmlHelpersTest do use SchoolHouseWeb.ConnCase alias SchoolHouseWeb.HtmlHelpers setup do Gettext.put_locale("es") on_exit(fn -> Gettext.put_locale("en") end) end describe "avatar_url/1" do test "appends .png to GitHub profile link" do assert "https://gi...
27.784615
111
0.628461
3f291ad7870d7b6eeb0446b01c37deaabda40acf
1,328
ex
Elixir
lib/unifex.ex
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
42
2018-09-11T02:27:00.000Z
2022-03-23T18:30:56.000Z
lib/unifex.ex
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
30
2018-10-18T10:56:22.000Z
2022-03-09T13:04:51.000Z
lib/unifex.ex
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
7
2018-10-24T09:21:40.000Z
2022-03-29T12:39:08.000Z
defmodule Unifex do @moduledoc """ Implementation of `Bundlex.Preprocessor`. When added to a native configuration in `Bundlex.Project`, equips the native with the Unifex native dependency and generated sources. """ alias Bundlex.Native alias Bundlex.Project.Preprocessor alias Unifex.CodeGenerator ali...
30.181818
95
0.696536
3f292e1e72b2da885338132183cc094b21e0fa85
1,656
ex
Elixir
test/support/auth_test_helpers.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
test/support/auth_test_helpers.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
test/support/auth_test_helpers.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule VutuvWeb.AuthTestHelpers do use Phoenix.ConnTest alias Vutuv.{Accounts, Devices, Sessions, UserProfiles} alias VutuvWeb.Auth.Token def add_user(email) do user_params = %{ "email" => email, "password" => "reallyHard2gue$$", "gender" => Enum.random(["female", "male"]), "ful...
27.147541
75
0.654589
3f2936ac696057fcdf7f423c2478444353b61b90
176
ex
Elixir
test/fixtures/elixir/strange_http_method.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
536
2021-10-06T17:21:25.000Z
2022-03-31T13:05:48.000Z
test/fixtures/elixir/strange_http_method.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
74
2021-10-08T13:57:14.000Z
2022-03-31T06:55:39.000Z
test/fixtures/elixir/strange_http_method.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
104
2021-10-06T19:36:15.000Z
2022-03-31T07:34:04.000Z
request = %HTTPoison.Request{ method: :what, url: "http://localhost:28139", options: [], headers: [], params: [], body: "" } response = HTTPoison.request(request)
16
37
0.619318
3f2953e7d4da35acd8a497f06adde18be66e4537
955
ex
Elixir
lib/radiator_web/graphql/public/resolvers/user.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
lib/radiator_web/graphql/public/resolvers/user.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
lib/radiator_web/graphql/public/resolvers/user.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
alias Radiator.Auth alias RadiatorWeb.GraphQL.Helpers.UserHelpers defmodule RadiatorWeb.GraphQL.Public.Resolvers.User do def user_signup( _parent, %{username: username, email: email, password: password}, %{context: context} ) do case Auth.Register.create_user(%{ name: use...
29.84375
82
0.624084
3f295a82068b130fa26cbb31170e74e2dbf71849
387
ex
Elixir
lib/hash.ex
purpleprotocol/merkle_patricia_tree
0a18da9b5f2c0288c33749e9f2e53f1c90d905af
[ "MIT" ]
null
null
null
lib/hash.ex
purpleprotocol/merkle_patricia_tree
0a18da9b5f2c0288c33749e9f2e53f1c90d905af
[ "MIT" ]
null
null
null
lib/hash.ex
purpleprotocol/merkle_patricia_tree
0a18da9b5f2c0288c33749e9f2e53f1c90d905af
[ "MIT" ]
null
null
null
defmodule MerklePatriciaTree.Hash do use Rustler, otp_app: :merkle_patricia_tree, crate: "hash" @doc """ Hashes the given binary using the blake2s hash algorithm. """ @spec blake2(binary) :: binary def blake2(val) when is_binary(val) do val |> _blake2() |> :erlang.list_to_binary() end ...
22.764706
61
0.682171
3f2961141406a0f092350fd1a36a6f55cebfced7
1,150
exs
Elixir
test/evp_test.exs
FredrikL/Evp
7afc599c8ccccbc179a1d3226c0de44df3832583
[ "MIT" ]
null
null
null
test/evp_test.exs
FredrikL/Evp
7afc599c8ccccbc179a1d3226c0de44df3832583
[ "MIT" ]
null
null
null
test/evp_test.exs
FredrikL/Evp
7afc599c8ccccbc179a1d3226c0de44df3832583
[ "MIT" ]
1
2021-05-20T14:37:26.000Z
2021-05-20T14:37:26.000Z
defmodule EvpTest do use ExUnit.Case, async: true test "generate key & iv" do key_ = "A2D9679C7FFF3E9CF4300A2CC3FBAD7959EDAEE8A43C1A9D7168EAC46808A57A" iv_ = "BF5E155A28943B1046312484609C5F3C" {:ok, %{key: key, iv: iv}} = Evp.bytes_to_key("my-secret-password") assert Base.encode16(key) == key_ ...
34.848485
77
0.713913
3f2971deb0d73f45018edcb5841d58029d41d77d
618
ex
Elixir
lib/wabanex/user.ex
danielhessell/wabanex
c0ad713a558a3cd52ca83bd22cd093e3c3c1b0f5
[ "MIT" ]
null
null
null
lib/wabanex/user.ex
danielhessell/wabanex
c0ad713a558a3cd52ca83bd22cd093e3c3c1b0f5
[ "MIT" ]
null
null
null
lib/wabanex/user.ex
danielhessell/wabanex
c0ad713a558a3cd52ca83bd22cd093e3c3c1b0f5
[ "MIT" ]
null
null
null
defmodule Wabanex.User do use Ecto.Schema import Ecto.Changeset alias Wabanex.Training @primary_key {:id, :binary_id, autogenerate: true} @fields [:name, :email, :password] schema "users" do field :name, :string field :email, :string field :password, :string has_many :trainings, Trainin...
19.935484
52
0.653722
3f29c2e32233193d4d30c78d313238ad08eabb86
17,247
ex
Elixir
lib/phoenix_live_view/html_tokenizer.ex
khionu/phoenix_live_view
4ada690fb1579eebf787bd7459233086b383bd7b
[ "MIT" ]
null
null
null
lib/phoenix_live_view/html_tokenizer.ex
khionu/phoenix_live_view
4ada690fb1579eebf787bd7459233086b383bd7b
[ "MIT" ]
null
null
null
lib/phoenix_live_view/html_tokenizer.ex
khionu/phoenix_live_view
4ada690fb1579eebf787bd7459233086b383bd7b
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.HTMLTokenizer do @moduledoc false @space_chars '\s\t\f' @name_stop_chars @space_chars ++ '>/=\r\n' defmodule ParseError do defexception [:file, :line, :column, :description] @impl true def message(exception) do location = exception.file |> Path.rela...
34.63253
108
0.656462
3f29c98e7460966ca5f640611cf110ef95e52a17
8,104
ex
Elixir
lib/central/helpers/schema_helper.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/central/helpers/schema_helper.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central/helpers/schema_helper.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Helpers.SchemaHelper do @moduledoc false # import Central.Helpers.NumberHelper, only: [dec_parse: 1] import Ecto.Changeset, only: [get_field: 2] defp make_date(d) do %{ "day" => Integer.to_string(d.day), "month" => Integer.to_string(d.month), "year" => Integer.to_string...
24.336336
96
0.470755