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
91c3b24423e9be1bc2de61566e9d7cfc50af6645
1,681
ex
Elixir
year_2021/lib/day_17.ex
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2021/lib/day_17.ex
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2021/lib/day_17.ex
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day17 do def part_one(input) do [_x_range, y_range] = parse(input) max_height(-1 * Enum.min(y_range) - 1) end def part_two(input) do [x_range, y_range] = parse(input) for x_velo <- find_x_velos(x_range), y_velo <- find_y_velos(y_range) do {x_velo, y_velo} end |> Enum.cou...
32.326923
87
0.571089
91c3bbe9bb79bb7590d8095c3e096543a8338247
1,752
ex
Elixir
lib/phoenix_events_live_web.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
lib/phoenix_events_live_web.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
lib/phoenix_events_live_web.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
defmodule PhoenixEventsLiveWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use PhoenixEventsLiveWeb, :controller use PhoenixEventsLiveWeb, :view The definitions below will be executed ...
25.028571
83
0.710616
91c3c1f227a5976bc90ee64ac9b1b36d4f947637
881
exs
Elixir
mix.exs
rsolovjov/jwt-google-tokens
ad9d233824db7d21617ba7025a477a57ea8ba420
[ "Apache-2.0" ]
null
null
null
mix.exs
rsolovjov/jwt-google-tokens
ad9d233824db7d21617ba7025a477a57ea8ba420
[ "Apache-2.0" ]
null
null
null
mix.exs
rsolovjov/jwt-google-tokens
ad9d233824db7d21617ba7025a477a57ea8ba420
[ "Apache-2.0" ]
null
null
null
defmodule Jwt.Mixfile do use Mix.Project def project do [app: :jwt, version: "0.6.0", elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end def application do [ applications:...
23.184211
73
0.528944
91c3e353f4135d24c73c0cba7bfe5b4efbff0ff2
3,147
ex
Elixir
lib/eth/transaction/builder.ex
jchayan/eth
42a3bb8026522d5bf02d44ddabf4dff177ef28a4
[ "MIT" ]
null
null
null
lib/eth/transaction/builder.ex
jchayan/eth
42a3bb8026522d5bf02d44ddabf4dff177ef28a4
[ "MIT" ]
null
null
null
lib/eth/transaction/builder.ex
jchayan/eth
42a3bb8026522d5bf02d44ddabf4dff177ef28a4
[ "MIT" ]
null
null
null
defmodule ETH.Transaction.Builder do import ETH.Transaction.Parser @moduledoc """ This module converts transaction parameters as a list or map to Ethereum Transaction map. The result map is encoded with default ethereum hex encodings for every value so you can sign and send it to any Ethereum client. I...
27.849558
98
0.629171
91c42ab8925bf50231a8c420fbb4582e244c7b7f
8,675
ex
Elixir
lib/oli/authoring/editing/container_editor.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/authoring/editing/container_editor.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/authoring/editing/container_editor.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.Authoring.Editing.ContainerEditor do @moduledoc """ This module provides high-level editing facilities for project containers, mainly around adding and removing and reording the items within a container. """ import Oli.Authoring.Editing.Utils alias Oli.Resources.Revision alias Oli.Resour...
31.660584
98
0.636196
91c4497a5d5656e52d9e6cc0288eb2e50e05c6f2
1,389
ex
Elixir
lib/koans/16_tasks.ex
jarekjaro/elixir-koans
6401b732866d06f1a1c18e842e7b9caba11f65f4
[ "MIT" ]
null
null
null
lib/koans/16_tasks.ex
jarekjaro/elixir-koans
6401b732866d06f1a1c18e842e7b9caba11f65f4
[ "MIT" ]
null
null
null
lib/koans/16_tasks.ex
jarekjaro/elixir-koans
6401b732866d06f1a1c18e842e7b9caba11f65f4
[ "MIT" ]
null
null
null
defmodule Tasks do use Koans @intro "Tasks" koan "Tasks can be used for asynchronous computations with results" do task = Task.async(fn -> 3 * 3 end) do_other_stuff() assert Task.await(task) + 1 == 10 end koan "If you don't need a result, use start_link/1" do {result, _pid} = Task.start_lin...
21.703125
75
0.577394
91c4605992c577fede2503871e5b7af743d1c01b
3,108
ex
Elixir
lib/funcio/predicate/utility.ex
ianrumford/plymio_funcio
87fddc0a21e70ba8916961ea3bc22ee3cda0cd2b
[ "MIT" ]
null
null
null
lib/funcio/predicate/utility.ex
ianrumford/plymio_funcio
87fddc0a21e70ba8916961ea3bc22ee3cda0cd2b
[ "MIT" ]
null
null
null
lib/funcio/predicate/utility.ex
ianrumford/plymio_funcio
87fddc0a21e70ba8916961ea3bc22ee3cda0cd2b
[ "MIT" ]
null
null
null
defmodule Plymio.Funcio.Predicate.Utility do @moduledoc ~S""" Predicate Utility Functions. See `Plymio.Funcio` for an overview and documentation terms. """ use Plymio.Funcio.Attribute @type key :: Plymio.Funcio.key() @type keys :: Plymio.Funcio.keys() @type error :: Plymio.Funcio.error() @type stre...
28.254545
131
0.628378
91c46fbbaef81104a3d845dbc823a097d018d02a
193
exs
Elixir
test/support/migrations/20200918214428_give_posts_array_field.exs
tinfoil/cloak_ecto
04a42c047a5a2f984843eddb8897d9a11262bb74
[ "MIT" ]
null
null
null
test/support/migrations/20200918214428_give_posts_array_field.exs
tinfoil/cloak_ecto
04a42c047a5a2f984843eddb8897d9a11262bb74
[ "MIT" ]
1
2021-03-02T01:59:32.000Z
2021-03-02T01:59:32.000Z
test/support/migrations/20200918214428_give_posts_array_field.exs
tinfoil/cloak_ecto
04a42c047a5a2f984843eddb8897d9a11262bb74
[ "MIT" ]
null
null
null
defmodule ScannerData.Repo.Migrations.GivePostsArrayField do use Ecto.Migration def change do alter table(:posts) do add(:tags, {:array, :binary}, default: []) end end end
19.3
60
0.689119
91c484c57784594299563b61f55fd6dabebfb49f
1,179
exs
Elixir
test/krasukha/helpers/string_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
6
2017-01-28T01:11:58.000Z
2021-12-19T22:45:49.000Z
test/krasukha/helpers/string_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
test/krasukha/helpers/string_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
import Krasukha.Helpers.String defmodule Krasukha.Helpers.StringTest do use ExUnit.Case, async: true test "to_tuple_with_floats/1" do assert to_tuple_with_floats(["0.00003575", 663.12507632]) == {3.575e-5, 663.12507632} assert to_tuple_with_floats(["10.0", 20]) == {10.0, 20} end test "float_to_binary...
30.230769
89
0.659033
91c4c1504abe44b6e1a4a756129d24c9da2e212d
2,761
exs
Elixir
ex_cubic_ingestion/test/ex_cubic_ingestion/process_incoming_test.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
1
2022-01-30T21:02:48.000Z
2022-01-30T21:02:48.000Z
ex_cubic_ingestion/test/ex_cubic_ingestion/process_incoming_test.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
21
2022-01-25T16:35:50.000Z
2022-03-31T19:42:52.000Z
ex_cubic_ingestion/test/ex_cubic_ingestion/process_incoming_test.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
1
2022-02-02T14:34:17.000Z
2022-02-02T14:34:17.000Z
defmodule ExCubicIngestion.ProcessIncomingTest do use ExCubicIngestion.DataCase, repo: ExCubicIngestion.Repo alias ExCubicIngestion.ProcessIncoming alias ExCubicIngestion.Schema.CubicLoad alias ExCubicIngestion.Schema.CubicTable require MockExAws require MockExAws.Data setup do {:ok, state, _timeou...
28.173469
95
0.609924
91c4f687ad32f90d98e9250c9b0ca4cc0d8b5a6f
1,145
ex
Elixir
lib/scenic_live_reload.ex
iobee-io/scenic_live_reload
2a7268d065c60cf009864571ba91d112f478802b
[ "Apache-2.0" ]
13
2019-07-08T20:25:56.000Z
2021-06-14T14:46:40.000Z
lib/scenic_live_reload.ex
iobee-io/scenic_live_reload
2a7268d065c60cf009864571ba91d112f478802b
[ "Apache-2.0" ]
26
2019-07-09T18:56:17.000Z
2022-03-23T18:16:46.000Z
lib/scenic_live_reload.ex
iobee-io/scenic_live_reload
2a7268d065c60cf009864571ba91d112f478802b
[ "Apache-2.0" ]
3
2021-09-27T13:29:59.000Z
2021-10-04T15:25:46.000Z
defmodule ScenicLiveReload do @moduledoc """ A simple, generic code reloader for Scenic Scenes """ use GenServer require Logger defmodule State do @moduledoc false defstruct [:viewports] end def start_link(state, name \\ __MODULE__) do GenServer.start_link(__MODULE__, state, name: name) ...
22.019231
63
0.682096
91c52930ecd647cf0dac39cce06ec802f30c18ed
794
ex
Elixir
lib/glimesh_web/uploaders/app_logo.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
lib/glimesh_web/uploaders/app_logo.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
lib/glimesh_web/uploaders/app_logo.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
defmodule Glimesh.AppLogo do @moduledoc false use Waffle.Definition # Include ecto support (requires package waffle_ecto installed): use Waffle.Ecto.Definition @versions [:original] def acl(:original, _), do: :public_read # Whitelist file extensions: def validate({file, _}) do Glimesh.FileValid...
24.060606
94
0.712846
91c5747c51dbc106f67333b71871233f05d57594
930
ex
Elixir
test/support/channel_case.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
test/support/channel_case.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
test/support/channel_case.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
defmodule AdminWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts wit...
24.473684
67
0.712903
91c57d2b667ea468f689baba719241c04f7c1f3d
941
ex
Elixir
lib/furlex/parser/twitter.ex
queer/furlex
66753896ad6f738b682cd41744b0ee5289e6ccff
[ "Apache-2.0" ]
43
2017-07-30T20:58:52.000Z
2022-03-12T01:42:38.000Z
lib/furlex/parser/twitter.ex
queer/furlex
66753896ad6f738b682cd41744b0ee5289e6ccff
[ "Apache-2.0" ]
17
2017-10-04T12:34:28.000Z
2021-02-23T12:47:44.000Z
lib/furlex/parser/twitter.ex
queer/furlex
66753896ad6f738b682cd41744b0ee5289e6ccff
[ "Apache-2.0" ]
16
2017-10-04T12:38:49.000Z
2021-02-20T21:16:51.000Z
defmodule Furlex.Parser.Twitter do @behaviour Furlex.Parser alias Furlex.Parser @tags ~w( twitter:card twitter:site twitter:domain twitter:url twitter:site:id twitter:creator twitter:creator:id twitter:description twitter:title twitter:image twitter:image:alt twitter:player twitter:player:width ...
28.515152
72
0.697131
91c58e9f41e7575b90d23d9f3d042398aee3dca2
61
ex
Elixir
web/web/views/page_view.ex
jellybob/traverse
fc90d06246031defd6055a65c7fc657a8e249753
[ "MIT" ]
null
null
null
web/web/views/page_view.ex
jellybob/traverse
fc90d06246031defd6055a65c7fc657a8e249753
[ "MIT" ]
null
null
null
web/web/views/page_view.ex
jellybob/traverse
fc90d06246031defd6055a65c7fc657a8e249753
[ "MIT" ]
null
null
null
defmodule Traverse.PageView do use Traverse.Web, :view end
15.25
30
0.786885
91c5b0bfba10ba57f39774baee654676bfaa054d
1,462
ex
Elixir
lib/cadet/assessments/question.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
lib/cadet/assessments/question.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
lib/cadet/assessments/question.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule Cadet.Assessments.Question do @moduledoc """ Questions model contains domain logic for questions management including programming and multiple choice questions. """ use Cadet, :model alias Cadet.Assessments.{Assessment, Library, QuestionType} alias Cadet.Assessments.QuestionTypes.{MCQQuestion, ...
31.782609
74
0.737346
91c5e713d7716499825ed006eb0df184932d5324
885
ex
Elixir
lib/exq_ui_web/live/retry_live/show.ex
snowflakes-network/ecq_ui
c6a9cef5ce10d501d2408bcd30e27f4e570d6fce
[ "Apache-2.0" ]
125
2015-12-21T00:20:28.000Z
2022-03-29T07:21:43.000Z
lib/exq_ui_web/live/retry_live/show.ex
snowflakes-network/ecq_ui
c6a9cef5ce10d501d2408bcd30e27f4e570d6fce
[ "Apache-2.0" ]
81
2015-12-20T06:00:43.000Z
2022-02-05T13:53:22.000Z
lib/exq_ui_web/live/retry_live/show.ex
snowflakes-network/ecq_ui
c6a9cef5ce10d501d2408bcd30e27f4e570d6fce
[ "Apache-2.0" ]
87
2016-01-25T05:37:04.000Z
2022-01-28T15:33:44.000Z
defmodule ExqUIWeb.RetryLive.Show do use ExqUIWeb, :live_view alias ExqUI.Queue @impl true def mount(%{"score" => score, "jid" => jid}, _session, socket) do socket = assign(socket, :actions, [ %{name: "delete", label: "Delete"}, %{name: "retry_now", label: "Retry Now"} ]) {...
26.818182
74
0.645198
91c5f84c0983706c295d2fc55e37d45507e05f7d
851
exs
Elixir
mix.exs
Nao000/NamedBindSql
2fa57a18d917e1fc4e532a56f25f00191055bb02
[ "MIT" ]
null
null
null
mix.exs
Nao000/NamedBindSql
2fa57a18d917e1fc4e532a56f25f00191055bb02
[ "MIT" ]
null
null
null
mix.exs
Nao000/NamedBindSql
2fa57a18d917e1fc4e532a56f25f00191055bb02
[ "MIT" ]
null
null
null
defmodule NamedBindSql.MixProject do use Mix.Project @description """ This can use named params when you use Ecto.Adapters.SQL.Query. """ def project do [ app: :named_bind_sql, version: "0.2.0", elixir: "~> 1.9", name: "NamedBindSql", description: @description, pack...
20.261905
70
0.586369
91c63acac4c02e5f1f96fb7db51f3ff13601df22
8,109
ex
Elixir
lib/esbuild.ex
denvaar/esbuild
e2d01c87ecd60d02ab8151dcbd51a24a13495f21
[ "MIT" ]
null
null
null
lib/esbuild.ex
denvaar/esbuild
e2d01c87ecd60d02ab8151dcbd51a24a13495f21
[ "MIT" ]
null
null
null
lib/esbuild.ex
denvaar/esbuild
e2d01c87ecd60d02ab8151dcbd51a24a13495f21
[ "MIT" ]
null
null
null
defmodule Esbuild do # https://registry.npmjs.org/esbuild/latest @latest_version "0.13.4" @moduledoc """ Esbuild is an installer and runner for [esbuild](https://esbuild.github.io). ## Profiles You can define multiple esbuild profiles. By default, there is a profile called `:default` which you can conf...
28.452632
104
0.626341
91c63b8549e29122b517f42079870078404d43e2
597
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/45.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/45.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/45.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** noun a76 adjective noun * verb * adverb; conj * cm noun * noun * adverb; cm * adjective noun * verb * adverb; noun * pnoun cardinal * cm * adverb; noun a33 verb_aux cm * SYM * verb; noun * pn cardinal * noun * adverb; cm * cm cm * verb * adverb; conj * pnoun pnoun * cm * adverb; particle * no...
31.421053
41
0.643216
91c6489072eb276b3ef53125a0470cf500f18829
4,864
ex
Elixir
lib/scenic/component/input/caret.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/caret.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/caret.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer 2018-08-06. # Copyright © 2018 Kry10 Limited. All rights reserved. # defmodule Scenic.Component.Input.Caret do @moduledoc """ Add a blinking text-input caret to a graph. ## Data `height` * `height` - The height of the caret. The caller (TextEdit) calculates this based on...
24.079208
93
0.541118
91c671a3c66099592ee9ea04cfe6fce22524c4e7
5,714
exs
Elixir
test/poison/decoder_test.exs
Overbryd/poison
b095851a0ea3e3106e5700b743187226c607de26
[ "CC0-1.0" ]
null
null
null
test/poison/decoder_test.exs
Overbryd/poison
b095851a0ea3e3106e5700b743187226c607de26
[ "CC0-1.0" ]
null
null
null
test/poison/decoder_test.exs
Overbryd/poison
b095851a0ea3e3106e5700b743187226c607de26
[ "CC0-1.0" ]
1
2021-08-09T09:19:05.000Z
2021-08-09T09:19:05.000Z
defmodule Poison.DecoderTest do use ExUnit.Case, async: true import Poison.Decode, only: [transform: 2] defmodule Person do defstruct [:name, :address, :contact, age: 42] end defmodule Contact do defstruct [:email, :telephone] end defmodule Address do defstruct [:street, :city, :state, :zi...
36.864516
144
0.620756
91c67611efd403d425202bbda85db2d252559520
2,129
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/event_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/event_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/event_data.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.084746
124
0.699389
91c6822873a64cd331da0c68984598e4a494ecc7
666
exs
Elixir
mix.exs
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
mix.exs
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
mix.exs
jamesduncombe/lightbridge
c6b5fd54f5495ae12fefc0174ca95ebe2f69a1ce
[ "MIT" ]
null
null
null
defmodule Lightbridge.MixProject do use Mix.Project def project do [ app: :lightbridge, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.8125
59
0.551051
91c6b654838fec7372fea61df570c5ebca51f799
479
exs
Elixir
MixProject/help/config/test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/help/config/test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/help/config/test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :help, HelpWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :help, Help.Repo, adapte...
23.95
56
0.726514
91c6cdae4fdd71b8ec1934a149b860a3a33e3b2c
630
ex
Elixir
lib/mudblood/model.ex
onyxrev/crudblood
a35a9d35de505ec2b4a5426a16cbcc62df1dc10b
[ "Apache-2.0" ]
2
2016-10-31T13:16:26.000Z
2017-08-30T00:27:01.000Z
lib/mudblood/model.ex
onyxrev/crudblood
a35a9d35de505ec2b4a5426a16cbcc62df1dc10b
[ "Apache-2.0" ]
null
null
null
lib/mudblood/model.ex
onyxrev/crudblood
a35a9d35de505ec2b4a5426a16cbcc62df1dc10b
[ "Apache-2.0" ]
null
null
null
defmodule Mudblood.Model do defmacro __using__(_) do quote do def __table do __MODULE__.__schema__(:source) end def __name do "#{__MODULE__}" |> String.split(".") |> List.last # take the "AdminUser" from "MyApp.AdminUser" ...
26.25
107
0.484127
91c6dcc598438c2001e2b91fcd299b598baf0b15
884
ex
Elixir
clients/firestore/lib/google_api/firestore/v1/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.740741
74
0.75905
91c6dfbf8e2a94e02867aa7af8a1041d8cdb180c
2,573
ex
Elixir
test/support/live_views/components.ex
groxio-learning/phoenix_live_view
df25d2d016b54d59beff20bd778ee2459abb6978
[ "MIT" ]
null
null
null
test/support/live_views/components.ex
groxio-learning/phoenix_live_view
df25d2d016b54d59beff20bd778ee2459abb6978
[ "MIT" ]
null
null
null
test/support/live_views/components.ex
groxio-learning/phoenix_live_view
df25d2d016b54d59beff20bd778ee2459abb6978
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.StatefulComponent do use Phoenix.LiveComponent def mount(socket) do {:ok, assign(socket, name: "unknown", dup_name: nil)} end def update(assigns, socket) do if from = assigns[:from] do send(from, {:updated, assigns}) end {:ok, assign(socket, assigns)} en...
26.255102
110
0.60241
91c719d5e31e8cf5f78f105e044624e60aa68ecb
2,006
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/cluster_operation_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/cluster_operation_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/cluster_operation_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.821429
123
0.707876
91c7262906edfdc2c18da43e3742c43dbb99e664
10,437
ex
Elixir
lib/ecto/adapters/sql/sandbox.ex
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql/sandbox.ex
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql/sandbox.ex
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.SQL.Sandbox do @moduledoc ~S""" A pool for concurrent transactional tests. The sandbox pool is implemented on top of an ownership mechanism. When started, the pool is in automatic mode, which means using the repository will automatically check connections out as with any other pool....
33.238854
79
0.670499
91c736000c8f8cc173f1b64f5c732aa0615b3467
1,937
ex
Elixir
lib/honeydew/please.ex
christian-fei/honeydew
af06f5778de164fd50979ae20e59b6aeb3092485
[ "MIT" ]
13
2022-02-13T18:43:20.000Z
2022-03-19T11:53:48.000Z
lib/honeydew/please.ex
christian-fei/honeydew
af06f5778de164fd50979ae20e59b6aeb3092485
[ "MIT" ]
1
2022-02-23T13:57:19.000Z
2022-02-23T13:57:19.000Z
lib/honeydew/please.ex
christian-fei/honeydew
af06f5778de164fd50979ae20e59b6aeb3092485
[ "MIT" ]
3
2022-02-13T19:25:19.000Z
2022-02-22T17:56:52.000Z
defmodule Honeydew.Please do @moduledoc """ The Please context. """ import Ecto.Query, warn: false alias Honeydew.Repo alias Honeydew.App alias Honeydew.Support.CustomId alias Honeydew.Please.Commands.{ MakeList, DiscardList, AddTask, CompleteTask, ThwartTask, RemoveTask, R...
16.415254
44
0.622096
91c7404ea4b15b477d92fad76697df22794f5ad9
1,119
exs
Elixir
config/config.exs
jeffgrunewald/rotn
465b987e35ba4130867a5432b28471f3be952a28
[ "Apache-2.0" ]
3
2019-02-01T14:36:54.000Z
2019-05-08T01:42:16.000Z
config/config.exs
jeffgrunewald/rotn
465b987e35ba4130867a5432b28471f3be952a28
[ "Apache-2.0" ]
null
null
null
config/config.exs
jeffgrunewald/rotn
465b987e35ba4130867a5432b28471f3be952a28
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. 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.096774
73
0.748883
91c75fb1ebd1c0e7457cc374383e66d60cdc1b58
9,039
ex
Elixir
lib/comparator/auth.ex
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
lib/comparator/auth.ex
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
lib/comparator/auth.ex
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
defmodule Comparator.Auth do @moduledoc """ The Auth context. """ import Ecto.Query, warn: false alias Comparator.Repo alias Comparator.Auth.{User, UserToken, UserNotifier} ## Database getters @doc """ Gets a user by email. ## Examples iex> get_user_by_email("foo@example.com") %Use...
25.533898
114
0.662131
91c77c23bd937fc2037e1f8483b66c902e8d3996
1,503
ex
Elixir
clients/content/lib/google_api/content/v21/model/product_unit_pricing_measure.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/product_unit_pricing_measure.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/product_unit_pricing_measure.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.06
85
0.718563
91c793894032ad8b99854ae4be4875f7c7a1b8cd
2,361
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/documentation_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/documentation_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/documentation_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.722222
471
0.744176
91c7ba03dea817d34d1bf1ee5f1b629345ff1b6a
1,811
ex
Elixir
lib/dnsimple/response.ex
remiprev/dnsimple-elixir
7a8eb0cec64797f3e72601b5395d8629836ef904
[ "MIT" ]
null
null
null
lib/dnsimple/response.ex
remiprev/dnsimple-elixir
7a8eb0cec64797f3e72601b5395d8629836ef904
[ "MIT" ]
14
2021-02-19T07:09:55.000Z
2022-02-24T12:33:37.000Z
lib/dnsimple/response.ex
littleairmada/dnsimple-elixir
a1b71a9c84d1a440f86199b8f48754e1c88ca19f
[ "MIT" ]
null
null
null
defmodule Dnsimple.Response do defstruct ~w(http_response data pagination rate_limit rate_limit_remaining rate_limit_reset)a @type t :: %__MODULE__{ http_response: HTTPoison.Response.t, data: any, pagination: Dnsimple.Response.Pagination, rate_limit: integer, rate_limit_remaining: integer, ...
31.77193
95
0.697957
91c7c1c3016080942dd64f62647f4c3e04df676d
4,174
ex
Elixir
lib/membrane/core/element/demand_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
515
2018-06-18T11:09:44.000Z
2020-07-31T07:54:35.000Z
lib/membrane/core/element/demand_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
120
2018-06-07T08:34:06.000Z
2020-07-30T07:09:50.000Z
lib/membrane/core/element/demand_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
13
2018-07-27T11:58:15.000Z
2020-05-06T15:19:55.000Z
defmodule Membrane.Core.Element.DemandController do @moduledoc false # Module handling demands incoming through output pads. use Bunch alias Membrane.Core.{CallbackHandler, Message} alias Membrane.Core.Child.PadModel alias Membrane.Core.Element.{ActionHandler, State, Toilet} alias Membrane.Element.Call...
30.691176
102
0.688548
91c7d37879fba89b67ce70baeed041f5c445bbc9
399
exs
Elixir
web_finngen_r8/priv/repo/migrations/20191209110920_alter_cox_hrs_add_lagged.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/priv/repo/migrations/20191209110920_alter_cox_hrs_add_lagged.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/priv/repo/migrations/20191209110920_alter_cox_hrs_add_lagged.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule Risteys.Repo.Migrations.AlterCoxHrsAddLagged do use Ecto.Migration def change do alter table(:cox_hrs) do add :lagged_hr_cut_year, :integer, null: false, default: 0 end drop unique_index(:cox_hrs, [:prior_id, :outcome_id], name: :prior_outcome) create unique_index(:cox_hrs, [:prior...
30.692308
109
0.739348
91c8090172a04f8254b062ded0e7283e5c055883
15,847
ex
Elixir
snake/lib/snake_web/live/game_live.ex
Krajzys/Snakelixir
f369408da254115037009c89abc2dfb5924b792e
[ "MIT" ]
null
null
null
snake/lib/snake_web/live/game_live.ex
Krajzys/Snakelixir
f369408da254115037009c89abc2dfb5924b792e
[ "MIT" ]
2
2021-05-15T11:28:20.000Z
2021-06-02T09:21:58.000Z
snake/lib/snake_web/live/game_live.ex
Krajzys/Snakelixir
f369408da254115037009c89abc2dfb5924b792e
[ "MIT" ]
1
2021-06-02T09:23:03.000Z
2021-06-02T09:23:03.000Z
defmodule SnakeWeb.GameLive do use SnakeWeb, :live_view require Logger @field_size 20 def mount(_params, _session, socket) do :timer.send_interval(150, :tick) {:ok, assign(socket, %{game_state: Logic.GameLoop.init_game(20, 20, "snake-1", "snake-2")}) } end def render(assigns) do ~L"...
42.945799
206
0.608128
91c815c09c06bd7033825d1c3de0003271f4c68d
4,257
ex
Elixir
apps/aecore/lib/aecore/chain/chain_state.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/lib/aecore/chain/chain_state.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/lib/aecore/chain/chain_state.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
defmodule Aecore.Chain.ChainState do @moduledoc """ Module used for calculating the block and chain states. The chain state is a map, telling us what amount of tokens each account has. """ alias Aecore.Structures.SignedTx alias Aecore.Structures.Account alias Aeutil.Serialization alias Aeutil.Bits r...
34.056
108
0.602067
91c85412f15ddb7418641861760448b1b7872f22
181
ex
Elixir
02-udemy/cards/lib/cards.ex
rgfaber/robex
1c3ea12795a51b5517c8a5e6da225c68cc3d66cc
[ "MIT" ]
null
null
null
02-udemy/cards/lib/cards.ex
rgfaber/robex
1c3ea12795a51b5517c8a5e6da225c68cc3d66cc
[ "MIT" ]
null
null
null
02-udemy/cards/lib/cards.ex
rgfaber/robex
1c3ea12795a51b5517c8a5e6da225c68cc3d66cc
[ "MIT" ]
null
null
null
defmodule Cards do @moduledoc """ Documentation for `Cards`. """ @doc """ Here we create a naive deck of cards """ def new(), do: ["Ace", "Fool", "Queen", "King"] end
18.1
49
0.58011
91c8a38f5bdc2ca95a462e4252c15aa790190d4a
830
exs
Elixir
mix.exs
zoldar/scrivener
b9520f39c33aead3cdd573bae078437b5c2ff66c
[ "MIT" ]
null
null
null
mix.exs
zoldar/scrivener
b9520f39c33aead3cdd573bae078437b5c2ff66c
[ "MIT" ]
null
null
null
mix.exs
zoldar/scrivener
b9520f39c33aead3cdd573bae078437b5c2ff66c
[ "MIT" ]
2
2017-04-14T06:59:05.000Z
2017-04-20T10:09:11.000Z
defmodule Scrivener.Mixfile do use Mix.Project def project do [ app: :scrivener, version: "2.1.1", elixir: "~> 1.2", package: package(), description: "Pagination for the Elixir ecosystem", deps: deps(), docs: [ main: "readme", extras: [ "READM...
17.291667
69
0.480723
91c8b18e1809ac003bb7bbe0d884b60da9c54af4
138
ex
Elixir
Chapter01/typespecs_and_behaviours/string_helper_palindrome_with_typespec.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter01/typespecs_and_behaviours/string_helper_palindrome_with_typespec.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter01/typespecs_and_behaviours/string_helper_palindrome_with_typespec.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
defmodule StringHelper do @spec palindrome?(String.t) :: boolean def palindrome?(term) do String.reverse(term) == term end end
17.25
40
0.702899
91c8c1cc9ce62c32365b89591e8d174babb73565
451
exs
Elixir
priv/repo/migrations/20200626213637_add_replicated_at_column.exs
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
priv/repo/migrations/20200626213637_add_replicated_at_column.exs
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
32
2020-06-08T14:50:46.000Z
2021-01-01T05:40:44.000Z
priv/repo/migrations/20200626213637_add_replicated_at_column.exs
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
defmodule Jeopardy.Repo.Migrations.AddReplicatedAtColumn do use Ecto.Migration def change do alter table(:games) do add :replicated_at, :utc_datetime, default: fragment("to_timestamp(0)") end alter table(:players) do add :replicated_at, :utc_datetime, default: fragment("to_timestamp(0)") ...
25.055556
77
0.702882
91c8ce77c3498988aa588726b899ac1292a50e73
928
ex
Elixir
apps/thundermoon_web/lib/thundermoon_web/live/lotka_volterra_live/chart.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/thundermoon_web/lib/thundermoon_web/live/lotka_volterra_live/chart.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/thundermoon_web/lib/thundermoon_web/live/lotka_volterra_live/chart.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule ThundermoonWeb.LotkaVolterraLive.Chart do use ThundermoonWeb, :live_component @impl true def update(assigns, socket) do {:ok, socket |> assign(assigns) |> set_x_axis() |> push_data_to_client()} end @impl true def render(assigns) do ~L""" <div id="chart-container" ...
25.081081
89
0.65194
91c8d1bdc00c7ee20b25379ba77dceafc4b50fe9
27,475
exs
Elixir
test/lightning_network/invoice_test.exs
RiverFinancial/bitcoinex
c3797213425d50b4932ab0d2f0e7a0cb43fa2c7b
[ "Unlicense" ]
24
2020-03-18T02:05:54.000Z
2022-03-29T18:13:54.000Z
test/lightning_network/invoice_test.exs
RiverFinancial/bitcoinex
c3797213425d50b4932ab0d2f0e7a0cb43fa2c7b
[ "Unlicense" ]
18
2020-01-23T16:39:12.000Z
2022-03-02T14:35:26.000Z
test/lightning_network/invoice_test.exs
SachinMeier/bitcoinex
3b74de9889ab44ad3d204e1bbfd124f8e7419208
[ "Unlicense" ]
7
2020-02-11T10:22:54.000Z
2021-12-23T21:35:01.000Z
defmodule Bitcoinex.LightningNetwork.InvoiceTest do use ExUnit.Case doctest Bitcoinex.Segwit alias Bitcoinex.LightningNetwork.{Invoice, HopHint} setup_all do test_payment_hash = "0001020304050607080900010203040506070809000102030405060708090102" test_description_hash_slice = Bitcoinex.Utils.sha2...
54.513889
776
0.777944
91c8d4d7e1816b8066e329eb6bde3c09931b0ca8
3,254
ex
Elixir
lib/states_language/base.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
4
2020-05-13T04:38:37.000Z
2020-05-13T20:24:21.000Z
lib/states_language/base.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
null
null
null
lib/states_language/base.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
null
null
null
defmodule StatesLanguage.Base do @moduledoc false defmacro __using__(start: start) do quote location: :keep do require Logger @behaviour :gen_statem @behaviour StatesLanguage import StatesLanguage.JSONPath, only: [get_parameters: 3, put_result: 4, run_json_path: 2] def ch...
23.410072
81
0.537185
91c8e7c11a04ff3dc75c1f11b853d0104be98e12
6,654
ex
Elixir
clients/speech/lib/google_api/speech/v1/api/operations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/api/operations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/api/operations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
46.859155
669
0.685452
91c9042349fb320107cee166c70b09c48bbfa12c
3,351
ex
Elixir
lib/plug/amqp/conn.ex
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
1
2020-05-12T08:05:09.000Z
2020-05-12T08:05:09.000Z
lib/plug/amqp/conn.ex
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
21
2020-05-08T17:26:15.000Z
2021-08-02T10:24:02.000Z
lib/plug/amqp/conn.ex
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
null
null
null
defmodule Plug.AMQP.Conn do @moduledoc """ Adapter for AMQP to Plug.Conn This adapter partially implements the Plug.Conn.Adapter behaviour, with the following caveats: * `c:Plug.Conn.Adapter.send_file/6`, `c:Plug.Conn.Adapter.send_chunked/3` and `c:Plug.Conn.Adapter.chunk/2` raise, because there is no s...
30.189189
94
0.665473
91c9072afd8ec10efffe9bd6d7072ab4f26bb908
954
ex
Elixir
exrack_ui/lib/exrack_ui/prom_ex.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
exrack_ui/lib/exrack_ui/prom_ex.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
exrack_ui/lib/exrack_ui/prom_ex.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
defmodule ExRackUI.PromEx do @moduledoc false use PromEx, otp_app: :exrack_ui alias PromEx.Plugins @impl true def plugins do [ Plugins.Application, Plugins.Beam, {Plugins.Phoenix, router: ExRackUIWeb.Router, endpoint: ExRackUIWeb.Endpoint}, # Plugins.Ecto, # Plugins.Oban, ...
21.681818
84
0.614256
91c90da3a6c762a3e28d151a89b2666e1ceb7572
492
ex
Elixir
apps/fz_http/lib/fz_http/macros.ex
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
1,429
2021-07-31T21:25:46.000Z
2022-03-31T16:31:33.000Z
apps/fz_http/lib/fz_http/macros.ex
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
132
2021-07-10T14:23:36.000Z
2022-03-29T18:36:37.000Z
apps/fz_http/lib/fz_http/macros.ex
CloudFire-LLC/cloudfire
24ea29bda8a8845a0a9c3b0482cc67e314611245
[ "Apache-2.0" ]
48
2021-09-14T02:48:38.000Z
2022-03-24T18:18:50.000Z
defmodule FzHttp.Macros do @moduledoc """ Metaprogramming macros """ @doc """ Defines getters for all Setting keys as functions on the Settings module. """ defmacro def_settings(keys) do quote bind_quoted: [keys: keys] do Enum.each(keys, fn key -> fun_name = key |> String.replace(".", "...
23.428571
95
0.621951
91c95435dbf643575d73702c7d5965102bde043d
1,781
ex
Elixir
web/views/bundle_version_view.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
web/views/bundle_version_view.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
web/views/bundle_version_view.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.V1.BundleVersionView do use Cog.Web, :view alias Cog.Repository.Bundles def render("bundle_version.json", %{bundle_version: bundle_version}) do version = %{id: bundle_version.id, bundle_id: bundle_version.bundle.id, name: bundle_version.bundle.name, description: bundle_version...
45.666667
126
0.735542
91c98fde43262f0e2c927dd365336331d6303dfe
11,711
ex
Elixir
des/lib/des.ex
icaropires/crypto-lista1
acecc81d328d223988b3020d5e9359a55131917a
[ "MIT" ]
2
2019-06-28T17:08:04.000Z
2019-07-06T22:40:53.000Z
des/lib/des.ex
icaropires/crypto-lista1
acecc81d328d223988b3020d5e9359a55131917a
[ "MIT" ]
null
null
null
des/lib/des.ex
icaropires/crypto-lista1
acecc81d328d223988b3020d5e9359a55131917a
[ "MIT" ]
null
null
null
defmodule DES do @moduledoc """ Encrypt and Decrypt files using DES symmetric algorithm. ## Examples ``` bash $ ./bin enc my_file my_file.enc $ ./bin dec my_file.enc my_file ``` iex> DES.encrypt(['12345678', '12345678']) iex> DES.decrypt(['12345678', '12345678']) """ @block_size_bytes 8 @...
29.350877
128
0.547519
91c98feb3cfcafb055cbfa4c75e69dc25d262bbd
3,655
ex
Elixir
lib/adoptoposs_web/live/repo_live.ex
Adsidera/adoptoposs
e06da0855fe8f06f4774f89a977201fb78d9dafb
[ "MIT" ]
null
null
null
lib/adoptoposs_web/live/repo_live.ex
Adsidera/adoptoposs
e06da0855fe8f06f4774f89a977201fb78d9dafb
[ "MIT" ]
1
2021-05-11T20:15:21.000Z
2021-05-11T20:15:21.000Z
lib/adoptoposs_web/live/repo_live.ex
Adsidera/adoptoposs
e06da0855fe8f06f4774f89a977201fb78d9dafb
[ "MIT" ]
null
null
null
defmodule AdoptopossWeb.RepoLive do use AdoptopossWeb, :live_view alias AdoptopossWeb.{Endpoint, RepoView} alias Adoptoposs.{Accounts, Network, Submissions} alias Adoptoposs.Network.Organization @orga_limit 25 @repo_limit 10 def render(assigns) do Phoenix.View.render(RepoView, "index.html", assigns...
28.554688
91
0.665937
91c9afe0de38d29a20f60a176c492d2050561539
1,687
ex
Elixir
clients/connectors/lib/google_api/connectors/v1/model/test_iam_permissions_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/connectors/lib/google_api/connectors/v1/model/test_iam_permissions_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/connectors/lib/google_api/connectors/v1/model/test_iam_permissions_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.893617
288
0.74511
91c9bf05e082686cc176e0094148827d86fa4fc6
196
exs
Elixir
lib/mix/mix.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/mix/mix.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/mix.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
defmodule Mix.Mixfile do use Mix.Project def project do [app: :mix, version: System.version] end def application do [ registered: [Mix.Server], mod: { Mix, [] } ] end end
16.333333
40
0.622449
91c9c522664eae0bc2afa07fc9565a8bda30cc22
3,608
exs
Elixir
test/assert_html/matcher_test.exs
ktec/assert_html
07aecb5bf564a6c17a278d09724d793d89e00919
[ "MIT" ]
null
null
null
test/assert_html/matcher_test.exs
ktec/assert_html
07aecb5bf564a6c17a278d09724d793d89e00919
[ "MIT" ]
null
null
null
test/assert_html/matcher_test.exs
ktec/assert_html
07aecb5bf564a6c17a278d09724d793d89e00919
[ "MIT" ]
null
null
null
defmodule AssertHTMLTest.MatcherTest do use ExUnit.Case, async: true doctest AssertHTML.Matcher, import: true import AssertHTML.Matcher alias ExUnit.AssertionError describe ".attributes/3" do setup do [ html: ~S{<main class="table -vertical">quotes: &quot; &amp; &#39;</main>} ] en...
35.029126
137
0.629989
91c9d773991ec22d39a223c1f2f656cbea848a9c
786
ex
Elixir
lib/ex_diet_web/graphql/types/accounts.ex
mugimaru/ex_diet
9602c07af27255decbb32fd7ae0c12b3ffe662a3
[ "Apache-2.0" ]
2
2020-06-25T11:51:46.000Z
2020-09-30T14:00:40.000Z
lib/ex_diet_web/graphql/types/accounts.ex
mugimaru/ex_diet
9602c07af27255decbb32fd7ae0c12b3ffe662a3
[ "Apache-2.0" ]
null
null
null
lib/ex_diet_web/graphql/types/accounts.ex
mugimaru/ex_diet
9602c07af27255decbb32fd7ae0c12b3ffe662a3
[ "Apache-2.0" ]
1
2020-01-29T08:43:07.000Z
2020-01-29T08:43:07.000Z
defmodule ExDietWeb.GraphQL.Types.Accounts do @moduledoc false use Absinthe.Schema.Notation use Absinthe.Relay.Schema.Notation, :modern import Absinthe.Resolution.Helpers, only: [dataloader: 2] node object(:user) do field(:email, non_null(:string)) field(:inserted_at, :datetime) field(:updated_a...
25.354839
61
0.701018
91ca32beecddd99382c9515b9d82a1b0dabe8a4a
886
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.814815
74
0.759594
91ca401e3deef3c88e300bdcf4b4672989718cac
614
exs
Elixir
apps/core/priv/prm_repo/migrations/20190524142209_migrate_le_residence_address.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/prm_repo/migrations/20190524142209_migrate_le_residence_address.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/prm_repo/migrations/20190524142209_migrate_le_residence_address.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.PRMRepo.Migrations.MigrateLeResidenceAddress do use Ecto.Migration def change do execute(""" DO $$DECLARE r RECORD; BEGIN FOR r IN (WITH ll AS ( SELECT le.id, jsonb_array_elements(le.addresses) address FROM legal_enti...
21.172414
62
0.527687
91ca4dd100801cc072e0434992efb1cbab0d59a2
2,121
exs
Elixir
config/dev.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
config/dev.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
config/dev.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :squadster, Squadster.Repo, username: EnvHelper.safe_env("DB_USERNAME", "squadster"), password: EnvHelper.safe_env("DB_PASSWORD", "squadster"), database: EnvHelper.safe_env("DB_BASE_NAME", "squadster") <> "_dev", hostname: "localhost", show_sensitive_data_on_co...
29.873239
70
0.710985
91cabb8aed70a355ad66805e049138d162e702d1
617
exs
Elixir
test/test_helper.exs
Comcast/ctex
530be2ca04671dec23a7668a7c51340c3a71d166
[ "Apache-2.0" ]
6
2018-07-11T00:22:08.000Z
2022-02-07T22:11:57.000Z
test/test_helper.exs
DalavanCloud/ctex
530be2ca04671dec23a7668a7c51340c3a71d166
[ "Apache-2.0" ]
2
2018-07-18T15:53:22.000Z
2018-07-18T16:14:09.000Z
test/test_helper.exs
DalavanCloud/ctex
530be2ca04671dec23a7668a7c51340c3a71d166
[ "Apache-2.0" ]
2
2019-02-02T05:40:19.000Z
2020-05-12T10:05:10.000Z
# Copyright 2018 Comcast Cable Communications Management, 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...
38.5625
74
0.776337
91cac2877993e9c7a739741fe39b4fb5768f564f
13,285
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/renderer_formatted_strings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/renderer_formatted_strings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/renderer_formatted_strings.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...
70.664894
300
0.701167
91cada1060f2524e3485914abdb5608c8d3ed03f
667
ex
Elixir
lib/serum/build/file_processor/template.ex
afontaine/Serum
f2c410d086c235332e047afdc6a3c6e6c6f6fca8
[ "MIT" ]
null
null
null
lib/serum/build/file_processor/template.ex
afontaine/Serum
f2c410d086c235332e047afdc6a3c6e6c6f6fca8
[ "MIT" ]
null
null
null
lib/serum/build/file_processor/template.ex
afontaine/Serum
f2c410d086c235332e047afdc6a3c6e6c6f6fca8
[ "MIT" ]
null
null
null
defmodule Serum.Build.FileProcessor.Template do @moduledoc false import Serum.IOProxy, only: [put_msg: 2] alias Serum.Result alias Serum.Template.Compiler, as: TC @doc false @spec compile_templates(map()) :: Result.t({map(), map()}) def compile_templates(%{templates: templates, includes: includes}) do ...
30.318182
71
0.664168
91caf4f835decd8a10c8a6bfb0c867a2c8b9c67c
248
exs
Elixir
config/prod.exs
ahovgaard/ex_azure_key_vault
17e0cc02d50d1a8c0307912a9d6e201405f06695
[ "MIT" ]
null
null
null
config/prod.exs
ahovgaard/ex_azure_key_vault
17e0cc02d50d1a8c0307912a9d6e201405f06695
[ "MIT" ]
null
null
null
config/prod.exs
ahovgaard/ex_azure_key_vault
17e0cc02d50d1a8c0307912a9d6e201405f06695
[ "MIT" ]
null
null
null
use Mix.Config config :ex_azure_key_vault, azure_client_id: {:system, "AZURE_CLIENT_ID"}, azure_client_secret: {:system, "AZURE_CLIENT_SECRET"}, azure_tenant_id: {:system, "AZURE_TENANT_ID"}, azure_vault_name: {:system, "AZURE_VAULT_NAME"}
35.428571
56
0.766129
91cb10a3ee8532225ab78330ad6ff6c1de9f35c1
138
ex
Elixir
lib/hello/web/controllers/page_controller.ex
untra/hello
ccc7c2a8832faa26134236b5f3fee281d8c2781e
[ "MIT" ]
1
2017-09-12T14:01:17.000Z
2017-09-12T14:01:17.000Z
lib/hello/web/controllers/page_controller.ex
untra/hello
ccc7c2a8832faa26134236b5f3fee281d8c2781e
[ "MIT" ]
null
null
null
lib/hello/web/controllers/page_controller.ex
untra/hello
ccc7c2a8832faa26134236b5f3fee281d8c2781e
[ "MIT" ]
null
null
null
defmodule Hello.Web.PageController do use Hello.Web, :controller def index(conn, _params) do render conn, "index.html" end end
17.25
37
0.724638
91cb1e6af9f939fc897e46a9bd7622928650ffbb
1,634
ex
Elixir
lib/rfx/change/req/filesys.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
lib/rfx/change/req/filesys.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
lib/rfx/change/req/filesys.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
defmodule Rfx.Change.Req.Filesys do @moduledoc """ Change.Req.Filesys struct and support functions. Filesys elements. Change.Req.Filesys struc has three elements: - *cmd* - the filesys command - *src_path* - source path - *tgt_path* - target path (only for move commands...) Cmd can be one of: - ...
22.694444
73
0.648103
91cb2473be5aab6156d93196a5860c46b1fb6e47
2,542
ex
Elixir
lib/credo/cli/output/ui.ex
rarguelloF/credo
7251a7988e8b4c4281faa418228a5170af91145c
[ "MIT" ]
null
null
null
lib/credo/cli/output/ui.ex
rarguelloF/credo
7251a7988e8b4c4281faa418228a5170af91145c
[ "MIT" ]
null
null
null
lib/credo/cli/output/ui.ex
rarguelloF/credo
7251a7988e8b4c4281faa418228a5170af91145c
[ "MIT" ]
null
null
null
defmodule Credo.CLI.Output.UI do @moduledoc """ This module provides functions used to create the UI. >>> alias Credo.CLI.Output.UI >>> UI.puts "This is a test." This is a test. nil >>> alias Credo.CLI.Output.UI >>> UI.warn "This is a warning." This is a warning. ni...
25.168317
95
0.596381
91cb2e15c99591fedee35465f180ec5b27869d9e
618
ex
Elixir
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/replication_update_parameters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/replication_update_parameters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/replication_update_parameters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Containers.Model.ReplicationUpdateParameters do @moduledoc """ The parameters for updating a replication. """ ...
23.769231
103
0.728155
91cb37d2d622360c91792b84300bd5ac43077a15
2,007
ex
Elixir
lib/url_fetcher/http/mock_server.ex
gorkaio/url_fetcher
2c7d6cfa2df32e07628024b2eec49a87ffeb6751
[ "MIT" ]
1
2020-08-14T06:56:44.000Z
2020-08-14T06:56:44.000Z
lib/url_fetcher/http/mock_server.ex
gorkaio/url_fetcher
2c7d6cfa2df32e07628024b2eec49a87ffeb6751
[ "MIT" ]
null
null
null
lib/url_fetcher/http/mock_server.ex
gorkaio/url_fetcher
2c7d6cfa2df32e07628024b2eec49a87ffeb6751
[ "MIT" ]
null
null
null
defmodule UrlFetcher.Http.MockServer do @moduledoc """ Mock server ## Routes - `/test` generates an html response page. Takes two query params: - links: list of link urls to embed in the html response body - assets: list of img urls to embed in the html response body - `/failure` generates a...
21.815217
83
0.601395
91cb584de2d6e6c127a1b78aa48c19fb46429123
26,162
ex
Elixir
clients/tasks/lib/google_api/tasks/v1/api/tasks.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tasks/lib/google_api/tasks/v1/api/tasks.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tasks/lib/google_api/tasks/v1/api/tasks.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.915751
196
0.614823
91cb63fbcda4aa7fd4f6b64eaba15c76920bf7e8
2,249
exs
Elixir
mix.exs
ian-bloom/coophub
e0b969b3ced1dce81350f1455a164cdfd44582fc
[ "MIT" ]
49
2019-12-11T16:40:52.000Z
2022-01-14T12:44:14.000Z
mix.exs
ian-bloom/coophub
e0b969b3ced1dce81350f1455a164cdfd44582fc
[ "MIT" ]
47
2019-12-12T20:03:10.000Z
2021-10-14T14:25:00.000Z
mix.exs
ian-bloom/coophub
e0b969b3ced1dce81350f1455a164cdfd44582fc
[ "MIT" ]
28
2019-12-11T17:15:03.000Z
2021-09-17T09:19:44.000Z
defmodule Coophub.MixProject do use Mix.Project def project do [ app: :coophub, version: File.read!("VERSION"), elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, deps: dep...
26.458824
84
0.588261
91cb6e300903a7eb76d8d2e812ce6d47c023a439
889
exs
Elixir
test/krasukha/http_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
6
2017-01-28T01:11:58.000Z
2021-12-19T22:45:49.000Z
test/krasukha/http_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
test/krasukha/http_test.exs
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
import Krasukha.HTTP defmodule Krasukha.HTTPTest do use ExUnit.Case, async: true test "uri/0 by default" do assert uri() == %URI{authority: "poloniex.com", fragment: nil, host: "poloniex.com", path: nil, port: 443, query: nil, scheme: "https", userinfo: nil} end test "url/2" do assert url("returnLoan...
32.925926
159
0.700787
91cb88a5be3e59dc29209e4c20795a071c63df9a
1,759
exs
Elixir
mix.exs
christianhellsten/elixir-web-app-template
a6fc928e8fa2224189a3a4ffb2859523c6c1afcf
[ "Unlicense" ]
null
null
null
mix.exs
christianhellsten/elixir-web-app-template
a6fc928e8fa2224189a3a4ffb2859523c6c1afcf
[ "Unlicense" ]
null
null
null
mix.exs
christianhellsten/elixir-web-app-template
a6fc928e8fa2224189a3a4ffb2859523c6c1afcf
[ "Unlicense" ]
null
null
null
# # Mix is a build tool that provides tasks for creating, compiling, and testing # Elixir projects, managing its dependencies, and more. # # See https://github.com/hexpm/hex_web/blob/master/mix.exs # defmodule Web.Mixfile do # In order to configure Mix, a developer needs to use Mix.Project in a module # and define ...
26.253731
82
0.593519
91cba0ed8cc04d5279cd3215790c65a4449fb1d9
2,073
exs
Elixir
src/dguweb/mix.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
2
2016-08-09T16:46:52.000Z
2016-08-09T16:46:59.000Z
src/dguweb/mix.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
48
2016-07-14T15:12:41.000Z
2016-09-27T16:19:54.000Z
src/dguweb/mix.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
1
2021-04-10T21:23:44.000Z
2021-04-10T21:23:44.000Z
defmodule DGUWeb.Mixfile do use Mix.Project def project do [app: :dguweb, version: "0.0.1", build_path: "_build", config_path: "config/config.exs", deps_path: "deps", lockfile: "mix.lock", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :ge...
29.614286
90
0.570188
91cbea4a09ec33f5c7f0a2fb8cd8c571a1b83ad3
441
ex
Elixir
lib/credo/cli/sorter.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
lib/credo/cli/sorter.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
lib/credo/cli/sorter.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Credo.CLI.Sorter do def ensure(list, list_start, list_end \\ []) do list |> to_start(list_start) |> to_end(list_end) end def to_start(list, list_start) do list_start = Enum.filter(list_start, &(Enum.member?(list, &1))) list_start ++ (list -- list_start) end def to_end(list, li...
22.05
67
0.648526
91cc05b97b8646d0576143f7facc02d1bc549db1
975
ex
Elixir
lib/mail_slurp_api/model/alias_dto.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/alias_dto.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/alias_dto.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Model.AliasDto do @moduledoc """ Email alias representation """ @derive [Poison.Encoder] defstruct [ :"createdAt", :"e...
22.159091
91
0.608205
91cc0edf1886d6cebdd2238bd3703c0d5aff4bd5
1,117
ex
Elixir
test/support/channel_case.ex
sekunho/didgencoughtoday
43ff6153b3188679c5578224e9c2711621024f95
[ "MIT" ]
1
2020-03-22T12:07:10.000Z
2020-03-22T12:07:10.000Z
test/support/channel_case.ex
unsek/didgencoughtoday
43ff6153b3188679c5578224e9c2711621024f95
[ "MIT" ]
null
null
null
test/support/channel_case.ex
unsek/didgencoughtoday
43ff6153b3188679c5578224e9c2711621024f95
[ "MIT" ]
null
null
null
defmodule DidgencoughtodayWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case in...
27.925
78
0.736795
91cc22e72d2601e98a1f423460baac5faddc7305
1,529
ex
Elixir
lib/absinthe/blueprint/type_reference.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/type_reference.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/type_reference.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
defmodule Absinthe.Blueprint.TypeReference do @moduledoc false alias __MODULE__ @type t :: TypeReference.List.t() | TypeReference.Name.t() | TypeReference.Identifier.t() | TypeReference.NonNull.t() @wrappers [TypeReference.List, TypeReference.NonNull] @doc """ Unw...
22.485294
73
0.665795
91cc295f58eea2ee3c5abc4d1004a411b5564fa7
962
ex
Elixir
test/support/channel_case.ex
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
2
2021-03-09T14:03:26.000Z
2021-05-10T06:02:53.000Z
test/support/channel_case.ex
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
null
null
null
defmodule LiveviewTodosWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case inter...
25.315789
75
0.722453
91cc3f6c8503a5aa992d84e33afc5a32295e56d2
6,112
ex
Elixir
lib/game/config.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/game/config.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/game/config.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Game.Config do @moduledoc """ Hold Config to not query as often """ alias Data.Config alias Data.Repo alias Data.Save alias Data.Stats @color_config %{ color_home_header: "#268bd2", color_home_link: "#268bd2", color_home_link_hover: "#31b5ff", color_home_primary: "#268bd2", ...
21.90681
85
0.623527
91cc6116ba8ebc3f6bed935e19384094bc92d9d9
1,117
ex
Elixir
server/cardinal/test/support/channel_case.ex
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
server/cardinal/test/support/channel_case.ex
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
server/cardinal/test/support/channel_case.ex
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
defmodule CardinalWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts ...
27.243902
70
0.728738
91cc6bea3ed5ff30990ba6fed0a6c9655c526d59
3,452
ex
Elixir
lib/colonel_kurtz/block_types.ex
vigetlabs/colonel_kurtz_ex
ed18e447657191090c9164580948bc8288c49cc7
[ "MIT" ]
1
2020-05-20T18:31:40.000Z
2020-05-20T18:31:40.000Z
lib/colonel_kurtz/block_types.ex
vigetlabs/colonel_kurtz_ex
ed18e447657191090c9164580948bc8288c49cc7
[ "MIT" ]
11
2020-05-06T13:32:43.000Z
2020-05-15T19:18:39.000Z
lib/colonel_kurtz/block_types.ex
vigetlabs/colonel_kurtz_ex
ed18e447657191090c9164580948bc8288c49cc7
[ "MIT" ]
null
null
null
defmodule ColonelKurtz.BlockTypes do @moduledoc """ Provides functions for marshalling data into named BlockType structs. """ alias ColonelKurtz.Block alias ColonelKurtz.BlockType alias ColonelKurtz.Config alias ColonelKurtz.Utils @typep block :: Block.t() @typep block_struct :: BlockType.t() @do...
28.766667
115
0.643685
91cc7774c97fe66c2e3bd113eaf2d8d5debf6498
101
exs
Elixir
.formatter.exs
vesta-merkur/hub
f62b2e68bec2aa502bb642ba57d2c639af119aa6
[ "MIT" ]
15
2017-04-14T19:41:06.000Z
2017-12-09T02:05:22.000Z
.formatter.exs
vesta-merkur/hub
f62b2e68bec2aa502bb642ba57d2c639af119aa6
[ "MIT" ]
3
2017-04-13T22:45:03.000Z
2018-01-31T10:16:50.000Z
.formatter.exs
vesta-merkur/hub
f62b2e68bec2aa502bb642ba57d2c639af119aa6
[ "MIT" ]
1
2017-11-22T23:18:18.000Z
2017-11-22T23:18:18.000Z
[ inputs: ["{mix,.credo,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 119 ]
20.2
77
0.574257
91ccdfc8e49917c6fa6f616f30ce598c3307b8dd
3,335
ex
Elixir
apps/ello_v2/web/views/artist_invite_submission_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_v2/web/views/artist_invite_submission_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_v2/web/views/artist_invite_submission_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.V2.ArtistInviteSubmissionView do use Ello.V2.Web, :view use Ello.V2.JSONAPI alias Ello.V2.{ PostView, CategoryView, UserView, AssetView, } def stale_checks(_, %{data: submissions}) do [etag: etag(submissions)] end def render("index.json", %{data: submissions} = opts) d...
27.791667
96
0.583508
91ccfb2f78ee4af72f97aaa0cee60707b9e3f9e1
1,616
ex
Elixir
apps/ecto_gen_error_reproduce/test/support/data_case.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
apps/ecto_gen_error_reproduce/test/support/data_case.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
apps/ecto_gen_error_reproduce/test/support/data_case.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
defmodule EctoGenErrorReproduce.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so cha...
28.857143
83
0.704827
91cd0205773eb49f35058a89ebaea92ff5c4053c
1,425
exs
Elixir
priv/repo/seeds.exs
nulleof/make-word-bot
bf6ed80975f0d89697cdd5e1019d73c47dd335d4
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
nulleof/make-word-bot
bf6ed80975f0d89697cdd5e1019d73c47dd335d4
[ "MIT" ]
5
2019-02-10T14:22:39.000Z
2019-02-11T16:29:02.000Z
priv/repo/seeds.exs
nulleof/make-word-bot
bf6ed80975f0d89697cdd5e1019d73c47dd335d4
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # MakeWordBot.Repo.insert!(%MakeWordBot.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as t...
26.388889
81
0.655439
91cd022d8fee9f9d54ca5fba11b830ce570c6456
632
exs
Elixir
test/rocketpay/numbers_test.exs
Pedroor/Rocketpay
203772e61f76ebe8a19f548c2a8cfd0850dbf828
[ "RSA-MD" ]
null
null
null
test/rocketpay/numbers_test.exs
Pedroor/Rocketpay
203772e61f76ebe8a19f548c2a8cfd0850dbf828
[ "RSA-MD" ]
null
null
null
test/rocketpay/numbers_test.exs
Pedroor/Rocketpay
203772e61f76ebe8a19f548c2a8cfd0850dbf828
[ "RSA-MD" ]
null
null
null
defmodule Rocketpay.NumbersTest do use ExUnit.Case, async: true alias Rocketpay.Numbers describe "sum_from_file/1" do test "when there is a file with the given name, returns the sum of numbers" do response = Numbers.sum_from_file("numbers") expected_response = {:ok, %{result: 37}} ...
26.333333
83
0.666139
91cd0fbcbeb8175cbeca133b66f30130240f01ca
18,936
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/floodlight_activity_groups.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/floodlight_activity_groups.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/floodlight_activity_groups.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...
44.765957
609
0.625264
91cd3c07f8724697f9b641b65b3e3e092c572176
94
exs
Elixir
test/ot/text/scanner_test.exs
LaudateCorpus1/ot_ex
0e1c9c7c770a3979c71601a451c704ad0c995818
[ "0BSD" ]
43
2017-02-16T05:46:51.000Z
2021-06-05T13:56:31.000Z
test/ot/text/scanner_test.exs
LaudateCorpus1/ot_ex
0e1c9c7c770a3979c71601a451c704ad0c995818
[ "0BSD" ]
42
2019-04-15T20:20:29.000Z
2021-08-02T20:17:47.000Z
test/ot/text/scanner_test.exs
LaudateCorpus1/ot_ex
0e1c9c7c770a3979c71601a451c704ad0c995818
[ "0BSD" ]
7
2017-08-07T07:50:45.000Z
2021-03-16T09:53:21.000Z
defmodule OT.Text.ScannerTest do use ExUnit.Case, async: true doctest OT.Text.Scanner end
18.8
32
0.776596
91cd770a5666e4e2a9bc58ebbcee6082f2e738fd
916
exs
Elixir
apps/artemis_api/config/config.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis_api/config/config.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_api/config/config.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
use Mix.Config config :artemis_api, ecto_repos: [Artemis.Repo], generators: [context_app: :artemis], namespace: ArtemisApi, release_branch: System.cmd("git", ["rev-parse", "--abbrev-ref", "HEAD"]) |> elem(0) |> String.trim(), release_hash: System.cmd("git", ["rev-parse", "--short", "HEAD"]) |> elem(0) |> Str...
32.714286
103
0.703057
91cd825ab0ff6def2905b07a1fe5721ee0eea9b4
2,709
exs
Elixir
config/releases.exs
MartinNielsen/teslamate
826e80d7ab06f0a3a564e16efa706f7349b82a24
[ "MIT" ]
null
null
null
config/releases.exs
MartinNielsen/teslamate
826e80d7ab06f0a3a564e16efa706f7349b82a24
[ "MIT" ]
null
null
null
config/releases.exs
MartinNielsen/teslamate
826e80d7ab06f0a3a564e16efa706f7349b82a24
[ "MIT" ]
null
null
null
import Config defmodule Util do def random_string(length) do :crypto.strong_rand_bytes(length) |> Base.encode64() |> binary_part(0, length) end def validate_namespace!(nil), do: nil def validate_namespace!(""), do: nil def validate_namespace!(ns) when is_binary(ns) do case String.contains?(ns, "/")...
33.036585
93
0.690661
91cde4bfc38329fadb9912c2fb425891a279f591
3,144
ex
Elixir
lib/aws/costand_usage_report.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/costand_usage_report.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/costand_usage_report.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "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.CostandUsageReport do @moduledoc """ The AWS Cost and Usage Report API enables you to programmatically create, query, and delete AWS Cost and Usage report definitions. AWS Cost and Usage ...
32.412371
77
0.663804
91cdf992532cf0658c9e2cca33c4388206b397aa
4,927
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/model/inventory_software_package.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/os_config/lib/google_api/os_config/v1/model/inventory_software_package.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/os_config/lib/google_api/os_config/v1/model/inventory_software_package.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...
67.493151
308
0.758068
91ce21d7709c89fdb1d2c33baf1daec815ea8095
3,344
ex
Elixir
lib/pow/extension/base.ex
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
1
2021-06-25T10:36:01.000Z
2021-06-25T10:36:01.000Z
lib/pow/extension/base.ex
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
null
null
null
lib/pow/extension/base.ex
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
null
null
null
defmodule Pow.Extension.Base do @moduledoc """ Used to set up extensions to enable parts of extension for auto-discovery. This exists to prevent unnecessary `Code.ensure_compiled?/1` calls, and will let the extension define what modules it has. ## Usage defmodule MyCustomExtension do use Pow....
29.857143
154
0.651615
91ce6fe9e6582639277cd624c1e26003568c1206
994
exs
Elixir
config/config.exs
ugiete/Timestamp-Converter
04e0eca0918f7c87047bb0cb7849cf853d747f37
[ "MIT" ]
null
null
null
config/config.exs
ugiete/Timestamp-Converter
04e0eca0918f7c87047bb0cb7849cf853d747f37
[ "MIT" ]
null
null
null
config/config.exs
ugiete/Timestamp-Converter
04e0eca0918f7c87047bb0cb7849cf853d747f37
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :timestamp, Tim...
34.275862
87
0.775654
91ce84d82bf0ab77a401b8f3920955c1002748f6
1,490
ex
Elixir
lib/madari_web/live/reboot_live.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
lib/madari_web/live/reboot_live.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
lib/madari_web/live/reboot_live.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
defmodule MadariWeb.RebootLive do use Phoenix.LiveView alias Phoenix.LiveView.JS alias Madari.Api.Reboot alias Madari.Api.Bootenv alias Madari.Api.Command def mount(_params, _session, socket) do if connected?(socket), do: Process.send_after(self(), :uptime, 10000) {:ok, socket |> assign(%{ co...
26.607143
87
0.646309
91ce8b9313a84c31de8608bd98865033bd9711c2
66
exs
Elixir
test/ex_mod_exp_test.exs
masonforest/ex_mod_exp
7e78386cf9ac5996b527312d01a8bc98efbc3d94
[ "Unlicense" ]
null
null
null
test/ex_mod_exp_test.exs
masonforest/ex_mod_exp
7e78386cf9ac5996b527312d01a8bc98efbc3d94
[ "Unlicense" ]
null
null
null
test/ex_mod_exp_test.exs
masonforest/ex_mod_exp
7e78386cf9ac5996b527312d01a8bc98efbc3d94
[ "Unlicense" ]
null
null
null
defmodule OpenSSLTest do use ExUnit.Case doctest OpenSSL end
11
24
0.787879
91cea0ae1c36130414e2180940a2ee3b24121859
1,158
exs
Elixir
apps/ut_monitor_lib/config/config.exs
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
1
2017-02-10T17:41:02.000Z
2017-02-10T17:41:02.000Z
apps/ut_monitor_lib/config/config.exs
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
null
null
null
apps/ut_monitor_lib/config/config.exs
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.1875
73
0.755613
91cebb10698f0c6f341c1beac696b9ee2f56ee52
876
exs
Elixir
apps/robby_web/test/controllers/profile_controller_test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
3
2021-04-16T21:54:55.000Z
2021-04-30T22:15:41.000Z
apps/robby_web/test/controllers/profile_controller_test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
1
2021-06-29T15:54:19.000Z
2021-06-29T15:54:19.000Z
apps/robby_web/test/controllers/profile_controller_test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
2
2021-04-16T22:23:16.000Z
2021-05-26T15:52:55.000Z
defmodule RobbyWeb.ProfileControllerTest do use RobbyWeb.ConnCase alias RobbyWeb.User setup do {:ok, conn: build_conn()} end test "should not render profile page if not logged in", %{conn: conn} do conn = get(conn, profile_path(conn, :show, 1)) assert html_response(conn, 302) =~ "redirected" ...
27.375
78
0.631279