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
850c11b4399d710b4423ee62ff089de32ecdf4d8
55
exs
Elixir
dialyzer.ignore_warnings.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
dialyzer.ignore_warnings.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
dialyzer.ignore_warnings.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
[ {"lib/vutuv_web/gettext.ex", :pattern_match_cov} ]
13.75
50
0.690909
850c18ab8a84100b3719062938bb6626f6b8ad32
54,374
ex
Elixir
lib/plug/conn.ex
raksonibs/plug
0876d60a6c83f03974b0bdf46676c6e568318940
[ "Apache-2.0" ]
null
null
null
lib/plug/conn.ex
raksonibs/plug
0876d60a6c83f03974b0bdf46676c6e568318940
[ "Apache-2.0" ]
null
null
null
lib/plug/conn.ex
raksonibs/plug
0876d60a6c83f03974b0bdf46676c6e568318940
[ "Apache-2.0" ]
null
null
null
alias Plug.Conn.Unfetched defmodule Plug.Conn do @moduledoc """ The Plug connection. This module defines a `Plug.Conn` struct and the main functions for working with Plug connections. Note request headers are normalized to lowercase and response headers are expected to have lowercase keys. ## Request ...
32.894132
105
0.668132
850c42dfe55eafe463950cd0557f91f1ae6a214e
7,513
ex
Elixir
kousa/lib/data-layer/user_data.ex
tanay-pingalkar/dogehouse
2f6c620a7be58f1c173218b9185bf13dbe66bff9
[ "MIT" ]
1
2021-02-28T11:29:00.000Z
2021-02-28T11:29:00.000Z
kousa/lib/data-layer/user_data.ex
tanay-pingalkar/dogehouse
2f6c620a7be58f1c173218b9185bf13dbe66bff9
[ "MIT" ]
null
null
null
kousa/lib/data-layer/user_data.ex
tanay-pingalkar/dogehouse
2f6c620a7be58f1c173218b9185bf13dbe66bff9
[ "MIT" ]
null
null
null
defmodule Kousa.Data.User do import Ecto.Query, warn: false alias Beef.{Repo, User} @fetch_limit 16 def edit_profile(user_id, data) do %User{id: user_id} |> User.edit_changeset(data) |> Repo.update() end def search(query, offset) do query_with_percent = "%" <> query <> "%" items = ...
22.360119
95
0.518834
850c5139245e3ed64d850509b315888aadf72f21
1,553
ex
Elixir
lib/p9i_web.ex
niku/p9i
c17b16e406374e098848c811ed84794f0c6be53a
[ "MIT" ]
null
null
null
lib/p9i_web.ex
niku/p9i
c17b16e406374e098848c811ed84794f0c6be53a
[ "MIT" ]
null
null
null
lib/p9i_web.ex
niku/p9i
c17b16e406374e098848c811ed84794f0c6be53a
[ "MIT" ]
null
null
null
defmodule P9iWeb 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 P9iWeb, :controller use P9iWeb, :view The definitions below will be executed for every view, controller, etc, so keep...
22.838235
69
0.676755
850c5eba599f3adb4eb66b384f0f3274dcd0f547
462
exs
Elixir
priv/read_repo/migrations/20191115202853_create_surface_types_surface_types.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
priv/read_repo/migrations/20191115202853_create_surface_types_surface_types.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
34
2019-11-10T11:31:37.000Z
2019-11-27T21:26:48.000Z
priv/read_repo/migrations/20191115202853_create_surface_types_surface_types.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
defmodule Club.ReadRepo.Migrations.CreateSurfaceTypesSurfaceTypes do use Ecto.Migration def change do create table(:surface_types_surface_types, primary_key: false) do add :surface_type_uuid, :binary_id, primary_key: true add :name, :string add :product_count, :bigint timestamps() ...
25.666667
69
0.699134
850c856a8bcbff4f4185b1110c28ca4687caf2c3
1,044
exs
Elixir
mix.exs
ryanwinchester/exirc
83521188b6a0e81b3ec155e1e6d2220ef04ea640
[ "MIT" ]
147
2015-01-12T15:05:12.000Z
2022-03-17T06:32:41.000Z
mix.exs
ryanwinchester/exirc
83521188b6a0e81b3ec155e1e6d2220ef04ea640
[ "MIT" ]
74
2015-01-24T23:07:53.000Z
2021-04-23T14:27:43.000Z
mix.exs
ryanwinchester/exirc
83521188b6a0e81b3ec155e1e6d2220ef04ea640
[ "MIT" ]
51
2015-02-13T21:00:38.000Z
2022-03-03T15:38:12.000Z
defmodule ExIRC.Mixfile do use Mix.Project def project do [ app: :exirc, version: "2.0.0", elixir: "~> 1.6", description: "An IRC client library for Elixir.", package: package(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, ...
22.695652
72
0.545019
850ca106c407b578b2f8203a101d9d2f29a75df5
120,565
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.505353
451
0.658607
850cce0ae129bf194e19970d1af99dcd1b21a504
132
exs
Elixir
diskv/test/diskv_test.exs
MatthewAlanLeBrun/diskv
f9afa4cf3d60ea56bd29191d4d5f9ca5060e3682
[ "MIT" ]
null
null
null
diskv/test/diskv_test.exs
MatthewAlanLeBrun/diskv
f9afa4cf3d60ea56bd29191d4d5f9ca5060e3682
[ "MIT" ]
null
null
null
diskv/test/diskv_test.exs
MatthewAlanLeBrun/diskv
f9afa4cf3d60ea56bd29191d4d5f9ca5060e3682
[ "MIT" ]
null
null
null
defmodule DiskvTest do use ExUnit.Case doctest Diskv test "greets the world" do assert Diskv.hello() == :world end end
14.666667
34
0.69697
850ccf459ab262d3a5527f0415a9bc0ee7bd43fd
9,676
ex
Elixir
lib/ex_aliyun_ots/client/table.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
19
2018-05-10T09:33:25.000Z
2022-01-25T11:57:33.000Z
lib/ex_aliyun_ots/client/table.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
23
2019-11-28T07:51:52.000Z
2022-03-09T08:33:42.000Z
lib/ex_aliyun_ots/client/table.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
9
2019-01-30T03:17:12.000Z
2021-12-14T02:23:32.000Z
defmodule ExAliyunOts.Client.Table do @moduledoc false alias ExAliyunOts.TableStore.{ CreateTableRequest, PrimaryKeySchema, PrimaryKeyType, DefinedColumnSchema, DefinedColumnType, TableMeta, IndexMeta, CreateIndexRequest, DropIndexRequest, ReservedThroughput, CapacityUni...
29.5
130
0.709591
850cee248dc91641bdcbae97681fba17df19e447
2,568
exs
Elixir
api/mix.exs
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
null
null
null
api/mix.exs
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
24
2018-10-19T07:54:11.000Z
2022-02-26T13:28:55.000Z
api/mix.exs
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
null
null
null
defmodule RemoteDay.Mixfile do use Mix.Project def project do [ app: :remote_day, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ ...
27.612903
79
0.527259
850d08f3338d7e8aadd30b0b0f3bc81baefecbea
282
exs
Elixir
apps/importer/config/dev.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
8
2018-07-06T14:44:10.000Z
2021-08-19T17:24:25.000Z
apps/importer/config/dev.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
12
2018-07-15T18:43:04.000Z
2022-02-10T16:07:47.000Z
apps/importer/config/dev.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
1
2018-07-13T17:30:20.000Z
2018-07-13T17:30:20.000Z
use Mix.Config config :importer, schedules: %{ "SORTA" => %{ gtfs_schedule_url: "https://www.go-metro.com/uploads/GTFS/google_transit_info.zip" } } file = Path.join(Path.dirname(__ENV__.file), "dev.secret.exs") if File.exists?(file) do import_config file end
18.8
88
0.680851
850d4d14bf35998b35ec3412a553ace8d0c1e9a2
2,479
exs
Elixir
mix.exs
parthi82/bootleg
1b8d05bfded54b5ed6845661de516055edd8c498
[ "MIT" ]
null
null
null
mix.exs
parthi82/bootleg
1b8d05bfded54b5ed6845661de516055edd8c498
[ "MIT" ]
null
null
null
mix.exs
parthi82/bootleg
1b8d05bfded54b5ed6845661de516055edd8c498
[ "MIT" ]
null
null
null
defmodule Bootleg.Mixfile do use Mix.Project @version "0.8.0" @source "https://github.com/labzero/bootleg" @homepage "https://labzero.github.io/bootleg/" def project do [ app: :bootleg, version: @version, elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent...
26.094737
79
0.567568
850d678bd6051609eac9af4a5c0de2f5c7d1beb8
344
exs
Elixir
example_avialia/priv/boardings_repo/migrations/20210719054644_create_passengers.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
101
2020-06-11T23:51:50.000Z
2022-03-30T16:29:18.000Z
example_avialia/priv/boardings_repo/migrations/20210719054644_create_passengers.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
11
2020-10-11T11:50:24.000Z
2022-02-12T08:54:50.000Z
example_avialia/priv/boardings_repo/migrations/20210719054644_create_passengers.exs
kianmeng/Domo
1dcd2a0fb7d11b8c99db45b76aca95825db27d3b
[ "MIT" ]
4
2020-07-02T08:54:22.000Z
2021-12-26T09:59:15.000Z
defmodule ExampleAvialia.BoardingsRepo.Migrations.CreatePassengers do use Ecto.Migration def change do create table(:passengers) do add :flight, :string, null: false add :first_name, :string, null: false add :last_name, :string, null: false add :seat, :string, null: false timesta...
22.933333
69
0.680233
850d726ffb4cf8e760ede4b7b204008a63492aca
1,310
exs
Elixir
mix.exs
mathieuprog/i18n_helpers
281f12666723b443b5d33679ad88f705c1775178
[ "Apache-2.0" ]
10
2019-09-24T10:39:44.000Z
2021-08-28T18:31:36.000Z
mix.exs
mathieuprog/i18n_helpers
281f12666723b443b5d33679ad88f705c1775178
[ "Apache-2.0" ]
1
2021-11-20T22:12:04.000Z
2021-11-20T23:02:18.000Z
mix.exs
mathieuprog/i18n_helpers
281f12666723b443b5d33679ad88f705c1775178
[ "Apache-2.0" ]
2
2019-10-14T15:24:03.000Z
2021-11-20T22:48:25.000Z
defmodule I18nHelpers.MixProject do use Mix.Project @version "0.12.0" def project do [ app: :i18n_helpers, elixir: "~> 1.9", deps: deps(), elixirc_paths: elixirc_paths(Mix.env()), # Hex version: @version, package: package(), description: "A set of tools to he...
21.129032
83
0.543511
850d77e08aa2ba2f02841675b8aa3ce366c3888d
2,593
exs
Elixir
mix.exs
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
3
2018-10-26T21:12:47.000Z
2020-09-01T02:09:34.000Z
mix.exs
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
null
null
null
mix.exs
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
null
null
null
defmodule WxTests.MixProject do use Mix.Project def project do [ app: :wx_tests, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, # escript: escript(), deps: deps(), escript: escript(), docs: docs() ] end # Must be added. def es...
22.162393
73
0.521789
850da3a350e4421719917fc7ec8de2c01444e4b6
52,423
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.501698
595
0.664708
850dd5bbd248fb13f887fd7927857a525df4808b
199
ex
Elixir
lib/membrane_dashboard_web/channels/user_socket.ex
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
4
2021-06-09T13:33:22.000Z
2022-01-29T12:51:54.000Z
lib/membrane_dashboard_web/channels/user_socket.ex
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
15
2021-06-12T22:23:58.000Z
2022-01-10T09:06:12.000Z
lib/membrane_dashboard_web/channels/user_socket.ex
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
null
null
null
defmodule Membrane.DashboardWeb.UserSocket do use Phoenix.Socket @impl true def connect(_params, socket, _connect_info) do {:ok, socket} end @impl true def id(_socket), do: nil end
16.583333
48
0.713568
850e023ab69b608c814b7b4ec98ae275f8e449c5
2,197
exs
Elixir
test/resources/purchase_order_contract_line_items_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-01T01:34:16.000Z
2020-08-31T15:15:08.000Z
test/resources/purchase_order_contract_line_items_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-03T03:01:48.000Z
2021-06-08T18:39:40.000Z
test/resources/purchase_order_contract_line_items_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
3
2018-08-12T03:51:52.000Z
2020-02-27T14:29:14.000Z
defmodule Procore.Resources.PurchaseOrderContractLineItemsTest do use ExUnit.Case alias Procore.ResponseResult alias Procore.Resources.PurchaseOrderContractLineItems test "list/1 with default API version" do client = Procore.client() params = %{"project_id" => 1, "purchase_order_contract_id" => 1} ...
33.287879
94
0.662267
850e07388839f5dc0ba769c84faf4c90290fc207
1,038
exs
Elixir
test/dark_sky_sensor/remote_supervisor_test.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
3
2018-09-17T02:14:11.000Z
2019-03-11T22:51:25.000Z
test/dark_sky_sensor/remote_supervisor_test.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
null
null
null
test/dark_sky_sensor/remote_supervisor_test.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
null
null
null
defmodule DarkSkySensor.RemoteSupervisorTest do use ExUnit.Case alias DarkSkySensor.RemoteSupervisor alias DarkSkySensor.Support.TestUtilities describe "child remotes" do setup do remote = TestUtilities.build_remote("a_name") RemoteSupervisor.add_remote(remote) %{remote: remote} end...
27.315789
63
0.716763
850e07ceeccc16461ddc12f4abf9039d0d5dab3a
683
ex
Elixir
lib/hhex_web/jwt_helpers.ex
arvidkahl/hhex_elixir_auth0
2ec6a91a8d48afe036a39fe40b685335078dcfd5
[ "MIT" ]
1
2017-10-25T09:56:17.000Z
2017-10-25T09:56:17.000Z
lib/hhex_web/jwt_helpers.ex
arvidkahl/hhex_elixir_auth0
2ec6a91a8d48afe036a39fe40b685335078dcfd5
[ "MIT" ]
null
null
null
lib/hhex_web/jwt_helpers.ex
arvidkahl/hhex_elixir_auth0
2ec6a91a8d48afe036a39fe40b685335078dcfd5
[ "MIT" ]
null
null
null
defmodule HhexWeb.JWTHelpers do import Joken, except: [verify: 1] def verify(jwt) do verify |> with_json_module(Poison) |> with_compact_token(jwt) |> Joken.verify end def verify do %Joken.Token{} |> with_json_module(Poison) |> with_signer(hs256(config[:app_secret])) |> with_va...
22.766667
60
0.623719
850e12ce1daa50a8563d8234f470c4a95da7b686
1,806
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/list_instances_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/spanner/lib/google_api/spanner/v1/model/list_instances_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/list_instances_response.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 ...
34.730769
126
0.732558
850e1361718996188a5d538f6e7e0797ca1c10c6
1,650
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/third_party_tracking_url.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/third_party_tracking_url.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/third_party_tracking_url.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...
33
138
0.729697
850e2a2eb7f5542c5693e791fa1eb1f5063dd705
171,805
ex
Elixir
clients/notebooks/lib/google_api/notebooks/v1/api/projects.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/notebooks/lib/google_api/notebooks/v1/api/projects.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/notebooks/lib/google_api/notebooks/v1/api/projects.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.894992
802
0.605419
850e628565014dc29cecdba4d619a51a5255d79d
1,079
ex
Elixir
test/support/conn_case.ex
dtzitz/hello_phoenix
0c1560603896f4ad47259f3e825ea4937cc76adb
[ "MIT" ]
null
null
null
test/support/conn_case.ex
dtzitz/hello_phoenix
0c1560603896f4ad47259f3e825ea4937cc76adb
[ "MIT" ]
null
null
null
test/support/conn_case.ex
dtzitz/hello_phoenix
0c1560603896f4ad47259f3e825ea4937cc76adb
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.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 imports other functionality to make it easier to build and query models. Finally, if the test case interacts with t...
25.093023
71
0.709917
850e92a66c876120091672289252882e5a4c574b
55
ex
Elixir
web/views/user_view.ex
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
web/views/user_view.ex
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
web/views/user_view.ex
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
defmodule Pomex.UserView do use Pomex.Web, :view end
13.75
27
0.763636
850e9bb41d59bf2df92da1a9861426fc78677675
2,265
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/distribution_cut.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/distribution_cut.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/distribution_cut.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...
45.3
335
0.756733
850ebc0de1af67ef73e6c21d122923e4de46a073
802
ex
Elixir
lib/news/redis_cache.ex
randomlabs/news
6aa200858bac69613af1de91420c6425f4517853
[ "MIT" ]
3
2015-08-12T20:45:57.000Z
2015-10-26T09:20:10.000Z
lib/news/redis_cache.ex
randomlabs/news
6aa200858bac69613af1de91420c6425f4517853
[ "MIT" ]
15
2015-08-12T16:20:42.000Z
2015-10-12T16:12:15.000Z
lib/news/redis_cache.ex
randomlabs/news
6aa200858bac69613af1de91420c6425f4517853
[ "MIT" ]
1
2015-08-20T17:43:10.000Z
2015-08-20T17:43:10.000Z
defmodule News.RedisCache do @moduledoc "Basic structure cache in Redis" alias Exredis.Api, as: Redis @default_expire 86400 @prefix "news:rcache:" def cached(key, expiry \\ @default_expire, fun) do if value = get(key) do value else set(key, expiry, fun.()) end end def get(key) d...
22.914286
78
0.639651
850ecfca18ef67efbae543e4aac0df2275dcab0a
2,476
ex
Elixir
clients/data_pipelines/lib/google_api/data_pipelines/v1/model/google_cloud_datapipelines_v1_workload.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_pipelines/lib/google_api/data_pipelines/v1/model/google_cloud_datapipelines_v1_workload.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_pipelines/lib/google_api/data_pipelines/v1/model/google_cloud_datapipelines_v1_workload.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...
41.966102
262
0.775848
850ed7964e36e4cf3381c077b2593e41a52fc5a9
1,761
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/collectd_value_error.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/collectd_value_error.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/collectd_value_error.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.22
171
0.738785
850ee32609ae2955c496ee3c2cce47c6e397bcc3
2,727
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/containeranalysis_google_devtools_cloudbuild_v1_artifacts_artifact_objects.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/containeranalysis_google_devtools_cloudbuild_v1_artifacts_artifact_objects.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/containeranalysis_google_devtools_cloudbuild_v1_artifacts_artifact_objects.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.318182
365
0.752842
850ef34730c16ab73b0f1ee93345bc148ccbe174
1,547
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/operation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/operation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/operation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.377778
97
0.744667
850f07a663bb101fd395fffe1b994a21379c6f54
82,218
ex
Elixir
lib/aws/generated/route53.ex
onno-vos-dev/aws-elixir
00f02c2bce689b932948b6a4d603fd44bb5fc0e9
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/route53.ex
onno-vos-dev/aws-elixir
00f02c2bce689b932948b6a4d603fd44bb5fc0e9
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/route53.ex
onno-vos-dev/aws-elixir
00f02c2bce689b932948b6a4d603fd44bb5fc0e9
[ "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.Route53 do @moduledoc """ Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service. """ alias AWS.Client alias AWS.Request def metadata do %AWS.S...
29.638789
206
0.678756
850f52232e46e56534fe44b84f5903b2bb70235b
1,772
ex
Elixir
app/lib/app/topics/topic.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
1
2020-02-10T21:35:17.000Z
2020-02-10T21:35:17.000Z
app/lib/app/topics/topic.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/lib/app/topics/topic.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
null
null
null
defmodule App.Topics.Topic do use Ecto.Schema import Ecto.Changeset schema "topics" do field :allow_ranking, :boolean, default: false field :allow_submission_comments, :boolean, default: false field :allow_submission_voting, :boolean, default: false field :allow_submissions, :boolean, default: fa...
47.891892
313
0.749436
850f57b8725d8bd5f2b66f1d0446ebee6f0cdd36
2,853
exs
Elixir
test/myxql_test.exs
Schultzer/myxql
fbcbcade9a63d310da1847699422ab11f28a9abb
[ "Apache-2.0" ]
null
null
null
test/myxql_test.exs
Schultzer/myxql
fbcbcade9a63d310da1847699422ab11f28a9abb
[ "Apache-2.0" ]
null
null
null
test/myxql_test.exs
Schultzer/myxql
fbcbcade9a63d310da1847699422ab11f28a9abb
[ "Apache-2.0" ]
null
null
null
defmodule MyXQLTest do use ExUnit.Case, async: true @opts [ hostname: "127.0.0.1", port: 8006, username: "root", password: "secret", database: "myxql_test", timeout: 5000 ] describe "connect" do test "connect with no password" do opts = Keyword.merge(@opts, username: "nopassw...
30.031579
96
0.590606
850f6ad5cff84e3ec4fd876e1e3302683b499371
270
exs
Elixir
phoenix0/priv/repo/migrations/20161007131626_create_message.exs
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
phoenix0/priv/repo/migrations/20161007131626_create_message.exs
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
phoenix0/priv/repo/migrations/20161007131626_create_message.exs
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
defmodule Phoenix0.Repo.Migrations.CreateMessage do use Ecto.Migration def change do create table(:messages) do add :title, :string add :receiver, :string add :body, :string add :priority, :integer timestamps() end end end
16.875
51
0.648148
850f7a9e7baf3e0aeda994a8939df4ec8d671427
11,025
ex
Elixir
lib/chat_api/slack.ex
m1ome/papercups
8c9bf5569dc23d7bce3fcc3a8909bf6d05be8985
[ "MIT" ]
null
null
null
lib/chat_api/slack.ex
m1ome/papercups
8c9bf5569dc23d7bce3fcc3a8909bf6d05be8985
[ "MIT" ]
null
null
null
lib/chat_api/slack.ex
m1ome/papercups
8c9bf5569dc23d7bce3fcc3a8909bf6d05be8985
[ "MIT" ]
null
null
null
defmodule ChatApi.Slack do @moduledoc """ A module to handle sending Slack notifications. """ require Logger use Tesla alias ChatApi.{Conversations, SlackAuthorizations, SlackConversationThreads, Users} alias ChatApi.Customers.Customer plug Tesla.Middleware.BaseUrl, "https://slack.com/api" plug T...
27.911392
96
0.608617
850f8650de951a48a239ea97e2d6097553efe58b
2,559
exs
Elixir
test/dark_matter/decimals/variance_test.exs
dark-elixir/dark_matter
3f70edf4220ad1c066489110ef30880a143522fd
[ "Apache-2.0" ]
2
2020-12-01T21:33:44.000Z
2021-05-29T14:51:18.000Z
test/dark_matter/decimals/variance_test.exs
dark-elixir/dark_matter
3f70edf4220ad1c066489110ef30880a143522fd
[ "Apache-2.0" ]
null
null
null
test/dark_matter/decimals/variance_test.exs
dark-elixir/dark_matter
3f70edf4220ad1c066489110ef30880a143522fd
[ "Apache-2.0" ]
2
2020-09-02T14:36:58.000Z
2021-04-22T11:20:43.000Z
defmodule DarkMatter.Decimals.VarianceTest do @moduledoc """ Test for DarkMatter.Decimals.Variance """ use ExUnit.Case, async: true alias DarkMatter.Decimals.Conversion alias DarkMatter.Decimals.Variance @cases %{ variance: [ {[], "0"}, {[25_000], "0"}, {[500, 500, 500], "0"}, ...
32.392405
92
0.624853
850fa3c5b736f8608d16237a6869ae302d4b09bb
5,071
ex
Elixir
lib/nostrum/voice/session.ex
ushitora-anqou/nostrum
93ffcf9ed04380e06e6bffa21a1f51b5193a56d4
[ "MIT" ]
null
null
null
lib/nostrum/voice/session.ex
ushitora-anqou/nostrum
93ffcf9ed04380e06e6bffa21a1f51b5193a56d4
[ "MIT" ]
null
null
null
lib/nostrum/voice/session.ex
ushitora-anqou/nostrum
93ffcf9ed04380e06e6bffa21a1f51b5193a56d4
[ "MIT" ]
null
null
null
defmodule Nostrum.Voice.Session do @moduledoc false alias Nostrum.Cache.{ChannelCache, GuildCache} alias Nostrum.Constants alias Nostrum.Shard.Stage.Producer alias Nostrum.Struct.{VoiceState, VoiceWSState} alias Nostrum.Voice alias Nostrum.Voice.{Event, Payload} require Logger use GenServer @gat...
28.016575
98
0.663774
850faab92ff3a4c68c53108bba60f238fc20cd7b
1,185
ex
Elixir
lib/active/endpoint.ex
Around25/active
8b301532fb79dca368cdabaf1bd7ade315abff99
[ "MIT" ]
null
null
null
lib/active/endpoint.ex
Around25/active
8b301532fb79dca368cdabaf1bd7ade315abff99
[ "MIT" ]
1
2017-03-03T20:32:55.000Z
2017-03-03T20:32:55.000Z
lib/active/endpoint.ex
Around25/active
8b301532fb79dca368cdabaf1bd7ade315abff99
[ "MIT" ]
null
null
null
defmodule Active.Endpoint do use Phoenix.Endpoint, otp_app: :active socket "/socket", Active.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, ...
27.55814
69
0.712236
850fde2bbfde121f205e17c7eaeda209912dc40e
2,179
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/create_line_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/create_line_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/create_line_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 &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...
41.113208
511
0.745296
85104042718d85c053148260db1a278d420088de
8,222
ex
Elixir
lib/listener.ex
asheehan/extreme
abf3412126b89959f356a118737b2805a5d9f121
[ "MIT" ]
null
null
null
lib/listener.ex
asheehan/extreme
abf3412126b89959f356a118737b2805a5d9f121
[ "MIT" ]
null
null
null
lib/listener.ex
asheehan/extreme
abf3412126b89959f356a118737b2805a5d9f121
[ "MIT" ]
null
null
null
defmodule Extreme.Listener do @moduledoc ~S""" Since it is common on read side of system to read events and denormalize them, there is Extreme.Listener macro that hides noise from listener: defmodule MyApp.MyListener do use Extreme.Listener import MyApp.MyProcessor # return...
43.967914
137
0.65641
85105311f01aea46311a4fb88110aaa6e5e68253
2,751
exs
Elixir
config/prod.exs
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
config/prod.exs
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
config/prod.exs
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
34.3875
72
0.721556
8510ba1c544c05b3bb407901a6d78c6d378a6540
1,857
exs
Elixir
clients/custom_search/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/custom_search/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/custom_search/mix.exs
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...
27.716418
104
0.659666
851120b6a98c139a0ae8db86b01469159022d7fb
1,796
ex
Elixir
lib/flexflow/history.ex
clszzyh/flexflow
93df67c41278c2ca89c680dd8badb7a1f9f86cdf
[ "MIT" ]
2
2021-02-05T02:07:17.000Z
2021-07-31T22:38:54.000Z
lib/flexflow/history.ex
clszzyh/flexflow
93df67c41278c2ca89c680dd8badb7a1f9f86cdf
[ "MIT" ]
79
2021-01-14T02:39:36.000Z
2022-03-31T02:06:27.000Z
lib/flexflow/history.ex
clszzyh/flexflow
93df67c41278c2ca89c680dd8badb7a1f9f86cdf
[ "MIT" ]
null
null
null
defmodule Flexflow.History do @moduledoc """ History """ @states [:process_init, :process_loop] @stages [:start, :end] @type state :: unquote(Enum.reduce(@states, &{:|, [], [&1, &2]})) @type stage :: unquote(Enum.reduce(@stages, &{:|, [], [&1, &2]})) @type t :: %__MODULE__{ name: Flexflow.nam...
25.295775
89
0.589087
85115575606f347fc3fcaafc7411c8fb2e4f8dcb
1,179
ex
Elixir
web/channels/user_socket.ex
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
defmodule Login.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", Login.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket, timeout: 45_000 # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to ver...
30.230769
83
0.699746
851196a7e5740234af99ae2440d84d22a4a39287
2,291
ex
Elixir
lib/dsl/helpers.ex
elbow-jason/durango
a31b5636789ef275f19963343eda03d10ebc3ca0
[ "MIT" ]
7
2018-03-04T14:33:46.000Z
2020-10-26T17:32:23.000Z
lib/dsl/helpers.ex
elbow-jason/durango
a31b5636789ef275f19963343eda03d10ebc3ca0
[ "MIT" ]
5
2018-08-01T07:29:02.000Z
2018-12-31T12:59:16.000Z
lib/dsl/helpers.ex
elbow-jason/durango
a31b5636789ef275f19963343eda03d10ebc3ca0
[ "MIT" ]
null
null
null
defmodule Durango.Dsl.Helpers do alias Durango.{ Dsl.DotAccess, # Dsl, Query, } def extract_labels(labels) when is_list(labels) do labels |> Enum.map(&base_name/1) end def extract_labels({:{}, _, args}) when is_list(args) do extract_labels(args) end def extract_labels(labels) do ...
24.902174
94
0.621999
8511c966cc96b27fc58b8e9ee14ce6769a905643
2,650
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/account.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/account.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/account.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.741935
454
0.71283
8511f8d8ae447b6d39578a857aeabc24efec6eae
1,415
ex
Elixir
lib/ex_config/type/string.ex
sega-yarkin/ex_config
bcb160c2414b08a59a5a5253bee0a8fee296cc3e
[ "MIT" ]
null
null
null
lib/ex_config/type/string.ex
sega-yarkin/ex_config
bcb160c2414b08a59a5a5253bee0a8fee296cc3e
[ "MIT" ]
null
null
null
lib/ex_config/type/string.ex
sega-yarkin/ex_config
bcb160c2414b08a59a5a5253bee0a8fee296cc3e
[ "MIT" ]
null
null
null
defmodule ExConfig.Type.String do @moduledoc """ """ use ExConfig.Type @type result() :: String.t() defstruct [] @doc """ Helper to transform Elixir string value to Erlang string. """ @spec to_charlist(ExConfig.Param.t) :: ExConfig.Param.t def to_charlist(%{data: data} = param) when is_binary(data)...
30.76087
90
0.686219
8511fb58003c9529576b005f44a0ed38f1096ba0
4,843
ex
Elixir
q5_train_block4.ex
mrcabo/CompSimLang
3868341836c828fc2e9104c2d133f1db46791142
[ "MIT" ]
1
2019-03-21T18:09:31.000Z
2019-03-21T18:09:31.000Z
q5_train_block4.ex
mrcabo/CompSimLang
3868341836c828fc2e9104c2d133f1db46791142
[ "MIT" ]
null
null
null
q5_train_block4.ex
mrcabo/CompSimLang
3868341836c828fc2e9104c2d133f1db46791142
[ "MIT" ]
null
null
null
name: {0_4} 2 I: { 1} 2 T: { 1} 23 I: { 1} 23 T: { 1} 29 ; name: {1_4} 2 I: { 1} 0 T: { 1} 22 I: { 1} 22 T: { 1} 27 ; name: {2_4} 2 I: { 1} 2 T: { 1} 12 I: { 1} 12 T: { 1} 29 ; name: {3_4} 2 I: { 1} 0 T: { 1} 7 I: { 1} 7 T: { 1} 27 ; name: {4_4} 2 I: { 1} 1 T: { 1} 11 I: { 1} 11 T:...
11.210648
14
0.346066
85120fcfa84f74ab7d32401fea332e848a2ebf26
206
ex
Elixir
lib/console_web/views/router/gateway_view.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
lib/console_web/views/router/gateway_view.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
1
2021-04-03T09:29:31.000Z
2021-04-03T09:29:31.000Z
lib/console_web/views/router/gateway_view.ex
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.Router.GatewayView do use ConsoleWeb, :view def render("gateway_register.json", %{tx: tx, signature: signature}) do %{ tx: tx, signature: signature } end end
18.727273
73
0.660194
8512208c5b8b4b6351b795d1797e32a5db747930
79
exs
Elixir
test/ed25519_blake2b_test.exs
brunoripa/ed25519_blake2b
407fb81055079c7bfa8efc244fac9a69145639c6
[ "MIT" ]
null
null
null
test/ed25519_blake2b_test.exs
brunoripa/ed25519_blake2b
407fb81055079c7bfa8efc244fac9a69145639c6
[ "MIT" ]
null
null
null
test/ed25519_blake2b_test.exs
brunoripa/ed25519_blake2b
407fb81055079c7bfa8efc244fac9a69145639c6
[ "MIT" ]
1
2022-01-25T20:01:54.000Z
2022-01-25T20:01:54.000Z
defmodule Ed25519Blake2bTest do use ExUnit.Case doctest Ed25519Blake2b end
15.8
31
0.835443
85122621bcf6ec18b7993743701e9549a5079dc6
1,106
ex
Elixir
test/support/conn_case.ex
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
4
2019-04-06T15:36:48.000Z
2019-10-20T05:55:10.000Z
test/support/conn_case.ex
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
khamada611/ble_live_sample
058fa90048e5ef474f9185d370e7e3202e649041
[ "Apache-2.0" ]
1
2021-05-04T10:59:57.000Z
2021-05-04T10:59:57.000Z
defmodule BleLiveSampleWeb.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,...
29.105263
67
0.74141
851251976fb02fe74c54aa2880dcf820f473399c
1,393
ex
Elixir
test/support/data_case.ex
erplsf/mindstuff
4f5c4635947225869674f5714a9ae7da216654b4
[ "MIT" ]
null
null
null
test/support/data_case.ex
erplsf/mindstuff
4f5c4635947225869674f5714a9ae7da216654b4
[ "MIT" ]
null
null
null
test/support/data_case.ex
erplsf/mindstuff
4f5c4635947225869674f5714a9ae7da216654b4
[ "MIT" ]
null
null
null
defmodule Mindstuff.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 te...
25.796296
77
0.681981
85125cba5e5912592aec4be5a95c91fb34701b76
1,367
ex
Elixir
lib/cfxxl/dname.ex
bettio/cfxxl
c9aed7a1006bc2d41599a06fd96ab52f21333bdb
[ "MIT" ]
null
null
null
lib/cfxxl/dname.ex
bettio/cfxxl
c9aed7a1006bc2d41599a06fd96ab52f21333bdb
[ "MIT" ]
null
null
null
lib/cfxxl/dname.ex
bettio/cfxxl
c9aed7a1006bc2d41599a06fd96ab52f21333bdb
[ "MIT" ]
null
null
null
# Copyright (c) 2017 Ispirata Srl # 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 limitation the rights to use, # copy, modify, merge, publish, distr...
29.085106
67
0.677396
851275ce8a568a1a74fb17a719924bcde7165761
2,197
ex
Elixir
lib/phoenix/live_dashboard/info/app_info_component.ex
uumo/phoenix_live_dashboard
cd07929341d9dca0f85b58c624c62d63cf7c2f07
[ "MIT" ]
2
2020-05-06T14:51:56.000Z
2020-05-06T14:52:21.000Z
lib/phoenix/live_dashboard/info/app_info_component.ex
uumo/phoenix_live_dashboard
cd07929341d9dca0f85b58c624c62d63cf7c2f07
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
lib/phoenix/live_dashboard/info/app_info_component.ex
uumo/phoenix_live_dashboard
cd07929341d9dca0f85b58c624c62d63cf7c2f07
[ "MIT" ]
1
2020-05-16T22:44:14.000Z
2020-05-16T22:44:14.000Z
defmodule Phoenix.LiveDashboard.AppInfoComponent do use Phoenix.LiveDashboard.Web, :live_component alias Phoenix.LiveDashboard.{SystemInfo, ReingoldTilford} @impl true def render(assigns) do ~L""" <div class="app-info"> <%= if @alive do %> <svg width="<%= @width %>" height="<%= @height %...
36.616667
132
0.565772
8512b6cf604569544e76be258e6be4dd633f4ef0
732
ex
Elixir
lib/pixie/client_supervisor.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/client_supervisor.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/client_supervisor.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
defmodule Pixie.ClientSupervisor do use Supervisor def start_link do Supervisor.start_link __MODULE__, [], name: __MODULE__ end def init [] do supervise([worker(Pixie.Client, [], restart: :transient)], strategy: :simple_one_for_one) end def start_child client_id do Supervisor.start_child __MO...
21.529412
93
0.631148
8512cc1ad9600cb25980513e7151c4dea0eba647
2,455
exs
Elixir
test/platform_web/controllers/slide_controller_test.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
17
2017-11-14T14:03:18.000Z
2021-12-10T04:18:48.000Z
test/platform_web/controllers/slide_controller_test.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
21
2017-11-19T13:38:07.000Z
2022-02-10T00:11:14.000Z
test/platform_web/controllers/slide_controller_test.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
2
2019-09-03T03:32:13.000Z
2021-02-23T21:52:57.000Z
defmodule PlatformWeb.SlideControllerTest do use PlatformWeb.ConnCase import Mox alias VideoConverter.TestAdapter @update_attrs %{complete_percent: 55} @invalid_attrs %{complete_percent: 999} setup :set_current_user_as_admin setup :create_lesson describe "#show" do setup :create_slide test ...
31.474359
103
0.684318
8512cc5503603ebf8903b162bd2bde72d9d085a5
779
exs
Elixir
mix.exs
NarrativeApp/extripe
fc0c475e79fbf925c673ac4a67c27814c92839b6
[ "MIT" ]
null
null
null
mix.exs
NarrativeApp/extripe
fc0c475e79fbf925c673ac4a67c27814c92839b6
[ "MIT" ]
null
null
null
mix.exs
NarrativeApp/extripe
fc0c475e79fbf925c673ac4a67c27814c92839b6
[ "MIT" ]
null
null
null
defmodule Extripe.Mixfile do use Mix.Project def project do [ app: :extripe, version: "1.2.4", elixir: "~> 1.3", description: description(), package: package(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps() ] end d...
20.5
93
0.545571
8512fb55ace1a423760a2185e4dff481512035a8
605
exs
Elixir
config/.credo.exs
KazuCocoa/web_qa
cd0074e950ef354eeafb7d48db685c82d653cc60
[ "MIT" ]
null
null
null
config/.credo.exs
KazuCocoa/web_qa
cd0074e950ef354eeafb7d48db685c82d653cc60
[ "MIT" ]
null
null
null
config/.credo.exs
KazuCocoa/web_qa
cd0074e950ef354eeafb7d48db685c82d653cc60
[ "MIT" ]
null
null
null
%{ configs: [ %{ name: "default", files: %{ included: ["lib/", "src/", "web/", "apps/", "test/"], excluded: ["test/support", "test/test_helper.exs"] }, checks: [ {Credo.Check.Consistency.TabsOrSpaces}, # For some checks, like AliasUsage, you can only custom...
27.5
81
0.568595
8512ff2c4b16a5dd0c0efd75da9b95acb62b2474
4,252
ex
Elixir
lib/teiserver/servers/telemetry_server.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/teiserver/servers/telemetry_server.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/servers/telemetry_server.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Telemetry.TelemetryServer do use GenServer alias Teiserver.Battle.Lobby alias Teiserver.Client require Logger alias Phoenix.PubSub @client_states ~w(lobby menu player spectator total)a @tick_period 9_000 @counters ~w(matches_started matches_stopped)a @default_state %{ counters...
26.911392
97
0.60889
851303a3307e50c0e0c260bed93ac9425794dbf8
2,980
ex
Elixir
server/lib/echoppe_web/controllers/v1/user_controller.ex
d-exclaimation/echoppe
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-05-13T00:53:52.000Z
2021-05-13T00:53:52.000Z
server/lib/echoppe_web/controllers/v1/user_controller.ex
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-06-02T19:18:10.000Z
2021-06-07T16:44:36.000Z
server/lib/echoppe_web/controllers/v1/user_controller.ex
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
null
null
null
# # user_controller.ex # echoppe # # Created by d-exclaimation on 08:12. # defmodule EchoppeWeb.V1.UserController do @moduledoc """ User controller """ use EchoppeWeb, :controller alias Echoppe.{Repo, User, UserQueries, UserMutations} @doc """ Sign up a new account TODO: Add rate-limiting or lim...
24.42623
81
0.57349
851304fca21d47936ade06e40c9cf5fac191e6f4
1,991
exs
Elixir
mix.exs
Phybbit/coherence
d3c21b695c5945e3bb6bb3e12d0f49957dbe8f13
[ "MIT" ]
null
null
null
mix.exs
Phybbit/coherence
d3c21b695c5945e3bb6bb3e12d0f49957dbe8f13
[ "MIT" ]
null
null
null
mix.exs
Phybbit/coherence
d3c21b695c5945e3bb6bb3e12d0f49957dbe8f13
[ "MIT" ]
null
null
null
defmodule Coherence.Mixfile do use Mix.Project @version "0.6.0" def project do [ app: :coherence, version: @version, elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), build_embedded: Mix.env() == :prod, st...
24.8875
90
0.505776
8513396145b988c81e733e4d0854158ca208251f
5,073
ex
Elixir
lib/guilda_web/live/episode_live/form_component.ex
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
null
null
null
lib/guilda_web/live/episode_live/form_component.ex
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
null
null
null
lib/guilda_web/live/episode_live/form_component.ex
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
null
null
null
defmodule GuildaWeb.Podcasts.PodcastEpisodeLive.FormComponent do @moduledoc """ LiveView Component to display a form for a podcast episode. """ use GuildaWeb, :live_component alias Guilda.Podcasts @impl Phoenix.LiveComponent def mount(socket) do {:ok, socket |> allow_upload(:cover, accept:...
28.988571
108
0.628228
851340470bb2a44331a6ea808b4430986a1938f7
242
exs
Elixir
priv/templates/zwave.gen/command_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
priv/templates/zwave.gen/command_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
priv/templates/zwave.gen/command_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule <%= inspect command_module %>Test do use ExUnit.Case, async: true alias <%= inspect command_module %> test "creates the command and validates params" test "encodes params correctly" test "decodes params correctly" end
20.166667
49
0.735537
851357c046917a9832adf45640f5069f8579ff48
1,268
exs
Elixir
create_fun_umbrella/apps/create_fun_web/config/config.exs
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
null
null
null
create_fun_umbrella/apps/create_fun_web/config/config.exs
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
9
2018-06-17T09:54:03.000Z
2018-06-17T09:55:20.000Z
create_fun_umbrella/apps/create_fun_web/config/config.exs
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
1
2018-06-05T18:38:01.000Z
2018-06-05T18:38:01.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :create_fun_web, namespace: CreateFunWeb...
32.512821
68
0.798107
8513641785fe7316e641b31c50a8917c5c50c1d1
2,135
ex
Elixir
lib/hcaptcha.ex
hectorperez/hcaptcha
fac3123a36365bc24dd53626937cd677d9421a7a
[ "MIT" ]
3
2020-05-24T00:15:26.000Z
2021-08-05T14:15:30.000Z
lib/hcaptcha.ex
hectorperez/hcaptcha
fac3123a36365bc24dd53626937cd677d9421a7a
[ "MIT" ]
null
null
null
lib/hcaptcha.ex
hectorperez/hcaptcha
fac3123a36365bc24dd53626937cd677d9421a7a
[ "MIT" ]
3
2021-03-17T19:23:01.000Z
2021-08-05T14:51:07.000Z
defmodule Hcaptcha do @moduledoc """ A module for verifying hCAPTCHA version 2.0 response strings. See the [documentation](https://developers.google.com/hcaptcha/docs/verify) for more details. """ alias Hcaptcha.{Config, Http, Response} @http_client Application.get_env(:hcaptcha, :http_client, Ht...
29.652778
83
0.640281
85138b2a743b74d8897345aee62453983aded208
979
ex
Elixir
lib/ex_gpgme/results/import_result.ex
jshmrtn/ex-gpgme
0a465254d24d192c2311acf640258fe016b9195a
[ "MIT" ]
3
2017-11-30T16:47:13.000Z
2019-02-20T20:43:05.000Z
lib/ex_gpgme/results/import_result.ex
jshmrtn/ex-gpgme
0a465254d24d192c2311acf640258fe016b9195a
[ "MIT" ]
1
2020-07-08T18:33:26.000Z
2020-07-08T18:47:09.000Z
lib/ex_gpgme/results/import_result.ex
jshmrtn/ex-gpgme
0a465254d24d192c2311acf640258fe016b9195a
[ "MIT" ]
2
2018-12-31T02:03:38.000Z
2020-07-08T17:45:14.000Z
defmodule ExGpgme.Results.ImportResult do @moduledoc """ Result struct for any imports. """ alias ExGpgme.Results.Import @type t :: %__MODULE__{ considered: non_neg_integer, without_user_id: non_neg_integer, imported: non_neg_integer, imported_rsa: non_neg_integer, unchanged: non_neg_int...
22.767442
41
0.713994
85138ef34a8dfe9dc467ee38ef64649a761a9c19
2,230
ex
Elixir
lib/pipe/list.ex
pminten/elixir_pipes
929fac768b7652bfcfef931b19931f54d7f169a6
[ "Apache-2.0" ]
3
2015-01-08T15:30:43.000Z
2019-09-30T11:12:48.000Z
lib/pipe/list.ex
pminten/elixir_pipes
929fac768b7652bfcfef931b19931f54d7f169a6
[ "Apache-2.0" ]
null
null
null
lib/pipe/list.ex
pminten/elixir_pipes
929fac768b7652bfcfef931b19931f54d7f169a6
[ "Apache-2.0" ]
null
null
null
defmodule Pipe.List do @moduledoc """ Pipes which act in a list-like (or stream-like) manner. """ require Pipe, as: P ## Sources @doc """ Yield all elements of the list. """ def source_list(list) def source_list([]) do P.source do P.return nil end end def source_list([h|t]) do ...
18.278689
80
0.50852
851390827c91e998ad2f00005c59caeebc7558fc
344
exs
Elixir
priv/repo/migrations/20170609220213_create_blogs_log.exs
myobie/post_register
924a832d7fa1693d655c34b0295affa8b3275f26
[ "MIT" ]
null
null
null
priv/repo/migrations/20170609220213_create_blogs_log.exs
myobie/post_register
924a832d7fa1693d655c34b0295affa8b3275f26
[ "MIT" ]
null
null
null
priv/repo/migrations/20170609220213_create_blogs_log.exs
myobie/post_register
924a832d7fa1693d655c34b0295affa8b3275f26
[ "MIT" ]
null
null
null
defmodule PostRegister.Repo.Migrations.CreatePostRegister.Blogs.Log do use Ecto.Migration def change do create table(:logs) do add :name, :string, null: false add :email_address, :string, null: false add :from_email_addresses, {:array, :string} timestamps() end index :logs, [:e...
22.933333
70
0.68314
8513a7f098d4d17ec57d42598b1db66a073553a3
6,844
exs
Elixir
apps/local_ledger_db/test/local_ledger_db/wallet_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/local_ledger_db/test/local_ledger_db/wallet_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/local_ledger_db/test/local_ledger_db/wallet_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule LocalLedgerDB.WalletTest do use ExUnit.Case import LocalLedgerDB.Factory alias Ecto.Adapters.SQL alias Ecto.Adapters.SQL.Sandbox alias LocalLedgerDB.{Repo, Wallet} setup do :ok = Sandbox.checkout(Repo) end describe "initialization" do test "generates a UUID" do {res, wallet} = ...
27.266932
89
0.577878
8513bd667181963d865d01c7566576b73fc74f34
2,266
ex
Elixir
apps/glayu_core/lib/glayu/permalink.ex
pmartinezalvarez/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
51
2017-05-21T07:27:34.000Z
2017-11-30T04:34:17.000Z
apps/glayu_core/lib/glayu/permalink.ex
doc22940/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
17
2017-06-14T18:40:44.000Z
2017-08-20T16:14:58.000Z
apps/glayu_core/lib/glayu/permalink.ex
doc22940/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
5
2017-06-04T19:55:56.000Z
2017-07-29T16:18:58.000Z
defmodule Glayu.Permalink do def from_context(doc_context) do from_context(doc_context[:type], doc_context) end defp from_context(:draft, doc_context) do from_context(:post, doc_context) end defp from_context(:post, doc_context) do pattern = to_string Glayu.Config.get('permalink') extract_p...
23.852632
101
0.65534
8513bfd1795c085da011130aa60da9c3a2de8e28
355
ex
Elixir
lib/elixir_search_extractor/file_upload/csv_parser.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
lib/elixir_search_extractor/file_upload/csv_parser.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
32
2021-05-24T06:52:33.000Z
2021-07-19T05:04:40.000Z
lib/elixir_search_extractor/file_upload/csv_parser.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
defmodule ElixirSearchExtractor.FileUpload.CsvParser do import Ecto.Query, warn: false alias NimbleCSV.RFC4180, as: CSV def parse(keyword_file) do keyword_list = keyword_file.csv_file |> File.stream!() |> CSV.parse_stream(skip_headers: false) |> Enum.to_list() |> List.flatten() ...
22.1875
55
0.673239
8513efb3d8256368a4a91ac91d654f21a37a8ec7
90
exs
Elixir
test/live_dendron_web/views/layout_view_test.exs
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
5
2019-07-27T14:57:38.000Z
2020-11-01T00:26:32.000Z
test/live_dendron_web/views/layout_view_test.exs
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
6
2019-07-29T03:45:23.000Z
2021-05-10T03:49:39.000Z
test/live_dendron_web/views/layout_view_test.exs
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
2
2019-07-29T02:17:02.000Z
2020-02-17T17:59:05.000Z
defmodule LiveDendronWeb.LayoutViewTest do use LiveDendronWeb.ConnCase, async: true end
22.5
42
0.844444
85142d7a38f7ac26a1a15d6d5a8ceb8faba42a36
10,368
exs
Elixir
apps/site/test/site_web/controllers/schedule/green_test.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/test/site_web/controllers/schedule/green_test.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/test/site_web/controllers/schedule/green_test.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
defmodule SiteWeb.ScheduleController.GreenTest do use SiteWeb.ConnCase, async: true import SiteWeb.ScheduleController.Green @moduletag :external @routes_repo_api Application.get_env(:routes, :routes_repo_api) @green_line @routes_repo_api.green_line() describe "schedule_path/3" do test "renders line...
32.706625
101
0.57311
85144cc6e2c8de5257b72836a6f9d42d621d6a36
1,729
exs
Elixir
test/locations/schema/location_test.exs
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
14
2020-09-16T14:10:35.000Z
2021-10-30T22:05:48.000Z
test/locations/schema/location_test.exs
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
null
null
null
test/locations/schema/location_test.exs
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
null
null
null
defmodule Locations.Schema.LocationTest do use ExUnit.Case import Locations.Factories import Locations.AssertHelpers alias Locations.Schema.Location @all_keys [:addr1, :addr2, :city, :county, :postcode, :country] @required_keys [:addr1, :city, :postcode, :country] # @optional_keys [:addr2, :county] @...
23.684932
65
0.642568
851451586f9da4d00a8ce9ed8b519ef7d5e2590a
86
exs
Elixir
test/servantex_web/views/layout_view_test.exs
alisinabh/servantex
03bd4b7c1c47fc926a37b52670394f827c2d97ad
[ "Apache-2.0" ]
null
null
null
test/servantex_web/views/layout_view_test.exs
alisinabh/servantex
03bd4b7c1c47fc926a37b52670394f827c2d97ad
[ "Apache-2.0" ]
null
null
null
test/servantex_web/views/layout_view_test.exs
alisinabh/servantex
03bd4b7c1c47fc926a37b52670394f827c2d97ad
[ "Apache-2.0" ]
null
null
null
defmodule ServantexWeb.LayoutViewTest do use ServantexWeb.ConnCase, async: true end
21.5
40
0.837209
85147aeca3c664803a548ecf196a4b62729c852e
167
exs
Elixir
.formatter.exs
dark-elixir/dark_dev
496681639161cff1f6e17c87bf924ab38846ea05
[ "Apache-2.0" ]
null
null
null
.formatter.exs
dark-elixir/dark_dev
496681639161cff1f6e17c87bf924ab38846ea05
[ "Apache-2.0" ]
null
null
null
.formatter.exs
dark-elixir/dark_dev
496681639161cff1f6e17c87bf924ab38846ea05
[ "Apache-2.0" ]
null
null
null
[ import_deps: [], inputs: [ "*.{ex,exs}", "{config,lib,test}/**/*.{ex,exs}", ".sobelow-conf" ], subdirectories: [], locals_without_parens: [] ]
15.181818
38
0.51497
85147eb1a3f9f0a151fd883dd7403fddac3e835d
4,239
ex
Elixir
apps/resource_manager/lib/identities/schemas/client_application.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/resource_manager/lib/identities/schemas/client_application.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/resource_manager/lib/identities/schemas/client_application.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule ResourceManager.Identities.Schemas.ClientApplication do @moduledoc """ The application is a resource and a subject that makes requests through the systems. We do not save application private keys, only the public one. """ use ResourceManager.Schema import Ecto.Changeset alias ResourceManager...
37.184211
105
0.703704
8514ada975706b66e075d9992895809a722d1988
5,587
ex
Elixir
apps/ewallet_db/lib/ewallet_db/exchange_pair.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/lib/ewallet_db/exchange_pair.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/lib/ewallet_db/exchange_pair.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletDB.ExchangePair do @moduledoc """ Ecto Schema representing an exchange pair. # What is an exchange rate? The exchange rate is the amount of the destination token (`to_token`) that will be received when exchanged with one unit of the source token (`from_token`). For example: ``` %EWa...
26.990338
93
0.655987
8514b83d04ad969d03e6cae0e2e8a7a0b52a02b5
615
exs
Elixir
test/variants/trivial_test.exs
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
test/variants/trivial_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
test/variants/trivial_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule Variants.TrivialTest do use EctoTestDSL.Case use T.Predefines alias T.Nouns.AsCast defmodule Examples do use Template.Trivial end describe "start" do @minimal_start [ api_module: Api, ] test "adds steps, workflows, etc." do expected = %{format: :raw, ...
19.83871
55
0.565854
8514c090bf0ed41c8cbd0ca08b2ea72dbecc3a96
13,979
exs
Elixir
test/catalog_api_test.exs
mbramson/catalog_api
b7d1351196829b0bd58f4346610609da3cb5756c
[ "MIT" ]
2
2018-03-03T18:23:07.000Z
2018-05-03T00:36:02.000Z
test/catalog_api_test.exs
mbramson/catalog_api
b7d1351196829b0bd58f4346610609da3cb5756c
[ "MIT" ]
1
2018-03-04T17:55:11.000Z
2018-03-04T17:55:11.000Z
test/catalog_api_test.exs
mbramson/catalog_api
b7d1351196829b0bd58f4346610609da3cb5756c
[ "MIT" ]
null
null
null
defmodule CatalogApiTest do use ExUnit.Case, async: false import Mock alias CatalogApi.Address alias CatalogApi.CartItem alias CatalogApi.Category alias CatalogApi.Fault alias CatalogApi.Fixture alias CatalogApi.FixtureHelper alias CatalogApi.Item alias CatalogApi.Order @response_headers [ ...
38.938719
145
0.665355
8514c553598c9156f97a9e42c7b52edb87e3781e
568
exs
Elixir
mix.exs
sbacarob/codex
b6876e90106129d2e02e77a73c4b0383cea3cf17
[ "MIT" ]
null
null
null
mix.exs
sbacarob/codex
b6876e90106129d2e02e77a73c4b0383cea3cf17
[ "MIT" ]
1
2020-09-16T22:00:09.000Z
2020-10-28T03:58:01.000Z
mix.exs
sbacarob/codex
b6876e90106129d2e02e77a73c4b0383cea3cf17
[ "MIT" ]
null
null
null
defmodule Codex.MixProject do use Mix.Project def project do [ app: :codex, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
18.322581
59
0.52993
8514c64a8bf6b4e0b129047402b0fc4279a43ed3
149
ex
Elixir
debian/gerber-to-svg.cron.d.ex
MacroFab/gerber-to-svg
213253e0eb0dfd44c224953593203766e0c46ccb
[ "MIT" ]
5
2016-04-20T11:12:56.000Z
2018-01-15T09:50:45.000Z
debian/gerber-to-svg.cron.d.ex
MacroFab/gerber-to-svg
213253e0eb0dfd44c224953593203766e0c46ccb
[ "MIT" ]
null
null
null
debian/gerber-to-svg.cron.d.ex
MacroFab/gerber-to-svg
213253e0eb0dfd44c224953593203766e0c46ccb
[ "MIT" ]
1
2017-02-27T17:36:52.000Z
2017-02-27T17:36:52.000Z
# # Regular cron jobs for the gerber-to-svg package # 0 4 * * * root [ -x /usr/bin/gerber-to-svg_maintenance ] && /usr/bin/gerber-to-svg_maintenance
29.8
94
0.697987
8514d1f2c1c28984ad0b85dd37bdd3091abad786
1,826
ex
Elixir
test/support/model_case.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
1
2017-02-06T23:13:04.000Z
2017-02-06T23:13:04.000Z
test/support/model_case.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
null
null
null
test/support/model_case.ex
bessey/phoenix-absinthe-graphiql
1e7cec10ac0b7de6b513ef47cea9ee71d84323b9
[ "MIT" ]
null
null
null
defmodule AbsintheReact.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async...
27.666667
84
0.691128
8514d26951634488b4220529ef0c5b7037e12904
1,427
ex
Elixir
lib/exop_data/generators/uuid.ex
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
9
2019-01-30T17:48:54.000Z
2021-01-25T14:48:21.000Z
lib/exop_data/generators/uuid.ex
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
4
2018-11-07T09:15:29.000Z
2018-11-14T14:58:36.000Z
lib/exop_data/generators/uuid.ex
madeinussr/exop_props
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
1
2018-11-06T12:14:16.000Z
2018-11-06T12:14:16.000Z
defmodule ExopData.Generators.Uuid do @moduledoc """ Implements ExopData generators behaviour for `uuid` parameter type. """ @behaviour ExopData.Generator def generate(_opts \\ %{}, _props_opts \\ %{}) do StreamData.byte() |> StreamData.list_of(length: 16) |> StreamData.map(fn x -> <<u0::4...
29.122449
97
0.480028
8514f5987e9c9b0442b5504de78792467d2686c1
301
exs
Elixir
test/fixtures/package/nerves.exs
opencollective/nerves
81f5d30de283e77f3720a87fa1435619f0da12de
[ "Apache-2.0" ]
1
2019-06-12T17:34:10.000Z
2019-06-12T17:34:10.000Z
test/fixtures/package/nerves.exs
opencollective/nerves
81f5d30de283e77f3720a87fa1435619f0da12de
[ "Apache-2.0" ]
null
null
null
test/fixtures/package/nerves.exs
opencollective/nerves
81f5d30de283e77f3720a87fa1435619f0da12de
[ "Apache-2.0" ]
null
null
null
use Mix.Config version = Path.join(__DIR__, "VERSION") |> File.read! |> String.trim config :package, :nerves_env, type: :package, version: version, platform: Nerves.System.BR, platform_config: [ defconfig: "nerves_defconfig", package_files: [ "linux_defconfig" ] ]
16.722222
34
0.654485
8514f7b8c79dd4f401c6360bf8e591a6e3e486ae
475
ex
Elixir
lib/line.ex
International/git_diff
53ad11695eefad9910ce91dff25d0133adfd3bd8
[ "MIT" ]
null
null
null
lib/line.ex
International/git_diff
53ad11695eefad9910ce91dff25d0133adfd3bd8
[ "MIT" ]
null
null
null
lib/line.ex
International/git_diff
53ad11695eefad9910ce91dff25d0133adfd3bd8
[ "MIT" ]
null
null
null
defmodule GitDiff.Line do @moduledoc """ Every chunk contains multiple lines, which can be context, added, or removed lines. """ @doc """ Defines the Line struct. * :from_line_number - The line number preimage. * :to_line_number - The line number postimages. * :text - The text of this line. * :t...
31.666667
85
0.688421
851509d2d31fbbbb7c436fba7ffe40aa36f59974
1,353
ex
Elixir
lib/muse_web/endpoint.ex
jobsonita/rocketseat-yt-cd-108-elixir
1f98172932f763d5cfb61ad0752e12db9ca6651c
[ "MIT" ]
null
null
null
lib/muse_web/endpoint.ex
jobsonita/rocketseat-yt-cd-108-elixir
1f98172932f763d5cfb61ad0752e12db9ca6651c
[ "MIT" ]
null
null
null
lib/muse_web/endpoint.ex
jobsonita/rocketseat-yt-cd-108-elixir
1f98172932f763d5cfb61ad0752e12db9ca6651c
[ "MIT" ]
null
null
null
defmodule MuseWeb.Endpoint do use Phoenix.Endpoint, otp_app: :muse # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_muse_key", ...
28.1875
97
0.711752
851512848686ed1b6fcdc57ca2c1ea7baa61040d
3,064
ex
Elixir
core/sup_tree_core/tmpdir_tracker.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
core/sup_tree_core/tmpdir_tracker.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
core/sup_tree_core/tmpdir_tracker.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.TmpdirTracker do @moduledoc """ A GenServer that keeps track of user pids of temporary directories. Temporary directories are created via calls to `Antikythera.Tmpdir.make/2`. This GenServer communicates with t...
27.357143
134
0.655352
85152062827594715a8217e6a46906a8ee58ad1b
2,333
exs
Elixir
test/lib/recorder_test.exs
cdale77/bart_scrape
8696b303f1111a29cfdbea80f15823da3ea5747d
[ "MIT" ]
null
null
null
test/lib/recorder_test.exs
cdale77/bart_scrape
8696b303f1111a29cfdbea80f15823da3ea5747d
[ "MIT" ]
null
null
null
test/lib/recorder_test.exs
cdale77/bart_scrape
8696b303f1111a29cfdbea80f15823da3ea5747d
[ "MIT" ]
null
null
null
defmodule BartScrape.RecorderTest do use BartScrape.ModelCase alias BartScrape.{Repo, Recorder, DelayRecord} @delays [ %{ "@id" => "159007", "description" => %{ "#cdata-section" => "BART is recovering from an earlier problem." }, "expi...
32.859155
77
0.575654
8515217a99a0253a3d6471fe6c67d9f170c0dd81
2,505
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/licenses_list_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/licenses_list_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/licenses_list_response.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...
41.75
381
0.738523
85153a3bc2ba34913fad90abb2be5827ef96c84c
1,013
exs
Elixir
test/corex_web/features/authenticating_test.exs
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/corex_web/features/authenticating_test.exs
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/corex_web/features/authenticating_test.exs
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
defmodule CorexWeb.AuthenticatingTest do use Corex.FeatureCase, async: false alias Corex.Accounts alias Corex.Test.Mom alias CorexWeb.Test.Pages test "signing in", %{session: session} do Mom.user_attrs("new-user") |> Accounts.create_user() session |> Pages.Home.visit() |> Pages.Nav.click_lo...
31.65625
92
0.688055
85157052de819293f65db1d22d756c6e7485531c
733
ex
Elixir
lib/asciinema_web/controllers/page_controller.ex
zubairshokh/asciinema-server
b882f285a84054e94e70def8f9777cc2fc3551b1
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/page_controller.ex
zubairshokh/asciinema-server
b882f285a84054e94e70def8f9777cc2fc3551b1
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/page_controller.ex
zubairshokh/asciinema-server
b882f285a84054e94e70def8f9777cc2fc3551b1
[ "Apache-2.0" ]
null
null
null
defmodule AsciinemaWeb.PageController do use AsciinemaWeb, :controller plug(:put_layout, :app2) def about(conn, _params) do conn |> assign(:page_title, "About") |> render("about.html") end def privacy(conn, _params) do conn |> assign(:page_title, "Privacy Policy") |> render("privacy...
19.810811
46
0.638472
8515872f0ca5fd40e80e5cd5baf8c2b69e694712
1,946
exs
Elixir
test/ecto_vista_test.exs
flowerett/ecto_vista
5fc40366e7b7bdf251cf5613235bc951bd2c9fdd
[ "Apache-2.0" ]
9
2019-02-01T12:14:09.000Z
2021-12-17T14:06:09.000Z
test/ecto_vista_test.exs
flowerett/ecto_vista
5fc40366e7b7bdf251cf5613235bc951bd2c9fdd
[ "Apache-2.0" ]
1
2020-11-14T19:57:06.000Z
2021-12-15T01:28:26.000Z
test/ecto_vista_test.exs
flowerett/ecto_vista
5fc40366e7b7bdf251cf5613235bc951bd2c9fdd
[ "Apache-2.0" ]
1
2020-11-14T13:18:12.000Z
2020-11-14T13:18:12.000Z
defmodule EctoVistaTest do use ExUnit.Case, async: true alias Ecto.Adapters.SQL.Sandbox alias Ecto.Integration.TestRepo defmodule Category do use Ecto.Schema import Ecto.Changeset schema "categories" do field(:name, :string) end def changeset(struct, params \\ %{}) do struct ...
20.061856
77
0.619733
851595bf0f9c85b85ccc71dd90cbe5c86443509e
8,593
ex
Elixir
lib/bitpay/webclient.ex
bitpay/elixir-client
cccf8abbad5da7ad3d01d186bd14bf69eca68770
[ "MIT" ]
35
2015-01-18T02:16:11.000Z
2021-11-14T01:55:34.000Z
lib/bitpay/webclient.ex
philosodad/bitpay-elixir
cccf8abbad5da7ad3d01d186bd14bf69eca68770
[ "MIT" ]
3
2015-06-24T15:18:57.000Z
2017-05-17T17:52:05.000Z
lib/bitpay/webclient.ex
bitpay/elixir-client
cccf8abbad5da7ad3d01d186bd14bf69eca68770
[ "MIT" ]
13
2015-01-16T21:11:22.000Z
2021-10-29T23:23:59.000Z
defmodule BitPay.WebClient do @moduledoc """ Convenience methods for the BitPay REST API. """ require IEx alias BitPay.KeyUtils, as: KeyUtils @doc """ The module struct contains two fields: - uri: the api uri, which defaults to https://bitpay.com - pem: a pem file containing the public and privat...
36.565957
138
0.679856
85159ad424a54f82a8ba324ec42c056333f446ac
1,302
ex
Elixir
bullion/lib/bullion_web/endpoint.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
bullion/lib/bullion_web/endpoint.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
8
2021-03-10T20:53:42.000Z
2021-07-30T06:52:16.000Z
bullion/lib/bullion_web/endpoint.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
defmodule BullionWeb.Endpoint do use Phoenix.Endpoint, otp_app: :bullion socket "/socket", BullionWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your stati...
27.702128
69
0.710445
8515b257d1ba833edf109c4757e47598b729c735
186
exs
Elixir
config/config.exs
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
config/config.exs
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
config/config.exs
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
use Mix.Config # Enable code reloading as we need it for tests. config :phoenix, :code_reloader, true # Disable colors during tests. config :logger, :console, colors: [enabled: false]
23.25
50
0.752688
8515d3a6576ccb282a0a67d5218e2bb80e7cc0f1
69
exs
Elixir
test/fxnk/list_test.exs
matthewsecrist/fxnk
3f489f6069ba09b959bb3e8f22c7b9f1fa1d5e45
[ "MIT" ]
2
2020-10-16T19:05:07.000Z
2020-12-30T19:59:40.000Z
test/fxnk/list_test.exs
matthewsecrist/fxnk
3f489f6069ba09b959bb3e8f22c7b9f1fa1d5e45
[ "MIT" ]
1
2020-10-16T19:09:55.000Z
2020-10-16T21:31:30.000Z
test/fxnk/list_test.exs
matthewsecrist/fxnk
3f489f6069ba09b959bb3e8f22c7b9f1fa1d5e45
[ "MIT" ]
null
null
null
defmodule Fxnk.ListTest do use ExUnit.Case doctest Fxnk.List end
13.8
26
0.782609
851645638095740af07e085741dff9a292500401
417
ex
Elixir
lib/bufu/genre.ex
paulfri/bufu
735e80c188408deec146344a90ed7830416d1fbe
[ "MIT" ]
null
null
null
lib/bufu/genre.ex
paulfri/bufu
735e80c188408deec146344a90ed7830416d1fbe
[ "MIT" ]
null
null
null
lib/bufu/genre.ex
paulfri/bufu
735e80c188408deec146344a90ed7830416d1fbe
[ "MIT" ]
null
null
null
defmodule Bufu.Genre do @moduledoc """ Resource representing a genre. See the [official documentation](http://www.giantbomb.com/api/documentation#toc-0-18). """ @type_id 3060 @singular "genre" @plural "genres" defstruct [ :api_detail_url, :date_added, :date_last_updated, :deck, ...
16.038462
88
0.642686
8516a5223aa502cef8bdb19b94c2157f08aebbdc
3,254
ex
Elixir
lib/chaperon/util.ex
ideo/chaperon
6298e96ae2b8f39a1d729b7363f4a451bc4c3a6e
[ "MIT" ]
null
null
null
lib/chaperon/util.ex
ideo/chaperon
6298e96ae2b8f39a1d729b7363f4a451bc4c3a6e
[ "MIT" ]
null
null
null
lib/chaperon/util.ex
ideo/chaperon
6298e96ae2b8f39a1d729b7363f4a451bc4c3a6e
[ "MIT" ]
null
null
null
defmodule Chaperon.Util do @moduledoc """ Helper functions used throughout `Chaperon`'s codebase. """ @spec preserve_vals_merge(map, map) :: map def preserve_vals_merge(map1, map2) do new_map = for {k, v2} <- map2 do case map1[k] do nil -> {k, v2} v1 when is...
21.693333
79
0.516595