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
e8fd51092f63d79b43b089255e0519fc17d3d14d
1,577
exs
Elixir
MixProject/help/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/help/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/help/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule Help.Mixfile do use Mix.Project def project do [ app: :help, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), deps: deps()...
25.852459
79
0.581484
e8fd6b5cbd6ca95456c3fbd5555b1272530e5f8d
2,463
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/lookup_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/lookup_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/datastore/lib/google_api/datastore/v1/model/lookup_response.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...
46.471698
264
0.736094
e8fd9a6931c2988a2e325bf22900f8170325c766
8,391
ex
Elixir
core/sup_tree_core/tenant_executor_pools_manager.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/tenant_executor_pools_manager.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/tenant_executor_pools_manager.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.TenantExecutorPoolsManager do @moduledoc """ A `GenServer` that caches tenant settings and apply changes to tenant executor pools. Original information of tenant settings is (typically) stored in a slow file stor...
42.165829
152
0.688357
e8fdbc0d6a9f02bb00269b99dc287a93c3175822
339
exs
Elixir
priv/repo/migrations/20180807022023_create_coherence_invitable.exs
pedromcorreia/portal-construindo-sabere
116402e21d9c1e7b02be2966460c90dcea7d09cd
[ "MIT" ]
null
null
null
priv/repo/migrations/20180807022023_create_coherence_invitable.exs
pedromcorreia/portal-construindo-sabere
116402e21d9c1e7b02be2966460c90dcea7d09cd
[ "MIT" ]
null
null
null
priv/repo/migrations/20180807022023_create_coherence_invitable.exs
pedromcorreia/portal-construindo-sabere
116402e21d9c1e7b02be2966460c90dcea7d09cd
[ "MIT" ]
null
null
null
defmodule Portalcs.Repo.Migrations.CreateCoherenceInvitable do use Ecto.Migration def change do create table(:invitations) do add :name, :string add :email, :string add :token, :string timestamps() end create unique_index(:invitations, [:email]) create index(:invitations, [:...
21.1875
62
0.675516
e8fde4e6b67881a07af461dbdcd539325e16bca2
1,403
exs
Elixir
test/oniichain_web/channels/p2p_channel_test.exs
freester1/OniiChain
28153c2fa3b1425aeac240df016c907d5b822101
[ "Apache-2.0" ]
9
2017-12-17T02:58:48.000Z
2018-11-07T13:48:50.000Z
test/oniichain_web/channels/p2p_channel_test.exs
freester1/OniiChain
28153c2fa3b1425aeac240df016c907d5b822101
[ "Apache-2.0" ]
1
2017-12-12T23:58:22.000Z
2017-12-13T00:00:21.000Z
test/oniichain_web/channels/p2p_channel_test.exs
freester1/OniiChain
28153c2fa3b1425aeac240df016c907d5b822101
[ "Apache-2.0" ]
3
2017-12-12T23:57:20.000Z
2018-03-03T22:13:38.000Z
defmodule OniichainWeb.P2pChannelTest do use ExUnit.Case, async: false import Oniichain.TestUtil, only: [reset_db: 0] import Oniichain.P2pMessage setup() do reset_db() :ok end test "handling @query_latest_block returns the latest block" do {:ok, result} = OniichainWeb.P2pChannel.handle_in(query...
40.085714
133
0.681397
e8fdeca144b87cbc01e2ffb8f2bb6fb49657bc53
4,152
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/video_categories.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/api/video_categories.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/api/video_categories.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.645161
196
0.647158
e8fe2d827ab65f59713921d6acc26884278f8899
969
ex
Elixir
lib/hexpm_web/controllers/signup_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm_web/controllers/signup_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm_web/controllers/signup_controller.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule HexpmWeb.SignupController do use HexpmWeb, :controller def show(conn, _params) do if logged_in?(conn) do path = Routes.user_path(conn, :show, conn.assigns.current_user) redirect(conn, to: path) else render_show(conn, User.build(%{})) end end def create(conn, params) do ...
23.634146
69
0.597523
e8fe33a055ea241b934307c0f12d15afbeb42b87
444
ex
Elixir
apps/trades/lib/trades/application.ex
drobban/bottle
57a502e765a65d635f48ec6d6cbfae1e87dfea75
[ "Unlicense" ]
null
null
null
apps/trades/lib/trades/application.ex
drobban/bottle
57a502e765a65d635f48ec6d6cbfae1e87dfea75
[ "Unlicense" ]
null
null
null
apps/trades/lib/trades/application.ex
drobban/bottle
57a502e765a65d635f48ec6d6cbfae1e87dfea75
[ "Unlicense" ]
null
null
null
defmodule Trades.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # {Trades.Leader, %Trades.Leader.State{:symbol => "xrpeur"}} {Trades.Supervisor, [...
23.368421
66
0.684685
e8fe37e547441841eb4a18fdfdd384f4fde59ff9
10,044
exs
Elixir
test/extensions/invitation/phoenix/controllers/invitation_controller_test.exs
hazy/pow
a7a20dd6622d1ff2c2d3392ff0bc5615cd1d6374
[ "MIT" ]
1
2021-05-27T21:33:29.000Z
2021-05-27T21:33:29.000Z
test/extensions/invitation/phoenix/controllers/invitation_controller_test.exs
BinaryMuse/pow
cebb726245a901d1dbcad0b1eff6a9a7a40bf864
[ "MIT" ]
null
null
null
test/extensions/invitation/phoenix/controllers/invitation_controller_test.exs
BinaryMuse/pow
cebb726245a901d1dbcad0b1eff6a9a7a40bf864
[ "MIT" ]
null
null
null
defmodule PowInvitation.Phoenix.InvitationControllerTest do use PowInvitation.TestWeb.Phoenix.ConnCase alias Plug.Conn alias Pow.Plug, as: PowPlug alias PowInvitation.Plug alias PowInvitation.{Test, Test.Users.User, Test.Users.UsernameUser} @user %User{id: 1, email: "test@example.com"} @url_regex ~r/htt...
40.829268
139
0.653524
e8fe631f4abb3e848bb42f945a3fbaf9bff36c49
3,226
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/license.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/license.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/license.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.013333
192
0.714817
e8fe6a351e8633a87840c802baa932e3047e3415
1,631
ex
Elixir
lib/globe_request_mapper/request.ex
mrkurt/globe-request-mapper
1270c7f69a0c1403b026508385fab54d2eaa685e
[ "Apache-2.0" ]
1
2022-02-24T04:00:56.000Z
2022-02-24T04:00:56.000Z
lib/globe_request_mapper/request.ex
mrkurt/globe-request-mapper
1270c7f69a0c1403b026508385fab54d2eaa685e
[ "Apache-2.0" ]
null
null
null
lib/globe_request_mapper/request.ex
mrkurt/globe-request-mapper
1270c7f69a0c1403b026508385fab54d2eaa685e
[ "Apache-2.0" ]
4
2021-04-05T22:39:42.000Z
2021-04-05T23:16:50.000Z
defmodule GlobeRequestMapper.Request do use GenServer alias Phoenix.PubSub alias GlobeRequestMapper.NodeManager @name :request_server def topic do "requests" end def start_link(_opts) do GenServer.start_link(__MODULE__, %{}, name: @name) end def init(coordinates) do {:ok, coordinates}...
26.306452
82
0.621704
e8fe8caffedf52d185ba09ecf581bf7be0aaffa2
1,336
exs
Elixir
elixir/config/prod.secret.exs
MitchellJeppson/DivvyPayHQ-web-homework
01dc6a7ee0173c92633d93f7ba7e9162b1189985
[ "MIT" ]
null
null
null
elixir/config/prod.secret.exs
MitchellJeppson/DivvyPayHQ-web-homework
01dc6a7ee0173c92633d93f7ba7e9162b1189985
[ "MIT" ]
null
null
null
elixir/config/prod.secret.exs
MitchellJeppson/DivvyPayHQ-web-homework
01dc6a7ee0173c92633d93f7ba7e9162b1189985
[ "MIT" ]
1
2021-03-30T07:41:56.000Z
2021-03-30T07:41:56.000Z
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
31.809524
99
0.726796
e8fea4aeee39319abecb4377620a4dc671c30eb6
110
ex
Elixir
homesynck/lib/homesynck/repo.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
5
2021-03-28T21:20:41.000Z
2021-07-02T22:46:29.000Z
homesynck/lib/homesynck/repo.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
homesynck/lib/homesynck/repo.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
defmodule Homesynck.Repo do use Ecto.Repo, otp_app: :homesynck, adapter: Ecto.Adapters.Postgres end
18.333333
35
0.736364
e8fea788e562c6e257a7d59fbf41d771c0444b43
1,269
ex
Elixir
lib/chat_api_web/controllers/customer_controller.ex
ezhao/papercups
c65333e479b4959c4c59bb7b66ab8cc2c5a8e268
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/customer_controller.ex
ezhao/papercups
c65333e479b4959c4c59bb7b66ab8cc2c5a8e268
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/customer_controller.ex
ezhao/papercups
c65333e479b4959c4c59bb7b66ab8cc2c5a8e268
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.CustomerController do use ChatApiWeb, :controller alias ChatApi.Customers alias ChatApi.Customers.Customer action_fallback ChatApiWeb.FallbackController def index(conn, _params) do customers = Customers.list_customers() render(conn, "index.json", customers: customers) end ...
28.840909
97
0.680063
e8feb575db10250fca82da795ba1bbb7fddb213f
10,878
ex
Elixir
lib/phoenix_bootstrap_form.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
null
null
null
lib/phoenix_bootstrap_form.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
null
null
null
lib/phoenix_bootstrap_form.ex
ZmagoD/phoenix_bootstrap_form
4ef6b54afd586d03f9eb21f1f5ef73c56e668e95
[ "MIT" ]
null
null
null
defmodule PhoenixBootstrapForm do alias Phoenix.HTML alias Phoenix.HTML.{Tag, Form} @label_col_class "col-sm-2" @control_col_class "col-sm-10" @label_align_class "text-sm-right" @form_group_class "form-group row" def select(form = %Form{}, field, options, opts \\ []) do draw_generic_input(:select, f...
28.854111
103
0.628149
e8feb979650234966d93d293a5a50d6b532fff57
469
ex
Elixir
server/lib/coyote/auth.ex
Spectory/SpectoPusher
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
null
null
null
server/lib/coyote/auth.ex
Spectory/SpectoPusher
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
3
2017-07-08T20:12:49.000Z
2017-11-03T11:51:02.000Z
server/lib/coyote/auth.ex
Spectory/coyote
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
1
2017-06-16T18:29:44.000Z
2017-06-16T18:29:44.000Z
defmodule Coyote.Auth do alias CoyoteWeb.Endpoint alias Coyote.EnvHelper alias Phoenix.Token @day 86_400 def authenticate(hash), do: EnvHelper.get_env("ACCESS_KEY") == hash def sign(data) when not is_nil(data), do: Token.sign(Endpoint, salt(), data) def sign_all(lst) when is_list(lst), do: Enum.map(ls...
26.055556
78
0.712154
e8fed17d516b2e2ec4375975f5c8ab9433d2d1e4
813
exs
Elixir
mix.exs
zabirauf/monad
e515edf89653e2ce25c9191951715334fc9e37af
[ "MIT" ]
8
2015-05-31T15:58:48.000Z
2022-01-22T16:19:35.000Z
mix.exs
zabirauf/monad
e515edf89653e2ce25c9191951715334fc9e37af
[ "MIT" ]
null
null
null
mix.exs
zabirauf/monad
e515edf89653e2ce25c9191951715334fc9e37af
[ "MIT" ]
3
2015-06-01T09:34:08.000Z
2021-02-21T16:57:58.000Z
defmodule Monad.Mixfile do use Mix.Project def project do [app: :monad, version: "1.0.4", name: "monad", description: "Monads and do-syntax for Elixir", source_url: "https://github.com/rmies/monad", package: package, elixir: "~> 1.0", deps: deps] end # Configuration for ...
24.636364
77
0.611316
e8ff042796c1616774ee733f3e8e0d1730319bd0
511
exs
Elixir
test/createurs/admin/admin_order_test.exs
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
196
2019-05-05T15:59:32.000Z
2022-03-15T02:37:19.000Z
test/createurs/admin/admin_order_test.exs
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
105
2019-05-04T19:04:40.000Z
2021-07-28T11:21:45.000Z
test/createurs/admin/admin_order_test.exs
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
26
2019-05-05T19:40:52.000Z
2021-11-16T00:32:46.000Z
defmodule Shopix.Admin.AdminOrderTest do use Shopix.DataCase, async: true alias Shopix.Admin test "list_orders/1 returns all orders completed paginated" do order = insert(:order) assert %{entries: orders} = Admin.list_orders(%{}) assert Enum.count(orders) == 1 assert (orders |> Enum.at(0)).id =...
25.55
64
0.688845
e8ff06c9c128b3fefbe655426564f96651d1ca1e
2,279
ex
Elixir
lib/wobserver/util/helper.ex
elixir-twister/wobserver
ebbffd71858f17d844ea7ecefa1c81368bc379bd
[ "MIT" ]
null
null
null
lib/wobserver/util/helper.ex
elixir-twister/wobserver
ebbffd71858f17d844ea7ecefa1c81368bc379bd
[ "MIT" ]
null
null
null
lib/wobserver/util/helper.ex
elixir-twister/wobserver
ebbffd71858f17d844ea7ecefa1c81368bc379bd
[ "MIT" ]
null
null
null
defmodule Wobserver.Util.Helper do @moduledoc ~S""" Helper functions and JSON encoders. """ alias Poison.Encoder alias Encoder.BitString defimpl Encoder, for: PID do @doc ~S""" JSON encodes a `PID`. Uses `inspect/1` to turn the `pid` into a String and passes the `options` to `BitString.encode...
24.244681
103
0.621764
e8ff0d67b3f5568e90c45b0344e2f290268d7029
1,861
ex
Elixir
lib/parser/personal_basic_info_parser.ex
muziyoshiz/admiral_stats_parser_ex
89b1cf470b4ba823ed8902e415e798180023c156
[ "MIT" ]
null
null
null
lib/parser/personal_basic_info_parser.ex
muziyoshiz/admiral_stats_parser_ex
89b1cf470b4ba823ed8902e415e798180023c156
[ "MIT" ]
null
null
null
lib/parser/personal_basic_info_parser.ex
muziyoshiz/admiral_stats_parser_ex
89b1cf470b4ba823ed8902e415e798180023c156
[ "MIT" ]
null
null
null
defmodule AdmiralStatsParser.Parser.PersonalBasicInfoParser do @moduledoc """ 基本情報をパースするためのモジュールです。 """ alias AdmiralStatsParser.Parser.ParserUtil alias AdmiralStatsParser.Model.PersonalBasicInfo # API version ごとの必須キーを格納したマップ @mandatory_keys %{ 1 => %{ "fuel" => &is_integer/1, "ammo" => ...
25.493151
108
0.590543
e8ff635782c57c5757974e762340cdeef250e0b4
7,671
exs
Elixir
apps/andi/test/integration/andi_web/live/data_dictionary_field_editor_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/andi/test/integration/andi_web/live/data_dictionary_field_editor_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/andi/test/integration/andi_web/live/data_dictionary_field_editor_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule AndiWeb.EditLiveView.DataDictionaryFieldEditorTest do use ExUnit.Case use AndiWeb.Test.PublicAccessCase use Andi.DataCase use AndiWeb.Test.AuthConnCase.IntegrationCase import Phoenix.LiveViewTest import Checkov @moduletag shared_data_connection: true alias Andi.InputSchemas.InputConverter ...
34.710407
133
0.650372
e8ff64be23be03f6a48f4ec6688ce1cc05dd5acc
1,106
ex
Elixir
test/support/routers/phx1_5_modified.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
528
2019-09-13T15:10:36.000Z
2022-03-31T10:28:27.000Z
test/support/routers/phx1_5_modified.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
133
2019-09-13T17:46:59.000Z
2022-03-01T13:37:10.000Z
test/support/routers/phx1_5_modified.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
38
2019-10-29T20:37:13.000Z
2022-03-03T05:19:33.000Z
defmodule Phx15Web.Router do use Phx15Web, :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 "/", Phx15Web do pipe_throug...
25.136364
70
0.695298
e8ffa9ed1eb6809c1694df1805fb90094983ec5d
1,338
exs
Elixir
test/vec3/vec3_p_norm_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
70
2015-01-07T10:13:38.000Z
2021-09-29T05:06:14.000Z
test/vec3/vec3_p_norm_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
28
2015-01-22T22:38:24.000Z
2021-06-24T06:15:38.000Z
test/vec3/vec3_p_norm_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
17
2015-01-22T18:35:41.000Z
2020-12-24T22:42:40.000Z
defmodule GraphmathTest.Vec3.PNormVec3 do use ExUnit.Case @tag :vec3 @tag :p_norm test "p_norm of zero vector order 1 returns 0" do [ {0, {0,0,0}, 1} ] |> Enum.map( fn {d,v,o} -> assert d == Graphmath.Vec3.p_norm(v,o) end) end @tag :vec3 @tag :p_norm test "p_norm of unit ve...
19.970149
66
0.494768
e8ffaac11beada18982ce48ab48c91f3b1291a50
719
exs
Elixir
mix.exs
duxet/opentelemetry_plug
48ae8d438f369f2bfd5dee189950665560bfb8b8
[ "Apache-2.0" ]
null
null
null
mix.exs
duxet/opentelemetry_plug
48ae8d438f369f2bfd5dee189950665560bfb8b8
[ "Apache-2.0" ]
null
null
null
mix.exs
duxet/opentelemetry_plug
48ae8d438f369f2bfd5dee189950665560bfb8b8
[ "Apache-2.0" ]
null
null
null
defmodule OpentelemetryPlug.MixProject do use Mix.Project def project do [ app: :opentelemetry_plug, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do...
21.787879
60
0.554937
e8ffacfa0c754c36d6c0aa9399e91fa71471a932
2,167
ex
Elixir
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_predict_response_prediction_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_predict_response_prediction_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_predict_response_prediction_result.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...
38.017544
371
0.756345
e8ffd30343c8b3c101f2697739ef8ccd86d5e80b
600
exs
Elixir
elixir-in-action/test/change_web_test.exs
TristanCacqueray/beam-playground
aae1d6b2b974d5d7c9d3709bb8ae06a8b8cb0959
[ "BSD-3-Clause" ]
null
null
null
elixir-in-action/test/change_web_test.exs
TristanCacqueray/beam-playground
aae1d6b2b974d5d7c9d3709bb8ae06a8b8cb0959
[ "BSD-3-Clause" ]
null
null
null
elixir-in-action/test/change_web_test.exs
TristanCacqueray/beam-playground
aae1d6b2b974d5d7c9d3709bb8ae06a8b8cb0959
[ "BSD-3-Clause" ]
null
null
null
defmodule HttpServerTest do use ExUnit.Case, async: false use Plug.Test test "no events" do assert get("/events?pr=46").status == 200 assert get("/events?pr=46").resp_body == "" end test "adding an events" do resp = post("/add_event?pr=44&comment=recheck test") assert resp.status == 200 ...
23.076923
64
0.645
3300075103e8ca23d6664f3ef24ed105023f0d67
1,782
ex
Elixir
lib/tune_web/telemetry/storage.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
null
null
null
lib/tune_web/telemetry/storage.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
null
null
null
lib/tune_web/telemetry/storage.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
null
null
null
defmodule TuneWeb.Telemetry.Storage do # Lifted directly from # https://github.com/phoenixframework/phoenix_live_dashboard/blob/master/guides/metrics_history.md, # this module is responsible to keep an in-memory copy of recent telemetry # data. @moduledoc false use GenServer @history_buffer_size 500 ...
24.410959
101
0.679012
330031a7328c7a3df6142b8a23018312483c807a
2,127
ex
Elixir
lib/weber/session/session_manager.ex
Mendor/weber
3c4fceff2bc6cf6ce38138b7e1c042c3f2536221
[ "MIT" ]
1
2018-02-21T07:56:22.000Z
2018-02-21T07:56:22.000Z
lib/weber/session/session_manager.ex
Mendor/weber
3c4fceff2bc6cf6ce38138b7e1c042c3f2536221
[ "MIT" ]
null
null
null
lib/weber/session/session_manager.ex
Mendor/weber
3c4fceff2bc6cf6ce38138b7e1c042c3f2536221
[ "MIT" ]
null
null
null
defmodule Weber.Session.SessionManager do @moduledoc """ Session manager process. Create new session's process, manages all sessions. """ use GenServer.Behaviour defrecord SessionManager, config: nil @doc """ Start session manager. """ def start_link(config) do :gen_server.start_link(...
28.36
109
0.61213
330033c1001adc6e6d343e6cc6da555d01cea0e7
664
ex
Elixir
lib/ex_trends/operation/related_queries.ex
gjaldon/ex_trends
2240be9c28f5f13754f97e7849d01330122dbf07
[ "MIT" ]
null
null
null
lib/ex_trends/operation/related_queries.ex
gjaldon/ex_trends
2240be9c28f5f13754f97e7849d01330122dbf07
[ "MIT" ]
null
null
null
lib/ex_trends/operation/related_queries.ex
gjaldon/ex_trends
2240be9c28f5f13754f97e7849d01330122dbf07
[ "MIT" ]
null
null
null
defmodule ExTrends.Operation.RelatedQueries do defstruct http_method: :get, url: "https://trends.google.com", path: "/trends/api/widgetdata/relatedsearches", params: [], parser: &ExTrends.Operation.RelatedTopics.parser/1 @type t :: %__MODULE__{} @doc false def p...
28.869565
75
0.597892
33006f9f411809e2866c0e6580b1ab5d4de744c6
2,786
ex
Elixir
lib/tusk/companion.ex
princemaple/tusk
86150e3fe0bed9cc570a20f11c97ef9067d1fa2f
[ "MIT" ]
null
null
null
lib/tusk/companion.ex
princemaple/tusk
86150e3fe0bed9cc570a20f11c97ef9067d1fa2f
[ "MIT" ]
null
null
null
lib/tusk/companion.ex
princemaple/tusk
86150e3fe0bed9cc570a20f11c97ef9067d1fa2f
[ "MIT" ]
null
null
null
defmodule Tusk.Companion do use GenServer, restart: :transient defstruct task: nil, supervisor: nil, timeout: 5000, timeout_ref: nil, on_success: nil, on_failure: nil, on_error: nil, reason: nil require Logger @spec start_lin...
24.017241
81
0.608758
3300954046bcfedfe8e897aa11577ed5ecbf4194
3,029
exs
Elixir
test/credo/check/refactor/redundant_with_clause_result_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
test/credo/check/refactor/redundant_with_clause_result_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
test/credo/check/refactor/redundant_with_clause_result_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Check.Refactor.RedundantWithClauseResultTest do use Credo.Test.Case @described_check Credo.Check.Refactor.RedundantWithClauseResult # # cases NOT raising issues # test "it should NOT report expected code" do """ defmodule CredoSampleModule do def some_function(parameter1, pa...
22.774436
98
0.597557
3300c814a8d84b655f97dc08d932f46b88443a87
15,574
exs
Elixir
test/swoosh/adapters/postmark_test.exs
craigp/swoosh
83364b3e9029988e585d4cc0c4d5ec1ccfb4930a
[ "MIT" ]
null
null
null
test/swoosh/adapters/postmark_test.exs
craigp/swoosh
83364b3e9029988e585d4cc0c4d5ec1ccfb4930a
[ "MIT" ]
null
null
null
test/swoosh/adapters/postmark_test.exs
craigp/swoosh
83364b3e9029988e585d4cc0c4d5ec1ccfb4930a
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.PostmarkTest do use Swoosh.AdapterCase, async: true import Swoosh.Email alias Swoosh.Adapters.Postmark @success_response """ { "ErrorCode": 0, "Message": "OK", "MessageID": "b7bc2f4a-e38e-4336-af7d-e6c392c2f817", "SubmittedAt": "2010-11-26T12:01:05.1794748...
33.277778
137
0.55079
330105fc057623b7544c0ed856a823084b5353c9
2,117
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_l_diversity_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_l_diversity_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_l_diversity_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.509804
249
0.770902
330117cfd58c85835b691a0ad93746fe1ee740c4
1,791
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_test_config.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_test_config.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_test_config.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...
35.82
154
0.738135
3301310750d06c2ab4f112f479a0cfe07dc50284
9,047
ex
Elixir
lib/single_product/accounts.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
lib/single_product/accounts.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
lib/single_product/accounts.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
defmodule SingleProduct.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias SingleProduct.Repo alias SingleProduct.Accounts.{User, UserToken, UserNotifier} ## Database getters @doc """ Gets a user by email. ## Examples iex> get_user_by_email("foo@exam...
25.848571
116
0.66453
33014a6701ba7acf3d7ab433be40a42f959319db
1,006
exs
Elixir
test/phone/b_countries/bj_test.exs
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
test/phone/b_countries/bj_test.exs
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
test/phone/b_countries/bj_test.exs
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.BJTest do use ExUnit.Case, async: true main_module = Phone.BJ Enum.map(main_module.codes, fn code -> test "#{inspect main_module} parses area code #{code}" do assert Phone.valid?(unquote("#{code}55555555")) assert {:ok, parsed} = Phone.parse(unquote("#{code}55555555")) ...
33.533333
80
0.632207
33016e55330d98d5e13201a5d2410a51541d3731
405
ex
Elixir
apps/re_web/lib/controllers/guarded_controller.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_web/lib/controllers/guarded_controller.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re_web/lib/controllers/guarded_controller.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReWeb.GuardedController do @moduledoc """ Module to inject user as a third argument in controller action """ defmacro __using__(_opts \\ []) do quote do alias ReWeb.Guardian.Plug def action(conn, _opts) do apply(__MODULE__, action_name(conn), [ conn, conn....
20.25
64
0.609877
330189c9e8718e21f0e8950b925650e43c9e667b
177
ex
Elixir
web_finngen_r8/lib/risteys_web/controllers/home_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/lib/risteys_web/controllers/home_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/lib/risteys_web/controllers/home_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule RisteysWeb.HomeController do use RisteysWeb, :controller plug :put_layout, "minimal.html" def index(conn, _params) do render(conn, "index.html") end end
17.7
38
0.728814
3301b7734b43bae6e9e4c3b15bd9403f1d7b88ef
3,019
ex
Elixir
lib/math.ex
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
lib/math.ex
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
lib/math.ex
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
defmodule Math do @doc """ Calculates the cartesian product of the given enumerables. ## Options * `:repeat` - when given repeats the the enum the given times ## Examples iex> Math.cartesian([[:a, :b], [:c]]) [[:a, :c], [:b, :c]] iex> Math.cartesian([0..1], repeat: 2) [[0, 0], [1, 0], [...
19.107595
112
0.584299
3301cfda73572c9a724d20a6ccda6fecf39bb2e7
1,419
ex
Elixir
lib/snowplow_tracker/emitters/helper.ex
WTTJ/snowplow-elixir-tracker
86b6301b4b98b04fca0d79ab2f4fca03a5e748c1
[ "Apache-2.0" ]
6
2018-04-30T11:02:45.000Z
2021-06-18T19:09:39.000Z
lib/snowplow_tracker/emitters/helper.ex
WTTJ/snowplow-elixir-tracker
86b6301b4b98b04fca0d79ab2f4fca03a5e748c1
[ "Apache-2.0" ]
15
2018-05-23T05:26:27.000Z
2020-07-12T10:12:32.000Z
lib/snowplow_tracker/emitters/helper.ex
WTTJ/snowplow-elixir-tracker
86b6301b4b98b04fca0d79ab2f4fca03a5e748c1
[ "Apache-2.0" ]
3
2020-06-05T23:30:14.000Z
2021-06-22T08:14:35.000Z
defmodule SnowplowTracker.Emitters.Helper do @moduledoc """ This module contains helper functions to format and sanitize the data necessary for the emitter module """ alias SnowplowTracker.{Constants, Payload} @get_method "GET" @post_method "POST" @get_path Constants.get_protocol_path() @post_vendor...
25.8
89
0.680056
3301f0fd954a8e9b4b03a4bde6a2932b8ba4e9a2
1,021
exs
Elixir
config/config.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T14:17:42.000Z
2022-03-01T17:31:03.000Z
config/config.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T12:27:01.000Z
2021-08-10T08:54:22.000Z
config/config.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "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 config :score, ecto_repos: [Score.Repo] # Con...
31.90625
86
0.768854
33023fe2d56dc09d48ed9facbf3eb09cf36452d6
62,527
ex
Elixir
lib/elixir/lib/module.ex
atomkirk/elixir
319109b650ad478d6941fef85a48250f9b2c40d3
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
atomkirk/elixir
319109b650ad478d6941fef85a48250f9b2c40d3
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
atomkirk/elixir
319109b650ad478d6941fef85a48250f9b2c40d3
[ "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.547427
113
0.660643
3302585ac7f9041afe265f44e5c306b7b4942fb4
2,071
ex
Elixir
lib/nervesjp_basis/application.ex
trihome/nervesjp_basis
1e8f6567c2f3a5669d761226bf665a0ae4c94744
[ "MIT" ]
4
2020-11-28T18:12:40.000Z
2020-12-26T15:25:28.000Z
lib/nervesjp_basis/application.ex
trihome/nervesjp_basis
1e8f6567c2f3a5669d761226bf665a0ae4c94744
[ "MIT" ]
7
2020-11-30T03:49:56.000Z
2021-02-19T09:12:02.000Z
lib/nervesjp_basis/application.ex
trihome/nervesjp_basis
1e8f6567c2f3a5669d761226bf665a0ae4c94744
[ "MIT" ]
5
2020-11-29T03:59:19.000Z
2020-12-26T15:24:18.000Z
defmodule NervesjpBasis.Application do require Logger # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do if should_start_wizard?() do VintageNetWizard.run_wizard(on_exit: {__MODULE__, :wizard_ru...
26.896104
85
0.66393
330266bc2ad67a49b045cef8393684b978b5f6c2
189
ex
Elixir
lib/config.ex
AlexJuca/proxypay-elixir
87629ce93bfa0e6f8da5db7bf433d7ed4a307708
[ "MIT" ]
null
null
null
lib/config.ex
AlexJuca/proxypay-elixir
87629ce93bfa0e6f8da5db7bf433d7ed4a307708
[ "MIT" ]
null
null
null
lib/config.ex
AlexJuca/proxypay-elixir
87629ce93bfa0e6f8da5db7bf433d7ed4a307708
[ "MIT" ]
null
null
null
defmodule Config do defstruct [:api_key, :environment] def init(%{api_key: api_key, environment: environment}) do %__MODULE__{api_key: api_key, environment: environment} end end
23.625
60
0.746032
33026992ee8071e1e5ce57705c3cbb26ccde1f63
22,921
ex
Elixir
lib/elixir/lib/keyword.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
defmodule Keyword do @moduledoc """ A set of functions for working with keywords. A keyword is a list of two-element tuples where the first element of the tuple is an atom and the second element can be any value. A keyword may have duplicated keys so it is not strictly a key-value store. However most of...
26.43714
95
0.585533
330275108031e2e39920bf1793b2ec572dfbe6c1
500
ex
Elixir
lib/accent/collaborators/collaborator_creator.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/accent/collaborators/collaborator_creator.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/accent/collaborators/collaborator_creator.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.CollaboratorCreator do alias Accent.{Repo, Collaborator, User} def create(params) do %Collaborator{} |> Collaborator.create_changeset(params) |> assign_user |> Repo.insert() end defp assign_user(collaborator) do case fetch_user(collaborator.changes[:email]) do %User{...
22.727273
76
0.694
3302c00b16e72ff4c27446f0db589726e2637f9f
333
exs
Elixir
inmana/priv/repo/migrations/20210421175928_create_supplies_table.exs
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
1
2021-05-18T00:04:36.000Z
2021-05-18T00:04:36.000Z
inmana/priv/repo/migrations/20210421175928_create_supplies_table.exs
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
null
null
null
inmana/priv/repo/migrations/20210421175928_create_supplies_table.exs
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
null
null
null
defmodule Inmana.Repo.Migrations.CreateSuppliesTable do use Ecto.Migration def change do create table(:supplies) do add(:description, :string) add(:expiration_date, :date) add(:responsible, :string) add(:restaurant_id, references(:restaurats, type: :binary_id)) timestamps() e...
22.2
68
0.684685
3302cb8547543ef9f654e165933412c500ec4bf6
366
ex
Elixir
lib/hello_link/queue_processor.ex
keichan34/hello_link
0b5de0653f667b205e76b7a360650c05138b4d63
[ "MIT" ]
1
2015-12-31T00:36:09.000Z
2015-12-31T00:36:09.000Z
lib/hello_link/queue_processor.ex
keichan34/hello_link
0b5de0653f667b205e76b7a360650c05138b4d63
[ "MIT" ]
3
2016-01-01T04:11:40.000Z
2016-01-01T04:12:37.000Z
lib/hello_link/queue_processor.ex
keichan34/hello_link
0b5de0653f667b205e76b7a360650c05138b4d63
[ "MIT" ]
null
null
null
defmodule HelloLink.QueueProcessor do def start_link do Task.start_link(__MODULE__, :loop, []) end def loop do stream = HelloLink.QueueEvents.stream for _event <- stream do process(HelloLink.Queue.pop) end end defp process({:ok, item}) do HelloLink.CrosspostSup.process item end ...
19.263158
42
0.68306
3302e54279d3f6b4ec3a93ca5821f5f22dcd2d61
902
ex
Elixir
lib/forge_sdk/protocol/display/state_context.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
21
2019-05-08T01:25:42.000Z
2022-02-08T02:30:18.000Z
lib/forge_sdk/protocol/display/state_context.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
6
2019-05-27T23:07:00.000Z
2020-03-10T04:33:10.000Z
lib/forge_sdk/protocol/display/state_context.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
2
2019-07-21T18:12:47.000Z
2021-07-31T21:18:38.000Z
defimpl ForgeSdk.Display, for: ForgeAbi.StateContext do @moduledoc """ Implementation of `Display` protocol for `StateContext` """ alias ForgeAbi.RequestGetTx alias ForgeSdk.{Display, Rpc} def display(data, expand? \\ false) def display(data, false), do: data def display(data, true) do basic = Map...
26.529412
86
0.67184
3303039331ef4ecc99aa01a4c113b08ff2cc4ef8
8,810
ex
Elixir
lib/absinthe/pipeline.ex
dmarkow/absinthe
707690bf06189b3a4b13959908a2eb52a3951179
[ "MIT" ]
null
null
null
lib/absinthe/pipeline.ex
dmarkow/absinthe
707690bf06189b3a4b13959908a2eb52a3951179
[ "MIT" ]
null
null
null
lib/absinthe/pipeline.ex
dmarkow/absinthe
707690bf06189b3a4b13959908a2eb52a3951179
[ "MIT" ]
null
null
null
defmodule Absinthe.Pipeline do @moduledoc """ Execute a pipeline of phases. A pipeline is merely a list of phases. This module contains functions for building, modifying, and executing pipelines of phases. """ alias Absinthe.Phase require Logger @type data_t :: any @type phase_config_t :: Phase.t...
29.075908
88
0.643133
330303e019bc7ab81c89914e25be70f2c7b623cf
628
ex
Elixir
lib/kv_store/bucket/supervisor.ex
functional-miners/workshop-production-debugging-techniques-for-elixir
5856795d9394f8a2ebcf0f8d1c7c933b122370b6
[ "MIT" ]
4
2016-11-23T21:20:10.000Z
2017-11-20T09:14:09.000Z
lib/kv_store/bucket/supervisor.ex
functional-miners/workshop-production-debugging-techniques-for-elixir
5856795d9394f8a2ebcf0f8d1c7c933b122370b6
[ "MIT" ]
null
null
null
lib/kv_store/bucket/supervisor.ex
functional-miners/workshop-production-debugging-techniques-for-elixir
5856795d9394f8a2ebcf0f8d1c7c933b122370b6
[ "MIT" ]
1
2016-12-04T13:20:46.000Z
2016-12-04T13:20:46.000Z
defmodule KvStore.Bucket.Supervisor do use Supervisor @moduledoc """ Proper supervisor for all buckets managed by application. """ # Client API. @doc """ Starts the bucket supervisor. """ def start_link do Supervisor.start_link(__MODULE__, :ok, name: __MODULE__) end @doc """ Starts the b...
18.470588
60
0.671975
33034501e68bb5a8af951383264596d2ae5350eb
2,782
exs
Elixir
test/helper/orm_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/helper/orm_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/helper/orm_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.Helper.ORM do use GroupherServer.TestTools # TODO import Service.Utils move both helper and github import GroupherServer.Support.Factory alias GroupherServer.CMS.Model.{Post, Author} alias GroupherServer.Accounts.Model.User alias Helper.ORM @posts_count 20 @post_clauses ...
28.979167
93
0.634795
330354bb67cc4aecde3ce2f02bfee8080da96d91
1,167
ex
Elixir
web/router.ex
Gronex/wishlist_manager
be240ebc85a737f31bd64bc913a2c3716827fd26
[ "MIT" ]
null
null
null
web/router.ex
Gronex/wishlist_manager
be240ebc85a737f31bd64bc913a2c3716827fd26
[ "MIT" ]
7
2015-12-30T19:43:10.000Z
2016-01-04T14:38:38.000Z
web/router.ex
Gronex/wishlist_manager
be240ebc85a737f31bd64bc913a2c3716827fd26
[ "MIT" ]
null
null
null
defmodule WishlistManager.Router do use WishlistManager.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"] plug Guardian.Plug.Verify...
25.933333
83
0.710368
33035be0ddf805e83be263359c19281b6c7043e5
1,471
ex
Elixir
example/lib/example/application.ex
kentaro/mix_tasks_upload_hotswap
063611c25366dc194c230f040b742d8bb96b656a
[ "MIT" ]
18
2020-11-29T22:51:44.000Z
2022-01-18T11:13:18.000Z
example/lib/example/application.ex
kentaro/recombinant
063611c25366dc194c230f040b742d8bb96b656a
[ "MIT" ]
2
2020-12-14T18:48:06.000Z
2021-03-09T06:15:25.000Z
example/lib/example/application.ex
kentaro/recombinant
063611c25366dc194c230f040b742d8bb96b656a
[ "MIT" ]
null
null
null
defmodule Example.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # See https://hexdocs.pm/elixir/Supervisor.html # for other strategies and supported options opts = [strategy: ...
27.754717
78
0.667573
33039eb0469cb6ac53a3a6c722298a6eedcd7d48
1,053
ex
Elixir
lib/test_that_json/exceptions.ex
Ariel-Thomas/test_that_json
5c6301b77d58681a65383344d2f35d1c291fc0ff
[ "MIT" ]
11
2016-07-19T15:33:25.000Z
2021-07-11T17:31:33.000Z
lib/test_that_json/exceptions.ex
Ariel-Thomas/test_that_json
5c6301b77d58681a65383344d2f35d1c291fc0ff
[ "MIT" ]
1
2018-05-17T16:15:23.000Z
2018-05-17T16:15:23.000Z
lib/test_that_json/exceptions.ex
Ariel-Thomas/test_that_json
5c6301b77d58681a65383344d2f35d1c291fc0ff
[ "MIT" ]
2
2016-09-20T11:14:41.000Z
2018-05-16T15:41:29.000Z
defmodule TestThatJson.InvalidPathError do defexception [:message] def exception(attrs) do value = attrs[:value] message = attrs[:message] || "improperly formatted path: #{inspect value}" %TestThatJson.InvalidPathError{message: message} end end defmodule TestThatJson.PathNotFoundError do defexce...
26.325
80
0.722697
3303e2c2a3311e653c002e65c51a2eea029b36f2
255
ex
Elixir
lib/bson/types/timestamp.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
8
2016-08-05T19:28:16.000Z
2021-07-15T22:00:30.000Z
lib/bson/types/timestamp.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
5
2016-08-29T13:07:15.000Z
2016-11-24T16:58:01.000Z
lib/bson/types/timestamp.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
5
2018-06-19T02:43:46.000Z
2021-07-15T22:00:36.000Z
defmodule BSON.Types.Timestamp do @moduledoc """ Represents BSON Timestamp type """ defstruct [:value] defimpl Inspect do def inspect(%BSON.Types.Timestamp{value: value}, _opts) do "#BSON.Types.Timestamp<#{value}>" end end end
18.214286
62
0.67451
33041fd02bbaf7df7bae858a68f5b4d16a9cfb30
58
exs
Elixir
test/test_helper.exs
archseer/absinthe_relay
c3c85ca88adb8e925e846a515f75d93224b1f17d
[ "MIT" ]
312
2015-12-28T05:25:47.000Z
2022-02-16T05:18:16.000Z
test/test_helper.exs
archseer/absinthe_relay
c3c85ca88adb8e925e846a515f75d93224b1f17d
[ "MIT" ]
167
2016-03-01T07:28:05.000Z
2022-03-23T03:36:19.000Z
test/test_helper.exs
archseer/absinthe_relay
c3c85ca88adb8e925e846a515f75d93224b1f17d
[ "MIT" ]
104
2016-03-09T22:28:13.000Z
2022-03-30T17:02:33.000Z
ExUnit.configure(exclude: [pending: true]) ExUnit.start()
19.333333
42
0.758621
33044b9d2e0f81e2003286973f1d8700840b8777
727
exs
Elixir
test/test-umbrella/config/config.exs
Batou99/mix_docker
746048b6942a2a52686ac0658aa66d25f106d82b
[ "MIT" ]
2
2018-05-09T20:32:57.000Z
2018-09-20T05:04:23.000Z
test/test-umbrella/config/config.exs
Batou99/mix_docker
746048b6942a2a52686ac0658aa66d25f106d82b
[ "MIT" ]
null
null
null
test/test-umbrella/config/config.exs
Batou99/mix_docker
746048b6942a2a52686ac0658aa66d25f106d82b
[ "MIT" ]
2
2018-12-16T00:06:42.000Z
2019-03-01T10:31:38.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :mix_docker, image: "mix-docker-test" # By default, the umbrella project as well as each child # application will require this configuration file, ensuring # they all use the...
36.35
68
0.741403
3304591d21ef8abfe1273271f9d352be6073c157
343
exs
Elixir
priv/repo/migrations/20180423061803_add_more_attrs_to_user.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20180423061803_add_more_attrs_to_user.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20180423061803_add_more_attrs_to_user.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.AddMoreAttrsToUser do use Ecto.Migration def change do alter table(:users) do add(:location, :string) add(:email, :string) add(:company, :string) add(:education, :string) add(:qq, :string) add(:weichat, :string) add(:weibo, :str...
21.4375
62
0.629738
330461231e9b861f365a38fe91a85a69bc579657
1,913
exs
Elixir
mix.exs
gor181/esx
8cc247ff92e2dac7f4ee4601298521622597f10c
[ "MIT" ]
27
2017-03-21T15:42:07.000Z
2021-10-18T21:15:53.000Z
mix.exs
ikeikeikeike/es
f38d6576e9bce466b91e4d75ed2c690756db6fb0
[ "MIT" ]
2
2017-06-03T19:25:13.000Z
2019-06-05T00:06:48.000Z
mix.exs
ikeikeikeike/es
f38d6576e9bce466b91e4d75ed2c690756db6fb0
[ "MIT" ]
4
2017-10-08T20:17:14.000Z
2021-05-24T11:22:13.000Z
defmodule ESx.Mixfile do use Mix.Project @version "0.7.3" @description """ A client for the Elasticsearch with Ecto, written in Elixir """ def project do [ app: :esx, version: @version, elixir: ">= 1.2.0", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env(...
24.525641
77
0.541035
3304736dbb57be52f79c77ce14dfaabe94fb1de6
187
exs
Elixir
priv/repo/migrations/20170313195438_add_columns_to_questions.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
priv/repo/migrations/20170313195438_add_columns_to_questions.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
priv/repo/migrations/20170313195438_add_columns_to_questions.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
defmodule AfterGlow.Repo.Migrations.AddColumnsToQuestions do use Ecto.Migration def change do alter table(:questions) do add :columns, {:array, :string} end end end
17
60
0.71123
330474c535e490d6e8dc7a4fb59e05d1c73b8b9f
1,629
exs
Elixir
test/web/controllers/episodes_controller_test.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
test/web/controllers/episodes_controller_test.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
test/web/controllers/episodes_controller_test.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
defmodule Podcatcher.Web.EpisodesControllerTest do use Podcatcher.Web.ConnCase import Podcatcher.Fixtures alias Podcatcher.Episodes alias Podcatcher.Subscriptions test "GET /latest/", %{conn: conn} do episode = fixture(:episode) conn = get conn, "/latest/" assert html_response(conn, 200) =~ epi...
23.955882
76
0.658072
33049929db6a97bbb938c643ab16e8ca484c21ea
846
exs
Elixir
deps/connection/mix.exs
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
1
2016-08-17T11:39:26.000Z
2016-08-17T11:39:26.000Z
deps/connection/mix.exs
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
deps/connection/mix.exs
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
defmodule Connection.Mixfile do use Mix.Project @version "1.0.2" def project do [app: :connection, version: @version, elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description, package: package, docs: docs, deps: d...
19.227273
70
0.596927
3304be3ac0033cf56c0d6620ec77ccd82796e191
2,258
exs
Elixir
test/xdr/ledger_entries/optional_claim_predicate_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/ledger_entries/optional_claim_predicate_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/ledger_entries/optional_claim_predicate_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.OptionalClaimPredicateTest do use ExUnit.Case alias StellarBase.XDR.{ClaimPredicate, ClaimPredicateType, OptionalClaimPredicate, Void} describe "OptionalClaimPredicate" do setup do predicate_type = ClaimPredicateType.new(:CLAIM_PREDICATE_UNCONDITIONAL) predicate = Claim...
36.419355
91
0.706377
3304d642b6a2d63a86c62a95f58d195bb4d2ea32
1,576
ex
Elixir
lib/codes/codes_a40.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_a40.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_a40.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_A40 do alias IcdCode.ICDCode def _A400 do %ICDCode{full_code: "A400", category_code: "A40", short_code: "0", full_name: "Sepsis due to streptococcus, group A", short_name: "Sepsis due to streptococcus, group A", category_name: "Sep...
30.307692
65
0.609137
3304e51b7c717012f29381172ffcb86f615d9a28
6,588
exs
Elixir
test/block_keys/ckd_test.exs
vikger/block_keys
d3bf45782b1470e0bee553804bcf9ea84cf42da1
[ "Apache-2.0" ]
null
null
null
test/block_keys/ckd_test.exs
vikger/block_keys
d3bf45782b1470e0bee553804bcf9ea84cf42da1
[ "Apache-2.0" ]
1
2019-08-14T04:33:59.000Z
2019-08-14T04:33:59.000Z
test/block_keys/ckd_test.exs
omisego/block_keys
b9cd56c518b5d17c6236dff5b7f454a710030288
[ "Apache-2.0" ]
null
null
null
defmodule CKDTest do use ExUnit.Case, async: true alias BlockKeys.{CKD, Mnemonic} @mersenne_prime 2_147_483_647 describe "derive/2" do test "derives extended private key from parent extended private key" do path = "m/44'/0'/0'" xprv = "xprv9s21ZrQH143K4RdNK1f51Rdeu4XRG8q2cgzeh7ejtzgY...
38.526316
164
0.719642
3305771f4631a852ff68dd2db38e0da0c9789d18
1,742
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/user_relation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/user_relation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/admin/lib/google_api/admin/directory_v1/model/user_relation.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...
32.867925
167
0.711251
33057de884219c8500082e8ff1a4a911b640110f
382
ex
Elixir
elixir/quick-elixir-blog/blog_phoenix/web/views/error_view.ex
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
elixir/quick-elixir-blog/blog_phoenix/web/views/error_view.ex
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
elixir/quick-elixir-blog/blog_phoenix/web/views/error_view.ex
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
defmodule BlogPhoenix.ErrorView do use BlogPhoenix.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_t...
21.222222
47
0.704188
3305866e589c074561ce0325feba59928b507bb1
1,072
exs
Elixir
test/dealer_rater/scraper_test.exs
andrhevictor/review_scraper
7628b814d7d35b185bd9bfbe83400c68486bd19a
[ "MIT" ]
null
null
null
test/dealer_rater/scraper_test.exs
andrhevictor/review_scraper
7628b814d7d35b185bd9bfbe83400c68486bd19a
[ "MIT" ]
null
null
null
test/dealer_rater/scraper_test.exs
andrhevictor/review_scraper
7628b814d7d35b185bd9bfbe83400c68486bd19a
[ "MIT" ]
null
null
null
defmodule ReviewScraper.DealerRater.ScraperTest do use ExUnit.Case alias ReviewScraper.DealerRater.{Review, Scraper} describe "get_reviews/1" do test "parse the html document and return list of reviews" do html_document = File.read!("./test/dealer_rater_samples/review_page.html") reviews = Scra...
32.484848
97
0.61194
3305a868436885c435e302d134d32ee569f507eb
1,433
ex
Elixir
lib/codes/codes_c09.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c09.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_c09.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_C09 do alias IcdCode.ICDCode def _C090 do %ICDCode{full_code: "C090", category_code: "C09", short_code: "0", full_name: "Malignant neoplasm of tonsillar fossa", short_name: "Malignant neoplasm of tonsillar fossa", category_name: "M...
33.325581
88
0.637125
3305aa0086d01e4c3416a06dfa49dd94daca050a
509
ex
Elixir
lib/server/timestamp.ex
minijackson/INF-4201B
382be1cec8c9dff76613c2e89af8bc675767bca1
[ "MIT" ]
null
null
null
lib/server/timestamp.ex
minijackson/INF-4201B
382be1cec8c9dff76613c2e89af8bc675767bca1
[ "MIT" ]
null
null
null
lib/server/timestamp.ex
minijackson/INF-4201B
382be1cec8c9dff76613c2e89af8bc675767bca1
[ "MIT" ]
null
null
null
defmodule Server.Timestamp do @moduledoc ~S""" Documentation for Server.Timestamp. """ def start_link do Agent.start_link(fn -> 0 end, name: __MODULE__) end def now do Agent.get(__MODULE__, &(&1)) end def increment do Agent.get_and_update(__MODULE__, fn prev_value -> ts = prev_value...
17.551724
53
0.632613
3305af1556ee6bd1710ee5bf75d7d4828e326601
2,632
exs
Elixir
config/staging.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
config/staging.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
config/staging.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "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.710843
68
0.713526
3305d946193504a1ad52b1a1f12503d9007d38b8
4,582
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/api/operations.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/api/operations.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/api/operations.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...
41.279279
196
0.632257
3305dbdda7384c935c14a578869fefa8426aa492
22,216
exs
Elixir
test/file_info_test.exs
nocursor/saucexages
33e986a652306b2c54ad4891db7a27d78ed0d7cf
[ "MIT" ]
7
2018-11-01T15:47:05.000Z
2021-05-19T10:07:23.000Z
test/file_info_test.exs
nocursor/saucexages
33e986a652306b2c54ad4891db7a27d78ed0d7cf
[ "MIT" ]
null
null
null
test/file_info_test.exs
nocursor/saucexages
33e986a652306b2c54ad4891db7a27d78ed0d7cf
[ "MIT" ]
null
null
null
defmodule Saucexages.MediaInfoTest do use ExUnit.Case, async: true doctest Saucexages.MediaInfo import Saucexages.MediaInfo alias Saucexages.{MediaInfo} #TODO: more/better test data test "new/3 creates MediaInfo structs from a required file type and data type" do media_info = MediaInfo.new(1, 2) ...
41.916981
146
0.639224
3305e45fc64a10a9bd93673e8fe89a27d8ceef73
108
ex
Elixir
lib/rankings/repo.ex
spkane31/cc-rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
1
2020-06-28T19:31:07.000Z
2020-06-28T19:31:07.000Z
lib/rankings/repo.ex
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
5
2019-07-25T17:00:39.000Z
2019-07-25T17:12:07.000Z
lib/rankings/repo.ex
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
null
null
null
defmodule Rankings.Repo do use Ecto.Repo, otp_app: :rankings, adapter: Ecto.Adapters.Postgres end
18
35
0.731481
3305f532adb381f2db0c3b87faa8799dcbd5a068
9,586
ex
Elixir
lib/mix/lib/mix/tasks/escript.build.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/escript.build.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/escript.build.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Escript.Build do use Mix.Task use Bitwise, only_operators: true @shortdoc "Builds an escript for the project" @recursive true @moduledoc ~S""" Builds an escript for the project. An escript is an executable that can be invoked from the command line. An escript can run on any machi...
30.528662
102
0.618715
330616150ec4f768d9e01c07dfa2909bfe6ba11f
13,578
exs
Elixir
test/myxql/protocol/values_test.exs
Swingcloud/myxql
2c1a2a8d52391257aa4e1326468e8d1fc4305153
[ "Apache-2.0" ]
null
null
null
test/myxql/protocol/values_test.exs
Swingcloud/myxql
2c1a2a8d52391257aa4e1326468e8d1fc4305153
[ "Apache-2.0" ]
null
null
null
test/myxql/protocol/values_test.exs
Swingcloud/myxql
2c1a2a8d52391257aa4e1326468e8d1fc4305153
[ "Apache-2.0" ]
1
2022-01-11T14:47:28.000Z
2022-01-11T14:47:28.000Z
defmodule MyXQL.Protocol.ValueTest do use ExUnit.Case, async: true use Bitwise @default_sql_mode "STRICT_TRANS_TABLES" unless macro_exported?(Kernel, :sigil_U, 2) do defmacrop sigil_U({:<<>>, _, [string]}, _) do Macro.escape(DateTime.from_naive!(NaiveDateTime.from_iso8601!(string), "Etc/UTC")) e...
31.798595
104
0.601561
330663ab8e6b9126ccdc988979ed3ab057a168eb
1,416
ex
Elixir
lib/cadet/courses/sourcecast.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
lib/cadet/courses/sourcecast.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
lib/cadet/courses/sourcecast.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Courses.Sourcecast do @moduledoc """ Sourcecast stores audio files and deltas for playback """ use Cadet, :model use Arc.Ecto.Schema alias Cadet.Accounts.User alias Cadet.Courses.{Course, SourcecastUpload} schema "sourcecasts" do field(:title, :string) field(:playbackData, :str...
26.716981
68
0.695621
3306be952d451e70c1c5bb2b27a289d9468bcc0b
8,303
ex
Elixir
lib/fryse/config.ex
fryse/fryse
56e25ff2dc3dad56593849af7e8786225b918934
[ "MIT" ]
7
2018-02-03T01:04:22.000Z
2020-07-19T16:47:03.000Z
lib/fryse/config.ex
fryse/fryse
56e25ff2dc3dad56593849af7e8786225b918934
[ "MIT" ]
3
2020-07-16T09:28:38.000Z
2020-07-22T09:40:45.000Z
lib/fryse/config.ex
fryse/fryse
56e25ff2dc3dad56593849af7e8786225b918934
[ "MIT" ]
null
null
null
defmodule Fryse.Config do @moduledoc false alias Fryse.ErrorBag alias Fryse.Errors.MissingConfigValue alias Fryse.Errors.InvalidConfigValue @checked_keys [ :path_prefix, :clean_urls, :theme, :files, :paginations ] @default_config %{ path_prefix: nil, clean_urls: false, t...
30.083333
152
0.651813
3306c0603d69e5da55c44bbe68aed54f43012926
3,082
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_paragraph.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_paragraph.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_paragraph.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
48.920635
637
0.745295
3306d4e1d9762e5258ba258bb80c0adcfacf391f
618
exs
Elixir
mix.exs
xbinxu/captchaex
49d35c4f2a7c4f8ee1f6cbeb2f2d2d733003b716
[ "MIT" ]
1
2016-06-17T14:56:24.000Z
2016-06-17T14:56:24.000Z
mix.exs
xbinxu/captchaex
49d35c4f2a7c4f8ee1f6cbeb2f2d2d733003b716
[ "MIT" ]
null
null
null
mix.exs
xbinxu/captchaex
49d35c4f2a7c4f8ee1f6cbeb2f2d2d733003b716
[ "MIT" ]
null
null
null
defmodule Captchaex.Mixfile do use Mix.Project def project do [app: :captchaex, version: "0.0.1", elixir: "~> 0.13.2-dev", deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [], mod: {...
19.3125
75
0.606796
33070b384a5465d512614feb90c379b17236a062
34,437
ex
Elixir
lib/axon/compiler.ex
goodhamgupta/axon
759033455e3bd9b9a27b33d3fb9c6241108a7a58
[ "Apache-2.0" ]
2
2021-04-19T19:38:36.000Z
2021-04-19T19:38:42.000Z
lib/axon/compiler.ex
t-rutten/axon
1ab69552e194bdaa4e5bc85ca116966be872f072
[ "Apache-2.0" ]
null
null
null
lib/axon/compiler.ex
t-rutten/axon
1ab69552e194bdaa4e5bc85ca116966be872f072
[ "Apache-2.0" ]
null
null
null
defmodule Axon.CompilerError do defexception [:exception, :graph] @impl true def message(%{graph: %Axon{op: op, name: name}, exception: exception}) do """ error while building prediction for #{op} layer with name #{name}: ** (#{inspect(exception.__struct__)}) #{Exception.message(exception)} """ ...
25.814843
98
0.547899
330734aeba6c5a6197b3afc5cd6aa5f512f5f77d
764
ex
Elixir
lib/dnsimple/domain.ex
littleairmada/dnsimple-elixir
a1b71a9c84d1a440f86199b8f48754e1c88ca19f
[ "MIT" ]
null
null
null
lib/dnsimple/domain.ex
littleairmada/dnsimple-elixir
a1b71a9c84d1a440f86199b8f48754e1c88ca19f
[ "MIT" ]
14
2021-02-19T07:09:55.000Z
2022-02-24T12:33:37.000Z
lib/dnsimple/domain.ex
littleairmada/dnsimple-elixir
a1b71a9c84d1a440f86199b8f48754e1c88ca19f
[ "MIT" ]
null
null
null
defmodule Dnsimple.Domain do @moduledoc """ Represents a domain. See: - https://developer.dnsimple.com/v2/domains/ - https://developer.dnsimple.com/v2/domains/#domain-attributes """ @doc "expires_on is deprecated in favor of expires_at" @type t :: %__MODULE__{ id: integer, account_id: integer,...
25.466667
85
0.693717
3307813ab8fec74b4cb02d8ed95ecca2d8aa079e
2,377
ex
Elixir
lib/jeopardy/drafts/loader.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
lib/jeopardy/drafts/loader.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
32
2020-06-08T14:50:46.000Z
2021-01-01T05:40:44.000Z
lib/jeopardy/drafts/loader.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
defmodule Jeopardy.Drafts.Loader do alias Jeopardy.Drafts.Game, as: DGame alias Jeopardy.Games.Game, as: Game alias Jeopardy.Games.Clue alias Jeopardy.Repo def load_into_game(%DGame{} = dgame, %Game{} = game) do category_names = categories(dgame) game_data = %{ jarchive_game_id: dgame.id, ...
27.011364
75
0.612958
3307953db4c8b8c4fb90def949a4428f65850f1f
532
exs
Elixir
bench/witchcraft/monoid/list_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
bench/witchcraft/monoid/list_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
bench/witchcraft/monoid/list_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
defmodule Witchcraft.Monoid.ListBench do @moduledoc false use Benchfella use Witchcraft.Monoid ######### # Setup # ######### # ---------- # # Data Types # # ---------- # @list 0..10 |> Enum.to_list() ########## # Monoid # ########## bench("empty/1", do: empty(@list)) bench("empty?/1"...
16.121212
46
0.479323
3307e23bba9b2c63ff1db037a74b5cd7da376154
1,775
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal_party.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal_party.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal_party.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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...
35.5
135
0.76
3308049c164f8f51f2945936f95ece492baadd58
990
ex
Elixir
lib/koans/05_tuples.ex
dimadboss/elixir-koans
a855f65fedee57ffec89faf5a3049dcf04003e20
[ "MIT" ]
null
null
null
lib/koans/05_tuples.ex
dimadboss/elixir-koans
a855f65fedee57ffec89faf5a3049dcf04003e20
[ "MIT" ]
null
null
null
lib/koans/05_tuples.ex
dimadboss/elixir-koans
a855f65fedee57ffec89faf5a3049dcf04003e20
[ "MIT" ]
null
null
null
defmodule Tuples do use Koans @intro "Tuples" koan "Tuples can contain different things" do assert {:a, 1, "hi"} == {:a, 1, "hi"} end koan "Tuples have a size" do assert tuple_size({:a, :b, :c}) == 3 end koan "You can pull out individual elements" do assert elem({:a, "hi"}, 1) == "hi" en...
26.052632
88
0.591919
33080a9f979dd165971bc5f0711aab501f6ba0d3
746
ex
Elixir
lib/invault_web/graphql/accounts/types.ex
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
2
2018-10-22T20:56:40.000Z
2018-11-05T09:48:37.000Z
lib/invault_web/graphql/accounts/types.ex
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
8
2018-11-05T20:35:55.000Z
2019-01-01T06:15:32.000Z
lib/invault_web/graphql/accounts/types.ex
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
null
null
null
defmodule InvaultWeb.GraphQL.Accounts.Types do @moduledoc """ GraphQL types related to accounts. """ use Absinthe.Schema.Notation object :totp_secret do description "A secret used to generate TOTP codes for 2FA authentication" field :id, :id, description: "Unique identifier for a recovery code" f...
33.909091
77
0.731903
33081cb4f371fc4981dc3ee9c127ea2fc910c42e
1,751
exs
Elixir
mix.exs
pedrohsampaioo/pokemon_api
805fadd72f973fa42c6704e6b674d715ea34ab49
[ "MIT" ]
null
null
null
mix.exs
pedrohsampaioo/pokemon_api
805fadd72f973fa42c6704e6b674d715ea34ab49
[ "MIT" ]
null
null
null
mix.exs
pedrohsampaioo/pokemon_api
805fadd72f973fa42c6704e6b674d715ea34ab49
[ "MIT" ]
null
null
null
defmodule PokemonApi.MixProject do use Mix.Project def project do [ app: :pokemon_api, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases...
26.938462
84
0.580811
330868f5582484ab955fffd3243edacf2487de81
3,801
exs
Elixir
apps/re/test/listings/highlights/highlights_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
1
2021-01-19T05:01:15.000Z
2021-01-19T05:01:15.000Z
apps/re/test/listings/highlights/highlights_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re/test/listings/highlights/highlights_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
defmodule Re.Listings.HighlightsTest do use Re.ModelCase alias Re.{ Address, Listings.Highlights } import Re.Factory @valid_attributes_rj %{ price: 1_999_999, rooms: 3, garage_spots: 1, area: 100, address: %Address{ neighborhood_slug: "botafogo", city_slug: "rio-de-j...
27.345324
97
0.641147
33086f605b7da1f3dc650bfc58bb4f9bd0f07254
1,530
exs
Elixir
test/clean_mixer/arch_map/component_test.exs
kianmeng/clean_mixer
c2ce915156472a86828b53538efb8979bebcd78d
[ "Apache-2.0" ]
45
2020-07-14T11:01:45.000Z
2022-03-10T18:40:04.000Z
test/clean_mixer/arch_map/component_test.exs
kianmeng/clean_mixer
c2ce915156472a86828b53538efb8979bebcd78d
[ "Apache-2.0" ]
3
2021-07-03T15:37:02.000Z
2021-07-13T08:59:08.000Z
test/clean_mixer/arch_map/component_test.exs
kianmeng/clean_mixer
c2ce915156472a86828b53538efb8979bebcd78d
[ "Apache-2.0" ]
4
2020-02-01T01:20:53.000Z
2020-06-18T11:58:55.000Z
defmodule CleanMixer.ArchMap.ComponentTest do use ExUnit.Case alias CleanMixer.ArchMap.Component alias CleanMixer.CodeMap.SourceFile alias CleanMixer.CodeMap.FileDependency describe "file_dependencies/2" do test "returns file dependencies between components" do comp1 = Component.new("comp1...
38.25
105
0.669935
33087ac71eeb846de82c1e2424b4d4cb677f30fb
982
ex
Elixir
Microsoft.Azure.Management.Resources/lib/microsoft/azure/management/resources/model/resource_group.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.Resources/lib/microsoft/azure/management/resources/model/resource_group.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Resources/lib/microsoft/azure/management/resources/model/resource_group.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.Resources.Model.ResourceGroup do @moduledoc """ Resource group information. """ @derive [Poison.Encoder] def...
25.842105
119
0.682281
330898d7d9783f5016632dbe0107d1912047eccd
23,002
ex
Elixir
lib/wallaby/webdriver_client.ex
jonbirke0927/wallaby
a2bae892a307ed8605575aa9326434bc895a026f
[ "MIT" ]
null
null
null
lib/wallaby/webdriver_client.ex
jonbirke0927/wallaby
a2bae892a307ed8605575aa9326434bc895a026f
[ "MIT" ]
null
null
null
lib/wallaby/webdriver_client.ex
jonbirke0927/wallaby
a2bae892a307ed8605575aa9326434bc895a026f
[ "MIT" ]
null
null
null
defmodule Wallaby.WebdriverClient do @moduledoc false # Client implementation for the WebDriver Wire Protocol # documented on https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol alias Wallaby.{Driver, Element, Query, Session} alias Wallaby.Helpers.KeyCodes import Wallaby.HTTPClient @type http_me...
32.673295
111
0.596122
33089a8a7bb321be0480d337b0165ef06441146c
7,516
ex
Elixir
lib/event_store/streams/stream.ex
Arthien/eventstore
33179a455ad990f79f69c0e68c55f0a2f8d03d8c
[ "MIT" ]
null
null
null
lib/event_store/streams/stream.ex
Arthien/eventstore
33179a455ad990f79f69c0e68c55f0a2f8d03d8c
[ "MIT" ]
null
null
null
lib/event_store/streams/stream.ex
Arthien/eventstore
33179a455ad990f79f69c0e68c55f0a2f8d03d8c
[ "MIT" ]
null
null
null
defmodule EventStore.Streams.Stream do @moduledoc false alias EventStore.{EventData, RecordedEvent, Storage} alias EventStore.Streams.Stream defstruct [ serializer: nil, stream_uuid: nil, stream_id: nil, stream_version: 0, ] def append_to_stream(conn, stream_uuid, expected_version, event...
34.796296
148
0.706493
330924926692ff011f6d7ff5aa307aa9e79fd855
431
exs
Elixir
test/models/post_test.exs
Ellocsys/kedo
81626082952bfc63c382d015cffaa1ebd80e1f67
[ "MIT" ]
1
2016-10-07T14:36:21.000Z
2016-10-07T14:36:21.000Z
test/models/post_test.exs
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
null
null
null
test/models/post_test.exs
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
null
null
null
defmodule Pxblog.PostTest do use Pxblog.ModelCase alias Pxblog.Post @valid_attrs %{body: "some content", title: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Post.changeset(%Post{}, @valid_attrs) assert changeset.valid? end test "changeset with invali...
22.684211
61
0.714617
33095139406c93a8a4642f2c95d4fe2e1b56212d
278
ex
Elixir
exercises/practice/etl/lib/etl.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/etl/lib/etl.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/etl/lib/etl.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule ETL do @doc """ Transforms an old Scrabble score system to a new one. ## Examples iex> ETL.transform(%{1 => ["A", "E"], 2 => ["D", "G"]}) %{"a" => 1, "d" => 2, "e" => 1, "g" => 2} """ @spec transform(map) :: map def transform(input) do end end
19.857143
59
0.507194
33096441996553a72d0b5493b0575e814855052a
3,584
exs
Elixir
test/mix/tasks/ecto/pow.ecto.install_test.exs
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
1
2021-08-25T12:11:08.000Z
2021-08-25T12:11:08.000Z
test/mix/tasks/ecto/pow.ecto.install_test.exs
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
test/mix/tasks/ecto/pow.ecto.install_test.exs
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Pow.Ecto.InstallTest do use Pow.Test.Mix.TestCase alias Mix.Tasks.Pow.Ecto.Install defmodule Repo do def __adapter__, do: true def config, do: [priv: "", otp_app: :pow] end @tmp_path Path.join(["tmp", inspect(Install)]) @options ["-r", inspect(Repo)] setup do File.rm_r...
27.358779
151
0.603795
330970b8873622d849c6857187279b7d0b183263
1,716
exs
Elixir
config/dev.exs
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "MIT" ]
null
null
null
config/dev.exs
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "MIT" ]
null
null
null
config/dev.exs
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :sisnuvempay, Sisnuvempay.Repo, username: "postgres", password: "postgres", database: "sisnuvempay_dev", #hostname: "localhost", hostname: "192.168.99.100", port: 5437, show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we di...
28.6
68
0.726107
3309870ac5344c0aa3522f0b7a52e728e0ed8bb3
972
exs
Elixir
test/membrane_tee_plugin/push_output/push_output_test.exs
membraneframework/membrane_tee_plugin
d453c01e00783502ad5945e594fb2450c2492ab7
[ "Apache-2.0" ]
1
2022-03-03T11:56:40.000Z
2022-03-03T11:56:40.000Z
test/membrane_tee_plugin/push_output/push_output_test.exs
membraneframework/membrane_tee_plugin
d453c01e00783502ad5945e594fb2450c2492ab7
[ "Apache-2.0" ]
null
null
null
test/membrane_tee_plugin/push_output/push_output_test.exs
membraneframework/membrane_tee_plugin
d453c01e00783502ad5945e594fb2450c2492ab7
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Tee.PushOutputTest do use ExUnit.Case require Membrane.Pad alias Membrane.Pad alias Membrane.Tee.PushOutput alias Membrane.Tee.CommonTest describe "Tee PushOutput element" do test "passes received buffers to all pads" do CommonTest.passes_received_buffers_to_all_pads(PushOutp...
27.771429
110
0.738683
33098c9f6f44b955457436b58a167fefed499ada
828
ex
Elixir
lib/changelog_web/controllers/api_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2021-03-14T21:12:49.000Z
2021-03-14T21:12:49.000Z
lib/changelog_web/controllers/api_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/api_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule ChangelogWeb.ApiController do use ChangelogWeb, :controller alias Changelog.{Episode, Podcast, Repo} def oembed(conn, params) do [podcast_slug, episode_slug] = case Map.get(params, "url") do nil -> ["nope", "nope"] url -> String.split(url, "/") |> Enum.take(-2) end podcast = R...
24.352941
110
0.611111