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
0380d285f025c8ff4b843d271f033bebcef32008
236
ex
Elixir
apps/tanx/lib/tanx/game/notifications.ex
4eek/tanx
32750c15966d6272db9d96fa620fb277a61520e4
[ "MIT" ]
112
2016-05-10T17:17:08.000Z
2022-01-25T22:41:29.000Z
apps/tanx/lib/tanx/game/notifications.ex
4eek/tanx
32750c15966d6272db9d96fa620fb277a61520e4
[ "MIT" ]
3
2016-05-10T04:39:02.000Z
2019-07-19T12:50:07.000Z
apps/tanx/lib/tanx/game/notifications.ex
4eek/tanx
32750c15966d6272db9d96fa620fb277a61520e4
[ "MIT" ]
22
2016-05-17T01:51:51.000Z
2022-03-15T03:21:02.000Z
defmodule Tanx.Game.Notifications.Ended do defstruct( id: nil, time: nil, data: nil ) end defmodule Tanx.Game.Notifications.Moved do defstruct( id: nil, time: nil, from_node: nil, to_node: nil ) end
13.882353
42
0.639831
0380d404e2d6985b48040d4ef611595e98939e67
781
ex
Elixir
lib/utilities/maps.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
12
2020-06-25T17:25:15.000Z
2021-09-30T20:13:33.000Z
lib/utilities/maps.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
5
2020-08-05T03:12:31.000Z
2021-07-15T04:59:03.000Z
lib/utilities/maps.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
2
2021-07-03T17:20:15.000Z
2021-09-01T15:38:58.000Z
defmodule OptionsTracker.Utilities.Maps do @doc """ Convert map atom keys to strings """ def stringify_keys(nil), do: nil def stringify_keys(struct = %{__struct__: _}) do struct end def stringify_keys(map = %{}) do map |> Enum.map(fn {k, v} when is_atom(k) -> {Atom.to_string(k), string...
19.525
70
0.587708
0380f5b4b898733b482857fe54d7a651f7909443
2,436
ex
Elixir
lib/aws.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
defmodule AWS do @moduledoc """ AWS provides an API to talk with Amazon Web Services. Each module in this project corresponds with an AWS service, and they can be used by calling the functions of those modules. For example, "AWS DynamoDB" operations can be found in `AWS.DynamoDB` module. First we need t...
35.823529
118
0.670361
0381109fc61edf9ce39d5b89446acc19279711d7
914
ex
Elixir
priv/templates/phx.gen.json/view.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
priv/templates/phx.gen.json/view.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
priv/templates/phx.gen.json/view.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>View do use <%= inspect context.web_module %>, :view alias <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>View def render("index.json", %{<%= schema.plura...
48.105263
123
0.601751
03815bd4ab514f2257f5ebaf0f9e9110a1f73155
80
exs
Elixir
test/crater_web/views/layout_view_test.exs
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2018-03-13T08:15:50.000Z
2018-03-13T08:15:50.000Z
test/crater_web/views/layout_view_test.exs
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2018-03-17T15:45:26.000Z
2018-03-17T15:45:26.000Z
test/crater_web/views/layout_view_test.exs
blvdgroup/crater
78d03de2eac73d90148df6c5d2d03e99b9b5ccb7
[ "Apache-2.0" ]
1
2017-08-30T16:13:09.000Z
2017-08-30T16:13:09.000Z
defmodule CraterWeb.LayoutViewTest do use CraterWeb.ConnCase, async: true end
20
37
0.825
03815ddc0890c4c3c3cfdd9df3485a42a65844bd
1,907
exs
Elixir
clients/life_sciences/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/life_sciences/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/life_sciences/mix.exs
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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...
28.462687
159
0.662297
038194f0a80e911ca9f3926af9753175a107c3fd
7,227
ex
Elixir
lib/hexpm_web/controllers/package_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm_web/controllers/package_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm_web/controllers/package_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule HexpmWeb.PackageController do use HexpmWeb, :controller @packages_per_page 30 @audit_logs_per_page 10 @sort_params ~w(name recent_downloads total_downloads inserted_at updated_at recently_published) @letters for letter <- ?A..?Z, do: <<letter>> def index(conn, params) do letter = Hexpm.Utils...
29.378049
99
0.638854
0381a3dcf089d5bb03a8df2d13e129aad89c815d
1,584
exs
Elixir
test/cforum/read_messages_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
test/cforum/read_messages_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
test/cforum/read_messages_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.ReadMessagesTest do use Cforum.DataCase alias Cforum.ReadMessages alias Cforum.ReadMessages.ReadMessage setup do user = insert(:user) forum = insert(:public_forum) thread = insert(:thread, forum: forum) message = insert(:message, thread: thread, forum: forum, user: user, tags:...
36
119
0.677399
0381b4bb79bb99015e34ce78e33965651db041a2
19,452
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/https_health_checks.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/https_health_checks.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/https_health_checks.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
53.586777
1,213
0.706097
0381b8ca8e70af1eb294be890380c6bb1797d97d
1,727
exs
Elixir
config/releases.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
893
2017-09-14T14:18:29.000Z
2022-03-31T21:45:08.000Z
config/releases.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
103
2017-09-29T22:15:33.000Z
2022-03-27T21:47:43.000Z
config/releases.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
152
2017-09-07T12:43:15.000Z
2022-03-10T18:47:47.000Z
import Config env = &System.get_env/1 secret_key_base = env.("SECRET_KEY_BASE") config :asciinema, AsciinemaWeb.Endpoint, url: [ scheme: env.("URL_SCHEME") || "https", host: env.("URL_HOST") || "asciinema.org", port: String.to_integer(env.("URL_PORT") || "443") ], secret_key_base: secret_key_base ...
29.775862
93
0.708164
0381d4529f3415bbb2c1b9ff9592636da75c2f77
688
exs
Elixir
test/language_test.exs
bitchef/exocco
b0e93b01794d71c0458f52907b2f66b03e3f207e
[ "MIT" ]
null
null
null
test/language_test.exs
bitchef/exocco
b0e93b01794d71c0458f52907b2f66b03e3f207e
[ "MIT" ]
1
2016-02-09T12:27:42.000Z
2016-02-09T12:27:42.000Z
test/language_test.exs
bitchef/exocco
b0e93b01794d71c0458f52907b2f66b03e3f207e
[ "MIT" ]
null
null
null
defmodule LanguageTest do use ExUnit.Case import :hamcrest, only: [ assert_that: 2 ] import :hamcrest_matchers test "Language.from_file_ext/1 returns nil for an unknown file extension" do result = Language.from_file_ext(".dummy") assert_that result, is nil end test "Language.from_file_ext/1 ...
31.272727
83
0.674419
0381d61608e4dc3c71e6125021833c3216b7f8d2
828
exs
Elixir
apps/waylon_web/config/config.exs
thyagostall/waylon
d2298e8b66d7a0e2e4819f11607c0bc94a7e8543
[ "MIT" ]
null
null
null
apps/waylon_web/config/config.exs
thyagostall/waylon
d2298e8b66d7a0e2e4819f11607c0bc94a7e8543
[ "MIT" ]
null
null
null
apps/waylon_web/config/config.exs
thyagostall/waylon
d2298e8b66d7a0e2e4819f11607c0bc94a7e8543
[ "MIT" ]
null
null
null
# Since configuration is shared in umbrella projects, this file # should only configure the :waylon_web application itself # and only for organization purposes. All other config goes to # the umbrella root. use Mix.Config # General application configuration config :waylon_web, ecto_repos: [Waylon.Repo], generators...
37.636364
86
0.782609
0381d903701c1dd721a2859058fe480b750b2ff9
324
ex
Elixir
lib/battle_box/games/marooned/ais/wilson.ex
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
lib/battle_box/games/marooned/ais/wilson.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
lib/battle_box/games/marooned/ais/wilson.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBox.Games.Marooned.Ais.Wilson do @behaviour BattleBox.Games.AiOpponent def name, do: "wilson" def description, do: "Tries to stay close to you" def difficulty, do: 3 def creator, do: "the-notorious-gjp" def initialize(_settings) do :ok end def commands(_commands) do %{} end ...
19.058824
51
0.700617
0381e6401632f0ca6348ae0884e2288721c8321e
1,597
ex
Elixir
clients/games/lib/google_api/games/v1/model/event_child.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/event_child.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/event_child.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...
31.94
164
0.718848
0381f86120e76cceea30359b43139e98e0492da3
4,678
exs
Elixir
test/elenchos_ex/lib/deployment_test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
test/elenchos_ex/lib/deployment_test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
test/elenchos_ex/lib/deployment_test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
defmodule ElenchosEx.DeploymentTest do use ExUnit.Case, async: true import ElenchosEx.Deployment alias ElenchosEx.{Release, Release.Model} @ref "abcd" @message_delay 11 setup do :ets.delete(:releases, @ref) rel = %Model{ref: @ref} Release.save(rel) {:ok, %{rel: rel}} end describe "in...
37.424
131
0.675289
03822f92193e172657ed6484bfc2094d9c78cd2b
3,966
ex
Elixir
lib/crit/field_converters/to_span.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
lib/crit/field_converters/to_span.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
lib/crit/field_converters/to_span.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
defmodule Crit.FieldConverters.ToSpan do use Ecto.Schema use Crit.Global.Constants use Crit.Errors alias Ecto.Changeset alias Pile.TimeHelper alias Ecto.Datespan import Pile.Interface alias Crit.Setup.InstitutionApi # Assumes this partial schema. Fields are constant because they come from # the dom...
32.508197
87
0.687342
03824cae2d96bfab9813353dcad0261d56d27378
1,090
ex
Elixir
lib/lotus/list.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
3
2021-09-20T10:34:15.000Z
2021-09-20T16:23:07.000Z
lib/lotus/list.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
null
null
null
lib/lotus/list.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
1
2021-11-23T13:10:27.000Z
2021-11-23T13:10:27.000Z
defmodule Lotus.List do @moduledoc """ Easily create nice looking lists, which come in different styles Documentation: https://getuikit.com/docs/list """ use Lotus.SimpleComponent @doc """ Marker """ prop marker, :string, values: ~w/disc circle square decimal hyphen/ @doc """ Color """ prop...
18.793103
69
0.598165
03825fa085590e04909ae7eb0400850697acb736
1,029
ex
Elixir
lib/ambry_web/live/admin/components/button.ex
froseph/ambry
86c1a8528b9f3cc7e4a7debd8005df4116a7d1b1
[ "MIT" ]
null
null
null
lib/ambry_web/live/admin/components/button.ex
froseph/ambry
86c1a8528b9f3cc7e4a7debd8005df4116a7d1b1
[ "MIT" ]
null
null
null
lib/ambry_web/live/admin/components/button.ex
froseph/ambry
86c1a8528b9f3cc7e4a7debd8005df4116a7d1b1
[ "MIT" ]
null
null
null
defmodule AmbryWeb.Admin.Components.Button do @moduledoc """ Renders a button """ use AmbryWeb, :component @classes ~w( text-white font-bold w-full inline-flex justify-center rounded shadow px-5 py-2 sm:ml-3 sm:w-auto transition-colors focus:outline-none ...
18.052632
90
0.587949
03827a1e448e79221edbc3099662eadcf9cf59f6
370
ex
Elixir
lib/oli/activities/model/feedback.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/activities/model/feedback.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/activities/model/feedback.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Activities.Model.Feedback do @derive Jason.Encoder defstruct [:id, :content] def parse(%{"id" => id, "content" => content}) do {:ok, %Oli.Activities.Model.Feedback{id: id, content: content}} end def parse(%{"content" => _}) do {:error, "invalid feedback: missing id"} end def parse...
21.764706
67
0.640541
038291232118010cabd73ddca2bd6e8ce6293b6a
2,018
exs
Elixir
test/wobserver/web/router/system_test.exs
coby-spotim/wobserver
b0b9d77fb4ff40bb417f6b370ee343b8d42de750
[ "MIT" ]
null
null
null
test/wobserver/web/router/system_test.exs
coby-spotim/wobserver
b0b9d77fb4ff40bb417f6b370ee343b8d42de750
[ "MIT" ]
null
null
null
test/wobserver/web/router/system_test.exs
coby-spotim/wobserver
b0b9d77fb4ff40bb417f6b370ee343b8d42de750
[ "MIT" ]
1
2018-09-12T16:13:57.000Z
2018-09-12T16:13:57.000Z
defmodule Wobserver.Web.Router.SystemTest do use ExUnit.Case, async: true use Plug.Test alias Wobserver.Web.Router.System @opts System.init([]) test "/ returns overview" do conn = conn(:get, "/") conn = System.call(conn, @opts) assert conn.state == :sent assert conn.status == 200 ass...
22.422222
81
0.54559
038292d95562a69f516dc515a6ab99ee37c4a5f9
1,925
exs
Elixir
clients/storage_transfer/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
28.731343
156
0.666494
038296136bc5b8cf44e488450b687a51f284874b
2,111
exs
Elixir
test/glimesh/community_team_test.exs
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
test/glimesh/community_team_test.exs
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
test/glimesh/community_team_test.exs
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
defmodule Glimesh.CommunityTeamTest do use Glimesh.DataCase import Glimesh.AccountsFixtures alias Glimesh.CommunityTeam describe "community team permission check functions" do test "access level returns correct title" do user = gct_fixture(%{gct_level: 5, tfa_token: "Fake 2fa token"}) assert ...
34.048387
100
0.674562
03829c16d08de7cfeb2739aac01592dacc746b30
65
exs
Elixir
test/dataset_test.exs
edw/elixir-dataset
9f9265176019f2800927a0be7df511fa520533c8
[ "Apache-2.0" ]
1
2019-07-10T17:31:43.000Z
2019-07-10T17:31:43.000Z
test/dataset_test.exs
edw/elixir-dataset
9f9265176019f2800927a0be7df511fa520533c8
[ "Apache-2.0" ]
2
2019-04-14T20:36:05.000Z
2019-04-15T18:31:09.000Z
test/dataset_test.exs
edw/elixir-dataset
9f9265176019f2800927a0be7df511fa520533c8
[ "Apache-2.0" ]
null
null
null
defmodule DatasetTest do use ExUnit.Case doctest Dataset end
13
24
0.8
0382abb860b206ff344104d6cb76abfedb81c817
28
ex
Elixir
lib/genserver_example.ex
AbleTech/genserver_example
4c44e247b5d11eaafb01a32d8da892689d312091
[ "MIT" ]
null
null
null
lib/genserver_example.ex
AbleTech/genserver_example
4c44e247b5d11eaafb01a32d8da892689d312091
[ "MIT" ]
null
null
null
lib/genserver_example.ex
AbleTech/genserver_example
4c44e247b5d11eaafb01a32d8da892689d312091
[ "MIT" ]
null
null
null
defmodule GenExample do end
9.333333
23
0.857143
0382adc3b06bf19ae5995d1a3fd248b7dc72bf18
789
exs
Elixir
apps/irc/mix.exs
friendshipismagic/Hekateros
0d340b6818583e2e65b0395227c9bb91796e5f89
[ "MIT" ]
2
2019-03-22T12:29:37.000Z
2021-01-08T17:25:32.000Z
apps/irc/mix.exs
friendshipismagic/Hecateros
0d340b6818583e2e65b0395227c9bb91796e5f89
[ "MIT" ]
8
2017-12-04T16:53:35.000Z
2018-04-08T11:01:46.000Z
apps/irc/mix.exs
friendshipismagic/Hekateros
0d340b6818583e2e65b0395227c9bb91796e5f89
[ "MIT" ]
null
null
null
defmodule IRC.Mixfile do use Mix.Project def project do [ app: :irc, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", start_permanent: Mix.env == :prod, ...
21.916667
71
0.550063
0382b41b3419a4aece05b5e53f4bced3e35b9d7d
22,470
ex
Elixir
lib/ecto/adapters/sql.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.SQL do @moduledoc """ Behaviour and implementation for SQL adapters. The implementation for SQL adapter relies on `DBConnection` to provide pooling, prepare, execute and more. Developers that use `Ecto.Adapters.SQL` should implement the callbacks required both by this module and th...
31.87234
133
0.622608
0382f4d073ee7881407a3ba7cf12346621b270fe
1,082
exs
Elixir
test/views/error_view_test.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
893
2017-09-14T14:18:29.000Z
2022-03-31T21:45:08.000Z
test/views/error_view_test.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
103
2017-09-29T22:15:33.000Z
2022-03-27T21:47:43.000Z
test/views/error_view_test.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
152
2017-09-07T12:43:15.000Z
2022-03-10T18:47:47.000Z
defmodule Asciinema.ErrorViewTest do use AsciinemaWeb.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(AsciinemaWeb.ErrorView, "404.html", []) =~ "Not Found" end test "renders 404...
29.243243
70
0.644177
03831833d65718f9d29853abb7ceebff9b1f0a05
1,935
ex
Elixir
lib/mix/lib/mix/tasks/loadpaths.ex
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/loadpaths.ex
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/loadpaths.ex
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Loadpaths do use Mix.Task @moduledoc """ Loads the application and its dependencies paths. ## Command line options * `--no-deps-check` - do not check dependencies * `--no-elixir-version-check` - do not check elixir version """ @spec run(OptionParser.argv) :: :ok def run(ar...
25.460526
86
0.611886
03831fe76a36061d424449771d9a13e6c70e29fd
913
ex
Elixir
lib/gute_taten.ex
honeypotio/gute_taten
043e3f53d5f5d9439654032f851a89287fa6d7ca
[ "MIT" ]
1
2016-06-08T08:12:55.000Z
2016-06-08T08:12:55.000Z
lib/gute_taten.ex
honeypotio/gute_taten
043e3f53d5f5d9439654032f851a89287fa6d7ca
[ "MIT" ]
6
2016-03-26T08:49:12.000Z
2018-04-10T15:51:46.000Z
lib/gute_taten.ex
honeypotio/gute_taten
043e3f53d5f5d9439654032f851a89287fa6d7ca
[ "MIT" ]
1
2016-03-30T08:09:17.000Z
2016-03-30T08:09:17.000Z
defmodule GuteTaten do @doc """ Retrieves a list of good deeds for a given github username ## Example GuteTaten.retrieve("duksis") """ @default_rules ["UsefulProjects", "GivingBackTheLove"] @rules Application.get_env(:gute_taten, :rules, @default_rules) @spec retrieve(binary) :: binary def retr...
25.361111
84
0.684556
038342df9917d6f686cc9233978c40395bb2a376
2,906
ex
Elixir
lib/dornach_web/views/select_helpers.ex
ream88/jw-dornach
0a25deae13fafd832421bde21bc21035a128ac7d
[ "MIT" ]
null
null
null
lib/dornach_web/views/select_helpers.ex
ream88/jw-dornach
0a25deae13fafd832421bde21bc21035a128ac7d
[ "MIT" ]
4
2020-01-28T10:12:25.000Z
2021-05-10T23:05:12.000Z
lib/dornach_web/views/select_helpers.ex
ream88/jw-dornach
0a25deae13fafd832421bde21bc21035a128ac7d
[ "MIT" ]
null
null
null
defmodule DornachWeb.SelectHelpers do @moduledoc """ A module which helps with creating the select fields for the event datetimes. """ defmodule Option do @moduledoc false defstruct local: nil, utc: nil, disabled: false, selected: false end @opaque option :: [key: String.t(), value: String.t(), d...
28.490196
98
0.594632
03834faf0992b8359ec778f4606b7cce1d9f8969
1,033
ex
Elixir
lib/version_tasks/fn_expr.ex
kianmeng/version_tasks
9b07113ce5155bcadae47c49a0ecaec22b1d7c68
[ "MIT" ]
18
2017-07-09T23:47:38.000Z
2021-09-30T09:24:37.000Z
lib/version_tasks/fn_expr.ex
kianmeng/version_tasks
9b07113ce5155bcadae47c49a0ecaec22b1d7c68
[ "MIT" ]
1
2022-01-29T08:48:10.000Z
2022-01-29T08:48:10.000Z
lib/version_tasks/fn_expr.ex
kianmeng/version_tasks
9b07113ce5155bcadae47c49a0ecaec22b1d7c68
[ "MIT" ]
2
2019-09-24T11:09:28.000Z
2021-11-02T00:40:05.000Z
defmodule VersionTasks.FnExpr do @moduledoc """ THIS IS A DUPLICATE OF https://hex.pm/packages/fn_expr so that project can leverage this version management (avoiding) a circular dependency. If you want this functionality, then please install it instead @deps [ fn_expr: "~> 0.1.0" ...
21.978723
68
0.595353
038352de74138d56673bb2e10ef32c77fd7373d8
1,426
exs
Elixir
test/changelog_web/controllers/page_controller_test.exs
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2021-03-14T21:12:49.000Z
2021-03-14T21:12:49.000Z
test/changelog_web/controllers/page_controller_test.exs
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
null
null
null
test/changelog_web/controllers/page_controller_test.exs
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule ChangelogWeb.PageControllerTest do use ChangelogWeb.ConnCase test "static pages all render", %{conn: conn} do Enum.each([ "/about", "/contact", "/films", "/community", "/nightly", "/sponsor", "/sponsor/pricing", "/team", "/weekly", "/weekly/...
28.52
74
0.607994
03835ff08d92c3ce31603aa5c317b407b6f29882
3,798
exs
Elixir
integration_test/test/code_generation/app_with_mysql_adapter_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
integration_test/test/code_generation/app_with_mysql_adapter_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
integration_test/test/code_generation/app_with_mysql_adapter_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule Phoenix.Integration.CodeGeneration.AppWithMySqlAdapterTest do use Phoenix.Integration.CodeGeneratorCase, async: true describe "phx.gen.html" do @tag database: :mysql test "has a passing test suite" do with_installer_tmp("app_with_defaults", fn tmp_dir -> {app_root_path, _} = ...
33.910714
125
0.640074
0383941c83fa9f45e6cfc067ff3ce9270d73f685
483
ex
Elixir
lib/ex_phone_number/constants/phone_number_types.ex
msharp/ex_phone_number
ae8d4fb8d78b119b64fb926d4047ddf133d9998b
[ "MIT" ]
179
2016-05-18T17:51:14.000Z
2022-03-17T17:01:53.000Z
lib/ex_phone_number/constants/phone_number_types.ex
msharp/ex_phone_number
ae8d4fb8d78b119b64fb926d4047ddf133d9998b
[ "MIT" ]
45
2016-05-18T15:46:39.000Z
2022-03-04T12:48:54.000Z
lib/ex_phone_number/constants/phone_number_types.ex
msharp/ex_phone_number
ae8d4fb8d78b119b64fb926d4047ddf133d9998b
[ "MIT" ]
52
2016-06-06T05:21:00.000Z
2022-01-07T22:38:22.000Z
defmodule ExPhoneNumber.Constants.PhoneNumberTypes do def fixed_line(), do: :fixed_line def mobile(), do: :mobile def fixed_line_or_mobile(), do: :fixed_line_or_mobile def toll_free(), do: :toll_free def premium_rate(), do: :premium_rate def shared_cost(), do: :shared_cost def voip(), do: :voip d...
18.576923
55
0.691511
0383ace693d73aeae509e0a35f3b79b859d82747
5,097
exs
Elixir
integration_test/cases/queue_test.exs
ericentin/db_connection
5a11383dd250e77b8475fddba92e26e2bf9efad8
[ "Apache-2.0" ]
null
null
null
integration_test/cases/queue_test.exs
ericentin/db_connection
5a11383dd250e77b8475fddba92e26e2bf9efad8
[ "Apache-2.0" ]
null
null
null
integration_test/cases/queue_test.exs
ericentin/db_connection
5a11383dd250e77b8475fddba92e26e2bf9efad8
[ "Apache-2.0" ]
null
null
null
defmodule QueueTest do use ExUnit.Case, async: true alias TestPool, as: P alias TestAgent, as: A test "queue: false raises on busy" do stack = [{:ok, :state}] {:ok, agent} = A.start_link(stack) opts = [agent: agent, parent: self()] {:ok, pool} = P.start_link(opts) P.run(pool, fn(_) -> ...
28.316667
86
0.578772
0383f57d8d4e3e95816d3c8e4e008a0dfc7c1c2b
9,645
exs
Elixir
apps/ae_socket_connector/test/client_runner_test.exs
nikita-fuchs/ae-channel-service
ae757a65d4ccaf553faa6703324f4e9953d0640e
[ "ISC" ]
null
null
null
apps/ae_socket_connector/test/client_runner_test.exs
nikita-fuchs/ae-channel-service
ae757a65d4ccaf553faa6703324f4e9953d0640e
[ "ISC" ]
null
null
null
apps/ae_socket_connector/test/client_runner_test.exs
nikita-fuchs/ae-channel-service
ae757a65d4ccaf553faa6703324f4e9953d0640e
[ "ISC" ]
null
null
null
defmodule ClientRunner do use GenServer require Logger defmacro ae_url, do: Application.get_env(:ae_socket_connector, :node)[:ae_url] defmacro network_id, do: Application.get_env(:ae_socket_connector, :node)[:network_id] defstruct pid_session_holder: nil, color: nil, match_list: nil,...
31.622951
114
0.607983
0384133e619dca0042180c22406942001d9102bb
1,391
ex
Elixir
test/support/helpers.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
2
2021-03-22T19:37:33.000Z
2022-01-04T08:48:20.000Z
test/support/helpers.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
10
2019-11-29T20:24:24.000Z
2021-02-26T22:06:13.000Z
test/support/helpers.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
1
2020-01-09T17:13:29.000Z
2020-01-09T17:13:29.000Z
defmodule Test.Support.Helpers do @moduledoc """ Various test helpers. """ @doc """ Repeatedly executes `fun` until it either returns `true` or reaches `timeout`. ## Example In a test, publish a message to a queue, then wait until it arrives in the queue. Fail if the message hasn't arrived after t...
23.576271
78
0.664989
03841bca90f4e9a2367060cd825d444e02cce5b5
229
exs
Elixir
test/test_helper.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
null
null
null
test/test_helper.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
1
2020-11-12T10:04:27.000Z
2020-11-12T10:13:29.000Z
test/test_helper.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
2
2020-08-03T12:03:39.000Z
2020-11-11T14:36:45.000Z
ExUnit.configure(exclude: [pending: true], formatters: [ExUnit.CLIFormatter, ExUnitNotifier]) ExUnit.start() {:ok, files} = File.ls("./test/support") Enum.each(files, fn file -> Code.require_file("test/support/#{file}") end)
25.444444
93
0.71179
038438b913285ab8302aba6c53d6cc95fcaee445
1,363
ex
Elixir
lib/ark_client/api/two/transaction.ex
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
lib/ark_client/api/two/transaction.ex
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
lib/ark_client/api/two/transaction.ex
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
defmodule ArkEcosystem.Client.API.Two.Transaction do @moduledoc """ Documentation for ArkEcosystem.Client.API.One.Transaction. """ import ArkClient @spec list(Tesla.Client.t(), List.t()) :: ArkEcosystem.Client.response() def list(client, parameters \\ []) do client |> get("transactions", parameters) ...
31.697674
87
0.694057
03848c71cb42961f16d2033d334bacfcc3a0d031
2,308
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/public_delegated_prefix_aggregated_list_warning.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/public_delegated_prefix_aggregated_list_warning.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/public_delegated_prefix_aggregated_list_warning.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...
38.466667
262
0.72617
03848d05f1182f17f120a4c294352cb06a54e9e4
4,488
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/dynamic_link_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/dynamic_link_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/dynamic_link_info.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...
62.333333
343
0.761809
0384a135ff069fddeb08671397643217c06ababa
1,349
ex
Elixir
lib/person/male_person.ex
vinceurag/kups
456d4e1e030721e70ffe616bc1fbb81c85a98c76
[ "MIT" ]
3
2018-02-19T05:22:59.000Z
2018-02-19T05:37:45.000Z
lib/person/male_person.ex
vinceurag/kups
456d4e1e030721e70ffe616bc1fbb81c85a98c76
[ "MIT" ]
null
null
null
lib/person/male_person.ex
vinceurag/kups
456d4e1e030721e70ffe616bc1fbb81c85a98c76
[ "MIT" ]
null
null
null
defmodule Kups.Person.Male do @moduledoc """ Functions for generating fake data related to a male person. """ alias Kups.Collection @doc """ Generates a full name of a male person. Accepts a boolean parameter. Defaults to `false`. ## Examples iex(1)> Kups.Person.Male.full_name(true...
22.864407
95
0.595256
0384bb06f1b9e062aae25370395ca737b279144b
40,960
ex
Elixir
lib/livebook/session.ex
oo6/livebook
0e059f4f840a56c122266a62cc8fdb3b97920efc
[ "Apache-2.0" ]
null
null
null
lib/livebook/session.ex
oo6/livebook
0e059f4f840a56c122266a62cc8fdb3b97920efc
[ "Apache-2.0" ]
null
null
null
lib/livebook/session.ex
oo6/livebook
0e059f4f840a56c122266a62cc8fdb3b97920efc
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Session do @moduledoc false # Server corresponding to a single notebook session. # # The process keeps the current notebook state and serves # as a source of truth that multiple clients talk to. # Receives update requests from the clients and notifies # them of any changes applied to t...
30.843373
98
0.677686
03851813b51ce79bf7044f1b45f621805af89d89
37,043
ex
Elixir
lib/elixir/lib/supervisor.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
defmodule Supervisor do @moduledoc ~S""" A behaviour module for implementing supervisors. A supervisor is a process which supervises other processes, which we refer to as *child processes*. Supervisors are used to build a hierarchical process structure called a *supervision tree*. Supervision trees provide ...
37.645325
98
0.695948
038521a5a5b349ca8bd82fdcd33a958e1d391248
476
ex
Elixir
lib/game/application.ex
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
null
null
null
lib/game/application.ex
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
1
2021-10-18T21:44:37.000Z
2021-10-18T21:44:37.000Z
lib/game/application.ex
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
null
null
null
defmodule Game.Application do @moduledoc false use Application def start(_type, _args) do children = [ Game.Repo, GameWeb.Telemetry, {Phoenix.PubSub, name: Game.PubSub}, GameWeb.Endpoint, Game.Manager ] opts = [name: Game.Supervisor, strategy: :one_for_one] Supervi...
19.833333
58
0.67437
038529a6eef496a9eaced5c1db998122f78cd895
5,620
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_face_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_face_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_face_annotation.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 ...
50.178571
193
0.709609
03855a3015e2f54cff19a62e27f8b106544c15ce
3,594
exs
Elixir
apps/ewallet/test/ewallet/emails/forget_password_email_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/ewallet/emails/forget_password_email_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/ewallet/emails/forget_password_email_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.234043
201
0.709794
03855ccc32f243cad6c7339c4d743c070406edf7
1,158
ex
Elixir
lib/chartjs_phoenix_demo/application.ex
jszod/chartjs_phoenix_demo
648b14d0dcdb5adf4b457adbd29172142f9fc8bf
[ "Apache-2.0" ]
null
null
null
lib/chartjs_phoenix_demo/application.ex
jszod/chartjs_phoenix_demo
648b14d0dcdb5adf4b457adbd29172142f9fc8bf
[ "Apache-2.0" ]
null
null
null
lib/chartjs_phoenix_demo/application.ex
jszod/chartjs_phoenix_demo
648b14d0dcdb5adf4b457adbd29172142f9fc8bf
[ "Apache-2.0" ]
null
null
null
defmodule ChartjsPhoenixDemo.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository # Don't start for this non-database demo # Chartj...
32.166667
76
0.724525
03857312084549c83c7405301f9130b5a173eaa2
53,724
ex
Elixir
lib/phoenix_live_view.ex
gaslight/phoenix_live_view
17a4c0790823e3c59eda8fca24a1604240f63811
[ "MIT" ]
4,659
2019-03-14T20:22:43.000Z
2022-03-31T20:13:30.000Z
lib/phoenix_live_view.ex
gaslight/phoenix_live_view
17a4c0790823e3c59eda8fca24a1604240f63811
[ "MIT" ]
1,745
2019-03-14T22:04:38.000Z
2022-03-31T17:26:25.000Z
lib/phoenix_live_view.ex
gaslight/phoenix_live_view
17a4c0790823e3c59eda8fca24a1604240f63811
[ "MIT" ]
744
2019-03-14T20:48:05.000Z
2022-03-25T14:35:04.000Z
defmodule Phoenix.LiveView do @moduledoc ~S''' LiveView provides rich, real-time user experiences with server-rendered HTML. The LiveView programming model is declarative: instead of saying "once event X happens, change Y on the page", events in LiveView are regular messages which may cause changes to it...
35.275115
148
0.679194
0385c3f883231030ef0df120f28cac87063372c9
937
ex
Elixir
lib/hound/browsers/firefox/profile.ex
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
1,307
2015-01-03T16:50:15.000Z
2022-03-30T05:23:50.000Z
lib/hound/browsers/firefox/profile.ex
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
209
2015-03-28T10:25:46.000Z
2022-02-13T01:16:34.000Z
lib/hound/browsers/firefox/profile.ex
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
168
2015-03-30T10:58:11.000Z
2022-03-19T02:17:04.000Z
defmodule Hound.Browser.Firefox.Profile do @moduledoc false @default_prefs %{ } defstruct [prefs: @default_prefs] def new do %__MODULE__{} end def get_preference(%__MODULE__{prefs: prefs}, key) do Map.get(prefs, key) end def put_preference(profile, key, value) do %{profile | prefs: Ma...
22.309524
69
0.642476
0385f727de9d4ab75e18238110cee9828a92b727
1,783
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/lease_work_item_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/lease_work_item_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/lease_work_item_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.66
128
0.739204
0386277ad44d50926fa9eaf4e7a9bf974079b5ff
2,198
exs
Elixir
config/dev.exs
sFractal-Podii/quadquizaminos
1693f2d1c6ffee33065dd2ba7d899ac4aa405762
[ "MIT" ]
null
null
null
config/dev.exs
sFractal-Podii/quadquizaminos
1693f2d1c6ffee33065dd2ba7d899ac4aa405762
[ "MIT" ]
null
null
null
config/dev.exs
sFractal-Podii/quadquizaminos
1693f2d1c6ffee33065dd2ba7d899ac4aa405762
[ "MIT" ]
null
null
null
import Config # Configure your database config :quadquizaminos, Quadquizaminos.Repo, username: "postgres", password: "postgres", database: "quadquizaminos_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debuggin...
28.545455
68
0.699727
03862e545356da39e258cfd98f17ad13523bba39
1,024
ex
Elixir
lib/grovepi/registry/subscriber.ex
asummers/grovepi
8092fd704457265929e4d9676bedd8cf2176f48d
[ "Apache-2.0" ]
null
null
null
lib/grovepi/registry/subscriber.ex
asummers/grovepi
8092fd704457265929e4d9676bedd8cf2176f48d
[ "Apache-2.0" ]
null
null
null
lib/grovepi/registry/subscriber.ex
asummers/grovepi
8092fd704457265929e4d9676bedd8cf2176f48d
[ "Apache-2.0" ]
null
null
null
defmodule GrovePi.Registry.Subscriber do @moduledoc false @type event :: atom @type package :: any @type registration :: {GrovePi.pin(), event} @type message :: {GrovePi.pin(), event, package} @spec start_link(Registry.registry()) :: Supervisor.on_start() def start_link(prefix, opts \\ []) do opts =...
29.257143
83
0.666016
03863540cba2599b73f6ab9eb4c681a645d2473a
645
ex
Elixir
othello/lib/othello_web/router.ex
Wycode-fish/WEBDEV-PROJECT-1
fad6870c97225ce206ed6b90645bb626b76f598c
[ "MIT" ]
null
null
null
othello/lib/othello_web/router.ex
Wycode-fish/WEBDEV-PROJECT-1
fad6870c97225ce206ed6b90645bb626b76f598c
[ "MIT" ]
null
null
null
othello/lib/othello_web/router.ex
Wycode-fish/WEBDEV-PROJECT-1
fad6870c97225ce206ed6b90645bb626b76f598c
[ "MIT" ]
null
null
null
defmodule OthelloWeb.Router do use OthelloWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", OthelloWeb do pipe_...
21.5
57
0.671318
03863aad098c283102cd554427e5b33c5d35d5da
1,335
exs
Elixir
config/test.exs
rjowens/pow_assent
585f0012a8a1fcec5ce15f86e8fd24a838fa61b5
[ "MIT" ]
null
null
null
config/test.exs
rjowens/pow_assent
585f0012a8a1fcec5ce15f86e8fd24a838fa61b5
[ "MIT" ]
null
null
null
config/test.exs
rjowens/pow_assent
585f0012a8a1fcec5ce15f86e8fd24a838fa61b5
[ "MIT" ]
null
null
null
use Mix.Config config :pow_assent, PowAssent.Test.Ecto.Repo, database: "pow_assent_test", pool: Ecto.Adapters.SQL.Sandbox, priv: "test/support/ecto/priv" config :pow_assent, PowAssent.Test.Phoenix.Endpoint, secret_key_base: String.duplicate("abcdefghijklmnopqrstuvxyz0123456789", 2), render_errors: [view: Po...
46.034483
81
0.799251
038673f159bb0857e340f810c52a26e099865703
211
exs
Elixir
test/secrets_manager_provider/ex_aws_client_test.exs
FindHotel/secrets_manager_provider
987d78ba949c9ff714b3289d216c9fcce98f4781
[ "MIT", "Unlicense" ]
10
2019-08-09T01:21:01.000Z
2021-08-08T17:27:06.000Z
test/secrets_manager_provider/ex_aws_client_test.exs
FindHotel/secrets_manager_provider
987d78ba949c9ff714b3289d216c9fcce98f4781
[ "MIT", "Unlicense" ]
4
2019-08-06T17:35:21.000Z
2021-09-09T03:32:04.000Z
test/secrets_manager_provider/ex_aws_client_test.exs
christopherlai/secrets_manager_provider
6ef9555611de38d0f2112b9c1fb5844053283b9d
[ "Unlicense", "MIT" ]
4
2019-08-05T19:20:57.000Z
2021-08-04T15:46:00.000Z
defmodule SecretsManagerProvider.ExAwsClientTest do use ExUnit.Case, async: true @moduletag :external describe "get_secrets/1" do test "returns secrets from AWS Secrets Manager" do end end end
19.181818
54
0.753555
03867cb0733691732f6c7aac5d65b035bdd5e057
72
exs
Elixir
.formatter.exs
wolcanism/mix_audit
5217f4be56519dd67dba0084929d1ed50517bc18
[ "BSD-3-Clause" ]
173
2020-03-04T14:04:46.000Z
2022-03-26T21:50:27.000Z
.formatter.exs
wolcanism/mix_audit
5217f4be56519dd67dba0084929d1ed50517bc18
[ "BSD-3-Clause" ]
5
2020-03-09T17:04:19.000Z
2021-12-29T17:38:20.000Z
.formatter.exs
wolcanism/mix_audit
5217f4be56519dd67dba0084929d1ed50517bc18
[ "BSD-3-Clause" ]
6
2020-03-11T21:43:48.000Z
2021-12-21T19:20:48.000Z
[ inputs: ["*.exs", "{lib,test}/**/*.{ex,exs}"], line_length: 180 ]
14.4
48
0.486111
038683a7809a8e93a50d261b8937a0c8fdff941d
442
ex
Elixir
lib/nostrum_boilerplate/consumer.ex
doorgan/nostrum_boilerplate
2206f6a0795da9f3fb896c2810c4da7dbdbd9cf3
[ "Unlicense" ]
3
2022-02-03T22:21:00.000Z
2022-02-21T16:31:53.000Z
lib/nostrum_boilerplate/consumer.ex
doorgan/nostrum_boilerplate
2206f6a0795da9f3fb896c2810c4da7dbdbd9cf3
[ "Unlicense" ]
null
null
null
lib/nostrum_boilerplate/consumer.ex
doorgan/nostrum_boilerplate
2206f6a0795da9f3fb896c2810c4da7dbdbd9cf3
[ "Unlicense" ]
null
null
null
defmodule NostrumBoilerplate.Consumer do @moduledoc false use Nostrum.Consumer alias NostrumBoilerplate.Commands def start_link do Consumer.start_link(__MODULE__) end def handle_event({:READY, _data, _ws_state}) do Commands.register_commands() end def handle_event({:INTERACTION_CREATE, inter...
19.217391
68
0.757919
0386b0417695b63084a2fcb6a8b7b1f34ac581bd
2,661
ex
Elixir
test/support/test_tools.ex
rubencaro/pedro
b550b3af700962283fa9e3985e1dcc2da2e14d0d
[ "MIT" ]
null
null
null
test/support/test_tools.ex
rubencaro/pedro
b550b3af700962283fa9e3985e1dcc2da2e14d0d
[ "MIT" ]
null
null
null
test/support/test_tools.ex
rubencaro/pedro
b550b3af700962283fa9e3985e1dcc2da2e14d0d
[ "MIT" ]
null
null
null
defmodule Pedro.TestTools do @moduledoc """ Custom assertions and handy functions and macros for testing. `import` into your `Case` modules like: defmodule Pedro.RequestControllerTest do use Pedro.ConnCase, async: true import Pedro.TestTools .... end """ defmacro assert_valid_json(conn) do...
26.878788
86
0.644119
0386d874c03c76c01e99608b4118d6a239b9c54e
4,475
exs
Elixir
lib/logger/test/logger/backends/console_test.exs
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/logger/test/logger/backends/console_test.exs
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/logger/test/logger/backends/console_test.exs
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule Logger.Backends.ConsoleTest do use Logger.Case require Logger import ExUnit.CaptureIO setup do on_exit fn -> :ok = Logger.configure_backend(:console, [format: nil, device: :user, level: nil, metadata: [], colors: [enabled: false]]) end end test "does not start when t...
27.453988
95
0.626369
0386e935c9c3a25b1a4156596dab97f7b8a2ccfd
836
ex
Elixir
lib/platform_web/plugs/https_redirect_plug.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
17
2017-11-14T14:03:18.000Z
2021-12-10T04:18:48.000Z
lib/platform_web/plugs/https_redirect_plug.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
21
2017-11-19T13:38:07.000Z
2022-02-10T00:11:14.000Z
lib/platform_web/plugs/https_redirect_plug.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
2
2019-09-03T03:32:13.000Z
2021-02-23T21:52:57.000Z
defmodule PlatformWeb.HttpsRedirectPlug do @moduledoc """ Redirects http to https if request comes from a proxy and the x-forwarded-proto header is set to http """ import Plug.Conn def init(opts), do: opts def call(conn, _opts) do if get_req_header(conn, "x-forwarded-proto") == ["http"] do red...
24.588235
96
0.656699
0386ffcc84968c89be1e953dce1bc0584c3dc781
1,872
ex
Elixir
lib/push_gateway/dispatcher.ex
SmartColumbusOS/push-gateway
4055ac0e320ba178a443336fa016f365745c6773
[ "Apache-2.0" ]
null
null
null
lib/push_gateway/dispatcher.ex
SmartColumbusOS/push-gateway
4055ac0e320ba178a443336fa016f365745c6773
[ "Apache-2.0" ]
null
null
null
lib/push_gateway/dispatcher.ex
SmartColumbusOS/push-gateway
4055ac0e320ba178a443336fa016f365745c6773
[ "Apache-2.0" ]
null
null
null
defmodule PushGateway.Dispatcher do @moduledoc false use GenStage require Logger def start_link({number, init_args}) do name = :"#{__MODULE__}.#{number}" GenStage.start_link(__MODULE__, init_args, name: name) end def init(init_args) do producer_name = Keyword.fetch!(init_args, :producer_name...
27.130435
94
0.686966
03870eecda64179d0d598807a4ff40d92b5e5013
671
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_6.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_6.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_6.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.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 com.spoonacular.client.Model.InlineResponse2006 do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"recipes" ] @type t :...
23.964286
102
0.727273
0387113c53488e632a74813345e402aec3182b92
2,371
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_bid_responses_without_bids_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_bid_responses_without_bids_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_bid_responses_without_bids_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.924242
222
0.754534
03872f1120304595b53526de7ce6825a6d7ccb07
2,327
ex
Elixir
lib/koans/03_numbers.ex
agata-anastazja/elixir-koans
29eda0a5dc820409063ffc921e00c368973ce4ee
[ "MIT" ]
null
null
null
lib/koans/03_numbers.ex
agata-anastazja/elixir-koans
29eda0a5dc820409063ffc921e00c368973ce4ee
[ "MIT" ]
null
null
null
lib/koans/03_numbers.ex
agata-anastazja/elixir-koans
29eda0a5dc820409063ffc921e00c368973ce4ee
[ "MIT" ]
null
null
null
defmodule Numbers do require Integer use Koans @intro "Why is the number six so scared? Because seven eight nine!\nWe should get to know numbers a bit more!" koan "Are you odd?" do assert Integer.is_odd(3) == true end koan "Actually you might be even" do assert Integer.is_even(4) == true end ...
24.494737
112
0.640309
0387305c81f0f530c5143cf92e30c804cd84ec0b
171
ex
Elixir
lib/exhmac/error.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
lib/exhmac/error.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
lib/exhmac/error.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
defmodule ExHmac.Error do @moduledoc false defexception message: nil def warn(text, true = _warn), do: IO.warn(text, []) def warn(_text, _warn), do: :ignore end
19
53
0.690058
03873fca8f084a72c9b7b65d8706edc41ad361c3
4,316
ex
Elixir
clients/access_approval/lib/google_api/access_approval/v1beta1/model/approval_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/access_approval/lib/google_api/access_approval/v1beta1/model/approval_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/access_approval/lib/google_api/access_approval/v1beta1/model/approval_request.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...
52
202
0.735171
038749328cec03a4de0df7917a12cb4fe4335327
2,210
ex
Elixir
apps/omg_watcher/lib/exit_validator/validator.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/exit_validator/validator.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/exit_validator/validator.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
33.484848
109
0.729412
038765c0fa6693dc2b72e56f91d4174f3173e5a7
1,950
exs
Elixir
clients/service_consumer_management/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/mix.exs
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...
29.104478
118
0.673846
0387983ee4f683f299f01c4ba1593b87b398bba1
971
ex
Elixir
lib/freshcom_web/application.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
9
2018-12-16T14:02:59.000Z
2021-01-19T07:25:40.000Z
lib/freshcom_web/application.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom_web/application.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
4
2018-12-16T17:50:01.000Z
2021-01-19T07:25:51.000Z
defmodule FreshcomWeb.Application do use Application # See https://hexdocs.pm/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 endpoint when th...
32.366667
89
0.726056
03879c076b193d16e5ce33e599521973f3ed6e0f
1,994
exs
Elixir
apps/flexray/config/config.exs
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
17
2020-06-20T11:29:43.000Z
2022-03-21T05:53:06.000Z
apps/flexray/config/config.exs
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
2
2020-07-09T10:22:50.000Z
2020-09-01T14:46:40.000Z
apps/flexray/config/config.exs
niclaslind/signalbroker-server
afb80514dcbabe561ac2da42adc08843a15c37c5
[ "Apache-2.0" ]
3
2020-07-17T20:04:36.000Z
2022-01-24T14:19:46.000Z
# Copyright 2019 Volvo Cars # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (t...
39.098039
73
0.75677
0387a1d15b9668883221abc1914a64e86911f2fe
3,718
ex
Elixir
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.735632
196
0.662453
0387aead03d1a19db6a25668aeda9a97913903fb
592
exs
Elixir
Elixir/kv/mix.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
Elixir/kv/mix.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
Elixir/kv/mix.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
defmodule KV.Mixfile do use Mix.Project def project do [app: :kv, version: "0.0.1", elixir: "~> 1.0", deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [], mod: {KV, []}] end # ...
18.5
77
0.584459
0387edce1c76b68df2b4547a1d5a6e8dde908cf8
3,961
ex
Elixir
lib/trademark_free_strategic_land_warfare/piece.ex
alanvoss/trademark_free_strategic_land_warfare
d13030adb1936849c5d363e0f4365f087394e6fa
[ "MIT" ]
1
2020-06-30T16:37:50.000Z
2020-06-30T16:37:50.000Z
lib/trademark_free_strategic_land_warfare/piece.ex
alanvoss/trademark_free_strategic_land_warfare
d13030adb1936849c5d363e0f4365f087394e6fa
[ "MIT" ]
null
null
null
lib/trademark_free_strategic_land_warfare/piece.ex
alanvoss/trademark_free_strategic_land_warfare
d13030adb1936849c5d363e0f4365f087394e6fa
[ "MIT" ]
13
2020-06-04T23:10:19.000Z
2020-06-05T01:25:26.000Z
defmodule TrademarkFreeStrategicLandWarfare.Piece do @derive Jason.Encoder @enforce_keys [:uuid, :player, :visible] defstruct uuid: nil, player: nil, name: nil, visible: nil, rank: nil, lose_when_attacked_by: nil @type t() :: %__MODULE__{ uuid: binary(), player: Integer.t(), name:...
28.292857
98
0.611967
038818c72cdc62471353cf23658cdba8a3396047
825
ex
Elixir
patterns/rpc/elixir/client/lib/client.ex
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
patterns/rpc/elixir/client/lib/client.ex
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
patterns/rpc/elixir/client/lib/client.ex
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
require Logger defmodule Client do defstruct name: nil, pid: nil @name :rpcserver def connect do Node.connect(:"rpcserver@tony-M14xR2") end def subscribe(name) do pid = spawn(__MODULE__, :notify, []) send :global.whereis_name(@name), {:subscribe, name, pid} %Client{name: name, pid: pid} ...
18.333333
78
0.610909
03883f969ed8858ba60f6d03bc5b49c23099dd60
1,276
ex
Elixir
test/support/conn_case.ex
rgovaerts/tackle_box_cds_api
332cda4d576c469748677b9952a0d7fdf77d61c2
[ "MIT" ]
null
null
null
test/support/conn_case.ex
rgovaerts/tackle_box_cds_api
332cda4d576c469748677b9952a0d7fdf77d61c2
[ "MIT" ]
null
null
null
test/support/conn_case.ex
rgovaerts/tackle_box_cds_api
332cda4d576c469748677b9952a0d7fdf77d61c2
[ "MIT" ]
null
null
null
defmodule TackleBoxCdsWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, ...
29
74
0.731975
0388437a88ef6a70b755f792103a6189c03e0830
2,725
exs
Elixir
server/config/releases.exs
dreamer820/realtime
c293c7680b84e19a068787d0d7f8e49ef8c275f8
[ "Apache-2.0" ]
1
2021-05-12T01:17:43.000Z
2021-05-12T01:17:43.000Z
server/config/releases.exs
dreamer820/realtime
c293c7680b84e19a068787d0d7f8e49ef8c275f8
[ "Apache-2.0" ]
9
2021-09-01T19:51:47.000Z
2022-02-16T03:28:23.000Z
server/config/releases.exs
dreamer820/realtime
c293c7680b84e19a068787d0d7f8e49ef8c275f8
[ "Apache-2.0" ]
null
null
null
import Config # These defaults mirror the ones in config.exs, remember not to change one # without changing the other. app_port = String.to_integer(System.get_env("PORT", "4000")) db_host = System.get_env("DB_HOST", "localhost") db_port = String.to_integer(System.get_env("DB_PORT", "5432")) db_name = System.get_env("D...
39.492754
128
0.750092
038849e3b86426d9b3a4c9aadb170cafac886079
2,231
exs
Elixir
project4_part2/config/prod.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
3
2019-10-28T21:02:55.000Z
2020-10-01T02:29:37.000Z
project4_part2/config/prod.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
null
null
null
project4_part2/config/prod.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
4
2019-10-12T19:41:58.000Z
2021-09-24T20:24:47.000Z
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # Project4Part2Web.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. ...
34.323077
69
0.728821
03884b62ab0d50d4bbc35925d15fbc7e4729d667
1,574
ex
Elixir
apps/status/lib/status/release_tasks/sentry.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/status/lib/status/release_tasks/sentry.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/status/lib/status/release_tasks/sentry.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Status.ReleaseTasks.Sentry do @moduledoc false @behaviour Config.Provider alias Status.ReleaseTasks.Validators require Logger def init(args) do args end # remember, release tasks run AFTER release.exs gets evaluated. def load(config, args) do _ = on_load(args) current_version = ...
27.137931
103
0.651207
03886f60f761776abca7da00def7af3e5c89ec61
15,154
ex
Elixir
lib/elixir/lib/agent.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/elixir/lib/agent.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/agent.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
defmodule Agent do @moduledoc """ Agents are a simple abstraction around state. Often in Elixir there is a need to share or store state that must be accessed from different processes or by the same process at different points in time. The `Agent` module provides a basic server implementation that allows...
34.997691
95
0.691963
03888f45c986d57aa7999ffd34f260b1935e42c9
728
ex
Elixir
elixir/elixir-sips/samples/twitter_playground/lib/twitter_playground.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/twitter_playground/lib/twitter_playground.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/twitter_playground/lib/twitter_playground.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule TwitterPlayground do use Application def start(_type, _args) do import Supervisor.Spec, warn: false ExTwitter.configure( consumer_key: System.get_env("TWITTER_CONSUMER_KEY"), consumer_secret: System.get_env("TWITTER_CONSUMER_SECRET"), access_token: System.get_env("TWITTER_ACCES...
26.962963
71
0.729396
03889e9a9934f91527b39237167322ca8443d69b
249
ex
Elixir
lib/photog.ex
allen-garvey/photog-react
c400174d0e456dcbfd565407eb85e8ce80ec59c0
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
lib/photog.ex
allen-garvey/photog-react
c400174d0e456dcbfd565407eb85e8ce80ec59c0
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/photog/lib/photog.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Photog do @moduledoc """ Photog 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
0388a811e1d6a9ea4affc0d38a7f1dc4dfd570c7
463
ex
Elixir
lib/signalrex/ws_client.ex
mendrugory/signalrex
2b198a856afd45bb1798b9b7491742c6ecdc9e44
[ "MIT" ]
9
2017-12-11T17:55:19.000Z
2021-11-22T23:21:00.000Z
lib/signalrex/ws_client.ex
mendrugory/signalrex
2b198a856afd45bb1798b9b7491742c6ecdc9e44
[ "MIT" ]
3
2018-01-10T14:42:41.000Z
2019-11-10T05:23:53.000Z
lib/signalrex/ws_client.ex
mendrugory/signalrex
2b198a856afd45bb1798b9b7491742c6ecdc9e44
[ "MIT" ]
5
2018-01-09T18:14:39.000Z
2021-10-01T21:51:36.000Z
defmodule Signalrex.WSClient do @moduledoc false use Enchufeweb require Logger def handle_message(data, state) do pid = Keyword.get(state, :ws_opts).client send(pid, {:signalr_message, data}) {:ok, state} end def handle_connection(_, state) do init_message = Map.get(Keyword.get(stat...
24.368421
76
0.680346
0388c74ebef999b31eb509701af81db73a01d7fa
60
ex
Elixir
web/views/tee_view.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
1
2015-08-15T02:40:27.000Z
2015-08-15T02:40:27.000Z
web/views/tee_view.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
1
2015-09-11T00:02:33.000Z
2015-09-11T03:24:21.000Z
web/views/tee_view.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
null
null
null
defmodule Handiman.TeeView do use Handiman.Web, :view end
15
29
0.783333
0388da7d2d57a3e92872c77917353411a4ea7c93
1,754
exs
Elixir
test/skeleton/controller_test.exs
skeleton-elixir/skeleton_phoenix
6b2e38226290c1e2857a8399044f725673ea3707
[ "MIT" ]
null
null
null
test/skeleton/controller_test.exs
skeleton-elixir/skeleton_phoenix
6b2e38226290c1e2857a8399044f725673ea3707
[ "MIT" ]
4
2020-07-02T13:17:36.000Z
2021-02-26T13:37:42.000Z
test/skeleton/controller_test.exs
skeleton-elixir/skeleton_phoenix
6b2e38226290c1e2857a8399044f725673ea3707
[ "MIT" ]
1
2021-04-27T17:44:49.000Z
2021-04-27T17:44:49.000Z
defmodule Skeleton.Phoenix.ControllerTest do use Skeleton.App.TestCase import Plug.Conn alias Plug.Conn alias Skeleton.AppWeb.UserController alias Skeleton.App.User setup context do conn = %Conn{} Map.put(context, :conn, conn) end describe "ensure the user is authenticated" do test "when...
22.487179
64
0.632269
038932f305bc43cc999012806b17eec5395f3855
1,269
ex
Elixir
lib/milbase_web/schema/user_type.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
1
2020-07-14T03:27:30.000Z
2020-07-14T03:27:30.000Z
lib/milbase_web/schema/user_type.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
lib/milbase_web/schema/user_type.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
defmodule MilbaseWeb.Schema.Types.UserType do use Absinthe.Schema.Notation #alias Milbase.Content.Post object :user_type, description: "Entity of someone" do field :id, :id, description: "ID" field :name, :string, description: "Name" field :first_name, :string, description: "Required first name" ...
32.538462
88
0.690307
038956f851841018eee0ba79fd408aa375767f8f
2,544
ex
Elixir
lib/calcy/evaluator.ex
oransimhony/calcy
aba449080b1c8eaa238a73e2d5fba5f9badafca1
[ "MIT" ]
1
2019-03-23T16:22:17.000Z
2019-03-23T16:22:17.000Z
lib/calcy/evaluator.ex
oransimhony/calcy
aba449080b1c8eaa238a73e2d5fba5f9badafca1
[ "MIT" ]
null
null
null
lib/calcy/evaluator.ex
oransimhony/calcy
aba449080b1c8eaa238a73e2d5fba5f9badafca1
[ "MIT" ]
null
null
null
defmodule Calcy.Evaluator do @moduledoc """ Documentation for the Evaluator. """ import IO.ANSI @doc """ Returns the value of a addition operation between the left and right hand sides """ def eval(env, {:plus, right, left}) do eval(env, right) + eval(env, left) end @d...
24
89
0.549135
03895d2f22fca9967c1ab13296ce76a8ff7512f8
368
ex
Elixir
web/models/nearby.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
web/models/nearby.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
web/models/nearby.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
defmodule Volition.Nearby do use Volition.Web, :model schema "nearbys" do belongs_to :area, Volition.Area belongs_to :nearby, Volition.Area timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) do struct |> cast(par...
18.4
56
0.638587
03897d9ce06822398ef196a641cbbeac5e45af1e
2,246
ex
Elixir
lib/search.ex
ahd-elang/braintree-elixir
c18d37eaff2df8a6d62cc05677b8a03c1d23ad90
[ "MIT" ]
108
2016-02-03T12:45:03.000Z
2022-02-19T16:56:36.000Z
lib/search.ex
ahd-elang/braintree-elixir
c18d37eaff2df8a6d62cc05677b8a03c1d23ad90
[ "MIT" ]
77
2016-02-12T15:52:53.000Z
2022-02-21T14:38:08.000Z
lib/search.ex
ahd-elang/braintree-elixir
c18d37eaff2df8a6d62cc05677b8a03c1d23ad90
[ "MIT" ]
64
2016-04-04T07:07:24.000Z
2022-03-24T05:42:05.000Z
defmodule Braintree.Search do @moduledoc """ This module performs advanced search on a resource. For additional reference see: https://developers.braintreepayments.com/reference/general/searching/search-fields/ruby """ alias Braintree.ErrorResponse, as: Error alias Braintree.HTTP @doc """ Perform a...
32.085714
102
0.659394
038989275dab173808a7c28f3788a2abd4fa40a9
1,206
ex
Elixir
apps/get_functional_tree/lib/get_functional_tree_account.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
4
2017-04-16T21:07:36.000Z
2021-07-21T10:27:10.000Z
apps/get_functional_tree/lib/get_functional_tree_account.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
null
null
null
apps/get_functional_tree/lib/get_functional_tree_account.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
null
null
null
defmodule GetFunctionalTree.Account do use GenServer def start_link(stash_pid) do {:ok, _pid} = GenServer.start_link(__MODULE__, stash_pid, name: :account) end def credit(amount) do GenServer.call(:account, {:credit, amount}) end def debit(amount) do GenServer.call(:account, {:debit, amount})...
22.333333
77
0.679104
0389b5e1427f343c5c819741b7e2bd33f0fceb12
21,506
ex
Elixir
lib/money/currency.ex
wingyplus/money
18d8eb3581886badb9b89adf455844517c10f599
[ "MIT" ]
null
null
null
lib/money/currency.ex
wingyplus/money
18d8eb3581886badb9b89adf455844517c10f599
[ "MIT" ]
null
null
null
lib/money/currency.ex
wingyplus/money
18d8eb3581886badb9b89adf455844517c10f599
[ "MIT" ]
null
null
null
defmodule Money.Currency do @moduledoc """ Provides currency support to `Money` Some useful helper methods include: - `get/1` - `get!/1` - `exists?/1` - `to_atom/1` - `name/1` - `name!/1` - `symbol/1` - `symbol!/1` - `all/0` A helper function exists for each currency using the lowercase thre...
43.446465
114
0.608016
0389df733402af0cce2e42c70ff7091eff7fa035
1,993
exs
Elixir
apps/aecore/test/aecore_txs_pool_test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/test/aecore_txs_pool_test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/test/aecore_txs_pool_test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
defmodule AecoreTxsPoolTest do @moduledoc """ Unit test for the pool worker module """ use ExUnit.Case alias Aecore.Txs.Pool.Worker, as: Pool alias Aecore.Miner.Worker, as: Miner alias Aecore.Chain.Worker, as: Chain alias Aecore.Structures.SignedTx alias Aecore.Structures.SpendTx alias Aecore.Walle...
24.304878
70
0.63422
038a15585ad17ca38dd8b323d7ad58b805c3f6bf
360
exs
Elixir
test/exsolr_test.exs
PharosProduction/exsolr
d93eb75c235d3d729f96efd6a8c28688f232ce39
[ "MIT" ]
25
2016-05-10T00:02:27.000Z
2020-11-08T16:51:43.000Z
test/exsolr_test.exs
PharosProduction/exsolr
d93eb75c235d3d729f96efd6a8c28688f232ce39
[ "MIT" ]
2
2016-11-01T10:23:20.000Z
2016-11-14T23:29:28.000Z
test/exsolr_test.exs
PharosProduction/exsolr
d93eb75c235d3d729f96efd6a8c28688f232ce39
[ "MIT" ]
16
2016-05-22T02:12:15.000Z
2021-02-10T20:56:54.000Z
defmodule ExsolrTest do use ExUnit.Case, async: true doctest Exsolr test "get a document" do Exsolr.get(q: "roses") end test "add a document" do document = %{id: "3", title: "Doc 3" } Exsolr.add(document) end test "delete a document by id" do Exsolr.delete_by_id(3) end test "commit...
16.363636
42
0.647222
038a3b1732b723f19dd9f48023a95484c458f8f1
10,392
ex
Elixir
apps/jsonrpc2/test/support/bridge_sync_mock.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/jsonrpc2/test/support/bridge_sync_mock.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/jsonrpc2/test/support/bridge_sync_mock.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule JSONRPC2.BridgeSyncMock do alias Blockchain.Account alias Blockchain.Block alias JSONRPC2.Response.Block, as: ResponseBlock alias JSONRPC2.Response.Receipt, as: ResponseReceipt alias JSONRPC2.Response.Transaction, as: ResponseTransaction alias JSONRPC2.Struct.EthSyncing alias MerklePatriciaTree....
26.176322
95
0.651751
038a80fcf36f26d7b8fdc38726316f978117c996
107
ex
Elixir
test/setup/repo.ex
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
6
2019-01-31T23:31:42.000Z
2020-10-06T20:05:34.000Z
test/setup/repo.ex
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
2
2021-11-09T14:35:51.000Z
2021-11-09T18:04:15.000Z
test/setup/repo.ex
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
2
2019-01-31T23:53:33.000Z
2021-11-05T21:47:26.000Z
defmodule Assoc.Test.Repo do use Ecto.Repo, otp_app: :assoc, adapter: Ecto.Adapters.Postgres end
17.833333
35
0.719626
038a937396691bce9341ef599baa435df49117bd
313
ex
Elixir
tests/dirty_nif/NimlerWrapper.ex
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
null
null
null
tests/dirty_nif/NimlerWrapper.ex
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
null
null
null
tests/dirty_nif/NimlerWrapper.ex
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
null
null
null
defmodule NimlerDirtyNif do @on_load :init def init(), do: :erlang.load_nif( to_charlist(Path.join(Path.dirname(__ENV__.file), 'nif')), 0 ) def dirty_cpu(), do: :erlang.nif_error(:nif_library_not_loaded) def dirty_io(), do: :erlang.nif_error(:nif_library_not_loaded) end
22.357143
66
0.664537
038acb607d8e570c95f49155a26dfff560fbb509
2,647
exs
Elixir
apps/nerves_hub_www/test/nerves_hub_www_web/live/device_live_show_test.exs
acrogenesis/nerves_hub_web
27f651dd64b40a034254b50805884f4efd679957
[ "Apache-2.0" ]
1
2019-10-13T10:56:28.000Z
2019-10-13T10:56:28.000Z
apps/nerves_hub_www/test/nerves_hub_www_web/live/device_live_show_test.exs
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_www/test/nerves_hub_www_web/live/device_live_show_test.exs
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWWWWeb.DeviceLiveShowTest do use NervesHubWWWWeb.ConnCase.Browser, async: false import Phoenix.ChannelTest alias NervesHubWebCore.{AuditLogs, Repo} alias NervesHubWWWWeb.Endpoint alias Phoenix.Socket.Broadcast setup %{fixture: %{device: device}} do Endpoint.subscribe("device:#{dev...
32.280488
99
0.669059
038ad7f4dd9707cf87ffcb937e9ea6f3117119de
4,259
exs
Elixir
debug_options.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
3
2020-07-07T20:41:23.000Z
2020-07-17T09:05:37.000Z
debug_options.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
1
2020-07-08T00:04:38.000Z
2020-07-08T00:04:38.000Z
debug_options.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
null
null
null
import Config config :ex_debugger, :meta_debug, all: %{show_module_tokens: false, show_tokenizer: false, show_ast_before: false, show_ast_after: false}, # "Elixir.Support.DiscoveredBugs.ConsOperator.AutoCase": {true, true, true, true}, # "Elixir.Support.DiscoveredBugs.ConsOperator.ManualCase": {true, true, true,...
61.724638
126
0.82672
038aea5008a537eeeb0b620cd41223ba2c6b1828
1,426
ex
Elixir
lib/cv_creator_web/router.ex
Foxlabsdevelopers/cv_creator
c77d52cdc67180ed369a3dbd298ca2dea5131c60
[ "MIT" ]
null
null
null
lib/cv_creator_web/router.ex
Foxlabsdevelopers/cv_creator
c77d52cdc67180ed369a3dbd298ca2dea5131c60
[ "MIT" ]
2
2021-05-24T21:41:25.000Z
2021-05-25T16:02:09.000Z
lib/cv_creator_web/router.ex
Foxlabsdevelopers/cv_creator
c77d52cdc67180ed369a3dbd298ca2dea5131c60
[ "MIT" ]
null
null
null
defmodule CvCreatorWeb.Router do use CvCreatorWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", CvCreatorWeb do ...
28.52
70
0.704067
038af8aef846753b70a0d516b8aebc4231c8508b
7,126
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_proxy_revision.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_proxy_revision.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_proxy_revision.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...
62.508772
361
0.685237