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
d5562d3d3c51a99d8bb814174745aac6cb059511
1,243
exs
Elixir
Problem018/Elixir/solution_1.exs
drocha87/ProjectEuler
c18407448aa4f05484191a0df1380e34f2b8c5d7
[ "MIT" ]
167
2015-08-12T19:32:03.000Z
2022-03-25T12:26:43.000Z
Problem018/Elixir/solution_1.exs
drocha87/ProjectEuler
c18407448aa4f05484191a0df1380e34f2b8c5d7
[ "MIT" ]
153
2016-02-16T02:05:31.000Z
2020-11-06T15:35:51.000Z
Problem018/Elixir/solution_1.exs
drocha87/ProjectEuler
c18407448aa4f05484191a0df1380e34f2b8c5d7
[ "MIT" ]
84
2015-08-12T20:54:04.000Z
2022-02-27T05:14:53.000Z
tri_nums = [ ["75"], ["95", "64"], ["17", "47", "82"], ["18", "35", "87", "10"], ["20", "04", "82", "47", "65"], ["19", "01", "23", "75", "03", "34"], ["88", "02", "77", "73", "07", "63", "67"], ["99", "65", "04", "28", "06", "16", "70", "92"], ["41", "41", "26", "56", "83", "40", "80", "70", "33"], ...
38.84375
137
0.43926
d55638eafcc54954dd16715b6cbb6ee7c8c65791
403
ex
Elixir
lib/hl7/2.5.1/segments/mfa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/mfa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/mfa.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.Segments.MFA do @moduledoc false require Logger alias HL7.V2_5_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, record_level_event_code: nil, mfn_control_id: nil, event_completion_date_time: DataTypes.Ts, mfn_record_level_error_return: DataTypes.Ce,...
22.388889
50
0.709677
d5564e618eb3b3c26b8892c1e49d8e079d9862f7
1,332
ex
Elixir
ur2/lib/ur2_web/endpoint.ex
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
ur2/lib/ur2_web/endpoint.ex
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
ur2/lib/ur2_web/endpoint.ex
jefk/phoenix_live_view
5ef754b4246d3ba5aeeceb3875eda116bddfa834
[ "MIT" ]
null
null
null
defmodule Ur2Web.Endpoint do use Phoenix.Endpoint, otp_app: :ur2 # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_ur2_key", sig...
27.75
69
0.704955
d5568d5149c2b0bd69b5e904db9785442c3a21b9
1,098
ex
Elixir
examples/org_uplink/lib/org_uplink/monitors/socket_drano.ex
elixir-uplink/uplink
854c7eba810857ffda1361c8cd449068133f2ce4
[ "MIT" ]
40
2021-01-25T08:21:25.000Z
2021-08-24T21:47:22.000Z
examples/org_uplink/lib/org_uplink/monitors/socket_drano.ex
elixir-uplink/uplink
854c7eba810857ffda1361c8cd449068133f2ce4
[ "MIT" ]
1
2021-02-06T21:38:38.000Z
2021-02-06T21:38:38.000Z
examples/org_uplink/lib/org_uplink/monitors/socket_drano.ex
elixir-uplink/uplink
854c7eba810857ffda1361c8cd449068133f2ce4
[ "MIT" ]
3
2021-01-25T10:24:16.000Z
2021-02-11T20:34:17.000Z
if Code.ensure_loaded?(SocketDrano) do defmodule Uplink.Monitors.SocketDrano do use Uplink.Monitor @moduledoc """ SocketDrano definitions. Include these if using SocketDrano. ## Options ## Definitions * `phoenix.socket.count` - Total number of connected Phoenix sockets * Type: `Telemet...
21.529412
77
0.583789
d5568ef7fa32119781627b134f9ec8e0c30efc29
48
exs
Elixir
test/univrse_test.exs
libitx/univrse
de50baebd257e73e869be4a2e87a60283d1c8001
[ "Apache-2.0" ]
5
2021-08-03T12:10:21.000Z
2022-03-08T12:30:50.000Z
test/univrse_test.exs
libitx/univrse
de50baebd257e73e869be4a2e87a60283d1c8001
[ "Apache-2.0" ]
1
2021-08-04T10:28:31.000Z
2021-08-04T10:28:31.000Z
test/univrse_test.exs
libitx/univrse
de50baebd257e73e869be4a2e87a60283d1c8001
[ "Apache-2.0" ]
null
null
null
defmodule UnivrseTest do use ExUnit.Case end
9.6
24
0.791667
d556907cd7c44d174ec92bc36bc744cee40d271f
1,827
exs
Elixir
examples/basic_phoenix_ecto/test/demo/blog_test.exs
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
null
null
null
examples/basic_phoenix_ecto/test/demo/blog_test.exs
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
null
null
null
examples/basic_phoenix_ecto/test/demo/blog_test.exs
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
1
2022-02-07T20:48:50.000Z
2022-02-07T20:48:50.000Z
defmodule Demo.BlogTest do use Demo.DataCase alias Demo.Blog describe "posts" do alias Demo.Blog.Post import Demo.BlogFixtures @invalid_attrs %{body: nil, title: nil} test "list_posts/0 returns all posts" do post = post_fixture() assert Blog.list_posts() == [post] end tes...
29.467742
81
0.652436
d556a5b555d2301cbc63f3e371041354e610f999
467
exs
Elixir
config/test.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
null
null
null
config/test.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
10
2019-07-29T03:03:02.000Z
2021-05-10T23:59:25.000Z
config/test.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :newslettex, Newslettex.Repo, username: "postgres", password: "postgres", database: "newslettex_test", hostname: "db", pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required, # you can enable the server option below. config :ne...
24.578947
56
0.736617
d556c6494ce638e88746d315e9b916799d7a4f62
1,858
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_batch_update_intents_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_batch_update_intents_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_batch_update_intents_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "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 ...
33.178571
166
0.763724
d556cc732d2fb4c101cb59129d3ec6b86995b942
4,320
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/binding.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/binding.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/binding.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...
77.142857
1,911
0.76088
d556ce7d0e9dceac4ada2bcc441382097a13266c
1,501
ex
Elixir
{{cookiecutter.project_slug}}/apps/{{cookiecutter.phoenix_app_slug}}_web/lib/{{cookiecutter.phoenix_app_slug}}_web/views/webpack_entrypoint.ex
ibakami/cookiecutter-elixir-phoenix
672b9e05f40b01a810a073a9712fc3300c396e40
[ "MIT" ]
14
2019-08-01T07:55:50.000Z
2021-04-24T09:14:09.000Z
{{cookiecutter.project_slug}}/apps/{{cookiecutter.phoenix_app_slug}}_web/lib/{{cookiecutter.phoenix_app_slug}}_web/views/webpack_entrypoint.ex
ibakami/cookiecutter-elixir-phoenix
672b9e05f40b01a810a073a9712fc3300c396e40
[ "MIT" ]
1
2019-08-02T03:03:40.000Z
2019-08-02T03:03:40.000Z
{{cookiecutter.project_slug}}/apps/{{cookiecutter.phoenix_app_slug}}_web/lib/{{cookiecutter.phoenix_app_slug}}_web/views/webpack_entrypoint.ex
ibakami/cookiecutter-elixir-phoenix
672b9e05f40b01a810a073a9712fc3300c396e40
[ "MIT" ]
null
null
null
defmodule {{cookiecutter.phoenix_app_module}}Web.WebpackEntrypoint do @moduledoc """ Webpack Entrypoint This particular module is responsible for making code-splitting on phoenix possible Webpack generates assets-manifest.json file for us to know what assets should be included in the template. Then we'll ma...
35.738095
111
0.704197
d556ef074dcf3d88554db7978819a53c51fb4fcf
5,594
ex
Elixir
lib/igwet_web/controllers/rsvp_controller.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
null
null
null
lib/igwet_web/controllers/rsvp_controller.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
18
2018-02-25T11:13:46.000Z
2022-03-28T03:43:38.000Z
lib/igwet_web/controllers/rsvp_controller.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
1
2019-01-04T12:16:47.000Z
2019-01-04T12:16:47.000Z
# Sample email: http://bin.mailgun.net/b1748eea#7jmd defmodule IgwetWeb.RsvpController do use IgwetWeb, :controller require Logger alias Igwet.Network alias Igwet.Network.Node alias Igwet.Network.SMS alias Igwet.Scheduler alias Igwet.Scheduler.Helper @max_rsvp 6 @server "https://www.igwet.com" def...
33.90303
110
0.642295
d556f66d283f9958ddbd8e6127c1e7d8ff06d423
548
ex
Elixir
lib/recase/cases/dot_case.ex
brettwise/recase
1e5c6d466be999b923ce2344c54de3c87a157ff0
[ "MIT" ]
186
2017-07-12T08:38:38.000Z
2022-01-09T15:29:20.000Z
lib/recase/cases/dot_case.ex
brettwise/recase
1e5c6d466be999b923ce2344c54de3c87a157ff0
[ "MIT" ]
116
2017-07-08T20:32:48.000Z
2022-01-18T02:21:14.000Z
lib/recase/cases/dot_case.ex
brettwise/recase
1e5c6d466be999b923ce2344c54de3c87a157ff0
[ "MIT" ]
29
2017-12-25T02:49:51.000Z
2021-12-18T05:48:55.000Z
defmodule Recase.DotCase do @moduledoc """ Module to convert strings to `dot.case`. This module should not be used directly. ## Examples iex> Recase.to_dot "foo_barBaz-λambdaΛambda-привет-Мир" "foo.bar.baz.λambda.λambda.привет.мир" `DotCase` is the same as `KebabCase` and `SnakeCase`. But us...
22.833333
61
0.667883
d5570f746410a57a5bd75b3570af4466cc15ec8f
2,037
ex
Elixir
lib/juntos_web/live/components/login_component.ex
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
1
2019-11-15T15:39:24.000Z
2019-11-15T15:39:24.000Z
lib/juntos_web/live/components/login_component.ex
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
166
2020-06-30T16:07:48.000Z
2021-11-25T00:02:24.000Z
lib/juntos_web/live/components/login_component.ex
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
null
null
null
defmodule JuntosWeb.LoginComponent do @moduledoc false use Surface.LiveComponent property return_to, :string, required: true data header, :string, default: "Sign In" data alternative_text, :string, default: "First time?" data alternative_link_text, :string, default: "Sign up" @impl true def render(ass...
32.854839
168
0.62592
d55732da7b289315846cb409a8e4d7020c3d432e
1,378
ex
Elixir
test/support/data_case.ex
allen-garvey/photog-react
c400174d0e456dcbfd565407eb85e8ce80ec59c0
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
test/support/data_case.ex
allen-garvey/photog-react
c400174d0e456dcbfd565407eb85e8ce80ec59c0
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/photog/test/support/data_case.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Photog.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test ...
25.518519
77
0.67852
d55758b155c9b80966c9b68e866447a6531e5c7d
2,768
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/context.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/context.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/context.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
57.666667
1,147
0.73591
d5577382fcefea99bbdf6e6f0b324e298321ef56
816
exs
Elixir
exercises/practice/two-fer/test/two_fer_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/two-fer/test/two_fer_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/two-fer/test/two_fer_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule TwoFerTest do use ExUnit.Case test "no name given" do assert TwoFer.two_fer() == "One for you, one for me." end @tag :pending test "a name given" do assert TwoFer.two_fer("Alice") == "One for Alice, one for me." end @tag :pending test "another name given" do assert TwoFer.two_fe...
20.923077
66
0.658088
d55789e003180ab52ff98295f42eaf87bf66e43f
1,183
ex
Elixir
lib/glimesh_web/live/streams_live/list.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
lib/glimesh_web/live/streams_live/list.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
lib/glimesh_web/live/streams_live/list.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.StreamsLive.List do use GlimeshWeb, :live_view alias Glimesh.Accounts alias Glimesh.Streams @impl true def mount(%{"category" => "following"}, session, socket) do case Accounts.get_user_by_session_token(session["user_token"]) do %Glimesh.Accounts.User{} = user -> if se...
26.886364
85
0.629755
d5579294d9854e3d11d7a677771cb69fab3dc7e5
2,137
ex
Elixir
lib/mapper/mapper.ex
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
2
2020-01-14T00:41:15.000Z
2020-02-05T09:09:12.000Z
lib/mapper/mapper.ex
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
null
null
null
lib/mapper/mapper.ex
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
null
null
null
defmodule Rubbergloves.Mapper do @moduledoc""" The core module to convert your input into a struct using the previously defined stucture mappings ### Usage ``` Rubbergloves.Mapper.map(LoginRequest, params) """ defmodule Override do defstruct [key: :default, value: :default] end defmodule Option...
35.616667
120
0.659803
d55792f53c56ca0dedd86ed55f3ae16e18025f92
958
ex
Elixir
lib/todo.ex
mukilarasan101/todos-backend
b7b3e00aa17bb117ea031dd0cba1d14d3d298159
[ "MIT" ]
null
null
null
lib/todo.ex
mukilarasan101/todos-backend
b7b3e00aa17bb117ea031dd0cba1d14d3d298159
[ "MIT" ]
null
null
null
lib/todo.ex
mukilarasan101/todos-backend
b7b3e00aa17bb117ea031dd0cba1d14d3d298159
[ "MIT" ]
null
null
null
defmodule Todo do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(Todo.Endpoin...
30.903226
71
0.705637
d557ad3a14c71dc82eb7f1822d24eb5b3d044fc1
103
exs
Elixir
.formatter.exs
valiot/ecto_trail
32cba3166a524c0d8a8f47c097edc70fa319ebe5
[ "MIT" ]
1
2019-02-14T14:29:18.000Z
2019-02-14T14:29:18.000Z
.formatter.exs
valiot/ecto_trail
32cba3166a524c0d8a8f47c097edc70fa319ebe5
[ "MIT" ]
1
2022-02-21T21:06:12.000Z
2022-02-21T21:06:12.000Z
.formatter.exs
valiot/ecto_trail
32cba3166a524c0d8a8f47c097edc70fa319ebe5
[ "MIT" ]
1
2019-02-14T14:52:18.000Z
2019-02-14T14:52:18.000Z
# Used by "mix format" [ line_length: 110, inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
20.6
56
0.572816
d557ce111ff16be57d8282ce6862bbd9ef4737dd
2,368
ex
Elixir
clients/runtime_config/lib/google_api/runtime_config/v1/connection.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/runtime_config/lib/google_api/runtime_config/v1/connection.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/runtime_config/lib/google_api/runtime_config/v1/connection.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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.190476
128
0.717905
d557eba2c6cb10dd24cc4b65c7db116b656dbdc0
282
ex
Elixir
lib/padlock.ex
annatel/padlock
0ae17d69078954febb2aaaeef5a6a4d0b5173b5e
[ "MIT" ]
1
2021-06-22T10:15:23.000Z
2021-06-22T10:15:23.000Z
lib/padlock.ex
annatel/padlock
0ae17d69078954febb2aaaeef5a6a4d0b5173b5e
[ "MIT" ]
1
2021-06-22T15:14:57.000Z
2021-06-22T15:14:57.000Z
lib/padlock.ex
annatel/padlock
0ae17d69078954febb2aaaeef5a6a4d0b5173b5e
[ "MIT" ]
null
null
null
defmodule Padlock do @moduledoc """ Documentation for `Padlock`. """ alias Padlock.Mutexes @spec lock!(binary) :: Mutex.t() defdelegate lock!(name), to: Mutexes @doc false @spec repo :: module def repo() do Application.fetch_env!(:padlock, :repo) end end
16.588235
43
0.656028
d557f56cacdcceafaf20059ce05fa2bec65f5d4e
209
exs
Elixir
test/test_helper.exs
vacarsu/scenic
51c79d2371f5c2a2c752bf3a20b520494f476497
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
vacarsu/scenic
51c79d2371f5c2a2c752bf3a20b520494f476497
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
vacarsu/scenic
51c79d2371f5c2a2c752bf3a20b520494f476497
[ "Apache-2.0" ]
null
null
null
# dynamically update the config to point to the test assets Application.put_env(:scenic, :assets, module: Scenic.Test.Assets) Application.put_env(:scenic, :themes, module: Scenic.Test.Themes) ExUnit.start()
29.857143
65
0.779904
d5581887dda9ff7d430a4e0168137575bf126416
5,626
exs
Elixir
test/ecto/migration_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
test/ecto/migration_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
test/ecto/migration_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../support/mock_repo.exs", __DIR__ defmodule Ecto.MigrationTest do # Although this test uses the Ecto.Migration.Runner which # is global state, we can run it async as long as this is # the only test case that uses the Runner in async mode. use ExUnit.Case, async: true use Ecto.Migration ...
27.578431
106
0.615002
d5581ddd602c48f9b2dd92d8e72c8eb747d03d4a
733
ex
Elixir
lib/pugme/slackbot.ex
KevinGreene/Tinc
4101e4bd24ba81f84e51e9a85be3609515087e6e
[ "MIT" ]
null
null
null
lib/pugme/slackbot.ex
KevinGreene/Tinc
4101e4bd24ba81f84e51e9a85be3609515087e6e
[ "MIT" ]
null
null
null
lib/pugme/slackbot.ex
KevinGreene/Tinc
4101e4bd24ba81f84e51e9a85be3609515087e6e
[ "MIT" ]
null
null
null
defmodule Pugme.Slackbot do use Slack def start_link(opts \\ []) do start_link(Application.get_env(:tinc, :slack_token), []) end def init(initial_state, slack) do IO.puts "Connected as #{slack.me.name}" {:ok, initial_state} end def handle_message(message = %{type: "message"}, slack, state) d...
22.90625
67
0.623465
d5581e11d6c5270672cd5d70d2f308b7908a63bb
108
ex
Elixir
lib/rox/column_family.ex
Tip-Off/rox
4e53c0914c499957bb0ccd6e3aa434bc444f9513
[ "MIT" ]
null
null
null
lib/rox/column_family.ex
Tip-Off/rox
4e53c0914c499957bb0ccd6e3aa434bc444f9513
[ "MIT" ]
null
null
null
lib/rox/column_family.ex
Tip-Off/rox
4e53c0914c499957bb0ccd6e3aa434bc444f9513
[ "MIT" ]
null
null
null
defmodule Rox.ColumnFamily do @typedoc "A string name to a RocksDB column family" @type t :: binary end
21.6
53
0.740741
d558286964247e5ecf6ece2371dcbb5032ccbac6
23,363
ex
Elixir
apps/elixir_ls_debugger/lib/debugger/server.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
apps/elixir_ls_debugger/lib/debugger/server.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
apps/elixir_ls_debugger/lib/debugger/server.ex
SerenityIK/elixir-ls
9569197be87809c241360a6ef1f5a9fffd25ab74
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.Debugger.Server do @moduledoc """ Implements the VS Code Debug Protocol Refer to the protocol's [documentation](https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/common/debugProtocol.d.ts) for details. The protocol specifies that we must assign unique IDs to "th...
30.420573
145
0.632196
d5584891c11db11dce1b510a50cd8d3db2ed8a73
782
ex
Elixir
lib/elixir_boilerplate_graphql/schema.ex
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
854
2019-03-18T19:13:58.000Z
2022-03-30T01:47:30.000Z
lib/elixir_boilerplate_graphql/schema.ex
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
167
2019-03-18T21:23:28.000Z
2022-03-31T19:07:34.000Z
lib/elixir_boilerplate_graphql/schema.ex
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
63
2019-03-28T14:19:11.000Z
2022-02-15T17:22:14.000Z
defmodule ElixirBoilerplateGraphQL.Schema do use Absinthe.Schema alias ElixirBoilerplate.Repo import_types(Absinthe.Type.Custom) import_types(ElixirBoilerplateGraphQL.Application.Types) query do import_fields(:application_queries) end # Even if having an empty mutation block is valid and works in ...
24.4375
103
0.746803
d5588aff8df02927ad5bd1dc9d680b1853f24c05
1,247
ex
Elixir
elixir/lib/homework_web/resolvers/merchants_resolver.ex
TreywRoberts/web-homework
d19b17dd384341d9e6e7e3174372673584289b83
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/merchants_resolver.ex
TreywRoberts/web-homework
d19b17dd384341d9e6e7e3174372673584289b83
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/merchants_resolver.ex
TreywRoberts/web-homework
d19b17dd384341d9e6e7e3174372673584289b83
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Resolvers.MerchantsResolver do alias Homework.Merchants @doc """ Get a list of merchants """ def merchants(_root, args, _info) do {:ok, Merchants.list_merchants(args)} end @doc """ Create a new merchant """ def create_merchant(_root, args, _info) do case...
23.092593
65
0.591018
d558a600f6cfcff25059c992d12a6cdff4aa0a80
2,526
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.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...
53.744681
1,102
0.770784
d558b0ec258759d8136509e95d26da6ef0150cad
1,996
ex
Elixir
lib/wechat_pay/payment_methods/jsapi_behaviour.ex
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "MIT" ]
null
null
null
lib/wechat_pay/payment_methods/jsapi_behaviour.ex
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "MIT" ]
null
null
null
lib/wechat_pay/payment_methods/jsapi_behaviour.ex
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "MIT" ]
null
null
null
defmodule WechatPay.JSAPI.Behaviour do @moduledoc """ The **JSAPI** payment method behaviour. """ @doc """ Place an order [Official document](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_1) """ @callback place_order(attrs :: map) :: {:ok, map} | {:error, WechatPay.Error.t()...
29.352941
92
0.625752
d558b68b148ea6e1dff73b1ab3f9131c12087156
319
exs
Elixir
priv/repo/migrations/20210807204905_add_urls_table.exs
lancehalvorsen/get_shorty
65459633f3166a5f3e8653ff928857266a0c6fbe
[ "MIT" ]
1
2021-08-23T01:42:58.000Z
2021-08-23T01:42:58.000Z
priv/repo/migrations/20210807204905_add_urls_table.exs
lancehalvorsen/get_shorty
65459633f3166a5f3e8653ff928857266a0c6fbe
[ "MIT" ]
null
null
null
priv/repo/migrations/20210807204905_add_urls_table.exs
lancehalvorsen/get_shorty
65459633f3166a5f3e8653ff928857266a0c6fbe
[ "MIT" ]
null
null
null
defmodule GetShorty.Repo.Migrations.AddUrlsTable do use Ecto.Migration def change do create table("urls") do add :slug, :string, size: 8 add :original, :text timestamps() end create index("urls", [:slug], unique: true) create index("urls", [:original], unique: true) end end
19.9375
51
0.639498
d5590b6444245910ba88cc75ed70ca4c0ca46e19
1,027
exs
Elixir
mix.exs
malgasm/hound
ab9f59d8f81ad6a565fa563ef3df342467de87ed
[ "MIT" ]
null
null
null
mix.exs
malgasm/hound
ab9f59d8f81ad6a565fa563ef3df342467de87ed
[ "MIT" ]
null
null
null
mix.exs
malgasm/hound
ab9f59d8f81ad6a565fa563ef3df342467de87ed
[ "MIT" ]
1
2021-01-31T22:16:02.000Z
2021-01-31T22:16:02.000Z
defmodule Hound.Mixfile do use Mix.Project @version "1.1.1" def project do [ app: :hound, version: @version, elixir: ">= 1.5.0", description: "Webdriver library for integration testing and browser automation", source_url: "https://github.com/HashNuke/hound", deps: deps(), ...
20.54
86
0.542356
d55922044226d0c85e92c12ae1a1aa767a94a7eb
57
ex
Elixir
lib/blog_web/views/shared_view.ex
vrrpizzato/blog
bee1e71ca29925d43d62f0bbaa9ae7f4566d65fe
[ "MIT" ]
null
null
null
lib/blog_web/views/shared_view.ex
vrrpizzato/blog
bee1e71ca29925d43d62f0bbaa9ae7f4566d65fe
[ "MIT" ]
17
2021-04-22T00:58:05.000Z
2021-09-26T04:03:12.000Z
lib/blog_web/views/shared_view.ex
theguuholi/blog
36152d03012d163d76520cf57c51783828d14317
[ "MIT" ]
null
null
null
defmodule BlogWeb.SharedView do use BlogWeb, :view end
14.25
31
0.789474
d55940e324471a9e47fc1802c90c7ac1a10fb000
1,876
exs
Elixir
clients/data_migration/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/data_migration/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/data_migration/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
28
118
0.662047
d55956704624defee7c85d1a49b36dee139c33a2
349
ex
Elixir
elixir/mocking/mock_test_example.ex
codingfoo/programmers-sketchbook
ed9f83b492e705fa048a2fa236b689aed661b164
[ "MIT" ]
null
null
null
elixir/mocking/mock_test_example.ex
codingfoo/programmers-sketchbook
ed9f83b492e705fa048a2fa236b689aed661b164
[ "MIT" ]
null
null
null
elixir/mocking/mock_test_example.ex
codingfoo/programmers-sketchbook
ed9f83b492e705fa048a2fa236b689aed661b164
[ "MIT" ]
null
null
null
defmodule SomeMockModule do end defmodule MockUtil do defmacro add_mock module, block do # magic end end defmodule Test do require MockUtil MockUtil.add_mock SomeMockModule do def some_func do "mock value" end end test "The mock value is returned" do assert SomeMockModule.some_func...
13.96
51
0.716332
d55958b50ed6bb7bc20e200ad1951e8b470eef07
1,253
exs
Elixir
test/validation/rules/cpf_test.exs
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
60
2019-09-13T13:37:01.000Z
2021-01-06T05:20:32.000Z
test/validation/rules/cpf_test.exs
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
1
2019-12-16T13:57:22.000Z
2019-12-16T13:57:22.000Z
test/validation/rules/cpf_test.exs
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
5
2019-09-13T19:14:24.000Z
2019-11-26T17:33:08.000Z
defmodule Validation.Rules.CPFTest do use ExUnit.Case alias Validation.Rules.CPF, as: V doctest Validation test "valid cpf" do assert V.validate?("342.444.198-88") assert V.validate?("342.444.198.88") assert V.validate?("350.45261819") assert V.validate?("693-319-118-40") assert V.validate?...
31.325
47
0.65842
d5595f781807dddd6e66bafc99b61c278c277689
695
ex
Elixir
kousa/lib/onion/start_rabbits.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
1
2021-03-22T22:10:34.000Z
2021-03-22T22:10:34.000Z
kousa/lib/onion/start_rabbits.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
1
2021-03-15T19:08:15.000Z
2021-03-15T19:08:15.000Z
kousa/lib/onion/start_rabbits.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
1
2021-03-19T13:04:24.000Z
2021-03-19T13:04:24.000Z
# @todo should probably stop this after initial load defmodule Onion.StartRabbits do use GenServer alias Kousa.Utils.VoiceServerUtils def start_link(_) do GenServer.start_link(__MODULE__, [], name: __MODULE__) end def init(_opts) do n = Application.get_env(:kousa, :num_voice_servers, 1) - 1 Enu...
24.821429
68
0.679137
d5596f00c10c9f82b792ca3f6afc87391138205e
1,039
ex
Elixir
lib/shopify_api/rest/user.ex
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
18
2019-06-07T13:36:39.000Z
2021-08-03T21:06:36.000Z
lib/shopify_api/rest/user.ex
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
158
2018-08-30T22:09:00.000Z
2021-09-22T01:18:59.000Z
lib/shopify_api/rest/user.ex
ProtoJazz/elixir-shopifyapi
759e20baff5afdff235386193bc42b2ecd343f5d
[ "Apache-2.0" ]
4
2020-09-05T00:48:46.000Z
2020-09-30T15:53:50.000Z
defmodule ShopifyAPI.REST.User do @moduledoc """ ShopifyAPI REST API User resource """ alias ShopifyAPI.AuthToken alias ShopifyAPI.REST @doc """ Get a single user. ## Example iex> ShopifyAPI.REST.User.get(auth, integer) {:ok, %{} = user} """ def get(%AuthToken{} = auth, user_id, para...
24.162791
98
0.599615
d559991d20fe75cdcb964ea3267e1021bbc47d4c
2,002
ex
Elixir
lib/membrane/rtcp/report_packet_block.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtcp/report_packet_block.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtcp/report_packet_block.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.RTCP.ReportPacketBlock do @moduledoc """ Parses and constructs report blocks, which are parts of RTCP Sender and Receiver Reports defined in [RFC3550](https://tools.ietf.org/html/rfc3550#section-6.4) """ @enforce_keys [ :ssrc, :fraction_lost, :total_lost, :highest_seq_num, ...
27.805556
90
0.65035
d559a1da1b46b40287c7b735889b58b5cdbd3e33
1,776
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_run_test_case_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_run_test_case_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_run_test_case_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.509434
135
0.765203
d559b0c3647436d3f1e71577c664b884aa496679
1,685
exs
Elixir
apps/roadtrip/mix.exs
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
2
2022-01-19T17:59:21.000Z
2022-01-19T18:05:05.000Z
apps/roadtrip/mix.exs
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
null
null
null
apps/roadtrip/mix.exs
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
null
null
null
defmodule Roadtrip.MixProject do use Mix.Project def project do [ app: :roadtrip, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.12", elixirc_paths: elixirc_...
26.328125
79
0.564985
d559b97408a1af644553d55c94b083f2bb94b8b8
5,894
ex
Elixir
lib/nys_etl/eclrs/file.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
lib/nys_etl/eclrs/file.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
lib/nys_etl/eclrs/file.ex
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETL.ECLRS.File do use Magritte use NYSETL, :schema defmodule HeaderError do defexception [:message] end NimbleCSV.define(ECLRSParser, separator: "|") @header_v1 "PIDLASTNAME|PIDMIDDLENAME|PIDFIRSTNAME|PIDDATEOFBIRTH|PIDSEXCODE|PIDADDRESSLINE1|PIDADDRESSLINE2|PIDCITY|PIDZIPCODE|PIDCOUNTYC...
65.488889
1,113
0.82321
d559ca0c18e4eaacec3c42eb0c47652fb7a15179
700
exs
Elixir
test/ex_okex/swap/public_test.exs
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
6
2018-12-04T22:05:05.000Z
2022-01-08T11:54:40.000Z
test/ex_okex/swap/public_test.exs
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
14
2019-12-21T11:32:30.000Z
2022-03-28T16:07:01.000Z
test/ex_okex/swap/public_test.exs
yurikoval/ex_okex
bcaccee94b2f3ebcf2adec4ae70ed71dbe6f35c2
[ "MIT" ]
3
2019-10-19T19:33:34.000Z
2019-10-19T19:35:18.000Z
defmodule ExOkex.Swap.PublicTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import Mock alias ExOkex.Swap test ".instruments returns a list" do use_cassette "swap/public/instruments_ok" do assert {:ok, instruments} = Swap.Public.instruments() assert Enum....
29.166667
83
0.69
d559e0bb017016a4f4435a62b7a8b0c0af35d7fa
124
exs
Elixir
test/test_helper.exs
johndavedecano/kwerk
a9e5928c2c5eb7a9a8dfaba30450627c257832a3
[ "MIT" ]
2
2018-09-23T08:45:07.000Z
2020-01-20T15:47:45.000Z
test/test_helper.exs
johndavedecano/kwerk
a9e5928c2c5eb7a9a8dfaba30450627c257832a3
[ "MIT" ]
null
null
null
test/test_helper.exs
johndavedecano/kwerk
a9e5928c2c5eb7a9a8dfaba30450627c257832a3
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Kwerk.Repo, :manual) {:ok, _} = Application.ensure_all_started(:ex_machina)
20.666667
54
0.758065
d559fea66c06d6f15996c6ed87a70aae4714b0fe
2,795
ex
Elixir
parkapp_server/lib/parkapp/logging/logging.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
2
2018-11-06T12:21:16.000Z
2018-11-21T10:20:17.000Z
parkapp_server/lib/parkapp/logging/logging.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
parkapp_server/lib/parkapp/logging/logging.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
defmodule Parkapp.Logging do @moduledoc """ The Logging context. """ import Ecto.Query, warn: false alias Parkapp.Repo alias Parkapp.Logging.ExternalPaymentLog @doc """ Returns the list of external_payment_logs. ## Examples iex> list_external_payment_logs() [%ExternalPaymentLog{}, ......
23.291667
89
0.700179
d55a079310122dfc4b9acac13ca5161b6d4c5645
9,125
ex
Elixir
lib/nerves/env.ex
opencollective/nerves
81f5d30de283e77f3720a87fa1435619f0da12de
[ "Apache-2.0" ]
1
2019-06-12T17:34:10.000Z
2019-06-12T17:34:10.000Z
lib/nerves/env.ex
opencollective/nerves
81f5d30de283e77f3720a87fa1435619f0da12de
[ "Apache-2.0" ]
null
null
null
lib/nerves/env.ex
opencollective/nerves
81f5d30de283e77f3720a87fa1435619f0da12de
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.Env do @moduledoc """ Contains package info for Nerves dependencies The Nerves Env is used to load information from dependencies that contain a nerves.exs config file in the root of the dependency path. Nerves loads this config because it needs access to information about Nerves compile ti...
24.268617
83
0.622685
d55a28d47f4dbf8b025b6d91dd4821f0c511ab24
1,149
exs
Elixir
clients/indexing/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/indexing/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/indexing/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Indexing.V3.Mixfile do use Mix.Project @version "0.2.0" def project do [app: :google_api_indexing, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), ...
23.44898
105
0.589208
d55a302495095c88d13c70e4e0c9d1b26e3d5cb0
5,270
exs
Elixir
apps/elixir_security_advisory/test/elixir_security_advisory/vulnerabilities/vulnerabilities_test.exs
ex-security-advisory/api
75674d42efd3b9f2406233e36244d5cb5f174971
[ "MIT" ]
5
2019-01-03T18:33:40.000Z
2021-01-25T10:15:06.000Z
apps/elixir_security_advisory/test/elixir_security_advisory/vulnerabilities/vulnerabilities_test.exs
ex-security-advisory/api
75674d42efd3b9f2406233e36244d5cb5f174971
[ "MIT" ]
15
2018-12-27T16:59:06.000Z
2019-01-04T17:34:38.000Z
apps/elixir_security_advisory/test/elixir_security_advisory/vulnerabilities/vulnerabilities_test.exs
ex-security-advisory/api
75674d42efd3b9f2406233e36244d5cb5f174971
[ "MIT" ]
null
null
null
defmodule ElixirSecurityAdvisory.VulnerabilitiesTest do @moduledoc false use ElixirSecurityAdvisory.DataCase alias ElixirSecurityAdvisory.Vulnerabilities alias ElixirSecurityAdvisory.Vulnerabilities.Database.{Package, Vulnerability} def vulnerability_fixture do vulnerability = %{ id: "packages/c...
33.566879
621
0.679696
d55ac5496ed3aeeacc67de44b158bdc10aa7be77
523
ex
Elixir
lib/mix/tasks/bootleg.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
423
2017-07-19T18:40:45.000Z
2021-12-03T08:26:15.000Z
lib/mix/tasks/bootleg.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
115
2017-07-19T18:30:14.000Z
2020-10-27T20:53:32.000Z
lib/mix/tasks/bootleg.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
39
2017-07-20T03:14:18.000Z
2020-11-18T13:39:52.000Z
defmodule Mix.Tasks.Bootleg do use Mix.Task alias Mix.Tasks.Help @shortdoc "Prints Bootleg help information" @moduledoc """ Prints Bootleg tasks and their information. mix bootleg """ @doc false def run(_args) do Application.ensure_all_started(:bootleg) Mix.shell().info("Bootleg v#{App...
23.772727
75
0.6826
d55acf3900f1e0ed247110ef4dc59e39655e5d09
398
exs
Elixir
test/exreddit/request_test.exs
Zarathustra2/exreddit
ff2a1a898ee0846278c0485f4323192c703f5f3e
[ "MIT" ]
null
null
null
test/exreddit/request_test.exs
Zarathustra2/exreddit
ff2a1a898ee0846278c0485f4323192c703f5f3e
[ "MIT" ]
null
null
null
test/exreddit/request_test.exs
Zarathustra2/exreddit
ff2a1a898ee0846278c0485f4323192c703f5f3e
[ "MIT" ]
null
null
null
defmodule ExReddit.Api.RequestTest do use ExUnit.Case doctest ExReddit.Request alias ExReddit.Request alias HTTPotion.Response @moduletag :reddit_api @moduletag :request test "get with uri" do %Response{body: body, status_code: 200} = Request.get({:uri, "/r/learnprogramming/new"}) {:ok, respon...
22.111111
92
0.713568
d55adc853e5be4190bf2b33594163960837ffdf7
10,533
exs
Elixir
test/plug/hmac_auth_test.exs
dvlp123456/oasis
a1b2ec720277ced6956094ceb139124f5459b78e
[ "MIT" ]
11
2021-02-24T09:21:11.000Z
2021-12-26T03:51:25.000Z
test/plug/hmac_auth_test.exs
dvlp123456/oasis
a1b2ec720277ced6956094ceb139124f5459b78e
[ "MIT" ]
5
2021-03-18T14:15:37.000Z
2022-03-02T09:53:42.000Z
test/plug/hmac_auth_test.exs
dvlp123456/oasis
a1b2ec720277ced6956094ceb139124f5459b78e
[ "MIT" ]
6
2021-02-24T09:21:01.000Z
2021-11-16T08:45:03.000Z
defmodule Oasis.Plug.HMACAuthTest do use ExUnit.Case use Plug.Test import Oasis.Plug.HMACAuth import Oasis.Test.Support.HMAC describe "parse_hmac_auth" do test "parse fail with wrong fields" do conn = conn(:get, "/") |> put_req_header( "authorization", "HMAC-SHA...
31.162722
116
0.537454
d55af130a6aa4f771cb6be3d54ee3f24ed477626
10,825
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/configuration_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/test/admin_api/v1/controllers/configuration_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/test/admin_api/v1/controllers/configuration_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.618012
97
0.591409
d55b37665dc0161a8048429fd149b39cc11cb410
4,578
ex
Elixir
lib/set_locale.ex
SkyllaTech/set_locale
68d709fb4d7a623d76bfbe9a97926da3d6226174
[ "WTFPL" ]
64
2016-11-03T12:56:08.000Z
2021-12-05T07:22:20.000Z
lib/set_locale.ex
SkyllaTech/set_locale
68d709fb4d7a623d76bfbe9a97926da3d6226174
[ "WTFPL" ]
28
2016-11-25T11:52:38.000Z
2021-06-10T18:37:46.000Z
lib/set_locale.ex
SkyllaTech/set_locale
68d709fb4d7a623d76bfbe9a97926da3d6226174
[ "WTFPL" ]
33
2016-11-25T11:06:27.000Z
2021-06-09T21:49:35.000Z
defmodule SetLocale do import Plug.Conn defmodule Config do @enforce_keys [:gettext, :default_locale] defstruct [:gettext, :default_locale, :cookie_key, additional_locales: []] end def init(opts) when is_tuple(hd(opts)), do: struct!(Config, opts) def init([gettext, default_locale]) do unless Mi...
29.727273
106
0.68021
d55b553dc43b66a943cbea18eede820d4d9f89ac
1,966
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/projects_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/projects_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/projects_list_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...
37.09434
186
0.731434
d55b611c09c9cc0db93c3e51841648b3126aebb5
2,173
ex
Elixir
lib/bsv/transaction/output.ex
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
lib/bsv/transaction/output.ex
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
lib/bsv/transaction/output.ex
afomi/bsv-ex
a31db1e9d223aa4ac9cc00e86b1e6344a0037805
[ "Apache-2.0" ]
null
null
null
defmodule BSV.Transaction.Output do @moduledoc """ Module for parsing and serialising transaction outputs. """ alias BSV.Script alias BSV.Util alias BSV.Util.VarBin defstruct satoshis: 0, script: nil @typedoc "Transaction output" @type t :: %__MODULE__{ satoshis: integer, script: binary } ...
24.41573
106
0.66636
d55b671e612b6f74a466bdb9340302f702b7191a
531
ex
Elixir
lib/glimesh/chat/chat_message.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
1
2020-08-02T00:12:28.000Z
2020-08-02T00:12:28.000Z
lib/glimesh/chat/chat_message.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh/chat/chat_message.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule Glimesh.Chat.ChatMessage do @moduledoc false use Ecto.Schema import Ecto.Changeset alias Glimesh.Accounts.User alias Glimesh.Streams.Channel schema "chat_messages" do field :message, :string field :is_visible, :boolean, default: true belongs_to :channel, Channel belongs_to :use...
19.666667
53
0.704331
d55b8cee27e30a5b5c228ddd188678f9fa04dadf
719
exs
Elixir
priv/repo/migrations/20180223163527_create_members_table.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
1
2017-08-08T13:22:23.000Z
2017-08-08T13:22:23.000Z
priv/repo/migrations/20180223163527_create_members_table.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
priv/repo/migrations/20180223163527_create_members_table.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
defmodule Who.Repo.Migrations.CreateMembersTable do use Ecto.Migration def up do create table(:member) do add :member_id, :integer add :short_title, :string add :first_name, :string add :middle_name, :string add :last_name, :string add :state, :string add :party, :st...
19.972222
51
0.620306
d55b9f86caaf810cccbd704a383bded9129fe9eb
4,520
exs
Elixir
test/kaffe/config/consumer_test.exs
AlexKovalevych/kaffe
4aebfcd8acf2ac93c6a1e239d15f38234cdd94b2
[ "MIT" ]
null
null
null
test/kaffe/config/consumer_test.exs
AlexKovalevych/kaffe
4aebfcd8acf2ac93c6a1e239d15f38234cdd94b2
[ "MIT" ]
null
null
null
test/kaffe/config/consumer_test.exs
AlexKovalevych/kaffe
4aebfcd8acf2ac93c6a1e239d15f38234cdd94b2
[ "MIT" ]
null
null
null
defmodule Kaffe.Config.ConsumerTest do use ExUnit.Case describe "configuration/0" do setup do consumer_config = Application.get_env(:kaffe, :consumer) |> Keyword.delete(:offset_reset_policy) |> Keyword.put(:start_with_earliest_message, true) Application.put_env(:kaffe, :con...
31.608392
106
0.653097
d55ba58cb19693090e36b984658afd18363cdb60
1,825
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_position.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_position.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_position.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 "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 ...
33.181818
92
0.711781
d55bb80b048f38867d7864d4b6be0886d7a2943e
830
ex
Elixir
lib/shopix/admin/statistics.ex
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
196
2019-05-05T15:59:32.000Z
2022-03-15T02:37:19.000Z
lib/shopix/admin/statistics.ex
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
105
2019-05-04T19:04:40.000Z
2021-07-28T11:21:45.000Z
lib/shopix/admin/statistics.ex
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
26
2019-05-05T19:40:52.000Z
2021-11-16T00:32:46.000Z
defmodule Shopix.Admin.Statistics do import Ecto.Query use Timex alias Shopix.Schema.Order alias Shopix.Schema.User alias Shopix.Repo def orders_today_count do from(o in Order, select: count(o.id), where: fragment("?::date", o.completed_at) == ^Timex.today() ) |> Repo.one() end ...
21.842105
98
0.624096
d55bb9d5b2ed4c1c95d6c99a95e73199823f4dd5
1,582
ex
Elixir
lib/swoosh/adapters/sendmail.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
lib/swoosh/adapters/sendmail.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
lib/swoosh/adapters/sendmail.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(:mimemail) do defmodule Swoosh.Adapters.Sendmail do @moduledoc ~S""" An adapter that sends email using the sendmail binary. ## Example # config/config.exs config :sample, Sample.Mailer, adapter: Swoosh.Adapters.Sendmail, cmd_path: "/usr/bin/send...
23.264706
63
0.560051
d55bbc6b3b652a567c5cbffc55595283b18dd529
1,157
exs
Elixir
test/registry/dispatch_test.exs
ityonemo/multiverses
24b65367b369cc8122d24836816340ff2072c501
[ "MIT" ]
4
2020-06-27T02:15:42.000Z
2020-12-21T14:24:42.000Z
test/registry/dispatch_test.exs
ityonemo/multiverses
24b65367b369cc8122d24836816340ff2072c501
[ "MIT" ]
4
2020-06-03T16:51:55.000Z
2020-09-08T19:28:55.000Z
test/registry/dispatch_test.exs
ityonemo/multiverses
24b65367b369cc8122d24836816340ff2072c501
[ "MIT" ]
1
2020-12-21T14:24:47.000Z
2020-12-21T14:24:47.000Z
import MultiversesTest.Replicant defmoduler MultiversesTest.Registry.DispatchTest do use Multiverses, with: Registry use ExUnit.Case, async: true alias MultiversesTest.Registry.TestServer test "registry.dispatch/4" do test_pid = self() reg = test_pid |> inspect |> String.to_atom {:ok, _reg} = R...
24.617021
63
0.6707
d55bc68ff0f4d3916533309e75074fd06c2b7c0c
139
ex
Elixir
web/controllers/game_controller.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
web/controllers/game_controller.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
web/controllers/game_controller.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
defmodule Volition.GameController do use Volition.Web, :controller def index(conn, _params) do render conn, "index.html" end end
19.857143
36
0.741007
d55bcafba8e8093a8ceb7565c959bb8715fb647f
1,406
ex
Elixir
lib/bookmarker/runner.ex
FredrikL/bookmarker
23b91e408c142d044526b11106a01c93ab1dd823
[ "MIT" ]
null
null
null
lib/bookmarker/runner.ex
FredrikL/bookmarker
23b91e408c142d044526b11106a01c93ab1dd823
[ "MIT" ]
null
null
null
lib/bookmarker/runner.ex
FredrikL/bookmarker
23b91e408c142d044526b11106a01c93ab1dd823
[ "MIT" ]
null
null
null
defmodule Bookmarker.Runner do alias Bookmarker.Bookmark alias Bookmarker.Template def run(config) do get_bookmarks(config.file) |> ignore_paths(config.ignore) |> restrict_to(config.path) |> render_markdown(Map.take(config, [:title, :description, :timestamp?])) |> output(config.output) end ...
21.96875
77
0.629445
d55bd071e77212ebe11911e6fdb2bbeb7b77ae0b
5,056
ex
Elixir
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/service_perimeter.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/service_perimeter.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/service_perimeter.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...
52.666667
182
0.741495
d55bd98348cba055131ca2f0643d46c4cc35bc61
314
ex
Elixir
test/support/users.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
17
2021-05-04T09:27:48.000Z
2022-02-02T00:53:28.000Z
test/support/users.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
18
2021-05-05T21:17:54.000Z
2021-12-08T19:25:21.000Z
test/support/users.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
2
2021-05-04T13:35:00.000Z
2021-07-08T22:28:32.000Z
defmodule Users do use Cqrs.BoundedContext command CreateUser command CreateUser, as: :create_user2 query GetUser query GetUser, as: :get_user2 end defmodule UsersEnhanced do use Cqrs.BoundedContext command CreateUser command DeactivateUser query GetUser query GetUser, as: :get_user2 end
15.7
39
0.77707
d55c0ab3be3704527fdbfc31e97318ea78634f6f
1,780
exs
Elixir
mix.exs
nicholasbair/event_bus
83cfded6c18a85210f9ea68256168abde1e16243
[ "MIT" ]
null
null
null
mix.exs
nicholasbair/event_bus
83cfded6c18a85210f9ea68256168abde1e16243
[ "MIT" ]
null
null
null
mix.exs
nicholasbair/event_bus
83cfded6c18a85210f9ea68256168abde1e16243
[ "MIT" ]
null
null
null
defmodule EventBus.Mixfile do use Mix.Project def project do [ app: :event_bus, version: "1.6.1", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), packa...
24.722222
79
0.590449
d55c15bc4154fcb3ffb14ef78f893fdf36523949
5,953
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/bi_directional/secure_channel.ex
Szymongib/ockam
b6d8c62ec2516c8e0dac243a02c1d1aaf9094622
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/bi_directional/secure_channel.ex
Szymongib/ockam
b6d8c62ec2516c8e0dac243a02c1d1aaf9094622
[ "Apache-2.0" ]
108
2021-10-30T14:46:14.000Z
2021-10-30T16:00:08.000Z
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/bi_directional/secure_channel.ex
frazar/ockam
2229a22cb95fc40485304fac9b2236384b544ad4
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Examples.Stream.BiDirectional.SecureChannel do @moduledoc """ Ping-pong example for bi-directional stream communication Use-case: integrate ockam nodes which implement stream protocol consumer and publisher Pre-requisites: Ockam hub running with stream service and TCP listener Two ockam...
26.695067
96
0.689568
d55c1c040ecf127da95ca70d301d5042bace2451
814
ex
Elixir
lib/qonto_ex.ex
maxime-d/qonto_ex
ae27fb694797e545ab702e3b53143fa0b865865b
[ "MIT" ]
null
null
null
lib/qonto_ex.ex
maxime-d/qonto_ex
ae27fb694797e545ab702e3b53143fa0b865865b
[ "MIT" ]
null
null
null
lib/qonto_ex.ex
maxime-d/qonto_ex
ae27fb694797e545ab702e3b53143fa0b865865b
[ "MIT" ]
null
null
null
defmodule QontoEx do use Tesla plug Tesla.Middleware.BaseUrl, "https://thirdparty.qonto.eu/v1" plug Tesla.Middleware.Headers, %{ "User-Agent" => "QontoEx " <> QontoEx.Mixfile.project[:version] } plug Tesla.Middleware.Headers, %{ "Content-Type" => "application/json" } plug Tesla.Middleware.JSON def slug, d...
28.068966
101
0.669533
d55c596a8fd2fbc8ba7ee4839d1e168b3f643a7c
2,325
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_conversation_turn.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_conversation_turn.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_conversation_turn.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...
38.114754
176
0.764301
d55c9424818ddb8bed7b7458c6b0ae68e44d9c97
2,940
ex
Elixir
lib/ueberauth/strategy/wakatime.ex
BrainBuzzer/ueberauth_wakatime
7c5824d14f39f677fda951bc074ec084235e7484
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/wakatime.ex
BrainBuzzer/ueberauth_wakatime
7c5824d14f39f677fda951bc074ec084235e7484
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/wakatime.ex
BrainBuzzer/ueberauth_wakatime
7c5824d14f39f677fda951bc074ec084235e7484
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Wakatime do @moduledoc """ Wakatime Strategy for Überauth. """ use Ueberauth.Strategy, uid_field: :id, default_scope: "email", oauth2_module: Ueberauth.Strategy.Wakatime.OAuth alias Ueberauth.Auth.Info alias Ueberauth.Auth.Cr...
25.128205
102
0.651361
d55ca2ceda097e946cd41b8edafee2c49006a8f9
3,325
exs
Elixir
lib/elixir/test/elixir/string/chars_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string/chars_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string/chars_test.exs
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule String.Chars.AtomTest do use ExUnit.Case, async: true doctest String.Chars test "basic" do assert to_string(:foo) == "foo" end test "empty" do assert to_string(:"") == "" end test "true false nil" do assert to_string(false) == "fal...
23.415493
113
0.627068
d55cbb0a252579056f8be03123a37fed3669dbe8
2,463
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_text_classification_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_text_classification_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_text_classification_config.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...
39.095238
271
0.755177
d55d060bf44601703648ec10274d6c8533af954b
1,811
ex
Elixir
lib/sobelow/finding_log.ex
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
lib/sobelow/finding_log.ex
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
lib/sobelow/finding_log.ex
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
defmodule Sobelow.FindingLog do use GenServer @json_template """ { "sobelow_version": "<%= @version %>", "total_findings": "<%= @total_findings %>", "findings": {<%= for {confidence, items} <- @findings do %> "<%= confidence %>": [<% last = List.last(items) %><%= for item <- items do %> ...
26.632353
90
0.563777
d55d6235df0bbb6820dbd1864689b0a972d6ccca
2,960
ex
Elixir
lib/days/01.ex
codebycaleb/advent-2019
93307522e31410df7f4bcdaadd79d2a628f09cb2
[ "Unlicense" ]
null
null
null
lib/days/01.ex
codebycaleb/advent-2019
93307522e31410df7f4bcdaadd79d2a628f09cb2
[ "Unlicense" ]
null
null
null
lib/days/01.ex
codebycaleb/advent-2019
93307522e31410df7f4bcdaadd79d2a628f09cb2
[ "Unlicense" ]
null
null
null
require Utils defmodule D1 do @moduledoc """ --- Day 1: The Tyranny of the Rocket Equation --- Santa has become stranded at the edge of the Solar System while delivering presents to other planets! To accurately calculate his position in space, safely align his warp drive, and return to Earth in time to save Chri...
47.741935
419
0.729392
d55db18d6bbe98189067feb6d9a2a0343cd9bbab
1,068
ex
Elixir
lib/transmit.ex
kwisatzheadache/flight_coding
cfdb5356daa0806ae34c516280e52b1524805350
[ "MIT" ]
2
2017-05-10T00:58:15.000Z
2017-06-05T20:30:16.000Z
lib/transmit.ex
kwisatzheadache/flight_coding
cfdb5356daa0806ae34c516280e52b1524805350
[ "MIT" ]
null
null
null
lib/transmit.ex
kwisatzheadache/flight_coding
cfdb5356daa0806ae34c516280e52b1524805350
[ "MIT" ]
null
null
null
defmodule Transmit do @moduledoc""" Module to handle sending messages within NN, using the genotype and corresponding PIDs. """ @doc""" Send message to lists of neurons, sensors, or actuators, by PID. Messages to neurons are sent only to the first layer of neurons. """ def list(component, genotype, mes...
33.375
90
0.673221
d55db78010bdbf3fd0c52646b5f764493e663c53
71
ex
Elixir
web/views/layout_view.ex
pbrudnick/pyconar-talks
f0b2fdff9cae7bd7558cb4fdc5e0048403bbde7e
[ "MIT" ]
null
null
null
web/views/layout_view.ex
pbrudnick/pyconar-talks
f0b2fdff9cae7bd7558cb4fdc5e0048403bbde7e
[ "MIT" ]
null
null
null
web/views/layout_view.ex
pbrudnick/pyconar-talks
f0b2fdff9cae7bd7558cb4fdc5e0048403bbde7e
[ "MIT" ]
null
null
null
defmodule PyconarTalks.LayoutView do use PyconarTalks.Web, :view end
17.75
36
0.816901
d55dc44fd6cd604043948097ee633eb61a7863f1
1,679
ex
Elixir
lib/consul/api/v1/health.ex
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
1
2021-06-14T10:59:01.000Z
2021-06-14T10:59:01.000Z
lib/consul/api/v1/health.ex
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
1
2021-12-15T01:23:36.000Z
2021-12-15T01:23:36.000Z
lib/consul/api/v1/health.ex
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
4
2020-10-17T13:11:58.000Z
2021-12-30T17:51:04.000Z
defmodule Consul.Api.V1.Health do @moduledoc """ Higher level abstraction on top of Consul's Health API. """ alias Consul.{Connection, Request, Response} @doc """ List checks associated with the service provided on the path. """ def list_checks(connection, service, optional_params \\ [], opts \\ []) d...
26.234375
77
0.581298
d55dd6a57edeca884a2c251d8441a439b4519223
11,135
exs
Elixir
test/benchee/formatters/console/run_time_test.exs
kimshrier/benchee
a295b4fd538c1d1b204f2f565daff94fcd53558c
[ "MIT" ]
null
null
null
test/benchee/formatters/console/run_time_test.exs
kimshrier/benchee
a295b4fd538c1d1b204f2f565daff94fcd53558c
[ "MIT" ]
null
null
null
test/benchee/formatters/console/run_time_test.exs
kimshrier/benchee
a295b4fd538c1d1b204f2f565daff94fcd53558c
[ "MIT" ]
null
null
null
defmodule Benchee.Formatters.Console.RunTimeTest do use ExUnit.Case, async: true doctest Benchee.Formatters.Console.RunTime alias Benchee.{Benchmark.Scenario, Formatters.Console.RunTime, Statistics} @console_config %{ comparison: true, unit_scaling: :best, extended_statistics: false } @console...
29.693333
84
0.557521
d55e4f6a091ae23054a9f2697401b83e27bd80b6
433
ex
Elixir
lib/xiami_daily_recommend/cache.ex
Gizeta/xiami_daily_recommend
e4b510cc02ad544f0007ba78af3e5efc6b6369a3
[ "MIT" ]
null
null
null
lib/xiami_daily_recommend/cache.ex
Gizeta/xiami_daily_recommend
e4b510cc02ad544f0007ba78af3e5efc6b6369a3
[ "MIT" ]
null
null
null
lib/xiami_daily_recommend/cache.ex
Gizeta/xiami_daily_recommend
e4b510cc02ad544f0007ba78af3e5efc6b6369a3
[ "MIT" ]
null
null
null
defmodule XiamiDailyRecommend.Cache do import Plug.Conn def init(opts), do: opts def call(%Plug.Conn{path_info: ["token" | _]}=conn, _opts) do conn |> assign(:cache, true) end def call(conn, _opts) do current_date = Date.utc_today case :ets.lookup(:xiami, "date") do [{"date", cache_dat...
24.055556
80
0.639723
d55e5567c254b1970d452fb4ee7d3b6ca8e0c4e7
423
exs
Elixir
priv/repo/migrations/001_create_users.exs
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
13
2017-12-11T13:59:42.000Z
2020-11-16T21:52:31.000Z
priv/repo/migrations/001_create_users.exs
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
310
2017-11-13T22:52:26.000Z
2018-11-19T17:49:30.000Z
priv/repo/migrations/001_create_users.exs
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
3
2017-12-05T00:36:12.000Z
2020-03-10T15:15:29.000Z
defmodule Plenario.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table(:users) do add :username, :text add :email, :text add :password_hash, :text add :bio, :text, default: nil add :is_admin?, :boolean, default: false end create unique_index(:user...
21.15
49
0.65721
d55e5b6d8723c01fb5bc720458796e07ae305b1c
1,349
ex
Elixir
{{cookiecutter.project_slug}}/apps/{{cookiecutter.phoenix_app_slug}}_web/lib/{{cookiecutter.phoenix_app_slug}}_web/application.ex
ibakami/cookiecutter-elixir-phoenix
672b9e05f40b01a810a073a9712fc3300c396e40
[ "MIT" ]
14
2019-08-01T07:55:50.000Z
2021-04-24T09:14:09.000Z
{{cookiecutter.project_slug}}/apps/{{cookiecutter.phoenix_app_slug}}_web/lib/{{cookiecutter.phoenix_app_slug}}_web/application.ex
ibakami/cookiecutter-elixir-phoenix
672b9e05f40b01a810a073a9712fc3300c396e40
[ "MIT" ]
1
2019-08-02T03:03:40.000Z
2019-08-02T03:03:40.000Z
{{cookiecutter.project_slug}}/apps/{{cookiecutter.phoenix_app_slug}}_web/lib/{{cookiecutter.phoenix_app_slug}}_web/application.ex
ibakami/cookiecutter-elixir-phoenix
672b9e05f40b01a810a073a9712fc3300c396e40
[ "MIT" ]
null
null
null
defmodule {{cookiecutter.phoenix_app_module}}Web.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @spec start(Application.start_type(), term()) :: {:error, reason :: term()} | {:ok, pid()} | {:ok, pid(), App...
39.676471
97
0.71238
d55e85162ffc2bd3899ed9666f2c9808ac17f290
1,878
ex
Elixir
clients/service_directory/lib/google_api/service_directory/v1beta1/model/list_services_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_directory/lib/google_api/service_directory/v1beta1/model/list_services_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_directory/lib/google_api/service_directory/v1beta1/model/list_services_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.56
157
0.746539
d55e85858866f9281b7f112cd92ad0198653d355
9,813
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/comment_threads.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/comment_threads.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/comment_threads.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
51.647368
353
0.709875
d55e983098b6baebbe34627fa94bfd42356bf607
11,841
ex
Elixir
kousa/lib/kousa/room.ex
genzyy/dogehouse
52167b407ad9c3354edab25856c10c635cbabb32
[ "MIT" ]
1
2021-03-20T16:48:41.000Z
2021-03-20T16:48:41.000Z
kousa/lib/kousa/room.ex
genzyy/dogehouse
52167b407ad9c3354edab25856c10c635cbabb32
[ "MIT" ]
null
null
null
kousa/lib/kousa/room.ex
genzyy/dogehouse
52167b407ad9c3354edab25856c10c635cbabb32
[ "MIT" ]
1
2021-03-12T21:31:01.000Z
2021-03-12T21:31:01.000Z
defmodule Kousa.Room do alias Kousa.Utils.RegUtils alias Kousa.Utils.VoiceServerUtils alias Beef.Users alias Beef.Follows alias Beef.Rooms # note the following 2 module aliases are on the chopping block! alias Beef.RoomPermissions alias Beef.RoomBlocks def set_auto_speaker(user_id, value) do room...
29.237037
98
0.588633
d55e9924943162af690aca5d4c720f975c45701a
216
exs
Elixir
test/elixir_rsyslog_backend_test.exs
enjolras1205/elixir_rsyslog_backend
57277dd4756d5cd9180c5555a74cfac2224c0d03
[ "MIT" ]
1
2019-07-17T15:58:39.000Z
2019-07-17T15:58:39.000Z
test/elixir_rsyslog_backend_test.exs
enjolras1205/elixir_rsyslog_backend
57277dd4756d5cd9180c5555a74cfac2224c0d03
[ "MIT" ]
null
null
null
test/elixir_rsyslog_backend_test.exs
enjolras1205/elixir_rsyslog_backend
57277dd4756d5cd9180c5555a74cfac2224c0d03
[ "MIT" ]
1
2018-09-19T08:39:59.000Z
2018-09-19T08:39:59.000Z
defmodule Logger.Backends.RsyslogTest do use ExUnit.Case require Logger doctest Logger.Backends.Rsyslog test "the truth" do assert 1 + 1 == 2 end test "log" do Logger.debug("test") end end
14.4
40
0.675926
d55ed5f54262859d2b3201ba8d4faf23006c796c
2,051
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/list_properties_suggestion_state.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/list_properties_suggestion_state.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/docs/lib/google_api/docs/v1/model/list_properties_suggestion_state.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.215686
388
0.765968
d55eee1033fe4a1943a5fa7742bb56fa7594824c
796
ex
Elixir
questions/basic/00100000-union.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
335
2015-02-09T09:21:34.000Z
2022-03-30T12:28:18.000Z
questions/basic/00100000-union.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
58
2015-05-12T03:10:54.000Z
2021-11-27T15:53:36.000Z
questions/basic/00100000-union.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
63
2015-03-18T18:15:56.000Z
2022-02-23T07:27:46.000Z
|QUESTIONNAME| Combining results from multiple queries |QUESTION| You, for some reason, want a combined list of all surnames and all facility names. Yes, this is a contrived example :-). Produce that list! |QUERY| select surname from cd.members union select name from cd.facilities; |ANSWER| <p>The <c>UNION</c> ope...
36.181818
235
0.76005
d55f0ddca57d429621889d8611dd6be4bc0ecbf7
2,310
exs
Elixir
config/dev.exs
JasonTrue/ex_jagaimo_blog
e90e2dfe67971e009f3fafb9b4a06dd3bc92ffb9
[ "MIT" ]
1
2021-06-19T04:19:06.000Z
2021-06-19T04:19:06.000Z
config/dev.exs
JasonTrue/ex_jagaimo_blog
e90e2dfe67971e009f3fafb9b4a06dd3bc92ffb9
[ "MIT" ]
1
2021-06-19T04:21:52.000Z
2021-06-19T04:21:52.000Z
config/dev.exs
JasonTrue/ex_jagaimo_blog
e90e2dfe67971e009f3fafb9b4a06dd3bc92ffb9
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :ex_jagaimo_blog, ExJagaimoBlog.Repo, username: "postgres", password: "postgres", database: "exjagaimoblog_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debuggin...
28.170732
68
0.692641
d55f15679c5c7226fb9dbb760b8e4bed913a8ef7
3,411
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_training_phrase.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_training_phrase.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_training_phrase.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...
38.325843
189
0.715626
d55f565836d712384cc2149bb87da8cdea8fb012
3,661
exs
Elixir
test/relax/integration/relationship_links_test.exs
AgilionApps/relax
f8f84717b260afe3a6824df35f72f7606ad3c048
[ "Apache-2.0" ]
132
2015-01-12T17:30:24.000Z
2021-07-03T10:21:34.000Z
test/relax/integration/relationship_links_test.exs
AgilionApps/relax
f8f84717b260afe3a6824df35f72f7606ad3c048
[ "Apache-2.0" ]
14
2015-03-03T14:00:03.000Z
2016-03-07T01:45:28.000Z
test/relax/integration/relationship_links_test.exs
AgilionApps/relax
f8f84717b260afe3a6824df35f72f7606ad3c048
[ "Apache-2.0" ]
15
2015-02-11T20:31:44.000Z
2019-05-21T06:24:38.000Z
defmodule Relax.Integration.RelationshipLinksTest do use ExUnit.Case, async: true use Plug.Test defmodule Store do @authors Forge.author_list(1) @posts Forge.post_list(2) @comments Enum.flat_map(@posts, &(Forge.comment_list(2, post_id: &1.id))) def authors, do: @authors def posts, do: @po...
27.946565
97
0.632341
d55f63162a4a06b110dbe580ebde4089712ef769
1,077
exs
Elixir
config/config.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
1
2021-09-11T15:46:04.000Z
2021-09-11T15:46:04.000Z
config/config.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
4
2021-01-18T00:49:02.000Z
2022-02-23T05:18:37.000Z
config/config.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "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. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :exsemantica_phx, ecto_repos: [Exsemant...
33.65625
92
0.778087
d55f76eb05f45941ab608fda21a6d3a347619c15
1,288
ex
Elixir
lib/quickbooks/accounting_api.ex
AlexVKO/quickbooks-elixir
0e9f69e2e4a6b538d94bd16b546aa43e65814bbb
[ "MIT" ]
7
2017-01-23T15:50:49.000Z
2021-04-30T01:20:11.000Z
lib/quickbooks/accounting_api.ex
AlexVKO/quickbooks-elixir
0e9f69e2e4a6b538d94bd16b546aa43e65814bbb
[ "MIT" ]
null
null
null
lib/quickbooks/accounting_api.ex
AlexVKO/quickbooks-elixir
0e9f69e2e4a6b538d94bd16b546aa43e65814bbb
[ "MIT" ]
5
2017-01-24T00:18:35.000Z
2017-06-09T04:00:23.000Z
defmodule Quickbooks.AccountingAPI do @moduledoc """ Wrapper to handle with Accounting API https://developer.intuit.com/docs/api/accounting """ import Quickbooks.Request.Base @sandbox_url "https://sandbox-quickbooks.api.intuit.com/v3/company" @production_url "https://quickbooks.api.intuit.com/v3...
23.418182
101
0.675466
d55f92c8e57ea566f66e2486c9d40a7699617ce1
2,227
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation.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 &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...
43.666667
450
0.76291
d55fc3244c480d9b6ad99fe584a07c720640b2cb
1,129
ex
Elixir
test/support/channel_case.ex
MorphicPro/morphic_pro
0028726250b6c55842e4bb48ffeeddc28e63b1bd
[ "MIT" ]
null
null
null
test/support/channel_case.ex
MorphicPro/morphic_pro
0028726250b6c55842e4bb48ffeeddc28e63b1bd
[ "MIT" ]
null
null
null
test/support/channel_case.ex
MorphicPro/morphic_pro
0028726250b6c55842e4bb48ffeeddc28e63b1bd
[ "MIT" ]
null
null
null
defmodule MorphicProWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interact...
27.536585
72
0.731621
d55ff152d0f3985af60d738cf2bd0129913840b5
1,661
ex
Elixir
clients/content/lib/google_api/content/v21/model/orders_create_test_order_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_create_test_order_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_create_test_order_response.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...
33.22
194
0.735701
d5602ceeba69d74aa999e75ff004357f1a0981cd
329
ex
Elixir
lib/credo_demo_plugin/set_demo_as_default_command.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
2
2019-07-04T15:59:19.000Z
2019-07-07T13:45:13.000Z
lib/credo_demo_plugin/set_demo_as_default_command.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
null
null
null
lib/credo_demo_plugin/set_demo_as_default_command.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
1
2019-10-23T16:33:01.000Z
2019-10-23T16:33:01.000Z
defmodule CredoDemoPlugin.SetDemoAsDefaultCommand do use Credo.Execution.Task alias Credo.CLI.Options def call(exec, _opts) do set_command(exec, exec.cli_options.command || "demo") end defp set_command(exec, command) do %Execution{exec | cli_options: %Options{exec.cli_options | command: command}} ...
23.5
81
0.74772
d5607ccd0ae084c00d679479661960ade3bd897e
1,921
ex
Elixir
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/list_access_levels_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/list_access_levels_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/list_access_levels_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.42
171
0.750651
d560822be5c390b0140424f2e031ea9567ddbfe4
9,058
exs
Elixir
test/inflex_test.exs
rradz/inflex
fb06c6803e9d862695a931539b100ccf266d7ea9
[ "Apache-2.0" ]
null
null
null
test/inflex_test.exs
rradz/inflex
fb06c6803e9d862695a931539b100ccf266d7ea9
[ "Apache-2.0" ]
null
null
null
test/inflex_test.exs
rradz/inflex
fb06c6803e9d862695a931539b100ccf266d7ea9
[ "Apache-2.0" ]
null
null
null
defmodule InflexTest do use ExUnit.Case import Inflex test :singularize do assert "addendum" == singularize("addenda") assert "alga" == singularize("algae") assert "alumnus" == singularize("alumni") assert "amoeba" == singularize("amoebae") assert "antenna" == singularize("antennae") ass...
36.672065
67
0.641091