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
1814a597599ea7786f3176672047124ec16ee441
130
ex
Elixir
web/controllers/page_controller.ex
ricardobaumann/phoenix_helloworld
7cc23508ed2c996383d915e322da5ce8ca001ed7
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
ricardobaumann/phoenix_helloworld
7cc23508ed2c996383d915e322da5ce8ca001ed7
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
ricardobaumann/phoenix_helloworld
7cc23508ed2c996383d915e322da5ce8ca001ed7
[ "MIT" ]
null
null
null
defmodule Web.PageController do use Web.Web, :controller def index(conn, _params) do render conn, "index.html" end end
16.25
31
0.715385
1814e5eada88cb298aeba326e77d69ad7bb4fffa
1,769
ex
Elixir
token_registry/lib/token_registry_web/controllers/user_reset_password_controller.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
1
2021-12-18T16:17:19.000Z
2021-12-18T16:17:19.000Z
token_registry/lib/token_registry_web/controllers/user_reset_password_controller.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
null
null
null
token_registry/lib/token_registry_web/controllers/user_reset_password_controller.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
null
null
null
defmodule TokenRegistryWeb.UserResetPasswordController do use TokenRegistryWeb, :controller alias TokenRegistry.Accounts plug :get_user_by_reset_password_token when action in [:edit, :update] def new(conn, _params) do render(conn, "new.html") end def create(conn, %{"user" => %{"email" => email}}) do...
29.483333
101
0.664217
18151f22819d0e2b8cb23343948ab6cf95b16f85
1,458
ex
Elixir
farmbot_core/lib/farmbot_core/asset/point.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/asset/point.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/asset/point.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
defmodule FarmbotCore.Asset.Point do @moduledoc """ Points are data around an x,y,z """ use FarmbotCore.Asset.Schema, path: "/api/points" schema "points" do field(:id, :id) has_one(:local_meta, FarmbotCore.Asset.Private.LocalMeta, on_delete: :delete_all, references: :local_id, fore...
20.828571
61
0.585048
181521d4f9d5211ae849a4fb290674754c8bdbb4
15,779
ex
Elixir
lib/serum/plugin.ex
igalic/Serum
352f80ebcc8ed160230e7775aac3590787c912c6
[ "MIT" ]
1
2021-08-03T11:16:36.000Z
2021-08-03T11:16:36.000Z
lib/serum/plugin.ex
igalic/Serum
352f80ebcc8ed160230e7775aac3590787c912c6
[ "MIT" ]
null
null
null
lib/serum/plugin.ex
igalic/Serum
352f80ebcc8ed160230e7775aac3590787c912c6
[ "MIT" ]
null
null
null
defmodule Serum.Plugin do @moduledoc """ A behaviour that all Serum plugin module must implement. This module allows experienced Serum users and developers to make their own Serum plugins which can extend the functionality of Serum. A Serum plugin can... - Alter contents of input or output files, - Exe...
26.608769
101
0.644654
181543fd2f9030fca74f26cd998dced8281d6b6d
12,151
ex
Elixir
lib/ex_doc/autolink.ex
davydog187/ex_doc
0aa4948aff3fe1454ae55ea37c9f50f9990531cb
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/autolink.ex
davydog187/ex_doc
0aa4948aff3fe1454ae55ea37c9f50f9990531cb
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/autolink.ex
davydog187/ex_doc
0aa4948aff3fe1454ae55ea37c9f50f9990531cb
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Autolink do @moduledoc false # * `:app` - the app that the docs are being generated for. When linking modules they are # checked if they are part of the app and based on that the links are relative or absolute. # # * `:current_module` - the module that the docs are being generated for. Used ...
26.24406
108
0.581269
18154dcefc41a5bac2b6537ff12f6f0e70900a9b
172
ex
Elixir
lib/cgrates_web_jsonapi_web/views/tp_destination_view.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
lib/cgrates_web_jsonapi_web/views/tp_destination_view.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
lib/cgrates_web_jsonapi_web/views/tp_destination_view.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapiWeb.TpDestinationView do use CgratesWebJsonapiWeb, :view use JaSerializer.PhoenixView attributes([:tpid, :tag, :prefix, :created_at]) end
24.571429
51
0.796512
181557344a76adcf59fbd6ace9fc95ac2e7a59bf
37,263
ex
Elixir
lib/cadet/assessments/assessments.ex
jiayushe/cadet
66d1ac2a67d891798092c89addbbfe7272de5775
[ "Apache-2.0" ]
null
null
null
lib/cadet/assessments/assessments.ex
jiayushe/cadet
66d1ac2a67d891798092c89addbbfe7272de5775
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
lib/cadet/assessments/assessments.ex
tsiyuk/cadet
66d1ac2a67d891798092c89addbbfe7272de5775
[ "Apache-2.0" ]
1
2019-07-17T15:51:58.000Z
2019-07-17T15:51:58.000Z
defmodule Cadet.Assessments do @moduledoc """ Assessments context contains domain logic for assessments management such as missions, sidequests, paths, etc. """ use Cadet, [:context, :display] import Ecto.Query alias Cadet.Accounts.{Notification, Notifications, User} alias Cadet.Assessments.{Answer, A...
32.94695
262
0.598529
18155cfac5cd70a79e495ee85e2a82291eee1ec0
102
ex
Elixir
apps/welcome2_cli/lib/welcome2_cli/state.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
apps/welcome2_cli/lib/welcome2_cli/state.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
13
2020-03-22T08:00:57.000Z
2022-03-07T16:35:36.000Z
apps/welcome2_cli/lib/welcome2_cli/state.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
defmodule Welcome2Cli.State do defstruct( view: nil, service: nil, command: nil ) end
12.75
30
0.647059
18157af9eb7b8da3f5867828f381f705a3a52eb9
805
ex
Elixir
lib/central_web/views/admin/general_view.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central_web/views/admin/general_view.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central_web/views/admin/general_view.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule CentralWeb.Admin.GeneralView do use CentralWeb, :view use Timex @build_time_priv Timex.now() def build_time() do @build_time_priv end @spec colours :: {String.t(), String.t(), String.t()} def colours(), do: Central.Admin.AdminLib.colours() @spec icon() :: String.t() def icon(), do: Ce...
33.541667
72
0.696894
1815890103631768e7fee447bd899aa922914882
4,880
exs
Elixir
backend/test/backend/budgets_test.exs
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
backend/test/backend/budgets_test.exs
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
backend/test/backend/budgets_test.exs
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
defmodule Backend.BudgetsTest do use Backend.DataCase alias Backend.Budgets describe "transactions" do alias Backend.Budgets.Transaction @valid_attrs %{amount: 42, category: "some category", datetime_occurred: "2010-04-17T14:00:00Z", description: "some description"} @update_attrs %{amount: 43, cate...
36.41791
150
0.687705
18159b37a9eb42cf3165b2ac24b7d5c61b7ef1ee
1,860
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/resources.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/resources.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/resources.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...
33.214286
115
0.690323
1815f3c9b04e502b7a075309c3b3f6aef4d0a50e
296
ex
Elixir
lib/models/open_channel_request.ex
RooSoft/lnd_client
a70d5036e5f871b3265874f642c060ff79ea35b1
[ "MIT" ]
1
2021-07-19T18:33:04.000Z
2021-07-19T18:33:04.000Z
lib/models/open_channel_request.ex
RooSoft/lnd_client
a70d5036e5f871b3265874f642c060ff79ea35b1
[ "MIT" ]
1
2021-06-29T23:03:36.000Z
2021-06-29T23:03:36.000Z
lib/models/open_channel_request.ex
RooSoft/lnd_client
a70d5036e5f871b3265874f642c060ff79ea35b1
[ "MIT" ]
1
2021-06-22T20:15:50.000Z
2021-06-22T20:15:50.000Z
defmodule LndClient.Models.OpenChannelRequest do defstruct [:node_pubkey, :local_funding_amount, sat_per_vbyte: 5, push_sat: nil, target_conf: nil, private: false, csv_delay: 40, min_confs: 2, min_htlc_msat: nil, spend_unconfirmed: false, close_address: nil, funding_shim: nil] end
42.285714
68
0.77027
18162538f8a24634ad4d031e9307b1ff89a39aa4
5,024
exs
Elixir
test/timezone_test.exs
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
test/timezone_test.exs
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
test/timezone_test.exs
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
defmodule TimezoneTests do use ExUnit.Case, async: true use Timex test :get do %TimezoneInfo{:full_name => name, :standard_abbreviation => abbrev, :gmt_offset_std => offset} = Timezone.get("America/Chicago") assert name === "America/Chicago" assert abbrev === "CST" assert offset === -360 %Tim...
52.884211
144
0.647691
18164ad00138012bd923dd510af79ea28922c677
1,133
exs
Elixir
config/config.exs
zven21/turbo_html
462a41d57d84a96e9e86dfa31c3a12040a02e712
[ "MIT" ]
4
2019-01-23T14:10:31.000Z
2019-05-14T15:41:11.000Z
config/config.exs
zven21/turbo_html
462a41d57d84a96e9e86dfa31c3a12040a02e712
[ "MIT" ]
35
2019-02-19T02:11:33.000Z
2021-09-01T07:09:42.000Z
config/config.exs
zven21/turbo_html
462a41d57d84a96e9e86dfa31c3a12040a02e712
[ "MIT" ]
4
2019-11-03T16:11:39.000Z
2022-03-05T14:34:23.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...
35.40625
73
0.750221
18164c0e2e522af6d8be6033b69587aba236f3dd
3,953
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/monitored_resource_descriptor.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/monitored_resource_descriptor.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/monitored_resource_descriptor.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...
63.758065
493
0.738679
181669d8d5eba1793e169cb59f7d878d235336f8
2,186
exs
Elixir
test/rally_api/project_scope_test.exs
jcartwright/rally_api
fdcea7d2a40c7d9c0e392d6836693f5a9a9677a9
[ "MIT" ]
null
null
null
test/rally_api/project_scope_test.exs
jcartwright/rally_api
fdcea7d2a40c7d9c0e392d6836693f5a9a9677a9
[ "MIT" ]
11
2016-08-31T03:29:31.000Z
2016-09-02T22:00:05.000Z
test/rally_api/project_scope_test.exs
jcartwright/rally_api
fdcea7d2a40c7d9c0e392d6836693f5a9a9677a9
[ "MIT" ]
null
null
null
defmodule RallyApi.ProjectScopeTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import RallyApi.RallyQuery alias RallyApi.{Client, QueryResult} @client Client.new(%{zsessionid: Application.get_env(:rally_api, :api_key)}) # Testing Sandbox @parent_ref "https://rally1.r...
33.630769
90
0.677036
18166ae76ffc8b6bf33561d79f9fa48b7402bd82
129
ex
Elixir
lib/google_fit/activity_type/snowboarding.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
2
2017-02-01T13:51:26.000Z
2019-04-12T11:37:25.000Z
lib/google_fit/activity_type/snowboarding.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
lib/google_fit/activity_type/snowboarding.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
defmodule GoogleFit.ActivityType.Snowboarding do @moduledoc false def code, do: GoogleFit.ActivityType.code(__MODULE__) end
21.5
55
0.813953
18167655a3f7aceec8117b2e8b7896171e58306e
92
exs
Elixir
test/single_product_web/views/page_view_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
test/single_product_web/views/page_view_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
test/single_product_web/views/page_view_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
defmodule SingleProductWeb.PageViewTest do use SingleProductWeb.ConnCase, async: true end
23
44
0.847826
181691501d482eb36af17a59dc906c6989b83b6b
5,381
ex
Elixir
apps/blunt_data/lib/blunt/data/factories/factory.ex
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt_data/lib/blunt/data/factories/factory.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt_data/lib/blunt/data/factories/factory.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
defmodule Blunt.Data.Factories.Factory do @moduledoc false alias IO.ANSI defmodule Error do defexception [:errors] def message(%{errors: errors}) do inspect(errors) end end @derive {Inspect, only: [:name, :message, :operation, :active_builder]} defstruct [ :name, :message, ...
26.24878
119
0.594127
18169a1fd2f675de7afae4a416d83b9f3412d503
1,286
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/overlays/account_overlay.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet/lib/ewallet/web/v1/overlays/account_overlay.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/overlays/account_overlay.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.V1.AccountOverlay do @moduledoc """ Overlay for the Account schema. """ @behaviour EWallet.Web.V1.Overlay alias EWallet.Web.V1.{ CategoryOverlay, WalletOverlay, TokenOverlay, KeyOverlay, APIKeyOverlay, MembershipOverlay } def preload_assocs, do: [ :...
18.371429
57
0.603421
1816a1af5f89f70aa57f82b814839d4d38705a53
1,666
ex
Elixir
lib/advent/y2020/d01.ex
ed-flanagan/advent-of-code-solutions-elixir
ca4b62f82088e7a120699fbba9809c04c76403a6
[ "MIT" ]
null
null
null
lib/advent/y2020/d01.ex
ed-flanagan/advent-of-code-solutions-elixir
ca4b62f82088e7a120699fbba9809c04c76403a6
[ "MIT" ]
null
null
null
lib/advent/y2020/d01.ex
ed-flanagan/advent-of-code-solutions-elixir
ca4b62f82088e7a120699fbba9809c04c76403a6
[ "MIT" ]
null
null
null
defmodule Advent.Y2020.D01 do @moduledoc """ https://adventofcode.com/2020/day/1 """ @target 2020 @doc """ Find the two entries that sum to 2020; what do you get if you multiply them together? """ @spec part_one(Enumerable.t()) :: integer() def part_one(values) do {a, b} = values |...
23.138889
86
0.589436
1816af27226ce3bf02be60c48b9109f7e1285e1d
292
ex
Elixir
deps/absinthe/lib/absinthe/blueprint/type_reference/non_null.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
lib/absinthe/blueprint/type_reference/non_null.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/type_reference/non_null.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Blueprint.TypeReference.NonNull do @moduledoc false alias Absinthe.{Blueprint, Phase} @enforce_keys [:of_type] defstruct [ :of_type, errors: [] ] @type t :: %__MODULE__{ of_type: Blueprint.TypeReference.t, errors: [Phase.Error.t], } end
14.6
53
0.667808
1816d3e3664fdfdff183abece7811a48ec4f9334
52,993
ex
Elixir
lib/phoenix_live_view/test/live_view_test.ex
matthewlehner/phoenix_live_view
5f3ffe94c2305c14f4fe72d1c05a917b6f751407
[ "MIT" ]
1
2022-03-13T23:01:55.000Z
2022-03-13T23:01:55.000Z
lib/phoenix_live_view/test/live_view_test.ex
matthewlehner/phoenix_live_view
5f3ffe94c2305c14f4fe72d1c05a917b6f751407
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/live_view_test.ex
matthewlehner/phoenix_live_view
5f3ffe94c2305c14f4fe72d1c05a917b6f751407
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest do @moduledoc """ Conveniences for testing Phoenix LiveViews. In LiveView tests, we interact with views via process communication in substitution of a browser. Like a browser, our test process receives messages about the rendered updates from the view which can be asserted ag...
31.675433
98
0.65152
1816db4ed35f82c49584b9495b160288f1fa3cef
2,450
ex
Elixir
web/router.ex
anndream/phoenix-commerce
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
229
2016-09-21T09:24:46.000Z
2020-05-16T22:41:31.000Z
web/router.ex
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
3
2016-09-21T10:26:50.000Z
2016-10-19T07:25:12.000Z
web/router.ex
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
32
2016-09-22T05:19:05.000Z
2019-11-01T04:07:13.000Z
defmodule Ap.Router do use Ap.Web, :router use Plug.ErrorHandler use Sentry.Plug pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :admin do plug :put_layout, {Ap.LayoutView, ...
26.344086
93
0.69102
181743af81ef21f528f07f214220625e20108073
1,649
ex
Elixir
lib/yahoo_wrapper_web/endpoint.ex
TKW25/yahoo-wrapper
48e9a55b0a96ea0c7131ae408c9a35c5f6bb2382
[ "MIT" ]
null
null
null
lib/yahoo_wrapper_web/endpoint.ex
TKW25/yahoo-wrapper
48e9a55b0a96ea0c7131ae408c9a35c5f6bb2382
[ "MIT" ]
null
null
null
lib/yahoo_wrapper_web/endpoint.ex
TKW25/yahoo-wrapper
48e9a55b0a96ea0c7131ae408c9a35c5f6bb2382
[ "MIT" ]
null
null
null
defmodule YahooWrapperWeb.Endpoint do use Phoenix.Endpoint, otp_app: :yahoo_wrapper # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: ...
29.981818
97
0.725288
181748ee3c944d3200dec0f6584244e7dea9c3cf
357
exs
Elixir
priv/repo/seeds.exs
daniel-leal/uncaloteme-api
708be51ae446077bee8350a876bc2357cb3a66b8
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
daniel-leal/uncaloteme-api
708be51ae446077bee8350a876bc2357cb3a66b8
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
daniel-leal/uncaloteme-api
708be51ae446077bee8350a876bc2357cb3a66b8
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # UncaloteMe.Repo.insert!(%UncaloteMe.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as the...
29.75
61
0.711485
18174bf6651b4d12256fa83dcb21a3422940ed8e
6,994
ex
Elixir
lib/remote_ip.ex
hpopp/remote_ip
0c5da44b8b0925045f7c083ea2c489dda90b6c1b
[ "MIT" ]
null
null
null
lib/remote_ip.ex
hpopp/remote_ip
0c5da44b8b0925045f7c083ea2c489dda90b6c1b
[ "MIT" ]
null
null
null
lib/remote_ip.ex
hpopp/remote_ip
0c5da44b8b0925045f7c083ea2c489dda90b6c1b
[ "MIT" ]
null
null
null
defmodule RemoteIp do @moduledoc """ A plug to overwrite the `Plug.Conn`'s `remote_ip` based on request headers. To use, add the `RemoteIp` plug to your app's plug pipeline: ```elixir defmodule MyApp do use Plug.Builder plug RemoteIp end ``` Keep in mind the order of plugs in your pipeline a...
29.635593
80
0.647841
1817610ce65d2006b87edbf070679dd7c68cbbf5
2,257
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/components/admin/public/_notif.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
3
2021-06-27T10:26:51.000Z
2022-01-10T13:56:08.000Z
apps/mishka_html/lib/mishka_html_web/live/components/admin/public/_notif.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/components/admin/public/_notif.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
defmodule MishkaHtmlWeb.Admin.Public.Notif do use MishkaHtmlWeb, :live_view def mount(_params, _session, socket) do if connected?(socket), do: subscribe() {:ok, assign(socket, notifs: [])} end def render(assigns) do ~H""" <div class="toast-container" id="admin_notif"> <%= for noti...
37.616667
193
0.595038
1817689b5a4f80e03216903dac7b66f92d56b1c6
127
ex
Elixir
lib/mappers_web/channels/h3_channel.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
32
2021-04-22T01:55:31.000Z
2022-02-25T13:17:21.000Z
lib/mappers_web/channels/h3_channel.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
58
2021-06-04T18:42:59.000Z
2022-03-31T07:17:01.000Z
lib/mappers_web/channels/h3_channel.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
13
2021-04-10T06:09:15.000Z
2022-03-23T13:07:37.000Z
defmodule MappersWeb.H3Channel do use Phoenix.Channel def join("h3:new", _message, socket) do {:ok, socket} end end
15.875
41
0.700787
181798d07ad620054cdad474c28a99c70b53c549
1,390
ex
Elixir
apps/estuary/lib/estuary_web/live/event_live_view/table.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/estuary/lib/estuary_web/live/event_live_view/table.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/estuary/lib/estuary_web/live/event_live_view/table.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
null
null
null
defmodule EstuaryWeb.EventLiveView.Table do @moduledoc """ LiveComponent for event_stream table """ use Phoenix.LiveComponent def render(assigns) do ~L""" <div id="<%= @id %>" class="events-index__table"> <table class="events-table"> <thead> <th class="events-table__th events-t...
38.611111
105
0.585612
1817b9feeb9724b6f980518010474d24351f275c
884
exs
Elixir
test/absinthe_generator/resolver_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
1
2022-02-28T14:58:08.000Z
2022-02-28T14:58:08.000Z
test/absinthe_generator/resolver_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
null
null
null
test/absinthe_generator/resolver_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
null
null
null
defmodule AbsintheGenerator.ResolverTest do use ExUnit.Case, async: true @test_struct %AbsintheGenerator.Resolver{ app_name: "MyApp", resolver_name: "cats", resolver_functions: [ """ def find(params, _) do EctoSchemas.Felines.find_cats(params) end """, """ d...
21.047619
89
0.634615
1817ba6d6af1762c1fe4355d05250653d0021c2e
444
ex
Elixir
channels/lib/router.ex
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
channels/lib/router.ex
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
channels/lib/router.ex
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
defmodule Hypertrons.Channels.Router do use Plug.Router alias Hypertrons.Channels.SlackRouter, as: SlackRouter plug :match plug Plug.Parsers, parsers: [:json], pass: ["application/json"], json_decoder: Jason plug :dispatch get "/ping" do send_resp(conn, 200, ...
21.142857
56
0.63964
1817ccb5a2be2a1df745343ee4e14739cadca2c5
2,086
ex
Elixir
lib/livevox/metrics/wait_time.ex
justicedemocrats/livevox_layer
2ead1d0ef7529e617de524391d3d19514815af18
[ "MIT" ]
null
null
null
lib/livevox/metrics/wait_time.ex
justicedemocrats/livevox_layer
2ead1d0ef7529e617de524391d3d19514815af18
[ "MIT" ]
1
2018-01-25T21:49:40.000Z
2018-01-25T21:49:40.000Z
lib/livevox/metrics/wait_time.ex
justicedemocrats/livevox_layer
2ead1d0ef7529e617de524391d3d19514815af18
[ "MIT" ]
2
2018-01-25T12:29:59.000Z
2018-05-25T15:43:26.000Z
defmodule Livevox.Metrics.WaitTime do alias Phoenix.{PubSub} use GenServer import ShortMaps def start_link do GenServer.start_link(__MODULE__, fn -> %{} end, name: __MODULE__) end def init(opts) do PubSub.subscribe(:livevox, "agent_event") {:ok, %{}} end def handle_info(message = %{"event...
29.380282
96
0.591083
1817db89ef9fb4854149ca8fa4da010645ea8187
1,885
ex
Elixir
lib/simple_pool/v1/server/provider_behaviour.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
12
2018-07-03T10:14:54.000Z
2020-04-07T02:04:39.000Z
lib/simple_pool/v1/server/provider_behaviour.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
1
2018-12-02T06:05:59.000Z
2018-12-02T06:05:59.000Z
lib/simple_pool/v1/server/provider_behaviour.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
2
2018-03-05T12:01:51.000Z
2018-07-03T10:15:04.000Z
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.SimplePool.Server.ProviderBehaviour do #-----------------...
69.814815
173
0.464191
1817ee81d13d0ad18590cc609810b53e085660e7
1,988
exs
Elixir
config/prod.exs
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
3
2015-12-26T02:36:50.000Z
2016-05-19T16:29:57.000Z
config/prod.exs
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
config/prod.exs
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
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.555556
67
0.710262
1817f64b0469959a5d4048e9d229e356df37660c
783
ex
Elixir
example/test/support/channel_case.ex
eco-pro/elm-phoenix-ports
17336527c63e7964022d146ad53f0b8238f41873
[ "MIT" ]
6
2020-06-04T09:47:33.000Z
2021-09-16T11:10:19.000Z
example/test/support/channel_case.ex
chazsconi/elm-phoenix-ports
1e5871b01f40e6c72903cee18ed36277feaed3a4
[ "MIT" ]
2
2021-04-03T19:40:35.000Z
2021-09-13T10:41:32.000Z
example/test/support/channel_case.ex
eco-pro/elm-phoenix-ports
17336527c63e7964022d146ad53f0b8238f41873
[ "MIT" ]
1
2021-09-10T15:06:36.000Z
2021-09-10T15:06:36.000Z
defmodule ElmPhoenix.Web.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interact...
24.46875
58
0.729246
18182496182c046298992ed8b6e933d96e9ad76a
1,202
exs
Elixir
exercises/transpose/example.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/transpose/example.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/transpose/example.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
defmodule Transpose do @doc """ Given an input text, output it transposed. Rows become columns and columns become rows. See https://en.wikipedia.org/wiki/Transpose. If the input has rows of different lengths, this is to be solved as follows: * Pad to the left with spaces. * Don't pad to the right. ...
25.574468
91
0.642263
18182d0329b7ef297abeec1f904f49b2cd528b8e
3,563
ex
Elixir
lib/mix/lib/mix/tasks/deps.clean.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/mix/lib/mix/tasks/deps.clean.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.clean.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule Mix.Tasks.Deps.Clean do use Mix.Task @shortdoc "Deletes the given dependencies' files" @moduledoc """ Deletes the given dependencies' files, including build artifacts and fetched sources. Since this is a destructive action, cleaning of dependencies only occurs when passing arguments/options: ...
30.982609
97
0.644401
181835f8620429d63bea83ed0d3275f5fab8bd6c
112
exs
Elixir
apps/ex_wire/test/ex_wire/packet/disconnect_test.exs
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
22
2017-06-22T02:50:34.000Z
2022-01-26T20:43:21.000Z
apps/ex_wire/test/ex_wire/packet/disconnect_test.exs
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
9
2018-10-08T22:56:56.000Z
2018-10-18T20:41:55.000Z
apps/ex_wire/test/ex_wire/packet/disconnect_test.exs
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
5
2018-10-06T16:30:48.000Z
2022-01-26T20:43:26.000Z
defmodule ExWire.Packet.DisconnectTest do use ExUnit.Case, async: true doctest ExWire.Packet.Disconnect end
22.4
41
0.8125
18185c2bfeb57db0ac056ddc129e32cb7ca05bd9
890
ex
Elixir
lib/poxa/presence_channel.ex
tinfoil/poxa
a1c3501ecf1df9873a5c7018dc7da0abe4556cec
[ "MIT" ]
null
null
null
lib/poxa/presence_channel.ex
tinfoil/poxa
a1c3501ecf1df9873a5c7018dc7da0abe4556cec
[ "MIT" ]
null
null
null
lib/poxa/presence_channel.ex
tinfoil/poxa
a1c3501ecf1df9873a5c7018dc7da0abe4556cec
[ "MIT" ]
null
null
null
defmodule Poxa.PresenceChannel do @moduledoc """ This module holds functions that are related to presence channel users information """ @doc """ This function returns the user ids currently subscribed to a presence channel More info at: http://pusher.com/docs/rest_api#method-get-users """ @spec users(...
26.969697
84
0.68764
1818abb51329906ff54dac87641ca2426918fd37
17,494
ex
Elixir
lib/elixir/lib/uri.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/uri.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/uri.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
defmodule URI do @moduledoc """ Utilities for working with URIs. This module provides functions for working with URIs (for example, parsing URIs or encoding query strings). The functions in this module are implemented according to [RFC 3986](https://tools.ietf.org/html/rfc3986). """ defstruct scheme: ni...
30.006861
107
0.640505
1818b1b08f6e9a19e39da50039795e011839c7bf
2,473
exs
Elixir
test/core_test.exs
Gazler/telemetry_metrics_prometheus_core
6a08e81d2a0f897a3e2c050d0399c2cb9a94ab93
[ "Apache-2.0" ]
null
null
null
test/core_test.exs
Gazler/telemetry_metrics_prometheus_core
6a08e81d2a0f897a3e2c050d0399c2cb9a94ab93
[ "Apache-2.0" ]
1
2019-07-04T14:50:29.000Z
2019-07-04T14:50:29.000Z
test/core_test.exs
Gazler/telemetry_metrics_prometheus_core
6a08e81d2a0f897a3e2c050d0399c2cb9a94ab93
[ "Apache-2.0" ]
null
null
null
defmodule CoreTest do use ExUnit.Case import ExUnit.CaptureLog import TelemetryMetricsPrometheus.Core, only: [init: 2, scrape: 1, stop: 1] alias Telemetry.Metrics test "initializes properly" do metrics = [ Metrics.counter("http.request.total", event_name: [:http, :request, :stop], ...
31.303797
98
0.675293
1818bce4a4c1c069ae9eb1135af8dc7ebc8faeb5
3,860
ex
Elixir
lib/plausible/stats/query.ex
avimanyu786/analytics
9cc2e3b656916b0f682f2e30e37dbbd79a67b169
[ "MIT" ]
2
2020-05-16T13:48:44.000Z
2020-05-22T09:52:36.000Z
lib/plausible/stats/query.ex
avimanyu786/analytics
9cc2e3b656916b0f682f2e30e37dbbd79a67b169
[ "MIT" ]
null
null
null
lib/plausible/stats/query.ex
avimanyu786/analytics
9cc2e3b656916b0f682f2e30e37dbbd79a67b169
[ "MIT" ]
null
null
null
defmodule Plausible.Stats.Query do defstruct date_range: nil, step_type: nil, period: nil, steps: nil, filters: %{} def shift_back(%__MODULE__{period: "day"} = query) do new_date = query.date_range.first |> Timex.shift(days: -1) Map.put(query, :date_range, Date.range(new_date, new_date)) end def shift...
25.394737
82
0.608808
1818f7d119f3d94679a76cea78e789edfd9139e8
2,947
ex
Elixir
lib/google_api/pub_sub/v1/model/binding.ex
balena/elixir-google-api-pubsub
40a089e324effd7e17dac21279e4dd1bd3f8fe19
[ "Apache-2.0" ]
null
null
null
lib/google_api/pub_sub/v1/model/binding.ex
balena/elixir-google-api-pubsub
40a089e324effd7e17dac21279e4dd1bd3f8fe19
[ "Apache-2.0" ]
null
null
null
lib/google_api/pub_sub/v1/model/binding.ex
balena/elixir-google-api-pubsub
40a089e324effd7e17dac21279e4dd1bd3f8fe19
[ "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.8375
136
0.699016
1819b49670a9152bc6967722d8440fef35b1547b
297
exs
Elixir
template/$PROJECT_NAME$/mix.exs
pragdave/gen_umbrella
8cdc33850590c821db36bc25185432f4dce3c09e
[ "Apache-2.0" ]
null
null
null
template/$PROJECT_NAME$/mix.exs
pragdave/gen_umbrella
8cdc33850590c821db36bc25185432f4dce3c09e
[ "Apache-2.0" ]
null
null
null
template/$PROJECT_NAME$/mix.exs
pragdave/gen_umbrella
8cdc33850590c821db36bc25185432f4dce3c09e
[ "Apache-2.0" ]
null
null
null
defmodule <%= @project_name_camel_case %>.Mixfile do use Mix.Project @deps [ ] # ------------------------------------------------------------ def project do [ apps_path: "apps", deps: @deps, start_permanent: Mix.env == :prod, ] end end
16.5
64
0.410774
1819d1ea3bf3494cb1db4fdfacadc7386e7513d9
1,990
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_list_tags_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_list_tags_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_list_tags_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...
33.728814
156
0.748744
181a17179471a7beda8d6d9e28a1c87f05ad1f48
1,613
ex
Elixir
lib/inflator_web.ex
astoica1986/inflator
ca0e99a8e114956edae0b0456eb8b8d97c67a342
[ "Apache-2.0" ]
null
null
null
lib/inflator_web.ex
astoica1986/inflator
ca0e99a8e114956edae0b0456eb8b8d97c67a342
[ "Apache-2.0" ]
null
null
null
lib/inflator_web.ex
astoica1986/inflator
ca0e99a8e114956edae0b0456eb8b8d97c67a342
[ "Apache-2.0" ]
null
null
null
defmodule InflatorWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use InflatorWeb, :controller use InflatorWeb, :view The definitions below will be executed for every view, controlle...
23.720588
69
0.688779
181a2758c401bd7231917f9b825fb799c6570626
1,111
ex
Elixir
lib/cforum_web/views/advent_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
lib/cforum_web/views/advent_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
lib/cforum_web/views/advent_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
defmodule CforumWeb.AdventView do use CforumWeb, :view alias Cforum.Helpers def page_title(:index, _), do: gettext("advent calendars") def page_title(:show, %{year: year}), do: gettext("advent calendar %{year}", year: year) def page_heading(action, assigns), do: page_title(action, assigns) def body_id(:i...
30.027027
104
0.642664
181a2e00a66fd8de0a183c3fe3fe01b52b1807a6
6,495
ex
Elixir
apps/ex_wire/lib/ex_wire/handshake/eip_8.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/ex_wire/lib/ex_wire/handshake/eip_8.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/ex_wire/lib/ex_wire/handshake/eip_8.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule ExWire.Handshake.EIP8 do @moduledoc """ Handles wrapping and unwrapping messages according to the specification in [Ethereum EIP-8](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8.md). TODO: How do we handle random padding? """ require Logger alias ExthCrypto.Key # Amount of bytes a...
48.834586
507
0.640801
181a2f6f5d262b6093bbc3fcfb8f82ad22ae3cd7
116
exs
Elixir
test/arangoex/admin_test.exs
alakra/arangoex
6fbea0335bcc1adeaa4b4299ce8028c2e4080980
[ "MIT" ]
24
2016-11-02T14:53:55.000Z
2021-12-25T13:08:09.000Z
test/arangoex/admin_test.exs
alakra/arangoex
6fbea0335bcc1adeaa4b4299ce8028c2e4080980
[ "MIT" ]
22
2016-12-06T15:09:50.000Z
2022-03-24T02:16:20.000Z
test/arangoex/admin_test.exs
alakra/arangoex
6fbea0335bcc1adeaa4b4299ce8028c2e4080980
[ "MIT" ]
8
2016-12-12T21:27:25.000Z
2019-05-24T04:27:30.000Z
defmodule Arangoex.AdminTest do # alias Arangoex.Admin use ExUnit.Case, async: true # todo - Admin tests end
14.5
31
0.732759
181a3b8904a7be69e4f6f5159254a95e2cd2f6f6
1,632
ex
Elixir
debian/manpage.1.ex
volcengine/vkectl
454a322310a20345224c74165c75b78dbb45833c
[ "Apache-2.0" ]
32
2021-12-28T02:41:22.000Z
2022-02-25T07:21:25.000Z
debian/manpage.1.ex
volcengine/vkectl
454a322310a20345224c74165c75b78dbb45833c
[ "Apache-2.0" ]
null
null
null
debian/manpage.1.ex
volcengine/vkectl
454a322310a20345224c74165c75b78dbb45833c
[ "Apache-2.0" ]
41
2021-12-28T02:27:19.000Z
2022-01-22T17:30:07.000Z
.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2021 VolcEngine <service@volcengine.com>, .\" .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH Vkectl SECTION "Dece...
28.631579
70
0.663603
181a7576e66a2ca16362ee32f5cd7cac77eada26
414
ex
Elixir
spawn/spawn3.ex
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2019-02-17T11:54:17.000Z
2019-02-17T11:54:17.000Z
spawn/spawn3.ex
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
spawn/spawn3.ex
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
defmodule Spawn3 do def greet do receive do {sender, msg} -> send sender, {:ok, "Hello, #{msg}"} end end end # here's a client pid = spawn(Spawn3, :greet, []) send pid, {self(), "World!"} receive do {:ok, message} -> IO.puts(message) end send pid, {self(), "Kermit!"} receive do {:ok...
16.56
43
0.582126
181a9557465635cc8637e7c2cc076f33cfe1e94a
6,486
ex
Elixir
lib/ecto_job/producer.ex
mbuhot/ecto_job
0d02d33e354df66a1f27a030edd6c37a8a96d1ef
[ "MIT" ]
268
2017-08-15T12:55:41.000Z
2022-03-20T22:42:18.000Z
lib/ecto_job/producer.ex
mbuhot/ecto_job
0d02d33e354df66a1f27a030edd6c37a8a96d1ef
[ "MIT" ]
52
2018-01-15T20:47:54.000Z
2021-12-24T06:13:55.000Z
lib/ecto_job/producer.ex
mbuhot/ecto_job
0d02d33e354df66a1f27a030edd6c37a8a96d1ef
[ "MIT" ]
38
2018-01-08T12:26:19.000Z
2021-06-01T12:41:09.000Z
defmodule EctoJob.Producer do @moduledoc """ `GenStage` producer responsible for reserving available jobs from a job queue, and passing them on to the consumer module. The `GenStage` will buffer demand when there are insufficient jobs available in the database. Installs a timer to check for expired jobs, ...
33.43299
161
0.675146
181a9c9dd5df59ec63903a9a37d775a0945bc664
985
ex
Elixir
exercism/elixir/dna-encoding/lib/dna.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/dna-encoding/lib/dna.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/dna-encoding/lib/dna.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule DNA do def encode_nucleotide(?A), do: 0b0001 def encode_nucleotide(?C), do: 0b0010 def encode_nucleotide(?G), do: 0b0100 def encode_nucleotide(?T), do: 0b1000 def encode_nucleotide(_), do: 0b0000 def decode_nucleotide(0b0001), do: ?A def decode_nucleotide(0b0010), do: ?C def decode_nucleotide...
28.970588
73
0.671066
181ac172192f14a25dbc9c83ccb55e62ec59b0f5
1,839
exs
Elixir
clients/pub_sub/mix.exs
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub/mix.exs
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub/mix.exs
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...
27.447761
116
0.65416
181b38edd07a99f4f9ebc57bf6a0d6f9e81c13ee
147
exs
Elixir
test/aws_runtime_test.exs
NeoArcanjo/aws-lambda-runtime-boilerplate
dcd3beded406b3b98f624c50e56f92235381f0b1
[ "MIT-0" ]
null
null
null
test/aws_runtime_test.exs
NeoArcanjo/aws-lambda-runtime-boilerplate
dcd3beded406b3b98f624c50e56f92235381f0b1
[ "MIT-0" ]
null
null
null
test/aws_runtime_test.exs
NeoArcanjo/aws-lambda-runtime-boilerplate
dcd3beded406b3b98f624c50e56f92235381f0b1
[ "MIT-0" ]
null
null
null
defmodule AwsRuntimeTest do use ExUnit.Case doctest AwsRuntime test "greets the world" do assert AwsRuntime.hello() == :world end end
16.333333
39
0.727891
181b46c175492ce5f9b228d9aca61e0c743a2dbf
267
ex
Elixir
todoList/lib/todoList_web/controllers/hello_controller.ex
Mateusz-Stempniewicz/elixir-restservice
2a8f1e7950fd33b202174ea1b2cb2ba0f1620416
[ "MIT" ]
null
null
null
todoList/lib/todoList_web/controllers/hello_controller.ex
Mateusz-Stempniewicz/elixir-restservice
2a8f1e7950fd33b202174ea1b2cb2ba0f1620416
[ "MIT" ]
null
null
null
todoList/lib/todoList_web/controllers/hello_controller.ex
Mateusz-Stempniewicz/elixir-restservice
2a8f1e7950fd33b202174ea1b2cb2ba0f1620416
[ "MIT" ]
null
null
null
defmodule TodoListWeb.HelloController do use TodoListWeb, :controller def index(conn, _params) do render conn, "index.html" end def show(conn, %{"messenger" => messenger}) do render conn, "show.html", messenger: messenger end end
24.272727
54
0.662921
181b57d9232c1699251d5450014ec038ef1fba1f
228
exs
Elixir
test/igwet_web/controllers/page_controller_test.exs
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
null
null
null
test/igwet_web/controllers/page_controller_test.exs
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
18
2018-02-25T11:13:46.000Z
2022-03-28T03:43:38.000Z
test/igwet_web/controllers/page_controller_test.exs
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
1
2019-01-04T12:16:47.000Z
2019-01-04T12:16:47.000Z
defmodule IgwetWeb.PageControllerTest do use IgwetWeb.ConnCase doctest IgwetWeb.PageController test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to IGWET!" end end
22.8
58
0.697368
181b6704430a944754d53531f29e13602d377a34
212
ex
Elixir
DIR819_v1.06/src/opensource/libosip2/libosip2-2.0.9/debian/conffiles.ex
Sirherobrine23/Dir819gpl_code
8af92d65416198755974e3247b7bbe7f1151d525
[ "BSD-2-Clause" ]
1
2022-03-19T06:38:01.000Z
2022-03-19T06:38:01.000Z
DIR819_v1.06/src/opensource/libosip2/libosip2-2.0.9/debian/conffiles.ex
Sirherobrine23/Dir819gpl_code
8af92d65416198755974e3247b7bbe7f1151d525
[ "BSD-2-Clause" ]
null
null
null
DIR819_v1.06/src/opensource/libosip2/libosip2-2.0.9/debian/conffiles.ex
Sirherobrine23/Dir819gpl_code
8af92d65416198755974e3247b7bbe7f1151d525
[ "BSD-2-Clause" ]
1
2022-03-19T06:38:03.000Z
2022-03-19T06:38:03.000Z
# # If you want to use this conffile, remove all comments and put files that # you want dpkg to process here using their absolute pathnames. # See the policy manual # # for example: # /etc/libosip2/libosip2.conf
26.5
74
0.754717
181b9cccfe4840055447af68ddf3007cac254033
3,233
ex
Elixir
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_operation.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...
54.79661
543
0.731209
181ba44b88a8d9b81ef5a7eefe8dd647582ba00e
2,686
ex
Elixir
lib/bitcoin/block/validation.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
2
2019-08-12T04:53:57.000Z
2019-09-03T03:47:33.000Z
lib/bitcoin/block/validation.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/block/validation.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.Block.Validation do use Bitcoin.Common alias Bitcoin.Protocol.Messages.Block @spec hash_below_target(Blotk.t()) :: :ok | {:error, term} def hash_below_target(%Block{} = block) do <<hash_int::unsigned-little-integer-size(256)>> = Bitcoin.Block.hash(block) target_int = block.bits |> Bi...
34.883117
118
0.679077
181bab22f29d42675f658f41e3b1c44be6194aef
10,872
ex
Elixir
lib/codes/codes_m20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_m20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_m20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_M20 do alias IcdCode.ICDCode def _M20001 do %ICDCode{full_code: "M20001", category_code: "M20", short_code: "001", full_name: "Unspecified deformity of right finger(s)", short_name: "Unspecified deformity of right finger(s)", categ...
35.763158
88
0.603661
181bdcc77ed3a345a35a6a3e8a4a1b0edfc7d192
451
ex
Elixir
lib/history/predicted_funding_rates/supervisor.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
20
2021-08-06T01:09:48.000Z
2022-03-28T18:44:56.000Z
lib/history/predicted_funding_rates/supervisor.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
13
2021-08-21T21:17:02.000Z
2022-03-27T06:33:51.000Z
lib/history/predicted_funding_rates/supervisor.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
2
2021-09-23T11:31:59.000Z
2022-01-09T16:19:35.000Z
defmodule History.PredictedFundingRates.Supervisor do use Supervisor alias History.PredictedFundingRates @spec start_link(term) :: Supervisor.on_start() def start_link(_) do Supervisor.start_link(__MODULE__, :ok) end def init(_) do children = [ {PredictedFundingRates.CreateChunksBroadway, []...
23.736842
56
0.733925
181c0d7c2057e66b76122ea3e195b3acdc672864
243
ex
Elixir
lib/copadelrey_api.ex
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
null
null
null
lib/copadelrey_api.ex
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
2
2021-03-09T18:24:01.000Z
2021-05-10T15:20:30.000Z
lib/copadelrey_api.ex
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
null
null
null
defmodule Cup do @moduledoc """ Cup keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.3
66
0.744856
181c14e0462221a9abd9b7ebaa56267a321cf6a0
1,503
exs
Elixir
config/dev.exs
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "MIT" ]
null
null
null
config/dev.exs
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "MIT" ]
null
null
null
config/dev.exs
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "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 brunch.io to recompile .js and .css sources. config :budget_app, BudgetAppWeb.Endpoint, http: [por...
32.673913
170
0.737858
181c25196b975ec8587f045e3e0338704dd4fc2b
53
ex
Elixir
web/views/page_view.ex
archdragon/monitor
41a96a768e5e78cbc75344025fdaa9ed178a2718
[ "MIT" ]
null
null
null
web/views/page_view.ex
archdragon/monitor
41a96a768e5e78cbc75344025fdaa9ed178a2718
[ "MIT" ]
null
null
null
web/views/page_view.ex
archdragon/monitor
41a96a768e5e78cbc75344025fdaa9ed178a2718
[ "MIT" ]
null
null
null
defmodule Monitor.PageView do use Monitor.View end
13.25
29
0.811321
181c64c55c15222d20d09a73b55d6d4913eaf9f5
1,922
exs
Elixir
test/hello/blog_test.exs
coletiv/phoenix-client-vulnerability
141e394c255218a935d0f0f71b97a4c9cffeb223
[ "MIT" ]
null
null
null
test/hello/blog_test.exs
coletiv/phoenix-client-vulnerability
141e394c255218a935d0f0f71b97a4c9cffeb223
[ "MIT" ]
null
null
null
test/hello/blog_test.exs
coletiv/phoenix-client-vulnerability
141e394c255218a935d0f0f71b97a4c9cffeb223
[ "MIT" ]
null
null
null
defmodule Hello.BlogTest do use Hello.DataCase alias Hello.Blog describe "posts" do alias Hello.Blog.Post @valid_attrs %{body: "some body", word_count: 42} @update_attrs %{body: "some updated body", word_count: 43} @invalid_attrs %{body: nil, word_count: nil} def post_fixture(attrs \\ %{})...
28.686567
81
0.640479
181c6fb826ae580712a1f2d83af61676f9ba50b3
3,542
ex
Elixir
lib/regen/processors/array.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/regen/processors/array.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/regen/processors/array.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
alias Regen.Processors.Array, as: Array alias Regen.Status, as: State # We probably need to do the work for the array again. It's not great # to reuse the code that already exists as it may well not fit our # problem. It is better to reconcile in a later step. # How? # # An array should create a generator for the c...
28.336
118
0.629588
181c9edfd11c1dfc25fbbccbc48ca219afdeebe5
332
ex
Elixir
web/controllers/ship_controller.ex
lee-dohm/ship-designer
641b6f44aa5efc676ee3f9251618eeafb2b89bad
[ "MIT" ]
1
2020-01-26T18:06:25.000Z
2020-01-26T18:06:25.000Z
web/controllers/ship_controller.ex
lee-dohm/ship-designer
641b6f44aa5efc676ee3f9251618eeafb2b89bad
[ "MIT" ]
null
null
null
web/controllers/ship_controller.ex
lee-dohm/ship-designer
641b6f44aa5efc676ee3f9251618eeafb2b89bad
[ "MIT" ]
null
null
null
defmodule ShipDesigner.ShipController do use ShipDesigner.Web, :controller alias ShipDesigner.Ship def index(conn, _params) do ships = Repo.all(Ship) render(conn, "index.html", ships: ships) end def show(conn, %{"id" => id}) do ship = Repo.get!(Ship, id) render(conn, "show.html", ship: ship...
20.75
44
0.665663
181cbe9a2d1e4ae3a81984953936323c8362cfde
1,139
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/serializers/balance_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/balance_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/balance_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
31.638889
74
0.730465
181cc30bd17022d448917dd43159036fd32c5d3c
4,725
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/configuration.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/configuration.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/configuration.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...
63.851351
489
0.732275
181ccc33accf25e3c811e6bbbc7f31b00cc91edf
3,323
ex
Elixir
lib/mix/tasks/bonny.gen.controller.ex
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
lib/mix/tasks/bonny.gen.controller.ex
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
lib/mix/tasks/bonny.gen.controller.ex
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Bonny.Gen.Controller do @moduledoc """ Generates a new CRD controller An operator can have multiple controllers. Each controller handles the lifecycle of a custom resource. By default controllers are generated in the `V1` version scope. ```shell mix bonny.gen.controller Widget widget ...
28.161017
195
0.685826
181d0c3a3d0f0c45d308c4f47baf150726d2878c
491
ex
Elixir
apps/bytepack_web/lib/bytepack_web/views/webhooks/sale_view.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
313
2020-12-03T17:26:24.000Z
2022-03-18T09:05:14.000Z
apps/bytepack_web/lib/bytepack_web/views/webhooks/sale_view.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
null
null
null
apps/bytepack_web/lib/bytepack_web/views/webhooks/sale_view.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
57
2020-12-03T17:41:53.000Z
2022-03-17T17:28:16.000Z
defmodule BytepackWeb.Webhooks.SaleView do use BytepackWeb, :view alias BytepackWeb.Webhooks.SaleView def render("show.json", %{sale: sale}) do %{sale: render_one(sale, SaleView, "sale.json")} end def render("sale.json", %{sale: sale}) do %{ id: sale.id, product_id: sale.product_id, ...
22.318182
54
0.655804
181d12296db54218f6ade1827891a6a8fc9d3050
4,534
ex
Elixir
lib/ecto_psql_extras.ex
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
lib/ecto_psql_extras.ex
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
lib/ecto_psql_extras.ex
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
defmodule EctoPSQLExtras do @moduledoc """ The entry point for each function. """ @callback info :: %{ required(:title) => binary, required(:columns) => [%{name: atom, type: atom}], optional(:order_by) => [{atom, :asc | :desc}], optional(:limit) => pos_in...
31.486111
115
0.668064
181d6fb85564c598733cfdda65dfd286e123aee2
383
ex
Elixir
lib/intcode_params.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2020-03-27T14:57:32.000Z
2020-03-27T14:57:32.000Z
lib/intcode_params.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2019-12-07T14:32:47.000Z
2019-12-08T16:18:07.000Z
lib/intcode_params.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
null
null
null
defmodule IntcodeParams do defstruct idx: 0, inputs: [], outputs: [], loop_mode: false, rel_base: 0, return_val: :outputs, robot_mode: false, robot_position: {0, 0}, robot_direction: :up, robot_panels: %{}, ...
25.533333
35
0.472585
181d834a97031ca5f28798517ea852bccb53a3c1
371
exs
Elixir
test/aws/util_test.exs
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
test/aws/util_test.exs
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
test/aws/util_test.exs
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
defmodule AWS.UtilTest do use ExUnit.Case alias AWS.Util test "encode_multi_segment_uri/1" do assert Util.encode_multi_segment_uri("/my$key") == "/my%24key" assert Util.encode_multi_segment_uri("/h!") == "/h%21" end test "encode_uri/1" do assert Util.encode_uri("/my$key") == "%2Fmy%24key" as...
24.733333
66
0.668464
181d9a6795a92e26090c1eea51f6f22c606d32af
2,695
ex
Elixir
lib/phoenix_live_view/router.ex
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
lib/phoenix_live_view/router.ex
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
lib/phoenix_live_view/router.ex
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Router do @moduledoc """ Provides LiveView routing for Phoenix routers. """ @doc """ Defines a LiveView route. ## Layout When a layout isn't explicitly set, a default layout is inferred similar to controller actions. For example, the layout for the router `MyAppWeb.Router` ...
29.615385
87
0.637106
181da6bd9f55b3c059112dc13e94ef55cc25a8b5
206
exs
Elixir
test/multi_tenancex_web/controllers/page_controller_test.exs
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
30
2018-06-27T17:51:53.000Z
2021-04-24T03:17:55.000Z
test/multi_tenancex_web/controllers/page_controller_test.exs
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
null
null
null
test/multi_tenancex_web/controllers/page_controller_test.exs
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
7
2018-07-24T17:56:14.000Z
2019-12-31T02:10:13.000Z
defmodule MultiTenancexWeb.PageControllerTest do use MultiTenancexWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "MultiTenancex" end end
22.888889
54
0.703883
181daffd742c80ad8484a2175bdda7cb84865a17
2,880
ex
Elixir
lib/dgraph_ex/core/query/select.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:41.000Z
2019-05-01T15:18:41.000Z
lib/dgraph_ex/core/query/select.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
null
null
null
lib/dgraph_ex/core/query/select.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:48.000Z
2019-05-01T15:18:48.000Z
defmodule DgraphEx.Core.Query.Select do @moduledoc false alias DgraphEx.Core.{Query, Vertex} alias DgraphEx.Util alias Query.As defstruct fields: [] defmacro __using__(_) do quote do def select(block) when is_tuple(block) when is_list(block) when is_map(block) ...
25.043478
106
0.597569
181e382c73536470091a08fedc208c58941abcd6
59
ex
Elixir
web/views/komentar_view.ex
ench0/ex_elasr
a97e182d13bc5de56c370b687771a485e51fc6ea
[ "MIT" ]
null
null
null
web/views/komentar_view.ex
ench0/ex_elasr
a97e182d13bc5de56c370b687771a485e51fc6ea
[ "MIT" ]
null
null
null
web/views/komentar_view.ex
ench0/ex_elasr
a97e182d13bc5de56c370b687771a485e51fc6ea
[ "MIT" ]
null
null
null
defmodule Elasr.KomentarView do use Elasr.Web, :view end
14.75
31
0.779661
181e438a5daa97efcb40c7831f991f1ef613ba35
117
exs
Elixir
.formatter.exs
nathanl/safe_code
8dac42cb65cfe0f9ca51a2d29ba0eabb98ad67b3
[ "MIT" ]
98
2021-12-22T04:37:58.000Z
2022-02-27T22:53:25.000Z
.formatter.exs
nathanl/safe_code
8dac42cb65cfe0f9ca51a2d29ba0eabb98ad67b3
[ "MIT" ]
48
2019-09-24T11:10:50.000Z
2021-06-25T15:25:55.000Z
.formatter.exs
nathanl/safe_code
8dac42cb65cfe0f9ca51a2d29ba0eabb98ad67b3
[ "MIT" ]
12
2015-10-09T22:32:04.000Z
2021-07-18T12:15:42.000Z
# Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 150 ]
19.5
70
0.581197
181eb384dc7655c7e24439c1e19d0117f769b7ed
2,139
exs
Elixir
apps/extract_decode_json/test/extract/decode/json_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/extract_decode_json/test/extract/decode/json_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/extract_decode_json/test/extract/decode/json_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
defmodule Extract.Decode.JsonTest do use ExUnit.Case alias Extract.Context test "can be decoded back into struct" do struct = Extract.Decode.Json.new!([]) json = Jason.encode!(struct) assert {:ok, struct} == Jason.decode!(json) |> Extract.Decode.Json.new() end test "brook serializer can serial...
27.779221
97
0.528752
181ef678e41b82858cf514243ed26b8e46db250a
1,074
exs
Elixir
config/config.exs
itorisaias/peek_code
4f748e45fddc9e817fd4a5ad4d5811451efaa11c
[ "BSD-Source-Code", "Adobe-Glyph" ]
null
null
null
config/config.exs
itorisaias/peek_code
4f748e45fddc9e817fd4a5ad4d5811451efaa11c
[ "BSD-Source-Code", "Adobe-Glyph" ]
null
null
null
config/config.exs
itorisaias/peek_code
4f748e45fddc9e817fd4a5ad4d5811451efaa11c
[ "BSD-Source-Code", "Adobe-Glyph" ]
1
2021-03-05T00:21:07.000Z
2021-03-05T00:21:07.000Z
# 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 :peek_code, ecto_repos: [PeekCode.Repo]...
32.545455
86
0.769088
181f084c053dae0515c974c6cc673aa50c68dca8
499
ex
Elixir
lib/autox/plugs/auth_session_plug.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
lib/autox/plugs/auth_session_plug.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
lib/autox/plugs/auth_session_plug.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
defmodule Autox.AuthSessionPlug do alias Autox.SessionUtils, as: Su alias Autox.ForbiddenUtils, as: Fu def init([]), do: {Su, :logged_in?} def init(method) when is_atom(method), do: {Su, method} def init({module, method}), do: {module, method} def call(conn, checker) do if conn |> permission_check(chec...
27.722222
82
0.671343
181f2615852cd7b04f02b01a89c85bc69aa1422a
636
exs
Elixir
test/ex_polygon/rest/ticker_news_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
test/ex_polygon/rest/ticker_news_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
test/ex_polygon/rest/ticker_news_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
defmodule ExPolygon.Rest.TickerNewsTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest ExPolygon.Rest.HTTPClient setup_all do HTTPoison.start() :ok end @api_key System.get_env("POLYGON_API_KEY") test ".query returns an ok tuple and news for the ticker" d...
24.461538
62
0.600629
181f9b22d40ed06b0c2c9a1f1e6e33be2925488a
3,820
ex
Elixir
lib/koans/13_functions.ex
Tomyail/elixir-koans
c68cf3e7f6081f0c146be7c02fac8445ea8f9318
[ "MIT" ]
null
null
null
lib/koans/13_functions.ex
Tomyail/elixir-koans
c68cf3e7f6081f0c146be7c02fac8445ea8f9318
[ "MIT" ]
null
null
null
lib/koans/13_functions.ex
Tomyail/elixir-koans
c68cf3e7f6081f0c146be7c02fac8445ea8f9318
[ "MIT" ]
null
null
null
defmodule Functions do use Koans @intro "Functions" def greet(name) do "Hello, #{name}!" end koan "Functions map arguments to outputs" do assert greet("World") == "Hello, World!" end def multiply(a, b), do: a * b koan "Single line functions are cool, but mind the comma and the colon!" do ...
29.84375
104
0.642408
181f9c0159bd440b8570fe5cbd3499ed5603d3e1
3,269
ex
Elixir
clients/composer/lib/google_api/composer/v1beta1/model/operation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/composer/lib/google_api/composer/v1beta1/model/operation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1beta1/model/operation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
44.175676
157
0.704803
181fba2f564db962a9c223911676305d9c2ce04c
1,285
ex
Elixir
lib/hl7/2.5.1/segments/prb.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/prb.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/prb.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.Segments.PRB do @moduledoc false require Logger alias HL7.V2_5_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, action_code: nil, action_date_time: DataTypes.Ts, problem_id: DataTypes.Ce, problem_instance_id: DataTypes.Ei, episode_of_care_id: ...
34.72973
67
0.747082
1820145d719e16fd9ec64620456c7ef1488fd851
256
exs
Elixir
.formatter.exs
joseemds/ecto_function
97cdf3437dd067cea6a1a5e5e9e1eef0a2efc168
[ "MIT" ]
38
2017-10-17T09:31:27.000Z
2022-03-31T19:06:03.000Z
.formatter.exs
joseemds/ecto_function
97cdf3437dd067cea6a1a5e5e9e1eef0a2efc168
[ "MIT" ]
3
2018-07-18T10:18:27.000Z
2021-06-15T09:55:21.000Z
.formatter.exs
joseemds/ecto_function
97cdf3437dd067cea6a1a5e5e9e1eef0a2efc168
[ "MIT" ]
3
2019-11-16T22:29:50.000Z
2021-09-12T02:46:20.000Z
[ inputs: [ ".formatter.exs", "mix.exs", "lib/**.ex", "test/**.exs" ], import_deps: [:ecto], locals_without_parens: [defqueryfunc: 1, defqueryfunc: 2], export: [ locals_without_parens: [defqueryfunc: 1, defqueryfunc: 2] ] ]
18.285714
61
0.589844
18202563fe78aabf6ff8f5f0a9a99210d959ac4b
2,433
ex
Elixir
robotica_common/lib/buttons/music.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica_common/lib/buttons/music.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica_common/lib/buttons/music.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule RoboticaCommon.Buttons.Music do @moduledoc """ Music Buttons """ use RoboticaCommon.EventBus @behaviour RoboticaCommon.Buttons alias RoboticaCommon.Buttons alias RoboticaCommon.Buttons.Config @type state :: String.t() | nil | :stop @spec get_topics(Config.t()) :: list({list(String.t()), a...
29.670732
97
0.642006
18204b45ab0068b89330039c107b81023e2f6336
1,937
ex
Elixir
clients/pub_sub_lite/lib/google_api/pub_sub_lite/v1/model/list_subscriptions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub_lite/lib/google_api/pub_sub_lite/v1/model/list_subscriptions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub_lite/lib/google_api/pub_sub_lite/v1/model/list_subscriptions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.74
202
0.744966
18204b8781001690bec01cdfe14ccc853753908b
4,409
ex
Elixir
deps/timex/lib/convert/convert.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/timex/lib/convert/convert.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/timex/lib/convert/convert.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
defmodule Timex.Convert do @moduledoc false @doc """ Converts a map to a Date, NaiveDateTime or DateTime, depending on the amount of date/time information in the map. """ @spec convert_map(Map.t) :: Date.t | DateTime.t | NaiveDateTime.t | {:error, term} def convert_map(map) when is_map(map) do case c...
35.845528
102
0.51032
18205993d5303c27300e94935667fb3e32bb22b6
3,230
exs
Elixir
test/xlsxir_test.exs
norpan/xlsxir
2ee549477457adbfe6273a431963b63804ef3061
[ "MIT" ]
null
null
null
test/xlsxir_test.exs
norpan/xlsxir
2ee549477457adbfe6273a431963b63804ef3061
[ "MIT" ]
1
2018-11-28T15:47:33.000Z
2018-11-28T15:47:33.000Z
test/xlsxir_test.exs
se-apc/xlsxir
b9506c0ff01695f6c7f1188916c9f4c24bb9ffac
[ "MIT" ]
null
null
null
defmodule XlsxirTest do use ExUnit.Case import Xlsxir def path(), do: "./test/test_data/test.xlsx" def rb_path(), do: "./test/test_data/red_black.xlsx" test "second worksheet is parsed with index argument of 1" do {:ok, pid} = extract(path(), 1) assert get_list(pid) == [[1, 2], [3, 4]] close(pi...
29.363636
115
0.555108
18208a0acbd1f94a5f5b8ae76ffcf9b9baf78738
1,416
exs
Elixir
mix.exs
lawitschka/ex_aws_polly
0ad8542d78da1371e95258b8bbc65706139bcec8
[ "MIT" ]
1
2017-12-24T19:05:24.000Z
2017-12-24T19:05:24.000Z
mix.exs
lawitschka/ex_aws_polly
0ad8542d78da1371e95258b8bbc65706139bcec8
[ "MIT" ]
2
2020-05-28T11:31:41.000Z
2022-03-21T11:08:53.000Z
mix.exs
lawitschka/ex_aws_polly
0ad8542d78da1371e95258b8bbc65706139bcec8
[ "MIT" ]
3
2018-04-07T20:39:48.000Z
2022-03-15T11:32:26.000Z
defmodule ExAws.Polly.Mixfile do use Mix.Project @version "0.5.0" @service "polly" @url "https://github.com/lawitschka/ex_aws_#{@service}" @name __MODULE__ |> Module.split() |> Enum.take(2) |> Enum.join(".") def project do [ app: :ex_aws_polly, version: @version, elixir: "~> 1.4", ...
23.6
70
0.545904
1820bfd640ee617e0e13001bb74cb9e32c9b2d7a
8,586
exs
Elixir
test/phoenix/channel_test.exs
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
test/phoenix/channel_test.exs
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
test/phoenix/channel_test.exs
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
defmodule Phoenix.Channel.ChannelTest do use ExUnit.Case, async: true alias Phoenix.PubSub alias Phoenix.Channel alias Phoenix.Socket alias Phoenix.Socket.Message alias Phoenix.Channel.Transport alias Phoenix.Channel.Transport.InvalidReturn defmodule MyChannel do use Phoenix.Channel def join(_s...
34.481928
97
0.665735
1820d551cf7bb64ea8538504322e2a1b697ba8e8
567
exs
Elixir
lib/eex/test/eex/smart_engine_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/eex/test/eex/smart_engine_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex/smart_engine_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule EEx.SmartEngineTest do use ExUnit.Case, async: true test "evaluates simple string" do assert_eval "foo bar", "foo bar" end test "evaluates with assigns" do assert_eval "1", "<%= @foo %>", assigns: [foo: 1] end test "evaluates with loops" ...
24.652174
79
0.64903
1820e4d96cd434d2eb1c6ea5fa26813895f7206b
3,125
exs
Elixir
test/sandbox_test.exs
tryelixir/tryelixir
a8daff4afafaf5324f9c4c82f51430a2eb9fa10c
[ "MIT" ]
28
2015-01-28T05:30:44.000Z
2019-08-01T13:52:28.000Z
test/sandbox_test.exs
mrshankly/tryelixir
a8daff4afafaf5324f9c4c82f51430a2eb9fa10c
[ "MIT" ]
3
2020-12-03T19:46:36.000Z
2021-02-20T09:43:52.000Z
test/sandbox_test.exs
tryelixir/tryelixir
a8daff4afafaf5324f9c4c82f51430a2eb9fa10c
[ "MIT" ]
5
2016-01-28T13:55:02.000Z
2018-06-06T15:12:47.000Z
defmodule SandboxTest do use ExUnit.Case, async: true import TryElixir.Case @sandbox_error ~r/^\*\* \(TryElixir.SandboxError\)/ test "literals" do {pid, {:ok, result}} = eval("42") assert result == 42 {:ok, result} = eval(pid, ~s("foo")) assert result == "foo" {:ok, result} = eval(pid, "...
22.977941
94
0.53856
1820e9ca832a70bd4fa0caf5fa9946ea9c98e24e
7,398
exs
Elixir
apps/ehealth/test/integration/v1/dictionaries_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth/test/integration/v1/dictionaries_test.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth/test/integration/v1/dictionaries_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EHealth.Integration.DictionariesTest do @moduledoc false use EHealth.Web.ConnCase import Core.Expectations.Signature import Ecto.Query alias Core.Dictionaries.Dictionary alias Core.EmployeeRequests alias Core.LegalEntities, as: API alias Core.Validators.KVEDs @read_repo Application.get_e...
32.025974
116
0.62233
1820f1606241fff363bafe2656e98f6e57d2f137
1,589
ex
Elixir
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/ehlo/lib/ehlo_web/endpoint.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/ehlo/lib/ehlo_web/endpoint.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/ehlo/lib/ehlo_web/endpoint.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
defmodule EhloWeb.Endpoint do use Phoenix.Endpoint, otp_app: :ehlo # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_ehlo_key", ...
28.890909
97
0.714915
1820fadd4fc4a7edfe11feb336d20532912622c9
3,412
ex
Elixir
chromoid_web/lib/chromoid_discord/oauth.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
7
2020-11-18T11:29:20.000Z
2022-01-16T03:16:14.000Z
chromoid_web/lib/chromoid_discord/oauth.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
null
null
null
chromoid_web/lib/chromoid_discord/oauth.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
1
2021-01-06T15:40:46.000Z
2021-01-06T15:40:46.000Z
defmodule ChromoidDiscord.OAuth do @client_id Application.get_env(:nostrum, :client_id) @client_secret Application.get_env(:nostrum, :client_secret) @url Application.get_env(:chromoid, __MODULE__)[:url] @url || Mix.raise(""" OAuth URL unconfigured """) use Tesla require Logger plug Tesla.Midd...
30.19469
262
0.628077