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
e84900800b76b1f2ae0a87dfeb02da60364ab86c
154
ex
Elixir
apps/crawler/lib/crawler/bethesda.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
3
2018-07-20T22:14:36.000Z
2018-12-21T19:54:48.000Z
apps/crawler/lib/crawler/bethesda.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
36
2018-09-15T21:46:54.000Z
2020-03-28T16:10:18.000Z
apps/crawler/lib/crawler/bethesda.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
2
2018-07-22T08:47:07.000Z
2021-12-11T01:39:19.000Z
defmodule Crawler.Bethesda do @moduledoc "implements `Crawler.Provider` for [Bethesda](https://bethesda.net/en/mods/skyrim)" use Crawler.Provider end
30.8
96
0.779221
e849322c5836e3368b4fc3b2dd83a6b29d73a75a
12,564
ex
Elixir
lib/phoenix_live_view/upload.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
1
2020-09-09T09:10:01.000Z
2020-09-09T09:10:01.000Z
lib/phoenix_live_view/upload.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
null
null
null
lib/phoenix_live_view/upload.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Upload do # Operations integrating Phoenix.LiveView.Socket with UploadConfig. @moduledoc false alias Phoenix.LiveView.{Socket, Utils, UploadConfig, UploadEntry} @refs_to_names :__phoenix_refs_to_names__ @doc """ Allows an upload. """ def allow_upload(%Socket{} = socket, nam...
30.794118
106
0.63085
e8494536be094d92e9aab12f1bf1308e6f9aedd6
8,207
exs
Elixir
test/sparql/algebra/group_graph_pattern_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
test/sparql/algebra/group_graph_pattern_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
test/sparql/algebra/group_graph_pattern_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
defmodule SPARQL.Algebra.GroupGraphPatternTest do use SPARQL.Test.Case import SPARQL.Language.Decoder, only: [decode: 1] test "a filter splitting a bgp into a group" do query = """ SELECT ?s WHERE { ?s ?p ?o FILTER(?o = 1) ?s2 ?p2 ?o2 } """ n1 = RDF.intege...
25.174847
83
0.321433
e8494fa1e1149483451f8ec7759110c8690514cc
1,955
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/schema.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/schema.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/schema.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.1
240
0.739642
e849653813d25f2ea37f555b2922370864afa7ac
380
ex
Elixir
lib/queerlink_web/views/error_view.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
38
2015-11-07T23:54:26.000Z
2021-04-09T04:14:25.000Z
lib/queerlink_web/views/error_view.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
2
2015-11-23T15:00:34.000Z
2015-11-26T09:59:26.000Z
lib/queerlink_web/views/error_view.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
6
2015-11-26T00:25:22.000Z
2020-03-04T22:13:59.000Z
defmodule QueerlinkWeb.ErrorView do use QueerlinkWeb, :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(_tem...
21.111111
47
0.705263
e8499d4100201047b12803891a43d6324f722e6b
11,552
ex
Elixir
web_finngen_r4/lib/risteys_web/views/phenocode_view.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r4/lib/risteys_web/views/phenocode_view.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r4/lib/risteys_web/views/phenocode_view.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule RisteysWeb.PhenocodeView do use RisteysWeb, :view require Integer def render("assocs.json", %{phenocode: phenocode, assocs: assocs}) do %{ "plot" => data_assocs_plot(phenocode, assocs), "table" => data_assocs_table(phenocode.id, assocs) } end defp table_data_sources(data_source...
26.495413
93
0.554449
e849a93fa01b6a659490433798e16db9919fa50f
2,111
exs
Elixir
test/netstrings_test.exs
mwmiller/netstrings_ex
a36095a24614dbfcb723712582482931a6d855bc
[ "MIT" ]
1
2016-02-07T18:40:52.000Z
2016-02-07T18:40:52.000Z
test/netstrings_test.exs
mwmiller/ex_netstrings
a36095a24614dbfcb723712582482931a6d855bc
[ "MIT" ]
null
null
null
test/netstrings_test.exs
mwmiller/ex_netstrings
a36095a24614dbfcb723712582482931a6d855bc
[ "MIT" ]
null
null
null
defmodule NetstringsTest do use ExUnit.Case import Netstrings doctest Netstrings test "djb examples" do assert encode("") == "0:,", "Encode empty string." assert decode("0:,") == {[""], ""}, "Decode empty string." assert encode("hello world!") == "12:hello world!,", "Encode hello world!" assert...
39.830189
95
0.586926
e849b636fb18c3752cc855033ec87b922fe73671
23,336
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v2/api/purchases.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/api/purchases.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/api/purchases.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.782364
454
0.631385
e849bceba03a09e4a0a4d9c79d0789233d828a1e
203
ex
Elixir
lib/ex_klaviyo.ex
techgaun/ex_klaviyo
85a71407a1264ed9dd9af959af09000c3f76cc31
[ "Apache-2.0" ]
1
2021-06-15T04:52:31.000Z
2021-06-15T04:52:31.000Z
lib/ex_klaviyo.ex
techgaun/ex_klaviyo
85a71407a1264ed9dd9af959af09000c3f76cc31
[ "Apache-2.0" ]
null
null
null
lib/ex_klaviyo.ex
techgaun/ex_klaviyo
85a71407a1264ed9dd9af959af09000c3f76cc31
[ "Apache-2.0" ]
null
null
null
defmodule ExKlaviyo do @moduledoc """ Documentation for ExKlaviyo. """ @doc """ Hello world. ## Examples iex> ExKlaviyo.hello :world """ def hello do :world end end
10.684211
30
0.581281
e849c67c1738ab2ae1852bb6ff7c827fcce214c2
436
ex
Elixir
zmq/lib/zmq.ex
h00dy/elixir-zmq-dummy-client
c69b28c82631af9d7568beee22ed9183ad2f52c4
[ "Apache-2.0" ]
null
null
null
zmq/lib/zmq.ex
h00dy/elixir-zmq-dummy-client
c69b28c82631af9d7568beee22ed9183ad2f52c4
[ "Apache-2.0" ]
null
null
null
zmq/lib/zmq.ex
h00dy/elixir-zmq-dummy-client
c69b28c82631af9d7568beee22ed9183ad2f52c4
[ "Apache-2.0" ]
null
null
null
defmodule Zmq do @moduledoc """ Documentation for Zmq """ require Logger def listen(socket) do resp = :chumak.recv(socket) {:ok, body} = resp data = Poison.decode!(body) Logger.info data["uuid"] listen(socket) end def connect do {:ok, socket} = :chumak.socket(:pull) port = Sy...
19.818182
54
0.623853
e849e7bcc4ac189817ac72ec89fb998db5fedce5
131
ex
Elixir
lib/kamleague_web/views/post_view.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
null
null
null
lib/kamleague_web/views/post_view.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
2
2021-11-04T21:05:24.000Z
2021-11-04T21:51:48.000Z
lib/kamleague_web/views/post_view.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
1
2021-11-04T18:40:26.000Z
2021-11-04T18:40:26.000Z
defmodule KamleagueWeb.PostView do use KamleagueWeb, :view def markdown(body) do body |> Earmark.as_html!() end end
14.555556
34
0.694656
e849ffe6be169091b36f7e1015a3487dc6d1de4f
373
ex
Elixir
lib/brando/revisions/schema.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/revisions/schema.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/revisions/schema.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Revisions.Schema do @moduledoc """ Adds revisions support to schema ## Usage use Brando.Revisions.Schema Now, when using `Brando.Query`'s `mutation :create` and `mutation :update` macros, revisions will be created automatically for you. """ defmacro __using__(_) do quote do ...
19.631579
84
0.69437
e84a3d5643260b26ffefb4e2acd5f11c765b9354
2,168
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/deserializer.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/deserializer.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/deserializer.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.133333
139
0.690498
e84a5a7e2a6da2602e10ae08bece30e784f4b7b2
1,002
exs
Elixir
server/config/test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/config/test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/config/test.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
use Mix.Config # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 # 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 ca...
34.551724
93
0.767465
e84a6c51537d30caba87cdb940b898235846b990
3,439
exs
Elixir
apps/ewallet/test/ewallet/permissions/bouncer/targets/wallet_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/ewallet/permissions/bouncer/targets/wallet_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/ewallet/permissions/bouncer/targets/wallet_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 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 ...
36.978495
86
0.711835
e84aa68bbfb565b587c16e120419911c6af9f566
1,169
exs
Elixir
test/integration/sign_up_test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
test/integration/sign_up_test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
test/integration/sign_up_test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
defmodule JellyBoard.SignUpTest do use JellyBoard.IntegrationCase @tag :integration test "GET /sign_up" do navigate_to "/sign_up" assert page_title == "Sign up | Phoenix Trello" assert element_displayed?({:id, "sign_up_form"}) end @tag :integration test "Siginig up with correct data" do n...
23.38
64
0.679213
e84aa7c01733c935b3b09478728939ebac240ad2
15,997
ex
Elixir
lib/elixir/lib/kernel/cli.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/lib/kernel/cli.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/lib/kernel/cli.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Kernel.CLI do @moduledoc false @compile {:no_warn_undefined, [Logger, IEx]} @blank_config %{ commands: [], output: ".", compile: [], no_halt: false, compiler_options: [], errors: [], pa: [], pz: [], verbose_compile: false, profile: nil } @standalone_opts ["...
27.205782
101
0.598987
e84ab9d903483a2989f4f740b8b212c27384da68
1,499
ex
Elixir
test/helpers/fixture.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
1
2017-03-31T09:26:21.000Z
2017-03-31T09:26:21.000Z
test/helpers/fixture.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
1
2017-05-03T06:30:09.000Z
2017-05-03T06:30:09.000Z
test/helpers/fixture.ex
jonasrichard/iris
eb4547ced7f7ff9305a4edfa1c32e8d45fa2aa00
[ "Apache-2.0" ]
null
null
null
defmodule Iris.Fixture do def message(opts \\ []) do id = Keyword.get(opts, :id, id()) sender_id = Keyword.get(opts, :sender_id, num_id()) channel_id = Keyword.get(opts, :channel_id, num_id()) ts = Keyword.get(opts, :created_ts, :os.timestamp()) |> now_to_utc() %Iris.Model.Message{ id: id, ...
18.506173
81
0.547698
e84ad615906b8cb572ae5dc5eecb481e2e37a38e
37,988
ex
Elixir
lib/surface/compiler.ex
yusufyildirim/surface
1cacafa275ec7fefa862af7fd86794a400652e9d
[ "MIT" ]
null
null
null
lib/surface/compiler.ex
yusufyildirim/surface
1cacafa275ec7fefa862af7fd86794a400652e9d
[ "MIT" ]
null
null
null
lib/surface/compiler.ex
yusufyildirim/surface
1cacafa275ec7fefa862af7fd86794a400652e9d
[ "MIT" ]
null
null
null
defmodule Surface.Compiler do @moduledoc """ Defines a behaviour that must be implemented by all HTML/Surface node translators. This module also contains the main logic to translate Surface code. """ alias Surface.Compiler.Parser alias Surface.IOHelper alias Surface.AST alias Surface.Compiler.Helpers ...
30.960065
132
0.628435
e84afa4f1b352bae225ea939cb335842098eb656
939
ex
Elixir
lib/tables/offset.ex
bengtson/fonts
b41daac7e010ec95eb62f2f68c5987429d771e33
[ "MIT" ]
null
null
null
lib/tables/offset.ex
bengtson/fonts
b41daac7e010ec95eb62f2f68c5987429d771e33
[ "MIT" ]
null
null
null
lib/tables/offset.ex
bengtson/fonts
b41daac7e010ec95eb62f2f68c5987429d771e33
[ "MIT" ]
null
null
null
defmodule Fonts.Tables.Offset do def get_offset_table(state) do %{"Binary" => binary, "Parser" => parser, "Font" => font} = state %{"Cursor" => cursor} = parser %{"Tables" => tables} = font << snft_version::binary-size(4), table_count::unsigned-integer-size(16), search_range::unsign...
28.454545
69
0.5836
e84b09cc6a16038523cf544c56e01bf00e4ebcae
6,756
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_response_message.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...
60.864865
870
0.767466
e84b3f262604946c746472dc49c16c0dad21dc4e
75
exs
Elixir
test/test_helper.exs
ruyjfs/example-elixir
9737205e4a548f2118f32ff45dd4f2d67a00c54a
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
ruyjfs/example-elixir
9737205e4a548f2118f32ff45dd4f2d67a00c54a
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
ruyjfs/example-elixir
9737205e4a548f2118f32ff45dd4f2d67a00c54a
[ "Apache-2.0" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(ExampleElixir.Repo, :manual)
25
59
0.8
e84b584d8d56b3fc33f4bca680c8a5663f2a8d0d
126
ex
Elixir
debian/menu.ex
takeokunn/roswell
9b5c03ba921581176c3c87277fac83e19a011f5d
[ "MIT" ]
1,572
2016-01-04T05:27:12.000Z
2022-03-27T08:13:52.000Z
debian/menu.ex
DavidAlphaFox/roswell
079cec15b0e7001b70969ca2e63f0950f2dda7bd
[ "MIT" ]
400
2015-12-31T14:03:23.000Z
2022-03-17T08:10:58.000Z
debian/menu.ex
DavidAlphaFox/roswell
079cec15b0e7001b70969ca2e63f0950f2dda7bd
[ "MIT" ]
140
2016-01-17T18:04:28.000Z
2022-03-06T08:54:25.000Z
?package(roswell):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ title="roswell" command="/usr/bin/roswell"
42
80
0.746032
e84b5b1966df16f190b4d43b2b95f3670f6a155f
4,988
ex
Elixir
lib/make_word_bot/workers/process_game.ex
nulleof/make-word-bot
bf6ed80975f0d89697cdd5e1019d73c47dd335d4
[ "MIT" ]
null
null
null
lib/make_word_bot/workers/process_game.ex
nulleof/make-word-bot
bf6ed80975f0d89697cdd5e1019d73c47dd335d4
[ "MIT" ]
5
2019-02-10T14:22:39.000Z
2019-02-11T16:29:02.000Z
lib/make_word_bot/workers/process_game.ex
nulleof/make-word-bot
bf6ed80975f0d89697cdd5e1019d73c47dd335d4
[ "MIT" ]
null
null
null
defmodule MakeWordBot.ProcessGame do require Logger alias MakeWordBot.Repo def send_message(chat_id, message, message_reply_id \\ nil) do MakeWordBot.start_async(fn -> MakeWordBot.ProcessMessage.send_message(chat_id, message, message_reply_id) end) end def is_joke_time(word) do Regex.ma...
28.340909
96
0.596832
e84b5e876e9eba23c85a97c7181e34ecd6319d4a
1,894
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/monitoring_destination.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/lib/google_api/service_management/v1/model/monitoring_destination.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/monitoring_destination.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 ...
35.735849
125
0.74076
e84b6833810fa6906d3ce1dede8eb6f2b3139594
95
ex
Elixir
lib/playwright/api_request_context.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
30
2021-06-01T16:59:35.000Z
2022-03-25T16:56:19.000Z
lib/playwright/api_request_context.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
35
2021-06-10T17:05:31.000Z
2022-02-11T22:30:36.000Z
lib/playwright/api_request_context.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
4
2021-08-13T20:38:18.000Z
2022-01-31T04:32:35.000Z
defmodule Playwright.APIRequestContext do @moduledoc false use Playwright.ChannelOwner end
19
41
0.842105
e84b8733b03c327956db47a13cbf14b0acf1bc17
1,138
ex
Elixir
lib/stomp_client/rabbitmq/persisted_work_queue.ex
eteubert/stomp_client
57bcd4d824a64f068b9f19916c6659a716f7866a
[ "Apache-2.0" ]
2
2018-12-18T11:58:19.000Z
2019-02-13T19:32:25.000Z
lib/stomp_client/rabbitmq/persisted_work_queue.ex
eteubert/stomp_client
57bcd4d824a64f068b9f19916c6659a716f7866a
[ "Apache-2.0" ]
7
2016-11-03T07:37:21.000Z
2017-11-14T06:37:12.000Z
lib/stomp_client/rabbitmq/persisted_work_queue.ex
eteubert/stomp_client
57bcd4d824a64f068b9f19916c6659a716f7866a
[ "Apache-2.0" ]
12
2016-10-27T12:39:06.000Z
2020-12-01T05:45:44.000Z
defmodule StompClient.RabbitMQ.PersistedWorkQueue do import Kernel, except: [send: 2] @default_prefetch_count 1 def subscribe(pid, topic) do subscribe(pid, topic, prefetch_count: @default_prefetch_count) end def subscribe(pid, topic, prefetch_count: prefetch_count) do topic2 = create_topic(topic) ...
23.708333
66
0.662566
e84b907814375f9320af18c75c725c51b35a61b7
279
exs
Elixir
priv/repo/migrations/20180206015504_create_neighbors.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
priv/repo/migrations/20180206015504_create_neighbors.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
priv/repo/migrations/20180206015504_create_neighbors.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
defmodule Litelist.Repo.Migrations.CreateNeighbors do use Ecto.Migration def change do create table(:neighbors) do add :username, :string add :encrypted_password, :string timestamps() end create unique_index(:neighbors, [:username]) end end
19.928571
53
0.698925
e84bc0c567f257a3d8a66f60b6c3d00d645cc960
2,428
exs
Elixir
apps/definition/test/definition_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/definition/test/definition_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/definition/test/definition_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule DefinitionTest do use ExUnit.Case defmodule Foo do use Definition, schema: Foo.V2 defstruct [:version, :bar, :baz] def on_new(foo) do new_baz = case foo.baz do nil -> nil x -> String.upcase(x) end %{foo | baz: new_baz} |> Ok.ok() end...
25.829787
80
0.576606
e84bdb9816c386add2d364ab01f1bf5e9c292db0
94
exs
Elixir
ch2/script.exs
TheEndIsNear/ElixirInAction
9b18ebd4845723935e03ec2a0c3cf869aa955541
[ "MIT" ]
null
null
null
ch2/script.exs
TheEndIsNear/ElixirInAction
9b18ebd4845723935e03ec2a0c3cf869aa955541
[ "MIT" ]
null
null
null
ch2/script.exs
TheEndIsNear/ElixirInAction
9b18ebd4845723935e03ec2a0c3cf869aa955541
[ "MIT" ]
null
null
null
defmodule MyModule do def run do IO.puts("Called MyModule.run") end end MyModule.run
11.75
34
0.712766
e84bf2ee3f34b35324ac9dba9d19a80d6c6270a7
92
exs
Elixir
.iex.exs
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
129
2021-05-30T10:10:59.000Z
2022-03-27T14:42:48.000Z
.iex.exs
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
48
2021-05-30T21:34:03.000Z
2022-02-21T14:20:04.000Z
.iex.exs
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
12
2021-05-30T22:03:49.000Z
2022-02-08T19:59:16.000Z
alias ExPlatform.Repo alias ExPlatform.Accounts.User alias Ecto.Changeset import Ecto.Query
18.4
30
0.858696
e84c2de040bcdee338ee7c4880f61dc6f6aa6ae8
363
exs
Elixir
samples/sin_benchmarks.exs
zacky1972/simd_sample
3f50e698ae3c577e751ee7a5513086b7df7fca49
[ "Apache-2.0" ]
1
2021-09-03T07:56:54.000Z
2021-09-03T07:56:54.000Z
samples/sin_benchmarks.exs
zacky1972/simd_sample
3f50e698ae3c577e751ee7a5513086b7df7fca49
[ "Apache-2.0" ]
null
null
null
samples/sin_benchmarks.exs
zacky1972/simd_sample
3f50e698ae3c577e751ee7a5513086b7df7fca49
[ "Apache-2.0" ]
null
null
null
input_f32 = Nx.iota({0x1000000}, type: {:f, 32}) # input_f16 = Nx.iota({0x1000000}, type: {:f, 16}) Benchee.run( %{ "sin32_1" => fn -> SimdSample.Sin.sin32_1(input_f32) end, "sin32_0" => fn -> SimdSample.Sin.sin32(input_f32) end, "nx_32" => fn -> Nx.sin(input_f32) end, # "nx_16" => fn -> Nx.sin(input...
25.928571
61
0.584022
e84c357aea9c186e6c356e7c56ff79f9c63900bb
231
exs
Elixir
priv/repo/migrations/20170530201724_create_entity.exs
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
8
2018-09-20T13:05:16.000Z
2021-09-22T08:40:40.000Z
priv/repo/migrations/20170530201724_create_entity.exs
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
priv/repo/migrations/20170530201724_create_entity.exs
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
defmodule TestApp.Repo.Migrations.CreateEntity do use Ecto.Migration def change do create table(:entities) do add :counter, :integer add :test, {:array, :string} add :test_crdt, :binary end end end
19.25
49
0.666667
e84c3ab15dc3db73eb7704faccd3555f573db039
719
ex
Elixir
lib/earmark/helpers/string_helpers.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
lib/earmark/helpers/string_helpers.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
lib/earmark/helpers/string_helpers.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Earmark.Helpers.StringHelpers do @moduledoc false @doc """ Remove the leading part of a string """ def behead(str, ignore) when is_integer(ignore) do String.slice(str, ignore..-1) end def behead(str, leading_string) do behead(str, String.length(leading_string)) end @doc """ Rem...
20.542857
59
0.650904
e84c70b4bdd5888080b4dbccf5e45c9fad8c6b81
470
ex
Elixir
apps/customer/lib/customer/web/commands/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/commands/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/commands/user.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
18
2017-05-22T09:51:36.000Z
2021-09-24T00:57:01.000Z
defmodule Customer.Web.Command.User do use Customer.Command, model: Customer.Web.User alias Customer.Web.User def get_or_insert_by(multi, %{info: auth_info}) do case Repo.get_by(User, email: auth_info.email) do nil -> insert_by(multi, auth_info) user -> Multi.run(multi, :user, fn _ -> {:ok, user...
27.647059
79
0.697872
e84cac87a1f5d2694aa571acb718fd2281a82aa5
98
ex
Elixir
test/support/dummy_repo.ex
dbernheisel/ecto_psql_extras
537a328753cfb1d5d3a80f1865d77ddfa3930e19
[ "MIT" ]
278
2020-08-04T12:38:29.000Z
2022-03-25T15:14:28.000Z
test/support/dummy_repo.ex
dbernheisel/ecto_psql_extras
537a328753cfb1d5d3a80f1865d77ddfa3930e19
[ "MIT" ]
21
2020-09-27T14:38:21.000Z
2021-11-08T22:44:46.000Z
test/support/dummy_repo.ex
dbernheisel/ecto_psql_extras
537a328753cfb1d5d3a80f1865d77ddfa3930e19
[ "MIT" ]
15
2020-09-28T18:08:25.000Z
2022-03-22T11:26:21.000Z
defmodule Dummy.Repo do use Ecto.Repo, otp_app: :dummy_app, adapter: Ecto.Adapters.Postgres end
24.5
69
0.785714
e84cb9ec49a181a5dde735b5a884a383b1c33f16
202
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20190516034014_add_created_backup_code_at_to_user.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/priv/repo/migrations/20190516034014_add_created_backup_code_at_to_user.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/priv/repo/migrations/20190516034014_add_created_backup_code_at_to_user.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
defmodule EWalletDB.Repo.Migrations.AddCreatedBackupCodeAtToUser do use Ecto.Migration def change do alter table(:user) do add :backup_codes_created_at, :naive_datetime end end end
20.2
67
0.762376
e84cd37338c09baa8b8a218d133a02d1a051f39b
1,778
exs
Elixir
apps/web/mix.exs
renovate-tests/ex
2e02d5a1e59122c13a0ebd2321f5cb291160aaa8
[ "MIT" ]
null
null
null
apps/web/mix.exs
renovate-tests/ex
2e02d5a1e59122c13a0ebd2321f5cb291160aaa8
[ "MIT" ]
null
null
null
apps/web/mix.exs
renovate-tests/ex
2e02d5a1e59122c13a0ebd2321f5cb291160aaa8
[ "MIT" ]
null
null
null
defmodule Web.Mixfile do use Mix.Project def project do [ app: :web, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env)...
26.537313
79
0.566367
e84cdea863ce2dcc1c0e64fdbdbd1713b09328e5
7,593
ex
Elixir
lib/ecto/adapters/sql/worker.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql/worker.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql/worker.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.SQL.Worker do @moduledoc false use GenServer def start_link({module, args}) do GenServer.start_link(__MODULE__, {module, args}) end def start({module, args}) do GenServer.start(__MODULE__, {module, args}) end def link_me(worker, timeout) do GenServer.call(worker, :li...
26.642105
90
0.590939
e84cef48af0ce035e8e99be918c01279c249be9f
1,154
ex
Elixir
lib/radiator/directory/audio.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
lib/radiator/directory/audio.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
lib/radiator/directory/audio.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
defmodule Radiator.Directory.Audio do @moduledoc """ Audio Meta Object. An Audio contains all data required to generate a web player: file references and audio metadata. An Audio belongs to one or many episodes, or stand on its own in a network. """ use Ecto.Schema import Ecto.Changeset import Arc....
25.086957
94
0.717504
e84cf7d2298e8049f40d9e1467b2c58cec7cb166
36,310
ex
Elixir
lib/ecto/association.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
lib/ecto/association.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
lib/ecto/association.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "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 one to one associations when they are not loaded. The fields are: * `__field__` - the association field in `owner` * `__owner__` - the schema that owns the association ...
34.913462
112
0.659212
e84cf7df3ca7e9633e6409559eace10e837076ac
197
exs
Elixir
priv/repo/migrations/20190118182122_add_is_urgent_to_posts.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
priv/repo/migrations/20190118182122_add_is_urgent_to_posts.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
priv/repo/migrations/20190118182122_add_is_urgent_to_posts.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule Level.Repo.Migrations.AddIsUrgentToPosts do use Ecto.Migration def change do alter table(:posts) do add :is_urgent, :boolean, null: false, default: false end end end
19.7
59
0.715736
e84d01cd307c75d3b7567fa479d69acb51396263
11,716
exs
Elixir
exercises/concept/rpn-calculator-inspection/test/rpn_calculator_inspection_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
1
2021-06-09T06:57:02.000Z
2021-06-09T06:57:02.000Z
exercises/concept/rpn-calculator-inspection/test/rpn_calculator_inspection_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
6
2022-03-04T13:05:25.000Z
2022-03-30T18:36:49.000Z
exercises/concept/rpn-calculator-inspection/test/rpn_calculator_inspection_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
null
null
null
defmodule RPNCalculatorInspectionTest do use ExUnit.Case, async: false defmodule RPNCalculator do def unsafe_division(input) do [_, a, b] = Regex.run(~r/^(\d*) (\d*) \/$/, input) String.to_integer(a) / String.to_integer(b) end end defp flush_messages() do receive do _ -> ...
33.378917
124
0.620775
e84d0d32f919e7079b6daa1680a7a4e3efb21ee5
1,043
exs
Elixir
mix.exs
jwarlander/hedwig_hipchat
375dee4eab81bdf7e6167552503bfe2ba331c93f
[ "MIT" ]
7
2016-03-15T12:29:51.000Z
2017-03-15T16:12:06.000Z
mix.exs
jwarlander/hedwig_hipchat
375dee4eab81bdf7e6167552503bfe2ba331c93f
[ "MIT" ]
6
2016-03-21T21:23:27.000Z
2017-02-12T23:03:48.000Z
mix.exs
jwarlander/hedwig_hipchat
375dee4eab81bdf7e6167552503bfe2ba331c93f
[ "MIT" ]
6
2016-04-05T14:51:16.000Z
2018-05-11T23:48:07.000Z
defmodule HedwigHipChat.Mixfile do use Mix.Project @version "0.9.4" @source_url "https://github.com/jwarlander/hedwig_hipchat" def project do [app: :hedwig_hipchat, name: "Hedwig HipChat", source_url: @source_url, version: @version, elixir: "~> 1.1", build_embedded: Mix.env == :pr...
24.833333
85
0.581975
e84d4e24814d3cf27f625e5c0fb4eb6a218389f6
8,895
exs
Elixir
lib/eex/test/eex_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ require EEx defmodule EExTest.Compiled do def before_compile do fill_in_stacktrace {__ENV__.line, hd(tl(System.stacktrace))} end EEx.function_from_string :def, :string_sample, "<%= a + b %>", [:a, :b] filename = Path.join(__DIR__, "fixtures/eex_template_w...
22.126866
109
0.617538
e84d8360603167ac61afbb6a61e2b8696788fbaf
1,633
ex
Elixir
clients/network_security/lib/google_api/network_security/v1/model/google_iam_v1_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_security/lib/google_api/network_security/v1/model/google_iam_v1_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_security/lib/google_api/network_security/v1/model/google_iam_v1_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...
31.403846
143
0.747704
e84d9ae088695f1c8ab4ad849c220325dc931a6c
5,635
exs
Elixir
test/distance_test.exs
safwank/Statix
ca2abe476c91172d05488f8a7703545fc9563c6f
[ "MIT" ]
null
null
null
test/distance_test.exs
safwank/Statix
ca2abe476c91172d05488f8a7703545fc9563c6f
[ "MIT" ]
null
null
null
test/distance_test.exs
safwank/Statix
ca2abe476c91172d05488f8a7703545fc9563c6f
[ "MIT" ]
null
null
null
defmodule Numerix.DistanceTest do use ExUnit.Case, async: true use ExUnitProperties import ListHelper alias Numerix.{Correlation, Distance} describe "mse/2" do test "is correct for a specific example" do vector1 = [12, 15, 20, 22, 24] vector2 = [13, 17, 18, 20, 24] assert Distance.mse...
29.196891
93
0.547116
e84db5471793f05c7a93bcb8c278dbfbbca4cafe
260
ex
Elixir
lib/link_previewer/helpers.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
4
2018-11-07T13:47:13.000Z
2021-11-01T10:12:15.000Z
lib/link_previewer/helpers.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
null
null
null
lib/link_previewer/helpers.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
2
2019-10-15T20:27:53.000Z
2021-08-20T04:32:35.000Z
defmodule LinkPreviewer.Helpers do @moduledoc false @spec normalize_link(String.t(), String.t()) :: String.t() | nil def normalize_link(_base_link, nil), do: nil def normalize_link(base_link, link), do: base_link |> URI.merge(link) |> to_string() end
32.5
86
0.719231
e84dbdced40d2a0a469ef9a74baa9b7fc6a55ab6
586
ex
Elixir
lib/util/crypto.ex
Zensavona/naughtygram
b10cc3fc149ca83ca9a0b794927ce3cd87717493
[ "MIT" ]
14
2016-04-28T19:18:09.000Z
2021-09-04T11:38:15.000Z
lib/util/crypto.ex
Zensavona/naughtygram
b10cc3fc149ca83ca9a0b794927ce3cd87717493
[ "MIT" ]
1
2016-02-19T08:57:52.000Z
2016-02-19T10:00:08.000Z
lib/util/crypto.ex
Zensavona/naughtygram
b10cc3fc149ca83ca9a0b794927ce3cd87717493
[ "MIT" ]
4
2015-10-26T20:55:18.000Z
2020-07-29T21:02:09.000Z
defmodule Naughtygram.Crypto do @moduledoc """ Handles some very basic crypto functionality """ @key "b4a23f5e39b5929e0666ac5de94c89d1618a2916" @doc """ Takes some data which is to be sent as the body, and returns a signed body which is ready to send to the server. """ def signed_body(data) do si...
27.904762
77
0.696246
e84dc6524a5f2fae4a5531d6c5b362e09f585eb2
1,765
ex
Elixir
lib/remote_retro_web.ex
birkand/remote_retro
f7fef13aa8779cd4a8a9fd73d2fbbd5ae537634c
[ "MIT" ]
null
null
null
lib/remote_retro_web.ex
birkand/remote_retro
f7fef13aa8779cd4a8a9fd73d2fbbd5ae537634c
[ "MIT" ]
null
null
null
lib/remote_retro_web.ex
birkand/remote_retro
f7fef13aa8779cd4a8a9fd73d2fbbd5ae537634c
[ "MIT" ]
null
null
null
defmodule RemoteRetroWeb do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use RemoteRetroWeb, :controller use RemoteRetroWeb, :view The definitions below will be executed for every view, controller, etc, so keep...
21.26506
88
0.67762
e84dcc22c90a4e76e280275452d05a273d7eae90
143
exs
Elixir
test/plexy/logger/simple_redactor_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
153
2016-11-07T15:11:52.000Z
2021-11-16T23:20:52.000Z
test/plexy/logger/simple_redactor_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
21
2016-11-07T14:55:09.000Z
2022-03-30T18:31:31.000Z
test/plexy/logger/simple_redactor_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
5
2018-07-09T05:02:53.000Z
2019-11-01T01:08:09.000Z
defmodule Plexy.Logger.SimpleRedactorTest do use ExUnit.Case, async: true alias Plexy.Logger.SimpleRedactor doctest SimpleRedactor end
17.875
44
0.811189
e84dd0d5fc75996f405ab79c368fba06ab2c87fb
1,035
ex
Elixir
apps/admin_api/lib/admin_api/global/controllers/status_controller.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/lib/admin_api/global/controllers/status_controller.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/lib/admin_api/global/controllers/status_controller.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 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 ...
30.441176
74
0.723671
e84dd74294b1326c811af0b3d91c7c0b8c9e5b3f
330
ex
Elixir
lib/hippo_game_live_web/controllers/page_controller.ex
manojsamanta/typing-race
6bec298b3470145ba9ae6b23ee8c5e2a6be7328b
[ "MIT" ]
null
null
null
lib/hippo_game_live_web/controllers/page_controller.ex
manojsamanta/typing-race
6bec298b3470145ba9ae6b23ee8c5e2a6be7328b
[ "MIT" ]
2
2021-03-09T16:25:19.000Z
2021-05-10T11:12:55.000Z
lib/hippo_game_live_web/controllers/page_controller.ex
manojsamanta/typing-race
6bec298b3470145ba9ae6b23ee8c5e2a6be7328b
[ "MIT" ]
1
2021-07-04T09:01:31.000Z
2021-07-04T09:01:31.000Z
defmodule HippoGameLiveWeb.PageController do use HippoGameLiveWeb, :controller def index(conn, _params) do render(conn, "index.html") end def game(conn, _params) do Phoenix.LiveView.Controller.live_render( conn, HippoGameLiveWeb.HippoGameLive, session: %{cookies: conn.cookies} ) ...
20.625
44
0.706061
e84e163862d897637dfa49806039198d2b8d44f1
14,288
exs
Elixir
test/binance_test.exs
alfaridi/binance.ex
50acf31eae15b377d7d2e4fc8d0dfa74e5052433
[ "MIT" ]
null
null
null
test/binance_test.exs
alfaridi/binance.ex
50acf31eae15b377d7d2e4fc8d0dfa74e5052433
[ "MIT" ]
null
null
null
test/binance_test.exs
alfaridi/binance.ex
50acf31eae15b377d7d2e4fc8d0dfa74e5052433
[ "MIT" ]
null
null
null
defmodule BinanceTest do use ExUnit.Case use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest Binance setup_all do HTTPoison.start() end test "ping returns an empty map" do use_cassette "ping_ok" do assert Binance.ping() == {:ok, %{}} end end test "get_server_time success return a...
39.145205
98
0.595745
e84e3e8b19605c361f2612b18074f7d79e24e037
2,279
exs
Elixir
test/suite/draft6/enum_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
1
2019-06-21T10:55:33.000Z
2019-06-21T10:55:33.000Z
test/suite/draft6/enum_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
null
null
null
test/suite/draft6/enum_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
null
null
null
defmodule Draft6.EnumTest do use ExUnit.Case, async: true import JsonXema, only: [valid?: 2] describe "simple enum validation" do setup do %{schema: ~s( { "enum": [ 1, 2, 3 ] } ) |> Jason.decode!() |> JsonXema.new()} e...
21.101852
69
0.455024
e84e45c563ae60c5641581dbc663c70a9396585b
1,924
ex
Elixir
lib/cond_parser.ex
FabienHenon/cond_parser
35d13c89decaa1f7ed500c2e8c9da5572da28d0f
[ "MIT" ]
null
null
null
lib/cond_parser.ex
FabienHenon/cond_parser
35d13c89decaa1f7ed500c2e8c9da5572da28d0f
[ "MIT" ]
null
null
null
lib/cond_parser.ex
FabienHenon/cond_parser
35d13c89decaa1f7ed500c2e8c9da5572da28d0f
[ "MIT" ]
null
null
null
defmodule CondParser do @moduledoc """ `CondParser` reads conditions like `(':foo' or ("toto" == true AND (12 != 13 OR false))) and true` and transform them either in an ast with `parse/1`, or in json with `to_json/1`. Ast looks like this: ``` {:and_op, {:or_op, ":foo", {:and_op, {:eq_...
20.041667
84
0.476091
e84e4af69e402b8cf86babf7b831b40f7333d667
37
ex
Elixir
lib/nerves_hub_cli/device.ex
danielspofford/nerves_hub_cli
3d12abe873e27448ba5c862a08f03d719cc40dc2
[ "Apache-2.0" ]
28
2018-08-15T02:17:26.000Z
2021-11-25T11:14:24.000Z
lib/nerves_hub_cli/device.ex
danielspofford/nerves_hub_cli
3d12abe873e27448ba5c862a08f03d719cc40dc2
[ "Apache-2.0" ]
81
2018-08-13T17:14:14.000Z
2021-09-11T13:08:29.000Z
lib/nerves_hub_cli/device.ex
danielspofford/nerves_hub_cli
3d12abe873e27448ba5c862a08f03d719cc40dc2
[ "Apache-2.0" ]
13
2018-09-14T12:47:26.000Z
2022-02-03T07:28:41.000Z
defmodule NervesHubCLI.Device do end
12.333333
32
0.864865
e84e5fd5d9f976a9f37091376725d1cc3365d831
744
exs
Elixir
apps/imposc/test/dynamics/state_of_motion_test.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "MIT" ]
null
null
null
apps/imposc/test/dynamics/state_of_motion_test.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "MIT" ]
null
null
null
apps/imposc/test/dynamics/state_of_motion_test.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "MIT" ]
null
null
null
defmodule StateOfMotionTest do use ExUnit.Case alias StateOfMotion @moduletag :capture_log doctest StateOfMotion test "module exists" do assert is_list(StateOfMotion.module_info()) end test "ImpactPoint from state" do omega = 2 * :math.pi() for state <- [ %StateOfMotion{t: 37.5...
23.25
84
0.53629
e84e604c983bbc67417db044e8adc31a84dc274c
1,802
exs
Elixir
test/materia_career/tags/tags_test.exs
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
null
null
null
test/materia_career/tags/tags_test.exs
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
23
2019-01-16T01:52:22.000Z
2019-06-20T01:59:55.000Z
test/materia_career/tags/tags_test.exs
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
null
null
null
defmodule MateriaCareer.TagsTest do use MateriaCareer.DataCase alias MateriaCareer.Tags describe "tags" do alias MateriaCareer.Tags.Tag @valid_attrs %{label: "some label"} @update_attrs %{label: "some updated label"} @invalid_attrs %{label: nil} def tag_fixture(attrs \\ %{}) do {:ok,...
27.30303
79
0.633185
e84e772327c7ed32cdb2649f40f53bd26ccbddcc
2,847
exs
Elixir
config/runtime.exs
miguelcoba/saturn
c5b4386c32ea9c1862638e08707b2cf346a1092e
[ "MIT" ]
9
2021-11-02T11:11:41.000Z
2022-03-04T07:39:22.000Z
config/runtime.exs
miguelcoba/saturn
c5b4386c32ea9c1862638e08707b2cf346a1092e
[ "MIT" ]
null
null
null
config/runtime.exs
miguelcoba/saturn
c5b4386c32ea9c1862638e08707b2cf346a1092e
[ "MIT" ]
5
2021-11-27T00:14:13.000Z
2022-03-04T07:17:49.000Z
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
38.472973
82
0.696874
e84ec8983bac21e15c8a4758e43594fdc0880e1e
611
exs
Elixir
mix.exs
spawnproc/spawnproc
5f6f34328cc065fca97ef069e3b00527addab51f
[ "0BSD" ]
2
2017-02-26T21:22:16.000Z
2017-02-28T11:39:59.000Z
mix.exs
enterprizing/fix
5f6f34328cc065fca97ef069e3b00527addab51f
[ "0BSD" ]
null
null
null
mix.exs
enterprizing/fix
5f6f34328cc065fca97ef069e3b00527addab51f
[ "0BSD" ]
1
2021-01-10T23:47:18.000Z
2021-01-10T23:47:18.000Z
defmodule FIX.Mixfile do use Mix.Project def project() do [ app: :fix, version: "4.6.0", description: "FIX Financial Information Exchange", package: package(), elixir: "~> 1.7", deps: deps() ] end def package do [ files: ~w(doc include src mix.exs LICENSE)...
16.972222
65
0.523732
e84f3f5908bf7e346ce6554aabb0905e108a80a9
6,066
exs
Elixir
.credo.exs
kianmeng/benchee_markdown
701ac80e0d862888e17ccea29cb784ab1e943de5
[ "MIT" ]
null
null
null
.credo.exs
kianmeng/benchee_markdown
701ac80e0d862888e17ccea29cb784ab1e943de5
[ "MIT" ]
null
null
null
.credo.exs
kianmeng/benchee_markdown
701ac80e0d862888e17ccea29cb784ab1e943de5
[ "MIT" ]
null
null
null
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
37.9125
91
0.633861
e84f4cc8f1f30b77a48f945875e8974c6bfd2bd9
688
exs
Elixir
test/unit/hologram/compiler/module_def_aggregators/elixir_list_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/module_def_aggregators/elixir_list_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/module_def_aggregators/elixir_list_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.ModuleDefAggregator.ElixirListTest do use Hologram.Test.UnitCase, async: false alias Hologram.Compiler.{ModuleDefAggregator, ModuleDefStore} alias Hologram.Compiler.IR.{ModuleDefinition, ModuleType} alias Hologram.Test.Fixtures.{PlaceholderModule1, PlaceholderModule2} setup do ...
27.52
72
0.758721
e84fc5f9bfa94e6c0a463ebf852bd3f7f8eaed31
6,179
ex
Elixir
test/support/router.ex
Matsa59/phoenix_live_view
20430b791e8e321b5d4ed10a8e1fa46321a7db85
[ "MIT" ]
null
null
null
test/support/router.ex
Matsa59/phoenix_live_view
20430b791e8e321b5d4ed10a8e1fa46321a7db85
[ "MIT" ]
null
null
null
test/support/router.ex
Matsa59/phoenix_live_view
20430b791e8e321b5d4ed10a8e1fa46321a7db85
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.Router.ForwardedRouter do use Phoenix.Router import Phoenix.LiveView.Router pipeline :browser do plug :accepts, ["html"] end scope "/", Phoenix.LiveViewTest do pipe_through [:browser] live "/:params", ForwardedLive end end defmodule Phoenix.LiveViewTest.Router ...
32.521053
97
0.698009
e8501a1fc40d8853b7f788836a31aab2bee8ad41
595
exs
Elixir
fizzbuzz/test/fizzbuzz_test.exs
fernanduandrade/logic-studies
49e274d9f503880691c38d4493152cec1b02dd29
[ "MIT" ]
null
null
null
fizzbuzz/test/fizzbuzz_test.exs
fernanduandrade/logic-studies
49e274d9f503880691c38d4493152cec1b02dd29
[ "MIT" ]
null
null
null
fizzbuzz/test/fizzbuzz_test.exs
fernanduandrade/logic-studies
49e274d9f503880691c38d4493152cec1b02dd29
[ "MIT" ]
null
null
null
defmodule FizzbuzzTest do use ExUnit.Case describe "build/1" do test "when a file is valid it returns the converted list" do expectedResponse = {:ok, [1, 2, :fizz, 4, :buzz, :fizz, 7, 8, :fizz, :buzz, 11, :fizz, 13, 14, :fizzbuzz, 16, 17, :buzz, :buzz, :fizzbuzz, :fizzbuzz]} assert Fiz...
33.055556
119
0.648739
e85044101141f1fba9230af79e4b903b5173ecfa
497
ex
Elixir
lib/lucidboard_web/views/error_view.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
86
2019-01-07T20:49:04.000Z
2021-10-02T21:15:42.000Z
lib/lucidboard_web/views/error_view.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
26
2019-03-27T12:06:52.000Z
2020-09-20T05:21:09.000Z
lib/lucidboard_web/views/error_view.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
19
2015-01-06T19:02:49.000Z
2020-05-25T08:54:00.000Z
defmodule LucidboardWeb.ErrorView do use LucidboardWeb, :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 templat...
29.235294
61
0.738431
e85074216e0e399edda02438037980d2d24090db
7,950
ex
Elixir
lib/parse/zoneinfo/parser.ex
Adzz/timex
a9c97e2dd9cb5bed286d5a1d688f3eea8e73e6ea
[ "MIT" ]
null
null
null
lib/parse/zoneinfo/parser.ex
Adzz/timex
a9c97e2dd9cb5bed286d5a1d688f3eea8e73e6ea
[ "MIT" ]
null
null
null
lib/parse/zoneinfo/parser.ex
Adzz/timex
a9c97e2dd9cb5bed286d5a1d688f3eea8e73e6ea
[ "MIT" ]
null
null
null
defmodule Timex.Parse.ZoneInfo.Parser do @moduledoc """ This module is responsible for parsing binary zoneinfo files, such as those found in /usr/local/zoneinfo. """ # See http://linux.about.com/library/cmd/blcmdl5_tzfile.htm or # https://github.com/eggert/tz/blob/master/tzfile.h for details on the tzfile ...
31.422925
93
0.621761
e850c614caf508dfa022523f74047d28d292d757
9,509
exs
Elixir
test/oban/testing_test.exs
polvalente/oban
7267f8f37f8257b735d498d81cc1e43147cefc49
[ "Apache-2.0" ]
null
null
null
test/oban/testing_test.exs
polvalente/oban
7267f8f37f8257b735d498d81cc1e43147cefc49
[ "Apache-2.0" ]
null
null
null
test/oban/testing_test.exs
polvalente/oban
7267f8f37f8257b735d498d81cc1e43147cefc49
[ "Apache-2.0" ]
null
null
null
defmodule Oban.TestingTest do use Oban.Case use Oban.Testing, repo: Oban.Test.Repo alias Oban.TelemetryHandler @moduletag :integration defmodule InvalidWorker do def perform(_), do: :ok end defmodule OverriddenWorker do use Oban.Worker @impl Worker def new({key, val}, opts) do ...
31.279605
97
0.628668
e850d59ebcb6ac08ed4a9aa8ec797893837eac3e
352
exs
Elixir
mix.exs
faithandbrave/elixir_recursive_file
c9e840bf5716b7e40e1006c34409a57cdd507cbc
[ "MIT" ]
null
null
null
mix.exs
faithandbrave/elixir_recursive_file
c9e840bf5716b7e40e1006c34409a57cdd507cbc
[ "MIT" ]
null
null
null
mix.exs
faithandbrave/elixir_recursive_file
c9e840bf5716b7e40e1006c34409a57cdd507cbc
[ "MIT" ]
null
null
null
defmodule ElixirRecursiveFile.Mixfile do use Mix.Project def project do [app: :elixir_recursive_file, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end def application do [applications: [:logger]] end ...
16.761905
40
0.616477
e851279bb5017b0ea95af083d5b0ff5f9a355224
1,475
ex
Elixir
lib/robolia_web/views/error_helpers.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
1
2020-01-19T04:27:46.000Z
2020-01-19T04:27:46.000Z
lib/robolia_web/views/error_helpers.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
null
null
null
lib/robolia_web/views/error_helpers.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
1
2018-05-13T14:06:46.000Z
2018-05-13T14:06:46.000Z
defmodule RoboliaWeb.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 Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(...
32.777778
76
0.671186
e8512fae6919e76a374f0ef725f7315bb5c27f28
3,632
exs
Elixir
project/queens/test/queen_attack_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
project/queens/test/queen_attack_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
1
2018-06-19T18:59:41.000Z
2018-06-19T18:59:41.000Z
project/queens/test/queen_attack_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
#if !System.get_env("EXERCISM_TEST_EXAMPLES") do # Code.load_file("queen_attack.exs", __DIR__) #end #ExUnit.start() #ExUnit.configure(exclude: :pending, trace: true) defmodule QueenAttackTest do use ExUnit.Case setup_all do IO.puts "===== setup_all =======" Queens.init() |> IO.inspect end # @tag...
20.99422
58
0.547357
e851417aea70c0eb9de6d00b6cbab2c72861d17d
11,020
ex
Elixir
priv/templates/coh.install/views/coherence/coherence_view_helpers.ex
pmarreck/coherence
aa0ef8403197dfd262863f4b0e592122a1a3e525
[ "MIT" ]
1,347
2016-07-04T23:20:10.000Z
2022-02-10T20:10:48.000Z
priv/templates/coh.install/views/coherence/coherence_view_helpers.ex
pmarreck/coherence
aa0ef8403197dfd262863f4b0e592122a1a3e525
[ "MIT" ]
378
2016-07-06T16:30:28.000Z
2021-09-16T13:34:05.000Z
priv/templates/coh.install/views/coherence/coherence_view_helpers.ex
pmarreck/coherence
aa0ef8403197dfd262863f4b0e592122a1a3e525
[ "MIT" ]
276
2016-07-06T20:26:17.000Z
2021-12-06T19:32:41.000Z
defmodule <%= web_base %>.Coherence.ViewHelpers do @moduledoc """ Helper functions for Coherence Views. Use these convenience functions to generate coherence links in your application. Each link supports a number of options to customize the returned markup. For example, to generate links in your layout temp...
31.849711
92
0.670054
e85171bb012aac43a5bfe2c94230d8c568fc1d26
702
ex
Elixir
clients/hydra/elixir/lib/ory/model/reject_request.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/hydra/elixir/lib/ory/model/reject_request.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/hydra/elixir/lib/ory/model/reject_request.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.RejectRequest do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"error", :"error_debug", :"error_descripti...
20.647059
91
0.636752
e8519005471d4ff9bc480abc10674034f5205693
2,004
ex
Elixir
lib/koans/09_map_sets.ex
camisetags/elixir-koans
7bb1655d0f290c0834276091efa5a28b416dd91a
[ "MIT" ]
1
2020-11-23T17:01:37.000Z
2020-11-23T17:01:37.000Z
lib/koans/09_map_sets.ex
camisetags/elixir-koans
7bb1655d0f290c0834276091efa5a28b416dd91a
[ "MIT" ]
null
null
null
lib/koans/09_map_sets.ex
camisetags/elixir-koans
7bb1655d0f290c0834276091efa5a28b416dd91a
[ "MIT" ]
null
null
null
defmodule MapSets do use Koans @intro "My name is Set, MapSet." @set MapSet.new([1, 2, 3, 4, 5]) koan "I am very similar to a list" do assert Enum.fetch(@set, 0) == {:ok, ___} end koan "However, I do not allow duplication" do new_set = MapSet.new([1, 1, 2, 3, 3, 3]) assert MapSet.size(new_s...
24.740741
85
0.646707
e85197ff8ec6b343970c9b01d7e433745fe857cf
1,957
exs
Elixir
test/kazan/server_test.exs
vickerysec/obmarg_kazan
27e9ab923dd2a3b89e030de918f4d7c9da316248
[ "MIT" ]
null
null
null
test/kazan/server_test.exs
vickerysec/obmarg_kazan
27e9ab923dd2a3b89e030de918f4d7c9da316248
[ "MIT" ]
null
null
null
test/kazan/server_test.exs
vickerysec/obmarg_kazan
27e9ab923dd2a3b89e030de918f4d7c9da316248
[ "MIT" ]
null
null
null
defmodule Kazan.ServerTest do use ExUnit.Case alias Kazan.Server alias Kazan.Server.{CertificateAuth, TokenAuth} describe "Server.from_kubeconfig" do test "loads default context" do config = Server.from_kubeconfig("test/test_data/kubeconfig") assert config.url == "https://172.17.4.99:443" ...
26.808219
80
0.607052
e8519ae3877ad62b6567d0ed9e09f28c9ac8b7eb
577
ex
Elixir
chapter20/my.ex
PaoloLaurenti/programming_elixir
b243097dafac7d95632ada1035e8ab62248bbff6
[ "MIT" ]
null
null
null
chapter20/my.ex
PaoloLaurenti/programming_elixir
b243097dafac7d95632ada1035e8ab62248bbff6
[ "MIT" ]
null
null
null
chapter20/my.ex
PaoloLaurenti/programming_elixir
b243097dafac7d95632ada1035e8ab62248bbff6
[ "MIT" ]
2
2018-03-22T01:47:28.000Z
2018-06-29T00:37:22.000Z
defmodule My do defmacro unless(condition, clauses) do do_clause = Keyword.get(clauses, :do) else_clause = Keyword.get(clauses, :else) quote do case unquote(condition) do val when val in [nil, false] -> unquote(do_clause) _ -> unquote(else_clause) end end end end defm...
16.027778
58
0.592721
e851e7b07301d445af8bd79e2e4b950f0d9fa661
416
ex
Elixir
apps/tai/lib/tai/venue_adapters/gdax/maker_taker_fees.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/lib/tai/venue_adapters/gdax/maker_taker_fees.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venue_adapters/gdax/maker_taker_fees.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
defmodule Tai.VenueAdapters.Gdax.MakerTakerFees do # TODO: # When API endpoint is added for user fee rate it should be used to get # an accurate value for the 30 day trailing fee rate. Currently it assumes # the highest taker fee rate of 0.30%. def maker_taker_fees(_venue_id, _account_id, _credentials) do ...
32
77
0.711538
e851fde11ff0bba212f06fd019ba0effc9e17900
418
ex
Elixir
lib/rocketpay/accounts/deposit.ex
caiocichetti/nlw-04-rocketpay
b68c55841e6298757007136859d7b9a98702d127
[ "MIT" ]
80
2021-02-26T13:26:00.000Z
2022-01-31T15:13:18.000Z
lib/rocketpay/accounts/deposit.ex
caiocichetti/nlw-04-rocketpay
b68c55841e6298757007136859d7b9a98702d127
[ "MIT" ]
null
null
null
lib/rocketpay/accounts/deposit.ex
caiocichetti/nlw-04-rocketpay
b68c55841e6298757007136859d7b9a98702d127
[ "MIT" ]
42
2021-02-26T13:26:19.000Z
2021-12-11T16:32:47.000Z
defmodule Rocketpay.Accounts.Deposit do alias Rocketpay.Accounts.Operation alias Rocketpay.Repo def call(params) do params |> Operation.call(:deposit) |> run_transaction() end defp run_transaction(multi) do case Repo.transaction(multi) do {:error, _operation, reason, _changes} -> ...
19.904762
47
0.643541
e85248f39fba178bdc2230b69cab3ac73760fffb
4,095
ex
Elixir
lib/elixir/lib/tuple.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/tuple.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/tuple.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
defmodule Tuple do @moduledoc """ Functions for working with tuples. Tuples are ordered collection of elements; tuples can contain elements of any type, and a tuple can contain elements of different types. Curly braces can be used to create tuples: iex> {} {} iex> {1, :two, "three"} ...
27.119205
80
0.66105
e852540a68019f17761216512389355376238418
1,323
exs
Elixir
test/wabanex_web/schema_test.exs
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
null
null
null
test/wabanex_web/schema_test.exs
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
null
null
null
test/wabanex_web/schema_test.exs
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
null
null
null
defmodule WabanexWeb.SchemaTest do use WabanexWeb.ConnCase, async: true alias Wabanex.User alias Wabanex.Users.Create describe "users queries" do test "when a valid id is given, return the user", %{conn: conn} do params = %{email: "rafael@gmail.com", name: "rafael", password: "123456"} {:ok, %U...
22.05
89
0.513228
e8525bcb6344d67580499bee959bd824e70bcc9d
2,030
ex
Elixir
lib/mix/tasks/brando.resave.entries.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/mix/tasks/brando.resave.entries.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/mix/tasks/brando.resave.entries.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Brando.Resave.Entries do use Mix.Task @shortdoc "Re-save all entries" @moduledoc """ Re-save all entries mix brando.resave.entries Re-save entries for specific blueprint mix brando.resave.entries MyApp.Projects.Project """ @spec run(any) :: no_return def run([]) do ...
24.756098
97
0.578325
e852850aef778e009f840dfa1a5e0d4dcc73bb30
1,201
exs
Elixir
lib/elixir/test/elixir/integer_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/test/elixir/integer_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/integer_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule IntegerTest do use ExUnit.Case, async: true require Integer test :odd? do assert Integer.is_odd(0) == false assert Integer.is_odd(1) == true assert Integer.is_odd(2) == false assert Integer.is_odd(3) == true assert Integer.is_odd(-1) == ...
30.025
57
0.616986
e8529181cb61cd06af43ed199322a9fe28362933
51,847
ex
Elixir
lib/codi/pattern/struct/struct.ex
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
lib/codi/pattern/struct/struct.ex
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
lib/codi/pattern/struct/struct.ex
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
defmodule Plymio.Codi.Pattern.Struct do @moduledoc ~S""" The *struct* patterns create a range of transform functions for a module's struct. See `Plymio.Codi` for an overview and documentation terms. ## Set and Unset Fields These patterns use *the unset value* (see `Plymio.Fontais.Guard.the_unset_value/0`...
37.927579
106
0.602311
e852a3b55b986d422a054c659dc0a612851cd941
8,763
ex
Elixir
apps/neoscan/lib/neoscan/blocks/blocks.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
null
null
null
apps/neoscan/lib/neoscan/blocks/blocks.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
null
null
null
apps/neoscan/lib/neoscan/blocks/blocks.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
null
null
null
defmodule Neoscan.Blocks do @moduledoc """ The boundary for the Blocks system. """ import Ecto.Query, warn: true alias Neoscan.Repo alias Neoscan.Blocks.Block alias Neoscan.Transactions alias Neoscan.Transactions.Transaction alias NeoscanMonitor.Api alias Neoscan.Stats alias NeoscanSync.HttpCalls...
18.605096
99
0.524364
e852a53bad4b9d3769e7fdbde8abfab09f0fe219
2,050
ex
Elixir
lib/nested_filter.ex
kianmeng/nested_filter
e391787ef3a5c35b2ea590a51c7237769b6d8e73
[ "MIT" ]
33
2017-04-10T04:38:57.000Z
2021-10-05T21:18:25.000Z
lib/nested_filter.ex
kianmeng/nested_filter
e391787ef3a5c35b2ea590a51c7237769b6d8e73
[ "MIT" ]
97
2017-04-05T01:15:09.000Z
2022-02-28T13:22:34.000Z
lib/nested_filter.ex
Obighbyd/nested_filter
e391787ef3a5c35b2ea590a51c7237769b6d8e73
[ "MIT" ]
9
2017-04-05T00:07:43.000Z
2022-03-08T07:29:27.000Z
defmodule NestedFilter do @moduledoc """ Documentation for NestedFilter. """ @type key :: any @type val :: any @type keys_to_select :: list @type predicate :: ((key, val) -> boolean) @spec drop_by(struct, predicate) :: struct def drop_by(%_{} = struct, _), do: struct @spec drop_by(map, predicate) ...
25.625
74
0.631707
e852d167aa129174ca6e9e250a3891e0a5b285ed
301
ex
Elixir
web/controllers/user_controller.ex
krondev/elm-elixir-starter
3954fb3982e9e2330cfae197c7ecea34402cfcea
[ "MIT" ]
73
2017-06-06T20:10:11.000Z
2020-12-05T22:11:31.000Z
web/controllers/user_controller.ex
krondev/elm-elixir-starter
3954fb3982e9e2330cfae197c7ecea34402cfcea
[ "MIT" ]
8
2017-05-24T02:08:58.000Z
2018-05-11T14:54:29.000Z
web/controllers/user_controller.ex
krondev/elm-elixir-starter
3954fb3982e9e2330cfae197c7ecea34402cfcea
[ "MIT" ]
22
2017-07-30T02:59:23.000Z
2020-12-05T22:13:18.000Z
defmodule Elmelixirstarter.UserController do use Elmelixirstarter.Web, :controller use Guardian.Phoenix.Controller plug(Guardian.Plug.EnsureAuthenticated, handler: Elmelixirstarter.AuthErrorHandler) def me(conn, _params, user, _claims) do render(conn, "show.json", user: user) end end
27.363636
85
0.784053
e852d2e7c0d503883ba1d4f695f8b81632163d65
4,915
exs
Elixir
mix.exs
iautom8things/oban
5f1dfc277c2933fdc0dada812dbbca31c6d55fa0
[ "Apache-2.0" ]
null
null
null
mix.exs
iautom8things/oban
5f1dfc277c2933fdc0dada812dbbca31c6d55fa0
[ "Apache-2.0" ]
null
null
null
mix.exs
iautom8things/oban
5f1dfc277c2933fdc0dada812dbbca31c6d55fa0
[ "Apache-2.0" ]
null
null
null
defmodule Oban.MixProject do use Mix.Project @version "2.3.4" def project do [ app: :oban, version: @version, elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), preferred_cli_env: [...
27.768362
89
0.560122
e852d8788a3ca4ca1c4bd6b2a7df9b580561a530
1,885
exs
Elixir
test/cingi/when_plan_test.exs
Rhathe/Cing_I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
14
2017-09-21T19:45:12.000Z
2020-10-12T04:06:11.000Z
test/cingi/when_plan_test.exs
Rhathe/Cing_I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
null
null
null
test/cingi/when_plan_test.exs
Rhathe/Cing_I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
1
2017-09-21T21:50:42.000Z
2017-09-21T21:50:42.000Z
defmodule CingiWhenTest do use ExUnit.Case describe "when" do setup do Helper.run_mission_report("test/mission_plans/when.yaml") end test "runs correct amount of output", ctx do assert 10 = length(ctx.output) end test "things that should not run don't run", ctx do Enum.map ctx.output, &(assert n...
31.949153
99
0.722546
e852e23a625f08d0e39355ebbd09fa0437f483b7
3,473
ex
Elixir
lib/oban/plugins/gossip.ex
ethangunderson/oban
d8d044b4bfd79713ca120be2cb2c70e26eaa5b5d
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/gossip.ex
ethangunderson/oban
d8d044b4bfd79713ca120be2cb2c70e26eaa5b5d
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/gossip.ex
ethangunderson/oban
d8d044b4bfd79713ca120be2cb2c70e26eaa5b5d
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Plugins.Gossip do @moduledoc """ The Gossip plugin uses PubSub to periodically exchange queue state information between all interested nodes. This allows Oban instances to broadcast state information regardless of which engine they are using, and without storing anything in the database. Gossi...
26.310606
102
0.664843
e85300c3294281065660a53f43aaef1a296573a9
894
ex
Elixir
lib/xadmin/adminlog.ex
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
5
2016-08-30T01:23:50.000Z
2021-09-22T14:39:00.000Z
lib/xadmin/adminlog.ex
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
null
null
null
lib/xadmin/adminlog.ex
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
1
2021-12-10T11:10:55.000Z
2021-12-10T11:10:55.000Z
defmodule XAdmin.Adminlog do defmacro __using__(_) do quote do alias XAdmin.Adminlog require Logger end end defmacro debug(message) do if Mix.env in [:dev, :test] and Application.get_env(:xadmin, :logger, false) do quote do Logger.debug unquote(message) end end ...
22.923077
83
0.636465
e8530ab6c08ca33703072d0395abbf013d5292fa
21,543
ex
Elixir
lib/phoenix/test/conn_test.ex
Douvi/phoenix
7832e45e056a48f9dd4bd8178d6c6b0569f19194
[ "MIT" ]
null
null
null
lib/phoenix/test/conn_test.ex
Douvi/phoenix
7832e45e056a48f9dd4bd8178d6c6b0569f19194
[ "MIT" ]
null
null
null
lib/phoenix/test/conn_test.ex
Douvi/phoenix
7832e45e056a48f9dd4bd8178d6c6b0569f19194
[ "MIT" ]
null
null
null
defmodule Phoenix.ConnTest do @moduledoc """ Conveniences for testing Phoenix endpoints and connection related helpers. You likely want to use this module or make it part of your `ExUnit.CaseTemplate`. Once used, this module automatically imports all functions defined here as well as the functions in `Plug.C...
31.82127
116
0.679293
e853123e9b181a782f259eac38cd9cacb4d3d9e1
4,469
exs
Elixir
config/releases.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
config/releases.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
config/releases.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
import Config rpc_url = System.get_env("ETHEREUM_RPC_URL") vault_url = System.get_env("VAULT_URL") to_boolean = fn "true" -> true "false" -> false _ -> nil end mandatory = fn env, exception -> case System.get_env(env) do nil -> throw(exception) data -> data end end config :engine, finality_margin...
39.548673
118
0.748713
e8531cc378e8d8611a12a0d2260776d3eaaad9bc
98
ex
Elixir
lib/ex338.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
lib/ex338.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
lib/ex338.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338 do @moduledoc """ Ex338 keeps the contexts for the 338 application. """ end
16.333333
51
0.704082
e8538b0013cbd890a9bb4f8b1ac2ae958cf5bbec
3,442
ex
Elixir
lib/jeff/secure_channel.ex
smartrent/jeff
1cd2e418207579c338cdbdcaa331da8e17585b28
[ "Apache-2.0" ]
null
null
null
lib/jeff/secure_channel.ex
smartrent/jeff
1cd2e418207579c338cdbdcaa331da8e17585b28
[ "Apache-2.0" ]
null
null
null
lib/jeff/secure_channel.ex
smartrent/jeff
1cd2e418207579c338cdbdcaa331da8e17585b28
[ "Apache-2.0" ]
null
null
null
defmodule Jeff.SecureChannel do @moduledoc false use Bitwise defstruct [ :enc, :established?, :initialized?, :scbk, :server_cryptogram, :server_rnd, :smac1, :smac2, :rmac, :cmac, :scbkd? ] @scbk_default Base.decode16!("303132333435363738393A3B3C3D3E3F") @paddin...
23.902778
88
0.623475
e853bbd85d118589eda71648720cd7f6649ec837
156
exs
Elixir
train_shunting/test/train_shunting_test.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
train_shunting/test/train_shunting_test.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
train_shunting/test/train_shunting_test.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
defmodule TrainShuntingTest do use ExUnit.Case doctest TrainShunting test "greets the world" do assert TrainShunting.hello() == :world end end
17.333333
42
0.74359
e853e36a11bb605129929f2caf80d2384e6877b9
200
ex
Elixir
lib/options_tracker_web/live/position_live/delete_modal_component.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
12
2020-06-25T17:25:15.000Z
2021-09-30T20:13:33.000Z
lib/options_tracker_web/live/position_live/delete_modal_component.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
5
2020-08-05T03:12:31.000Z
2021-07-15T04:59:03.000Z
lib/options_tracker_web/live/position_live/delete_modal_component.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
2
2021-07-03T17:20:15.000Z
2021-09-01T15:38:58.000Z
defmodule OptionsTrackerWeb.PositionLive.DeleteModalComponent do use OptionsTrackerWeb, :live_component @impl true def update(assigns, socket) do {:ok, socket |> assign(assigns)} end end
22.222222
64
0.765
e853e7a9ccd2048eb753e026dd37e64dec0495f8
144
exs
Elixir
apps/fc_tesla/test/fc_tesla_test.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/fc_tesla/test/fc_tesla_test.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/fc_tesla/test/fc_tesla_test.exs
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FcTeslaTest do use ExUnit.Case doctest FcTesla # test "greets the world" do # assert FcTesla.hello() == :world # end end
16
38
0.680556
e853ef9cb3c078553c21191825dc18ad3aacb883
1,258
exs
Elixir
mix.exs
stefanchrobot/con_cache
9a497cbf1a1295310480598538ba50686b349ef8
[ "MIT" ]
null
null
null
mix.exs
stefanchrobot/con_cache
9a497cbf1a1295310480598538ba50686b349ef8
[ "MIT" ]
null
null
null
mix.exs
stefanchrobot/con_cache
9a497cbf1a1295310480598538ba50686b349ef8
[ "MIT" ]
null
null
null
Code.ensure_loaded?(Hex) and Hex.start() defmodule ConCache.Mixfile do use Mix.Project @version "0.13.1" def project do [ app: :con_cache, version: @version, elixir: "~> 1.7", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), pa...
25.16
126
0.540541
e853f7680b8b4d242f0e38481dc6708ec330479b
1,267
ex
Elixir
lib/elixir_console_web/live/live_monitor.ex
wyeworks/elixir_console
f72147224131cb43ebea4a5929030928cdf155d0
[ "MIT" ]
60
2019-11-23T15:54:24.000Z
2022-03-24T15:56:32.000Z
lib/elixir_console_web/live/live_monitor.ex
wyeworks/elixir_console
f72147224131cb43ebea4a5929030928cdf155d0
[ "MIT" ]
62
2019-11-11T00:44:38.000Z
2022-01-10T13:12:48.000Z
lib/elixir_console_web/live/live_monitor.ex
wyeworks/elixir_console
f72147224131cb43ebea4a5929030928cdf155d0
[ "MIT" ]
5
2020-01-15T00:44:30.000Z
2021-05-25T05:06:27.000Z
defmodule ElixirConsoleWeb.LiveMonitor do @moduledoc """ This module monitors the created sandbox processes. Gives a way to dispose those processes when they are not longer used. The code is based on https://github.com/phoenixframework/phoenix_live_view/issues/123 """ use GenServer def start_link(_) do...
30.166667
95
0.683504
e853fbaaa52d581c49d01323b6604d8ae87e52b1
1,835
ex
Elixir
farmbot_os/lib/mix/tasks.farmbot/env.ex
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
1
2021-04-22T10:18:50.000Z
2021-04-22T10:18:50.000Z
farmbot_os/lib/mix/tasks.farmbot/env.ex
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
null
null
null
farmbot_os/lib/mix/tasks.farmbot/env.ex
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Farmbot.Env do @moduledoc false @doc false def mix_config(key \\ nil) do config = Mix.Project.config() if key do config[key] else config end end @doc false def fw_file do # Path.join([images_dir(), "test.fw"]) Path.join([images_dir(), "#{mix_config(...
19.315789
81
0.571117