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
2d5c4dbbb4758b8493e686e7f737e32525929ec2
375
ex
Elixir
farmbot_ext/lib/farmbot_ext/amqp/auto_sync_asset_handler.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_ext/lib/farmbot_ext/amqp/auto_sync_asset_handler.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_ext/lib/farmbot_ext/amqp/auto_sync_asset_handler.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
defmodule FarmbotExt.AMQP.AutoSyncAssetHandler do require Logger alias FarmbotCore.{Asset, BotState, Leds} def handle_asset(asset_kind, id, params) do :ok = BotState.set_sync_status("syncing") _ = Leds.green(:really_fast_blink) Asset.Command.update(asset_kind, id, params) :ok = BotState.set_sync...
26.785714
49
0.728
2d5c7182dbde73b6c91d5e6946653f12c09c71fb
4,723
ex
Elixir
lib/vml.ex
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/vml.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/vml.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule VML do @moduledoc """ Parse VML text strings """ require Logger @doc """ Parse, raise on errors """ def parse!(string) do case parse(string) do {:ok, ast} -> ast {:error, _type, error} -> raise error end end @doc """ Parse a string into an AST for ...
24.471503
124
0.617828
2d5c749a1376896196ab039f526261f8fe5b296b
1,690
exs
Elixir
test/oli/delivery/previous_next_index_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
test/oli/delivery/previous_next_index_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
test/oli/delivery/previous_next_index_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.PreviousNextIndexTest do use Oli.DataCase alias Oli.Delivery.Sections alias Oli.Delivery.PreviousNextIndex alias Oli.Publishing.DeliveryResolver describe "previous next index" do setup do map = Seeder.base_project_with_resource4() hierarchy = DeliveryResolver.full_hie...
33.8
97
0.698817
2d5cb373be9444588f1fdb810c018d7f8a09c365
499
ex
Elixir
lib/adoptoposs_web/live/messages_live/interests.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
120
2020-03-30T13:58:40.000Z
2022-03-30T10:17:50.000Z
lib/adoptoposs_web/live/messages_live/interests.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
34
2020-04-01T23:11:59.000Z
2022-03-13T08:14:37.000Z
lib/adoptoposs_web/live/messages_live/interests.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
16
2020-04-24T17:14:23.000Z
2022-03-27T22:32:48.000Z
defmodule AdoptopossWeb.MessagesLive.Interests do use AdoptopossWeb, :live_view alias AdoptopossWeb.MessagesView @impl true def render(assigns) do Phoenix.View.render(MessagesView, "interests.html", assigns) end @impl true def mount_logged_in(_params, %{"user_id" => user_id}, socket) do {:ok, s...
24.95
81
0.753507
2d5cbce55248ef1ee9ff6240c31da5119ccc812a
1,035
ex
Elixir
ch5_concurrency_primitives/calculator.ex
arilsonsouza/elixir-in-action
8684605dac35717003c76f85c0b55f0336147963
[ "MIT" ]
null
null
null
ch5_concurrency_primitives/calculator.ex
arilsonsouza/elixir-in-action
8684605dac35717003c76f85c0b55f0336147963
[ "MIT" ]
null
null
null
ch5_concurrency_primitives/calculator.ex
arilsonsouza/elixir-in-action
8684605dac35717003c76f85c0b55f0336147963
[ "MIT" ]
null
null
null
defmodule Calculator do def start do spawn(fn -> loop(0) end) end def value(server_pid) do send(server_pid, {:value, self()}) receive do {:response, value} -> value end end def add(server_pid, value), do: send(server_pid, {:add, value}) def sub(server_pid, value), do: send(s...
22.021277
65
0.576812
2d5d36e7e9be73e169f1192cb28c87fd679e915d
601
ex
Elixir
lib/camino_challenge_web/views/changeset_view.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
lib/camino_challenge_web/views/changeset_view.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
lib/camino_challenge_web/views/changeset_view.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
defmodule CaminoChallengeWeb.ChangesetView do @moduledoc false use CaminoChallengeWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `CaminoChallengeWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do E...
28.619048
71
0.748752
2d5d5590ee9b0837c5bcf89b0984e95ed20c613d
438
ex
Elixir
lib/githubist_web/router.ex
alpcanaydin/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
33
2018-10-13T16:40:36.000Z
2021-05-23T14:13:34.000Z
lib/githubist_web/router.ex
5l1v3r1/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
1
2018-12-23T19:59:05.000Z
2018-12-24T18:08:00.000Z
lib/githubist_web/router.ex
5l1v3r1/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
3
2018-10-13T22:18:38.000Z
2020-03-29T23:41:23.000Z
defmodule GithubistWeb.Router do use GithubistWeb, :router pipeline :graphql do plug(CORSPlug, origin: ["http://localhost:3000", "https://github.ist"]) plug(:accepts, ["json"]) end scope "/" do pipe_through(:graphql) forward("/graphql", Absinthe.Plug, schema: GithubistWeb.Schema) forward...
21.9
75
0.671233
2d5d5d58937612532a6f54abd0de3f1027a098de
189
exs
Elixir
test/test_helper.exs
harmon25/Reactpxbp
7b895eb507d23c005229a2dee1ed078cc8291230
[ "MIT" ]
null
null
null
test/test_helper.exs
harmon25/Reactpxbp
7b895eb507d23c005229a2dee1ed078cc8291230
[ "MIT" ]
null
null
null
test/test_helper.exs
harmon25/Reactpxbp
7b895eb507d23c005229a2dee1ed078cc8291230
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r Reactpxbp.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r Reactpxbp.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(Reactpxbp.Repo)
27
58
0.751323
2d5d73c6ce1f87f99477486bc9d3274c6f3882ac
507
ex
Elixir
lib/phx_firewallplug_web/views/error_view.ex
sonajen/phx_firewallplug
a9bfc388a1a2cbc0f7366986d699bde46bbf33df
[ "MIT" ]
null
null
null
lib/phx_firewallplug_web/views/error_view.ex
sonajen/phx_firewallplug
a9bfc388a1a2cbc0f7366986d699bde46bbf33df
[ "MIT" ]
null
null
null
lib/phx_firewallplug_web/views/error_view.ex
sonajen/phx_firewallplug
a9bfc388a1a2cbc0f7366986d699bde46bbf33df
[ "MIT" ]
null
null
null
defmodule PhxFirewallplugWeb.ErrorView do use PhxFirewallplugWeb, :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 # t...
29.823529
61
0.74359
2d5dadae9a31debb578bd08cd2a0215879cf2ab6
314
exs
Elixir
apps/bus_detective/priv/repo/migrations/20180701000000_create_feeds.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
8
2018-07-06T14:44:10.000Z
2021-08-19T17:24:25.000Z
apps/bus_detective/priv/repo/migrations/20180701000000_create_feeds.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
12
2018-07-15T18:43:04.000Z
2022-02-10T16:07:47.000Z
apps/bus_detective/priv/repo/migrations/20180701000000_create_feeds.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
1
2018-07-13T17:30:20.000Z
2018-07-13T17:30:20.000Z
defmodule BusDetective.Repo.Migrations.CreateFeeds do use Ecto.Migration def change do create table(:feeds) do add(:last_updated, :utc_datetime) add(:last_file_hash, :string) add(:name, :string, null: false) timestamps() end create(unique_index(:feeds, :name)) end end
19.625
53
0.671975
2d5dd3e3fbca257e35b18782b3a8169b0b0468d2
824
exs
Elixir
test/checkdigit/verhoeff_test.exs
tacomeet/checkdigit
450452140d212891bd29f8fa9b534b4edaf45ecd
[ "MIT" ]
null
null
null
test/checkdigit/verhoeff_test.exs
tacomeet/checkdigit
450452140d212891bd29f8fa9b534b4edaf45ecd
[ "MIT" ]
null
null
null
test/checkdigit/verhoeff_test.exs
tacomeet/checkdigit
450452140d212891bd29f8fa9b534b4edaf45ecd
[ "MIT" ]
null
null
null
defmodule CheckdigitVerhoeffTest do use ExUnit.Case doctest Checkdigit.Verhoeff import Checkdigit.Verhoeff, only: [generate: 1, verify: 1] test "generate: regular" do assert generate("236") == {:ok, 3} assert generate("097365") == {:ok, 2} assert generate("93847221003") == {:ok, 6} assert gene...
26.580645
86
0.640777
2d5e413005bdca4810db5dc8032e44747dcbaa5b
948
ex
Elixir
lib/online_editor/user/query.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
lib/online_editor/user/query.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
lib/online_editor/user/query.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
defmodule OnlineEditor.User.Query do use OnlineEditor, :query alias OnlineEditor.User def get_by_id(id) do Repo.get_by(User, id: id, deleted: false) |> Repo.preload(:root_folder) end def get_by(%{} = params) do Repo.get_by(User, params) end def get_by_email(email) do query = from( ...
21.066667
75
0.612869
2d5e4e45cfaeccd566e1dc11c442fe904817ee73
137
ex
Elixir
test/support/stopping_esme.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
test/support/stopping_esme.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
test/support/stopping_esme.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
defmodule Support.StoppingESME do @moduledoc false use SMPPEX.ESME def init(stop_reason) do {:stop, stop_reason} end end
11.416667
33
0.715328
2d5e5adad254f183a8743de6c45fd2a22e28a23c
721
ex
Elixir
lib/asciinema/emails.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
893
2017-09-14T14:18:29.000Z
2022-03-31T21:45:08.000Z
lib/asciinema/emails.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
103
2017-09-29T22:15:33.000Z
2022-03-27T21:47:43.000Z
lib/asciinema/emails.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
152
2017-09-07T12:43:15.000Z
2022-03-10T18:47:47.000Z
defmodule Asciinema.Emails do alias Asciinema.Emails.{Email, Mailer} defmodule Job do use Oban.Worker, queue: :emails @impl Oban.Worker def perform(job) do case job.args["type"] do "signup" -> job.args["to"] |> Email.signup_email(job.args["url"]) |> Mailer.d...
20.6
48
0.556172
2d5e7a0c3a0479145ad5d09a3facee2f40bb6b2e
1,797
ex
Elixir
lib/whatChat_web/controllers/user_controller.ex
Perfect-SoftwareEngineer/vue-elegant-chat
4656bea123a6454584a163260899f0b4e59e073a
[ "MIT", "BSD-3-Clause" ]
52
2019-02-01T16:34:34.000Z
2022-03-24T12:02:47.000Z
lib/whatChat_web/controllers/user_controller.ex
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
30
2019-07-19T00:56:47.000Z
2022-03-26T01:41:41.000Z
lib/whatChat_web/controllers/user_controller.ex
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
23
2019-02-02T10:32:09.000Z
2022-01-24T02:00:29.000Z
defmodule WhatChatWeb.UserController do use WhatChatWeb, :controller alias WhatChat.Accounts alias WhatChat.Accounts.User action_fallback WhatChatWeb.FallbackController plug(WhatChatWeb.Plugs.RequireAuth when action not in [:create]) def index(conn, _params) do users = Accounts.list_users() ren...
27.227273
80
0.601002
2d5e88cf7a5890932a845e84665f826920ee9ac6
72
ex
Elixir
2015/day7/lib/signal/signal.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2015/day7/lib/signal/signal.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2015/day7/lib/signal/signal.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
defmodule Signal do defstruct left: nil, right: nil, gate: :value end
18
47
0.736111
2d5e8cccfc1b2089544591ba7b023962065ed502
1,863
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_suggestions.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_suggestions.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_suggestions.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 ...
32.684211
177
0.758991
2d5e8eeff9d6a56fd5bb679b3426e7b2d1e0007d
2,207
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_list_pages_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_list_pages_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_list_pages_response.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...
37.40678
129
0.708654
2d5ea6a2fbeca64da4bb4f80906fa08c6a83c6de
569
ex
Elixir
widget_market_phoenix/lib/widget_market_phoenix/web/views/widget_view.ex
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
widget_market_phoenix/lib/widget_market_phoenix/web/views/widget_view.ex
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
widget_market_phoenix/lib/widget_market_phoenix/web/views/widget_view.ex
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
defmodule WidgetMarketPhoenix.Web.WidgetView do use WidgetMarketPhoenix.Web, :view alias WidgetMarketPhoenix.Web.WidgetView def render("index.json", %{widgets: widgets}) do %{data: render_many(widgets, WidgetView, "widget.json")} end def render("show.json", %{widget: widget}) do %{data: render_one(w...
27.095238
60
0.690685
2d5eb5404b47ac04bf9553928386c9775912a086
3,360
ex
Elixir
clients/run/lib/google_api/run/v1/model/revision_spec.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/revision_spec.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/revision_spec.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.076923
164
0.71875
2d5eb6fb92ba4cedeaf011115831c248bbe8da11
1,384
ex
Elixir
lib/astarte_device/tortoise_handler.ex
rbino/astarte-device-sdk-elixir
bef82cc046658764942a7a2d0b5e693c2bdf0aed
[ "Apache-2.0" ]
3
2020-02-10T07:12:49.000Z
2020-09-19T02:56:40.000Z
lib/astarte_device/tortoise_handler.ex
rbino/astarte-device-sdk-elixir
bef82cc046658764942a7a2d0b5e693c2bdf0aed
[ "Apache-2.0" ]
9
2019-11-18T16:51:13.000Z
2021-02-24T17:43:03.000Z
lib/astarte_device/tortoise_handler.ex
rbino/astarte-device-sdk-elixir
bef82cc046658764942a7a2d0b5e693c2bdf0aed
[ "Apache-2.0" ]
5
2020-01-25T12:14:15.000Z
2021-06-18T08:33:40.000Z
# # This file is part of Astarte. # # Copyright 2019 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
26.615385
96
0.712428
2d5ee59a7a2464824b358e62a4f7f26d5679955d
12,772
exs
Elixir
test/bargad_test.exs
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
50
2018-10-09T17:21:08.000Z
2022-01-31T19:48:44.000Z
test/bargad_test.exs
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
8
2018-10-09T16:18:10.000Z
2020-05-18T00:25:08.000Z
test/bargad_test.exs
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
8
2018-10-07T13:38:22.000Z
2020-05-06T19:59:59.000Z
# Copyright 2018 Faraz Haider. All Rights Reserved. # 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 ag...
37.345029
379
0.539226
2d5f0f1330613a542816538514caf76017c21c14
1,102
ex
Elixir
lib/systemstats_web/live/page_live.ex
Dhall777/systemstats
380426af8fc898521201311b11881cc8d2db3388
[ "BSD-3-Clause" ]
null
null
null
lib/systemstats_web/live/page_live.ex
Dhall777/systemstats
380426af8fc898521201311b11881cc8d2db3388
[ "BSD-3-Clause" ]
null
null
null
lib/systemstats_web/live/page_live.ex
Dhall777/systemstats
380426af8fc898521201311b11881cc8d2db3388
[ "BSD-3-Clause" ]
null
null
null
defmodule SystemstatsWeb.PageLive do use SystemstatsWeb, :live_view @impl true def mount(_params, _session, socket) do {:ok, assign(socket, query: "", results: %{})} end @impl true def handle_event("suggest", %{"q" => query}, socket) do {:noreply, assign(socket, results: search(query), query: quer...
27.55
84
0.606171
2d5f150e1d0adba067c1b91a65b1647c39ec5627
41
ex
Elixir
lib/cand.ex
brienw/cand
dbec7d22b3b3a74c1a29b2277bcf90c0f49d4b2f
[ "MIT" ]
5
2018-02-23T17:06:38.000Z
2020-05-28T15:07:18.000Z
lib/cand.ex
brienw/cand
dbec7d22b3b3a74c1a29b2277bcf90c0f49d4b2f
[ "MIT" ]
null
null
null
lib/cand.ex
brienw/cand
dbec7d22b3b3a74c1a29b2277bcf90c0f49d4b2f
[ "MIT" ]
3
2018-03-28T16:46:28.000Z
2021-04-08T21:46:28.000Z
defmodule Cand do alias Cand.Socket end
13.666667
19
0.804878
2d5f24f77a8d71243ab59f086455c589abe52694
505
ex
Elixir
clients/hydra/elixir/lib/ory/model/trusted_json_web_key.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/hydra/elixir/lib/ory/model/trusted_json_web_key.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/hydra/elixir/lib/ory/model/trusted_json_web_key.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.TrustedJsonWebKey do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"kid", :"set" ] @type t :: %__MODULE_...
18.035714
91
0.651485
2d5f973549ca0d6b751386b0c6b6c5d813878ba6
557
ex
Elixir
lib/util.ex
Finger-Ink/abacus
5adf8bc8d555b9147af17802cb114d8916bfafe8
[ "MIT" ]
1
2019-10-01T08:38:01.000Z
2019-10-01T08:38:01.000Z
lib/util.ex
Finger-Ink/abacus
5adf8bc8d555b9147af17802cb114d8916bfafe8
[ "MIT" ]
null
null
null
lib/util.ex
Finger-Ink/abacus
5adf8bc8d555b9147af17802cb114d8916bfafe8
[ "MIT" ]
1
2020-06-26T20:41:42.000Z
2020-06-26T20:41:42.000Z
defmodule Abacus.Util do @moduledoc """ Utility functions """ @doc """ Returns the factorial of n. ## Example ``` iex(2)> factorial(0) 1 iex(3)> factorial(1) 1 iex(4)> factorial(2) 2 iex(5)> factorial(3) 6 iex(6)> factorial(4) 24 iex(7)> factorial(5) 120 ``` """ @spec fact...
14.282051
39
0.563734
2d5fc36a0b089acd6e42e913642de30c87b5ef25
219
exs
Elixir
test/grizzly/zwave/commands/rssi_get_test.exs
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
test/grizzly/zwave/commands/rssi_get_test.exs
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
test/grizzly/zwave/commands/rssi_get_test.exs
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.RssiGetTest do use ExUnit.Case, async: true alias Grizzly.ZWave.Commands.RssiGet test "creates the command and validates params" do {:ok, _command} = RssiGet.new() end end
21.9
52
0.744292
2d5feab90fe2c50d0ada8c18637b7d6590eb3686
2,257
ex
Elixir
apps/dockup/lib/dockup/backends/helm/install_job.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup/lib/dockup/backends/helm/install_job.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup/lib/dockup/backends/helm/install_job.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
defmodule Dockup.Backends.Helm.InstallJob do require Logger alias Dockup.{ DefaultCallback, Project, Command } def spawn_process(%{id: id, git_url: repository, branch: branch}, callback) do spawn(fn -> perform(id, repository, branch, callback) end) end def perform(deployment_id, repositor...
31.347222
80
0.662384
2d606701ae484f6c886aa5730f615c916554f889
963
ex
Elixir
debian/postinst.ex
santeri/pydiststore
227074a152e9e6a86abf22c3d4b2e8d43ec2f659
[ "MIT" ]
1
2016-05-09T05:37:17.000Z
2016-05-09T05:37:17.000Z
debian/postinst.ex
santeri/pydiststore
227074a152e9e6a86abf22c3d4b2e8d43ec2f659
[ "MIT" ]
null
null
null
debian/postinst.ex
santeri/pydiststore
227074a152e9e6a86abf22c3d4b2e8d43ec2f659
[ "MIT" ]
null
null
null
#!/bin/sh # postinst script for pydiststore # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> ...
22.928571
71
0.639668
2d608adec20f17a9cac6025dbca41334d1e8ced4
349
exs
Elixir
daniel/prog_elix/ch08/access3.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
daniel/prog_elix/ch08/access3.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
1
2020-02-26T14:55:23.000Z
2020-02-26T14:55:23.000Z
daniel/prog_elix/ch08/access3.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
cast = %{ buttercup: %{ actor: {"Robin", "Wright"}, role: "princess" }, westley: %{ actor: {"Cary", "Elwes"}, role: "farm boy" } } IO.inspect(get_in(cast, [Access.key(:westley), :actor, Access.elem(1)])) IO.inspect( get_and_update_in( cast, [Access.key(:buttercup), :role], fn val...
16.619048
72
0.550143
2d6090372f66d363bf38d4e7775e984419da3d2a
590
exs
Elixir
day10/test/day10_test.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
day10/test/day10_test.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
day10/test/day10_test.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
defmodule Day10Test do use ExUnit.Case doctest Day10 test "part 1 with example" do assert Day10.part1("1") == "11" assert Day10.part1("11") == "21" assert Day10.part1("21") == "1211" assert Day10.part1("1211") == "111221" assert Day10.part1("111221") == "312211" assert Day10.part1("1", 5)...
22.692308
57
0.628814
2d609ac9a9fa10920ce913e67a79b0fed6ca9e56
2,253
exs
Elixir
config/prod.exs
Devotu/magirator_app_gui
25cdc23e81b0dd9f72bef8a899122a81c6c50479
[ "MIT" ]
null
null
null
config/prod.exs
Devotu/magirator_app_gui
25cdc23e81b0dd9f72bef8a899122a81c6c50479
[ "MIT" ]
1
2018-06-28T20:44:06.000Z
2018-06-28T20:44:06.000Z
config/prod.exs
Devotu/magirator_app_gui
25cdc23e81b0dd9f72bef8a899122a81c6c50479
[ "MIT" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # MagiratorAppGuiWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there...
34.661538
74
0.731469
2d609ba52fc7090cdda1391ee1d8b42b292c2a6f
1,088
ex
Elixir
lib/struct_web/channels/user_socket.ex
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
lib/struct_web/channels/user_socket.ex
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
lib/struct_web/channels/user_socket.ex
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
defmodule StructWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", StructWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels...
30.222222
83
0.693934
2d60a56b02781672cc388c211c85a5c9cd36c2bf
57
exs
Elixir
installer/priv/templates/config/prod.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
202
2021-01-13T15:45:17.000Z
2022-03-22T01:26:27.000Z
installer/priv/templates/config/prod.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
55
2021-01-26T14:11:34.000Z
2022-03-22T22:34:37.000Z
installer/priv/templates/config/prod.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
10
2021-02-04T21:14:41.000Z
2022-03-20T10:12:59.000Z
import Config config :still, url_fingerprinting: true
11.4
26
0.789474
2d60dd626019d18deabdc66c9d12c3177016d6ae
1,418
ex
Elixir
test/support/data_case.ex
karabiner-inc/materia_chat
6670c97e2bd6e677b4ac1234f2c9f10a7f0020b2
[ "Apache-2.0" ]
null
null
null
test/support/data_case.ex
karabiner-inc/materia_chat
6670c97e2bd6e677b4ac1234f2c9f10a7f0020b2
[ "Apache-2.0" ]
4
2019-04-01T01:35:25.000Z
2019-06-06T05:36:31.000Z
test/support/data_case.ex
karabiner-inc/materia_chat
6670c97e2bd6e677b4ac1234f2c9f10a7f0020b2
[ "Apache-2.0" ]
null
null
null
defmodule MateriaChat.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 ...
26.259259
78
0.685472
2d60e189c916de40f2a3202c076d1b1494fd13e0
2,627
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/list_update_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/list_update_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/list_update_request.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...
44.525424
308
0.764751
2d60e3a3695686b875b494cdc463cd6d3292027f
1,536
exs
Elixir
apps/ewallet_api/test/ewallet_api/v1/views/transaction_request_view_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/v1/views/transaction_request_view_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/v1/views/transaction_request_view_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
34.133333
80
0.723307
2d60e4112cd8b55d77571c5b42c6ec13e09adbf3
53,941
ex
Elixir
lib/ex_admin/form.ex
ccmikechen/ex_admin
4267bcea4b484216e78154f24154a33511bd1171
[ "MIT" ]
2
2019-08-03T18:44:22.000Z
2019-08-28T05:05:57.000Z
lib/ex_admin/form.ex
ccmikechen/ex_admin
4267bcea4b484216e78154f24154a33511bd1171
[ "MIT" ]
null
null
null
lib/ex_admin/form.ex
ccmikechen/ex_admin
4267bcea4b484216e78154f24154a33511bd1171
[ "MIT" ]
null
null
null
defmodule ExAdmin.Form do @moduledoc """ Override the default new and edit form pages for an ExAdmin resource. By default, ExAdmin renders the form page without any additional configuration. It renders each column in the model, except the id, inserted_at, and updated_at columns in an attributes table. To ...
29.094391
107
0.590312
2d60e72459d77d1170ec085b02e63e6aab859fd0
515
ex
Elixir
lib/nomad_client/model/node_reserved_memory_resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
lib/nomad_client/model/node_reserved_memory_resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
lib/nomad_client/model/node_reserved_memory_resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule NomadClient.Model.NodeReservedMemoryResources do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :MemoryMB ] @type t :: %__...
20.6
91
0.697087
2d60fe98c2b0aa101fc553097b4bcef3ed3ed1dd
5,820
ex
Elixir
lib/entrance.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
11
2020-01-25T16:17:24.000Z
2020-06-03T10:46:27.000Z
lib/entrance.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
null
null
null
lib/entrance.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
null
null
null
defmodule Entrance do @moduledoc """ Provides authentication helpers that take advantage of the options configured in your config files. """ import Entrance.Config, only: [config: 1] import Ecto.Query, only: [from: 2, or_where: 3] @doc """ Authenticates an user by the default authenticable field (defi...
31.978022
208
0.655842
2d616bf7897c32af1bdbe336e0e78f30e90b6108
6,978
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/bucket.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/bucket.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/bucket.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...
59.641026
945
0.719261
2d616f4d43f1cafd3e8157d66276705fc5a14651
767
ex
Elixir
lib/mango_web/controllers/registration_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
121
2017-06-24T10:33:38.000Z
2022-03-17T16:02:16.000Z
lib/mango_web/controllers/registration_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
6
2017-06-24T22:48:21.000Z
2018-03-17T01:20:32.000Z
lib/mango_web/controllers/registration_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
29
2017-07-03T04:09:15.000Z
2022-03-02T15:45:49.000Z
defmodule MangoWeb.RegistrationController do use MangoWeb, :controller alias Mango.CRM def new(conn, _) do changeset = CRM.build_customer() residence_areas = Auroville.ResidenceService.list_areas render(conn, "new.html", changeset: changeset, residence_areas: residence_areas) end def create(conn...
31.958333
84
0.694915
2d618ccc5ab564148cf709e2abc744ab6f3529d3
1,369
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/feature_rename.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/feature_rename.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/admin/lib/google_api/admin/directory_v1/model/feature_rename.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.12766
81
0.735573
2d6194452afb6706630d5187956a55b62ef4e7a9
2,015
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.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...
35.982143
104
0.711166
2d61e8fe52be44da759b3bb318e707209b70c58a
751
exs
Elixir
mix.exs
simonced/elixir-consoleutils
da2a40d26aa41b02cc6f0252df6bea4ccad6ca68
[ "MIT" ]
null
null
null
mix.exs
simonced/elixir-consoleutils
da2a40d26aa41b02cc6f0252df6bea4ccad6ca68
[ "MIT" ]
null
null
null
mix.exs
simonced/elixir-consoleutils
da2a40d26aa41b02cc6f0252df6bea4ccad6ca68
[ "MIT" ]
null
null
null
defmodule ConsoleUtils.Mixfile do use Mix.Project def project do [app: :consoleUtils, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.a...
22.088235
79
0.629827
2d6211dea48ba1e4d182377fb5a7f39337de8569
1,089
ex
Elixir
clients/fcm/lib/google_api/fcm/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/fcm/lib/google_api/fcm/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/fcm/lib/google_api/fcm/v1/connection.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...
33
74
0.733701
2d623e85298f5d938bbba3173373f0c4bc6f5964
2,626
exs
Elixir
farmbot_os/config/target/dev.exs
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_os/config/target/dev.exs
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
null
null
null
farmbot_os/config/target/dev.exs
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
null
null
null
use Mix.Config local_file = Path.join(System.user_home!(), ".ssh/id_rsa.pub") local_key = if File.exists?(local_file), do: [File.read!(local_file)], else: [] config :nerves_firmware_ssh, authorized_keys: local_key config :vintage_net, regulatory_domain: "00", persistence: VintageNet.Persistence.Null, config: ...
25.745098
79
0.725057
2d6292c33d81e43c9443cbd2bc94ab3e83a067fd
2,337
ex
Elixir
clients/run/lib/google_api/run/v1/model/secret_env_source.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/secret_env_source.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/secret_env_source.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...
32.458333
174
0.722294
2d62ac3c894af3faa1516270feac150df55fbc4d
3,262
ex
Elixir
lib/nostrum/struct/component/button.ex
hopsor/nostrum
954d697206791342ba627921a9aee27af072de60
[ "MIT" ]
null
null
null
lib/nostrum/struct/component/button.ex
hopsor/nostrum
954d697206791342ba627921a9aee27af072de60
[ "MIT" ]
null
null
null
lib/nostrum/struct/component/button.ex
hopsor/nostrum
954d697206791342ba627921a9aee27af072de60
[ "MIT" ]
null
null
null
defmodule Nostrum.Struct.Component.Button do @moduledoc """ Helpers for dealing with Button Components """ @moduledoc since: "0.5.0" use Nostrum.Struct.Component @type link_button :: %{ type: Component.type(), style: Component.style(), label: Component.label(), emoji...
22.652778
250
0.583998
2d62bd34927ce1bc2646d5131e78a179decb8e62
1,170
ex
Elixir
lib/spmapi_web/channels/user_socket.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
1
2018-06-04T01:03:05.000Z
2018-06-04T01:03:05.000Z
lib/spmapi_web/channels/user_socket.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
5
2018-06-03T14:08:19.000Z
2018-06-07T19:34:27.000Z
lib/spmapi_web/channels/user_socket.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
null
null
null
defmodule SpmapiWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", SpmapiWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and aut...
30.789474
83
0.702564
2d631d1487361f5a9bc9a9affdb7499898ac82b6
459
exs
Elixir
test/models/project_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
27
2016-10-15T12:13:22.000Z
2021-02-07T20:31:41.000Z
test/models/project_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
null
null
null
test/models/project_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
4
2016-08-21T15:03:29.000Z
2019-11-22T13:15:29.000Z
defmodule EmbedChat.ProjectTest do use EmbedChat.ModelCase alias EmbedChat.Project @valid_attrs %{domain: "some content", name: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Project.changeset(%Project{}, @valid_attrs) assert changeset.valid? end test ...
24.157895
62
0.732026
2d634d8d718db76f58b7bf075cd47d85ab397049
355
ex
Elixir
lib/erlef/mailer.ex
RudolfMan/website
dacf833f043e22f8f297a149a7ecce0d2fdb1696
[ "Apache-2.0" ]
null
null
null
lib/erlef/mailer.ex
RudolfMan/website
dacf833f043e22f8f297a149a7ecce0d2fdb1696
[ "Apache-2.0" ]
null
null
null
lib/erlef/mailer.ex
RudolfMan/website
dacf833f043e22f8f297a149a7ecce0d2fdb1696
[ "Apache-2.0" ]
null
null
null
defmodule Erlef.Mailer do use Swoosh.Mailer, otp_app: :erlef def send(email) do deliver(email, config()) end defp config do base_config = Application.get_env(:erlef, __MODULE__) user = System.get_env("SMTP_USER") passwd = System.get_env("SMTP_PASSWORD") Keyword.merge(base_config, username:...
23.666667
64
0.712676
2d63589ba7220490612ea8d11fa6867ecb32d933
1,984
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_delete_processor_version_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_delete_processor_version_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_delete_processor_version_metadata.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...
34.807018
195
0.777218
2d6362c4a0024848cb5d3a0bce0232d49b5c80f6
523
exs
Elixir
string_compression/test/string_compression/day10_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
string_compression/test/string_compression/day10_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
string_compression/test/string_compression/day10_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
defmodule StringCompression.Day10Test do use ExUnit.Case, async: true alias StringCompression.Day10, as: StringCompression test "compress empty string", do: assert StringCompression.compress("") == "" test "compress single char string", do: assert StringCompression.compress("a") == "1a" test "comp...
29.055556
59
0.722753
2d6378ddee5b559cdf123c43274d58348779a564
235
ex
Elixir
lib/inmana/supplies/index.ex
pferreirafabricio/never-mind
c687a701e92fb75195606e1b031182073ec3da4e
[ "MIT" ]
null
null
null
lib/inmana/supplies/index.ex
pferreirafabricio/never-mind
c687a701e92fb75195606e1b031182073ec3da4e
[ "MIT" ]
null
null
null
lib/inmana/supplies/index.ex
pferreirafabricio/never-mind
c687a701e92fb75195606e1b031182073ec3da4e
[ "MIT" ]
null
null
null
defmodule Inmana.Supplies.Index do alias Inmana.{Repo, Supply} def call do case Repo.all(Supply) do nil -> {:error, %{result: "None supply found", status: :not_found}} supplies -> {:ok, supplies} end end end
21.363636
73
0.638298
2d63c042a334f92c639115a6d885dac4caabf015
1,701
exs
Elixir
test/exfmt/algebra_test.exs
matsubara0507/exfmt
ce9a9a9fc9fdfe3abb06d024886242167d9b52a6
[ "Apache-2.0" ]
510
2017-05-06T02:01:13.000Z
2021-11-15T09:47:41.000Z
test/exfmt/algebra_test.exs
Jason-Cooke/exfmt
3a5d0808e77858520d52bb25752bc00cc0605c4d
[ "Apache-2.0" ]
75
2017-05-31T20:14:40.000Z
2019-07-22T12:54:20.000Z
test/exfmt/algebra_test.exs
Jason-Cooke/exfmt
3a5d0808e77858520d52bb25752bc00cc0605c4d
[ "Apache-2.0" ]
25
2017-05-31T02:17:25.000Z
2019-07-20T10:02:21.000Z
defmodule Exfmt.AlgebraTest do use ExUnit.Case, async: true doctest Exfmt.Algebra, import: true require Exfmt.Algebra import Exfmt.Algebra def fmt(doc, limit) do doc |> Exfmt.Algebra.format(limit) |> IO.iodata_to_binary() |> (&(&1 <> "\n")).() end describe "format/2" do test "empty /...
19.77907
62
0.469724
2d63c1ef1b4ef29bb9595b3bfd5c88c88e5ada82
2,009
exs
Elixir
dei_app/config/prod.exs
mbta/DEI-dashboard
7446c1d5497b388f337df554ef1109b8b9b0f606
[ "MIT" ]
1
2020-09-18T19:41:07.000Z
2020-09-18T19:41:07.000Z
dei_app/config/prod.exs
mbta/DEI-dashboard
7446c1d5497b388f337df554ef1109b8b9b0f606
[ "MIT" ]
4
2020-07-23T02:35:33.000Z
2020-09-21T14:55:32.000Z
dei_app/config/prod.exs
mbta/DEI-dashboard
7446c1d5497b388f337df554ef1109b8b9b0f606
[ "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, # ...
35.875
66
0.714286
2d63c32d4f1145c93d605eb6a26bb32ef7a6f406
533
ex
Elixir
apps/wechat_base/test/support/wechat_base/api/notation/endpoint/body_type/json_test/definition.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_base/test/support/wechat_base/api/notation/endpoint/body_type/json_test/definition.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_base/test/support/wechat_base/api/notation/endpoint/body_type/json_test/definition.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
defmodule WechatBase.Api.Notation.Endpoint.BodyType.JsonTest.Definition do alias WechatBase.Api.Notation.Endpoint.BodyType.Json defmacro __using__(args) do quote do import unquote(__MODULE__), only: :macros end end defmacro eval(name, [do: block]) do do_eval(__CALLER__, name, block) end ...
23.173913
74
0.675422
2d63c7bcb535cee75b75853f36eca2ed04ee002a
1,226
ex
Elixir
web/views/error_helpers.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
1
2020-02-09T03:03:04.000Z
2020-02-09T03:03:04.000Z
web/views/error_helpers.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
defmodule Soroban.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error), ...
29.902439
73
0.66721
2d64575dd626cb69744d5ccbe14d96b6936906b2
440
ex
Elixir
lib/cog/queries/bundles.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/queries/bundles.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/queries/bundles.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Queries.Bundles do import Ecto.Query, only: [from: 2, where: 3] alias Cog.Models.Bundle def all do from b in Bundle, preload: [:permissions, commands: [rules: [permissions: :bundle]], relay_groups: [:relays]] end def for_id(id) do all |> where([b], b.id == ^id) end def b...
17.6
95
0.622727
2d646f51af5b10aff5b7c581bad3ef5902fee914
441
exs
Elixir
2020/day02/test/day02_test.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
2020/day02/test/day02_test.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
2020/day02/test/day02_test.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
defmodule Day02Test do use ExUnit.Case doctest Day02 test "split it properly" do parts = Day02.split("3-4 c: cccc") assert Enum.at(parts, 0) == [3, 4] assert Enum.at(parts, 1) == "c" assert Enum.at(parts, 2) == "cccc" end test "good password (part 1)" do assert Day02.part1([[[1, 4], "s",...
22.05
52
0.578231
2d64928002bf228a2d5ed1f2c858913affd0353d
2,105
ex
Elixir
lib/spear/connection/keep_alive_timer.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
34
2021-04-15T22:16:38.000Z
2022-03-11T10:20:11.000Z
lib/spear/connection/keep_alive_timer.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
32
2021-04-05T18:07:35.000Z
2021-11-04T19:32:58.000Z
lib/spear/connection/keep_alive_timer.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
1
2021-10-11T15:53:42.000Z
2021-10-11T15:53:42.000Z
defmodule Spear.Connection.KeepAliveTimer do @moduledoc false # a struct & functions for curating the keep-alive timer # gRPC keep-alive is just HTTP2 keep-alive: send PING frames every interval # after receiving some data and wait at most timeout before saying the # connection is severed # note that `:i...
30.955882
92
0.745368
2d649b0459849086313ea8dafd02b2603ba6ba31
3,057
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/self_controller_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/test/admin_api/v1/controllers/self_controller_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/self_controller_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminAPI.V1.SelfControllerTest do use AdminAPI.ConnCase, async: true alias EWalletDB.Account alias EWallet.Web.Date alias EWalletDB.{Membership, Repo, User} describe "/me.get" do test "responds with user data" do response = user_request("/me.get") assert response["success"] a...
28.839623
81
0.47334
2d64a0005b5c6babe6313d7678de9fa9b6c61b93
840
ex
Elixir
lib/tasks/xtra.help.ex
RobertDober/Extractly
9b1ee855e663f6ded8a3cf25fba1ad0777748ba9
[ "Apache-2.0" ]
4
2021-02-22T18:39:16.000Z
2021-10-30T09:11:29.000Z
lib/tasks/xtra.help.ex
RobertDober/Extractly
9b1ee855e663f6ded8a3cf25fba1ad0777748ba9
[ "Apache-2.0" ]
12
2019-01-26T11:52:05.000Z
2021-11-16T10:50:38.000Z
lib/tasks/xtra.help.ex
RobertDober/extractly
9b1ee855e663f6ded8a3cf25fba1ad0777748ba9
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Xtra.Help do use Mix.Task @shortdoc "Explains availabe xtra subtasks" @moduledoc """ ### Usage: mix xtra [options]... [template] #### Options: --help | -h Prints short help information to stdout and exits. --quiet | -q No output to stdout or stderr --v...
24.705882
100
0.629762
2d64b28435194e3c723b8d83864e0fe700df18bb
7,919
ex
Elixir
lib/teiserver/battle.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver/battle.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver/battle.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
defmodule Teiserver.Battle do @moduledoc """ The Battle context. """ import Ecto.Query, warn: false alias Central.Helpers.QueryHelpers alias Central.Repo alias Teiserver.{Telemetry, Coordinator} alias Teiserver.Battle.Match alias Teiserver.Battle.MatchLib @spec match_query(List.t()) :: Ecto.Query...
23.568452
91
0.637707
2d64b3b11eaa745c0826f7f87d4dc1db7bae6bd2
1,603
ex
Elixir
lib/roger/queue.ex
bettyblocks/roger
7bd55ff9ce67e01f90a97b1131fecf3a326767d1
[ "MIT" ]
17
2017-01-24T19:00:53.000Z
2021-08-23T15:14:42.000Z
lib/roger/queue.ex
bettyblocks/roger
7bd55ff9ce67e01f90a97b1131fecf3a326767d1
[ "MIT" ]
8
2017-04-25T13:22:48.000Z
2021-03-18T11:58:15.000Z
lib/roger/queue.ex
bettyblocks/roger
7bd55ff9ce67e01f90a97b1131fecf3a326767d1
[ "MIT" ]
3
2018-01-23T21:51:47.000Z
2019-09-11T07:23:57.000Z
defmodule Roger.Queue do @moduledoc """ Functions related to queues. """ alias Roger.Queue @type t :: %__MODULE__{} defstruct type: nil, max_workers: nil, consumer_tag: nil, channel: nil, confirmed: false, channel_ref: nil def define({type, max_workers}) do define(type, max_workers) end def d...
29.145455
108
0.687461
2d64c37fe317c6ed136705cadd62152286b1501c
1,512
exs
Elixir
mix.exs
morgz/monzo_elixir
68d671e0e99191fc5702ead7fc921dad45eb2605
[ "MIT" ]
null
null
null
mix.exs
morgz/monzo_elixir
68d671e0e99191fc5702ead7fc921dad45eb2605
[ "MIT" ]
null
null
null
mix.exs
morgz/monzo_elixir
68d671e0e99191fc5702ead7fc921dad45eb2605
[ "MIT" ]
null
null
null
defmodule Monzo.Mixfile do use Mix.Project def project do [app: :monzo, version: "0.3.0", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps, description: description, package: package]...
23.261538
77
0.59127
2d64e170c343b70db4b1dbf54c823d894dfcfa07
320
ex
Elixir
test/support/test_app.ex
aseigo/ecto_pg_geom
bf90436794e91912ba67e7778bcbe11c4010de6e
[ "Apache-2.0" ]
3
2020-08-30T12:08:17.000Z
2021-03-20T21:38:41.000Z
test/support/test_app.ex
aseigo/ecto_pg_geom
bf90436794e91912ba67e7778bcbe11c4010de6e
[ "Apache-2.0" ]
null
null
null
test/support/test_app.ex
aseigo/ecto_pg_geom
bf90436794e91912ba67e7778bcbe11c4010de6e
[ "Apache-2.0" ]
null
null
null
defmodule EctoPgGeomTest.App do use Application alias EctoPgGeom.TestRepo def start(_type, _args) do # List all child processes to be supervised children = [ EctoPgGeom.TestRepo ] opts = [strategy: :one_for_one, name: EctoPgGeomTest.App] Supervisor.start_link(children, opts) end end
21.333333
61
0.7125
2d651fc52df397ff668c123be9c83c59f26b3421
1,313
ex
Elixir
lib/teiserver/battle/schemas/match.ex
marseel/teiserver
7e085ae7853205d217183737d3eb69a4941bbe7e
[ "MIT" ]
null
null
null
lib/teiserver/battle/schemas/match.ex
marseel/teiserver
7e085ae7853205d217183737d3eb69a4941bbe7e
[ "MIT" ]
null
null
null
lib/teiserver/battle/schemas/match.ex
marseel/teiserver
7e085ae7853205d217183737d3eb69a4941bbe7e
[ "MIT" ]
null
null
null
defmodule Teiserver.Battle.Match do use CentralWeb, :schema schema "teiserver_battle_matches" do field :uuid, :string field :map, :string field :data, :map # The end of match data to be provided by clients field :tags, :map field :team_count, :integer field :team_size, :integer field :...
30.534884
129
0.687738
2d6524eaa898d963486d9e2dcd90dffae9a38a24
1,817
exs
Elixir
mix.exs
zlfera/crontab
644241ae78cd32a63d16dc92eb2cfb2a7c0c1c59
[ "MIT" ]
null
null
null
mix.exs
zlfera/crontab
644241ae78cd32a63d16dc92eb2cfb2a7c0c1c59
[ "MIT" ]
null
null
null
mix.exs
zlfera/crontab
644241ae78cd32a63d16dc92eb2cfb2a7c0c1c59
[ "MIT" ]
null
null
null
defmodule Crontab.Mixfile do use Mix.Project @version "1.1.4" def project do [ app: :crontab, version: @version, elixir: "~> 1.5", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: de...
23.294872
87
0.559714
2d653bfbab1761b6b4853a971aaea60b71ef64c1
50
ex
Elixir
lib/ueberauth_adfs.ex
Kuret/ueberauth_adfs
3082f07b09dc223b8967abe30ad492fe450ead67
[ "MIT" ]
6
2018-08-13T08:16:22.000Z
2020-03-12T10:53:02.000Z
lib/ueberauth_adfs.ex
Kuret/ueberauth_adfs
3082f07b09dc223b8967abe30ad492fe450ead67
[ "MIT" ]
5
2018-08-04T07:30:10.000Z
2020-12-11T16:54:02.000Z
lib/ueberauth_adfs.ex
Kuret/ueberauth_adfs
3082f07b09dc223b8967abe30ad492fe450ead67
[ "MIT" ]
8
2018-07-24T14:19:52.000Z
2021-04-11T09:41:35.000Z
defmodule UeberauthAdfs do @moduledoc false end
12.5
26
0.82
2d6553dc53f7e5edfef4483b8872f150d4d31584
139
ex
Elixir
unsilo/lib/unsilo_web/controllers/page_controller.ex
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
1
2019-03-21T02:43:06.000Z
2019-03-21T02:43:06.000Z
unsilo/lib/unsilo_web/controllers/page_controller.ex
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
3
2021-03-09T01:43:16.000Z
2022-02-10T17:04:55.000Z
unsilo/lib/unsilo_web/controllers/page_controller.ex
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
null
null
null
defmodule UnsiloWeb.PageController do use UnsiloWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
17.375
37
0.733813
2d6581966b20c71bff2d27ed0b120d5ad155aa1d
188
ex
Elixir
rumbl/lib/rumbl_web/views/user_view.ex
arilsonsouza/programming_phoenix
71a2a44e8cf84b6b133422899324363a09ccc07c
[ "MIT" ]
null
null
null
rumbl/lib/rumbl_web/views/user_view.ex
arilsonsouza/programming_phoenix
71a2a44e8cf84b6b133422899324363a09ccc07c
[ "MIT" ]
null
null
null
rumbl/lib/rumbl_web/views/user_view.ex
arilsonsouza/programming_phoenix
71a2a44e8cf84b6b133422899324363a09ccc07c
[ "MIT" ]
null
null
null
defmodule RumblWeb.UserView do use RumblWeb, :view alias Rumbl.Accounts def first_name(%Accounts.User{name: name}) do name |> String.split(" ") |> Enum.at(0) end end
15.666667
47
0.654255
2d658f6f3c8c46974d445e5e39b6b866f754fd5b
2,431
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/result_set_stats.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/spanner/lib/google_api/spanner/v1/model/result_set_stats.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/result_set_stats.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.4
141
0.699301
2d6590f529d79ab36953b40b506bb2c80a3feda5
1,205
ex
Elixir
lib/print_node/computers.ex
Vetspire/ex_printnode
368e3a5189c6422a0581f9bd5e81802a9ec5fcae
[ "MIT" ]
3
2020-10-23T08:55:12.000Z
2021-12-28T17:52:14.000Z
lib/print_node/computers.ex
Vetspire/ex_printnode
368e3a5189c6422a0581f9bd5e81802a9ec5fcae
[ "MIT" ]
1
2020-11-08T22:44:39.000Z
2020-11-08T22:44:39.000Z
lib/print_node/computers.ex
Vetspire/ex_printnode
368e3a5189c6422a0581f9bd5e81802a9ec5fcae
[ "MIT" ]
1
2020-10-23T10:58:53.000Z
2020-10-23T10:58:53.000Z
defmodule PrintNode.Computers do @moduledoc """ API interface for Computer operations """ alias PrintNode.Client alias PrintNode.Resources.Computer @spec list(PrintNode.options()) :: {:error, String.t()} | {:ok, [%Computer{}]} def list(options) do Client.get!("/computers", Client.prepare_r...
25.638298
70
0.607469
2d65b80e7d70c7f9ba23b93141f41fc94a419d19
1,445
ex
Elixir
lib/libpe/windows_subsystem.ex
elixir-desktop/libpe
c7e84e7d35b5ab7661691a2282b44ca2268eec39
[ "MIT" ]
null
null
null
lib/libpe/windows_subsystem.ex
elixir-desktop/libpe
c7e84e7d35b5ab7661691a2282b44ca2268eec39
[ "MIT" ]
1
2022-03-02T14:35:50.000Z
2022-03-02T14:35:50.000Z
lib/libpe/windows_subsystem.ex
elixir-desktop/libpe
c7e84e7d35b5ab7661691a2282b44ca2268eec39
[ "MIT" ]
null
null
null
defmodule LibPE.WindowsSubsystem do use LibPE.Flags @doc """ Generated based on documentation. Used this snipper after copy paste: ``` data = ... (copy pasted) Enum.chunk_every(String.split(data, "\n"), 3, 3, :discard) |> Enum.map(fn [name, id, desc] -> {name, String.to_integer(id), desc} end)...
43.787879
140
0.678893
2d65bdc8488c71b979186a9a4cc34bb479699454
283
ex
Elixir
lib/node.ex
HPJM/bst_elixir
778abc81da133914c9973fd85bbc65529e9aeb8f
[ "MIT" ]
null
null
null
lib/node.ex
HPJM/bst_elixir
778abc81da133914c9973fd85bbc65529e9aeb8f
[ "MIT" ]
null
null
null
lib/node.ex
HPJM/bst_elixir
778abc81da133914c9973fd85bbc65529e9aeb8f
[ "MIT" ]
null
null
null
defmodule BST.Node do alias BST.Node defstruct [:left, :right, :data] @doc """ Creates new node ## Examples iex> BST.Node.new(2) %BST.Node{data: 2} """ def new(data, left \\ nil, right \\ nil) do %Node{data: data, left: left, right: right} end end
16.647059
47
0.586572
2d65dd98740f0c5affe33f5aca7715bba60526f2
1,131
ex
Elixir
lib/comspec_util.ex
andyl/phx-cmdd
f72319d81b264b4deba4831ee1d0eb725d2b5adb
[ "MIT" ]
5
2019-05-23T23:25:25.000Z
2019-05-31T12:10:59.000Z
lib/comspec_util.ex
andyl/comgen
f72319d81b264b4deba4831ee1d0eb725d2b5adb
[ "MIT" ]
3
2019-05-31T04:42:02.000Z
2019-06-01T06:42:14.000Z
lib/comspec_util.ex
andyl/comgen
f72319d81b264b4deba4831ee1d0eb725d2b5adb
[ "MIT" ]
1
2019-06-01T05:04:14.000Z
2019-06-01T05:04:14.000Z
defmodule ComspecUtil do @moduledoc """ Utilities to manage and manipulate comspec data. Generally, the functions here take a comspec and/or a submodule as an argument. Submodules are items from the Event/Command/Aggregate elements in the comspec. Submodules have a `name` and a `fields` attributes. """...
26.928571
78
0.701149
2d65f707f2bff93dcaaadb021e59d45a93d4fac8
589
ex
Elixir
lib/blue_jet/app/goods/depositable/query.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
lib/blue_jet/app/goods/depositable/query.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
lib/blue_jet/app/goods/depositable/query.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJet.Goods.Depositable.Query do @behaviour BlueJet.Query use BlueJet, :query alias BlueJet.Goods.Depositable def identifiable_fields, do: [:id, :status] def filterable_fields, do: [:id, :status, :label] def searchable_fields, do: [:code, :name] def default(), do: from s in Depositable ...
26.772727
82
0.691002
2d65fc1c42aba45dc77591db7167232b600a8a34
2,145
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/batch_create_bitbucket_server_connected_repositories_response_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_build/lib/google_api/cloud_build/v1/model/batch_create_bitbucket_server_connected_repositories_response_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_build/lib/google_api/cloud_build/v1/model/batch_create_bitbucket_server_connected_repositories_response_metadata.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...
35.75
212
0.738462
2d65fec04e50f2b3f14d3e21664a01ece765f7d4
17,337
exs
Elixir
test/step/launch_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
test/step/launch_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
test/step/launch_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
defmodule StepFlow.LaunchTest do use ExUnit.Case use Plug.Test alias Ecto.Adapters.SQL.Sandbox alias StepFlow.Repo alias StepFlow.Step.Helpers alias StepFlow.Step.Launch alias StepFlow.Step.LaunchParams alias StepFlow.Workflows doctest StepFlow setup do # Explicitly get a connection before ea...
27.694888
97
0.464383
2d664c99c9ae001fc4fffd1e8b42cf947efd936a
1,496
exs
Elixir
apps/service_gather/test/gather/init_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/service_gather/test/gather/init_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/service_gather/test/gather/init_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
defmodule Gather.InitTest do use Gather.Case import Mox require Temp.Env alias Gather.Extraction @moduletag capture_log: true @instance Gather.Application.instance() Temp.Env.modify([ %{ app: :service_gather, key: Gather.Extraction, update: fn config -> Keyword.put(config...
19.946667
67
0.586898
2d6656aec74042eedaabcb65761cc991eda8b8c4
156
exs
Elixir
test/elxr_yt_wb_scrpr_test.exs
mingyar/elixir-youtube-web-scraper
14e7238847281ab4880cb2b60c3eb39eac647858
[ "MIT" ]
1
2021-05-24T05:28:33.000Z
2021-05-24T05:28:33.000Z
test/elxr_yt_wb_scrpr_test.exs
mingyar/elxr_yt_wb_scrpr
14e7238847281ab4880cb2b60c3eb39eac647858
[ "MIT" ]
null
null
null
test/elxr_yt_wb_scrpr_test.exs
mingyar/elxr_yt_wb_scrpr
14e7238847281ab4880cb2b60c3eb39eac647858
[ "MIT" ]
null
null
null
defmodule ElxrYtWbScrprTest do use ExUnit.Case doctest ElxrYtWbScrpr test "greets the world" do assert ElxrYtWbScrpr.hello() == :world end end
17.333333
42
0.74359
2d667df1331716e155506887cf2901d7e4b6bc9d
380
exs
Elixir
priv/repo/seeds.exs
maxbeizer/ueberauth_heroku_example
e0dce54d9dee70be28ca25422cd2d4a59571248b
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
maxbeizer/ueberauth_heroku_example
e0dce54d9dee70be28ca25422cd2d4a59571248b
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
maxbeizer/ueberauth_heroku_example
e0dce54d9dee70be28ca25422cd2d4a59571248b
[ "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: # # UeberauthHerokuExample.Repo.insert!(%UeberauthHerokuExample.SomeModel{}) # # We recommend using the bang functions (`insert!`, `updat...
31.666667
78
0.728947
2d66936cd3ae5f58d0965d194ac85771c3332c90
3,079
ex
Elixir
lib/parse/datetime/helpers.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
lib/parse/datetime/helpers.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
lib/parse/datetime/helpers.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
defmodule Timex.Parse.DateTime.Helpers do @moduledoc false import Combine.Parsers.Base import Combine.Parsers.Text, except: [integer: 0, integer: 1] alias Combine.Parsers.Text @weekdays_abbr ["mon", "tue", "wed", "thu", "fri", "sat", "sun"] @weekdays ["monday", "tuesday", "wednesday", "thursday", "fri...
38.012346
95
0.575512
2d66e39efa3a3c4b690616401ca5fe175eed832f
692
exs
Elixir
apps/ewallet_api/test/ewallet_api/global/controllers/status_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet_api/test/ewallet_api/global/controllers/status_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/global/controllers/status_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWalletAPI.StatusControllerTest do use EWalletAPI.ConnCase, async: true describe "GET request to root url" do test "returns status ok" do response = build_conn() |> get(@base_dir <> "/") |> json_response(:ok) assert response == %{ "success" => true,...
26.615385
85
0.452312
2d6734561766213e554dbf26023b8f13435eadcc
1,551
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/text_run.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/text_run.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/text_run.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...
31.02
83
0.740168
2d676398980c09923a5a48a1691a18ae7e57fc3b
1,559
exs
Elixir
mix.exs
gordalina/conduit
b949fe3ed3d5c1cd481e4a8df657f9371fb6f77e
[ "MIT" ]
null
null
null
mix.exs
gordalina/conduit
b949fe3ed3d5c1cd481e4a8df657f9371fb6f77e
[ "MIT" ]
null
null
null
mix.exs
gordalina/conduit
b949fe3ed3d5c1cd481e4a8df657f9371fb6f77e
[ "MIT" ]
null
null
null
defmodule Conduit.Mixfile do use Mix.Project def project do [ app: :conduit, version: "0.0.1", elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
26.87931
91
0.514432
2d678ab504df76769787f9439e2d0c4b1c5d584e
34
exs
Elixir
dialyzer.ignore-warnings.exs
BinaryNoggin/elixir-turbojpeg
2695bb1e62c920d193149c0e04df41b69fb462a7
[ "Apache-2.0" ]
13
2020-01-31T18:16:24.000Z
2022-02-24T06:20:17.000Z
dialyzer.ignore-warnings.exs
BinaryNoggin/elixir-turbojpeg
2695bb1e62c920d193149c0e04df41b69fb462a7
[ "Apache-2.0" ]
1
2020-07-31T15:56:12.000Z
2020-07-31T15:56:12.000Z
dialyzer.ignore-warnings.exs
BinaryNoggin/elixir-turbojpeg
2695bb1e62c920d193149c0e04df41b69fb462a7
[ "Apache-2.0" ]
2
2020-02-04T12:24:36.000Z
2020-02-24T10:02:48.000Z
[ {"lib/turbojpeg/native.ex"} ]
8.5
29
0.588235
2d67e910e0d25d37a48e55decc14da7a1c1215b0
1,614
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_key_value_map.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_key_value_map.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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_key_value_map.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...
32.28
111
0.726146
2d67ed46e8938ceea49891063a27ad85b19fbafb
2,400
ex
Elixir
lib/firestorm_web/web/endpoint.ex
abousamra/firestorm
4270774cb6f47be2f6341cfaac62fd44d3d10505
[ "MIT" ]
null
null
null
lib/firestorm_web/web/endpoint.ex
abousamra/firestorm
4270774cb6f47be2f6341cfaac62fd44d3d10505
[ "MIT" ]
null
null
null
lib/firestorm_web/web/endpoint.ex
abousamra/firestorm
4270774cb6f47be2f6341cfaac62fd44d3d10505
[ "MIT" ]
1
2020-03-20T12:58:37.000Z
2020-03-20T12:58:37.000Z
defmodule FirestormWeb.Web.Endpoint do use Phoenix.Endpoint, otp_app: :firestorm_web if Application.get_env(:firestorm_web, :sql_sandbox) do plug Phoenix.Ecto.SQL.Sandbox end socket "/socket", FirestormWeb.Web.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should s...
36.923077
597
0.746667
2d6802f593907670950241c55988196690604e14
497
ex
Elixir
mindcrunch/lib/mindcrunch_web/views/error_view.ex
dtangster/cmpe210-project
bdc482e6dde315316d9aa05d13be7b0fe6959786
[ "MIT" ]
null
null
null
mindcrunch/lib/mindcrunch_web/views/error_view.ex
dtangster/cmpe210-project
bdc482e6dde315316d9aa05d13be7b0fe6959786
[ "MIT" ]
null
null
null
mindcrunch/lib/mindcrunch_web/views/error_view.ex
dtangster/cmpe210-project
bdc482e6dde315316d9aa05d13be7b0fe6959786
[ "MIT" ]
null
null
null
defmodule MindcrunchWeb.ErrorView do use MindcrunchWeb, :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 templat...
29.235294
61
0.738431
2d6811d1acebe2c31c0aea8dba3dd9e0d51f659a
5,826
ex
Elixir
lib/swoosh/adapters/sendinblue.ex
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
null
null
null
lib/swoosh/adapters/sendinblue.ex
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
null
null
null
lib/swoosh/adapters/sendinblue.ex
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.Sendinblue do @moduledoc ~S""" An adapter that sends email using the Sendinblue API (Transactional emails only). For reference: [Sendinblue API docs](https://developers.sendinblue.com/reference/sendtransacemail) ## Example # config/config.exs config :sample, Sample.Maile...
28.699507
100
0.648816
2d682cb614a7857d8dd40ccfec143a53dd35952d
1,931
exs
Elixir
mix.exs
APB9785/ets
aff22bfab89e24ecb24f9a5e8cbf411fd28ec730
[ "MIT" ]
null
null
null
mix.exs
APB9785/ets
aff22bfab89e24ecb24f9a5e8cbf411fd28ec730
[ "MIT" ]
null
null
null
mix.exs
APB9785/ets
aff22bfab89e24ecb24f9a5e8cbf411fd28ec730
[ "MIT" ]
null
null
null
defmodule ETS.MixProject do use Mix.Project def project do [ app: :ets, version: "0.8.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), elixirc_paths: elixirc_paths(Mix.env()), docs: [main: "ETS", extras: ["READM...
26.094595
68
0.570689
2d683e05e9d908033d36aca2ce7dab5635de181d
2,912
ex
Elixir
lib/bitpal_factory/currency_factory.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal_factory/currency_factory.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal_factory/currency_factory.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPalFactory.CurrencyFactory do alias BitPal.Currencies alias BitPalFactory.CurrencyCounter alias BitPalSchemas.Currency @spec unique_currency_id :: Currency.id() def unique_currency_id do CurrencyCounter.next_currency_id() end @spec unique_currency_ids(non_neg_integer) :: [Currency.id()]...
25.769912
86
0.684066
2d683edb9733aecfc5ce5a3be3278d86d0b7b958
559
ex
Elixir
lib/markov/table.ex
olefav/randnews
5328a5c3ae0b1dd125da345260b43a6bc5ab5be8
[ "MIT" ]
null
null
null
lib/markov/table.ex
olefav/randnews
5328a5c3ae0b1dd125da345260b43a6bc5ab5be8
[ "MIT" ]
null
null
null
lib/markov/table.ex
olefav/randnews
5328a5c3ae0b1dd125da345260b43a6bc5ab5be8
[ "MIT" ]
null
null
null
defmodule Randnews.Markov.Table do def generate(normalized_strings) do Enum.reduce(normalized_strings, %{}, fn s, table -> generate(table, s) end) end defp generate(table, [:end]) do table end defp generate(table, [first | [second | _] = next]) do table = add_or_update(table, first, second) ...
22.36
79
0.633274
2d68437f7cbef14207adf52f7d5a4f64146e7567
384
ex
Elixir
web/views/error_view.ex
milandzo/milandzotorismo
51e92afbc776b8a60d8f9e79fc44d6669724dcf9
[ "MIT" ]
null
null
null
web/views/error_view.ex
milandzo/milandzotorismo
51e92afbc776b8a60d8f9e79fc44d6669724dcf9
[ "MIT" ]
null
null
null
web/views/error_view.ex
milandzo/milandzotorismo
51e92afbc776b8a60d8f9e79fc44d6669724dcf9
[ "MIT" ]
1
2020-10-05T14:16:08.000Z
2020-10-05T14:16:08.000Z
defmodule Magnetissimo.ErrorView do use Magnetissimo.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(...
21.333333
47
0.705729
2d6844c45922f7a9b775e547dee3d4f3a20ebcad
389
ex
Elixir
platform/target/network/supervisor.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
platform/target/network/supervisor.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
platform/target/network/supervisor.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotOS.Platform.Target.Network.Supervisor do @moduledoc """ Supervises the NetworkManager """ use Supervisor alias FarmbotOS.Platform.Target.Network def start_link(args) do Supervisor.start_link(__MODULE__, args, name: __MODULE__) end def init([]) do children = [ Network ...
18.52381
61
0.709512
2d684e5cfacba9cb023034e60d6830b68bf7220b
23,289
ex
Elixir
lib/phoenix_live_view/channel.ex
Nicd/phoenix_live_view
672a77913901dd7e005d214c32e6397791718cde
[ "MIT" ]
1
2020-10-23T15:17:10.000Z
2020-10-23T15:17:10.000Z
lib/phoenix_live_view/channel.ex
Nicd/phoenix_live_view
672a77913901dd7e005d214c32e6397791718cde
[ "MIT" ]
null
null
null
lib/phoenix_live_view/channel.ex
Nicd/phoenix_live_view
672a77913901dd7e005d214c32e6397791718cde
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Channel do @moduledoc false use GenServer, restart: :temporary require Logger alias Phoenix.LiveView.{Socket, Utils, Diff, Static} alias Phoenix.Socket.Message @prefix :phoenix # For backwards compatibility with Phoenix v1.4.x. # TODO: Remove once we depend on Phoenix v1.5...
30.562992
106
0.642063
2d68547b99dcbfacd557b00802a84638419d49e4
2,094
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__label_segment.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__label_segment.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__label_segment.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.9
179
0.751671