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
acfe019c16bab3f30ae056e07092c319b7d7fda4
418
exs
Elixir
test/integration/documentation_test.exs
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
349
2019-10-02T07:21:17.000Z
2022-03-21T17:50:06.000Z
test/integration/documentation_test.exs
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
223
2019-10-05T05:36:08.000Z
2022-03-31T23:12:02.000Z
test/integration/documentation_test.exs
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
20
2019-10-08T16:29:39.000Z
2022-03-31T15:07:20.000Z
defmodule ZiglerTest.Integration.DocumentationTest do # checks which make sure documentation generation is OK. use ExUnit.Case, async: true test "documentation works" do {:docs_v1, _, _, _, _, _, docs} = Code.fetch_docs(ZiglerTest.Integration.Documentation) assert Enum.any?(docs, &match?( ...
22
59
0.645933
acfe29a04248b54624563651557f047dc6e0103e
5,441
exs
Elixir
test/ex_oauth2_provider/oauth2/token/strategy/refresh_token_test.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
2
2021-04-25T20:59:53.000Z
2021-07-13T22:49:20.000Z
test/ex_oauth2_provider/oauth2/token/strategy/refresh_token_test.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
null
null
null
test/ex_oauth2_provider/oauth2/token/strategy/refresh_token_test.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
null
null
null
defmodule ExOauth2Provider.Token.Strategy.RefreshTokenTest do use ExOauth2Provider.TestCase import ExOauth2Provider.Token import ExOauth2Provider.Test.Fixture import ExOauth2Provider.ConfigHelpers alias ExOauth2Provider.OauthAccessTokens alias ExOauth2Provider.Token.RefreshToken @client_id "...
49.018018
172
0.748943
acfe553650a9918be8df3fbc4bf4be50fec70e7c
162,895
ex
Elixir
lib/elixir/lib/kernel.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/elixir/lib/kernel.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
26.978304
116
0.633426
acfe7866ab00a6c5d894f7b8b5eb0633fc214c2b
464
exs
Elixir
test/models/facebook/user_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
test/models/facebook/user_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
test/models/facebook/user_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
defmodule Betazoids.Facebook.UserTest do use Betazoids.ModelCase alias Betazoids.Facebook.User @valid_attrs %{facebook_id: "some content", name: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = User.changeset(%User{}, @valid_attrs) assert changeset.valid? e...
24.421053
67
0.730603
acfeccdc84579fba6d1fa3b44dc4336f982dc665
112
exs
Elixir
config/config.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
config/config.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
config/config.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
use Mix.Config config :reaper, produce_retries: 10, produce_timeout: 100 import_config "#{Mix.env()}.exs"
14
32
0.723214
acfedcd8565715fe1c415013761f0266e02956cc
1,669
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_normalized_vertex.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_normalized_vertex.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_normalized_vertex.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...
32.096154
100
0.729778
acfee6d3f6c1b3f9659f87db931e4415882dd06e
1,818
ex
Elixir
backend/lib/backend_web/controllers/transaction_controller.ex
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
backend/lib/backend_web/controllers/transaction_controller.ex
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
backend/lib/backend_web/controllers/transaction_controller.ex
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
defmodule BackendWeb.TransactionController do use BackendWeb, :controller alias Backend.Budgets alias Backend.Budgets.Transaction action_fallback BackendWeb.FallbackController def index(conn, %{"user_id" => user_id}) do transactions = Budgets.list_transactions(user_id) render(conn, "index.json", tr...
31.344828
110
0.69802
acff0fe3cb2255e956c72ef5955d4226973be88a
498
ex
Elixir
lib/ex_saferpay/request/payment_means.ex
jshmrtn/ex-saferpay
263fc6dacf5b2741eb3fff33cf8ed405637d170a
[ "MIT" ]
1
2017-12-12T17:09:02.000Z
2017-12-12T17:09:02.000Z
lib/ex_saferpay/request/payment_means.ex
jshmrtn/ex-saferpay
263fc6dacf5b2741eb3fff33cf8ed405637d170a
[ "MIT" ]
4
2017-12-12T17:08:28.000Z
2018-03-01T08:04:56.000Z
lib/ex_saferpay/request/payment_means.ex
jshmrtn/ex-saferpay
263fc6dacf5b2741eb3fff33cf8ed405637d170a
[ "MIT" ]
null
null
null
defmodule ExSaferpay.Request.PaymentMeans do @moduledoc """ Request Body for PaymentMeans """ use ExSaferpay.RequestNormalizer alias ExSaferpay.Request @type t :: %__MODULE__{ card: nil | Request.Card.t(), bank_account: nil | Request.BankAccount.t(), alias: nil | Request.Alia...
21.652174
54
0.548193
acff3bdaa54c4aeffc405cfe45b4ff579a3b36c5
417
exs
Elixir
test/mocker_options_test.exs
skylerparr/ex_injector
d2340f1c8b4884f1353dfe39c60b51fa78599697
[ "MIT" ]
null
null
null
test/mocker_options_test.exs
skylerparr/ex_injector
d2340f1c8b4884f1353dfe39c60b51fa78599697
[ "MIT" ]
null
null
null
test/mocker_options_test.exs
skylerparr/ex_injector
d2340f1c8b4884f1353dfe39c60b51fa78599697
[ "MIT" ]
null
null
null
defmodule MockerOptionsTest do use ExUnit.Case setup do MockerOptions.start_link() :ok end test "should store settings retrieve them" do MockerOptions.store_settings(self(), MyModule, foo: :bar) assert MockerOptions.get_setting(self(), MyModule) == [foo: :bar] end test "should return nil ...
23.166667
69
0.71223
acff44c25c51a03b8884d6d13fdb984be35e0dae
1,530
exs
Elixir
test/ambry_web/controllers/api/book_controller_test.exs
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
12
2021-09-30T20:51:49.000Z
2022-01-27T04:09:32.000Z
test/ambry_web/controllers/api/book_controller_test.exs
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
76
2021-10-01T05:45:11.000Z
2022-03-28T04:12:39.000Z
test/ambry_web/controllers/api/book_controller_test.exs
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
2
2021-10-04T19:27:28.000Z
2022-01-13T22:36:38.000Z
defmodule AmbryWeb.Api.BookControllerTest do use AmbryWeb.ConnCase setup :register_and_put_user_api_token describe "GET /api/books" do test "returns 401 if missing api token", %{conn: conn} do conn = remove_user_api_token(conn) conn = get(conn, "/api/books") assert %{"error" => "unauthor...
26.37931
72
0.555556
acff49ab9614db0e7bca25ad09e81ffa4fd4e41f
1,220
ex
Elixir
lib/codes/codes_i47.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_i47.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_i47.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_I47 do alias IcdCode.ICDCode def _I470 do %ICDCode{full_code: "I470", category_code: "I47", short_code: "0", full_name: "Re-entry ventricular arrhythmia", short_name: "Re-entry ventricular arrhythmia", category_name: "Re-entry vent...
28.372093
62
0.615574
acff4b9735ac9fad042475e52ebb3924232ae3eb
310
ex
Elixir
lib/freshcom/core/response.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom/core/response.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom/core/response.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
defmodule Freshcom.Response do use TypedStruct typedstruct do field :meta, map(), default: %{} field :data, map() field :errors, map(), default: [] end def put_meta(response, key, value) do new_meta = Map.put(response.meta, key, value) Map.put(response, :meta, new_meta) end end
22.142857
49
0.658065
acff56f0359c44e4ab83bb508f04a47c6f5edb48
1,566
ex
Elixir
test/fixtures/elixir/get_complex_url_params.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
536
2021-10-06T17:21:25.000Z
2022-03-31T13:05:48.000Z
test/fixtures/elixir/get_complex_url_params.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
74
2021-10-08T13:57:14.000Z
2022-03-31T06:55:39.000Z
test/fixtures/elixir/get_complex_url_params.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
104
2021-10-06T19:36:15.000Z
2022-03-31T07:34:04.000Z
request = %HTTPoison.Request{ method: :get, url: "https://localhost:28139/house-sitting/", options: [], headers: [], params: [ {~s|page|, ~s|1|}, {~s|available|, ""}, {~s|available|, ~s|1|}, {~s|location|, ~s|0|}, {~s|city[id]|, ~s|0|}, {~s|city[locality]|, ""}, {~s|city[locality_t...
29.54717
55
0.51788
acff66f19569bf9bfcc8e63a6795731c78385662
451
ex
Elixir
lib/n_repl/application.ex
typesend/nrepl
dc134ab887d72851413a94376eab0efc07cea2a7
[ "Apache-2.0" ]
2
2020-06-07T14:56:14.000Z
2021-09-15T23:34:44.000Z
lib/n_repl/application.ex
typesend/nrepl
dc134ab887d72851413a94376eab0efc07cea2a7
[ "Apache-2.0" ]
1
2020-11-16T13:08:48.000Z
2020-11-16T13:08:48.000Z
lib/n_repl/application.ex
typesend/nrepl
dc134ab887d72851413a94376eab0efc07cea2a7
[ "Apache-2.0" ]
1
2021-09-24T01:12:44.000Z
2021-09-24T01:12:44.000Z
defmodule NRepl.Application do @moduledoc false use Application def start(_type, _args) do children = [ :poolboy.child_spec(:worker, poolboy_config()) ] opts = [strategy: :one_for_one, name: NRepl.Supervisor] Supervisor.start_link(children, opts) end defp poolboy_config do [ ...
18.791667
59
0.629712
acff8a68ade03977969c936c45b1f8b70348282b
9,933
ex
Elixir
lib/api/graphql/types.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
1
2017-09-10T23:51:40.000Z
2017-09-10T23:51:40.000Z
lib/api/graphql/types.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
24
2018-03-14T18:17:00.000Z
2021-03-01T07:47:53.000Z
lib/api/graphql/types.ex
portosummerofcode/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
null
null
null
defmodule Api.GraphQL.Types do use Absinthe.Schema.Notation use Absinthe.Relay.Schema.Notation, :modern use Absinthe.Ecto, repo: Api.Repo alias Api.Repo alias Api.Competitions alias Api.Accounts.User alias Api.AICompetition.Bots alias Api.Suffrages import_types Absinthe.Type.Custom import_types Ap...
27.515235
100
0.622169
acff9cfc190228224c80ee1e6a49ba80fa0527f9
2,217
exs
Elixir
mix.exs
bokner/solverlview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
10
2020-09-18T19:26:51.000Z
2021-07-08T19:26:00.000Z
mix.exs
bokner/solverview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
null
null
null
mix.exs
bokner/solverview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
null
null
null
defmodule SolverView.MixProject do use Mix.Project def project do [ app: :solverview, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(...
24.633333
87
0.575553
acffad6e2566ce737a42fcf068da56349c83859b
839
ex
Elixir
lib/game_web.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
7
2017-08-11T12:08:58.000Z
2020-08-17T14:31:49.000Z
lib/game_web.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
1
2020-06-20T17:54:12.000Z
2020-06-20T17:54:12.000Z
lib/game_web.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
null
null
null
defmodule GameWeb do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use GameWeb, :controller use GameWeb, :view The definitions below will be executed for every view, controller, etc, so keep them short and clean...
20.975
61
0.688915
acffcd31b71ab1092b1e47d01512b321bf7548a3
1,821
ex
Elixir
lib/basic/contacts.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
7
2021-07-14T15:45:55.000Z
2022-01-25T11:13:01.000Z
lib/basic/contacts.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
10
2021-08-09T15:54:05.000Z
2022-02-17T04:18:38.000Z
lib/basic/contacts.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
5
2021-07-23T05:54:35.000Z
2022-01-28T04:14:51.000Z
defmodule Basic.Contacts do @moduledoc """ The Contacts context. """ import Ecto.Query, warn: false alias Basic.Repo alias Basic.Contacts.Contact @doc """ Returns the list of contacts. ## Examples iex> list_contacts() [%Contact{}, ...] """ def list_contacts do Repo.all(Contac...
17.342857
62
0.60022
acffd81053a48387627adb16d32ab0c9faef2fcd
508
ex
Elixir
lib/mango/catalog/catalog.ex
sophiabrandt/mango
c42c2e463c7bdeb7f18400a3001a8cc6e326159d
[ "MIT" ]
4
2019-07-17T04:46:37.000Z
2020-09-20T14:15:23.000Z
lib/mango/catalog/catalog.ex
sophiabrandt/mango
c42c2e463c7bdeb7f18400a3001a8cc6e326159d
[ "MIT" ]
null
null
null
lib/mango/catalog/catalog.ex
sophiabrandt/mango
c42c2e463c7bdeb7f18400a3001a8cc6e326159d
[ "MIT" ]
1
2019-07-17T04:46:39.000Z
2019-07-17T04:46:39.000Z
defmodule Mango.Catalog do @moduledoc """ API boundary for the Catalog system. """ alias Mango.Catalog.Product alias Mango.Repo def get_product!(id), do: Product |> Repo.get!(id) def list_products do Product |> Repo.all() end def list_seasonal_products do list_products() |> Enum.fil...
20.32
65
0.681102
acffef2318021c0a5f18cf0ea5108e6fa91f00b9
104
exs
Elixir
ros/ros_lib/test/ros_lib_test.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
1
2019-07-01T18:47:28.000Z
2019-07-01T18:47:28.000Z
ros/ros_lib/test/ros_lib_test.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
4
2020-07-17T16:57:18.000Z
2021-05-09T23:50:52.000Z
ros/ros_lib/test/ros_lib_test.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
null
null
null
defmodule Ros.Lib.Test do use ExUnit.Case @tag :dummy test "dummy" do assert(true) end end
11.555556
25
0.663462
acfff147465f5f3bcc48aa29b3826e69a132fe6e
1,891
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/list_advertisers_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/list_advertisers_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/model/list_advertisers_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.82
237
0.74458
acfffbbd26b47defadc3245a3579eef83de3afcc
76
ex
Elixir
lib/school_agenda/repo.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
lib/school_agenda/repo.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
lib/school_agenda/repo.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
defmodule SchoolAgenda.Repo do use Ecto.Repo, otp_app: :school_agenda end
19
40
0.802632
4a00328dda2f77a43514082001ae77c8b3cf4157
2,803
ex
Elixir
clients/jobs/lib/google_api/jobs/v2/model/job_location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/jobs/lib/google_api/jobs/v2/model/job_location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/jobs/lib/google_api/jobs/v2/model/job_location.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...
40.623188
166
0.716732
4a0054879643f1e18216465c30977eb0f0ac0496
730
exs
Elixir
test/bonny/server/async_stream_runner_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
test/bonny/server/async_stream_runner_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
test/bonny/server/async_stream_runner_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
# credo:disable-for-this-file defmodule Bonny.Server.AsyncStreamRunnerTest do @moduledoc false use ExUnit.Case, async: false alias Bonny.Server.AsyncStreamRunner, as: MUT test "Runs the given stream in a separate process" do self = self() stream = Stream.iterate(0, &(&1 + 1)) |> Stream.ma...
27.037037
59
0.669863
4a00732f7dfcdf04ec33dcd4dbd7d644978d6fef
954
ex
Elixir
ds_backend/test/support/channel_case.ex
ohr486/d-screen
5a70c4f599e63c07bcefc7867bbd4d98d7cc4be7
[ "MIT" ]
null
null
null
ds_backend/test/support/channel_case.ex
ohr486/d-screen
5a70c4f599e63c07bcefc7867bbd4d98d7cc4be7
[ "MIT" ]
null
null
null
ds_backend/test/support/channel_case.ex
ohr486/d-screen
5a70c4f599e63c07bcefc7867bbd4d98d7cc4be7
[ "MIT" ]
null
null
null
defmodule DsBackendWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts...
27.257143
66
0.74109
4a008028e15b9a9bab3ef8629d3f4f8c3d028e74
1,907
ex
Elixir
clients/content/lib/google_api/content/v21/model/buy_on_google_program_status.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/buy_on_google_program_status.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/buy_on_google_program_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...
35.981132
116
0.740954
4a008b725dc706934de8a429ba9c0224275f4147
517
ex
Elixir
lib/Structs/Channels/Invite/invite.ex
BenAlbin/alchemy
c31bce54e13a692acdba3c3b581ff49090da7604
[ "MIT" ]
1
2019-02-24T03:13:22.000Z
2019-02-24T03:13:22.000Z
lib/Structs/Channels/Invite/invite.ex
appositum/alchemy
2e4c06e198fa8c824183782508610815395d7c0e
[ "MIT" ]
null
null
null
lib/Structs/Channels/Invite/invite.ex
appositum/alchemy
2e4c06e198fa8c824183782508610815395d7c0e
[ "MIT" ]
null
null
null
defmodule Alchemy.Channel.Invite do @moduledoc false alias Alchemy.Channel.Invite.{InviteChannel, InviteGuild} import Alchemy.Structs defstruct [:code, :guild, :channel, :inviter, :uses, :max_uses, :max_age, :temporary,...
19.148148
59
0.54352
4a00c4ecaa56faf4054329bc77b4e0229d9b044f
253
ex
Elixir
apps/crawler/lib/crawler/steam/client.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
3
2018-07-20T22:14:36.000Z
2018-12-21T19:54:48.000Z
apps/crawler/lib/crawler/steam/client.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
36
2018-09-15T21:46:54.000Z
2020-03-28T16:10:18.000Z
apps/crawler/lib/crawler/steam/client.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
2
2018-07-22T08:47:07.000Z
2021-12-11T01:39:19.000Z
defmodule Crawler.Steam.Client do @moduledoc "implements `Crawler.Client` for [Steam](https://steamcommunity.com/app/72850/workshop)" @behaviour Crawler.Client @impl Crawler.Client def search(_query) do {:error, :not_implemented} end end
25.3
101
0.747036
4a00c9b3ee4e3b7a46f1825d89d6a8b58455a674
1,361
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_replace_with_info_type_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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_replace_with_info_type_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_replace_with_info_type_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.404762
98
0.776635
4a00cd67a16b6e1780be419e659d1b26d0e354d5
4,960
ex
Elixir
lib/freddy/adapter/sandbox.ex
polyfox/ex_freddy
641a3eaf6c8d4818386d7e09da5ff58ef6abb7b6
[ "MIT" ]
10
2017-06-28T11:39:39.000Z
2021-11-19T23:23:16.000Z
lib/freddy/adapter/sandbox.ex
polyfox/ex_freddy
641a3eaf6c8d4818386d7e09da5ff58ef6abb7b6
[ "MIT" ]
16
2017-01-07T15:34:36.000Z
2021-05-05T11:07:31.000Z
lib/freddy/adapter/sandbox.ex
polyfox/ex_freddy
641a3eaf6c8d4818386d7e09da5ff58ef6abb7b6
[ "MIT" ]
4
2018-10-08T19:54:46.000Z
2021-05-05T10:49:10.000Z
defmodule Freddy.Adapter.Sandbox do @moduledoc """ Special no-op Freddy adapter designed to be used in automated tests instead of real AMQP connection. ## Example iex> alias Freddy.{Connection, Core.Exchange, Adapter.Sandbox} iex> {:ok, conn} = Connection.start_link(adapter: :sandbox) iex> {...
27.709497
82
0.686895
4a00cf18cbad51dcb72c13b76d4ba955f088277e
40,577
ex
Elixir
lib/elixir/lib/gen_event.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_event.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_event.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
defmodule GenEvent do @moduledoc """ A behaviour module for implementing event handling functionality. The event handling model consists of a generic event manager process with an arbitrary number of event handlers which are added and deleted dynamically. An event manager implemented using this module wil...
34.980172
110
0.658821
4a00dbf307ea11db6b34c57a0a5b5e85a7c6d0f9
8,491
ex
Elixir
lib/contexsample_web/live/barchart.ex
zdenal/contex-samples
44cfea6f218d7903451839c27bf48f75eb64d943
[ "MIT" ]
15
2020-01-26T16:46:14.000Z
2021-07-06T07:27:44.000Z
lib/contexsample_web/live/barchart.ex
zdenal/contex-samples
44cfea6f218d7903451839c27bf48f75eb64d943
[ "MIT" ]
4
2020-01-26T09:06:24.000Z
2021-10-05T01:41:23.000Z
lib/contexsample_web/live/barchart.ex
zdenal/contex-samples
44cfea6f218d7903451839c27bf48f75eb64d943
[ "MIT" ]
6
2020-05-13T02:00:03.000Z
2022-02-14T17:55:56.000Z
defmodule ContexSampleWeb.BarChartLive do use Phoenix.LiveView use Phoenix.HTML import ContexSampleWeb.Shared alias Contex.{BarChart, Plot, Dataset} def render(assigns) do ~L""" <style><%= get_code_highlighter_styles() %></style> <h3>Simple Bar Chart Example</h3> <p>Source code can be...
33.561265
152
0.629726
4a00f4399cbdab05d43e4bb0c91a562b1ad11482
3,580
ex
Elixir
apps/language_server/lib/language_server/providers/formatting.ex
ridho9/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
912
2017-06-08T03:58:03.000Z
2021-09-06T03:42:07.000Z
apps/language_server/lib/language_server/providers/formatting.ex
niku/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
196
2017-06-09T23:32:16.000Z
2021-10-15T15:38:43.000Z
apps/language_server/lib/language_server/providers/formatting.ex
niku/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
78
2017-07-06T18:35:34.000Z
2020-04-12T08:10:45.000Z
defmodule ElixirLS.LanguageServer.Providers.Formatting do import ElixirLS.LanguageServer.Protocol, only: [range: 4] alias ElixirLS.LanguageServer.SourceFile def supported? do function_exported?(Code, :format_string!, 2) end def format(source_file, uri, project_dir) do if can_format?(uri, project_dir...
33.148148
96
0.65
4a00fe41333cc8cf3877c0d16a75c4888556cc10
1,056
ex
Elixir
lib/tosh_web/channels/user_socket.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
lib/tosh_web/channels/user_socket.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
lib/tosh_web/channels/user_socket.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
defmodule ToshWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ToshWeb.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 channels, ie...
31.058824
83
0.694129
4a0100958709da21e4d99c535cb8d851d95b6368
2,083
ex
Elixir
lib/auto_api/states/mobile_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
lib/auto_api/states/mobile_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
5
2018-11-29T09:48:29.000Z
2019-11-06T12:11:35.000Z
lib/auto_api/states/mobile_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
34.147541
86
0.723476
4a012bf342a61cb28d2d5a9b69250eab22d72e4c
2,024
exs
Elixir
phoenix_crud/config/prod.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
phoenix_crud/config/prod.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
phoenix_crud/config/prod.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
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...
32.645161
67
0.718379
4a013c69b56b859dc873bc6130736361aa9920dc
2,198
ex
Elixir
clients/cloud_private_catalog_producer/lib/google_api/cloud_private_catalog_producer/v1beta1/model/google_cloud_privatecatalogproducer_v1beta1_create_association_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_private_catalog_producer/lib/google_api/cloud_private_catalog_producer/v1beta1/model/google_cloud_privatecatalogproducer_v1beta1_create_association_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_private_catalog_producer/lib/google_api/cloud_private_catalog_producer/v1beta1/model/google_cloud_privatecatalogproducer_v1beta1_create_association_request.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...
35.451613
218
0.78071
4a01408607fdc69f150080ec84424e98a544b4f3
3,005
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/api/channels.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/calendar/lib/google_api/calendar/v3/api/channels.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/calendar/lib/google_api/calendar/v3/api/channels.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...
39.539474
187
0.656905
4a0145d07ea9737f714e6fc0940aa2d9ee0b6a18
1,260
ex
Elixir
lib/satori/subscription.ex
NationalAssociationOfRealtors/SatoriChallenge
3b975f64426194378fb6b1378e9c12cfb97c9a48
[ "Apache-2.0" ]
1
2017-06-19T14:09:16.000Z
2017-06-19T14:09:16.000Z
lib/satori/subscription.ex
NationalAssociationOfRealtors/SatoriChallenge
3b975f64426194378fb6b1378e9c12cfb97c9a48
[ "Apache-2.0" ]
1
2017-05-08T20:51:34.000Z
2017-05-08T20:51:34.000Z
lib/satori/subscription.ex
NationalAssociationOfRealtors/SatoriChallenge
3b975f64426194378fb6b1378e9c12cfb97c9a48
[ "Apache-2.0" ]
null
null
null
defmodule Satori.Subscription do use GenServer alias Satori.PDU require Logger def start_link(url, channel, id \\ nil) do GenServer.start_link(__MODULE__, {url, channel, id}, []) end def unsubscribe(client, subscription_id, id \\ nil) do GenServer.cast(client, {:unsubscribe, subscription_id, id}) ...
31.5
106
0.690476
4a019129d156f938d7c865b8be8b8ff72d5ff3a5
4,343
exs
Elixir
test/credo/check/readability/function_names_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/readability/function_names_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/readability/function_names_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2020-09-25T11:48:49.000Z
2020-09-25T11:48:49.000Z
defmodule Credo.Check.Readability.FunctionNamesTest do use Credo.TestHelper @described_check Credo.Check.Readability.FunctionNames # # cases NOT raising issues # test "it should NOT report expected code" do """ def credo_sample do end defp sample do end defmacro credo_sample_macro...
20.2
65
0.624914
4a019d467e057ff9fbc579c7a144a3e0d3aa54be
916
ex
Elixir
lib/mix/tasks/erlang.check_version.ex
mirego/dispatch
65f81e264e45676ece8a6dc5f203cf9f283d6ec7
[ "BSD-3-Clause" ]
21
2019-02-13T15:26:00.000Z
2021-09-18T13:05:42.000Z
lib/mix/tasks/erlang.check_version.ex
vraravam/elixir-boilerplate
cf50130b9d0cecbbd16e0be2fa8ff1ee71de8483
[ "BSD-3-Clause" ]
26
2019-02-13T18:42:44.000Z
2021-09-16T15:40:05.000Z
lib/mix/tasks/erlang.check_version.ex
vraravam/elixir-boilerplate
cf50130b9d0cecbbd16e0be2fa8ff1ee71de8483
[ "BSD-3-Clause" ]
2
2020-05-26T09:09:19.000Z
2021-04-21T20:43:07.000Z
defmodule Mix.Tasks.Erlang.CheckVersion do use Mix.Task @shortdoc "Check the Erlang/OTP version" @impl true def run(args) do config = Mix.Project.config() check_erlang_version(config, args) end defp check_erlang_version(config, _) do app = ":#{Keyword.get(config, :app)}" expected_version...
22.341463
166
0.64083
4a01a19d022367bc96c21f1fb80338c4f861feb6
547
exs
Elixir
test/raxx/kit_test.exs
CrowdHailer/baobab.ex
e8481952e752321cff0e73bbab0bf32468c21409
[ "Apache-2.0" ]
83
2018-02-10T19:12:35.000Z
2021-09-30T06:51:07.000Z
test/raxx/kit_test.exs
CrowdHailer/baobab.ex
e8481952e752321cff0e73bbab0bf32468c21409
[ "Apache-2.0" ]
46
2017-01-20T15:00:54.000Z
2018-02-10T16:39:32.000Z
test/raxx/kit_test.exs
CrowdHailer/baobab.ex
e8481952e752321cff0e73bbab0bf32468c21409
[ "Apache-2.0" ]
9
2018-02-27T05:25:37.000Z
2020-04-05T20:49:08.000Z
defmodule Raxx.KitTest do use ExUnit.Case doctest Raxx.Kit import Raxx.Kit describe "generate_random/1" do test "generates strings of the correct length" do assert 8 = String.length(generate_random(8)) assert 13 = String.length(generate_random(13)) assert 134 = String.length(generate_ran...
26.047619
56
0.674589
4a01b6f503b03d8cccde57e9f548e47b18a5a12f
1,906
ex
Elixir
apps/discovery_streams/lib/discovery-streams/topic_subscriber.ex
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/discovery_streams/lib/discovery-streams/topic_subscriber.ex
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/discovery_streams/lib/discovery-streams/topic_subscriber.ex
jakeprem/smartcitiesdata
da309ac0d2261527278951cbae88604455207589
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryStreams.TopicSubscriber do @moduledoc """ Dynamically subscribes to Kafka topics. """ use GenServer require Logger alias DiscoveryStreams.CachexSupervisor @interval Application.get_env(:discovery_streams, :topic_subscriber_interval, 120_000) def start_link(_args) do GenServer.s...
26.109589
88
0.710388
4a01f0b7293b4742546b83de78d3a6b35c3a88fd
182
exs
Elixir
priv/repo/migrations/20180625122114_add_post_discourse_link.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20180625122114_add_post_discourse_link.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20180625122114_add_post_discourse_link.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.AddPostDiscourseLink do use Ecto.Migration def change do alter table(:posts) do add(:discourse_topic_url, :string) end end end
18.2
57
0.730769
4a01f829b8f0c44b2e31c44145f66f1b7fcb3a4f
1,598
ex
Elixir
apps/speedrun_blog_engine/test/support/data_case.ex
brvnaleao/speedrun-blog-engine
77afd7852f7c7135c530cd769e3376ef043c2421
[ "Apache-2.0" ]
null
null
null
apps/speedrun_blog_engine/test/support/data_case.ex
brvnaleao/speedrun-blog-engine
77afd7852f7c7135c530cd769e3376ef043c2421
[ "Apache-2.0" ]
1
2021-04-12T17:10:05.000Z
2021-04-12T17:10:05.000Z
apps/speedrun_blog_engine/test/support/data_case.ex
brvnaleao/speedrun-blog-engine
77afd7852f7c7135c530cd769e3376ef043c2421
[ "Apache-2.0" ]
null
null
null
defmodule SpeedrunBlogEngine.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so change...
28.535714
80
0.701502
4a01fe9290461561edbc23a551a6d14016f2d87a
346
exs
Elixir
priv/repo/migrations/20210722132008_create_requests.exs
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
priv/repo/migrations/20210722132008_create_requests.exs
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
priv/repo/migrations/20210722132008_create_requests.exs
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
defmodule Egcovac.Repo.Migrations.CreateRequests do use Ecto.Migration def change do create table(:requests) do add :registration_number, :string add :appointment, :utc_datetime_usec add :user_id, references(:users, on_delete: :delete_all) timestamps() end create index(:reques...
21.625
62
0.699422
4a02311aeba9a92d53dd4b399a6ca6947269015b
453
ex
Elixir
zombie-driver/lib/zombie_driver.ex
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
zombie-driver/lib/zombie_driver.ex
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
zombie-driver/lib/zombie_driver.ex
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
defmodule ZombieDriver do @moduledoc """ Starts a supervisor that runs the HTTP server for on port 4002. """ use Application def start(_type, _args) do children = [ # Use Plug.Cowboy.child_spec/3 to register the router as a plug Plug.Cowboy.child_spec( scheme: :http, plug: Zom...
22.65
69
0.651214
4a026f5bda808b3a707f642bd814b3d5c825a1b9
5,731
ex
Elixir
lib/disco/event_consumer.ex
andreapavoni/disco
e168e0cba38aa61c10fa7ae156133618aef5c25a
[ "MIT" ]
32
2018-12-10T10:54:03.000Z
2022-01-03T23:55:23.000Z
lib/disco/event_consumer.ex
andreapavoni/disco
e168e0cba38aa61c10fa7ae156133618aef5c25a
[ "MIT" ]
2
2018-12-10T09:15:52.000Z
2019-06-25T10:50:10.000Z
lib/disco/event_consumer.ex
andreapavoni/disco
e168e0cba38aa61c10fa7ae156133618aef5c25a
[ "MIT" ]
2
2019-05-08T16:06:54.000Z
2019-07-12T11:57:59.000Z
defmodule Disco.EventConsumer do @moduledoc """ The event consumer specification. An event consumer in `Disco` is a module that exposes a `process/1` function to handle a given set of event types. The common use cases are _projections_ and _policies_. ### Projections A projection is the component that bu...
34.317365
100
0.665678
4a027d51c0033cb7a6f92eadfe90ef0016fb92a1
13,250
ex
Elixir
lib/kaffy/utils.ex
functionaryco/komos_admin
20e0c3d302c5dd8ac72da795f6073d496e327d52
[ "MIT" ]
1
2021-02-10T09:47:21.000Z
2021-02-10T09:47:21.000Z
lib/kaffy/utils.ex
functionaryco/komos_admin
20e0c3d302c5dd8ac72da795f6073d496e327d52
[ "MIT" ]
null
null
null
lib/kaffy/utils.ex
functionaryco/komos_admin
20e0c3d302c5dd8ac72da795f6073d496e327d52
[ "MIT" ]
null
null
null
defmodule Kaffy.Utils do @moduledoc false @doc """ Returns the :admin_title config if present, otherwise returns "Kaffy" """ @spec title() :: String.t() def title() do env(:admin_title, "Kaffy") end @doc """ Returns the :admin_logo config if present, otherwise returns Kaffy default logo. """ ...
25.728155
115
0.631698
4a027febaecea4b0973d5cbb551bfd70cb725b04
189
ex
Elixir
ros/ros_ui_station/lib/ros_ui_station.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
1
2019-07-01T18:47:28.000Z
2019-07-01T18:47:28.000Z
ros/ros_ui_station/lib/ros_ui_station.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
4
2020-07-17T16:57:18.000Z
2021-05-09T23:50:52.000Z
ros/ros_ui_station/lib/ros_ui_station.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
null
null
null
defmodule Ros.Station do @moduledoc false def get_station_title do stationnumber = Ros.StationWeb.Endpoint.config(:station_number, "1") "Station " <> stationnumber end end
21
73
0.730159
4a0290769cd9dd431bd636f476bbf0ccbc3897c4
684
exs
Elixir
mix.exs
elixir-twister/sweet_xml
55b0983736ca03723fc9b764f3a759a929a0b2c5
[ "MIT" ]
null
null
null
mix.exs
elixir-twister/sweet_xml
55b0983736ca03723fc9b764f3a759a929a0b2c5
[ "MIT" ]
null
null
null
mix.exs
elixir-twister/sweet_xml
55b0983736ca03723fc9b764f3a759a929a0b2c5
[ "MIT" ]
null
null
null
defmodule SweetXml.Mixfile do use Mix.Project def project do [ app: :sweet_xml, version: "0.6.5", elixir: "~> 1.0", deps: deps(), package: [ maintainers: ["Frank Liu", "Arnaud Wetzel", "Tomáš Brukner", "Vinícius Sales", "Sean Tan"], licenses: ["MIT"], links...
20.117647
99
0.511696
4a02cd619f1bd87d15e503bd666d32b96ee8e6b6
5,464
ex
Elixir
apps/pipeline/lib/pipeline/writer/s3_writer.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
1
2020-03-18T21:14:39.000Z
2020-03-18T21:14:39.000Z
apps/pipeline/lib/pipeline/writer/s3_writer.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
null
null
null
apps/pipeline/lib/pipeline/writer/s3_writer.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
null
null
null
defmodule Pipeline.Writer.S3Writer do @moduledoc """ Implementation of `Pipeline.Writer` for writing to PrestoDB tables via S3. """ @behaviour Pipeline.Writer alias Pipeline.Writer.S3Writer.{Compaction, S3SafeJson} alias Pipeline.Writer.TableWriter.{Statement} alias Pipeline.Writer.TableWriter.Helper.Pr...
28.020513
144
0.664165
4a02cdbcd410a34a513a0b7e8f421db9bff0ba15
3,404
exs
Elixir
test/integration/gateways/openpay_test.exs
baldmountain/gringotts
6fe60c80826bae3f1681e30a27f9a013317cbe10
[ "MIT" ]
454
2017-12-19T07:03:51.000Z
2022-03-29T00:52:31.000Z
test/integration/gateways/openpay_test.exs
baldmountain/gringotts
6fe60c80826bae3f1681e30a27f9a013317cbe10
[ "MIT" ]
140
2017-12-19T07:23:36.000Z
2021-02-13T18:08:58.000Z
test/integration/gateways/openpay_test.exs
baldmountain/gringotts
6fe60c80826bae3f1681e30a27f9a013317cbe10
[ "MIT" ]
57
2017-12-21T18:21:32.000Z
2021-08-15T13:50:38.000Z
defmodule Gringotts.Integration.Gateways.OpenpayTest do # Integration tests for the Openpay use ExUnit.Case, async: true alias Gringotts.Gateways.Openpay, as: Gateway alias Gringotts.{ CreditCard, FakeMoney } @moduletag integration: true @amount FakeMoney.new(4, :MXN) @goodcard %Gringotts.C...
27.232
77
0.650411
4a02ee3c7168146b812119f72aa9c791804503ea
1,439
ex
Elixir
test/support/data_case.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
3
2018-05-29T12:16:14.000Z
2019-09-25T21:12:36.000Z
test/support/data_case.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
23
2018-05-25T21:09:43.000Z
2021-12-16T05:45:25.000Z
test/support/data_case.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
null
null
null
defmodule Bearings.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 tes...
24.389831
77
0.679639
4a03010d3e500dd855c41206ac10263f5a9b98da
8,969
exs
Elixir
test/paginator/ecto/query_test.exs
sztosz/ecto_paginator
10b3d6ef770e1f34557ebfaf71bfeb8fef3f7e59
[ "MIT" ]
null
null
null
test/paginator/ecto/query_test.exs
sztosz/ecto_paginator
10b3d6ef770e1f34557ebfaf71bfeb8fef3f7e59
[ "MIT" ]
null
null
null
test/paginator/ecto/query_test.exs
sztosz/ecto_paginator
10b3d6ef770e1f34557ebfaf71bfeb8fef3f7e59
[ "MIT" ]
null
null
null
defmodule EctoMultitenantPaginator.Paginator.Ecto.QueryTest do @moduledoc false use EctoMultitenantPaginator.Ecto.TestCase alias EctoMultitenantPaginator.Ecto.Comment alias EctoMultitenantPaginator.Ecto.KeyValue alias EctoMultitenantPaginator.Ecto.Post alias EctoMultitenantPaginator.Ecto.Repo defp crea...
29.503289
93
0.604192
4a032ef73fe97ace0c8c7cfacb549df831c93f18
16,128
ex
Elixir
lib/asset_import.ex
coingaming/auto_assets
3bcae3a54eaa8973ac7c8322ec95f96522617bb3
[ "MIT" ]
9
2019-09-26T08:18:41.000Z
2021-02-04T19:59:37.000Z
lib/asset_import.ex
coingaming/auto_assets
3bcae3a54eaa8973ac7c8322ec95f96522617bb3
[ "MIT" ]
null
null
null
lib/asset_import.ex
coingaming/auto_assets
3bcae3a54eaa8973ac7c8322ec95f96522617bb3
[ "MIT" ]
1
2020-07-14T13:50:46.000Z
2020-07-14T13:50:46.000Z
defmodule AssetImport do @doc false require Logger import IO.ANSI defmacro __using__(opts) do module = __CALLER__.module app_name = Mix.Project.config() |> Keyword.fetch!(:app) Module.put_attribute(module, :asset_import_deps, []) assets_path = case Keyword.get(opts, :assets_path) do ...
25.971014
103
0.554936
4a03455f7454dae2be703a25db6461aaec9cdad1
5,261
ex
Elixir
lib/central_web/controllers/communication/post_controller.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central_web/controllers/communication/post_controller.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central_web/controllers/communication/post_controller.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule CentralWeb.Communication.PostController do use CentralWeb, :controller alias Central.Communication alias Central.Communication.Post plug Bodyguard.Plug.Authorize, policy: Central.Communication.Post, action: {Phoenix.Controller, :action_name}, user: {Central.Account.AuthLib, :current_user...
27.259067
88
0.574225
4a03827d413b9fa7c65fe15760493103fb39c949
4,208
ex
Elixir
lib/commerce_cure/std_code/avs_code.ex
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
lib/commerce_cure/std_code/avs_code.ex
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
lib/commerce_cure/std_code/avs_code.ex
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
defmodule CommerceCure.AvsCode do # Implements the Address Verification System # https://www.wellsfargo.com/downloads/pdf/biz/merchant/visa_avs.pdf # http://en.wikipedia.org/wiki/Address_Verification_System # http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_IG/html/app_avs_cvn_codes.htm#app_...
51.317073
179
0.670152
4a038d3c149d8464f3a8985fb87040d7b8440ece
2,367
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/cve.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/cve.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/cve.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.267857
207
0.723278
4a039c5fd9a359af56e206984a2fcbb853e3c034
1,497
ex
Elixir
lib/url_unroller.ex
semanticart/url_unroller
8a179771bf5a9a18b933d0e2247aacd522b3e482
[ "MIT" ]
5
2015-01-11T22:56:27.000Z
2020-10-12T05:48:50.000Z
lib/url_unroller.ex
semanticart/url_unroller
8a179771bf5a9a18b933d0e2247aacd522b3e482
[ "MIT" ]
null
null
null
lib/url_unroller.ex
semanticart/url_unroller
8a179771bf5a9a18b933d0e2247aacd522b3e482
[ "MIT" ]
null
null
null
defmodule UrlUnroller do @user_agent [ {"User-agent", "UrlUnroller"} ] @doc """ Returns a long url for a given short url. Also returns the last HTTPoison status and response struct. Passing a long url is generally a noop (unless the url is a redirect). ## Examples iex> {status, url, _response_info} =...
31.851064
130
0.667335
4a03a81f5f6125d668f773349f235ad3103cd63d
667
ex
Elixir
lib/ex_admin/themes/active_admin/fields.ex
andriybohdan/ex_admin
e31c725078ac4e7390204a87d96360a21ffe7b90
[ "MIT" ]
1
2018-08-30T20:20:56.000Z
2018-08-30T20:20:56.000Z
lib/ex_admin/themes/active_admin/fields.ex
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
null
null
null
lib/ex_admin/themes/active_admin/fields.ex
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
2
2018-07-12T07:44:50.000Z
2018-07-19T11:45:09.000Z
defmodule ExAdmin.Theme.ActiveAdmin.Fields do use Xain import ExAdmin.Utils import ExAdmin.Form.Fields def input_checkbox(fun) do li ".checkbox" do fun.() end end def theme_ajax_input_collection(resource, collection, model_name, field_name, item, params) do ext_name = ext_name model_name...
26.68
96
0.683658
4a03b996ca239b3fc1aed0486d51efda35dea1d0
1,413
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/disks_resize_request.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/disks_resize_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/disks_resize_request.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 ...
30.06383
118
0.735315
4a03bc7066835ecdf6f6940af8641249d381c299
9,891
ex
Elixir
lib/ecto/adapters/postgres.ex
mbuhot/ecto_sql
10b34132b3bc3013f5f89266efcb79939cbf04fa
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/postgres.ex
mbuhot/ecto_sql
10b34132b3bc3013f5f89266efcb79939cbf04fa
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/postgres.ex
mbuhot/ecto_sql
10b34132b3bc3013f5f89266efcb79939cbf04fa
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.Postgres do @moduledoc """ Adapter module for PostgreSQL. It uses `Postgrex` for communicating to the database. ## Features * Full query support (including joins, preloads and associations) * Support for transactions * Support for data migrations * Support for ecto.cre...
33.757679
102
0.64584
4a03e1a1d05a6aee9c4bfde18cd4ae9060eb3607
730
exs
Elixir
mix.exs
lukasni/ueberauth-eve-sso
d0ebf3e37317f0482df0258a02089d0559c8995a
[ "MIT" ]
null
null
null
mix.exs
lukasni/ueberauth-eve-sso
d0ebf3e37317f0482df0258a02089d0559c8995a
[ "MIT" ]
null
null
null
mix.exs
lukasni/ueberauth-eve-sso
d0ebf3e37317f0482df0258a02089d0559c8995a
[ "MIT" ]
null
null
null
defmodule UeberauthEveSso.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :ueberauth_eve_sso, version: @version, name: "Ueberauth EVE SSO", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app"...
20.857143
88
0.558904
4a03e735932b519328ce53c5911126b8289564f5
7,586
exs
Elixir
test/pow/phoenix/controllers/registration_controller_test.exs
Immortalin/pow
96e8e2e58a09c98b52967f3e67ebe847ca763dd8
[ "MIT" ]
null
null
null
test/pow/phoenix/controllers/registration_controller_test.exs
Immortalin/pow
96e8e2e58a09c98b52967f3e67ebe847ca763dd8
[ "MIT" ]
null
null
null
test/pow/phoenix/controllers/registration_controller_test.exs
Immortalin/pow
96e8e2e58a09c98b52967f3e67ebe847ca763dd8
[ "MIT" ]
null
null
null
defmodule Pow.Phoenix.RegistrationControllerTest do use Pow.Test.Phoenix.ConnCase alias Plug.Conn alias Pow.Plug describe "new/2" do test "shows", %{conn: conn} do conn = get(conn, Routes.pow_registration_path(conn, :new)) assert Conn.get_resp_header(conn, "cache-control") == ["no-cache, no-s...
38.902564
110
0.642763
4a0405c2183c1bae7637234cfe987de9c4c9cd3a
279
ex
Elixir
lib/screens/config/v2/alerts.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens/config/v2/alerts.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens/config/v2/alerts.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule Screens.Config.V2.Alerts do @moduledoc false @type t :: %__MODULE__{stop_id: String.t()} @enforce_keys [:stop_id] defstruct @enforce_keys use Screens.Config.Struct defp value_from_json(_, value), do: value defp value_to_json(_, value), do: value end
18.6
45
0.724014
4a040e41e9c8973e872ca009200a9b979662e3f9
429
exs
Elixir
config/prod.exs
JuanDGiraldoM/distributed-performance-analyzer
32785062e0ba7a059c63835936931f25bedd0543
[ "MIT" ]
11
2020-04-17T18:32:26.000Z
2021-10-22T00:16:03.000Z
config/prod.exs
JuanDGiraldoM/distributed-performance-analyzer
32785062e0ba7a059c63835936931f25bedd0543
[ "MIT" ]
14
2020-05-11T16:26:01.000Z
2022-03-10T01:31:22.000Z
config/prod.exs
JuanDGiraldoM/distributed-performance-analyzer
32785062e0ba7a059c63835936931f25bedd0543
[ "MIT" ]
8
2020-08-19T22:25:13.000Z
2021-11-12T20:12:22.000Z
use Mix.Config config :perf_analizer, url: "http://127.0.0.1:8080/wait/1", request: %{ method: "POST", headers: [{"Content-Type", "application/json"}], body: "{\"key\": \"example\"}" }, execution: %{ steps: 5, increment: 370, duration: ...
19.5
57
0.487179
4a04241bda605abea0b255719c4a5356799de795
153
ex
Elixir
memory_backend/lib/memory_backend_web/controllers/page_controller.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
null
null
null
memory_backend/lib/memory_backend_web/controllers/page_controller.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
15
2020-12-23T16:09:28.000Z
2020-12-26T22:32:47.000Z
memory_backend/lib/memory_backend_web/controllers/page_controller.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
null
null
null
defmodule MemoryBackendWeb.PageController do use MemoryBackendWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
19.125
44
0.75817
4a04609ec5a6d27e9add540b6740313d5cf191af
105
ex
Elixir
lib/bbb_lti/repo.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
lib/bbb_lti/repo.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
lib/bbb_lti/repo.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
defmodule BbbLti.Repo do use Ecto.Repo, otp_app: :bbb_lti, adapter: Ecto.Adapters.Postgres end
17.5
35
0.72381
4a04c3948f386f791f93e56c7957fa7999cf7d4f
361
exs
Elixir
mix.exs
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
2
2016-05-30T14:39:46.000Z
2016-08-09T17:25:09.000Z
mix.exs
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
null
null
null
mix.exs
oborba/docsbr
f1a8b2e7a6e8939962e3286dbd2569e4dfb1906a
[ "MIT" ]
null
null
null
defmodule Docsbr.Mixfile do use Mix.Project def project do [app: :docsbr, version: "0.0.1", elixir: "~> 1.2", escript: [main_module: Docsbr], build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end def application do [applications: [:logger]...
16.409091
39
0.590028
4a04d3a9eb8c6109c1b3354024f2cf15cb43c0ff
2,228
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_restrictions.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_restrictions.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_restrictions.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.762712
166
0.744614
4a0514ccf7158fa24d1c9d87b81837febb7a2d07
10,555
ex
Elixir
squitter/lib/squitter/decoding/ext_squitter/decoder.ex
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
34
2017-08-30T02:29:41.000Z
2021-05-29T20:21:43.000Z
squitter/lib/squitter/decoding/ext_squitter/decoder.ex
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
7
2017-09-12T05:27:23.000Z
2020-01-06T22:07:52.000Z
squitter/lib/squitter/decoding/ext_squitter/decoder.ex
electricshaman/squitter
7a0dfbc125118b764d192f02b42b36596f6d4ac6
[ "MIT" ]
9
2017-09-11T22:17:55.000Z
2022-01-31T03:07:58.000Z
defmodule Squitter.Decoding.ExtSquitter do require Logger import Squitter.Decoding.Utils alias Squitter.StatsTracker alias Squitter.Decoding.ModeS alias Squitter.Decoding.ExtSquitter.{ TypeCode, Callsign, AirbornePosition, AircraftCategory, GroundSpeed, AirSpeed } @df [17, 18] ...
32.678019
96
0.471909
4a0523bea4a971c61712c621de60d138236c0c9c
2,441
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/function_mock.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/function_mock.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/function_mock.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...
46.056604
541
0.752151
4a05415434e1e60d74f4a55d9be49b0b6a6a072f
195
exs
Elixir
apps/core/priv/fraud_repo/migrations/20190607122541_add_type_to_medical_programs.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/fraud_repo/migrations/20190607122541_add_type_to_medical_programs.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/fraud_repo/migrations/20190607122541_add_type_to_medical_programs.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.FraudRepo.Migrations.AddTypeToMedicalPrograms do use Ecto.Migration def change do alter table(:medical_programs) do add(:type, :text, null: false) end end end
19.5
63
0.728205
4a0545e8b75db8f5683f9fe435de65f02e1ffa39
725
ex
Elixir
lib/quandl/v3/model/dataset_data_container.ex
vjebelev/quandl
446e72c2d81b277b38e88742499358513ad70389
[ "MIT" ]
null
null
null
lib/quandl/v3/model/dataset_data_container.ex
vjebelev/quandl
446e72c2d81b277b38e88742499358513ad70389
[ "MIT" ]
null
null
null
lib/quandl/v3/model/dataset_data_container.ex
vjebelev/quandl
446e72c2d81b277b38e88742499358513ad70389
[ "MIT" ]
null
null
null
defmodule Quandl.V3.Model.DatasetDataContainer do @moduledoc """ Dataset Data Container. ## Attributes * `dataset_data` (*type:* `Quandl.V3.Model.DatasetData.t`), *default:* `nil`) """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :dataset_data => Quandl.V3.Model.DatasetData.t() ...
25
81
0.717241
4a054d48ee60c6b234eb1f6bdcce8705ed5193f5
493
exs
Elixir
priv/repo/migrations/20191214135637_create_advent_calendar_days.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
priv/repo/migrations/20191214135637_create_advent_calendar_days.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
priv/repo/migrations/20191214135637_create_advent_calendar_days.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.Repo.Migrations.CreateAdventCalendarDays do use Ecto.Migration def change do create table(:advent_calendar_days) do add(:date, :date, null: false) add(:subject, :string, null: false) add(:author, :string, null: false) add(:user_id, references(:users, column: :user_id, o...
25.947368
81
0.667343
4a055de06d15e037633de59fe44bed8778543331
9,505
exs
Elixir
test/changeset_a_test.exs
marick/ecto_flow_assertions
c46e39ed0420a1765320218dd4f0efddb71c83cb
[ "Unlicense" ]
5
2020-09-04T19:38:43.000Z
2021-01-12T16:32:00.000Z
test/changeset_a_test.exs
marick/ecto_flow_assertions
c46e39ed0420a1765320218dd4f0efddb71c83cb
[ "Unlicense" ]
null
null
null
test/changeset_a_test.exs
marick/ecto_flow_assertions
c46e39ed0420a1765320218dd4f0efddb71c83cb
[ "Unlicense" ]
null
null
null
defmodule FlowAssertions.Ecto.ChangesetATest do use FlowAssertions.Ecto.Case use Ecto.Schema import Ecto.Changeset alias FlowAssertions.Messages, as: BaseMessages embedded_schema do field :name, :string field :tags, {:array, :string} end def changeset(thing, attrs) do thing |> cast(attrs...
28.80303
83
0.586007
4a0586d0a338e560cb9ffe0eeef26dc77f58e915
3,708
ex
Elixir
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.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.116279
196
0.662621
4a059d7d3b937de46388244bec80a6c393a37664
4,539
ex
Elixir
lib/swagger/client/api/api_docsendpoints_format.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/api/api_docsendpoints_format.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/api/api_docsendpoints_format.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
1
2018-10-27T07:10:02.000Z
2018-10-27T07:10:02.000Z
# 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 Swagger.Client.Api.ApiDocsendpointsFormat do @moduledoc """ API calls for all endpoints tagged `ApiDocsendpointsFormat`. """ alias Swagge...
29.474026
143
0.638467
4a05d6af331a493dcfdced7c1a2f6824918f764c
277
ex
Elixir
lib/camino_challenge/storage/uploaders/pdf.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
lib/camino_challenge/storage/uploaders/pdf.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
lib/camino_challenge/storage/uploaders/pdf.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
defmodule CaminoChallenge.Uploaders.Pdf do @moduledoc false use Arc.Definition use Arc.Ecto.Definition @versions [:original] def storage_dir(_version, {_, _}) do if Mix.env() == :test do "uploads/test" else "uploads/arquivos" end end end
16.294118
42
0.66065
4a05f488237685aa1e145b4cb229300c8060d92e
600
ex
Elixir
lib/wabanex/exercise.ex
Sensacioles/ElixirNLWTogether2021
97f72b4fda4367693755dedabf7ee86b63978221
[ "MIT" ]
null
null
null
lib/wabanex/exercise.ex
Sensacioles/ElixirNLWTogether2021
97f72b4fda4367693755dedabf7ee86b63978221
[ "MIT" ]
null
null
null
lib/wabanex/exercise.ex
Sensacioles/ElixirNLWTogether2021
97f72b4fda4367693755dedabf7ee86b63978221
[ "MIT" ]
null
null
null
defmodule Wabanex.Exercise do use Ecto.Schema import Ecto.Changeset alias Wabanex.Training @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @fields [:name, :protocol_description, :repetitions, :youtube_video_url] schema "exercises" do field :name, :string field :pr...
24
74
0.72
4a05f61e5b2ac45323abed5ac46a57866d7c954a
619
exs
Elixir
config/config.exs
victoriavilasb/bonny
c5f2b3f69d8f4750d796a619d71692d76445b509
[ "MIT" ]
null
null
null
config/config.exs
victoriavilasb/bonny
c5f2b3f69d8f4750d796a619d71692d76445b509
[ "MIT" ]
null
null
null
config/config.exs
victoriavilasb/bonny
c5f2b3f69d8f4750d796a619d71692d76445b509
[ "MIT" ]
null
null
null
use Mix.Config if Mix.env() == :test do config :logger, level: :error config :bonny, k8s_client: Bonny.K8sMockClient, controllers: [Widget, Cog], group: "example.com", cluster_name: :test end if Mix.env() == :dev do config :logger, level: :debug config :mix_test_watch, tasks: [ "te...
16.72973
50
0.573506
4a062c5e8ac4b8e5b5fbe8b2bc28797cdbf73ffb
6,573
ex
Elixir
lib/lakeland/transport/tcp.ex
nonsense2020/lakeland
f7f928562ef8f81193f07d80e5d5c79cc919422c
[ "MIT" ]
3
2016-04-27T14:42:30.000Z
2016-05-11T13:05:46.000Z
lib/lakeland/transport/tcp.ex
lerencao/lakeland
f7f928562ef8f81193f07d80e5d5c79cc919422c
[ "MIT" ]
5
2016-02-28T08:15:40.000Z
2020-02-10T21:16:52.000Z
lib/lakeland/transport/tcp.ex
nonsense2020/lakeland
f7f928562ef8f81193f07d80e5d5c79cc919422c
[ "MIT" ]
null
null
null
defmodule Lakeland.Transport.Tcp do require Logger @behaviour Lakeland.Transport @type opt :: {:backlog, non_neg_integer} | {:buffer, non_neg_integer} | {:delay_send, boolean} | {:dontroute, boolean} | {:exit_on_close, boolean} | {:fd, non_neg_integer} | {:high_msgq_watermark, non_neg_integer} | {:...
31.753623
136
0.656017
4a063c688453bb9b45e979cfde2d695c942089ca
13,014
ex
Elixir
lib/mix/lib/releases/appups.ex
PhillippOhlandt/distillery
fa6777fdc0c61aa8fcad54ffaabbb6829dd4fb38
[ "MIT" ]
null
null
null
lib/mix/lib/releases/appups.ex
PhillippOhlandt/distillery
fa6777fdc0c61aa8fcad54ffaabbb6829dd4fb38
[ "MIT" ]
null
null
null
lib/mix/lib/releases/appups.ex
PhillippOhlandt/distillery
fa6777fdc0c61aa8fcad54ffaabbb6829dd4fb38
[ "MIT" ]
null
null
null
defmodule Mix.Releases.Appup do @moduledoc """ This module is responsible for generating appups between two releases. """ alias Mix.Releases.Utils alias Mix.Releases.Appup.Transform @type app :: atom @type version_str :: String.t() @type path_str :: String.t() @type change :: :soft | {:advanced, [te...
32.535
98
0.609651
4a0676fafd73dc70b9d76a28ac760375ba8d010c
51,480
ex
Elixir
lib/phoenix_live_view.ex
trkoch/phoenix_live_view
a49b9f3578c2cde563f5acdba8b4d17868465f2e
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
trkoch/phoenix_live_view
a49b9f3578c2cde563f5acdba8b4d17868465f2e
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
trkoch/phoenix_live_view
a49b9f3578c2cde563f5acdba8b4d17868465f2e
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView do @moduledoc ~S''' LiveView provides rich, real-time user experiences with server-rendered HTML. The LiveView programming model is declarative: instead of saying "once event X happens, change Y on the page", events in LiveView are regular messages which may cause changes to it...
34.972826
140
0.680653
4a069da41df0d675bdac38d424a311265f8533bb
1,679
exs
Elixir
lib/elixir/test/elixir/test_helper.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/test/elixir/test_helper.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/test_helper.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
assert_timeout = String.to_integer( System.get_env("ELIXIR_ASSERT_TIMEOUT") || "500" ) ExUnit.start [trace: "--trace" in System.argv, assert_receive_timeout: assert_timeout] # Beam files compiled on demand path = Path.expand("../../tmp/beams", __DIR__) File.rm_rf!(path) File.mkdir_p!(path) Code.prepen...
22.689189
107
0.677784
4a072baba3e42ba873bc3b175017f1c681cbaefb
1,774
ex
Elixir
lib/ex_oneroster/organizations/organizations.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
lib/ex_oneroster/organizations/organizations.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
lib/ex_oneroster/organizations/organizations.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.Organizations do @moduledoc """ The boundary for the Organizations system. """ import Ecto.Query, warn: false alias ExOneroster.Repo alias ExOneroster.Organizations.Org @doc """ Returns the list of orgs. ## Examples iex> list_orgs() [%Org{}, ...] """ def lis...
16.735849
80
0.56708
4a0749e9d89d36bd2a3f8150c625e1bdc0c38121
336
exs
Elixir
priv/repo/migrations/20180530203634_create_widget_items.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
priv/repo/migrations/20180530203634_create_widget_items.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
priv/repo/migrations/20180530203634_create_widget_items.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
defmodule AfterGlow.Repo.Migrations.CreateWidgetItems do use Ecto.Migration def change do create table(:widget_items) do add(:text, :string) add(:config, :jsonb) add(:value, :string) add(:widget_id, references(:widgets, on_delete: :delete_all, on_replace: :delete)) timestamps() ...
24
88
0.675595
4a078ba4c39c9d8fb005fb0f6c9571cc817b7de5
3,468
ex
Elixir
lib/bulmalab_web/live/index_live.ex
easink/bulmalab
eddd13d4717388fdccaeb97efaa2ac7ce723030a
[ "Apache-2.0" ]
null
null
null
lib/bulmalab_web/live/index_live.ex
easink/bulmalab
eddd13d4717388fdccaeb97efaa2ac7ce723030a
[ "Apache-2.0" ]
null
null
null
lib/bulmalab_web/live/index_live.ex
easink/bulmalab
eddd13d4717388fdccaeb97efaa2ac7ce723030a
[ "Apache-2.0" ]
null
null
null
defmodule BulmalabWeb.IndexLive do use Phoenix.LiveView def render(assigns) do ~L""" <h1>Dropdown:</h1> <%= live_component(@socket, BulmalabWeb.DropdownLiveComponent, id: @dropdown_id, dropdown: @dropdown) %> SELECTED: <%= if @dropdown_selected, do: @dropdown_selected %> SELECTED: <%= if ...
38.10989
193
0.675029
4a079299e134f9b5dcd3e264fcc6fb4302788c63
17,110
ex
Elixir
lib/mix/lib/mix/utils.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Utils do @moduledoc false @doc """ Gets the Mix home. It defaults to `~/.mix` unless the `MIX_HOME` environment variable is set. Developers should only store entries in the `MIX_HOME` directory which are guaranteed to work across multiple Elixir versions, as it is not recommended to s...
26.082317
98
0.61502
4a080c1d04f86fa832e957d5812cae7c86d25794
784
ex
Elixir
lib/aws/util.ex
onkel-dirtus/aws-elixir
7a1bb259c5864bed249f89d5f976672fdc4a43a7
[ "Apache-2.0" ]
null
null
null
lib/aws/util.ex
onkel-dirtus/aws-elixir
7a1bb259c5864bed249f89d5f976672fdc4a43a7
[ "Apache-2.0" ]
null
null
null
lib/aws/util.ex
onkel-dirtus/aws-elixir
7a1bb259c5864bed249f89d5f976672fdc4a43a7
[ "Apache-2.0" ]
null
null
null
defmodule AWS.Util do @moduledoc false @doc """ Encodes URI preserving segments. Segments are separated by a slash - "/". """ def encode_multi_segment_uri(uri) do uri |> String.split("/") |> Enum.map_join("/", &encode_uri/1) end @doc """ Encodes URI keeping unreserved chars untouched. ...
19.6
51
0.621173
4a081f8b11dff004b6b8388d58e2f81b50fb3146
735
ex
Elixir
lib/is31fl3733/i2c_behavior.ex
nerves-keyboard/IS31FL3733
7878b4ce7c90a1a0011b61caf973dbcdf9344a83
[ "MIT" ]
2
2021-04-17T01:14:03.000Z
2021-12-01T14:59:21.000Z
lib/is31fl3733/i2c_behavior.ex
nerves-keyboard/IS31FL3733
7878b4ce7c90a1a0011b61caf973dbcdf9344a83
[ "MIT" ]
40
2020-10-31T05:53:04.000Z
2022-03-23T14:32:47.000Z
lib/is31fl3733/i2c_behavior.ex
nerves-keyboard/IS31FL3733
7878b4ce7c90a1a0011b61caf973dbcdf9344a83
[ "MIT" ]
null
null
null
defmodule IS31FL3733.I2CBehavior do @moduledoc """ Explicit contract behavior used for I2C communication. """ alias Circuits.I2C @type bus :: I2C.bus() @type address :: I2C.address() @type opt :: I2C.opt() @callback open(binary() | charlist()) :: {:ok, bus()} | {:error, term()} @callback close(bus...
30.625
80
0.57415
4a084120d8aa7eafb9c761ec3256a0115a939a08
2,187
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_group_aggregated_list_warning.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/node_group_aggregated_list_warning.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/node_group_aggregated_list_warning.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...
41.264151
250
0.727938
4a0852e8b38ce7d4ad0103b977c8b6a84fad360d
334
exs
Elixir
.formatter.exs
craigp/swoosh
83364b3e9029988e585d4cc0c4d5ec1ccfb4930a
[ "MIT" ]
1,214
2016-03-21T16:56:42.000Z
2022-03-31T19:10:11.000Z
.formatter.exs
craigp/swoosh
83364b3e9029988e585d4cc0c4d5ec1ccfb4930a
[ "MIT" ]
399
2016-03-21T23:11:32.000Z
2022-03-04T10:52:28.000Z
deps/swoosh/.formatter.exs
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
208
2016-03-21T21:12:11.000Z
2022-03-04T06:35:33.000Z
[ import_deps: [:plug], inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"], export: [ locals_without_parens: [ assert_email_not_sent: 1, assert_email_sent: 0, assert_email_sent: 1, assert_no_email_sent: 0, refute_email_sent: 0, refute_email_sent: ...
22.266667
80
0.592814
4a086f5ef43f87986c9fdab8b1fe9e5859c1238f
11,094
ex
Elixir
lib/scenic/component/input/dropdown.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/dropdown.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/dropdown.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer July 15, 2018. # Copyright © 2018 Kry10 Industries. All rights reserved. # defmodule Scenic.Component.Input.Dropdown do use Scenic.Component, has_children: false alias Scenic.Graph alias Scenic.ViewPort alias Scenic.Primitive.Style.Theme import Scenic.Primitives # import IE...
30.478022
97
0.523616
4a089a4884d2d462f56f1e4ef27a4f1b80c72956
74
exs
Elixir
test/test_helper.exs
milandzo/milandzotorismo
51e92afbc776b8a60d8f9e79fc44d6669724dcf9
[ "MIT" ]
null
null
null
test/test_helper.exs
milandzo/milandzotorismo
51e92afbc776b8a60d8f9e79fc44d6669724dcf9
[ "MIT" ]
null
null
null
test/test_helper.exs
milandzo/milandzotorismo
51e92afbc776b8a60d8f9e79fc44d6669724dcf9
[ "MIT" ]
1
2020-10-05T14:16:08.000Z
2020-10-05T14:16:08.000Z
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(Magnetissimo.Repo, :manual)
14.8
58
0.797297
4a08a61df62d4ed973365c426dd8e906771a5290
5,329
exs
Elixir
test/create_table_test.exs
hou8/ex_aliyun_ots
46aaca99fa6c9aa9640bb206a1ab31e400b73404
[ "MIT" ]
null
null
null
test/create_table_test.exs
hou8/ex_aliyun_ots
46aaca99fa6c9aa9640bb206a1ab31e400b73404
[ "MIT" ]
null
null
null
test/create_table_test.exs
hou8/ex_aliyun_ots
46aaca99fa6c9aa9640bb206a1ab31e400b73404
[ "MIT" ]
null
null
null
defmodule ExAliyunOtsTest.CreateTableAndBasicRowOperation do use ExUnit.Case import ExAliyunOts.DSL, only: [condition: 1] require Logger alias ExAliyunOts.Var alias ExAliyunOts.Const.{PKType, OperationType, ReturnType} require PKType require OperationType require ReturnType @instance_key EDCEXTestIns...
33.942675
97
0.67705
4a08affac321bc07447fb861e3407460dfaa1334
3,312
ex
Elixir
lib/container.ex
pyropy/elixir-docker
b4c55db155b978524f4635d77c376ac9fc40fb68
[ "MIT" ]
30
2015-04-06T23:15:56.000Z
2021-05-05T02:19:05.000Z
lib/container.ex
pyropy/elixir-docker
b4c55db155b978524f4635d77c376ac9fc40fb68
[ "MIT" ]
3
2016-02-17T23:25:05.000Z
2016-03-30T00:28:24.000Z
lib/container.ex
pyropy/elixir-docker
b4c55db155b978524f4635d77c376ac9fc40fb68
[ "MIT" ]
13
2015-05-05T17:55:07.000Z
2021-03-17T19:43:23.000Z
defmodule Docker.Container do alias Docker.Container alias Docker.Request defstruct id: "", server: nil def list(srv) do req = Request.get "/containers/json" case GenServer.call(srv, req) do {:ok, list} -> {:ok, Enum.map(list, &(from_json(srv,&1))) } {:error, err} -> {:erro...
28.307692
106
0.622886
4a08e635924e4b98dfdccbee8c6566eabcd9ad03
1,190
exs
Elixir
examples/sample-app/config/config.exs
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
3
2017-08-14T13:53:34.000Z
2021-07-03T12:46:41.000Z
examples/sample-app/config/config.exs
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
null
null
null
examples/sample-app/config/config.exs
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :logger, backends: [:console], compile_time_purge_level: :info # This configuration is loaded before any dependency and is restricted # to this project. If another projec...
34
73
0.74958
4a0922d50b31c896edc9679dea9734c8de9652b8
753
exs
Elixir
test/json_schema_test_suite/draft6/min_length_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_schema_test_suite/draft6/min_length_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_schema_test_suite/draft6/min_length_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft6.MinLengthTest do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|minLength validation| do setup do %{schema: JsonXema.new(%{"minLength" => 2})} end test ~s|longer is valid|, %{schema: schema} do assert valid?(schema, "foo") end ...
23.53125
90
0.628154