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
1a2c53a247385f0e338c422cb0ebe9cf4a9009e9
2,138
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_list_network_endpoints_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_list_network_endpoints_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_list_network_endpoints_warning_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 "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 ...
38.872727
527
0.746024
1a2c5d61822927cc82e96eef5fd81d4930e53e29
2,938
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/operation.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/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...
49.79661
320
0.726344
1a2c6dbed849215775f3d79024f5d85e672d8b23
1,191
exs
Elixir
test/curator_confirmable_test.exs
curator-ex/curator_confirmable
8b9a000cad58f48987d6fe261b7bfa3c5af1bfbf
[ "MIT" ]
null
null
null
test/curator_confirmable_test.exs
curator-ex/curator_confirmable
8b9a000cad58f48987d6fe261b7bfa3c5af1bfbf
[ "MIT" ]
null
null
null
test/curator_confirmable_test.exs
curator-ex/curator_confirmable
8b9a000cad58f48987d6fe261b7bfa3c5af1bfbf
[ "MIT" ]
null
null
null
defmodule CuratorConfirmableTest do use ExUnit.Case doctest CuratorConfirmable use CuratorConfirmable.TestCase setup do changeset = User.changeset(%User{}, %{ name: "Test User", email: "test_user@test.com", }) user = Repo.insert!(changeset) { :ok, %{ user: user, } ...
23.82
83
0.701931
1a2c6f59d26dbadc95f6bc2df7ac7e35c44bf1ec
3,456
exs
Elixir
apps/re/test/listings/liquidity_test.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/test/listings/liquidity_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/test/listings/liquidity_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Listings.LiquidityTest do use Re.ModelCase alias Re.Listings.Liquidity @default_case nil describe "calculated/1" do test "should return zero when price and price_suggestion are the same" do assert 0 == Liquidity.calculate(1_000_000, 1_000_000) end test "should return positive ...
34.56
85
0.710938
1a2c89183941d1eced3f3059acb94302b3e6fb78
286
ex
Elixir
services/interop-proxy/lib/interop_proxy_web/controllers/telemetry_controller.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
1
2020-10-08T14:37:36.000Z
2020-10-08T14:37:36.000Z
services/interop-proxy/lib/interop_proxy_web/controllers/telemetry_controller.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
33
2017-10-31T22:36:42.000Z
2021-01-10T22:15:54.000Z
services/interop-proxy/lib/interop_proxy_web/controllers/telemetry_controller.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
3
2018-10-07T21:36:02.000Z
2020-02-07T01:13:53.000Z
defmodule InteropProxyWeb.TelemetryController do use InteropProxyWeb, :controller plug InteropProxyWeb.Plugs.DecodeProtobuf, InteropTelem when action in [:create] def create(conn, _params) do send_message conn, InteropProxy.post_telemetry(conn.assigns.protobuf) end end
26
73
0.804196
1a2ca2daa9c09e652d2a617bcb77b1d61ccb34e4
926
ex
Elixir
apps/bernard_core/lib/geo/location.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
apps/bernard_core/lib/geo/location.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
apps/bernard_core/lib/geo/location.ex
CharlesBean/bernard
5bd403e72cbc17b8feacd8d3cbb0d9c7bc4ef51d
[ "MIT" ]
null
null
null
defmodule BernardCore.Geo.Location do @moduledoc """ [Internal] The Ecto schema and changeset for the Location entity. This entity may be retrieved from various external APIs and is unique via a combination of fields. Locations represent any point on the earth's surface. Locations can have many Transactions ...
25.722222
84
0.698704
1a2cbcd70a6c0144d6876a859d622b02b44c449d
140
ex
Elixir
lib/cain/endpoint/history/activity_instance.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
6
2019-12-17T12:40:19.000Z
2022-01-18T07:25:20.000Z
lib/cain/endpoint/history/activity_instance.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
9
2019-12-18T13:01:11.000Z
2021-02-12T14:24:43.000Z
lib/cain/endpoint/history/activity_instance.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
1
2020-09-16T09:19:08.000Z
2020-09-16T09:19:08.000Z
defmodule Cain.Endpoint.History.ActivityInstance do def get_list(query) do {:get, "/history/activity-instance", query, %{}} end end
23.333333
52
0.721429
1a2cd334db403da48b5c4e7179279815b5e8c7f9
348
exs
Elixir
priv/repo/migrations/20170901235959_create_activity.exs
jackjoe/ex_activity
68ea6699dd0b995000d04b5bc021aefc2de748de
[ "MIT" ]
6
2019-03-04T15:26:15.000Z
2021-03-23T14:53:35.000Z
priv/repo/migrations/20170901235959_create_activity.exs
jackjoe/ex_activity
68ea6699dd0b995000d04b5bc021aefc2de748de
[ "MIT" ]
null
null
null
priv/repo/migrations/20170901235959_create_activity.exs
jackjoe/ex_activity
68ea6699dd0b995000d04b5bc021aefc2de748de
[ "MIT" ]
null
null
null
defmodule ExActivity.Repo.Migrations.CreateActivity do use Ecto.Migration def change do create table(:activity) do add :type, :string add :action, :string add :result, :string add :details, :string add :data, :string add :ip, :string add :user_agent, :string tim...
19.333333
54
0.626437
1a2cdea8dfb3491a073b91d0c7c49072443b780e
1,524
ex
Elixir
elixir/rocketpay/lib/rocketpay_web/endpoint.ex
andredezzy/rocketseat-nextlevel-04
5d54631a58ae57f6c43d8ea11c9aa32054c1acfd
[ "MIT" ]
null
null
null
elixir/rocketpay/lib/rocketpay_web/endpoint.ex
andredezzy/rocketseat-nextlevel-04
5d54631a58ae57f6c43d8ea11c9aa32054c1acfd
[ "MIT" ]
null
null
null
elixir/rocketpay/lib/rocketpay_web/endpoint.ex
andredezzy/rocketseat-nextlevel-04
5d54631a58ae57f6c43d8ea11c9aa32054c1acfd
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.Endpoint do use Phoenix.Endpoint, otp_app: :rocketpay # 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: "_rocke...
28.754717
97
0.717192
1a2d19d386f1e80b88c38c256d1128f2d0ec4331
1,361
exs
Elixir
config/config.exs
efrenfuentes/realworld-app-elixir-phoenix
e8e5b19695c0d9c8edfc892d585506ca688d6ee8
[ "MIT" ]
null
null
null
config/config.exs
efrenfuentes/realworld-app-elixir-phoenix
e8e5b19695c0d9c8edfc892d585506ca688d6ee8
[ "MIT" ]
null
null
null
config/config.exs
efrenfuentes/realworld-app-elixir-phoenix
e8e5b19695c0d9c8edfc892d585506ca688d6ee8
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :conduit, ecto_repos: [Conduit.Repo] # Conf...
31.651163
80
0.76047
1a2d2a713857cb3920b6ab2956f9f7d206c0cbb8
17,049
ex
Elixir
test/support/factory/factory.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/support/factory/factory.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/support/factory/factory.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Factory do use ExMachina.Ecto, repo: Sanbase.Repo alias Sanbase.Tag alias Sanbase.UserList alias Sanbase.Accounts.{User, UserSettings, Role, UserRole, EmailLoginAttempt} alias Sanbase.Insight.Post alias Sanbase.Comment alias Sanbase.Model.{ Project, ProjectEthAddress, Proje...
22.977089
99
0.625433
1a2d3f9f901f36561e5f886d7a80ae2deebd2173
4,134
ex
Elixir
lib/teiserver/agents/agent_lib.ex
Teifion/teiserver
131e002160e1e948cb55e56d62370ba66a972cba
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/teiserver/agents/agent_lib.ex
Teifion/teiserver
131e002160e1e948cb55e56d62370ba66a972cba
[ "MIT" ]
null
null
null
lib/teiserver/agents/agent_lib.ex
Teifion/teiserver
131e002160e1e948cb55e56d62370ba66a972cba
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule Teiserver.Agents.AgentLib do alias Teiserver.Protocols.Tachyon alias Teiserver.User alias Phoenix.PubSub require Logger alias Teiserver.Data.Types, as: T @localhost '127.0.0.1' @spec colours :: {String.t(), String.t(), String.t()} def colours(), do: Central.Helpers.StylingHelper.colours(:dan...
28.122449
122
0.614417
1a2d420aa61b1579acbcfc35c12ca750269ae4dc
1,846
exs
Elixir
clients/health_care/mix.exs
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/health_care/mix.exs
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/mix.exs
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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.552239
108
0.656555
1a2d52a31054f4a68c5394ef523142f995025a8e
285
exs
Elixir
config/test.exs
sgeos/cassandra-graphql
9d566c23d6499ff7a3a6f05fec3eef2dce54bc0d
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
sgeos/cassandra-graphql
9d566c23d6499ff7a3a6f05fec3eef2dce54bc0d
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
sgeos/cassandra-graphql
9d566c23d6499ff7a3a6f05fec3eef2dce54bc0d
[ "BSD-3-Clause" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :cassandra_graphql, CassandraGraphqlWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
25.909091
56
0.754386
1a2d78325929679f6733c1bab07e7dfeca50f11a
3,019
ex
Elixir
lib/liquio/results/results.ex
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
5
2016-09-12T08:31:14.000Z
2018-03-12T23:40:08.000Z
lib/liquio/results/results.ex
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
null
null
null
lib/liquio/results/results.ex
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
null
null
null
defmodule Liquio.Results do alias Liquio.VotingPower alias Liquio.Average def from_votes(votes) do from_votes(votes, %{}) end def from_votes(votes, inverse_delegations) do from_votes(votes, inverse_delegations, %{:datetime => Timex.now(), :topics => nil}) end def from_votes(votes, inverse_deleg...
30.806122
110
0.644584
1a2dbd32c6b69e8301d74f2dff91ae10ff9aa8c9
546
ex
Elixir
lib/aph_web/views/changeset_view.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
8
2019-09-26T13:59:25.000Z
2020-03-30T21:26:48.000Z
lib/aph_web/views/changeset_view.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
39
2019-11-16T02:24:28.000Z
2020-01-14T16:40:28.000Z
lib/aph_web/views/changeset_view.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
2
2019-12-16T07:55:14.000Z
2020-06-11T04:14:00.000Z
defmodule AphWeb.ChangesetView do use AphWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `AphWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset, &translate_err...
27.3
65
0.732601
1a2dc0ab70fdf3c11b8c652839fb6df54b1a3b6c
526
ex
Elixir
lib/entity/definitions/guy.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/entity/definitions/guy.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/entity/definitions/guy.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
use ElixirRPG.DSL.Entity defentity Guy do component ActorName, %{name: "Guy"} component Sprite, %{sprite_name: "char/guy/normal.png", base_sprite_dir: "char/guy"} component GridPosition, %{index: 8} component ActionList, %{actions: [:dance]} component DemoStats, %{ hp: 10, max_hp: 10, mp: 5, ...
20.230769
86
0.684411
1a2dddd5042c43cc359479ac246b16827a3de633
1,894
ex
Elixir
lib/sanbase_web/controllers/webinar_controller.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/controllers/webinar_controller.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/controllers/webinar_controller.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.WebinarController do use SanbaseWeb, :controller alias Sanbase.Webinar alias SanbaseWeb.Router.Helpers, as: Routes def index(conn, _params) do webinars = Webinar.list() render(conn, "index.html", webinars: webinars) end def new(conn, _params) do changeset = Webinar.new_ch...
29.59375
83
0.649419
1a2e4f3156a7e45769df2e657fd328aa25a2a98f
10,647
exs
Elixir
test/easypost_test.exs
kevinkoltz/easypost-elixir
79af3f6f1671b5199e4850672f4aeb399908e220
[ "MIT" ]
null
null
null
test/easypost_test.exs
kevinkoltz/easypost-elixir
79af3f6f1671b5199e4850672f4aeb399908e220
[ "MIT" ]
null
null
null
test/easypost_test.exs
kevinkoltz/easypost-elixir
79af3f6f1671b5199e4850672f4aeb399908e220
[ "MIT" ]
1
2021-02-13T04:23:44.000Z
2021-02-13T04:23:44.000Z
defmodule EasypostTest do use ExUnit.Case, async: false use Easypost.Client, endpoint: Application.get_env(:easypost, :easypost_endpoint), key: Application.get_env(:easypost, :easypost_test_key) ExUnit.configure exclude: [production_only: true] @validaddress1 %{"company" => "EasyPost", "street1" => "118 2nd S...
31.040816
318
0.612943
1a2e791fd5f3656af956f0f777b1721483d8daa0
1,428
exs
Elixir
mix.exs
maysam/bamboo_sendinblue
882511499ce8088b46713dbae06eee1bd84c860a
[ "MIT" ]
null
null
null
mix.exs
maysam/bamboo_sendinblue
882511499ce8088b46713dbae06eee1bd84c860a
[ "MIT" ]
null
null
null
mix.exs
maysam/bamboo_sendinblue
882511499ce8088b46713dbae06eee1bd84c860a
[ "MIT" ]
null
null
null
defmodule BambooSendinblue.Mixfile do use Mix.Project @project_url "https://github.com/biospank/bamboo_sendinblue" def project do [app: :bamboo_sendinblue, version: "0.5.0", elixir: ">= 1.6.6", source_url: @project_url, homepage_url: @project_url, name: "Bamboo SendinBlue Adapter", ...
25.5
77
0.578431
1a2ec071250243e09c2068ca4f609c8c18c96389
1,345
exs
Elixir
config/config.exs
rstein66/Renaissance
947880e1b492adc2ce1f4a0883ddb41e597de011
[ "Unlicense" ]
2
2021-02-01T12:09:07.000Z
2021-03-14T12:20:43.000Z
config/config.exs
rstein66/Renaissance
947880e1b492adc2ce1f4a0883ddb41e597de011
[ "Unlicense" ]
11
2019-04-09T18:01:16.000Z
2019-05-16T15:02:24.000Z
config/config.exs
rstein66/Renaissance
947880e1b492adc2ce1f4a0883ddb41e597de011
[ "Unlicense" ]
2
2019-04-30T22:43:18.000Z
2019-05-15T20:34:49.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 :renaissance, ecto_repos: [Renaissance....
30.568182
86
0.765799
1a2ecdff20350dcab772f9d515af8f14e2a44643
6,723
ex
Elixir
lib/erlef/accounts/external.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
71
2019-07-02T18:06:15.000Z
2022-03-09T15:30:08.000Z
lib/erlef/accounts/external.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
157
2019-07-02T01:21:16.000Z
2022-03-30T16:08:12.000Z
lib/erlef/accounts/external.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
45
2019-07-04T05:51:11.000Z
2022-02-27T11:56:02.000Z
defmodule Erlef.Accounts.External do @moduledoc """ Erlef.Accounts.External provides a schema and helper functions for converting external accounts to an Erlef app member or member attributes. While this module is called External to leave it open, the only supported external account is Wildapricot. The m...
31.415888
114
0.665328
1a2edd6e10005597e2c9a5d459b6d344374896b8
3,072
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/create_video_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/create_video_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/slides/lib/google_api/slides/v1/model/create_video_request.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.857143
499
0.738607
1a2eedf6bb62991c772e4f93213e8aaed3b1d3bd
1,309
exs
Elixir
config/config.exs
ritou/elixir-kitten-blue
e6ac29b17d4e4b78d562bf230209ac5faa57f454
[ "MIT" ]
null
null
null
config/config.exs
ritou/elixir-kitten-blue
e6ac29b17d4e4b78d562bf230209ac5faa57f454
[ "MIT" ]
10
2018-04-07T02:53:59.000Z
2020-10-19T14:34:51.000Z
config/config.exs
ritou/elixir-kitten-blue
e6ac29b17d4e4b78d562bf230209ac5faa57f454
[ "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...
38.5
109
0.763178
1a2f0e918319db3c915a5a6b27b6830bd56b851e
1,462
ex
Elixir
lib/bureaucrat/recorder.ex
raymondboswel/bureaucrat
4c0ef96cf2226552c457ed4d1a9afd53e197b145
[ "Unlicense" ]
null
null
null
lib/bureaucrat/recorder.ex
raymondboswel/bureaucrat
4c0ef96cf2226552c457ed4d1a9afd53e197b145
[ "Unlicense" ]
null
null
null
lib/bureaucrat/recorder.ex
raymondboswel/bureaucrat
4c0ef96cf2226552c457ed4d1a9afd53e197b145
[ "Unlicense" ]
null
null
null
defmodule Bureaucrat.Recorder do use GenServer alias Phoenix.Socket alias Phoenix.Socket.{Broadcast, Message, Reply} alias Bureaucrat.Recorder.ConnPreprocessor def start_link do {:ok, _} = GenServer.start_link(__MODULE__, [], name: __MODULE__) end def doc(%Broadcast{} = broadcast, opts) do GenS...
24.779661
69
0.668263
1a2f1c3b5c03a049a76ad135f9febf62c6ff22f1
1,475
exs
Elixir
test/xdr/operations/payment_result_code_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/operations/payment_result_code_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/operations/payment_result_code_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.PaymentResultCodeTest do use ExUnit.Case alias StellarBase.XDR.Operations.PaymentResultCode describe "PaymentResultCode" do setup do %{ code: :PAYMENT_SUCCESS, result: PaymentResultCode.new(:PAYMENT_SUCCESS), binary: <<0, 0, 0, 0>> } ...
30.102041
98
0.658983
1a2f1fbc9c1f221faf48a3091bfeeaeadd0639ba
1,913
ex
Elixir
clients/content/lib/google_api/content/v2/model/productstatuses_list_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/productstatuses_list_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/productstatuses_list_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.09434
158
0.726607
1a2f4d9f7e49c5dab66ff2ee72d4622fd18ac7ca
70
exs
Elixir
test/test_helper.exs
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
1
2020-04-24T19:40:46.000Z
2020-04-24T19:40:46.000Z
test/test_helper.exs
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
null
null
null
test/test_helper.exs
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(MonisApp.Repo, :manual)
23.333333
54
0.785714
1a2f6837b72c69818a9df7cc40acd8d9a2c519fd
169
ex
Elixir
lib/ex_polygon/stocks_v2_trade.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
lib/ex_polygon/stocks_v2_trade.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
lib/ex_polygon/stocks_v2_trade.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
defmodule ExPolygon.StocksV2Trade do @type t :: %ExPolygon.StocksV2Trade{} defstruct ~w( T t y f q i x s c p z )a end
9.388889
39
0.502959
1a2fb076e687edfb076a234fdd5ca973da4a3e6d
21,920
ex
Elixir
lib/gringotts/gateways/monei.ex
baldmountain/gringotts
6fe60c80826bae3f1681e30a27f9a013317cbe10
[ "MIT" ]
null
null
null
lib/gringotts/gateways/monei.ex
baldmountain/gringotts
6fe60c80826bae3f1681e30a27f9a013317cbe10
[ "MIT" ]
null
null
null
lib/gringotts/gateways/monei.ex
baldmountain/gringotts
6fe60c80826bae3f1681e30a27f9a013317cbe10
[ "MIT" ]
null
null
null
defmodule Gringotts.Gateways.Monei do @moduledoc """ [MONEI][home] gateway implementation. For reference see [MONEI's API (v1) documentation][docs]. The following features of MONEI are implemented: | Action | Method | `type` | | ------ | ------ | ...
37.278912
174
0.63312
1a2fc3672810e732de597aed48dabf4515a7468b
52
ex
Elixir
lib/construct_params.ex
dvjoness/construct_params
d3dd21b9682cca0481e1a516b7448757a49d7a57
[ "MIT" ]
11
2021-03-28T22:52:30.000Z
2021-12-22T17:23:51.000Z
lib/construct_params.ex
dvjoness/construct_params
d3dd21b9682cca0481e1a516b7448757a49d7a57
[ "MIT" ]
1
2022-03-04T16:26:33.000Z
2022-03-04T16:26:33.000Z
lib/construct_params.ex
dvjoness/construct_params
d3dd21b9682cca0481e1a516b7448757a49d7a57
[ "MIT" ]
2
2021-05-24T11:20:58.000Z
2021-07-29T09:44:07.000Z
defmodule ConstructParams do @moduledoc false end
13
28
0.826923
1a2fdab3ca95fda44f232ec6b88c6b63c3c20ab1
57,397
ex
Elixir
lib/elixir/lib/kernel/special_forms.ex
AsharDweedar/elixir
2c5b3c8c362e301b9f074db38b62470050fe243d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/special_forms.ex
AsharDweedar/elixir
2c5b3c8c362e301b9f074db38b62470050fe243d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/special_forms.ex
AsharDweedar/elixir
2c5b3c8c362e301b9f074db38b62470050fe243d
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.SpecialForms do @moduledoc """ Special forms are the basic building blocks of Elixir, and therefore cannot be overridden by the developer. We define them in this module. Some of these forms are lexical (like `alias/2`, `case/2`, etc). The macros `{}/1` and `<<>>/1` are also special forms u...
28.066993
115
0.630259
1a303501385241dd05f910f88fafbedb8f8bdd09
420
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20171009074013_create_users_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/priv/repo/migrations/20171009074013_create_users_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20171009074013_create_users_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.Repo.Migrations.CreateUsersTable do use Ecto.Migration def change do create table(:user, primary_key: false) do add :id, :uuid, primary_key: true add :username, :string, null: false add :provider_user_id, :string add :metadata, :map timestamps() end cr...
24.705882
55
0.680952
1a30353c4c2b309f1d62a5c9d8a2f8ff4a44706a
1,193
exs
Elixir
apps/crawler/test/crawler_test.exs
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
3
2018-07-20T22:14:36.000Z
2018-12-21T19:54:48.000Z
apps/crawler/test/crawler_test.exs
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
36
2018-09-15T21:46:54.000Z
2020-03-28T16:10:18.000Z
apps/crawler/test/crawler_test.exs
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
2
2018-07-22T08:47:07.000Z
2021-12-11T01:39:19.000Z
defmodule CrawlerTest do use ExUnit.Case alias Crawler.Bethesda alias Crawler.Nexus alias Crawler.Steam doctest Crawler test "has Crawler.Application started the provider managers and supervisors" do :ok = Application.ensure_started(:crawler) actual = Crawler.Supervisor |> Supervisor....
38.483871
87
0.713328
1a3035c2259781eb1fae738a145977f3d840e8da
508
ex
Elixir
lib/devito_web/plugs/api_auth.ex
supersimple/devito
9b976849d934a9551450ca0459859e76c0929893
[ "Apache-2.0" ]
37
2020-07-23T16:05:32.000Z
2022-02-04T07:06:17.000Z
lib/devito_web/plugs/api_auth.ex
supersimple/devito
9b976849d934a9551450ca0459859e76c0929893
[ "Apache-2.0" ]
1
2020-08-03T03:58:57.000Z
2020-08-05T03:06:37.000Z
lib/devito_web/plugs/api_auth.ex
supersimple/devito
9b976849d934a9551450ca0459859e76c0929893
[ "Apache-2.0" ]
3
2020-07-24T22:43:08.000Z
2021-05-30T17:43:45.000Z
defmodule DevitoWeb.Plugs.APIAuth do @moduledoc """ A Plug for authenticating accounts """ import Plug.Conn def init(_opts), do: :ok def call(conn, _opts \\ []) do case valid_token?(conn) do true -> conn _false -> conn |> resp(401, "unauthorized") |> send_r...
18.814815
61
0.586614
1a30582704db3fc6becc39d74b6c476d86295d4e
197
ex
Elixir
test/support/dummy.ex
kianmeng/mockery
ad843783e890000627c51b30b69a115e73617542
[ "Apache-2.0" ]
85
2017-07-29T22:03:54.000Z
2022-03-29T09:50:49.000Z
test/support/dummy.ex
kianmeng/mockery
ad843783e890000627c51b30b69a115e73617542
[ "Apache-2.0" ]
36
2017-07-30T10:12:44.000Z
2021-12-23T12:25:42.000Z
test/support/dummy.ex
kianmeng/mockery
ad843783e890000627c51b30b69a115e73617542
[ "Apache-2.0" ]
13
2017-07-29T09:06:47.000Z
2021-05-20T13:36:56.000Z
defmodule Dummy do @moduledoc false def fun1, do: 1 def fun2, do: 2 def fun3, do: 3 def fun4, do: 4 def fun5, do: 5 def fun6, do: 6 def ar(x), do: x def ar(x, y), do: [x, y] end
15.153846
26
0.573604
1a30636deb8a18f77542d89c94961bfbd489f934
595
ex
Elixir
lib/live_sup_web/views/api/widget_view.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/views/api/widget_view.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/views/api/widget_view.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.Api.WidgetView do use LiveSupWeb, :view alias LiveSupWeb.Api.WidgetView def render("index.json", %{widgets: widgets}) do %{data: render_many(widgets, WidgetView, "widget.json")} end def render("show.json", %{widget: widget}) do %{data: render_one(widget, WidgetView, "widget.json...
24.791667
60
0.667227
1a308a8d107f93570d9a0ac5c07e394420e5a0c0
1,644
exs
Elixir
apps/definition_dictionary/test/dictionary/type/float_test.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/definition_dictionary/test/dictionary/type/float_test.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/definition_dictionary/test/dictionary/type/float_test.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
defmodule Dictionary.Type.FloatTest do use ExUnit.Case import Checkov describe "new/1" do data_test "validates #{inspect(field)} against bad input" do assert {:error, [%{input: value, path: [field]} | _]} = put_in(%{}, [field], value) |> Dictionary.Type.Float.new() ...
27.864407
95
0.575426
1a308ba9fc8dc2d46ba8f22101ffd899bb6bfcd2
46
exs
Elixir
apps/andi/test/unit/test_helper.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/test/unit/test_helper.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/test/unit/test_helper.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
ExUnit.start(capture_log: true) Faker.start()
15.333333
31
0.782609
1a30af3a32051972c868340d5286f990ba02ff49
385
exs
Elixir
priv/repo/migrations/20210606224900_create_authors_table.exs
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20210606224900_create_authors_table.exs
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20210606224900_create_authors_table.exs
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
defmodule BlogEngine.Repo.Migrations.CreateAuthorsTable do use Ecto.Migration def change do create table(:authors) do add :name, :string add :email, :string add :nickname, :string add :bio, :string add :age, :integer timestamps() end create unique_index(:authors, [:...
21.388889
58
0.651948
1a30dfce8e17c805dd2c76a7d0ba61458a8e3f03
754
ex
Elixir
lib/toys.ex
anthonyoconnor/my_little_schemer
fc835c6bf4e02f375091e4b0a164fcf197971df0
[ "MIT" ]
null
null
null
lib/toys.ex
anthonyoconnor/my_little_schemer
fc835c6bf4e02f375091e4b0a164fcf197971df0
[ "MIT" ]
null
null
null
lib/toys.ex
anthonyoconnor/my_little_schemer
fc835c6bf4e02f375091e4b0a164fcf197971df0
[ "MIT" ]
null
null
null
defmodule Toys do #Car #Car is defined only for non empty lists. def car([h|_]), do: h #Cdr #Cdr is defined only for non empty lists. #The cdr of any non-empty list is always another list. def cdr([_|t]), do: t #Cons #Cons takes two agruments. #The second argument to cons must be a list. ...
21.542857
58
0.612732
1a3105d864dff9bab016d512dd17b778fe9406b8
1,125
exs
Elixir
config/config.exs
bbense/doc_helpers
e509bbc6740f03e35134485b8a15e6fdf1f31013
[ "Apache-2.0" ]
null
null
null
config/config.exs
bbense/doc_helpers
e509bbc6740f03e35134485b8a15e6fdf1f31013
[ "Apache-2.0" ]
null
null
null
config/config.exs
bbense/doc_helpers
e509bbc6740f03e35134485b8a15e6fdf1f31013
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.290323
73
0.752889
1a3107cf28a8d6fe9a616d7429e50f03aee51d49
115,663
ex
Elixir
lib/elixir/lib/kernel.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixi...
26.382984
128
0.632259
1a314fe43a28a144deffc16c7914e514aec371ea
193
exs
Elixir
tuples.exs
JelaniThompson/learningElixir
c349069b93bf088cc7c15989a3d2896f0a6dc371
[ "MIT" ]
null
null
null
tuples.exs
JelaniThompson/learningElixir
c349069b93bf088cc7c15989a3d2896f0a6dc371
[ "MIT" ]
null
null
null
tuples.exs
JelaniThompson/learningElixir
c349069b93bf088cc7c15989a3d2896f0a6dc371
[ "MIT" ]
null
null
null
# Tuples can hold any value like lists list = {"Hello", 72, :neutron} IO.puts tuple_size(list) # Tuples are meant to be more static and unchanging # Lists are more dynamic and faster to update
32.166667
51
0.751295
1a3172a62a8d3f1330199aac6c9357b2f79c64ae
413
ex
Elixir
lib/central/admin/libs/admin_lib.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/central/admin/libs/admin_lib.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central/admin/libs/admin_lib.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Admin.AdminLib do @moduledoc false use CentralWeb, :library @spec colours :: {String.t(), String.t(), String.t()} def colours(), do: Central.Helpers.StylingHelper.colours(:info2) @spec icon() :: String.t() def icon(), do: "fas fa-user-circle" @spec authorize(any, Plug.Conn.t(), atom) :...
31.769231
78
0.680387
1a3198e88b2898e05dc54e0ccc63550b34b17829
1,034
ex
Elixir
lib/elastix/search.ex
gharnly/elastix
ca61872cf67c539e833f1e0b438f7c93c30e0974
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
lib/elastix/search.ex
gharnly/elastix
ca61872cf67c539e833f1e0b438f7c93c30e0974
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2017-07-19T15:35:03.000Z
2017-07-19T15:35:03.000Z
lib/elastix/search.ex
gharnly/elastix
ca61872cf67c539e833f1e0b438f7c93c30e0974
[ "Naumen", "Condor-1.1", "MS-PL" ]
4
2017-07-19T14:52:55.000Z
2021-01-20T16:11:19.000Z
defmodule Elastix.Search do @moduledoc """ """ alias Elastix.HTTP @doc false def search(elastic_url, index, types, data) do search(elastic_url, index, types, data, []) end @doc false def search(elastic_url, index, types, data, query_params) do (elastic_url <> make_path(index, types, query_para...
21.102041
62
0.611219
1a31d99a932e35d2ad769c68ea3668e6241e3572
2,098
ex
Elixir
apps/neoscan_cache/lib/neoscan_cache/broadcast.ex
spasma/neo-scan
89b2ec3dee75205fefe1bbff8db5c949e079bfbb
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_cache/lib/neoscan_cache/broadcast.ex
spasma/neo-scan
89b2ec3dee75205fefe1bbff8db5c949e079bfbb
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_cache/lib/neoscan_cache/broadcast.ex
CityOfZion/NEOScan
cce412984b5a1bf7b008ab78df7f68dd769b39d7
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanCache.Broadcast do @moduledoc """ GenServer module responsable to push data to websocket channel """ use GenServer alias NeoscanCache.Cache require Logger @broadcast_interval 1_000 @default_stats %{ :total_blocks => 0, :total_transactions => 0, :total_transfers => 0, ...
21.408163
78
0.600095
1a325285ae712e01c32695213a8f284537b40b3d
884
ex
Elixir
lib/skeleton/types/default/keyword.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
3
2020-12-15T09:04:57.000Z
2021-06-11T02:01:09.000Z
lib/skeleton/types/default/keyword.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
lib/skeleton/types/default/keyword.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
defmodule MapSchema.DefaultTypes.MSchemaKeyword do @moduledoc false @behaviour MapSchema.CustomType @spec name :: atom | String.t() def name, do: :keyword def nested?, do: true @spec cast(value :: any) :: any | :map_schema_type_error def cast(value) do value end @doc """ ## Example iex>...
21.047619
58
0.63009
1a326080990620866958fff2dd1297123d31f827
138
exs
Elixir
config/config.exs
pinx/plogger
2555dc68d6cdc66154e9b9ed2fbb71bef83f8000
[ "MIT" ]
9
2016-06-28T09:40:12.000Z
2018-10-09T00:56:02.000Z
config/config.exs
pinx/plogger
2555dc68d6cdc66154e9b9ed2fbb71bef83f8000
[ "MIT" ]
1
2018-10-09T16:59:12.000Z
2018-10-09T16:59:12.000Z
config/config.exs
pinx/plogger
2555dc68d6cdc66154e9b9ed2fbb71bef83f8000
[ "MIT" ]
1
2018-10-09T17:30:08.000Z
2018-10-09T17:30:08.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config
27.6
61
0.797101
1a3272d4c64b64a751934fb2e6716b610c0f1c8f
1,057
ex
Elixir
lib/tentacat/repositories/projects.ex
bmarkons/tentacat
d0cc71a1749dfca21a8ab1d73430d087dbf2efb2
[ "MIT" ]
null
null
null
lib/tentacat/repositories/projects.ex
bmarkons/tentacat
d0cc71a1749dfca21a8ab1d73430d087dbf2efb2
[ "MIT" ]
null
null
null
lib/tentacat/repositories/projects.ex
bmarkons/tentacat
d0cc71a1749dfca21a8ab1d73430d087dbf2efb2
[ "MIT" ]
null
null
null
defmodule Tentacat.Repositories.Projects do import Tentacat alias Tentacat.Client @doc """ Lists the projects in a repository ## Example Tentacat.Repositories.Projects.list client, "elixir-lang", "elixir" More info at: https://developer.github.com/v3/projects/#list-repository-projects """ @spe...
27.815789
127
0.694418
1a328aa5286c326eab2347c7d1e3ec8bc0383b6c
617
exs
Elixir
test/web/controller/admin/npc_controller_test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
test/web/controller/admin/npc_controller_test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
test/web/controller/admin/npc_controller_test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Web.Admin.NPCControllerTest do use Web.AuthConnCase test "new npc", %{conn: conn} do params = %{ "name" => "Bandit", "level" => "1", "experience_points" => "124", "currency" => "10", "events" => "[]", "stats" => base_stats() |> Poison.encode!(), } conn = p...
24.68
79
0.576985
1a328fff3d384b041aaa6b53c7fed28bef1a2c54
656
ex
Elixir
lib/docusign/model/recipient_domain.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/recipient_domain.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/recipient_domain.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Model.RecipientDomain do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :active, :domainCode, :domainName,...
21.16129
75
0.643293
1a32c92900a6651725702220c31aa2d05c47b050
2,947
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/binding.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/binding.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/binding.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 ...
36.8375
136
0.697659
1a331c77ab79c2b19e6c01bc27284520bc620b2c
1,774
ex
Elixir
lib/credo/check/warning/expensive_empty_enum_check.ex
andersonmcook/credo
cea1ac63dc378316f5e6dd050165a00e5b20ca2f
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
deps/credo/lib/credo/check/warning/expensive_empty_enum_check.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/credo/lib/credo/check/warning/expensive_empty_enum_check.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2021-07-05T19:04:48.000Z
2021-07-05T19:04:48.000Z
defmodule Credo.Check.Warning.ExpensiveEmptyEnumCheck do use Credo.Check, base_priority: :high, explanations: [ # TODO: improve checkdoc check: """ Checking if the size of the enum is `0` can be very expensive, since you are determining the exact count of elements. Checking if a...
24.985915
82
0.574408
1a33201d8eff4f26d0a653d0550ece6b6582bb8e
2,111
exs
Elixir
config/dev.exs
shimmerlabs/taut
1f38f5ccfc39b94aa392105af6dfbf3a44a9cc19
[ "MIT" ]
null
null
null
config/dev.exs
shimmerlabs/taut
1f38f5ccfc39b94aa392105af6dfbf3a44a9cc19
[ "MIT" ]
null
null
null
config/dev.exs
shimmerlabs/taut
1f38f5ccfc39b94aa392105af6dfbf3a44a9cc19
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :taut, Taut.Repo, #username: "postgres", #password: "postgres", database: "taut_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading. # # T...
27.415584
68
0.685931
1a33226c5f70d97b9f113e2dfff9f6634a804b04
6,607
ex
Elixir
lib/nerves_init_gadget/network_manager.ex
squaresurf/nerves_init_gadget
4349db3e26a0b3eb0e3365ac4aa7b508fe7790e5
[ "Apache-2.0" ]
null
null
null
lib/nerves_init_gadget/network_manager.ex
squaresurf/nerves_init_gadget
4349db3e26a0b3eb0e3365ac4aa7b508fe7790e5
[ "Apache-2.0" ]
null
null
null
lib/nerves_init_gadget/network_manager.ex
squaresurf/nerves_init_gadget
4349db3e26a0b3eb0e3365ac4aa7b508fe7790e5
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.InitGadget.NetworkManager do @moduledoc false use GenServer require Logger defmodule State do @moduledoc false defstruct ip: nil, is_up: nil, opts: nil end def start_link(opts) do GenServer.start_link(__MODULE__, opts) end def init(opts) do # Register for updates fro...
27.1893
95
0.66036
1a334e60b86a335ddd7abf999fcc4527bb972c44
385
ex
Elixir
lib/hologram/compiler/transformers/relaxed_boolean_or_operator_transformer.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/transformers/relaxed_boolean_or_operator_transformer.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/transformers/relaxed_boolean_or_operator_transformer.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.RelaxedBooleanOrOperatorTransformer do alias Hologram.Compiler.{Context, Transformer} alias Hologram.Compiler.IR.RelaxedBooleanOrOperator def transform({:||, _, [left, right]}, %Context{} = context) do %RelaxedBooleanOrOperator{ left: Transformer.transform(left, context), ...
32.083333
66
0.748052
1a337719e316fdf66c2cf48acaebfb9ee04b50d2
1,982
ex
Elixir
lib/web_driver_client/w3c_wire_protocol_client/commands/send_keys_to_element.ex
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
8
2019-11-24T18:33:12.000Z
2020-12-09T10:20:09.000Z
lib/web_driver_client/w3c_wire_protocol_client/commands/send_keys_to_element.ex
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
67
2019-12-20T16:33:30.000Z
2021-09-14T03:50:10.000Z
lib/web_driver_client/w3c_wire_protocol_client/commands/send_keys_to_element.ex
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
10
2020-06-19T16:15:03.000Z
2021-09-13T17:56:25.000Z
defmodule WebDriverClient.W3CWireProtocolClient.Commands.SendKeysToElement do @moduledoc false alias WebDriverClient.Config alias WebDriverClient.ConnectionError alias WebDriverClient.Element alias WebDriverClient.HTTPResponse alias WebDriverClient.KeyCodes alias WebDriverClient.Session alias WebDriver...
31.460317
79
0.709889
1a33b04c4268a6ded861608a815a0cf16636daeb
5,991
ex
Elixir
lib/encoder.ex
wojtekmach/jason
d82693f7efa88f00a92df09903f5852458a4fd5d
[ "Apache-2.0" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
lib/encoder.ex
wojtekmach/jason
d82693f7efa88f00a92df09903f5852458a4fd5d
[ "Apache-2.0" ]
4
2021-03-04T13:00:52.000Z
2021-03-12T12:42:09.000Z
deps/jason/lib/encoder.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
1
2021-08-04T09:34:46.000Z
2021-08-04T09:34:46.000Z
defprotocol Jason.Encoder do @moduledoc """ Protocol controlling how a value is encoded to JSON. ## Deriving The protocol allows leveraging the Elixir's `@derive` feature to simplify protocol implementation in trivial cases. Accepted options are: * `:only` - encodes only values of specified keys. ...
27.608295
86
0.679185
1a33b76ec7cb42fc65c857c277ea8b67a64b403d
1,563
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_gcs_prefix.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_gcs_prefix.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_gcs_prefix.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...
30.057692
85
0.746001
1a33cdeb491b229f85cbe118f1e391164da3c1e8
1,838
ex
Elixir
lib/andy/systems/brickpi/lights/lego_led.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
7
2019-05-29T22:55:25.000Z
2021-08-22T18:38:29.000Z
lib/andy/systems/brickpi/lights/lego_led.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
null
null
null
lib/andy/systems/brickpi/lights/lego_led.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
1
2020-01-25T20:46:43.000Z
2020-01-25T20:46:43.000Z
defmodule Andy.BrickPi.LegoLED do @moduledoc "BrickPi3 LED access" @behaviour Andy.Lighting require Logger import Andy.BrickPi.Sysfs alias Andy.Device require Logger @sys_path "/sys/class/leds" @brickpi_prefix ~r/^led\d/ @doc "Get the available LEDs" def leds() do File.ls!(@sys_path) |> ...
21.126437
81
0.646899
1a33fffa208e1e4f998bf51c02f5ba1d5502c83c
66
exs
Elixir
test/test_helper.exs
prem-prakash/goth
711adee6976096830bd56b862468cba4683ddfb9
[ "MIT" ]
239
2016-03-03T07:25:51.000Z
2022-03-14T13:07:30.000Z
test/test_helper.exs
prem-prakash/goth
711adee6976096830bd56b862468cba4683ddfb9
[ "MIT" ]
102
2016-03-04T12:53:45.000Z
2022-03-16T14:09:58.000Z
test/test_helper.exs
prem-prakash/goth
711adee6976096830bd56b862468cba4683ddfb9
[ "MIT" ]
106
2016-03-17T17:52:27.000Z
2022-03-24T06:30:02.000Z
ExUnit.start() {:ok, _} = Application.ensure_all_started(:bypass)
22
50
0.742424
1a340045376a0e679ea8430a4701333ae2f3d424
1,832
ex
Elixir
clients/games/lib/google_api/games/v1/model/event_update_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/games/lib/google_api/games/v1/model/event_update_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/games/lib/google_api/games/v1/model/event_update_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.566038
161
0.713974
1a3419859070df3d257035d718ad4d23c63981a6
2,498
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/transport/tcp/client.ex
cipherboy/ockam
bbb6c19d8ba01847dda14ecc11588fe875512a8d
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/transport/tcp/client.ex
cipherboy/ockam
bbb6c19d8ba01847dda14ecc11588fe875512a8d
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/transport/tcp/client.ex
cipherboy/ockam
bbb6c19d8ba01847dda14ecc11588fe875512a8d
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Transport.TCP.Client do @moduledoc false use Ockam.Worker alias Ockam.Message alias Ockam.Wire require Logger # TODO: modify this for tcp @wire_encoder_decoder Wire.Binary.V2 @impl true def setup(options, state) do %{ip: ip, port: port} = Keyword.fetch!(options, :destination) ...
30.463415
90
0.660528
1a341e5c9a971e24cb9d785c0191ccb13cf874ef
603
exs
Elixir
test/zero_phoenix_web/views/error_view_test.exs
idkjs/zero-to-graphql-using-phoenix
5e7f99af40030d57a603d9457e4906324fdfa4ea
[ "MIT" ]
9
2019-03-26T22:16:08.000Z
2021-09-27T12:42:34.000Z
test/zero_phoenix_web/views/error_view_test.exs
conradwt/zero-to-graphql-using-elixir
1014681c5708e2ee02db6fb9b6f64cee0f533150
[ "MIT" ]
3
2020-06-08T23:03:49.000Z
2020-06-09T03:11:12.000Z
test/zero_phoenix_web/views/error_view_test.exs
conradwt/zero-to-graphql-using-elixir
1014681c5708e2ee02db6fb9b6f64cee0f533150
[ "MIT" ]
7
2019-01-15T17:00:07.000Z
2021-07-18T23:30:29.000Z
defmodule ZeroPhoenixWeb.ErrorViewTest do use ZeroPhoenixWeb.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(ZeroPhoenixWeb.ErrorView, "404.html", []) == "Page not found" end test ...
27.409091
72
0.694859
1a3436959e7179996cc98567a871b8a4f0417a71
12,182
ex
Elixir
lib/mail/message.ex
kianmeng/elixir-mail
d2a2171697ccd9343f952f219815222468692955
[ "MIT" ]
null
null
null
lib/mail/message.ex
kianmeng/elixir-mail
d2a2171697ccd9343f952f219815222468692955
[ "MIT" ]
null
null
null
lib/mail/message.ex
kianmeng/elixir-mail
d2a2171697ccd9343f952f219815222468692955
[ "MIT" ]
null
null
null
defmodule Mail.Message do defstruct headers: %{}, body: nil, parts: [], multipart: false @type t :: __MODULE__ @doc """ Add new part Mail.Message.put_part(%Mail.Message{}, %Mail.Message{}) """ def put_part(message, %Mail.Message{} = part) do put_in(message.pa...
31.478036
215
0.669184
1a3465bb697fc43a07b21dfeeba1b82676ecf1a8
1,344
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/builder_config.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/builder_config.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/builder_config.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
28.595745
82
0.732143
1a34978d0e6033dd5d8e5dfcc463027faedf5bd8
1,597
ex
Elixir
lib/auth0_ex/management/connection.ex
warmwaffles/auth0_ex
d0d7ad895c4db79d366c9c55e289a944c891936c
[ "Apache-2.0" ]
38
2016-08-31T12:44:19.000Z
2021-06-17T18:23:21.000Z
lib/auth0_ex/management/connection.ex
warmwaffles/auth0_ex
d0d7ad895c4db79d366c9c55e289a944c891936c
[ "Apache-2.0" ]
24
2017-01-12T17:53:10.000Z
2022-03-14T13:43:12.000Z
lib/auth0_ex/management/connection.ex
warmwaffles/auth0_ex
d0d7ad895c4db79d366c9c55e289a944c891936c
[ "Apache-2.0" ]
24
2017-01-27T20:51:57.000Z
2022-03-11T19:58:40.000Z
defmodule Auth0Ex.Management.Connection do @moduledoc """ A module representing connection resource """ use Auth0Ex.Api, for: :mgmt @path "connections" @doc """ Gets all the connections iex> Auth0Ex.Management.Connection.all() iex> Auth0Ex.Management.Connection.all(%{name: "some_name"}) ""...
24.19697
94
0.646212
1a34a233f2cc51e59e2a43f4532892cf87d4d338
98
exs
Elixir
benchmark/config/config.exs
scohen/grpc-elixir
c0eaa61d789f5c5b9e3c2f4c213944bebaf2c72c
[ "Apache-2.0" ]
null
null
null
benchmark/config/config.exs
scohen/grpc-elixir
c0eaa61d789f5c5b9e3c2f4c213944bebaf2c72c
[ "Apache-2.0" ]
null
null
null
benchmark/config/config.exs
scohen/grpc-elixir
c0eaa61d789f5c5b9e3c2f4c213944bebaf2c72c
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :logger, :console, metadata: [:module, :line] config :logger, level: :info
19.6
52
0.714286
1a34d17c6f0c75b4e25fefea6c85af98f645e02d
1,520
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/index_item_options.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/index_item_options.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/index_item_options.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.340426
195
0.751974
1a358886be4c12955c1dceb3607b182385d130b4
2,499
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_message.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...
42.355932
200
0.720688
1a35bc3a184ef5ec5daf89bd8feb38a362821c6b
2,015
ex
Elixir
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/model/position.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/model/position.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/model/position.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.018868
184
0.721092
1a35c22526899090a35a39e1da58ee204560e40b
908
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.62963
74
0.765419
1a35dda99dd29993298d55804c86a9742f6e5478
1,651
ex
Elixir
clients/drive_activity/lib/google_api/drive_activity/v2/model/restriction_change.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/drive_activity/lib/google_api/drive_activity/v2/model/restriction_change.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/drive_activity/lib/google_api/drive_activity/v2/model/restriction_change.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.02
110
0.730466
1a35ed68542d8a6f58af4e22a9e7ec3b4212c98a
141
ex
Elixir
lib/aoc2019/day23.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2020-03-27T14:57:32.000Z
2020-03-27T14:57:32.000Z
lib/aoc2019/day23.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2019-12-07T14:32:47.000Z
2019-12-08T16:18:07.000Z
lib/aoc2019/day23.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
null
null
null
defmodule Aoc2019.Day23 do @behaviour DaySolution def solve_part1(), do: :not_implemented def solve_part2(), do: :not_implemented end
20.142857
41
0.765957
1a361b128fde73a03c7dc8e1d0934e5283bed52b
1,368
exs
Elixir
mix.exs
fatboypunk/money
604a07805c54eb13bdb793b8a173b4e3cc3c69df
[ "MIT" ]
null
null
null
mix.exs
fatboypunk/money
604a07805c54eb13bdb793b8a173b4e3cc3c69df
[ "MIT" ]
null
null
null
mix.exs
fatboypunk/money
604a07805c54eb13bdb793b8a173b4e3cc3c69df
[ "MIT" ]
null
null
null
defmodule Money.Mixfile do use Mix.Project @version "1.2.1" @github_url "https://github.com/liuggio/money" def project do [ app: :money, name: "Money", version: @version, elixir: "~> 1.0", deps: deps(), source_url: "https://github.com/liuggio/money", docs: fn -> ...
22.064516
129
0.538012
1a361f20d6c1b98f61849c8d3fe5e64831d30054
4,510
ex
Elixir
clients/oathkeeper/elixir/lib/oathkeeper/request_builder.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/oathkeeper/elixir/lib/oathkeeper/request_builder.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/oathkeeper/elixir/lib/oathkeeper/request_builder.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "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 Oathkeeper.RequestBuilder do @moduledoc """ Helper functions for building Tesla requests """ @doc """ Specify the request method when build...
27.168675
137
0.646341
1a36347538fcf556a136eac8b67097bba98f4053
2,472
exs
Elixir
apps/omg_watcher_info/priv/repo/migrations/20200211064454_add_txtype_to_transaction_and_output.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/priv/repo/migrations/20200211064454_add_txtype_to_transaction_and_output.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/priv/repo/migrations/20200211064454_add_txtype_to_transaction_and_output.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
defmodule OMG.WatcherInfo.DB.Repo.Migrations.AddTxtypeToTransactionAndOutput do use Ecto.Migration import Ecto.Query, only: [from: 2] alias Ecto.Adapters.SQL alias OMG.State.Transaction alias OMG.WatcherInfo.DB.Repo alias OMG.WireFormatTypes def up() do alter table(:transactions) do add :txty...
26.869565
85
0.673139
1a36490213f3f9943b9c8f461a0c09a95b4f625d
2,544
ex
Elixir
apps/dashboard/lib/dashboard_web/helpers/config_helper.ex
Arp-G/csv2sql
21c7310d768afa38282708120af07bb66c8c3f42
[ "MIT" ]
26
2020-09-13T13:54:59.000Z
2022-03-30T08:12:55.000Z
apps/dashboard/lib/dashboard_web/helpers/config_helper.ex
Arp-G/csv2sql
21c7310d768afa38282708120af07bb66c8c3f42
[ "MIT" ]
11
2020-10-18T14:27:16.000Z
2022-03-19T09:11:31.000Z
apps/dashboard/lib/dashboard_web/helpers/config_helper.ex
Arp-G/csv2sql
21c7310d768afa38282708120af07bb66c8c3f42
[ "MIT" ]
1
2021-12-22T14:10:16.000Z
2021-12-22T14:10:16.000Z
defmodule DashboardWeb.Helper.ConfigHelper do def load_initial_config do inital_config = get_initial_config() Cachex.put_many(:config_cache, convert_to_klist(inital_config)) end defp convert_to_klist(map) do Enum.map(map, fn {key, value} -> {key, value} end) end def get_config_from_cache() do ...
30.285714
92
0.588443
1a367070e02f10830444861a1028b88905d18eb8
1,378
ex
Elixir
apps/transformers/lib/transformations/regex_replace.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/transformers/lib/transformations/regex_replace.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/transformers/lib/transformations/regex_replace.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Transformers.RegexReplace do @behaviour Transformation alias Transformers.FieldFetcher alias Transformers.RegexUtils @impl Transformation def transform(payload, parameters) do with {:ok, [source_field, replacement, regex]} <- validate(parameters), {:ok, value} <- FieldFetcher.fetch_va...
34.45
88
0.683599
1a367c68d1a1238033b9cf4e294eec25f04acf00
737
exs
Elixir
stack/mix.exs
xymbol/otp-examples
daa9bc1392d4324d2aa9f37657b205f9b1dfa447
[ "MIT" ]
6
2017-04-17T22:19:53.000Z
2019-05-14T09:49:22.000Z
stack/mix.exs
xymbol/otp-examples
daa9bc1392d4324d2aa9f37657b205f9b1dfa447
[ "MIT" ]
null
null
null
stack/mix.exs
xymbol/otp-examples
daa9bc1392d4324d2aa9f37657b205f9b1dfa447
[ "MIT" ]
null
null
null
defmodule Stack.Mixfile do use Mix.Project def project do [app: :stack, 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 "mix help compile.app" for more i...
21.676471
79
0.622795
1a367eded66c72831545c8fbe5fb3789722fa8f9
521
ex
Elixir
lib/vega/validation.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
4
2020-03-22T22:12:29.000Z
2020-07-01T22:32:01.000Z
lib/vega/validation.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2021-03-10T11:53:41.000Z
2021-10-17T11:18:54.000Z
lib/vega/validation.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2020-03-30T19:03:23.000Z
2022-01-17T20:21:42.000Z
defmodule Vega.Validation do alias Vega.BoardList @doc """ Validate the title of something. It must have a length greater 2 """ def validate_title(title, min_length \\ 2) def validate_title(nil, _min_length), do: false def validate_title(title, min_length), do: length(title) > min_length @doc """ V...
27.421053
106
0.721689
1a3685fc3c2ca060e3d4712adfe835af6d1b9df5
2,603
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_exclusion_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_exclusion_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_exclusion_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.87931
139
0.768728
1a3694f4a034800fbf21cd07c20e8441b68804d9
2,339
exs
Elixir
test/twitter_wall/utility/config_test.exs
IvanRublev/TwitterWall
ca3f900dfaf64c5d59ac903f697da87e9fcc9914
[ "MIT" ]
1
2020-01-27T17:43:01.000Z
2020-01-27T17:43:01.000Z
test/twitter_wall/utility/config_test.exs
IvanRublev/TwitterWall
ca3f900dfaf64c5d59ac903f697da87e9fcc9914
[ "MIT" ]
6
2021-03-09T22:08:16.000Z
2021-06-30T23:48:20.000Z
test/twitter_wall/utility/config_test.exs
IvanRublev/TwitterWall
ca3f900dfaf64c5d59ac903f697da87e9fcc9914
[ "MIT" ]
null
null
null
defmodule TwitterWall.Utility.ConfigTest do use ExUnit.Case, async: true describe "__using__/1" do test "makes module functions to operate on config key given with options" do defmodule ApiConfig do use TwitterWall.Utility.Config, key: :config_test_env_key end Application.put_env(:tw...
37.126984
112
0.719111
1a369683cbb60f54e559a866cc280c05fe8c6ba3
193
ex
Elixir
code examples/example-6-4.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
8
2016-08-14T12:35:16.000Z
2021-01-26T04:05:31.000Z
code examples/example-6-4.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
null
null
null
code examples/example-6-4.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
5
2016-08-18T22:12:19.000Z
2020-02-17T18:52:41.000Z
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace] Interactive Elixir (1.1.1) - press Ctrl+C to exit (type h() ENTER for help) iex(1)>
38.6
107
0.668394
1a369a518b9e526b4f85a3d3b8d93858a9fce207
624
ex
Elixir
lib/mnemonix/store/behaviour.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
36
2016-10-30T21:40:19.000Z
2021-05-03T10:51:50.000Z
lib/mnemonix/store/behaviour.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
52
2016-10-30T20:57:35.000Z
2017-12-28T03:39:57.000Z
lib/mnemonix/store/behaviour.ex
christhekeele/mnemonix
41c81b00b89562250ea451035fd34bf775173e50
[ "MIT" ]
5
2017-01-25T22:02:58.000Z
2018-01-30T14:27:55.000Z
defmodule Mnemonix.Store.Behaviour do @moduledoc false @typedoc """ A module implementing `Mnemonix.Store.Behaviour`. """ @type t :: module @doc false defmacro __using__(opts \\ []) do opts = Keyword.put(opts, :inline, true) quote location: :keep do @behaviour Mnemonix.Store.Translator ...
26
61
0.700321
1a36b51dd8e0b2c1ab1782ef34bdcf0529bcdf3c
331
exs
Elixir
unsilo/config/prod.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
1
2019-03-21T02:43:06.000Z
2019-03-21T02:43:06.000Z
unsilo/config/prod.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
3
2021-03-09T01:43:16.000Z
2022-02-10T17:04:55.000Z
unsilo/config/prod.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
null
null
null
use Mix.Config config :unsilo, UnsiloWeb.Endpoint, http: [port: 4011], url: [host: "sfuchs.fyi", scheme: "https", port: 443], server: true, cache_static_manifest: "priv/static/cache_manifest.json" config :logger, level: :debug config :unsilo, Unsilo.UserController, allow_signups: false import_config "prod.s...
23.642857
59
0.73716
1a36de9e457beae65f4b5b4675c81f376b44723f
14,352
ex
Elixir
lib/codes/codes_v76.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v76.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v76.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_V76 do alias IcdCode.ICDCode def _V760XXA do %ICDCode{full_code: "V760XXA", category_code: "V76", short_code: "0XXA", full_name: "Driver of bus injured in collision with other nonmotor vehicle in nontraffic accident, initial encounter", shor...
57.408
148
0.709378
1a371de30c264133107f128c179fc2b7fa9f955c
585
ex
Elixir
lib/trot/supervisor.ex
Tony1928/trot
0b4a0faff6fc6eca1cc14e35bcdef45127a7cbb5
[ "Apache-2.0" ]
null
null
null
lib/trot/supervisor.ex
Tony1928/trot
0b4a0faff6fc6eca1cc14e35bcdef45127a7cbb5
[ "Apache-2.0" ]
null
null
null
lib/trot/supervisor.ex
Tony1928/trot
0b4a0faff6fc6eca1cc14e35bcdef45127a7cbb5
[ "Apache-2.0" ]
null
null
null
defmodule Trot.Supervisor do @moduledoc false @doc false def start_link do Supervisor.start_link(__MODULE__, [], name: __MODULE__) end @doc false def init([]) do import Supervisor.Spec port = case Application.get_env(:trot, :port, 4000) do port when is_binary(port) -> String.to_integer(...
23.4
78
0.673504
1a372821ad8a1bde02b0d8862d1c17ab05c12f7e
1,480
ex
Elixir
lib/whatChat_web/views/error_helpers.ex
Perfect-SoftwareEngineer/vue-elegant-chat
4656bea123a6454584a163260899f0b4e59e073a
[ "MIT", "BSD-3-Clause" ]
52
2019-02-01T16:34:34.000Z
2022-03-24T12:02:47.000Z
lib/whatChat_web/views/error_helpers.ex
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
30
2019-07-19T00:56:47.000Z
2022-03-26T01:41:41.000Z
lib/whatChat_web/views/error_helpers.ex
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
23
2019-02-02T10:32:09.000Z
2022-01-24T02:00:29.000Z
defmodule WhatChatWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag...
32.888889
77
0.670946
1a372fc646356e5cf9ca9262a98c99455bda0062
1,162
ex
Elixir
lib/koans/07_keyword_lists.ex
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
1
2017-10-12T15:57:40.000Z
2017-10-12T15:57:40.000Z
lib/koans/07_keyword_lists.ex
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
null
null
null
lib/koans/07_keyword_lists.ex
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
null
null
null
defmodule KeywordLists do use Koans @intro "KeywordLists" koan "Like maps, keyword lists are key-value pairs" do kw_list = [foo: "bar"] assert kw_list[:foo] == "bar" end koan "Keys may be repeated, but only the first is accessed" do kw_list = [foo: "bar", foo: "baz"] assert kw_list[:foo] ...
24.208333
81
0.630809
1a3739cee79a8b4ff8985bc7dfb77e6fb841f3b2
954
ex
Elixir
lib/exceptional/pipe.ex
gballet/exceptional
2ae2c08023382c6bbe7b135e9adec1e63a0a1fc3
[ "MIT" ]
284
2016-08-28T13:04:13.000Z
2022-03-28T18:30:58.000Z
lib/exceptional/pipe.ex
gballet/exceptional
2ae2c08023382c6bbe7b135e9adec1e63a0a1fc3
[ "MIT" ]
23
2016-09-12T03:28:59.000Z
2021-06-25T15:18:09.000Z
lib/exceptional/pipe.ex
gballet/exceptional
2ae2c08023382c6bbe7b135e9adec1e63a0a1fc3
[ "MIT" ]
10
2017-02-09T03:48:15.000Z
2019-12-23T08:30:03.000Z
defmodule Exceptional.Pipe do @moduledoc ~S""" This module overloads the basic `|>` operator, and as such should be used with _extreme caution_ (if ever). ## Convenience `use`s use Exceptional.Pipe, include: :overloaded_pipe """ defmacro __using__(include: :overloaded_pipe) do quote do i...
22.186047
75
0.628931
1a3751f05d08b2658b0c409ee9aaf9ac71a78996
1,539
exs
Elixir
mix.exs
simplifi/pay_day_loan
e90e8ee98a302e1ddccada2c51e9eedec3bf1868
[ "MIT" ]
4
2016-08-19T14:13:33.000Z
2020-01-20T18:44:45.000Z
mix.exs
simplifi/pay_day_loan
e90e8ee98a302e1ddccada2c51e9eedec3bf1868
[ "MIT" ]
2
2017-03-17T20:01:33.000Z
2017-04-29T06:02:57.000Z
mix.exs
simplifi/pay_day_loan
e90e8ee98a302e1ddccada2c51e9eedec3bf1868
[ "MIT" ]
1
2022-02-21T10:06:49.000Z
2022-02-21T10:06:49.000Z
defmodule PayDayLoan.Mixfile do use Mix.Project def project do [ app: :pay_day_loan, version: "0.6.1", description: description(), package: package(), elixir: "~> 1.5", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, test_coverage: [tool:...
24.428571
72
0.551657
1a375e4b0b46a98c1db6f98e91d707321df555f8
61
ex
Elixir
lib/sir_alex_web/views/page_view.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
3
2019-05-19T05:27:37.000Z
2020-04-21T06:23:08.000Z
lib/sir_alex_web/views/page_view.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
3
2017-10-28T20:52:07.000Z
2017-11-24T08:15:27.000Z
lib/sir_alex_web/views/page_view.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
1
2020-04-15T16:31:28.000Z
2020-04-15T16:31:28.000Z
defmodule SirAlexWeb.PageView do use SirAlexWeb, :view end
15.25
32
0.803279
1a377debf293a99d1e65aba437164649b0829fe7
1,229
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.138889
74
0.734744
1a37a78f14bb97728378543e058781f27451c460
247
ex
Elixir
lib/changelog_web/controllers/benefit_controller.ex
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
lib/changelog_web/controllers/benefit_controller.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
lib/changelog_web/controllers/benefit_controller.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule ChangelogWeb.BenefitController do use ChangelogWeb, :controller alias Changelog.Benefit def index(conn, _params) do benefits = Repo.all(Benefit) |> Benefit.preload_all() render(conn, :index, benefits: benefits) end end
22.454545
57
0.744939
1a37cf6b5f4178752b6add5fb1ecfe356e4f834c
7,278
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/campaign_creative_associations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/campaign_creative_associations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/campaign_creative_associations.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...
41.118644
187
0.643309
1a37d3bde7243c3e40946263ad19dfd93d2a9491
3,246
exs
Elixir
test/query/writing_data_test.exs
point/rethinkdb-elixir
0549902e5060e75b0942716befc16db984a14b76
[ "MIT" ]
530
2015-05-12T21:06:49.000Z
2021-07-29T01:06:43.000Z
test/query/writing_data_test.exs
point/rethinkdb-elixir
0549902e5060e75b0942716befc16db984a14b76
[ "MIT" ]
122
2015-05-12T03:12:50.000Z
2019-11-11T11:21:10.000Z
test/query/writing_data_test.exs
point/rethinkdb-elixir
0549902e5060e75b0942716befc16db984a14b76
[ "MIT" ]
79
2015-05-14T17:14:52.000Z
2022-02-14T07:00:00.000Z
defmodule WritingDataTest do use ExUnit.Case, async: true use RethinkDB.Connection import RethinkDB.Query alias RethinkDB.Record alias RethinkDB.Collection @table_name "writing_data_test_table_1" setup_all do start_link table_create(@table_name) |> run on_exit fn -> start_link ta...
32.46
104
0.565619
1a37d41ffb38395c2e46d87af279cdf8d173d74d
452
ex
Elixir
lib/html_sanitize_ex/scrubber.ex
nubleer/html_sanitize_ex
13720ee78a21919e5dbf7a22036dc6ec74cf52b0
[ "MIT" ]
1
2021-02-03T20:00:30.000Z
2021-02-03T20:00:30.000Z
lib/html_sanitize_ex/scrubber.ex
nubleer/html_sanitize_ex
13720ee78a21919e5dbf7a22036dc6ec74cf52b0
[ "MIT" ]
null
null
null
lib/html_sanitize_ex/scrubber.ex
nubleer/html_sanitize_ex
13720ee78a21919e5dbf7a22036dc6ec74cf52b0
[ "MIT" ]
1
2017-03-21T08:02:38.000Z
2017-03-21T08:02:38.000Z
defmodule HtmlSanitizeEx.Scrubber do def scrub("", _) do "" end def scrub(nil, _) do "" end def scrub(html, scrubber_module) do html |> before_scrub |> scrubber_module.before_scrub |> HtmlSanitizeEx.Parser.parse |> HtmlSanitizeEx.Traverser.traverse(scrubber_module) |> HtmlSan...
18.833333
57
0.634956
1a37f7e386a8c3d195b72b56b0d24774faa6ca5f
345
ex
Elixir
lib/ash/query/function/is_nil.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
lib/ash/query/function/is_nil.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
lib/ash/query/function/is_nil.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
defmodule Ash.Query.Function.IsNil do @moduledoc """ true if the provided field is nil """ use Ash.Query.Function, name: :is_nil def args, do: [[:any]] def new([nil]), do: {:ok, true} def new([arg]) do Ash.Query.Operator.IsNil.new(arg, true) end def evaluate(%{arguments: [val]}) do {:known...
18.157895
43
0.626087