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
e998ddb3677f464f963c5f449d6d8f267e69b5b9
1,867
ex
Elixir
lib/surface_bulma/icon/font_awesome.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
lib/surface_bulma/icon/font_awesome.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
lib/surface_bulma/icon/font_awesome.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
defmodule SurfaceBulma.Icon.FontAwesome do @moduledoc """ A component that displays an icon compatible with the FontAwesome icons """ alias SurfaceFontAwesome.Icon use SurfaceFontAwesome, :icon @doc "Specifies the size of the span that wraps the icon." prop container_size, :string, values: ["small", "me...
21.45977
73
0.683449
e998ed372e1c4a28abad16599f40a1360e2045c6
541
exs
Elixir
test/models/run_test.exs
awseward/rundot
2182215f8aa22aab6c1ea21ed0705524c1ebdc44
[ "MIT" ]
null
null
null
test/models/run_test.exs
awseward/rundot
2182215f8aa22aab6c1ea21ed0705524c1ebdc44
[ "MIT" ]
null
null
null
test/models/run_test.exs
awseward/rundot
2182215f8aa22aab6c1ea21ed0705524c1ebdc44
[ "MIT" ]
null
null
null
defmodule Rundot.RunTest do use Rundot.ModelCase alias Rundot.Run @valid_attrs %{distance: "120.5", end_time: %{day: 17, hour: 14, min: 0, month: 4, sec: 0, year: 2010}, start_time: %{day: 17, hour: 14, min: 0, month: 4, sec: 0, year: 2010}} @invalid_attrs %{} test "changeset with valid attributes" do ...
28.473684
177
0.678373
e99954e1c9434a842f90813b851795dd66d84894
1,570
ex
Elixir
examples/elixir-phoenix/lib/railwayphoenix_web/views/error_helpers.ex
PixelPasta/starters
bd245840f13f22f11cc271ddc9794feeea455fc0
[ "MIT" ]
null
null
null
examples/elixir-phoenix/lib/railwayphoenix_web/views/error_helpers.ex
PixelPasta/starters
bd245840f13f22f11cc271ddc9794feeea455fc0
[ "MIT" ]
5
2022-01-28T21:45:40.000Z
2022-02-28T03:51:31.000Z
examples/elixir-phoenix/lib/railwayphoenix_web/views/error_helpers.ex
PixelPasta/starters
bd245840f13f22f11cc271ddc9794feeea455fc0
[ "MIT" ]
null
null
null
defmodule RailwayphoenixWeb.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 -> conte...
32.708333
83
0.670064
e9996aa8734e1f604ec6f8555e3f8c49a44c9b54
74
exs
Elixir
test/utils_test.exs
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
10
2015-03-15T16:12:00.000Z
2021-02-09T09:30:17.000Z
test/utils_test.exs
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
1
2019-04-20T12:09:24.000Z
2019-04-20T12:09:24.000Z
test/utils_test.exs
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
5
2019-01-19T19:47:09.000Z
2021-11-11T23:54:25.000Z
defmodule ExPNG.UtilsTest do use ExUnit.Case doctest ExPNG.Utils end
12.333333
28
0.783784
e999c199a403ad5edce39649e5c93130a1ba632e
24
ex
Elixir
episode10/crypto/lib/crypto.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode10/crypto/lib/crypto.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode10/crypto/lib/crypto.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule Crypto do end
8
19
0.833333
e999d6598ea6c9b5c06cd1bc32ef6665a5655963
781
exs
Elixir
exercism/elixir/nucleotide-count/nucleotide_count.exs
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
exercism/elixir/nucleotide-count/nucleotide_count.exs
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
exercism/elixir/nucleotide-count/nucleotide_count.exs
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
defmodule NucleotideCount do @nucleotides [?A, ?C, ?G, ?T] @doc """ Counts individual nucleotides in a NucleotideCount strand. ## Examples iex> NucleotideCount.count('AATAA', ?A) 4 iex> NucleotideCount.count('AATAA', ?T) 1 """ @spec count([char], char) :: non_neg_integer def count(strand, nucl...
21.694444
61
0.62612
e999f5708ff114d0f5b3be580441f5617d8f3669
915
ex
Elixir
core/sup_tree_core/core_config_poller.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/core_config_poller.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/core_config_poller.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. defmodule AntikytheraCore.CoreConfigPoller do @moduledoc """ Periodically polls antikythera's config file and apply changes to the cache (in ETS table). Note that core config is loaded in `AntikytheraCore.start/2` and thus this `GenServer`'s respo...
28.59375
108
0.713661
e99a54a435c686795c3be4537ae41482c870ccb7
421
ex
Elixir
lib/appsignal/phoenix/template/exs_engine.ex
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
lib/appsignal/phoenix/template/exs_engine.ex
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
lib/appsignal/phoenix/template/exs_engine.ex
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
if Appsignal.phoenix? do defmodule Appsignal.Phoenix.Template.ExsEngine do @moduledoc """ Instruments template renders using the `.exs` extension. See the [Phoenix integration guide](http://docs.appsignal.com/elixir/integrations/phoenix.html) for information on how to instrument your templates. ...
30.071429
82
0.750594
e99a7e7e3b18f850729149fbe53eaee143e7a2d8
261
ex
Elixir
lib/pigeon/config_error.ex
c0deaddict/pigeon
842c7632a0318a153b933e727c1ebc3c029ace5c
[ "MIT" ]
null
null
null
lib/pigeon/config_error.ex
c0deaddict/pigeon
842c7632a0318a153b933e727c1ebc3c029ace5c
[ "MIT" ]
null
null
null
lib/pigeon/config_error.ex
c0deaddict/pigeon
842c7632a0318a153b933e727c1ebc3c029ace5c
[ "MIT" ]
null
null
null
defmodule Pigeon.ConfigError do defexception reason: nil, config: nil @impl true def message(%{config: config, reason: reason}) do """ #{reason} The following configuration was given: #{inspect(config, pretty: true)} """ end end
17.4
51
0.651341
e99aac0cfc2f207b0b24ac7fe7757eab624004e1
1,738
ex
Elixir
lib/earmark/helpers/html_helpers.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
lib/earmark/helpers/html_helpers.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
lib/earmark/helpers/html_helpers.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Earmark.Helpers.HtmlHelpers do @moduledoc false import Earmark.Helpers.AttrParser @simple_tag ~r{^<(.*?)\s*>} @doc false def augment_tag_with_ial(context, tag, ial, lnb) do case Regex.run( @simple_tag, tag) do nil -> nil ["<code class=\"inline\">", "code class=\"inli...
29.457627
98
0.551784
e99ab914427eeb2f7bdfcc2ea92a5d2e1f5edf95
3,801
ex
Elixir
lib/koans/12_pattern_matching.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
lib/koans/12_pattern_matching.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
lib/koans/12_pattern_matching.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
defmodule PatternMatching do use Koans @intro "PatternMatching" koan "One matches one" do assert match?(1, 1) end koan "Patterns can be used to pull things apart" do [head | tail] = [1, 2, 3, 4] assert head == 1 assert tail == [2, 3, 4] end koan "And then put them back together" do ...
22.760479
101
0.595107
e99adca9eed714ccb2bbf9355646bc706762e460
2,226
ex
Elixir
lib/mix/lib/mix/tasks/compile.leex.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/tasks/compile.leex.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/tasks/compile.leex.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.Tasks.Compile.Leex do use Mix.Task.Compiler alias Mix.Compilers.Erlang @recursive true @manifest "compile.leex" @switches [force: :boolean, verbose: :boolean, all_warnings: :boolean] # These options can't be controlled with :leex_options. @forced_opts [report: true, return: true] @modul...
29.68
86
0.69407
e99af145d65627e4e8dd720d4e5df6708c7d5be1
72
ex
Elixir
lib/only_codes_web/views/landing_page_view.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
281
2021-01-15T14:59:38.000Z
2022-01-06T23:13:33.000Z
lib/only_codes_web/views/landing_page_view.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
12
2021-01-15T15:24:54.000Z
2021-07-31T17:36:39.000Z
lib/only_codes_web/views/landing_page_view.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
11
2021-01-15T17:46:59.000Z
2021-09-22T13:24:19.000Z
defmodule OnlyCodesWeb.LandingPageView do use OnlyCodesWeb, :view end
18
41
0.833333
e99b0d3ca7b19de7ceee501016ac2d7db7e94a23
1,999
ex
Elixir
lib/calctorio/assembly_line.ex
jdfrens/calctorio
40418e3f7e562c0ade2a672434589727949e0439
[ "MIT" ]
null
null
null
lib/calctorio/assembly_line.ex
jdfrens/calctorio
40418e3f7e562c0ade2a672434589727949e0439
[ "MIT" ]
null
null
null
lib/calctorio/assembly_line.ex
jdfrens/calctorio
40418e3f7e562c0ade2a672434589727949e0439
[ "MIT" ]
null
null
null
defmodule Calctorio.AssemblyLine do @moduledoc """ Represents an assembly line. """ alias Calctorio.{AssemblyLine, Machine} defstruct root: nil, lines: [], ratio: nil @type t :: %__MODULE__{ root: Machine.t(), lines: list(AssemblyLine.t()), ratio: float | nil } @s...
29.397059
91
0.616308
e99b2f6eab7a5b73307a9f37bfc78501f3badd50
1,509
exs
Elixir
test/unit/hologram/compiler/js_encoders/function_call_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/js_encoders/function_call_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/js_encoders/function_call_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.JSEncoder.FunctionCallTest do use Hologram.Test.UnitCase, async: true alias Hologram.Compiler.{Context, JSEncoder, Opts} alias Hologram.Compiler.IR.{ BinaryType, FunctionCall, IntegerType, ListType, StringType } test "sigilH" do ir = %FunctionCall{ ...
24.737705
234
0.579192
e99b505385270c8deb86cebc8d5e3f43bd12f9cf
4,245
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/reports.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/reports.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/reports.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
48.793103
251
0.698469
e99b51fd0f4ed6d7ade14da777e997267cb4cb5b
2,943
exs
Elixir
test/core/sup_tree_gear/gear_log_writer_test.exs
access-company/antikythera
3796883ef0e022dbd4d6e8c65a03e1eca3daba61
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
test/core/sup_tree_gear/gear_log_writer_test.exs
access-company/antikythera
3796883ef0e022dbd4d6e8c65a03e1eca3daba61
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
test/core/sup_tree_gear/gear_log_writer_test.exs
access-company/antikythera
3796883ef0e022dbd4d6e8c65a03e1eca3daba61
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. defmodule AntikytheraCore.GearLog.WriterTest do use Croma.TestCase alias Antikythera.Time alias Antikythera.Test.GearConfigHelper alias AntikytheraCore.Context @dir Path.join([__DIR__, "..", "..", "..", "_build", "test", "log", "testgear"]) ...
29.138614
95
0.670065
e99b595552577b4452f19ff0d713621fdad8b365
1,137
exs
Elixir
config/config.exs
itssasanka/bamboo_sendinblue
31a85ee6cb04f4bdc2940c8fb401bc0e3f7e9e04
[ "MIT" ]
6
2018-10-21T06:15:20.000Z
2022-03-22T08:54:46.000Z
config/config.exs
itssasanka/bamboo_sendinblue
31a85ee6cb04f4bdc2940c8fb401bc0e3f7e9e04
[ "MIT" ]
3
2018-09-03T17:57:04.000Z
2021-02-23T10:26:02.000Z
config/config.exs
itssasanka/bamboo_sendinblue
31a85ee6cb04f4bdc2940c8fb401bc0e3f7e9e04
[ "MIT" ]
9
2018-01-10T12:04:46.000Z
2022-03-16T23:57:44.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.677419
73
0.755497
e99b9b6c2fd8642f91b1fdaf85e5fabf1682619b
1,846
ex
Elixir
Chapter03/working_with_processes/cache_worker_with_interface_functions.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter03/working_with_processes/cache_worker_with_interface_functions.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter03/working_with_processes/cache_worker_with_interface_functions.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
defmodule CacheWorker do require Logger @expire_time 60_000 def init(content) do spawn(fn -> timer = Process.send_after(self(), :expire, @expire_time) Logger.debug("#{inspect(self())}: CacheWorker started. Will expire in #{Process.read_timer(timer)} milliseconds.") loop(%{hits: 0, content...
27.969697
126
0.668472
e99ba0fd083b6fdfb7ae02f26c21de6b9d0a4d4d
1,849
exs
Elixir
mix.exs
kapilpipaliya/kerosene
7695bf65720a80becab0a90b2b6e2ac40044fa1a
[ "MIT" ]
238
2016-03-10T05:22:45.000Z
2022-02-05T11:55:00.000Z
mix.exs
kapilpipaliya/kerosene
7695bf65720a80becab0a90b2b6e2ac40044fa1a
[ "MIT" ]
53
2016-06-26T16:20:47.000Z
2021-12-23T12:41:30.000Z
mix.exs
kapilpipaliya/kerosene
7695bf65720a80becab0a90b2b6e2ac40044fa1a
[ "MIT" ]
47
2016-03-23T09:13:25.000Z
2021-12-10T05:55:26.000Z
defmodule Kerosene.Mixfile do use Mix.Project @version "0.9.0" def project do [app: :kerosene, version: @version, elixir: "~> 1.2", elixirc_paths: path(Mix.env), package: package(), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), alia...
26.042254
77
0.57815
e99bace68dc8e25fd3ea3ca2b9cb0ec6707ed37f
195
exs
Elixir
test/controllers/page_controller_test.exs
zachncst/escritor
4be56fbed4e86407a547c3592342dd237f52c54c
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
zachncst/escritor
4be56fbed4e86407a547c3592342dd237f52c54c
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
zachncst/escritor
4be56fbed4e86407a547c3592342dd237f52c54c
[ "MIT" ]
null
null
null
defmodule Escritor.PageControllerTest do use Escritor.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.666667
60
0.676923
e99bc95e84289a8b55f26b9ff63141a36e51ab7c
2,649
exs
Elixir
apps/aecore/test/aecore_chain_state_test.exs
aeternity/epoch-elixir
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
131
2018-03-10T01:35:56.000Z
2021-12-27T13:44:41.000Z
apps/aecore/test/aecore_chain_state_test.exs
aeternity/elixir-node
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
445
2018-03-12T09:46:17.000Z
2018-12-12T09:52:07.000Z
apps/aecore/test/aecore_chain_state_test.exs
aeternity/epoch-elixir
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
23
2018-03-12T12:01:28.000Z
2022-03-06T09:22:17.000Z
defmodule AecoreChainstateTest do @moduledoc """ Unit test for the chain module """ use ExUnit.Case alias Aecore.Account.Account alias Aecore.Chain.Worker, as: Chain alias Aecore.Account.AccountStateTree alias Aecore.Chain.Chainstate setup do Code.require_file("test_utils.ex", "./test") Tes...
24.990566
90
0.600604
e99be99544a1a5397ab00a843462be62603f160e
805
exs
Elixir
test/edgedb/protocol/codecs/builtin/bytes_test.exs
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
test/edgedb/protocol/codecs/builtin/bytes_test.exs
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
test/edgedb/protocol/codecs/builtin/bytes_test.exs
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule Tests.EdgeDB.Protocol.Codecs.Builtin.BytesTest do use Tests.Support.EdgeDBCase alias EdgeDB.Protocol.Error setup :edgedb_connection test "decoding std::bytes value", %{conn: conn} do value = <<16, 13, 2, 42>> assert ^value = EdgeDB.query_single!(conn, "SELECT <bytes>b\"\x10\x0d\x02\x2a\"") ...
27.758621
89
0.655901
e99c088d62695863f2472f23868c472a740cecdb
2,389
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/creative_serving_restrictions_contexts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/creative_serving_restrictions_contexts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/creative_serving_restrictions_contexts.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 ...
41.189655
290
0.732105
e99c17bf074ae7b3cfbadc3bd6349f81e2238004
1,451
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/disks_resize_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/disks_resize_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/disks_resize_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
30.229167
106
0.742247
e99c6f71ff83569f2a07e4e6d026c7784ad46ccb
158
exs
Elixir
.iex.exs
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
14
2020-03-25T22:10:42.000Z
2021-02-04T01:31:40.000Z
.iex.exs
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
null
null
null
.iex.exs
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
null
null
null
alias Abbr.Cache alias Abbr.Cluster.Membership alias Abbr.Cluster.Health alias Abbr.Expand alias Abbr.Mnesia alias Abbr.Rpc alias Abbr.Shorten alias Abbr.Url
17.555556
29
0.835443
e99c76cb3605826cc1cfc0bfadb05c518ed533de
4,697
ex
Elixir
line_ex_messaging_api/lib/line_ex/messaging_api/message.ex
wingyplus/line_ex
73ae52c5c07998dac55f5f11aa9ce79d751b67d6
[ "MIT" ]
3
2021-07-27T21:29:43.000Z
2021-08-06T11:52:24.000Z
line_ex_messaging_api/lib/line_ex/messaging_api/message.ex
wingyplus/line_ex
73ae52c5c07998dac55f5f11aa9ce79d751b67d6
[ "MIT" ]
7
2021-07-26T03:18:39.000Z
2021-10-11T11:16:49.000Z
line_ex_messaging_api/lib/line_ex/messaging_api/message.ex
wingyplus/line_ex
73ae52c5c07998dac55f5f11aa9ce79d751b67d6
[ "MIT" ]
1
2021-07-29T16:13:47.000Z
2021-07-29T16:13:47.000Z
defmodule LineEx.MessagingApi.Message do @moduledoc """ APIs provided by LINE Message API. """ @type reply_token() :: String.t() @type user_id() :: String.t() @type message() :: map() @type request() :: Tesla.option() @type channel_access_token() :: String.t() @type client() :: Tesla.Client.t() @d...
25.527174
89
0.602512
e99c7e2facbbb7e6b412ec8b52943670d1b5207d
332
ex
Elixir
lib/signature.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
7
2021-12-27T19:02:30.000Z
2022-03-30T14:08:46.000Z
lib/signature.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
4
2021-12-29T21:16:02.000Z
2022-01-01T22:07:17.000Z
lib/signature.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
1
2022-02-21T18:17:36.000Z
2022-02-21T18:17:36.000Z
defmodule NearApi.Signature do @moduledoc """ NEAR transaction signature struct Borsh enabled """ require Logger @type t :: %__MODULE__{ key_type: integer, data: binary } use Borsh, schema: [ key_type: :u8, data: [64] ] defstruct [ :key_type, :d...
13.833333
35
0.557229
e99c939f651db6ed863b88fbd006e95e82fbeba3
144
exs
Elixir
test/ex_factory_test.exs
starbuildr/ex_factory
5248d0dd802f2df2fb25c736c48ae2489c01a98e
[ "MIT" ]
null
null
null
test/ex_factory_test.exs
starbuildr/ex_factory
5248d0dd802f2df2fb25c736c48ae2489c01a98e
[ "MIT" ]
null
null
null
test/ex_factory_test.exs
starbuildr/ex_factory
5248d0dd802f2df2fb25c736c48ae2489c01a98e
[ "MIT" ]
null
null
null
defmodule ExFactoryTest do use ExUnit.Case doctest ExFactory test "greets the world" do assert ExFactory.hello() == :world end end
16
38
0.722222
e99ca97dd561ab52fc5acfaa251b103b1481204d
1,787
exs
Elixir
test/mastani_server_web/query/cms/cheatsheet_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
test/mastani_server_web/query/cms/cheatsheet_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
test/mastani_server_web/query/cms/cheatsheet_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Test.Query.Cheatsheet do use MastaniServer.TestTools alias MastaniServer.CMS setup do {:ok, community} = db_insert(:community) cheatsheet_attrs = mock_attrs(:cheatsheet, %{community_id: community.id}) {:ok, cheatsheet} = CMS.sync_github_content(community, :cheatsheet, cheats...
28.365079
93
0.670397
e99cb44354e0f63f456d4e05d79bafd54327c60a
4,244
ex
Elixir
lib/codes/codes_n05.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_n05.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_n05.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_N05 do alias IcdCode.ICDCode def _N050 do %ICDCode{full_code: "N050", category_code: "N05", short_code: "0", full_name: "Unspecified nephritic syndrome with minor glomerular abnormality", short_name: "Unspecified nephritic syndrome with mino...
43.752577
117
0.69722
e99cdd13ae50e69063d2625543c041054c32b7e9
228
ex
Elixir
lib/mix/lib/mix/tasks/iex.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/tasks/iex.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/tasks/iex.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.Tasks.Iex do use Mix.Task @moduledoc """ A task that simply instructs users to run `iex -S mix`. """ @impl true def run(_) do Mix.raise("To use IEx with Mix, please run \"iex -S mix\"") end end
17.538462
63
0.631579
e99d095521d9fd1289df80db8c7b2b07e8fb12e2
8,058
exs
Elixir
test/analyzer_test.exs
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
9
2020-04-07T17:22:15.000Z
2022-01-29T21:56:07.000Z
test/analyzer_test.exs
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
49
2020-03-03T16:18:50.000Z
2021-05-29T13:48:04.000Z
test/analyzer_test.exs
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
3
2020-05-14T16:26:03.000Z
2022-01-24T22:03:40.000Z
# Copyright (C) 2020 by the Georgia Tech Research Institute (GTRI) # This software may be modified and distributed under the terms of # the BSD 3-Clause license. See the LICENSE file for details. defmodule AnalyzerTest do use ExUnit.Case doctest AnalyzerModule setup_all do {:ok, tmp_path} = Temp.path("lei-a...
34.144068
118
0.638868
e99d396ac7d07a84300949c372fd9e860f74eec0
17,079
ex
Elixir
lib/codes/codes_v35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_V35 do alias IcdCode.ICDCode def _V350XXA do %ICDCode{full_code: "V350XXA", category_code: "V35", short_code: "0XXA", full_name: "Driver of three-wheeled motor vehicle injured in collision with railway train or railway vehicle in nontraffic accident, ...
68.316
182
0.732069
e99d3bcdb4c45def154348ec8dcb4d8e69d77a76
561
ex
Elixir
lib/react_on_elixir/supervisor.ex
gauravtiwari/react_on_elixir
85282d87bc22e5ae43806e40af87e7f0670ce4a1
[ "Unlicense" ]
6
2016-04-17T13:32:19.000Z
2016-08-25T02:02:51.000Z
lib/react_on_elixir/supervisor.ex
gauravtiwari/react_on_elixir
85282d87bc22e5ae43806e40af87e7f0670ce4a1
[ "Unlicense" ]
null
null
null
lib/react_on_elixir/supervisor.ex
gauravtiwari/react_on_elixir
85282d87bc22e5ae43806e40af87e7f0670ce4a1
[ "Unlicense" ]
null
null
null
defmodule ReactOnElixir.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, []) end def init([]) do pool_options = [ name: {ReactOnElixir.Config.pool_type(), ReactOnElixir.Config.pool_name()}, worker_module: ReactOnElixir.Worker, size: ReactOnElixir.Config...
24.391304
81
0.702317
e99d471ca59fcdabafc675d0a8680ade8f29eacc
378
exs
Elixir
test/acceptance/non_regression_test.exs
manuel-rubio/earmark
d747d73d31e8b8fa39389b01fc67cc53d946b707
[ "Apache-1.1" ]
734
2015-01-05T19:08:00.000Z
2022-03-28T14:04:21.000Z
test/acceptance/non_regression_test.exs
manuel-rubio/earmark
d747d73d31e8b8fa39389b01fc67cc53d946b707
[ "Apache-1.1" ]
343
2015-01-01T04:56:57.000Z
2022-02-15T11:00:57.000Z
test/acceptance/non_regression_test.exs
manuel-rubio/earmark
d747d73d31e8b8fa39389b01fc67cc53d946b707
[ "Apache-1.1" ]
169
2015-02-26T15:18:05.000Z
2022-03-18T08:00:42.000Z
defmodule Acceptance.NonRegressionTest do use ExUnit.Case import Support.Performance, only: [convert_file: 2] describe "Just assure that nothing really bad happenes when we convert some common Markdown" do test "READMEs" do convert_file("elixir_readmes.md", :html) end test "hexdocs" do c...
25.2
97
0.722222
e99d47c4e3889c7e266e1f29f3949e487354ee74
602
ex
Elixir
apps/aevm/lib/storage.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aevm/lib/storage.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
2
2018-10-01T16:46:26.000Z
2018-10-01T19:45:42.000Z
apps/aevm/lib/storage.ex
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
defmodule Storage do @moduledoc """ Module for working with the VM's internal storage """ @spec sstore(integer(), integer(), map()) :: map() def sstore(key, value, state) do storage = State.storage(state) new_storage = store(key, value, storage) State.set_storage(new_storage, state) end @spe...
22.296296
52
0.652824
e99d50fed00db4a0d7144155ec50788ba6182961
1,413
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/connection.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 ...
36.230769
77
0.741684
e99d5386ce3e64ee95a55d9b3455fba4b3c6024b
2,914
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_group_manager_version.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/compute/lib/google_api/compute/v1/model/instance_group_manager_version.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/instance_group_manager_version.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...
54.981132
672
0.759094
e99d7391879a1d7b2e361090a974a35f307c4bdf
390
ex
Elixir
2021/day1/lib/task2.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2021/day1/lib/task2.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2021/day1/lib/task2.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
defmodule Task2 do def solution(inputs, prevSumOf3, acc) do case length(inputs) do n when n <= 3 -> acc _ -> sumOf3 = Enum.take(inputs, 3) |> Enum.sum() solution( Enum.drop(inputs, 1), sumOf3, if prevSumOf3 < sumOf3 do acc + 1 ...
17.727273
51
0.45641
e99d76de54051c29722fc0b2719f4874e818a26f
807
ex
Elixir
lib/gmail/message/pool_worker.ex
philwade/elixir-gmail
4c44fbc63b194dc4f6f02caec7c6ee6164a3a9a3
[ "MIT" ]
52
2015-02-19T23:23:34.000Z
2020-07-12T12:53:09.000Z
lib/gmail/message/pool_worker.ex
philwade/elixir-gmail
4c44fbc63b194dc4f6f02caec7c6ee6164a3a9a3
[ "MIT" ]
17
2016-06-01T18:49:09.000Z
2020-11-11T21:26:21.000Z
lib/gmail/message/pool_worker.ex
philwade/elixir-gmail
4c44fbc63b194dc4f6f02caec7c6ee6164a3a9a3
[ "MIT" ]
26
2016-03-08T09:13:58.000Z
2021-09-27T08:39:22.000Z
defmodule Gmail.Message.PoolWorker do @moduledoc """ A message pool worker. """ use GenServer alias Gmail.{Message, User} @doc false def start_link([]) do GenServer.start_link(__MODULE__, [], []) end @doc false def init(state) do {:ok, state} end @doc false def handle_call({:get, ...
20.692308
85
0.644362
e99d793659258851bfd1c620d548efeae93c9ebd
545
ex
Elixir
web/router.ex
ngnclht1102/trello-clone
669bf0ab765ca1d9735124f3f99cb245582b45fa
[ "MIT" ]
null
null
null
web/router.ex
ngnclht1102/trello-clone
669bf0ab765ca1d9735124f3f99cb245582b45fa
[ "MIT" ]
null
null
null
web/router.ex
ngnclht1102/trello-clone
669bf0ab765ca1d9735124f3f99cb245582b45fa
[ "MIT" ]
null
null
null
defmodule TrelloRewriteMe.Router do use TrelloRewriteMe.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", TrelloRew...
20.185185
57
0.691743
e99dcc41cefec19e17abae2febb79e0571c2b5d3
2,842
ex
Elixir
lib/glimesh/streams/channel.ex
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
lib/glimesh/streams/channel.ex
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
lib/glimesh/streams/channel.ex
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
defmodule Glimesh.Streams.Channel do @moduledoc false use Ecto.Schema use Waffle.Ecto.Schema import Ecto.Changeset schema "channels" do belongs_to :user, Glimesh.Accounts.User belongs_to :category, Glimesh.Streams.Category belongs_to :streamer, Glimesh.Accounts.User, source: :user_id belongs...
24.5
80
0.646376
e99dda81a340fb6152f60fd2015b2f5a61809e46
2,188
ex
Elixir
lib/nys_etl/monitoring/oban/error_reporter.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
lib/nys_etl/monitoring/oban/error_reporter.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
lib/nys_etl/monitoring/oban/error_reporter.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETL.Monitoring.Oban.ErrorReporter do require Logger @sentry_extras ~w{ args attempt attempted_at attempted_by id inserted_at queue scheduled_at state tags worker }a def handle_event([:oban, :job, :exception], measure, meta, _) do ...
33.151515
106
0.695155
e99df12682558d54a0318163bd8bc9160f965ad3
314
ex
Elixir
web/controllers/appointment_controller.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
web/controllers/appointment_controller.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
web/controllers/appointment_controller.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.AppointmentController do use Apiv4.Web, :controller plug :scrub_params, "data" when action in [:create, :update] plug Autox.AutoModelPlug, Apiv4.Appointment when action in [:show, :update, :delete] plug Autox.AutoPaginatePlug when action in [:index] use Autox.ResourceController end
34.888889
86
0.761146
e99dfb7215b64a0d35378a793a01e51b9c83d453
1,498
ex
Elixir
lib/radiator/feed/storage.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
lib/radiator/feed/storage.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
lib/radiator/feed/storage.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule Radiator.Feed.Storage do alias Radiator.Feed.Generator alias Radiator.Media.FeedFile @doc """ Generates all feed pages and stores them. """ def generate(podcast_id, opts \\ []) do # fetch old files {:ok, old_feed_files} = Radiator.Storage.list_feed_files(podcast_id) # generate new fi...
24.966667
76
0.654873
e99e14ee3280c093b709caedeb106fe431e0e8c2
5,770
ex
Elixir
clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
93.064516
1,381
0.742461
e99e219d51fc29ce744a7616d9b4fe639eb11fc6
14,401
ex
Elixir
lib/aws/generated/code_guru_reviewer.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/code_guru_reviewer.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/code_guru_reviewer.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.CodeGuruReviewer do @moduledoc """ This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service that uses program analysis and machi...
25.398589
169
0.63697
e99e5de7742fb7744182d3085345206691fb6647
434
ex
Elixir
lib/ueberauth_wechat.ex
xinz/ueberauth_openwechat
585c24ba56526749e9c0b592447094a746f4e011
[ "MIT" ]
null
null
null
lib/ueberauth_wechat.ex
xinz/ueberauth_openwechat
585c24ba56526749e9c0b592447094a746f4e011
[ "MIT" ]
null
null
null
lib/ueberauth_wechat.ex
xinz/ueberauth_openwechat
585c24ba56526749e9c0b592447094a746f4e011
[ "MIT" ]
null
null
null
defmodule UeberauthWeChat do @moduledoc false defmodule App do @moduledoc false use Application @impl true def start(_type, _args) do children = [ { Finch, name: UeberauthWeChat.HttpClient, pools: %{ :default => [size: 100] } ...
16.692308
43
0.541475
e99e7093569d6bd396e74dd3e475d39b3323d21d
1,064
ex
Elixir
lib/blue_heron/att/requests/read_by_type_request.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/att/requests/read_by_type_request.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/att/requests/read_by_type_request.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.ATT.ReadByTypeRequest do defstruct [:opcode, :starting_handle, :ending_handle, :uuid] def serialize(%{ starting_handle: starting_handle, ending_handle: ending_handle, uuid: uuid }) when uuid > 65535 do <<0x8, starting_handle::little-16, ending_handle::lit...
27.282051
101
0.664474
e99e84e2bc106b1fa927494135204803ab74ea06
1,347
ex
Elixir
lib/crit/reservations/hidden_schemas/use.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
lib/crit/reservations/hidden_schemas/use.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
lib/crit/reservations/hidden_schemas/use.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
defmodule Crit.Reservations.HiddenSchemas.Use do use Ecto.Schema import Ecto.Query import Ecto.Changeset alias Crit.Setup.Schemas.{Animal,Procedure} alias Crit.Sql schema "uses" do belongs_to :animal, Animal belongs_to :procedure, Procedure field :reservation_id, :id end @required [:animal...
26.411765
76
0.69265
e99e89ce3cb6e3d714a2760cf70f4442a4bf51ee
630
ex
Elixir
source/elixir_clients/doorpi/apps/logic/lib/logic.ex
rveshovda/pifog
127c2de6ff2666ebc9987d8c2cfd5431ce5ff888
[ "Apache-2.0" ]
1
2017-07-05T06:47:57.000Z
2017-07-05T06:47:57.000Z
source/elixir_clients/doorpi/apps/logic/lib/logic.ex
royveshovda/pifog
127c2de6ff2666ebc9987d8c2cfd5431ce5ff888
[ "Apache-2.0" ]
null
null
null
source/elixir_clients/doorpi/apps/logic/lib/logic.ex
royveshovda/pifog
127c2de6ff2666ebc9987d8c2cfd5431ce5ff888
[ "Apache-2.0" ]
null
null
null
defmodule Logic do use Application def start(_type, _args) do import Supervisor.Spec, warn: false mqtt = Application.get_env(:logic, :mqtt) pi_name = Application.get_env(:logic, :name) parameters = %{pi_name: pi_name, host: mqtt[:host], port: mqtt[:port], ...
27.391304
59
0.580952
e99e8c3808610d54d10017f1906af0ee864346e7
591
exs
Elixir
learn/LittleBook/pooly/mix.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/LittleBook/pooly/mix.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/LittleBook/pooly/mix.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
defmodule Pooly.MixProject do use Mix.Project def project do [ app: :pooly, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applica...
19.7
87
0.563452
e99eb169d276f17ccc21b2ad809974a580361e70
120
exs
Elixir
test/test_helper.exs
mtdurling/guardian_trackable
9f9bac8ff389a90738b50a135a78d96d9deb6281
[ "MIT" ]
null
null
null
test/test_helper.exs
mtdurling/guardian_trackable
9f9bac8ff389a90738b50a135a78d96d9deb6281
[ "MIT" ]
null
null
null
test/test_helper.exs
mtdurling/guardian_trackable
9f9bac8ff389a90738b50a135a78d96d9deb6281
[ "MIT" ]
null
null
null
{:ok, _} = Application.ensure_all_started(:postgrex) {:ok, _} = GuardianTrackable.Dummy.Repo.start_link ExUnit.start()
24
52
0.75
e99eb1821e45fa9b85d6316d9c16e3f52a3b2662
1,993
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/model/activities.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/admin/lib/google_api/admin/reports_v1/model/activities.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/model/activities.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.589286
125
0.706473
e99ecdabf42850438063ec91dc0f65cc8948229c
11,379
ex
Elixir
lib/ex_admin.ex
carakan/ex_admin
c286a0b66c1c0e81c896b71915c7066f66fc94c2
[ "MIT" ]
23
2018-04-10T07:45:48.000Z
2019-12-31T01:11:07.000Z
lib/ex_admin.ex
leonardzhou/ex_admin
c241e956503c548a472e3ee89751e64a16477638
[ "MIT" ]
115
2018-04-15T14:11:18.000Z
2021-08-01T11:20:34.000Z
lib/ex_admin.ex
leonardzhou/ex_admin
c241e956503c548a472e3ee89751e64a16477638
[ "MIT" ]
15
2018-10-04T19:09:00.000Z
2020-06-25T16:02:30.000Z
defmodule ExAdmin do @moduledoc """ ExAdmin is a an auto administration tool for the PhoenixFramework, providing a quick way to create a CRUD interface for administering Ecto models with little code and the ability to customize the interface if desired. After creating one or more Ecto models, the administr...
27.028504
114
0.649618
e99efe062e3a0a8bf49edcf2cd011d2f80bfac8b
14,476
ex
Elixir
lib/mssql_ecto/query_string.ex
pasibonfire/mssql_ecto
1222f638c801035310f7bb36aaa6849a207f9557
[ "Apache-2.0" ]
null
null
null
lib/mssql_ecto/query_string.ex
pasibonfire/mssql_ecto
1222f638c801035310f7bb36aaa6849a207f9557
[ "Apache-2.0" ]
null
null
null
lib/mssql_ecto/query_string.ex
pasibonfire/mssql_ecto
1222f638c801035310f7bb36aaa6849a207f9557
[ "Apache-2.0" ]
null
null
null
defmodule MssqlEcto.QueryString do alias Ecto.Query alias Ecto.Query.{BooleanExpr, JoinExpr, QueryExpr} alias MssqlEcto.Connection alias MssqlEcto.Helpers binary_ops = [ ==: " = ", !=: " != ", <=: " <= ", >=: " >= ", <: " < ", >: " > ", and: " AND ", or: " OR ", ilike: " I...
26.464351
87
0.555747
e99f1c04495ae38dc8d356d1ecab1fbaf6f42941
968
ex
Elixir
lib/player.ex
kirhgoff/pewpew
ef367ce6226cc30a26155a8fce29902f6b52ed20
[ "MIT" ]
null
null
null
lib/player.ex
kirhgoff/pewpew
ef367ce6226cc30a26155a8fce29902f6b52ed20
[ "MIT" ]
null
null
null
lib/player.ex
kirhgoff/pewpew
ef367ce6226cc30a26155a8fce29902f6b52ed20
[ "MIT" ]
null
null
null
defmodule Pewpew.Player do use GenServer # TODO add struct ## Client API def start(player) do GenServer.start(__MODULE__, {:ok, player}) end def health(player_pid) do GenServer.call(player_pid, {:health}) end def damage(player_pid, damage) do GenServer.call(player_pid, {:damage, damage}...
21.043478
62
0.665289
e99f4656fc04dc0099018c76ae1ccc4d3b5d0b9c
2,263
exs
Elixir
perfect-numbers/perfect_numbers_test.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
perfect-numbers/perfect_numbers_test.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
perfect-numbers/perfect_numbers_test.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("perfect_numbers.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule PerfectNumbersTest do use ExUnit.Case describe "Perfect numbers" do test "Smallest perfect number is classified correctly" do as...
31
79
0.696421
e99f64ef68a28912d8d1ad7a487982248faa4d89
971
exs
Elixir
04-secrets/secrets.exs
hectoraldairah/exercism-elixir
f4fae2dddf70dbeb6fa25fd3625af57913f1bca0
[ "MIT" ]
null
null
null
04-secrets/secrets.exs
hectoraldairah/exercism-elixir
f4fae2dddf70dbeb6fa25fd3625af57913f1bca0
[ "MIT" ]
null
null
null
04-secrets/secrets.exs
hectoraldairah/exercism-elixir
f4fae2dddf70dbeb6fa25fd3625af57913f1bca0
[ "MIT" ]
null
null
null
defmodule Secrets do def secret_add(secret) do # Please implement the secret_add/1 functionva vav fn sum -> secret + sum end end def secret_subtract(secret) do # Please implement the secret_subtract/1 function fn dec -> dec - secret end end def secret_multiply(secret) do # Please impleme...
24.275
59
0.696189
e99f748113eff3841619766b3dc584e059c8d6f8
3,498
exs
Elixir
test/controllers/question_bank_controller_test.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
test/controllers/question_bank_controller_test.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
test/controllers/question_bank_controller_test.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
defmodule AfterGlow.QuestionBankControllerTest do use AfterGlow.ConnCase alias AfterGlow.QuestionBank alias AfterGlow.Repo @valid_attrs %{questions: [], title: "some content"} @invalid_attrs %{} setup do conn = build_conn() |> put_req_header("accept", "application/vnd.api+json") |> put_re...
29.644068
98
0.618067
e99f7dab35aab3275f6ec8203e65046bd561ec96
838
exs
Elixir
test/advent/y2015/d04_test.exs
ed-flanagan/advent-of-code-solutions-elixir
ca4b62f82088e7a120699fbba9809c04c76403a6
[ "MIT" ]
null
null
null
test/advent/y2015/d04_test.exs
ed-flanagan/advent-of-code-solutions-elixir
ca4b62f82088e7a120699fbba9809c04c76403a6
[ "MIT" ]
null
null
null
test/advent/y2015/d04_test.exs
ed-flanagan/advent-of-code-solutions-elixir
ca4b62f82088e7a120699fbba9809c04c76403a6
[ "MIT" ]
null
null
null
defmodule Advent.Y2015.D04Test do use ExUnit.Case alias Advent.Y2015.D04 import D04, only: [part_one: 2, part_two: 2] describe "part_one/2" do test "solves example input" do [ {"abcdef", 609_043}, {"pqrstuv", 1_048_970} ] |> Enum.each(fn {input, expected} -> asser...
20.439024
62
0.610979
e99fc6cad5e3ca8308e60234a1c948eecb6f1cc5
2,667
exs
Elixir
test/oli_web/pow/pow_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
test/oli_web/pow/pow_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
test/oli_web/pow/pow_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule OliWeb.Common.PowTest do use OliWeb.ConnCase alias Oli.Seeder alias OliWeb.Router.Helpers, as: Routes describe "pow author" do setup [:setup_section] test "handles new session", %{conn: conn, author: author} do conn = conn |> get(Routes.authoring_pow_session_path(conn,...
30.306818
97
0.650544
e99fcb1e7d51ae281ed1d49807ee33dd6443ef70
600
ex
Elixir
lib/guess_who/turn.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
null
null
null
lib/guess_who/turn.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
null
null
null
lib/guess_who/turn.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
3
2021-10-07T23:28:18.000Z
2021-10-08T00:54:14.000Z
defmodule GuessWho.Turn do @enforce_keys [:query, :response, :state] defstruct query: nil, response: nil, state: nil alias GuessWho.Attributes @type t(query, response, state) :: %__MODULE__{query: query, response: response, state: state} @type t :: %__MODULE__{ query: Attributes.character_query(),...
31.578947
96
0.673333
e99ff79520d84cf350ba7e7844e014b5b04e1ecf
2,500
exs
Elixir
test/bike_brigade/slack_api/payload_builder_test.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
test/bike_brigade/slack_api/payload_builder_test.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
test/bike_brigade/slack_api/payload_builder_test.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.SlackApi.PayloadBuilderTest do use BikeBrigade.DataCase, async: true alias BikeBrigade.SlackApi.PayloadBuilder alias BikeBrigadeWeb.Router.Helpers, as: Routes alias BikeBrigadeWeb.Endpoint describe "When an SMS message from a rider is provided" do test "The payload is formatted wit...
30.120482
95
0.6328
e99ffaa9750654e5427a32c747d338b88b1e52ce
3,475
exs
Elixir
test/jarvis_web/controllers/artwork_api_controller_test.exs
corka149/jarvis
66ddb3d919323aaf39be15e937c28cc8cc805e40
[ "MIT" ]
null
null
null
test/jarvis_web/controllers/artwork_api_controller_test.exs
corka149/jarvis
66ddb3d919323aaf39be15e937c28cc8cc805e40
[ "MIT" ]
7
2019-05-25T06:39:46.000Z
2021-02-13T11:24:50.000Z
test/jarvis_web/controllers/artwork_api_controller_test.exs
corka149/jarvis
66ddb3d919323aaf39be15e937c28cc8cc805e40
[ "MIT" ]
null
null
null
defmodule JarvisWeb.ArtworkApiControllerTest do use JarvisWeb.ConnCase alias Jarvis.AnimalXing alias Jarvis.AnimalXing.Artwork alias Jarvis.AnimalXing.Isle import Jarvis.TestHelper @create_attrs %{ name: "some name" } @update_attrs %{ name: "some updated name" } @invalid_attrs %{name: nil...
27.362205
99
0.623597
e9a0044309e134f0948ee5e9b65647c2754d9706
1,888
ex
Elixir
lib/hexpm/repository/packages.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/packages.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/packages.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repository.Packages do use Hexpm.Web, :context def count(filter \\ nil) do Repo.one!(Package.count(filter)) end def get(repository, name) when is_binary(repository) do repository = Repositories.get(repository) repository && get(repository, name) end def get(repository, name) d...
25.173333
104
0.675847
e9a03e71cc13279e72476437ec5efe2e58099d47
740
ex
Elixir
lib/sthub/wows/ship_iteration_change.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
null
null
null
lib/sthub/wows/ship_iteration_change.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
14
2020-07-17T06:00:03.000Z
2020-10-29T20:28:32.000Z
lib/sthub/wows/ship_iteration_change.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
null
null
null
defmodule StHub.Wows.ShipIterationChange do use Ecto.Schema import Ecto.Changeset schema "wows_ship_iteration_changes" do belongs_to(:ship_iteration, StHub.Wows.ShipIteration) belongs_to(:parameter, StHub.Wows.ShipParameter) field :type, :string field :from, :string field :to, :string fie...
27.407407
91
0.721622
e9a05408e2582d3b2cbc52e11f2f31d9b943f0a3
1,571
ex
Elixir
lib/mix/tasks/history.gen.migration.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
20
2021-08-06T01:09:48.000Z
2022-03-28T18:44:56.000Z
lib/mix/tasks/history.gen.migration.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
13
2021-08-21T21:17:02.000Z
2022-03-27T06:33:51.000Z
lib/mix/tasks/history.gen.migration.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
2
2021-09-23T11:31:59.000Z
2022-01-09T16:19:35.000Z
defmodule Mix.Tasks.History.Gen.Migration do @shortdoc "Generates migrations for history" @moduledoc """ Generates the required database migrations for history. """ use Mix.Task import Mix.Ecto import Mix.Generator @migrations_path "priv/templates/migrations" @doc false def run(args) do no_u...
24.169231
64
0.628262
e9a05768edb728af43d6e92a662df254e771c879
3,189
ex
Elixir
apps/astarte_realm_management_api/test/support/astarte_realm_management_mock_db.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_realm_management_api/test/support/astarte_realm_management_mock_db.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_realm_management_api/test/support/astarte_realm_management_mock_db.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
defmodule Astarte.RealmManagement.Mock.DB do alias Astarte.Core.Interface def start_link do Agent.start_link(fn -> %{interfaces: %{}} end, name: __MODULE__) end def drop_interfaces() do Agent.update(__MODULE__, &Map.put(&1, :interfaces, %{})) end def delete_interface(realm, name, major) do if...
30.663462
93
0.655378
e9a094ed47c61aa1dd41399f20c0a19451cfede7
2,381
exs
Elixir
test/faker/lorem_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
test/faker/lorem_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
test/faker/lorem_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker.LoremTest do use ExUnit.Case, async: true doctest Faker.Lorem test "characters/0" do assert length(Faker.Lorem.characters()) in 15..255 end test "characters/1" do assert is_list(Faker.Lorem.characters(2..10)) assert is_list(Faker.Lorem.characters(2)) assert length(Faker.Lore...
29.7625
78
0.655187
e9a0c0e3a2b01c9b809ffa64f476efa152200b14
3,443
ex
Elixir
lib/bson/decimal128.ex
IgorPolyakov/mongodb
8ffce5761590d608ab64b1eccfa9e21426cd38c5
[ "Apache-2.0" ]
286
2017-06-06T04:21:31.000Z
2021-09-11T16:37:59.000Z
lib/bson/decimal128.ex
IgorPolyakov/mongodb
8ffce5761590d608ab64b1eccfa9e21426cd38c5
[ "Apache-2.0" ]
202
2017-05-28T13:22:01.000Z
2020-05-15T20:15:51.000Z
lib/bson/decimal128.ex
IgorPolyakov/mongodb
8ffce5761590d608ab64b1eccfa9e21426cd38c5
[ "Apache-2.0" ]
120
2016-12-16T17:05:12.000Z
2020-05-15T16:20:17.000Z
defmodule BSON.Decimal128 do use Bitwise @signed_bit_mask 1 <<< 63 @combination_mask 0x1F @combintation_infinity 30 @combintation_nan 31 @exponent_mask 0x3FFF @exponent_bias 6176 @nan_mask 0x7C00000000000000 @inf_mask 0x7800000000000000 def decode(<<_::little-64, high::little-64>> = bits) do ...
24.592857
79
0.661632
e9a0d4e338f73bca13df62b8f2ed9a631f961e27
459
exs
Elixir
config/test.exs
alesshh/acme-bank
0f885dc12614cba4c8f3a46c04b714f3ada8bb9b
[ "MIT" ]
null
null
null
config/test.exs
alesshh/acme-bank
0f885dc12614cba4c8f3a46c04b714f3ada8bb9b
[ "MIT" ]
null
null
null
config/test.exs
alesshh/acme-bank
0f885dc12614cba4c8f3a46c04b714f3ada8bb9b
[ "MIT" ]
null
null
null
import Config config :acme_bank, :accounts_service, AcmeBank.AccountsMock config :acme_bank, :auth_service, AcmeBank.AuthMock config :acme_bank, :wallet_service, AcmeBank.WalletMock config :acme_bank, AcmeBank.Repo, database: "acme_bank_repo_test", username: "postgres", password: "", port: System.get_env("DB_...
30.6
65
0.753813
e9a1a6f754ebb6b2a3d990320a1d8cf92963e366
1,689
ex
Elixir
lib/vix/vips/flag.ex
cigrainger/vix
53c2f2922f5b154279c34258cdfc08c405b969f5
[ "MIT" ]
40
2020-11-28T18:57:41.000Z
2022-03-30T22:31:10.000Z
lib/vix/vips/flag.ex
cigrainger/vix
53c2f2922f5b154279c34258cdfc08c405b969f5
[ "MIT" ]
17
2021-04-24T16:34:46.000Z
2022-03-31T13:38:04.000Z
lib/vix/vips/flag.ex
cigrainger/vix
53c2f2922f5b154279c34258cdfc08c405b969f5
[ "MIT" ]
3
2021-04-26T15:16:27.000Z
2022-03-08T01:00:30.000Z
defmodule Vix.Vips.FlagHelper do @moduledoc false def __before_compile__(env) do Vix.Nif.nif_vips_flag_list() |> Enum.map(fn {name, flag} -> def_vips_flag(name, flag, env) end) quote do end end def def_vips_flag(name, flag, env) do module_name = Module.concat(Vix.Vips.Flag, name...
21.935065
72
0.544109
e9a1c59c1ced8157b7084caa5b6611b05273eced
455
ex
Elixir
test/example_languages/pear/language.ex
mbernerslee/ployglot_watcher
61497899cf4974012e2bae03a7ee58838b846ae0
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
test/example_languages/pear/language.ex
mbernerslee/ployglot_watcher
61497899cf4974012e2bae03a7ee58838b846ae0
[ "Naumen", "Condor-1.1", "MS-PL" ]
9
2020-12-10T20:33:59.000Z
2020-12-11T12:06:59.000Z
test/example_languages/pear/language.ex
mbernerslee/polyglot_watcher
61497899cf4974012e2bae03a7ee58838b846ae0
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
defmodule PolyglotWatcher.ExampleLanguages.Pear.Language do alias PolyglotWatcher.LanguageBehaviour @behaviour LanguageBehaviour @impl LanguageBehaviour def file_extensions do [".pear"] end @impl LanguageBehaviour def starting_state do {:pear, %{juicy: true, tasty: true, pick: false, eat: false...
21.666667
78
0.745055
e9a1db39eca0028bbe17bd65f86fc9c5d94a1df8
4,824
exs
Elixir
elixir/test/homework/transactions_test.exs
MilioFrankie/transactions-app
5299526824393d2de3c4d6435286d665829991c5
[ "MIT" ]
null
null
null
elixir/test/homework/transactions_test.exs
MilioFrankie/transactions-app
5299526824393d2de3c4d6435286d665829991c5
[ "MIT" ]
3
2021-09-02T19:01:31.000Z
2022-02-27T11:09:27.000Z
elixir/test/homework/transactions_test.exs
MilioFrankie/transactions-app
5299526824393d2de3c4d6435286d665829991c5
[ "MIT" ]
null
null
null
defmodule Homework.TransactionsTest do use Homework.DataCase alias Homework.Merchants alias Homework.Transactions alias Homework.Users describe "transactions" do alias Homework.Transactions.Transaction setup do {:ok, merchant1} = Merchants.create_merchant(%{description: "some descript...
30.726115
99
0.652156
e9a211df411bde7b70f8f07d95d542d624faf3fc
4,282
ex
Elixir
lib/fatex_web/live/section.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
3
2019-12-08T19:42:39.000Z
2020-03-17T13:02:56.000Z
lib/fatex_web/live/section.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
1
2021-03-09T19:49:41.000Z
2021-03-09T19:49:41.000Z
lib/fatex_web/live/section.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
1
2019-12-08T19:42:42.000Z
2019-12-08T19:42:42.000Z
defmodule FatexWeb.SectionLive do use FatexWeb, :live require Logger # TODO: receber um info dizendo oque adicionar em seguida, com isso atualizar o socket e permitir escolher o event (append_child | append | prepend) def render(assigns) do FatexWeb.SectionView.render("index.html", assigns) end def m...
31.255474
150
0.693835
e9a24014ca23e02b26597bf0efd597305a0671a3
401
exs
Elixir
priv/repo/migrations/20210615172547_create_file_index.exs
Sapfir0/elCloud
3ef9e8d2400898250ee65d36870672e76006c263
[ "Unlicense" ]
2
2021-05-30T20:11:44.000Z
2021-12-20T19:08:56.000Z
priv/repo/migrations/20210615172547_create_file_index.exs
Sapfir0/elCloud
3ef9e8d2400898250ee65d36870672e76006c263
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20210615172547_create_file_index.exs
Sapfir0/elCloud
3ef9e8d2400898250ee65d36870672e76006c263
[ "Unlicense" ]
1
2022-01-23T05:29:08.000Z
2022-01-23T05:29:08.000Z
defmodule ElCloud.Repo.Migrations.CreateFileIndex do use Ecto.Migration def up do create_if_not_exists table("fileIndex") do # add :id, :uuid, primary_key: true, null: false, default: fragment("gen_random_uuid()") add :path, :string add :filename, :string add :parent_id, :string t...
20.05
94
0.663342
e9a25b86ccaa0ad61f8aed7fffca5c617adcd367
2,127
ex
Elixir
lib/simple_secrets/primatives.ex
vanetix/simple_secrets_ex
7ff80485cf0e0b8b505cc4a1960f93f1834ba598
[ "MIT" ]
null
null
null
lib/simple_secrets/primatives.ex
vanetix/simple_secrets_ex
7ff80485cf0e0b8b505cc4a1960f93f1834ba598
[ "MIT" ]
null
null
null
lib/simple_secrets/primatives.ex
vanetix/simple_secrets_ex
7ff80485cf0e0b8b505cc4a1960f93f1834ba598
[ "MIT" ]
null
null
null
defmodule SimpleSecrets.Primatives do def nonce() do :crypto.strong_rand_bytes(16) end def derive(master, role) do :crypto.hash(:sha256, [master, role]) end def derive_sender_hmac(master) do derive(master, "simple-crypto/sender-hmac-key") end def derive_sender_key(master) do derive(mast...
21.059406
111
0.628585
e9a25d396ce8352761d3202926fa1ef11d3375dd
2,003
ex
Elixir
cards/lib/cards.ex
lalaman/elixir-tuts
c7d25a5f3bbc5a6ebd00162af326646ddf9555f8
[ "MIT" ]
null
null
null
cards/lib/cards.ex
lalaman/elixir-tuts
c7d25a5f3bbc5a6ebd00162af326646ddf9555f8
[ "MIT" ]
null
null
null
cards/lib/cards.ex
lalaman/elixir-tuts
c7d25a5f3bbc5a6ebd00162af326646ddf9555f8
[ "MIT" ]
null
null
null
defmodule Cards do @moduledoc """ Provides methods for creating and handling a deck of cards """ @doc """ Returns a list of strings that represents playing cards """ def create_deck do values = ["Ace", "Two", "Three", "Four", "Five"] suits = ["Spades", "Clubs", "Hearts", "Diamonds"] # us...
23.845238
83
0.623565
e9a25d6123515218c36389af27ad10b409cdabc2
1,084
ex
Elixir
lib/oauth_mock_server/adfs/adfs.ex
DefactoSoftware/oauth_mock_server
47aad87eb19dff448f07cf84f9a6c90982d24c1e
[ "MIT" ]
null
null
null
lib/oauth_mock_server/adfs/adfs.ex
DefactoSoftware/oauth_mock_server
47aad87eb19dff448f07cf84f9a6c90982d24c1e
[ "MIT" ]
null
null
null
lib/oauth_mock_server/adfs/adfs.ex
DefactoSoftware/oauth_mock_server
47aad87eb19dff448f07cf84f9a6c90982d24c1e
[ "MIT" ]
null
null
null
defmodule OauthMockServer.Adfs do @moduledoc """ A server that simulates ADFS responses. """ use OauthMockServer.Conn alias OauthMockServer.Adfs.TokenHelper def metadata(conn), do: send_resp(conn, 200, adfs_metadata()) def authorize(%Conn{params: %{"redirect_uri" => redirect_uri}} = conn) do use...
26.439024
85
0.644834
e9a2a8cf3ec5032262ad6e3748ba4ece311eeefd
4,281
ex
Elixir
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/encrypt_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/encrypt_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/encrypt_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
76.446429
985
0.78206
e9a2de833a36307e1f152448bc40ed2992a72d57
2,710
ex
Elixir
apps/viztube_web/lib/viztube_web/controllers/tag_controller.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
null
null
null
apps/viztube_web/lib/viztube_web/controllers/tag_controller.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
3
2020-07-16T23:48:01.000Z
2021-05-08T15:54:04.000Z
apps/viztube_web/lib/viztube_web/controllers/tag_controller.ex
vizlegal/viztube
9519ec2bcea9d4085ec3287412b0a26104d4c826
[ "Apache-2.0" ]
null
null
null
defmodule ViztubeWeb.TagController do @moduledoc """ Channel Controller """ use ViztubeWeb, :controller alias Viztube.Channels alias Viztube.Accounts @doc """ render list of videos from a channel since last checked date Returns `render show`. """ def show(conn, %{"id" => id, "page" => page}) do...
29.456522
83
0.69262
e9a2fb5067afe4f9f1064795f542c702442c8391
1,130
ex
Elixir
lib/unit_converter/converter.ex
deerob4/unit-converter
288ad35d0e97f0453e893ced717faccbe9710a7b
[ "MIT" ]
null
null
null
lib/unit_converter/converter.ex
deerob4/unit-converter
288ad35d0e97f0453e893ced717faccbe9710a7b
[ "MIT" ]
null
null
null
lib/unit_converter/converter.ex
deerob4/unit-converter
288ad35d0e97f0453e893ced717faccbe9710a7b
[ "MIT" ]
null
null
null
defmodule UnitConverter.Converter do @conversion_file "priv/static/conversions.json" @conversions [] %{"conversions" => conversions} = @conversion_file |> File.read! |> Poison.decode! # Goes through each conversion in the file and # constructs a unique function using its formula. for conversio...
28.974359
69
0.664602
e9a300888713ccc12fca469895516545917b9995
7,514
ex
Elixir
lib/panpipe/pandoc/pandoc.ex
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
null
null
null
lib/panpipe/pandoc/pandoc.ex
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
null
null
null
lib/panpipe/pandoc/pandoc.ex
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
null
null
null
defmodule Panpipe.Pandoc do @moduledoc """ Wrapper around the `pandoc` CLI. See the [Pandoc Manual](https://pandoc.org/MANUAL.html). """ @panpipe_options ~w[remove_trailing_newline]a @pandoc "pandoc" @api_version [1, 17, 5, 4] @doc """ The Pandoc API version against which Panpipe operates. Thi...
29.582677
103
0.670615
e9a30c4eb345ed3c4ced8d83c9667e860f295bce
601
exs
Elixir
apps/evm/test/evm/gas_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
105
2017-08-02T07:55:17.000Z
2021-12-23T21:49:57.000Z
apps/evm/test/evm/gas_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
19
2017-08-21T22:28:39.000Z
2018-05-01T13:33:12.000Z
apps/evm/test/evm/gas_test.exs
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
17
2017-08-10T15:50:47.000Z
2021-11-19T04:29:59.000Z
defmodule EVM.GasTest do use ExUnit.Case, async: true doctest EVM.Gas test "Gas cost: CALL" do to_address = 0x0F572E5295C57F15886F9B263E2F6D2D6C7B5EC6 inputs = [3000, to_address, 0, 0, 32, 32, 32] machine_state = %EVM.MachineState{program_counter: 0, stack: inputs} account_interface = EVM.Interfa...
27.318182
72
0.708819
e9a36b63c90c3092233b5a69520b6733384224fe
238
ex
Elixir
lib/realbook/_tokens.ex
ityonemo/realbook
cc506144492b9344b540181a63ba35b6f5943c9c
[ "MIT" ]
11
2020-07-13T20:43:43.000Z
2021-05-18T23:52:27.000Z
lib/realbook/_tokens.ex
ityonemo/realbook
cc506144492b9344b540181a63ba35b6f5943c9c
[ "MIT" ]
50
2020-07-13T02:20:14.000Z
2020-08-17T16:45:17.000Z
lib/realbook/_tokens.ex
ityonemo/realbook
cc506144492b9344b540181a63ba35b6f5943c9c
[ "MIT" ]
1
2021-03-11T17:02:21.000Z
2021-03-11T17:02:21.000Z
defmodule Realbook.Asset do @moduledoc false @enforce_keys [:path, :file, :line] defstruct @enforce_keys end defmodule Realbook.Variable do @moduledoc false @enforce_keys [:file, :line] defstruct @enforce_keys ++ [:type] end
19.833333
37
0.735294
e9a3857911276814c6c4cfe9a5dd8532c0832ed0
1,478
exs
Elixir
2018/Day-2/Inventory_Management_System/main.exs
sreekesari-vangeepuram/aoc-2020
645531be0208affe042ac0328105b9ef3cfc9dbf
[ "MIT" ]
1
2021-07-09T07:56:14.000Z
2021-07-09T07:56:14.000Z
2018/Day-2/Inventory_Management_System/main.exs
sreekesari-vangeepuram/adventofcode
645531be0208affe042ac0328105b9ef3cfc9dbf
[ "MIT" ]
null
null
null
2018/Day-2/Inventory_Management_System/main.exs
sreekesari-vangeepuram/adventofcode
645531be0208affe042ac0328105b9ef3cfc9dbf
[ "MIT" ]
null
null
null
defmodule ID do defp analyze(id) do xs = String.graphemes(id) Map.new(Enum.map(xs, fn x -> {x, Enum.count(xs, fn l -> l == x end)} end)) end def parse([id | ids], map) do parse(ids, Map.put(map, id, analyze(id))) end def parse([], map), do: map def len(id), do: String.length(id) ...
25.050847
92
0.573072
e9a3a52fca95a8a19476f5641d083d5681b89686
1,958
ex
Elixir
lib/codes/codes_r13.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r13.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r13.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_R13 do alias IcdCode.ICDCode def _R130 do %ICDCode{full_code: "R130", category_code: "R13", short_code: "0", full_name: "Aphagia", short_name: "Aphagia", category_name: "Aphagia" } end def _R1310 do %ICDCode{full_cod...
27.971429
62
0.58427
e9a3c4714365d953cc785b4ced9077bfaf1d6af9
1,678
exs
Elixir
test/still/preprocessor/html_responsive_image_test.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
test/still/preprocessor/html_responsive_image_test.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
test/still/preprocessor/html_responsive_image_test.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
defmodule Still.Preprocessor.HtmlResponsiveImageTest do use ExUnit.Case, async: true alias Still.Preprocessor.HtmlResponsiveImage alias Still.SourceFile describe "render/1" do test "replaces images with responsive images" do source_file = %SourceFile{ input_file: "blog/index.html", o...
39.023256
395
0.631704
e9a3cee069af018be49810d71f053e52bf08edef
86
ex
Elixir
ch2/arity_demo.ex
TheEndIsNear/ElixirInAction
9b18ebd4845723935e03ec2a0c3cf869aa955541
[ "MIT" ]
null
null
null
ch2/arity_demo.ex
TheEndIsNear/ElixirInAction
9b18ebd4845723935e03ec2a0c3cf869aa955541
[ "MIT" ]
null
null
null
ch2/arity_demo.ex
TheEndIsNear/ElixirInAction
9b18ebd4845723935e03ec2a0c3cf869aa955541
[ "MIT" ]
null
null
null
defmodule Rectangle do def area(a), do: area(a, a) def area(a, b), do: a * b end
14.333333
29
0.604651
e9a3ff1bdcdd2c46e3674e08c59d7e33b9d097e4
961
exs
Elixir
apps/fz_common/mix.exs
athulspeaks/firezone
98f4709c4d2c03f1ade5167494547ef240a09aed
[ "Apache-2.0" ]
1,429
2021-07-31T21:25:46.000Z
2022-03-31T16:31:33.000Z
apps/fz_common/mix.exs
athulspeaks/firezone
98f4709c4d2c03f1ade5167494547ef240a09aed
[ "Apache-2.0" ]
132
2021-07-10T14:23:36.000Z
2022-03-29T18:36:37.000Z
apps/fz_common/mix.exs
CloudFire-LLC/cloudfire
24ea29bda8a8845a0a9c3b0482cc67e314611245
[ "Apache-2.0" ]
48
2021-09-14T02:48:38.000Z
2022-03-24T18:18:50.000Z
defmodule FzCommon.MixProject do use Mix.Project @version_path "../../scripts/version.exs" def version do Code.eval_file(@version_path) |> elem(0) end def project do [ app: :fz_common, version: version(), build_path: "../../_build", config_path: "../../config/config.exs"...
22.348837
88
0.566077
e9a404d5b9d07d26aa0cc38ae32ac15fc87649d2
1,416
ex
Elixir
example/lib/live_phone_example_web/telemetry.ex
workwithmax/live_phone
1a5482a9032735dd201f2468643145f1ee0a3588
[ "MIT" ]
3
2021-02-28T22:27:58.000Z
2021-12-08T03:18:10.000Z
example/lib/live_phone_example_web/telemetry.ex
whitepaperclip/live_phone
bda5d554dd7d3df313fa15cd71eb2bcb8acda897
[ "MIT" ]
25
2021-02-26T16:15:46.000Z
2022-03-24T08:10:51.000Z
example/lib/live_phone_example_web/telemetry.ex
workwithmax/live_phone
1a5482a9032735dd201f2468643145f1ee0a3588
[ "MIT" ]
2
2020-11-27T17:33:52.000Z
2021-01-25T16:05:16.000Z
defmodule LivePhoneExampleWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000m...
28.897959
86
0.674435
e9a43dc2a306ba653d8a2d7c105b64e3d467128d
491
ex
Elixir
lib/control_web/views/error_view.ex
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
2
2020-06-24T22:13:10.000Z
2021-01-07T18:01:14.000Z
lib/control_web/views/error_view.ex
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
null
null
null
lib/control_web/views/error_view.ex
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
null
null
null
defmodule ControlWeb.ErrorView do use ControlWeb, :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.882353
61
0.735234
e9a45878b56c6886a737407b995293b571aae7a8
764
ex
Elixir
lib/repo_man.ex
msimonborg/repo_man
3dbc2054e215fa601ae9e52efe77cfd3549fdbc9
[ "MIT" ]
null
null
null
lib/repo_man.ex
msimonborg/repo_man
3dbc2054e215fa601ae9e52efe77cfd3549fdbc9
[ "MIT" ]
null
null
null
lib/repo_man.ex
msimonborg/repo_man
3dbc2054e215fa601ae9e52efe77cfd3549fdbc9
[ "MIT" ]
null
null
null
defmodule RepoMan do @moduledoc """ Bulk delete a list of github repos. """ @token File.read!("token.txt") @doc """ Read the `repos.txt` file for a list of repos and send a delete request for each one to the Github API. """ def clean do "repos.txt" |> File.stream!() |> Stream.map(&trim_re...
21.828571
73
0.586387
e9a47a1a1edc84e2262c4cddaeb7ba02974c95f2
38,206
ex
Elixir
lib/elixir/lib/file.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
defmodule File do @moduledoc ~S""" This module contains functions to manipulate files. Some of those functions are low-level, allowing the user to interact with the file or IO devices, like `open/2`, `copy/3` and others. This module also provides higher level functions that work with filenames and have the...
31.47117
102
0.635057
e9a47b805b907a85ec6e2f62e5fe3d20d1109e31
626
ex
Elixir
lib/radiator/instance_config.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
lib/radiator/instance_config.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
lib/radiator/instance_config.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule Radiator.InstanceConfig do @moduledoc """ A module for accessing instance based config options. :base_admin_url - location to redirect to after successful email confirmation Set via config ``` config :radiator, :instance_config, base_admin_url: "https://yourdomain.com/" ``` """ ali...
22.357143
79
0.731629
e9a483b9971169da6d3e4f5c525c5959851405d3
1,932
ex
Elixir
lib/mix/lib/mix/shell.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Shell do @moduledoc """ Defines Mix.Shell contract. """ use Behaviour @doc """ Informs the given message. """ defcallback info(message :: binary) :: any @doc """ Warns about the given error message. """ defcallback error(message :: binary) :: any @doc """ Asks the user for ...
24.769231
106
0.595756
e9a49dd33423a0854d573775c493b39ada86c78d
456
ex
Elixir
lib/rdf/serializations/turtle.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
lib/rdf/serializations/turtle.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
lib/rdf/serializations/turtle.ex
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.Turtle do @moduledoc """ `RDF.Turtle` provides support for the Turtle serialization format. See `RDF.Turtle.Decoder` and `RDF.Turtle.Encoder` for the available options on the read and write functions. For more on Turtle see <https://www.w3.org/TR/turtle/>. """ use RDF.Serialization.Format...
22.8
77
0.710526
e9a4ac6e0043242c15940683b795b8fec64f3ab6
401
exs
Elixir
melixir/mix.exs
ponyatov/metaL
0cd2614b5cd73280beeba34256a2e1dc736b2828
[ "MIT" ]
8
2019-04-22T12:28:20.000Z
2021-11-09T22:08:17.000Z
melixir/mix.exs
ponyatov/metaL
0cd2614b5cd73280beeba34256a2e1dc736b2828
[ "MIT" ]
3
2019-04-23T17:17:55.000Z
2020-10-12T08:43:25.000Z
melixir/mix.exs
ponyatov/metaL
0cd2614b5cd73280beeba34256a2e1dc736b2828
[ "MIT" ]
2
2020-09-21T20:38:37.000Z
2021-09-08T13:37:44.000Z
# powered by metaL: https://github.com/ponyatov/metaL/wiki/metaL-manifest defmodule Melixir.MixProject do use Mix.Project def project do [ app: :melixir, version: "0.0.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ ...
16.04
74
0.583541