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
97e85c0df47a06b19d13cdaa89862d4b3428fdff
1,429
ex
Elixir
clients/redis/lib/google_api/redis/v1beta1/model/gcs_source.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/redis/lib/google_api/redis/v1beta1/model/gcs_source.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/redis/lib/google_api/redis/v1beta1/model/gcs_source.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 ...
30.404255
114
0.728481
97e85d81329ab40e5d53d61e8cbc7bafe212b314
1,749
ex
Elixir
lib/makeup.ex
tmbb/makeup
8bdc3b3de49e06a23fa6977e4c84c3be0f0d1d32
[ "BSD-2-Clause" ]
115
2017-08-01T15:13:13.000Z
2020-08-20T13:29:38.000Z
lib/makeup.ex
tmbb/makeup
8bdc3b3de49e06a23fa6977e4c84c3be0f0d1d32
[ "BSD-2-Clause" ]
24
2017-08-01T13:33:47.000Z
2020-09-25T10:12:58.000Z
lib/makeup.ex
tmbb/makeup
8bdc3b3de49e06a23fa6977e4c84c3be0f0d1d32
[ "BSD-2-Clause" ]
18
2017-10-05T17:14:13.000Z
2020-09-01T10:46:54.000Z
defmodule Makeup do @moduledoc """ Syntax highlighting library for code, inspired by Pygments. By default, it doesn't include any lexers. You must import them separately (even the Elixir lexer). """ alias Makeup.Formatters.HTML.HTMLFormatter alias Makeup.Lexers.ElixirLexer alias Makeup.Registry @doc...
28.209677
83
0.683819
97e8b78d34b2167c092e44a81c20e72a77e3c523
1,488
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/buyer.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/buyer.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/buyer.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...
31.659574
101
0.740591
97e8dfc5441298570cbb380749ea222a1407215f
12
ex
Elixir
testData/org/elixir_lang/parser_definition/issue_1843/LiteralStringHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/issue_1843/LiteralStringHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/issue_1843/LiteralStringHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~S""" \ """
3
5
0.083333
97e8f1fcc8c3c0bf832fffe8f9943040b3283515
2,585
ex
Elixir
lib/ex_pesa/Jenga/send_money/pesalink_to_bank.ex
r-coh/ex_pesa
df2bb2485a3acba481787a434e4d0ee254e60186
[ "AML", "MIT" ]
20
2020-08-07T18:45:03.000Z
2021-12-02T12:47:07.000Z
lib/ex_pesa/Jenga/send_money/pesalink_to_bank.ex
r-coh/ex_pesa
df2bb2485a3acba481787a434e4d0ee254e60186
[ "AML", "MIT" ]
65
2020-08-17T05:52:33.000Z
2021-05-20T16:06:34.000Z
lib/ex_pesa/Jenga/send_money/pesalink_to_bank.ex
r-coh/ex_pesa
df2bb2485a3acba481787a434e4d0ee254e60186
[ "AML", "MIT" ]
11
2020-08-17T07:53:02.000Z
2021-04-02T20:57:16.000Z
defmodule ExPesa.Jenga.SendMoney.PesalinkToBank do @moduledoc """ This enables your application to send money to a PesaLink participating bank. It is restricted to Kenya. """ import ExPesa.Jenga.JengaBase alias ExPesa.Jenga.Signature @uri_affix "/transaction/v2/remittance#pesalinkacc" @doc """ Send...
38.58209
439
0.630948
97e8f9663fdad36b62fd7fbff20fa260c887aaf7
1,841
ex
Elixir
lib/ex_bank_id/cancel.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
15
2020-08-05T11:20:03.000Z
2021-09-22T15:20:41.000Z
lib/ex_bank_id/cancel.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
9
2020-08-10T14:42:27.000Z
2021-06-14T14:45:05.000Z
lib/ex_bank_id/cancel.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
2
2020-08-10T13:42:15.000Z
2020-10-03T04:10:06.000Z
defmodule ExBankID.Cancel do alias ExBankID.Cancel.Payload def options() do [ url: [ type: :string, default: Application.get_env(:ex_bank_id, :url, "https://appapi2.test.bankid.com/rp/v5.1/") ], cert_file: [ type: :string, default: Applicati...
31.20339
102
0.613797
97e8f9b13756a5950a9ed6aa76a023ab500b4782
1,593
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/source_context.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/source_context.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/source_context.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...
34.630435
212
0.760829
97e90d7b3d392053639797ceef36d4258599e0a8
8,795
ex
Elixir
lib/teslamate/api.ex
coreGreenberet/teslamate
712d55ef84f0fdb317e1f7c927b8349665e38761
[ "MIT" ]
null
null
null
lib/teslamate/api.ex
coreGreenberet/teslamate
712d55ef84f0fdb317e1f7c927b8349665e38761
[ "MIT" ]
null
null
null
lib/teslamate/api.ex
coreGreenberet/teslamate
712d55ef84f0fdb317e1f7c927b8349665e38761
[ "MIT" ]
null
null
null
defmodule TeslaMate.Api do use GenServer require Logger alias TeslaMate.Auth.Tokens alias TeslaMate.{Vehicles, Convert} alias TeslaApi.Auth alias Finch.Response import Core.Dependency, only: [call: 3, call: 2] defmodule State do defstruct name: nil, deps: %{}, refresh_timer: nil end @timeo...
28.462783
97
0.592382
97e91edd61c4d45faf18eff2f4470229a18db079
192
ex
Elixir
lib/blog.ex
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
lib/blog.ex
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
lib/blog.ex
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
defmodule Blog do @moduledoc """ Documentation for `Blog`. """ @doc """ Hello world. ## Examples iex> Blog.hello() :world """ def hello do :world end end
10.105263
27
0.536458
97e920429b68d7c5bee18495ee47248a1779f5fb
4,146
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/admin_user_roles_live.ex
shahryarjb/mishka-cms
c27aaeeaa8dfc568c6c71f67a8e4f147a4d630f9
[ "Apache-2.0" ]
3
2021-06-27T10:26:51.000Z
2022-01-10T13:56:08.000Z
apps/mishka_html/lib/mishka_html_web/live/admin_user_roles_live.ex
shahryarjb/mishka-cms
c27aaeeaa8dfc568c6c71f67a8e4f147a4d630f9
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/admin_user_roles_live.ex
shahryarjb/mishka-cms
c27aaeeaa8dfc568c6c71f67a8e4f147a4d630f9
[ "Apache-2.0" ]
null
null
null
defmodule MishkaHtmlWeb.AdminUserRolesLive do use MishkaHtmlWeb, :live_view alias MishkaUser.Acl.Role @section_title MishkaTranslator.Gettext.dgettext("html_live", "نقش های کاربری") use MishkaHtml.Helpers.LiveCRUD, module: MishkaUser.Acl.Role, redirect: __MODULE__, router: Routes @impl t...
34.264463
447
0.631452
97e92a62ae1abbb654618bf1a42e500a4008a478
15,514
exs
Elixir
integration_test/cases/type.exs
ckoch-cars/ecto
28e7d36d5d495cff2fea3f27f1a5ae457c960091
[ "Apache-2.0" ]
null
null
null
integration_test/cases/type.exs
ckoch-cars/ecto
28e7d36d5d495cff2fea3f27f1a5ae457c960091
[ "Apache-2.0" ]
null
null
null
integration_test/cases/type.exs
ckoch-cars/ecto
28e7d36d5d495cff2fea3f27f1a5ae457c960091
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.TypeTest do use Ecto.Integration.Case, async: Application.get_env(:ecto, :async_integration_tests, true) alias Ecto.Integration.{Custom, Item, ItemColor, Order, Post, User, Tag, Usec} alias Ecto.Integration.TestRepo import Ecto.Query test "primitive types" do integer = 1 ...
39.176768
139
0.63201
97e92d52b6ffea88336bc41f8158ce26728f48a9
1,593
ex
Elixir
apps/nerves_hub_www/lib/nerves_hub_www_web/views/audit_log_view.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
1
2020-08-04T14:13:24.000Z
2020-08-04T14:13:24.000Z
apps/nerves_hub_www/lib/nerves_hub_www_web/views/audit_log_view.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
1
2020-09-08T15:15:50.000Z
2020-09-08T16:13:28.000Z
apps/nerves_hub_www/lib/nerves_hub_www_web/views/audit_log_view.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWWWWeb.AuditLogView do use NervesHubWWWWeb, :view alias NervesHubWWWWeb.LayoutView.DateTimeFormat, as: DateTimeFormat import NervesHubWWWWeb.LayoutView, only: [pagination_links: 2] def actor_link(%{actor_id: id, actor_type: type}, current_id) do link_to_resource(type, id, current_id, "a...
24.890625
81
0.676711
97e96f3432700e69595d4d27c50ffb2cd5f96330
1,101
ex
Elixir
lib/adoptoposs/application.ex
Adsidera/adoptoposs
e06da0855fe8f06f4774f89a977201fb78d9dafb
[ "MIT" ]
120
2020-03-30T13:58:40.000Z
2022-03-30T10:17:50.000Z
lib/adoptoposs/application.ex
tsrandrei/adoptoposs
a18fb4b8062aa057e0578dc6e7b7bceef2b8a02e
[ "MIT" ]
34
2020-04-01T23:11:59.000Z
2022-03-13T08:14:37.000Z
lib/adoptoposs/application.ex
tsrandrei/adoptoposs
a18fb4b8062aa057e0578dc6e7b7bceef2b8a02e
[ "MIT" ]
16
2020-04-24T17:14:23.000Z
2022-03-27T22:32:48.000Z
defmodule Adoptoposs.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto repository Adoptoposs.Repo...
31.457143
78
0.716621
97e98d7567e51003f2a609162842153be338ba47
2,692
ex
Elixir
lib/extreme/configuration.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
lib/extreme/configuration.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
lib/extreme/configuration.ex
the-mikedavis/extreme
c467bba50f96df4a37cce561252efbac9b0d351a
[ "MIT" ]
null
null
null
defmodule Extreme.Configuration do @moduledoc """ Set of functions for retrieving configuration value with correct type """ alias Extreme.{Tools, ClusterConnection} def get_node(configuration) do configuration |> _get_db_type |> _get_node(configuration) end @doc """ Returns credentials pa...
27.191919
85
0.681278
97e9ad55fb0be9d92f882e95555e3897c726fb5c
579
exs
Elixir
ch8/book_room.exs
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
ch8/book_room.exs
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
ch8/book_room.exs
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
defmodule HotelRoom do def book(%{name: name, height: height}) when height > 1.9 do IO.puts "Need extra-long bed for #{name}" end def book(%{name: name, height: height}) when height < 1.3 do IO.puts "Need low shower controls for #{name}" end def book(person) do IO.puts "Need regular bed for #{pers...
27.571429
62
0.611399
97e9b721d0548e1c70b89dc2e9411aeaea4ea7dd
750
exs
Elixir
mix.exs
fhunleth/elixirport
754634e3115cef04cd6a9dad8557cabedb2e0530
[ "MIT" ]
null
null
null
mix.exs
fhunleth/elixirport
754634e3115cef04cd6a9dad8557cabedb2e0530
[ "MIT" ]
null
null
null
mix.exs
fhunleth/elixirport
754634e3115cef04cd6a9dad8557cabedb2e0530
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.Testport do @shortdoc "Compiles the test_port" def run(_) do 0 = Mix.Shell.IO.cmd("make priv/test_port") end end defmodule Elixirport.Mixfile do use Mix.Project def project do [ app: :elixirport, version: "0.0.2", elixir: "~> 1.0.0", compilers: [:testpor...
22.727273
77
0.632
97e9c858abe47f702e46067a36a7abed7a8c2f60
1,175
ex
Elixir
kousa/lib/broth/routes/room.ex
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/lib/broth/routes/room.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/lib/broth/routes/room.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Broth.Routes.Room do import Plug.Conn alias Beef.Rooms alias Ecto.UUID use Plug.Router plug(Broth.Plugs.Cors) plug(:match) plug(:dispatch) get "/:id" do %Plug.Conn{params: %{"id" => id}} = conn case UUID.cast(id) do {:ok, uuid} -> room = Rooms.get_room_by_id(uuid) ...
20.982143
60
0.474894
97e9dca39f4bd0085b07648f31797dbc590c3d90
1,737
exs
Elixir
rel/config.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
rel/config.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
rel/config.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. ~w(rel plugins *.exs) |> Path.join() |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Distillery.Releases.Config, ...
29.948276
83
0.729419
97e9e9268cc0dc9698f46928e96a015c045d5582
3,409
ex
Elixir
lib/erlef_web/html.ex
kianmeng/website
1948f46eeeb1c1b598408bfb049bbe24189ace2e
[ "Apache-2.0" ]
1
2019-10-31T19:59:41.000Z
2019-10-31T19:59:41.000Z
lib/erlef_web/html.ex
kianmeng/website
1948f46eeeb1c1b598408bfb049bbe24189ace2e
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/html.ex
kianmeng/website
1948f46eeeb1c1b598408bfb049bbe24189ace2e
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.HTML do @moduledoc """ ErlefWeb.HTML - HTML helpers for ErlefWeb """ import Phoenix.HTML.Tag import Phoenix.HTML.Link import Phoenix.LiveView.Helpers def to_date_string(date_time) do Calendar.strftime(date_time, "%B, %d, %Y, %H:%M:%S UTC") end def right_svg_hero(f_opts, opts) ...
27.272
88
0.535641
97ea0a606b748ade27c3c1e3d4e1f6a58b1d6e57
1,578
exs
Elixir
day6/main.exs
CerealBoy/aoc-2020
928c64dbf40a9f2785246cc64764fbd1d0cf22ae
[ "Apache-2.0" ]
null
null
null
day6/main.exs
CerealBoy/aoc-2020
928c64dbf40a9f2785246cc64764fbd1d0cf22ae
[ "Apache-2.0" ]
null
null
null
day6/main.exs
CerealBoy/aoc-2020
928c64dbf40a9f2785246cc64764fbd1d0cf22ae
[ "Apache-2.0" ]
null
null
null
defmodule AoC do def read_file do {:ok, d} = File.read("in") d |> String.split(~r/\n\n/, trim: true) |> Enum.map(&(String.split(&1, ~r/\n/))) end def count_anyone(list, count \\ 0) def count_anyone([head | tail], count), do: count_anyone(tail, count + count_letters(head)) def count_anyone([],...
47.818182
208
0.667934
97ea0a729508c0138417962b63b38a29ebb3f184
2,523
exs
Elixir
test/course_planner/courses/offered_course_test.exs
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
38
2017-04-11T13:37:38.000Z
2021-05-22T19:35:36.000Z
test/course_planner/courses/offered_course_test.exs
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
226
2017-04-07T13:14:14.000Z
2018-03-08T16:50:11.000Z
test/course_planner/courses/offered_course_test.exs
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
7
2017-08-30T23:58:13.000Z
2021-03-28T11:50:45.000Z
defmodule CoursePlanner.OfferedCourseTest do use CoursePlannerWeb.ModelCase alias CoursePlanner.{Courses.Course, Courses.OfferedCourse, Repo, Terms.Term} test "changeset with valid attributes" do changeset = OfferedCourse.changeset( %OfferedCourse{}, %{term_id: new_term().id, course_id...
33.64
158
0.681728
97ea2c7a12551924017346a0e90654c9ff4862fb
2,068
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_categories_list_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_categories_list_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/content_categories_list_response.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...
39.018868
165
0.739845
97ea372d82d213d3e0be5d5a5fda2bb388b95d36
826
exs
Elixir
test/bip39/mnemonic/encoder_test.exs
gravityblast/bip39-elixir
f9446192f942a3537f04209a3c9d38f42f7c067a
[ "MIT" ]
null
null
null
test/bip39/mnemonic/encoder_test.exs
gravityblast/bip39-elixir
f9446192f942a3537f04209a3c9d38f42f7c067a
[ "MIT" ]
null
null
null
test/bip39/mnemonic/encoder_test.exs
gravityblast/bip39-elixir
f9446192f942a3537f04209a3c9d38f42f7c067a
[ "MIT" ]
null
null
null
defmodule Bip39.Mnemonic.EncoderTest do use ExUnit.Case doctest Bip39.Mnemonic.Encoder alias Bip39.Mnemonic.Encoder import Bip39.TestHelper test "encode" do Enum.map(vectors(), fn {lang, vectors} -> Enum.map(vectors, fn [entr, exp_mnemonic, _, _] -> {:ok, mnemonic} = entr ...
23.6
80
0.605327
97eab76e5f17cd5402488948c4f2f2e823eb258c
802
ex
Elixir
lib/bluex/device.ex
highmobility/bluex
2ad4b713445734a235fd997fce0f8f4c934179fc
[ "MIT" ]
18
2016-09-28T20:23:41.000Z
2021-03-17T03:36:27.000Z
lib/bluex/device.ex
highmobility/bluex
2ad4b713445734a235fd997fce0f8f4c934179fc
[ "MIT" ]
1
2016-10-27T08:40:10.000Z
2016-10-27T08:40:10.000Z
lib/bluex/device.ex
highmobility/bluex
2ad4b713445734a235fd997fce0f8f4c934179fc
[ "MIT" ]
6
2017-09-02T08:03:56.000Z
2020-07-07T19:03:40.000Z
defmodule Bluex.Device do defstruct mac_address: nil, manufacturer_data: nil, rssi: nil, uuids: nil, adapter: nil, options: [] @callback device_connected(%Bluex.Device{}, any) :: any @doc """ When the device is disconnected this callback gets called. Don't heavily relay on it. Sometimes the devices are disc...
47.176471
104
0.730673
97ead4d875b123373bf7926a12f61578feded555
2,667
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_fulfillment_generic_web_service.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_fulfillment_generic_web_service.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_fulfillment_generic_web_service.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...
38.1
143
0.726284
97eae2004b10ce2d3ec69ca5c1272ed4a0c3f65c
665
ex
Elixir
lib/pi_hvac_web/controllers/i2c_devices_controller.ex
ak1211/pi_hvac
a4be795bac5b22585d608c4902fdd30c97210c0b
[ "Apache-2.0" ]
3
2020-03-08T07:17:24.000Z
2020-08-15T13:21:29.000Z
lib/pi_hvac_web/controllers/i2c_devices_controller.ex
ak1211/pi_hvac
a4be795bac5b22585d608c4902fdd30c97210c0b
[ "Apache-2.0" ]
3
2020-08-02T11:39:28.000Z
2020-08-02T11:39:29.000Z
lib/pi_hvac_web/controllers/i2c_devices_controller.ex
ak1211/pi_hvac
a4be795bac5b22585d608c4902fdd30c97210c0b
[ "Apache-2.0" ]
null
null
null
defmodule PiHvacWeb.V1.I2cDevicesController do use PiHvacWeb, :controller action_fallback PiHvacWeb.FallbackController # i2cdetect default: 0x03 to 0x77 @i2c_range 0x03..0x77 def index(conn, params) do default = %{"busnum" => 1} %{"busnum" => n} = Map.merge(default, params) device_name = "i2c-#...
28.913043
77
0.675188
97eb11e01ec437fb58e60feac1112bcd464832d1
1,993
ex
Elixir
kousa/lib/business-logic/follow_logic.ex
littletof/dogehouse
3815f4fcebde7661903ae18029a03138dc94b736
[ "MIT" ]
1
2021-02-15T21:19:44.000Z
2021-02-15T21:19:44.000Z
kousa/lib/business-logic/follow_logic.ex
littletof/dogehouse
3815f4fcebde7661903ae18029a03138dc94b736
[ "MIT" ]
null
null
null
kousa/lib/business-logic/follow_logic.ex
littletof/dogehouse
3815f4fcebde7661903ae18029a03138dc94b736
[ "MIT" ]
null
null
null
defmodule Kousa.BL.Follow do alias Kousa.Gen alias Beef.Users alias Beef.Follows alias Beef.UserBlocks alias Beef.Schemas.Follow alias Beef.Schemas.Room def get_follow_list(user_id, user_id_to_get_list_for, get_following_list, cursor) do if get_following_list do Follows.get_following(user_id, u...
30.661538
86
0.672855
97eb17be5b25d0cbb2b515f3feeed6959414d81c
784
ex
Elixir
lib/twirp/protoc/generator/service.ex
jnatherley/twirp
bf558df38dce622708ffcc368008dcfcb30f63c1
[ "Apache-2.0" ]
null
null
null
lib/twirp/protoc/generator/service.ex
jnatherley/twirp
bf558df38dce622708ffcc368008dcfcb30f63c1
[ "Apache-2.0" ]
null
null
null
lib/twirp/protoc/generator/service.ex
jnatherley/twirp
bf558df38dce622708ffcc368008dcfcb30f63c1
[ "Apache-2.0" ]
null
null
null
defmodule Twirp.Protoc.Generator.Service do @moduledoc false # Build a service file alias Protobuf.Protoc.Generator.Util def generate_list(ctx, descs) do Enum.map(descs, fn desc -> generate(ctx, desc) end) end def generate(ctx, desc) do # service can't be nested mod_name = Util.mod_name(ctx, ...
29.037037
81
0.701531
97eb33879acf66af947c441845cfcdbb2bea63ac
1,326
exs
Elixir
test/midi_cleaner/runner_test.exs
patmaddox/midi_cleaner
863e74524761c13db4dfbec4cff82a49fe03c322
[ "BSD-3-Clause" ]
null
null
null
test/midi_cleaner/runner_test.exs
patmaddox/midi_cleaner
863e74524761c13db4dfbec4cff82a49fe03c322
[ "BSD-3-Clause" ]
null
null
null
test/midi_cleaner/runner_test.exs
patmaddox/midi_cleaner
863e74524761c13db4dfbec4cff82a49fe03c322
[ "BSD-3-Clause" ]
null
null
null
defmodule MidiCleaner.RunnerTest do use ExUnit.Case doctest MidiCleaner.Runner import Mox alias MidiCleaner.{Config, Runner, MockMidiCleaner, MockFileProcessor} setup :verify_on_exit! describe "run(config)" do test "errors" do pid = config(file_list: []) |> new_runner() ...
22.474576
81
0.643288
97eb3734add1b76a1b64a720b079ad343c5bb0d7
1,187
ex
Elixir
lib/ex_oapi/parser/context/security/security_map.ex
mnussbaumer/ex_oapi
f5eb610283a7f92a69e6266effc0dc4e2c497b61
[ "MIT" ]
null
null
null
lib/ex_oapi/parser/context/security/security_map.ex
mnussbaumer/ex_oapi
f5eb610283a7f92a69e6266effc0dc4e2c497b61
[ "MIT" ]
null
null
null
lib/ex_oapi/parser/context/security/security_map.ex
mnussbaumer/ex_oapi
f5eb610283a7f92a69e6266effc0dc4e2c497b61
[ "MIT" ]
null
null
null
defmodule ExOAPI.Parser.V3.Context.Security.Map do @behaviour Ecto.Type import Ecto.Changeset, only: [apply_action: 2] alias ExOAPI.Parser.V3.Context @type t() :: %{String.t() => Context.Security} @impl Ecto.Type def type, do: :map @impl Ecto.Type def load(data), do: cast(data) @impl Ecto.Type ...
23.74
103
0.577085
97eb4a7217f2cf84ba76b91a7b4fa92f4084c71d
1,374
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_service_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_service_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/backend_service_reference.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...
29.234043
82
0.740175
97eb689766c7307830be9d5105ade36b7caf8dc7
1,656
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/color_definition.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/color_definition.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/color_definition.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "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...
32.470588
150
0.737319
97eb907ef77f08f1b8a2b0cd8329d4fe38cc1664
18,779
ex
Elixir
data/web/deps/timex/lib/datetime/datetime.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/timex/lib/datetime/datetime.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/timex/lib/datetime/datetime.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
defimpl Timex.Protocol, for: DateTime do @moduledoc """ A type which represents a date and time with timezone information (optional, UTC will be assumed for date/times with no timezone information provided). Functions that produce time intervals use UNIX epoch (or simly Epoch) as the default reference date. ...
41.731111
140
0.617179
97ebcfb55d9afe14c24ef6f45b048c6fad3edf29
528
ex
Elixir
lib/web/routers/hosted_router.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
lib/web/routers/hosted_router.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
lib/web/routers/hosted_router.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule Web.HostedRouter do @moduledoc """ Router for hosted sites """ use Web, :router pipeline :browser do plug(:accepts, ["html", "json"]) plug(:fetch_session) plug(:fetch_flash) plug(Phoenix.LiveView.Flash) plug(:protect_from_forgery) plug(:put_secure_browser_headers) plug(...
19.555556
41
0.664773
97ebf353f879854b6eadfb514a9f4ccd4f6502f6
7,279
exs
Elixir
lib/mix/test/mix/tasks/archive_test.exs
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/archive_test.exs
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/archive_test.exs
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.ArchiveTest do use MixTest.Case defmodule ArchiveProject do def project do [app: :archive, version: "0.1.0", elixir: "~> 0.1.0"] end end defmodule ArchiveProject2 do def project do [app: :archive, version: "0.2.0"]...
36.577889
129
0.654211
97ebf838b1d97a5a51f7750fcc26969d3530b7d7
961
exs
Elixir
mix.exs
aevy/logger_logstash_backend
ca4d64fc97d4e9ce4bcbe3472c05cc6216c79146
[ "Apache-2.0" ]
79
2015-06-14T15:57:36.000Z
2021-09-25T07:31:14.000Z
mix.exs
aevy/logger_logstash_backend
ca4d64fc97d4e9ce4bcbe3472c05cc6216c79146
[ "Apache-2.0" ]
22
2015-10-15T12:40:11.000Z
2020-07-20T19:56:14.000Z
mix.exs
aevy/logger_logstash_backend
ca4d64fc97d4e9ce4bcbe3472c05cc6216c79146
[ "Apache-2.0" ]
47
2015-12-30T16:42:02.000Z
2020-10-27T12:25:31.000Z
defmodule LoggerLogstashBackend.Mixfile do use Mix.Project def project do [app: :logger_logstash_backend, name: "logger_logstash_backend", source_url: "https://github.com/marcelog/logger_logstash_backend", version: "5.0.0", elixir: "~> 1.3", description: description(), package: pa...
21.355556
73
0.569199
97ebfc2130cfa2d2d10c85726f742d11054aecca
2,205
ex
Elixir
clients/content/lib/google_api/content/v2/model/account_adwords_link.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/account_adwords_link.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/account_adwords_link.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...
40.833333
712
0.737415
97ec19628f9c572de4ffd46394e4dbee5216fc20
1,402
ex
Elixir
apps/object_storage/test/support/conn_case.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
apps/object_storage/test/support/conn_case.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
apps/object_storage/test/support/conn_case.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
defmodule Legendary.ObjectStorageWeb.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. ...
31.863636
76
0.750357
97ec1fa4c713b517d5fbe0b3ec4231cc3daca831
938
ex
Elixir
lib/pummpcomm/radio/chip_detector.ex
infinity-aps/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
15
2017-08-31T00:58:47.000Z
2020-01-12T03:53:13.000Z
lib/pummpcomm/radio/chip_detector.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
1
2017-09-15T02:09:31.000Z
2017-09-15T02:09:31.000Z
lib/pummpcomm/radio/chip_detector.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
3
2017-09-10T17:24:59.000Z
2019-09-10T19:41:49.000Z
defmodule Pummpcomm.Radio.ChipDetector do @moduledoc """ This module autodetects a compatible pump chip and returns a struct with the serial/pin configuration """ require Logger alias RFM69.Device, as: RFM69SPI alias SubgRfspy.SPI, as: SubgRfspySPI alias SubgRfspy.UART, as: SubgRfspyUART def autodete...
32.344828
103
0.711087
97ec295bd8a5498532f983e00059b10e765b3c51
205
exs
Elixir
priv/repo/migrations/20210415025445_add_floor_to_article_comments.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20210415025445_add_floor_to_article_comments.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20210415025445_add_floor_to_article_comments.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.AddFloorToArticleComments do use Ecto.Migration def change do alter table(:articles_comments) do add(:floor, :integer, default: 0) end end end
20.5
69
0.741463
97ec6e174c23a664680fe6d5e47ac14b78f619b6
4,300
exs
Elixir
mix.exs
ElixirSeattle/nerves_system_kebow
166ecd5a30d293e5933096cfb69a99a7af3a513d
[ "Apache-2.0" ]
2
2021-10-10T23:33:53.000Z
2021-12-24T23:41:46.000Z
mix.exs
ElixirSeattle/nerves_system_kebow
166ecd5a30d293e5933096cfb69a99a7af3a513d
[ "Apache-2.0" ]
3
2020-06-19T05:18:27.000Z
2020-08-25T18:13:54.000Z
mix.exs
ElixirSeattle/nerves_system_kebow
166ecd5a30d293e5933096cfb69a99a7af3a513d
[ "Apache-2.0" ]
1
2020-07-24T03:01:32.000Z
2020-07-24T03:01:32.000Z
defmodule NervesSystemKeybow.MixProject do use Mix.Project @github_organization "ElixirSeattle" @app :nerves_system_keybow @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ ...
25
93
0.610465
97ec7318a241f04dc5ca01f5de605192102c1db9
384
exs
Elixir
apps/re/priv/repo/migrations/20190802180552_add_fields_to_calendars.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/priv/repo/migrations/20190802180552_add_fields_to_calendars.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/priv/repo/migrations/20190802180552_add_fields_to_calendars.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Repo.Migrations.AddFieldsToCalendars do use Ecto.Migration def up do alter table(:calendars) do add(:name, :string) add(:speed, :string) modify(:external_id, :string, null: true) end end def down do alter table(:calendars) do remove :name remove :speed ...
19.2
52
0.643229
97ec75ddb74d42dfc5e8e989f268318f24b7c984
1,404
exs
Elixir
mix.exs
gutschilla/elixir-vista-api-cache
473b9f7fed2642bf78cdbd13aa1835128b2b9548
[ "MIT" ]
null
null
null
mix.exs
gutschilla/elixir-vista-api-cache
473b9f7fed2642bf78cdbd13aa1835128b2b9548
[ "MIT" ]
null
null
null
mix.exs
gutschilla/elixir-vista-api-cache
473b9f7fed2642bf78cdbd13aa1835128b2b9548
[ "MIT" ]
null
null
null
defmodule VistaStorage.MixProject do use Mix.Project def project do [ app: :vista_storage, version: "0.2.0", elixirc_paths: elixirc_paths(Mix.env), elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package()...
25.071429
116
0.603276
97ec7ecd458f2fa054aad990db37f9cd062e1b56
614
ex
Elixir
lib/demo_web/live/counter_live.ex
pthompson/liveview_javascript_examples
93296a400a7214156c54c17c34ef11331a987984
[ "MIT" ]
null
null
null
lib/demo_web/live/counter_live.ex
pthompson/liveview_javascript_examples
93296a400a7214156c54c17c34ef11331a987984
[ "MIT" ]
1
2021-05-11T18:42:35.000Z
2021-05-11T18:42:35.000Z
lib/demo_web/live/counter_live.ex
pthompson/liveview_javascript_examples
93296a400a7214156c54c17c34ef11331a987984
[ "MIT" ]
1
2020-09-03T05:15:50.000Z
2020-09-03T05:15:50.000Z
defmodule DemoWeb.CounterLive do use DemoWeb, :live_view def mount(_params, _session, socket) do {:ok, assign(socket, count: 0)} end def handle_event("increment", _params, socket) do {:noreply, update(socket, :count, &(&1 + 1))} end def handle_event("decrement", _params, socket) do {:noreply,...
23.615385
54
0.620521
97ec98b5acb3bf2b39a319378562811a1e09a4a0
1,922
ex
Elixir
lib/harald/le.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
lib/harald/le.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
lib/harald/le.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
defmodule Harald.LE do @moduledoc """ A collection of high level functions for working with BLE (Bluetooth Low Energy) functionality. """ use GenServer alias Harald.HCI.Event.{LEMeta, LEMeta.AdvertisingReport} alias Harald.HCI.LEController alias Harald.Transport alias Harald.Transport.Handler @behav...
25.289474
97
0.671696
97eca7dafa4b1a31860911e9434c2e0c1f74558c
1,806
exs
Elixir
test/gira/gira_wrapper_test.exs
fargozhu/gira
6d0b8aedb5550df02c4099a41e8222d0cc242d82
[ "Apache-2.0" ]
null
null
null
test/gira/gira_wrapper_test.exs
fargozhu/gira
6d0b8aedb5550df02c4099a41e8222d0cc242d82
[ "Apache-2.0" ]
null
null
null
test/gira/gira_wrapper_test.exs
fargozhu/gira
6d0b8aedb5550df02c4099a41e8222d0cc242d82
[ "Apache-2.0" ]
null
null
null
defmodule Gira.GiraWrapperTest do use ExUnit.Case # add Jira base url like https://jira.com/rest/api/2 @base_url System.get_env("JIRA_BASE_URL") # add Jira authorization token here @auth_token System.get_env("JIRA_AUTH_TOKEN") @headers [{"Authorization", @auth_token}, {"Content-type", "application/json"}] ...
30.1
129
0.596346
97ecc74fa59486bef69929f16d336f6f49b93ccb
999
exs
Elixir
test/subtitle/sub_rip_test.exs
san650/subtitle
d0bc4252b1b84fb167d09e68d4f1c977037f7f40
[ "MIT" ]
null
null
null
test/subtitle/sub_rip_test.exs
san650/subtitle
d0bc4252b1b84fb167d09e68d4f1c977037f7f40
[ "MIT" ]
3
2019-09-15T16:04:36.000Z
2019-09-16T13:01:23.000Z
test/subtitle/sub_rip_test.exs
san650/subtitle
d0bc4252b1b84fb167d09e68d4f1c977037f7f40
[ "MIT" ]
1
2021-04-24T07:40:12.000Z
2021-04-24T07:40:12.000Z
alias Subtitle.{ Frame, SubRip } defmodule Subtitle.SubRipTest do use ExUnit.Case, async: true doctest SubRip import Subtitle.StreamHelper @subtitle """ 1 00:00:00,000 --> 00:00:01,000 Hello, world! 2 00:00:02,000 --> 00:00:03,000 This is the second frame 3 00:00:04,000 --> 00:00:05,000...
18.163636
43
0.582583
97ecc8a7c4b909f802d5bebcb3c60d364385829c
385
ex
Elixir
web/menus/instagram_menu.ex
twined/brando_instagram
ce15b02b4daddcc194971b1665bf9eaf172b0789
[ "MIT" ]
1
2020-01-13T23:43:55.000Z
2020-01-13T23:43:55.000Z
web/menus/instagram_menu.ex
twined/brando_instagram
ce15b02b4daddcc194971b1665bf9eaf172b0789
[ "MIT" ]
8
2016-06-12T15:18:56.000Z
2018-11-15T12:11:22.000Z
web/menus/instagram_menu.ex
twined/brando_instagram
ce15b02b4daddcc194971b1665bf9eaf172b0789
[ "MIT" ]
null
null
null
defmodule Brando.Instagram.Menu do @moduledoc """ Menu definitions for the Instagram Menu. See `Brando.Menu` docs for more information """ use Brando.Menu import Brando.Instagram.Gettext menu %{ name: gettext("Instagram"), anchor: "instagram", icon: "fa fa-instagram icon", submenu: [%{nam...
25.666667
79
0.683117
97ecd17f0fd3a1b3da3e8626f52d315c95e39403
1,320
exs
Elixir
test/gateway_web/presence/controller_test.exs
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
1
2019-11-06T13:35:35.000Z
2019-11-06T13:35:35.000Z
test/gateway_web/presence/controller_test.exs
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
test/gateway_web/presence/controller_test.exs
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
defmodule GatewayWeb.Presence.ControllerTest do @moduledoc false use ExUnit.Case, async: false use GatewayWeb.ConnCase use GatewayWeb.ChannelCase setup do {:ok, _response, sock} = subscribe_and_join_user( "testuser", [@customer_role], "user:testuser" ) {:ok, sock: sock} end ...
24.90566
114
0.643939
97ecdbbded304b1b5c069666a10c3f23334699f4
65
ex
Elixir
web/views/layout_view.ex
keichan34/hello_link
0b5de0653f667b205e76b7a360650c05138b4d63
[ "MIT" ]
1
2015-12-31T00:36:09.000Z
2015-12-31T00:36:09.000Z
web/views/layout_view.ex
keichan34/hello_link
0b5de0653f667b205e76b7a360650c05138b4d63
[ "MIT" ]
3
2016-01-01T04:11:40.000Z
2016-01-01T04:12:37.000Z
web/views/layout_view.ex
keichan34/hello_link
0b5de0653f667b205e76b7a360650c05138b4d63
[ "MIT" ]
null
null
null
defmodule HelloLink.LayoutView do use HelloLink.Web, :view end
16.25
33
0.8
97ecef9edfbe669520da113e07b936ca230f617b
81
exs
Elixir
config/config.exs
akaKuruma/power_dnsex
a7c9a6bb86dfac8cb196e6b623ed33abfee42762
[ "MIT" ]
6
2019-05-28T16:42:19.000Z
2021-11-06T17:44:38.000Z
config/config.exs
akaKuruma/power_dnsex
a7c9a6bb86dfac8cb196e6b623ed33abfee42762
[ "MIT" ]
5
2020-04-24T18:42:13.000Z
2021-10-01T13:34:16.000Z
config/config.exs
akaKuruma/power_dnsex
a7c9a6bb86dfac8cb196e6b623ed33abfee42762
[ "MIT" ]
6
2019-11-17T21:30:05.000Z
2021-10-01T13:11:45.000Z
use Mix.Config config :powerdnsex, timeout: 2 import_config "#{Mix.env()}.exs"
13.5
32
0.716049
97ecefe2fff8e592b5a45d8a5f672df9a3a9991d
1,189
ex
Elixir
lib/nerves_hub_link_common/message/firmware_metadata.ex
nerves-hub/nerves_hub_link_common
c8a00a6e8ebafdb1bd3f9bf89e053c751d6bf430
[ "Apache-2.0" ]
1
2021-03-15T02:26:05.000Z
2021-03-15T02:26:05.000Z
lib/nerves_hub_link_common/message/firmware_metadata.ex
nerves-hub/nerves_hub_link_common
c8a00a6e8ebafdb1bd3f9bf89e053c751d6bf430
[ "Apache-2.0" ]
5
2021-02-11T16:18:14.000Z
2022-03-01T15:12:12.000Z
lib/nerves_hub_link_common/message/firmware_metadata.ex
nerves-hub/nerves_hub_link_common
c8a00a6e8ebafdb1bd3f9bf89e053c751d6bf430
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubLinkCommon.Message.FirmwareMetadata do @moduledoc """ Structure containing metadata about a firmware. """ defstruct [ :architecture, :author, :description, :fwup_version, :misc, :platform, :product, :uuid, :vcs_identifier, :version ] @type t() :: ...
24.265306
57
0.563499
97ecf081bce1ec3c187b35e1adef1172e1c36ad9
24,491
exs
Elixir
test/phoenix/controller/controller_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
test/phoenix/controller/controller_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
test/phoenix/controller/controller_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule Phoenix.Controller.ControllerTest do use ExUnit.Case, async: true use RouterHelper import Phoenix.Controller alias Plug.Conn setup do Logger.disable(self()) :ok end defp get_resp_content_type(conn) do [header] = get_resp_header(conn, "content-type") header |> String.split(";"...
35.494203
115
0.619207
97ed9f1ff52df9700dcc9e06a90a10c183a2616d
1,846
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_load_version_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_load_version_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_load_version_request.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.5
344
0.763272
97edc6d3f74adfad4a540258ed12f9a537d5ac64
108
exs
Elixir
config/test.exs
BlueHotDog/borscht
b1962d849fde60c591bad3d5fa6cc196ef387eca
[ "MIT" ]
null
null
null
config/test.exs
BlueHotDog/borscht
b1962d849fde60c591bad3d5fa6cc196ef387eca
[ "MIT" ]
null
null
null
config/test.exs
BlueHotDog/borscht
b1962d849fde60c591bad3d5fa6cc196ef387eca
[ "MIT" ]
null
null
null
use Mix.Config config :borscht, enabled: true, environment_name: :test, exclude_environments: [:dev]
15.428571
30
0.731481
97edce6b31ba1ed41cf499e1b0a294e142907577
507
ex
Elixir
lib/discuss/comment.ex
frunox/discuss
d19367eceb8c68ebef4e565981ceef256b5cb04e
[ "MIT" ]
null
null
null
lib/discuss/comment.ex
frunox/discuss
d19367eceb8c68ebef4e565981ceef256b5cb04e
[ "MIT" ]
null
null
null
lib/discuss/comment.ex
frunox/discuss
d19367eceb8c68ebef4e565981ceef256b5cb04e
[ "MIT" ]
null
null
null
defmodule Discuss.Comment do use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, only: [:content, :user]} schema "comments" do field :content, :string belongs_to :user, Discuss.User belongs_to :topic, Discuss.Topic timestamps() end @doc false def changeset(comment, attrs) do ...
20.28
52
0.670611
97edfa93cb8dc185c647301078b65824ec277904
3,661
ex
Elixir
lib/tzdata/ets_holder.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
null
null
null
lib/tzdata/ets_holder.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
null
null
null
lib/tzdata/ets_holder.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
2
2020-09-08T08:16:34.000Z
2020-10-26T01:53:39.000Z
defmodule Tzdata.EtsHolder do @moduledoc false require Logger use GenServer alias Tzdata.DataBuilder alias Tzdata.Util @file_version 2 def start_link() do GenServer.start_link(__MODULE__, [], name: __MODULE__) end def init([]) do make_sure_a_release_is_on_file() create_current_release_...
27.320896
115
0.707184
97edfc93b89be607a42a9562e33f0440153ee476
101
exs
Elixir
chapter_10/key_value/snippets/ets_key_value.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T11:55:58.000Z
2021-08-22T13:19:56.000Z
chapter_10/key_value/snippets/ets_key_value.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
null
null
null
chapter_10/key_value/snippets/ets_key_value.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T21:19:45.000Z
2021-08-22T13:20:03.000Z
EtsKeyValue.start_link() EtsKeyValue.get(:ft) EtsKeyValue.put(:ft, "born2code") EtsKeyValue.get(:ft)
20.2
33
0.772277
97ee13dec2909460a0aa45bf89f5607de50d77b3
740
ex
Elixir
lib/mix_deploy_example_web/gettext.ex
yuchunc/mix-deploy-example
19072e7f4aca62d782d2dba82e11cdc1ef7d8fd4
[ "Apache-2.0" ]
39
2019-07-10T08:34:13.000Z
2021-07-06T23:54:56.000Z
lib/mix_deploy_example_web/gettext.ex
yuchunc/mix-deploy-example
19072e7f4aca62d782d2dba82e11cdc1ef7d8fd4
[ "Apache-2.0" ]
11
2019-07-22T02:35:28.000Z
2021-05-08T15:27:50.000Z
lib/mix_deploy_example_web/gettext.ex
yuchunc/mix-deploy-example
19072e7f4aca62d782d2dba82e11cdc1ef7d8fd4
[ "Apache-2.0" ]
8
2019-11-20T08:04:04.000Z
2020-11-18T09:48:35.000Z
defmodule MixDeployExampleWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import MixDeployExampleWeb.Gettext # Simple translation ...
29.6
72
0.690541
97ee15303190fe47a7221b01597cad3cfbf73fdf
2,967
ex
Elixir
apps/broker/lib/broker/supervisor/collector.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/broker/lib/broker/supervisor/collector.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/broker/lib/broker/supervisor/collector.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule Broker.Supervisor.Collector do @moduledoc """ This the Collector supervisor which supervise the whole collector engine per topic. """ use Supervisor alias Broker.Collector @spec start_link(list) :: tuple def start_link(args) do Supervisor.start_link(__MODULE__, args, name: args[:name...
31.56383
82
0.657567
97ee4bdef42e40c138355d639a9c5f0af66552c9
1,370
ex
Elixir
lib/surface_bootstrap/form/number_input.ex
dclausen/surface_bootstrap
f282b7c653160fb4b4ca687cf8fb13e68937884f
[ "MIT" ]
17
2021-02-18T20:10:52.000Z
2021-12-30T14:41:00.000Z
lib/surface_bootstrap/form/number_input.ex
dclausen/surface_bootstrap
f282b7c653160fb4b4ca687cf8fb13e68937884f
[ "MIT" ]
9
2021-03-21T20:15:48.000Z
2021-06-23T07:45:20.000Z
lib/surface_bootstrap/form/number_input.ex
dclausen/surface_bootstrap
f282b7c653160fb4b4ca687cf8fb13e68937884f
[ "MIT" ]
10
2021-03-21T20:10:37.000Z
2021-12-28T00:06:06.000Z
defmodule SurfaceBootstrap.Form.NumberInput do @moduledoc """ The number input element as defined here: - https://hexdocs.pm/phoenix_html/Phoenix.HTML.Form.html#number_input/3 - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number """ use Surface.Component use SurfaceBootstrap.Form.Text...
33.414634
112
0.684672
97eeb062fd425ccbcd57e1f336fb342c4dd24906
404
exs
Elixir
priv/repo/migrations/0060_create_meal_recipe.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/0060_create_meal_recipe.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/0060_create_meal_recipe.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
1
2017-12-15T15:49:16.000Z
2017-12-15T15:49:16.000Z
defmodule Alastair.Repo.Migrations.CreateMealRecipe do use Ecto.Migration def change do create table(:meals_recipes) do add :person_count, :integer add :meal_id, references(:meals, on_delete: :delete_all) add :recipe_id, references(:recipes, on_delete: :delete_all) end create index(:m...
26.933333
66
0.715347
97eebbb12458ccec464ebbc7760b62d02bfaab08
2,177
exs
Elixir
mix.exs
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
mix.exs
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
mix.exs
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
defmodule OMG.Umbrella.MixProject do use Mix.Project def project do [ apps_path: "apps", start_permanent: Mix.env() == :prod, deps: deps(), preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test,...
35.112903
119
0.583831
97eebc2fc0ea9d5d1bb47c2adcac0ff1382a33fd
1,519
exs
Elixir
couchdb_docs/mix.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
couchdb_docs/mix.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
couchdb_docs/mix.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
defmodule CouchDB.Doc.Mixfile do use Mix.Project def project do [app: :couchdb_docs, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, package: package(), description: description(), source: "https://github.com/sbezugliy/...
24.901639
79
0.621461
97eec2e9adb724f078a18edf436121f9a51d0892
497
ex
Elixir
apps/temporario_web/lib/temporario_web/views/error_view.ex
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
2
2019-04-16T18:46:36.000Z
2020-09-18T12:58:57.000Z
apps/temporario_web/lib/temporario_web/views/error_view.ex
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
6
2019-01-06T11:13:39.000Z
2022-02-10T15:15:24.000Z
apps/temporario_web/lib/temporario_web/views/error_view.ex
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
null
null
null
defmodule TemporarioWeb.ErrorView do use TemporarioWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the templat...
29.235294
61
0.738431
97eecc2528bee51c2e016545c66cb4d65ac6791e
1,123
exs
Elixir
rustler_mix/mix.exs
davydog187/rustler
64b49f7bbda4b24836ad53e6bebd847a39c56bc8
[ "Apache-2.0", "MIT" ]
null
null
null
rustler_mix/mix.exs
davydog187/rustler
64b49f7bbda4b24836ad53e6bebd847a39c56bc8
[ "Apache-2.0", "MIT" ]
null
null
null
rustler_mix/mix.exs
davydog187/rustler
64b49f7bbda4b24836ad53e6bebd847a39c56bc8
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule Rustler.Mixfile do use Mix.Project def project do [app: :rustler, version: "0.20.0", # rustler_mix version elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, name: "Rustler Mix", source_url: "https://github.com/hansihe/Rustler", h...
25.522727
104
0.607302
97eecdefa45ca2d1cb63508724654aa2e621f572
977
ex
Elixir
lib/renderer/ascii/charset/simple_drawing_chars.ex
Tmw/bintreeviz
5a77d2a16a2a86160c70d47cfd9f696196f2f1bf
[ "MIT" ]
null
null
null
lib/renderer/ascii/charset/simple_drawing_chars.ex
Tmw/bintreeviz
5a77d2a16a2a86160c70d47cfd9f696196f2f1bf
[ "MIT" ]
null
null
null
lib/renderer/ascii/charset/simple_drawing_chars.ex
Tmw/bintreeviz
5a77d2a16a2a86160c70d47cfd9f696196f2f1bf
[ "MIT" ]
null
null
null
defmodule Bintreeviz.Renderer.Ascii.Charset.SimpleDrawingChars do @moduledoc """ SimpleDrawingChars defines the characters to use for drawing simple boxes with dashes, pipes and plus signs. """ @behaviour Bintreeviz.Renderer.Ascii.Charset # characters for drawing the box def top_left_corner, do: "+" def ...
32.566667
110
0.738997
97eef5f29c6c5575b8dbe4ad978552d55255889e
669
exs
Elixir
chapter16/sequence/mix.exs
ChristopheBelpaire/programmingElixir
49e2226f2d4c4fe428a655bd48c119d52200ba07
[ "MIT" ]
null
null
null
chapter16/sequence/mix.exs
ChristopheBelpaire/programmingElixir
49e2226f2d4c4fe428a655bd48c119d52200ba07
[ "MIT" ]
null
null
null
chapter16/sequence/mix.exs
ChristopheBelpaire/programmingElixir
49e2226f2d4c4fe428a655bd48c119d52200ba07
[ "MIT" ]
null
null
null
defmodule Sequence.Mixfile do use Mix.Project def project do [app: :sequence, version: "0.0.1", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for mo...
20.272727
77
0.609865
97ef04dc2b27155d5af3134e2269d1840fb068c9
469
exs
Elixir
test/dde_iotserver_liveview_web/views/error_view_test.exs
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
test/dde_iotserver_liveview_web/views/error_view_test.exs
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
test/dde_iotserver_liveview_web/views/error_view_test.exs
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
defmodule DdeIotserverLiveviewWeb.ErrorViewTest do use DdeIotserverLiveviewWeb.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(DdeIotserverLiveviewWeb.ErrorView, "404.html", []) == "Not Found" e...
31.266667
105
0.763326
97ef279853c81a955f6c2c81a4449a31672bbc65
451
ex
Elixir
apps/summoner_backend/lib/summoner_backend/tags/supervisor.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_backend/lib/summoner_backend/tags/supervisor.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_backend/lib/summoner_backend/tags/supervisor.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
defmodule SummonerBackend.Tags.Supervisor do use Supervisor def start_link(_) do Supervisor.start_link(__MODULE__, :ok, name: :tags_supervisor) end def add_subreddit(subreddit) do Supervisor.start_child( :tags_supervisor, [subreddit] ) end def init(_) do childre...
19.608696
67
0.656319
97ef34ca7fae578e0443257ace9f7bea39b313ce
617
ex
Elixir
examples/time_zone_info_server/lib/fake_utc_datetime.ex
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
5
2020-04-05T16:03:03.000Z
2022-02-07T22:11:04.000Z
examples/time_zone_info_server/lib/fake_utc_datetime.ex
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
16
2020-03-28T17:46:13.000Z
2021-08-25T08:35:48.000Z
examples/time_zone_info_server/lib/fake_utc_datetime.ex
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
null
null
null
defmodule FakeUtcDateTime do @moduledoc false use Agent @behaviour TimeZoneInfo.UtcDateTime def start_link(_) do Agent.start_link(fn -> 0 end, name: __MODULE__) end @impl true def now, do: now(:datetime) @impl true def now(:datetime) do DateTime.utc_now() |> DateTime.add(get_offset()) e...
21.275862
75
0.6953
97ef4b8af2b699ef13f04634d6e962d244ccdba6
1,527
ex
Elixir
clients/metastore/lib/google_api/metastore/v1beta/model/empty.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/metastore/lib/google_api/metastore/v1beta/model/empty.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/metastore/lib/google_api/metastore/v1beta/model/empty.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...
36.357143
341
0.760314
97ef5cd9d2ce688286dd0a913d5ad6efcacf5c25
29,134
exs
Elixir
lib/ex_unit/test/ex_unit/doc_test_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/ex_unit/test/ex_unit/doc_test_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/ex_unit/test/ex_unit/doc_test_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.BeamHelpers do # Beam files compiled on demand path = Path.expand("../../tmp/beams", __DIR__) File.rm_rf!(path) File.mkdir_p!(path) Code.prepend_path(path) def write_beam({:module, name, bin, _} = res) do beam_path = Path.join(unquote(p...
30.035052
283
0.57366
97ef87563ebd0569f2f0b07a62dffd7182b45fed
2,298
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/conversions_batch_insert_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/conversions_batch_insert_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/conversions_batch_insert_request.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...
43.358491
263
0.75544
97ef9e67f848f110d00bde27d16e0d59b8780111
1,117
exs
Elixir
test/guardian_trackable_test.exs
bgracie/guardian_trackable
c870984b5b2030cf2ebb7d36b37de9862509a40f
[ "MIT" ]
21
2017-11-06T11:20:24.000Z
2021-10-03T11:44:58.000Z
test/guardian_trackable_test.exs
bgracie/guardian_trackable
c870984b5b2030cf2ebb7d36b37de9862509a40f
[ "MIT" ]
4
2018-01-10T02:32:15.000Z
2019-04-25T17:33:24.000Z
test/guardian_trackable_test.exs
bgracie/guardian_trackable
c870984b5b2030cf2ebb7d36b37de9862509a40f
[ "MIT" ]
4
2018-01-12T01:16:37.000Z
2020-04-08T14:23:24.000Z
defmodule GuardianTrackableTest do use GuardianTrackable.DataCase, async: true alias GuardianTrackable.Dummy.{Repo, User, Guardian} setup do [user: Repo.insert!(%User{email: "user@example.com"})] end def make_conn(ip) do %Plug.Conn{remote_ip: ip} end test "after_sign_in/5 initial sign in", %{u...
25.976744
58
0.672337
97efa85d7593ee81d1d0453fd7798752ec2a63fc
377
exs
Elixir
test/Day6_test.exs
joaopgmaria/aoc-solutions-elixir
c5eb35b698b7cccd754876be600a73ee0fedbf0e
[ "MIT" ]
null
null
null
test/Day6_test.exs
joaopgmaria/aoc-solutions-elixir
c5eb35b698b7cccd754876be600a73ee0fedbf0e
[ "MIT" ]
null
null
null
test/Day6_test.exs
joaopgmaria/aoc-solutions-elixir
c5eb35b698b7cccd754876be600a73ee0fedbf0e
[ "MIT" ]
null
null
null
defmodule Day6Test do use ExUnit.Case doctest Day6 @tag day: 6 test "solves #1 example" do testdata = "COM)B B)C C)D D)E E)F B)G G)H D)I E)J J)K K)L" assert 42 == Day6.part1(testdata) end @tag day: 6 test "solves #2 example" do testdata = "COM)B B)C C)D D)E E)F B)G G)H D)I E)J J)K K)L K)YOU...
8.97619
37
0.602122
97efbef3b853d9cabbcc722109ab9b177afe9fad
451
ex
Elixir
kousa/lib/broth/plugs/cors.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/lib/broth/plugs/cors.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/lib/broth/plugs/cors.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Broth.Plugs.Cors do import Plug.Conn def init(_) do end def call(conn, _opts) do conn |> put_resp_header("Access-Control-Allow-Origin", "*") |> put_resp_header("Access-Control-Allow-Method", "POST, GET, OPTIONS") |> put_resp_header("Access-Control-Max-Age", "86400") |> put_resp_h...
25.055556
75
0.662971
97efca6fd3955edc51bf25fca118ef06ed92df05
458
ex
Elixir
lib/enhanced_defstruct.ex
amatalai/enhanced_defstruct
12cda68e98715cc51fbee1c8da163433abe48c61
[ "Apache-2.0" ]
1
2017-01-21T12:01:01.000Z
2017-01-21T12:01:01.000Z
lib/enhanced_defstruct.ex
amatalai/enhanced_defstruct
12cda68e98715cc51fbee1c8da163433abe48c61
[ "Apache-2.0" ]
null
null
null
lib/enhanced_defstruct.ex
amatalai/enhanced_defstruct
12cda68e98715cc51fbee1c8da163433abe48c61
[ "Apache-2.0" ]
null
null
null
defmodule EnhancedDefstruct do defmacro defstruct(name, fields) do name = Macro.expand(name, __CALLER__) do_defstruct(name, fields) end defp do_defstruct(name, fields) when is_atom(name) do quote do defmodule unquote(name) do defstruct unquote(fields) end end end defp d...
19.083333
74
0.689956
97efd4d3b68c14ac97ed92e73f24083d59a6a559
118
ex
Elixir
lib/political/embed.ex
wisq/political
7a28dd9da95bc461be8f39411361519b471fa4c3
[ "MIT" ]
null
null
null
lib/political/embed.ex
wisq/political
7a28dd9da95bc461be8f39411361519b471fa4c3
[ "MIT" ]
null
null
null
lib/political/embed.ex
wisq/political
7a28dd9da95bc461be8f39411361519b471fa4c3
[ "MIT" ]
null
null
null
defmodule Political.Embed do defstruct( title: nil, author: nil, uri: nil, description: nil ) end
13.111111
28
0.627119
97efe3db8c47059aa14ed050c6c77f3532df474b
1,377
exs
Elixir
mix.exs
qgadrian/metadata_plugs
691d98ee8ccf400dd6f9b7a6338c14833d6434e9
[ "MIT" ]
2
2018-05-12T20:13:19.000Z
2020-01-12T18:49:07.000Z
mix.exs
qgadrian/metadata_plugs
691d98ee8ccf400dd6f9b7a6338c14833d6434e9
[ "MIT" ]
null
null
null
mix.exs
qgadrian/metadata_plugs
691d98ee8ccf400dd6f9b7a6338c14833d6434e9
[ "MIT" ]
null
null
null
defmodule MetadataPlug.MixProject do use Mix.Project @version "0.3.2" def project do [ app: :metadata_plugs, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description(), docs: docs(), ...
20.552239
72
0.535221
97efef2d56e5a2c4af346acbdf1c91b74d66af69
1,153
exs
Elixir
config/config.exs
mbuhot/json_api_query_builder
c67bc3bf81c27c6ccb69278d09eba337aa81589c
[ "MIT" ]
8
2017-12-13T14:37:37.000Z
2020-05-22T13:50:45.000Z
config/config.exs
mbuhot/json_api_query_builder
c67bc3bf81c27c6ccb69278d09eba337aa81589c
[ "MIT" ]
null
null
null
config/config.exs
mbuhot/json_api_query_builder
c67bc3bf81c27c6ccb69278d09eba337aa81589c
[ "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.193548
73
0.758023
97f0356aabd7c64fed90492c30b5b5ab189a0208
227
ex
Elixir
lib/auth/token.ex
idabmat/game_api
c12eefb84ff5c9647ee2e06d7893e3aae1b48b2d
[ "MIT" ]
null
null
null
lib/auth/token.ex
idabmat/game_api
c12eefb84ff5c9647ee2e06d7893e3aae1b48b2d
[ "MIT" ]
null
null
null
lib/auth/token.ex
idabmat/game_api
c12eefb84ff5c9647ee2e06d7893e3aae1b48b2d
[ "MIT" ]
null
null
null
defmodule Auth.Token do @moduledoc """ Behaviour module to define: - how to convert a resource to a token - how to get a resource from a token """ alias Auth.Account @callback set(Account.t()) :: String.t() end
18.916667
42
0.674009
97f03ab4df2a851d48bd70123e531e13f3e1c805
405
ex
Elixir
hello_elixir/lib/hello/hello_erlang.ex
wangxingfred/hello
2358b6358a55e68a425887901685d6b066cd2b2e
[ "MIT" ]
null
null
null
hello_elixir/lib/hello/hello_erlang.ex
wangxingfred/hello
2358b6358a55e68a425887901685d6b066cd2b2e
[ "MIT" ]
4
2021-10-06T22:07:13.000Z
2022-02-27T10:35:34.000Z
hello_elixir/lib/hello/hello_erlang.ex
wangxingfred/hello
2358b6358a55e68a425887901685d6b066cd2b2e
[ "MIT" ]
null
null
null
defmodule HelloErlang do @moduledoc ~S""" Copyright <Woobest> 2020. All Rights Reserved. History: 2020-11-11 10:40, fred 'wangxingfred@gmail.com', create module TODO 编写模块描述 """ def fun_info_mfa1() do :erlang.fun_info_mfa(&fun_info_mfa1/0) end def fun_info...
21.315789
70
0.597531
97f07c8f5baefea0882ca02fad9ebc7f87f2dd61
3,239
ex
Elixir
clients/run/lib/google_api/run/v1/model/secret_volume_source.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/secret_volume_source.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/secret_volume_source.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.593407
98
0.707317
97f0c295becafa56967fd84e5bd07d2215f702a7
600
ex
Elixir
lib/mix/noap/gen_code.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
1
2022-03-04T03:55:46.000Z
2022-03-04T03:55:46.000Z
lib/mix/noap/gen_code.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
null
null
null
lib/mix/noap/gen_code.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
null
null
null
defmodule Mix.Noap.GenCode do def run(_wsdl_path, _module_namespace) do # model = parse_wsdl_from_file(wsdl_path) # module_dir = get_module_namespace_dir(module_namespace) # Enum.each(types, fn type -> # IO.inspect(type, label: :type) # # type(name: name, els: [el(alts: alts)]) = type # ...
31.578947
66
0.641667
97f0e4a4b81207de09ef4da5e94437a7ea2a56ac
2,047
exs
Elixir
config/dev.exs
fiqus/lqchatex
e5a29cadc2b1eb7fce88be3e612a5ff240a09b59
[ "MIT" ]
8
2019-06-01T18:45:47.000Z
2021-11-10T07:56:20.000Z
config/dev.exs
fiqus/lqchatex
e5a29cadc2b1eb7fce88be3e612a5ff240a09b59
[ "MIT" ]
3
2020-04-19T15:59:27.000Z
2021-05-09T00:33:11.000Z
config/dev.exs
fiqus/lqchatex
e5a29cadc2b1eb7fce88be3e612a5ff240a09b59
[ "MIT" ]
3
2019-10-25T16:03:12.000Z
2021-11-10T07:53:14.000Z
use Mix.Config # config :libcluster, # debug: true # config :mnesia, # debug: true # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js an...
27.662162
68
0.682462
97f0f17dcbe9251dcf8a926212e156c2c7295f57
3,811
exs
Elixir
test/credo/check/readability/parentheses_in_condition_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/readability/parentheses_in_condition_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/readability/parentheses_in_condition_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2020-06-30T16:32:44.000Z
2020-06-30T16:32:44.000Z
defmodule Credo.Check.Readability.ParenthesesInConditionTest do use Credo.TestHelper @described_check Credo.Check.Readability.ParenthesesInCondition # # cases NOT raising issues # test "it should NOT report expected code" do """ defmodule CredoSampleModule do def some_function(parameter1, p...
23.09697
79
0.563107
97f12e9246ee1b63962e68a19a5cbc8919b04145
23,356
ex
Elixir
clients/cloud_user_accounts/lib/google_api/cloud_user_accounts/vm_alpha/api/users.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_user_accounts/lib/google_api/cloud_user_accounts/vm_alpha/api/users.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_user_accounts/lib/google_api/cloud_user_accounts/vm_alpha/api/users.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
52.133929
1,499
0.698536
97f131a5a35fba7ba33cbff7b540c325c41aba2b
843
exs
Elixir
test/test_helper.exs
bjyoungblood/nebulex_redis_adapter
8ecf19f91d1d332c39e3507831fbfabc800fcf2b
[ "MIT" ]
20
2018-09-02T15:14:44.000Z
2021-12-10T16:40:56.000Z
test/test_helper.exs
bjyoungblood/nebulex_redis_adapter
8ecf19f91d1d332c39e3507831fbfabc800fcf2b
[ "MIT" ]
23
2018-10-26T19:49:11.000Z
2022-03-23T22:37:25.000Z
test/test_helper.exs
bjyoungblood/nebulex_redis_adapter
8ecf19f91d1d332c39e3507831fbfabc800fcf2b
[ "MIT" ]
17
2018-11-06T00:19:03.000Z
2021-11-19T09:46:06.000Z
# Start Telemetry Application.start(:telemetry) # Nebulex dependency path nbx_dep_path = Mix.Project.deps_paths()[:nebulex] for file <- File.ls!("#{nbx_dep_path}/test/support"), file != "test_cache.ex" do Code.require_file("#{nbx_dep_path}/test/support/" <> file, __DIR__) end for file <- File.ls!("#{nbx_dep_path}/...
29.068966
80
0.69395
97f14f6c65fd79fd8f0870a34992c336e56c42fe
2,260
exs
Elixir
test/notification_test.exs
MSch/postgrex
92ca73697094205a6cd4274c10b4bda986ab4f20
[ "Apache-2.0" ]
null
null
null
test/notification_test.exs
MSch/postgrex
92ca73697094205a6cd4274c10b4bda986ab4f20
[ "Apache-2.0" ]
null
null
null
test/notification_test.exs
MSch/postgrex
92ca73697094205a6cd4274c10b4bda986ab4f20
[ "Apache-2.0" ]
null
null
null
defmodule NotificationTest do use ExUnit.Case, async: true import Postgrex.TestHelper alias Postgrex.Connection, as: P setup do opts = [ database: "postgrex_test" ] {:ok, pid} = P.start_link(opts) {:ok, pid2} = P.start_link(opts) {:ok, [pid: pid, pid2: pid2]} end test "listening", context...
31.830986
107
0.643363
97f17e9a320c6dc154e0958bfc38edc3498e806a
1,252
ex
Elixir
test/support/membrane_file/test_case_template.ex
membraneframework/membrane-element-file
bb1660ddb14fe4e9123c70b71ca15f7a4cd56555
[ "Apache-2.0" ]
2
2018-07-27T14:11:09.000Z
2018-08-07T08:34:12.000Z
test/support/membrane_file/test_case_template.ex
membraneframework/membrane-element-file
bb1660ddb14fe4e9123c70b71ca15f7a4cd56555
[ "Apache-2.0" ]
2
2018-10-15T07:56:46.000Z
2018-10-31T15:38:47.000Z
test/support/membrane_file/test_case_template.ex
membraneframework/membrane-element-file
bb1660ddb14fe4e9123c70b71ca15f7a4cd56555
[ "Apache-2.0" ]
1
2018-10-05T21:37:52.000Z
2018-10-05T21:37:52.000Z
defmodule Membrane.File.TestCaseTemplate do @moduledoc false use ExUnit.CaseTemplate using opts do module = opts[:module] quote do import Mox alias Membrane.File.CommonMock alias Membrane.Element.CallbackContext.{Prepare, Stop} setup :verify_on_exit! describe "template: ...
26.083333
93
0.597444
97f18319319b6df06b0a42e92e745de48aae5305
1,147
ex
Elixir
lib/docusign/model/chunked_uploads.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/chunked_uploads.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/chunked_uploads.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.ChunkedUploads do @moduledoc """ Chunked Uploads resource """ @derive [Poison.Encoder] defstruct [ :checksum, :...
26.068182
89
0.652136
97f1e049f2d07740cfd8e891bfd6705813a80ee9
3,559
exs
Elixir
test/resources/vendors_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-01T01:34:16.000Z
2020-08-31T15:15:08.000Z
test/resources/vendors_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-03T03:01:48.000Z
2021-06-08T18:39:40.000Z
test/resources/vendors_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
3
2018-08-12T03:51:52.000Z
2020-02-27T14:29:14.000Z
defmodule Procore.Resources.VendorsTest do use ExUnit.Case alias Procore.ResponseResult alias Procore.Resources.Vendors test "list/1 for a company directory with default API version" do client = Procore.client() params = %{"company_id" => 1} assert %ResponseResult{reply: :ok, status_code: 200, par...
34.892157
77
0.647654
97f1e078583eb35803d85a8b5559db0722cb06a6
1,965
ex
Elixir
lib/earmark_parser/options.ex
micapam/fountain_parser
ce377bf7a9735d4ccb01c139a4b141c307cdae75
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/options.ex
micapam/fountain_parser
ce377bf7a9735d4ccb01c139a4b141c307cdae75
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/options.ex
micapam/fountain_parser
ce377bf7a9735d4ccb01c139a4b141c307cdae75
[ "Apache-2.0" ]
null
null
null
defmodule EarmarkParser.Options do use EarmarkParser.Types # What we use to render defstruct renderer: EarmarkParser.HtmlRenderer, # Inline style options gfm: true, gfm_tables: false, breaks: false, pedantic: false, smartypants: true, ...
27.676056
78
0.587786
97f240f8f26714a21cef37828faeb946828d5345
4,726
ex
Elixir
lib/nilsimsa.ex
philipbrown/elixir-nilsimsa
a5ea50607fbd1372c1a2a146da3ff1b20a44d6bc
[ "MIT" ]
12
2021-07-16T03:41:12.000Z
2022-01-28T07:58:20.000Z
lib/nilsimsa.ex
philipbrown/elixir-nilsimsa
a5ea50607fbd1372c1a2a146da3ff1b20a44d6bc
[ "MIT" ]
null
null
null
lib/nilsimsa.ex
philipbrown/elixir-nilsimsa
a5ea50607fbd1372c1a2a146da3ff1b20a44d6bc
[ "MIT" ]
1
2021-07-25T22:01:42.000Z
2021-07-25T22:01:42.000Z
defmodule Nilsimsa do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) use Bitwise, skip_operators: true import Enum, only: [at: 2] @tran3 :nilsimsa |> Application.app_dir("priv/tran3") ...
24.614583
81
0.549725
97f24c71adaaaa55943b153328f2d6ee417b2de6
1,531
ex
Elixir
lib/todo_app_web/router.ex
tarcisiooliveira/todo_app
2a5291390c64cc6a0a593b8d0f671ad899dea034
[ "MIT" ]
null
null
null
lib/todo_app_web/router.ex
tarcisiooliveira/todo_app
2a5291390c64cc6a0a593b8d0f671ad899dea034
[ "MIT" ]
null
null
null
lib/todo_app_web/router.ex
tarcisiooliveira/todo_app
2a5291390c64cc6a0a593b8d0f671ad899dea034
[ "MIT" ]
null
null
null
defmodule TodoAppWeb.Router do use TodoAppWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers plug Ueberauth end pipeline :api do plug :accepts, ["json"] end scope "/", Todo...
25.949153
70
0.689745
97f25f89a700e2c088d37161087092e99b3e06f7
430
ex
Elixir
lib/beam_to_ex_ast/b_generate.ex
olafura/beam_to_ex_ast
5451d189105c3a4b52aedbf4fbc4f0beca3b9b80
[ "Apache-2.0" ]
16
2016-02-12T15:15:58.000Z
2021-08-24T21:48:34.000Z
lib/beam_to_ex_ast/b_generate.ex
olafura/beam_to_ex_ast
5451d189105c3a4b52aedbf4fbc4f0beca3b9b80
[ "Apache-2.0" ]
1
2016-02-17T04:58:38.000Z
2016-02-17T04:58:38.000Z
lib/beam_to_ex_ast/b_generate.ex
olafura/beam_to_ex_ast
5451d189105c3a4b52aedbf4fbc4f0beca3b9b80
[ "Apache-2.0" ]
2
2016-02-17T03:21:23.000Z
2016-03-08T09:23:27.000Z
import ProtocolEx alias BeamToExAst.Translate defimplEx BeamToExAst.BGenerate, {:b_generate, _ln, _param1, _param2}, for: Translate do alias BeamToExAst.Translate def to_elixir({:b_generate, ln, {:bin, ln2, [bin]}, param2}, opts) do opts = Map.update!(opts, :parents, &[:b_generate | &1]) {:<<>>, [line: l...
30.714286
95
0.669767
97f279b32cc7e6ddf1f922ffb3f37ce5713de1a5
1,117
exs
Elixir
config/config.exs
gausby/tracker
f8af43d40b155a0ba7f224b2c07b487a970c8be1
[ "Apache-2.0" ]
3
2016-03-11T08:23:40.000Z
2019-01-02T23:52:19.000Z
config/config.exs
gausby/tracker
f8af43d40b155a0ba7f224b2c07b487a970c8be1
[ "Apache-2.0" ]
2
2015-12-30T20:22:32.000Z
2015-12-30T20:24:00.000Z
config/config.exs
gausby/tracker
f8af43d40b155a0ba7f224b2c07b487a970c8be1
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.751119
97f2854b62a647abc174ed6400faf6635cf215ca
128
ex
Elixir
lib/membrane_dashboard/repo.ex
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
4
2021-06-09T13:33:22.000Z
2022-01-29T12:51:54.000Z
lib/membrane_dashboard/repo.ex
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
15
2021-06-12T22:23:58.000Z
2022-01-10T09:06:12.000Z
lib/membrane_dashboard/repo.ex
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
null
null
null
defmodule Membrane.Dashboard.Repo do use Ecto.Repo, otp_app: :membrane_dashboard, adapter: Ecto.Adapters.Postgres end
21.333333
36
0.765625
97f2ad93374605cc5083e30172fa6d1d86f0bc44
243
ex
Elixir
lib/mao.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
lib/mao.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
lib/mao.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
defmodule MAO do @moduledoc """ MAO keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.3
66
0.744856