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
79b32d0a1a7ba31c8d342eae53bfe2f3d0776d6e
692
exs
Elixir
test/changelog/policies/default_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
test/changelog/policies/default_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
test/changelog/policies/default_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
defmodule Changelog.Policies.DefaultTest do use Changelog.PolicyCase defmodule TestPolicy, do: use(Changelog.Policies.Default) test "nobody can new/create" do for actor <- @all do refute TestPolicy.create(actor) end end test "nobody can index" do for actor <- @all do refute TestPoli...
19.222222
59
0.644509
79b333fcdcde564c980dfc0c56819b692fb632ea
2,513
ex
Elixir
deps/plug/lib/plug/conn/adapter.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/plug/lib/plug/conn/adapter.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/plug/lib/plug/conn/adapter.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
defmodule Plug.Conn.Adapter do @moduledoc """ Specification of the connection adapter API implemented by webservers """ alias Plug.Conn @typep payload :: term @doc """ Sends the given status, headers and body as a response back to the client. If the request has method `"HEAD"`, the adapter should ...
33.065789
73
0.674493
79b3833aa0a4b021527634ead6eeb7db34b8ecd1
1,820
ex
Elixir
lib/nsq/consumer/helpers.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
89
2015-11-17T01:15:02.000Z
2022-01-31T20:17:17.000Z
lib/nsq/consumer/helpers.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
20
2016-06-17T14:15:22.000Z
2019-09-23T13:31:18.000Z
lib/nsq/consumer/helpers.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
33
2016-01-28T15:20:43.000Z
2021-12-18T14:36:19.000Z
defmodule NSQ.Consumer.Helpers do alias NSQ.Consumer, as: C alias NSQ.Consumer.Connections alias NSQ.ConnInfo @doc """ Each connection is responsible for maintaining its own rdy_count in ConnInfo. This function sums all the values of rdy_count for each connection, which lets us get an accurate picture o...
28.888889
79
0.71978
79b3992ab20c05b3cd9643fce8778a7dd7ddc096
1,471
exs
Elixir
mix.exs
jbowtie/opentype-elixir
6ac33e2d3edc0ab4c69712bcd9683cceda70c4fc
[ "Apache-2.0" ]
null
null
null
mix.exs
jbowtie/opentype-elixir
6ac33e2d3edc0ab4c69712bcd9683cceda70c4fc
[ "Apache-2.0" ]
53
2017-09-29T11:33:42.000Z
2021-08-02T17:14:48.000Z
mix.exs
jbowtie/opentype-elixir
6ac33e2d3edc0ab4c69712bcd9683cceda70c4fc
[ "Apache-2.0" ]
null
null
null
defmodule Opentype.Mixfile do use Mix.Project @version "0.5.0" def project do [ app: :opentype, name: "OpenType", version: @version, elixir: "~> 1.5", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, test_coverage: [tool: ExCoveralls], ...
23.349206
79
0.575119
79b3e62b73984a240672c552912847b8f20efdd1
2,601
ex
Elixir
apps/testchain/lib/testchain/deployment/base_api.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
1
2020-10-23T19:25:27.000Z
2020-10-23T19:25:27.000Z
apps/testchain/lib/testchain/deployment/base_api.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
5
2019-01-11T11:48:08.000Z
2019-01-16T17:29:23.000Z
apps/testchain/lib/testchain/deployment/base_api.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
7
2019-10-09T05:49:52.000Z
2022-03-23T16:48:45.000Z
defmodule Staxx.Testchain.Deployment.BaseApi do @moduledoc """ Module represents basic http layer for deployment service """ use HTTPoison.Base require Logger @random_max 9_999_999_999_999_999_999_999 @doc false def process_response_body(""), do: %{} def process_response_body(body) do case Jas...
23.432432
93
0.607074
79b3f9520ac794d759579020130b37597253a111
2,528
ex
Elixir
lib/lastfm/archive.ex
boonious/lastfm_archive
a3d0194f28cd67572c230a207583e5d0b88eb199
[ "Apache-2.0" ]
1
2019-04-25T18:28:24.000Z
2019-04-25T18:28:24.000Z
lib/lastfm/archive.ex
boonious/lastfm_archive
a3d0194f28cd67572c230a207583e5d0b88eb199
[ "Apache-2.0" ]
14
2020-12-24T16:54:08.000Z
2021-05-05T15:21:55.000Z
lib/lastfm/archive.ex
boonious/lastfm_archive
a3d0194f28cd67572c230a207583e5d0b88eb199
[ "Apache-2.0" ]
1
2019-10-20T23:02:06.000Z
2019-10-20T23:02:06.000Z
defmodule Lastfm.Archive do @moduledoc """ A behaviour module for implementing a Lastfm archive. The module also provides a struct that keeps metadata about the archive. An archive contains scrobbles data retrieved from Lastfm API. It can be based upon various storage implementation such as file systems and ...
26.333333
103
0.630142
79b3fa27ff3122ac73a6a1ae09985b383b7a2360
1,417
ex
Elixir
lib/brando/villain/tags/picture.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando/villain/tags/picture.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando/villain/tags/picture.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Brando.Villain.Tags.Picture do @moduledoc """ {% picture entry.cover { size: 'auto', lazyload: true, srcset: 'MyApp.Projects.Project:cover.default', prefix: '/media' } %} """ @behaviour Liquex.Tag import NimbleParsec alias Liquex.Parser.Argument alias Liquex.Parser.Literal alias Liquex.Parser...
24.859649
126
0.636556
79b40f5630c6a03bf724c7dcae53c68ba4d3ba7a
1,944
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/list_consent_stores_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/list_consent_stores_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/list_consent_stores_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...
38.88
249
0.750514
79b41050b7927a09b9b502848b32a31d06a381d3
2,571
exs
Elixir
config/prod.exs
anndream/phoenix-commerce
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
229
2016-09-21T09:24:46.000Z
2020-05-16T22:41:31.000Z
config/prod.exs
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
3
2016-09-21T10:26:50.000Z
2016-10-19T07:25:12.000Z
config/prod.exs
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
32
2016-09-22T05:19:05.000Z
2019-11-01T04:07:13.000Z
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
29.215909
68
0.709841
79b4608b0ac93753dc631130ba8036a767301faf
2,390
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/partner_claim.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/partner_claim.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/partner_claim.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.678571
173
0.746444
79b48172774ac10abc8cd26d3938c1a4fdf2139a
1,759
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/date_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/date_range.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/date_range.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...
33.826923
115
0.71859
79b4a0b19c0f798f386b6a569a8b4ecc512ebeec
1,121
exs
Elixir
config/config.exs
podlove/metalove
8b52c91eba6b39366ee35a06e6d9eedccbe8517d
[ "MIT" ]
6
2019-02-23T12:19:57.000Z
2020-12-19T16:28:17.000Z
config/config.exs
podlove/metalove
8b52c91eba6b39366ee35a06e6d9eedccbe8517d
[ "MIT" ]
11
2019-02-23T12:22:08.000Z
2021-04-10T21:49:48.000Z
config/config.exs
podlove/metalove
8b52c91eba6b39366ee35a06e6d9eedccbe8517d
[ "MIT" ]
1
2019-03-23T13:23:19.000Z
2019-03-23T13:23:19.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.16129
73
0.754683
79b4a4ad277b2f795ed511f1b957f424f0ea5286
2,083
ex
Elixir
lib/graphql_markdown/schema.ex
podium/graphql_markdown
8b2ece7239f83e8cf70795b22c7b54358345852d
[ "MIT" ]
1
2021-09-17T19:23:19.000Z
2021-09-17T19:23:19.000Z
lib/graphql_markdown/schema.ex
podium/graphql_markdown
8b2ece7239f83e8cf70795b22c7b54358345852d
[ "MIT" ]
null
null
null
lib/graphql_markdown/schema.ex
podium/graphql_markdown
8b2ece7239f83e8cf70795b22c7b54358345852d
[ "MIT" ]
null
null
null
defmodule GraphqlMarkdown.Schema do @moduledoc """ Internal Schema representation of Graphql section we care about """ defstruct [:mutations, :queries, :inputs, :objects, :enums, :scalars, :interfaces, :unions] @object_kind "OBJECT" @input_kind "INPUT_OBJECT" @enum_kind "ENUM" @scalar_kind "SCALAR" @...
18.433628
93
0.612578
79b4d2895ab0da60c6a42e089f6d9c4533f79384
3,981
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/revision.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/revision.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/revision.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
47.392857
353
0.709621
79b5186153677fad5e056a2c09daaec51c14fe35
1,755
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/device_file.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/testing/lib/google_api/testing/v1/model/device_file.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/device_file.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 ...
35.1
127
0.732194
79b53128c0e4f9438e71465deb87b20befb1f6c0
1,095
exs
Elixir
kousa/mix.exs
ninetu/dogehouse
1f7b80400c9e1b19b3ec5403392aa0ab02f1d697
[ "MIT" ]
1
2021-04-19T19:02:21.000Z
2021-04-19T19:02:21.000Z
kousa/mix.exs
ninetu/dogehouse
1f7b80400c9e1b19b3ec5403392aa0ab02f1d697
[ "MIT" ]
null
null
null
kousa/mix.exs
ninetu/dogehouse
1f7b80400c9e1b19b3ec5403392aa0ab02f1d697
[ "MIT" ]
null
null
null
defmodule Kousa.MixProject do use Mix.Project def project do [ app: :kousa, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do dev_only_apps = if Mi...
23.804348
87
0.481279
79b54d8caed2de2005a5698e3adebae821355ab0
380
ex
Elixir
lib/cotoami_web/views/session_view.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
lib/cotoami_web/views/session_view.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
lib/cotoami_web/views/session_view.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
defmodule CotoamiWeb.SessionView do use CotoamiWeb, :view alias CotoamiWeb.AmishiView def render("session.json", %{ amishi: amishi, token: token, websocket_url: websocket_url, lang: lang }) do %{ amishi: render_relation(amishi, AmishiView, "amishi.json"), token: token, web...
20
65
0.655263
79b5618f86bd0c7d9ec0645634cce79ab1d1bdc2
700
exs
Elixir
test/ex_stone_openbank/api/model/statement_test.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
test/ex_stone_openbank/api/model/statement_test.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
test/ex_stone_openbank/api/model/statement_test.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
defmodule ExStoneOpenbank.API.Model.StatementTest do use ExUnit.Case, async: true alias ExStoneOpenbank.API.Model.StatementEntry test "can parse" do map = ~s({"amount":50,"balance_after":681776564,"balance_before":681776514,"counter_party":{"account":{"account_code":"125746237705","branch_code":"1","i...
50
435
0.718571
79b56205519bc6a41becf8b090adb8ae6790b1f6
803
ex
Elixir
lib/riverside/session/transmission_limitter.ex
LukasDoesDev/riverside
c2866be6c152e38cc142becf3e9c8c042c80ed57
[ "MIT" ]
63
2018-05-02T16:47:44.000Z
2022-03-07T09:48:58.000Z
lib/riverside/session/transmission_limitter.ex
LukasDoesDev/riverside
c2866be6c152e38cc142becf3e9c8c042c80ed57
[ "MIT" ]
20
2017-09-24T00:42:12.000Z
2021-12-11T12:00:13.000Z
lib/riverside/session/transmission_limitter.ex
LukasDoesDev/riverside
c2866be6c152e38cc142becf3e9c8c042c80ed57
[ "MIT" ]
9
2019-02-18T10:09:30.000Z
2021-12-09T21:11:02.000Z
defmodule Riverside.Session.TransmissionLimitter do @type t :: %__MODULE__{count: non_neg_integer, started_at: non_neg_integer} defstruct count: 0, started_at: 0 @spec new() :: t def new() do %__MODULE__{count: 0, started_at: Riverside.IO.Timestamp.milli_seconds()} end @spec countup(t, no...
25.09375
77
0.635118
79b59a6e3ec83c0a437a70c943d3498445f9ada3
1,647
ex
Elixir
web/web.ex
tmecklem/ex_diagcare
cb3236253a19254f3a278f2ffbfa78446bfb1675
[ "MIT" ]
null
null
null
web/web.ex
tmecklem/ex_diagcare
cb3236253a19254f3a278f2ffbfa78446bfb1675
[ "MIT" ]
null
null
null
web/web.ex
tmecklem/ex_diagcare
cb3236253a19254f3a278f2ffbfa78446bfb1675
[ "MIT" ]
null
null
null
defmodule ExDiagcare.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use ExDiagcare.Web, :controller use ExDiagcare.Web, :view The definitions below will be executed for every view, controller, etc, so keep...
20.085366
88
0.672738
79b5a8cbb9705b254fe5d339f04a778640b14a78
3,758
exs
Elixir
mix.exs
mbuhot/ecto_sql
10b34132b3bc3013f5f89266efcb79939cbf04fa
[ "Apache-2.0" ]
null
null
null
mix.exs
mbuhot/ecto_sql
10b34132b3bc3013f5f89266efcb79939cbf04fa
[ "Apache-2.0" ]
null
null
null
mix.exs
mbuhot/ecto_sql
10b34132b3bc3013f5f89266efcb79939cbf04fa
[ "Apache-2.0" ]
null
null
null
defmodule EctoSQL.MixProject do use Mix.Project @version "3.2.0-dev" @adapters ~w(pg myxql) def project do [ app: :ecto_sql, version: @version, elixir: "~> 1.6", deps: deps(), test_paths: test_paths(System.get_env("ECTO_ADAPTER")), xref: [ exclude: [ M...
24.245161
90
0.560404
79b5b104f8fee16d4659ac12aebcaacdcf0c83dd
2,078
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/gke_node_pool_accelerator_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/gke_node_pool_accelerator_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/gke_node_pool_accelerator_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.207547
235
0.737247
79b60c0ca8ac33dd8211c6665110c669be4526bd
370
ex
Elixir
lib/rocketpay.ex
mCodex/nlw4-elixir
e1e281d1790c4638cec5b6a4380d9bc6b7ef9472
[ "MIT" ]
null
null
null
lib/rocketpay.ex
mCodex/nlw4-elixir
e1e281d1790c4638cec5b6a4380d9bc6b7ef9472
[ "MIT" ]
null
null
null
lib/rocketpay.ex
mCodex/nlw4-elixir
e1e281d1790c4638cec5b6a4380d9bc6b7ef9472
[ "MIT" ]
null
null
null
defmodule Rocketpay do alias Rocketpay.Users.Create, as: UserCreate alias Rocketpay.Accounts.{Deposit, Withdraw, Transaction} defdelegate create_user(params), to: UserCreate, as: :call defdelegate deposit(params), to: Deposit, as: :call defdelegate withdraw(params), to: Withdraw, as: :call defdelegate tra...
30.833333
61
0.759459
79b659b1fc39c16738ec19fc3696c9a842dec043
1,211
exs
Elixir
clients/accelerated_mobile_page_url/mix.exs
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/accelerated_mobile_page_url/mix.exs
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/accelerated_mobile_page_url/mix.exs
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
defmodule GoogleApi.AcceleratedMobilePageUrl.V1.Mixfile do use Mix.Project def project do [app: :google_api_accelerated_mobile_page_url, version: "0.0.1", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: pa...
25.765957
127
0.613543
79b660c7478e346dcc03c861e4b4f862bacc5085
3,572
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_deployment_change_report.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_deployment_change_report.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_deployment_change_report.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
53.313433
872
0.770717
79b675c4a3b65defbc89011b0e57b30c87fdf1f5
1,606
exs
Elixir
mix.exs
mattbaker/elixir-thrift
3d42d9a57fdca14281d0afa8993bf1c8a0e4c984
[ "Apache-2.0" ]
null
null
null
mix.exs
mattbaker/elixir-thrift
3d42d9a57fdca14281d0afa8993bf1c8a0e4c984
[ "Apache-2.0" ]
null
null
null
mix.exs
mattbaker/elixir-thrift
3d42d9a57fdca14281d0afa8993bf1c8a0e4c984
[ "Apache-2.0" ]
1
2018-06-18T20:12:02.000Z
2018-06-18T20:12:02.000Z
defmodule Thrift.Mixfile do use Mix.Project @version "1.2.1" @project_url "https://github.com/pinterest/elixir-thrift" def project do [app: :thrift, version: @version, elixir: "~> 1.0", deps: deps, # Build Environment erlc_paths: ["src", "ext/thrift/lib/erl/src"], erlc_inclu...
25.09375
97
0.599626
79b69c13ebeb93834bc2df1053b83188f4b8f04d
3,622
exs
Elixir
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-07.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-07.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/chapter-07.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
## complex list patterns defmodule MultiMatch do def swap_pairs([]), do: [] def swap_pairs([a, b | tail]), do: [b, a | swap_pairs(tail)] def swap_pairs([_|_]), do: raise "Odd element lists are not supported." end IO.inspect MultiMatch.swap_pairs([1, 3, 5, 7]) #IO.inspect MultiMatch.swap_pairs([1, 3, 5, 7, 9]) de...
34.169811
116
0.580342
79b6a09c6742965cbd9208a13d25f4d0e1673090
1,747
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/daily_cycle.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/daily_cycle.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/managed_identities/lib/google_api/managed_identities/v1/model/daily_cycle.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.94
143
0.737836
79b6b061f33aaa77e240648a5e3db6aa632284ba
2,130
ex
Elixir
clients/people/lib/google_api/people/v1/model/url.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/url.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/people/lib/google_api/people/v1/model/url.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "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...
38.035714
275
0.695305
79b6b107ca77107f405cb35e0ad67fdb909db064
521
ex
Elixir
lib/stixex/types/windows_registry_value.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
lib/stixex/types/windows_registry_value.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
lib/stixex/types/windows_registry_value.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.Types.WindowsRegistryValue do use Ecto.Schema import Ecto.Changeset import StixEx.Validation @derive Jason.Encoder @required_fields [:name] embedded_schema do field(:name, :string) field(:data, :string) field(:data_type, :string) end def changeset(struct, params) do s...
23.681818
93
0.71785
79b6ce0e152af56d02c7b758120be978f500c113
2,282
ex
Elixir
lib/drab/live/cache.ex
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
lib/drab/live/cache.ex
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
lib/drab/live/cache.ex
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
defmodule Drab.Live.Cache do @moduledoc """ This is the `Drab.Live` internal cache module. It doesn't expose any API. ### Cache File Drab.Live stores internal information in the file `priv/drab.live.cache`. To clean up the cache just delete it, but allways followed with the `mix clean` command, to ensure all...
30.026316
118
0.628396
79b7087ba2aee6ac695d5a2a18d0aa998cbb6618
36,368
ex
Elixir
lib/exirc/client.ex
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
null
null
null
lib/exirc/client.ex
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
null
null
null
lib/exirc/client.ex
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
null
null
null
defmodule ExIRC.Client do @moduledoc """ Maintains the state and behaviour for individual IRC client connections """ use ExIRC.Commands use GenServer import ExIRC.Logger alias ExIRC.Channels alias ExIRC.Utils alias ExIRC.SenderInfo alias ExIRC.Client.Transport # Client internal state def...
39.616558
155
0.64488
79b751504d9fe2d426d6350717450b2816fc73a6
1,891
ex
Elixir
clients/civic_info/lib/google_api/civic_info/v2/model/election.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/election.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/election.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...
36.365385
350
0.74458
79b7570c6b0ed53fa0b22b132f4a454816d08af1
1,343
exs
Elixir
mix.exs
dcarneiro/exsolr
412d4c780fb45bc4f244bfaad4c864c1419b594d
[ "MIT" ]
25
2016-05-10T00:02:27.000Z
2020-11-08T16:51:43.000Z
mix.exs
dcarneiro/exsolr
412d4c780fb45bc4f244bfaad4c864c1419b594d
[ "MIT" ]
2
2016-11-01T10:23:20.000Z
2016-11-14T23:29:28.000Z
mix.exs
dcarneiro/exsolr
412d4c780fb45bc4f244bfaad4c864c1419b594d
[ "MIT" ]
16
2016-05-22T02:12:15.000Z
2021-02-10T20:56:54.000Z
defmodule Exsolr.Mixfile do use Mix.Project def project do [ app: :exsolr, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description, package: package, deps: deps, ] end defp descrip...
22.383333
77
0.541325
79b79c4afcce3a0dbbad4165583a4f331f2d4455
853
ex
Elixir
lib/ext/time.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
lib/ext/time.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
lib/ext/time.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
# FarmbotExt.Time.no_reply() defmodule FarmbotExt.Time do @conf Application.get_env(:farmbot, __MODULE__) || [] @disabled Keyword.get(@conf, :disable_timeouts, false) @doc """ A wrapper around `Process.send_after` for simplified dep. injection. If this function is called in `test` ENV, it will send the mes...
25.088235
70
0.705744
79b7d933d5b24e95296b0694e8a7cad5be178c61
3,994
ex
Elixir
lib/arena.ex
iensu/elixir-race
f3d65d987e8f663b68e1936b0b3b977a8081b085
[ "MIT" ]
1
2020-11-08T17:45:41.000Z
2020-11-08T17:45:41.000Z
lib/arena.ex
iensu/elixir-race
f3d65d987e8f663b68e1936b0b3b977a8081b085
[ "MIT" ]
null
null
null
lib/arena.ex
iensu/elixir-race
f3d65d987e8f663b68e1936b0b3b977a8081b085
[ "MIT" ]
null
null
null
defmodule Race.Arena do @moduledoc ~S""" This module represents the racing `arena`. It keeps track of all `racer`s and their current progress. """ use GenServer alias Race.Racer # # # # # # # # # Client API # # # # # # # # # @doc ~S""" Opens the arena by starting a new `...
26.805369
75
0.550576
79b7f7740286520c1cbfd95e3cdf71ee084faeaa
6,189
ex
Elixir
lib/lifelog/accounts/user_token.ex
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
lib/lifelog/accounts/user_token.ex
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
lib/lifelog/accounts/user_token.ex
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
defmodule Lifelog.Accounts.UserToken do use Ecto.Schema import Ecto.Query @hash_algorithm :sha256 @rand_size 32 # It is very important to keep the reset password token expiry short, # since someone with access to the email may take over the account. @reset_password_validity_in_days 1 @confirm_validity...
34.575419
97
0.721118
79b8408bda10a1241dca12b06b69177a31f5c51b
3,247
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/iam_policy_analysis_query.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/iam_policy_analysis_query.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/iam_policy_analysis_query.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...
55.033898
709
0.747459
79b84572f628a2f19c938d4a19a28875d17a4ff4
56
ex
Elixir
lib/sealax/types/item_hashid.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
null
null
null
lib/sealax/types/item_hashid.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
9
2021-08-19T01:09:55.000Z
2022-03-08T01:18:45.000Z
lib/sealax/types/item_hashid.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
null
null
null
defmodule ItemHashId do use HashId, salt: "_item" end
14
27
0.75
79b84bce278f70a3bdfc254048bbb50bbc9d90c2
155
ex
Elixir
web/views/admin/user_view.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
web/views/admin/user_view.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
web/views/admin/user_view.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
defmodule Opencov.Admin.UserView do use Opencov.Web, :view import Scrivener.HTML alias Opencov.Helpers.Display alias Opencov.Helpers.Datetime end
19.375
35
0.793548
79b85553cf469e0bcabd96fdfe844e0b11c42156
2,837
ex
Elixir
lib/jeopardixir_web/controllers/category_controller.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
1
2021-06-16T15:27:04.000Z
2021-06-16T15:27:04.000Z
lib/jeopardixir_web/controllers/category_controller.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
25
2021-06-18T13:08:18.000Z
2021-12-15T19:04:57.000Z
lib/jeopardixir_web/controllers/category_controller.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
null
null
null
defmodule JeopardixirWeb.CategoryController do use JeopardixirWeb, :controller alias Jeopardixir.Categories alias Jeopardixir.Answers alias Jeopardixir.Board.Category alias Jeopardixir.Board.Answer plug :require_user when action in [:new, :create, :add_answer, :edit, :update, :delete] def index(conn, _...
34.180723
92
0.673246
79b86b187bb28c8008cf757f9535ad8e97b28f50
714
ex
Elixir
lib/queerlink_web/gettext.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
38
2015-11-07T23:54:26.000Z
2021-04-09T04:14:25.000Z
lib/queerlink_web/gettext.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
2
2015-11-23T15:00:34.000Z
2015-11-26T09:59:26.000Z
lib/queerlink_web/gettext.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
6
2015-11-26T00:25:22.000Z
2020-03-04T22:13:59.000Z
defmodule QueerlinkWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import QueerlinkWeb.Gettext # Simple translation gettext "Here ...
28.56
72
0.683473
79b878e9348c32eaea32776cd599435fa3ab4f3f
679
exs
Elixir
config/test.exs
DaniruKun/watchfaces-ex
699e345596000ec3e50141e44217b155400261d6
[ "MIT" ]
null
null
null
config/test.exs
DaniruKun/watchfaces-ex
699e345596000ec3e50141e44217b155400261d6
[ "MIT" ]
null
null
null
config/test.exs
DaniruKun/watchfaces-ex
699e345596000ec3e50141e44217b155400261d6
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :watch_faces, WatchFaces.Repo, username: "postgres", password: "postgres", database: "watch_faces_test...
29.521739
70
0.755523
79b88b6c94d0571697f762988a4d37f83fb1c84f
1,452
ex
Elixir
Microsoft.Azure.Management.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/api/operations.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.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/api/operations.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/api/operations.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.Preview.Advisor.Api.Operations do @moduledoc """ API calls for all endpoints tagged `Operations`. """ alias Mi...
37.230769
173
0.733471
79b8b830e16f79b69bfd708276a386cac4fb6c85
272
ex
Elixir
lib/boilerplate/repo.ex
lorenzosinisi/react-phoenix-users-boilerplate
f39022a41c2b08947c9b4451248febce5005c1a3
[ "MIT" ]
152
2017-05-29T06:04:01.000Z
2021-12-11T19:24:02.000Z
lib/boilerplate/repo.ex
lorenzosinisi/react-phoenix-users-boilerplate
f39022a41c2b08947c9b4451248febce5005c1a3
[ "MIT" ]
13
2017-07-29T18:26:37.000Z
2018-10-26T08:33:16.000Z
lib/boilerplate/repo.ex
lorenzosinisi/react-phoenix-users-boilerplate
f39022a41c2b08947c9b4451248febce5005c1a3
[ "MIT" ]
12
2017-11-18T19:13:44.000Z
2019-10-10T01:29:28.000Z
defmodule Boilerplate.Repo do use Ecto.Repo, otp_app: :boilerplate @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
22.666667
66
0.705882
79b8c1818977d1e45f9b05693378971567bc9023
1,642
ex
Elixir
lib/songmate_web.ex
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
8
2020-06-06T02:12:36.000Z
2021-10-12T16:47:20.000Z
lib/songmate_web.ex
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
2
2021-03-10T18:43:20.000Z
2021-07-16T04:37:20.000Z
lib/songmate_web.ex
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
1
2020-06-24T08:41:09.000Z
2020-06-24T08:41:09.000Z
defmodule SongmateWeb 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 SongmateWeb, :controller use SongmateWeb, :view The definitions below will be executed for every view, controlle...
23.457143
83
0.69123
79b8f931935374db11030db76c3e3e3c1a806333
27
ex
Elixir
lib/cod_assist.ex
lau/cod_assist
6a1b380b42a74386c7a3a72b80e92404278623f7
[ "Apache-2.0" ]
2
2016-09-16T06:39:30.000Z
2018-01-02T10:59:05.000Z
lib/cod_assist.ex
lau/cod_assist
6a1b380b42a74386c7a3a72b80e92404278623f7
[ "Apache-2.0" ]
null
null
null
lib/cod_assist.ex
lau/cod_assist
6a1b380b42a74386c7a3a72b80e92404278623f7
[ "Apache-2.0" ]
null
null
null
defmodule CodAssist do end
9
22
0.851852
79b90aacd1e9cd338c8ccdbb47eceee32f8bcb63
1,083
exs
Elixir
issues/deps/earmark/mix.exs
vronic/programming-elixir
4465a81cc07b31a4c03bd277520e1127dda773b2
[ "MIT" ]
null
null
null
issues/deps/earmark/mix.exs
vronic/programming-elixir
4465a81cc07b31a4c03bd277520e1127dda773b2
[ "MIT" ]
null
null
null
issues/deps/earmark/mix.exs
vronic/programming-elixir
4465a81cc07b31a4c03bd277520e1127dda773b2
[ "MIT" ]
null
null
null
Code.eval_file "tasks/readme.exs" defmodule Earmark.Mixfile do use Mix.Project def project do [ app: :earmark, version: "0.1.19", elixir: ">= 1.0.0", escript: escript_config, deps: deps, description: description, package: package, ]...
20.433962
75
0.555863
79b9627f6687e1a4aed981f006875c11791e29db
388
ex
Elixir
apps/bankingAPI/lib/bankingAPI/accounts/schemas/account.ex
danielkv7/bankingAPI
d84b9a12c72d6bbd7d3077346501fde6db25ef19
[ "Apache-2.0" ]
null
null
null
apps/bankingAPI/lib/bankingAPI/accounts/schemas/account.ex
danielkv7/bankingAPI
d84b9a12c72d6bbd7d3077346501fde6db25ef19
[ "Apache-2.0" ]
null
null
null
apps/bankingAPI/lib/bankingAPI/accounts/schemas/account.ex
danielkv7/bankingAPI
d84b9a12c72d6bbd7d3077346501fde6db25ef19
[ "Apache-2.0" ]
null
null
null
defmodule BankingAPI.Accounts.Schemas.Account do @moduledoc """ The entity of Account. 1 user (id) - N accounts (FK user_id) """ use Ecto.Schema alias BankingAPI.Users.Schemas.User @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "accounts" do belongs_to(:u...
19.4
52
0.695876
79b9aed1f915e742344047965e3a1eddfaa47e75
2,255
exs
Elixir
config/dev.exs
snyk-omar/changelog.com
66a8cff17ed8a237e439976aa7fb96b58ef276a3
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
config/dev.exs
snyk-omar/changelog.com
66a8cff17ed8a237e439976aa7fb96b58ef276a3
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
config/dev.exs
snyk-omar/changelog.com
66a8cff17ed8a237e439976aa7fb96b58ef276a3
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
use Mix.Config config :changelog, ChangelogWeb.Endpoint, url: [host: System.get_env("HOST", "localhost")], http: [ port: 4000 ], debug_errors: true, code_reloader: true, cache_static_lookup: false, check_origin: false, watchers: [ yarn: ["start", cd: Path.expand("../assets", __DIR__)] ] # So...
32.681159
104
0.721064
79b9c3fffa7ea44460d134ad844e544803f8e411
605
ex
Elixir
lib/mongo/query.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
lib/mongo/query.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
lib/mongo/query.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.Query do @moduledoc """ This is the query implementation for the Query Protocol   Encoding and decoding does not take place at this point, but is directly performed into the functions of Mongo.MongoDBConnection.Utils. """ defstruct action: nil end defimpl DBConnection.Query, for: Mongo...
31.842105
86
0.728926
79b9f9724cb166865c5d5070322a0417ef4b091c
453
ex
Elixir
apps/dead_letter/lib/dead_letter/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/dead_letter/lib/dead_letter/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/dead_letter/lib/dead_letter/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DeadLetter.Application do @moduledoc false use Application def start(_something, _else) do opts = Application.get_all_env(:dead_letter) config = Keyword.fetch!(opts, :driver) |> Enum.into(%{}) children = [ {config.module, config.init_args}, {DeadLetter.Server, config}...
23.842105
88
0.668874
79ba071b0e1fd9e3b92b235e9e831f99fa7510ea
2,023
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/table_border_properties.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/table_border_properties.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/table_border_properties.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.781818
98
0.741473
79ba095cd41d46014d24ce50ee6de3d1fe19eab9
1,678
exs
Elixir
projects/standup/mix.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2020-02-11T06:00:11.000Z
2020-02-11T06:00:11.000Z
projects/standup/mix.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2017-09-23T19:41:29.000Z
2017-09-25T05:12:38.000Z
projects/standup/mix.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
null
null
null
defmodule Standup.MixProject do use Mix.Project def project do [ app: :standup, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
26.21875
79
0.572706
79ba09651145595d77993f4e3c7aebe8f7cc1b3a
1,451
ex
Elixir
lib/interfaces/i_steam_news.ex
kouwasi/steam_ex
b06469ad5bce8da60b4436f842b57287cb1db18f
[ "MIT" ]
2
2018-08-25T10:50:04.000Z
2018-10-02T02:05:01.000Z
lib/interfaces/i_steam_news.ex
kouwasi/steam_ex
b06469ad5bce8da60b4436f842b57287cb1db18f
[ "MIT" ]
null
null
null
lib/interfaces/i_steam_news.ex
kouwasi/steam_ex
b06469ad5bce8da60b4436f842b57287cb1db18f
[ "MIT" ]
1
2018-10-02T02:05:04.000Z
2018-10-02T02:05:04.000Z
defmodule SteamEx.ISteamNews do @moduledoc """ Provides access to the Steam News functionality. For more info on how to use the Steamworks Web API please see the [Web API Overview](https://partner.steamgames.com/doc/webapi_overview). """ import SteamEx.API.Base @interface "ISteamNews" @doc """ Get th...
46.806452
170
0.68918
79ba0fee4b38d58d34f7bf50605cc82060b80bf1
4,424
ex
Elixir
lib/machinery/transition.ex
bgentry/machinery
f4835da5977394b819cde785d52b0b93bf3beae1
[ "Apache-2.0" ]
null
null
null
lib/machinery/transition.ex
bgentry/machinery
f4835da5977394b819cde785d52b0b93bf3beae1
[ "Apache-2.0" ]
null
null
null
lib/machinery/transition.ex
bgentry/machinery
f4835da5977394b819cde785d52b0b93bf3beae1
[ "Apache-2.0" ]
null
null
null
defmodule Machinery.Transition do @moduledoc """ Machinery module responsible for control transitions, guard functions and callbacks (before and after). This is meant to be for internal use only. """ @doc """ Function responsible for checking if the transition from a state to another was specifically d...
33.263158
100
0.720163
79ba417836d96af7f31cb167fb7c7ea739fa0db5
3,397
exs
Elixir
mix.exs
christhekeele/nerves_livebook
ec105d4cfb0fa13c137312447474fab9ed47487a
[ "Apache-2.0" ]
null
null
null
mix.exs
christhekeele/nerves_livebook
ec105d4cfb0fa13c137312447474fab9ed47487a
[ "Apache-2.0" ]
null
null
null
mix.exs
christhekeele/nerves_livebook
ec105d4cfb0fa13c137312447474fab9ed47487a
[ "Apache-2.0" ]
null
null
null
defmodule NervesLivebook.MixProject do use Mix.Project @app :nerves_livebook @version "0.4.1" @rpi_targets [:rpi, :rpi0, :rpi2, :rpi3, :rpi3a, :rpi4] @all_targets @rpi_targets ++ [:bbb, :osd32mp1, :x86_64, :npi_imx6ull] # See the BlueHeron repository for the boards that it supports. @ble_targets [:rpi0...
37.32967
84
0.584045
79ba58ae4a0dc3bbd131defbe77590e7a7291943
289
ex
Elixir
lib/mix/tasks/yatapp/download_translations.ex
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
2
2019-08-23T09:42:30.000Z
2019-10-29T14:38:36.000Z
lib/mix/tasks/yatapp/download_translations.ex
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
6
2019-03-27T13:30:05.000Z
2022-01-14T21:12:29.000Z
lib/mix/tasks/yatapp/download_translations.ex
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
2
2019-11-14T13:51:42.000Z
2022-01-14T09:18:03.000Z
defmodule Mix.Tasks.Yatapp.DownloadTranslations do @moduledoc """ Downloads translations for all locales defined in config and saves as files. """ use Mix.Task @shortdoc "Downloads and saves translations." def run(_) do Yatapp.TranslationsDownloader.download() end end
22.230769
78
0.747405
79baab860e135c95cec58a73f08238330a8bacc5
2,269
ex
Elixir
lib/atom_tweaks_web/controllers/admin/release_note_controller.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
null
null
null
lib/atom_tweaks_web/controllers/admin/release_note_controller.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
null
null
null
lib/atom_tweaks_web/controllers/admin/release_note_controller.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
null
null
null
defmodule AtomTweaksWeb.Admin.ReleaseNoteController do @moduledoc """ Handles all admin release notes resource routes. """ use AtomTweaksWeb, :controller alias AtomTweaks.Releases alias AtomTweaks.Releases.Note @doc """ Creates a new release note. """ @spec create(Plug.Conn.t(), Map.t()) :: Plug....
24.397849
93
0.619656
79babf73a3be512ad15d50bb17c2ea447acb9154
611
ex
Elixir
lib/breadcrumbs/application.ex
azohra/breadcrumbs
6466e66d5a2a8fb103db5d1d8ddf43b92d1e13a0
[ "MIT" ]
3
2018-11-09T18:18:40.000Z
2018-12-10T21:10:21.000Z
lib/breadcrumbs/application.ex
azohra/Breadcrumbs
6466e66d5a2a8fb103db5d1d8ddf43b92d1e13a0
[ "MIT" ]
null
null
null
lib/breadcrumbs/application.ex
azohra/Breadcrumbs
6466e66d5a2a8fb103db5d1d8ddf43b92d1e13a0
[ "MIT" ]
null
null
null
defmodule Breadcrumbs.Application do @moduledoc false use Application @doc false def start(_type, _args) do import Supervisor.Spec pool_size = get_config() children = [ worker(Breadcrumbs.Pool, [pool_size]), worker(Breadcrumbs.PoolIndex, [pool_size]) ] Supervisor.start_link(c...
21.068966
79
0.677578
79bac69c7885a14d831995768713aed8c69fbc89
3,350
ex
Elixir
apps/train_loc/lib/train_loc/vehicles/vehicle.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
1
2022-01-30T20:53:07.000Z
2022-01-30T20:53:07.000Z
apps/train_loc/lib/train_loc/vehicles/vehicle.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
47
2021-05-05T10:31:05.000Z
2022-03-30T22:18:14.000Z
apps/train_loc/lib/train_loc/vehicles/vehicle.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
1
2021-05-14T00:35:08.000Z
2021-05-14T00:35:08.000Z
defmodule TrainLoc.Vehicles.Vehicle do @moduledoc """ Functions for working with individual vehicles. """ alias TrainLoc.Utilities.Time, as: TrainLocTime alias TrainLoc.Vehicles.Vehicle require Logger @enforce_keys [:vehicle_id] defstruct [ :vehicle_id, timestamp: DateTime.from_naive!(~N[1970...
27.916667
83
0.66597
79baf55e44bc00c4d06e32c41c98ebab60e0a8f7
1,187
exs
Elixir
clients/storage_transfer/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
defmodule GoogleApi.StorageTransfer.V1.Mixfile do use Mix.Project @version "0.1.0" def project do [app: :google_api_storage_transfer, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: p...
24.729167
119
0.620051
79bb0ebd71af7d38c9eb9708d0d5a844755c7f77
5,043
ex
Elixir
lib/exif_parser.ex
bruceme/exif_parser
38f8ccb9db82924229da3df89ce91a03e4c5decb
[ "Apache-2.0" ]
2
2019-03-09T21:35:43.000Z
2020-02-27T08:09:39.000Z
lib/exif_parser.ex
bruceme/exif_parser
38f8ccb9db82924229da3df89ce91a03e4c5decb
[ "Apache-2.0" ]
4
2018-09-05T14:55:25.000Z
2022-02-04T02:24:11.000Z
lib/exif_parser.ex
bruceme/exif_parser
38f8ccb9db82924229da3df89ce91a03e4c5decb
[ "Apache-2.0" ]
3
2020-02-26T22:52:05.000Z
2022-02-16T08:12:40.000Z
defmodule ExifParser do @moduledoc """ Parse EXIF/TIFF metadata from JPEG and TIFF files. Exif/TIFF referes to the metadata added to jpeg images. It is encoded as part of the jpeg file. There are multiple so-called "Image File Directories" or IFD that store information about the image. + IFD0 generally store...
25.089552
102
0.598652
79bb2f4d325595a98300eca1a76a55dc9195bdf0
5,408
ex
Elixir
lib/text_based_fps/player_commands/fire.ex
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
1
2022-03-02T12:18:07.000Z
2022-03-02T12:18:07.000Z
lib/text_based_fps/player_commands/fire.ex
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
12
2021-05-31T21:41:09.000Z
2021-07-30T03:18:09.000Z
lib/text_based_fps/player_commands/fire.ex
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
null
null
null
defmodule TextBasedFPS.PlayerCommand.Fire do import TextBasedFPS.CommandHelper import TextBasedFPS.Text, only: [danger: 1, highlight: 1] alias TextBasedFPS.{ GameMap, Notification, PlayerCommand, Room, RoomPlayer, ServerState } @behaviour PlayerCommand @impl true def execute(sta...
29.878453
95
0.664201
79bb96c2905e375128f2df63b5f9a17cfb56504e
107
ex
Elixir
lib/inch_test/invisible.ex
reergymerej/Hello-World-Elixir
dcdc1437821042225ebb2987dc015e356b0f87f5
[ "MIT" ]
3
2015-09-20T15:43:09.000Z
2016-12-30T19:20:05.000Z
lib/inch_test/invisible.ex
reergymerej/Hello-World-Elixir
dcdc1437821042225ebb2987dc015e356b0f87f5
[ "MIT" ]
null
null
null
lib/inch_test/invisible.ex
reergymerej/Hello-World-Elixir
dcdc1437821042225ebb2987dc015e356b0f87f5
[ "MIT" ]
1
2019-12-07T00:17:49.000Z
2019-12-07T00:17:49.000Z
defmodule InchTest.Invisible do @moduledoc false @doc """ Something """ def foo do end end
9.727273
31
0.635514
79bbbec39abe71358cfb98a574e840ff19e862db
2,288
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_create_entities_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2019-01-03T22:30:36.000Z
2019-01-03T22:30:36.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_create_entities_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_create_entities_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.903226
348
0.756556
79bbbef61031b96eb216ae05304150de4c70e8df
265
ex
Elixir
dh11_live_view_ui/lib/dh11_live_view_ui.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
dh11_live_view_ui/lib/dh11_live_view_ui.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
dh11_live_view_ui/lib/dh11_live_view_ui.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
defmodule Dh11LiveViewUi do @moduledoc """ Dh11LiveViewUi keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.5
66
0.766038
79bbd1e47c526a1dcdf606ff43cd6a9ebbbc7311
1,381
ex
Elixir
apps/artemis/lib/artemis/contexts/event_answer/create_event_answer.ex
artemis-platform/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2020-04-23T02:29:18.000Z
2020-07-07T13:13:17.000Z
apps/artemis/lib/artemis/contexts/event_answer/create_event_answer.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
4
2020-04-26T20:35:36.000Z
2020-11-10T22:13:19.000Z
apps/artemis/lib/artemis/contexts/event_answer/create_event_answer.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
null
null
null
defmodule Artemis.CreateEventAnswer do use Artemis.Context alias Artemis.EventAnswer alias Artemis.Helpers.Markdown alias Artemis.Repo def call!(params, user) do case call(params, user) do {:error, _} -> raise(Artemis.Context.Error, "Error creating event answer") {:ok, result} -> result ...
23.40678
88
0.676322
79bbddfd43109d320c1ff1b03454818e22c97ec3
1,877
ex
Elixir
clients/content/lib/google_api/content/v21/model/accounttax_custom_batch_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/accounttax_custom_batch_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/accounttax_custom_batch_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...
37.54
194
0.752264
79bbe64cc366d0d004b1a8da75a762196d68cf45
1,800
exs
Elixir
mix.exs
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
mix.exs
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
mix.exs
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
defmodule MessagingStatusService.Mixfile do use Mix.Project def project do [ app: :messaging_status_service, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, ...
26.865672
79
0.569444
79bbebc8c5f65c8d92456166e7ce3609212d06ac
4,219
exs
Elixir
test/aws_ex_ray_test.exs
lyokato/aws_ex_ray
f2413e9ac0d248da8960eef548418b1a2a906aff
[ "MIT" ]
10
2018-06-17T03:20:59.000Z
2022-03-01T18:34:55.000Z
test/aws_ex_ray_test.exs
lyokato/aws_ex_ray
f2413e9ac0d248da8960eef548418b1a2a906aff
[ "MIT" ]
9
2018-05-29T05:26:24.000Z
2021-12-11T15:29:38.000Z
test/aws_ex_ray_test.exs
lyokato/aws_ex_ray
f2413e9ac0d248da8960eef548418b1a2a906aff
[ "MIT" ]
9
2018-06-11T06:15:58.000Z
2022-01-20T10:07:36.000Z
defmodule AwsExRayTest do use ExUnit.Case, async: true use StructAssert alias AwsExRay.Test.MockedSink alias AwsExRay.Trace alias AwsExRay.Util setup do AwsExRay.Test.Mox.setup_default() :ok end test "segment" do agent = MockedSink.start_agent() {:ok, trace} = Trace.parse("Root=roo...
19.177273
103
0.506992
79bbee7853867081fcbd312f612c2a507406fad4
5,980
ex
Elixir
lib/ecto/parameterized_type.ex
yordis/ecto
6e7bc3f4d757b7c09ced10135e0c5c4ce1f4ea2f
[ "Apache-2.0" ]
null
null
null
lib/ecto/parameterized_type.ex
yordis/ecto
6e7bc3f4d757b7c09ced10135e0c5c4ce1f4ea2f
[ "Apache-2.0" ]
null
null
null
lib/ecto/parameterized_type.ex
yordis/ecto
6e7bc3f4d757b7c09ced10135e0c5c4ce1f4ea2f
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.ParameterizedType do @moduledoc """ Parameterized types are Ecto types that can be customized per field. Parameterized types allow a set of options to be specified in the schema which are initialized on compilation and passed to the callback functions as the last argument. For example, `fie...
30.20202
98
0.672575
79bbf261762f96a31ad5ad3bb006ab9d8e50cab0
1,535
exs
Elixir
data/config.exs
argrath/pleroma-vagrant
edeb6777dd1d775fbf4f1ac40e5d485905cf0066
[ "CC0-1.0" ]
2
2018-04-20T13:16:26.000Z
2019-02-16T21:53:23.000Z
data/config.exs
argrath/pleroma-vagrant
edeb6777dd1d775fbf4f1ac40e5d485905cf0066
[ "CC0-1.0" ]
null
null
null
data/config.exs
argrath/pleroma-vagrant
edeb6777dd1d775fbf4f1ac40e5d485905cf0066
[ "CC0-1.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 # General application configuration config :pleroma, ecto_repos: [Pleroma.Repo] co...
28.962264
86
0.710098
79bc187729ba11e10b29dd526050805990e473b2
1,941
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3beta1_webhook_request_intent_info_intent_parameter_value.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3beta1_webhook_request_intent_info_intent_parameter_value.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3beta1_webhook_request_intent_info_intent_parameter_value.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...
34.052632
141
0.752705
79bc426cf3782def11af472775804a3e3610987d
28,251
exs
Elixir
lib/mix/test/mix/tasks/xref_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
1
2018-10-02T13:55:29.000Z
2018-10-02T13:55:29.000Z
lib/mix/test/mix/tasks/xref_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/xref_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.XrefTest do use MixTest.Case import ExUnit.CaptureIO setup_all do previous = Application.get_env(:elixir, :ansi_enabled, false) Application.put_env(:elixir, :ansi_enabled, false) on_exit(fn -> Application.put_env(:elixir, :ansi...
22.192459
110
0.531167
79bc82721edba240ac562cb2e99b0673cdf8d41f
820
ex
Elixir
lib/projection/inbox.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
1
2017-03-31T09:26:21.000Z
2017-03-31T09:26:21.000Z
lib/projection/inbox.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
1
2017-05-03T06:30:09.000Z
2017-05-03T06:30:09.000Z
lib/projection/inbox.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
null
null
null
defmodule Iris.Projection.Inbox do require Logger # TODO implement unread message number def apply(%Iris.Event.MessageSent{} = event) do Logger.info("Projecting #{inspect(event)}") for user <- event.members do save_message_to_inbox(user, event.channel, event.sender, event.body, event.ts) end ...
22.777778
84
0.702439
79bc927cdb647d7c4a4d153f3c035ef9140d5909
1,729
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1/model/set_iam_policy_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_catalog/lib/google_api/data_catalog/v1/model/set_iam_policy_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_catalog/lib/google_api/data_catalog/v1/model/set_iam_policy_request.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...
36.787234
311
0.749566
79bc95ef0fba99eb6a04716780cd08e2c20c39fb
18,547
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/api/roles.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/api/roles.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/admin/lib/google_api/admin/directory_v1/api/roles.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...
46.600503
196
0.615679
79bcf1571182c858db19b636965eff3762dda629
676
ex
Elixir
lib/bus_car/application.ex
elbow-jason/bus_car
cd70b9f6b8dd404eb518f642491e0a4430e2d9f9
[ "MIT" ]
18
2016-09-25T21:36:39.000Z
2021-02-17T15:09:52.000Z
lib/bus_car/application.ex
elbow-jason/bus_car
cd70b9f6b8dd404eb518f642491e0a4430e2d9f9
[ "MIT" ]
7
2016-12-08T05:01:23.000Z
2018-04-05T08:55:11.000Z
lib/bus_car/application.ex
elbow-jason/bus_car
cd70b9f6b8dd404eb518f642491e0a4430e2d9f9
[ "MIT" ]
1
2020-04-24T02:10:15.000Z
2020-04-24T02:10:15.000Z
defmodule BusCar.Application do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false # Define workers and child supervisors to be supervised children = [ # St...
33.8
78
0.717456
79bcf32982c4f2cccd65b9a727bcaa1fc3533d7c
1,770
exs
Elixir
config/prod.exs
nbw/gems
eb4e253af230646563f0ddb307c499a0cab0aa2d
[ "MIT" ]
63
2021-12-02T13:20:03.000Z
2022-03-02T14:32:19.000Z
config/prod.exs
nbw/gems
eb4e253af230646563f0ddb307c499a0cab0aa2d
[ "MIT" ]
1
2022-01-03T02:21:58.000Z
2022-01-03T23:44:28.000Z
config/prod.exs
nbw/gems
eb4e253af230646563f0ddb307c499a0cab0aa2d
[ "MIT" ]
5
2021-12-02T15:17:10.000Z
2022-02-02T20:18:53.000Z
import 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, # w...
34.705882
66
0.703955
79bd046cc36ea54a91492ef666a2e18d7765cd94
235
ex
Elixir
lib/straw_hat_review/interactor.ex
straw-hat-team/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
11
2018-04-09T06:32:02.000Z
2019-09-11T14:18:21.000Z
lib/straw_hat_review/interactor.ex
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
64
2018-03-30T06:21:49.000Z
2019-11-01T13:57:34.000Z
lib/straw_hat_review/interactor.ex
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
1
2018-06-21T23:00:00.000Z
2018-06-21T23:00:00.000Z
defmodule StrawHat.Review.Interactor do @moduledoc false defmacro __using__(_opts) do quote do import Ecto.Query, only: [from: 2] alias StrawHat.{Error, Response} alias StrawHat.Review.Repo end end end
19.583333
40
0.689362
79bd72295a469086cedaf5f8f6a56e8058fd201e
3,940
ex
Elixir
lib/mole_web/controllers/game_controller.ex
the-mikedavis/mole
73d884b5dca4e5371b1b399d7e65c0f4a0229851
[ "BSD-3-Clause" ]
1
2020-07-15T14:39:10.000Z
2020-07-15T14:39:10.000Z
lib/mole_web/controllers/game_controller.ex
the-mikedavis/mole
73d884b5dca4e5371b1b399d7e65c0f4a0229851
[ "BSD-3-Clause" ]
59
2018-11-05T23:09:10.000Z
2020-07-11T20:44:14.000Z
lib/mole_web/controllers/game_controller.ex
the-mikedavis/mole
73d884b5dca4e5371b1b399d7e65c0f4a0229851
[ "BSD-3-Clause" ]
null
null
null
defmodule MoleWeb.GameController do use MoleWeb, :controller require Logger alias Mole.{Accounts, Content} alias MoleWeb.Plugs.Survey # order matters here plug(:logged_in) # removed for #42 # plug(:consent) plug(:pre_survey when action == :index) plug(:learn) alias Mole.GameplayServer def i...
29.185185
99
0.639594
79bd856b78e5b2adee1afd0cf866eb70c9f058c3
2,358
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/status.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/status.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/status.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...
44.490566
427
0.726887
79bda5c5436c884e5eaf3f23530d4a0485efdf89
1,869
ex
Elixir
chromoid_web/lib/chromoid/devices/color.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
7
2020-11-18T11:29:20.000Z
2022-01-16T03:16:14.000Z
chromoid_web/lib/chromoid/devices/color.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
null
null
null
chromoid_web/lib/chromoid/devices/color.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
1
2021-01-06T15:40:46.000Z
2021-01-06T15:40:46.000Z
defmodule Chromoid.Devices.Color do use GenServer require Logger import Chromoid.Devices.DeviceRegistry, only: [via: 1] @endpoint ChromoidWeb.Endpoint alias Phoenix.Socket.Broadcast def random_color() do Enum.random([ "white", "silver", "gray", "black", "red", "maroo...
21.732558
92
0.582129
79bdaec610bca9775f1accd73df0380ab1208029
856
exs
Elixir
mix.exs
sticksnleaves/bamboo_eex
81ab27dac258350b90a697c8bdbb62de01547f14
[ "MIT" ]
6
2017-10-03T22:12:22.000Z
2019-08-18T21:26:05.000Z
mix.exs
sticksnleaves/bamboo_eex
81ab27dac258350b90a697c8bdbb62de01547f14
[ "MIT" ]
3
2018-06-29T16:34:59.000Z
2021-02-26T22:54:06.000Z
mix.exs
sticksnleaves/bamboo_eex
81ab27dac258350b90a697c8bdbb62de01547f14
[ "MIT" ]
3
2018-06-28T17:45:33.000Z
2021-08-19T11:56:09.000Z
defmodule Bamboo.EEx.Mixfile do use Mix.Project def project do [ app: :bamboo_eex, description: "EEx template support for Bamboo", version: "0.1.1", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env), package:...
19.454545
61
0.533879
79bdd3e9607175609b2778d179811079da741755
1,623
ex
Elixir
lib/ex_okex/api.ex
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
null
null
null
lib/ex_okex/api.ex
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
4
2019-04-12T17:13:00.000Z
2020-04-06T07:28:47.000Z
lib/ex_okex/api.ex
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
5
2019-04-10T00:41:17.000Z
2021-12-23T14:49:02.000Z
defmodule ExOkex.Api do @moduledoc false @type path :: String.t() @type config :: map @type params :: map @type status_code :: integer @type body :: term @type response :: {:ok, term} | {:error, term} | {:error, body, status_code} @spec url(path, config) :: String.t() def url(path, config), do: confi...
29.509091
79
0.553913
79be08ffbc350fdab80cc0887438438e207eef12
2,750
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/router_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_list.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 ...
44.354839
393
0.709091
79be514d18f712e3b0b65d98f4e51269f8be5e39
998
ex
Elixir
clients/custom_search/lib/google_api/custom_search/v1/connection.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/custom_search/lib/google_api/custom_search/v1/connection.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/custom_search/lib/google_api/custom_search/v1/connection.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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.266667
74
0.748497
79be7070bf1bd618148544e874187d15aeca7fcf
76
exs
Elixir
test/orga_web/views/layout_view_test.exs
sinorga/orga.tw
d567347f224e5a995f5eb7edf5bd049988a3a48d
[ "MIT" ]
null
null
null
test/orga_web/views/layout_view_test.exs
sinorga/orga.tw
d567347f224e5a995f5eb7edf5bd049988a3a48d
[ "MIT" ]
null
null
null
test/orga_web/views/layout_view_test.exs
sinorga/orga.tw
d567347f224e5a995f5eb7edf5bd049988a3a48d
[ "MIT" ]
null
null
null
defmodule OrgaWeb.LayoutViewTest do use OrgaWeb.ConnCase, async: true end
19
35
0.815789
79be73a09b22b378f2f4d01728d23f8d34c18904
2,113
exs
Elixir
test/particle/variables_test.exs
tompesman/particle-elixir
90226405b868f8e8ff308c84c34e88ea68a8570a
[ "MIT" ]
null
null
null
test/particle/variables_test.exs
tompesman/particle-elixir
90226405b868f8e8ff308c84c34e88ea68a8570a
[ "MIT" ]
null
null
null
test/particle/variables_test.exs
tompesman/particle-elixir
90226405b868f8e8ff308c84c34e88ea68a8570a
[ "MIT" ]
null
null
null
defmodule Particle.VariablesTest do use ExUnit.Case use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney setup_all do ExVCR.Config.cassette_library_dir("fixture/vcr_cassettes/particle/variables") ExVCR.Config.filter_sensitive_data("Bearer .+", "TOKEN") ExVCR.Config.filter_sensitive_data("(.*)" <> (System.g...
39.12963
214
0.673923
79be87b11d930ce712a2e9a7c8b09ebe317acfda
802
ex
Elixir
apps/docker/test/support/adapter/mock.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
1
2020-10-23T19:25:27.000Z
2020-10-23T19:25:27.000Z
apps/docker/test/support/adapter/mock.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
5
2019-01-11T11:48:08.000Z
2019-01-16T17:29:23.000Z
apps/docker/test/support/adapter/mock.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
7
2019-10-09T05:49:52.000Z
2022-03-23T16:48:45.000Z
defmodule Staxx.Docker.Adapter.Mock do @moduledoc """ Set of docker commands that will be running on read docker daemon """ @behaviour Staxx.Docker require Logger alias Staxx.Docker.Container @impl true def start(_id), do: :ok @impl true def run(%Container{name: name} = container), do: {:ok,...
18.651163
67
0.647132
79be8fa88dbed0a5648313cacd5cd5de0c0613e8
2,107
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation_warnings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation_warnings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation_warnings.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...
39.018519
194
0.723778
79bea3391d9b8cc9dc8ffe2f6575d75d2e63a7d8
3,125
exs
Elixir
test/surface/components/form/textarea_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
test/surface/components/form/textarea_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
test/surface/components/form/textarea_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.TextAreaTest do use Surface.ConnCase, async: true alias Surface.Components.Form.TextArea test "empty textarea" do html = render_surface do ~F""" <TextArea form="user" field="summary" /> """ end assert html =~ """ <textarea...
22.007042
112
0.5392
79bea63fdd72d2565b810c317bdbc740efb12e3c
4,760
ex
Elixir
lib/expected/store/test.ex
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
33
2018-01-18T12:16:19.000Z
2021-07-30T00:33:26.000Z
lib/expected/store/test.ex
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
5
2018-01-18T12:56:28.000Z
2019-09-30T07:16:00.000Z
lib/expected/store/test.ex
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
1
2018-08-08T12:02:44.000Z
2018-08-08T12:02:44.000Z
defmodule Expected.Store.Test do @moduledoc """ A module for testing `Expected.Store` implementations. In order to test a new `Expected.Store`, create a test module and use `Expected.Store.Test` by specifying the store to test: defmodule MyExpected.StoreTest do use ExUnit.Case use Expect...
28.674699
78
0.561975
79beb7f6acb454f69fb260e46476a171786445b0
1,383
ex
Elixir
test/support/data_case.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
test/support/data_case.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
test/support/data_case.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
defmodule BlogApi.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test...
25.611111
77
0.679682
79bf71f225b33e05ea87231b813837ad2c60dab5
7,726
ex
Elixir
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/reports.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/reports.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/reports.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 ...
52.557823
196
0.644965
79bf95177ecbf832513cc29b2897789a278aea00
2,422
ex
Elixir
day14/lib/day14.ex
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
day14/lib/day14.ex
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
day14/lib/day14.ex
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
defmodule Day14 do @moduledoc """ One time pad """ defmodule State do defstruct curr_idx: 0, remaining: 0, salt: nil, cache: Map.new end @doc """ Find the index for a given key """ def find_index(idx, salt) do hash_search(%State{curr_idx: 0, remaining: idx, salt: salt}) end defp hash_se...
26.326087
110
0.619736
79bfbfc3b8ddb0dc28358dec912f3926e151d129
259
ex
Elixir
lib/sisnuvempay.ex
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "MIT" ]
null
null
null
lib/sisnuvempay.ex
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "MIT" ]
null
null
null
lib/sisnuvempay.ex
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "MIT" ]
null
null
null
defmodule Sisnuvempay do @moduledoc """ Sisnuvempay keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.9
66
0.760618
79bfdc9f0382c4a3293fa2643a91fd5e39b72f10
70
ex
Elixir
web/views/comment_view.ex
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
web/views/comment_view.ex
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
web/views/comment_view.ex
davepersing/blog_engine
8605732f72c169d6cc2c2261a9acef0de7769403
[ "MIT" ]
null
null
null
defmodule BlogEngine.CommentView do use BlogEngine.Web, :view end
17.5
35
0.785714
79c01bf0ff8d3479d112048657c38ac70a350000
53
ex
Elixir
web/views/page_view.ex
simonasdev/splurty
0bee8871803b25d19d4ba96c872d51321ce81d2f
[ "MIT" ]
null
null
null
web/views/page_view.ex
simonasdev/splurty
0bee8871803b25d19d4ba96c872d51321ce81d2f
[ "MIT" ]
null
null
null
web/views/page_view.ex
simonasdev/splurty
0bee8871803b25d19d4ba96c872d51321ce81d2f
[ "MIT" ]
null
null
null
defmodule Splurty.PageView do use Splurty.View end
13.25
29
0.811321