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
dae3170b15676cf45ca8342249c4bfc7772c1b45
3,422
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/htt_p2_health_check.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/htt_p2_health_check.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/htt_p2_health_check.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 "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 ...
43.316456
239
0.702221
dae31d3172f68360f2e0899b3d32e4ab8dd9dde5
251
ex
Elixir
looping.ex
marcogbarcellos/elixir_test
0db90ff9a01abe5b859915e9408c32667e0125bc
[ "MIT" ]
null
null
null
looping.ex
marcogbarcellos/elixir_test
0db90ff9a01abe5b859915e9408c32667e0125bc
[ "MIT" ]
null
null
null
looping.ex
marcogbarcellos/elixir_test
0db90ff9a01abe5b859915e9408c32667e0125bc
[ "MIT" ]
null
null
null
defmodule Looping do # printing the first n natural numbers def print(1), do: IO.puts(1) def print(n) do print(n-1) IO.puts(n) end def printDesc(1), do: IO.puts(1) def printDesc(n) do IO.puts(n) printDesc(n-1) end end
14.764706
40
0.621514
dae32061ffb3d8613d5c9347701936c532b26b2c
1,173
ex
Elixir
lib/roshambo.ex
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
lib/roshambo.ex
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
lib/roshambo.ex
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
defmodule Roshambo do @moduledoc """ Roshambo keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ def start_game(mode, type) do id = Ecto.UUID.autogenerate() ...
24.957447
83
0.630009
dae381fd5305c2302059281d2dce642b3c245cbc
194
ex
Elixir
lib/tycoon.ex
heybuybuddy/tycoon
d1e35274e8f0d62c0ef21eb1d32fe3652a763a1a
[ "MIT" ]
null
null
null
lib/tycoon.ex
heybuybuddy/tycoon
d1e35274e8f0d62c0ef21eb1d32fe3652a763a1a
[ "MIT" ]
null
null
null
lib/tycoon.ex
heybuybuddy/tycoon
d1e35274e8f0d62c0ef21eb1d32fe3652a763a1a
[ "MIT" ]
null
null
null
defmodule Tycoon do @moduledoc """ Documentation for Tycoon. """ @doc """ Hello world. ## Examples iex> Tycoon.hello :world """ def hello do :world end end
10.210526
27
0.561856
dae3b0939e21a5a7840885ac7d9a706359acde94
840
ex
Elixir
lib/bees/user.ex
tommyp/Bees
4d4ca98264fabf13a4b6a55e5ecd5142cd900594
[ "MIT" ]
null
null
null
lib/bees/user.ex
tommyp/Bees
4d4ca98264fabf13a4b6a55e5ecd5142cd900594
[ "MIT" ]
null
null
null
lib/bees/user.ex
tommyp/Bees
4d4ca98264fabf13a4b6a55e5ecd5142cd900594
[ "MIT" ]
null
null
null
defmodule Bees.User do @derive Poison.Encoder defstruct id: nil, firstName: nil, lastName: nil, gender: nil, canonicalUrl: nil @type t :: %__MODULE__{ id: String.t, firstName: String.t, lastName: String.t, gender: String.t, canonicalUrl: String.t } @spec details(Bees.Client.t, String.t)...
21
82
0.57619
dae3bb7edddc711f60a71c72a45aa1c65f35a947
705
ex
Elixir
lib/malan_web/gettext.ex
FreedomBen/malan
ec8cd6ed3694e33371f065f018b1169956f2accf
[ "MIT" ]
3
2021-04-24T17:54:55.000Z
2021-09-10T15:40:19.000Z
lib/malan_web/gettext.ex
FreedomBen/malan
ec8cd6ed3694e33371f065f018b1169956f2accf
[ "MIT" ]
57
2021-04-24T03:17:16.000Z
2022-03-27T04:50:22.000Z
lib/malan_web/gettext.ex
FreedomBen/malan
ec8cd6ed3694e33371f065f018b1169956f2accf
[ "MIT" ]
null
null
null
defmodule MalanWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import MalanWeb.Gettext # Simple translation gettext("Here is the s...
28.2
72
0.675177
dae3c9f498e9eaaa9faa3638bc0200f4a9a5064e
447
ex
Elixir
elixir_phx_standard/service/lib/phx_service_web/controllers/event_controller.ex
estroz/docker-slim-examples
e8448bbe27e848b340d0c80557eb606e0bc69c18
[ "Apache-2.0" ]
77
2019-03-16T15:55:51.000Z
2022-03-18T04:48:44.000Z
elixir_phx_standard/service/lib/phx_service_web/controllers/event_controller.ex
estroz/docker-slim-examples
e8448bbe27e848b340d0c80557eb606e0bc69c18
[ "Apache-2.0" ]
17
2019-11-28T17:43:54.000Z
2022-01-06T21:32:57.000Z
elixir_phx_standard/service/lib/phx_service_web/controllers/event_controller.ex
estroz/docker-slim-examples
e8448bbe27e848b340d0c80557eb606e0bc69c18
[ "Apache-2.0" ]
17
2019-11-04T16:16:45.000Z
2022-03-16T07:57:26.000Z
defmodule PhxServiceWeb.EventController do use PhxServiceWeb, :controller action_fallback PhxServiceWeb.FallbackController def index(conn, _params) do events = [%{id: 1, type: "status", data: "up"},%{id: 2, type: "start", data: "12/12/2018:123456"}] render(conn, "index.json", events: events) end de...
29.8
102
0.662192
dae3cab15228cad46e0294d6183c41de5d37a206
1,514
ex
Elixir
clients/civic_info/lib/google_api/civic_info/v2/model/street_segment_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/street_segment_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/street_segment_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.541667
79
0.747688
dae4084d287a1ee122bd81e90577f88391c61512
6,033
exs
Elixir
exercism/elixir/diffie-hellman/test/diffie_hellman_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/diffie-hellman/test/diffie_hellman_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/diffie-hellman/test/diffie_hellman_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule DiffieHellmanTest do use ExUnit.Case test "private key should be between 1 and P-1, inclusive" do prime_p = 23 assert DiffieHellman.generate_private_key(prime_p) in Range.new(1, prime_p - 1) end test "private key generator should support very large primes" do prime_p = 120_227_323...
57.457143
417
0.868225
dae43e51e313b43a6818bef0ae89a73bafff4ecb
59,388
ex
Elixir
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/api/sites.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/api/sites.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/api/sites.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "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...
46.835962
196
0.619283
dae44e84c43fbf8f38851a18982aaac165e346e8
1,771
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message_telephony_transfer_call.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message_telephony_transfer_call.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message_telephony_transfer_call.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.057692
152
0.758329
dae45124a5df63f4d7b711b6a6b33db5cd25dbf6
720
exs
Elixir
test/unit/hologram/compiler/module_def_store_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/module_def_store_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/module_def_store_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.ModuleDefStoreTest do use Hologram.Test.UnitCase, async: false alias Hologram.Compiler.{ModuleDefStore, ModuleDefStoreTest} alias Hologram.Compiler.IR.ModuleDefinition setup do ModuleDefStore.run() :ok end describe "get_if_not_exists/1 (and handle_call/3 :get_if_not_ex...
30
86
0.751389
dae471036b1e077dca94d9a7da79816f0aaa3833
81
exs
Elixir
config/dev.exs
yuchunc/cldr_dates_times
c9dd560dc5a0c1cc6ac94ca34d67becd94217e29
[ "Apache-2.0" ]
null
null
null
config/dev.exs
yuchunc/cldr_dates_times
c9dd560dc5a0c1cc6ac94ca34d67becd94217e29
[ "Apache-2.0" ]
null
null
null
config/dev.exs
yuchunc/cldr_dates_times
c9dd560dc5a0c1cc6ac94ca34d67becd94217e29
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :ex_cldr, default_locale: "en", locales: ["en", "nl"]
13.5
23
0.641975
dae471093e6556d51bebd7ca8c0bf3e9fb8e5458
2,734
ex
Elixir
clients/content/lib/google_api/content/v2/model/pos_custom_batch_request_entry.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/pos_custom_batch_request_entry.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/pos_custom_batch_request_entry.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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 "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...
39.623188
117
0.714338
dae48690a2da2c5aa2318138d5545f7969263b43
973
exs
Elixir
test/dailymeal/meals/create_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
test/dailymeal/meals/create_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
test/dailymeal/meals/create_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
defmodule Dailymeal.Meals.CreateTest do use Dailymeal.DataCase, async: true import Dailymeal.Factory alias Dailymeal.{Error, Meal} alias Dailymeal.Meals.Create describe "call/1" do setup do insert(:user) :ok end test "when all params are valid, returns the created meal" do pa...
24.325
90
0.655704
dae4a71bcc42dd27574563302877c172ccb12109
183
exs
Elixir
test/test_helper.exs
joeletizia/blogger
64b7b5665cdd75cbf24f5cfd938faf5135eb914a
[ "MIT" ]
null
null
null
test/test_helper.exs
joeletizia/blogger
64b7b5665cdd75cbf24f5cfd938faf5135eb914a
[ "MIT" ]
null
null
null
test/test_helper.exs
joeletizia/blogger
64b7b5665cdd75cbf24f5cfd938faf5135eb914a
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r Blogger.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r Blogger.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(Blogger.Repo)
26.142857
56
0.743169
dae4be26d804b60c603044912a162196e5fdc6bc
4,530
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/distribution.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/distribution.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/distribution.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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 "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...
68.636364
775
0.754305
dae50a8c8eafb5a1abf306ae2f6dec1abc7115cb
2,102
ex
Elixir
lib/live/page_live.ex
lenileiro/ex_ussd_simulator
3af7b0b7962d81cc0a4c38036c9aca8b60c5a22b
[ "MIT" ]
null
null
null
lib/live/page_live.ex
lenileiro/ex_ussd_simulator
3af7b0b7962d81cc0a4c38036c9aca8b60c5a22b
[ "MIT" ]
null
null
null
lib/live/page_live.ex
lenileiro/ex_ussd_simulator
3af7b0b7962d81cc0a4c38036c9aca8b60c5a22b
[ "MIT" ]
null
null
null
defmodule ExUssdSimulator.PageLive do use ExUssdSimulator.Web, :live_view require Logger alias ExUssdSimulator.Config @callback_url_unavailable_error "This is a Test prompt. We could not access your ExUssd-Endpoint. Please make sure that you accept ExUssd-Calls at " @impl true def render(assigns), do: E...
25.950617
150
0.671741
dae52c33b163ad833fe9830af9b65db2822ace70
1,806
ex
Elixir
clients/game_services/lib/google_api/game_services/v1/model/preview_delete_game_server_cluster_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1/model/preview_delete_game_server_cluster_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/game_services/lib/google_api/game_services/v1/model/preview_delete_game_server_cluster_response.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.730769
115
0.750831
dae531dadac43804a9d4cebe34eceba7a3c919fc
2,852
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/person_organizations.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/plus/lib/google_api/plus/v1/model/person_organizations.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/person_organizations.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 "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 ...
39.068493
176
0.670056
dae59453e8c825cbc00f9c14bf01b4fbd7bd93ca
2,616
exs
Elixir
mix.exs
spearheadsys/asciinema-server
6c8874e5dcfbbf9be176f831dd1ea421c43d375f
[ "Apache-2.0" ]
null
null
null
mix.exs
spearheadsys/asciinema-server
6c8874e5dcfbbf9be176f831dd1ea421c43d375f
[ "Apache-2.0" ]
null
null
null
mix.exs
spearheadsys/asciinema-server
6c8874e5dcfbbf9be176f831dd1ea421c43d375f
[ "Apache-2.0" ]
null
null
null
defmodule Asciinema.MixProject do use Mix.Project def project do [ app: :asciinema, version: "0.0.1", elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext, :rustler] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases:...
28.129032
79
0.516055
dae5b75eac358c2ae596aa429ac7b28dad8777be
84
ex
Elixir
test/environment/ecto/repo.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
null
null
null
test/environment/ecto/repo.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
null
null
null
test/environment/ecto/repo.ex
danbruder/dilute
0b2a5c86ff920c1171388ae23e767a956e1978a9
[ "Apache-2.0" ]
null
null
null
defmodule DiluteTest.Environment.Ecto.Repo do use Ecto.Repo, otp_app: :dilute end
21
45
0.797619
dae5be0e070e9abab306ac67a5a3eb712b182867
1,194
exs
Elixir
installer/mix.exs
rrrcompagnoni/phoenix
ca7488815a9b5bcaee0b9afee10162d177a2b90d
[ "MIT" ]
1
2020-04-14T09:49:46.000Z
2020-04-14T09:49:46.000Z
installer/mix.exs
rrrcompagnoni/phoenix
ca7488815a9b5bcaee0b9afee10162d177a2b90d
[ "MIT" ]
null
null
null
installer/mix.exs
rrrcompagnoni/phoenix
ca7488815a9b5bcaee0b9afee10162d177a2b90d
[ "MIT" ]
null
null
null
defmodule Phx.New.MixProject do use Mix.Project @version "1.5.0-dev" @github_path "phoenixframework/phoenix" @url "https://github.com/#{@github_path}" def project do [ app: :phx_new, start_permanent: Mix.env() == :prod, version: @version, elixir: "~> 1.7", deps: deps(), ...
20.947368
89
0.549414
dae5c3a432adb8be6dbab7bf2a87cdd9f11e0dde
166
exs
Elixir
test/ffaker/ja_jp/job_test.exs
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
9
2016-11-09T15:50:05.000Z
2021-02-02T05:45:06.000Z
test/ffaker/ja_jp/job_test.exs
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
3
2016-09-01T09:54:46.000Z
2017-07-25T05:23:56.000Z
test/ffaker/ja_jp/job_test.exs
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
4
2016-11-22T17:51:48.000Z
2021-02-02T05:45:01.000Z
defmodule Ffaker.JaJp.JobTest do use ExUnit.Case, async: true use Ffaker import Ffaker.JaJp.Job test "title/0" do assert title() in ~F(titles) end end
16.6
32
0.698795
dae5e567d340886c27bf8ba90cb1f33241086e7e
1,854
exs
Elixir
turtle_pose_phoenix/config/prod.exs
rclex/rclex_examples
1ad49e9d917c015161992836ad8d4e8d028615da
[ "Apache-2.0" ]
null
null
null
turtle_pose_phoenix/config/prod.exs
rclex/rclex_examples
1ad49e9d917c015161992836ad8d4e8d028615da
[ "Apache-2.0" ]
4
2022-01-25T00:53:34.000Z
2022-03-26T15:28:18.000Z
turtle_pose_phoenix/config/prod.exs
rclex/rclex_examples
1ad49e9d917c015161992836ad8d4e8d028615da
[ "Apache-2.0" ]
null
null
null
import 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, # w...
36.352941
66
0.717368
dae5ed1455a9e19fab305a9be95da34ae1cc7196
6,450
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/conversion.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/conversion.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/conversion.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...
64.5
636
0.724496
dae60217eaa0e6ade737492c1260835549440ea6
43,869
ex
Elixir
lib/money/backend.ex
hamptokr/money
dac0965fb308a476008284fe83877e948f20d088
[ "Apache-2.0" ]
426
2016-10-10T08:53:20.000Z
2022-03-17T04:28:00.000Z
lib/money/backend.ex
hamptokr/money
dac0965fb308a476008284fe83877e948f20d088
[ "Apache-2.0" ]
131
2016-12-03T22:43:52.000Z
2022-02-13T22:35:57.000Z
lib/money/backend.ex
hamptokr/money
dac0965fb308a476008284fe83877e948f20d088
[ "Apache-2.0" ]
47
2017-02-18T08:11:26.000Z
2022-01-26T19:31:34.000Z
defmodule Money.Backend do @moduledoc false def define_money_module(config) do module = inspect(__MODULE__) backend = config.backend config = Macro.escape(config) quote location: :keep, bind_quoted: [module: module, backend: backend, config: config] do defmodule Money do @moduledoc f...
33.234091
222
0.566505
dae628e1166cebf4eca988a9dc1e53f25236421c
2,824
ex
Elixir
apps/andi/lib/andi/input_schemas/extract_steps.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/lib/andi/input_schemas/extract_steps.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/lib/andi/input_schemas/extract_steps.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Andi.InputSchemas.ExtractSteps do @moduledoc false alias Andi.InputSchemas.Datasets.ExtractStep alias Andi.Repo alias Andi.InputSchemas.StructTools import Ecto.Query, only: [from: 2] require Logger @default_key_value %{"key" => nil, "value" => nil} def create(new_step_changes) do chang...
25.672727
115
0.693697
dae6292de2e347d3c49875bd3309e32044c5ab26
132
ex
Elixir
lib/sonata_seed/datetime.ex
exstruct/sonata_seed
965c88251190b22356326bd147ad60b191f7d439
[ "MIT" ]
null
null
null
lib/sonata_seed/datetime.ex
exstruct/sonata_seed
965c88251190b22356326bd147ad60b191f7d439
[ "MIT" ]
null
null
null
lib/sonata_seed/datetime.ex
exstruct/sonata_seed
965c88251190b22356326bd147ad60b191f7d439
[ "MIT" ]
null
null
null
defmodule Sonata.Seed.DateTime do use Bolero # https://www.postgresql.org/docs/9.1/static/datatype-datetime.html # TODO end
16.5
69
0.742424
dae6453c8996555dc4d53dbfbfc4eb511da7e498
715
exs
Elixir
year_2020/test/day_15_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/test/day_15_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/test/day_15_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day15Test do use ExUnit.Case, async: true test "it finds the 2020th number, ex 1" do assert Day15.part_one([1, 3, 2]) == 1 end test "it finds the 2020th number, ex 2" do assert Day15.part_one([2, 1, 3]) == 10 end test "it finds the 2020th number, ex 3" do assert Day15.part_one([1, 2...
22.34375
44
0.625175
dae652992ab89305fca5f7b8420a9f66262c1b60
2,459
exs
Elixir
26-frank.exs
yortz/30-days-of-elixir
b7126eeee16b726df0b00234fd4aff03a5c3e1a9
[ "MIT" ]
null
null
null
26-frank.exs
yortz/30-days-of-elixir
b7126eeee16b726df0b00234fd4aff03a5c3e1a9
[ "MIT" ]
null
null
null
26-frank.exs
yortz/30-days-of-elixir
b7126eeee16b726df0b00234fd4aff03a5c3e1a9
[ "MIT" ]
null
null
null
# A micro web DSL library called "Frank" # The motivation was mainly to learn about macros. # One big bummer is that the way I implemented the macro, # there is no way to build a route based on a regex, # which is essential for a web DSL. :-) # Next version will hopefully support regex paths. defmodule Frank do @mod...
25.350515
111
0.604311
dae68786f8a8138761d88b121d278409287e8bef
795
ex
Elixir
lib/surgex_web/views/surgeon_view.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
8
2019-05-11T19:41:06.000Z
2020-01-20T07:01:53.000Z
lib/surgex_web/views/surgeon_view.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
12
2019-05-10T22:00:40.000Z
2019-07-05T19:20:56.000Z
lib/surgex_web/views/surgeon_view.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
1
2019-07-18T15:58:41.000Z
2019-07-18T15:58:41.000Z
defmodule SurgexWeb.SurgeonView do use SurgexWeb, :view alias SurgexWeb.SurgeonView def render("index.json", %{surgeons: surgeons}) do %{data: render_many(surgeons, SurgeonView, "surgeon.json")} end def render("show.json", %{surgeon: surgeon}) do %{data: render_one(surgeon, SurgeonView, "surgeon.jso...
26.5
63
0.67044
dae6baca7bb61fae1f681e632e421246a06cc40a
13,370
ex
Elixir
lib/ecto/type.ex
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "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 5 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...
26.793587
95
0.594316
dae6c196592081b8ef446273fb4f2ea729c3b031
1,622
exs
Elixir
test/grizzly/zwave/commands/association_group_info_report_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
test/grizzly/zwave/commands/association_group_info_report_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
test/grizzly/zwave/commands/association_group_info_report_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.AssociationGroupInfoReportTest do use ExUnit.Case, async: true alias Grizzly.ZWave.Commands.AssociationGroupInfoReport test "creates the command and validates params" do params = [ dynamic: false, group_info: [ [group_id: 1, profile: :general_lifeline], ...
32.44
94
0.67201
dae6c997f4b1ef1961cfc6fc410c5e816b16fe73
1,220
exs
Elixir
apps/language_server/mix.exs
ridho9/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
912
2017-06-08T03:58:03.000Z
2021-09-06T03:42:07.000Z
apps/language_server/mix.exs
niku/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
196
2017-06-09T23:32:16.000Z
2021-10-15T15:38:43.000Z
apps/language_server/mix.exs
niku/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
78
2017-07-06T18:35:34.000Z
2020-04-12T08:10:45.000Z
defmodule ElixirLS.LanguageServer.Mixfile do use Mix.Project def project do [ app: :language_server, version: "0.2.24", elixir: ">= 1.7.0", build_path: "../../_build", config_path: "config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", build_em...
25.416667
79
0.602459
dae6ee345f8fa0d1cb648bf43ad1cfbd8b9d3302
1,379
exs
Elixir
test/new_relixir/current_transaction_test.exs
edipox/new-relixir
00de7b6016b840d14004c32e562604de25c0c9b5
[ "MIT" ]
null
null
null
test/new_relixir/current_transaction_test.exs
edipox/new-relixir
00de7b6016b840d14004c32e562604de25c0c9b5
[ "MIT" ]
null
null
null
test/new_relixir/current_transaction_test.exs
edipox/new-relixir
00de7b6016b840d14004c32e562604de25c0c9b5
[ "MIT" ]
null
null
null
defmodule NewRelixir.CurrentTransactionTest do use ExUnit.Case, async: true alias NewRelixir.CurrentTransaction describe "get/0" do test "gets existing transaction from the current process" do Process.put(:new_relixir_transaction, "the-transaction") assert {:ok, "the-transaction"} == CurrentTra...
29.340426
95
0.701233
dae7127c70f82fa2b1876462620ba979f18107d7
7,122
ex
Elixir
lib/oli_web/live/users/user_detail_view.ex
ehilfer/oli-torus
c2babe03047bfca2d3fe59ae3b7604597e34001e
[ "MIT" ]
null
null
null
lib/oli_web/live/users/user_detail_view.ex
ehilfer/oli-torus
c2babe03047bfca2d3fe59ae3b7604597e34001e
[ "MIT" ]
null
null
null
lib/oli_web/live/users/user_detail_view.ex
ehilfer/oli-torus
c2babe03047bfca2d3fe59ae3b7604597e34001e
[ "MIT" ]
null
null
null
defmodule OliWeb.Users.UsersDetailView do use Surface.LiveView, layout: {OliWeb.LayoutView, "live.html"} alias Surface.Components.Form alias Surface.Components.Form.{Checkbox, Label, Field, Submit} use OliWeb.Common.Modal import OliWeb.Common.Properties.Utils import OliWeb.Common.Utils alias Oli.Repo ...
27.079848
134
0.597585
dae73573af05dc6f652961df4383f5d334b9bd55
6,062
ex
Elixir
lib/mix/lib/releases/plugins/plugin.ex
LaudateCorpus1/distillery
bbf7f1871553465eb21ef8ed5e2ace3308d79683
[ "MIT" ]
2
2020-07-01T20:41:46.000Z
2021-09-09T05:44:30.000Z
lib/mix/lib/releases/plugins/plugin.ex
LaudateCorpus1/distillery
bbf7f1871553465eb21ef8ed5e2ace3308d79683
[ "MIT" ]
null
null
null
lib/mix/lib/releases/plugins/plugin.ex
LaudateCorpus1/distillery
bbf7f1871553465eb21ef8ed5e2ace3308d79683
[ "MIT" ]
3
2021-06-03T10:01:32.000Z
2022-03-17T09:57:37.000Z
defmodule Mix.Releases.Plugin do @moduledoc """ This module provides a simple way to add additional processing to phases of the release assembly and archival. ## Implementing your own plugin To create a Distillery plugin, create a new module in which you `use Mix.Releases.Plugin`. Then write implentations...
32.074074
96
0.659023
dae74f8d0a42fd094e138c196a695398b66875bc
8,103
ex
Elixir
lib/coophub/cache_warmer.ex
ian-bloom/coophub
e0b969b3ced1dce81350f1455a164cdfd44582fc
[ "MIT" ]
49
2019-12-11T16:40:52.000Z
2022-01-14T12:44:14.000Z
lib/coophub/cache_warmer.ex
ian-bloom/coophub
e0b969b3ced1dce81350f1455a164cdfd44582fc
[ "MIT" ]
47
2019-12-12T20:03:10.000Z
2021-10-14T14:25:00.000Z
lib/coophub/cache_warmer.ex
ian-bloom/coophub
e0b969b3ced1dce81350f1455a164cdfd44582fc
[ "MIT" ]
28
2019-12-11T17:15:03.000Z
2021-09-17T09:19:44.000Z
defmodule Coophub.CacheWarmer do use Cachex.Warmer alias Coophub.Repos alias Coophub.Backends alias Coophub.Schemas.Organization require Logger @repos_cache_name Application.get_env(:coophub, :main_cache_name) @repos_cache_interval Application.get_env(:coophub, :cache_interval) @repos_cache_dump_file...
28.332168
89
0.642231
dae7519a983ec84aed65b8e31a6a15a176d347a2
1,626
ex
Elixir
2021/elixir/apps/day4/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day4/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day4/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
defmodule Day4Part1 do @moduledoc """ Day4 - Part1 """ defmodule Board do defstruct rows: [], cols: [] def new(lines) do rows = lines |> Enum.map(fn line -> line |> String.split(" ", trim: true) |> Enum.map(&String.to_integer/1) end) cols = rows ...
21.116883
81
0.53321
dae768a4f61cdf12a5c5a08fdd2dab3edcb016d2
561
ex
Elixir
web/models/activity.ex
blindingnoises/tikt
eca3ff1f641ce94b84f870c141f46e977f35b670
[ "BSD-3-Clause" ]
null
null
null
web/models/activity.ex
blindingnoises/tikt
eca3ff1f641ce94b84f870c141f46e977f35b670
[ "BSD-3-Clause" ]
null
null
null
web/models/activity.ex
blindingnoises/tikt
eca3ff1f641ce94b84f870c141f46e977f35b670
[ "BSD-3-Clause" ]
null
null
null
defmodule Tikt.Activity do use Tikt.Web, :model schema "activities" do field :name, :string field :description, :string field :active, :boolean, default: false timestamps end @required_fields ~w(name description active) @optional_fields ~w() @doc """ Creates a changeset based on the `m...
21.576923
61
0.691622
dae7ba5990c36003380daa8274248ef7c75a48e1
424
exs
Elixir
farmbot_ext/test/farmbot_ext/api/preloader_test.exs
EarthEngineering/facetop_os
c82a7f1e8098d3a03dddbd2f2cb46cda7b88b6fb
[ "MIT" ]
1
2021-04-22T10:18:50.000Z
2021-04-22T10:18:50.000Z
farmbot_ext/test/farmbot_ext/api/preloader_test.exs
bluewaysw/farmbot_os
3449864bc5c17a688ec2fe75e4a5cf247da57806
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/api/preloader_test.exs
bluewaysw/farmbot_os
3449864bc5c17a688ec2fe75e4a5cf247da57806
[ "MIT" ]
null
null
null
defmodule FarmbotExt.API.PreloaderTest do use ExUnit.Case use Mimic alias FarmbotCore.{ # Asset, # Asset.Query, Asset.Sync } alias FarmbotExt.{API, API.Preloader} setup :verify_on_exit! test "get sync error" do expect(API, :get_changeset, fn Sync -> {:error, "some descriptive API ...
19.272727
75
0.669811
dae7ba5f6cc3dee4c7c68269634c154c5c8689b2
1,048
ex
Elixir
lib/absinthe/blueprint/document/fragment/named.ex
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/document/fragment/named.ex
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
2
2020-07-21T05:23:37.000Z
2020-08-26T04:56:12.000Z
lib/absinthe/blueprint/document/fragment/named.ex
jlgeering/absinthe
a3dbc29640d613928398626ad75a8f03203a1720
[ "MIT" ]
null
null
null
defmodule Absinthe.Blueprint.Document.Fragment.Named do @moduledoc false alias Absinthe.Blueprint alias __MODULE__ @enforce_keys [:name, :type_condition] defstruct [ :name, :type_condition, selections: [], directives: [], source_location: nil, # Populated by phases schema_node: n...
24.372093
71
0.618321
dae7bc73c12d69510a288e27164b0c2f2c1baac4
2,124
ex
Elixir
apps/omg_api/lib/block_queue/gas_price_adjustment_strategy_params.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/block_queue/gas_price_adjustment_strategy_params.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/block_queue/gas_price_adjustment_strategy_params.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
40.846154
107
0.727401
dae7fbf8e0c0e0caaa8e50e3a07867119b455467
934
ex
Elixir
lib/console_web/plug/verify_api_key.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
lib/console_web/plug/verify_api_key.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
1
2021-04-03T09:29:31.000Z
2021-04-03T09:29:31.000Z
lib/console_web/plug/verify_api_key.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.Plug.VerifyApiKey do import Plug.Conn import ConsoleWeb.AuthErrorHandler alias Console.ApiKeys alias Console.Organizations alias Console.ApiKeys.ApiKey def init(default), do: default def call(conn, _default) do key = conn |> get_req_header("key") |> List.first() bin = :crypt...
30.129032
98
0.664882
dae844acff9a6164a1a1b62af0db39ba209dbe25
775
exs
Elixir
lib/perspective/event_chain/page_buffer/tests/page_buffer_test.exs
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
2
2020-04-24T19:43:06.000Z
2020-04-24T19:52:27.000Z
lib/perspective/event_chain/page_buffer/tests/page_buffer_test.exs
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
lib/perspective/event_chain/page_buffer/tests/page_buffer_test.exs
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
defmodule Perspective.EventChain.PageBuffer.Test do use Perspective.TestCase setup do Perspective.EventChain.PageBuffer.clear() end test "take_out when empty" do assert [] == Perspective.EventChain.PageBuffer.take_out(0) end test "add_event" do Perspective.EventChain.PageBuffer.add(%{id: "abc...
29.807692
88
0.699355
dae858adda8a8cf6a1f7bd0523953eafcd522306
259
ex
Elixir
lib/link_previewer/parser.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
4
2018-11-07T13:47:13.000Z
2021-11-01T10:12:15.000Z
lib/link_previewer/parser.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
null
null
null
lib/link_previewer/parser.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
2
2019-10-15T20:27:53.000Z
2021-08-20T04:32:35.000Z
defmodule LinkPreviewer.Parser do @moduledoc false alias LinkPreviewer.Preview @callback parse(map) :: Preview.t() defmacro __using__(_opts) do quote do alias LinkPreviewer.Preview @behaviour LinkPreviewer.Parser end end end
16.1875
37
0.718147
dae88205ad3fcd94abdc86e19753b7b4e29cc8ae
24,833
ex
Elixir
clients/access_approval/lib/google_api/access_approval/v1/api/organizations.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/access_approval/lib/google_api/access_approval/v1/api/organizations.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/access_approval/lib/google_api/access_approval/v1/api/organizations.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...
46.157993
551
0.626304
dae897447f3859cf2f0fb37a62c63a131c2e972e
17,042
exs
Elixir
apps/feedex_core/test/feedex_core/accounts_test.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_core/test/feedex_core/accounts_test.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_core/test/feedex_core/accounts_test.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FeedexCore.AccountsTest do use FeedexCore.DataCase, async: true alias FeedexCore.Accounts alias FeedexCore.Accounts.{User, UserToken} import FeedexCore.AccountsFixtures describe "creating a user" do test "generates a user" do assert count(User) == 0 user_fixture() assert coun...
33.155642
96
0.655029
dae8b0fdb0794d5704ee836a321ae4a9adc06cd1
10,030
ex
Elixir
lib/oli/delivery/sections/blueprint.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/delivery/sections/blueprint.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/delivery/sections/blueprint.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Delivery.Sections.Blueprint do alias Oli.Repo alias Oli.Accounts.Author alias Oli.Institutions.Institution alias Oli.Authoring.Course.Project alias Oli.Authoring.Course.ProjectVisibility alias Oli.Publishing.Publication alias Oli.Delivery.Sections.Section alias Oli.Delivery.Sections impo...
29.940299
96
0.588335
dae8b423b494b58ff1e7ee7e4ffccf2ff94c6e4f
450
exs
Elixir
config/test.exs
vegashat/weather-api
d06ce0bf809bd98710367c459920bc5cef384f94
[ "MIT" ]
null
null
null
config/test.exs
vegashat/weather-api
d06ce0bf809bd98710367c459920bc5cef384f94
[ "MIT" ]
null
null
null
config/test.exs
vegashat/weather-api
d06ce0bf809bd98710367c459920bc5cef384f94
[ "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 :weather_api, WeatherApiWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn config :weather_api, cage_api_key: "cbdb7cc9...
30
56
0.771111
dae8ca03b73d3adbbcb5e9486aa0edc1b639f5e9
922
exs
Elixir
test/lib/absinthe/language/union_type_definition_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
test/lib/absinthe/language/union_type_definition_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
test/lib/absinthe/language/union_type_definition_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Language.UnionTypeDefinitionTest do use Absinthe.Case, async: true alias Absinthe.Blueprint @text "A metasyntactic variable" @idl """ type Foo { name: String } type Bar { name: String } union Baz @description(text: "#{@text}") = Foo | Bar """ context "convert...
21.44186
217
0.675705
dae8f506eb37b9de3dab288e54dac4f58fa8a30e
727
ex
Elixir
lib/modal_example_web/gettext.ex
pthompson/liveview_tailwind_modal
5e5d173cdc8e4710ab98ce0a925822f4c72cd3ea
[ "MIT" ]
25
2020-07-29T04:21:10.000Z
2022-02-07T16:06:51.000Z
lib/modal_example_web/gettext.ex
pthompson/liveview_tailwind_modal
5e5d173cdc8e4710ab98ce0a925822f4c72cd3ea
[ "MIT" ]
null
null
null
lib/modal_example_web/gettext.ex
pthompson/liveview_tailwind_modal
5e5d173cdc8e4710ab98ce0a925822f4c72cd3ea
[ "MIT" ]
8
2020-08-19T13:06:39.000Z
2021-08-11T17:18:34.000Z
defmodule ModalExampleWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import ModalExampleWeb.Gettext # Simple translation gettext(...
29.08
72
0.685007
dae8f9ebbaacc579ce12b136fdef4dab6e7fbd5f
2,106
ex
Elixir
lib/comment.ex
winsalva/imgur-elixir
ecbf4ef6e3cf375e19f1d0072c558447fbf99095
[ "MIT" ]
3
2017-04-13T05:37:09.000Z
2022-03-14T17:12:11.000Z
lib/comment.ex
winsalva/imgur-elixir
ecbf4ef6e3cf375e19f1d0072c558447fbf99095
[ "MIT" ]
null
null
null
lib/comment.ex
winsalva/imgur-elixir
ecbf4ef6e3cf375e19f1d0072c558447fbf99095
[ "MIT" ]
2
2017-09-02T10:01:58.000Z
2021-06-19T12:47:15.000Z
defmodule Imgur.Comment do alias Imgur.API @doc """ Get a single comment. """ @spec get(Imgur.Client.t, String.t) :: {:ok, Imgur.Model.Comment.t} | {:error, any} def get(client, id) do API.get(client, "/3/comment/#{id}", schema: Imgur.Model.Comment.schema()) end @doc """ Create a comment. """ ...
26
98
0.609212
dae9f827371bd9a47f2a242ea3e6aa00893bb5ef
1,199
ex
Elixir
lib/ash/resource/validation/one_of.ex
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
lib/ash/resource/validation/one_of.ex
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
lib/ash/resource/validation/one_of.ex
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Validation.OneOf do @moduledoc false alias Ash.Error.Changes.InvalidAttribute use Ash.Resource.Validation @opt_schema [ values: [ type: {:custom, __MODULE__, :values, []}, required: true ], attribute: [ type: :atom, required: true ] ] @doc fa...
21.410714
77
0.557965
daea3113bd8ef4e6a69978f6a924305526d88855
1,623
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_execution_stage_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_execution_stage_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_execution_stage_info.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.531915
210
0.747381
daea996f1d59c754bc2f72f7ebd8a140eaf360bc
523
exs
Elixir
test/calculator_calculate_test.exs
KouroshAlinaghi/elixir-calculator
548547a3b72c6b9809b656c4314f564b5ea057e7
[ "MIT" ]
2
2020-04-13T07:51:44.000Z
2020-04-14T18:24:41.000Z
test/calculator_calculate_test.exs
KouroshAlinaghi/elixir-calculator
548547a3b72c6b9809b656c4314f564b5ea057e7
[ "MIT" ]
null
null
null
test/calculator_calculate_test.exs
KouroshAlinaghi/elixir-calculator
548547a3b72c6b9809b656c4314f564b5ea057e7
[ "MIT" ]
null
null
null
defmodule CalculatorTest do use ExUnit.Case doctest Calculator.Calculate @nested_parentheses ["(", 3.0, "*", "(", 2.0, "+", 3.0, ")" ,")", "*", "(", 2.0, "+", 32.0, ")"] @simple_expression [2.0, "^", 5.0] @answer [32.14] assert "calculate_expression/1" do assert Calculator.Calculate.calculate_express...
32.6875
98
0.661568
daeab3e466d163e73409070e86accd429f52af55
2,197
exs
Elixir
test/jumubase_web/controllers/contact_controller_test.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
2
2019-01-20T07:03:30.000Z
2019-04-11T10:20:14.000Z
test/jumubase_web/controllers/contact_controller_test.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
6
2018-09-20T05:52:14.000Z
2019-04-23T19:27:39.000Z
test/jumubase_web/controllers/contact_controller_test.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
null
null
null
defmodule JumubaseWeb.ContactControllerTest do use JumubaseWeb.ConnCase use Bamboo.Test describe "send_message/2" do @valid_params %{ "name" => "A", "email" => "a@b.c", "email_repeat" => "", "message" => "Lorem ipsum" } test "lets the user send a contact message", %{conn: con...
34.328125
98
0.638598
daeb24aaff3563dbc52ee6433a41c81e106b9703
836
ex
Elixir
rpg-character-sheet/lib/rpg/character_sheet.ex
w0rd-driven/exercism-elixir
77fabf71ef995530704d06f54196a5c48bc1e0f3
[ "MIT" ]
null
null
null
rpg-character-sheet/lib/rpg/character_sheet.ex
w0rd-driven/exercism-elixir
77fabf71ef995530704d06f54196a5c48bc1e0f3
[ "MIT" ]
null
null
null
rpg-character-sheet/lib/rpg/character_sheet.ex
w0rd-driven/exercism-elixir
77fabf71ef995530704d06f54196a5c48bc1e0f3
[ "MIT" ]
null
null
null
defmodule RPG.CharacterSheet do @spec welcome :: :ok def welcome() do IO.puts("Welcome! Let's fill out your character sheet together.") end @spec ask_name :: String.t() def ask_name() do IO.gets("What is your character's name?\n") |> String.trim() end @spec ask_class :: String.t() def ask_clas...
26.125
88
0.636364
daeb6121f376ca39943a515094bff32aeee243a7
904
exs
Elixir
mix.exs
mendrugory/barenboim
ceda7785db0bdeaa0cd3a084a6a4d2641c9677ac
[ "MIT" ]
3
2017-06-13T14:20:05.000Z
2018-06-21T01:00:49.000Z
mix.exs
mendrugory/barenboim
ceda7785db0bdeaa0cd3a084a6a4d2641c9677ac
[ "MIT" ]
null
null
null
mix.exs
mendrugory/barenboim
ceda7785db0bdeaa0cd3a084a6a4d2641c9677ac
[ "MIT" ]
null
null
null
defmodule Barenboim.Mixfile do use Mix.Project @version "0.3.1" def project do [app: :barenboim, version: @version, elixir: "~> 1.5", package: package(), description: "Barenboim helps you with data streaming dependencies in concurrent flows", build_embedded: Mix.env == :prod, s...
24.432432
93
0.607301
daeb7e3823cb9ce11371227f2baf80f4b0629a68
2,017
exs
Elixir
config/config.exs
graffic/wanon-elixir
65fcde17cbbeb1af3fda5f6423dba112dfa3b9a9
[ "MIT" ]
1
2018-11-28T07:44:28.000Z
2018-11-28T07:44:28.000Z
config/config.exs
graffic/wanon-elixir
65fcde17cbbeb1af3fda5f6423dba112dfa3b9a9
[ "MIT" ]
1
2018-10-24T20:59:09.000Z
2018-10-24T20:59:09.000Z
config/config.exs
graffic/wanon-elixir
65fcde17cbbeb1af3fda5f6423dba112dfa3b9a9
[ "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...
27.630137
73
0.660387
daebabcad150f594012d9d1dedbeded99b386f2f
187
exs
Elixir
priv/repo/migrations/20200121204604_rename_team_games_id_column.exs
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
null
null
null
priv/repo/migrations/20200121204604_rename_team_games_id_column.exs
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
2
2021-11-04T21:05:24.000Z
2021-11-04T21:51:48.000Z
priv/repo/migrations/20200121204604_rename_team_games_id_column.exs
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
1
2021-11-04T18:40:26.000Z
2021-11-04T18:40:26.000Z
defmodule Kamleague.Repo.Migrations.RenameTeamGamesIdColumn do use Ecto.Migration def change do rename table("teams_games_players"), :team_game_id, to: :teams_games_id end end
23.375
75
0.791444
daebcf9c934c0021f11beb9487036d5db331aa63
14,014
ex
Elixir
lib/mix/lib/mix/deps.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
defrecord Mix.Dep, [ scm: nil, app: nil, requirement: nil, status: nil, opts: nil, deps: [], extra: nil, manager: nil, from: nil ] do @moduledoc """ This is a record that keeps information about your project dependencies. It contains: * `scm` - a module representing the source code managem...
33.606715
120
0.661481
daebe5fc363f3b4191af7c1d3d10db755ca32dee
1,287
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_list.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 "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.930233
89
0.738151
daec22c0ddb75feeddc1c99e28564bd3c6db1f18
6,592
exs
Elixir
test/test_helper.exs
rauann/ecto_adapters_dynamodb
4762bab21c4715775b6155f0c76b3cfabdeebc6e
[ "Apache-2.0" ]
50
2017-06-21T00:15:15.000Z
2022-01-18T04:12:24.000Z
test/test_helper.exs
rauann/ecto_adapters_dynamodb
4762bab21c4715775b6155f0c76b3cfabdeebc6e
[ "Apache-2.0" ]
91
2018-01-10T19:29:25.000Z
2022-02-24T16:12:26.000Z
test/test_helper.exs
rauann/ecto_adapters_dynamodb
4762bab21c4715775b6155f0c76b3cfabdeebc6e
[ "Apache-2.0" ]
11
2017-11-28T06:22:58.000Z
2022-01-04T18:03:11.000Z
# Load all our support files first, since we need some of them to define our helper modules files = File.ls!("./test/support") |> Enum.filter(&String.ends_with?(&1, [".ex", ".exs"])) Enum.each(files, fn file -> Code.require_file("support/#{file}", __DIR__) end) defmodule TestHelper do alias ExAws.Dynamo alias ...
26.262948
105
0.565686
daec2d7a3508fce7e965a180664c1e3e7d1cd7ae
684
ex
Elixir
test/support/factory.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
test/support/factory.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
test/support/factory.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
defmodule OnlineEditor.Factory do use ExMachina.Ecto, repo: OnlineEditor.Repo alias OnlineEditor.Document alias OnlineEditor.Folder alias OnlineEditor.User def document_factory() do %Document{ name: "Document name.txt", content: "This is the document text content", owner: "ville.heikkin...
20.117647
51
0.628655
daec3af7975efe20228619f1d20e1964713ceb54
71
ex
Elixir
golf_phoenix/lib/golf_phoenix_web/views/layout_view.ex
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
golf_phoenix/lib/golf_phoenix_web/views/layout_view.ex
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
golf_phoenix/lib/golf_phoenix_web/views/layout_view.ex
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
defmodule GolfPhoenixWeb.LayoutView do use GolfPhoenixWeb, :view end
17.75
38
0.830986
daec61dc50ef90ec8a57e33105cd67427b5d2527
275
ex
Elixir
lib/phoenix_react_starter.ex
devin-henslee/phoenix-react-starter
ec1a3b971b4e4c8db960a66fddb67da02811e4ab
[ "MIT" ]
null
null
null
lib/phoenix_react_starter.ex
devin-henslee/phoenix-react-starter
ec1a3b971b4e4c8db960a66fddb67da02811e4ab
[ "MIT" ]
null
null
null
lib/phoenix_react_starter.ex
devin-henslee/phoenix-react-starter
ec1a3b971b4e4c8db960a66fddb67da02811e4ab
[ "MIT" ]
null
null
null
defmodule PhoenixReactStarter do @moduledoc """ PhoenixReactStarter keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
27.5
66
0.774545
daec669e7e15225e755ae80e164197846630364c
590
ex
Elixir
lib/offsite/downloaders/download.ex
Arp-G/offsite
31ae9332cead20a045948d8850f68fc9e7ab1db4
[ "MIT" ]
null
null
null
lib/offsite/downloaders/download.ex
Arp-G/offsite
31ae9332cead20a045948d8850f68fc9e7ab1db4
[ "MIT" ]
null
null
null
lib/offsite/downloaders/download.ex
Arp-G/offsite
31ae9332cead20a045948d8850f68fc9e7ab1db4
[ "MIT" ]
null
null
null
defmodule Offsite.Downloaders.Download do @moduledoc """ A struct representing a download """ use TypedStruct typedstruct do @typedoc "A download" field :id, String.t() field :pid, pid() field :name, String.t() field :src, String.t() field :dest, String.t() field :status, :initi...
24.583333
77
0.655932
daec806c324b4b0c0d50bcf13bdef694cf863294
103
ex
Elixir
test/support/apps/phx1_4/lib/phx1_4/repo.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
528
2019-09-13T15:10:36.000Z
2022-03-31T10:28:27.000Z
test/support/apps/phx1_4/lib/phx1_4/repo.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
133
2019-09-13T17:46:59.000Z
2022-03-01T13:37:10.000Z
test/support/apps/phx1_4/lib/phx1_4/repo.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
38
2019-10-29T20:37:13.000Z
2022-03-03T05:19:33.000Z
defmodule Phx14.Repo do use Ecto.Repo, otp_app: :phx1_4, adapter: Ecto.Adapters.Postgres end
17.166667
35
0.718447
daeca41268e0c01983290d47ee4292d86b9ce1a9
1,417
exs
Elixir
test/screens_web/controllers/auth_controller_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
test/screens_web/controllers/auth_controller_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
test/screens_web/controllers/auth_controller_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule ScreensWeb.Controllers.AuthControllerTest do use ScreensWeb.ConnCase describe "callback" do test "redirects on success and saves refresh token", %{conn: conn} do current_time = System.system_time(:second) auth = %Ueberauth.Auth{ uid: "foo@mbta.com", credentials: %Ueberaut...
28.918367
88
0.642202
daecb1419d4ffd874d40fae59919de2b453b7787
1,173
ex
Elixir
lib/ex_aws/s3/delete_all_objects.ex
almirsarajcic/ex_aws_s3
1610f22a7ecf3428d5e1db3bddccd035a2c4c36e
[ "Unlicense", "MIT" ]
null
null
null
lib/ex_aws/s3/delete_all_objects.ex
almirsarajcic/ex_aws_s3
1610f22a7ecf3428d5e1db3bddccd035a2c4c36e
[ "Unlicense", "MIT" ]
null
null
null
lib/ex_aws/s3/delete_all_objects.ex
almirsarajcic/ex_aws_s3
1610f22a7ecf3428d5e1db3bddccd035a2c4c36e
[ "Unlicense", "MIT" ]
1
2021-08-06T09:42:43.000Z
2021-08-06T09:42:43.000Z
defmodule ExAws.Operation.S3DeleteAllObjects do defstruct [ bucket: nil, objects: [], opts: [], service: :s3 ] @type t :: %__MODULE__{} defimpl ExAws.Operation do def perform(%{bucket: bucket, objects: objects, opts: opts}, config) do request_fun = fn objects_in_batch -> buc...
27.27907
75
0.634271
daecd9e8ac3f5d9690acaafe5c0031d40e80e3ec
1,867
exs
Elixir
clients/testing/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/testing/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/testing/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "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...
27.865672
134
0.658275
daeceaa84924fb95c15c17ffe39cf3ae47d3d250
3,692
exs
Elixir
apps/forklift/test/unit/integration/event/event_handling_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/forklift/test/unit/integration/event/event_handling_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/forklift/test/unit/integration/event/event_handling_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Forklift.Event.EventHandlingTest do use ExUnit.Case use Placebo import Mox import SmartCity.Event, only: [data_ingest_start: 0, dataset_update: 0, data_ingest_end: 0, dataset_delete: 0] alias Forklift.Event.EventHandler alias SmartCity.TestDataGenerator, as: TDG @instance_name Forklift.i...
31.288136
96
0.648158
daeceeb539288cf08b328996ad1f96cfec0925f6
4,109
exs
Elixir
test/cluster/strategy/cloud_foundry_eureka_test.exs
DylanGriffith/libcluster-cloud-foundry
6c9d08cdafb055e9bab09ce5c6818ecc93f9c96b
[ "MIT" ]
1
2018-03-13T03:05:17.000Z
2018-03-13T03:05:17.000Z
test/cluster/strategy/cloud_foundry_eureka_test.exs
DylanGriffith/libcluster-cloud-foundry
6c9d08cdafb055e9bab09ce5c6818ecc93f9c96b
[ "MIT" ]
null
null
null
test/cluster/strategy/cloud_foundry_eureka_test.exs
DylanGriffith/libcluster-cloud-foundry
6c9d08cdafb055e9bab09ce5c6818ecc93f9c96b
[ "MIT" ]
null
null
null
defmodule Cluster.Strategy.CloudFoundryEurekaTest do use ExUnit.Case import Cluster.Strategy.CloudFoundryEureka defmodule StubHttpcGetToken do def request(method, {uri, headers, content_type, body}, [], []) do send self(), %{method: method, uri: uri, headers: headers, content_type: content_type, body: ...
32.611111
124
0.573862
daed37fe1a4bd3b7f4f857c71c7a23f1482f5d19
3,179
ex
Elixir
lib/memento_web/live/entries_live.ex
fully-forged/memento
03bf481f0bfb1c8fbf8b7b2d1a79f4ad5e681cbb
[ "MIT" ]
103
2018-01-12T12:35:12.000Z
2021-12-06T03:21:16.000Z
lib/memento_web/live/entries_live.ex
fully-forged/memento
03bf481f0bfb1c8fbf8b7b2d1a79f4ad5e681cbb
[ "MIT" ]
47
2018-01-12T15:40:04.000Z
2022-03-25T02:11:47.000Z
lib/memento_web/live/entries_live.ex
fully-forged/memento
03bf481f0bfb1c8fbf8b7b2d1a79f4ad5e681cbb
[ "MIT" ]
9
2018-01-12T22:20:35.000Z
2021-03-28T11:42:51.000Z
defmodule MementoWeb.EntriesLive do use MementoWeb, :live_view alias Memento.{Capture, Entry} alias MementoWeb.{EntriesLive, EntryView, QsParamsValidator} @impl true def mount(qs_params, _session, socket) do if connected?(socket) do Capture.subscribe() end {:ok, params} = QsParamsValidato...
27.643478
96
0.62095
daed3c57135d6640b1909596f68f4ded99e14fe4
1,356
exs
Elixir
mix.exs
raymondboswel/sgp30
46bc35b7b2bb68e32a3039bc15ec99ce63d87714
[ "Apache-2.0" ]
null
null
null
mix.exs
raymondboswel/sgp30
46bc35b7b2bb68e32a3039bc15ec99ce63d87714
[ "Apache-2.0" ]
null
null
null
mix.exs
raymondboswel/sgp30
46bc35b7b2bb68e32a3039bc15ec99ce63d87714
[ "Apache-2.0" ]
null
null
null
defmodule SGP30.MixProject do use Mix.Project @version "0.2.1" @source_url "https://github.com/jjcarstens/sgp30" def project do [ app: :sgp30, version: @version, elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), description: "Interface with SGP30 gas ...
19.941176
103
0.522861
daed41d70a04d8587f42c2a92da09dbc21931af0
1,687
exs
Elixir
test/hlds_logs_test.exs
JonnyPower/hlds_logs
be0b58bc5f482da7c6f31cfe3e699875d40ae719
[ "MIT" ]
2
2021-09-12T00:11:44.000Z
2022-02-13T20:45:40.000Z
test/hlds_logs_test.exs
JonnyPower/hlds_logs
be0b58bc5f482da7c6f31cfe3e699875d40ae719
[ "MIT" ]
1
2018-11-19T04:47:38.000Z
2018-11-19T04:47:38.000Z
test/hlds_logs_test.exs
JonnyPower/hlds_logs
be0b58bc5f482da7c6f31cfe3e699875d40ae719
[ "MIT" ]
null
null
null
defmodule HLDSLogsTest do use ExUnit.Case doctest HLDSLogs defmodule TestConsumer do use GenStage def start_link(test_pid), do: GenStage.start_link(__MODULE__, test_pid) def init(test_pid), do: {:consumer, test_pid} def handle_events(_events, _from, test_pid), do: {:noreply, [], test_pid} def...
25.179104
80
0.624778
daed437e7df1429754d313eb40300d1167c5b4f9
8,433
exs
Elixir
unsilo/test/unsilo/feeds/feeds_test.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
1
2019-03-21T02:43:06.000Z
2019-03-21T02:43:06.000Z
unsilo/test/unsilo/feeds/feeds_test.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
3
2021-03-09T01:43:16.000Z
2022-02-10T17:04:55.000Z
unsilo/test/unsilo/feeds/feeds_test.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
null
null
null
defmodule Unsilo.FeedsTest do use Unsilo.DataCase import Unsilo.Factory alias Unsilo.Feeds setup do user = insert(:user) admin_user = insert(:user, role: :admin) other_user = insert(:user) {:ok, [user: user, admin_user: admin_user, other_user: other_user]} end describe "rivers" do al...
34.420408
112
0.64295
daed5f86d61d4880aa25993707d7ba387484d457
1,554
ex
Elixir
lib/daguex/processor/resolve_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
lib/daguex/processor/resolve_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
lib/daguex/processor/resolve_image.ex
secretworry/daguex
323e9eb6dfe29cb94783937e89244b6de8de7d0c
[ "Apache-2.0" ]
null
null
null
defmodule Daguex.Processor.ResolveImage do use Daguex.Processor import Daguex.Processor.StorageHelper alias Daguex.Pipeline.Context def init(opts) do %{storages: required_option(:storages)} end def process(context, %{storages: storages}) do format = Keyword.get(context.opts, :format) with {...
28.777778
119
0.640283
daed7283efa3c8e3f0e0b8c2c19e43b3c8331c82
2,004
ex
Elixir
lib/guss/signature.ex
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
3
2018-11-29T01:04:51.000Z
2020-01-29T17:55:37.000Z
lib/guss/signature.ex
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
3
2018-12-14T00:33:44.000Z
2020-02-24T03:53:28.000Z
lib/guss/signature.ex
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
3
2019-08-24T21:01:07.000Z
2020-02-20T18:43:23.000Z
defmodule Guss.Signature do @moduledoc """ Signs resources using RSA signatures with SHA256 to authenticate requests. For more information, see [Creating a Signed URL using a program](https://cloud.google.com/storage/docs/access-control/create-signed-urls-program). """ @otp_greater_21? :erlang.system_info(:o...
29.910448
149
0.673653
daed9d59be024d646120b3a90d3b36a6ecdc9007
156
ex
Elixir
06-chapter/16_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
06-chapter/16_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
06-chapter/16_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
defmodule Example do @attr "one" def first, do: @attr @attr "two" def second, do: @attr end IO.puts("#{Example.second()} - #{Example.first()}")
13
51
0.608974
daeda2660a17280162ffecf489af55ff2de47a8c
1,188
ex
Elixir
lib/speakeasy/load_resource_by_id.ex
coletiv/speakeasy
c7a0fe7d88ede6f26eaf0b6d30b8a562dd0a0636
[ "MIT" ]
null
null
null
lib/speakeasy/load_resource_by_id.ex
coletiv/speakeasy
c7a0fe7d88ede6f26eaf0b6d30b8a562dd0a0636
[ "MIT" ]
null
null
null
lib/speakeasy/load_resource_by_id.ex
coletiv/speakeasy
c7a0fe7d88ede6f26eaf0b6d30b8a562dd0a0636
[ "MIT" ]
1
2021-02-12T17:18:50.000Z
2021-02-12T17:18:50.000Z
defmodule Speakeasy.LoadResourceByID do @moduledoc """ A convienence middleware to `LoadResource` using the `:id` in the Absinthe arguments. See the [README](readme.html) for a complete example in a Absinthe Schema. """ @behaviour Absinthe.Middleware alias Speakeasy.LoadResource @doc """ This calls `...
31.263158
92
0.672559
daedae4462a484c7be1fd54acde92fa05fefdae9
4,160
ex
Elixir
apps/re/lib/seller_leads/salesforce/lead.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/lib/seller_leads/salesforce/lead.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/lib/seller_leads/salesforce/lead.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Salesforce.Lead do @moduledoc """ Module for validating salesforce lead entity """ use Ecto.Schema import Ecto.Changeset import EctoEnum @primary_key {:id, :string, []} @doc """ Maps salesforce fields to atoms for internal use """ defenum(Schema, last_name: "LastName", loc...
29.714286
106
0.691106
daedc0f54d97258a628c6577a7c8de2bc86969e4
1,922
ex
Elixir
lib/os/sys_calls/point_lookup.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
farmbot_os/lib/farmbot_os/sys_calls/point_lookup.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
farmbot_os/lib/farmbot_os/sys_calls/point_lookup.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotOS.SysCalls.PointLookup do @moduledoc false alias FarmbotCore.Asset alias FarmbotOS.SysCalls.Movement require Logger @relevant_keys [ :id, :tool_id, :gantry_mounted, :meta, :name, :openfarm_slug, :plant_stage, :pointer_type, :pullout_direction, :reso...
23.156627
78
0.606139
daedca005572134f95cfaa446179c826571ae298
1,282
ex
Elixir
apps/omg_watcher_rpc/lib/web/plugs/health.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/plugs/health.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/plugs/health.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
25.64
90
0.692668
daedf1885ac2c99a6b308923e5cfba03a73c4b89
1,367
ex
Elixir
web/controllers/scheduled_controller.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
web/controllers/scheduled_controller.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
web/controllers/scheduled_controller.ex
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
defmodule VerkWeb.ScheduledController do use VerkWeb.Web, :controller alias Verk.{SortedSet, Redis} @schedule_key "schedule" def index(conn, params) do paginator = VerkWeb.RangePaginator.new( SortedSet.count!(@schedule_key, Redis), params["page"], params["per_page"] ) ...
27.34
88
0.664228
daedff9c1e8271fa2798f1692b42609dad80e1d3
124
exs
Elixir
test/ex_band_namer_test.exs
theRemix/Ex_Band_Namer
cb3163dd668e8618b2f145f1edf0c63349fe4bbc
[ "MIT" ]
null
null
null
test/ex_band_namer_test.exs
theRemix/Ex_Band_Namer
cb3163dd668e8618b2f145f1edf0c63349fe4bbc
[ "MIT" ]
1
2017-06-21T03:20:30.000Z
2017-06-21T03:20:30.000Z
test/ex_band_namer_test.exs
theRemix/Ex_Band_Namer
cb3163dd668e8618b2f145f1edf0c63349fe4bbc
[ "MIT" ]
null
null
null
defmodule ExBandNamerTest do use ExUnit.Case doctest ExBandNamer test "the truth" do assert 1 + 1 == 2 end end
13.777778
28
0.693548
daee2e3587c3ec0e504e3306b9b267788eed2af6
106
exs
Elixir
config/config.exs
pfitz/drain
bdc01405068139fee6402b9af300aa6c2d384aba
[ "Apache-2.0" ]
3
2020-04-09T07:49:15.000Z
2021-09-28T21:57:17.000Z
config/config.exs
pfitz/drain
bdc01405068139fee6402b9af300aa6c2d384aba
[ "Apache-2.0" ]
null
null
null
config/config.exs
pfitz/drain
bdc01405068139fee6402b9af300aa6c2d384aba
[ "Apache-2.0" ]
1
2020-06-11T08:25:07.000Z
2020-06-11T08:25:07.000Z
import Config config :drain, processors: [ Drain.Processor.Logger ], store: Drain.Store.Mnesia
13.25
27
0.698113
daee3de64ef95a518d6b5d8707189138fd5de48e
1,574
ex
Elixir
lib/safira/roulette/attendee_prize.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
40
2018-07-04T19:13:45.000Z
2021-12-16T23:53:43.000Z
lib/safira/roulette/attendee_prize.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
94
2018-07-25T13:13:39.000Z
2022-02-15T04:09:42.000Z
lib/safira/roulette/attendee_prize.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
5
2018-11-26T17:19:03.000Z
2021-02-23T08:09:37.000Z
defmodule Safira.Roulette.AttendeePrize do use Ecto.Schema import Ecto.Changeset alias Safira.Accounts.Attendee alias Safira.Roulette.Prize alias Safira.Repo schema "attendees_prizes" do field :quantity, :integer belongs_to :attendee, Attendee, foreign_key: :attendee_id, type: :binary_id belon...
26.677966
82
0.637865
daee58a3b4185944474f5142360be52d98cfe9fb
5,037
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/admin_blog_tags_live.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
3
2021-06-27T10:26:51.000Z
2022-01-10T13:56:08.000Z
apps/mishka_html/lib/mishka_html_web/live/admin_blog_tags_live.ex
shahryarjb/mishka-cms
c27aaeeaa8dfc568c6c71f67a8e4f147a4d630f9
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/admin_blog_tags_live.ex
shahryarjb/mishka-cms
c27aaeeaa8dfc568c6c71f67a8e4f147a4d630f9
[ "Apache-2.0" ]
null
null
null
defmodule MishkaHtmlWeb.AdminBlogTagsLive do use MishkaHtmlWeb, :live_view alias MishkaContent.Blog.Tag @section_title MishkaTranslator.Gettext.dgettext("html_live", "مدیریت برچسب ها") use MishkaHtml.Helpers.LiveCRUD, module: MishkaContent.Blog.Tag, redirect: __MODULE__, router: Routes @...
34.737931
140
0.618027
daee79db602ebbab24979147feb0cc6411f2dbf8
2,034
exs
Elixir
mix.exs
geometerio/membrane_h264_ffmpeg_plugin
87a348ea595c74684d1a6724b98718ba416c7b3e
[ "Apache-2.0" ]
7
2021-01-30T07:12:03.000Z
2021-12-12T05:28:29.000Z
mix.exs
geometerio/membrane_h264_ffmpeg_plugin
87a348ea595c74684d1a6724b98718ba416c7b3e
[ "Apache-2.0" ]
9
2020-11-20T12:54:15.000Z
2022-03-24T10:26:10.000Z
mix.exs
geometerio/membrane_h264_ffmpeg_plugin
87a348ea595c74684d1a6724b98718ba416c7b3e
[ "Apache-2.0" ]
1
2021-06-21T23:33:50.000Z
2021-06-21T23:33:50.000Z
defmodule Membrane.H264.FFmpeg.Plugin.MixProject do use Mix.Project @version "0.12.1" @github_url "https://github.com/membraneframework/membrane_h264_ffmpeg_plugin" def project do [ app: :membrane_h264_ffmpeg_plugin, compilers: [:unifex, :bundlex] ++ Mix.compilers(), version: @version, ...
27.486486
96
0.566863
daee944bb3add24790f41694664b27bfeea4e33a
3,228
ex
Elixir
clients/container/lib/google_api/container/v1/model/set_labels_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/set_labels_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/set_labels_request.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...
42.473684
140
0.704771
daeeb106861f5162aa38cd7dbfd535791fb7be6b
904
ex
Elixir
lib/naboo_web/token.ex
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
lib/naboo_web/token.ex
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
lib/naboo_web/token.ex
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
defmodule NabooWeb.Token do @secret "Xn2r5u8x!A%D*G-KaPdSgVkYp3s6v9y$" @max_age 600 #10 minutes def generate_verification_token(expected_data) do Phoenix.Token.encrypt(NabooWeb.Endpoint, @secret, expected_data) end def check_verification_token(token, asserted_data) do case Phoenix.Token.decrypt(Nab...
30.133333
87
0.644912
daeed78520408d93c3805f11d82850fae33f759e
979
exs
Elixir
config/config.exs
kuffel/ex_app
c67c1c9f9b48d6020859ea2b1f9d070dca69c84f
[ "MIT" ]
null
null
null
config/config.exs
kuffel/ex_app
c67c1c9f9b48d6020859ea2b1f9d070dca69c84f
[ "MIT" ]
12
2020-11-02T21:22:41.000Z
2021-05-18T13:08:30.000Z
config/config.exs
kuffel/ex_app
c67c1c9f9b48d6020859ea2b1f9d070dca69c84f
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :ex_app, ExAppW...
33.758621
86
0.771195
daeeda2089c87070718e0a9c8de83110c2c16d67
9,877
ex
Elixir
lib/game/session/character.ex
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/game/session/character.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/game/session/character.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Session.Character do @moduledoc """ Implementation for character callbacks """ alias Game.Account alias Game.Character alias Game.Events.CharacterDied alias Game.Events.CurrencyDropped alias Game.Events.CurrencyReceived alias Game.Events.ItemDropped alias Game.Events.ItemReceived a...
26.839674
93
0.648476
daeee060ee92c7275a0a570a8dadc2bdd3cc0da5
1,543
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/workspace_proposal_history_comment.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/workspace_proposal_history_comment.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/workspace_proposal_history_comment.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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 "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.145833
93
0.755023
daeeee21333feb97830e0caa07f6aa37723fed53
6,179
ex
Elixir
lib/ex_admin/themes/active_admin/filter.ex
carakan/ex_admin
c286a0b66c1c0e81c896b71915c7066f66fc94c2
[ "MIT" ]
1,347
2015-10-05T18:23:49.000Z
2022-01-09T18:38:36.000Z
lib/ex_admin/themes/active_admin/filter.ex
carakan/ex_admin
c286a0b66c1c0e81c896b71915c7066f66fc94c2
[ "MIT" ]
402
2015-10-03T13:53:32.000Z
2021-07-08T09:52:22.000Z
lib/ex_admin/themes/active_admin/filter.ex
carakan/ex_admin
c286a0b66c1c0e81c896b71915c7066f66fc94c2
[ "MIT" ]
333
2015-10-12T22:56:57.000Z
2021-05-26T18:40:24.000Z
Code.ensure_compiled(ExAdmin.Utils) defmodule ExAdmin.Theme.ActiveAdmin.Filter do @moduledoc false require Logger require Ecto.Query import ExAdmin.Utils import ExAdmin.Gettext import ExAdmin.Filter use Xain def theme_filter_view(conn, defn, q, order, scope) do markup safe: true do div "#fil...
28.344037
101
0.55106
daeefeb6ac3831ad067e73711ee2b3836decd4d9
1,637
ex
Elixir
lib/phoenix_api_auth_starter_web/endpoint.ex
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
lib/phoenix_api_auth_starter_web/endpoint.ex
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
lib/phoenix_api_auth_starter_web/endpoint.ex
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
defmodule PhoenixApiAuthStarterWeb.Endpoint do use Phoenix.Endpoint, otp_app: :phoenix_api_auth_starter socket "/socket", PhoenixApiAuthStarterWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying you...
29.763636
95
0.718998
daef0297840a8f010bcee0fc1623651a61bea2ca
265
ex
Elixir
apps/tai/lib/tai/commander/get_new_order_by_client_ids.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/lib/tai/commander/get_new_order_by_client_ids.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/commander/get_new_order_by_client_ids.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.Commander.GetNewOrdersByClientIds do @type client_id :: Tai.NewOrders.Order.client_id() @type order :: Tai.NewOrders.Order.t() @spec get([client_id]) :: [order] def get(client_ids) do Tai.NewOrders.get_by_client_ids(client_ids) end end
26.5
52
0.739623