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
65cfdccdea53a6c9a49c8e3b8c43cbff533fa5c2
2,886
ex
Elixir
lib/game/session/commands.ex
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/game/session/commands.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/game/session/commands.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Session.Commands do @moduledoc """ Module to hold functions related to command processing """ alias Game.Color alias Game.Command alias Game.Command.Pager alias Game.Command.ParseContext alias Game.Session alias Game.Session.Regen alias Game.Session.State alias Game.Socket @doc ...
26.722222
101
0.594595
65cff5d50d4a541651d2de99d8bd6ad74a30f1e1
1,349
exs
Elixir
test/lib/utils_test.exs
smpallen99/unbrella
d8d902edd5d68cca46686cc17e435fe9d2bce0da
[ "MIT" ]
9
2017-07-09T21:45:56.000Z
2020-09-26T04:19:58.000Z
test/lib/utils_test.exs
smpallen99/unbrella
d8d902edd5d68cca46686cc17e435fe9d2bce0da
[ "MIT" ]
null
null
null
test/lib/utils_test.exs
smpallen99/unbrella
d8d902edd5d68cca46686cc17e435fe9d2bce0da
[ "MIT" ]
2
2017-09-18T14:38:59.000Z
2017-11-27T10:31:36.000Z
Code.require_file("../mix_helpers.exs", __DIR__) defmodule UnbrellaTest.Utils do use ExUnit.Case doctest Unbrella.Utils import MixHelper alias Unbrella.Utils setup do Application.put_env(:unbrella, :plugins, plugin_one: [], plugin_two: []) :ok end test "get_plugin_paths" do in_tmp("get_plu...
25.942308
98
0.669385
65cffbd829ed44fc91c4b5a6ce84959d2376fc66
3,690
exs
Elixir
test/repo_test.exs
alexfilatov/guardian_redis
4db9df70cd54920dd87c79f434218b3228f1408d
[ "MIT" ]
4
2021-05-14T09:57:56.000Z
2022-03-25T13:46:19.000Z
test/repo_test.exs
alexfilatov/guardian_redis
4db9df70cd54920dd87c79f434218b3228f1408d
[ "MIT" ]
1
2021-06-24T04:44:50.000Z
2021-06-24T07:37:20.000Z
test/repo_test.exs
alexfilatov/guardian_redis
4db9df70cd54920dd87c79f434218b3228f1408d
[ "MIT" ]
1
2022-03-28T07:35:19.000Z
2022-03-28T07:35:19.000Z
defmodule GuardianRedis.RepoTest do use ExUnit.Case alias Guardian.DB.Token @doc """ token-uuid:token - Redis key combined from `jti` and `aud` """ def get_token(key \\ "token-uuid:token") do case GuardianRedis.Redix.command(["GET", key]) do {:ok, nil} -> nil {:ok, jwt_json} -> Jason.decode...
28.167939
97
0.606775
65d0146b563a884616844d4c4ced8c49c2aff5b5
3,198
ex
Elixir
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/operation.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...
54.20339
543
0.728268
65d03d21cf55fe1f039713f720be13b35dbf05cc
2,196
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/event_attachment.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/event_attachment.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/event_attachment.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...
36.6
238
0.718124
65d03d7e8182d3d46876270afa4fd69b83989869
5,021
ex
Elixir
lib/response_snapshot.ex
sb8244/elixir_response_snapshot
0f1e84f258678167e28869bbb041757728acd878
[ "MIT" ]
37
2018-04-17T09:37:48.000Z
2022-01-23T23:43:16.000Z
lib/response_snapshot.ex
sb8244/elixir_response_snapshot
0f1e84f258678167e28869bbb041757728acd878
[ "MIT" ]
2
2018-08-21T17:42:58.000Z
2019-11-13T04:42:24.000Z
lib/response_snapshot.ex
sb8244/elixir_response_snapshot
0f1e84f258678167e28869bbb041757728acd878
[ "MIT" ]
3
2018-04-22T13:34:21.000Z
2019-11-13T04:33:23.000Z
defmodule ResponseSnapshot do @moduledoc """ ResponseSnapshot is a testing tool for Elixir that captures the output of responses and ensures that they do not change in between test runs. The output is saved to disk, meant to be checked into source control. This output can be used by frontend and other tests t...
36.122302
116
0.723163
65d070cefdb1ea044fc3c96bfbcc91b81fe65c24
928
exs
Elixir
config/config.exs
lowlandresearch/kudzu
f65da5061c436afb114a2e95bc6d115b6ec7be53
[ "MIT" ]
null
null
null
config/config.exs
lowlandresearch/kudzu
f65da5061c436afb114a2e95bc6d115b6ec7be53
[ "MIT" ]
4
2020-05-16T16:05:33.000Z
2020-05-16T19:52:12.000Z
config/config.exs
lowlandresearch/kudzu
f65da5061c436afb114a2e95bc6d115b6ec7be53
[ "MIT" ]
null
null
null
# This file is responsible for configuring your umbrella # and **all applications** and their dependencies with the # help of the Config module. # # Note that all applications in your umbrella share the # same configuration and dependencies, which is why they # all use the same configuration file. If you want different...
25.777778
60
0.712284
65d0abd39459e8c07a045958d71e306d6adf7cd1
1,269
ex
Elixir
lib/hap/services/carbon_dioxide_sensor.ex
petermm/hap
550433a78bccd586ab6a7d8bf85765bfae58b13b
[ "MIT" ]
40
2019-10-26T01:58:42.000Z
2022-03-09T18:18:39.000Z
lib/hap/services/carbon_dioxide_sensor.ex
petermm/hap
550433a78bccd586ab6a7d8bf85765bfae58b13b
[ "MIT" ]
11
2021-04-02T14:55:02.000Z
2021-11-05T13:49:55.000Z
lib/hap/services/carbon_dioxide_sensor.ex
petermm/hap
550433a78bccd586ab6a7d8bf85765bfae58b13b
[ "MIT" ]
6
2020-05-18T09:34:14.000Z
2021-11-04T11:14:15.000Z
defmodule HAP.Services.CarbonDioxideSensor do @moduledoc """ Struct representing an instance of the `public.hap.service.sensor.carbon-dioxide` service """ defstruct carbon_dioxide_detected: nil, carbon_dioxide_level: nil, carbon_dioxide_peak_level: nil, name: nil, ...
32.538462
91
0.655634
65d0c45cc2d24abfa77a27415f8645143c98717e
2,781
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/trace.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/trace.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/trace.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...
55.62
434
0.74973
65d0d5e2c24952f88d6cd9d604e171b9e4a2a4b2
4,868
exs
Elixir
mix.exs
tcrossland/ecto_sql
94a9bb8afe7c09f98f566433fa72ef93badc52ba
[ "Apache-2.0" ]
1
2020-10-18T09:11:56.000Z
2020-10-18T09:11:56.000Z
mix.exs
tcrossland/ecto_sql
94a9bb8afe7c09f98f566433fa72ef93badc52ba
[ "Apache-2.0" ]
1
2020-06-29T20:59:38.000Z
2020-06-29T20:59:38.000Z
mix.exs
tcrossland/ecto_sql
94a9bb8afe7c09f98f566433fa72ef93badc52ba
[ "Apache-2.0" ]
1
2019-05-31T02:43:25.000Z
2019-05-31T02:43:25.000Z
defmodule EctoSQL.MixProject do use Mix.Project @version "3.6.0-dev" @adapters ~w(pg myxql tds) def project do [ app: :ecto_sql, version: @version, elixir: "~> 1.8", deps: deps(), test_paths: test_paths(System.get_env("ECTO_ADAPTER")), xref: [ exclude: [ ...
24.09901
90
0.558546
65d0df1790374b9a18b147708fd461c15b5c9782
1,703
ex
Elixir
elixir_phoenix/lib/elixir_phoenix_web.ex
kaibyao/rust-postgres-rest-benchmarks
0a32719c37de3cb783b5e597bef7381ccb4e20f1
[ "MIT" ]
null
null
null
elixir_phoenix/lib/elixir_phoenix_web.ex
kaibyao/rust-postgres-rest-benchmarks
0a32719c37de3cb783b5e597bef7381ccb4e20f1
[ "MIT" ]
null
null
null
elixir_phoenix/lib/elixir_phoenix_web.ex
kaibyao/rust-postgres-rest-benchmarks
0a32719c37de3cb783b5e597bef7381ccb4e20f1
[ "MIT" ]
null
null
null
defmodule ElixirPhoenixWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use ElixirPhoenixWeb, :controller use ElixirPhoenixWeb, :view The definitions below will be executed for every vi...
24.328571
83
0.70229
65d1be0fa12cf5cc3a9293a977cbbe11bd510689
60,605
ex
Elixir
clients/cloud_identity/lib/google_api/cloud_identity/v1/api/groups.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/lib/google_api/cloud_identity/v1/api/groups.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/lib/google_api/cloud_identity/v1/api/groups.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...
51.100337
572
0.631549
65d1c3b650f8dadd3ccac7020cb714723749349e
391
ex
Elixir
lib/app_store/api/response.ex
linjunpop/app_store
7fab554f580e99772d2ce611fa12940e6e50c48e
[ "MIT" ]
5
2021-08-19T16:12:40.000Z
2022-02-22T04:17:33.000Z
lib/app_store/api/response.ex
linjunpop/app_store
7fab554f580e99772d2ce611fa12940e6e50c48e
[ "MIT" ]
2
2021-08-19T13:40:57.000Z
2021-08-19T13:41:31.000Z
lib/app_store/api/response.ex
linjunpop/app_store
7fab554f580e99772d2ce611fa12940e6e50c48e
[ "MIT" ]
null
null
null
defmodule AppStore.API.Response do @moduledoc """ The struct representing the response from API. """ @enforce_keys [:body, :headers, :status] defstruct data: nil, body: nil, headers: [], status: nil @type t :: %__MODULE__{ data: map(), body: binary(), headers: AppStore.HTTPCl...
24.4375
58
0.611253
65d1cb067b41d6767bfc43959c6d263f36cbeb83
388
ex
Elixir
lib/cforum_web/views/users/registration_view.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum_web/views/users/registration_view.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum_web/views/users/registration_view.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
defmodule CforumWeb.Users.RegistrationView do use CforumWeb, :view alias CforumWeb.Views.ViewHelpers alias CforumWeb.Views.ViewHelpers.Path alias CforumWeb.ErrorHelpers def page_title(:new, _), do: gettext("register") def page_heading(:new, _), do: gettext("register") def body_id(:new, _), do: "registra...
29.846154
52
0.744845
65d1d52a037b0fd534b0eb923f60d888dea723e0
1,262
exs
Elixir
test/auto_api/states/graphics_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
test/auto_api/states/graphics_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
5
2018-11-29T09:48:29.000Z
2019-11-06T12:11:35.000Z
test/auto_api/states/graphics_state_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
46.740741
79
0.778922
65d1da1292229439a4dddc43ef6165f220ba2dd7
1,248
exs
Elixir
hexdocs__pm__phoenix__up_and_running.html/hello/config/releases.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/config/releases.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/config/releases.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. #use Mix.Config import Config database_url = System.get_env("DATABASE_URL") || rai...
29.023256
67
0.717147
65d1f2b6a56b5d185843a081bd9a8942a7e6b41b
370
exs
Elixir
apps/nerves_hub_web_core/priv/repo/migrations/20220411152257_create_user_tokens.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
10
2018-04-12T18:16:40.000Z
2018-04-14T06:05:42.000Z
apps/nerves_hub_web_core/priv/repo/migrations/20220411152257_create_user_tokens.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
13
2018-05-25T19:31:49.000Z
2018-05-31T14:27:43.000Z
apps/nerves_hub_web_core/priv/repo/migrations/20220411152257_create_user_tokens.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
2
2018-04-12T18:19:47.000Z
2018-04-12T18:57:46.000Z
defmodule NervesHubWebCore.Repo.Migrations.CreateUserTokens do use Ecto.Migration def change do create table(:user_tokens) do add :token, :string add :note, :string add :last_used, :utc_datetime add :user_id, references(:users, on_delete: :delete_all) timestamps() end cr...
21.764706
62
0.691892
65d21014308e2bf5a8aab451befb5fbf4499fd7c
1,947
exs
Elixir
clients/service_networking/mix.exs
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/service_networking/mix.exs
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/service_networking/mix.exs
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.059701
130
0.672316
65d211dd6eb10ed4b97ac5a4ea50c429171cfb44
75
exs
Elixir
test/test_helper.exs
jolyus/csv-uploader
ca29234a4b1bf1ab3f0760099b1bcd4f9aa8c354
[ "MIT" ]
null
null
null
test/test_helper.exs
jolyus/csv-uploader
ca29234a4b1bf1ab3f0760099b1bcd4f9aa8c354
[ "MIT" ]
null
null
null
test/test_helper.exs
jolyus/csv-uploader
ca29234a4b1bf1ab3f0760099b1bcd4f9aa8c354
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(CsvUploader.Repo, :manual)
15
57
0.773333
65d22dee7d0e2428c39092277f216ab8cce47015
1,042
exs
Elixir
test/verbs/take_test.exs
jgsmith/exinfiltr8
cabe92dd44e9d6ac390856e9983f5897989a5bfc
[ "Apache-2.0" ]
null
null
null
test/verbs/take_test.exs
jgsmith/exinfiltr8
cabe92dd44e9d6ac390856e9983f5897989a5bfc
[ "Apache-2.0" ]
2
2021-03-10T14:09:03.000Z
2021-05-11T09:54:54.000Z
test/verbs/take_test.exs
jgsmith/exinfiltr8
cabe92dd44e9d6ac390856e9983f5897989a5bfc
[ "Apache-2.0" ]
null
null
null
defmodule Verbs.TakeTest do use Exinfiltr8.DataCase, async: false alias Militerm.Test.Entity setup do data = %{ "gender" => "neuter", "name" => "character", "cap_name" => "Character" } item_data = %{ detail: %{ "default" => %{ "nouns" => ["thing", "item"] ...
21.708333
67
0.599808
65d269587afa859a3bbb96e39e77d9f5a1ff6d86
1,674
ex
Elixir
lib/listentothis_web/endpoint.ex
IamTheLime/listentothis
cc2b4ca3a11623e68f5657d8538a586fddeba85b
[ "Apache-2.0" ]
null
null
null
lib/listentothis_web/endpoint.ex
IamTheLime/listentothis
cc2b4ca3a11623e68f5657d8538a586fddeba85b
[ "Apache-2.0" ]
null
null
null
lib/listentothis_web/endpoint.ex
IamTheLime/listentothis
cc2b4ca3a11623e68f5657d8538a586fddeba85b
[ "Apache-2.0" ]
null
null
null
defmodule ListentothisWeb.Endpoint do use Phoenix.Endpoint, otp_app: :listentothis socket "/socket", ListentothisWeb.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. ...
29.368421
95
0.712067
65d2705632de1b0ca1cb671702b61f2d0931000f
3,973
exs
Elixir
test/oli/delivery/attempts/browse_updates_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
test/oli/delivery/attempts/browse_updates_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
test/oli/delivery/attempts/browse_updates_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Attempts.BrwoseUpdatesTest do use Oli.DataCase alias Oli.Delivery.Attempts.Core, as: Attempts alias Oli.Repo.{Paging, Sorting} alias Oli.Delivery.Attempts.Core.{ResourceAccess, GradeUpdateBrowseOptions} defp resource_access_fixture(attrs) do %ResourceAccess{} |> ResourceAccess...
34.547826
93
0.600554
65d2976db09ff90e5afae02965f2b2b02f7c1dc4
195
ex
Elixir
lib/vnnox.ex
vanillahsu/vnnox_ex
bf11ce2cdde53cbc69ec3a58c61425077f9c3415
[ "BSD-2-Clause" ]
null
null
null
lib/vnnox.ex
vanillahsu/vnnox_ex
bf11ce2cdde53cbc69ec3a58c61425077f9c3415
[ "BSD-2-Clause" ]
null
null
null
lib/vnnox.ex
vanillahsu/vnnox_ex
bf11ce2cdde53cbc69ec3a58c61425077f9c3415
[ "BSD-2-Clause" ]
null
null
null
defmodule VNNOX do @moduledoc """ Documentation for `VNNOX`. """ @doc """ Hello world. ## Examples iex> VNNOX.hello() :world """ def hello do :world end end
10.263158
28
0.54359
65d2b1ff4ba61c86b451edc92cccffa2ebd58035
2,836
exs
Elixir
test/teiserver/coordinator/host_update_test.exs
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
test/teiserver/coordinator/host_update_test.exs
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
test/teiserver/coordinator/host_update_test.exs
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Coordinator.HostUpdateTest do use Central.ServerCase, async: false alias Teiserver.Battle.Lobby alias Teiserver.Common.PubsubListener alias Teiserver.{Client, Coordinator} import Teiserver.TeiserverTestLib, only: [tachyon_auth_setup: 0, _tachyon_send: 2, _tachyon_recv: 1] setup do ...
34.585366
113
0.687941
65d2c5d5d1602bc84a7a3f61345f352010144a29
1,468
ex
Elixir
lib/speakeasy/load_resource_by.ex
rbino/speakeasy
5bf7b52c21ce97471c5029ef4a6ea563633279c6
[ "MIT" ]
null
null
null
lib/speakeasy/load_resource_by.ex
rbino/speakeasy
5bf7b52c21ce97471c5029ef4a6ea563633279c6
[ "MIT" ]
null
null
null
lib/speakeasy/load_resource_by.ex
rbino/speakeasy
5bf7b52c21ce97471c5029ef4a6ea563633279c6
[ "MIT" ]
null
null
null
defmodule Speakeasy.LoadResourceBy do @moduledoc """ A convienence middleware to `LoadResource` using a specified key in the Absinthe arguments. See the [README](readme.html) for a complete example in a Absinthe Schema. """ @behaviour Absinthe.Middleware alias Speakeasy.LoadResource @doc """ This cal...
34.952381
108
0.668937
65d2d920322865a080a50e2f0848b95bf478bd14
2,356
ex
Elixir
clients/bare_metal_solution/lib/google_api/bare_metal_solution/v1/model/status.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/bare_metal_solution/lib/google_api/bare_metal_solution/v1/model/status.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/bare_metal_solution/lib/google_api/bare_metal_solution/v1/model/status.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
44.45283
427
0.722835
65d2e86eff11aff0a336b8111360787ab766b23f
34
ex
Elixir
host_core/lib/host_core/lattice.ex
sleipnir/wasmcloud-otp
aef10f2f07257e65c527be6030006aaed2b85ff9
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core/lattice.ex
sleipnir/wasmcloud-otp
aef10f2f07257e65c527be6030006aaed2b85ff9
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core/lattice.ex
sleipnir/wasmcloud-otp
aef10f2f07257e65c527be6030006aaed2b85ff9
[ "Apache-2.0" ]
null
null
null
defmodule HostCore.Lattice do end
11.333333
29
0.852941
65d2ed493e29f0b79265c60c8d7e6bd4952f4b83
1,123
exs
Elixir
config/config.exs
bcdevices/nerves_ntp
4b6f3e055d8f21c8821d6ecfaaafda77480fd2b9
[ "Apache-2.0" ]
null
null
null
config/config.exs
bcdevices/nerves_ntp
4b6f3e055d8f21c8821d6ecfaaafda77480fd2b9
[ "Apache-2.0" ]
null
null
null
config/config.exs
bcdevices/nerves_ntp
4b6f3e055d8f21c8821d6ecfaaafda77480fd2b9
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.225806
73
0.752449
65d30712c519ae9fae7ca44c9fe02a7fba2413f1
139
exs
Elixir
config/config.exs
Contraktor-Legal-Tech/ex-block-cypher
dc08d6c4a4fbb066f978579e87cbeb25faae9f25
[ "MIT" ]
null
null
null
config/config.exs
Contraktor-Legal-Tech/ex-block-cypher
dc08d6c4a4fbb066f978579e87cbeb25faae9f25
[ "MIT" ]
null
null
null
config/config.exs
Contraktor-Legal-Tech/ex-block-cypher
dc08d6c4a4fbb066f978579e87cbeb25faae9f25
[ "MIT" ]
null
null
null
use Mix.Config config :ex_block_cypher, [ token: "8ef9ac1ae47c4c658e73b37bca666832", eth_chain: "eth/main", btc_chain: "btc/test3" ]
19.857143
44
0.741007
65d30d8d1d96bb0cbb32d928a84f91c578d8078c
9,083
ex
Elixir
lib/Pokerap/Ez.ex
freexploit/Pokerap
81b128149ee054a51850410caea0a0d7f85fa767
[ "MIT" ]
null
null
null
lib/Pokerap/Ez.ex
freexploit/Pokerap
81b128149ee054a51850410caea0a0d7f85fa767
[ "MIT" ]
null
null
null
lib/Pokerap/Ez.ex
freexploit/Pokerap
81b128149ee054a51850410caea0a0d7f85fa767
[ "MIT" ]
null
null
null
defmodule Pokerap.Ez do @moduledoc """ Helper functions to make pokemon searching more intuitve "get what I mean" instead of the almost firehose-esk data from the API """ alias Pokerap.Env, as: Env #cleaner to move this out to its own funtion defp parse_evo(chain) do [chain["species"]["name"]|Enum.m...
40.914414
134
0.670153
65d35d2cf8e1d97ab72f101793ff7d0c4e8007d0
140
ex
Elixir
lib/tinkoff_invest/model/empty.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
1
2021-05-26T11:38:42.000Z
2021-05-26T11:38:42.000Z
lib/tinkoff_invest/model/empty.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
null
null
null
lib/tinkoff_invest/model/empty.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
null
null
null
defmodule TinkoffInvest.Model.Empty do use TypedStruct typedstruct enforce: true do end def new(_) do %__MODULE__{} end end
12.727273
38
0.714286
65d366e3c39ed78a9d438bc1c3b72758d0eb21b0
1,154
ex
Elixir
lib/mix/utils.ex
devonestes/ex_admin
e135ae7c28de78fc87baf519ff8a32da12e8bf66
[ "MIT" ]
1,347
2015-10-05T18:23:49.000Z
2022-01-09T18:38:36.000Z
lib/mix/utils.ex
fanduel/ex_admin
05806a718859a0e155d3447c3ffde8a536fd676a
[ "MIT" ]
402
2015-10-03T13:53:32.000Z
2021-07-08T09:52:22.000Z
lib/mix/utils.ex
fanduel/ex_admin
05806a718859a0e155d3447c3ffde8a536fd676a
[ "MIT" ]
333
2015-10-12T22:56:57.000Z
2021-05-26T18:40:24.000Z
defmodule Mix.ExAdmin.Utils do def get_package_path do __ENV__.file |> Path.dirname() |> String.split("/lib/mix") |> hd end def get_module do Mix.Project.get() |> Module.split() |> Enum.reverse() |> Enum.at(1) end @doc "Print a status message to the console" def status_msg(...
33.941176
87
0.627383
65d36f45a1380e86c642937321bda7fab4e87ee0
1,675
exs
Elixir
config/dev.exs
lucas-sachet/NLW04
1c678764d49d421d73d6beb942036593863397e0
[ "MIT" ]
null
null
null
config/dev.exs
lucas-sachet/NLW04
1c678764d49d421d73d6beb942036593863397e0
[ "MIT" ]
null
null
null
config/dev.exs
lucas-sachet/NLW04
1c678764d49d421d73d6beb942036593863397e0
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :rocketpay, Rocketpay.Repo, username: "postgres", password: "postgres", database: "rocketpay_dev", hostname: "localhost", port: 5432, show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debuggin...
28.389831
68
0.726567
65d39452cec3b156126359c33aa5b5ba6fae23be
3,360
exs
Elixir
test/basic_test.exs
lainor/amqpx
a1327978ba000eeba9d9badb354833ebe23f2a36
[ "MIT" ]
null
null
null
test/basic_test.exs
lainor/amqpx
a1327978ba000eeba9d9badb354833ebe23f2a36
[ "MIT" ]
null
null
null
test/basic_test.exs
lainor/amqpx
a1327978ba000eeba9d9badb354833ebe23f2a36
[ "MIT" ]
null
null
null
defmodule BasicTest do use ExUnit.Case alias Amqpx.{Basic, Connection, Channel, Queue} 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} ...
31.111111
96
0.620833
65d3ba740b171c40a83219beeb786ebade438c39
1,536
ex
Elixir
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_request.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.680851
99
0.751953
65d3c707619ca5ee91d07dc8ea10e4cc5743bb8b
590
exs
Elixir
kousa/test/broth/_message/user/get_bots_test.exs
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/test/broth/_message/user/get_bots_test.exs
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/test/broth/_message/user/get_bots_test.exs
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule BrothTest.Message.User.GetBotsTest do use ExUnit.Case, async: true @moduletag :message alias Broth.Message.User.GetBots setup do {:ok, uuid: UUID.uuid4()} end describe "when you send an get_bots message" do test "omitting the reference is not allowed", %{uuid: uuid} do assert {:e...
26.818182
98
0.605085
65d3d39f3279828e3d616d0a6f559862245c9a45
898
ex
Elixir
clients/life_sciences/lib/google_api/life_sciences/v2beta/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/life_sciences/lib/google_api/life_sciences/v2beta/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/life_sciences/lib/google_api/life_sciences/v2beta/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.259259
74
0.762806
65d3d42914bd730e282e17c1061f2e53fbefc77d
585
ex
Elixir
lib/remove_zeros.ex
srecnig/golf
bd200914fbfee2af8d39b2947156966aac862e43
[ "MIT" ]
null
null
null
lib/remove_zeros.ex
srecnig/golf
bd200914fbfee2af8d39b2947156966aac862e43
[ "MIT" ]
null
null
null
lib/remove_zeros.ex
srecnig/golf
bd200914fbfee2af8d39b2947156966aac862e43
[ "MIT" ]
null
null
null
defmodule RemoveZeros do # http://codegolf.stackexchange.com/questions/71877/remove-leading-and-trailing-zeroes def remove_zeros list do # drop everything until first non zero, reverse, drop everything until first non zero, reverse # split at first non-zero, reverse, split at first non-zero, reverse l...
29.25
98
0.65812
65d3f61583db5df48f783eae694de21238f4e4b6
272
ex
Elixir
web/repositories/version_repo.ex
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
web/repositories/version_repo.ex
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
web/repositories/version_repo.ex
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
defmodule ProjectsStatistics.VersionRepo do alias ProjectsStatistics.Repo alias ProjectsStatistics.Version def find(id) do Repo.get(Version, id) end def create(attributes) do %Version{} |> Version.changeset(attributes) |> Repo.insert end end
18.133333
43
0.724265
65d469d145851ad712392acbffc36dc0dfc618a7
63
ex
Elixir
gallows/lib/gallows_web/views/layout_view.ex
jeethridge/elixir-hangman
ff1202fd1f54cad887180c900670306a20fe4339
[ "Unlicense" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
gallows/lib/gallows_web/views/layout_view.ex
CraigTreptow/elixir-for-programmers
b2a96f12b1dd8621d337e7d15c504f12b079cd3e
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
gallows/lib/gallows_web/views/layout_view.ex
CraigTreptow/elixir-for-programmers
b2a96f12b1dd8621d337e7d15c504f12b079cd3e
[ "MIT" ]
null
null
null
defmodule GallowsWeb.LayoutView do use GallowsWeb, :view end
15.75
34
0.809524
65d48b63b088123bed0f74b1d468b96fd8059e8f
1,083
ex
Elixir
lib/server2server_web/channels/user_socket.ex
iboard/phxserver2server
8c8d31be87dabdf846469492525d7bf6a61bccdd
[ "MIT" ]
null
null
null
lib/server2server_web/channels/user_socket.ex
iboard/phxserver2server
8c8d31be87dabdf846469492525d7bf6a61bccdd
[ "MIT" ]
null
null
null
lib/server2server_web/channels/user_socket.ex
iboard/phxserver2server
8c8d31be87dabdf846469492525d7bf6a61bccdd
[ "MIT" ]
null
null
null
defmodule Server2serverWeb.UserSocket do use Phoenix.Socket ## Channels channel "proxy:*", Server2serverWeb.ProxyChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set fo...
31.852941
88
0.703601
65d4b3e7e6546aaa177d5c6a414c1b44333df484
1,488
ex
Elixir
installer/lib/mix/tasks/phx.new.ecto.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
installer/lib/mix/tasks/phx.new.ecto.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
installer/lib/mix/tasks/phx.new.ecto.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phx.New.Ecto do @moduledoc """ Creates a new Ecto project within an umbrella application. This task is inteded to create a bare Ecto project without web integration, which serves as a core application of your domain for web applications and your greater umbrella platform to integrate wi...
26.571429
83
0.676747
65d4bebbfe2f5ca130ead935ebab7f7df6073dc6
7,283
ex
Elixir
lib/gen_gossip/vector_clock.ex
sschneider1207/gen_gossip
9a36aadbe5443f5ba81025125bff95fbb227ec83
[ "MIT" ]
null
null
null
lib/gen_gossip/vector_clock.ex
sschneider1207/gen_gossip
9a36aadbe5443f5ba81025125bff95fbb227ec83
[ "MIT" ]
null
null
null
lib/gen_gossip/vector_clock.ex
sschneider1207/gen_gossip
9a36aadbe5443f5ba81025125bff95fbb227ec83
[ "MIT" ]
null
null
null
defmodule GenGossip.VectorClock do @moduledoc """ Elixir implementation of vector clocks. Based on the erlang version from `:riak_core` (https://github.com/basho/riak_core/blob/develop/src/vclock.erl). """ @type t :: [Dot.t] @type vclock_node :: term @type counter :: integer @type timestamp :: integ...
27.175373
94
0.639846
65d4c7b732998c4be87d3c996db4033cfac573c9
3,231
ex
Elixir
lib/pgex/connection/startup.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
lib/pgex/connection/startup.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
lib/pgex/connection/startup.ex
karlseguin/pgex
2921f350c9f8c8f72cc75c7ede85728ea5dba1bf
[ "MIT" ]
null
null
null
# Encapsulates the logic needed to bring a connection online. This currently # involves authentication and loading type information. This code logically # belongs in PgEx.Connection, but I'm thinking it might make things more # manageable to split it up. defmodule PgEx.Connection.Startup do @moduledoc false alias P...
34.37234
103
0.607552
65d4ca4bb456c9fc7bd125dffecf9c91463124ad
19,660
ex
Elixir
clients/content/lib/google_api/content/v2/api/datafeeds.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/datafeeds.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/datafeeds.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.299539
191
0.632757
65d4dea169a9ae39d36998aca74b871f05e332ba
126
exs
Elixir
dpp/test/dpp_test.exs
XiaoxiaoZ/Distributed-path-planner
a7467e08e60248793dc55624497fd91bdb45ca14
[ "MIT" ]
null
null
null
dpp/test/dpp_test.exs
XiaoxiaoZ/Distributed-path-planner
a7467e08e60248793dc55624497fd91bdb45ca14
[ "MIT" ]
6
2021-12-12T13:23:17.000Z
2021-12-17T12:03:46.000Z
dpp/test/dpp_test.exs
XiaoxiaoZ/Distributed-path-planner
a7467e08e60248793dc55624497fd91bdb45ca14
[ "MIT" ]
null
null
null
defmodule DPPTest do use ExUnit.Case doctest DPP test "greets the world" do assert DPP.hello() == :world end end
14
32
0.68254
65d4f84b13c0af1f3cfff5776b78a14fce7cfe27
142
ex
Elixir
lib/brex/rule/function.ex
kianmeng/brex
f9758e0e8684404d7552597aac9e436aa8063532
[ "MIT" ]
34
2018-04-04T10:27:08.000Z
2019-05-19T15:46:08.000Z
lib/brex/rule/function.ex
kianmeng/brex
f9758e0e8684404d7552597aac9e436aa8063532
[ "MIT" ]
4
2020-05-04T08:50:21.000Z
2021-12-15T01:25:43.000Z
lib/brex/rule/function.ex
kianmeng/brex
f9758e0e8684404d7552597aac9e436aa8063532
[ "MIT" ]
3
2020-05-07T13:36:25.000Z
2021-11-04T22:49:16.000Z
defimpl Brex.Rule.Evaluable, for: Function do def evaluate(rule, value) do rule.(value) rescue error -> {:error, error} end end
17.75
45
0.669014
65d50113a75e012ce0b204296e42bf3099215d7d
1,378
ex
Elixir
apps/omg_eth/lib/omg_eth/supervisor.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/lib/omg_eth/supervisor.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/lib/omg_eth/supervisor.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
30.622222
98
0.708273
65d5131971190d285f1819ffa4bcef08a4a8320e
119
exs
Elixir
config/config.exs
stephenmoloney/scrivener_list
367fe15e01700b3c3b93b1e08baf9357551d65f7
[ "MIT" ]
25
2016-05-05T18:57:56.000Z
2022-03-18T01:14:53.000Z
config/config.exs
stephenmoloney/scrivener_list
367fe15e01700b3c3b93b1e08baf9357551d65f7
[ "MIT" ]
6
2017-01-08T10:21:58.000Z
2022-03-22T18:31:25.000Z
config/config.exs
stephenmoloney/scrivener_list
367fe15e01700b3c3b93b1e08baf9357551d65f7
[ "MIT" ]
9
2016-07-25T11:02:09.000Z
2020-06-01T22:47:30.000Z
use Mix.Config if Mix.env() == :test do config :scrivener_list, Scrivener.Repo, adapter: Ecto.Adapters.Postgres end
19.833333
73
0.747899
65d514be3f74c2c4d3a7ee05415d1cf1ba5c5ece
18,096
exs
Elixir
lib/iex/test/iex/helpers_test.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule IEx.HelpersTest do use IEx.Case import IEx.Helpers test "clear helper" do Application.put_env(:elixir, :ansi_enabled, true) assert capture_iex("clear()") == "\e[H\e[2J" Application.put_env(:elixir, :ansi_enabled, false) assert capture_i...
30.827939
151
0.619695
65d5436a02c510684d65eba4e51362774d354235
347
exs
Elixir
test/fxnk/string_test.exs
matthewsecrist/fxnk
3f489f6069ba09b959bb3e8f22c7b9f1fa1d5e45
[ "MIT" ]
2
2020-10-16T19:05:07.000Z
2020-12-30T19:59:40.000Z
test/fxnk/string_test.exs
matthewsecrist/fxnk
3f489f6069ba09b959bb3e8f22c7b9f1fa1d5e45
[ "MIT" ]
1
2020-10-16T19:09:55.000Z
2020-10-16T21:31:30.000Z
test/fxnk/string_test.exs
matthewsecrist/fxnk
3f489f6069ba09b959bb3e8f22c7b9f1fa1d5e45
[ "MIT" ]
null
null
null
defmodule StringTest do use ExUnit.Case use ExUnitProperties doctest Fxnk.String describe "concat/2" do property "concatenates two strings" do check all s1 <- StreamData.string(:printable), s2 <- StreamData.string(:printable) do assert s1 <> s2 === Fxnk.String.concat(s1, s2) ...
23.133333
54
0.648415
65d5522fbae4943d0dd3b28b391d303c17e26a23
2,756
ex
Elixir
lib/fiet.ex
qcam/fiet
956259c8d03500aec05e92e1f6d38e5fbfdd1163
[ "MIT" ]
20
2018-04-03T09:35:15.000Z
2021-09-23T08:41:26.000Z
lib/fiet.ex
qcam/viet
956259c8d03500aec05e92e1f6d38e5fbfdd1163
[ "MIT" ]
6
2018-06-01T07:28:05.000Z
2020-02-23T18:39:56.000Z
lib/fiet.ex
qcam/viet
956259c8d03500aec05e92e1f6d38e5fbfdd1163
[ "MIT" ]
6
2018-05-31T08:29:27.000Z
2021-09-24T01:27:23.000Z
defmodule Fiet do @moduledoc """ Fiet is a feed parser which aims to provide extensibility, speed, and standard compliance. Currently Fiet supports [RSS 2.0](cyber.harvard.edu/rss/rss.html) and [Atom](https://tools.ietf.org/html/rfc4287). ## Feed format detecting There are two main functions in this modu...
24.828829
116
0.605588
65d55f3f71a0ef41c4efe6431934579cc6876900
1,117
ex
Elixir
lib/edgedb/scram/server_final.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/scram/server_final.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/scram/server_final.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.SCRAM.ServerFinal do defstruct [ :server_signature ] @type t() :: %__MODULE__{ server_signature: String.t() } @spec new(String.t()) :: t() def new(server_signature) do %__MODULE__{server_signature: server_signature} end @spec handle(t(), String.t()) :: ...
27.243902
89
0.688451
65d56b2c45525e370da43ece205447174ee2f069
654
exs
Elixir
apps/fz_http/priv/repo/migrations/20220124162404_add_uuids.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
1
2022-02-02T07:56:41.000Z
2022-02-02T07:56:41.000Z
apps/fz_http/priv/repo/migrations/20220124162404_add_uuids.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
1
2022-03-30T03:57:41.000Z
2022-03-30T03:57:41.000Z
apps/fz_http/priv/repo/migrations/20220124162404_add_uuids.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.Repo.Migrations.AddUuids do use Ecto.Migration def change do execute( "ALTER TABLE rules ADD COLUMN uuid uuid DEFAULT gen_random_uuid() NOT NULL", "ALTER TABLE rules DROP COLUMN uuid" ) execute( "ALTER TABLE devices ADD COLUMN uuid uuid DEFAULT gen_random_uuid() NOT ...
26.16
84
0.688073
65d57a78682018cb2340612f53d97eab4b125ce5
1,653
exs
Elixir
mix.exs
SafeBoda/throttlex
fd3e3e80a8b71a2147aa3f2cd9391439f16918e1
[ "Apache-2.0" ]
null
null
null
mix.exs
SafeBoda/throttlex
fd3e3e80a8b71a2147aa3f2cd9391439f16918e1
[ "Apache-2.0" ]
3
2020-03-20T17:04:06.000Z
2020-03-20T18:02:08.000Z
mix.exs
SafeBoda/throttlex
fd3e3e80a8b71a2147aa3f2cd9391439f16918e1
[ "Apache-2.0" ]
null
null
null
defmodule Throttlex.MixProject do use Mix.Project @version "1.0.0-dev" def project do [ app: :throttlex, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), elixirc_options: [warnings_as_errors: true], # Testing test_co...
19.447059
81
0.526921
65d5a49d4cd1fd7a4300a319bc7f1d25ae59706c
567
ex
Elixir
test/support/observed_server.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
test/support/observed_server.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
1
2018-08-23T16:47:17.000Z
2018-08-23T19:56:42.000Z
test/support/observed_server.ex
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
1
2018-07-30T18:25:06.000Z
2018-07-30T18:25:06.000Z
defmodule EventStore.ObservedServer do @moduledoc false use GenServer def start_link(opts) do GenServer.start_link(__MODULE__, Keyword.take(opts, [:reply_to]), Keyword.take(opts, [:name])) end def init(state) do {:ok, state} end def handle_call(:ping, _from, state) do {:reply, {:ok, :pong}...
18.9
98
0.659612
65d5caaf97a52ca708e55be41c054f6c68395494
291
exs
Elixir
15-Numbers/test/numbers_test.exs
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
1
2020-12-02T01:34:06.000Z
2020-12-02T01:34:06.000Z
15-Numbers/test/numbers_test.exs
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
null
null
null
15-Numbers/test/numbers_test.exs
dvrensk/advent-of-code-2020
237e80da9958f37e51c0ac84da74bec5fec1f185
[ "Unlicense" ]
null
null
null
defmodule NumbersTest do use ExUnit.Case doctest Numbers test "puzzle 1" do assert Numbers.spoken("17,1,3,16,19,0", 2020) == 694 end test "puzzle 2" do assert Numbers.spoken("17,1,3,16,19,0", 30_000_000) == 21_768_614 end def assert_eq(a, b), do: assert(a == b) end
19.4
69
0.656357
65d5cd8dcce07171d591198ed4ce003a573d8dfd
4,504
ex
Elixir
lib/romeo/connection.ex
anildigital/romeo
b34f36cc50f1a6465450e93b6b2a86a1a5bd64c6
[ "MIT" ]
null
null
null
lib/romeo/connection.ex
anildigital/romeo
b34f36cc50f1a6465450e93b6b2a86a1a5bd64c6
[ "MIT" ]
null
null
null
lib/romeo/connection.ex
anildigital/romeo
b34f36cc50f1a6465450e93b6b2a86a1a5bd64c6
[ "MIT" ]
null
null
null
defmodule Romeo.Connection do @moduledoc false @timeout 5_000 @default_transport Romeo.Transports.TCP alias Romeo.Connection.Features defstruct component: false, features: %Features{}, host: nil, jid: nil, legacy_tls: false, nickname: "", ...
28.687898
92
0.59214
65d5d70e7f78b0b778eee7b0f59ac582676bcc01
2,150
ex
Elixir
core/util/gear_module.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/util/gear_module.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/util/gear_module.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.GearModule do alias Antikythera.GearName alias AntikytheraCore.Handler.HelperModules defun template_module_from_context(%Antikythera.Context{gear_entry_point: {mod, _}}) :: module do Module.split(mod) |> hd()...
35.245902
101
0.69907
65d5fdd025a901e8fde4e5360df200c334dd6685
589
exs
Elixir
test/oli/notifications/pub_sub_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
test/oli/notifications/pub_sub_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
test/oli/notifications/pub_sub_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Groups.PubSubTest do use Oli.DataCase import Oli.Factory alias Oli.Notifications.PubSub test "broadcasts an event to display a system message" do PubSub.subscribe_to_system_messages() message = params_for(:system_message) PubSub.display_system_message(message) assert_receive {:d...
26.772727
59
0.765705
65d63222aca136d65c8c2dc2d32dd35518c49fdf
1,728
exs
Elixir
test/slacker/web_test.exs
yalabot/slacker
3cf4f61c9aa9d74837859568937e171b6a5ba4b3
[ "MIT" ]
1
2016-07-30T10:56:24.000Z
2016-07-30T10:56:24.000Z
test/slacker/web_test.exs
yalabot/slacker
3cf4f61c9aa9d74837859568937e171b6a5ba4b3
[ "MIT" ]
null
null
null
test/slacker/web_test.exs
yalabot/slacker
3cf4f61c9aa9d74837859568937e171b6a5ba4b3
[ "MIT" ]
1
2016-11-16T16:35:13.000Z
2016-11-16T16:35:13.000Z
defmodule Slacker.WebTest do use ExUnit.Case, async: false # the TestServer is serial alias Slacker.Web alias Slacker.TestServer setup_all do {:ok, server} = TestServer.start_link on_exit fn -> TestServer.stop server end {:ok, server: server} end test "adds the api token into the r...
30.857143
109
0.637731
65d6515871faf51862535366243c27cdf210499b
1,154
ex
Elixir
discussapp/web/models/topic.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
null
null
null
discussapp/web/models/topic.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
1
2021-03-10T05:09:49.000Z
2021-03-10T05:09:49.000Z
discussapp/web/models/topic.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
null
null
null
defmodule Discussapp.Topic do use Discussapp.Web, :model @doc """ Defining table data validation for our topic model Topics is the table name as it was created in topics migration file """ schema "topics" do field :title, :string # defining two direction relation is critical to define a relation wi...
32.971429
89
0.720104
65d65a90b113403a295289a0e4ff10ef73d874bf
448
ex
Elixir
lib/protocol/produce_request/partition_message_set.ex
chribben/asterix
92d30b7489df9209168f3991b8d5ead500054cb6
[ "MIT" ]
1
2015-02-20T19:25:29.000Z
2015-02-20T19:25:29.000Z
lib/protocol/produce_request/partition_message_set.ex
chribben/asterix
92d30b7489df9209168f3991b8d5ead500054cb6
[ "MIT" ]
null
null
null
lib/protocol/produce_request/partition_message_set.ex
chribben/asterix
92d30b7489df9209168f3991b8d5ead500054cb6
[ "MIT" ]
null
null
null
defmodule Asterix.Protocol.ProduceRequest.PartitionMessageSet do defstruct partition: 0, message_set: [] end defimpl Asterix.Protocol.Encodeable, for: Asterix.Protocol.ProduceRequest.PartitionMessageSet do import Asterix.Protocol.Encoder alias Asterix.Protocol.Encodeable def encode(self) do msg_set = arra...
24.888889
96
0.772321
65d66730c223d4ef68d8541a00e62ceccc39c15a
3,862
ex
Elixir
apps/core/lib/core/pubsub/protocols/fanout.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/pubsub/protocols/fanout.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/pubsub/protocols/fanout.ex
asamoal/plural
5b336f27cb2d775560e35e5323192c42d62e72f5
[ "Apache-2.0" ]
null
null
null
defprotocol Core.PubSub.Fanout do @fallback_to_any true def fanout(event) end defimpl Core.PubSub.Fanout, for: Any do def fanout(_), do: :ok end defimpl Core.PubSub.Fanout, for: [Core.PubSub.VersionCreated, Core.PubSub.VersionUpdated] do require Logger def fanout(%{item: version} = event) do Logger.in...
29.257576
98
0.688762
65d6818a434128f68e3cef28697adf8e75ebcb43
3,018
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/77.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/77.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/77.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** pnoun cm verb SYM neg; verb noun verb conj neg; cm adjective verb verb_aux neg; particle noun verb verb_aux neg; noun cm adjective verb neg; noun particle verb verb_aux neg; pn noun verb verb_aux neg; noun particle verb verb_aux neg; pn noun verb verb_aux neg; cm noun verb verb_aux neg; nou...
28.471698
40
0.758781
65d6d389c1a9915f8dc78fbf7a25f527eef8d9a1
1,928
exs
Elixir
lib/elixir/test/elixir/access_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/elixir/test/elixir/access_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/access_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
Code.require_file "test_helper.exs", __DIR__ defmodule AccessTest do use ExUnit.Case, async: true test :list do assert [foo: :bar][:foo] == :bar assert [foo: [bar: :baz]][:foo][:bar] == :baz assert [foo: [bar: :baz]][:fuu][:bar] == nil end test :nil do assert nil[:foo] == nil end test :f...
23.512195
132
0.646266
65d7025f93af6bad973f0fae00cec783ec070712
2,816
exs
Elixir
apps/thundermoon_web/test/thundermoon_web/live/lotka_volterra/new_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/thundermoon_web/test/thundermoon_web/live/lotka_volterra/new_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/thundermoon_web/test/thundermoon_web/live/lotka_volterra/new_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule ThundermoonWeb.LotkaVolterraLive.NewTest do use ThundermoonWeb.ConnCase import Phoenix.LiveViewTest import ThundermoonWeb.AuthSupport def login_as_member(%{conn: conn}) do conn = login_as(conn, %{username: "crumb"}) %{conn: conn} end describe "a guest" do test "should be redirected"...
26.566038
125
0.540838
65d7117330b85a73314a4beffec44360fa453155
2,344
exs
Elixir
mix.exs
Amokrane/drab
c68230c58f1c56927d003596302da983feba2fb5
[ "MIT" ]
null
null
null
mix.exs
Amokrane/drab
c68230c58f1c56927d003596302da983feba2fb5
[ "MIT" ]
null
null
null
mix.exs
Amokrane/drab
c68230c58f1c56927d003596302da983feba2fb5
[ "MIT" ]
null
null
null
defmodule Drab.Mixfile do use Mix.Project @version "0.9.3" def project do [ app: :drab, version: @version, elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), descript...
26.636364
92
0.510239
65d71474f250b7f3b7722e037f0c8bc1c5ad1dc9
666
exs
Elixir
test/school_house_web/views/error_view_test.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
90
2021-02-10T23:57:52.000Z
2022-03-17T18:36:55.000Z
test/school_house_web/views/error_view_test.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
120
2021-02-11T00:32:44.000Z
2022-03-23T04:11:59.000Z
test/school_house_web/views/error_view_test.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
18
2021-04-15T09:57:44.000Z
2022-03-23T02:55:26.000Z
defmodule SchoolHouseWeb.ErrorViewTest do use SchoolHouseWeb.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(SchoolHouseWeb.ErrorView, "404.html", conn: build_conn()) =~ "Page not found" end ...
33.3
112
0.746246
65d72255187bc4aabbbf860b871b118a996a3d73
3,289
ex
Elixir
lib/elixir_google_spreadsheets/registry.ex
Voronchuk/elixir_google_spreadsheets
97a504b923c5bbc9e982912452b36151cbf2aba0
[ "MIT" ]
50
2016-12-21T06:39:08.000Z
2022-03-16T04:52:42.000Z
lib/elixir_google_spreadsheets/registry.ex
Voronchuk/elixir_google_spreadsheets
97a504b923c5bbc9e982912452b36151cbf2aba0
[ "MIT" ]
36
2017-01-31T19:12:19.000Z
2022-03-10T17:27:58.000Z
lib/elixir_google_spreadsheets/registry.ex
Voronchuk/elixir_google_spreadsheets
97a504b923c5bbc9e982912452b36151cbf2aba0
[ "MIT" ]
34
2017-01-16T04:22:16.000Z
2022-03-01T01:46:39.000Z
defmodule GSS.Registry do @moduledoc """ Google spreadsheets core authorization. Automatically updates access token after expiration. """ use GenServer @typedoc """ State of Google Cloud API : %{ auth: %Goth.Token{ expires: 1453356568, token: "ya29.cALlJ4HHWRv...
26.103175
98
0.635756
65d736497cbf60246fcaac4467641c5933df8ce6
148,423
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/instances.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/instances.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/instances.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
49.309967
511
0.638432
65d73e1d6fdbeeb0ed9aaaf04811f40b65816845
1,297
ex
Elixir
elixir/plug-cowboy/lib/plug_cowboy_app/routers/router.ex
ivanjj22/performance-benchmark-stacks
085dd392fdcf2b75ec3ea62b5272ff4d26d48c8c
[ "MIT" ]
null
null
null
elixir/plug-cowboy/lib/plug_cowboy_app/routers/router.ex
ivanjj22/performance-benchmark-stacks
085dd392fdcf2b75ec3ea62b5272ff4d26d48c8c
[ "MIT" ]
null
null
null
elixir/plug-cowboy/lib/plug_cowboy_app/routers/router.ex
ivanjj22/performance-benchmark-stacks
085dd392fdcf2b75ec3ea62b5272ff4d26d48c8c
[ "MIT" ]
null
null
null
defmodule PlugCowboyApp.Routers.StatusRouter do alias Controllers.StatusController alias Controllers.HashController alias Controllers.CryptController use Plug.Router plug(:match) plug(:dispatch) get "/status" do StatusController.status() |> send_result(conn) end get "/hash" do conn ...
21.983051
70
0.67926
65d756f28ad83aaa45511700c15fb557852edc28
698
ex
Elixir
lib/ditto/cache_strategy.ex
mogorman/ditto
6c19a0c3f2bc3cf243ea46d5eae0087850045a82
[ "MIT" ]
1
2020-08-29T08:29:14.000Z
2020-08-29T08:29:14.000Z
lib/ditto/cache_strategy.ex
mogorman/ditto
6c19a0c3f2bc3cf243ea46d5eae0087850045a82
[ "MIT" ]
null
null
null
lib/ditto/cache_strategy.ex
mogorman/ditto
6c19a0c3f2bc3cf243ea46d5eae0087850045a82
[ "MIT" ]
null
null
null
defmodule Ditto.CacheStrategy do @moduledoc """ Defines the cache startegy behaviour for making your own strategies for ditto. """ @callback init(Keyword.t()) :: any @callback tab(atom, any) :: atom @callback cache(atom, any, any, Keyword.t()) :: any @callback read(atom, any, any, any) :: :ok | :retry @...
34.9
84
0.703438
65d7630998a0a533800b15337dd00fb7c8f9dd62
593
exs
Elixir
mix.exs
AJPcodes/advent_of_code_2018
1c24bd41cd3b8e556e91e7d1e8ff4bbb1edf5235
[ "MIT" ]
1
2018-12-04T19:54:13.000Z
2018-12-04T19:54:13.000Z
mix.exs
AJPcodes/advent_of_code_2018
1c24bd41cd3b8e556e91e7d1e8ff4bbb1edf5235
[ "MIT" ]
null
null
null
mix.exs
AJPcodes/advent_of_code_2018
1c24bd41cd3b8e556e91e7d1e8ff4bbb1edf5235
[ "MIT" ]
null
null
null
defmodule AdventOfCode2018.MixProject do use Mix.Project def project do [ app: :advent_of_code_2018, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do ...
20.448276
88
0.590219
65d76be762aa4f6b9ac02a211a9e7b15a8c4b29b
5,848
ex
Elixir
lib/bike_brigade/gsheets_importer.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
lib/bike_brigade/gsheets_importer.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
lib/bike_brigade/gsheets_importer.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.GSheetsImporter do alias BikeBrigade.Delivery alias BikeBrigade.Delivery.Campaign alias BikeBrigade.Riders alias BikeBrigade.Repo alias BikeBrigade.Google.Sheets def import_riders_from_spreadsheet( %Campaign{rider_spreadsheet_layout: spreadsheet_layout} = campaign, sp...
23.580645
86
0.583105
65d77453ca203ef6381670d94ed064a55015456c
10,910
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/service.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_user/lib/google_api/service_user/v1/model/service.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/service.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
58.655914
196
0.7033
65d7c53a722b298414deb2b16a94e20c0cd100de
2,870
ex
Elixir
lib/ex_esi/operation/json.ex
lukasni/ex-esi
b902a2a4d9ef834473c71b5c470320cc2854e8eb
[ "MIT" ]
null
null
null
lib/ex_esi/operation/json.ex
lukasni/ex-esi
b902a2a4d9ef834473c71b5c470320cc2854e8eb
[ "MIT" ]
null
null
null
lib/ex_esi/operation/json.ex
lukasni/ex-esi
b902a2a4d9ef834473c71b5c470320cc2854e8eb
[ "MIT" ]
null
null
null
defmodule ExEsi.Operation.JSON do @type t :: %__MODULE__{ http_method: ExEsi.Request.HttpClient.http_method(), path: String.t(), data: String.t(), params: Map.t(), headers: Keyword.t(), stream_builder: function() | nil, after_parse: function() | ni...
26.330275
93
0.584669
65d80766bc78ab3b6538d06cafe6f27555618f4f
372
exs
Elixir
plugins/ucc_chat/test/ucc_chat/settings/settings_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/test/ucc_chat/settings/settings_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/test/ucc_chat/settings/settings_test.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChatTest.Settings do use UccChat.DataCase alias UccChat.Settings setup do UccSettings.init_all :ok end test "getters" do assert Settings.grouping_period_seconds == 300 assert Settings.maximum_file_upload_size_kb == 2000 assert Settings.enable_favorite_rooms == true asse...
19.578947
55
0.747312
65d82fcb92f90ac808917b07c2380b5d7eae4319
2,941
ex
Elixir
lib/database/mysql.ex
Sjauf/plsm_absinthe
f3b6989e978d496bb79b0430aeff7fee8fb8f452
[ "MIT" ]
null
null
null
lib/database/mysql.ex
Sjauf/plsm_absinthe
f3b6989e978d496bb79b0430aeff7fee8fb8f452
[ "MIT" ]
null
null
null
lib/database/mysql.ex
Sjauf/plsm_absinthe
f3b6989e978d496bb79b0430aeff7fee8fb8f452
[ "MIT" ]
null
null
null
defmodule Plsm.Database.MySql do defstruct server: "localhost", port: "3306", username: "username", password: "password", database_name: "db", connection: nil end defimpl Plsm.Database, for: Plsm.Database.MySql do @doc """ Create a MySql database struct for use in connecting to the MySql database. We pas...
36.7625
145
0.66678
65d846a48cf0223e6a744073d15ec5aa940c736b
251
ex
Elixir
lib/psso_web/views/api/v1/grading_view.ex
daskycodes/better_psso
01954d9a84667ff22a4e5dc70856c2023f5e1276
[ "MIT" ]
null
null
null
lib/psso_web/views/api/v1/grading_view.ex
daskycodes/better_psso
01954d9a84667ff22a4e5dc70856c2023f5e1276
[ "MIT" ]
null
null
null
lib/psso_web/views/api/v1/grading_view.ex
daskycodes/better_psso
01954d9a84667ff22a4e5dc70856c2023f5e1276
[ "MIT" ]
null
null
null
defmodule PssoWeb.Api.V1.GradingView do use PssoWeb, :view def render("index.json", %{gradings: gradings}) do render_many(gradings, __MODULE__, "grading.json") end def render("grading.json", %{grading: grading}) do grading end end
20.916667
53
0.701195
65d858791d8ccf4ec0017a2c5eac8ec531aeb0fc
196
exs
Elixir
priv/repo/migrations/20180407182614_add_eaten_to_recipes.exs
mugimaru/ex_diet
9602c07af27255decbb32fd7ae0c12b3ffe662a3
[ "Apache-2.0" ]
2
2020-06-25T11:51:46.000Z
2020-09-30T14:00:40.000Z
priv/repo/migrations/20180407182614_add_eaten_to_recipes.exs
mugimaru/ex_diet
9602c07af27255decbb32fd7ae0c12b3ffe662a3
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20180407182614_add_eaten_to_recipes.exs
mugimaru/ex_diet
9602c07af27255decbb32fd7ae0c12b3ffe662a3
[ "Apache-2.0" ]
1
2020-01-29T08:43:07.000Z
2020-01-29T08:43:07.000Z
defmodule ExDiet.Repo.Migrations.AddEatenToRecipes do use Ecto.Migration def change do alter table(:recipes) do add(:eaten, :boolean, null: false, default: false) end end end
19.6
56
0.709184
65d85a44885d92fd1df698c636a0ee830c55cabf
332
ex
Elixir
api/lib/imaas/images/image.ex
Elonsoft/imaas_example
74a2ee7c8090f7bd946e6747b7456ed36fea4139
[ "WTFPL" ]
null
null
null
api/lib/imaas/images/image.ex
Elonsoft/imaas_example
74a2ee7c8090f7bd946e6747b7456ed36fea4139
[ "WTFPL" ]
null
null
null
api/lib/imaas/images/image.ex
Elonsoft/imaas_example
74a2ee7c8090f7bd946e6747b7456ed36fea4139
[ "WTFPL" ]
null
null
null
defmodule Imaas.Images.Image do @moduledoc false use Arc.Definition use Arc.Ecto.Definition @versions [:original, :thumb] def filename(version, {file, _scope}) do "#{file.file_name}_#{version}" end def transform(:thumb, _) do {:caas, "-strip -thumbnail 100x100^ -gravity center -extent 100x100"...
19.529412
73
0.689759
65d87d4fc398b88ffd472daf2f458320c5a3960c
1,884
exs
Elixir
clients/data_catalog/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.705882
133
0.660297
65d88360adb95955aff1f81fa7fd955ca1220624
21,368
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/target_vpn_gateways.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_vpn_gateways.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_vpn_gateways.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
52.244499
511
0.655466
65d8ae2e2898fa6cf2e2f05bf449be7da3133aff
3,147
ex
Elixir
apps/ewallet/lib/ewallet/auth/backup_code_authenticator.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/auth/backup_code_authenticator.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/auth/backup_code_authenticator.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
28.351351
93
0.703845
65d90d488d301d60450827af293b2f3955e93c43
501
ex
Elixir
apps/app2/web/router.ex
jschoch/umb
98e4ca8b883777c775d2b1115ae5116cc32570fe
[ "MIT" ]
null
null
null
apps/app2/web/router.ex
jschoch/umb
98e4ca8b883777c775d2b1115ae5116cc32570fe
[ "MIT" ]
null
null
null
apps/app2/web/router.ex
jschoch/umb
98e4ca8b883777c775d2b1115ae5116cc32570fe
[ "MIT" ]
null
null
null
defmodule App2.Router do use App2.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", App2 do pipe_through :brows...
18.555556
57
0.664671
65d90e267241e9caaa195bbc7f1e60b4cddf3eb2
2,173
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/row_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/row_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/row_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.048387
117
0.683387
65d94ed4a5cede9009740dadad7d86dabd9db8c1
5,221
exs
Elixir
lib/mix/test/mix/tasks/escript_test.exs
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/escript_test.exs
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/escript_test.exs
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.EscriptTest do use MixTest.Case defmodule Escript do def project do [ app: :escripttest, version: "0.0.1", escript: [ main_module: Escripttest, name: "escriptest", embed_elixir: true ...
30.532164
107
0.646045
65d96bcc7e4292d5e7cb314f58610fbf0f2ac9dc
1,086
exs
Elixir
config/config.exs
acastemoreno/hacker_new_aggregator
5734205d3308eccc98f203d4d3b875fd0f966de3
[ "MIT" ]
null
null
null
config/config.exs
acastemoreno/hacker_new_aggregator
5734205d3308eccc98f203d4d3b875fd0f966de3
[ "MIT" ]
null
null
null
config/config.exs
acastemoreno/hacker_new_aggregator
5734205d3308eccc98f203d4d3b875fd0f966de3
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config # Configures the endpoint config :hacker_news_aggrega...
35.032258
93
0.78361
65d981186ba900cea486cf092f2636d2ad9fecd7
1,962
ex
Elixir
lib/asciinema/png_generator/rsvg.ex
AnotherKamila/asciinema-server
cafdba3c0461eb77ca0d1b66de07aa943b91f700
[ "Apache-2.0" ]
null
null
null
lib/asciinema/png_generator/rsvg.ex
AnotherKamila/asciinema-server
cafdba3c0461eb77ca0d1b66de07aa943b91f700
[ "Apache-2.0" ]
null
null
null
lib/asciinema/png_generator/rsvg.ex
AnotherKamila/asciinema-server
cafdba3c0461eb77ca0d1b66de07aa943b91f700
[ "Apache-2.0" ]
null
null
null
defmodule Asciinema.PngGenerator.Rsvg do @behaviour Asciinema.PngGenerator use GenServer @pool_name :worker @acquire_timeout 5_000 @result_timeout 15_000 @zoom 2 def generate(asciicast) do {:ok, tmp_dir_path} = Briefly.create(directory: true) try do :poolboy.transaction( @pool_nam...
21.8
86
0.61315
65d98421235d696180de049d513070df4d4ca4a5
136,922
exs
Elixir
test/batcher/batcher_test.exs
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
null
null
null
test/batcher/batcher_test.exs
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
1
2020-07-09T20:45:37.000Z
2020-07-09T20:45:37.000Z
test/batcher/batcher_test.exs
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
null
null
null
defmodule BorsNG.Worker.BatcherTest do use BorsNG.Worker.TestCase alias BorsNG.Worker.Batcher alias BorsNG.Database.Batch alias BorsNG.Database.Installation alias BorsNG.Database.LinkPatchBatch alias BorsNG.Database.Patch alias BorsNG.Database.Project alias BorsNG.Database.Repo alias BorsNG.GitHub.Pr...
32.036032
167
0.415638
65d98fc59136980261861c98363428ea5be28a51
1,303
exs
Elixir
mix.exs
mihailacusteanu/paper_trail
928f1dc422c752f194176d0ebe1932224e749d37
[ "MIT" ]
null
null
null
mix.exs
mihailacusteanu/paper_trail
928f1dc422c752f194176d0ebe1932224e749d37
[ "MIT" ]
null
null
null
mix.exs
mihailacusteanu/paper_trail
928f1dc422c752f194176d0ebe1932224e749d37
[ "MIT" ]
null
null
null
defmodule PaperTrail.Mixfile do use Mix.Project def project do [ app: :paper_trail, version: "0.7.7", elixir: "~> 1.4", description: description(), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, elixirc_paths: elixirc_paths(Mix.env), package...
22.859649
90
0.561781
65d9ac97249035e01be282aade62ef377775a637
1,771
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/list_sessions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/list_sessions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/list_sessions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.057692
123
0.729531
65d9b1097f1a49cb2cbe51fd72e839f3f075c2ec
1,747
ex
Elixir
lib/hexpm/accounts/user_handles.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
2
2020-03-01T18:23:33.000Z
2021-01-15T10:15:45.000Z
lib/hexpm/accounts/user_handles.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
3
2020-06-30T11:24:41.000Z
2020-08-05T15:47:34.000Z
lib/hexpm/accounts/user_handles.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Accounts.UserHandles do use Hexpm.Schema @derive HexpmWeb.Stale embedded_schema do field :twitter, :string field :github, :string field :elixirforum, :string field :freenode, :string field :slack, :string end def changeset(handles, params) do cast(handles, params, ~w...
27.730159
83
0.626789
65d9dabd781c8b1a45d9210e1bcdfef7f0617d22
9,264
ex
Elixir
apps/artemis_web/lib/artemis_web/views/user_view.ex
artemis-platform/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2020-04-23T02:29:18.000Z
2020-07-07T13:13:17.000Z
apps/artemis_web/lib/artemis_web/views/user_view.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
4
2020-04-26T20:35:36.000Z
2020-11-10T22:13:19.000Z
apps/artemis_web/lib/artemis_web/views/user_view.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
null
null
null
defmodule ArtemisWeb.UserView do use ArtemisWeb, :view import Artemis.Helpers, only: [keys_to_atoms: 2] import ArtemisWeb.UserAccess alias Artemis.UserRole # Bulk Actions def available_bulk_actions() do [ %BulkAction{ action: fn ids, [request_params, user] -> role_id = Map.ge...
28.681115
97
0.58139
65d9db3a4766a43609634746797ffe81f225ada8
370
exs
Elixir
priv/repo/migrations/20210116200127_create_meetings.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
priv/repo/migrations/20210116200127_create_meetings.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
priv/repo/migrations/20210116200127_create_meetings.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
defmodule NudgeApi.Repo.Migrations.CreateMeeting do use Ecto.Migration def change do create table(:meetings) do add :happens_at, :utc_datetime add :finalized_at, :utc_datetime add :location, :map add :video_call_id, references(:video_calls, on_delete: :delete_all), null: false t...
21.764706
87
0.702703
65da1ea7223e97395b3efd29ebdf1d6f25fcf2b3
1,464
exs
Elixir
lib/mix/test/mix/tasks/deps.path_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/mix/test/mix/tasks/deps.path_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/mix/test/mix/tasks/deps.path_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.DepsPathTest do use MixTest.Case defmodule DepsApp do def project do [ app: :raw_sample, version: "0.1.0", deps: [ {:raw_repo, "0.1.0", path: "custom/raw_repo"} ] ] end end de...
23.612903
63
0.597678
65da40aebbcfcd9c86acd205b5ff97f3f1a8f396
1,264
ex
Elixir
vendor/ex_minimatch/ex_minimatcher.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
vendor/ex_minimatch/ex_minimatcher.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
vendor/ex_minimatch/ex_minimatcher.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule ExMinimatcher do defstruct glob: "", pattern: [], negate: false, options: %{ dot: false, nocase: false, match_base: false, nonegate: false, noext: false, noglobstar: false, n...
28.088889
88
0.507911
65da415e41a5eca9a3b081f3782a67bc8dec4f6d
95
exs
Elixir
test/test_helper.exs
Cantido/liberator_example
d14014277cdc803a8ef895f80aac0651cea7108e
[ "MIT" ]
null
null
null
test/test_helper.exs
Cantido/liberator_example
d14014277cdc803a8ef895f80aac0651cea7108e
[ "MIT" ]
null
null
null
test/test_helper.exs
Cantido/liberator_example
d14014277cdc803a8ef895f80aac0651cea7108e
[ "MIT" ]
null
null
null
ExUnit.start(capture_log: true) Ecto.Adapters.SQL.Sandbox.mode(LiberatorExample.Repo, :manual)
31.666667
62
0.821053
65da482ac490b2fd27f49e58694196305e8b501d
1,262
ex
Elixir
lib/chatter_web/endpoint.ex
lucasmelin/Chatter
023595dab54bc86d94062a61628c344fa5d7f56d
[ "MIT" ]
null
null
null
lib/chatter_web/endpoint.ex
lucasmelin/Chatter
023595dab54bc86d94062a61628c344fa5d7f56d
[ "MIT" ]
1
2020-07-16T23:18:36.000Z
2020-07-16T23:18:36.000Z
lib/chatter_web/endpoint.ex
lucasmelin/Chatter
023595dab54bc86d94062a61628c344fa5d7f56d
[ "MIT" ]
null
null
null
defmodule ChatterWeb.Endpoint do use Phoenix.Endpoint, otp_app: :chatter socket "/socket", ChatterWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your stati...
26.851064
69
0.709192