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
5a5b6000606b2636c3be7aad82727cc94161168b
2,481
ex
Elixir
lib/pre_plug.ex
zackehh/pre_plug
c26c3d6dcd06cdab77307fef4d399ff0a110218c
[ "MIT" ]
4
2016-10-28T03:10:21.000Z
2017-04-15T07:18:31.000Z
lib/pre_plug.ex
whitfin/pre_plug
c26c3d6dcd06cdab77307fef4d399ff0a110218c
[ "MIT" ]
1
2016-10-28T19:10:54.000Z
2017-06-14T11:03:35.000Z
lib/pre_plug.ex
zackehh/pre_plug
c26c3d6dcd06cdab77307fef4d399ff0a110218c
[ "MIT" ]
null
null
null
defmodule PrePlug do @moduledoc """ This module is gross, but it's my current solution to the issue being tracked inside https://github.com/elixir-lang/plug/issues/409. Basically, we need a way to make sure that certain plugs are executed before the execution of the `try` context inside `Plug.ErrorHandler`. W...
30.62963
83
0.694478
5a5b6a264059a7432ebb7c20042a253b6c56085e
1,195
exs
Elixir
mix.exs
kpanic/carry
8d2f84be00ef4ef82cad4517a6b406ce8cdf77bc
[ "Apache-2.0" ]
2
2018-12-04T16:32:49.000Z
2020-01-12T21:51:51.000Z
mix.exs
kpanic/carry
8d2f84be00ef4ef82cad4517a6b406ce8cdf77bc
[ "Apache-2.0" ]
null
null
null
mix.exs
kpanic/carry
8d2f84be00ef4ef82cad4517a6b406ce8cdf77bc
[ "Apache-2.0" ]
null
null
null
defmodule Carry.MixProject do use Mix.Project def project do [ app: :carry, version: "0.1.3", elixir: "~> 1.7", description: description(), package: package(), start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about ...
21.339286
94
0.528033
5a5b6b2967d6a0cd14dadfacf0b3c1e1ddc353e4
2,226
exs
Elixir
apps/andi/test/integration/andi/input_schemas/access_groups_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/test/integration/andi/input_schemas/access_groups_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/test/integration/andi/input_schemas/access_groups_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Andi.InputSchemas.AccessGroupsTest do use ExUnit.Case use Andi.DataCase @moduletag shared_data_connection: true alias Andi.InputSchemas.AccessGroup alias Andi.InputSchemas.AccessGroups alias SmartCity.TestDataGenerator, as: TDG import SmartCity.TestHelper, only: [eventually: 1] describe "g...
26.819277
96
0.625337
5a5b808fd5e2b1278595aed859d51aae002a08dd
3,360
ex
Elixir
lib/mix/tasks/hex.install.ex
starbelly/hex
d84d2558812c454fbc9c26eea3b25e7648d345f1
[ "Apache-2.0" ]
1
2019-04-29T12:35:49.000Z
2019-04-29T12:35:49.000Z
lib/mix/tasks/hex.install.ex
starbelly/hex
d84d2558812c454fbc9c26eea3b25e7648d345f1
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/hex.install.ex
starbelly/hex
d84d2558812c454fbc9c26eea3b25e7648d345f1
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Hex.Install do use Mix.Task @hex_mirror "https://repo.hex.pm" @hex_list_path "/installs/hex-1.x.csv" @hex_archive_path "/installs/[ELIXIR_VERSION]/hex-[HEX_VERSION].ez" @public_keys_html "https://repo.hex.pm/installs/public_keys.html" @shortdoc false @moduledoc """ Manually install...
26.88
95
0.631548
5a5bb9cf1f071556c6586645bf64f621f8d0f915
1,218
ex
Elixir
lib/walex/adapters/changes.ex
drumusician/walex
7d79a1d5c3b116ca9de9c055292ce23794a47f78
[ "Apache-2.0" ]
25
2021-12-06T22:05:01.000Z
2022-03-28T01:43:22.000Z
lib/walex/adapters/changes.ex
drumusician/walex
7d79a1d5c3b116ca9de9c055292ce23794a47f78
[ "Apache-2.0" ]
6
2021-12-06T19:01:13.000Z
2021-12-17T13:39:26.000Z
lib/walex/adapters/changes.ex
drumusician/walex
7d79a1d5c3b116ca9de9c055292ce23794a47f78
[ "Apache-2.0" ]
1
2022-02-04T08:30:16.000Z
2022-02-04T08:30:16.000Z
# This file steals liberally from https://github.com/supabase/realtime, # which in turn draws on https://github.com/cainophile/cainophile require Protocol defmodule WalEx.Adapters.Changes do defmodule(Transaction, do: defstruct([:changes, :commit_timestamp])) defmodule(NewRecord, do: defstruct([:type, :recor...
31.230769
90
0.730706
5a5bbf34b928795549997872631d302f67b70eb5
1,094
ex
Elixir
lib/insta_api_web/channels/user_socket.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
2
2021-01-07T23:46:50.000Z
2021-01-08T12:16:00.000Z
lib/insta_api_web/channels/user_socket.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
null
null
null
lib/insta_api_web/channels/user_socket.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
null
null
null
defmodule InstaApiWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", InstaApiWeb.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 chan...
30.388889
83
0.695612
5a5bd95351a3e4a6851c212f7d457cd6b0823057
801
ex
Elixir
lib/screens/config/v2/departures/query/params.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens/config/v2/departures/query/params.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens/config/v2/departures/query/params.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule Screens.Config.V2.Departures.Query.Params do @moduledoc false # credo:disable-for-this-file Credo.Check.Design.DuplicatedCode alias Screens.RouteType @type t :: %__MODULE__{ stop_ids: list(String.t()), route_ids: list(String.t()), direction_id: 0 | 1 | :both, ...
25.83871
78
0.656679
5a5be41c3cba6410f8f12c3bf05f5273cb132a74
1,004
exs
Elixir
mix.exs
ueberauth/guardian_backdoor
ef744adc53cea8e78cae2425833a39cd01999f71
[ "MIT" ]
24
2017-10-26T19:06:45.000Z
2021-03-15T01:54:10.000Z
mix.exs
ueberauth/guardian_backdoor
ef744adc53cea8e78cae2425833a39cd01999f71
[ "MIT" ]
5
2017-10-26T19:06:28.000Z
2021-12-02T01:21:27.000Z
mix.exs
ueberauth/guardian_backdoor
ef744adc53cea8e78cae2425833a39cd01999f71
[ "MIT" ]
5
2017-10-26T09:44:03.000Z
2021-12-01T16:19:43.000Z
defmodule Guardian.Backdoor.Mixfile do use Mix.Project @version "1.1.0" @url "https://github.com/ueberauth/guardian_backdoor" @maintainers [ "Daniel Neighman", "Sean Callan", "Sonny Scroggin" ] def project do [ app: :guardian_backdoor, version: @version, package: package(...
21.361702
94
0.560757
5a5bfbfb9ef20b636fe168fcd527cdd27795256d
1,868
ex
Elixir
lib/nfoil_web.ex
rheotaxis/t.nfoil.info
88b7691d932e69352b96059a7aaebb9c6db778c0
[ "MIT" ]
null
null
null
lib/nfoil_web.ex
rheotaxis/t.nfoil.info
88b7691d932e69352b96059a7aaebb9c6db778c0
[ "MIT" ]
null
null
null
lib/nfoil_web.ex
rheotaxis/t.nfoil.info
88b7691d932e69352b96059a7aaebb9c6db778c0
[ "MIT" ]
null
null
null
defmodule NfoilWeb 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 NfoilWeb, :controller use NfoilWeb, :view The definitions below will be executed for every view, controller, etc, s...
22.780488
76
0.681478
5a5bfd2b358d41442d683b7c8bed6c7e14681296
227
ex
Elixir
lib/mix/tasks/erl2ex.ex
axelson/erl2ex
382d87ab5fe4a3a3bdb03001226c9c514b889eb0
[ "BSD-3-Clause" ]
77
2015-12-28T10:54:32.000Z
2021-11-17T16:14:41.000Z
lib/mix/tasks/erl2ex.ex
axelson/erl2ex
382d87ab5fe4a3a3bdb03001226c9c514b889eb0
[ "BSD-3-Clause" ]
5
2016-02-13T09:36:59.000Z
2022-02-23T16:57:58.000Z
lib/mix/tasks/erl2ex.ex
axelson/erl2ex
382d87ab5fe4a3a3bdb03001226c9c514b889eb0
[ "BSD-3-Clause" ]
13
2016-06-04T06:49:19.000Z
2021-10-14T03:00:54.000Z
# Mix task for erl2ex defmodule Mix.Tasks.Erl2ex do @moduledoc Erl2ex.Cli.usage_text("mix erl2ex") @shortdoc "Transpiles Erlang source to Elixir" use Mix.Task def run(args) do Erl2ex.Cli.main(args) end end
13.352941
48
0.709251
5a5c11632b44bf3fffd75330e3bae840f319c60e
4,044
exs
Elixir
test/integration/results_test.exs
blueshift-labs/xandra
e88dbbef817c46361c65c7b50732339f8dd3609e
[ "ISC" ]
1
2021-04-28T21:35:26.000Z
2021-04-28T21:35:26.000Z
test/integration/results_test.exs
blueshift-labs/xandra
e88dbbef817c46361c65c7b50732339f8dd3609e
[ "ISC" ]
null
null
null
test/integration/results_test.exs
blueshift-labs/xandra
e88dbbef817c46361c65c7b50732339f8dd3609e
[ "ISC" ]
1
2021-06-30T07:45:22.000Z
2021-06-30T07:45:22.000Z
defmodule ResultsTest do use XandraTest.IntegrationCase, async: true alias Xandra.{SchemaChange, SetKeyspace, Void} @tag :cassandra_specific test "each possible result", %{conn: conn, keyspace: keyspace} do assert {:ok, result} = Xandra.execute(conn, "USE #{keyspace}") assert result == %SetKeyspace{ke...
33.147541
97
0.571711
5a5c4d9df5b853fd13c1d951d5a0e884a86c2da9
328
exs
Elixir
test/petal_web/live/page_live_test.exs
colindensem/petal-k8s
def9dc653dcae2ef35021d44821e6c69d8744e15
[ "MIT" ]
1
2021-02-12T09:17:38.000Z
2021-02-12T09:17:38.000Z
test/petal_web/live/page_live_test.exs
colindensem/petal-k8s
def9dc653dcae2ef35021d44821e6c69d8744e15
[ "MIT" ]
null
null
null
test/petal_web/live/page_live_test.exs
colindensem/petal-k8s
def9dc653dcae2ef35021d44821e6c69d8744e15
[ "MIT" ]
null
null
null
defmodule PetalWeb.PageLiveTest do use PetalWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoenix!" ...
27.333333
60
0.722561
5a5c56b102c5ef4af6367d00d672886e95642d3c
5
ex
Elixir
testData/org/elixir_lang/parser_definition/decimal_float_parsing_test_case/IntegralDecimalMarkFractionalUpperCaseExponent.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/decimal_float_parsing_test_case/IntegralDecimalMarkFractionalUpperCaseExponent.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/decimal_float_parsing_test_case/IntegralDecimalMarkFractionalUpperCaseExponent.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
1.2E3
5
5
0.8
5a5c9360d5c768f9909bc6b6a1a248d2d3ab4010
1,556
ex
Elixir
lib/ex_polygon/rest/crypto/daily_open_close.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
lib/ex_polygon/rest/crypto/daily_open_close.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
lib/ex_polygon/rest/crypto/daily_open_close.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
defmodule ExPolygon.Rest.Crypto.DailyOpenClose do @moduledoc """ Returns a call to Crypto "Daily Open / Close" Polygon.io """ @type day_stat :: ExPolygon.CryptoOpenClose.t() @type api_key :: ExPolygon.Rest.HTTPClient.api_key() @type shared_error_reasons :: ExPolygon.Rest.HTTPClient.shared_error_reasons() ...
31.755102
96
0.626607
5a5c96a2407ebf628ae86b4c908343823b2914f0
259
ex
Elixir
test/support/test_cldr.ex
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
null
null
null
test/support/test_cldr.ex
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
null
null
null
test/support/test_cldr.ex
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
null
null
null
require Money.Backend require Money defmodule Test.Cldr do use Cldr, default_locale: "en", locales: ["en", "root", "de", "da", "nl", "de-CH", "fr", "zh-Hant-HK", "zh-Hans", "ja"], providers: [Cldr.Number, Money], supress_warnings: true end
23.545455
92
0.621622
5a5c9d97c37b554c98454e5bcf9fa06db6b1b785
5,237
ex
Elixir
lib/mbcs.ex
woxtu/elixir-mbcs
f99b729b2ac4f66199d36edc451f139fbb8ddba0
[ "MIT" ]
31
2015-08-20T04:49:19.000Z
2021-09-17T10:24:19.000Z
lib/mbcs.ex
woxtu/elixir-mbcs
f99b729b2ac4f66199d36edc451f139fbb8ddba0
[ "MIT" ]
4
2015-11-14T04:17:51.000Z
2018-06-09T10:13:17.000Z
lib/mbcs.ex
woxtu/elixir-mbcs
f99b729b2ac4f66199d36edc451f139fbb8ddba0
[ "MIT" ]
12
2015-11-12T12:08:44.000Z
2022-01-11T07:15:58.000Z
defmodule Mbcs do @moduledoc """ Wrapper for erlang-mbcs. This module provides functions for character encoding conversion. See `https://code.google.com/p/erlang-mbcs/` for detail. ## Usage # Start mbcs server iex> Mbcs.start :ok # Convert UTF-8 to Shift_JIS iex> Mbcs.encode!(...
33.14557
142
0.661638
5a5cd8fcce1a77ec0ea4ae3e64cb33aec81778de
3,242
exs
Elixir
backend/priv/repo/seeds.exs
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
2
2019-11-02T21:28:34.000Z
2019-11-28T18:01:08.000Z
backend/priv/repo/seeds.exs
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
17
2019-11-29T16:23:38.000Z
2022-02-14T05:11:41.000Z
backend/priv/repo/seeds.exs
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
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: # # KjerSi.Repo.insert!(%KjerSi.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
30.299065
99
0.693091
5a5ced75a365c904db6971c1e51117c32eec4066
604
exs
Elixir
day08/mix.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
10
2021-12-01T08:49:00.000Z
2022-03-24T13:24:50.000Z
day08/mix.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
day08/mix.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
1
2021-12-16T07:09:11.000Z
2021-12-16T07:09:11.000Z
defmodule Day08.MixProject do use Mix.Project def project do [ app: :day08, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
20.133333
87
0.56457
5a5d0fb2f24b4f8d67f1942b91fd764c3b7c6ce0
267
exs
Elixir
priv/repo/migrations/20180522043027_replace_category_user_by_author.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20180522043027_replace_category_user_by_author.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20180522043027_replace_category_user_by_author.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.ReplaceCategoryUserByAuthor do use Ecto.Migration def change do alter table(:categories) do remove(:user_id) add(:author_id, references(:cms_authors, on_delete: :delete_all), null: false) end end end
24.272727
84
0.737828
5a5d1861cf990eb577a13c216293016e4b42043d
2,172
exs
Elixir
15.WorkingWithMultipleProcesses/wwmp8.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
6
2019-10-25T21:51:11.000Z
2022-03-23T02:11:38.000Z
15.WorkingWithMultipleProcesses/wwmp8.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
null
null
null
15.WorkingWithMultipleProcesses/wwmp8.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
1
2020-06-16T12:37:43.000Z
2020-06-16T12:37:43.000Z
defmodule FibSolver do def fib(scheduler) do send scheduler, { :ready, self() } receive do { :fib, n, client } -> send client, { :answer, n, fib_calc(n), self() } fib(scheduler) { :shutdown } -> exit(:normal) end end defp fib_calc(0), do: 0 defp fib_calc(1), do:...
28.207792
210
0.583333
5a5d275c5a723acfbb429b6b0b268d2a5ea21a0e
1,396
exs
Elixir
spec/assertions/enum/have_min_by_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
spec/assertions/enum/have_min_by_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
spec/assertions/enum/have_min_by_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule ESpec.Assertions.Enum.HaveMinBySpec do use ESpec, async: true let :range, do: 1..3 let :func, do: fn el -> 10 / el end context "Success" do it "checks success with `to`" do message = expect(range()) |> to(have_min_by(func(), 3)) expect(message) |> to(start_with "The minimum value of ...
32.465116
94
0.598138
5a5d49862ebd643cb562f6f98efc8ef4614ae22a
333
exs
Elixir
config/test.exs
ringofhealth/ex_tag
a0aa0a3c8f57311867e33d2290a944a46351d0e2
[ "Apache-2.0" ]
null
null
null
config/test.exs
ringofhealth/ex_tag
a0aa0a3c8f57311867e33d2290a944a46351d0e2
[ "Apache-2.0" ]
null
null
null
config/test.exs
ringofhealth/ex_tag
a0aa0a3c8f57311867e33d2290a944a46351d0e2
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :logger, level: :info config :taglet, ecto_repos: [Taglet.Repo] config :taglet, repo: Taglet.Repo config :taglet, Taglet.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "taglet_test", hostname: "localhost", poolsize: 10 config :logger, ...
18.5
41
0.717718
5a5d504eebb115aad623b81210b8d899047a4690
993
ex
Elixir
test/support/channel_case.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
test/support/channel_case.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
test/support/channel_case.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338Web.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 and query models. Finally, if the test case interacts with the database, it cannot be ...
23.093023
67
0.699899
5a5d5777b4776f0c62c5b5622d35ebc7ead81610
2,169
ex
Elixir
lib/astarte_core/mapping/database_retention_policy.ex
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
null
null
null
lib/astarte_core/mapping/database_retention_policy.ex
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
null
null
null
lib/astarte_core/mapping/database_retention_policy.ex
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
null
null
null
# # 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...
23.322581
94
0.65468
5a5d7b08f1626f8ef0f5059213a8b29d34541ff9
4,212
ex
Elixir
lib/mix/lib/mix/tasks/archive.build.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-08-13T23:22:33.000Z
2019-08-13T23:22:33.000Z
lib/mix/lib/mix/tasks/archive.build.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/mix/lib/mix/tasks/archive.build.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Archive.Build do use Mix.Task @shortdoc "Archives this project into a .ez file" @recursive true @moduledoc """ Builds an archive according to the specification of the [Erlang Archive Format](http://www.erlang.org/doc/man/code.html). Archives are meant to contain small projects, usua...
30.521739
97
0.649098
5a5d88ff9f53a04143f780855b0c349f4b12d4b9
6,100
ex
Elixir
services/interop-proxy/lib/interop_proxy/request.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
1
2020-10-08T14:37:36.000Z
2020-10-08T14:37:36.000Z
services/interop-proxy/lib/interop_proxy/request.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
33
2017-10-31T22:36:42.000Z
2021-01-10T22:15:54.000Z
services/interop-proxy/lib/interop_proxy/request.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
3
2018-10-07T21:36:02.000Z
2020-02-07T01:13:53.000Z
defmodule InteropProxy.Request do @moduledoc """ Handles making requests to the AUVSI SUAS Interoperability Server. After logging in, the cookie must be passed to the server after subsequent requests. """ @json {"Content-Type", "application/json"} @jpeg {"Content-Type", "image/jpeg"} @urle...
29.186603
75
0.642131
5a5dbbe067f1201574e9e52334df321b71775c35
6,782
ex
Elixir
lib/absinthe/relay/mutation/notation/modern.ex
jlgeering/absinthe_relay
94e0abb22bc5f63b5d25644b212c2ac531c433f7
[ "MIT" ]
null
null
null
lib/absinthe/relay/mutation/notation/modern.ex
jlgeering/absinthe_relay
94e0abb22bc5f63b5d25644b212c2ac531c433f7
[ "MIT" ]
null
null
null
lib/absinthe/relay/mutation/notation/modern.ex
jlgeering/absinthe_relay
94e0abb22bc5f63b5d25644b212c2ac531c433f7
[ "MIT" ]
null
null
null
defmodule Absinthe.Relay.Mutation.Notation.Modern do @moduledoc """ Convenience macros for Relay Modern mutations. (If you want `clientMutationId` handling, see `Absinthe.Relay.Mutation.Notation.Classic`!) The `payload` macro can be used by schema designers to support mutation fields that receive either: ...
25.496241
116
0.677676
5a5dde25f0dc1d32ff1ad1e4c6b1df083b0bbb46
6,519
ex
Elixir
lib/rdf/term.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
lib/rdf/term.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
lib/rdf/term.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
2
2018-01-19T15:48:27.000Z
2020-03-01T00:29:35.000Z
defprotocol RDF.Term do @moduledoc """ Shared behaviour for all RDF terms. A `RDF.Term` is anything which can be an element of RDF statements of a RDF graph: - `RDF.IRI`s - `RDF.BlankNode`s - `RDF.Literal`s see <https://www.w3.org/TR/sparql11-query/#defn_RDFTerm> """ @type t :: RDF.Resource.t() | ...
28.343478
98
0.667127
5a5de659d26570ba298e905ccc740496dff1dda0
1,219
ex
Elixir
apps/rig_inbound_gateway/lib/rig_inbound_gateway/transports/server_sent_events/serializer.ex
hlavacek/reactive-interaction-gateway
6b968b742d8f0456a51c31dbc744ccfacd57191e
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/lib/rig_inbound_gateway/transports/server_sent_events/serializer.ex
hlavacek/reactive-interaction-gateway
6b968b742d8f0456a51c31dbc744ccfacd57191e
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/lib/rig_inbound_gateway/transports/server_sent_events/serializer.ex
hlavacek/reactive-interaction-gateway
6b968b742d8f0456a51c31dbc744ccfacd57191e
[ "Apache-2.0" ]
null
null
null
defmodule RigInboundGateway.Transports.ServerSentEvents.Serializer do @moduledoc """ Transport serializer for the SSE transport. Resembling the structure of the Phoenix LongPoll and WebSocket transports, the serializer module takes care of normalizing messages into the Message struct. """ @behaviour Pho...
25.93617
76
0.683347
5a5defeeea5b6070015b8701e9a8e7cb10780458
33,680
ex
Elixir
lib/elixir/lib/file.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file.ex
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
defrecord File.Stat, Record.extract(:file_info, from_lib: "kernel/include/file.hrl") do @moduledoc """ A record responsible to hold file information. Its fields are: * `size` - Size of file in bytes. * `type` - `:device`, `:directory`, `:regular`, `:other`. The type of the file. * `access` - `:read`, `:write...
31.041475
115
0.619804
5a5e5c8775791d42f7ac1b365c1f837834024724
3,544
exs
Elixir
apps/slack/test/request_test.exs
pluralsight/compliments
bb0a9f9cc55e41adbdb56d138bf462d0eb12208e
[ "MIT" ]
1
2019-01-16T01:03:14.000Z
2019-01-16T01:03:14.000Z
apps/slack/test/request_test.exs
pluralsight/compliments
bb0a9f9cc55e41adbdb56d138bf462d0eb12208e
[ "MIT" ]
1
2020-04-12T09:58:03.000Z
2020-04-12T09:58:03.000Z
apps/slack/test/request_test.exs
pluralsight/compliments
bb0a9f9cc55e41adbdb56d138bf462d0eb12208e
[ "MIT" ]
2
2018-10-02T18:09:55.000Z
2021-03-19T04:44:25.000Z
defmodule Slack.RequestTest do use ExUnit.Case, async: true use Plug.Test alias Slack.Request @example_body "token=xyzz0WbapA4vBCDEFasx0q6G&team_id=T1DC2JH3J&" <> "team_domain=testteamnow&channel_id=G8PSS9T3V&" <> "channel_name=foobar&user_id=U2CERLKJA&" <> ...
32.218182
92
0.633465
5a5e6ec690212dce3f33d3a139837fd9e9bb7cef
404
ex
Elixir
lib/test_web/live_tables/beitrage_table.ex
clayscode/exzeitable
312e7a0aebda51f5cd3ccee800c1d1affd9d4248
[ "MIT" ]
1
2021-10-18T00:55:47.000Z
2021-10-18T00:55:47.000Z
lib/test_web/live_tables/beitrage_table.ex
EnzymeCorp/exzeitable
74c02ab82de56aaf150006f05836a65a7d47697f
[ "MIT" ]
null
null
null
lib/test_web/live_tables/beitrage_table.ex
EnzymeCorp/exzeitable
74c02ab82de56aaf150006f05836a65a7d47697f
[ "MIT" ]
null
null
null
defmodule TestWeb.BeitrageTable do @moduledoc "Users post table in German" alias TestWeb.Post alias TestWeb.Router.Helpers, as: Routes use Exzeitable, repo: TestWeb.Repo, routes: Routes, path: :post_path, fields: [title: [], content: []], query: from(p in Post), text: TestWeb.GermanText...
23.764706
58
0.668317
5a5e7204bafe511e317814a5204d1c4b257e3bad
2,482
ex
Elixir
lib/linkify.ex
bonfire-networks/linkify
76a4026f73a4593e0ec664d99220bb4e5dea6e34
[ "MIT" ]
1
2021-04-07T01:30:03.000Z
2021-04-07T01:30:03.000Z
lib/linkify.ex
bonfire-networks/linkify
76a4026f73a4593e0ec664d99220bb4e5dea6e34
[ "MIT" ]
null
null
null
lib/linkify.ex
bonfire-networks/linkify
76a4026f73a4593e0ec664d99220bb4e5dea6e34
[ "MIT" ]
null
null
null
defmodule Linkify do @moduledoc """ Create url links from text containing urls. Turns an input string like `"Check out google.com"` into `Check out "<a href=\"http://google.com\">google.com</a>"` ## Examples iex> Linkify.link("google.com") ~s(<a href="http://google.com">google.com</a>) i...
47.730769
231
0.676068
5a5e8f70e32f54994f1357ebfe2697883a86b5c3
254
ex
Elixir
HelloModule.ex
djkoberstein/elixir_test
a8d59c1a1c7a5c298dd0e0620c7452cc88d19a73
[ "MIT" ]
null
null
null
HelloModule.ex
djkoberstein/elixir_test
a8d59c1a1c7a5c298dd0e0620c7452cc88d19a73
[ "MIT" ]
null
null
null
HelloModule.ex
djkoberstein/elixir_test
a8d59c1a1c7a5c298dd0e0620c7452cc88d19a73
[ "MIT" ]
null
null
null
defmodule HelloModule do defmodule Utils do def util do IO.puts "Utilize" end defp priv do :cant_touch_this end end def dummy do :ok end def mul_by(x, n \\ 2) do x * n end end defmodule ByeModule do end
11.545455
26
0.606299
5a5e9650490420d2cf2afa6dbb1e3b2b70deab01
1,174
ex
Elixir
test/support/test_data.ex
danepod/astro
f355a90e5102a5e579ad37c0222560c152c73222
[ "Apache-2.0" ]
null
null
null
test/support/test_data.ex
danepod/astro
f355a90e5102a5e579ad37c0222560c152c73222
[ "Apache-2.0" ]
null
null
null
test/support/test_data.ex
danepod/astro
f355a90e5102a5e579ad37c0222560c152c73222
[ "Apache-2.0" ]
null
null
null
defmodule Astro.TestData do def sunrise(file) do File.read!("./test/support/#{file}.csv") |> String.replace(~r/#.*\n/, "") |> String.replace(~r/\t/, "") |> String.split("\n") |> Enum.map(&String.trim/1) |> Enum.map(&String.split(&1, ",", trim: true)) |> Enum.map(&convert_to_integer/1) en...
25.521739
101
0.594549
5a5edefeacceedb9a6fd3c0e3ea35144865dccdc
4,134
ex
Elixir
test/support/blueprints/migration_schemas.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
test/support/blueprints/migration_schemas.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
test/support/blueprints/migration_schemas.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.MigrationTest.Project do use Brando.Blueprint, application: "Brando", domain: "Projects", schema: "Project", singular: "project", plural: "projects" trait(Brando.Trait.Creator) trait(Brando.Trait.SoftDelete) trait(Brando.Trait.Sequenced) trait(Brando.Trait.Timestamped) ...
25.207317
97
0.667876
5a5ee3256836c378e2a3ec5bc6f81dab609b9c03
2,442
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/conversion_counting_config.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/conversion_counting_config.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/conversion_counting_config.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...
37.569231
197
0.751433
5a5ef3cabe825039f14137739af5c8bb1270b6a1
1,959
ex
Elixir
2021/day12/lib/day12.ex
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
2021/day12/lib/day12.ex
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
2021/day12/lib/day12.ex
faried/advent
1d3817a3c305963ff22e844630bbafd3af242d3e
[ "MIT" ]
null
null
null
defmodule Day12 do @moduledoc """ Documentation for `Day12`. """ def part1(input) do paths = input |> String.split("\n", trim: true) |> build_paths(%{}) Enum.reduce(paths["start"], 0, fn nextcave, acc -> acc + untilend(paths, nextcave, ["start"]) end) end def part2(inp...
22.261364
65
0.53803
5a5f0fe1305c1f8251518883aa55ec600ceeeac9
886
exs
Elixir
test/application/controllers/game_controller_test.exs
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
test/application/controllers/game_controller_test.exs
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
test/application/controllers/game_controller_test.exs
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
defmodule GameControllerTest do use ExUnit.Case import MagiratorAppChannel.GameController alias MagiratorAppChannel.RoutingPacket test "create game" do routing_packet = %RoutingPacket{ user_id: 3, data_in: %{ "decks" => [23,21], "comment" => "Created by GameCont...
26.058824
63
0.55079
5a5f180ede3423a3dd379956671ad9659f62280e
1,688
ex
Elixir
web/web.ex
thommay/bakeoff
4c6cca860c45371f04021c3afceb4fe2e0b8d380
[ "MIT" ]
null
null
null
web/web.ex
thommay/bakeoff
4c6cca860c45371f04021c3afceb4fe2e0b8d380
[ "MIT" ]
null
null
null
web/web.ex
thommay/bakeoff
4c6cca860c45371f04021c3afceb4fe2e0b8d380
[ "MIT" ]
null
null
null
defmodule Bakeoff.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Bakeoff.Web, :controller use Bakeoff.Web, :view The definitions below will be executed for every view, controller, etc, so keep them sho...
21.367089
88
0.670024
5a5f1bcfec8dec8810e9101361790afc04c9585f
2,847
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_entity_type.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_entity_type.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_entity_type.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...
41.26087
278
0.742185
5a5f59b5e271e6fa8069402a4e6937f50464d2d9
3,023
ex
Elixir
apps/writer_kafka/lib/writer/kafka/topic.ex
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/writer_kafka/lib/writer/kafka/topic.ex
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/writer_kafka/lib/writer/kafka/topic.ex
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
defmodule Writer.Kafka.Topic do @behaviour Writer use GenServer use Retry @type init_opts :: [ name: atom, connection: atom, endpoints: [{atom, non_neg_integer}], topic: String.t(), metric_metadata: %{}, config: %{} ] defmodule State do ...
26.752212
93
0.632815
5a5f98e7a42e400007ee8652cff5f2893c26d80a
6,978
exs
Elixir
examples/launch-into-orbit/01-literal.exs
wisq/space_ex
56a87bdd67af093ad70e2843ff4cf963ddf7018c
[ "Apache-2.0" ]
7
2018-01-30T14:09:13.000Z
2021-01-22T22:38:32.000Z
examples/launch-into-orbit/01-literal.exs
wisq/space_ex
56a87bdd67af093ad70e2843ff4cf963ddf7018c
[ "Apache-2.0" ]
null
null
null
examples/launch-into-orbit/01-literal.exs
wisq/space_ex
56a87bdd67af093ad70e2843ff4cf963ddf7018c
[ "Apache-2.0" ]
1
2018-01-30T14:09:17.000Z
2018-01-30T14:09:17.000Z
# This is a VERY LITERAL translation of the example LaunchIntoOrbit.py script # included in the kRPC source tree. # # You should NOT try to write SpaceEx code this way. It's pretty gross, but # it's included as a first step / proof of concept, to show that imperative # kRPC scripts can be translated literally into Spa...
33.07109
94
0.668243
5a5f9fa2e931a8ff2ecd3c9e61c6467c2d973672
2,674
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/web_app.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/web_app.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_management/lib/google_api/android_management/v1/model/web_app.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...
43.129032
248
0.701571
5a5fc1e4267b78b6732273bab9b8b831a0c38501
728
exs
Elixir
clients/elixir/mix.exs
BernardNotarianni/barrel-aof17
02b959aa38751f9912aa1b0dc5d112b76b727585
[ "Apache-2.0" ]
1
2017-09-11T00:35:49.000Z
2017-09-11T00:35:49.000Z
clients/elixir/mix.exs
BernardNotarianni/barrel-aof17
02b959aa38751f9912aa1b0dc5d112b76b727585
[ "Apache-2.0" ]
null
null
null
clients/elixir/mix.exs
BernardNotarianni/barrel-aof17
02b959aa38751f9912aa1b0dc5d112b76b727585
[ "Apache-2.0" ]
null
null
null
defmodule Barrex.Mixfile do use Mix.Project def project do [app: :barrex, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for more...
21.411765
77
0.593407
5a5ff10446fda8a3f96cb2052ab105e69d443331
2,169
exs
Elixir
config/dev.exs
jgchristopher/gitpod-test
82074240ba866983f043962dbe3c7a54ef796527
[ "MIT" ]
null
null
null
config/dev.exs
jgchristopher/gitpod-test
82074240ba866983f043962dbe3c7a54ef796527
[ "MIT" ]
null
null
null
config/dev.exs
jgchristopher/gitpod-test
82074240ba866983f043962dbe3c7a54ef796527
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :gitpod_test, GitpodTest.Repo, username: "postgres", password: "postgres", database: "gitpod_test_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and cod...
28.168831
68
0.695251
5a602a77c2c639a2376878576c73739d54fdd7d9
5,160
ex
Elixir
lib/bitstyles_phoenix/component/flash.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
4
2021-03-12T07:57:06.000Z
2021-11-15T11:41:30.000Z
lib/bitstyles_phoenix/component/flash.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
39
2021-03-11T15:36:51.000Z
2022-01-04T12:13:48.000Z
lib/bitstyles_phoenix/component/flash.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
null
null
null
defmodule BitstylesPhoenix.Component.Flash do use BitstylesPhoenix.Component import BitstylesPhoenix.Component.Content @moduledoc """ Component for building flash messages. """ @doc ~s""" Render a flash message. Inform the user of a global or important event, such as may happen after a page reload. ...
27.891892
158
0.534302
5a6030e90e1e90990d990d540b1ed034deeb8ad2
448
exs
Elixir
integration_test/cases/browser_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
926
2016-03-28T17:01:54.000Z
2019-11-05T11:59:58.000Z
integration_test/cases/browser_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
377
2016-03-17T00:35:56.000Z
2019-11-03T07:15:24.000Z
integration_test/cases/browser_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
144
2016-03-29T15:28:28.000Z
2019-10-31T00:48:42.000Z
defmodule Wallaby.Integration.BrowserTest do use Wallaby.Integration.SessionCase, async: true describe "has?/2" do test "allows css queries", %{session: session} do session |> visit("/page_1.html") |> has?(Query.css(".blue")) |> assert end test "allows text queries", %{session:...
22.4
54
0.598214
5a603f6222dda8e6b9b324eaf1df489493f116fc
635
ex
Elixir
day07/lib/day07.ex
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
10
2021-12-01T08:49:00.000Z
2022-03-24T13:24:50.000Z
day07/lib/day07.ex
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
null
null
null
day07/lib/day07.ex
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
1
2021-12-16T07:09:11.000Z
2021-12-16T07:09:11.000Z
defmodule Day07 do def part1(input) do solve(input, &(&1)) end def part2(input) do solve(input, &(div(&1 * (&1 + 1), 2))) end defp solve(input, fuel_needed) do crabs = parse(input) {min,max} = Enum.min_max(crabs) Enum.map(min..max, fn position -> align_crabs(position, crabs, fuel_...
19.84375
51
0.611024
5a6072e892e1196ebbd69bcd85496cac2952c770
19,010
ex
Elixir
lib/date/dateformat.ex
pma/timex
80f13fe5cdf56f5f8beb980f0131c9d134becd08
[ "MIT" ]
2
2018-05-25T17:19:19.000Z
2020-11-21T06:54:33.000Z
lib/date/dateformat.ex
pma/timex
80f13fe5cdf56f5f8beb980f0131c9d134becd08
[ "MIT" ]
null
null
null
lib/date/dateformat.ex
pma/timex
80f13fe5cdf56f5f8beb980f0131c9d134becd08
[ "MIT" ]
null
null
null
defmodule Timex.DateFormat do require Record @moduledoc """ Date formatting and parsing. This module provides an interface and core implementation for converting date values into strings (formatting) or the other way around (parsing) according to the specified template. Multiple template formats are su...
31.789298
147
0.56465
5a60899ff4caa829ce439280e32a5aad9e138158
85
ex
Elixir
lib/single_product_web/views/user_confirmation_view.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
lib/single_product_web/views/user_confirmation_view.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
lib/single_product_web/views/user_confirmation_view.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
defmodule SingleProductWeb.UserConfirmationView do use SingleProductWeb, :view end
21.25
50
0.858824
5a6090be7843f63c8c919f997ef77f6970681f33
979
exs
Elixir
mix.exs
madhuravius/redlock
6d39156bad658abd4cbdaa955e9b64fffb4c15e6
[ "MIT" ]
null
null
null
mix.exs
madhuravius/redlock
6d39156bad658abd4cbdaa955e9b64fffb4c15e6
[ "MIT" ]
null
null
null
mix.exs
madhuravius/redlock
6d39156bad658abd4cbdaa955e9b64fffb4c15e6
[ "MIT" ]
null
null
null
defmodule Redlock.Mixfile do use Mix.Project def project do [ app: :redlock, version: "1.0.10", elixir: "~> 1.5", package: package(), start_permanent: Mix.env == :prod, deps: deps() ] end def application do [ extra_applications: [:logger, :secure_random, :...
21.755556
84
0.517875
5a6097b1b213851ea7264e13fa467aa5315d6fed
2,718
exs
Elixir
test/steemex_test.exs
cyberpunk-ventures/steemex
dca8a33273aeaa3a5f03804fead1af71bd786f29
[ "MIT" ]
20
2016-08-06T22:53:11.000Z
2018-09-16T23:17:02.000Z
test/steemex_test.exs
cyberpunk-ventures/steemex
dca8a33273aeaa3a5f03804fead1af71bd786f29
[ "MIT" ]
null
null
null
test/steemex_test.exs
cyberpunk-ventures/steemex
dca8a33273aeaa3a5f03804fead1af71bd786f29
[ "MIT" ]
null
null
null
defmodule SteemexTest do use ExUnit.Case, async: true alias Steemex.{Block, WS, IdStore} import Steemex doctest Steemex @db_api "database_api" setup_all context do if Application.get_env(:steemex, :api) == :jsonrpc_wss_api do api_url = Application.get_env(:steemex, :api_url) {:ok, pid} = WS...
25.641509
78
0.643488
5a60bb0a01f43533a9135c11f0eacca2e5efa983
15,797
exs
Elixir
lib/mix/test/mix/tasks/test_test.exs
nolman/elixir
88694f02fbb9c9cdb9a893ec88d0cb4b80fb938d
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/test_test.exs
nolman/elixir
88694f02fbb9c9cdb9a893ec88d0cb4b80fb938d
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/test_test.exs
nolman/elixir
88694f02fbb9c9cdb9a893ec88d0cb4b80fb938d
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.TestTest do use MixTest.Case describe "ex_unit_opts/1" do test "returns ex unit options" do assert ex_unit_opts_from_given(unknown: "ok", seed: 13) == [seed: 13] end test "returns includes and excludes" do included = ...
30.733463
124
0.553206
5a60c12f0856fae7e178562effe0ba0d3bd35cb0
61
ex
Elixir
lib/webchat_web/views/page_view.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
lib/webchat_web/views/page_view.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
1
2020-08-04T19:50:09.000Z
2020-08-04T19:50:09.000Z
lib/webchat_web/views/page_view.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
defmodule WebchatWeb.PageView do use WebchatWeb, :view end
15.25
32
0.803279
5a60c5d502cf164e68d0a6f4deeeb051556453db
1,118
ex
Elixir
graphical/lib/graphical_web/controllers/user_controller.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
graphical/lib/graphical_web/controllers/user_controller.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
graphical/lib/graphical_web/controllers/user_controller.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
defmodule GraphicalWeb.UserController do use GraphicalWeb, :controller alias Graphical.Accounts alias Graphical.Accounts.User action_fallback GraphicalWeb.FallbackController def index(conn, _params) do users = Accounts.list_users() render(conn, "index.json", users: users) end def create(conn, ...
26
76
0.63864
5a60da6bdbadaa742587200c5788ac5dbb0a58fe
83,798
exs
Elixir
priv/endpoints.exs
lex-mala/ex_aws
06f3962d4077d00560b3bff99647eb82cd68fa8f
[ "MIT" ]
null
null
null
priv/endpoints.exs
lex-mala/ex_aws
06f3962d4077d00560b3bff99647eb82cd68fa8f
[ "MIT" ]
1
2022-03-09T22:58:02.000Z
2022-03-30T16:39:23.000Z
priv/endpoints.exs
lex-mala/ex_aws
06f3962d4077d00560b3bff99647eb82cd68fa8f
[ "MIT" ]
1
2022-03-09T16:40:43.000Z
2022-03-09T16:40:43.000Z
%{ "partitions" => [ %{ "defaults" => %{ "hostname" => "{service}.{region}.{dnsSuffix}", "protocols" => ["https"], "signatureVersions" => ["v4"] }, "dnsSuffix" => "amazonaws.com", "partition" => "aws", "partitionName" => "AWS Standard", "regionRegex" => ...
34.119707
98
0.310556
5a60fb2e38a16d56b55e12ae5cac535fc3c9ad06
574
exs
Elixir
priv/repo/migrations/20210707135227_create_asset_exchange_pairs_table.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20210707135227_create_asset_exchange_pairs_table.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20210707135227_create_asset_exchange_pairs_table.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.CreateAssetExchangeTable do use Ecto.Migration @table :asset_exchange_pairs def change do create table(@table) do add(:base_asset, :string, null: false) add(:quote_asset, :string, null: false) add(:exchange, :string, null: false) add(:source, :string,...
27.333333
81
0.672474
5a611e790f4c57913bfefef7b61b3bb149effdca
52,505
ex
Elixir
lib/ecto/adapters/tds/connection.ex
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/tds/connection.ex
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/tds/connection.ex
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
if Code.ensure_loaded?(Tds) do defmodule Ecto.Adapters.Tds.Connection do @moduledoc false require Logger alias Tds.Query alias Ecto.Query.Tagged alias Ecto.Adapters.SQL require Ecto.Schema @behaviour Ecto.Adapters.SQL.Connection @impl true def child_spec(opts) do opts ...
30.020011
107
0.564956
5a614e46fa5c5c4b7b5b7551accb7fe76e0066fd
334
exs
Elixir
config/config.exs
kianmeng/ex_aws_sqs
7b8f90b26ba7495e3c589b87c185a40677aa284a
[ "MIT", "Unlicense" ]
null
null
null
config/config.exs
kianmeng/ex_aws_sqs
7b8f90b26ba7495e3c589b87c185a40677aa284a
[ "MIT", "Unlicense" ]
null
null
null
config/config.exs
kianmeng/ex_aws_sqs
7b8f90b26ba7495e3c589b87c185a40677aa284a
[ "MIT", "Unlicense" ]
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 # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. if Mix.env() == :test do import_config "#{Mix.e...
37.111111
68
0.766467
5a614ff347bcbd0f91b060005567ebf52d776541
185
ex
Elixir
lib/osm_points_web/resolvers/point.ex
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
2
2018-01-18T20:38:08.000Z
2020-01-19T17:44:20.000Z
lib/osm_points_web/resolvers/point.ex
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
85
2018-02-26T05:30:01.000Z
2021-07-26T06:22:02.000Z
lib/osm_points_web/resolvers/point.ex
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
1
2018-10-07T06:57:34.000Z
2018-10-07T06:57:34.000Z
defmodule OsmPointsWeb.Resolvers.Point do import Ecto.Query def list_points(_parent, _args, _resolution) do {:ok, OsmPoints.Point |> limit(10) |> OsmPoints.Repo.all} end end
23.125
61
0.735135
5a61534278ae900d1a64d5783d53e54d79b4df74
2,135
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/model/apt_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/model/apt_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/os_config/lib/google_api/os_config/v1/model/apt_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.283019
300
0.723185
5a615600dafea618a31b411b54a238aaa33c3f74
1,035
ex
Elixir
elixir/test/support/factory.ex
alexparker/divvy-homework
f656b6966c626befb5404d0c8455de86da5aab14
[ "MIT" ]
null
null
null
elixir/test/support/factory.ex
alexparker/divvy-homework
f656b6966c626befb5404d0c8455de86da5aab14
[ "MIT" ]
null
null
null
elixir/test/support/factory.ex
alexparker/divvy-homework
f656b6966c626befb5404d0c8455de86da5aab14
[ "MIT" ]
2
2021-03-16T22:27:37.000Z
2021-10-16T08:38:35.000Z
defmodule Homework.Factory do use ExMachina.Ecto, repo: Homework.Repo @doc """ User Factory """ def user_factory do %Homework.Users.User{ first_name: Faker.Person.first_name(), last_name: Faker.Person.last_name(), dob: "#{Faker.Date.date_of_birth(18..98)}", company: build(:company...
20.294118
49
0.633816
5a6199fa95bd11004b726aeddf4ef97e1966fca0
6,087
ex
Elixir
lib/http_proxy/utils/file.ex
KazuCocoa/http_proxy
f8050af0ecb6629e2c4e6c3e7507de3af5a108e5
[ "MIT" ]
62
2015-11-08T05:16:22.000Z
2021-12-24T21:23:30.000Z
lib/http_proxy/utils/file.ex
KazuCocoa/http_proxy
f8050af0ecb6629e2c4e6c3e7507de3af5a108e5
[ "MIT" ]
30
2015-12-18T03:38:07.000Z
2021-06-25T15:16:18.000Z
lib/http_proxy/utils/file.ex
KazuCocoa/http_proxy
f8050af0ecb6629e2c4e6c3e7507de3af5a108e5
[ "MIT" ]
9
2016-01-17T06:57:21.000Z
2022-02-17T08:42:39.000Z
defmodule HttpProxy.Utils.File do @moduledoc """ This module provides several paths associated with HttpProxy and file operation. """ @doc ~S""" Structure associated with file paths. Top path is set in `config/config.exs`. `mapping_files` and `response_files` are created in the top path. ## Example ...
32.550802
124
0.622474
5a619b038351b3651402b9951f1c5023de5162e4
1,978
ex
Elixir
clients/gke_hub/lib/google_api/gke_hub/v1/model/config_management_hierarchy_controller_config.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/gke_hub/lib/google_api/gke_hub/v1/model/config_management_hierarchy_controller_config.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/gke_hub/lib/google_api/gke_hub/v1/model/config_management_hierarchy_controller_config.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.320755
145
0.742669
5a61b1d147d7bffb581eb9f33fd45ac6fd3e8a6e
564
exs
Elixir
elixir/aoc/mix.exs
ckanljung/aoc2020
f02846744f3a6c3f9e38cfcd617cbb4c701e3bd5
[ "Apache-2.0" ]
null
null
null
elixir/aoc/mix.exs
ckanljung/aoc2020
f02846744f3a6c3f9e38cfcd617cbb4c701e3bd5
[ "Apache-2.0" ]
null
null
null
elixir/aoc/mix.exs
ckanljung/aoc2020
f02846744f3a6c3f9e38cfcd617cbb4c701e3bd5
[ "Apache-2.0" ]
null
null
null
defmodule AOC.MixProject do use Mix.Project def project do [ app: :aoc, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicatio...
19.448276
87
0.570922
5a61cad354b5faeaa984ac6bac33b2344ab71a4c
2,032
ex
Elixir
lib/Pokedex/items.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
lib/Pokedex/items.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
lib/Pokedex/items.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
defmodule Pokedex.Items do @moduledoc """ Documentation for https://pokeapi.co/docs/v2.html/#items-section """ @item_endpoint "/item/" @item_attribute_endpoint "/item-attribute/" @item_category_endpoint "/item-category/" @item_fling_effect_endpoint "/item-fling-effect/" @item_pocket_endpoint "/item-poc...
32.253968
73
0.741142
5a61cddff8a3550cea8fc4dbf4beca5394a0c7bf
2,032
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_age_gating.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/video_age_gating.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_age_gating.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 ...
38.339623
284
0.72687
5a61d84cbbb3c21bbd78f83e7cfeb275eaf2cd8e
7,680
ex
Elixir
lib/celery/compiler.ex
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
lib/celery/compiler.ex
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
lib/celery/compiler.ex
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Celery.Compiler do @moduledoc """ Responsible for compiling canonical CeleryScript AST into Elixir AST. """ require Logger alias FarmbotOS.Celery.{AST, Compiler} @doc "Returns current debug mode value" def debug_mode?() do # Set this to `true` when debuging. false end ...
29.883268
85
0.678125
5a61f3af35b0e1a01bd124801307a1c1b468dbf5
3,133
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/custom_data_sources.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/custom_data_sources.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics/lib/google_api/analytics/v3/model/custom_data_sources.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...
46.073529
299
0.707628
5a6239a7f1def3d0b69fcc40023e71425d6d15c6
1,810
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__test_iam_permissions_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__test_iam_permissions_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__test_iam_permissions_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.909091
135
0.739779
5a62423d7a08fe0987279d4be53db506f4cf0f18
1,246
ex
Elixir
lib/bitcoin/protocol/messages/not_found.ex
justinlynn/bitcoin-ex
42a10731484fa486cfa9001bd7ec7dfec85da237
[ "Apache-2.0" ]
59
2015-06-08T12:17:12.000Z
2021-02-08T20:04:34.000Z
lib/bitcoin/protocol/messages/not_found.ex
justinlynn/bitcoin-ex
42a10731484fa486cfa9001bd7ec7dfec85da237
[ "Apache-2.0" ]
4
2017-03-26T12:56:59.000Z
2021-05-29T01:26:57.000Z
lib/bitcoin/protocol/messages/not_found.ex
justinlynn/bitcoin-ex
42a10731484fa486cfa9001bd7ec7dfec85da237
[ "Apache-2.0" ]
18
2015-06-08T06:53:45.000Z
2020-12-25T00:53:40.000Z
defmodule Bitcoin.Protocol.Messages.NotFound do @moduledoc """ notfound is a response to a getdata, sent if any requested data items could not be relayed, for example, because the requested transaction was not in the memory pool or relay set. https://en.bitcoin.it/wiki/Protocol_specification#notfound ...
23.509434
116
0.663724
5a625462ae691d7383555f052c6732d01da04485
1,857
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/html_content.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/html_content.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/html_content.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.037736
163
0.714055
5a6278a4dbfd0cd87c37bc51202a87fd496f4228
9,181
exs
Elixir
test/ecto/repo/embedded_test.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
test/ecto/repo/embedded_test.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
test/ecto/repo/embedded_test.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo.EmbeddedTest do use ExUnit.Case, async: true alias Ecto.TestRepo, as: TestRepo defmodule SubEmbed do use Ecto.Schema @primary_key {:id, :binary_id, autogenerate: true} schema "" do field :y, :string end end defmodule MyEmbed do use Ecto.Schema @primary_ke...
29.332268
106
0.652434
5a62d37f5468ff2cc476a68f4b2ee35bdf65fd5f
319
exs
Elixir
02/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
3
2016-01-18T01:14:45.000Z
2017-05-11T09:14:49.000Z
02/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
02/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
result = Path.join(__DIR__, "input.txt") |> File.read! |> String.split("\n", trim: true) |> Enum.reduce(0, fn dimensions, acc -> [l, w, h] = dimensions |> String.split("x") |> Enum.map(&String.to_integer/1) sides = [l*w, w*h, h*l] acc + Enum.sum(sides) * 2 + Enum.min(sides) end) |> IO.inspect ^result = 1586300
26.583333
79
0.61442
5a62efee07a39b6de3b9a0de94d1ddac66ced6c4
11,165
exs
Elixir
test/bitcoin/tx/tx_maker_test.exs
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
2
2019-08-12T04:53:57.000Z
2019-09-03T03:47:33.000Z
test/bitcoin/tx/tx_maker_test.exs
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
test/bitcoin/tx/tx_maker_test.exs
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defmodule Bitocin.Tx.TxMakerTest do alias Bitcoin.Tx.TxMaker alias Bitcoin.Protocol.Messages alias Bitcoin.Protocol.Types.TxInput alias Bitcoin.Protocol.Types.TxOutput alias Bitcoin.Protocol.Types.Outpoint alias Bitcoin.Tx.Utxo alias Bitcoin.Util use ExUnit.Case test "estimate_tx_fee" do assert ...
38.5
525
0.617465
5a633b7f9095df02fcdf1dc42494217b2e9f9b59
1,378
ex
Elixir
web/router.ex
nihonjinrxs/national-voter-file-api
690c40bd46e196cebb6325341f1197a862c38632
[ "MIT" ]
12
2017-03-24T02:58:38.000Z
2020-11-18T15:29:33.000Z
web/router.ex
nihonjinrxs/national-voter-file-api
690c40bd46e196cebb6325341f1197a862c38632
[ "MIT" ]
22
2016-12-31T17:14:33.000Z
2021-06-09T17:02:59.000Z
web/router.ex
nihonjinrxs/national-voter-file-api
690c40bd46e196cebb6325341f1197a862c38632
[ "MIT" ]
7
2017-02-27T15:42:55.000Z
2017-10-13T15:26:02.000Z
defmodule NationalVoterFile.Router do use NationalVoterFile.Web, :router use Plug.ErrorHandler use Sentry.Plug pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :logging do plu...
24.175439
76
0.714804
5a634ac6a11a17b3b9f6b2358dc2fd563f4fa1a5
921
ex
Elixir
installer/templates/phx_single/lib/app_name/application.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
installer/templates/phx_single/lib/app_name/application.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
installer/templates/phx_single/lib/app_name/application.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
defmodule <%= app_module %>.Application do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [<%= if ecto d...
36.84
95
0.672096
5a634c97ff1754930ebfe91dd47d78df873e8a17
2,174
ex
Elixir
lib/sanbase/billing/plan/sanbase_access_checker.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/billing/plan/sanbase_access_checker.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/billing/plan/sanbase_access_checker.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Billing.Plan.SanbaseAccessChecker do @moduledoc ~s""" Implement the restrictions for the Sanbase product """ @doc documentation_ref: "# DOCS access-plans/index.md" alias Sanbase.Billing.Plan alias Sanbase.Alert.UserTrigger @alerts_limits_upgrade_message """ You have reached the maxi...
24.704545
91
0.706072
5a63609cb70e0422ccf995010c91a40e370d27fb
978
ex
Elixir
lib/api/my_bills.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
5
2021-11-03T03:45:59.000Z
2021-12-14T04:39:06.000Z
lib/api/my_bills.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
1
2021-12-14T18:26:14.000Z
2021-12-14T18:26:14.000Z
lib/api/my_bills.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
3
2021-12-07T01:51:55.000Z
2021-12-08T22:21:46.000Z
defmodule Memex.My.Bills do alias Memex.Env.WikiManager def new(%{tags: tlist} = params) when is_list(tlist) do validate_tag_list!(tlist) params |> Map.merge(%{tags: tlist ++ ["my_bills"]}) |> Memex.My.Wiki.new_tidbit() end def new(params) when is_map(params) do params |> Map.merge(%{...
25.736842
78
0.666667
5a636de2105cd2471bc3aa31d788e50649df736a
1,812
exs
Elixir
sips/010_list_comprehensions/card_deck/test/elixir_card_deck_test.exs
adamzaninovich/learning-elixir
015d803682bad4eceaacff6e9a0a789b168a5e7a
[ "MIT" ]
null
null
null
sips/010_list_comprehensions/card_deck/test/elixir_card_deck_test.exs
adamzaninovich/learning-elixir
015d803682bad4eceaacff6e9a0a789b168a5e7a
[ "MIT" ]
null
null
null
sips/010_list_comprehensions/card_deck/test/elixir_card_deck_test.exs
adamzaninovich/learning-elixir
015d803682bad4eceaacff6e9a0a789b168a5e7a
[ "MIT" ]
null
null
null
defmodule ElixirCardDeckTest do use ExUnit.Case test "generates the first card appropriately" do [first_card | rest] = ElixirCardDeck.make_deck assert first_card == {:card, :a, :spades} end test "generated the whole deck appropriately" do proper_deck = [ {:card, :a, :spades}, {:card, :...
27.044776
50
0.460817
5a637e8a60a5da60f5acfae2ed2bc3fd2652fa6e
1,951
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/get_policy_options.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/get_policy_options.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/get_policy_options.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.510638
541
0.769349
5a6384d0860392563d5f87e1b86dcd5f418a0d0d
755
exs
Elixir
behaviour_test/elixir/mix.exs
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
3
2019-02-11T11:32:44.000Z
2019-03-01T15:58:46.000Z
behaviour_test/elixir/mix.exs
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
1
2019-02-05T17:20:15.000Z
2019-02-11T11:03:14.000Z
behaviour_test/elixir/mix.exs
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
1
2019-08-08T16:40:26.000Z
2019-08-08T16:40:26.000Z
defmodule BehaviourTest.MixProject do use Mix.Project def project do [ app: :behaviour_test, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
22.205882
88
0.54702
5a63876aa21a732c5b5ccaa8c753b621fe6574e4
1,762
ex
Elixir
lib/still/web/error_formatter.ex
fmterrorf/still
fd316bcc38cdf618444dbd36ec9d259fe5256a3e
[ "0BSD" ]
null
null
null
lib/still/web/error_formatter.ex
fmterrorf/still
fd316bcc38cdf618444dbd36ec9d259fe5256a3e
[ "0BSD" ]
null
null
null
lib/still/web/error_formatter.ex
fmterrorf/still
fd316bcc38cdf618444dbd36ec9d259fe5256a3e
[ "0BSD" ]
null
null
null
defmodule Still.Web.ErrorFormatter do @moduledoc """ Prettifies compilation errors to be displayed in the browser. Should only run in the `dev` environment. """ def format(e) do """ <div class='dev-error'> <h1>#{error_title(e)}</h1> #{render_stacktrace(e) |> String.trim()} <h2>Error...
23.493333
94
0.561294
5a639cb8ec61d7a6155eb5b0604c9def89066f0f
1,819
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_operations_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_operations_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_operations_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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...
36.38
173
0.744915
5a63aa6a5c407d2f88b9bf911b6063c5b6f8d4e7
1,543
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/dimension.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/dimension.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/dimension.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.86
120
0.716137
5a63b296776f0ca6ca8e9973ff54cd374ae089ff
1,096
ex
Elixir
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/managed_cluster_upgrade_profile_properties.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/managed_cluster_upgrade_profile_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/managed_cluster_upgrade_profile_properties.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.ManagedClusterUpgradeProfileProperties do @moduledoc """ Control plane and agent pool upgrade prof...
35.354839
138
0.781022
5a63dab9f0848ad6d621e2ce4554b37f54745e74
1,083
exs
Elixir
apps/ewallet_db/priv/repo/seeds_test/10_setting.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/priv/repo/seeds_test/10_setting.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/priv/repo/seeds_test/10_setting.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
28.5
74
0.702678
5a63db4ccebf0c3a039fcf91010e20c632b29597
2,844
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
53.660377
426
0.750703
5a63de9b36788d818af00ba45b0d2e2554c411db
1,795
exs
Elixir
apps/diet_web/mix.exs
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
1
2020-06-01T21:25:54.000Z
2020-06-01T21:25:54.000Z
apps/diet_web/mix.exs
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
221
2019-07-20T17:20:49.000Z
2021-08-02T06:21:10.000Z
apps/diet_web/mix.exs
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
null
null
null
defmodule DietWeb.MixProject do use Mix.Project def project do [ app: :diet_web, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", elixirc_paths: elixirc_pa...
27.615385
76
0.579387
5a63e4e0f1885cf8188aa513b494adf23b79546c
1,004
ex
Elixir
lib/litelist_web/views/shared_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
lib/litelist_web/views/shared_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
lib/litelist_web/views/shared_view.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
defmodule LitelistWeb.SharedView do @doc """ getVal is used to map an inputted resource and a corresponding attribute to its saved value. That sounds like a lot but its basically a utility for the edit form so that form fields prepopulate with the correct information. ## Examples iex> LitelistWeb.Shar...
26.421053
228
0.664343
5a6410635d5f3b91fb8432e02ac1cc92b09dde56
588
exs
Elixir
priv/repo/migrations/20151022144345_create_file.exs
yknx4/opencov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
8
2021-08-22T10:37:57.000Z
2022-01-10T11:27:06.000Z
priv/repo/migrations/20151022144345_create_file.exs
yknx4/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
109
2021-08-20T04:08:04.000Z
2022-01-03T07:39:18.000Z
priv/repo/migrations/20151022144345_create_file.exs
Librecov/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
null
null
null
defmodule Librecov.Repo.Migrations.CreateFile do use Ecto.Migration def change do create table(:files) do add(:job_id, :integer, null: false) add(:name, :string, null: false) add(:source, :text, null: false) add(:coverage_lines, {:array, :integer}, null: false) add(:coverage, :flo...
26.727273
59
0.641156
5a6492c16bb4efc55fae86ecaf70b0f28abad5a0
43,180
exs
Elixir
test/ecto/repo_test.exs
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
test/ecto/repo_test.exs
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
test/ecto/repo_test.exs
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.RepoTest do use ExUnit.Case, async: true import Ecto.Query import Ecto, only: [put_meta: 2] require Ecto.TestRepo, as: TestRepo defmodule MyParent do use Ecto.Schema @schema_prefix "private" schema "my_parent" do field :n, :integer end def changeset(struct, params...
34.794521
119
0.632654
5a64f79e43814ce1abd339c859c748b4c1d441b8
1,949
ex
Elixir
lib/topshelf/measurements.ex
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
lib/topshelf/measurements.ex
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
lib/topshelf/measurements.ex
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
defmodule Topshelf.Measurements do @units ["oz", "ml"] def validate_measurement(changeset, field) do Ecto.Changeset.validate_change(changeset, field, fn field, value -> case to_measure(value) do {_measure, unit} when unit in @units -> [] {_value, unit} -> [ ...
31.95082
122
0.636224
5a650219feb3034117aee3d4e51d5d16e79fc4f1
1,702
ex
Elixir
lib/bgg/game.ex
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
3
2016-01-19T14:40:39.000Z
2020-07-07T16:37:55.000Z
lib/bgg/game.ex
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
null
null
null
lib/bgg/game.ex
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
null
null
null
defmodule BGG.Game do @moduledoc """ Game resources """ defstruct [ :age, :description, :maxplayers, :maxplaytime, :minplayers, :minplaytime, :name, :objectid, :rank, :thumbnail, :yearpublished ] def games(ids) do objectids = Enum.join(...
21.820513
58
0.605758
5a65139cf7b1f8551a87fe66fc77d55e5821a28c
14,053
exs
Elixir
test/paper_trail_strict_mode_test.exs
mihailacusteanu/paper_trail
928f1dc422c752f194176d0ebe1932224e749d37
[ "MIT" ]
null
null
null
test/paper_trail_strict_mode_test.exs
mihailacusteanu/paper_trail
928f1dc422c752f194176d0ebe1932224e749d37
[ "MIT" ]
null
null
null
test/paper_trail_strict_mode_test.exs
mihailacusteanu/paper_trail
928f1dc422c752f194176d0ebe1932224e749d37
[ "MIT" ]
null
null
null
# test one with user:, one with originator defmodule PaperTrailStrictModeTest do use ExUnit.Case import Ecto.Query alias PaperTrail.Version alias StrictCompany, as: Company alias StrictPerson, as: Person @repo PaperTrail.RepoClient.repo @create_company_params %{name: "Acme LLC", is_active: true, city: ...
33.944444
99
0.648047
5a65259ce03105aa6b0be98054ef0f13aa9cf82d
9,652
ex
Elixir
apps/gitgud_web/lib/gitgud_web/views/codebase_view.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud_web/views/codebase_view.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud_web/views/codebase_view.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
null
null
null
defmodule GitGud.Web.CodebaseView do @moduledoc false use GitGud.Web, :view alias GitRekt.GitAgent alias GitGud.Repo alias GitGud.Issue alias GitGud.IssueQuery alias GitRekt.{GitCommit, GitRef, GitTag} import Phoenix.HTML.Link import Phoenix.HTML.Tag import GitRekt.Git, only: [oid_fmt: 1, oid_f...
45.961905
225
0.668359
5a653f159a278d634fd0562697f79bfffbc52ca0
1,286
ex
Elixir
lib/surface/components/form/datetime_local_input.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
1,161
2019-12-12T02:30:52.000Z
2021-03-11T17:55:44.000Z
lib/surface/components/form/datetime_local_input.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
248
2021-03-12T07:39:37.000Z
2022-03-31T13:36:44.000Z
lib/surface/components/form/datetime_local_input.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
73
2019-12-12T13:57:41.000Z
2021-03-11T21:46:10.000Z
defmodule Surface.Components.Form.DateTimeLocalInput do @moduledoc """ An input field that let the user enter both **date** and **time**, using a text field and a date picker interface. Provides a wrapper for Phoenix.HTML.Form's `datetime_local_input/3` function. All options passed via `opts` will be sent t...
28.577778
88
0.698289
5a65430c76fd9127779b7e37effc1efe135c9f2f
4,516
ex
Elixir
lib/smart_city/dataset.ex
Datastillery/smart_city
4f697f4c2a107c4283b4ab9f8f92e15d264d1879
[ "Apache-2.0" ]
null
null
null
lib/smart_city/dataset.ex
Datastillery/smart_city
4f697f4c2a107c4283b4ab9f8f92e15d264d1879
[ "Apache-2.0" ]
2
2021-05-28T16:42:32.000Z
2021-05-28T16:43:38.000Z
lib/smart_city/dataset.ex
Datastillery/smart_city
4f697f4c2a107c4283b4ab9f8f92e15d264d1879
[ "Apache-2.0" ]
null
null
null
defmodule SmartCity.Dataset do @moduledoc """ Struct defining a dataset definition and functions for retrieving key elements of the dataset for handling. ```javascript const Dataset = { "id": "", // UUID "business": { // Project Open Data Metadata Schema v1.1 "authorEm...
26.104046
96
0.569309
5a655d602a029551dd1dbec5b658243b1a097fde
425
exs
Elixir
test/cableclub_web/views/error_view_test.exs
CableClub/cable-club-core
70c67c7a105dea83f2c1a1e2ee75a1ee97713bfb
[ "Apache-2.0" ]
null
null
null
test/cableclub_web/views/error_view_test.exs
CableClub/cable-club-core
70c67c7a105dea83f2c1a1e2ee75a1ee97713bfb
[ "Apache-2.0" ]
null
null
null
test/cableclub_web/views/error_view_test.exs
CableClub/cable-club-core
70c67c7a105dea83f2c1a1e2ee75a1ee97713bfb
[ "Apache-2.0" ]
null
null
null
defmodule CableClubWeb.ErrorViewTest do use CableClubWeb.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(CableClubWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do ...
28.333333
94
0.738824