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
daef0bf392442cc47124fe5e49bca5c536cd8c73
963
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/request_builder.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/request_builder.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/request_builder.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...
37.038462
77
0.764278
daef11f1846533c3d75df195c00fe54b3f0c48d1
69
ex
Elixir
ros/ros_ui_station/lib/ros_ui_station_web/views/page_view.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
1
2019-07-01T18:47:28.000Z
2019-07-01T18:47:28.000Z
ros/ros_ui_station/lib/ros_ui_station_web/views/page_view.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
4
2020-07-17T16:57:18.000Z
2021-05-09T23:50:52.000Z
ros/ros_ui_station/lib/ros_ui_station_web/views/page_view.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
null
null
null
defmodule Ros.StationWeb.PageView do use Ros.StationWeb, :view end
17.25
36
0.797101
daef29feaaa31358cd93a507ae90b63fedf41e33
9,178
ex
Elixir
lib/absinthe/pipeline.ex
se-apc/absinthe
a95f8d7658091f99e2ebf5af659bfcfaecc97423
[ "MIT" ]
null
null
null
lib/absinthe/pipeline.ex
se-apc/absinthe
a95f8d7658091f99e2ebf5af659bfcfaecc97423
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
lib/absinthe/pipeline.ex
se-apc/absinthe
a95f8d7658091f99e2ebf5af659bfcfaecc97423
[ "MIT" ]
null
null
null
defmodule Absinthe.Pipeline do @moduledoc """ Execute a pipeline of phases. A pipeline is merely a list of phases. This module contains functions for building, modifying, and executing pipelines of phases. """ alias Absinthe.Phase require Logger @type data_t :: any @type phase_config_t :: Phase.t...
29.322684
88
0.636304
daef334f1fe6a8fde28af099881ac0b1f8736d98
146
exs
Elixir
test/family_name_championship_test.exs
Mic-U/family_name_championship
8d6fd4c9e758da52c3bff93e1e43fe518d71a44c
[ "MIT" ]
null
null
null
test/family_name_championship_test.exs
Mic-U/family_name_championship
8d6fd4c9e758da52c3bff93e1e43fe518d71a44c
[ "MIT" ]
null
null
null
test/family_name_championship_test.exs
Mic-U/family_name_championship
8d6fd4c9e758da52c3bff93e1e43fe518d71a44c
[ "MIT" ]
null
null
null
defmodule FamilyNameChampionshipTest do use ExUnit.Case doctest FamilyNameChampionship test "the truth" do assert 1 + 1 == 2 end end
16.222222
39
0.739726
daef8a0b7de3a1de996027e54a6258093bdb0e31
3,711
ex
Elixir
lib/ex_aliyun/parser.ex
feng19/ex_aliyun_mns
09551d693bb3ce39b01a99c0698e245511d40218
[ "MIT" ]
3
2020-02-25T03:45:46.000Z
2020-11-19T01:27:38.000Z
lib/ex_aliyun/parser.ex
feng19/ex_aliyun_mns
09551d693bb3ce39b01a99c0698e245511d40218
[ "MIT" ]
1
2021-04-23T00:04:32.000Z
2021-04-23T00:14:43.000Z
lib/ex_aliyun/parser.ex
feng19/ex_aliyun_mns
09551d693bb3ce39b01a99c0698e245511d40218
[ "MIT" ]
3
2020-02-25T03:47:45.000Z
2021-06-04T02:33:39.000Z
defmodule ExAliyun.MNS.Parser do @moduledoc false def parse({:ok, %{body: body, url: url} = response}, "CreateQueue") when body == "" when body == nil do body = %{ "request_id" => extract_request_id(response.headers), "queue_url" => url } response = parse_response(response, bod...
28.113636
96
0.637295
daefc136941f19116355d48237f5531886da9a06
33,302
ex
Elixir
lib/phoenix_live_view/channel.ex
tschmidleithner/phoenix_live_view
a4d5353260b14c9c7850570dc83d41b72ff643fe
[ "MIT" ]
1
2021-02-24T13:06:18.000Z
2021-02-24T13:06:18.000Z
deps/phoenix_live_view/lib/phoenix_live_view/channel.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
null
null
null
deps/phoenix_live_view/lib/phoenix_live_view/channel.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Channel do @moduledoc false use GenServer, restart: :temporary require Logger alias Phoenix.LiveView.{Socket, Utils, Diff, Static, Upload, UploadConfig} alias Phoenix.Socket.Message @prefix :phoenix def start_link({endpoint, from}) do hibernate_after = endpoint.config(:l...
31.807068
130
0.635367
daefc86a6e74b6908c4c11f5077d93909c0b9265
3,202
ex
Elixir
lib/nerves_time/rtc/mcp7940.ex
elcritch/nerves_time_rtc_mcp7940
d1035d05f44bc1588ec170112459c6396278f01d
[ "Apache-2.0" ]
null
null
null
lib/nerves_time/rtc/mcp7940.ex
elcritch/nerves_time_rtc_mcp7940
d1035d05f44bc1588ec170112459c6396278f01d
[ "Apache-2.0" ]
null
null
null
lib/nerves_time/rtc/mcp7940.ex
elcritch/nerves_time_rtc_mcp7940
d1035d05f44bc1588ec170112459c6396278f01d
[ "Apache-2.0" ]
null
null
null
defmodule NervesTime.RTC.MCP7940 do @moduledoc """ Microchip MCP7940N RTC implementation for NervesTime To configure NervesTime to use this module, update the `:nerves_time` application environment like this: ```elixir config :nerves_time, rtc: NervesTime.RTC.MCP7940 ``` If not using `"i2c-1"` or the...
31.087379
153
0.65584
daefcdc23024327303dc011bf413efc62344693f
2,233
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_capi_server_status_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_capi_server_status_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_capi_server_status_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.847458
130
0.716077
daeff01cbbd1b06525efea47538f2ef9354b3a13
805
ex
Elixir
test/support/channel_case.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
3
2018-07-14T22:55:23.000Z
2019-02-25T06:11:55.000Z
test/support/channel_case.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
7
2020-02-12T03:22:59.000Z
2022-02-10T20:23:52.000Z
test/support/channel_case.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
12
2018-03-27T05:27:20.000Z
2019-04-02T08:19:04.000Z
defmodule BsWeb.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 and query models. Finally, if the test case interacts with the database, it cannot be asy...
23
56
0.713043
daeff38fefc0354e3d99174f65438ddcd161b900
3,365
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/transfer_spec.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/transfer_spec.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/transfer_spec.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
50.223881
184
0.742942
daeff724842c16e68795cf337461c72daddc718d
1,259
ex
Elixir
lib/survey_api_web/controllers/answer_controller.ex
kamidev/survey_ap
483314842cf2e8279e1224e83b57d61a5da143ad
[ "MIT" ]
6
2020-02-04T16:18:30.000Z
2020-10-31T06:00:03.000Z
lib/survey_api_web/controllers/answer_controller.ex
kamidev/survey_ap
483314842cf2e8279e1224e83b57d61a5da143ad
[ "MIT" ]
114
2019-11-14T03:48:17.000Z
2022-03-17T12:38:14.000Z
lib/survey_api_web/controllers/answer_controller.ex
kamidev/survey_ap
483314842cf2e8279e1224e83b57d61a5da143ad
[ "MIT" ]
1
2021-07-08T01:48:56.000Z
2021-07-08T01:48:56.000Z
defmodule SurveyAPIWeb.AnswerController do use SurveyAPIWeb, :controller alias SurveyAPI.Answers alias SurveyAPI.Answers.Answer action_fallback(SurveyAPIWeb.FallbackController) def index(conn, _params) do answers = Answers.list_answers() render(conn, "index.json", answers: answers) end def cre...
27.977778
85
0.660842
daf000c7d826c1d71cd0a1ebe81f74f476fb3f52
2,012
ex
Elixir
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_import_documents_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_import_documents_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_import_documents_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.581818
285
0.750994
daf024a78ac16d03996a180eedea914ce7e69221
1,606
ex
Elixir
lib/singyeong_web/plugs/plugin_router.ex
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
70
2018-10-25T06:06:37.000Z
2022-03-14T19:51:56.000Z
lib/singyeong_web/plugs/plugin_router.ex
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
140
2019-02-19T06:52:59.000Z
2022-03-01T11:13:41.000Z
lib/singyeong_web/plugs/plugin_router.ex
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
9
2019-03-20T12:17:28.000Z
2021-03-11T18:51:00.000Z
defmodule SingyeongWeb.Plugs.PluginRouter do @moduledoc """ A plug that routes requests to plugins. Since plugins dynamically define routes, we can't actually have them baked into the Phoenix router -- at least, not without some runtime bullshit with code loading that I honestly really don't wanna do. Instea...
30.301887
91
0.643836
daf09f2d3926e9abf0bf5e3305072c25fc7ac315
356
ex
Elixir
lib/guachiman/application.ex
gmtprime/guachiman
32df4cb37617aadf6f98b6b2bbe7ba628b8815cc
[ "MIT" ]
1
2019-01-09T10:04:10.000Z
2019-01-09T10:04:10.000Z
lib/guachiman/application.ex
gmtprime/guachiman
32df4cb37617aadf6f98b6b2bbe7ba628b8815cc
[ "MIT" ]
null
null
null
lib/guachiman/application.ex
gmtprime/guachiman
32df4cb37617aadf6f98b6b2bbe7ba628b8815cc
[ "MIT" ]
null
null
null
defmodule Guachiman.Application do @moduledoc """ Guachiman application. """ use Application def start(_type, _args) do import Supervisor.Spec children = [ worker(Guachiman.Auth0, [[name: Guachiman.Auth0]]) ] opts = [strategy: :one_for_one, name: Guachiman.Supervisor] Supervisor.s...
19.777778
63
0.685393
daf0d13201de74607894fb0cc11dc858158c6c29
869
exs
Elixir
config/config.exs
joshcrews/phoenix-react-redux-heroku
cc31f9c58da29167464e9a90b9a52d1f36a882ef
[ "MIT" ]
null
null
null
config/config.exs
joshcrews/phoenix-react-redux-heroku
cc31f9c58da29167464e9a90b9a52d1f36a882ef
[ "MIT" ]
null
null
null
config/config.exs
joshcrews/phoenix-react-redux-heroku
cc31f9c58da29167464e9a90b9a52d1f36a882ef
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :react_webpack, ReactWebpack.Endpoint, url: [host:...
34.76
86
0.759494
daf0e6bd6cebbce571a1409cfb8f830e06f984be
2,685
ex
Elixir
lib/lang/lang.ex
swarut/jp_katsuyou
da5c0f9dc3bf5ab69618470f6dfb1208130e5bb1
[ "MIT" ]
1
2017-11-27T07:11:41.000Z
2017-11-27T07:11:41.000Z
lib/lang/lang.ex
swarut/jp_katsuyou
da5c0f9dc3bf5ab69618470f6dfb1208130e5bb1
[ "MIT" ]
null
null
null
lib/lang/lang.ex
swarut/jp_katsuyou
da5c0f9dc3bf5ab69618470f6dfb1208130e5bb1
[ "MIT" ]
null
null
null
defmodule JpKatsuyou.Lang do @moduledoc """ Provides japanese language helper functions. """ @hira_rows %{ あ: [{:a, "あ"}, {:i, "い"}, {:u, "う"}, {:e, "え"}, {:o, "お"}], か: [{:a, "か"}, {:i, "き"}, {:u, "く"}, {:e, "け"}, {:o, "こ"}], が: [{:a, "が"}, {:i, "ぎ"}, {:u, "ぐ"}, {:e, "げ"}, {:o, "ご"}], さ: [{:a...
30.511364
67
0.372439
daf0e7c233eb2815a8b5f6579f78583536c31828
2,239
exs
Elixir
test/process_managers/process_manager_timeout_test.exs
Cantido/commanded
e8058c4381e16547e6960eaf9f38619c6a43b18f
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
test/process_managers/process_manager_timeout_test.exs
Cantido/commanded
e8058c4381e16547e6960eaf9f38619c6a43b18f
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
test/process_managers/process_manager_timeout_test.exs
Cantido/commanded
e8058c4381e16547e6960eaf9f38619c6a43b18f
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.ProcessManagers.ProcessManagerTimeoutTest do use ExUnit.Case alias Commanded.Helpers.Wait alias Commanded.ProcessManagers.ProcessRouter alias Commanded.ProcessManagers.ExampleAggregate.Commands.Pause alias Commanded.ProcessManagers.ExampleAggregate.Commands.Start alias Commanded.Process...
34.984375
97
0.774453
daf0f1bb6415e090e0f9cfb27bd6441cc8df0f9e
239
ex
Elixir
elixir/elixir-sips/samples/mailman_playground/lib/mailman_playground/mailer.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/mailman_playground/lib/mailman_playground/mailer.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/mailman_playground/lib/mailman_playground/mailer.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule MailmanPlayground.Mailer do def deliver(email) do Mailman.deliver(email, config) end def config do %Mailman.Context{ config: %Mailman.TestConfig{}, composer: %Mailman.EexComposeConfig{} } end end
18.384615
43
0.686192
daf115f5bcfa56103d4a318b9bf058784571088e
3,620
exs
Elixir
test/ex_oauth2_provider/plug/verify_header_test.exs
aidanranney/ex_oauth2_provider
b6ab9c37d39430cd220b2be9794502111c05585c
[ "MIT" ]
161
2017-02-27T19:29:17.000Z
2021-12-22T12:29:14.000Z
test/ex_oauth2_provider/plug/verify_header_test.exs
lawalalao/ex_oauth2_provider
093cc3b289a45e6aeac6205d40b632c0a0af8b3c
[ "MIT" ]
54
2017-03-23T21:05:03.000Z
2022-02-22T00:16:59.000Z
test/ex_oauth2_provider/plug/verify_header_test.exs
lawalalao/ex_oauth2_provider
093cc3b289a45e6aeac6205d40b632c0a0af8b3c
[ "MIT" ]
49
2017-02-26T22:38:34.000Z
2022-03-07T19:17:03.000Z
defmodule ExOauth2Provider.Plug.VerifyHeaderTest do @moduledoc false use ExOauth2Provider.ConnCase alias Plug.Conn alias ExOauth2Provider.{Plug, Plug.VerifyHeader} alias ExOauth2Provider.Test.Fixtures test "with no access token at a default location", %{conn: conn} do opts = VerifyHeader.init(otp_app:...
35.490196
105
0.687845
daf1164b856055f0af24b72595ec773433e830d5
7,321
ex
Elixir
lib/pow/store/credentials_cache.ex
zackkitzmiller/pow
5971e710482a10e5aa142473be6cd26fd1f8b111
[ "MIT" ]
null
null
null
lib/pow/store/credentials_cache.ex
zackkitzmiller/pow
5971e710482a10e5aa142473be6cd26fd1f8b111
[ "MIT" ]
null
null
null
lib/pow/store/credentials_cache.ex
zackkitzmiller/pow
5971e710482a10e5aa142473be6cd26fd1f8b111
[ "MIT" ]
null
null
null
defmodule Pow.Store.CredentialsCache do @moduledoc """ Default module for credentials session storage. A key (session id) is used to store, fetch, or delete credentials. The credentials are expected to take the form of `{credentials, session_metadata}`, where session metadata is data exclusive to the sessi...
30.631799
131
0.650867
daf17320c4a684cc07a9a534b7af287d2c0755a2
4,615
exs
Elixir
test/colly/collab_test.exs
nidhindamodaran/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
null
null
null
test/colly/collab_test.exs
nidhindamodaran/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
4
2020-05-30T13:25:44.000Z
2021-05-11T13:32:44.000Z
test/colly/collab_test.exs
nidhinnambiar/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
null
null
null
defmodule Colly.CollabTest do use Colly.DataCase alias Colly.Collab describe "items" do alias Colly.Collab.Item @valid_attrs %{content: "some content", dislikes_count: 42, likes_count: 42, name: "some name"} @update_attrs %{content: "some updated content", dislikes_count: 43, likes_count: 43, name:...
34.440299
116
0.673239
daf18c11b87224d2cdde0fc0308c62802be1b30c
2,545
ex
Elixir
lib/enhance.ex
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
lib/enhance.ex
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
lib/enhance.ex
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
defmodule Enhance do defstruct enhancement: %{}, image: %{}, out_of_bounds_value: "0" def to_pxls({"#", loc}), do: {loc, "1"} def to_pxls({".", _}), do: nil def to_pxls([]), do: [] def to_pxls([hd|tl]), do: [to_pxls(hd)] ++ to_pxls(tl) def to_pxls1(x), do: String.graphemes(x) |> Enu...
30.662651
114
0.578389
daf1ab046b8cb551b7e73ab7f5c833bbe7e7c7c8
478
ex
Elixir
2018/lib/day-01/part2.ex
KashMoneyMillionaire/adventofcode
2160b4af4ad9a994cfde2bffb65a6f6758c8003d
[ "MIT" ]
null
null
null
2018/lib/day-01/part2.ex
KashMoneyMillionaire/adventofcode
2160b4af4ad9a994cfde2bffb65a6f6758c8003d
[ "MIT" ]
null
null
null
2018/lib/day-01/part2.ex
KashMoneyMillionaire/adventofcode
2160b4af4ad9a994cfde2bffb65a6f6758c8003d
[ "MIT" ]
null
null
null
defmodule Twenty18_Day1_Part2 do def x([h | t], sum, freqs) do cond do Enum.member?(freqs, h + sum) -> h + sum true -> x(t ++ [h], sum + h, freqs ++ [sum + h]) end end def full do "lib/day-01/input.txt" |> File.read!() |> String.split() |> Enum.map(&String.to_integer/1) |>...
19.916667
54
0.518828
daf1b679b3ba862c47f66fa8774876f34d324101
878
ex
Elixir
clients/people/lib/google_api/people/v1/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/metadata.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "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...
32.518519
74
0.757403
daf1ce9909516c0d311ef059dcd9f2faf6555440
1,877
exs
Elixir
clients/big_query_reservation/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/mix.exs
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...
28.014925
112
0.663292
daf1e6277f881fb5e8f9e53924bcadb3f06fce20
297
ex
Elixir
lib/taglet/tag.ex
GoCorus/taglet
eddc781f1ddff16e43ddbc97d94fe8976a135923
[ "Apache-2.0" ]
null
null
null
lib/taglet/tag.ex
GoCorus/taglet
eddc781f1ddff16e43ddbc97d94fe8976a135923
[ "Apache-2.0" ]
null
null
null
lib/taglet/tag.ex
GoCorus/taglet
eddc781f1ddff16e43ddbc97d94fe8976a135923
[ "Apache-2.0" ]
null
null
null
defmodule Taglet.Tag do use Ecto.Schema import Ecto.Changeset schema "tags" do field(:name, :string, null: false) has_many(:taggings, Taglet.Tagging) end def changeset(struct, params \\ %{}) do struct |> cast(params, [:name]) |> validate_required(:name) end end
17.470588
41
0.649832
daf20ac37e5860bb99877d5d885bf1995161c82b
3,066
ex
Elixir
lib/money/subscription/plan.ex
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
426
2016-10-10T08:53:20.000Z
2022-03-17T04:28:00.000Z
lib/money/subscription/plan.ex
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
131
2016-12-03T22:43:52.000Z
2022-02-13T22:35:57.000Z
lib/money/subscription/plan.ex
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
47
2017-02-18T08:11:26.000Z
2022-01-26T19:31:34.000Z
defmodule Money.Subscription.Plan do @moduledoc """ Defines a standard subscription plan data structure. """ @typedoc "A plan interval type." @type interval :: :day | :week | :month | :year @typedoc "A integer interval count for a plan." @type interval_count :: non_neg_integer @typedoc "A Subscriptio...
26.431034
88
0.610568
daf22f5190eedac166261da2c0c0baed07042fe2
487
exs
Elixir
src/dguweb/test/models/possible_link_test.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
2
2016-08-09T16:46:52.000Z
2016-08-09T16:46:59.000Z
src/dguweb/test/models/possible_link_test.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
48
2016-07-14T15:12:41.000Z
2016-09-27T16:19:54.000Z
src/dguweb/test/models/possible_link_test.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
1
2021-04-10T21:23:44.000Z
2021-04-10T21:23:44.000Z
defmodule DGUWeb.PossibleLinkTest do use DGUWeb.ModelCase alias DGUWeb.PossibleLink @valid_attrs %{publisher_name: "some content", url: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = PossibleLink.changeset(%PossibleLink{}, @valid_attrs) assert changeset.val...
25.631579
71
0.747433
daf23ad26e7d1aadc0f1307e87c987205f7c7968
2,245
ex
Elixir
lib/anagram.ex
ewildgoose/elixir-anagrams
67b91f46f193198f2a7f0c0cbe16c9e2667fd07f
[ "Apache-2.0" ]
1
2016-07-26T04:46:32.000Z
2016-07-26T04:46:32.000Z
lib/anagram.ex
ewildgoose/elixir-anagrams
67b91f46f193198f2a7f0c0cbe16c9e2667fd07f
[ "Apache-2.0" ]
null
null
null
lib/anagram.ex
ewildgoose/elixir-anagrams
67b91f46f193198f2a7f0c0cbe16c9e2667fd07f
[ "Apache-2.0" ]
null
null
null
defmodule Anagram do @dictionary "/usr/share/dict/web2" @moduledoc """ Useful functions to find anagrams of words and words that can be made with a set of letters (sort of a sub anagram) Our algorithm for anagrams is simply to canonicalise each word in the dictionary by forcing case, removing whitespace ...
34.015152
92
0.74833
daf24d30e93594f9f64c5dd0d9fa816dc151dfcc
882
ex
Elixir
clients/cloud_kms/lib/google_api/cloud_kms/v1/metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_kms/lib/google_api/cloud_kms/v1/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_kms/lib/google_api/cloud_kms/v1/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
32.666667
74
0.758503
daf2998d55e0cd1ad462a889afe1a743e0b1645c
231
ex
Elixir
web/models/user.ex
beccanelson/8th-light-library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
null
null
null
web/models/user.ex
beccanelson/8th-light-library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
9
2016-09-22T20:30:22.000Z
2016-09-22T21:00:53.000Z
web/models/user.ex
beccanelson/library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
null
null
null
defmodule Bookish.User do use Bookish.Web, :model alias Ueberauth.Auth def find_or_create(%Auth{} = auth) do {:ok, basic_info(auth)} end defp basic_info(auth) do %{id: auth.uid, name: auth.info.name} end end
16.5
41
0.670996
daf2c3e9d1bdf5743cc544097ce7e05e8553de77
42
ex
Elixir
lib/slash.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
5
2019-03-28T06:56:51.000Z
2021-03-17T11:05:00.000Z
lib/slash.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
6
2019-03-28T07:06:12.000Z
2019-05-15T17:04:10.000Z
lib/slash.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
2
2019-04-24T01:12:02.000Z
2019-09-20T00:26:00.000Z
defmodule Slash do @moduledoc false end
10.5
18
0.785714
daf2d1514eaec803e62328489f29b650c3a74f3e
288
exs
Elixir
priv/repo/migrations/20201114210640_create_allow_list.exs
indutny/funnel
4d7322e517131aa0c8b222d898f8e2e970f3ce1e
[ "MIT" ]
2
2021-04-27T01:39:01.000Z
2021-04-27T02:57:17.000Z
priv/repo/migrations/20201114210640_create_allow_list.exs
indutny/funnel
4d7322e517131aa0c8b222d898f8e2e970f3ce1e
[ "MIT" ]
5
2021-04-25T02:13:36.000Z
2021-04-26T00:49:36.000Z
priv/repo/migrations/20201114210640_create_allow_list.exs
indutny/funnel
4d7322e517131aa0c8b222d898f8e2e970f3ce1e
[ "MIT" ]
null
null
null
defmodule Funnel.Repo.Migrations.CreateAllowList do use Ecto.Migration def change do create table("allow_list") do add :user, :string add :domain, :string add :created_at, :utc_datetime end create unique_index("allow_list", [:user, :domain]) end end
20.571429
55
0.680556
daf2e3eee4c4e64576d3fbf752a17372fc2dde35
713
ex
Elixir
lib/shex/graph_utils.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
4
2020-06-06T15:09:16.000Z
2021-03-22T19:46:30.000Z
lib/shex/graph_utils.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
null
null
null
lib/shex/graph_utils.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
null
null
null
defmodule ShEx.GraphUtils do @moduledoc !""" A set of utility functions for accessing RDF graphs. """ @doc !""" the set of triples in a graph with the given subject """ def arcs_out(graph, node) def arcs_out(_, %RDF.Literal{}), do: [] def arcs_out(graph, node) do ...
21.606061
65
0.584853
daf2f58e8e5e284e10b9513ccaef5e1349af3f03
868
ex
Elixir
apps/mishka_user/lib/acl/acl_dynamic_supervisor.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_user/lib/acl/acl_dynamic_supervisor.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_user/lib/acl/acl_dynamic_supervisor.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaUser.Acl.AclDynamicSupervisor do @spec start_job(map() | list() | tuple()) :: :ignore | {:error, any} | {:ok, pid} | {:ok, pid, any} def start_job(args) do DynamicSupervisor.start_child(MishkaUser.Acl.AclOtpRunner, {MishkaUser.Acl.AclManagement, args}) end @spec running_imports :: [any] ...
34.72
101
0.630184
daf2f5fa650474a220f665409a71b6a6f5964ba4
35,342
exs
Elixir
lib/elixir/test/elixir/kernel/warning_test.exs
Kabie/elixir
ba5e7c2b57e6c2c16b02c8476b21e21b973b6750
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/elixir/test/elixir/kernel/warning_test.exs
Kabie/elixir
ba5e7c2b57e6c2c16b02c8476b21e21b973b6750
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/warning_test.exs
Kabie/elixir
ba5e7c2b57e6c2c16b02c8476b21e21b973b6750
[ "Apache-2.0" ]
1
2018-04-18T11:25:33.000Z
2018-04-18T11:25:33.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.WarningTest do use ExUnit.Case import ExUnit.CaptureIO defp capture_err(fun) do capture_io(:stderr, fun) end test "outdented heredoc" do output = capture_err(fn -> Code.eval_string(""" ''' outdented ...
26.198666
120
0.486871
daf31159db89010ca7cacdf3adebbd19afcd33e0
1,826
exs
Elixir
apps/astarte_housekeeping/test/astarte_housekeeping/queries_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_housekeeping/test/astarte_housekeeping/queries_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_housekeeping/test/astarte_housekeeping/queries_test.exs
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2017-2018 Ispirata Srl # # 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...
27.253731
74
0.690033
daf32ab66163452190ed9bcef78589e901805ab7
3,250
ex
Elixir
lib/firmware/server.ex
nerves-project-attic/nerves_firmware
0e6b730438cf31ebfb6befc5cf803b39711c6262
[ "Apache-2.0" ]
null
null
null
lib/firmware/server.ex
nerves-project-attic/nerves_firmware
0e6b730438cf31ebfb6befc5cf803b39711c6262
[ "Apache-2.0" ]
1
2022-01-24T16:53:34.000Z
2022-01-24T17:11:36.000Z
lib/firmware/server.ex
nerves-project-attic/nerves_firmware
0e6b730438cf31ebfb6befc5cf803b39711c6262
[ "Apache-2.0" ]
1
2022-01-24T14:33:24.000Z
2022-01-24T14:33:24.000Z
defmodule Nerves.Firmware.Server do @moduledoc false use GenServer alias Nerves.Firmware.Fwup require Logger @type reason :: term @type state :: Struct.t defmodule State do @moduledoc false defstruct status: :active, device: nil end def start_link(_opts) do GenServer.start __MODULE__, ...
27.310924
89
0.657231
daf33461d897c3bc1a760b2583d3b68454466f0f
8,516
ex
Elixir
elixir_libs/testflow/lib/testflow.ex
GrispLasp/node
66e7d234ef8fa777ef631086f5106abd1dc6c80d
[ "Apache-2.0" ]
1
2020-04-19T14:12:23.000Z
2020-04-19T14:12:23.000Z
elixir_libs/testflow/lib/testflow.ex
GrispLasp/node
66e7d234ef8fa777ef631086f5106abd1dc6c80d
[ "Apache-2.0" ]
null
null
null
elixir_libs/testflow/lib/testflow.ex
GrispLasp/node
66e7d234ef8fa777ef631086f5106abd1dc6c80d
[ "Apache-2.0" ]
1
2019-04-14T23:00:56.000Z
2019-04-14T23:00:56.000Z
defmodule Testflow do @moduledoc """ Documentation for Testflow. """ @doc """ Hello world. ## Examples iex> Testflow.hello() :world """ def hello do :world end def get_key_valpress(tup) do k = cond do {{{y,mo,d},{h,m,s}},p,tmp} = tup -> # %{ {h*60 + m} => [p] }...
33.007752
98
0.513621
daf33c64f25e53d431dc257b24d930cfc19d9500
998
ex
Elixir
demo/test/support/channel_case.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
4
2021-03-12T07:57:06.000Z
2021-11-15T11:41:30.000Z
demo/test/support/channel_case.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
39
2021-03-11T15:36:51.000Z
2022-01-04T12:13:48.000Z
demo/test/support/channel_case.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
null
null
null
defmodule BitstylesPhoenixDemoWeb.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 cas...
28.514286
77
0.752505
daf35cbb43a58fb693891eac8811d2b7491ae1eb
1,696
exs
Elixir
test/booking_web/schema/location_schema_test.exs
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
null
null
null
test/booking_web/schema/location_schema_test.exs
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
2
2021-03-10T16:49:07.000Z
2021-05-11T12:50:22.000Z
test/booking_web/schema/location_schema_test.exs
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
null
null
null
defmodule BookingWeb.LocationSchemaTest do use BookingWeb.ConnCase alias Booking.{Location, Repo, Bookable, User, Permission} setup do user = %User{} |> User.changeset(%{name: "User", email: "user@example.com", password: "secret"}) |> Repo.insert!() location = %Location{} |> Location.c...
31.407407
92
0.574882
daf37d8277d35cc93432419a032831d37606f52b
3,378
exs
Elixir
test/number_units_test.exs
elcritch/plotter
ab3947fd17bd117f6185a4790c63e0c304bd1c6d
[ "Apache-2.0" ]
75
2019-06-09T07:08:45.000Z
2022-03-23T16:11:55.000Z
test/number_units_test.exs
elcritch/plotter
ab3947fd17bd117f6185a4790c63e0c304bd1c6d
[ "Apache-2.0" ]
6
2020-01-12T08:40:01.000Z
2021-08-02T20:55:36.000Z
test/number_units_test.exs
elcritch/plotter
ab3947fd17bd117f6185a4790c63e0c304bd1c6d
[ "Apache-2.0" ]
5
2020-03-30T20:38:57.000Z
2021-04-02T15:52:28.000Z
defmodule Axis.Units.NumericTest do use ExUnit.Case doctest Plotex require Logger alias Plotex.Axis alias Plotex.ViewRange test "base-10 rank for numbers" do ranks = [1000, 120.2, 53.9, 13.1, 8.9, 0.98, 0.0396] |> Enum.map(&Axis.Units.Numeric.rank(&1, 10)) assert ranks == [1, 0, 0, 0, ...
25.984615
95
0.597099
daf3806cf08f4a0dd56544fe1eb5bbfad3cb3bd9
2,344
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/list_update_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/list_update_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/list_update_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...
39.066667
143
0.713311
daf3d4e34315bb5dff9213cc19507f7b01676bf3
1,355
exs
Elixir
mix.exs
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
null
null
null
mix.exs
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
null
null
null
mix.exs
gullitmiranda/guss
feaf14a251ee2673ddff4b1a76fdf626705ffb46
[ "MIT" ]
null
null
null
defmodule Guss.MixProject do use Mix.Project @version "0.1.5" def project do [ app: :guss, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), description: "Generate Signed URLs for Google Cloud Storage", package: package(), ...
19.926471
95
0.528413
daf3e90f4e3afed3c75ab785eebeb912bc1a12a1
595
exs
Elixir
nfc/mix.exs
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
7
2020-11-18T11:29:20.000Z
2022-01-16T03:16:14.000Z
nfc/mix.exs
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
null
null
null
nfc/mix.exs
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
1
2021-01-06T15:40:46.000Z
2021-01-06T15:40:46.000Z
defmodule Nfc.MixProject do use Mix.Project def project do [ app: :nfc, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, compilers: [:elixir_make | Mix.compilers()], make_targets: ["all"], make_clean: ["clean"], deps: deps() ] end ...
19.193548
59
0.569748
daf4053dd59dbd093d2d23462bbf21b3de746dde
4,199
ex
Elixir
lib/game/generators/tile_generator.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
7
2017-08-11T12:08:58.000Z
2020-08-17T14:31:49.000Z
lib/game/generators/tile_generator.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
1
2020-06-20T17:54:12.000Z
2020-06-20T17:54:12.000Z
lib/game/generators/tile_generator.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
null
null
null
defmodule Game.TileGenerator do alias Game.Repo alias Game.Tile alias Game.Region defp calculate_height( {coordinates, tile}, calculated_tiles, neighbors, remaining_tiles, boundary_tiles ) when map_size(neighbors) > 0 do calculated_and_boundary_til...
27.444444
94
0.614432
daf4162063829b49b695c005a01da09a926a46f4
1,412
ex
Elixir
lib/stargate/reader/query_params.ex
ckreiling/stargate
76f7d8a95314a842ac9340739fbd1f1f142ab383
[ "Apache-2.0" ]
33
2019-11-09T09:12:18.000Z
2022-02-24T05:22:20.000Z
lib/stargate/reader/query_params.ex
tspannhw/stargate
d80e5376a831c8fae232434e4d305784464f196a
[ "Apache-2.0" ]
7
2019-11-28T06:52:18.000Z
2021-10-07T09:09:16.000Z
lib/stargate/reader/query_params.ex
tspannhw/stargate
d80e5376a831c8fae232434e4d305784464f196a
[ "Apache-2.0" ]
7
2020-06-30T10:37:59.000Z
2021-11-26T06:54:23.000Z
defmodule Stargate.Reader.QueryParams do @moduledoc """ This module provides the function to generate query parameters for establishing a reader connection to a topic with Pulsar. """ @doc """ Generates a query parameter string to apped to the URL and path parameters when creating a Stargate.Receiver rea...
32.837209
84
0.671388
daf48a1ced6d42ee64b39ae591ea13e694d0a262
448
ex
Elixir
lib/tasks/start.ex
skylerparr/expicker
7c7f52deb548d164fc81fd8a1cdf26a9367d91a3
[ "MIT" ]
null
null
null
lib/tasks/start.ex
skylerparr/expicker
7c7f52deb548d164fc81fd8a1cdf26a9367d91a3
[ "MIT" ]
null
null
null
lib/tasks/start.ex
skylerparr/expicker
7c7f52deb548d164fc81fd8a1cdf26a9367d91a3
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Expicker.Start do use Mix.Task def run(_) do for id <- 0..20 do spawn_link(fn() -> {:ok, pid} = NumberStore.start_link :global.register_name("#{Node.self}_picker_#{id}", pid) pickem(pid) end) end end def pickem(pid) do numbers = Picker.pick ...
19.478261
63
0.604911
daf4d697783e05af5fc1590a0005ffbece2e782e
128
exs
Elixir
config/config.exs
scripbox/matrex
9a080311836a151ef9f2b780c3cd751a0fa0df22
[ "BSD-3-Clause" ]
464
2018-05-13T00:48:25.000Z
2022-02-01T18:29:38.000Z
config/config.exs
scripbox/matrex
9a080311836a151ef9f2b780c3cd751a0fa0df22
[ "BSD-3-Clause" ]
30
2018-05-28T11:00:37.000Z
2021-12-09T11:38:28.000Z
config/config.exs
scripbox/matrex
9a080311836a151ef9f2b780c3cd751a0fa0df22
[ "BSD-3-Clause" ]
34
2018-05-21T15:40:11.000Z
2021-03-29T07:30:02.000Z
use Mix.Config if Mix.env() == :dev do config :mix_test_watch, clear: true, extra_extensions: [ ".c" ] end
12.8
25
0.578125
daf4e2b612fef28d9bb9dc621c3a3b01eca3feaa
1,227
exs
Elixir
mix.exs
mcordell/notion_elixir
493bc0000f60a986d849dd17810623126767ecab
[ "MIT" ]
8
2021-06-01T02:08:40.000Z
2022-03-22T09:54:38.000Z
mix.exs
mcordell/notion_elixir
493bc0000f60a986d849dd17810623126767ecab
[ "MIT" ]
null
null
null
mix.exs
mcordell/notion_elixir
493bc0000f60a986d849dd17810623126767ecab
[ "MIT" ]
null
null
null
defmodule NotionElixir.MixProject do use Mix.Project def project do [ app: :notion_elixir, version: "0.1.1", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), source_url: project_url(), homepage_url: project_url(), package: package(), de...
20.45
59
0.563162
daf4ed422dc46a4d43b1439a340c60d3b4ecfcbd
1,358
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/duplicate_object_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/duplicate_object_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/duplicate_object_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
29.521739
81
0.754786
daf5095265a92f1187fb4265e5eaaa2797aad2e9
1,093
exs
Elixir
config/config.exs
elcritch/surface_bulma_widgets_playground
380d1fed6b829e347ff92a29e7619c4076bcd83d
[ "MIT" ]
null
null
null
config/config.exs
elcritch/surface_bulma_widgets_playground
380d1fed6b829e347ff92a29e7619c4076bcd83d
[ "MIT" ]
null
null
null
config/config.exs
elcritch/surface_bulma_widgets_playground
380d1fed6b829e347ff92a29e7619c4076bcd83d
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :surface_bulma_...
33.121212
86
0.779506
daf5360c14b85535e1ea20da7af60ef261117b9b
82
exs
Elixir
test/helmsman_web/views/page_view_test.exs
cjonesy/helmsman
c839ce6a961baab7c789879ff52d5fb09d005254
[ "MIT" ]
2
2017-10-25T14:21:36.000Z
2018-08-24T17:49:51.000Z
test/helmsman_web/views/page_view_test.exs
cjonesy/helmsman
c839ce6a961baab7c789879ff52d5fb09d005254
[ "MIT" ]
4
2017-10-18T01:36:16.000Z
2018-03-20T20:07:41.000Z
test/helmsman_web/views/page_view_test.exs
cjonesy/helmsman
c839ce6a961baab7c789879ff52d5fb09d005254
[ "MIT" ]
null
null
null
defmodule HelmsmanWeb.PageViewTest do use HelmsmanWeb.ConnCase, async: true end
20.5
39
0.829268
daf5511424caa024ddd4821c92096483fb9a48f4
232
ex
Elixir
lib/alchemy_book_web/controllers/report_error_controller.ex
moviedo/alchemy-book
e1a60cad85838a4ae3a7d8506be532ed45b8a716
[ "MIT" ]
null
null
null
lib/alchemy_book_web/controllers/report_error_controller.ex
moviedo/alchemy-book
e1a60cad85838a4ae3a7d8506be532ed45b8a716
[ "MIT" ]
null
null
null
lib/alchemy_book_web/controllers/report_error_controller.ex
moviedo/alchemy-book
e1a60cad85838a4ae3a7d8506be532ed45b8a716
[ "MIT" ]
null
null
null
defmodule AlchemyBookWeb.ReportErrorController do use AlchemyBookWeb, :controller require Logger plug :accepts, ["json"] def handle(conn, params) do Logger.error(inspect params) json(conn, %{body: "ok"}) end end
19.333333
49
0.715517
daf55731549ec5545316375e19b7af0ef5b52cd6
21,840
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/api/acl.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/api/acl.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/calendar/lib/google_api/calendar/v3/api/acl.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...
52.626506
386
0.649863
daf56d12910205405ad5b679729bffb92a130c55
1,743
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/add_deal_association_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/add_deal_association_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/add_deal_association_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.3125
185
0.7642
daf59e1f2a63764778af9481e741538bcea4e093
754
ex
Elixir
lib/amazon_product_advertising_client/get_variations.ex
kmakita13714/elixir-amazon-product-advertising-client
1060cad21b3932a74822957dde9f82eac95decc7
[ "MIT" ]
null
null
null
lib/amazon_product_advertising_client/get_variations.ex
kmakita13714/elixir-amazon-product-advertising-client
1060cad21b3932a74822957dde9f82eac95decc7
[ "MIT" ]
null
null
null
lib/amazon_product_advertising_client/get_variations.ex
kmakita13714/elixir-amazon-product-advertising-client
1060cad21b3932a74822957dde9f82eac95decc7
[ "MIT" ]
null
null
null
defmodule AmazonProductAdvertisingClient.GetVariations do @moduledoc """ The [GetVariations](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/SimilarityLookup.html) operation """ alias __MODULE__ alias AmazonProductAdvertisingClient.Config defstruct "Operation": "GetVariations", "ASIN": "", ...
25.133333
111
0.708223
daf5a5a93156c05072d09af670bf297b6a8bb204
12,333
exs
Elixir
test/asciinema/asciicasts_test.exs
sergey-nechaev/asciinema-server
64f87acec9c9b45fefa8bed8f70b41f0068ccb2b
[ "Apache-2.0" ]
null
null
null
test/asciinema/asciicasts_test.exs
sergey-nechaev/asciinema-server
64f87acec9c9b45fefa8bed8f70b41f0068ccb2b
[ "Apache-2.0" ]
null
null
null
test/asciinema/asciicasts_test.exs
sergey-nechaev/asciinema-server
64f87acec9c9b45fefa8bed8f70b41f0068ccb2b
[ "Apache-2.0" ]
null
null
null
defmodule Asciinema.AsciicastsTest do use Asciinema.DataCase import Asciinema.Factory alias Asciinema.Asciicasts alias Asciinema.Asciicasts.Asciicast describe "create_asciicast/3" do test "pre-v1 payload with uname" do user = fixture(:user) params = %{"meta" => %{"version" => 0, ...
41.247492
169
0.492824
daf5b34ffcb6d4fc77e0ea04e2b2e1dbb35cab28
1,312
ex
Elixir
lib/api/workshops/workshop.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
1
2017-09-10T23:51:40.000Z
2017-09-10T23:51:40.000Z
lib/api/workshops/workshop.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
24
2018-03-14T18:17:00.000Z
2021-03-01T07:47:53.000Z
lib/api/workshops/workshop.ex
portosummerofcode/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
null
null
null
defmodule Api.Workshops.Workshop do use Ecto.Schema import Ecto.Changeset alias Api.Workshops.Attendance @valid_attrs ~w( name slug summary description speaker participant_limit participants_counter year speaker_image banner_image short_date short_speaker )a ...
22.237288
88
0.679878
daf5da7624e3d4eece3b6006577b5e4a69da786f
2,084
exs
Elixir
test/controllers/todo_controller_test.exs
mukilarasan101/todos-backend
b7b3e00aa17bb117ea031dd0cba1d14d3d298159
[ "MIT" ]
null
null
null
test/controllers/todo_controller_test.exs
mukilarasan101/todos-backend
b7b3e00aa17bb117ea031dd0cba1d14d3d298159
[ "MIT" ]
null
null
null
test/controllers/todo_controller_test.exs
mukilarasan101/todos-backend
b7b3e00aa17bb117ea031dd0cba1d14d3d298159
[ "MIT" ]
null
null
null
defmodule Todo.TodoControllerTest do use Todo.ConnCase alias Todo.Todo @valid_attrs %{title: "some content"} @invalid_attrs %{} setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end test "lists all entries on index", %{conn: conn} do conn = get conn, todo_pa...
33.612903
98
0.661708
daf5dd568246483e48a8cfd2e545105eaee76da2
1,468
ex
Elixir
lib/phat_web/views/error_helpers.ex
tajchumber/live-view-chat
d98d445b145a197eadc4381e264f3d1918f0b90f
[ "Apache-2.0" ]
50
2019-05-23T11:59:30.000Z
2022-03-11T04:12:36.000Z
lib/phat_web/views/error_helpers.ex
tajchumber/live-view-chat
d98d445b145a197eadc4381e264f3d1918f0b90f
[ "Apache-2.0" ]
6
2019-05-18T09:53:46.000Z
2021-01-27T11:26:15.000Z
lib/phat_web/views/error_helpers.ex
tajchumber/live-view-chat
d98d445b145a197eadc4381e264f3d1918f0b90f
[ "Apache-2.0" ]
18
2019-05-18T08:13:51.000Z
2021-11-23T13:57:33.000Z
defmodule PhatWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:sp...
32.622222
73
0.668256
daf628a9036198a31096d4d1b7d4dd5a0266a9fb
2,608
ex
Elixir
lib/toki/date_time.ex
tommy351/toki
099591c6ab5dcbad91c4c45ff87ab7e6d05959bc
[ "MIT" ]
3
2016-07-19T03:23:33.000Z
2016-09-15T11:57:37.000Z
lib/toki/date_time.ex
tommy351/toki
099591c6ab5dcbad91c4c45ff87ab7e6d05959bc
[ "MIT" ]
null
null
null
lib/toki/date_time.ex
tommy351/toki
099591c6ab5dcbad91c4c45ff87ab7e6d05959bc
[ "MIT" ]
null
null
null
defmodule Toki.DateTime do defstruct year: 1, month: 1, day: 1, hour: 0, minute: 0, second: 0, nanosecond: 0 @type year :: integer @type month :: 1..12 @type day :: 1..31 @type hour :: 0..23 @type minute :: 0..59 @type second :: 0..5...
25.320388
90
0.612347
daf68a8dfec4b552293ddab65f5a13f8a4cf3384
414
exs
Elixir
farmbot_os/config/target/rpi0.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_os/config/target/rpi0.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_os/config/target/rpi0.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
use Mix.Config config :farmbot_core, FarmbotCore.FirmwareTTYDetector, expected_names: ["ttyUSB0", "ttyAMA0"] config :farmbot_core, FarmbotCore.FirmwareOpenTask, attempt_threshold: 50 config :farmbot_firmware, FarmbotFirmware.UARTTransport, reset: FarmbotOS.Platform.Target.FirmwareReset.GPIO config :farmbot, Farmb...
29.571429
93
0.811594
daf6927d1ff89c3b189e3ab438d93ce18d0b8f8b
1,118
ex
Elixir
elixir/plug_socket/lib/plug_socket/socket_handler.ex
BStudent/SPANC-websocket-shootout
44353f1b9bf87ba7017b2788d876e732b410b4c4
[ "MIT" ]
421
2016-09-01T14:16:04.000Z
2022-03-11T14:22:29.000Z
elixir/plug_socket/lib/plug_socket/socket_handler.ex
BStudent/SPANC-websocket-shootout
44353f1b9bf87ba7017b2788d876e732b410b4c4
[ "MIT" ]
48
2016-09-01T23:10:37.000Z
2020-10-28T14:34:47.000Z
elixir/plug_socket/lib/plug_socket/socket_handler.ex
thewillhuang/websocket-shootout
d9046f341dc2a1ed54be5e734a546b392db09b05
[ "MIT" ]
84
2016-09-01T14:37:39.000Z
2021-11-10T16:46:13.000Z
defmodule PlugSocket.SocketHandler do @behaviour :cowboy_websocket_handler def init(_, _req, _opts) do {:upgrade, :protocol, :cowboy_websocket} end def websocket_init(_type, req, _opts) do :gproc.reg({:p, :l, :plug_socket}) {:ok, req, %{}, 60_000_000} end def websocket_info({:send, message}, ...
27.268293
83
0.647585
daf6b1c8f35c1b5d958ca5edc4ce0e1f5ac4d466
1,206
ex
Elixir
lib/preview/application.ex
leandrocp/preview
9dd3a9bae4385dc4935e76f63328f70b9d78fe4d
[ "Apache-2.0" ]
null
null
null
lib/preview/application.ex
leandrocp/preview
9dd3a9bae4385dc4935e76f63328f70b9d78fe4d
[ "Apache-2.0" ]
null
null
null
lib/preview/application.ex
leandrocp/preview
9dd3a9bae4385dc4935e76f63328f70b9d78fe4d
[ "Apache-2.0" ]
null
null
null
defmodule Preview.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do setup_tmp_dir() children = [ PreviewWeb.Telemetry, {Phoenix.PubSub, name: Preview.PubSub}, {Task...
26.8
63
0.694859
daf6c0419cb3ba00111e51449467e11e05c23ffa
2,976
ex
Elixir
lib/wechat_pay/payment_methods/micropay.ex
leozhang37/wechat_pay
3991ceabc23e8e86c1bee45c9c33f3b028f3fb13
[ "MIT" ]
null
null
null
lib/wechat_pay/payment_methods/micropay.ex
leozhang37/wechat_pay
3991ceabc23e8e86c1bee45c9c33f3b028f3fb13
[ "MIT" ]
null
null
null
lib/wechat_pay/payment_methods/micropay.ex
leozhang37/wechat_pay
3991ceabc23e8e86c1bee45c9c33f3b028f3fb13
[ "MIT" ]
null
null
null
defmodule WechatPay.Micropay do alias WechatPay.Client alias WechatPay.API alias WechatPay.API.HTTPClient alias WechatPay.Utils.Signature @doc """ https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_10&index=1 """ @spec micropay(Client.t(), map, keyword) :: {:ok, map} | {:error, W...
33.066667
95
0.632056
daf6e503c7df303a2530b3d0f2a159936e834c35
1,008
exs
Elixir
test/integration/info_test.exs
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
null
null
null
test/integration/info_test.exs
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
null
null
null
test/integration/info_test.exs
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
1
2020-06-28T00:36:07.000Z
2020-06-28T00:36:07.000Z
defmodule Credo.InfoTest do use Credo.Test.Case @moduletag slow: :integration test "it should NOT report issues for info" do exec = Credo.run(["info"]) issues = Credo.Execution.get_issues(exec) assert exec.cli_options.command == "info" assert issues == [] end test "it should NOT report iss...
26.526316
80
0.654762
daf7030c00be9ba0e47b607726ccde5c546a5d70
3,015
ex
Elixir
lib/tentacat/milestones/milestones.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
432
2015-01-19T20:38:35.000Z
2022-01-11T14:32:28.000Z
lib/tentacat/milestones/milestones.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
183
2015-01-19T08:55:29.000Z
2022-03-01T20:26:03.000Z
lib/tentacat/milestones/milestones.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
189
2015-01-04T14:56:59.000Z
2021-12-14T20:48:18.000Z
defmodule Tentacat.Milestones do import Tentacat alias Tentacat.Client @doc """ List milestones. ## Example Tentacat.Milestones.list "elixir-lang", "elixir" Tentacat.Milestones.list "elixir-lang", "elixir", client More info at: https://developer.github.com/v3/issues/milestones/#list-mileston...
32.074468
108
0.644776
daf71e8c2ef72f6cba22ff7064caa332e0842c65
1,706
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/bucket_logging.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_logging.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/bucket_logging.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 ...
34.12
131
0.731536
daf735c012d5b900d575ef3873403ab61548c7e3
97
ex
Elixir
test/support/sandbox.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
545
2015-09-06T15:50:32.000Z
2022-03-21T08:21:11.000Z
test/support/sandbox.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
178
2016-01-14T22:21:20.000Z
2022-02-18T22:34:30.000Z
test/support/sandbox.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
124
2016-01-17T11:30:16.000Z
2022-02-28T16:59:41.000Z
defmodule PigeonTest.Sandbox do @moduledoc false use Pigeon.Dispatcher, otp_app: :pigeon end
19.4
41
0.793814
daf750e7833a441edafbb53c6982b65a380846c9
122
exs
Elixir
tests/days_test.exs
f1sty/aoc2017
447ea29eb2a93972380ea0ac60854fce8dc7cb87
[ "MIT" ]
3
2018-03-11T06:53:49.000Z
2018-03-12T11:24:05.000Z
tests/days_test.exs
f1sty/aoc2017
447ea29eb2a93972380ea0ac60854fce8dc7cb87
[ "MIT" ]
null
null
null
tests/days_test.exs
f1sty/aoc2017
447ea29eb2a93972380ea0ac60854fce8dc7cb87
[ "MIT" ]
null
null
null
ExUnit.start() defmodule DaysTest do use ExUnit.Case doctest Day1 doctest Day2 # doctest Day3 doctest Day4 end
12.2
21
0.737705
daf797e467733dbb9653fd89eaeac171f2dc3c2b
58
exs
Elixir
config/config.exs
ramansah/votex
df092a1b0a17f8bfbaf1c41abbed02a1bc6d6fab
[ "MIT" ]
40
2018-09-02T06:55:26.000Z
2022-02-23T07:50:14.000Z
config/config.exs
ramansah/votex
df092a1b0a17f8bfbaf1c41abbed02a1bc6d6fab
[ "MIT" ]
3
2018-10-11T02:36:07.000Z
2020-04-08T02:17:39.000Z
config/config.exs
ramansah/votex
df092a1b0a17f8bfbaf1c41abbed02a1bc6d6fab
[ "MIT" ]
11
2018-10-10T14:40:30.000Z
2021-12-21T00:02:21.000Z
use Mix.Config config :votex, Votex.DB, repo: MyApp.Repo
14.5
41
0.741379
daf7d1d5d05487cc50674451d9c3c874474c4c57
1,783
exs
Elixir
mix.exs
isabella232/meta_logger
8b775a48244748b282a13f3ccd483b849ffb938d
[ "Apache-2.0" ]
null
null
null
mix.exs
isabella232/meta_logger
8b775a48244748b282a13f3ccd483b849ffb938d
[ "Apache-2.0" ]
1
2022-03-19T20:35:50.000Z
2022-03-19T20:35:50.000Z
mix.exs
isabella232/meta_logger
8b775a48244748b282a13f3ccd483b849ffb938d
[ "Apache-2.0" ]
null
null
null
defmodule MetaLogger.MixProject do use Mix.Project @version "1.6.1" @source_url "https://github.com/FindHotel/meta_logger" def project do [ app: :meta_logger, consolidate_protocols: Mix.env() != :test, deps: deps(), description: description(), dialyzer: dialyzer(), docs...
22.2875
90
0.577117
daf7d20609715982b8311e2b190e87c4e21c6881
1,764
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/gke_cluster_reference.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/game_services/lib/google_api/game_services/v1beta/model/gke_cluster_reference.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/game_services/lib/google_api/game_services/v1beta/model/gke_cluster_reference.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.531915
411
0.746599
daf7e9200b9200f6a446053eaa93a397ad5a2b97
986
ex
Elixir
test/support/channel_case.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
null
null
null
test/support/channel_case.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
8
2019-03-14T16:31:37.000Z
2019-03-31T16:14:57.000Z
test/support/channel_case.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
null
null
null
defmodule EliteInvestigationsWeb.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...
25.947368
81
0.729209
daf801caba951986b7afd4cff19a71a4244fed19
118
exs
Elixir
test/xfighter_test.exs
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
2
2015-12-18T20:33:08.000Z
2016-04-06T12:23:56.000Z
test/xfighter_test.exs
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
null
null
null
test/xfighter_test.exs
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
null
null
null
defmodule XfighterTest do use ExUnit.Case doctest Xfighter test "the truth" do assert 1 + 1 == 2 end end
13.111111
25
0.677966
daf8247dd6e01bbc1140b4b048569b4fdd7536a9
2,244
ex
Elixir
lib/absinthe/blueprint/directive.ex
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/directive.ex
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/directive.ex
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Absinthe.Blueprint.Directive do @moduledoc false alias Absinthe.{Blueprint, Phase} @enforce_keys [:name] defstruct [ :name, arguments: [], # When part of a Document source_location: nil, # Added by phases schema_node: nil, flags: %{}, errors: [] ] @type t :: %__M...
38.689655
92
0.710339
daf861d375f26f926b9335798032746efc2e537f
17,081
exs
Elixir
test/guardian/plug_test.exs
bcat-eu/guardian
086c9e99332eecbda563b4f3dfbcce8bb91e0bb9
[ "MIT" ]
null
null
null
test/guardian/plug_test.exs
bcat-eu/guardian
086c9e99332eecbda563b4f3dfbcce8bb91e0bb9
[ "MIT" ]
null
null
null
test/guardian/plug_test.exs
bcat-eu/guardian
086c9e99332eecbda563b4f3dfbcce8bb91e0bb9
[ "MIT" ]
null
null
null
defmodule Guardian.PlugTest do @moduledoc false alias Guardian.Plug, as: GPlug import Guardian.Support.Utils, only: [gather_function_calls: 0] use Plug.Test use ExUnit.Case, async: true defmodule Impl do @moduledoc false use Guardian, otp_app: :guardian, token_module: Guardian.Suppo...
32.535238
99
0.630408
daf8658c48a028a9a72c468bc52151f20431b729
692
ex
Elixir
hexdocs__pm__phoenix__up_and_running.html/hello_test/lib/hello_test_web/controllers/user_session_controller.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello_test/lib/hello_test_web/controllers/user_session_controller.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello_test/lib/hello_test_web/controllers/user_session_controller.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule HelloTestWeb.UserSessionController do use HelloTestWeb, :controller alias HelloTest.Accounts alias HelloTestWeb.UserAuth def new(conn, _params) do render(conn, "new.html", error_message: nil) end def create(conn, %{"user" => user_params}) do %{"email" => email, "password" => password} =...
25.62963
74
0.697977
daf86f158430f9e870b6e80d428f3483ad38029f
27,843
ex
Elixir
clients/licensing/lib/google_api/licensing/v1/api/license_assignments.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/licensing/lib/google_api/licensing/v1/api/license_assignments.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/licensing/lib/google_api/licensing/v1/api/license_assignments.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...
48.761821
386
0.627195
daf8b14b103083b500ff752ce881a7ffbabdd926
339
ex
Elixir
lib/infinity_one_web/views/coherence/session_view.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
lib/infinity_one_web/views/coherence/session_view.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
lib/infinity_one_web/views/coherence/session_view.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOneWeb.Coherence.SessionView do use InfinityOneWeb.Coherence, :view def render("create.json", opts) do # json conn, %{status: "success", data: Enum.into(opts, %{})} opts end # def render(conn, "success.json", opts \\ []) do # json conn, %{status: "success", data: Enum.into(opts,...
24.214286
65
0.640118
daf8ecf936a688483c08e36807bc333214746783
1,426
ex
Elixir
apps/tai/lib/tai/venue_adapters/okex/stream/trades.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/lib/tai/venue_adapters/okex/stream/trades.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venue_adapters/okex/stream/trades.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.VenueAdapters.OkEx.Stream.Trades do alias Tai.Events import Tai.VenueAdapters.OkEx.Products, only: [to_symbol: 1] def broadcast( %{ "instrument_id" => instrument_id, "price" => price, "qty" => qty, "side" => side, "timestamp" => timestamp, ...
25.464286
62
0.563114
daf90aaf00f52f110d23abbea60c5b624697bc08
906
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "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.555556
74
0.764901
daf949d523e9b521b38ffdba217b5568f575dde3
71
ex
Elixir
plugins/one_ui_flex_tab/lib/one_ui_flex_tab_web/views/tabs_view.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_ui_flex_tab/lib/one_ui_flex_tab_web/views/tabs_view.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_ui_flex_tab/lib/one_ui_flex_tab_web/views/tabs_view.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneUiFlexTabWeb.TabsView do use OneUiFlexTabWeb, :view end
17.75
37
0.830986
daf96a29e263b9de110c84960d15756bf06797e0
2,508
ex
Elixir
lib/elixir_sense/providers/suggestion/reducers/callbacks.ex
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
216
2019-01-05T02:08:51.000Z
2022-03-23T23:59:56.000Z
lib/elixir_sense/providers/suggestion/reducers/callbacks.ex
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
102
2019-01-18T04:59:06.000Z
2022-01-10T14:21:24.000Z
lib/elixir_sense/providers/suggestion/reducers/callbacks.ex
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
31
2019-01-16T08:19:34.000Z
2022-03-07T08:06:22.000Z
defmodule ElixirSense.Providers.Suggestion.Reducers.Callbacks do @moduledoc false alias ElixirSense.Core.Introspection alias ElixirSense.Core.State alias ElixirSense.Providers.Suggestion.Matcher @type callback :: %{ type: :callback, subtype: :callback | :macrocallback, name: St...
26.967742
82
0.518341
daf98954e6c6fef3fafc9b6c23034f6dcbd2cb8d
824
ex
Elixir
apps/bytepack_web/lib/bytepack_web/live/info_banner_component.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
313
2020-12-03T17:26:24.000Z
2022-03-18T09:05:14.000Z
apps/bytepack_web/lib/bytepack_web/live/info_banner_component.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
null
null
null
apps/bytepack_web/lib/bytepack_web/live/info_banner_component.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
57
2020-12-03T17:41:53.000Z
2022-03-17T17:28:16.000Z
defmodule BytepackWeb.InfoBannerComponent do use BytepackWeb, :live_component @impl true def render(assigns) do ~L""" <div class="row"> <div class="col-sm-12"> <div class="card info-banner"> <div class="card-body toll-free-box text-center"> <h4 class="text-white"> ...
29.428571
73
0.492718
daf9963b3ab5f70bf096071adc701d560f742492
949
exs
Elixir
mix.exs
dershodan/twilio_signature_plug
2f0a9a2bdca6747c9198aca52e0cba0abbef8ad0
[ "MIT" ]
2
2021-09-21T19:37:17.000Z
2021-11-24T12:14:59.000Z
mix.exs
dershodan/twilio_signature_plug
2f0a9a2bdca6747c9198aca52e0cba0abbef8ad0
[ "MIT" ]
null
null
null
mix.exs
dershodan/twilio_signature_plug
2f0a9a2bdca6747c9198aca52e0cba0abbef8ad0
[ "MIT" ]
1
2021-11-24T12:44:41.000Z
2021-11-24T12:44:41.000Z
defmodule TwilioSignaturePlug.MixProject do use Mix.Project @maintainers ["Christoph Leitner"] @url "https://github.com/dershodan/twilio_signature_plug" def project do [ app: :twilio_signature_plug, version: "0.1.6", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, des...
19.770833
59
0.59431
dafa32d9d10121441ab1eb9193b9ffd8107ecc46
97
exs
Elixir
test/frame/rst_stream_test.exs
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
35
2016-10-17T09:52:46.000Z
2021-01-04T16:27:46.000Z
test/frame/rst_stream_test.exs
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
26
2016-12-06T17:21:41.000Z
2021-11-26T18:49:05.000Z
test/frame/rst_stream_test.exs
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
13
2016-12-06T16:03:30.000Z
2021-12-16T10:28:03.000Z
defmodule Kadabra.Frame.RstStreamTest do use ExUnit.Case doctest Kadabra.Frame.RstStream end
19.4
40
0.824742
dafa69152edde9edd4437d6b45c8861db3c28fe7
120
ex
Elixir
debian/menu.ex
cristian-97/xtest
7f4d052096de6c87aed760d971343479efad3a4c
[ "MIT" ]
null
null
null
debian/menu.ex
cristian-97/xtest
7f4d052096de6c87aed760d971343479efad3a4c
[ "MIT" ]
null
null
null
debian/menu.ex
cristian-97/xtest
7f4d052096de6c87aed760d971343479efad3a4c
[ "MIT" ]
null
null
null
?package(xtest):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ title="xtest" command="/usr/bin/xtest"
40
78
0.733333
dafa9adec4da35b6a2c9c06f65eb27ad895dc91f
61
exs
Elixir
test/test_helper.exs
betacooperation/agent_check
44e655f4951ba8f161df20f1704b52302dc18dff
[ "MIT" ]
4
2018-02-01T09:48:43.000Z
2018-08-30T16:46:18.000Z
test/test_helper.exs
betacooperation/agent_check
44e655f4951ba8f161df20f1704b52302dc18dff
[ "MIT" ]
2
2018-09-19T09:52:09.000Z
2021-03-16T12:47:35.000Z
test/test_helper.exs
betacooperation/agent_check
44e655f4951ba8f161df20f1704b52302dc18dff
[ "MIT" ]
null
null
null
Application.ensure_all_started(:agent_check) ExUnit.start()
15.25
44
0.836066
dafac63aa429d9549fbc1ee02e13147158df1756
1,514
ex
Elixir
lib/slack/reaction.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
21
2016-06-28T04:03:55.000Z
2020-01-19T01:51:11.000Z
lib/slack/reaction.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
5
2016-06-28T04:34:14.000Z
2019-12-09T20:09:12.000Z
lib/slack/reaction.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
6
2016-06-28T04:27:08.000Z
2020-04-22T11:07:03.000Z
defmodule Slack.Reaction do @moduledoc """ Functions for working with reactions to messages 👍 """ @base "reactions" use Slack.Request @doc """ Add a reaction to an item. https://api.slack.com/methods/reactions.add ## Examples Slack.Reaction.add(client, name: "th...
22.597015
65
0.577939
dafae5208b5b87c67597671b99829e2e97620503
1,186
exs
Elixir
config/dev.exs
JakeTheGingScheuer/discovery_api
b92dd614ced354913d0664e47b316723e192185d
[ "Apache-2.0" ]
null
null
null
config/dev.exs
JakeTheGingScheuer/discovery_api
b92dd614ced354913d0664e47b316723e192185d
[ "Apache-2.0" ]
null
null
null
config/dev.exs
JakeTheGingScheuer/discovery_api
b92dd614ced354913d0664e47b316723e192185d
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :discovery_api, DiscoveryApiWeb.Endpoint, debu...
26.954545
68
0.751265
dafaeaaa39ccb8ebb3397d4440de419b6df1c482
1,471
ex
Elixir
lib/top5_2_web/views/error_helpers.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
lib/top5_2_web/views/error_helpers.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
2
2021-03-09T09:26:25.000Z
2021-05-09T08:58:51.000Z
lib/top5_2_web/views/error_helpers.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
null
null
null
defmodule Top52Web.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:s...
32.688889
74
0.668933
dafafde10b741aac3d147d43de8d5d0196a59606
1,052
exs
Elixir
mix.exs
ni-kismet/trie
9b768efa3872896df9366610b76cb798c631c737
[ "MIT" ]
null
null
null
mix.exs
ni-kismet/trie
9b768efa3872896df9366610b76cb798c631c737
[ "MIT" ]
null
null
null
mix.exs
ni-kismet/trie
9b768efa3872896df9366610b76cb798c631c737
[ "MIT" ]
null
null
null
#-*-Mode:elixir;coding:utf-8;tab-width:2;c-basic-offset:2;indent-tabs-mode:()-*- # ex: set ft=elixir fenc=utf-8 sts=2 ts=2 sw=2 et nomod: defmodule Trie.Mixfile do use Mix.Project def project do [app: :trie, version: "1.7.5", language: :erlang, erlc_options: [ :debug_info, :warnin...
22.869565
80
0.624525
dafb0a4f50bdca1e07a34614dc02a23a0eac9413
3,302
exs
Elixir
rel/config.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
1
2021-10-01T03:14:17.000Z
2021-10-01T03:14:17.000Z
rel/config.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
null
null
null
rel/config.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
null
null
null
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. ~w(rel plugins *.exs) |> Path.join() |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Distillery.Releases.Config, ...
25.596899
94
0.675045
dafb1093484270745e298a12438bba6adfc0b447
829
ex
Elixir
lib/bpxe/bpmn/semantic/handler.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
lib/bpxe/bpmn/semantic/handler.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
lib/bpxe/bpmn/semantic/handler.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
defmodule BPXE.BPMN.Semantic.Handler do @behaviour Saxy.Handler defstruct elements: %{}, attributes: %{}, exclude: [] def handle_event(:start_document, _prolog, state) do {:ok, state} end def handle_event(:end_document, _data, state) do {:ok, state} end def handle_event(:start_element, {"xsd:el...
22.405405
70
0.638118
dafb15cd434366eae79d16645b4ff0b5e5c14bc3
3,799
ex
Elixir
lib/signaturex.ex
lastcanal/signaturex
d194fd089f7a21b15ebe26bdc659474b25b993a5
[ "MIT" ]
null
null
null
lib/signaturex.ex
lastcanal/signaturex
d194fd089f7a21b15ebe26bdc659474b25b993a5
[ "MIT" ]
null
null
null
lib/signaturex.ex
lastcanal/signaturex
d194fd089f7a21b15ebe26bdc659474b25b993a5
[ "MIT" ]
null
null
null
defmodule Signaturex do alias Signaturex.CryptoHelper alias Signaturex.Time defmodule AuthenticationError do defexception message: "Error on authentication" end @doc """ Validate request Raises an AuthenticationError if the request is invalid """ @spec validate!(binary, binary, binary | atom, bi...
30.392
84
0.690445
dafb238da4ea87dceb585e7ff13f07038ba1dd38
9,279
ex
Elixir
lib/pigeon/apns_worker.ex
elixir-twister/pigeon
9ec9b9773b4a459d5b9743a55f03b61699650d20
[ "MIT" ]
null
null
null
lib/pigeon/apns_worker.ex
elixir-twister/pigeon
9ec9b9773b4a459d5b9743a55f03b61699650d20
[ "MIT" ]
null
null
null
lib/pigeon/apns_worker.ex
elixir-twister/pigeon
9ec9b9773b4a459d5b9743a55f03b61699650d20
[ "MIT" ]
null
null
null
defmodule Pigeon.APNSWorker do @moduledoc """ Handles all APNS request and response parsing over an HTTP2 connection. """ use GenServer require Logger defp apns_production_api_uri, do: "api.push.apple.com" defp apns_development_api_uri, do: "api.development.push.apple.com" def push_uri(mode) do ca...
29.740385
97
0.609764
dafb3e34250955c095b3c0f020743fdb7ee6f288
245
ex
Elixir
web/controllers/demographic_report_controller.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
web/controllers/demographic_report_controller.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
web/controllers/demographic_report_controller.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
defmodule BdPro.DemographicReportController do use BdPro.Web, :controller alias BdPro.DemographicReportQuery def index(conn, params) do render conn, "index.json", demographic_reports: DemographicReportQuery.execute(params) end end
24.5
90
0.795918
dafb595e7336035716b58da061285dd95e56176f
62
exs
Elixir
test/test_helper.exs
fboyer/advent_of_code_2016
ffe02f093298fa60a5547dc6a9391c1acfb2b325
[ "MIT" ]
null
null
null
test/test_helper.exs
fboyer/advent_of_code_2016
ffe02f093298fa60a5547dc6a9391c1acfb2b325
[ "MIT" ]
null
null
null
test/test_helper.exs
fboyer/advent_of_code_2016
ffe02f093298fa60a5547dc6a9391c1acfb2b325
[ "MIT" ]
null
null
null
ExUnit.start() ExUnit.configure exclude: [long_running: true]
20.666667
46
0.790323