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
33cbc1d14b4a92e98d29f1a3d83e7a31e7f1a75b
550
ex
Elixir
lib/uf/sc.ex
edmaarcosta/IEEx
fb457be8c03b7a147463cdd2736f9699a699e22d
[ "MIT" ]
null
null
null
lib/uf/sc.ex
edmaarcosta/IEEx
fb457be8c03b7a147463cdd2736f9699a699e22d
[ "MIT" ]
1
2017-12-05T15:58:10.000Z
2017-12-05T15:58:10.000Z
lib/uf/sc.ex
edmaarcosta/ieex
fb457be8c03b7a147463cdd2736f9699a699e22d
[ "MIT" ]
1
2018-10-01T19:35:47.000Z
2018-10-01T19:35:47.000Z
defmodule IEEx.UF.SC do alias IEEx.Util @peso [9, 8, 7, 6, 5, 4, 3, 2] def is_valid?(input) do ie = Util.only_numbers(input) if String.length(ie) == 9 do l_ie = Util.parse_ie(ie) # extrai digito verificador [f_dig] = Util.get_digs(l_ie, 1) # rest_ie = List.delete_at(l_i...
18.965517
67
0.510909
33cbe7c5b356bbb01ef44e41b92a131816741f9d
16,311
ex
Elixir
lib/wax/metadata.ex
tanguilp/wax
520971397260f9fb9eb24af379fc87219fc3adb0
[ "Apache-2.0" ]
101
2019-02-11T10:39:34.000Z
2022-03-18T16:01:26.000Z
lib/wax/metadata.ex
tanguilp/wax
520971397260f9fb9eb24af379fc87219fc3adb0
[ "Apache-2.0" ]
19
2019-02-14T22:34:34.000Z
2022-01-25T17:42:13.000Z
lib/wax/metadata.ex
tanguilp/wax
520971397260f9fb9eb24af379fc87219fc3adb0
[ "Apache-2.0" ]
10
2019-03-12T15:56:21.000Z
2020-09-20T01:36:23.000Z
defmodule Wax.Metadata do require Logger use GenServer @moduledoc false @fido_alliance_root_cer_der \ """ -----BEGIN CERTIFICATE----- MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4 GA1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbF NpZ24xEzARBgNVBAMTCkdsb2JhbF...
33.018219
98
0.666299
33cbecb81a8ff57ba1423d6850b057aeb0c82b78
5,032
ex
Elixir
apps/snitch_core/lib/core/data/schema/user.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
1
2021-04-08T22:29:19.000Z
2021-04-08T22:29:19.000Z
apps/snitch_core/lib/core/data/schema/user.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
apps/snitch_core/lib/core/data/schema/user.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
defmodule Snitch.Data.Schema.User do @moduledoc """ Models a User """ use Snitch.Data.Schema alias Snitch.Data.Schema.{Order, Role, WishListItem} import Ecto.Query @password_min_length 8 @type t :: %__MODULE__{} schema "snitch_users" do # associations belongs_to(:role, Role) has_many(:or...
30.131737
96
0.659579
33cc2a5f032c39596f7d403be22261e66a56a006
2,670
ex
Elixir
lib/phoenix/ash_dashboard/live/chart_component.ex
ash-project/ash_dashboard
7685db1fc2e0298d332a71e37bd18b558cb2abf5
[ "MIT" ]
null
null
null
lib/phoenix/ash_dashboard/live/chart_component.ex
ash-project/ash_dashboard
7685db1fc2e0298d332a71e37bd18b558cb2abf5
[ "MIT" ]
null
null
null
lib/phoenix/ash_dashboard/live/chart_component.ex
ash-project/ash_dashboard
7685db1fc2e0298d332a71e37bd18b558cb2abf5
[ "MIT" ]
null
null
null
defmodule AshDashboard.ChartComponent do use AshDashboard.Web, :live_component @impl true def mount(socket) do {:ok, socket, temporary_assigns: [data: []]} end @impl true def update(assigns, socket) do {metric, assigns} = Map.pop(assigns, :metric) socket = if metric do assign(so...
29.021739
98
0.558801
33cc4175fecd7c548bb1b9d120b60bc0af5ef170
1,287
exs
Elixir
zeldacat/test/zeldacat_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
zeldacat/test/zeldacat_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
zeldacat/test/zeldacat_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule ZeldacatTest do use ExUnit.Case doctest Zeldacat test "something with a health component can die" do {:ok, entity} = Entity.init() Entity.add_component(entity, HealthComponent, 100) assert HealthComponent.get_hp(entity) == 100 assert HealthComponent.alive?(entity) == true Entity.not...
36.771429
73
0.696193
33cc98e38f98374477d5155f7df63a3ef168eb78
654
exs
Elixir
test/overpex/config_test.exs
brunoasantos/overpex
4ba2697ead3a562255ee1e6e79e4ef23fa3f4a68
[ "MIT" ]
null
null
null
test/overpex/config_test.exs
brunoasantos/overpex
4ba2697ead3a562255ee1e6e79e4ef23fa3f4a68
[ "MIT" ]
null
null
null
test/overpex/config_test.exs
brunoasantos/overpex
4ba2697ead3a562255ee1e6e79e4ef23fa3f4a68
[ "MIT" ]
1
2022-02-17T15:50:47.000Z
2022-02-17T15:50:47.000Z
defmodule Overpex.ConfigTest do use ExUnit.Case test "url/0 with existing config" do Application.put_env(:overpex, :url, "http://example.com") assert Overpex.Config.url() == "http://example.com" end test "url/0 without config" do Application.delete_env(:overpex, :url) assert Overpex.Config.url...
27.25
75
0.698777
33cc9ff46cd9a4ebffef43ed39d9780e25febc7e
136
ex
Elixir
web/controllers/page_controller.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
web/controllers/page_controller.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
web/controllers/page_controller.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
defmodule Yonder.PageController do use Yonder.Web, :controller def index(conn, _params) do render conn, "index.html" end end
17
34
0.727941
33cca445f50cc5b859038eaa92d223dde08fb3ee
1,902
exs
Elixir
prog-elixir-1.3/my.exs
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
1
2019-12-10T22:25:31.000Z
2019-12-10T22:25:31.000Z
prog-elixir-1.3/my.exs
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
3
2020-10-25T04:40:05.000Z
2020-10-25T04:48:10.000Z
prog-elixir-1.3/my.exs
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
null
null
null
defmodule My do def sum(n), do: do_sum(n, 0) defp do_sum(0, sum), do: sum defp do_sum(n, sum), do: do_sum(n - 1, sum + n) def gcd(x, 0), do: x def gcd(x, y), do: gcd(y, rem(x, y)) def guess(actual, l..h) when actual >= l and actual <= h do do_guess(actual, div(l + h, 2), l, h) end defp do_guess(a...
33.368421
108
0.56204
33ccae2da4b9d47eef40e08136ee9b5210a6daf4
335
ex
Elixir
verify/lib/ua_inspector_verify/cleanup/device.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
57
2015-04-07T03:10:45.000Z
2019-03-11T01:01:40.000Z
verify/lib/ua_inspector_verify/cleanup/device.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
16
2015-03-09T19:56:17.000Z
2019-03-16T14:24:02.000Z
verify/lib/ua_inspector_verify/cleanup/device.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
15
2015-02-02T23:14:00.000Z
2019-03-16T13:15:05.000Z
defmodule UAInspectorVerify.Cleanup.Device do @moduledoc false alias UAInspectorVerify.Cleanup.Base @empty_to_unknown [ [:device, :model] ] @doc """ Cleans up a test case. """ @spec cleanup(testcase :: map) :: map def cleanup(testcase) do testcase |> Base.empty_to_unknown(@empty_to_unkn...
17.631579
47
0.686567
33ccbceb62739577981488ff9f9360fc19f2eb30
93
ex
Elixir
lib/balalaika_bear/database.ex
ayrat-playground/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
5
2018-04-30T09:48:17.000Z
2020-05-01T10:20:15.000Z
lib/balalaika_bear/database.ex
BalalaikaIndustries/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
7
2018-04-28T06:39:10.000Z
2018-04-28T07:31:59.000Z
lib/balalaika_bear/database.ex
ayrat-playground/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
2
2018-04-27T19:42:04.000Z
2020-05-01T10:20:02.000Z
defmodule BalalaikaBear.Database do use BalalaikaBear.Macro.API, namespace: "database" end
23.25
52
0.817204
33ccbf56767621f883e8ac710ab96c12fabd0b2f
140,158
ex
Elixir
lib/elixir/lib/kernel.ex
drincruz/elixir
a7019ac90afa6bb1ef1ff6986f73eb6803e3db6a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
drincruz/elixir
a7019ac90afa6bb1ef1ff6986f73eb6803e3db6a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
drincruz/elixir
a7019ac90afa6bb1ef1ff6986f73eb6803e3db6a
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
26.646008
105
0.633813
33ccc729e4637efa6e0f607d9392d6151615a945
1,113
exs
Elixir
clients/script/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/script/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/script/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Script.V1.Mixfile do use Mix.Project @version "0.2.0" def project do [app: :google_api_script, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps...
23.1875
106
0.60018
33ccfae5dc5eb9eb7c13a7c2fc5b930dd272ae2a
1,442
exs
Elixir
config/config.exs
petermm/kandesk
6d940efcd1023b4667904b5a7a3a517be013702c
[ "MIT" ]
158
2020-09-01T13:21:59.000Z
2022-03-31T12:41:03.000Z
config/config.exs
petermm/kandesk
6d940efcd1023b4667904b5a7a3a517be013702c
[ "MIT" ]
8
2020-09-01T21:09:05.000Z
2022-01-20T21:46:18.000Z
config/config.exs
petermm/kandesk
6d940efcd1023b4667904b5a7a3a517be013702c
[ "MIT" ]
18
2020-09-01T13:23:45.000Z
2022-02-15T09:47:39.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. # General application configuration use Mix.Config config :kandesk, ecto_repos: [Kandesk.Repo] #...
32.044444
86
0.782247
33ccfe936826a1edf537a7004ba3d7a26601f75e
3,288
exs
Elixir
apps/aecore/test/aecore_tx_test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/test/aecore_tx_test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/test/aecore_tx_test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
defmodule AecoreTxTest do @moduledoc """ Unit tests for the Aecore.Txs.Tx module """ use ExUnit.Case alias Aecore.Chain.Worker, as: Chain alias Aecore.Structures.SignedTx alias Aecore.Structures.SpendTx alias Aecore.Wallet.Worker, as: Wallet alias Aewallet.Signing alias Aeutil.Serialization set...
36.94382
93
0.640207
33cd00f443090cc0b0ae2ac3f3aa09102e2ebaeb
1,652
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/delete_developer_metadata_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/sheets/lib/google_api/sheets/v4/model/delete_developer_metadata_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/delete_developer_metadata_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.416667
160
0.754237
33cd1208cfb9bcbf24d651cbf68e1c8882aad49d
7,725
ex
Elixir
lib/plausible_release.ex
avimanyu786/analytics
9cc2e3b656916b0f682f2e30e37dbbd79a67b169
[ "MIT" ]
2
2020-05-16T13:48:44.000Z
2020-05-22T09:52:36.000Z
lib/plausible_release.ex
avimanyu786/analytics
9cc2e3b656916b0f682f2e30e37dbbd79a67b169
[ "MIT" ]
null
null
null
lib/plausible_release.ex
avimanyu786/analytics
9cc2e3b656916b0f682f2e30e37dbbd79a67b169
[ "MIT" ]
null
null
null
defmodule Plausible.Release do use Plausible.Repo @app :plausible @start_apps [ :postgrex, :ecto ] def init_admin do prepare() {admin_email, admin_user, admin_pwd} = validate_admin( {Application.get_env(:plausible, :admin_email), Application.get_env(:plausible, :admin_u...
29.150943
96
0.662136
33cd1554bb68d18cb7d81d0f970f704ff738ef74
4,743
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/45.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/45.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/45.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** noun verb SYM pnoun verb_aux; cm verb noun verb verb_aux; verb verb_aux verb_aux conj verb_aux; verb verb_aux verb_aux SYM verb_aux; particle verb verb_aux SYM verb_aux; pnoun verb verb_aux noun verb_aux; nst particle verb_aux verb_aux verb; verb verb_aux verb_aux SYM verb_aux; verb verb_aux ...
33.878571
45
0.796331
33cd2674c359b8c6336dcc1b6dbc37b8ab0e81c0
62
ex
Elixir
test/test3.ex
uael/ft_ls
de3861f5a14330a70aab80f1ace44fdb63d2fd73
[ "Unlicense" ]
1
2018-10-03T03:44:14.000Z
2018-10-03T03:44:14.000Z
test/test3.ex
uael/ft_ls
de3861f5a14330a70aab80f1ace44fdb63d2fd73
[ "Unlicense" ]
null
null
null
test/test3.ex
uael/ft_ls
de3861f5a14330a70aab80f1ace44fdb63d2fd73
[ "Unlicense" ]
null
null
null
ft_ls: illegal option -- - usage: ft_ls [-1Rahlrt] [file ...]
20.666667
34
0.629032
33cd4377ec09629178fe0075eb793cdcfa1f5d0c
1,369
exs
Elixir
test/cbuf_queue_test.exs
ckampfe/cbuf
7d9ac46558303cbf1aa421691c487ffe66227771
[ "MIT" ]
9
2018-01-27T22:27:32.000Z
2019-09-06T21:13:44.000Z
test/cbuf_queue_test.exs
ckampfe/cbuf
7d9ac46558303cbf1aa421691c487ffe66227771
[ "MIT" ]
2
2018-02-06T06:02:45.000Z
2018-03-06T03:43:58.000Z
test/cbuf_queue_test.exs
ckampfe/cbuf
7d9ac46558303cbf1aa421691c487ffe66227771
[ "MIT" ]
1
2019-09-24T10:16:02.000Z
2019-09-24T10:16:02.000Z
defmodule CbufQueueTest do use ExUnit.Case, async: true doctest Cbuf.Queue describe "queue protocol tests" do test "Enumerable" do list = ["a", "b", "c", "d", "e", "f", "g"] empty = Cbuf.Queue.new(5) partial = Cbuf.Queue.new(5) |> Cbuf.Queue.insert("ok") filled = Enum.reduce(...
30.422222
79
0.552958
33cd6020e8b6d2475e7f697a41dca8f648caf6ea
44,572
ex
Elixir
lib/ecto/association.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
1
2019-07-25T17:42:33.000Z
2019-07-25T17:42:33.000Z
lib/ecto/association.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
lib/ecto/association.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
import Ecto.Query, only: [from: 2, join: 4, distinct: 3] defmodule Ecto.Association.NotLoaded do @moduledoc """ Struct returned by associations when they are not loaded. The fields are: * `__field__` - the association field in `owner` * `__owner__` - the schema that owns the association * `__cardin...
35.6576
118
0.657992
33cd60c000bc025c3b2c3ab820e3453c96fe05d5
1,880
ex
Elixir
lib/hasher_web.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
lib/hasher_web.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
lib/hasher_web.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
defmodule HasherWeb 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 HasherWeb, :controller use HasherWeb, :view The definitions below will be executed for every view, controller, etc...
22.926829
76
0.683511
33cd7b7b38c7318a576bedd7c22840a9680b9d79
3,899
exs
Elixir
mix.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
mix.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
mix.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
defmodule Banchan.MixProject do use Mix.Project def project do [ app: :banchan, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), elixirc_options: [warnings_as_errors: true], compilers: [:phoenix, :gettext] ++ Mix.compilers() ++ [:surface], s...
30.224806
84
0.522955
33cd96d1fe252e1b71c279cf42a753c9e8865fab
898
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.259259
74
0.762806
33cd9e28ea4139a95486b5ca3e68c51dcc25b12e
4,924
exs
Elixir
mix.exs
PaoloLaurenti/eventstore
aa1731e7684d9eb85e7c1fdee827f30d6688ca14
[ "MIT" ]
null
null
null
mix.exs
PaoloLaurenti/eventstore
aa1731e7684d9eb85e7c1fdee827f30d6688ca14
[ "MIT" ]
null
null
null
mix.exs
PaoloLaurenti/eventstore
aa1731e7684d9eb85e7c1fdee827f30d6688ca14
[ "MIT" ]
null
null
null
defmodule EventStore.Mixfile do use Mix.Project @version "1.0.0-rc.0" def project do [ app: :eventstore, version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), description: description(), package: package(), docs: docs(), ...
25.780105
90
0.550975
33cdb124a0fb78c00a57ba59e03d41fa3bdd23fe
1,543
ex
Elixir
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/empty.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...
36.738095
345
0.760207
33cdc0cefa80168b7ca9263244413a0b6b3da26c
1,790
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/custom_event_impression_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/custom_event_impression_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/custom_event_impression_annotation.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...
35.8
169
0.744693
33cdc2977c2d201e4ee2038f06a10ee02c01a0b2
514
ex
Elixir
apps/ex_wire/lib/ex_wire/tcp_listening_supervisor.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
apps/ex_wire/lib/ex_wire/tcp_listening_supervisor.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
apps/ex_wire/lib/ex_wire/tcp_listening_supervisor.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
defmodule ExWire.TCPListeningSupervisor do @moduledoc """ Top level supervisor for all incoming TCP communications. """ use Supervisor def start_link(_) do Supervisor.start_link(__MODULE__, [], name: __MODULE__) end @impl true def init(_) do port = ExWire.Config.listen_port() children = [...
22.347826
68
0.692607
33cdcc2a45a9cc92da0a0784d8bb9640e0785bf9
1,029
ex
Elixir
lib/hypermock/structs.ex
mfeckie/hypermock
93d580567f05f0dcbee2f200b9b60ef905621d21
[ "MIT" ]
25
2015-07-29T15:17:56.000Z
2019-12-24T11:24:13.000Z
lib/hypermock/structs.ex
mfeckie/hypermock
93d580567f05f0dcbee2f200b9b60ef905621d21
[ "MIT" ]
6
2015-07-29T14:54:33.000Z
2015-12-15T17:12:32.000Z
lib/hypermock/structs.ex
mfeckie/hypermock
93d580567f05f0dcbee2f200b9b60ef905621d21
[ "MIT" ]
2
2015-11-14T11:35:38.000Z
2016-02-24T06:02:12.000Z
defmodule HyperMock.Request do defstruct method: :get, uri: "http://example.com/", headers: [], body: "" end defmodule HyperMock.Response do defstruct body: "", status: 200, headers: [] end defmodule HyperMock.NetConnectNotAllowedError do defexception [:message] def exception(value) do message = """ ...
24.5
159
0.688047
33ce3da1ee14799fdf9701b664ac37c575682ecf
200
exs
Elixir
priv/repo/migrations/20170925014848_create_threads.exs
making3/summoner-alerts-service
b560d53cb39048049f52dd99d796eab52544da9d
[ "MIT" ]
null
null
null
priv/repo/migrations/20170925014848_create_threads.exs
making3/summoner-alerts-service
b560d53cb39048049f52dd99d796eab52544da9d
[ "MIT" ]
null
null
null
priv/repo/migrations/20170925014848_create_threads.exs
making3/summoner-alerts-service
b560d53cb39048049f52dd99d796eab52544da9d
[ "MIT" ]
null
null
null
defmodule SummonerAlerts.Repo.Migrations.CreateThreads do use Ecto.Migration def change do create table(:threads) do add :thread_id, :string add :title, :string end end end
18.181818
57
0.7
33ce4630a9a31d67cddae41b2ab1d37a6c104ee7
3,657
ex
Elixir
apps/evm/lib/evm/machine_state.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
22
2017-06-22T02:50:34.000Z
2022-01-26T20:43:21.000Z
apps/evm/lib/evm/machine_state.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
9
2018-10-08T22:56:56.000Z
2018-10-18T20:41:55.000Z
apps/evm/lib/evm/machine_state.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
5
2018-10-06T16:30:48.000Z
2022-01-26T20:43:26.000Z
defmodule EVM.MachineState do @moduledoc """ Module for tracking the current machine state, which is roughly equivilant to the VM state for an executing contract. This is most often seen as µ in the Yellow Paper. """ alias EVM.Gas alias EVM.Stack alias EVM.MachineState alias EVM.ProgramCounter ali...
30.475
125
0.665299
33ce710ed719aacb4852bfc4a9c60c4486d46d08
545
ex
Elixir
lib/open_movie_api_web/views/error_view.ex
ourway/imdb-api
4db426abec4c46ceb2cb19292f3fdd15930beaec
[ "MIT" ]
5
2019-11-02T14:35:49.000Z
2022-01-22T12:26:23.000Z
lib/open_movie_api_web/views/error_view.ex
ourway/imdb-api
4db426abec4c46ceb2cb19292f3fdd15930beaec
[ "MIT" ]
null
null
null
lib/open_movie_api_web/views/error_view.ex
ourway/imdb-api
4db426abec4c46ceb2cb19292f3fdd15930beaec
[ "MIT" ]
null
null
null
defmodule OpenMovieApiWeb.ErrorView do use OpenMovieApiWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status me...
32.058824
83
0.724771
33ce7bd1bedfb2b2e00d429f1713853a784137dd
447
ex
Elixir
lib/gandalf/authentication/error.ex
pragmaticivan/gandalf
d6f79489104f3b3544247856bb93679f47ec9e0d
[ "Apache-2.0", "MIT" ]
1
2018-05-01T01:34:56.000Z
2018-05-01T01:34:56.000Z
lib/gandalf/authentication/error.ex
pragmaticivan/gandalf
d6f79489104f3b3544247856bb93679f47ec9e0d
[ "Apache-2.0", "MIT" ]
null
null
null
lib/gandalf/authentication/error.ex
pragmaticivan/gandalf
d6f79489104f3b3544247856bb93679f47ec9e0d
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule Gandalf.Authentication.Error do @moduledoc false @doc false def invalid_request(msg), do: {:error, %{invalid_request: msg}, :bad_request} @doc false def invalid_token(msg), do: {:error, %{invalid_token: msg}, :unauthorized} @doc false def insufficient_scope(required_scopes) do { :er...
23.526316
88
0.675615
33ce82a9a8ef7e12d55c2c1d104e66f0b8dd8621
1,923
ex
Elixir
lib/camino_challenge/pessoas/repositories/pessoas_fisicas.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
lib/camino_challenge/pessoas/repositories/pessoas_fisicas.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
lib/camino_challenge/pessoas/repositories/pessoas_fisicas.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
defmodule CaminoChallenge.Pessoas.Repositories.PessoaFisicaRepository do @moduledoc """ The PessoasFisicas context. """ import Ecto.Query, warn: false alias CaminoChallenge.Repo require Logger alias CaminoChallenge.Pessoas.Entities.Pessoa alias CaminoChallenge.Pessoas.Entities.PessoaFisica @doc """ ...
24.653846
72
0.644826
33ce8ca858cb01e1741d6ec0d0e508df1a0315a3
2,100
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/search_range_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/search_range_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/search_range_request.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...
42
332
0.742381
33ceaad53a3b83a6ea95c2642ad47b2cbfffd527
1,733
exs
Elixir
mix.exs
nardopessoa/distillery
9b0b874ec183986ee480b69f16377eccf6046059
[ "MIT" ]
null
null
null
mix.exs
nardopessoa/distillery
9b0b874ec183986ee480b69f16377eccf6046059
[ "MIT" ]
null
null
null
mix.exs
nardopessoa/distillery
9b0b874ec183986ee480b69f16377eccf6046059
[ "MIT" ]
null
null
null
defmodule Distillery.Mixfile do use Mix.Project def project do [app: :distillery, version: "1.5.1", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), description: description(), package: package(), docs: docs(), ali...
26.257576
67
0.567802
33cead43d62c6238a62e9ed21f63f9a6441fce6f
501
ex
Elixir
lib/daily_mnmlist_web/views/error_view.ex
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
lib/daily_mnmlist_web/views/error_view.ex
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
lib/daily_mnmlist_web/views/error_view.ex
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
defmodule DailyMnmlistWeb.ErrorView do use DailyMnmlistWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the tem...
29.470588
61
0.740519
33cec98a2501ccd355a0a0c647164ac55ef6fd06
489
ex
Elixir
lib/doc_gen_web/views/error_view.ex
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
null
null
null
lib/doc_gen_web/views/error_view.ex
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
27
2018-10-29T18:34:44.000Z
2019-03-11T18:43:12.000Z
lib/doc_gen_web/views/error_view.ex
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
null
null
null
defmodule DocGenWeb.ErrorView do use DocGenWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. ...
28.764706
61
0.734151
33cef02a5272a4e67ad1c8886cd3868876024681
3,277
exs
Elixir
test/unit/nquads_star_encoder_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/nquads_star_encoder_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/nquads_star_encoder_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
2
2018-01-19T15:48:27.000Z
2020-03-01T00:29:35.000Z
defmodule RDF.Star.NQuads.EncoderTest do use RDF.Test.Case alias RDF.NQuads test "quoted triples on subject position" do assert NQuads.Encoder.encode!(graph_with_annotation()) == """ << <http://example.com/S> <http://example.com/P> "Foo" >> <http://example.com/ap> <http://example.c...
42.558442
437
0.46506
33cef4e57fa5eaeda5675dc10e7cb66394d5b12a
16,798
ex
Elixir
lib/elixir/lib/list.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/list.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/list.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
defmodule List do @moduledoc """ Specialized functions that only work on lists. In general, favor using the `Enum` API instead of `List`. Index access for list is linear. Negative indexes are also supported but they imply the list will be iterated twice, one to calculate the proper index and another to pe...
22.547651
90
0.597214
33cefc2a01102ee2d2569982c24771acfca0e968
1,016
ex
Elixir
lib/ex_limiter/utils.ex
Miserlou/ex_limiter
31391989dfca30d2f86cba04c5510c386efacdf4
[ "MIT" ]
28
2018-08-06T16:08:27.000Z
2022-03-01T16:54:10.000Z
lib/ex_limiter/utils.ex
Miserlou/ex_limiter
31391989dfca30d2f86cba04c5510c386efacdf4
[ "MIT" ]
3
2019-03-11T17:20:50.000Z
2019-05-10T02:17:53.000Z
lib/ex_limiter/utils.ex
Miserlou/ex_limiter
31391989dfca30d2f86cba04c5510c386efacdf4
[ "MIT" ]
4
2019-04-18T00:06:05.000Z
2021-12-01T18:30:05.000Z
defmodule ExLimiter.Utils do def now(), do: :os.system_time(:millisecond) def batched_ets(table, match_spec \\ {:"$1", :_, :_}, batch_size \\ 1000, total \\ 100_000, fnc) do :ets.match(table, match_spec, batch_size) |> process_batch(0, total, fnc) end defp process_batch(_, count, total, _) when count ...
32.774194
101
0.653543
33cf24f63668aae2d1d2a230364c201c95b917bf
3,616
ex
Elixir
lib/plotex/view_range.ex
elcritch/plotter
ab3947fd17bd117f6185a4790c63e0c304bd1c6d
[ "Apache-2.0" ]
75
2019-06-09T07:08:45.000Z
2022-03-23T16:11:55.000Z
lib/plotex/view_range.ex
elcritch/plotter
ab3947fd17bd117f6185a4790c63e0c304bd1c6d
[ "Apache-2.0" ]
6
2020-01-12T08:40:01.000Z
2021-08-02T20:55:36.000Z
lib/plotex/view_range.ex
elcritch/plotter
ab3947fd17bd117f6185a4790c63e0c304bd1c6d
[ "Apache-2.0" ]
5
2020-03-30T20:38:57.000Z
2021-04-02T15:52:28.000Z
defmodule Plotex.ViewRange do alias __MODULE__ @unix_epoch ~N[1970-01-01 00:00:00] defstruct start: 10, stop: 90, projection: :cartesian @type t :: %Plotex.ViewRange{start: number(), stop: number(), projection: :cartesian | :polar} def new({a, b}, proj \\ :cartesian) do %ViewRa...
31.172414
99
0.630808
33cf367628af85ce2b5d6b32cbc8f729a88d3d95
349
ex
Elixir
test/support/register_request.ex
kianmeng/elixir-request-validator
751b3d837267c18292f953fe1b03891f4ee8a163
[ "MIT" ]
null
null
null
test/support/register_request.ex
kianmeng/elixir-request-validator
751b3d837267c18292f953fe1b03891f4ee8a163
[ "MIT" ]
null
null
null
test/support/register_request.ex
kianmeng/elixir-request-validator
751b3d837267c18292f953fe1b03891f4ee8a163
[ "MIT" ]
null
null
null
defmodule Request.Validation.RegisterRequest do @behaviour Request.Validator @impl Request.Validator def rules(_) do %{ email: [:required, :email], name: [:required, :string], age: [:required, :numeric] } end @impl Request.Validator @spec authorize(Plug.Conn.t())::boolean() de...
19.388889
47
0.65043
33cf40ecc34cf0b55569109022d32414a0d5bc81
119
exs
Elixir
config/dev.exs
mad42/ex_png
bde6fbb237c632342dc009c315125d4c3e2a8b99
[ "Unlicense" ]
14
2021-01-31T16:06:43.000Z
2021-11-04T18:10:25.000Z
config/dev.exs
mad42/ex_png
bde6fbb237c632342dc009c315125d4c3e2a8b99
[ "Unlicense" ]
6
2021-01-31T14:52:17.000Z
2022-02-01T08:41:03.000Z
config/dev.exs
mad42/ex_png
bde6fbb237c632342dc009c315125d4c3e2a8b99
[ "Unlicense" ]
2
2021-04-26T18:51:35.000Z
2022-01-17T03:39:25.000Z
use Mix.Config config :mix_test_watch, tasks: [ "test", "coveralls.html", "docs", "credo --all" ]
11.9
23
0.554622
33cf6ac10340dd93f403162388e961a8396f73b9
1,548
exs
Elixir
bench/dateformat_bench.exs
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
bench/dateformat_bench.exs
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
bench/dateformat_bench.exs
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
defmodule Timex.DateFormat.Bench do use Benchfella use Timex alias Timex.Parse.DateTime.Tokenizers.Strftime alias Timex.Parse.DateTime.Tokenizers.Default @datetime "2014-07-22T12:30:05Z" @datetime_zoned "2014-07-22T12:30:05+0200" bench "(default) parse ISO 8601 datetime" do datetime ...
30.352941
78
0.602713
33cf7b0997c9ac247e537113f9d9aa0769dea403
309
ex
Elixir
test/support/factory.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
test/support/factory.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
test/support/factory.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
defmodule Asciinema.Factory do use ExMachina.Ecto, repo: Asciinema.Repo alias Asciinema.Accounts.User def user_factory do %User{username: sequence(:username, &"username-#{&1}"), email: sequence(:email, &"email-#{&1}@example.com"), auth_token: Crypto.random_token(20)} end end
28.090909
62
0.679612
33cf7c1c5589ef68951b3fe3c49cbb0c5286d8bb
2,737
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_group_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_group_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_group_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.444444
381
0.736208
33cfb58f2c51666ebf49e77bd5cb81e5935a0662
194
ex
Elixir
lib/changelog/policies/admin.ex
wojtekmach/changelog.com
d4a8a7703c5f07a3da63bffd770f4642488cf8fd
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
lib/changelog/policies/admin.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
lib/changelog/policies/admin.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule Changelog.Policies.Admin do use Changelog.Policies.Default def index(actor), do: is_admin(actor) || is_editor(actor) || is_host(actor) def purge(actor), do: is_admin(actor) end
27.714286
77
0.747423
33cfc279a7fc7e93dc35345c51787793f2a22688
967
exs
Elixir
test/json_schema_test_suite/draft7/optional/format/ipv4_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_schema_test_suite/draft7/optional/format/ipv4_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_schema_test_suite/draft7/optional/format/ipv4_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft7.Optional.Format.Ipv4Test do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|validation of IP addresses| do setup do %{schema: JsonXema.new(%{"format" => "ipv4"})} end test ~s|a valid IP address|, %{schema: schema} do assert valid?(sche...
26.861111
73
0.635988
33cfc965b05e82adcca7ab5096d4f811e4e66e37
1,839
ex
Elixir
config/dispatcher/dispatcher.ex
MiVvlt/api-persberichten
8be3ca048aa29b8a3ced90092b01fe51a9773d63
[ "MIT" ]
null
null
null
config/dispatcher/dispatcher.ex
MiVvlt/api-persberichten
8be3ca048aa29b8a3ced90092b01fe51a9773d63
[ "MIT" ]
null
null
null
config/dispatcher/dispatcher.ex
MiVvlt/api-persberichten
8be3ca048aa29b8a3ced90092b01fe51a9773d63
[ "MIT" ]
null
null
null
defmodule Dispatcher do use Matcher define_accept_types [ html: [ "text/html", "application/xhtml+html" ], json: [ "application/json", "application/vnd.api+json" ], ] @any %{} @json %{ accept: %{ json: true } } @html %{ accept: %{ html: true } } # In order to forward the 'themes' resource to th...
25.541667
72
0.651441
33cfeea4c1969236e18567ba4db6f99169697da3
10,720
ex
Elixir
lib/elixir/lib/map_set.ex
dwellmind/elixir
0a248debe36ffc4a2e3626b3c5a8498e0cfb753c
[ "Apache-2.0" ]
4
2019-03-04T10:05:55.000Z
2019-03-06T17:30:59.000Z
lib/elixir/lib/map_set.ex
dwellmind/elixir
0a248debe36ffc4a2e3626b3c5a8498e0cfb753c
[ "Apache-2.0" ]
5
2015-02-07T14:46:40.000Z
2020-09-20T16:43:42.000Z
lib/elixir/lib/map_set.ex
dwellmind/elixir
0a248debe36ffc4a2e3626b3c5a8498e0cfb753c
[ "Apache-2.0" ]
2
2018-04-03T08:57:41.000Z
2019-03-04T08:20:04.000Z
defmodule MapSet do @moduledoc """ Functions that work on sets. A set is a data structure that can contain unique elements of any kind, without any particular order. `MapSet` is the "go to" set data structure in Elixir. A set can be constructed using `MapSet.new/0`: iex> MapSet.new() #MapSet<[]...
26.666667
100
0.616325
33d0380c98b5a11a20c8a0cc1bc7ba0d06095947
4,977
ex
Elixir
lib/coxir/struct/guild.ex
jano017/coxir
81e89e0113a9219685be2b61af7d17c5fcd9e5fb
[ "Apache-2.0" ]
null
null
null
lib/coxir/struct/guild.ex
jano017/coxir
81e89e0113a9219685be2b61af7d17c5fcd9e5fb
[ "Apache-2.0" ]
null
null
null
lib/coxir/struct/guild.ex
jano017/coxir
81e89e0113a9219685be2b61af7d17c5fcd9e5fb
[ "Apache-2.0" ]
null
null
null
defmodule Coxir.Struct.Guild do use Coxir.Struct use Bitwise alias Coxir.Gateway alias Coxir.Struct.{User, Role, Member, Channel} def pretty(struct) do struct |> replace(:owner_id, &User.get/1) |> replace(:afk_channel_id, &Channel.get/1) |> replace(:embed_channel_id, &Channel.get/1) |> r...
22.418919
67
0.599759
33d03e9765efeb946ead12d4c1cd9731f62bb331
2,665
exs
Elixir
config/dev.exs
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
1
2021-11-18T13:32:47.000Z
2021-11-18T13:32:47.000Z
config/dev.exs
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
null
null
null
config/dev.exs
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :console, ConsoleWeb.Endpoint, http: [port: 40...
28.351064
170
0.71257
33d04bb0b26de486a205cb43e05d9e7a0e05130c
1,135
ex
Elixir
test/support/channel_case.ex
abmBispo/elixir-films
a8464c0cf180be4e8c5835da2702b73aeb5b0cd2
[ "MIT" ]
null
null
null
test/support/channel_case.ex
abmBispo/elixir-films
a8464c0cf180be4e8c5835da2702b73aeb5b0cd2
[ "MIT" ]
null
null
null
test/support/channel_case.ex
abmBispo/elixir-films
a8464c0cf180be4e8c5835da2702b73aeb5b0cd2
[ "MIT" ]
null
null
null
defmodule ElixirFilmsWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interac...
27.682927
73
0.73304
33d06db69d35615e35424e8d6266bf7acfdf5762
78
exs
Elixir
test/ex_dass_web/views/page_view_test.exs
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
8
2018-03-21T17:44:35.000Z
2020-01-12T03:24:18.000Z
test/ex_dass_web/views/page_view_test.exs
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
5
2018-03-22T02:03:10.000Z
2018-04-03T15:19:03.000Z
test/ex_dass_web/views/page_view_test.exs
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
1
2018-03-30T11:09:40.000Z
2018-03-30T11:09:40.000Z
defmodule ExDaasWeb.PageViewTest do use ExDaasWeb.ConnCase, async: true end
19.5
37
0.820513
33d07b583e869ee75310e47233614714c3bb293f
3,052
ex
Elixir
lib/chess_app/chess/move.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
3
2017-06-02T20:47:07.000Z
2018-05-25T11:17:12.000Z
lib/chess_app/chess/move.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
null
null
null
lib/chess_app/chess/move.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
null
null
null
defmodule ChessApp.Chess.Move do defstruct [:to,:from,:promotion,:chesspiece,:special,:side,:capture] alias ChessApp.Chess.Board alias ChessApp.Chess.Move import ChessApp.Chess.Board.Macros def from_algebraic_notation(an,board = %Board{}) do codes = String.downcase(an) |> String.codepoints wit...
44.882353
166
0.66481
33d09a54ba8c72a117dfe7569510199486d9be47
1,792
ex
Elixir
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.12766
320
0.758371
33d0bb378db5eb2cc9dc32e8cb9becacd3058a64
197
exs
Elixir
priv/repo/migrations/20191201145416_add_is_active_to_users.exs
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
4
2020-05-05T18:37:28.000Z
2022-01-05T00:56:19.000Z
priv/repo/migrations/20191201145416_add_is_active_to_users.exs
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
21
2019-12-01T15:32:02.000Z
2019-12-19T13:10:36.000Z
priv/repo/migrations/20191201145416_add_is_active_to_users.exs
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
2
2020-09-12T16:07:11.000Z
2020-12-11T06:46:45.000Z
defmodule Bank.Repo.Migrations.AddIsActiveToUsers do use Ecto.Migration def change do alter table(:clients) do add :is_active, :boolean, default: true, null: false end end end
19.7
58
0.715736
33d0bca84d748ac151e3fda56f9f253fb126555e
1,647
ex
Elixir
lib/plugs/plugverifycookie.ex
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
25
2017-03-15T15:54:39.000Z
2021-04-26T08:23:01.000Z
lib/plugs/plugverifycookie.ex
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
12
2016-09-10T04:08:46.000Z
2020-06-15T08:15:03.000Z
lib/plugs/plugverifycookie.ex
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
26
2017-06-02T00:14:32.000Z
2022-03-17T14:48:14.000Z
defmodule Jwt.Plugs.VerifyCookie do import Plug.Conn alias Jwt.Plugs.Verification, as: Verification def default_verification_failure_response, do: %{"response" => :unauthorized} def default_cookie_name, do: "googlejwt" def init(opts) do case Enum.count(opts) do 3 -> opts _ -> ...
24.58209
88
0.649666
33d0cf2a42fbc9b1abef4d229271a8abdb577edc
627
exs
Elixir
elixir/learning-files/part-1/info-on-values.exs
Cyan101/code-examples
7f112c716a3deb3b4d21b27590939e9aa71b8448
[ "MIT" ]
null
null
null
elixir/learning-files/part-1/info-on-values.exs
Cyan101/code-examples
7f112c716a3deb3b4d21b27590939e9aa71b8448
[ "MIT" ]
1
2018-10-05T06:00:01.000Z
2018-10-05T06:00:01.000Z
elixir/learning-files/part-1/info-on-values.exs
Cyan101/code-examples
7f112c716a3deb3b4d21b27590939e9aa71b8448
[ "MIT" ]
1
2018-10-05T04:43:55.000Z
2018-10-05T04:43:55.000Z
pizza = "Pepperoni Pizza is Great!" my_list = [4, 2, 0] # Now we can use i/1 to investigate these i pizza #= #Term # "Pepperoni Pizza is Great!" #Data type # BitString #Byte size # 25 #Description # This is a string: a UTF-8 encoded binary. It's printed surrounded by # "double quotes" because all UTF-8 encoded c...
25.08
121
0.688995
33d0f8d2d316518f679377a9a320fa2e44e4e9c1
933
ex
Elixir
apps/go_stop_web/test/support/channel_case.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
8
2017-06-04T04:05:47.000Z
2019-11-04T18:00:45.000Z
apps/go_stop_web/test/support/channel_case.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
19
2018-04-19T07:24:57.000Z
2019-08-07T16:37:05.000Z
apps/go_stop_web/test/support/channel_case.ex
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
1
2018-07-18T07:51:47.000Z
2018-07-18T07:51:47.000Z
defmodule GoStopWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts wit...
24.552632
68
0.714898
33d0fc8b61b38a64f0ebbce456f9f509268eb967
3,433
ex
Elixir
web/router.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
web/router.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
web/router.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.Router do use Eecrit.Web, :router import Eecrit.SessionPlugs, only: [add_current_user: 2, v2_add_current_user: 2, require_login: 2, require_admin: 2, r...
33.656863
77
0.684824
33d0ff9d5dfc3f55d5c2b43c5a4d8da453dccbb1
584
exs
Elixir
apps/xomg_tasks/test/test_helper.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/xomg_tasks/test/test_helper.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/xomg_tasks/test/test_helper.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
41.714286
74
0.763699
33d104fcaf9c997c3bd445031fd749b6f90daa49
1,135
ex
Elixir
lib/elixir_boilerplate/release_tasks.ex
k0d3rR/Elixir-Boilerplate
e69693497f68cb92f9e2d4cd79b7c774564be437
[ "Unlicense" ]
1
2019-03-30T11:40:58.000Z
2019-03-30T11:40:58.000Z
lib/elixir_boilerplate/release_tasks.ex
yvc74/v9
c0c3913f1efb58113224bfed07dcbabfdd35e51a
[ "BSD-3-Clause" ]
null
null
null
lib/elixir_boilerplate/release_tasks.ex
yvc74/v9
c0c3913f1efb58113224bfed07dcbabfdd35e51a
[ "BSD-3-Clause" ]
null
null
null
defmodule ElixirBoilerplate.ReleaseTasks do @start_apps ~w(crypto ssl postgrex ecto_sql)a def migrate do start_services() run_migrations() stop_services() end defp repos, do: Application.get_env(:elixir_boilerplate, :ecto_repos, []) defp start_services do IO.puts("Starting dependencies…") ...
23.163265
75
0.679295
33d1187bb61e62d875ee515bcea77d2860aff03b
900
ex
Elixir
web/controllers/auth_controller.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
web/controllers/auth_controller.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
web/controllers/auth_controller.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
defmodule SchoolAgenda.AuthController do use SchoolAgenda.Web, :controller plug Ueberauth alias SchoolAgenda.User def callback(%{ assigns: %{ueberauth_auth: %{info: info}}} = conn, _params) do user = insert_user_if_not_created(info) conn |> put_session(:user_id, user.id) |> put_flash(:info, "Us...
27.272727
99
0.665556
33d1478f79666e9e6f2d60498121d4934dd87d9b
165
ex
Elixir
lib/artus/logger.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
lib/artus/logger.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
lib/artus/logger.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
defmodule Artus.Logger do def info(o) do IO.puts o end def info(o, target) do IO.puts o end def info(o, target, user) do IO.puts o end end
11.785714
30
0.612121
33d155fa807f554d9580100135212ae34783eab4
22,416
ex
Elixir
lib/elixir/lib/map.ex
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/map.ex
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/map.ex
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
defmodule Map do @moduledoc """ A set of functions for working with maps. Maps are the "go to" key-value data structure in Elixir. Maps can be created with the `%{}` syntax, and key-value pairs can be expressed as `key => value`: iex> %{} %{} iex> %{"one" => :two, 3 => "four"} %{3 => "...
25.386183
98
0.569816
33d1664e2f8957c47f919d17e4cbf090e756317e
1,424
exs
Elixir
example/server/config/dev.exs
vip30/vue-phoenix
fe85a5f7c10fbc92c0f0b4e3cfd9d7752d4e5235
[ "MIT" ]
9
2019-01-21T07:16:44.000Z
2022-02-18T05:53:15.000Z
example/server/config/dev.exs
vip30/vue-phoenix
fe85a5f7c10fbc92c0f0b4e3cfd9d7752d4e5235
[ "MIT" ]
null
null
null
example/server/config/dev.exs
vip30/vue-phoenix
fe85a5f7c10fbc92c0f0b4e3cfd9d7752d4e5235
[ "MIT" ]
2
2020-07-13T12:44:14.000Z
2021-09-26T14:38:17.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :event, EventWeb.Endpoint, http: [port: 4000], ...
29.061224
68
0.72191
33d18e80a5e974e903e844e56c23457c44937f38
72
exs
Elixir
test/test_helper.exs
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
342
2017-01-10T16:13:45.000Z
2022-02-26T13:55:38.000Z
test/test_helper.exs
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
6
2017-01-14T17:59:48.000Z
2018-03-25T21:35:50.000Z
test/test_helper.exs
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
38
2017-01-11T00:18:21.000Z
2021-07-11T11:28:12.000Z
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(Microscope.Repo, :manual)
14.4
56
0.791667
33d1ab7ce7bb7d44e40d2cd5e8f4f15578a30537
1,531
ex
Elixir
lib/calculator_web/endpoint.ex
kadmohardy/calculator
671e0d6c6c8d7ef7fba75b7f47a76aaeb29eaf7e
[ "MIT" ]
null
null
null
lib/calculator_web/endpoint.ex
kadmohardy/calculator
671e0d6c6c8d7ef7fba75b7f47a76aaeb29eaf7e
[ "MIT" ]
null
null
null
lib/calculator_web/endpoint.ex
kadmohardy/calculator
671e0d6c6c8d7ef7fba75b7f47a76aaeb29eaf7e
[ "MIT" ]
null
null
null
defmodule CalculatorWeb.Endpoint do use Phoenix.Endpoint, otp_app: :calculator # 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: "_cal...
28.886792
97
0.717831
33d1bc8004de1562de34d604528a785b0b07fffa
8,286
ex
Elixir
lib/aws/generated/ssm_contacts.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/ssm_contacts.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/ssm_contacts.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.SSMContacts do alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadata{ abbreviation: "SSM Contacts", api_version: "2021-05-03", content_type: "applica...
33.682927
88
0.702631
33d1c17286d7026800922555397182d2e85a1a60
111
ex
Elixir
test/support/repo.ex
bebus77/cubecto
969c546581a9f0ba3890e6971ecc98c3eb9a36d1
[ "MIT" ]
2
2018-12-11T21:36:55.000Z
2022-01-03T10:12:00.000Z
test/support/repo.ex
bebus77/cubecto
969c546581a9f0ba3890e6971ecc98c3eb9a36d1
[ "MIT" ]
1
2019-12-14T14:32:46.000Z
2019-12-17T16:18:53.000Z
test/support/repo.ex
bebus77/cubecto
969c546581a9f0ba3890e6971ecc98c3eb9a36d1
[ "MIT" ]
1
2019-12-11T14:42:20.000Z
2019-12-11T14:42:20.000Z
defmodule Cubecto.Test.Repo do use Ecto.Repo, otp_app: :cubecto, adapter: Ecto.Adapters.Postgres end
18.5
35
0.72973
33d1dbe3d75015d1bcf13063a7041c629cb0e368
500
ex
Elixir
test/support/db.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
test/support/db.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
test/support/db.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
defmodule ExtremeTest.DB do def start_link(name \\ :db, start_from \\ -1), do: Agent.start_link(fn -> %{start_from: start_from} end, name: name) def get_last_event(name \\ :db, listener, stream), do: Agent.get(name, fn state -> Map.get(state, {listener, stream}, state[:start_from]) end) def ack_event(na...
38.461538
95
0.682
33d1e5bf1cb3602b7de2227bd1be8ee39d9efd6c
2,634
exs
Elixir
mix.exs
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
18
2019-06-21T09:55:46.000Z
2022-02-16T18:44:17.000Z
mix.exs
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
16
2019-05-21T20:19:44.000Z
2020-05-12T08:30:42.000Z
mix.exs
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
2
2019-09-05T00:35:27.000Z
2020-10-17T16:36:35.000Z
defmodule Phxcrd.MixProject do use Mix.Project def project do [ app: :phxcrd, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
28.322581
92
0.525816
33d20e8133a44748d7e6779c8e0f9d6f475315fd
7,425
ex
Elixir
apps/fz_http/lib/fz_http/devices/device.ex
mdp/firezone
53d8f0803a7ef005fdca3ae8c6fa9c3483ae5cbc
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http/devices/device.ex
mdp/firezone
53d8f0803a7ef005fdca3ae8c6fa9c3483ae5cbc
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http/devices/device.ex
mdp/firezone
53d8f0803a7ef005fdca3ae8c6fa9c3483ae5cbc
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.Devices.Device do @moduledoc """ Manages Device things """ use Ecto.Schema import Ecto.Changeset require Logger import FzHttp.SharedValidators, only: [ validate_fqdn_or_ip: 2, validate_omitted: 2, validate_list_of_ips: 2, validate_no_duplicates: 2, vali...
27.60223
93
0.677037
33d21103baeb8e4787a04a6d0ce0c319de251c25
1,277
ex
Elixir
test/support/conn_case.ex
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
test/support/conn_case.ex
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
test/support/conn_case.ex
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
defmodule CoopMinesweeperWeb.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. Finall...
31.925
96
0.743148
33d219d866aedfad1a456fbfe4ebe7cee880cd25
1,227
ex
Elixir
lib/liquio_web/views/error_helpers.ex
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
5
2016-09-12T08:31:14.000Z
2018-03-12T23:40:08.000Z
lib/liquio_web/views/error_helpers.ex
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
null
null
null
lib/liquio_web/views/error_helpers.ex
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
null
null
null
defmodule LiquioWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag(:span, translate_error(error)...
29.926829
72
0.666667
33d225bab5248f9184e131078118e7f95afd56ae
1,348
exs
Elixir
mix.exs
bminevsb/extreme
1f6902be1726ad5c686a67f0658af5504a30b195
[ "MIT" ]
null
null
null
mix.exs
bminevsb/extreme
1f6902be1726ad5c686a67f0658af5504a30b195
[ "MIT" ]
null
null
null
mix.exs
bminevsb/extreme
1f6902be1726ad5c686a67f0658af5504a30b195
[ "MIT" ]
null
null
null
defmodule Extreme.Mixfile do use Mix.Project def project do [ app: :extreme, version: "0.13.4", elixir: "~> 1.0", source_url: "https://github.com/exponentially/extreme", description: """ Elixir TCP adapter for EventStore. """, package: package(), build_embe...
24.071429
70
0.514837
33d258e8e70e2693274ae07ef391dba4549fc9a6
741
ex
Elixir
lib/elixir_google_scraper/scraper/keyword_scraper.ex
junan/elixir_google_scraper
d032f3a9d5a30e354f1e6d607434670334936630
[ "MIT" ]
null
null
null
lib/elixir_google_scraper/scraper/keyword_scraper.ex
junan/elixir_google_scraper
d032f3a9d5a30e354f1e6d607434670334936630
[ "MIT" ]
25
2021-05-21T02:23:37.000Z
2021-07-09T09:22:32.000Z
lib/elixir_google_scraper/scraper/keyword_scraper.ex
junan/elixir_google_scraper
d032f3a9d5a30e354f1e6d607434670334936630
[ "MIT" ]
null
null
null
defmodule ElixirGoogleScraper.Scraper.KeywordScraper do alias ElixirGoogleScraper.Scraper.SearchResponseParser @user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.447" @google_search_url "https://www.google.com/search" def scrape(keyword) do respons...
25.551724
115
0.704453
33d26362ea6e14e383c2358d014caa489d52b316
1,567
ex
Elixir
clients/network_services/lib/google_api/network_services/v1/model/test_iam_permissions_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_services/lib/google_api/network_services/v1/model/test_iam_permissions_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_services/lib/google_api/network_services/v1/model/test_iam_permissions_response.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.340426
143
0.751117
33d27d0e00597c466fa114f67b00577f79d4d605
18,052
exs
Elixir
test/format_strftime_test.exs
paridin/timex
2bb94d6e7350294bf4a0068bb96a8e61365ebd47
[ "MIT" ]
null
null
null
test/format_strftime_test.exs
paridin/timex
2bb94d6e7350294bf4a0068bb96a8e61365ebd47
[ "MIT" ]
null
null
null
test/format_strftime_test.exs
paridin/timex
2bb94d6e7350294bf4a0068bb96a8e61365ebd47
[ "MIT" ]
null
null
null
defmodule DateFormatTest.FormatStrftime do use ExUnit.Case, async: true use Timex @aug182013 Timex.to_datetime({{2013, 8, 18}, {12, 30, 5}}) @aug180003 Timex.to_datetime({{3, 8, 18}, {12, 30, 5}}) @jan12015 Timex.to_datetime({{2015, 1, 1}, {0, 0, 0}}) @jan152015 Timex.to_datetime({{2015, 1, 15}, {0, 0, 0}}...
38.245763
109
0.54343
33d28ab8d9ff028fad4ba4748dd3c8dd3f606318
5,736
ex
Elixir
apps/snitch_core/priv/repo/demo/order.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/demo/order.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/demo/order.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Demo.Order do use Timex import Snitch.Tools.Helper.Order, only: [line_items_with_price: 2] alias Ecto.DateTime alias Snitch.Data.Schema.{ LineItem, Order, OrderAddress, Package, PackageItem, Product, ShippingCategory, ShippingMethod, StockLocation, Tax...
25.721973
87
0.636158
33d28e92c3ac06897904a60782f2238cdf2804a6
1,441
exs
Elixir
rustler_mix/mix.exs
madninja/rustler
1de30df49b13eb7f045501b1df792128cefbcc0a
[ "Apache-2.0", "MIT" ]
2,075
2019-03-10T02:30:23.000Z
2022-03-31T21:34:49.000Z
rustler_mix/mix.exs
madninja/rustler
1de30df49b13eb7f045501b1df792128cefbcc0a
[ "Apache-2.0", "MIT" ]
194
2019-03-10T00:14:16.000Z
2022-03-30T13:37:00.000Z
rustler_mix/mix.exs
filmor/rustler
1de30df49b13eb7f045501b1df792128cefbcc0a
[ "Apache-2.0", "MIT" ]
130
2019-03-13T05:31:10.000Z
2022-03-27T15:34:05.000Z
defmodule Rustler.Mixfile do use Mix.Project @source_url "https://github.com/rusterlium/rustler" @version "0.22.2" def project do [ app: :rustler, name: "Rustler", version: @version, elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :pr...
23.241935
97
0.537821
33d2993c7348c2fbaffd62a053956e4348ca8e84
664
ex
Elixir
lib/ecto_crdt_types/types/state/ewflag.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
8
2018-09-20T13:05:16.000Z
2021-09-22T08:40:40.000Z
lib/ecto_crdt_types/types/state/ewflag.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
lib/ecto_crdt_types/types/state/ewflag.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
defmodule EctoCrdtTypes.Types.State.EWFlag do @moduledoc """ Enable-Wins Flag CRDT. Starts disabled. """ @crdt_type :state_ewflag @crdt_value_type :boolean use EctoCrdtTypes.Types.CRDT def new, do: @crdt_type.new() def new(true, actor), do: enable(new(), actor) def new(false, actor), do: disable(ne...
22.133333
58
0.659639
33d2c8cb4d3397437ca3998338afcd2bc0f07c79
259
exs
Elixir
priv/repo/migrations/20151229085900_create_disk.exs
retgoat/band-indigo.com
b8a1cf58ec766858cc2319441fa8628ad763529a
[ "MIT" ]
null
null
null
priv/repo/migrations/20151229085900_create_disk.exs
retgoat/band-indigo.com
b8a1cf58ec766858cc2319441fa8628ad763529a
[ "MIT" ]
null
null
null
priv/repo/migrations/20151229085900_create_disk.exs
retgoat/band-indigo.com
b8a1cf58ec766858cc2319441fa8628ad763529a
[ "MIT" ]
null
null
null
defmodule BandIndigo.Repo.Migrations.CreateDisk do use Ecto.Migration def change do create table(:disks) do add :name, :string add :year, :date add :label, :string add :cover_name, :string timestamps end end end
16.1875
50
0.640927
33d2f07b66d685ed51791533ac8313a54bcabd6e
1,865
exs
Elixir
test/alipay_test.exs
davidqhr/elixir-alipay
51261c0bb14fa814daf2db3898c66735e3c2d3cd
[ "MIT" ]
4
2017-03-31T08:04:46.000Z
2018-08-04T08:00:04.000Z
test/alipay_test.exs
davidqhr/elixir-alipay
51261c0bb14fa814daf2db3898c66735e3c2d3cd
[ "MIT" ]
1
2017-10-26T13:38:37.000Z
2017-11-02T16:22:05.000Z
test/alipay_test.exs
davidqhr/elixir-alipay
51261c0bb14fa814daf2db3898c66735e3c2d3cd
[ "MIT" ]
null
null
null
defmodule AlipayTest do use ExUnit.Case test "sign" do policy = %Alipay{ private_key: "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDfn/38II4qsQX79LJxu2K6HlISBlqPRE+3w8ZqtTEvQVmLcNxlCK1M+lXH7CphjgHNpzj8qJ7LeUIGAdSkMYGytQIXkD0e0DBtrnR61Mf2BRUpdQjAkFjCdB0jof29wgdr/UXM/fEQzcT2eXDK+sbW+AuOH989v9eIB0A+YPzx+...
84.772727
897
0.767828
33d30cddb430ea227cdfbdc8b0e9fcf6ae572f20
1,799
ex
Elixir
api/web/controllers/api/comment_controller.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/controllers/api/comment_controller.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/controllers/api/comment_controller.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
defmodule Microblogger.CommentController do use Microblogger.Web, :controller alias Microblogger.{Repo, Comment, User} plug Guardian.Plug.EnsureAuthenticated, handler: Microblogger.SessionController def index(conn, %{"user_id" => user_id}) do user = User |> Repo.get(user_id) comments = user |> as...
28.555556
83
0.626459
33d31e16fac9a8c0d041760a5d55af4b2e32aa97
1,734
ex
Elixir
apps/rig/lib/rig/subscriptions/parser/jwt.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
apps/rig/lib/rig/subscriptions/parser/jwt.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
apps/rig/lib/rig/subscriptions/parser/jwt.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule RIG.Subscriptions.Parser.JWT do @moduledoc """ Create subscriptions based on JWT and extractor file """ defmodule Error do defexception [:cause] def message(error), do: "could not infer subscription from JWT: #{Exception.message(error.cause)}" end alias Result alias Rig.Subscrip...
27.09375
93
0.643022
33d323fa2393e02c74f05673a3f998fefe888451
1,091
ex
Elixir
backend/lib/backend/endpoint.ex
tykowale/faketwitter
8cb2f15bbc285d079daec153311b7f6fda167dd2
[ "MIT" ]
1
2016-03-20T21:38:39.000Z
2016-03-20T21:38:39.000Z
backend/lib/backend/endpoint.ex
tykowale/faketwitter
8cb2f15bbc285d079daec153311b7f6fda167dd2
[ "MIT" ]
null
null
null
backend/lib/backend/endpoint.ex
tykowale/faketwitter
8cb2f15bbc285d079daec153311b7f6fda167dd2
[ "MIT" ]
null
null
null
defmodule Backend.Endpoint do use Phoenix.Endpoint, otp_app: :backend socket "/socket", Backend.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, ...
26.609756
65
0.708524
33d32b440012d4defb9aeeb7904fdadcc575a37d
1,187
exs
Elixir
apps/robby_web/config/test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "Apache-2.0" ]
null
null
null
apps/robby_web/config/test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "Apache-2.0" ]
null
null
null
apps/robby_web/config/test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "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 :robby_web, RobbyWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Set a higher stacktrace during test config :phoenix...
27.604651
74
0.727043
33d35ea85ede7d234271c95019e5d10130b96fcd
2,255
ex
Elixir
apps/fz_http/lib/fz_http/users.ex
CloudFire-LLC/fireguard
50ccfc792cf580104922026fedbbf3cd6e374574
[ "Apache-2.0" ]
5
2020-05-22T00:24:39.000Z
2021-06-18T18:28:45.000Z
apps/fz_http/lib/fz_http/users.ex
CloudFire-LLC/fireguard
50ccfc792cf580104922026fedbbf3cd6e374574
[ "Apache-2.0" ]
64
2020-05-22T00:31:00.000Z
2021-06-28T15:21:33.000Z
apps/fz_http/lib/fz_http/users.ex
CloudFire-LLC/fireguard
50ccfc792cf580104922026fedbbf3cd6e374574
[ "Apache-2.0" ]
2
2020-05-22T00:27:52.000Z
2021-03-14T19:37:27.000Z
defmodule FzHttp.Users do @moduledoc """ The Users context. """ import Ecto.Query, warn: false alias FzHttp.Repo alias FzCommon.FzCrypto alias FzHttp.Users.User # one hour @sign_in_token_validity_secs 3600 def consume_sign_in_token(token) when is_binary(token) do case find_token_transaction(...
21.074766
85
0.623947
33d36287e51d69d4d63d84bb13df610fe05ead6c
712
ex
Elixir
lib/mix/task.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
lib/mix/task.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
lib/mix/task.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.Mix.Task do @moduledoc """ Helper functions for making mix tasks in gears. **Functions in this module can only be used in mix tasks.** """ @doc """ Starts the current antikythera instance and its dependency ap...
29.666667
107
0.740169
33d38848fbc6bf3c6e0ec16ab650ccc7ec43d7d7
2,241
ex
Elixir
lib/live_beats_web/live/profile_live/song_row_component.ex
umair-akb/spotifyduo
f32517602c977ad1cf70eaf0e780d839f0ea85f6
[ "MIT" ]
547
2022-02-02T14:11:31.000Z
2022-03-31T12:34:03.000Z
lib/live_beats_web/live/profile_live/song_row_component.ex
umair-akb/spotifyduo
f32517602c977ad1cf70eaf0e780d839f0ea85f6
[ "MIT" ]
24
2022-02-02T14:11:36.000Z
2022-02-23T20:14:43.000Z
lib/live_beats_web/live/profile_live/song_row_component.ex
umair-akb/spotifyduo
f32517602c977ad1cf70eaf0e780d839f0ea85f6
[ "MIT" ]
63
2022-02-02T15:59:36.000Z
2022-03-23T05:30:43.000Z
defmodule LiveBeatsWeb.ProfileLive.SongRowComponent do use LiveBeatsWeb, :live_component def send_status(song_id, status) when status in [:playing, :paused, :stopped] do send_update(__MODULE__, id: "song-#{song_id}", action: :send, status: status) end def render(assigns) do ~H""" <tr id={@id} clas...
36.145161
120
0.507809
33d39435585a89aabedab9915b51c39e71e8fffd
142
ex
Elixir
lib/live_ui_kit/ui/tabs.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
2
2022-03-01T23:32:08.000Z
2022-03-08T10:32:14.000Z
lib/live_ui_kit/ui/tabs.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
null
null
null
lib/live_ui_kit/ui/tabs.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
null
null
null
defmodule LiveUiKit.UI.Tabs do use LiveUiKit.UI @moduledoc false def tabs(assigns) do ~H""" <div> </div> """ end end
11.833333
30
0.584507
33d3a4d24feb2821e32881a7d457e61aeed4a72e
1,026
exs
Elixir
bracket-push/bracket_push.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
bracket-push/bracket_push.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
bracket-push/bracket_push.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
defmodule BracketPush do @map %{?[ => ?], ?{ => ?}, ?( => ?)} @left Map.keys(@map) @right Map.values(@map) @brackets @left ++ @right @doc """ Checks that all the brackets and braces in the string are matched correctly, and nested correctly """ @spec check_brackets(String.t()) :: boolean def check_bra...
28.5
99
0.645224
33d3a55679d1fcc6f1406918868cbe5ca9f1c7e6
58,596
exs
Elixir
test/phoenix_html/form_test.exs
al2o3cr/phoenix_html
d4269cf320edeb0824e7f7d7a957058664b937ed
[ "MIT" ]
null
null
null
test/phoenix_html/form_test.exs
al2o3cr/phoenix_html
d4269cf320edeb0824e7f7d7a957058664b937ed
[ "MIT" ]
null
null
null
test/phoenix_html/form_test.exs
al2o3cr/phoenix_html
d4269cf320edeb0824e7f7d7a957058664b937ed
[ "MIT" ]
null
null
null
defmodule Phoenix.HTML.FormTest do use ExUnit.Case, async: true import Phoenix.HTML import Phoenix.HTML.Form doctest Phoenix.HTML.Form @doc """ A function that executes `form_for/4` and extracts its inner contents for assertion. """ def safe_form(fun, opts \\ [as: :search]) do mark = "--PLACEHOL...
39.99727
128
0.564424
33d3ac61f55dd9b2b9811f1da93087c120f9c6ff
378
ex
Elixir
lib/litelist_web/views/error_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
lib/litelist_web/views/error_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
lib/litelist_web/views/error_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
defmodule LitelistWeb.ErrorView do use LitelistWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_templ...
21
47
0.703704
33d3b089865ad1fc28a6202bedcb701308f633f2
1,155
exs
Elixir
apps/get_functional_supervision/config/config.exs
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
4
2017-04-16T21:07:36.000Z
2021-07-21T10:27:10.000Z
apps/get_functional_supervision/config/config.exs
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
null
null
null
apps/get_functional_supervision/config/config.exs
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "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...
37.258065
73
0.759307
33d3c8430bf70fd486af2d4dd950a0d3c4902084
283
exs
Elixir
priv/repo/migrations/20181211203746_create_stages.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
2
2019-01-20T07:03:30.000Z
2019-04-11T10:20:14.000Z
priv/repo/migrations/20181211203746_create_stages.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
6
2018-09-20T05:52:14.000Z
2019-04-23T19:27:39.000Z
priv/repo/migrations/20181211203746_create_stages.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
null
null
null
defmodule Jumubase.Repo.Migrations.CreateStages do use Ecto.Migration def change do create table(:stages) do add :name, :string add :host_id, references(:hosts, on_delete: :delete_all) timestamps() end create index(:stages, [:host_id]) end end
18.866667
62
0.674912
33d3cd366388b5a660f0ed989cdf5e23a8feb4d1
1,536
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/batch_clear_values_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/batch_clear_values_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/batch_clear_values_request.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...
32
82
0.744141
33d441da240db3040e7fc6b54c7b48abd1ae5b3f
1,428
exs
Elixir
mix.exs
connorlay/surface_formatter
3ec23499c9161be6d251996d06422233af3582c0
[ "MIT" ]
null
null
null
mix.exs
connorlay/surface_formatter
3ec23499c9161be6d251996d06422233af3582c0
[ "MIT" ]
null
null
null
mix.exs
connorlay/surface_formatter
3ec23499c9161be6d251996d06422233af3582c0
[ "MIT" ]
null
null
null
defmodule SurfaceFormatter.MixProject do use Mix.Project @source_url "https://github.com/surface-ui/surface_formatter" @version "0.5.1" def project do [ app: :surface_formatter, version: @version, elixir: "~> 1.8", start_permanent: Mix.env() == :prod, aliases: aliases(), ...
19.297297
89
0.54972