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
ff82da4b2168f715956eb2984f50d86946000917
2,309
ex
Elixir
lib/xema/utils.ex
hrzndhrn/xema
c53ec35f2554a5d465171cf9fab0906fd14c4789
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
lib/xema/utils.ex
hrzndhrn/xema
c53ec35f2554a5d465171cf9fab0906fd14c4789
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
lib/xema/utils.ex
hrzndhrn/xema
c53ec35f2554a5d465171cf9fab0906fd14c4789
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule Xema.Utils do @moduledoc """ Some utilities for Xema. """ @doc """ Converts the given `string` to an existing atom. Returns `nil` if the atom does not exist. ## Examples iex> import Xema.Utils iex> to_existing_atom(:my_atom) :my_atom iex> to_existing_atom("my_a...
26.848837
77
0.605024
ff82fa99396c30489a4c655297db85cdc2034950
351
ex
Elixir
lib/firestorm_web/web/session.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
null
null
null
lib/firestorm_web/web/session.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
null
null
null
lib/firestorm_web/web/session.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
null
null
null
defmodule FirestormWeb.Web.Session do @moduledoc """ Some helpers for session-related things """ alias FirestormWeb.Forums def current_user(conn) do case Plug.Conn.get_session(conn, :current_user) do nil -> nil id -> Forums.get_user!(id) end end def logged_in?(conn)...
17.55
54
0.649573
ff8309a59d936c7358ce024095d2c077f20f37ce
5,995
exs
Elixir
test/payload_test.exs
rstawarz/kronky
23d869868386576b688c144b3773e6145a8d276f
[ "MIT" ]
null
null
null
test/payload_test.exs
rstawarz/kronky
23d869868386576b688c144b3773e6145a8d276f
[ "MIT" ]
null
null
null
test/payload_test.exs
rstawarz/kronky
23d869868386576b688c144b3773e6145a8d276f
[ "MIT" ]
null
null
null
defmodule Kronky.PayloadTest do @moduledoc """ Test conversion of changeset errors to ValidationMessage structs """ use ExUnit.Case import Ecto.Changeset alias Kronky.ValidationMessage alias Kronky.Payload alias Absinthe.Resolution import Kronky.Payload def resolution(value) do %Resolution{ ...
30.902062
120
0.640867
ff83121c40ca796f353df91e4fe3da4e7bab9c52
1,143
exs
Elixir
config/config.exs
muziyoshiz/admiral_stats_parser_ex
89b1cf470b4ba823ed8902e415e798180023c156
[ "MIT" ]
null
null
null
config/config.exs
muziyoshiz/admiral_stats_parser_ex
89b1cf470b4ba823ed8902e415e798180023c156
[ "MIT" ]
null
null
null
config/config.exs
muziyoshiz/admiral_stats_parser_ex
89b1cf470b4ba823ed8902e415e798180023c156
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.870968
73
0.75678
ff832c106c63c0a17644f58437a0ff09d58d63a4
243
exs
Elixir
test/repo/user_test.exs
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
199
2015-10-22T16:20:09.000Z
2021-11-08T11:20:45.000Z
test/repo/user_test.exs
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
4
2015-10-24T20:43:29.000Z
2016-03-03T21:09:06.000Z
test/repo/user_test.exs
elpassion/sprint-poker
5c9b34bb264c7a30ff48f0aeac40821b67310ff8
[ "MIT" ]
34
2015-10-23T06:38:43.000Z
2019-08-13T23:49:24.000Z
defmodule SprintPoker.UserTest do use SprintPoker.DataCase alias SprintPoker.Repo alias SprintPoker.Repo.User test "creating empty user generate auth_token" do user = %User{} |> Repo.insert! assert user.auth_token end end
18.692308
51
0.744856
ff83529b163ae0b92768344de7ef3e851011ed69
2,030
ex
Elixir
lib/excoveralls/circle.ex
brauliobz/excoveralls
8108405bda1c6ef27253edc294415f02d78760f4
[ "MIT" ]
null
null
null
lib/excoveralls/circle.ex
brauliobz/excoveralls
8108405bda1c6ef27253edc294415f02d78760f4
[ "MIT" ]
null
null
null
lib/excoveralls/circle.ex
brauliobz/excoveralls
8108405bda1c6ef27253edc294415f02d78760f4
[ "MIT" ]
2
2019-03-15T08:12:53.000Z
2019-06-11T11:34:04.000Z
defmodule ExCoveralls.Circle do @moduledoc """ Handles circle-ci integration with coveralls. """ alias ExCoveralls.Poster def execute(stats, options) do json = generate_json(stats, Enum.into(options, %{})) if options[:verbose] do IO.puts json end Poster.execute(json) end def genera...
25.061728
119
0.662562
ff835e6a6a60e1b37ecab3f419d5b8b2f0ab9b22
5,864
exs
Elixir
test/elixir/test/reader_acl_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
1
2022-01-14T20:52:55.000Z
2022-01-14T20:52:55.000Z
test/elixir/test/reader_acl_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
null
null
null
test/elixir/test/reader_acl_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
null
null
null
defmodule ReaderACLTest do use CouchTestCase @moduletag :authentication @moduletag kind: :single_node @users_db_name "custom-users" @password "funnybone" @moduletag config: [ { "chttpd_auth", "authentication_db", @users_db_name ...
22.467433
74
0.564632
ff8379ce02f91900ee348ce339b68d11ce13978f
100
ex
Elixir
lib/gatekeeper/response.ex
samfrench/gatekeeper
6286ed16360e0d538e7f4c802a866b2cd83d5514
[ "MIT" ]
null
null
null
lib/gatekeeper/response.ex
samfrench/gatekeeper
6286ed16360e0d538e7f4c802a866b2cd83d5514
[ "MIT" ]
null
null
null
lib/gatekeeper/response.ex
samfrench/gatekeeper
6286ed16360e0d538e7f4c802a866b2cd83d5514
[ "MIT" ]
null
null
null
defmodule Gatekeeper.Response do defstruct [ :status_code, :body, headers: [] ] end
12.5
32
0.63
ff838194da546b901bb256470580c45a62b58086
798
ex
Elixir
apps/buzzcms/test/support/factory.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
apps/buzzcms/test/support/factory.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
41
2020-02-12T07:53:14.000Z
2020-03-30T02:18:14.000Z
apps/buzzcms/test/support/factory.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
defmodule Buzzcms.Factory do use ExMachina.Ecto, repo: Buzzcms.Repo use Buzzcms.UserFactory alias Buzzcms.Schema.{ Entry, EntryType, Taxon, Taxonomy } def entry_factory do title = sequence(:title, &"Title #{&1}") slug = sequence(:slug, &"title-#{&1}") %Entry{ title: title,...
16.978723
57
0.60401
ff83be1fd06a21eade357e59176d99eb8a19ade9
2,598
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/test_iam_permissions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/test_iam_permissions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/storage/lib/google_api/storage/v1/model/test_iam_permissions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.59375
257
0.71632
ff8407917e60b2c60932ff4aebdf46d89279292c
1,886
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/page_author.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/blogger/lib/google_api/blogger/v3/model/page_author.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/blogger/lib/google_api/blogger/v3/model/page_author.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...
33.678571
112
0.692471
ff840ca3ffe8b6cda30fea6df133e5aa81055d20
661,101
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/api/organizations.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/api/organizations.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/api/organizations.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...
47.312746
1,691
0.622502
ff84418f1a60f0b317461af148fc7ea8f53a3c52
4,988
ex
Elixir
lib/web/controllers/export_controller.ex
raphpap/accent
1669582c72f1e0f30e78f02ad2be3e674929a4cb
[ "BSD-3-Clause" ]
null
null
null
lib/web/controllers/export_controller.ex
raphpap/accent
1669582c72f1e0f30e78f02ad2be3e674929a4cb
[ "BSD-3-Clause" ]
null
null
null
lib/web/controllers/export_controller.ex
raphpap/accent
1669582c72f1e0f30e78f02ad2be3e674929a4cb
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.ExportController do use Plug.Builder import Canary.Plugs import Accent.Plugs.RevisionIdFromProjectLanguage alias Accent.Scopes.Document, as: DocumentScope alias Accent.Scopes.Revision, as: RevisionScope alias Accent.Scopes.Translation, as: Scope alias Accent.Scopes.Version, as: VersionS...
28.180791
174
0.660385
ff8482a1dbd24c01ebcb9ef6fc908a9324ae59a5
7,030
ex
Elixir
lib/goldie/components/socket_handler.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
lib/goldie/components/socket_handler.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
lib/goldie/components/socket_handler.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
defmodule Goldie.Component.SocketHandler do use Goldie.Component alias Goldie.Event require Logger use Bitwise ## pings sent every KEEPALIVE_INTERVAL to prevent stale sockets @keepalive_interval 30000 @socket_keepalive_length 90000 ##If we don't get socket messages for 90 seconds, disconnect @socket_...
34.80198
137
0.646515
ff848cadc83cb47cae4761d963fbb88bb039ee9e
1,883
exs
Elixir
test/formatters/ecto/changeset_test.exs
floatingpointio/delirium_tremexs
6b7bb1918b7a8a02c4af3b7e266e30b67eba59bc
[ "MIT" ]
4
2019-09-24T09:32:31.000Z
2021-02-21T13:13:18.000Z
test/formatters/ecto/changeset_test.exs
floatingpointio/delirium_tremexs
6b7bb1918b7a8a02c4af3b7e266e30b67eba59bc
[ "MIT" ]
2
2019-02-20T14:24:43.000Z
2019-05-08T08:54:49.000Z
test/formatters/ecto/changeset_test.exs
floatingpointio/delirium_tremexs
6b7bb1918b7a8a02c4af3b7e266e30b67eba59bc
[ "MIT" ]
1
2020-02-19T19:43:11.000Z
2020-02-19T19:43:11.000Z
defmodule DeliriumTremex.Formatters.Ecto.ChangesetTest do use ExUnit.Case doctest DeliriumTremex alias DeliriumTremex.Formatters.Ecto.Changeset describe "nested changeset formatting" do test "error nested inside map returns error inside suberrors list" do data = {:address, %{address_line1: [{"can't b...
29.421875
89
0.462029
ff849078d1a055e25d62d272fb83d1d2c32ad8bc
67
ex
Elixir
lib/portfolio_web/views/layout_view.ex
abullard/portfolio
fb3190b5b1d1f0ca6cda394e312fbb2d1a908a23
[ "MIT" ]
null
null
null
lib/portfolio_web/views/layout_view.ex
abullard/portfolio
fb3190b5b1d1f0ca6cda394e312fbb2d1a908a23
[ "MIT" ]
11
2020-04-29T10:28:20.000Z
2020-04-29T11:03:13.000Z
portfolio/lib/portfolio_web/views/layout_view.ex
JackMaarek/portfolio
4423e67df870b14228edbc9e4ce3f3cdf1bccc2d
[ "MIT" ]
null
null
null
defmodule PortfolioWeb.LayoutView do use PortfolioWeb, :view end
16.75
36
0.820896
ff84e4d3277f4e6ebeece29b10ac9f8372e81746
830
ex
Elixir
lib/chat_api_web/controllers/user_settings_controller.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
lib/chat_api_web/controllers/user_settings_controller.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
lib/chat_api_web/controllers/user_settings_controller.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule ChatApiWeb.UserSettingsController do use ChatApiWeb, :controller alias ChatApi.Users action_fallback ChatApiWeb.FallbackController @spec show(Plug.Conn.t(), map()) :: Plug.Conn.t() def show(conn, _params) do with %{id: user_id} <- conn.assigns.current_user do user_settings = Users.get_u...
33.2
79
0.693976
ff8502576f2cd0e092588aad21c417a08ac8b514
2,180
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/line_item_flight.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/line_item_flight.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/line_item_flight.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.6
573
0.744954
ff8512df68f4a69e2dd5b76d2218c98948563543
1,243
exs
Elixir
code/general/ets_vs_gen_server_write.exs
TheMaikXX/fast-elixir
0e622c3f8bb4751fd023fde1e34ec78cf4337dfd
[ "CC0-1.0" ]
1,154
2017-05-04T10:18:30.000Z
2022-03-29T06:43:28.000Z
code/general/ets_vs_gen_server_write.exs
TheMaikXX/fast-elixir
0e622c3f8bb4751fd023fde1e34ec78cf4337dfd
[ "CC0-1.0" ]
13
2017-05-22T21:58:36.000Z
2022-02-25T15:52:12.000Z
code/general/ets_vs_gen_server_write.exs
TheMaikXX/fast-elixir
0e622c3f8bb4751fd023fde1e34ec78cf4337dfd
[ "CC0-1.0" ]
35
2017-05-27T17:55:07.000Z
2022-03-13T18:55:48.000Z
defmodule RetrieveState.Fast do def put_state(ets_pid, state) do :ets.insert(ets_pid, {:stored_state, state}) end end defmodule StateHolder do use GenServer def init(_), do: {:ok, %{}} def start_link(state \\ []), do: GenServer.start_link(__MODULE__, state, name: __MODULE__) def put_state(value), do...
25.367347
110
0.693484
ff855d392e7a8603bdde41e40163600ef57b853a
1,122
ex
Elixir
clients/groups_migration/lib/google_api/groups_migration/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/groups_migration/lib/google_api/groups_migration/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/groups_migration/lib/google_api/groups_migration/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34
74
0.743316
ff858899a2d617e3ba4662994600aa05bdfaca4e
1,976
ex
Elixir
apps/andi/lib/andi_web/live/helpers/metadata_form_helpers.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/lib/andi_web/live/helpers/metadata_form_helpers.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/lib/andi_web/live/helpers/metadata_form_helpers.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule AndiWeb.Helpers.MetadataFormHelpers do @moduledoc """ This module contains dropdown options and text helpers shared between the submission and curator versions of the metadata form. """ alias AndiWeb.Views.Options alias Andi.Services.OrgStore alias Andi.Schemas.User def map_to_dropdown_option...
39.52
122
0.75253
ff85a94563a985a0933964d07e3611838a1d99a1
3,088
ex
Elixir
lib/sequential_store.ex
chewy-soft/elixir-sequential-store
d79475e4f9974eb2f040ba6e33868b483f3a7fd3
[ "MIT" ]
null
null
null
lib/sequential_store.ex
chewy-soft/elixir-sequential-store
d79475e4f9974eb2f040ba6e33868b483f3a7fd3
[ "MIT" ]
null
null
null
lib/sequential_store.ex
chewy-soft/elixir-sequential-store
d79475e4f9974eb2f040ba6e33868b483f3a7fd3
[ "MIT" ]
null
null
null
defmodule SequentialStore do defstruct block_size: nil, store_size: nil, separator: nil, store_path: nil, loop: false def create(%__MODULE__{} = config, name) do if exists?(config, name) do {:error, :eexist} else SequentialStore.File.allocate_file(path(config, name), file_size(config)) end ...
29.132075
90
0.672927
ff85be0618e3409c6b7e06a47d75c88c8d6a699b
84
ex
Elixir
lib/sleep.ex
hh-ex/kata-sleepsort
b22126fcfcaf443b291ef6e31eb60d52422fcb50
[ "MIT" ]
null
null
null
lib/sleep.ex
hh-ex/kata-sleepsort
b22126fcfcaf443b291ef6e31eb60d52422fcb50
[ "MIT" ]
null
null
null
lib/sleep.ex
hh-ex/kata-sleepsort
b22126fcfcaf443b291ef6e31eb60d52422fcb50
[ "MIT" ]
null
null
null
defmodule Sleep do def sort(i) do # your wonderful code goes here end end
10.5
35
0.678571
ff85cb5884279d1d09345e8e96acb8c6d1f53cd7
170
ex
Elixir
lib/ex_taxjar/validations.ex
cas27/ex_taxjar
507d474dbd7e72a21b2e14194b39170b535913bc
[ "MIT" ]
6
2018-04-13T17:50:57.000Z
2019-09-08T01:25:56.000Z
lib/ex_taxjar/validations.ex
cas27/ex_taxjar
507d474dbd7e72a21b2e14194b39170b535913bc
[ "MIT" ]
null
null
null
lib/ex_taxjar/validations.ex
cas27/ex_taxjar
507d474dbd7e72a21b2e14194b39170b535913bc
[ "MIT" ]
1
2021-06-24T20:11:16.000Z
2021-06-24T20:11:16.000Z
defmodule ExTaxjar.Validations do def validate(vat) do {:ok, %{body: body}} = ExTaxjar.get("/validation", [], params: %{vat: vat}) body["validation"] end end
24.285714
79
0.641176
ff85fa23977a71ab01b627f9309b74eed9c598fe
301
exs
Elixir
test/plugin_test.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
986
2015-01-01T13:20:41.000Z
2021-09-03T02:18:55.000Z
test/plugin_test.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
332
2015-01-02T09:17:25.000Z
2018-04-06T22:32:25.000Z
test/plugin_test.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
132
2015-01-05T06:11:21.000Z
2019-10-31T13:31:12.000Z
defmodule PluginTest do use ExUnit.Case alias ReleaseManager.Utils test "can fetch a list of plugins" do active = [ ReleaseManager.Plugin.Appups, ReleaseManager.Plugin.Consolidation, ] |> Enum.sort assert active == ReleaseManager.Plugin.load_all |> Enum.sort end end
21.5
64
0.707641
ff85fd902015dc2bf5500727334006465aaf545d
602
ex
Elixir
lib/vex/struct.ex
emjrdev/vex
c4a863ed39d4723ccf45231252d81c0f0df45de1
[ "MIT" ]
560
2015-01-12T00:07:27.000Z
2022-02-07T03:21:44.000Z
lib/vex/struct.ex
emjrdev/vex
c4a863ed39d4723ccf45231252d81c0f0df45de1
[ "MIT" ]
55
2015-02-16T18:59:57.000Z
2021-12-23T12:34:25.000Z
lib/vex/struct.ex
emjrdev/vex
c4a863ed39d4723ccf45231252d81c0f0df45de1
[ "MIT" ]
63
2015-02-12T03:49:50.000Z
2021-12-12T00:11:01.000Z
defmodule Vex.Struct do @moduledoc false defmacro __using__(_) do quote do @vex_validations %{} @before_compile unquote(__MODULE__) import unquote(__MODULE__) def valid?(self), do: Vex.valid?(self) end end defmacro __before_compile__(_) do quote do def __vex_validatio...
21.5
85
0.67608
ff8618afef79a6ba5c24916940eaea497eeab6fc
2,602
exs
Elixir
test/date_time_parser_test.exs
mrwizard82d1/time_calc_ex
c2f2127330f821a02a7686a7b1baca3304afbd65
[ "MIT" ]
null
null
null
test/date_time_parser_test.exs
mrwizard82d1/time_calc_ex
c2f2127330f821a02a7686a7b1baca3304afbd65
[ "MIT" ]
null
null
null
test/date_time_parser_test.exs
mrwizard82d1/time_calc_ex
c2f2127330f821a02a7686a7b1baca3304afbd65
[ "MIT" ]
null
null
null
defmodule DateTimeParserTest do use ExUnit.Case test "parse date text when date valid" do year = NaiveDateTime.local_now().year assert TimeCalc.DateTimeParser.parse_date_text("05-Apr") == {:ok, Date.new!(year, 4, 5)} assert TimeCalc.DateTimeParser.parse_date_text("01-Aug") == {:ok, Date.new!(year, 8, 1...
56.565217
122
0.682168
ff863c8a6ba30bb9954f95f1b10bf81e2bb52350
2,220
ex
Elixir
lib/calc.ex
leonardofirmeza/calc-elixir
baf1d457643df020602e52c3e9b5d001146a3b29
[ "MIT" ]
1
2021-09-24T11:59:05.000Z
2021-09-24T11:59:05.000Z
lib/calc.ex
leonardofirmeza/calc-elixir
baf1d457643df020602e52c3e9b5d001146a3b29
[ "MIT" ]
null
null
null
lib/calc.ex
leonardofirmeza/calc-elixir
baf1d457643df020602e52c3e9b5d001146a3b29
[ "MIT" ]
null
null
null
defmodule Calc do @moduledoc """ Documentation for `Calc`. """ def min(x, y) do if x < y do x else y end end def min3(x, y, z) do Calc.min(x, Calc.min(y, z)) end def somat(n) when n > 0 do somat(n - 1) + n end def somat(0) do 0 end def fat(n) when n > 1 d...
12.197802
82
0.461712
ff863cd80d792e21da0f3cd4b21df1968536f443
1,061
exs
Elixir
test/views/layout_view_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
523
2017-03-15T15:21:11.000Z
2022-03-14T03:04:18.000Z
test/views/layout_view_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
524
2017-03-16T18:31:09.000Z
2022-02-26T10:02:06.000Z
test/views/layout_view_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
60
2017-05-01T18:02:28.000Z
2022-03-04T21:04:56.000Z
defmodule RemoteRetro.LayoutViewTest do use RemoteRetroWeb.ConnCase, async: true alias RemoteRetroWeb.LayoutView test "app_js is served by the webpack dev server (at port 5001) in dev" do Application.put_env(:remote_retro, :env, :dev) conn = get(build_conn(), "/") assert LayoutView.app_js(conn) =~ "l...
36.586207
89
0.697455
ff8641e61d6b2d2f33f34263f2aa7fb08c4de428
3,621
ex
Elixir
lib/exvcr/converter.ex
fastindian84/exvcr
b9e38de8379627b344cbc2d57bd1eab6d5c1b08a
[ "MIT" ]
null
null
null
lib/exvcr/converter.ex
fastindian84/exvcr
b9e38de8379627b344cbc2d57bd1eab6d5c1b08a
[ "MIT" ]
null
null
null
lib/exvcr/converter.ex
fastindian84/exvcr
b9e38de8379627b344cbc2d57bd1eab6d5c1b08a
[ "MIT" ]
null
null
null
defmodule ExVCR.Converter do @moduledoc """ Provides helpers for adapter converters. """ defmacro __using__(_) do quote do @doc """ Parse string format into original request / response tuples. """ def convert_from_string(%{"request" => request, "response" => response}) do %{...
32.330357
107
0.652306
ff8641f1d676852316db768771034163f3ff11eb
498
ex
Elixir
lib/mix/tasks/secrex.decrypt.ex
forzafootball/secrex
b0792efc3be87ddf239159a965c118f81cde04f6
[ "0BSD" ]
15
2020-09-20T09:22:41.000Z
2022-03-29T04:35:47.000Z
lib/mix/tasks/secrex.decrypt.ex
forzafootball/secrex
b0792efc3be87ddf239159a965c118f81cde04f6
[ "0BSD" ]
2
2020-09-20T09:17:12.000Z
2021-03-10T02:39:05.000Z
lib/mix/tasks/secrex.decrypt.ex
forzafootball/secrex
b0792efc3be87ddf239159a965c118f81cde04f6
[ "0BSD" ]
2
2021-07-02T12:50:47.000Z
2021-11-11T05:08:30.000Z
defmodule Mix.Tasks.Secrex.Decrypt do @moduledoc """ Decrypts secrets to the configured files. """ use Mix.Task import Mix.Secrex @shortdoc "Decrypts secrets to the configured files" @impl true def run(_args) do key = encryption_key() for path <- secret_files() do enc_path = encrypted...
19.92
54
0.668675
ff864f2cbd44b45974158fcee33b927e0bcf2e73
96,936
ex
Elixir
lib/elixir/lib/kernel.ex
montague/elixir
ff2138b05345d0b3136a374259e9c3ba7208e3da
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
montague/elixir
ff2138b05345d0b3136a374259e9c3ba7208e3da
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
montague/elixir
ff2138b05345d0b3136a374259e9c3ba7208e3da
[ "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 :elixi...
25.422502
120
0.630736
ff867a5447c96b984bf2fc5ac61a42831c9c80f2
534
ex
Elixir
lib/input_event/enumerate.ex
fhunleth/input_event
eab66b277f7d290ece3820229d9c937e71c8ad25
[ "Apache-2.0" ]
null
null
null
lib/input_event/enumerate.ex
fhunleth/input_event
eab66b277f7d290ece3820229d9c937e71c8ad25
[ "Apache-2.0" ]
null
null
null
lib/input_event/enumerate.ex
fhunleth/input_event
eab66b277f7d290ece3820229d9c937e71c8ad25
[ "Apache-2.0" ]
null
null
null
defmodule InputEvent.Enumerate do @doc """ Return the paths to all device files """ @spec all_devices() :: [Path.t()] def all_devices() do Path.wildcard("/dev/input/event*") end @doc """ Enumerate all input event devices """ @spec enumerate() :: [{String.t(), Info.t()}] def enumerate() do ...
20.538462
47
0.629213
ff868ab2f7b02162570cbb5c562607a9d4bc6253
2,478
ex
Elixir
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/metric.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/metric.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/metric.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...
46.754717
496
0.730831
ff86904363f0cfe25952c950c3bcecc96644f17c
1,075
exs
Elixir
config/config.exs
Project-ShangriLa/sana_server_phoenix
d2ea4cc023d02e7249ae9267bb2b41a212b79ce7
[ "Apache-2.0" ]
5
2015-11-07T11:27:08.000Z
2017-06-23T00:54:20.000Z
config/config.exs
Project-ShangriLa/sana_server_phoenix
d2ea4cc023d02e7249ae9267bb2b41a212b79ce7
[ "Apache-2.0" ]
null
null
null
config/config.exs
Project-ShangriLa/sana_server_phoenix
d2ea4cc023d02e7249ae9267bb2b41a212b79ce7
[ "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. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :sana_server_phoenix, SanaServerPhoenix.Endpoint, ...
33.59375
86
0.76
ff86bcf1bc0fc52c6c559a7f77974e191a48e28c
1,540
exs
Elixir
test/services/coto_search_service_test.exs
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
test/services/coto_search_service_test.exs
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
test/services/coto_search_service_test.exs
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
defmodule Cotoami.CotoSearchServiceTest do use Cotoami.ModelCase import ShorterMaps alias Cotoami.{ Repo, EmailUser, Coto, AmishiService, CotoService, CotonomaService, CotoSearchService } setup do amishi_a = AmishiService.insert_or_update!(%EmailUser{email: "amishi_a@example.com"}) amishi_b =...
31.428571
93
0.680519
ff86c9f6efe490610045c2b130a2fc51a4f95a28
514
exs
Elixir
phoenix_maru/config/test.exs
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
27
2016-12-28T15:00:19.000Z
2021-11-09T12:55:23.000Z
phoenix_maru/config/test.exs
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
5
2017-02-13T13:11:55.000Z
2019-07-22T19:38:09.000Z
phoenix_maru/config/test.exs
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
8
2017-02-08T10:18:50.000Z
2020-06-01T11:42:04.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :phoenix_maru, PhoenixMaru.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :phoenix_maru,...
25.7
56
0.745136
ff86e43530786a58be1f4826a8e5440fe7ce33ca
4,303
ex
Elixir
lib/updater.ex
noizu-labs/elixometer
c6ab9542f8280025d94aed0936e67bf1a573caae
[ "Apache-2.0" ]
null
null
null
lib/updater.ex
noizu-labs/elixometer
c6ab9542f8280025d94aed0936e67bf1a573caae
[ "Apache-2.0" ]
null
null
null
lib/updater.ex
noizu-labs/elixometer
c6ab9542f8280025d94aed0936e67bf1a573caae
[ "Apache-2.0" ]
null
null
null
defmodule Elixometer.Updater do @moduledoc false @max_messages 1000 @default_formatter Elixometer.Utils import Elixometer, only: [ensure_registered: 2, add_counter: 2, add_counter: 1] use GenServer def init(_args) do config = Application.get_env(:elixometer, __MODULE__, []) max_messages = Keyword...
27.234177
88
0.675343
ff86ed339cb05da0e8119d9b22099e194189bacb
10,625
ex
Elixir
lib/iex/lib/iex/evaluator.ex
QuentinDanjou/elixir
09d59d4d19cb11b96bdc5786c70f6a0ca48050c8
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/iex/lib/iex/evaluator.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/evaluator.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Evaluator do @moduledoc false @doc """ Eval loop for an IEx session. Its responsibilities include: * loading of .iex files * evaluating code * trapping exceptions in the code being evaluated * keeping expression history """ def init(command, server, leader, opts) do old_le...
29.929577
95
0.644141
ff8705186ed9339d6b303aa853acfc724becadc8
8,965
ex
Elixir
lib/phoenix/token.ex
joshchernoff/phoenix
cd1541a8bc12cdb2501be6b08403558e82c5b72b
[ "MIT" ]
1
2020-04-14T09:49:46.000Z
2020-04-14T09:49:46.000Z
lib/phoenix/token.ex
joshchernoff/phoenix
cd1541a8bc12cdb2501be6b08403558e82c5b72b
[ "MIT" ]
1
2020-11-08T08:30:10.000Z
2020-11-08T08:30:10.000Z
lib/phoenix/token.ex
joshchernoff/phoenix
cd1541a8bc12cdb2501be6b08403558e82c5b72b
[ "MIT" ]
null
null
null
defmodule Phoenix.Token do @moduledoc """ Tokens provide a way to generate and verify bearer tokens for use in Channels or API authentication. The data stored in the token is signed to prevent tampering but not encrypted. This means it is safe to store identification information (such as user IDs) but shou...
37.19917
98
0.691578
ff870692d7387006a3d1a89b9001a1f04f45ed27
7,387
ex
Elixir
lib/membrane_ffmpeg_video_filter/text_overlay.ex
membraneframework/membrane_ffmpeg_video_filter_plugin
b9585d3830ce66c3657989c6edee0dc9c067287c
[ "Apache-2.0" ]
null
null
null
lib/membrane_ffmpeg_video_filter/text_overlay.ex
membraneframework/membrane_ffmpeg_video_filter_plugin
b9585d3830ce66c3657989c6edee0dc9c067287c
[ "Apache-2.0" ]
null
null
null
lib/membrane_ffmpeg_video_filter/text_overlay.ex
membraneframework/membrane_ffmpeg_video_filter_plugin
b9585d3830ce66c3657989c6edee0dc9c067287c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.FFmpeg.VideoFilter.TextOverlay do @moduledoc """ Element adding text overlay to raw video frames - using 'drawtext' video filter from FFmpeg Library. (https://ffmpeg.org/ffmpeg-filters.html#drawtext-1). Element allows for specifying most commonly used 'drawtext' settings (such as fontsize, fo...
31.434043
127
0.5863
ff871082248a84560473f56c6606f31f9909bafa
2,355
ex
Elixir
web/controllers/api/v1/auth_controller.ex
AstridMN/elixir1
f62347179628937cdb63fc14db0b0a32c689e0ae
[ "MIT" ]
3
2017-04-18T06:23:18.000Z
2018-01-05T04:14:57.000Z
web/controllers/api/v1/auth_controller.ex
AstridMN/elixir1
f62347179628937cdb63fc14db0b0a32c689e0ae
[ "MIT" ]
27
2016-11-04T19:56:11.000Z
2017-03-26T22:34:55.000Z
web/controllers/api/v1/auth_controller.ex
AstridMN/elixir1
f62347179628937cdb63fc14db0b0a32c689e0ae
[ "MIT" ]
3
2016-10-05T11:56:42.000Z
2017-03-05T14:37:10.000Z
defmodule MicrocrawlerWebapp.API.V1.AuthController do use MicrocrawlerWebapp.Web, :controller require Logger alias MicrocrawlerWebapp.User alias MicrocrawlerWebapp.Users alias Comeonin.Bcrypt alias Guardian.Plug def sign_in(conn, %{"email" => email, "password" => password}) do case Users.get(email)...
25.053191
71
0.590658
ff87778c35c7d97ef293dac23edde33fbfc38888
3,946
exs
Elixir
test/receiver_test.exs
Fritzelblitz/elixir-mllp
8b1af9674a2f93a035f2849b04557c9d7e6b2d5e
[ "Apache-2.0" ]
null
null
null
test/receiver_test.exs
Fritzelblitz/elixir-mllp
8b1af9674a2f93a035f2849b04557c9d7e6b2d5e
[ "Apache-2.0" ]
null
null
null
test/receiver_test.exs
Fritzelblitz/elixir-mllp
8b1af9674a2f93a035f2849b04557c9d7e6b2d5e
[ "Apache-2.0" ]
null
null
null
defmodule ReceiverTest do use ExUnit.Case, async: false import ExUnit.CaptureLog import Mox setup :verify_on_exit! setup :set_mox_global alias MLLP.{FramingContext, Receiver} require Logger doctest Receiver describe "Starting and stopping a receiver" do test "creates and removes a receiver pr...
26.483221
101
0.595793
ff8792810ef2bfaa81c6311f39e70d3c6360b3ae
9,329
exs
Elixir
apps/site/test/site_web/controllers/event_controller_test.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/test/site_web/controllers/event_controller_test.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/test/site_web/controllers/event_controller_test.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
defmodule SiteWeb.EventControllerTest do use SiteWeb.ConnCase import SiteWeb.EventController import Mock @current_date ~D[2019-04-15] setup_with_mocks([ {SiteWeb.Plugs.Date, [], [ call: fn conn, _ -> Plug.Conn.assign(conn, :date, @current_date) end ]} ]) do :ok end describe ...
37.465863
114
0.643692
ff879fa128d7e76c5bae225fb806ae7dfbfe2e55
7,578
ex
Elixir
lib/mmdb2_decoder.ex
kianmeng/mmdb2_decoder
dbf65dd6e3de5804928e36c38c19aefe1a83f081
[ "Apache-2.0" ]
4
2018-03-03T18:59:49.000Z
2019-09-10T07:59:22.000Z
lib/mmdb2_decoder.ex
kianmeng/mmdb2_decoder
dbf65dd6e3de5804928e36c38c19aefe1a83f081
[ "Apache-2.0" ]
1
2021-12-23T12:26:05.000Z
2021-12-23T12:26:05.000Z
lib/mmdb2_decoder.ex
kianmeng/mmdb2_decoder
dbf65dd6e3de5804928e36c38c19aefe1a83f081
[ "Apache-2.0" ]
4
2018-06-21T16:45:56.000Z
2021-08-30T11:31:19.000Z
defmodule MMDB2Decoder do @moduledoc """ MMDB2 file format decoder. ## Usage To prepare lookups in a given database you need to parse it and hold the result available for later usage: iex(1)> database = File.read!("/path/to/database.mmdb") iex(2)> {:ok, meta, tree, data} = MMDB2Decoder.parse_da...
32.110169
97
0.651623
ff87c37baaaadd2a02ed945f0f3336a88adf9dc1
773
ex
Elixir
lib/web/controllers/registration_controller.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/web/controllers/registration_controller.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/web/controllers/registration_controller.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
defmodule Web.RegistrationController do use Web, :controller alias Grapevine.Accounts alias Web.SessionController def new(conn, _params) do changeset = Accounts.new() conn |> assign(:changeset, changeset) |> render("new.html") end def create(conn, %{"user" => params}) do case Account...
24.15625
82
0.617076
ff87cd07c8f610731dc107ccb3de6f8a8f10118c
13,691
exs
Elixir
apps/state/test/state/stops_on_route_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/state/test/state/stops_on_route_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/state/test/state/stops_on_route_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule State.StopsOnRouteTest do use ExUnit.Case use Timex import State.StopsOnRoute @route %Model.Route{id: "route"} @service %Model.Service{ id: "service", start_date: Timex.today(), end_date: Timex.today(), added_dates: [Timex.today()] } @trip %Model.Trip{ id: "trip", route...
30.835586
113
0.533343
ff87e823aa2d30f6ccd32337904b08745d3a42d3
2,353
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/git_repo_source.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/git_repo_source.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/git_repo_source.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...
39.881356
258
0.702932
ff8819efb4aebbd6f0c85fe5c410764f3633006e
201
ex
Elixir
lib/phone/lt.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/lt.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/lt.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.LT do @moduledoc false use Helper.Country def regex, do: ~r/^(370)()(.{8})/ def country, do: "Lithuania" def a2, do: "LT" def a3, do: "LTU" matcher :regex, ["370"] end
15.461538
35
0.60199
ff8834b93e9b9da36bad421bbd03fe78ca25b92c
3,892
exs
Elixir
mix.exs
sthagen/elixir-ecto-ecto
a71dc13ba376663279f0c607ebec510018802b30
[ "Apache-2.0" ]
null
null
null
mix.exs
sthagen/elixir-ecto-ecto
a71dc13ba376663279f0c607ebec510018802b30
[ "Apache-2.0" ]
null
null
null
mix.exs
sthagen/elixir-ecto-ecto
a71dc13ba376663279f0c607ebec510018802b30
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.MixProject do use Mix.Project @source_url "https://github.com/elixir-ecto/ecto" @version "3.8.1" def project do [ app: :ecto, version: @version, elixir: "~> 1.10", deps: deps(), consolidate_protocols: Mix.env() != :test, elixirc_paths: elixirc_paths(Mix.e...
27.027778
107
0.583505
ff884bd65360886a9fe95603807bfb52ea9468a9
1,057
ex
Elixir
lib/messaging/apns_message/config.ex
hippware/firebase-admin-ex
bca6f83a8ae94a7fdb0a447030913d03ea170bb1
[ "MIT" ]
null
null
null
lib/messaging/apns_message/config.ex
hippware/firebase-admin-ex
bca6f83a8ae94a7fdb0a447030913d03ea170bb1
[ "MIT" ]
null
null
null
lib/messaging/apns_message/config.ex
hippware/firebase-admin-ex
bca6f83a8ae94a7fdb0a447030913d03ea170bb1
[ "MIT" ]
null
null
null
defmodule FirebaseAdminEx.Messaging.APNSMessage.Config do @moduledoc """ This module is responsible for representing the attributes of APNSMessage.Config. """ alias FirebaseAdminEx.Messaging.APNSMessage.Payload @keys [ headers: %{}, payload: %Payload{ aps: %{}, custom_data: %{} } ...
22.489362
77
0.622517
ff884f0186cefa950a6caca15b1abe1f856d0858
51
exs
Elixir
apps/server_comms/test/server_comms_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/server_comms/test/server_comms_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/server_comms/test/server_comms_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule ServerCommsTest do use ExUnit.Case end
12.75
28
0.823529
ff8859402fcb99678b3bf7c933180b36cc23ec32
1,185
exs
Elixir
apps/language_server/mix.exs
kianmeng/elixir-ls
3d7d8c3ae9361af1090805551ce59a5c17d586e0
[ "Apache-2.0" ]
null
null
null
apps/language_server/mix.exs
kianmeng/elixir-ls
3d7d8c3ae9361af1090805551ce59a5c17d586e0
[ "Apache-2.0" ]
null
null
null
apps/language_server/mix.exs
kianmeng/elixir-ls
3d7d8c3ae9361af1090805551ce59a5c17d586e0
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Mixfile do use Mix.Project def project do [ app: :language_server, version: "0.8.0", elixir: ">= 1.10.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", al...
24.6875
77
0.581435
ff886fbde46061dd9466be7c345d78f43dbdd356
159
exs
Elixir
test/ex_leaky_limiter_test.exs
hongsw/ex_leaky_limiter
84733f0e3176d0cbf4bca6e35c192baea0763ee3
[ "MIT" ]
null
null
null
test/ex_leaky_limiter_test.exs
hongsw/ex_leaky_limiter
84733f0e3176d0cbf4bca6e35c192baea0763ee3
[ "MIT" ]
null
null
null
test/ex_leaky_limiter_test.exs
hongsw/ex_leaky_limiter
84733f0e3176d0cbf4bca6e35c192baea0763ee3
[ "MIT" ]
null
null
null
defmodule ExLeakyLimiterTest do use ExUnit.Case doctest ExLeakyLimiter test "greets the world" do assert ExLeakyLimiter.hello() == :world end end
17.666667
43
0.748428
ff88aa497dce95e3501c4855856719846eb24356
2,237
ex
Elixir
apps/commuter_rail_boarding/lib/schedule_cache.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
1
2022-01-30T20:53:07.000Z
2022-01-30T20:53:07.000Z
apps/commuter_rail_boarding/lib/schedule_cache.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
47
2021-05-05T10:31:05.000Z
2022-03-30T22:18:14.000Z
apps/commuter_rail_boarding/lib/schedule_cache.ex
mbta/commuter_rail_boarding
213eb4ac72e5c678b06f3298e98c36b9a9dbd1ff
[ "MIT" ]
1
2021-05-14T00:35:08.000Z
2021-05-14T00:35:08.000Z
defmodule ScheduleCache do @moduledoc """ Caches information about GTFS schedule for later use. """ use GenServer require Logger @table __MODULE__.Table @six_month_timeout :timer.hours(24 * 30 * 60) def start_link(_args \\ []) do GenServer.start_link(__MODULE__, :ok, name: __MODULE__) end @do...
25.134831
76
0.60751
ff88b209a33693cd6fc9f7cb21f491b0d4391f45
2,030
ex
Elixir
lib/nebulex/cache/cluster.ex
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
1
2021-03-01T16:14:07.000Z
2021-03-01T16:14:07.000Z
lib/nebulex/cache/cluster.ex
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
lib/nebulex/cache/cluster.ex
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
defmodule Nebulex.Cache.Cluster do # The module used by cache adapters for # distributed caching functionality. @moduledoc false @doc """ Joins the node where the cache `name`'s supervisor process is running to the `name`'s node group. """ @spec join(name :: atom) :: :ok def join(name) do pid = P...
21.827957
78
0.609852
ff88bd7f9f27734d8906f3f8737daae698268893
1,137
exs
Elixir
config/config.exs
youroff/flow_producers
1e53cc630077a816b599bb62e2775a6f1b6b6c38
[ "MIT" ]
1
2019-03-23T17:49:12.000Z
2019-03-23T17:49:12.000Z
config/config.exs
youroff/flow_producers
1e53cc630077a816b599bb62e2775a6f1b6b6c38
[ "MIT" ]
null
null
null
config/config.exs
youroff/flow_producers
1e53cc630077a816b599bb62e2775a6f1b6b6c38
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.677419
73
0.754617
ff88c567f294e5475b5ca850f9198bf83310cc10
17,527
ex
Elixir
lib/mapail.ex
stephenmoloney/mapail
70a426c4859cca46669914742338c098f95f7808
[ "MIT" ]
4
2017-05-29T14:24:48.000Z
2018-08-18T21:56:18.000Z
lib/mapail.ex
stephenmoloney/mapail
70a426c4859cca46669914742338c098f95f7808
[ "MIT" ]
3
2016-09-05T20:53:14.000Z
2021-07-29T19:19:10.000Z
lib/mapail.ex
stephenmoloney/mapail
70a426c4859cca46669914742338c098f95f7808
[ "MIT" ]
1
2020-09-28T20:19:54.000Z
2020-09-28T20:19:54.000Z
defmodule Mapail do @moduledoc ~S""" Helper library to convert a map into a struct or a struct to a struct. Convert string-keyed maps to structs by calling the `map_to_struct/3` function. Convert atom-keyed and atom/string mixed key maps to structs by piping the `stringify_map/1` into the `map_to_struct/3...
30.641608
128
0.616477
ff88e81b0bf44790d1652096e008aa34cb073f2a
2,207
exs
Elixir
test/controllers/square_controller_test.exs
JKGisMe/square_square_backend
1b5237fff2c9dab0e03082ecf5a5a28a1133935b
[ "MIT" ]
null
null
null
test/controllers/square_controller_test.exs
JKGisMe/square_square_backend
1b5237fff2c9dab0e03082ecf5a5a28a1133935b
[ "MIT" ]
null
null
null
test/controllers/square_controller_test.exs
JKGisMe/square_square_backend
1b5237fff2c9dab0e03082ecf5a5a28a1133935b
[ "MIT" ]
null
null
null
defmodule SquareSquareBackend.SquareControllerTest do use SquareSquareBackend.ConnCase alias SquareSquareBackend.Square @valid_attrs %{dimension: 42, tiles: []} @invalid_attrs %{} setup do conn = conn() |> put_req_header("accept", "application/vnd.api+json") {:ok, conn: conn} end test "lists al...
35.031746
98
0.680562
ff88f40ac2e579ca53a64c7926615e26db352c00
2,261
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/time_of_day.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/time_of_day.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/time_of_day.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...
40.375
214
0.704998
ff88f600c878bd067eb393ab3cd2861731b91f16
9,068
ex
Elixir
lib/mail_slurp_api/api/group_controller.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/api/group_controller.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
null
null
null
lib/mail_slurp_api/api/group_controller.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Api.GroupController do @moduledoc """ API calls for all endpoints tagged `GroupController`. """ alias MailSlurpAPI.Connection ...
30.738983
187
0.642258
ff892dacb7918fb18f77931b7bd22b6d798e6805
773
ex
Elixir
web/models/episode.ex
thluiz/yehudimtv
71aba0ee537b4bba28474fb20d3209fc261a03d7
[ "MIT" ]
null
null
null
web/models/episode.ex
thluiz/yehudimtv
71aba0ee537b4bba28474fb20d3209fc261a03d7
[ "MIT" ]
null
null
null
web/models/episode.ex
thluiz/yehudimtv
71aba0ee537b4bba28474fb20d3209fc261a03d7
[ "MIT" ]
null
null
null
defmodule Yehudimtv.Episode do use Yehudimtv.Web, :model schema "episodes" do field :title, :string field :rabbi, :string field :identifier, :string field :publication, Ecto.DateTime field :order, :integer field :spotlight, :boolean, default: false has_many :videos, Yehudimtv.Video ...
24.15625
83
0.703752
ff894054aa688c98feded0de4ebbb43b819ed073
1,169
exs
Elixir
06-record.exs
lbiru/30-days-of-elixir
8472b6bf4a2f0a12dc6aea930abde2d50867b460
[ "MIT" ]
1
2020-05-27T04:32:37.000Z
2020-05-27T04:32:37.000Z
06-record.exs
tifazxy/30-days-of-elixir
1d3e5cc1580ecbfdf9bd8eafed6ed68cb681404a
[ "MIT" ]
null
null
null
06-record.exs
tifazxy/30-days-of-elixir
1d3e5cc1580ecbfdf9bd8eafed6ed68cb681404a
[ "MIT" ]
1
2018-09-30T00:43:04.000Z
2018-09-30T00:43:04.000Z
ExUnit.start defmodule User do defstruct email: nil, password: nil end defimpl String.Chars, for: User do def to_string(%User{email: email}) do email end end defmodule RecordTest do use ExUnit.Case defmodule ScopeTest do use ExUnit.Case require Record Record.defrecordp :person, first_name...
20.875
94
0.65355
ff89481d46bb7fdc5a0b8991ee1850df04e7e277
1,672
ex
Elixir
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/views/error_helpers.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/views/error_helpers.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/views/error_helpers.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # 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 appl...
34.833333
96
0.710526
ff89551a4ce32f45f5b42140adfe15e5d5895529
1,844
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/date_range.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/date_range.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/date_range.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...
32.928571
129
0.694143
ff89b850ee7da31c6c3348198344b4d2829f4ad5
1,990
exs
Elixir
lib/exercism/space-age/space_age_test.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/space-age/space_age_test.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/space-age/space_age_test.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("space_age.exs", __DIR__) end ExUnit.start # ExUnit.configure exclude: :pending, trace: true # You need to define a SpaceAge module containing a function age_on that given a # planet (:earth, :saturn, etc) and a number of seconds returns the age in year...
28.428571
80
0.707538
ff89bb40a42531569d804074c806852c7a81f2da
74
exs
Elixir
plugins/one_settings/test/test_helper.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_settings/test/test_helper.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_settings/test/test_helper.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(InfinityOne.Repo, :manual)
18.5
57
0.783784
ff89e207d571ccf69bd6356b366f5f9a155443d2
272
ex
Elixir
apps/score_saber/lib/score_saber/model/score.ex
insprac/beat_sync
57444675bca3703c99c0051928f0020225283ffa
[ "MIT" ]
1
2018-10-19T02:06:52.000Z
2018-10-19T02:06:52.000Z
apps/score_saber/lib/score_saber/model/score.ex
insprac/beat_sync
57444675bca3703c99c0051928f0020225283ffa
[ "MIT" ]
null
null
null
apps/score_saber/lib/score_saber/model/score.ex
insprac/beat_sync
57444675bca3703c99c0051928f0020225283ffa
[ "MIT" ]
null
null
null
defmodule ScoreSaber.Model.Score do defstruct( rank: nil, user: nil, score: 0, accuracy: 0, pp: 0 ) @type t :: %__MODULE__{ rank: integer, user: ScoreSaber.Model.User.t, score: integer, accuracy: integer, pp: integer } end
15.111111
35
0.591912
ff8a0eaa62bccc9a5efd85baae4c3fc38509825b
646
exs
Elixir
youtube/elixir_casts/chat/config/test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/elixir_casts/chat/config/test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
1
2021-03-28T13:57:15.000Z
2021-03-29T12:42:21.000Z
youtube/elixir_casts/chat/config/test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :chat, Chat.Repo, username: "postgres", password: "postgres", database: "chat_test#{System.get_env("MI...
28.086957
63
0.743034
ff8a2422bcfbc9443fc987c912ed4769d3eaf662
1,127
ex
Elixir
apps/bytepack/lib/bytepack/application.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
313
2020-12-03T17:26:24.000Z
2022-03-18T09:05:14.000Z
apps/bytepack/lib/bytepack/application.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
null
null
null
apps/bytepack/lib/bytepack/application.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
57
2020-12-03T17:41:53.000Z
2022-03-17T17:28:16.000Z
defmodule Bytepack.Application do @moduledoc false use Application def start(_type, _args) do topologies = Application.fetch_env!(:libcluster, :topologies) children = [ {Cluster.Supervisor, [topologies, [name: Bytepack.ClusterSupervisor]]}, {Finch, name: Bytepack.Finch, pools:...
26.833333
86
0.617569
ff8a2dd554ea73e11c2bef13ae75ddd4d1cda8ff
2,095
exs
Elixir
test/controllers/user_controller_test.exs
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
test/controllers/user_controller_test.exs
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
test/controllers/user_controller_test.exs
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
defmodule Otherpool.UserControllerTest do use Otherpool.ConnCase alias Otherpool.User @valid_attrs %{email: "some content", fullname: "some content"} @invalid_attrs %{} setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end test "lists all entries on index", %{co...
33.790323
98
0.662053
ff8a3614d2a7148c4069b666dd0ca8d714dde85d
2,261
exs
Elixir
test/test_helper.exs
ybod/dicon
9c83a6ed7562af4582eb55fc0f813f10fe5f3feb
[ "ISC" ]
null
null
null
test/test_helper.exs
ybod/dicon
9c83a6ed7562af4582eb55fc0f813f10fe5f3feb
[ "ISC" ]
null
null
null
test/test_helper.exs
ybod/dicon
9c83a6ed7562af4582eb55fc0f813f10fe5f3feb
[ "ISC" ]
null
null
null
ExUnit.start(refute_receive_timeout: 200) Mix.shell(Mix.Shell.Process) defmodule PathHelpers do def fixtures_path() do Path.expand("fixtures", __DIR__) end def fixture_path(extra) do Path.join(fixtures_path(), extra) end end defmodule DiconTest.Case do use ExUnit.CaseTemplate @behaviour Dicon.E...
22.386139
97
0.657674
ff8a3f011c001678d26ce30e2d66e19617de699f
670
exs
Elixir
elixir/protein-translation/protein_translation.exs
drm2/exercisms
2b45c8fdff9c04cceae1875237c65ddb1acd2107
[ "MIT" ]
null
null
null
elixir/protein-translation/protein_translation.exs
drm2/exercisms
2b45c8fdff9c04cceae1875237c65ddb1acd2107
[ "MIT" ]
null
null
null
elixir/protein-translation/protein_translation.exs
drm2/exercisms
2b45c8fdff9c04cceae1875237c65ddb1acd2107
[ "MIT" ]
null
null
null
defmodule ProteinTranslation do @doc """ Given an RNA string, return a list of proteins specified by codons, in order. """ @spec of_rna(String.t()) :: { atom, list(String.t()) } def of_rna(rna) do end @doc """ Given a codon, return the corresponding protein UGU -> Cysteine UGC -> Cysteine UUA -...
19.142857
79
0.623881
ff8a4aa7aa80f5f02e86d82dc4876e14aa929128
370
ex
Elixir
custom_upstream_proxy.ex
adaptunit/upstream_headers
a60842392d4e9df793c76b847a2e2044deaeadf6
[ "MIT" ]
null
null
null
custom_upstream_proxy.ex
adaptunit/upstream_headers
a60842392d4e9df793c76b847a2e2044deaeadf6
[ "MIT" ]
null
null
null
custom_upstream_proxy.ex
adaptunit/upstream_headers
a60842392d4e9df793c76b847a2e2044deaeadf6
[ "MIT" ]
null
null
null
defmodule CustomUpstreamProxy do @behaviour Plug def init(opts) do {UpstreamHeadersProxy.init(opts), ReverseProxyPlug.init(opts)} end def call(conn, {optsPlug1, optsPlug2}) do with %{halted: false} = conn <- UpstreamHeaders.call(conn, optsPlug1), %{halted: false} = conn <- ReverseProxyPlug.c...
24.666667
75
0.683784
ff8a779f544fa3f7aec8a66382fd358e6afbece0
8,078
ex
Elixir
lib/nadia/bot_graph.ex
lightcyphers/nadia
b44535138aac3c61a40816d9460a731127360f1e
[ "MIT" ]
null
null
null
lib/nadia/bot_graph.ex
lightcyphers/nadia
b44535138aac3c61a40816d9460a731127360f1e
[ "MIT" ]
null
null
null
lib/nadia/bot_graph.ex
lightcyphers/nadia
b44535138aac3c61a40816d9460a731127360f1e
[ "MIT" ]
null
null
null
defmodule Nadia.BotGraph do @moduledoc """ Provides access to Telegra.ph API. ## Reference http://telegra.ph/api """ alias Nadia.Graph.Model.{Account, Error} import Nadia.Bot.GraphAPI @doc """ Use this method to create a new Telegraph account. Most users only need one account, but this can be usefu...
49.864198
329
0.693241
ff8a9af3d4b84ee9fad278ca10d7e7dc6b1e06c0
1,348
ex
Elixir
lib/jisho_elixir/v1/url.ex
szTheory/jisho_elixir
14124626af134aa54a6ad36c074071dab84b625e
[ "MIT" ]
20
2017-08-31T17:18:46.000Z
2021-07-12T12:58:15.000Z
lib/jisho_elixir/v1/url.ex
szTheory/jisho_elixir
14124626af134aa54a6ad36c074071dab84b625e
[ "MIT" ]
1
2020-03-08T14:05:35.000Z
2020-03-08T14:05:35.000Z
lib/jisho_elixir/v1/url.ex
szTheory/jisho_elixir
14124626af134aa54a6ad36c074071dab84b625e
[ "MIT" ]
3
2018-05-19T15:11:53.000Z
2020-03-03T14:53:10.000Z
defmodule JishoElixir.V1.URL do @moduledoc false # Handles building the API request URL, Jisho V1 @base "http://jisho.org/api/v1/search/" @doc """ Build URL for searching a word. ## Examples iex> JishoElixir.V1.URL.search_word(["eat","#verb"]) "http://jisho.org/api/v1/search/words?keyword=eat...
20.119403
67
0.654303
ff8ac4e9f927e2fef21841d14f85050a72d7610c
2,053
ex
Elixir
lib/vintage_net/to_elixir/server.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/to_elixir/server.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/to_elixir/server.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.ToElixir.Server do use GenServer require Logger alias VintageNet.ToElixir.{UdhcpcHandler, UdhcpdHandler} @moduledoc """ This GenServer routes messages from C and shell scripts to the appropriate places in VintageNet. """ @doc """ Start the GenServer. """ @spec start_link(Pa...
25.987342
95
0.661471
ff8b3641939aaae6b39c3f4fd9bc85713540eeba
842
ex
Elixir
apps/astarte_pairing_api/lib/astarte_pairing_api_web/plug/log_hwid.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_pairing_api/lib/astarte_pairing_api_web/plug/log_hwid.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_pairing_api/lib/astarte_pairing_api_web/plug/log_hwid.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2019 Ispirata Srl # # 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 appl...
26.3125
74
0.725653
ff8b410cf2f57a06792d3cec3ced36a700b11dac
57
ex
Elixir
lib/fish_web/views/layout_view.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
1
2021-02-09T23:49:40.000Z
2021-02-09T23:49:40.000Z
lib/fish_web/views/layout_view.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
lib/fish_web/views/layout_view.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
defmodule FishWeb.LayoutView do use FishWeb, :view end
14.25
31
0.789474
ff8b77ba71b9e347000c080cb037c13a5b3a5021
34,493
ex
Elixir
lib/ecto/type.ex
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Type do @moduledoc """ Defines functions and the `Ecto.Type` behaviour for implementing custom types. A custom type expects 4 functions to be implemented, all documented and described below. We also provide two examples of how custom types can be used in Ecto to augment existing types or pro...
30.310193
108
0.623953
ff8b846f4bd8c5baafd0cf70549432dfa4e825d1
3,057
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/adsense_reports_generate_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/adsense_reports_generate_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/adsense_reports_generate_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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.955882
273
0.745502
ff8ba8a0611d7f1afcacc4f55df1e256039dad8d
1,227
exs
Elixir
config/prod.secret.exs
mzgajner/smena
6c0243ae1e8d1cef6e8a8e240f0f6b703ea638c9
[ "Unlicense" ]
null
null
null
config/prod.secret.exs
mzgajner/smena
6c0243ae1e8d1cef6e8a8e240f0f6b703ea638c9
[ "Unlicense" ]
null
null
null
config/prod.secret.exs
mzgajner/smena
6c0243ae1e8d1cef6e8a8e240f0f6b703ea638c9
[ "Unlicense" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
29.214286
67
0.714751
ff8bb626d5063d84f6cd8f35b2c0257fc5dd4f92
3,113
exs
Elixir
test/unit/xsd/datatypes/double_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/xsd/datatypes/double_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/xsd/datatypes/double_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.DoubleTest do use RDF.XSD.Datatype.Test.Case, datatype: RDF.XSD.Double, name: "double", primitive: true, comparable_datatypes: [RDF.XSD.Integer, RDF.XSD.Decimal], applicable_facets: [ RDF.XSD.Facets.MinInclusive, RDF.XSD.Facets.MaxInclusive, RDF.XSD.Facets.MinEx...
36.623529
88
0.62512
ff8be22d1780a630bd239551901ae289a2cdf594
1,439
exs
Elixir
test/tradehub/fee_test.exs
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-04T16:54:25.000Z
2021-12-15T06:53:24.000Z
test/tradehub/fee_test.exs
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-19T04:49:00.000Z
2021-06-01T13:36:50.000Z
test/tradehub/fee_test.exs
anhmv/tradehub-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
null
null
null
defmodule TradehubTest.FeeTest do use ExUnit.Case, async: false doctest Tradehub.Fee setup do env = Application.get_all_env(:tradehub) on_exit(fn -> Application.put_all_env([{:tradehub, env}]) end) end test "GET txns_fees should responses a valid result" do result = Tradehub.Fee.txns_fees!() ...
23.590164
87
0.703961
ff8bf3677381bbc67952c266938bb45b6db0c63e
2,636
ex
Elixir
lib/day11/hull_painter2.ex
anamba/adventofcode2019
a5de43ddce8b40f67c3017f349d8563c73c94e20
[ "MIT" ]
null
null
null
lib/day11/hull_painter2.ex
anamba/adventofcode2019
a5de43ddce8b40f67c3017f349d8563c73c94e20
[ "MIT" ]
null
null
null
lib/day11/hull_painter2.ex
anamba/adventofcode2019
a5de43ddce8b40f67c3017f349d8563c73c94e20
[ "MIT" ]
null
null
null
defmodule Day11.HullPainter2 do def part2 do pid = read_program() |> start_program map = iterate(pid) list = map |> Map.keys() |> Enum.sort() end def read_program do "inputs/day11.txt" |> File.stream!() |> Enum.map(fn line -> line |> String.trim() |> String.split(",") |> Enum.map(&...
26.626263
95
0.556146
ff8c01f58c50064ac8484da92f6608028a97927c
2,570
ex
Elixir
lib/game/items.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
1
2019-02-10T10:22:39.000Z
2019-02-10T10:22:39.000Z
lib/game/items.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/items.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.Items do @moduledoc """ Agent for keeping track of items in the system """ use GenServer import Ecto.Query alias Data.Item alias Data.Repo @key :items @doc false def start_link() do GenServer.start_link(__MODULE__, [], name: __MODULE__) end @doc """ Get an item from th...
18.357143
79
0.573152
ff8c07bd50583b1c6fa5a12e7ab1e32a3dfc2f59
563
exs
Elixir
2017/elixir/day24/mix.exs
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
null
null
null
2017/elixir/day24/mix.exs
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
null
null
null
2017/elixir/day24/mix.exs
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
null
null
null
defmodule Day24.Mixfile do use Mix.Project def project do [ app: :day24, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications...
19.413793
88
0.571936
ff8c35104e029b13b44137199caef4a8b895b130
1,989
exs
Elixir
mix.exs
axelson/scenic_driver_glfw
4e5b0d9408abac575812674ec2eee75b221c5f21
[ "Apache-2.0" ]
1
2020-05-16T05:01:48.000Z
2020-05-16T05:01:48.000Z
mix.exs
GregMefford/scenic_driver_glfw
4e5b0d9408abac575812674ec2eee75b221c5f21
[ "Apache-2.0" ]
null
null
null
mix.exs
GregMefford/scenic_driver_glfw
4e5b0d9408abac575812674ec2eee75b221c5f21
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.Driver.Glfw.MixProject do use Mix.Project @github "https://github.com/boydm/scenic_driver_glfw" @version "0.10.0" def project do [ app: :scenic_driver_glfw, version: @version, build_path: "_build", config_path: "config/config.exs", deps_path: "deps", lo...
23.963855
65
0.527401
ff8c3b3f195c25545a320ecb6a693948c21e459d
70
ex
Elixir
installer/phoenix/templates/phx_html/session_view.ex
elixircnx/sanction
5b270fd6eef980d37c06429271f64ec14e0f622d
[ "BSD-3-Clause" ]
130
2016-06-21T07:58:46.000Z
2022-01-01T21:45:23.000Z
installer/phoenix/templates/phx_html/session_view.ex
elixircnx/sanction
5b270fd6eef980d37c06429271f64ec14e0f622d
[ "BSD-3-Clause" ]
50
2016-06-29T16:01:42.000Z
2019-08-07T21:33:49.000Z
installer/phoenix/templates/phx_html/session_view.ex
elixircnx/sanction
5b270fd6eef980d37c06429271f64ec14e0f622d
[ "BSD-3-Clause" ]
20
2016-07-02T11:37:33.000Z
2018-10-26T19:12:41.000Z
defmodule <%= base %>.SessionView do use <%= base %>.Web, :view end
17.5
36
0.614286
ff8c5511a94d3236ea15c4b7da9529be2bb0e7bf
538
exs
Elixir
config/test.exs
SparkPost/elixir-webhook-sample
22d367b63f4995eb0ddb4b0aaf484790987b8491
[ "Apache-2.0" ]
1
2021-12-08T18:15:33.000Z
2021-12-08T18:15:33.000Z
config/test.exs
SparkPost/elixir-webhook-sample
22d367b63f4995eb0ddb4b0aaf484790987b8491
[ "Apache-2.0" ]
null
null
null
config/test.exs
SparkPost/elixir-webhook-sample
22d367b63f4995eb0ddb4b0aaf484790987b8491
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :track_user_agents, TrackUserAgentsWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :t...
26.9
56
0.756506
ff8c58a9d418ce15bba8f240336d585e3c10afff
944
ex
Elixir
lib/lightbridge/mqtt_handler.ex
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
lib/lightbridge/mqtt_handler.ex
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
lib/lightbridge/mqtt_handler.ex
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
defmodule Lightbridge.MqttHandler do @moduledoc """ Implements `Tortoise.Handler` behaviour. """ require Logger alias Lightbridge.Hs100 @behaviour Tortoise.Handler def init(_args) do {:ok, nil} end def connection(status, state) do Logger.warn("Connection status: #{inspect(status)}") {...
18.88
56
0.65572
ff8c67306a33e9cd902e0912751d535da0be24c9
12,708
ex
Elixir
lib/mix/lib/mix/tasks/test.coverage.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/tasks/test.coverage.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/tasks/test.coverage.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.Tasks.Test.Coverage do use Mix.Task @moduledoc """ Build reports from exported test coverage. In this moduledoc, we will describe how the default test coverage works in Elixir and also explore how it is capable of export coverage results to group reports from multiple test runs. ## Line...
32.501279
98
0.663991
ff8c6c57aeb376b708101895401bcca40accae2e
1,710
ex
Elixir
apps/customer/lib/customer/web/models/user.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
102
2017-05-21T18:24:04.000Z
2022-03-10T12:53:20.000Z
apps/customer/lib/customer/web/models/user.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
2
2017-05-21T01:53:30.000Z
2017-12-01T00:27:06.000Z
apps/customer/lib/customer/web/models/user.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
18
2017-05-22T09:51:36.000Z
2021-09-24T00:57:01.000Z
defmodule Customer.Web.User do use Customer.Web, :model alias Customer.Blank schema "users" do field :name, :string, null: false field :email, :string field :is_admin, :boolean, default: false has_many :authorizations, Authorization has_many :favorite_jobs, FavoriteJob has_many :job_appl...
24.782609
131
0.660234
ff8c8cf5385626dfab42c381fce6d67ca0982ff0
452
exs
Elixir
priv/repo/migrations/20200816212935_create_shipping_address.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20200816212935_create_shipping_address.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20200816212935_create_shipping_address.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
defmodule JITJerky.Repo.Migrations.CreateShippingAddress do use Ecto.Migration def change do create table(:shipping_address) do add :country, :string add :name, :string add :address_line1, :string add :address_line2, :string add :city, :string add :province, :string ad...
21.52381
59
0.65708
ff8cc1f9271e1ebdbb711f0eafb724d161a9b21c
9,074
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/route_filters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/route_filters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/route_filters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Network.Api.RouteFilters do @moduledoc """ API calls for all endpoints tagged `RouteFilters`. """ alias Micros...
48.265957
252
0.734737
ff8ccf4b9df7e4ad9be27b18f0f0c4f51e58e23c
765
exs
Elixir
config/test.exs
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
8
2020-09-10T09:18:17.000Z
2022-03-25T03:43:25.000Z
config/test.exs
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
null
null
null
config/test.exs
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
4
2020-12-28T06:13:51.000Z
2021-04-27T18:00:06.000Z
use Mix.Config # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. c...
29.423077
74
0.752941
ff8d0b304135e0d57e23d3ee21b18198cde93ab8
741
ex
Elixir
apps/mishka_user/lib/core_plugins/login/success_logout.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
apps/mishka_user/lib/core_plugins/login/success_logout.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
apps/mishka_user/lib/core_plugins/login/success_logout.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
defmodule MishkaUser.CorePlugin.Login.SuccessLogout do alias MishkaInstaller.Reference.OnUserAfterLogout use MishkaInstaller.Hook, module: __MODULE__, behaviour: OnUserAfterLogout, event: :on_user_after_logout, initial: [] @spec initial(list()) :: {:ok, OnUserAfterLogout.ref(), list()}...
32.217391
119
0.68556
ff8d102da274d7eb4f5ede6c874e9f59f111c074
2,639
ex
Elixir
lib/charge_sessions.ex
Sebi55/ocpp-backend
e2c4920aa3d2986934a17e904d7836d4f2a91945
[ "MIT" ]
11
2019-03-06T12:44:46.000Z
2022-01-20T10:41:30.000Z
lib/charge_sessions.ex
Sebi55/ocpp-backend
e2c4920aa3d2986934a17e904d7836d4f2a91945
[ "MIT" ]
3
2019-03-06T13:29:36.000Z
2020-03-21T15:40:47.000Z
lib/charge_sessions.ex
Sebi55/ocpp-backend
e2c4920aa3d2986934a17e904d7836d4f2a91945
[ "MIT" ]
4
2019-03-06T13:24:13.000Z
2021-12-22T09:17:56.000Z
defmodule Chargesessions do use GenServer use Agent import Logger import Ecto.Query, only: [from: 2] alias Model.Session, as: Session @moduledoc """ Provides access to charge sessions """ def init(args) do {:ok, args} end def start_link(_) do {:ok, pid} = GenServer.start_link(__MODULE__...
28.074468
126
0.661993
ff8d165bc9d9252f0242456cd914aa8cab7b9150
375
exs
Elixir
apps/faqcheck/priv/repo/migrations/20210824003239_create_user_identities.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
apps/faqcheck/priv/repo/migrations/20210824003239_create_user_identities.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
apps/faqcheck/priv/repo/migrations/20210824003239_create_user_identities.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule Faqcheck.Repo.Migrations.CreateUserIdentities do use Ecto.Migration def change do create table(:user_identities) do add :provider, :string, null: false add :uid, :string, null: false add :user_id, references("users", on_delete: :nothing) timestamps() end create uniqu...
23.4375
60
0.690667
ff8d4eae3bd81799fe1f501ea8b5fefa9d726bcc
1,888
ex
Elixir
clients/manufacturers/lib/google_api/manufacturers/v1/model/product_detail.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/manufacturers/lib/google_api/manufacturers/v1/model/product_detail.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/manufacturers/lib/google_api/manufacturers/v1/model/product_detail.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.962963
134
0.724047