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
65804d27a950d09180820149247c74220e0ef300
639
ex
Elixir
lib/dolla.ex
maartenvanvliet/dolla
3620cb4613fa63363014cd78207ddbb055e0818d
[ "BSD-3-Clause" ]
null
null
null
lib/dolla.ex
maartenvanvliet/dolla
3620cb4613fa63363014cd78207ddbb055e0818d
[ "BSD-3-Clause" ]
null
null
null
lib/dolla.ex
maartenvanvliet/dolla
3620cb4613fa63363014cd78207ddbb055e0818d
[ "BSD-3-Clause" ]
null
null
null
defmodule Dolla do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Define workers and child supervisors to be supervised # worker(Dolla....
29.045455
67
0.71518
658059a57938d0197bbcab53b3cc6d04dfcc0959
1,790
ex
Elixir
chatter/test/support/model_case.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
chatter/test/support/model_case.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
chatter/test/support/model_case.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
defmodule Chatter.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. For ...
27.121212
84
0.684916
6580811b6654f83e3ff73d9734b3ccb28f103cfe
25,176
ex
Elixir
lib/elixir/lib/task.ex
ellbee/elixir
c1acfe9827f12ef58f7f301baad7497472cb4bc9
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task.ex
ellbee/elixir
c1acfe9827f12ef58f7f301baad7497472cb4bc9
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task.ex
ellbee/elixir
c1acfe9827f12ef58f7f301baad7497472cb4bc9
[ "Apache-2.0" ]
null
null
null
defmodule Task do @moduledoc """ Conveniences for spawning and awaiting tasks. Tasks are processes meant to execute one particular action throughout their lifetime, often with little or no communication with other processes. The most common use case for tasks is to convert sequential code into concurrent c...
33.83871
103
0.673062
658090b93833e4284e8baf9c6e53f20fb09caa5d
1,226
ex
Elixir
lib/organizations.ex
BoringButGreat/grafana
1d2381268e8b3abc54fd7ec046ac95d9f2b7e362
[ "BSD-3-Clause" ]
15
2016-05-05T01:30:27.000Z
2021-02-19T12:50:00.000Z
lib/organizations.ex
BoringButGreat/grafana
1d2381268e8b3abc54fd7ec046ac95d9f2b7e362
[ "BSD-3-Clause" ]
3
2017-05-10T11:22:11.000Z
2017-05-10T13:52:07.000Z
lib/organizations.ex
BoringButGreat/grafana
1d2381268e8b3abc54fd7ec046ac95d9f2b7e362
[ "BSD-3-Clause" ]
2
2016-10-25T13:18:38.000Z
2017-05-10T11:23:43.000Z
defmodule Grafana.Organizations do use Grafana.API import Grafana @path "/api/orgs" @doc """ Get all organizations. """ def get, do: api_get @path @doc """ Get a specific organization with given id. """ def get(id), do: api_get "#{@path}/#{id}" @doc """ Create an organization """ def c...
22.290909
99
0.628059
6580949868560c79d800af81455da78c3254bc4b
15,270
exs
Elixir
lib/iex/test/iex/helpers_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule IEx.HelpersTest do use IEx.Case import IEx.Helpers test "clear helper" do Application.put_env(:elixir, :ansi_enabled, true) assert capture_iex("clear") == "\e[H\e[2J" Application.put_env(:elixir, :ansi_enabled, false) assert capture_iex...
29.708171
127
0.620891
6580a8c3a91a8b803f8cd8a45618ec94d4a8576e
1,908
ex
Elixir
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_phrase_match_data.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_phrase_match_data.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_phrase_match_data.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.690909
127
0.747904
6580c6726acfcda5d3187f5b0f6670331dcd026e
668
ex
Elixir
lib/event_bus_handler/event_supervisor.ex
Elonsoft/event_bus_handler
e78dd876ed899c3c4ea0d8ef414f2b4c78dfb27e
[ "MIT" ]
1
2020-07-27T15:50:52.000Z
2020-07-27T15:50:52.000Z
lib/event_bus_handler/event_supervisor.ex
Elonsoft/event_bus_handler
e78dd876ed899c3c4ea0d8ef414f2b4c78dfb27e
[ "MIT" ]
null
null
null
lib/event_bus_handler/event_supervisor.ex
Elonsoft/event_bus_handler
e78dd876ed899c3c4ea0d8ef414f2b4c78dfb27e
[ "MIT" ]
null
null
null
defmodule EventBusHandler.EventSupervisor do # Manages supervision of user callbacks. # Incapsulates logic of registering a dynamic supervisor for a handler # and starting a task under the supervisor. @moduledoc false use DynamicSupervisor def start_link(module) when is_atom(module) do name = Module....
27.833333
72
0.766467
65810eec11d2ea7c62c239d668713696c69aa3a6
1,620
ex
Elixir
lib/exvcr/config_loader.ex
zacksiri/exvcr
d31a9641c42d1efd79b3b798b9cdf25316f6bc64
[ "MIT" ]
null
null
null
lib/exvcr/config_loader.ex
zacksiri/exvcr
d31a9641c42d1efd79b3b798b9cdf25316f6bc64
[ "MIT" ]
null
null
null
lib/exvcr/config_loader.ex
zacksiri/exvcr
d31a9641c42d1efd79b3b798b9cdf25316f6bc64
[ "MIT" ]
1
2018-10-10T05:57:37.000Z
2018-10-10T05:57:37.000Z
defmodule ExVCR.ConfigLoader do @moduledoc """ Load configuration parameters from config.exs. """ @default_vcr_path "fixture/vcr_cassettes" @default_custom_path "fixture/custom_cassettes" alias ExVCR.Config @doc """ Load default config values. """ def load_defaults do env = Application.get...
28.421053
74
0.703086
6581304d9f7d6d42705d002a6978802513ac93a8
62,230
ex
Elixir
lib/ex_aws_cloudwatchlogs.ex
JustinTangg/ex_aws_cloudwatchlogs
648b866bab2acea942d69f20a2c247a342fffe34
[ "Unlicense", "MIT" ]
null
null
null
lib/ex_aws_cloudwatchlogs.ex
JustinTangg/ex_aws_cloudwatchlogs
648b866bab2acea942d69f20a2c247a342fffe34
[ "Unlicense", "MIT" ]
1
2022-03-27T18:53:10.000Z
2022-03-27T18:53:10.000Z
lib/ex_aws_cloudwatchlogs.ex
JustinTangg/ex_aws_cloudwatchlogs
648b866bab2acea942d69f20a2c247a342fffe34
[ "Unlicense", "MIT" ]
null
null
null
defmodule ExAws.CloudWatchLogs do @moduledoc """ Documentation for ExAws.CloudWatchLogs. """ # version of the AWS API @version "20140328" @namespace "Logs" @type tag :: %{key: binary, value: binary} @type log_event :: %{timestamp: integer, message: binary} @type metric_transformation :: %{ ...
37.760922
423
0.635433
658134fa9af7673896a10c8b1df7c614abab9b44
3,436
ex
Elixir
lib/conduit_mqtt/meta.ex
conduitframework/conduit_mq
ec16345433f45b79ad61447a19d66cc20ce8afd1
[ "MIT" ]
null
null
null
lib/conduit_mqtt/meta.ex
conduitframework/conduit_mq
ec16345433f45b79ad61447a19d66cc20ce8afd1
[ "MIT" ]
68
2018-10-06T02:44:32.000Z
2021-08-03T05:20:23.000Z
lib/conduit_mqtt/meta.ex
conduitframework/conduit_mq
ec16345433f45b79ad61447a19d66cc20ce8afd1
[ "MIT" ]
1
2019-07-19T06:40:56.000Z
2019-07-19T06:40:56.000Z
defmodule ConduitMQTT.Meta do @moduledoc false require Logger @type broker :: atom @type status :: :up | :down @type client_id :: String.t() @type pool_size :: integer() @type sub_count :: integer() @type subscription :: String.t() @spec create(broker, pool_size, sub_count) :: atom def create(brok...
26.229008
118
0.652794
65814d8ef6bdf8e8d5a835754129afb9e9083feb
2,309
ex
Elixir
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/location.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...
39.135593
186
0.699437
6581869521fafd39b1595e3e2edc97892c7177ba
439
ex
Elixir
aoc21/lib/newt.ex
sastels/advent-of-code-2021
7cefbb8bf08cce2c4a4e9517ecbaf49459a8671a
[ "MIT" ]
null
null
null
aoc21/lib/newt.ex
sastels/advent-of-code-2021
7cefbb8bf08cce2c4a4e9517ecbaf49459a8671a
[ "MIT" ]
null
null
null
aoc21/lib/newt.ex
sastels/advent-of-code-2021
7cefbb8bf08cce2c4a4e9517ecbaf49459a8671a
[ "MIT" ]
null
null
null
defmodule Newt do @type point_t :: %{x: integer, y: integer} @type velocity_t :: %{vx: integer, vy: integer} @spec slow_velocity(velocity_t()) :: velocity_t() def slow_velocity(v) do vx = if v.vx < 0, do: v.vx + 1, else: max(0, v.vx - 1) %{vx: vx, vy: v.vy - 1} end @spec ap...
23.105263
63
0.562642
6581b8584f585301f7493b91b251b3a77a621210
1,138
exs
Elixir
config/dev.exs
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
null
null
null
config/dev.exs
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
1
2017-08-14T09:00:30.000Z
2017-08-14T16:18:44.000Z
config/dev.exs
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :blog, BlogWeb.Endpoint, http: [port: 4000], ...
31.611111
73
0.691564
6581bb00730fbead7d04ae4bed7a15e15038c8a8
547
exs
Elixir
priv/repo/migrations/20180726215104_create_redeems.exs
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
40
2018-07-04T19:13:45.000Z
2021-12-16T23:53:43.000Z
priv/repo/migrations/20180726215104_create_redeems.exs
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
94
2018-07-25T13:13:39.000Z
2022-02-15T04:09:42.000Z
priv/repo/migrations/20180726215104_create_redeems.exs
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
5
2018-11-26T17:19:03.000Z
2021-02-23T08:09:37.000Z
defmodule Safira.Repo.Migrations.CreateRedeems do use Ecto.Migration def change do create table(:redeems) do add :badge_id, references(:badges, on_delete: :delete_all) add :attendee_id, references(:attendees, on_delete: :delete_all, type: :uuid) add :manager_id, references(:managers, on_dele...
28.789474
90
0.707495
6581bd9f327f58e8e3e2bfde8df34b38e8519f18
1,980
exs
Elixir
config/prod.exs
nemanja-m/matrix
92298697827f30a2d6ba144004c1668fe70b760e
[ "MIT" ]
null
null
null
config/prod.exs
nemanja-m/matrix
92298697827f30a2d6ba144004c1668fe70b760e
[ "MIT" ]
null
null
null
config/prod.exs
nemanja-m/matrix
92298697827f30a2d6ba144004c1668fe70b760e
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
31.935484
67
0.712121
6581c1f1c003b9d03319dc20672df5259505bf6f
3,177
ex
Elixir
lib/extorch/utils/module_mixin.ex
andfoy/extorch
c23469a61cea5da701e30a878c93bcb2bc2ce934
[ "MIT" ]
5
2020-12-11T01:55:05.000Z
2021-07-14T03:24:03.000Z
lib/extorch/utils/module_mixin.ex
andfoy/extorch
c23469a61cea5da701e30a878c93bcb2bc2ce934
[ "MIT" ]
1
2021-04-07T00:42:50.000Z
2021-04-08T22:01:48.000Z
lib/extorch/utils/module_mixin.ex
andfoy/extorch
c23469a61cea5da701e30a878c93bcb2bc2ce934
[ "MIT" ]
null
null
null
defmodule ExTorch.ModuleMixin do @moduledoc """ Utilities used to define a module mixin that inherits documentation and specs. """ @signature_regex ~r/[a-zA-Z_]\w*[(]((\w,? ?)*)[)]/ @doc """ This macro enables a module to import the functions from another module and expose them as they were defined on i...
26.697479
83
0.588606
6581cb7ed9d16cf795c29961eee7a6c703a26b69
137
ex
Elixir
web/services/base_service.ex
aramisf/caravan
add305c70ee1ceb4a3dff9a7ed606a182e6f12d7
[ "MIT" ]
null
null
null
web/services/base_service.ex
aramisf/caravan
add305c70ee1ceb4a3dff9a7ed606a182e6f12d7
[ "MIT" ]
null
null
null
web/services/base_service.ex
aramisf/caravan
add305c70ee1ceb4a3dff9a7ed606a182e6f12d7
[ "MIT" ]
null
null
null
defmodule Caravan.BaseService do defmacro __using__(_opts) do quote do import Ecto import Ecto.Query end end end
15.222222
32
0.686131
6582027d79cadf2d206e3ca8fc54930a4eb5b9ec
4,627
exs
Elixir
test/plausible_web/controllers/api/stats_controller/screen_sizes_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
test/plausible_web/controllers/api/stats_controller/screen_sizes_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
test/plausible_web/controllers/api/stats_controller/screen_sizes_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule PlausibleWeb.Api.StatsController.ScreenSizesTest do use PlausibleWeb.ConnCase import Plausible.TestUtils describe "GET /api/stats/:domain/browsers" do setup [:create_user, :log_in, :create_new_site, :add_imported_data] test "returns screen sizes by new visitors", %{conn: conn, site: site} do ...
32.584507
96
0.522585
65824561b4a43d44b4a280281198aebb8314c792
1,886
exs
Elixir
config/dev.exs
thewazir/ez
97ecadae39bfa6f80ba151270578536647bca0a8
[ "MIT" ]
null
null
null
config/dev.exs
thewazir/ez
97ecadae39bfa6f80ba151270578536647bca0a8
[ "MIT" ]
null
null
null
config/dev.exs
thewazir/ez
97ecadae39bfa6f80ba151270578536647bca0a8
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :ez, Ez.Web.Endpoint, http: [port: 4000], de...
31.966102
170
0.694062
658268cbc2db70b6c984aeea81cd4d45bee2c3bd
925
ex
Elixir
lib/oauth2/response.ex
mgamini/oauth2
2c87824f57ede0a544d6d938064745184cd76d46
[ "MIT" ]
null
null
null
lib/oauth2/response.ex
mgamini/oauth2
2c87824f57ede0a544d6d938064745184cd76d46
[ "MIT" ]
null
null
null
lib/oauth2/response.ex
mgamini/oauth2
2c87824f57ede0a544d6d938064745184cd76d46
[ "MIT" ]
null
null
null
defmodule OAuth2.Response do alias OAuth2.Error alias OAuth2.Util @code_no_content [204, 304] @code_valid [200, 201, 202, 203, 205, 206] defstruct status_code: nil, body: nil, headers: %{} @type t :: %__MODULE__{status_code: integer, body: binary, headers: map} def new({:ok, body}, status_code, header...
27.205882
75
0.677838
65826d6cd34de46a61058c6c136c24e7fefcb977
408
ex
Elixir
lib/ex338_web/controllers/fantasy_player_controller.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
lib/ex338_web/controllers/fantasy_player_controller.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
lib/ex338_web/controllers/fantasy_player_controller.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338Web.FantasyPlayerController do use Ex338Web, :controller alias Ex338.{FantasyLeagues, FantasyPlayers} def index(conn, %{"fantasy_league_id" => league_id}) do fantasy_league = FantasyLeagues.get(league_id) render( conn, "index.html", fantasy_league: fantasy_league, ...
24
76
0.732843
658283d8b9b5a5d1be23d1992a19677c1be437c2
1,898
ex
Elixir
builder/lib/deck/manager.ex
miata-bot/trading-card-builder
6f518f8c883b5a95d80eaec7d99d1c10b2db1009
[ "Apache-2.0" ]
null
null
null
builder/lib/deck/manager.ex
miata-bot/trading-card-builder
6f518f8c883b5a95d80eaec7d99d1c10b2db1009
[ "Apache-2.0" ]
null
null
null
builder/lib/deck/manager.ex
miata-bot/trading-card-builder
6f518f8c883b5a95d80eaec7d99d1c10b2db1009
[ "Apache-2.0" ]
null
null
null
defmodule Deck.Manager do alias Deck.{ Repo, Owner, Card, CardBlock } alias Ecto.Multi @doc """ """ def create_card(database, assets) do Repo.with_repo([database: database], fn _ -> Multi.new() |> Multi.run(:owner, &get_owner/2) |> Multi.run(:uninitialized_card, &new...
25.648649
91
0.576396
6582a1210a576bbb0f5372c84e134f2deb205d95
2,502
ex
Elixir
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/asymmetric_decrypt_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/asymmetric_decrypt_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/asymmetric_decrypt_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...
50.04
903
0.770983
6582f4b313129fdb109a2f100dabed8d4f10c895
14,344
ex
Elixir
server/lib/mempool.ex
turbo-cunnos/bitfeed
d7216e31e33316cf08efbb47695ca212bbb505f1
[ "MIT" ]
null
null
null
server/lib/mempool.ex
turbo-cunnos/bitfeed
d7216e31e33316cf08efbb47695ca212bbb505f1
[ "MIT" ]
null
null
null
server/lib/mempool.ex
turbo-cunnos/bitfeed
d7216e31e33316cf08efbb47695ca212bbb505f1
[ "MIT" ]
null
null
null
require Logger defmodule BitcoinStream.Mempool do @moduledoc """ GenServer for retrieving and maintaining mempool info Used for tracking mempool count, and maintaining an :ets cache of transaction prevouts Transaction lifecycle: Register -> a ZMQ sequence 'A' message received with this txid Insert -> ...
28.861167
143
0.609453
6583110b7d8dc99a456117f0cbf548fa9fe4d996
806
ex
Elixir
lib/ex_twilio/resources/participant.ex
techgaun/ex_twilio
b22f5421c4c709232b5ef53191cc19d5ffb5c99c
[ "MIT" ]
null
null
null
lib/ex_twilio/resources/participant.ex
techgaun/ex_twilio
b22f5421c4c709232b5ef53191cc19d5ffb5c99c
[ "MIT" ]
null
null
null
lib/ex_twilio/resources/participant.ex
techgaun/ex_twilio
b22f5421c4c709232b5ef53191cc19d5ffb5c99c
[ "MIT" ]
null
null
null
defmodule ExTwilio.Participant do @moduledoc """ Represents an Participant resource in the Twilio API. - [Twilio docs](https://www.twilio.com/docs/api/rest/participants) ## Examples Since Participants belong to Conferences in the Twilio API, you must pass a conference to each function in this module. For...
27.793103
77
0.655087
658320c89d84b0cee81a9924c9c062a7f89205f8
1,698
ex
Elixir
lib/layers/queries/helper/update.ex
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
1
2020-12-30T18:30:32.000Z
2020-12-30T18:30:32.000Z
lib/layers/queries/helper/update.ex
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
null
null
null
lib/layers/queries/helper/update.ex
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
null
null
null
defmodule MongoAgile.Queries.Helper.Update do @moduledoc """ Info origin: https://docs.mongodb.com/manual/reference/operator/update/ Name Description $currentDate Sets the value of a field to current date, either as a Date or a Timestamp. $inc Increments the value of the field by the specified amount. $m...
27.836066
156
0.616019
65832b55d80bb36293972ced72643d70e6496dd9
979
ex
Elixir
lib/dynamodb/create_table.ex
hirokazumiyaji/dynamodb
f8a3fdc64b954aae99e4281fc28c8ca6886e5876
[ "MIT" ]
1
2017-02-01T12:42:45.000Z
2017-02-01T12:42:45.000Z
lib/dynamodb/create_table.ex
hirokazumiyaji/dynamodb-elixir
f8a3fdc64b954aae99e4281fc28c8ca6886e5876
[ "MIT" ]
null
null
null
lib/dynamodb/create_table.ex
hirokazumiyaji/dynamodb-elixir
f8a3fdc64b954aae99e4281fc28c8ca6886e5876
[ "MIT" ]
null
null
null
defmodule DynamoDB.CreateTable do import DynamoDB.Utils defmacro __using__(_) do quote do @spec create_table([{binary, binary}], [{binary, binary}], binary, [{binary, binary}], [{binary, integer}], [{binary, binary}]) :: :ok | {:error, {binary, binary}} | {:error, binary} def create_table(config, a...
32.633333
188
0.597549
658332c9fb98803e03b0a6584b708873e7036281
1,726
ex
Elixir
lib/new_relic/job_instrumenter.ex
yashin5/ecto-job-scheduler
2f21e7272411dc4d4103f3be41d418fc4cc40368
[ "MIT" ]
4
2019-12-07T12:52:52.000Z
2021-03-11T18:31:25.000Z
lib/new_relic/job_instrumenter.ex
yashin5/ecto-job-scheduler
2f21e7272411dc4d4103f3be41d418fc4cc40368
[ "MIT" ]
1
2020-12-17T15:47:30.000Z
2020-12-17T15:47:30.000Z
lib/new_relic/job_instrumenter.ex
yashin5/ecto-job-scheduler
2f21e7272411dc4d4103f3be41d418fc4cc40368
[ "MIT" ]
5
2019-09-10T19:03:52.000Z
2021-08-16T03:18:00.000Z
defmodule EctoJobScheduler.NewRelic.JobInstrumenter do @moduledoc """ Tool for capture metrics to NewRelic. """ @doc """ Execute a function and capture metrics to NewRelic from it. The metrics is grouped with name parameter. Example of use: NewRelic.JobInstrumenter.transaction("job/1", fn -> ... ...
22.710526
80
0.637891
658335ab6a0292debd8b8e3fa5b3a6137e98bc7f
699
ex
Elixir
lib/uro_web/gettext.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
lib/uro_web/gettext.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
lib/uro_web/gettext.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule UroWeb.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 UroWeb.Gettext # Simple translation gettext("Here is the strin...
27.96
72
0.672389
6583450ab4bb1fbdd77e4691924eb98106dfed1f
2,539
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/basic_chart_series.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/basic_chart_series.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/basic_chart_series.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...
47.018519
430
0.747538
65834b7836e52735b70bb3fe256b1d43d2005808
1,470
exs
Elixir
test/core_test.exs
slaily/exhttptest
c90d9277383cc93509c6c9806b79a677625d33f4
[ "BSD-3-Clause" ]
null
null
null
test/core_test.exs
slaily/exhttptest
c90d9277383cc93509c6c9806b79a677625d33f4
[ "BSD-3-Clause" ]
null
null
null
test/core_test.exs
slaily/exhttptest
c90d9277383cc93509c6c9806b79a677625d33f4
[ "BSD-3-Clause" ]
null
null
null
defmodule CoreTest do use ExUnit.Case alias ExHTTPTest.Core test "Load content from .json file" do {response, content} = Core.load_content_from_json_file("assets/HTTP_GET.json") assert {:ok, true} == {response, is_map(content)} end test "Does the content is valid under specific conditions?" do ...
28.269231
117
0.614286
65837d96f32e2299504f9db2f89044d3ce72cf48
11,105
ex
Elixir
elixirtutmainfull.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
elixirtutmainfull.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
elixirtutmainfull.ex
kamranhossain/elixir-by-derek-banas
44c08cb73d6e528cd5ff3df5f8b1ce79fb155926
[ "MIT" ]
null
null
null
# This creates your module which holds all your # functions defmodule M do # Functions start with def, the functions name # and then end def main do # gets retrieves user input # trim removes the newline name = IO.gets("What is your name? ") |> String.trim # You can combine string and va...
24.460352
74
0.571544
6583a12f1b77f73415430825c215ba6be481beb6
46,871
ex
Elixir
lib/ash/query/query.ex
dkuku/ash
0722cc51cb5018c7f5d67a0308bddbc6ad902bf5
[ "MIT" ]
null
null
null
lib/ash/query/query.ex
dkuku/ash
0722cc51cb5018c7f5d67a0308bddbc6ad902bf5
[ "MIT" ]
null
null
null
lib/ash/query/query.ex
dkuku/ash
0722cc51cb5018c7f5d67a0308bddbc6ad902bf5
[ "MIT" ]
null
null
null
defmodule Ash.Query do @moduledoc """ Utilties around constructing/manipulating ash queries. Ash queries are used for read actions and side loads, and ultimately map to queries to a resource's data layer. Queries are run by calling `read` on an API that contains the resource in question Examples: ```e...
29.221322
131
0.601715
6583afe60f505eb93e7e7ce83e07ea3996294c00
365
ex
Elixir
lib/codes/codes_c23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_C23 do alias IcdCode.ICDCode def _C23 do %ICDCode{full_code: "C23", category_code: "C23", short_code: "", full_name: "Malignant neoplasm of gallbladder", short_name: "Malignant neoplasm of gallbladder", category_name: "Malignant ne...
22.8125
60
0.643836
6583fcfa43a3a5d3c1a6a46e9491e898a640036b
1,248
ex
Elixir
lib/ex_machina/sequence.ex
ByteDecoder/ex_machina
012e957e7ab1e22eca18b62e8f3fcc2a98a7f286
[ "MIT" ]
1
2019-05-20T04:59:57.000Z
2019-05-20T04:59:57.000Z
lib/ex_machina/sequence.ex
ByteDecoder/ex_machina
012e957e7ab1e22eca18b62e8f3fcc2a98a7f286
[ "MIT" ]
null
null
null
lib/ex_machina/sequence.ex
ByteDecoder/ex_machina
012e957e7ab1e22eca18b62e8f3fcc2a98a7f286
[ "MIT" ]
null
null
null
defmodule ExMachina.Sequence do def start_link do Agent.start_link(fn -> Map.new end, name: __MODULE__) end @doc """ Reset all sequences so that the next sequence starts from 0 ## Example ExMachina.Sequence.next("joe") # "joe0" ExMachina.Sequence.next("joe") # "joe1" Sequence.reset ...
24.470588
76
0.678686
65843e59e9b7024ec57a34c41e7dee8fa947663a
2,527
ex
Elixir
lib/kafka_ex/legacy_partitioner.ex
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
536
2015-08-10T03:14:39.000Z
2022-03-24T15:07:33.000Z
lib/kafka_ex/legacy_partitioner.ex
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
349
2015-09-16T21:27:42.000Z
2022-03-28T08:51:56.000Z
lib/kafka_ex/legacy_partitioner.ex
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
180
2015-09-01T22:58:26.000Z
2022-03-25T16:47:49.000Z
defmodule KafkaEx.LegacyPartitioner do @moduledoc """ Legacy default partitioner implementation. This "legacy partitioner" used to be the default partitioner for KafkaEx when a message key is set and a partition isn't. This was intended to match the behaviour of the default Java client, however there was som...
31.197531
78
0.678275
658448da13a795bea4cfdf923a23ab609672e4c5
581
ex
Elixir
lib/easypost/helpers/url.ex
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
null
null
null
lib/easypost/helpers/url.ex
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
null
null
null
lib/easypost/helpers/url.ex
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
null
null
null
defmodule EasyPost.Helpers.URL do @spec to_string(EasyPost.Operation.t(), EasyPost.Config.t()) :: String.t() def to_string(operation, config) do %URI{} |> Map.put(:host, config.host) |> Map.put(:path, "#{config.path}#{operation.path}") |> Map.put(:port, config.port) |> Map.put(:scheme, config.pr...
27.666667
81
0.652324
658449bf16448c13a5582f6f563e41f32c2f2411
1,159
exs
Elixir
test/norm/union_test.exs
blackbox-solutions/norm
12ea8e191b48b58a5a92f7e4ae92084a4ccd8669
[ "MIT" ]
null
null
null
test/norm/union_test.exs
blackbox-solutions/norm
12ea8e191b48b58a5a92f7e4ae92084a4ccd8669
[ "MIT" ]
null
null
null
test/norm/union_test.exs
blackbox-solutions/norm
12ea8e191b48b58a5a92f7e4ae92084a4ccd8669
[ "MIT" ]
null
null
null
defmodule Norm.UnionTest do use ExUnit.Case, async: true import ExUnitProperties, except: [gen: 1] import Norm describe "conforming" do test "returns the first match" do union = one_of([:foo, spec(is_binary())]) assert :foo == conform!(:foo, union) assert "chris" == conform!("chris", uni...
26.340909
57
0.567731
65847af8e363f2cca7952478386f0e3c4f9a05b0
465
exs
Elixir
test/exi18n/compiler_test.exs
werkzeugh/exi18n
c29780ba56f516dca471e1cc2379c37ea85cb04b
[ "MIT" ]
7
2017-02-27T17:53:35.000Z
2022-01-21T16:54:38.000Z
test/exi18n/compiler_test.exs
werkzeugh/exi18n
c29780ba56f516dca471e1cc2379c37ea85cb04b
[ "MIT" ]
1
2020-03-18T18:53:55.000Z
2020-03-20T09:22:49.000Z
test/exi18n/compiler_test.exs
werkzeugh/exi18n
c29780ba56f516dca471e1cc2379c37ea85cb04b
[ "MIT" ]
2
2020-03-18T09:51:53.000Z
2020-06-18T01:03:14.000Z
defmodule ExI18n.CompilerTest do use ExUnit.Case doctest ExI18n.Compiler test "compile/2 returns compiled text" do text = "hello %{test}" values = %{"test" => "world"} assert ExI18n.Compiler.compile("", %{}) == "" assert ExI18n.Compiler.compile(text, values) == "hello world" assert ExI18n.Co...
31
89
0.645161
65848188aeae08b86f383f57ef0803adcd45b403
5,489
ex
Elixir
lib/blue_jet/app/identity/policy.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
lib/blue_jet/app/identity/policy.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
lib/blue_jet/app/identity/policy.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJet.Identity.Policy do alias BlueJet.ContextRequest alias BlueJet.Identity.Service # TODO: Fix this def authorize(%{vas: vas, _role_: nil} = req, endpoint) do vad = Service.get_vad(vas) role = Service.get_role(vad) default_locale = if vad[:account], do: vad[:account].default_locale, e...
27.039409
126
0.628165
6584a41f87e2bcf40dab757f1aa028900135a849
5,667
ex
Elixir
lib/api.ex
DiscoveryMap/PayPal
2884bc0dde07a007d85467e4c7766f2ab4f79360
[ "MIT" ]
null
null
null
lib/api.ex
DiscoveryMap/PayPal
2884bc0dde07a007d85467e4c7766f2ab4f79360
[ "MIT" ]
null
null
null
lib/api.ex
DiscoveryMap/PayPal
2884bc0dde07a007d85467e4c7766f2ab4f79360
[ "MIT" ]
2
2020-11-03T07:06:19.000Z
2021-04-01T07:16:57.000Z
defmodule PayPal.API do @moduledoc """ Documentation for PayPal.API. This module is about the base HTTP functionality """ @base_url_sandbox "https://api.sandbox.paypal.com/v1/" @base_url_live "https://api.paypal.com/v1/" @doc """ Requests an OAuth token from PayPal, returns a tuple containing the token a...
30.632432
134
0.591495
6584a80cc4e13f8a3c90afd753bd1a1fa30f6381
1,181
exs
Elixir
clients/dlp/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dlp/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dlp/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.DLP.V2beta1.Mixfile do use Mix.Project @version "0.9.0" def project do [app: :google_api_dlp, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps:...
24.604167
166
0.611346
6584de512a9f030deae24611f460e0557582e83b
7,495
exs
Elixir
apps/ewallet/test/ewallet/web/v1/serializers/exchange_pair_serializer_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/web/v1/serializers/exchange_pair_serializer_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/web/v1/serializers/exchange_pair_serializer_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 ...
39.240838
92
0.682722
6584edc60f61638b236ff18af4e3a02efe49b5e7
1,323
ex
Elixir
lib/photog_web/views/person_view.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
null
null
null
lib/photog_web/views/person_view.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
1
2020-09-05T17:07:35.000Z
2020-09-05T17:07:35.000Z
lib/photog_web/views/person_view.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
null
null
null
defmodule PhotogWeb.PersonView do use PhotogWeb, :view alias PhotogWeb.PersonView def render("index.json", %{persons: persons}) do %{data: render_many(persons, PersonView, "person_excerpt.json")} end def render("index_excerpt.json", %{persons: persons}) do %{data: render_many(persons, PersonView, "p...
25.941176
80
0.674225
65851840b81c2003fa4041570b2bb58f2a2107c6
331
exs
Elixir
5_functions/2_3.exs
simaofreitas/elixir_exercises
e1965295941fb8fcf1eba2d73e5a9bd22a1f8619
[ "MIT" ]
null
null
null
5_functions/2_3.exs
simaofreitas/elixir_exercises
e1965295941fb8fcf1eba2d73e5a9bd22a1f8619
[ "MIT" ]
null
null
null
5_functions/2_3.exs
simaofreitas/elixir_exercises
e1965295941fb8fcf1eba2d73e5a9bd22a1f8619
[ "MIT" ]
null
null
null
fizz_buzz = fn 0, 0, _ -> "FizzBuzz" 0, _, _ -> "Fizz" _, 0, _ -> "Buzz" _, _, a -> "#{a}" end call_fb = fn n -> fizz_buzz.(rem(n, 3), rem(n, 5), n) end IO.puts call_fb.(10) IO.puts call_fb.(11) IO.puts call_fb.(12) IO.puts call_fb.(13) IO.puts call_fb.(14) IO.puts call_fb.(15) IO.puts call_fb.(16) IO.puts ca...
18.388889
57
0.592145
65851849d42fc1661eb6c211841ca8e2984ee71b
1,393
exs
Elixir
test/redix/uri_test.exs
mitchellhenke/redix
af381c81e17bb13fce4e2a6b1539ffc63a35a89a
[ "MIT" ]
null
null
null
test/redix/uri_test.exs
mitchellhenke/redix
af381c81e17bb13fce4e2a6b1539ffc63a35a89a
[ "MIT" ]
null
null
null
test/redix/uri_test.exs
mitchellhenke/redix
af381c81e17bb13fce4e2a6b1539ffc63a35a89a
[ "MIT" ]
1
2020-11-23T17:32:40.000Z
2020-11-23T17:32:40.000Z
defmodule Redix.URITest do use ExUnit.Case, async: true import Redix.URI test "opts_from_uri/1: invalid scheme" do message = "expected scheme to be redis://, got: foo://" assert_raise ArgumentError, message, fn -> opts_from_uri("foo://example.com") end end test "opts_from_uri/1: just the...
27.313725
59
0.65542
658528e0522e1f22bcc2aa8343a8e2080ad07e59
2,119
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_list_test_cases_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_list_test_cases_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_list_test_cases_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.316667
239
0.744691
6585410f03b05611317c1b89353413bd233f6f8d
2,236
ex
Elixir
lib/strabo/uploader.ex
google/strabo
edfd59cd2a361df23ca78089255597ecdc62bb93
[ "Apache-2.0" ]
70
2015-12-01T11:29:54.000Z
2020-10-29T03:40:01.000Z
lib/strabo/uploader.ex
google/strabo
edfd59cd2a361df23ca78089255597ecdc62bb93
[ "Apache-2.0" ]
null
null
null
lib/strabo/uploader.ex
google/strabo
edfd59cd2a361df23ca78089255597ecdc62bb93
[ "Apache-2.0" ]
9
2017-07-23T10:45:49.000Z
2021-07-12T12:27:59.000Z
# Copyright 2015 Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
36.655738
89
0.633274
6585658a8f55f744df1f57d60c97a6b1fee0c168
884
ex
Elixir
debian/prerm.ex
mikeyk/couchdb-lounge
ef6e97547c1e64230d804439b6b2f99f83eef747
[ "Apache-2.0" ]
5
2015-12-11T14:10:55.000Z
2021-01-28T00:12:28.000Z
debian/prerm.ex
benoitc/couchdb-lounge
4a151ee0a6c7e86a3e98bca6282938b42e960d0f
[ "Apache-2.0" ]
null
null
null
debian/prerm.ex
benoitc/couchdb-lounge
4a151ee0a6c7e86a3e98bca6282938b42e960d0f
[ "Apache-2.0" ]
null
null
null
#!/bin/sh # prerm script for couchdb-lounge # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-...
22.666667
76
0.627828
658578e272cea490e943193b170d94b7faa2527e
2,533
ex
Elixir
lib/argument_names.ex
ankhers/argument_names
c9c980d178dbe42fc2c904e16e2a5261717ff708
[ "MIT" ]
1
2020-06-03T10:47:40.000Z
2020-06-03T10:47:40.000Z
lib/argument_names.ex
ankhers/argument_names
c9c980d178dbe42fc2c904e16e2a5261717ff708
[ "MIT" ]
null
null
null
lib/argument_names.ex
ankhers/argument_names
c9c980d178dbe42fc2c904e16e2a5261717ff708
[ "MIT" ]
null
null
null
defmodule ArgumentNames do @moduledoc """ Documentation for `ArgumentNames`. """ @doc """ Defines a public function with named arguments ## Examples defmodule Foo do require ArgumentNames import ArgumentNames defnamed div(first, second) do first / second end e...
21.108333
101
0.549151
6585811cdefef034d33e434a80501dafed2634d4
71
exs
Elixir
test/shellwords_test.exs
lee-dohm/shellwords
b0a0b42d4d00f04b6112d3128e2b1ae88df6a235
[ "MIT" ]
1
2020-01-26T17:54:24.000Z
2020-01-26T17:54:24.000Z
test/shellwords_test.exs
lee-dohm/shellwords
b0a0b42d4d00f04b6112d3128e2b1ae88df6a235
[ "MIT" ]
null
null
null
test/shellwords_test.exs
lee-dohm/shellwords
b0a0b42d4d00f04b6112d3128e2b1ae88df6a235
[ "MIT" ]
null
null
null
defmodule ShellwordsTest do use ExUnit.Case doctest Shellwords end
14.2
27
0.816901
658583f7f36f51a7593338e903d528ab4c2f4351
42,660
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/target_pools.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_pools.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_pools.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...
51.08982
511
0.64646
65858f5052ecd454b2d10320cff18091ee4d9ace
648
exs
Elixir
integration_test/code_generation/app_with_no_options_test.exs
AlexJuca/phoenix
c5fa163e90716c0ee3eeb67778873be67c6f4b8b
[ "MIT" ]
null
null
null
integration_test/code_generation/app_with_no_options_test.exs
AlexJuca/phoenix
c5fa163e90716c0ee3eeb67778873be67c6f4b8b
[ "MIT" ]
null
null
null
integration_test/code_generation/app_with_no_options_test.exs
AlexJuca/phoenix
c5fa163e90716c0ee3eeb67778873be67c6f4b8b
[ "MIT" ]
null
null
null
Code.require_file("../support/code_generator_case.exs", __DIR__) defmodule Phoenix.Integration.CodeGeneration.AppWithNoOptionsTest do use Phoenix.Integration.CodeGeneratorCase, async: true test "newly generated app has no warnings or errors" do with_installer_tmp("app_with_no_options", fn tmp_dir -> app...
30.857143
68
0.671296
658591a45483d6fbbc8fc202303f3c0b6358729e
2,113
exs
Elixir
mix.exs
madshargreave/pravda
d9dded005e588f4de8ba58d3ae5c7cd6d6009ebf
[ "MIT" ]
4
2019-12-15T13:29:37.000Z
2020-08-11T11:47:11.000Z
mix.exs
madshargreave/pravda
d9dded005e588f4de8ba58d3ae5c7cd6d6009ebf
[ "MIT" ]
14
2020-03-18T00:46:32.000Z
2021-03-21T22:49:02.000Z
mix.exs
madshargreave/pravda
d9dded005e588f4de8ba58d3ae5c7cd6d6009ebf
[ "MIT" ]
2
2020-08-12T12:09:26.000Z
2021-03-01T00:07:07.000Z
defmodule Pravda.MixProject do use Mix.Project def project do [ app: :pravda, version: "0.6.4", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), description: description(), package: package(), sou...
26.4125
67
0.541884
6585a06337e6f0e30bd7a08def07cdcc5a713393
2,047
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/list_database_operations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/list_database_operations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/list_database_operations_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.912281
138
0.737176
6585af1394a77220f512de6e46502debb623d52c
77,790
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/api/namespaces.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/api/namespaces.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/api/namespaces.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.900246
320
0.61963
6585d80502dbfb8362d92a8cdddc80d923f71957
6,583
ex
Elixir
lib/swoosh/adapters/mailjet.ex
joshnuss/swoosh
47e7b46fd7635de90618c1320f6ab90880ec5418
[ "MIT" ]
null
null
null
lib/swoosh/adapters/mailjet.ex
joshnuss/swoosh
47e7b46fd7635de90618c1320f6ab90880ec5418
[ "MIT" ]
21
2021-03-08T10:04:20.000Z
2022-03-23T10:20:17.000Z
lib/swoosh/adapters/mailjet.ex
joshnuss/swoosh
47e7b46fd7635de90618c1320f6ab90880ec5418
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.Mailjet do @moduledoc ~S""" An adapter that sends email using the Mailjet API. For reference: [Mailjet API docs](https://dev.mailjet.com/guides/#send-api-v3-1) ## Dependency Mailjet adapter requires `Plug` to work properly. ## Example # config/config.exs config :sa...
26.123016
82
0.634209
6585dbeef64bf8a62b2b465d633f27f25aae49ab
572
ex
Elixir
lib/mux/alarm/watcher.ex
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
2
2017-07-26T07:28:33.000Z
2017-08-08T16:26:05.000Z
lib/mux/alarm/watcher.ex
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
null
null
null
lib/mux/alarm/watcher.ex
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
1
2021-03-13T23:02:29.000Z
2021-03-13T23:02:29.000Z
defmodule Mux.Alarm.Watcher do @moduledoc false use GenServer @spec start_link(:ets.tab) :: GenServer.on_start def start_link(table), do: GenServer.start_link(__MODULE__, table, [name: table]) def init(table) do :ok = Mux.Alarm.swap_sup_handler(table) {:ok, table} end def handle_info({:gen...
24.869565
78
0.65035
6585f8a207c6f988a3dd8ac85d0d52fb74355998
413
ex
Elixir
lib/phoenix_and_elm_web/views/user_view.ex
The-Vikings/phoenix-and-elm
c6c6bcc2415a479b81cae09cd62872873c7b7e78
[ "MIT" ]
1
2018-10-27T13:52:51.000Z
2018-10-27T13:52:51.000Z
lib/phoenix_and_elm_web/views/user_view.ex
The-Vikings/phoenix-and-elm
c6c6bcc2415a479b81cae09cd62872873c7b7e78
[ "MIT" ]
1
2018-11-01T08:12:02.000Z
2018-11-01T09:37:56.000Z
lib/phoenix_and_elm_web/views/user_view.ex
The-Vikings/phoenix-and-elm
c6c6bcc2415a479b81cae09cd62872873c7b7e78
[ "MIT" ]
null
null
null
defmodule PhoenixAndElmWeb.UserView do use PhoenixAndElmWeb, :view alias PhoenixAndElmWeb.UserView def render("index.json", %{users: users}) do %{data: render_many(users, UserView, "user.json")} end def render("show.json", %{user: user}) do %{data: render_one(user, UserView, "user.json")} end d...
22.944444
54
0.661017
6586157a42179e423ecf8eaf745a5e8173647a4f
351
exs
Elixir
test/web/graphiql_test.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
test/web/graphiql_test.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
test/web/graphiql_test.exs
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule AccentTest.GraphiqlInterface do use Accent.ConnCase test "graphiql", %{conn: conn} do response = conn |> get("/graphiql", %{query: "query { __schema { queryType { name } } }"}) assert response.resp_body == ~S({"data":{"__schema":{"queryType":{"name":"RootQueryType"}}}}) assert re...
27
97
0.632479
65861e70981ffa6c912919cf1f8d96ead2185317
2,403
ex
Elixir
lib/blockchain_api/schema/poc_path_element.ex
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
lib/blockchain_api/schema/poc_path_element.ex
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
lib/blockchain_api/schema/poc_path_element.ex
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
defmodule BlockchainAPI.Schema.POCPathElement do use Ecto.Schema import Ecto.Changeset alias BlockchainAPI.{ Util, Schema.POCPathElement, Schema.POCReceiptsTransaction, Schema.POCReceipt, Schema.POCWitness } @fields [ :challengee, :challengee_loc, :poc_receipts_transactions_h...
27.62069
90
0.692052
658666ecb906a681db42ad0842f7612510cc99e6
616
ex
Elixir
lib/changelog/schema/podcast/podcast_host.ex
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
lib/changelog/schema/podcast/podcast_host.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
lib/changelog/schema/podcast/podcast_host.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule Changelog.PodcastHost do use Changelog.Schema alias Changelog.{Person, Podcast} schema "podcast_hosts" do field :position, :integer field :retired, :boolean, default: false field :delete, :boolean, virtual: true belongs_to :person, Person belongs_to :podcast, Podcast timestam...
23.692308
70
0.699675
6586cb43968ae956d00aa05bfeae137eec1080dc
2,097
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_security_safebrowsing_v4_threat_list_descriptor.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_security_safebrowsing_v4_threat_list_descriptor.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_security_safebrowsing_v4_threat_list_descriptor.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...
36.155172
185
0.731044
6586d6c3211f1ac85beb31bba1c628e051affd70
1,943
ex
Elixir
lib/crawly/pipelines/duplicates_filter.ex
harlantwood/crawly
d57a1b97e4a909d20f03f063a27157c8209367c4
[ "Apache-2.0" ]
null
null
null
lib/crawly/pipelines/duplicates_filter.ex
harlantwood/crawly
d57a1b97e4a909d20f03f063a27157c8209367c4
[ "Apache-2.0" ]
null
null
null
lib/crawly/pipelines/duplicates_filter.ex
harlantwood/crawly
d57a1b97e4a909d20f03f063a27157c8209367c4
[ "Apache-2.0" ]
null
null
null
defmodule Crawly.Pipelines.DuplicatesFilter do @moduledoc """ Filters out duplicated items based on the provided `item_id`. Stores identifier values in state under the `:duplicates_filter` key. ### Options If item unique identifier is not provided, this pipeline does nothing. - `:item_id`, required: Desig...
28.573529
120
0.629439
6586df81d3bbbcaf7376b667ad91e2ef8624554b
974
ex
Elixir
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_api/test/support/channel_case.ex
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_api/test/support/channel_case.ex
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_api/test/support/channel_case.ex
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
defmodule {{MODULE_NAME}}Api.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case inte...
25.631579
77
0.710472
658703c360e3caff3b07722856339167400dfebc
5,546
ex
Elixir
test/protobuf/protoc/proto_gen/test.pb.ex
matehat/protobuf-elixir
3f27218842979037c31f355488e5c3350f641b41
[ "MIT" ]
null
null
null
test/protobuf/protoc/proto_gen/test.pb.ex
matehat/protobuf-elixir
3f27218842979037c31f355488e5c3350f641b41
[ "MIT" ]
null
null
null
test/protobuf/protoc/proto_gen/test.pb.ex
matehat/protobuf-elixir
3f27218842979037c31f355488e5c3350f641b41
[ "MIT" ]
null
null
null
defmodule My.Test.Request do @moduledoc false use Protobuf, syntax: :proto2 @type t :: %__MODULE__{ key: [integer], hue: atom | integer, hat: atom | integer, deadline: float, somegroup: any, name_mapping: %{integer => String.t()}, msg_mapping:...
24.539823
92
0.653624
65871d6e606d29a66eecf7f98db20d168cf8d68f
1,784
ex
Elixir
test/support/model_case.ex
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
test/support/model_case.ex
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
test/support/model_case.ex
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
defmodule Mediax.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. For t...
27.030303
84
0.683857
65872f51cbbc3663ae6ff240d481a89383271106
18,039
ex
Elixir
lib/aws/generated/iot_analytics.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/iot_analytics.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/iot_analytics.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.IoTAnalytics do @moduledoc """ AWS IoT Analytics allows you to collect large amounts of device data, process messages, and store them. You can then query the data and run sophisticated an...
31.317708
161
0.657409
65873bcfb7cd25e06180c82757ad243b1e263732
1,532
ex
Elixir
lib/sobelow/config/https.ex
rahiparikh/sobelow
ed2ff5ea2648a1decb8d43b35100f833a1aa6c95
[ "Apache-2.0" ]
null
null
null
lib/sobelow/config/https.ex
rahiparikh/sobelow
ed2ff5ea2648a1decb8d43b35100f833a1aa6c95
[ "Apache-2.0" ]
null
null
null
lib/sobelow/config/https.ex
rahiparikh/sobelow
ed2ff5ea2648a1decb8d43b35100f833a1aa6c95
[ "Apache-2.0" ]
null
null
null
defmodule Sobelow.Config.HTTPS do @moduledoc """ # HTTPS Without HTTPS, attackers in a priveleged network position can intercept and modify traffic. Sobelow detects missing HTTPS by checking the prod configuration. HTTPS checks can be ignored with the following command: $ mix sobelow -i Config.H...
24.31746
81
0.612272
6587630bd2a984adcaff6bac533ed2a7fd517c1d
1,163
exs
Elixir
test/confirmation_test.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
3
2021-07-03T08:27:46.000Z
2021-08-18T06:00:38.000Z
test/confirmation_test.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
1
2021-06-21T19:27:35.000Z
2021-06-30T18:24:39.000Z
test/confirmation_test.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
1
2021-08-13T16:14:13.000Z
2021-08-13T16:14:13.000Z
defmodule ElxValidation.ConfirmationTest do use ExUnit.Case doctest ElxValidation.Confirmation test "is_confirmed" do assert ElxValidation.Confirmation.is_confirmed("john", "john") == true assert ElxValidation.Confirmation.is_confirmed("john", "john_123") == false assert ElxValidation.Confirmation....
25.844444
80
0.592433
65877dbc1a92e49258d8b8cc4bab0ac8a099677a
247
ex
Elixir
web/controllers/hello_controller.ex
seanreed1111/phoenix-first_app
240d4d586a365392aa8c1fdf1a77986b7e7bd5f6
[ "Apache-2.0" ]
null
null
null
web/controllers/hello_controller.ex
seanreed1111/phoenix-first_app
240d4d586a365392aa8c1fdf1a77986b7e7bd5f6
[ "Apache-2.0" ]
null
null
null
web/controllers/hello_controller.ex
seanreed1111/phoenix-first_app
240d4d586a365392aa8c1fdf1a77986b7e7bd5f6
[ "Apache-2.0" ]
null
null
null
defmodule FirstApp.HelloController do use FirstApp.Web, :controller def index(conn, _params) do render conn, "index.html" end def show(conn, %{"messenger" => messenger}) do render conn, "show.html", messenger: messenger end end
22.454545
50
0.704453
6587a8495cc817d7bd99315571c8ba5b6fb721bf
2,107
ex
Elixir
clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/model/google_cloud_payments_reseller_subscription_v1_undo_cancel_subscription_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/model/google_cloud_payments_reseller_subscription_v1_undo_cancel_subscription_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/payments_reseller_subscription/lib/google_api/payments_reseller_subscription/v1/model/google_cloud_payments_reseller_subscription_v1_undo_cancel_subscription_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.711864
191
0.783579
6587a964287632c24c68ee17f23ac2ec4d8aa149
150
ex
Elixir
web/controllers/page_controller.ex
kluthen/upsilon_battle
3e01bb162def2c42c78936afc07b4a74c67624ac
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
kluthen/upsilon_battle
3e01bb162def2c42c78936afc07b4a74c67624ac
[ "MIT" ]
2
2017-07-05T06:48:59.000Z
2017-07-13T14:16:25.000Z
web/controllers/page_controller.ex
kluthen/upsilon_battle
3e01bb162def2c42c78936afc07b4a74c67624ac
[ "MIT" ]
null
null
null
defmodule UpsilonBattle.PageController do use UpsilonBattle.Web, :controller def index(conn, _params) do render conn, "index.html" end end
18.75
41
0.753333
6587f7ddfeddab93a89669d5e8340da3379c5391
2,017
exs
Elixir
test/tz_parser_test.exs
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
245
2015-02-26T10:04:32.000Z
2022-02-18T04:22:02.000Z
test/tz_parser_test.exs
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
104
2015-06-26T17:35:15.000Z
2022-03-20T00:07:06.000Z
test/tz_parser_test.exs
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
78
2015-05-16T15:22:59.000Z
2022-03-13T09:43:50.000Z
defmodule TzParserTest do use ExUnit.Case, async: true alias Tzdata.Parser, as: TzParser test "process rule" do zone_text = "Rule EU 1977 1980 - Apr Sun>=1 1:00u 1:00 S\n" processed = TzParser.process_rule(zone_text) assert processed == %{at: {{1,0,0}, :utc}, from: 1977, in: 4, letter: "S", name: "E...
42.914894
136
0.566683
65882dbdbe95a9df521bb7032592cb5bfc33650f
428
exs
Elixir
priv/repo/migrations/20200211133829_add_initial_source_and_referrer_to_events.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
priv/repo/migrations/20200211133829_add_initial_source_and_referrer_to_events.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
priv/repo/migrations/20200211133829_add_initial_source_and_referrer_to_events.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule Plausible.Repo.Migrations.AddInitialSourceAndReferrerToEvents do use Ecto.Migration def change do alter table(:events) do add :initial_referrer, :text add :initial_referrer_source, :text end execute "UPDATE events SET initial_referrer=referrer, initial_referrer_source=referrer_so...
30.571429
98
0.780374
658869d3832b74e17d00b8840a8fe06f21f66b1d
70
ex
Elixir
web/views/login_view.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
web/views/login_view.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
web/views/login_view.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
defmodule FutureCyborg.LoginView do use FutureCyborg.Web, :view end
17.5
35
0.814286
6588c2a770df4e4919529d0eb95f52bf3f555700
1,388
ex
Elixir
apps/fz_http/lib/fz_http/devices.ex
CloudFire-LLC/fireguard
50ccfc792cf580104922026fedbbf3cd6e374574
[ "Apache-2.0" ]
5
2020-05-22T00:24:39.000Z
2021-06-18T18:28:45.000Z
apps/fz_http/lib/fz_http/devices.ex
CloudFire-LLC/fireguard
50ccfc792cf580104922026fedbbf3cd6e374574
[ "Apache-2.0" ]
64
2020-05-22T00:31:00.000Z
2021-06-28T15:21:33.000Z
apps/fz_http/lib/fz_http/devices.ex
CloudFire-LLC/fireguard
50ccfc792cf580104922026fedbbf3cd6e374574
[ "Apache-2.0" ]
2
2020-05-22T00:27:52.000Z
2021-03-14T19:37:27.000Z
defmodule FzHttp.Devices do @moduledoc """ The Devices context. """ import Ecto.Query, warn: false alias FzCommon.NameGenerator alias FzHttp.{Devices.Device, Repo, Users.User} @ipv4_prefix "10.3.2." @ipv6_prefix "fd00:3:2::" def list_devices do Repo.all(Device) end def list_devices(%User{}...
21.030303
77
0.658501
6588c4d9113001afc5789cfa5170011038509431
1,111
exs
Elixir
config/config.exs
nietaki/tracing-on-the-shoulders-interactive
78419c78ecbff656884668ab98fcf28426f50f13
[ "CC0-1.0" ]
null
null
null
config/config.exs
nietaki/tracing-on-the-shoulders-interactive
78419c78ecbff656884668ab98fcf28426f50f13
[ "CC0-1.0" ]
null
null
null
config/config.exs
nietaki/tracing-on-the-shoulders-interactive
78419c78ecbff656884668ab98fcf28426f50f13
[ "CC0-1.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.83871
73
0.749775
6588fff43825ea4703801cce57b6317177719a18
11,072
ex
Elixir
lib/ash/data_layer/data_layer.ex
maartenvanvliet/ash
c7fd1927169b45d9e1e5ad4ba2ee81703fcf27db
[ "MIT" ]
null
null
null
lib/ash/data_layer/data_layer.ex
maartenvanvliet/ash
c7fd1927169b45d9e1e5ad4ba2ee81703fcf27db
[ "MIT" ]
null
null
null
lib/ash/data_layer/data_layer.ex
maartenvanvliet/ash
c7fd1927169b45d9e1e5ad4ba2ee81703fcf27db
[ "MIT" ]
null
null
null
defmodule Ash.DataLayer do @moduledoc """ The interface for being an ash data layer. This is a large behaviour, and this capability is not complete, but the idea is to have a large amount of optional callbacks, and use the `can?/2` callback to ensure that the engine only ever tries to interact with the data ...
33.756098
100
0.60793
658913b576136d9e6dc8c65366dbbb005a7cbbc2
428
exs
Elixir
config/test.exs
bgentry/ecto_as_state_machine
068ad13ec60147564f02ab4d0493763dcd758bbd
[ "MIT" ]
null
null
null
config/test.exs
bgentry/ecto_as_state_machine
068ad13ec60147564f02ab4d0493763dcd758bbd
[ "MIT" ]
null
null
null
config/test.exs
bgentry/ecto_as_state_machine
068ad13ec60147564f02ab4d0493763dcd758bbd
[ "MIT" ]
null
null
null
use Mix.Config config :ecto_as_state_machine, ecto_repos: [EctoAsStateMachine.TestRepo] # Configure your database config :ecto_as_state_machine, EctoAsStateMachine.TestRepo, adapter: Ecto.Adapters.Postgres, pool: Ecto.Adapters.SQL.Sandbox, username: System.get_env("USER"), password: "", database: "ecto_as...
23.777778
59
0.761682
65892cfdcdbe0ac6f86498bf8b83faeb276fdf36
474
exs
Elixir
config/test.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
config/test.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
config/test.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "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 :apiv4, Apiv4.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :apiv4, Apiv4.Repo, adapt...
23.7
56
0.723629
65894e9b926b799435cef9e415320f8b49636613
8,874
ex
Elixir
lib/earmark.ex
pragdave/earmark
b68f11294f95114ed95ada9b0ef69508c3b2bcca
[ "Apache-1.1" ]
734
2015-01-05T19:08:00.000Z
2022-03-28T14:04:21.000Z
lib/earmark.ex
pragdave/earmark
b68f11294f95114ed95ada9b0ef69508c3b2bcca
[ "Apache-1.1" ]
343
2015-01-01T04:56:57.000Z
2022-02-15T11:00:57.000Z
lib/earmark.ex
pragdave/earmark
b68f11294f95114ed95ada9b0ef69508c3b2bcca
[ "Apache-1.1" ]
169
2015-02-26T15:18:05.000Z
2022-03-18T08:00:42.000Z
defmodule Earmark do if Version.compare(System.version, "1.12.0") == :lt do IO.puts(:stderr, "DEPRECATION WARNING: versions < 1.12.0 of Elixir are not tested anymore and will not be supported in Earmark v1.5") end @type ast_meta :: map() @type ast_tag :: binary() @type ast_attribute_name :: binary() @...
32.152174
137
0.679513
65896948d50a8ed9d36c03dde7ec291ea82affd9
380
ex
Elixir
lib/ash/error/query/no_such_operator.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/error/query/no_such_operator.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/error/query/no_such_operator.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Error.Query.NoSuchOperator do @moduledoc "Used when an operator that doesn't exist is used in a query" use Ash.Error.Exception def_ash_error([:name], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ash.UUID.generate() def code(_), do: "no_such_operator" def message(error) ...
22.352941
74
0.689474
6589768610d2d9a176212b6f91ef7f32bf661919
2,204
ex
Elixir
lib/mix/lib/mix/deps/lock.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/lock.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/lock.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
# This module keeps a lock file and the manifest for the lock file. # The lockfile keeps the latest dependency information while the # manifest is used whenever a dependency is affected via any of the # deps.* tasks. We also keep the Elixir version in the manifest file. defmodule Mix.Deps.Lock do @moduledoc false @...
27.209877
85
0.637931
658984cb9719e80d1483661070f834ef1f0321c7
2,659
ex
Elixir
lib/esi/api/sovereignty.ex
johnschultz/esi
6bc69c39e21baa8655523e71755a65516b68e60c
[ "MIT" ]
null
null
null
lib/esi/api/sovereignty.ex
johnschultz/esi
6bc69c39e21baa8655523e71755a65516b68e60c
[ "MIT" ]
null
null
null
lib/esi/api/sovereignty.ex
johnschultz/esi
6bc69c39e21baa8655523e71755a65516b68e60c
[ "MIT" ]
null
null
null
defmodule ESI.API.Sovereignty do @doc """ Shows sovereignty data for structures.. ## Response Example A list of sovereignty structures: [ %{ "alliance_id" => 498125261, "solar_system_id" => 30000570, "structure_id" => 1018253388776, "structure_type_id" =>...
24.62037
94
0.615645
6589984fd7da803312977b990b72b3a1826f47b3
529
exs
Elixir
config/test.exs
sfat/phoenix-passphrase-diceware-generator
6bf723318c474c6ebd5875e0999717c0da294504
[ "MIT" ]
null
null
null
config/test.exs
sfat/phoenix-passphrase-diceware-generator
6bf723318c474c6ebd5875e0999717c0da294504
[ "MIT" ]
3
2021-03-10T05:05:50.000Z
2022-02-14T10:05:59.000Z
config/test.exs
sfat/phoenix-passphrase-diceware-generator
6bf723318c474c6ebd5875e0999717c0da294504
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :password_diceware_api, PasswordDicewareApi.Repo, username: "postgres", password: "postgres", database: "password_diceware_api_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required, # you can enab...
27.842105
67
0.767486
6589a25ee24915fca3477ba5f5e33421281ff6ad
907
exs
Elixir
test/membrane/log_metadata_test.exs
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
515
2018-06-18T11:09:44.000Z
2020-07-31T07:54:35.000Z
test/membrane/log_metadata_test.exs
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
120
2018-06-07T08:34:06.000Z
2020-07-30T07:09:50.000Z
test/membrane/log_metadata_test.exs
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
13
2018-07-27T11:58:15.000Z
2020-05-06T15:19:55.000Z
defmodule Membrane.LogMetadataTest do use ExUnit.Case, async: false import Membrane.Testing.Assertions alias Membrane.Support.LogMetadataTest alias Membrane.Testing test "Custom log metadata are delivered to the correct element" do metadata_1 = "Metadata 1" metadata_2 = "Metadata 2" assert {:o...
26.676471
87
0.687982
6589ac831caff6b18a6f64fdd3bc076ef3abab7b
1,109
exs
Elixir
config/config.exs
jwarwick/trades
694094dde40c0bafeb31be06356ade9682cc45d5
[ "MIT" ]
null
null
null
config/config.exs
jwarwick/trades
694094dde40c0bafeb31be06356ade9682cc45d5
[ "MIT" ]
null
null
null
config/config.exs
jwarwick/trades
694094dde40c0bafeb31be06356ade9682cc45d5
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.774194
73
0.754734
6589b5384915f7e32b45aa3b89e956c135ed795a
1,516
exs
Elixir
mix.exs
okeuday/nodefinder
452edc0c710cf67f058b6eace003c186673b834b
[ "MIT" ]
59
2015-05-13T12:01:39.000Z
2022-01-20T03:21:50.000Z
mix.exs
okeuday/nodefinder
452edc0c710cf67f058b6eace003c186673b834b
[ "MIT" ]
2
2017-12-06T04:50:55.000Z
2020-03-04T23:16:22.000Z
mix.exs
okeuday/nodefinder
452edc0c710cf67f058b6eace003c186673b834b
[ "MIT" ]
9
2016-10-05T15:20:48.000Z
2020-12-03T02:36:02.000Z
#-*-Mode:elixir;coding:utf-8;tab-width:2;c-basic-offset:2;indent-tabs-mode:()-*- # ex: set ft=elixir fenc=utf-8 sts=2 ts=2 sw=2 et nomod: defmodule Nodefinder.Mixfile do use Mix.Project def project do [app: :nodefinder, version: "2.0.4", language: :erlang, erlc_options: [ {:d, :erlang.li...
24.063492
94
0.617414
6589f257d445a3581c7086272d7a94a5a178ce22
2,271
ex
Elixir
questions/aggregates/00047500-facrev2.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
335
2015-02-09T09:21:34.000Z
2022-03-30T12:28:18.000Z
questions/aggregates/00047500-facrev2.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
58
2015-05-12T03:10:54.000Z
2021-11-27T15:53:36.000Z
questions/aggregates/00047500-facrev2.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
63
2015-03-18T18:15:56.000Z
2022-02-23T07:27:46.000Z
|QUESTIONNAME| Find facilities with a total revenue less than 1000 |QUESTION| Produce a list of facilities with a total revenue less than 1000. Produce an output table consisting of facility name and revenue, sorted by revenue. Remember that there's a different cost for guests and members! |QUERY| select name, revenu...
37.85
349
0.745046
658a1a861f0200e1ad65a7ec41c496c27ad4a241
413
exs
Elixir
config/secret.example.exs
Ruin0x11/niacademy
f0b07aefa7b2bf5a8f643d851523ee43c6fd1c0f
[ "MIT" ]
null
null
null
config/secret.example.exs
Ruin0x11/niacademy
f0b07aefa7b2bf5a8f643d851523ee43c6fd1c0f
[ "MIT" ]
null
null
null
config/secret.example.exs
Ruin0x11/niacademy
f0b07aefa7b2bf5a8f643d851523ee43c6fd1c0f
[ "MIT" ]
null
null
null
use Mix.Config config :niacademy, # Toggl Track API token. toggl_api_token: "token", # Name of the Toggl workspace containing the projects. toggl_workspace: "draw", # Toggl projects to the hold time spent. toggl_free_draw_project: "free-draw", toggl_tutorial_draw_project: "tutorial-draw" # Determine...
25.8125
66
0.748184
658a1ff53f55a7af1f8963ef8bbf558d29660721
7,055
exs
Elixir
lib/elixir/test/elixir/kernel/parallel_compiler_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/elixir/test/elixir/kernel/parallel_compiler_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/parallel_compiler_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
Code.require_file("../test_helper.exs", __DIR__) import PathHelpers defmodule Kernel.ParallelCompilerTest do use ExUnit.Case import ExUnit.CaptureIO defp purge(modules) do Enum.map(modules, fn mod -> :code.purge(mod) :code.delete(mod) end) end describe "compile" do test "solves dep...
32.362385
119
0.620269
658a27377f3a9c0f5db18dfa0f12b0b70e368fc3
526
exs
Elixir
test/defr/nested_monad_test.exs
jechol/defr
1d4a319bb06f38845306691d9bc8b8711d726cd0
[ "MIT" ]
3
2021-07-30T17:42:13.000Z
2021-09-03T09:38:54.000Z
test/defr/nested_monad_test.exs
trevorite/witchcraft_helpers
146312441c21b85423265cea6fc9cef50fc6423b
[ "MIT" ]
1
2021-12-16T02:40:35.000Z
2021-12-16T03:21:21.000Z
test/defr/nested_monad_test.exs
trevorite/witchcraft_helpers
146312441c21b85423265cea6fc9cef50fc6423b
[ "MIT" ]
null
null
null
defmodule Defr.NestedMonadTest do use ExUnit.Case, async: false use Defr alias Algae.Reader alias Algae.Either.Right defmodule Target do use Defr defr target() do let _ = Process.sleep(100) chain do n <- get_number() |> inject() n end end def get_number(),...
19.481481
96
0.612167
658a4ac899bb25286c11997c387eed5f4aec4538
1,098
exs
Elixir
test/regressions/i093_last_li_not_wrapped_in_p_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
null
null
null
test/regressions/i093_last_li_not_wrapped_in_p_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
null
null
null
test/regressions/i093_last_li_not_wrapped_in_p_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
1
2020-09-15T17:47:35.000Z
2020-09-15T17:47:35.000Z
defmodule Regressions.I093LastLiNotWrappedInPTest do use ExUnit.Case @vanilla_list """ * a * b """ test "vanilla list" do assert "<ul>\n<li><p>a</p>\n</li>\n<li><p>b</p>\n</li>\n</ul>\n" == Earmark.as_html!( @vanilla_list ) end test "parsing the vanilla list does not space the last item - Rendere...
29.675676
124
0.584699
658a52672dda00bf5f1e7c526618659067cddb2f
2,211
exs
Elixir
config/config.exs
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
86
2019-01-07T20:49:04.000Z
2021-10-02T21:15:42.000Z
config/config.exs
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
26
2019-03-27T12:06:52.000Z
2020-09-20T05:21:09.000Z
config/config.exs
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
19
2015-01-06T19:02:49.000Z
2020-05-25T08:54:00.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :lucidboard, ecto_repos: [Lucidboard.Rep...
31.140845
78
0.734057
658a94c86f19610b178b7672824e5cc86e8efac4
1,582
ex
Elixir
clients/gmail/lib/google_api/gmail/v1/model/list_delegates_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/gmail/lib/google_api/gmail/v1/model/list_delegates_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/gmail/lib/google_api/gmail/v1/model/list_delegates_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.659574
152
0.743995
658a9f86647a7a03567d870c2378f2d0d0212a37
655
ex
Elixir
lib/central/communication/schemas/category.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central/communication/schemas/category.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central/communication/schemas/category.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule Central.Communication.Category do use CentralWeb, :schema schema "communication_categories" do field :name, :string field :colour, :string field :icon, :string field :public, :boolean timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def...
21.833333
67
0.630534
658aa709f47e487d05c0ff5c0a67cb8937b8687d
776
ex
Elixir
test/support/channel_case.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
9
2018-12-16T14:02:59.000Z
2021-01-19T07:25:40.000Z
test/support/channel_case.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
null
null
null
test/support/channel_case.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
4
2018-12-16T17:50:01.000Z
2021-01-19T07:25:51.000Z
defmodule FreshcomWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts w...
22.823529
58
0.726804
658ab2b4f812b5cd45f1bc31afb7d541b0077544
3,212
ex
Elixir
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/instance.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/instance.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/instance.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...
51.806452
657
0.704857
658b28699b8e9331557567578e755ecd37ac3101
9,274
ex
Elixir
lib/iona/processing.ex
D4no0/iona
b7086648ee103c19a2cca4698ebaf7b0d2cc328c
[ "Apache-2.0" ]
null
null
null
lib/iona/processing.ex
D4no0/iona
b7086648ee103c19a2cca4698ebaf7b0d2cc328c
[ "Apache-2.0" ]
1
2020-10-21T06:58:45.000Z
2020-10-29T04:29:52.000Z
lib/iona/processing.ex
D4no0/iona
b7086648ee103c19a2cca4698ebaf7b0d2cc328c
[ "Apache-2.0" ]
null
null
null
defmodule Iona.Processing do @moduledoc false defmodule UnsupportedFormatError do defexception message: "No processor defined for format" end defmodule ProcessingError do defexception message: "Could not process the document" end @nonstopmode "-interaction=nonstopmode" @executable_default_args ...
34.221402
99
0.597585