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
332b1bd3a694b3e6f1b1f4a0b1491f5ead4a782b
15,007
exs
Elixir
test/riffed/server_test.exs
renderedtext/riffed
f7d772753236d6c52ba685cf49e501e9b7c930b0
[ "Apache-2.0" ]
null
null
null
test/riffed/server_test.exs
renderedtext/riffed
f7d772753236d6c52ba685cf49e501e9b7c930b0
[ "Apache-2.0" ]
null
null
null
test/riffed/server_test.exs
renderedtext/riffed
f7d772753236d6c52ba685cf49e501e9b7c930b0
[ "Apache-2.0" ]
null
null
null
defmodule ServerTest do use ExUnit.Case, async: false defmodule Server do use Riffed.Server, service: :server_thrift, structs: Data, auto_build_structs: true, functions: [config: &ServerTest.FakeHandler.config/2, dictFun: &ServerTest.FakeHandler.dict_fun/1, dictUserF...
32.134904
114
0.62764
332b3cda7f0995f6ffd0af533993a8a82a9c3146
716
exs
Elixir
ex/apps/corals/test/examples/mastermind/test/mm_score_test.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/apps/corals/test/examples/mastermind/test/mm_score_test.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/apps/corals/test/examples/mastermind/test/mm_score_test.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
defmodule MM.ScoreTest do use ExUnit.Case, async: true import Corals @solution [:red, :green, :blue, :yellow] def score guess do (%{solution: @solution, guess: guess} |> resolve(MM.Score)).score end test "win with 4 blacks" do assert score(@solution) == [:black, :black, :black, :black] end ...
22.375
76
0.608939
332b7c5a93ff3998f9c145fe3a9eb4a2ae75a8cb
875
ex
Elixir
lib/airbrakex/exception_parser.ex
wombatsecurity/airbrakex
aca900123b658797110033d3523c094d262684c0
[ "MIT" ]
null
null
null
lib/airbrakex/exception_parser.ex
wombatsecurity/airbrakex
aca900123b658797110033d3523c094d262684c0
[ "MIT" ]
1
2017-07-25T20:14:30.000Z
2017-07-25T20:14:30.000Z
lib/airbrakex/exception_parser.ex
wombatsecurity/airbrakex
aca900123b658797110033d3523c094d262684c0
[ "MIT" ]
null
null
null
defmodule Airbrakex.ExceptionParser do def parse(exception) do %{ type: exception.__struct__, message: Exception.message(exception), backtrace: stacktrace(System.stacktrace) } end defp stacktrace(stacktrace) do Enum.map stacktrace, fn ({ module, function, args, [] }) -> ...
24.305556
70
0.537143
332b8330e2a0192573fec0ab09ebd38999b0aad9
1,219
ex
Elixir
lib/sparql/algebra/expression/filter.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
lib/sparql/algebra/expression/filter.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
lib/sparql/algebra/expression/filter.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
defmodule SPARQL.Algebra.Filter do defstruct [:filters, :expr] alias SPARQL.Algebra.Expression def result_set(%SPARQL.Query.Result{results: results} = result, filters, data, execution) do %SPARQL.Query.Result{result | results: Enum.filter(results, &(apply?(&1, filters, data, execution))) } end ...
29.02381
94
0.672683
332c10cd5c4d040881fa234ac4f6a6682f9193cb
63
ex
Elixir
example/lib/example_web/views/secret_view.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
example/lib/example_web/views/secret_view.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
example/lib/example_web/views/secret_view.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
defmodule ExampleWeb.SecretView do use ExampleWeb, :view end
15.75
34
0.809524
332c24ed33782a49a02d0171bb1ab54833a87cb2
67,279
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/api/bidders.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/api/bidders.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/api/bidders.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.30351
868
0.622408
332c3a3f819944d1dbfbb946b9adccf93bcc3dbc
15,176
ex
Elixir
clients/iam_credentials/lib/google_api/iam_credentials/v1/api/projects.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/iam_credentials/lib/google_api/iam_credentials/v1/api/projects.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/iam_credentials/lib/google_api/iam_credentials/v1/api/projects.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 ...
44.899408
196
0.632841
332c3f1b5f0631b4f76b1f537d8886b6316a59dd
12,314
exs
Elixir
backend/priv/repo/seeds.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
null
null
null
backend/priv/repo/seeds.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
6
2020-01-31T19:44:15.000Z
2021-09-02T04:26:49.000Z
backend/priv/repo/seeds.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # alias Getaways.Repo alias Getaways.Vacation.{Place, Booking, Review} alias Getaways.Accounts.User # # USERS # mike = %User{} |> User.changeset(%{ username: "mike", email: "mike@example.com", password:...
24.677355
75
0.655839
332c704d3a9371670ecda3c3bd84fcfa053db336
451
ex
Elixir
apps/wdpa_models/lib/wdpa_models/country.ex
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
4
2016-05-08T10:17:19.000Z
2019-06-10T15:23:20.000Z
apps/wdpa_models/lib/wdpa_models/country.ex
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
null
null
null
apps/wdpa_models/lib/wdpa_models/country.ex
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
null
null
null
defmodule WdpaModels.Country do use Ecto.Schema import Ecto import Ecto.Changeset import Ecto.Query schema "countries" do field :name, :string field :iso3, :string timestamps end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) ...
18.04
56
0.638581
332c8d32bc612cc3baaa1fb019a950a7c414b9bc
2,987
exs
Elixir
test/beam_notify_test.exs
nerves-networking/beam_notify
e821f0341d18c398ed8d49785a6350e789d0dc25
[ "Apache-2.0" ]
9
2021-01-20T00:45:10.000Z
2021-07-14T21:39:06.000Z
test/beam_notify_test.exs
nerves-networking/beam_notify
e821f0341d18c398ed8d49785a6350e789d0dc25
[ "Apache-2.0" ]
3
2021-10-11T18:48:48.000Z
2022-01-24T15:40:28.000Z
test/beam_notify_test.exs
nerves-networking/beam_notify
e821f0341d18c398ed8d49785a6350e789d0dc25
[ "Apache-2.0" ]
null
null
null
defmodule BEAMNotifyTest do use ExUnit.Case require Bitwise defp beam_notify_child_spec(context, extra_options \\ []) do us = self() base_options = [name: context.test, dispatcher: &send(us, {&1, &2})] {BEAMNotify, Keyword.merge(base_options, extra_options)} end test "directly sending a message"...
32.11828
95
0.634751
332c942d1d21aec296a0e02dd8ae5a0d995be2de
366
exs
Elixir
priv/repo/seeds.exs
ElixirStudy0730/phoenix_webpack2
57ef370e7dc6c3ac3c74b820ff459a6381ca23e7
[ "MIT" ]
1
2017-03-02T15:59:10.000Z
2017-03-02T15:59:10.000Z
priv/repo/seeds.exs
ElixirStudy0730/phoenix_webpack2
57ef370e7dc6c3ac3c74b820ff459a6381ca23e7
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
ElixirStudy0730/phoenix_webpack2
57ef370e7dc6c3ac3c74b820ff459a6381ca23e7
[ "MIT" ]
1
2017-03-03T02:21:51.000Z
2017-03-03T02:21:51.000Z
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # PhoenixWebpack2.Repo.insert!(%PhoenixWebpack2.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so o...
30.5
64
0.718579
332cc258f39c2c92077f780b421594d0da86d175
729
ex
Elixir
episode16/todo/lib/todo.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode16/todo/lib/todo.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode16/todo/lib/todo.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule Todo do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false # Define workers and child supervisors to be supervised children = [ # Starts a worker ...
30.375
67
0.687243
332d04c7b33e35b887723142f30280fa76e835ef
6,540
exs
Elixir
crawler_challenge/test/crawler_challenge/processes_test.exs
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
crawler_challenge/test/crawler_challenge/processes_test.exs
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
3
2021-05-08T08:50:39.000Z
2022-02-10T19:40:38.000Z
crawler_challenge/test/crawler_challenge/processes_test.exs
tuliostarling/elixir-crawler
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
defmodule CrawlerChallenge.ProcessesTest do use CrawlerChallenge.DataCase alias CrawlerChallenge.{NebulexCache, Processes, Repo} import CrawlerChallenge.Unpreloader describe "processes" do alias CrawlerChallenge.Processes.Process @update_attrs %{process_number: "0717561-98.2019.8.02.0001"} @inva...
39.161677
120
0.675535
332d32852afaf904e5e7ad73da3aec59db6d0007
6,598
exs
Elixir
test/rihanna/job_test.exs
lpil/rihanna
83db1fab1550244a9e3cb347ccda607f5ff4e4b5
[ "MIT" ]
1
2019-02-11T14:07:57.000Z
2019-02-11T14:07:57.000Z
test/rihanna/job_test.exs
lpil/rihanna
83db1fab1550244a9e3cb347ccda607f5ff4e4b5
[ "MIT" ]
null
null
null
test/rihanna/job_test.exs
lpil/rihanna
83db1fab1550244a9e3cb347ccda607f5ff4e4b5
[ "MIT" ]
null
null
null
defmodule Rihanna.JobTest do use ExUnit.Case, async: false import Rihanna.Job import TestHelper doctest Rihanna.Job @class_id Rihanna.Config.pg_advisory_lock_class_id() setup_all [:create_jobs_table] setup %{pg: pg} do Postgrex.query!(pg, "DELETE FROM rihanna_jobs;", []) job = insert_job(pg, :r...
28.439655
94
0.570931
332d3c370c164e37d12985896e0d889727954c39
1,803
ex
Elixir
clients/data_fusion/lib/google_api/data_fusion/v1/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_fusion/lib/google_api/data_fusion/v1/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_fusion/lib/google_api/data_fusion/v1/model/list_operations_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...
36.06
169
0.739323
332d42ace52dfca545655467c0abeedb59ffc421
1,799
exs
Elixir
test/processes/gen_server_client.exs
jnederhoff/gen_async_call
f4bdeab81233691b49d99b80252d8ac22f5e2d45
[ "Apache-2.0" ]
null
null
null
test/processes/gen_server_client.exs
jnederhoff/gen_async_call
f4bdeab81233691b49d99b80252d8ac22f5e2d45
[ "Apache-2.0" ]
null
null
null
test/processes/gen_server_client.exs
jnederhoff/gen_async_call
f4bdeab81233691b49d99b80252d8ac22f5e2d45
[ "Apache-2.0" ]
null
null
null
defmodule GenServerClient do use GenServer use GenAsyncCall.GenServer import GenAsyncCall, only: [mfa: 1] require Logger def test_async_sleep(pid, time, opts \\ []) do GenServer.call(pid, {:test_async_sleep, time, opts}) end def test_async_sleep_fn(pid, time, opts \\ []) do GenServer.call(pid, {...
23.064103
122
0.653141
332d43120b4953c55769b85974a64c38b436fe04
462
ex
Elixir
lib/otto_api/http/behaviour.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
null
null
null
lib/otto_api/http/behaviour.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
1
2020-11-11T15:16:51.000Z
2020-11-11T20:53:34.000Z
lib/otto_api/http/behaviour.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
null
null
null
defmodule OttoApi.Http.Behaviour do @callback get(String.t(), list(), list()) :: {:ok, %HTTPoison.Response{}} @callback delete(String.t(), list(), list()) :: {:ok, %HTTPoison.Response{}} @callback post(String.t(), String.t(), list(), list()) :: {:ok, %HTTPoison.Response{}} @callback patch(String.t(), String.t()...
57.75
89
0.619048
332d5e65fd99dd220f5b4a842e0bbc3a5303247a
2,169
ex
Elixir
apps/nerves_hub_device/test/support/conn_case.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_device/test/support/conn_case.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_device/test/support/conn_case.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubDeviceWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally...
28.92
86
0.701706
332d663c1983f53476ba372d4758df95be5450c0
1,648
ex
Elixir
demo/lib/demo_web/endpoint.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
40
2017-09-07T03:25:23.000Z
2022-02-27T04:47:14.000Z
demo/lib/demo_web/endpoint.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
7
2017-09-06T23:56:36.000Z
2019-09-06T09:49:16.000Z
demo/lib/demo_web/endpoint.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
15
2017-09-29T09:16:11.000Z
2022-01-19T22:48:14.000Z
defmodule DemoWeb.Endpoint do use Phoenix.Endpoint, otp_app: :demo socket "/socket", DemoWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, ...
28.413793
95
0.70449
332d6aab9cfcc6dbb2b54b32ee2cf4f52d1cedfd
115,900
ex
Elixir
lib/elixir/lib/enum.ex
fireproofsocks/elixir
b5b96b9bda24e68f7903f556dae1a8473f0363f5
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
fireproofsocks/elixir
b5b96b9bda24e68f7903f556dae1a8473f0363f5
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
fireproofsocks/elixir
b5b96b9bda24e68f7903f556dae1a8473f0363f5
[ "Apache-2.0" ]
null
null
null
defprotocol Enumerable do @moduledoc """ Enumerable protocol used by `Enum` and `Stream` modules. When you invoke a function in the `Enum` module, the first argument is usually a collection that must implement this protocol. For example, the expression: Enum.map([1, 2, 3], &(&1 * 2)) invokes `Enume...
28.809346
115
0.617006
332d6cd615533fe0d85d601d913c2fc73ec2b1ef
9,418
ex
Elixir
lib/exonerate.ex
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
14
2021-01-14T20:14:30.000Z
2022-01-28T00:58:07.000Z
lib/exonerate.ex
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
13
2019-09-11T17:48:48.000Z
2021-11-22T23:02:44.000Z
lib/exonerate.ex
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
1
2021-09-12T13:08:54.000Z
2021-09-12T13:08:54.000Z
defmodule Exonerate do @moduledoc """ An opinionated JSONSchema compiler for elixir. Currently supports JSONSchema drafts 4, 6, 7, 2019, and 2020. *except:* - integer filters do not match exact integer floating point values. - multipleOf is not supported for the number type (don't worry, it IS supported ...
30.777778
113
0.63814
332d7f25882dd8574df6eb4c6f0b57778a02d0b0
315
exs
Elixir
apps/local_broadcast/test/local_broadcast/events_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/local_broadcast/test/local_broadcast/events_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/local_broadcast/test/local_broadcast/events_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule LocalBroadcast.EventsTest do use ExUnit.Case alias LocalBroadcast.Events test "subscribe and receive" do Events.subscribe("topic1") Events.broadcast("topic1", :my_event) Events.broadcast("topic2", :not_my_event) assert_receive :my_event refute_receive :not_my_event end end
21
45
0.746032
332d88237b658b9fefd50073bc7cc08888ead899
20,602
ex
Elixir
lib/phoenix/socket/transport.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
1
2021-09-25T11:49:31.000Z
2021-09-25T11:49:31.000Z
lib/phoenix/socket/transport.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
4
2021-03-04T13:00:52.000Z
2021-03-12T12:42:09.000Z
lib/phoenix/socket/transport.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
1
2021-06-22T08:06:06.000Z
2021-06-22T08:06:06.000Z
defmodule Phoenix.Socket.Transport do @moduledoc """ Outlines the Socket <-> Transport communication. This module specifies a behaviour that all sockets must implement. `Phoenix.Socket` is just one possible implementation of a socket that multiplexes events over multiple channels. Developers can implement ...
32.9632
143
0.673915
332d9a8531476c176714c64fc4404141506e653a
1,489
exs
Elixir
mix.exs
jschoch/itil
f14437758b51eda9344a223003d6943678439692
[ "MIT" ]
1
2017-02-01T13:03:10.000Z
2017-02-01T13:03:10.000Z
mix.exs
jschoch/itil
f14437758b51eda9344a223003d6943678439692
[ "MIT" ]
null
null
null
mix.exs
jschoch/itil
f14437758b51eda9344a223003d6943678439692
[ "MIT" ]
null
null
null
defmodule Itil.Mixfile do use Mix.Project def project do [app: :itil, version: "0.1.4", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, package: package(), description: description(), deps: deps()] end # Configuration for the OTP ap...
20.121622
79
0.558093
332dcf572da624abffa0ce3d0b917de670c3980f
2,175
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_group_node.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_group_node.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_group_node.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...
35.080645
140
0.683218
332de0cacc5cfa3a89f7e009ccd2a1d8c54c7370
1,292
ex
Elixir
lib/segment.ex
thiamsantos/analytics-elixir
cdab0ac95d6a9effd9d092bf5747281a2429b2af
[ "MIT" ]
131
2015-09-16T15:18:09.000Z
2022-01-27T02:01:27.000Z
lib/segment.ex
thiamsantos/analytics-elixir
cdab0ac95d6a9effd9d092bf5747281a2429b2af
[ "MIT" ]
32
2015-11-28T01:35:04.000Z
2021-12-15T19:48:07.000Z
lib/segment.ex
thiamsantos/analytics-elixir
cdab0ac95d6a9effd9d092bf5747281a2429b2af
[ "MIT" ]
35
2015-11-24T18:14:04.000Z
2022-01-25T15:42:02.000Z
defmodule Segment do @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) @type segment_event :: Segment.Analytics.Track.t() | Segment.Analytics.Identify.t() | Segment.Analytics.Screen.t() | Segment...
32.3
131
0.664861
332ded06cedd5b844cfdcf497c88053ed5e3ced8
4,369
ex
Elixir
lib/euclid/test/extra/assertions.ex
geometerio/euclid
9a9e059ec77d87858ae7878df8d4d75dc01c57f8
[ "MIT-0" ]
4
2021-06-14T13:54:05.000Z
2021-10-22T02:55:16.000Z
lib/euclid/test/extra/assertions.ex
geometerio/euclid
9a9e059ec77d87858ae7878df8d4d75dc01c57f8
[ "MIT-0" ]
3
2021-06-15T21:45:51.000Z
2022-01-14T20:08:32.000Z
lib/euclid/test/extra/assertions.ex
geometerio/euclid
9a9e059ec77d87858ae7878df8d4d75dc01c57f8
[ "MIT-0" ]
null
null
null
defmodule Euclid.Test.Extra.Assertions do import ExUnit.Assertions def assert_datetime_approximate(left, right, delta \\ 1) do cond do NaiveDateTime.compare(right, NaiveDateTime.add(left, -delta, :second)) == :lt -> "Expected #{right} to be within #{delta} seconds of #{left}" |> flunk() ...
31.890511
131
0.62829
332e023550b9685c995f72073e459972b3dac91b
28,389
exs
Elixir
test/ecto/query/planner_test.exs
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../integration_test/support/types.exs", __DIR__ defmodule Ecto.Query.PlannerTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Query.Planner alias Ecto.Query.JoinExpr defmodule Comment do use Ecto.Schema schema "comments" do field :text, :string ...
38.260108
161
0.587446
332e22252e75074c2347737a0ebf70cf2cc4e1c4
3,738
ex
Elixir
lib/os/update_support.ex
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
lib/os/update_support.ex
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
lib/os/update_support.ex
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
defmodule FarmbotOS.UpdateSupport do @moduledoc false require FarmbotOS.Logger alias FarmbotOS.JSON alias FarmbotOS.Config @skip %{"image_url" => nil} @dl_path '/root/upgrade.fw' @double_flash_error "A software update is already in progress. Please wait." # Determines if there is an OTA update in prog...
29.904
86
0.67282
332e28cd835eb9cc2b85895785a0d13ca86c3ebb
3,591
exs
Elixir
test/integration/openssl_test.exs
voltone/cipher_suites
edea59a9446dcd8889327d68b0fc1645c532cf3f
[ "BSD-3-Clause" ]
7
2016-07-06T11:27:02.000Z
2018-09-03T22:13:48.000Z
test/integration/openssl_test.exs
voltone/cipher_suites
edea59a9446dcd8889327d68b0fc1645c532cf3f
[ "BSD-3-Clause" ]
1
2018-03-27T21:13:44.000Z
2018-04-11T14:52:25.000Z
test/integration/openssl_test.exs
voltone/cipher_suites
edea59a9446dcd8889327d68b0fc1645c532cf3f
[ "BSD-3-Clause" ]
1
2018-10-13T02:16:05.000Z
2018-10-13T02:16:05.000Z
defmodule CipherSuites.OpenSSLTest do use ExUnit.Case # Integration testing with OpenSSL's CLI. Make sure the `openssl` # binary exists in your $PATH, or that you specify its full path # using the :openssl_cmd configuration for your test environment. @moduletag :openssl setup_all do all = openssl_cip...
23.470588
86
0.604845
332e32c000152e732edd52e0874871f6084a6ef3
2,501
ex
Elixir
lib/shove/apns/connection.ex
bratsche/shove
d85efc0269642cdd16d9f92be4646eccf0218e99
[ "MIT" ]
4
2016-01-15T04:29:31.000Z
2017-04-12T04:51:06.000Z
lib/shove/apns/connection.ex
bratsche/shove
d85efc0269642cdd16d9f92be4646eccf0218e99
[ "MIT" ]
null
null
null
lib/shove/apns/connection.ex
bratsche/shove
d85efc0269642cdd16d9f92be4646eccf0218e99
[ "MIT" ]
1
2016-05-19T10:20:17.000Z
2016-05-19T10:20:17.000Z
defmodule Shove.APNS.Connection do use GenServer require Logger alias Shove.APNS.Notification def start(worker \\ nil) do config = Application.get_all_env(:shove)[:apns] state = %{ config: config, push_socket: nil, feedback_socket: nil, worker: worker } :ssl.start() ...
24.281553
82
0.638545
332e8f2f38c26f2f0c25df101eb8396123f0454f
9,326
ex
Elixir
lib/game/session/character.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/game/session/character.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/game/session/character.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Game.Session.Character do @moduledoc """ Implementation for character callbacks """ use Networking.Socket alias Game.Character alias Game.Experience alias Game.Format alias Game.Hint alias Game.Items alias Game.Quest alias Game.Session alias Game.Session.Effects alias Game.Session....
26.196629
95
0.629101
332f0e747d8e7e890db8fb49a053490fb4dd5fe6
1,028
ex
Elixir
lib/xdr/ledger_entries/string32.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/ledger_entries/string32.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/ledger_entries/string32.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.String32 do @moduledoc """ Representation of Stellar `String32` type. """ @behaviour XDR.Declaration @type t :: %__MODULE__{value: String.t()} defstruct [:value] @max_length 32 @spec new(value :: String.t()) :: t() def new(value), do: %__MODULE__{value: value} @impl tr...
21.416667
76
0.640078
332f4ac62b68da02b0b4a6437a40a40c072d37fa
435
ex
Elixir
lib/authit/plug/enforce.ex
StephaneRob/authit
e5b3f637676ba7b16aa0c8d28c29f73d368bc3c4
[ "BSD-2-Clause" ]
1
2021-09-28T15:29:15.000Z
2021-09-28T15:29:15.000Z
lib/authit/plug/enforce.ex
StephaneRob/authit
e5b3f637676ba7b16aa0c8d28c29f73d368bc3c4
[ "BSD-2-Clause" ]
null
null
null
lib/authit/plug/enforce.ex
StephaneRob/authit
e5b3f637676ba7b16aa0c8d28c29f73d368bc3c4
[ "BSD-2-Clause" ]
null
null
null
defmodule Authit.Plug.Enforce do alias Authit.ResponseHandler def init(opts) do opts end def call(conn, _opts) do Plug.Conn.register_before_send(conn, fn new_conn -> if new_conn.assigns[:permissions_checked] do new_conn else :authit |> Application.get_env(:response_...
21.75
80
0.678161
332f6f73c7e1f855e5634eac504396c777d39dba
4,591
ex
Elixir
core/config/gear.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
core/config/gear.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
core/config/gear.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:21.000Z
2020-08-27T18:43:21.000Z
# Copyright(c) 2015-2020 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.Config.Gear do alias Croma.Result, as: R alias Antikythera.{GearName, SecondsSinceEpoch} alias Antikythera.Crypto.Aes alias AntikytheraCore.Path, as: CorePath alias AntikytheraCore.Ets.ConfigCache.Gear, as: GC...
40.27193
148
0.6846
332fdac86abf2aa3e9ba8f5deb74db23312bbe67
2,652
ex
Elixir
lib/assert_value/formatter.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
79
2017-10-25T11:06:32.000Z
2021-08-16T08:55:19.000Z
lib/assert_value/formatter.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
11
2017-11-15T17:09:42.000Z
2022-03-18T10:52:19.000Z
lib/assert_value/formatter.ex
alecho/assert_value_elixir
1b8884d96700e72d45e8f46912f16b56b9aaba32
[ "MIT" ]
6
2017-05-18T14:52:14.000Z
2022-03-18T20:02:39.000Z
defmodule AssertValue.Formatter do import AssertValue.StringTools def new_expected_from_actual_value(actual) do if is_binary(actual) and length(to_lines(actual)) > 1 do format_as_heredoc(actual) else if Version.match?(System.version, ">= 1.6.5") do Macro.to_string(actual) else ...
31.571429
79
0.676094
332fe138eb70caa6e316f1866c552d9652d0dc53
1,537
ex
Elixir
lib/cadet_web.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
lib/cadet_web.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
lib/cadet_web.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
# credo:disable-for-this-file Credo.Check.Consistency.MultiAliasImportRequireUse defmodule CadetWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use CadetWeb, :controller use CadetWeb, :vi...
22.940299
80
0.696161
33300073d5f1ce04bb3b97efc12f847b6484d926
66,855
ex
Elixir
lib/elixir/lib/kernel/special_forms.ex
nashby/elixir
4384cbb8ef5946977a363300d1f02a6202ddaf4b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/special_forms.ex
nashby/elixir
4384cbb8ef5946977a363300d1f02a6202ddaf4b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/special_forms.ex
nashby/elixir
4384cbb8ef5946977a363300d1f02a6202ddaf4b
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.SpecialForms do @moduledoc """ Special forms are the basic building blocks of Elixir, and therefore cannot be overridden by the developer. The `Kernel.SpecialForms` module consists solely of macros that can be invoked anywhere in Elixir code without the use of the `Kernel.SpecialForms.` pr...
29.143418
147
0.633625
3330025a8fb35b528b76c3f3558dc3aa698a72b6
1,659
ex
Elixir
lib/ecto/schema/metadata.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
lib/ecto/schema/metadata.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
lib/ecto/schema/metadata.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Schema.Metadata do @moduledoc """ Stores metadata of a struct. ## State The state of the schema is stored in the `:state` field and allows following values: * `:built` - the struct was constructed in memory and is not persisted to database yet; * `:loaded` - the struct was load...
26.333333
85
0.643159
333004cec1e597dbb49c2963d5da9c6e7f4b1e20
1,119
ex
Elixir
lib/kommissar/resources/commission.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
lib/kommissar/resources/commission.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
lib/kommissar/resources/commission.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
defmodule Kommissar.Resources.Commission do use Ecto.Schema import Ecto.Changeset alias Kommissar.Resources.{Tag,Client} alias Kommissar.Repo @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "commissions" do field :file_location, :string field :name, :string ...
26.642857
119
0.66756
3330277834ae6a26b18ad021b42650ca04f1aedf
536
exs
Elixir
apps/gitrekt/mix.exs
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
1
2019-09-08T07:48:10.000Z
2019-09-08T07:48:10.000Z
apps/gitrekt/mix.exs
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
null
null
null
apps/gitrekt/mix.exs
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
null
null
null
defmodule GitRekt.Mixfile do use Mix.Project def project do [app: :gitrekt, version: "0.2.7", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", compilers: [:elixir_make] ++ Mix.compilers,...
20.615385
48
0.563433
33302a344def716f270231558a59cb02d08dd8f5
476
exs
Elixir
config/test.exs
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "MIT" ]
null
null
null
config/test.exs
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "MIT" ]
null
null
null
config/test.exs
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "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 :wiki, Wiki.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :wiki, Wiki.Repo, adapter: ...
23.8
56
0.72479
33306898e60270fecc3468c9bec5aa3e1a688c37
435
exs
Elixir
priv/repo/migrations/20200623132541_create_servers.exs
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
priv/repo/migrations/20200623132541_create_servers.exs
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
1
2020-08-04T19:50:09.000Z
2020-08-04T19:50:09.000Z
priv/repo/migrations/20200623132541_create_servers.exs
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
defmodule Webchat.Repo.Migrations.CreateServers do use Ecto.Migration def change do create table(:servers) do add :name, :string, null: false add :user_id, references(:users, on_delete: :delete_all), null: false timestamps() end alter table(:chatrooms) do add :server_id, refer...
22.894737
79
0.68046
333091440e93e01c5ca0e67d06ebbd72bf6f8719
209
ex
Elixir
lib/distillery/hooks/seeders.ex
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
6
2018-07-25T18:35:57.000Z
2018-11-03T17:01:02.000Z
lib/distillery/hooks/seeders.ex
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
19
2018-11-12T05:29:44.000Z
2020-04-12T01:04:41.000Z
lib/distillery/hooks/seeders.ex
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
1
2020-04-12T00:36:50.000Z
2020-04-12T00:36:50.000Z
defmodule Distillery.Hooks.Seeders do @moduledoc false alias Distillery.{Services, Database} def run() do Services.start_services() Database.run_seeds() Services.stop_services() end end
16.076923
39
0.727273
3330bb61e20f6c6b180e7096ece7d9b795f4f744
213
exs
Elixir
priv/repo/migrations/20200606150458_create_counties.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
priv/repo/migrations/20200606150458_create_counties.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
priv/repo/migrations/20200606150458_create_counties.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETL.Repo.Migrations.CreateCounties do use Ecto.Migration def change do create table(:counties, primary_key: false) do add :id, :bigint, primary_key: true, null: false end end end
21.3
54
0.71831
3330ca216e5b4669906867b3687718f4d5bac2b8
3,372
ex
Elixir
apps/translations/lib/translations.ex
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
1
2021-11-03T03:26:44.000Z
2021-11-03T03:26:44.000Z
apps/translations/lib/translations.ex
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
null
null
null
apps/translations/lib/translations.ex
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
null
null
null
defmodule Translations do @moduledoc """ Translations 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. """ @doc """ Traverse the errors in a Changeset and present ea...
36.652174
87
0.681791
3330dfe43d2b7af8f6e332e27b2234294050156e
2,921
exs
Elixir
test/process_managers/process_manager_idle_timeout_test.exs
SimpleBet/commanded
dc89737bd22daf4f6c5b3333b5d8d8de47fea5b8
[ "MIT" ]
null
null
null
test/process_managers/process_manager_idle_timeout_test.exs
SimpleBet/commanded
dc89737bd22daf4f6c5b3333b5d8d8de47fea5b8
[ "MIT" ]
null
null
null
test/process_managers/process_manager_idle_timeout_test.exs
SimpleBet/commanded
dc89737bd22daf4f6c5b3333b5d8d8de47fea5b8
[ "MIT" ]
null
null
null
defmodule Commanded.ProcessManagers.ProcessManagerIdleTimeoutTest do use Commanded.StorageCase alias Commanded.ProcessManagers.ExampleApp alias Commanded.ProcessManagers.ExampleAggregate.Commands.Start alias Commanded.ProcessManagers.ExampleAggregate.Commands.Stop alias Commanded.ProcessManagers.ExampleRoute...
31.074468
75
0.722013
3330e9b815e517146ed8dac05964dcf4b38e6aeb
665
ex
Elixir
lib/pixie/backends/redis/channel_subscriptions.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/backends/redis/channel_subscriptions.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/backends/redis/channel_subscriptions.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
defmodule Pixie.Backend.Redis.ChannelSubscriptions do import Pixie.Backend.Redis.Connection def get channel_name do {:ok, client_ids} = query ["SMEMBERS", key(channel_name)] client_ids end def subscriber_count channel_name do {:ok, size} = query ["SCARD", key(channel_name)] String.to_integer s...
23.75
62
0.709774
33311d6996190dfa8dbba8700d252dd7c21e9b23
966
ex
Elixir
test/support/channel_case.ex
AgtLucas/jean-grey
2aa3de025de67124c0d2bc6621f7795b547011e5
[ "MIT" ]
null
null
null
test/support/channel_case.ex
AgtLucas/jean-grey
2aa3de025de67124c0d2bc6621f7795b547011e5
[ "MIT" ]
null
null
null
test/support/channel_case.ex
AgtLucas/jean-grey
2aa3de025de67124c0d2bc6621f7795b547011e5
[ "MIT" ]
null
null
null
defmodule JeanGrey.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot be...
23
67
0.701863
3331208ad6bdb5c4b91da7ad8a9733e2c1cbfdf0
806
ex
Elixir
lib/xeroxero/core_api/models/branding_themes/branding_theme.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-12-01T18:21:31.000Z
2021-12-01T18:21:31.000Z
lib/xeroxero/core_api/models/branding_themes/branding_theme.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
null
null
null
lib/xeroxero/core_api/models/branding_themes/branding_theme.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-10-01T12:09:46.000Z
2021-10-01T12:09:46.000Z
defmodule XeroXero.CoreApi.Models.BrandingThemes.BrandingTheme do use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, except: [:__meta__, :id]} schema "brandingthemes" do field :BrandingThemeID, Ecto.UUID field :CreatedDateUTC, :string field :Name, :string ...
33.583333
102
0.662531
333156726cfb324273c26e64d031e94a5f4da818
884
ex
Elixir
apps/bernard_api/test/support/conn_case.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
apps/bernard_api/test/support/conn_case.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
apps/bernard_api/test/support/conn_case.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
defmodule BernardApiWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if ...
25.257143
58
0.7319
33315e33eb2858229301a92b70cd5fe680139350
3,657
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.034483
141
0.685808
333161c073d90a1e8e83ef7fa474fd13d6e0874f
1,568
exs
Elixir
mix.exs
bakaboom/bamboo_smtp
e01fea3c1d4f7cda1797d6471ff122d6570dd545
[ "MIT" ]
134
2016-05-02T10:45:40.000Z
2022-01-31T20:21:31.000Z
mix.exs
bakaboom/bamboo_smtp
e01fea3c1d4f7cda1797d6471ff122d6570dd545
[ "MIT" ]
135
2016-05-30T09:05:57.000Z
2021-11-04T14:45:52.000Z
mix.exs
bakaboom/bamboo_smtp
e01fea3c1d4f7cda1797d6471ff122d6570dd545
[ "MIT" ]
89
2016-05-10T14:16:36.000Z
2021-10-20T01:20:28.000Z
defmodule BambooSmtp.Mixfile do use Mix.Project @project_url "https://github.com/fewlinesco/bamboo_smtp" @version "4.1.0" def project do [ app: :bamboo_smtp, version: @version, elixir: "~> 1.7", source_url: @project_url, homepage_url: @project_url, name: "Bamboo SMTP Ad...
21.479452
66
0.531888
333171c58b98b94b0f44c831b4903d0f04d8d5ce
862
ex
Elixir
lib/honest_chat_web/controllers/user_registration_controller.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
3
2021-11-19T07:18:30.000Z
2021-12-23T22:19:48.000Z
lib/honest_chat_web/controllers/user_registration_controller.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
null
null
null
lib/honest_chat_web/controllers/user_registration_controller.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
null
null
null
defmodule HonestChatWeb.UserRegistrationController do @moduledoc false use HonestChatWeb, :controller alias HonestChat.Accounts alias HonestChat.Accounts.User alias HonestChatWeb.UserAuth def new(conn, _params) do changeset = Accounts.change_user_registration(%User{}) render(conn, "new.html", chan...
26.9375
58
0.655452
33317f4a31f9b282dbfb512b198c5b70a5bd535f
1,218
exs
Elixir
test/farmbot_ext/mqtt/log_handler_support_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/mqtt/log_handler_support_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/mqtt/log_handler_support_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.LogHandlerSupportTest do use ExUnit.Case use Mimic alias FarmbotOS.Log alias FarmbotOS.MQTT alias FarmbotOS.MQTT.{ LogHandlerSupport, LogHandler } # import ExUnit.CaptureLog @bad_log %Log{ level: :success, message: "Your wifi password is foo bar baz", updated_a...
22.555556
75
0.629721
3331be67c819041c8fcb948717dd08357b365646
507
ex
Elixir
lib/flashfeed/release.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
4
2020-02-27T14:29:20.000Z
2021-04-03T19:08:50.000Z
lib/flashfeed/release.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
6
2020-02-17T21:35:04.000Z
2021-09-02T06:46:46.000Z
lib/flashfeed/release.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
null
null
null
defmodule Flashfeed.Release do @moduledoc false @app :flashfeed def migrate do load_app() for repo <- repos() do {:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(&1, :up, all: true)) end end def rollback(repo, version) do load_app() {:ok, _, _} = Ecto.Migrator.with_...
18.777778
91
0.641026
3331d3b5067c88a15423da7759d4b3e1ea7dd81e
5,625
ex
Elixir
lib/benchee/formatters/html.ex
PragTob/benchee_html
0dd2ea95399deb7cfb6013e9be7a70cfa754b807
[ "MIT" ]
36
2016-12-01T08:07:29.000Z
2019-01-09T12:23:43.000Z
lib/benchee/formatters/html.ex
PragTob/benchee_html
0dd2ea95399deb7cfb6013e9be7a70cfa754b807
[ "MIT" ]
40
2016-11-30T10:22:36.000Z
2019-03-13T09:13:49.000Z
lib/benchee/formatters/html.ex
PragTob/benchee_html
0dd2ea95399deb7cfb6013e9be7a70cfa754b807
[ "MIT" ]
11
2017-05-20T09:54:04.000Z
2019-02-07T10:32:49.000Z
defmodule Benchee.Formatters.HTML do @moduledoc """ Functionality for converting Benchee benchmarking results to an HTML page with plotly.js generated graphs and friends. ## Examples list = Enum.to_list(1..10_000) map_fun = fn(i) -> [i, i * i] end Benchee.run( %{ "flat_map" => fn ->...
28.994845
99
0.684267
3331dcf3e2ebb08e2dc06977841c08d8dfb5c7f3
2,451
ex
Elixir
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/list_group_stats_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/list_group_stats_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/list_group_stats_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...
42.258621
310
0.743778
3331ef01f5563b9feb5dc3fca8ae36d64fa1fbfd
556
ex
Elixir
coinfeed/lib/coindata/coindata.ex
aspiringastro/programming-elixir
ec2167268c06bbb72b2bda26caa469333daccb63
[ "MIT" ]
null
null
null
coinfeed/lib/coindata/coindata.ex
aspiringastro/programming-elixir
ec2167268c06bbb72b2bda26caa469333daccb63
[ "MIT" ]
null
null
null
coinfeed/lib/coindata/coindata.ex
aspiringastro/programming-elixir
ec2167268c06bbb72b2bda26caa469333daccb63
[ "MIT" ]
null
null
null
defmodule CoinFeed.Data do @moduledoc """ CoinFeed.Data queries the coincap.io data feed to fetch crypto currencies price feed. """ @base_url Application.get_env(:coinfeed, :api_base_url) @doc """ """ def fetch(id) when is_atom(id) do response = coin_url(id) ...
23.166667
59
0.553957
3331fb22f7ecf1cf8d87b6f3ca47a2189e51de48
179
ex
Elixir
lib/kubex/pod.ex
IanLuites/kubex
ef26f539a130cc416fc605e66623e715e35521df
[ "MIT" ]
1
2020-01-12T03:41:14.000Z
2020-01-12T03:41:14.000Z
lib/kubex/pod.ex
IanLuites/kubex
ef26f539a130cc416fc605e66623e715e35521df
[ "MIT" ]
null
null
null
lib/kubex/pod.ex
IanLuites/kubex
ef26f539a130cc416fc605e66623e715e35521df
[ "MIT" ]
null
null
null
defmodule Kubex.Pod do @doc false def __resource__ do "pods" end @doc false def __default__ do %{ kind: __MODULE__, apiVersion: :v1 } end end
11.933333
23
0.597765
33321305d41455338657e5dffcb0a4cd47b5396f
1,709
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_certs_create_ephemeral_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_certs_create_ephemeral_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_certs_create_ephemeral_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.18
120
0.740199
33322213e1fd4594578caee00baf80c641c46769
1,382
ex
Elixir
lib/rube/tokens/token_builder.ex
fremantle-industries/rube
ceb0c6d09e8b9c029a71115710265d8b6b31cc49
[ "MIT" ]
22
2021-06-23T06:25:41.000Z
2022-02-16T19:08:33.000Z
lib/rube/tokens/token_builder.ex
fremantle-industries/rube
ceb0c6d09e8b9c029a71115710265d8b6b31cc49
[ "MIT" ]
16
2021-06-21T17:02:13.000Z
2022-03-21T15:04:14.000Z
lib/rube/tokens/token_builder.ex
fremantle-industries/rube
ceb0c6d09e8b9c029a71115710265d8b6b31cc49
[ "MIT" ]
2
2021-06-23T13:40:52.000Z
2021-09-17T07:25:34.000Z
defmodule Rube.Tokens.TokenBuilder do use GenServer alias Rube.Tokens alias Slurp.Blockchains @type blockchain_id :: Blockchains.Blockchain.id() @type address :: term @type token :: Tokens.Token.t() @type fetch_result :: {:ok, token} | {:error, term} @spec start_link(list) :: GenServer.on_start() de...
26.075472
76
0.650507
33322acd5254ae6a7679d1eaf9ff0efb7d714a0c
1,979
exs
Elixir
test/actions/validation_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
test/actions/validation_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
test/actions/validation_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
defmodule Ash.Test.Actions.ValidationTest do @moduledoc false use ExUnit.Case, async: true defmodule Profile do @moduledoc false use Ash.Resource, data_layer: Ash.DataLayer.Ets ets do private? true end actions do read :default create :default update :default ...
22.235955
73
0.587165
33323d4af8f9308c9bd246351ac278f5fb110e0b
521
ex
Elixir
lib/farmbot/asset/peripheral.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
null
null
null
lib/farmbot/asset/peripheral.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
null
null
null
lib/farmbot/asset/peripheral.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
1
2020-12-16T16:39:32.000Z
2020-12-16T16:39:32.000Z
defmodule Farmbot.Asset.Peripheral do @moduledoc """ Peripherals are descriptors for pins/modes. """ use Ecto.Schema import Ecto.Changeset schema "peripherals" do field(:pin, :integer) field(:mode, :integer) field(:label, :string) end use Farmbot.Repo.Syncable @required_fields [:id, :pi...
20.84
45
0.677543
33328b363af045a486e507e38797370c0d141e66
3,822
ex
Elixir
lib/mix/lib/mix/scm/git.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/scm/git.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/scm/git.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
defmodule Mix.SCM.Git do @behavior Mix.SCM @moduledoc false def fetchable? do true end def format(opts) do opts[:git] end def format_lock(opts) do case opts[:lock] do { :git, _, lock_rev, lock_opts } -> lock = String.slice(lock_rev, 0, 7) case Enum.find_value [:branch,...
23.8875
90
0.575877
3332a37eaeae47b163427cbc390ff53fc1239b79
1,037
exs
Elixir
time_tracker_backend/test/models/user_test.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
382
2016-08-18T07:34:27.000Z
2021-02-25T20:46:34.000Z
time_tracker_backend/test/models/user_test.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
1
2017-09-30T00:01:26.000Z
2017-09-30T00:01:26.000Z
time_tracker_backend/test/models/user_test.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
45
2016-08-30T07:34:04.000Z
2020-01-27T11:39:26.000Z
defmodule TimeTrackerBackend.UserTest do use TimeTrackerBackend.ModelCase alias TimeTrackerBackend.{User} test "changeset with valid attributes" do changeset = build(:user) |> User.changeset(%{}) assert changeset.valid? end describe "validations" do # We describe each field that we are validati...
28.805556
73
0.614272
3332ca515cb5c0933b865dbf52d580b68435f80c
1,614
exs
Elixir
roman-numerals/roman_numerals_test.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
roman-numerals/roman_numerals_test.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
roman-numerals/roman_numerals_test.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("roman.exs", __DIR__) end ExUnit.start() # ExUnit.configure exclude: :pending, trace: true defmodule RomanTest do use ExUnit.Case # @tag :pending test "1" do assert Roman.numerals(1) == "I" end # @tag :pending test "2" do assert Ro...
15.980198
49
0.605948
3332cbe559f64c0a0ca2beadbdcc5fbe461be1ec
992
exs
Elixir
apps/montreal_elixir_web/config/config.exs
noircir/website-1
bfe43f5a7b022dfc009802d9d068d438e83e73f9
[ "MIT" ]
null
null
null
apps/montreal_elixir_web/config/config.exs
noircir/website-1
bfe43f5a7b022dfc009802d9d068d438e83e73f9
[ "MIT" ]
null
null
null
apps/montreal_elixir_web/config/config.exs
noircir/website-1
bfe43f5a7b022dfc009802d9d068d438e83e73f9
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :montreal_elixir_web, namespace: Montrea...
34.206897
86
0.788306
3332f8b8219f5d0ac3c4dd46c4882a11b8a245b9
325
ex
Elixir
lib/hacker_news_aggregator.ex
acastemoreno/hacker_new_aggregator
5734205d3308eccc98f203d4d3b875fd0f966de3
[ "MIT" ]
null
null
null
lib/hacker_news_aggregator.ex
acastemoreno/hacker_new_aggregator
5734205d3308eccc98f203d4d3b875fd0f966de3
[ "MIT" ]
null
null
null
lib/hacker_news_aggregator.ex
acastemoreno/hacker_new_aggregator
5734205d3308eccc98f203d4d3b875fd0f966de3
[ "MIT" ]
null
null
null
defmodule HackerNewsAggregator do @moduledoc """ HackerNewsAggregator 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. """ use Boundary, deps: [], exports: [Aggregator]...
29.545455
66
0.76
33334041b432fbef81bbcff7aa803896aee9883a
22,462
ex
Elixir
lib/elixir/lib/option_parser.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/option_parser.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/option_parser.ex
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
defmodule OptionParser do @moduledoc """ This module contains functions to parse command line options. """ @type argv :: [String.t] @type parsed :: Keyword.t @type errors :: [{String.t, String.t | nil}] @type options :: [switches: Keyword.t, strict: Keyword.t, aliases: Keyword.t] defmodule ParseE...
32.983847
120
0.609874
333340cb22d64d1f0cf633057bc5ed0314592c3f
2,265
ex
Elixir
lib/materia_commerce_web/controllers/contract_detail_controller.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
1
2019-11-19T07:38:38.000Z
2019-11-19T07:38:38.000Z
lib/materia_commerce_web/controllers/contract_detail_controller.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
31
2018-12-26T02:05:55.000Z
2021-05-14T03:33:07.000Z
lib/materia_commerce_web/controllers/contract_detail_controller.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
null
null
null
defmodule MateriaCommerceWeb.ContractDetailController do use MateriaCommerceWeb, :controller alias MateriaCommerce.Commerces alias MateriaCommerce.Commerces.ContractDetail alias MateriaUtils.Calendar.CalendarUtil action_fallback(MateriaWeb.FallbackController) def index(conn, _params) do contract_deta...
33.80597
114
0.741722
333347604387a8b95b50c1d41ff09c62ce65d058
79
exs
Elixir
test/absinthe/integration/validation/error_result_when_bad_list_argument.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
null
null
null
test/absinthe/integration/validation/error_result_when_bad_list_argument.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
test/absinthe/integration/validation/error_result_when_bad_list_argument.exs
jlgeering/absinthe
a3dbc29640d613928398626ad75a8f03203a1720
[ "MIT" ]
null
null
null
{:ok, %{errors: [%{message: "Argument \"id\" has invalid value [\"foo\"]."}]}}
39.5
78
0.544304
3333563a02515d35679fcb1c427b4122038e5250
2,063
ex
Elixir
lib/elixoids/space.ex
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
5
2016-07-05T13:42:33.000Z
2020-12-07T14:12:16.000Z
lib/elixoids/space.ex
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
70
2016-06-04T11:31:27.000Z
2020-11-21T20:00:09.000Z
lib/elixoids/space.ex
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
1
2016-07-05T17:10:05.000Z
2016-07-05T17:10:05.000Z
defmodule Elixoids.Space do @moduledoc """ Define the play area (world) in which the Game is played. All units are in metres. """ alias Elixoids.World.Point import Elixoids.Const # The ratio of the play area @ratio world_ratio() @width world_width_m() @height @width / @ratio @half_width @width ...
21.489583
69
0.593795
333357e558b802fbe15efbe538b92ae189c8dbe5
1,372
exs
Elixir
test/h2_worker/pool/config_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
20
2019-01-15T10:13:16.000Z
2021-12-30T09:39:30.000Z
test/h2_worker/pool/config_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
45
2018-10-02T10:14:57.000Z
2021-04-30T21:57:28.000Z
test/h2_worker/pool/config_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
9
2019-05-08T17:25:56.000Z
2022-03-06T10:16:41.000Z
defmodule Sparrow.H2Worker.Pool.ConfigTest do use ExUnit.Case test "create new config with known name" do auth = Sparrow.H2Worker.Authentication.TokenBased.new(fn -> {"authorization", "bearer dummy token"} end) workers_config = Sparrow.H2Worker.Config.new(%{ domain: "fake...
24.5
66
0.641399
33337cf74de1807099824fc5001ca534dc3dc8c5
7,138
ex
Elixir
lib/logfmt/decoder.ex
timberio/key-value-parser-elixir
9766367ccb3014b47b0a621a489261011dcea769
[ "MIT", "Unlicense" ]
5
2017-03-10T21:30:29.000Z
2020-08-07T16:35:07.000Z
lib/logfmt/decoder.ex
timberio/key-value-parser-elixir
9766367ccb3014b47b0a621a489261011dcea769
[ "MIT", "Unlicense" ]
null
null
null
lib/logfmt/decoder.ex
timberio/key-value-parser-elixir
9766367ccb3014b47b0a621a489261011dcea769
[ "MIT", "Unlicense" ]
1
2021-04-13T18:42:02.000Z
2021-04-13T18:42:02.000Z
defmodule Logfmt.Decoder do @moduledoc """ This module contains functions to decode logfmt strings into a map """ alias __MODULE__.InvalidSyntaxError @type t :: map @quotes [?", ?'] @valid_delimiters [?=] lower_case = (?a..?z) |> Enum.to_list() upper_case = (?A..?Z) |> Enum.to_list() numbers = (?...
43.260606
137
0.683525
333394461779275ed51f06044201b6bb8ea9b20f
1,107
ex
Elixir
lib/bank_account_web/views/error_view.ex
gapfranco/bank_account
ffa60fd76b70b9243e7eb575d52f22bdc31d196e
[ "MIT" ]
null
null
null
lib/bank_account_web/views/error_view.ex
gapfranco/bank_account
ffa60fd76b70b9243e7eb575d52f22bdc31d196e
[ "MIT" ]
null
null
null
lib/bank_account_web/views/error_view.ex
gapfranco/bank_account
ffa60fd76b70b9243e7eb575d52f22bdc31d196e
[ "MIT" ]
null
null
null
defmodule BankAccountWeb.ErrorView do use BankAccountWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status mess...
25.159091
83
0.654923
333398aa4640506226b0e051e79b48b20e2fa9af
549
ex
Elixir
lib/radiator/media/cover_image_base.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
lib/radiator/media/cover_image_base.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
lib/radiator/media/cover_image_base.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
# Container to import for all images that are cover style, e.g. square and have a square 256x256 thumbnail representation defmodule Radiator.Media.CoverImageBase do @moduledoc false defmacro __using__(_) do quote do @versions [:original, :thumbnail] def transform(:thumbnail, _) do {:conver...
28.894737
121
0.695811
33339db42a5c5d5f68b9faacf654745081460c13
8,277
ex
Elixir
lib/phoenix_datatables/query.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
null
null
null
lib/phoenix_datatables/query.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
null
null
null
lib/phoenix_datatables/query.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
null
null
null
defmodule PhoenixDatatables.Query do @moduledoc """ Functions for updating an `Ecto.Query` based on Datatables request parameters. """ import Ecto.Query use PhoenixDatatables.Query.Macros alias Ecto.Query.JoinExpr alias PhoenixDatatables.Request.Params alias PhoenixDatatables.Request.Column alias Phoe...
33.922131
100
0.644678
3333c9134a33cef3c141bd54bebf14051aab371a
4,757
ex
Elixir
lib/oban/config.ex
maltoe/oban
912656e67f8ebda54f39dee8b070d3f3df8b0fa8
[ "Apache-2.0" ]
null
null
null
lib/oban/config.ex
maltoe/oban
912656e67f8ebda54f39dee8b070d3f3df8b0fa8
[ "Apache-2.0" ]
null
null
null
lib/oban/config.ex
maltoe/oban
912656e67f8ebda54f39dee8b070d3f3df8b0fa8
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Config do @moduledoc false use Agent @type prune :: :disabled | {:maxlen, pos_integer()} | {:maxage, pos_integer()} @type t :: %__MODULE__{ name: atom(), node: binary(), poll_interval: pos_integer(), prefix: binary(), prune: prune(), ...
29.184049
91
0.631911
3333ed53e6c6c165d819016715db62f4270fd737
23,281
ex
Elixir
lib/ecto/migrator.ex
kuon/ecto_sql
74fe20a02479e71d7efe4f1391467f7e79ac7025
[ "Apache-2.0" ]
null
null
null
lib/ecto/migrator.ex
kuon/ecto_sql
74fe20a02479e71d7efe4f1391467f7e79ac7025
[ "Apache-2.0" ]
null
null
null
lib/ecto/migrator.ex
kuon/ecto_sql
74fe20a02479e71d7efe4f1391467f7e79ac7025
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Migrator do @moduledoc """ Lower level API for managing migrations. EctoSQL provides three mix tasks for running and managing migrations: * `mix ecto.migrate` - migrates a repository * `mix ecto.rollback` - rolls back a particular migration * `mix ecto.migrations` - shows all migratio...
32.156077
109
0.65925
3333f290d707a4bd68b63db7c1a8a8b935f62c6f
1,768
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/create_orders_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/create_orders_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/create_orders_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.36
135
0.742081
3333ff6a21c4b4dc9ec156616e000fd3facf3dee
5,318
exs
Elixir
test/lib/bamboo/adapters/mailgun_adapter_test.exs
LLCAEON/bamboo
17d07150c2671279dad3befb7dc9fc16bafa5598
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/mailgun_adapter_test.exs
LLCAEON/bamboo
17d07150c2671279dad3befb7dc9fc16bafa5598
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/mailgun_adapter_test.exs
LLCAEON/bamboo
17d07150c2671279dad3befb7dc9fc16bafa5598
[ "MIT" ]
1
2018-08-14T13:02:18.000Z
2018-08-14T13:02:18.000Z
defmodule Bamboo.MailgunAdapterTest do use ExUnit.Case alias Bamboo.Email alias Bamboo.MailgunAdapter @config %{adapter: MailgunAdapter, api_key: "dummyapikey", domain: "test.tt"} @config_with_env_var_key %{adapter: MailgunAdapter, api_key: {:system, "MAILGUN_API_KEY"}, domain: {:system, "MAILGUN_DOMAIN"...
29.544444
90
0.662467
33342871be316c93aebc8daf053dc1c2f18f86c8
1,478
ex
Elixir
bubblit/lib/bubblit/room/room_registry.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
null
null
null
bubblit/lib/bubblit/room/room_registry.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
84
2020-04-03T08:06:06.000Z
2022-02-13T12:45:15.000Z
bubblit/lib/bubblit/room/room_registry.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
1
2020-09-25T12:59:02.000Z
2020-09-25T12:59:02.000Z
defmodule Bubblit.Room.Registry do use GenServer def start_link(_) do GenServer.start_link(__MODULE__, nil, name: :room_registry) end # API for support :via def whereis_name(room_id) do GenServer.call(:room_registry, {:whereis_name, room_id}) end def register_name(room_id, pid) do GenServe...
22.738462
66
0.64479
33342fe51cb7603cc30617c12c629d124a3e7d48
8,298
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2021-03-04T13:43:47.000Z
2021-03-04T13:43:47.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...
64.325581
515
0.728489
33344396bdc8f57cd6fdf821937d9faeadad2b9f
545
ex
Elixir
lib/phxwhttpoison_web/router.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/phxwhttpoison_web/router.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/phxwhttpoison_web/router.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
defmodule PhxwhttpoisonWeb.Router do use PhxwhttpoisonWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Phxwhttpois...
20.185185
57
0.693578
33344aefeec461362bbc9926bba1be943816a9f5
1,689
ex
Elixir
apps/toniefy/lib/toniex/release.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
17
2021-04-12T10:01:14.000Z
2022-02-25T17:30:27.000Z
apps/toniefy/lib/toniex/release.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
1
2022-03-09T09:35:00.000Z
2022-03-09T11:46:14.000Z
apps/toniefy/lib/toniex/release.ex
benvp/toniefy
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
null
null
null
defmodule Toniex.Release do @moduledoc """ Responsible for custom release commands """ require Logger @app :toniex def migrate do load_app() for repo <- repos() do {:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(&1, :up, all: true)) end end @spec rollback(atom, an...
21.935065
91
0.592658
3334502b3b36df04383ae5c3a78deb7b2d36ab73
409
exs
Elixir
priv/repo/migrations/20181007124749_create_videos_favorites.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20181007124749_create_videos_favorites.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20181007124749_create_videos_favorites.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.CreateVideosFavorites do use Ecto.Migration def change do create table(:videos_favorites) do add(:user_id, references(:users, on_delete: :delete_all), null: false) add(:video_id, references(:cms_videos, on_delete: :delete_all), null: false) timestamps...
27.266667
82
0.723716
333460b13a680afe923f0ed6c0e697a273f80a84
1,447
ex
Elixir
clients/jobs/lib/google_api/jobs/v3/model/create_job_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/jobs/lib/google_api/jobs/v3/model/create_job_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/jobs/lib/google_api/jobs/v3/model/create_job_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.787234
106
0.729786
33346a6a2b861af2a572e219104606c3ca8486d2
1,676
ex
Elixir
day24/lib/tile.ex
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
day24/lib/tile.ex
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
day24/lib/tile.ex
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
defmodule Tile do @moduledoc """ This represents a hexagonal tile. Because the tiles are hexagonal, every tile has six neighbors: east, southeast, southwest, west, northwest, and northeast """ defstruct [:e, :se, :sw, :w, :ne, :nw, state: :white] @behaviour Access defdelegate get(v, key, default), to: M...
21.766234
80
0.547136
33349624ab23b2f4223cc55b6b0b5a5e3a6965f6
2,434
exs
Elixir
test/arangoex/database_test.exs
alakra/arangoex
6fbea0335bcc1adeaa4b4299ce8028c2e4080980
[ "MIT" ]
24
2016-11-02T14:53:55.000Z
2021-12-25T13:08:09.000Z
test/arangoex/database_test.exs
alakra/arangoex
6fbea0335bcc1adeaa4b4299ce8028c2e4080980
[ "MIT" ]
22
2016-12-06T15:09:50.000Z
2022-03-24T02:16:20.000Z
test/arangoex/database_test.exs
alakra/arangoex
6fbea0335bcc1adeaa4b4299ce8028c2e4080980
[ "MIT" ]
8
2016-12-12T21:27:25.000Z
2019-05-24T04:27:30.000Z
defmodule Arangoex.DatabaseTest do alias Arangoex.Database use ExUnit.Case, async: false setup do # make sure "foo" database does not exist for tests Database.remove(:arango, "foo", database: "_system") on_exit fn -> # make sure "foo" database is removed from any test Database.remove(:a...
31.61039
93
0.649959
3334b37bbc7a774ca2f78fd45f8ee754701f97c0
360
ex
Elixir
lib/blog_phx/posts/post.ex
the-harry/blog_phx
db7604259f2a1cd32b0243bb1039694ef986b3aa
[ "MIT" ]
null
null
null
lib/blog_phx/posts/post.ex
the-harry/blog_phx
db7604259f2a1cd32b0243bb1039694ef986b3aa
[ "MIT" ]
null
null
null
lib/blog_phx/posts/post.ex
the-harry/blog_phx
db7604259f2a1cd32b0243bb1039694ef986b3aa
[ "MIT" ]
null
null
null
defmodule BlogPhx.Posts.Post do use Ecto.Schema import Ecto.Changeset schema "posts" do field(:title, :string) field(:description, :string) timestamps() end def changeset(post, attrs \\ %{}) do post |> cast(attrs, [:title, :description]) |> validate_required([:title, :description], ...
20
78
0.655556
3334b41bddac41caa1b717f60a03c8da1e7240f2
1,215
exs
Elixir
clients/you_tube/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/you_tube/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.YouTube.V3.Mixfile do use Mix.Project @version "0.6.0" def project do [app: :google_api_you_tube, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), d...
24.795918
132
0.600823
3334bb50208aced819cbfd877833d5b86d38bb17
1,846
exs
Elixir
clients/storage/mix.exs
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/storage/mix.exs
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/storage/mix.exs
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...
27.552239
106
0.656013
3334bb6ccf6f07c7f692ad71b4563501ddbdcce5
17,005
exs
Elixir
test/phoenix_live_view/phoenix_live_view_test.exs
wojtekmach/phoenix_live_view
61067e14c31833605c902d02ddd163d2a89c325f
[ "MIT" ]
null
null
null
test/phoenix_live_view/phoenix_live_view_test.exs
wojtekmach/phoenix_live_view
61067e14c31833605c902d02ddd163d2a89c325f
[ "MIT" ]
null
null
null
test/phoenix_live_view/phoenix_live_view_test.exs
wojtekmach/phoenix_live_view
61067e14c31833605c902d02ddd163d2a89c325f
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.LiveViewTest do use ExUnit.Case, async: true use Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveView alias Phoenix.LiveViewTest.{Endpoint, DOM, ClockLive, ClockControlsLive} @endpoint Endpoint @moduletag :capture_log setup config do {:ok, conn: Plug...
32.955426
117
0.586827
3334c127589c4f6344223331d81e7d65db372c6f
1,518
exs
Elixir
rel/config.exs
Zhenya2000perm/neko-achievements
a3851c4d41c0410f7821893b5d39e107b982560d
[ "MIT" ]
null
null
null
rel/config.exs
Zhenya2000perm/neko-achievements
a3851c4d41c0410f7821893b5d39e107b982560d
[ "MIT" ]
null
null
null
rel/config.exs
Zhenya2000perm/neko-achievements
a3851c4d41c0410f7821893b5d39e107b982560d
[ "MIT" ]
null
null
null
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. # # credo:disable-for-lines:2 Credo.Check.Refactor.PipeChainStart Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() ...
30.979592
81
0.743083
3334e501dedbc58ab7d26173acc9b5bdcebc3f0c
1,565
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/service_account.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/service_account.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/service_account.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.3
127
0.715655
3334f49e43f50ef0087b4c606c07b14763de9a75
141
ex
Elixir
lib/aoc2019/day15.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2020-03-27T14:57:32.000Z
2020-03-27T14:57:32.000Z
lib/aoc2019/day15.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2019-12-07T14:32:47.000Z
2019-12-08T16:18:07.000Z
lib/aoc2019/day15.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
null
null
null
defmodule Aoc2019.Day15 do @behaviour DaySolution def solve_part1(), do: :not_implemented def solve_part2(), do: :not_implemented end
20.142857
41
0.765957
3334f6ad347de926e828a1e14289f6abb6075e36
38,650
exs
Elixir
test/unit/description_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/description_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/description_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
2
2018-01-19T15:48:27.000Z
2020-03-01T00:29:35.000Z
defmodule RDF.DescriptionTest do use RDF.Test.Case doctest RDF.Description describe "new" do test "with a subject IRI" do assert description_of_subject( Description.new(~I<http://example.com/description/subject>), ~I<http://example.com/description/subject> ) ...
36.496695
133
0.591979
3334ff491dd554f037f02fa1c897be42885eca5d
60
exs
Elixir
test/test_helper.exs
nicksanders/exdjango
652530a8982c925d2d8a8c02b359c8b409d83cbd
[ "MIT" ]
16
2016-01-30T16:42:59.000Z
2021-01-16T00:47:32.000Z
test/test_helper.exs
nicksanders/exdjango
652530a8982c925d2d8a8c02b359c8b409d83cbd
[ "MIT" ]
1
2016-02-17T16:57:52.000Z
2016-02-17T22:10:23.000Z
test/test_helper.exs
nicksanders/exdjango
652530a8982c925d2d8a8c02b359c8b409d83cbd
[ "MIT" ]
2
2016-01-27T16:51:13.000Z
2017-02-07T18:00:35.000Z
ExUnit.start() {:ok, _pid} = ExDjango.RedixPool.start_link
15
43
0.733333
333506a2f4e3f08e9ffe24fc0404285c56c2bb99
2,105
ex
Elixir
clients/game_services/lib/google_api/game_services/v1/model/preview_game_server_deployment_rollout_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/game_services/lib/google_api/game_services/v1/model/preview_game_server_deployment_rollout_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/game_services/lib/google_api/game_services/v1/model/preview_game_server_deployment_rollout_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...
36.293103
129
0.733017