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
9ecda00c3a37d2f37fa8db8664af1be729a4303b
13,725
ex
Elixir
clients/vision/lib/google_api/vision/v1/api/operations.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/api/operations.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/api/operations.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...
49.728261
607
0.633807
9ecdb285dd6f79e8becae2fa8a98b0a6acb5b15f
1,663
ex
Elixir
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/connection_credential.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/connection_credential.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/connection_credential.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.382979
147
0.766085
9ecdb678637435924da2c1ca41724b2bf42844c4
5,945
ex
Elixir
lib/cforum_web/views/view_helpers/feeds.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum_web/views/view_helpers/feeds.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum_web/views/view_helpers/feeds.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
defmodule CforumWeb.Views.ViewHelpers.Feeds do alias CforumWeb.Views.ViewHelpers.Path alias Cforum.Messages.Message import CforumWeb.Gettext def atom_feed_head_for_thread(conn, thread, messages) do forum = conn.assigns[:current_forum] message = List.first(thread.sorted_messages) {:feed, %{"xml:la...
35.386905
120
0.583852
9ecdca3c94dc502053eebd560fdc32d796f58dd4
2,009
exs
Elixir
source/backend/api_app/config/prod.exs
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
3
2020-04-05T15:26:55.000Z
2020-06-17T15:01:33.000Z
source/backend/api_app/config/prod.exs
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
48
2020-04-01T16:00:47.000Z
2020-04-28T16:22:12.000Z
source/backend/api_app/config/prod.exs
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
4
2020-03-30T15:36:55.000Z
2020-06-17T15:01:36.000Z
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
9ecdcd08156fac82e60d1a63c224b76bfeb1a24e
526
ex
Elixir
lib/ebnf_parser/interpreter_terms/minus.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
1
2019-09-05T23:00:48.000Z
2019-09-05T23:00:48.000Z
lib/ebnf_parser/interpreter_terms/minus.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
7
2020-10-27T20:42:06.000Z
2021-11-15T07:41:15.000Z
lib/ebnf_parser/interpreter_terms/minus.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
6
2016-04-06T09:28:43.000Z
2021-08-09T12:29:16.000Z
defmodule InterpreterTerms.Minus do alias Generator.State, as: State defstruct [:left, :right, {:state, %State{}}] defimpl EbnfParser.GeneratorProtocol do def make_generator(%InterpreterTerms.Minus{left: left, right: right, state: state}) do %InterpreterTerms.Minus.Interpreter{ state: state, ...
32.875
90
0.735741
9ecdd1f8b09e0646311574c3c9efdb1cbdfbacf3
617
ex
Elixir
lib/mouth/adapters/local_adapter.ex
ZipBooks/mouth
50bd0949960d7d6149b7f56cb3c11357ea3ebad2
[ "MIT" ]
27
2017-06-21T13:31:13.000Z
2020-12-30T06:14:28.000Z
lib/mouth/adapters/local_adapter.ex
adolfosilva/mouth
95f605cc1044262f71995cb0a5bf951f3721cae1
[ "MIT" ]
12
2017-11-08T14:47:34.000Z
2019-04-02T07:40:28.000Z
lib/mouth/adapters/local_adapter.ex
adolfosilva/mouth
95f605cc1044262f71995cb0a5bf951f3721cae1
[ "MIT" ]
6
2017-11-08T14:43:27.000Z
2019-06-07T14:50:32.000Z
defmodule Mouth.LocalAdapter do @moduledoc """ Delivers messages locally to an in-memory store. """ @behaviour Mouth.Adapter def deliver(message, config) do driver = storage_driver(config) message = driver.push(message) {:ok, [status: "Accepted", id: message.meta[:id], datetime: to_string(DateTi...
23.730769
95
0.6953
9ecdd8e3461e893a96708f6b255bbe6edd5d8795
1,028
ex
Elixir
lib/cookbook_web/live/flash_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
lib/cookbook_web/live/flash_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
11
2021-12-19T09:07:30.000Z
2022-01-01T17:54:43.000Z
lib/cookbook_web/live/flash_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
defmodule CookbookWeb.FlashLive do use CookbookWeb, :live_view def render(assigns) do ~H""" <div class="row"> <div class="col"> <button phx-click="show-flash-success" class="btn btn-success">Try me!</button> </div> <div class="col-8"> <button phx-click="show-flash-fail" cl...
26.358974
99
0.588521
9ecdf145c8e11decadf7460def97195f1f28f29d
2,832
ex
Elixir
test/support/attentive/http/mock.ex
malomohq/attentive-elixir
0bb550b482a1da6e344779aa0d077eacc790f021
[ "MIT" ]
null
null
null
test/support/attentive/http/mock.ex
malomohq/attentive-elixir
0bb550b482a1da6e344779aa0d077eacc790f021
[ "MIT" ]
3
2021-08-06T16:50:58.000Z
2022-02-21T17:18:12.000Z
test/support/attentive/http/mock.ex
malomohq/attentive-elixir
0bb550b482a1da6e344779aa0d077eacc790f021
[ "MIT" ]
null
null
null
defmodule Attentive.Http.Mock do @behaviour Attentive.Http use GenServer @proc_key :__attentive_http_mock__ # # client # def start_link do { :ok, pid } = GenServer.start_link(__MODULE__, :ok) Process.put(@proc_key, pid) { :ok, pid } end def get_request_body do pid = Process.get(...
22.47619
72
0.660664
9ece0e90eba7cd57ed5d2bcc5cb08f5ad7ebed22
2,553
ex
Elixir
lib/cotoami_web/controllers/controller_helpers.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
lib/cotoami_web/controllers/controller_helpers.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
lib/cotoami_web/controllers/controller_helpers.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
defmodule CotoamiWeb.ControllerHelpers do @moduledoc """ Utility functions for controllers. """ import Plug.Conn, only: [send_resp: 3] alias Cotoami.{Amishi, Coto, Cotonoma} def send_resp_by_constraint_error(conn, %Ecto.ConstraintError{} = e, content \\ nil) do case e.constraint do "cotonomas_n...
32.316456
99
0.674109
9ece4fa5578a1d824fee7d5ecf47c32fa64a3592
35,679
ex
Elixir
lib/zaryn/crypto.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
1
2021-07-06T19:47:14.000Z
2021-07-06T19:47:14.000Z
lib/zaryn/crypto.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
lib/zaryn/crypto.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.Crypto do @moduledoc ~S""" Provide cryptographic operations for Zaryn network. An algorithm identification is produced by prepending keys and hashes. This identification helps to determine which algorithm/implementation to use in key generation and hashing. Ed25519 Software Public key ...
34.109943
331
0.642086
9ece7268964b2c0c076f242b02ce0547e2d87e22
109
ex
Elixir
test/support/postgrex_types.ex
kianmeng/geo_postgis
6550ac3e7b14dbcdf46a5451fec2b19e0277eb6a
[ "MIT" ]
220
2017-07-15T22:20:31.000Z
2022-03-30T22:22:57.000Z
test/support/postgrex_types.ex
kianmeng/geo_postgis
6550ac3e7b14dbcdf46a5451fec2b19e0277eb6a
[ "MIT" ]
100
2017-09-09T19:40:47.000Z
2022-03-23T12:26:56.000Z
test/support/postgrex_types.ex
kianmeng/geo_postgis
6550ac3e7b14dbcdf46a5451fec2b19e0277eb6a
[ "MIT" ]
60
2017-08-10T10:05:39.000Z
2022-01-25T21:53:25.000Z
Postgrex.Types.define( Geo.PostGIS.PostgrexTypes, [Geo.PostGIS.Extension], decode_binary: :reference )
18.166667
28
0.761468
9ece970d229d522c19b1cf3f4404dcbbe88e0a55
1,496
exs
Elixir
chapter5/challenges/jwtchallenge/config/config.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter5/challenges/jwtchallenge/config/config.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter5/challenges/jwtchallenge/config/config.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :jwtchallenge, ecto_repos: [Jwtchalleng...
34
86
0.788102
9eceb14c0433152feda05d3024783cb3388eebe7
8,245
ex
Elixir
lib/vintage_net_wizard/backend_server.ex
jfcloutier/vintage_net_wizard
be8806a6de9d528c6560a1d3e49dad1380f1499d
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wizard/backend_server.ex
jfcloutier/vintage_net_wizard
be8806a6de9d528c6560a1d3e49dad1380f1499d
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wizard/backend_server.ex
jfcloutier/vintage_net_wizard
be8806a6de9d528c6560a1d3e49dad1380f1499d
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetWizard.BackendServer do @moduledoc """ Server for managing a VintageNet.Backend implementation """ use GenServer alias VintageNetWizard.WiFiConfiguration alias VintageNetWiFi.AccessPoint defmodule State do @moduledoc false defstruct subscriber: nil, backend: nil, backend_stat...
26.257962
99
0.647665
9ecec32bdeb394a06530d03143760366f2e2832a
3,254
ex
Elixir
clients/games/lib/google_api/games/v1/model/leaderboard_entry.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/leaderboard_entry.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/leaderboard_entry.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.386667
192
0.687154
9eced0ec46abfd8c962c1b09519c04d593b7f4dc
1,257
exs
Elixir
config/config.exs
alanwilhelm/elixir-ethereum
42aba002e485524be2981ae05b6f7134f8439dc4
[ "MIT" ]
null
null
null
config/config.exs
alanwilhelm/elixir-ethereum
42aba002e485524be2981ae05b6f7134f8439dc4
[ "MIT" ]
null
null
null
config/config.exs
alanwilhelm/elixir-ethereum
42aba002e485524be2981ae05b6f7134f8439dc4
[ "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...
40.548387
91
0.762132
9eceeeadaa2cf1b392106c4c668f525f8bc228f9
1,565
ex
Elixir
apps/dtask_tui/lib/dtask/tui/tab.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
apps/dtask_tui/lib/dtask/tui/tab.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
apps/dtask_tui/lib/dtask/tui/tab.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
defmodule DTask.TUI.Tab do @moduledoc false alias DTask.TUI alias DTask.TUI.Render alias DTask.TUI.Views.Stateful use StructAccess @enforce_keys [:id, :shortcuts, :data_key, :render_main] defstruct [:id, :shortcuts, :data_key, :render_main, :render_side, :stateful] @type stateful_def :: module ...
30.686275
83
0.536741
9eceef444e58e09857a974eef03d775eb57d78da
3,900
exs
Elixir
test/elenchos_ex/lib/repository_test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
test/elenchos_ex/lib/repository_test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
test/elenchos_ex/lib/repository_test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
defmodule ElenchosEx.RepositoryTest do use ExUnit.Case, async: false import ElenchosEx.Repository @code_dir Application.get_env(:elenchos_ex, :code_dir, "/tmp") describe "checks out code for a checked_out repo at a sha" do test "returns {:ok, :checked_out} if the repository can be checked out" do s...
41.489362
111
0.642051
9ecef474d55a3680304207593ab9cb2fc2d30d9f
1,358
ex
Elixir
lib/jerboa/format/body/attribute/dont_fragment.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
14
2016-12-22T10:38:34.000Z
2021-03-11T23:20:26.000Z
lib/jerboa/format/body/attribute/dont_fragment.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
94
2016-12-22T13:13:29.000Z
2021-02-10T14:22:32.000Z
lib/jerboa/format/body/attribute/dont_fragment.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
6
2017-04-03T20:23:00.000Z
2022-03-06T10:14:30.000Z
defmodule Jerboa.Format.Body.Attribute.DontFragment do @moduledoc """ DONT-FRAGMENT attribute as defined in [TURN RFC](https://trac.tools.ietf.org/html/rfc5766#section-14.8) """ alias Jerboa.Format.Body.Attribute.{Decoder,Encoder} alias Jerboa.Format.DontFragment.ValuePresentError alias Jerboa.Format.Meta ...
28.291667
105
0.675994
9ecef94ad3270713c193e3f1969fee8f5820cd93
9,505
ex
Elixir
lib/phoenix/live_dashboard/components/table_component.ex
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/components/table_component.ex
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/components/table_component.ex
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.TableComponent do @moduledoc false # `Phoenix.LiveComponent` to render a simple table. # This component is used in different pages like applications or sockets. # It can be used in a `Phoenix.LiveView` in the `render/1` function: # ``` # def render(assigns) do # ~L\"""...
34.689781
162
0.592741
9ecefc58af59e9c73967fc6c21e4e904bec302e6
2,486
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/context_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/context_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/context_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.135593
190
0.716412
9ecf0a34777502099c02dcbe60f1240fc7985041
517
ex
Elixir
apps/toniefy/lib/toniex/recorder/session.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
17
2021-04-12T10:01:14.000Z
2022-02-25T17:30:27.000Z
apps/toniefy/lib/toniex/recorder/session.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
1
2022-03-09T09:35:00.000Z
2022-03-09T11:46:14.000Z
apps/toniefy/lib/toniex/recorder/session.ex
benvp/toniefy
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
null
null
null
defmodule Toniex.Recorder.Session do use Ecto.Schema import Ecto.Changeset alias Toniex.Accounts alias Toniex.Recorder.SessionTrack schema "recorder_sessions" do embeds_many :tracks, SessionTrack belongs_to :user, Accounts.User, type: :binary_id timestamps(type: :utc_datetime) end @doc fal...
22.478261
59
0.717602
9ecf175fc47dcd0dae73a1c50d705f484ebfc10c
277
exs
Elixir
priv/repo/migrations/20200605173609_add_delivery_distance_to_task.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
priv/repo/migrations/20200605173609_add_delivery_distance_to_task.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
priv/repo/migrations/20200605173609_add_delivery_distance_to_task.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.Repo.Migrations.AddDeliveryDistanceToTask do use Ecto.Migration def change do alter table(:tasks) do add :delivery_distance, :"integer GENERATED ALWAYS AS (st_distance(pickup_location, dropoff_location)) STORED" end end end
25.181818
96
0.743682
9ecf513f18879b7345451ee648564a4e167d26b6
788
ex
Elixir
apps/tai/lib/tai/venue_adapters/deribit.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/venue_adapters/deribit.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/lib/tai/venue_adapters/deribit.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.VenueAdapters.Deribit do alias Tai.VenueAdapters.Deribit.{ StreamSupervisor, Products, Accounts, Positions } @behaviour Tai.Venues.Adapter def stream_supervisor, do: StreamSupervisor defdelegate products(venue_id), to: Products defdelegate accounts(venue_id, credential_id, cr...
37.52381
87
0.760152
9ecf87c991a32e2d00f4209afcd735d50500a8b3
1,087
ex
Elixir
apps/site/lib/site_web/controllers/static_page.ex
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/lib/site_web/controllers/static_page.ex
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/lib/site_web/controllers/static_page.ex
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
defmodule SiteWeb.StaticPage do @moduledoc """ Logic for pages which simply render a static template with no additional logic. Separated into its own module in order to allow use at compile time in other modules. """ @static_pages [ %{ key: :about, meta_description: "Information about...
30.194444
100
0.661454
9ecfc6fd561554172aa389e062f5469dd239b63e
2,427
ex
Elixir
clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_type_date.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_type_date.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_type_date.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...
45.792453
567
0.721055
9ecff62e06e8332584ad547ffb3a775977788cc0
1,514
ex
Elixir
lib/nifsy/stream.ex
antipax/read_nif
795709bdf7d20ec8a841bccdd39a1c9d5b9360ad
[ "Apache-2.0" ]
9
2018-04-06T07:48:12.000Z
2021-09-09T11:23:09.000Z
lib/nifsy/stream.ex
antipax/read_nif
795709bdf7d20ec8a841bccdd39a1c9d5b9360ad
[ "Apache-2.0" ]
1
2018-11-18T08:41:15.000Z
2018-11-18T09:34:13.000Z
lib/nifsy/stream.ex
ericentin/nifsy
795709bdf7d20ec8a841bccdd39a1c9d5b9360ad
[ "Apache-2.0" ]
null
null
null
defmodule Nifsy.Stream do @moduledoc false alias Nifsy.Native defstruct [:options, :path] @opaque t :: %__MODULE__{ options: Nifsy.options, path: Path.t } defimpl Collectable do def into(%{options: options, path: path} = stream) do case Nifsy.open(path, :write, options) do {:ok,...
21.323944
70
0.519815
9ecff7de1008cda19c2b459afb29a7f047d55b4e
9,258
exs
Elixir
test/glimesh/api/chats_test.exs
Eein/glimesh.tv
e55e96b852363b0d9576ca47d19f1499889c68db
[ "MIT" ]
null
null
null
test/glimesh/api/chats_test.exs
Eein/glimesh.tv
e55e96b852363b0d9576ca47d19f1499889c68db
[ "MIT" ]
null
null
null
test/glimesh/api/chats_test.exs
Eein/glimesh.tv
e55e96b852363b0d9576ca47d19f1499889c68db
[ "MIT" ]
null
null
null
defmodule Glimesh.Api.ChatsTest do use GlimeshWeb.ConnCase import Glimesh.AccountsFixtures import Glimesh.Support.GraphqlHelper alias Glimesh.Streams @create_chat_message_mutation """ mutation CreateChatMessage($channelId: ID!, $message: ChatMessageInput!) { createChatMessage(channelId: $channelId, m...
26.912791
98
0.509505
9ed009c2c12ac8cf652559668fe1ca262b0dc26b
1,601
exs
Elixir
mix.exs
membraneframework/ex_dtls
d227f7c8a3f61eb97de73b6569571c0b83a383a9
[ "Apache-2.0" ]
5
2021-03-09T19:23:51.000Z
2021-12-09T18:40:24.000Z
mix.exs
membraneframework/ex_dtls
d227f7c8a3f61eb97de73b6569571c0b83a383a9
[ "Apache-2.0" ]
8
2021-02-25T14:23:21.000Z
2022-01-15T20:22:21.000Z
mix.exs
membraneframework/ex_dtls
d227f7c8a3f61eb97de73b6569571c0b83a383a9
[ "Apache-2.0" ]
2
2021-04-26T23:31:46.000Z
2022-03-27T15:40:57.000Z
defmodule ExDTLS.Mixfile do use Mix.Project @version "0.8.0" @github_url "https://github.com/membraneframework/ex_dtls" def project do [ app: :ex_dtls, version: @version, elixir: "~> 1.10", compilers: [:unifex, :bundlex] ++ Mix.compilers(), elixirc_paths: elixirc_paths(Mix.en...
23.202899
96
0.558401
9ed0161058e5e1405e05eafef8ae7c6311952a75
191
exs
Elixir
priv/repo/migrations/20220506030225_add_item_status.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
priv/repo/migrations/20220506030225_add_item_status.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
priv/repo/migrations/20220506030225_add_item_status.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
defmodule Purple.Repo.Migrations.AddItemStatus do use Ecto.Migration def change do alter table("items") do add :status, :string, default: "TODO", null: false end end end
19.1
56
0.691099
9ed05c6fb2382b4d4f91440bc8b70b3d882b15dc
13,613
exs
Elixir
config/runtime.exs
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
2
2021-09-18T09:15:13.000Z
2022-03-16T09:29:37.000Z
config/runtime.exs
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
null
null
null
config/runtime.exs
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
null
null
null
import Config # Shared variables env = config_env() |> Atom.to_string() http_port = (System.get_env("HTTP_PORT") || "4000") |> String.to_integer() rewind_host = System.get_env("REWIND_HOST") || "rewind.localhost" workbench_host = System.get_env("WORKBENCH_HOST") || "workbench.localhost" history_host = System.get_env("...
31.806075
141
0.667156
9ed0660cc52deb000023dca5fb864ff76ad631a3
1,096
exs
Elixir
exercises/binary-search/example.exs
martinsvalin/xelixir
9469d92e7eecb528a05a8da923d8271ed303c058
[ "MIT" ]
null
null
null
exercises/binary-search/example.exs
martinsvalin/xelixir
9469d92e7eecb528a05a8da923d8271ed303c058
[ "MIT" ]
null
null
null
exercises/binary-search/example.exs
martinsvalin/xelixir
9469d92e7eecb528a05a8da923d8271ed303c058
[ "MIT" ]
null
null
null
defmodule BinarySearch do @doc """ Searches for a key in the list using the binary search algorithm. It returns :not_found if the key is not in the list. Otherwise returns the tuple {:ok, index}. ## Examples iex> BinarySearch.search([], 2) :not_found iex> BinarySearch.search([1, 3...
26.095238
72
0.609489
9ed07320795ef623acb68cee5011b266d7b172d6
648
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/one_argument_parsing_test_case/AtNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/one_argument_parsing_test_case/AtNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/one_argument_parsing_test_case/AtNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
@non_numeric.and positional @non_numeric.&& positional @non_numeric.|> positional @non_numeric.@ positional @non_numeric.& positional @non_numeric.== positional @non_numeric.+ positional @non_numeric.^^^ positional @non_numeric.<- positional @non_numeric.in positional @non_numeric.= positional @non_numeric./ positional...
25.92
29
0.810185
9ed096fe670708a6c3a5f448821c74e1dd68f8e7
687
ex
Elixir
src/lib/changelog/wavestreamer.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
1
2018-01-22T20:07:10.000Z
2018-01-22T20:07:10.000Z
lib/changelog/wavestreamer.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
lib/changelog/wavestreamer.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
defmodule Changelog.Wavestreamer do defmodule Stats do defstruct streaming: false, listeners: 0 end def host do "http://knight.wavestreamer.com:1882" end def live_url do host() <> "/Live" end def is_streaming do stats = get_stats() stats.streaming end def stats_url do host(...
19.628571
55
0.630277
9ed0ad42c0aed4d5309ed113067238c910dfba12
1,024
exs
Elixir
test/xdr/types/ext_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/types/ext_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/types/ext_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.ExtTest do use ExUnit.Case alias StellarBase.XDR.Ext describe "Ext" do setup do %{ transaction_ext: Ext.new(), binary: <<0, 0, 0, 0>> } end test "new/1", %{transaction_ext: transaction_ext} do ^transaction_ext = Ext.new() end test...
26.25641
80
0.646484
9ed0f5c0c5d11dbc826f02f84cc256fa87e7e798
495
ex
Elixir
nebulex_telemetry_example/lib/nebulex_telemetry_example/hook.ex
cabol/nebulex_examples
21bd2673eecfc0b5c7a2807a3a47488d99a7d725
[ "MIT" ]
25
2017-07-30T01:27:54.000Z
2021-12-10T16:41:03.000Z
nebulex_telemetry_example/lib/nebulex_telemetry_example/hook.ex
cabol/nebulex_examples
21bd2673eecfc0b5c7a2807a3a47488d99a7d725
[ "MIT" ]
2
2019-11-12T09:41:26.000Z
2021-11-08T13:51:24.000Z
nebulex_telemetry_example/lib/nebulex_telemetry_example/hook.ex
cabol/nebulex_examples
21bd2673eecfc0b5c7a2807a3a47488d99a7d725
[ "MIT" ]
1
2019-01-08T19:06:54.000Z
2019-01-08T19:06:54.000Z
defmodule NebulexTelemetryExample.Profiling do alias Nebulex.Hook def prof(%Hook{step: :before}) do System.system_time(:microsecond) end def prof(%Hook{step: :after_return, acc: start}) do diff = System.system_time(:microsecond) - start IO.puts("#=> Duration: #{diff}") end end defmodule Nebulex...
21.521739
61
0.715152
9ed1112eb82d1301a561d7778840352b9bac1ae0
124
exs
Elixir
mssqlsample/test/mssqlsample_test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
mssqlsample/test/mssqlsample_test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
mssqlsample/test/mssqlsample_test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule MssqlsampleTest do use ExUnit.Case doctest Mssqlsample test "the truth" do assert 1 + 1 == 2 end end
13.777778
28
0.693548
9ed13c31bac0d5da4636d2d478ed57c5c6c923b8
153
exs
Elixir
test/test_helper.exs
tteerawat/bitly-elixir
a6e3842516d49df9f4cc219d699ff6c5bf50cb24
[ "MIT" ]
2
2019-09-06T08:13:57.000Z
2020-09-18T05:20:39.000Z
test/test_helper.exs
tteerawat/bitly-elixir
a6e3842516d49df9f4cc219d699ff6c5bf50cb24
[ "MIT" ]
null
null
null
test/test_helper.exs
tteerawat/bitly-elixir
a6e3842516d49df9f4cc219d699ff6c5bf50cb24
[ "MIT" ]
2
2020-02-25T08:09:55.000Z
2020-03-19T22:28:33.000Z
ExUnit.start() {:ok, _} = Application.ensure_all_started(:inets) ExVCR.Config.filter_sensitive_data("access_token=[^\&]+", "access_token=ACCESS_TOKEN")
30.6
86
0.75817
9ed145f681b42fa776b31d8eab7f45d6ece9728a
2,815
ex
Elixir
lib/gen_amqp/worker.ex
jogeraca/gen_amqp
4ac8bb55d4da9e5202a0e2dca3de437cbc9bc264
[ "MIT" ]
null
null
null
lib/gen_amqp/worker.ex
jogeraca/gen_amqp
4ac8bb55d4da9e5202a0e2dca3de437cbc9bc264
[ "MIT" ]
null
null
null
lib/gen_amqp/worker.ex
jogeraca/gen_amqp
4ac8bb55d4da9e5202a0e2dca3de437cbc9bc264
[ "MIT" ]
null
null
null
defmodule GenAMQP.PoolWorker do alias GenAMQP.Chan require Logger def start_link(_) do GenServer.start_link(__MODULE__, nil, []) end def init(_) do {:ok, nil} end def handle_call({:do_work, data}, _from, state) do {:reply, work(data), state} end defp work(%{ event: event, ...
23.264463
69
0.544227
9ed156277ba301b4c670223a64c7567f16045284
35
exs
Elixir
test/test_helper.exs
Eweev/elixir_wit
edb558bbce547287cf58003ef7ef9b1c826e1904
[ "MIT" ]
57
2016-05-03T15:35:12.000Z
2020-11-29T21:02:17.000Z
test/test_helper.exs
DriesDeBackker/quarp-reactivity
88e297818df4c9fd85af0c14dabe5edc4788ffd4
[ "MIT" ]
12
2016-09-11T05:46:27.000Z
2018-09-24T06:38:52.000Z
test/test_helper.exs
DriesDeBackker/quarp-reactivity
88e297818df4c9fd85af0c14dabe5edc4788ffd4
[ "MIT" ]
17
2016-05-03T15:35:27.000Z
2020-11-27T22:01:45.000Z
ExUnit.start(exclude: [:disabled])
17.5
34
0.742857
9ed182d1372a6bf569a0246dec8c0712cc5b9578
602
exs
Elixir
config/dev.exs
esl/elixometer
6678c97f64ac8a4cf7ecbf32a4d342576d466b69
[ "Apache-2.0" ]
1
2021-03-11T23:38:37.000Z
2021-03-11T23:38:37.000Z
config/dev.exs
esl/elixometer
6678c97f64ac8a4cf7ecbf32a4d342576d466b69
[ "Apache-2.0" ]
null
null
null
config/dev.exs
esl/elixometer
6678c97f64ac8a4cf7ecbf32a4d342576d466b69
[ "Apache-2.0" ]
2
2021-03-11T23:58:01.000Z
2022-03-06T10:48:34.000Z
use Mix.Config config :exometer_core, report: [reporters: []] config :lager, [ log_root: 'log', handlers: [ lager_console_backend: [level: :info], lager_file_backend: [file: 'error.log', level: :error, formatter: :lager_default_formatter, ...
30.1
113
0.594684
9ed1c43e4653508d0601f78be77472b5464a3c66
54
ex
Elixir
apps/language_server/test/fixtures/umbrella_dialyzer/apps/app2/lib/app2.ex
ihabunek/elixir-ls
a8bdf9304f04254160c9fc982ad314a50085c51a
[ "Apache-2.0" ]
865
2018-10-31T20:29:13.000Z
2022-03-29T11:13:39.000Z
apps/language_server/test/fixtures/umbrella_dialyzer/apps/app2/lib/app2.ex
ihabunek/elixir-ls
a8bdf9304f04254160c9fc982ad314a50085c51a
[ "Apache-2.0" ]
441
2019-01-05T02:33:52.000Z
2022-03-30T20:56:50.000Z
apps/language_server/test/fixtures/umbrella_dialyzer/apps/app2/lib/app2.ex
ihabunek/elixir-ls
a8bdf9304f04254160c9fc982ad314a50085c51a
[ "Apache-2.0" ]
126
2018-11-12T19:16:53.000Z
2022-03-26T13:27:50.000Z
defmodule App2 do def error do :error end end
9
17
0.666667
9ed1c4e428ef529cdb8d022655480467cebea8c6
1,033
exs
Elixir
config/config.exs
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
config/config.exs
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
config/config.exs
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :phx_template, ecto_repos: [PhxTemplate...
33.322581
86
0.777348
9ed1c57558f20a9a2c2d86483bfbe2048bf3e80a
1,234
exs
Elixir
test/new_relixir/plug/exception_test.exs
edipox/new-relixir
00de7b6016b840d14004c32e562604de25c0c9b5
[ "MIT" ]
null
null
null
test/new_relixir/plug/exception_test.exs
edipox/new-relixir
00de7b6016b840d14004c32e562604de25c0c9b5
[ "MIT" ]
null
null
null
test/new_relixir/plug/exception_test.exs
edipox/new-relixir
00de7b6016b840d14004c32e562604de25c0c9b5
[ "MIT" ]
null
null
null
defmodule ExceptionTest do use ExUnit.Case use Plug.Test defmodule TestException do defexception plug_status: 403, message: "oops" end defmodule ErrorRaisingPlug do defmacro __using__(_env) do quote do def call(conn, _opts) do raise Plug.Conn.WrapperError, conn: conn, ...
22.436364
71
0.659643
9ed1cae306e1abcb579a15840d610b26e61e2a77
382
exs
Elixir
test/acceptance/ast/empty_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/empty_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/empty_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Acceptance.Ast.EmptyTest do use ExUnit.Case, async: true @moduletag :ast test "empty" do markdown = "" ast = [] messages = [] assert Earmark.as_ast(markdown) == {:ok, ast, messages} end test "almost empty" do markdown = " " ast = [] messages = [] assert ...
16.608696
59
0.581152
9ed1cb962bc2c897e885bf56ab5e2d83e34c0f8f
26,987
ex
Elixir
lib/phoenix_live_view/test/client_proxy.ex
joshuataylor/phoenix_live_view
4b4023c07b5c082505961139c4a5c92045c95e23
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/client_proxy.ex
joshuataylor/phoenix_live_view
4b4023c07b5c082505961139c4a5c92045c95e23
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/client_proxy.ex
joshuataylor/phoenix_live_view
4b4023c07b5c082505961139c4a5c92045c95e23
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.ClientProxy do @moduledoc false use GenServer defstruct session_token: nil, static_token: nil, module: nil, endpoint: nil, pid: nil, proxy: nil, topic: nil, ref: nil, rendered: nil, ...
29.175135
108
0.594101
9ed1e4449c759f541e9c09f3b282c7c0f9acec7a
990
exs
Elixir
example/config/config.exs
jmerriweather/vintage_net_wizard
dc67e75d11911dec536571344e00d0e5ed250b7f
[ "Apache-2.0" ]
null
null
null
example/config/config.exs
jmerriweather/vintage_net_wizard
dc67e75d11911dec536571344e00d0e5ed250b7f
[ "Apache-2.0" ]
null
null
null
example/config/config.exs
jmerriweather/vintage_net_wizard
dc67e75d11911dec536571344e00d0e5ed250b7f
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config config :example, target: Mix.target() # Customize non-Elixir parts of the firmware. ...
30.9375
72
0.771717
9ed1ef3238be397e8ea141d7743d7d550577c922
3,009
exs
Elixir
mix.exs
evaldobratti/floki
8f27729a641fe68eaf778e751da0c0e66d0b9470
[ "MIT" ]
null
null
null
mix.exs
evaldobratti/floki
8f27729a641fe68eaf778e751da0c0e66d0b9470
[ "MIT" ]
null
null
null
mix.exs
evaldobratti/floki
8f27729a641fe68eaf778e751da0c0e66d0b9470
[ "MIT" ]
null
null
null
defmodule Floki.Mixfile do use Mix.Project @description "Floki is a simple HTML parser that enables search for nodes using CSS selectors." @version "0.29.0" def project do [ app: :floki, name: "Floki", version: @version, description: @description, elixir: "~> 1.8", pack...
27.605505
98
0.56896
9ed1f943e1e275f204627c35aa740d1414ea3b9c
1,542
exs
Elixir
api/mix.exs
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
null
null
null
api/mix.exs
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
null
null
null
api/mix.exs
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
null
null
null
defmodule Sling.Mixfile do use Mix.Project def project do [app: :sling, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases: a...
29.09434
78
0.603761
9ed21af2c9a613e02237f00bfab76286e4aa1c97
2,305
ex
Elixir
lib/annon_api/configuration/cache_adapters/ets.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
328
2017-05-05T15:19:46.000Z
2022-03-11T10:52:45.000Z
lib/annon_api/configuration/cache_adapters/ets.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
83
2017-04-30T10:36:15.000Z
2019-10-14T13:14:34.000Z
lib/annon_api/configuration/cache_adapters/ets.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
29
2017-05-02T14:36:50.000Z
2021-09-03T13:36:17.000Z
defmodule Annon.Configuration.CacheAdapters.ETS do @moduledoc """ Adapter to access cache using ETS. """ @behaviour Annon.Configuration.CacheAdapter alias Annon.Configuration.API def init(opts) do table_name = Keyword.fetch!(opts, :cache_space) :ets.new(table_name, [:ordered_set, :public, :named_ta...
24.521277
107
0.62256
9ed21ecf65772b5c57d8ced8fd56608c823d9b07
346
exs
Elixir
priv/repo/migrations/20160717185528_create_company.exs
rustedgrail/where_its_due
2140006ecfbe29e9d4ebc1895b147a76b5376fc3
[ "MIT" ]
null
null
null
priv/repo/migrations/20160717185528_create_company.exs
rustedgrail/where_its_due
2140006ecfbe29e9d4ebc1895b147a76b5376fc3
[ "MIT" ]
null
null
null
priv/repo/migrations/20160717185528_create_company.exs
rustedgrail/where_its_due
2140006ecfbe29e9d4ebc1895b147a76b5376fc3
[ "MIT" ]
null
null
null
defmodule WhereItsDue.Repo.Migrations.CreateCompany do use Ecto.Migration def change do create table(:companies) do add :abbreviation, :string add :aliases, {:array, :string} add :deck, :text add :description, :text add :giant_bomb_id, :integer add :name, :string time...
19.222222
54
0.647399
9ed2333f7e512e0ffd1bc23147134a5e77e57c53
718
ex
Elixir
lib/wizard/game/deck.ex
jannikbecher/wizard
a4d10b6d2396b960ab7fabf6ec6b0dd0c995acb2
[ "MIT" ]
null
null
null
lib/wizard/game/deck.ex
jannikbecher/wizard
a4d10b6d2396b960ab7fabf6ec6b0dd0c995acb2
[ "MIT" ]
1
2020-02-27T13:04:41.000Z
2020-02-27T13:04:41.000Z
lib/wizard/game/deck.ex
jannikbecher/wizard
a4d10b6d2396b960ab7fabf6ec6b0dd0c995acb2
[ "MIT" ]
null
null
null
defmodule Wizard.Game.Deck do @moduledoc false alias Wizard.Game.Card @colors [:red, :green, :blue, :yellow] @doc false def new do (create_normal_cards() ++ create_wizard_cards() ++ create_fool_cards()) |> Enum.shuffle() end defp create_normal_cards do for color <- @colors, number <- 1..13...
17.95
75
0.628134
9ed24d02a218e07626328986b441341aa219f185
734
ex
Elixir
fade/lib/broker/data_mappers/exchange_data_mapper.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
fade/lib/broker/data_mappers/exchange_data_mapper.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
fade/lib/broker/data_mappers/exchange_data_mapper.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
defmodule Fade.Broker.ExchangeDataMapper do alias Fade.Broker.DataMapper alias Fade.Broker.ExchangeTypes.ExchangeInfo alias Fade.Core.PrimitiveDataMapper @behaviour DataMapper @impl DataMapper def map_data(data) do data |> Stream.reject(&is_nil/1) |> Enum.map(fn exchange -> ExchangeInfo....
28.230769
76
0.683924
9ed27539d2f83cbea13c42e88d30d7d0e473f087
324
ex
Elixir
test/support/email_case.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/support/email_case.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/support/email_case.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.EmailCase do @moduledoc """ Case template used for testing emails. """ use ExUnit.CaseTemplate using do quote do use Bamboo.Test end end setup do Ecto.Adapters.SQL.Sandbox.checkout(Cog.Repo) Ecto.Adapters.SQL.Sandbox.mode(Cog.Repo, {:shared, self()}) :ok end ...
14.727273
63
0.657407
9ed276aa9ff9759d37226cb0bebf0150d4a50398
1,159
exs
Elixir
backend/test/getaways_web/schema/query/me_test.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
null
null
null
backend/test/getaways_web/schema/query/me_test.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
6
2020-01-31T19:44:15.000Z
2021-09-02T04:26:49.000Z
backend/test/getaways_web/schema/query/me_test.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
null
null
null
defmodule GetawaysWeb.Schema.Query.MeTest do use GetawaysWeb.ConnCase, async: true @query """ { me { username bookings { startDate endDate } } } """ test "me query returns my bookings" do place = place_fixture() user = user_fixture() booking_attrs = %{...
19.316667
59
0.499569
9ed28e3ca66406b497a464bdb84c09861d46c3b1
264
ex
Elixir
apps/splatoon_data/priv/repo/factories/weapons.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
6
2017-08-10T13:57:06.000Z
2019-01-17T08:48:40.000Z
apps/splatoon_data/priv/repo/factories/weapons.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
14
2017-08-08T13:07:00.000Z
2019-02-28T15:10:18.000Z
apps/splatoon_data/priv/repo/factories/weapons.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
null
null
null
defmodule SplatoonData.Repo.Factories.Weapons do defmacro __using__(_opts) do quote do def weapon_factory do %SplatoonData.Weapons.Weapon{ name: nil, # 何か入れないとエラー get_rank: 0 # これもエラー } end end end end
22
48
0.613636
9ed299c7de59043d1d355e2c91bcb0a3ea232011
2,308
ex
Elixir
lib/matrex/operators.ex
scripbox/matrex
9a080311836a151ef9f2b780c3cd751a0fa0df22
[ "BSD-3-Clause" ]
464
2018-05-13T00:48:25.000Z
2022-02-01T18:29:38.000Z
lib/matrex/operators.ex
scripbox/matrex
9a080311836a151ef9f2b780c3cd751a0fa0df22
[ "BSD-3-Clause" ]
30
2018-05-28T11:00:37.000Z
2021-12-09T11:38:28.000Z
lib/matrex/operators.ex
scripbox/matrex
9a080311836a151ef9f2b780c3cd751a0fa0df22
[ "BSD-3-Clause" ]
34
2018-05-21T15:40:11.000Z
2021-03-29T07:30:02.000Z
defmodule Matrex.Operators do @moduledoc """ Overrides Kernel math operators and adds common math functions shortcuts for use with matrices. Use with caution. ## Usage iex> import IEx.Helpers, except: [t: 1] # Only in iex, conflicts with transpose function iex> import Matrex.Operators iex> i...
32.055556
97
0.533795
9ed2f0b96b092044dba1766ca054a031f4e018f0
1,958
exs
Elixir
test/test_webhook.exs
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
1
2022-03-15T18:58:21.000Z
2022-03-15T18:58:21.000Z
test/test_webhook.exs
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
null
null
null
test/test_webhook.exs
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
null
null
null
defmodule StarkInfraTest.Webhook do use ExUnit.Case @tag :webhook test "create, get and delete webhook" do {:ok, create_webhook} = StarkInfra.Webhook.create( url: "https://webhook.site/a10b29fc-45cf-4a09-b743-b7dff8c9eea5", subscriptions: ["contract", "credit-note", "signer", "issuing-c...
34.350877
251
0.663943
9ed2f53cd48be99a129942beacf25c72ca9a7f27
2,027
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_pools_scoped_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/target_pools_scoped_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/target_pools_scoped_list_warning_data.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...
40.54
527
0.741983
9ed2fbb4ec8dd95e050e92aea0b038baa21c7c53
352
ex
Elixir
lib/supabase_surface/components/icons/icon_arrow_up_left.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_arrow_up_left.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_arrow_up_left.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconArrowUpLeft do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.arrow_up_left(width: icon_size, height: icon_size)} </I...
23.466667
71
0.727273
9ed33c061728c8e378eda62e9a84465e0f72834a
646
ex
Elixir
web/views/asset_view.ex
andreihod/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
2
2017-07-19T17:03:41.000Z
2017-09-18T12:58:42.000Z
web/views/asset_view.ex
mateusfs/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
7
2017-07-18T23:32:45.000Z
2017-08-18T01:09:11.000Z
web/views/asset_view.ex
mateusfs/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
2
2017-08-03T19:55:21.000Z
2018-07-01T19:54:22.000Z
defmodule Cryptofolio.AssetView do use Cryptofolio.Web, :view def render("index.json", %{assets: assets}) do render_many(assets, Cryptofolio.AssetView, "show.json") end def render("show.json", %{asset: asset}) do %{asset: render_one(asset, Cryptofolio.AssetView, "asset.json")} end def render("ass...
30.761905
86
0.695046
9ed37daebfb92282f9178f3be907c57007d75606
154
ex
Elixir
04-chapter/05_factorial.ex
herminiotorres/learn-funcional-programming-with-elixir
01b0696e0859da20f389a6e53c51b5ab6c4f6e24
[ "MIT" ]
1
2022-03-01T13:54:43.000Z
2022-03-01T13:54:43.000Z
04-chapter/05_factorial.ex
herminiotorres/learn-funcional-programming-with-elixir
01b0696e0859da20f389a6e53c51b5ab6c4f6e24
[ "MIT" ]
null
null
null
04-chapter/05_factorial.ex
herminiotorres/learn-funcional-programming-with-elixir
01b0696e0859da20f389a6e53c51b5ab6c4f6e24
[ "MIT" ]
null
null
null
defmodule Factorial do def of(0), do: 1 def of(1), do: 1 * of(0) def of(2), do: 2 * of(1) def of(3), do: 3 * of(2) def of(4), do: 4 * of(3) end
19.25
26
0.519481
9ed38b92ced64e31a4def3737521a97d2ce1c527
504
ex
Elixir
lib/step_flow/view/changeset_view.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
4
2019-12-07T05:18:26.000Z
2020-11-06T23:28:43.000Z
lib/step_flow/view/changeset_view.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
53
2020-01-06T11:23:09.000Z
2021-06-25T15:30:07.000Z
lib/step_flow/view/changeset_view.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
3
2020-01-30T15:37:40.000Z
2020-10-27T14:10:02.000Z
defmodule StepFlow.ChangesetView do use StepFlow, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset, &translate_error/1) end def render("error.json", %{...
26.526316
65
0.728175
9ed3ae82addd682cc48060aa4067b2d07c18868f
850
ex
Elixir
src/server/apps/domain_web/lib/domain_web/graphql/resolvers/resolver.ex
akeating/pespa
f6be1a61cdcbdf0b7ee7ce20161504300ed4d0e4
[ "MIT" ]
28
2017-04-07T03:23:30.000Z
2021-09-29T13:41:04.000Z
src/server/apps/domain_web/lib/domain_web/graphql/resolvers/resolver.ex
akeating/pespa
f6be1a61cdcbdf0b7ee7ce20161504300ed4d0e4
[ "MIT" ]
null
null
null
src/server/apps/domain_web/lib/domain_web/graphql/resolvers/resolver.ex
akeating/pespa
f6be1a61cdcbdf0b7ee7ce20161504300ed4d0e4
[ "MIT" ]
7
2017-10-22T10:47:53.000Z
2021-04-21T23:11:22.000Z
defmodule DomainWeb.Graphql.Resolvers do alias Domain.Accounts alias DomainWeb.Guardian def exchange_credentials_for_token %{ email: email, password: password }, _info do case Accounts.exchange_credentials_for_token(email, password) do {:ok, user} -> encode_and_sign(user) {:error, reas...
22.972973
84
0.645882
9ed3d201964277f3cb420bdd919e0289bc6cec35
1,948
exs
Elixir
test/sna_web/controllers/provider_oauth_controller_test.exs
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
6
2019-07-16T13:34:33.000Z
2020-08-25T08:51:01.000Z
test/sna_web/controllers/provider_oauth_controller_test.exs
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
3
2019-07-17T14:18:50.000Z
2020-06-06T08:07:45.000Z
test/sna_web/controllers/provider_oauth_controller_test.exs
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
2
2019-07-17T05:42:04.000Z
2020-05-06T11:12:53.000Z
defmodule SnaWeb.ProviderOAuthControllerTest do use SnaWeb.ConnCase setup do Sna.Repo.insert(%Sna.Repo.Provider{ name: "github", strategy: "github", production: false, }) on_exit(fn -> Application.put_env(:sna, :oauth_providers, github: Ueberauth.Strategy.Github) en...
25.973333
91
0.634497
9ed4001b040605ab9df9a7d2fb53eb31ab54b939
5,406
ex
Elixir
lib/chat_api_web/channels/conversation_channel.ex
8otco/papercups
f07fe51e6161fdd772fe7cef59e7777951cddc41
[ "MIT" ]
1
2021-06-17T03:17:24.000Z
2021-06-17T03:17:24.000Z
lib/chat_api_web/channels/conversation_channel.ex
8otco/papercups
f07fe51e6161fdd772fe7cef59e7777951cddc41
[ "MIT" ]
null
null
null
lib/chat_api_web/channels/conversation_channel.ex
8otco/papercups
f07fe51e6161fdd772fe7cef59e7777951cddc41
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.ConversationChannel do use ChatApiWeb, :channel alias ChatApiWeb.Presence alias ChatApi.{Messages, Conversations} alias ChatApi.Messages.Message @impl true def join("conversation:lobby", _payload, socket) do {:ok, socket} end def join("conversation:lobby:" <> customer_id, _pa...
32.566265
94
0.676656
9ed40ad60431d0ccc9915921d7f6d82946b76702
1,062
exs
Elixir
ur2/mix.exs
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
ur2/mix.exs
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
ur2/mix.exs
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
defmodule Ur2.MixProject do use Mix.Project def project do [ app: :ur2, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, deps: deps() ] end # C...
23.6
57
0.571563
9ed42096561cfa9550a003277adb05776e8f6567
10,295
exs
Elixir
lib/elixir/test/elixir/kernel/quote_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/quote_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/quote_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.QuoteTest do use ExUnit.Case, async: true test :list do assert quote(do: [1, 2, 3]) == [1, 2, 3] end test :tuple do assert quote(do: {:a, 1}) == {:a, 1} end test :keep_line do ## DO NOT MOVE THIS LINE assert quote(location:...
24.511905
93
0.610588
9ed42cb0a2842409b25f5cfc5df8b1f9fc8f2439
37,097
ex
Elixir
data/web/deps/phoenix_html/lib/phoenix_html/form.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/phoenix_html/lib/phoenix_html/form.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/phoenix_html/lib/phoenix_html/form.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
defmodule Phoenix.HTML.Form do @moduledoc ~S""" Helpers related to producing HTML forms. The functions in this module can be used in three distinct scenarios: * with changeset data - when information to populate the form comes from a changeset * with connection data - when a form is created bas...
31.200168
106
0.63272
9ed43bab2301fbeb172fca44b85d17d1cf240d7a
984
ex
Elixir
lib/cforum/accounts/badge_group.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum/accounts/badge_group.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum/accounts/badge_group.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule Cforum.Accounts.BadgeGroup do use CforumWeb, :model @primary_key {:badge_group_id, :id, autogenerate: true} @derive {Phoenix.Param, key: :badge_group_id} schema "badge_groups" do field(:name, :string) many_to_many(:badges, Cforum.Accounts.Badge, join_through: "badges_badge_groups", ...
33.931034
106
0.698171
9ed44af9e9e7ab44ba95ebce809824037460382b
1,398
ex
Elixir
lib/upload/adapters/local.ex
artemeff/upload
ab495e79caed499c0c80d273e581887b7df51b9d
[ "MIT" ]
null
null
null
lib/upload/adapters/local.ex
artemeff/upload
ab495e79caed499c0c80d273e581887b7df51b9d
[ "MIT" ]
null
null
null
lib/upload/adapters/local.ex
artemeff/upload
ab495e79caed499c0c80d273e581887b7df51b9d
[ "MIT" ]
null
null
null
defmodule Upload.Adapters.Local do @moduledoc """ An `Upload.Adapter` that saves files to disk. ### Configuration config :upload, Upload.Adapters.Local, base_url: "/uploads", # optional storage_path: "priv/static/uploads" # optional """ use Upload.Adapter alias Upload.Config @do...
21.181818
70
0.628755
9ed4522547f8691fa04414455e97fb582b47288a
906
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
33.555556
74
0.764901
9ed465cee72620d6082580b10112daf525a946b1
1,828
exs
Elixir
test/core/sup_tree_core/executor_pool/executor_pool_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
test/core/sup_tree_core/executor_pool/executor_pool_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
test/core/sup_tree_core/executor_pool/executor_pool_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. defmodule AntikytheraCore.ExecutorPoolTest do use Croma.TestCase alias ExecutorPool.Setting, as: EPoolSetting alias ExecutorPool.RegisteredName, as: RegName alias AntikytheraCore.Ets.GearActionRunnerPools defp child_pids(pid) do Supervisor.w...
43.52381
98
0.756018
9ed49f4a2394d12cc26733c97cc67f248a536bf3
33
exs
Elixir
.iex.exs
milmazz/aaron
2c8fb36ee92381b4ee0a744353aae3bd0b12fa8e
[ "Apache-2.0" ]
2
2019-01-09T07:47:49.000Z
2020-10-24T06:45:36.000Z
.iex.exs
milmazz/aaron
2c8fb36ee92381b4ee0a744353aae3bd0b12fa8e
[ "Apache-2.0" ]
7
2019-11-11T12:22:36.000Z
2021-06-25T15:20:43.000Z
.iex.exs
milmazz/aaron
2c8fb36ee92381b4ee0a744353aae3bd0b12fa8e
[ "Apache-2.0" ]
1
2021-06-13T07:39:05.000Z
2021-06-13T07:39:05.000Z
import NimbleParsec import Aaron
11
19
0.878788
9ed4e7bd6f0c3f9d476e31058814c2e218cf287e
1,100
ex
Elixir
phoenix/lib/hello_world_web/channels/user_socket.ex
jrpotter/flake-templates
82799f9fe3ee9d2cfc28550aef74e759a5d5534d
[ "Apache-2.0" ]
null
null
null
phoenix/lib/hello_world_web/channels/user_socket.ex
jrpotter/flake-templates
82799f9fe3ee9d2cfc28550aef74e759a5d5534d
[ "Apache-2.0" ]
null
null
null
phoenix/lib/hello_world_web/channels/user_socket.ex
jrpotter/flake-templates
82799f9fe3ee9d2cfc28550aef74e759a5d5534d
[ "Apache-2.0" ]
null
null
null
defmodule HelloWorldWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HelloWorldWeb.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 ...
30.555556
85
0.697273
9ed52617b7299f182ce54bda1cf8a6e540ff407a
2,483
ex
Elixir
lib/texas_holdem_web.ex
thelightcosine/texas_holdem-phoenix
31da9754082015b7562639bf2d5b8ac5212f11d0
[ "BSD-3-Clause" ]
null
null
null
lib/texas_holdem_web.ex
thelightcosine/texas_holdem-phoenix
31da9754082015b7562639bf2d5b8ac5212f11d0
[ "BSD-3-Clause" ]
null
null
null
lib/texas_holdem_web.ex
thelightcosine/texas_holdem-phoenix
31da9754082015b7562639bf2d5b8ac5212f11d0
[ "BSD-3-Clause" ]
null
null
null
defmodule TexasHoldemWeb 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 TexasHoldemWeb, :controller use TexasHoldemWeb, :view The definitions below will be executed for every view, ...
22.369369
81
0.68385
9ed5309d4441bb420410cf86b83df8c0c9caae61
204
exs
Elixir
apps/nerves_hub_web_core/priv/repo/migrations/20200827172631_add_patchable_to_firmware.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_web_core/priv/repo/migrations/20200827172631_add_patchable_to_firmware.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_web_core/priv/repo/migrations/20200827172631_add_patchable_to_firmware.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubWebCore.Repo.Migrations.AddPatchableToFirmware do use Ecto.Migration def change do alter table(:firmwares) do add(:patchable, :boolean, default: false) end end end
20.4
68
0.740196
9ed54c0a8e6eb8d3dcc03c52335b52b7ab75d489
424
ex
Elixir
test/support/user.ex
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
test/support/user.ex
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
test/support/user.ex
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
1
2021-01-22T12:16:23.000Z
2021-01-22T12:16:23.000Z
defmodule Test.User do @derive ExAws.Dynamo.Encodable defstruct [:email, :name, :age, :admin] defimpl ExAws.Dynamo.Decodable do def decode(%{name: %{"first" => first, "last" => last}} = user) do %{user | name: %{first: first, last: last}} end def decode(value), do: value end end defmodule T...
23.555556
70
0.648585
9ed57055f6487e7cbdbbbf630f650d74dc77ad7c
1,871
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/program.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/program.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/program.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...
34.648148
175
0.728487
9ed57b4c32a4dbdf7798a150b086883cd509c54e
547
exs
Elixir
apps/management/mix.exs
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/management/mix.exs
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/management/mix.exs
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Management.MixProject do use Mix.Project def project do [ app: :management, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", start_permanent: Mix...
17.645161
45
0.499086
9ed59f3bb6023258907f7a8860ba73b40189fe28
1,251
ex
Elixir
lib/entice/web/endpoint.ex
hoodaly/web
852f4c3da5b1f248d08206b58cd58981e76f6899
[ "WTFPL" ]
null
null
null
lib/entice/web/endpoint.ex
hoodaly/web
852f4c3da5b1f248d08206b58cd58981e76f6899
[ "WTFPL" ]
null
null
null
lib/entice/web/endpoint.ex
hoodaly/web
852f4c3da5b1f248d08206b58cd58981e76f6899
[ "WTFPL" ]
null
null
null
defmodule Entice.Web.Endpoint do use Phoenix.Endpoint, otp_app: :entice_web socket "/socket", Entice.Web.Socket plug Plug.Static, at: "/", from: :entice_web, gzip: false, only: ~w(css fonts images js favicon.ico robots.txt) # Code reloading can be explicitly enabled under the # :code_reloader con...
24.529412
72
0.721823
9ed5bfd8ba34fa2efc7d1cac02c120bb86eee113
1,131
exs
Elixir
config/config.exs
kevsmith/usgov_data
5c5365f40f191e70480a76e83a53c2d03965ace2
[ "BSD-2-Clause" ]
null
null
null
config/config.exs
kevsmith/usgov_data
5c5365f40f191e70480a76e83a53c2d03965ace2
[ "BSD-2-Clause" ]
null
null
null
config/config.exs
kevsmith/usgov_data
5c5365f40f191e70480a76e83a53c2d03965ace2
[ "BSD-2-Clause" ]
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.483871
73
0.751547
9ed5d380742d43645e77ab1b00099e82e70587ec
1,659
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/submit_config_source_response.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/submit_config_source_response.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/submit_config_source_response.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "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...
34.5625
95
0.768535
9ed64874661b6e7449ef5d73da14c02b20e7ef74
3,206
exs
Elixir
test/map_test.exs
MikaAK/riak-elixir-client
c58700ec30a451a46b226a09387144becc47d5ae
[ "Apache-2.0" ]
193
2015-01-04T15:36:15.000Z
2022-03-17T21:31:57.000Z
test/map_test.exs
MikaAK/riak-elixir-client
c58700ec30a451a46b226a09387144becc47d5ae
[ "Apache-2.0" ]
51
2015-02-12T02:32:23.000Z
2020-09-22T11:10:56.000Z
test/map_test.exs
MikaAK/riak-elixir-client
c58700ec30a451a46b226a09387144becc47d5ae
[ "Apache-2.0" ]
54
2015-03-05T01:10:33.000Z
2021-09-27T10:40:26.000Z
defmodule Riak.CRDT.MapTest do require IEx use Riak.Case alias Riak.CRDT.Map alias Riak.CRDT.Register alias Riak.CRDT.Flag alias Riak.CRDT.Counter alias Riak.CRDT.Set @moduletag :riak2 test "create, update and find a map with other CRDTs" do key = Riak.Helper.random_key reg_data = "Register...
25.046875
87
0.616344
9ed6629b88f05531d4dd21dfd73dd75a6ffe9a69
781
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/load_balancer_probe_list_result.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.Network/lib/microsoft/azure/management/network/model/load_balancer_probe_list_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/load_balancer_probe_list_result.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.Network.Model.LoadBalancerProbeListResult do @moduledoc """ Response for ListProbe API service call. """ @deri...
26.033333
100
0.724712
9ed6746a6afb4b64bfc7f7721bd9dff2519be617
5,384
ex
Elixir
lib/excoveralls/local.ex
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
null
null
null
lib/excoveralls/local.ex
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
null
null
null
lib/excoveralls/local.ex
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
2
2019-03-15T08:12:53.000Z
2019-06-11T11:34:04.000Z
defmodule ExCoveralls.Local do @moduledoc """ Locally displays the result to screen. """ defmodule Count do @moduledoc """ Stores count information for calculating coverage values. """ defstruct lines: 0, relevant: 0, covered: 0 end @doc """ Provides an entry point for the module. """...
27.191919
111
0.603083
9ed694011bebcc9f8596516b91767d8909c66b0d
1,084
exs
Elixir
config/config.exs
seanbreckenridge/glue
60cbe6478be27572de6c6d5276a806b5940ffcbc
[ "Apache-2.0" ]
5
2020-07-04T12:18:58.000Z
2022-01-13T22:35:40.000Z
config/config.exs
seanbreckenridge/glue
60cbe6478be27572de6c6d5276a806b5940ffcbc
[ "Apache-2.0" ]
37
2020-07-20T23:35:56.000Z
2022-03-19T02:13:16.000Z
config/config.exs
seanbreckenridge/glue
60cbe6478be27572de6c6d5276a806b5940ffcbc
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :glue, ecto_repos: [Glue.Repo] # impor...
30.971429
86
0.76845
9ed6a56c42f38d6a1b37deab393b8b4e1131d0b8
1,859
exs
Elixir
test/domo/interactive_type_registration_test.exs
BasileNouvellet/Domo
43617a8e14880853058ea6c5b20944506ade9af0
[ "MIT" ]
null
null
null
test/domo/interactive_type_registration_test.exs
BasileNouvellet/Domo
43617a8e14880853058ea6c5b20944506ade9af0
[ "MIT" ]
null
null
null
test/domo/interactive_type_registration_test.exs
BasileNouvellet/Domo
43617a8e14880853058ea6c5b20944506ade9af0
[ "MIT" ]
null
null
null
defmodule Domo.InteractiveTypeRegistrationTest do use Domo.FileCase, async: false use Placebo alias Domo.CodeEvaluation alias Domo.TypeEnsurerFactory @moduletag in_mix_compile?: false setup tags do ResolverTestHelper.disable_raise_in_test_env() allow CodeEvaluation.in_mix_compile?(any()), meck_op...
29.046875
118
0.713825
9ed6c0fe855fca6bbbf91896dc99c501a02c0bb9
1,690
ex
Elixir
test/support/conn_case.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
test/support/conn_case.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
test/support/conn_case.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule CritWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the t...
28.644068
70
0.707692
9ed6ff793eb74e20d7a8fe26ee324d3d5833f38b
233
ex
Elixir
farmbot_core/lib/farmbot_core/asset/box_led.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
farmbot_core/lib/farmbot_core/asset/box_led.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
farmbot_core/lib/farmbot_core/asset/box_led.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotCore.Asset.BoxLed do @moduledoc """ """ defstruct [:id] defimpl String.Chars, for: FarmbotCore.Asset.BoxLed do def to_string(%FarmbotCore.Asset.BoxLed{id: id}) do "BoxLed #{id}" end end end
17.923077
56
0.665236
9ed70e193480fafec290d902965252a4728e85b4
383
ex
Elixir
lib/senti_web/views/user_view.ex
jeepers3327/senti
2e346759d8a8704f11364a835b6b9cd00a52c640
[ "MIT" ]
null
null
null
lib/senti_web/views/user_view.ex
jeepers3327/senti
2e346759d8a8704f11364a835b6b9cd00a52c640
[ "MIT" ]
null
null
null
lib/senti_web/views/user_view.ex
jeepers3327/senti
2e346759d8a8704f11364a835b6b9cd00a52c640
[ "MIT" ]
null
null
null
defmodule SentiWeb.UserView do use SentiWeb, :view alias SentiWeb.UserView def render("index.json", %{users: users}) do %{data: render_many(users, UserView, "user.json")} end def render("show.json", %{user: user}) do %{data: render_one(user, UserView, "user.json")} end def render("user.json", %...
22.529412
54
0.650131
9ed71c5fa44b936e9d5d92d75c6f67cba2eb7792
978
ex
Elixir
lib/code_runner/application.ex
harfangk/code_runner
7faa945230f16f64cb1d1f0e8977bc128ebb7ac8
[ "MIT" ]
2
2017-12-20T15:43:53.000Z
2018-07-12T09:47:25.000Z
lib/code_runner/application.ex
harfangk/code_runner
7faa945230f16f64cb1d1f0e8977bc128ebb7ac8
[ "MIT" ]
null
null
null
lib/code_runner/application.ex
harfangk/code_runner
7faa945230f16f64cb1d1f0e8977bc128ebb7ac8
[ "MIT" ]
null
null
null
defmodule CodeRunner.Application do @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec, warn: false poolboy_config = [ name: {:local, pool_name()}, worker_module: CodeRunner.Worker, size: pool_size(), max_overflow: pool_overflow(), ] chil...
21.733333
64
0.655419
9ed72426178c38f8f9d7b1800c044b43ff911b84
3,392
ex
Elixir
lib/wobserver/util/metrics/prometheus.ex
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
984
2017-02-06T17:13:48.000Z
2022-03-18T22:46:55.000Z
lib/wobserver/util/metrics/prometheus.ex
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
52
2017-02-13T16:12:10.000Z
2021-04-08T22:31:28.000Z
lib/wobserver/util/metrics/prometheus.ex
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
74
2017-02-13T15:23:49.000Z
2021-07-30T07:43:27.000Z
defmodule Wobserver.Util.Metrics.Prometheus do @moduledoc ~S""" Prometheus formatter. Formats metrics in a for Prometheus readable way. See: [https://prometheus.io/docs/instrumenting/writing_exporters/](https://prometheus.io/docs/instrumenting/writing_exporters/) """ @behaviour Wobserver.Util.Metrics.Form...
27.136
157
0.625295
9ed72c426f0d8f96df2f1478cc0c8af84eb2ade4
74
exs
Elixir
test/input_parser_test.exs
Frost/eh
52213603e94f15a58612fb8fd100d08de1230a5b
[ "Apache-2.0" ]
20
2015-03-18T21:59:04.000Z
2021-07-14T02:00:53.000Z
test/input_parser_test.exs
Frost/eh
52213603e94f15a58612fb8fd100d08de1230a5b
[ "Apache-2.0" ]
1
2015-04-20T06:06:16.000Z
2015-04-20T06:28:58.000Z
test/input_parser_test.exs
Frost/eh
52213603e94f15a58612fb8fd100d08de1230a5b
[ "Apache-2.0" ]
4
2015-04-19T21:12:11.000Z
2018-05-10T17:08:37.000Z
defmodule InputParserTest do use ExUnit.Case doctest InputParser end
12.333333
28
0.810811
9ed756355759180c9c31c4a1e472d26929768eab
5,097
exs
Elixir
test/filter/filter_interaction_test.exs
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
test/filter/filter_interaction_test.exs
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
test/filter/filter_interaction_test.exs
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
defmodule Ash.Test.Filter.FilterInteractionTest do use ExUnit.Case, async: false import Ash.Changeset import ExUnit.CaptureLog alias Ash.DataLayer.Mnesia require Ash.Query defmodule Profile do @moduledoc false use Ash.Resource, data_layer: Ash.DataLayer.Ets ets do private?(true) e...
20.066929
97
0.5825
9ed76719079c5c1197f2620c233381e48052bbdf
896
exs
Elixir
Task_4/flights/test/flights_stm_test.exs
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
Task_4/flights/test/flights_stm_test.exs
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
Task_4/flights/test/flights_stm_test.exs
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
defmodule FlightsStmTest do use ExUnit.Case doctest FlightsStm test "search a specific flight" do assert length(FlightsStm.search_flights("BOG", "MAD")) == 2 end test "reserve a flight" do rand_flight = Enum.random(:mnesia.dirty_all_keys(Flights)) {_, {:ok, [_, _, _, _, num]}} = FlightsStm.reser...
29.866667
74
0.674107
9ed7ac639323db61ae142986c664bcfbedc1085b
1,584
ex
Elixir
clients/webmaster/lib/google_api/webmaster/v3/model/sitemaps_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/webmaster/lib/google_api/webmaster/v3/model/sitemaps_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/webmaster/lib/google_api/webmaster/v3/model/sitemaps_list_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...
33.702128
170
0.746843
9ed7e1e7803f34e494d447b180c91ef492a0d1ee
1,018
ex
Elixir
test/support/conn_case.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
1
2017-08-08T13:22:23.000Z
2017-08-08T13:22:23.000Z
test/support/conn_case.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
test/support/conn_case.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
defmodule WhoWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the tes...
26.102564
65
0.714145
9ed7ff8cba5ef434f9bf6e7e5d549447f93ad0a9
1,193
exs
Elixir
mix.exs
devstopfix/excheck
c8cbf457e9bf7c13a0a4b70c60c8e02495ff53a1
[ "MIT" ]
null
null
null
mix.exs
devstopfix/excheck
c8cbf457e9bf7c13a0a4b70c60c8e02495ff53a1
[ "MIT" ]
null
null
null
mix.exs
devstopfix/excheck
c8cbf457e9bf7c13a0a4b70c60c8e02495ff53a1
[ "MIT" ]
null
null
null
defmodule ExCheck.Mixfile do use Mix.Project def project do [ app: :excheck, name: "ExCheck", source_url: "https://github.com/devstopfix/excheck", homepage_url: "https://github.com/parroty/ExCheck.git", version: "0.7.6", elixir: "~> 1.5", deps: deps(), descriptio...
22.092593
74
0.545683
9ed806323358ceaff73104a7de6743d8b4754abb
310
ex
Elixir
lib/uro_web/pow/routes.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
lib/uro_web/pow/routes.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
lib/uro_web/pow/routes.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule UroWeb.Pow.Routes do use Pow.Phoenix.Routes alias UroWeb.Router.Helpers, as: Routes def session_path(conn, verb, query_params \\ []), do: Routes.signin_path(conn, verb, query_params) def registration_path(conn, verb, query_params \\ []), do: Routes.signup_path(conn, verb, query_params) end
38.75
105
0.751613
9ed822e3fa5afa1d064bd4e94906af3d89a91b2c
544
exs
Elixir
benchmark/mix.exs
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
561
2019-03-18T09:10:57.000Z
2022-03-27T17:34:59.000Z
benchmark/mix.exs
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
94
2019-03-20T09:34:38.000Z
2022-02-27T20:44:04.000Z
benchmark/mix.exs
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
112
2019-03-25T03:27:26.000Z
2022-03-21T12:43:59.000Z
defmodule Benchmark.MixProject do use Mix.Project def project do [ app: :benchmark, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra...
18.758621
68
0.582721