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
79ccb486776744e7c3ce917b91693b8216a77379
504
exs
Elixir
test/test_helper.exs
mark-d-holmberg/phoenix-active-link
ffc9131f28020e3abec03a4dff017667f833cc86
[ "MIT" ]
43
2016-04-16T10:36:04.000Z
2018-09-19T05:12:49.000Z
test/test_helper.exs
mark-d-holmberg/phoenix-active-link
ffc9131f28020e3abec03a4dff017667f833cc86
[ "MIT" ]
10
2019-02-14T09:19:19.000Z
2021-12-28T14:57:32.000Z
test/test_helper.exs
mark-d-holmberg/phoenix-active-link
ffc9131f28020e3abec03a4dff017667f833cc86
[ "MIT" ]
15
2019-03-19T18:27:47.000Z
2021-11-13T08:33:27.000Z
ExUnit.start() defmodule TestHelpers do def conn(opts \\ []) do %Plug.Conn{} |> Map.put(:private, make_private(opts)) |> Map.put(:request_path, opts[:path]) |> Map.put(:query_string, opts[:query_string] || "") end defp make_private(opts) do cond do opts[:controller] -> %{phoenix_contro...
26.526316
98
0.626984
79ccd3ee8651d51b7b3e6a6c0ae15f37954bcf6c
2,235
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_bucket.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_bucket.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_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 "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...
41.388889
180
0.756152
79ccd86e15a7b902656978d185febf9242cfce2a
629
ex
Elixir
resistor-color/lib/resistor_color.ex
okaram/exercism-elixir
66429a50738a16da5d352ad4455a483622625949
[ "Unlicense" ]
null
null
null
resistor-color/lib/resistor_color.ex
okaram/exercism-elixir
66429a50738a16da5d352ad4455a483622625949
[ "Unlicense" ]
null
null
null
resistor-color/lib/resistor_color.ex
okaram/exercism-elixir
66429a50738a16da5d352ad4455a483622625949
[ "Unlicense" ]
null
null
null
defmodule ResistorColor do @doc """ Return the value of a color band """ @spec code(atom) :: integer() def code(:black) do 0 end def code(:brown) do 1 end def code(:red) do 2 end def code(:orange) do 3 end def code(:yellow) do 4 end def code(:green) do 5 end def code(:blue) do 6 end def code(:v...
19.65625
34
0.54849
79ccd9553d19e48ba4b280b223f170fce4b6778f
18,909
ex
Elixir
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/api/debugger.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/api/debugger.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/api/debugger.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.232274
357
0.622455
79cce516ebb3c55eba088489e7487789f7423a55
1,242
exs
Elixir
test/particle/functions_test.exs
tompesman/particle-elixir
90226405b868f8e8ff308c84c34e88ea68a8570a
[ "MIT" ]
null
null
null
test/particle/functions_test.exs
tompesman/particle-elixir
90226405b868f8e8ff308c84c34e88ea68a8570a
[ "MIT" ]
null
null
null
test/particle/functions_test.exs
tompesman/particle-elixir
90226405b868f8e8ff308c84c34e88ea68a8570a
[ "MIT" ]
null
null
null
require IEx defmodule Particle.FunctionsTest do use ExUnit.Case use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney setup_all do ExVCR.Config.cassette_library_dir("fixture/vcr_cassettes/particle/functions") ExVCR.Config.filter_sensitive_data("Bearer .+", "TOKEN") ExVCR.Config.filter_sensitive_data("(.*)"...
34.5
123
0.65942
79cce8c912b0b465f20ad69acbea849d711df27d
2,601
exs
Elixir
mix.exs
GregMefford/nerves_system_rpi0_zbar
03e8e1a918309b60e25d149daeda88a2f995e1be
[ "Apache-2.0" ]
null
null
null
mix.exs
GregMefford/nerves_system_rpi0_zbar
03e8e1a918309b60e25d149daeda88a2f995e1be
[ "Apache-2.0" ]
null
null
null
mix.exs
GregMefford/nerves_system_rpi0_zbar
03e8e1a918309b60e25d149daeda88a2f995e1be
[ "Apache-2.0" ]
1
2018-09-04T23:53:58.000Z
2018-09-04T23:53:58.000Z
defmodule NervesSystemRpi0Zbar.MixProject do use Mix.Project @app :nerves_system_rpi0_zbar @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, version: @version, elixir: "~> 1.6", compilers: Mix.compilers() ++ [:...
22.617391
76
0.584006
79cd0b1f8b28548acfa130ddffcdc33ffc5209b5
498
ex
Elixir
apps/rayyan_site/lib/rayyan_site_web/views/error_view.ex
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
apps/rayyan_site/lib/rayyan_site_web/views/error_view.ex
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
apps/rayyan_site/lib/rayyan_site_web/views/error_view.ex
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
defmodule RayyanSiteWeb.ErrorView do use RayyanSiteWeb, :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...
27.666667
61
0.736948
79cd37dde95b83d96d87148bdf9546ef9336cfc7
1,538
ex
Elixir
test/support/data_case.ex
joseluis8906/platform
f1b4c49b5de60dd880f0075ec3020aef03c557af
[ "Apache-2.0" ]
null
null
null
test/support/data_case.ex
joseluis8906/platform
f1b4c49b5de60dd880f0075ec3020aef03c557af
[ "Apache-2.0" ]
1
2021-05-11T14:48:01.000Z
2021-05-11T14:48:01.000Z
test/support/data_case.ex
joseluis8906/platform
f1b4c49b5de60dd880f0075ec3020aef03c557af
[ "Apache-2.0" ]
null
null
null
defmodule Platform.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, we enable the SQL sandbox, so changes done to ...
27.464286
77
0.689857
79cd5cd883ada4a93fe2538b2b0a613115645c4b
14,795
ex
Elixir
lib/kino/control.ex
cristineguadelupe/kino
65348f632c5753d543cd16ff1357d06808b6a4a3
[ "Apache-2.0" ]
null
null
null
lib/kino/control.ex
cristineguadelupe/kino
65348f632c5753d543cd16ff1357d06808b6a4a3
[ "Apache-2.0" ]
null
null
null
lib/kino/control.ex
cristineguadelupe/kino
65348f632c5753d543cd16ff1357d06808b6a4a3
[ "Apache-2.0" ]
null
null
null
defmodule Kino.Control do @moduledoc """ Various widgets for user interactions. Each widget is a UI control element that the user interacts with, consequently producing an event stream. Those widgets are often useful paired with `Kino.Frame` for presenting content that changes upon user interactions. #...
28.784047
133
0.614059
79cd6f80c12f0dc49f3294f020ea2d3612b07db3
533
ex
Elixir
lib/flicks_web/views/error_view.ex
KTSCode/flicks-backend
e484b7a69cf24d7e474373c1ad627a3a4eaddbc6
[ "MIT" ]
null
null
null
lib/flicks_web/views/error_view.ex
KTSCode/flicks-backend
e484b7a69cf24d7e474373c1ad627a3a4eaddbc6
[ "MIT" ]
null
null
null
lib/flicks_web/views/error_view.ex
KTSCode/flicks-backend
e484b7a69cf24d7e474373c1ad627a3a4eaddbc6
[ "MIT" ]
null
null
null
defmodule FlicksWeb.ErrorView do use FlicksWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from ...
31.352941
83
0.718574
79ce0538ddfcdfb0912ca7515f5490881244d1b2
1,953
ex
Elixir
clients/people/lib/google_api/people/v1/model/contact_group_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/people/lib/google_api/people/v1/model/contact_group_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/people/lib/google_api/people/v1/model/contact_group_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.849057
112
0.727599
79ce39749f2da12ad9843462f9f62113e3dd5fae
1,763
ex
Elixir
packages/rlack/api/web/controllers/api/session_controller.ex
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
1
2017-04-08T20:08:05.000Z
2017-04-08T20:08:05.000Z
packages/rlack/api/web/controllers/api/session_controller.ex
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
null
null
null
packages/rlack/api/web/controllers/api/session_controller.ex
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
null
null
null
defmodule Rlack.SessionController do use Rlack.Web, :controller def create(conn, params) do case authenticate(params) do {:ok, user} -> new_conn = Guardian.Plug.api_sign_in(conn, user, :access) jwt = Guardian.Plug.current_token(new_conn) new_conn |> put_status(:created) ...
25.926471
78
0.617697
79ce4f9a0c33ba7ce060fd35da43e0313793cf78
3,841
ex
Elixir
lib/kirby_web/controllers/user_auth.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
lib/kirby_web/controllers/user_auth.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
lib/kirby_web/controllers/user_auth.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
defmodule KirbyWeb.UserAuth do @moduledoc """ UserAuth """ import Plug.Conn import Phoenix.Controller alias Kirby.Context.Accounts alias KirbyWeb.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 its...
27.633094
81
0.696954
79ce7fb38b7cc70ba1f36aee50b9f2f90282b507
2,414
ex
Elixir
test/support/mocks/schemas.ex
opsb/rolodex
0e814527a8f7ef04a50742752096655b07365888
[ "MIT" ]
36
2019-02-19T19:07:38.000Z
2022-02-23T18:14:31.000Z
test/support/mocks/schemas.ex
opsb/rolodex
0e814527a8f7ef04a50742752096655b07365888
[ "MIT" ]
4
2019-02-19T18:55:46.000Z
2019-05-03T18:45:53.000Z
test/support/mocks/schemas.ex
opsb/rolodex
0e814527a8f7ef04a50742752096655b07365888
[ "MIT" ]
3
2019-02-19T19:50:05.000Z
2020-11-20T11:26:57.000Z
defmodule Rolodex.Mocks.User do use Rolodex.Schema @configs [ private: :boolean, archived: :boolean, active: :boolean ] schema "User", desc: "A user record" do field(:id, :uuid, desc: "The id of the user", required: true) field(:email, :string, desc: "The email of the user", required: true...
20.457627
73
0.686413
79ce97030963df8d1a6bf5e248d4da7d24925bd2
119,689
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/api/projects.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...
49.417424
1,029
0.624911
79ceabeb81bc2123200ffa15759b4531f8b13ddc
425
exs
Elixir
test/couchdb_connector/as_json_test.exs
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
64
2016-01-20T17:48:05.000Z
2017-05-24T18:00:14.000Z
test/couchdb_connector/as_json_test.exs
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
40
2016-01-16T18:39:46.000Z
2017-06-03T10:02:54.000Z
test/couchdb_connector/as_json_test.exs
PinheiroRodrigo/couchdb_connector
464136ebe47049c5b3143bbd5f74977c82c9c621
[ "Apache-2.0" ]
22
2015-12-28T00:23:20.000Z
2017-05-28T21:58:21.000Z
defmodule Couchdb.Connector.AsJsonTest do use ExUnit.Case import Couchdb.Connector.AsJson test "as_json/1 with valid input should encode to JSON" do doc_map = %{"_id" => "foo", "_rev" => "1-0f97561a543ed2e9c98a24dea818ec10", "test_key" => "test_value"} encoded = as_json(doc_map) assert encoded == "...
32.692308
117
0.689412
79ceb4dfd78c5ca8df3972f2f51bcebda275abfb
6,445
ex
Elixir
clients/health_care/lib/google_api/health_care/v1/model/policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1/model/policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/health_care/lib/google_api/health_care/v1/model/policy.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...
115.089286
2,012
0.75128
79cec2ff2e96aad261148020d45515b71a560c50
4,874
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1beta1/model/google_api_servicecontrol_v1_http_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/private_ca/lib/google_api/private_ca/v1beta1/model/google_api_servicecontrol_v1_http_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/private_ca/lib/google_api/private_ca/v1beta1/model/google_api_servicecontrol_v1_http_request.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...
53.56044
231
0.685269
79ceef1bf026cb42636cff296d6d3c42a6f68a40
1,225
exs
Elixir
bootstrap/templates/new/mix.exs
tverlaan/nerves
515b9b7730a1b2934ac051b0e7075cd7987b6c4a
[ "Apache-2.0" ]
null
null
null
bootstrap/templates/new/mix.exs
tverlaan/nerves
515b9b7730a1b2934ac051b0e7075cd7987b6c4a
[ "Apache-2.0" ]
null
null
null
bootstrap/templates/new/mix.exs
tverlaan/nerves
515b9b7730a1b2934ac051b0e7075cd7987b6c4a
[ "Apache-2.0" ]
null
null
null
defmodule <%= application_module %>.Mixfile do use Mix.Project @target System.get_env("NERVES_TARGET") || "<%= default_target %>" def project do [app: :<%= application_name %>, version: "0.1.0", target: @target, archives: [nerves_bootstrap: "~> <%= bootstrap_vsn %>"], <%= if in_umbrella ...
25.520833
68
0.582857
79cf0956ec82453f19812a8db03c91d764141610
1,018
ex
Elixir
lib/zaryn/application.ex
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
4
2021-05-29T11:22:36.000Z
2022-02-09T11:26:39.000Z
lib/zaryn/application.ex
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
2
2021-06-17T13:32:39.000Z
2022-02-09T11:26:02.000Z
lib/zaryn/application.ex
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
1
2021-06-04T14:27:20.000Z
2021-06-04T14:27:20.000Z
defmodule Zaryn.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Start the Ecto repository Zaryn.Repo, # Start the Telemetry supervisor ...
27.513514
63
0.694499
79cf0aceedfd13de069f7a540b8de9304beccef4
10,733
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/api/scores.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/scores.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/scores.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...
41.122605
185
0.6944
79cf0bd3b73a6881674a04d79efef33834466f25
861
exs
Elixir
deps/phoenix_live_reload/mix.exs
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
deps/phoenix_live_reload/mix.exs
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
deps/phoenix_live_reload/mix.exs
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
defmodule PhoenixLiveReload.Mixfile do use Mix.Project @version "1.0.1" def project do [app: :phoenix_live_reload, version: @version, elixir: "~> 1.0.2 or ~> 1.1-dev", deps: deps, # Hex description: "Provides live-reload functionality for Phoenix", package: package, # Do...
22.657895
85
0.599303
79cf1d3d5cc2f1e6decb01c5a01b8a92188c9489
1,762
exs
Elixir
mix.exs
d-led/d-zen
25aec2d78e3053df055c0be9cdfac5673dc94f0f
[ "Unlicense" ]
null
null
null
mix.exs
d-led/d-zen
25aec2d78e3053df055c0be9cdfac5673dc94f0f
[ "Unlicense" ]
null
null
null
mix.exs
d-led/d-zen
25aec2d78e3053df055c0be9cdfac5673dc94f0f
[ "Unlicense" ]
null
null
null
defmodule Dzen.MixProject do use Mix.Project def project do [ app: :dzen, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps()...
26.298507
84
0.564132
79cf7fa95775d441456587c168f2d9063affdca9
1,584
ex
Elixir
server/web/controllers/team_controller.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
null
null
null
server/web/controllers/team_controller.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
3
2016-04-18T18:09:21.000Z
2016-04-25T07:29:59.000Z
server/web/controllers/team_controller.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
null
null
null
defmodule TrelloBurndown.TeamController do use TrelloBurndown.Web, :controller alias TrelloBurndown.Team def index(conn, _params) do teams = Repo.all(from p in Team, preload: [:team_members]) render(conn, "index.json", teams: teams) end def create(conn, team_params) do changeset = Team.changese...
27.310345
83
0.625
79cfc6277e3c01ca1361ba8d9fd8c04a6b7ab73e
277
exs
Elixir
test/goals_test.exs
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
null
null
null
test/goals_test.exs
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
70
2020-01-07T01:21:38.000Z
2021-06-18T02:57:39.000Z
test/goals_test.exs
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
null
null
null
defmodule TestGoals do use ExUnit.Case defp testing(a, b, c, e) do ac = Goals.goals(a, b, c) assert ac == e, "Given numbers #{a}, #{b}, and #{c}: Expected #{e}, got #{ac}" end test "fixed tests" do testing(0, 0, 0, 0) testing(43, 10, 5, 58) end end
19.785714
82
0.563177
79cff7d55c88cede177d2d1c51a36dd44e0d6c7f
938
ex
Elixir
test/support/channel_case.ex
sickill/flash
8797cb00b70c94b6f3bdd51e9cb456483f1c5741
[ "Apache-2.0" ]
1
2021-09-08T16:56:39.000Z
2021-09-08T16:56:39.000Z
test/support/channel_case.ex
sickill/flash
8797cb00b70c94b6f3bdd51e9cb456483f1c5741
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
sickill/flash
8797cb00b70c94b6f3bdd51e9cb456483f1c5741
[ "Apache-2.0" ]
null
null
null
defmodule FlashWeb.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 wit...
26.8
62
0.736674
79d020e53ffd51a794f425b8faca4e7fa00e27ed
13,795
ex
Elixir
lib/tds/tokens.ex
pressrelations/tds
a05120c6064b9561860695242ebff37037f01165
[ "Apache-2.0" ]
null
null
null
lib/tds/tokens.ex
pressrelations/tds
a05120c6064b9561860695242ebff37037f01165
[ "Apache-2.0" ]
null
null
null
lib/tds/tokens.ex
pressrelations/tds
a05120c6064b9561860695242ebff37037f01165
[ "Apache-2.0" ]
null
null
null
defmodule Tds.Tokens do import Tds.BinaryUtils import Tds.Utils require Logger alias Tds.Types # 0x79 @tds_token_returnstatus 0x79 # 0x81 @tds_token_colmetadata 0x81 # 0xA9 @tds_token_order 0xA9 # 0xAA @tds_token_error 0xAA # 0xAB @tds_token_info 0xAB @tds_token_returnvalue 0xAC @tds_...
24.415929
81
0.542443
79d040689b45ac0fb72766bbcdc92d9ed4b116ec
126
ex
Elixir
apps/web/lib/web/controllers/page_controller.ex
alejandrodnm/ranking_poller
f7d231e928f1c467bfbffd8bab2b6947bdb0b87a
[ "MIT" ]
2
2019-03-22T12:29:37.000Z
2021-01-08T17:25:32.000Z
lib/web/controllers/page_controller.ex
oestrich/raisin
7a0cf13768a8e59b023f8e940c73e7c7eeff18e8
[ "MIT" ]
8
2017-12-04T16:53:35.000Z
2018-04-08T11:01:46.000Z
apps/web/lib/web/controllers/page_controller.ex
friendshipismagic/Hekateros
0d340b6818583e2e65b0395227c9bb91796e5f89
[ "MIT" ]
null
null
null
defmodule Web.PageController do use Web, :controller def index(conn, _params) do render conn, "index.html" end end
15.75
31
0.714286
79d074b451eb301a8537f8ce7ca26ce0bb70ed8d
3,379
ex
Elixir
lib/elixir/lib/task/supervised.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/lib/task/supervised.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task/supervised.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
defmodule Task.Supervised do @moduledoc false def start(info, fun) do {:ok, :proc_lib.spawn(__MODULE__, :noreply, [info, fun])} end def start_link(info, fun) do {:ok, :proc_lib.spawn_link(__MODULE__, :noreply, [info, fun])} end def start_link(caller, info, fun) do :proc_lib.start_link(__MODUL...
30.169643
95
0.624741
79d0b9aca69c3de7d9f305d30f3fc9b2ac17c7e5
2,259
exs
Elixir
mix.exs
donatienLef/api
d3fedb3fc4943221dd3fbdf2bb2348a41a42b614
[ "MIT" ]
null
null
null
mix.exs
donatienLef/api
d3fedb3fc4943221dd3fbdf2bb2348a41a42b614
[ "MIT" ]
null
null
null
mix.exs
donatienLef/api
d3fedb3fc4943221dd3fbdf2bb2348a41a42b614
[ "MIT" ]
1
2020-03-17T20:31:21.000Z
2020-03-17T20:31:21.000Z
defmodule RealWorld.Mixfile do use Mix.Project def project do [ app: :real_world, version: "0.0.1", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
30.945205
96
0.582116
79d0c7e7a1054bb25e661f4f569ab88a1088952f
1,768
exs
Elixir
clients/cloud_trace/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
26.38806
102
0.648756
79d11bfb3fdf306bff9360250d88ae2bcbb8e031
1,131
exs
Elixir
bench/section_block_access_all_bench.exs
McEx/chunk-ex
f0307629efb7e64ddb07612926c1fb5fcc615183
[ "MIT" ]
4
2016-06-16T23:26:11.000Z
2021-07-08T12:05:06.000Z
bench/section_block_access_all_bench.exs
Gjum/chunk-ex
f0307629efb7e64ddb07612926c1fb5fcc615183
[ "MIT" ]
null
null
null
bench/section_block_access_all_bench.exs
Gjum/chunk-ex
f0307629efb7e64ddb07612926c1fb5fcc615183
[ "MIT" ]
3
2016-04-09T21:06:01.000Z
2021-07-27T13:39:51.000Z
defmodule McChunk.Bench.SectionBlockAccessAll do use Benchfella alias McChunk.Section defp build_section(palette_len) do Section.new_with_palette(for i <- 1..palette_len, do: i) end bench "Section.get_block (1 bit, all indices)", [section: build_section(2)], do: for index <- 0..4095, do: Section...
33.264706
70
0.683466
79d11c6428d27f051ebb62da40f4871741db250a
994
ex
Elixir
apps/core/test/support/il_factories/register_factory.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/test/support/il_factories/register_factory.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/test/support/il_factories/register_factory.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.ILFactories.RegisterFactory do @moduledoc false defmacro __using__(_opts) do quote do def register_factory do uuid = Ecto.UUID.generate() %Core.Registers.Register{ qty: %{ total: 0, errors: 0, not_found: 0, processi...
24.85
55
0.557344
79d14463dc06b7a20a92101ef256901ea0ce0bfd
7,793
exs
Elixir
components/notifications-service/server/test/formatters/servicenow_test.exs
MsysTechnologiesllc/automate
633e3efe43c3e8da808a120381448198282b7c0b
[ "Apache-2.0" ]
4
2019-10-24T05:59:51.000Z
2021-08-16T15:17:27.000Z
components/notifications-service/server/test/formatters/servicenow_test.exs
MsysTechnologiesllc/automate
633e3efe43c3e8da808a120381448198282b7c0b
[ "Apache-2.0" ]
null
null
null
components/notifications-service/server/test/formatters/servicenow_test.exs
MsysTechnologiesllc/automate
633e3efe43c3e8da808a120381448198282b7c0b
[ "Apache-2.0" ]
null
null
null
defmodule Notifications.Formatters.ServiceNow.Test do use ExUnit.Case, async: false doctest Notifications.Formatters.ServiceNow alias Notifications.Formatters.ServiceNow describe "#format" do test "that a populated CCR notification creates the correct webhook paylaod" do exception_backtrace = [ ...
80.340206
454
0.679328
79d14bb71787d8f017b102e85b807dcbb583f51e
1,105
ex
Elixir
lib/mix_test_watch.ex
mnishiguchi/mix-test.watch
275fb0dffd49c72ee040a0b84234b8ec3f25c19c
[ "MIT" ]
null
null
null
lib/mix_test_watch.ex
mnishiguchi/mix-test.watch
275fb0dffd49c72ee040a0b84234b8ec3f25c19c
[ "MIT" ]
null
null
null
lib/mix_test_watch.ex
mnishiguchi/mix-test.watch
275fb0dffd49c72ee040a0b84234b8ec3f25c19c
[ "MIT" ]
null
null
null
defmodule MixTestWatch do @moduledoc """ Automatically run your Elixir project's tests each time you save a file. Because TDD is awesome. """ use Application alias MixTestWatch.Watcher # # Public interface # @spec run([String.t()]) :: no_return def run(args \\ []) when is_list(args) do Mix....
20.462963
79
0.676018
79d164308f92b3e80be7b3c3c61c1f60f53fe438
118
exs
Elixir
config/config.exs
maynewong/estuary
49158372a2ff1a93ec72166f7aaa83ff79973184
[ "MIT" ]
null
null
null
config/config.exs
maynewong/estuary
49158372a2ff1a93ec72166f7aaa83ff79973184
[ "MIT" ]
null
null
null
config/config.exs
maynewong/estuary
49158372a2ff1a93ec72166f7aaa83ff79973184
[ "MIT" ]
null
null
null
import Config config :estuary, slack_webhooks: "", time_interval: 4*60*60 import_config "#{Mix.env()}.secret.exs"
14.75
39
0.720339
79d169b70df1ac7b5094147c4137393e13c13105
5,368
ex
Elixir
lib/mix/triplex.ex
anamba/triplex
cdb16cc29b9fc100cde07f09a9e0cec7d07aab7d
[ "MIT" ]
null
null
null
lib/mix/triplex.ex
anamba/triplex
cdb16cc29b9fc100cde07f09a9e0cec7d07aab7d
[ "MIT" ]
null
null
null
lib/mix/triplex.ex
anamba/triplex
cdb16cc29b9fc100cde07f09a9e0cec7d07aab7d
[ "MIT" ]
null
null
null
defmodule Mix.Triplex do @moduledoc """ Useful functions for any triplex mix task. Here is the list of tasks we have for now: - [`mix triplex.gen.migration`](./Mix.Tasks.Triplex.Gen.Migration.html) - generates a tenant migration for the repo - [`mix triplex.migrate`](./Mix.Tasks.Triplex.Migrate.html) - ...
28.252632
97
0.657787
79d1786bebef5587b73248903c003fc958c086cd
1,838
ex
Elixir
elixirpay/lib/elixirpay_web.ex
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "MIT" ]
null
null
null
elixirpay/lib/elixirpay_web.ex
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "MIT" ]
null
null
null
elixirpay/lib/elixirpay_web.ex
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "MIT" ]
null
null
null
defmodule ElixirpayWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use ElixirpayWeb, :controller use ElixirpayWeb, :view The definitions below will be executed for every view, contro...
23.265823
76
0.692057
79d17977d4d0662f3e38d915408746593473c536
1,493
ex
Elixir
apps/ema/lib/ema/recipe.ex
hoyon/skye
50a25a55bb0c38460a0bd204c8d0ce716da9f017
[ "MIT" ]
null
null
null
apps/ema/lib/ema/recipe.ex
hoyon/skye
50a25a55bb0c38460a0bd204c8d0ce716da9f017
[ "MIT" ]
null
null
null
apps/ema/lib/ema/recipe.ex
hoyon/skye
50a25a55bb0c38460a0bd204c8d0ce716da9f017
[ "MIT" ]
null
null
null
defmodule Ema.Recipe do defstruct steps: [], state: %{} alias Ema.Template def run(%__MODULE__{} = recipe, inputs \\ %{}) when is_map(inputs) do recipe = Map.put(recipe, :state, inputs) case run_steps(recipe) do {:error, error} -> {:error, error} result -> {:ok, result} ...
23.328125
71
0.572003
79d18953adb01ea4bcbfea4b7ccf75eb90bed394
1,065
ex
Elixir
lib/reserva_web/channels/user_socket.ex
AminArria/reserva
13faef72927aeb84d456f080d65249b8ef50180e
[ "MIT" ]
null
null
null
lib/reserva_web/channels/user_socket.ex
AminArria/reserva
13faef72927aeb84d456f080d65249b8ef50180e
[ "MIT" ]
2
2021-03-09T00:49:12.000Z
2021-05-08T03:13:05.000Z
lib/reserva_web/channels/user_socket.ex
AminArria/reserva
13faef72927aeb84d456f080d65249b8ef50180e
[ "MIT" ]
null
null
null
defmodule ReservaWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ReservaWeb.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 channe...
31.323529
83
0.696714
79d1d94f29b00982186c0fd1ef0c7585cf685748
3,009
ex
Elixir
lib/event_store/storage.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
lib/event_store/storage.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
lib/event_store/storage.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
defmodule EventStore.Storage do @moduledoc false alias EventStore.Snapshots.SnapshotData alias EventStore.Storage.{ Appender, CreateStream, QueryStreamInfo, Reader, Snapshot, Subscription } @doc """ Create a new event stream with the given unique identifier. """ def create_str...
29.213592
94
0.708209
79d1de26df244446d894af26c02bcbf23b36467f
117
ex
Elixir
apps/neoscan_web/lib/neoscan_web/views/asset_view.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_web/lib/neoscan_web/views/asset_view.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_web/lib/neoscan_web/views/asset_view.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanWeb.AssetView do use NeoscanWeb, :view import Number.Delimit import NeoscanWeb.CommonView end
19.5
33
0.811966
79d205f0e047d4142b0e4e7faf15b75eb57fce6d
3,256
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/config_change.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/config_change.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/config_change.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...
53.377049
615
0.741708
79d2867968b1fa91e654b12960bcab0e15466fa9
481
exs
Elixir
priv/repo/migrations/20211104204126_create_formulas.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
priv/repo/migrations/20211104204126_create_formulas.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
4
2021-12-07T12:26:50.000Z
2021-12-30T14:17:25.000Z
priv/repo/migrations/20211104204126_create_formulas.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
defmodule AdaptableCostsEvaluator.Repo.Migrations.CreateFormulas do use Ecto.Migration def change do create table(:formulas) do add :name, :string, null: false add :label, :string, null: false add :definition, :text add :computation_id, references(:computations, on_delete: :delete_all),...
26.722222
89
0.698545
79d289d6e9483c43f38e43f9e4833b98dc603798
2,634
ex
Elixir
lib/cushion.ex
blandinw/homelander
05d7aff6c7b8f65a95dbc525a687e915bde7d7de
[ "Apache-2.0" ]
23
2020-10-24T16:02:37.000Z
2021-01-20T04:07:06.000Z
lib/cushion.ex
blandinw/homelander
05d7aff6c7b8f65a95dbc525a687e915bde7d7de
[ "Apache-2.0" ]
null
null
null
lib/cushion.ex
blandinw/homelander
05d7aff6c7b8f65a95dbc525a687e915bde7d7de
[ "Apache-2.0" ]
null
null
null
defmodule Homelander.Cushion do use GenServer @max_wait_ms 60_000 def start_link(m, a, counter_name, cooldown, options) do GenServer.start_link(__MODULE__, [m, a, counter_name, cooldown], options) end def compute_cooldown(:default, reason, count, started_at) do case reason do :normal -> ...
22.512821
81
0.612377
79d2a3506f032d490ad20a0593cacf15b28456f9
1,944
ex
Elixir
lib/booklist_web/controllers/loan_controller.ex
allen-garvey/booklist-phoenix
b3c87713d742b64684c222cd3e5869dc9fbd2bd2
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/booklist/lib/booklist_web/controllers/loan_controller.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
lib/booklist_web/controllers/loan_controller.ex
allen-garvey/booklist-phoenix
b3c87713d742b64684c222cd3e5869dc9fbd2bd2
[ "MIT" ]
null
null
null
defmodule BooklistWeb.LoanController do use BooklistWeb, :controller alias Booklist.Admin alias Booklist.Admin.Loan def related_fields() do [ libraries: Admin.list_libraries() |> BooklistWeb.LibraryView.map_for_form, ] end def index(conn, _params) do loans = Admin.list_loans() rende...
27.771429
89
0.624486
79d2a6b391e3673f5a86825cf5aa3805c5773465
1,701
ex
Elixir
lib/desktop_url_file.ex
san650/desktop_url_file
733528833cd7691441f010eccef3c31494738cd9
[ "MIT" ]
4
2018-07-25T00:30:44.000Z
2018-07-25T13:12:35.000Z
lib/desktop_url_file.ex
san650/desktop_url_file
733528833cd7691441f010eccef3c31494738cd9
[ "MIT" ]
null
null
null
lib/desktop_url_file.ex
san650/desktop_url_file
733528833cd7691441f010eccef3c31494738cd9
[ "MIT" ]
null
null
null
defmodule DesktopUrlFile do @moduledoc """ Generate `.url` files for Windows and OSX desktops. These type of files are used to create hyperlinks in the desktop to open a web page. """ @doc """ Return the content of a valid `.url` file ## Examples iex> DesktopUrlFile.make("https://github.com/deskt...
24.3
128
0.616696
79d2c6cf72a0e659bf7d7674fcb3a5d22ef5e25c
2,430
ex
Elixir
installer/templates/phx_single/lib/app_name_web.ex
GregMefford/phoenix
b48bd80918ebbffe3b33a4c57be49703a1f806ae
[ "MIT" ]
null
null
null
installer/templates/phx_single/lib/app_name_web.ex
GregMefford/phoenix
b48bd80918ebbffe3b33a4c57be49703a1f806ae
[ "MIT" ]
null
null
null
installer/templates/phx_single/lib/app_name_web.ex
GregMefford/phoenix
b48bd80918ebbffe3b33a4c57be49703a1f806ae
[ "MIT" ]
null
null
null
defmodule <%= web_namespace %> do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use <%= web_namespace %>, :controller use <%= web_namespace %>, :view The definitions below will be executed ...
24.795918
83
0.646091
79d3264b77c4b03e3f9ae33858cf888861eef7a6
874
ex
Elixir
clients/file/lib/google_api/file/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/file/lib/google_api/file/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 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.37037
74
0.756293
79d3331d8794f846729718dc4381e4b28c8136f5
1,540
exs
Elixir
mix.exs
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
mix.exs
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
mix.exs
apodlaski/verk_web
91c544b1f792f929e06f18e26b964e23a5771a8a
[ "MIT" ]
null
null
null
defmodule VerkWeb.Mixfile do use Mix.Project @description """ A Verk dashboard """ def project do [ app: :verk_web, version: "1.6.0", elixir: "~> 1.11", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), build_embedded: Mix....
24.444444
69
0.507143
79d3a17b22ccb36d597bd4e880605ebcaf609f04
239
ex
Elixir
lib/phone/es/lo.ex
ajmath/phone
0c7c7033ea93d028d3bd2a9e445d3aa93a6bc2fa
[ "Apache-2.0" ]
null
null
null
lib/phone/es/lo.ex
ajmath/phone
0c7c7033ea93d028d3bd2a9e445d3aa93a6bc2fa
[ "Apache-2.0" ]
null
null
null
lib/phone/es/lo.ex
ajmath/phone
0c7c7033ea93d028d3bd2a9e445d3aa93a6bc2fa
[ "Apache-2.0" ]
null
null
null
defmodule Phone.ES.LO do @moduledoc false use Helper.Area def regex, do: ~r/^(34)(941|841)(.{6})/ def area_name, do: "La Rioja" def area_type, do: "province" def area_abbreviation, do: "LO" matcher(["34941", "34841"]) end
18.384615
41
0.644351
79d3b26148e760590a19a7f2890a1ee5356712f4
553
ex
Elixir
template/$PROJECT_NAME$/lib/$PROJECT_NAME$_web/controllers/admin/pages_controller.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
3
2019-08-01T08:28:24.000Z
2019-08-18T14:50:32.000Z
template/$PROJECT_NAME$/lib/$PROJECT_NAME$_web/controllers/admin/pages_controller.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
3
2021-03-09T12:14:26.000Z
2022-02-10T18:46:15.000Z
template/$PROJECT_NAME$/lib/$PROJECT_NAME$_web/controllers/admin/pages_controller.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
null
null
null
defmodule <%= @project_name_camel_case %>Web.Admin.PagesController do use <%= @project_name_camel_case %>Web, :controller alias <%= @project_name_camel_case %>.Repo def index(conn, _params) do render(conn, "index.html", routes: Thesis.Page |> Repo.all) end def delete_page(conn, %{"route_id" => route_...
27.65
69
0.674503
79d3d6bec013028d287864a71516e216fba32ada
197
ex
Elixir
lib/cleanex.ex
data-maestro/cleanex
0db74ec267b15992130a5132f9dc34e4182638ea
[ "Apache-2.0" ]
null
null
null
lib/cleanex.ex
data-maestro/cleanex
0db74ec267b15992130a5132f9dc34e4182638ea
[ "Apache-2.0" ]
1
2018-01-11T11:34:38.000Z
2018-01-11T11:34:38.000Z
lib/cleanex.ex
data-craftsman/cleanex
0db74ec267b15992130a5132f9dc34e4182638ea
[ "Apache-2.0" ]
1
2018-01-11T11:30:05.000Z
2018-01-11T11:30:05.000Z
defmodule Cleanex do @moduledoc """ Documentation for Cleanex. """ @doc """ Hello world. ## Examples iex> Cleanex.hello :world """ def hello do :world end end
10.368421
28
0.568528
79d3e4f4713bab00f362114e2054c9bed4841280
1,125
exs
Elixir
src/config/config.exs
ArguShards/Helldev
f61d95f32c1336e8ac7e6f766eb7326411b0040a
[ "MIT" ]
null
null
null
src/config/config.exs
ArguShards/Helldev
f61d95f32c1336e8ac7e6f766eb7326411b0040a
[ "MIT" ]
null
null
null
src/config/config.exs
ArguShards/Helldev
f61d95f32c1336e8ac7e6f766eb7326411b0040a
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.290323
73
0.750222
79d3e9eb06a27a9e26d7082139229d54a05acbc4
1,117
exs
Elixir
elixir/config/config.exs
vlamy/lcd
fdcd38709e7d2837e186a9e618e69da84f3128b1
[ "MIT" ]
null
null
null
elixir/config/config.exs
vlamy/lcd
fdcd38709e7d2837e186a9e618e69da84f3128b1
[ "MIT" ]
null
null
null
elixir/config/config.exs
vlamy/lcd
fdcd38709e7d2837e186a9e618e69da84f3128b1
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.748433
79d45c953f9df82058f1a94983c99178440ad6b6
1,288
ex
Elixir
lib/pdf_maker_web/endpoint.ex
avvo/pdf_maker
e5e074274a2b398d51c063a5acd800ef6356502f
[ "MIT" ]
2
2019-01-31T12:42:23.000Z
2019-10-09T19:34:44.000Z
lib/pdf_maker_web/endpoint.ex
avvo/pdf_maker
e5e074274a2b398d51c063a5acd800ef6356502f
[ "MIT" ]
1
2020-05-20T09:36:32.000Z
2020-05-20T09:36:32.000Z
lib/pdf_maker_web/endpoint.ex
avvo/pdf_maker
e5e074274a2b398d51c063a5acd800ef6356502f
[ "MIT" ]
1
2019-01-30T19:40:02.000Z
2019-01-30T19:40:02.000Z
defmodule PdfMakerWeb.Endpoint do use Phoenix.Endpoint, otp_app: :pdf_maker socket "/socket", PdfMakerWeb.UserSocket, websocket: true, longpoll: false plug CORSPlug # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when...
26.285714
69
0.71118
79d46aa6e821fb4021a7e5874c6432c32120ec4d
3,208
ex
Elixir
lib/aws/generated/amp.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/amp.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/amp.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Amp do @moduledoc """ Amazon Managed Service for Prometheus """ alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadata{ abbreviation: nil, api_versio...
19.442424
87
0.565773
79d47523f1cd0e5ca3bfb09f61b835634584ae6b
47,123
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/subnetworks.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/subnetworks.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/api/subnetworks.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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...
52.184939
583
0.64911
79d497eb1b58c90530798f8ac9d7278662f7b738
3,376
exs
Elixir
priv/repo/migrations/20190215192101_database.exs
HoffsMH/slax
b91ee30b9fd71a4cb7826f50b605ce580b7c1651
[ "MIT" ]
null
null
null
priv/repo/migrations/20190215192101_database.exs
HoffsMH/slax
b91ee30b9fd71a4cb7826f50b605ce580b7c1651
[ "MIT" ]
null
null
null
priv/repo/migrations/20190215192101_database.exs
HoffsMH/slax
b91ee30b9fd71a4cb7826f50b605ce580b7c1651
[ "MIT" ]
null
null
null
defmodule Slax.Repo.Migrations.Database do use Ecto.Migration def change do create_if_not_exists table(:estimates) do add(:user, :string) add(:value, :integer) add(:round_id, :integer) add(:created_at, :utc_datetime, null: false) add(:updated_at, :utc_datetime, null: false) ...
32.461538
98
0.663507
79d4cb0370b947bed90d0ed43dbe8e15debb1da2
173
ex
Elixir
lib/searchex/archive/async_app.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
91
2016-11-22T23:52:01.000Z
2022-02-12T13:06:24.000Z
lib/searchex/archive/async_app.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
11
2016-11-23T17:37:57.000Z
2018-03-07T13:40:48.000Z
lib/searchex/archive/async_app.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
9
2016-11-24T01:44:40.000Z
2020-05-15T04:16:19.000Z
# defmodule Searchex.AsyncApp do # use Application # # def start(_type, _args) do # AsyncSup.start_link() # end # # def stop(_state) do # :ok # end # end
14.416667
32
0.606936
79d4ec28f601f293fd2e81f7a5556bd10a4fd8c3
802
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/40.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/40.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/40.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** noun cm adjective noun cm; noun cm noun verb cm; noun cm noun verb cm; noun cm cardinal noun cm; noun cm noun verb cm; noun cm noun verb cm; noun cm adjective noun cm; pn pn verb conj cm; pnoun cm adjective noun cm; pnoun cm verb cm cm; noun cm verb verb_aux adjective; pnoun cm verb cm adj...
25.0625
33
0.738155
79d4eeb7f321da86fb8f0c06f4777c9bcdb61d10
3,889
ex
Elixir
lib/telegraph/behaviour.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
1
2022-03-14T18:00:31.000Z
2022-03-14T18:00:31.000Z
lib/telegraph/behaviour.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
2
2022-03-16T20:49:13.000Z
2022-03-23T22:08:48.000Z
lib/telegraph/behaviour.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
null
null
null
defmodule Telegraph.Behaviour do alias Telegraph.Model.{User, Message, Update, UserProfilePhotos, File, Error} @callback get_me :: {:ok, User.t()} | {:error, Error.t()} @callback send_message(integer, binary, [{atom, any}]) :: {:ok, Message.t()} | {:error, Error.t()} @callback forward_message(int...
59.830769
98
0.576498
79d521eca3d5239b541b33107261a767fdb0ee68
2,491
exs
Elixir
test/update_and_describe_table_test.exs
kianmeng/ex_aliyun_ots
554da4a80b7d59640f1b8aed75c2ff81678f0c4d
[ "MIT" ]
null
null
null
test/update_and_describe_table_test.exs
kianmeng/ex_aliyun_ots
554da4a80b7d59640f1b8aed75c2ff81678f0c4d
[ "MIT" ]
null
null
null
test/update_and_describe_table_test.exs
kianmeng/ex_aliyun_ots
554da4a80b7d59640f1b8aed75c2ff81678f0c4d
[ "MIT" ]
null
null
null
defmodule ExAliyunOtsTest.UpdateAndDescribeTable do use ExUnit.Case require Logger alias ExAliyunOts.Var alias ExAliyunOts.Const.{PKType, OperationType, ReturnType, RowExistence} require PKType require OperationType require ReturnType require RowExistence @instance_key EDCEXTestInstance test "cr...
34.597222
178
0.737455
79d52e064da7d01ec07fee98638104c3499e2338
1,494
ex
Elixir
lib/api/graphql/ecto.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
1
2017-09-10T23:51:40.000Z
2017-09-10T23:51:40.000Z
lib/api/graphql/ecto.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
24
2018-03-14T18:17:00.000Z
2021-03-01T07:47:53.000Z
lib/api/graphql/ecto.ex
portosummerofcode/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
null
null
null
defmodule Api.GraphQL.EctoExtensions do import Ecto.Query alias Ecto.Queryable defp string_in_atoms(source, target, _ex_args) do if target not in Enum.map(source, &to_string/1) do # raise Exception, ex_args raise "Graphql.EctoExtensions computer says no" end String.to_existing_atom(targe...
23.34375
69
0.546854
79d55cdf5d68aef4c270b6b7c9b03509326ad5b3
2,584
ex
Elixir
lib/new_relic/harvest/collector/transaction_error_event/harvester.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
lib/new_relic/harvest/collector/transaction_error_event/harvester.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
lib/new_relic/harvest/collector/transaction_error_event/harvester.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
defmodule NewRelic.Harvest.Collector.TransactionErrorEvent.Harvester do use GenServer @moduledoc false alias NewRelic.Harvest alias NewRelic.Harvest.Collector alias NewRelic.Error.Event def start_link(_) do GenServer.start_link(__MODULE__, []) end def init(_) do {:ok, %{ start_ti...
27.2
95
0.684985
79d577d418a70a0ec0701d3370a85dfda93bfe70
56
ex
Elixir
testData/org/elixir_lang/parser_definition/no_parentheses_many_arguments_call_parsing_test_case/PositionalAtom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/no_parentheses_many_arguments_call_parsing_test_case/PositionalAtom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/no_parentheses_many_arguments_call_parsing_test_case/PositionalAtom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
identifier :atom, first_keyword_key: first_keyword_value
56
56
0.892857
79d58527aab315c343c75799ba91216141856cbc
17,846
exs
Elixir
test/meeseeks/selector/xpath/parser_test.exs
mischov/meeseeks
74f84010252da3298f8c74e90fdee1ab9ad6d700
[ "Apache-2.0", "MIT" ]
291
2017-03-27T15:53:36.000Z
2022-03-14T23:01:42.000Z
test/meeseeks/selector/xpath/parser_test.exs
mischov/meeseeks
74f84010252da3298f8c74e90fdee1ab9ad6d700
[ "Apache-2.0", "MIT" ]
70
2017-03-30T23:32:34.000Z
2021-06-27T06:26:28.000Z
test/meeseeks/selector/xpath/parser_test.exs
mischov/meeseeks
74f84010252da3298f8c74e90fdee1ab9ad6d700
[ "Apache-2.0", "MIT" ]
23
2017-06-18T10:29:04.000Z
2021-11-04T13:08:12.000Z
defmodule Meeseeks.Selector.XPath.ParserTest do use ExUnit.Case alias Meeseeks.Selector.{Combinator, XPath} alias Meeseeks.Selector.XPath.{Expr, Parser, Tokenizer} # abs test "root only" do tokens = Tokenizer.tokenize("/") assert_raise ErlangError, fn -> Parser.parse_expression(tokens) e...
25.029453
92
0.504035
79d58d4239a89a32a127c7afeffbea3673d260b9
4,384
ex
Elixir
lib/bypass.ex
getong/bypass
c4d18ab4a1ccd8a0b46828913f55ae3f147100c2
[ "MIT" ]
null
null
null
lib/bypass.ex
getong/bypass
c4d18ab4a1ccd8a0b46828913f55ae3f147100c2
[ "MIT" ]
null
null
null
lib/bypass.ex
getong/bypass
c4d18ab4a1ccd8a0b46828913f55ae3f147100c2
[ "MIT" ]
null
null
null
defmodule Bypass do @moduledoc """ Bypass provides a quick way to create a custom Plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests. This module is the main interface to the library. """ defstruct pid: nil, port: nil @typedoc """ Represen...
30.444444
94
0.666515
79d595a0849d060278c9563dbecc683a022961cb
1,593
ex
Elixir
lib/jit_jerky_web/live/shipping/address_live/form_component.ex
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
lib/jit_jerky_web/live/shipping/address_live/form_component.ex
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
lib/jit_jerky_web/live/shipping/address_live/form_component.ex
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
defmodule JITJerkyWeb.Shipping.AddressLive.FormComponent do use JITJerkyWeb, :live_component alias JITJerky.Shipping @impl true def update(%{address: address} = assigns, socket) do changeset = Shipping.change_address(address) {:ok, socket |> assign(assigns) |> assign(:changeset, change...
28.446429
75
0.659134
79d5a8c975742b31bf916124d67ce5aaaf96015a
1,495
ex
Elixir
test/support/layout_view.ex
vfsoraki/phoenix_live_view
1bb2b1b7ef9a90747d5dc1dc6d11c083a9369b38
[ "MIT" ]
null
null
null
test/support/layout_view.ex
vfsoraki/phoenix_live_view
1bb2b1b7ef9a90747d5dc1dc6d11c083a9369b38
[ "MIT" ]
null
null
null
test/support/layout_view.ex
vfsoraki/phoenix_live_view
1bb2b1b7ef9a90747d5dc1dc6d11c083a9369b38
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.LayoutView do use Phoenix.View, root: "" alias Phoenix.LiveViewTest.Router.Helpers, as: Routes import Phoenix.LiveView.Helpers def render("app.html", assigns) do # Assert those assigns are always available _ = assigns.live_module _ = assigns.live_action ["LAYOUT"...
25.775862
88
0.61806
79d5bcdb4a142b5be145ba0d8655b9f14c9d8f14
561
ex
Elixir
web/router.ex
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
1
2015-10-05T20:58:46.000Z
2015-10-05T20:58:46.000Z
web/router.ex
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
null
null
null
web/router.ex
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
null
null
null
defmodule PhoenixDokkuExample.Router do use PhoenixDokkuExample.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", P...
20.777778
57
0.700535
79d5db1b828c3e8252d44d21b36a7a9664a5daad
2,768
ex
Elixir
priv/perf/apps/load_test/lib/scenario/spend_eth_utxo.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/perf/apps/load_test/lib/scenario/spend_eth_utxo.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/perf/apps/load_test/lib/scenario/spend_eth_utxo.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.421053
118
0.732659
79d5e4323e665e9a6e710172d4ea1664d49982ae
3,774
ex
Elixir
lib/llp/characters/characters.ex
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
2
2019-01-02T11:02:59.000Z
2019-04-15T10:07:40.000Z
lib/llp/characters/characters.ex
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
null
null
null
lib/llp/characters/characters.ex
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
null
null
null
defmodule Llp.Characters do @moduledoc """ The Characters context. """ import Ecto.Query, warn: false alias Llp.Repo alias Llp.Characters.Radical @doc """ Returns the list of radicals. ## Examples iex> list_radicals() [%Radical{}, ...] """ def list_radicals do Repo.all(Radica...
17.154545
62
0.591415
79d5ebde54001a402b6140adabf069b278895cf2
87
ex
Elixir
lib/tint/din99/conversions/from_din99.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
14
2019-10-09T19:36:04.000Z
2022-01-28T12:00:56.000Z
lib/tint/din99/conversions/from_din99.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
null
null
null
lib/tint/din99/conversions/from_din99.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
null
null
null
defimpl Tint.DIN99.Convertible, for: Tint.DIN99 do def convert(color), do: color end
21.75
50
0.758621
79d6016c4f070b40384bcf846c60a791faf3eeb0
184
ex
Elixir
lib/kv.ex
mingderwang/kv
79b10f372509089a463e871e40ad84b1abaf9d6c
[ "MIT" ]
null
null
null
lib/kv.ex
mingderwang/kv
79b10f372509089a463e871e40ad84b1abaf9d6c
[ "MIT" ]
null
null
null
lib/kv.ex
mingderwang/kv
79b10f372509089a463e871e40ad84b1abaf9d6c
[ "MIT" ]
null
null
null
defmodule KV do @moduledoc """ Documentation for KV. """ @doc """ Hello world. ## Examples iex> KV.hello() :world """ def hello do :world end end
9.684211
23
0.527174
79d6667d273cbc33f12a7e5ca7e7101cc0715b75
608
exs
Elixir
test/web/views/error_view_test.exs
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
test/web/views/error_view_test.exs
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
test/web/views/error_view_test.exs
KZeillmann/MenuPlanner
56bd6afca8e321261720dc290f180f4944b8b483
[ "MIT" ]
null
null
null
defmodule MenuPlanner.Web.ErrorViewTest do use MenuPlanner.Web.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(MenuPlanner.Web.ErrorView, "404.html", []) == "Page not found" end te...
27.636364
73
0.689145
79d6825462330dcfd75191b16a5300107d624d94
583
exs
Elixir
plugins/ucc_chat/test/ucc_chat/web/views/error_view_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/test/ucc_chat/web/views/error_view_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/test/ucc_chat/web/views/error_view_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChatWeb.ErrorViewTest do use UccChatWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(UccChatWeb.ErrorView, "404.html", []) == "Page not found" end test "render 500....
26.5
68
0.684391
79d6a0901526ef66c59592886bf7b6a6282547c4
1,320
ex
Elixir
lib/policr_mini_bot/runner.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
null
null
null
lib/policr_mini_bot/runner.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
2
2022-02-25T06:15:30.000Z
2022-02-25T06:15:33.000Z
lib/policr_mini_bot/runner.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
null
null
null
defmodule PolicrMiniBot.Runner do @moduledoc """ 定时任务功能。 """ defmodule Job do @moduledoc false use TypedStruct typedstruct do field :name, String.t() field :name_text, String.t() field :schedule_text, String.t() field :next_run_datetime, NaiveDateTime.t() field :time...
24.90566
79
0.624242
79d6c4c242d1c5a1bd9b54ed39518c21b35dcb7f
240
exs
Elixir
test/tirexs/search/size_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
384
2015-03-09T05:03:42.000Z
2022-02-27T00:45:58.000Z
test/tirexs/search/size_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
144
2015-03-06T11:19:49.000Z
2021-06-11T11:26:39.000Z
test/tirexs/search/size_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
97
2015-03-21T13:58:38.000Z
2022-01-07T14:40:49.000Z
Code.require_file "../../../test_helper.exs", __ENV__.file defmodule Tirexs.Search.SizeTest do use ExUnit.Case import Tirexs.Search test "size" do size = size 10 expected = [size: 10] assert size == expected end end
16
58
0.670833
79d6d6f87cf52abab7521c95e984114bb0a5f165
5,514
exs
Elixir
lib/elixir/test/elixir/protocol/consolidation_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/protocol/consolidation_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/protocol/consolidation_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) path = Path.expand("../../ebin", __DIR__) File.mkdir_p!(path) files = Path.wildcard(PathHelpers.fixture_path("consolidation/*")) Kernel.ParallelCompiler.compile_to_path(files, path) defmodule Protocol.ConsolidationTest do use ExUnit.Case, asnyc: true alias Protoco...
31.508571
103
0.688429
79d6e2a546def62bf09c63a688a8f52b1c8fb612
1,063
ex
Elixir
lib/news/content/commands/title.ex
randomlabs/news
6aa200858bac69613af1de91420c6425f4517853
[ "MIT" ]
3
2015-08-12T20:45:57.000Z
2015-10-26T09:20:10.000Z
lib/news/content/commands/title.ex
randomlabs/news
6aa200858bac69613af1de91420c6425f4517853
[ "MIT" ]
15
2015-08-12T16:20:42.000Z
2015-10-12T16:12:15.000Z
lib/news/content/commands/title.ex
randomlabs/news
6aa200858bac69613af1de91420c6425f4517853
[ "MIT" ]
1
2015-08-20T17:43:10.000Z
2015-08-20T17:43:10.000Z
defmodule News.Content.Commands.Title do @behaviour News.Content.Commands.Behaviour def commands, do: ~w(title) def validate(changeset, context=%{module: News.Comment}, _, args) do unless News.Flag.on_model?(context.user, "admin") do Ecto.Changeset.add_error(changeset, :text, News.td("commands.title_f...
37.964286
85
0.699906
79d7c439e1aeb758ca4eb13bce3c149182143f3e
808
exs
Elixir
test/vector_test.exs
kianmeng/vector_ex
c89241b76c0d37f01e52e1e10ccea86fbdce4913
[ "MIT" ]
16
2016-03-29T11:44:45.000Z
2020-01-14T20:48:15.000Z
test/vector_test.exs
kianmeng/vector_ex
c89241b76c0d37f01e52e1e10ccea86fbdce4913
[ "MIT" ]
3
2019-02-28T02:17:01.000Z
2021-12-23T12:26:20.000Z
test/vector_test.exs
kianmeng/vector_ex
c89241b76c0d37f01e52e1e10ccea86fbdce4913
[ "MIT" ]
7
2017-04-28T17:25:17.000Z
2021-05-17T13:00:00.000Z
defmodule VectorTest do use ExUnit.Case, async: true import Vector doctest Vector test "basis vectors" do assert unit(basis(:x)) == basis(:x) assert unit(basis(:y)) == basis(:y) assert unit(basis(:z)) == basis(:z) assert dot(basis(:x), basis(:y)) == 0 assert dot(basis(:y), basis(:z)) == 0...
26.064516
48
0.563119
79d7de6ae9b5a3029a4c5b4e854b1a56007463ce
363
exs
Elixir
priv/repo/seeds.exs
obahareth/crypto-monitor
bd9e9f1e9627fad582329afe2c66e2de4c95768b
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
obahareth/crypto-monitor
bd9e9f1e9627fad582329afe2c66e2de4c95768b
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
obahareth/crypto-monitor
bd9e9f1e9627fad582329afe2c66e2de4c95768b
[ "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: # # CryptoMonitor.Repo.insert!(%CryptoMonitor.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) ...
30.25
61
0.716253
79d802dca5ab5c77d522fe371b13d90c9ad9d470
456
ex
Elixir
lib/ash_policy_authorizer/check/actor_attribute_has_any.ex
frankdugan3/ash_policy_authorizer
e3da0f69c34daea187597f9b1764f0756b0e3b9c
[ "MIT" ]
null
null
null
lib/ash_policy_authorizer/check/actor_attribute_has_any.ex
frankdugan3/ash_policy_authorizer
e3da0f69c34daea187597f9b1764f0756b0e3b9c
[ "MIT" ]
null
null
null
lib/ash_policy_authorizer/check/actor_attribute_has_any.ex
frankdugan3/ash_policy_authorizer
e3da0f69c34daea187597f9b1764f0756b0e3b9c
[ "MIT" ]
null
null
null
defmodule AshPolicyAuthorizer.Check.ActorAttributeHasAny do @moduledoc false use AshPolicyAuthorizer.SimpleCheck @impl true def describe(opts) do "actor.#{opts[:attribute]} has any of #{inspect(opts[:values])}" end @impl true def match?(nil, _, _), do: false def match?(actor, _context, opts) do ...
25.333333
74
0.671053
79d80382ccee121891be371fddb49d39e888b992
1,903
ex
Elixir
lib/koans/09_map_sets.ex
thaberl13/elixir-koans-1
e86e060621124dc331abb38d761d9653441673d7
[ "MIT" ]
1,944
2016-04-24T02:46:10.000Z
2022-03-29T00:19:17.000Z
lib/koans/09_map_sets.ex
thaberl13/elixir-koans-1
e86e060621124dc331abb38d761d9653441673d7
[ "MIT" ]
157
2016-04-23T18:40:24.000Z
2022-02-10T14:00:45.000Z
lib/koans/09_map_sets.ex
thaberl13/elixir-koans-1
e86e060621124dc331abb38d761d9653441673d7
[ "MIT" ]
636
2016-04-23T17:18:00.000Z
2022-03-23T10:04:06.000Z
defmodule MapSets do use Koans @intro "My name is Set, MapSet." @set MapSet.new([1, 2, 3, 4, 5]) koan "I do not allow duplication" do new_set = MapSet.new([1, 1, 2, 3, 3, 3]) assert MapSet.size(new_set) == ___ end def sorted?(set) do list = MapSet.to_list(set) sorted = Enum.sort(list) ...
24.714286
85
0.648975
79d808ebce1d7f8f13badc70e64be807a61a17d8
315
exs
Elixir
v02/ch14/case2.edit2.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/ch14/case2.edit2.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/ch14/case2.edit2.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
list = [100, [1, 2, 3], %{value: 7}, %User{name: "Alice"}, true] for e <- list do x = case e do n when is_integer(n) -> n l when is_list(l) -> Enum.join(l, ":") %{__struct__: _} = u -> "name = #{u.name}" m when is_map(m) -> "value = #{m.value}" b when is_boolean(b) -> b end IO.puts x end
26.25
64
0.520635
79d8155818fa29551896e07cfdbc2f082d99dd1b
1,870
exs
Elixir
chapter2/exlivery/test/orders/create_or_update_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter2/exlivery/test/orders/create_or_update_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter2/exlivery/test/orders/create_or_update_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule Exlivery.Orders.CreateOrUpdateTest do use ExUnit.Case import Exlivery.Factory alias Exlivery.Orders.CreateOrUpdate alias Exlivery.Users.Agent, as: UserAgent describe "call/1" do setup do cpf = "123456" user = build(:user, cpf: cpf) Exlivery.start_agents() UserAgent.s...
22
71
0.596257
79d82a2fd0d4d9cbe70e911734ce4a92d5c2724e
1,824
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_chars_to_ignore.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_chars_to_ignore.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_chars_to_ignore.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...
35.076923
126
0.754934
79d89db621f4ef05cf2c4ac368841c927810e9be
10,959
ex
Elixir
lib/erlef_web/views/grant_view.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/views/grant_view.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/views/grant_view.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.StipendView do use ErlefWeb, :view # Currently values chosen for select simply go into an html doc so we map name to name as to avoid # stipend reviewers having to look up the country name for agiven code. @country_data [ {"Select your country", ""}, {"Afghanistan", "Afghanistan"}, ...
33.616564
100
0.560544
79d8b0e4eb8246364b3b2be3dae902cc14ff7bd4
1,779
ex
Elixir
deps/absinthe/lib/absinthe/phase/document/validation/no_unused_variables.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
lib/absinthe/phase/document/validation/no_unused_variables.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
lib/absinthe/phase/document/validation/no_unused_variables.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Document.Validation.NoUnusedVariables do @moduledoc false # Validates document to ensure that the only variables that are used in a # document are defined on the operation. alias Absinthe.{Blueprint, Phase} use Absinthe.Phase use Absinthe.Phase.Validation @doc """ Run the va...
26.552239
103
0.654862
79d8db1ade9efa780d045dc30b9f83ce5991e242
635
ex
Elixir
Microsoft.Azure.Management.Database.MySql/lib/microsoft/azure/management/database/my_sql/model/firewall_rule.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Database.MySql/lib/microsoft/azure/management/database/my_sql/model/firewall_rule.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Database.MySql/lib/microsoft/azure/management/database/my_sql/model/firewall_rule.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Database.MySql.Model.FirewallRule do @moduledoc """ Represents a server firewall rule. """ @derive [Poison.Enc...
21.166667
92
0.677165
79d922e4c083ea0b6a0d41f458377e4a38621223
1,680
exs
Elixir
config/dev.exs
jdalberg/hello
fcf54ad9c74cdfd8538a7081ce35c144c87698d6
[ "MIT" ]
1
2018-08-19T14:33:44.000Z
2018-08-19T14:33:44.000Z
config/dev.exs
jdalberg/hello
fcf54ad9c74cdfd8538a7081ce35c144c87698d6
[ "MIT" ]
null
null
null
config/dev.exs
jdalberg/hello
fcf54ad9c74cdfd8538a7081ce35c144c87698d6
[ "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 :hello, HelloWeb.Endpoint, http: [port: 4000],...
34.285714
170
0.705357
79d94c8827b625f4502f7edeb96b25740de1188a
1,445
ex
Elixir
lib/type/error_reason.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
lib/type/error_reason.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
lib/type/error_reason.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.ErrorReason do @moduledoc """ Type module for error that describes what went wrong during a process execution. Possible values for `t:t/0` are: - `{:error, Exception.t}` : An exception was thrown and was not handl...
37.051282
97
0.580623
79d958c7b4c317168304d5d0fc4b15510661ade8
13,251
ex
Elixir
lib/reflux/dns/packet.ex
lowlandresearch/reflux
1fa23e4d609bfa0a27f5f231abbfa28c8835f1f2
[ "MIT" ]
null
null
null
lib/reflux/dns/packet.ex
lowlandresearch/reflux
1fa23e4d609bfa0a27f5f231abbfa28c8835f1f2
[ "MIT" ]
null
null
null
lib/reflux/dns/packet.ex
lowlandresearch/reflux
1fa23e4d609bfa0a27f5f231abbfa28c8835f1f2
[ "MIT" ]
null
null
null
defmodule DNS do def int_bool(<< bit :: 1 >>) do int_bool(bit) end def int_bool(n) do if n != 0, do: true, else: false end def bool_int(bool) do if (bool), do: 1, else: 0 end def bin_slice(binary, start) do binary_part(binary, start, byte_size(binary) - start) end def bin_slice(bina...
27.09816
88
0.530073
79d9609db8a7dcccab159305bd3b1896b00ff0bf
2,252
exs
Elixir
test/liblink/socket/recvmsg/init_state_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
test/liblink/socket/recvmsg/init_state_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
test/liblink/socket/recvmsg/init_state_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 (c) Xerpa # # 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, so...
28.871795
96
0.676732
79d990cabb60bfa31c9bf5ee593c7e6091533314
1,607
ex
Elixir
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/batch_update_rows_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/batch_update_rows_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/batch_update_rows_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...
34.191489
113
0.756067
79da871b2d616ee54db64c46c91c58ec98b42fab
1,769
ex
Elixir
lib/wallet_ms/api_wallet/api_wallet.ex
Arqui2018/2F_wallet_ms
3b5cdb71f1590f7340460f13a086918448bc3fae
[ "MIT" ]
null
null
null
lib/wallet_ms/api_wallet/api_wallet.ex
Arqui2018/2F_wallet_ms
3b5cdb71f1590f7340460f13a086918448bc3fae
[ "MIT" ]
null
null
null
lib/wallet_ms/api_wallet/api_wallet.ex
Arqui2018/2F_wallet_ms
3b5cdb71f1590f7340460f13a086918448bc3fae
[ "MIT" ]
null
null
null
defmodule WalletMs.ApiWallet do @moduledoc """ The ApiWallet context. """ import Ecto.Query, warn: false alias WalletMs.Repo alias WalletMs.ApiWallet.Wallet @doc """ Returns the list of wallets. ## Examples iex> list_wallets() [%Wallet{}, ...] """ def list_wallets do Repo.all...
16.847619
61
0.59186
79dab823ce8be68fa82b5d1d4becb3ab1befd847
1,070
ex
Elixir
apps/core/lib/core/legal_entities/related_legal_entity.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/legal_entities/related_legal_entity.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/legal_entities/related_legal_entity.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.LegalEntities.RelatedLegalEntity do @moduledoc false use Ecto.Schema import Ecto.Changeset alias Core.LegalEntities.LegalEntity @derive {Jason.Encoder, except: [:__meta__]} @required_fields ~w(merged_from_id merged_to_id reason is_active inserted_by)a @optional_fields ~w(id)a @primary...
31.470588
110
0.742991
79dad6843a63e6d1b17cd3c62f878cc39ef55046
232
exs
Elixir
config/test.exs
juanzapa/distributed-performance-analyzer
d5f0e8cd6051281d76413236076c45fbaf36b6ba
[ "MIT" ]
1
2020-06-07T01:35:24.000Z
2020-06-07T01:35:24.000Z
config/test.exs
juanzapa/distributed-performance-analyzer
d5f0e8cd6051281d76413236076c45fbaf36b6ba
[ "MIT" ]
null
null
null
config/test.exs
juanzapa/distributed-performance-analyzer
d5f0e8cd6051281d76413236076c45fbaf36b6ba
[ "MIT" ]
1
2020-02-20T14:19:05.000Z
2020-02-20T14:19:05.000Z
use Mix.Config config :perf_analizer, host: {:http, "127.0.0.1", 3000}, request: %{method: "GET", path: "/", headers: [], body: ""}, execution: %{steps: 0, increment: 1, duration: 10}, distributed: :none
33.142857
67
0.560345
79dadb7444504ebe37e68ac260bd4838f325c39c
6,345
ex
Elixir
lib/faktory_worker/worker.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
null
null
null
lib/faktory_worker/worker.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
null
null
null
lib/faktory_worker/worker.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
null
null
null
defmodule FaktoryWorker.Worker do @moduledoc false require Logger alias FaktoryWorker.ConnectionManager alias FaktoryWorker.Telemetry alias FaktoryWorker.ErrorFormatter alias FaktoryWorker.QueueManager @type t :: %__MODULE__{} @five_seconds 5_000 @faktory_default_reserve_for 1800 @default_delay ...
26.219008
93
0.666194