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
ffd91451ae02fc3c76ad5fe22ea0d6bdb44b5b49
101
exs
Elixir
test/splitwise/models/expense_test.exs
nathanbegbie/ex_splitwise
6de8b9f59db9834b342b86dfcd5c41354f349e5d
[ "MIT" ]
3
2019-09-29T04:15:29.000Z
2021-04-02T14:52:04.000Z
test/splitwise/models/expense_test.exs
nathanbegbie/ex_splitwise
6de8b9f59db9834b342b86dfcd5c41354f349e5d
[ "MIT" ]
null
null
null
test/splitwise/models/expense_test.exs
nathanbegbie/ex_splitwise
6de8b9f59db9834b342b86dfcd5c41354f349e5d
[ "MIT" ]
1
2022-02-22T15:32:16.000Z
2022-02-22T15:32:16.000Z
defmodule Splitwise.Models.ExpenseTest do use ExUnit.Case doctest ExSplitwise.Models.Expense end
20.2
41
0.831683
ffd917f7c869fdc98ccaaf64aa03fec31f1028bd
175
exs
Elixir
priv/repo/migrations/20180205101949_add_project_description.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20180205101949_add_project_description.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20180205101949_add_project_description.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.AddProjectDescription do use Ecto.Migration def change do alter table(:project) do add(:description, :text) end end end
17.5
58
0.72
ffd97ca6e7b3f94183c22cc491cd8228a2ba51a7
1,622
ex
Elixir
core/metrics/aggregate_strategy/request_count.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/metrics/aggregate_strategy/request_count.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/metrics/aggregate_strategy/request_count.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma alias AntikytheraCore.Metrics.AggregateStrategy, as: Strategy defmodule Strategy.RequestCount do @moduledoc """ Aggregate strategy for request counts. This calculates the following values from HTTP status codes of responses within a time w...
31.192308
109
0.68434
ffd9a96d252a62cfb395fe1c2d32cf29f7bf5e55
968
ex
Elixir
clients/tpu/lib/google_api/tpu/v1/deserializer.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/deserializer.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/deserializer.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
37.230769
77
0.764463
ffd9be15d69a8c2cba722e03c6bce2beafdb2c98
1,731
ex
Elixir
lib/server_web/live/file_explorer_live.ex
akoutmos/ex_server
9daffd543e67c27c7c5b5a1a55bade925ab416b3
[ "MIT" ]
24
2022-02-18T01:13:32.000Z
2022-03-18T17:57:57.000Z
lib/server_web/live/file_explorer_live.ex
akoutmos/ex_server
9daffd543e67c27c7c5b5a1a55bade925ab416b3
[ "MIT" ]
null
null
null
lib/server_web/live/file_explorer_live.ex
akoutmos/ex_server
9daffd543e67c27c7c5b5a1a55bade925ab416b3
[ "MIT" ]
1
2022-02-25T20:31:39.000Z
2022-02-25T20:31:39.000Z
defmodule ExServerWeb.FileExplorerLive do @moduledoc """ This LiveView module is used to """ use ExServerWeb, :live_view on_mount {__MODULE__, :contains_index_file} def mount(%{"path" => requested_path}, _session, socket) do assigns = [ entries: get_files_from_path(requested_path), curren...
25.835821
86
0.621028
ffd9cbb02ac20c0ca60aa09b38422a9d05d5cf83
454
ex
Elixir
lib/ambry/first_time_setup.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
12
2021-09-30T20:51:49.000Z
2022-01-27T04:09:32.000Z
lib/ambry/first_time_setup.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
76
2021-10-01T05:45:11.000Z
2022-03-28T04:12:39.000Z
lib/ambry/first_time_setup.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
2
2021-10-04T19:27:28.000Z
2022-01-13T22:36:38.000Z
defmodule Ambry.FirstTimeSetup do @moduledoc """ Context to handle first-time-setup related tasks. """ alias Ambry.Paths @contents """ This file is created once first-time-setup has been completed. Please don't delete it. """ @doc """ Disables first-time-setup, so that the redirect no longer happ...
22.7
71
0.700441
ffd9e231b6dc79a8bf793255ba3ced4494c70f56
246
ex
Elixir
lib/cadet/auth/empty_guardian.ex
seanlowjk/cadet
52b55cc0f777cb0d55a78fe1693f762085ab36c2
[ "Apache-2.0" ]
null
null
null
lib/cadet/auth/empty_guardian.ex
seanlowjk/cadet
52b55cc0f777cb0d55a78fe1693f762085ab36c2
[ "Apache-2.0" ]
null
null
null
lib/cadet/auth/empty_guardian.ex
seanlowjk/cadet
52b55cc0f777cb0d55a78fe1693f762085ab36c2
[ "Apache-2.0" ]
null
null
null
defmodule Cadet.Auth.EmptyGuardian do @moduledoc """ This module just provides an empty Guardian configuration, sufficient to use Guardian.Token.Jwt.Verify.verify_claims. """ def config(_a), do: nil def config(_a, def), do: def end
22.363636
71
0.731707
ffd9e69f11933bc5a0a06498fb35c353bd54ac8f
1,704
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.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...
36.255319
282
0.755282
ffd9fcda69b2addddf75156da958b3471a0074e9
2,039
ex
Elixir
solomon/web/controllers/role_controller.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
solomon/web/controllers/role_controller.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
solomon/web/controllers/role_controller.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule Solomon.RoleController do use Solomon.Web, :controller alias Solomon.Repo alias Solomon.Role alias Solomon.ScopeService def index(conn, _params) do roles = ScopeService.scoped_index(conn, Role) |> Repo.preload(:permissions) render(conn, "index.json", roles: roles) end def create(co...
30.893939
78
0.627759
ffda1574c9597faa23c8df7f872769f0358139ee
3,425
exs
Elixir
mix.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
mix.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
mix.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule Glimesh.MixProject do use Mix.Project def project do [ app: :glimesh, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
29.525862
84
0.513869
ffda4fc7433369ad443a28eba11e14119cf2791e
2,456
exs
Elixir
test/exchange_test.exs
lainor/amqpx
a1327978ba000eeba9d9badb354833ebe23f2a36
[ "MIT" ]
null
null
null
test/exchange_test.exs
lainor/amqpx
a1327978ba000eeba9d9badb354833ebe23f2a36
[ "MIT" ]
null
null
null
test/exchange_test.exs
lainor/amqpx
a1327978ba000eeba9d9badb354833ebe23f2a36
[ "MIT" ]
null
null
null
defmodule ExchangeTest do use ExUnit.Case alias Amqpx.{Channel, Connection, Exchange} setup do {:ok, conn} = Connection.open(Application.get_env(:amqpx, :amqp_connection)) {:ok, chan} = Channel.open(conn) on_exit(fn -> :ok = Connection.close(conn) end) {:ok, conn: conn, chan: chan} end test...
32.315789
80
0.675081
ffda5afaa03108a62829b3b1b6aaaf0fa564a455
4,270
ex
Elixir
lib/chat_api_web/controllers/slack_controller.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/slack_controller.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/slack_controller.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.SlackController do use ChatApiWeb, :controller require Logger alias ChatApi.{ Messages, Slack, SlackAuthorizations, SlackConversationThreads } action_fallback ChatApiWeb.FallbackController @spec oauth(Plug.Conn.t(), map()) :: Plug.Conn.t() def oauth(conn, %{"code" ...
27.371795
79
0.571897
ffda7f094b9dc4b9464653ea735118d04e148ce1
411
exs
Elixir
priv/repo/migrations/20170402032240_create_event.exs
itmaster921/crowdfunding-api
994d75d6c28356b45531b71251eff39a309d414b
[ "MIT" ]
1
2020-05-24T15:18:36.000Z
2020-05-24T15:18:36.000Z
priv/repo/migrations/20170402032240_create_event.exs
itmaster921/crowdfunding-api
994d75d6c28356b45531b71251eff39a309d414b
[ "MIT" ]
null
null
null
priv/repo/migrations/20170402032240_create_event.exs
itmaster921/crowdfunding-api
994d75d6c28356b45531b71251eff39a309d414b
[ "MIT" ]
null
null
null
defmodule CrowdfundingApi.Repo.Migrations.CreateEvent do use Ecto.Migration def change do create table(:events) do add :title, :string add :country, :string add :date, :datetime add :image_url, :string add :description, :text add :project_id, references(:projects, on_delete:...
21.631579
65
0.659367
ffda91dbe28f093b5ae5791b0b34b7ec2e037c4f
584
exs
Elixir
exercises/practice/series/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/series/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/series/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule StringSeries.MixProject do use Mix.Project def project do [ app: :string_series, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.137931
87
0.582192
ffdab1e8ba21d2cb3c449d84e3fb6d9e9b27c79b
517
exs
Elixir
test/fixtures/with_path_dep/mix.exs
TraceyOnim/sbom
55ee8867d4c7f53b6e282a8aad584435c82d5379
[ "BSD-3-Clause" ]
21
2019-10-24T16:19:21.000Z
2021-07-21T07:40:53.000Z
test/fixtures/with_path_dep/mix.exs
TraceyOnim/sbom
55ee8867d4c7f53b6e282a8aad584435c82d5379
[ "BSD-3-Clause" ]
5
2020-05-31T05:30:51.000Z
2022-03-21T14:31:18.000Z
test/fixtures/with_path_dep/mix.exs
TraceyOnim/sbom
55ee8867d4c7f53b6e282a8aad584435c82d5379
[ "BSD-3-Clause" ]
8
2019-11-02T08:08:57.000Z
2022-03-02T07:19:24.000Z
defmodule WithPathDep.MixProject do use Mix.Project def project do [ app: :with_path_dep, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
17.827586
59
0.566731
ffdad0ebf51e982916001622ee268080876bf66e
4,701
ex
Elixir
lib/lfu_cache.ex
SteffenBauer/arc_cache
a95c24d415ce4050f53ae948a6cc8c70dd193c36
[ "MIT" ]
1
2016-12-10T18:56:40.000Z
2016-12-10T18:56:40.000Z
lib/lfu_cache.ex
SteffenBauer/arc_cache
a95c24d415ce4050f53ae948a6cc8c70dd193c36
[ "MIT" ]
null
null
null
lib/lfu_cache.ex
SteffenBauer/arc_cache
a95c24d415ce4050f53ae948a6cc8c70dd193c36
[ "MIT" ]
null
null
null
defmodule LfuCache do @moduledoc """ This modules implements a simple LRU cache, using 2 ets tables for it. For using it, you need to start it: iex> LruCache.start_link(:my_cache, 1000) Or add it to your supervisor tree, like: `worker(LruCache, [:my_cache, 1000])` ## Using iex> LruCache.start...
27.816568
91
0.623697
ffdb024793a8d1b087f8f0fa45ce7632eb6d1127
525
ex
Elixir
lib/tarantool/api.ex
xronos-i-am/tarantool.ex
929ee9dd3da1b6dd3e38961870e758fba3e6aa8c
[ "MIT" ]
27
2016-02-11T08:38:46.000Z
2022-02-23T21:48:13.000Z
lib/tarantool/api.ex
xronos-i-am/tarantool.ex
929ee9dd3da1b6dd3e38961870e758fba3e6aa8c
[ "MIT" ]
5
2016-06-04T18:32:00.000Z
2019-04-14T08:14:46.000Z
lib/tarantool/api.ex
xronos-i-am/tarantool.ex
929ee9dd3da1b6dd3e38961870e758fba3e6aa8c
[ "MIT" ]
6
2016-03-01T08:34:09.000Z
2019-02-09T17:29:56.000Z
defmodule Tarantool.Api do use Tarantool.Api.Helper defrequest :ping defrequest :auth, [:username, :password] defrequest :select, [:space_id, :limit, :key, :index_id, :offset, :iterator] defrequest :insert, [:space_id, :tuple ] defrequest :replace, [:space_id, :tuple] defrequest :update, [:space_id, :ind...
35
78
0.697143
ffdb0bd4f8e79a8b10bfc7ad6f7997b2aff9f808
1,045
ex
Elixir
lib/scenic/primitive/style/scissor.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/scissor.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/scissor.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 2018-06-06. # Copyright © 2018-2021 Kry10 Limited. All rights reserved. # defmodule Scenic.Primitive.Style.Scissor do @moduledoc """ Define a "Scissor Rectangle" that drawing will be clipped to. Example: ```elixir graph |> triangle( {{0,40},{40,40},{40,0}} miter_...
20.490196
80
0.558852
ffdb111757edc6729cd36ebc760a565140cd46ab
25,424
ex
Elixir
lib/aws/generated/mturk.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/mturk.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/mturk.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.MTurk do @moduledoc """ Amazon Mechanical Turk API Reference """ @doc """ The `AcceptQualificationRequest` operation approves a Worker's request for a Qualification. Only the owner...
40.548644
103
0.751259
ffdb1c69a96356d32f799023327594ce8c9fd751
800
ex
Elixir
chapter_9/todo_superdatabase/lib/todo/server/store.ex
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T11:55:58.000Z
2021-08-22T13:19:56.000Z
chapter_7/todo_persistent/lib/todo/server/store.ex
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
null
null
null
chapter_7/todo_persistent/lib/todo/server/store.ex
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T21:19:45.000Z
2021-08-22T13:20:03.000Z
defmodule Todo.Server.Store do def start, do: GenServer.start(Todo.Server, nil, name: __MODULE__) def all(), do: GenServer.call(__MODULE__, {:all}) def by_date(date), do: GenServer.call(__MODULE__, {:by_date, date}) def entries(date), do: GenServer.call(__MODULE__, {:entries, date}) def by_title(title), do: ...
44.444444
87
0.7325
ffdb31094152867c3a37cc308dac494e77adc832
769
ex
Elixir
lib/rankings_web/controllers/session_controller.ex
spkane31/cc-rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
1
2020-06-28T19:31:07.000Z
2020-06-28T19:31:07.000Z
lib/rankings_web/controllers/session_controller.ex
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
5
2019-07-25T17:00:39.000Z
2019-07-25T17:12:07.000Z
lib/rankings_web/controllers/session_controller.ex
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
null
null
null
defmodule RankingsWeb.SessionController do use RankingsWeb, :controller def new(conn, _) do render(conn, "new.html") end def create( conn, %{"session" => %{"username" => username, "password" => pass}} ) do case Rankings.Accounts.authenticate_by_username_and_pass(username, pass) do {:ok...
24.806452
79
0.609883
ffdb479427be3d5a43c8dec3f27f32c1ebdf3d16
122
ex
Elixir
test/support/list/repo_found.ex
fartek/barna
cdcc7a89fa3e66459568863cf7713651abb0c688
[ "MIT" ]
null
null
null
test/support/list/repo_found.ex
fartek/barna
cdcc7a89fa3e66459568863cf7713651abb0c688
[ "MIT" ]
null
null
null
test/support/list/repo_found.ex
fartek/barna
cdcc7a89fa3e66459568863cf7713651abb0c688
[ "MIT" ]
null
null
null
defmodule Barna.List.RepoFound do def all(query) do send(self(), {:list_repo_found, query}) [:result] end end
17.428571
43
0.672131
ffdb576f30ef09efdcfeb869206500db00f1c1f3
2,381
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/group_objects_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/slides/lib/google_api/slides/v1/model/group_objects_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/slides/lib/google_api/slides/v1/model/group_objects_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...
47.62
532
0.740865
ffdb814468bfd01b4490122088cb0bb87dc362f7
3,311
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/advertiser_general_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/advertiser_general_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/model/advertiser_general_config.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...
62.471698
1,054
0.713682
ffdb8b7f441391e75bd860bbdebb7f55fdbe49e0
555
ex
Elixir
lib/gexbot_web/views/changeset_view.ex
jakewilkins/gexbot
b92cd5bae794becaedbee9c8884e4b66942198b7
[ "WTFPL" ]
null
null
null
lib/gexbot_web/views/changeset_view.ex
jakewilkins/gexbot
b92cd5bae794becaedbee9c8884e4b66942198b7
[ "WTFPL" ]
null
null
null
lib/gexbot_web/views/changeset_view.ex
jakewilkins/gexbot
b92cd5bae794becaedbee9c8884e4b66942198b7
[ "WTFPL" ]
null
null
null
defmodule GexbotWeb.ChangesetView do use GexbotWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `GexbotWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset, &tran...
27.75
65
0.736937
ffdb8beac37944cf49d8ffa9de1b8c10db7260b0
17,039
exs
Elixir
test/mgp/accounts_test.exs
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
null
null
null
test/mgp/accounts_test.exs
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
2
2020-12-22T12:30:58.000Z
2021-05-19T10:07:26.000Z
test/mgp/accounts_test.exs
imprest/mgp
61457315243d0e0c26713601b9930ca34a116a16
[ "MIT" ]
null
null
null
defmodule Mgp.AccountsTest do use Mgp.DataCase alias Mgp.Accounts import Mgp.AccountsFixtures alias Mgp.Accounts.{User, UserToken} describe "get_user_by_email/1" do test "does not return the user if the email does not exist" do refute Accounts.get_user_by_email("unknown@example.com") end ...
33.740594
97
0.659076
ffdb99253d6dd85bfd369cb829d74006612c20c9
37,500
ex
Elixir
lib/aws/generated/efs.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/efs.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/efs.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "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.EFS do @moduledoc """ Amazon Elastic File System Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use with Amazon EC2 instances in the Amazon Web Service...
31.539108
177
0.695307
ffdbad76c1b3c66d403e4459585fc38bbd03287a
858
ex
Elixir
lib/relax_lib/image_magick/image.ex
gialib/relax_lib
0a94b1fe38d00b51832ef947a4c3a1c2956583ca
[ "MIT" ]
null
null
null
lib/relax_lib/image_magick/image.ex
gialib/relax_lib
0a94b1fe38d00b51832ef947a4c3a1c2956583ca
[ "MIT" ]
null
null
null
lib/relax_lib/image_magick/image.ex
gialib/relax_lib
0a94b1fe38d00b51832ef947a4c3a1c2956583ca
[ "MIT" ]
null
null
null
defmodule RelaxLib.ImageMagick.Image do @type path :: binary @type ext :: binary @type format :: binary @type width :: integer @type height :: integer @type animated :: boolean @type frame_count :: integer @type operations :: Keyword.t @type dirty :: %{atom =>...
24.514286
39
0.480186
ffdbc6ec360be23c33dbdc1e545f103722c863b6
836
ex
Elixir
lib/system/definitions/animate_mods.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/system/definitions/animate_mods.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/system/definitions/animate_mods.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
use ElixirRPG.DSL.System defsystem AnimateModSystem do require Logger alias ElixirRPG.Entity name "AnimateModSystem" wants AnimationMod on_tick do _ = delta_time _ = frontend_pid _ = world_name current_anims = get_component_data(AnimationMod, :active_mods) updated_values = Enum...
24.588235
75
0.714115
ffdc02445342bee0bc7902ba7bb0c3aaa6916243
820
ex
Elixir
lib/rocketpay_web/views/accounts_view.ex
willianns/rocketpay
34c882b47ab1cb2a83b51c6bb17eeceb7714ab92
[ "Unlicense" ]
2
2021-03-01T09:15:57.000Z
2021-03-02T23:30:57.000Z
lib/rocketpay_web/views/accounts_view.ex
willianns/rocketpay
34c882b47ab1cb2a83b51c6bb17eeceb7714ab92
[ "Unlicense" ]
null
null
null
lib/rocketpay_web/views/accounts_view.ex
willianns/rocketpay
34c882b47ab1cb2a83b51c6bb17eeceb7714ab92
[ "Unlicense" ]
null
null
null
defmodule RocketpayWeb.AccountsView do alias Rocketpay.{Account} alias Rocketpay.Accounts.Transactions.Response, as: TransactionResponse def render("update.json", %{ account: %Account{id: account_id, balance: balance}}) do %{ message: "Balance changed successfully!", account: %{ id: accou...
24.848485
92
0.612195
ffdc23366a35e6a3fedc1bf6d15903f6ae409ace
27,621
ex
Elixir
lib/codes/codes_v59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_V59 do alias IcdCode.ICDCode def _V5900XA do %ICDCode{full_code: "V5900XA", category_code: "V59", short_code: "00XA", full_name: "Driver of pick-up truck or van injured in collision with unspecified motor vehicles in nontraffic accident, initial encou...
62.917995
169
0.710945
ffdc25dfb31ccc26fe1dafaade561731ecf7dc68
758
exs
Elixir
config/test.exs
media-io/ex_step_flow
07b6fe98399836679728547319c55137a1b5c933
[ "MIT" ]
4
2019-12-07T05:18:26.000Z
2020-11-06T23:28:43.000Z
config/test.exs
media-io/ex_step_flow
07b6fe98399836679728547319c55137a1b5c933
[ "MIT" ]
53
2020-01-06T11:23:09.000Z
2021-06-25T15:30:07.000Z
config/test.exs
media-io/ex_step_flow
07b6fe98399836679728547319c55137a1b5c933
[ "MIT" ]
3
2020-01-30T15:37:40.000Z
2020-10-27T14:10:02.000Z
use Mix.Config config :logger, :console, format: "[$level] $message\n" config :logger, level: :error config :plug, :validate_header_keys_during_test, true config :step_flow, StepFlow, workers_work_directory: "/test_work_dir", workflow_definition: "./test/definitions", enable_metrics: true config :step_flow, S...
22.294118
55
0.724274
ffdc449434128c1fd2dc3ae64226f83145db1b3f
170
ex
Elixir
web/views/tp_destination_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/views/tp_destination_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/views/tp_destination_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.TpDestinationView do use CgratesWebJsonapi.Web, :view use JaSerializer.PhoenixView attributes [:tpid, :tag, :prefix, :created_at] end
21.25
48
0.788235
ffdc460a8f7d08287b3b0af729a6a0f929543563
992
ex
Elixir
lib/hello/application.ex
michaelroudnitski/hello-phoenix
3fee75784948b37732a0feba1a31e22b83281e7f
[ "Apache-2.0" ]
3
2020-12-21T07:31:53.000Z
2021-07-07T05:11:32.000Z
lib/hello/application.ex
michaelroudnitski/hello-phoenix
3fee75784948b37732a0feba1a31e22b83281e7f
[ "Apache-2.0" ]
1
2021-12-31T20:45:35.000Z
2021-12-31T20:45:35.000Z
lib/hello/application.ex
michaelroudnitski/hello-phoenix
3fee75784948b37732a0feba1a31e22b83281e7f
[ "Apache-2.0" ]
1
2020-11-17T07:06:17.000Z
2020-11-17T07:06:17.000Z
defmodule Hello.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository Hello.Repo, # Start the Telemetry supervisor HelloWeb.Te...
28.342857
63
0.696573
ffdc849e3298463cc39937c471a8aef3f355954a
2,890
ex
Elixir
lib/hexpm/web/controllers/api/key_controller.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
lib/hexpm/web/controllers/api/key_controller.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
lib/hexpm/web/controllers/api/key_controller.ex
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Web.API.KeyController do use Hexpm.Web, :controller plug :fetch_organization plug :authorize, [ domain: "api", resource: "write", allow_unconfirmed: true, fun: &maybe_organization_access_write/2 ] when action == :create plug :authorize,...
27.788462
82
0.647405
ffdc97793f076987aec396d38c6c836cd740a64d
1,858
ex
Elixir
lib/cgrates_web_jsonapi/tariff_plans/tp_attribute.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
lib/cgrates_web_jsonapi/tariff_plans/tp_attribute.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
lib/cgrates_web_jsonapi/tariff_plans/tp_attribute.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapi.TariffPlans.TpAttribute do use Ecto.Schema import Ecto.Changeset use EctoConditionals, repo: CgratesWebJsonapi.Repo @attributes ~w[tpid tenant custom_id contexts filter_ids activation_interval blocker weight attribute_filter_ids path value cg_type]a use CgratesWeb...
33.781818
93
0.67761
ffdce312f7f9247d86710efd1f5082330b214144
15,001
ex
Elixir
lib/elixir/lib/io.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
defmodule IO do @moduledoc """ Functions handling input/output (IO). Many functions in this module expect an IO device as an argument. An IO device must be a PID or an atom representing a process. For convenience, Elixir provides `:stdio` and `:stderr` as shortcuts to Erlang's `:standard_io` and `:standard...
28.039252
89
0.663489
ffdce416ee43499983feeefaff014dbecf4c9330
2,087
exs
Elixir
catcasts/config/dev.exs
cashmann/phoenix-tutorial
ea37b9d54a79df9bc1351a948eb8f8400c5e62ff
[ "MIT" ]
null
null
null
catcasts/config/dev.exs
cashmann/phoenix-tutorial
ea37b9d54a79df9bc1351a948eb8f8400c5e62ff
[ "MIT" ]
3
2021-03-09T20:36:45.000Z
2021-05-10T17:47:02.000Z
catcasts/config/dev.exs
cashmann/phoenix-tutorial
ea37b9d54a79df9bc1351a948eb8f8400c5e62ff
[ "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 webpack to recompile .js and .css sources. config :catcasts, CatcastsWeb.Endpoint, http: [port: 40...
27.460526
68
0.68759
ffdce8915b48e831898f5c82b33d396c97f72713
389
ex
Elixir
lib/new_relic/telemetry/ecto/supervisor.ex
backdoer/elixir_agent
b42f891ed667fa799d0b82244fb465ce54429127
[ "Apache-2.0" ]
null
null
null
lib/new_relic/telemetry/ecto/supervisor.ex
backdoer/elixir_agent
b42f891ed667fa799d0b82244fb465ce54429127
[ "Apache-2.0" ]
null
null
null
lib/new_relic/telemetry/ecto/supervisor.ex
backdoer/elixir_agent
b42f891ed667fa799d0b82244fb465ce54429127
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Telemetry.Ecto.Supervisor do @moduledoc false use DynamicSupervisor def start_link() do DynamicSupervisor.start_link(__MODULE__, :ok, name: __MODULE__) end def start_child(otp_app) do DynamicSupervisor.start_child(__MODULE__, {NewRelic.Telemetry.Ecto, otp_app}) end def init(...
21.611111
81
0.760925
ffdcf7b4f6beebf5042f8915939427f620bea9ce
1,625
ex
Elixir
haha/elixir/lib/haha_web/endpoint.ex
oasis-open/openc2-lycan-beam
0be49bb26f4489260f3d8c9c64545c0008c52e1c
[ "MIT" ]
4
2018-04-27T19:40:56.000Z
2019-07-02T14:12:30.000Z
haha/elixir/lib/haha_web/endpoint.ex
oasis-open/openc2-lycan-beam
0be49bb26f4489260f3d8c9c64545c0008c52e1c
[ "MIT" ]
8
2018-10-23T20:12:51.000Z
2021-05-11T01:27:53.000Z
haha/elixir/lib/haha_web/endpoint.ex
oasis-open/openc2-lycan-beam
0be49bb26f4489260f3d8c9c64545c0008c52e1c
[ "MIT" ]
3
2018-03-23T20:37:40.000Z
2018-06-13T01:12:31.000Z
defmodule HaHaWeb.Endpoint do use Phoenix.Endpoint, otp_app: :haha socket "/socket", HaHaWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, ...
28.508772
95
0.702769
ffdd14d4c48a5a5962d3cef70d6764d0531573a1
2,787
ex
Elixir
lib/api/real.ex
hectorperez/amplitude_ex
4df519f2e8edfefcc61e5732da1f3b1190bec293
[ "BSD-3-Clause" ]
null
null
null
lib/api/real.ex
hectorperez/amplitude_ex
4df519f2e8edfefcc61e5732da1f3b1190bec293
[ "BSD-3-Clause" ]
null
null
null
lib/api/real.ex
hectorperez/amplitude_ex
4df519f2e8edfefcc61e5732da1f3b1190bec293
[ "BSD-3-Clause" ]
2
2020-04-26T22:17:11.000Z
2021-08-16T14:38:44.000Z
defmodule Amplitude.API.Real do use HTTPoison.Base require Logger @track_api_url "https://api.amplitude.com/httpapi" @identify_api_url "https://api.amplitude.com/identify" defp track_api_url do Application.get_env(:amplitude, :api_host) || @track_api_url end defp identify_api_url, do: @identify_api...
30.966667
97
0.586294
ffdd2dc0bfe02d73638d28de710afedf2cc273bb
1,406
ex
Elixir
test/support/data_case.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
1
2019-06-26T06:53:01.000Z
2019-06-26T06:53:01.000Z
test/support/data_case.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
null
null
null
test/support/data_case.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
null
null
null
defmodule Timetracker.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, it cannot be async. For this reason, every ...
26.037037
77
0.684922
ffdd2eda24afdd710063975eafa908ef8e82ed5d
5,118
ex
Elixir
lib/swoosh/adapters/mailgun.ex
DavidOliver/swoosh
ddbb4c5afb7cdb3416e2b8713e7a5a3cda824179
[ "MIT" ]
null
null
null
lib/swoosh/adapters/mailgun.ex
DavidOliver/swoosh
ddbb4c5afb7cdb3416e2b8713e7a5a3cda824179
[ "MIT" ]
null
null
null
lib/swoosh/adapters/mailgun.ex
DavidOliver/swoosh
ddbb4c5afb7cdb3416e2b8713e7a5a3cda824179
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.Mailgun do @moduledoc ~S""" An adapter that sends email using the Mailgun API. For reference: [Mailgun API docs](https://documentation.mailgun.com/api-sending.html#sending) ## Dependency Mailgun adapter requires `Plug` to work properly. ## Example # config/config.exs ...
31.9875
98
0.646542
ffdd3395942b2d9e1bcd75b38d34e201a0154310
66
ex
Elixir
lib/operation.ex
mpichette/hippy
46d7140b6374426812b2c21e7369345fbdf67b17
[ "MIT" ]
8
2018-04-02T14:14:28.000Z
2021-05-04T19:39:48.000Z
lib/operation.ex
mpichette/hippy
46d7140b6374426812b2c21e7369345fbdf67b17
[ "MIT" ]
1
2018-04-06T01:55:04.000Z
2018-04-06T05:15:47.000Z
lib/operation.ex
mpichette/hippy
46d7140b6374426812b2c21e7369345fbdf67b17
[ "MIT" ]
3
2018-04-02T23:45:51.000Z
2021-04-04T20:14:49.000Z
defprotocol Hippy.Operation do def build_request(operation) end
16.5
30
0.833333
ffdd33aeb483fd1814145579f1f1b831c5cdb877
2,409
exs
Elixir
bench_pg/Elixir/retailixir/config/dev.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
null
null
null
bench_pg/Elixir/retailixir/config/dev.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
27
2020-04-20T06:05:50.000Z
2021-12-09T22:06:37.000Z
bench_pg/Elixir/retailixir/config/dev.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
null
null
null
import Config # Configure your database config :retailixir, Retailixir.Repo, username: "retailer", password: "retailer", database: "retailer_api", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 90 # For development, we disable any cache and enable # debugging and code rel...
32.12
86
0.714404
ffdd4ea187a511e02f41a33ec7cbb79b7bc16d5d
1,133
exs
Elixir
apps/order_parser/config/config.exs
qwertystop/dominions5.analyst
7c39ea14640b3a2d2c70df249688bc501f2f2184
[ "MIT" ]
1
2019-07-04T00:39:31.000Z
2019-07-04T00:39:31.000Z
apps/order_parser/config/config.exs
qwertystop/dominions5.analyst
7c39ea14640b3a2d2c70df249688bc501f2f2184
[ "MIT" ]
null
null
null
apps/order_parser/config/config.exs
qwertystop/dominions5.analyst
7c39ea14640b3a2d2c70df249688bc501f2f2184
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.548387
73
0.753751
ffdd4feca58c1012b40efcaaf9325ab28491d233
172
ex
Elixir
lib/oli_web/live/manual_grading/score_feedback.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/live/manual_grading/score_feedback.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/live/manual_grading/score_feedback.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule OliWeb.ManualGrading.ScoreFeedback do @enforce_keys [ :score, :out_of, :feedback ] defstruct [ :score, :out_of, :feedback ] end
11.466667
47
0.610465
ffdd5ec3cdeaa813dd02b07873abb00a0280ecf5
906
exs
Elixir
test/id_token/certificate_store_test.exs
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
test/id_token/certificate_store_test.exs
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
test/id_token/certificate_store_test.exs
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
defmodule IDToken.CertificateStoreTest do use ExUnit.Case, async: true alias IDToken.{CertificateStore, Certificate} setup do now = DateTime.utc_now() %{ expired_cert: Certificate.new("secret", DateTime.add(now, -60, :second)), unexpired_cert: Certificate.new("secret", DateTime.add(now, 60,...
27.454545
85
0.689845
ffdda0bd47d947191188ee255b82d082535156fa
5,194
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/options.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/options.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/options.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...
83.774194
1,322
0.772237
ffdda1594c8c5bf3939669bee4fdc480975c3c19
360
ex
Elixir
test/support/test_helpers.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
11
2020-07-02T17:02:18.000Z
2021-10-31T11:27:53.000Z
test/support/test_helpers.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
null
null
null
test/support/test_helpers.ex
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
1
2021-01-04T20:29:07.000Z
2021-01-04T20:29:07.000Z
defmodule LiveProps.TestHelpers do @moduledoc false defmacro assert_no_compile(error, message, do: do_block) do quote do assert_raise unquote(error), unquote(message), fn -> defmodule Error do @moduledoc false use LiveProps, include: [:prop, :state] unquote(do_block) ...
24
61
0.636111
ffdda6c1daa3e0d6ac0c1837caf68307e77b337a
9,333
exs
Elixir
test/blue_jet_web/controllers/catalogue/product_collection_membership_controller_test.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
test/blue_jet_web/controllers/catalogue/product_collection_membership_controller_test.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
test/blue_jet_web/controllers/catalogue/product_collection_membership_controller_test.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJetWeb.ProductCollectionMembershipControllerTest do use BlueJetWeb.ConnCase import BlueJet.Identity.TestHelper import BlueJet.Catalogue.TestHelper setup do conn = build_conn() |> put_req_header("accept", "application/vnd.api+json") |> put_req_header("content-type", "applica...
33.815217
99
0.646523
ffddaa4e4e956fa772ef5c09725613dd1203adaf
4,362
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/68.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/68.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/68.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** cm pn conj quantifier cm; adjective noun demonstrative noun cm; pn noun adjective verb cm; adjective verb particle noun cm; adjective verb noun verb cm; SYM pnoun pnoun cm cm; cm noun noun verb cm; cardinal noun verb verb_aux cm; cm noun adjective verb cm; cm noun verb verb_aux cm; cm pn ve...
28.141935
44
0.75447
ffddd5269368dd3081849d6166d1369ef0ecb95b
96
exs
Elixir
module.exs
pferreirafabricio/elixir-hellowWorld
a6d4d409148ec2e43f1c4fea36ab515d210878c4
[ "MIT" ]
null
null
null
module.exs
pferreirafabricio/elixir-hellowWorld
a6d4d409148ec2e43f1c4fea36ab515d210878c4
[ "MIT" ]
null
null
null
module.exs
pferreirafabricio/elixir-hellowWorld
a6d4d409148ec2e43f1c4fea36ab515d210878c4
[ "MIT" ]
null
null
null
defmodule HelloWorld do def sayHelloWorld() do IO.puts("Hello World with a module") end end
16
38
0.75
ffde29a79cdf26e123245e4eb767588bb905106f
5,171
ex
Elixir
lib/symbelix.ex
kek/symbelix
590f0ca3f0eb5b2e6a4f2c2167232caacc2a2b2d
[ "Apache-2.0" ]
null
null
null
lib/symbelix.ex
kek/symbelix
590f0ca3f0eb5b2e6a4f2c2167232caacc2a2b2d
[ "Apache-2.0" ]
null
null
null
lib/symbelix.ex
kek/symbelix
590f0ca3f0eb5b2e6a4f2c2167232caacc2a2b2d
[ "Apache-2.0" ]
null
null
null
defmodule Symbelix do alias Symbelix.Expression @moduledoc """ Expression parser and evaluator. """ @spec run(source :: String.t(), library :: Module.t()) :: any() @doc """ Runs a program specified by the source code `source` together with the function library `library`. Returns the result of the prog...
30.417647
130
0.562174
ffde2e7fb658db3665f3ce2ab64f0e6a9fa443f1
103
exs
Elixir
config/list.exs
kelostrada/peerage
1bc83b2662129161d36901a063553c1650bcbf4e
[ "MIT" ]
389
2016-10-29T01:40:47.000Z
2022-03-19T09:49:26.000Z
config/list.exs
kelostrada/peerage
1bc83b2662129161d36901a063553c1650bcbf4e
[ "MIT" ]
18
2017-01-11T13:27:36.000Z
2019-04-09T20:17:15.000Z
config/list.exs
kelostrada/peerage
1bc83b2662129161d36901a063553c1650bcbf4e
[ "MIT" ]
23
2017-01-11T12:50:18.000Z
2021-04-12T01:42:54.000Z
use Mix.Config config :peerage, via: Peerage.Via.List, node_list: [ :"a@127.0.0.1", :"b@127.0.0.1" ]
20.6
52
0.631068
ffde34e5f4f45075ac0f67a7a6f05b605abda79d
4,413
exs
Elixir
test/glimesh/chat_effects_test.exs
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
test/glimesh/chat_effects_test.exs
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
test/glimesh/chat_effects_test.exs
LittleToonCat/glimesh.tv
97b0eb7881888faeb525e6a99cc73ebb559e8eba
[ "MIT" ]
null
null
null
defmodule Glimesh.ChatEffectsTest do use Glimesh.DataCase import Glimesh.AccountsFixtures import Glimesh.PaymentsFixtures import Phoenix.HTML, only: [safe_to_string: 1] alias Glimesh.Chat.ChatMessage alias Glimesh.Chat.Effects alias Glimesh.StreamModeration describe "chat rendering" do setup do ...
32.688889
93
0.678677
ffde3dd7b5dd488f7dbeb6335071075189f41ca6
184
ex
Elixir
lib/nubank_api/feature.ex
jeffhsta/nubank_api
c4ca246f6e6ff6e77e349293daaff3741d3975ff
[ "MIT" ]
14
2019-02-19T16:59:16.000Z
2021-10-30T14:57:10.000Z
lib/nubank_api/feature.ex
fernandozoomp/API_NuBank
cb05de00d48275f3eae94fa3cb4ea55684289937
[ "MIT" ]
32
2019-02-21T02:40:03.000Z
2020-06-09T00:04:03.000Z
lib/nubank_api/feature.ex
fernandozoomp/API_NuBank
cb05de00d48275f3eae94fa3cb4ea55684289937
[ "MIT" ]
3
2019-02-22T00:20:34.000Z
2021-04-08T20:35:07.000Z
defmodule NubankAPI.Feature do @moduledoc false defmacro __using__(_) do quote do @http Application.get_env(:nubank_api, :http, NubankAPI.HTTPWrapper) end end end
18.4
74
0.722826
ffde50fd928b2f4d889d824558b702f94b2e4e5f
421
exs
Elixir
server/test/blogsley_web/views/error_view_test.exs
blogsley/blogsley-absinthe
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
3
2020-01-23T06:37:18.000Z
2020-12-05T08:31:00.000Z
server/test/blogsley_web/views/error_view_test.exs
blogsley/blogsley-absinthe
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
16
2020-04-04T05:13:52.000Z
2022-03-31T11:19:20.000Z
server/test/blogsley_web/views/error_view_test.exs
blogsley/blogsley
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
null
null
null
defmodule BlogsleyWeb.ErrorViewTest do use BlogsleyWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(BlogsleyWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do ...
28.066667
93
0.736342
ffde8aa251481e5e4aed6bcc91c0f98daea2003f
388
exs
Elixir
elixir/hello_tasks/priv/repo/migrations/20210526230556_add_parameter.exs
ivan-iver/goophers_mx
c2342d9513e07e77f84dee82eaf74ac1ed1ae38f
[ "MIT" ]
null
null
null
elixir/hello_tasks/priv/repo/migrations/20210526230556_add_parameter.exs
ivan-iver/goophers_mx
c2342d9513e07e77f84dee82eaf74ac1ed1ae38f
[ "MIT" ]
null
null
null
elixir/hello_tasks/priv/repo/migrations/20210526230556_add_parameter.exs
ivan-iver/goophers_mx
c2342d9513e07e77f84dee82eaf74ac1ed1ae38f
[ "MIT" ]
null
null
null
defmodule HelloTasks.Repo.Migrations.AddParameter do use Ecto.Migration @comment "Stores the configuration of parameters" def change do create table(:parameter, comment: @comment) do add(:name, :string) add(:data, :string) add(:data_type, :string) add(:description, :string) tim...
21.555556
52
0.664948
ffde8c44ec6c85c3799b30b507345f4de5137a52
2,299
exs
Elixir
mix.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-11-04T20:19:35.000Z
2022-02-15T06:55:49.000Z
mix.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-09-12T01:36:25.000Z
2022-02-18T07:28:42.000Z
mix.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
8
2021-07-23T17:11:41.000Z
2022-03-17T17:07:55.000Z
defmodule ZcashExplorer.MixProject do use Mix.Project def project do [ app: :zcash_explorer, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: a...
29.101266
84
0.551544
ffde9151bab5d6e5f43b42a80aff9fe76fc44f66
1,891
exs
Elixir
test/ex_oauth2_provider/plug/ensure_scopes_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/plug/ensure_scopes_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/plug/ensure_scopes_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.Plug.EnsureScopesTest do @moduledoc false use ExOauth2Provider.ConnCase alias ExOauth2Provider.{Plug, Plug.EnsureScopes} alias Dummy.OauthAccessTokens.OauthAccessToken @default_scopes "read write" defmodule TestHandler do @moduledoc false def unauthorized(conn, _) do ...
26.633803
88
0.681121
ffde934cb9d3816d5ec1353b43ab78a8362d4cbc
4,847
ex
Elixir
clients/vm_migration/lib/google_api/vm_migration/v1/model/compute_engine_target_details.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vm_migration/lib/google_api/vm_migration/v1/model/compute_engine_target_details.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vm_migration/lib/google_api/vm_migration/v1/model/compute_engine_target_details.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...
51.021053
176
0.676501
ffdeb14f3f621cdd27da50fafd95c61893d99bcd
2,145
ex
Elixir
test/support/fixtures/events_fixtures.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
3
2022-03-24T16:48:38.000Z
2022-03-24T16:50:04.000Z
test/support/fixtures/events_fixtures.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
null
null
null
test/support/fixtures/events_fixtures.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
1
2022-03-20T01:11:12.000Z
2022-03-20T01:11:12.000Z
defmodule Tapebas.EventsFixtures do @moduledoc """ This module defines test helpers for creating entities via the `Tapebas.Events` context. """ @doc """ Generate a event description. """ def event_description, do: "some description#{System.unique_integer([:positive])}" @doc """ Generate a unique e...
21.45
84
0.591608
ffded37171bc3499dbf7f63c0d8fa0e366abd2c2
966
ex
Elixir
lib/square_up/resources/v2/catalog_items.ex
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
4
2020-10-21T18:34:50.000Z
2022-03-16T06:25:44.000Z
lib/square_up/resources/v2/catalog_items.ex
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
5
2020-10-21T23:16:32.000Z
2021-05-13T13:42:44.000Z
lib/square_up/resources/v2/catalog_items.ex
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
3
2020-10-21T21:20:36.000Z
2021-03-15T18:00:30.000Z
defmodule SquareUp.V2.CatalogItems do import Norm import SquareUp.Client, only: [call: 2] @spec search(SquareUp.Client.t(), %{}, SquareUp.TypeSpecs.search_catalog_items_request(), %{}) :: SquareUp.Client.response(SquareUp.TypeSpecs.search_catalog_items_response()) def search(client, path_params \\ %{...
35.777778
99
0.704969
ffdeda6767a74c51c0148ae6a4c91e2b3fdcf00e
979
exs
Elixir
exercism/elixir/leap/test/year_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/leap/test/year_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/leap/test/year_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule YearTest do use ExUnit.Case test "year not divisible by 4 is common year" do refute Year.leap_year?(2015) end test "year divisible by 2, not divisible by 4 is common year" do refute Year.leap_year?(1970) end test "year divisible by 4, not divisible by 100 is leap year" do assert Yea...
24.475
71
0.703779
ffdeef95632100ae3a217b1c0c8dda931bb3ef2f
3,263
ex
Elixir
lib/scripts/brainfuck.ex
Inouju/mambo
facc3b4bca4ce88ae1e65219d9342105108d97f3
[ "MIT" ]
15
2016-01-24T00:08:40.000Z
2017-09-04T05:40:48.000Z
lib/scripts/brainfuck.ex
Inouju/mambo
facc3b4bca4ce88ae1e65219d9342105108d97f3
[ "MIT" ]
7
2016-02-07T07:14:16.000Z
2020-01-26T23:57:09.000Z
lib/scripts/brainfuck.ex
Inouju/mambo
facc3b4bca4ce88ae1e65219d9342105108d97f3
[ "MIT" ]
2
2016-03-23T14:16:44.000Z
2020-03-22T13:46:59.000Z
defmodule Brainfuck do @moduledoc """ Brainfuck interpreter. Examples .bf ++++++++++[>++++++++>++++++<<-]>---.>+++++.<.>+.<++. """ use GenEvent @tape <<0 :: size(30000) - unit(8)>> @data_pointer 0 def init(_) do {:ok, []} end def handle_event({:msg, {".help brainfuck", _, {cid,_,_}}},...
26.745902
85
0.557769
ffdf2e6ce8bf82b6c0f2b6f6480a41589a428b1d
1,546
ex
Elixir
test/support/rem/test/factory.ex
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
4
2022-02-20T13:33:48.000Z
2022-03-31T00:48:52.000Z
test/support/rem/test/factory.ex
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
1
2022-02-22T05:42:05.000Z
2022-02-22T05:42:05.000Z
test/support/rem/test/factory.ex
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
null
null
null
defmodule Rem.Test.Factory do @moduledoc """ This module handles ex-machina's factory declaration. It is intended for factory declaration _only_, if you want to create cases that require insertions or multiple build, write it in Rem.Test.Scenario instead. """ use ExMachina.Ecto, repo: Rem.Repo # ---...
24.935484
84
0.582147
ffdf3e6b114b2491eb5ba92367b03228099c81b4
1,126
ex
Elixir
test/fixtures/host_tool/lib/host_tool/platform.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
1,944
2016-01-25T14:04:50.000Z
2022-03-30T13:25:53.000Z
test/fixtures/host_tool/lib/host_tool/platform.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
397
2016-05-19T21:17:51.000Z
2022-03-30T18:02:49.000Z
test/fixtures/host_tool/lib/host_tool/platform.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
191
2016-01-30T01:56:25.000Z
2022-03-30T17:58:57.000Z
defmodule HostTool.Platform do use Nerves.Package.Platform alias Nerves.Artifact def bootstrap(pkg) do path = System.get_env("PATH") System.put_env("PATH", "#{Nerves.Artifact.Cache.get(pkg)}:#{path}") :ok end def build(pkg, _toolchain, _opts) do build_path = Artifact.build_path(pkg) Fil...
19.413793
71
0.634103
ffdf76a95a21b71a5a2baf8e7dd5a6efed93f316
4,836
exs
Elixir
test/gen_websocket_test.exs
ejscunha/gen_websocket
e8d88e00cce7e07079898868e6a10edfb0e3973a
[ "MIT" ]
null
null
null
test/gen_websocket_test.exs
ejscunha/gen_websocket
e8d88e00cce7e07079898868e6a10edfb0e3973a
[ "MIT" ]
null
null
null
test/gen_websocket_test.exs
ejscunha/gen_websocket
e8d88e00cce7e07079898868e6a10edfb0e3973a
[ "MIT" ]
null
null
null
defmodule GenWebsocketTest do use ExUnit.Case alias GenWebsocket.Support.WebsocketServer @host 'localhost' setup context do port = Enum.random(49152..65535) opts = context |> Map.get(:opts, []) |> Keyword.put(:port, port) {:ok, server_pid} = start_supervised({WebsocketServer, o...
31.607843
114
0.656741
ffdff95e262031641a4855d99700886bfaf798af
563
exs
Elixir
test/views/error_view_test.exs
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
Wilo/mediax
0f3ceda0662bae5bd13f08cada5e8ad34715dd0a
[ "MIT" ]
null
null
null
defmodule Mediax.ErrorViewTest do use Mediax.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Mediax.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do ...
25.590909
66
0.673179
ffdffe2843c0163d91388fd9d6564b375b1b328e
882
exs
Elixir
mix.exs
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
null
null
null
mix.exs
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
1
2020-04-22T15:10:28.000Z
2020-04-22T15:10:28.000Z
mix.exs
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
null
null
null
defmodule PhoenixTsInterface.Mixfile do use Mix.Project def project do [ app: :phoenix_ts_interface, version: "1.0.0", elixir: "~> 1.10", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps...
20.045455
75
0.554422
ffe02a2f317d37ba1a4916a2bac4f755c48307dd
320
ex
Elixir
test/support/test_convenience_helpers.ex
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
test/support/test_convenience_helpers.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
test/support/test_convenience_helpers.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBox.TestConvenienceHelpers do def named_proxy(name, init_func \\ nil) do me = self() spawn_link(fn -> if init_func, do: init_func.() Stream.iterate(0, & &1) |> Enum.each(fn _ -> receive do x -> send(me, {name, x}) end end) end) end end
18.823529
45
0.55
ffe0322ba84f8672c0023834e64cead04a22cde9
67
ex
Elixir
create_fun_umbrella/apps/create_fun_cms/lib/create_fun_cms/views/artist_view.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
null
null
null
create_fun_umbrella/apps/create_fun_cms/lib/create_fun_cms/views/artist_view.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
9
2018-06-17T09:54:03.000Z
2018-06-17T09:55:20.000Z
create_fun_umbrella/apps/create_fun_cms/lib/create_fun_cms/views/artist_view.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
1
2018-06-05T18:38:01.000Z
2018-06-05T18:38:01.000Z
defmodule CreateFunCms.ArtistView do use CreateFunCms, :view end
16.75
36
0.820896
ffe04eeaec8987c23a7a52c301a2fc7cd503a01a
4,617
ex
Elixir
chromoid_web/lib/chromoid_discord/fake_discord_source.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
7
2020-11-18T11:29:20.000Z
2022-01-16T03:16:14.000Z
chromoid_web/lib/chromoid_discord/fake_discord_source.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
null
null
null
chromoid_web/lib/chromoid_discord/fake_discord_source.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
1
2021-01-06T15:40:46.000Z
2021-01-06T15:40:46.000Z
defmodule ChromoidDiscord.FakeDiscordSource do @moduledoc """ Stub interface for dispatching Discord events """ use GenServer require Logger def message_create(%Nostrum.Struct.Message{guild_id: guild_id} = message) do guild = %Nostrum.Struct.Guild{id: guild_id} ChromoidDiscord.Guild.EventDispatche...
25.368132
91
0.62963
ffe07eeb72899b7bd8bf8e9c8a3ad55f6481da06
184
exs
Elixir
app/priv/repo/migrations/20201102214719_add_recording_type.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
1
2021-01-20T20:00:50.000Z
2021-01-20T20:00:50.000Z
app/priv/repo/migrations/20201102214719_add_recording_type.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
app/priv/repo/migrations/20201102214719_add_recording_type.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
defmodule Noodl.Repo.Migrations.AddRecordingType do use Ecto.Migration def change do alter table(:recordings) do add :type, :string, default: "system" end end end
18.4
51
0.706522
ffe0aa528fb0fd2f9f15a4d2f72e0d60be38e808
2,899
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/83.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/83.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set1/TrainingInstances/83.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** pnoun cm cm verb noun; nst adjective cm pnoun noun; verb_aux SYM cm noun noun; cardinal noun pnoun cm pnoun; pnoun cm pnoun cm pnoun; pn nst pnoun cardinal pnoun; noun verb pnoun cm pnoun; pnoun cm pnoun cm pnoun; conj pnoun pnoun cm pnoun; adjective noun pnoun cm pnoun; SYM adjective cm ad...
28.145631
38
0.756123
ffe0ae7804fc2cddea49d595a8712e548f1ba59c
6,129
exs
Elixir
lib/eex/test/eex/tokenizer_test.exs
sjBao/elixir
52ee3ac163098f91f15dcb1360ae801a98453a77
[ "Apache-2.0" ]
1
2020-01-14T18:44:56.000Z
2020-01-14T18:44:56.000Z
lib/eex/test/eex/tokenizer_test.exs
sjBao/elixir
52ee3ac163098f91f15dcb1360ae801a98453a77
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex/tokenizer_test.exs
sjBao/elixir
52ee3ac163098f91f15dcb1360ae801a98453a77
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule EEx.TokenizerTest do use ExUnit.Case, async: true require EEx.Tokenizer, as: T test "simple chars lists" do assert T.tokenize('foo', 1, 1) == {:ok, [{:text, 'foo'}]} end test "simple strings" do assert T.tokenize("foo", 1, 1) == {:ok, [{:te...
27.484305
98
0.472508
ffe0c557bbef810c3a8fdd6e3bb45e33a038653d
832
ex
Elixir
elixir/basic/programming_elixir/ch5/ex_functions_1/lib/ex_functions1.ex
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
elixir/basic/programming_elixir/ch5/ex_functions_1/lib/ex_functions1.ex
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
16
2020-05-30T12:38:13.000Z
2022-02-19T09:23:31.000Z
elixir/basic/programming_elixir/ch5/ex_functions_1/lib/ex_functions1.ex
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
defmodule ExFunctions1 do @moduledoc """ Documentation for ExFunctions1. """ @doc """ list_concat concatenates 2 lists ## Examples iex> ExFunctions1.list_concat([:a, :b], [:c, :d]) [:a, :b, :c, :d] """ @spec list_concat(list(), list()) :: list() def list_concat(list_1, list_2) do ...
16.313725
67
0.585337
ffe0c5e659e759f6160c1051c233b08386571b27
2,119
ex
Elixir
lib/consumer/error_consumer.ex
MajAhd/elx_logger
b0bd1596ba6d8973f9eece523228984a2ca77d0e
[ "MIT" ]
1
2021-07-03T08:27:50.000Z
2021-07-03T08:27:50.000Z
lib/consumer/error_consumer.ex
MajAhd/elx_logger
b0bd1596ba6d8973f9eece523228984a2ca77d0e
[ "MIT" ]
null
null
null
lib/consumer/error_consumer.ex
MajAhd/elx_logger
b0bd1596ba6d8973f9eece523228984a2ca77d0e
[ "MIT" ]
null
null
null
defmodule ElxLogger.ErrorConsumer do @moduledoc """ Error Consumer - create Error Consumer via genserver - Exchange type : Topic - incomming topics: - error.db : save log to database - error.file : save log to file - error.mail : publish log via email """ use GenServer use A...
30.271429
99
0.662577
ffe0ecc36bab3c90e79733470704c29cbd5ae35d
10,103
ex
Elixir
lib/oban/query.ex
andyl/oban
90af5ae5e999a46b912a60407f1f6396ddc06469
[ "Apache-2.0" ]
1
2021-11-20T19:16:24.000Z
2021-11-20T19:16:24.000Z
lib/oban/query.ex
andyl/oban
90af5ae5e999a46b912a60407f1f6396ddc06469
[ "Apache-2.0" ]
null
null
null
lib/oban/query.ex
andyl/oban
90af5ae5e999a46b912a60407f1f6396ddc06469
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Query do @moduledoc false import Ecto.Query import DateTime, only: [utc_now: 0] alias Ecto.{Changeset, Multi} alias Oban.{Beat, Config, Job} @spec fetch_available_jobs(Config.t(), binary(), binary(), pos_integer()) :: {integer(), nil | [Job.t()]} def fetch_available_jobs(%Confi...
33.789298
101
0.623775
ffe0ede87bb4198d8b44a7f8b174c832d166feaa
3,255
exs
Elixir
test/logger_logstash_backend_test.exs
EasyMile/logger_logstash_backend
59df57a59108e6d29d00cf941428eb01fd8bea46
[ "Apache-2.0" ]
null
null
null
test/logger_logstash_backend_test.exs
EasyMile/logger_logstash_backend
59df57a59108e6d29d00cf941428eb01fd8bea46
[ "Apache-2.0" ]
null
null
null
test/logger_logstash_backend_test.exs
EasyMile/logger_logstash_backend
59df57a59108e6d29d00cf941428eb01fd8bea46
[ "Apache-2.0" ]
1
2020-04-28T10:14:04.000Z
2020-04-28T10:14:04.000Z
################################################################################ # Copyright 2015 Marcelo Gornstein <marcelog@gmail.com> # # 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 # # ...
28.552632
80
0.586482
ffe101575e978a42905d6e1e9473c57fd2ca705e
4,165
ex
Elixir
geronimo/lib/geronimo/utils/crud.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
geronimo/lib/geronimo/utils/crud.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
geronimo/lib/geronimo/utils/crud.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule Geronimo.Crud do defmacro __using__(_) do quote do alias Geronimo.Repo def get_all(scope) do (from m in __MODULE__, where: fragment("scope @> ?", ^scope)) |> Repo.all end def get(id, scope \\ "1") do try do case Repo.one(from m in __MODULE__, w...
33.055556
118
0.52461
ffe14fea9dce9f2233274f9dc3d3e8f11b6d0b78
399
exs
Elixir
priv/repo/migrations/20181101051243_create_replies.exs
The-Vikings/phoenix-and-elm
c6c6bcc2415a479b81cae09cd62872873c7b7e78
[ "MIT" ]
1
2018-10-27T13:52:51.000Z
2018-10-27T13:52:51.000Z
priv/repo/migrations/20181101051243_create_replies.exs
The-Vikings/phoenix-and-elm
c6c6bcc2415a479b81cae09cd62872873c7b7e78
[ "MIT" ]
1
2018-11-01T08:12:02.000Z
2018-11-01T09:37:56.000Z
priv/repo/migrations/20181101051243_create_replies.exs
The-Vikings/phoenix-and-elm
c6c6bcc2415a479b81cae09cd62872873c7b7e78
[ "MIT" ]
null
null
null
defmodule PhoenixAndElm.Repo.Migrations.CreateReplies do use Ecto.Migration def change do create table(:replies) do add :body, :string add :user_id, references(:users, on_delete: :nothing) add :question_id, references(:questions, on_delete: :nothing) timestamps() end create in...
23.470588
67
0.686717
ffe15f345f57a555e3401d04bb2037f0ad2524cf
116
ex
Elixir
{{cookiecutter.project_underscored}}/lib/{{cookiecutter.project_underscored}}/web/html/page/page_view.ex
ijcd/cookiecutter-screaming-phoenix
f34ca6704f8f8b0581e91b4f6e3e75239fb79cb1
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.project_underscored}}/lib/{{cookiecutter.project_underscored}}/web/html/page/page_view.ex
ijcd/cookiecutter-screaming-phoenix
f34ca6704f8f8b0581e91b4f6e3e75239fb79cb1
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.project_underscored}}/lib/{{cookiecutter.project_underscored}}/web/html/page/page_view.ex
ijcd/cookiecutter-screaming-phoenix
f34ca6704f8f8b0581e91b4f6e3e75239fb79cb1
[ "Apache-2.0" ]
null
null
null
defmodule {{cookiecutter.project_module}}.Web.HTML.PageView do use {{cookiecutter.project_module}}.Web, :view end
29
62
0.784483
ffe15f7e78d0cb47c81cbc32cb2f39fad6f59f06
15,622
ex
Elixir
lib/elasticsearch.ex
LetThereBeDwight/elasticsearch-elixir
a24a198fe38aae7886fb0765ccc487ed65e995e5
[ "MIT" ]
215
2019-01-28T23:31:14.000Z
2022-03-31T16:03:30.000Z
lib/elasticsearch.ex
LetThereBeDwight/elasticsearch-elixir
a24a198fe38aae7886fb0765ccc487ed65e995e5
[ "MIT" ]
56
2018-01-02T17:52:54.000Z
2019-01-19T16:05:47.000Z
lib/elasticsearch.ex
LetThereBeDwight/elasticsearch-elixir
a24a198fe38aae7886fb0765ccc487ed65e995e5
[ "MIT" ]
39
2019-03-12T20:35:03.000Z
2022-03-11T16:49:45.000Z
defmodule Elasticsearch do @moduledoc """ Entry-point for interacting with your Elasticsearch cluster(s). You should configure at least one `Elasticsearch.Cluster` in order to use the functions in this module, or else you'll need to pass all the configuration for the cluster into each function call. """ ...
31.369478
109
0.579951
ffe1719e4465e76c1519946fd0a2213119658ec1
384
exs
Elixir
programming_elixir_1.3_snippets/protocols/is_collection.exs
benjohns1/elixer-app
6e866ec084c5e75442c0b70f66e35f61b5b74d34
[ "MIT" ]
null
null
null
programming_elixir_1.3_snippets/protocols/is_collection.exs
benjohns1/elixer-app
6e866ec084c5e75442c0b70f66e35f61b5b74d34
[ "MIT" ]
null
null
null
programming_elixir_1.3_snippets/protocols/is_collection.exs
benjohns1/elixer-app
6e866ec084c5e75442c0b70f66e35f61b5b74d34
[ "MIT" ]
null
null
null
defprotocol Collection do @fallback_to_any true def is_collection?(value) end defimpl Collection, for: [List, Tuple, BitString, Map] do def is_collection?(_), do: true end defimpl Collection, for: Any do def is_collection?(_), do: false end Enum.each [1, 1.0, [1,2], {1,2}, %{}, "cat", 'cat'], fn value -> IO....
27.428571
132
0.6875
ffe181dc78a34ff40921cd92b8662142322d93c8
20,309
ex
Elixir
lib/teiserver/coordinator/consul_commands.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
1
2021-02-23T22:34:12.000Z
2021-02-23T22:34:12.000Z
lib/teiserver/coordinator/consul_commands.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
lib/teiserver/coordinator/consul_commands.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
defmodule Teiserver.Coordinator.ConsulCommands do require Logger alias Teiserver.Coordinator.ConsulServer alias Teiserver.{Coordinator, User, Client} alias Teiserver.Battle.{Lobby, LobbyChat} # alias Phoenix.PubSub # alias Teiserver.Data.Types, as: T @doc """ Command has structure: %{ raw: ...
34.597956
365
0.637648
ffe18a11598429bcb81511f1dd28939a7cb80906
1,152
ex
Elixir
lib/apportion.ex
garyf/apportion_ex
1f65f2087976e920d303463f72d72b94e0534325
[ "MIT" ]
2
2016-09-25T22:16:54.000Z
2020-01-13T19:33:19.000Z
lib/apportion.ex
garyf/apportion_ex
1f65f2087976e920d303463f72d72b94e0534325
[ "MIT" ]
null
null
null
lib/apportion.ex
garyf/apportion_ex
1f65f2087976e920d303463f72d72b94e0534325
[ "MIT" ]
null
null
null
defmodule Apportion do @moduledoc """ Top level interface, or API, to proportionally distribute a quantity """ alias Apportion.Algorithm.EqualProportions alias Apportion.Setup alias Apportion.Util @doc """ Distributes a quantity proportionally among recipients per relative weights using the 'equal...
32
87
0.711806
ffe20dcd7b57d580c4edf99b9c0d2958ba7d6db9
1,833
exs
Elixir
mix.exs
Iluminai/bow
b3ccefb1aaac9fb55e4f9f81832a9f1b7141c2b4
[ "MIT" ]
null
null
null
mix.exs
Iluminai/bow
b3ccefb1aaac9fb55e4f9f81832a9f1b7141c2b4
[ "MIT" ]
2
2021-06-28T23:04:53.000Z
2021-06-29T18:31:07.000Z
mix.exs
Iluminai/bow
b3ccefb1aaac9fb55e4f9f81832a9f1b7141c2b4
[ "MIT" ]
null
null
null
defmodule Bow.Mixfile do use Mix.Project @version "0.4.0" def project do [ app: :bow, version: @version, elixir: "~> 1.11", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps(), test_coverage: [tool: Co...
21.068966
68
0.507365
ffe24d5d96be554f659b6de9e23115e3466bbb7d
1,279
ex
Elixir
lib/arc/actions/delete.ex
hollar/arc
e2871e02c8aab0aaba885c8d141ed3a51a1ec8a8
[ "Apache-2.0" ]
1,213
2015-06-18T04:01:20.000Z
2022-01-19T18:47:23.000Z
lib/arc/actions/delete.ex
hollar/arc
e2871e02c8aab0aaba885c8d141ed3a51a1ec8a8
[ "Apache-2.0" ]
260
2015-06-18T22:34:58.000Z
2022-01-06T17:43:29.000Z
lib/arc/actions/delete.ex
hollar/arc
e2871e02c8aab0aaba885c8d141ed3a51a1ec8a8
[ "Apache-2.0" ]
270
2015-07-07T17:10:31.000Z
2021-11-13T09:16:03.000Z
defmodule Arc.Actions.Delete do defmacro __using__(_) do quote do def delete(args), do: Arc.Actions.Delete.delete(__MODULE__, args) defoverridable [{:delete, 1}] end end def delete(definition, {filepath, scope}) when is_binary(filepath) do do_delete(definition, {%{file_name: filepa...
27.804348
88
0.680219
ffe26907031f62b0b67c5acc10a9bd76e7a66ac0
1,163
ex
Elixir
web/channels/user_socket.ex
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
web/channels/user_socket.ex
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
web/channels/user_socket.ex
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
defmodule Scipse.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", Scipse.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authentic...
30.605263
83
0.700774
ffe2841fb3af0c4247126ca449c8237c82b757ce
1,993
ex
Elixir
lib/elixir_jobs/offers/offer.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
lib/elixir_jobs/offers/offer.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
lib/elixir_jobs/offers/offer.ex
savekirk/elixir_jobs
d7ec0f088a1365f3ae5cbbd6c07c2b3fdde9a946
[ "MIT" ]
null
null
null
defmodule ElixirJobs.Offers.Offer do use Ecto.Schema import Ecto.Changeset alias ElixirJobs.{ Offers.Offer, EctoEnums.JobPlace, EctoEnums.JobType } @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "offers" do field :title, :string field :company...
25.883117
99
0.638234
ffe28708524bd418a49bdf3a9dcb7975c517fd2a
1,696
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/substring_match_criteria.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/substring_match_criteria.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/substring_match_criteria.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...
32
109
0.717571
ffe299352339cc175337aabf5c55f25da6487170
1,368
ex
Elixir
test/support/data_case.ex
aeons/elixir-elm-todo
2dd4577e94eb28025ea2d1ea925626e4ee3b181a
[ "MIT" ]
null
null
null
test/support/data_case.ex
aeons/elixir-elm-todo
2dd4577e94eb28025ea2d1ea925626e4ee3b181a
[ "MIT" ]
null
null
null
test/support/data_case.ex
aeons/elixir-elm-todo
2dd4577e94eb28025ea2d1ea925626e4ee3b181a
[ "MIT" ]
null
null
null
defmodule Todo.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, it cannot be async. For this reason, every test ru...
25.333333
77
0.67617
ffe2ad4d24c25cfc3e9c52cb9247cc9c7908ce46
1,497
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment_update_label_entry.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment_update_label_entry.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/deployment_update_label_entry.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.94
95
0.724115
ffe2b94464d3a7892f1acfa26341fc8f285b2da8
2,118
exs
Elixir
config/dev.exs
seent-app/seent
6071a0f90f1cb5345faa0c9e476d3c64310a7be9
[ "0BSD" ]
null
null
null
config/dev.exs
seent-app/seent
6071a0f90f1cb5345faa0c9e476d3c64310a7be9
[ "0BSD" ]
1
2020-07-04T17:19:38.000Z
2020-07-04T17:19:38.000Z
config/dev.exs
seent-app/seent
6071a0f90f1cb5345faa0c9e476d3c64310a7be9
[ "0BSD" ]
null
null
null
use Mix.Config # Configure your database config :seent, Seent.Repo, username: "postgres", password: "postgres", database: "seent_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading. # # ...
27.506494
68
0.687913
ffe2c7a579e3dfeffcea6f4c859577a3382dc213
3,036
exs
Elixir
test/oli/delivery/page/objectives_rollup_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
test/oli/delivery/page/objectives_rollup_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
test/oli/delivery/page/objectives_rollup_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Page.ObjectivesRollupTest do use Oli.DataCase alias Oli.Delivery.Page.ObjectivesRollup describe "page context" do setup do content = %{ "stem" => "1", "authoring" => %{ "parts" => [ %{ "id" => "1", "responses" => [...
29.475728
94
0.520751
ffe2cb4c86dc6e908fe5105e542d8a24141aa773
782
ex
Elixir
apps/idp/src/idp/permissions/permissions.ex
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
apps/idp/src/idp/permissions/permissions.ex
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
apps/idp/src/idp/permissions/permissions.ex
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
defmodule Idp.Permissions do @moduledoc false use Idp.Base.Query alias Idp.Permissions.{Permission, PermissionForms} def all, do: Repo.all(Permission) def find_by_id(permission_id) do Repo.one(from p in Permission, where: p.id == ^permission_id) end def find_by_project(project_id) do Repo.one(...
21.722222
70
0.675192
ffe2e70d52a6824dbd74a02c851830a71dcc2956
3,136
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/export_dicom_data_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/export_dicom_data_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/export_dicom_data_request.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...
51.409836
435
0.777423
ffe2f173539ac55fefeaa0e33006c28e86d6b186
2,626
exs
Elixir
exercises/concept/rpn-calculator-output/test/rpn_calculator/output_test.exs
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/concept/rpn-calculator-output/test/rpn_calculator/output_test.exs
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/concept/rpn-calculator-output/test/rpn_calculator/output_test.exs
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule RPNCalculator.OutputTest do use ExUnit.Case setup do on_exit(fn -> File.rm("filename") end) end def open(filename \\ "<nil>") do send(self(), {:open, filename}) case filename do "filename" -> File.open(filename, [:write]) "bad_filename" -> {:ok, spawn(fn -> nil end)} end...
27.354167
108
0.645468