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
da8d10177e434fe2ac0bffba564ba2fc7e43b4ba
822
exs
Elixir
apps/acquisition/mix.exs
drobban/bottle
57a502e765a65d635f48ec6d6cbfae1e87dfea75
[ "Unlicense" ]
null
null
null
apps/acquisition/mix.exs
drobban/bottle
57a502e765a65d635f48ec6d6cbfae1e87dfea75
[ "Unlicense" ]
null
null
null
apps/acquisition/mix.exs
drobban/bottle
57a502e765a65d635f48ec6d6cbfae1e87dfea75
[ "Unlicense" ]
null
null
null
defmodule Acquisition.MixProject do use Mix.Project def project do [ app: :acquisition, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.11", start_permanent: ...
23.485714
88
0.572993
da8d10c3ab82451e8fd826da0da0b6a5e977b182
493
ex
Elixir
apps/feedex_metrics/lib/feedex_metrics/application.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_metrics/lib/feedex_metrics/application.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_metrics/lib/feedex_metrics/application.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FeedexMetrics.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # FeedexMetrics.Telemetry ] # See https://hexdocs.pm/elixir/Supervisor.h...
24.65
67
0.72211
da8d16c97bda39156a48e02ca95c071d0b7aad86
6,764
exs
Elixir
test/list_utils1_test.exs
ianrumford/plymio_list
c96d9331aabe3381565c93321b58f1bddf8333fe
[ "MIT" ]
1
2017-01-21T12:03:06.000Z
2017-01-21T12:03:06.000Z
test/list_utils1_test.exs
ianrumford/plymio_list
c96d9331aabe3381565c93321b58f1bddf8333fe
[ "MIT" ]
null
null
null
test/list_utils1_test.exs
ianrumford/plymio_list
c96d9331aabe3381565c93321b58f1bddf8333fe
[ "MIT" ]
null
null
null
defmodule ListsUtils1Test1 do use PlymioListHelpersTest test "list_2lists?: true" do assert PLU.list_2lists?([[1,1]]) assert PLU.list_2lists?([[1,1], [2, 2], [3, 3]]) end test "list_2lists?: false" do refute PLU.list_2lists?(nil) refute PLU.list_2lists?(42) refute PLU.list_2lists?(:ato...
33.156863
128
0.616795
da8d1b953b37d9f9074da6c5a198bfbbeaaae5c4
1,860
exs
Elixir
Phoenix-Examples/discuss/config/dev.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
3
2019-10-28T21:02:55.000Z
2020-10-01T02:29:37.000Z
Phoenix-Examples/discuss/config/dev.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
null
null
null
Phoenix-Examples/discuss/config/dev.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
4
2019-10-12T19:41:58.000Z
2021-09-24T20:24:47.000Z
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. # # In order to use HTTPS in development, a self-signed...
32.631579
170
0.7
da8d3766eef3602b0285dfad9e3a28081b51ef52
1,599
exs
Elixir
app/mix.exs
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "MIT" ]
null
null
null
app/mix.exs
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "MIT" ]
null
null
null
app/mix.exs
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "MIT" ]
null
null
null
defmodule ReadingList.Mixfile do use Mix.Project def project do [ app: :reading_list, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), ...
26.213115
79
0.587242
da8d7e1d4ddeec8438c0abc4397460666ee494ac
1,520
ex
Elixir
test/support/data_case.ex
michaelroudnitski/hello-phoenix
3fee75784948b37732a0feba1a31e22b83281e7f
[ "Apache-2.0" ]
3
2020-12-21T07:31:53.000Z
2021-07-07T05:11:32.000Z
test/support/data_case.ex
michaelroudnitski/hello-phoenix
3fee75784948b37732a0feba1a31e22b83281e7f
[ "Apache-2.0" ]
8
2020-12-11T14:40:34.000Z
2021-01-11T11:30:05.000Z
test/support/data_case.ex
michaelroudnitski/hello-phoenix
3fee75784948b37732a0feba1a31e22b83281e7f
[ "Apache-2.0" ]
1
2020-11-17T07:06:17.000Z
2020-11-17T07:06:17.000Z
defmodule Hello.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to the...
27.142857
77
0.686184
da8d9eb14793ce23bc2cd3aeea3903c5623fe848
42
exs
Elixir
config/dev4.exs
shopping-adventure/gen_serverring
ec75aa647bee80228dc9464b6e143b0633433827
[ "MIT" ]
1
2016-09-23T13:08:09.000Z
2016-09-23T13:08:09.000Z
config/dev4.exs
shopping-adventure/gen_serverring
ec75aa647bee80228dc9464b6e143b0633433827
[ "MIT" ]
null
null
null
config/dev4.exs
shopping-adventure/gen_serverring
ec75aa647bee80228dc9464b6e143b0633433827
[ "MIT" ]
null
null
null
[gen_serverring: [data_dir: "data/dev4"]]
21
41
0.714286
da8dd48eac8796a16608e959188d486d04cf5aec
3,799
ex
Elixir
lib/mongo/auth/scram.ex
coingaming/mongodb
7a730d6cf470558ac9444319ae75751922ff17f2
[ "Apache-2.0" ]
null
null
null
lib/mongo/auth/scram.ex
coingaming/mongodb
7a730d6cf470558ac9444319ae75751922ff17f2
[ "Apache-2.0" ]
null
null
null
lib/mongo/auth/scram.ex
coingaming/mongodb
7a730d6cf470558ac9444319ae75751922ff17f2
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.Auth.SCRAM do @moduledoc false import Mongo.BinaryUtils import Mongo.Protocol.Utils import Bitwise def auth({username, password}, s) do # TODO: Wrap and log error nonce = nonce() first_bare = first_bare(username, nonce) payload = first_message(first_bare) message = [saslS...
31.396694
99
0.62885
da8dded8b858911ac110b1e46ec35df81d402783
1,589
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/packet_mirroring_network_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/packet_mirroring_network_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/packet_mirroring_network_info.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...
31.78
133
0.724355
da8df049bd0b72ace744690235f6729bf9f56e9a
7,403
exs
Elixir
test/resource/relationships/many_to_many_test.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
test/resource/relationships/many_to_many_test.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
test/resource/relationships/many_to_many_test.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
defmodule Ash.Test.Resource.Relationships.ManyToManyTest do @moduledoc false use ExUnit.Case, async: true alias __MODULE__ alias Ash.Resource.Relationships.HasMany alias Ash.Resource.Relationships.ManyToMany defmacrop defposts(do: body) do quote do defmodule Post do @moduledoc false ...
33.803653
158
0.568283
da8e133a62412d38541e7d68fafdba65dc07a8d7
10,697
exs
Elixir
lib/ex_unit/test/ex_unit/diff_test.exs
bsmr-erlang/elixir
0e72d4839cda97edce75ca0c537555ce4ead7a6a
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/diff_test.exs
bsmr-erlang/elixir
0e72d4839cda97edce75ca0c537555ce4ead7a6a
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/diff_test.exs
bsmr-erlang/elixir
0e72d4839cda97edce75ca0c537555ce4ead7a6a
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.DiffTest do use ExUnit.Case, async: true import ExUnit.Diff defmodule User do defstruct [:age] end test "numbers" do int1 = 491_512_235 int2 = 490_512_035 expected = [eq: "49", del: "1", ins: "0", eq: "512", del: "2", ins: "...
24.590805
96
0.387211
da8e31ac8e82ef5ee7d9d0662abd6f4a505328b3
1,027
ex
Elixir
lib/twivia/application.ex
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
lib/twivia/application.ex
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
lib/twivia/application.ex
liviaab/twivia
ce00db2ef8375ef5c6f1c1f996aa7c44fa994a8e
[ "MIT" ]
null
null
null
defmodule Twivia.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Start the Ecto repository Twivia.Repo, # Start the Telemetry supervisor ...
27.756757
64
0.697176
da8e961995dc0247a2d9b0e9cc3635eed5052522
142
ex
Elixir
web/controllers/page_controller.ex
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
defmodule Phenodata.PageController do use Phenodata.Web, :controller def index(conn, _params) do render conn, "index.html" end end
17.75
37
0.739437
da8eaef8d80022385037aee2879600e4ae7cf6b6
90
exs
Elixir
test/json_to_elixir_web/views/page_view_test.exs
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
1
2020-01-19T17:52:05.000Z
2020-01-19T17:52:05.000Z
test/json_to_elixir_web/views/page_view_test.exs
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
null
null
null
test/json_to_elixir_web/views/page_view_test.exs
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
null
null
null
defmodule JSONToElixirWeb.PageViewTest do use JSONToElixirWeb.ConnCase, async: true end
22.5
43
0.844444
da8ec3324df4ebd003f411b08de0b48c7f4af582
123
exs
Elixir
test/test_helper.exs
Baransu/todos
a1ce771b35dc0f30efd043c283b513b52eba4657
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
Baransu/todos
a1ce771b35dc0f30efd043c283b513b52eba4657
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
Baransu/todos
a1ce771b35dc0f30efd043c283b513b52eba4657
[ "BSD-3-Clause" ]
null
null
null
{:ok, _} = Application.ensure_all_started(:ex_machina) ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(Todos.Repo, :manual)
17.571429
54
0.764228
da8edea9a792ee23cf9f5628e5e1687c025bc850
1,230
ex
Elixir
lib/hello_phoenix/endpoint.ex
jpaddison3/hello_phoenix
c86e0f3591134488e7e48faef96ce89818a59e62
[ "MIT" ]
null
null
null
lib/hello_phoenix/endpoint.ex
jpaddison3/hello_phoenix
c86e0f3591134488e7e48faef96ce89818a59e62
[ "MIT" ]
null
null
null
lib/hello_phoenix/endpoint.ex
jpaddison3/hello_phoenix
c86e0f3591134488e7e48faef96ce89818a59e62
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.Endpoint do use Phoenix.Endpoint, otp_app: :hello_phoenix socket "/socket", HelloPhoenix.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plu...
28.604651
69
0.722764
da8ef23bbb24eec61d1eb72360cbee3784ad3432
75
ex
Elixir
lib/azure.ex
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
1
2022-01-06T22:43:40.000Z
2022-01-06T22:43:40.000Z
lib/azure.ex
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
8
2021-07-05T19:03:33.000Z
2021-11-10T17:14:01.000Z
lib/azure.ex
arisechurch/elixir-azure
34b97357b2d8312d2576ebd49bf59c48c1435bc8
[ "MIT" ]
3
2022-01-06T22:43:24.000Z
2022-03-04T21:40:37.000Z
defmodule Azure do @moduledoc """ Documentation for `Azure`. """ end
12.5
28
0.653333
da8f06c311fc129a48052bd4faf5cf47bab82a26
2,253
exs
Elixir
test/auto_updating_url_cache_test.exs
X-Plane/weather-mirror
7db39c342ef33fa9688751ce661ab5ff8e6ebb6c
[ "MIT" ]
6
2019-09-08T15:45:52.000Z
2022-03-18T07:08:03.000Z
test/auto_updating_url_cache_test.exs
X-Plane/weather-mirror
7db39c342ef33fa9688751ce661ab5ff8e6ebb6c
[ "MIT" ]
null
null
null
test/auto_updating_url_cache_test.exs
X-Plane/weather-mirror
7db39c342ef33fa9688751ce661ab5ff8e6ebb6c
[ "MIT" ]
1
2019-12-12T13:29:52.000Z
2019-12-12T13:29:52.000Z
defmodule WeatherMirror.AutoUpdatingUrlCacheTest do use ExUnit.Case, async: true test "works with simple URLs" do {:ok, server} = WeatherMirror.AutoUpdatingUrlCache.start_link(:google, fn _ -> "https://www.google.com" end, 999_999) %HTTPoison.Response{status_code: 200, headers: headers1, body: _} = Weather...
56.325
139
0.742122
da8f2ef73ec5bb6758b05de9e4411c2d1de94970
988
exs
Elixir
mix.exs
elpaisa/jsonx
629ad4b8511c1eef06c931b6b24302f8e45ff356
[ "MIT" ]
2
2017-04-29T00:25:56.000Z
2017-07-21T14:09:24.000Z
mix.exs
elpaisa/jsonx
629ad4b8511c1eef06c931b6b24302f8e45ff356
[ "MIT" ]
null
null
null
mix.exs
elpaisa/jsonx
629ad4b8511c1eef06c931b6b24302f8e45ff356
[ "MIT" ]
null
null
null
defmodule JSX.Mixfile do use Mix.Project def project do [ app: :jsonx, version: "2.8.2", description: "an erlang application for consuming, producing and manipulating json. inspired by yajl", deps: deps(Mix.env), package: package(), language: :erlang, erlc_options: opts(...
22.454545
108
0.551619
da8f377a95273e140644b53455d1be8d0a762d95
3,312
ex
Elixir
lib/dragonhacks_web/controllers/report_controller.ex
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
1
2019-04-03T01:48:59.000Z
2019-04-03T01:48:59.000Z
lib/dragonhacks_web/controllers/report_controller.ex
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
null
null
null
lib/dragonhacks_web/controllers/report_controller.ex
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
1
2019-03-31T21:21:47.000Z
2019-03-31T21:21:47.000Z
defmodule DragonhacksWeb.ReportController do use DragonhacksWeb, :controller alias Dragonhacks.Lots alias Dragonhacks.Lots.Report require Logger action_fallback DragonhacksWeb.FallbackController def index(conn, _params) do reports = Lots.list_reports() render(conn, "index.json", reports: reports...
32.15534
103
0.683877
da8f3db24bd94504460c07d4612c0227a3af9aab
257
ex
Elixir
lib/quickstart.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
lib/quickstart.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
lib/quickstart.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
defmodule Quickstart do @moduledoc """ Quickstart 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
25.7
66
0.758755
da8f72459c473eb588966793e13b3f6b25a89077
1,041
exs
Elixir
test/toolshed/net_test.exs
amclain/toolshed
881fd4953ce477310812e172bfced7532a2656d8
[ "Apache-2.0" ]
null
null
null
test/toolshed/net_test.exs
amclain/toolshed
881fd4953ce477310812e172bfced7532a2656d8
[ "Apache-2.0" ]
null
null
null
test/toolshed/net_test.exs
amclain/toolshed
881fd4953ce477310812e172bfced7532a2656d8
[ "Apache-2.0" ]
null
null
null
defmodule Toolshed.NetTest do use ExUnit.Case import ExUnit.CaptureIO alias Toolshed.Net describe "tping" do test "can ping an IPv4 address" do assert capture_io(fn -> Net.tping("127.0.0.1") end) =~ "Response from 127.0.0.1 (127.0.0.1): time=" end # This guards ag...
28.916667
69
0.573487
da8f74b543d99728992e47d1d054f21a964f6b77
90
ex
Elixir
lib/similarfilms_phoenix/repo.ex
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
lib/similarfilms_phoenix/repo.ex
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
lib/similarfilms_phoenix/repo.ex
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
defmodule SimilarfilmsPhoenix.Repo do use Ecto.Repo, otp_app: :similarfilms_phoenix end
22.5
47
0.833333
da8f8b205983a169c5d63fd72275108e9644658c
1,882
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_iam_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_iam_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_iam_policy.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...
33.017544
124
0.754516
da8f9360efbc0e1e9e7f6032e0e251358f9c490a
1,824
ex
Elixir
todo/lib/todo_web/router.ex
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
null
null
null
todo/lib/todo_web/router.ex
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
22
2021-12-11T13:12:45.000Z
2022-01-29T14:20:03.000Z
todo/lib/todo_web/router.ex
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
null
null
null
defmodule TodoWeb.Router do use TodoWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {TodoWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts...
28.061538
76
0.678728
da8f94e239ce3fc013cc66d9c83690e83c5b957d
14,457
ex
Elixir
samples/client/petstore/elixir/lib/openapi_petstore/api/fake.ex
malymato/openapi-generator
47e2c0d027d867de67633bbc9c0a5d7e1054a778
[ "Apache-2.0" ]
3
2019-06-25T01:41:08.000Z
2019-10-01T15:49:15.000Z
samples/client/petstore/elixir/lib/openapi_petstore/api/fake.ex
malymato/openapi-generator
47e2c0d027d867de67633bbc9c0a5d7e1054a778
[ "Apache-2.0" ]
8
2020-07-18T08:19:47.000Z
2022-02-26T18:06:57.000Z
samples/client/petstore/elixir/lib/openapi_petstore/api/fake.ex
malymato/openapi-generator
47e2c0d027d867de67633bbc9c0a5d7e1054a778
[ "Apache-2.0" ]
2
2019-06-25T05:39:52.000Z
2019-07-09T15:47:02.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule OpenapiPetstore.Api.Fake do @moduledoc """ API calls for all endpoints tagged `Fake`. """ alias OpenapiPetstore.Connection import OpenapiPe...
30.957173
193
0.636992
da8f9ac5390fb8cc1620d14bfa49814ee7d93159
1,533
ex
Elixir
lib/appsignal/phoenix/template_instrumenter.ex
taverngoal/appsignal-elixir
b7a991e14ff2482131daef0071f27b3d6b32b649
[ "MIT" ]
1
2020-08-11T08:13:25.000Z
2020-08-11T08:13:25.000Z
lib/appsignal/phoenix/template_instrumenter.ex
gjaldon/appsignal-elixir
36d872d96d4c53152e365558bcfe96a3ba689fb9
[ "MIT" ]
null
null
null
lib/appsignal/phoenix/template_instrumenter.ex
gjaldon/appsignal-elixir
36d872d96d4c53152e365558bcfe96a3ba689fb9
[ "MIT" ]
1
2020-10-08T20:22:54.000Z
2020-10-08T20:22:54.000Z
if Appsignal.phoenix?() do defmodule Appsignal.Phoenix.TemplateInstrumenter do @moduledoc """ Instrument Phoenix template engines As documented in the [phoenix guidelines](http://docs.appsignal.com/elixir/integrations/phoenix.html), The AppSignal Elixir library comes with default template engines...
27.872727
80
0.660796
da8fa1777bc8a10c72c58478476f053f106b412d
676
ex
Elixir
lib/this_weekend/account/auth.ex
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
null
null
null
lib/this_weekend/account/auth.ex
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
2
2021-03-10T17:57:38.000Z
2022-03-26T16:51:58.000Z
lib/this_weekend/account/auth.ex
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
null
null
null
defmodule ThisWeekend.Account.Auth do alias ThisWeekend.{User, Repo} alias ThisWeekend.Trip.{Builder} def login(params) do user = User.find_by_email(params["username"]) case user do %User{email: email} -> {:ok, trip} = Builder.create_trip(Map.from_struct(user)) {:ok, %{email: email...
27.04
64
0.630178
da8fc05530cc918d8685324f7aece2eebb865d0e
371
exs
Elixir
test/drab/controller_test.exs
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
test/drab/controller_test.exs
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
test/drab/controller_test.exs
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
defmodule Drab.ControllerTest do use ExUnit.Case, ascync: true doctest Drab.Controller test "__drab__/0 should return the valid commander" do assert DrabTestApp.TestController.__drab__() == %{ commander: DrabTestApp.TestCommander, controller: DrabTestApp.TestController, ...
28.538462
56
0.681941
da8fc7e25907d6683cfbfa09f3eb79c14cbba998
76,614
ex
Elixir
lib/elixir/lib/string.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
1
2021-05-05T02:11:24.000Z
2021-05-05T02:11:24.000Z
lib/elixir/lib/string.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/elixir/lib/string.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [length: 1] defmodule String do @moduledoc ~S""" Strings in Elixir are UTF-8 encoded binaries. Strings in Elixir are a sequence of Unicode characters, typically written between double quoted strings, such as `"hello"` and `"héllò"`. In case a string must have a double-quote in itse...
28.823928
102
0.64996
da8fd18416143921dd9e44ea51062bd48a2cac09
2,702
ex
Elixir
lib/on_flow/channel.ex
dangdennis/on_flow
cf3e59cd47bcdf77ee02131e3f269e71c7277556
[ "MIT" ]
null
null
null
lib/on_flow/channel.ex
dangdennis/on_flow
cf3e59cd47bcdf77ee02131e3f269e71c7277556
[ "MIT" ]
null
null
null
lib/on_flow/channel.ex
dangdennis/on_flow
cf3e59cd47bcdf77ee02131e3f269e71c7277556
[ "MIT" ]
null
null
null
defmodule OnFlow.Channel do use GenServer @doc false def start_link(arg) do GenServer.start_link(__MODULE__, arg, name: __MODULE__) end @doc """ Connects to the GRPC server. Blocks the process until a connection is established. """ def connect(host \\ host(), opts \\ []) do GenServer.call(__...
21.96748
75
0.65507
da8fd59f1665b505cc4f987f0d7e7799115df560
943
exs
Elixir
priv/mock/tag_patch_seeds.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/mock/tag_patch_seeds.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/mock/tag_patch_seeds.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
alias GroupherServer.CMS alias CMS.Model.Community alias GroupherServer.CMS.Delegate.{Seeds, SeedsConfig} alias Helper.ORM patch_communities = SeedsConfig.communities(:pl) ++ SeedsConfig.communities(:framework) ++ SeedsConfig.communities(:ui) ++ SeedsConfig.communities(:blockchain) ++ SeedsConfig.c...
20.955556
74
0.646872
da900458781603658df7f6db911a064f83b26ae2
2,186
ex
Elixir
lib/mix/tasks/phx.digest.ex
udanieli/phoenix
40b79c8d227eadb2af90f19b26c297a87f3b69aa
[ "MIT" ]
1
2021-09-25T11:49:31.000Z
2021-09-25T11:49:31.000Z
lib/mix/tasks/phx.digest.ex
udanieli/phoenix
40b79c8d227eadb2af90f19b26c297a87f3b69aa
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.digest.ex
udanieli/phoenix
40b79c8d227eadb2af90f19b26c297a87f3b69aa
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phx.Digest do use Mix.Task @default_input_path "priv/static" @shortdoc "Digests and compresses static files" @recursive true @moduledoc """ Digests and compresses static files. $ mix phx.digest $ mix phx.digest priv/static -o /www/public The first argument is the path w...
32.147059
117
0.688472
da900e02cdaabb78df237179b745de0877ea8344
942
ex
Elixir
test/support/channel_case.ex
ARtoriouSs/not_a_blog
7e2810d1ae6f9fd579d2964981dbbeead7df1e79
[ "MIT" ]
null
null
null
test/support/channel_case.ex
ARtoriouSs/not_a_blog
7e2810d1ae6f9fd579d2964981dbbeead7df1e79
[ "MIT" ]
null
null
null
test/support/channel_case.ex
ARtoriouSs/not_a_blog
7e2810d1ae6f9fd579d2964981dbbeead7df1e79
[ "MIT" ]
null
null
null
defmodule NotABlogWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts ...
24.789474
70
0.716561
da904ef84f97b6bc0bc67226db13a9473d280c67
811
ex
Elixir
lib/phoenix_token_auth/util.ex
benitezhm/phoenix_toke_auth_gensmtp
b5658e4669f6a722d2e17c558c626ce70e19cc51
[ "MIT" ]
190
2015-03-11T14:05:44.000Z
2021-11-13T03:42:59.000Z
lib/phoenix_token_auth/util.ex
benitezhm/phoenix_toke_auth_gensmtp
b5658e4669f6a722d2e17c558c626ce70e19cc51
[ "MIT" ]
48
2015-03-14T17:41:25.000Z
2016-08-16T11:37:37.000Z
lib/phoenix_token_auth/util.ex
benitezhm/phoenix_toke_auth_gensmtp
b5658e4669f6a722d2e17c558c626ce70e19cc51
[ "MIT" ]
62
2015-03-20T04:31:34.000Z
2020-08-24T05:05:12.000Z
defmodule PhoenixTokenAuth.Util do import Plug.Conn import Phoenix.Controller def repo do Application.get_env(:phoenix_token_auth, :repo) end def crypto_provider do Application.get_env(:phoenix_token_auth, :crypto_provider, Comeonin.Bcrypt) end def send_error(conn, error, status \\ 422) do ...
26.16129
79
0.699137
da90ad879a7404ed10e29bb7f5bae13f6b9a0c47
227
ex
Elixir
lib/loaders/loader_ukrnet.ex
olefav/randnews
5328a5c3ae0b1dd125da345260b43a6bc5ab5be8
[ "MIT" ]
null
null
null
lib/loaders/loader_ukrnet.ex
olefav/randnews
5328a5c3ae0b1dd125da345260b43a6bc5ab5be8
[ "MIT" ]
null
null
null
lib/loaders/loader_ukrnet.ex
olefav/randnews
5328a5c3ae0b1dd125da345260b43a6bc5ab5be8
[ "MIT" ]
null
null
null
defmodule Randnews.LoaderUkrnet do @behaviour Randnews.Loader @impl Randnews.Loader def base_url do "https://www.ukr.net/news/main.html" end @impl Randnews.Loader def page_path_modifier(_) do "" end end
16.214286
40
0.713656
da90c3bd1c5d389c462b90dcf0c92722479420fa
478
ex
Elixir
lib/find_a_fluff/shelter.ex
SylvainBigonneau/FindAFluff
c88c18cc085254e15445312f41b06b826449b251
[ "MIT" ]
1
2018-06-03T15:37:23.000Z
2018-06-03T15:37:23.000Z
lib/find_a_fluff/shelter.ex
SylvainBigonneau/FindAFluff
c88c18cc085254e15445312f41b06b826449b251
[ "MIT" ]
null
null
null
lib/find_a_fluff/shelter.ex
SylvainBigonneau/FindAFluff
c88c18cc085254e15445312f41b06b826449b251
[ "MIT" ]
null
null
null
defmodule FindAFluff.Shelter do use Ecto.Schema import Ecto.Changeset @derive {Poison.Encoder, only: [:name, :region]} schema "shelters" do field :name, :string has_many :pets, FindAFluff.Pet belongs_to :region, FindAFluff.Region timestamps() end @doc """ Builds a changeset based on t...
20.782609
56
0.650628
da90df8e1268ca2aa011d78fcb43b5df78f6e56b
142
ex
Elixir
anituber/lib/anituber_web/controllers/page_controller.ex
Ogiwara-CostlierRain464/Anituber
5ce128883ee609e785416b18cc9ca3ebc3877258
[ "MIT" ]
null
null
null
anituber/lib/anituber_web/controllers/page_controller.ex
Ogiwara-CostlierRain464/Anituber
5ce128883ee609e785416b18cc9ca3ebc3877258
[ "MIT" ]
null
null
null
anituber/lib/anituber_web/controllers/page_controller.ex
Ogiwara-CostlierRain464/Anituber
5ce128883ee609e785416b18cc9ca3ebc3877258
[ "MIT" ]
null
null
null
defmodule AnituberWeb.PageController do use AnituberWeb, :controller def index(conn, _params) do render conn, "index.html" end end
17.75
39
0.746479
da90f4498cb76b0ae98b1e181aa363a109aacf2f
235
ex
Elixir
lib/gutenex/pdf/templates.ex
tulinmola/gutenex
09a17dada273e089685176b5a14820430624675f
[ "MIT" ]
184
2015-01-16T23:05:42.000Z
2018-10-25T18:51:52.000Z
lib/gutenex/pdf/templates.ex
nicolasva/gutenex
69aba56001455e3ff6ec6257d95b2f70e3fcffad
[ "MIT" ]
15
2015-05-29T00:28:08.000Z
2018-10-11T18:55:35.000Z
lib/gutenex/pdf/templates.ex
nicolasva/gutenex
69aba56001455e3ff6ec6257d95b2f70e3fcffad
[ "MIT" ]
32
2015-02-14T07:39:48.000Z
2018-09-12T21:01:02.000Z
defmodule Gutenex.PDF.Templates do def load(path) do { template_alias(path), File.read!(path) } end def template_alias(template_path) do Base.hex_encode32(template_path) |> String.trim("=") end end
16.785714
38
0.651064
da9110db3664a02fe97076746ef803b92da52eee
1,145
exs
Elixir
config/config.exs
gVirtu/ex_aws_textract
a5008f5f79f6abb17b76dcbc1957554337d63947
[ "MIT" ]
null
null
null
config/config.exs
gVirtu/ex_aws_textract
a5008f5f79f6abb17b76dcbc1957554337d63947
[ "MIT" ]
null
null
null
config/config.exs
gVirtu/ex_aws_textract
a5008f5f79f6abb17b76dcbc1957554337d63947
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.935484
73
0.754585
da912a12f465e34b4fb8296f431afdc288e46924
913
ex
Elixir
lib/dialyxir/warnings/callback_info_missing.ex
groksrc/dialyxir
2968bea2c22e67571bfa939422fc370ea5ce5b4c
[ "Apache-2.0" ]
null
null
null
lib/dialyxir/warnings/callback_info_missing.ex
groksrc/dialyxir
2968bea2c22e67571bfa939422fc370ea5ce5b4c
[ "Apache-2.0" ]
null
null
null
lib/dialyxir/warnings/callback_info_missing.ex
groksrc/dialyxir
2968bea2c22e67571bfa939422fc370ea5ce5b4c
[ "Apache-2.0" ]
null
null
null
defmodule Dialyxir.Warnings.CallbackInfoMissing do @behaviour Dialyxir.Warning @impl Dialyxir.Warning @spec warning() :: :callback_info_missing def warning(), do: :callback_info_missing @impl Dialyxir.Warning @spec format_short([String.t()]) :: String.t() def format_short(args), do: format_long(args) ...
22.825
77
0.687842
da9184f9d8b5a58634e3a1d237de2191ca8668dd
2,171
exs
Elixir
examples/new_relic_sandbox_umbrella/config/dev.exs
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
null
null
null
examples/new_relic_sandbox_umbrella/config/dev.exs
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
2
2019-09-09T08:26:44.000Z
2019-11-05T04:31:37.000Z
examples/new_relic_sandbox_umbrella/config/dev.exs
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
1
2019-09-06T09:27:27.000Z
2019-09-06T09:27:27.000Z
use Mix.Config config :new_relic_agent, harvest_enabled: false, app_name: "Elixir Sandbox" # Configure your database config :new_relic_sandbox, NewRelicSandbox.Repo, username: "postgres", password: "postgres", database: "new_relic_sandbox_dev", hostname: "localhost", show_sensitive_data_on_connection_er...
28.946667
68
0.722708
da918be07b32fd503dd93800ea4494c4047d1099
117
ex
Elixir
lib/graph_banking/repo.ex
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
lib/graph_banking/repo.ex
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
lib/graph_banking/repo.ex
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
defmodule GraphBanking.Repo do use Ecto.Repo, otp_app: :graph_banking, adapter: Ecto.Adapters.Postgres end
19.5
35
0.752137
da9196f627a591495e7e6c4edf15b7cb9c695582
12,533
exs
Elixir
integration/mssql/cases/type.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
integration/mssql/cases/type.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
integration/mssql/cases/type.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
Code.require_file("../support/types.exs", __DIR__) defmodule Ecto.Integration.TypeTest do use Ecto.Integration.Case, async: Application.get_env(:ecto, :async_integration_tests, true) alias Ecto.Integration.{Custom, Item, Order, Post, User, Tag} alias Ecto.Integration.TestRepo import Ecto.Query test "pr...
28.227477
82
0.519349
da91afabb59258d25512fdff23e8ae2d8d90f203
1,031
exs
Elixir
mix.exs
elridion/dumpster
167244262299fc9c8d8b7dfe395c42c8456d3142
[ "MIT" ]
null
null
null
mix.exs
elridion/dumpster
167244262299fc9c8d8b7dfe395c42c8456d3142
[ "MIT" ]
null
null
null
mix.exs
elridion/dumpster
167244262299fc9c8d8b7dfe395c42c8456d3142
[ "MIT" ]
null
null
null
defmodule Dumpster.MixProject do use Mix.Project def project do [ app: :dumpster, version: "1.0.1", elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name...
21.93617
66
0.580019
da91b127c9b3d09101cf590d5d36d3edc8e3a067
2,609
ex
Elixir
lib/google_api/you_tube/v3/model/activity_content_details.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/activity_content_details.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/activity_content_details.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # 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...
44.220339
120
0.752012
da91ddc7e97456eaae451f961ae9697a7c34fd8a
361
ex
Elixir
lib/vivid/bounds/of/frame.ex
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
26
2017-01-03T01:18:38.000Z
2019-02-21T09:26:20.000Z
lib/vivid/bounds/of/frame.ex
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
null
null
null
lib/vivid/bounds/of/frame.ex
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
2
2017-03-18T22:45:49.000Z
2017-05-08T07:24:58.000Z
defimpl Vivid.Bounds.Of, for: Vivid.Frame do alias Vivid.{Frame, Point} @doc """ Find the bounds of a `frame`. Returns a two-element tuple of the bottom-left and top-right points. """ @spec bounds(Frame.t()) :: {Point.t(), Point.t()} def bounds(%Frame{width: w, height: h} = _frame) do {Point.init(0,...
25.785714
70
0.628809
da91e25f4317308125fe9c03caa04b356f0bd27a
49
exs
Elixir
ActionFoldersTestDir/sample script non-exec.exs
tsjnsn/action-folders
c7cbe07b594e93d779f4031f91c0451cf75bffbc
[ "Apache-2.0" ]
1
2015-07-24T09:38:57.000Z
2015-07-24T09:38:57.000Z
ActionFoldersTestDir/sample script.exs
tsjnsn/action-folders
c7cbe07b594e93d779f4031f91c0451cf75bffbc
[ "Apache-2.0" ]
null
null
null
ActionFoldersTestDir/sample script.exs
tsjnsn/action-folders
c7cbe07b594e93d779f4031f91c0451cf75bffbc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env elixir IO.inspect(System.argv())
12.25
25
0.693878
da92205568e4db84b68bc7353f592e3d6377b7a2
13,974
exs
Elixir
test/resx_base/encoder_test.exs
ScrimpyCat/ResxBase
34752e2cf64005a8e5fd0f89885aacc260f72bf8
[ "BSD-2-Clause" ]
null
null
null
test/resx_base/encoder_test.exs
ScrimpyCat/ResxBase
34752e2cf64005a8e5fd0f89885aacc260f72bf8
[ "BSD-2-Clause" ]
null
null
null
test/resx_base/encoder_test.exs
ScrimpyCat/ResxBase
34752e2cf64005a8e5fd0f89885aacc260f72bf8
[ "BSD-2-Clause" ]
null
null
null
defmodule ResxBase.EncoderTest do use ExUnit.Case test "invalid encoding type" do resource = Resx.Resource.open!("data:,foo") assert { :error, { :internal, "Unknown encoding format: nil" } } == Resx.Resource.transform(resource, ResxBase.Encoder) assert { :error, { :internal, "Unknown e...
93.785235
243
0.663947
da922aad2aba0671762f2542a1a26f3ddcf9eb98
1,014
ex
Elixir
lib/blockchain_api/job/submit_oui.ex
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
lib/blockchain_api/job/submit_oui.ex
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
lib/blockchain_api/job/submit_oui.ex
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
defmodule BlockchainAPI.Job.SubmitOUI do alias BlockchainAPI.Query.PendingOUI alias BlockchainAPI.Util require Logger def run(id) do Logger.debug("running pending_oui job: #{inspect(id)}") pending_oui = PendingOUI.get_by_id!(id) IO.inspect(pending_oui, label: :pending_oui) IO.inspect(pending_...
25.35
88
0.612426
da92389796b0f2d2bfc52e80ced0af380754a4f4
1,547
ex
Elixir
web/controllers/session_controller.ex
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
29
2016-07-27T21:39:06.000Z
2020-01-16T10:34:05.000Z
web/controllers/session_controller.ex
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
null
null
null
web/controllers/session_controller.ex
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
6
2016-07-28T18:44:25.000Z
2019-11-09T12:43:40.000Z
defmodule PasswordlessLoginApp.SessionController do use PasswordlessLoginApp.Web, :controller alias PasswordlessLoginApp.{Mailer, SimpleAuth, User} def new(conn, _params) do changeset = User.changeset(%User{}) render conn, "new.html", changeset: changeset end def create(conn, %{"user" => user_params...
30.333333
96
0.628313
da925cd694b16468b958862a76aff6310e8a6d8d
674
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/org_metric.ex
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
1
2020-08-04T14:13:24.000Z
2020-08-04T14:13:24.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/org_metric.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
1
2020-09-08T15:15:50.000Z
2020-09-08T16:13:28.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/org_metric.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWebCore.Accounts.OrgMetric do use Ecto.Schema import Ecto.Changeset alias NervesHubWebCore.Accounts.Org @type t :: %__MODULE__{} @primary_key {:id, :binary_id, autogenerate: true} @params [ :org_id, :devices, :bytes_stored, :timestamp ] schema "org_metrics" do ...
20.424242
77
0.689911
da925fbb3e83f584284f306e480d0900a791f519
1,634
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/pending_google_update_insight.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/pending_google_update_insight.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/pending_google_update_insight.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...
34.765957
141
0.759486
da92639e8ccea975aed76cbd8548f6d50a60bca7
565
exs
Elixir
mix.exs
codebay/wrapper
ab137d1f12b6280cd3fc09083554c34964e85b06
[ "Apache-2.0" ]
null
null
null
mix.exs
codebay/wrapper
ab137d1f12b6280cd3fc09083554c34964e85b06
[ "Apache-2.0" ]
null
null
null
mix.exs
codebay/wrapper
ab137d1f12b6280cd3fc09083554c34964e85b06
[ "Apache-2.0" ]
null
null
null
defmodule Text.MixProject do use Mix.Project def project do [ app: :text, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicati...
19.482759
87
0.571681
da92737399c801a27a10fcc757a9fdcf70e495e5
1,748
ex
Elixir
lib/slack/file.ex
cjbottaro/slack_ex
866c3bb4df324094f97cbeed9201c8e83d6904db
[ "MIT" ]
null
null
null
lib/slack/file.ex
cjbottaro/slack_ex
866c3bb4df324094f97cbeed9201c8e83d6904db
[ "MIT" ]
null
null
null
lib/slack/file.ex
cjbottaro/slack_ex
866c3bb4df324094f97cbeed9201c8e83d6904db
[ "MIT" ]
null
null
null
defmodule Slack.File do @moduledoc """ Functions for working with files in Slack """ @base "files" use Slack.Request @doc """ Delete a file from the team. https://api.slack.com/methods/files.delete ## Examples Slack.client(token) |> Slack.File.delete(file: "F1234467890") """ @s...
19.863636
68
0.657895
da928ec430a2df15874196e19a479483e6f47483
8,535
ex
Elixir
lib/bamboo/adapters/mailgun_adapter.ex
antondomratchev/bamboo
732a9b086b0e0cc6fc66ddbc6f1354f10a86662a
[ "MIT" ]
null
null
null
lib/bamboo/adapters/mailgun_adapter.ex
antondomratchev/bamboo
732a9b086b0e0cc6fc66ddbc6f1354f10a86662a
[ "MIT" ]
null
null
null
lib/bamboo/adapters/mailgun_adapter.ex
antondomratchev/bamboo
732a9b086b0e0cc6fc66ddbc6f1354f10a86662a
[ "MIT" ]
null
null
null
defmodule Bamboo.MailgunAdapter do @moduledoc """ Sends email using Mailgun's API. Use this adapter to send emails through Mailgun's API. Requires that an API key and a domain are set in the config. See `Bamboo.MailgunHelper` for extra functions that can be used by Bamboo.MailgunAdapter (tagging, merge vars...
30.812274
118
0.657411
da92b54df145c873ad99c549327416f2567260c9
2,525
exs
Elixir
test/radiator_web/graphql/public/schema/query/networks_test.exs
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
test/radiator_web/graphql/public/schema/query/networks_test.exs
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
test/radiator_web/graphql/public/schema/query/networks_test.exs
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
defmodule RadiatorWeb.GraphQL.Public.Schema.Query.NetworksTest do use RadiatorWeb.ConnCase, async: true import Radiator.Factory @single_query """ query ($id: ID!) { publishedNetwork(id: $id) { id title } } """ test "network returns a network", %{conn: conn} do network = insert(:n...
25.505051
91
0.506139
da92c6df47e4adca197cddd7998e59c6ea4e72da
492
ex
Elixir
lib/zcash_explorer/metrics/networksolps_warmer.ex
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-11-04T20:19:35.000Z
2022-02-15T06:55:49.000Z
lib/zcash_explorer/metrics/networksolps_warmer.ex
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-09-12T01:36:25.000Z
2022-02-18T07:28:42.000Z
lib/zcash_explorer/metrics/networksolps_warmer.ex
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
8
2021-07-23T17:11:41.000Z
2022-03-17T17:07:55.000Z
defmodule ZcashExplorer.Metrics.NetworkSolpsWarmer do use Cachex.Warmer @doc """ Returns the interval for this warmer. """ def interval, do: :timer.seconds(15) @doc """ Executes this cache warmer. """ def execute(_state) do Zcashex.getnetworksolps() |> handle_result() end # ignores the ...
19.68
53
0.666667
da930fa9c42986407ec55117df9e6efe3e0bcf39
4,101
ex
Elixir
DL-IAM/DL-IAM.ex
Realscrat/decentlab-decoders
3ca5006cd85e3772a15a1b3fff3922c50979eeb6
[ "MIT" ]
13
2020-01-18T22:08:44.000Z
2022-02-06T14:19:57.000Z
DL-IAM/DL-IAM.ex
johannesE/decentlab-decoders
c290ea1218de2c82d665fdc9f71f16682e12d917
[ "MIT" ]
4
2019-05-10T07:17:41.000Z
2021-10-20T16:24:04.000Z
DL-IAM/DL-IAM.ex
johannesE/decentlab-decoders
c290ea1218de2c82d665fdc9f71f16682e12d917
[ "MIT" ]
15
2019-06-04T06:13:32.000Z
2022-02-15T07:28:52.000Z
# https://www.decentlab.com/products/indoor-ambiance-monitor-including-co2-tvoc-and-motion-sensor-for-lorawan defmodule DecentlabDecoder do @protocol_version 2 defp sensor_defs do [ %{ length: 1, values: [ %{ :name => "Battery voltage", :convert => fn x...
25.955696
146
0.459156
da931cf1dd9a29c2c1ef55adebf0cba304aa4f16
497
exs
Elixir
config/test.exs
frathon/ig
21d809ddfe389dd7a7b8ea75979510114e31dece
[ "MIT" ]
1
2020-01-21T12:01:29.000Z
2020-01-21T12:01:29.000Z
config/test.exs
frathon/ig
21d809ddfe389dd7a7b8ea75979510114e31dece
[ "MIT" ]
null
null
null
config/test.exs
frathon/ig
21d809ddfe389dd7a7b8ea75979510114e31dece
[ "MIT" ]
1
2020-01-27T23:13:11.000Z
2020-01-27T23:13:11.000Z
use Mix.Config config :ig, users: %{ user_name: %{ identifier: "MyUser", password: "mySecretPassword", api_key: "IAG5JPWraNvGDI5sokzy", demo: true } } config :exvcr, filter_request_headers: [ "CST", "X-SECURITY-TOKEN", "X-IG-API-KEY" ], filter_sensitive_data: [ ...
21.608696
88
0.55332
da9328dd0c555b31f27a04e3c7fb00c10a394710
2,802
ex
Elixir
lib/pow_assent/phoenix/controllers/registration_controller.ex
gabrieltaylor/pow_assent
c8f4bd75a000f610c511360372662fe889436c5d
[ "MIT" ]
null
null
null
lib/pow_assent/phoenix/controllers/registration_controller.ex
gabrieltaylor/pow_assent
c8f4bd75a000f610c511360372662fe889436c5d
[ "MIT" ]
null
null
null
lib/pow_assent/phoenix/controllers/registration_controller.ex
gabrieltaylor/pow_assent
c8f4bd75a000f610c511360372662fe889436c5d
[ "MIT" ]
null
null
null
defmodule PowAssent.Phoenix.RegistrationController do @moduledoc false use Pow.Extension.Phoenix.Controller.Base alias Plug.Conn alias PowAssent.Plug alias PowEmailConfirmation.Phoenix.ControllerCallbacks plug :load_params_from_session plug :assign_create_path @spec process_add_user_id(Conn.t(), map(...
35.923077
152
0.682727
da93495a2f8608d253578c4558680a03a0c8faee
1,236
ex
Elixir
lib/codes/codes_j44.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_j44.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_j44.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_J44 do alias IcdCode.ICDCode def _J440 do %ICDCode{full_code: "J440", category_code: "J44", short_code: "0", full_name: "Chronic obstructive pulmonary disease with acute lower respiratory infection", short_name: "Chronic obstructive pulmonar...
36.352941
103
0.676375
da938d9c079907c2da96e16213d60da21c2fd2cd
643
ex
Elixir
Microsoft.Azure.Management.Resources/lib/microsoft/azure/management/resources/model/export_template_request.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.Resources/lib/microsoft/azure/management/resources/model/export_template_request.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Resources/lib/microsoft/azure/management/resources/model/export_template_request.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.Resources.Model.ExportTemplateRequest do @moduledoc """ Export resource group template request parameters. """ ...
22.964286
96
0.715397
da939d95006a781d1b3d84a1e95e5ae82f1d2027
1,537
exs
Elixir
mix.exs
thth/witchcraft
c2b3e86ee8f23826e9a3d2e56071a1d566b49d5e
[ "MIT" ]
454
2019-06-05T22:56:45.000Z
2022-03-27T23:03:02.000Z
mix.exs
thth/witchcraft
c2b3e86ee8f23826e9a3d2e56071a1d566b49d5e
[ "MIT" ]
26
2019-07-08T09:29:08.000Z
2022-02-04T02:40:48.000Z
mix.exs
thth/witchcraft
c2b3e86ee8f23826e9a3d2e56071a1d566b49d5e
[ "MIT" ]
36
2019-06-25T17:45:27.000Z
2022-03-21T01:53:42.000Z
defmodule Witchcraft.Mixfile do use Mix.Project def project do [ app: :witchcraft, aliases: aliases(), deps: deps(), # Versions version: "1.0.3", elixir: "~> 1.9", # Docs name: "Witchcraft", docs: docs(), # Hex description: "Monads and other ...
22.275362
87
0.477554
da93b0471627c9e559e20f9661cfe64c47af3a13
500
exs
Elixir
apps/nerves_hub_web_core/priv/repo/migrations/20190618162113_add_org_metrics.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_web_core/priv/repo/migrations/20190618162113_add_org_metrics.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_web_core/priv/repo/migrations/20190618162113_add_org_metrics.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubWebCore.Repo.Migrations.AddOrgMetrics do use Ecto.Migration def change do create table(:org_metrics, primary_key: false) do add(:id, :uuid, primary_key: true) add(:org_id, references(:orgs, null: false)) add(:devices, :integer, null: false) add(:bytes_transferred, :in...
29.411765
59
0.68
da93c46af267b30f2b3c3ad026c4e84823acfc33
1,439
ex
Elixir
test/support/member_fixture.ex
gissandrogama/find_my_personal
12f23b37e967949af9f3e511cf1ce684452d8f66
[ "MIT" ]
null
null
null
test/support/member_fixture.ex
gissandrogama/find_my_personal
12f23b37e967949af9f3e511cf1ce684452d8f66
[ "MIT" ]
11
2022-01-12T02:39:42.000Z
2022-02-09T02:17:04.000Z
test/support/member_fixture.ex
gissandrogama/find_my_personal
12f23b37e967949af9f3e511cf1ce684452d8f66
[ "MIT" ]
null
null
null
defmodule FindMyPersonal.MemberFixture do @moduledoc """ this module """ alias FindMyPersonal.Members alias FindMyPersonal.Teachers def valid_attrs, do: %{ "avatar_url" => "http://imagens.com", "birth_date" => "2010-04-17", "blood" => "O+", "email" => "some_email@email.com", ...
21.477612
48
0.514941
da9419c5f7044cdd49df77a28eb1e446f6da03e4
1,597
ex
Elixir
lib/liblink/cluster/database/hook.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
lib/liblink/cluster/database/hook.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
lib/liblink/cluster/database/hook.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2018 Xerpa # 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, soft...
27.534483
74
0.664997
da944b0876610a1eeca6b76991ed3f706078ad62
205
exs
Elixir
crawler_challenge/priv/repo/migrations/20191009215736_create_processes.exs
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
crawler_challenge/priv/repo/migrations/20191009215736_create_processes.exs
tuliostarling/crawler-challenge
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
3
2021-05-08T08:50:39.000Z
2022-02-10T19:40:38.000Z
crawler_challenge/priv/repo/migrations/20191009215736_create_processes.exs
tuliostarling/elixir-crawler
1b948769db200d09ac0481b9fd71a175d876d20f
[ "Apache-2.0" ]
null
null
null
defmodule CrawlerChallenge.Repo.Migrations.CreateProcesses do use Ecto.Migration def change do create table(:processes) do add :process_number, :string timestamps() end end end
17.083333
61
0.717073
da945703cefb336cec11ce89dae97aa1675e4da7
948
ex
Elixir
lib/uro_web/auth_error_handler.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
lib/uro_web/auth_error_handler.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
lib/uro_web/auth_error_handler.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule UroWeb.AuthErrorHandler do use UroWeb, :controller alias Plug.Conn @spec call(Conn.t(), atom()) :: Conn.t() def call(conn, :not_authenticated) do conn |> put_flash(:error, gettext("You are not signed in")) |> redirect(to: Routes.signin_path(conn, :new)) end @spec call(Conn.t(), atom(...
28.727273
67
0.650844
da94579f899ff0ab807f3506f9481cb804cb1b24
548
ex
Elixir
lib/conversor/transaction/get.ex
wagncarv/CurrencyExchange
3e626681d97a17a68385be31d8c8a82fd4bfcd59
[ "MIT" ]
1
2022-03-28T19:10:45.000Z
2022-03-28T19:10:45.000Z
lib/conversor/transaction/get.ex
wagner-de-carvalho/currency_exchange
6c784dcab0af3345c71a41ca606158298a447d49
[ "MIT" ]
null
null
null
lib/conversor/transaction/get.ex
wagner-de-carvalho/currency_exchange
6c784dcab0af3345c71a41ca606158298a447d49
[ "MIT" ]
null
null
null
defmodule Conversor.Transaction.Get do alias Conversor.Database.DB @doc """ fetches all transactions belonging to a single user. ## Parameters - user_id: user's id. """ @spec all_by_user_id(String.t()) :: list() def all_by_user_id(user_id) do user_id |> DB.all_by_user_id() |> handle_all_by_...
22.833333
67
0.689781
da9459d256343a21df8df3618bc14a0fd21299a5
827
ex
Elixir
web/channels/user_socket.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
defmodule BioMonitor.UserSocket do use Phoenix.Socket ## Channels channel "routine", BioMonitor.RoutineChannel channel "sensors", BioMonitor.SensorChannel channel "instructions", BioMonitor.InstructionsChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket, timeout: 45_000 def c...
28.517241
83
0.71584
da94bbfec6dfad746cbe1cf3609a833a0a23a4d2
2,261
ex
Elixir
lib/wargaming/warships/ship.ex
keiththomps/wargaming
2b5cbdef49744906930574835cb2d70bc4c987d7
[ "MIT" ]
null
null
null
lib/wargaming/warships/ship.ex
keiththomps/wargaming
2b5cbdef49744906930574835cb2d70bc4c987d7
[ "MIT" ]
null
null
null
lib/wargaming/warships/ship.ex
keiththomps/wargaming
2b5cbdef49744906930574835cb2d70bc4c987d7
[ "MIT" ]
null
null
null
defmodule Wargaming.Warships.Ship do @moduledoc """ Ship provides functions for interacting with the WarGaming.net World of Warships Warships API. """ use Wargaming.ApiEndpoint, api: Wargaming.Warships @ship_stats "/ships/stats/" @doc """ Ship.stats_for_all_ships/2 searches WarGaming ship stats (in t...
35.328125
201
0.689076
da94dd215d1c806d1d98f9118d1f45c4cc52aff2
1,013
exs
Elixir
test/player_test.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
test/player_test.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
test/player_test.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamiglia.PlayerTest do use LaFamiglia.ModelCase alias LaFamiglia.Player @valid_attrs %{ email: "mail@adre.ss", name: "some name", points: 42, password: "this is a password" } @invalid_attrs %{email: "not an email"} test "changeset with valid attributes" do changeset = Play...
23.55814
77
0.668312
da9504be10dfc0ce11e45ba4a787ad5abde53936
1,004
exs
Elixir
mix.exs
sgessa/dpos-ex
b2b3407fd120224b800fe755e3966556fd609e20
[ "MIT" ]
4
2018-07-10T09:39:01.000Z
2020-09-11T22:46:45.000Z
mix.exs
lwfcoin/dpos-ex
b2b3407fd120224b800fe755e3966556fd609e20
[ "MIT" ]
null
null
null
mix.exs
lwfcoin/dpos-ex
b2b3407fd120224b800fe755e3966556fd609e20
[ "MIT" ]
null
null
null
defmodule Dpos.MixProject do use Mix.Project @desc "DPoS offline and online tools for Elixir" @version "0.3.1" @url "https://github.com/sgessa/dpos-ex" @maintainers ["Stefano Gessa"] def project do [ app: :dpos, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() ==...
17.614035
55
0.518924
da952fa1d63025e6f94ed17c61d1e2f6ecd152cd
168
exs
Elixir
test/test_helper.exs
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
test/test_helper.exs
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
test/test_helper.exs
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
ExUnit.start() Logger.configure(level: :debug) # We compile modules with the same name often while testing the DSL Code.compiler_options(ignore_module_conflict: true)
28
67
0.809524
da953cf7ffc21a05ec42c90541600bf35f1b4736
522
ex
Elixir
apps/re_web/lib/views/interests/interest_type_view.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
1
2021-01-19T05:01:15.000Z
2021-01-19T05:01:15.000Z
apps/re_web/lib/views/interests/interest_type_view.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re_web/lib/views/interests/interest_type_view.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
defmodule ReWeb.InterestTypeView do use ReWeb, :view def render("index.json", %{interest_types: interest_types}) do %{data: render_many(interest_types, ReWeb.InterestTypeView, "interest_type.json")} end def render("show.json", %{interest_type: interest_type}) do %{data: render_one(interest_type, ReWeb...
27.473684
86
0.714559
da959033c33d887077e3d32a67f17a46253cf6ce
779
ex
Elixir
web/lib/web/views/function_view.ex
joshnuss/faas
825ab33d79a5cadeab54181a8c4ca63050804051
[ "MIT" ]
2
2020-01-14T23:17:28.000Z
2021-01-20T04:23:46.000Z
web/lib/web/views/function_view.ex
joshnuss/faas
825ab33d79a5cadeab54181a8c4ca63050804051
[ "MIT" ]
null
null
null
web/lib/web/views/function_view.ex
joshnuss/faas
825ab33d79a5cadeab54181a8c4ca63050804051
[ "MIT" ]
null
null
null
defmodule Faas.Web.FunctionView do use Faas.Web, :view def render("index.json", %{functions: functions}) do %{ functions: Enum.map(functions, &render_function/1) } end def render("errors.json", %{errors: errors}) do %{ errors: Enum.map(errors, &extract_error/1) } end def rende...
21.638889
65
0.6457
da95a55fac2648d2b4d002760dd0affe6d8e2f27
1,030
exs
Elixir
test/plasm/latest_test.exs
facto/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
56
2016-07-31T19:35:49.000Z
2021-10-21T20:32:42.000Z
test/plasm/latest_test.exs
atomic-fads/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
2
2016-01-27T17:38:55.000Z
2016-05-21T18:33:14.000Z
test/plasm/latest_test.exs
atomic-fads/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
3
2016-01-27T14:00:55.000Z
2016-05-21T18:06:56.000Z
defmodule Plasm.LatestTest do use Plasm.Case alias Plasm.Repo alias Plasm.User import Plasm.Factory test ".latest with an atom field name" do # Arrange insert(:user, inserted_at: "2016-07-26T00:00:00Z") insert(:user, inserted_at: "2016-07-27T00:00:00Z") latest_user = insert(:user, inserted_...
27.837838
88
0.668932
da95b69a87d87f5e1167b4b1dd29c10d64a870fd
10,935
ex
Elixir
lib/jamdb_oracle_ecto.ex
aby2503/jamdb_oracle
6a77d029ba776a8b1162555cc2dda2bc28bc07b4
[ "MIT" ]
null
null
null
lib/jamdb_oracle_ecto.ex
aby2503/jamdb_oracle
6a77d029ba776a8b1162555cc2dda2bc28bc07b4
[ "MIT" ]
null
null
null
lib/jamdb_oracle_ecto.ex
aby2503/jamdb_oracle
6a77d029ba776a8b1162555cc2dda2bc28bc07b4
[ "MIT" ]
2
2020-09-23T12:08:52.000Z
2020-12-09T14:56:48.000Z
defmodule Ecto.Adapters.Jamdb.Oracle do @moduledoc """ Adapter module for Oracle. `Ecto.Adapters.SQL` callbacks implementation. It uses `jamdb_oracle` for communicating to the database. ## Features * Using prepared statement functionality, the SQL statement you want to run is precompiled and stored i...
37.96875
119
0.625149
da95cc6565bc0c646c382d2b10cefa86fe19b12e
117,539
ex
Elixir
clients/logging/lib/google_api/logging/v2/api/folders.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/api/folders.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/api/folders.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...
50.970945
722
0.627894
da95cd6ce82250cab67607f5e917fec9358b0203
1,055
exs
Elixir
test/parser/reboot_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
test/parser/reboot_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
test/parser/reboot_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defmodule CWMP.Protocol.Parser.RebootTest do use ExUnit.Case, async: true @sample """ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/20...
34.032258
109
0.698578
da964483f9bc5d81899ea3ae06cc96e13778278e
873
ex
Elixir
lib/engine/parser/primitive.ex
vacarsu/snap_framework
2dd3a6c77a01e85b8cd5c9566e27bf3fe4eb433e
[ "MIT" ]
5
2021-06-23T17:46:08.000Z
2022-02-23T21:12:06.000Z
lib/engine/parser/primitive.ex
vacarsu/snap_framework
2dd3a6c77a01e85b8cd5c9566e27bf3fe4eb433e
[ "MIT" ]
null
null
null
lib/engine/parser/primitive.ex
vacarsu/snap_framework
2dd3a6c77a01e85b8cd5c9566e27bf3fe4eb433e
[ "MIT" ]
1
2021-08-02T13:33:17.000Z
2021-08-02T13:33:17.000Z
defmodule SnapFramework.Parser.Primitive do require Logger @moduledoc false def run(ast) do ast |> parse() end def parse({:primitive, meta, [name, data, opts]}) when is_list(opts) do quote line: meta[:line] || 0 do [ type: :primitive, module: unquote(name), data: u...
18.978261
73
0.54181
da9652ccbac3ae2e2491cd26fdab4a5d9598ee23
1,274
exs
Elixir
test/auto_api/states/rooftop_control_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
test/auto_api/states/rooftop_control_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
5
2020-07-16T07:20:21.000Z
2021-09-22T10:18:04.000Z
test/auto_api/states/rooftop_control_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
47.185185
79
0.781005
da965dd82eac34abcc4dbc92fc96749f8b14195a
818
ex
Elixir
lib/nostrum/struct/event/speaking_update.ex
BobbyMcWho/nostrum
fc1a8b48f3986da29f138728da1b25987e758fe3
[ "MIT" ]
1
2020-12-08T23:47:17.000Z
2020-12-08T23:47:17.000Z
lib/nostrum/struct/event/speaking_update.ex
BobbyMcWho/nostrum
fc1a8b48f3986da29f138728da1b25987e758fe3
[ "MIT" ]
null
null
null
lib/nostrum/struct/event/speaking_update.ex
BobbyMcWho/nostrum
fc1a8b48f3986da29f138728da1b25987e758fe3
[ "MIT" ]
null
null
null
defmodule Nostrum.Struct.Event.SpeakingUpdate do @moduledoc """ Struct representing a Nostrum-generated Speaking Update event Nostrum will generate this event when the bot starts or stops playing audio. """ defstruct [ :channel_id, :guild_id, :speaking ] @typedoc """ Id of the channel thi...
21.526316
78
0.658924
da9670fe3e1c38c35d35fbbadbacf7fa7a99f678
1,737
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_replies.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/comment_thread_replies.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_replies.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.957447
269
0.751295
da968d49254504fd11fd1f6c22a197cca62c0b1a
634
exs
Elixir
test/much_data/one_file_test.exs
RobertDober/much_data
d3932d562fb4ef900bab412d9137170448d38181
[ "Apache-2.0" ]
null
null
null
test/much_data/one_file_test.exs
RobertDober/much_data
d3932d562fb4ef900bab412d9137170448d38181
[ "Apache-2.0" ]
null
null
null
test/much_data/one_file_test.exs
RobertDober/much_data
d3932d562fb4ef900bab412d9137170448d38181
[ "Apache-2.0" ]
null
null
null
defmodule MuchData.OneFileTest do use ExUnit.Case import MuchData, only: [parse_file: 1, parse_file: 2] test "Just one file" do data = parse_file("test/fixtures/top1.yml") assert data == %{ "top1" => %{ "a" => 42, "level1" => %{ "a" => %{ "x" => 1, ...
18.647059
70
0.430599
da96b39d77509d355fbedf9d5a7a281f5cff2dd4
3,692
exs
Elixir
test/bitcoin_simulator/bitcoin_core/mining_test.exs
shanti93/unfinished
09939d98a271f806ca3b79a953be4afc57e41664
[ "MIT" ]
null
null
null
test/bitcoin_simulator/bitcoin_core/mining_test.exs
shanti93/unfinished
09939d98a271f806ca3b79a953be4afc57e41664
[ "MIT" ]
null
null
null
test/bitcoin_simulator/bitcoin_core/mining_test.exs
shanti93/unfinished
09939d98a271f806ca3b79a953be4afc57e41664
[ "MIT" ]
null
null
null
defmodule BitcoinSimulator.BitcoinCore.MiningTest do use ExUnit.Case, async: true use Timex alias BitcoinSimulator.BitcoinCore.{Blockchain, Mining} alias BitcoinSimulator.Const test "get new mempool" do assert Mining.newMempool().unconfirmed_txs == %{} end test "add unconfirmed transaction" do ...
43.952381
157
0.673348
da97171818d01d3152356e6e923f90156da02875
4,851
ex
Elixir
apps/omg_watcher_rpc/lib/web/validators/typed_data_signed.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_rpc/lib/web/validators/typed_data_signed.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_rpc/lib/web/validators/typed_data_signed.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
40.764706
119
0.667697
da97934ab772223b9723327dca58a80e9dbd0c12
844
ex
Elixir
lib/courtbot/config.ex
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
6
2018-07-25T18:35:57.000Z
2018-11-03T17:01:02.000Z
lib/courtbot/config.ex
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
19
2018-11-12T05:29:44.000Z
2020-04-12T01:04:41.000Z
lib/courtbot/config.ex
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
1
2020-04-12T00:36:50.000Z
2020-04-12T00:36:50.000Z
defmodule Courtbot.Config do use GenServer @moduledoc false alias Courtbot.{ Application, Configuration } def start_link(opts) do GenServer.start_link(__MODULE__, :ok, opts) end @impl true def init(_) do {:ok, %{}, {:continue, :init}} end @impl true def handle_continue(:init, ...
20.095238
73
0.686019
da9796de4a491705cb73c02609b0f676ae68c8a0
80
exs
Elixir
test/views/layout_view_test.exs
vaginessa/webbkoll
9a0be0cdc2eaeac9e577589b35a63a81f68655d7
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
vaginessa/webbkoll
9a0be0cdc2eaeac9e577589b35a63a81f68655d7
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
vaginessa/webbkoll
9a0be0cdc2eaeac9e577589b35a63a81f68655d7
[ "MIT" ]
null
null
null
defmodule Webbkoll.LayoutViewTest do use WebbkollWeb.ConnCase, async: true end
26.666667
39
0.8375
da9796e7e8e83235e40160c46cc075a54e80d7ee
1,202
exs
Elixir
mix.exs
TheSquad/Plug-Range
6f683a23ade5a20af7671afbe3c055d0e70e0620
[ "MIT" ]
7
2016-04-28T07:43:47.000Z
2018-08-08T08:49:33.000Z
mix.exs
TheSquad/Plug-Range
6f683a23ade5a20af7671afbe3c055d0e70e0620
[ "MIT" ]
5
2016-04-14T20:21:19.000Z
2017-05-17T14:55:08.000Z
mix.exs
TheSquad/Plug-Range
6f683a23ade5a20af7671afbe3c055d0e70e0620
[ "MIT" ]
null
null
null
defmodule PlugRange.Mixfile do use Mix.Project def project do [app: :plug_range, version: "0.0.3", elixir: "~> 1.2", description: description(), package: package(), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for...
21.087719
77
0.575707
da97a1f8ae5df21c6c0e0854b3e4d48c8557a954
1,156
exs
Elixir
integration_test/pg/sql_escape_test.exs
TanYewWei/ecto
916c6467d5f7368fa10ecd7cfcfd2d4a9924a282
[ "Apache-2.0" ]
1
2015-08-27T13:17:10.000Z
2015-08-27T13:17:10.000Z
integration_test/pg/sql_escape_test.exs
TanYewWei/ecto
916c6467d5f7368fa10ecd7cfcfd2d4a9924a282
[ "Apache-2.0" ]
null
null
null
integration_test/pg/sql_escape_test.exs
TanYewWei/ecto
916c6467d5f7368fa10ecd7cfcfd2d4a9924a282
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.SQLEscapeTest do use Ecto.Integration.Postgres.Case test "Repo.all escape" do TestRepo.create(Post.new(text: "hello")) query = from(p in Post, select: "'\\") assert ["'\\"] == TestRepo.all(query) end test "Repo.create escape" do TestRepo.create(Post.new(text: "'")) ...
25.688889
65
0.618512
da97a878959cccbd7764f15eec30b991f44ca81e
6,305
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/network_endpoint_group.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint_group.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint_group.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
64.336735
524
0.706582
da97ab0b212cbf6be03734cfd7f0efff05778fc3
7,039
exs
Elixir
test/rapport_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
59
2017-09-30T23:28:20.000Z
2021-12-13T21:20:08.000Z
test/rapport_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
5
2017-10-27T07:28:13.000Z
2021-12-13T21:56:47.000Z
test/rapport_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
2
2017-10-26T13:50:46.000Z
2018-06-18T11:58:50.000Z
defmodule RapportTest do use ExUnit.Case doctest Rapport @hello_template File.read!(Path.join(__DIR__, "templates/hello.html.eex")) @two_fields_template File.read!(Path.join(__DIR__, "templates/two_fields.html.eex")) @list_template File.read!(Path.join(__DIR__, "templates/list.html.eex")) @list_map_templat...
27.603922
86
0.601932
da97c42438a0d70b98989f8c2c43604722671e26
585
exs
Elixir
test/options_tracker_web/views/error_view_test.exs
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
12
2020-06-25T17:25:15.000Z
2021-09-30T20:13:33.000Z
test/options_tracker_web/views/error_view_test.exs
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
5
2020-08-05T03:12:31.000Z
2021-07-15T04:59:03.000Z
test/options_tracker_web/views/error_view_test.exs
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
2
2021-07-03T17:20:15.000Z
2021-09-01T15:38:58.000Z
defmodule OptionsTrackerWeb.ErrorViewTest do use OptionsTrackerWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View @tag :pending test "renders 404.html", %{conn: conn} do assert render_to_string(OptionsTrackerWeb.ErrorView, "404.html", [conn: co...
32.5
117
0.719658
da97caeb50a066e1b08063aba8abd54f0099f3e4
2,030
ex
Elixir
lib/mastani_server/cms/delegates/comment_reaction.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
lib/mastani_server/cms/delegates/comment_reaction.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
lib/mastani_server/cms/delegates/comment_reaction.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.CMS.Delegate.CommentReaction do import MastaniServer.CMS.Utils.Matcher alias Helper.ORM alias MastaniServer.Accounts def like_comment(thread, comment_id, %Accounts.User{id: user_id}) do feel_comment(thread, comment_id, user_id, :like) end def undo_like_comment(thread, comment_...
37.592593
95
0.724138
da97d3903e69f99fb2f804f410409f42f7dcf838
1,948
ex
Elixir
lib/dmarc.ex
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
lib/dmarc.ex
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
lib/dmarc.ex
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
defmodule DMARC do require Logger def organization(host) when is_binary(host), do: organization(host |> String.downcase |> String.split(".") |> Enum.reverse) :ssl.start ; :inets.start url = "https://publicsuffix.org/list/effective_tld_names.dat" case :httpc.request(:get,{'#{url}',[]},[], body_format: :...
45.302326
111
0.534908
da981f0d0c84c57ab1be710b44162ac58fbebf2d
1,917
exs
Elixir
mix.exs
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
mix.exs
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
mix.exs
sean-clayton/pfkit.com
0324909b07fc3fac1426ea83b2fc6cd607489ac7
[ "Unlicense" ]
null
null
null
defmodule Pfkit.MixProject do use Mix.Project def project do [ app: :pfkit, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), d...
28.191176
84
0.572248
da982f3fe4cde622fff005382cd2059d69df0493
2,112
exs
Elixir
mix.exs
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
mix.exs
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
mix.exs
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
defmodule Delivery.MixProject do use Mix.Project def project do [ app: :delivery, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
28.16
84
0.546875
da9850d588e1e30dc90950ded0d72e3f66998fdb
123
ex
Elixir
lib/float.ex
tlossen/elixir
38567f7f84bfce69a58c0be0ee6959cc7c6b3d6b
[ "MIT" ]
1
2015-10-25T11:30:13.000Z
2015-10-25T11:30:13.000Z
lib/float.ex
tlossen/elixir
38567f7f84bfce69a58c0be0ee6959cc7c6b3d6b
[ "MIT" ]
null
null
null
lib/float.ex
tlossen/elixir
38567f7f84bfce69a58c0be0ee6959cc7c6b3d6b
[ "MIT" ]
null
null
null
module Float module Behavior mixin Numeric def inspect Erlang.float_to_list(self).to_bin end end end
13.666667
39
0.691057