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
c8dd73ea64fb03dcfa79bf58c3bc071b01818595
5,670
exs
Elixir
test/sugar/controller/helpers_test.exs
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
374
2015-01-03T00:16:25.000Z
2022-02-02T21:08:48.000Z
test/sugar/controller/helpers_test.exs
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
44
2015-01-01T11:38:12.000Z
2020-11-18T19:48:01.000Z
test/sugar/controller/helpers_test.exs
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
34
2015-01-04T13:42:41.000Z
2020-07-18T17:27:27.000Z
defmodule Sugar.Controller.HelpersTest do use ExUnit.Case, async: false use Plug.Test import Sugar.Controller.Helpers import Plug.Conn test "static/2 file exists" do conn = conn(:get, "/") |> Map.put(:state, :set) |> static("index.html") assert conn.state === :sent assert get_resp_...
25.540541
103
0.573721
c8dd857d4910efde769d967e1c3e04c1b05e616e
650
exs
Elixir
Elixir/Phoenix/chirp/config/test.exs
Jac21/GistsCollection
4200b0cecf00af443711ca127028fccbbe8cfbf5
[ "MIT" ]
5
2015-09-11T15:02:54.000Z
2020-10-14T05:16:18.000Z
Elixir/Phoenix/chirp/config/test.exs
Jac21/GistsCollection
4200b0cecf00af443711ca127028fccbbe8cfbf5
[ "MIT" ]
21
2019-12-28T11:18:09.000Z
2022-01-02T10:32:36.000Z
Elixir/Phoenix/chirp/config/test.exs
Jac21/GistsCollection
4200b0cecf00af443711ca127028fccbbe8cfbf5
[ "MIT" ]
2
2016-11-07T23:16:56.000Z
2020-10-14T05:16:49.000Z
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :chirp, Chirp.Repo, username: "postgres", password: "demo123", database: "chirp_test#{System.get_env("...
28.26087
64
0.744615
c8dd99be91e0b2a9cc5a4a261c5a990427a7652e
577
exs
Elixir
src/055/p055.exs
fredericojordan/polyglot-euler
9eb75c04db11705def4971fdbb02a6e84c71bef5
[ "MIT" ]
null
null
null
src/055/p055.exs
fredericojordan/polyglot-euler
9eb75c04db11705def4971fdbb02a6e84c71bef5
[ "MIT" ]
null
null
null
src/055/p055.exs
fredericojordan/polyglot-euler
9eb75c04db11705def4971fdbb02a6e84c71bef5
[ "MIT" ]
null
null
null
#!/usr/bin/env elixir defmodule Problem055 do defp reverse_number(x) do x |> Integer.to_string() |> String.reverse() |> String.to_integer() end defp reverse_sum(x), do: x + reverse_number(x) defp is_palindrome(x), do: x == reverse_number(x) defp is_Lychrel_number(x) do Stream.unfold(rev...
19.896552
66
0.642981
c8de347f82a539663f876c977302303f6fc700e7
2,901
ex
Elixir
lib/hound/session_server.ex
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
1,307
2015-01-03T16:50:15.000Z
2022-03-30T05:23:50.000Z
lib/hound/session_server.ex
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
209
2015-03-28T10:25:46.000Z
2022-02-13T01:16:34.000Z
lib/hound/session_server.ex
eduardodflpereira/hound
d30548b0e6e673b886bb98101628e6227afa8c55
[ "MIT" ]
168
2015-03-30T10:58:11.000Z
2022-03-19T02:17:04.000Z
defmodule Hound.SessionServer do @moduledoc false use GenServer @name __MODULE__ def start_link do GenServer.start_link(__MODULE__, %{}, name: @name) end def session_for_pid(pid, opts) do current_session_id(pid) || change_current_session_for_pid(pid, :default, opts) end def current_s...
24.794872
103
0.638401
c8de52e17d8e426622f3528ca3f68c5924ab3069
2,805
exs
Elixir
elpa/alchemist-1.8.2/alchemist-server/lib/helpers/module_info.exs
jasongoodwin/emacs-osx-sanity
61c6d7b61126984f4ddeb2da2bb4b5cafff5b1c6
[ "Apache-2.0" ]
2
2018-03-07T09:55:59.000Z
2018-03-07T09:56:01.000Z
elpa/alchemist-1.8.2/alchemist-server/lib/helpers/module_info.exs
jasongoodwin/emacs-osx-sanity
61c6d7b61126984f4ddeb2da2bb4b5cafff5b1c6
[ "Apache-2.0" ]
null
null
null
elpa/alchemist-1.8.2/alchemist-server/lib/helpers/module_info.exs
jasongoodwin/emacs-osx-sanity
61c6d7b61126984f4ddeb2da2bb4b5cafff5b1c6
[ "Apache-2.0" ]
1
2020-05-11T07:28:49.000Z
2020-05-11T07:28:49.000Z
defmodule Alchemist.Helpers.ModuleInfo do @moduledoc false def moduledoc?(module) do case Code.get_docs module, :moduledoc do {_, doc} -> is_binary doc _ -> false end end def docs?(module, function) do docs = Code.get_docs module, :docs do_docs?(docs, function) end def expand...
23.771186
66
0.613547
c8de5546909829475d31701b446a0e18fab4812b
1,757
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_product_key_value.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_product_key_value.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_product_key_value.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...
35.14
147
0.734775
c8de6376d565b3b66ae9cb26cc66765e7cf180e7
23,082
exs
Elixir
lib/elixir/test/elixir/exception_test.exs
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/exception_test.exs
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/exception_test.exs
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule ExceptionTest do use ExUnit.Case, async: true doctest Exception test "raising preserves the stacktrace" do stacktrace = try do raise "a" rescue _ -> [top | _] = System.stacktrace() top end fil...
36.522152
144
0.594966
c8de7e62ef6d238c3309fbfdfac6b2310f63251a
1,811
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/stack_pack.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/stack_pack.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/stack_pack.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...
32.339286
90
0.692987
c8dea3b19c731151ad8c5d10981ae1a2004a2542
411
exs
Elixir
config/config.exs
elcritch/couchdb_luerl_query
fd2f4b3cbbdc6e0845eec886c40685946d5b0807
[ "Apache-2.0" ]
null
null
null
config/config.exs
elcritch/couchdb_luerl_query
fd2f4b3cbbdc6e0845eec886c40685946d5b0807
[ "Apache-2.0" ]
null
null
null
config/config.exs
elcritch/couchdb_luerl_query
fd2f4b3cbbdc6e0845eec886c40685946d5b0807
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :config, ini_files: [ # "./config/etc" |> String.to_charlist, "./config/db/default.ini" |> String.to_charlist, "./config/db/local.ini" |> String.to_charlist, ] config :couch_epi, plugins: [ :couch_db_epi, :chttpd_epi, :couch_index_epi, :global_changes_epi, ...
19.571429
52
0.613139
c8dee1e24230da0ceb6d143c2609d20872be1113
4,876
exs
Elixir
test/glimesh_web/controllers/user_security_controller_text.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
1
2020-08-02T00:12:28.000Z
2020-08-02T00:12:28.000Z
test/glimesh_web/controllers/user_security_controller_text.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
test/glimesh_web/controllers/user_security_controller_text.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserSecurityControllerTest do use GlimeshWeb.ConnCase, async: true alias Glimesh.Accounts import Glimesh.AccountsFixtures setup :register_and_log_in_user describe "GET /users/settings" do test "renders settings page", %{conn: conn} do conn = get(conn, Routes.user_security_pat...
38.698413
96
0.658532
c8df480972eb7353824524913b29c2d3f6c18f5d
35
ex
Elixir
apps/sue/lib/sue/mailbox/debug.ex
inculi/Sue
42e249aec1d9c467db63526966d9690d5c58f346
[ "MIT" ]
9
2018-03-23T11:18:21.000Z
2021-08-06T18:38:37.000Z
apps/sue/lib/sue/mailbox/debug.ex
inculi/Sue
42e249aec1d9c467db63526966d9690d5c58f346
[ "MIT" ]
21
2017-12-01T05:57:10.000Z
2021-06-06T18:53:25.000Z
apps/sue/lib/sue/mailbox/debug.ex
inculi/Sue
42e249aec1d9c467db63526966d9690d5c58f346
[ "MIT" ]
6
2018-03-23T11:24:21.000Z
2021-08-06T18:40:28.000Z
defmodule Sue.Mailbox.Debug do end
11.666667
30
0.828571
c8df5e76192b76cfb3b8f121f12e644ab53b7ac1
1,187
exs
Elixir
clients/storage_transfer/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.StorageTransfer.V1.Mixfile do use Mix.Project @version "0.8.0" def project do [app: :google_api_storage_transfer, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: p...
24.729167
119
0.620051
c8df8389fdcce62ae4f8703831e8a06ee10c301b
1,973
exs
Elixir
test/extractly/toc/render/render_html_test.exs
RobertDober/Extractly
9b1ee855e663f6ded8a3cf25fba1ad0777748ba9
[ "Apache-2.0" ]
4
2021-02-22T18:39:16.000Z
2021-10-30T09:11:29.000Z
test/extractly/toc/render/render_html_test.exs
RobertDober/Extractly
9b1ee855e663f6ded8a3cf25fba1ad0777748ba9
[ "Apache-2.0" ]
12
2019-01-26T11:52:05.000Z
2021-11-16T10:50:38.000Z
test/extractly/toc/render/render_html_test.exs
RobertDober/extractly
9b1ee855e663f6ded8a3cf25fba1ad0777748ba9
[ "Apache-2.0" ]
null
null
null
defmodule Test.Extractly.Toc.Render.RenderHtmlTest do use ExUnit.Case # doctest Extractly.Toc.Renderer.HtmlRenderer, import: true alias Extractly.Toc @simple [ {1, "a"}, {3, "a0a"}, {3, "a0b"}, {2, "ab"} ] @medium [ {1, "x"}, {3, "x0x"}, {3, "x0y"}, {1, "y"}, {1, "z"}, {4, "z00x"} ] describe "render ast o...
24.060976
99
0.449062
c8dfd4d9557309dc24c72e8362de5c53c75d5008
2,370
ex
Elixir
lib/wechat_pay/plug/payment.ex
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "MIT" ]
null
null
null
lib/wechat_pay/plug/payment.ex
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "MIT" ]
null
null
null
lib/wechat_pay/plug/payment.ex
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "MIT" ]
null
null
null
defmodule WechatPay.Plug.Payment do @moduledoc """ Plug behaviour to handle **Payment** Notification from Wechat's Payment Gateway. Official document: https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_7 See `WechatPay.Handler` for how to implement a handler. """ @callback init(opts :: Plug.opts(...
26.333333
82
0.644304
c8dff92f58b7d0cb2923857705ea1f2203876388
731
ex
Elixir
lib/step_flow/notifications/slack.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
4
2019-12-07T05:18:26.000Z
2020-11-06T23:28:43.000Z
lib/step_flow/notifications/slack.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
53
2020-01-06T11:23:09.000Z
2021-06-25T15:30:07.000Z
lib/step_flow/notifications/slack.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
3
2020-01-30T15:37:40.000Z
2020-10-27T14:10:02.000Z
defmodule StepFlow.Notifications.Slack do @moduledoc """ Notification step implementation to send messages on Slack channel. """ alias StepFlow.Step.Helpers def process(workflow, dates, _step_name, step, _step_id, source_paths) do channel = Helpers.get_value_in_parameters_with_type(step, "channel"...
29.24
98
0.709986
c8dffea49c12f5c8eb0584c888a163fea33cf084
1,702
ex
Elixir
clients/content/lib/google_api/content/v21/model/orders_update_shipment_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/content/lib/google_api/content/v21/model/orders_update_shipment_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_update_shipment_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.04
159
0.72973
c8e0448861aeeebe36540a227c93a047e7929f90
1,837
ex
Elixir
lib/event_store/dashboard/components/streams_table.ex
commanded/eventstore-dashboard
434b17104b57791e191384e13e2c9cab964456f9
[ "MIT" ]
12
2022-01-20T18:50:24.000Z
2022-02-02T21:39:16.000Z
lib/event_store/dashboard/components/streams_table.ex
lucazulian/eventstore-dashboard
434b17104b57791e191384e13e2c9cab964456f9
[ "MIT" ]
1
2022-01-20T17:03:20.000Z
2022-01-20T17:03:20.000Z
lib/event_store/dashboard/components/streams_table.ex
lucazulian/eventstore-dashboard
434b17104b57791e191384e13e2c9cab964456f9
[ "MIT" ]
1
2022-01-25T10:37:44.000Z
2022-01-25T10:37:44.000Z
defmodule EventStore.Dashboard.Components.StreamsTable do alias EventStore.Page import Phoenix.LiveDashboard.PageBuilder import EventStore.Dashboard.Helpers # See: https://hexdocs.pm/phoenix_live_dashboard/Phoenix.LiveDashboard.PageBuilder.html def render(event_store, _assigns) do table( columns:...
24.824324
89
0.604246
c8e04d576803a8d752918ab86ae8c01c1d2343fe
1,289
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/post_images.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/post_images.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/blogger/lib/google_api/blogger/v3/model/post_images.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...
27.425532
74
0.723041
c8e05408a4a92d1c9ef4c43a2d443cb283025c8d
2,336
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/display_video/lib/google_api/display_video/v1/model/status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/display_video/lib/google_api/display_video/v1/model/status.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...
44.075472
427
0.720462
c8e07c419e691754bd7572ea591332d1697f5cb1
134
ex
Elixir
web/views/session_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
web/views/session_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
web/views/session_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.SessionView do use Apiv4.Web, :view @relationships ~w( user account employee )a use Autox.ResourceView end
19.142857
45
0.738806
c8e0c7908c7b6239c8799c02e1133f3511fe88a2
2,291
exs
Elixir
test/companion_web/controllers/template_message_controller_test.exs
praekeltfoundation/nurseconnect-companion
9afaabaf3ae3e0123abcbd12e0a2073b681e9052
[ "BSD-3-Clause" ]
1
2018-10-10T18:20:22.000Z
2018-10-10T18:20:22.000Z
test/companion_web/controllers/template_message_controller_test.exs
praekeltfoundation/nurseconnect-companion
9afaabaf3ae3e0123abcbd12e0a2073b681e9052
[ "BSD-3-Clause" ]
23
2018-06-07T15:13:15.000Z
2019-07-30T09:06:03.000Z
test/companion_web/controllers/template_message_controller_test.exs
praekeltfoundation/nurseconnect-companion
9afaabaf3ae3e0123abcbd12e0a2073b681e9052
[ "BSD-3-Clause" ]
null
null
null
defmodule CompanionWeb.TemplateMessageControllerTest do use CompanionWeb.ConnCase use PhoenixSwagger.SchemaTest, "priv/static/swagger.json" alias Companion.CompanionWeb alias Companion.CompanionWeb.Application @application %Application{name: "test", token: Ecto.UUID.generate()} @create_attrs %{ contac...
29.371795
96
0.598429
c8e1305a06988568925c95721656a199b37a089f
1,859
ex
Elixir
lib/text/en.ex
verrchu/james
266ad1bc81afe239b962a9f8106fa695b237dcb1
[ "MIT" ]
null
null
null
lib/text/en.ex
verrchu/james
266ad1bc81afe239b962a9f8106fa695b237dcb1
[ "MIT" ]
null
null
null
lib/text/en.ex
verrchu/james
266ad1bc81afe239b962a9f8106fa695b237dcb1
[ "MIT" ]
null
null
null
defmodule James.Text.EN do use James.Text defmsg(:INVALID_MESSAGE_TYPE, [ """ Sorry I can only inderstand text messages """, """ Unfortunately i only understand text """, """ Please try entering a text message """ ]) defmsg(:INVALID_COMMAND, [ """ __*Error*__: Inval...
15.621849
87
0.517483
c8e151341b323beb4d95f26f43857384a4469c23
1,309
exs
Elixir
installer/templates/quenya_single/mix.exs
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
null
null
null
installer/templates/quenya_single/mix.exs
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
null
null
null
installer/templates/quenya_single/mix.exs
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
1
2020-12-10T11:50:14.000Z
2020-12-10T11:50:14.000Z
defmodule <%= @app_module %>.MixProject do use Mix.Project def project do [ app: :<%= @app_name %>, version: "0.1.0",<%= if @in_umbrella do %> build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock",<% end %> ...
24.240741
63
0.565317
c8e1598eed17dee6734ff068d7c914ba8051648c
5,001
ex
Elixir
lib/unifex/code_generator/base_types/list.ex
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
42
2018-09-11T02:27:00.000Z
2022-03-23T18:30:56.000Z
lib/unifex/code_generator/base_types/list.ex
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
30
2018-10-18T10:56:22.000Z
2022-03-09T13:04:51.000Z
lib/unifex/code_generator/base_types/list.ex
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
7
2018-10-24T09:21:40.000Z
2022-03-29T12:39:08.000Z
defmodule Unifex.CodeGenerator.BaseTypes.List do @moduledoc """ Module implementing `Unifex.CodeGenerator.BaseType` behaviour for lists. They are represented in the native code as arrays with sizes passed via separate arguments. Implemented both for NIF and CNode as function parameter as well as return type...
30.126506
103
0.607079
c8e190f3559cbefd824094a14db4b4f28a4f33ba
1,897
ex
Elixir
clients/discovery/lib/google_api/discovery/v1/model/json_schema_variant.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/model/json_schema_variant.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/discovery/lib/google_api/discovery/v1/model/json_schema_variant.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...
37.94
178
0.739589
c8e198e3dcab5f7e797db08dded9d8f2b9a3a3bd
73
exs
Elixir
config/dev.exs
AmbrosiaLabs/therm_log
cc2e575a9b36b90f05de06ecc081f41ec039011b
[ "MIT" ]
null
null
null
config/dev.exs
AmbrosiaLabs/therm_log
cc2e575a9b36b90f05de06ecc081f41ec039011b
[ "MIT" ]
null
null
null
config/dev.exs
AmbrosiaLabs/therm_log
cc2e575a9b36b90f05de06ecc081f41ec039011b
[ "MIT" ]
null
null
null
use Mix.Config config :therm_log, :dbname, "./db/dev/therm_log.sqlite3"
18.25
56
0.739726
c8e19f89eb2228d08f0d8132fa44fb6e66b17745
2,730
ex
Elixir
clients/domains/lib/google_api/domains/v1beta1/model/transfer_parameters.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/domains/lib/google_api/domains/v1beta1/model/transfer_parameters.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/domains/lib/google_api/domains/v1beta1/model/transfer_parameters.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...
44.032258
231
0.713919
c8e1e2c07382cd0b214f55b6f2a27285fb2a302e
2,063
ex
Elixir
clients/analytics_data/lib/google_api/analytics_data/v1beta/model/dimension_compatibility.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics_data/lib/google_api/analytics_data/v1beta/model/dimension_compatibility.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics_data/lib/google_api/analytics_data/v1beta/model/dimension_compatibility.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...
41.26
292
0.762482
c8e217f85a44bb665d3b93618ecc849325bbef46
390
exs
Elixir
test/ticker/url_builder_test.exs
koskoci/ticker-be
95e6e7df1b8017d3180c17f881f7a1e36b728562
[ "MIT" ]
null
null
null
test/ticker/url_builder_test.exs
koskoci/ticker-be
95e6e7df1b8017d3180c17f881f7a1e36b728562
[ "MIT" ]
null
null
null
test/ticker/url_builder_test.exs
koskoci/ticker-be
95e6e7df1b8017d3180c17f881f7a1e36b728562
[ "MIT" ]
null
null
null
defmodule Ticker.UrlBuilderTest do use ExUnit.Case alias TickerWeb.Support.ExpectedApiRequest alias Ticker.UrlBuilder describe "#build" do test "builds the url for the stock" do stock = %{"ticker" => "LOGM", "startDate" => "2020-01-01", "initialValue" => 70} logm_url = ExpectedApiRequest.logm(...
24.375
86
0.684615
c8e2449f1ab4a16da0e37f5ded35a9bba373769a
4,790
ex
Elixir
apps/authenticator/lib/sessions/manager.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
apps/authenticator/lib/sessions/manager.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
apps/authenticator/lib/sessions/manager.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
defmodule Authenticator.Sessions.Manager do @moduledoc """ GenServer for dealing with session expirations. """ use GenServer require Logger alias Authenticator.Repo alias Authenticator.Sessions.Cache alias Authenticator.Sessions.Schemas.Session alias Ecto.Multi @typedoc "Session manager supervis...
25.078534
91
0.643215
c8e24c31f9499cd6aab1201be45044517d58c6b6
251
exs
Elixir
apps/re/priv/repo/migrations/20190716141108_create_seller_lead_job_queue.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/priv/repo/migrations/20190716141108_create_seller_lead_job_queue.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/priv/repo/migrations/20190716141108_create_seller_lead_job_queue.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Repo.Migrations.CreateSellerLeadJobQueue do use Ecto.Migration alias EctoJob.Migrations.CreateJobTable def up do CreateJobTable.up("seller_lead_jobs") end def down do CreateJobTable.down("seller_lead_jobs") end end
17.928571
56
0.772908
c8e26d8ebd188c45022d1e34b66768aaf8c3aba4
759
exs
Elixir
word-count/word_count.exs
mauricius/exercism-elixir
c6babb343f9f024a84cfa8328c6adf7a8aa504a5
[ "MIT" ]
null
null
null
word-count/word_count.exs
mauricius/exercism-elixir
c6babb343f9f024a84cfa8328c6adf7a8aa504a5
[ "MIT" ]
null
null
null
word-count/word_count.exs
mauricius/exercism-elixir
c6babb343f9f024a84cfa8328c6adf7a8aa504a5
[ "MIT" ]
null
null
null
defmodule Words do @punctuation ~r/!|"|%|&|\$|@|%|'|\(|\)|\*|\+|,|\.|\/|:|;|<|=|>|\?|\[|\\|]|\^|_|`|\{|\||}|~/ @doc """ Count the number of words in the sentence. Words are compared case-insensitively. """ @spec count(String.t) :: map def count(sentence) do sentence |> remove_punctuation |> S...
25.3
93
0.588933
c8e282a666a6947fca2100bdbdaf1968fe3262f8
948
exs
Elixir
mix.exs
romul/newrelic.ex
6277ea8f158cf34638bd95c62d7d33758c7d4a0a
[ "MIT" ]
67
2016-10-16T19:32:15.000Z
2020-09-15T20:43:13.000Z
mix.exs
romul/newrelic.ex
6277ea8f158cf34638bd95c62d7d33758c7d4a0a
[ "MIT" ]
15
2016-11-01T23:00:25.000Z
2019-08-21T14:49:38.000Z
mix.exs
romul/newrelic.ex
6277ea8f158cf34638bd95c62d7d33758c7d4a0a
[ "MIT" ]
25
2016-11-01T20:35:33.000Z
2021-05-10T06:58:30.000Z
defmodule NewRelic.Mixfile do use Mix.Project def project do [ app: :new_relic, version: "0.2.0", elixir: "~> 1.3", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: "Elixir library for sending metrics to New Relic.", package: packag...
22.571429
77
0.551688
c8e2834c9ce90b6da9626e108697e30fd02abe04
398
ex
Elixir
lib/codes/codes_f88.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f88.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f88.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_F88 do alias IcdCode.ICDCode def _F88 do %ICDCode{full_code: "F88", category_code: "F88", short_code: "", full_name: "Other disorders of psychological development", short_name: "Other disorders of psychological development", catego...
24.875
71
0.665829
c8e2a26d39f3134f45bd53a36333a8093c0b54c8
531
ex
Elixir
lib/taskr_web/views/error_view.ex
sean-clayton/taskr
e56ac59662fb8c246803a36ebe288f55a4a0cbf9
[ "0BSD" ]
null
null
null
lib/taskr_web/views/error_view.ex
sean-clayton/taskr
e56ac59662fb8c246803a36ebe288f55a4a0cbf9
[ "0BSD" ]
null
null
null
lib/taskr_web/views/error_view.ex
sean-clayton/taskr
e56ac59662fb8c246803a36ebe288f55a4a0cbf9
[ "0BSD" ]
null
null
null
defmodule TaskrWeb.ErrorView do use TaskrWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from #...
31.235294
83
0.717514
c8e2a62b3a7af09b6bfbaf3bb186b00e515d831d
2,728
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_page_layout.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_page_layout.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_page_layout.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...
39.536232
252
0.745968
c8e2cac96c8ac34563910ed6f8532e022ae5a344
1,917
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/custom_account.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/custom_account.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/custom_account.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.169811
211
0.726135
c8e2e57c67115ce06fa7ee6cbb6ec0ee5cced365
766
ex
Elixir
phoenix/lib/mehr_schulferien/timetables/landing_time.ex
hendri-tobing/www.mehr-schulferien.de
81f71b358a607e08eb6b9d211eba597576a18578
[ "MIT" ]
null
null
null
phoenix/lib/mehr_schulferien/timetables/landing_time.ex
hendri-tobing/www.mehr-schulferien.de
81f71b358a607e08eb6b9d211eba597576a18578
[ "MIT" ]
null
null
null
phoenix/lib/mehr_schulferien/timetables/landing_time.ex
hendri-tobing/www.mehr-schulferien.de
81f71b358a607e08eb6b9d211eba597576a18578
[ "MIT" ]
null
null
null
defmodule MehrSchulferien.Timetables.LandingTime do def landing_start_date do {date_erl, {_, _, _}} = :calendar.local_time() {:ok, date_now} = Date.from_erl(date_erl) {:ok, landing_date} = Date.to_iso8601(date_now) |> String.split("-") |> List.replace_at(2, "01") |> Enum.join("-") ...
25.533333
76
0.638381
c8e321d3c61a04ba8b7c59eafe82780c857495b9
135
exs
Elixir
move_it/test/move_it_test.exs
PJUllrich/Nerves-Motor-Demo
561aef45fa670cf81e1e5f5fefcae6d8adf55632
[ "MIT" ]
null
null
null
move_it/test/move_it_test.exs
PJUllrich/Nerves-Motor-Demo
561aef45fa670cf81e1e5f5fefcae6d8adf55632
[ "MIT" ]
null
null
null
move_it/test/move_it_test.exs
PJUllrich/Nerves-Motor-Demo
561aef45fa670cf81e1e5f5fefcae6d8adf55632
[ "MIT" ]
1
2021-02-09T13:23:42.000Z
2021-02-09T13:23:42.000Z
defmodule MoveItTest do use ExUnit.Case doctest MoveIt test "greets the world" do assert MoveIt.hello() == :world end end
15
35
0.703704
c8e32fa71915d172c9df942479b2ca8e73ae1ccb
3,187
exs
Elixir
test/web_hook/handler_test.exs
pkdcryptos/edgurgel-poxa
d99fbd3ac54317a180349ee91d8e20cdc8270a63
[ "MIT" ]
null
null
null
test/web_hook/handler_test.exs
pkdcryptos/edgurgel-poxa
d99fbd3ac54317a180349ee91d8e20cdc8270a63
[ "MIT" ]
null
null
null
test/web_hook/handler_test.exs
pkdcryptos/edgurgel-poxa
d99fbd3ac54317a180349ee91d8e20cdc8270a63
[ "MIT" ]
null
null
null
defmodule Poxa.WebHook.HandlerTest do use ExUnit.Case alias Poxa.Channel alias Poxa.WebHook.EventTable import :meck import Poxa.WebHook.Handler @table_name :web_hook_events setup_all do :application.set_env(:poxa, :app_secret, "secret") :application.set_env(:poxa, :app_key, "app_key") :appli...
32.520408
164
0.638218
c8e33350e4ad6c4a7f2933d231dd790aec020f32
1,811
exs
Elixir
clients/people/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/people/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/people/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.029851
97
0.652126
c8e349f50ee7dc02a20fedcb9af4e2fa766e97b3
1,274
ex
Elixir
lib/rumbl_web/controllers/auth.ex
andreyuhai/elixir-rumbl
0acb5f0694940b4d39f09376b1dce954518e5d5b
[ "MIT" ]
1
2021-05-30T20:57:51.000Z
2021-05-30T20:57:51.000Z
lib/rumbl_web/controllers/auth.ex
andreyuhai/elixir-rumbl
0acb5f0694940b4d39f09376b1dce954518e5d5b
[ "MIT" ]
null
null
null
lib/rumbl_web/controllers/auth.ex
andreyuhai/elixir-rumbl
0acb5f0694940b4d39f09376b1dce954518e5d5b
[ "MIT" ]
null
null
null
defmodule RumblWeb.Auth do import Plug.Conn import Phoenix.Controller alias RumblWeb.Router.Helpers, as: Routes def init(opts), do: opts def call(conn, _opts) do user_id = get_session(conn, :user_id) cond do user = conn.assigns[:current_user] -> put_current_user(conn, user) us...
22.350877
71
0.645997
c8e3584ee40c811c06462334bc1c69cde05d8b56
10,968
ex
Elixir
lib/cingi/outpost.ex
Rhathe/C-ING-I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
14
2017-09-21T19:45:12.000Z
2020-10-12T04:06:11.000Z
lib/cingi/outpost.ex
Rhathe/C-ING-I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
null
null
null
lib/cingi/outpost.ex
Rhathe/C-ING-I
fd4e6d6d73f9ae2115e40e51ad47135869cb2689
[ "MIT" ]
1
2017-09-21T21:50:42.000Z
2017-09-21T21:50:42.000Z
defmodule Cingi.Outpost do @moduledoc """ Outposts are processes set up by commanders to connect to its branch and receive missions. Outposts have to set up the environment, like a workspace folder, by setting the environment variables, working diretctory, and any setup steps that need to run when a mission is be...
25.098398
115
0.697301
c8e38510514fc287bf5f0c30bb8293af7e75d15d
2,030
exs
Elixir
test/httpoison_base_test.exs
SkAZi/httpoison
730506caa1abd05e7a40c006061639badc351311
[ "MIT" ]
null
null
null
test/httpoison_base_test.exs
SkAZi/httpoison
730506caa1abd05e7a40c006061639badc351311
[ "MIT" ]
null
null
null
test/httpoison_base_test.exs
SkAZi/httpoison
730506caa1abd05e7a40c006061639badc351311
[ "MIT" ]
null
null
null
defmodule HTTPoisonBaseTest do use ExUnit.Case import :meck defmodule Example do use HTTPoison.Base def process_url(url), do: "http://" <> url def process_request_body(body), do: {:req_body, body} def process_request_headers(headers), do: {:req_headers, headers} def process_response_body(body...
35.614035
127
0.608867
c8e3a9c0671aecaaad97b068765ede5f589e862d
5,235
ex
Elixir
lib/scenic/component/input/checkbox.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/checkbox.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/checkbox.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.Component.Input.Checkbox do @moduledoc false use Scenic.Component, has_children: false alias Scenic.Graph alias Scenic.Primitive alias Scenic.ViewPort alias Scenic.Primitive.Style.Theme import Scenic.Primitives # import IEx @default_font :roboto @default_font_size 20 # @defau...
27.124352
87
0.505062
c8e3b15a986b8386f2519a1a7f3b46ef8e8ce70e
76
ex
Elixir
lib/my_app_726605/repo.ex
wsmoak/my_app_726605
9f1808a0fa44ff28f95ad714ecb22a21650d093f
[ "MIT" ]
null
null
null
lib/my_app_726605/repo.ex
wsmoak/my_app_726605
9f1808a0fa44ff28f95ad714ecb22a21650d093f
[ "MIT" ]
null
null
null
lib/my_app_726605/repo.ex
wsmoak/my_app_726605
9f1808a0fa44ff28f95ad714ecb22a21650d093f
[ "MIT" ]
null
null
null
defmodule MyApp_726605.Repo do use Ecto.Repo, otp_app: :my_app_726605 end
19
40
0.802632
c8e3b7398ad2c178e056da5f2467732222b5c573
991
ex
Elixir
lib/epicenter/cases/investigation_note.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter/cases/investigation_note.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter/cases/investigation_note.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Cases.InvestigationNote do use Ecto.Schema import Ecto.Changeset @required_attrs ~w{author_id text}a @optional_attrs ~w{case_investigation_id deleted_at contact_investigation_id tid}a @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @derive {Jason.Enco...
30.030303
91
0.760848
c8e3c091452fb2a6d6721eb7447558fab0b30cf2
142
ex
Elixir
apps/man_api/lib/man_api/web/views/label_view.ex
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
7
2017-06-08T21:15:11.000Z
2021-12-28T16:57:10.000Z
apps/man_api/lib/man_api/web/views/label_view.ex
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
11
2017-04-16T17:59:55.000Z
2019-01-28T17:18:36.000Z
apps/man_api/lib/man_api/web/views/label_view.ex
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
3
2017-07-27T16:10:42.000Z
2021-12-28T17:00:44.000Z
defmodule Man.Web.LabelView do @moduledoc false use Man.Web, :view def render("index.json", %{labels: labels}) do labels end end
15.777778
48
0.683099
c8e3c6a9ae06a460eb66d78af659cfe97915d4b0
901
ex
Elixir
lib/spear/scavenge.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
34
2021-04-15T22:16:38.000Z
2022-03-11T10:20:11.000Z
lib/spear/scavenge.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
32
2021-04-05T18:07:35.000Z
2021-11-04T19:32:58.000Z
lib/spear/scavenge.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
1
2021-10-11T15:53:42.000Z
2021-10-11T15:53:42.000Z
defmodule Spear.Scavenge do @moduledoc """ A struct representing a scavenge and its progress """ @moduledoc since: "0.4.0" import Spear.Records.Operations, only: [scavenge_resp: 1] @typedoc """ The result of starting or stopping a scavenge This structure does not represent the current status of a sca...
28.15625
85
0.694784
c8e3d9b99045bf0b5bf3bc50d64479715ccd4faa
501
ex
Elixir
web/models/ship.ex
utkr98jais/phoenix-battleship
53b43d44a69c5acb4b452b793cce64980a0302df
[ "MIT" ]
569
2016-04-21T09:25:49.000Z
2022-03-13T22:56:18.000Z
web/models/ship.ex
utkr98jais/phoenix-battleship
53b43d44a69c5acb4b452b793cce64980a0302df
[ "MIT" ]
10
2016-04-22T05:33:43.000Z
2018-04-19T21:51:27.000Z
web/models/ship.ex
utkr98jais/phoenix-battleship
53b43d44a69c5acb4b452b793cce64980a0302df
[ "MIT" ]
80
2016-04-21T18:53:25.000Z
2020-12-01T13:32:17.000Z
defmodule Battleship.Ship do @moduledoc """ Board ship """ defstruct [ x: 0, y: 0, size: 0, orientation: :vertical, coordinates: %{} ] def coordinates(%{x: x, y: y, size: size, orientation: :vertical}) do Enum.map(y..(y + (size - 1)), &coordinate_key(&1, x)) end def coordinates...
21.782609
73
0.57485
c8e4440f5706ccdcb8a668f3b29bcbe14c73ac14
845
ex
Elixir
lib/chit_chat_web/admin/author_admin.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
1
2021-09-10T16:49:36.000Z
2021-09-10T16:49:36.000Z
lib/chit_chat_web/admin/author_admin.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
2
2020-05-22T18:42:14.000Z
2021-01-25T16:34:38.000Z
lib/chit_chat_web/admin/author_admin.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
null
null
null
defmodule ChitChatWeb.AuthorAdmin do def ordering(_schema) do [desc: :email] end def index(_) do [ id: nil, name: nil, email: nil, super_author: nil, url: nil, ] end def form_fields(_) do [ name: %{label: "Author Name", help_text: "Enter your full name"},...
20.119048
71
0.52071
c8e450b2252ae0497c64fde665e12bd9fd139d81
1,864
ex
Elixir
lib/html.ex
happycodrz/webassembly
b63db4999e1219b71a9a9f9ad072f74296fe9080
[ "BSD-2-Clause" ]
null
null
null
lib/html.ex
happycodrz/webassembly
b63db4999e1219b71a9a9f9ad072f74296fe9080
[ "BSD-2-Clause" ]
null
null
null
lib/html.ex
happycodrz/webassembly
b63db4999e1219b71a9a9f9ad072f74296fe9080
[ "BSD-2-Clause" ]
null
null
null
defmodule WebAssembly.HTML do @moduledoc """ HTML5 wrapper macros to be used inside `WebAssembly.Builder`. """ defmacro __using__(_opts) do quote do import Kernel, except: [div: 2] import WebAssembly.HTML end end import WebAssembly.DSL @nonvoid_elements ~w[ head title style scri...
24.526316
69
0.672747
c8e45f65580601f171ac4dddcaeb9c27fe55e97e
1,126
ex
Elixir
lib/mix/lib/mix/dep/elixir_scm.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/dep/elixir_scm.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/dep/elixir_scm.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
# Manifest file where we treat Elixir and SCMs as a dependency. defmodule Mix.Dep.ElixirSCM do @moduledoc false @manifest ".compile.elixir_scm" @manifest_vsn :v1 def manifest(manifest_path \\ Mix.Project.manifest_path) do Path.join(manifest_path, @manifest) end def update(manifest_path \\ Mix.Project....
27.463415
81
0.626998
c8e4683a44b971574cdd21830579c9aba3a358d6
1,154
ex
Elixir
app/lib/fish_finder_web/router.ex
florinpatrascu/elixir_grafana_loki_tempo
6c3df19641c2aa40f1b1172fe31bb7b16dd3937a
[ "MIT" ]
null
null
null
app/lib/fish_finder_web/router.ex
florinpatrascu/elixir_grafana_loki_tempo
6c3df19641c2aa40f1b1172fe31bb7b16dd3937a
[ "MIT" ]
null
null
null
app/lib/fish_finder_web/router.ex
florinpatrascu/elixir_grafana_loki_tempo
6c3df19641c2aa40f1b1172fe31bb7b16dd3937a
[ "MIT" ]
1
2022-01-26T02:57:38.000Z
2022-01-26T02:57:38.000Z
defmodule FFWeb.Router do use FFWeb, :router pipeline :api do plug :accepts, ["json"] end scope "/api", FFWeb do pipe_through :api get "/fish", FishFinderController, :index end # Enables LiveDashboard only for development # # If you want to use the LiveDashboard in production, you should ...
28.146341
70
0.702773
c8e4a0c307a8770a0d62090e68db94d172958360
382
exs
Elixir
apps/core/priv/repo/migrations/20210407170828_add_reset_tokens.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/priv/repo/migrations/20210407170828_add_reset_tokens.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/priv/repo/migrations/20210407170828_add_reset_tokens.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Repo.Migrations.AddResetTokens do use Ecto.Migration def change do create table(:reset_tokens, primary_key: false) do add :id, :uuid, primary_key: true add :external_id, :binary add :email, :string add :type, :integer timestamps() end ...
22.470588
54
0.636126
c8e4a25cb502c3ff42ad6693dd3b24549b7c5b16
724
ex
Elixir
lib/dialyxir/warnings/race_condition.ex
legoscia/dialyxir
39579cb3abf6570da56a2a7185204452c49f9b5c
[ "Apache-2.0" ]
null
null
null
lib/dialyxir/warnings/race_condition.ex
legoscia/dialyxir
39579cb3abf6570da56a2a7185204452c49f9b5c
[ "Apache-2.0" ]
null
null
null
lib/dialyxir/warnings/race_condition.ex
legoscia/dialyxir
39579cb3abf6570da56a2a7185204452c49f9b5c
[ "Apache-2.0" ]
null
null
null
defmodule Dialyxir.Warnings.RaceCondition do @behaviour Dialyxir.Warning @impl Dialyxir.Warning @spec warning() :: :race_condition def warning(), do: :race_condition @impl Dialyxir.Warning @spec format_short([String.t()]) :: String.t() def format_short(args), do: format_long(args) @impl Dialyxir.Warn...
26.814815
68
0.708564
c8e4e6c0007ccd0c56aaecbbd465db9a0da639da
623
ex
Elixir
Microsoft.Azure.Management.Database.MySql/lib/microsoft/azure/management/database/my_sql/model/proxy_resource.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Database.MySql/lib/microsoft/azure/management/database/my_sql/model/proxy_resource.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Database.MySql/lib/microsoft/azure/management/database/my_sql/model/proxy_resource.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Database.MySql.Model.ProxyResource do @moduledoc """ Resource properties. """ @derive [Poison.Encoder] defst...
20.766667
93
0.675762
c8e4f2747adebde613a674e1dfb03de39b0d4b66
155
exs
Elixir
2018/test/day1.test.exs
KashMoneyMillionaire/adventofcode
2160b4af4ad9a994cfde2bffb65a6f6758c8003d
[ "MIT" ]
null
null
null
2018/test/day1.test.exs
KashMoneyMillionaire/adventofcode
2160b4af4ad9a994cfde2bffb65a6f6758c8003d
[ "MIT" ]
null
null
null
2018/test/day1.test.exs
KashMoneyMillionaire/adventofcode
2160b4af4ad9a994cfde2bffb65a6f6758c8003d
[ "MIT" ]
null
null
null
defmodule Day1Tests do use ExUnit.Case doctest Twenty18_Day1_Part2 test "run" do assert Twenty18_Day1_Part2.sample() == 5 end end
17.222222
48
0.683871
c8e525c45363381112d318f2317911f32ef7ac8d
912
ex
Elixir
lib/ex_s3_edit.ex
joegiralt/ex-s3-edit
1d54b17ea2bdb2f01193530f75198fe0ce142093
[ "MIT" ]
23
2021-10-30T08:08:07.000Z
2021-11-18T17:32:42.000Z
lib/ex_s3_edit.ex
joegiralt/ex-s3-edit
1d54b17ea2bdb2f01193530f75198fe0ce142093
[ "MIT" ]
null
null
null
lib/ex_s3_edit.ex
joegiralt/ex-s3-edit
1d54b17ea2bdb2f01193530f75198fe0ce142093
[ "MIT" ]
null
null
null
defmodule ExS3Edit do use Bakeware.Script alias ExS3Edit.Cli @impl Bakeware.Script def main(args) when is_list(args) do args |> parse_args() |> handle_commands() end def main(_args), do: 0 def main(), do: 0 defp parse_args(args) do {opts, word, _} = args |> OptionParser.p...
19.826087
50
0.552632
c8e527114ea45e179d7e3a9ceb68ea12c3c371fb
468
ex
Elixir
api/lib/query_filter.ex
civica-digital/api-estados
dd1a338e4409c01994e931c29e5cc2f328e7e3f4
[ "Apache-2.0" ]
11
2017-01-20T15:54:54.000Z
2020-03-24T19:12:34.000Z
api/lib/query_filter.ex
civica-digital/api-estados
dd1a338e4409c01994e931c29e5cc2f328e7e3f4
[ "Apache-2.0" ]
13
2017-02-07T21:45:36.000Z
2017-04-13T17:38:08.000Z
api/lib/query_filter.ex
civica-digital/api-estados
dd1a338e4409c01994e931c29e5cc2f328e7e3f4
[ "Apache-2.0" ]
9
2017-03-13T19:49:04.000Z
2021-01-16T00:24:55.000Z
defmodule Api.QueryFilter do import Ecto.Query, only: [where: 2, order_by: 2, from: 2] def filter(query, model, params, filters) do where_clauses = cast(model, params, filters) query |> where(^where_clauses) end def cast(model, params, filters) do Ecto.Changeset.cast(model, params, [], filter...
22.285714
59
0.651709
c8e529d382dcd37dd212a2ca443f2f57cb30c35b
851
exs
Elixir
config/test.exs
code-shoily/miles_to_go
cf5758d3113244326651320bd19c1887677bcf51
[ "MIT" ]
6
2020-12-18T08:36:32.000Z
2021-06-13T03:02:16.000Z
config/test.exs
code-shoily/miles_to_go
cf5758d3113244326651320bd19c1887677bcf51
[ "MIT" ]
null
null
null
config/test.exs
code-shoily/miles_to_go
cf5758d3113244326651320bd19c1887677bcf51
[ "MIT" ]
null
null
null
use Mix.Config # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. c...
32.730769
74
0.756757
c8e53928bd327aa06a1fe243f3d667140bf46c91
4,138
ex
Elixir
apps/snitch_core/lib/core/data/schema/package.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_core/lib/core/data/schema/package.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_core/lib/core/data/schema/package.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule Snitch.Data.Schema.Package do @moduledoc """ Models a Package which is composed of many `PackageItem`s. """ use Snitch.Data.Schema alias Ecto.Nanoid alias Snitch.Data.Schema.Embedded.ShippingMethod, as: EmbeddedShippingMethod alias Snitch.Data.Schema.{Order, PackageItem, ShippingCategory, Shipp...
31.112782
96
0.716771
c8e5457930c92cd8c7c97a367efe61614637593c
296
ex
Elixir
lib/legacy/application.ex
pacoguzman/goth
58ed7c46e36d4ec9a79136aabf32ada72d53ccbb
[ "MIT" ]
null
null
null
lib/legacy/application.ex
pacoguzman/goth
58ed7c46e36d4ec9a79136aabf32ada72d53ccbb
[ "MIT" ]
null
null
null
lib/legacy/application.ex
pacoguzman/goth
58ed7c46e36d4ec9a79136aabf32ada72d53ccbb
[ "MIT" ]
null
null
null
defmodule Goth.Application do @moduledoc false use Application @impl true def start(_type, _args) do envs = Application.get_all_env(:goth) if envs == [] do Supervisor.start_link([], strategy: :one_for_one) else Goth.Supervisor.start_link(envs) end end end
18.5
55
0.675676
c8e561ac5834f40ff122b98a719a6d30ce4f116b
934
exs
Elixir
mix.exs
mwindholtz/test-commit-revert
edd9542e879fff35d09d57ac3c6b068c3bea637c
[ "Apache-2.0" ]
null
null
null
mix.exs
mwindholtz/test-commit-revert
edd9542e879fff35d09d57ac3c6b068c3bea637c
[ "Apache-2.0" ]
null
null
null
mix.exs
mwindholtz/test-commit-revert
edd9542e879fff35d09d57ac3c6b068c3bea637c
[ "Apache-2.0" ]
null
null
null
defmodule Tcr.MixProject do use Mix.Project def project do [ app: :tcr, version: "0.1.1", elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps() ] end #...
20.755556
78
0.584582
c8e580430c6e22c7ffca7925299ed1312aef3d34
641
ex
Elixir
lib/sanbase_web/graphql/schema/queries/widget_queries.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/schema/queries/widget_queries.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/schema/queries/widget_queries.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Schema.WidgetQueries do use Absinthe.Schema.Notation import SanbaseWeb.Graphql.Cache, only: [cache_resolve: 1] alias SanbaseWeb.Graphql.Resolvers.WidgetResolver object :widget_queries do @desc ~s""" Show all active widgets. Widgets are not intended to be active at all tim...
30.52381
81
0.73947
c8e5edb2ceb73e93594aa028f223e232b23e29d1
107
ex
Elixir
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/examples/mkdatasets/Makefile.ex
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
1,805
2015-01-06T20:01:35.000Z
2022-03-29T16:12:51.000Z
examples/mkdatasets/Makefile.ex
lizhaoqing/snap
907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5
[ "BSD-3-Clause" ]
168
2015-01-07T22:57:29.000Z
2022-03-15T01:20:24.000Z
examples/mkdatasets/Makefile.ex
lizhaoqing/snap
907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5
[ "BSD-3-Clause" ]
768
2015-01-09T02:28:45.000Z
2022-03-30T00:53:46.000Z
# # configuration variables for the example ## Main application file MAIN = mkdatasets DEPH = DEPCPP =
11.888889
41
0.728972
c8e5feb69cc4a531be76545d30dda1722b596cf3
415
exs
Elixir
priv/repo/migrations/19700101000008_schemas_asn_blocks_cidr.exs
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
1
2020-06-20T14:40:16.000Z
2020-06-20T14:40:16.000Z
priv/repo/migrations/19700101000008_schemas_asn_blocks_cidr.exs
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/19700101000008_schemas_asn_blocks_cidr.exs
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MaxMindCSV.Repo.Migrations.SchemasASNBlocksCIDR do use Ecto.Migration def change do create table("geolix_maxmind_csv_asn_blocks_cidr", primary_key: false) do add :network, :cidr add :autonomous_system_number, :integer add :autonomous_system_organization, :string e...
29.642857
80
0.761446
c8e66a62849974bb8f0363ae23deb347f10290ac
1,153
exs
Elixir
test/changelog_web/plugs/robots_test.exs
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
test/changelog_web/plugs/robots_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
test/changelog_web/plugs/robots_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule ChangelogWeb.RobotsTest do use ChangelogWeb.ConnCase alias ChangelogWeb.Plug def build_conn_with_host_and_path(host, path) do build_conn(:get, path) |> put_req_header("host", host) end test "response for changelog.com" do conn = build_conn_with_host_and_path("changelog.com", "/robot...
25.065217
72
0.679965
c8e6720783307c3cf650a5c76668c35905c8104c
535
ex
Elixir
lib/wabanex_web/views/error_view.ex
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
61
2021-06-22T00:15:59.000Z
2022-01-31T15:13:51.000Z
lib/wabanex_web/views/error_view.ex
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
1
2021-06-21T18:42:41.000Z
2021-06-21T18:42:41.000Z
lib/wabanex_web/views/error_view.ex
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
56
2021-06-21T17:17:36.000Z
2022-03-15T02:48:59.000Z
defmodule WabanexWeb.ErrorView do use WabanexWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from...
31.470588
83
0.719626
c8e708b0a1fa26d3904bbc7ab66b9f44fef66156
2,816
ex
Elixir
lib/typo_killer/files.ex
kianmeng/typo_killer
a3efa9af6c4895c32caf56787fdb7dfa2a84fb5b
[ "MIT" ]
41
2019-11-29T17:57:13.000Z
2020-12-08T05:40:25.000Z
lib/typo_killer/files.ex
adolfont/typo_killer
1336db19d38542f3d6599e4b265d4dd2d6510e82
[ "MIT" ]
24
2019-11-29T16:10:16.000Z
2021-12-20T03:18:09.000Z
lib/typo_killer/files.ex
adolfont/typo_killer
1336db19d38542f3d6599e4b265d4dd2d6510e82
[ "MIT" ]
10
2019-12-02T09:04:07.000Z
2020-11-28T14:45:26.000Z
defmodule TypoKiller.Files do @moduledoc """ Parse all files and concat path to a folder to generate a complete list of files ready to be read """ @default_options [ # Defaults to 5KiB max_size: 1024 * 5, ignore_dot_files: true, allowed_extensions: [], blocked_extensions: [], allowed_pa...
26.819048
100
0.64027
c8e715e2b6bbb172f6aadadbdf3e5d667c8b0331
1,554
ex
Elixir
test/support/model_case.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
test/support/model_case.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
test/support/model_case.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
defmodule SlackCoder.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. F...
27.263158
81
0.690476
c8e731afe6cb88eb2f2fbd5d2d2a83659adf4850
11,222
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/api/scores.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/scores.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/scores.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
40.807273
185
0.69043
c8e75c933df8263b51c872c8fe154793cce82c35
7,142
ex
Elixir
lib/mix/lib/mix/tasks/compile.app.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/mix/lib/mix/tasks/compile.app.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.app.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.App do use Mix.Task @recursive true @moduledoc """ Writes an .app file. An `.app` file is a file containing Erlang terms that defines your application. Mix automatically generates this file based on your `mix.exs` configuration. You can learn more about OTP applications by...
36.253807
135
0.655419
c8e75eced205d8db7801e39ed01616ccd80999bd
6,211
ex
Elixir
lib/code_corps/accounts/accounts.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps/accounts/accounts.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps/accounts/accounts.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Accounts do @moduledoc ~S""" Main entry-point for managing accounts. All actions to accounts should go through here. """ alias CodeCorps.{ Accounts.Changesets, Comment, GitHub.Adapters, GithubAppInstallation, GithubUser, Processor, Task, User, Repo }...
33.037234
103
0.667686
c8e77e40a3b98fad0bc3c062540bb6538a1535fe
2,264
ex
Elixir
clients/content/lib/google_api/content/v21/model/accounttax_custom_batch_response_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/accounttax_custom_batch_response_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/accounttax_custom_batch_response_entry.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...
40.428571
166
0.727915
c8e787b5abcad930e0251acac3cd517782d2e237
1,682
ex
Elixir
lib/mix/lib/mix/shell/io.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell/io.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell/io.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Shell.IO do @moduledoc """ This is Mix's default shell. It simply prints messages to stdio and stderr. """ @behaviour Mix.Shell @doc """ Prints the currently running application if it was not printed yet. """ def print_app do if name = Mix.Shell.printable_app_name do IO.pu...
21.564103
63
0.639715
c8e79742275396f6e60347b2bebe00e7994d2326
1,553
ex
Elixir
test/support/model_case.ex
kensupermen/javex
f7774e83f64980f3c1eb4b5701f46d835edd76da
[ "MIT" ]
null
null
null
test/support/model_case.ex
kensupermen/javex
f7774e83f64980f3c1eb4b5701f46d835edd76da
[ "MIT" ]
null
null
null
test/support/model_case.ex
kensupermen/javex
f7774e83f64980f3c1eb4b5701f46d835edd76da
[ "MIT" ]
null
null
null
defmodule Javex.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. For th...
26.322034
84
0.68255
c8e7aa7d0bd6de475d373fd83b261be8c591f9b9
1,919
ex
Elixir
lib/event_store/subscriptions.ex
lorenzosinisi/eventstore
62d83981ca4292a4f38d9413bed95974db528abe
[ "MIT" ]
null
null
null
lib/event_store/subscriptions.ex
lorenzosinisi/eventstore
62d83981ca4292a4f38d9413bed95974db528abe
[ "MIT" ]
1
2018-08-23T16:47:17.000Z
2018-08-23T19:56:42.000Z
lib/event_store/subscriptions.ex
stone-payments/eventstore
80d645dbfa8ffef89839b35888ccd681df2b3799
[ "MIT" ]
null
null
null
defmodule EventStore.Subscriptions do @moduledoc false alias EventStore.{Storage, Subscriptions} alias EventStore.Subscriptions.Subscription @all_stream "$all" def subscribe_to_stream(stream_uuid, subscription_name, subscriber, opts \\ []) def subscribe_to_stream(stream_uuid, subscription_name, subscrib...
34.890909
93
0.775404
c8e7b6c10c39e288af0c5079245ec966af6e5da7
1,864
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/preview_delete_game_server_cluster_response.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/preview_delete_game_server_cluster_response.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/preview_delete_game_server_cluster_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...
33.890909
119
0.745708
c8e7d306a7297a32a1fc04995a9e1c5d9b793b64
6,528
ex
Elixir
lib/infinity_one/logger/formatter.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
lib/infinity_one/logger/formatter.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
lib/infinity_one/logger/formatter.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
import Kernel, except: [inspect: 2] defmodule InfinityOne.Logger.Formatter do @moduledoc ~S""" Conveniences for formatting data for logs. This module allows developers to specify a string that serves as template for log messages, for example: $time $metadata[$level] $message\n Will print error messa...
32.157635
101
0.631587
c8e7e24cca01fdaddb69eb3c5473821460db5cc3
3,619
ex
Elixir
apps/andi/lib/andi_web/live/dataset_live_view/table.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
apps/andi/lib/andi_web/live/dataset_live_view/table.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
apps/andi/lib/andi_web/live/dataset_live_view/table.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
defmodule AndiWeb.DatasetLiveView.Table do @moduledoc """ LiveComponent for dataset table """ use Phoenix.LiveComponent import Phoenix.HTML alias Phoenix.HTML.Link def render(assigns) do ~L""" <div id="<%= @id %>" class="datasets-index__table"> <table class="datasets-table"> <thead...
41.125
226
0.661232
c8e81b413af88203192026e417c6d17d61d8668c
1,769
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_delete_worker_pool_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_delete_worker_pool_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_delete_worker_pool_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...
32.759259
167
0.762012
c8e83606ec0882f0629eadcfa4adf2a58da65876
193
exs
Elixir
spec/backends/redis_backend_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
spec/backends/redis_backend_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
spec/backends/redis_backend_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
Code.require_file "backend_examples.exs", __DIR__ defmodule PixieRedisBackendSpec do use ESpec before do: {:ok, backend: Pixie.Backend.Redis} it_behaves_like(PixieBackendExamples) end
19.3
49
0.797927
c8e83b8d26c59580fb6ca57604ad5eee9d366793
51
ex
Elixir
lib/escript_testbed.ex
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
null
null
null
lib/escript_testbed.ex
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
2
2020-07-27T00:13:11.000Z
2020-07-27T05:22:17.000Z
lib/escript_testbed.ex
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
2
2020-07-26T12:32:39.000Z
2020-07-26T23:54:13.000Z
defmodule EscriptTestbed do @moduledoc false end
12.75
27
0.823529
c8e83dac4078b4f3fd06104c809a8d6f9012bfa1
1,791
ex
Elixir
lib/cgrates_web_jsonapi/tariff_plans/tp_stat.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
lib/cgrates_web_jsonapi/tariff_plans/tp_stat.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
lib/cgrates_web_jsonapi/tariff_plans/tp_stat.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapi.TariffPlans.TpStat do use Ecto.Schema import Ecto.Changeset use EctoConditionals, repo: CgratesWebJsonapi.Repo @attributes ~w[tpid tenant custom_id filter_ids queue_length weight activation_interval ttl blocker stored min_items threshold_ids metric_ids metric_filter_...
32.563636
90
0.690117
c8e8412ef979411dfc86a81cb9e4af9466db407e
126
ex
Elixir
lib/hub/repo.ex
Poeticode/hub
39df28dd5f18fe61899b72f18935c1508dd166ee
[ "MIT" ]
null
null
null
lib/hub/repo.ex
Poeticode/hub
39df28dd5f18fe61899b72f18935c1508dd166ee
[ "MIT" ]
null
null
null
lib/hub/repo.ex
Poeticode/hub
39df28dd5f18fe61899b72f18935c1508dd166ee
[ "MIT" ]
null
null
null
defmodule Hub.Repo do use Ecto.Repo, otp_app: :hub, adapter: Ecto.Adapters.Postgres use Scrivener, page_size: 5 end
15.75
33
0.722222
c8e856bb2976b8556c4ddcca618434ee12997ab6
983
exs
Elixir
mix.exs
Money-Money-Invest/azurex
5b704dc5adc59ac569b184efa5b5a14f4d1be4c5
[ "MIT" ]
null
null
null
mix.exs
Money-Money-Invest/azurex
5b704dc5adc59ac569b184efa5b5a14f4d1be4c5
[ "MIT" ]
null
null
null
mix.exs
Money-Money-Invest/azurex
5b704dc5adc59ac569b184efa5b5a14f4d1be4c5
[ "MIT" ]
null
null
null
defmodule Azurex.MixProject do use Mix.Project def project do [ app: :azurex, version: "0.1.4", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "AzureX", source_url: "https://github....
21.369565
65
0.562564
c8e85b7450a256b48c8a38e9e1b89844c5920829
339
ex
Elixir
lib/untrusted/verify.ex
elbow-jason/untrusted
8b8108f46f34fd418f291d7c066b41241890d98a
[ "MIT" ]
1
2020-01-13T21:39:11.000Z
2020-01-13T21:39:11.000Z
lib/untrusted/verify.ex
elbow-jason/untrusted
8b8108f46f34fd418f291d7c066b41241890d98a
[ "MIT" ]
null
null
null
lib/untrusted/verify.ex
elbow-jason/untrusted
8b8108f46f34fd418f291d7c066b41241890d98a
[ "MIT" ]
null
null
null
defmodule Untrusted.Verify do @moduledoc """ This module holds functions that return booleans """ defguard is_non_neg_integer(n) when is_integer(n) and n >= 0 defguard is_positive_integer(n) when is_integer(n) and n >= 1 defguard is_negative_integer(n) when is_integer(n) and n < 0 defguard is_uint8(n) wh...
30.818182
63
0.740413
c8e88c358a5613262b33834ca296b3966444739f
1,909
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1_delete_processor_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1_delete_processor_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1_delete_processor_metadata.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...
34.089286
188
0.765322
c8e8c5130282fd5a3b51b54b238a2fcbbe1a1058
376
exs
Elixir
test/docs_test.exs
ayrat-playground/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
5
2018-04-30T09:48:17.000Z
2020-05-01T10:20:15.000Z
test/docs_test.exs
BalalaikaIndustries/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
7
2018-04-28T06:39:10.000Z
2018-04-28T07:31:59.000Z
test/docs_test.exs
ayrat-playground/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
2
2018-04-27T19:42:04.000Z
2020-05-01T10:20:02.000Z
defmodule BalalaikaBear.DocsTest do use ExUnit.Case use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney test "gets docs" do use_cassette "docs_get" do params = %{ access_token: "e215ad8bb75b336f84212421d5e93e95eb8bd513bef513d98dfd17f06835f66705b4788e8d7038205f864" } {:ok, _res...
23.5
97
0.707447
c8e8fa9a2ab2d65cea1cccd6868dc50ae6fe665c
1,583
ex
Elixir
web/controllers/api_todo_controller.ex
cncgl/phoenix-sample
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
1
2016-01-01T12:55:25.000Z
2016-01-01T12:55:25.000Z
web/controllers/api_todo_controller.ex
cncgl/phoenix-todo
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
1
2015-09-10T13:41:51.000Z
2015-09-10T13:41:51.000Z
web/controllers/api_todo_controller.ex
cncgl/phoenix-todo
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.Api.TodoController do use HelloPhoenix.Web, :controller alias HelloPhoenix.Todo plug :scrub_params, "todo" when action in [:create, :update] def index(conn, _params) do # query = from w in Todo, order_by: [asc: :id] todos = Repo.all from t in Todo, order_by: :id js...
24.734375
62
0.591282
c8e906171b596b5b6c7157fc209c0fb0c877dd86
1,750
ex
Elixir
lib/authorization/oauth.ex
zuppler/zuppler-users-client-elixir
b5c833ab1e61c134d08f197685b6bc7247fbea7b
[ "MIT" ]
null
null
null
lib/authorization/oauth.ex
zuppler/zuppler-users-client-elixir
b5c833ab1e61c134d08f197685b6bc7247fbea7b
[ "MIT" ]
null
null
null
lib/authorization/oauth.ex
zuppler/zuppler-users-client-elixir
b5c833ab1e61c134d08f197685b6bc7247fbea7b
[ "MIT" ]
null
null
null
defmodule ZupplerUsers.Auth.Oauth do @moduledoc """ This module defines the `get_user_token` method and provides functionality to get a valid token for accessing oauth protected endpoints. ## Notes * The user id is requred to generate token. ## Example: ``` {:ok, token} = ZupplerUsers.Auth.Oauth.g...
32.407407
108
0.692
c8e90cd5c65d6c82b9034628699ab504ac5807e1
3,128
ex
Elixir
lib/surgex/data_pipe/follower_sync.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
10
2017-09-15T08:55:48.000Z
2021-07-08T09:26:24.000Z
lib/surgex/data_pipe/follower_sync.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
17
2017-07-24T11:27:22.000Z
2022-01-24T22:28:18.000Z
lib/surgex/data_pipe/follower_sync.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
2
2018-04-12T15:01:00.000Z
2018-05-27T12:14:34.000Z
defmodule Surgex.DataPipe.FollowerSync do @moduledoc """ Acquires a PostgreSQL slave synchronization with a remote master. ## Usage It can be configured globally or per repo as follows: config :surgex, follower_sync_enabled: true, follower_sync_timeout: 15_000, follower_sync_int...
27.2
96
0.664003
c8e93403d8f7907570c9805279f435ef19b72880
7,736
ex
Elixir
clients/composer/lib/google_api/composer/v1beta1/model/environment_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1beta1/model/environment_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1beta1/model/environment_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
77.36
704
0.752973
c8e93a1b36bdb57e8e95e3454ed39f9024fcd8fc
172
ex
Elixir
apps/subs/lib/subs/schema.ex
gitter-badger/opensubs.io
76d5b4d355a530c8f496efe3ac2095d87f078997
[ "MIT" ]
36
2018-02-03T10:58:51.000Z
2020-09-19T20:52:17.000Z
apps/subs/lib/subs/schema.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
8
2018-01-17T17:15:48.000Z
2020-07-06T08:56:54.000Z
apps/subs/lib/subs/schema.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
10
2018-05-21T18:20:32.000Z
2022-01-29T14:25:48.000Z
defmodule Subs.Schema do @moduledoc false defmacro __using__(_) do quote do use Ecto.Schema import Ecto import Ecto.Changeset end end end
13.230769
27
0.656977
c8e93fc75b5d65959003cf69021920982ff9068c
1,585
ex
Elixir
lib/basic_web/ui_live/address_live/form_component.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
7
2021-07-14T15:45:55.000Z
2022-01-25T11:13:01.000Z
lib/basic_web/ui_live/address_live/form_component.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
10
2021-08-09T15:54:05.000Z
2022-02-17T04:18:38.000Z
lib/basic_web/ui_live/address_live/form_component.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
5
2021-07-23T05:54:35.000Z
2022-01-28T04:14:51.000Z
defmodule BasicWeb.AddressUiLive.FormComponent do use BasicWeb, :live_component alias BasicWeb.Addresses @impl true def update(%{address: address} = assigns, socket) do changeset = Addresses.change_address(address) {:ok, socket |> assign(assigns) |> assign(:changeset, changeset)} end...
28.303571
76
0.658044
c8e951deddd1dda1b91da84a7759f0bd62962171
565
ex
Elixir
lib/structs/voice_region.ex
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
6
2018-05-22T07:13:47.000Z
2019-10-17T03:40:22.000Z
lib/structs/voice_region.ex
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
2
2018-11-01T17:11:51.000Z
2019-06-15T13:33:31.000Z
lib/structs/voice_region.ex
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
2
2018-10-29T06:53:41.000Z
2019-06-14T19:15:56.000Z
defmodule Crux.Structs.VoiceRegion do @moduledoc """ Represents a Discord [Voice Region Object](https://discord.com/developers/docs/resources/voice#voice-region-object). """ @moduledoc since: "0.2.3" @behaviour Crux.Structs defstruct [ :id, :name, :vip, :optimal, :deprecated, :cust...
20.178571
118
0.569912
c8e9695f3795541eadd45738753b4f6b5a098a2f
1,743
exs
Elixir
apps/badger_web/mix.exs
andyl/logstore
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
null
null
null
apps/badger_web/mix.exs
andyl/logstore
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
9
2021-03-09T20:25:18.000Z
2021-05-27T12:58:03.000Z
apps/badger_web/mix.exs
andyl/badger
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
null
null
null
defmodule BadgerWeb.MixProject do use Mix.Project def project do [ app: :badger_web, version: "0.0.1", elixir: "~> 1.9", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixirc_paths: elixir...
27.666667
74
0.54848
c8e979fc2fd1df01cdbce16c15c4b9ce150037c9
61
exs
Elixir
test/coord_test.exs
danielzfranklin/coord
bf2fd85302128698367f4781d78baac9e534f071
[ "Apache-2.0", "MIT" ]
null
null
null
test/coord_test.exs
danielzfranklin/coord
bf2fd85302128698367f4781d78baac9e534f071
[ "Apache-2.0", "MIT" ]
null
null
null
test/coord_test.exs
danielzfranklin/coord
bf2fd85302128698367f4781d78baac9e534f071
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule CoordTest do use ExUnit.Case doctest Coord end
12.2
22
0.786885
c8e9814461bfab7854d14598559fb992c89432ec
872
ex
Elixir
clients/iam/lib/google_api/iam/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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.296296
74
0.755734