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
ffe36545e56f529c84aefddae8c5708b8cb90003
1,123
exs
Elixir
config/config.exs
X4lldux/disc_union
e5b5a2d775a0536fa492c311bc297f71b0a5980d
[ "MIT" ]
58
2016-05-14T03:56:22.000Z
2019-04-18T14:45:27.000Z
config/config.exs
X4lldux/disc_union
e5b5a2d775a0536fa492c311bc297f71b0a5980d
[ "MIT" ]
5
2016-08-30T19:47:33.000Z
2017-02-04T22:50:40.000Z
config/config.exs
x4lldux/disc_union
e5b5a2d775a0536fa492c311bc297f71b0a5980d
[ "MIT" ]
2
2017-02-03T15:39:23.000Z
2018-11-21T15:30:59.000Z
# 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.225806
73
0.752449
ffe3672bb1e69605223ff975e6bb98eccfacab0a
472
ex
Elixir
lib/gexbot/github/app.ex
jakewilkins/gexbot
b92cd5bae794becaedbee9c8884e4b66942198b7
[ "WTFPL" ]
null
null
null
lib/gexbot/github/app.ex
jakewilkins/gexbot
b92cd5bae794becaedbee9c8884e4b66942198b7
[ "WTFPL" ]
null
null
null
lib/gexbot/github/app.ex
jakewilkins/gexbot
b92cd5bae794becaedbee9c8884e4b66942198b7
[ "WTFPL" ]
null
null
null
defmodule Gexbot.Github.App do alias Tentacat.Client alias Gexbot.Github.App.Token def client_from(%{installation_id: _id} = spec) do Client.new(Token.installation(spec)) end def client_from(%{user_id: _id} = spec) do Client.new(Token.user(spec)) end def client_from(%{oauth_code: _id} = spec) d...
22.47619
67
0.699153
ffe3682d6eea40baf83ec071054243a01cd66df8
2,135
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/creative_click_through_url.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/creative_click_through_url.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/creative_click_through_url.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...
40.283019
357
0.742389
ffe37f13408efaeb1e0a439f21374d5437b4f9c0
1,931
ex
Elixir
lib/wobserver2/web/client_proxy.ex
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
lib/wobserver2/web/client_proxy.ex
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
lib/wobserver2/web/client_proxy.ex
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
defmodule Wobserver2.Web.ClientProxy do @moduledoc ~S""" ClientProxy will proxy websocket requests from `Wobserver2.Web.ClientSocket` to a remote node. TODO: Needs config. """ @behaviour :websocket_client @doc false @spec connect(url :: String.t(), client :: pid) :: {:ok, pid} | any...
24.1375
96
0.618332
ffe38009f1e2faf5915a97653b281cdd4ebe16d9
397
exs
Elixir
apps/re/priv/repo/migrations/20190221135204_create_developments.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/priv/repo/migrations/20190221135204_create_developments.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re/priv/repo/migrations/20190221135204_create_developments.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Repo.Migrations.CreateDevelopments do use Ecto.Migration def up do create table(:developments) do add(:name, :string) add(:title, :string) add(:phase, :string) add(:builder, :string) add(:description, :text) add(:address_id, references(:addresses)) timest...
18.904762
50
0.634761
ffe3a788a4691f823a016e2b1e3109d2e6af38b7
641
ex
Elixir
lib/coderjobs/others/resume.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
28
2017-11-20T02:01:17.000Z
2021-05-08T16:52:58.000Z
lib/coderjobs/others/resume.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
1
2018-12-05T06:07:36.000Z
2018-12-09T17:33:28.000Z
lib/coderjobs/others/resume.ex
johndavedecano/CoderJobs
a185c3129f92430d8e72184f359c16f93f24c43b
[ "MIT" ]
3
2017-12-21T03:29:39.000Z
2019-08-11T02:56:08.000Z
defmodule Coderjobs.Others.Resume do use Ecto.Schema import Ecto.Changeset alias Coderjobs.Others.Resume schema "" do field :email, :string field :coverletter, :string field :name, :string field :github, :string field :website, :string field :resume, :string ...
24.653846
88
0.591264
ffe3a8ff3d99f0a1482c07038e5cb813e4595757
342
exs
Elixir
priv/repo/seeds.exs
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Hangman.Repo.insert!(%SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail if ...
28.5
61
0.701754
ffe3b8a788743eade8e711259b3f88ab5ff13af7
2,442
exs
Elixir
mix.exs
shagberg/teslamate
1f139b29bd5c2c93b158bdef10c66f9f3556e95c
[ "MIT" ]
null
null
null
mix.exs
shagberg/teslamate
1f139b29bd5c2c93b158bdef10c66f9f3556e95c
[ "MIT" ]
null
null
null
mix.exs
shagberg/teslamate
1f139b29bd5c2c93b158bdef10c66f9f3556e95c
[ "MIT" ]
null
null
null
defmodule TeslaMate.MixProject do use Mix.Project def project do [ app: :teslamate, version: "1.15.1", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases()...
25.705263
94
0.514742
ffe3c196520ee4bef2110288b2e4b9a8ca25d46c
1,284
exs
Elixir
apps/bank/mix.exs
patrickdet/acme_bank
b9660d995ef8eea94f921511a3936bf354d2fbbc
[ "MIT" ]
2
2020-04-07T20:02:24.000Z
2021-02-27T13:32:13.000Z
apps/bank/mix.exs
patrickdet/acme_bank
b9660d995ef8eea94f921511a3936bf354d2fbbc
[ "MIT" ]
null
null
null
apps/bank/mix.exs
patrickdet/acme_bank
b9660d995ef8eea94f921511a3936bf354d2fbbc
[ "MIT" ]
null
null
null
defmodule Bank.Mixfile do use Mix.Project def project do [app: :bank, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: ">= 1.3.2", elixirc_paths: elixirc_paths(Mix.env), bui...
26.75
64
0.583333
ffe3c47dc4e86644427d2f1ec078c21fe64e5484
457
exs
Elixir
test/elixir_cluster_demo_web/views/error_view_test.exs
isabella232/elixir_cluster
1e81d191e50b8959200770d47fd7c0b609b658e4
[ "MIT" ]
18
2019-06-06T19:30:48.000Z
2021-08-24T19:17:37.000Z
test/elixir_cluster_demo_web/views/error_view_test.exs
isabella232/elixir_cluster
1e81d191e50b8959200770d47fd7c0b609b658e4
[ "MIT" ]
2
2020-03-29T21:28:56.000Z
2020-11-19T17:13:56.000Z
test/elixir_cluster_demo_web/views/error_view_test.exs
isabella232/elixir_cluster
1e81d191e50b8959200770d47fd7c0b609b658e4
[ "MIT" ]
7
2019-09-11T11:29:37.000Z
2022-03-26T07:45:37.000Z
defmodule ElixirClusterDemoWeb.ErrorViewTest do use ElixirClusterDemoWeb.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(ElixirClusterDemoWeb.ErrorView, "404.html", []) == "Not Found" end tes...
30.466667
102
0.757112
ffe3d76bc0e925888bc8b22cdb1896c15dbdc9b4
117,548
ex
Elixir
lib/aws/generated/iam.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/iam.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/iam.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "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.IAM do @moduledoc """ AWS Identity and Access Management AWS Identity and Access Management (IAM) is a web service for securely controlling access to AWS services. With IAM, you can centr...
43.471893
138
0.750374
ffe3e5b564bae90173a29538c5bcbe55b9b2e6b2
733
ex
Elixir
lib/steve/job.ex
satom99/steve
6425eff76e68605c5e882351e118e783abfe7ccc
[ "Apache-2.0" ]
null
null
null
lib/steve/job.ex
satom99/steve
6425eff76e68605c5e882351e118e783abfe7ccc
[ "Apache-2.0" ]
null
null
null
lib/steve/job.ex
satom99/steve
6425eff76e68605c5e882351e118e783abfe7ccc
[ "Apache-2.0" ]
null
null
null
defmodule Steve.Job do alias Ecto.UUID alias __MODULE__ @enforce_keys [:queue, :worker] defstruct [ :id, :queue, :worker, arguments: [], max_retries: 5, expiry_days: 7 ] @type t :: %Job{ queue: :term, worker: module, argum...
20.942857
58
0.547067
ffe3eb72eb319612801419f48757569d931238c9
1,925
ex
Elixir
clients/content/lib/google_api/content/v21/model/buy_on_google_program_status.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/content/lib/google_api/content/v21/model/buy_on_google_program_status.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/buy_on_google_program_status.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.320755
116
0.738701
ffe40f552577163e368ec9d9d75ab7a9bee35ad1
1,285
exs
Elixir
config/dev.exs
piersadrian/hal
190e3fb1cd0d187ac3ef485d1bf9e2623296ae16
[ "MIT" ]
null
null
null
config/dev.exs
piersadrian/hal
190e3fb1cd0d187ac3ef485d1bf9e2623296ae16
[ "MIT" ]
null
null
null
config/dev.exs
piersadrian/hal
190e3fb1cd0d187ac3ef485d1bf9e2623296ae16
[ "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 :hal, HALWeb.Endpoint, http: [port: 4000], d...
33.815789
170
0.73463
ffe442d4d53d47625680a2a0aab6c5046e9673cf
2,583
exs
Elixir
mix.exs
ArcBlock/abt-did-elixir
7079ec20e24a35b8ff815574804c3ef05b1b8214
[ "Apache-2.0" ]
2
2019-07-18T06:09:00.000Z
2019-08-08T09:52:59.000Z
mix.exs
ArcBlock/abt-did-elixir
7079ec20e24a35b8ff815574804c3ef05b1b8214
[ "Apache-2.0" ]
1
2020-03-30T06:14:24.000Z
2020-03-30T06:14:25.000Z
mix.exs
ArcBlock/abt-did-elixir
7079ec20e24a35b8ff815574804c3ef05b1b8214
[ "Apache-2.0" ]
null
null
null
defmodule AbtDid.MixProject do use Mix.Project @top File.cwd!() @version @top |> Path.join("version") |> File.read!() |> String.trim() @elixir_version @top |> Path.join(".elixir_version") |> File.read!() |> String.trim() @otp_version @top |> Path.join(".otp_version") |> File.read!() |> String.trim() def ...
25.323529
90
0.562524
ffe453be26a413bc7cd8a947a8fc6e41ee920046
509
exs
Elixir
config/test.exs
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "MIT" ]
null
null
null
config/test.exs
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "MIT" ]
8
2019-10-31T11:27:57.000Z
2022-02-09T23:00:28.000Z
config/test.exs
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "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 :drab_spike, DrabSpikeWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :drab_spike, Dr...
25.45
56
0.738703
ffe48558656fe256835170d5ac63e3632ffcbd97
2,313
exs
Elixir
mix.exs
smeevil/ecto_translate
72231f8ad57084512e46edb984d8a50f6618abb3
[ "WTFPL" ]
35
2016-07-02T02:33:47.000Z
2022-01-03T23:16:57.000Z
mix.exs
smeevil/ecto_translate
72231f8ad57084512e46edb984d8a50f6618abb3
[ "WTFPL" ]
17
2017-02-28T09:08:28.000Z
2021-12-30T13:03:04.000Z
mix.exs
smeevil/ecto_translate
72231f8ad57084512e46edb984d8a50f6618abb3
[ "WTFPL" ]
12
2017-02-14T15:49:05.000Z
2022-03-01T13:51:18.000Z
defmodule EctoTranslate.Mixfile do use Mix.Project def project do [ app: :ecto_translate, description: "EctoTranslate is a library that helps with translating Ecto data. EctoTranslate can help you with returning translated values of your Ecto data attributes. For this it uses a singe table ...
28.207317
292
0.561608
ffe5048c9c937623ade818ee60e371610ace4b23
575
exs
Elixir
mix.exs
renderedtext/sentry_grpc
6879a067b22814984591dce62578222d596a0acd
[ "Unlicense", "MIT" ]
null
null
null
mix.exs
renderedtext/sentry_grpc
6879a067b22814984591dce62578222d596a0acd
[ "Unlicense", "MIT" ]
null
null
null
mix.exs
renderedtext/sentry_grpc
6879a067b22814984591dce62578222d596a0acd
[ "Unlicense", "MIT" ]
null
null
null
defmodule Sentry.Grpc.Mixfile do use Mix.Project def project do [ app: :sentry_grpc, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_...
19.827586
88
0.57913
ffe51d5ca0fba27bd6a103e1151343a46763d261
2,098
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/suggested_named_styles.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/suggested_named_styles.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/suggested_named_styles.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...
39.584906
223
0.752622
ffe51e03f3c390b9bba1ab29f343b13cd59d4620
2,442
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_operation_group.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_operation_group.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_operation_group.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...
44.4
416
0.760033
ffe5b4250e9f068dbcfd64c283b6f0b8ed6eab1f
5,792
ex
Elixir
apps/ewallet_api/test/support/conn_case.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/support/conn_case.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/support/conn_case.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletAPI.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the...
28.96
99
0.670925
ffe5d5ffd2a1dd4f0fb7c9d65fe6fe73845c6137
779
ex
Elixir
lib/epi_contacts_web/controllers/admin_session_controller.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
lib/epi_contacts_web/controllers/admin_session_controller.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
13
2021-06-29T04:35:41.000Z
2022-02-09T04:25:39.000Z
lib/epi_contacts_web/controllers/admin_session_controller.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
defmodule EpiContactsWeb.AdminSessionController do use EpiContactsWeb, :controller alias EpiContacts.Accounts alias EpiContactsWeb.AdminAuth def new(conn, _params) do render(conn, "new.html", error_message: nil) end def create(conn, %{"admin" => admin_params}) do %{"email" => email, "password" =>...
28.851852
104
0.71887
ffe61b82b35b8729e43f3fc06659aebdff947be4
66
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/CharListLine.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/CharListLine.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/CharListLine.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
'One' ++ 'Two' 'Three' -- 'Four' 'Five'..'Six' 'Seven' <> 'Eight'
13.2
18
0.484848
ffe652f326c05ee34f6eeec5ed859674f38d9074
98
exs
Elixir
test/frettchen/helpers_test.exs
konstantinzolotarev/frettchen
4aced1fb3d1571893ae09c18a31b05352c80cd9e
[ "MIT" ]
3
2018-10-27T18:18:14.000Z
2020-11-27T11:47:41.000Z
test/frettchen/helpers_test.exs
konstantinzolotarev/frettchen
4aced1fb3d1571893ae09c18a31b05352c80cd9e
[ "MIT" ]
null
null
null
test/frettchen/helpers_test.exs
konstantinzolotarev/frettchen
4aced1fb3d1571893ae09c18a31b05352c80cd9e
[ "MIT" ]
3
2019-01-07T12:32:44.000Z
2021-09-05T07:24:09.000Z
defmodule Frettchen.HelpersTest do use ExUnit.Case, async: true doctest Frettchen.Helpers end
19.6
34
0.806122
ffe684b6ff455701117b2987c1b96410a3a4c07a
1,259
ex
Elixir
lib/find_my_personal_web/controllers/api/teacher_controller.ex
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
null
null
null
lib/find_my_personal_web/controllers/api/teacher_controller.ex
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
9
2020-08-11T11:36:59.000Z
2020-09-04T13:05:21.000Z
lib/find_my_personal_web/controllers/api/teacher_controller.ex
itorisaias/elxpro_find_my_personal
f1182650d3d15811c2ae9affa40c2751002dab40
[ "MIT" ]
null
null
null
defmodule FindMyPersonalWeb.Api.TeacherController do use FindMyPersonalWeb, :controller alias FindMyPersonal.Teachers alias FindMyPersonal.Teachers.Teacher action_fallback FindMyPersonalWeb.FallbackController def index(conn, _params) do teacher = Teachers.list_teacher() render(conn, "index.json", t...
28.613636
91
0.676728
ffe6a7a450794259bb274c60f725a30d8273b17a
2,023
ex
Elixir
lib/slack/bot/message_tracker.ex
zvkemp/elixir-bot-server
0db6b6ce57ddccaac980bf659eb2d540a077de38
[ "MIT" ]
8
2016-03-15T17:15:26.000Z
2021-12-11T11:21:53.000Z
lib/slack/bot/message_tracker.ex
zvkemp/elixir-bot-server
0db6b6ce57ddccaac980bf659eb2d540a077de38
[ "MIT" ]
1
2017-10-15T20:13:15.000Z
2017-10-15T20:13:15.000Z
lib/slack/bot/message_tracker.ex
zvkemp/elixir-bot-server
0db6b6ce57ddccaac980bf659eb2d540a077de38
[ "MIT" ]
null
null
null
defmodule Slack.Bot.MessageTracker do @moduledoc """ Keeps a receipt of sent messages until an incoming message arrives with the same "reply_to" id. Sends a ping if no messages have been sent for 10 seconds (or the configured frequency value). """ use GenServer alias Slack.Bot alias Slack.Bot.MessageT...
27.712329
98
0.652991
ffe6d3e9d351ff8bef74e2d54613ca2d05af8559
1,878
ex
Elixir
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/list_dns_peerings_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/list_dns_peerings_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/list_dns_peerings_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.56
189
0.742279
ffe6df5ca083911aa73289e405e9661121e9324a
2,418
exs
Elixir
config/config.exs
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
config/config.exs
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
config/config.exs
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
# 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 Code.load_file("config/docker_secret.exs") config :changelog, ChangelogWeb.Endpoint, ...
33.123288
89
0.763854
ffe6fd16b9bfc542caa50fadd13bf6311217e451
1,740
ex
Elixir
clients/firebase_app_check/lib/google_api/firebase_app_check/v1beta/model/google_firebase_appcheck_v1beta_exchange_debug_token_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firebase_app_check/lib/google_api/firebase_app_check/v1beta/model/google_firebase_appcheck_v1beta_exchange_debug_token_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firebase_app_check/lib/google_api/firebase_app_check/v1beta/model/google_firebase_appcheck_v1beta_exchange_debug_token_request.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...
32.222222
178
0.760345
ffe725c2e2d5b0ef1b3ef6c7d1ad15e06d847212
1,965
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_browse_carousel_card_browse_carousel_card_item_open_url_action.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_browse_carousel_card_browse_carousel_card_item_open_url_action.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_browse_carousel_card_browse_carousel_card_item_open_url_action.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.87931
137
0.754198
ffe729f756e5248ec2252ea94365ccea10d3b578
7,414
ex
Elixir
lib/phoenix_inline_svg/helpers.ex
tylerhunt/phoenix_inline_svg
cbef95a7996a6c202558892d1d17b5d5d1979b26
[ "MIT" ]
58
2016-07-19T13:45:57.000Z
2022-03-04T15:45:35.000Z
lib/phoenix_inline_svg/helpers.ex
tylerhunt/phoenix_inline_svg
cbef95a7996a6c202558892d1d17b5d5d1979b26
[ "MIT" ]
44
2016-07-20T22:27:03.000Z
2021-05-06T22:06:28.000Z
lib/phoenix_inline_svg/helpers.ex
tylerhunt/phoenix_inline_svg
cbef95a7996a6c202558892d1d17b5d5d1979b26
[ "MIT" ]
33
2017-01-27T20:15:25.000Z
2022-03-02T16:32:07.000Z
defmodule PhoenixInlineSvg.Helpers do @moduledoc """ This module adds view helpers for rendering SVG files into safe HTML. To add the helpers, add the following to the quoted `view` in your `my_app_web.ex` file. def view do quote do use PhoenixInlineSvg.Helpers end end T...
27.76779
207
0.644187
ffe7443a73c6a6ab7b3fd424650f19bb31bbe20a
158
ex
Elixir
gherkin/elixir/lib/gherkin/media.ex
endersstocker/cucumber
5ad94a9ab5f87bca6ee23a6b4212705cdc58753d
[ "MIT" ]
null
null
null
gherkin/elixir/lib/gherkin/media.ex
endersstocker/cucumber
5ad94a9ab5f87bca6ee23a6b4212705cdc58753d
[ "MIT" ]
null
null
null
gherkin/elixir/lib/gherkin/media.ex
endersstocker/cucumber
5ad94a9ab5f87bca6ee23a6b4212705cdc58753d
[ "MIT" ]
null
null
null
defmodule Gherkin.Media do @type t :: %__MODULE__{encoding: String.t(), type: String.t()} @enforce_keys [:encoding, :type] defstruct @enforce_keys end
22.571429
64
0.708861
ffe7548a8a38306c43eb3ba642d5e492dfe3aed6
76
exs
Elixir
test/views/layout_view_test.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
1
2017-04-21T17:02:56.000Z
2017-04-21T17:02:56.000Z
test/views/layout_view_test.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
null
null
null
defmodule ExGnarl.LayoutViewTest do use ExGnarl.ConnCase, async: true end
19
35
0.815789
ffe755fab1e3149e50e8bb080b9ba64f3b9f5a1c
1,414
exs
Elixir
lib/mix/test/mix/aliases_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/mix/test/mix/aliases_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/aliases_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.AliasesTest do use MixTest.Case defmodule Aliases do def project do [aliases: [h: "hello", p: &inspect/1, compile: "hello", help: ["help", "hello"], "nested.h": [&Mix.shell.i...
26.185185
74
0.558699
ffe769724a8f6c4174e0ea4963c2424b74a18370
437
ex
Elixir
lib/teslamate_web/live/car_live/index.ex
normalfaults/teslamate
9c61150bd5614728447e21789ab6edc5169b631e
[ "MIT" ]
1
2020-05-17T05:05:22.000Z
2020-05-17T05:05:22.000Z
lib/teslamate_web/live/car_live/index.ex
normalfaults/teslamate
9c61150bd5614728447e21789ab6edc5169b631e
[ "MIT" ]
null
null
null
lib/teslamate_web/live/car_live/index.ex
normalfaults/teslamate
9c61150bd5614728447e21789ab6edc5169b631e
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.CarLive.Index do use Phoenix.LiveView alias TeslaMateWeb.CarView alias TeslaMate.{Settings, Log} @impl true def mount(_session, socket) do socket = socket |> assign_new(:cars, fn -> Log.list_cars() end) |> assign_new(:settings, fn -> Settings.get_settings!() end)...
19.863636
66
0.668192
ffe78220855f1076d082fa42a1013e82314b5ff8
850
exs
Elixir
config/config.exs
juanpabloaj/phoenix_gitlab_monitor
2b14a31c8d614b195d5003cd17faf9e5cfa56723
[ "MIT" ]
12
2018-11-04T03:39:34.000Z
2020-04-29T19:30:58.000Z
config/config.exs
juanpabloaj/phoenix_gitlab_monitor
2b14a31c8d614b195d5003cd17faf9e5cfa56723
[ "MIT" ]
16
2018-11-07T01:05:01.000Z
2021-05-07T21:32:07.000Z
config/config.exs
juanpabloaj/phoenix_gitlab_monitor
2b14a31c8d614b195d5003cd17faf9e5cfa56723
[ "MIT" ]
3
2019-08-27T20:29:00.000Z
2020-05-25T20:36:12.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 # Configures the endpoint config :monitor, MonitorWeb.Endpoint, url: [host: "localh...
35.416667
86
0.757647
ffe7a1aa0e35741a40b2f7c29b14be0a231c94dc
4,128
ex
Elixir
lib/phoenix_and_elm_web/controllers/question_controller.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/controllers/question_controller.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/controllers/question_controller.ex
The-Vikings/phoenix-and-elm
c6c6bcc2415a479b81cae09cd62872873c7b7e78
[ "MIT" ]
null
null
null
defmodule PhoenixAndElmWeb.QuestionController do use PhoenixAndElmWeb, :controller use PhoenixSwagger alias PhoenixAndElm.Chatapp alias PhoenixAndElm.Chatapp.Question action_fallback PhoenixAndElmWeb.FallbackController def index(conn, _params) do questions = Chatapp.list_questions() render(conn, ...
32.761905
141
0.647529
ffe7a6b27ec42d986b2261025da1714727a259b8
1,125
exs
Elixir
config/config.exs
ianrumford/plymio_name
434294b6f6fa489918a5ee007bec03b22a21212b
[ "MIT" ]
null
null
null
config/config.exs
ianrumford/plymio_name
434294b6f6fa489918a5ee007bec03b22a21212b
[ "MIT" ]
null
null
null
config/config.exs
ianrumford/plymio_name
434294b6f6fa489918a5ee007bec03b22a21212b
[ "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.290323
73
0.752889
ffe7ad1234031b549e31bc817642ea56ad7b1f7b
1,734
exs
Elixir
test/mnemonic_test.exs
imerkle/mnemonic
8445f12693ee88a3024e83805b9427fbc0b411e7
[ "MIT" ]
2
2019-05-04T10:18:33.000Z
2019-08-05T19:25:44.000Z
test/mnemonic_test.exs
imerkle/mnemonic
8445f12693ee88a3024e83805b9427fbc0b411e7
[ "MIT" ]
null
null
null
test/mnemonic_test.exs
imerkle/mnemonic
8445f12693ee88a3024e83805b9427fbc0b411e7
[ "MIT" ]
null
null
null
defmodule MnemonicTest do use ExUnit.Case # doctest Mnemonic @vectors Fixtures.Vectors.all() |> Map.get(:english) test "vectors example word for the library" do @vectors |> Enum.each(fn(vector) -> target_entropy = List.first(vector) target_mnemonic = Enum.at(vector, 1) target_seed = Enum....
32.716981
118
0.704152
ffe7c1471e29597f340c6ec35eaad78536698771
12,012
ex
Elixir
installer/lib/phx_new/generator.ex
anirudh24seven/phoenix
b5580e9cd1c78e0460d2df30807f4f99bd8b3051
[ "MIT" ]
null
null
null
installer/lib/phx_new/generator.ex
anirudh24seven/phoenix
b5580e9cd1c78e0460d2df30807f4f99bd8b3051
[ "MIT" ]
null
null
null
installer/lib/phx_new/generator.ex
anirudh24seven/phoenix
b5580e9cd1c78e0460d2df30807f4f99bd8b3051
[ "MIT" ]
null
null
null
defmodule Phx.New.Generator do @moduledoc false import Mix.Generator alias Phx.New.{Project} @phoenix Path.expand("../..", __DIR__) @phoenix_version Version.parse!(Mix.Project.config()[:version]) @callback prepare_project(Project.t) :: Project.t @callback generate(Project.t) :: Project.t defmacro __u...
33.553073
108
0.653014
ffe7cbe4d23b6139ad3cede0e9b6cd19cb93d041
590
ex
Elixir
lib/mix/tasks/egg.ex
ohr486/eggman
82eb614dab64aadaa556454b9c3c89ca9ed3c9b2
[ "MIT" ]
1
2020-01-13T20:50:40.000Z
2020-01-13T20:50:40.000Z
lib/mix/tasks/egg.ex
ohr486/eggman
82eb614dab64aadaa556454b9c3c89ca9ed3c9b2
[ "MIT" ]
25
2019-07-02T05:57:46.000Z
2021-07-26T05:20:55.000Z
lib/mix/tasks/egg.ex
ohr486/eggman
82eb614dab64aadaa556454b9c3c89ca9ed3c9b2
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Egg do use Mix.Task @shortdoc "Prints Eggman help information" @moduledoc """ Prints Eggman tasks and their information. mix egg """ @doc false def run(args) do case args do [] -> general() _ -> Mix.raise "Invalid arguments, expected: mix egg" end end @do...
20.344828
63
0.647458
ffe7dedb9f70f4e0b0eef6a0abb5f29009cb64e2
102
exs
Elixir
config/test.exs
jfrolich/smoothie
4b471913b8b9dc80484153cc2fda0c8944039356
[ "MIT" ]
45
2016-09-23T15:36:28.000Z
2022-02-08T19:43:03.000Z
config/test.exs
jfrolich/smoothie
4b471913b8b9dc80484153cc2fda0c8944039356
[ "MIT" ]
20
2016-09-27T15:51:32.000Z
2020-09-21T02:56:59.000Z
config/test.exs
jfrolich/smoothie
4b471913b8b9dc80484153cc2fda0c8944039356
[ "MIT" ]
6
2016-09-27T15:38:39.000Z
2017-07-17T19:09:27.000Z
use Mix.Config config :smoothie, modules: [Build.Mailer, Css.Mailer, Scss.Mailer, Foundation.Mailer]
25.5
85
0.77451
ffe867e35776fc01e1fcce07f7f52806ca7255f0
2,452
exs
Elixir
test/crimpex_test.exs
BBC-News/crimpex
c73858882286b623dbf22027df7efd94ec029d59
[ "MIT" ]
null
null
null
test/crimpex_test.exs
BBC-News/crimpex
c73858882286b623dbf22027df7efd94ec029d59
[ "MIT" ]
1
2019-05-21T08:11:59.000Z
2019-05-21T08:11:59.000Z
test/crimpex_test.exs
BBC-News/crimpex
c73858882286b623dbf22027df7efd94ec029d59
[ "MIT" ]
null
null
null
defmodule CrimpexTest do use ExUnit.Case describe "signature" do test "when given a nil value it returns the correct signature" do assert Crimpex.signature(nil) == "b14a7b8059d9c055954c92674ce60032" end test "when given a single string it returns the correct signature" do assert Crimpex.si...
33.135135
104
0.688825
ffe8998790299c11e8026127c858ab8f81a123d0
1,051
ex
Elixir
tests/dummy/lib/dummy/endpoint.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/lib/dummy/endpoint.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
20
2016-04-05T06:28:58.000Z
2016-05-12T15:45:37.000Z
tests/dummy/lib/dummy/endpoint.ex
foxnewsnetwork/autox
66ea3f0f7ba8b3f9e910984a2ed3cdf0ef5ef29a
[ "MIT" ]
null
null
null
defmodule Dummy.Endpoint do use Phoenix.Endpoint, otp_app: :dummy socket "/socket", Dummy.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, at:...
24.44186
65
0.695528
ffe89f12041f5992f93bbae005e9649c31086e21
2,341
ex
Elixir
lib/plaid/link.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
50
2016-10-19T16:34:27.000Z
2022-03-17T03:55:54.000Z
lib/plaid/link.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
47
2017-11-08T19:19:09.000Z
2022-03-23T00:53:22.000Z
lib/plaid/link.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
40
2016-10-27T14:39:14.000Z
2022-03-01T01:03:17.000Z
defmodule Plaid.Link do @moduledoc """ Functions for Plaid `link` endpoint. """ import Plaid, only: [make_request_with_cred: 4, validate_cred: 1] alias Plaid.Utils @derive Jason.Encoder defstruct link_token: nil, expiration: nil, # Deprecated, not returned by Plaid. ...
23.887755
67
0.56557
ffe931754cb17e0f08fda6decac6a4813fac74a7
481
ex
Elixir
lib/smite.ex
luishendrix92/exrez
c9a001ff32c2081449ce190d151e7df09a0a42ee
[ "MIT" ]
null
null
null
lib/smite.ex
luishendrix92/exrez
c9a001ff32c2081449ce190d151e7df09a0a42ee
[ "MIT" ]
null
null
null
lib/smite.ex
luishendrix92/exrez
c9a001ff32c2081449ce190d151e7df09a0a42ee
[ "MIT" ]
null
null
null
defmodule Exrez.Smite do import Exrez, only: [api_call: 2, api_call: 3] def god_leaderboard(platform, god_id, queue_id) do api_call(platform, "getgodleaderboard", "/#{god_id}/#{queue_id}") end def god_recommended_items(platform, god_id, language \\ 1) do api_call(platform, "getgodrecommendeditems", "/...
30.0625
74
0.719335
ffe9760dccc78c06d24fb3c933515547d6b6eeee
811
exs
Elixir
linq/linq_test.exs
judas-christ/love-potions
39a43dca4c66b5e8028759c8a81d97a8c0562956
[ "MIT" ]
null
null
null
linq/linq_test.exs
judas-christ/love-potions
39a43dca4c66b5e8028759c8a81d97a8c0562956
[ "MIT" ]
null
null
null
linq/linq_test.exs
judas-christ/love-potions
39a43dca4c66b5e8028759c8a81d97a8c0562956
[ "MIT" ]
null
null
null
ExUnit.start Code.require_file("linq.exs", __DIR__) defmodule LinqTest do use ExUnit.Case test "table name" do assert String.contains?(Entity.all, "from entities as") end test "filter" do assert String.contains?(Entity.some, "name <> \"bah\"") end end defmodule Entity do import Linq schem...
18.431818
74
0.61529
ffe9a5e9e9e7d1eae1da5c0535498c8948eb911d
2,244
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/encryption_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/encryption_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/encryption_info.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...
40.071429
177
0.729501
ffe9b3ee25925bfbb0e0da2a4d625785846ca871
454
exs
Elixir
test/sitemap/alternate_test.exs
isavita/sitemap
0fa66869646e1bace12f2e60bb08aeaa0f713f38
[ "MIT", "Unlicense" ]
3
2019-05-17T00:57:02.000Z
2020-04-03T12:38:53.000Z
test/sitemap/alternate_test.exs
isavita/sitemap
0fa66869646e1bace12f2e60bb08aeaa0f713f38
[ "MIT", "Unlicense" ]
1
2020-02-18T14:15:48.000Z
2020-02-18T14:15:48.000Z
test/sitemap/alternate_test.exs
isavita/sitemap
0fa66869646e1bace12f2e60bb08aeaa0f713f38
[ "MIT", "Unlicense" ]
1
2020-02-18T11:29:25.000Z
2020-02-18T11:29:25.000Z
defmodule Sitemap.AlternateTest do use ExUnit.Case @alternates [href: "http://www.example.de/index.html", lang: "de", nofollow: true, media: "only screen and (max-width: 640px)"] @expected " <xhtml:link href=\"http://www.example.de/index.html\" hreflang=\"de\" media=\"only screen and (max-width: 640px)\" rel=\...
37.833333
146
0.696035
ffe9b4cd9d7d8fc19cafd6830e486b9489ff20c9
1,170
ex
Elixir
phoenix/app/lib/phx_app_web/channels/user_socket.ex
ohr486/docker-app-template
9365f95d1102c69dba46474d0498d8306d40ed79
[ "MIT" ]
null
null
null
phoenix/app/lib/phx_app_web/channels/user_socket.ex
ohr486/docker-app-template
9365f95d1102c69dba46474d0498d8306d40ed79
[ "MIT" ]
null
null
null
phoenix/app/lib/phx_app_web/channels/user_socket.ex
ohr486/docker-app-template
9365f95d1102c69dba46474d0498d8306d40ed79
[ "MIT" ]
null
null
null
defmodule PhxAppWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", PhxAppWeb.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 aut...
30.789474
83
0.702564
ffe9ffd6d01429187213f45cc777dac563584357
7,758
ex
Elixir
lib/ex_oauth2_provider/applications/strategies/sql_strategy.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
lib/ex_oauth2_provider/applications/strategies/sql_strategy.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
lib/ex_oauth2_provider/applications/strategies/sql_strategy.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.Applications.Strategy.SqlStrategy do @moduledoc """ Standard Postgres-based application implementation strategy """ @behaviour ExOauth2Provider.Applications import Ecto.Query alias Ecto.{Changeset, Schema} alias ExOauth2Provider.{AccessTokens, Applications.Application, Config}...
28.522059
124
0.67453
ffea0ee014b1d21a767a4804745450c62667f828
2,026
exs
Elixir
test/callbacks/handle_continue_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
8
2019-08-31T00:31:58.000Z
2021-06-11T22:12:05.000Z
test/callbacks/handle_continue_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
39
2019-09-07T21:29:09.000Z
2020-05-05T15:01:30.000Z
test/callbacks/handle_continue_test.exs
bnns/state_server
d62dcd7c8d261e057764c39370b6ac5a63f11aa4
[ "MIT" ]
2
2020-01-04T05:44:25.000Z
2020-01-19T21:44:41.000Z
defmodule StateServerTest.Callbacks.HandleContinueTest do use ExUnit.Case, async: true defmodule Instrumented do use StateServer, [start: [tr: :end], end: []] def start_link(fun), do: StateServer.start_link(__MODULE__, fun) @impl true def init(fun), do: fun.() @impl true def handle_cont...
24.119048
68
0.62537
ffea2b4e389e0d8df0fa62d95e3692201cfd3109
299
ex
Elixir
lib/mtg/response.ex
naps62/mtg-sdk-elixir
de2d05b5f0b15dc83ed13b558f45ed82046d0f39
[ "MIT" ]
null
null
null
lib/mtg/response.ex
naps62/mtg-sdk-elixir
de2d05b5f0b15dc83ed13b558f45ed82046d0f39
[ "MIT" ]
null
null
null
lib/mtg/response.ex
naps62/mtg-sdk-elixir
de2d05b5f0b15dc83ed13b558f45ed82046d0f39
[ "MIT" ]
null
null
null
defmodule MTG.Response do def get_key({:ok, %HTTPoison.Response{body: %{error: error}}} = b, _) do {:error, error} end def get_key({:ok, %HTTPoison.Response{body: body}}, key) do case Map.get(body, key) do nil -> {:error, body} result -> {:ok, result} end end end
23
74
0.595318
ffea33c3a539d703bcdc8f7c81da370564d49970
1,640
ex
Elixir
deps/absinthe/lib/absinthe/phase/document/validation/unique_fragment_names.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
lib/absinthe/phase/document/validation/unique_fragment_names.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
lib/absinthe/phase/document/validation/unique_fragment_names.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Document.Validation.UniqueFragmentNames do @moduledoc false # Validates document to ensure that all fragments have unique names. alias Absinthe.{Blueprint, Phase} use Absinthe.Phase use Absinthe.Phase.Validation @doc """ Run the validation. """ @spec run(Blueprint.t, Keywo...
27.333333
105
0.693293
ffea57f783fdadef0c1b7282f0dd989548f2802c
2,948
exs
Elixir
test/exscript/transformers/control_flow_test.exs
craigspaeth/exscript
c3a24790dff0eac592060ba3ae349be7c567e0a7
[ "MIT" ]
1
2017-12-15T23:55:05.000Z
2017-12-15T23:55:05.000Z
test/exscript/transformers/control_flow_test.exs
craigspaeth/exscript
c3a24790dff0eac592060ba3ae349be7c567e0a7
[ "MIT" ]
null
null
null
test/exscript/transformers/control_flow_test.exs
craigspaeth/exscript
c3a24790dff0eac592060ba3ae349be7c567e0a7
[ "MIT" ]
null
null
null
defmodule ExScript.Compiler.ControlFlowTest do use ExUnit.Case test "compiles if expressions" do ExScript.TestHelper.compare( """ a = if true, do: "hi", else: "bai" """, """ let a; a = true ? 'hi' : 'bai'; """ ) end test "compiles if without else expressions" ...
17.652695
68
0.340909
ffea8337d348579e544e565e3bba82df12e0e50e
1,556
ex
Elixir
test/support/data_case.ex
Dhall777/systemstats
380426af8fc898521201311b11881cc8d2db3388
[ "BSD-3-Clause" ]
null
null
null
test/support/data_case.ex
Dhall777/systemstats
380426af8fc898521201311b11881cc8d2db3388
[ "BSD-3-Clause" ]
null
null
null
test/support/data_case.ex
Dhall777/systemstats
380426af8fc898521201311b11881cc8d2db3388
[ "BSD-3-Clause" ]
null
null
null
defmodule Systemstats.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done ...
27.785714
77
0.693445
ffea837446eed49919d01ec1903717426aed1f68
965
ex
Elixir
lib/cryptopunk/utils.ex
ayrat555/cryptopunk
9d41028739dd13b762838912f9fa1e18ac1160a8
[ "MIT" ]
12
2021-10-31T07:10:48.000Z
2022-02-21T18:13:17.000Z
lib/cryptopunk/utils.ex
ayrat555/cryptopunk
9d41028739dd13b762838912f9fa1e18ac1160a8
[ "MIT" ]
null
null
null
lib/cryptopunk/utils.ex
ayrat555/cryptopunk
9d41028739dd13b762838912f9fa1e18ac1160a8
[ "MIT" ]
null
null
null
defmodule Cryptopunk.Utils do @moduledoc """ Utility functions """ alias Cryptopunk.Key @spec hmac_sha512(binary(), binary()) :: binary() def hmac_sha512(key, data) do :crypto.mac(:hmac, :sha512, key, data) end @spec compress_public_key(Key.t()) :: binary() def compress_public_key(%Key{key: key...
21.931818
64
0.676684
ffea87eb0f4e6293a5c67571f8f6fbf02cd2dae7
909
exs
Elixir
mix.exs
twist-vector/elixir-complex
be3b40d7ed9c8f5cb74e1877ba6250959e92e085
[ "Apache-2.0" ]
3
2015-11-22T14:21:14.000Z
2020-01-13T21:15:00.000Z
mix.exs
twist-vector/elixir-complex
be3b40d7ed9c8f5cb74e1877ba6250959e92e085
[ "Apache-2.0" ]
2
2020-03-20T21:47:55.000Z
2022-03-23T18:46:02.000Z
mix.exs
twist-vector/elixir-complex
be3b40d7ed9c8f5cb74e1877ba6250959e92e085
[ "Apache-2.0" ]
2
2018-09-05T21:07:53.000Z
2022-03-21T13:10:31.000Z
defmodule Complex.Mixfile do use Mix.Project def project do [app: :complex, version: "0.3.0", description: description(), package: package(), elixir: "~> 1.1", deps: deps(), docs: [extras: []]] end # Configuration for the OTP application # # Type "mix help compile.app" fo...
21.642857
79
0.581958
ffeadc5281673c4f4ee663a6e99ec1ff6d9c8413
6,993
ex
Elixir
test/support/factory.ex
edgarkanye/papercups
c9652bee03cf5c3f6d7fc5742740fe13875fd40f
[ "MIT" ]
null
null
null
test/support/factory.ex
edgarkanye/papercups
c9652bee03cf5c3f6d7fc5742740fe13875fd40f
[ "MIT" ]
null
null
null
test/support/factory.ex
edgarkanye/papercups
c9652bee03cf5c3f6d7fc5742740fe13875fd40f
[ "MIT" ]
null
null
null
defmodule ChatApi.Factory do use ExMachina.Ecto, repo: ChatApi.Repo # Factories def account_factory do %ChatApi.Accounts.Account{ company_name: sequence("some company_name"), settings: %{} } end def personal_api_key_factory do %ChatApi.ApiKeys.PersonalApiKey{ account: build(:ac...
25.064516
83
0.646218
ffeaeba073a1e3c2c8852fe1fd956d0938fcd320
1,239
exs
Elixir
test/phoenix/controller/pipeline_test.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
test/phoenix/controller/pipeline_test.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
test/phoenix/controller/pipeline_test.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
defmodule Phoenix.Controller.PipelineTest do use ExUnit.Case, async: true use ConnHelper defmodule MyController do use Phoenix.Controller plug :prepend, :before1 when action in [:show, :create] plug :prepend, :before2 plug :action plug :prepend, :after1 plug :prepend, :after2 plug :d...
22.944444
65
0.59322
ffeafdd2f3afc9bc3ba286f7717ad1972c30367b
439
ex
Elixir
tags_service/lib/nlw07_heat_tags/tags/count.ex
miguelriosoliveira/dowhile-mural
3f616bf7d536f0442b41f6f8795af43ed54e61a0
[ "MIT" ]
null
null
null
tags_service/lib/nlw07_heat_tags/tags/count.ex
miguelriosoliveira/dowhile-mural
3f616bf7d536f0442b41f6f8795af43ed54e61a0
[ "MIT" ]
null
null
null
tags_service/lib/nlw07_heat_tags/tags/count.ex
miguelriosoliveira/dowhile-mural
3f616bf7d536f0442b41f6f8795af43ed54e61a0
[ "MIT" ]
null
null
null
defmodule Nlw07HeatTags.Tags.Count do alias Nlw07HeatTags.Messages.Get def call do Get.today_messages() |> Task.async_stream(&count_words(&1.message)) |> Enum.reduce(%{}, fn elem, acc -> sum_values(elem, acc) end) end defp count_words(message) do message |> String.split() |> Enum.frequencies() end ...
21.95
71
0.697039
ffeb8359e64b6a24e41e3cc5794f97d1bece9f29
1,000
ex
Elixir
lib/api_phoenix_jwt_crud/application.ex
melardev/Elixir_Phoenix_Ecto_AuthJwt_Crud
3c90eafe889b0414ed0f027d7d42bf401682f739
[ "MIT" ]
null
null
null
lib/api_phoenix_jwt_crud/application.ex
melardev/Elixir_Phoenix_Ecto_AuthJwt_Crud
3c90eafe889b0414ed0f027d7d42bf401682f739
[ "MIT" ]
null
null
null
lib/api_phoenix_jwt_crud/application.ex
melardev/Elixir_Phoenix_Ecto_AuthJwt_Crud
3c90eafe889b0414ed0f027d7d42bf401682f739
[ "MIT" ]
null
null
null
defmodule ApiPhoenixJwtCrud.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto repository ApiPhoen...
31.25
76
0.734
ffeb9a202b8a1f09149a91c146796de9f2e42b57
3,370
exs
Elixir
apps/ewallet/test/ewallet/gates/activity_log_gate_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/gates/activity_log_gate_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/gates/activity_log_gate_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
32.403846
94
0.681306
ffebfa7dc4ab1b86746daee1b4ba5d9557ccafc2
3,130
ex
Elixir
lib/hexpm/emails/emails.ex
LoisSotoLopez/hexpm
570558cea855e2928e6f573e7322d0dc63e6f21d
[ "Apache-2.0" ]
2
2020-03-01T18:23:33.000Z
2021-01-15T10:15:45.000Z
lib/hexpm/emails/emails.ex
LoisSotoLopez/hexpm
570558cea855e2928e6f573e7322d0dc63e6f21d
[ "Apache-2.0" ]
3
2020-06-30T11:24:41.000Z
2020-08-05T15:47:34.000Z
lib/hexpm/emails/emails.ex
LoisSotoLopez/hexpm
570558cea855e2928e6f573e7322d0dc63e6f21d
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Emails do use Bamboo.Phoenix, view: HexpmWeb.EmailView import Bamboo.Email alias Hexpm.Accounts.{Email, User} def owner_added(package, owners, owner) do email() |> email_to(owners) |> subject("Hex.pm - Owner added to package #{package.name}") |> assign(:username, owner.username)...
28.454545
97
0.653355
ffec18807fe7a0102ec1625ed1a617736d02e442
2,034
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/accounts.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/accounts.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/model/accounts.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...
36.321429
200
0.70354
ffec409d94996869350d866ddbdd5e03c06cdda1
11,015
ex
Elixir
lib/mix/lib/mix/dep.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/lib/mix/dep.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/dep.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule Mix.Dep do @moduledoc false @doc """ The Mix.Dep a struct keeps information about your project dependencies. It contains: * `scm` - a module representing the source code management tool (SCM) operations * `app` - the application name as an atom * `requirement` - a binary or regex...
31.743516
120
0.643032
ffec6386d334031fd5fe06d5dc777bc68a47a309
5,418
ex
Elixir
web/controllers/page_controller.ex
nabbisen/journey-planner
82aa6e081504dfe3a9b2b191b40819404b9fd26b
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
nabbisen/journey-planner
82aa6e081504dfe3a9b2b191b40819404b9fd26b
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
nabbisen/journey-planner
82aa6e081504dfe3a9b2b191b40819404b9fd26b
[ "MIT" ]
null
null
null
defmodule JrnyPlnr.PageController do use Phoenix.Controller plug :action def index(conn, _params) do conn = delete_session(conn, :uid) render conn, "index.html" end def home(conn, _params) do uid = get_session(conn, :uid) if uid != nil do conn = put_session(conn, :uid, uid) rend...
28.819149
274
0.626061
ffec72bffb75be2b8068cea671a8d540110d48f0
2,639
ex
Elixir
lib/eight.ex
mitchellhenke/AdventOfCode2020
8d5e89ce0d17697396344e35f76a24e4580d25dd
[ "MIT" ]
null
null
null
lib/eight.ex
mitchellhenke/AdventOfCode2020
8d5e89ce0d17697396344e35f76a24e4580d25dd
[ "MIT" ]
null
null
null
lib/eight.ex
mitchellhenke/AdventOfCode2020
8d5e89ce0d17697396344e35f76a24e4580d25dd
[ "MIT" ]
null
null
null
defmodule Adventofcode2020.Eight do @external_resource "data/eight.txt" @instructions File.read!("data/eight.txt") |> String.split("\n", trim: true) |> Enum.with_index() |> Enum.reduce(%{}, fn {instruction, index}, acc -> Map.put(acc, index + 1, inst...
27.778947
83
0.58166
ffec8bae8cb80f1f50bf4b9fac3b5a7b492aec49
982
exs
Elixir
config/test.exs
danielhessell/wabanex
c0ad713a558a3cd52ca83bd22cd093e3c3c1b0f5
[ "MIT" ]
null
null
null
config/test.exs
danielhessell/wabanex
c0ad713a558a3cd52ca83bd22cd093e3c3c1b0f5
[ "MIT" ]
null
null
null
config/test.exs
danielhessell/wabanex
c0ad713a558a3cd52ca83bd22cd093e3c3c1b0f5
[ "MIT" ]
null
null
null
import Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :wabanex, Wabanex.Repo, username: "postgres", password: "postgres", hostname: "localhost", database: ...
31.677419
86
0.759674
ffecc2ad761332805e4769ec1be38ea0753e4d32
1,486
ex
Elixir
lib/passages.ex
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
lib/passages.ex
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
lib/passages.ex
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
defmodule Passages do @type graph::%{String.t() => [String.t()]} @type path::String.t() def input_to_graph_reducer([e1, e2], acc) do acc |> Map.update(e1, [e2], fn x -> x ++ [e2] end) |> Map.update(e2, [e1], fn x -> x ++ [e1] end) end @spec input_to_graph([String.t()])::graph() def input_to_gr...
30.326531
93
0.625168
ffecdc3fe0d114d22e456f2a3aee721a23819f05
221
ex
Elixir
lib/webkontist_web/controllers/page_controller.ex
lorenzosinisi/webkontist
6af002ece0eb56b83c8d26d7f7e7ef6ca6e1562f
[ "MIT" ]
null
null
null
lib/webkontist_web/controllers/page_controller.ex
lorenzosinisi/webkontist
6af002ece0eb56b83c8d26d7f7e7ef6ca6e1562f
[ "MIT" ]
1
2021-05-10T13:24:52.000Z
2021-05-10T13:24:52.000Z
lib/webkontist_web/controllers/page_controller.ex
lorenzosinisi/webkontist
6af002ece0eb56b83c8d26d7f7e7ef6ca6e1562f
[ "MIT" ]
null
null
null
defmodule WebKontistWeb.PageController do use WebKontistWeb, :controller alias Phoenix.LiveView def index(conn, _) do LiveView.Controller.live_render(conn, WebKontistWeb.DashboardLive, session: %{}) end end
22.1
84
0.773756
ffed385cd1aa72594a15d4dced0c1e84a5f85d99
6,771
exs
Elixir
test/chat_api/users_test.exs
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
1
2021-06-17T03:17:24.000Z
2021-06-17T03:17:24.000Z
test/chat_api/users_test.exs
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
test/chat_api/users_test.exs
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
defmodule ChatApi.UsersTest do use ChatApi.DataCase, async: true require Logger @moduledoc false import ChatApi.Factory alias ChatApi.Repo alias ChatApi.Users alias ChatApi.Users.{User, UserProfile, UserSettings} describe "user" do setup do {:ok, user: insert(:user)} end test "dele...
35.825397
111
0.676414
ffed4995a0dd26cf07304889a8875b5e22ee2696
568
ex
Elixir
lib/mix/tasks/publish.ex
rubencaro/bottler
f88caf6d0d7d12e88b34e8e0c9a6f372fc6c8edb
[ "MIT" ]
37
2015-05-12T13:26:33.000Z
2020-02-20T02:43:40.000Z
lib/mix/tasks/publish.ex
rubencaro/bottler
f88caf6d0d7d12e88b34e8e0c9a6f372fc6c8edb
[ "MIT" ]
4
2017-10-20T10:00:00.000Z
2018-05-13T06:32:35.000Z
lib/mix/tasks/publish.ex
rubencaro/bottler
f88caf6d0d7d12e88b34e8e0c9a6f372fc6c8edb
[ "MIT" ]
8
2015-05-28T10:45:31.000Z
2018-01-16T07:57:13.000Z
require Bottler.Helpers, as: H alias Bottler, as: B defmodule Mix.Tasks.Bottler.Publish do @moduledoc """ Ship a release file to configured publish servers. Use like `mix bottler.publish`. `prod` environment is used by default. Use like `MIX_ENV=other_env mix bottler.ship` to force it to `other_env...
19.586207
68
0.684859
ffed89a6be80f22ce15f7119379417850b87b241
3,276
exs
Elixir
test/etfx_test.exs
ckampfe/etfx
36160c740dddf4405860947590094bbf6834dbb8
[ "BSD-3-Clause" ]
null
null
null
test/etfx_test.exs
ckampfe/etfx
36160c740dddf4405860947590094bbf6834dbb8
[ "BSD-3-Clause" ]
null
null
null
test/etfx_test.exs
ckampfe/etfx
36160c740dddf4405860947590094bbf6834dbb8
[ "BSD-3-Clause" ]
null
null
null
defmodule EtfxTest do use ExUnit.Case doctest Etfx import Etfx test "atom" do string = <<131, 100, 0, 5, 104, 101, 108, 108, 111>> assert {:ok, :hello} == binary_to_term(string) end test "atom_utf8" do string = <<131, 118, 0, 5, 104, 101, 108, 108, 111>> assert {:ok, :hello} == binary_to_...
23.4
96
0.559524
ffed951a4a61eedea0f42a208b432c78b05ce788
416
ex
Elixir
lib/queuerbackend/queue.ex
ayushpandey8439/QueuerBackend
36195b98e02ee8af2b8ba95b9a73547887efb9ce
[ "MIT" ]
null
null
null
lib/queuerbackend/queue.ex
ayushpandey8439/QueuerBackend
36195b98e02ee8af2b8ba95b9a73547887efb9ce
[ "MIT" ]
null
null
null
lib/queuerbackend/queue.ex
ayushpandey8439/QueuerBackend
36195b98e02ee8af2b8ba95b9a73547887efb9ce
[ "MIT" ]
null
null
null
defmodule Queuerbackend.Queue do use Ecto.Schema import Ecto.Changeset schema "queues" do field :head, :string field :maxLength, :integer field :name, :string field :queuers ,{:array, :string} timestamps() end @doc false def changeset(queue, attrs) do queue |> cast(attrs, [:nam...
20.8
56
0.653846
ffedc31c8e6765a2f37f773d3e312c2899b31b4a
2,572
ex
Elixir
lib/fire_act.ex
arathunku/fire-act
2577361f66463ab0741ba9db6f35850f64a0c992
[ "MIT" ]
2
2019-06-03T18:24:10.000Z
2019-08-23T08:29:43.000Z
lib/fire_act.ex
arathunku/fire-act
2577361f66463ab0741ba9db6f35850f64a0c992
[ "MIT" ]
null
null
null
lib/fire_act.ex
arathunku/fire-act
2577361f66463ab0741ba9db6f35850f64a0c992
[ "MIT" ]
null
null
null
defmodule FireAct do @moduledoc """ Inspired by Plug, a helper module for defining action handlers with optional params validations via Ecto.Changeset. Perfect for extracting logic outside the controller endpoints. Example usage: ``` defmodule RegisterUser do use FireAct.Handler use FireAct.Ch...
25.72
91
0.629471
ffedd57305fe190485501d584a714a4a0ba2db7a
32
ex
Elixir
lib/core/utils.ex
naramore/ivy
171c81a23e0657088c6c5156fb181f58313c03d7
[ "MIT" ]
null
null
null
lib/core/utils.ex
naramore/ivy
171c81a23e0657088c6c5156fb181f58313c03d7
[ "MIT" ]
null
null
null
lib/core/utils.ex
naramore/ivy
171c81a23e0657088c6c5156fb181f58313c03d7
[ "MIT" ]
null
null
null
defmodule Ivy.Core.Utils do end
10.666667
27
0.8125
ffee157b2a99978ef8a81dd46f928c6869032b1a
74
exs
Elixir
test/vega_web/views/page_view_test.exs
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
4
2020-03-22T22:12:29.000Z
2020-07-01T22:32:01.000Z
test/vega_web/views/page_view_test.exs
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2021-03-10T11:53:41.000Z
2021-10-17T11:18:54.000Z
test/vega_web/views/page_view_test.exs
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2020-03-30T19:03:23.000Z
2022-01-17T20:21:42.000Z
defmodule VegaWeb.PageViewTest do use VegaWeb.ConnCase, async: true end
18.5
35
0.810811
ffee2cf2c0dc1da2c292c56a305186016438e66a
226
ex
Elixir
apps/dtask/lib/dtask/task.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
apps/dtask/lib/dtask/task.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
apps/dtask/lib/dtask/task.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
defmodule DTask.Task do @moduledoc false alias DTask.Task.Reporter @type t() :: module @type params :: term @type outcome :: {:success, term} | {:failure, term} @callback exec(Reporter.t, params) :: outcome end
18.833333
54
0.668142
ffee7e50f91df89e671ce6943ba546a34b8e3475
908
exs
Elixir
mix.exs
bnbfinder/ecto-ulid
5331f1df423bd4c9378a8e85a21c6c9d3aab4777
[ "MIT" ]
null
null
null
mix.exs
bnbfinder/ecto-ulid
5331f1df423bd4c9378a8e85a21c6c9d3aab4777
[ "MIT" ]
1
2021-06-25T15:47:58.000Z
2021-06-25T15:47:58.000Z
mix.exs
bnbfinder/ecto-ulid
5331f1df423bd4c9378a8e85a21c6c9d3aab4777
[ "MIT" ]
null
null
null
defmodule Ecto.ULID.Mixfile do use Mix.Project def project do [ app: :ecto_ulid, version: "0.2.0", elixir: "~> 1.4", start_permanent: Mix.env == :prod, deps: deps(), name: "Ecto.ULID", description: "An Ecto.Type implementation of ULID.", package: package(), ...
21.619048
71
0.551762
ffee95a549e2e5fb4c5c98c97c4e7ff4cb7c5ba3
1,748
ex
Elixir
lib/sockets.ex
arijitdasgupta/exchat
98ec1562fc1bfb60dfc0fd4231adc29a53160a61
[ "MIT" ]
null
null
null
lib/sockets.ex
arijitdasgupta/exchat
98ec1562fc1bfb60dfc0fd4231adc29a53160a61
[ "MIT" ]
null
null
null
lib/sockets.ex
arijitdasgupta/exchat
98ec1562fc1bfb60dfc0fd4231adc29a53160a61
[ "MIT" ]
null
null
null
defmodule Sockets do require Logger @behaviour :cowboy_websocket_handler @timeout 10000000 def init(_, _req, _opts) do {:upgrade, :protocol, :cowboy_websocket} end def websocket_init(_type, req, _opts) do ChatProcs.addProc(self()) ChatProcs.addMessages(self(), History....
30.137931
86
0.573227
ffee975676c5757399eec6ad54211f0106e0f4bf
1,340
exs
Elixir
test/silver_vine/token/oauth2/refresh_token_test.exs
ritou/elixir-silver-vine-token
b55dde5691a9f96d32570fa329a664dd1652f1de
[ "MIT" ]
null
null
null
test/silver_vine/token/oauth2/refresh_token_test.exs
ritou/elixir-silver-vine-token
b55dde5691a9f96d32570fa329a664dd1652f1de
[ "MIT" ]
1
2021-10-19T10:41:22.000Z
2021-10-19T10:41:22.000Z
test/silver_vine/token/oauth2/refresh_token_test.exs
ritou/elixir-silver-vine-token
b55dde5691a9f96d32570fa329a664dd1652f1de
[ "MIT" ]
null
null
null
defmodule SilverVine.Token.OAuth2.RefreshTokenTest do use ExUnit.Case doctest SilverVine.Token.OAuth2.RefreshToken alias SilverVine.Token.OAuth2.RefreshToken alias KittenBlue.JWK @authz_server "https://server.example.com" @resource_server "https://resource.example.com" @user_id "user_id_12345" @clien...
28.510638
97
0.640299
ffeea3321e64d3f15d05f2e03303320825a6010e
7,339
exs
Elixir
lib/mix/test/mix/tasks/app.start_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
1
2018-10-02T13:55:29.000Z
2018-10-02T13:55:29.000Z
lib/mix/test/mix/tasks/app.start_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/app.start_test.exs
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.App.StartTest do use MixTest.Case defmodule AppStartSample do def project do [app: :app_start_sample, version: "0.1.0"] end def application do [applications: [:logger]] end end defmodule WrongElixirProject do...
29.592742
139
0.63837
ffeea78c0cae6dca121d9abc8e42c4dee76b0b99
1,200
ex
Elixir
lib/absinthe/type/custom/decimal.ex
hoyon/absinthe
a26b37ec28438c55e89ed558f363e827c24ee631
[ "MIT" ]
null
null
null
lib/absinthe/type/custom/decimal.ex
hoyon/absinthe
a26b37ec28438c55e89ed558f363e827c24ee631
[ "MIT" ]
null
null
null
lib/absinthe/type/custom/decimal.ex
hoyon/absinthe
a26b37ec28438c55e89ed558f363e827c24ee631
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Decimal) do defmodule Absinthe.Type.Custom.Decimal do @moduledoc false defdelegate serialize(value), to: Decimal, as: :to_string alias Absinthe.Blueprint.Input @spec parse(any) :: {:ok, Decimal.t()} | {:ok, nil} | :error def parse(%Input.String{value: value}) when is_bina...
24.489796
69
0.608333
ffeeae82cfc4e29c7f387b9a9a262c3a94d3adfc
190
ex
Elixir
lib/type_check/default_overrides/regex.ex
kkentzo/elixir-type_check
bec089445286e4a420d653276e7ba96dd1016876
[ "MIT" ]
291
2020-07-07T18:14:46.000Z
2022-03-29T22:36:48.000Z
lib/type_check/default_overrides/regex.ex
kkentzo/elixir-type_check
bec089445286e4a420d653276e7ba96dd1016876
[ "MIT" ]
71
2020-07-07T11:50:37.000Z
2022-03-23T21:20:54.000Z
lib/type_check/default_overrides/regex.ex
kkentzo/elixir-type_check
bec089445286e4a420d653276e7ba96dd1016876
[ "MIT" ]
12
2020-10-07T16:28:22.000Z
2022-02-17T16:31:05.000Z
defmodule TypeCheck.DefaultOverrides.Regex do use TypeCheck @type! t() :: %Elixir.Regex{ opts: binary(), re_pattern: term(), re_version: term(), source: binary() } end
19
45
0.642105
ffeee584092fcb2454eb74ca69d9288cc0cf2bef
4,787
exs
Elixir
test/phoenix_live_view/upload_external_test.exs
jonatanklosko/phoenix_live_view
95d5c7ccd0ac66e04b15c7b6128d44b60767e682
[ "MIT" ]
1
2021-04-22T16:40:32.000Z
2021-04-22T16:40:32.000Z
test/phoenix_live_view/upload_external_test.exs
jonatanklosko/phoenix_live_view
95d5c7ccd0ac66e04b15c7b6128d44b60767e682
[ "MIT" ]
null
null
null
test/phoenix_live_view/upload_external_test.exs
jonatanklosko/phoenix_live_view
95d5c7ccd0ac66e04b15c7b6128d44b60767e682
[ "MIT" ]
1
2021-01-14T12:58:22.000Z
2021-01-14T12:58:22.000Z
defmodule Phoenix.LiveView.UploadExternalTest do use ExUnit.Case, async: true @endpoint Phoenix.LiveViewTest.Endpoint import Phoenix.LiveViewTest alias Phoenix.LiveView alias Phoenix.LiveViewTest.UploadLive def inspect_html_safe(term) do term |> inspect() |> Phoenix.HTML.html_escape() |>...
33.711268
98
0.637769
ffef226431a7ac291cce9557f9ced27d76f4c744
1,135
exs
Elixir
gol_elixir/config/config.exs
strika/gol-benchmark
2c5e92ae0e35f2e1f0ec107109adb8fc23dc0d2a
[ "MIT" ]
null
null
null
gol_elixir/config/config.exs
strika/gol-benchmark
2c5e92ae0e35f2e1f0ec107109adb8fc23dc0d2a
[ "MIT" ]
null
null
null
gol_elixir/config/config.exs
strika/gol-benchmark
2c5e92ae0e35f2e1f0ec107109adb8fc23dc0d2a
[ "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.612903
73
0.752423
ffef5aa6b357ab31c51005501b6ee186413016a8
397
exs
Elixir
b1/test/b1_web/views/error_view_test.exs
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
1
2022-02-22T04:56:25.000Z
2022-02-22T04:56:25.000Z
b1/test/b1_web/views/error_view_test.exs
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
null
null
null
b1/test/b1_web/views/error_view_test.exs
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
null
null
null
defmodule B1Web.ErrorViewTest do use B1Web.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(B1Web.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert render_to_...
26.466667
87
0.720403
ffef6a76c1b583b4f7902ee0717f43960e9089b0
131
ex
Elixir
test/support/api.ex
frankdugan3/ash_phoenix
e776fbc4ec7d7c74d45d519303c4c51667a1e888
[ "MIT" ]
null
null
null
test/support/api.ex
frankdugan3/ash_phoenix
e776fbc4ec7d7c74d45d519303c4c51667a1e888
[ "MIT" ]
null
null
null
test/support/api.ex
frankdugan3/ash_phoenix
e776fbc4ec7d7c74d45d519303c4c51667a1e888
[ "MIT" ]
null
null
null
defmodule AshPhoenix.Test.Api do @moduledoc false use Ash.Api resources do registry(AshPhoenix.Test.Registry) end end
14.555556
38
0.748092
ffef8f0227ae9b24b736076c6a08b0c220ee98d6
2,153
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_click_through_url.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_click_through_url.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_click_through_url.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...
40.622642
357
0.740362
ffefa1b374afadb1326df45fe6509d7f34cd3e3d
28,931
ex
Elixir
lib/phoenix/router.ex
ashkan18/phoenix
01dc99d4cb3aa1cd6b6486d684aa2a8a810410ef
[ "MIT" ]
null
null
null
lib/phoenix/router.ex
ashkan18/phoenix
01dc99d4cb3aa1cd6b6486d684aa2a8a810410ef
[ "MIT" ]
null
null
null
lib/phoenix/router.ex
ashkan18/phoenix
01dc99d4cb3aa1cd6b6486d684aa2a8a810410ef
[ "MIT" ]
null
null
null
defmodule Phoenix.Router do defmodule NoRouteError do @moduledoc """ Exception raised when no route is found. """ defexception plug_status: 404, message: "no route found", conn: nil, router: nil def exception(opts) do conn = Keyword.fetch!(opts, :conn) router = Keyword.fetch!(opts, ...
30.485774
100
0.632332
ffefcf8e47eabbc64233e40d2198218c59c2b43b
3,050
exs
Elixir
test/github_reviews_test.exs
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
null
null
null
test/github_reviews_test.exs
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
1
2020-07-09T20:45:37.000Z
2020-07-09T20:45:37.000Z
test/github_reviews_test.exs
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
null
null
null
defmodule BorsNG.GitHub.GitHubReviewsTest do use ExUnit.Case doctest BorsNG.GitHub.Reviews test "counts an empty list as zero", _ do result = BorsNG.GitHub.Reviews.from_json!([]) assert result == %{"APPROVED" => 0, "CHANGES_REQUESTED" => 0, "approvers" => []} end test "counts an approval", _ do ...
24.796748
90
0.462295
fff0005ae9fcdc23b3efbe46f5e56fc6071ca005
1,748
ex
Elixir
lib/serum/build/pass_2/post_builder.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
lib/serum/build/pass_2/post_builder.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
lib/serum/build/pass_2/post_builder.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
defmodule Serum.Build.Pass2.PostBuilder do @moduledoc """ During pass 2, PostBuilder does the following: 1. Loops through the list of all blog posts. Renders the full HTML page of a blog post for each `Serum.PostInfo` object in the list. """ import Serum.Util alias Serum.Error alias Serum.Build al...
26.089552
78
0.672197
fff00c67a0a6035e8dfed02b5467b831caffc2b2
1,787
ex
Elixir
lib/instagram_clone_web/live/uploaders/avatar.ex
elixirprogrammer/InstagramClonePETAL
5710f89de32a95b0416a960a46d081e7ad4833ab
[ "MIT" ]
69
2021-04-11T21:57:26.000Z
2022-03-30T01:09:40.000Z
lib/instagram_clone_web/live/uploaders/avatar.ex
hminy572/InstagramClonePETAL
577cdad0e17399e47ef9d3f8e789bd07e33012b9
[ "MIT" ]
1
2021-04-16T17:38:11.000Z
2021-04-16T17:38:11.000Z
lib/instagram_clone_web/live/uploaders/avatar.ex
hminy572/InstagramClonePETAL
577cdad0e17399e47ef9d3f8e789bd07e33012b9
[ "MIT" ]
4
2021-04-16T10:45:18.000Z
2021-07-23T15:08:08.000Z
defmodule InstagramClone.Uploaders.Avatar do alias InstagramCloneWeb.Router.Helpers, as: Routes @upload_directory_name "uploads" @upload_directory_path "priv/static/uploads" defp ext(entry) do [ext | _] = MIME.extensions(entry.client_type) ext end def get_avatar_url(socket, entry) do Routes.s...
28.365079
89
0.672636
fff00d0974088cd7f8dd3aae626a23e98c17758d
1,649
exs
Elixir
test/new_relixir/instrumenters/plug_test.exs
nikhilbelchada/new-relixir
6595b7ef713617e4c69ff414371c01c0e168a706
[ "MIT" ]
192
2016-03-18T23:58:14.000Z
2022-02-04T13:41:32.000Z
test/new_relixir/instrumenters/plug_test.exs
nikhilbelchada/new-relixir
6595b7ef713617e4c69ff414371c01c0e168a706
[ "MIT" ]
53
2016-05-06T17:57:06.000Z
2019-01-25T21:11:52.000Z
test/new_relixir/instrumenters/plug_test.exs
nikhilbelchada/new-relixir
6595b7ef713617e4c69ff414371c01c0e168a706
[ "MIT" ]
55
2016-04-29T09:45:36.000Z
2020-05-27T23:35:04.000Z
defmodule NewRelixir.Instrumenters.PlugTest do use ExUnit.Case use Plug.Test import TestHelpers.Assertions alias NewRelixir.CurrentTransaction @moduletag configured: true defmodule FakePlugApp do use Plug.Router plug NewRelixir.Instrumenters.Plug plug :match plug :dispatch get "/h...
25.369231
82
0.685264
fff01668418b67d6d2ba5af5583a1997043a9b9f
4,675
ex
Elixir
lib/plaid/accounts.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
null
null
null
lib/plaid/accounts.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
null
null
null
lib/plaid/accounts.ex
ethangunderson/plaid-elixir
7c607a097bd0c23e85b72737dbbe0ec286faf96b
[ "MIT" ]
null
null
null
defmodule Plaid.Accounts do @moduledoc """ Functions for Plaid `accounts` endpoint. """ import Plaid, only: [make_request_with_cred: 4, validate_cred: 1] alias Plaid.Utils @derive Jason.Encoder defstruct accounts: [], item: nil, request_id: nil @type t :: %__MODULE__{ accounts: [Plaid.Acco...
26.117318
98
0.519572
fff03a26669d3a999a268dd84bb862f8a6757050
14,019
exs
Elixir
test/freshcom_web/controllers/user_controller_test.exs
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
9
2018-12-16T14:02:59.000Z
2021-01-19T07:25:40.000Z
test/freshcom_web/controllers/user_controller_test.exs
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
null
null
null
test/freshcom_web/controllers/user_controller_test.exs
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
4
2018-12-16T17:50:01.000Z
2021-01-19T07:25:51.000Z
defmodule FreshcomWeb.UserControllerTest do use FreshcomWeb.ConnCase import FreshcomWeb.Shortcut setup do conn = build_conn() |> put_req_header("accept", "application/vnd.api+json") |> put_req_header("content-type", "application/vnd.api+json") %{conn: conn} end describe "(ListUser...
29.575949
83
0.591055
fff067777c9c4d986657d5e47595b37ba0c66276
1,010
exs
Elixir
test/spaceex/articles/update_test.exs
LuizFerK/SpaceEx
ca1a4bd4881692860879b6f2c5d55bc521332c39
[ "MIT" ]
1
2021-12-13T15:50:00.000Z
2021-12-13T15:50:00.000Z
test/spaceex/articles/update_test.exs
LuizFerK/SpaceEx
ca1a4bd4881692860879b6f2c5d55bc521332c39
[ "MIT" ]
null
null
null
test/spaceex/articles/update_test.exs
LuizFerK/SpaceEx
ca1a4bd4881692860879b6f2c5d55bc521332c39
[ "MIT" ]
2
2022-01-09T18:12:17.000Z
2022-01-23T22:12:51.000Z
defmodule Spaceex.Articles.UpdateTest do use Spaceex.DataCase, async: true import Spaceex.Factory alias Spaceex.{Article, Error} alias Spaceex.Articles.Update describe "call/1" do setup do id = 0 insert(:article, id: id) {:ok, id: id} end test "when all params are valid, upd...
21.956522
72
0.59604
fff0b86e5b6f2398a9e1adf53351cb376f44b604
90
exs
Elixir
test/phx_template_web/views/layout_view_test.exs
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
test/phx_template_web/views/layout_view_test.exs
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
test/phx_template_web/views/layout_view_test.exs
sinorga/phx_template
730a44df362c1e035cb8afd55d2e49d44fa60632
[ "MIT" ]
null
null
null
defmodule PhxTemplateWeb.LayoutViewTest do use PhxTemplateWeb.ConnCase, async: true end
22.5
42
0.844444
fff0d4e5902fdbfeaedcece3d276a9fccab1dfb2
2,657
ex
Elixir
apps/core/lib/core/policies/repository.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
1
2021-12-13T09:43:15.000Z
2021-12-13T09:43:15.000Z
apps/core/lib/core/policies/repository.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/policies/repository.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
null
null
null
defmodule Core.Policies.Repository do use Piazza.Policy import Core.Policies.Utils alias Core.Schema.{User, Installation, Repository, Integration, Artifact, DockerRepository, ApplyLock} def can?(%User{} = user, %Integration{} = integ, policy) do %{repository: repo} = Core.Repo.preload(integ, [:repository])...
35.905405
104
0.631916