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
6510784f2165abee6b29b05f18be7759b6329227
6,016
exs
Elixir
apps/language_server/test/providers/code_lens/type_spec/contract_translator_test.exs
bottlenecked/elixir-ls
99ab6e98ff181aae01ca3d119dee0ea9c49c727a
[ "Apache-2.0" ]
null
null
null
apps/language_server/test/providers/code_lens/type_spec/contract_translator_test.exs
bottlenecked/elixir-ls
99ab6e98ff181aae01ca3d119dee0ea9c49c727a
[ "Apache-2.0" ]
null
null
null
apps/language_server/test/providers/code_lens/type_spec/contract_translator_test.exs
bottlenecked/elixir-ls
99ab6e98ff181aae01ca3d119dee0ea9c49c727a
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Providers.CodeLens.TypeSpec.ContractTranslatorTest do use ExUnit.Case, async: true alias ElixirLS.LanguageServer.Providers.CodeLens.TypeSpec.ContractTranslator test "translate struct when struct.t type exists" do contract = '() -> \#{\'__struct__\':=\'Elixir.DateTime\'}' ...
31.333333
98
0.60123
6510b7e9d4624ca46febf97af89935ef31cbfadd
3,478
ex
Elixir
apps/log_watcher/lib/log_watcher.ex
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
1
2021-11-03T03:26:44.000Z
2021-11-03T03:26:44.000Z
apps/log_watcher/lib/log_watcher.ex
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
null
null
null
apps/log_watcher/lib/log_watcher.ex
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
null
null
null
defmodule LogWatcher do @moduledoc """ LogWatcher keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. Collection of utilities in this module. """ alias LogWatcher.{Tas...
31.618182
92
0.666763
6510bdcb841f1479a62faa74e57e2c8cd474cbf1
2,116
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/custom_error.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_user/lib/google_api/service_user/v1/model/custom_error.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/custom_error.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 "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 ...
34.688525
170
0.722117
6510c07c5ca0719eb058c00164352ad2c8453258
1,785
ex
Elixir
lib/sahara_web/plugs/auth.ex
ojizero/sahara
ee886ed1e3434cb1193770037e3c029773f0b192
[ "MIT" ]
null
null
null
lib/sahara_web/plugs/auth.ex
ojizero/sahara
ee886ed1e3434cb1193770037e3c029773f0b192
[ "MIT" ]
null
null
null
lib/sahara_web/plugs/auth.ex
ojizero/sahara
ee886ed1e3434cb1193770037e3c029773f0b192
[ "MIT" ]
null
null
null
defmodule SaharaWeb.Plugs.Auth do import Plug.Conn @accepted_tokens [ "test_token_ieunxpma6pxnk", "test_token_MHCqhbYKsc007", "test_token_JbSVJAsdlx007", "test_token_d28ilZPYNX007", "test_token_7bVt6p2GFx007", "test_token_0d1fuvoiXw007", "test_token_DhpxehcVtQ007", "test_token_K6YyT...
26.25
94
0.627451
6510cdc4d1d6af90ded1b5432e99872ef16e64ec
78
exs
Elixir
episode-025/test/views/layout_view_test.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
84
2016-07-02T05:21:36.000Z
2021-02-12T22:45:45.000Z
episode-036/test/views/layout_view_test.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
3
2016-07-02T06:03:47.000Z
2017-06-03T14:11:06.000Z
episode-014/elm_is_fun/test/views/layout_view_test.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
6
2017-02-16T19:33:49.000Z
2019-04-05T19:27:17.000Z
defmodule ElmIsFun.LayoutViewTest do use ElmIsFun.ConnCase, async: true end
19.5
36
0.820513
651170672fd0c1426462869d9533861a55f1a187
142
ex
Elixir
testData/org/elixir_lang/parser_definition/bracket_operation_parsing_test_case/AtNumericOperation.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/bracket_operation_parsing_test_case/AtNumericOperation.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/bracket_operation_parsing_test_case/AtNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
@1[key: value] @1 [key: value] @1[()] @1 [()] @1[matched_expression] @1 [matched_expression] @1[matched_expression,] @1 [matched_expression,]
15.777778
24
0.676056
6511afe1efb6928067ad1506a7f96bf33d30880a
36
ex
Elixir
lib/phoenix_pubsub_redis.ex
hippware/phoenix_pubsub_redis
5ef075195d62d5db829810f33393cd1277730c66
[ "Unlicense" ]
null
null
null
lib/phoenix_pubsub_redis.ex
hippware/phoenix_pubsub_redis
5ef075195d62d5db829810f33393cd1277730c66
[ "Unlicense" ]
null
null
null
lib/phoenix_pubsub_redis.ex
hippware/phoenix_pubsub_redis
5ef075195d62d5db829810f33393cd1277730c66
[ "Unlicense" ]
null
null
null
defmodule PhoenixPubsubRedis do end
12
31
0.888889
6511b7cd7d80a01009d53372994c5effdaa3513d
1,447
exs
Elixir
mix.exs
boonious/gerai
781d486ae2477a37502f03cc4da50ea7c9f01e8b
[ "Apache-2.0" ]
null
null
null
mix.exs
boonious/gerai
781d486ae2477a37502f03cc4da50ea7c9f01e8b
[ "Apache-2.0" ]
null
null
null
mix.exs
boonious/gerai
781d486ae2477a37502f03cc4da50ea7c9f01e8b
[ "Apache-2.0" ]
null
null
null
defmodule Gerai.MixProject do use Mix.Project def project do [ app: :gerai, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "coveralls.deta...
23.33871
80
0.549413
6511c13ba0436d43faa5ee760697ba2c1aa56d68
1,243
exs
Elixir
test/math/math_log_test.exs
kianmeng/cldr_utils
e8353e473709c74fe3362a987cd615a4cd30f55c
[ "Apache-2.0" ]
6
2019-07-19T17:49:11.000Z
2021-03-20T14:38:28.000Z
test/math/math_log_test.exs
kianmeng/cldr_utils
e8353e473709c74fe3362a987cd615a4cd30f55c
[ "Apache-2.0" ]
5
2020-01-28T06:11:50.000Z
2022-03-22T01:31:16.000Z
test/math/math_log_test.exs
kianmeng/cldr_utils
e8353e473709c74fe3362a987cd615a4cd30f55c
[ "Apache-2.0" ]
3
2020-01-28T06:08:42.000Z
2020-10-20T13:40:19.000Z
defmodule Math.Log.Test do use ExUnit.Case, async: true @round 2 @samples [ {1, 0}, {10, 2.30258509299}, {1.23004, 0.20704668918075508} ] Enum.each(@samples, fn {sample, result} -> test "that decimal log(e) is correct for #{inspect(sample)}" do calc = Cldr.Math.log(Decimal.new(unquote(...
29.595238
92
0.62671
6511e10bf9b62be2f2aca351424529b1b681398a
401
exs
Elixir
4/first.exs
madetara/advent2020
39492ef746baa8e49de880cb2604b5b67a5792ac
[ "MIT" ]
null
null
null
4/first.exs
madetara/advent2020
39492ef746baa8e49de880cb2604b5b67a5792ac
[ "MIT" ]
null
null
null
4/first.exs
madetara/advent2020
39492ef746baa8e49de880cb2604b5b67a5792ac
[ "MIT" ]
null
null
null
defmodule Passport do def isValid(s) do ["byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid"] |> Enum.all?(fn (c) -> Enum.member?(s, c) end) end end {:ok, contents} = File.read("input.txt") contents |> String.split("\n\n") |> Enum.map(&String.split/1) |> Enum.map(fn (s) -> s |> Enum.map(fn (x) -> String.split...
25.0625
90
0.566085
6511e5e867ea037437e10c0c2edb5f5919b0f89e
16,015
ex
Elixir
lib/exqlite/connection.ex
petermm/exqlite
7cf87c3042163f638828af1c16a1ed18f61db840
[ "MIT" ]
null
null
null
lib/exqlite/connection.ex
petermm/exqlite
7cf87c3042163f638828af1c16a1ed18f61db840
[ "MIT" ]
null
null
null
lib/exqlite/connection.ex
petermm/exqlite
7cf87c3042163f638828af1c16a1ed18f61db840
[ "MIT" ]
null
null
null
defmodule Exqlite.Connection do @moduledoc """ This module imlements connection details as defined in DBProtocol. ## Attributes - `db` - The sqlite3 database reference. - `path` - The path that was used to open. - `transaction_status` - The status of the connection. Can be `:idle` or `:transaction`. ##...
30.976789
95
0.624539
65120110e43cae05fc31a2b09cc3c82d1b961343
1,341
ex
Elixir
lib/blog_api/users/user.ex
gissandrogama/blog_api
9378d7844a1535d0c9663cc07ca92fc5d282ee92
[ "MIT" ]
null
null
null
lib/blog_api/users/user.ex
gissandrogama/blog_api
9378d7844a1535d0c9663cc07ca92fc5d282ee92
[ "MIT" ]
5
2021-01-13T04:16:16.000Z
2021-01-13T21:43:00.000Z
lib/blog_api/users/user.ex
gissandrogama/blog_api
9378d7844a1535d0c9663cc07ca92fc5d282ee92
[ "MIT" ]
null
null
null
defmodule BlogApi.Users.User do @moduledoc """ module that has user parameter validation function. """ use Ecto.Schema import Ecto.Changeset alias BlogApi.Posts.Post @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "users" do field :display_name, :string ...
25.788462
92
0.668904
6512588f0c608bd4b1a8ed3f8583f5045c19f71a
1,915
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/processing_error.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/processing_error.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/processing_error.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...
35.462963
178
0.72376
65125c7e0018385a02b6e516784ea4994f724b3c
179
exs
Elixir
.formatter.exs
Cantido/ex_libra
34e2dd7115355c6135db496c324c808c2395a951
[ "MIT" ]
4
2021-09-14T10:33:57.000Z
2022-03-03T01:02:02.000Z
.formatter.exs
Cantido/ex_libra
34e2dd7115355c6135db496c324c808c2395a951
[ "MIT" ]
3
2021-09-19T08:06:19.000Z
2021-09-22T17:28:13.000Z
.formatter.exs
Cantido/ex_libra
34e2dd7115355c6135db496c324c808c2395a951
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2021 Rosa Richter # # SPDX-License-Identifier: CC0-1.0 # Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
19.888889
69
0.648045
65126208fc93311792b75d5b780ef5b60c4a228d
315
exs
Elixir
test/test_helper.exs
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
1
2019-10-14T20:49:45.000Z
2019-10-14T20:49:45.000Z
test/test_helper.exs
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
1
2021-05-12T00:04:50.000Z
2021-05-12T00:04:50.000Z
test/test_helper.exs
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
1
2019-12-03T20:40:02.000Z
2019-12-03T20:40:02.000Z
Application.load(:teslamate) for app <- Application.spec(:teslamate, :applications) do {:ok, _} = Application.ensure_all_started(app) end TeslaMate.Repo.start_link() %{start: {m, f, [name, _opts]}} = TeslaMate.Locations.child_spec([]) apply(m, f, [name, [limit: 1]]) ExUnit.start(assert_receive_timeout: 300)
24.230769
68
0.71746
65127746fc46ff8d34dc3c4efeef0c20c0a3dba6
511
exs
Elixir
samples/multi/mix.exs
kianmeng/elixir-sdk
89fb73f6249f82ac8415246519c17ad4ade54760
[ "MIT" ]
14
2020-10-15T09:15:12.000Z
2022-03-18T19:42:28.000Z
samples/multi/mix.exs
kianmeng/elixir-sdk
89fb73f6249f82ac8415246519c17ad4ade54760
[ "MIT" ]
54
2020-10-14T05:08:21.000Z
2021-05-28T13:00:22.000Z
samples/multi/mix.exs
kianmeng/elixir-sdk
89fb73f6249f82ac8415246519c17ad4ade54760
[ "MIT" ]
5
2020-10-13T10:24:17.000Z
2021-11-30T17:47:11.000Z
defmodule Multi.MixProject do use Mix.Project def project do [ app: :multi, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
17.62069
59
0.561644
65128bff0d5c8ed9c2ea22e12655ec0f88dace74
2,502
exs
Elixir
ultimate_tic_tac_toe_bot/test/command_parser_test.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
4
2016-02-03T22:03:45.000Z
2016-04-13T17:24:27.000Z
ultimate_tic_tac_toe_bot/test/command_parser_test.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
2
2016-02-03T00:01:28.000Z
2016-04-13T17:22:58.000Z
ultimate_tic_tac_toe_bot/test/command_parser_test.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
1
2016-02-05T11:30:42.000Z
2016-02-05T11:30:42.000Z
defmodule CommandParserMacro do defmacro test_communication(desc, msg, atom, return_msg) do quote do test unquote(desc) do assert_command_parser_communication(unquote(msg), unquote(atom), unquote(return_msg)) end end end end defmodule CommandParserTest do use ExUnit...
55.6
423
0.695444
6513011006068aa627b56404f8ee339aaab7af73
53
ex
Elixir
host_core/lib/host_core/lattice.ex
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
84
2021-06-09T16:30:27.000Z
2022-03-27T23:41:25.000Z
host_core/lib/host_core/lattice.ex
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
239
2021-06-07T14:00:09.000Z
2022-03-30T17:06:05.000Z
host_core/lib/host_core/lattice.ex
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
20
2021-06-10T01:10:35.000Z
2022-03-17T15:59:57.000Z
defmodule HostCore.Lattice do @moduledoc false end
13.25
29
0.811321
6513c1512389b3aa14e7dced2198c21793eba341
1,574
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/get_orders_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/get_orders_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/get_orders_response.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 ...
33.489362
134
0.751588
6513c981e232fee8e5531283d185aaf9b64a45e5
1,367
ex
Elixir
apps/snitch_core/lib/core/domain/calculator/flat_rate_calculator.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/domain/calculator/flat_rate_calculator.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/domain/calculator/flat_rate_calculator.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Domain.Calculator.FlatRate do @moduledoc """ Models the `flate rate calculator`, exposes functionality related to it. """ use Snitch.Data.Schema alias Snitch.Data.Schema.{LineItem, Order} alias Snitch.Domain.Order, as: OrderDomain @behaviour Snitch.Domain.Calculator @type t :: %__MO...
22.409836
74
0.657644
6513ce5a184d6c1db17ba77fd3657ee6d4326fc9
174
ex
Elixir
lib/mix/tasks/terp.repl.ex
tpoulsen/terp
a11b2452bec7b3dd558b5b51a27b44a5b7dda009
[ "BSD-2-Clause" ]
23
2017-09-22T07:13:34.000Z
2021-06-08T14:50:06.000Z
lib/mix/tasks/terp.repl.ex
smpoulsen/terp
a11b2452bec7b3dd558b5b51a27b44a5b7dda009
[ "BSD-2-Clause" ]
5
2017-08-26T18:40:54.000Z
2017-09-28T00:24:50.000Z
lib/mix/tasks/terp.repl.ex
smpoulsen/terp
a11b2452bec7b3dd558b5b51a27b44a5b7dda009
[ "BSD-2-Clause" ]
4
2017-09-27T23:14:59.000Z
2021-06-08T14:50:12.000Z
defmodule Mix.Tasks.Terp.Repl do @moduledoc """ Runs a terp file (extension '.tp'). """ use Mix.Task alias Terp.Repl def run(_args) do Repl.init() end end
14.5
37
0.632184
6513d3932681742f8450581905ca06f6eb039509
2,345
exs
Elixir
test/cforum/jobs/cite_archiver_job_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
test/cforum/jobs/cite_archiver_job_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
test/cforum/jobs/cite_archiver_job_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.Jobs.CiteArchiverJobTest do use Cforum.DataCase alias Cforum.Jobs.CiteArchiverJob alias Cforum.Cites alias Cforum.Cites.Vote test "archive/0 deletes an cite with negative score" do cite = insert(:cite, created_at: Timex.now() |> Timex.shift(weeks: -3)) insert(:cite_vote, cite: cite,...
37.222222
91
0.675906
6513dbef0930d1bfe6d80491866bfaa7430255a2
37
exs
Elixir
test/test_helper.exs
gauravsaxena-tc/ex_metrics
346eeb6ca9e2744e1be2f6483e08be8b997d2cab
[ "MIT" ]
null
null
null
test/test_helper.exs
gauravsaxena-tc/ex_metrics
346eeb6ca9e2744e1be2f6483e08be8b997d2cab
[ "MIT" ]
null
null
null
test/test_helper.exs
gauravsaxena-tc/ex_metrics
346eeb6ca9e2744e1be2f6483e08be8b997d2cab
[ "MIT" ]
null
null
null
Mimic.copy(ExMetrics) ExUnit.start()
12.333333
21
0.783784
6513e31d4dad4716dde6a42ade96d7dedb0e7eaa
678
exs
Elixir
priv/repo/migrations/20170517232248_run_all_migrations.exs
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
4
2018-03-07T04:12:36.000Z
2018-03-08T16:13:14.000Z
priv/repo/migrations/20170517232248_run_all_migrations.exs
straw-hat-labs/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
61
2018-03-07T04:50:42.000Z
2019-11-01T10:24:03.000Z
priv/repo/migrations/20170517232248_run_all_migrations.exs
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
2
2018-03-22T19:44:45.000Z
2019-08-02T03:45:47.000Z
defmodule StrawHat.Map.TestSupport.Repo.Migrations.RunAllMigrations do use Ecto.Migration def change do Enum.map( [ StrawHat.Map.Migrations.CreateCountriesTable, StrawHat.Map.Migrations.CreateStatesTable, StrawHat.Map.Migrations.CreateCountiesTable, StrawHat.Map.Migrations...
32.285714
70
0.724189
6513f2f489a14c8c004294dfc4b012c4e88c3d19
203
exs
Elixir
priv/repo/migrations/20190902084944_change_transactions_table.exs
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
priv/repo/migrations/20190902084944_change_transactions_table.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
priv/repo/migrations/20190902084944_change_transactions_table.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
defmodule BlockchainAPI.Repo.Migrations.ChangeTransactionsTable do use Ecto.Migration def change do create_if_not_exists(index("transactions", ["block_height"], name: "block_height")) end end
25.375
87
0.783251
65140e31edb61c86d00f5759bad2f51eacfc328f
506
exs
Elixir
config/test.exs
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
342
2017-01-10T16:13:45.000Z
2022-02-26T13:55:38.000Z
config/test.exs
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
6
2017-01-14T17:59:48.000Z
2018-03-25T21:35:50.000Z
config/test.exs
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
38
2017-01-11T00:18:21.000Z
2021-07-11T11:28:12.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :microscope, Microscope.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :microscope, Micr...
25.3
56
0.741107
65141cbd4df4d10a6972634d52ecf703d2f7bf07
2,517
ex
Elixir
lib/parser/tokenizer.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
27
2015-08-09T16:36:31.000Z
2020-01-26T17:47:17.000Z
lib/parser/tokenizer.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
14
2015-07-31T07:28:07.000Z
2018-09-06T18:32:37.000Z
lib/parser/tokenizer.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
19
2015-07-31T01:25:17.000Z
2019-06-29T16:28:42.000Z
defmodule FinTex.Parser.Tokenizer do @moduledoc false alias FinTex.Parser.Lexer require Record @type t :: record(:tokenization, tokens: [String.t] | String.t, escape_sequences: %{String.t => String.t}) Record.defrecordp :tokenization, tokens: nil, escape_sequences: nil @spec split(String.t) :: ...
29.611765
117
0.688121
651428196a1edd5e94d9f4a8b045126ce5906924
659
ex
Elixir
lib/adoptoposs/mjml.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
null
null
null
lib/adoptoposs/mjml.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
1
2021-05-11T20:15:21.000Z
2021-05-11T20:15:21.000Z
lib/adoptoposs/mjml.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
null
null
null
defmodule Adoptoposs.Mjml do @moduledoc """ Utility module to render mjml content to HTML content. """ @executable "../assets/node_modules/mjml" @doc """ Compiles the given mjml to HTML text. ## Examples iex> render("<mj-html></mj-html>") "<!doctype html>\n<html xmlns=…" iex> render...
21.966667
76
0.616085
6514367bed2d5b880b1f0a8cf378959a54afc220
335
exs
Elixir
plugins/one_chat/priv/repo/migrations/04420180112042480_add_show_desktop_notif_for_to_accounts.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_chat/priv/repo/migrations/04420180112042480_add_show_desktop_notif_for_to_accounts.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_chat/priv/repo/migrations/04420180112042480_add_show_desktop_notif_for_to_accounts.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOne.Repo.Migrations.AddShowDesktopNofifToAccounts do use Ecto.Migration def up do alter table(:accounts) do add :show_desktop_notifications_for, :string, default: "system_default" end end def down do alter table(:accounts) do remove :show_desktop_notifications_for ...
20.9375
77
0.740299
65148b80a5aee545d87872e92ea2172735f4cf30
27,868
ex
Elixir
deps/ecto/lib/ecto/adapters/postgres/connection.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/adapters/postgres/connection.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/adapters/postgres/connection.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Postgrex.Connection) do defmodule Ecto.Adapters.Postgres.Connection do @moduledoc false @default_port 5432 @behaviour Ecto.Adapters.SQL.Connection ## Module and Options def connection(opts) do json = Application.get_env(:ecto, :json_library) extensions = [{Ec...
34.661692
135
0.592113
6514a5c13bbbbc38559555a44e5d779f54a9bd3e
1,888
ex
Elixir
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/source_reference.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/source_reference.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/source_reference.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.622642
125
0.742055
6514e4f240473c1f667f744a1a051e0242cd4a0b
1,860
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_locations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_locations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_locations_response.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...
37.2
176
0.747312
6514f737872120ca2ed11756f088718b48300da7
1,853
ex
Elixir
lib/wechat/mini_program/live/role.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
7
2021-01-22T04:07:29.000Z
2021-12-14T14:01:30.000Z
lib/wechat/mini_program/live/role.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
1
2021-03-17T15:44:26.000Z
2021-03-17T15:44:26.000Z
lib/wechat/mini_program/live/role.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
2
2021-03-17T14:35:56.000Z
2021-08-10T07:44:10.000Z
defmodule WeChat.MiniProgram.Live.Role do @moduledoc """ 小程序 - 直播成员管理 """ import Jason.Helpers import WeChat.Utils, only: [doc_link_prefix: 0] alias WeChat.User @doc_link "#{doc_link_prefix()}/miniprogram/dev/framework/liveplayer/role-manage.html" @typedoc "成员角色 [1-管理员,2-主播,3-运营者],设置超级管理员将无效" @type ...
25.736111
95
0.648678
65150b1ddf247c7fd907d4e2376a1a39d9a06449
464
exs
Elixir
year_2021/test/day_06_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2021/test/day_06_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2021/test/day_06_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day06Test do use ExUnit.Case, async: true test "it can count fish after 1 day" do assert Day06.simulate(InputTestFile, 1) == 5 end test "it can count fish after 10 days" do assert Day06.simulate(InputTestFile, 10) == 12 end test "it can count fish after 18 days" do assert Day06.simu...
23.2
52
0.696121
651532ef2a84d4bc6a0f287318b5c4e6ac86a95f
1,796
ex
Elixir
lib/ash/resource/schema.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
lib/ash/resource/schema.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
lib/ash/resource/schema.ex
alexfreska/ash
b7ffc5495fd6d956199fb74cfc1f72f58bf8505a
[ "MIT" ]
null
null
null
defmodule Ash.Schema do @moduledoc false # Defines an ecto schema for a resource. # This defines struct representation of a resource. Data layers can rely on this # schema for persistence. defmacro define_schema do quote unquote: false do alias Ash.Query.Aggregate use Ecto.Schema @pri...
32.654545
88
0.631403
65154241267434b10b3365a2859405d2218f9005
1,069
ex
Elixir
web/routers/application_router.ex
azukiapp/scarecrow
c5d500d36173c74ed8c7e6e4923293de8b39ea9b
[ "Apache-2.0" ]
1
2015-06-13T03:35:02.000Z
2015-06-13T03:35:02.000Z
web/routers/application_router.ex
azukiapp/scarecrow
c5d500d36173c74ed8c7e6e4923293de8b39ea9b
[ "Apache-2.0" ]
null
null
null
web/routers/application_router.ex
azukiapp/scarecrow
c5d500d36173c74ed8c7e6e4923293de8b39ea9b
[ "Apache-2.0" ]
null
null
null
defmodule ApplicationRouter do use BaseRouter prepare do conn = conn.fetch([:params, :headers]) coneg_check(conn, :mimetypes.extension("json")) end finalize do base_conn(conn) end # It is common to break your Dynamo in many # routers forwarding the requests between them # forward "/posts"...
21.816327
71
0.623012
65154773d537fb5a20fa245ce31270c04630ff12
699
exs
Elixir
priv/repo/migrations/20170202212311_create_thread_subscription.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
123
2017-04-04T18:15:48.000Z
2021-04-26T08:04:22.000Z
priv/repo/migrations/20170202212311_create_thread_subscription.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20170202212311_create_thread_subscription.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
17
2017-04-04T18:58:29.000Z
2021-05-10T21:39:16.000Z
defmodule CanvasAPI.Repo.Migrations.CreateThreadSubscription do use Ecto.Migration def change do create table(:thread_subscriptions, primary_key: false) do add :id, :binary_id, primary_key: true add :block_id, :text, null: false add :subscribed, :boolean, default: false, null: false add...
38.833333
93
0.712446
6515543e952bf6dd5228b334597d662822e4564d
1,982
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/change_logs_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/change_logs_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/change_logs_list_response.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...
37.396226
158
0.728557
65155b86c639194db8b01f66a66134af5ce5c627
1,830
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/list_releases_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/list_releases_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/list_releases_response.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...
35.882353
137
0.738798
65156b3bc91a5bf2d873d2d7e98d197af18e81e4
351
ex
Elixir
servy/lib/servy/file_handler.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
servy/lib/servy/file_handler.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
servy/lib/servy/file_handler.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
defmodule Servy.FileHandler do def handle_file({:ok, content}, conv) do %{conv | status: 200, resp_body: content} end def handle_file({:error, :enoent}, conv) do %{conv | status: 404, resp_body: "File not found!"} end def handle_file({:error, reason}, conv) do %{conv | status: 500, resp_body: "Fil...
29.25
61
0.655271
65157901f39130e9a32e6a50a2629b5e589851d4
2,175
exs
Elixir
test/cwt_test.exs
geonnave/cose-elixir
141839cb061d4b561dea1b4c9ee2dffee1197888
[ "MIT" ]
null
null
null
test/cwt_test.exs
geonnave/cose-elixir
141839cb061d4b561dea1b4c9ee2dffee1197888
[ "MIT" ]
null
null
null
test/cwt_test.exs
geonnave/cose-elixir
141839cb061d4b561dea1b4c9ee2dffee1197888
[ "MIT" ]
null
null
null
defmodule COSETest.CWT do use ExUnit.Case doctest COSE alias COSE.{Keys, CWT} describe "cbor web token" do setup do key = Keys.OKP.generate(:sig) d = Base.decode16!("8437C5D1CB4DE744B33B23A943644268A2CC0F11AF66953F74BAB8B395AFCC21") x = Base.decode16!("0D89C5C34501D85E9D23EDBFF932AA85B66...
34.52381
92
0.677241
65157d75ac52d83207ef55e95ec19072eff024d0
393
exs
Elixir
mix.exs
timgestson/expaxos
e0376ca86734aa3d2de3377b364e7ace31819e0f
[ "Apache-2.0" ]
8
2015-08-10T16:06:40.000Z
2020-10-28T19:34:54.000Z
mix.exs
timgestson/expaxos
e0376ca86734aa3d2de3377b364e7ace31819e0f
[ "Apache-2.0" ]
null
null
null
mix.exs
timgestson/expaxos
e0376ca86734aa3d2de3377b364e7ace31819e0f
[ "Apache-2.0" ]
null
null
null
defmodule Paxos.Mixfile do use Mix.Project def project do [ app: :paxos, version: "0.0.1", elixir: "~> 0.10.1", deps: deps ] end # Configuration for the OTP application def application do [] end # Returns the list of dependencies in the format: # { :foobar, "0.1", git: "http...
17.863636
72
0.605598
651596ed96009ec89b6a4d61c1d48cfea3584e03
40,808
ex
Elixir
lib/elixir/lib/file.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
defmodule File do @moduledoc ~S""" This module contains functions to manipulate files. Some of those functions are low-level, allowing the user to interact with the file or IO devices, like `open/2`, `copy/3` and others. This module also provides higher level functions that work with filenames and have the...
31.560712
102
0.633577
65159b1908518906e80d388a87e6651cbe5ed58a
7,659
ex
Elixir
lib/plug/test.ex
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
lib/plug/test.ex
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
lib/plug/test.ex
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Test do @moduledoc """ Conveniences for testing plugs. This module can be used in your test cases, like this: use ExUnit.Case, async: true use Plug.Test Using this module will: * import all the functions from this module * import all the functions from the `Plug.Conn` modu...
31.008097
96
0.663011
6515a3e5229443ceadc4cc7fc2877413024d649d
2,061
exs
Elixir
test/exfacebook_test.exs
oivoodoo/exfacebook
42d960336c4e432216ae592925519f93fc817eaf
[ "MIT" ]
18
2016-07-30T00:04:21.000Z
2020-01-13T09:17:54.000Z
test/exfacebook_test.exs
oivoodoo/exfacebook
42d960336c4e432216ae592925519f93fc817eaf
[ "MIT" ]
7
2016-08-10T08:14:59.000Z
2017-02-15T09:36:43.000Z
test/exfacebook_test.exs
oivoodoo/exfacebook
42d960336c4e432216ae592925519f93fc817eaf
[ "MIT" ]
6
2016-08-10T07:28:15.000Z
2017-03-31T11:14:57.000Z
defmodule ExfacebookTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import Exfacebook.TestConfig require Logger setup_all do {:ok, _} = Exfacebook.start_link(name: __MODULE__) ExVCR.Config.cassette_library_dir("fixture/vcr_cassettes") :ok end test "get_...
34.35
140
0.661329
6515a8cc9544fd45312f3de9f78cdf8d21989878
372
exs
Elixir
config/config.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
config/config.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
config/config.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
use Mix.Config config :game_of_life, dimensions: {30, 30}, # universe (board) dimensions alive_cells: :random, # initial universe state: predefined or random generations: 500, # number of generations to run sleep: 150, # sleep time (in miliseconds) between each generation chaos_monkey: ...
41.333333
79
0.701613
65160005820b751b0bd288830e8e9a1c95a4a347
1,568
ex
Elixir
lib/harald/transport/uart.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
lib/harald/transport/uart.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
lib/harald/transport/uart.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
defmodule Harald.Transport.UART do @moduledoc """ > The objective of this HCI UART Transport Layer is to make it possible to use the Bluetooth HCI > over a serial interface between two UARTs on the same PCB. The HCI UART Transport Layer > assumes that the UART communication is free from line errors. Referenc...
28.509091
98
0.686224
65162034ae81c6b8d9bc91d520350d40d8b871c9
2,407
ex
Elixir
lib/elixir/lib/range.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/elixir/lib/range.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/range.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
defmodule Range do @moduledoc """ Defines a Range. """ @type t :: { Range, any, any } @type t(first, last) :: { Range, first, last } @doc """ Creates a new range. """ def new(first, last) do { Range, first, last } end @doc """ Returns the first item of the range. """ def first({ Range...
19.892562
83
0.574574
65162585ffc6360fbdb18ec1e65e2e7567800324
1,838
ex
Elixir
clients/translate/lib/google_api/translate/v2/model/languages_list_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/model/languages_list_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/model/languages_list_response.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...
38.291667
351
0.762786
65164f2172ce9f8edd4c0b0a78fb6ba44d327ce1
2,928
exs
Elixir
test/integration/performance_test.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
test/integration/performance_test.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
test/integration/performance_test.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.PerformanceTest do use ExUnit.Case use Divo require Logger @moduletag :performance alias SmartCity.TestDataGenerator, as: TDG @num_fields_in_schema 500 @num_records 100_000 @brokers Application.get_env(:reaper, :elsa_brokers) @endpoints Application.get_env(:reaper, :elsa_brokers) |>...
25.025641
106
0.606899
6516b4f3deba9430f1c27b7b53c14644bef41136
601
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/error_details.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.Network/lib/microsoft/azure/management/network/model/error_details.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/error_details.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.Network.Model.ErrorDetails do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"code", :"ta...
20.033333
85
0.670549
6516c01e3fd7eec14fa0a30ead927f8692134059
296
ex
Elixir
lib/elixir_search_extractor_web/helpers/ecto_error_helper.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
lib/elixir_search_extractor_web/helpers/ecto_error_helper.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
32
2021-05-24T06:52:33.000Z
2021-07-19T05:04:40.000Z
lib/elixir_search_extractor_web/helpers/ecto_error_helper.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
defmodule ElixirSearchExtractorWeb.EctoErrorHelper do def translate_error(changeset) do Ecto.Changeset.traverse_errors(changeset, fn {msg, opts} -> Enum.reduce(opts, msg, fn {key, value}, acc -> String.replace(acc, "%{#{key}}", to_string(value)) end) end) end end
29.6
63
0.675676
6516cd5cac30582db44601b80cad0bf059c9e34d
72
ex
Elixir
lib/clex.ex
evliang/craigslist-alert
65de4f3a9070088739c1a1989198ab6b8a22925c
[ "MIT" ]
2
2018-06-27T03:15:46.000Z
2019-01-26T17:50:17.000Z
lib/clex.ex
evliang/craigslist-alert
65de4f3a9070088739c1a1989198ab6b8a22925c
[ "MIT" ]
null
null
null
lib/clex.ex
evliang/craigslist-alert
65de4f3a9070088739c1a1989198ab6b8a22925c
[ "MIT" ]
null
null
null
defmodule Clex do @moduledoc """ Documentation for Clex. """ end
10.285714
25
0.652778
6516f2794b348e7509702fe3b700bd541cf0d1be
1,970
ex
Elixir
web/controllers/square_controller.ex
JKGisMe/square_square_backend
1b5237fff2c9dab0e03082ecf5a5a28a1133935b
[ "MIT" ]
null
null
null
web/controllers/square_controller.ex
JKGisMe/square_square_backend
1b5237fff2c9dab0e03082ecf5a5a28a1133935b
[ "MIT" ]
null
null
null
web/controllers/square_controller.ex
JKGisMe/square_square_backend
1b5237fff2c9dab0e03082ecf5a5a28a1133935b
[ "MIT" ]
null
null
null
defmodule SquareSquareBackend.SquareController do require Logger use SquareSquareBackend.Web, :controller alias SquareSquareBackend.Square # plug :scrub_params, "square" when action in [:create, :update] def index(conn, _params) do render conn, model: SquareSquareBackend.Repo.all(SquareSquareBackend.Squ...
31.774194
88
0.639594
651718888592e417737bc8e286b902fddbf49f7a
68
ex
Elixir
lib/lib/drivers/text.ex
sebastiandedeyne/snapshots
60bab72cd33a11492e21de4d7e4d313c8bf17a3e
[ "MIT" ]
null
null
null
lib/lib/drivers/text.ex
sebastiandedeyne/snapshots
60bab72cd33a11492e21de4d7e4d313c8bf17a3e
[ "MIT" ]
1
2017-10-21T13:14:43.000Z
2017-10-21T13:14:43.000Z
lib/lib/drivers/text.ex
sebastiandedeyne/snapshots
60bab72cd33a11492e21de4d7e4d313c8bf17a3e
[ "MIT" ]
null
null
null
defmodule Snapshots.Drivers.Text do def extension, do: ".txt" end
17
35
0.75
65171efad72eeeab0fa37210a72295aa2a1d4826
99
exs
Elixir
config/test.exs
code-supply/gcs_signed_url
e3e72b8b11e80c47899713189f03d94e28b2a831
[ "MIT" ]
16
2019-07-25T16:05:20.000Z
2022-02-09T06:24:55.000Z
config/test.exs
code-supply/gcs_signed_url
e3e72b8b11e80c47899713189f03d94e28b2a831
[ "MIT" ]
53
2020-04-21T16:35:49.000Z
2022-03-28T13:04:07.000Z
config/test.exs
code-supply/gcs_signed_url
e3e72b8b11e80c47899713189f03d94e28b2a831
[ "MIT" ]
10
2020-04-21T12:19:47.000Z
2021-11-19T12:00:06.000Z
use Mix.Config config :gcs_signed_url, GcsSignedUrl.SignBlob.HTTP, GcsSignedUrl.SignBlob.HTTPMock
24.75
82
0.848485
6517a51ca59180bb310db334972cca14d86c960f
907
exs
Elixir
test/exfile_imagemagick/convert_test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
5
2015-12-25T18:17:10.000Z
2018-07-17T10:19:10.000Z
test/exfile_imagemagick/convert_test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
7
2016-08-14T02:28:03.000Z
2017-11-04T23:07:15.000Z
test/exfile_imagemagick/convert_test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
9
2016-08-22T11:06:04.000Z
2021-09-30T09:05:03.000Z
defmodule ExfileImagemagick.ConvertTest do use ExUnit.Case, async: true alias Exfile.LocalFile test "it works" do path = EITH.image_path("DSC08511s25.jpg") file = %LocalFile{path: path} {:ok, file} = ExfileImagemagick.Convert.call(file, ["png"], []) {:ok, file} = ExfileImagemagick.Metadata.call(...
32.392857
83
0.674752
6517b1fe4673f2f8b233317d2659717344442014
1,308
exs
Elixir
mix.exs
still-ex/still_imageflow
32b27ac69a22bd7c589f2405452084f3d97a37fd
[ "0BSD" ]
null
null
null
mix.exs
still-ex/still_imageflow
32b27ac69a22bd7c589f2405452084f3d97a37fd
[ "0BSD" ]
null
null
null
mix.exs
still-ex/still_imageflow
32b27ac69a22bd7c589f2405452084f3d97a37fd
[ "0BSD" ]
null
null
null
defmodule StillImageflow.MixProject do use Mix.Project @version "0.1.0" @source_url "https://github.com/still-ex/still_imageflow" def project do [ app: :still_imageflow, description: "Image adapter implementing Imageflow for Still", version: @version, elixir: "~> 1.11", elixi...
20.123077
74
0.548165
6517b2c7342fd28c049ec9e05c73e48bbe6af29f
31,972
ex
Elixir
lib/elixir/lib/module.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
null
null
null
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
29.440147
164
0.635118
6517bd1a0ea8189125954a0f4e04d259fbe46e73
721
ex
Elixir
lib/raspberry_pi_web/gettext.ex
necosta/raspberry-pi-x
478f49de74b03d4a652c35ef185735ca0f2f6878
[ "MIT" ]
null
null
null
lib/raspberry_pi_web/gettext.ex
necosta/raspberry-pi-x
478f49de74b03d4a652c35ef185735ca0f2f6878
[ "MIT" ]
null
null
null
lib/raspberry_pi_web/gettext.ex
necosta/raspberry-pi-x
478f49de74b03d4a652c35ef185735ca0f2f6878
[ "MIT" ]
null
null
null
defmodule RaspberryPiWeb.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 RaspberryPiWeb.Gettext # Simple translation gettext "H...
28.84
72
0.686546
6517c2b63a7110306ca620924916c5dd371275b2
1,633
exs
Elixir
test/prom_ex/ets_cron_flusher_test.exs
LostKobrakai/prom_ex
3557e828cf3905adaf6719003e68b65294b62288
[ "MIT" ]
354
2020-10-21T06:27:15.000Z
2022-03-29T13:22:46.000Z
test/prom_ex/ets_cron_flusher_test.exs
LostKobrakai/prom_ex
3557e828cf3905adaf6719003e68b65294b62288
[ "MIT" ]
111
2020-11-25T21:27:13.000Z
2022-03-28T10:42:59.000Z
test/prom_ex/ets_cron_flusher_test.exs
blockfi/prom_ex
bca03035f52d023dfec365f82f01c648b367073b
[ "MIT" ]
45
2020-12-31T20:37:11.000Z
2022-03-18T13:12:21.000Z
defmodule PromEx.ETSCronFlusherTest do use ExUnit.Case, async: false alias PromEx.Plugins.Phoenix alias PromEx.Test.Support.Events defmodule DefaultPromExSetUp do use PromEx, otp_app: :prom_ex @impl true def plugins do [{Phoenix, router: TestApp.Router, endpoint: TestApp.Endpoint}] end ...
26.33871
91
0.721984
6517e99100e3b898450cd947b06c2ee8c71c94f3
2,269
ex
Elixir
lib/soulerl_web.ex
ojizero/soulerl
386fe71d2dd000571aa3bab284673be1ac77507b
[ "MIT" ]
null
null
null
lib/soulerl_web.ex
ojizero/soulerl
386fe71d2dd000571aa3bab284673be1ac77507b
[ "MIT" ]
null
null
null
lib/soulerl_web.ex
ojizero/soulerl
386fe71d2dd000571aa3bab284673be1ac77507b
[ "MIT" ]
null
null
null
defmodule SoulerlWeb 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 SoulerlWeb, :controller use SoulerlWeb, :view The definitions below will be executed for every view, controller, ...
22.465347
81
0.679595
65181e349405ba2103b8a656be625d4cf7784f57
2,008
ex
Elixir
lib/led.ex
Primordus/gpio_rpi
d3a58f031aa7a33692a7d85865be34c1484c3d6d
[ "MIT" ]
null
null
null
lib/led.ex
Primordus/gpio_rpi
d3a58f031aa7a33692a7d85865be34c1484c3d6d
[ "MIT" ]
7
2015-03-14T14:50:16.000Z
2015-03-14T14:51:57.000Z
lib/led.ex
Primordus/gpio_rpi
d3a58f031aa7a33692a7d85865be34c1484c3d6d
[ "MIT" ]
null
null
null
defmodule GPIO.LED do use GenServer alias GPIO.GPIO @moduledoc """ Module for controlling a LED with the Raspberry Pi GPIO's. Test from command prompt: > sudo iex -S mix > {:ok, led} = GPIO.LED.start_link(18) > led |> GPIO.LED.on > led |> GPIO.LED.off > led |> GPIO.LED.stop """ @server __M...
21.361702
74
0.616534
651839c4f1f12b487ce6f377ebbf95bff28cfba3
499
ex
Elixir
lib/plugoid_demo_web/views/error_view.ex
tanguilp/plugoid_demo
7ce537fc6e9e5dc68e212723b57fe76f3587246f
[ "Apache-2.0" ]
4
2020-05-30T21:21:11.000Z
2020-06-03T10:46:41.000Z
lib/plugoid_demo_web/views/error_view.ex
tanguilp/plugoid_demo
7ce537fc6e9e5dc68e212723b57fe76f3587246f
[ "Apache-2.0" ]
2
2021-03-10T20:18:30.000Z
2021-05-11T15:51:54.000Z
lib/plugoid_demo_web/views/error_view.ex
tanguilp/plugoid_demo
7ce537fc6e9e5dc68e212723b57fe76f3587246f
[ "Apache-2.0" ]
null
null
null
defmodule PlugoidDemoWeb.ErrorView do use PlugoidDemoWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the templ...
29.352941
61
0.739479
65185b6918406eaa0856e20260ab5744fc70e53f
104
ex
Elixir
lib/voomex/repo.ex
caktus/voomex
d9df2ef20498f0eb01e69da834bb41459784357c
[ "BSD-2-Clause" ]
null
null
null
lib/voomex/repo.ex
caktus/voomex
d9df2ef20498f0eb01e69da834bb41459784357c
[ "BSD-2-Clause" ]
18
2019-11-08T19:42:18.000Z
2020-06-09T17:00:16.000Z
lib/voomex/repo.ex
caktus/voomex
d9df2ef20498f0eb01e69da834bb41459784357c
[ "BSD-2-Clause" ]
null
null
null
defmodule Voomex.Repo do use Ecto.Repo, otp_app: :voomex, adapter: Ecto.Adapters.Postgres end
17.333333
35
0.721154
651877c2eb9554605687bbaa2488b1c3e26d0e0e
2,156
ex
Elixir
clients/chat/lib/google_api/chat/v1/model/card.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/model/card.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/chat/lib/google_api/chat/v1/model/card.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...
38.5
155
0.703154
65187b46b0a257ac034608d5cdd3a6159ca91e3f
1,127
ex
Elixir
test/support/fixtures/invoices_fixtures.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
test/support/fixtures/invoices_fixtures.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
test/support/fixtures/invoices_fixtures.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
defmodule Siwapp.InvoicesFixtures do @moduledoc """ This module defines test helpers for creating entities via the `Siwapp.Invoices` context. """ alias Siwapp.Commons alias Siwapp.CustomersFixtures alias Siwapp.Invoices alias Siwapp.Repo @spec valid_item_attributes(map) :: map def valid_item_attri...
26.209302
76
0.669033
65187e98dd2fac34379a1a8aee7cf5dc84e249a7
675
ex
Elixir
lib/magnemite/customers/referral_code.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
lib/magnemite/customers/referral_code.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
lib/magnemite/customers/referral_code.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
defmodule Magnemite.Customers.ReferralCode do @moduledoc false use Magnemite.{Changeset, Schema} alias Magnemite.{Customers, Repo} schema "referral_codes" do field :number, :string belongs_to :profile, Customers.Profile timestamps() end def changeset(referral_code, params) do referral_...
24.107143
52
0.69037
651880324e2771d98e33253c49cbc58745962502
711
ex
Elixir
phoenix/budgets/lib/budgets_web/gettext.ex
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
phoenix/budgets/lib/budgets_web/gettext.ex
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
phoenix/budgets/lib/budgets_web/gettext.ex
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
defmodule BudgetsWeb.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 BudgetsWeb.Gettext # Simple translation gettext("Here is t...
28.44
72
0.677918
6518833de4c28281d51b86aa9833e87292f22d6d
1,034
ex
Elixir
apps/artemis_api/lib/artemis_api/graphql/resolvers/user.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis_api/lib/artemis_api/graphql/resolvers/user.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_api/lib/artemis_api/graphql/resolvers/user.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule ArtemisApi.GraphQL.Resolver.User do import ArtemisApi.UserAccess alias Artemis.CreateUser alias Artemis.DeleteUser alias Artemis.GetUser alias Artemis.ListUsers alias Artemis.UpdateUser # Queries def list(params, context) do authorize(context, "users:list", fn -> params = Map.put(...
22.478261
54
0.661509
651887454ef9c555bcec650e7d114cb05ca7af1e
429
exs
Elixir
test/my_personal_web/views/error_view_test.exs
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
test/my_personal_web/views/error_view_test.exs
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
test/my_personal_web/views/error_view_test.exs
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
defmodule MyPersonalWeb.ErrorViewTest do use MyPersonalWeb.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(MyPersonalWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" ...
28.6
95
0.741259
6518d9b145ace3d332fbc7fdfa3145799b158b52
901
exs
Elixir
api/config/dev.exs
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
api/config/dev.exs
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
api/config/dev.exs
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :locals, Locals.Endpoint, http: [port: 4000], ...
28.15625
68
0.749168
6519528220cee21f5a812cffe2931327c2fbe218
360
exs
Elixir
elm_phoenixed/priv/repo/seeds.exs
eeue56/elm-phoenixed
a16d57a6922ea23018b1295970c1620022051208
[ "BSD-3-Clause" ]
3
2016-04-04T11:25:09.000Z
2016-04-12T15:00:06.000Z
elm_phoenixed/priv/repo/seeds.exs
NoRedInk/elm-phoenixed
a16d57a6922ea23018b1295970c1620022051208
[ "BSD-3-Clause" ]
null
null
null
elm_phoenixed/priv/repo/seeds.exs
NoRedInk/elm-phoenixed
a16d57a6922ea23018b1295970c1620022051208
[ "BSD-3-Clause" ]
1
2017-08-07T23:57:08.000Z
2017-08-07T23:57:08.000Z
# 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: # # ElmPhoenixed.Repo.insert!(%ElmPhoenixed.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as ...
30
61
0.713889
651969afd256a3656943abdf720f667e254e5977
1,125
exs
Elixir
mix.exs
mruoss/elixir-web-push-encryption
f7040e13e2c9d6bcb84615173a07eed4898bc8de
[ "MIT" ]
null
null
null
mix.exs
mruoss/elixir-web-push-encryption
f7040e13e2c9d6bcb84615173a07eed4898bc8de
[ "MIT" ]
null
null
null
mix.exs
mruoss/elixir-web-push-encryption
f7040e13e2c9d6bcb84615173a07eed4898bc8de
[ "MIT" ]
null
null
null
defmodule WebPushEncryption.Mixfile do use Mix.Project @version "0.3.0" def project do [ app: :web_push_encryption, version: @version, elixir: "~> 1.4", description: "Web push encryption library", source_url: "https://github.com/tuvistavie/elixir-web-push-encryption", bui...
23.93617
79
0.548444
651974109b03acad1fa5526278a2c21fc3c972ee
1,441
exs
Elixir
test/board_presenter_test.exs
lottetreg/minesweeper
72f85eb86b792346263ab4997a83c88873e0a04b
[ "MIT" ]
null
null
null
test/board_presenter_test.exs
lottetreg/minesweeper
72f85eb86b792346263ab4997a83c88873e0a04b
[ "MIT" ]
8
2019-05-20T20:53:46.000Z
2019-06-27T13:50:24.000Z
test/board_presenter_test.exs
lottetreg/minesweeper
72f85eb86b792346263ab4997a83c88873e0a04b
[ "MIT" ]
null
null
null
defmodule BoardPresenterTest do use ExUnit.Case test "returns a list representation of the given blank board" do board = Board.new().board presented_board = BoardPresenter.present(board) expected_presented_board = [ " A B C D E F G H I J\n", [ "0 | | | | | | | | | | |\n", ...
27.711538
80
0.349757
65198423ab55d527b229e6a6691af8ebbfd7f39d
2,489
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_platform_property.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_platform_property.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_platform_property.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...
45.254545
850
0.756529
6519a3cbbf5578c730e7873dc1b1f57bf0d01c80
6,818
exs
Elixir
apps/astarte_housekeeping_api/test/astarte_housekeeping_api/realms/realms_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_housekeeping_api/test/astarte_housekeeping_api/realms/realms_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_housekeeping_api/test/astarte_housekeeping_api/realms/realms_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2017 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 appl...
37.054348
96
0.696539
6519bb8efc3499dcd60e3664fb5f2da91aeb0dfd
2,084
exs
Elixir
config/prod.exs
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
config/prod.exs
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
config/prod.exs
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
36.561404
77
0.71785
6519edae676587887b310b57150347eb1de4b96c
2,178
ex
Elixir
lib/bodyguard/policy.ex
venndr/bodyguard
f503fe1a869f91f87b1a661b710fe5ef88e18c60
[ "MIT" ]
null
null
null
lib/bodyguard/policy.ex
venndr/bodyguard
f503fe1a869f91f87b1a661b710fe5ef88e18c60
[ "MIT" ]
null
null
null
lib/bodyguard/policy.ex
venndr/bodyguard
f503fe1a869f91f87b1a661b710fe5ef88e18c60
[ "MIT" ]
null
null
null
defmodule Bodyguard.Policy do @moduledoc """ Where authorization rules live. Typically the callbacks are designed to be used by `Bodyguard.permit/4` and are not called directly. The only requirement is to implement the `c:authorize/3` callback: defmodule MyApp.MyContext do @behaviour Bodyguar...
30.676056
196
0.654729
6519f1cf62291ac553d1c3bc6084cd0db9263d68
6,255
ex
Elixir
lib/p1.ex
gertjana/p1_parser
e69a424e51236d41bf5bce13a4f692858687e166
[ "Apache-2.0" ]
1
2019-02-05T21:54:21.000Z
2019-02-05T21:54:21.000Z
lib/p1.ex
gertjana/p1_parser
e69a424e51236d41bf5bce13a4f692858687e166
[ "Apache-2.0" ]
null
null
null
lib/p1.ex
gertjana/p1_parser
e69a424e51236d41bf5bce13a4f692858687e166
[ "Apache-2.0" ]
null
null
null
defmodule P1 do alias P1.Parser, as: Parser @moduledoc """ P1 is a communication standard for Dutch Smartmeters Whenever a serial connection is made with the P1 port, the Smartmeter is sending out a telegram every 10 seconds. This library is able to parse this telegram and produces elixir types and st...
32.409326
171
0.618545
651a36a73ee1c83e2f4a98b13a0fc3beca647761
13,222
ex
Elixir
lib/guardian/plug.ex
koobob/guardian
694e546b7c76d7416bf101d687effec4885a4480
[ "MIT" ]
null
null
null
lib/guardian/plug.ex
koobob/guardian
694e546b7c76d7416bf101d687effec4885a4480
[ "MIT" ]
null
null
null
lib/guardian/plug.ex
koobob/guardian
694e546b7c76d7416bf101d687effec4885a4480
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Plug) do defmodule Guardian.Plug do @moduledoc ~S""" Provides functions for the implementation module for dealing with Guardian in a Plug environment ```elixir defmodule MyApp.Tokens do use Guardian, otp_app: :my_app # ... snip end ``` Your impleme...
31.331754
112
0.605809
651a375d6d5697338ba41c1c2dfae6554f754c5e
249
ex
Elixir
src/mailer/lib/mailer.ex
alexjoybc/elixir-kafka-phoenix
c3d20415f980455081102f3bd4287647bf2292ba
[ "Apache-2.0" ]
null
null
null
src/mailer/lib/mailer.ex
alexjoybc/elixir-kafka-phoenix
c3d20415f980455081102f3bd4287647bf2292ba
[ "Apache-2.0" ]
null
null
null
src/mailer/lib/mailer.ex
alexjoybc/elixir-kafka-phoenix
c3d20415f980455081102f3bd4287647bf2292ba
[ "Apache-2.0" ]
null
null
null
defmodule Mailer do @moduledoc """ Mailer keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.9
66
0.751004
651a45a1aa304ffcbb58852b811b1b191057bc26
686
ex
Elixir
test/support/channel_case.ex
UrbanOS-Examples/doim_adapter
f40e993d0f9b3a15bc244d5453d9d1ed60b7eccc
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
UrbanOS-Examples/doim_adapter
f40e993d0f9b3a15bc244d5453d9d1ed60b7eccc
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
UrbanOS-Examples/doim_adapter
f40e993d0f9b3a15bc244d5453d9d1ed60b7eccc
[ "Apache-2.0" ]
null
null
null
defmodule DoimAdapterWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interac...
22.866667
59
0.731778
651a6eb5d4a8f7baaa678ff917d5336af6748ee8
615
ex
Elixir
string_compression/lib/string_compression/day07.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
string_compression/lib/string_compression/day07.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
string_compression/lib/string_compression/day07.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
defmodule StringCompression.Day07 do def compress(src), do: src |> String.graphemes() |> count_unique() |> Enum.map(fn {counter, char} -> "#{counter}#{char}" end) |> Enum.join() defp count_unique([]), do: [] defp count_unique([first | rest]) do count(first, rest) end defp count(curre...
30.75
91
0.627642
651a76e24b05990776e58ffe923fba8d73a639f8
4,665
exs
Elixir
test/lib/bamboo/adapters/send_grid_helper_test.exs
speeddragon/bamboo
b7bc9df132c7710ac3344be677b22a156e4eecd3
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/send_grid_helper_test.exs
speeddragon/bamboo
b7bc9df132c7710ac3344be677b22a156e4eecd3
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/send_grid_helper_test.exs
speeddragon/bamboo
b7bc9df132c7710ac3344be677b22a156e4eecd3
[ "MIT" ]
1
2019-06-18T18:04:25.000Z
2019-06-18T18:04:25.000Z
defmodule Bamboo.SendGridHelperTest do use ExUnit.Case import Bamboo.SendGridHelper @template_id "80509523-83de-42b6-a2bf-54b7513bd2aa" setup do {:ok, email: Bamboo.Email.new_email()} end test "with_template/2 adds the correct template", %{email: email} do email = email |> with_template(@templat...
30.490196
95
0.622937
651a8397f80205918d942e842353e876f3251f91
583
ex
Elixir
lib/parsers/boolean.ex
Aetherus/saxon
11c28d9f8ba33bd6ae56e519b12bd20798c3003e
[ "MIT" ]
null
null
null
lib/parsers/boolean.ex
Aetherus/saxon
11c28d9f8ba33bd6ae56e519b12bd20798c3003e
[ "MIT" ]
null
null
null
lib/parsers/boolean.ex
Aetherus/saxon
11c28d9f8ba33bd6ae56e519b12bd20798c3003e
[ "MIT" ]
null
null
null
defmodule Saxon.Parsers.BOOLEAN do defstruct buffer: [], attributes: %{} def new(attributes \\ %{}), do: %__MODULE__{attributes: attributes} def update(%__MODULE__{buffer: buffer} = parser, chunk) do %{parser | buffer: [buffer, chunk]} end def parse(%__MODULE__{buffer: buffer, attributes: attributes}) ...
30.684211
69
0.632933
651a8f6eb1dfd947aa9d76f5dc05b887918761be
1,926
ex
Elixir
clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesis_input.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesis_input.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/lib/google_api/text_to_speech/v1beta1/model/synthesis_input.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...
34.392857
122
0.726376
651a906c65d2fe5b581bc50a2dabbbb19567e2a8
2,582
exs
Elixir
mix.exs
amclain/nerves_system_bbb_grove
bbd6358e866abcbf36f7c7da87d751d2d725f058
[ "Apache-2.0" ]
null
null
null
mix.exs
amclain/nerves_system_bbb_grove
bbd6358e866abcbf36f7c7da87d751d2d725f058
[ "Apache-2.0" ]
null
null
null
mix.exs
amclain/nerves_system_bbb_grove
bbd6358e866abcbf36f7c7da87d751d2d725f058
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemBbb.MixProject do use Mix.Project @app :nerves_system_bbb_grove @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, version: @version, elixir: "~> 1.6", compilers: Mix.compilers() ++ [:nerve...
22.649123
82
0.583656
651a93a05307c9da7dfa842ba64cf323911b984e
155
ex
Elixir
lib/cgrates_web_jsonapi_web/controllers/tp_resource_import_job_controller.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
lib/cgrates_web_jsonapi_web/controllers/tp_resource_import_job_controller.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
lib/cgrates_web_jsonapi_web/controllers/tp_resource_import_job_controller.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapiWeb.TpResourceImportJobController do use CgratesWebJsonapi.CsvImportJob, module: CgratesWebJsonapi.TariffPlans.TpResource end
38.75
86
0.896774
651a996f1e4966cc5ba0a786996f8ee275bf1ff3
1,016
ex
Elixir
lib/demo.ex
xelcer/phoenix_demo
84dc516441dd715db7e24b1384c2fea3adffe0f7
[ "MIT" ]
null
null
null
lib/demo.ex
xelcer/phoenix_demo
84dc516441dd715db7e24b1384c2fea3adffe0f7
[ "MIT" ]
null
null
null
lib/demo.ex
xelcer/phoenix_demo
84dc516441dd715db7e24b1384c2fea3adffe0f7
[ "MIT" ]
null
null
null
defmodule Demo 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 = [ # Start the Ecto repository ...
31.75
82
0.706693
651abc1d508aa5b02956edcbb5a02ceea89b64e6
7,413
exs
Elixir
test/slack/state_test.exs
Slotos/Elixir-Slack
86516cf394c75d14cb7c24d4212aa66f505a49cd
[ "MIT" ]
1
2019-10-10T02:57:49.000Z
2019-10-10T02:57:49.000Z
test/slack/state_test.exs
Vuta/Elixir-Slack
f18514e27cc3ff889643f1967b3cbf8948d18b04
[ "MIT" ]
null
null
null
test/slack/state_test.exs
Vuta/Elixir-Slack
f18514e27cc3ff889643f1967b3cbf8948d18b04
[ "MIT" ]
null
null
null
defmodule Slack.StateTest do use ExUnit.Case alias Slack.State test "channel_joined sets is_member to true" do new_slack = State.update( %{type: "channel_joined", channel: %{id: "123", members: ["123456", "654321"]}}, slack() ) assert new_slack.channels["123"].is_member == tr...
23.093458
88
0.542156
651abf8138173899d3c40da8f4e4fd64c1a7875f
453
exs
Elixir
apps/snitch_core/priv/repo/migrations/20180830184857_add_product_assoc_to_wishlist.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/migrations/20180830184857_add_product_assoc_to_wishlist.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/migrations/20180830184857_add_product_assoc_to_wishlist.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Repo.Migrations.AddProductAssocToWishlist do use Ecto.Migration def change do drop(index(:snitch_wishlist_items, [:variant_id, :user_id], name: :unique_wishlist_item)) alter table("snitch_wishlist_items") do remove(:variant_id) add(:product_id, references("snitch_products")) ...
26.647059
96
0.728477
651ad1ed9dd2ee678f093a1c9482addab60bc117
965
exs
Elixir
rmk/test/piece_test.exs
gabrielcarneiro97/rummikub
5497f821dd4f4431a17aa31c52cf692aed4285c2
[ "MIT" ]
null
null
null
rmk/test/piece_test.exs
gabrielcarneiro97/rummikub
5497f821dd4f4431a17aa31c52cf692aed4285c2
[ "MIT" ]
null
null
null
rmk/test/piece_test.exs
gabrielcarneiro97/rummikub
5497f821dd4f4431a17aa31c52cf692aed4285c2
[ "MIT" ]
null
null
null
defmodule PieceTest do use ExUnit.Case doctest Piece defp all_valid_pieces() do Enum.map( 0..13, fn num -> [ %Piece{ number: num, color: :red }, %Piece{ number: num, color: :yellow }, %Piece{ number: num, color: :black }, %Piece{ number: num, color:...
22.97619
73
0.529534
651ae2c241c1cd5bbeca2dfb99ad724df61d5623
3,864
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/job_configuration_table_copy.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query/lib/google_api/big_query/v2/model/job_configuration_table_copy.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/job_configuration_table_copy.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 ...
56.823529
675
0.750776
651b262a32bdb52670adbfbd4040199b792b56a3
1,965
exs
Elixir
test/stripe/subscriptions/plan_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
555
2016-11-29T05:02:27.000Z
2022-03-30T00:47:59.000Z
test/stripe/subscriptions/plan_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
532
2016-11-28T18:22:25.000Z
2022-03-30T17:04:32.000Z
test/stripe/subscriptions/plan_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
296
2016-12-05T14:04:09.000Z
2022-03-28T20:39:37.000Z
defmodule Stripe.PlanTest do use Stripe.StripeCase, async: true describe "create/2" do test "creates a Plan for a customer" do params = %{ amount: 5000, currency: "usd", id: "sapphire-elite", interval: "month", nickname: "Sapphire elite", product: "abc_123"...
27.676056
75
0.599491
651b3346105bf2642551dc286898b7f93dc2748a
3,003
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_update_intents_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_update_intents_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_update_intents_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 ...
41.708333
171
0.726274
651b417fc8a05965ea35fadc668fe60d3082a8cc
3,066
ex
Elixir
lib/jsonapi/utils/data_to_params.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
442
2015-06-22T00:24:07.000Z
2021-12-07T21:09:38.000Z
lib/jsonapi/utils/data_to_params.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
202
2015-06-21T18:09:54.000Z
2021-12-13T15:11:02.000Z
lib/jsonapi/utils/data_to_params.ex
snewcomer/jsonapi
3ed41d5c133fce5554b75a983daeb20e4f471c95
[ "MIT" ]
86
2015-06-22T16:04:25.000Z
2021-07-25T08:39:03.000Z
defmodule JSONAPI.Utils.DataToParams do @moduledoc ~S""" Converts a Map representation of the JSON:API resource object format into a flat Map convenient for changeset casting. """ alias JSONAPI.Utils.String, as: JString @spec process(map) :: map def process(%{"data" => nil}), do: nil def process(%{"da...
25.983051
101
0.626875
651b4222510c21703be153de18838d8d33e56684
3,927
ex
Elixir
lib/graphql/schemas/pr_object.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
lib/graphql/schemas/pr_object.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
lib/graphql/schemas/pr_object.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
defmodule SlackCoder.GraphQL.Schemas.PR do @moduledoc """ """ use Absinthe.Schema.Notation use Absinthe.Ecto, repo: SlackCoder.Repo import SlackCoder.GraphQL.Resolvers.DefaultResolvers @desc "A replica of the Github Pull Request data stripped down to what this project needs." object :pull_request do ...
47.890244
154
0.722434
651b5d77b32f1aa20bdf85c48002a4aa9bf27cd9
1,906
exs
Elixir
test/file_size/units/info_test.exs
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
5
2019-05-25T14:33:23.000Z
2020-10-25T01:23:17.000Z
test/file_size/units/info_test.exs
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
6
2020-04-14T21:48:53.000Z
2020-09-25T12:52:03.000Z
test/file_size/units/info_test.exs
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
1
2020-09-23T21:51:37.000Z
2020-09-23T21:51:37.000Z
defmodule FileSize.Units.InfoTest do use ExUnit.Case alias FileSize.Units alias FileSize.Units.Info describe "new/1" do test "build info" do assert Info.new( exp: 3, mod: FileSize.Byte, name: :gb, symbol: "GB", system: :si ...
26.109589
68
0.491081
651b6bbfb8c631d7704be8c62d653f13247b795e
292
ex
Elixir
lib/up_run/mailbox.ex
robot-overlord/up_run
5656b9e584d9ce839372c6a6a367f2181ff8c09c
[ "MIT" ]
3
2017-05-24T21:06:48.000Z
2019-03-25T19:15:06.000Z
lib/up_run/mailbox.ex
robot-overlord/up_run
5656b9e584d9ce839372c6a6a367f2181ff8c09c
[ "MIT" ]
null
null
null
lib/up_run/mailbox.ex
robot-overlord/up_run
5656b9e584d9ce839372c6a6a367f2181ff8c09c
[ "MIT" ]
null
null
null
defmodule UpRun.Mailbox do def start_link, do: Task.start_link(fn -> loop() end) def loop() do receive do {:msg, message} -> IO.puts "Got: #{message}" loop() bad -> IO.puts "Eh? I don't understand #{inspect bad}" loop() end end end
18.25
55
0.541096