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
7465763acb6bed070e1b7ddd9afb0a91a24dd5f4
543
ex
Elixir
lib/buffer.ex
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
null
null
null
lib/buffer.ex
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
null
null
null
lib/buffer.ex
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
null
null
null
defmodule Temple.Buffer do @moduledoc false use Agent def start_link(state \\ []) do Agent.start_link(fn -> state end) end def put(buffer, value) do Agent.update(buffer, fn b -> [value | b] end) end def remove_new_line(buffer) do Agent.update(buffer, fn ["\n" | rest] -> rest ...
15.083333
49
0.569061
74658f34951cb95e9134e5fefe338f32ef56ff7f
992
ex
Elixir
lib/yggdrasil/transformer.ex
jsangilve/yggdrasil
a2ee905e877b6a9d918d8858153a01aadf2d5d63
[ "MIT" ]
null
null
null
lib/yggdrasil/transformer.ex
jsangilve/yggdrasil
a2ee905e877b6a9d918d8858153a01aadf2d5d63
[ "MIT" ]
null
null
null
lib/yggdrasil/transformer.ex
jsangilve/yggdrasil
a2ee905e877b6a9d918d8858153a01aadf2d5d63
[ "MIT" ]
null
null
null
defmodule Yggdrasil.Transformer do @moduledoc """ Transformer behaviour. Defines how to decode and encode messages from a `Yggdrasil.Channel`. """ alias Yggdrasil.Channel @doc """ Callback to define how to decode the messages coming from a distributor adapter. """ @callback decode(Channel.t(), term...
22.044444
75
0.647177
74659837246f3c493b4ef00a0bf8ef11ae78f299
1,444
ex
Elixir
lib/elixir/lib/list/chars.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/lib/list/chars.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/list/chars.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defprotocol List.Chars do @moduledoc ~S""" The `List.Chars` protocol is responsible for converting a structure to a charlist (only if applicable). The only function required to be implemented is `to_charlist/1` which does the conversion. The `to_charlist/1` function automatically imported by `Kernel` in...
22.920635
65
0.703601
74659a4386e26db7bd29f2126bc4e9a1bfdaf0e0
725
ex
Elixir
apps/theta/lib/theta/cms/article_tag.ex
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
null
null
null
apps/theta/lib/theta/cms/article_tag.ex
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
11
2020-07-21T09:34:54.000Z
2021-08-29T07:38:02.000Z
apps/theta/lib/theta/cms/article_tag.ex
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
null
null
null
defmodule Theta.CMS.ArticleTag do use Ecto.Schema import Ecto.Changeset alias Theta.CMS.{Article, Term} @already_exists "ALREADY_EXISTS" @primary_key false schema "article_tag" do belongs_to(:article, Article, primary_key: true) belongs_to(:term, Term, primary_key: true, type: :string) end @...
25.892857
61
0.714483
74659c8abb076b169d50a8302a9f7e1fdf88fab3
1,119
exs
Elixir
clients/sheets/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/sheets/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/sheets/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Sheets.V4.Mixfile do use Mix.Project @version "0.5.0" def project do [app: :google_api_sheets, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps...
22.836735
106
0.581769
7466184093b28ac5042c020f387f299ecd7ff610
2,569
ex
Elixir
lib/yggdrasil/adapter/bridge/subscriber.ex
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
96
2016-02-11T22:23:30.000Z
2022-03-20T01:57:45.000Z
lib/yggdrasil/adapter/bridge/subscriber.ex
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
8
2016-08-09T13:37:15.000Z
2021-07-19T05:55:21.000Z
lib/yggdrasil/adapter/bridge/subscriber.ex
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
5
2017-10-26T12:11:29.000Z
2021-07-26T10:23:13.000Z
defmodule Yggdrasil.Adapter.Bridge.Subscriber do @moduledoc """ This module defines a bridge remote subscriber. """ use GenServer require Logger alias Yggdrasil.Channel @doc false defstruct [:target, :pid, :channel] alias __MODULE__, as: State @doc """ Starts a bridge remote subscriber. """ ...
26.214286
78
0.634488
746640cbc11617e23d716c30e12e0518bacba4ce
663
exs
Elixir
test/web/views/error_view_test.exs
djdduty/sunshines_battleacademy
bcc085a3a6a519fc1591d00a39783523644f87a0
[ "Apache-2.0" ]
null
null
null
test/web/views/error_view_test.exs
djdduty/sunshines_battleacademy
bcc085a3a6a519fc1591d00a39783523644f87a0
[ "Apache-2.0" ]
null
null
null
test/web/views/error_view_test.exs
djdduty/sunshines_battleacademy
bcc085a3a6a519fc1591d00a39783523644f87a0
[ "Apache-2.0" ]
null
null
null
defmodule SunshinesBattleacademy.Web.ErrorViewTest do use SunshinesBattleacademy.Web.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(SunshinesBattleacademy.Web.ErrorView, "404.html", []) == ...
30.136364
84
0.714932
74666de95d1d3d171f6a05d8f2cc865930a20513
180
exs
Elixir
test/controllers/page_controller_test.exs
CristianOliveiraDaRosa/doitbetter
8ce9f1b558a966d199df369a84d2c66cee58b8d7
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
CristianOliveiraDaRosa/doitbetter
8ce9f1b558a966d199df369a84d2c66cee58b8d7
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
CristianOliveiraDaRosa/doitbetter
8ce9f1b558a966d199df369a84d2c66cee58b8d7
[ "MIT" ]
null
null
null
defmodule DibSite.PageControllerTest do use DibSite.ConnCase test "GET /" do conn = get conn(), "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
20
60
0.677778
746682203e8f8208b0a9837ac1217b682c505262
1,396
ex
Elixir
test/support/data_case.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
4
2019-02-11T12:15:36.000Z
2021-03-22T16:23:47.000Z
test/support/data_case.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
test/support/data_case.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
defmodule EmpexCookbook.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, it cannot be async. For this reason, ever...
25.851852
75
0.686963
74669a3abb24f3f3f0390212933d592b9e5cabbf
8,478
ex
Elixir
doc/examples/libyaml/exclude.ex
fccm/ocaml-mkstub
3b96b4c254188bfda70c19d25a747026209e2375
[ "MIT" ]
null
null
null
doc/examples/libyaml/exclude.ex
fccm/ocaml-mkstub
3b96b4c254188bfda70c19d25a747026209e2375
[ "MIT" ]
null
null
null
doc/examples/libyaml/exclude.ex
fccm/ocaml-mkstub
3b96b4c254188bfda70c19d25a747026209e2375
[ "MIT" ]
null
null
null
rindex rindex pvalloc __nan read dremf dreml gethostid alarm __atanf link tmpfile drand48 __acos vprintf remove wctomb lgammal_r fmaxf strtold_l fmaxl __fminl malloc_get_state iconv sigrelse realpath nan __log1pf __log1pl bzero raise y0 y1 __lgamma_r __nexttowardf __nexttowardl execl execv fseeko64 __cosh __cosl llrint...
8.37747
23
0.88075
7466c2e1ddbb8461a2da25ab4e7c02450b471ff8
840
ex
Elixir
server/test/support/conn_case.ex
Spectory/SpectoPusher
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
null
null
null
server/test/support/conn_case.ex
Spectory/SpectoPusher
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
3
2017-07-08T20:12:49.000Z
2017-11-03T11:51:02.000Z
server/test/support/conn_case.ex
Spectory/coyote
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
1
2017-06-16T18:29:44.000Z
2017-06-16T18:29:44.000Z
defmodule CoyoteWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build and query models. Finally, if the test case interacts with the d...
24.705882
56
0.72381
7466cabd7c4ca7068b19e5998ed65ff591f25793
2,259
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/log_entry_source_location.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_control/lib/google_api/service_control/v1/model/log_entry_source_location.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_control/lib/google_api/service_control/v1/model/log_entry_source_location.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.622642
428
0.727756
7466d9ee4cdbe0a8848b924d5221b472363e8f8b
2,109
exs
Elixir
test/mux/trace_test.exs
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
2
2017-07-26T07:28:33.000Z
2017-08-08T16:26:05.000Z
test/mux/trace_test.exs
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
null
null
null
test/mux/trace_test.exs
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
1
2021-03-13T23:02:29.000Z
2021-03-13T23:02:29.000Z
defmodule Mux.TraceTest do use ExUnit.Case, async: true use Bitwise test "span with flags starts a root trace" do Mux.Trace.span([:debug], fn -> trace = Mux.Context.fetch!(Mux.Trace) assert %Mux.Trace{parent_id: span_id, span_id: span_id} = trace assert (trace.trace_id &&& 0xFFFF_FFFF_FFFF_...
37
102
0.637743
7466f345b7b762d1fe06c14df521cf7e7035783c
520
ex
Elixir
lib/mix/tasks/phoenix/routes.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
lib/mix/tasks/phoenix/routes.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
lib/mix/tasks/phoenix/routes.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phoenix.Routes do use Mix.Task alias Phoenix.Router.ConsoleFormatter @shortdoc "Prints routes" @recursive true @doc """ Prints routes """ def run([]) do router = ConsoleFormatter.default_router print_routes(router) end @doc """ Prints routes for specified router "...
17.333333
50
0.688462
74671a74de88e47672a32d70b9565bfcf72b2cbe
823
ex
Elixir
rock/external/libmali/debian/watch.ex
NovasomIndustries/Utils-2019.01
ab6d48edc03363f3ee4f1e9efc5269fdecfe35a8
[ "MIT" ]
2
2019-04-20T14:21:56.000Z
2019-06-14T07:17:22.000Z
rock/external/libmali/debian/watch.ex
NovasomIndustries/Utils-2019.07
4a41062e0f50c1f97cb37df91457672ce386516d
[ "MIT" ]
null
null
null
rock/external/libmali/debian/watch.ex
NovasomIndustries/Utils-2019.07
4a41062e0f50c1f97cb37df91457672ce386516d
[ "MIT" ]
1
2021-07-11T14:36:00.000Z
2021-07-11T14:36:00.000Z
# Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # <Webpage URL> <string match> #http://www.example.co...
34.291667
70
0.727825
7467287d22bbc9e966827c792ea9921e97b14e78
10,224
ex
Elixir
lib/web/controllers/webhook_controller.ex
dicarlo2/bors-ng
0b7d6e1ccf9d5fdbce73b690da8a4f76fffc38eb
[ "Apache-2.0" ]
null
null
null
lib/web/controllers/webhook_controller.ex
dicarlo2/bors-ng
0b7d6e1ccf9d5fdbce73b690da8a4f76fffc38eb
[ "Apache-2.0" ]
null
null
null
lib/web/controllers/webhook_controller.ex
dicarlo2/bors-ng
0b7d6e1ccf9d5fdbce73b690da8a4f76fffc38eb
[ "Apache-2.0" ]
null
null
null
defmodule BorsNG.WebhookController do @moduledoc """ The webhook controller responds to HTTP requests that are initiated from other services (currently, just GitHub). For example, I can run `iex -S mix phoenix.server` and do this: iex> # Push state to "GitHub" iex> alias BorsNG.GitHub iex> a...
32.980645
88
0.610035
7467415d118a243f563429257f18dceb7260ee99
6,263
ex
Elixir
lib/sanbase/clickhouse/historical_balance/historical_balance.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase/clickhouse/historical_balance/historical_balance.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase/clickhouse/historical_balance/historical_balance.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Clickhouse.HistoricalBalance do @moduledoc ~s""" Module providing functions for historical balances and balance changes. This module dispatches to underlaying modules and serves as common interface for many different database tables and schemas. """ use AsyncWith @async_with_timeout 29_...
38.189024
100
0.657991
7467a59e7d8ebb4097ce3c02ec6443e0cc47482c
1,778
exs
Elixir
priv/repo/migrations/20190408081738_migrate_old_triggers_settings_fields.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20190408081738_migrate_old_triggers_settings_fields.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20190408081738_migrate_old_triggers_settings_fields.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.MigrateOldTriggersSettingsFields do use Ecto.Migration import Ecto.Query import Sanbase.Alert.TriggerQuery alias Sanbase.Alert.UserTrigger alias Sanbase.Alert.Trigger.{ PricePercentChangeSettings, PriceAbsoluteChangeSettings } alias Sanbase.Repo def up do ...
23.706667
81
0.650169
7467a7666b74858c4548903f31e81743a64c4952
1,155
exs
Elixir
test/ex_rss_web/plugs/authentication_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
4
2020-02-16T07:18:35.000Z
2021-12-09T14:43:10.000Z
test/ex_rss_web/plugs/authentication_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
27
2019-10-16T18:35:19.000Z
2022-03-13T16:39:57.000Z
test/ex_rss_web/plugs/authentication_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
null
null
null
defmodule ExRssWeb.AuthenticationTest do use ExUnit.Case, async: true use Plug.Test alias ExRssWeb.Plug.Authentication alias ExRss.Repo alias ExRss.User @session Plug.Session.init( store: :cookie, key: "_app", encryption_salt: "yadayada", signing_salt: "...
21.388889
60
0.606926
7467af5ca9ae69b1b2427881b3477dab5c6ad67b
100
ex
Elixir
lib/msir/repo.ex
atilla777/msir
602df87890c2d49b4a19ce490f271b503484b618
[ "BSD-2-Clause" ]
null
null
null
lib/msir/repo.ex
atilla777/msir
602df87890c2d49b4a19ce490f271b503484b618
[ "BSD-2-Clause" ]
null
null
null
lib/msir/repo.ex
atilla777/msir
602df87890c2d49b4a19ce490f271b503484b618
[ "BSD-2-Clause" ]
null
null
null
defmodule Msir.Repo do use Ecto.Repo, otp_app: :msir, adapter: Ecto.Adapters.Postgres end
16.666667
35
0.71
7467cab2783b78ef3672adb8f52fa7a3beda6a57
9,623
ex
Elixir
lib/cldr/messages/parser/combinators.ex
maennchen/cldr_messages
eef6d643e705ba3ecd8b6bb6ce56377c0e036f7f
[ "Apache-2.0" ]
null
null
null
lib/cldr/messages/parser/combinators.ex
maennchen/cldr_messages
eef6d643e705ba3ecd8b6bb6ce56377c0e036f7f
[ "Apache-2.0" ]
null
null
null
lib/cldr/messages/parser/combinators.ex
maennchen/cldr_messages
eef6d643e705ba3ecd8b6bb6ce56377c0e036f7f
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Message.Parser.Combinator do @moduledoc false import NimbleParsec def message do optional(message_text()) |> repeat(argument() |> concat(message_text())) |> label("a CLDR message") end def message_text do literal() |> repeat() end def plural_message do optional(p...
23.076739
126
0.589629
7467f307bf0e10406cbaaba41e9255d570bc35d2
2,524
exs
Elixir
test/acceptance/ast/block_ial_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/block_ial_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/block_ial_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Ast.BlockIalTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 1, parse_html: 1] describe "IAL" do test "Not associated" do markdown = "{:hello=world}" html = "<p>{:hello=world}</p>\n" ast = parse_html(html) messages = [] ...
30.409639
97
0.573693
7467f7b6c33f80b449a35bdeb8e4d730e8e0380e
17,945
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/api/chromeosdevices.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/api/chromeosdevices.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/api/chromeosdevices.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.124413
187
0.621789
74680dfc0eb1161d42ee08524d54227ad74e5afc
132
exs
Elixir
2020/day23/test/day23_test.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
2020/day23/test/day23_test.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
2020/day23/test/day23_test.exs
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
defmodule Day23Test do use ExUnit.Case doctest Day23 test "greets the world" do assert Day23.hello() == :world end end
14.666667
34
0.69697
74682359f52ddb122cefe909d872fb16c1e161bf
17,496
ex
Elixir
lib/prom_ex/plugins/oban.ex
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
1
2022-02-20T10:42:44.000Z
2022-02-20T10:42:44.000Z
lib/prom_ex/plugins/oban.ex
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
null
null
null
lib/prom_ex/plugins/oban.ex
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Oban) do defmodule PromEx.Plugins.Oban do @moduledoc """ This plugin captures metrics emitted by Oban. Specifically, it captures metrics from job events, producer events, and also from internal polling jobs to monitor queue sizes This plugin supports the following options: ...
33.646154
133
0.596822
74682396492181dfc4296878fb9cbf7238fed3e3
1,112
exs
Elixir
mix.exs
KosyanMedia/ueberauth_yandex
44e69921f0bee417d9a95d2baa193e73f5dedf34
[ "MIT" ]
7
2018-12-26T21:42:28.000Z
2019-04-25T16:53:34.000Z
mix.exs
KosyanMedia/ueberauth_yandex
44e69921f0bee417d9a95d2baa193e73f5dedf34
[ "MIT" ]
null
null
null
mix.exs
KosyanMedia/ueberauth_yandex
44e69921f0bee417d9a95d2baa193e73f5dedf34
[ "MIT" ]
2
2018-12-27T10:12:54.000Z
2019-01-23T08:16:39.000Z
defmodule UeberauthYandex.Mixfile do use Mix.Project @version "0.1.0" @url "https://github.com/romul/ueberauth_yandex" def project do [app: :ueberauth_yandex, version: @version, name: "Ueberauth Yandex Strategy", package: package(), elixir: "~> 1.3", build_embedded: Mix.env == :pr...
21.384615
55
0.573741
74683cb97cbb045e616354afdce4a535efbf8ba3
749
ex
Elixir
lib/protobuf/message_props.ex
hayesgm/protobuf-ex
9ca03063de265a9690f341fcda77055613f4ff17
[ "MIT" ]
null
null
null
lib/protobuf/message_props.ex
hayesgm/protobuf-ex
9ca03063de265a9690f341fcda77055613f4ff17
[ "MIT" ]
null
null
null
lib/protobuf/message_props.ex
hayesgm/protobuf-ex
9ca03063de265a9690f341fcda77055613f4ff17
[ "MIT" ]
null
null
null
defmodule Protobuf.MessageProps do alias Protobuf.FieldProps @type t :: %__MODULE__{ ordered_tags: [integer], tags_map: %{integer => integer}, field_props: %{integer => FieldProps.T}, field_tags: %{atom => integer}, field_tags_str: %{String.t => integer}, repeated_fields: [atom], syntax:...
20.805556
44
0.599466
74685c4e86280c82a45d13a7ea79a5d6ef0b9a63
2,136
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__detected_attribute.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__detected_attribute.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__detected_attribute.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...
34.451613
129
0.724719
7468712c4bb6f5efc3a6c1ec9acb4c6513e43171
3,325
ex
Elixir
lib/oban/plugins/pruner.ex
sushant12/oban
158cc6f05699fe7c67a0502c12cb8a01ed4d33ca
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/pruner.ex
sushant12/oban
158cc6f05699fe7c67a0502c12cb8a01ed4d33ca
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/pruner.ex
sushant12/oban
158cc6f05699fe7c67a0502c12cb8a01ed4d33ca
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Plugins.Pruner do @moduledoc """ Periodically delete completed, cancelled and discarded jobs based on age. ## Using the Plugin The following example demonstrates using the plugin without any configuration, which will prune jobs older than the default of 60 seconds: config :my_app, Oban...
24.62963
102
0.630677
746881c2828f4b87f36f9265864c46ba8bb53f9d
1,530
ex
Elixir
clients/service_management/lib/google_api/service_management/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/service_management/lib/google_api/service_management/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/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.428571
77
0.739869
746896d0601162d02c30d6c5cd61f8001b259daf
1,160
exs
Elixir
test/serialization/module_name_type_provider_test.exs
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
test/serialization/module_name_type_provider_test.exs
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
test/serialization/module_name_type_provider_test.exs
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.Serialization.ModuleNameTypeProviderTest do use ExUnit.Case alias Commanded.Serialization.ModuleNameTypeProvider alias Commanded.ExampleDomain.BankAccount.Events.BankAccountOpened @account_opened_type "Elixir.Commanded.ExampleDomain.BankAccount.Events.BankAccountOpened" test "should con...
33.142857
92
0.787069
7468a35f515a3d3e085bcde6b60e018e26175529
2,011
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_group_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/instance_group_list_warning_data.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_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.22
527
0.73993
74692eb1bd5196d5339023fd49cbbe094f217507
10,114
ex
Elixir
apps/omg_eth/lib/eth.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_eth/lib/eth.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/lib/eth.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
32.416667
136
0.672731
7469532995bf2ef521c1e13e04f9bb48394148de
1,675
exs
Elixir
config/config.exs
jyoder/phoenix-blog
7f3936627920d1b2177b7b3fc7e050d7cfa1f1dc
[ "Unlicense" ]
null
null
null
config/config.exs
jyoder/phoenix-blog
7f3936627920d1b2177b7b3fc7e050d7cfa1f1dc
[ "Unlicense" ]
null
null
null
config/config.exs
jyoder/phoenix-blog
7f3936627920d1b2177b7b3fc7e050d7cfa1f1dc
[ "Unlicense" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :blog, ecto_repos: [Blog.Repo] # Configures...
31.603774
117
0.728358
7469b1434d71c741a5ce50096002770ddaab96d9
322
ex
Elixir
lib/minimal_server/router.ex
vheathen/elixir-http-json-api-mod
1a9655d4d6ef2b6c7d7116ecc144b2f0fd3e2998
[ "MIT" ]
1
2019-10-30T09:04:09.000Z
2019-10-30T09:04:09.000Z
lib/minimal_server/router.ex
vheathen/elixir-http-json-api-mod
1a9655d4d6ef2b6c7d7116ecc144b2f0fd3e2998
[ "MIT" ]
null
null
null
lib/minimal_server/router.ex
vheathen/elixir-http-json-api-mod
1a9655d4d6ef2b6c7d7116ecc144b2f0fd3e2998
[ "MIT" ]
4
2019-03-21T08:40:22.000Z
2019-10-30T09:04:25.000Z
defmodule MinimalServer.Router do use Plug.Router plug(:match) plug(:dispatch) get "/" do conn |> put_resp_content_type("application/json") |> send_resp(200, Poison.encode!(message())) end defp message do %{ response_type: "in_channel", text: "Hello from BOT :)" } end en...
16.1
48
0.624224
746a01a844c52da5c7f191377e4f02399eb6cde0
702
exs
Elixir
test/cog/chat/hipchat/templates/embedded/help_bundles_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/hipchat/templates/embedded/help_bundles_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/hipchat/templates/embedded/help_bundles_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.HipChat.Templates.Embedded.HelpBundlesTest do use Cog.TemplateCase test "help-bundles template" do data = %{"results" => [%{"enabled" => [%{"name" => "operable"}], "disabled" => [%{"name" => "test-bundle"}]}]} expected = "<strong>Enabled Bundles</strong><br/...
41.294118
123
0.598291
746a07c7fa6e12dd81e485d154ee7194defdcaad
1,225
ex
Elixir
lib/tokenbalance_web/views/error_helpers.ex
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
lib/tokenbalance_web/views/error_helpers.ex
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
lib/tokenbalance_web/views/error_helpers.ex
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
defmodule TokenbalanceWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a static...
36.029412
81
0.675102
746a130be28e967a8af825d3dd036f858106ce77
1,247
exs
Elixir
bench/witchcraft/setoid/tuple_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
454
2019-06-05T22:56:45.000Z
2022-03-27T23:03:02.000Z
bench/witchcraft/setoid/tuple_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
26
2019-07-08T09:29:08.000Z
2022-02-04T02:40:48.000Z
bench/witchcraft/setoid/tuple_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
36
2019-06-25T17:45:27.000Z
2022-03-21T01:53:42.000Z
defmodule Witchcraft.Setoid.TupleBench do use Benchfella use Witchcraft.Setoid ######### # Setup # ######### # ---------- # # Data Types # # ---------- # @tuple_a 11..100 |> Enum.to_list() |> Enum.shuffle() |> List.to_tuple() @tuple_b 99..999 |> Enum.to_list() |> Enum.shuffle() |> List.to_tuple()...
24.94
81
0.530072
746a14268f5408fd9c5ba79c227553ad5901aaf8
237
exs
Elixir
priv/accounts/migrations/20170807142802_add_reads_table.exs
minijackson/banquet
d6f9d7ddbc4788ce2fd3fa084f38aee69f8f7413
[ "MIT" ]
null
null
null
priv/accounts/migrations/20170807142802_add_reads_table.exs
minijackson/banquet
d6f9d7ddbc4788ce2fd3fa084f38aee69f8f7413
[ "MIT" ]
null
null
null
priv/accounts/migrations/20170807142802_add_reads_table.exs
minijackson/banquet
d6f9d7ddbc4788ce2fd3fa084f38aee69f8f7413
[ "MIT" ]
null
null
null
defmodule Banquet.Repos.Accounts.Migrations.AddReadsTable do use Ecto.Migration def change do create table(:reads, engine: :bag) do add :user, :string add :feed, :string add :article, :string end end end
19.75
60
0.670886
746a464c75b74dcd062560806b64ee55703bf43b
167,556
ex
Elixir
lib/elixir/lib/kernel.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
1
2021-11-25T01:48:47.000Z
2021-11-25T01:48:47.000Z
lib/elixir/lib/kernel.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
1
2021-11-08T10:21:27.000Z
2021-11-08T10:21:27.000Z
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
27.073194
116
0.633191
746a53a6c07210d6fe2c4cd57c8d0f6d6bb93ab8
1,698
exs
Elixir
config/config.exs
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
config/config.exs
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
config/config.exs
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :erlixir, ecto_repos: [Erlixir.Repo] # Conf...
32.037736
117
0.732627
746a6683ff8cdc56a755504ef2093369f4a50cdc
1,734
exs
Elixir
test/ext_config_provider/client/aws_parameter_store_test.exs
maartenvanvliet/ext_config_provider
16078cdd251739dd0c8840e1d668c6f42a6bb7d0
[ "MIT" ]
3
2020-01-19T02:48:07.000Z
2020-07-13T11:04:54.000Z
test/ext_config_provider/client/aws_parameter_store_test.exs
maartenvanvliet/ext_config_provider
16078cdd251739dd0c8840e1d668c6f42a6bb7d0
[ "MIT" ]
46
2020-05-20T05:25:00.000Z
2022-03-24T04:03:14.000Z
test/ext_config_provider/client/aws_parameter_store_test.exs
maartenvanvliet/ext_config_provider
16078cdd251739dd0c8840e1d668c6f42a6bb7d0
[ "MIT" ]
null
null
null
defmodule ExtConfigProvider.Client.AwsParameterStoreTest do use ExUnit.Case alias ExtConfigProvider.Client.AwsParameterStore defmodule MockExAws do @error {:http_error, 400, %{ body: "{\"__type\":\"ParameterNotFound\"}", headers: [ {"x-amzn-RequestId",...
29.389831
90
0.565744
746a81abd04a36b6633c72175a5a98972e638f11
1,014
exs
Elixir
mix.exs
codec-abc/gleam-mix-rustler
002d51ea4e0e67349493af5d23442214eb28f9e9
[ "Apache-2.0" ]
1
2021-12-14T09:47:01.000Z
2021-12-14T09:47:01.000Z
mix.exs
codec-abc/gleam-mix-rustler
002d51ea4e0e67349493af5d23442214eb28f9e9
[ "Apache-2.0" ]
null
null
null
mix.exs
codec-abc/gleam-mix-rustler
002d51ea4e0e67349493af5d23442214eb28f9e9
[ "Apache-2.0" ]
null
null
null
defmodule ElixirWithGleam.MixProject do use Mix.Project def project do [ app: :elixir_with_gleam, version: "0.1.0", elixir: "~> 1.10", erlc_paths: ["src", "gen"], compilers: [:gleam] ++ [:rustler] ++ Mix.compilers(), rustler_crates: rustler_crates(), start_permanent: M...
22.533333
87
0.571992
746abe39e3f3878ac4a450b2100853929947f706
69
ex
Elixir
lib/ohio_elixir_web/views/layout_view.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
7
2021-01-22T00:20:04.000Z
2022-03-30T22:07:32.000Z
lib/ohio_elixir_web/views/layout_view.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
11
2021-10-05T03:59:28.000Z
2022-03-20T21:54:44.000Z
lib/ohio_elixir_web/views/layout_view.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
3
2021-06-10T02:48:54.000Z
2021-10-09T03:43:06.000Z
defmodule OhioElixirWeb.LayoutView do use OhioElixirWeb, :view end
17.25
37
0.826087
746ac31061556cb7307bf5543841e12d0b63fc4c
438
ex
Elixir
lib/postoffice_web/controllers/index_controller.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
null
null
null
lib/postoffice_web/controllers/index_controller.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
null
null
null
lib/postoffice_web/controllers/index_controller.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
null
null
null
defmodule PostofficeWeb.IndexController do use PostofficeWeb, :controller def index(conn, _params) do render(conn, "index.html", topics: Postoffice.count_topics(), messages_received: Postoffice.count_received_messages(), messages_published: Postoffice.count_published_messages(), publish...
31.285714
66
0.755708
746ada7ac85c8ff9f4f5c2036df6faebc43262d2
114
exs
Elixir
apps/ers_server/config/config.exs
Kernael/elixir-reverse-shell
7101770dbaa92a2aff70e785fda650165585ef75
[ "MIT" ]
1
2022-01-04T16:32:56.000Z
2022-01-04T16:32:56.000Z
apps/ers_server/config/config.exs
Kernael/elixir-reverse-shell
7101770dbaa92a2aff70e785fda650165585ef75
[ "MIT" ]
null
null
null
apps/ers_server/config/config.exs
Kernael/elixir-reverse-shell
7101770dbaa92a2aff70e785fda650165585ef75
[ "MIT" ]
null
null
null
use Mix.Config config :ers_server, port: 8080, prompt: "\n$> ", end_of_input: "--OVER--", timeout: "--TIMEOUT--"
16.285714
31
0.640351
746b02a53f86125d1ad1e106150fcbb767a685f6
1,324
ex
Elixir
lib/thousand_island/server_config.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
139
2019-11-29T02:11:40.000Z
2022-03-24T00:17:52.000Z
lib/thousand_island/server_config.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
11
2020-01-23T15:43:58.000Z
2022-02-15T10:16:37.000Z
lib/thousand_island/server_config.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
8
2021-10-09T16:36:35.000Z
2022-01-31T20:39:10.000Z
defmodule ThousandIsland.ServerConfig do @moduledoc false @typedoc "A set of configuration parameters for a ThousandIsland server instance" @type t :: %__MODULE__{ port: :inet.port_number(), transport_module: module(), transport_opts: keyword(), handler_module: module(), ...
29.422222
92
0.632931
746b24339f1df553fc7c18d13cf319d632903d37
1,345
ex
Elixir
lib/example_web/endpoint.ex
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
1
2020-12-18T17:23:31.000Z
2020-12-18T17:23:31.000Z
lib/example_web/endpoint.ex
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
2
2021-03-09T19:08:53.000Z
2021-05-10T16:15:19.000Z
lib/example_web/endpoint.ex
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
1
2020-10-10T08:15:58.000Z
2020-10-10T08:15:58.000Z
defmodule ExampleWeb.Endpoint do use Phoenix.Endpoint, otp_app: :example socket "/live", Phoenix.LiveView.Socket socket "/socket", ExampleWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are runni...
27.44898
69
0.710037
746b265d1c4f52cc5d7933e127702a1245bc6a0f
568
exs
Elixir
test/lib/facebook_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
test/lib/facebook_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
test/lib/facebook_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
defmodule Betazoids.FacebookTest do use Pavlov.Case, async: true import Pavlov.Syntax.Expect describe "#generate_long_token_url" do let :path do Betazoids.Facebook.generate_long_token_path("hello") end it "generates with a proper client id & secret" do expect Betazoids.Facebook.generate_...
29.894737
65
0.71831
746b45d424fbe82f32d924f2dd5ec38f850c5a84
2,195
ex
Elixir
clients/partners/lib/google_api/partners/v2/model/analytics.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/partners/lib/google_api/partners/v2/model/analytics.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/partners/lib/google_api/partners/v2/model/analytics.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...
39.196429
165
0.748519
746b782bc15b8bf9d627389fbbec982d7e2bbda4
2,394
ex
Elixir
lib/cards.ex
alissonfpmorais/cards
c867d806d87bed94152794c4f472092e0472a070
[ "MIT" ]
null
null
null
lib/cards.ex
alissonfpmorais/cards
c867d806d87bed94152794c4f472092e0472a070
[ "MIT" ]
null
null
null
lib/cards.ex
alissonfpmorais/cards
c867d806d87bed94152794c4f472092e0472a070
[ "MIT" ]
null
null
null
defmodule Cards do @moduledoc """ Provides methods for creating and handling a deck of cards """ @doc """ Returns a list of strings representing a deck of cards """ def create_deck do values = ["Ace", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Jack", "Queen", "...
23.94
76
0.602757
746b8653b73297a3843a7e7dbcecc6e2e98ca78f
4,370
ex
Elixir
lib/bamboo/adapters/mandrill_adapter.ex
speeddragon/bamboo
b7bc9df132c7710ac3344be677b22a156e4eecd3
[ "MIT" ]
null
null
null
lib/bamboo/adapters/mandrill_adapter.ex
speeddragon/bamboo
b7bc9df132c7710ac3344be677b22a156e4eecd3
[ "MIT" ]
null
null
null
lib/bamboo/adapters/mandrill_adapter.ex
speeddragon/bamboo
b7bc9df132c7710ac3344be677b22a156e4eecd3
[ "MIT" ]
null
null
null
defmodule Bamboo.MandrillAdapter do @moduledoc """ Sends email using Mandrill's JSON API. Use this adapter to send emails through Mandrill's API. Requires that an API key is set in the config. See `Bamboo.MandrillHelper` for extra functions that can be used by `Bamboo.MandrillAdapter` (tagging, merge vars, e...
27.834395
99
0.664302
746bb0f3a29fd6df503486a8f07ad3b46162be77
4,000
exs
Elixir
test/cadet/assessments/answer_test.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
test/cadet/assessments/answer_test.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
test/cadet/assessments/answer_test.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Assessments.AnswerTest do alias Cadet.Assessments.Answer use Cadet.ChangesetCase, entity: Answer @required_fields ~w(answer submission_id question_id type)a setup do assessment = insert(:assessment, %{is_published: true}) student = insert(:course_registration, %{role: :student}) s...
30.769231
97
0.66475
746bf699d55cab397b38d26fb596b293bea1aea9
1,417
ex
Elixir
apps/definition_dictionary/lib/dictionary/type/latitude.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/definition_dictionary/lib/dictionary/type/latitude.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/definition_dictionary/lib/dictionary/type/latitude.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Dictionary.Type.Latitude do @moduledoc """ Latitude type supporting `nil` values. Normalization converts string and integer values to floats. An empty string is converted to `nil`. """ use Definition, schema: Dictionary.Type.Latitude.V1 use JsonSerde, alias: "dictionary_latitude" @type t :: ...
25.763636
79
0.651376
746c040fdcb52c11e70ec7b8445289ecd2fdbf5d
5,453
ex
Elixir
lib/client.ex
jmnsf/ex_microsoftbot
c1c2185f1414b1cbb03999b2195745e35936c2d9
[ "MIT" ]
35
2016-05-11T02:34:27.000Z
2021-04-29T07:34:11.000Z
lib/client.ex
jmnsf/ex_microsoftbot
c1c2185f1414b1cbb03999b2195745e35936c2d9
[ "MIT" ]
27
2016-07-10T18:32:25.000Z
2021-09-29T07:00:22.000Z
lib/client.ex
jmnsf/ex_microsoftbot
c1c2185f1414b1cbb03999b2195745e35936c2d9
[ "MIT" ]
23
2016-05-10T18:53:13.000Z
2021-06-25T22:04:21.000Z
defmodule ExMicrosoftBot.Client do @moduledoc """ This module contains low-level functions for interacting with the Bot Framework API. For most use-cases and a friendlier API, each of the individual endpoints' client modules should be used instead: * `ExMicrosoftBot.Client.Attachments` * `ExMicrosoftBot...
30.80791
98
0.673574
746c48fc4ab188d672a4a997acaf640b67d1a523
52,344
ex
Elixir
lib/ecto/repo.ex
slapers/ecto
e1003bb8513d0a7a000abeb367bae547d719a54a
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
slapers/ecto
e1003bb8513d0a7a000abeb367bae547d719a54a
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
slapers/ecto
e1003bb8513d0a7a000abeb367bae547d719a54a
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo do @moduledoc """ Defines a repository. A repository maps to an underlying data store, controlled by the adapter. For example, Ecto ships with a Postgres adapter that stores data into a PostgreSQL database. When used, the repository expects the `:otp_app` as option. The `:otp_app` sh...
37.495702
105
0.671844
746c50b787cd6ad2b7460e637954295a92002b41
348
exs
Elixir
priv/repo/migrations/20160523215551_create_user.exs
rzalamena/pxscratch
19d3db64b52a6d034d818482c88421f697264b56
[ "0BSD" ]
1
2016-06-02T21:21:42.000Z
2016-06-02T21:21:42.000Z
priv/repo/migrations/20160523215551_create_user.exs
rzalamena/pxscratch
19d3db64b52a6d034d818482c88421f697264b56
[ "0BSD" ]
null
null
null
priv/repo/migrations/20160523215551_create_user.exs
rzalamena/pxscratch
19d3db64b52a6d034d818482c88421f697264b56
[ "0BSD" ]
null
null
null
defmodule Pxscratch.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :name, :text add :nickname, :text add :email, :text add :password_digest, :text timestamps end create unique_index(:users, [:nickname]) create unique_index(:...
19.333333
49
0.652299
746c566765fce3537e6fe89bafde909c1bd0157a
110,471
ex
Elixir
clients/datastream/lib/google_api/datastream/v1/api/projects.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/datastream/lib/google_api/datastream/v1/api/projects.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/datastream/lib/google_api/datastream/v1/api/projects.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.864385
790
0.622091
746c86cd43320ee5dd1fee9f2ff92c7041af2b9f
1,105
exs
Elixir
clients/tag_manager/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.TagManager.V2.Mixfile do use Mix.Project @version "0.3.0" def project do [app: :google_api_tag_manager, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), ...
23.020833
111
0.6
746c902307106c5939caf904c71ba32fe11d4cd6
88
exs
Elixir
elixir/wesley_safadao_test.exs
mabrasil/safadometro
b1bcc93a69d352466dedf04a4ce0fa8f80941429
[ "MIT" ]
128
2015-12-15T02:20:15.000Z
2016-05-22T00:50:55.000Z
elixir/wesley_safadao_test.exs
pcstl/safadometro
577f03a2ded3e3bbc80824e50cd3cabd7cbd22ce
[ "MIT" ]
27
2015-12-15T03:59:26.000Z
2016-03-16T04:05:58.000Z
elixir/wesley_safadao_test.exs
pcstl/safadometro
577f03a2ded3e3bbc80824e50cd3cabd7cbd22ce
[ "MIT" ]
82
2015-12-15T03:16:37.000Z
2016-05-21T15:04:16.000Z
Code.load_file("wesley_safadao.ex") :erlang.date() |> WesleySafadao.exec() |> IO.puts()
17.6
35
0.704545
746cad619904f608209037e7584af02ef0fd745f
2,097
ex
Elixir
apps/neoscan/lib/neoscan/assets/assets.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan/lib/neoscan/assets/assets.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan/lib/neoscan/assets/assets.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule Neoscan.Assets do @moduledoc """ The boundary for the Assets system. """ @page_size 15 import Ecto.Query, warn: false alias Neoscan.Repo alias Neoscan.Asset alias Neoscan.Counter @doc """ Gets a single asset by its hash value ## Examples iex> get(123) %Block{} iex> g...
24.964286
80
0.556032
746cc5886302734029b1fe6f7194ea85f320d99a
81
ex
Elixir
lib/events_tools_web/views/technology_view.ex
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
2
2017-10-06T01:14:35.000Z
2017-11-18T16:44:44.000Z
lib/events_tools_web/views/technology_view.ex
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
6
2017-10-06T00:04:59.000Z
2017-10-06T00:09:27.000Z
lib/events_tools_web/views/technology_view.ex
apps-team/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
1
2017-10-06T01:17:35.000Z
2017-10-06T01:17:35.000Z
defmodule CommunityToolsWeb.TechnologyView do use CommunityToolsWeb, :view end
20.25
45
0.851852
746cd00381323060bd01cefac0b4a683c37ce0a9
3,194
ex
Elixir
lib/ecto/associations/belongs_to.ex
MSch/ecto
648f785b2202193921fe00d68bc334399f5edb93
[ "Apache-2.0" ]
1
2015-08-27T13:17:10.000Z
2015-08-27T13:17:10.000Z
lib/ecto/associations/belongs_to.ex
TanYewWei/ecto
916c6467d5f7368fa10ecd7cfcfd2d4a9924a282
[ "Apache-2.0" ]
null
null
null
lib/ecto/associations/belongs_to.ex
TanYewWei/ecto
916c6467d5f7368fa10ecd7cfcfd2d4a9924a282
[ "Apache-2.0" ]
null
null
null
defrecord Ecto.Reflections.BelongsTo, [:field, :owner, :associated, :key, :assoc_key] do @moduledoc """ The reflection record for a `belongs_to` association. Its fields are: * `field` - The name of the association field on the entity; * `owner` - The model where the association was defined; * `associated` - ...
30.711538
88
0.660927
746cde3b5c293c51881d68590cd35ca1871b2c6d
4,908
exs
Elixir
test/lib/absinthe/plug/document_provider/compiled_test.exs
maciej-pawlak/absinthe_plug
c5d2ef3c0cc6922eebe5b06c9bb2327389a50ada
[ "MIT" ]
null
null
null
test/lib/absinthe/plug/document_provider/compiled_test.exs
maciej-pawlak/absinthe_plug
c5d2ef3c0cc6922eebe5b06c9bb2327389a50ada
[ "MIT" ]
null
null
null
test/lib/absinthe/plug/document_provider/compiled_test.exs
maciej-pawlak/absinthe_plug
c5d2ef3c0cc6922eebe5b06c9bb2327389a50ada
[ "MIT" ]
null
null
null
defmodule Absinthe.Plug.DocumentProvider.CompiledTest do use Absinthe.Plug.TestCase alias Absinthe.Plug.TestSchema alias Absinthe.Plug.DocumentProvider.Compiled defmodule ExtractedDocuments do use Absinthe.Plug.DocumentProvider.Compiled @fixture Path.join([File.cwd!(), "test/support/fixtures/extracted...
30.296296
97
0.59943
746ce8dcd8212e9821af0fa6e371e6ecaa6f7b2c
947
exs
Elixir
test/mix_test_observer/tester_test.exs
Ta-To/mix_test_observer
0ca27bbf3ee5c547374fa29770e40f43341d4364
[ "Apache-2.0" ]
null
null
null
test/mix_test_observer/tester_test.exs
Ta-To/mix_test_observer
0ca27bbf3ee5c547374fa29770e40f43341d4364
[ "Apache-2.0" ]
null
null
null
test/mix_test_observer/tester_test.exs
Ta-To/mix_test_observer
0ca27bbf3ee5c547374fa29770e40f43341d4364
[ "Apache-2.0" ]
null
null
null
defmodule MixTestObserver.TesterTest do use ExUnit.Case import ExUnit.CaptureIO doctest MixTestObserver.Tester alias MixTestObserver.{Tester, FileObserver} @input_file "test/.input_file" describe "start/2" do test "init" do {:ok, pid} = Tester.start("", "tmp/.result") assert "" = :sys.get...
23.097561
80
0.613516
746cfb33e3794e2406b6b6dc2c6ff4d2348497d2
61
ex
Elixir
app/lib/app_web/views/section__role_view.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
1
2020-02-10T21:35:17.000Z
2020-02-10T21:35:17.000Z
app/lib/app_web/views/section__role_view.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/lib/app_web/views/section__role_view.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
null
null
null
defmodule AppWeb.Section_RoleView do use AppWeb, :view end
15.25
36
0.803279
746d125169c7cd17701a655a4da8e1a63f62e764
9,654
ex
Elixir
lib/parser/grammar.ex
LostKobrakai/tempo
09882266b3ed319daad715c8d3e475a28c475e60
[ "Apache-2.0" ]
null
null
null
lib/parser/grammar.ex
LostKobrakai/tempo
09882266b3ed319daad715c8d3e475a28c475e60
[ "Apache-2.0" ]
null
null
null
lib/parser/grammar.ex
LostKobrakai/tempo
09882266b3ed319daad715c8d3e475a28c475e60
[ "Apache-2.0" ]
null
null
null
defmodule Tempo.Iso8601.Parser.Grammar do import NimbleParsec import Tempo.Iso8601.Parser.Helpers # NOTES # Doesn't not correctly parse negative centuries and decades # since elixir does not support the idea of -0. # See ISO8601 4.4.1.7 and 4.4.1.8 def iso8601_parser do choice([ parsec(:interv...
23.778325
121
0.621297
746d6ad89f32b31cd3e0b5a5a5a9ba19c009d6f5
817
exs
Elixir
mix.exs
gialib/mathx
9ca3b7623780c2ed1d46e4ffe3a8df30c13e74df
[ "Apache-2.0" ]
null
null
null
mix.exs
gialib/mathx
9ca3b7623780c2ed1d46e4ffe3a8df30c13e74df
[ "Apache-2.0" ]
null
null
null
mix.exs
gialib/mathx
9ca3b7623780c2ed1d46e4ffe3a8df30c13e74df
[ "Apache-2.0" ]
null
null
null
defmodule Mathx.Mixfile do use Mix.Project def project do [app: :mathx, version: "0.1.0", elixir: "~> 1.2", description: description(), package: package(), deps: deps(), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod] end # Configuration for the OTP ...
19.452381
86
0.592411
746dc150274aad7e5cde936d23a85deb15e76176
4,153
exs
Elixir
exercism/elixir/diamond/test/diamond_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/diamond/test/diamond_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/diamond/test/diamond_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule DiamondTest do use ExUnit.Case test "letter A" do shape = Diamond.build_shape(?A) assert shape == "A\n" end test "letter B" do shape = Diamond.build_shape(?B) assert shape == """ \sA\s B B \sA\s """ end test "letter C" do shape = ...
40.320388
64
0.130749
746dcb99b4a7d45ad6c6be1c528e5b2cb8b68385
3,404
ex
Elixir
apps/ex_wire/lib/ex_wire/packet/block_headers.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
22
2017-06-22T02:50:34.000Z
2022-01-26T20:43:21.000Z
apps/ex_wire/lib/ex_wire/packet/block_headers.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
9
2018-10-08T22:56:56.000Z
2018-10-18T20:41:55.000Z
apps/ex_wire/lib/ex_wire/packet/block_headers.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
5
2018-10-06T16:30:48.000Z
2022-01-26T20:43:26.000Z
defmodule ExWire.Packet.BlockHeaders do @moduledoc """ Eth Wire Packet for getting block headers from a peer. ``` **BlockHeaders** [`+0x04`, `blockHeader_0`, `blockHeader_1`, ...] Reply to `GetBlockHeaders`. The items in the list (following the message ID) are block headers in the format described in the ...
39.126437
374
0.607227
746de76a158afde6d42d846fa25b9d324d7dd660
1,791
ex
Elixir
lib/cforum_web/views/admin/auditing_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/views/admin/auditing_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/views/admin/auditing_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.Admin.AuditView do use CforumWeb, :view alias CforumWeb.Paginator alias Cforum.Helpers alias CforumWeb.Views.ViewHelpers alias CforumWeb.Views.ViewHelpers.Path def page_title(:index, _), do: gettext("audit log") def page_title(:show, _), do: gettext("audit log") def page_heading(...
31.421053
112
0.670575
746e43153cfc943a0f87c01291b944d56420b573
4,474
ex
Elixir
lib/faktory_worker/sandbox.ex
vitalsource/faktory_worker
03633c0ddcd2752aa771afbe0757f6e03352254b
[ "MIT" ]
17
2019-04-14T21:35:33.000Z
2019-10-26T10:36:35.000Z
lib/faktory_worker/sandbox.ex
vitalsource/faktory_worker
03633c0ddcd2752aa771afbe0757f6e03352254b
[ "MIT" ]
75
2019-03-12T12:09:34.000Z
2020-01-04T14:19:11.000Z
lib/faktory_worker/sandbox.ex
vitalsource/faktory_worker
03633c0ddcd2752aa771afbe0757f6e03352254b
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.Sandbox do @moduledoc """ When started with sandbox mode enabled, `FaktoryWorker` won't connect to a running Faktory instance or perform queued jobs, but will instead record all jobs enqueued locally. In general, this mode should only be used during testing. See [Sandbox Testing](sa...
28.679487
92
0.639025
746e48a6f5144ef011184d41f094473d114d106e
525
exs
Elixir
mix.exs
gabeklein/FunWithSocks
5520f6b811a6d632cbf1aa3791870c9464168c68
[ "MIT" ]
2
2016-09-02T03:18:57.000Z
2016-09-14T15:03:42.000Z
mix.exs
gabeklein/FunWithSocks
5520f6b811a6d632cbf1aa3791870c9464168c68
[ "MIT" ]
null
null
null
mix.exs
gabeklein/FunWithSocks
5520f6b811a6d632cbf1aa3791870c9464168c68
[ "MIT" ]
null
null
null
defmodule FunWithSocks.Mixfile do use Mix.Project def project do [app: :fun_with_socks, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: ["lib", "web"], build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def application do [ appli...
18.75
54
0.548571
746e680aaeb3d39cf484259619ed89727195f529
771
ex
Elixir
lib/xxo/switch.ex
EssenceOfChaos/xxo
a099db4a83a79c57387bb24492971bce9529552e
[ "MIT" ]
1
2019-05-17T17:01:21.000Z
2019-05-17T17:01:21.000Z
lib/xxo/switch.ex
EssenceOfChaos/xxo
a099db4a83a79c57387bb24492971bce9529552e
[ "MIT" ]
null
null
null
lib/xxo/switch.ex
EssenceOfChaos/xxo
a099db4a83a79c57387bb24492971bce9529552e
[ "MIT" ]
null
null
null
defmodule Switch do use GenStateMachine # Client def start_link() do GenStateMachine.start_link(Switch, {:off, 0}) end def flip(pid) do GenStateMachine.cast(pid, :flip) end def get_count(pid) do GenStateMachine.call(pid, :get_count) end # Server (callbacks) def handle_event(:cast, ...
20.837838
61
0.675746
746e71da3e74b6b476646adc3e60f0d4b01f6726
1,260
ex
Elixir
lib/kamleague_web/ensure_role_plug.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
null
null
null
lib/kamleague_web/ensure_role_plug.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
2
2021-11-04T21:05:24.000Z
2021-11-04T21:51:48.000Z
lib/kamleague_web/ensure_role_plug.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
1
2021-11-04T18:40:26.000Z
2021-11-04T18:40:26.000Z
defmodule KamleagueWeb.EnsureRolePlug do @moduledoc """ This plug ensures that a user has a particular role. ## Example plug MyAppWeb.EnsureRolePlug, [:user, :admin] plug MyAppWeb.EnsureRolePlug, :admin plug MyAppWeb.EnsureRolePlug, ~w(user admin)a """ import Plug.Conn, only: [halt: 1] ...
26.25
93
0.660317
746ea9c55e5b549357be4b9f6930d905ee9afec7
2,621
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_key.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_key.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_key.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
51.392157
554
0.768791
746ed3fbabe08aab32b0ca44e33e1c293730a9a8
1,028
ex
Elixir
lib/inventory/application.ex
daroca-eco-br/inventory
2250c3ed4147673e26f0db29199dd02adebcda8c
[ "MIT" ]
null
null
null
lib/inventory/application.ex
daroca-eco-br/inventory
2250c3ed4147673e26f0db29199dd02adebcda8c
[ "MIT" ]
null
null
null
lib/inventory/application.ex
daroca-eco-br/inventory
2250c3ed4147673e26f0db29199dd02adebcda8c
[ "MIT" ]
null
null
null
defmodule Inventory.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository Inventory.Repo, # Start the Telemetry supervisor Inv...
29.371429
67
0.707198
746edc3fc13042062a497cf4466deee08c24ee33
8,215
exs
Elixir
test/core/sup_tree_common/alert_manager_test.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
test/core/sup_tree_common/alert_manager_test.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
test/core/sup_tree_common/alert_manager_test.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.Alert.ManagerTest do use Croma.TestCase, alias_as: CoreAlertManager alias Antikythera.Time alias AntikytheraCore.Ets.ConfigCache alias AntikytheraCore.Alert.Handler, as: AHandler alias AntikytheraCore.Alert.Ha...
45.137363
168
0.706999
746ee87eefce3115a6c3678e7d3016423bd82acc
1,084
ex
Elixir
lib/cms/v3/domain_objects/article/image.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
lib/cms/v3/domain_objects/article/image.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
lib/cms/v3/domain_objects/article/image.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2021 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.V3.CMS.Article.Image do use Noizu.V3.CMS.ArticleType @v...
38.714286
186
0.632841
746ef0fdbd2f3764d455fb2592eac596bdfdeff2
784
ex
Elixir
lib/galapagos_nao/example.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
21
2018-03-19T02:52:38.000Z
2020-07-21T06:18:54.000Z
lib/galapagos_nao/example.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
23
2018-02-21T23:34:41.000Z
2018-04-07T15:13:56.000Z
lib/galapagos_nao/example.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
1
2020-04-28T16:38:03.000Z
2020-04-28T16:38:03.000Z
defmodule GN.Example do import GN.Orchestration, only: [evolve: 2, evolve_continual: 1] alias GN.Network, as: Network import GN.Python use Export.Python def seed_layers() do l1 = {:dense, [64, :relu]} l2 = {:batch_norm, []} l3 = {:activation, [:relu]} l4 = {:dropout, [0.5]} l5 = {:dense, ...
24.5
71
0.595663
746ef33a23826aa28537b70127ff8125a42e4210
2,253
exs
Elixir
elixir/elixir-sips/samples/ets_playground/test/dets_playground_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/ets_playground/test/dets_playground_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/ets_playground/test/dets_playground_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule DetsPlaygroundTest do use ExUnit.Case @dets_file "cars.dets" setup do :ets.new(:ets_cars, [:set, :named_table]) :ets_cars |> :ets.insert({"328i", "BMW", "White", 2011, 5}) :ets_cars |> :ets.insert({"335i", "BMW", "White", 2013, 6}) :ets_cars |> :ets.insert({"528i", "BMW", "White", 201...
24.225806
81
0.569907
746f1a8b4c4e02c91f7e3aaa3edaeac3d61d5c59
1,814
ex
Elixir
lib/ex_clearbit/api/base.ex
EnaiaInc/ex_clearbit
16d0ecc8ffe75c2df70fda703c5c085dbe20bea6
[ "MIT" ]
3
2017-03-16T20:55:36.000Z
2018-01-29T04:20:04.000Z
lib/ex_clearbit/api/base.ex
EnaiaInc/ex_clearbit
16d0ecc8ffe75c2df70fda703c5c085dbe20bea6
[ "MIT" ]
9
2016-12-24T05:02:03.000Z
2020-03-10T20:37:14.000Z
lib/ex_clearbit/api/base.ex
EnaiaInc/ex_clearbit
16d0ecc8ffe75c2df70fda703c5c085dbe20bea6
[ "MIT" ]
10
2017-06-29T15:36:24.000Z
2021-12-03T16:30:02.000Z
defmodule ExClearbit.API.Base do @moduledoc """ Basic functionality for Clearbit API """ alias ExClearbit.Config @user_agent "Clearbit Elixir Client/#{ExClearbit.version}" @default_headers ["Accept": "application/json", "Content-Type": "application/json", "User-Agent": @user_agent] @doc """ Makes a GE...
27.484848
112
0.622381
746f46ccf0f8b096578e2f09febf4a846440b847
1,116
ex
Elixir
lib/ffaker/ko_kr/lorem.ex
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
9
2016-11-09T15:50:05.000Z
2021-02-02T05:45:06.000Z
lib/ffaker/ko_kr/lorem.ex
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
3
2016-09-01T09:54:46.000Z
2017-07-25T05:23:56.000Z
lib/ffaker/ko_kr/lorem.ex
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
4
2016-11-22T17:51:48.000Z
2021-02-02T05:45:01.000Z
defmodule Ffaker.KoKr.Lorem do @moduledoc""" 애국가를 베이스로 하는 로렘 데이터에 관한 함수가 들어있는 모듈 """ use Ffaker @doc""" 단어를 반환 ## Examples iex> Ffaker.KoKr.Lorem.word "백두산이" """ @spec word :: String.t def word do Enum.random(~F(words)) end @doc""" 문장을 반환 ## Parameters - words_rang...
18
72
0.56362
746f65c18e38b0ce91a82b617800176081089269
780
ex
Elixir
lib/oli/qa/reviewers/content.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/qa/reviewers/content.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/qa/reviewers/content.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.Qa.Reviewers.Content do import Ecto.Query, warn: false import Oli.Qa.Utils alias Oli.Qa.{UriValidator} alias Oli.Authoring.Course alias Oli.Qa.{Warnings, Reviews} def review(project_slug) do {:ok, review} = Reviews.create_review(Course.get_project_by_slug(project_slug), "content") re...
22.941176
94
0.662821
746f7ab5a8d5da7196cc67e866cda3776254d060
4,825
exs
Elixir
test/local_test.exs
michaelst/excoveralls
cf806aa18c116ef344a6a39bcec8a8f5e111644a
[ "MIT" ]
null
null
null
test/local_test.exs
michaelst/excoveralls
cf806aa18c116ef344a6a39bcec8a8f5e111644a
[ "MIT" ]
null
null
null
test/local_test.exs
michaelst/excoveralls
cf806aa18c116ef344a6a39bcec8a8f5e111644a
[ "MIT" ]
null
null
null
defmodule ExCoveralls.LocalTest do use ExUnit.Case import Mock import ExUnit.CaptureIO alias ExCoveralls.Local @content "defmodule Test do\n def test do\n end\nend\n" @counts [0, 1, nil, nil] @source_info [%{name: "test/fixtures/test.ex", source: @content, cov...
33.978873
126
0.624041
746faa1f96846b0a5e551f8c765f31a5b9f90364
3,440
ex
Elixir
lib/mdns/server.ex
andfoy/mdns
ada70d0c16c78dd02cf3e15a9799407e7912afc7
[ "Apache-2.0" ]
null
null
null
lib/mdns/server.ex
andfoy/mdns
ada70d0c16c78dd02cf3e15a9799407e7912afc7
[ "Apache-2.0" ]
null
null
null
lib/mdns/server.ex
andfoy/mdns
ada70d0c16c78dd02cf3e15a9799407e7912afc7
[ "Apache-2.0" ]
null
null
null
defmodule Mdns.Server do use GenServer require Logger @mdns_group {224, 0, 0, 251} @port Application.get_env(:mdns, :port, 5353) @response_packet %DNS.Record{ header: %DNS.Header{ aa: true, qr: true, opcode: 0, rcode: 0 }, anlist: [] } defmodule State do defstruc...
22.781457
85
0.549709
747061c1318b90363444491baad4b518cfa9b475
2,070
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__label_segment.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__label_segment.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__label_segment.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...
35.084746
179
0.757488
74707b7b282b05c4bceed4103f7876901492d328
1,071
ex
Elixir
lib/kommissar_web/channels/user_socket.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
lib/kommissar_web/channels/user_socket.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
lib/kommissar_web/channels/user_socket.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
defmodule KommissarWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", KommissarWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all ch...
31.5
84
0.698413
74707c607ba021d88f8ea46860afcb5e7ee9bb0c
403
exs
Elixir
apps/phoenix_live_view_starter_app_web/.exguard.exs
ottobar/phoenix-live-page-starter-app
33e3655bfa01af1559694db296e9b0a1579b11d2
[ "Unlicense" ]
null
null
null
apps/phoenix_live_view_starter_app_web/.exguard.exs
ottobar/phoenix-live-page-starter-app
33e3655bfa01af1559694db296e9b0a1579b11d2
[ "Unlicense" ]
2
2021-03-09T09:39:03.000Z
2021-05-09T10:54:12.000Z
apps/phoenix_live_view_starter_app_web/.exguard.exs
ottobar/phoenix-live-page-starter-app
33e3655bfa01af1559694db296e9b0a1579b11d2
[ "Unlicense" ]
null
null
null
use ExGuard.Config guard("tests", run_on_start: true) |> command("mix test --color") |> watch( {~r{test/(?<dir>.+)/(?<file>.+)_test.exs$}i, fn m -> "test/#{m["dir"]}/#{m["file"]}_test.exs" end} ) |> watch( {~r{lib/(?<dir>.+)/(?<file>.+).ex$}i, fn m -> "test/#{m["dir"]}/#{m["file"]}_test.exs" end} ) |> watch(~r{...
26.866667
93
0.538462
7470a9cd46f40e124b751632fb33538dec3a5a7d
1,177
ex
Elixir
web/views/account_view.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
1
2017-06-14T07:04:47.000Z
2017-06-14T07:04:47.000Z
web/views/account_view.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
null
null
null
web/views/account_view.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
null
null
null
defmodule Hyperledger.AccountView do use Hyperledger.Web, :view def render("index.uber", %{conn: conn, accounts: accounts}) do %{ uber: %{ version: "1.0", data: [ %{ rel: ["self"], url: account_url(conn, :index) }, %{ id:...
20.293103
64
0.439252
7470d9332485cc4fd4c46ed474a80ca4de7952d3
2,680
ex
Elixir
lib/cadet_web/controllers/notification_controller.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
lib/cadet_web/controllers/notification_controller.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
lib/cadet_web/controllers/notification_controller.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule CadetWeb.NotificationController do @moduledoc """ Provides information about a Notifications. """ use CadetWeb, :controller use PhoenixSwagger alias Cadet.Accounts.Notifications def index(conn, _) do {:ok, notifications} = Notifications.fetch(conn.assigns.current_user) render( ...
25.283019
99
0.622761
74711cdcb4b726b38abaeabf4214e7f3fb876324
2,754
ex
Elixir
apps/astarte_appengine_api/lib/astarte_appengine_api/rooms/events_dispatcher.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
4
2018-03-15T14:26:43.000Z
2019-12-20T15:07:10.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api/rooms/events_dispatcher.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
27
2018-06-28T16:00:07.000Z
2019-12-19T10:05:36.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api/rooms/events_dispatcher.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
2
2018-03-16T09:37:29.000Z
2019-11-18T17:37:42.000Z
# # This file is part of Astarte. # # Copyright 2017-2018 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
30.94382
93
0.669935
74712f20db81ca8825c624b205f3760355c0b720
88
exs
Elixir
test/infinity_one_web/views/page_view_test.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
test/infinity_one_web/views/page_view_test.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
test/infinity_one_web/views/page_view_test.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOneWeb.PageViewTest do use InfinityOneWeb.ConnCase, async: true end
22
42
0.840909
747134076b3f62984997afdbc7912e7ce50f0dbc
2,285
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/sql_instances_verify_external_sync_settings_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sql_admin/lib/google_api/sql_admin/v1/model/sql_instances_verify_external_sync_settings_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sql_admin/lib/google_api/sql_admin/v1/model/sql_instances_verify_external_sync_settings_request.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.459016
160
0.733479
747135f35b7bedf18dab7a6605e0f55d5ec9e599
711
ex
Elixir
lib/milbase_web/gettext.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
1
2020-07-14T03:27:30.000Z
2020-07-14T03:27:30.000Z
lib/milbase_web/gettext.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
lib/milbase_web/gettext.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
defmodule MilbaseWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import MilbaseWeb.Gettext # Simple translation gettext("Here is t...
28.44
72
0.677918
747146d1092d80b663814887acb92a79d6472230
2,120
ex
Elixir
apps/omg_api/lib/block_queue/gas_price_adjustment_strategy_params.ex
Pongch/elixir-omg
8a33c246898b49cba62b847e0989d9b6c89f5106
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/block_queue/gas_price_adjustment_strategy_params.ex
Pongch/elixir-omg
8a33c246898b49cba62b847e0989d9b6c89f5106
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/block_queue/gas_price_adjustment_strategy_params.ex
Pongch/elixir-omg
8a33c246898b49cba62b847e0989d9b6c89f5106
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
40.769231
107
0.726887
747155a42288a78f7433a9282863959d60af5017
23,374
ex
Elixir
lib/oban.ex
monteithpj/oban
04bde2d3628404e40e8c845b7c54beed92e5cd89
[ "Apache-2.0" ]
null
null
null
lib/oban.ex
monteithpj/oban
04bde2d3628404e40e8c845b7c54beed92e5cd89
[ "Apache-2.0" ]
null
null
null
lib/oban.ex
monteithpj/oban
04bde2d3628404e40e8c845b7c54beed92e5cd89
[ "Apache-2.0" ]
null
null
null
defmodule Oban do @external_resource readme = Path.join([__DIR__, "../README.md"]) @moduledoc readme |> File.read!() |> String.split("<!-- MDOC -->") |> Enum.fetch!(1) @moduledoc since: "0.1.0" use Supervisor alias Ecto.{Changeset, Multi} alias Oban.{Config, Job, M...
31.844687
99
0.664242
74716880b504169584fa0aca557ef492ef5030f3
1,366
ex
Elixir
lib/mipha/stars/star.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
156
2018-06-01T19:52:32.000Z
2022-02-03T10:58:10.000Z
lib/mipha/stars/star.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
139
2018-07-10T01:57:23.000Z
2021-08-02T21:29:24.000Z
lib/mipha/stars/star.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
29
2018-07-17T08:43:45.000Z
2021-12-14T13:45:30.000Z
defmodule Mipha.Stars.Star do @moduledoc false use Ecto.Schema import Ecto.{Changeset, Query} alias Mipha.{ Repo, Topics.Topic, Replies.Reply, Accounts.User, Stars.Star } @type t :: %Star{} schema "stars" do belongs_to :reply, Reply belongs_to :user, User belongs_to :to...
20.088235
65
0.620791
74717319cc12559f566b6a7bc8acb9556bf86645
321
ex
Elixir
test/support/test_pipeline.ex
membraneframework/membrane_turn_plugin
09bbde6d30d500886def0409217df81afc50255a
[ "Apache-2.0" ]
1
2021-12-30T15:20:01.000Z
2021-12-30T15:20:01.000Z
test/support/test_pipeline.ex
membraneframework/membrane_turn_plugin
09bbde6d30d500886def0409217df81afc50255a
[ "Apache-2.0" ]
1
2022-01-04T13:54:26.000Z
2022-01-04T16:46:43.000Z
test/support/test_pipeline.ex
membraneframework/membrane_turn_plugin
09bbde6d30d500886def0409217df81afc50255a
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.ICE.Support.TestPipeline do @moduledoc false use Membrane.Pipeline require Membrane.Logger @impl true def handle_init(opts) do children = %{ice: struct(Membrane.ICE.Endpoint, opts)} spec = %ParentSpec{children: children} {{:ok, spec: spec, playback: :playing}, %{}} end end...
20.0625
58
0.697819
7471a18366518d203d29a704d097c54f0874b31d
3,923
ex
Elixir
lib/elixir_script/passes/translate/forms/for.ex
alex-min/elixirscript
a2bd2327d0b6bbacf98fb555198acf12c0c20916
[ "MIT" ]
1
2021-09-14T14:28:39.000Z
2021-09-14T14:28:39.000Z
lib/elixir_script/passes/translate/forms/for.ex
alex-min/elixirscript
a2bd2327d0b6bbacf98fb555198acf12c0c20916
[ "MIT" ]
null
null
null
lib/elixir_script/passes/translate/forms/for.ex
alex-min/elixirscript
a2bd2327d0b6bbacf98fb555198acf12c0c20916
[ "MIT" ]
null
null
null
defmodule ElixirScript.Translate.Forms.For do @moduledoc false alias ESTree.Tools.Builder, as: JS alias ElixirScript.Translate.{Form, Clause, Helpers} alias ElixirScript.Translate.Forms.Pattern def compile({:for, _, generators}, state) do args = handle_args(generators, state) generators = JS.array_...
27.433566
88
0.552128