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
c8e984fcb88a330fb89044a66a577d1c169218af
935
exs
Elixir
apps/bbq_ui/config/rpi3/config.exs
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
2
2016-09-22T13:32:35.000Z
2017-02-17T20:26:50.000Z
apps/bbq_ui/config/rpi3/config.exs
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
null
null
null
apps/bbq_ui/config/rpi3/config.exs
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :bbq_ui, BbqUi.Endpoint, url: [host: "localhost"],...
33.392857
86
0.763636
c8e9961f2e03098dc3bdc4a6c3f7ee1032041300
3,655
exs
Elixir
test/ex_timer_test.exs
kminwoog/ex_timer
2d27c5ca57474d5e0c01501d0d1f348481d66dd0
[ "MIT" ]
2
2019-04-23T18:21:18.000Z
2022-01-25T05:54:04.000Z
test/ex_timer_test.exs
kminwoog/ex_timer
2d27c5ca57474d5e0c01501d0d1f348481d66dd0
[ "MIT" ]
null
null
null
test/ex_timer_test.exs
kminwoog/ex_timer
2d27c5ca57474d5e0c01501d0d1f348481d66dd0
[ "MIT" ]
null
null
null
defmodule ExTimerTest do use ExUnit.Case require ExTimer doctest ExTimer test "ex_timer" do # you should be define `timers`(list) `elapsed`(float) state = %{timers: [], elapsed: 0, calls: 0} state = ExTimer.add(state, {:timeout_no_delay, :name, "min"}, 0) state = ExTimer.update(state, 0) as...
32.345133
73
0.632832
c8e9b0198b4ea9e2d0a213354be6b45db5abee60
1,882
ex
Elixir
lib/os/system.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
lib/os/system.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
lib/os/system.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotOS.System do @moduledoc """ Common functionality that should be implemented by a system """ require FarmbotCore.Logger require Logger alias FarmbotCore.Firmware.Command error_msg = """ Please configure `:system_tasks`! """ @system_tasks Application.get_env(:farmbot, __MODULE__)[:s...
23.822785
77
0.68491
c8e9c583535e8b57920ecb348b1eca50d0e4059e
3,264
ex
Elixir
lib/decimal_env.ex
gmtprime/decimal_env
684deea2c770f4d3c197cb9e9622988f878ad23a
[ "MIT" ]
9
2016-10-20T11:50:08.000Z
2022-03-11T03:25:03.000Z
lib/decimal_env.ex
gmtprime/decimal_env
684deea2c770f4d3c197cb9e9622988f878ad23a
[ "MIT" ]
null
null
null
lib/decimal_env.ex
gmtprime/decimal_env
684deea2c770f4d3c197cb9e9622988f878ad23a
[ "MIT" ]
null
null
null
defmodule DecimalEnv do @moduledoc """ This module provides macros to encapsulate `Decimal` operations while using Elixir arithmetic and comparison operators and functions. """ @typedoc """ Type name. """ @type type_name :: nil | :decimal | :float | :integer ...
23.824818
79
0.582108
c8e9c68ea945bc3bf25c00548a726fb2010a88c9
611
exs
Elixir
test/support/mailing_helper.exs
manukall/phoenix_token_auth
389deeda9e2dc8c93e9e5c066e9df72cff19cdff
[ "MIT" ]
190
2015-03-11T14:05:44.000Z
2021-11-13T03:42:59.000Z
test/support/mailing_helper.exs
manukall/phoenix_token_auth
389deeda9e2dc8c93e9e5c066e9df72cff19cdff
[ "MIT" ]
48
2015-03-14T17:41:25.000Z
2016-08-16T11:37:37.000Z
test/support/mailing_helper.exs
manukall/phoenix_token_auth
389deeda9e2dc8c93e9e5c066e9df72cff19cdff
[ "MIT" ]
62
2015-03-20T04:31:34.000Z
2020-08-24T05:05:12.000Z
defmodule PhoenixTokenAuth.TestMailing do @behaviour PhoenixTokenAuth.MailingBehaviour def welcome_subject(user, _conn), do: "Hello #{user.email}" def welcome_body(_user, _token, conn) do language = Plug.Conn.get_req_header(conn, "language") "the_emails_body with language #{language}" en...
40.733333
85
0.749591
c8ea0e71e56b94124080918cdf6cb359ea18c0b5
247
ex
Elixir
lib/noted.ex
lawik/noted
a51b5d79cf44abfc2463560f83f1a8d65e6af85e
[ "BSD-3-Clause" ]
28
2021-02-20T22:22:49.000Z
2022-03-24T21:07:39.000Z
lib/noted.ex
gerhard/noted
c83bfd2e8e2950187268a2e3ba0904ae8a9773e5
[ "BSD-3-Clause" ]
5
2021-05-06T11:37:11.000Z
2021-08-31T11:38:14.000Z
lib/noted.ex
gerhard/noted
c83bfd2e8e2950187268a2e3ba0904ae8a9773e5
[ "BSD-3-Clause" ]
7
2021-02-24T19:18:28.000Z
2021-09-13T16:07:08.000Z
defmodule Noted do @moduledoc """ Noted 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.7
66
0.748988
c8ea33170114952db8466e6fe0b43fd3182a3347
832
exs
Elixir
mix.exs
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
1
2015-07-08T04:32:02.000Z
2015-07-08T04:32:02.000Z
mix.exs
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
null
null
null
mix.exs
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
null
null
null
defmodule Hound.Mixfile do use Mix.Project def project do [ app: :hound, version: "0.5.3", elixir: ">= 0.12.0", deps: deps, source_url: "http://github.com/HashNuke/hound", docs: [readme: true, main: "README"] ] end # Configuration for the OTP application def application...
25.212121
77
0.598558
c8ea390ed944d71e81cbba63ece5e9ba3f342702
763
ex
Elixir
lib/zaryn/oracle_chain/services/zaryn_price/providers/coingecko.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
1
2021-07-06T19:47:14.000Z
2021-07-06T19:47:14.000Z
lib/zaryn/oracle_chain/services/zaryn_price/providers/coingecko.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
lib/zaryn/oracle_chain/services/zaryn_price/providers/coingecko.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.OracleChain.Services.ZARYNPrice.Providers.Coingecko do @moduledoc false alias Zaryn.OracleChain.Services.ZARYNPrice.Providers.Impl @behaviour Impl require Logger @impl Impl @spec fetch(list(binary())) :: {:ok, %{required(String.t()) => any()}} | {:error, any()} def fetch(pairs) when is...
27.25
92
0.610747
c8ea4d6651cf0a9d6a742e855ebd5a62e746a19e
8,396
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/api/custom_lists.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/api/custom_lists.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/api/custom_lists.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "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.729167
196
0.6303
c8ea5ecc163799ae7421efd51c414699386d5568
1,558
ex
Elixir
kousa/lib/broth.ex
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/lib/broth.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/lib/broth.ex
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Broth do import Plug.Conn @type json :: String.t() | number | boolean | nil | [json] | %{String.t() => json} alias Broth.Routes.DevOnly alias Broth.Routes.GitHubAuth alias Broth.Routes.TwitterAuth alias Broth.Routes.DiscordAuth alias Broth.Routes.ScheduledRoom alias Broth.Routes.Room alias...
23.253731
87
0.648267
c8ea6a45834e7a9e3db3898846c610806bd04fcc
2,733
exs
Elixir
test/eip55_test.exs
unnawut/eip_55
a7d13781837f22f3b7bde145f94a9d51caa5c863
[ "MIT" ]
3
2019-12-02T15:05:56.000Z
2021-07-22T00:50:15.000Z
test/eip55_test.exs
unnawut/eip_55
a7d13781837f22f3b7bde145f94a9d51caa5c863
[ "MIT" ]
null
null
null
test/eip55_test.exs
unnawut/eip_55
a7d13781837f22f3b7bde145f94a9d51caa5c863
[ "MIT" ]
null
null
null
defmodule EIP55Test do use ExUnit.Case doctest EIP55 @subjects [ {"0x5aaeb6053f3e94c9b9a09f33669435e7ef1beaed", "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed"}, {"0x52908400098527886e0f7030069857d2e4169ee7", "0x52908400098527886E0F7030069857D2E4169EE7"}, {"0x8617e340b3d01fa5f11f306f4090fd50e238070d", "...
44.080645
97
0.710574
c8ea7f4f84dcc76cd5d24581feae2e9b1cbd82e3
5,487
ex
Elixir
lib/rig/sources/http/handler.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
lib/rig/sources/http/handler.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
lib/rig/sources/http/handler.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule RIG.Sources.HTTP.Handler do @moduledoc """ Common request handler for HTTP endpoints that accept CloudEvents. The handler implements [HTTP Transport Binding for CloudEvents - Version 0.2](https://github.com/cloudevents/spec/blob/v0.2/http-transport-binding.md). """ import Phoenix.Controller, only:...
28.878947
153
0.622198
c8ea96b8f60298fd33532e140401d36560602ce8
55
exs
Elixir
elixir/elixir-conf-eu-2015/elixir_conf_workshop/test/test_helper.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-conf-eu-2015/elixir_conf_workshop/test/test_helper.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-conf-eu-2015/elixir_conf_workshop/test/test_helper.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
Application.stop(:elixir_conf_workshop) ExUnit.start()
18.333333
39
0.836364
c8eade15135698a612e0e2c586159f8dcfae82ac
589
ex
Elixir
lib/mipha_web/views/notification_view.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
156
2018-06-01T19:52:32.000Z
2022-02-03T10:58:10.000Z
lib/mipha_web/views/notification_view.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
139
2018-07-10T01:57:23.000Z
2021-08-02T21:29:24.000Z
lib/mipha_web/views/notification_view.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
29
2018-07-17T08:43:45.000Z
2021-12-14T13:45:30.000Z
defmodule MiphaWeb.NotificationView do use MiphaWeb, :view alias Mipha.Notifications def group_by(notifications) do notifications |> Enum.group_by(&Timex.format!(&1.updated_at, "{YYYY}-{0M}-{D}")) end def transfer_action(notification) do target_object = Notifications.object(notification) ac...
23.56
70
0.711375
c8eaffeb02d3e47a488f7b2fe90ae5f107365dfc
1,248
exs
Elixir
test/level_web/graphql/subscriptions/reply_created_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
1
2019-06-11T20:20:32.000Z
2019-06-11T20:20:32.000Z
test/level_web/graphql/subscriptions/reply_created_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
test/level_web/graphql/subscriptions/reply_created_test.exs
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
defmodule LevelWeb.GraphQL.ReplyCreatedTest do use LevelWeb.ChannelCase alias Level.Posts @operation """ subscription PostSubscription( $id: ID! ) { postSubscription(postId: $id) { __typename ... on ReplyCreatedPayload { reply { id } } ...
24
101
0.565705
c8eb0582bfe28ae33b6a6da08325b63d56136c3b
1,414
ex
Elixir
lib/amazon_history/cli.ex
rfwatson/elixir-amazon-history
821daa54127e4224049974609efb7fca706ed2b6
[ "Unlicense" ]
1
2018-05-18T08:36:16.000Z
2018-05-18T08:36:16.000Z
lib/amazon_history/cli.ex
rfwatson/elixir-amazon-history
821daa54127e4224049974609efb7fca706ed2b6
[ "Unlicense" ]
null
null
null
lib/amazon_history/cli.ex
rfwatson/elixir-amazon-history
821daa54127e4224049974609efb7fca706ed2b6
[ "Unlicense" ]
null
null
null
defmodule AmazonHistory.CLI do @moduledoc """ Handle the command-line parsing for the amazon_history tool """ require Logger def run(argv) do argv |> parse_args |> scrape |> CSV.encode |> Enum.each(&IO.write/1) end def scrape(email: email, password: password, start_year: start_year)...
22.806452
99
0.637199
c8eb12fe75caa03cfc9083eace8f97e66d4172ed
5,594
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_face_annotation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_face_annotation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_face_annotation.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...
50.396396
193
0.709868
c8eb3730e0b02e1e65392f58b32de9da65b86ab3
9,044
ex
Elixir
lib/cloak/cipher.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
51
2020-07-24T06:09:22.000Z
2021-12-16T16:22:59.000Z
lib/cloak/cipher.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
null
null
null
lib/cloak/cipher.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
15
2020-07-31T00:34:29.000Z
2021-09-26T03:44:09.000Z
defmodule Cloak.Cipher do @moduledoc """ Crypto related functions """ @type method :: atom() @type ctx :: tuple() @type t :: %__MODULE__{} alias __MODULE__ defstruct [ method: nil, # encryption method key: nil, # derived key or aead master key # encoding context # cfb and c...
34.784615
130
0.572534
c8eb521ad8c6436eb6bff2c68939911c5ff6a3ec
2,216
ex
Elixir
lib/hxl/eval.ex
drowzy/hcl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
18
2021-09-28T23:15:46.000Z
2021-12-21T15:04:40.000Z
lib/hxl/eval.ex
drowzy/hxl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
4
2021-09-28T14:50:16.000Z
2022-03-29T13:22:49.000Z
lib/hxl/eval.ex
drowzy/hcl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
null
null
null
defmodule HXL.Eval do @moduledoc false alias HXL.Ast.Body defstruct [:functions, :key_encoder, document: %{}, symbol_table: %{}] @type t :: %__MODULE__{ document: map(), functions: map(), symbol_table: map(), key_encoder: (binary -> term()) } @doc """ Evalua...
28.050633
113
0.590253
c8eb63d656b5a19fdae186ed5186d8e36171a8ae
555
ex
Elixir
lib/contai_web/views/changeset_view.ex
AkioCode/calculatorAPI_ex
e4fc9e8d4df69f8a50c021b6fb7cd55dfb9436e2
[ "MIT" ]
null
null
null
lib/contai_web/views/changeset_view.ex
AkioCode/calculatorAPI_ex
e4fc9e8d4df69f8a50c021b6fb7cd55dfb9436e2
[ "MIT" ]
null
null
null
lib/contai_web/views/changeset_view.ex
AkioCode/calculatorAPI_ex
e4fc9e8d4df69f8a50c021b6fb7cd55dfb9436e2
[ "MIT" ]
null
null
null
defmodule ContaiWeb.ChangesetView do use ContaiWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `ContaiWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset, &tran...
27.75
65
0.736937
c8eb6fa27d29e756b7a1a25fff46712d17413663
19
ex
Elixir
lib/mix/test/fixtures/no_mixfile/lib/a.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/test/fixtures/no_mixfile/lib/a.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/test/fixtures/no_mixfile/lib/a.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule A do end
6.333333
14
0.789474
c8eb81bc317941f920ac7f63d335b3465ee2cee7
1,399
ex
Elixir
lib/scenic_driver_fb_tft.ex
tinyelixir/scenic_driver_fb_tft
87ba75c2ccc262e5fe9344d6512e8c667419a255
[ "MIT" ]
null
null
null
lib/scenic_driver_fb_tft.ex
tinyelixir/scenic_driver_fb_tft
87ba75c2ccc262e5fe9344d6512e8c667419a255
[ "MIT" ]
null
null
null
lib/scenic_driver_fb_tft.ex
tinyelixir/scenic_driver_fb_tft
87ba75c2ccc262e5fe9344d6512e8c667419a255
[ "MIT" ]
null
null
null
defmodule ScenicDriverFBTFT do use Scenic.ViewPort.Driver alias Scenic.ViewPort.Driver require Logger @default_refresh_rate 200 @minimal_refresh_rate 100 @impl true def init(viewport, size, config) do vp_supervisor = vp_supervisor(viewport) {:ok, _} = Driver.start_link({vp_supervisor, size, %{m...
23.316667
92
0.639028
c8eb89879069ead71a95b51971b45ca80847d6ec
220
ex
Elixir
lib/k8s/sys/event.ex
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
null
null
null
lib/k8s/sys/event.ex
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
2
2022-03-28T03:22:37.000Z
2022-03-28T03:22:54.000Z
lib/k8s/sys/event.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
null
null
null
defmodule K8s.Sys.Event do @deprecated "Use K8s.Sys.Telemetry instead" @moduledoc """ Telemetry event defimitions for this library """ @spec events() :: list() defdelegate events, to: K8s.Sys.Telemetry end
20
46
0.709091
c8ebac89b44ca22c3f34ac098e1bcd2e13e5434e
1,622
ex
Elixir
lib/drab/template.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
933
2017-01-14T13:47:37.000Z
2022-03-21T18:14:41.000Z
lib/drab/template.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
189
2017-01-15T18:35:06.000Z
2022-01-24T17:41:22.000Z
lib/drab/template.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
54
2017-01-15T18:10:48.000Z
2021-02-06T17:21:44.000Z
defmodule Drab.Template do require IEx require Logger @drab_templates "/templates/drab" @moduledoc false # compiling internal templates only # Logger.debug("Compiling Drab Templates") drab_templates = [:drab |> :code.priv_dir() |> to_string(), @drab_templates, "*"] |> Path.join() |> Path.w...
27.491525
84
0.67201
c8ec277b5b076409f7c5247f94e4129b57472f85
9,056
ex
Elixir
assets/node_modules/phoenix/lib/phoenix/token.ex
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
assets/node_modules/phoenix/lib/phoenix/token.ex
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
assets/node_modules/phoenix/lib/phoenix/token.ex
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
defmodule Phoenix.Token do @moduledoc """ Tokens provide a way to generate and verify bearer tokens for use in Channels or API authentication. The data stored in the token is signed to prevent tampering but not encrypted. This means it is safe to store identification information (such as user IDs) but shou...
38.21097
98
0.6875
c8ec4823954fc03f0639d060f07997917d4702fc
4,294
exs
Elixir
test/json_schema_test_suite/draft7/pattern_properties_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
test/json_schema_test_suite/draft7/pattern_properties_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
test/json_schema_test_suite/draft7/pattern_properties_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule JsonSchemaTestSuite.Draft7.PatternPropertiesTest do use ExUnit.Case import Xema, only: [valid?: 2] describe ~s|patternProperties validates properties matching a regex| do setup do %{ schema: Xema.from_json_schema( %{"patternProperties" => %{"f.*o" => %{"type" =>...
27.525641
97
0.539124
c8ec5cfccaf9c76d82fd3c82bb61db769f200a9b
684
ex
Elixir
lib/griffin/model/model.ex
craigspaeth/griffin
44a59e08b119b4725369e90dc1398b9ec51173b7
[ "MIT" ]
null
null
null
lib/griffin/model/model.ex
craigspaeth/griffin
44a59e08b119b4725369e90dc1398b9ec51173b7
[ "MIT" ]
2
2017-12-11T06:40:30.000Z
2018-03-06T06:04:05.000Z
lib/griffin/model/model.ex
craigspaeth/griffin
44a59e08b119b4725369e90dc1398b9ec51173b7
[ "MIT" ]
null
null
null
defmodule Griffin.Model do alias Griffin.Model.Validations alias Griffin.Model.DSL @moduledoc """ Module for importing into model modules. Provides fuctions like `validate` that are helpful for common model functionality. """ @doc """ A model resolver that given a fields DSL will ensure it's valid or ...
25.333333
76
0.685673
c8ec5e497c7ecfcb7186a94c3bec19092bb9d714
15,132
ex
Elixir
lib/feedistiller.ex
sdanzan/feedistiller
c1f4cdcc3991c84052f1269225971365207b3acf
[ "Apache-2.0" ]
null
null
null
lib/feedistiller.ex
sdanzan/feedistiller
c1f4cdcc3991c84052f1269225971365207b3acf
[ "Apache-2.0" ]
null
null
null
lib/feedistiller.ex
sdanzan/feedistiller
c1f4cdcc3991c84052f1269225971365207b3acf
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Serge Danzanvilliers <serge.danzanvilliers@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
35.521127
140
0.650872
c8ecb27cf9d6bb9207ddf162b00a8b234e8ff260
238
ex
Elixir
lib/open890/transverter_state.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
45
2021-01-24T01:54:04.000Z
2022-02-28T03:28:13.000Z
lib/open890/transverter_state.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
57
2021-01-28T19:18:33.000Z
2022-01-23T17:31:50.000Z
lib/open890/transverter_state.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
5
2021-01-27T02:29:42.000Z
2022-01-15T14:03:24.000Z
defmodule Open890.TransverterState do defstruct enabled: false, offset: 0 def apply_offset(%__MODULE__{} = state, freq) when is_integer(freq) do if state.enabled do freq + state.offset else freq end end end
19.833333
72
0.689076
c8ecbeece8335d5a693032a22ef4b64dc44f3e41
9,087
exs
Elixir
lib/iex/test/iex/helpers_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule IEx.HelpersTest do use IEx.Case import IEx.Helpers @doc """ Test function 1 """ def test_fun_1 @doc """ Test function 2 """ def test_fun_1(arg) test "h helper" do assert "# IEx.Helpers\n\nWelcome to Interactive Elixir" <> _ ...
28.220497
108
0.616045
c8ecc0de28910e9c8e27570b6adb6201f63c446a
188
ex
Elixir
lib/ex_unit_notifier/notifiers/terminal_title.ex
rauann/ex_unit_notifier
10697ff39313b335037e92bb21bd6830bef27b2e
[ "MIT" ]
1
2020-10-28T20:01:19.000Z
2020-10-28T20:01:19.000Z
lib/ex_unit_notifier/notifiers/terminal_title.ex
danielgrover/ex_unit_notifier
7b0525655aa64639bf2a00b44c6b207ad24198fa
[ "MIT" ]
null
null
null
lib/ex_unit_notifier/notifiers/terminal_title.ex
danielgrover/ex_unit_notifier
7b0525655aa64639bf2a00b44c6b207ad24198fa
[ "MIT" ]
null
null
null
defmodule ExUnitNotifier.Notifiers.TerminalTitle do @moduledoc false def notify(_status, message), do: IO.puts(:stderr, "\e]2;ExUnit - #{message} \a") def available?, do: true end
23.5
83
0.718085
c8eccf4322af0e84429077391c2e7e406d1ed295
90
exs
Elixir
test/instrumenter_test.exs
prosapient/spandex_phoenix
487a635f3334e9aa0a4c86c7abc656ac00a6acc8
[ "MIT" ]
69
2018-09-14T18:17:50.000Z
2022-01-11T01:20:55.000Z
test/instrumenter_test.exs
prosapient/spandex_phoenix
487a635f3334e9aa0a4c86c7abc656ac00a6acc8
[ "MIT" ]
49
2018-10-11T02:47:58.000Z
2022-03-17T09:10:07.000Z
test/instrumenter_test.exs
prosapient/spandex_phoenix
487a635f3334e9aa0a4c86c7abc656ac00a6acc8
[ "MIT" ]
27
2018-09-19T14:14:06.000Z
2022-03-07T21:16:33.000Z
defmodule InstrumenterTest do use ExUnit.Case doctest SpandexPhoenix.Instrumenter end
18
37
0.844444
c8ed0364c78873d7d97cc9809e30b38bcb1360da
2,808
ex
Elixir
lib/cforum_web/sortable.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/sortable.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/sortable.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.Sortable do def sortable(conn, text, field, path_helper, opts \\ []) do extra_args = opts[:link_args] || [] action = Phoenix.Controller.action_name(conn) column = sort_column(conn) dir = sort_direction(conn) cond do column == field && dir == :desc_nulls_last -> ...
33.035294
110
0.648504
c8ed3a44fd94282e34feec44146ef69db016fb0c
2,694
exs
Elixir
test/grizzly/smart_start/meta_extension/product_id_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly/smart_start/meta_extension/product_id_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly/smart_start/meta_extension/product_id_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.SmartStart.MetaExtension.ProductIdTest do use ExUnit.Case, async: true alias Grizzly.SmartStart.MetaExtension.ProductId test "make a new product id" do expected_product_id = %ProductId{ manufacturer_id: 0x4001, product_type: 0x2000, product_id: 0x1234, application_ve...
34.101266
92
0.662584
c8ed55c15bb56710d7f6d9f666ca7c674ab416ab
326
ex
Elixir
lib/nanocrawler/rpc_client/base_client.ex
meltingice/nanocrawler-phoenix
2477e8cb63a04d89eeda676c474e9b89c29da0e5
[ "MIT" ]
1
2020-04-19T07:48:46.000Z
2020-04-19T07:48:46.000Z
lib/nanocrawler/rpc_client/base_client.ex
meltingice/nanocrawler-phoenix
2477e8cb63a04d89eeda676c474e9b89c29da0e5
[ "MIT" ]
2
2021-03-09T20:27:19.000Z
2021-05-10T17:32:50.000Z
lib/nanocrawler/rpc_client/base_client.ex
meltingice/nanocrawler-phoenix
2477e8cb63a04d89eeda676c474e9b89c29da0e5
[ "MIT" ]
null
null
null
defmodule Nanocrawler.RpcClient.BaseClient do defmacro __using__(_) do quote location: :keep do @behaviour Nanocrawler.RpcClient.Behaviour defp process_response(data) do case data do %{"error" => error} -> {:error, error} _ -> {:ok, data} end end end en...
21.733333
48
0.601227
c8ed5fdc80ed1d0e257282d1377fafeab1b0140d
4,300
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/query_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/query_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/query_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
55.128205
397
0.732558
c8ed781345f6266f8e0009b9469dfa979c00bec1
991
ex
Elixir
lib/cineplex/queue/source.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
lib/cineplex/queue/source.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
lib/cineplex/queue/source.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
defmodule Cineplex.Queue.Source do use Ecto.Schema import Ecto.Changeset alias Cineplex.Queue.{ Job, Source } alias Source.Preset schema "queue_sources" do field(:name, :string) field(:endpoint, :string) field(:reel, :string) field(:token, :string) field(:live, :boolean, defau...
23.595238
93
0.621594
c8ed84fc4c104c03f99888a56f516a3ee4e34b1c
890
exs
Elixir
test/integration/strategies/dirty_nif_test.exs
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
null
null
null
test/integration/strategies/dirty_nif_test.exs
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
null
null
null
test/integration/strategies/dirty_nif_test.exs
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
null
null
null
defmodule ZiglerTest.Integration.Strategies.DirtyNifTest do use ExUnit.Case, async: true use Zig ~Z""" /// nif: dirty_cpu_forty_seven/0 dirty_cpu fn dirty_cpu_forty_seven() i32 { // sleep for 2 seconds std.time.sleep(2000000000); return 47; } """ test "dirty_cpu nifs can sleep for a whil...
22.820513
59
0.67191
c8ed8dcefeaf3ee77f92b145a8a9880603f18355
2,064
ex
Elixir
src/token_service/lib/token_service/token.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
1
2021-04-18T20:21:03.000Z
2021-04-18T20:21:03.000Z
src/token_service/lib/token_service/token.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
null
null
null
src/token_service/lib/token_service/token.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
1
2021-04-18T20:21:08.000Z
2021-04-18T20:21:08.000Z
defmodule TokenService.Token do use Joken.Config require Logger @impl true def token_config do default_claims(iss: "", default_exp: 3 * 24 * 60 * 60, skip: ["aud", "jti"]) |> add_claim("uid", nil, &is_valid_uid/1) end def default_signer(), do: Joken.Signer.create("HS256", Application.fetch_env!(:t...
24.86747
109
0.593023
c8edb5d16721bbe43bb27a87c423c38dd96f3c88
1,360
ex
Elixir
lib/bigflake.ex
sgerrand/bigflake
7bf4fe45bf29367bf30ffbbf335079af8722469e
[ "MIT" ]
46
2016-03-13T16:17:21.000Z
2022-03-27T22:55:40.000Z
lib/bigflake.ex
sgerrand/bigflake
7bf4fe45bf29367bf30ffbbf335079af8722469e
[ "MIT" ]
28
2018-08-08T02:43:05.000Z
2021-09-06T16:58:16.000Z
lib/bigflake.ex
sgerrand/bigflake
7bf4fe45bf29367bf30ffbbf335079af8722469e
[ "MIT" ]
6
2016-03-17T22:24:54.000Z
2021-02-01T11:48:21.000Z
defmodule Bigflake do @moduledoc """ """ use GenServer import Bigflake.Base62, only: [encode: 2] alias Bigflake.Minter # Client @doc """ Starts the Bigflake server. """ def start_link(worker_id) do GenServer.start_link(__MODULE__, worker_id, name: __MODULE__) end @doc """ Stops the B...
19.710145
65
0.620588
c8edd35245b9bf33dd5abb0efbe36ce538cd2b03
4,461
ex
Elixir
test/mocks/client.ex
dkolb/lodestoner_ex
19371238078d6540f558ad5095f91bc6e47e0547
[ "MIT" ]
2
2016-11-24T06:35:04.000Z
2017-06-06T20:24:38.000Z
test/mocks/client.ex
dkolb/lodestoner_ex
19371238078d6540f558ad5095f91bc6e47e0547
[ "MIT" ]
null
null
null
test/mocks/client.ex
dkolb/lodestoner_ex
19371238078d6540f558ad5095f91bc6e47e0547
[ "MIT" ]
null
null
null
defmodule LodestonerEx.Client.MOCKREST do @moduledoc false @root_dir File.cwd! @fixture_dir Path.join(~w(#{@root_dir} test fixtures)) def get_minimal_char, do: get!("/character/15893891").body def get_full_char, do: get!("/character/6128486").body def get_achievement(page), do: get!("/cha...
33.291045
113
0.594486
c8ede15fcdf2ecaeb23d945afc2e2db5d126a479
905
ex
Elixir
lib/web/template/sanitizer.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
lib/web/template/sanitizer.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
lib/web/template/sanitizer.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.TemplateSanitizer do @type safe :: {:safe, String.t} @doc """ Marks data as HTML safe to avoid double-escaping. """ defun raw(data :: String.t | safe) :: safe do {:safe, data} -> {:safe, data} ...
23.815789
81
0.556906
c8edeba9df4a843a566f7339c5d728850c7bae00
2,083
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_list_warning.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/router_list_warning.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...
38.574074
194
0.716275
c8ee08b00f115a28594cee94c21c01dd7435f93c
24
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_type_operation_parsing_test_case/UnaryNumericOperation.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/matched_type_operation_parsing_test_case/UnaryNumericOperation.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/matched_type_operation_parsing_test_case/UnaryNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
!0 :: not 1 not 0 :: !1
8
11
0.416667
c8ee37df6b69467eb6f966e42de9a3ef942b766b
690
exs
Elixir
apps/commuter_rail_boarding/test/trip_updates/producer_consumer_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2022-01-30T20:53:07.000Z
2022-01-30T20:53:07.000Z
apps/commuter_rail_boarding/test/trip_updates/producer_consumer_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
47
2021-05-05T10:31:05.000Z
2022-03-30T22:18:14.000Z
apps/commuter_rail_boarding/test/trip_updates/producer_consumer_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2021-05-14T00:35:08.000Z
2021-05-14T00:35:08.000Z
defmodule TripUpdates.ProducerConsumerTest do @moduledoc false use ExUnit.Case, async: true import TripUpdates.ProducerConsumer alias BoardingStatus describe "handle_events/3" do test "returns a TripUpdates_enhanced.json file" do {_, state, _} = init([]) statuses = [ %BoardingStatus{...
26.538462
76
0.617391
c8ee3f1aae1ed9854b6c9563be3d1c9881d5c28b
12,778
ex
Elixir
lib/ex_hl7/segment/default/obx.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
null
null
null
lib/ex_hl7/segment/default/obx.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
null
null
null
lib/ex_hl7/segment/default/obx.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
null
null
null
defmodule HL7.Segment.Default.OBX do @moduledoc "7.4.2 OBX - observation/result segment" use HL7.Segment.Spec require HL7.Composite.Default.CWE, as: CWE require HL7.Composite.Default.Dynamic, as: Dynamic require HL7.Composite.Default.SN, as: SN require HL7.Composite.Default.XAD, as: XAD require HL7.Compo...
90.624113
167
0.5234
c8ee4c8d6e96bff082e7cbc1b050e8b47951c190
182
exs
Elixir
priv/repo/migrations/20160223174326_add_published_at_to_articles.exs
NorifumiKawamoto/ginjyo
8e28438db4675bb55ba090614c6834190adb61b1
[ "MIT" ]
null
null
null
priv/repo/migrations/20160223174326_add_published_at_to_articles.exs
NorifumiKawamoto/ginjyo
8e28438db4675bb55ba090614c6834190adb61b1
[ "MIT" ]
null
null
null
priv/repo/migrations/20160223174326_add_published_at_to_articles.exs
NorifumiKawamoto/ginjyo
8e28438db4675bb55ba090614c6834190adb61b1
[ "MIT" ]
null
null
null
defmodule Ginjyo.Repo.Migrations.AddPublishedAtToArticles do use Ecto.Migration def change do alter table(:articles) do add :published_at, :datetime end end end
18.2
60
0.736264
c8ee5d9d91bab69c813b31d1a5418da73e636437
880
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/spanner/lib/google_api/spanner/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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...
32.592593
74
0.757955
c8ee67782ee50fd2666188e248eab33b892b1d45
580
ex
Elixir
lib/small_url/links/short_links.ex
AlexJuca/small-url
25f4828ac3566a435b15e6b9581e1e1e508d6650
[ "Apache-2.0" ]
7
2021-06-28T14:43:10.000Z
2021-09-21T21:00:30.000Z
lib/small_url/links/short_links.ex
AlexJuca/small-url
25f4828ac3566a435b15e6b9581e1e1e508d6650
[ "Apache-2.0" ]
2
2021-06-30T21:43:06.000Z
2021-07-01T16:40:10.000Z
lib/small_url/links/short_links.ex
AlexJuca/small-url
25f4828ac3566a435b15e6b9581e1e1e508d6650
[ "Apache-2.0" ]
null
null
null
defmodule SmallUrl.Links.ShortLinks do use Ecto.Schema import Ecto.Changeset alias SmallUrl.Links.Click @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "short_links" do field :expiration_date, :naive_datetime field :ip, :string field :key, :string fiel...
23.2
56
0.694828
c8ee86f081a1b86d63bd7f862f38bcc30494fe4a
1,210
ex
Elixir
lib/api_elixir_films_web/endpoint.ex
brandaoplaster/api_elixir_films
9594761bb0d2463132b904c5adbed6d9664bb7ff
[ "MIT" ]
null
null
null
lib/api_elixir_films_web/endpoint.ex
brandaoplaster/api_elixir_films
9594761bb0d2463132b904c5adbed6d9664bb7ff
[ "MIT" ]
null
null
null
lib/api_elixir_films_web/endpoint.ex
brandaoplaster/api_elixir_films
9594761bb0d2463132b904c5adbed6d9664bb7ff
[ "MIT" ]
null
null
null
defmodule ApiElixirFilmsWeb.Endpoint do use Phoenix.Endpoint, otp_app: :api_elixir_films socket "/socket", ApiElixirFilmsWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # wh...
26.888889
63
0.714876
c8eee5a566c4471baf76adbd887b21898ff8e242
703
ex
Elixir
lib/bakery/server.ex
litzingr/bakery-elixir
6bb0e5889657027270961e4b52664839da4df52a
[ "MIT" ]
null
null
null
lib/bakery/server.ex
litzingr/bakery-elixir
6bb0e5889657027270961e4b52664839da4df52a
[ "MIT" ]
null
null
null
lib/bakery/server.ex
litzingr/bakery-elixir
6bb0e5889657027270961e4b52664839da4df52a
[ "MIT" ]
null
null
null
defmodule Server do def hire_servers(manager, number_of_servers) do IO.puts("making servers") servers = (1..number_of_servers) |> Enum.map(fn (n) -> spawn(Server, :free, [self(), manager, n]) end) servers end def free(server_number, manager, n) do IO.inspect("server initiated #{n}") se...
23.433333
75
0.620199
c8ef056952c87045972ad925fcaa8a5804eb665e
1,374
ex
Elixir
out/manticoresearch-elixir/lib/manticoresearch/deserializer.ex
mihaj/openapi
29e878b0be1218a897c4c86bf9d8d51f4d1a3e57
[ "MIT" ]
null
null
null
out/manticoresearch-elixir/lib/manticoresearch/deserializer.ex
mihaj/openapi
29e878b0be1218a897c4c86bf9d8d51f4d1a3e57
[ "MIT" ]
3
2021-12-21T08:18:48.000Z
2022-03-24T10:50:37.000Z
out/manticoresearch-elixir/lib/manticoresearch/deserializer.ex
mihaj/openapi
29e878b0be1218a897c4c86bf9d8d51f4d1a3e57
[ "MIT" ]
5
2021-12-11T06:10:14.000Z
2022-03-18T11:05:24.000Z
# Manticore Search Client # Copyright (c) 2020-2021, Manticore Software LTD (https://manticoresearch.com) # # All rights reserved # Do not edit the class manually. defmodule Manticoresearch.Deserializer do @moduledoc """ Helper functions for deserializing responses into models """ @doc """ Update the provi...
32.714286
139
0.63246
c8ef0e1bf7c7ea9967cae214fc13a86b9b07bf71
3,537
ex
Elixir
lib/ex_ari/http/endpoints.ex
Amtelco-Software/ex_ari
3280d830a7911d11bf30878a99b2534058a145bd
[ "MIT" ]
null
null
null
lib/ex_ari/http/endpoints.ex
Amtelco-Software/ex_ari
3280d830a7911d11bf30878a99b2534058a145bd
[ "MIT" ]
null
null
null
lib/ex_ari/http/endpoints.ex
Amtelco-Software/ex_ari
3280d830a7911d11bf30878a99b2534058a145bd
[ "MIT" ]
null
null
null
defmodule ARI.HTTP.Endpoints do @moduledoc """ HTTP Interface for CRUD operations on Endpoint objects REST Reference: https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Endpoints+REST+API Endpoint Object: https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+REST+Data+Models#Asterisk18RESTDataModels-Endp...
30.230769
145
0.65564
c8ef3162beec611f3d4e565553cee8152edd2492
1,885
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation_detected_language.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation_detected_language.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation_detected_language.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.070175
126
0.735279
c8ef4998abef78dc8d5ad91ce199332038ef12b3
1,129
ex
Elixir
lib/prometheus_telemetry/metrics/vm.ex
theblitzapp/prometheus_telemetry_elixir
a2c81e84f832c622ac5eb98bca89526a52cca3f0
[ "MIT" ]
3
2022-03-20T00:21:06.000Z
2022-03-31T13:40:20.000Z
lib/prometheus_telemetry/metrics/vm.ex
theblitzapp/prometheus_telemetry_elixir
a2c81e84f832c622ac5eb98bca89526a52cca3f0
[ "MIT" ]
null
null
null
lib/prometheus_telemetry/metrics/vm.ex
theblitzapp/prometheus_telemetry_elixir
a2c81e84f832c622ac5eb98bca89526a52cca3f0
[ "MIT" ]
null
null
null
defmodule PrometheusTelemetry.Metrics.VM do @moduledoc """ These metrics give you some basic VM statistics from erlang, this includes: - `erlang.vm.memory` - `erlang.vm.run_queue.total` - `erlang.vm.run_queue.cpu` - `erlang.vm.run_queue.io` """ import Telemetry.Metrics, only: [last_value: 2, s...
23.040816
77
0.58636
c8ef6636229eb00b52ff800f49b83dd5fdf6eac5
1,520
ex
Elixir
clients/redis/lib/google_api/redis/v1beta1/model/input_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/redis/lib/google_api/redis/v1beta1/model/input_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/redis/lib/google_api/redis/v1beta1/model/input_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.340426
153
0.744079
c8ef842f91b1449ac805f7fb35602736c1f7937f
8,127
ex
Elixir
apps/core/lib/utils/importer/helper/helper81.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/core/lib/utils/importer/helper/helper81.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/core/lib/utils/importer/helper/helper81.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule Core.Utils.Importer.Helper81 do import OverDB.Builder.Query alias Core.DataModel.{Keyspace.Tangle, Table.Bundle, Table.Edge, Table.ZeroValue} alias Core.Utils.Importer.Worker81 @bundle_cql_for_address_row "INSERT INTO tangle.bundle (bh,lb,ts,ix,id,va,a,d,e,g) VALUES (?,?,?,?,?,?,?,?,?,?)" @bundle_c...
32.12253
142
0.607358
c8ef8b7fc0bfcb8f1d288a3ef06b3ee0566c55dc
326
ex
Elixir
lib/codes/codes_l88.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_l88.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_l88.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_L88 do alias IcdCode.ICDCode def _L88 do %ICDCode{full_code: "L88", category_code: "L88", short_code: "", full_name: "Pyoderma gangrenosum", short_name: "Pyoderma gangrenosum", category_name: "Pyoderma gangrenosum" } end...
20.375
47
0.619632
c8efcbe0fec0f69f26111efec7aca522bdba51b4
3,012
ex
Elixir
lib/webapp_web/emails/user_email.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
lib/webapp_web/emails/user_email.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
lib/webapp_web/emails/user_email.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule WebappWeb.Emails.UserEmail do use WebappWeb, :email @moduledoc """ A module for sending emails to the user. This module provides functions to be used with the Phauxth authentication library when confirming users or handling password resets. It uses Bamboo, with the LocalAdapter, which is a good ...
28.961538
94
0.690571
c8efe3fffc0becd5f4f8a453ec3ec42d69f4f5aa
1,075
ex
Elixir
apps/eth_geth_adapter/lib/eth_geth_adapter/transaction.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/eth_geth_adapter/lib/eth_geth_adapter/transaction.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/eth_geth_adapter/lib/eth_geth_adapter/transaction.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
29.861111
74
0.747907
c8efe6e4467e49a2ca1ddebca17fc21cb620a058
110
exs
Elixir
test/bert_test.exs
lastcanal/bert
0a53f0b372fb469b56c258fcc926a8e4a3409c6d
[ "WTFPL" ]
null
null
null
test/bert_test.exs
lastcanal/bert
0a53f0b372fb469b56c258fcc926a8e4a3409c6d
[ "WTFPL" ]
null
null
null
test/bert_test.exs
lastcanal/bert
0a53f0b372fb469b56c258fcc926a8e4a3409c6d
[ "WTFPL" ]
null
null
null
defmodule BertTest do use ExUnit.Case doctest Bert test "the truth" do assert 1 + 1 == 2 end end
12.222222
21
0.654545
c8efef0ce68675c13cc19b3a5dce88c2257b58e4
2,516
ex
Elixir
lib/sql_dust/utils/schema_utils.ex
rodrigo-dap/sql_dust
8fc06bbdb103bd013509b3f5baf071c4584f0775
[ "MIT", "Unlicense" ]
66
2016-02-04T21:31:43.000Z
2016-03-14T19:41:26.000Z
lib/sql_dust/utils/schema_utils.ex
rodrigo-dap/sql_dust
8fc06bbdb103bd013509b3f5baf071c4584f0775
[ "MIT", "Unlicense" ]
11
2016-03-22T11:17:43.000Z
2018-04-03T07:30:10.000Z
lib/sql_dust/utils/schema_utils.ex
rodrigo-dap/sql_dust
8fc06bbdb103bd013509b3f5baf071c4584f0775
[ "MIT", "Unlicense" ]
17
2016-05-09T16:42:14.000Z
2021-09-21T22:30:23.000Z
defmodule SqlDust.SchemaUtils do alias SqlDust.MapUtils def derive_schema(path, association, options) when is_bitstring(path) do String.split(path, ".") |> Enum.reduce([], fn ("", segments) -> segments (segment, segments) -> [segment | segments] end) |> Enum.reverse() |>...
29.255814
115
0.638315
c8f008c83b6559c2e99ad332682eb98d1935bff7
78
exs
Elixir
test/forus_web/views/layout_view_test.exs
finalclass/forus
f745d3ef63684b8fa61a904d4032b5ae26931943
[ "MIT" ]
null
null
null
test/forus_web/views/layout_view_test.exs
finalclass/forus
f745d3ef63684b8fa61a904d4032b5ae26931943
[ "MIT" ]
1
2018-06-19T10:38:48.000Z
2018-06-19T10:38:48.000Z
test/forus_web/views/layout_view_test.exs
finalclass/forus
f745d3ef63684b8fa61a904d4032b5ae26931943
[ "MIT" ]
null
null
null
defmodule ForusWeb.LayoutViewTest do use ForusWeb.ConnCase, async: true end
19.5
36
0.820513
c8f02df0b57bd91f7200bb879945a778a451e223
85
exs
Elixir
temperature_logger_umbrella/apps/temperature_logger/test/temperature_logger_test.exs
johnc219/temperature-logger
f8b7d1dbb29f4580588304a98b0c9f5d6b785d3b
[ "MIT" ]
null
null
null
temperature_logger_umbrella/apps/temperature_logger/test/temperature_logger_test.exs
johnc219/temperature-logger
f8b7d1dbb29f4580588304a98b0c9f5d6b785d3b
[ "MIT" ]
1
2019-03-08T23:49:46.000Z
2019-03-08T23:49:46.000Z
temperature_logger_umbrella/apps/temperature_logger/test/temperature_logger_test.exs
johnc219/temperature-logger
f8b7d1dbb29f4580588304a98b0c9f5d6b785d3b
[ "MIT" ]
null
null
null
defmodule TemperatureLoggerTest do use ExUnit.Case doctest TemperatureLogger end
17
34
0.847059
c8f04c62250dbe0c6eb2e2329468e9d06e04c9e2
6,648
exs
Elixir
test/ds_wrapper/query_test.exs
iii-ishida/ds_wrapper
d7a2fbb1c07b33a762743b1c2051b163586fc5d7
[ "MIT" ]
null
null
null
test/ds_wrapper/query_test.exs
iii-ishida/ds_wrapper
d7a2fbb1c07b33a762743b1c2051b163586fc5d7
[ "MIT" ]
null
null
null
test/ds_wrapper/query_test.exs
iii-ishida/ds_wrapper
d7a2fbb1c07b33a762743b1c2051b163586fc5d7
[ "MIT" ]
null
null
null
defmodule DsWrapper.QueryTest do use ExUnit.Case, async: true alias GoogleApi.Datastore.V1.Model.{ CompositeFilter, Filter, KindExpression, Projection, PropertyFilter, PropertyOrder, PropertyReference, Query, Value } @query DsWrapper.Query.new_query("SomeKind") test "new...
34.989474
125
0.551895
c8f0af2d0874f5cf16fb9b0a0cd5064460b3d35b
1,176
ex
Elixir
lib/advent2020/day5/day5.ex
takakoshimizu/advent-of-code-2020
dd0c49396196aa7686f36d596263baff0e64b800
[ "MIT" ]
null
null
null
lib/advent2020/day5/day5.ex
takakoshimizu/advent-of-code-2020
dd0c49396196aa7686f36d596263baff0e64b800
[ "MIT" ]
null
null
null
lib/advent2020/day5/day5.ex
takakoshimizu/advent-of-code-2020
dd0c49396196aa7686f36d596263baff0e64b800
[ "MIT" ]
null
null
null
defmodule Advent2020.Day5 do use Advent2020.Utils alias Advent2020.Day5.Slice def main(input) do seats = input |> Enum.map(&seat_id/1) highest = Enum.max(seats) lowest = Enum.min(seats) missing = Range.new(lowest, highest) |> Enum.find(fn n -> n not in seats end) answer Advent20...
27.348837
95
0.591837
c8f0b615daf5fd3bfcf10fc4e5ebe3116bf4e28e
2,511
exs
Elixir
test/plug/amqp/telemetry_test.exs
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
1
2020-05-12T08:05:09.000Z
2020-05-12T08:05:09.000Z
test/plug/amqp/telemetry_test.exs
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
21
2020-05-08T17:26:15.000Z
2021-08-02T10:24:02.000Z
test/plug/amqp/telemetry_test.exs
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
null
null
null
defmodule Plug.AMQP.TelemetryTest do use ExUnit.Case, async: true def attach_telemetry do this = self() :telemetry.attach_many( this, Enum.map([:start, :stop, :exception], &[:plug_adapter, :call, &1]), fn event, measurements, metadata, :none -> send(this, {:event, event, measurem...
28.862069
84
0.516129
c8f12b8758797b48a4ebfe383709ef7e18fd452c
3,867
exs
Elixir
test/appsignal/instrumentation/decorator_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
test/appsignal/instrumentation/decorator_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
test/appsignal/instrumentation/decorator_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
defmodule UsingAppsignalDecorators do use Appsignal.Instrumentation.Decorators @decorate transaction() def transaction do bar(123) end @decorate transaction(:background_job) def background_transaction do bar(123) end @decorate transaction() def transaction_with_return_value(x) do 2 * x ...
26.668966
98
0.635635
c8f141b10f533da24aa86089b6020bed0dfefc1b
268
ex
Elixir
lib/membrane/core/events/end_of_stream.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
515
2018-06-18T11:09:44.000Z
2020-07-31T07:54:35.000Z
lib/membrane/core/events/end_of_stream.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
120
2018-06-07T08:34:06.000Z
2020-07-30T07:09:50.000Z
lib/membrane/core/events/end_of_stream.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
13
2018-07-27T11:58:15.000Z
2020-05-06T15:19:55.000Z
defmodule Membrane.Core.Events.EndOfStream do @moduledoc false # Sent by Membrane.Element.Action.end_of_stream/ # Invokes `c:Membrane.Element.WithInputPads.end_of_stream/3` callback. @derive Membrane.EventProtocol defstruct [] @type t :: %__MODULE__{} end
29.777778
72
0.768657
c8f146ce70c3ea016ad4eaef18ba0d0f5c711426
971
exs
Elixir
mix.exs
stephanos/rewire
0dbbec223aa3fa667c9fe428f3f59c8c24a38b39
[ "Apache-2.0" ]
54
2020-10-06T09:11:06.000Z
2022-03-14T12:47:49.000Z
mix.exs
stephanos/rewire
0dbbec223aa3fa667c9fe428f3f59c8c24a38b39
[ "Apache-2.0" ]
6
2020-10-07T04:15:37.000Z
2021-11-15T18:46:10.000Z
mix.exs
stephanos/rewire
0dbbec223aa3fa667c9fe428f3f59c8c24a38b39
[ "Apache-2.0" ]
1
2020-10-05T19:36:19.000Z
2020-10-05T19:36:19.000Z
defmodule Rewire.MixProject do use Mix.Project def project do [ app: :rewire, version: "0.8.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), package: package(), description: description(), sou...
21.108696
66
0.575695
c8f1491dc8b40fd269c4da828d99229e2cc1345d
1,528
ex
Elixir
clients/dns/lib/google_api/dns/v1/connection.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/connection.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/connection.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
40.210526
77
0.734948
c8f1733d540b1ab0b9ca3653514cf2405a58f491
1,922
exs
Elixir
config/config.exs
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "Apache-2.0" ]
1
2016-04-28T18:32:10.000Z
2016-04-28T18:32:10.000Z
config/config.exs
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "Apache-2.0" ]
null
null
null
config/config.exs
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "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...
31
73
0.730489
c8f1922d767edcdee9484797a94090d7735a53f1
6,145
ex
Elixir
lib/elixir_ex_aliyun_ots_table_store_search_count_aggregation.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
null
null
null
lib/elixir_ex_aliyun_ots_table_store_search_count_aggregation.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
1
2022-02-08T06:37:02.000Z
2022-02-08T06:37:02.000Z
lib/elixir_ex_aliyun_ots_table_store_search_count_aggregation.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
2
2022-01-24T06:13:03.000Z
2022-01-24T08:33:41.000Z
# credo:disable-for-this-file defmodule(ExAliyunOts.TableStoreSearch.CountAggregation) do @moduledoc false ( defstruct(field_name: nil) ( ( @spec encode(struct) :: {:ok, iodata} | {:error, any} def(encode(msg)) do try do {:ok, encode!(msg)} rescue ...
25.819328
94
0.482181
c8f1a7cb82d315e812622a55517d8cc7a84c94cd
2,627
ex
Elixir
lib/geo_postgis/extension.ex
tierralibre/geo_postgis
8721611be2b47484a968228311b6bde5db8027c4
[ "MIT" ]
null
null
null
lib/geo_postgis/extension.ex
tierralibre/geo_postgis
8721611be2b47484a968228311b6bde5db8027c4
[ "MIT" ]
null
null
null
lib/geo_postgis/extension.ex
tierralibre/geo_postgis
8721611be2b47484a968228311b6bde5db8027c4
[ "MIT" ]
null
null
null
defmodule Geo.PostGIS.Extension do @behaviour Postgrex.Extension @moduledoc """ PostGIS extension for Postgrex. Supports Geometry and Geography data types #Create a new Postgrex Types module: Postgrex.Types.define(MyApp.PostgresTypes, [Geo.PostGIS.Extension], []) #If using with Ecto, you may ...
28.554348
111
0.629235
c8f1b0cd1334a03da233a040e5ba2dd6066e9d4f
789
exs
Elixir
learning/omgneering/GenServerBasic.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
learning/omgneering/GenServerBasic.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
learning/omgneering/GenServerBasic.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
defmodule Basic do use GenServer def start_link do GenServer.start_link(__MODULE__, "Hello") end def init(initial_data) do greetings = %{:greeting => initial_data} {:ok, greetings} end def get_my_greeting(process_id) do GenServer.call(process_id, {:get_the_greeting}) end def set_my_g...
24.65625
76
0.726236
c8f1c56993e0774d2f8fb829963f74e331f11c06
300
exs
Elixir
test/todo_or_die/overdue_error_test.exs
dsdshcym/todo_or_die_elixir
875a20d00917b648635df4f97368652a0b25666d
[ "MIT" ]
5
2019-02-05T13:02:35.000Z
2021-04-26T02:49:57.000Z
test/todo_or_die/overdue_error_test.exs
dsdshcym/todo_or_die_elixir
875a20d00917b648635df4f97368652a0b25666d
[ "MIT" ]
14
2019-04-03T21:14:44.000Z
2021-08-02T21:14:23.000Z
test/todo_or_die/overdue_error_test.exs
dsdshcym/todo_or_die_elixir
875a20d00917b648635df4f97368652a0b25666d
[ "MIT" ]
null
null
null
defmodule TodoOrDie.OverdueErrorTest do use ExUnit.Case alias TodoOrDie.OverdueError test "renders message correctly" do assert_raise OverdueError, "TODO: \"Fix Me\" came due on 2019-06-23. Do it!", fn -> raise OverdueError, todo: "Fix Me", due_at: ~D[2019-06-23] end end end
25
87
0.7
c8f1e6c1e227ee4ea2525c340c0c252f0d5782e3
3,784
exs
Elixir
test/epicenter/cases/address_test.exs
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/epicenter/cases/address_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/epicenter/cases/address_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Cases.AddressTest do use Epicenter.DataCase, async: true alias Epicenter.Accounts alias Epicenter.Cases alias Epicenter.Cases.Address alias Epicenter.Test describe "schema" do test "fields" do assert_schema( Cases.Address, [ {:address_fingerprint, :s...
37.84
117
0.651163
c8f21094cb13efb925a60c96c69de760d66d9322
3,360
ex
Elixir
apps/nerves_hub_www/lib/nerves_hub_www_web/controllers/account_controller.ex
hassanshaikley/nerves_hub_web
9e187eacc0fbaa848d157b832a9ee6223019f0bd
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_www/lib/nerves_hub_www_web/controllers/account_controller.ex
hassanshaikley/nerves_hub_web
9e187eacc0fbaa848d157b832a9ee6223019f0bd
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_www/lib/nerves_hub_www_web/controllers/account_controller.ex
hassanshaikley/nerves_hub_web
9e187eacc0fbaa848d157b832a9ee6223019f0bd
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWWWWeb.AccountController do use NervesHubWWWWeb, :controller alias Ecto.Changeset alias NervesHubWebCore.Accounts alias NervesHubWebCore.Accounts.User alias NervesHubWebCore.Accounts.Email alias NervesHubWebCore.Mailer plug(NervesHubWWWWeb.Plugs.AllowUninvitedSignups when action in [:...
26.666667
82
0.580952
c8f2a318fe8de236edd3659885c48ea448264357
9,019
ex
Elixir
apps/feedex_core/lib/feedex_core/accounts.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_core/lib/feedex_core/accounts.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_core/lib/feedex_core/accounts.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FeedexCore.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias FeedexCore.Repo alias FeedexCore.Accounts.{User, UserToken, UserNotifier} ## Database getters @doc """ Gets a user by email. ## Examples iex> get_user_by_email("foo@example.com")...
25.695157
116
0.663377
c8f2aa99b7cf3e83aaa556560983a42c1c1e09f2
42,651
ex
Elixir
lib/phoenix/controller.ex
codeangler/phoenix
a5ea7869fb6721633fbb2939a102b188dba54235
[ "MIT" ]
null
null
null
lib/phoenix/controller.ex
codeangler/phoenix
a5ea7869fb6721633fbb2939a102b188dba54235
[ "MIT" ]
null
null
null
lib/phoenix/controller.ex
codeangler/phoenix
a5ea7869fb6721633fbb2939a102b188dba54235
[ "MIT" ]
null
null
null
defmodule Phoenix.Controller do import Plug.Conn alias Plug.Conn.AlreadySentError require Logger require Phoenix.Endpoint @unsent [:unset, :set] @moduledoc """ Controllers are used to group common functionality in the same (pluggable) module. For example, the route: get "/users/:id", MyApp....
31.064093
117
0.66934
c8f2c298cf67d0f58bb1ca5337f91196a27f2fa9
3,771
ex
Elixir
template/$PROJECT_NAME$/apps/$PROJECT_NAME$/test/support/factory.ex
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
54
2018-01-24T00:22:57.000Z
2019-01-15T20:03:52.000Z
template/$PROJECT_NAME$/apps/$PROJECT_NAME$/test/support/factory.ex
infinitered/mithril
0bbad29f86c63d9a827dcaaf6fed78a176ab90d7
[ "MIT" ]
3
2018-02-05T18:00:39.000Z
2018-05-04T00:05:20.000Z
template/$PROJECT_NAME$/apps/$PROJECT_NAME$/test/support/factory.ex
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
3
2019-07-12T11:16:42.000Z
2020-06-08T15:03:36.000Z
<% MixTemplates.ignore_file_unless(assigns[:ecto] != nil) %> defmodule <%= @project_name_camel_case %>.Factory do @moduledoc """ Build and insert test data, _bypassing_ the public APIs of domains. USE WITH CAUTION. It is often better to call the domain functions directly to set up test data, because it exercis...
26.1875
78
0.62795
c8f2e43eb2f23b3efb00f8500642422c7eac7664
231
exs
Elixir
apps/omg_watcher_rpc/config/dev.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_watcher_rpc/config/dev.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/config/dev.exs
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :omg_watcher_rpc, environment: :dev config :phoenix, :stacktrace_depth, 20 config :omg_watcher_rpc, OMG.WatcherRPC.Tracer, disabled?: true, env: "development" config :phoenix, :plug_init_mode, :runtime
21
47
0.770563
c8f2e67c5d00334ef6eaaa9f1d368a2fd9a57525
112
ex
Elixir
test/support/structs/test_event.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
test/support/structs/test_event.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
test/support/structs/test_event.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule TestEvent do @moduledoc false use Trento.Event defevent do field :data, :string end end
11.2
24
0.705357
c8f2f5c5a034b98b6cfbaace9a2f06c2933b1868
248
exs
Elixir
.formatter.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
null
null
null
.formatter.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
null
null
null
.formatter.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
1
2022-03-26T12:13:19.000Z
2022-03-26T12:13:19.000Z
# Used by "mix format" locals_without_parens = [ defn: 2, defnp: 2 ] [ locals_without_parens: locals_without_parens, export: [locals_without_parens: locals_without_parens], inputs: ["{mix,.formatter}.exs", "{lib,test}/**/*.{ex,exs}"] ]
19.076923
62
0.685484
c8f31530e3e4a33c9622681446cf9a9c00f5c030
729
exs
Elixir
config/config.exs
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
38
2015-11-07T23:54:26.000Z
2021-04-09T04:14:25.000Z
config/config.exs
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
2
2015-11-23T15:00:34.000Z
2015-11-26T09:59:26.000Z
config/config.exs
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
6
2015-11-26T00:25:22.000Z
2020-03-04T22:13:59.000Z
use Mix.Config # General application configuration config :queerlink, ecto_repos: [Queerlink.Repo] # Configures the endpoint config :queerlink, QueerlinkWeb.Endpoint, url: [host: "localhost"], secret_key_base: "lJ45LkYUsB2FxQQWWQATztvbln4TyZZSPtm/esGoCdMN5nHxleKP1CVwTIkLW48I", render_errors: [view: QueerlinkW...
31.695652
86
0.758573
c8f328f7d8133ec5882a2abd4afd5db28a2297e8
1,667
ex
Elixir
ex_cubic_ingestion/test/support/data_case.ex
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
1
2022-01-30T21:02:48.000Z
2022-01-30T21:02:48.000Z
ex_cubic_ingestion/test/support/data_case.ex
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
21
2022-01-25T16:35:50.000Z
2022-03-31T19:42:52.000Z
ex_cubic_ingestion/test/support/data_case.ex
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
1
2022-02-02T14:34:17.000Z
2022-02-02T14:34:17.000Z
defmodule ExCubicIngestion.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes ...
28.254237
77
0.694061
c8f3312921c1e0d1ae52c1a3fb82e20eb63c985e
423
ex
Elixir
apps/quickstart_web/lib/quickstart_web/graphql/resolvers/signup.ex
jdcumpson/elixir-phoenix-ssr-redux-postgres
20ecf8bac1322be273ed6441bb586b8574998286
[ "MIT" ]
1
2020-11-04T04:32:56.000Z
2020-11-04T04:32:56.000Z
apps/quickstart_web/lib/quickstart_web/graphql/resolvers/signup.ex
jdcumpson/elixir-phoenix-ssr-redux-postgres
20ecf8bac1322be273ed6441bb586b8574998286
[ "MIT" ]
4
2021-10-06T22:46:17.000Z
2022-02-27T12:04:59.000Z
apps/quickstart_web/lib/quickstart_web/graphql/resolvers/signup.ex
jdcumpson/elixir-phoenix-ssr-redux-postgres
20ecf8bac1322be273ed6441bb586b8574998286
[ "MIT" ]
null
null
null
defmodule QuickstartWeb.GraphQL.Resolvers.Signup do alias Quickstart.Repo alias Quickstart.Signup def mutation_signup(_parent, args, _context) do result = Signup.changeset(%Signup{}, args) |> Repo.insert() case result do {:error, error} -> {:error, error} {:ok, %Signup{e...
21.15
51
0.626478
c8f3779ae05b6e4066f0aaf1aa47a7021cf45520
1,141
exs
Elixir
uderzo_example/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
46
2018-05-08T12:06:18.000Z
2022-03-23T18:30:13.000Z
uderzo_example/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
13
2018-05-08T11:42:00.000Z
2018-09-17T22:41:55.000Z
uderzo_example/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
4
2018-06-06T05:04:00.000Z
2018-07-13T01:23:31.000Z
defmodule UderzoExample.MixProject do use Mix.Project def project do [ app: :uderzo_example, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), make_env: &make_env/0, compilers: Mix.compilers ++ [:clixir, :elixir_make] ] end ...
25.931818
78
0.538124
c8f37af22a9f5820c78921104761c616e54c38b1
6,941
ex
Elixir
apps/discovery_api/test/utils/test_helper.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/discovery_api/test/utils/test_helper.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/discovery_api/test/utils/test_helper.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryApi.Test.Helper do @moduledoc """ Utility functions for tests """ alias DiscoveryApi.Data.Model alias DiscoveryApi.Schemas.Users alias SmartCity.TestDataGenerator, as: TDG @ldap_people_ou "People" @instance DiscoveryApi.instance() def sample_model(values \\ %{}) do %Model{ ...
30.442982
114
0.629016
c8f3882e812a408cf3aa1f0eea26070517adb1dc
2,222
ex
Elixir
lib/hexpm_web/endpoint.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
null
null
null
lib/hexpm_web/endpoint.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
null
null
null
lib/hexpm_web/endpoint.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
null
null
null
defmodule HexpmWeb.Endpoint do use Phoenix.Endpoint, otp_app: :hexpm plug HexpmWeb.Plugs.Forwarded @session_options [ signing_salt: "NOcCmerj", store: HexpmWeb.Session, key: "_hexpm_key", max_age: 60 * 60 * 24 * 30 ] # Serve at "/" the static files from "priv/static" directory. # # You ...
27.432099
98
0.663366
c8f39e367e530de84b23cc3ef6b855d0e63563cf
591
exs
Elixir
elixir/elixir-sips/samples/ip_parser/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/ip_parser/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/ip_parser/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule IpParser.Mixfile do use Mix.Project def project do [app: :ip_parser, version: "0.0.1", elixir: "~> 1.0", deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [:logger]] end # D...
19.064516
77
0.609137
c8f3d4080c0bcd7820dfb5ccd43f8429c21a1cf9
605
exs
Elixir
test/models/user_test.exs
krondev/elm-elixir-starter
3954fb3982e9e2330cfae197c7ecea34402cfcea
[ "MIT" ]
73
2017-06-06T20:10:11.000Z
2020-12-05T22:11:31.000Z
test/models/user_test.exs
krondev/elm-elixir-starter
3954fb3982e9e2330cfae197c7ecea34402cfcea
[ "MIT" ]
8
2017-05-24T02:08:58.000Z
2018-05-11T14:54:29.000Z
test/models/user_test.exs
krondev/elm-elixir-starter
3954fb3982e9e2330cfae197c7ecea34402cfcea
[ "MIT" ]
22
2017-07-30T02:59:23.000Z
2020-12-05T22:13:18.000Z
defmodule Elmelixirstarter.UserTest do use Elmelixirstarter.ModelCase alias Elmelixirstarter.User @valid_attrs %{ image_url: "some content", name: "some content", username: "some content", provider_secret: "some content", provider_token: "some content", twitter_user_id: 42 } @invalid...
23.269231
55
0.709091
c8f3e26bd4ffeb44f3c0dd5a3847667ab7668725
1,690
ex
Elixir
lib/stormcaster_web/endpoint.ex
nuclearfurnace/stormcaster
2ba34f2a6ee18dfa0b8fa546ba82483827785c4c
[ "MIT" ]
null
null
null
lib/stormcaster_web/endpoint.ex
nuclearfurnace/stormcaster
2ba34f2a6ee18dfa0b8fa546ba82483827785c4c
[ "MIT" ]
null
null
null
lib/stormcaster_web/endpoint.ex
nuclearfurnace/stormcaster
2ba34f2a6ee18dfa0b8fa546ba82483827785c4c
[ "MIT" ]
null
null
null
defmodule StormcasterWeb.Endpoint do use Phoenix.Endpoint, otp_app: :stormcaster socket "/socket", StormcasterWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. p...
29.137931
95
0.711243
c8f41c219da48f1517bd758cdc8b145c88d8c921
1,853
ex
Elixir
lib/types/map.ex
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
50
2018-10-09T17:21:08.000Z
2022-01-31T19:48:44.000Z
lib/types/map.ex
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
8
2018-10-09T16:18:10.000Z
2020-05-18T00:25:08.000Z
lib/types/map.ex
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
8
2018-10-07T13:38:22.000Z
2020-05-06T19:59:59.000Z
# Copyright 2018 Faraz Haider. All Rights Reserved. # # 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...
33.690909
110
0.702105
c8f420d08011cb5b27188d00ee79a52b37e5e211
2,672
ex
Elixir
src/dguweb/web/models/dataset.ex
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
2
2016-08-09T16:46:52.000Z
2016-08-09T16:46:59.000Z
src/dguweb/web/models/dataset.ex
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
48
2016-07-14T15:12:41.000Z
2016-09-27T16:19:54.000Z
src/dguweb/web/models/dataset.ex
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
1
2021-04-10T21:23:44.000Z
2021-04-10T21:23:44.000Z
defmodule DGUWeb.Dataset do use DGUWeb.Web, :model alias DGUWeb.CKAN.Client alias DGUWeb.Repo schema "datasets" do field :name, :string field :title, :string field :description, :string field :type, :string field :owner_org, :string, virtual: true belongs_to :theme, DGUWeb.Theme t...
23.034483
80
0.644087
c8f4493090353634411a072bd2e61ca210a29206
85
exs
Elixir
test/icalendar/util/kv_test.exs
clockkcom/icalendar
a476eff9e17f4a386e81e06353a9109645f03388
[ "MIT" ]
82
2016-05-13T10:13:10.000Z
2022-02-23T04:11:12.000Z
test/icalendar/util/kv_test.exs
clockkcom/icalendar
a476eff9e17f4a386e81e06353a9109645f03388
[ "MIT" ]
50
2015-12-24T12:30:55.000Z
2022-03-22T18:13:19.000Z
test/icalendar/util/kv_test.exs
clockkcom/icalendar
a476eff9e17f4a386e81e06353a9109645f03388
[ "MIT" ]
43
2016-05-25T15:11:18.000Z
2022-03-19T16:54:58.000Z
defmodule ICalendar.Util.KVTest do use ExUnit.Case doctest ICalendar.Util.KV end
17
34
0.8
c8f478997fb3340152ca89f75954b9c015735be8
977
ex
Elixir
apps/summoner_web/lib/summoner_web/application.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_web/lib/summoner_web/application.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_web/lib/summoner_web/application.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
defmodule SummonerWeb.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when th...
32.566667
89
0.727738
c8f49c4c7b1b4eecd4a63eac90cbb28b7fd047b1
1,401
ex
Elixir
driver-location/lib/driver_location.ex
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
driver-location/lib/driver_location.ex
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
driver-location/lib/driver_location.ex
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
defmodule DriverLocation do @moduledoc """ Starts a supervisor that runs the HTTP server for on port 4001. """ use Application require Logger # Compile-time configs @nsqlookupds Application.fetch_env!(:driver_location, :nsqlookupds) @nsq_topic Application.fetch_env!(:driver_location, :nsq_topic) @re...
22.596774
71
0.613847
c8f4c6d8e682007d8d5130efa3626a735dfa519c
1,328
ex
Elixir
lib/auto_api/commands/vehicle_status_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/commands/vehicle_status_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/commands/vehicle_status_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
45.793103
80
0.773343
c8f4cb81958dbc75c337715bf6922ebc30b3df81
629
ex
Elixir
lib/release.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
4
2020-08-05T20:05:34.000Z
2020-10-01T10:01:56.000Z
lib/release.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
1
2020-07-08T05:02:12.000Z
2020-09-25T10:05:11.000Z
lib/release.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
1
2020-08-30T12:59:49.000Z
2020-08-30T12:59:49.000Z
defmodule Ketbin.Release do @moduledoc """ This module is used by the entrypoint to migrate the database """ @app :ketbin require Logger def migrate do Application.ensure_all_started(@app) load_app() for repo <- repos() do {:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(...
19.060606
91
0.651828