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
7488652c23e069e5346120184e7daac358b78111
1,894
ex
Elixir
clients/secret_manager/lib/google_api/secret_manager/v1/model/customer_managed_encryption.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/secret_manager/lib/google_api/secret_manager/v1/model/customer_managed_encryption.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/secret_manager/lib/google_api/secret_manager/v1/model/customer_managed_encryption.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.297872
461
0.76188
74886b5f3e1dcdb6f5999883286d590674035915
1,884
ex
Elixir
lib/new_relixir/transaction.ex
bigfive/new-relixir
2572a5e9d8b922066a643b3a9e289be5bd53ef86
[ "MIT" ]
1
2017-02-22T10:55:43.000Z
2017-02-22T10:55:43.000Z
lib/new_relixir/transaction.ex
infinitered/new-relixir
2572a5e9d8b922066a643b3a9e289be5bd53ef86
[ "MIT" ]
null
null
null
lib/new_relixir/transaction.ex
infinitered/new-relixir
2572a5e9d8b922066a643b3a9e289be5bd53ef86
[ "MIT" ]
2
2017-02-11T12:28:06.000Z
2018-09-30T18:57:15.000Z
defmodule NewRelixir.Transaction do @moduledoc """ Records information about an instrumented web transaction. """ defstruct [:name, :start_time] @typedoc "A New Relixir transaction context." @opaque t :: %__MODULE__{name: String.t, start_time: :erlang.timestamp} @typedoc "The name of a model." @type ...
28.545455
99
0.700637
7488abf6b40cb5a8f11ade7ff764d483389edc97
2,344
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/feed.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/classroom/lib/google_api/classroom/v1/model/feed.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/classroom/lib/google_api/classroom/v1/model/feed.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...
43.407407
264
0.740188
7488e17e9af50165680d6c6b7be411b448ebfb99
13,095
ex
Elixir
lib/excg/builder/excel_xml.ex
laozhp/excg
be946bc19011bf17f35d4fa01ed69ad1a0b9dcaa
[ "MIT" ]
1
2016-08-17T09:34:07.000Z
2016-08-17T09:34:07.000Z
lib/excg/builder/excel_xml.ex
laozhp/excg
be946bc19011bf17f35d4fa01ed69ad1a0b9dcaa
[ "MIT" ]
3
2015-09-17T02:47:35.000Z
2015-09-18T02:51:49.000Z
lib/excg/builder/excel_xml.ex
laozhp/excg
be946bc19011bf17f35d4fa01ed69ad1a0b9dcaa
[ "MIT" ]
null
null
null
defmodule Excg.Builder.ExcelXml do import SweetXml def update_file(excg) do filename = Path.join(excg.xml_dir, excg.filename) {doc, _rest} = :xmerl_scan.file(filename) doc = update_doc(excg, doc) xml = [:xmerl.export([doc], Excg.Builder.ExcelXml), "\n"] |> to_string |> String.repl...
32.174447
76
0.596258
7488e40078e1712159d30f51ecad0dabf5571976
28
ex
Elixir
episode10/big_project/apps/component_b/lib/component_b.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode10/big_project/apps/component_b/lib/component_b.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode10/big_project/apps/component_b/lib/component_b.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule ComponentB do end
9.333333
23
0.857143
7488e872bb54860d91a66cc87a55628eb794ec3e
3,312
exs
Elixir
mix.exs
fhunleth/nerves_system_up_board
8fc69c4ff584cbe658b5a60fe559d121ea38133b
[ "Apache-2.0" ]
3
2020-01-10T15:46:15.000Z
2021-08-16T16:28:39.000Z
mix.exs
fhunleth/nerves_system_up_board
8fc69c4ff584cbe658b5a60fe559d121ea38133b
[ "Apache-2.0" ]
null
null
null
mix.exs
fhunleth/nerves_system_up_board
8fc69c4ff584cbe658b5a60fe559d121ea38133b
[ "Apache-2.0" ]
1
2020-01-09T19:50:44.000Z
2020-01-09T19:50:44.000Z
defmodule NervesSystemUPBoard.MixProject do use Mix.Project @github_organization "fhunleth" @app :nerves_system_up_board @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ ...
24
79
0.583937
7489096bebe5d1fca4d75bbc6770f3f787a31bd3
2,316
ex
Elixir
lib/bolt/consumer/guild_ban_remove.ex
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
31
2018-12-06T23:12:33.000Z
2022-03-29T18:34:25.000Z
lib/bolt/consumer/guild_ban_remove.ex
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
18
2021-06-14T19:03:26.000Z
2022-03-15T17:46:22.000Z
lib/bolt/consumer/guild_ban_remove.ex
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
4
2018-11-07T18:52:28.000Z
2022-03-16T00:14:38.000Z
defmodule Bolt.Consumer.GuildBanRemove do @moduledoc "Handles the `GUILD_BAN_REMOVE` event." alias Bolt.Events.Handler alias Bolt.{ModLog, Repo} alias Bolt.Schema.Infraction alias Nostrum.Struct.{Guild, User} import Ecto.Query, only: [from: 2] @spec handle(Guild.id(), %{ guild_id: Guild.id(), ...
30.88
98
0.578152
74891266a62839af9ef7cca77eda37fd1f97b07d
1,225
ex
Elixir
lib/gestalt/macros.ex
livinginthepast/elixir-gestalt
7082e5b663b9373d3728e7d3538f67f3c9b86bfa
[ "Apache-2.0" ]
5
2020-08-05T19:24:41.000Z
2022-02-09T02:12:20.000Z
lib/gestalt/macros.ex
livinginthepast/elixir-gestalt
7082e5b663b9373d3728e7d3538f67f3c9b86bfa
[ "Apache-2.0" ]
2
2020-07-09T21:53:46.000Z
2020-07-15T23:05:57.000Z
lib/gestalt/macros.ex
livinginthepast/elixir-gestalt
7082e5b663b9373d3728e7d3538f67f3c9b86bfa
[ "Apache-2.0" ]
1
2020-07-09T21:06:18.000Z
2020-07-09T21:06:18.000Z
defmodule Gestalt.Macros do @moduledoc """ Provides macros that execute Gestalt code only in the :test Mix environment. In other environments, Gestalt is compiled out and either Application or System is used. ## Usage defmodule MyApp.Config do use Gestalt def config_value(), ...
25.520833
78
0.62449
748920ad44007cba502d1440d76f61b013fa4820
25,023
exs
Elixir
test/mailroom/inbox_test.exs
chess4ever/mailroom
314b5f954453a9c86ff1aeebca4a941124f78cd6
[ "MIT" ]
15
2016-10-03T18:03:29.000Z
2021-11-26T14:36:14.000Z
test/mailroom/inbox_test.exs
chess4ever/mailroom
314b5f954453a9c86ff1aeebca4a941124f78cd6
[ "MIT" ]
7
2016-11-03T21:51:13.000Z
2021-12-07T14:45:37.000Z
test/mailroom/inbox_test.exs
chess4ever/mailroom
314b5f954453a9c86ff1aeebca4a941124f78cd6
[ "MIT" ]
5
2016-11-03T21:20:27.000Z
2021-11-18T13:37:52.000Z
defmodule Mailroom.InboxTest do use ExUnit.Case, async: true alias Mailroom.TestServer @debug false defmodule TestMailProcessor do def match_subject_regex(%{id: msg_id, assigns: %{test_pid: pid}}) do send(pid, {:matched_subject_regex, msg_id}) :delete end def match_subject_string(%{i...
43.068847
1,206
0.582544
748948a7c4ef084ad6f31a1f62da88a8f2c4e934
840
exs
Elixir
test/qoix/image_test.exs
kianmeng/qoix
6ef5b50c065994dc3e276143dac97aa16535a219
[ "Apache-2.0" ]
18
2021-12-06T12:46:35.000Z
2021-12-28T07:00:16.000Z
test/qoix/image_test.exs
kianmeng/qoix
6ef5b50c065994dc3e276143dac97aa16535a219
[ "Apache-2.0" ]
2
2021-12-21T14:20:31.000Z
2022-01-06T11:50:59.000Z
test/qoix/image_test.exs
kianmeng/qoix
6ef5b50c065994dc3e276143dac97aa16535a219
[ "Apache-2.0" ]
1
2021-12-27T09:46:11.000Z
2021-12-27T09:46:11.000Z
defmodule Qoix.ImageTest do use ExUnit.Case use ExUnitProperties doctest Qoix import Qoix.Generators alias Qoix.Image describe "from_rgb/3" do property "simply wraps the passed arguments, adding the correct format" do check all {width, height, rgb_pixels} <- rgb_image_data_generator() do ...
31.111111
90
0.675
7489599bfc295d7a63d85ec84af8db7399976098
337
ex
Elixir
lib/graphql_server/repository/post.ex
MThomassen/graphql-server-benchmark-absinthe-
b2e0bdeeb135ffc2d83d67fe4aea19025dc9a6e6
[ "Apache-2.0" ]
null
null
null
lib/graphql_server/repository/post.ex
MThomassen/graphql-server-benchmark-absinthe-
b2e0bdeeb135ffc2d83d67fe4aea19025dc9a6e6
[ "Apache-2.0" ]
null
null
null
lib/graphql_server/repository/post.ex
MThomassen/graphql-server-benchmark-absinthe-
b2e0bdeeb135ffc2d83d67fe4aea19025dc9a6e6
[ "Apache-2.0" ]
null
null
null
defmodule GraphqlServer.Repository.Post do alias GraphqlServer.Repository.Comment use Ecto.Schema @primary_key {:id, :id, autogenerate: true} schema "posts" do field :title, :string field :content, :string field :author_id, :integer has_many :comments, Comment, foreign_key: :post_id, reference...
24.071429
71
0.724036
748962be516ba897bfaa787908bb9d5acb1ae1ec
2,156
ex
Elixir
clients/manufacturers/lib/google_api/manufacturers/v1/deserializer.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/manufacturers/lib/google_api/manufacturers/v1/deserializer.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/manufacturers/lib/google_api/manufacturers/v1/deserializer.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...
35.933333
139
0.688776
74896eea55eced860db4715a3b0f87b5bbaf25f9
4,188
ex
Elixir
lib/codes/codes_q27.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_q27.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_q27.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_Q27 do alias IcdCode.ICDCode def _Q270 do %ICDCode{full_code: "Q270", category_code: "Q27", short_code: "0", full_name: "Congenital absence and hypoplasia of umbilical artery", short_name: "Congenital absence and hypoplasia of umbilical arte...
36.417391
97
0.645893
7489869218c6ece6fa351447be2695e7195d7f4f
677
ex
Elixir
lib/swagger/client/model/recording_finished.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/model/recording_finished.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/model/recording_finished.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
1
2018-10-27T07:10:02.000Z
2018-10-27T07:10:02.000Z
# 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 Swagger.Client.Model.RecordingFinished do @moduledoc """ Event showing the completion of a recording operation. """ @derive [Poison.Encod...
24.178571
86
0.728213
748990f906eeca253352287c7d72a2a56624d9a4
1,654
ex
Elixir
apps/demon_spirit_web/lib/demon_spirit_web/endpoint.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
12
2019-09-17T13:47:57.000Z
2021-12-11T17:11:11.000Z
apps/demon_spirit_web/lib/demon_spirit_web/endpoint.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
181
2019-10-15T01:21:44.000Z
2021-08-31T19:26:54.000Z
apps/demon_spirit_web/lib/demon_spirit_web/endpoint.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
2
2020-07-11T02:18:46.000Z
2021-05-31T10:46:39.000Z
defmodule DemonSpiritWeb.Endpoint do use Phoenix.Endpoint, otp_app: :demon_spirit_web @session_options [ store: :cookie, key: "_demon_spirit_web_key", signing_salt: "xh+R/LzW" ] socket("/live", Phoenix.LiveView.Socket, websocket: [connect_info: [session: @session_options]]) socket("/socket", De...
27.114754
98
0.711004
7489961582039ceb8575fb42bd3918aa72535734
67
ex
Elixir
lib/hightopics_web/views/page_view.ex
a-sac/HighTopics
e99b2cc517d5b552bc7f44aae9774357c8bb427b
[ "MIT" ]
null
null
null
lib/hightopics_web/views/page_view.ex
a-sac/HighTopics
e99b2cc517d5b552bc7f44aae9774357c8bb427b
[ "MIT" ]
null
null
null
lib/hightopics_web/views/page_view.ex
a-sac/HighTopics
e99b2cc517d5b552bc7f44aae9774357c8bb427b
[ "MIT" ]
null
null
null
defmodule HightopicsWeb.PageView do use HightopicsWeb, :view end
16.75
35
0.820896
7489a83cf34d44173d0df095a8665412d641c3c8
1,933
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/deal_terms_rubicon_non_guaranteed_terms.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/deal_terms_rubicon_non_guaranteed_terms.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/deal_terms_rubicon_non_guaranteed_terms.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.173077
156
0.758407
7489ca2e59476a33d1c1cd2a756b1249c2c6d5fe
141
exs
Elixir
config/environment/dev.exs
rill-project/rill
16d35f9dda1ec58190fa6bda9923372834ab456b
[ "MIT" ]
1
2022-01-26T15:06:14.000Z
2022-01-26T15:06:14.000Z
config/environment/dev.exs
rill-project/rill
16d35f9dda1ec58190fa6bda9923372834ab456b
[ "MIT" ]
null
null
null
config/environment/dev.exs
rill-project/rill
16d35f9dda1ec58190fa6bda9923372834ab456b
[ "MIT" ]
null
null
null
use Mix.Config config :logger, backends: [Scribble], utc_log: true, compile_time_purge_matching: [ [level_lower_than: :debug] ]
15.666667
32
0.702128
748a1e8e1df344d084df829431d6186061cbbfe5
2,220
exs
Elixir
config/config.exs
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "MIT" ]
null
null
null
config/config.exs
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "MIT" ]
null
null
null
config/config.exs
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "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 require Logger Logger.info("Loaded config.exs") ...
35.238095
113
0.744144
748a22964a5ed88447d596af23f868466c2f77a4
4,017
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/comment.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/comment.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/comment.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
50.2125
276
0.682101
748a3ac16a99b74eb83610813f8f5af269a32b5a
1,145
exs
Elixir
test/pow_assent/strategies/instagram_test.exs
danhunsaker/pow_assent
c572883b5c8f89561faee0a220ddf06de98f7415
[ "MIT" ]
null
null
null
test/pow_assent/strategies/instagram_test.exs
danhunsaker/pow_assent
c572883b5c8f89561faee0a220ddf06de98f7415
[ "MIT" ]
null
null
null
test/pow_assent/strategies/instagram_test.exs
danhunsaker/pow_assent
c572883b5c8f89561faee0a220ddf06de98f7415
[ "MIT" ]
null
null
null
defmodule PowAssent.Strategy.InstagramTest do use PowAssent.Test.OAuth2TestCase alias PowAssent.Strategy.Instagram @user_response %{ "id" => "1574083", "username" => "snoopdogg", "full_name" => "Snoop Dogg", "profile_picture" => "..." } @user %{ "image" => "...", "name" => "Snoop Dog...
29.358974
132
0.648908
748a3b08a927941693170eedd99a0718a6898546
778
ex
Elixir
lib/sengo_web/controllers/user_session_controller.ex
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
lib/sengo_web/controllers/user_session_controller.ex
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
lib/sengo_web/controllers/user_session_controller.ex
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
defmodule SengoWeb.UserSessionController do use SengoWeb, :controller alias Sengo.Accounts alias SengoWeb.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} = user_params ...
27.785714
101
0.699229
748a4b47f03b97fd10b60c359fb2efba59304ae5
97
exs
Elixir
config/config.exs
aforward-oss/elixir-nats
f41f8181e8e98fab0b6ce95ebbff8db54a6a4037
[ "MIT" ]
null
null
null
config/config.exs
aforward-oss/elixir-nats
f41f8181e8e98fab0b6ce95ebbff8db54a6a4037
[ "MIT" ]
null
null
null
config/config.exs
aforward-oss/elixir-nats
f41f8181e8e98fab0b6ce95ebbff8db54a6a4037
[ "MIT" ]
null
null
null
# Copyright 2016 Apcera Inc. All rights reserved. use Mix.Config config :logger, level: :error
16.166667
49
0.752577
748a569982b04bf93bb3b9cba1d698a55838a7ae
599
ex
Elixir
lib/parser/autonomous_du_state_change_complete.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
lib/parser/autonomous_du_state_change_complete.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
lib/parser/autonomous_du_state_change_complete.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defmodule CWMP.Protocol.Parser.Messages.AutonomousDUStateChangeComplete do use CWMP.Protocol.ParserHelpers alias CWMP.Protocol.Messages.AutonomousDUStateChangeComplete def initial_acc do %AutonomousDUStateChangeComplete{} end def start_element(state, ['AutonOpResultStruct', 'Results'], _attribs, _uri) ...
29.95
117
0.781302
748a6bbcb4b903011f677178263f326bd6564fea
1,972
exs
Elixir
config/prod.exs
tahmidsadik112/bloom
edf9995535cdb189b47addb7aee7311f590c5a87
[ "MIT" ]
null
null
null
config/prod.exs
tahmidsadik112/bloom
edf9995535cdb189b47addb7aee7311f590c5a87
[ "MIT" ]
null
null
null
config/prod.exs
tahmidsadik112/bloom
edf9995535cdb189b47addb7aee7311f590c5a87
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
31.806452
67
0.710953
748a9da8a3ffd2bbf9c2cffb082d250508944909
1,492
ex
Elixir
lib/models/random_failure.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
lib/models/random_failure.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
lib/models/random_failure.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
defmodule SlackCoder.Models.RandomFailure do use SlackCoder.Web, :model alias SlackCoder.Models.RandomFailure.{RunType, CISystem, FailureLog} schema "random_failures" do field :owner, :string field :repo, :string field :pr, :integer field :sha, :string field :file, :string field :line, :s...
28.150943
107
0.669571
748adab74db52f46afb974889637e923bd100c26
4,070
ex
Elixir
lib/console_web/controllers/alert_controller.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
lib/console_web/controllers/alert_controller.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
lib/console_web/controllers/alert_controller.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule ConsoleWeb.AlertController do use ConsoleWeb, :controller alias Console.Alerts alias Console.Alerts.Alert alias Console.Alerts.AlertNode plug ConsoleWeb.Plug.AuthorizeAction when action not in [:accept] action_fallback(ConsoleWeb.FallbackController) def create(conn, %{"alert" => alert_params...
40.29703
150
0.690663
748ae2ee163e2797329ca4393f70497bc8fb76b2
559
ex
Elixir
lib/heat_tags/message.ex
JohnnyCancilier/heat_tags
48ce5aa38fe4c069b7b59df48fdec4f28082668b
[ "MIT" ]
1
2022-01-11T01:05:38.000Z
2022-01-11T01:05:38.000Z
lib/heat_tags/message.ex
JohnnyCancilier/heat_tags
48ce5aa38fe4c069b7b59df48fdec4f28082668b
[ "MIT" ]
null
null
null
lib/heat_tags/message.ex
JohnnyCancilier/heat_tags
48ce5aa38fe4c069b7b59df48fdec4f28082668b
[ "MIT" ]
null
null
null
defmodule HeatTags.Message do use Ecto.Schema import Ecto.Changeset @required_params [:message, :username, :email] @derive {Jason.Encoder, only: [:id] ++ @required_params} schema "messages" do field :message, :string field :username, :string field :email, :string timestamps() end def ...
21.5
58
0.660107
748b23a3543eeca7528b22e69771ce4ee1c23a18
1,925
exs
Elixir
test/wobserver2/util/metrics_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
test/wobserver2/util/metrics_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
test/wobserver2/util/metrics_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
defmodule Wobserver2.Util.MetricsTest do use ExUnit.Case alias Wobserver2.Util.Metrics describe "overview" do test "returns a list" do assert is_list(Metrics.overview()) end test "returns a keyword list" do assert Keyword.keyword?(Metrics.overview()) end end describe "register"...
24.679487
90
0.568831
748b703e26212d8f6794ccc353a487d364899d00
1,289
ex
Elixir
lib/level/connections/space_users.ex
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
lib/level/connections/space_users.ex
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
lib/level/connections/space_users.ex
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
defmodule Level.Connections.SpaceUsers do @moduledoc """ A paginated connection for fetching spaces a user belongs to. """ import Ecto.Query import Level.Gettext alias Level.Pagination alias Level.Pagination.Args alias Level.Repo alias Level.Spaces defstruct first: nil, last: nil, ...
26.854167
94
0.59969
748b7f77f344eb66f7a4d8382b84886a4a8287e0
1,120
ex
Elixir
lib/full_stackory_slack_web/channels/user_socket.ex
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
null
null
null
lib/full_stackory_slack_web/channels/user_socket.ex
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
2
2021-03-10T06:19:38.000Z
2021-05-11T02:11:14.000Z
lib/full_stackory_slack_web/channels/user_socket.ex
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
null
null
null
defmodule FullStackorySlackWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", FullStackorySlackWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will b...
32
92
0.7
748b880ab8b5fb5d83ab20c210a175bf9b88ae0a
2,069
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__prediction_output.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__prediction_output.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__prediction_output.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.946429
135
0.720155
748ba58db20cebcef2da4c4c6d9e98f0665c183c
967
ex
Elixir
test/support/slack_test_message_forwarder.ex
zvkemp/elixir-bot-server
0db6b6ce57ddccaac980bf659eb2d540a077de38
[ "MIT" ]
8
2016-03-15T17:15:26.000Z
2021-12-11T11:21:53.000Z
test/support/slack_test_message_forwarder.ex
zvkemp/elixir-bot-server
0db6b6ce57ddccaac980bf659eb2d540a077de38
[ "MIT" ]
1
2017-10-15T20:13:15.000Z
2017-10-15T20:13:15.000Z
test/support/slack_test_message_forwarder.ex
zvkemp/elixir-bot-server
0db6b6ce57ddccaac980bf659eb2d540a077de38
[ "MIT" ]
null
null
null
defmodule Slack.TestMessageForwarder do use GenServer import Slack.BotRegistry @spec start_as(Slack.Bot.bot_name, atom, function | nil) :: GenServer.on_start() def start_as(name, role, mapping_fun \\ default_mapping_fun) do start_link(registry_key(name, role), self(), role, mapping_fun) end @spec star...
26.135135
82
0.702172
748bc30ff6a4b66d6852a3e66c143597e58309cb
1,010
exs
Elixir
test/defopaque_test.exs
pzel/defopaque
054b1a70ed9b7a766f091d8e367d56d9d89446fb
[ "BSD-3-Clause" ]
5
2020-04-26T21:05:02.000Z
2020-06-14T21:46:41.000Z
test/defopaque_test.exs
pzel/defopaque
054b1a70ed9b7a766f091d8e367d56d9d89446fb
[ "BSD-3-Clause" ]
null
null
null
test/defopaque_test.exs
pzel/defopaque
054b1a70ed9b7a766f091d8e367d56d9d89446fb
[ "BSD-3-Clause" ]
null
null
null
defmodule DefopaqueTest do use ExUnit.Case doctest Defopaque test "it creates opaque struct" do defmodule M do use Defopaque defopaque(:email, String.t()) def f(s), do: email(s) end assert {kons, "hello"} = M.f("hello") assert kons == :"2b5ee5717f7cd8908c0ddb850c-email" end ...
21.041667
54
0.589109
748bcf03bd9fcd061bff82f696df51f9f5c5673f
909
ex
Elixir
lib/epicenter_web/live_component/investigation_notes_section.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter_web/live_component/investigation_notes_section.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter_web/live_component/investigation_notes_section.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.InvestigationNotesSection do use EpicenterWeb, :live_component alias EpicenterWeb.InvestigationNoteComponent alias EpicenterWeb.InvestigationNoteForm def render(assigns) do # TODO: we should have a nice way of automatically providing @key or @id regardless of whether the component i...
37.875
168
0.70187
748c000f38f4e25134e590c020ef73658aee3316
954
ex
Elixir
lib/wiki.ex
jabaraster/elixir_wiki
e8197a1f48c4ebfdbb209e74b01e76abb6d9fe68
[ "MIT" ]
null
null
null
lib/wiki.ex
jabaraster/elixir_wiki
e8197a1f48c4ebfdbb209e74b01e76abb6d9fe68
[ "MIT" ]
null
null
null
lib/wiki.ex
jabaraster/elixir_wiki
e8197a1f48c4ebfdbb209e74b01e76abb6d9fe68
[ "MIT" ]
null
null
null
defmodule Wiki do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(Wiki.Endpoin...
30.774194
71
0.704403
748c0ba102b0b0a65a3829583694389225e08fd6
156
exs
Elixir
codefights/elixir/extra_number/code.exs
lowks/levelup
805e48cbf33d48616f55ef1b3740bb15b548054d
[ "MIT" ]
null
null
null
codefights/elixir/extra_number/code.exs
lowks/levelup
805e48cbf33d48616f55ef1b3740bb15b548054d
[ "MIT" ]
39
2018-04-15T12:36:36.000Z
2018-09-16T15:31:50.000Z
codefights/elixir/extra_number/code.exs
lowks/levelup
805e48cbf33d48616f55ef1b3740bb15b548054d
[ "MIT" ]
null
null
null
def extraNumber(a, b, c) when (b == c) do a end def extraNumber(a, b, c) when (a == c) do b end def extraNumber(a, b, c) when (a == b) do c end
15.6
41
0.557692
748c12e78ccf80e82406122accf26a8f8622127c
2,359
exs
Elixir
test/oli/utils/schema_resolver_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
test/oli/utils/schema_resolver_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
test/oli/utils/schema_resolver_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Utils.SchemaResolverTest do use Oli.DataCase describe "schema resolver" do test "activity-bank-selection schema", _ do %ExJsonSchema.Schema.Root{} = "#{:code.priv_dir(:oli)}/schemas/v0-1-0/activity-bank-selection.schema.json" |> File.read!() |> Jason.decode!() ...
30.24359
84
0.580331
748c138d993c7cb8372dc6af9cf223ee5b986dea
50
exs
Elixir
test/aether_lens_test.exs
ElaWorkshop/AetherLens
7d8ebd71c3738c1ebe9f1d73d291d8bbb5187481
[ "MIT" ]
null
null
null
test/aether_lens_test.exs
ElaWorkshop/AetherLens
7d8ebd71c3738c1ebe9f1d73d291d8bbb5187481
[ "MIT" ]
null
null
null
test/aether_lens_test.exs
ElaWorkshop/AetherLens
7d8ebd71c3738c1ebe9f1d73d291d8bbb5187481
[ "MIT" ]
null
null
null
defmodule AetherLensTest do use ExUnit.Case end
12.5
27
0.82
748c32e8c6811d0c147d887163064a889663b36a
1,033
ex
Elixir
lib/hexpm/repository/package_metadata.ex
Jks15063/hexpm
3d58dac138e1eeaf16c2ce07b6e6ffdcb0be0e7b
[ "Apache-2.0" ]
2
2020-03-01T18:23:33.000Z
2021-01-15T10:15:45.000Z
lib/hexpm/repository/package_metadata.ex
Jks15063/hexpm
3d58dac138e1eeaf16c2ce07b6e6ffdcb0be0e7b
[ "Apache-2.0" ]
3
2020-06-30T11:24:41.000Z
2020-08-05T15:47:34.000Z
lib/hexpm/repository/package_metadata.ex
Jks15063/hexpm
3d58dac138e1eeaf16c2ce07b6e6ffdcb0be0e7b
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repository.PackageMetadata do use Hexpm.Schema @derive HexpmWeb.Stale embedded_schema do field :description, :string field :licenses, {:array, :string} field :links, {:map, :string} field :maintainers, {:array, :string} field :extra, :map end def changeset(meta, params, ...
23.477273
73
0.657309
748c5dc96d1a57a01e1e41f63364cfca22917bd8
79
exs
Elixir
test/test_helper.exs
myskoach/events
84e270b9f4546a32a033cc2cba3e3961b9a86a75
[ "MIT" ]
null
null
null
test/test_helper.exs
myskoach/events
84e270b9f4546a32a033cc2cba3e3961b9a86a75
[ "MIT" ]
null
null
null
test/test_helper.exs
myskoach/events
84e270b9f4546a32a033cc2cba3e3961b9a86a75
[ "MIT" ]
null
null
null
Mimic.copy(Forum.PubSub.MockPubSub) Mimic.copy(Phoenix.PubSub) ExUnit.start()
15.8
35
0.797468
748c6d998aeb3a198ecfaf755ae07b0b5b5999ad
858
ex
Elixir
apps/ut_monitor_lib/lib/ut_monitor_lib/hardware_supervisor.ex
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
1
2017-02-10T17:41:02.000Z
2017-02-10T17:41:02.000Z
apps/ut_monitor_lib/lib/ut_monitor_lib/hardware_supervisor.ex
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
null
null
null
apps/ut_monitor_lib/lib/ut_monitor_lib/hardware_supervisor.ex
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
null
null
null
defmodule UtMonitorLib.HardwareSupervisor do @moduledoc false require Logger use Supervisor def start_link(hardware_config) do Supervisor.start_link(__MODULE__, [hardware_config], name: __MODULE__) end def init([hardware_config]) do Logger.info "Starting Hardware Supervisor" children = [ ...
28.6
91
0.721445
748c7a741f4c198f9782fe131543a7be7c4b9dac
6,474
exs
Elixir
test/docdog_web/controllers/document_controller_test.exs
wunsh/docdog-engine
a3044d21a6ac00098a295249358a367059453b8d
[ "MIT" ]
40
2017-04-19T15:35:42.000Z
2020-02-14T11:07:44.000Z
test/docdog_web/controllers/document_controller_test.exs
wunsh/docdog-engine
a3044d21a6ac00098a295249358a367059453b8d
[ "MIT" ]
43
2017-01-17T23:03:47.000Z
2018-08-16T01:25:24.000Z
test/docdog_web/controllers/document_controller_test.exs
wunsh/docdog-engine
a3044d21a6ac00098a295249358a367059453b8d
[ "MIT" ]
6
2018-02-15T09:43:15.000Z
2018-04-10T21:08:36.000Z
defmodule DocdogWeb.DocumentControllerTest do use DocdogWeb.ConnCase import Docdog.Factory @create_attrs string_params_for(:document) @invalid_attrs %{"name" => nil} setup do user = insert(:user) another_user = insert(:user) conn = build_conn() |> assign(:current_user, user) c...
31.125
105
0.666049
748c7f778e60b6eba269afbb8e7a9afe02866b6e
3,012
ex
Elixir
src/app/validation/lib/architecture/validation.ex
sosedoff/coda
f1c2b807dc608d637c6f7ab933b527f16b413b22
[ "Apache-2.0" ]
2
2020-11-14T20:16:02.000Z
2021-08-19T12:44:52.000Z
src/app/validation/lib/architecture/validation.ex
sosedoff/coda
f1c2b807dc608d637c6f7ab933b527f16b413b22
[ "Apache-2.0" ]
11
2021-09-02T10:10:36.000Z
2022-02-27T08:56:41.000Z
src/app/validation/lib/architecture/validation.ex
sosedoff/coda
f1c2b807dc608d637c6f7ab933b527f16b413b22
[ "Apache-2.0" ]
null
null
null
defmodule Architecture.Validation do @moduledoc "Behaviour for validations." alias Architecture.AlertServer alias Architecture.Resource alias Architecture.ResourceSet alias Architecture.Statistic alias Architecture.Validation require Logger @callback statistic :: module @callback validate(Resource....
25.74359
82
0.647742
748c9da6f913dc87592f71b8f08a85a9ecec9f22
839
exs
Elixir
elixir/getting-started/5_binaries_strings_charlists.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
elixir/getting-started/5_binaries_strings_charlists.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
elixir/getting-started/5_binaries_strings_charlists.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
# Binaries, strings and Charlits # === Strings === # Elixir uses Unicode stored UTF-8 to encode. string = "hełło" # counts the raw bytes byte_size(string) # 7 # counts the characters String.length(string) # 5 # get the character's code point ?a # 97 # split the characters String.codepoints("hełło") # === Binarie...
16.78
52
0.63528
748ca9dafae8354994600fd8bf1e758eced6cf2c
221
ex
Elixir
lib/otp_supervisors_1/lib/otp_supervisors_1.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
lib/otp_supervisors_1/lib/otp_supervisors_1.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
1
2020-01-28T00:19:53.000Z
2020-01-28T00:19:53.000Z
lib/otp_supervisors_1/lib/otp_supervisors_1.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
defmodule OtpSupervisors1 do @moduledoc """ Documentation for OtpSupervisors1. """ @doc """ Hello world. ## Examples iex> OtpSupervisors1.hello :world """ def hello do :world end end
11.631579
36
0.615385
748cc9e6ade1653bb0b92a8dccdcee9f5c574b18
57,198
ex
Elixir
lib/elixir/lib/module.ex
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
1
2018-10-02T13:55:29.000Z
2018-10-02T13:55:29.000Z
lib/elixir/lib/module.ex
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
31.068984
113
0.657051
748ccdc5189acc6090fc187cd60f37ac2a1fa95a
6,351
ex
Elixir
lib/elixir/lib/macro/env.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/macro/env.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/macro/env.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
defmodule Macro.Env do @moduledoc """ A struct that holds compile time environment information. The current environment can be accessed at any time as `__ENV__/0`. Inside macros, the caller environment can be accessed as `__CALLER__/0`. An instance of `Macro.Env` must not be modified by hand. If you need ...
29.816901
82
0.645095
748ce316ea36a72c8fbe2b147cfdacaa246a56f7
3,109
exs
Elixir
test/serum/site_builder_test.exs
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
test/serum/site_builder_test.exs
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
test/serum/site_builder_test.exs
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
defmodule SiteBuilderTest do use ExUnit.Case, async: true alias Serum.ProjectInfo alias Serum.SiteBuilder setup_all do pid = spawn_link __MODULE__, :looper, [] on_exit fn -> send pid, :stop end {:ok, [null_io: pid]} end test "starting and stopping" do Process.flag :trap_exit, true {:ok...
31.72449
77
0.616275
748ce6400519512e135bacc207b4ab0c41624395
1,495
exs
Elixir
test/redis_hash_test.exs
ephe-meral/ex_sider
b34fa3457340606b0f36b95f050c1698b23b5a5e
[ "WTFPL" ]
6
2016-05-19T12:35:21.000Z
2020-04-25T11:55:48.000Z
test/redis_hash_test.exs
ephe-meral/ex_sider
b34fa3457340606b0f36b95f050c1698b23b5a5e
[ "WTFPL" ]
4
2016-05-18T13:04:19.000Z
2016-08-15T12:40:50.000Z
test/redis_hash_test.exs
ephe-meral/ex_sider
b34fa3457340606b0f36b95f050c1698b23b5a5e
[ "WTFPL" ]
null
null
null
defmodule RedisHashTest do use ExUnit.Case, async: true setup context do redis_hash = RedisHash.new(context[:test]) test_map = %{"hola" => "hi", "abc" => 1, "def" => 1, "list" => [1, :"2", "3"]} {:ok, [redis_hash: redis_hash, test_map: test_map]} end # Tests test "pull and push", %{redis_hash: ...
29.313725
114
0.587291
748d27853df17a1aaa983be2d61f79c159c64b40
615
ex
Elixir
list_length/lib/list_length.ex
vscGabriel/ListLength
38e605cb0c671d678457f2595164144bafb9718d
[ "MIT" ]
null
null
null
list_length/lib/list_length.ex
vscGabriel/ListLength
38e605cb0c671d678457f2595164144bafb9718d
[ "MIT" ]
null
null
null
list_length/lib/list_length.ex
vscGabriel/ListLength
38e605cb0c671d678457f2595164144bafb9718d
[ "MIT" ]
null
null
null
defmodule ListLength do # def call_enum(list), do: Enum.count(list) def call(list), do: count(list, 0) defp count([], acc), do: acc defp count([_head | tail], acc) do acc = acc + 1 count(tail, acc) end end # "Teste de mesa" # [0,1,2,3,4],0 # 1 ex: [0,1,2,3,4] hd: 0, tl: [1,2,3,4],0 -> acc = 0 + 1,...
27.954545
77
0.487805
748d3b35f57e8c508e4579ba453b27b49de5d7b9
86,125
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/api/enterprises.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/api/enterprises.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/api/enterprises.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...
44.440144
598
0.609115
748d6869bc9e02c0fb6d11e5e6ccb3e4b59ca1f4
503
exs
Elixir
config/prod.exs
jusroberts/pingpong_server
fd090413076c84e4f7297349d4c9fd6323bd1ddf
[ "MIT" ]
null
null
null
config/prod.exs
jusroberts/pingpong_server
fd090413076c84e4f7297349d4c9fd6323bd1ddf
[ "MIT" ]
null
null
null
config/prod.exs
jusroberts/pingpong_server
fd090413076c84e4f7297349d4c9fd6323bd1ddf
[ "MIT" ]
null
null
null
use Mix.Config config :pingpong_server, PingpongServer.Endpoint, http: [port: {:system, "PORT"}], url: [scheme: "https", host: "safe-reaches-52945.herokuapp.com", port: 443], force_ssl: [rewrite_on: [:x_forwarded_proto]], cache_static_manifest: "priv/static/manifest.json", secret_key_base: System.get_env("SE...
31.4375
78
0.743539
748d6fbdd8d13b934c4ebfa27778543027a9363f
700
ex
Elixir
lib/grpc_health_checker/server.ex
hiveetoolkit/grpc-health-checker
b4067dc9fcb2ccefad5e3b1bf5fd40995c069631
[ "MIT" ]
1
2019-09-04T07:25:09.000Z
2019-09-04T07:25:09.000Z
lib/grpc_health_checker/server.ex
hiveetoolkit/grpc-health-checker
b4067dc9fcb2ccefad5e3b1bf5fd40995c069631
[ "MIT" ]
null
null
null
lib/grpc_health_checker/server.ex
hiveetoolkit/grpc-health-checker
b4067dc9fcb2ccefad5e3b1bf5fd40995c069631
[ "MIT" ]
1
2021-02-22T06:27:57.000Z
2021-02-22T06:27:57.000Z
defmodule GrpcHealthChecker.Server do @moduledoc false require Logger # API def start_link(options \\ []) do port = Application.get_env(:grpc_health_checker, :port) options = options |> Keyword.put_new(:env, %{dispatch: build_config()}) |> Keyword.put_new(:compress, true) |> ...
21.875
95
0.64
748d8bf286bc331d76303136c44546af8621ae04
374
exs
Elixir
priv/repo/migrations/20171113065742_create_pipeline_monitor.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
2
2019-03-05T16:29:10.000Z
2020-01-17T14:11:48.000Z
priv/repo/migrations/20171113065742_create_pipeline_monitor.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
3
2019-03-18T20:26:48.000Z
2020-06-25T14:31:13.000Z
priv/repo/migrations/20171113065742_create_pipeline_monitor.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
1
2018-06-16T15:32:25.000Z
2018-06-16T15:32:25.000Z
defmodule CncfDashboardApi.Repo.Migrations.CreatePipelineMonitor do use Ecto.Migration def change do create table(:pipeline_monitor) do add :pipeline_id, :integer add :running, :boolean, default: false, null: false add :release_type, :string add :pipeline_type, :string add :projec...
22
67
0.692513
748dfc336438f788535c754dcba84742afafff6a
2,838
ex
Elixir
lib/advent_of_code/day_18_a.ex
rob-brown/AdventOfCode2017
cb8a56fba4b1999820b3aec4c4f03d7094836484
[ "MIT" ]
3
2017-12-26T20:51:47.000Z
2019-05-14T04:59:38.000Z
lib/advent_of_code/day_18_a.ex
rob-brown/AdventOfCode2017
cb8a56fba4b1999820b3aec4c4f03d7094836484
[ "MIT" ]
null
null
null
lib/advent_of_code/day_18_a.ex
rob-brown/AdventOfCode2017
cb8a56fba4b1999820b3aec4c4f03d7094836484
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Day18A do def run(input) do try do input |> Stream.map(&String.trim/1) |> Stream.reject(& &1 == "") |> Stream.map(& &1 |> String.split(" ") |> process) |> Enum.to_list |> step(0, %{}) catch value -> value end end defp process([...
20.271429
72
0.507752
748e04b79b11c597c1665b1cc6f8503f768294b3
4,670
ex
Elixir
debian/manpage.sgml.ex
tarkhov/artisan-aliases
c19d17219c639b6c2e968beba23e7c6967276600
[ "MIT" ]
null
null
null
debian/manpage.sgml.ex
tarkhov/artisan-aliases
c19d17219c639b6c2e968beba23e7c6967276600
[ "MIT" ]
15
2019-06-04T19:37:15.000Z
2021-04-21T08:15:08.000Z
debian/manpage.sgml.ex
tarkhov/artisan-aliases
c19d17219c639b6c2e968beba23e7c6967276600
[ "MIT" ]
null
null
null
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Ma...
30.129032
75
0.658887
748e07e8d7a8d3169ae8628690540e303e7377cd
60,614
exs
Elixir
test/Integration/cases/repo.exs
szTheory/tds_ecto
219b712677568febe947e3c5e31437910983aa5a
[ "Apache-2.0" ]
64
2015-06-03T09:48:13.000Z
2020-04-25T08:39:49.000Z
test/Integration/cases/repo.exs
szTheory/tds_ecto
219b712677568febe947e3c5e31437910983aa5a
[ "Apache-2.0" ]
70
2015-02-13T14:00:13.000Z
2021-09-15T10:40:01.000Z
test/Integration/cases/repo.exs
szTheory/tds_ecto
219b712677568febe947e3c5e31437910983aa5a
[ "Apache-2.0" ]
50
2015-02-13T13:55:47.000Z
2020-03-03T15:34:13.000Z
Code.require_file "../support/types.exs", __DIR__ defmodule Ecto.Integration.RepoTest do use Ecto.Integration.Case, async: Application.get_env(:ecto, :async_integration_tests, true) alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.User alias Ecto.Integr...
38.387587
136
0.62771
748e09813f07d428a2b24cc03b98beb18bbe9d1b
700
ex
Elixir
web/gettext.ex
selfup/unigen_visualizer
8c80290e71ff485f815929a0fe7269034345fea4
[ "MIT" ]
null
null
null
web/gettext.ex
selfup/unigen_visualizer
8c80290e71ff485f815929a0fe7269034345fea4
[ "MIT" ]
null
null
null
web/gettext.ex
selfup/unigen_visualizer
8c80290e71ff485f815929a0fe7269034345fea4
[ "MIT" ]
null
null
null
defmodule UniApi.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import UniApi.Gettext # Simple translation gettext "Here is the strin...
28
72
0.677143
748e16fd8a9b55a609b59c07919de43c2149841c
1,467
ex
Elixir
lib/bahn_ex/request.ex
pfitz/bahn_ex
4948e9107a37d4ee3027226578b958059a88524c
[ "MIT" ]
null
null
null
lib/bahn_ex/request.ex
pfitz/bahn_ex
4948e9107a37d4ee3027226578b958059a88524c
[ "MIT" ]
null
null
null
lib/bahn_ex/request.ex
pfitz/bahn_ex
4948e9107a37d4ee3027226578b958059a88524c
[ "MIT" ]
null
null
null
defmodule BahnEx.Request do @moduledoc """ Generates the request to the DB Fahrplan API """ alias BahnEx.Config @header %{"Authorization" => "Bearer #{Config.get_api_key()}", "Accept" => "Application/json; Charset=utf-8"} @base_url "https://api.deutschebahn.com/fahrplan-plus/v1/" @spec location(String....
29.34
115
0.642808
748e5430a1208b919c1b6884edb7b173ce705d6c
1,367
ex
Elixir
lib/api/base.ex
kouwasi/steam_ex
b06469ad5bce8da60b4436f842b57287cb1db18f
[ "MIT" ]
2
2018-08-25T10:50:04.000Z
2018-10-02T02:05:01.000Z
lib/api/base.ex
kouwasi/steam_ex
b06469ad5bce8da60b4436f842b57287cb1db18f
[ "MIT" ]
null
null
null
lib/api/base.ex
kouwasi/steam_ex
b06469ad5bce8da60b4436f842b57287cb1db18f
[ "MIT" ]
1
2018-10-02T02:05:04.000Z
2018-10-02T02:05:04.000Z
defmodule SteamEx.API.Base do @moduledoc """ Provides basic and common functionalities for Steam Web API. """ alias SteamEx.Response @baseurl "https://api.steampowered.com/" @doc """ Send API request, then return SteamEx.Reponse """ def request(method, path, access_key \\ nil, params \\ %{}, header...
27.34
91
0.627652
748e7fc6263d379f0369d26d6f2bc353d807cceb
910
ex
Elixir
lib/web/router.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
lib/web/router.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
lib/web/router.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
defmodule Web.Router do use Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers plug Web.Plugs.FetchUser end pipeline :api do plug :accepts, ["json"] end scope "/", Web do ...
25.277778
93
0.671429
748e88c895c39a0b9d057e9bf379c3807df0413d
1,767
ex
Elixir
clients/games/lib/google_api/games/v1/model/event_record_failure.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/event_record_failure.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/games/lib/google_api/games/v1/model/event_record_failure.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...
33.339623
161
0.711941
748eb1fbda13d4d326a5071a005ad70b73f3676d
3,382
ex
Elixir
lib/iona/template/engine.ex
jmarkos/iona
c19e48fce6bb42a32e2e0b7c184af5bbd6279771
[ "Apache-2.0" ]
null
null
null
lib/iona/template/engine.ex
jmarkos/iona
c19e48fce6bb42a32e2e0b7c184af5bbd6279771
[ "Apache-2.0" ]
null
null
null
lib/iona/template/engine.ex
jmarkos/iona
c19e48fce6bb42a32e2e0b7c184af5bbd6279771
[ "Apache-2.0" ]
null
null
null
# Taken in part from the Phoenix HTML project, # https://github.com/phoenixframework/phoenix_html defmodule Iona.Template.Engine do @moduledoc false @behaviour EEx.Engine defdelegate escape(value), to: Iona.Template.Helper @impl true def init(_opts) do %{ iodata: [], dynamic: [], var...
25.816794
105
0.652572
748ebb08a77bad7c843d2676159ab461141674bc
2,277
ex
Elixir
lib/spider_man/pipeline/set_cookie.ex
kianmeng/spider_man
48941f42e901d03f7c6cc1f8aaf6f8a35d576614
[ "Apache-2.0" ]
5
2021-05-08T08:50:58.000Z
2021-11-27T09:59:56.000Z
lib/spider_man/pipeline/set_cookie.ex
kianmeng/spider_man
48941f42e901d03f7c6cc1f8aaf6f8a35d576614
[ "Apache-2.0" ]
null
null
null
lib/spider_man/pipeline/set_cookie.ex
kianmeng/spider_man
48941f42e901d03f7c6cc1f8aaf6f8a35d576614
[ "Apache-2.0" ]
1
2021-08-05T15:50:49.000Z
2021-08-05T15:50:49.000Z
defmodule SpiderMan.Pipeline.SetCookie do @moduledoc """ auto save cookies for spider component & auto set cookie for downloader component ## Usage settings = [ downloader_options: [ pipelines: [#{inspect(__MODULE__)}] ], spider_options: [ pipelines: [#{inspect(...
25.58427
83
0.575318
748edc7ada95ed1e0831aa51bbc73f62b6c92c67
1,552
exs
Elixir
config/prod.exs
philosodad/dashex
a3662d3b95e48fd3e7433b30c8a7505accf58e77
[ "MIT" ]
null
null
null
config/prod.exs
philosodad/dashex
a3662d3b95e48fd3e7433b30c8a7505accf58e77
[ "MIT" ]
null
null
null
config/prod.exs
philosodad/dashex
a3662d3b95e48fd3e7433b30c8a7505accf58e77
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
29.283019
64
0.72616
748f2c5feacf1f0aa829fcd2fc3f5f941651d745
728
exs
Elixir
test/parques/core/player_test.exs
johnf9896/parquex
5251e6ef7166bca2e9f021b8cecc912a7b616d71
[ "MIT" ]
null
null
null
test/parques/core/player_test.exs
johnf9896/parquex
5251e6ef7166bca2e9f021b8cecc912a7b616d71
[ "MIT" ]
null
null
null
test/parques/core/player_test.exs
johnf9896/parquex
5251e6ef7166bca2e9f021b8cecc912a7b616d71
[ "MIT" ]
null
null
null
defmodule Parques.Core.PlayerTest do @moduledoc false use Parques.Case, async: true alias Parques.Core.Color alias Parques.Core.Player describe "new/1" do test "creates a player" do %Player{} = player = Player.new(name: "John") refute is_nil(player.id) assert player.name == "John" ...
21.411765
63
0.657967
748f94942f5b4a06c7d376616c9f12e8fe642732
22,290
ex
Elixir
clients/firebase_database/lib/google_api/firebase_database/v1beta/api/projects.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firebase_database/lib/google_api/firebase_database/v1beta/api/projects.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firebase_database/lib/google_api/firebase_database/v1beta/api/projects.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...
47.025316
506
0.633288
748fb6732084b23fad2557337a50a578ce248540
2,243
exs
Elixir
config/dev.exs
tashavanes/p14_neplaces
dbb4fbc675e40b6d4f8e6bef39946987bfde35c8
[ "MIT" ]
null
null
null
config/dev.exs
tashavanes/p14_neplaces
dbb4fbc675e40b6d4f8e6bef39946987bfde35c8
[ "MIT" ]
1
2018-11-24T22:49:48.000Z
2018-11-24T22:49:48.000Z
config/dev.exs
tashavanes/p14_neplaces
dbb4fbc675e40b6d4f8e6bef39946987bfde35c8
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :p14_neplaces, P14NeplacesWeb.Endpoint, https: [...
29.12987
120
0.69416
74904bb75b730bd363d3cf532efa1b0dfc43d9de
693
ex
Elixir
lib/teiserver/telemetry/schemas/server_month_log.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/teiserver/telemetry/schemas/server_month_log.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/telemetry/schemas/server_month_log.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Telemetry.ServerMonthLog do use CentralWeb, :schema @primary_key false schema "teiserver_server_month_logs" do field :year, :integer, primary_key: true field :month, :integer, primary_key: true field :data, :map end @doc """ Builds a changeset based on the `struct` and `par...
28.875
86
0.666667
749057269632115d21c0594ce1bd51569ad27860
4,156
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/announcement.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/announcement.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/classroom/lib/google_api/classroom/v1/model/announcement.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...
51.308642
363
0.700433
74909561f9f3e1492c3bdfff7754a662198d4ddb
621
ex
Elixir
kousa/lib/beef/user_blocks.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-03-15T22:53:51.000Z
2021-03-22T09:34:06.000Z
kousa/lib/beef/user_blocks.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-09-01T19:42:51.000Z
2021-12-09T03:56:38.000Z
kousa/lib/beef/user_blocks.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
1
2021-03-13T20:31:49.000Z
2021-03-13T20:31:49.000Z
defmodule Beef.UserBlocks do @moduledoc """ Empty context module for UserBlocks This module will probably go away when User/Block relationships are reconfigured to use Ecto associations """ import Ecto.Query alias Beef.Schemas.UserBlock def blocked?(user_id, user_id_blocked) do not is_nil( ...
21.413793
78
0.674718
7490cd8168b53f89dcc6cb8333ec5c5c9e520291
6,445
ex
Elixir
clients/connectors/lib/google_api/connectors/v1/model/policy.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/connectors/lib/google_api/connectors/v1/model/policy.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/connectors/lib/google_api/connectors/v1/model/policy.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...
115.089286
2,012
0.75128
7490d64051936dc6b227fa9f4893b18fed92a4ee
3,232
ex
Elixir
lib/joken_jwks.ex
gseddon/joken_jwks
78b530815c02c61bb2cc35698378eef593228d23
[ "Apache-2.0" ]
15
2019-04-01T11:32:30.000Z
2022-02-27T22:53:43.000Z
lib/joken_jwks.ex
gseddon/joken_jwks
78b530815c02c61bb2cc35698378eef593228d23
[ "Apache-2.0" ]
23
2018-12-28T18:58:08.000Z
2022-03-25T14:17:17.000Z
lib/joken_jwks.ex
gseddon/joken_jwks
78b530815c02c61bb2cc35698378eef593228d23
[ "Apache-2.0" ]
21
2018-12-14T23:59:03.000Z
2022-03-24T10:12:55.000Z
defmodule JokenJwks do @moduledoc """ `Joken.Hooks` implementation for fetching `Joken.Signer`s from public JWKS URLs. This hook is intended to be used when you are _verifying_ a token is signed with a well known public key. It only overrides the `before_verify/2` callback providing a `Joken.Signer` for the ...
37.149425
104
0.703899
7490f2e247cbd132f871f34eef57d93cb354b173
1,277
ex
Elixir
lib/scenic/primitive/transform/scale.ex
PragTob/scenic
7e5193c2a0b86768937e5bbd7c22f00544d26048
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/transform/scale.ex
PragTob/scenic
7e5193c2a0b86768937e5bbd7c22f00544d26048
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/transform/scale.ex
PragTob/scenic
7e5193c2a0b86768937e5bbd7c22f00544d26048
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 10/02/17. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.Transform.Scale do use Scenic.Primitive.Transform # ============================================================================ # data verification and serialization # ---------...
31.146341
92
0.530149
7490f65e3a19febc6d97493163b144372b3ac0d9
7,129
exs
Elixir
test/guardian/plug/sliding_cookie_test.exs
cgorshing/guardian
b62f961e948dc518e6f767af08c2c5a9f1667702
[ "MIT" ]
3,135
2015-12-19T05:35:41.000Z
2022-03-29T00:27:25.000Z
test/guardian/plug/sliding_cookie_test.exs
cgorshing/guardian
b62f961e948dc518e6f767af08c2c5a9f1667702
[ "MIT" ]
536
2015-12-28T04:40:31.000Z
2022-03-30T22:45:59.000Z
test/guardian/plug/sliding_cookie_test.exs
cgorshing/guardian
b62f961e948dc518e6f767af08c2c5a9f1667702
[ "MIT" ]
451
2015-12-20T23:43:49.000Z
2022-03-24T10:36:14.000Z
defmodule Guardian.Plug.SlidingCookieTest do @moduledoc false use Plug.Test alias Guardian.Plug.Pipeline alias Guardian.Plug.SlidingCookie use ExUnit.Case, async: true defmodule Handler do @moduledoc false import Plug.Conn @behaviour Guardian.Plug.ErrorHandler @impl Guardian.Plug.Erro...
27.631783
113
0.605976
749113d8bd49107c8e1e32716f6267307365059b
2,715
ex
Elixir
lib/benchee/formatters/tagged_save.ex
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
504
2019-03-19T16:50:04.000Z
2022-03-30T03:33:11.000Z
lib/benchee/formatters/tagged_save.ex
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
46
2019-03-19T16:52:27.000Z
2022-03-10T08:34:45.000Z
lib/benchee/formatters/tagged_save.ex
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
20
2019-03-21T06:36:33.000Z
2022-03-10T06:13:40.000Z
defmodule Benchee.Formatters.TaggedSave do @moduledoc """ Store the whole suite in the Erlang `ExternalTermFormat` while tagging the scenarios of the current run with a specified tag - can be used for storing and later loading the results of previous runs with `Benchee.ScenarioLoader`. Automatically configur...
29.835165
96
0.705341
74911b1b503acb8437dbb33ea5c43302cc4b32e2
706
ex
Elixir
lib/jalka2021_web/live/football_live/user.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021_web/live/football_live/user.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
lib/jalka2021_web/live/football_live/user.ex
kriips/jalka2021
f4d968e20cae116fd4056bff2f937cd036421977
[ "MIT" ]
null
null
null
defmodule Jalka2021Web.FootballLive.User do use Phoenix.LiveView alias Jalka2021Web.Resolvers.{FootballResolver, AccountsResolver} @impl true def mount(params, _session, socket) do {:ok, socket |> assign( predictions: FootballResolver.get_predictions_by_user(params["id"]) ...
28.24
79
0.703966
749131049eab2920be53a3fd73eff242e3401286
63
ex
Elixir
programming/elixir/simple_pay/web/views/page_view.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/simple_pay/web/views/page_view.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/simple_pay/web/views/page_view.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
defmodule SimplePay.PageView do use SimplePay.Web, :view end
15.75
31
0.793651
749137ee141df2c15df67095b8ef135c31be9356
1,117
exs
Elixir
config/config.exs
bbhoss/echo
a7fe36af9f1d1d14fd7d01bb961cdb964e2a4871
[ "Apache-2.0" ]
null
null
null
config/config.exs
bbhoss/echo
a7fe36af9f1d1d14fd7d01bb961cdb964e2a4871
[ "Apache-2.0" ]
null
null
null
config/config.exs
bbhoss/echo
a7fe36af9f1d1d14fd7d01bb961cdb964e2a4871
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.750224
74913e4b1f52f4704d690771234fc4e6c8a5883a
3,478
ex
Elixir
lib/elixir/lib/dict/behaviour.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dict/behaviour.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dict/behaviour.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
defmodule Dict.Behaviour do @moduledoc """ This module makes it easier to create your own `Dict` compliant module, by providing default implementations for some required functions. Usage: defmodule MyDict do use Dict.Behaviour # implement required functions (see below) # overri...
27.603175
94
0.564405
749143448da0e7faba8507d95224c9517039c6fc
121
exs
Elixir
dot-dsl/dot.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/dot-dsl/dot.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/dot-dsl/dot.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule Graph do defstruct attrs: [], nodes: [], edges: [] end defmodule Dot do defmacro graph(ast) do end end
12.1
43
0.669421
7491699c57aa216430a3557d9e688c93089d5752
1,684
ex
Elixir
lib/xdr/operations/revoke_sponsorship.ex
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/operations/revoke_sponsorship.ex
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/operations/revoke_sponsorship.ex
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.RevokeSponsorship do @moduledoc """ Representation of Stellar `RevokeSponsorship` type. """ alias StellarBase.XDR.{LedgerKey, RevokeSponsorshipType} alias StellarBase.XDR.Ledger.Signer @behaviour XDR.Declaration @arms [ REVOKE_SPONSORSHIP_LEDGER_ENTRY: LedgerKey,...
26.3125
85
0.682898
7491b648b14ed53e7c2dbfba4d4c8284f4503f1d
3,985
ex
Elixir
lib/phoenix_component.ex
khionu/phoenix_live_view
4ada690fb1579eebf787bd7459233086b383bd7b
[ "MIT" ]
null
null
null
lib/phoenix_component.ex
khionu/phoenix_live_view
4ada690fb1579eebf787bd7459233086b383bd7b
[ "MIT" ]
4
2021-03-04T13:00:52.000Z
2021-03-12T12:42:09.000Z
deps/phoenix_live_view/lib/phoenix_component.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
null
null
null
defmodule Phoenix.Component do @moduledoc """ API for function components. A function component is any function that receives an assigns map as argument and returns a rendered struct built with [the `~H` sigil](`Phoenix.LiveView.Helpers.sigil_H/2`). Here is an example: defmodule MyComponent do ...
26.217105
95
0.612798
7491f138c9fc90c6a98ff6b451b5b58b5d72ad48
2,441
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_directory.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_directory.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_directory.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.871429
170
0.746415
7491f5aa25a4f9de3770cbd298357ce23f996a01
1,687
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/list_beacon_attachments_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/list_beacon_attachments_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/list_beacon_attachments_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...
35.145833
119
0.777712
7492368addaa2d106bab6f8461158261c190ecfc
1,137
exs
Elixir
config/config.exs
OddyseeGamers/ueberauth_wordpress
f27338b1ce0aa3aa9dd0dc994079a02bbe0372d8
[ "MIT" ]
11
2017-07-07T01:02:12.000Z
2021-09-22T06:15:18.000Z
config/config.exs
OddyseeGamers/ueberauth_wordpress
f27338b1ce0aa3aa9dd0dc994079a02bbe0372d8
[ "MIT" ]
8
2017-08-14T17:58:06.000Z
2022-01-25T09:27:59.000Z
config/config.exs
OddyseeGamers/ueberauth_wordpress
f27338b1ce0aa3aa9dd0dc994079a02bbe0372d8
[ "MIT" ]
13
2017-05-16T16:36:12.000Z
2022-01-21T09:52:00.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.677419
73
0.755497
749239e15394bc01c19b2bc65ed76215c0aa0d58
4,053
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/basic_yarn_autoscaling_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/basic_yarn_autoscaling_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/basic_yarn_autoscaling_config.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...
68.694915
590
0.759684
7492a1f12ef262d4c4edb0e79a5cf0981f62c4eb
7,506
ex
Elixir
lib/barracuda/adapter/HTTP.ex
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
6
2016-08-24T17:53:31.000Z
2021-02-05T11:18:16.000Z
lib/barracuda/adapter/HTTP.ex
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
7
2016-12-28T13:09:30.000Z
2017-03-06T11:11:10.000Z
lib/barracuda/adapter/HTTP.ex
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
null
null
null
defmodule Barracuda.Adapter.HTTP do require Logger use HTTPoison.Base alias HTTPoison.Response def docs(options, _action) do docs = Keyword.get(options, :doc, "No documentation provided.") verb = Keyword.get(options, :verb, :"GET") path = Keyword.get(options, :path, "Unknown!") """ #{ doc...
37.158416
153
0.634959
7492ab48a5657a03526d87a70d82ef4f73c81a5f
2,266
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_aggregated_list_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_aggregated_list_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_aggregated_list_warning.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...
37.766667
198
0.724184
7492cb148768c9d62dd4568015fbe54b3af21557
463
exs
Elixir
test/guardian/utils_test.exs
elixir-twister/guardian
c9ad4042cf3181a353f83dacdccb7af8306c45e3
[ "MIT" ]
null
null
null
test/guardian/utils_test.exs
elixir-twister/guardian
c9ad4042cf3181a353f83dacdccb7af8306c45e3
[ "MIT" ]
null
null
null
test/guardian/utils_test.exs
elixir-twister/guardian
c9ad4042cf3181a353f83dacdccb7af8306c45e3
[ "MIT" ]
null
null
null
defmodule Guardian.UtilsTest do @moduledoc false use ExUnit.Case, async: true test "stringify_keys" do assert Guardian.Utils.stringify_keys(nil) == %{} assert Guardian.Utils.stringify_keys(%{foo: "bar"}) == %{"foo" => "bar"} assert Guardian.Utils.stringify_keys(%{"foo" => "bar"}) == %{"foo" => "bar"}...
28.9375
80
0.654428
7492cf4794a5b16cb2c9bf7cc8298ddf4d725be7
4,796
ex
Elixir
lib/clickhouse_ecto/connection.ex
letitcrash/clickhouse_ecto
1b43a2c23770b8253fe6f9d618ceae1f7f643df4
[ "Apache-2.0" ]
null
null
null
lib/clickhouse_ecto/connection.ex
letitcrash/clickhouse_ecto
1b43a2c23770b8253fe6f9d618ceae1f7f643df4
[ "Apache-2.0" ]
null
null
null
lib/clickhouse_ecto/connection.ex
letitcrash/clickhouse_ecto
1b43a2c23770b8253fe6f9d618ceae1f7f643df4
[ "Apache-2.0" ]
null
null
null
defmodule ClickhouseEcto.Connection do alias Clickhousex.Query alias ClickhouseEcto.Query, as: SQL @behaviour Ecto.Adapters.SQL.Connection @typedoc "The prepared query which is an SQL command" @type prepared :: String.t() @typedoc "The cache query which is a DBConnection Query" @type cached :: map @...
27.405714
93
0.618015
7492d6b1fbd8c20dbe15abd5b3eed3c3907eb064
1,305
exs
Elixir
mix.exs
nyo16/googleapis_proto_ex
98072ef6e20d1cd0ec9639c949b16bc72d686354
[ "Apache-2.0" ]
null
null
null
mix.exs
nyo16/googleapis_proto_ex
98072ef6e20d1cd0ec9639c949b16bc72d686354
[ "Apache-2.0" ]
null
null
null
mix.exs
nyo16/googleapis_proto_ex
98072ef6e20d1cd0ec9639c949b16bc72d686354
[ "Apache-2.0" ]
null
null
null
defmodule GoogleapisProtoEx.MixProject do use Mix.Project def project do [ app: :googleapis_proto_ex, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), name: "GoogleapisProtoEx", package: package()...
24.622642
86
0.599234
7492f6ebf5095a9241e697a80d97337c0a5ce4ef
513
ex
Elixir
phoenix/web/router.ex
pfac/generated
3611d887bb4eba1ef63b1f16ed1dba54ce94f341
[ "MIT" ]
null
null
null
phoenix/web/router.ex
pfac/generated
3611d887bb4eba1ef63b1f16ed1dba54ce94f341
[ "MIT" ]
null
null
null
phoenix/web/router.ex
pfac/generated
3611d887bb4eba1ef63b1f16ed1dba54ce94f341
[ "MIT" ]
null
null
null
defmodule Phoenix.Router do use Phoenix.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Phoenix do pipe_throu...
19
57
0.672515
74934cccf1e42ba3652185b3503cd50713eb87c1
6,559
ex
Elixir
lib/query.ex
bonfire-networks/pogo
29abe3d1b0fb6ef803b38a0fac590aaeee9ae1e6
[ "Apache-2.0" ]
3
2020-05-25T11:54:24.000Z
2020-06-15T23:05:21.000Z
lib/query.ex
bonfire-networks/pogo
29abe3d1b0fb6ef803b38a0fac590aaeee9ae1e6
[ "Apache-2.0" ]
null
null
null
lib/query.ex
bonfire-networks/pogo
29abe3d1b0fb6ef803b38a0fac590aaeee9ae1e6
[ "Apache-2.0" ]
null
null
null
defmodule Pogo.Query do import Ecto.Function defmacro cast(a, b), do: cast_impl(a, b) defp cast_impl(a, {:array, b}) when is_atom(b), do: {:fragment, [], ["? :: #{Atom.to_string(b)}[]", a]} defp cast_impl(a, {:array, b}) when is_binary(b), do: {:fragment, [], ["? :: #{b}[]", a]} defp cast_impl(a, b) when i...
32.310345
113
0.630584
749350164d9605ae93c232cf8e1db8b3cf5840ec
69
ex
Elixir
lib/first_days_web/views/password_view.ex
TechforgoodCAST/first-steps
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
3
2018-01-30T09:55:29.000Z
2018-02-01T18:48:10.000Z
lib/first_days_web/views/password_view.ex
TechforgoodCAST/first-days
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
16
2018-01-30T09:45:20.000Z
2018-02-07T11:11:04.000Z
lib/first_days_web/views/password_view.ex
TechforgoodCAST/first-days
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
null
null
null
defmodule FirstDaysWeb.PasswordView do use FirstDaysWeb, :view end
17.25
38
0.826087
74935636a1e2adeb48d892a1f39695f43bd42321
943
ex
Elixir
lib/ascoel_ir868lr.ex
zolihorvath/element-parsers
dc9927db1c39b8f77e4c22f10dc38f29c6a41ab9
[ "MIT" ]
null
null
null
lib/ascoel_ir868lr.ex
zolihorvath/element-parsers
dc9927db1c39b8f77e4c22f10dc38f29c6a41ab9
[ "MIT" ]
null
null
null
lib/ascoel_ir868lr.ex
zolihorvath/element-parsers
dc9927db1c39b8f77e4c22f10dc38f29c6a41ab9
[ "MIT" ]
null
null
null
defmodule Parser do use Platform.Parsing.Behaviour # ELEMENT IoT Parser for Ascoel IT868LR sensor. Pyroelectric Motion Detector # According to documentation provided by Ascoel def parse(<<evt::8, count::unsigned-16>>, %{meta: %{frame_port: 20 }}) do << res::5, blow::1, tamper::1, intr::1>> = <<evt::8>> ...
21.930233
96
0.563097
749377be950ec1f1a4d2b6ba45423b0abfc80fe5
679
ex
Elixir
lib/list_filter.ex
brunobamaral/igniter-list-filter-challenge
c6aaf668a9c843b5ab8ea3d3fc98a2a0aa521376
[ "Apache-2.0" ]
null
null
null
lib/list_filter.ex
brunobamaral/igniter-list-filter-challenge
c6aaf668a9c843b5ab8ea3d3fc98a2a0aa521376
[ "Apache-2.0" ]
null
null
null
lib/list_filter.ex
brunobamaral/igniter-list-filter-challenge
c6aaf668a9c843b5ab8ea3d3fc98a2a0aa521376
[ "Apache-2.0" ]
null
null
null
defmodule ListFilter do def call(list), do: filter(list, 0) defp filter([], acc), do: acc defp filter([head | tail], acc) do x = head |> convert_to_int() |> only_number() acc = acc + x filter(tail, acc) end defp only_number(small_list) when is_tuple(small_list), do: 0 defp only_number(small_l...
18.351351
63
0.592047
7493a73c84ae4981e7aa25dab406835d2646ecad
1,580
exs
Elixir
test/glimesh_web/streams_live/following_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
test/glimesh_web/streams_live/following_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
test/glimesh_web/streams_live/following_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule GlimeshWeb.StreamsLive.FollowingTest do use GlimeshWeb.ConnCase import Glimesh.AccountsFixtures import Phoenix.LiveViewTest defp create_channel(_) do streamer = streamer_fixture(%{}, %{}) Glimesh.Streams.start_stream(streamer.channel) %{ channel: streamer.channel, streamer: ...
26.333333
86
0.651899
7493b48049a65c07a6d6499e4e6f20483341cdf7
45
exs
Elixir
test/todo_test.exs
bbassett/todo
2b3a2b8c7663e3d32491603bee2de63446994f5c
[ "MIT" ]
null
null
null
test/todo_test.exs
bbassett/todo
2b3a2b8c7663e3d32491603bee2de63446994f5c
[ "MIT" ]
null
null
null
test/todo_test.exs
bbassett/todo
2b3a2b8c7663e3d32491603bee2de63446994f5c
[ "MIT" ]
null
null
null
defmodule Todo.Test do use ExUnit.Case end
11.25
22
0.777778