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
33d4463d018d13c6b6b06ae5f68588b9e1a64122
5,470
exs
Elixir
test/hammoc/identity/identity_test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
5
2019-07-13T22:20:50.000Z
2020-07-13T05:05:43.000Z
test/hammoc/identity/identity_test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
33
2019-08-01T03:48:23.000Z
2021-07-28T03:29:40.000Z
test/hammoc/identity/identity_test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
2
2019-09-03T22:45:11.000Z
2020-01-01T23:56:58.000Z
defmodule Hammoc.IdentityTest do use Hammoc.DataCase alias Hammoc.Identity alias Hammoc.Identity.{Authentication, User, UserAuthentication} def with_users(_context) do other_user = create!(User, authentications: []) user = create!(User, authentications: []) %{other_user: other_user, user: user} ...
30.558659
99
0.658318
33d462a36aeb10f94c596d6a0ed7d71833fac614
133
ex
Elixir
test/support/commanded_router.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
17
2021-05-04T09:27:48.000Z
2022-02-02T00:53:28.000Z
test/support/commanded_router.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
18
2021-05-05T21:17:54.000Z
2021-12-08T19:25:21.000Z
test/support/commanded_router.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
2
2021-05-04T13:35:00.000Z
2021-07-08T22:28:32.000Z
defmodule CommandedRouter do use Commanded.Commands.Router dispatch([CreateUser, DeactivateUser], to: UserAggregate ) end
16.625
40
0.766917
33d485b36a9353cddfe25e50f0e0dc34d8996ee0
1,529
ex
Elixir
exrack_ui/lib/exrack_ui_web/endpoint.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
exrack_ui/lib/exrack_ui_web/endpoint.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
exrack_ui/lib/exrack_ui_web/endpoint.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
defmodule ExRackUIWeb.Endpoint do use Phoenix.Endpoint, otp_app: :exrack_ui # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_exrack...
29.403846
97
0.722695
33d4993dcee015bcc6ff9f73823040b297e50276
4,316
exs
Elixir
test/mix/tasks/phoenix.gen.model_test.exs
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
test/mix/tasks/phoenix.gen.model_test.exs
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
test/mix/tasks/phoenix.gen.model_test.exs
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
Code.require_file "../../../installer/test/mix_helper.exs", __DIR__ defmodule Phoenix.Dup do end defmodule Phoenix.Article do def __schema__(:source), do: "articles" end defmodule Mix.Tasks.Phoenix.Gen.ModelTest do use ExUnit.Case import MixHelper setup do Mix.Task.clear :ok end test "generates...
34.806452
104
0.615848
33d4d7dcb3b1f955824b0b919d979c75bdfaa75d
799
ex
Elixir
lib/taxjar/http.ex
ChrisYammine/taxjar-elixir
696b04d7f2efcbe1dde9da554364c163c555eeec
[ "Apache-2.0" ]
1
2017-11-22T01:04:56.000Z
2017-11-22T01:04:56.000Z
lib/taxjar/http.ex
ChrisYammine/taxjar-elixir
696b04d7f2efcbe1dde9da554364c163c555eeec
[ "Apache-2.0" ]
null
null
null
lib/taxjar/http.ex
ChrisYammine/taxjar-elixir
696b04d7f2efcbe1dde9da554364c163c555eeec
[ "Apache-2.0" ]
1
2017-11-22T20:16:27.000Z
2017-11-22T20:16:27.000Z
defmodule Taxjar.HTTP do @moduledoc """ TODO: Add some docs """ def request(method, url, data, headers) do if Application.get_env(:taxjar, Taxjar.Config, [])[:debug_requests] do require Logger Logger.debug("REQUEST_URL: #{url}") Logger.debug("REQUEST_METHOD: #{method}") Logger.debug...
29.592593
84
0.624531
33d4f6b78cae1fd2e8b28da20f7278f0d4946e37
7,351
ex
Elixir
packages/elixir/lib/riptide/store/store_postgres.ex
venomnert/riptide
39a50047bb51cd30a93ff7022bb01385c28a4f03
[ "MIT" ]
11
2020-01-20T16:42:00.000Z
2021-09-18T11:36:45.000Z
packages/elixir/lib/riptide/store/store_postgres.ex
venomnert/riptide
39a50047bb51cd30a93ff7022bb01385c28a4f03
[ "MIT" ]
16
2020-04-05T19:26:14.000Z
2020-05-21T14:50:59.000Z
packages/elixir/lib/riptide/store/store_postgres.ex
venomnert/riptide
39a50047bb51cd30a93ff7022bb01385c28a4f03
[ "MIT" ]
2
2020-10-16T11:01:57.000Z
2021-01-20T21:11:52.000Z
defmodule Riptide.Store.Postgres do @moduledoc """ This store persists data to a single Postgres table as materialized paths. It is best used in scenarios where your application will have multiple erlang nodes running that all need shared access to data. Note with this store Postgres is treated like a dumb key/valu...
25.524306
338
0.577881
33d50297beb760c4daac8497a0fa48399e0952cf
3,214
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/report_criteria.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/v33/model/report_criteria.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/v33/model/report_criteria.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...
51.015873
272
0.735532
33d5299f990409d9ea23590cabb857d77a90f548
697
ex
Elixir
hippo-backend/lib/graphql/subscriptions/project.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
8
2019-05-18T10:14:06.000Z
2021-07-31T20:58:55.000Z
hippo-backend/lib/graphql/subscriptions/project.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
7
2019-07-20T17:48:03.000Z
2022-02-26T10:41:56.000Z
hippo-backend/lib/graphql/subscriptions/project.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
1
2019-07-04T02:30:09.000Z
2019-07-04T02:30:09.000Z
defmodule Hippo.GraphQL.Subscriptions.Project do @moduledoc false use Absinthe.Schema.Notation object :project_subscriptions do @desc """ subscribe to updates for all projects without their contents. eg; project updated or project created """ field :projects_updates, :projects_event do ...
24.892857
85
0.649928
33d5515093f718c7efda5fe572347647aa545764
2,269
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_service_locality_load_balancing_policy_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_service_locality_load_balancing_policy_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_service_locality_load_balancing_policy_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...
35.453125
142
0.753195
33d5616dadfa33c0effe7201a6d2fd2db9f968b5
1,131
ex
Elixir
debian/watch.ex
gc-locks/cavif
d357269319c26d698638fe702815870aab55ad86
[ "MIT" ]
95
2020-01-18T22:04:08.000Z
2022-03-23T16:19:31.000Z
debian/watch.ex
gc-locks/cavif
d357269319c26d698638fe702815870aab55ad86
[ "MIT" ]
195
2020-01-26T12:21:47.000Z
2022-03-29T07:57:21.000Z
debian/watch.ex
gc-locks/cavif
d357269319c26d698638fe702815870aab55ad86
[ "MIT" ]
16
2020-01-25T04:04:51.000Z
2022-03-08T19:56:23.000Z
# Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 4 file version=4 # PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig #opts="pgpsigurlmangle=s%$%.s...
29
86
0.662246
33d5696d3ccdaff7cef415ad21d3bd52a6fa27e3
1,827
ex
Elixir
example/lib/example_api/error.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
17
2021-05-04T09:27:48.000Z
2022-02-02T00:53:28.000Z
example/lib/example_api/error.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
18
2021-05-05T21:17:54.000Z
2021-12-08T19:25:21.000Z
example/lib/example_api/error.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
2
2021-05-04T13:35:00.000Z
2021-07-08T22:28:32.000Z
defmodule ExampleApi.Error do @moduledoc false require Logger defstruct [:code, :message, :status_code] def normalize({:invalid_command, command}), do: handle(command) def normalize({:error, reason}), do: handle(reason) def normalize({:error, _operation, reason, _changes}), do: handle(reason) def normal...
30.45
82
0.668309
33d5778b5a245adda57e6e345d78e628e63305e3
1,170
exs
Elixir
config/config.exs
samullen/q
73b59b9c1f00d1d7f4b3635cf192387c057182ff
[ "Unlicense" ]
null
null
null
config/config.exs
samullen/q
73b59b9c1f00d1d7f4b3635cf192387c057182ff
[ "Unlicense" ]
null
null
null
config/config.exs
samullen/q
73b59b9c1f00d1d7f4b3635cf192387c057182ff
[ "Unlicense" ]
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 import_config "#{Mix.env}.exs" # config :q, qrc_path: "~/.qrc" # This configuration is loaded before any dependency and is restricted # to this project. If another project depends ...
33.428571
73
0.741026
33d5aeeb83a981c38f30cd0d211b711ef73ee18f
2,394
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__detected_landmark.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__detected_landmark.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__detected_landmark.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...
38
279
0.749791
33d631a58447446f08299764eeb1406a517068a6
8,570
ex
Elixir
lib/protobuf/protoc/generator/message.ex
Virviil/protobuf-elixir
242be798448e0464b87280df9f8fabffd2b0523d
[ "MIT" ]
null
null
null
lib/protobuf/protoc/generator/message.ex
Virviil/protobuf-elixir
242be798448e0464b87280df9f8fabffd2b0523d
[ "MIT" ]
null
null
null
lib/protobuf/protoc/generator/message.ex
Virviil/protobuf-elixir
242be798448e0464b87280df9f8fabffd2b0523d
[ "MIT" ]
null
null
null
defmodule Protobuf.Protoc.Generator.Message do @moduledoc false alias Protobuf.Protoc.Generator.Util alias Protobuf.TypeUtil alias Protobuf.Protoc.Generator.Enum, as: EnumGenerator def generate_list(ctx, descs) do descs |> Enum.map(fn desc -> generate(ctx, desc) end) |> Enum.unzip() end def ...
28.952703
98
0.638156
33d63f7a5f944120b6b60ca583e718df3250802f
11,229
ex
Elixir
apps/omg_child_chain/lib/omg_child_chain/block_queue.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_child_chain/lib/omg_child_chain/block_queue.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_child_chain/lib/omg_child_chain/block_queue.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.587629
165
0.719565
33d6490d513f9a1e058aa04045b3732fa3966fa7
797
exs
Elixir
mix.exs
m0tivus/legato-ex
a59d5bb924774e089102f6f3e7745907b8871b49
[ "MIT" ]
null
null
null
mix.exs
m0tivus/legato-ex
a59d5bb924774e089102f6f3e7745907b8871b49
[ "MIT" ]
null
null
null
mix.exs
m0tivus/legato-ex
a59d5bb924774e089102f6f3e7745907b8871b49
[ "MIT" ]
null
null
null
defmodule Legato.Mixfile do use Mix.Project def project do [app: :legato, version: "0.2.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, source_url: "https://github.com/tpitale/legato-ex", description: description(), package: package(...
19.925
66
0.568381
33d6515ba75da2941a647e49429d92e593f3d981
2,001
exs
Elixir
mix.exs
orlera/jaxon
059e1bb43af5ccd007989a2d8749042607c76825
[ "Apache-2.0" ]
161
2018-04-08T17:28:36.000Z
2021-12-07T00:10:26.000Z
mix.exs
orlera/jaxon
059e1bb43af5ccd007989a2d8749042607c76825
[ "Apache-2.0" ]
21
2018-07-28T13:11:04.000Z
2021-06-27T16:00:36.000Z
mix.exs
orlera/jaxon
059e1bb43af5ccd007989a2d8749042607c76825
[ "Apache-2.0" ]
14
2018-08-15T17:17:04.000Z
2021-08-18T00:21:24.000Z
defmodule Jaxon.MixProject do use Mix.Project def project do [ app: :jaxon, name: "Jaxon", version: "2.0.8", elixir: "~> 1.7", compilers: [:elixir_make] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), test_coverage...
28.183099
159
0.551224
33d653027f2ee3b2e0f1eab5b0222ded6b5a8cb5
1,968
exs
Elixir
test/frettchen/reporter/remote_test.exs
konstantinzolotarev/frettchen
4aced1fb3d1571893ae09c18a31b05352c80cd9e
[ "MIT" ]
3
2018-10-27T18:18:14.000Z
2020-11-27T11:47:41.000Z
test/frettchen/reporter/remote_test.exs
konstantinzolotarev/frettchen
4aced1fb3d1571893ae09c18a31b05352c80cd9e
[ "MIT" ]
null
null
null
test/frettchen/reporter/remote_test.exs
konstantinzolotarev/frettchen
4aced1fb3d1571893ae09c18a31b05352c80cd9e
[ "MIT" ]
3
2019-01-07T12:32:44.000Z
2021-09-05T07:24:09.000Z
defmodule Frettchen.Reporter.RemoteTest do use ExUnit.Case, async: true alias Frettchen.Trace alias Frettchen.Reporter.Remote setup do pid = Process.whereis(Remote) {:ok, %{pid: pid}} end describe "start_link()" do test "starts a process", %{pid: pid} do assert is_pid(pid) end ...
34.526316
115
0.647866
33d6601cc0b7ec27ad1f764a82e1cef6912b22bc
458
ex
Elixir
test/support/k8s_mock.ex
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
test/support/k8s_mock.ex
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
test/support/k8s_mock.ex
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
null
null
null
# credo:disable-for-this-file defmodule Bonny.K8sMock do def conn(mock) do #  Have to register the mock here because Bonny uses Task.start() so we won't know the pid when starting the test. K8s.Client.DynamicHTTPProvider.register(self(), mock) %K8s.Conn{ discovery_driver: K8s.Discovery.Driver.File,...
32.714286
118
0.722707
33d6822e908c73dbe1dd27e31292d20d92d4a08a
1,860
ex
Elixir
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/list_tables_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/list_tables_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/list_tables_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...
37.2
187
0.740323
33d6959f334087595b3b356a91e9a566d28cec0a
1,155
exs
Elixir
config/config.exs
Guepardo/dialogflow_client_query
0398f0152a46c046951e7d5cd3cbb6877cc056f3
[ "Apache-2.0" ]
null
null
null
config/config.exs
Guepardo/dialogflow_client_query
0398f0152a46c046951e7d5cd3cbb6877cc056f3
[ "Apache-2.0" ]
null
null
null
config/config.exs
Guepardo/dialogflow_client_query
0398f0152a46c046951e7d5cd3cbb6877cc056f3
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37.258065
73
0.758442
33d6ac29ada30357a1be86fd508c89adcb6891d4
179
exs
Elixir
priv/repo/migrations/20210719091011_rename_latest_viewed_id.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
priv/repo/migrations/20210719091011_rename_latest_viewed_id.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
priv/repo/migrations/20210719091011_rename_latest_viewed_id.exs
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Repo.Migrations.RenameLatestViewedId do use Ecto.Migration def change do rename(table(:users), :latest_viewed_id, to: :latest_viewed_course_id) end end
22.375
74
0.782123
33d6d4abbaa512fd3b975b364f713b189918baef
1,346
exs
Elixir
mix.exs
Efesto/ccs811
eb3b0dda8000c0b20bb154705000623f757547d9
[ "Apache-2.0" ]
2
2021-01-25T21:35:56.000Z
2021-02-04T23:10:17.000Z
mix.exs
Efesto/ccs811
eb3b0dda8000c0b20bb154705000623f757547d9
[ "Apache-2.0" ]
1
2022-01-08T21:27:49.000Z
2022-01-27T17:48:57.000Z
mix.exs
Efesto/ccs811
eb3b0dda8000c0b20bb154705000623f757547d9
[ "Apache-2.0" ]
null
null
null
defmodule Ccs811.MixProject do use Mix.Project @source_url "https://github.com/Efesto/ccs811" @version "0.1.0" def project do [ app: :ccs811, version: @version, elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), description: d...
19.794118
96
0.549034
33d6da30321c14b162089cdef06f48f63ef001a0
16,137
ex
Elixir
lib/glimesh/accounts.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
lib/glimesh/accounts.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
lib/glimesh/accounts.ex
ACPixel/glimesh.tv
4e3a8260a9afcf7e4f9c4c386c77f58e15aba2b4
[ "MIT" ]
null
null
null
defmodule Glimesh.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias Glimesh.Repo alias Glimesh.Accounts.{User, UserNotifier, UserPreference, UserToken} ## Database getters def list_users do Repo.all(from u in User, where: u.is_banned == false) end def...
25.736842
116
0.647394
33d6edc632a50dc512875ea142e9f698da2c567d
1,646
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/discovery_note.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/discovery_note.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/discovery_note.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.021277
196
0.747874
33d704a68af89a9e59b2c3885eb384a37a59350f
2,609
ex
Elixir
lib/imager.ex
appunite/imager
b41f76be975faf4d255ad0a5d8e972df1924356b
[ "MIT" ]
55
2018-10-02T14:56:04.000Z
2021-12-10T21:08:07.000Z
lib/imager.ex
appunite/imager
b41f76be975faf4d255ad0a5d8e972df1924356b
[ "MIT" ]
27
2018-10-02T14:57:09.000Z
2019-04-11T07:51:11.000Z
lib/imager.ex
appunite/imager
b41f76be975faf4d255ad0a5d8e972df1924356b
[ "MIT" ]
3
2018-10-12T18:31:41.000Z
2020-04-22T15:26:25.000Z
defmodule Imager do @moduledoc """ Imager 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. """ import Mockery.Macro require Logger alias Imager.Instrumenter al...
25.578431
78
0.621311
33d774d2cc6a9345e97f2c84ac3bff5bd6faca9c
1,114
exs
Elixir
apps/ewallet_db/priv/repo/seeds/00_role.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/seeds/00_role.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/seeds/00_role.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletDB.Repo.Seeds.RoleSeed do alias EWalletDB.Role @seed_data [ %{name: "admin", display_name: "Admin"}, %{name: "viewer", display_name: "Viewer"}, ] def seed do [ run_banner: "Seeding roles", argsline: [], ] end def run(writer, _args) do Enum.each @seed_data,...
24.217391
70
0.517056
33d7792141e0762cb72d9a12b5eda4aa058e7b42
73
exs
Elixir
test/indicatorex_test.exs
laserx/indicatorex
b322c6537dd236ed12e6ee9b2c9a8a2ebdaa6d97
[ "MIT" ]
2
2018-12-18T09:14:25.000Z
2021-07-01T02:24:15.000Z
test/indicatorex_test.exs
laserx/indicatorex
b322c6537dd236ed12e6ee9b2c9a8a2ebdaa6d97
[ "MIT" ]
null
null
null
test/indicatorex_test.exs
laserx/indicatorex
b322c6537dd236ed12e6ee9b2c9a8a2ebdaa6d97
[ "MIT" ]
null
null
null
defmodule IndicatorexTest do use ExUnit.Case doctest Indicatorex end
14.6
28
0.821918
33d78ee71be7a8ddfbb47a90f8f73d84c6640845
839
ex
Elixir
apps/tai/lib/tai/venue_adapters/binance/maker_taker_fees.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/venue_adapters/binance/maker_taker_fees.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/lib/tai/venue_adapters/binance/maker_taker_fees.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.VenueAdapters.Binance.MakerTakerFees do def maker_taker_fees(_venue_id, _credential_id, credentials) do venue_credentials = struct!(ExBinance.Credentials, credentials) with {:ok, account} <- ExBinance.Spot.Private.account(venue_credentials) do percent_factor = Decimal.new(10_000) ma...
38.136364
100
0.66031
33d79464cf2c904734a59fcdccc77bdb94ac8675
4,319
exs
Elixir
apps/state/test/state/service_by_date_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/state/test/state/service_by_date_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/state/test/state/service_by_date_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
defmodule State.ServiceByDateTest do @moduledoc false use ExUnit.Case use Timex import State.ServiceByDate @start_date Timex.now() |> Timex.beginning_of_week(:sun) |> Timex.to_date() @end_date @start_date |> Timex.shift(days: 7) @weekday_date @start_date |> Timex.shift(days: 2) @friday_date @start_date...
31.071942
81
0.605001
33d79e9bbfa645e51d8fdf0bdeb0813122c638a8
3,049
ex
Elixir
lib/phoenix/live_dashboard/telemetry_listener.ex
bottlenecked/phoenix_live_dashboard
7ca0021ad7321747757954027e20d15a957f88c9
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/telemetry_listener.ex
bottlenecked/phoenix_live_dashboard
7ca0021ad7321747757954027e20d15a957f88c9
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/telemetry_listener.ex
bottlenecked/phoenix_live_dashboard
7ca0021ad7321747757954027e20d15a957f88c9
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.TelemetryListener do # This module is the one responsible for listening to # telemetry events and sending metrics from the given node. @moduledoc false use GenServer, restart: :temporary def listen(node, metrics) do DynamicSupervisor.start_child( {Phoenix.LiveDashboa...
30.188119
87
0.650377
33d7b0816acda08420197fa31d2d1118843168a0
4,284
ex
Elixir
lib/opentelemetry_liveview.ex
aaronrenner/opentelemetry_liveview
3f14bcbc39f321170fca2b51477c51adb15aa1ee
[ "Apache-2.0" ]
null
null
null
lib/opentelemetry_liveview.ex
aaronrenner/opentelemetry_liveview
3f14bcbc39f321170fca2b51477c51adb15aa1ee
[ "Apache-2.0" ]
null
null
null
lib/opentelemetry_liveview.ex
aaronrenner/opentelemetry_liveview
3f14bcbc39f321170fca2b51477c51adb15aa1ee
[ "Apache-2.0" ]
null
null
null
defmodule OpentelemetryLiveView do @moduledoc """ OpentelemetryLiveView uses [telemetry](https://hexdocs.pm/telemetry/) handlers to create `OpenTelemetry` spans for LiveView *mount*, *handle_params*, and *handle_event*. The LiveView telemetry events that are used are documented [here](https://hexdocs.pm/phoenix...
30.382979
108
0.651494
33d7b46ef78ceef406ee7079fc6d236ef56af60d
9,943
ex
Elixir
lib/hexpm/repository/registry_builder.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/registry_builder.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/registry_builder.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repository.RegistryBuilder do @doc """ Builds the ets registry file. Only one build process should run at a given time, but if a rebuild request comes in during building we need to rebuild immediately after again. """ import Ecto.Query, only: [from: 2] require Hexpm.Repo require Logger ...
30.221884
110
0.636931
33d7b5b54d835316cd10db473568e369ac5e2346
7,169
ex
Elixir
lib/mix/tasks/send_ad_hoc_notifications.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
lib/mix/tasks/send_ad_hoc_notifications.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
lib/mix/tasks/send_ad_hoc_notifications.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule Mix.Tasks.SendAdHocNotifications do use Mix.Task require Logger import Ecto.Query, warn: false alias ChatApi.{ Accounts, Conversations, Customers, Inboxes, Messages, Repo } alias ChatApi.Conversations.Conversation alias ChatApi.Customers.Customer alias ChatApi.Message...
29.142276
137
0.619473
33d7beb4e3b047760822473e291ed7a2d73c4ee2
346
ex
Elixir
lib/ethereumex.ex
ayrat555/circleci_multiple_docker_test
4360b17a61658f1242b421605bd2815a3618fac2
[ "MIT" ]
null
null
null
lib/ethereumex.ex
ayrat555/circleci_multiple_docker_test
4360b17a61658f1242b421605bd2815a3618fac2
[ "MIT" ]
null
null
null
lib/ethereumex.ex
ayrat555/circleci_multiple_docker_test
4360b17a61658f1242b421605bd2815a3618fac2
[ "MIT" ]
null
null
null
defmodule Ethereumex do use Application @moduledoc File.read!("#{__DIR__}/../README.md") def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Ethereumex.HttpClient, []), ] opts = [strategy: :one_for_one, name: Ethereumex.Supervisor] Supervisor.start_link(...
21.625
64
0.679191
33d7c95df4af5f9ae7911a98a8b0139bf86c9d2f
28
ex
Elixir
0_intro.ex
mario21ic/elixir-demos
57ed1b40efb3000401f339af4b51b436e6960f39
[ "MIT" ]
null
null
null
0_intro.ex
mario21ic/elixir-demos
57ed1b40efb3000401f339af4b51b436e6960f39
[ "MIT" ]
null
null
null
0_intro.ex
mario21ic/elixir-demos
57ed1b40efb3000401f339af4b51b436e6960f39
[ "MIT" ]
null
null
null
IO.puts "hello" <> " world"
14
27
0.571429
33d7ddc6d23fceb8d68b6a06c2c632e62bc6a45e
608
exs
Elixir
test/test_helper.exs
vbergae/postoffice
cb6f5e8f179c5bfe0d1b795ec373b5013cdf8c43
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
vbergae/postoffice
cb6f5e8f179c5bfe0d1b795ec373b5013cdf8c43
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
vbergae/postoffice
cb6f5e8f179c5bfe0d1b795ec373b5013cdf8c43
[ "Apache-2.0" ]
null
null
null
ExUnit.start(trace: true) Ecto.Adapters.SQL.Sandbox.mode(Postoffice.Repo, :manual) Mox.defmock(Postoffice.Adapters.HttpMock, for: Postoffice.Adapters.Impl) Mox.defmock(Postoffice.Adapters.PubsubMock, for: Postoffice.Adapters.Impl) Mox.defmock(Postoffice.Rescuer.Adapters.HttpMock, for: Postoffice.Rescuer.Adapters.Impl)...
24.32
88
0.802632
33d7f456ac8fbf93c1f84fe92fbbdfafaee34283
406
ex
Elixir
lib/fuschia_web/auth/error_handler.ex
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
1
2022-02-21T18:25:14.000Z
2022-02-21T18:25:14.000Z
lib/fuschia_web/auth/error_handler.ex
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
32
2021-07-27T20:48:30.000Z
2022-03-26T10:35:43.000Z
lib/fuschia_web/auth/error_handler.ex
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
null
null
null
defmodule FuschiaWeb.Auth.ErrorHandler do @moduledoc """ Error Handler for Fuschia Auth """ import Plug.Conn, only: [send_resp: 3] @behaviour Guardian.Plug.ErrorHandler @spec auth_error(Plug.Conn.t(), {any, any}, map) :: Plug.Conn.t() def auth_error(conn, {type, _reason}, _opts) do body = Jason.enc...
23.882353
67
0.687192
33d84cd6327ac688f2159da557f3fbbc081e2609
76
exs
Elixir
test/test_helper.exs
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
test/test_helper.exs
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
test/test_helper.exs
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(StarterProject.Repo, :manual)
15.2
60
0.802632
33d85aa50913c022f12ebbda6587869492deed9f
23,233
ex
Elixir
apps/artemis/lib/artemis/helpers.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/lib/artemis/helpers.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/lib/artemis/helpers.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.Helpers do require Logger @doc """ Generate a random string """ def random_string(string_length) do string_length |> :crypto.strong_rand_bytes() |> Base.url_encode64() |> binary_part(0, string_length) end @doc """ Detect if value is truthy """ def present?(nil), d...
23.0715
109
0.624414
33d89550273353d6d237db5191d09f96a82e8e62
563
ex
Elixir
lib/chat_api_web/controllers/fallback_controller.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
2
2021-04-30T08:30:26.000Z
2021-04-30T16:20:39.000Z
lib/chat_api_web/controllers/fallback_controller.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/fallback_controller.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use ChatApiWeb, :controller def call(conn, {:error, %Ecto.Changeset{} = changeset}) do conn |> put_statu...
26.809524
75
0.705151
33d8aa8836a7e27dc7bdc1fe3c9e0819be35d1ea
1,783
ex
Elixir
apps/omg_watcher/lib/omg_watcher/state/transaction/validator/fee_claim.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher/lib/omg_watcher/state/transaction/validator/fee_claim.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/lib/omg_watcher/state/transaction/validator/fee_claim.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...
37.93617
114
0.724621
33d8aac9ea6be3e28fb1c6138bea921cefcec78f
2,193
exs
Elixir
test/sanbase/clickhouse/historical_balance/assets_held_by_address_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/sanbase/clickhouse/historical_balance/assets_held_by_address_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/sanbase/clickhouse/historical_balance/assets_held_by_address_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Clickhouse.HistoricalBalance.AssetsHeldByAdderssTest do use Sanbase.DataCase import Sanbase.Factory alias Sanbase.Clickhouse.HistoricalBalance @moduletag :historical_balance setup do p1 = insert(:random_erc20_project) p2 = insert(:random_erc20_project) eth_project = in...
31.782609
100
0.632467
33d8df09933cc5cfec1e950e3cb264234e9688f4
2,226
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__text_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__text_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__text_annotation.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 ...
34.246154
195
0.746631
33d8e27b9340f050725cf383b36e4b521a9c30de
226
exs
Elixir
Elixir/src/mix.exs
qccoders/hello-world
e93d235e87d545ab6b5e43766ea00496de4b681b
[ "MIT" ]
1
2018-05-14T14:10:53.000Z
2018-05-14T14:10:53.000Z
Elixir/src/mix.exs
qccoders/hello-world
e93d235e87d545ab6b5e43766ea00496de4b681b
[ "MIT" ]
2
2018-05-14T23:08:19.000Z
2018-05-16T21:10:45.000Z
Elixir/src/mix.exs
qccoders/hello-world
e93d235e87d545ab6b5e43766ea00496de4b681b
[ "MIT" ]
5
2018-05-12T19:50:01.000Z
2018-05-16T18:17:10.000Z
defmodule HellWorld.MixProject do use Mix.Project def project do [ app: :HelloWorld, version: "0.1.0", escript: escript() ] end def escript do [main_module: HelloWorld.Print] end end
13.294118
35
0.615044
33d9619b3caf4672a904675dc931929385b54ac4
2,268
exs
Elixir
test/monitored_server_test.exs
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
test/monitored_server_test.exs
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
test/monitored_server_test.exs
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
defmodule EventStore.MonitoredServerTest do use ExUnit.Case alias EventStore.{MonitoredServer, ObservedServer, ProcessHelper, Wait} test "should start process" do {:ok, _pid} = start_monitored_process() assert ObservedServer |> Process.whereis() |> Process.alive?() end test "should restart process...
23.381443
84
0.686949
33d985d407a3346660244273b3e7da2b5ff0c42a
2,288
ex
Elixir
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/leaderboard_configuration_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/leaderboard_configuration_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/leaderboard_configuration_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.2
161
0.742133
33d9ba02e38738fa799010bf92515b11d1a5c08a
1,776
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_style.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_style.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_style.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.888889
117
0.739302
33d9bdc5cb2d8acbdd286015dcfc65b130fa20f4
271
exs
Elixir
priv/repo/migrations/20210804999992_refresh_part_components.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
priv/repo/migrations/20210804999992_refresh_part_components.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
priv/repo/migrations/20210804999992_refresh_part_components.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Repo.Migrations.RefreshPartComponents do use Ecto.Migration def change do alter table(:part_component_registrations) do add :author, :string end flush() execute "DELETE FROM part_component_registrations;" flush() end end
16.9375
55
0.719557
33d9d638282839499f9c628ff77c0f79726f5225
1,054
ex
Elixir
lib/tributary.ex
TurtleAI/tributary
b15055cd07f93b185eed8d6b8ab6e1efadece976
[ "MIT" ]
40
2016-03-24T23:32:06.000Z
2020-09-28T21:14:05.000Z
lib/tributary.ex
TurtleAI/tributary
b15055cd07f93b185eed8d6b8ab6e1efadece976
[ "MIT" ]
14
2016-03-24T20:31:53.000Z
2017-01-01T22:32:40.000Z
lib/tributary.ex
TurtleAI/tributary
b15055cd07f93b185eed8d6b8ab6e1efadece976
[ "MIT" ]
10
2016-07-29T21:06:19.000Z
2017-12-25T10:44:18.000Z
defmodule Tributary do defmacro __using__(_) do quote do import Ecto.Query, only: [where: 3, limit: 3] import Ecto.Query.API, only: [field: 2] def stream(query, opts \\ []) do {trib_opts, repo_opts} = Keyword.split(opts, [:initial_key, :key_name, :chunk_size]) initial_key = Key...
31.939394
92
0.544592
33d9ec2da8536ed31ca1b902c65acac657bc756a
197
exs
Elixir
test/photog_web/controllers/page_controller_test.exs
allen-garvey/photog-react
c400174d0e456dcbfd565407eb85e8ce80ec59c0
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
test/photog_web/controllers/page_controller_test.exs
allen-garvey/photog-react
c400174d0e456dcbfd565407eb85e8ce80ec59c0
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/photog/test/photog_web/controllers/page_controller_test.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule PhotogWeb.PageControllerTest do use PhotogWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.888889
60
0.680203
33d9f367aee4c1a656f27cbd3a2901de55813083
1,323
ex
Elixir
lib/auto_api/commands/windows_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/commands/windows_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/commands/windows_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
45.62069
81
0.772487
33d9f7bf1f8928e171fe8c7b775dae379254aa01
2,149
ex
Elixir
lib/breadboard/pinout.ex
henrythebuilder/breadboard
f8e1378de6ad3984c7101e40bd41c81285b345c0
[ "Apache-2.0" ]
null
null
null
lib/breadboard/pinout.ex
henrythebuilder/breadboard
f8e1378de6ad3984c7101e40bd41c81285b345c0
[ "Apache-2.0" ]
null
null
null
lib/breadboard/pinout.ex
henrythebuilder/breadboard
f8e1378de6ad3984c7101e40bd41c81285b345c0
[ "Apache-2.0" ]
null
null
null
defmodule Breadboard.Pinout do @moduledoc """ Manage the pinout for the supported platform. Note that accessing the GPIO pins through sysfs in some case (i.e. ARM SoCs family from Allwinner Technology) the pinout number/label may differ from real pin reference number. The real pin number using `Circuits.GPIO....
30.7
178
0.681247
33d9ff123ac89119ef6c6c06d934094df5c9764b
942
ex
Elixir
test/support/channel_case.ex
EssenceOfChaos/lil_links
8666d317063b7388296cf11a4dec00a0c339db39
[ "MIT" ]
1
2019-04-24T03:02:27.000Z
2019-04-24T03:02:27.000Z
test/support/channel_case.ex
EssenceOfChaos/lil_links
8666d317063b7388296cf11a4dec00a0c339db39
[ "MIT" ]
null
null
null
test/support/channel_case.ex
EssenceOfChaos/lil_links
8666d317063b7388296cf11a4dec00a0c339db39
[ "MIT" ]
null
null
null
defmodule LilLinksWeb.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 data structures and query the data layer. Finally, if the test case interacts ...
24.789474
70
0.716561
33da24871831da3747f52a49fbe3ad4b6e154bd9
884
ex
Elixir
lib/catlixir_web/endpoint.ex
zastrixarundell/Catlixir
292171fe27db037ac906ca995c2bc1e6d803b1c5
[ "WTFPL" ]
3
2020-06-24T03:13:11.000Z
2020-12-17T20:12:46.000Z
lib/catlixir_web/endpoint.ex
zastrixarundell/Catlixir
292171fe27db037ac906ca995c2bc1e6d803b1c5
[ "WTFPL" ]
1
2020-10-11T08:35:25.000Z
2020-10-21T16:52:20.000Z
lib/catlixir_web/endpoint.ex
zastrixarundell/Catlixir
292171fe27db037ac906ca995c2bc1e6d803b1c5
[ "WTFPL" ]
null
null
null
defmodule CatlixirWeb.Endpoint do use Plug.Router @moduledoc """ Minimalistic endpoint for this bot. """ # Using Plug.Loader for logging request informaiton plug(Plug.Logger) # Always want to reiforce SSL on forwarded. plug(Plug.SSL, rewrite_on: [:x_forwarded_proto], host: nil) # Resonsible for en...
25.257143
68
0.713801
33da29d9ebec82840bb5ccbfd2d517f17489545f
349
ex
Elixir
lib/supabase_surface/components/icons/icon_thumbs_down.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_thumbs_down.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_thumbs_down.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.IconThumbsDown do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.thumbs_down(width: icon_size, height: icon_size)} </Icon...
23.266667
69
0.724928
33da3c2b4c798475412f9b53894c00364d062220
6,128
exs
Elixir
test/api_auth/content_hash_header_test.exs
TheGnarCo/api_auth_ex
e5325bcd83dc15621d34fc06492262c8461a6206
[ "MIT" ]
9
2017-08-26T19:20:34.000Z
2021-11-15T10:46:40.000Z
test/api_auth/content_hash_header_test.exs
TheGnarCo/api_auth_ex
e5325bcd83dc15621d34fc06492262c8461a6206
[ "MIT" ]
3
2018-01-23T17:27:10.000Z
2018-02-19T16:49:46.000Z
test/api_auth/content_hash_header_test.exs
TheGnarCo/api_auth_ex
e5325bcd83dc15621d34fc06492262c8461a6206
[ "MIT" ]
2
2018-01-09T16:05:11.000Z
2018-10-07T14:15:17.000Z
defmodule ApiAuth.ContentHashHeaderTest do use ExUnit.Case alias ApiAuth.ContentHashHeader alias ApiAuth.HeaderValues alias ApiAuth.HeaderCompare describe "headers" do test "this is not a PUT or POST and it doesn't compute the hash" do headers = [foo: "bar"] value = headers |> ...
32.252632
89
0.582245
33da3f1d311aa317eff9392f70c83754f13d0994
100
exs
Elixir
test/views/page_view_test.exs
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
29
2016-07-27T21:39:06.000Z
2020-01-16T10:34:05.000Z
test/views/page_view_test.exs
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
null
null
null
test/views/page_view_test.exs
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
6
2016-07-28T18:44:25.000Z
2019-11-09T12:43:40.000Z
defmodule PasswordlessLoginApp.PageViewTest do use PasswordlessLoginApp.ConnCase, async: true end
25
48
0.86
33da43826e7640fd400ced8ffd37b87dc4e451a1
1,591
exs
Elixir
test/controllers/token_controller_test.exs
jbr/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
335
2015-06-19T18:27:51.000Z
2020-11-25T19:00:27.000Z
test/controllers/token_controller_test.exs
thisdata/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
33
2015-06-24T17:00:01.000Z
2017-11-23T09:53:29.000Z
test/controllers/token_controller_test.exs
thisdata/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
95
2015-06-30T22:18:00.000Z
2022-01-14T13:47:10.000Z
defmodule PhoenixGuardian.TokenControllerTest do use PhoenixGuardian.ConnCase import PhoenixGuardian.Factory alias PhoenixGuardian.Repo alias PhoenixGuardian.GuardianToken setup do {:ok, %{user: create(:user)}} end test "GET /tokens without permission", %{ user: user } do conn = guardian_login...
27.912281
87
0.684475
33da51f76a19c5be1eab6adfe9d72950793a9b72
1,524
ex
Elixir
lib/arkecosystem/client.ex
ArkEcosystem/ARK-Elixir-Client
a62c0f63c3d490b2d8734384ae354444cc279a9a
[ "MIT" ]
2
2018-07-13T23:05:08.000Z
2019-02-06T10:27:08.000Z
lib/arkecosystem/client.ex
ArkEcosystem/ARK-Elixir-Client
a62c0f63c3d490b2d8734384ae354444cc279a9a
[ "MIT" ]
59
2018-06-11T07:59:59.000Z
2019-11-17T23:30:19.000Z
lib/arkecosystem/client.ex
ArkEcosystem/ARK-Elixir-Client
a62c0f63c3d490b2d8734384ae354444cc279a9a
[ "MIT" ]
17
2018-07-02T16:10:25.000Z
2020-11-23T23:43:55.000Z
defmodule ArkEcosystem.Client do @moduledoc """ Documentation for ArkEcosystem.Client """ @type response :: {:ok, any} | {:error, any} @doc """ Shortcut to `ArkEcosystem.Client.Connection.new/1` """ @spec new(Keyword.t()) :: Tesla.Client.t() def new(opts) do ArkEcosystem.Client.Connection.new(op...
24.190476
77
0.603675
33da633da5102853fab07286e733b3c2a6cc6fe2
506
ex
Elixir
lib/brewing_stand/application.ex
Ovyerus/brewing-stand
a631d5e90485b959525e3a79b941f7aaa86b3fdd
[ "MIT" ]
14
2021-03-28T10:27:50.000Z
2021-04-27T10:14:07.000Z
lib/brewing_stand/application.ex
Ovyerus/brewing-stand
a631d5e90485b959525e3a79b941f7aaa86b3fdd
[ "MIT" ]
null
null
null
lib/brewing_stand/application.ex
Ovyerus/brewing-stand
a631d5e90485b959525e3a79b941f7aaa86b3fdd
[ "MIT" ]
null
null
null
defmodule BrewingStand.Application do @moduledoc false use Application @impl true def start(_type, _args) do port = String.to_integer(System.get_env("PORT") || "25565") children = [ {Task.Supervisor, name: BrewingStand.Tasks}, Supervisor.child_spec({Task, fn -> BrewingStand.start(port) en...
25.3
93
0.697628
33da90df91ced5626dfa050c23a17cb5cf00193c
163,851
ex
Elixir
lib/elixir/lib/kernel.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
1
2021-05-05T02:11:24.000Z
2021-05-05T02:11:24.000Z
lib/elixir/lib/kernel.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/elixir/lib/kernel.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
27.029198
116
0.632501
33da955da0a95e72a553f82b84b5933351ba8632
1,288
exs
Elixir
test/nonce_test.exs
aforward/acme_ex
f199943be6a75e0e4672a64dc4820dfc15abf330
[ "MIT" ]
1
2020-02-01T19:30:44.000Z
2020-02-01T19:30:44.000Z
test/nonce_test.exs
aforward/acme_ex
f199943be6a75e0e4672a64dc4820dfc15abf330
[ "MIT" ]
null
null
null
test/nonce_test.exs
aforward/acme_ex
f199943be6a75e0e4672a64dc4820dfc15abf330
[ "MIT" ]
null
null
null
defmodule AcmeEx.NonceTest do use ExUnit.Case, async: true use ExUnitProperties import StreamData test "new is unique" do first_nonce = AcmeEx.Nonce.new() nonce = AcmeEx.Nonce.new() assert nonce != first_nonce end test "nonce can be verified" do nonce = AcmeEx.Nonce.new() assert :ok ==...
25.254902
77
0.670807
33dab7e8b986dc325445e1e4748bae0471268421
892
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.037037
74
0.761211
33daeb404a52af99f06cda2609aea37453055977
1,637
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/merge_cells_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/merge_cells_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/merge_cells_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.74
112
0.722053
33db2193adf2c0f5f7de4b3d2cf4ef8d9e7a8204
1,942
ex
Elixir
farmbot_celery_script/lib/farmbot_celery_script/compilers/update_resource_compiler.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_celery_script/lib/farmbot_celery_script/compilers/update_resource_compiler.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_celery_script/lib/farmbot_celery_script/compilers/update_resource_compiler.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
defmodule FarmbotCeleryScript.Compiler.UpdateResource do alias FarmbotCeleryScript.{AST, DotProps} def update_resource(%AST{args: args, body: body}, _env) do quote location: :keep do me = unquote(__MODULE__) variable = unquote(Map.fetch!(args, :resource)) update = unquote(unpair(body, %{})) ...
31.322581
81
0.648816
33db32de9094fb806aa6dde08f86f5bd188cb23e
220
exs
Elixir
priv/repo/migrations/20181106151429_add_receipt_number_to_job.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181106151429_add_receipt_number_to_job.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181106151429_add_receipt_number_to_job.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
defmodule JobBoard.Repo.Migrations.AddReceiptNumberToJob do use Ecto.Migration def change do alter table(:jobs) do add :receipt_number, :string end create index(:jobs, [:receipt_number]) end end
20
59
0.718182
33db8660e3f89bc8f77ed7315586acb7ccd93213
31
ex
Elixir
lib/exkml/parser.ex
yojee/exkml
fec845d166d386cfe5747aa98417eecca5f7a76a
[ "Apache-2.0" ]
7
2019-05-14T01:01:18.000Z
2020-12-20T13:43:59.000Z
lib/exkml/parser.ex
yojee/exkml
fec845d166d386cfe5747aa98417eecca5f7a76a
[ "Apache-2.0" ]
2
2022-03-23T15:30:09.000Z
2022-03-23T15:30:14.000Z
lib/exkml/parser.ex
felt/exkml
005e97b696691331c0bb0575972cc7d5cefbfb04
[ "Apache-2.0" ]
3
2019-03-20T19:32:38.000Z
2019-07-28T12:18:50.000Z
defmodule Exkml.Parser do end
7.75
25
0.806452
33dba1fc051b43eb366a561def260629347e1b30
1,178
ex
Elixir
lib/firestorm_web/application.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
null
null
null
lib/firestorm_web/application.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
null
null
null
lib/firestorm_web/application.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
null
null
null
defmodule FirestormWeb.Application do @moduledoc false use Application import Supervisor.Spec # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do # See http://elixir-lang.org/docs/stable/elixir/Supervisor.html # for...
26.772727
79
0.687606
33dbce746dcfd79e89949a922a3394a1314d3dfe
780
exs
Elixir
test/console/services/webhooks/slack_test.exs
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
6
2021-11-17T21:10:49.000Z
2022-02-16T19:45:28.000Z
test/console/services/webhooks/slack_test.exs
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
18
2021-11-25T04:31:06.000Z
2022-03-27T04:54:00.000Z
test/console/services/webhooks/slack_test.exs
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
null
null
null
defmodule Console.Webhooks.Formatter.SlackTest do use Console.DataCase, async: true alias Console.Webhooks.Formatter.Slack describe "format/1" do test "It can format successful builds" do build = insert(:build, status: :successful) {:ok, %{attachments: [%{color: color, blocks: [%{text: %{text: t...
28.888889
102
0.633333
33dbdb104f164593efb0d6d511a95eb8d72109e8
3,074
ex
Elixir
lib/airbrakex/notifier.ex
fmbraga/airbrakex
5fe02fa8f54259399bea781e9bee03fca97d6aa7
[ "MIT" ]
29
2015-09-03T21:28:38.000Z
2020-05-01T21:13:15.000Z
lib/airbrakex/notifier.ex
fmbraga/airbrakex
5fe02fa8f54259399bea781e9bee03fca97d6aa7
[ "MIT" ]
46
2015-09-10T22:05:02.000Z
2022-02-01T00:33:51.000Z
lib/airbrakex/notifier.ex
fmbraga/airbrakex
5fe02fa8f54259399bea781e9bee03fca97d6aa7
[ "MIT" ]
48
2015-09-10T20:15:37.000Z
2021-07-09T11:28:02.000Z
defmodule Airbrakex.Notifier do @moduledoc false use HTTPoison.Base alias Airbrakex.Config @request_headers [{"Content-Type", "application/json"}] @default_endpoint "https://airbrake.io" @default_env Mix.env() @info %{ name: "Airbrakex", version: Airbrakex.Mixfile.project()[:version], url: A...
29.557692
85
0.666558
33dc379525932a7bec35e4362bc1b5b51380a9c9
4,260
ex
Elixir
lib/membrane/core/element/message_dispatcher.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/message_dispatcher.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/message_dispatcher.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Element.MessageDispatcher do @moduledoc false # Module handling messages incoming to element and dispatching them to controllers. alias Membrane.Core alias Core.Element.{DemandHandler, LifecycleController, PadController, PlaybackBuffer, State} alias Core.{Message, PlaybackHandler} r...
34.918033
98
0.719014
33dc5c40314f13c1e9bda380d0df7cc136b76d03
830
ex
Elixir
apps/gitgud_web/lib/gitgud_web/views/repo_view.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud_web/views/repo_view.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud_web/views/repo_view.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
defmodule GitGud.Web.RepoView do @moduledoc false use GitGud.Web, :view alias GitGud.User alias GitGud.Repo @spec sort_user_repos([Repo.t]) :: [Repo.t] def sort_user_repos(repos) do Enum.sort_by(repos, &(&1.pushed_at), fn %NaiveDateTime{} = one, %NaiveDateTime{} = two -> NaiveDateTime.co...
34.583333
117
0.640964
33dc81c47d49f0a5d80d16090d72d477716a2d37
1,156
exs
Elixir
config/config.exs
Awlexus/Ecbolic
754a6601853c211a0d4b7572d7f239b26e9867de
[ "Apache-2.0" ]
null
null
null
config/config.exs
Awlexus/Ecbolic
754a6601853c211a0d4b7572d7f239b26e9867de
[ "Apache-2.0" ]
1
2018-09-10T21:29:27.000Z
2018-09-10T21:29:27.000Z
config/config.exs
Awlexus/Ecbolic
754a6601853c211a0d4b7572d7f239b26e9867de
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.030303
73
0.747405
33dc906fd8c07fe023cb9bd87ac049d6ab4d0cf2
148
exs
Elixir
priv/repo/migrations/20160418174310_triggers_enabled.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
priv/repo/migrations/20160418174310_triggers_enabled.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
priv/repo/migrations/20160418174310_triggers_enabled.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Repo.Migrations.TriggersEnabled do use Ecto.Migration def change do rename table(:triggers), :active, to: :enabled end end
18.5
50
0.743243
33dc9d091afad28b17eb9399711daa0e51dbfa70
1,121
exs
Elixir
config/config.exs
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
50
2018-10-09T17:21:08.000Z
2022-01-31T19:48:44.000Z
config/config.exs
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
8
2018-10-09T16:18:10.000Z
2020-05-18T00:25:08.000Z
config/config.exs
rkstarnerd/bargad
82886c4934042622498401302024abeab3f0df85
[ "Apache-2.0" ]
8
2018-10-07T13:38:22.000Z
2020-05-06T19:59:59.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.16129
73
0.751115
33dcbb276c8b359c3b10b6b7fecf71ea4b572877
37,902
exs
Elixir
lib/elixir/test/elixir/enum_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/enum_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/enum_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule EnumTest.List do use ExUnit.Case, async: true test :empty? do assert Enum.empty?([]) refute Enum.empty?([1, 2, 3]) refute Enum.empty?(1..3) end test :member? do assert Enum.member?([1, 2, 3], 2) refute Enum.member?([], 0) refute E...
32.06599
114
0.505857
33dcc13b5782a0aa8c9de31d1baa41f398393d5f
1,207
ex
Elixir
server/lib/buff_server/packages/package.ex
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
1
2020-03-18T17:29:32.000Z
2020-03-18T17:29:32.000Z
server/lib/buff_server/packages/package.ex
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
26
2019-06-09T18:35:45.000Z
2020-07-30T17:05:58.000Z
server/lib/buff_server/packages/package.ex
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
null
null
null
defmodule BuffServer.Packages.Package do @moduledoc """ Table to hold metadata about the packages """ use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @required_fields [ :name, :description, :keywords, :homepage, :...
22.773585
53
0.642916
33dceb4b414b2c5da2f281d5b2a3e8ade6fcc7b6
64
ex
Elixir
lib/delivery_web/views/sound_view.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
null
null
null
lib/delivery_web/views/sound_view.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
4
2021-03-01T20:51:23.000Z
2021-09-20T21:37:12.000Z
lib/delivery_web/views/sound_view.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
null
null
null
defmodule DeliveryWeb.SoundView do use DeliveryWeb, :view end
16
34
0.8125
33dd196c1ad697dd865a9a28212b75d88c0d73df
4,761
exs
Elixir
mix.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
mix.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
mix.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
defmodule Ash.MixProject do @moduledoc false use Mix.Project @description """ A resource declaration and interaction library. Built with pluggable data layers, and designed to be used by multiple front ends. """ @version "1.24.2" def project do [ app: :ash, version: @version, el...
29.208589
124
0.554505
33dd667e03efc5cbc07acdeb50b6d3394a2971f4
2,116
ex
Elixir
lib/sanbase_web/controllers/sheets_template_controller.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/controllers/sheets_template_controller.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/controllers/sheets_template_controller.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.SheetsTemplateController do use SanbaseWeb, :controller alias Sanbase.SheetsTemplate alias SanbaseWeb.Router.Helpers, as: Routes def index(conn, _params) do sheets_templates = SheetsTemplate.list() render(conn, "index.html", sheets_templates: sheets_templates) end def new(con...
33.587302
89
0.694707
33dd77c35e51d7af43144b07cb25e5de9081d92d
2,024
exs
Elixir
test/ex_gherkin_good_testdata_test.exs
WannesFransen1994/ex_gherkin
ca235dc6c51e96f7dc2d5887ac8a94bf7ee62e91
[ "MIT" ]
4
2020-07-31T09:07:16.000Z
2020-08-31T12:12:28.000Z
test/ex_gherkin_good_testdata_test.exs
WannesFransen1994/ex_gherkin
ca235dc6c51e96f7dc2d5887ac8a94bf7ee62e91
[ "MIT" ]
1
2020-07-23T03:55:01.000Z
2020-08-31T12:53:50.000Z
test/ex_gherkin_good_testdata_test.exs
WannesFransen1994/ex_gherkin
ca235dc6c51e96f7dc2d5887ac8a94bf7ee62e91
[ "MIT" ]
null
null
null
defmodule ExGherkinGoodTestdataTest do use ExUnit.Case require Logger @moduletag timeout: :infinity # @files ["testdata", "good", "*.feature"] @files ["testdata", "good", "background.feature"] |> Path.join() |> Path.wildcard() @tag :good @tag :tokens test "TOKENS: compare all testda...
26.986667
84
0.642292
33dd81fc5c83669dcd18c423ba0edc68eea35819
751
ex
Elixir
lib/band_manager_web/router.ex
tutsplus/get-started-with-phoenix
c729d25291fedda134ce7a4d307fe4b3cc50db89
[ "BSD-2-Clause" ]
3
2019-04-11T07:29:58.000Z
2021-03-14T00:01:58.000Z
lib/band_manager_web/router.ex
tutsplus/get-started-with-phoenix
c729d25291fedda134ce7a4d307fe4b3cc50db89
[ "BSD-2-Clause" ]
null
null
null
lib/band_manager_web/router.ex
tutsplus/get-started-with-phoenix
c729d25291fedda134ce7a4d307fe4b3cc50db89
[ "BSD-2-Clause" ]
null
null
null
defmodule BandManagerWeb.Router do use BandManagerWeb, :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 "/", BandManagerWeb ...
22.757576
77
0.679095
33dd88c8f78551aae34450e025c1eec816c50eac
1,077
exs
Elixir
mix.exs
schurig/elixir-remote-monitor
a1cf0f89aad21e4d7ec547761d88e450cc7c9188
[ "MIT" ]
70
2016-07-11T20:28:15.000Z
2020-05-03T09:22:31.000Z
mix.exs
rbeene/elixir-remote-monitor
a1cf0f89aad21e4d7ec547761d88e450cc7c9188
[ "MIT" ]
3
2016-10-31T15:12:29.000Z
2017-01-28T13:57:01.000Z
mix.exs
rbeene/elixir-remote-monitor
a1cf0f89aad21e4d7ec547761d88e450cc7c9188
[ "MIT" ]
2
2017-03-03T15:55:09.000Z
2020-04-23T17:42:12.000Z
defmodule RemoteMonitor.Mixfile do use Mix.Project def project do [app: :remote_monitor, version: "1.0.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), name: "elixir-remote-monitor", description: "A Mix task that helps y...
22.914894
107
0.54689
33ddcf2777c83bd411ba341cd2b9f0388d4c0c92
282
exs
Elixir
test/taskmaster_api_web/views/layout_view_test.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
null
null
null
test/taskmaster_api_web/views/layout_view_test.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
1
2021-03-10T19:38:43.000Z
2021-03-10T19:38:43.000Z
test/taskmaster_api_web/views/layout_view_test.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
null
null
null
defmodule TaskmasterApiWeb.LayoutViewTest do use TaskmasterApiWeb.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
31.333333
65
0.776596
33ddd70353036a185ca8a3b2926c2f07d70493d3
735
ex
Elixir
lib/grovepi.ex
asummers/grovepi
8092fd704457265929e4d9676bedd8cf2176f48d
[ "Apache-2.0" ]
34
2017-08-28T22:44:59.000Z
2022-02-15T06:37:40.000Z
lib/grovepi.ex
schainks/grovepi
2de21f12a2ab28f9788a2add4c6409871e098479
[ "Apache-2.0" ]
19
2017-08-14T17:27:44.000Z
2019-05-26T02:49:39.000Z
lib/grovepi.ex
schainks/grovepi
2de21f12a2ab28f9788a2add4c6409871e098479
[ "Apache-2.0" ]
5
2017-09-06T02:20:28.000Z
2020-03-29T06:05:16.000Z
defmodule GrovePi do @moduledoc """ This application lets you interact with the [GrovePi+](https://www.dexterindustries.com/grovepi/) and any connected sensors in Elixir. It will automatically start with your application an initiate a connection to the GrovePi+ board. To see that everything is functioning, c...
26.25
99
0.734694
33dddce927892305cc20c5724f7c6d9f1a235487
1,955
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/time_series_descriptor.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/time_series_descriptor.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/time_series_descriptor.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...
39.1
156
0.750895
33dde52bd1979693997073e76b8fc9b64cfe9ea6
1,196
exs
Elixir
test/nomad/model/task_group_test.exs
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
test/nomad/model/task_group_test.exs
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
test/nomad/model/task_group_test.exs
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
defmodule NomadClient.Model.TaskGroupTest do use ExUnit.Case alias NomadClient.Api.Jobs alias NomadClient.Connection alias NomadClient.Model describe "handle null Typed Hash Maps" do test "Hash Map is null" do value = %Model.TaskGroup{ Volumes: %{ "test" => %{ Name: ni...
20.982456
89
0.499164
33de10fd1d755283fc87ca681c52410ec4e9e2e5
1,088
ex
Elixir
lib/events_web/channels/user_socket.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events_web/channels/user_socket.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events_web/channels/user_socket.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
defmodule EventsWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", EventsWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels...
30.222222
83
0.693934
33de19ca41dccf30042ee130918026ea2dc0cf68
59,409
ex
Elixir
lib/flop.ex
jokawachi-hg/flop
0d8132e5da9f6b08913f16dba26a5c20a9b49db7
[ "MIT" ]
null
null
null
lib/flop.ex
jokawachi-hg/flop
0d8132e5da9f6b08913f16dba26a5c20a9b49db7
[ "MIT" ]
null
null
null
lib/flop.ex
jokawachi-hg/flop
0d8132e5da9f6b08913f16dba26a5c20a9b49db7
[ "MIT" ]
null
null
null
defmodule Flop do @moduledoc """ Flop is a helper library for filtering, ordering and pagination with Ecto. ## Usage The simplest way of using this library is just to use `Flop.validate_and_run/3` and `Flop.validate_and_run!/3`. Both functions take a queryable and a parameter map, validate the parameters,...
29.853769
82
0.607366
33de4acf51be43058e29646ff301a3bd41127f11
570
exs
Elixir
13.OrganizeProjects/op1/issues/mix.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
6
2019-10-25T21:51:11.000Z
2022-03-23T02:11:38.000Z
13.OrganizeProjects/op1/issues/mix.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
null
null
null
13.OrganizeProjects/op1/issues/mix.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
1
2020-06-16T12:37:43.000Z
2020-06-16T12:37:43.000Z
defmodule Issues.MixProject do use Mix.Project def project do [ app: :issues, 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 application do [ extra_appli...
19.655172
88
0.573684
33de5acb1fc596f322c9d08e7068d261b65d56a4
5,048
exs
Elixir
test/ohio_elixir/accounts_test.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
7
2021-01-22T00:20:04.000Z
2022-03-30T22:07:32.000Z
test/ohio_elixir/accounts_test.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
11
2021-10-05T03:59:28.000Z
2022-03-20T21:54:44.000Z
test/ohio_elixir/accounts_test.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
3
2021-06-10T02:48:54.000Z
2021-10-09T03:43:06.000Z
defmodule OhioElixir.AccountsTest do use OhioElixir.DataCase alias OhioElixir.Accounts import OhioElixir.AccountsFixtures alias OhioElixir.Accounts.{User, UserToken} describe "get_user_by_email_and_password/2" do test "does not return the user if the email does not exist" do refute Accounts.get_us...
33.210526
96
0.66878
33de89b1d91e0d8c028bdfd87fd968a38931cece
361
exs
Elixir
priv/repo/migrations/20170322105054_create_user.exs
herald-it/goncord.ex
2f58706231a28caa067509c5df43f5c915c46320
[ "MIT" ]
null
null
null
priv/repo/migrations/20170322105054_create_user.exs
herald-it/goncord.ex
2f58706231a28caa067509c5df43f5c915c46320
[ "MIT" ]
5
2017-03-31T06:48:29.000Z
2018-12-20T03:40:59.000Z
priv/repo/migrations/20170322105054_create_user.exs
herald-it/goncord.ex
2f58706231a28caa067509c5df43f5c915c46320
[ "MIT" ]
1
2019-01-20T10:01:27.000Z
2019-01-20T10:01:27.000Z
defmodule Goncord.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :login, :string add :hashed_password, :string add :email, :string add :first_name, :string add :last_name, :string add :second_name, :string add :birthday, :dat...
19
47
0.637119
33de9121c91eca69762e596840cbb6e32654e027
251
ex
Elixir
lib/glide/merge.ex
maartenvanvliet/glide
3c54ae5865b16c5130dfe1a0a9d57cc30ae10a86
[ "MIT" ]
3
2021-06-13T05:41:07.000Z
2021-06-14T19:57:09.000Z
lib/glide/merge.ex
maartenvanvliet/glide
3c54ae5865b16c5130dfe1a0a9d57cc30ae10a86
[ "MIT" ]
10
2021-09-22T04:17:05.000Z
2022-03-24T04:16:34.000Z
lib/glide/merge.ex
maartenvanvliet/glide
3c54ae5865b16c5130dfe1a0a9d57cc30ae10a86
[ "MIT" ]
null
null
null
defprotocol Glide.Merge do def merge(data1, data2) end defimpl Glide.Merge, for: Map do def merge(data1, data2) when is_list(data2) do Map.merge(data1, Map.new(data2)) end def merge(data1, data2) do Map.merge(data1, data2) end end
17.928571
48
0.701195
33decd48d43e4a43b81831ef6be3a00281429c56
3,106
ex
Elixir
lib/membrane/core/element/buffer_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
515
2018-06-18T11:09:44.000Z
2020-07-31T07:54:35.000Z
lib/membrane/core/element/buffer_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
120
2018-06-07T08:34:06.000Z
2020-07-30T07:09:50.000Z
lib/membrane/core/element/buffer_controller.ex
membraneframework/membrane-core
096c2546869824c49ad1d7412ffe02d050164611
[ "Apache-2.0" ]
13
2018-07-27T11:58:15.000Z
2020-05-06T15:19:55.000Z
defmodule Membrane.Core.Element.BufferController do @moduledoc false # Module handling buffers incoming through input pads. use Bunch alias Membrane.{Buffer, Pad} alias Membrane.Core.{CallbackHandler, Telemetry} alias Membrane.Core.Child.PadModel alias Membrane.Core.Element.{ActionHandler, DemandContro...
33.397849
101
0.709594
33defe150972c8c43909a5cfd556f10a6e5577d5
1,200
ex
Elixir
lib/fex.ex
lehoff/fex
8bfd3d1dd10a8d973f33fdd09f1ac25d4d90bc95
[ "Apache-2.0" ]
null
null
null
lib/fex.ex
lehoff/fex
8bfd3d1dd10a8d973f33fdd09f1ac25d4d90bc95
[ "Apache-2.0" ]
null
null
null
lib/fex.ex
lehoff/fex
8bfd3d1dd10a8d973f33fdd09f1ac25d4d90bc95
[ "Apache-2.0" ]
null
null
null
defmodule Fex do alias Fex.Bcast def subscribe_match(match_id) do Bcast.subscribe_match(match_id) end def match_info(match_id) do {Fex.Match.teams(match_id), Fex.Match.status(match_id)} end def subscribe_matches, do: Fex.Bcast.subscribe_matches def unsubscribe_matches, do: Fex.Bcast.unsubscribe...
26.666667
60
0.668333
33df64b1ff2f83955ee83546268c121838b8e55d
2,056
exs
Elixir
config/prod.exs
alphagov/async-publishing-prototype
0eab5956d8d24428bf817dfb3f5c7279ea1ff9e5
[ "MIT" ]
1
2016-11-11T19:23:09.000Z
2016-11-11T19:23:09.000Z
config/prod.exs
alphagov/async-publishing-prototype
0eab5956d8d24428bf817dfb3f5c7279ea1ff9e5
[ "MIT" ]
null
null
null
config/prod.exs
alphagov/async-publishing-prototype
0eab5956d8d24428bf817dfb3f5c7279ea1ff9e5
[ "MIT" ]
2
2019-08-29T11:38:59.000Z
2021-04-10T20:05:06.000Z
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...
33.16129
70
0.722763
33df6d9e1c9d3935fdb8437c0cf7868dba107485
75
ex
Elixir
ros/ros_service_api/lib/ros_service_api_web/views/page_view.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
1
2019-07-01T18:47:28.000Z
2019-07-01T18:47:28.000Z
ros/ros_service_api/lib/ros_service_api_web/views/page_view.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
4
2020-07-17T16:57:18.000Z
2021-05-09T23:50:52.000Z
ros/ros_service_api/lib/ros_service_api_web/views/page_view.ex
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
null
null
null
defmodule Ros.ServiceApiWeb.PageView do use Ros.ServiceApiWeb, :view end
18.75
39
0.813333
33df7df0f07fad54453bcb15e8e8889e8a48daa8
2,541
exs
Elixir
firmware/mix.exs
Jwsonic/air
b4f6ed4b2be47aee78b40345044c96de1fc49813
[ "MIT" ]
1
2021-12-14T09:20:06.000Z
2021-12-14T09:20:06.000Z
firmware/mix.exs
Jwsonic/air
b4f6ed4b2be47aee78b40345044c96de1fc49813
[ "MIT" ]
null
null
null
firmware/mix.exs
Jwsonic/air
b4f6ed4b2be47aee78b40345044c96de1fc49813
[ "MIT" ]
null
null
null
defmodule AirFirmware.MixProject do use Mix.Project @app :air_firmware @version "0.1.0" @all_targets [:rpi, :rpi0, :rpi2, :rpi3, :rpi3a, :rpi4, :bbb, :x86_64] def project do [ app: @app, version: @version, elixir: "~> 1.9", archives: [nerves_bootstrap: "~> 1.9"], start_perm...
31.7625
79
0.607241
33df92a4b1343b7d1776cf76a2be6677f2c57128
2,539
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/operation_metadata.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...
39.061538
154
0.692399