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
97ff6fd2e930a54652d4f628dc87fb44d62ccb14
1,734
ex
Elixir
lib/events_dashboard_web/telemetry.ex
Hermanlangner/events_dashboard
30d5d3666ac8057bfd91dd33131d8132c97cfec9
[ "MIT" ]
null
null
null
lib/events_dashboard_web/telemetry.ex
Hermanlangner/events_dashboard
30d5d3666ac8057bfd91dd33131d8132c97cfec9
[ "MIT" ]
null
null
null
lib/events_dashboard_web/telemetry.ex
Hermanlangner/events_dashboard
30d5d3666ac8057bfd91dd33131d8132c97cfec9
[ "MIT" ]
null
null
null
defmodule EventsDashboardWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ {:telemetry_poller, measurements: periodic_measurements(), period: 10_000} # A...
32.111111
88
0.677047
97ff82e82a94c8576fc636d9d04fb473e2c45261
1,210
ex
Elixir
lib/indexing_reporter_web/live/admin_live/admin_index.ex
ashton314/indexing-reporter
7bb9d1bb436b18a359ad4855b084b92c076b979d
[ "MIT" ]
null
null
null
lib/indexing_reporter_web/live/admin_live/admin_index.ex
ashton314/indexing-reporter
7bb9d1bb436b18a359ad4855b084b92c076b979d
[ "MIT" ]
null
null
null
lib/indexing_reporter_web/live/admin_live/admin_index.ex
ashton314/indexing-reporter
7bb9d1bb436b18a359ad4855b084b92c076b979d
[ "MIT" ]
null
null
null
defmodule IndexingReporterWeb.AdminIndexLive.AdminIndex do use IndexingReporterWeb, :live_view on_mount IndexingReporterWeb.UserLiveAuth alias IndexingReporter.Logbook.IndexLog alias IndexingReporter.Accounts.User alias IndexingReporter.Repo @impl true def mount(_params, _session, socket) do {:ok, a...
27.5
76
0.681818
97ff9ab1fb1b8796b70bddadee6d146dd077bddf
1,247
ex
Elixir
web/models/map.ex
tomfbiz/enhanced_map
86bb5525dc58e8cb17926ce829659b817949266a
[ "MIT" ]
2
2017-08-28T12:20:28.000Z
2017-08-29T18:50:36.000Z
web/models/map.ex
tomfbiz/enhanced_map
86bb5525dc58e8cb17926ce829659b817949266a
[ "MIT" ]
null
null
null
web/models/map.ex
tomfbiz/enhanced_map
86bb5525dc58e8cb17926ce829659b817949266a
[ "MIT" ]
null
null
null
defmodule EnhancedMap.Map do use EnhancedMap.Web, :model schema "maps" do field :title, :string field :description, :string field :center_lat, :decimal field :center_long, :decimal field :overlay_URL, :string field :overlay_north, :decimal field :overlay_south, :decimal field :overl...
31.974359
58
0.577386
97ff9d15e1567c5416e5d97226bc64ac155475cc
1,160
ex
Elixir
web/channels/user_socket.ex
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
web/channels/user_socket.ex
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
web/channels/user_socket.ex
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
defmodule Pomex.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", Pomex.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authenticat...
30.526316
83
0.7
97ffa65a7c839203583ee7948d9be9592f16bcd6
1,266
ex
Elixir
host_core/lib/host_core/refmaps/manager.ex
mattwilkinsonn/wasmcloud-otp
09b918e08cb566028c0fe9223ce9f0bdbc69b2cd
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core/refmaps/manager.ex
mattwilkinsonn/wasmcloud-otp
09b918e08cb566028c0fe9223ce9f0bdbc69b2cd
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core/refmaps/manager.ex
mattwilkinsonn/wasmcloud-otp
09b918e08cb566028c0fe9223ce9f0bdbc69b2cd
[ "Apache-2.0" ]
null
null
null
defmodule HostCore.Refmaps.Manager do @moduledoc false require Logger alias HostCore.CloudEvent def lookup_refmap(oci_url) do case :ets.lookup(:refmap_table, oci_url) do [pk] -> {:ok, pk} [] -> :error end end def cache_refmap(oci_url, public_key) do :ets.insert(:refmap_table, {oci...
24.346154
78
0.668246
97ffab0e8690b710340bfbc2ada0770b55091d59
953
ex
Elixir
statusboard/test/support/channel_case.ex
olanko/statusboard
ee5135b04ebc1492e9f0a0a96cdfb822bda62763
[ "MIT" ]
null
null
null
statusboard/test/support/channel_case.ex
olanko/statusboard
ee5135b04ebc1492e9f0a0a96cdfb822bda62763
[ "MIT" ]
null
null
null
statusboard/test/support/channel_case.ex
olanko/statusboard
ee5135b04ebc1492e9f0a0a96cdfb822bda62763
[ "MIT" ]
null
null
null
defmodule StatusboardWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interact...
25.078947
73
0.720881
97ffd5b71352fa0c06b3cdac3a3e5536bf6c847b
850
ex
Elixir
lib/manga_providers/providers_behaviour.ex
yashin5/mangaex
2303c49a62527f617f17620931db3371f2b7f4bd
[ "MIT" ]
2
2021-04-22T18:22:48.000Z
2021-06-10T10:23:08.000Z
lib/manga_providers/providers_behaviour.ex
yashin5/mangaex
2303c49a62527f617f17620931db3371f2b7f4bd
[ "MIT" ]
null
null
null
lib/manga_providers/providers_behaviour.ex
yashin5/mangaex
2303c49a62527f617f17620931db3371f2b7f4bd
[ "MIT" ]
null
null
null
defmodule MangaEx.MangaProviders.ProvidersBehaviour do @callback find_mangas(String.t()) :: [{manga_name :: String.t(), manga_url :: String.t()}] | {:error, :client_error | :server_error} | {:ok, :manga_not_found} @callback get_chapters(String.t(), pos_integer()) :: ...
38.636364
92
0.534118
97ffe4f2c3d9e08d2339b7564e39f78a063f3050
821
ex
Elixir
test/support/demands_test/pipeline.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
test/support/demands_test/pipeline.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
test/support/demands_test/pipeline.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Support.DemandsTest.Pipeline do @moduledoc false use Membrane.Pipeline @impl true def handle_init(opts) do children = [ source: opts.source, filter: opts.filter, sink: opts.sink ] links = [ link(:source) |> via_in(:input, buffer: [preferred_size: 50...
20.525
68
0.601705
97ffe5edbc2d626d183ef4fb46d2cf089ca20d0a
441
exs
Elixir
test/price_register_web/views/error_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
4
2021-03-09T19:35:37.000Z
2022-03-20T23:31:19.000Z
test/price_register_web/views/error_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
null
null
null
test/price_register_web/views/error_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
null
null
null
defmodule PriceRegisterWeb.ErrorViewTest do use PriceRegisterWeb.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(PriceRegisterWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 5...
29.4
98
0.748299
3f002a8c77ba2d8ea2c60d9f676aea7c02cccd9a
2,668
ex
Elixir
lib/tds/error.ex
kianmeng/tds
36f228275c2bfde2baa45fe70d29d1eb1d44379b
[ "Apache-2.0" ]
null
null
null
lib/tds/error.ex
kianmeng/tds
36f228275c2bfde2baa45fe70d29d1eb1d44379b
[ "Apache-2.0" ]
null
null
null
lib/tds/error.ex
kianmeng/tds
36f228275c2bfde2baa45fe70d29d1eb1d44379b
[ "Apache-2.0" ]
1
2021-09-07T15:25:40.000Z
2021-09-07T15:25:40.000Z
defmodule Tds.Error do @moduledoc """ Defines the `Tds.Error` struct. The struct has two fields: * `:message`: expected to be a string * `:mssql`: expected to be a keyword list with the fields `line_number`, `number` and `msg_text` ## Usage iex> raise Tds.Error ** (Tds.Error) A...
25.902913
80
0.628561
3f003770f83bdc044da5d156de246deccb189de4
1,554
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_gcs_destination.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...
29.884615
90
0.74453
3f003c7fed6e2d3e11ce8e4341979ec833ef07aa
865
ex
Elixir
example/lib/example_web/router.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
example/lib/example_web/router.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
example/lib/example_web/router.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
defmodule ExampleWeb.Router do use ExampleWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", ExampleWeb do pipe_...
20.595238
57
0.677457
3f00431dd74b6b2736c7c6c7c44e3d48fe891250
460
ex
Elixir
lib/ez_calendar/html/calendars/month_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
7
2016-11-12T07:53:34.000Z
2021-05-19T01:34:27.000Z
lib/ez_calendar/html/calendars/month_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
1
2017-04-06T15:16:22.000Z
2017-04-06T15:16:22.000Z
lib/ez_calendar/html/calendars/month_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
2
2017-04-19T15:03:58.000Z
2018-07-04T19:37:10.000Z
defmodule EZCalendar.HTML.MonthCalendar do @moduledoc false @behaviour EZCalendar.HTML.Calendar use Phoenix.HTML import EZCalendar.HTML.CalendarUtil, only: [build_calendar_row: 2, build_weekdays: 0] def build calendar, func do content_tag(:table, class: "ez-calendar month-calendar") do [ bu...
25.555556
87
0.680435
3f007628803661835f447eabdbfc4063d17d5c6b
8,449
ex
Elixir
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
98.244186
885
0.745295
3f00de0ae7a489d2e30995bb49526e0f032be577
1,109
exs
Elixir
test/bucket_test.exs
taybin/gardenhose
cd82a7d1838d443810a13b75ac609aaac92a2b0b
[ "Apache-2.0" ]
null
null
null
test/bucket_test.exs
taybin/gardenhose
cd82a7d1838d443810a13b75ac609aaac92a2b0b
[ "Apache-2.0" ]
null
null
null
test/bucket_test.exs
taybin/gardenhose
cd82a7d1838d443810a13b75ac609aaac92a2b0b
[ "Apache-2.0" ]
null
null
null
defmodule Gardenhose.BucketTest do use ExUnit.Case, async: true setup do {:ok, bucket} = Gardenhose.Bucket.start_link(name: :test_bucket) {:ok, bucket: bucket} end test "stores values by key", %{bucket: bucket} do assert Gardenhose.Bucket.get(bucket, "milk") == nil Gardenhose.Bucket.put(bucke...
32.617647
68
0.677187
3f00ec2bcbb147f7760b971ee98a8d22b41ce9f2
666
ex
Elixir
lib/usho/application.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
lib/usho/application.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
lib/usho/application.ex
agleb/usho
e5971569c67e53049c8ce3ccf24d52df7e185026
[ "MIT" ]
null
null
null
defmodule Usho.Application do @moduledoc false use Application def start(_type, _args) do children = [ %{id: Usho.Redis.Supervisor, start: {Usho.Redis.Supervisor, :start_link, []}}, %{id: Usho.HashID, start: {Usho.HashID, :start_link, []}}, %{id: Usho.StatsWorker, start: {Usho.StatsWorker,...
27.75
84
0.660661
3f0104acb66bbd66e724ad8e9c4319ebd7e9ce0c
2,439
exs
Elixir
test/controllers/user_controller_test.exs
cjeich/MysteryNightServer
36f37187c67562ceb4d6383b0d22b43cbe504515
[ "Apache-2.0" ]
null
null
null
test/controllers/user_controller_test.exs
cjeich/MysteryNightServer
36f37187c67562ceb4d6383b0d22b43cbe504515
[ "Apache-2.0" ]
null
null
null
test/controllers/user_controller_test.exs
cjeich/MysteryNightServer
36f37187c67562ceb4d6383b0d22b43cbe504515
[ "Apache-2.0" ]
null
null
null
defmodule MysteryNight.UserControllerTest do use MysteryNight.ConnCase alias MysteryNight.User @valid_attrs %{email: "some content", first_name: "some content", last_name: "some content", password: "some content", super_admin: true, type: "some content"} @invalid_attrs %{} test "lists all entries on index",...
36.402985
161
0.681017
3f011efdd3f7909a0347001b3d830b59b960fbf8
1,535
ex
Elixir
lib/wishlist_web/live/event_live/form_component.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/live/event_live/form_component.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/live/event_live/form_component.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
defmodule WishlistWeb.EventLive.FormComponent do use WishlistWeb, :live_component alias Wishlist.Wishlists @impl true def update(%{event: event} = assigns, socket) do changeset = Wishlists.change_event(event) {:ok, socket |> assign(assigns) |> assign(:changeset, changeset)} end @i...
27.410714
70
0.646906
3f012754a97ef7d1ca766fce330442e7019bdf5f
403
exs
Elixir
elixir/samples/ex_czmq/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/samples/ex_czmq/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/samples/ex_czmq/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule ExCzmq.Mixfile do use Mix.Project def project do [app: :ex_czmq, version: "0.0.1", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def application do [applications: [:logger]] end defp deps do [ ...
17.521739
74
0.583127
3f012819388098e5f5ee693124ed0c15af729cb4
778
exs
Elixir
test/interpolation_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/interpolation_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/interpolation_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Celery.InterpolationTest do use ExUnit.Case alias FarmbotOS.Celery.Interpolation test "guess_z_value/2 - base case" do soil_points = [ %{x: 0, y: 0, z: 0}, %{x: 10, y: 10, z: 10} ] current_xy = %{x: 4, y: 4} actual = soil_points |> Interpolation.guess...
19.948718
48
0.541131
3f0129664d46c36e0538a6bb79c79aa64b7f59bb
7,545
ex
Elixir
lib/nostrum/util.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
lib/nostrum/util.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
lib/nostrum/util.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
defmodule Nostrum.Util do @moduledoc """ Utility functions """ alias Nostrum.{Api, Constants} alias Nostrum.Shard.Stage.Producer alias Nostrum.Struct.Snowflake require Logger @doc """ Gets all producers Nostrum event producers. To be used when creating custom consumer processes. ## Example ...
26.289199
99
0.625315
3f014281a910116d44767c4f73ba515f70903389
790
ex
Elixir
lib/ex_kdl/node.ex
benjreinhart/ex_kdl
42ce19b1ae2d3e05227c70a19a5c8a95e5837e78
[ "MIT" ]
1
2021-10-05T20:54:28.000Z
2021-10-05T20:54:28.000Z
lib/ex_kdl/node.ex
benjreinhart/ex_kdl
42ce19b1ae2d3e05227c70a19a5c8a95e5837e78
[ "MIT" ]
1
2021-10-01T23:21:46.000Z
2021-10-01T23:21:46.000Z
lib/ex_kdl/node.ex
benjreinhart/kdl-ex
42ce19b1ae2d3e05227c70a19a5c8a95e5837e78
[ "MIT" ]
null
null
null
defmodule ExKdl.Node do @moduledoc """ The struct to represent KDL nodes. Its fields are: * `name` - The name of the node * `type` - The (optional) type of the node * `values` - A list of the node's values, represented as `ExKdl.Value` structs * `properties` - A map of the node's properties, using b...
24.6875
75
0.591139
3f014702a1305fda2ac00c09c3aa1bd5de7dc92d
1,051
ex
Elixir
lib/elm_colors.ex
wsmoak/elm_colors
94dd2887965274938de4722adfaf19d6bd939b04
[ "MIT" ]
null
null
null
lib/elm_colors.ex
wsmoak/elm_colors
94dd2887965274938de4722adfaf19d6bd939b04
[ "MIT" ]
null
null
null
lib/elm_colors.ex
wsmoak/elm_colors
94dd2887965274938de4722adfaf19d6bd939b04
[ "MIT" ]
null
null
null
defmodule ElmColors do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when ...
32.84375
87
0.716461
3f0178767e945706e1b96f3ce84b09c555df4181
490
ex
Elixir
lib/ash/error/invalid/no_such_resource.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/error/invalid/no_such_resource.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/error/invalid/no_such_resource.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Error.Invalid.NoSuchResource do @moduledoc "Used when a resource or alias is provided that doesn't exist" use Ash.Error.Exception def_ash_error([:resource, :message], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ash.UUID.generate() def code(_), do: "no_such_resource" de...
25.789474
75
0.689796
3f0185f0898ba307cef9bcb3d29bb2c780245a56
2,273
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/operation_metadata.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/lib/google_api/service_management/v1/model/operation_metadata.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/operation_metadata.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 ...
39.877193
165
0.724593
3f01ae62f7278bd2604fa98ac7b5a5c073bd421f
249
ex
Elixir
lib/webapp.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
lib/webapp.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
lib/webapp.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule Webapp do @moduledoc """ Webapp 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.9
66
0.751004
3f01b040020f38e307fe18b26bb321734258abb7
6,083
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_iam_v1_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_iam_v1_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_iam_v1_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
108.625
1,997
0.753082
3f01b1bdee7db1051532196676d0c481d1798c87
10,497
ex
Elixir
lib/ex_unit/lib/ex_unit/runner.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/ex_unit/lib/ex_unit/runner.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2018-04-18T11:25:33.000Z
2018-04-18T11:25:33.000Z
defmodule ExUnit.Runner do @moduledoc false alias ExUnit.EventManager, as: EM @rand_algorithm :exs1024 def run(opts, load_us) do {:ok, manager} = EM.start_link() {:ok, stats} = EM.add_handler(manager, ExUnit.RunnerStats, opts) {opts, config} = configure(manager, opts) :erlang.system_flag(:ba...
28.066845
87
0.625322
3f01d832634de3cc65155023171fafd7c34354a5
1,394
ex
Elixir
lib/upman/clearance.ex
flat235/upman
c480bc102ea20ceb597d261a290e07a1f6fa3e8a
[ "Apache-2.0" ]
4
2018-08-10T20:41:49.000Z
2018-11-29T15:56:05.000Z
lib/upman/clearance.ex
flat235/upman
c480bc102ea20ceb597d261a290e07a1f6fa3e8a
[ "Apache-2.0" ]
6
2018-06-11T16:03:12.000Z
2020-04-06T00:08:15.000Z
lib/upman/clearance.ex
flat235/upman
c480bc102ea20ceb597d261a290e07a1f6fa3e8a
[ "Apache-2.0" ]
null
null
null
defmodule Upman.Clearance do use Upman.ManagedTable def handle_call({:clearance, name}, _from, state) do clearance = :ets.lookup(state, name) |> List.first() if clearance == nil do {:reply, %{}, state} else {:reply, clearance |> elem(1) |> Enum.into(%{}), state} end end def handle_...
23.627119
79
0.611908
3f01f85daa6f632887770d865276a713122d252a
13,846
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/floodlight_configurations.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/floodlight_configurations.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/floodlight_configurations.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.085106
196
0.620179
3f021b79b8d35a0b4c84c6a286f0438ec86b3f87
8,128
ex
Elixir
lib/mix/lib/mix/config.ex
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/config.ex
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/config.ex
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Config do # TODO: Convert them to hard deprecations on v1.13 @moduledoc deprecated: "Use Config and Config.Reader instead" @moduledoc ~S""" A simple configuration API and functions for managing config files. This module is deprecated, use the modules `Config` and `Config.Reader` from Elixir'...
27.931271
93
0.672736
3f0240790f1055f6e90b042c4243a57c77e40f35
2,399
ex
Elixir
lib/toby/app/views/load.ex
ndreynolds/toby
fc2e6960d8d5b366c0ecf130349659fc33ac2e2a
[ "MIT" ]
82
2019-01-14T20:35:16.000Z
2022-02-22T11:19:43.000Z
lib/toby/app/views/load.ex
ndreynolds/toby
fc2e6960d8d5b366c0ecf130349659fc33ac2e2a
[ "MIT" ]
3
2019-01-20T17:17:44.000Z
2019-01-24T08:51:55.000Z
lib/toby/app/views/load.ex
ndreynolds/toby
fc2e6960d8d5b366c0ecf130349659fc33ac2e2a
[ "MIT" ]
5
2020-03-27T16:54:18.000Z
2021-07-26T18:24:00.000Z
defmodule Toby.App.Views.Load do @moduledoc """ Builds a view for displaying information about system load """ import Ratatouille.Constants, only: [color: 1] import Ratatouille.View alias Toby.Util.Selection @style_selected [ color: color(:black), background: color(:white) ] def render(%{ ...
28.559524
84
0.572322
3f024924b690f6032fcd4d7916c4e414aa3ab706
3,192
ex
Elixir
priv/templates/common/phx.gen.html/controller.ex
infinitered/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
203
2016-10-28T00:37:15.000Z
2019-01-21T16:33:42.000Z
priv/templates/common/phx.gen.html/controller.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
61
2016-11-01T02:29:22.000Z
2019-01-01T22:35:21.000Z
priv/templates/common/phx.gen.html/controller.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
37
2016-11-01T18:13:55.000Z
2019-01-07T00:35:48.000Z
defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>Controller do use <%= inspect context.web_module %>, :controller alias <%= inspect context.module %> alias <%= inspect schema.module %> plug(:put_root_layout, {<%= inspect context.web_module %>.LayoutVi...
45.6
125
0.609336
3f0265e57fd1aa0a2bcb3cd37c37850413085e75
293
exs
Elixir
config/config.exs
nickve28/zss_service_suite_service
6474fe4656141e283360ce9bdec1f522651eb72f
[ "MIT" ]
null
null
null
config/config.exs
nickve28/zss_service_suite_service
6474fe4656141e283360ce9bdec1f522651eb72f
[ "MIT" ]
13
2017-05-20T12:19:37.000Z
2017-07-16T10:31:34.000Z
config/config.exs
nickve28/zss_service_suite_service_ex
6474fe4656141e283360ce9bdec1f522651eb72f
[ "MIT" ]
null
null
null
use Mix.Config config :logger, backends: [:console], compile_time_purge_level: :info config :zss_service, socket_adapter: ZssService.Adapters.Socket, service_supervisor: ZssService.ServiceSupervisor, datetime_module: DateTime if Mix.env == :test do import_config "test.exs" end
19.533333
51
0.774744
3f02770c90ed4ff57ae5e332558c4e3639e940e2
7,728
ex
Elixir
lib/mojito.ex
reisub/mojito
c7cdbe7c676299710241f37acb9ea8d101faceae
[ "MIT" ]
null
null
null
lib/mojito.ex
reisub/mojito
c7cdbe7c676299710241f37acb9ea8d101faceae
[ "MIT" ]
null
null
null
lib/mojito.ex
reisub/mojito
c7cdbe7c676299710241f37acb9ea8d101faceae
[ "MIT" ]
null
null
null
defmodule Mojito do @moduledoc ~S""" Mojito is an easy-to-use, high-performance HTTP client built using the low-level [Mint library](https://github.com/ericmj/mint). Mojito is built for comfort _and_ for speed. Behind a simple and predictable interface, there is a sophisticated connection pool manager tha...
38.447761
330
0.696429
3f02860a083d1625ec75c7f98b82b92a9adfcb39
1,710
ex
Elixir
lib/gamelet_web/endpoint.ex
niku/gamelet
94270bffca1f6a360a55c94a6f955969d681dc63
[ "MIT" ]
2
2018-01-02T07:54:44.000Z
2018-01-03T15:39:29.000Z
lib/gamelet_web/endpoint.ex
niku/gamelet
94270bffca1f6a360a55c94a6f955969d681dc63
[ "MIT" ]
null
null
null
lib/gamelet_web/endpoint.ex
niku/gamelet
94270bffca1f6a360a55c94a6f955969d681dc63
[ "MIT" ]
null
null
null
defmodule GameletWeb.Endpoint do use Phoenix.Endpoint, otp_app: :gamelet socket("/socket", GameletWeb.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. plug( Pl...
25.909091
95
0.689474
3f028addf791c5d3c4f21f3e4db42b80ffc7e90b
406
ex
Elixir
practical2/bowling/lib/bowling.ex
alpdenizz/ElixirPlayground
58b5a16c489058e0067e4811042d96fe6a5f8d59
[ "MIT" ]
null
null
null
practical2/bowling/lib/bowling.ex
alpdenizz/ElixirPlayground
58b5a16c489058e0067e4811042d96fe6a5f8d59
[ "MIT" ]
null
null
null
practical2/bowling/lib/bowling.ex
alpdenizz/ElixirPlayground
58b5a16c489058e0067e4811042d96fe6a5f8d59
[ "MIT" ]
null
null
null
defmodule Bowling do def score(game) do score(game, 0) end def score([[a,b,_]],acc) do a + b + acc end def score([[10,_]| tail],acc) do [a, b] = hd tail score(tail, acc+10+a+b) end def score([[a,b]|tail], acc) when a+b==10 do [next_turn | _] = hd tail score(tail, acc + a + b) + ne...
21.368421
46
0.551724
3f02a6722f5cfc468d7a2f274a235b708363f6f3
1,790
ex
Elixir
apps/ewallet_db/lib/ewallet_db/forget_password_request.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/lib/ewallet_db/forget_password_request.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/lib/ewallet_db/forget_password_request.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletDB.ForgetPasswordRequest do @moduledoc """ Ecto Schema representing a password reset request. """ use Ecto.Schema import Ecto.{Changeset, Query} alias Ecto.UUID alias EWalletDB.{Repo, ForgetPasswordRequest, User} alias EWalletDB.Helpers.Crypto @primary_key {:uuid, UUID, autogenerate:...
22.375
74
0.651397
3f02b9c8e5d2d1810758e3076cf54a6c3eaf45db
1,820
ex
Elixir
test/support/model_case.ex
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "MIT" ]
null
null
null
test/support/model_case.ex
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "MIT" ]
null
null
null
test/support/model_case.ex
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "MIT" ]
null
null
null
defmodule ShoppingList.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async....
27.575758
84
0.69011
3f02c0059642a4423347ec467f11ddeb98ad7496
674
exs
Elixir
pangram/pangram.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
pangram/pangram.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
pangram/pangram.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
defmodule Pangram do @doc """ Determines if a word or sentence is a pangram. A pangram is a sentence using every letter of the alphabet at least once. Returns a boolean. ## Examples iex> Pangram.pangram?("the quick brown fox jumps over the lazy dog") true """ @spec pangram?(String.t) ::...
20.424242
75
0.648368
3f02d34834b4489492c2fb126a3b73edd75b9f8a
933
exs
Elixir
mix.exs
IceDragon200/kuddle_config
f9006f20e4a05d968858f2b2bc9c625132e4ac54
[ "MIT" ]
1
2022-02-15T00:59:16.000Z
2022-02-15T00:59:16.000Z
mix.exs
IceDragon200/kuddle_config
f9006f20e4a05d968858f2b2bc9c625132e4ac54
[ "MIT" ]
null
null
null
mix.exs
IceDragon200/kuddle_config
f9006f20e4a05d968858f2b2bc9c625132e4ac54
[ "MIT" ]
null
null
null
defmodule Kuddle.Config.MixProject do use Mix.Project def project do [ name: "Kuddle Config", app: :kuddle_config, description: description(), version: "0.3.0", elixir: "~> 1.9", package: package(), start_permanent: Mix.env() == :prod, deps: deps(), source_...
19.4375
68
0.566988
3f03217a81c6256466c0a751a43b3fd628f69d07
28,365
exs
Elixir
test/livebook/session_test.exs
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
test/livebook/session_test.exs
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
test/livebook/session_test.exs
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.SessionTest do use ExUnit.Case, async: true import Livebook.TestHelpers alias Livebook.{Session, Delta, Runtime, Utils, Notebook, FileSystem} alias Livebook.Notebook.{Section, Cell} alias Livebook.Session.Data setup do session = start_session() %{session: session} end desc...
33.175439
98
0.650308
3f033444446e605cc13cbe167f0eb7416cb28241
3,192
ex
Elixir
lib/cloudex.ex
lucasavila00/cloudex
267c51ed55934b6f58adfdbd05289e241caa1210
[ "WTFPL" ]
106
2016-03-25T22:35:48.000Z
2022-02-17T19:33:16.000Z
lib/cloudex.ex
lucasavila00/cloudex
267c51ed55934b6f58adfdbd05289e241caa1210
[ "WTFPL" ]
69
2016-06-15T12:11:00.000Z
2021-12-23T13:10:52.000Z
lib/cloudex.ex
lucasavila00/cloudex
267c51ed55934b6f58adfdbd05289e241caa1210
[ "WTFPL" ]
56
2016-03-25T22:35:51.000Z
2021-07-28T12:37:16.000Z
defmodule Cloudex do @moduledoc """ Cloudex takes care of uploading image files or urls to Cloudinary """ @doc """ You can start the GenServer that holds the cloudinary api settings by hand using this function. ## example start %{api_key: "key", secret: "s3cr3t", cloud_name: "heaven"} """ @spec ...
30.4
98
0.62406
3f03655250a7ab3ce9e8208e017379069a110467
2,236
ex
Elixir
lib/hex/config.ex
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
null
null
null
lib/hex/config.ex
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
1
2021-06-25T15:19:59.000Z
2021-06-25T15:19:59.000Z
lib/hex/config.ex
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
null
null
null
defmodule Hex.Config do def read() do case File.read(config_path()) do {:ok, binary} -> case decode_term(binary) do {:ok, term} -> term {:error, _} -> config = decode_elixir(binary) write(config) config end {:error, ...
20.703704
71
0.580054
3f0370f28ee8b71f28fae9ad8175d46b3661b4d3
7,095
ex
Elixir
lib/swoosh/adapters/amazon_ses.ex
coders51/swoosh
749fd738eed42446fb15ad72cdb3f3ca1a87eb29
[ "MIT" ]
null
null
null
lib/swoosh/adapters/amazon_ses.ex
coders51/swoosh
749fd738eed42446fb15ad72cdb3f3ca1a87eb29
[ "MIT" ]
null
null
null
lib/swoosh/adapters/amazon_ses.ex
coders51/swoosh
749fd738eed42446fb15ad72cdb3f3ca1a87eb29
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(:mimemail) do defmodule Swoosh.Adapters.AmazonSES do @moduledoc ~S""" An adapter that sends email using the Amazon Simple Email Service Query API. This email adapter makes use of the Amazon SES SendRawEmail action and generates a SMTP style message containing the information to...
31.674107
117
0.640733
3f0391546b75db33868bb3ef35c4650fcb66d81e
1,401
ex
Elixir
generated-sources/elixir/mojang-sessions/lib/com/github/asyncmc/mojang/sessions/elixir/server/deserializer.ex
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/elixir/mojang-sessions/lib/com/github/asyncmc/mojang/sessions/elixir/server/deserializer.ex
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/elixir/mojang-sessions/lib/com/github/asyncmc/mojang/sessions/elixir/server/deserializer.ex
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.github.asyncmc.mojang.sessions.elixir.server.Deserializer do @moduledoc """ Helper functions for deserializing responses into models """ ...
35.923077
139
0.637402
3f03cbe1461336395214c53a8a58a9ed6bec8429
5,875
ex
Elixir
deps/phoenix/lib/phoenix/token.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/token.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/token.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "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 can be read by clients, but the message is signed to prevent tampering. ## Example When generating a unique token for usage in an API or Channel it i...
35.606061
85
0.669617
3f03d41bd79d2929c7436c165ec10d8c7fc9f099
508
exs
Elixir
config/config.exs
shinyscorpion/task_bunny_rollbar
b69c2039dfcffd870d354db28f49e7f636c14c7c
[ "MIT" ]
2
2017-12-12T00:14:14.000Z
2018-09-17T13:27:07.000Z
config/config.exs
shinyscorpion/task_bunny_rollbar
b69c2039dfcffd870d354db28f49e7f636c14c7c
[ "MIT" ]
null
null
null
config/config.exs
shinyscorpion/task_bunny_rollbar
b69c2039dfcffd870d354db28f49e7f636c14c7c
[ "MIT" ]
1
2017-10-11T17:21:35.000Z
2017-10-11T17:21:35.000Z
use Mix.Config # If you want to try this library with your Rollbar account # unncomment the below and set your access token. # # config :rollbax, # access_token: "[YOUR_ACCESS_TOKEN]", # environment: "dev", # enabled: true # # config :task_bunny, # failure_backend: [TaskBunnyRollbar], # hosts: [ # defaul...
21.166667
59
0.627953
3f03dc43baaf0c463d96f39936ce76eee62ed311
507
ex
Elixir
lib/coop_minesweeper_web/views/error_view.ex
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
lib/coop_minesweeper_web/views/error_view.ex
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
lib/coop_minesweeper_web/views/error_view.ex
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
defmodule CoopMinesweeperWeb.ErrorView do use CoopMinesweeperWeb, :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 # t...
29.823529
61
0.74359
3f03dda2ed4ac3017eb1b17c5d43c44721f9fdc1
965
exs
Elixir
apps/core/priv/repo/migrations/20220426020241_add_workos_resources.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/core/priv/repo/migrations/20220426020241_add_workos_resources.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/core/priv/repo/migrations/20220426020241_add_workos_resources.exs
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defmodule Core.Repo.Migrations.AddWorkosResources do use Ecto.Migration def change do alter table(:users) do add :external_id, :string end alter table(:groups) do add :external_id, :string end create unique_index(:users, [:external_id]) create unique_index(:groups, [:external_...
26.081081
81
0.690155
3f03e1b871e07d87be7c40de66463fac522c545a
1,876
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_security_safebrowsing_v4_list_threat_lists_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_security_safebrowsing_v4_list_threat_lists_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/google_security_safebrowsing_v4_list_threat_lists_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.344828
188
0.753198
3f03e204f1f2cc91f9d7c9371795a21d403f02ee
2,710
ex
Elixir
apps/admin_app/lib/admin_app_web/controllers/option_type_controller.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
1
2021-04-08T22:29:19.000Z
2021-04-08T22:29:19.000Z
apps/admin_app/lib/admin_app_web/controllers/option_type_controller.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/controllers/option_type_controller.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
defmodule AdminAppWeb.OptionTypeController do use AdminAppWeb, :controller alias Snitch.Data.Model.OptionType, as: OTModel alias Snitch.Data.Schema.OptionType, as: OTSchema def index(conn, _params) do option_types = OTModel.get_all() render(conn, "index.html", %{option_types: option_types}) end de...
32.261905
95
0.604797
3f03fabfa709beb816b23a5bb391d36d4410c176
2,833
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/training_run.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/training_run.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/training_run.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...
45.693548
178
0.732086
3f0404926d9d0eadf0c63be8ce6598b05b1b2d44
69
ex
Elixir
apps/prometheus_web/lib/prometheus_web/views/layout_view.ex
thluiz/prometheus
0936e0b1e066ed35917221628d060adf8d7aed29
[ "MIT" ]
null
null
null
apps/prometheus_web/lib/prometheus_web/views/layout_view.ex
thluiz/prometheus
0936e0b1e066ed35917221628d060adf8d7aed29
[ "MIT" ]
null
null
null
apps/prometheus_web/lib/prometheus_web/views/layout_view.ex
thluiz/prometheus
0936e0b1e066ed35917221628d060adf8d7aed29
[ "MIT" ]
1
2020-11-04T06:04:51.000Z
2020-11-04T06:04:51.000Z
defmodule PrometheusWeb.LayoutView do use PrometheusWeb, :view end
17.25
37
0.826087
3f0425913c9f59735151da2a79a94bd9bbfd1917
316
ex
Elixir
test/support/deft/map.ex
am-kantox/tyx
da0847cabdf304fbf2f5c56797d75c9e8795994c
[ "MIT" ]
2
2021-06-04T20:35:33.000Z
2021-11-28T22:26:08.000Z
test/support/deft/map.ex
am-kantox/tyx
da0847cabdf304fbf2f5c56797d75c9e8795994c
[ "MIT" ]
null
null
null
test/support/deft/map.ex
am-kantox/tyx
da0847cabdf304fbf2f5c56797d75c9e8795994c
[ "MIT" ]
null
null
null
defmodule Tyx.Samples.Deft.M do @moduledoc false @type sub :: %{ atoms: atom() } @type t :: %{ __struct__: __MODULE__, int: integer(), atoms: [atom()], atom_map: sub() } defstruct int: 42, atoms: ~w|bar baz|a, atoms_map: %{atoms: :zzz} end
19.75
67
0.5
3f042ea8be6cfb4e63757d8a9be89fd31c74f8fb
3,131
exs
Elixir
fw/config/target.exs
ejc123/music_phone
868dae9fc40224e52a63386672bb0ae8cff2f97d
[ "Apache-2.0" ]
2
2021-04-01T18:18:02.000Z
2021-04-01T18:18:02.000Z
fw/config/target.exs
ejc123/music_phone
868dae9fc40224e52a63386672bb0ae8cff2f97d
[ "Apache-2.0" ]
null
null
null
fw/config/target.exs
ejc123/music_phone
868dae9fc40224e52a63386672bb0ae8cff2f97d
[ "Apache-2.0" ]
null
null
null
import Config # Use shoehorn to start the main application. See the shoehorn # docs for separating out critical OTP applications such as those # involved with firmware updates. config :shoehorn, init: [:nerves_runtime, :nerves_pack], app: Mix.Project.config()[:app] # Nerves Runtime can enumerate hardware devices...
26.760684
81
0.654743
3f043a2c8b22a97c86b928490bfe1eb9cd070ebd
2,180
ex
Elixir
lib/auto_api/states/offroad_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
lib/auto_api/states/offroad_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
5
2018-11-29T09:48:29.000Z
2019-11-06T12:11:35.000Z
lib/auto_api/states/offroad_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# 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...
35.737705
87
0.715138
3f044d73e14ac6c66dc1bdb97400b0ea1f845219
6,068
ex
Elixir
lib/wabbit/record.ex
websend/wabbit
5a94b285a155515069173f0ca19e002646b275f1
[ "MIT" ]
77
2016-10-19T00:23:47.000Z
2021-09-16T20:41:20.000Z
lib/wabbit/record.ex
websend/wabbit
5a94b285a155515069173f0ca19e002646b275f1
[ "MIT" ]
14
2016-11-22T07:28:27.000Z
2018-06-12T14:33:22.000Z
lib/wabbit/record.ex
websend/wabbit
5a94b285a155515069173f0ca19e002646b275f1
[ "MIT" ]
21
2016-11-15T20:07:24.000Z
2020-07-06T19:00:37.000Z
defmodule Wabbit.Record do @moduledoc false require Record Record.defrecord :p_basic, :'P_basic', Record.extract(:'P_basic', from_lib: "rabbit_common/include/rabbit_framing.hrl") Record.defrecord :queue_declare_ok, :'queue.declare_ok', Record.extract(:'queue.declare_o...
134.844444
157
0.706823
3f044fafc1f223aabc611f2c6cd0264170dae7e0
70,720
ex
Elixir
lib/elixir/lib/code/formatter.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code/formatter.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/elixir/lib/code/formatter.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
defmodule Code.Formatter do @moduledoc false import Inspect.Algebra, except: [format: 2, surround: 3, surround: 4] @double_quote "\"" @double_heredoc "\"\"\"" @single_quote "'" @single_heredoc "'''" @newlines 2 @min_line 0 @max_line 9_999_999 @empty empty() @ampersand_prec Code.Identifier.unary_o...
30.378007
102
0.625452
3f0450acfaaf5db35918b42f83a35c110ed0502e
2,600
ex
Elixir
apps/core/lib/core/supervisor/cluster/manager.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/core/lib/core/supervisor/cluster/manager.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/core/lib/core/supervisor/cluster/manager.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule Core.Supervisor.Cluster.Manager do @moduledoc """ This the Cluster Manager who start dynamic children(nodes) on behalf dynamicCluster supervisor. # NOTE: This Manager is supposed to add(start) or remove(kill) nodes when the topology change. """ alias Core.Supervisor.Node use GenServ...
30.588235
75
0.690769
3f04961906e9186b0f83d4b1c1bc491c8c325fd7
21,136
exs
Elixir
test/assent/strategies/oidc_test.exs
team-alembic/assent
ac8c092860bad2a5bebb35b44115d0d107178bb0
[ "MIT" ]
1
2021-11-10T04:48:07.000Z
2021-11-10T04:48:07.000Z
test/assent/strategies/oidc_test.exs
team-alembic/assent
ac8c092860bad2a5bebb35b44115d0d107178bb0
[ "MIT" ]
null
null
null
test/assent/strategies/oidc_test.exs
team-alembic/assent
ac8c092860bad2a5bebb35b44115d0d107178bb0
[ "MIT" ]
null
null
null
defmodule Assent.Strategy.OIDCTest do use Assent.Test.OIDCTestCase alias Assent.{JWTAdapter.AssentJWT, RequestError, Strategy.OIDC} describe "authorize_url/2" do test "generates url and state", %{config: config, bypass: bypass} do assert {:ok, %{url: url, session_params: %{state: state}}} = OIDC.autho...
46.249453
209
0.696584
3f049f76e596e054d495218d4f25ca5c0426b410
705
ex
Elixir
lib/ex_daas_web/gettext.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
8
2018-03-21T17:44:35.000Z
2020-01-12T03:24:18.000Z
lib/ex_daas_web/gettext.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
5
2018-03-22T02:03:10.000Z
2018-04-03T15:19:03.000Z
lib/ex_daas_web/gettext.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
1
2018-03-30T11:09:40.000Z
2018-03-30T11:09:40.000Z
defmodule ExDaasWeb.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 ExDaasWeb.Gettext # Simple translation gettext "Here is the...
28.2
72
0.679433
3f04d084cea9be148ddf5e7a1949f6dca532e0df
1,068
ex
Elixir
lib/ex_oss/endpoint.ex
satrionugroho/ex_oss
6f9c0ae55e7f582f162b6bdfd50e867684dd168d
[ "MIT" ]
null
null
null
lib/ex_oss/endpoint.ex
satrionugroho/ex_oss
6f9c0ae55e7f582f162b6bdfd50e867684dd168d
[ "MIT" ]
null
null
null
lib/ex_oss/endpoint.ex
satrionugroho/ex_oss
6f9c0ae55e7f582f162b6bdfd50e867684dd168d
[ "MIT" ]
null
null
null
defmodule ExOss.Endpoint do @moduledoc false alias ExOss.Config @regions [ "oss-cn-hangzhou", "oss-cn-shanghai", "oss-cn-qingdao", "oss-cn-beijing", "oss-cn-zhangjiakou", "oss-cn-huhehaote", "oss-cn-shenzhen", "oss-cn-hongkong", "oss-us-west-1", "oss-us-east-1", "oss-...
22.25
96
0.587079
3f04fc71d46b95927caa786ef650aa850788909f
2,275
ex
Elixir
lib/util/erts_url_fetcher.ex
tinfoil/burrito
018dd1933b04933c0cf472938f76175b5650ea12
[ "MIT" ]
null
null
null
lib/util/erts_url_fetcher.ex
tinfoil/burrito
018dd1933b04933c0cf472938f76175b5650ea12
[ "MIT" ]
null
null
null
lib/util/erts_url_fetcher.ex
tinfoil/burrito
018dd1933b04933c0cf472938f76175b5650ea12
[ "MIT" ]
null
null
null
defmodule Burrito.Util.ERTSUrlFetcher do @versions_url_darwin_linux "https://api.github.com/repos/burrito-elixir/erlang-builder/releases?per_page=100" @versions_url_windows "https://api.github.com/repos/erlang/otp/releases?per_page=100" @spec fetch_all_versions() :: %{windows: list(), posix: list()} def fetch_...
27.409639
111
0.592967
3f05007c11b14a307aff0984e0cee8e178e8b7b1
1,367
ex
Elixir
lib/github/github/reviews.ex
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
null
null
null
lib/github/github/reviews.ex
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
1
2020-07-09T20:45:37.000Z
2020-07-09T20:45:37.000Z
lib/github/github/reviews.ex
invisible-tech/bors-ng
145663a328e98d28e2783bb2068081e03c5db099
[ "Apache-2.0" ]
null
null
null
defmodule BorsNG.GitHub.Reviews do @moduledoc """ The GitHub repository structure. """ @type state :: binary @type t :: %{state => integer} @spec from_json!([map]) :: t def from_json!(json) do reviews = json # Count only the latest review from a user, # by deduplicating using the u...
27.34
65
0.561814
3f050a3949e11ea5afc4df0832466a0aba1fd61e
2,151
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/chrome_os_devices.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/admin/lib/google_api/admin/directory_v1/model/chrome_os_devices.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/admin/lib/google_api/admin/directory_v1/model/chrome_os_devices.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.410714
210
0.715946
3f0545ed0bded449c25f550c0d2a1694bd722820
1,309
exs
Elixir
mix.exs
Brianvdb/scrivener_ecto
8590e7506697fcc122568de813d40f41511756f8
[ "MIT" ]
null
null
null
mix.exs
Brianvdb/scrivener_ecto
8590e7506697fcc122568de813d40f41511756f8
[ "MIT" ]
null
null
null
mix.exs
Brianvdb/scrivener_ecto
8590e7506697fcc122568de813d40f41511756f8
[ "MIT" ]
null
null
null
defmodule Scrivener.Ecto.Mixfile do use Mix.Project def project do [ app: :scrivener_ecto, version: "2.4.0", elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env()), package: package(), description: "Paginate your Ecto queries with Scrivener", deps: deps(), ali...
19.537313
74
0.488159
3f0546ed54e15661f32c22bdec18d84e201d0aef
153
exs
Elixir
test/unicode_regex_test.exs
elixir-unicode/unicode_regex
a1b21dd97cd131375d1fbefb446f528828d8cdda
[ "Apache-2.0" ]
1
2020-10-02T07:59:33.000Z
2020-10-02T07:59:33.000Z
test/unicode_regex_test.exs
elixir-unicode/unicode_regex
a1b21dd97cd131375d1fbefb446f528828d8cdda
[ "Apache-2.0" ]
null
null
null
test/unicode_regex_test.exs
elixir-unicode/unicode_regex
a1b21dd97cd131375d1fbefb446f528828d8cdda
[ "Apache-2.0" ]
null
null
null
defmodule UnicodeRegexTest do use ExUnit.Case doctest UnicodeRegex test "greets the world" do assert UnicodeRegex.hello() == :world end end
17
41
0.738562
3f055a97c035f9978616c4629c6fa6ee293ef8ea
527
exs
Elixir
mix.exs
velimir/erllambda_elixir_example
b99d4d1f176493ea38b3d796e823010642f084ea
[ "MIT" ]
null
null
null
mix.exs
velimir/erllambda_elixir_example
b99d4d1f176493ea38b3d796e823010642f084ea
[ "MIT" ]
null
null
null
mix.exs
velimir/erllambda_elixir_example
b99d4d1f176493ea38b3d796e823010642f084ea
[ "MIT" ]
null
null
null
defmodule ErllambdaElixirExample.MixProject do use Mix.Project def project do [ app: :erllambda_elixir_example, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def appl...
18.821429
59
0.571157
3f0581a2bf6d89e2624b7154fe5f77dfa4f65c78
2,380
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/channel_branding_settings.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/channel_branding_settings.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/channel_branding_settings.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
42.5
139
0.734874
3f05d2aaaa1cee7e2ff13cbb22ae361bfad56c4b
2,925
ex
Elixir
deps/pbkdf2_elixir/lib/pbkdf2.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/pbkdf2_elixir/lib/pbkdf2.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/pbkdf2_elixir/lib/pbkdf2.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Pbkdf2 do @moduledoc """ Pbkdf2 password hashing library main module. For a lower-level API, see Pbkdf2.Base. ## Pbkdf2 Pbkdf2 is a password-based key derivation function that uses a password, a variable-length salt and an iteration count and applies a pseudorandom function to these to prod...
32.142857
100
0.715897
3f05db1741bc51d7c3394bef6e0b6643df79caad
1,647
ex
Elixir
elixirChat/web/web.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
elixirChat/web/web.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
elixirChat/web/web.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule ElixirChat.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use ElixirChat.Web, :controller use ElixirChat.Web, :view The definitions below will be executed for every view, controller, etc, so keep...
20.085366
88
0.672738
3f05e362a01647e8fa0f5bd8e6c725f569f9e909
758
exs
Elixir
priv/repo/migrations/20210123203823_create_users_auth_tables.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
priv/repo/migrations/20210123203823_create_users_auth_tables.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
priv/repo/migrations/20210123203823_create_users_auth_tables.exs
byhbt/linkir
8ac72cd0da2696b628f6981595e75164adfc5945
[ "MIT" ]
null
null
null
defmodule Linkir.Repo.Migrations.CreateUsersAuthTables do use Ecto.Migration def change do execute "CREATE EXTENSION IF NOT EXISTS citext", "" create table(:users) do add :email, :citext, null: false add :hashed_password, :string, null: false add :confirmed_at, :naive_datetime time...
27.071429
75
0.672823
3f060510947253b5770fdbcd2871e01c814fc7f1
11,635
exs
Elixir
test/update_test.exs
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
test/update_test.exs
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
test/update_test.exs
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
defmodule HuiUpdateTest do use ExUnit.Case, async: true import TestHelpers # testing with Bypass setup do update_doc = File.read!("./test/data/update_doc1.json") bypass = Bypass.open error_einval = %Hui.Error{reason: :einval} error_nxdomain = %Hui.Error{reason: :nxdomain} {:ok, bypass: bypa...
49.300847
245
0.64899
3f064f3b770d2f0f9ca2f4f7ec4853600337913d
24
ex
Elixir
lib/cort_ex.ex
EddyShure/cort_ex
36f24b7777b283b89c6f33ed8efd99483d91bae9
[ "MIT" ]
null
null
null
lib/cort_ex.ex
EddyShure/cort_ex
36f24b7777b283b89c6f33ed8efd99483d91bae9
[ "MIT" ]
null
null
null
lib/cort_ex.ex
EddyShure/cort_ex
36f24b7777b283b89c6f33ed8efd99483d91bae9
[ "MIT" ]
null
null
null
defmodule CortEx do end
8
19
0.833333
3f068bdad8697394699f2cdb3f6e9d6d2f9b109c
2,864
ex
Elixir
clients/policy_simulator/lib/google_api/policy_simulator/v1/model/google_cloud_policysimulator_v1_replay.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/policy_simulator/lib/google_api/policy_simulator/v1/model/google_cloud_policysimulator_v1_replay.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/policy_simulator/lib/google_api/policy_simulator/v1/model/google_cloud_policysimulator_v1_replay.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.460317
415
0.744413
3f068dbc7591dbd85f067a9d230f32f19f0e2351
793
ex
Elixir
apps/nectar/web/queries/line_item.ex
saurabharch/nectarcommerce
3497ab8f0c3fcf5a679dc112d905fea9e6df45ac
[ "MIT" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
apps/nectar/web/queries/line_item.ex
sshyran/elixir-nectar-commerce
87f846ef1bc5cd2d675165b468ae7014dd4fe354
[ "MIT" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
apps/nectar/web/queries/line_item.ex
sshyran/nectarcommerce
3497ab8f0c3fcf5a679dc112d905fea9e6df45ac
[ "MIT" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Query.LineItem do use Nectar.Query, model: Nectar.LineItem def in_order_query(%Nectar.Order{id: order_id}, query \\ Nectar.LineItem) do from c in query, where: c.order_id == ^order_id end def in_order(repo, order, query \\ Nectar.LineItem), do: repo.all(in_order_query(order, query)) de...
36.045455
109
0.74401
3f069305bbd8949596ade50dd9cf02449e3d0dbb
2,390
ex
Elixir
lib/cadet_web/admin_controllers/admin_goals_controller.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
null
null
null
lib/cadet_web/admin_controllers/admin_goals_controller.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
null
null
null
lib/cadet_web/admin_controllers/admin_goals_controller.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
null
null
null
defmodule CadetWeb.AdminGoalsController do use CadetWeb, :controller use PhoenixSwagger alias Cadet.Incentives.Goals def index(conn, _) do render(conn, "index.json", goals: Goals.get()) end def bulk_update(conn, %{"goals" => goals}) do goals |> Enum.map(&json_to_goal(&1)) |> Goals.upsert...
20.254237
70
0.603347
3f06c9b5314938c3e5963ebbae9492f68cebb66b
717
ex
Elixir
lib/magnemite_web/gettext.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
lib/magnemite_web/gettext.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
lib/magnemite_web/gettext.ex
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
defmodule MagnemiteWeb.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 MagnemiteWeb.Gettext # Simple translation gettext("Here ...
28.68
72
0.680614
3f06fc3b36fc94d006a95a5c0f0b31bbac7ce1c3
220
ex
Elixir
lib/utils/json.ex
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
1
2022-03-15T18:58:21.000Z
2022-03-15T18:58:21.000Z
lib/utils/json.ex
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
null
null
null
lib/utils/json.ex
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
null
null
null
defmodule StarkInfra.Utils.JSON do @moduledoc false def encode!(value) when is_nil(value) do nil end def encode!(value) do Jason.encode!(value) end def decode!(json) do Jason.decode!(json) end end
13.75
42
0.690909
3f0708991241d819e1074c419978f9a60f738801
2,606
ex
Elixir
lib/go_champs_api_web/controllers/fixed_player_stats_table_controller.ex
lairjr/go_champs_api
01cb3ff2c655910839e5caf4282a8e50543e32a1
[ "MIT" ]
null
null
null
lib/go_champs_api_web/controllers/fixed_player_stats_table_controller.ex
lairjr/go_champs_api
01cb3ff2c655910839e5caf4282a8e50543e32a1
[ "MIT" ]
5
2021-09-29T04:01:54.000Z
2021-11-02T03:11:52.000Z
lib/go_champs_api_web/controllers/fixed_player_stats_table_controller.ex
lairjr/tournamentsapi
dde8f8f659074527d3861391af3ab29f070179f2
[ "MIT" ]
1
2021-11-02T14:43:15.000Z
2021-11-02T14:43:15.000Z
defmodule GoChampsApiWeb.FixedPlayerStatsTableController do use GoChampsApiWeb, :controller alias GoChampsApi.FixedPlayerStatsTables alias GoChampsApi.FixedPlayerStatsTables.FixedPlayerStatsTable action_fallback GoChampsApiWeb.FallbackController plug GoChampsApiWeb.Plugs.AuthorizedFixedPlayerStatsTable, :i...
35.69863
101
0.726784
3f0712be074501f386440b4de2b0cd098e839fd6
3,072
exs
Elixir
apps/snitch_core/test/data/model/tax/tax_class_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/data/model/tax/tax_class_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/data/model/tax/tax_class_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Model.TaxClasstest do @moduledoc false use ExUnit.Case, async: true use Snitch.DataCase import Snitch.Factory alias Snitch.Data.Model.TaxClass describe "create/1" do test "creates successfully" do params = %{name: "GST_12", is_default: true} assert {:ok, _tax_class} =...
28.981132
98
0.659831
3f071cf231917ec1ae4795af5b866f7cab42e7e3
3,412
exs
Elixir
test/serum/plugin_test.exs
igalic/Serum
352f80ebcc8ed160230e7775aac3590787c912c6
[ "MIT" ]
1
2021-08-03T11:16:36.000Z
2021-08-03T11:16:36.000Z
test/serum/plugin_test.exs
igalic/Serum
352f80ebcc8ed160230e7775aac3590787c912c6
[ "MIT" ]
null
null
null
test/serum/plugin_test.exs
igalic/Serum
352f80ebcc8ed160230e7775aac3590787c912c6
[ "MIT" ]
null
null
null
defmodule Serum.PluginTest do use ExUnit.Case import ExUnit.CaptureIO import Serum.Plugin alias Serum.File alias Serum.Fragment alias Serum.Page alias Serum.Post alias Serum.PostList alias Serum.Template :serum |> :code.priv_dir() |> IO.iodata_to_binary() |> Path.join("test_plugins/*plugin*.e...
31.302752
89
0.62075
3f074ec1adf28c9ab9e715309161cf9132f68dce
240
ex
Elixir
tracing-with-elixir/faulty/lib/faulty.ex
jonasrichard/presentation
6bf13a4bf3e0538590f4737dbf48a640cdec37ba
[ "Apache-2.0" ]
null
null
null
tracing-with-elixir/faulty/lib/faulty.ex
jonasrichard/presentation
6bf13a4bf3e0538590f4737dbf48a640cdec37ba
[ "Apache-2.0" ]
null
null
null
tracing-with-elixir/faulty/lib/faulty.ex
jonasrichard/presentation
6bf13a4bf3e0538590f4737dbf48a640cdec37ba
[ "Apache-2.0" ]
null
null
null
defmodule Faulty.App do use Application def start(_type, _args) do children = [ Faulty.Queue, Faulty.Input ] opts = [strategy: :one_for_one, name: Faulty.Sup] Supervisor.start_link(children, opts) end end
18.461538
53
0.658333
3f07a8c49914a445afe26ec104bf6f57262979eb
930
exs
Elixir
examples/bloggy/config/config.exs
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "Apache-2.0" ]
1
2020-01-06T00:38:43.000Z
2020-01-06T00:38:43.000Z
examples/bloggy/config/config.exs
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "Apache-2.0" ]
null
null
null
examples/bloggy/config/config.exs
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "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. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :bloggy, ecto_repos: [Bloggy.Repo] # Co...
33.214286
86
0.76129
3f07b32c9bc0857ef340fe271fc62feb0b4f3116
1,488
ex
Elixir
lib/arc_ecto/definition.ex
Elonsoft/arc_ecto
03990d057b72250a27e9790b8c75fcdce2e15e0d
[ "Apache-2.0" ]
null
null
null
lib/arc_ecto/definition.ex
Elonsoft/arc_ecto
03990d057b72250a27e9790b8c75fcdce2e15e0d
[ "Apache-2.0" ]
null
null
null
lib/arc_ecto/definition.ex
Elonsoft/arc_ecto
03990d057b72250a27e9790b8c75fcdce2e15e0d
[ "Apache-2.0" ]
null
null
null
defmodule Arc.Ecto.Definition do defmacro __using__(_options) do definition = __CALLER__.module quote do defmodule Module.concat(unquote(definition), "Type") do use Ecto.Type def type, do: Arc.Ecto.Type.type() def cast(value), do: Arc.Ecto.Type.cast(unquote(definition), value) ...
29.176471
92
0.591398
3f07fb46ac62fec94e3c40df95ee36e98eb465d0
148
ex
Elixir
lib/pigpiox.ex
mnishiguchi/pigpiox
8dc3c13dacfb9b154a79e1effb59a1ba0c80b3d6
[ "Apache-2.0" ]
31
2017-08-20T13:49:51.000Z
2022-02-25T14:59:53.000Z
lib/pigpiox.ex
mnishiguchi/pigpiox
8dc3c13dacfb9b154a79e1effb59a1ba0c80b3d6
[ "Apache-2.0" ]
9
2017-08-28T04:16:01.000Z
2020-12-31T17:41:59.000Z
lib/pigpiox.ex
mnishiguchi/pigpiox
8dc3c13dacfb9b154a79e1effb59a1ba0c80b3d6
[ "Apache-2.0" ]
21
2017-10-11T04:56:22.000Z
2021-09-30T12:10:34.000Z
defmodule Pigpiox do @moduledoc """ Pigpiox is an Elixir wrapper around the [pigpio daemon](http://abyz.me.uk/rpi/pigpio/index.html). """ end
24.666667
99
0.709459
3f08055598f3dd5e61bc763096a3bb38ec37ada4
1,440
exs
Elixir
elixir/list-ops/list_ops.exs
cbliard/exercism
0cca8d127cff0b014336e3f4581a58e52c8989b0
[ "MIT" ]
null
null
null
elixir/list-ops/list_ops.exs
cbliard/exercism
0cca8d127cff0b014336e3f4581a58e52c8989b0
[ "MIT" ]
null
null
null
elixir/list-ops/list_ops.exs
cbliard/exercism
0cca8d127cff0b014336e3f4581a58e52c8989b0
[ "MIT" ]
null
null
null
defmodule ListOps do # Please don't use any external modules (especially List) in your # implementation. The point of this exercise is to create these basic functions # yourself. # # Note that `++` is a function from an external module (Kernel, which is # automatically imported) and so shouldn't be used eit...
28.235294
81
0.595833
3f080d7ce298b7e7dbc16b7658ae7e1064f4405d
16,104
exs
Elixir
test/ecto/query/inspect_test.exs
groxio-learning/ecto
8dbaa50ad2adf55c2b9d8f368a17d242841ebfba
[ "Apache-2.0" ]
null
null
null
test/ecto/query/inspect_test.exs
groxio-learning/ecto
8dbaa50ad2adf55c2b9d8f368a17d242841ebfba
[ "Apache-2.0" ]
null
null
null
test/ecto/query/inspect_test.exs
groxio-learning/ecto
8dbaa50ad2adf55c2b9d8f368a17d242841ebfba
[ "Apache-2.0" ]
null
null
null
defmodule Inspect.Post do use Ecto.Schema schema "posts" do field :visits, :integer has_many :comments, Inspect.Comment has_one :post, Inspect.Post end end defmodule Inspect.Comment do use Ecto.Schema schema "comments" do end end defmodule Ecto.Query.InspectTest do use ExUnit.Case, async: ...
39.278049
134
0.57079
3f084831a440ee1d4134c8be150c204d6aea3406
347
ex
Elixir
lib/supabase_surface/components/icons/icon_git_commit.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_git_commit.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_git_commit.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconGitCommit do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.git_commit(width: icon_size, height: icon_size)} </IconCo...
23.133333
68
0.723343
3f0874fe8d1658f0def35642fcd5ec393bb4b012
1,188
ex
Elixir
lib/ex_dash.ex
mcrumm/ex_dash
4e81259763678c4281615db9ae50a5b87bbba232
[ "MIT" ]
26
2017-06-20T12:05:50.000Z
2021-01-02T16:08:15.000Z
lib/ex_dash.ex
mcrumm/ex_dash
4e81259763678c4281615db9ae50a5b87bbba232
[ "MIT" ]
1
2017-03-19T19:44:30.000Z
2017-04-01T02:51:28.000Z
lib/ex_dash.ex
russmatney/ex_dash
4e81259763678c4281615db9ae50a5b87bbba232
[ "MIT" ]
5
2018-07-06T04:54:26.000Z
2020-02-12T19:18:43.000Z
defmodule ExDash do @moduledoc """ ExDash provides a `Formatter` and mix task for converting your elixir project into a Dash docset. """ alias ExDash.{Injector,Docset,Store} @doc """ A run function that is called by ExDoc. """ @spec run(list, ExDoc.Config.t) :: {list, ExDoc.Config.t} def run(proje...
22.846154
99
0.651515
3f0883df168835e980c7eb65eb897b58a76cc366
1,342
exs
Elixir
mix.exs
tsloughter/telemetry
4fd7fcc80c92c1c6468b1e1b9015918f12d96521
[ "Apache-2.0" ]
null
null
null
mix.exs
tsloughter/telemetry
4fd7fcc80c92c1c6468b1e1b9015918f12d96521
[ "Apache-2.0" ]
null
null
null
mix.exs
tsloughter/telemetry
4fd7fcc80c92c1c6468b1e1b9015918f12d96521
[ "Apache-2.0" ]
null
null
null
defmodule Telemetry.MixProject do use Mix.Project @version "0.2.0" def project do [ app: :telemetry, name: "Telemetry", version: @version, elixir: "~> 1.4", start_permanent: Mix.env() == :prod, preferred_cli_env: preferred_cli_env(), deps: deps(), docs: docs()...
19.449275
73
0.555142
3f089fa478669c98a75364d2ebede4841e46ab5e
6,613
ex
Elixir
lib/membrane/core/playback_handler.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
515
2018-06-18T11:09:44.000Z
2020-07-31T07:54:35.000Z
lib/membrane/core/playback_handler.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
120
2018-06-07T08:34:06.000Z
2020-07-30T07:09:50.000Z
lib/membrane/core/playback_handler.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
13
2018-07-27T11:58:15.000Z
2020-05-06T15:19:55.000Z
defmodule Membrane.Core.PlaybackHandler do @moduledoc false # Behaviour for modules that have playback state, i.e. elements and pipelines # # There are three playback states: :stopped, :prepared and :playing. # Playback state always changes only one step at once in this order, and can # be handled by `hand...
32.737624
98
0.681536
3f08af6f600fcf6edbd6b67fef7afceb9983cbd4
1,139
exs
Elixir
test/mmdb2_precompiled/database_test.exs
elixir-geolix/adapter_mmdb2_precompiled
a60417be0911a203f84de6b87987724e271d8fb7
[ "Apache-2.0" ]
null
null
null
test/mmdb2_precompiled/database_test.exs
elixir-geolix/adapter_mmdb2_precompiled
a60417be0911a203f84de6b87987724e271d8fb7
[ "Apache-2.0" ]
null
null
null
test/mmdb2_precompiled/database_test.exs
elixir-geolix/adapter_mmdb2_precompiled
a60417be0911a203f84de6b87987724e271d8fb7
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MMDB2Precompiled.DatabaseTest do use ExUnit.Case, async: true alias Geolix.Adapter.MMDB2Precompiled.Database alias Geolix.TestData defmodule TestDatabase do use Database, source: TestData.file(:mmdb2, "Geolix.mmdb") end defmodule TestDatabaseMMDB2Opts do use Database, ...
27.119048
84
0.685689
3f08e85b79daa0d47f57c989e648f902a433c20b
3,302
exs
Elixir
.credo.exs
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
5
2019-05-24T17:00:42.000Z
2019-05-27T13:50:56.000Z
.credo.exs
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
17
2019-05-27T08:59:36.000Z
2020-02-17T06:45:27.000Z
.credo.exs
justmendes/corker
b7a6d7cbae47d30816bb99b8fe8576e9a0d5722d
[ "0BSD" ]
1
2019-08-27T14:27:06.000Z
2019-08-27T14:27:06.000Z
%{ configs: [ %{ name: "default", files: %{ included: ["lib/", "apps/"], excluded: [~r/node_modules/] }, strict: true, color: true, checks: [ # Consistency {Credo.Check.Consistency.MultiAliasImportRequireUse, false}, # Design {...
38.395349
78
0.671714
3f096ba058e6a2824a91996c8e3a223ae2fbae65
613
ex
Elixir
lib/hl7/2.5.1/segments/ldp.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/ldp.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/ldp.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.Segments.LDP do @moduledoc false require Logger alias HL7.V2_5_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, primary_key_value_ldp: DataTypes.Pl, location_department: DataTypes.Ce, location_service: nil, specialty_type: DataTypes.Ce, valid_...
25.541667
42
0.701468
3f099c45c35a49830bc32314b4dff9edd3ef64fe
2,327
exs
Elixir
test/map_test.exs
suddenrushofsushi/riak-elixir-client
cc3f7293dc014720e1fc1514cd4fb0f89ffa6919
[ "Apache-2.0" ]
null
null
null
test/map_test.exs
suddenrushofsushi/riak-elixir-client
cc3f7293dc014720e1fc1514cd4fb0f89ffa6919
[ "Apache-2.0" ]
null
null
null
test/map_test.exs
suddenrushofsushi/riak-elixir-client
cc3f7293dc014720e1fc1514cd4fb0f89ffa6919
[ "Apache-2.0" ]
null
null
null
defmodule Riak.CRDT.MapTest do require IEx use Riak.Case alias Riak.CRDT.Map alias Riak.CRDT.Register alias Riak.CRDT.Flag alias Riak.CRDT.Counter alias Riak.CRDT.Set @moduletag :riak2 test "create, update and find a map with other CRDTs" do key = Riak.Helper.random_key reg_data = "Register...
25.571429
91
0.625269
3f09c0bcb4c3cd2099a0b2b4e3674888545008fb
1,147
exs
Elixir
config/config.exs
siegfried/j1605
4d9fa85b36daea022241d071ea2867dbfa531de2
[ "MIT" ]
null
null
null
config/config.exs
siegfried/j1605
4d9fa85b36daea022241d071ea2867dbfa531de2
[ "MIT" ]
null
null
null
config/config.exs
siegfried/j1605
4d9fa85b36daea022241d071ea2867dbfa531de2
[ "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...
34.757576
73
0.747167
3f09c451acd1d2ecd3e80dd58ec409da69635c6a
274
ex
Elixir
lib/elir/config_agent.ex
azohra/elir
45a7fcc051949d77a791cdad0b8f0b04576afd8b
[ "MIT" ]
5
2017-09-23T19:35:30.000Z
2017-09-27T20:00:02.000Z
lib/elir/config_agent.ex
azohra/elir
45a7fcc051949d77a791cdad0b8f0b04576afd8b
[ "MIT" ]
4
2017-10-02T15:43:21.000Z
2017-10-03T01:21:26.000Z
lib/elir/config_agent.ex
azohra/elir
45a7fcc051949d77a791cdad0b8f0b04576afd8b
[ "MIT" ]
null
null
null
defmodule Elir.ConfigAgent do @moduledoc """ store the config """ use Agent def start_link(config) do Agent.start_link(fn -> %{config: config} end, name: __MODULE__) end def get_config(pid) do Agent.get(pid, fn map -> map[:config] end) end end
18.266667
67
0.653285
3f09db07432eec495761d2fcf858f2b42149a6bd
425
ex
Elixir
lib/zdashboard_web/views/page_view.ex
gsmlg/dashboard
d38bc8e576d0c2ab590b9ea5b612652cf21972f9
[ "MIT" ]
1
2020-01-02T07:58:56.000Z
2020-01-02T07:58:56.000Z
lib/zdashboard_web/views/page_view.ex
gsmlg/dashboard
d38bc8e576d0c2ab590b9ea5b612652cf21972f9
[ "MIT" ]
6
2020-01-02T10:23:27.000Z
2021-09-01T12:34:31.000Z
lib/zdashboard_web/views/page_view.ex
gsmlg/dashboard
d38bc8e576d0c2ab590b9ea5b612652cf21972f9
[ "MIT" ]
null
null
null
defmodule ZdashboardWeb.PageView do use ZdashboardWeb, :view def render("index.html", _assigns) do index_html = Path.join([__DIR__, "..", "..", "..", "priv", "static", "index.html"]) if Application.get_env(:zdashboard, :environment) == :prod do index_html = Path.join([Application.app_dir(:zdashboard)...
32.692308
96
0.647059