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
85d34cf82d6f403248d8ce5cff7c8a0282432104
240
ex
Elixir
lib/cforum_web/views/widgets_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/widgets_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/widgets_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb.WidgetsView do use CforumWeb, :view def multi_users_selector(assigns, users, field_name) do render( "users_selector.html", Map.merge(assigns, %{users: users, field_name: field_name}) ) end end
21.818182
65
0.704167
85d3539b5d472c9e78977858fab249fc04900f45
450
exs
Elixir
test/test_helper.exs
ppraisethesun/logger_papertrail_backend
c8ae5af08306dfe788b2fd59aa373e4ed2bc69f6
[ "MIT" ]
53
2015-12-26T22:52:21.000Z
2022-01-25T03:56:48.000Z
test/test_helper.exs
ppraisethesun/logger_papertrail_backend
c8ae5af08306dfe788b2fd59aa373e4ed2bc69f6
[ "MIT" ]
21
2015-10-02T13:15:46.000Z
2021-01-12T19:14:34.000Z
test/test_helper.exs
ppraisethesun/logger_papertrail_backend
c8ae5af08306dfe788b2fd59aa373e4ed2bc69f6
[ "MIT" ]
11
2016-08-20T22:59:59.000Z
2021-12-12T18:04:16.000Z
defmodule MockPapertrailServer do def start(port, receiver) do spawn(fn() -> server(port, receiver) end) :timer.sleep(10) end def server(port, receiver) do {:ok, socket} = :gen_udp.open(port, [:binary]) once(socket, receiver) end def once(socket, receiver) do receive do {:udp, ^sock...
22.5
70
0.628889
85d355ce5cf42bfcf3d9dc162bfac919857810f9
422
ex
Elixir
graphical/lib/graphical_web/resolvers/user_resolver.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
graphical/lib/graphical_web/resolvers/user_resolver.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
graphical/lib/graphical_web/resolvers/user_resolver.ex
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
defmodule GraphicalWeb.UserResolver do alias Graphical.Accounts def all(_args, _info) do {:ok, Accounts.list_users()} end def find(%{id: id}, _info) do case Accounts.get_user!(id) do nil -> {:error, "User ID: #{id} not found"} user -> {:ok, user} end end def update(%{id: id, user:...
22.210526
52
0.637441
85d38778aa5d12747eeb0c6fd8d783cf954bc697
650
ex
Elixir
lib/changelog/files/icon.ex
d-m-u/changelog.com
bb0d6ac6d29a3d64dbeb44892f9a8a1ff3ba6325
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
lib/changelog/files/icon.ex
codexn/changelog.com
25ce501ee62eef76731c38d590667e8132096ba8
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
lib/changelog/files/icon.ex
codexn/changelog.com
25ce501ee62eef76731c38d590667e8132096ba8
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule Changelog.Files.Icon do use Changelog.File, [:jpg, :jpeg, :png, :svg] @versions [:original, :large, :medium, :small] def storage_dir(_, {_, scope}), do: expanded_dir("/icons/#{source(scope)}/#{hashed(scope.id)}") def filename(version, _), do: "icon_#{version}" def transform(:original, _), do: :no...
28.26087
97
0.649231
85d38a236c4b9ecc97cb7d5e86a7bf60fa6dcaf8
2,050
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/content_categories_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/content_categories_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/content_categories_list_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...
38.679245
165
0.741951
85d39f0fee65eb587f612ca35714155d620f5bf0
1,275
exs
Elixir
config/prod.secret.exs
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
config/prod.secret.exs
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
config/prod.secret.exs
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
# 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...
30.357143
67
0.72549
85d3aef951d1a274fb89e867b898e07c6a5fd154
3,045
ex
Elixir
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/binding.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/binding.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/binding.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 "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...
56.388889
1,055
0.727094
85d3c1a3d711e4752cabe0b2bc65f913d8246083
189
exs
Elixir
test/test_helper.exs
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
test/test_helper.exs
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
test/test_helper.exs
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r Phenodata.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r Phenodata.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(Phenodata.Repo)
27
58
0.751323
85d3cb0e8a2cb395809713eb52c79c4c861271cc
1,058
ex
Elixir
apps/ewallet/lib/ewallet.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 TurboPlay # Author: Vince McMullin, CTO # Website: turboplay.com # Email: vincem@turboplay.com # # Copyright 2017-2018 OmiseGO # # 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 Licen...
27.842105
74
0.733459
85d3ebe02eb40707cc3e3144e92b188536b9400b
14,679
ex
Elixir
lib/livebook/utils.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook/utils.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook/utils.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Utils do @moduledoc false require Logger @type id :: binary() @doc """ Generates a random binary id. """ @spec random_id() :: id() def random_id() do :crypto.strong_rand_bytes(20) |> Base.encode32(case: :lower) end @doc """ Generates a random short binary id. """ @sp...
26.2125
103
0.606104
85d3f3e3b7f7f0d1ad53a5aaf45c17d91d99890c
1,829
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/equation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/docs/lib/google_api/docs/v1/model/equation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/docs/lib/google_api/docs/v1/model/equation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.58
234
0.731547
85d3f7a4c8c0c3d78ff4e59725300c6fb365b127
1,188
ex
Elixir
lib/bookings/agent.ex
cassiofariasmachado/flightex
c8729bfcffc78f71ef832c718b8953237533ec7b
[ "MIT" ]
null
null
null
lib/bookings/agent.ex
cassiofariasmachado/flightex
c8729bfcffc78f71ef832c718b8953237533ec7b
[ "MIT" ]
null
null
null
lib/bookings/agent.ex
cassiofariasmachado/flightex
c8729bfcffc78f71ef832c718b8953237533ec7b
[ "MIT" ]
null
null
null
defmodule Flightex.Bookings.Agent do use Agent alias Flightex.Bookings.Booking def start_link(_initial_state) do Agent.start_link(fn -> %{} end, name: __MODULE__) end def save(%Booking{} = booking), do: Agent.update(__MODULE__, &update_state(&1, booking)) def get(id), do: Agent.get(__MODULE__, &get_...
28.97561
90
0.647306
85d40e3ea651ff987ffbfdd90cacb1c48fc6f853
1,768
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/table_data_insert_all_response_insert_errors.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/big_query/lib/google_api/big_query/v2/model/table_data_insert_all_response_insert_errors.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query/lib/google_api/big_query/v2/model/table_data_insert_all_response_insert_errors.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.36
156
0.738122
85d460f5d56400fa4c7d8bdff7b1ec6cb88dba55
958
exs
Elixir
api/config/config.exs
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
api/config/config.exs
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
api/config/config.exs
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :designhubapi, ecto_repos: [Designhubapi...
34.214286
86
0.769311
85d464f956b9047fe4583f7290d096232e492c70
14,619
ex
Elixir
lib/iex/lib/iex.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
defmodule IEx do @moduledoc ~S""" Elixir's interactive shell. This module is the main entry point for Interactive Elixir and in this documentation we will talk a bit about how IEx works. Notice that some of the functionalities described here will not be available depending on your terminal. In particular,...
29.773931
97
0.666735
85d475098555b5dd08c9c3fc671f76996586288c
409
exs
Elixir
test/nudge_web/views/error_view_test.exs
code-mancers/nudge
6237a508203e73fbb0280d6aa428d83cbd347c11
[ "MIT" ]
null
null
null
test/nudge_web/views/error_view_test.exs
code-mancers/nudge
6237a508203e73fbb0280d6aa428d83cbd347c11
[ "MIT" ]
17
2021-08-04T12:44:20.000Z
2021-09-09T07:25:00.000Z
test/nudge_web/views/error_view_test.exs
code-mancers/nudge
6237a508203e73fbb0280d6aa428d83cbd347c11
[ "MIT" ]
null
null
null
defmodule NudgeWeb.ErrorViewTest do use NudgeWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(NudgeWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert r...
27.266667
90
0.728606
85d47523dbe836aa23b38d35e4dacdeed7d64117
728
exs
Elixir
year_2021/test/day_15/grid_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2021/test/day_15/grid_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2021/test/day_15/grid_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day15.GridTest do use ExUnit.Case, async: true test "it returns risk at points outside the main grid" do grid = Day15.Grid.new(InputTestFile, 5) assert Day15.Grid.risk_at(grid, {2, 1}) == 8 assert Day15.Grid.risk_at(grid, {12, 1}) == 9 assert Day15.Grid.risk_at(grid, {22, 1}) == 1 ass...
38.315789
59
0.633242
85d47885fd1753877c2b4ec9145f6e23e263255e
764
ex
Elixir
web/models/speed.ex
orieken/monster_manual_elixir
8c12f7e0e06a61831f543ee8b47b85bf42dfae62
[ "MIT" ]
1
2017-08-15T20:50:19.000Z
2017-08-15T20:50:19.000Z
web/models/speed.ex
orieken/monster_manual_elixir
8c12f7e0e06a61831f543ee8b47b85bf42dfae62
[ "MIT" ]
null
null
null
web/models/speed.ex
orieken/monster_manual_elixir
8c12f7e0e06a61831f543ee8b47b85bf42dfae62
[ "MIT" ]
null
null
null
defmodule MonstersManual.Speed do use MonstersManual.Web, :model schema "speeds" do field :walking, :string field :burrow, :string field :climb, :string field :fly, :string field :swim, :string belongs_to :monster, Monster timestamps() end @doc """ Builds a changeset based on t...
22.470588
66
0.63089
85d49737c5e006b50557a434bee3b3a92dffb874
65
ex
Elixir
lib/roleboard_web/views/page_view.ex
JuneShores/roleboard
76a3b1f68f65aa5b18866ed62cd018235f7b9b13
[ "MIT" ]
null
null
null
lib/roleboard_web/views/page_view.ex
JuneShores/roleboard
76a3b1f68f65aa5b18866ed62cd018235f7b9b13
[ "MIT" ]
2
2021-03-10T04:37:08.000Z
2021-05-11T00:20:22.000Z
lib/roleboard_web/views/page_view.ex
JuneShores/roleboard
76a3b1f68f65aa5b18866ed62cd018235f7b9b13
[ "MIT" ]
null
null
null
defmodule RoleboardWeb.PageView do use RoleboardWeb, :view end
16.25
34
0.815385
85d4b861cf5736c926bf80286a8b02cdde17256f
4,914
exs
Elixir
test/teslamate/vehicles/vehicle_sync_test.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1
2021-11-03T02:08:43.000Z
2021-11-03T02:08:43.000Z
test/teslamate/vehicles/vehicle_sync_test.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
171
2020-07-08T18:42:57.000Z
2022-03-23T00:55:30.000Z
test/teslamate/vehicles/vehicle_sync_test.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1
2021-03-26T15:46:37.000Z
2021-03-26T15:46:37.000Z
defmodule TeslaMate.Vehicles.VehicleSyncTest do use TeslaMate.DataCase use TeslaMate.VehicleCase describe "Summary" do alias TeslaMate.Mqtt.PubSub.VehicleSubscriber alias TeslaMate.Log.Car alias TeslaMate.Log defp start_subscriber(name, %Car{id: car_id}) do publisher_name = :"mqtt_publishe...
31.5
93
0.522996
85d4c3aab5635ee0ddc1c924ac189d82556cd8c9
1,940
ex
Elixir
apps/ewallet/lib/ewallet/fetchers/exchange_account_fetcher.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet/lib/ewallet/fetchers/exchange_account_fetcher.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/fetchers/exchange_account_fetcher.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.ExchangeAccountFetcher do @moduledoc """ Fetch exchange account and/or exchange wallet. """ alias EWallet.WalletFetcher alias EWalletDB.{Account, Repo} def fetch(%{ "exchange_account_id" => exchange_account_id, "exchange_wallet_address" => exchange_wallet_address }) ...
31.803279
98
0.672165
85d4c9904f0f35ed48cdfacb5e69a139707cca47
1,225
ex
Elixir
lib/nomad_client/model/host_stats.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
lib/nomad_client/model/host_stats.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
lib/nomad_client/model/host_stats.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule NomadClient.Model.HostStats do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :Memory, :CPU, :DiskStats, :DeviceSta...
29.878049
91
0.669388
85d4e662976eecd2fc8e5ef189acd9b12a3b54c8
15,776
ex
Elixir
lib/cometoid_web/issue_live/index.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
lib/cometoid_web/issue_live/index.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
lib/cometoid_web/issue_live/index.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
defmodule CometoidWeb.IssueLive.Index do use CometoidWeb, :live_view alias Cometoid.Repo.Tracker alias Cometoid.Repo.People alias Cometoid.Model.People.Person alias Cometoid.Model.Tracker.Issue alias Cometoid.Model.Tracker.Context alias CometoidWeb.Theme alias CometoidWeb.IssueLive alias CometoidWeb....
26.78438
109
0.657454
85d4e7b640619403ad480542f8a80141c55c72fd
969
exs
Elixir
config/config.exs
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
1
2019-03-15T15:40:24.000Z
2019-03-15T15:40:24.000Z
config/config.exs
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
null
null
null
config/config.exs
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :termDirectory, ecto_repos: [TermDirecto...
34.607143
86
0.768834
85d4f6e16bcb01df958a2e7cac6b458a473e73ac
2,402
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/traffic_split.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/traffic_split.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/traffic_split.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...
46.192308
595
0.755204
85d50231469cbc4af5d06c8140b5d5f7e8748942
1,560
ex
Elixir
clients/partners/lib/google_api/partners/v2/model/user_overrides.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/partners/lib/google_api/partners/v2/model/user_overrides.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/partners/lib/google_api/partners/v2/model/user_overrides.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
32.5
112
0.746795
85d521fcb63588179e6dbd2fdf96f0fd8aa8ce68
1,038
ex
Elixir
web/handlers/error_handler.ex
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
1
2018-03-07T17:21:58.000Z
2018-03-07T17:21:58.000Z
web/handlers/error_handler.ex
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
null
null
null
web/handlers/error_handler.ex
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
null
null
null
defmodule PhoenixAdmin.ErrorHandler do use PhoenixAdmin.Web, :controller def unauthenticated(conn, _params) do error = %{ source: %{"pointer": "/data/attributes/token"}, title: "Unauthenticated", detail: "Authentication required." } conn |> put_status(:unauthorized) |> render(...
25.317073
65
0.641618
85d5541f456372d069d690ffeeddf2e0b9976077
1,481
ex
Elixir
lib/oban/midwife.ex
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
lib/oban/midwife.ex
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
lib/oban/midwife.ex
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Midwife do @moduledoc false use GenServer alias Oban.{Config, Notifier} alias Oban.Queue.Supervisor, as: QueueSupervisor @type option :: {:name, module()} | {:conf, Config.t()} defmodule State do @moduledoc false defstruct [:conf] end @spec start_link([option]) :: GenServer....
22.784615
83
0.638758
85d55796abc26e7110403b586846e905755ea771
619
exs
Elixir
test/excoin/transaction_test.exs
johncosch/excoin
2444d8ea4619013a5da5bb94f92c42e278bbdef4
[ "MIT" ]
1
2016-10-18T23:41:33.000Z
2016-10-18T23:41:33.000Z
test/excoin/transaction_test.exs
johncosch/excoin
2444d8ea4619013a5da5bb94f92c42e278bbdef4
[ "MIT" ]
null
null
null
test/excoin/transaction_test.exs
johncosch/excoin
2444d8ea4619013a5da5bb94f92c42e278bbdef4
[ "MIT" ]
1
2016-06-28T21:28:48.000Z
2016-06-28T21:28:48.000Z
defmodule TransactionTest do use ExUnit.Case, async: true alias Excoin.Transaction, as: Transaction test "successful transaction from json serialization" do assert Transaction.from_json(File.read!("#{System.cwd}/test/fixtures/test_transaction.json")) |> Transaction.to_payload == File.read!("#{System.cwd}/t...
41.266667
189
0.752827
85d5607d1a1d044dae5bbaa2bd4f6cb44d83767d
2,706
exs
Elixir
test/unleash/features_test.exs
duffelhq/unleashed_ex
a0009b1528fd14f517225c62544fb927cc5b684f
[ "MIT" ]
null
null
null
test/unleash/features_test.exs
duffelhq/unleashed_ex
a0009b1528fd14f517225c62544fb927cc5b684f
[ "MIT" ]
2
2021-11-23T11:17:00.000Z
2022-03-01T13:31:22.000Z
test/unleash/features_test.exs
duffelhq/unleashed_ex
a0009b1528fd14f517225c62544fb927cc5b684f
[ "MIT" ]
null
null
null
defmodule Unleash.FeaturesTest do use ExUnit.Case use ExUnitProperties alias Unleash.Feature alias Unleash.Features describe "from_map" do test "returns a Features struct" do assert {:ok, %Features{}} = Features.from_map(%{"version" => "1", "features" => []}) end test "returns error if gi...
30.75
90
0.463784
85d5bc077a6f86be2b0edeb1c62a99ce28eaceb5
2,604
ex
Elixir
clients/jobs/lib/google_api/jobs/v3/model/histogram_facets.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v3/model/histogram_facets.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v3/model/histogram_facets.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.73913
196
0.742704
85d5e03114da4cc522efc4e2da30839a4af8dcfc
4,567
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list.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...
55.024096
448
0.707905
85d5f65581743a70bf3890e224a6b95bcb49f644
438
exs
Elixir
config/performance.exs
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
null
null
null
config/performance.exs
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
3
2020-02-20T18:53:59.000Z
2020-02-20T19:00:06.000Z
config/performance.exs
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
null
null
null
import Config config :perf_analyzer, url: "http://httpbin.org/get", request: %{ method: "GET", headers: [{"Content-Type", "application/json"}], body: fn item -> ~s/'{"data": #{Enum.random(1..10)},"key": 1}}}'/ end }, execution: %{ steps: 5, increment: 1, duration: 1000, c...
18.25
55
0.561644
85d616dc8e7751136feabd4d0c97e9903b6e3e69
2,313
ex
Elixir
lib/random_access_list.ex
msmykowski/random_access_list
06167cdce53e6916d79c0e639b8837dedec86471
[ "MIT" ]
3
2020-11-16T23:38:08.000Z
2020-12-15T12:33:37.000Z
lib/random_access_list.ex
msmykowski/random_access_list
06167cdce53e6916d79c0e639b8837dedec86471
[ "MIT" ]
1
2020-11-17T17:49:44.000Z
2020-11-17T17:49:44.000Z
lib/random_access_list.ex
msmykowski/random_access_list
06167cdce53e6916d79c0e639b8837dedec86471
[ "MIT" ]
null
null
null
defmodule RandomAccessList do @moduledoc """ A random access list is a persistent list data structure that has O(log n) time lookups and updates, while maintaining a constant time for cons, tail and head operations. This compares to a standard list that has a O(i) time for lookups and updates, with i being the...
31.256757
104
0.677043
85d6177757bf83d14a7d3f4c3b3c9260aa9896b1
1,149
exs
Elixir
config/config.exs
seomoz/process_tree_dictionary
097e2ac6671e7becda45fe054af31350c8982839
[ "MIT" ]
1
2016-12-21T18:37:12.000Z
2016-12-21T18:37:12.000Z
config/config.exs
seomoz/process_tree_dictionary
097e2ac6671e7becda45fe054af31350c8982839
[ "MIT" ]
1
2016-09-14T18:01:42.000Z
2016-09-14T18:01:42.000Z
config/config.exs
seomoz/process_tree_dictionary
097e2ac6671e7becda45fe054af31350c8982839
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37.064516
73
0.75805
85d64048d5a1af2c2a4ac9ee493933d7e58f8982
1,266
exs
Elixir
config/config.exs
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
13
2016-07-30T05:10:50.000Z
2019-04-25T05:08:11.000Z
config/config.exs
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
3
2016-08-04T00:44:01.000Z
2017-07-18T17:27:05.000Z
config/config.exs
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
12
2016-07-30T23:59:26.000Z
2021-06-25T05:53:57.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :tmdb, api_key: System.get_env("TMDB_KEY") # Remember to load your api key in your system env before iex -S mix # export TMDB_KEY="<TMDB_KEY_HERE>" # This configuration is l...
36.171429
73
0.753555
85d6c7950114dfbc16edee0f0957c6124b0ea700
597
ex
Elixir
dev_support/protocols.ex
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
736
2017-02-16T12:55:57.000Z
2022-03-31T19:50:43.000Z
dev_support/protocols.ex
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
86
2017-04-02T16:42:33.000Z
2022-03-25T01:07:13.000Z
dev_support/protocols.ex
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
63
2017-04-28T23:38:15.000Z
2022-03-28T12:49:02.000Z
defimpl FunWithFlags.Actor, for: Map do def id(%{actor_id: actor_id}) do "map:#{actor_id}" end def id(map) do map |> inspect() |> (&:crypto.hash(:md5, &1)).() |> Base.encode16 |> (&"map:#{&1}").() end end defimpl FunWithFlags.Actor, for: BitString do def id(str) do "string:#{str...
17.558824
53
0.624791
85d6d403c61782265acc6954ce23e5267507cd4f
140
exs
Elixir
priv/repo/migrations/20170915143841_add_text_index_to_tags.exs
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
1
2019-04-27T15:39:20.000Z
2019-04-27T15:39:20.000Z
priv/repo/migrations/20170915143841_add_text_index_to_tags.exs
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
11
2020-07-16T11:40:53.000Z
2021-08-16T07:03:33.000Z
priv/repo/migrations/20170915143841_add_text_index_to_tags.exs
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
null
null
null
defmodule RTL.Repo.Migrations.AddTextIndexToTags do use Ecto.Migration def change do create unique_index(:tags, [:text]) end end
17.5
51
0.75
85d702968bfa5632749616388511dfec8ddd8376
1,328
exs
Elixir
config/config.exs
garfenter/git_ops
f6e64cf9b798024e0be7cec06fc006a8372cffb3
[ "MIT" ]
61
2018-10-05T20:40:58.000Z
2021-11-11T02:34:38.000Z
config/config.exs
frankdugan3/git_ops
5cf91452cd6f6214f5aa1a0c232902b4f6c3c31c
[ "MIT" ]
51
2018-10-15T23:34:32.000Z
2022-03-03T19:35:42.000Z
config/config.exs
frankdugan3/git_ops
5cf91452cd6f6214f5aa1a0c232902b4f6c3c31c
[ "MIT" ]
18
2018-11-18T20:50:08.000Z
2022-02-24T23:39:37.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...
34.947368
73
0.755271
85d737e5d3189302fc179c908298a23a066bd953
3,336
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/containeranalysis_google_devtools_cloudbuild_v1_repo_source.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/containeranalysis_google_devtools_cloudbuild_v1_repo_source.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/containeranalysis_google_devtools_cloudbuild_v1_repo_source.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...
45.69863
254
0.706835
85d73aa3519cb377a4c14a44c15137bd868c9a83
2,661
ex
Elixir
lib/pelemay/optimizer/enum.ex
christianjgreen/pelemay
b400c4420f9edd41031d7dbc962eff38215d9e05
[ "Apache-2.0" ]
null
null
null
lib/pelemay/optimizer/enum.ex
christianjgreen/pelemay
b400c4420f9edd41031d7dbc962eff38215d9e05
[ "Apache-2.0" ]
null
null
null
lib/pelemay/optimizer/enum.ex
christianjgreen/pelemay
b400c4420f9edd41031d7dbc962eff38215d9e05
[ "Apache-2.0" ]
null
null
null
defmodule Optimizer.Enum do import Analyzer alias Pelemay.Db def parallelize_term({atom, _, nil} = arg) when atom |> is_atom do arg end def parallelize_term({quoted, :map}) do # include ast of Enum.map {_enum_map, _, anonymous_func} = quoted anonymous_func |> supported?() |> c...
19.858209
58
0.553927
85d73c1976a62e82da659ed8e4e4691da23aaa45
1,609
exs
Elixir
mix.exs
ontofractal/elixir-nodejs
cb44017213be45a336b89d8700dc972f28561d5d
[ "MIT" ]
151
2018-08-01T19:32:48.000Z
2022-03-19T04:28:29.000Z
mix.exs
ontofractal/elixir-nodejs
cb44017213be45a336b89d8700dc972f28561d5d
[ "MIT" ]
44
2018-10-10T12:18:34.000Z
2021-12-12T18:45:10.000Z
mix.exs
ontofractal/elixir-nodejs
cb44017213be45a336b89d8700dc972f28561d5d
[ "MIT" ]
24
2018-11-01T08:12:45.000Z
2021-09-16T19:12:26.000Z
defmodule NodeJS.MixProject do use Mix.Project def project do [ app: :nodejs, version: "2.0.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), test_coverage: [tool: ExCoveralls], preferre...
22.347222
69
0.539466
85d748b1aa198339717894d727e07326ea058eb6
1,879
ex
Elixir
clients/transcoder/lib/google_api/transcoder/v1beta1/model/segment_settings.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/transcoder/lib/google_api/transcoder/v1beta1/model/segment_settings.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/transcoder/lib/google_api/transcoder/v1beta1/model/segment_settings.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...
37.58
292
0.729111
85d78a44939785b27cfa2e7ad0c71aae84b78904
78
ex
Elixir
lib/villixir/engine/free_time_schedule.ex
E1337Kat/villixir
43294ad0443f91726024a1f141927ae1cb02f49e
[ "MIT" ]
null
null
null
lib/villixir/engine/free_time_schedule.ex
E1337Kat/villixir
43294ad0443f91726024a1f141927ae1cb02f49e
[ "MIT" ]
null
null
null
lib/villixir/engine/free_time_schedule.ex
E1337Kat/villixir
43294ad0443f91726024a1f141927ae1cb02f49e
[ "MIT" ]
null
null
null
defmodule Villixir.Engine.FreeTimeSchedule do def run(people) do end end
13
45
0.782051
85d78e7da6954467db4d3a1757db9cb40169a0a4
1,687
exs
Elixir
test/collidex/geometry/circle_test.exs
IdahoEv/collidex
ef86928ef264723db8129a9de94acce8183d01bc
[ "MIT" ]
4
2018-08-19T23:05:06.000Z
2021-01-17T09:17:45.000Z
test/collidex/geometry/circle_test.exs
IdahoEv/collidex
ef86928ef264723db8129a9de94acce8183d01bc
[ "MIT" ]
2
2016-09-14T19:47:17.000Z
2016-09-14T19:49:17.000Z
test/collidex/geometry/circle_test.exs
IdahoEv/collidex
ef86928ef264723db8129a9de94acce8183d01bc
[ "MIT" ]
null
null
null
defmodule TestCircle do use ExSpec, async: true # use ExCheck doctest Collidex.Geometry.Circle alias Collidex.Geometry.Circle describe "make" do context "from a 3-tuple" do it "makes a circle from floats" do circle = Circle.make({0.0,0.0,1.0}) assert is_map(circle) == true ...
30.672727
82
0.577356
85d7ad8aa9858be08b98435ed57028c34fb81aeb
974
ex
Elixir
src/lib/changelog_web/views/news/news_issue_view.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
null
null
null
src/lib/changelog_web/views/news/news_issue_view.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
null
null
null
src/lib/changelog_web/views/news/news_issue_view.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.NewsIssueView do use ChangelogWeb, :public_view alias Changelog.{NewsItem, NewsAd} alias ChangelogWeb.{NewsItemView, PersonView, SponsorView} def items_with_ads(items, []), do: items def items_with_ads(items, ads) do items |> Enum.chunk_every(3) |> Enum.with_index |> E...
29.515152
136
0.662218
85d7be540c510a98a9423cc360acd1986ded95d5
3,433
exs
Elixir
exercises/robot-simulator/robot_simulator.exs
Hilife-Miller/elixir
d4fd59a42d8829fe8a46e813a6d01a85a3f1fa31
[ "MIT" ]
null
null
null
exercises/robot-simulator/robot_simulator.exs
Hilife-Miller/elixir
d4fd59a42d8829fe8a46e813a6d01a85a3f1fa31
[ "MIT" ]
null
null
null
exercises/robot-simulator/robot_simulator.exs
Hilife-Miller/elixir
d4fd59a42d8829fe8a46e813a6d01a85a3f1fa31
[ "MIT" ]
null
null
null
defmodule RobotSimulator do defstruct direction: nil, position: nil @doc """ Create a Robot Simulator given an initial direction and position. Valid directions are: `:north`, `:east`, `:south`, `:west` """ def create() do create(nil,nil) end def create({_, _}=position) do create(nil, position)...
27.031496
86
0.654238
85d7e3c88e18b971b1b3b73925e42a765a65ee54
6,611
ex
Elixir
lib/logger_logstash_backend.ex
MaartenFaddegon/logger_logstash_backend
f1b1558e0a5531ddee04615959424e948c421147
[ "Apache-2.0" ]
null
null
null
lib/logger_logstash_backend.ex
MaartenFaddegon/logger_logstash_backend
f1b1558e0a5531ddee04615959424e948c421147
[ "Apache-2.0" ]
null
null
null
lib/logger_logstash_backend.ex
MaartenFaddegon/logger_logstash_backend
f1b1558e0a5531ddee04615959424e948c421147
[ "Apache-2.0" ]
null
null
null
################################################################################ # Copyright 2015 Marcelo Gornstein <marcelog@gmail.com> # # 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 # # ...
26.130435
98
0.584178
85d8357566694b7d9cd9fdc0ba81d76b616a4527
812
ex
Elixir
Microsoft.Azure.Management.Preview.Containers/lib/microsoft/azure/management/preview/containers/model/azure_file_volume.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.Preview.Containers/lib/microsoft/azure/management/preview/containers/model/azure_file_volume.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Preview.Containers/lib/microsoft/azure/management/preview/containers/model/azure_file_volume.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.Preview.Containers.Model.AzureFileVolume do @moduledoc """ The properties of the Azure File volume. Azure File shar...
25.375
99
0.705665
85d840708d528a44990e3990f952e53dad87290f
1,958
ex
Elixir
lib/test_iex.ex
elitau/test_iex
d07fd1606ac3bf63328a78b33b0d22c5be4327ff
[ "MIT" ]
4
2019-05-27T05:24:49.000Z
2019-10-11T18:29:11.000Z
lib/test_iex.ex
elitau/test_iex
d07fd1606ac3bf63328a78b33b0d22c5be4327ff
[ "MIT" ]
1
2021-04-08T18:45:09.000Z
2021-04-09T03:29:35.000Z
lib/test_iex.ex
elitau/test_iex
d07fd1606ac3bf63328a78b33b0d22c5be4327ff
[ "MIT" ]
1
2021-04-07T18:15:04.000Z
2021-04-07T18:15:04.000Z
defmodule TestIex do @moduledoc """ A utility module that helps you iterate faster on unit tests. This module lets execute specific tests from within a running iex shell to avoid needing to start and stop the whole application every time. """ @doc """ Starts the testing context. ## Examples iex...
22.25
105
0.647089
85d841c86361741a24d4c620e39c5a4db1540c9b
1,379
exs
Elixir
learning/gnome/procs.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
learning/gnome/procs.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
learning/gnome/procs.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
defmodule Procs do def greeter(count \\ 0) do receive do {:boom, reason} -> exit(reason) {:reset} -> greeter(0) {:add, n} -> greeter(count + n) msg -> IO.puts("#{count}: Hello #{inspect(msg)}") greeter(count) end end end # pid = spawn_link ...
19.7
74
0.585932
85d8954ea5f00795b67f38c74560aedfefe8b825
10,849
exs
Elixir
test/eth_event/schema_test.exs
etherharvest/eth_event
488f526b382ca1c0ed5235d3a12ec059b0229fc4
[ "MIT" ]
1
2022-01-05T16:28:18.000Z
2022-01-05T16:28:18.000Z
test/eth_event/schema_test.exs
etherharvest/eth_event
488f526b382ca1c0ed5235d3a12ec059b0229fc4
[ "MIT" ]
null
null
null
test/eth_event/schema_test.exs
etherharvest/eth_event
488f526b382ca1c0ed5235d3a12ec059b0229fc4
[ "MIT" ]
null
null
null
defmodule EthEvent.SchemaTest do use ExUnit.Case, async: true import Tesla.Mock alias EthEvent.Schema ############## # Test helpers defmodule Transfer do use EthEvent.Schema event "Transfer" do address :from, indexed: true address :to, indexed: true uint256 :value end en...
28.701058
90
0.627984
85d8baaaed313c97a4579690c82a222f2538b34c
1,253
ex
Elixir
test/support/conn_case.ex
thelightcosine/texas_holdem-phoenix
31da9754082015b7562639bf2d5b8ac5212f11d0
[ "BSD-3-Clause" ]
null
null
null
test/support/conn_case.ex
thelightcosine/texas_holdem-phoenix
31da9754082015b7562639bf2d5b8ac5212f11d0
[ "BSD-3-Clause" ]
null
null
null
test/support/conn_case.ex
thelightcosine/texas_holdem-phoenix
31da9754082015b7562639bf2d5b8ac5212f11d0
[ "BSD-3-Clause" ]
null
null
null
defmodule TexasHoldemWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, i...
31.325
92
0.738228
85d8d18c07611d13d7c5511373abd56f5e301a6c
2,044
exs
Elixir
mix.exs
lohayon/pg_ranges
5a3c97868c143c988ca1b092bd28267b0ff90db9
[ "MIT" ]
7
2021-02-14T02:31:19.000Z
2022-02-09T23:24:25.000Z
mix.exs
lohayon/pg_ranges
5a3c97868c143c988ca1b092bd28267b0ff90db9
[ "MIT" ]
3
2020-05-28T05:28:42.000Z
2022-03-04T20:27:25.000Z
mix.exs
lohayon/pg_ranges
5a3c97868c143c988ca1b092bd28267b0ff90db9
[ "MIT" ]
12
2019-03-07T19:58:43.000Z
2021-10-03T01:03:19.000Z
defmodule PgRanges.MixProject do use Mix.Project def project do [ app: :pg_ranges, version: "1.1.0", elixir: ">= 1.10.3", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, test_coverage: [tool: ExCoveralls], preferred_cli_env: [ cove...
22.711111
78
0.530333
85d8e2836e2f0a04134fc84e3e6ab8692eed93ae
692
exs
Elixir
mix.exs
a115/elixir-invoice
13d410fc759c0a5004752fabf1d5e33e805c17ca
[ "Apache-2.0" ]
2
2017-04-22T21:08:39.000Z
2019-06-01T06:03:26.000Z
mix.exs
a115/elixir-invoice
13d410fc759c0a5004752fabf1d5e33e805c17ca
[ "Apache-2.0" ]
null
null
null
mix.exs
a115/elixir-invoice
13d410fc759c0a5004752fabf1d5e33e805c17ca
[ "Apache-2.0" ]
null
null
null
defmodule Einvoice.Mixfile do use Mix.Project def project do [app: :einvoice, version: "0.0.1", elixir: "~> 1.0", deps: deps, escript: escript] end def escript do [main_module: Einvoice.CMD] end # Configuration for the OTP application # # Type `mix help compile.app` for mo...
19.222222
77
0.608382
85d8fd6dda2cde0e93c7433306faa4ddf2292b65
1,898
ex
Elixir
lib/epicenter_web/live/styleguide/styleguide_live.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter_web/live/styleguide/styleguide_live.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter_web/live/styleguide/styleguide_live.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Styleguide.StyleguideLive do use EpicenterWeb, :live_view import EpicenterWeb.LiveHelpers, only: [assign_defaults: 1, assign_page_title: 2, noreply: 1, ok: 1] import EpicenterWeb.IconView defmodule StyleguideSchema do use Ecto.Schema embedded_schema do field :first_name, ...
27.114286
108
0.693888
85d913d75684fed6a3c46baee3ace0c26216bb41
1,620
exs
Elixir
config/dev.exs
infinitered/tilex
43cc903ff88ee9b1b42d3469a2113402d9836fa8
[ "MIT" ]
null
null
null
config/dev.exs
infinitered/tilex
43cc903ff88ee9b1b42d3469a2113402d9836fa8
[ "MIT" ]
null
null
null
config/dev.exs
infinitered/tilex
43cc903ff88ee9b1b42d3469a2113402d9836fa8
[ "MIT" ]
null
null
null
import 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 :tilex, TilexWeb.Endpoint, http: [port: System....
28.928571
68
0.691358
85d94dde63c195e098a3c2518999235e53e31dfe
289
exs
Elixir
test/plumbing_test.exs
kelvinst/plumbing
5a46df5ede5e01c3f59a8f49aa01d71fc947c2e0
[ "MIT" ]
8
2018-01-19T15:59:08.000Z
2020-01-20T21:12:23.000Z
test/plumbing_test.exs
kelvinst/plumbing
5a46df5ede5e01c3f59a8f49aa01d71fc947c2e0
[ "MIT" ]
null
null
null
test/plumbing_test.exs
kelvinst/plumbing
5a46df5ede5e01c3f59a8f49aa01d71fc947c2e0
[ "MIT" ]
null
null
null
defmodule PlumbingTest do use ExUnit.Case doctest Plumbing import ExUnit.CaptureIO test "tee/2 always returns the subject" do assert capture_io(fn -> assert Plumbing.tee("This is a tee!", &IO.inspect(String.length(&1))) == "This is a tee!" end) == "14\n" end end
22.230769
95
0.67128
85d950b8a60c701ccba091d4f814af914549d790
1,291
ex
Elixir
lib/TicketList/done.ex
takano20771/TodoCmd
85f6b91eddba07c111fd7c3bd3f5489a83ea4fce
[ "MIT" ]
null
null
null
lib/TicketList/done.ex
takano20771/TodoCmd
85f6b91eddba07c111fd7c3bd3f5489a83ea4fce
[ "MIT" ]
1
2019-08-12T03:55:42.000Z
2019-08-16T01:17:39.000Z
lib/TicketList/done.ex
takano20771/TodoCmd
85f6b91eddba07c111fd7c3bd3f5489a83ea4fce
[ "MIT" ]
null
null
null
# Copyright(c) 2019 TenTakano # All rights reserved. # See License in the project root for license information. defmodule TicketList.Finished do def done(args, tickets), do: exec(args, tickets, "x") def cancel(args, tickets), do: exec(args, tickets, "-") def exec(args, tickets, command) do result =...
31.487805
79
0.522851
85d9600dfbc1baa2b019897ab6f6a565ddda10cf
11,625
ex
Elixir
lib/cldr/calendar/ethiopic.ex
elixir-cldr/cldr_calendars_ethiopic
1b6071e72eea783c97de3a821a1d465726b125d3
[ "Apache-2.0" ]
null
null
null
lib/cldr/calendar/ethiopic.ex
elixir-cldr/cldr_calendars_ethiopic
1b6071e72eea783c97de3a821a1d465726b125d3
[ "Apache-2.0" ]
1
2020-07-21T05:31:37.000Z
2020-07-21T06:11:40.000Z
lib/cldr/calendar/ethiopic.ex
elixir-cldr/cldr_calendars_ethiopic
1b6071e72eea783c97de3a821a1d465726b125d3
[ "Apache-2.0" ]
1
2020-07-21T05:23:37.000Z
2020-07-21T05:23:37.000Z
defmodule Cldr.Calendar.Ethiopic do @moduledoc """ Implementation of the Ethiopic calendar. """ import Cldr.Math, only: [mod: 2] import Cldr.Macros @behaviour Calendar @behaviour Cldr.Calendar @type year :: -9999..-1 | 1..9999 @type month :: 1..12 @type day :: 1..31 @months_in_year 13 @days_...
23.72449
98
0.638452
85d97fc964ccb3a79fd21586f66b693dd50cae9d
187
ex
Elixir
lib/sentinel/web/views/layouts/layout_view.ex
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
125
2016-01-29T11:46:20.000Z
2021-06-08T09:25:38.000Z
lib/sentinel/web/views/layouts/layout_view.ex
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
54
2016-02-18T01:11:58.000Z
2017-10-19T11:25:26.000Z
lib/sentinel/web/views/layouts/layout_view.ex
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
29
2016-02-20T12:59:16.000Z
2018-04-11T14:29:41.000Z
defmodule Sentinel.LayoutView do use Phoenix.View, root: "lib/sentinel/web/templates/" import Phoenix.Controller, only: [get_flash: 2] use Phoenix.HTML alias Sentinel.Config end
23.375
55
0.764706
85d980ba6c3e496379e2126dfd24ecce7b254a19
21,342
ex
Elixir
elixir/codes-from-books/little-elixir/cap8/blitzy/deps/timex/lib/timezone/timezone.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
1
2017-10-16T03:00:50.000Z
2017-10-16T03:00:50.000Z
elixir/codes-from-books/little-elixir/cap8/blitzy/deps/timex/lib/timezone/timezone.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
elixir/codes-from-books/little-elixir/cap8/blitzy/deps/timex/lib/timezone/timezone.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
defmodule Timex.Timezone do @moduledoc """ This module is used for looking up the timezone information for a given point in time, in the desired zone. Timezones are dependent not only on locale, but the date and time for which you are querying. For instance, the timezone offset from UTC for `Europe/Moscow` is...
41.200772
153
0.607394
85d99a1a80fc745709fe6228b3b2af5c46349b09
2,168
exs
Elixir
test/owl/progress_bar_test.exs
kianmeng/owl
55c0f31438866d79526d1feab44e23728ad88dd6
[ "Apache-2.0" ]
123
2021-12-15T22:42:04.000Z
2022-03-30T22:21:29.000Z
test/owl/progress_bar_test.exs
kianmeng/owl
55c0f31438866d79526d1feab44e23728ad88dd6
[ "Apache-2.0" ]
2
2021-12-16T16:42:24.000Z
2022-01-25T23:47:17.000Z
test/owl/progress_bar_test.exs
kianmeng/owl
55c0f31438866d79526d1feab44e23728ad88dd6
[ "Apache-2.0" ]
1
2022-01-25T14:02:40.000Z
2022-01-25T14:02:40.000Z
defmodule Owl.ProgressBarTest do use ExUnit.Case, async: true import CaptureIOFrames doctest Owl.ProgressBar @terminal_width 50 @sleep 10 test "without timer" do id = make_ref() frames = capture_io_frames( fn live_screen_pid, render -> {:ok, bar_pid} = Owl.Prog...
26.765432
78
0.472325
85d9a82c4d77df4d2295504fa7d4bbdff45c8b2f
1,535
exs
Elixir
mix.exs
agleb/ecto_paginator
ec10b2cd717174a195adaf852f29467d1c959757
[ "MIT" ]
4
2020-02-15T01:35:44.000Z
2020-06-24T19:26:52.000Z
mix.exs
agleb/ecto_paginator
ec10b2cd717174a195adaf852f29467d1c959757
[ "MIT" ]
null
null
null
mix.exs
agleb/ecto_paginator
ec10b2cd717174a195adaf852f29467d1c959757
[ "MIT" ]
null
null
null
defmodule EctoPaginator.Mixfile do use Mix.Project @version "0.6.0" def project do [ app: :ecto_paginator, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: de...
23.257576
69
0.558958
85d9a868669239c1cd7df312f488bd9651ed5a7d
699
ex
Elixir
lib/mux/server_presentation.ex
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
2
2017-07-26T07:28:33.000Z
2017-08-08T16:26:05.000Z
lib/mux/server_presentation.ex
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
null
null
null
lib/mux/server_presentation.ex
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
1
2021-03-13T23:02:29.000Z
2021-03-13T23:02:29.000Z
defmodule Mux.ServerPresentation do @moduledoc """ Server OSI presenation layer behaviour. """ @callback init(arg :: any) :: {:ok, state :: any} @callback decode(body :: iodata, state :: any) :: {:ok, meta_data :: any, request :: any} @callback encode(metadata :: any, response :: any, state :: any...
21.181818
69
0.623748
85d9addd1b90c0589ab87f063328ea6e4e2eb415
16,177
ex
Elixir
lib/axioma_qalcosonic.ex
flixbi/element-parsers
b92ef1cff139130acbac4f40d0d48568a3de6590
[ "MIT" ]
1
2021-02-01T13:19:36.000Z
2021-02-01T13:19:36.000Z
lib/axioma_qalcosonic.ex
SeppPenner/element-parsers
8a2594e0f15ca7177f6782d0441f25e3e55b8416
[ "MIT" ]
null
null
null
lib/axioma_qalcosonic.ex
SeppPenner/element-parsers
8a2594e0f15ca7177f6782d0441f25e3e55b8416
[ "MIT" ]
null
null
null
defmodule Parser do use Platform.Parsing.Behaviour require Logger # Parser for Axioma Metering - ULTRASONIC WATER METER QALCOSONIC W1 # Lora Payload (Long) “Extended” # # Same device, different name: # - Honeywell Elster Ultraschallwasserzähler # # Changelog: # 2020-02-04 [jb]: Initial impleme...
30.012987
205
0.477963
85d9b5b788ebe30f25bf36b43ba3838140ddf318
1,840
ex
Elixir
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/list_version_files_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/list_version_files_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/list_version_files_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.8
152
0.747283
85d9c9ab870996be27114fe340160a8126f6723c
773
exs
Elixir
prag-programing/Part1/Lists,Dictionaries,Structs/structs.exs
mpahrens/fun-with-elixir
8e6720c7c2004421f674bb450045df0ab59b9c74
[ "Apache-2.0" ]
1
2017-03-29T04:10:50.000Z
2017-03-29T04:10:50.000Z
prag-programing/Part1/Lists,Dictionaries,Structs/structs.exs
mpahrens/fun-with-elixir
8e6720c7c2004421f674bb450045df0ab59b9c74
[ "Apache-2.0" ]
null
null
null
prag-programing/Part1/Lists,Dictionaries,Structs/structs.exs
mpahrens/fun-with-elixir
8e6720c7c2004421f674bb450045df0ab59b9c74
[ "Apache-2.0" ]
null
null
null
""" Structs and sets Matthew Ahrens Chapter 8 """ defmodule Subscriber do defstruct name: "", paid: false, over_18: true end #Make one s1 = %Subscriber{} s2 = %Subscriber{name: "Matt"} s3 = %Subscriber{name: "Kelly", over_18: true, paid: true} #access s1.name #use | for update #add square bracket notation defmodule...
19.325
68
0.71022
85d9d83d995398cbb43b199092ae31db6d1f7aed
1,402
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/user_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/mirror/lib/google_api/mirror/v1/model/user_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/user_data.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 ...
28.04
77
0.702568
85d9e563b38f092b003a38226c3253d3d3d18f4e
1,677
ex
Elixir
lib/otp_demo_web/controllers/user_reset_password_controller.ex
moroz/phoenix-totp-demo
b07b1925a1116ecbade15cb37764e4aebf442b5b
[ "MIT" ]
null
null
null
lib/otp_demo_web/controllers/user_reset_password_controller.ex
moroz/phoenix-totp-demo
b07b1925a1116ecbade15cb37764e4aebf442b5b
[ "MIT" ]
null
null
null
lib/otp_demo_web/controllers/user_reset_password_controller.ex
moroz/phoenix-totp-demo
b07b1925a1116ecbade15cb37764e4aebf442b5b
[ "MIT" ]
null
null
null
defmodule OtpDemoWeb.UserResetPasswordController do use OtpDemoWeb, :controller alias OtpDemo.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 if user = Acc...
28.423729
101
0.65653
85d9e73f06d4cce6cd7ae3583868a7d243120370
261
ex
Elixir
apps/welcome2_ecto/lib/welcome2_ecto.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
apps/welcome2_ecto/lib/welcome2_ecto.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
13
2020-03-22T08:00:57.000Z
2022-03-07T16:35:36.000Z
apps/welcome2_ecto/lib/welcome2_ecto.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
defmodule Welcome2Ecto do @moduledoc """ Welcome2Ecto 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
26.1
66
0.762452
85da0ab6f34ac09c36d87e1b9e48d559a18ca096
198
exs
Elixir
test/speakr_web/controllers/page_controller_test.exs
BlackBoxSQL/eventr
4d84c747fba12a53ae16fb674b8293b5ad083ac0
[ "MIT" ]
14
2019-09-20T04:51:00.000Z
2019-10-09T07:36:34.000Z
test/speakr_web/controllers/page_controller_test.exs
BlackBoxSQL/eventr
4d84c747fba12a53ae16fb674b8293b5ad083ac0
[ "MIT" ]
1
2021-03-10T05:27:43.000Z
2021-03-10T05:27:43.000Z
test/speakr_web/controllers/page_controller_test.exs
BlackBoxSQL/eventr
4d84c747fba12a53ae16fb674b8293b5ad083ac0
[ "MIT" ]
4
2019-09-20T06:59:07.000Z
2019-11-18T14:59:01.000Z
defmodule SpeakrWeb.PageControllerTest do use SpeakrWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22
60
0.676768
85da1cf757d0c35a280d1f292ad81689efada4a9
2,099
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__person_detection_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__person_detection_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__person_detection_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.292308
166
0.736541
85da235c3d72c9045a6943b8067aed750757bdfc
3,214
exs
Elixir
examples/cifar10.exs
zeionara/axon
8b82074b358043c0b685c7831458ec97f8edc378
[ "Apache-2.0" ]
null
null
null
examples/cifar10.exs
zeionara/axon
8b82074b358043c0b685c7831458ec97f8edc378
[ "Apache-2.0" ]
null
null
null
examples/cifar10.exs
zeionara/axon
8b82074b358043c0b685c7831458ec97f8edc378
[ "Apache-2.0" ]
null
null
null
Mix.install([ {:axon, "~> 0.1.0-dev", github: "elixir-nx/axon"}, {:exla, github: "elixir-nx/exla", sparse: "exla"}, {:nx, "~> 0.1.0-dev", github: "elixir-nx/nx", sparse: "nx", override: true}, {:scidata, "~> 0.1.1"} ]) # Configure default platform with accelerator precedence as tpu > cuda > rocm > host EXLA.Cl...
28.192982
97
0.615121
85da2bffbf0655da51c3f3aa3c8a88901cec207a
1,798
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/event_tags_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/event_tags_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/event_tags_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.96
188
0.741935
85da3544f54dcb47882312428901dcbf44f39332
693
ex
Elixir
lib/impl/lower_caser/map.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/impl/lower_caser/map.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/impl/lower_caser/map.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
1
2021-11-09T14:20:08.000Z
2021-11-09T14:20:08.000Z
defimpl Digger.LowerCaser, for: Map do alias Digger.LowerCaser alias Digger.Opts.LowerCaser, as: Opts def lowercase_first(map, opts) do opts = Opts.set_options(opts) map |> Enum.reduce(%{}, fn {key, value}, acc -> Map.merge(acc, %{ LowerCaser.lowercase_first(key, type: :key, ...
27.72
64
0.607504
85da3e3847d247ff0bbe50e04ad048a1f73d0999
6,323
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry.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 &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...
45.489209
183
0.76198
85da6a8e57923544ff78358600568a8f0949959a
2,061
ex
Elixir
lib/elastic.ex
twix14/elastic
1e2c7a3fe7b28bfa6cc574b10fd7bc6dca3dadfa
[ "MIT" ]
63
2016-10-19T15:48:22.000Z
2021-12-21T02:55:39.000Z
lib/elastic.ex
twix14/elastic
1e2c7a3fe7b28bfa6cc574b10fd7bc6dca3dadfa
[ "MIT" ]
33
2016-11-13T02:41:07.000Z
2021-05-25T11:12:51.000Z
lib/elastic.ex
twix14/elastic
1e2c7a3fe7b28bfa6cc574b10fd7bc6dca3dadfa
[ "MIT" ]
27
2016-11-13T02:47:29.000Z
2022-01-25T02:16:39.000Z
defmodule Elastic do @moduledoc ~S""" Elastic is a thin veneer over HTTPotion to help you talk to your Elastic Search stores. Elastic provides five main ways of talking to the stores: * `Elastic.Document.API`: Adds functions to a module to abstract away some of the mess of actions on an index. * `Elastic.I...
41.22
212
0.73411
85da882c7fa849ab26a35cde949658e9ca3a6550
2,574
ex
Elixir
lib/live_sup_web/live/welcome/welcome_live.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/live/welcome/welcome_live.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup_web/live/welcome/welcome_live.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.WelcomeLive do use LiveSupWeb, :live_view import LiveSupWeb.Live.AuthHelper alias LiveSup.Core.{Teams, Users} alias LiveSup.Schemas.{Team, User} @impl true def mount(_params, session, socket) do current_user = get_current_user(session, socket) {:ok, assign(socket, ...
24.056075
98
0.643745
85daa8ba07c79f4dd73345daf923fad025a01e13
10,639
exs
Elixir
test/lib/code_corps_web/controllers/task_controller_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps_web/controllers/task_controller_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps_web/controllers/task_controller_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorpsWeb.TaskControllerTest do use CodeCorpsWeb.ApiCase, resource_name: :task alias CodeCorps.{Analytics.SegmentTraitsBuilder, Task} @valid_attrs %{ title: "Test task", markdown: "A test task", status: "open" } @invalid_attrs %{ title: nil, status: "nonexistent" } des...
35.112211
140
0.647805
85dacb647ee3656802788286d3e74195790181d6
19,265
ex
Elixir
lib/teiserver/battle/schemas/lobby.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver/battle/schemas/lobby.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver/battle/schemas/lobby.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
defmodule Teiserver.Battle.Lobby do # @moduledoc false # use CentralWeb, :schema # schema "teiserver_battle_lobbies" do # field :name, :string # field :data, :map # field :engine_version, :string # field :game_version, :string # field :closed, :utc_datetime # # has_many :matches, Teise...
28.668155
208
0.6313
85daed93434e278e2718290d3e838cd2ac7ad584
14,966
ex
Elixir
lib/ex_unit/lib/ex_unit/case.ex
Joe-noh/elixir
34bf464bc1a035b6015366463e04f1bf9d2065f3
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/case.ex
Joe-noh/elixir
34bf464bc1a035b6015366463e04f1bf9d2065f3
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/case.ex
Joe-noh/elixir
34bf464bc1a035b6015366463e04f1bf9d2065f3
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.DuplicateTestError do defexception [:message] end defmodule ExUnit.Case do @moduledoc """ Sets up an ExUnit test case. This module must be used in other modules as a way to configure and prepare them for testing. When used, it accepts the following options: * :async - configure this...
30.668033
100
0.663838
85daee93ea7c52c07d9787b53286060dd99e404b
3,617
exs
Elixir
test/html_assertion/matcher_test.exs
btbinhtran/html_assertions
299cd83e40b14ca7979a0b28fec13ddf53a9b4fb
[ "MIT" ]
1
2019-04-24T00:11:19.000Z
2019-04-24T00:11:19.000Z
test/html_assertion/matcher_test.exs
btbinhtran/html_assertions
299cd83e40b14ca7979a0b28fec13ddf53a9b4fb
[ "MIT" ]
null
null
null
test/html_assertion/matcher_test.exs
btbinhtran/html_assertions
299cd83e40b14ca7979a0b28fec13ddf53a9b4fb
[ "MIT" ]
null
null
null
defmodule HTMLAssertionTest.MatcherTest do use ExUnit.Case, async: true doctest HTMLAssertion.Matcher, import: true import HTMLAssertion.Matcher alias ExUnit.AssertionError describe ".attributes/3" do setup do [ html: ~S{<main class="table -vertical">quotes: &quot; &amp; &#39;</main>} ...
35.116505
137
0.63091
85dafdeb9149e2f550e4058253044833e4fab98c
2,561
exs
Elixir
.credo.exs
liskin/credo_filename_consistency
d9c1bbb38e8ad2ec0cfc8804c75ffbfd96bab038
[ "BSD-3-Clause" ]
null
null
null
.credo.exs
liskin/credo_filename_consistency
d9c1bbb38e8ad2ec0cfc8804c75ffbfd96bab038
[ "BSD-3-Clause" ]
null
null
null
.credo.exs
liskin/credo_filename_consistency
d9c1bbb38e8ad2ec0cfc8804c75ffbfd96bab038
[ "BSD-3-Clause" ]
1
2020-02-04T17:48:09.000Z
2020-02-04T17:48:09.000Z
%{ configs: [ %{ name: "default", strict: true, files: %{ included: ["*.exs", "lib/", "test/", "config/"], excluded: [] }, checks: [ {Credo.Check.Consistency.ExceptionNames}, {Credo.Check.Consistency.LineEndings}, {Credo.Check.Consistency.Space...
43.40678
130
0.674346
85dafe03c4ef9b659a1b102095cf60aceb47077d
1,378
ex
Elixir
web/web.ex
thechangelog/hola
22b3671bb9000bbe8f05844d1d8cbce5fd3d532c
[ "MIT" ]
9
2015-08-10T00:19:34.000Z
2019-05-24T13:08:55.000Z
web/web.ex
thechangelog/hola
22b3671bb9000bbe8f05844d1d8cbce5fd3d532c
[ "MIT" ]
null
null
null
web/web.ex
thechangelog/hola
22b3671bb9000bbe8f05844d1d8cbce5fd3d532c
[ "MIT" ]
null
null
null
defmodule Hola.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Hola.Web, :controller use Hola.Web, :view The definitions below will be executed for every view, controller, etc, so keep them short and cl...
19.971014
88
0.670537
85db080ddb0a66f66abab777441b18f10cc3859b
2,179
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/create_bitbucket_server_connected_repository_request.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/create_bitbucket_server_connected_repository_request.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/create_bitbucket_server_connected_repository_request.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.932203
220
0.758146
85db0aa617a493cc13768003d6909dca6ccdb7b9
271
exs
Elixir
priv/repo/migrations/20170831022743_add_coordinates_to_rooms.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
priv/repo/migrations/20170831022743_add_coordinates_to_rooms.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
priv/repo/migrations/20170831022743_add_coordinates_to_rooms.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Data.Repo.Migrations.AddCoordinatesToRooms do use Ecto.Migration def change do alter table(:rooms) do add :x, :integer, null: false add :y, :integer, null: false end create index(:rooms, [:zone_id, :x, :y], unique: true) end end
20.846154
58
0.656827
85db0f073afddc34cccffec0571a4791f7aa13b8
806
ex
Elixir
lib/unleash/strategy/gradual_rollout_random.ex
duffelhq/unleashed_ex
a0009b1528fd14f517225c62544fb927cc5b684f
[ "MIT" ]
null
null
null
lib/unleash/strategy/gradual_rollout_random.ex
duffelhq/unleashed_ex
a0009b1528fd14f517225c62544fb927cc5b684f
[ "MIT" ]
2
2021-11-23T11:17:00.000Z
2022-03-01T13:31:22.000Z
lib/unleash/strategy/gradual_rollout_random.ex
duffelhq/unleashed_ex
a0009b1528fd14f517225c62544fb927cc5b684f
[ "MIT" ]
null
null
null
defmodule Unleash.Strategy.GradualRolloutRandom do @moduledoc """ Does not require anything in `t:Unleash.context/0` Based on the [`gradualRollourRandom`](https://unleash.github.io/docs/activation_strategy#gradualrolloutrandom) strategy. """ use Unleash.Strategy, name: "GradualRolloutRandom" @impl St...
25.1875
99
0.693548
85db1d2716ef9c031898295093f87f549a86c2ef
5,455
exs
Elixir
test/console_web/controllers/router/router_device_controller_test.exs
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
test/console_web/controllers/router/router_device_controller_test.exs
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
1
2021-04-03T09:29:31.000Z
2021-04-03T09:29:31.000Z
test/console_web/controllers/router/router_device_controller_test.exs
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.RouterDeviceControllerTest do use ConsoleWeb.ConnCase import Console.Factory describe "devices" do test "router can get devices by dev and app eui", %{conn: _conn} do resp_conn = build_conn() |> post("/api/router/sessions", %{ "secret" => "1524243720:2JD3juUA9RGaOf3Fpj7fNO...
43.293651
121
0.605683
85db2b45bedd663f34d40ef420aef32007132f2d
562
exs
Elixir
CountLeaves.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
2
2019-08-26T13:17:27.000Z
2020-09-24T13:16:07.000Z
CountLeaves.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
null
null
null
CountLeaves.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
null
null
null
defmodule CountLeaves do def of([]), do: 0 def of([head | tail]), do: of(head) + of(tail) def of(_), do: 1 end ExUnit.start defmodule CountLeavesTest do use ExUnit.Case, async: true test "it counts leaves in an empty list" do assert CountLeaves.of([]) == 0 end test "it count leaves in a flat list"...
21.615385
48
0.619217
85db521e354a7d0a07be601cfec2ab0c4ceb0aab
768
exs
Elixir
concurrency/distributed_factorial/mix.exs
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
concurrency/distributed_factorial/mix.exs
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
concurrency/distributed_factorial/mix.exs
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
defmodule DistributedFactorial.Mixfile do use Mix.Project def project do [app: :distributed_factorial, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "m...
22.588235
79
0.638021
85db63ec2d6913f92c32c3e1350c3f3968924339
978
ex
Elixir
lib/media_bot.ex
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
lib/media_bot.ex
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
lib/media_bot.ex
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
defmodule MediaBot do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(MediaBot...
31.548387
71
0.711656
85db6a4284bef315d317c4ff183c12887e80d19c
1,410
ex
Elixir
test/support/data_case.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
test/support/data_case.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
test/support/data_case.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
defmodule Gossip.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test ...
25.636364
77
0.679433
85db731e7f05b1d96345bef231e0debc9acf85bd
1,864
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/list_sites_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/list_sites_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/model/list_sites_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...
37.28
231
0.737124
85db897166f04d99f6b435eaa8882cffad7a4e9d
1,414
ex
Elixir
lib/stellar/network/operations.ex
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
1
2019-12-19T14:12:20.000Z
2019-12-19T14:12:20.000Z
lib/stellar/network/operations.ex
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
null
null
null
lib/stellar/network/operations.ex
turbo-play/elixir-stellar-sdk
ed0711d69493ed2723a1197120667a7fa2c97f9f
[ "MIT" ]
4
2019-10-09T20:58:35.000Z
2021-12-06T23:00:46.000Z
defmodule Stellar.Network.Operations do @moduledoc """ Functions for interacting with Operations """ alias Stellar.Network.Base @doc """ Returns all operations optional `params` can take any of the following.: * `cursor`: A paging token, specifying where to start returning records from. * `order`:...
26.185185
79
0.669731
85dbbd673d540c37d8b917d156914d6c1828d40f
67
ex
Elixir
test/support/test_repo.ex
arsduo/load_resource
1b1c438479b633331aec07a44299f6931b2f479a
[ "MIT" ]
3
2017-07-11T16:40:18.000Z
2018-04-18T22:10:36.000Z
test/support/test_repo.ex
arsduo/load_resource
1b1c438479b633331aec07a44299f6931b2f479a
[ "MIT" ]
1
2017-07-12T00:46:45.000Z
2017-07-13T00:04:23.000Z
test/support/test_repo.ex
arsduo/load_resource
1b1c438479b633331aec07a44299f6931b2f479a
[ "MIT" ]
null
null
null
defmodule TestRepo do use Ecto.Repo, otp_app: :load_resource end
16.75
40
0.791045
85dbde40784ec151844d27feee53d4cd5f777788
1,946
ex
Elixir
lib/google_api/translate/v3beta1/model/list_glossaries_response.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "Apache-2.0" ]
null
null
null
lib/google_api/translate/v3beta1/model/list_glossaries_response.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "Apache-2.0" ]
null
null
null
lib/google_api/translate/v3beta1/model/list_glossaries_response.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "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.381818
139
0.738952
85dbfb26516eb485b8a1f443eb8e961cada24dee
5,980
exs
Elixir
test/pathex/lenses_test.exs
sirikid/pathex
e0bfa4ab6e0b4af4da05479df842a0d07f685707
[ "BSD-2-Clause" ]
null
null
null
test/pathex/lenses_test.exs
sirikid/pathex
e0bfa4ab6e0b4af4da05479df842a0d07f685707
[ "BSD-2-Clause" ]
null
null
null
test/pathex/lenses_test.exs
sirikid/pathex
e0bfa4ab6e0b4af4da05479df842a0d07f685707
[ "BSD-2-Clause" ]
null
null
null
defmodule Pathex.LensesTest do use ExUnit.Case alias Pathex.Lenses require Lenses doctest Lenses require Pathex import Pathex test "Tricky alls" do px = path(:x) all = Lenses.all() inc = fn x -> x + 1 end # View assert {:ok, [1, 2]} = view(%{x: [1, 2]}, px ~> all) assert {:ok,...
27.813953
98
0.408361
85dc07db545c0e7c44d173ca04bede0a4f00f99f
122
ex
Elixir
test/support/repo.ex
kipcole9/trans
5dbca7bfcff5f0153b0d5f6f6acf0420e86b2292
[ "Apache-2.0" ]
108
2018-08-24T19:47:59.000Z
2022-03-24T13:15:42.000Z
test/support/repo.ex
kipcole9/trans
5dbca7bfcff5f0153b0d5f6f6acf0420e86b2292
[ "Apache-2.0" ]
20
2018-10-09T18:32:37.000Z
2022-03-19T08:46:16.000Z
test/support/repo.ex
kipcole9/trans
5dbca7bfcff5f0153b0d5f6f6acf0420e86b2292
[ "Apache-2.0" ]
13
2018-10-09T18:30:16.000Z
2022-01-26T23:37:20.000Z
defmodule Trans.Repo do @moduledoc false use Ecto.Repo, otp_app: :trans, adapter: Ecto.Adapters.Postgres end
15.25
35
0.713115
85dc3f4760db14a0008cee39de225626241206d2
33,281
ex
Elixir
lib/wallaby/browser.ex
diegonogueira/wallaby
ea7e58c89692fc99103f2940002f8083326a619d
[ "MIT" ]
null
null
null
lib/wallaby/browser.ex
diegonogueira/wallaby
ea7e58c89692fc99103f2940002f8083326a619d
[ "MIT" ]
null
null
null
lib/wallaby/browser.ex
diegonogueira/wallaby
ea7e58c89692fc99103f2940002f8083326a619d
[ "MIT" ]
null
null
null
defmodule Wallaby.Browser do @moduledoc """ The Browser module is the entrypoint for interacting with a real browser. By default, action only work with elements that are visible to a real user. ## Actions Actions are used to interact with form elements. All actions work with the query interface: ```ht...
26.710273
207
0.644272