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
f7f2d34a59fa5dce753315c7c88ad18238ac0258
2,897
ex
Elixir
lib/exchange_api_web/live/order_book_live.ex
realyarilabs/exchange_api
c7dd9af9356277a022b164675cc1622359af8a76
[ "Apache-2.0" ]
3
2020-08-10T10:09:26.000Z
2020-08-28T08:41:36.000Z
lib/exchange_api_web/live/order_book_live.ex
realyarilabs/exchange_api
c7dd9af9356277a022b164675cc1622359af8a76
[ "Apache-2.0" ]
30
2020-08-17T10:38:24.000Z
2022-02-28T07:06:42.000Z
lib/exchange_api_web/live/order_book_live.ex
realyarilabs/exchange_api
c7dd9af9356277a022b164675cc1622359af8a76
[ "Apache-2.0" ]
1
2020-09-17T13:08:47.000Z
2020-09-17T13:08:47.000Z
defmodule ExchangeApiWeb.OrderBookLive do @moduledoc false use ExchangeApiWeb, :live_view alias ExchangeApiWeb.Ticker def mount(%{"ticker" => ticker}, _session, socket) do if connected?(socket), do: :timer.send_interval(1000, self(), :tick) {:ok, tick} = Ticker.get_ticker(ticker) {:ok, open_orders...
39.684932
81
0.698309
f7f34b92c7b7677ed0e3856ea8e2bea65a24cef5
205
ex
Elixir
lib/oli_web/plugs/set_live_csrf.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli_web/plugs/set_live_csrf.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli_web/plugs/set_live_csrf.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule OliWeb.SetLiveCSRF do import Plug.Conn, only: [put_session: 3] def init(_opts), do: nil def call(conn, _opts), do: put_session(conn, :csrf_token, Phoenix.Controller.get_csrf_token()) end
25.625
96
0.741463
f7f36ed85a229318d15e4b1e0d2ab55edc1a927e
1,075
exs
Elixir
mix.exs
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
mix.exs
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
mix.exs
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
defmodule Canvas.MixProject do use Mix.Project def project do [ app: :canvas, version: "0.0.1", elixir: "~> 1.10", description: "Elixir client for the Canvas LMS API", start_permanent: Mix.env() == :prod, package: package(), deps: deps() ] end # Run "mix help ...
22.87234
73
0.531163
f7f39d86d035dfc71ac3198bc0993b728666c91f
372
ex
Elixir
mysite/web/views/error_view.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
mysite/web/views/error_view.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
mysite/web/views/error_view.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
defmodule Mysite.ErrorView do use Mysite.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template, a...
20.666667
47
0.696237
f7f3c93d7fcf2f0913ec3534c3d34eb14525130a
10,702
exs
Elixir
test/mongooseice/udp/allocate_test.exs
glassechidna/MongooseICE
c2ea99f47460fd7293b51eaa72fbce122a60affe
[ "Apache-2.0" ]
null
null
null
test/mongooseice/udp/allocate_test.exs
glassechidna/MongooseICE
c2ea99f47460fd7293b51eaa72fbce122a60affe
[ "Apache-2.0" ]
null
null
null
test/mongooseice/udp/allocate_test.exs
glassechidna/MongooseICE
c2ea99f47460fd7293b51eaa72fbce122a60affe
[ "Apache-2.0" ]
null
null
null
defmodule MongooseICE.UDP.AllocateTest do use ExUnit.Case use Helper.Macros alias Helper.UDP alias Jerboa.Params alias Jerboa.Format alias Jerboa.Format.Body.Attribute.{XORMappedAddress, Lifetime, XORRelayedAddress, ErrorCode, Requ...
33.236025
97
0.590264
f7f420938c65c14390195443e249b31e3f443a43
1,000
ex
Elixir
apps/concierge_site/lib/controllers/digest_feedback_controller.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/lib/controllers/digest_feedback_controller.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/lib/controllers/digest_feedback_controller.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.DigestFeedbackController do use ConciergeSite.Web, :controller alias ConciergeSite.DigestFeedback alias DigestFeedback.DigestRating, as: DigestRating alias DigestFeedback.DigestRatingReason, as: DigestRatingReason def feedback(conn, params) do case DigestFeedback.parse_digest_rati...
33.333333
75
0.699
f7f440efeb84f169b68f6b68dea7c2cbfb6b796f
200
exs
Elixir
pop_kube/test/pop_kube_web/controllers/page_controller_test.exs
pastleo/k8s-challenge-2021
83e4403344292e1de53ef901cf2c3457bbeb24dd
[ "MIT" ]
1
2022-01-10T14:55:55.000Z
2022-01-10T14:55:55.000Z
pop_kube/test/pop_kube_web/controllers/page_controller_test.exs
pastleo/k8s-challenge-2021
83e4403344292e1de53ef901cf2c3457bbeb24dd
[ "MIT" ]
null
null
null
pop_kube/test/pop_kube_web/controllers/page_controller_test.exs
pastleo/k8s-challenge-2021
83e4403344292e1de53ef901cf2c3457bbeb24dd
[ "MIT" ]
null
null
null
defmodule PopKubeWeb.PageControllerTest do use PopKubeWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.222222
60
0.68
f7f458f8c8327f30b60a54e21b5b6491a660c723
7,164
exs
Elixir
test/absinthe/schema/notation/experimental/import_sdl_test.exs
RadekMolenda/absinthe
9ca4d391c76df701174b3b306a9dec021c74008e
[ "MIT" ]
null
null
null
test/absinthe/schema/notation/experimental/import_sdl_test.exs
RadekMolenda/absinthe
9ca4d391c76df701174b3b306a9dec021c74008e
[ "MIT" ]
null
null
null
test/absinthe/schema/notation/experimental/import_sdl_test.exs
RadekMolenda/absinthe
9ca4d391c76df701174b3b306a9dec021c74008e
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.Notation.Experimental.ImportSdlTest do use Absinthe.Case import ExperimentalNotationHelpers @moduletag :experimental @moduletag :sdl defmodule WithFeatureDirective do use Absinthe.Schema.Prototype directive :feature do arg :name, non_null(:string) on [:interfac...
26.63197
96
0.61502
f7f4700a1748d5c4d755632033b2bd259e8dae6e
89
ex
Elixir
lib/planner/web/views/todo_list_view.ex
sprql/planner
9f42b34dc511bfe1668b7092d0a68924b9dc9501
[ "MIT" ]
null
null
null
lib/planner/web/views/todo_list_view.ex
sprql/planner
9f42b34dc511bfe1668b7092d0a68924b9dc9501
[ "MIT" ]
null
null
null
lib/planner/web/views/todo_list_view.ex
sprql/planner
9f42b34dc511bfe1668b7092d0a68924b9dc9501
[ "MIT" ]
null
null
null
defmodule Planner.Web.TodoListView do use Planner.Web, :view alias Planner.Todo end
14.833333
37
0.775281
f7f4932f36ca7b8a01c394fa8c05b3a3a75247ed
950
exs
Elixir
mix.exs
kacperduras/pixelconversionserver
e8a170411395ce9d787b20d0bde775c8babe8b6a
[ "MIT" ]
1
2021-06-26T14:18:35.000Z
2021-06-26T14:18:35.000Z
mix.exs
mypolitics/pixelconversionserver
e8a170411395ce9d787b20d0bde775c8babe8b6a
[ "MIT" ]
null
null
null
mix.exs
mypolitics/pixelconversionserver
e8a170411395ce9d787b20d0bde775c8babe8b6a
[ "MIT" ]
2
2021-06-20T23:29:35.000Z
2021-06-20T23:52:12.000Z
defmodule PixelConversionServer.MixProject do use Mix.Project def project do [ app: :pixelconversionserver, version: "1.0.1", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), escript: escript() ] end def application do applications = [:logge...
21.590909
102
0.544211
f7f49ae52d2e265fa6c1e4f28b121f75e417ef1d
131
ex
Elixir
lib/inventory_management/repo.ex
web2solutions/inventory_management
5ade39c983e344caa53db5fe4eb0684ba08b5dd1
[ "MIT" ]
null
null
null
lib/inventory_management/repo.ex
web2solutions/inventory_management
5ade39c983e344caa53db5fe4eb0684ba08b5dd1
[ "MIT" ]
null
null
null
lib/inventory_management/repo.ex
web2solutions/inventory_management
5ade39c983e344caa53db5fe4eb0684ba08b5dd1
[ "MIT" ]
null
null
null
defmodule InventoryManagement.Repo do use Ecto.Repo, otp_app: :inventory_management, adapter: Ecto.Adapters.Postgres end
21.833333
37
0.778626
f7f4b4cc60873167acc657f9ad7e8e34e93b3e48
928
exs
Elixir
test/rolodex/config_test.exs
hauleth/rolodex
405749d2e845a2c4259b12ebc266680039aa1cef
[ "MIT" ]
null
null
null
test/rolodex/config_test.exs
hauleth/rolodex
405749d2e845a2c4259b12ebc266680039aa1cef
[ "MIT" ]
null
null
null
test/rolodex/config_test.exs
hauleth/rolodex
405749d2e845a2c4259b12ebc266680039aa1cef
[ "MIT" ]
null
null
null
defmodule Rolodex.ConfigTest do use ExUnit.Case alias Rolodex.{Config, PipelineConfig, WriterConfig} describe "#new/1" do test "It parses nested writer config into a struct to set defaults" do default_config = Config.new() default_writer_config = WriterConfig.new() assert match?(%Config{w...
26.514286
92
0.607759
f7f4be04760e95cfc7b9fe69e5d55b5f4045dc3f
8,366
ex
Elixir
lib/livebook_cli/server.ex
oo6/livebook
0e059f4f840a56c122266a62cc8fdb3b97920efc
[ "Apache-2.0" ]
null
null
null
lib/livebook_cli/server.ex
oo6/livebook
0e059f4f840a56c122266a62cc8fdb3b97920efc
[ "Apache-2.0" ]
null
null
null
lib/livebook_cli/server.ex
oo6/livebook
0e059f4f840a56c122266a62cc8fdb3b97920efc
[ "Apache-2.0" ]
null
null
null
defmodule LivebookCLI.Server do @moduledoc false @behaviour LivebookCLI.Task @external_resource "README.md" [_, environment_variables, _] = "README.md" |> File.read!() |> String.split("<!-- Environment variables -->") @environment_variables String.trim(environment_variables) @impl true de...
32.301158
153
0.639254
f7f4d44ce7e67f3e398d17845527bbf312951b0b
2,298
ex
Elixir
lib/example_16_web/telemetry.ex
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
lib/example_16_web/telemetry.ex
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
lib/example_16_web/telemetry.ex
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
defmodule Example16Web.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Lear...
31.916667
88
0.656223
f7f4dbf921bdc9be7b57420633ac75ae2506070b
1,586
ex
Elixir
plugins/ucc_chat/lib/ucc_chat/robot/adapters/ucx_chat.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat/robot/adapters/ucx_chat.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat/robot/adapters/ucx_chat.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChat.Robot.Adapters.UccChat do use Hedwig.Adapter alias UccChat.Robot.Adapters.UccChat.{Connection} @doc false def init({robot, opts}) do {:ok, conn} = Connection.start(opts) # Kernel.send(self(), :connected) # {:ok, %{conn: conn, opts: opts, robot: robot}} Kernel.send(self(), :co...
25.580645
114
0.603405
f7f4edf4d0f5502248a4062c420c82b8493a45e8
845
ex
Elixir
apps/ins_web/lib/ins_web/application.ex
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
apps/ins_web/lib/ins_web/application.ex
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
apps/ins_web/lib/ins_web/application.ex
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
defmodule InsWeb.Application do use Application def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the application starts supervisor(InsWeb.Endpoint, []), # Start your own worker by calling:...
30.178571
84
0.712426
f7f4fd2ee32e581d2462edec494985a0a16f1dcf
4,040
exs
Elixir
integration_test/cases/query_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
null
null
null
integration_test/cases/query_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
null
null
null
integration_test/cases/query_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
null
null
null
defmodule Wallaby.Integration.QueryTest do use Wallaby.Integration.SessionCase, async: true test "the driver can execute queries", %{session: session} do elements = session |> Browser.visit("/") |> Browser.find(Query.css("#child")) assert elements != "Failure" end test "disregards e...
28.055556
100
0.619554
f7f4fdf6d29bd20fe3c8b3da5f8fa8f8c4fffd7a
61
ex
Elixir
web_finngen_r8/lib/risteys_web/views/home_view.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/lib/risteys_web/views/home_view.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/lib/risteys_web/views/home_view.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule RisteysWeb.HomeView do use RisteysWeb, :view end
15.25
32
0.803279
f7f508082a3b09cad3a6c36afeee41895b0a9265
1,997
ex
Elixir
lib/serum/project_info.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
lib/serum/project_info.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
lib/serum/project_info.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
defmodule Serum.ProjectInfo do @moduledoc """ This module defines a struct for storing Serum project metadata. """ import Serum.Util @accepted_keys [ "site_name", "site_description", "base_url", "author", "author_email", "date_format", "preview_length", "list_title_all", "list_title_tag", "pagin...
27.736111
75
0.620931
f7f52067824da9fe60474b07c90779c2bf23c83c
4,817
exs
Elixir
test/trento/application/usecases/hosts_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
test/trento/application/usecases/hosts_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
test/trento/application/usecases/hosts_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.HostsTest do use ExUnit.Case use Trento.DataCase import Trento.Factory alias Trento.Hosts alias Trento.Repo alias Trento.SlesSubscriptionReadModel @moduletag :integration describe "SLES Subscriptions" do test "No SLES4SAP Subscriptions detected" do assert 0 = Repo.all(Sle...
28.335294
88
0.556778
f7f52459cad6d78a4c1add65add16f3a9b0624d2
23,618
ex
Elixir
lib/elixir/lib/process.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/process.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/process.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
defmodule Process do @moduledoc """ Conveniences for working with processes and the process dictionary. Besides the functions available in this module, the `Kernel` module exposes and auto-imports some basic functionality related to processes available through the following functions: * `Kernel.spawn/1`...
29.934094
118
0.666737
f7f5260a246168ebd643024c7c0e19e443814022
380
exs
Elixir
test/covid19_questionnaire_web/controllers/token_controller/create_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
3
2020-04-08T19:15:22.000Z
2020-05-24T22:37:54.000Z
test/covid19_questionnaire_web/controllers/token_controller/create_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
10
2020-04-05T17:31:49.000Z
2020-06-10T11:09:17.000Z
test/covid19_questionnaire_web/controllers/token_controller/create_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
null
null
null
defmodule Covid19QuestionnaireWeb.TokenController.CreateTest do use Covid19QuestionnaireWeb.ConnCase, async: true test "création d'un token", %{conn: conn, spec: spec} do body = conn |> post("/token") |> response(201) |> Jason.decode!() assert_schema(body, "TokenResponse", spec) ...
25.333333
63
0.655263
f7f5285a111b688c34fa9fe8672d3e224605a409
660
ex
Elixir
web/controllers/session_controller.ex
ajrob27/elixir-practice-rumbl
55573bea782a0d4f56fbaf2995bee985fa0fe3be
[ "MIT" ]
1
2016-09-19T01:31:35.000Z
2016-09-19T01:31:35.000Z
web/controllers/session_controller.ex
ajrob27/elixir-practice-rumbl
55573bea782a0d4f56fbaf2995bee985fa0fe3be
[ "MIT" ]
null
null
null
web/controllers/session_controller.ex
ajrob27/elixir-practice-rumbl
55573bea782a0d4f56fbaf2995bee985fa0fe3be
[ "MIT" ]
null
null
null
defmodule Rumbl.SessionController do use Rumbl.Web, :controller def new(conn, _) do render conn, "new.html" end def create(conn, %{"session" => %{"username" => user, "password" => pass}}) do case Rumbl.Auth.login_by_username_and_pass(conn, user, pass, repo: ...
28.695652
70
0.524242
f7f564183e19a83a0478f97758e927a6d7001219
534
ex
Elixir
exercises/concept/boutique-inventory/lib/boutique_inventory.ex
kwchang0831/elixir
1b21ae1ca610de97db79e76db890503ba75ce466
[ "MIT" ]
null
null
null
exercises/concept/boutique-inventory/lib/boutique_inventory.ex
kwchang0831/elixir
1b21ae1ca610de97db79e76db890503ba75ce466
[ "MIT" ]
null
null
null
exercises/concept/boutique-inventory/lib/boutique_inventory.ex
kwchang0831/elixir
1b21ae1ca610de97db79e76db890503ba75ce466
[ "MIT" ]
null
null
null
defmodule BoutiqueInventory do def sort_by_price(inventory) do # Please implement the sort_by_price/1 function end def with_missing_price(inventory) do # Please implement the with_missing_price/1 function end def update_names(inventory, old_word, new_word) do # Please implement the update_names/...
24.272727
56
0.76779
f7f5770ec2145721b1478ab1c39044630c5de2fb
121
ex
Elixir
lib/karibuex/msg/response.ex
yanovitchsky/karibu_ex
85349c6dcda74c90db7fda8b9164680c6103eb49
[ "MIT" ]
null
null
null
lib/karibuex/msg/response.ex
yanovitchsky/karibu_ex
85349c6dcda74c90db7fda8b9164680c6103eb49
[ "MIT" ]
null
null
null
lib/karibuex/msg/response.ex
yanovitchsky/karibu_ex
85349c6dcda74c90db7fda8b9164680c6103eb49
[ "MIT" ]
null
null
null
defmodule Karibuex.Msg.Response do def encode(id, error, result) do Msgpax.pack!([1, id, error, result]) end end
20.166667
40
0.694215
f7f57af64fa1c3a0d4884f169afd0023b4fea985
7,741
ex
Elixir
lib/ucx_ucc/ucc_model.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc/ucc_model.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc/ucc_model.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccModel do @moduledoc """ Model abstraction for UcxUcc. """ defmacro __using__(opts) do quote do opts = unquote(opts) @repo opts[:repo] || UcxUcc.Repo @schema opts[:schema] || raise(":schema option required") @type id :: integer | String.t import Ecto.Query, warn...
26.419795
86
0.509107
f7f58494ea2ed12b17d1c870e8027a00e90f919d
1,488
exs
Elixir
test/wobserver2/util/helper_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
test/wobserver2/util/helper_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
test/wobserver2/util/helper_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
defmodule Wobserver2.Util.HelperTest do use ExUnit.Case alias Wobserver2.Util.Helper alias Wobserver2.Util.Process describe "string_to_module" do test "returns module name without dots" do assert Helper.string_to_module("Logger") == Logger end test "returns module name with dots" do a...
24.393443
79
0.639785
f7f5be77fb2c9284a7629ee5b8fe6e9af086f76f
368
exs
Elixir
exercises/sum-of-multiples/example.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/sum-of-multiples/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/sum-of-multiples/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule SumOfMultiples do @doc """ Adds up all numbers from 1 to a given end number that are multiples of the factors provided. """ @spec to(non_neg_integer, [non_neg_integer]) :: non_neg_integer def to(limit, factors) do Enum.reduce(1..limit-1, 0, fn(n, acc) -> if Enum.any?(factors, &(rem(n, &1)...
28.307692
94
0.652174
f7f5d169aad9e8e844bdc37c92507e4d0ea29545
583
exs
Elixir
apps/bookmarker/test/views/error_view_test.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/bookmarker/test/views/error_view_test.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/bookmarker/test/views/error_view_test.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Bookmarker.ErrorViewTest do use Bookmarker.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(Bookmarker.ErrorView, "404.html", []) == "Page not found" end test "render 500....
26.5
68
0.684391
f7f62b19ebef0b5991e8b3397002f8a1efa72ea4
3,609
ex
Elixir
lib/ex_aws/request.ex
bettyblocks/ex_aws
0c9b43b5a1afbfb5fb26131be7f80f69de4431d1
[ "MIT", "Unlicense" ]
null
null
null
lib/ex_aws/request.ex
bettyblocks/ex_aws
0c9b43b5a1afbfb5fb26131be7f80f69de4431d1
[ "MIT", "Unlicense" ]
null
null
null
lib/ex_aws/request.ex
bettyblocks/ex_aws
0c9b43b5a1afbfb5fb26131be7f80f69de4431d1
[ "MIT", "Unlicense" ]
1
2021-01-22T12:16:23.000Z
2021-01-22T12:16:23.000Z
defmodule ExAws.Request do require Logger @moduledoc """ Makes requests to AWS. """ @type http_status :: pos_integer @type success_content :: %{body: binary, headers: [{binary, binary}]} @type success_t :: {:ok, success_content} @type error_t :: {:error, {:http_error, http_status, binary}} @type res...
35.382353
119
0.635633
f7f6455dbea175bb76b0349dc8ddc22c36d2f46b
621
ex
Elixir
clients/kratos/elixir/lib/ory/model/submit_self_service_verification_flow_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/model/submit_self_service_verification_flow_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/model/submit_self_service_verification_flow_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.SubmitSelfServiceVerificationFlowBody do @moduledoc """ nolint:deadcode,unused """ @derive [Poison.Encoder] defstruct [ :"csr...
20.7
91
0.681159
f7f64b7d6ac7d646992b8bef5e081be65c00f715
5,356
ex
Elixir
lib/documents_design/accounts/accounts.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
lib/documents_design/accounts/accounts.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
lib/documents_design/accounts/accounts.ex
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
defmodule DocumentsDesign.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias DocumentsDesign.Repo alias DocumentsDesign.Accounts.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users do ...
21.16996
85
0.612584
f7f64d44a26b202823f31f5596f10c3206b76090
1,744
ex
Elixir
lib/harald/hci/event.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
lib/harald/hci/event.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
lib/harald/hci/event.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
defmodule Harald.HCI.Event do @moduledoc """ Serialization module for HCI Events. > The HCI Event Packet is used by the Controller to notify the Host when events occur. Reference: Version 5.0, Vol 2, Part E, 5.4.4 """ alias Harald.HCI.Event.{InquiryComplete, LEMeta} alias Harald.Serializable @behavi...
24.914286
96
0.666284
f7f65e6dfb42aee501fbfb48c5ac7f18468a01ef
544
exs
Elixir
test/north/scope_test.exs
camcaine/north
d1193d3cdab219a2b91136cf2c4938f30d0a9c86
[ "MIT" ]
null
null
null
test/north/scope_test.exs
camcaine/north
d1193d3cdab219a2b91136cf2c4938f30d0a9c86
[ "MIT" ]
null
null
null
test/north/scope_test.exs
camcaine/north
d1193d3cdab219a2b91136cf2c4938f30d0a9c86
[ "MIT" ]
null
null
null
defmodule North.ScopeTest do use ExUnit.Case, async: true import North.Scope describe "match/3" do test "matching with wildcards" do matcher = North.Scope.Wildcard assert [[], []] = match(matcher, [], []) assert [~w(foo), []] = match(matcher, ~w(foo), ~w(foo)) assert [[], ~w(foo)] ...
27.2
86
0.575368
f7f6a115070e095c79d118ca6f1f2a75390c5507
325
ex
Elixir
apps/admin/lib/admin/views/post_view.ex
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
17
2019-01-31T18:33:09.000Z
2022-01-18T12:38:49.000Z
apps/admin/lib/admin/views/post_view.ex
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
null
null
null
apps/admin/lib/admin/views/post_view.ex
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
4
2018-11-10T01:56:17.000Z
2020-06-09T21:10:41.000Z
defmodule Admin.PostView do use Admin, :view def post_body_html(conn) do if conn.assigns[:post], do: conn.assigns[:post].body end def post_cancel_path(conn) do if conn.assigns[:post] do Routes.post_path(conn, :show, conn.assigns[:post]) else Routes.post_path(conn, :index) end end...
20.3125
56
0.673846
f7f7025c85e626d1c7bb7c46e93d1c73e8a7999a
79
ex
Elixir
apps/financial_system_web/lib/financial_system_web/views/layout_view.ex
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
null
null
null
apps/financial_system_web/lib/financial_system_web/views/layout_view.ex
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
2
2021-03-10T03:19:32.000Z
2021-09-02T04:33:17.000Z
apps/financial_system_web/lib/financial_system_web/views/layout_view.ex
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
null
null
null
defmodule FinancialSystemWeb.LayoutView do use FinancialSystemWeb, :view end
19.75
42
0.848101
f7f7037927e823eb56b514c7587206ffee3d5263
4,948
ex
Elixir
clients/policy_simulator/lib/google_api/policy_simulator/v1/model/google_cloud_policysimulator_v1_binding_explanation.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/policy_simulator/lib/google_api/policy_simulator/v1/model/google_cloud_policysimulator_v1_binding_explanation.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/policy_simulator/lib/google_api/policy_simulator/v1/model/google_cloud_policysimulator_v1_binding_explanation.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
61.08642
1,041
0.743937
f7f72265b71a070c6e062926d70b716ccd209efa
393
ex
Elixir
lib/ssdp/supervisor.ex
rosetta-home/ssdp
80bd4b75868d2605be5d497b5b9f36ac051ae459
[ "Apache-2.0" ]
1
2020-03-22T23:36:34.000Z
2020-03-22T23:36:34.000Z
lib/ssdp/supervisor.ex
rosetta-home/ssdp
80bd4b75868d2605be5d497b5b9f36ac051ae459
[ "Apache-2.0" ]
null
null
null
lib/ssdp/supervisor.ex
rosetta-home/ssdp
80bd4b75868d2605be5d497b5b9f36ac051ae459
[ "Apache-2.0" ]
null
null
null
defmodule SSDP.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok, name: __MODULE__) end def init(:ok) do children = [ supervisor(Registry, [:duplicate, SSDP.Registry, []]), supervisor(Task.Supervisor, [[name: SSDP.TaskSupervisor]]), worker(SSDP.Clie...
23.117647
65
0.671756
f7f7279968f4b1e7ee5a679d5c34545cb223803d
405
exs
Elixir
test/fish_web/views/error_view_test.exs
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
1
2021-02-09T23:49:40.000Z
2021-02-09T23:49:40.000Z
test/fish_web/views/error_view_test.exs
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
test/fish_web/views/error_view_test.exs
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
defmodule FishWeb.ErrorViewTest do use FishWeb.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(FishWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert rend...
27
89
0.725926
f7f748968e27d66382fd097aa07d37d7d2ceb2d1
98
exs
Elixir
pattern_matching.exs
ariarijp/elixir-crash-course
f63502a2bb59e3a3e1ce6c62c595fbf75c0462c0
[ "MIT" ]
1
2016-09-22T03:47:46.000Z
2016-09-22T03:47:46.000Z
pattern_matching.exs
ariarijp/elixir-crash-course
f63502a2bb59e3a3e1ce6c62c595fbf75c0462c0
[ "MIT" ]
null
null
null
pattern_matching.exs
ariarijp/elixir-crash-course
f63502a2bb59e3a3e1ce6c62c595fbf75c0462c0
[ "MIT" ]
null
null
null
def loop_through([h|t]) do IO.inspect h loop_through t end def loop_through([]) do :ok end
10.888889
26
0.683673
f7f758177eafec98bfb7f2e2d4ab7d27c2d7104b
963
ex
Elixir
lib/media_server_web/live/home_live/index.ex
midarrlabs/midarr-server
f12c6347e41a96517bbb5ed1ad12b65d10b8d30a
[ "MIT" ]
538
2022-02-02T21:46:52.000Z
2022-03-29T20:50:34.000Z
lib/media_server_web/live/home_live/index.ex
midarrlabs/midarr-server
f12c6347e41a96517bbb5ed1ad12b65d10b8d30a
[ "MIT" ]
48
2022-02-03T11:46:09.000Z
2022-03-31T04:44:53.000Z
lib/media_server_web/live/home_live/index.ex
midarrlabs/midarr-server
f12c6347e41a96517bbb5ed1ad12b65d10b8d30a
[ "MIT" ]
15
2022-02-03T05:55:14.000Z
2022-02-28T11:09:03.000Z
defmodule MediaServerWeb.HomeLive.Index do use MediaServerWeb, :live_view alias MediaServer.Repo alias MediaServer.Accounts alias MediaServerWeb.Repositories.Movies alias MediaServerWeb.Repositories.Series @impl true def mount(_params, session, socket) do { :ok, socket |> assign(pa...
26.75
98
0.676012
f7f75828ffb258dfdfee4e8d42acbb58c8f83de7
527
exs
Elixir
priv/repo/migrations/20201201180222_create_transactions.exs
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
priv/repo/migrations/20201201180222_create_transactions.exs
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
priv/repo/migrations/20201201180222_create_transactions.exs
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
defmodule Banking.Repo.Migrations.CreateTransactions do use Ecto.Migration def change do create table(:transactions, primary_key: false) do add :id, :uuid, primary_key: true add :amount, :decimal, precision: 15, scale: 2, null: false add :account_to, :uuid add :type, :integer, null: fal...
26.35
94
0.669829
f7f75d50ce7977731a21fb0b00e691ef7913956b
386
ex
Elixir
web/views/error_view.ex
jwdotjs/battlestation
9552cf2af11f5d5420ce90947ca58d9cca2f7c4a
[ "MIT" ]
null
null
null
web/views/error_view.ex
jwdotjs/battlestation
9552cf2af11f5d5420ce90947ca58d9cca2f7c4a
[ "MIT" ]
null
null
null
web/views/error_view.ex
jwdotjs/battlestation
9552cf2af11f5d5420ce90947ca58d9cca2f7c4a
[ "MIT" ]
null
null
null
defmodule Battlestation.ErrorView do use Battlestation.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_foun...
21.444444
47
0.707254
f7f75f6c7bb4ca7c44f02e33777bc7a659052dec
1,326
ex
Elixir
lib/coherence_assent/router.ex
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
22
2017-09-15T17:52:31.000Z
2018-10-07T02:36:27.000Z
lib/coherence_assent/router.ex
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
15
2017-11-01T15:39:37.000Z
2019-03-11T18:02:04.000Z
lib/coherence_assent/router.ex
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
9
2017-09-18T20:48:06.000Z
2018-12-05T15:24:24.000Z
defmodule CoherenceAssent.Router do @moduledoc """ Handles routing for CoherenceAssent. ## Usage Configure `lib/my_project/web/router.ex` the following way: defmodule MyProject.Router do use MyProjectWeb, :router use CoherenceAssent.Router scope "/", MyProjectWeb do p...
25.5
86
0.657617
f7f7770a1a0316fd907ba756a7ca96be7fa15ce0
4,106
ex
Elixir
lib/mastani_server/statistics/delegates/contribute.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
lib/mastani_server/statistics/delegates/contribute.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
lib/mastani_server/statistics/delegates/contribute.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Statistics.Delegate.Contribute do import Ecto.Query, warn: false import Helper.Utils import ShortMaps alias MastaniServer.Repo alias MastaniServer.Accounts.User alias MastaniServer.CMS.Community alias MastaniServer.Statistics.{UserContribute, CommunityContribute} alias Helper.{O...
28.317241
96
0.649537
f7f77eebbd16474cb0b5878c9de8700bec57c571
4,989
exs
Elixir
test/logger_file_backend_test.exs
MisterToolbox/logger_file_backend
ee10e27a5aa792ed927cfcbaff603935c9d6e8bf
[ "MIT" ]
null
null
null
test/logger_file_backend_test.exs
MisterToolbox/logger_file_backend
ee10e27a5aa792ed927cfcbaff603935c9d6e8bf
[ "MIT" ]
null
null
null
test/logger_file_backend_test.exs
MisterToolbox/logger_file_backend
ee10e27a5aa792ed927cfcbaff603935c9d6e8bf
[ "MIT" ]
null
null
null
defmodule LoggerFileBackendTest do use ExUnit.Case, async: false require Logger @backend {LoggerFileBackend, :test} import LoggerFileBackend, only: [prune: 1, metadata_matches?: 2] # add the backend here instead of `config/test.exs` due to issue 2649 Logger.add_backend @backend setup do config [pa...
23.870813
112
0.612147
f7f7aefb824fadf01fc3dc919a32af523797ec5b
2,047
exs
Elixir
config/config.exs
raymondboswel/elixir-companies
863f6c4fe979b91abe3e15c6e3db3b41a014915f
[ "MIT" ]
null
null
null
config/config.exs
raymondboswel/elixir-companies
863f6c4fe979b91abe3e15c6e3db3b41a014915f
[ "MIT" ]
null
null
null
config/config.exs
raymondboswel/elixir-companies
863f6c4fe979b91abe3e15c6e3db3b41a014915f
[ "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 :companies, ecto_repos: [Companies.Repo] ...
29.242857
96
0.766976
f7f7c18b8ce9eaee5213f65d42024e553ffa6ecc
1,747
ex
Elixir
lib/esi.ex
bmartin2015/esi
6463d444b01c4373fbed23dad70a4206cd855153
[ "MIT" ]
15
2017-11-25T09:10:35.000Z
2021-04-26T03:09:51.000Z
lib/esi.ex
bmartin2015/esi
6463d444b01c4373fbed23dad70a4206cd855153
[ "MIT" ]
6
2018-01-19T20:14:20.000Z
2019-08-03T12:58:39.000Z
lib/esi.ex
bmartin2015/esi
6463d444b01c4373fbed23dad70a4206cd855153
[ "MIT" ]
13
2017-12-09T16:30:30.000Z
2021-12-22T21:27:37.000Z
defmodule ESI do @doc """ Execute a request. ## Arguments - `request` -- the request - `opts` -- any additional options to set on the request """ @spec request!(req :: ESI.Request.t(), opts :: ESI.Request.request_opts()) :: {:ok, any} | {:error, any} def request(req, opts \\ []) do req ...
25.691176
83
0.605037
f7f7c4bd08addd18a824ed7856a93852abb2bf7c
1,868
exs
Elixir
clients/cloud_asset/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "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...
27.880597
109
0.658994
f7f7ca5a56eb3139a5888c456a2910d55f3a93d6
12,001
ex
Elixir
lib/boundary/mix/tasks/compile/boundary.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
null
null
null
lib/boundary/mix/tasks/compile/boundary.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
null
null
null
lib/boundary/mix/tasks/compile/boundary.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.Boundary do # credo:disable-for-this-file Credo.Check.Readability.Specs use Boundary, classify_to: Boundary.Mix use Mix.Task.Compiler alias Boundary.Mix.Xref @moduledoc """ Verifies cross-module function calls according to defined boundaries. This compiler reports all cross-...
31.090674
125
0.67711
f7f7d1ff1fe562ddd8524085847d159428e0f0e5
984
ex
Elixir
examples/ohai/login_handler.ex
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
147
2015-01-12T15:05:12.000Z
2022-03-17T06:32:41.000Z
examples/ohai/login_handler.ex
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
74
2015-01-24T23:07:53.000Z
2021-04-23T14:27:43.000Z
examples/ohai/login_handler.ex
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
51
2015-02-13T21:00:38.000Z
2022-03-03T15:38:12.000Z
defmodule LoginHandler do @moduledoc """ This is an example event handler that listens for login events and then joins the appropriate channels. We actually need this because we can't join channels until we've waited for login to complete. We could just attempt to sleep until login is complete, but that's jus...
29.818182
73
0.705285
f7f7d9295f798f1cf3a1f596c2ec406d99fafd09
183
ex
Elixir
testData/org/elixir_lang/inspection/no_parentheses_strict_test_case/FunctionSpaceKeywordsInParentheses.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/inspection/no_parentheses_strict_test_case/FunctionSpaceKeywordsInParentheses.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/inspection/no_parentheses_strict_test_case/FunctionSpaceKeywordsInParentheses.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
function <error descr="unexpected parenthesis. If you are making a function call, do not insert spaces in between the function name and the opening parentheses.">(key: value)</error>
91.5
182
0.786885
f7f7e4dfff7d1f6730fad1b6fc7e45749f62ff0e
17,894
ex
Elixir
lib/elixir/lib/task/supervisor.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/elixir/lib/task/supervisor.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/elixir/lib/task/supervisor.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
defmodule Task.Supervisor do @moduledoc """ A task supervisor. This module defines a supervisor which can be used to dynamically supervise tasks. A task supervisor is started with no children, often under a supervisor and a name: children = [ {Task.Supervisor, name: MyApp.TaskSupervisor} ...
36.443992
99
0.677322
f7f8099cdab36e99519ef89e578c4920958865a9
1,588
ex
Elixir
lib/dde_iotserver_liveview_web/views/error_helpers.ex
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
lib/dde_iotserver_liveview_web/views/error_helpers.ex
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
lib/dde_iotserver_liveview_web/views/error_helpers.ex
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
defmodule DdeIotserverLiveviewWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> ...
33.083333
89
0.673804
f7f83b6b925a5d1124a77614b373c3e87f91cd67
1,815
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/connection.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query/lib/google_api/big_query/v2/connection.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/connection.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.588235
77
0.723967
f7f87a07a4873b1419275e9a9a337bc0f922850f
2,199
exs
Elixir
mix.exs
van-mronov/honeybadger-elixir
4fa5b3ada7239f54a68d78c42a4da9bf2ece3e6c
[ "MIT" ]
null
null
null
mix.exs
van-mronov/honeybadger-elixir
4fa5b3ada7239f54a68d78c42a4da9bf2ece3e6c
[ "MIT" ]
null
null
null
mix.exs
van-mronov/honeybadger-elixir
4fa5b3ada7239f54a68d78c42a4da9bf2ece3e6c
[ "MIT" ]
null
null
null
defmodule Honeybadger.Mixfile do use Mix.Project def project do [ app: :honeybadger, version: "0.10.3", elixir: "~> 1.3", consolidate_protocols: Mix.env() != :test, build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), elixirc_pat...
28.934211
105
0.58663
f7f8875ad227114a0b65dedec442e9cf66a6d591
1,023
ex
Elixir
lib/high_score/endpoint.ex
dtcristo/high-score
7dcd0a9aaf7cc89a7c268acc1ef4560fbf24c61c
[ "MIT" ]
3
2015-11-16T10:27:50.000Z
2015-11-25T02:22:57.000Z
lib/high_score/endpoint.ex
dtcristo/high-score
7dcd0a9aaf7cc89a7c268acc1ef4560fbf24c61c
[ "MIT" ]
null
null
null
lib/high_score/endpoint.ex
dtcristo/high-score
7dcd0a9aaf7cc89a7c268acc1ef4560fbf24c61c
[ "MIT" ]
null
null
null
defmodule HighScore.Endpoint do use Phoenix.Endpoint, otp_app: :high_score socket "/socket", HighScore.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.St...
25.575
69
0.713587
f7f8a474a6dcc79194fac61d39e130ee6e3cf93d
4,915
exs
Elixir
exercise_2.29.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
2
2019-08-26T13:17:27.000Z
2020-09-24T13:16:07.000Z
exercise_2.29.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
null
null
null
exercise_2.29.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
null
null
null
defmodule BinaryMobile do def make(left, right), do: [left | right] def left(mobile), do: hd mobile def right(mobile), do: tl mobile def total_weight(mobile), do: Branch.weight(left(mobile)) + Branch.weight(right(mobile)) def balanced?(n) when is_number(n), do: true def balanced?(mobile) do Branch.tor...
29.08284
93
0.686267
f7f8d1229f2edfc5b232595928f2372ad1218241
3,548
exs
Elixir
test/scenic/view_port/tables_test.exs
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
1,716
2018-09-07T21:55:43.000Z
2022-03-31T16:16:30.000Z
test/scenic/view_port/tables_test.exs
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
220
2018-09-08T01:28:00.000Z
2022-03-22T03:55:17.000Z
test/scenic/view_port/tables_test.exs
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
137
2018-09-07T21:55:56.000Z
2022-03-26T04:07:27.000Z
# # Created by Boyd Multerer on 2018-08-22. # Copyright © 2018 Kry10 Industries. All rights reserved. # # ============================================================================== defmodule Scenic.ViewPort.TablesTest do use ExUnit.Case, async: false doctest Scenic.ViewPort.Tables alias Scenic.Graph al...
35.838384
91
0.62655
f7f8edc171b913ef2f9e8385076fd3708f7656c6
1,344
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/export_dicom_data_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/export_dicom_data_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/export_dicom_data_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32
90
0.773065
f7f8f19a481777ee644b9d451f90dc9e558301c4
3,736
ex
Elixir
lib/surface/catalogue/components/prop_input.ex
treebee/surface_catalogue
fc938a81deef099e88a977d5de62c3f0e86197b8
[ "MIT" ]
null
null
null
lib/surface/catalogue/components/prop_input.ex
treebee/surface_catalogue
fc938a81deef099e88a977d5de62c3f0e86197b8
[ "MIT" ]
null
null
null
lib/surface/catalogue/components/prop_input.ex
treebee/surface_catalogue
fc938a81deef099e88a977d5de62c3f0e86197b8
[ "MIT" ]
null
null
null
defmodule Surface.Catalogue.Components.PropInput do @moduledoc false use Surface.Component alias Surface.Components.Form.{TextInput, Checkbox, Select, NumberInput} prop prop, :map prop value, :any def render(assigns) do ~H""" <div class="field is-horizontal"> <div class="field-label is-sm...
26.309859
116
0.49652
f7f9337a66fd054efea6376b6f622c01d2856e3a
991
exs
Elixir
projects/api/priv/repo/migrations/20171205225247_add_stories_table.exs
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
82
2017-11-06T01:00:55.000Z
2020-12-09T10:35:29.000Z
projects/api/priv/repo/migrations/20171205225247_add_stories_table.exs
dbstratta/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
98
2017-11-06T22:57:32.000Z
2020-07-03T04:46:39.000Z
projects/api/priv/repo/migrations/20171205225247_add_stories_table.exs
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
10
2017-11-16T05:31:58.000Z
2020-10-29T18:02:35.000Z
defmodule Margaret.Repo.Migrations.AddStoriesTable do @moduledoc false use Ecto.Migration @doc false def change do Margaret.Stories.Story.StoryAudience.create_type() Margaret.Stories.Story.StoryLicense.create_type() create table(:stories) do add(:content, :map, null: false) add(:autho...
25.410256
80
0.665994
f7f948fa10437ccce6f223e38f38b66ab84ad741
1,046
exs
Elixir
mix.exs
venndr/redbird
a17acf180083fb4190b2b4eefa8f04c886f5dbfc
[ "MIT" ]
null
null
null
mix.exs
venndr/redbird
a17acf180083fb4190b2b4eefa8f04c886f5dbfc
[ "MIT" ]
null
null
null
mix.exs
venndr/redbird
a17acf180083fb4190b2b4eefa8f04c886f5dbfc
[ "MIT" ]
null
null
null
defmodule Redbird.Mixfile do use Mix.Project @version "0.7.1" def project do [ app: :redbird, build_embedded: Mix.env() == :prod, deps: deps(), elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, version: @version, pa...
22.255319
69
0.533461
f7f9a0a4b21cfbf7024574b4e5d4c2845bf33704
480
ex
Elixir
lib/live_sup/core/widgets/team_members/worker.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup/core/widgets/team_members/worker.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup/core/widgets/team_members/worker.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSup.Core.Widgets.TeamMembers.Worker do use LiveSup.Core.Widgets.WidgetServer alias LiveSup.Core.Widgets.TeamMembers.Handler alias LiveSup.Schemas.WidgetInstance @default_title "Team Members" @impl true def public_settings, do: ["team"] @impl true def settings_keys, do: ["team"] @imp...
18.461538
52
0.727083
f7f9a98c9987347e719969a8be6a7ea5e89677c3
892
exs
Elixir
priv/repo/migrations/20210409222038_create_users_auth_tables.exs
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
1
2020-01-04T11:24:44.000Z
2020-01-04T11:24:44.000Z
priv/repo/migrations/20210409222038_create_users_auth_tables.exs
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20210409222038_create_users_auth_tables.exs
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.Repo.Migrations.CreateUsersAuthTables do use Ecto.Migration def change do execute "CREATE EXTENSION IF NOT EXISTS citext", "" create table(:users, primary_key: false) do add(:id, :uuid, primary_key: true) add :email, :citext, null: false add :hashed_password, :string, nul...
29.733333
88
0.669283
f7f9b55f5475e3943a61aa3351d2eb7c1bc6a368
3,376
ex
Elixir
lib/pixel_font/table_source/otf_layout/chained_sequence_context_1.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
17
2020-09-14T15:25:38.000Z
2022-03-05T17:14:24.000Z
lib/pixel_font/table_source/otf_layout/chained_sequence_context_1.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
1
2021-08-19T05:05:37.000Z
2021-08-19T05:05:37.000Z
lib/pixel_font/table_source/otf_layout/chained_sequence_context_1.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
null
null
null
defmodule PixelFont.TableSource.OTFLayout.ChainedSequenceContext1 do require PixelFont.Util, as: Util import Util, only: :macros alias PixelFont.Glyph alias PixelFont.TableSource.GPOSGSUB alias PixelFont.TableSource.OTFLayout.GlyphCoverage alias PixelFont.TableSource.OTFLayout.Lookup defstruct rulesets: ...
29.876106
90
0.658768
f7f9ea3fcd5f92b7e8003bbbbd103fb265f18449
1,626
exs
Elixir
router_light_ui/mix.exs
itwasscience/router_light
2c25643e43f8b670fbd1975d2eabddd3d9c3fd79
[ "MIT" ]
1
2021-04-26T12:35:03.000Z
2021-04-26T12:35:03.000Z
router_light_ui/mix.exs
itwasscience/router_light
2c25643e43f8b670fbd1975d2eabddd3d9c3fd79
[ "MIT" ]
null
null
null
router_light_ui/mix.exs
itwasscience/router_light
2c25643e43f8b670fbd1975d2eabddd3d9c3fd79
[ "MIT" ]
null
null
null
defmodule RouterLightUi.MixProject do use Mix.Project def project do [ app: :router_light_ui, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: ...
26.225806
84
0.590406
f7fa04438ac5171f17a2c6d5a4fcecba3fe92284
2,838
ex
Elixir
web/controllers/image_controller.ex
allen-garvey/artour
fce27b234d11a3e434c897b5fa3178b7c126245f
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/artour/web/controllers/image_controller.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/artour/web/controllers/image_controller.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Artour.ImageController do use Artour.Web, :controller alias Artour.Image alias Artour.Admin def index(conn, _params) do images = Admin.list_images() view = view_module(conn) put_view(conn, Artour.SharedView) |> render("index.html", items: images, item_name_singular: "image", column...
33.388235
134
0.637068
f7fa09bb7992e2bc93abe81a998409808e31081b
80
exs
Elixir
apps/poker_web/test/views/player_view_test.exs
thetamind/elixir_phoenix_poker
125faa62d52b78101fee51e4d4639c1caa8fa033
[ "MIT" ]
null
null
null
apps/poker_web/test/views/player_view_test.exs
thetamind/elixir_phoenix_poker
125faa62d52b78101fee51e4d4639c1caa8fa033
[ "MIT" ]
null
null
null
apps/poker_web/test/views/player_view_test.exs
thetamind/elixir_phoenix_poker
125faa62d52b78101fee51e4d4639c1caa8fa033
[ "MIT" ]
null
null
null
defmodule Poker.Web.PlayerViewTest do use Poker.Web.ConnCase, async: true end
20
37
0.8
f7fa28723cdb227dc8b65467902b629c68f1d98f
506
ex
Elixir
lib/elixir_lokalise_api/endpoints/key.ex
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
3
2021-06-24T14:30:31.000Z
2021-09-06T11:30:17.000Z
lib/elixir_lokalise_api/endpoints/key.ex
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
8
2021-09-15T07:30:59.000Z
2022-02-01T17:40:17.000Z
lib/elixir_lokalise_api/endpoints/key.ex
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
2
2021-09-07T11:10:51.000Z
2021-09-26T07:37:39.000Z
defmodule ElixirLokaliseApi.Keys do @moduledoc """ Keys endpoint. """ @model ElixirLokaliseApi.Model.Key @collection ElixirLokaliseApi.Collection.Keys @endpoint "projects/{!:project_id}/keys/{:key_id}" @data_key :keys @singular_data_key :key @parent_key :project_id @item_key :key_id use ElixirLok...
20.24
52
0.662055
f7fa2c27aa01e5c90396762354ed764a92f7bd5f
2,831
ex
Elixir
lib/mongo/id_server.ex
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
lib/mongo/id_server.ex
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
lib/mongo/id_server.ex
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.IdServer do @moduledoc false # An ObjectId consists of a machine id, process id, seconds since unix epoch # and a counter. The counter is used to differentiate between generated # ObjectIds during a single second. # # A counter is generated for each second in an hour, the counter is # ini...
31.455556
80
0.708584
f7fa6fcc025f9e0d222d7f999250a3568fce9350
1,459
exs
Elixir
test/blog_web/controllers/auth_controller_test.exs
vrrpizzato/blog
bee1e71ca29925d43d62f0bbaa9ae7f4566d65fe
[ "MIT" ]
null
null
null
test/blog_web/controllers/auth_controller_test.exs
vrrpizzato/blog
bee1e71ca29925d43d62f0bbaa9ae7f4566d65fe
[ "MIT" ]
null
null
null
test/blog_web/controllers/auth_controller_test.exs
vrrpizzato/blog
bee1e71ca29925d43d62f0bbaa9ae7f4566d65fe
[ "MIT" ]
null
null
null
defmodule BlogWeb.AuthControllerTest do use BlogWeb.ConnCase @ueberauth %Ueberauth.Auth{ credentials: %{token: "token_echo"}, info: %{ email: "email_echo", first_name: "first_name_echo", last_name: "last_name_echo", image: "image_echo" }, provider: "google" } @ueberauth...
25.596491
64
0.629883
f7fac0e5a5f8530a6a4cebd1f0d6b365d8aee4ae
19,092
ex
Elixir
lib/mix/lib/mix/project.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/mix/lib/mix/project.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Project do @moduledoc """ Defines and manipulates Mix projects. A Mix project is defined by calling `use Mix.Project` in a module, usually placed in `mix.exs`: defmodule MyApp.MixProject do use Mix.Project def project do [ app: :my_app, ve...
28.284444
105
0.645401
f7fac2f3db4b8c3e86ff8dd8e50d67b4c7eafcc5
9,961
exs
Elixir
lib/elixir/test/elixir/path_test.exs
ellbee/elixir
c1acfe9827f12ef58f7f301baad7497472cb4bc9
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/path_test.exs
ellbee/elixir
c1acfe9827f12ef58f7f301baad7497472cb4bc9
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/path_test.exs
ellbee/elixir
c1acfe9827f12ef58f7f301baad7497472cb4bc9
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule PathTest do use ExUnit.Case, async: true doctest Path import PathHelpers if :file.native_name_encoding == :utf8 do test "wildcard with UTF-8" do File.mkdir_p(tmp_path("héllò")) assert Path.wildcard(tmp_path("héllò")) == [tmp_path("héllò"...
40.327935
106
0.590905
f7fad9bd3f6e3df430fbdfa0afab9d607277f0e5
947
exs
Elixir
rumbl/config/config.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
rumbl/config/config.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
rumbl/config/config.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :rumbl, Rumbl.Endpoint, url: [host: "localhost"], ...
31.566667
86
0.756072
f7faff8f4d5d431ff8161a00dad7f5c0254d91da
11,101
ex
Elixir
lib/mix/lib/mix/tasks/compile.app.ex
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.app.ex
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.app.ex
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
defmodule Mix.Tasks.Compile.App do use Mix.Task.Compiler @recursive true @moduledoc """ Writes an .app file. An `.app` file is a file containing Erlang terms that defines your application. Mix automatically generates this file based on your `mix.exs` configuration. In order to generate the `.app` fi...
32.746313
108
0.634988
f7fb056c060a964e2c8f9dee4d30b67f1924987e
2,624
exs
Elixir
day_9.1.exs
yggie/advent-of-code-2015
414d8910714a592e0811a70ff35a2dc4ec4c73f5
[ "MIT" ]
null
null
null
day_9.1.exs
yggie/advent-of-code-2015
414d8910714a592e0811a70ff35a2dc4ec4c73f5
[ "MIT" ]
null
null
null
day_9.1.exs
yggie/advent-of-code-2015
414d8910714a592e0811a70ff35a2dc4ec4c73f5
[ "MIT" ]
null
null
null
input = Interface.read_input defmodule TravelDiary do def put_entry(diary, "") do diary end def put_entry(%{ travel_distance_lookup: travel_distance_lookup, locations: locations }, entry) do [_match, start_loc, end_loc, dist] = Regex.run(~r/^(\w+) to (\w+) = (\d+)$/, entry) key = make_key(start_loc,...
32.395062
139
0.692835
f7fb12fc26ebe4630e9347b8baafd657cd28e2d5
916
ex
Elixir
lib/helper/converter/chinese_convention.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/helper/converter/chinese_convention.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/helper/converter/chinese_convention.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule Helper.Converter.ChineseConvention do @moduledoc """ follow's https://github.com/sparanoid/chinese-copywriting-guidelines 遵循中文排版指南 - 自动添加空格 - 中文状态下输入的的 "" 和 '' 会被自动转换成「」以及 『』 inspired by wordpress plugin cover-lover: https://cn.wordpress.org/plugins/corner-bracket-lover/ """ require Pangu...
24.756757
82
0.65393
f7fb439cb79cbf4e9921180229ba05bc52698754
2,803
ex
Elixir
apps/site/lib/site_web/views/search_view.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/lib/site_web/views/search_view.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/lib/site_web/views/search_view.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.SearchView do use SiteWeb, :view import SiteWeb.CMSView, only: [render_duration: 2] import Site.ContentRewriter, only: [rewrite: 2] alias CMS.Search.Result alias CMS.SearchResult.{ Event, File, LandingPage, Link, NewsEntry, Page, Person } defdelegate fa_ic...
30.467391
91
0.631466
f7fba5f351371e6b6734fcd18bfc351163eb0639
1,178
ex
Elixir
web/channels/user_socket.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
web/channels/user_socket.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
web/channels/user_socket.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
defmodule BlogExample.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", BlogExample.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and...
31
84
0.704584
f7fba82db103679a5be54d73811e98b746416165
75
ex
Elixir
lib/changelog/mailer.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
lib/changelog/mailer.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
lib/changelog/mailer.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule Changelog.Mailer do use Bamboo.Mailer, otp_app: :changelog end
18.75
40
0.8
f7fbe2ceaef06767130fc833954abef416eb9ae4
2,555
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_page.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_page.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_page.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
38.712121
135
0.736595
f7fbf447556fd1899b63f7ed05ef40a7f5c46d65
2,634
exs
Elixir
test/membrane/rtp/packet_test.exs
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
15
2020-12-12T01:30:19.000Z
2022-02-28T22:48:08.000Z
test/membrane/rtp/packet_test.exs
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
39
2020-07-31T09:16:41.000Z
2022-03-17T09:40:50.000Z
test/membrane/rtp/packet_test.exs
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
3
2021-05-12T21:27:28.000Z
2021-11-03T19:27:34.000Z
defmodule Membrane.RTP.PacketTest do use ExUnit.Case alias Membrane.RTP.{Header, Packet, Fixtures} @encrypted? false test "parses and serializes valid packets" do packet = Fixtures.sample_packet() assert {:ok, %{packet: ^packet}} = Packet.parse(Fixtures.sample_packet_binary(), @encrypted?) asse...
35.12
98
0.678815
f7fbf48d1356d642d940f8dd45a0ea3357737a80
461
exs
Elixir
test/models/post_test.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
1
2018-04-25T15:03:42.000Z
2018-04-25T15:03:42.000Z
test/models/post_test.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
null
null
null
test/models/post_test.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
null
null
null
defmodule AppElixirPhoenix.PostTest do use AppElixirPhoenix.ModelCase alias AppElixirPhoenix.Post @valid_attrs %{body: "some content", title: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Post.changeset(%Post{}, @valid_attrs) assert changeset.valid? end ...
24.263158
61
0.733189
f7fc124539b3f9d347468e2704bff5e83d5d6d34
20,890
ex
Elixir
lib/commanded/aggregates/aggregate.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
1
2022-02-20T10:42:07.000Z
2022-02-20T10:42:07.000Z
lib/commanded/aggregates/aggregate.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
lib/commanded/aggregates/aggregate.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
defmodule Commanded.Aggregates.Aggregate do use TelemetryRegistry use GenServer, restart: :temporary use Commanded.Registration telemetry_event(%{ event: [:commanded, :aggregate, :execute, :start], description: "Emitted when an aggregate starts executing a command", measurements: "%{system_time: in...
31.555891
118
0.675395
f7fc1e3600442d00358b10cb7e77eaa1188bfb14
352
exs
Elixir
priv/repo/seeds.exs
DylanGuedes/forensic
16ea59bb6aeefe636012b747a7caab26e0b7f686
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
DylanGuedes/forensic
16ea59bb6aeefe636012b747a7caab26e0b7f686
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
DylanGuedes/forensic
16ea59bb6aeefe636012b747a7caab26e0b7f686
[ "Apache-2.0" ]
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: # # Forensic.Repo.insert!(%Forensic.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they wil...
29.333333
61
0.707386
f7fc2254d58a9371e650120c0e059043d8621bdc
497
ex
Elixir
kousa/lib/kousa/metrics/prometheus.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/lib/kousa/metrics/prometheus.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/lib/kousa/metrics/prometheus.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Kousa.Metric.PipelineInstrumenter do use Prometheus.PlugPipelineInstrumenter def label_value(:request_path, conn) do conn.request_path end end defmodule Kousa.Metric.PrometheusExporter do use Prometheus.PlugExporter end defmodule Kousa.Metric.UserSessions do use Prometheus.Metric def setup...
18.407407
46
0.740443
f7fc31ff407232378b35f900374e29798c5492be
1,820
ex
Elixir
fw/phoenix/hello_phoenix/test/support/model_case.ex
alexgarzao/learning_elixir
f1b06f26898be35803591245d033d30dd4bd1e1a
[ "MIT" ]
14
2016-09-11T02:31:36.000Z
2021-07-15T12:51:31.000Z
fw/phoenix/hello_phoenix/test/support/model_case.ex
alexgarzao/learning_elixir
f1b06f26898be35803591245d033d30dd4bd1e1a
[ "MIT" ]
4
2020-08-25T13:48:31.000Z
2021-09-01T12:56:54.000Z
fw/phoenix/hello_phoenix/test/support/model_case.ex
alexgarzao/learning_elixir
f1b06f26898be35803591245d033d30dd4bd1e1a
[ "MIT" ]
2
2017-08-14T22:05:47.000Z
2017-11-10T18:42:23.000Z
defmodule HelloPhoenix.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async....
27.575758
84
0.69011
f7fcd97cb4e440cef60c6c0d0fe3b08525d9906c
838
ex
Elixir
lib/ingram_marketplace/model/report_item.ex
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
lib/ingram_marketplace/model/report_item.ex
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
lib/ingram_marketplace/model/report_item.ex
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
defmodule Ingram.Marketplace.Model.ReportItem do @moduledoc """ A rated data report generated and exported during a specific period. """ @derive [Poison.Encoder] defstruct [ :id, :name, :status, :type, :format, :creationDate, :startDate, :endDate, :downloadUrl ] @type...
22.648649
70
0.554893
f7fcde8916eded5d2442e5eb0e98991a11fdeef1
1,773
ex
Elixir
clients/composer/lib/google_api/composer/v1beta1/model/web_server_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1beta1/model/web_server_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/composer/lib/google_api/composer/v1beta1/model/web_server_config.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...
37.723404
401
0.753525
f7fcdf37164b6a479eec468d785ac9efe858b601
412
exs
Elixir
mix.exs
nicholasbair/const
c951b8d768e50268819dd061f066797f4432882b
[ "Apache-2.0" ]
null
null
null
mix.exs
nicholasbair/const
c951b8d768e50268819dd061f066797f4432882b
[ "Apache-2.0" ]
3
2019-11-07T02:22:21.000Z
2020-04-20T21:07:52.000Z
mix.exs
nicholasbair/const
c951b8d768e50268819dd061f066797f4432882b
[ "Apache-2.0" ]
null
null
null
defmodule Const.MixProject do use Mix.Project def project do [ app: :const, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:j...
15.259259
58
0.504854
f7fcf0464cd8d0a58a8082d38bbede872ea2fd5f
2,749
ex
Elixir
lib/chaperon/action/websocket/client.ex
ideo/chaperon
6298e96ae2b8f39a1d729b7363f4a451bc4c3a6e
[ "MIT" ]
null
null
null
lib/chaperon/action/websocket/client.ex
ideo/chaperon
6298e96ae2b8f39a1d729b7363f4a451bc4c3a6e
[ "MIT" ]
null
null
null
lib/chaperon/action/websocket/client.ex
ideo/chaperon
6298e96ae2b8f39a1d729b7363f4a451bc4c3a6e
[ "MIT" ]
null
null
null
defmodule Chaperon.Action.WebSocket.Client do @moduledoc """ Implements Chaperon's WebSocket client (behavior of WebSockex WS library). """ use WebSockex require Logger defmodule State do @moduledoc """ WebSocket client process state. """ defstruct messages: EQ.new(), awaiti...
22.169355
92
0.603856
f7fcfe4ddeb379dd7ee24d27af01e4730e72f53e
504
ex
Elixir
lib/edgedb/protocol/datatypes/uint8.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/datatypes/uint8.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/datatypes/uint8.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Datatypes.UInt8 do use EdgeDB.Protocol.Datatype @uint8_max 0xFF @uint8_min 0x0 defguard is_uint8(number) when is_integer(number) and @uint8_min <= number and number <= @uint8_max defdatatype(type: non_neg_integer()) @impl EdgeDB.Protocol.Datatype def encode_datatyp...
22.909091
84
0.722222
f7fcffe4b1c30f3ea5348513e09a339a1efce028
1,489
exs
Elixir
test/vintage_net_qmi/asu_calculator_test.exs
nerves-networking/vintage_net_qmi
228baec658befc83ec72e24a8ec9b003c8df668c
[ "Apache-2.0" ]
3
2021-05-28T00:43:55.000Z
2022-02-05T00:45:35.000Z
test/vintage_net_qmi/asu_calculator_test.exs
nerves-networking/vintage_net_qmi
228baec658befc83ec72e24a8ec9b003c8df668c
[ "Apache-2.0" ]
12
2021-06-30T18:37:16.000Z
2022-02-11T12:40:36.000Z
test/vintage_net_qmi/asu_calculator_test.exs
nerves-networking/vintage_net_qmi
228baec658befc83ec72e24a8ec9b003c8df668c
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetQMI.ASUCalculatorTest do use ExUnit.Case alias VintageNetQMI.ASUCalculator test "computes gsm dbm" do assert ASUCalculator.from_gsm_asu(2).dbm == -109 assert ASUCalculator.from_gsm_asu(9).dbm == -95 assert ASUCalculator.from_gsm_asu(15).dbm == -83 assert ASUCalculator.from_gsm...
34.627907
67
0.718603
f7fd27cfddee9e9b8483c529ba72907915e0de07
106
ex
Elixir
lib/egcovac/repo.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
lib/egcovac/repo.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
lib/egcovac/repo.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
defmodule Egcovac.Repo do use Ecto.Repo, otp_app: :egcovac, adapter: Ecto.Adapters.Postgres end
17.666667
35
0.726415
f7fd2c81ca615f9bbca70a88c2ee6603d6097bb9
3,704
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/table_list_tables.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query/lib/google_api/big_query/v2/model/table_list_tables.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/table_list_tables.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
48.103896
254
0.698704
f7fd6bfd880da55bb23890a7f1fca141d45c8c72
729
ex
Elixir
apps/rest_api/lib/routers/public.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/rest_api/lib/routers/public.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/rest_api/lib/routers/public.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule RestAPI.Routers.Public do @moduledoc false use RestAPI.Router alias RestAPI.Controllers.Public alias RestAPI.Plugs.{Authentication, Authorization, Tracker} pipeline :rest_api do plug :accepts, ["json", "urlencoded"] plug Tracker end pipeline :authorized do plug Authorization, typ...
19.184211
62
0.670782
f7fdb0fd1bec493bec910b61bd762fc347749423
4,097
exs
Elixir
test/skogsra/env_test.exs
davorbadrov/skogsra
785a7b9cbe92c1e96fae0381b9087843dc46926e
[ "MIT" ]
null
null
null
test/skogsra/env_test.exs
davorbadrov/skogsra
785a7b9cbe92c1e96fae0381b9087843dc46926e
[ "MIT" ]
null
null
null
test/skogsra/env_test.exs
davorbadrov/skogsra
785a7b9cbe92c1e96fae0381b9087843dc46926e
[ "MIT" ]
null
null
null
defmodule Skogsra.EnvTest do use ExUnit.Case alias Skogsra.Env describe "new/2" do test "adds default options" do %Env{options: options} = Env.new(nil, :app, :key, []) assert options[:skip_system] == false assert options[:skip_config] == false assert options[:required] == false ...
22.888268
78
0.59629
f7fdcd2181a112732cf70c8ecde1f5c544b8e447
2,563
ex
Elixir
lib/nerves_init_ec2/ssh_console.ex
cogini/nerves_init_ec2
8f68b069db48f6aa32c6b3ad2c73c1756c9afeb3
[ "Apache-2.0" ]
3
2018-08-05T12:48:49.000Z
2018-08-09T07:44:35.000Z
lib/nerves_init_ec2/ssh_console.ex
cogini/nerves_init_ec2
8f68b069db48f6aa32c6b3ad2c73c1756c9afeb3
[ "Apache-2.0" ]
1
2018-08-04T23:55:54.000Z
2018-08-05T23:16:23.000Z
lib/nerves_init_ec2/ssh_console.ex
cogini/nerves_init_ec2
8f68b069db48f6aa32c6b3ad2c73c1756c9afeb3
[ "Apache-2.0" ]
null
null
null
defmodule NervesInitEc2.SSHConsole do @moduledoc """ SSH IEx console. """ use GenServer require Logger @doc false def start_link(opts) do GenServer.start_link(__MODULE__, opts, name: __MODULE__) end def init([opts]) do # Logger.debug("#{__MODULE__}: opts: #{inspect opts}") SystemRegistr...
32.858974
84
0.660554
f7fdcd2a7fd54e93a1f7ec209e906f7c58d9ef53
3,862
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/monitored_resource_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_user/lib/google_api/service_user/v1/model/monitored_resource_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_user/lib/google_api/service_user/v1/model/monitored_resource_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.53012
172
0.721129