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
1d79c5397eb2b8d97c3eb502a6e56f0de9837f68
244
exs
Elixir
priv/repo/migrations/20190415103933_add_inside_temp.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
2,602
2019-07-24T23:19:12.000Z
2022-03-31T15:03:48.000Z
priv/repo/migrations/20190415103933_add_inside_temp.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1,547
2019-07-26T22:02:09.000Z
2022-03-31T15:39:41.000Z
priv/repo/migrations/20190415103933_add_inside_temp.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
524
2019-07-26T17:31:33.000Z
2022-03-29T15:16:36.000Z
defmodule TeslaMate.Repo.Migrations.AddInsideTemp do use Ecto.Migration def change do alter table(:positions) do add(:inside_temp, :float) end alter table(:trips) do add(:inside_temp_avg, :float) end end end
17.428571
52
0.680328
1d79c5ca4c303201610d79dab645e3e7551c2ae0
521
ex
Elixir
test/support/foreign.ex
herimedia/arbor
957d9e0a0de67d9796ab6875aedf294f83f38d9f
[ "MIT" ]
201
2016-11-07T03:13:21.000Z
2022-03-22T20:57:17.000Z
test/support/foreign.ex
chingan-tsc/arbor
4f51f5f94261f048fac88782663e9501e033c33e
[ "MIT" ]
30
2016-11-07T02:40:06.000Z
2022-03-22T17:31:14.000Z
test/support/foreign.ex
chingan-tsc/arbor
4f51f5f94261f048fac88782663e9501e033c33e
[ "MIT" ]
18
2017-02-22T08:10:54.000Z
2021-11-03T18:07:24.000Z
defmodule Arbor.Foreign do @moduledoc false use Ecto.Schema use Arbor.Tree, foreign_key: :parent_uuid, foreign_key_type: :binary_id import Ecto.Query @primary_key {:uuid, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "foreigns" do field(:name, :string) belongs_to(...
18.607143
65
0.685221
1d79cfd220f353498cfaae23141265570f0bbecd
1,301
ex
Elixir
lib/event_store/tasks/create.ex
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
lib/event_store/tasks/create.ex
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
lib/event_store/tasks/create.ex
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
defmodule EventStore.Tasks.Create do @moduledoc """ Task to create the EventStore """ import EventStore.Tasks.Output alias EventStore.Storage.Database alias EventStore.Storage.Schema @doc """ Runs database and schema create task. ## Parameters - config: the parsed EventStore config ## Opts...
23.232143
89
0.618755
1d79e73d70e22299ff02173ba0a7dde4daad1794
1,276
exs
Elixir
test/auto_api/commands/vehicle_status_command_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
test/auto_api/commands/vehicle_status_command_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
test/auto_api/commands/vehicle_status_command_test.exs
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...
47.259259
79
0.781348
1d7a05a12048162c1b1375bf5d04cc384b44bcde
200
exs
Elixir
priv/repo/migrations/20181026203555_add_coordinates_to_hosts.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
2
2019-01-20T07:03:30.000Z
2019-04-11T10:20:14.000Z
priv/repo/migrations/20181026203555_add_coordinates_to_hosts.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
6
2018-09-20T05:52:14.000Z
2019-04-23T19:27:39.000Z
priv/repo/migrations/20181026203555_add_coordinates_to_hosts.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
null
null
null
defmodule Jumubase.Repo.Migrations.AddCoordinatesToHosts do use Ecto.Migration def change do alter table(:hosts) do add :latitude, :float add :longitude, :float end end end
18.181818
59
0.7
1d7a3f2f1619d623228d3adae7c10bebd37be807
12,949
exs
Elixir
test/phoenix_live_view/integrations/flash_test.exs
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/flash_test.exs
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/flash_test.exs
gaslight/live_element
78d4ab0a2daab470f2ffd25d446fbabb0d746afe
[ "MIT" ]
null
null
null
defmodule LiveElement.FlashIntegrationTest do use ExUnit.Case, async: true import Phoenix.ConnTest import LiveElementTest alias LiveElement alias LiveElementTest.{Endpoint, Router} @endpoint Endpoint setup do conn = Phoenix.ConnTest.build_conn(:get, "http://www.example.com/", nil) |> Ph...
34.256614
126
0.578732
1d7a3f833e49409f4b62782f7572d6ce25cb680c
2,528
exs
Elixir
27-validating-input.exs
floriank/57-exercises-elixir
fcbaa547d0d0a6b447b0df88e1fc42e0cffcc08f
[ "MIT" ]
1
2016-04-23T17:03:02.000Z
2016-04-23T17:03:02.000Z
27-validating-input.exs
floriank/57-exercises-elixir
fcbaa547d0d0a6b447b0df88e1fc42e0cffcc08f
[ "MIT" ]
null
null
null
27-validating-input.exs
floriank/57-exercises-elixir
fcbaa547d0d0a6b447b0df88e1fc42e0cffcc08f
[ "MIT" ]
1
2021-06-07T21:21:41.000Z
2021-06-07T21:21:41.000Z
defmodule ValidatingInput do @moduledoc """ a module to test validation functions on some inputs """ import IO, only: [gets: 1, puts: 1] import String, only: [rstrip: 1] @min_length_name 3 @employee_id_format ~r(^[a-zA-Z]{2}\-\d{4}$) @doc """ ask the user for input """ def ask do first_name =...
22.774775
106
0.623813
1d7a4938f08f761f06c559b271e79a76c4d31823
1,597
exs
Elixir
apps/exth_crypto/mix.exs
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
22
2017-06-22T02:50:34.000Z
2022-01-26T20:43:21.000Z
apps/exth_crypto/mix.exs
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
9
2018-10-08T22:56:56.000Z
2018-10-18T20:41:55.000Z
apps/exth_crypto/mix.exs
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
5
2018-10-06T16:30:48.000Z
2022-01-26T20:43:26.000Z
defmodule ExthCrypto.Mixfile do use Mix.Project def project do [ app: :exth_crypto, version: "0.2.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", elixirc_options: [warn...
27.067797
69
0.5598
1d7a59c60e7326e8e442edae73640ea165d0e1e2
1,326
ex
Elixir
lib/web/controllers/game_controller.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
lib/web/controllers/game_controller.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
lib/web/controllers/game_controller.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
defmodule Web.GameController do use Web, :controller alias Grapevine.Events alias Grapevine.Games alias Grapevine.Presence def index(conn, params) do filter = Map.get(params, "games", %{"online" => "yes"}) games = Games.public(filter: filter) conn |> assign(:games, games) |> assign(:use...
30.136364
100
0.646305
1d7a690792057f763ef5260a8393c11b8b698dd7
5,003
exs
Elixir
mix.exs
zaherh8/oban
eb2923d4eb5e62c967907e3126326c6c764265b2
[ "Apache-2.0" ]
null
null
null
mix.exs
zaherh8/oban
eb2923d4eb5e62c967907e3126326c6c764265b2
[ "Apache-2.0" ]
null
null
null
mix.exs
zaherh8/oban
eb2923d4eb5e62c967907e3126326c6c764265b2
[ "Apache-2.0" ]
null
null
null
defmodule Oban.MixProject do use Mix.Project @version "2.5.0" def project do [ app: :oban, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), preferred_cli_env: [...
27.489011
89
0.559464
1d7a6fb9092ca998a67f3621de5a15fccf0737b1
1,678
ex
Elixir
lib/stormchat_web/endpoint.ex
gautambaghel/stormchat
1882467113158e7524d02d273e1f88439cc1f152
[ "MIT" ]
null
null
null
lib/stormchat_web/endpoint.ex
gautambaghel/stormchat
1882467113158e7524d02d273e1f88439cc1f152
[ "MIT" ]
7
2019-06-25T17:21:41.000Z
2022-02-10T12:09:08.000Z
lib/stormchat_web/endpoint.ex
gautambaghel/stormchat
1882467113158e7524d02d273e1f88439cc1f152
[ "MIT" ]
null
null
null
defmodule StormchatWeb.Endpoint do use Phoenix.Endpoint, otp_app: :stormchat socket "/socket", StormchatWeb.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...
28.931034
95
0.709178
1d7a95fb1ef5fad0a516bfce3d430fbaf40a5c6f
1,474
ex
Elixir
lib/termDirectory_web/controllers/teacher_controller.ex
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
1
2019-03-15T15:40:24.000Z
2019-03-15T15:40:24.000Z
lib/termDirectory_web/controllers/teacher_controller.ex
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
null
null
null
lib/termDirectory_web/controllers/teacher_controller.ex
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
null
null
null
defmodule TermDirectoryWeb.TeacherController do use TermDirectoryWeb, :controller alias TermDirectory.User alias TermDirectory.User.Teacher action_fallback TermDirectoryWeb.FallbackController @doc """ This catches the search url param and performs a search for the given search string in the databas...
27.296296
87
0.667571
1d7aa25489ea57a6708eb42dfc5a2bab31ef2c23
2,146
exs
Elixir
implementations/elixir/ockam/ockam/mix.exs
jjscheel/ockam
04088346c5c11c0f2969422288ffd95404d9b00a
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/mix.exs
jjscheel/ockam
04088346c5c11c0f2969422288ffd95404d9b00a
[ "Apache-2.0" ]
110
2021-08-06T17:16:52.000Z
2022-03-28T17:20:54.000Z
implementations/elixir/ockam/ockam/mix.exs
jjscheel/ockam
04088346c5c11c0f2969422288ffd95404d9b00a
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.MixProject do use Mix.Project @version "0.1.0" @elixir_requirement "~> 1.10" @ockam_github_repo "https://github.com/ockam-network/ockam" @ockam_github_repo_path "implementations/elixir/ockam/ockam" def project do [ app: :ockam, version: @version, elixir: @elixir_req...
24.386364
94
0.577819
1d7ad789e744431f45634cb70de8d51d795b7a56
263
ex
Elixir
lib/your_sanctuary.ex
InFact-coop/your-sanctuary
066e3b99ae52ee0d3fddac80b6aaf65ffef2bd0f
[ "BSD-3-Clause" ]
2
2018-10-23T13:30:00.000Z
2018-10-24T14:32:52.000Z
lib/your_sanctuary.ex
InFact-coop/your-sanctuary
066e3b99ae52ee0d3fddac80b6aaf65ffef2bd0f
[ "BSD-3-Clause" ]
60
2018-10-23T13:39:19.000Z
2019-02-11T14:18:01.000Z
lib/your_sanctuary.ex
InFact-coop/your-sanctuary
066e3b99ae52ee0d3fddac80b6aaf65ffef2bd0f
[ "BSD-3-Clause" ]
null
null
null
defmodule YourSanctuary do @moduledoc """ YourSanctuary keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.3
66
0.764259
1d7af3c0f9ad211e8b575360c0fd9ec0f958d24e
274
exs
Elixir
test/sacastats_web/views/layout_view_test.exs
Bentheburrito/sacastats
4ffcc165b67f03830f4fbf3516ab7ca7a90b0950
[ "MIT" ]
null
null
null
test/sacastats_web/views/layout_view_test.exs
Bentheburrito/sacastats
4ffcc165b67f03830f4fbf3516ab7ca7a90b0950
[ "MIT" ]
38
2021-07-09T06:13:30.000Z
2022-03-30T20:22:43.000Z
test/sacastats_web/views/layout_view_test.exs
Bentheburrito/sacastats
4ffcc165b67f03830f4fbf3516ab7ca7a90b0950
[ "MIT" ]
null
null
null
defmodule SacaStatsWeb.LayoutViewTest do use SacaStatsWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.444444
65
0.770073
1d7b000df5e472659a8abcb3c72594bd5d483cb2
944
ex
Elixir
lib/tradehub/tx/delegate_tokens.ex
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-04T16:54:25.000Z
2021-12-15T06:53:24.000Z
lib/tradehub/tx/delegate_tokens.ex
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-19T04:49:00.000Z
2021-06-01T13:36:50.000Z
lib/tradehub/tx/delegate_tokens.ex
anhmv/tradehub-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
null
null
null
defmodule Tradehub.Tx.DelegateTokens do use Tradehub.Tx.Type alias Tradehub.Tx.MsgInvalid @type t :: %__MODULE__{ delegator_address: String.t(), validator_address: String.t(), amount: Tradehub.amount() } defstruct delegator_address: nil, validator_address: nil...
32.551724
105
0.685381
1d7b3bdc9c7de3a1f4db2b5350b0ac90e1836918
356
exs
Elixir
bundlex.exs
shiryel/rayex
20cbffe788ef9df66d3e8ff918fe16a040aff737
[ "Apache-2.0" ]
8
2021-08-06T16:12:53.000Z
2022-02-07T21:23:00.000Z
bundlex.exs
shiryel/rayex
20cbffe788ef9df66d3e8ff918fe16a040aff737
[ "Apache-2.0" ]
3
2021-07-31T20:04:29.000Z
2021-12-17T19:52:41.000Z
bundlex.exs
shiryel/rayex
20cbffe788ef9df66d3e8ff918fe16a040aff737
[ "Apache-2.0" ]
3
2021-07-30T06:20:00.000Z
2022-02-23T22:33:31.000Z
defmodule Rayex.BundlexProject do use Bundlex.Project def project() do [ natives: natives(Bundlex.platform()) ] end def natives(_platform) do [ rayex: [ sources: ["rayex.c"], interface: [:nif, :cnode], pkg_configs: ["raylib"], preprocessor:...
16.952381
43
0.52809
1d7b4632ca7d564bed71dc2ab4e338fef6ad3af8
1,702
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_train_processor_version_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_train_processor_version_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_train_processor_version_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...
31.518519
130
0.762045
1d7b51b533dfeb8f14cd101c2bec62aa1811bb39
1,373
exs
Elixir
test/cloak/types/encrypted_naive_date_time_field_test.exs
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
test/cloak/types/encrypted_naive_date_time_field_test.exs
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
test/cloak/types/encrypted_naive_date_time_field_test.exs
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
defmodule Cloak.EncryptedNaiveDateTimeFieldTest do use ExUnit.Case, async: true alias Cloak.EncryptedNaiveDateTimeField, as: Field setup_all do atom_map = %{year: 2017, month: 1, day: 5, hour: 12, minute: 0, second: 0} string_map = %{ "year" => 2017, "month" => 1, "day" => 5, "ho...
29.847826
79
0.619811
1d7b54f78235b3f6473e47939ff0326af05e1732
1,975
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/acl_entry.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sql_admin/lib/google_api/sql_admin/v1/model/acl_entry.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sql_admin/lib/google_api/sql_admin/v1/model/acl_entry.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.267857
214
0.690633
1d7b63d4e466ae00c92d13b2ed1cb4c48354c57a
2,032
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_style_colors.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_style_colors.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_style_colors.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.440678
147
0.685531
1d7b8d2d860991f8db20058d7127ccd264239255
83
ex
Elixir
lib/subscription_web/views/user_registration_view.ex
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
lib/subscription_web/views/user_registration_view.ex
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
lib/subscription_web/views/user_registration_view.ex
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
defmodule SubscriptionWeb.UserRegistrationView do use SubscriptionWeb, :view end
20.75
49
0.855422
1d7b91753f7575edc5aa57a9e88a8f781eb13beb
27
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_three_operation_parsing_test_case/MatchedMultiplicationOperation.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_three_operation_parsing_test_case/MatchedMultiplicationOperation.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_three_operation_parsing_test_case/MatchedMultiplicationOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one * two ^^^ three / four
13.5
26
0.555556
1d7bb4ef2cd85f9d579cf804089f4460b2b4c1df
227
ex
Elixir
lib/pairs_one_web/channels/chat_channel.ex
mxgrn/pairs.one
25d4ee801323eb0bba1166ee59aaab9982d67a27
[ "MIT" ]
143
2016-09-23T15:05:36.000Z
2022-03-03T03:38:42.000Z
lib/pairs_one_web/channels/chat_channel.ex
mxgrn/pairs.one
25d4ee801323eb0bba1166ee59aaab9982d67a27
[ "MIT" ]
16
2016-09-29T06:33:42.000Z
2021-06-17T18:16:07.000Z
lib/pairs_one_web/channels/chat_channel.ex
mxgrn/pairs.one
25d4ee801323eb0bba1166ee59aaab9982d67a27
[ "MIT" ]
20
2016-09-27T16:25:46.000Z
2021-06-21T02:03:48.000Z
defmodule PairsOneWeb.ChatChannel do use PairsOneWeb.Web, :channel def join("chat:" <> _game_id, _params, socket) do {:ok, socket} end def handle_in("new_msg", _params, socket) do {:noreply, socket} end end
18.916667
51
0.682819
1d7bd6f60a8216bdcbc88d20b8956e13c5b0a34e
2,975
ex
Elixir
lib/nexmo/number_insight.ex
ksherman/nexmo-elixir
b907abced1f7eb297819cd5b9256e04e6f06bc96
[ "MIT" ]
4
2020-01-31T03:34:25.000Z
2022-02-25T07:05:30.000Z
lib/nexmo/number_insight.ex
ksherman/nexmo-elixir
b907abced1f7eb297819cd5b9256e04e6f06bc96
[ "MIT" ]
10
2019-08-29T06:58:02.000Z
2020-01-27T13:26:05.000Z
lib/nexmo/number_insight.ex
ksherman/nexmo-elixir
b907abced1f7eb297819cd5b9256e04e6f06bc96
[ "MIT" ]
2
2020-03-23T03:02:13.000Z
2021-09-03T23:18:45.000Z
defmodule Nexmo.NumberInsight do @moduledoc """ This module provides Nexmo Number Insight API functionality. """ @moduledoc since: "0.3.0" use HTTPoison.Base def process_response_body(body) do JSX.decode!(body) end @doc """ Access the Basic level of the Nexmo Number Insight API. ## Examples ...
36.280488
251
0.74521
1d7bd8468a3b1604ac273319209c0153bf21dfca
428
exs
Elixir
mix.exs
jonnystorm/network-test
c40fb6d2cef112ac3c1c256c341c1bbe78cf66cb
[ "WTFPL" ]
null
null
null
mix.exs
jonnystorm/network-test
c40fb6d2cef112ac3c1c256c341c1bbe78cf66cb
[ "WTFPL" ]
null
null
null
mix.exs
jonnystorm/network-test
c40fb6d2cef112ac3c1c256c341c1bbe78cf66cb
[ "WTFPL" ]
null
null
null
defmodule NetworkTest.Mixfile do use Mix.Project def project do [app: :network_test, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def application do [applications: [:logger, :ssh_pty_ex]] end defp...
18.608696
76
0.61215
1d7bdc35604be09ce876c1140372fa678c65a183
388
ex
Elixir
test_apps/dockers_phoenix/web/views/error_view.ex
emedia-project/xrel
56d69ad8fbd9da5be043a6a094ca3ef0a2d1db83
[ "Unlicense" ]
5
2017-10-31T10:22:43.000Z
2019-01-26T19:33:53.000Z
test_apps/dockers_phoenix/web/views/error_view.ex
G-Corp/jorel
56d69ad8fbd9da5be043a6a094ca3ef0a2d1db83
[ "Unlicense" ]
3
2016-02-12T14:36:50.000Z
2016-08-29T08:17:55.000Z
test_apps/dockers_phoenix/web/views/error_view.ex
G-Corp/jorel
56d69ad8fbd9da5be043a6a094ca3ef0a2d1db83
[ "Unlicense" ]
2
2016-01-02T15:19:53.000Z
2016-10-21T15:32:11.000Z
defmodule DockersPhoenix.ErrorView do use DockersPhoenix.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_fo...
21.555556
47
0.708763
1d7bdd0661334a9aacd62a983b25fe4988461786
103
ex
Elixir
servy/lib/servy/servy.ex
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
servy/lib/servy/servy.ex
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
servy/lib/servy/servy.ex
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
defmodule Servy do def hello(name) do "Hello, #{name}!" end end IO.puts Servy.hello("Elixir")
12.875
29
0.650485
1d7c014905a0da47b99dc80869772922a3d12be9
1,686
exs
Elixir
mix.exs
ultimatemonty/peepchat-api
c6359319d0380c71541e0813131866020555a471
[ "MIT" ]
null
null
null
mix.exs
ultimatemonty/peepchat-api
c6359319d0380c71541e0813131866020555a471
[ "MIT" ]
null
null
null
mix.exs
ultimatemonty/peepchat-api
c6359319d0380c71541e0813131866020555a471
[ "MIT" ]
null
null
null
defmodule Peepchat.Mixfile do use Mix.Project def project do [app: :peepchat, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, alia...
29.578947
78
0.591934
1d7c2823a596277b7c11a1ca2b976cf32322fd2b
1,121
exs
Elixir
clients/manufacturers/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/manufacturers/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/manufacturers/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Manufacturers.V1.Mixfile do use Mix.Project @version "0.4.0" def project do [app: :google_api_manufacturers, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: packag...
23.354167
113
0.606601
1d7c34fa78d2418f50c56dd366093b00e65f9796
1,690
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_access_set.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_access_set.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_access_set.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...
29.137931
86
0.688757
1d7c7db2ebcc9d30b56e40f6c20570874d02b81d
86
exs
Elixir
test/day9_test.exs
anamba/adventofcode2020
2a749140d5393f7c69c630102daae977be30afcc
[ "MIT" ]
null
null
null
test/day9_test.exs
anamba/adventofcode2020
2a749140d5393f7c69c630102daae977be30afcc
[ "MIT" ]
null
null
null
test/day9_test.exs
anamba/adventofcode2020
2a749140d5393f7c69c630102daae977be30afcc
[ "MIT" ]
null
null
null
defmodule Day9Test do use ExUnit.Case doctest Day9.Part1 doctest Day9.Part2 end
14.333333
21
0.77907
1d7cfecd8aae23a6245ed27da031dfd2613e2e1d
3,323
exs
Elixir
apps/gitgud_web/test/gitgud_web/controllers/ssh_key_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud_web/test/gitgud_web/controllers/ssh_key_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud_web/test/gitgud_web/controllers/ssh_key_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.Web.SSHKeyControllerTest do use GitGud.Web.ConnCase, async: true use GitGud.Web.DataFactory alias GitGud.User alias GitGud.SSHKey alias GitGud.Web.LayoutView setup :create_user test "renders ssh authentication key creation form if authenticated", %{conn: conn, user: user} do conn ...
42.063291
127
0.697262
1d7d22c0a1969761f717e733b2a0d76fa2c30dae
993
ex
Elixir
apps/ehealth/lib/ehealth/web/controllers/black_list_user_controller.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth/lib/ehealth/web/controllers/black_list_user_controller.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth/lib/ehealth/web/controllers/black_list_user_controller.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EHealth.Web.BlackListUserController do @moduledoc false use EHealth.Web, :controller alias Core.BlackListUsers alias Scrivener.Page action_fallback(EHealth.Web.FallbackController) def index(conn, params) do with %Page{} = paging <- BlackListUsers.list(params) do render(conn, "index.js...
30.090909
89
0.713998
1d7d2eb2cec1459b13eddd8629dc0a6bf604d44a
42,237
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_disks.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_disks.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_disks.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.510686
434
0.634325
1d7d46d647e4c83077ce2f6d43297b8aee762a1b
8,549
ex
Elixir
issues/deps/poison/lib/poison/encoder.ex
vronic/programming-elixir
4465a81cc07b31a4c03bd277520e1127dda773b2
[ "MIT" ]
1
2015-08-24T06:01:51.000Z
2015-08-24T06:01:51.000Z
issues/deps/poison/lib/poison/encoder.ex
vronic/programming-elixir
4465a81cc07b31a4c03bd277520e1127dda773b2
[ "MIT" ]
null
null
null
issues/deps/poison/lib/poison/encoder.ex
vronic/programming-elixir
4465a81cc07b31a4c03bd277520e1127dda773b2
[ "MIT" ]
null
null
null
defmodule Poison.EncodeError do defexception value: nil, message: nil def message(%{value: value, message: nil}) do "unable to encode value: #{inspect value}" end def message(%{message: message}) do message end end defmodule Poison.Encode do defmacro __using__(_) do quote do defp encode...
24.997076
92
0.610247
1d7d5e86543da3c41dac0d29f4b26c65db6e35e2
2,001
exs
Elixir
clients/managed_identities/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/managed_identities/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/managed_identities/mix.exs
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.865672
224
0.673163
1d7d9025e81ae2ce99ed476db9505ea313d2a064
2,521
ex
Elixir
lib/mix/nerves/preflight.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
1,944
2016-01-25T14:04:50.000Z
2022-03-30T13:25:53.000Z
lib/mix/nerves/preflight.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
397
2016-05-19T21:17:51.000Z
2022-03-30T18:02:49.000Z
lib/mix/nerves/preflight.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
191
2016-01-30T01:56:25.000Z
2022-03-30T17:58:57.000Z
defmodule Mix.Nerves.Preflight do alias Nerves.Utils.WSL @fwup_semver "~> 1.8" def check! do :os.type() |> case do {_, :linux} -> if WSL.running_on_wsl?(), do: :wsl, else: :linux {_, type} -> type end |> check_platform!() Mix.Task.run("nerves.loadpaths") end # OSX defp ch...
28.325843
83
0.650139
1d7da1e2e39116fc644e12eaeeb21676cacd62d7
775
ex
Elixir
lib/procore/resources/submittal_status.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-01T01:34:16.000Z
2020-08-31T15:15:08.000Z
lib/procore/resources/submittal_status.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-03T03:01:48.000Z
2021-06-08T18:39:40.000Z
lib/procore/resources/submittal_status.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
3
2018-08-12T03:51:52.000Z
2020-02-27T14:29:14.000Z
defmodule Procore.Resources.SubmittalStatus do @moduledoc """ Available actions for the Submittal Statuses resource. """ alias Procore.ErrorResult alias Procore.Request alias Procore.ResponseResult @doc """ List all submittal status in a company """ @spec list(Tesla.Client.t(), %{ requir...
31
77
0.67871
1d7dccc0122c7c04097b64684028b563ff89ae77
1,361
exs
Elixir
exercises/practice/resistor-color/test/resistor_color_test.exs
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
2
2019-07-09T05:23:38.000Z
2019-07-29T01:39:59.000Z
exercises/practice/resistor-color/test/resistor_color_test.exs
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
16
2020-05-30T12:38:13.000Z
2022-02-19T09:23:31.000Z
exercism/elixir/resistor-color/test/resistor_color_test.exs
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
defmodule ResistorColorTest do use ExUnit.Case # @tag :pending test "returns black color code" do assert ResistorColor.code("black") == 0 end @tag :pending test "returns brown color code" do assert ResistorColor.code("brown") == 1 end @tag :pending test "returns red color code" do asser...
18.902778
44
0.626745
1d7df08ba6e8a796b80be72f4a3c9525a4108d0c
107
ex
Elixir
lib/absinthe/language/list_type.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
lib/absinthe/language/list_type.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
lib/absinthe/language/list_type.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
defmodule Absinthe.Language.ListType do @moduledoc false defstruct type: nil, loc: %{start: nil} end
15.285714
41
0.738318
1d7e3fb83973292aff2cb2559133804219b98cd4
242
exs
Elixir
Chapter02/apps/elixir_drip/config/prod.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter02/apps/elixir_drip/config/prod.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter02/apps/elixir_drip/config/prod.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
use Mix.Config import_config "prod.secret.exs" config :elixir_drip, ElixirDrip.Repo, adapter: Ecto.Adapters.Postgres, username: "${DB_USER}", password: "${DB_PASS}", database: "${DB_NAME}", hostname: "${DB_HOST}", pool_size: 15
20.166667
37
0.690083
1d7e4588abe66e0a21e98b9bd90cbcd3c24b42c2
41,005
ex
Elixir
lib/ecto/adapters/exqlite/connection.ex
Eiji7/exqlite
025bba63a2ebf2011d7bdf2c7a300f5782d917ae
[ "MIT" ]
null
null
null
lib/ecto/adapters/exqlite/connection.ex
Eiji7/exqlite
025bba63a2ebf2011d7bdf2c7a300f5782d917ae
[ "MIT" ]
null
null
null
lib/ecto/adapters/exqlite/connection.ex
Eiji7/exqlite
025bba63a2ebf2011d7bdf2c7a300f5782d917ae
[ "MIT" ]
null
null
null
defmodule Ecto.Adapters.Exqlite.Connection do @behaviour Ecto.Adapters.SQL.Connection alias Ecto.Migration.Constraint alias Ecto.Migration.Index alias Ecto.Migration.Reference alias Ecto.Migration.Table alias Ecto.Query.BooleanExpr alias Ecto.Query.JoinExpr alias Ecto.Query.QueryExpr alias Ecto.Query...
26.251601
90
0.602024
1d7e5833d15b935711f3ce484f41fd7eeb80fc98
1,923
exs
Elixir
plugins/one_admin/config/dev.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_admin/config/dev.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_admin/config/dev.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :one_admin, OneAdminWeb.Endpoint, http: [port:...
32.59322
170
0.702028
1d7e61dcb865a08468ba779ab12803a9b506fb99
1,818
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/video_formats_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/video_formats_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/video_formats_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.36
160
0.742024
1d7e87bf6f8f3f883f4f4cbb791ac8211ff50a3b
1,160
ex
Elixir
lib/railway_ipc/adapters/in_memory/consumer.ex
djeusette/railway_ipc
30fb58726e43148fe72fbfe63fdf46161fc933cf
[ "MIT" ]
null
null
null
lib/railway_ipc/adapters/in_memory/consumer.ex
djeusette/railway_ipc
30fb58726e43148fe72fbfe63fdf46161fc933cf
[ "MIT" ]
null
null
null
lib/railway_ipc/adapters/in_memory/consumer.ex
djeusette/railway_ipc
30fb58726e43148fe72fbfe63fdf46161fc933cf
[ "MIT" ]
null
null
null
defmodule RailwayIpc.Adapters.InMemory.Consumer do @moduledoc false use GenServer @behaviour RailwayIpc.Consumer.Impl @impl true def child_spec(opts) do module = Keyword.fetch!(opts, :module) name = Keyword.fetch!(opts, :name) [ %{ id: name, start: {__MODULE__, ...
20.714286
97
0.602586
1d7ea8e3e681edad93364c5cb95c08a6dd23cfce
3,677
exs
Elixir
test/sanbase_web/graphql/blockchain_address/blockchain_address_transfers_summary_api_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/sanbase_web/graphql/blockchain_address/blockchain_address_transfers_summary_api_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/sanbase_web/graphql/blockchain_address/blockchain_address_transfers_summary_api_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.BlockchainAddressTransfersSummaryApiTest do use SanbaseWeb.ConnCase, async: false import Sanbase.Factory import SanbaseWeb.Graphql.TestHelpers setup do user = insert(:user) conn = setup_jwt_auth(build_conn(), user) project = insert(:random_erc20_project) eth_projec...
31.698276
91
0.584172
1d7eadb65faf35d9baac0561d59f9f513ade1255
2,162
ex
Elixir
lib/wax_api_rest/types/server_public_key_credential.ex
tanguilp/wax_api_rest
c5580775afe2bad91e49083a80629da043258dd5
[ "Apache-2.0" ]
null
null
null
lib/wax_api_rest/types/server_public_key_credential.ex
tanguilp/wax_api_rest
c5580775afe2bad91e49083a80629da043258dd5
[ "Apache-2.0" ]
null
null
null
lib/wax_api_rest/types/server_public_key_credential.ex
tanguilp/wax_api_rest
c5580775afe2bad91e49083a80629da043258dd5
[ "Apache-2.0" ]
null
null
null
defmodule WaxAPIREST.Types.ServerPublicKeyCredential do alias WaxAPIREST.Types.{ Error, PublicKeyCredentialType, ServerAuthenticatorAssertionResponse, ServerAuthenticatorAttestationResponse } @enforce_keys [:id, :rawId, :response, :type] defstruct [ :id, :rawId, :response, :typ...
24.022222
92
0.612858
1d7ec6867499000786b8d921a29476d9e1e94d34
11,133
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/projects.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/projects.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/projects.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.541045
196
0.616456
1d7ee30d337fdf1056a466340594a4ecc85e2c91
1,003
ex
Elixir
lib/elixir_ami.ex
meetupcall/elixir_ami
3a0399481c984c75044d7cb0159fb3c584dd2dde
[ "Apache-2.0" ]
12
2015-11-05T16:17:29.000Z
2022-02-12T16:02:23.000Z
lib/elixir_ami.ex
meetupcall/elixir_ami
3a0399481c984c75044d7cb0159fb3c584dd2dde
[ "Apache-2.0" ]
3
2016-02-09T08:02:56.000Z
2018-08-30T20:31:13.000Z
lib/elixir_ami.ex
meetupcall/elixir_ami
3a0399481c984c75044d7cb0159fb3c584dd2dde
[ "Apache-2.0" ]
7
2015-12-27T17:05:12.000Z
2020-04-30T17:56:48.000Z
defmodule ElixirAmi do @moduledoc """ An Elixir client for the Asterisk AMI protocol. Copyright 2015 Marcelo Gornstein <marcelog@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
30.393939
74
0.735793
1d7f0c17fbbca72cec7c45e1d2bb03139c43a5eb
210
exs
Elixir
priv/repo/migrations/20200319161901_add_is_paywall_required_to_insights.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20200319161901_add_is_paywall_required_to_insights.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20200319161901_add_is_paywall_required_to_insights.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.AddIsPaywallRequiredToInsights do use Ecto.Migration def change do alter table("posts") do add(:is_paywall_required, :boolean, default: false) end end end
21
67
0.742857
1d7f116c95ce697a41e95a23cc38bd45e81732b3
659
ex
Elixir
lib/pubsub/server.ex
pragdave/web-pubsub
0f973bfbfb322525e2ca1b96f01479d9fa74d7b4
[ "Unlicense" ]
null
null
null
lib/pubsub/server.ex
pragdave/web-pubsub
0f973bfbfb322525e2ca1b96f01479d9fa74d7b4
[ "Unlicense" ]
null
null
null
lib/pubsub/server.ex
pragdave/web-pubsub
0f973bfbfb322525e2ca1b96f01479d9fa74d7b4
[ "Unlicense" ]
null
null
null
defmodule Pubsub.Server do use GenServer alias Pubsub.Impl def start_link(_) do GenServer.start_link(__MODULE__, nil, name: Pubsub.name()) end def init(_) do { :ok, %{} } end def handle_call({ :subscribe, topic, args }, { from, _ref }, topics) do state = Impl.subscribe(from, topics, topic, ...
22.724138
73
0.652504
1d7f27e21ec0eec1baee2e7442620ca8983dd777
928
ex
Elixir
lib/stranger/schema.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
11
2021-01-27T17:21:00.000Z
2021-12-07T13:02:59.000Z
lib/stranger/schema.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
null
null
null
lib/stranger/schema.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
null
null
null
defmodule Stranger.SchemaBehaviour do @moduledoc """ Schema behaviour """ @callback to_struct(map()) :: struct() @callback from_struct(struct()) :: map() end defmodule Stranger.Schema do @moduledoc """ Schema module """ defmacro __using__(_opts) do quote do @behaviour Stranger.SchemaBeh...
23.2
69
0.621767
1d7f28985fff619a4c0a3fbbae848d2c732e5973
1,887
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/sharding_option.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/sharding_option.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/sharding_option.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37
171
0.744568
1d7f3f0bd048ad6e6dfc0ee265b57ebcd7e5b12f
1,277
exs
Elixir
mix.exs
reset/facebook.ex
e8d4048e7b795e5be71be73964e275937b4f8e35
[ "MIT" ]
1
2015-07-22T21:40:19.000Z
2015-07-22T21:40:19.000Z
mix.exs
reset/facebook.ex
e8d4048e7b795e5be71be73964e275937b4f8e35
[ "MIT" ]
null
null
null
mix.exs
reset/facebook.ex
e8d4048e7b795e5be71be73964e275937b4f8e35
[ "MIT" ]
null
null
null
Code.ensure_loaded?(Hex) and Hex.start defmodule Facebook.Mixfile do use Mix.Project def project do [ app: :facebook, version: "0.2.2", elixir: "~> 1.0.0", description: description, package: package, deps: deps ] end # Configuration for the OTP application def application do [ mod: { ...
19.953125
97
0.613156
1d7f72f3bd1b6872e3e81ba0c5fb9f31062d3a78
117
ex
Elixir
back/lib/zx/postgrex_types.ex
giovanecosta/zebra-xantis
92e5937d51c44e75544bb539f5d95f6b0cc61b94
[ "MIT" ]
null
null
null
back/lib/zx/postgrex_types.ex
giovanecosta/zebra-xantis
92e5937d51c44e75544bb539f5d95f6b0cc61b94
[ "MIT" ]
null
null
null
back/lib/zx/postgrex_types.ex
giovanecosta/zebra-xantis
92e5937d51c44e75544bb539f5d95f6b0cc61b94
[ "MIT" ]
1
2019-08-29T17:37:51.000Z
2019-08-29T17:37:51.000Z
Postgrex.Types.define(Zx.PostgrexTypes, [Geo.PostGIS.Extension] ++ Ecto.Adapters.Postgres.extensions(), json: Jason)
58.5
116
0.786325
1d7f76d51cd43c8934b401275fa4864b860f1397
1,403
ex
Elixir
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/lib/new_relic_sandbox_web/endpoint.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
null
null
null
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/lib/new_relic_sandbox_web/endpoint.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
2
2019-09-09T08:26:44.000Z
2019-11-05T04:31:37.000Z
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/lib/new_relic_sandbox_web/endpoint.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
1
2019-09-06T09:27:27.000Z
2019-09-06T09:27:27.000Z
defmodule NewRelicSandboxWeb.Endpoint do use Phoenix.Endpoint, otp_app: :new_relic_sandbox_web use NewRelic.Phoenix.Transaction socket "/socket", NewRelicSandboxWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to...
29.229167
69
0.727014
1d7f858af5b0a3e2d3cbf0c46efaa6f595332ef1
1,164
ex
Elixir
phoenix-app/flyr/lib/flyr_web/channels/user_socket.ex
rounakdatta/flyr
b455bd44f712b4d7f31d23df7059bd2b88a53bea
[ "WTFPL" ]
1
2018-11-23T08:36:25.000Z
2018-11-23T08:36:25.000Z
phoenix-app/flyr/lib/flyr_web/channels/user_socket.ex
rounakdatta/flyr
b455bd44f712b4d7f31d23df7059bd2b88a53bea
[ "WTFPL" ]
1
2018-10-07T14:34:50.000Z
2018-10-08T19:46:29.000Z
phoenix-app/flyr/lib/flyr_web/channels/user_socket.ex
rounakdatta/flyr
b455bd44f712b4d7f31d23df7059bd2b88a53bea
[ "WTFPL" ]
null
null
null
defmodule FlyrWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", FlyrWeb.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 authent...
30.631579
83
0.701031
1d7f902aefedfbf66eef3f7335dfb8a075d851c0
1,002
ex
Elixir
MixProject/help/lib/help/application.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/help/lib/help/application.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/help/lib/help/application.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule Help.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 Ecto repository s...
31.3125
82
0.707585
1d7f993c28c620ef6f9f58b2030edca58ee2022c
932
exs
Elixir
mix.exs
bmfay/interactor
fcdb6c74ef524ce5791216bd0f661d75f0c78b08
[ "Apache-2.0" ]
null
null
null
mix.exs
bmfay/interactor
fcdb6c74ef524ce5791216bd0f661d75f0c78b08
[ "Apache-2.0" ]
null
null
null
mix.exs
bmfay/interactor
fcdb6c74ef524ce5791216bd0f661d75f0c78b08
[ "Apache-2.0" ]
null
null
null
defmodule Interactor.Mixfile do use Mix.Project def project do [app: :interactor, version: "0.1.0", elixir: "~> 1.5", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, source_url: "https://github.com/AgilionApps/interactor", package: package, description: d...
20.26087
76
0.57618
1d7f9a3293250655da4da2c6b9d00090fbcf2067
440
ex
Elixir
apps/roll35_core/lib/roll35_core/data/compound_agent.ex
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
1
2021-08-07T09:43:28.000Z
2021-08-07T09:43:28.000Z
apps/roll35_core/lib/roll35_core/data/compound_agent.ex
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
24
2020-11-24T19:18:46.000Z
2022-02-28T08:03:36.000Z
apps/roll35_core/lib/roll35_core/data/compound_agent.ex
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
null
null
null
defmodule Roll35Core.Data.CompoundAgent do @moduledoc """ A data agent for ahndling compound item lists. """ use Roll35Core.Data.Agent alias Roll35Core.Util @impl Roll35Core.Data.Agent def process_data(data) do Util.process_compound_itemlist(data) end defdelegate random(agent), to: Roll35Core....
24.444444
82
0.756818
1d7fbec66b8264148105a272e50728647e45850c
8,559
ex
Elixir
lib/phoenix/live_dashboard/pages/home_page.ex
PaulOstazeski/phoenix_live_dashboard
c68eac2640d6579d16f222fe58c1eb669342a1f2
[ "MIT" ]
2
2020-05-06T14:51:56.000Z
2020-05-06T14:52:21.000Z
deps/phoenix_live_dashboard/lib/phoenix/live_dashboard/pages/home_page.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/phoenix_live_dashboard/lib/phoenix/live_dashboard/pages/home_page.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2020-05-16T22:44:14.000Z
2020-05-16T22:44:14.000Z
defmodule Phoenix.LiveDashboard.HomePage do @moduledoc false use Phoenix.LiveDashboard.PageBuilder alias Phoenix.LiveDashboard.{ SystemInfo, CardUsageComponent, ColorBarComponent, ColorBarLegendComponent } @temporary_assigns [system_info: nil, system_usage: nil] @versions_sections [ {...
34.792683
209
0.553336
1d7fd7cc486856200cc526a2d298fca63b75134d
124
ex
Elixir
lib/ex_polygon/ticker.ex
rupurt/ex_polygon
46c22f37c6d1bb465ffcf71c21e7e682351ba8dd
[ "MIT" ]
1
2021-08-21T09:14:39.000Z
2021-08-21T09:14:39.000Z
lib/ex_polygon/ticker.ex
rupurt/ex_polygon
46c22f37c6d1bb465ffcf71c21e7e682351ba8dd
[ "MIT" ]
null
null
null
lib/ex_polygon/ticker.ex
rupurt/ex_polygon
46c22f37c6d1bb465ffcf71c21e7e682351ba8dd
[ "MIT" ]
2
2020-08-27T16:06:11.000Z
2021-03-20T13:48:16.000Z
defmodule ExPolygon.Ticker do defstruct ~w(active codes currency locale market name primary_exch ticker updated url)a end
31
89
0.830645
1d7ff4373635f7601dd621e4f35f9251870ba05d
1,492
exs
Elixir
apps/grapevine/config/config.exs
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/grapevine/config/config.exs
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/grapevine/config/config.exs
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
import Config config(:grapevine, namespace: Web, ecto_repos: [GrapevineData.Repo]) config(:grapevine, :decanter, enabled: true) config :grapevine, Web.Endpoint, secret_key_base: "Pqncs1RkrPq/7DiOEo/7U0DGsm503zjPQMerRQO3YVFUtOXpDq6PKI5xBfwBCWmB", live_view: [signing_salt: "SWvL1X6M5XJHDfJjnWxhzUU4P5wwzIjR"], re...
34.697674
93
0.766086
1d8006f58c6be6d4cd2f0a71c6c4da4d2faf9590
3,033
ex
Elixir
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/audit_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/audit_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/audit_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
59.470588
1,110
0.746456
1d802c46e62c459fba9038b1ae64ed724cbb75c1
6,368
exs
Elixir
test/vutuv_web/controllers/post_controller_test.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
test/vutuv_web/controllers/post_controller_test.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
test/vutuv_web/controllers/post_controller_test.exs
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule VutuvWeb.PostControllerTest do use VutuvWeb.ConnCase alias Vutuv.{UserConnections, Publications} @create_attrs %{ body: Faker.Company.bs(), title: Faker.Company.name(), visibility_level: "private" } @update_attrs %{ visibility_level: "public" } setup %{conn: conn} do conn ...
37.458824
99
0.643373
1d8081a4fd25b44e1eee5b04f02184aea8f3b3e0
1,126
ex
Elixir
lib/sbom_poc_web/live/events_live.ex
sFractal-Podii/SbomPoc-sFractal
33f24c3922f803172d7dbc714ad8d60b598a4e0c
[ "MIT" ]
2
2020-10-04T12:41:58.000Z
2021-03-11T20:51:26.000Z
lib/sbom_poc_web/live/events_live.ex
sparrell/SbomPoc-sFractal
162aefc2cad5a4cd8c8828db5cc81c4932db1716
[ "MIT" ]
113
2020-07-25T02:29:33.000Z
2022-03-01T01:07:23.000Z
lib/sbom_poc_web/live/events_live.ex
sFractal-Podii/SbomPoc-sFractal
33f24c3922f803172d7dbc714ad8d60b598a4e0c
[ "MIT" ]
5
2020-07-10T09:57:58.000Z
2021-03-11T20:51:29.000Z
defmodule SbomPocWeb.EventsLive do @moduledoc "Events page live view" use SbomPocWeb, :live_view @topic "new_event" @impl true def mount(_params, _session, socket) do Phoenix.PubSub.subscribe(SbomPoc.PubSub, @topic) events = SbomPoc.Mqtt.Handler.all_events() {:ok, assign(socket, events: events)...
21.653846
60
0.528419
1d80aaaf536ff6cff8e10a50df1dbe9d6b0bb01b
1,121
ex
Elixir
test/support/layout_view.ex
tiagoefmoraes/phoenix_live_view
ed77fa52443c77bd9f281f1a64da832a6e8724e8
[ "MIT" ]
null
null
null
test/support/layout_view.ex
tiagoefmoraes/phoenix_live_view
ed77fa52443c77bd9f281f1a64da832a6e8724e8
[ "MIT" ]
null
null
null
test/support/layout_view.ex
tiagoefmoraes/phoenix_live_view
ed77fa52443c77bd9f281f1a64da832a6e8724e8
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.LayoutView do use Phoenix.View, root: "" import Phoenix.LiveView.Helpers def render("app.html", assigns) do ["LAYOUT", render(assigns.view_module, assigns.view_template, assigns)] end def render("live.html", assigns) do ~L""" LIVELAYOUTSTART-<%= @val %>-<%= @live_v...
26.069767
92
0.693131
1d80f843626f41229a07141c2eea773df15710b3
2,275
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/create_shape_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/create_shape_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/create_shape_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.295082
145
0.716484
1d80fc21f5c1d1b4ed91301c908b07fe5c61d0bb
1,037
exs
Elixir
test/protobuf/protoc/generator/util_test.exs
wojtekmach/protobuf
3b251d286dc94745fc6a92fcbf9be03f44bb9b46
[ "MIT" ]
null
null
null
test/protobuf/protoc/generator/util_test.exs
wojtekmach/protobuf
3b251d286dc94745fc6a92fcbf9be03f44bb9b46
[ "MIT" ]
null
null
null
test/protobuf/protoc/generator/util_test.exs
wojtekmach/protobuf
3b251d286dc94745fc6a92fcbf9be03f44bb9b46
[ "MIT" ]
null
null
null
defmodule Protobuf.Protoc.Generator.UtilTest do use ExUnit.Case, async: true import Protobuf.Protoc.Generator.Util test "mod_name can handle nil prefix" do assert mod_name(%{module_prefix: nil}, ["Foo", "Bar"]) == "Foo.Bar" end test "mod_name can handle empty package" do assert mod_name(%{module_pr...
30.5
97
0.618129
1d810e1539f3d9a08bcee054b1661b978649a23b
368
ex
Elixir
lib/appsignal/logger.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
lib/appsignal/logger.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
lib/appsignal/logger.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
defmodule Appsignal.Logger do require Logger require Appsignal.Utils @logger Appsignal.Utils.compile_env(:appsignal, :logger, Logger) @spec debug(any()) :: :ok @doc """ Passes the debug message to `Logger.debug/1` if `Appsignal.Config.debug?/0` is `true`. """ def debug(log) do Appsignal.Config.d...
21.647059
77
0.673913
1d81154f40432598c62dbc1d416cb794c1a09247
67
ex
Elixir
lib/pinafore/repo.ex
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
2
2016-02-15T13:19:28.000Z
2016-02-15T18:10:12.000Z
lib/pinafore/repo.ex
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
2
2016-02-14T22:01:49.000Z
2016-02-14T22:02:46.000Z
lib/pinafore/repo.ex
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
null
null
null
defmodule Pinafore.Repo do use Ecto.Repo, otp_app: :pinafore end
16.75
35
0.776119
1d812fa2cd8c96b0f02ae85356c515804416d5d4
3,140
ex
Elixir
lib/changelog_web/controllers/home_controller.ex
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/home_controller.ex
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/home_controller.ex
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.HomeController do use ChangelogWeb, :controller alias Changelog.{Person, Slack} alias Craisin.Subscriber plug RequireUser, "except from email links" when action not in [:opt_out] plug :scrub_params, "person" when action in [:update] def show(conn, %{"subscribed" => newsletter_id}),...
35.681818
123
0.650318
1d816fe744ead337e473b3002d368827d4299c2c
1,980
exs
Elixir
config/prod.exs
markevich/travel
f6f7dd7dd459149926c305984685d91ca1376f77
[ "MIT" ]
4
2016-11-01T14:59:33.000Z
2016-11-01T15:05:57.000Z
config/prod.exs
markevich/travel
f6f7dd7dd459149926c305984685d91ca1376f77
[ "MIT" ]
null
null
null
config/prod.exs
markevich/travel
f6f7dd7dd459149926c305984685d91ca1376f77
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
31.935484
67
0.712121
1d81a277aaa1778e140600fb086809bc3ea91892
432
ex
Elixir
lib/phoenix_profiler/application.ex
mcrumm/phoenix_profiler
57dd6c4ae2fa0a612f0d60643f2058c16c7b6399
[ "MIT" ]
98
2021-12-04T03:00:02.000Z
2022-03-24T16:53:20.000Z
lib/phoenix_profiler/application.ex
mcrumm/phoenix_profiler
57dd6c4ae2fa0a612f0d60643f2058c16c7b6399
[ "MIT" ]
22
2021-12-04T15:23:14.000Z
2022-03-21T17:14:29.000Z
lib/phoenix_profiler/application.ex
mcrumm/phoenix_profiler
57dd6c4ae2fa0a612f0d60643f2058c16c7b6399
[ "MIT" ]
1
2022-01-24T17:37:59.000Z
2022-01-24T17:37:59.000Z
defmodule PhoenixProfiler.Application do @moduledoc false use Application @impl true def start(_type, _args) do children = [ {Registry, keys: :unique, name: PhoenixProfiler.TelemetryRegistry}, {DynamicSupervisor, strategy: :one_for_one, name: PhoenixProfiler.DynamicSupervisor} ] opts =...
27
90
0.733796
1d8220ccef123bf7e926cb7bf1e534f538a720fa
786
ex
Elixir
apps/tai/lib/tai/venue_adapters/binance.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venue_adapters/binance.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venue_adapters/binance.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
defmodule Tai.VenueAdapters.Binance do alias Tai.VenueAdapters.Binance.{ StreamSupervisor, Products, AssetBalances, MakerTakerFees, CreateOrder, CancelOrder } @behaviour Tai.Venues.Adapter def stream_supervisor, do: StreamSupervisor defdelegate products(venue_id), to: Products defd...
35.727273
86
0.78117
1d823a2643a0e8576fcc836ad167fbb118e005cf
2,066
ex
Elixir
apps/omg_watcher_info/lib/omg_watcher_info/supervisor.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_info/lib/omg_watcher_info/supervisor.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_info/lib/omg_watcher_info/supervisor.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
29.942029
98
0.677638
1d8247367acc57f354fc93fd7e7bfc107f257f4f
945
exs
Elixir
test/lib/code_corps_web/views/preview_view_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps_web/views/preview_view_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps_web/views/preview_view_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorpsWeb.PreviewViewTest do use CodeCorpsWeb.ViewCase test "renders all attributes and relationships properly" do user = insert(:user) preview = insert(:preview, user: user) rendered_json = render(CodeCorpsWeb.PreviewView, "show.json-api", data: preview) expected_json = %{ "da...
25.540541
84
0.51746
1d826576aa527f1ea5a8b25589871a4d655c19c8
741
exs
Elixir
test/tablespoon/application_test.exs
paulswartz/tablespoon
3637ee22cce16755fa50461058a079fa18d33b1b
[ "MIT" ]
2
2020-04-03T14:39:23.000Z
2020-12-17T23:12:58.000Z
test/tablespoon/application_test.exs
mbta/tablespoon
4303ad8498f3e619b081ffbd6892156e0214b61e
[ "MIT" ]
107
2019-09-16T12:52:17.000Z
2022-02-28T10:25:15.000Z
test/tablespoon/application_test.exs
mbta/tablespoon
4303ad8498f3e619b081ffbd6892156e0214b61e
[ "MIT" ]
null
null
null
defmodule Tablespoon.ApplicationTest do @moduledoc false use ExUnit.Case, async: true import Tablespoon.Application doctest Tablespoon.Application describe "configs/1" do test "returns parsed JSON if present" do json = [ %{ "name" => "name", "intersectionAlias" => "alia...
23.903226
79
0.569501
1d826709ae4155151267c52e280725fa26a9451f
11,326
ex
Elixir
lib/domo/type_ensurer_factory/generator/match_fun_registry/lists.ex
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
lib/domo/type_ensurer_factory/generator/match_fun_registry/lists.ex
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
lib/domo/type_ensurer_factory/generator/match_fun_registry/lists.ex
cuevacreativa/Domo
5f2f5ff3cb57dfe774408dcae6ccb5b79d1a3089
[ "MIT" ]
null
null
null
defmodule Domo.TypeEnsurerFactory.Generator.MatchFunRegistry.Lists do @moduledoc false alias Domo.TypeEnsurerFactory.Precondition alias Domo.TypeEnsurerFactory.Generator.TypeSpec def list_spec?(type_spec_precond) do {type_spec, _precond} = TypeSpec.split_spec_precond(type_spec_precond) case type_spec...
40.30605
141
0.668462
1d828065631cef424f69a28a6889c0ba3a678e1b
1,490
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1beta1_gcs_source.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1beta1_gcs_source.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1beta1_gcs_source.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.702128
99
0.748322
1d8296d1da87589b66f0bd3674993f3bb0e17929
425
exs
Elixir
test/telluride_ui_web/views/error_view_test.exs
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
2
2021-03-05T13:24:49.000Z
2021-09-22T23:36:21.000Z
test/telluride_ui_web/views/error_view_test.exs
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
null
null
null
test/telluride_ui_web/views/error_view_test.exs
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
null
null
null
defmodule TellurideWeb.ErrorViewTest do use TellurideWeb.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(TellurideWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do ...
28.333333
94
0.738824
1d82c20fa6a96f0bb440e2147e0a4744d11d892e
1,097
ex
Elixir
apps/domain/lib/domain/projects/sample.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
apps/domain/lib/domain/projects/sample.ex
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
apps/domain/lib/domain/projects/sample.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.000Z
defmodule Domain.Projects.Sample do use Domain.Schema import Ecto.Changeset alias Domain.Projects @default_status SampleStatusEnum.__enum_map__()[:New] schema "samples" do field(:mrn, :string) field(:igo_sequencing_id, :string) field(:igo_extraction_id, :string) field(:tube_id, :string) ...
24.377778
69
0.67639
1d82c925da14c201969741454a225e9a1f0d83a9
992
exs
Elixir
config/config.exs
smartlogic/stein_example
7ef369757989a9a56d04e87f6421675bf69193a2
[ "MIT" ]
7
2019-12-13T19:23:47.000Z
2022-01-22T23:02:42.000Z
config/config.exs
smartlogic/stein_example
7ef369757989a9a56d04e87f6421675bf69193a2
[ "MIT" ]
11
2021-03-10T01:57:00.000Z
2021-08-31T18:30:54.000Z
config/config.exs
smartlogic/stein_example
7ef369757989a9a56d04e87f6421675bf69193a2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :stein_example, namespace: Web, ecto_...
26.810811
63
0.753024
1d82dae4cada20cd72c01065bfd259ac64e57bb5
477
ex
Elixir
lib/storeHall/workers/alerts_watcher.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
null
null
null
lib/storeHall/workers/alerts_watcher.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
4
2019-07-16T06:24:42.000Z
2021-05-07T22:26:14.000Z
lib/storeHall/workers/alerts_watcher.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
1
2018-11-23T21:13:31.000Z
2018-11-23T21:13:31.000Z
defmodule StoreHall.AlertsWatcher do use GenServer alias StoreHall.AlertsMail # 24 hours @interval 24 * 60 * 60 * 1000 def start_link(_) do GenServer.start_link(__MODULE__, %{}) end def init(state) do # send now Process.send_after(self(), :alert, 1000) # schedule on interval :timer...
17.666667
44
0.666667
1d82e36880144bff0c6f63aa5275d407e4699e28
3,567
ex
Elixir
lib/mix/lib/mix/tasks/compile.elixir.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.elixir.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/mix/lib/mix/tasks/compile.elixir.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.Elixir do use Mix.Task.Compiler @recursive true @manifest "compile.elixir" @moduledoc """ Compiles Elixir source files. Elixir is smart enough to recompile only files that have changed and their dependencies. This means if `lib/a.ex` is invoking a function defined over `li...
31.566372
92
0.670872
1d83186de20a3413e0841b4f28a64488f25ab845
9,913
ex
Elixir
lib/sanbase/comments/comment.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/comments/comment.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/comments/comment.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Comment do @moduledoc ~s""" Comment definition module. A comment is represented by its: - author - content - subcomments & subcomments_count - parent_id - The id of the comment to which this comment is a direct subcomment. The parent of the subcomment in the tree this comment is par...
31.874598
98
0.682942
1d832f8e41b6121eb38f0870c4ca06960a08291d
639
exs
Elixir
apps/testing/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/testing/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/testing/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule Testing.MixProject do use Mix.Project def project do [ app: :testing, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", start_permanent: Mix.env()...
19.363636
45
0.525822
1d833b2136d6b605169ec54cba1b4fee4957d93c
686
exs
Elixir
config/config.exs
os-ex/chat_db_ex
887aadaf6499bd214fd12af5410f5414672420a0
[ "Apache-2.0" ]
null
null
null
config/config.exs
os-ex/chat_db_ex
887aadaf6499bd214fd12af5410f5414672420a0
[ "Apache-2.0" ]
null
null
null
config/config.exs
os-ex/chat_db_ex
887aadaf6499bd214fd12af5410f5414672420a0
[ "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. # General application configuration use Mix.Config config :chat_db, # chat_db_path: 'priv/db/Mess...
31.181818
61
0.744898
1d833b88b17bc6ef1d7c97da643b88751b121f7c
1,194
ex
Elixir
lib/nashville_zone_lookup/nashville_arcgis_api/nashville_arcgis_api.ex
enlore/setback-jack
7ee603eb991b80923258210e28f97ff1110ddeae
[ "MIT" ]
14
2017-07-16T02:59:33.000Z
2018-04-28T19:06:11.000Z
lib/nashville_zone_lookup/nashville_arcgis_api/nashville_arcgis_api.ex
enlore/setback-jack
7ee603eb991b80923258210e28f97ff1110ddeae
[ "MIT" ]
47
2017-07-16T20:18:37.000Z
2018-04-17T02:54:26.000Z
lib/nashville_zone_lookup/nashville_arcgis_api/nashville_arcgis_api.ex
code-for-nashville/nashville-zone-lookup
7ee603eb991b80923258210e28f97ff1110ddeae
[ "MIT" ]
3
2018-05-01T23:52:30.000Z
2018-08-14T09:50:31.000Z
defmodule NashvilleZoneLookup.NashvilleArcgisApi do @moduledoc """ A minimal JSON API client for the Nashville Metro ArgGIS Enterprise server For general information on the ArcGIS REST API, see https://developers.arcgis.com/documentation/core-concepts/rest-api/. Services are devided up into broad chunks of f...
29.85
79
0.735343
1d83447af30ce20ff4a913d689862b830c26df89
227
ex
Elixir
api/web/views/user_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/views/user_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/views/user_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
defmodule Microblogger.UserView do use Microblogger.Web, :view def render("user.json", %{user: user}) do %{ id: user.id, username: user.username, bio: user.bio, email: user.email } end end
18.916667
43
0.60793
1d83561d6f9170ce63d02a04b015a8119164047e
1,539
ex
Elixir
lib/instream/connection/response_parser_v1.ex
XiaoTeTech/instream
be469d2d8f94c9537a64b052b2dfd583c784d086
[ "Apache-2.0" ]
null
null
null
lib/instream/connection/response_parser_v1.ex
XiaoTeTech/instream
be469d2d8f94c9537a64b052b2dfd583c784d086
[ "Apache-2.0" ]
null
null
null
lib/instream/connection/response_parser_v1.ex
XiaoTeTech/instream
be469d2d8f94c9537a64b052b2dfd583c784d086
[ "Apache-2.0" ]
null
null
null
defmodule Instream.Connection.ResponseParserV1 do @moduledoc false alias Instream.Connection.JSON alias Instream.Decoder.CSV alias Instream.HTTPClient @doc """ Parses a response. """ @spec maybe_parse(HTTPClient.response(), module, Keyword.t()) :: any def maybe_parse({:error, _} = error, _, _), do: ...
24.822581
84
0.650422
1d838226279e0f845b8fa65eab0d634fe71ef1ca
745
exs
Elixir
mix.exs
bwinterling/elixir_physics
1393c17b9e940f6c7ca229b7ade7722ba8e4748f
[ "MIT" ]
null
null
null
mix.exs
bwinterling/elixir_physics
1393c17b9e940f6c7ca229b7ade7722ba8e4748f
[ "MIT" ]
null
null
null
mix.exs
bwinterling/elixir_physics
1393c17b9e940f6c7ca229b7ade7722ba8e4748f
[ "MIT" ]
null
null
null
defmodule Physics.Mixfile do use Mix.Project def project do [app: :physics, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for mo...
22.575758
77
0.609396
1d83841ea90afc59aabbac8b8f2f4e465e1821bf
559
ex
Elixir
lib/geolix/adapter/mmdb2/record/subdivision.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
lib/geolix/adapter/mmdb2/record/subdivision.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
lib/geolix/adapter/mmdb2/record/subdivision.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MMDB2.Record.Subdivision do @moduledoc """ Record for `subdivision` information. """ alias Geolix.Adapter.MMDB2.Model defstruct [ :geoname_id, :iso_code, :name, :names ] @behaviour Model def from(nil, _), do: nil def from(data, locale) when is_list(data) d...
17.46875
57
0.647585
1d8389206642d5cab32cc7882fe01483b92c7005
14,320
ex
Elixir
lib/aws/service_catalog.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
223
2015-05-29T17:45:35.000Z
2021-06-29T08:37:14.000Z
lib/aws/service_catalog.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
33
2015-11-20T20:56:43.000Z
2021-07-09T20:13:34.000Z
lib/aws/service_catalog.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
62
2015-06-14T20:53:24.000Z
2021-12-13T07:20:15.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/jkakar/aws-codegen for more details. defmodule AWS.ServiceCatalog do @moduledoc """ AWS Service Catalog **Overview** [AWS Service Catalog](https://aws.amazon.com/servicecatalog/) allows organizations to create and manage catalogs of IT s...
33.225058
94
0.714804
1d8389708f4b1995bce194d075b73c3c0db7dfec
562
ex
Elixir
kousa/lib/kousa/utils/errors.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
1
2021-04-19T19:32:51.000Z
2021-04-19T19:32:51.000Z
kousa/lib/kousa/utils/errors.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
1
2021-03-15T19:08:15.000Z
2021-03-15T19:08:15.000Z
kousa/lib/kousa/utils/errors.ex
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
1
2021-11-24T04:01:49.000Z
2021-11-24T04:01:49.000Z
defmodule Kousa.Utils.Errors do def changeset_to_first_err_message(%{errors: [{_, {message, values}}]}) do Enum.reduce(values, message, fn {k, v}, acc -> String.replace(acc, "%{#{k}}", to_string(v)) end) end def changeset_to_first_err_message(changeset) do Poison.encode!(changeset) end def...
33.058824
102
0.690391
1d83d6962b34283f309c0c1931f7dfabd56a9618
3,738
ex
Elixir
lib/faktory_worker/connection.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
13
2020-02-12T20:29:33.000Z
2021-04-17T10:18:00.000Z
lib/faktory_worker/connection.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
51
2020-02-01T05:22:15.000Z
2021-11-03T15:46:02.000Z
lib/faktory_worker/connection.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.Connection do @moduledoc false alias FaktoryWorker.Socket.{Tcp, Ssl} alias FaktoryWorker.Protocol @faktory_version 2 @type t :: %__MODULE__{} @type response :: Protocol.protocol_response() | {:ok, :closed} @enforce_keys [:host, :port, :socket, :socket_handler] defstruct [:ho...
27.895522
95
0.651418
1d83e4c89f3ac5304c2482106f856ed1faedfb0e
201
exs
Elixir
priv/repo/migrations/20160721202824_create_widget.exs
cxz/pepper
4efd817ed4d8435800210ef109916c4e42df4e80
[ "MIT" ]
null
null
null
priv/repo/migrations/20160721202824_create_widget.exs
cxz/pepper
4efd817ed4d8435800210ef109916c4e42df4e80
[ "MIT" ]
null
null
null
priv/repo/migrations/20160721202824_create_widget.exs
cxz/pepper
4efd817ed4d8435800210ef109916c4e42df4e80
[ "MIT" ]
null
null
null
defmodule Pepper.Repo.Migrations.CreateWidget do use Ecto.Migration def change do create table(:widgets) do add :dashboard_id, references(:widgets) timestamps() end end end
16.75
48
0.701493
1d83f38726d6f982dec80a81669a312edb912b56
574
ex
Elixir
lib/elixirdo/instance/monad_trans/state/monad_reader.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
null
null
null
lib/elixirdo/instance/monad_trans/state/monad_reader.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
5
2018-07-20T12:36:25.000Z
2018-08-01T04:55:46.000Z
lib/elixirdo/instance/monad_trans/state/monad_reader.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
null
null
null
defmodule Elixirdo.Instance.MonadTrans.State.MonadReader do use Elixirdo.Base use Elixirdo.Typeclass.Monad use Elixirdo.Typeclass.Monad.Reader, import_monad_reader: true alias Elixirdo.Instance.MonadTrans.State, as: StateT import_type StateT.state_t() definstance monad_reader(state_t(s, m), m: monad_read...
23.916667
64
0.71777
1d83f884449337786f9d59f55beb565a1b21838f
4,596
ex
Elixir
lib/nerves_runtime/init.ex
mnishiguchi/nerves_runtime
8216010b1f4344cd198d0f1a45e37f4be3aaf993
[ "Apache-2.0" ]
49
2017-03-02T03:38:32.000Z
2022-02-24T12:11:40.000Z
lib/nerves_runtime/init.ex
mnishiguchi/nerves_runtime
8216010b1f4344cd198d0f1a45e37f4be3aaf993
[ "Apache-2.0" ]
83
2017-03-09T09:09:14.000Z
2022-02-09T11:13:27.000Z
lib/nerves_runtime/init.ex
mnishiguchi/nerves_runtime
8216010b1f4344cd198d0f1a45e37f4be3aaf993
[ "Apache-2.0" ]
21
2017-02-28T16:55:32.000Z
2021-07-29T15:54:13.000Z
defmodule Nerves.Runtime.Init do use GenServer require Logger alias Nerves.Runtime alias Nerves.Runtime.KV @moduledoc """ GenServer that handles device initialization. Initialization currently consists of: 1. Mounting the application partition 2. If the application partition can't be mounted, forma...
28.725
114
0.65644