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
79505afe93826c93e972bf12bc4f29f5a8d34a54
4,931
exs
Elixir
lib/mix/test/mix_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/test/mix_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/test/mix_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("test_helper.exs", __DIR__) defmodule MixTest do use MixTest.Case test "shell" do assert Mix.shell() == Mix.Shell.Process end test "env" do assert Mix.env() == :dev Mix.env(:prod) assert Mix.env() == :prod end test "debug" do refute Mix.debug?() Mix.debug(true) ...
25.549223
94
0.58548
79509aebf4a7ecd77ad2d1749782d7864dc5ab86
1,292
exs
Elixir
mix.exs
kundi/clickhouse_ecto
3251221bd63a159c0e8af8336663b0bef855bbca
[ "Apache-2.0" ]
null
null
null
mix.exs
kundi/clickhouse_ecto
3251221bd63a159c0e8af8336663b0bef855bbca
[ "Apache-2.0" ]
null
null
null
mix.exs
kundi/clickhouse_ecto
3251221bd63a159c0e8af8336663b0bef855bbca
[ "Apache-2.0" ]
null
null
null
defmodule ClickhouseEcto.Mixfile do use Mix.Project def project do [ app: :clickhouse_ecto, version: "0.2.8", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(), description: description(), package: package(), source_url: "https://github.com/appode...
24.377358
79
0.598297
7950b29a536483996e5da75a602c5f55aacf8e55
2,561
exs
Elixir
test/run_workflows/source_paths_template_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
test/run_workflows/source_paths_template_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
test/run_workflows/source_paths_template_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
defmodule StepFlow.RunWorkflows.SourcePathsTemplateTest do use ExUnit.Case use Plug.Test alias Ecto.Adapters.SQL.Sandbox alias StepFlow.Step doctest StepFlow setup do # Explicitly get a connection before each test :ok = Sandbox.checkout(StepFlow.Repo) {_conn, channel} = StepFlow.HelpersTest.g...
25.356436
98
0.525576
79513213291d1734cc68b622b28977aea690921b
547
ex
Elixir
lib/groupher_server/accounts/models/education_background.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/groupher_server/accounts/models/education_background.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/groupher_server/accounts/models/education_background.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Accounts.Model.EducationBackground do @moduledoc false alias __MODULE__ use Ecto.Schema import Ecto.Changeset @required_fields ~w(school)a @optional_fields ~w(major)a @type t :: %EducationBackground{} embedded_schema do field(:school, :string) field(:major, :string) ...
22.791667
72
0.736746
795143c6cd7123e216fed3c43f6098c9e9497550
33,420
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/organizations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/organizations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/organizations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.56
371
0.672172
7951454498295191f92a892d63e6192c2e860753
2,159
exs
Elixir
config/prod.exs
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
config/prod.exs
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
config/prod.exs
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.983333
66
0.710051
795166d503fd409cc06864ab2806173d7444d38e
2,710
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/model/games_player_experience_info_resource.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/model/games_player_experience_info_resource.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/model/games_player_experience_info_resource.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.709677
236
0.756089
7951883e9be488d5234470e42e80a4d7c726df0b
4,372
ex
Elixir
lib/glimesh_web/controllers/user_auth.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
lib/glimesh_web/controllers/user_auth.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
lib/glimesh_web/controllers/user_auth.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserAuth do import Plug.Conn import Phoenix.Controller alias Glimesh.Accounts alias GlimeshWeb.Router.Helpers, as: Routes # Make the remember me cookie valid for 60 days. # If you want bump or reduce this value, also change # the token expiry itself in UserToken. @max_age 60 * 60 ...
29.146667
84
0.694876
79518b3c87760fc5205aeb0bbf0e0402b99ef714
489
ex
Elixir
bowman/lib/bowman_web/views/error_view.ex
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
null
null
null
bowman/lib/bowman_web/views/error_view.ex
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
3
2020-07-17T01:30:50.000Z
2021-05-08T20:23:35.000Z
bowman/lib/bowman_web/views/error_view.ex
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
null
null
null
defmodule BowmanWeb.ErrorView do use BowmanWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. ...
28.764706
61
0.734151
7951a3e92d647f5bc5ab12a90e846e31cf1de497
5,679
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/http_route_rule.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_route_rule.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_route_rule.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
76.743243
503
0.760697
7951a87727c152af2bff2b7cf8870d6fe75ab5b5
313
ex
Elixir
lib/hologram/compiler/module_def_aggregators/elixir_atom.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/module_def_aggregators/elixir_atom.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/module_def_aggregators/elixir_atom.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
# TODO: test alias Hologram.Compiler.{ModuleDefAggregator, Reflection} alias Hologram.Compiler.IR.ModuleType defimpl ModuleDefAggregator, for: Atom do def aggregate(module) do if Reflection.is_module?(module) do %ModuleType{module: module} |> ModuleDefAggregator.aggregate() end end end
22.357143
57
0.747604
7951bfe5af7f402e8489dd26af22e56ff2fd7aec
114
ex
Elixir
lib/control/monoid/list.ex
slogsdon/elixir-control
4136ce4fa6b62368b5f3bdf38708c7e28c4b256b
[ "MIT" ]
23
2015-10-04T20:49:56.000Z
2022-01-09T19:35:52.000Z
lib/control/monoid/list.ex
slogsdon/elixir-control
4136ce4fa6b62368b5f3bdf38708c7e28c4b256b
[ "MIT" ]
null
null
null
lib/control/monoid/list.ex
slogsdon/elixir-control
4136ce4fa6b62368b5f3bdf38708c7e28c4b256b
[ "MIT" ]
2
2015-10-11T22:07:56.000Z
2015-12-21T13:56:07.000Z
defimpl Control.Monoid, for: List do def mempty(_), do: [] defdelegate mappend(a, b), to: Kernel, as: :++ end
22.8
48
0.649123
7951c3a40a11090d882471d72a270ccd047897c1
1,581
ex
Elixir
clients/composer/lib/google_api/composer/v1/model/encryption_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/encryption_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/encryption_config.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...
33.638298
222
0.748261
7951d1334f66b27f608ab4c21cab8036fa11b05f
623
ex
Elixir
lib/hacker_news.ex
vasuadari/hacker_news_alert
9d256714bfd940ed083681e0e2b6d2ea1fa3f98e
[ "MIT" ]
3
2020-03-30T08:40:46.000Z
2020-04-14T05:53:13.000Z
lib/hacker_news.ex
vasuadari/hacker_news_alert
9d256714bfd940ed083681e0e2b6d2ea1fa3f98e
[ "MIT" ]
3
2020-03-28T21:31:07.000Z
2020-03-30T09:10:36.000Z
lib/hacker_news.ex
vasuadari/hacker_news_alert
9d256714bfd940ed083681e0e2b6d2ea1fa3f98e
[ "MIT" ]
3
2020-03-30T08:48:09.000Z
2020-04-24T14:35:09.000Z
defmodule HackerNews do alias HackerNews.{RSSReader, EmailComposer} @from Application.get_env(:hacker_news_alert, HackerNews.Mailer) |> Keyword.get(:username) def send_top_news_alert(name, email, news_items \\ fetch_top_news()) do compose_email_with_top_news(name, email, news_items) |> HackerNews.Mailer...
25.958333
92
0.714286
79521ea28516eb8ee49d6cd51a4349158c19456d
2,225
ex
Elixir
lib/utils.ex
RiverFinancial/bitcoinex
c3797213425d50b4932ab0d2f0e7a0cb43fa2c7b
[ "Unlicense" ]
24
2020-03-18T02:05:54.000Z
2022-03-29T18:13:54.000Z
lib/utils.ex
RiverFinancial/bitcoinex
c3797213425d50b4932ab0d2f0e7a0cb43fa2c7b
[ "Unlicense" ]
18
2020-01-23T16:39:12.000Z
2022-03-02T14:35:26.000Z
lib/utils.ex
SachinMeier/bitcoinex
3b74de9889ab44ad3d204e1bbfd124f8e7419208
[ "Unlicense" ]
7
2020-02-11T10:22:54.000Z
2021-12-23T21:35:01.000Z
defmodule Bitcoinex.Utils do @moduledoc """ Contains useful utility functions used in Bitcoinex. """ @spec sha256(iodata()) :: binary def sha256(str) do :crypto.hash(:sha256, str) end @spec replicate(term(), integer()) :: list(term()) def replicate(_num, 0) do [] end def replicate(x, num)...
25
119
0.616629
795229fb5e76d1acf701a9913309bad68851b75f
5,418
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_account_info_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_account_info_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_set_account_info_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...
45.915254
174
0.653378
795260996a7cdcbee8892ff047384551f4929709
1,396
exs
Elixir
test/controllers/load_tariff_plan_controller_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
test/controllers/load_tariff_plan_controller_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
test/controllers/load_tariff_plan_controller_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.LoadTariffPlanControllerTest do use CgratesWebJsonapi.ConnCase import CgratesWebJsonapi.Factory import Mock setup do user = insert :user conn = build_conn() |> put_req_header("accept", "application/vnd.api+json") |> put_req_header("content-type", "application/vnd...
24.068966
90
0.539398
7952782cc3a21a8cc07ff881cbf7567a4126a675
3,929
exs
Elixir
mix.exs
phanmn/swoosh
02faff95dc586d57130c598a498263a1f37f7d72
[ "MIT" ]
null
null
null
mix.exs
phanmn/swoosh
02faff95dc586d57130c598a498263a1f37f7d72
[ "MIT" ]
null
null
null
mix.exs
phanmn/swoosh
02faff95dc586d57130c598a498263a1f37f7d72
[ "MIT" ]
null
null
null
defmodule Swoosh.Mixfile do use Mix.Project @source_url "https://github.com/swoosh/swoosh" @version "1.6.3" def project do [ app: :swoosh, version: @version, elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), consolidate_protocols: Mix.env() != :test, build_emb...
24.253086
85
0.531178
7952868c287cced43e309aef61a02b4dee2636c7
15,694
ex
Elixir
lib/phoenix/live_dashboard/system_info.ex
wojtekmach/phoenix_live_dashboard
5b0a001bd5772ffc1e9de82b954a62c860490fc5
[ "MIT" ]
1
2020-06-11T00:39:12.000Z
2020-06-11T00:39:12.000Z
lib/phoenix/live_dashboard/system_info.ex
wojtekmach/phoenix_live_dashboard
5b0a001bd5772ffc1e9de82b954a62c860490fc5
[ "MIT" ]
1
2020-06-11T01:43:00.000Z
2020-06-16T04:48:00.000Z
lib/phoenix/live_dashboard/system_info.ex
wojtekmach/phoenix_live_dashboard
5b0a001bd5772ffc1e9de82b954a62c860490fc5
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.SystemInfo do # Helpers for fetching and formatting system info. @moduledoc false def ensure_loaded(node) do case :rpc.call(node, :code, :is_loaded, [__MODULE__]) do {:file, _} -> maybe_replace(node, fetch_capabilities(node)) false -> load(node) ...
28.226619
97
0.620683
795297ada00f81bdc973e62bd2c239bd09bc9ffe
108
ex
Elixir
lib/roshambo/repo.ex
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
lib/roshambo/repo.ex
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
lib/roshambo/repo.ex
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
defmodule Roshambo.Repo do use Ecto.Repo, otp_app: :roshambo, adapter: Ecto.Adapters.Postgres end
18
35
0.731481
7952aae8502cdb6cd5ef045738f3fb4d408de011
1,684
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/video_content.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/v2beta1/model/video_content.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/video_content.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 ...
33.019608
109
0.726247
7952bac1e3e5737fb690f4548b5b5dac602a9778
950
exs
Elixir
config/config.exs
meilab/meilab_blog
86fca779c8b01559440ea3f686695700e8cf5ed2
[ "MIT" ]
null
null
null
config/config.exs
meilab/meilab_blog
86fca779c8b01559440ea3f686695700e8cf5ed2
[ "MIT" ]
null
null
null
config/config.exs
meilab/meilab_blog
86fca779c8b01559440ea3f686695700e8cf5ed2
[ "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 :meilab_blog, ecto_repos: [MeilabBlog.Re...
33.928571
86
0.764211
7952d29e0f6a10e5305413962fa25f0115fbe147
570
ex
Elixir
lib/sipper/progress_bar.ex
jordelver/rubytapas
145b92a33e12c4b7f06d10819dafe309b395642d
[ "MIT" ]
114
2015-09-18T10:55:37.000Z
2021-02-20T01:49:49.000Z
lib/sipper/progress_bar.ex
jordelver/rubytapas
145b92a33e12c4b7f06d10819dafe309b395642d
[ "MIT" ]
26
2015-09-18T07:03:13.000Z
2017-11-06T12:35:27.000Z
lib/sipper/progress_bar.ex
jordelver/rubytapas
145b92a33e12c4b7f06d10819dafe309b395642d
[ "MIT" ]
26
2015-09-19T03:46:16.000Z
2018-10-14T21:39:22.000Z
defmodule Sipper.ProgressBar do @bar_format [ bar: "█", blank: "░", left: "", right: "", bar_color: IO.ANSI.magenta, blank_color: IO.ANSI.magenta, bytes: true, ] @spinner_format [ frames: :braille, spinner_color: IO.ANSI.magenta, ] def render(acc, total) do ProgressBar.re...
20.357143
59
0.610526
7952d41cd80cffa9f1c157c7c1da018a792285e2
6,271
ex
Elixir
clients/content/lib/google_api/content/v21/api/regionalinventory.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/api/regionalinventory.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/api/regionalinventory.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.659864
187
0.651092
7952d578f5ea98d96911aabff29928237d7f6293
4,125
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/entity_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/model/entity_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/entity_annotation.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...
58.098592
410
0.710303
7952f29b9cad0a1f2afc5635e95ce5b5b2ed6858
1,926
ex
Elixir
lib/sparklinex/bullet.ex
aselder/sparklinex
5b6e6cad22ea101302857e0c0920c39416418ce3
[ "MIT" ]
2
2018-12-26T19:52:00.000Z
2021-02-09T09:32:50.000Z
lib/sparklinex/bullet.ex
aselder/sparklinex
5b6e6cad22ea101302857e0c0920c39416418ce3
[ "MIT" ]
null
null
null
lib/sparklinex/bullet.ex
aselder/sparklinex
5b6e6cad22ea101302857e0c0920c39416418ce3
[ "MIT" ]
null
null
null
defmodule Sparklinex.Bullet do alias Sparklinex.Bullet.Options alias Sparklinex.MogrifyDraw def draw( data, spec = %Options{height: height, width: width, good_color: good_color} ) do canvas = MogrifyDraw.create_canvas(width, height, good_color) canvas |> draw_sat_background(dat...
25.68
90
0.62513
7952fce0b54a965c0ef76c7ed8b278e0ddffb9eb
780
ex
Elixir
test/support/channel_case.ex
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
2
2017-11-15T20:47:47.000Z
2017-12-02T11:29:10.000Z
test/support/channel_case.ex
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
null
null
null
test/support/channel_case.ex
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
null
null
null
defmodule DashwalletWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts...
22.941176
58
0.728205
795311643cb1091bde90b63285b43e9effe23160
477
ex
Elixir
lib/plug/conn/unfetched.ex
falood/plug
6022465ed2e44cf092d16ae3d564648615eab87b
[ "Apache-2.0" ]
null
null
null
lib/plug/conn/unfetched.ex
falood/plug
6022465ed2e44cf092d16ae3d564648615eab87b
[ "Apache-2.0" ]
null
null
null
lib/plug/conn/unfetched.ex
falood/plug
6022465ed2e44cf092d16ae3d564648615eab87b
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Conn.Unfetched do @moduledoc """ A struct used as default on unfetched fields. """ defstruct [:aspect] defimpl Access do def get(%Plug.Conn.Unfetched{aspect: aspect}, key) do raise ArgumentError, message: "trying to access key #{inspect key} but they were not yet fetched. " <...
25.105263
80
0.66457
79531e526ead7a52039641a16ff166f051746c3e
753
ex
Elixir
lib/whistler_news_reader_web/controllers/api/import_controller.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
8
2016-06-12T20:11:26.000Z
2017-05-02T04:36:41.000Z
lib/whistler_news_reader_web/controllers/api/import_controller.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
2
2016-06-12T15:49:06.000Z
2016-06-12T20:00:02.000Z
lib/whistler_news_reader_web/controllers/api/import_controller.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
null
null
null
defmodule WhistlerNewsReaderWeb.Api.ImportController do use WhistlerNewsReaderWeb, :controller plug Guardian.Plug.EnsureAuthenticated, handler: WhistlerNewsReaderWeb.Api.SessionController plug :scrub_params, "file" when action in [:create] alias WhistlerNewsReader.OpmlImport require Logger def create(c...
26.892857
94
0.695883
79533761cfe94724c9bb55ed55c5199e0fa6d74a
308
exs
Elixir
test/test_helper.exs
hlavacek/redix_pubsub
97879a171c2e264abd865e1d51db8855935c146f
[ "0BSD" ]
59
2016-05-25T12:18:09.000Z
2019-04-28T11:27:30.000Z
test/test_helper.exs
hlavacek/redix_pubsub
97879a171c2e264abd865e1d51db8855935c146f
[ "0BSD" ]
21
2016-05-29T14:08:28.000Z
2019-01-31T09:42:32.000Z
test/test_helper.exs
hlavacek/redix_pubsub
97879a171c2e264abd865e1d51db8855935c146f
[ "0BSD" ]
13
2016-06-19T02:08:32.000Z
2018-09-20T13:14:08.000Z
ExUnit.configure(assert_receive_timeout: 500, refute_receive_timeout: 500) ExUnit.start() case :gen_tcp.connect('localhost', 6379, []) do {:ok, socket} -> :gen_tcp.close(socket) {:error, reason} -> Mix.raise("Cannot connect to Redis (http://localhost:6379): #{:inet.format_error(reason)}") end
28
95
0.701299
795352379f09b70cd3ed6af97114fe76fecef448
17,136
ex
Elixir
lib/ex_doc/retriever.ex
Dalgona/ex_doc
814627067175bfe894461cc3f235ee1d9b71b487
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/retriever.ex
Dalgona/ex_doc
814627067175bfe894461cc3f235ee1d9b71b487
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/retriever.ex
Dalgona/ex_doc
814627067175bfe894461cc3f235ee1d9b71b487
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Retriever do # Functions to extract documentation information from modules. @moduledoc false defmodule Error do @moduledoc false defexception [:message] end alias ExDoc.{GroupMatcher} alias ExDoc.Retriever.Error @doc """ Extract documentation from all modules in the specified ...
29.905759
98
0.631303
79535354dae622148a3ff0eea046ae24f3b94a35
740
ex
Elixir
lib/utxo.ex
hlongvu/elixium_core
9d01e0bfea44d5014f44e1417ab84c81222a914d
[ "MIT" ]
164
2018-06-23T01:17:51.000Z
2021-08-19T03:16:31.000Z
lib/utxo.ex
alexdovzhanyn/ultradark
85014da4b0683ab8ec86c893b7c1146161da114a
[ "MIT" ]
37
2018-06-28T18:07:27.000Z
2019-08-22T18:43:43.000Z
lib/utxo.ex
alexdovzhanyn/ultradark
85014da4b0683ab8ec86c893b7c1146161da114a
[ "MIT" ]
26
2018-06-22T00:58:34.000Z
2021-08-19T03:16:40.000Z
defmodule Elixium.Utxo do alias Elixium.Utxo defstruct [:addr, :amount, :txoid] @moduledoc """ Functionality specific to UTXOs """ @doc """ Takes in a utxo received from a peer which may have malicious or extra attributes attached. Removes all extra parameters which are not defined explicit...
25.517241
87
0.691892
79536883e44e64304f5ad036d5aaa2f647956894
1,609
ex
Elixir
plugins/ucc_chat/lib/ucc_chat_web/channel_controllers/room/room_setting_controller.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/channel_controllers/room/room_setting_controller.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/channel_controllers/room/room_setting_controller.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChatWeb.RoomSettingChannelController do use UccChatWeb, :channel_controller alias UccChat.{Subscription, Web.FlexBarView, Channel, ChannelService} alias UccChatWeb.FlexBarView alias UccChat.ServiceHelpers, as: Helpers require Logger def edit(%{assigns: assigns} = socket, params) do chann...
30.358491
72
0.691734
795368a5b6a5a248515337bdbcee5e07772331f8
175
ex
Elixir
lib/neural_network/sigmoid.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
lib/neural_network/sigmoid.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
lib/neural_network/sigmoid.ex
Markonis/BrainElixir
7f1d193827b7ca8113424e7debedd920f75a0a10
[ "MIT" ]
null
null
null
defmodule NeuralNetwork.Sigmoid do def value(x) do e = 2.718281828459045 1 / (1 + :math.pow(e, -x)) end def deriv(x) do value(x) * (1 - value(x)) end end
15.909091
34
0.588571
79539e6a4e4abb275b820c92b2ec84bd65f29a54
249
ex
Elixir
app/lib/rocdev.ex
kylemacey/rocdev
a70e80b9b853803bc9771b7f0ff712b6da27af8f
[ "MIT" ]
14
2017-10-10T19:11:21.000Z
2019-04-20T20:11:01.000Z
app/lib/rocdev.ex
kylemacey/rocdev
a70e80b9b853803bc9771b7f0ff712b6da27af8f
[ "MIT" ]
41
2017-10-08T03:07:20.000Z
2018-10-15T12:47:34.000Z
app/lib/rocdev.ex
kylemacey/rocdev
a70e80b9b853803bc9771b7f0ff712b6da27af8f
[ "MIT" ]
7
2017-10-18T10:44:04.000Z
2019-04-15T20:44:49.000Z
defmodule Rocdev do @moduledoc """ Rocdev 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
24.9
66
0.751004
7953ac7b021cf073c39294de2f3b9b8092972e82
1,590
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_entity_type_excluded_phrase.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_entity_type_excluded_phrase.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_entity_type_excluded_phrase.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.576923
99
0.74717
79544945a906311898823f00ceafa5764b7540db
2,327
exs
Elixir
mix.exs
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
mix.exs
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
mix.exs
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.MixProject do use Mix.Project @version "3.0.6-dev" def project do [ app: :ecto, version: @version, elixir: "~> 1.4", deps: deps(), consolidate_protocols: Mix.env() != :test, # Hex description: "A toolkit for data mapping and language integrated query...
22.592233
90
0.528148
7954a5d524dc1584a2b2d826be5bd018ee24130b
11,993
ex
Elixir
lib/livebook_web/live/session_live/cell_component.ex
PeteJodo/livebook
4badf40afcbe489deda92812e72a99a0e54f11a7
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/cell_component.ex
PeteJodo/livebook
4badf40afcbe489deda92812e72a99a0e54f11a7
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/cell_component.ex
PeteJodo/livebook
4badf40afcbe489deda92812e72a99a0e54f11a7
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.CellComponent do use LivebookWeb, :live_component @impl true def render(assigns) do ~H""" <div class="flex flex-col relative" data-element="cell" id={"cell-#{@cell_view.id}"} phx-hook="Cell" data-cell-id={@cell_view.id} data-focusable-id={@c...
34.56196
143
0.591428
7954d54e4a278921a87d9d617fc2119e43360a3b
756
ex
Elixir
lib/sanbase_web/graphql/prometheus/histogram_instrumenter.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/prometheus/histogram_instrumenter.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/prometheus/histogram_instrumenter.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Prometheus.HistogramInstrumenter do @moduledoc ~s""" Stores data about the queries that is used to build prometheus histograms https://prometheus.io/docs/practices/histograms/ Each bucket's number represents milliseconds. A query with a runtime of X seconds falls in the last buck...
36
92
0.708995
7954df18eabfac10d321229cb8dd1ab999fd5c19
466
ex
Elixir
lib/madari/api/command.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
lib/madari/api/command.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
lib/madari/api/command.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
defmodule Madari.Api.Command do def execute(cmd, args) do if is_root_user() do {out, status} = System.cmd(cmd, args) { out |> String.trim(), status } else {out, status} = System.cmd("doas", [cmd] ++ args) { out |> String.trim(), status } ...
20.26087
55
0.525751
7954e268ab6aa2d46afe6d05174f646ba3468988
2,834
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/components/admin/blog/post/delete_error_component.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
1
2021-11-14T11:13:25.000Z
2021-11-14T11:13:25.000Z
apps/mishka_html/lib/mishka_html_web/live/components/admin/blog/post/delete_error_component.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/components/admin/blog/post/delete_error_component.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
defmodule MishkaHtmlWeb.Admin.Blog.Post.DeleteErrorComponent do use MishkaHtmlWeb, :live_component def render(assigns) do ~H""" <div class="error-card-modal col"> <div class="alert alert-danger vazir rtl" role="alert"> <div class="col-sm-6 svg-div-error-modal"> <svg xmlns="http...
53.471698
270
0.622442
7954f390b91b1846ba95efee082f36b6f9a53837
63
ex
Elixir
user_api/lib/user_api_web/views/layout_view.ex
uttamk/sip-of-elixr-talk
08b4f2fddea5c3c60ecb7f646071c2ce0a46dc59
[ "MIT" ]
null
null
null
user_api/lib/user_api_web/views/layout_view.ex
uttamk/sip-of-elixr-talk
08b4f2fddea5c3c60ecb7f646071c2ce0a46dc59
[ "MIT" ]
null
null
null
user_api/lib/user_api_web/views/layout_view.ex
uttamk/sip-of-elixr-talk
08b4f2fddea5c3c60ecb7f646071c2ce0a46dc59
[ "MIT" ]
null
null
null
defmodule UserApiWeb.LayoutView do use UserApiWeb, :view end
15.75
34
0.809524
79558b2c9bac0dc51e9ccee9ce1469fe58d834f4
349
exs
Elixir
priv/repo/seeds.exs
rosswilson/turret-elixir
effbc34a14e95d73db2075c66fe78f8432f83977
[ "MIT" ]
1
2021-02-03T23:34:04.000Z
2021-02-03T23:34:04.000Z
priv/repo/seeds.exs
rosswilson/turret-elixir
effbc34a14e95d73db2075c66fe78f8432f83977
[ "MIT" ]
58
2021-02-16T10:16:08.000Z
2022-03-07T10:57:32.000Z
priv/repo/seeds.exs
rosswilson/turret-elixir
effbc34a14e95d73db2075c66fe78f8432f83977
[ "MIT" ]
null
null
null
# 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: # # Turret.Repo.insert!(%Turret.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
29.083333
61
0.704871
795593c6e48ed79f88f8ee4bf1c611e41365ef55
814
exs
Elixir
examples/apps/redix_example/mix.exs
simonprev/elixir_agent
56e6bf32259706ba45f3a158079f8e5a26f28b91
[ "Apache-2.0" ]
null
null
null
examples/apps/redix_example/mix.exs
simonprev/elixir_agent
56e6bf32259706ba45f3a158079f8e5a26f28b91
[ "Apache-2.0" ]
null
null
null
examples/apps/redix_example/mix.exs
simonprev/elixir_agent
56e6bf32259706ba45f3a158079f8e5a26f28b91
[ "Apache-2.0" ]
null
null
null
defmodule RedixExample.MixProject do use Mix.Project def project do [ app: :redix_example, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", elixirc_paths: ...
22.611111
67
0.542998
79559a80e27de315834a7e5be65b4090fadd3a8f
10,223
ex
Elixir
lib/web/controllers/webhook_controller.ex
bundler/bors-ng
4a805006a2b5983b23345d01e9a8d7459edd5855
[ "Apache-2.0" ]
null
null
null
lib/web/controllers/webhook_controller.ex
bundler/bors-ng
4a805006a2b5983b23345d01e9a8d7459edd5855
[ "Apache-2.0" ]
null
null
null
lib/web/controllers/webhook_controller.ex
bundler/bors-ng
4a805006a2b5983b23345d01e9a8d7459edd5855
[ "Apache-2.0" ]
3
2020-11-15T16:17:58.000Z
2021-06-04T11:26:42.000Z
defmodule BorsNG.WebhookController do @moduledoc """ The webhook controller responds to HTTP requests that are initiated from other services (currently, just GitHub). For example, I can run `iex -S mix phoenix.server` and do this: iex> # Push state to "GitHub" iex> alias BorsNG.GitHub iex> a...
32.977419
88
0.609997
7955a42e7a83767496bf7b6c0cacd5bd67098273
1,600
ex
Elixir
lib/ucx_chat/robot/adapters/ucx_chat/connection.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
60
2017-05-09T19:08:26.000Z
2021-01-20T11:09:42.000Z
lib/ucx_chat/robot/adapters/ucx_chat/connection.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
6
2017-05-10T15:43:16.000Z
2020-07-15T07:14:41.000Z
lib/ucx_chat/robot/adapters/ucx_chat/connection.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
10
2017-05-10T04:13:54.000Z
2020-12-28T10:30:27.000Z
defmodule UcxChat.Robot.Adapters.UcxChat.Connection do @moduledoc false use GenServer alias UcxChat.Robot.Adapters.UcxChat.{Connection} @name :robot require Logger defstruct name: nil, owner: nil, user: nil def start(opts) do name = Keyword.get(opts, :name) # user = Keyword.get(opts, :user, g...
28.571429
104
0.634375
7955c78778d216b81c07d0a1f48bbe3fca353d63
859
exs
Elixir
config/config.exs
chrismccord/phorechat
26c5b2f752f5c8e50d07d49b2b20d9341d8b2464
[ "MIT" ]
1
2021-01-19T05:40:52.000Z
2021-01-19T05:40:52.000Z
config/config.exs
chrismccord/phorechat
26c5b2f752f5c8e50d07d49b2b20d9341d8b2464
[ "MIT" ]
null
null
null
config/config.exs
chrismccord/phorechat
26c5b2f752f5c8e50d07d49b2b20d9341d8b2464
[ "MIT" ]
1
2015-10-02T15:58:09.000Z
2015-10-02T15:58:09.000Z
# 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 # Configures the endpoint config :phorechat, Phorechat.Endpoint, url: [host: "local...
34.36
86
0.762515
7955cb67549426ea524f28c44e7c5a4366ee52e9
497
ex
Elixir
lib/bike_brigade/messaging/slack.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
lib/bike_brigade/messaging/slack.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
lib/bike_brigade/messaging/slack.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.Messaging.Slack do alias BikeBrigade.SlackApi import BikeBrigade.Utils defmodule RiderSms do def post_message!(message) do payload = SlackApi.PayloadBuilder.build(get_config(:channel_id), message) :ok = SlackApi.post_message!(payload) end end defmodule Operations do...
26.157895
79
0.734406
7955d1ced3ac4b10bdbab035722ebb09171be271
3,001
exs
Elixir
test/deferred_config_test.exs
Financial-Times/deferred_config
f8992e76d5e5dde69608fe96c75d9277dc546dd3
[ "MIT" ]
null
null
null
test/deferred_config_test.exs
Financial-Times/deferred_config
f8992e76d5e5dde69608fe96c75d9277dc546dd3
[ "MIT" ]
null
null
null
test/deferred_config_test.exs
Financial-Times/deferred_config
f8992e76d5e5dde69608fe96c75d9277dc546dd3
[ "MIT" ]
null
null
null
defmodule DeferredConfigTest do use ExUnit.Case doctest DeferredConfig @app :lazy_cfg_test_appname defmodule MyMod do def get_my_key(""<>_bin), do: "your key is 1234. write it down." end setup do delete_all_env(@app) # give each test a fake env that looks like this env = %{"PORT" => "...
30.313131
79
0.612129
7955d7a69e76adb0e609ecd0ec89b3c88e58f633
984
ex
Elixir
lib/cog/util/ets_wrapper.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/util/ets_wrapper.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/util/ets_wrapper.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Util.ETSWrapper do def lookup(table, key) do case :ets.lookup(table, key) do [{^key, value}] -> {:ok, value} [] -> {:error, :unknown_key} end end def insert(table, key, value) do true = :ets.insert(table, {key, value}) {:ok, value} end def delete(tab...
20.081633
47
0.566057
7955e448cd9889f352deeca217ff25dc4c7727f4
1,388
exs
Elixir
config/dev.exs
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
config/dev.exs
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
config/dev.exs
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :similarfilms_phoenix, SimilarfilmsPhoenix.Endpo...
31.545455
73
0.713256
7955eabd5cca354ee4df5bdae3e4eb1132f8ba39
897
ex
Elixir
test/support/channel_case.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
4
2020-03-22T22:12:29.000Z
2020-07-01T22:32:01.000Z
test/support/channel_case.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2021-03-10T11:53:41.000Z
2021-10-17T11:18:54.000Z
test/support/channel_case.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2020-03-30T19:03:23.000Z
2022-01-17T20:21:42.000Z
defmodule VegaWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts with...
26.382353
61
0.734671
7956034f7b537294e82706015b478fea319cc015
1,666
ex
Elixir
lib/ectoproj/identity/identity.ex
Galanda/ectoproj
9dadeb27cc7b54034ab19363bc569d0fc4be671b
[ "MIT" ]
null
null
null
lib/ectoproj/identity/identity.ex
Galanda/ectoproj
9dadeb27cc7b54034ab19363bc569d0fc4be671b
[ "MIT" ]
null
null
null
lib/ectoproj/identity/identity.ex
Galanda/ectoproj
9dadeb27cc7b54034ab19363bc569d0fc4be671b
[ "MIT" ]
null
null
null
defmodule Ectoproj.Identity do @moduledoc """ The Identity context. """ import Ecto.Query, warn: false alias Ectoproj.Repo alias Ectoproj.Identity.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users do Repo.all(User) end ...
15.866667
59
0.566627
79561a6e8915df4c489f35bfa0388fff4be66ccf
1,065
ex
Elixir
lib/date/date_convert.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
lib/date/date_convert.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
lib/date/date_convert.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
defprotocol Timex.Date.Convert do def to_gregorian(date) def to_erlang_datetime(date) end defimpl Timex.Date.Convert, for: Timex.DateTime do alias Timex.DateTime, as: DateTime alias Timex.TimezoneInfo, as: TimezoneInfo @doc """ Converts a DateTime struct to an Erlang datetime tuple + timezone tuple ...
31.323529
118
0.612207
7956264a9b0ec536a224dd1ad42a3bce42c9c743
1,393
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/request_options.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/request_options.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/request_options.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
29.638298
83
0.73295
7956a56b9ddd568bdffa904a23893dcfc88963fc
1,125
exs
Elixir
day05/config/config.exs
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "Apache-2.0" ]
null
null
null
day05/config/config.exs
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "Apache-2.0" ]
null
null
null
day05/config/config.exs
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "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...
36.290323
73
0.750222
7956b210ae0ef2bee31385621df4dcf1cd3f0caa
1,486
ex
Elixir
clients/vault/lib/google_api/vault/v1/model/close_matter_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vault/lib/google_api/vault/v1/model/close_matter_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vault/lib/google_api/vault/v1/model/close_matter_response.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.617021
119
0.740242
7956b80a516534bcac40b3608582e65831c0a6d6
1,590
exs
Elixir
apps/artemis_web/test/artemis_web/live/recognition_controller_live_test.exs
artemis-platform/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2020-04-23T02:29:18.000Z
2020-07-07T13:13:17.000Z
apps/artemis_web/test/artemis_web/live/recognition_controller_live_test.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
4
2020-04-26T20:35:36.000Z
2020-11-10T22:13:19.000Z
apps/artemis_web/test/artemis_web/live/recognition_controller_live_test.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
null
null
null
defmodule ArtemisWeb.RecognitionControllerLiveTest do # use ArtemisWeb.ConnCase # import Artemis.Factories # import Phoenix.LiveViewTest # setup %{conn: conn} do # {:ok, conn: sign_in(conn)} # end # describe "new recognition" do # test "renders new form", %{conn: conn} do # {:ok, _view, htm...
28.909091
93
0.642138
7956b8ca3bca303041146756a957c6ac5cfc09d6
1,925
ex
Elixir
lib/issues/cli.ex
leomindez/GithubIssues
57c3ef6000c6adc414d7de01df4a714e1242a64e
[ "MIT" ]
null
null
null
lib/issues/cli.ex
leomindez/GithubIssues
57c3ef6000c6adc414d7de01df4a714e1242a64e
[ "MIT" ]
null
null
null
lib/issues/cli.ex
leomindez/GithubIssues
57c3ef6000c6adc414d7de01df4a714e1242a64e
[ "MIT" ]
null
null
null
defmodule Issues.CLI do @default_count 4 import Issues.TableFormatter, only: [print_table_for_columns: 2] @moduledoc """ Handle the command line parsing and the dispatch to the various functions that end up generating a table of the last _n_ issues in a github project """ def ma...
28.308824
105
0.578701
7956f661aad897e0a6e0bd46179428aa858384dd
719
exs
Elixir
test/tiny_earl/link_test.exs
rossta/tiny-earl
60dca22617c38c75da384c432da6c6ae9a95df94
[ "MIT" ]
null
null
null
test/tiny_earl/link_test.exs
rossta/tiny-earl
60dca22617c38c75da384c432da6c6ae9a95df94
[ "MIT" ]
null
null
null
test/tiny_earl/link_test.exs
rossta/tiny-earl
60dca22617c38c75da384c432da6c6ae9a95df94
[ "MIT" ]
null
null
null
defmodule TinyEarl.LinkTest do use ExUnit.Case alias TinyEarl.Link test "link struct has url, token, uuid" do link = %Link{url: "url", token: "token", uuid: 123} %Link{url: url, token: token, uuid: _uuid} = link assert url == "url" assert token == "token" end test ".shorten produces a new to...
35.95
107
0.673157
7957151a0de50ffec309b76cdf0d04ddbdc05cf4
5,570
exs
Elixir
mix.exs
sascha-wolf/phoenix
92f13d685fee2e18f6d6d1f7785542ab3cc94261
[ "MIT" ]
1
2020-07-23T18:03:42.000Z
2020-07-23T18:03:42.000Z
mix.exs
sascha-wolf/phoenix
92f13d685fee2e18f6d6d1f7785542ab3cc94261
[ "MIT" ]
null
null
null
mix.exs
sascha-wolf/phoenix
92f13d685fee2e18f6d6d1f7785542ab3cc94261
[ "MIT" ]
null
null
null
defmodule Phoenix.MixProject do use Mix.Project @version "1.6.0-dev" # If the elixir requirement is updated, we need to make the installer # use at least the minimum requirement used here. Although often the # installer is ahead of Phoenix itself. @elixir_requirement "~> 1.9" def project do [ ...
27.038835
100
0.586894
79571a2247b08a71aede18ffa24e6a8abcf3bbe7
308
exs
Elixir
test/elm_phoenix_web_socket_example_web/views/layout_view_test.exs
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
null
null
null
test/elm_phoenix_web_socket_example_web/views/layout_view_test.exs
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
2
2020-12-29T15:13:39.000Z
2020-12-30T01:01:02.000Z
test/elm_phoenix_web_socket_example_web/views/layout_view_test.exs
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
null
null
null
defmodule ElmPhoenixWebSocketExampleWeb.LayoutViewTest do use ElmPhoenixWebSocketExampleWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
34.222222
65
0.795455
79572130b2d18625ed82ff0a32464e3037cfbb0a
129
ex
Elixir
debian/pcloudfs.cron.d.ex
rzr/pfs
d0381a0366d0b42f58ea0e9cc54d02c73211be5f
[ "BSD-2-Clause" ]
17
2016-02-19T14:47:33.000Z
2022-02-18T01:12:59.000Z
debian/pcloudfs.cron.d.ex
rzr/pfs
d0381a0366d0b42f58ea0e9cc54d02c73211be5f
[ "BSD-2-Clause" ]
2
2015-02-20T23:06:39.000Z
2017-10-03T11:33:04.000Z
debian/pcloudfs.cron.d.ex
rzr/pfs
d0381a0366d0b42f58ea0e9cc54d02c73211be5f
[ "BSD-2-Clause" ]
5
2015-10-13T20:20:39.000Z
2019-10-24T06:12:13.000Z
# # Regular cron jobs for the pcloudfs package # 0 4 * * * root [ -x /usr/bin/pcloudfs_maintenance ] && /usr/bin/pfs_maintenance
25.8
79
0.697674
7957263f4fe2add594ca6b79a9c0923712e71935
2,249
ex
Elixir
lib/openapi_compiler/typespec/api/response.ex
jshmrtn/openapi-compiler
72ce58321bcaf7310b1286fa90dd2feaa2a7b565
[ "MIT" ]
3
2021-09-07T13:13:44.000Z
2022-01-16T22:25:11.000Z
lib/openapi_compiler/typespec/api/response.ex
jshmrtn/openapi-compiler
72ce58321bcaf7310b1286fa90dd2feaa2a7b565
[ "MIT" ]
26
2020-03-31T17:26:58.000Z
2020-04-01T17:32:21.000Z
lib/openapi_compiler/typespec/api/response.ex
jshmrtn/openapi-compiler
72ce58321bcaf7310b1286fa90dd2feaa2a7b565
[ "MIT" ]
1
2020-10-27T13:32:07.000Z
2020-10-27T13:32:07.000Z
defmodule OpenAPICompiler.Typespec.Api.Response do @moduledoc false alias OpenAPICompiler.Typespec.Schema defmacro base_typespecs do quote location: :keep do @type response(possible_responses) :: {:ok, possible_responses} | {:error, {:unexpected_response, Tesla.Env.t()} | any} end ...
26.458824
100
0.558026
79578998f6dd9c14290b2d99c4488103454e1cdb
15,516
ex
Elixir
lib/patch/mock/code.ex
kianmeng/patch
d7d8d70a0285129ec67a43473db587011524fe0c
[ "MIT" ]
57
2020-04-22T00:19:04.000Z
2022-03-20T11:57:00.000Z
lib/patch/mock/code.ex
kianmeng/patch
d7d8d70a0285129ec67a43473db587011524fe0c
[ "MIT" ]
9
2021-10-29T20:54:56.000Z
2022-02-19T03:41:01.000Z
lib/patch/mock/code.ex
kianmeng/patch
d7d8d70a0285129ec67a43473db587011524fe0c
[ "MIT" ]
2
2021-07-02T14:41:48.000Z
2022-01-12T11:47:26.000Z
defmodule Patch.Mock.Code do @moduledoc """ Patch mocks out modules by generating mock modules and recompiling them for a `target` module. Patch's approach to mocking a module provides some powerful affordances. - Private functions can be mocked. - Internal function calls are effected by mocks regardless of...
30.846918
118
0.636504
79579163ae5c4954fec2315609dc769af2d24f0f
688
exs
Elixir
test/mix/tasks/ecto.migrate_test.exs
knewter/ecto
faacfeef25e35c42b1e97323b03d5bed9ba51416
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/ecto.migrate_test.exs
knewter/ecto
faacfeef25e35c42b1e97323b03d5bed9ba51416
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/ecto.migrate_test.exs
knewter/ecto
faacfeef25e35c42b1e97323b03d5bed9ba51416
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Ecto.MigrateTest do use ExUnit.Case, async: true import Mix.Tasks.Ecto.Migrate, only: [run: 2] defmodule Repo do def start_link do Process.put(:started, true) :ok end def priv do "hello" end def __repo__ do true end end test "runs the mi...
19.111111
73
0.630814
7957a9645b2a361314effedd41234b661ae13e77
1,509
exs
Elixir
mix.exs
software-mansion-labs/elixir-ibm-speech-to-text
2d1dec2f429071bb30a0568af8fec24787b8cd57
[ "Apache-2.0" ]
5
2019-11-15T10:44:36.000Z
2021-05-15T21:14:49.000Z
mix.exs
software-mansion-labs/elixir-ibm-speech-to-text
2d1dec2f429071bb30a0568af8fec24787b8cd57
[ "Apache-2.0" ]
null
null
null
mix.exs
software-mansion-labs/elixir-ibm-speech-to-text
2d1dec2f429071bb30a0568af8fec24787b8cd57
[ "Apache-2.0" ]
null
null
null
defmodule IbmSpeechToText.MixProject do use Mix.Project @version "0.3.0" @github_url "https://github.com/SoftwareMansion/elixir-ibm-speech-to-text" def project do [ app: :ibm_speech_to_text, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(...
19.855263
76
0.555997
7957b0809d92f0d1b33a24044ede2490ec4893ca
485
ex
Elixir
lib/loom_web/views/error_view.ex
simonfraserduncan/my-copy
03c618035a06a63d8fcf9f6511ef59d3e4cf2da9
[ "Apache-2.0" ]
4
2021-02-20T02:47:36.000Z
2021-06-08T18:42:40.000Z
lib/loom_web/views/error_view.ex
DataStax-Examples/astra-loom
767c55200d08a6c592773d7af7da95873c4c3445
[ "Apache-2.0" ]
null
null
null
lib/loom_web/views/error_view.ex
DataStax-Examples/astra-loom
767c55200d08a6c592773d7af7da95873c4c3445
[ "Apache-2.0" ]
1
2021-02-17T18:28:35.000Z
2021-02-17T18:28:35.000Z
defmodule LoomWeb.ErrorView do use LoomWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. For ...
28.529412
61
0.731959
7957bdf6a93524a9d3325bc6c2918f48a38ca40b
1,267
ex
Elixir
lib/cast_decorator.ex
dvjoness/construct_params
d3dd21b9682cca0481e1a516b7448757a49d7a57
[ "MIT" ]
null
null
null
lib/cast_decorator.ex
dvjoness/construct_params
d3dd21b9682cca0481e1a516b7448757a49d7a57
[ "MIT" ]
null
null
null
lib/cast_decorator.ex
dvjoness/construct_params
d3dd21b9682cca0481e1a516b7448757a49d7a57
[ "MIT" ]
null
null
null
defmodule ConstructParams.CastDecorator do @moduledoc """ The macro allows casting the incoming controller parameters. This macro uses the [construct](https://hexdocs.pm/construct/readme.html) library for params validation. In case of a successful casting, the controller action params are replaced with the ca...
28.155556
106
0.682715
7957fd5c90d208d5826cae63a188b887866636f7
2,044
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/option.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/option.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/option.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.88
320
0.733366
795815fe05ae8ed7a7c0bde18b8eac44b1113bee
337
ex
Elixir
lib/apns/callback.ex
chvanikoff/apns4ex
7691a3ff660a722a37567f1a987e47583886a669
[ "MIT" ]
80
2015-09-08T16:35:52.000Z
2021-12-03T19:10:47.000Z
lib/apns/callback.ex
chvanikoff/apns4ex
7691a3ff660a722a37567f1a987e47583886a669
[ "MIT" ]
45
2015-09-10T19:33:12.000Z
2019-09-25T11:45:10.000Z
lib/apns/callback.ex
chvanikoff/apns4ex
7691a3ff660a722a37567f1a987e47583886a669
[ "MIT" ]
38
2015-09-08T16:37:27.000Z
2020-07-17T10:12:39.000Z
defmodule APNS.Callback do def error(%APNS.Error{error: error, message_id: message_id}, token \\ "unknown token") do APNS.Logger.warn(~s(error "#{error}" for message #{inspect(message_id)} to #{token})) end def feedback(%APNS.Feedback{token: token}) do APNS.Logger.info(~s(feedback received for token #{to...
33.7
91
0.700297
79581c8622aac096b442270bbd251d9be2bed63d
3,343
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/job_list_jobs.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/job_list_jobs.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query/lib/google_api/big_query/v2/model/job_list_jobs.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...
47.084507
187
0.703859
79584ca39d490edc1e26b5803fc7371192938590
2,033
exs
Elixir
config/prod.exs
antp/cxs_starter
349cbd61e561f276b552f95e88e24e01397b8519
[ "MIT" ]
null
null
null
config/prod.exs
antp/cxs_starter
349cbd61e561f276b552f95e88e24e01397b8519
[ "MIT" ]
null
null
null
config/prod.exs
antp/cxs_starter
349cbd61e561f276b552f95e88e24e01397b8519
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
36.303571
66
0.717659
79587409a056833aa0c8a79db12da1f11f519458
1,565
exs
Elixir
test/controllers/session_controller_test.exs
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
test/controllers/session_controller_test.exs
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
test/controllers/session_controller_test.exs
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
defmodule Asciinema.SessionControllerTest do use AsciinemaWeb.ConnCase import Asciinema.Factory alias Asciinema.Repo alias Asciinema.Accounts setup %{conn: conn} do {:ok, conn: conn} end test "successful log-in", %{conn: conn} do user = insert(:user, email: "test@example.com", username: "blazko"...
29.528302
71
0.65623
79587a8be5d4d7952f88e07703e59da05fff6796
29,292
ex
Elixir
lib/gen_state_machine.ex
jakeprem/gen_state_machine
9520790652bd73d2597dfd52e05b992226b2269a
[ "Apache-2.0" ]
null
null
null
lib/gen_state_machine.ex
jakeprem/gen_state_machine
9520790652bd73d2597dfd52e05b992226b2269a
[ "Apache-2.0" ]
null
null
null
lib/gen_state_machine.ex
jakeprem/gen_state_machine
9520790652bd73d2597dfd52e05b992226b2269a
[ "Apache-2.0" ]
null
null
null
defmodule GenStateMachine do @moduledoc """ A behaviour module for implementing a state machine. The advantage of using this module is that it will have a standard set of interface functions and include functionality for tracing and error reporting. It will also fit into a supervision tree. ## Example ...
36.984848
139
0.678172
79588ec4db24837201051b8c137215f19e97ad0f
3,199
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_snippet.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_snippet.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_snippet.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.430556
263
0.723351
79589eb4ce146b1ee124a7efb2e871ee711ce132
3,259
ex
Elixir
lib/formatter.ex
dbernheisel/cldr_calendars_format
3777fc54fc21f9d942932927f2576bd1261c0831
[ "Apache-2.0" ]
null
null
null
lib/formatter.ex
dbernheisel/cldr_calendars_format
3777fc54fc21f9d942932927f2576bd1261c0831
[ "Apache-2.0" ]
null
null
null
lib/formatter.ex
dbernheisel/cldr_calendars_format
3777fc54fc21f9d942932927f2576bd1261c0831
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Calendar.Formatter do @moduledoc """ Calendar formatter behaviour. This behaviour defines a set of callbacks that are invoked during the formatting of a calendar. At each point in the formatting process the callbacks are invoked from the "inside out". That is, `format_day/4` is invok...
22.170068
56
0.616447
7958b63c5383d42ad4a155683724663bafdc1e39
275
exs
Elixir
notebooks/modulo_4/parte_2/ecto_example/priv/university/migrations/20211110223638_create_students.exs
igorgbr/curso-alquimia-stone
c5e40b0efcb7eef282f0f13a421671580c2762c1
[ "MIT" ]
14
2021-11-19T00:22:09.000Z
2022-01-29T03:58:09.000Z
notebooks/modulo_4/parte_2/ecto_example/priv/university/migrations/20211110223638_create_students.exs
igorgbr/curso-alquimia-stone
c5e40b0efcb7eef282f0f13a421671580c2762c1
[ "MIT" ]
null
null
null
notebooks/modulo_4/parte_2/ecto_example/priv/university/migrations/20211110223638_create_students.exs
igorgbr/curso-alquimia-stone
c5e40b0efcb7eef282f0f13a421671580c2762c1
[ "MIT" ]
1
2022-03-01T00:49:50.000Z
2022-03-01T00:49:50.000Z
defmodule EctoExample.University.Repo.Migrations.CreateStudents do use Ecto.Migration def change do create table("students") do add(:student_name, :string) add(:grade, :decimal) add(:high_school_size, :integer) timestamps() end end end
21.153846
66
0.687273
7958d275f3bb7a6f0a0ddedaf0cc594f5b675554
1,155
exs
Elixir
config/config.exs
betrybe/markright
1b81a2d9931b70645f9eff70d2605f0e9a58f396
[ "MIT" ]
15
2017-01-12T19:24:35.000Z
2021-04-27T14:44:08.000Z
config/config.exs
betrybe/markright
1b81a2d9931b70645f9eff70d2605f0e9a58f396
[ "MIT" ]
8
2017-02-13T17:01:35.000Z
2021-07-27T16:20:52.000Z
config/config.exs
betrybe/markright
1b81a2d9931b70645f9eff70d2605f0e9a58f396
[ "MIT" ]
1
2021-04-24T18:40:11.000Z
2021-04-24T18:40:11.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
38.5
73
0.753247
7958d2ad7967ba8e99556e753f3abe4970a27593
360
ex
Elixir
lib/blitz/supervisor.ex
edraut/blitz
fa6b645e943f36ba40b7104ff4f8df6110aa7645
[ "MIT" ]
null
null
null
lib/blitz/supervisor.ex
edraut/blitz
fa6b645e943f36ba40b7104ff4f8df6110aa7645
[ "MIT" ]
null
null
null
lib/blitz/supervisor.ex
edraut/blitz
fa6b645e943f36ba40b7104ff4f8df6110aa7645
[ "MIT" ]
null
null
null
defmodule Blitz.Supervisor do use Supervisor def start_link(opts) do Supervisor.start_link(__MODULE__, :ok, opts) end @impl true def init(:ok) do children = [ # %{id: Blitz.Server, start: {Blitz.Server, :start_link, [[]]}, restart: :transient} Blitz.Server ] Supervisor.init(chil...
20
90
0.658333
7958f3200dcfe66edaeb775b654df08c207cd15f
4,088
ex
Elixir
lib/thrift/parser.ex
simplifi/elixir-thrift
3ce784e198fbdf77d7d2481e6fd0cc9fd9618630
[ "Apache-2.0" ]
209
2015-12-19T09:56:39.000Z
2022-03-22T04:43:16.000Z
lib/thrift/parser.ex
fakeNetflix/pinterest-repo-elixir-thrift
4e6cc130738b4f04fdbb06bd6f12985b9a9438d3
[ "Apache-2.0" ]
312
2016-01-05T04:04:58.000Z
2021-11-15T17:59:57.000Z
lib/thrift/parser.ex
thecodeboss/elixir-thrift
621a2039bcbcec62d1cedc85b01421813e0910e8
[ "Apache-2.0" ]
40
2015-12-21T19:46:03.000Z
2022-02-10T08:34:58.000Z
defmodule Thrift.Parser do @moduledoc """ This module provides functions for parsing [Thrift IDL][idl] (`.thrift`) files. [idl]: https://thrift.apache.org/docs/idl """ alias Thrift.Parser.FileGroup @typedoc "A Thrift IDL line number" @type line :: pos_integer | nil @typedoc "A map of Thrift annota...
29.623188
89
0.620841
7958f66603d1b6a4ee0b32f83a978bfbe5692d3d
8,442
ex
Elixir
lib/Statux/tracker.ex
larshei/statex
7e76a820d5774887f08ac73eaf2ac8e1670cf1b2
[ "MIT" ]
1
2022-02-14T06:48:21.000Z
2022-02-14T06:48:21.000Z
lib/Statux/tracker.ex
larshei/statex
7e76a820d5774887f08ac73eaf2ac8e1670cf1b2
[ "MIT" ]
3
2022-02-12T11:32:31.000Z
2022-02-12T22:49:43.000Z
lib/Statux/tracker.ex
larshei/statex
7e76a820d5774887f08ac73eaf2ac8e1670cf1b2
[ "MIT" ]
null
null
null
defmodule Statux.Tracker do use GenServer require Logger alias Statux.Models.EntityStatus alias Statux.Models.Status alias Statux.Models.TrackingData def start_link(args) do GenServer.start_link( __MODULE__, args, name: args[:name] || __MODULE__ ) end def put(server \\ __MOD...
31.5
204
0.642739
7959b0958c23fb8ad0f979655e88dd286c55856a
751
exs
Elixir
mix.exs
seankay/curtail
1b9e1fcfe5305570e343c43a7f5831c046cb6563
[ "MIT" ]
27
2015-02-07T00:33:18.000Z
2021-01-17T20:22:09.000Z
mix.exs
seankay/curtail
1b9e1fcfe5305570e343c43a7f5831c046cb6563
[ "MIT" ]
5
2015-05-27T11:46:32.000Z
2020-08-21T00:43:32.000Z
mix.exs
seankay/curtail
1b9e1fcfe5305570e343c43a7f5831c046cb6563
[ "MIT" ]
4
2015-05-27T03:46:58.000Z
2020-08-20T22:06:15.000Z
defmodule Curtail.Mixfile do use Mix.Project @source_url "https://github.com/seankay/curtail" def project do [app: :curtail, version: "2.0.0", elixir: ">= 1.3.0", description: description(), package: package(), deps: deps(), name: "Curtail", source_url: @source_url ] ...
18.775
55
0.563249
7959b7a01e4435cb43b00af029bbc050ef1058a3
1,509
ex
Elixir
apps/mishka_database/lib/schema/mishka_content/content_schema_enum.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
3
2021-06-27T10:26:51.000Z
2022-01-10T13:56:08.000Z
apps/mishka_database/lib/schema/mishka_content/content_schema_enum.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
apps/mishka_database/lib/schema/mishka_content/content_schema_enum.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
import EctoEnum defenum ContentStatusEnum, inactive: 0, active: 1, archived: 2, soft_delete: 3 defenum ContentPriorityEnum, none: 0, low: 1, medium: 2, high: 3, featured: 4 defenum ContentRobotsEnum, IndexFollow: 0, IndexNoFollow: 1, NoIndexFollow: 2, NoIndexNoFollow: 3 defenum CategoryVisibility, show: 0, invisibel: 1...
79.421053
322
0.753479
7959c677967b36b76234cc4f3f81658b495730fe
1,847
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/bind_device_to_gateway_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/bind_device_to_gateway_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/bind_device_to_gateway_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
36.215686
207
0.745533
7959dd7ec5827245bec1b717a7d73cddd7cd619a
1,151
exs
Elixir
clients/web_security_scanner/config/config.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/web_security_scanner/config/config.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/config/config.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "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...
37.129032
73
0.758471
795a085ac858f572eec3b90a706026fa4ecf4476
1,142
exs
Elixir
apps/user_manager/mix.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
4
2018-11-09T16:57:06.000Z
2021-03-02T22:57:17.000Z
apps/user_manager/mix.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
29
2018-10-26T08:29:37.000Z
2018-12-09T21:02:05.000Z
apps/user_manager/mix.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
null
null
null
defmodule UserManager.MixProject do use Mix.Project def project do [ app: :user_manager, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", start_permanent: ...
26.55814
88
0.565674
795a10e5d97638066559823050c14ea71e433eaa
2,295
ex
Elixir
lib/firestorm_data/categories/categories.ex
dailydrip/firestorm_data
5c5e75271c43dc08d93a2492692b6601ef3682aa
[ "MIT" ]
null
null
null
lib/firestorm_data/categories/categories.ex
dailydrip/firestorm_data
5c5e75271c43dc08d93a2492692b6601ef3682aa
[ "MIT" ]
null
null
null
lib/firestorm_data/categories/categories.ex
dailydrip/firestorm_data
5c5e75271c43dc08d93a2492692b6601ef3682aa
[ "MIT" ]
null
null
null
defmodule FirestormData.Categories do @moduledoc """ Threads exist within categories. """ alias FirestormData.{ Repo, Categories.Category } @doc """ Finds a category by name ## Examples iex> find_category(%{title: "Elixir"}) {:ok, %Category{}} iex> find_category(%{field: b...
21.25
98
0.593464
795a2ca8c44c7b3abf7a3e4a21d1521a6e61cda4
900
exs
Elixir
mix.exs
trustcor/exqueue
b122d99080373eb802e0e5d9fa11c05975eabc7b
[ "MIT" ]
null
null
null
mix.exs
trustcor/exqueue
b122d99080373eb802e0e5d9fa11c05975eabc7b
[ "MIT" ]
null
null
null
mix.exs
trustcor/exqueue
b122d99080373eb802e0e5d9fa11c05975eabc7b
[ "MIT" ]
null
null
null
defmodule ExQueue.Mixfile do use Mix.Project def project do [app: :exqueue, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, escript: [main_module: ExQueue], deps: deps()] end def application do [applications: [:logg...
25
115
0.517778
795a3c98b951f0591b2f7d5ccf370f182963cc81
853
exs
Elixir
test/parallel_test.exs
eproxus/parallel
08337182573befc55f4aea835b0f68c686d57002
[ "MIT" ]
24
2015-02-20T09:05:22.000Z
2021-01-14T22:37:53.000Z
test/parallel_test.exs
eproxus/parallel
08337182573befc55f4aea835b0f68c686d57002
[ "MIT" ]
3
2016-03-23T10:49:44.000Z
2018-01-09T12:32:59.000Z
test/parallel_test.exs
eproxus/parallel
08337182573befc55f4aea835b0f68c686d57002
[ "MIT" ]
7
2015-01-08T19:17:49.000Z
2018-01-09T07:34:25.000Z
Code.require_file "test_helper.exs", __DIR__ defmodule ParallelTest do use ExUnit.Case doctest Parallel import EnumCompare import Parallel test :map do assert_enum :map, 1..10, &(&1 + 1), sort: true end test :random_map do :random.seed(:erlang.now()) Enum.each 1..50, fn _ -> list = E...
19.386364
55
0.584994
795a464bd5f4cd3d47495e8c7e3b21ff068500d4
3,226
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message_list_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message_list_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message_list_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.594595
190
0.695598
795a66b1ed5bcf691c0cd2238ddaead752bef349
2,631
ex
Elixir
apps/local_ledger_db/lib/local_ledger_db/token.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/local_ledger_db/lib/local_ledger_db/token.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/local_ledger_db/lib/local_ledger_db/token.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-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 ...
27.694737
80
0.661345
795acd088847664467f811465b45628fa2defd0b
210
ex
Elixir
lib/exnn/nodes/loader.ex
zampino/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
104
2015-06-18T18:54:25.000Z
2021-11-04T15:07:02.000Z
lib/exnn/nodes/loader.ex
nelyj/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
3
2016-10-09T11:19:42.000Z
2018-09-17T16:36:32.000Z
lib/exnn/nodes/loader.ex
nelyj/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
17
2016-03-08T19:02:51.000Z
2019-04-27T16:40:52.000Z
defmodule EXNN.Nodes.Loader do def start_link do result = EXNN.Connectome.all |> Enum.each(&register/1) {result, self} end def register(genome) do EXNN.Nodes.register(genome) end end
15
32
0.67619
795ad1730e746c622f6a1411fdaa9057a179f229
3,265
ex
Elixir
lib/galnora/server.ex
kortirso/galnora
e10a4a9bacc1be0a68a1ac191b7fa9b335988cb6
[ "MIT" ]
null
null
null
lib/galnora/server.ex
kortirso/galnora
e10a4a9bacc1be0a68a1ac191b7fa9b335988cb6
[ "MIT" ]
null
null
null
lib/galnora/server.ex
kortirso/galnora
e10a4a9bacc1be0a68a1ac191b7fa9b335988cb6
[ "MIT" ]
null
null
null
defmodule Galnora.Server do @moduledoc false use GenServer alias Galnora.DB.Queries.{Job, Sentence} alias Galnora.JobServer # GenServer API @doc """ Inits server """ def init(_) do IO.puts "Galnora server is running" # pool = Job.get_active_jobs() |> Enum.map(fn job -> start_job_server(job...
25.507813
135
0.652986
795ade3ab26b2c4dc373bcad17d86781f9a62d28
816
ex
Elixir
elixir/codes-from-books/little-elixir/cap5/ring/lib/ring.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
1
2017-10-16T03:00:50.000Z
2017-10-16T03:00:50.000Z
elixir/codes-from-books/little-elixir/cap5/ring/lib/ring.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
elixir/codes-from-books/little-elixir/cap5/ring/lib/ring.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
defmodule Ring do @moduledoc """ Documentation for Ring. """ @doc """ Hello world. ## Examples iex> Ring.hello :world """ def create_processes(n) do 1..n |> Enum.map(fn _ -> spawn(fn -> loop end) end) def loop do receive do {:link, link_to} when is_pid(link_to) -> Proces...
17.73913
68
0.599265
795ae5beeadfd02635f311ede039ca1b56583f9b
5,418
ex
Elixir
lib/firex.ex
msoedov/firex
03b70122c1ae34793c505557f81e44ed2d77cbde
[ "MIT" ]
26
2017-05-15T00:16:20.000Z
2019-06-17T13:21:24.000Z
lib/firex.ex
msoedov/firex
03b70122c1ae34793c505557f81e44ed2d77cbde
[ "MIT" ]
6
2017-06-20T15:58:40.000Z
2017-06-23T23:02:45.000Z
lib/firex.ex
msoedov/firex
03b70122c1ae34793c505557f81e44ed2d77cbde
[ "MIT" ]
2
2017-06-20T16:04:07.000Z
2018-02-16T19:01:33.000Z
defmodule Firex do @moduledoc """ Module with macro for generating `main` entrypoint and reflection of passed command line argument into functions. """ defmacro __using__(opts) do testing? = Keyword.get(opts, :testing, false) quote do import Firex @before_compile Firex @on_definit...
30.784091
97
0.538944
795afa8793d5d6380a490faa83744e80098885ed
4,505
exs
Elixir
config/.credo.exs
austinsmorris/compass
752108902a4d249579174abcf19fc1c944112c86
[ "MIT" ]
null
null
null
config/.credo.exs
austinsmorris/compass
752108902a4d249579174abcf19fc1c944112c86
[ "MIT" ]
null
null
null
config/.credo.exs
austinsmorris/compass
752108902a4d249579174abcf19fc1c944112c86
[ "MIT" ]
null
null
null
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
40.954545
108
0.65838
795b01648703cd0b81a3ee42747cc8e2c135be1d
920
exs
Elixir
test/clickhousex/table_storage_test.exs
julienmarie/clickhousex
7f79596b51da44737a84e1911b96852b86f1cd75
[ "Apache-2.0" ]
1
2021-11-26T16:43:09.000Z
2021-11-26T16:43:09.000Z
test/clickhousex/table_storage_test.exs
julienmarie/clickhousex
7f79596b51da44737a84e1911b96852b86f1cd75
[ "Apache-2.0" ]
1
2021-01-04T14:16:30.000Z
2021-01-04T14:16:30.000Z
test/clickhousex/table_storage_test.exs
julienmarie/clickhousex
7f79596b51da44737a84e1911b96852b86f1cd75
[ "Apache-2.0" ]
3
2020-02-25T05:31:08.000Z
2020-09-18T07:27:10.000Z
defmodule Clickhousex.TableStorageTest do use ClickhouseCase, async: true alias Clickhousex.Result test "can create and drop table", ctx do create_statement = """ CREATE TABLE {{table}} (id Int32) ENGINE = Memory """ assert {:ok, %Result{}} = schema(ctx, create_statement) assert {:ok, %Res...
29.677419
83
0.669565
795b05424c0718ad700df6e9d97ea63d079c922e
309
ex
Elixir
test/support/test/wait_until.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/support/test/wait_until.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/support/test/wait_until.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
defmodule Corex.Test.WaitUntil do def wait_until(fun), do: wait_until(1000, fun) def wait_until(0, fun), do: fun.() def wait_until(timeout, fun) do try do fun.() rescue ExUnit.AssertionError -> :timer.sleep(10) wait_until(max(0, timeout - 10), fun) end end end
22.071429
48
0.621359
795b12643eb9d744ae54c004e3938713376baa47
1,980
exs
Elixir
mix.exs
homesocial/dlex
d9df0d1a00f758930699f46d3ded124171473a4d
[ "Apache-2.0" ]
null
null
null
mix.exs
homesocial/dlex
d9df0d1a00f758930699f46d3ded124171473a4d
[ "Apache-2.0" ]
null
null
null
mix.exs
homesocial/dlex
d9df0d1a00f758930699f46d3ded124171473a4d
[ "Apache-2.0" ]
null
null
null
defmodule Dlex.MixProject do use Mix.Project def project do [ app: :dlex, version: "0.5.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), aliases: [ "test.all": ["test.http", "test"], ...
24.75
95
0.541919