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
187bde148157cfb011f38fea0ef551f4fd47d2ae
1,597
ex
Elixir
clients/container/lib/google_api/container/v1/model/accelerator_config.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/accelerator_config.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/accelerator_config.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 "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...
33.270833
158
0.761428
187c3d18819686a6ebed562690d059afded94aaf
1,070
ex
Elixir
final-projects/shop_website/test/support/conn_case.ex
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
3
2019-07-31T20:06:34.000Z
2021-11-16T11:19:45.000Z
final-projects/shop_website/test/support/conn_case.ex
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
null
null
null
final-projects/shop_website/test/support/conn_case.ex
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
1
2019-07-31T16:46:14.000Z
2019-07-31T16:46:14.000Z
defmodule ShopWebsiteWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, i...
27.435897
73
0.723364
187c4f997e87a4443d4a9a48749cf94cfe609b20
1,453
ex
Elixir
clients/translate/lib/google_api/translate/v2/model/detect_language_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/model/detect_language_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/model/detect_language_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
33.022727
174
0.761872
187c67c784d6c3b783639fcc097f38617e6e2fa9
549
ex
Elixir
lib/flop/custom_types/existing_atom.ex
maltoe/flop
b7637655b613bcbb7949fabaf37d8ba5acb1a5be
[ "MIT" ]
null
null
null
lib/flop/custom_types/existing_atom.ex
maltoe/flop
b7637655b613bcbb7949fabaf37d8ba5acb1a5be
[ "MIT" ]
null
null
null
lib/flop/custom_types/existing_atom.ex
maltoe/flop
b7637655b613bcbb7949fabaf37d8ba5acb1a5be
[ "MIT" ]
null
null
null
defmodule Flop.CustomTypes.ExistingAtom do @moduledoc false use Ecto.Type def type, do: :string def cast(a) when is_binary(a) do {:ok, String.to_existing_atom(a)} rescue ArgumentError -> :error end def cast(a) when is_atom(a) do {:ok, a} end def cast(_), do: :error def load(a) when ...
18.931034
54
0.641166
187c83941c3e6b11339fff58790f79ed6425ea35
1,711
exs
Elixir
mix.exs
TheFirstAvenger/ets
1203b26d5c1256de9a9e063eea25808990f9a278
[ "MIT" ]
149
2018-12-06T02:17:40.000Z
2022-03-15T22:22:32.000Z
mix.exs
TheFirstAvenger/ets
1203b26d5c1256de9a9e063eea25808990f9a278
[ "MIT" ]
21
2019-02-25T15:06:19.000Z
2022-03-25T14:36:16.000Z
mix.exs
TheFirstAvenger/ets
1203b26d5c1256de9a9e063eea25808990f9a278
[ "MIT" ]
13
2019-02-26T16:37:50.000Z
2022-03-29T22:06:03.000Z
defmodule ETS.MixProject do use Mix.Project def project do [ app: :ets, version: "0.8.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), docs: [main: "ETS", extras: ["README.md"]], package: package(), source...
25.161765
71
0.558153
187c94172e36514b6f2ea930f2295cf66ed7b97f
715
exs
Elixir
sips/006_testing/schizo/test/schizo_test.exs
adamzaninovich/learning-elixir
015d803682bad4eceaacff6e9a0a789b168a5e7a
[ "MIT" ]
null
null
null
sips/006_testing/schizo/test/schizo_test.exs
adamzaninovich/learning-elixir
015d803682bad4eceaacff6e9a0a789b168a5e7a
[ "MIT" ]
null
null
null
sips/006_testing/schizo/test/schizo_test.exs
adamzaninovich/learning-elixir
015d803682bad4eceaacff6e9a0a789b168a5e7a
[ "MIT" ]
null
null
null
defmodule SchizoTest do use ExUnit.Case doctest Schizo test "uppercase doesn't change the first word" do assert Schizo.uppercase("foo") == "foo" end test "uppercase converts the second word" do assert Schizo.uppercase("foo bar") == "foo BAR" end test "uppercase converts every other word" do ...
24.655172
69
0.685315
187c980863ff5820b24d30871135820620a7556f
264
exs
Elixir
test/myclient/api_test.exs
bogumilmazur/allegrotest
011d5a546c855f3e272a04dd9b1294593190e5b2
[ "MIT" ]
1
2018-09-08T01:03:33.000Z
2018-09-08T01:03:33.000Z
test/myclient/api_test.exs
bogumilmazur/allegrotest
011d5a546c855f3e272a04dd9b1294593190e5b2
[ "MIT" ]
null
null
null
test/myclient/api_test.exs
bogumilmazur/allegrotest
011d5a546c855f3e272a04dd9b1294593190e5b2
[ "MIT" ]
2
2019-05-10T08:27:38.000Z
2021-01-28T08:43:25.000Z
defmodule Myclient.ApiTest do use ExUnit.Case test "get" do {200, _body} = Myclient.Api.get("http://localhost:4000") {404, _body} = Myclient.Api.get("http://localhost:4000/garbage") {:error, _reason} = Myclient.Api.get("ppq://url.com") end end
24
68
0.659091
187cadbdd8dcfd614293a523c1ccbc6f31e8b408
2,147
ex
Elixir
identicon/lib/identicon.ex
helderjnpinto/elixir_identicon
9c48529422cf3a02ae50b272dcb2c52a1b2d809e
[ "MIT" ]
4
2017-12-04T11:00:46.000Z
2017-12-04T11:13:31.000Z
identicon/lib/identicon.ex
helderjnpinto/elixir_identicon
9c48529422cf3a02ae50b272dcb2c52a1b2d809e
[ "MIT" ]
null
null
null
identicon/lib/identicon.ex
helderjnpinto/elixir_identicon
9c48529422cf3a02ae50b272dcb2c52a1b2d809e
[ "MIT" ]
null
null
null
defmodule Identicon do @moduledoc """ Documentation for Identicon. """ def main(input) do input |> hash_string |> pick_color |> buid_grid |> filter_odd_squares |> build_pixel_map |> draw_image |> save_image input end def hash_string(input) do hex = :crypto.hash(:m...
22.364583
73
0.585934
187cafbf1dc080de84ccb184790039c763ad238b
74
exs
Elixir
test/views/layout_view_test.exs
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
test/views/layout_view_test.exs
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
test/views/layout_view_test.exs
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
defmodule Scipse.LayoutViewTest do use Scipse.ConnCase, async: true end
18.5
34
0.810811
187cf2683aa18c3d87a173b3ea59033ff559f0b4
249
ex
Elixir
lib/glimesh/oauth/oauth_access_grant.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
1
2020-08-02T00:12:28.000Z
2020-08-02T00:12:28.000Z
lib/glimesh/oauth/oauth_access_grant.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh/oauth/oauth_access_grant.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule Glimesh.OauthAccessGrants.OauthAccessGrant do @moduledoc false use Ecto.Schema use ExOauth2Provider.AccessGrants.AccessGrant, otp_app: :glimesh schema "oauth_access_grants" do access_grant_fields() timestamps() end end
20.75
66
0.787149
187cf6a50ad3ce31ffa354a2f23a58f16567a0bb
1,048
ex
Elixir
test/support/conn_case.ex
MSP95/pdftotext
f68fb0c661d76c0a14fd8c3c6d831a1d32675cbe
[ "MIT" ]
5
2018-07-19T09:29:54.000Z
2019-08-04T18:37:15.000Z
test/support/conn_case.ex
MSP95/pdftotext
f68fb0c661d76c0a14fd8c3c6d831a1d32675cbe
[ "MIT" ]
1
2021-11-01T08:43:41.000Z
2021-11-01T08:43:41.000Z
test/support/conn_case.ex
MSP95/pdftotext
f68fb0c661d76c0a14fd8c3c6d831a1d32675cbe
[ "MIT" ]
null
null
null
defmodule PdftotextWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if t...
26.871795
71
0.722328
187d24cf372b6b2d3b5f2273c00822aac6fcbece
126
ex
Elixir
rust-to-elixir/grpc_server/lib/message/endpoint.ex
poad/grpc-example
d1b775f6d2e89279cd29191d5d4dbec265bf0bf0
[ "Apache-2.0" ]
null
null
null
rust-to-elixir/grpc_server/lib/message/endpoint.ex
poad/grpc-example
d1b775f6d2e89279cd29191d5d4dbec265bf0bf0
[ "Apache-2.0" ]
64
2021-08-30T23:54:04.000Z
2022-03-14T21:06:11.000Z
rust-to-elixir/grpc_server/lib/message/endpoint.ex
poad/grpc-example
d1b775f6d2e89279cd29191d5d4dbec265bf0bf0
[ "Apache-2.0" ]
null
null
null
defmodule Message.Endpoint do @moduledoc false use GRPC.Endpoint intercept GRPC.Logger.Server run Message.Server end
15.75
30
0.785714
187d45495ab10b6725456397a3624efdbdc078e1
894
ex
Elixir
clients/access_approval/lib/google_api/access_approval/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/access_approval/lib/google_api/access_approval/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/access_approval/lib/google_api/access_approval/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.111111
74
0.761745
187d63b2732aed9977ec80687bf4e2edd89fd6a3
2,070
ex
Elixir
lib/pbcs/pkcs5.ex
hexpm/pbcs
5446d4602f4638046f2dcafd7ae0359866e0da42
[ "Apache-2.0" ]
16
2018-09-03T21:59:29.000Z
2021-11-27T08:15:17.000Z
lib/pbcs/pkcs5.ex
hexpm/pbcs
5446d4602f4638046f2dcafd7ae0359866e0da42
[ "Apache-2.0" ]
8
2018-08-28T17:46:23.000Z
2021-06-02T00:19:43.000Z
lib/pbcs/pkcs5.ex
hexpm/hex_crypto
5446d4602f4638046f2dcafd7ae0359866e0da42
[ "Apache-2.0" ]
3
2018-09-12T12:32:16.000Z
2021-05-10T13:39:08.000Z
defmodule PBCS.PKCS5 do @moduledoc false alias PBCS.CryptoWrapper def pbkdf2(password, salt, iterations, derived_key_length, hash) when is_binary(password) and is_binary(salt) and is_integer(iterations) and iterations >= 1 and is_integer(derived_key_length) and derived_key_length >= 0 do h...
33.934426
101
0.678261
187d742b3c5d12664fb498b9c8d6bea6c5861ee0
528
exs
Elixir
exercises/strain/strain.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/strain/strain.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/strain/strain.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Strain do @doc """ Given a `list` of items and a function `fun`, return the list of items where `fun` returns true. Do not use `Enum.filter`. """ @spec keep(list :: list(any), fun :: (any -> boolean)) :: list(any) def keep(list, fun) do end @doc """ Given a `list` of items and a function...
24
78
0.619318
187d8327ea54aa5cbec9c7ba3e4bf2fd88ce902c
2,389
ex
Elixir
lib/format/duration/formatter.ex
Adzz/timex
a9c97e2dd9cb5bed286d5a1d688f3eea8e73e6ea
[ "MIT" ]
null
null
null
lib/format/duration/formatter.ex
Adzz/timex
a9c97e2dd9cb5bed286d5a1d688f3eea8e73e6ea
[ "MIT" ]
null
null
null
lib/format/duration/formatter.ex
Adzz/timex
a9c97e2dd9cb5bed286d5a1d688f3eea8e73e6ea
[ "MIT" ]
null
null
null
defmodule Timex.Format.Duration.Formatter do @moduledoc """ This module defines the behaviour for custom Time formatters """ use Timex alias Timex.Translator alias Timex.Duration alias Timex.Format.Duration.Formatters.Default alias Timex.Format.Duration.Formatters.Humanized defmacro __using__(_) do ...
34.623188
96
0.683131
187d89fcc9a670349fa1f4c2382eccc3a1a64ed7
3,941
exs
Elixir
lib/elixir/test/elixir/kernel/tracers_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/elixir/test/elixir/kernel/tracers_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/tracers_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.TracersTest do use ExUnit.Case import Code, only: [compile_string: 1] def trace(event, %Macro.Env{} = env) do send(self(), {event, env}) :ok end setup_all do Code.put_compiler_option(:tracers, [__MODULE__]) Code.put_compiler...
24.177914
77
0.60137
187d929ef602b132efdee3f693eb3c0f55ab1fe5
1,501
ex
Elixir
lib/genetics.ex
Raymonoir/My-First-Genetic-Algo
fcf392769976019e68c743e862d55b4064ed97ff
[ "MIT" ]
null
null
null
lib/genetics.ex
Raymonoir/My-First-Genetic-Algo
fcf392769976019e68c743e862d55b4064ed97ff
[ "MIT" ]
1
2021-10-07T09:32:45.000Z
2021-10-07T09:32:45.000Z
lib/genetics.ex
Raymonoir/My-First-Genetic-Algo
fcf392769976019e68c743e862d55b4064ed97ff
[ "MIT" ]
null
null
null
defmodule Mfga.Genetics do def crossover(chromosome1, chromosome2) do crossover_point = get_crossover_point(length(chromosome1)) {chromosome1_half1, chromosome1_half2} = Enum.split(chromosome1, crossover_point) {chromosome2_half1, chromosome2_half2} = Enum.split(chromosome2, crossover_point) [chromo...
31.93617
103
0.668221
187db2fe95e12f0a50f6c3bc92fda5f3ec30cf41
203
exs
Elixir
countdown/test/countdown_web/controllers/page_controller_test.exs
cashmann/phoenix-tutorial
ea37b9d54a79df9bc1351a948eb8f8400c5e62ff
[ "MIT" ]
null
null
null
countdown/test/countdown_web/controllers/page_controller_test.exs
cashmann/phoenix-tutorial
ea37b9d54a79df9bc1351a948eb8f8400c5e62ff
[ "MIT" ]
3
2021-03-09T20:36:45.000Z
2021-05-10T17:47:02.000Z
countdown/test/countdown_web/controllers/page_controller_test.exs
cashmann/phoenix-tutorial
ea37b9d54a79df9bc1351a948eb8f8400c5e62ff
[ "MIT" ]
null
null
null
defmodule CountdownWeb.PageControllerTest do use CountdownWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.555556
60
0.689655
187dba77f396c791c86ee07aff2bb6b8f78b4a13
78
exs
Elixir
test/juntos_web/views/page_view_test.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
1
2019-11-15T15:39:24.000Z
2019-11-15T15:39:24.000Z
test/juntos_web/views/page_view_test.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
166
2020-06-30T16:07:48.000Z
2021-11-25T00:02:24.000Z
test/juntos_web/views/page_view_test.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
null
null
null
defmodule JuntosWeb.PageViewTest do use JuntosWeb.ConnCase, async: true end
19.5
37
0.820513
187dbc4599722a13869b788de29133443f4d790d
139
exs
Elixir
test/lib/crawler/fetcher/requester_test.exs
Gauthamiv/crawler
394b09d4e8f4c15abefc6295c1b3e72fb82d5416
[ "MIT" ]
884
2016-08-08T17:07:02.000Z
2022-03-17T10:11:42.000Z
test/lib/crawler/fetcher/requester_test.exs
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
28
2017-08-04T14:11:42.000Z
2021-01-02T22:40:20.000Z
test/lib/crawler/fetcher/requester_test.exs
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
86
2017-01-12T15:13:49.000Z
2022-01-12T21:24:52.000Z
defmodule Crawler.Fetcher.RequesterTest do use Crawler.TestCase, async: true alias Crawler.Fetcher.Requester doctest Requester end
17.375
42
0.805755
187dd40c7633015ab5b1f9de22949a373ba1a94c
34,608
ex
Elixir
lib/ex_unit/lib/ex_unit/diff.ex
lpeppe/elixir
8742096f7792a34472df510da45d189a7780f9fa
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/diff.ex
lpeppe/elixir
8742096f7792a34472df510da45d189a7780f9fa
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/diff.ex
lpeppe/elixir
8742096f7792a34472df510da45d189a7780f9fa
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.Diff do @moduledoc false # A Diff struct and functions. # # The Diff struct contains the fields `:equivalent?`, `:left`, `:right`. # The `:equivalent?` field represents if the `:left` and `:right` side are # equivalents and contain no diffs. The `:left` and `:right` represent the sides #...
32.223464
97
0.65768
187dd641cc66daa9fe0877b770b0c80b21a22ecd
75
ex
Elixir
lib/imagine_web/views/cms_template_version_view.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
25
2020-09-08T05:13:40.000Z
2022-03-15T13:35:59.000Z
lib/imagine_web/views/cms_template_version_view.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
null
null
null
lib/imagine_web/views/cms_template_version_view.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
3
2021-08-11T03:48:54.000Z
2022-02-09T20:11:06.000Z
defmodule ImagineWeb.CmsTemplateVersionView do use ImagineWeb, :view end
18.75
46
0.84
187e2abb208260c48d900c9add5136a2a7db5182
3,423
exs
Elixir
test/sptfy/client/body_mapper_test.exs
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
5
2020-12-14T15:46:26.000Z
2021-03-20T22:32:58.000Z
test/sptfy/client/body_mapper_test.exs
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
9
2020-12-25T14:36:11.000Z
2021-01-25T14:03:18.000Z
test/sptfy/client/body_mapper_test.exs
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
null
null
null
defmodule Sptfy.Client.BodyMapperTest do use ExUnit.Case, async: true alias Sptfy.Client.BodyMapper alias Sptfy.Object.{CursorPaging, Paging, SimplifiedArtist} describe "map/2 with :single tuple" do test "maps a json object to a struct" do mapping = {:single, module: SimplifiedArtist} assert ...
38.460674
133
0.59889
187e60087de1f7417512aee37a1de89a99c9903c
912
ex
Elixir
apps/providers/lib/providers/timestamp.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/providers/lib/providers/timestamp.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/providers/lib/providers/timestamp.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Providers.Timestamp do @moduledoc """ This provider implementation returns the current timestamp in UTC as an ISO8601 compliant date string. Version 2 provides additional options: + format: Timex compliant format for the result + timezone: Timex compliant timezone. Full name is recommended for read...
39.652174
161
0.739035
187e615910ee70c42d736346b0dd8f04cc13358f
328
ex
Elixir
lib/yodlee/error.ex
copia-wealth-studios/yodlee-elixir
f39ba0f32082e9b2116c2ba0fe7da8c6a100e5ad
[ "MIT" ]
1
2019-11-04T09:56:02.000Z
2019-11-04T09:56:02.000Z
lib/yodlee/error.ex
copia-wealth-studios/yodlee-elixir
f39ba0f32082e9b2116c2ba0fe7da8c6a100e5ad
[ "MIT" ]
2
2018-07-11T10:45:09.000Z
2018-07-12T17:47:53.000Z
lib/yodlee/error.ex
copia-wealth-studios/yodlee-elixir
f39ba0f32082e9b2116c2ba0fe7da8c6a100e5ad
[ "MIT" ]
1
2021-07-19T18:20:27.000Z
2021-07-19T18:20:27.000Z
defmodule Yodlee.Error do @moduledoc """ Yodlee Error data structure. """ defstruct error_code: nil, error_message: nil, reference_code: nil @type t :: %__MODULE__{error_code: String.t, error_message: String.t, reference_code: String.t ...
25.230769
68
0.567073
187e70c26a37a7f532963880a10c4d52fcabc119
1,525
ex
Elixir
apps/providers/lib/provider.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/providers/lib/provider.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/providers/lib/provider.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Providers.Provider do @moduledoc """ This behavior defines a Provider. Used as the value of a key/value pair (such as in a map) it can be executed to dynamically generate the value for that key. A map like: ``` %{ id: "bob", title: %{ provider: "Echo", opts: %{value: "...
31.122449
159
0.62623
187e8d2e6c06d4b3a4b29bf18a28acb332d62668
4,308
ex
Elixir
lib/cog/permissions/eval/contain_expr.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/permissions/eval/contain_expr.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/permissions/eval/contain_expr.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defimpl Cog.Eval, for: Piper.Permissions.Ast.ContainExpr do alias Cog.Eval alias Cog.Permissions.Context alias Piper.Permissions.Ast def value_of(%Ast.ContainExpr{lhs_agg: false, left: lhs, right: rhs}, context) do {lhsv, context} = Eval.value_of(lhs, context) {rhsv, context} = Eval.value_of(rhs, cont...
30.125874
83
0.578459
187ecf72727500c1c8e639580a735b0fbfbab0c4
1,165
exs
Elixir
mix.exs
sebastianseilund/verk
223c4d60cd496dc14bc2efdab8231c5c7cf49a71
[ "MIT" ]
null
null
null
mix.exs
sebastianseilund/verk
223c4d60cd496dc14bc2efdab8231c5c7cf49a71
[ "MIT" ]
null
null
null
mix.exs
sebastianseilund/verk
223c4d60cd496dc14bc2efdab8231c5c7cf49a71
[ "MIT" ]
null
null
null
defmodule Verk.Mixfile do use Mix.Project @description """ Verk is a job processing system backed by Redis. """ def project do [app: :verk, version: "1.4.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, test_coverage: [tool: Coverex.Ta...
25.888889
64
0.525322
187ed4ee5b39ba501972d58efa8b3fbf21f3b7c6
480
ex
Elixir
lib/mailman/test_server_supervisor.ex
elixir-twister/mailman
2649f8a0d8021664ac78989425492e5d7200af4e
[ "MIT" ]
1
2020-01-18T10:31:50.000Z
2020-01-18T10:31:50.000Z
lib/mailman/test_server_supervisor.ex
elixir-twister/mailman
2649f8a0d8021664ac78989425492e5d7200af4e
[ "MIT" ]
null
null
null
lib/mailman/test_server_supervisor.ex
elixir-twister/mailman
2649f8a0d8021664ac78989425492e5d7200af4e
[ "MIT" ]
null
null
null
defmodule Mailman.TestServerSupervisor do use Supervisor def start_link do :ets.new(:mailman_test_servers, [:set, :public, :named_table]) Supervisor.start_link(__MODULE__, [], name: __MODULE__) end def start_test_server(parent_pid) do Supervisor.start_child(__MODULE__, [parent_pid]) end def i...
22.857143
66
0.708333
187ef62c5f18c6132eb31ee07b50ccc1d4e0923e
535
ex
Elixir
test/support/shopifex_dummy/lib/shopifex_dummy_web/router.ex
gingman/shopifex
c9a1977c5d50ccd738c59a095b855ee36c93161a
[ "Apache-2.0" ]
61
2020-05-27T01:33:39.000Z
2022-03-30T20:46:02.000Z
test/support/shopifex_dummy/lib/shopifex_dummy_web/router.ex
gingman/shopifex
c9a1977c5d50ccd738c59a095b855ee36c93161a
[ "Apache-2.0" ]
18
2020-05-29T21:43:45.000Z
2022-03-30T17:02:54.000Z
test/support/shopifex_dummy/lib/shopifex_dummy_web/router.ex
gingman/shopifex
c9a1977c5d50ccd738c59a095b855ee36c93161a
[ "Apache-2.0" ]
21
2020-06-14T17:02:56.000Z
2022-01-08T18:54:51.000Z
defmodule ShopifexDummyWeb.Router do use ShopifexDummyWeb, :router require ShopifexWeb.Routes ShopifexWeb.Routes.pipelines() ShopifexWeb.Routes.payment_routes(ShopifexDummyWeb.PaymentController) ShopifexWeb.Routes.auth_routes(ShopifexDummyWeb.AuthController) scope "/", ShopifexDummyWeb do pipe_through...
25.47619
71
0.768224
187f30afaff36af612f44804020c3c56e876dd68
1,609
exs
Elixir
test/lib/code_corps_web/plugs/set_timber_user_context_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps_web/plugs/set_timber_user_context_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps_web/plugs/set_timber_user_context_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorpsWeb.Plug.SetTimberUserContextTest do use CodeCorpsWeb.ConnCase alias CodeCorpsWeb.Plug.SetTimberUserContext @opts SetTimberUserContext.init([]) describe "init/1" do test "returns the given options" do assert SetTimberUserContext.init([]) == [] end end describe "call/2" d...
27.741379
88
0.653822
187f3aecbe8c9d9a3856d42bd6ea83db2f465631
8,125
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
47.794118
219
0.704862
187f526e77167d8e917d75c81f67f0cd915863c5
263
ex
Elixir
lib/adoptoposs_web/views/settings_view.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
120
2020-03-30T13:58:40.000Z
2022-03-30T10:17:50.000Z
lib/adoptoposs_web/views/settings_view.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
34
2020-04-01T23:11:59.000Z
2022-03-13T08:14:37.000Z
lib/adoptoposs_web/views/settings_view.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
16
2020-04-24T17:14:23.000Z
2022-03-27T22:32:48.000Z
defmodule AdoptopossWeb.SettingsView do use AdoptopossWeb, :view @doc """ Returns whether the key in settings currently has the given value. """ def active?(%Ecto.Changeset{data: data}, key, value) do Map.get(data.settings, key) == value end end
23.909091
68
0.707224
187f96d2103e0bbb805a799d413b6be9a52136a9
455
ex
Elixir
lib/quantum/job_broadcaster/start_opts.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
lib/quantum/job_broadcaster/start_opts.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
lib/quantum/job_broadcaster/start_opts.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
1
2022-03-06T10:24:39.000Z
2022-03-06T10:24:39.000Z
defmodule Quantum.JobBroadcaster.StartOpts do @moduledoc false # Start Options for Quantum.JobBroadcaster alias Quantum.{Job, Scheduler, Storage.Adapter} @type t :: %__MODULE__{ name: GenServer.server(), jobs: [Job.t()], storage: Adapter, scheduler: Scheduler, ...
23.947368
68
0.650549
187fb1c93290160eae112f1acb470cf2bd3f34d5
7,936
ex
Elixir
apps/omg_performance/lib/omg_performance/sender_server.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_performance/lib/omg_performance/sender_server.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_performance/lib/omg_performance/sender_server.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
32.929461
120
0.650958
187fb73221628ac4efcee0f3a211bca40d138bcd
9,566
exs
Elixir
test/sponsorly/newsletters_test.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
test/sponsorly/newsletters_test.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
test/sponsorly/newsletters_test.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
defmodule Sponsorly.NewslettersTest do use Sponsorly.DataCase, async: true alias Sponsorly.Newsletters describe "newsletters" do alias Sponsorly.Newsletters.Newsletter @invalid_attrs %{interval_days: nil, name: nil, sponsor_before_days: nil, sponsor_in_days: nil} test "list_newsletters/1 returns a...
44.287037
140
0.718064
187fba486e2bce0e9f442241debfb4b3d1772bdb
128
ex
Elixir
integration_test/wallaby_example_app/lib/wallaby_example_app/repo.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
1
2021-08-16T18:52:45.000Z
2021-08-16T18:52:45.000Z
integration_test/wallaby_example_app/lib/wallaby_example_app/repo.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
16
2021-03-09T19:39:31.000Z
2022-03-15T15:20:24.000Z
integration_test/wallaby_example_app/lib/wallaby_example_app/repo.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
null
null
null
defmodule WallabyExampleApp.Repo do use Ecto.Repo, otp_app: :wallaby_example_app, adapter: Ecto.Adapters.Postgres end
21.333333
35
0.773438
187fc591a081bcee223e3611c0f33ebaae21548a
435
ex
Elixir
apps/core/lib/core/medications/drugs_search.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/medications/drugs_search.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/medications/drugs_search.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.Medications.DrugsSearch do @moduledoc false use Ecto.Schema @primary_key false schema "medication_search" do field(:innm_id, Ecto.UUID) field(:innm_name, :string) field(:innm_sctid, :string) field(:innm_dosage_id, Ecto.UUID) field(:innm_dosage_name, :string) field(:innm_...
24.166667
41
0.721839
187fc77e5dc84f068e69c4d2b3b23c81e9da06cb
1,904
ex
Elixir
lib/dnsierge_web.ex
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "MIT" ]
null
null
null
lib/dnsierge_web.ex
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "MIT" ]
null
null
null
lib/dnsierge_web.ex
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "MIT" ]
null
null
null
defmodule DnsiergeWeb 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 DnsiergeWeb, :controller use DnsiergeWeb, :view The definitions below will be executed for every view, controlle...
23.219512
76
0.6875
187fe7515c8d7ce20f4582407deca96a17dedaca
3,138
ex
Elixir
lib/virgo_web/views/problem_view.ex
GinShio/AstraeaVirgo
92804cbae01f67e21b8f421009fa37fddc9054e1
[ "BSD-2-Clause" ]
null
null
null
lib/virgo_web/views/problem_view.ex
GinShio/AstraeaVirgo
92804cbae01f67e21b8f421009fa37fddc9054e1
[ "BSD-2-Clause" ]
null
null
null
lib/virgo_web/views/problem_view.ex
GinShio/AstraeaVirgo
92804cbae01f67e21b8f421009fa37fddc9054e1
[ "BSD-2-Clause" ]
null
null
null
defmodule AstraeaVirgoWeb.ProblemView do use AstraeaVirgoWeb, :view @moduledoc """ Response for Problem API """ @doc """ Response ## index.json Response for index Problems API: `GET /api/problems` Response: list of Object | field | type | required | descript | |----...
38.268293
69
0.440727
1880063470a5fecace370553cd8d1501347dac6a
1,443
ex
Elixir
lib/blue_heron/hci/commands/controller_and_baseband/write_page_timeout.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/hci/commands/controller_and_baseband/write_page_timeout.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/hci/commands/controller_and_baseband/write_page_timeout.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.HCI.Command.ControllerAndBaseband.WritePageTimeout do use BlueHeron.HCI.Command.ControllerAndBaseband, ocf: 0x0018 @moduledoc """ This command writes the value for the Page_Timeout configuration parameter. * OGF: `#{inspect(@ogf, base: :hex)}` * OCF: `#{inspect(@ocf, base: :hex)}` * Op...
29.44898
80
0.717256
18803a3c45bafd1af1aa677f7721cfb7bd5c35ee
227
ex
Elixir
kousa/lib/business-logic/user_block_logic.ex
yakohere/dogehouse
3df9602f3148f3b7613a6cf82d8d87c185f5daf9
[ "MIT" ]
5
2021-03-02T09:00:45.000Z
2021-03-13T04:45:46.000Z
kousa/lib/business-logic/user_block_logic.ex
agt25/dogehouse
6666028fa52b48f11bf64e60e859610dce2a3956
[ "MIT" ]
1
2021-04-19T16:54:48.000Z
2021-04-19T16:54:48.000Z
kousa/lib/business-logic/user_block_logic.ex
agt25/dogehouse
6666028fa52b48f11bf64e60e859610dce2a3956
[ "MIT" ]
1
2021-04-09T12:25:24.000Z
2021-04-09T12:25:24.000Z
defmodule Kousa.BL.UserBlock do def block(user_id, user_id_to_block) do Kousa.Data.Follower.delete(user_id, user_id_to_block) Kousa.Data.UserBlock.insert(%{userId: user_id, userIdBlocked: user_id_to_block}) end end
32.428571
84
0.784141
18804485d7809e84c989712778221d419dcf5ca4
8,918
ex
Elixir
apps/mishka_api/lib/mishka_api_web/controllers/auth_controller.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
3
2021-06-27T10:26:51.000Z
2022-01-10T13:56:08.000Z
apps/mishka_api/lib/mishka_api_web/controllers/auth_controller.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
apps/mishka_api/lib/mishka_api_web/controllers/auth_controller.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
defmodule MishkaApiWeb.AuthController do use MishkaApiWeb, :controller @allowed_fields ["full_name", "username", "email", "password", "unconfirmed_email"] @allowed_fields_output ["full_name", "username", "email", "status"] alias MishkaUser.Token.Token # add ip limitter and os info # this module will help...
43.082126
132
0.712828
18805cfa12ae942b6ef9da5c276c66c64e00b4d6
1,771
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/list_products_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/list_products_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/list_products_response.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 "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...
34.72549
145
0.73913
188075f54372256df956670d14367259969d0a83
374
ex
Elixir
lib/luckdragon/cli.ex
beagleknight/luckdragon
be6c2278054e3e6846df446bf0fd60db8302e082
[ "MIT" ]
1
2017-01-09T17:45:03.000Z
2017-01-09T17:45:03.000Z
lib/luckdragon/cli.ex
beagleknight/luckdragon
be6c2278054e3e6846df446bf0fd60db8302e082
[ "MIT" ]
null
null
null
lib/luckdragon/cli.ex
beagleknight/luckdragon
be6c2278054e3e6846df446bf0fd60db8302e082
[ "MIT" ]
null
null
null
defmodule Luckdragon.CLI do alias Luckdragon.Store alias Luckdragon.Nginx.{Reloader, Server} alias Luckdragon.DockerCloud.Api def main(argv) do Store.start_link [] Api.get_nginx_containers |> Reloader.start_link Api.get_containers |> Enum.map(&Server.build_from_container(&1)) |> Enum....
19.684211
49
0.71123
1880b0c9fb5a354943dd5ad516c629b6671fbb8f
1,255
ex
Elixir
test/support/conn_case.ex
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
2
2021-03-05T13:24:49.000Z
2021-09-22T23:36:21.000Z
test/support/conn_case.ex
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
null
null
null
defmodule TellurideWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if ...
28.522727
71
0.72749
1880ddb1bb5da1122c1e025301f29089fc3a9eb5
1,031
ex
Elixir
lib/postgrex/extensions/oid.ex
enter-haken/postgrex
fb3438d4e6a56db81ddd0d578cdfc0484909c233
[ "Apache-2.0" ]
681
2016-06-16T12:28:22.000Z
2022-03-30T08:48:42.000Z
deps/postgrex/lib/postgrex/extensions/oid.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
383
2016-06-17T14:49:41.000Z
2022-03-21T18:13:19.000Z
deps/postgrex/lib/postgrex/extensions/oid.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
234
2016-06-16T16:14:47.000Z
2022-03-03T00:43:59.000Z
defmodule Postgrex.Extensions.OID do @moduledoc false @oid_senders ~w(oidsend regprocsend regproceduresend regopersend regoperatorsend regclasssend regtypesend xidsend cidsend) import Postgrex.BinaryUtils, warn: false use Postgrex.BinaryExtension, Enum.map(@oid_senders, &{:send, &1}) @oid_...
27.864865
88
0.649855
1880e280c8285e935cc28ab7a974d9a4c695c1f2
515
ex
Elixir
lib/models/types/boolean.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
lib/models/types/boolean.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
lib/models/types/boolean.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
defmodule SlackCoder.Models.Types.Boolean do @behaviour Ecto.Type def type(), do: :boolean def cast(val), do: {:ok, value_to_boolean(val)} def load(val), do: {:ok, value_to_boolean(val)} def dump(val), do: {:ok, value_to_boolean(val)} def value_to_boolean(on) when on in ["on", "yes", "1", "y", "true"], do:...
39.615385
83
0.666019
1880fadc045ffa0dc05c6457be030e17b22781a8
2,981
exs
Elixir
test/surface/components/form/text_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
test/surface/components/form/text_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
test/surface/components/form/text_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.TextInputTest do use Surface.ConnCase, async: true alias Surface.Components.Form.TextInput test "empty input" do html = render_surface do ~F""" <TextInput form="user" field="name" /> """ end assert html =~ """ <input id="u...
21.919118
115
0.537068
18812b1a2c76cd2641bf02c6f0194a608f829d87
682
exs
Elixir
test/response_handler_test.exs
MatUrbanski/icndb
f04f7b264fd6c291a3c7b9c13196fc565f33fef0
[ "MIT" ]
null
null
null
test/response_handler_test.exs
MatUrbanski/icndb
f04f7b264fd6c291a3c7b9c13196fc565f33fef0
[ "MIT" ]
null
null
null
test/response_handler_test.exs
MatUrbanski/icndb
f04f7b264fd6c291a3c7b9c13196fc565f33fef0
[ "MIT" ]
null
null
null
defmodule ResponseHandlerTest do use ExUnit.Case import Icndb.ResponseHandler doctest Icndb.ResponseHandler describe "handle_response" do test "returns map with joke attributes when status code is 200" do response = {:ok, %{status_code: 200, body: "{\"value\": {\"joke\": \"Funny joke.\"} }"}} ...
28.416667
94
0.659824
18816b544ba6adda874607804aa2c7cc6bdb40d0
1,313
exs
Elixir
test/view/guarded_view_test.exs
Shakadak/pattern_metonyms
f0a2929217278a8bc268716ff9ad705ecc6f9d62
[ "MIT" ]
4
2020-12-21T12:47:49.000Z
2022-03-22T09:34:06.000Z
test/view/guarded_view_test.exs
Shakadak/pattern_metonyms
f0a2929217278a8bc268716ff9ad705ecc6f9d62
[ "MIT" ]
3
2021-10-21T12:59:10.000Z
2021-11-03T20:53:59.000Z
test/view/guarded_view_test.exs
Shakadak/pattern_metonyms
f0a2929217278a8bc268716ff9ad705ecc6f9d62
[ "MIT" ]
null
null
null
defmodule GuardedViewTest do use ExUnit.Case, async: true test "guards with pattern" do defmodule TestGPL1 do import PatternMetonyms def uncons([]), do: :Nothing def uncons([x | xs]), do: {:Just, {x, xs}} pattern(justHead(x) <- (uncons() -> {:Just, {x, _}})) def bigHead(xs) do ...
22.254237
64
0.528561
188175f9ee71186327c095101c017a36fca7682f
239
ex
Elixir
lib/mix/tasks/test/interactive.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
32
2021-02-19T17:48:55.000Z
2022-03-28T21:52:01.000Z
lib/mix/tasks/test/interactive.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
6
2021-03-02T08:48:58.000Z
2021-11-19T16:58:42.000Z
lib/mix/tasks/test/interactive.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
2
2021-11-19T16:32:07.000Z
2022-03-25T10:32:22.000Z
defmodule Mix.Tasks.Test.Interactive do use Mix.Task @moduledoc """ A task for interactively running tests """ @shortdoc "Interactively run tests" @preferred_cli_env :test defdelegate run(args), to: MixTestInteractive end
18.384615
47
0.740586
18817fb846d6b6aa8b4cb0d880cb0d79a9259c0d
3,756
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/tenant_project_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/tenant_project_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/tenant_project_config.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...
47.544304
197
0.742279
1881a2b9bfce6aaa4dec41b85224153dd44e8b25
1,575
exs
Elixir
discuss/mix.exs
vegashat/Cards
bfb5a4dfbd9d6b7cf5c0df576a39fa6f94bf7c34
[ "Apache-2.0" ]
3
2019-10-28T21:02:55.000Z
2020-10-01T02:29:37.000Z
discuss/mix.exs
vegashat/Cards
bfb5a4dfbd9d6b7cf5c0df576a39fa6f94bf7c34
[ "Apache-2.0" ]
1
2021-03-09T12:34:49.000Z
2021-03-09T12:34:49.000Z
discuss/mix.exs
vegashat/Cards
bfb5a4dfbd9d6b7cf5c0df576a39fa6f94bf7c34
[ "Apache-2.0" ]
4
2019-10-12T19:41:58.000Z
2021-09-24T20:24:47.000Z
defmodule Discuss.Mixfile do use Mix.Project def project do [ app: :discuss, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), deps: ...
25.819672
79
0.577778
1881a65a68e2490e3df2c52863a497881469fd71
416
ex
Elixir
lib/oli/institutions/sso_jwks.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli/institutions/sso_jwks.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli/institutions/sso_jwks.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Institutions.SsoJwk do use Ecto.Schema import Ecto.Changeset schema "sso_jwks" do field :pem, :string field :typ, :string field :alg, :string field :kid, :string timestamps(type: :utc_datetime) end @doc false def changeset(sso_jwk, attrs \\ %{}) do sso_jwk |> cas...
19.809524
50
0.629808
1881b0388cf00fa7d5db60a83981e18fa84328ba
235
ex
Elixir
code-sample-elixir/kv/lib/even_or_odd.ex
aquatir/learntocode
9b860a528ded64fab2686a93c49dfd4b3947d6c9
[ "MIT" ]
null
null
null
code-sample-elixir/kv/lib/even_or_odd.ex
aquatir/learntocode
9b860a528ded64fab2686a93c49dfd4b3947d6c9
[ "MIT" ]
1
2017-10-03T11:25:54.000Z
2017-10-03T11:25:54.000Z
code-sample-elixir/kv/lib/even_or_odd.ex
aquatir/remember_java_api
6acc72e23a954152d922e380d06f337f55921950
[ "MIT" ]
null
null
null
defmodule EvenOrOdd do # Interge.is_even is a macro, so we use require instead of import require Integer def check(number) when Integer.is_even(number), do: "even" def check(number) when Integer.is_odd(number), do: "odd" end
26.111111
67
0.740426
1881bac2ec0687a56c5f2297756c0cc275b1ce60
1,175
ex
Elixir
lib/payments/sales.ex
DiscoveryMap/PayPal
2884bc0dde07a007d85467e4c7766f2ab4f79360
[ "MIT" ]
null
null
null
lib/payments/sales.ex
DiscoveryMap/PayPal
2884bc0dde07a007d85467e4c7766f2ab4f79360
[ "MIT" ]
null
null
null
lib/payments/sales.ex
DiscoveryMap/PayPal
2884bc0dde07a007d85467e4c7766f2ab4f79360
[ "MIT" ]
2
2020-11-03T07:06:19.000Z
2021-04-01T07:16:57.000Z
defmodule PayPal.Payments.Sales do @moduledoc """ Documentation for PayPal.Payments.Sales A sale is a completed payment. https://developer.paypal.com/docs/api/payments/#sale """ @doc """ Show a sale [docs](https://developer.paypal.com/docs/api/payments/#sale_get) Possible returns: - {:ok, sale...
21.363636
123
0.622979
1881bdfef01c3e21f816cb1ec3a3129df7134e69
760
ex
Elixir
apps/game_server/lib/game_server/dara_dots/linker_piece.ex
powelli13/dara-dots
728a622e761867ff114c9dbdbf57ff76ab0fb992
[ "MIT" ]
6
2021-03-25T21:02:28.000Z
2022-02-10T08:11:28.000Z
apps/game_server/lib/game_server/dara_dots/linker_piece.ex
powelli13/dara-dots
728a622e761867ff114c9dbdbf57ff76ab0fb992
[ "MIT" ]
20
2020-09-02T23:17:29.000Z
2022-03-27T22:54:20.000Z
apps/game_server/lib/game_server/dara_dots/linker_piece.ex
powelli13/dara-dots
728a622e761867ff114c9dbdbf57ff76ab0fb992
[ "MIT" ]
2
2021-03-25T21:08:15.000Z
2021-09-25T19:11:36.000Z
defmodule GameServer.DaraDots.LinkerPiece do alias __MODULE__ alias GameServer.DaraDots.Coordinate defstruct [:coord, link_coords: nil] def new(start_coord) do {:ok, %LinkerPiece{coord: start_coord}} end def set_link( %LinkerPiece{} = linker, %Coordinate{} = start, %Coordinate...
22.352941
71
0.627632
1881e424211df2b0a532c8c7d595b96a41b9668a
3,395
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context.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...
50.671642
325
0.708984
1881e480691b8513cda5f77673a8ebac0c88e72d
469
exs
Elixir
spec/cassandra_ecto/storage_spec.exs
vintikzzz/cassandra_ecto
95375fbc20bd7aedc81d38fe791086cab0d86e84
[ "Apache-2.0" ]
35
2016-12-12T01:21:10.000Z
2022-03-17T13:31:11.000Z
spec/cassandra_ecto/storage_spec.exs
vintikzzz/cassandra_ecto
95375fbc20bd7aedc81d38fe791086cab0d86e84
[ "Apache-2.0" ]
14
2016-12-24T19:38:55.000Z
2018-03-15T17:57:44.000Z
spec/cassandra_ecto/storage_spec.exs
vintikzzz/cassandra_ecto
95375fbc20bd7aedc81d38fe791086cab0d86e84
[ "Apache-2.0" ]
12
2017-02-21T02:35:08.000Z
2018-09-01T09:32:31.000Z
defmodule CassandraEctoStorageSpec do alias Cassandra.Ecto, as: C use ESpec, async: false describe "Cassandra.Ecto" do describe "Storage behaviour" do describe "storage_up/1" do it "creates new keyspace" do assert :ok = C.storage_up(TestRepo.config) end end describe...
24.684211
54
0.633262
1881fd6da653c5a03408d2cdd5fe2a3bf0fdd404
270
ex
Elixir
lib/kovacs/cfg/cfg.ex
praveenperera/phoenix_kovacs
1ccfa2fbbe77360f55006255f2e6dcd7e5a3548c
[ "Apache-2.0" ]
2
2015-10-10T00:34:44.000Z
2015-10-14T06:53:24.000Z
lib/kovacs/cfg/cfg.ex
praveenperera/phoenix_kovacs
1ccfa2fbbe77360f55006255f2e6dcd7e5a3548c
[ "Apache-2.0" ]
null
null
null
lib/kovacs/cfg/cfg.ex
praveenperera/phoenix_kovacs
1ccfa2fbbe77360f55006255f2e6dcd7e5a3548c
[ "Apache-2.0" ]
2
2015-09-30T08:08:59.000Z
2020-03-03T22:34:25.000Z
defmodule Kovacs.Config do def load(cfg_file) do case File.exists?(cfg_file) do true -> Code.require_file(cfg_file) :ok _ -> IO.puts "\e[31mThe configuration file #{cfg_file} was not found.\e[39m" :stop end end end
22.5
79
0.596296
18821a7ddbc69533d3e69bb2c237de199510edb5
2,158
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_category.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_category.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_category.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...
38.535714
208
0.709453
18823c461b25ef6a1d9b6878dd9bbbf722728d95
1,177
exs
Elixir
06-record.exs
senthilnayagam/30-days-of-elixir
354e9fb9b9fa95f9bb2520436fd379d2b02505de
[ "MIT" ]
null
null
null
06-record.exs
senthilnayagam/30-days-of-elixir
354e9fb9b9fa95f9bb2520436fd379d2b02505de
[ "MIT" ]
null
null
null
06-record.exs
senthilnayagam/30-days-of-elixir
354e9fb9b9fa95f9bb2520436fd379d2b02505de
[ "MIT" ]
null
null
null
ExUnit.start defmodule User do defstruct email: nil, password: nil end defimpl String.Chars, for: User do def to_string(%User{email: email}) do email end end defmodule RecordTest do use ExUnit.Case defmodule ScopeTest do use ExUnit.Case require Record Record.defrecordp :person, first_name...
21.017857
94
0.649108
188284108e4a8ff88db2dd43a38ba63fea5b3dbc
2,753
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/interconnect_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_list.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...
43.698413
381
0.735924
1882aa284875bdf0d80f2d036a82b71e3292ded4
1,567
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_custom_style_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_custom_style_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_custom_style_config.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...
31.979592
122
0.744097
1882ab080e6681d0eee6658cef51f32b2d00b78c
330
exs
Elixir
example_applications/web_app/test/web_app_web/live/page_live_test.exs
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
354
2020-10-21T06:27:15.000Z
2022-03-29T13:22:46.000Z
example_applications/web_app/test/web_app_web/live/page_live_test.exs
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
111
2020-11-25T21:27:13.000Z
2022-03-28T10:42:59.000Z
example_applications/web_app/test/web_app_web/live/page_live_test.exs
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
45
2020-12-31T20:37:11.000Z
2022-03-18T13:12:21.000Z
defmodule WebAppWeb.PageLiveTest do use WebAppWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoenix!" ...
27.5
60
0.724242
1882ae4760fc7afc3b21239578461bf119d7052d
132
exs
Elixir
daniel/prog_elix/ch17/stack/test/stack_test.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
8
2018-08-26T08:10:08.000Z
2021-04-05T16:05:05.000Z
supervisors/stack/test/stack_test.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2020-02-26T14:55:23.000Z
2020-02-26T14:55:23.000Z
supervisors/stack/test/stack_test.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2020-06-16T12:37:43.000Z
2020-06-16T12:37:43.000Z
defmodule StackTest do use ExUnit.Case doctest Stack test "greets the world" do assert Stack.hello() == :world end end
14.666667
34
0.69697
1882cceac3df19a405aa025d9a68b7d3db7ce568
965
ex
Elixir
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/accounts_controler.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
null
null
null
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/accounts_controler.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
2
2020-07-19T20:12:50.000Z
2021-02-23T00:47:46.000Z
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/accounts_controler.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.AccountsController do use RocketpayWeb, :controller alias Rocketpay.Account alias Rocketpay.Accounts.Transactions.Response, as: TransactioResponse action_fallback RocketpayWeb.FallbackController def deposit(conn, params) do with { :ok, %Account{} = account } <- Rocketpay.d...
28.382353
77
0.642487
1882d928c3ddfbcd41eea0e4f4a3bee5a1337acf
2,731
ex
Elixir
lib/postoffice.ex
ethervoid/postoffice
5cb275ed5e18ec8ff91523013c3b4215fe41a53f
[ "Apache-2.0" ]
null
null
null
lib/postoffice.ex
ethervoid/postoffice
5cb275ed5e18ec8ff91523013c3b4215fe41a53f
[ "Apache-2.0" ]
null
null
null
lib/postoffice.ex
ethervoid/postoffice
5cb275ed5e18ec8ff91523013c3b4215fe41a53f
[ "Apache-2.0" ]
null
null
null
defmodule Postoffice do @moduledoc """ Postoffice 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. """ require Logger alias Postoffice.Messaging def receive_messa...
26.514563
98
0.704504
1882da16f41159540cb355b4bf0c60d14d0c96e1
2,157
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/system_parameter_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/system_parameter_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/system_parameter_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.14
384
0.754752
1882e7b0d85b8389ff58cd25c8ecf047f53e4ac3
643
ex
Elixir
lib/notion/database.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
2
2021-05-14T07:42:14.000Z
2021-05-14T07:46:21.000Z
lib/notion/database.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
5
2021-11-22T04:11:48.000Z
2022-03-24T04:07:59.000Z
lib/notion/database.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
null
null
null
defmodule Notion.Database do @moduledoc """ Database """ use Tesla def retrieve_database(client, id, query \\ []), do: get(client, "/databases/" <> id, query: query) def query_database(client, id, query \\ []), do: post(client, "/databases/" <> id <> "/query", query) alias Notion.{Property, Ri...
22.172414
60
0.538103
1882f7fc9df0d148916eb51ca9c7e820d6ca7a55
1,204
ex
Elixir
lib/my_app_web/views/error_helpers.ex
ViniciusLinharesAO/phx_api
22168407c0c037b4ae709306aa254cb7e1a16c6d
[ "MIT" ]
null
null
null
lib/my_app_web/views/error_helpers.ex
ViniciusLinharesAO/phx_api
22168407c0c037b4ae709306aa254cb7e1a16c6d
[ "MIT" ]
null
null
null
lib/my_app_web/views/error_helpers.ex
ViniciusLinharesAO/phx_api
22168407c0c037b4ae709306aa254cb7e1a16c6d
[ "MIT" ]
null
null
null
defmodule MyAppWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a static argume...
35.411765
74
0.669435
1882f806b59d0c650ac47d39eb35fd1eaf668c56
145
exs
Elixir
config/ci.exs
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
12
2020-05-07T08:57:06.000Z
2020-08-19T01:32:03.000Z
config/ci.exs
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
21
2020-07-12T14:17:22.000Z
2021-08-03T04:42:30.000Z
config/ci.exs
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
null
null
null
import Config config :cloister, sentry: ~w|cloister_0@127.0.0.1 inexisting@127.0.0.1|a, consensus: 4, additional_modules: [Cloister.Void]
20.714286
57
0.731034
1882faf025f18a166bcf1a000176f4e4d4ccd73a
2,395
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_risk_analysis_job_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_risk_analysis_job_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_risk_analysis_job_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.545455
178
0.756159
188342e7767eaae0c6d7e4e00727a618ae8cd145
5,322
ex
Elixir
lib/ex_gcloud_pubsub_puller/pull_controller.ex
Hutchison-Technologies/ex_gcloud_pubsub_puller
058fa54457f6d8725eb176a95b22f390f6a88c44
[ "MIT" ]
null
null
null
lib/ex_gcloud_pubsub_puller/pull_controller.ex
Hutchison-Technologies/ex_gcloud_pubsub_puller
058fa54457f6d8725eb176a95b22f390f6a88c44
[ "MIT" ]
null
null
null
lib/ex_gcloud_pubsub_puller/pull_controller.ex
Hutchison-Technologies/ex_gcloud_pubsub_puller
058fa54457f6d8725eb176a95b22f390f6a88c44
[ "MIT" ]
null
null
null
defmodule ExGcloudPubsubPuller.PullController do @moduledoc """ Implement the behaviour from this module to control pulling from a subscription. Add your controller to the config to ensure it gets run. ## Examples # config/config.exs: config :my_app, ExGcloudPubsubPuller.Scheduler, sc...
33.898089
113
0.63416
1883512af413d0b0825248d164dc1ff9dd95c17f
992
ex
Elixir
lib/essence/template.ex
alexdovzhanyn/essence
3f1b0ff7646e8ffeb2483acc3223e4b160f0735e
[ "MIT" ]
2
2018-02-17T21:58:01.000Z
2018-02-19T23:04:06.000Z
lib/essence/template.ex
alexdovzhanyn/essence
3f1b0ff7646e8ffeb2483acc3223e4b160f0735e
[ "MIT" ]
null
null
null
lib/essence/template.ex
alexdovzhanyn/essence
3f1b0ff7646e8ffeb2483acc3223e4b160f0735e
[ "MIT" ]
null
null
null
defmodule Essence.Template do @templates "web/templates" defmacro __using__(options) do quote do require EEx import unquote(__MODULE__) @before_compile unquote(__MODULE__) end end defmacro __before_compile__(_env) do templates = find_templates() ast = templates |> Enum.map(fn(path) -> compile(pa...
19.45098
60
0.683468
18836add5134979ee8de375c24efd47809437491
864
ex
Elixir
lib/rocketpay_web/views/accounts_view.ex
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
2
2021-02-25T17:05:30.000Z
2021-02-26T15:52:33.000Z
lib/rocketpay_web/views/accounts_view.ex
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
null
null
null
lib/rocketpay_web/views/accounts_view.ex
Ives-Gomes/Rocketpay
a9d8f1dc448319031bfb799645aebe33ac124b52
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.AccountsView do alias Rocketpay.Account alias Rocketpay.Accounts.Transactions.Response, as: TransactionResponse def render("update.json", %{ account: %Account{ id: account_id, balance: balance } }) do %{ message: "Ballance changed sucessf...
22.736842
93
0.579861
18838c302864196238ff78a95a7f353cc1d57946
1,793
exs
Elixir
examples/xor.exs
zeionara/axon
8b82074b358043c0b685c7831458ec97f8edc378
[ "Apache-2.0" ]
null
null
null
examples/xor.exs
zeionara/axon
8b82074b358043c0b685c7831458ec97f8edc378
[ "Apache-2.0" ]
null
null
null
examples/xor.exs
zeionara/axon
8b82074b358043c0b685c7831458ec97f8edc378
[ "Apache-2.0" ]
null
null
null
Mix.install([ {:axon, "~> 0.1.0-dev", github: "elixir-nx/axon"}, {:nx, "~> 0.1.0-dev", github: "elixir-nx/nx", sparse: "nx", override: true}, {:exla, path: "../nx/exla"} ]) defmodule XOR do require Axon alias Axon.Loop.State defp build_model(input_shape1, input_shape2) do inp1 = Axon.input(input_shape...
25.985507
97
0.578918
1883a51ba395d9e5258715f0a459e6537c81f313
1,097
ex
Elixir
lib/train2cal_web/channels/user_socket.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
lib/train2cal_web/channels/user_socket.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
lib/train2cal_web/channels/user_socket.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
defmodule Train2calWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", Train2calWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all ch...
30.472222
84
0.696445
1883b9b69ec1947054216689ce53bafbbe106204
714
ex
Elixir
lib/topshelf_web/gettext.ex
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
lib/topshelf_web/gettext.ex
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
lib/topshelf_web/gettext.ex
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
defmodule TopshelfWeb.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 TopshelfWeb.Gettext # Simple translation gettext("Here is...
28.56
72
0.679272
18840bfae33c131a0f21f61522aa2497b0910daa
1,783
exs
Elixir
rel/config.exs
lidashuang/Telegram-incoming-webhooks
5d5e386fa83f4f730c0aa09601daaafe5462faf0
[ "Apache-2.0" ]
10
2018-02-06T08:09:21.000Z
2020-03-26T04:28:25.000Z
rel/config.exs
andrewklau/Telegram-incoming-webhooks
5d5e386fa83f4f730c0aa09601daaafe5462faf0
[ "Apache-2.0" ]
1
2019-09-10T14:22:01.000Z
2020-03-03T00:24:52.000Z
rel/config.exs
lidashuang/Telegram-incoming-webhooks
5d5e386fa83f4f730c0aa09601daaafe5462faf0
[ "Apache-2.0" ]
1
2019-09-26T09:53:03.000Z
2019-09-26T09:53:03.000Z
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # T...
33.018519
81
0.734156
188427ff94243a83f2f0549622854d952db0d5a6
73
ex
Elixir
apps/concierge_site/lib/views/layout_view.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/lib/views/layout_view.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/lib/views/layout_view.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.LayoutView do use ConciergeSite.Web, :view end
18.25
37
0.821918
18842c87351c00622bf6ec6486cdc8333b5df3df
1,303
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_manual.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_manual.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_manual.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
31.02381
81
0.763622
1884465184b6f90630091cb42d9862d04f97a7b7
1,131
exs
Elixir
config/config.exs
xeejp/beauty_contest
5913eb01bcc2dc5defa0ba09df0e77b3846f82fb
[ "MIT" ]
null
null
null
config/config.exs
xeejp/beauty_contest
5913eb01bcc2dc5defa0ba09df0e77b3846f82fb
[ "MIT" ]
null
null
null
config/config.exs
xeejp/beauty_contest
5913eb01bcc2dc5defa0ba09df0e77b3846f82fb
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.483871
73
0.7542
188447a603fa0c55f449f5fbad61e4575b350b41
205
exs
Elixir
config/test.exs
ScriptDrop/sentry-elixir
984b56eb529c592d95a8332eab3aaa8268b81fa2
[ "MIT" ]
2
2020-07-01T20:11:35.000Z
2021-04-28T21:28:50.000Z
config/test.exs
ScriptDrop/sentry-elixir
984b56eb529c592d95a8332eab3aaa8268b81fa2
[ "MIT" ]
null
null
null
config/test.exs
ScriptDrop/sentry-elixir
984b56eb529c592d95a8332eab3aaa8268b81fa2
[ "MIT" ]
2
2021-06-03T10:05:41.000Z
2022-02-02T14:22:03.000Z
use Mix.Config config :sentry, environment_name: :test, included_environments: [:test], client: Sentry.TestClient, hackney_opts: [recv_timeout: 50] config :ex_unit, assert_receive_timeout: 500
18.636364
34
0.756098
18847f4bcfbc9572ee345b34c9fae34c36b110b5
1,644
exs
Elixir
test/drab_test.exs
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
933
2017-01-14T13:47:37.000Z
2022-03-21T18:14:41.000Z
test/drab_test.exs
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
189
2017-01-15T18:35:06.000Z
2022-01-24T17:41:22.000Z
test/drab_test.exs
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
54
2017-01-15T18:10:48.000Z
2021-02-06T17:21:44.000Z
defmodule DrabTest do @moduledoc false use ExUnit.Case, ascync: true doctest Drab test "config" do assert Drab.Config.get(DrabTestApp.Endpoint, :disable_controls_while_processing) == true assert Drab.Config.get(DrabTestApp.Endpoint, :events_to_disable_while_processing) == ["click"] assert Drab.Con...
31.615385
98
0.660584
1884c067e99b5cf6a7ad3e66b3e7a8ab3fa865eb
1,617
exs
Elixir
test/bodyguard/schema_test.exs
mhanberg/bodyguard
fad585527ec59d1b9c988d008818a23bfe28b366
[ "MIT" ]
null
null
null
test/bodyguard/schema_test.exs
mhanberg/bodyguard
fad585527ec59d1b9c988d008818a23bfe28b366
[ "MIT" ]
null
null
null
test/bodyguard/schema_test.exs
mhanberg/bodyguard
fad585527ec59d1b9c988d008818a23bfe28b366
[ "MIT" ]
null
null
null
defmodule SchemaTest do use ExUnit.Case, async: false defmodule MySchema do use Bodyguard.Schema defstruct [] def scope(_query, _user, _params) do :scoped_query end end defmodule MyOtherSchema do use Bodyguard.Schema, scope_with: MyOtherSchema.Query end defmodule MyWeirdSchema ...
26.080645
89
0.670996
1884da1fe7abf3b1e8f675eb81666d66577c6e2d
2,326
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/security_center/lib/google_api/security_center/v1/model/status.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...
43.886792
427
0.72313
1884f3a99e24d92ce20557dd49d85cf461ac8163
624
exs
Elixir
day002/lilywhite_twitter/mix.exs
konojunya/100-days-of-code
17aa04938a241e8b1a54010962aee47fa4e2d98e
[ "MIT" ]
null
null
null
day002/lilywhite_twitter/mix.exs
konojunya/100-days-of-code
17aa04938a241e8b1a54010962aee47fa4e2d98e
[ "MIT" ]
null
null
null
day002/lilywhite_twitter/mix.exs
konojunya/100-days-of-code
17aa04938a241e8b1a54010962aee47fa4e2d98e
[ "MIT" ]
null
null
null
defmodule LilywhiteTwitter.MixProject do use Mix.Project def project do [ app: :lilywhite_twitter, version: "0.1.0", elixir: "~> 1.6", build_embedded: Mix.env == :prod, start_permanent: Mix.env() == :prod, deps: deps(), escript: [main_module: LilywhiteTwitter] ] ...
20.129032
59
0.594551
1884f7b6457e10fd2ed9ff8a3bac7abf6f03d65e
1,476
ex
Elixir
lib/clickhousex/query.ex
gridgentoo/ElixirClickHouse
cccfad5ef8b533df5c74c36a21eb061f2729843b
[ "Apache-2.0" ]
null
null
null
lib/clickhousex/query.ex
gridgentoo/ElixirClickHouse
cccfad5ef8b533df5c74c36a21eb061f2729843b
[ "Apache-2.0" ]
null
null
null
lib/clickhousex/query.ex
gridgentoo/ElixirClickHouse
cccfad5ef8b533df5c74c36a21eb061f2729843b
[ "Apache-2.0" ]
null
null
null
defmodule Clickhousex.Query do @moduledoc """ Query struct returned from a successfully prepared query. """ @type t :: %__MODULE__{ name: iodata, statement: iodata, columns: [String.t()] | nil } defstruct [:name, :statement, :columns] end defimpl DBConnection.Query, fo...
27.333333
112
0.634146
18855463b07da8f0a6c35f7805fb4a23cc36cd6e
758
ex
Elixir
lib/phoenix_react_playground_web/gettext.ex
chaiwa-berian/phoenix_react_playground
6c0394c05439378af46256de2f303d002c2c8b92
[ "Unlicense" ]
88
2017-09-01T03:13:00.000Z
2021-06-26T10:56:29.000Z
lib/phoenix_react_playground_web/gettext.ex
chaiwa-berian/phoenix_react_playground
6c0394c05439378af46256de2f303d002c2c8b92
[ "Unlicense" ]
4
2020-07-19T02:28:10.000Z
2021-09-02T04:00:22.000Z
lib/phoenix_react_playground_web/gettext.ex
chaiwa-berian/phoenix_react_playground
6c0394c05439378af46256de2f303d002c2c8b92
[ "Unlicense" ]
21
2017-09-01T03:18:09.000Z
2021-09-23T09:07:41.000Z
defmodule PhoenixReactPlaygroundWeb.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 PhoenixReactPlaygroundWeb.Gettext # Simple transl...
30.32
72
0.697889
18856d4278db41f93949df32214c1965401aef2c
344
exs
Elixir
test/priv/repo/migrations/20200418111425_add_embeded_cpf.exs
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
34
2019-04-14T22:57:21.000Z
2022-01-06T01:26:25.000Z
test/priv/repo/migrations/20200418111425_add_embeded_cpf.exs
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
4
2019-06-09T15:48:53.000Z
2022-01-29T13:13:57.000Z
test/priv/repo/migrations/20200418111425_add_embeded_cpf.exs
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
10
2019-04-16T04:26:56.000Z
2020-10-08T18:00:47.000Z
defmodule CPF.Support.Repo.Migrations.AddEmbededCpf do use Ecto.Migration def change do alter table(:profiles) do add :cpf_string_list, {:array, :string}, default: [], null: false add :cpf_integer_list, {:array, :bigint}, default: [], null: false add :embed_profile, :map, default: %{}, null: ...
28.666667
72
0.668605
1885a402c602d8e2bb6ef52d71c7edecd89cf079
143
exs
Elixir
test/vex_validators_test.exs
StoiximanServices/supreme-memory
e3c5671325d38c2b33dbcc976ab201be82cc0bc3
[ "MIT" ]
1
2019-05-12T06:51:25.000Z
2019-05-12T06:51:25.000Z
test/vex_validators_test.exs
StoiximanServices/supreme-memory
e3c5671325d38c2b33dbcc976ab201be82cc0bc3
[ "MIT" ]
1
2018-11-21T21:50:43.000Z
2018-11-23T07:01:33.000Z
test/vex_validators_test.exs
StoiximanServices/vex_validators
e3c5671325d38c2b33dbcc976ab201be82cc0bc3
[ "MIT" ]
null
null
null
defmodule VexValidatorsTest do use ExUnit.Case doctest VexValidators.Number doctest VexValidators.Type doctest VexValidators.Uuid end
17.875
30
0.825175
1885acf2874f010b5ec5a913576014bd3d75b0f2
3,779
ex
Elixir
lib/people_sorter/person.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
lib/people_sorter/person.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
lib/people_sorter/person.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
defmodule PeopleSorter.Person do @moduledoc """ A Person is a struct that contains fields that describe a Person. """ alias PeopleSorter.Person @derive {Phoenix.Param, key: :email} @type t :: %__MODULE__{ last_name: String.t(), first_name: String.t(), email: String.t(), ...
29.294574
85
0.638529
1885d5b23c19e06f92f1fc7bd84638c3a0b8bae8
201
ex
Elixir
lib/perhaps.ex
taming-chaos/perhaps
ddd794d4ba261749d4cff00e4d2b678875afffa9
[ "MIT" ]
null
null
null
lib/perhaps.ex
taming-chaos/perhaps
ddd794d4ba261749d4cff00e4d2b678875afffa9
[ "MIT" ]
null
null
null
lib/perhaps.ex
taming-chaos/perhaps
ddd794d4ba261749d4cff00e4d2b678875afffa9
[ "MIT" ]
null
null
null
defmodule Perhaps do @moduledoc """ Documentation for `Perhaps`. """ @doc """ Hello world. ## Examples iex> Perhaps.hello() :world """ def hello do :world end end
10.578947
30
0.557214
1885e75421eaf2d08648dd6a31686e6dbbc2850b
213
exs
Elixir
priv/templates/brando.upgrade/migrations/brando_27_unique_constraint_page_key_language.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
priv/templates/brando.upgrade/migrations/brando_27_unique_constraint_page_key_language.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
priv/templates/brando.upgrade/migrations/brando_27_unique_constraint_page_key_language.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Repo.Migrations.AddUniqueConstraintPageKeyLanguage do use Ecto.Migration def change do drop index(:pages_pages, [:key]) create unique_index(:pages_pages, [:key, :language]) end end
23.666667
70
0.755869
1885f4bc47561b6f6f3a1a48c5841c5c076d0597
22,636
ex
Elixir
lib/aws/generated/media_live.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/media_live.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/media_live.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.MediaLive do @moduledoc """ API for AWS Elemental MediaLive """ @doc """ Starts delete of resources. """ def batch_delete(client, input, options \\ []) do path_ = "/prod/batch/d...
28.616941
305
0.62838
18861372025036ed3c445a5a337977d7913d2743
1,035
exs
Elixir
apps/blunt_data/mix.exs
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt_data/mix.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt_data/mix.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
defmodule BluntData.MixProject do use Mix.Project @version "0.1.0-rc1" def project do [ app: :blunt_data, version: @version, elixir: "~> 1.12", # build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix....
22.5
85
0.549758
188636c32fdad8a421377d68ddf6f30b404edee0
6,268
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/cell_data.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/cell_data.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/cell_data.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...
78.35
615
0.740108