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
28dd909b5338cc54ddaeae886e56f00c5b1a71c6
73
exs
Elixir
test/novel_reader_test.exs
jinyeow/novel_reader
090c1076110f441d82d99f27f82958b79bf73d63
[ "MIT" ]
null
null
null
test/novel_reader_test.exs
jinyeow/novel_reader
090c1076110f441d82d99f27f82958b79bf73d63
[ "MIT" ]
null
null
null
test/novel_reader_test.exs
jinyeow/novel_reader
090c1076110f441d82d99f27f82958b79bf73d63
[ "MIT" ]
null
null
null
defmodule NovelReaderTest do use ExUnit.Case doctest NovelReader end
14.6
28
0.821918
28dda16affe0d2a22e1b792887a0da3679272834
3,899
ex
Elixir
lib/mnemonix/store/behaviours/bump.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
36
2016-10-30T21:40:19.000Z
2021-05-03T10:51:50.000Z
lib/mnemonix/store/behaviours/bump.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
52
2016-10-30T20:57:35.000Z
2017-12-28T03:39:57.000Z
lib/mnemonix/store/behaviours/bump.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
5
2017-01-25T22:02:58.000Z
2018-01-30T14:27:55.000Z
defmodule Mnemonix.Store.Behaviours.Bump do @moduledoc false alias Mnemonix.Store alias Mnemonix.Features.Bump use Mnemonix.Behaviour #### # DERIVABLE ## @callback bump(Store.t(), Mnemonix.key(), Bump.amount()) :: Store.Server.instruction(Bump.result()) @doc false @spec bump(Store....
31.699187
102
0.583739
28ddab239b49e7067baed8e51fa5603081f5fdbf
2,469
ex
Elixir
lib/exgraylog_ssl_transport.ex
oltarasenko/exgraylog
7f697d7acf7d3928581a1acbdaa4478e2c180a63
[ "MIT" ]
3
2017-12-12T12:48:57.000Z
2019-11-13T13:29:45.000Z
lib/exgraylog_ssl_transport.ex
oltarasenko/exgraylog
7f697d7acf7d3928581a1acbdaa4478e2c180a63
[ "MIT" ]
null
null
null
lib/exgraylog_ssl_transport.ex
oltarasenko/exgraylog
7f697d7acf7d3928581a1acbdaa4478e2c180a63
[ "MIT" ]
null
null
null
defmodule ExGrayLog.SSLTransport do @behaviour ExGrayLog.TransportBehavior use GenServer @connect_interval 1 * 10 * 1000 require Logger alias ExGrayLog.SSLTransport defstruct [ :host, :port, :tref, :socket, :connected, :transport_opts ] def send(message) do ...
30.109756
104
0.581207
28ddec8e4cc231c53c41e34fa061202a4a13de74
56
exs
Elixir
apps/omg_watcher/config/prod.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_watcher/config/prod.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/config/prod.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :omg_watcher, environment: :prod
14
39
0.785714
28ddf5a655b0cbe9a52170c93ff0025d0f4b3391
53
exs
Elixir
test/wallaby/query/xpath_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
926
2016-03-28T17:01:54.000Z
2019-11-05T11:59:58.000Z
test/wallaby/query/xpath_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
377
2016-03-17T00:35:56.000Z
2019-11-03T07:15:24.000Z
test/wallaby/query/xpath_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
144
2016-03-29T15:28:28.000Z
2019-10-31T00:48:42.000Z
defmodule Wallaby.XPathTest do use ExUnit.Case end
13.25
30
0.811321
28de235c1526ef4e32d06fc9e22412b9dd53ca84
1,347
exs
Elixir
rustler_tests/test/binary_test.exs
jeremyjh/rustler
6051998e2dd71f7f7ebc7b8b090cdd628d39df3b
[ "Apache-2.0", "MIT" ]
null
null
null
rustler_tests/test/binary_test.exs
jeremyjh/rustler
6051998e2dd71f7f7ebc7b8b090cdd628d39df3b
[ "Apache-2.0", "MIT" ]
null
null
null
rustler_tests/test/binary_test.exs
jeremyjh/rustler
6051998e2dd71f7f7ebc7b8b090cdd628d39df3b
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule RustlerTest.BinaryTest do use ExUnit.Case, async: true test "subbinary creation" do assert RustlerTest.make_shorter_subbinary("test") == "es" assert_raise ErlangError, fn -> RustlerTest.make_shorter_subbinary("t") end end test "parse integer from binary" do assert RustlerTest.parse_integ...
31.325581
92
0.688938
28de3e0749c1847e32c9ff8dd53f9737f22ec682
43,554
ex
Elixir
lib/aws/generated/security_hub.ex
onno-vos-dev/aws-elixir
00f02c2bce689b932948b6a4d603fd44bb5fc0e9
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/security_hub.ex
onno-vos-dev/aws-elixir
00f02c2bce689b932948b6a4d603fd44bb5fc0e9
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/security_hub.ex
onno-vos-dev/aws-elixir
00f02c2bce689b932948b6a4d603fd44bb5fc0e9
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.SecurityHub do @moduledoc """ Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with th...
24.523649
216
0.652569
28de6f36e202687e8f71c8047c4bff156af341f3
2,021
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_info_type_description.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_info_type_description.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_info_type_description.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
34.844828
130
0.728847
28de89d2f52f047cc31e937b54d7e4b62a3d00ff
4,788
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_query.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_query.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_query.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
62.181818
596
0.716792
28de98dfa0183e5edb84e510742c512fc4df4971
1,730
ex
Elixir
lib/json_to_elixir_web/endpoint.ex
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
1
2020-01-19T17:52:05.000Z
2020-01-19T17:52:05.000Z
lib/json_to_elixir_web/endpoint.ex
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
null
null
null
lib/json_to_elixir_web/endpoint.ex
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
null
null
null
defmodule JSONToElixirWeb.Endpoint do use Phoenix.Endpoint, otp_app: :json_to_elixir socket "/socket", JSONToElixirWeb.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...
28.833333
95
0.712139
28deb01d29cfb21a3f952936a4480278df3d1130
249
ex
Elixir
lib/transmission/torrent_start_now.ex
zhulik/ex_transmission
f7c977bb3535a7c0a976951b9dff51bc94c1575b
[ "MIT" ]
1
2022-01-07T17:17:22.000Z
2022-01-07T17:17:22.000Z
lib/transmission/torrent_start_now.ex
zhulik/ex_transmission
f7c977bb3535a7c0a976951b9dff51bc94c1575b
[ "MIT" ]
null
null
null
lib/transmission/torrent_start_now.ex
zhulik/ex_transmission
f7c977bb3535a7c0a976951b9dff51bc94c1575b
[ "MIT" ]
1
2020-05-01T12:34:57.000Z
2020-05-01T12:34:57.000Z
defmodule Transmission.TorrentStartNow do alias Transmission.Utils def method(ids) do %{ method: "torrent-start-now", arguments: %{ ids: Utils.cast_ids(ids) } |> Utils.compact() } end end
16.6
41
0.566265
28dec0ee20648af1e8a55690ebc3e8d20e4b9803
25
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_match_operation_parsing_test_case/MatchedMultiplicationOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_match_operation_parsing_test_case/MatchedMultiplicationOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_match_operation_parsing_test_case/MatchedMultiplicationOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one * two = three / four
12.5
24
0.6
28dedbb0ed93b3206c196008fa33b7114561ebc0
1,917
ex
Elixir
clients/ad_mob/lib/google_api/ad_mob/v1/model/report_row_metric_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/model/report_row_metric_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/model/report_row_metric_value.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...
34.854545
132
0.714658
28df74bd8be3f7d866dadef1951e4be013841ac3
2,052
ex
Elixir
lib/tentacat/repositories/statuses.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
lib/tentacat/repositories/statuses.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
lib/tentacat/repositories/statuses.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
defmodule Tentacat.Repositories.Statuses do import Tentacat alias Tentacat.Client @doc """ List Statuses for a specific Ref ## Example Tentacat.Repositories.Statuses.list "elixir-lang", "elixir", "a8ce2485b1260245a331f1a56c53ab1b965d6dc5" Tentacat.Repositories.Statuses.list client, "elixir-lang...
33.639344
109
0.683723
28df8bec72dd37cf412ea22a998ed8195f42b1c7
592
exs
Elixir
mix.exs
al2o3cr/pelemay_fp_benchmark
27f33e1a0990b964183d1e65414e01a7c333b5b2
[ "Apache-2.0" ]
null
null
null
mix.exs
al2o3cr/pelemay_fp_benchmark
27f33e1a0990b964183d1e65414e01a7c333b5b2
[ "Apache-2.0" ]
null
null
null
mix.exs
al2o3cr/pelemay_fp_benchmark
27f33e1a0990b964183d1e65414e01a7c333b5b2
[ "Apache-2.0" ]
null
null
null
defmodule PelemayFpBenchmark.MixProject do use Mix.Project def project do [ app: :pelemay_fp_benchmark, version: "0.1.1", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application...
19.096774
59
0.552365
28df93c1ae10380f7e8eea72a6093bcbc7f19c2a
618
ex
Elixir
01/npkstuff/lib/npkstuff_web/controllers/imc_controller.ex
victordomingos/Learning_Elixir
414f4f647c9eba494b65575e725a58021fde2313
[ "MIT" ]
1
2021-06-23T21:48:32.000Z
2021-06-23T21:48:32.000Z
01/npkstuff/lib/npkstuff_web/controllers/imc_controller.ex
victordomingos/Learning_Elixir
414f4f647c9eba494b65575e725a58021fde2313
[ "MIT" ]
null
null
null
01/npkstuff/lib/npkstuff_web/controllers/imc_controller.ex
victordomingos/Learning_Elixir
414f4f647c9eba494b65575e725a58021fde2313
[ "MIT" ]
null
null
null
defmodule NpkstuffWeb.IMCController do use NpkstuffWeb, :controller alias Npkstuff.IMC def index(conn, params) do params |> IMC.calcular |> tratar_resposta(conn) # IO.inspect(params) # IO.inspect(conn) # conn # |> text("teste") end def tratar_resposta({:ok, resultado}, conn) ...
18.727273
51
0.660194
28df97e1766dcc97aa8b31c117c68f554d535a66
20
ex
Elixir
apps/bot/lib/bot.ex
patrickpichler/ElixirTelegramTestBot
98206298266870c304f2686339b95c2bd7c4e40c
[ "Unlicense" ]
null
null
null
apps/bot/lib/bot.ex
patrickpichler/ElixirTelegramTestBot
98206298266870c304f2686339b95c2bd7c4e40c
[ "Unlicense" ]
null
null
null
apps/bot/lib/bot.ex
patrickpichler/ElixirTelegramTestBot
98206298266870c304f2686339b95c2bd7c4e40c
[ "Unlicense" ]
null
null
null
defmodule Bot do end
10
16
0.85
28df9c22301e78a83683163cd980bf09215cb454
2,145
ex
Elixir
lib/auth_api/web/controllers/user_controller.ex
nathanfaucett/ex-auth_api
3b8959b2693c652fe2e3089f03e728107ec6ba70
[ "MIT" ]
null
null
null
lib/auth_api/web/controllers/user_controller.ex
nathanfaucett/ex-auth_api
3b8959b2693c652fe2e3089f03e728107ec6ba70
[ "MIT" ]
null
null
null
lib/auth_api/web/controllers/user_controller.ex
nathanfaucett/ex-auth_api
3b8959b2693c652fe2e3089f03e728107ec6ba70
[ "MIT" ]
null
null
null
defmodule AuthApi.Web.UserController do use AuthApi.Web, :controller alias AuthApi.Accounts alias AuthApi.Accounts.User action_fallback AuthApi.Web.FallbackController plug AuthApi.Plugs.AuthenticateApplication when action in [:create] plug AuthApi.Plugs.AuthenticateUser when action in [:show, :update...
25.843373
97
0.620979
28df9edad3f77b8726d4e4e69a708a022cb95035
553
exs
Elixir
test/views/error_view_test.exs
diegoangel/todo-app-elixir
7dc8d1734a6435f78a243dc621766f523177eea0
[ "Apache-2.0" ]
1
2017-07-20T17:41:13.000Z
2017-07-20T17:41:13.000Z
test/views/error_view_test.exs
robot-overlord/todo-example
2877bf3dc94e857a576fdc922c040c6af2f68ec0
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
robot-overlord/todo-example
2877bf3dc94e857a576fdc922c040c6af2f68ec0
[ "MIT" ]
null
null
null
defmodule Todo.ErrorViewTest do use Todo.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Todo.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do asser...
25.136364
66
0.667269
28dfbdf68b805ee92c05f060d1efe875c9ebaf86
736
ex
Elixir
lib/ex_json_schema/validator/ref.ex
tinfoil/ex_json_schema
6836d531c9adcd6abfa3a5e296d3da977f7b7fb1
[ "MIT" ]
301
2015-07-17T22:22:56.000Z
2022-03-20T13:42:22.000Z
lib/ex_json_schema/validator/ref.ex
tinfoil/ex_json_schema
6836d531c9adcd6abfa3a5e296d3da977f7b7fb1
[ "MIT" ]
70
2015-09-30T21:19:43.000Z
2022-02-03T10:23:07.000Z
lib/ex_json_schema/validator/ref.ex
tinfoil/ex_json_schema
6836d531c9adcd6abfa3a5e296d3da977f7b7fb1
[ "MIT" ]
100
2015-09-16T11:58:15.000Z
2022-01-31T19:09:32.000Z
defmodule ExJsonSchema.Validator.Ref do @moduledoc """ `ExJsonSchema.Validator` implementation for `"$ref"` attributes. See: """ alias ExJsonSchema.Schema alias ExJsonSchema.Validator @behaviour ExJsonSchema.Validator @impl ExJsonSchema.Validator def validate(root, _, {"$ref", ref}, data, path) d...
23
83
0.702446
28dfd94b42058d1e0a95267ca701f199978ae8fc
4,637
exs
Elixir
test/adoptoposs/search_test.exs
rogervezaro/adoptoposs
a5ce3c0daa103be5f869b2d8aed5bbc349aa392d
[ "MIT" ]
null
null
null
test/adoptoposs/search_test.exs
rogervezaro/adoptoposs
a5ce3c0daa103be5f869b2d8aed5bbc349aa392d
[ "MIT" ]
null
null
null
test/adoptoposs/search_test.exs
rogervezaro/adoptoposs
a5ce3c0daa103be5f869b2d8aed5bbc349aa392d
[ "MIT" ]
null
null
null
defmodule Adoptoposs.SearchTest do use Adoptoposs.DataCase import Adoptoposs.Factory alias Adoptoposs.Search alias Adoptoposs.Tags.Tag describe "search" do test "find_projects/2 returns the matching projects" do # If no filters are passed, results are not filtered by languages. # So this one...
40.321739
93
0.639206
28dff1964ee13dff4da1ef5a41db17e00d466a73
1,439
ex
Elixir
lib/glimesh/oauth/resource_owners.ex
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
lib/glimesh/oauth/resource_owners.ex
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
lib/glimesh/oauth/resource_owners.ex
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
defmodule Glimesh.Oauth.ResourceOwners do @moduledoc false @behaviour Boruta.Oauth.ResourceOwners alias Boruta.Oauth.ResourceOwner alias Glimesh.Accounts.User alias Glimesh.Repo @impl Boruta.Oauth.ResourceOwners def get_by(username: username) do case Repo.replica().get_by(User, username: username) ...
27.150943
78
0.673384
28e055c96658060ad9c3146cce1dc224f8775069
255
exs
Elixir
book-material/modules/factorial.exs
AdnanCodes/Elixir-Learning
6fbab6092384566aff92bccf64b1af90c68ecb6c
[ "MIT" ]
null
null
null
book-material/modules/factorial.exs
AdnanCodes/Elixir-Learning
6fbab6092384566aff92bccf64b1af90c68ecb6c
[ "MIT" ]
null
null
null
book-material/modules/factorial.exs
AdnanCodes/Elixir-Learning
6fbab6092384566aff92bccf64b1af90c68ecb6c
[ "MIT" ]
null
null
null
defmodule Factorial do def of(0) do 1 end def of(n) do n * of(n - 1) end end # This example of Elixir function showcases recursive solution # Elixir functions run from top to bottom # Base case must be first definition in named function
18.214286
62
0.709804
28e05da9a6d709642d9732276169ca55feee6a3b
1,386
ex
Elixir
test/support/data_case.ex
pghildiy/phoenix-todoapp
4ba8e75e2a88a9c7f5756bc579e6763423bfaa42
[ "MIT" ]
20
2017-07-18T14:51:28.000Z
2021-11-15T11:40:24.000Z
test/support/data_case.ex
pghildiy/phoenix-todoapp
4ba8e75e2a88a9c7f5756bc579e6763423bfaa42
[ "MIT" ]
4
2016-08-12T07:00:15.000Z
2017-11-09T20:35:13.000Z
test/support/data_case.ex
pghildiy/phoenix-todoapp
4ba8e75e2a88a9c7f5756bc579e6763423bfaa42
[ "MIT" ]
5
2017-11-09T13:33:22.000Z
2020-05-24T16:36:27.000Z
defmodule TodoApp.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test...
25.666667
77
0.680375
28e07c0c56d95ed8eaa6d483f0cdaf298a4f6369
2,618
exs
Elixir
exercises/practice/luhn/test/luhn_test.exs
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/luhn/test/luhn_test.exs
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/luhn/test/luhn_test.exs
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule LuhnTest do use ExUnit.Case # @tag :pending test "single digit strings can not be valid" do refute Luhn.valid?("1") end @tag :pending test "A single zero is invalid" do refute Luhn.valid?("0") end @tag :pending test "a simple valid SIN that remains valid if reversed" do assert...
22.964912
101
0.678762
28e090534418fb1209b57e587dfbfe1967578a73
3,223
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/config_change.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/lib/google_api/service_management/v1/model/config_change.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/config_change.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 ...
42.973333
173
0.717344
28e0eb48870ca07f29812fb7a28e5483feb39cff
1,819
exs
Elixir
mix.exs
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
mix.exs
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
mix.exs
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
defmodule ExTrello.Mixfile do use Mix.Project def project do [app: :ex_trello, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases: alia...
26.362319
78
0.565146
28e10703a6e211e2ddb463f3f5615704a76febdf
18,487
exs
Elixir
test/vintage_net_wifi/wpa_supplicant_test.exs
pavels/vintage_net_wifi
514ca39ed9b313dd98598cabc53eee53d63fbd59
[ "Apache-2.0" ]
null
null
null
test/vintage_net_wifi/wpa_supplicant_test.exs
pavels/vintage_net_wifi
514ca39ed9b313dd98598cabc53eee53d63fbd59
[ "Apache-2.0" ]
null
null
null
test/vintage_net_wifi/wpa_supplicant_test.exs
pavels/vintage_net_wifi
514ca39ed9b313dd98598cabc53eee53d63fbd59
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetWiFi.WPASupplicantTest do use ExUnit.Case alias VintageNetWiFi.WPASupplicant alias VintageNetWiFiTest.MockWPASupplicant setup do socket_path = "test_tmp/tmp_wpa_supplicant_socket" File.mkdir_p!(socket_path) mock = start_supervised!({MockWPASupplicant, Path.join(socket_path, "t...
40.18913
992
0.699789
28e116a14c0e99178d35ff1f951861c4ef412554
17,499
ex
Elixir
lib/phoenix_live_view/channel.ex
Schultzer/phoenix_live_view
957b7ebfb66034cb093a81d991c044f7e532aa5d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/channel.ex
Schultzer/phoenix_live_view
957b7ebfb66034cb093a81d991c044f7e532aa5d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/channel.ex
Schultzer/phoenix_live_view
957b7ebfb66034cb093a81d991c044f7e532aa5d
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Channel do @moduledoc false use GenServer, restart: :temporary require Logger alias Phoenix.LiveView.{Socket, View, Diff} alias Phoenix.Socket.Message @prefix :phoenix def start_link({auth_payload, from, phx_socket}) do GenServer.start_link(__MODULE__, {auth_payload, fro...
31.758621
100
0.632208
28e12e6840af31d7a6936a8a98e89c061eb233e1
1,911
ex
Elixir
lib/animu/web/controllers/media/anime_controller.ex
elarkham/animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
1
2018-01-02T06:59:08.000Z
2018-01-02T06:59:08.000Z
lib/animu/web/controllers/media/anime_controller.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
lib/animu/web/controllers/media/anime_controller.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
defmodule Animu.Web.AnimeController do use Animu.Web, :controller alias Animu.Media alias Animu.Media.Anime plug :put_view, Animu.Web.AnimeView action_fallback Animu.Web.FallbackController ## Helpers defp parse(slug) do case Integer.parse(slug) do {id, _} -> id :error -> slug end ...
24.189873
76
0.599163
28e146fb1f213e49f71cca16a0bbcf0b6c008472
3,042
ex
Elixir
lib/saxy/handler.ex
vanjabucic/saxy
f9b63a888ebe4a0918f798d0b8a9576ad4a9c4e4
[ "MIT" ]
1
2020-04-29T08:08:22.000Z
2020-04-29T08:08:22.000Z
lib/saxy/handler.ex
manuel-rubio/saxy
cc61bc2962bda604ce47e9e276d192d058c6c1f8
[ "MIT" ]
null
null
null
lib/saxy/handler.ex
manuel-rubio/saxy
cc61bc2962bda604ce47e9e276d192d058c6c1f8
[ "MIT" ]
null
null
null
defmodule Saxy.Handler do @moduledoc ~S""" This module provides callbacks to implement SAX events handler. """ @doc ~S""" Callback for event handling. This callback takes an event type, an event data and `user_state` as the input. The initial `user_state` is the third argument in `Saxy.parse_string/3` ...
39
149
0.67094
28e1c942f9c8232fb59f408b6bb0f91df67fba29
253
ex
Elixir
lib/grimoire.ex
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
lib/grimoire.ex
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
lib/grimoire.ex
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
defmodule Grimoire do @moduledoc """ Grimoire 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
25.3
66
0.754941
28e1cb7c9fac6aed563ef4f9673a8fea7e3671fa
1,843
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/sql_external_sync_setting_error.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/sql_external_sync_setting_error.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/sql_external_sync_setting_error.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.773585
132
0.721107
28e1f8be16e20b2fc929a836a9c5ddaceb7eb59a
1,002
ex
Elixir
lib/pigeon/checks.ex
VerKnowSys/homingPigeon
9a14630b51f1a12475eebfdf51b25f8795f91f46
[ "MIT" ]
null
null
null
lib/pigeon/checks.ex
VerKnowSys/homingPigeon
9a14630b51f1a12475eebfdf51b25f8795f91f46
[ "MIT" ]
null
null
null
lib/pigeon/checks.ex
VerKnowSys/homingPigeon
9a14630b51f1a12475eebfdf51b25f8795f91f46
[ "MIT" ]
null
null
null
defmodule Pigeon.Checks do require Logger alias Pigeon.Check alias Pigeon.Globals def global do default_globals_json_file = Application.get_env(:pigeon, :globals_file) Logger.info "Trying to load global file: '#{default_globals_json_file}'" body = case File.read(default_globals_json_file) do ...
28.628571
94
0.667665
28e2b33b2dd5a13e3697ee93f0d2814da69c4af0
419
ex
Elixir
lib/valvex/http.ex
aguxez/kronos
feb2aef994b609efee6122c917ebeaca73da648e
[ "MIT" ]
null
null
null
lib/valvex/http.ex
aguxez/kronos
feb2aef994b609efee6122c917ebeaca73da648e
[ "MIT" ]
null
null
null
lib/valvex/http.ex
aguxez/kronos
feb2aef994b609efee6122c917ebeaca73da648e
[ "MIT" ]
null
null
null
defmodule Valvex.HTTP do @moduledoc false def get_body(url) do url |> ExRated.check_rate(86400000, 100000) # 100_000 requests per day |> parse(url) end defp parse({:ok, _}, url) do %HTTPoison.Response{body: body, status_code: 200} = HTTPoison.get!(url) Poison.decode!(body) end defp par...
19.045455
75
0.646778
28e2c3cf3f9af8327697ab3e8a5cf6f10c77ae1d
2,613
exs
Elixir
utils/heldkarp.exs
jochumb/aoc2015
4348372a79966bc4d6324d0874e018e6fe3c26df
[ "MIT" ]
null
null
null
utils/heldkarp.exs
jochumb/aoc2015
4348372a79966bc4d6324d0874e018e6fe3c26df
[ "MIT" ]
null
null
null
utils/heldkarp.exs
jochumb/aoc2015
4348372a79966bc4d6324d0874e018e6fe3c26df
[ "MIT" ]
null
null
null
defmodule HeldKarp do def shortest(dists) do {key, circle} = calculate_costs(dists) |> calculate_full_circle(dists) {total_cost, _} = Map.get(circle, key) path = path_from(key, circle) |> Enum.reverse {total_cost, path} end defp calculate_costs(dists) do v_count = Enum.count(dists) cre...
28.096774
90
0.619594
28e2c47010b744caf7bd95ae569987253bd7e827
2,268
ex
Elixir
lib/blog/authenticate.ex
Chlorophytus/blog
abddd9051cf482671575382ad531bb5132790b18
[ "MIT" ]
null
null
null
lib/blog/authenticate.ex
Chlorophytus/blog
abddd9051cf482671575382ad531bb5132790b18
[ "MIT" ]
null
null
null
lib/blog/authenticate.ex
Chlorophytus/blog
abddd9051cf482671575382ad531bb5132790b18
[ "MIT" ]
null
null
null
require Logger defmodule Blog.Authenticate do @moduledoc """ Authentication to POST a blog entry """ @spec init :: :ok | {:error, atom} def init() do Logger.info("writing the initial key...") File.mkdir(Application.app_dir(:blog, ["keys"])) File.write( Application.app_dir(:blog, ["keys", "...
25.772727
82
0.538801
28e2cb95ae5a665db5b43b8db6fb3e719ebc5536
4,243
ex
Elixir
farmbot_core/lib/farmbot_core/asset/private/local_meta.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_core/lib/farmbot_core/asset/private/local_meta.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/asset/private/local_meta.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotCore.Asset.Private.LocalMeta do @moduledoc """ Existance of LocalMeta is a hint to Farmbot that an Asset needs to be reconciled with the remote API. """ use Ecto.Schema import Ecto.Changeset alias FarmbotCore.Asset.{ Repo, Device, DiagnosticDump, DeviceCert, FarmEvent...
22.935135
79
0.636107
28e2d78ae1d639490484a6a78588f249c662b464
2,408
exs
Elixir
mix.exs
blatyo/plug
bd64f0196d3a22f7a1ba25ff10b2c0bbbdb4f200
[ "Apache-2.0" ]
null
null
null
mix.exs
blatyo/plug
bd64f0196d3a22f7a1ba25ff10b2c0bbbdb4f200
[ "Apache-2.0" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
mix.exs
blatyo/plug
bd64f0196d3a22f7a1ba25ff10b2c0bbbdb4f200
[ "Apache-2.0" ]
null
null
null
defmodule Plug.MixProject do use Mix.Project @version "1.8.2" @description "A specification and conveniences for composable modules between web applications" @xref_exclude [Plug.Cowboy, :telemetry] def project do [ app: :plug, version: @version, elixir: "~> 1.4", deps: deps(), ...
21.5
97
0.542774
28e3030673f35d4df995c0f315ae28403db990a5
400
exs
Elixir
package.exs
yrashk/properex
edbec94af889f4bb9a3cae85f74e161a7ab1c480
[ "MIT" ]
9
2015-06-21T02:05:09.000Z
2020-01-14T00:14:27.000Z
package.exs
yrashk/properex
edbec94af889f4bb9a3cae85f74e161a7ab1c480
[ "MIT" ]
null
null
null
package.exs
yrashk/properex
edbec94af889f4bb9a3cae85f74e161a7ab1c480
[ "MIT" ]
3
2016-01-28T12:10:39.000Z
2016-03-30T12:39:55.000Z
Expm.Package.new(name: "properex", description: "PropEr support for Elixir", version: "0.1", keywords: ["test","random","property"], maintainers: [[name: "Yurii Rashkovskii", email: "yrashk@gmail.com"]], contributors: [[name: "ILYA Khloptov", email: "ilya@spawngrid.co...
66.666667
87
0.575
28e33ff29c97fc25fac4f18ce96621a8ddc16183
962
exs
Elixir
test/game/command/whisper_test.exs
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
test/game/command/whisper_test.exs
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
test/game/command/whisper_test.exs
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
defmodule Game.Command.WhisperTest do use ExVenture.CommandCase alias Game.Command.Whisper doctest Whisper setup do user = create_user(%{name: "user", password: "password"}) character = create_character(user) %{state: session_state(%{user: user, character: character})} end describe "whisper ...
22.904762
64
0.618503
28e3b3acdd9abef312023da5b5d20b1dbcc267c3
22,717
ex
Elixir
lib/elixir/lib/map.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/map.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/map.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
defmodule Map do @moduledoc """ A set of functions for working with maps. Many functions for maps, which implement the `Enumerable` protocol, are found in the `Enum` module. Additionally, the following functions for maps are found in `Kernel`: * `map_size/1` Maps are the "go to" key-value data struct...
25.213097
98
0.571422
28e3b5447439105f8a6664b8a614462c44ff27aa
818
exs
Elixir
restserver_genserver/test/server_test.exs
arquitecturas-concurrentes/iasc-otp-elixir-2019c2
c8c6c88db978785f439596e0b5f582473b54a35f
[ "BSD-3-Clause" ]
null
null
null
restserver_genserver/test/server_test.exs
arquitecturas-concurrentes/iasc-otp-elixir-2019c2
c8c6c88db978785f439596e0b5f582473b54a35f
[ "BSD-3-Clause" ]
null
null
null
restserver_genserver/test/server_test.exs
arquitecturas-concurrentes/iasc-otp-elixir-2019c2
c8c6c88db978785f439596e0b5f582473b54a35f
[ "BSD-3-Clause" ]
null
null
null
defmodule ServerTest do use ExUnit.Case test "otp implemented server" do {:ok, server} = ServerOTP.start_link() assert ServerOTP.get(server, "/document") == {:ok, :not_found} ServerOTP.post(server, "/document", "hello world") assert ServerOTP.get(server, "/document") == {:ok, "hello world"} ...
24.058824
69
0.644254
28e3cd67d32afa7f7c81dcd733bafcb915123133
4,766
exs
Elixir
test/json_schema_test_suite/draft6/any_of_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
test/json_schema_test_suite/draft6/any_of_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
test/json_schema_test_suite/draft6/any_of_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule JsonSchemaTestSuite.Draft6.AnyOfTest do use ExUnit.Case import Xema, only: [valid?: 2] describe ~s|anyOf| do setup do %{ schema: Xema.from_json_schema( %{"anyOf" => [%{"type" => "integer"}, %{"minimum" => 2}]}, draft: "draft6", atom: :for...
22.913462
93
0.496013
28e3e67ee7e5a6a1445b3333808290ff7fd87b7e
1,971
ex
Elixir
lib/shopify_api/rest/tag.ex
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
null
null
null
lib/shopify_api/rest/tag.ex
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
null
null
null
lib/shopify_api/rest/tag.ex
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
null
null
null
defmodule ShopifyAPI.REST.Tag do @moduledoc """ Helpers methods for dealing with Shopify Tags. Tags in Shopify are just a string field with comma separated values, since tags are more accessible then Metafields we have included the ability to encode key/value pairs in the tag. ## Examples iex> "foo, b...
31.285714
93
0.62963
28e40c1554dfedb7b9c6136e81c78cfa4626cfed
937
ex
Elixir
catcasts/lib/catcasts/application.ex
cashmann/phoenix-tutorial
ea37b9d54a79df9bc1351a948eb8f8400c5e62ff
[ "MIT" ]
null
null
null
catcasts/lib/catcasts/application.ex
cashmann/phoenix-tutorial
ea37b9d54a79df9bc1351a948eb8f8400c5e62ff
[ "MIT" ]
3
2021-03-09T20:36:45.000Z
2021-05-10T17:47:02.000Z
lib/catcasts/application.ex
kniarzyn/catcasts
69d62bde811f8dbc531e41add1223cc7bc6c175d
[ "MIT" ]
null
null
null
defmodule Catcasts.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto repository Catcasts.Repo, ...
29.28125
67
0.716115
28e43db06f73f68c51c4c2e80003102c59fca402
5,022
ex
Elixir
lib/channel_manager.ex
cjwadair/phx_in_place
12ea71ec1d3dc8ac2b2f220d0b3f4c676706c570
[ "MIT" ]
4
2018-05-17T09:56:51.000Z
2022-02-26T21:24:47.000Z
lib/channel_manager.ex
cjwadair/phx_in_place
12ea71ec1d3dc8ac2b2f220d0b3f4c676706c570
[ "MIT" ]
null
null
null
lib/channel_manager.ex
cjwadair/phx_in_place
12ea71ec1d3dc8ac2b2f220d0b3f4c676706c570
[ "MIT" ]
null
null
null
defmodule PhxInPlace.ChannelManager do @moduledoc false import Number.{Currency, Percentage, Delimit} defmacro __using__(params) do quote do @repo Application.get_env(:phx_in_place, :repo) import PhxInPlace.ChannelManager @doc """ Handles the pip_update event when called from clie...
36.391304
162
0.65233
28e4cc8b0d49733f6412c8989a22617ad392c594
3,103
exs
Elixir
test/lib/util/memcache_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
test/lib/util/memcache_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
test/lib/util/memcache_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. defmodule Antikythera.MemcacheTest do use Croma.TestCase alias AntikytheraCore.ExecutorPool alias AntikytheraCore.ExecutorPool.Setting, as: EPoolSetting alias Antikythera.Memcache.{Key, Value} alias AntikytheraCore.ExecutorPool.MemcacheWriter a...
41.932432
98
0.672253
28e4e355fef34ecb868c6b604e7db90a7b6b2d94
151
ex
Elixir
apps/ema/lib/ema/worker.ex
hoyon/skye
50a25a55bb0c38460a0bd204c8d0ce716da9f017
[ "MIT" ]
null
null
null
apps/ema/lib/ema/worker.ex
hoyon/skye
50a25a55bb0c38460a0bd204c8d0ce716da9f017
[ "MIT" ]
null
null
null
apps/ema/lib/ema/worker.ex
hoyon/skye
50a25a55bb0c38460a0bd204c8d0ce716da9f017
[ "MIT" ]
null
null
null
defmodule Ema.Worker do @behaviour Honeydew.Worker def run(service, action, argument) do Ema.Service.run(service, action, argument) end end
18.875
46
0.741722
28e4f255d903e485a1e0bd88267eaf59b1e559b6
194
ex
Elixir
lib/phone/iq.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/iq.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/iq.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.IQ do @moduledoc false use Helper.Country def regex, do: ~r/^(964)()(.+)/ def country, do: "Iraq" def a2, do: "IQ" def a3, do: "IRQ" matcher :regex, ["964"] end
14.923077
33
0.592784
28e4f577d91664083e449772e09f8bc809154c40
223
ex
Elixir
lib/flame_on/capture.ex
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
55
2022-02-23T20:36:43.000Z
2022-03-31T13:55:28.000Z
lib/flame_on/capture.ex
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
7
2022-02-24T00:23:10.000Z
2022-03-28T18:23:30.000Z
lib/flame_on/capture.ex
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
1
2022-02-26T03:27:00.000Z
2022-02-26T03:27:00.000Z
defmodule FlameOn.Capture do alias FlameOn.Capture.Server alias FlameOn.Capture.Config def capture(%Config{} = config) do {:ok, _pid} = :erpc.call(config.target_node, Server, :start, [config]) :ok end end
20.272727
74
0.695067
28e4f7bef1cb0870dd258f6fa4b6db9751822d68
1,115
exs
Elixir
Chapter 5/superv/config/config.exs
sebarys/learning-elixir
6f105205b70e5bdaffe7bbc11ef4c1c7c677d6d1
[ "Apache-2.0" ]
null
null
null
Chapter 5/superv/config/config.exs
sebarys/learning-elixir
6f105205b70e5bdaffe7bbc11ef4c1c7c677d6d1
[ "Apache-2.0" ]
null
null
null
Chapter 5/superv/config/config.exs
sebarys/learning-elixir
6f105205b70e5bdaffe7bbc11ef4c1c7c677d6d1
[ "Apache-2.0" ]
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...
35.967742
73
0.750673
28e4fb5a7e188aadf0583718adcebdc22bf0bb26
95
ex
Elixir
test/support/fake_giphy.ex
alisiikh/gifgen
6bf4053101d59d639daf267169ce82fe280b80f9
[ "Apache-2.0" ]
null
null
null
test/support/fake_giphy.ex
alisiikh/gifgen
6bf4053101d59d639daf267169ce82fe280b80f9
[ "Apache-2.0" ]
null
null
null
test/support/fake_giphy.ex
alisiikh/gifgen
6bf4053101d59d639daf267169ce82fe280b80f9
[ "Apache-2.0" ]
null
null
null
defmodule FakeGiphy do def random(_) do %{"data" => %{"image_url" => "a_url"}} end end
15.833333
42
0.589474
28e52851e846f7cd358f230378f2b90829b97910
5,211
ex
Elixir
lib/web_socket/cowboy/handler.ex
slogsdon/plug-web-socket
41e81bc067083d0e54432883767235ebaf1f5467
[ "MIT" ]
69
2015-05-01T14:32:08.000Z
2022-03-22T05:34:05.000Z
lib/web_socket/cowboy/handler.ex
slogsdon/plug-web-socket
41e81bc067083d0e54432883767235ebaf1f5467
[ "MIT" ]
1
2017-07-13T22:38:45.000Z
2017-07-14T02:06:10.000Z
lib/web_socket/cowboy/handler.ex
slogsdon/plug-web-socket
41e81bc067083d0e54432883767235ebaf1f5467
[ "MIT" ]
19
2015-05-03T20:22:28.000Z
2019-01-07T07:59:36.000Z
defmodule WebSocket.Cowboy.Handler do @moduledoc """ """ @behaviour :cowboy_websocket_handler @connection Plug.Adapters.Cowboy.Conn alias WebSocket.Events alias WebSocket.Message @type cowboy_response_data :: binary | maybe_improper_list(binary | maybe_improper_list(ter...
26.318182
99
0.601228
28e5442656bf522201f88acb6b7356e4071ec6ae
91
exs
Elixir
test/premailex/html_parser_test.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
131
2017-10-01T04:02:35.000Z
2022-03-25T03:28:07.000Z
test/premailex/html_parser_test.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
37
2018-01-16T16:04:46.000Z
2022-03-24T14:38:57.000Z
test/premailex/html_parser_test.exs
dmarkow/premailex
13dfbc5330541f8a30cdf00d3ee21816a3f9820b
[ "MIT" ]
17
2017-12-24T20:13:30.000Z
2021-12-29T19:37:31.000Z
defmodule Premailex.HTMLParserTest do use ExUnit.Case doctest Premailex.HTMLParser end
18.2
37
0.835165
28e558f65afda8b2634681d1ef8d821095d615ba
76
exs
Elixir
part2/.spoiler/config/dev.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
part2/.spoiler/config/dev.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
part2/.spoiler/config/dev.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
# Configs specific for dev env use Mix.Config config :logger, level: :info
15.2
30
0.75
28e568ac31fdbd995e0e36b448a8860f8122ef5b
1,717
ex
Elixir
apps/elixir_ls_debugger/lib/debugger/protocol.basic.ex
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
865
2018-10-31T20:29:13.000Z
2022-03-29T11:13:39.000Z
apps/elixir_ls_debugger/lib/debugger/protocol.basic.ex
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
441
2019-01-05T02:33:52.000Z
2022-03-30T20:56:50.000Z
apps/elixir_ls_debugger/lib/debugger/protocol.basic.ex
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
126
2018-11-12T19:16:53.000Z
2022-03-26T13:27:50.000Z
defmodule ElixirLS.Debugger.Protocol.Basic do @moduledoc """ Macros for VS Code debug protocol messages These macros can be used for pattern matching or for creating messages corresponding to the request, response, and event types as specified in VS Code debug protocol. """ defmacro request(seq, command)...
24.528571
94
0.54339
28e57015095cf710f35cdf858100ff3e26904ef8
289
ex
Elixir
lib/elixir_mq.ex
derekchiang/Elixir-Message-Queue
b979ad0cbdd38816587c7af337e7e048b59fd517
[ "WTFPL" ]
1
2019-10-29T17:56:34.000Z
2019-10-29T17:56:34.000Z
lib/elixir_mq.ex
derekchiang/Elixir-Message-Queue
b979ad0cbdd38816587c7af337e7e048b59fd517
[ "WTFPL" ]
null
null
null
lib/elixir_mq.ex
derekchiang/Elixir-Message-Queue
b979ad0cbdd38816587c7af337e7e048b59fd517
[ "WTFPL" ]
null
null
null
defmodule ElixirMq do use Application.Behaviour @doc """ The application callback used to start this application and its Dynamos. """ def start(_type, queue) do Queue.Supervisor.start_link(queue) ElixirMq.Dynamo.start_link([max_restarts: 5, max_seconds: 5]) end end
22.230769
65
0.730104
28e57d206b40c52f8aae02be137674f262c53839
172
exs
Elixir
config/dev.exs
cwc/monero_ex
6c63513ef2770c74c0bd840877732c54ad8678d8
[ "Unlicense", "MIT" ]
null
null
null
config/dev.exs
cwc/monero_ex
6c63513ef2770c74c0bd840877732c54ad8678d8
[ "Unlicense", "MIT" ]
null
null
null
config/dev.exs
cwc/monero_ex
6c63513ef2770c74c0bd840877732c54ad8678d8
[ "Unlicense", "MIT" ]
null
null
null
use Mix.Config config :monero, debug_requests: true config :monero, :wallet, url: "http://127.0.0.1:18081" config :monero, :daemon, url: "http://127.0.0.1:28081"
14.333333
31
0.662791
28e595473eeebeb8d0f99a4ac224e771a0685a61
2,758
ex
Elixir
lib/mix/phoenix/inflector.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
11
2020-01-25T16:17:24.000Z
2020-06-03T10:46:27.000Z
lib/mix/phoenix/inflector.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
null
null
null
lib/mix/phoenix/inflector.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
null
null
null
defmodule Entrance.Mix.Phoenix.Inflector do @moduledoc false @doc """ Inflects path, scope, alias and more from the given name. ## Examples ``` [alias: "User", human: "User", base: "Phoenix", web_module: "PhoenixWeb", module: "Phoenix.User", scoped: "User", singular: "user", path: "u...
22.241935
63
0.603336
28e5a23ffe4b5359550129aae39312582c1e0692
1,562
exs
Elixir
apps/blockchain/test/blockchain/hardfork/dao_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/blockchain/test/blockchain/hardfork/dao_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/blockchain/test/blockchain/hardfork/dao_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule Blockchain.Hardfork.DaoTest do use ExUnit.Case, async: true alias Blockchain.{Account, Chain} alias Blockchain.Hardfork.Dao describe "execute" do test "transfers all DAO account funds into the refund contract" do chain = Chain.load_chain(:foundation) dao_accounts = dao_hardfork_accou...
29.471698
96
0.708067
28e5b0fac7ca245661910f67ffb9add5403a7aff
8,366
ex
Elixir
lib/virgo_web/controllers/contests/submission_controller.ex
GinShio/AstraeaVirgo
92804cbae01f67e21b8f421009fa37fddc9054e1
[ "BSD-2-Clause" ]
null
null
null
lib/virgo_web/controllers/contests/submission_controller.ex
GinShio/AstraeaVirgo
92804cbae01f67e21b8f421009fa37fddc9054e1
[ "BSD-2-Clause" ]
null
null
null
lib/virgo_web/controllers/contests/submission_controller.ex
GinShio/AstraeaVirgo
92804cbae01f67e21b8f421009fa37fddc9054e1
[ "BSD-2-Clause" ]
null
null
null
defmodule AstraeaVirgoWeb.Contests.SubmissionController do use AstraeaVirgoWeb, :controller @moduledoc """ Impl Contest Submission API without auth: - `GET /api/contests/<contest_id>/submissions`: get submissions info of specified contest - `GET /api/contests/<contest_id>/submissions/<submission_id>`: ge...
43.34715
134
0.665073
28e5ca4ed2f4822a5309e0f78f3e5f937cd6dda0
4,795
exs
Elixir
mix.exs
gestsol/guardian
ee173c7ff0343d77cf10c559bd11ac2c88804ad8
[ "MIT" ]
null
null
null
mix.exs
gestsol/guardian
ee173c7ff0343d77cf10c559bd11ac2c88804ad8
[ "MIT" ]
null
null
null
mix.exs
gestsol/guardian
ee173c7ff0343d77cf10c559bd11ac2c88804ad8
[ "MIT" ]
null
null
null
defmodule Guardian.Mixfile do @moduledoc false use Mix.Project @version "1.1.1" @url "https://github.com/ueberauth/guardian" @maintainers [ "Daniel Neighman", "Sonny Scroggin", "Sean Callan" ] def project do [ name: "Guardian", app: :guardian, version: @version, e...
26.202186
92
0.564129
28e5cf3d02b5bf778550c5894536a5957f6b9e64
1,248
ex
Elixir
lib/exq/support/coercion.ex
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
1,406
2015-01-16T03:00:32.000Z
2022-03-28T11:38:22.000Z
lib/exq/support/coercion.ex
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
372
2015-01-08T05:15:11.000Z
2022-03-18T18:05:34.000Z
lib/exq/support/coercion.ex
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
217
2015-02-01T20:21:36.000Z
2022-01-28T16:19:55.000Z
defmodule Exq.Support.Coercion do @moduledoc false def to_integer(value) when is_integer(value) do value end def to_integer(binary) when is_binary(binary) do binary |> Integer.parse() |> case do {integer, ""} -> integer _ -> raise ArgumentError, message: ...
21.894737
72
0.634615
28e6013f8d976d81a874f85c5cf2a9a5f9a8a202
10,035
ex
Elixir
lib/db_connection/ownership/manager.ex
khattori/db_connection
fb82de035522762e4df804e48750ee1f977aec0d
[ "Apache-2.0" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
deps/db_connection/lib/db_connection/ownership/manager.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/db_connection/lib/db_connection/ownership/manager.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
null
null
null
defmodule DBConnection.Ownership.Manager do @moduledoc false use GenServer require Logger alias DBConnection.Ownership.Proxy @timeout 5_000 @callback start_link({module, opts :: Keyword.t()}) :: GenServer.on_start() def start_link({module, opts}) do {owner_opts, pool_opts} = Keyword.sp...
30.876923
98
0.622322
28e64068729c0c2f2c1eb1ebf8c7a165ddea0336
1,626
ex
Elixir
clients/vault/lib/google_api/vault/v1/model/account_count.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vault/lib/google_api/vault/v1/model/account_count.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vault/lib/google_api/vault/v1/model/account_count.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.52
120
0.718327
28e641359657027c87ba1112507f79939074580f
1,893
ex
Elixir
lib/sse_demo_web.ex
vjebelev/sse_demo
2987ca57bd18fee11a179e9e75d114aa9b28feb9
[ "MIT" ]
null
null
null
lib/sse_demo_web.ex
vjebelev/sse_demo
2987ca57bd18fee11a179e9e75d114aa9b28feb9
[ "MIT" ]
null
null
null
lib/sse_demo_web.ex
vjebelev/sse_demo
2987ca57bd18fee11a179e9e75d114aa9b28feb9
[ "MIT" ]
null
null
null
defmodule SseDemoWeb 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 SseDemoWeb, :controller use SseDemoWeb, :view The definitions below will be executed for every view, controller, ...
23.085366
76
0.685684
28e659b78c6bbc3da361bbfadc4df8493f79e93b
1,838
exs
Elixir
test/pdu_storage_test.exs
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
49
2019-11-27T00:20:59.000Z
2022-02-18T17:07:14.000Z
test/pdu_storage_test.exs
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
62
2016-05-19T17:11:02.000Z
2019-11-21T16:47:15.000Z
test/pdu_storage_test.exs
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
25
2016-05-20T14:44:43.000Z
2019-11-15T14:50:24.000Z
defmodule SMPPEX.PduStorageTest do use ExUnit.Case alias SMPPEX.PduStorage alias SMPPEX.Pdu test "store" do storage = PduStorage.new() pdu1 = %Pdu{SMPPEX.Pdu.Factory.bind_transmitter("system_id1", "pass1") | sequence_number: 123} pdu2 = %Pdu{SMPPEX.Pdu.Factory.bind_transmitter("system_id2", "pass2...
34.037037
98
0.693689
28e6d2706364bf31de4bb4f3c12b75e1195514d6
14,178
ex
Elixir
lib/expr.ex
serverboards/exosql
cb15305a1aecc97d9946bd32501f03c7894cfcd0
[ "Apache-2.0" ]
60
2018-01-12T12:53:13.000Z
2022-02-23T23:32:59.000Z
lib/expr.ex
serverboards/exosql
cb15305a1aecc97d9946bd32501f03c7894cfcd0
[ "Apache-2.0" ]
1
2018-02-22T13:09:08.000Z
2018-02-22T18:33:53.000Z
lib/expr.ex
serverboards/exosql
cb15305a1aecc97d9946bd32501f03c7894cfcd0
[ "Apache-2.0" ]
null
null
null
require Logger defmodule ExoSQL.Expr do @moduledoc """ Expression executor. Requires a simplified expression from `ExoSQL.Expr.simplify` that converts columns names to column positions, and then use as: ``` iex> context = %{ row: [1,2,3,4,5] } iex> expr = {:op, {"*", {:column, 1}, {:column, 2}}} ...
22.6848
97
0.540556
28e6f114f2db62f411deac7693fe1160d208da8c
2,043
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/metric_structured_name.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/metric_structured_name.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/metric_structured_name.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.86
429
0.748409
28e6fbd324c319f6d34e6b087729259550ac27a5
152
ex
Elixir
lib/phxwhttpoison_web/controllers/page_controller.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/phxwhttpoison_web/controllers/page_controller.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/phxwhttpoison_web/controllers/page_controller.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
defmodule PhxwhttpoisonWeb.PageController do use PhxwhttpoisonWeb, :controller def index(conn, _params) do render conn, "index.html" end end
19
44
0.763158
28e702283b04fc17c8ce8da1d7f8dff9b84f6e23
725
exs
Elixir
mix.exs
tsharju/messenger_platform
a6f93d877c6e36bee33ec0ea1e6c0dbc21f20164
[ "MIT" ]
null
null
null
mix.exs
tsharju/messenger_platform
a6f93d877c6e36bee33ec0ea1e6c0dbc21f20164
[ "MIT" ]
null
null
null
mix.exs
tsharju/messenger_platform
a6f93d877c6e36bee33ec0ea1e6c0dbc21f20164
[ "MIT" ]
null
null
null
defmodule MessengerPlatform.Mixfile do use Mix.Project def project do [app: :messenger_platform, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix hel...
21.323529
77
0.616552
28e73d2a40760f668d8c20c8709bf7222c417c07
147,255
ex
Elixir
lib/elixir/lib/kernel.ex
Amuhar/Elixir
7e72cdf2407ea6706c9767f7add76dd04000a6c3
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
Amuhar/Elixir
7e72cdf2407ea6706c9767f7add76dd04000a6c3
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
Amuhar/Elixir
7e72cdf2407ea6706c9767f7add76dd04000a6c3
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
26.81752
111
0.635279
28e752214b77af91d0415957b3267c2d5d3da2a7
4,880
ex
Elixir
lib/mix/lib/mix/cli.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/cli.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/cli.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.CLI do @moduledoc false @doc """ Runs Mix according to the command line arguments. """ def main(args \\ System.argv()) do Mix.Local.append_archives() Mix.Local.append_paths() if env_variable_activated?("MIX_QUIET"), do: Mix.shell(Mix.Shell.Quiet) if env_variable_activated?("MIX...
25.684211
105
0.631557
28e75c7a455fc850d63189eff7cfe8ada34c35d6
538
ex
Elixir
lib/ex_orient/keep_alive/worker.ex
syncrypt/ex_orient
966823f5c1823c5c5ed3b9ed5e0a61280ca44e40
[ "MIT" ]
null
null
null
lib/ex_orient/keep_alive/worker.ex
syncrypt/ex_orient
966823f5c1823c5c5ed3b9ed5e0a61280ca44e40
[ "MIT" ]
null
null
null
lib/ex_orient/keep_alive/worker.ex
syncrypt/ex_orient
966823f5c1823c5c5ed3b9ed5e0a61280ca44e40
[ "MIT" ]
1
2021-07-21T07:45:22.000Z
2021-07-21T07:45:22.000Z
defmodule ExOrient.KeepAlive.Worker do use GenServer @interval 60 * 1000 def start_link do GenServer.start_link(__MODULE__, []) end def init(state) do Process.send_after(self(), :keep_alive, @interval) {:ok, state} end def handle_info(:keep_alive, state) do :marco_polo |> GenServer...
20.692308
57
0.659851
28e78945487331de171c0bde1b5994b5c08a2ab1
2,591
exs
Elixir
mix.exs
stoiven/tilex
953eca1e5471c603527b4c655fdfc4d60198f47f
[ "MIT" ]
null
null
null
mix.exs
stoiven/tilex
953eca1e5471c603527b4c655fdfc4d60198f47f
[ "MIT" ]
null
null
null
mix.exs
stoiven/tilex
953eca1e5471c603527b4c655fdfc4d60198f47f
[ "MIT" ]
null
null
null
defmodule Tilex.Mixfile do use Mix.Project def project do [ app: :tilex, version: "0.0.1", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == ...
28.788889
89
0.534157
28e7d562aee46665ca1167efc65a3ad2e7cd401d
2,276
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.943396
482
0.735501
28e7e2c4354dfe66f128bb14b0dad7fb8809e37a
6,494
ex
Elixir
lib/swarm/registry.ex
defacedvr/swarm
072d74be5f2c2500221251f8fd9c6988dbd5f703
[ "MIT" ]
1
2019-10-09T12:57:04.000Z
2019-10-09T12:57:04.000Z
lib/swarm/registry.ex
defacedvr/swarm
072d74be5f2c2500221251f8fd9c6988dbd5f703
[ "MIT" ]
null
null
null
lib/swarm/registry.ex
defacedvr/swarm
072d74be5f2c2500221251f8fd9c6988dbd5f703
[ "MIT" ]
1
2019-11-19T11:57:24.000Z
2019-11-19T11:57:24.000Z
defmodule Swarm.Registry do @moduledoc false import Swarm.Entry alias Swarm.{Tracker, Entry} use GenServer @table_name :swarm_registry ## Public API defdelegate register(name, pid), to: Tracker, as: :track defdelegate register(name, module, fun, args, timeout), to: Tracker, as: :track @spec unregi...
25.769841
93
0.580074
28e7f37a61904ff909a936a75263d437a008524e
98
exs
Elixir
test/reviews_framework_web/views/page_view_test.exs
gedzubo/reviews_framework
5b5961190ceed4d8a5e6c878b3854007084519aa
[ "MIT" ]
null
null
null
test/reviews_framework_web/views/page_view_test.exs
gedzubo/reviews_framework
5b5961190ceed4d8a5e6c878b3854007084519aa
[ "MIT" ]
null
null
null
test/reviews_framework_web/views/page_view_test.exs
gedzubo/reviews_framework
5b5961190ceed4d8a5e6c878b3854007084519aa
[ "MIT" ]
null
null
null
defmodule ReviewsFrameworkWeb.PageViewTest do use ReviewsFrameworkWeb.ConnCase, async: true end
24.5
47
0.857143
28e82c0b65f42fb6ab12355b4ac1ebca4b30dfaf
785
exs
Elixir
test/connection/outbound_test.exs
kalmik/switchx
14d5197b0ed6ab46c307bdb1b928bbf84607bd56
[ "MIT" ]
8
2020-03-30T11:14:19.000Z
2022-03-24T11:53:30.000Z
test/connection/outbound_test.exs
kalmik/switchx
14d5197b0ed6ab46c307bdb1b928bbf84607bd56
[ "MIT" ]
5
2020-03-27T00:00:54.000Z
2020-04-23T00:30:08.000Z
test/connection/outbound_test.exs
kalmik/switchx
14d5197b0ed6ab46c307bdb1b928bbf84607bd56
[ "MIT" ]
1
2020-04-22T23:55:52.000Z
2020-04-22T23:55:52.000Z
defmodule SwitchX.Test.Connection.Outbound.OutboundSession do def start_link(_conn), do: {:ok, "pid"} end defmodule SwitchX.Test.Connection.Outbound do use ExUnit.Case, async: false alias SwitchX.{ Connection } setup do {:ok, server} = Connection.Outbound.start_link( SwitchX.Test.Conn...
21.805556
86
0.626752
28e82da69b07b8cb9e0b7dc2c5c0b4f1689c7a8d
7,179
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
72.515152
700
0.76278
28e83864813a1716d056ec8eb261f583bb645193
4,505
ex
Elixir
lib/swoosh/adapters/postmark.ex
henb/swoosh
54534c411d1b9be46d94c2f75e102098a3ad28ea
[ "MIT" ]
null
null
null
lib/swoosh/adapters/postmark.ex
henb/swoosh
54534c411d1b9be46d94c2f75e102098a3ad28ea
[ "MIT" ]
null
null
null
lib/swoosh/adapters/postmark.ex
henb/swoosh
54534c411d1b9be46d94c2f75e102098a3ad28ea
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.Postmark do @moduledoc ~S""" An adapter that sends email using the Postmark API. For reference: [Postmark API docs](http://developer.postmarkapp.com/developer-send-api.html) ## Example # config/config.exs config :sample, Sample.Mailer, adapter: Swoosh.Adapters.Po...
33.125
99
0.655938
28e83a9b9bc4ffff8b09875b1146799dbae8bc4b
1,485
ex
Elixir
apps/omg_child_chain_rpc/test/support/web/test_helper.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_child_chain_rpc/test/support/web/test_helper.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_child_chain_rpc/test/support/web/test_helper.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
# Copyright 2019 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...
29.7
76
0.716498
28e846b106ccfd7eb1e415e3cef17ada77d9d97d
2,513
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/smtp_delivery.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/smtp_delivery.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_build/lib/google_api/cloud_build/v1/model/smtp_delivery.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...
40.532258
171
0.697971
28e84be9176174625687f996670e4623ad8befe8
84
exs
Elixir
test/fast_protocol_test.exs
baseballlover723/cover_protocol
49610df3c1433df35ae390215b2026468d49ac7c
[ "MIT" ]
null
null
null
test/fast_protocol_test.exs
baseballlover723/cover_protocol
49610df3c1433df35ae390215b2026468d49ac7c
[ "MIT" ]
null
null
null
test/fast_protocol_test.exs
baseballlover723/cover_protocol
49610df3c1433df35ae390215b2026468d49ac7c
[ "MIT" ]
null
null
null
defmodule FastProtocolTest do use ProtocolSharedTests, protocol: FastProtocol end
21
49
0.857143
28e8b1ef497c7a6ffa5102648c51a3ab3c9d7195
6,803
ex
Elixir
lib/mongo/error.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
lib/mongo/error.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
lib/mongo/error.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.Error do alias Mongo.Events defexception [:message, :code, :host, :fail_command, :error_labels, :resumable, :retryable_reads, :retryable_writes, :not_writable_primary_or_recovering] @exceeded_time_limit 262 @failed_to_satisfy_read_preference 133 @host_not_found ...
31.78972
176
0.686168
28e8c14de795a638d96bcb3cc1eea8c500e9c44c
560
ex
Elixir
lib/blog_api/accounts/user_follower.ex
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
lib/blog_api/accounts/user_follower.ex
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
lib/blog_api/accounts/user_follower.ex
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
defmodule BlogApi.Accounts.UserFollower do @moduledoc """ The User model. """ use Ecto.Schema import Ecto.Changeset @primary_key false @required_fields ~w(user_id followee_id)a schema "user_followers" do field(:user_id, :integer, primary_key: true) field(:followee_id, :integer, primary_key: t...
21.538462
61
0.7125
28e8cab7bc053bc39e459e5dc1401c1e1e605a55
787
ex
Elixir
packaging/debian/watch.ex
colinkiama/ambition
ee37ed9c5821c4f5e131cb6969514bffb03c0361
[ "Apache-2.0" ]
19
2015-01-03T20:09:31.000Z
2020-01-25T22:19:08.000Z
packaging/debian/watch.ex
colinkiama/ambition
ee37ed9c5821c4f5e131cb6969514bffb03c0361
[ "Apache-2.0" ]
4
2016-01-11T19:05:39.000Z
2021-04-13T18:20:39.000Z
packaging/debian/watch.ex
colinkiama/ambition
ee37ed9c5821c4f5e131cb6969514bffb03c0361
[ "Apache-2.0" ]
5
2015-03-18T20:09:02.000Z
2021-11-25T15:20:46.000Z
# Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # <Webpage URL> <string match> #http://www.example.co...
32.791667
70
0.722999
28e945e573c5c81f955f5e9db5c2a89671e6f476
17,966
exs
Elixir
test/fika/parser_test.exs
v0idpwn/fika
4453d1c9222f7c2ab09f03d436f2222c7e325344
[ "Apache-2.0" ]
null
null
null
test/fika/parser_test.exs
v0idpwn/fika
4453d1c9222f7c2ab09f03d436f2222c7e325344
[ "Apache-2.0" ]
null
null
null
test/fika/parser_test.exs
v0idpwn/fika
4453d1c9222f7c2ab09f03d436f2222c7e325344
[ "Apache-2.0" ]
null
null
null
defmodule Fika.ParserTest do use ExUnit.Case alias Fika.Parser test "integer" do str = """ 123 """ {:ok, result, _rest, _context, _line, _byte_offset} = Parser.expression(str) assert result == [{:integer, {1, 0, 3}, 123}] end describe "boolean" do test "true" do str = "true" ...
25.665714
97
0.429478
28e95cf0c19bb4a397c71333982735df463ceec4
1,341
exs
Elixir
apps/api_accounts/test/api_accounts/notifications_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/api_accounts/test/api_accounts/notifications_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/api_accounts/test/api_accounts/notifications_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
defmodule ApiAccounts.NotificationsTest do use ExUnit.Case, async: true use Bamboo.Test alias ApiAccounts.{Key, Notifications, User} test "send_password_reset/2" do user = %User{email: "test@test"} url = "http://localhost" assert_delivered_email(Notifications.send_password_reset(user, url)) end ...
31.186047
83
0.698732
28e963f95fe4c7d35b60fe0122e69adb82d8c141
5,838
ex
Elixir
lib/elixir/lib/io/ansi.ex
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io/ansi.ex
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io/ansi.ex
jquadrin/elixir
98746e08eaa2bf58c202e8500b6cf83ed2368cc0
[ "Apache-2.0" ]
null
null
null
defmodule IO.ANSI.Sequence do @moduledoc false defmacro defsequence(name, code, terminator \\ "m") do quote bind_quoted: [name: name, code: code, terminator: terminator] do def unquote(name)() do "\e[#{unquote(code)}#{unquote(terminator)}" end defp format_sequence(unquote(name)) do ...
27.933014
113
0.682254
28e966a96a72070b6447c9d40a0fd3a4a44f4bbf
275
ex
Elixir
apps/transformers/lib/regex_compile.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/transformers/lib/regex_compile.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/transformers/lib/regex_compile.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Transformers.RegexUtils do def regex_compile(regex) do case Regex.compile(regex) do {:ok, regex} -> {:ok, regex} {:error, {message, index}} -> {:error, "Invalid regular expression: #{message} at index #{index}"} end end end
22.916667
76
0.607273
28e96bdbedd84de57879797a7cadb630ddcdfa17
1,603
ex
Elixir
lib/vintage_net/interface/supervisor.ex
nerves-networking/vintage_net
8d4251a0ec995babf8f4d7aa7cc1d74b70646c72
[ "Apache-2.0" ]
85
2019-05-09T14:54:38.000Z
2022-02-08T16:52:04.000Z
lib/vintage_net/interface/supervisor.ex
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
132
2019-05-09T15:57:59.000Z
2022-02-28T16:31:22.000Z
lib/vintage_net/interface/supervisor.ex
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
14
2019-07-08T19:18:23.000Z
2022-02-08T16:52:05.000Z
defmodule VintageNet.Interface.Supervisor do @moduledoc false use Supervisor @doc """ Start the interface supervisor """ @spec start_link(VintageNet.ifname()) :: :ignore | {:error, any()} | {:ok, pid()} def start_link(ifname) do Supervisor.start_link(__MODULE__, ifname, name: via_name(ifname)) end ...
25.046875
88
0.676856
28e9920eb1a4cc15812fa166507a1f0d0d2182a4
789
ex
Elixir
lib/phoenix/topic/garbage_collector.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
lib/phoenix/topic/garbage_collector.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
lib/phoenix/topic/garbage_collector.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
defmodule Phoenix.Topic.GarbageCollector do alias Phoenix.Topic.Server @buffer_size 200 def mark(state, groups) when is_list groups do Enum.reduce groups, state, fn group, new_state -> mark(new_state, group) end end def mark(state, group) do if Enum.count(state.gc_buffer) + 1 >= @buffer_s...
24.65625
64
0.69962
28e99794550327179525080ea988e702c3a27b48
687
ex
Elixir
lib/model/address.ex
Chatatata/iyzico
99f195e51b732e124bba82ad78c12d8f5ecbdf08
[ "MIT" ]
6
2017-08-22T15:27:33.000Z
2019-01-25T10:31:10.000Z
lib/model/address.ex
i386-64/iyzico
99f195e51b732e124bba82ad78c12d8f5ecbdf08
[ "MIT" ]
12
2017-08-23T13:21:26.000Z
2020-03-31T21:07:23.000Z
lib/model/address.ex
i386-64/iyzico
99f195e51b732e124bba82ad78c12d8f5ecbdf08
[ "MIT" ]
4
2017-09-24T15:40:08.000Z
2020-01-31T10:21:32.000Z
defmodule Iyzico.Address do @typedoc """ Represents an address belonging to stakeholders of a payment (i.e. buyer, seller). """ @enforce_keys ~w(address zip_code contact_name city country)a defstruct [ :address, :zip_code, :contact_name, :city, :country ] @type t :: %__MODULE__{ a...
21.46875
84
0.650655
28e9b3771bbd7b2bc03d10da512ed88ed8cd3fe5
1,564
ex
Elixir
lib/user/user.ex
aratz-lasa/exchange
c82690ec621401e8062185c3039aa92c76a1e6fa
[ "MIT" ]
null
null
null
lib/user/user.ex
aratz-lasa/exchange
c82690ec621401e8062185c3039aa92c76a1e6fa
[ "MIT" ]
null
null
null
lib/user/user.ex
aratz-lasa/exchange
c82690ec621401e8062185c3039aa92c76a1e6fa
[ "MIT" ]
null
null
null
defmodule Exchange.User do require Logger use GenServer alias Exchange.Protocol alias Exchange.Execute alias Exchange.Log.Utils @behaviour :ranch_protocol def start_link(ref, socket, transport, _opts) do pid = :proc_lib.spawn_link(__MODULE__, :init, [ref, socket, transport]) {:ok, pid} end ...
26.508475
93
0.673274
28e9b50ec484984ed6836726943b2dd5e5419aa6
2,198
exs
Elixir
config/prod.exs
turboladen/concoctify-el
b0194813b45d89265f1a468a2e754313a94e6155
[ "MIT" ]
null
null
null
config/prod.exs
turboladen/concoctify-el
b0194813b45d89265f1a468a2e754313a94e6155
[ "MIT" ]
null
null
null
config/prod.exs
turboladen/concoctify-el
b0194813b45d89265f1a468a2e754313a94e6155
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.30303
67
0.716106
28e9bd4e15b8107bdbb1dcc3f5bd2a37c4f5acba
7,066
ex
Elixir
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_v1_workload.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_v1_workload.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_v1_workload.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
59.378151
482
0.732947
28e9ff63581963e6769b15ad4b3873d40071860e
7,055
ex
Elixir
deps/phoenix/lib/phoenix/endpoint/instrument.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/endpoint/instrument.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/endpoint/instrument.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
1
2020-02-08T16:23:00.000Z
2020-02-08T16:23:00.000Z
defmodule Phoenix.Endpoint.Instrument do @moduledoc false # This is the arity that event callbacks in the instrumenter modules must # have. @event_callback_arity 3 @doc false def definstrument(otp_app, endpoint) do app_instrumenters = app_instrumenters(otp_app, endpoint) quote bind_quoted: [app_i...
35.452261
96
0.634869
28e9ff6d4a01a9b577ed7cd21ca49257e179ac40
146
exs
Elixir
.formatter.exs
HGInsights/opentelemetry_snowpack
b305f3baa976471eb466991e78bd98a202855c11
[ "Apache-2.0" ]
2
2021-11-19T22:08:39.000Z
2021-11-19T23:23:05.000Z
.formatter.exs
HGInsights/opentelemetry_snowpack
b305f3baa976471eb466991e78bd98a202855c11
[ "Apache-2.0" ]
1
2021-11-04T23:04:53.000Z
2021-11-04T23:04:53.000Z
.formatter.exs
HGInsights/opentelemetry_snowpack
b305f3baa976471eb466991e78bd98a202855c11
[ "Apache-2.0" ]
null
null
null
# Used by "mix format" [ locals_without_parens: [], inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 120 ]
20.857143
70
0.609589