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
3373877358cbf233d90afbb993801a73bc64ab23
2,718
exs
Elixir
test/find_my_personal/members_test.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
null
null
null
test/find_my_personal/members_test.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
9
2020-08-11T11:36:59.000Z
2020-09-04T13:05:21.000Z
test/find_my_personal/members_test.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
null
null
null
defmodule FindMyPersonal.MembersTest do use FindMyPersonal.DataCase use Bamboo.Test alias FindMyPersonal.{Members, Members.Mail} import FindMyPersonal.MemberFixture describe "emails tests" do test "welcome email" do member = member_fixture() email = Mail.created({:ok, member}) assert...
32.357143
89
0.683223
337398f977f5d65ea5ea9c0eb655c0c33c6c73a4
2,348
ex
Elixir
lib/survey_api_web.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
lib/survey_api_web.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
lib/survey_api_web.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
defmodule SurveyApiWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use SurveyApiWeb, :controller use SurveyApiWeb, :view The definitions below will be executed for every view, contro...
22.796117
78
0.68569
3373df41fd879f86c2f91e77cb8e9bf438052396
524
ex
Elixir
lib/mango_web/plugs/fetch_cart.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
121
2017-06-24T10:33:38.000Z
2022-03-17T16:02:16.000Z
lib/mango_web/plugs/fetch_cart.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
6
2017-06-24T22:48:21.000Z
2018-03-17T01:20:32.000Z
lib/mango_web/plugs/fetch_cart.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
29
2017-07-03T04:09:15.000Z
2022-03-02T15:45:49.000Z
defmodule MangoWeb.Plugs.FetchCart do import Plug.Conn alias Mango.Sales alias Mango.Sales.Order def init(_opts), do: nil def call(conn, _) do with cart_id <- get_session(conn, :cart_id), true <- is_integer(cart_id), %Order{} = cart <- Sales.get_cart(cart_id) do co...
23.818182
52
0.557252
3374037caf95648d1d89f5d028dcd5cad8b89775
10,273
exs
Elixir
test/unit/snapshot/footer_test.exs
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
1
2021-02-26T00:00:34.000Z
2021-02-26T00:00:34.000Z
test/unit/snapshot/footer_test.exs
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
null
null
null
test/unit/snapshot/footer_test.exs
fhunleth/zigler
037ff05087563d3255f58fb0abbaedeb12b97211
[ "MIT" ]
null
null
null
defmodule ZiglerTest.Snapshot.FooterTest do use ExUnit.Case, async: true alias Zig.{Code, Module, Parser.Nif, Parser.Resource} @moduletag :snapshot describe "the zigler compiler footer generates" do test "works for a single function" do [major, minor] = Code.nif_major_minor() assert """ ...
30.84985
104
0.549596
33740639f36a964f8aecfcf3779be80af43b1080
721
ex
Elixir
lib/messenger_bot/client/middlewares/struct_response.ex
mustafaturan/messenger_bot
c6c634ace2b2df02acf4a06c9b24790893d88d60
[ "Unlicense" ]
16
2018-04-19T23:50:47.000Z
2020-07-18T08:28:07.000Z
lib/messenger_bot/client/middlewares/struct_response.ex
mustafaturan/messenger_bot
c6c634ace2b2df02acf4a06c9b24790893d88d60
[ "Unlicense" ]
62
2018-11-05T08:21:23.000Z
2021-08-02T13:15:16.000Z
lib/messenger_bot/client/middlewares/struct_response.ex
mustafaturan/messenger_bot
c6c634ace2b2df02acf4a06c9b24790893d88d60
[ "Unlicense" ]
4
2019-04-25T13:30:45.000Z
2020-07-12T15:39:23.000Z
defmodule MessengerBot.Client.Middleware.StructResponse do @moduledoc false ############################################################################ # Tesla Middleware implementation to structure the response # ############################################################################ @...
26.703704
78
0.525659
3374213ddf01448701179ff2eea633c6324d3dfc
5,415
ex
Elixir
apps/local_ledger_db/lib/local_ledger_db/entry.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/local_ledger_db/lib/local_ledger_db/entry.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/local_ledger_db/lib/local_ledger_db/entry.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
28.5
96
0.664451
3374525f89783834bdf2a69a9c9d110d340309b2
385
exs
Elixir
priv/repo/migrations/20200101162322_create_comments.exs
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
1
2020-07-14T03:27:30.000Z
2020-07-14T03:27:30.000Z
priv/repo/migrations/20200101162322_create_comments.exs
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20200101162322_create_comments.exs
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
defmodule Milbase.Repo.Migrations.CreateComments do use Ecto.Migration def change do create table(:comments) do add :text, :string add :user_id, references(:users, on_delete: :nothing) add :post_id, references(:posts, on_delete: :nothing) timestamps() end create index(:comment...
22.647059
59
0.675325
33747a5d997e079abd11ba68c5f41d4445b069a5
109
ex
Elixir
lib/algae/id/extend.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
191
2016-08-22T17:34:45.000Z
2019-05-28T19:02:39.000Z
lib/algae/id/extend.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
35
2016-08-30T20:56:22.000Z
2019-05-02T17:32:31.000Z
lib/algae/id/extend.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
10
2016-08-30T18:41:54.000Z
2019-02-14T14:14:55.000Z
import TypeClass definst Witchcraft.Extend, for: Algae.Id do def nest(inner), do: Algae.Id.new(inner) end
18.166667
43
0.752294
3374a03b9735aa66c9be5df591824ae49595faf7
2,842
ex
Elixir
lib/phoenix/endpoint/cowboy2_adapter.ex
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
lib/phoenix/endpoint/cowboy2_adapter.ex
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
lib/phoenix/endpoint/cowboy2_adapter.ex
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
defmodule Phoenix.Endpoint.Cowboy2Adapter do @moduledoc """ The Cowboy2 adapter for Phoenix. It implements the required `child_spec/3` function as well as WebSocket transport functionality. ## Custom dispatch options You can provide custom dispatch options in order to use Phoenix's builtin Cowboy serve...
32.295455
103
0.633709
3374e0ed4113c32b64c4a137c21dea0e526926f7
1,090
exs
Elixir
config/.credo.exs
axelson/phoenix_gen_socket_client
4a9aa4e7d36777e157f0156f8081aab50d5b5c14
[ "MIT" ]
null
null
null
config/.credo.exs
axelson/phoenix_gen_socket_client
4a9aa4e7d36777e157f0156f8081aab50d5b5c14
[ "MIT" ]
null
null
null
config/.credo.exs
axelson/phoenix_gen_socket_client
4a9aa4e7d36777e157f0156f8081aab50d5b5c14
[ "MIT" ]
null
null
null
%{ configs: [ %{ name: "default", files: %{ included: case Mix.env do :dev -> ["lib/"] :test -> ["test/"] end, excluded: [] }, checks: [ {Credo.Check.Consistency.ExceptionNames}, {Credo.Check.Consistency.SpaceInPar...
29.459459
70
0.576147
3374e229cdff9a9fdb55f307233042ac9212cd7e
30
ex
Elixir
lib/cookietycoon.ex
stephanos/cookietycoon
c59e192eb047defecf83ae17e8b046b54185a9b1
[ "Apache-2.0" ]
null
null
null
lib/cookietycoon.ex
stephanos/cookietycoon
c59e192eb047defecf83ae17e8b046b54185a9b1
[ "Apache-2.0" ]
null
null
null
lib/cookietycoon.ex
stephanos/cookietycoon
c59e192eb047defecf83ae17e8b046b54185a9b1
[ "Apache-2.0" ]
null
null
null
defmodule CookieTycoon do end
10
25
0.866667
3374f446faf1faf9e324cea956d3f22b9e8b28f3
6,987
ex
Elixir
lib/farmbot/system/config_storage/config_storage.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/system/config_storage/config_storage.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/system/config_storage/config_storage.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.System.ConfigStorage do @moduledoc "Repo for storing config data." # Sorry. # credo:disable-for-this-file use Ecto.Repo, otp_app: :farmbot, adapter: Application.get_env(:farmbot, __MODULE__)[:adapter] import Ecto.Query, only: [from: 2] alias Farmbot.System.ConfigStorage alias ConfigSto...
29.605932
123
0.656362
3374faf401025b08507af919aedd4dac9a609efd
11,249
ex
Elixir
lib/graylog_search.ex
dideler/graylog_search
ed18691d04c8e4e04bb73ab8a69f7feaf55647db
[ "Apache-2.0" ]
null
null
null
lib/graylog_search.ex
dideler/graylog_search
ed18691d04c8e4e04bb73ab8a69f7feaf55647db
[ "Apache-2.0" ]
null
null
null
lib/graylog_search.ex
dideler/graylog_search
ed18691d04c8e4e04bb73ab8a69f7feaf55647db
[ "Apache-2.0" ]
null
null
null
defmodule GraylogSearch do @moduledoc """ GraylogSearch constructs search queries in a composable manner. It more or less follows [Graylog's search query language](http://docs.graylog.org/en/latest/pages/queries.html). ## Basic Usage All queries start with a base URL to the graylog instance. ``` Graylo...
29.838196
114
0.652769
337504aec1d7e3bfa0a952a1a35601411d9ab5c2
201
exs
Elixir
test/jeopardy_web/controllers/page_controller_test.exs
banzr/CS4550proj2
4e7ce6098c2a8a9fe38dab1d83e52ef9e3247f2c
[ "MIT" ]
null
null
null
test/jeopardy_web/controllers/page_controller_test.exs
banzr/CS4550proj2
4e7ce6098c2a8a9fe38dab1d83e52ef9e3247f2c
[ "MIT" ]
2
2020-04-30T14:14:00.000Z
2020-07-07T20:57:31.000Z
test/jeopardy_web/controllers/page_controller_test.exs
banzr/CS4550proj2
4e7ce6098c2a8a9fe38dab1d83e52ef9e3247f2c
[ "MIT" ]
null
null
null
defmodule JeopardyWeb.PageControllerTest do use JeopardyWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.333333
60
0.686567
337514d55212b489df3d1fda50dbf581e552d39e
1,561
ex
Elixir
test/support/data_case.ex
code-shoily/miles_to_go
cf5758d3113244326651320bd19c1887677bcf51
[ "MIT" ]
6
2020-12-18T08:36:32.000Z
2021-06-13T03:02:16.000Z
test/support/data_case.ex
code-shoily/miles_to_go
cf5758d3113244326651320bd19c1887677bcf51
[ "MIT" ]
null
null
null
test/support/data_case.ex
code-shoily/miles_to_go
cf5758d3113244326651320bd19c1887677bcf51
[ "MIT" ]
null
null
null
defmodule MilesToGo.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...
26.457627
77
0.690583
33752681ad502346e75e01f5c30e0e5e80603b7e
2,273
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/projects_get_xpn_resources.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/projects_get_xpn_resources.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/projects_get_xpn_resources.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...
42.092593
381
0.75011
337562714fc4f75d1f3ca3b4d2a048af5a410bfe
578
ex
Elixir
apps/service_aggregate/lib/aggregate/feed/supervisor.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/service_aggregate/lib/aggregate/feed/supervisor.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/service_aggregate/lib/aggregate/feed/supervisor.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Aggregate.Feed.Supervisor do @moduledoc """ `DynamicSupervisor` implementation. See [Management.Supervisor](../../../../management/lib/management/supervisor.ex) for more details. """ use Management.Supervisor, name: __MODULE__ import Definition, only: [identifier: 1] @impl Management.Supervi...
26.272727
78
0.716263
3375799da09f1764251c5703fd5929cc748a207a
985
ex
Elixir
bootstrap/lib/mix/tasks/nerves/loadpaths.ex
tverlaan/nerves
515b9b7730a1b2934ac051b0e7075cd7987b6c4a
[ "Apache-2.0" ]
null
null
null
bootstrap/lib/mix/tasks/nerves/loadpaths.ex
tverlaan/nerves
515b9b7730a1b2934ac051b0e7075cd7987b6c4a
[ "Apache-2.0" ]
null
null
null
bootstrap/lib/mix/tasks/nerves/loadpaths.ex
tverlaan/nerves
515b9b7730a1b2934ac051b0e7075cd7987b6c4a
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Nerves.Loadpaths do use Mix.Task import Mix.Nerves.Bootstrap.Utils def run(_args) do unless System.get_env("NERVES_PRECOMPILE") == "1" do debug_info "Nerves Loadpaths Start" case Code.ensure_compiled?(Nerves.Env) do true -> try do Mix.Tasks.Nerves...
22.906977
56
0.53198
33757e4a2c22d06dd79ebe184510a73bd57e3477
31,701
ex
Elixir
lib/mix/lib/releases/runtime/control.ex
notpublic/distillery-old
609ec1f681222c67f497e7d23b744d0b8023442c
[ "MIT" ]
null
null
null
lib/mix/lib/releases/runtime/control.ex
notpublic/distillery-old
609ec1f681222c67f497e7d23b744d0b8023442c
[ "MIT" ]
null
null
null
lib/mix/lib/releases/runtime/control.ex
notpublic/distillery-old
609ec1f681222c67f497e7d23b744d0b8023442c
[ "MIT" ]
null
null
null
defmodule Mix.Releases.Runtime.Control do @moduledoc """ This module defines the tooling for interacting with nodes, as well as other utiltiy functions of use. """ use Artificery require Record rec = Record.extract(:etop_proc_info, from_lib: "runtime_tools/include/observer_backend.hrl") Record.defreco...
28.380483
133
0.576196
3375fda8126958706340250863c39e4ac05af3b0
829
exs
Elixir
mix.exs
LukeWood/RGG-Elixir
3b032ca42adde890f5e28c7e58f5eab23194b9eb
[ "MIT" ]
1
2019-06-25T04:26:49.000Z
2019-06-25T04:26:49.000Z
mix.exs
LukeWood/RGG-Elixir
3b032ca42adde890f5e28c7e58f5eab23194b9eb
[ "MIT" ]
3
2018-04-01T22:53:22.000Z
2018-04-02T00:43:55.000Z
mix.exs
LukeWood/RGG-Elixir
3b032ca42adde890f5e28c7e58f5eab23194b9eb
[ "MIT" ]
null
null
null
defmodule RGG.MixProject do use Mix.Project def project do [ app: :rgg, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, description: description(), deps: deps(), package: package() ] end defp description do "This package generates ...
18.840909
69
0.565742
33760884486bce52ccd2ca0e72e90777c12b01bd
2,183
ex
Elixir
lib/ja_resource/attributes.ex
GetThru/ja_resource
1035b86e74823b14389e07855d67133bcf4381b5
[ "Apache-2.0" ]
72
2016-11-18T03:16:37.000Z
2021-12-04T16:34:34.000Z
lib/ja_resource/attributes.ex
GetThru/ja_resource
1035b86e74823b14389e07855d67133bcf4381b5
[ "Apache-2.0" ]
48
2016-11-17T16:40:12.000Z
2021-02-16T01:24:32.000Z
lib/ja_resource/attributes.ex
GetThru/ja_resource
1035b86e74823b14389e07855d67133bcf4381b5
[ "Apache-2.0" ]
22
2017-01-29T11:39:07.000Z
2020-10-07T09:08:55.000Z
defmodule JaResource.Attributes do @moduledoc """ Provides the `permitted_attributes/3` callback used for filtering attributes. This behaviour is used by the following JaResource actions: * JaResource.Delete * JaResource.Create """ @doc """ Used to determine which attributes are permitted during ...
26.950617
112
0.631699
337662986e97e6c8e9607afe2cbab0726ea1a592
3,134
ex
Elixir
lib/artus/definition_manager.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
lib/artus/definition_manager.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
lib/artus/definition_manager.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
defmodule Artus.DefinitionManager do @moduledoc "Module for dynamically loading definition JSON files" use GenServer @doc "Starts definition manager" def start_link do GenServer.start_link(__MODULE__, :ok, [name: :def_manager]) end @doc "Initializes DefinitionManager by reading definitions" def init...
25.688525
97
0.664008
33769b735d0c5d285a65b804cf0ed979ee95aadc
1,114
exs
Elixir
clients/source_repo/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/source_repo/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/source_repo/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.SourceRepo.V1.Mixfile do use Mix.Project @version "0.6.0" def project do [app: :google_api_source_repo, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), ...
23.208333
111
0.603232
3376c975a3990bed6eb886288319e885513ef274
691
ex
Elixir
lib/mix/lib/mix/tasks/archive.uninstall.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/lib/mix/tasks/archive.uninstall.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/archive.uninstall.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Archive.Uninstall do use Mix.Task @shortdoc "Uninstall archives" @moduledoc """ Uninstall local archives: mix archive.uninstall archive.ez """ @spec run(OptionParser.argv) :: :ok def run(argv) do {_, argv, _} = OptionParser.parse(argv) if name = List.first(argv) do ...
23.033333
82
0.616498
3376cb51f8860949b957821a1bb86668fbb33941
1,003
ex
Elixir
lib/club_backend_web/router.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
null
null
null
lib/club_backend_web/router.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
6
2020-07-31T23:02:34.000Z
2021-02-26T21:10:10.000Z
lib/club_backend_web/router.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
2
2020-08-23T23:04:00.000Z
2020-10-03T03:18:11.000Z
defmodule ClubBackendWeb.Router do use ClubBackendWeb, :router pipeline :api do plug :accepts, ["json"] end get "/ping", ClubBackendWeb.PingController, :ping scope "/api", ClubBackendWeb do pipe_through :api post "/auth/login", AuthController, :login post "/auth/register", AuthController, ...
28.657143
70
0.718843
3376e8b7daf8408998bad71b468089c0792fdf3e
1,083
ex
Elixir
lib/tmp.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
1
2020-02-09T03:03:04.000Z
2020-02-09T03:03:04.000Z
lib/tmp.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
lib/tmp.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
defmodule Soroban.Trans do @moduledoc """ Utilities """ import Ecto.Query alias Soroban.{Repo, Job, Invoice} @doc """ Update advanced fees from nil to $0.00 """ def update_job_adv_fees() do query = (from j in Soroban.Job, where: is_nil(j.fees_advanced) == true) jobs = Repo.all(query) id...
24.066667
83
0.647276
3376f822c3ce79580fb4811faf47f3df804c22c2
1,449
exs
Elixir
mix.exs
mindreframer/minio_server
d7049e9f4ae908f2b13fd0a1e7e8b1acc2cf0667
[ "Apache-2.0" ]
null
null
null
mix.exs
mindreframer/minio_server
d7049e9f4ae908f2b13fd0a1e7e8b1acc2cf0667
[ "Apache-2.0" ]
null
null
null
mix.exs
mindreframer/minio_server
d7049e9f4ae908f2b13fd0a1e7e8b1acc2cf0667
[ "Apache-2.0" ]
null
null
null
defmodule MinioServer.MixProject do use Mix.Project def project do [ app: :minio_server, version: "0.1.3", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), name: "Minio Server", source_url: "https://github.com/LostKobrakai/minio_server", desc...
26.833333
103
0.562457
3377129fb1e5c0eb8bf99e848c6894d1e3f7172a
1,067
ex
Elixir
web/models/user.ex
nihonjinrxs/peep-stack-tutorial-app
8c10b2b589d645ba5a3e31f86754828579e139c9
[ "MIT" ]
null
null
null
web/models/user.ex
nihonjinrxs/peep-stack-tutorial-app
8c10b2b589d645ba5a3e31f86754828579e139c9
[ "MIT" ]
null
null
null
web/models/user.ex
nihonjinrxs/peep-stack-tutorial-app
8c10b2b589d645ba5a3e31f86754828579e139c9
[ "MIT" ]
null
null
null
defmodule Peepchat.User do use Peepchat.Web, :model schema "users" do field :email, :string field :password_hash, :string # Two virtual fields for password confirmation field :password, :string, virtual: true field :password_confirmation, :string, virtual: true timestamps() end @requ...
26.02439
65
0.685098
337717fc789204c368f32d8cd3775333a276eba2
1,744
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/set_iam_policy_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/model/set_iam_policy_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/model/set_iam_policy_request.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...
36.333333
276
0.748853
33772d86fa006b0ba69e0ba9df95df1d69416bbc
1,200
ex
Elixir
lib/mdns_lite/client.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
28
2020-08-25T15:26:02.000Z
2022-01-25T00:25:13.000Z
lib/mdns_lite/client.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
19
2020-06-12T22:12:49.000Z
2022-02-08T22:12:16.000Z
lib/mdns_lite/client.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
7
2020-07-31T08:46:15.000Z
2022-01-23T10:11:01.000Z
defmodule MdnsLite.Client do @moduledoc false import MdnsLite.DNS alias MdnsLite.DNS @doc """ Helper for creating an A-record query """ @spec query_a(String.t()) :: DNS.dns_query() def query_a(hostname) do dns_query(class: :in, type: :a, domain: to_charlist(hostname)) end @doc """ Helper fo...
27.272727
69
0.643333
337746a12931a28a0cd76f0f226829da40594fc1
73
exs
Elixir
test/test_helper.exs
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
test/test_helper.exs
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
test/test_helper.exs
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(BlogExample.Repo, :manual)
14.6
57
0.794521
3377491f9c2f559a833344b790f869926af8efef
534
exs
Elixir
config/test.exs
ShadowBan/health-inspector
47a05a97031d2d4dce411fc06bf8612087ba31cb
[ "MIT" ]
null
null
null
config/test.exs
ShadowBan/health-inspector
47a05a97031d2d4dce411fc06bf8612087ba31cb
[ "MIT" ]
null
null
null
config/test.exs
ShadowBan/health-inspector
47a05a97031d2d4dce411fc06bf8612087ba31cb
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :health_inspector, HealthInspector.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :healt...
26.7
56
0.754682
33776e0c04b37b3f57cc089179265a6bb0212f93
368
ex
Elixir
lib/mongo/app.ex
reetou/elixir-mongodb-driver
b17b8fa337a3fdea783bbb991984f93a4848b652
[ "Apache-2.0" ]
1
2019-01-24T09:02:56.000Z
2019-01-24T09:02:56.000Z
lib/mongo/app.ex
reetou/elixir-mongodb-driver
b17b8fa337a3fdea783bbb991984f93a4848b652
[ "Apache-2.0" ]
7
2018-10-12T07:53:57.000Z
2018-10-14T19:06:55.000Z
lib/mongo/app.ex
reetou/elixir-mongodb-driver
b17b8fa337a3fdea783bbb991984f93a4848b652
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.App do @moduledoc false def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Mongo.IdServer, []), worker(Mongo.PBKDF2Cache, []), worker(:gen_event, [local: Mongo.Events]) ] opts = [strategy: :one_for_one, name: Mongo.Supervisor] ...
21.647059
59
0.657609
3377c71c132bc2b7ed6320ce581f3bff06a7669b
2,676
exs
Elixir
test/deadline_test.exs
msmykowski/deadline
bb38073cb04323fca859fdad563ea4629f09c30f
[ "MIT" ]
null
null
null
test/deadline_test.exs
msmykowski/deadline
bb38073cb04323fca859fdad563ea4629f09c30f
[ "MIT" ]
null
null
null
test/deadline_test.exs
msmykowski/deadline
bb38073cb04323fca859fdad563ea4629f09c30f
[ "MIT" ]
null
null
null
defmodule DeadlineTest do use ExUnit.Case doctest Deadline test "allows users to set deadlines" do us = self() spawn(fn -> Deadline.set(800) Deadline.work(fn -> send(us, :job1) :timer.sleep(500) end) Deadline.work(fn -> send(us, :job2) :timer.slee...
21.934426
79
0.64275
3377d151a7cbb596a5372af8caf07b4acf4bf9b9
13,587
ex
Elixir
lib/cldr/number/parse.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
null
null
null
lib/cldr/number/parse.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
null
null
null
lib/cldr/number/parse.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Number.Parser do @moduledoc """ Functions for parsing numbers and currencies from a string. """ @number_format "[-+]?[0-9][0-9,_]*\\.?[0-9_]+([eE][-+]?[0-9]+)?" @doc """ Scans a string locale-aware manner and returns a list of strings and numbers. ## Arguments * `string` is any `...
30.949886
96
0.659527
337815f79e7fd5d4cce7b6c8fbbe0cda8b13b0c8
1,118
exs
Elixir
farmbot_firmware/test/vcr_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_firmware/test/vcr_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_firmware/test/vcr_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotFirmware.VCRTest do use ExUnit.Case alias FarmbotFirmware.StubTransport alias FarmbotFirmware.VCR test "saves a vcr when starting a server" do vcr_path = path() {:ok, server} = FarmbotFirmware.start_link([transport: StubTransport, vcr_path: vcr_path], []) :ok = FarmbotFirmware.exit...
31.942857
98
0.701252
33785934cb72e56a99a48b603c2772cd82c2a2eb
3,298
ex
Elixir
clients/script/lib/google_api/script/v1/model/execution_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/script/lib/google_api/script/v1/model/execution_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/script/lib/google_api/script/v1/model/execution_request.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...
58.892857
721
0.733172
33785d0393d641ea6221e6586fbb81606adea78c
1,883
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/list_clusters_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/list_clusters_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/list_clusters_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.66
253
0.737122
337864fe13bfb181cadba3efad5490397aa28245
867
exs
Elixir
config/test.exs
sbouaked/plausible
d3eb565fa02c5bfbfbbc78880a98d5f0f9d69577
[ "MIT" ]
null
null
null
config/test.exs
sbouaked/plausible
d3eb565fa02c5bfbfbbc78880a98d5f0f9d69577
[ "MIT" ]
null
null
null
config/test.exs
sbouaked/plausible
d3eb565fa02c5bfbfbbc78880a98d5f0f9d69577
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :plausible, PlausibleWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn # Reduce bcrypt rounds to speed up test suite con...
23.432432
56
0.750865
3378ddaee9fc02ad671fd932c62c581f9fefab5f
1,007
ex
Elixir
lib/color_wars/application.ex
kerlak/color_wars_server
a1f069eb110dcae3c519e4b85d64b5d13b9ffc4e
[ "MIT" ]
1
2020-04-21T10:38:14.000Z
2020-04-21T10:38:14.000Z
lib/color_wars/application.ex
kerlak/color_wars_server
a1f069eb110dcae3c519e4b85d64b5d13b9ffc4e
[ "MIT" ]
null
null
null
lib/color_wars/application.ex
kerlak/color_wars_server
a1f069eb110dcae3c519e4b85d64b5d13b9ffc4e
[ "MIT" ]
null
null
null
defmodule ColorWars.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 the ...
32.483871
87
0.721946
337930e5095d4439e536a32024aea45988be98be
24,835
ex
Elixir
lib/mix/lib/mix/tasks/xref.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/xref.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/xref.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Xref do use Mix.Task import Mix.Compilers.Elixir, only: [read_manifest: 1, source: 0, source: 1, source: 2, module: 1] @shortdoc "Prints cross reference information" @recursive true @manifest "compile.elixir" @moduledoc """ Prints cross reference information between modules. ...
30.472393
98
0.634749
337933efe67f5f498f42bc107c149063fb887a0a
3,405
exs
Elixir
test/pdu_storage_test.exs
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
test/pdu_storage_test.exs
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
test/pdu_storage_test.exs
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
defmodule SMPPEX.PduStorageTest do use ExUnit.Case alias SMPPEX.PduStorage alias SMPPEX.PduStorageSupervisor alias SMPPEX.Pdu setup_all do PduStorageSupervisor.start_link() :ok end setup do {pid, process} = PduStorageSupervisor.pdu_storage(SMPPEX.MemSequenceStorage) {:ok, %{pid: pid, pr...
33.712871
98
0.718943
337969c1a0eb384009b84bc98fc9d12407edf1ae
13,884
ex
Elixir
lib/nebulex/adapters/replicated.ex
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
1
2021-03-01T16:14:07.000Z
2021-03-01T16:14:07.000Z
lib/nebulex/adapters/replicated.ex
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
null
null
null
lib/nebulex/adapters/replicated.ex
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
null
null
null
defmodule Nebulex.Adapters.Replicated do @moduledoc ~S""" Built-in adapter for replicated cache topology. The replicated cache excels in its ability to handle data replication, concurrency control and failover in a cluster, all while delivering in-memory data access speeds. A clustered replicated cache is ex...
30.182609
94
0.673005
337971146e70f565d6948cdf98f258fd0cb5a3cd
2,758
ex
Elixir
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_purge_user_events_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_purge_user_events_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_purge_user_events_request.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...
48.385965
872
0.751269
337977150ccbbf0d9549cb0ce801607234494a5d
621
ex
Elixir
lib/ash/resource/change/prevent_change.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/resource/change/prevent_change.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/resource/change/prevent_change.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Resource.Change.PreventChange do @moduledoc false use Ash.Resource.Change alias Ash.Changeset def init(opts) do case validate_field(opts[:field]) do :ok -> {:ok, opts} other -> other end end defp validate_field(nil), do: {:error, "field is required"} de...
23.884615
81
0.668277
3379ab91b029d21e82a95d774976b367e7b0d923
287
ex
Elixir
lib/hl7/2.5.1/segments/ecr.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/ecr.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/ecr.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.Segments.ECR do @moduledoc false require Logger alias HL7.V2_5_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, command_response: DataTypes.Ce, date_time_completed: DataTypes.Ts, command_response_parameters: nil ] end
19.133333
40
0.696864
3379dd398370643dee4be24659d9ddb8213d8613
2,121
ex
Elixir
lib/google_api/big_query/v2/model/job_status.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "Apache-2.0" ]
null
null
null
lib/google_api/big_query/v2/model/job_status.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "Apache-2.0" ]
null
null
null
lib/google_api/big_query/v2/model/job_status.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "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...
37.210526
286
0.74116
3379e2b5aae750bda1061a516a8b49074bb3748d
928
exs
Elixir
apps/snitch_core/test/data/model/promotion/promotion_helpers_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/data/model/promotion/promotion_helpers_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/data/model/promotion/promotion_helpers_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Model.PromtionHelperTest do @moduledoc false use ExUnit.Case, async: true use Snitch.DataCase import Snitch.Factory alias Snitch.Data.Model.PromotionHelper setup do promotion = insert(:promotion) insert(:product_rule, promotion: promotion) insert(:order_total_rule, promot...
24.421053
55
0.717672
3379ffb0fd738d7b92484be5ae0089ff504b828e
1,553
ex
Elixir
lib/rps_web.ex
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
3
2018-05-28T15:10:11.000Z
2020-08-02T21:14:25.000Z
lib/rps_web.ex
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
null
null
null
lib/rps_web.ex
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
null
null
null
defmodule RpsWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use RpsWeb, :controller use RpsWeb, :view The definitions below will be executed for every view, controller, etc, so keep...
22.838235
69
0.676755
337a1334790a0d08ccc65069f318a91c27ff997f
1,561
exs
Elixir
mix.exs
wojtekmach/mint
796b8db097d69ede7163acba223ab2045c2773a4
[ "Apache-2.0" ]
null
null
null
mix.exs
wojtekmach/mint
796b8db097d69ede7163acba223ab2045c2773a4
[ "Apache-2.0" ]
null
null
null
mix.exs
wojtekmach/mint
796b8db097d69ede7163acba223ab2045c2773a4
[ "Apache-2.0" ]
null
null
null
defmodule Mint.MixProject do use Mix.Project @version "1.2.1" @repo_url "https://github.com/elixir-mint/mint" def project do [ app: :mint, version: @version, elixir: "~> 1.5", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), ...
21.094595
71
0.522101
337a21e40f678c6114f4b6994fe154b10ffffd5a
2,093
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.375
125
0.719541
337a2c0f7b3efdb4d68a414a3e55ff8264a27983
166
exs
Elixir
lib/eex/mix.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/eex/mix.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/eex/mix.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule EEx.Mixfile do use Mix.Project def project do [ app: :eex, version: System.version, build_per_environment: false ] end end
13.833333
34
0.626506
337a3c422f8452dd11c19897da7aacd5028b5d41
275
exs
Elixir
grains/grains.exs
henrik/xelixir
10ae9265b90dc8042a5fd1f2626d7e0648f4cb29
[ "MIT" ]
null
null
null
grains/grains.exs
henrik/xelixir
10ae9265b90dc8042a5fd1f2626d7e0648f4cb29
[ "MIT" ]
null
null
null
grains/grains.exs
henrik/xelixir
10ae9265b90dc8042a5fd1f2626d7e0648f4cb29
[ "MIT" ]
null
null
null
defmodule Grains do @doc """ Calculate two to the power of the input minus one. """ @spec square(pos_integer) :: pos_integer def square(number) do end @doc """ Adds square of each number from 1 to 64. """ @spec total :: pos_integer def total do end end
11.956522
51
0.661818
337a4ec11f4cad238d3a2cd2f64fa29d6bf2adf3
3,874
ex
Elixir
lib/faker.ex
kurt-friedrich/faker
a23a82ff69f3dd895ae6487d6f9aa1f35278efdb
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
lib/faker.ex
kurt-friedrich/faker
a23a82ff69f3dd895ae6487d6f9aa1f35278efdb
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
lib/faker.ex
kurt-friedrich/faker
a23a82ff69f3dd895ae6487d6f9aa1f35278efdb
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker do @moduledoc """ Main module to start application with some helper functions. """ @doc """ Starts Faker with default locale. """ @spec start() :: :ok def start do :application.start(:faker) end @doc """ Starts Faker with `lang` locale. """ @spec start(atom) :: :ok def ...
21.887006
92
0.615126
337a542038d27f1f1f53f62c1d02979322c2b361
545
ex
Elixir
lib/reaper/decoder/gtfs.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
lib/reaper/decoder/gtfs.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
lib/reaper/decoder/gtfs.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.Decoder.Gtfs do @moduledoc """ Decoder implementation that will decode the file as GTFS """ alias TransitRealtime.FeedMessage @behaviour Reaper.Decoder @impl Reaper.Decoder def decode({:file, filename}, _config) do bytes = File.read!(filename) try do message = FeedMessage...
20.185185
58
0.669725
337a690292f1ee826cea2e86937e25c15554eb1f
1,271
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_vpn_gateway_aggregated_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_vpn_gateway_aggregated_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_vpn_gateway_aggregated_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
29.55814
99
0.739575
337a98530d75b25d535893994639ff8bf8c9de1b
925
exs
Elixir
test/mix.exs
sjoulbak/nerves_system_ch341_rpi
5aa924bfa22a9e8ae75e9d0bcd6656bdeff2720f
[ "Apache-2.0" ]
null
null
null
test/mix.exs
sjoulbak/nerves_system_ch341_rpi
5aa924bfa22a9e8ae75e9d0bcd6656bdeff2720f
[ "Apache-2.0" ]
null
null
null
test/mix.exs
sjoulbak/nerves_system_ch341_rpi
5aa924bfa22a9e8ae75e9d0bcd6656bdeff2720f
[ "Apache-2.0" ]
null
null
null
if Mix.env() == :test do hash = :os.cmd('git rev-parse HEAD') |> to_string |> String.trim() System.put_env("NERVES_FW_VCS_IDENTIFIER", hash) end defmodule Test.MixProject do use Mix.Project def project do [ app: :test, version: "0.1.0", elixir: "~> 1.4", archives: [ner...
22.02381
72
0.618378
337aa16cb5347ae5522af00f3421375fe51b3aff
156
exs
Elixir
test/arc_cloudinary_test.exs
andridus/arc_cloudinary
2d92620baac7b407071bc960a863296cddedf6a7
[ "MIT" ]
null
null
null
test/arc_cloudinary_test.exs
andridus/arc_cloudinary
2d92620baac7b407071bc960a863296cddedf6a7
[ "MIT" ]
null
null
null
test/arc_cloudinary_test.exs
andridus/arc_cloudinary
2d92620baac7b407071bc960a863296cddedf6a7
[ "MIT" ]
null
null
null
defmodule ArcCloudinaryTest do use ExUnit.Case doctest ArcCloudinary test "greets the world" do assert ArcCloudinary.hello() == :world end end
17.333333
42
0.74359
337aa65e61fa77dffa8c68a667fc90f1636701e3
6,072
ex
Elixir
test/support/email_parser.ex
josepablocastro/bamboo_ses
96c509ef7d7acfd8d009777ec376b25a32b4cc24
[ "MIT" ]
28
2018-11-01T22:08:49.000Z
2022-03-02T14:25:45.000Z
test/support/email_parser.ex
josepablocastro/bamboo_ses
96c509ef7d7acfd8d009777ec376b25a32b4cc24
[ "MIT" ]
37
2018-07-05T18:58:32.000Z
2022-01-25T16:11:21.000Z
test/support/email_parser.ex
josepablocastro/bamboo_ses
96c509ef7d7acfd8d009777ec376b25a32b4cc24
[ "MIT" ]
20
2018-10-10T14:33:24.000Z
2021-11-22T17:12:19.000Z
defmodule BambooSes.EmailParser do @moduledoc """ Tool used to confirm emails generated in tests. """ alias BambooSes.{EmailPart, HeaderItem, ParsedEmail} @doc """ Parse SES email body to raw email binary. """ def to_binary(ses_body) do ses_body |> URI.decode_query() |> Map.get("RawMessage...
26.285714
99
0.596014
337ab1a263bb82099b0f99477f537bf8099eb967
8,519
exs
Elixir
test/sparql/processor/construct_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
23
2018-09-25T21:09:35.000Z
2020-05-14T16:28:22.000Z
test/sparql/processor/construct_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
2
2018-06-01T20:47:48.000Z
2019-03-05T23:20:34.000Z
test/sparql/processor/construct_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
2
2019-12-13T19:20:54.000Z
2019-12-20T08:23:21.000Z
defmodule SPARQL.Processor.ConstructTest do use SPARQL.Test.Case import SPARQL.Processor, only: [query: 2, query: 3] @example_graph RDF.Turtle.read_string!(""" @prefix foaf: <http://xmlns.com/foaf/0.1/> . _:a foaf:name "Alice" . _:a foaf:mbox <mailto:alice@example.org> . """) tes...
34.630081
111
0.525649
337ade1c05dae3c9d3ffed2a65e94ece48fdc01c
365
ex
Elixir
lib/epicenter_web/controllers/health_check_controller.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter_web/controllers/health_check_controller.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter_web/controllers/health_check_controller.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.HealthCheckController do use EpicenterWeb, :controller def show(conn, _params) do case database_health_check() do {:ok, _} -> text(conn, "OK") {:error, _} -> conn |> put_status(500) |> text("ERROR: 1") end end defp database_health_check do Application.get_env(:ep...
24.333333
64
0.679452
337ae8d14b5c43d572ecba91ea2aef3f8c95c97e
2,610
ex
Elixir
app/lib/noodl_web/live/events/manage/recordings/recordings.ex
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
1
2021-01-20T20:00:50.000Z
2021-01-20T20:00:50.000Z
app/lib/noodl_web/live/events/manage/recordings/recordings.ex
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
app/lib/noodl_web/live/events/manage/recordings/recordings.ex
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
defmodule NoodlWeb.Live.Events.Manage.Recordings do @moduledoc ~S""" LiveView for the session recordings. """ use NoodlWeb, :live_view alias Noodl.Events alias Noodl.Events.Transcoder alias Noodl.Events.Recording @impl true def mount(_params, %{"event" => event, "user" => user}, socket) do sessi...
25.841584
99
0.608429
337af8c12d588b8f8f054952f6fd15f6ef296b6a
6,676
exs
Elixir
test/hexpm/web/controllers/api/package_controller_test.exs
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
test/hexpm/web/controllers/api/package_controller_test.exs
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
test/hexpm/web/controllers/api/package_controller_test.exs
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Web.API.PackageControllerTest do use Hexpm.ConnCase, async: true setup do user = insert(:user) unauthorized_user = insert(:user) repository = insert(:repository) package1 = insert(:package, inserted_at: ~N[2030-01-01 00:00:00]) package2 = insert(:package, updated_at: ~N[2030-01-...
33.21393
98
0.628071
337b27e694504c2be217dfc8f5ac802907b602cf
15,273
exs
Elixir
test/ecto/type_test.exs
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
test/ecto/type_test.exs
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
test/ecto/type_test.exs
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.TypeTest do use ExUnit.Case, async: true defmodule Custom do @behaviour Ecto.Type def type, do: :custom def load(_), do: {:ok, :load} def dump(_), do: {:ok, :dump} def cast(_), do: {:ok, :cast} end defmodule CustomAny do @behaviour Ecto.Type def type, ...
42.07438
118
0.532181
337b4b5a69854de50eddab5791305956b381cb12
5,530
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/account_user_profile.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/account_user_profile.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/account_user_profile.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...
60.108696
460
0.691501
337b59973648ebf1689667fb0329847a8d8eb4f3
2,037
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/ruleset.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...
37.722222
200
0.724104
337b622dc19d6267e47ff31e8b33cc0c1d1f4c19
1,177
exs
Elixir
mix.exs
jeanparpaillon/protobuf-elixir
7e5ab19ea0d8ac6cf4c2babc9567273d94a5eb09
[ "MIT" ]
null
null
null
mix.exs
jeanparpaillon/protobuf-elixir
7e5ab19ea0d8ac6cf4c2babc9567273d94a5eb09
[ "MIT" ]
null
null
null
mix.exs
jeanparpaillon/protobuf-elixir
7e5ab19ea0d8ac6cf4c2babc9567273d94a5eb09
[ "MIT" ]
null
null
null
defmodule Protobuf.Mixfile do use Mix.Project @version "0.6.3" def project do [ app: :protobuf, version: @version, elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), escript: escript(), description: descrip...
24.020408
118
0.581988
337b80c2ce3b60e7f2e8482af598b26f1a408cd6
102
exs
Elixir
config/test.exs
electricshaman/phoenix_gen_socket_client
289feaca415090b9b9a4a5a313f660e85b3200d4
[ "MIT" ]
169
2016-04-08T10:47:43.000Z
2021-01-19T15:37:34.000Z
config/test.exs
electricshaman/phoenix_gen_socket_client
289feaca415090b9b9a4a5a313f660e85b3200d4
[ "MIT" ]
36
2016-04-07T13:28:02.000Z
2021-01-27T08:16:35.000Z
config/test.exs
electricshaman/phoenix_gen_socket_client
289feaca415090b9b9a4a5a313f660e85b3200d4
[ "MIT" ]
42
2016-04-08T14:31:33.000Z
2021-01-21T09:24:51.000Z
use Mix.Config config :logger, level: :warn config :phoenix_gen_socket_client, TestSite.Endpoint, []
20.4
56
0.784314
337b90e027096cd42c1e7b6a3150b5267bc7353f
1,563
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/empty.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.26
76
0.745361
337bad49a7f91026d48754cf1e7aa55280b76476
5,448
ex
Elixir
lib/php_serializer.ex
ojizero/php_serializer
da466a1a04a4c0e221d98b515c0e078bf67f7b55
[ "MIT" ]
null
null
null
lib/php_serializer.ex
ojizero/php_serializer
da466a1a04a4c0e221d98b515c0e078bf67f7b55
[ "MIT" ]
null
null
null
lib/php_serializer.ex
ojizero/php_serializer
da466a1a04a4c0e221d98b515c0e078bf67f7b55
[ "MIT" ]
null
null
null
defmodule PhpSerializer do @doc """ Serialize Elixir data iex> PhpSerializer.serialize(123) "i:123;" iex> PhpSerializer.serialize([1, :some_atom, %{1=> "a", "b" => 2}]) "a:3:{i:0;i:1;i:1;s:9:\"some_atom\";i:2;a:2:{i:1;s:1:\"a\";s:1:\"b\";i:2;}}" iex> PhpSerializer.serialize(%PhpSe...
34.481013
163
0.609214
337bc26f7c2a8806d705a53ee8d2abc2e3a9b461
2,443
exs
Elixir
test_fixtures/precompiled/good-posts.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
302
2016-08-01T05:16:06.000Z
2022-03-26T07:20:46.000Z
test_fixtures/precompiled/good-posts.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
206
2016-08-04T15:18:35.000Z
2022-03-01T03:07:57.000Z
test_fixtures/precompiled/good-posts.exs
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
35
2016-10-29T13:59:34.000Z
2022-03-01T01:50:31.000Z
[%{__struct__: Serum.Post, date: "2019-01-01", file: "/home/dalgona/repo/Serum/priv/fixtures/posts/good-post.md", html: "<h1>Hello, world!</h1>\n<p>The quick brown fox jumps over the lazy dog.\nThe quick brown fox jumps over the lazy dog.\nThe quick brown fox jumps over the lazy dog.\nThe quick brown fox jumps over the...
1,221.5
2,442
0.721244
337c248cfb1e17aa3b75bb14136b963fbff0e0e6
1,521
exs
Elixir
mix.exs
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
mix.exs
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
mix.exs
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
defmodule Thing.Mixfile do use Mix.Project def project do [app: :thing, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases: a...
28.698113
78
0.604208
337c8eafc1e63601890a893b1aea1fb0700fced3
129
exs
Elixir
test/whatwg/percent_encoding_test.exs
chulkilee/whatwg
490a41639c36786783ea3d79115854bbec0eb283
[ "Apache-2.0" ]
null
null
null
test/whatwg/percent_encoding_test.exs
chulkilee/whatwg
490a41639c36786783ea3d79115854bbec0eb283
[ "Apache-2.0" ]
null
null
null
test/whatwg/percent_encoding_test.exs
chulkilee/whatwg
490a41639c36786783ea3d79115854bbec0eb283
[ "Apache-2.0" ]
null
null
null
defmodule WHATWG.PercentEncodingTest do use ExUnit.Case import WHATWG.PercentEncoding doctest WHATWG.PercentEncoding end
16.125
39
0.829457
337cd860d50d24ebff0fb8a46568c931d4793f9c
3,606
ex
Elixir
lib/phoenix_pagination.ex
VanHelmont/phoenix_pagination
899b64d056ee815835e6e11b82b835ab20c25a91
[ "MIT" ]
null
null
null
lib/phoenix_pagination.ex
VanHelmont/phoenix_pagination
899b64d056ee815835e6e11b82b835ab20c25a91
[ "MIT" ]
null
null
null
lib/phoenix_pagination.ex
VanHelmont/phoenix_pagination
899b64d056ee815835e6e11b82b835ab20c25a91
[ "MIT" ]
null
null
null
defmodule Phoenix.Pagination do @moduledoc """ Pagination for Ecto and Phoenix. """ defstruct items: [], per_page: 0, max_page: 0, page: 0, total_pages: 0, total_count: 0, params: [] import Ecto.Query alias Phoenix.Pagination @per...
22.968153
96
0.617027
337ce095bd46593eed9596cc4dd3707685d73cf7
2,177
exs
Elixir
test/controllers/unit_controller_test.exs
slurmulon/hone
9cc817fef06fbec564b18a11faa472ecf902aa62
[ "MIT" ]
null
null
null
test/controllers/unit_controller_test.exs
slurmulon/hone
9cc817fef06fbec564b18a11faa472ecf902aa62
[ "MIT" ]
null
null
null
test/controllers/unit_controller_test.exs
slurmulon/hone
9cc817fef06fbec564b18a11faa472ecf902aa62
[ "MIT" ]
null
null
null
defmodule Hone.UnitControllerTest do use Hone.ConnCase, async: true alias Hone.Unit @valid_attrs %{body: "some content", size: 42, title: "some content"} @invalid_attrs %{} setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end test "lists all entries on index", ...
34.015625
98
0.655489
337cf362c582118ce2dfee316684837b99d6718a
967
ex
Elixir
lib/hl7/2.5/segments/bpx.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/bpx.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/bpx.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.BPX do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, set_id_bpx: nil, bp_dispense_status: DataTypes.Cwe, bp_status: nil, bp_date_time_of_status: DataTypes.Ts, bc_donation_id: DataTypes.Ei,...
29.30303
52
0.708376
337d2630bcc437b53f1e2bb3bd937045c5024dd9
2,676
ex
Elixir
lib/rdf/xsd/utils/regex.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
lib/rdf/xsd/utils/regex.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
lib/rdf/xsd/utils/regex.ex
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.Utils.Regex do @moduledoc !""" XSD-flavoured regex matching. This is not intended to be used directly. Use `c:RDF.XSD.Datatype.matches?/3` implementations on the datatypes or `RDF.Literal.matches?/3` instead. """ @doc """ Matches...
30.758621
109
0.610613
337d8c6da95942ccd9848ece4b7d24e324d70831
904
ex
Elixir
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2020 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.481481
74
0.764381
337d9f52bf5b5e98ad0eee9fd0190995338aa08c
1,168
exs
Elixir
test/name_test.exs
szTheory/gimei_ex
1c4be55ac49e92d0b50b4b2447c545e8222a8bfc
[ "MIT" ]
8
2015-06-10T14:28:20.000Z
2019-05-11T16:37:56.000Z
test/name_test.exs
szTheory/gimei_ex
1c4be55ac49e92d0b50b4b2447c545e8222a8bfc
[ "MIT" ]
1
2015-11-16T10:49:37.000Z
2015-11-16T10:49:37.000Z
test/name_test.exs
szTheory/gimei_ex
1c4be55ac49e92d0b50b4b2447c545e8222a8bfc
[ "MIT" ]
5
2015-11-15T16:22:14.000Z
2021-01-21T22:05:36.000Z
defmodule GimeiExNameTest do use ExUnit.Case alias GimeiEx.Name alias GimeiEx.Name.First alias GimeiEx.Name.Last setup do {:ok, gimei: %Name{ first: %First{kanji: "f_kanji", hiragana: "f_hira", katakana: "f_kana"}, last: %Last{kanji: "l_kanji", hiragana: "l_hira", katakana: "l_kana"}}} ...
27.809524
80
0.683219
337e0f3ca0f05a3cb780a629981d89d5d1679a3d
4,172
ex
Elixir
lib/exhmac/noncer/noncer.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
lib/exhmac/noncer/noncer.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
lib/exhmac/noncer/noncer.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
defmodule ExHmac.Noncer do @moduledoc false alias ExHmac.{Repo, Util} ### def check(nonce, curr_ts, freezing_secs, precision) do nonce |> get_and_update_nonce(curr_ts) |> do_check(curr_ts, freezing_secs, precision) end def get_and_update_nonce(nonce, curr_ts) do fun = fn repo -> wit...
28.772414
97
0.657239
337e4dd32792844927aa66b86d6eadd347571b9b
2,497
exs
Elixir
config/runtime.exs
guisehn/sface-on-view-demo
7d9db80d02d1f82e6c874255d56eabcc414215ae
[ "MIT" ]
null
null
null
config/runtime.exs
guisehn/sface-on-view-demo
7d9db80d02d1f82e6c874255d56eabcc414215ae
[ "MIT" ]
null
null
null
config/runtime.exs
guisehn/sface-on-view-demo
7d9db80d02d1f82e6c874255d56eabcc414215ae
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
40.934426
82
0.705647
337e5762ab995b36defba269957589f63658437c
1,245
exs
Elixir
test/time_zone_info/file_archive_test.exs
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
5
2020-04-05T16:03:03.000Z
2022-02-07T22:11:04.000Z
test/time_zone_info/file_archive_test.exs
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
16
2020-03-28T17:46:13.000Z
2021-08-25T08:35:48.000Z
test/time_zone_info/file_archive_test.exs
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
null
null
null
defmodule TimeZoneInfo.FileArchiveTest do use ExUnit.Case, async: true alias TimeZoneInfo.FileArchive setup do archive = File.read!("test/fixtures/iana/tzdata2019c.tar.gz") %{archive: archive} end describe "extract/2" do test "reads version file", %{archive: archive} do assert FileArchive...
34.583333
84
0.631325
337e67600e06c6bf0b4547ddaabd5271fdc9a77c
163
exs
Elixir
03concat-and-anon-funct/05concat.exs
kamranhossain/elixir-fundamental-nauman
6e8251976c37e1a3001d57e4eb67284d860b8d29
[ "MIT" ]
1
2020-07-08T05:25:36.000Z
2020-07-08T05:25:36.000Z
03concat-and-anon-funct/05concat.exs
kamranhossain/elixir-fundamental-nauman
6e8251976c37e1a3001d57e4eb67284d860b8d29
[ "MIT" ]
null
null
null
03concat-and-anon-funct/05concat.exs
kamranhossain/elixir-fundamental-nauman
6e8251976c37e1a3001d57e4eb67284d860b8d29
[ "MIT" ]
null
null
null
defmodule Concat do def join(a, b, sep \\ " ") do a <> sep <> b end end IO.puts Concat.join("Hello", "World") IO.puts Concat.join("Hello", "World", "_")
16.3
42
0.582822
337e74d9cda84c08d11049bf7835ee6167c40983
371
exs
Elixir
bench/utils_bench.exs
ryanwinchester/elixir-uuids
e51629e88331d82ce8099da7cdd5dd8263b69c0d
[ "Apache-2.0" ]
7
2020-10-15T01:39:48.000Z
2022-03-24T16:26:23.000Z
bench/utils_bench.exs
ryanwinchester/elixir-uuids
e51629e88331d82ce8099da7cdd5dd8263b69c0d
[ "Apache-2.0" ]
11
2020-10-14T17:44:23.000Z
2021-03-12T19:51:39.000Z
bench/utils_bench.exs
ryanwinchester/elixir-uuids
e51629e88331d82ce8099da7cdd5dd8263b69c0d
[ "Apache-2.0" ]
null
null
null
uuid_string = "716c654f-d2b7-436b-9751-2440a9cb079d" uuid_binary = <<113, 108, 101, 79, 210, 183, 67, 107, 151, 81, 36, 64, 169, 203, 7, 157>> Benchee.run(%{ "info!" => fn -> UUID.info!(uuid_string) end, "binary_to_string!" => fn -> UUID.binary_to_string!(uuid_binary) end, "string_to_binary!" => fn -...
24.733333
89
0.638814
337eb9618613db0689c7e073e1bba9fe207979a8
132
ex
Elixir
lib/inspect/bit_string.ex
ElixirWerkz/exlogger
57e2da8c0883b5e83be00fe0764628f4b5f3bdf5
[ "MIT" ]
2
2015-08-25T09:23:21.000Z
2016-04-14T12:30:06.000Z
lib/inspect/bit_string.ex
ElixirWerkz/exlogger
57e2da8c0883b5e83be00fe0764628f4b5f3bdf5
[ "MIT" ]
null
null
null
lib/inspect/bit_string.ex
ElixirWerkz/exlogger
57e2da8c0883b5e83be00fe0764628f4b5f3bdf5
[ "MIT" ]
null
null
null
defimpl ExLogger.Inspect, for: BitString do import Kernel, except: [to_string: 1] def to_string(thing) do thing end end
14.666667
43
0.712121
337ee9ae9b5621d48a346aa8679252f6ba927a03
395
ex
Elixir
web/models/tag.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
3
2016-12-20T17:16:39.000Z
2017-02-22T11:06:56.000Z
web/models/tag.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
1
2017-05-31T16:32:41.000Z
2017-05-31T16:32:41.000Z
web/models/tag.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
null
null
null
defmodule BigSnips.Tag do use BigSnips.Web, :model schema "tags" do field :name, :string many_to_many :posts, BigSnips.Post, join_through: BigSnips.PostTag timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) do struct...
18.809524
70
0.643038
337ef2945e190b222a9498ab7dc12e7095232968
297
ex
Elixir
lib/central/admin/dev.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/central/admin/dev.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central/admin/dev.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Dev do @moduledoc false @behaviour Bodyguard.Policy import Central.Account.AuthLib, only: [allow?: 2] # def colours, do: Central.Helpers.StylingHelper.colours(:success2) def icon, do: "fas fa-power-off" def authorize(_, conn, _), do: allow?(conn, "admin.dev") end
24.75
69
0.713805
337f1b66d07ee68f35617e16dd1535d2fcfc66d9
506
exs
Elixir
priv/repo/migrations/20181125225218_create_events.exs
oestrich/gossip-backbone
0bd926a6ad759486d4b14216d60c2653240be7da
[ "MIT" ]
1
2018-10-23T04:13:39.000Z
2018-10-23T04:13:39.000Z
priv/repo/migrations/20181125225218_create_events.exs
oestrich/gossip-backbone
0bd926a6ad759486d4b14216d60c2653240be7da
[ "MIT" ]
null
null
null
priv/repo/migrations/20181125225218_create_events.exs
oestrich/gossip-backbone
0bd926a6ad759486d4b14216d60c2653240be7da
[ "MIT" ]
null
null
null
defmodule Backbone.Repo.Migrations.CreateEvents do use Ecto.Migration def change do create table(:events) do add(:remote_id, :integer, null: false) add(:title, :text, null: false) add(:description, :text) add(:start_date, :date, null: false) add(:end_date, :date, null: false) ...
25.3
61
0.644269
337f1de99cfd34b7ef7c0315a5d9e07225dfa33e
717
ex
Elixir
homesynck/lib/homesynck_web/gettext.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
5
2021-03-28T21:20:41.000Z
2021-07-02T22:46:29.000Z
homesynck/lib/homesynck_web/gettext.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
homesynck/lib/homesynck_web/gettext.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
defmodule HomesynckWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import HomesynckWeb.Gettext # Simple translation gettext("Here ...
28.68
72
0.680614
337f716ce34469377c1cb4c7ea904d3b426ac832
1,758
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/stateful_policy_preserved_state_disk_device.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/stateful_policy_preserved_state_disk_device.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/stateful_policy_preserved_state_disk_device.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.404255
390
0.758817
337f73d394660fbac261ca5d2c57bad0d54c8f06
717
ex
Elixir
lib/sptfy/object/simplified_playlist.ex
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
5
2020-12-14T15:46:26.000Z
2021-03-20T22:32:58.000Z
lib/sptfy/object/simplified_playlist.ex
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
9
2020-12-25T14:36:11.000Z
2021-01-25T14:03:18.000Z
lib/sptfy/object/simplified_playlist.ex
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
null
null
null
defmodule Sptfy.Object.SimplifiedPlaylist do @moduledoc """ Module for playlist (simplified) struct. """ use Sptfy.Object alias Sptfy.Object.{Image, Paging, PlaylistTrack, PublicUser} defstruct ~w[ collaborative description external_urls href id images name owner prima...
18.868421
81
0.633194
337f75cc7ce39199e4a94cdfdba5ecb12e7d1323
9,952
ex
Elixir
lib/shortuuid.ex
kianmeng/ex_shortuuid
530730442a81349ec4cb83995f0d78f7826233cc
[ "MIT" ]
32
2019-02-22T09:21:41.000Z
2022-02-15T06:49:33.000Z
lib/shortuuid.ex
kianmeng/ex_shortuuid
530730442a81349ec4cb83995f0d78f7826233cc
[ "MIT" ]
3
2020-03-13T18:36:09.000Z
2021-12-04T20:49:20.000Z
lib/shortuuid.ex
kianmeng/ex_shortuuid
530730442a81349ec4cb83995f0d78f7826233cc
[ "MIT" ]
4
2020-03-13T16:54:47.000Z
2021-11-13T07:37:28.000Z
defmodule ShortUUID do @moduledoc """ ShortUUID - generate concise, unambiguous, URL-safe UUIDs ## Installation Add ShortUUID to your list of dependencies in `mix.exs`: def deps do [{:shortuuid, "~> #{ShortUUID.Mixfile.project()[:version] |> String.slice(0, 3)}"}] end `encode/1` will...
25.916667
128
0.557576
337f794b85c35770d353835cf60e8f96d24bb172
2,104
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/region_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/region_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/region_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.962963
194
0.717205
337f7f1406a523d6d2a605223c738c778103f871
64
exs
Elixir
config/test.exs
kianmeng/url
e65a0f3cff4bea203c7965d4d7c4cf612169d726
[ "Apache-2.0" ]
13
2018-11-26T09:08:52.000Z
2022-01-21T10:21:35.000Z
config/test.exs
kianmeng/url
e65a0f3cff4bea203c7965d4d7c4cf612169d726
[ "Apache-2.0" ]
1
2021-05-11T18:48:26.000Z
2021-05-11T18:48:26.000Z
config/test.exs
kipcole9/url
0840f51a96f618b0123bdf33cebcaac517b830e3
[ "Apache-2.0" ]
null
null
null
import Mix.Config config :ex_cldr, default_backend: MyApp.Cldr
16
44
0.8125
337f82b5a6cdf48a063bf6c73c139d2c4663fea3
2,229
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/big_query_destination.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/big_query_destination.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/big_query_destination.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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.056604
311
0.733064
337fad0151635cbfb806624cd6123af275d7e3ec
1,660
ex
Elixir
test/support/data_case.ex
mazarynxyz/Mazaryn
b84d08d236cbcd356c8b7ec6215c5c0b411b9617
[ "Apache-2.0" ]
null
null
null
test/support/data_case.ex
mazarynxyz/Mazaryn
b84d08d236cbcd356c8b7ec6215c5c0b411b9617
[ "Apache-2.0" ]
null
null
null
test/support/data_case.ex
mazarynxyz/Mazaryn
b84d08d236cbcd356c8b7ec6215c5c0b411b9617
[ "Apache-2.0" ]
null
null
null
defmodule Mazaryn.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 t...
28.135593
88
0.693373
337fadbbddfbcc17f6c1cb27fc48a3db18af2f10
9,175
ex
Elixir
lib/sippet/router.ex
BrendanBall/elixir-sippet
877edcbbc8d8ba5b6b41684c20041510c410aad3
[ "BSD-3-Clause" ]
54
2017-04-26T03:15:56.000Z
2022-02-08T00:22:11.000Z
lib/sippet/router.ex
BrendanBall/elixir-sippet
877edcbbc8d8ba5b6b41684c20041510c410aad3
[ "BSD-3-Clause" ]
21
2017-06-19T08:00:33.000Z
2022-01-19T10:38:11.000Z
lib/sippet/router.ex
BrendanBall/elixir-sippet
877edcbbc8d8ba5b6b41684c20041510c410aad3
[ "BSD-3-Clause" ]
22
2017-06-19T08:15:34.000Z
2022-03-22T13:56:20.000Z
defmodule Sippet.Router do @moduledoc false alias Sippet.{Message, Transactions, URI} alias Sippet.Message.{RequestLine, StatusLine} require Logger @doc false def handle_transport_message(sippet, iodata, from) when is_list(iodata) do binary = iodata |> IO.iodata_to_binary() handle_tr...
29.596774
103
0.625613
337fae86790579d16df5e0a52a50ea49ef3fef74
1,530
ex
Elixir
lib/plate_slate/application.ex
conradwt/crafting-graphql-apis-in-elixir-with-absinthe
b26d050a350425ac189ea6d205834da1e47d4f90
[ "MIT" ]
1
2019-05-11T21:50:09.000Z
2019-05-11T21:50:09.000Z
lib/plate_slate/application.ex
conradwt/crafting-graphql-apis-in-elixir-with-absinthe
b26d050a350425ac189ea6d205834da1e47d4f90
[ "MIT" ]
null
null
null
lib/plate_slate/application.ex
conradwt/crafting-graphql-apis-in-elixir-with-absinthe
b26d050a350425ac189ea6d205834da1e47d4f90
[ "MIT" ]
null
null
null
# --- # Excerpted from "Craft GraphQL APIs in Elixir with Absinthe", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any pu...
37.317073
88
0.731373
337fd695a1b4d134182c146bfa2868b289f4dda9
1,174
ex
Elixir
priv/catalogue/comment/example01.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
3
2021-09-20T10:34:15.000Z
2021-09-20T16:23:07.000Z
priv/catalogue/comment/example01.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
null
null
null
priv/catalogue/comment/example01.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
1
2021-11-23T13:10:27.000Z
2021-11-23T13:10:27.000Z
defmodule Lotus.Catalogue.Comment.Example01 do use Surface.Catalogue.Example, subject: Lotus.Comment, catalogue: Lotus.Catalogue, title: "Comment", height: "500px", direction: "horizontal", container: {:div, class: "uk-container"} alias Lotus.{Block, CommentHeader, CommentAvatar, CommentBod...
29.35
97
0.55707
337ff034ca8577d65a25f0bc78d67a62e7d34b5c
16,950
ex
Elixir
lib/sobelow.ex
mrsmkl/sobelow
b17b99617b91369acbd8db56b1341876fe3c8224
[ "Apache-2.0" ]
null
null
null
lib/sobelow.ex
mrsmkl/sobelow
b17b99617b91369acbd8db56b1341876fe3c8224
[ "Apache-2.0" ]
null
null
null
lib/sobelow.ex
mrsmkl/sobelow
b17b99617b91369acbd8db56b1341876fe3c8224
[ "Apache-2.0" ]
null
null
null
defmodule Sobelow do @moduledoc """ Sobelow is a static analysis tool for discovering vulnerabilities in Phoenix applications. """ @v Mix.Project.config()[:version] @home "~/.sobelow" @vsncheck "sobelow-vsn-check" @skips ".sobelow-skips" @submodules [ Sobelow.XSS, Sobelow.SQL, Sobelow.Trav...
25.374251
96
0.607729