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
e9fe4d3fe0ca462ca8ad03a0f6a65419cde2c16c
131
exs
Elixir
test/defr/dup_use_test.exs
jechol/defr
1d4a319bb06f38845306691d9bc8b8711d726cd0
[ "MIT" ]
3
2021-07-30T17:42:13.000Z
2021-09-03T09:38:54.000Z
test/defr/dup_use_test.exs
trevorite/witchcraft_helpers
146312441c21b85423265cea6fc9cef50fc6423b
[ "MIT" ]
1
2021-12-16T02:40:35.000Z
2021-12-16T03:21:21.000Z
test/defr/dup_use_test.exs
trevorite/witchcraft_helpers
146312441c21b85423265cea6fc9cef50fc6423b
[ "MIT" ]
null
null
null
defmodule Defr.DupUseTest do use ExUnit.Case, async: false use Defr defmodule Target do use Defr use Defr end end
13.1
31
0.70229
e9fe4fcf1d2fcb787d9ce00153782d8ccf654857
274
ex
Elixir
lib/credo_demo_plugin/convert_cli_switches_to_plugin_params.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
2
2019-07-04T15:59:19.000Z
2019-07-07T13:45:13.000Z
lib/credo_demo_plugin/convert_cli_switches_to_plugin_params.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
null
null
null
lib/credo_demo_plugin/convert_cli_switches_to_plugin_params.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
1
2019-10-23T16:33:01.000Z
2019-10-23T16:33:01.000Z
defmodule CredoDemoPlugin.ConvertCliSwitchesToPluginParams do @moduledoc false use Credo.Execution.Task def call(exec, _) do castle = Execution.get_given_cli_switch(exec, :castle) Execution.put_plugin_param(exec, CredoDemoPlugin, :castle, castle) end end
22.833333
70
0.781022
e9fe9b0baf0d7419e8ea5f338dfc61e1d89b29a9
3,273
ex
Elixir
lib/mix/tasks/open_challenge_importer.ex
GSA/Challenge_gov
f249b53e880537989f1840c4cf0d546ada976810
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/mix/tasks/open_challenge_importer.ex
GSA/Challenge_gov
f249b53e880537989f1840c4cf0d546ada976810
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/mix/tasks/open_challenge_importer.ex
GSA/Challenge_gov
f249b53e880537989f1840c4cf0d546ada976810
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Mix.Tasks.OpenChallengeImporter do @moduledoc """ Importer for archived challenges """ use Mix.Task alias ChallengeGov.Challenges alias Mix.Tasks.ImportHelper def run(_file) do Mix.Task.run("app.start") Logger.configure(level: :error) result = File.read!("lib/mix/tasks/sample_data...
33.397959
95
0.597006
e9fea7c29b113365dfcdb6bc861f4fb4938d6e88
2,231
exs
Elixir
config/dev.exs
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
2
2019-04-02T01:06:40.000Z
2019-05-13T01:12:24.000Z
config/dev.exs
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
7
2018-12-27T12:33:38.000Z
2021-03-08T22:31:14.000Z
config/dev.exs
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
null
null
null
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 webpack to recompile .js and .css sources. config :simple_budget, SimpleBudgetWeb.Endpoint, http: ...
27.8875
68
0.692515
e9fec6b90efe0a38337e0f829a95cfbbc8e3ac29
1,936
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_link_out_suggestion.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_link_out_suggestion.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_link_out_suggestion.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.964912
127
0.741219
e9feed8236097e47b8cc11efc6213aa5796d4ac0
616
ex
Elixir
apps/service_aggregate/test/support/reducer/longest_string.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/service_aggregate/test/support/reducer/longest_string.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/service_aggregate/test/support/reducer/longest_string.ex
jdenen/hindsight
ef69b4c1a74c94729dd838a9a0849a48c9b6e04c
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Aggregate.Reducer.LongestString do defstruct [:path, :longest] def new(opts) do %__MODULE__{ path: Keyword.fetch!(opts, :path), longest: 0 } end defimpl Aggregate.Reducer do def init(t, stats) do %{t | longest: Map.get(stats, "longest_string", 0)} end def reduc...
20.533333
63
0.607143
e9fef731f6b5b9ed95f67acbc8d11e0a8f30560a
2,142
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_certificates_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_certificates_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_certificates_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...
40.415094
201
0.737162
e9ff0a9f68a783293715eedb6f92df30a848ab07
946
exs
Elixir
config/config.exs
adhocteam/ClusterScrape
7cfd9d8a926677b0f5b578cc53c74333719de2f9
[ "Apache-2.0" ]
4
2018-01-04T18:48:53.000Z
2021-11-25T22:40:05.000Z
config/config.exs
adhocteam/ClusterScrape
7cfd9d8a926677b0f5b578cc53c74333719de2f9
[ "Apache-2.0" ]
null
null
null
config/config.exs
adhocteam/ClusterScrape
7cfd9d8a926677b0f5b578cc53c74333719de2f9
[ "Apache-2.0" ]
1
2021-11-26T10:24:05.000Z
2021-11-26T10:24:05.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :cluster_scrape, ClusterScrape.Endpoint, url: [hos...
37.84
86
0.765328
e9ff14caaab283c672fa0c8e49073d0e043ed307
320
ex
Elixir
lib/eps_web/controllers/version_controller.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps_web/controllers/version_controller.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps_web/controllers/version_controller.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
defmodule EPSWeb.VersionController do use EPSWeb, :controller use EPSWeb.Swagger.Version action_fallback EPSWeb.FallbackController def index(conn, _params) do app_version = Application.spec(:eps, :vsn) |> List.to_string() conn |> render("index.json", app_version: app_version, version: "v1") end end
26.666667
73
0.740625
e9ff2c01f5b4ad9b16b0ad2c08937e5c44bfa17f
289
exs
Elixir
elixir/priv/repo/migrations/20220210164121_enable_fuzzy_extensions.exs
swalcoff/web-homework
8aa2aa4c0158a2df9149daf00ba15cdf36a66b73
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20220210164121_enable_fuzzy_extensions.exs
swalcoff/web-homework
8aa2aa4c0158a2df9149daf00ba15cdf36a66b73
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20220210164121_enable_fuzzy_extensions.exs
swalcoff/web-homework
8aa2aa4c0158a2df9149daf00ba15cdf36a66b73
[ "MIT" ]
null
null
null
defmodule Homework.Repo.Migrations.EnableFuzzyExtensions do use Ecto.Migration def up do execute "CREATE EXTENSION pg_trgm" execute "CREATE EXTENSION fuzzystrmatch" end def down do execute "DROP EXTENSION fuzzystrmatch" execute "DROP EXTENSION pg_trgm" end end
20.642857
59
0.757785
e9ff3e98bcfbf52bd4183396e434d14dca1fda5c
673
exs
Elixir
mix.exs
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
2
2017-04-05T03:57:22.000Z
2017-12-03T19:54:07.000Z
mix.exs
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
null
null
null
mix.exs
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
null
null
null
defmodule Cerebrum.Mixfile do use Mix.Project def project do [app: :cerebrum, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(Mix.env)] end def application do [applications: [:logger, :neo4j_sips, :con_cache]] ...
17.710526
54
0.506686
e9ff46e605a7fc8e60af6ec83f69d09185c886f8
2,855
ex
Elixir
lib/harness/renderer.ex
NFIBrokerage/harness
e8cf599cc5a885de654a7f8fa93655b02f2ae4f3
[ "Apache-2.0" ]
2
2020-10-30T13:59:02.000Z
2021-05-03T16:34:01.000Z
lib/harness/renderer.ex
NFIBrokerage/harness
e8cf599cc5a885de654a7f8fa93655b02f2ae4f3
[ "Apache-2.0" ]
9
2020-09-22T14:51:52.000Z
2021-11-26T15:03:40.000Z
lib/harness/renderer.ex
NFIBrokerage/harness
e8cf599cc5a885de654a7f8fa93655b02f2ae4f3
[ "Apache-2.0" ]
1
2020-10-06T13:11:02.000Z
2020-10-06T13:11:02.000Z
defmodule Harness.Renderer do @moduledoc false # Functions for rendering a harness package into the current directory alias Harness.{Manifest, Tree} alias Harness.Renderer.{Run, File, Utils} def render(path) when is_binary(path) do manifest = Manifest.read(path) Elixir.File.mkdir_p!(".harness") ...
25.491071
74
0.615412
e9ffa02ba55addb6dcc114b0336d88ec90fc398a
697
exs
Elixir
test/fixtures/fail_init/mix.exs
petrus-jvrensburg/shoehorn
253b677b2ac68faf22b864ed0ab346ae02e8709a
[ "Apache-2.0" ]
null
null
null
test/fixtures/fail_init/mix.exs
petrus-jvrensburg/shoehorn
253b677b2ac68faf22b864ed0ab346ae02e8709a
[ "Apache-2.0" ]
null
null
null
test/fixtures/fail_init/mix.exs
petrus-jvrensburg/shoehorn
253b677b2ac68faf22b864ed0ab346ae02e8709a
[ "Apache-2.0" ]
null
null
null
defmodule FailInit.Mixfile do use Mix.Project def project do [ app: :fail_init, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), releases: releases() ] end def application do [extra_...
18.342105
69
0.529412
e9ffaffea8bfec15b96addfdf0d44c8c8647b42d
7,844
ex
Elixir
deps/ecto/lib/ecto/migration/runner.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
1
2016-08-17T11:39:26.000Z
2016-08-17T11:39:26.000Z
deps/ecto/lib/ecto/migration/runner.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/migration/runner.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
defmodule Ecto.Migration.Runner do # A GenServer responsible for running migrations # in either `:forward` or `:backward` directions. @moduledoc false use GenServer require Logger alias Ecto.Migration.Table alias Ecto.Migration.Index @opts [timeout: :infinity, log: false] @doc """ Runs the given...
31.757085
131
0.663055
e9ffb988fdecdb038044459ee1bbe0389fb0fb9e
1,062
ex
Elixir
lib/ffaker/ja_jp/name.ex
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
9
2016-11-09T15:50:05.000Z
2021-02-02T05:45:06.000Z
lib/ffaker/ja_jp/name.ex
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
3
2016-09-01T09:54:46.000Z
2017-07-25T05:23:56.000Z
lib/ffaker/ja_jp/name.ex
marocchino/ffaker
5bb4420a8034db9f954a2464cd72039129ef2307
[ "MIT" ]
4
2016-11-22T17:51:48.000Z
2021-02-02T05:45:01.000Z
defmodule Ffaker.JaJp.Name do @moduledoc""" 名前データを返す関数 """ use Ffaker @doc""" フルネームを返す ## Examples iex> Ffaker.JaJp.Name.name "葛西零" """ @spec name() :: String.t def name do "#{last_name()}#{first_name()}" end @doc""" 下の名を返す ## Examples iex> Ffaker.JaJp.Name.first...
14.547945
57
0.601695
e9ffcc2cad04dcab898f4430c522c0dbbb0313a6
172,499
ex
Elixir
lib/elixir/lib/kernel.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
1
2022-03-28T12:04:08.000Z
2022-03-28T12:04:08.000Z
lib/elixir/lib/kernel.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "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.058667
116
0.632763
e9fff02c44f5ddea3d69970ca185cdd542d8b070
1,607
ex
Elixir
lib/ex_doc/markdown.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
lib/ex_doc/markdown.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
lib/ex_doc/markdown.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(ExDoc.Markdown.Earmark) do # Due to how relative links works in ExDoc, it's necessary for us to use a # custom markdown parser to ensure that paths will work in generated docs. # # Ref: https://github.com/elixir-lang/ex_doc/issues/889 defmodule ExDoc.Pow.Markdown do @moduledoc false ...
38.261905
143
0.681394
1800054435e734e3a43a96ae3f14a7e95952273d
226
ex
Elixir
lib/client/encoders/multipart.ex
asonix/http-client-elixir
5610dc572d0d0b45d0b1ce7c1dba62e9d4c17c7e
[ "MIT" ]
4
2016-08-16T11:47:58.000Z
2018-06-08T05:47:09.000Z
lib/client/encoders/multipart.ex
asonix/http-client-elixir
5610dc572d0d0b45d0b1ce7c1dba62e9d4c17c7e
[ "MIT" ]
null
null
null
lib/client/encoders/multipart.ex
asonix/http-client-elixir
5610dc572d0d0b45d0b1ce7c1dba62e9d4c17c7e
[ "MIT" ]
null
null
null
defmodule Client.Encoders.Multipart do @behaviour Client.Encoders def headers, do: %{} def encode(payload), do: FormData.create(payload, :multipart) def encode!(payload), do: FormData.create!(payload, :multipart) end
28.25
65
0.743363
1800390b127aa74d9272224bfdc6fe50cff00d09
1,656
ex
Elixir
clients/translate/lib/google_api/translate/v3/model/detected_language.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v3/model/detected_language.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v3/model/detected_language.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.470588
129
0.728261
1800730906c9111a4f63f7fbf08aa9ceba3dd60f
2,105
ex
Elixir
lib/reactive_commons/api/direct_async_gateway.ex
bancolombia/reactive-commons-elixir
eaf740d596cadbe44a6914de1783fe9aba2001b9
[ "Apache-2.0" ]
4
2021-06-01T20:39:34.000Z
2021-08-06T14:51:57.000Z
lib/reactive_commons/api/direct_async_gateway.ex
bancolombia/reactive-commons-elixir
eaf740d596cadbe44a6914de1783fe9aba2001b9
[ "Apache-2.0" ]
5
2022-03-04T19:15:47.000Z
2022-03-04T21:57:23.000Z
lib/reactive_commons/api/direct_async_gateway.ex
bancolombia/reactive-commons-elixir
eaf740d596cadbe44a6914de1783fe9aba2001b9
[ "Apache-2.0" ]
null
null
null
defmodule DirectAsyncGateway do @moduledoc """ This module allows the commands emission and async queries requests. """ @direct_exchange "directMessages" def request_reply(%AsyncQuery{}, nil), do: raise("nil target") def request_reply(query = %AsyncQuery{}, target_name) do correlation_id = NameGener...
27.697368
96
0.684561
18008023583613afb995c836a8fca69f4055bc9a
328
exs
Elixir
myapp/test/myapp_web/live/page_live_test.exs
Hermanlangner/live_view_tutorial_update
f9cf6d4e1c503e741474a6934a1a08f06511ca37
[ "MIT" ]
null
null
null
myapp/test/myapp_web/live/page_live_test.exs
Hermanlangner/live_view_tutorial_update
f9cf6d4e1c503e741474a6934a1a08f06511ca37
[ "MIT" ]
2
2021-03-10T16:47:06.000Z
2021-05-11T12:42:06.000Z
myapp/test/myapp_web/live/page_live_test.exs
Hermanlangner/live_view_tutorial_update
f9cf6d4e1c503e741474a6934a1a08f06511ca37
[ "MIT" ]
null
null
null
defmodule MyappWeb.PageLiveTest do use MyappWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoenix!" ...
27.333333
60
0.722561
18009a058060ab80c198d1c8c04ee8cf3e2a0e89
162
exs
Elixir
priv/repo/migrations/20220318230403_add_ban.exs
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
priv/repo/migrations/20220318230403_add_ban.exs
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
priv/repo/migrations/20220318230403_add_ban.exs
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
defmodule Titeenipeli.Repo.Migrations.AddBan do use Ecto.Migration def change do alter table(:users) do add :is_banned, :boolean end end end
16.2
47
0.703704
1800c58413318f049faab59fb91db1e3fe1ab85a
1,133
ex
Elixir
lib/aht20/calc.ex
mnishiguchi/aht20
2150e1ceb0413b10230e1c6c3680625c58d3a2e9
[ "MIT" ]
1
2021-11-24T15:08:58.000Z
2021-11-24T15:08:58.000Z
lib/aht20/calc.ex
mnishiguchi/aht20
2150e1ceb0413b10230e1c6c3680625c58d3a2e9
[ "MIT" ]
2
2021-05-19T00:56:42.000Z
2021-05-19T17:11:43.000Z
lib/aht20/calc.ex
mnishiguchi/aht20
2150e1ceb0413b10230e1c6c3680625c58d3a2e9
[ "MIT" ]
null
null
null
defmodule AHT20.Calc do @moduledoc false @doc """ Calculates the relative humidity in percent. iex> AHT20.Calc.humidity_rh_from_raw(158119) 15.079402923583984 """ @spec humidity_rh_from_raw(integer()) :: float() def humidity_rh_from_raw(raw_humidity) do raw_humidity / 1_048_576.0 * 100.0 ...
27.634146
97
0.695499
1800ecbd78f5fa7c2078ee304b033d2439a27a12
4,561
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/api/catalog.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/api/catalog.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/api/catalog.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...
42.231481
196
0.673975
1800ffe6bccd58f67795e66ede3115b4c808b010
78
exs
Elixir
authentication/test/test_helper.exs
hbobenicio/phoenix-examples
dd2adc8887a341b50d192bc31c61ee528e896672
[ "MIT" ]
null
null
null
authentication/test/test_helper.exs
hbobenicio/phoenix-examples
dd2adc8887a341b50d192bc31c61ee528e896672
[ "MIT" ]
null
null
null
authentication/test/test_helper.exs
hbobenicio/phoenix-examples
dd2adc8887a341b50d192bc31c61ee528e896672
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Authentication.Repo, :manual)
15.6
60
0.782051
18012f155ef8ada50669bcd98e8a23b9422ad817
329
ex
Elixir
lib/oli_web/plugs/require_independent_instructor.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/plugs/require_independent_instructor.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/plugs/require_independent_instructor.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Plugs.RequireIndependentInstructor do import Plug.Conn alias Oli.Delivery.Sections def init(opts), do: opts def call(conn, _opts) do if Sections.is_independent_instructor?(Pow.Plug.current_user(conn)) do conn else conn |> resp(403, "Forbidden") |> halt() end ...
19.352941
74
0.671733
18014b09faf37a17a6330c19c55415533655ca18
11,636
ex
Elixir
lib/aws/generated/datapipeline.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/datapipeline.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/datapipeline.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Datapipeline do @moduledoc """ AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline handles the details of scheduling and ensuring that dat...
40.82807
90
0.740547
18018a50c7c93e1a66b0c9ff2a49952ed712868d
351
exs
Elixir
priv/repo/migrations/20190801124542_create_contacts.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
null
null
null
priv/repo/migrations/20190801124542_create_contacts.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
10
2019-07-29T03:03:02.000Z
2021-05-10T23:59:25.000Z
priv/repo/migrations/20190801124542_create_contacts.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
null
null
null
defmodule Newslettex.Repo.Migrations.CreateContacts do use Ecto.Migration def change do create table(:contacts) do add :email, :string add :unsuscribed, :boolean, default: false, null: false add :list_id, references(:lists, on_delete: :nothing) timestamps() end create index(:c...
21.9375
61
0.680912
18018e7b0c57cada36410a2a7f8220e781025b36
259
ex
Elixir
lib/pubsub.ex
pragdave/web-pubsub
0f973bfbfb322525e2ca1b96f01479d9fa74d7b4
[ "Unlicense" ]
null
null
null
lib/pubsub.ex
pragdave/web-pubsub
0f973bfbfb322525e2ca1b96f01479d9fa74d7b4
[ "Unlicense" ]
null
null
null
lib/pubsub.ex
pragdave/web-pubsub
0f973bfbfb322525e2ca1b96f01479d9fa74d7b4
[ "Unlicense" ]
null
null
null
defmodule Pubsub do @me Webo.Pubsub def name, do: @me def subscribe(topic, args) do GenServer.call(@me, { :subscribe, topic, args }) end def trigger(topic, extra_args) do GenServer.cast(@me, { :trigger, topic, extra_args }) end end
14.388889
56
0.65251
1801a29f138710c205cb381d6b1d631ac80f830b
3,154
exs
Elixir
test/pow/store/base_test.exs
rjurado01/pow
d97c013cafe06f51d30a56f4258d7ccc0952edf2
[ "MIT" ]
1
2021-05-27T21:33:29.000Z
2021-05-27T21:33:29.000Z
test/pow/store/base_test.exs
rjurado01/pow
d97c013cafe06f51d30a56f4258d7ccc0952edf2
[ "MIT" ]
null
null
null
test/pow/store/base_test.exs
rjurado01/pow
d97c013cafe06f51d30a56f4258d7ccc0952edf2
[ "MIT" ]
null
null
null
defmodule Pow.Store.BaseTest do use ExUnit.Case doctest Pow.Store.Base alias Pow.Store.{Backend.EtsCache, Base} defmodule BackendCacheMock do def get(_config, :backend), do: :mock_backend def get(config, :config), do: config def all(_config, _match_spec), do: [] end defmodule BaseMock do ...
28.672727
154
0.669626
1801b03cf8b393ca1fb20f07e80e04d9673edc6a
547
exs
Elixir
priv/repo/seeds.exs
joeletizia/rumbl
db213d5231927b0cf27d4f59341c370816099a0b
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
joeletizia/rumbl
db213d5231927b0cf27d4f59341c370816099a0b
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
joeletizia/rumbl
db213d5231927b0cf27d4f59341c370816099a0b
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Rumbl.Repo.insert!(%Rumbl.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail...
28.789474
92
0.723949
1801d8ab8f660051500492c6a5e796a62a4013c4
224
ex
Elixir
lib/crucible.ex
jdenen/crucible
abe45ff6b8737924ae9b2d34bba15f5fd65e7a9b
[ "Apache-2.0" ]
null
null
null
lib/crucible.ex
jdenen/crucible
abe45ff6b8737924ae9b2d34bba15f5fd65e7a9b
[ "Apache-2.0" ]
null
null
null
lib/crucible.ex
jdenen/crucible
abe45ff6b8737924ae9b2d34bba15f5fd65e7a9b
[ "Apache-2.0" ]
1
2018-12-16T15:07:57.000Z
2018-12-16T15:07:57.000Z
defmodule Crucible do @moduledoc false use Application def start(_type, _args) do children = [] opts = [strategy: :one_for_one, name: Crucible.Supervisor] Supervisor.start_link(children, opts) end end
17.230769
62
0.705357
1801defa18fb71e6c94c4e7108d4c1afadfe1439
4,984
ex
Elixir
lib/photog_web/controllers/image_controller.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
null
null
null
lib/photog_web/controllers/image_controller.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
1
2020-09-05T17:07:35.000Z
2020-09-05T17:07:35.000Z
lib/photog_web/controllers/image_controller.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
null
null
null
defmodule PhotogWeb.ImageController do use PhotogWeb, :controller alias Photog.Repo alias Photog.Api alias Photog.Api.Image alias Photog.Api.AlbumImage alias Photog.Api.PersonImage action_fallback PhotogWeb.FallbackController def index(conn, %{"favorites" => is_favorite_param}) do images = Api.li...
30.024096
102
0.621388
1801f42da00d3539455181de1247d17d3e1fb337
709
ex
Elixir
web/gettext.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
web/gettext.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
web/gettext.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
defmodule Pasteboard.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](http://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Pasteboard.Gettext # Simple translation gettext "Here is th...
28.36
71
0.681241
180232b4c2738d74755d5e2194ca636744871bf7
321
ex
Elixir
lib/media_sample/localized_controller.ex
kenta-aktsk/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
99
2016-04-19T11:11:57.000Z
2021-12-12T14:38:02.000Z
lib/media_sample/localized_controller.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
48
2016-04-06T02:28:46.000Z
2016-05-31T06:56:56.000Z
lib/media_sample/localized_controller.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
32
2016-04-19T11:12:00.000Z
2021-03-25T18:19:52.000Z
defmodule MediaSample.LocalizedController do defmacro __using__(_) do quote do def action(conn, _opts) do apply( __MODULE__, action_name(conn), [ conn, conn.params, conn.assigns.locale ] ) end end end end...
17.833333
44
0.501558
18023f7aab1c825c241a8632dbc84f4289a64760
4,944
ex
Elixir
lib/drab/modal.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
933
2017-01-14T13:47:37.000Z
2022-03-21T18:14:41.000Z
lib/drab/modal.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
189
2017-01-15T18:35:06.000Z
2022-01-24T17:41:22.000Z
lib/drab/modal.ex
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
54
2017-01-15T18:10:48.000Z
2021-02-06T17:21:44.000Z
defmodule Drab.Modal do require Logger import Drab.Template @moduledoc """ Drab Module to launch Bootstrap Modal in the browser. Requires Bootstrap to work. Because there are differences beetween Bootstrap 3 and 4, you should configure which version you use (by default it is `:bootstrap3`): config ...
36.087591
99
0.645429
18025cf0d857547a94e8773b783e34cab18be3a0
5,423
exs
Elixir
test/fun_with_flags/notifications/phoenix_pubsub_test.exs
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
736
2017-02-16T12:55:57.000Z
2022-03-31T19:50:43.000Z
test/fun_with_flags/notifications/phoenix_pubsub_test.exs
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
86
2017-04-02T16:42:33.000Z
2022-03-25T01:07:13.000Z
test/fun_with_flags/notifications/phoenix_pubsub_test.exs
elpikel/fun_with_flags
1c409e8872eb7e370f827a0d471082aeff09cf33
[ "MIT" ]
63
2017-04-28T23:38:15.000Z
2022-03-28T12:49:02.000Z
defmodule FunWithFlags.Notifications.PhoenixPubSubTest do use FunWithFlags.TestCase, async: false import FunWithFlags.TestUtils import Mock alias FunWithFlags.Notifications.PhoenixPubSub, as: PubSub @moduletag :phoenix_pubsub describe "unique_id()" do test "it returns a string" do assert is_bin...
29.313514
154
0.647981
18028a9569b6932942e0eaf31630e3e99127454f
1,542
exs
Elixir
src/day10.exs
DKarandikar/aoc2021
1c5a24e73f3da940a7694d3c0d814217e7e863dc
[ "BSD-3-Clause" ]
null
null
null
src/day10.exs
DKarandikar/aoc2021
1c5a24e73f3da940a7694d3c0d814217e7e863dc
[ "BSD-3-Clause" ]
null
null
null
src/day10.exs
DKarandikar/aoc2021
1c5a24e73f3da940a7694d3c0d814217e7e863dc
[ "BSD-3-Clause" ]
null
null
null
defmodule Day10 do def getLines() do File.read!("input/day10.txt") |> String.split("\n") end def solvePartA() do getLines() |> Enum.map(&getCorruptChar/1) |> Enum.map(&getScore/1) |> Enum.sum() end def getScore(char) do cond do char == ">" -> 25137 char == "}" -> 1...
20.56
79
0.498703
1802b61b19003a7181f00f1cea82aab80a207aea
197
ex
Elixir
lib/phone/dk.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/dk.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/dk.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.DK do @moduledoc false use Helper.Country def regex, do: ~r/^(45)()(.{8})/ def country, do: "Denmark" def a2, do: "DK" def a3, do: "DNK" matcher :regex, ["45"] end
15.153846
34
0.593909
1802ba3bae479f05676dd0e7129eebb531a0419f
1,420
exs
Elixir
mix.exs
Roberto-XY/eunomo
5724a6bea8afe9ff9290725df9b63ae905538c10
[ "Apache-2.0" ]
4
2020-04-15T13:24:34.000Z
2022-03-16T13:19:37.000Z
mix.exs
Roberto-XY/eunomo
5724a6bea8afe9ff9290725df9b63ae905538c10
[ "Apache-2.0" ]
3
2021-02-13T11:02:20.000Z
2021-04-24T16:40:09.000Z
mix.exs
Roberto-XY/eunomo
5724a6bea8afe9ff9290725df9b63ae905538c10
[ "Apache-2.0" ]
1
2021-02-10T21:40:50.000Z
2021-02-10T21:40:50.000Z
defmodule Eunomo.MixProject do use Mix.Project def project do [ app: :eunomo, version: "0.1.3", elixir: ">= 1.10.0", start_permanent: Mix.env() == :prod, deps: deps(), dialyzer: [ plt_add_deps: :transitive, plt_add_apps: [:mix], plt_file: {:no_warn, "...
22.539683
68
0.542958
1802f7738c2ae2f385dae4cba194c531a0dedcfb
1,125
exs
Elixir
episode10/big_project/apps/component_a/config/config.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode10/big_project/apps/component_a/config/config.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode10/big_project/apps/component_a/config/config.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.290323
73
0.752889
18033832984a0d423ac5097e73698ed72034c15a
4,105
ex
Elixir
portfolio/lib/portfolio/accounts/user_token.ex
JackMaarek/portfolio
4423e67df870b14228edbc9e4ce3f3cdf1bccc2d
[ "MIT" ]
null
null
null
portfolio/lib/portfolio/accounts/user_token.ex
JackMaarek/portfolio
4423e67df870b14228edbc9e4ce3f3cdf1bccc2d
[ "MIT" ]
11
2020-04-29T10:28:20.000Z
2020-04-29T11:03:13.000Z
portfolio/lib/portfolio/accounts/user_token.ex
JackMaarek/portfolio
4423e67df870b14228edbc9e4ce3f3cdf1bccc2d
[ "MIT" ]
null
null
null
defmodule Portfolio.Accounts.UserToken do use Ecto.Schema import Ecto.Query @hash_algorithm :sha256 @rand_size 32 # It is very important to keep the reset password token expiry short, # since someone with access to the email may take over the account. @reset_password_validity_in_days 1 @confirm_validi...
29.113475
94
0.68916
1803390bbb150e817083d49dfb0a1e73dc02cdec
1,497
exs
Elixir
config/dev.exs
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
config/dev.exs
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
config/dev.exs
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
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 :mundum, MundumWeb.Endpoint, http: [port: 3000...
31.851064
170
0.733467
180342bc8842611ac0a4a39a191753c47f41641a
2,832
ex
Elixir
lib/elixir/lib/integer.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/lib/integer.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/integer.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
defmodule Integer do @moduledoc """ Functions for working with integers. """ import Bitwise @doc """ Determines if an integer is odd. Returns `true` if `n` is an odd number, otherwise `false`. Allowed in guard clauses. """ defmacro is_odd(n) do quote do: (unquote(n) &&& 1) == 1 end @doc...
19.943662
92
0.632062
1803462085e5ca96dfeba56f1181c2d7db3946ee
1,120
ex
Elixir
clients/play_custom_app/lib/google_api/play_custom_app/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/play_custom_app/lib/google_api/play_custom_app/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/play_custom_app/lib/google_api/play_custom_app/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
33.939394
74
0.74375
18037b434e89542abacbd4360742949ea58b7e56
80
exs
Elixir
test/unit/star/quad_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/star/quad_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/star/quad_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
2
2018-01-19T15:48:27.000Z
2020-03-01T00:29:35.000Z
defmodule RDF.Star.QuadTest do use RDF.Test.Case doctest RDF.Star.Quad end
13.333333
30
0.7625
1803ae3b967b0082ff10b4ac067f19c0d54daa67
88
ex
Elixir
lib/hologram/compiler/opts.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/opts.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/opts.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.Opts do defstruct placeholder: false, template: false end
22
47
0.818182
1803bd3e265725cfd4ac3cfc4d8458b3d82aaa32
27,930
ex
Elixir
lib/elixir/lib/dynamic_supervisor.ex
saydulk/elixir
17a0278a28a23d533bc012b5a61852fdb7b2fcc3
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dynamic_supervisor.ex
saydulk/elixir
17a0278a28a23d533bc012b5a61852fdb7b2fcc3
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dynamic_supervisor.ex
saydulk/elixir
17a0278a28a23d533bc012b5a61852fdb7b2fcc3
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
defmodule DynamicSupervisor do @moduledoc ~S""" A supervisor that starts children dynamically. The `Supervisor` module was designed to handle mostly static children that are started in the given order when the supervisor starts. A `DynamicSupervisor` starts with no children. Instead, children are started o...
31.10245
99
0.644791
1803e666da6d7d4629eddc6549e094e22e15eee7
524
ex
Elixir
proverb/lib/proverb.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
1
2022-01-23T20:34:09.000Z
2022-01-23T20:34:09.000Z
proverb/lib/proverb.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
proverb/lib/proverb.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
defmodule Proverb do @moduledoc false @doc """ Generate a proverb from a list of strings. """ @spec recite(strings :: [String.t()]) :: String.t() def recite([]), do: "" def recite([head | _] = strings) do for_want = strings |> Enum.chunk_every(2, 1, :discard) |> Enum.map(&for_want/1) Enum.join(f...
29.111111
91
0.618321
1803ea52b9f7da7cc880f7652c6bdf5b892196ee
334
ex
Elixir
lib/syn_osc/base.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
1
2020-12-08T01:44:03.000Z
2020-12-08T01:44:03.000Z
lib/syn_osc/base.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
null
null
null
lib/syn_osc/base.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
null
null
null
defmodule SynOSC.Base do defstruct id: nil, value: 440 end defimpl OSC.Encoder, for: SynOSC.Base do use SynOSC def encode(%{value: value} = message, options) when is_integer(value) do message |> call("BASE") |> set_arguments([value]) |> OSC.Encoder.encode(options) end def flag(_...
18.555556
74
0.637725
1803fe1580eb5362037536872716d34456de59e0
2,510
exs
Elixir
test/absinthe_generator/mutation_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
1
2022-02-28T14:58:08.000Z
2022-02-28T14:58:08.000Z
test/absinthe_generator/mutation_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
null
null
null
test/absinthe_generator/mutation_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
null
null
null
defmodule AbsintheGenerator.MutationTest do use ExUnit.Case, async: true @test_struct %AbsintheGenerator.Mutation{ app_name: "MyApp", mutation_name: "user", mutations: [ %AbsintheGenerator.Schema.Field{ description: "Updates the current user", name: "update_user", post_mid...
26.702128
89
0.624303
180467f3775737f9e8dcd7749a19eeb303f6a715
3,710
ex
Elixir
apps/object_storage/lib/object_storage_web/plugs/check_signatures/signature_generator.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
apps/object_storage/lib/object_storage_web/plugs/check_signatures/signature_generator.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
apps/object_storage/lib/object_storage_web/plugs/check_signatures/signature_generator.ex
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
defmodule Legendary.ObjectStorageWeb.CheckSignatures.SignatureGenerator do @moduledoc """ Can generate a signature based on an incoming request so that it can be verified against the signature header or parameter submitted. """ import Legendary.ObjectStorageWeb.Helpers, only: [get_first_request_header: 2, am...
30.916667
99
0.667655
180484d55b557cae121246763bc4dae6aa510e8a
190
ex
Elixir
web/views/timezone_view.ex
max-konin/a2billing-rest-api
3f8430caa2b9cbedfbe842e81030c861aa25dd89
[ "MIT" ]
1
2017-08-01T04:31:38.000Z
2017-08-01T04:31:38.000Z
web/views/timezone_view.ex
max-konin/a2billing-rest-api
3f8430caa2b9cbedfbe842e81030c861aa25dd89
[ "MIT" ]
null
null
null
web/views/timezone_view.ex
max-konin/a2billing-rest-api
3f8430caa2b9cbedfbe842e81030c861aa25dd89
[ "MIT" ]
1
2020-05-05T15:21:59.000Z
2020-05-05T15:21:59.000Z
defmodule A2billingRestApi.TimezoneView do use A2billingRestApi.Web, :view use JaSerializer.PhoenixView attributes [:gmtzone, :gmttime, :gmtoffset, :inserted_at, :updated_at] end
21.111111
72
0.778947
1804c7aa5405fff4073312890cc7bb6ef7969b91
43,358
ex
Elixir
clients/people/lib/google_api/people/v1/api/people.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/api/people.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/api/people.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "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...
64.139053
944
0.661308
1804dbccc644329f0855f08a7b9aa53df903d388
894
ex
Elixir
lib/upstream/worker/checksum.ex
artellectual/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
5
2018-02-16T15:32:41.000Z
2020-03-31T10:55:24.000Z
lib/upstream/worker/checksum.ex
artellectual/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
8
2017-07-12T04:27:31.000Z
2017-12-26T06:30:47.000Z
lib/upstream/worker/checksum.ex
upmaru/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
2
2018-02-16T15:32:45.000Z
2018-03-04T12:11:57.000Z
defmodule Upstream.Worker.Checksum do @moduledoc """ Calculates the sha from the streaming chunk. """ @spec start_link() :: {:error, any()} | {:ok, pid()} def start_link do Agent.start_link(fn -> :crypto.hash_init(:sha) end) end @spec add_bytes_to_hash(any(), atom() | pid() | {atom(), any()} | {:via...
26.294118
93
0.587248
1804f5d18c168375286d3f5d507fc5b34ea0c62d
2,966
exs
Elixir
elixir/getting-started/11_io_and_filesystem.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
elixir/getting-started/11_io_and_filesystem.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
elixir/getting-started/11_io_and_filesystem.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
# IO and File System # === IO Module === # Main mechanism for reading and writing to standard input/output (`:stdio`), error (`:stderr`), # files and others devices. IO.puts("Hello world!") IO.puts(['Hello', ' ', 'World']) IO.gets("Enter a message: ") IO.puts(:stderr, "Hello world of stderr") # === File Module ===...
37.544304
148
0.720162
1804fa00491380b8f11318df491232de31bff677
423
exs
Elixir
test/teiserver_web/controllers/report/client_event_controller_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
test/teiserver_web/controllers/report/client_event_controller_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
test/teiserver_web/controllers/report/client_event_controller_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule TeiserverWeb.Report.ClientEventControllerTest do use CentralWeb.ConnCase alias Central.Helpers.GeneralTestLib setup do GeneralTestLib.conn_setup(Teiserver.TeiserverTestLib.admin_permissions()) |> Teiserver.TeiserverTestLib.conn_setup() end test "index", %{conn: conn} do conn = get(con...
24.882353
77
0.770686
180508ea6febc2d48aad79479e575fd2531ac573
10,623
ex
Elixir
lib/goth/token.ex
gorkemduman/goth
ba0b436eec1f4eb70428c60c273da367c66f675e
[ "MIT" ]
null
null
null
lib/goth/token.ex
gorkemduman/goth
ba0b436eec1f4eb70428c60c273da367c66f675e
[ "MIT" ]
null
null
null
lib/goth/token.ex
gorkemduman/goth
ba0b436eec1f4eb70428c60c273da367c66f675e
[ "MIT" ]
null
null
null
defmodule Goth.Token do @moduledoc """ Functions for retrieving the token from the Google API. """ @type t :: %__MODULE__{ token: String.t(), type: String.t(), scope: String.t(), expires: non_neg_integer, sub: String.t() | nil } defstruct [ :toke...
30.702312
175
0.61894
1805329410ee4150c38a62b248351f8ccd9dc840
19,864
ex
Elixir
lib/vekil/concrete/vekil/form.ex
ianrumford/plymio_vekil
070ab783dc8f7747002df61704285947eea583a2
[ "MIT" ]
null
null
null
lib/vekil/concrete/vekil/form.ex
ianrumford/plymio_vekil
070ab783dc8f7747002df61704285947eea583a2
[ "MIT" ]
null
null
null
lib/vekil/concrete/vekil/form.ex
ianrumford/plymio_vekil
070ab783dc8f7747002df61704285947eea583a2
[ "MIT" ]
null
null
null
defmodule Plymio.Vekil.Form do @moduledoc ~S""" This module implements the `Plymio.Vekil` protocol using a `Map` where the *proxies* (`keys`) are atoms and the *foroms* (`values`) hold quoted forms. The default when creating a **form** *vekil* is to create `Plymio.Vekil.Forom.Form` *forom* but any *vekil* c...
34.307427
101
0.607179
18053b27b8a141a0cc668cf49ea31970a00afba4
1,601
ex
Elixir
lib/reaper/cache.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
lib/reaper/cache.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
lib/reaper/cache.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.Cache do @moduledoc """ Cache module for rows of data before it is added to the raw topic """ require Logger defmodule CacheError do defexception [:message] end @doc """ Returns a tuple for a value that signifies if it exists in the cache """ @spec mark_duplicates(atom(), any(...
24.630769
94
0.609619
18055928f6f764c5221bd344f9abb21f414e6ddc
7,141
exs
Elixir
test/credo/check/warning/unsafe_to_atom_test.exs
surgeventures/credo
aae5abab08d86ca7269613753cc425e12be83692
[ "MIT" ]
null
null
null
test/credo/check/warning/unsafe_to_atom_test.exs
surgeventures/credo
aae5abab08d86ca7269613753cc425e12be83692
[ "MIT" ]
null
null
null
test/credo/check/warning/unsafe_to_atom_test.exs
surgeventures/credo
aae5abab08d86ca7269613753cc425e12be83692
[ "MIT" ]
null
null
null
defmodule Credo.Check.Warning.UnsafeToAtomTest do use Credo.Test.Case @described_check Credo.Check.Warning.UnsafeToAtom # # cases NOT raising issues # test "it should NOT report expected code" do """ defmodule CredoSampleModule do def convert_module(parameter) do Module.safe_concat(...
24.968531
101
0.612519
180574ba2f81ed474eae88695e98552955f590d5
517
exs
Elixir
mix.exs
rtvu/map_array
6db8d7829449429767e38756cc2ce05824884c21
[ "MIT" ]
null
null
null
mix.exs
rtvu/map_array
6db8d7829449429767e38756cc2ce05824884c21
[ "MIT" ]
null
null
null
mix.exs
rtvu/map_array
6db8d7829449429767e38756cc2ce05824884c21
[ "MIT" ]
null
null
null
defmodule MapArray.MixProject do use Mix.Project def project do [ app: :map_array, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), name: "MapArray", source_url: "https://github.com/rtvu/map_array", docs: [ main: "Ma...
16.677419
54
0.528046
1805a76c08283b34b7529e461985fbd902db5419
2,512
exs
Elixir
config/prod.exs
DeathstarNovember/legends
8354f83942f0275f484e66d883413f308c013793
[ "Unlicense" ]
null
null
null
config/prod.exs
DeathstarNovember/legends
8354f83942f0275f484e66d883413f308c013793
[ "Unlicense" ]
6
2019-11-20T19:31:23.000Z
2021-09-02T02:34:05.000Z
config/prod.exs
DeathstarNovember/legends
8354f83942f0275f484e66d883413f308c013793
[ "Unlicense" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
34.410959
69
0.713376
1805ab635e20ad3155ae31526a9e4b71aec15e63
4,714
ex
Elixir
lib/zen_ex/core/models/user.ex
TheRealReal/zen_ex
cea46f398ceba6b46ee128635eb0e4f351f29086
[ "CC0-1.0" ]
null
null
null
lib/zen_ex/core/models/user.ex
TheRealReal/zen_ex
cea46f398ceba6b46ee128635eb0e4f351f29086
[ "CC0-1.0" ]
null
null
null
lib/zen_ex/core/models/user.ex
TheRealReal/zen_ex
cea46f398ceba6b46ee128635eb0e4f351f29086
[ "CC0-1.0" ]
null
null
null
defmodule ZenEx.Model.User do alias ZenEx.HTTPClient alias ZenEx.Query alias ZenEx.Entity.{User, JobStatus} @moduledoc """ Provides functions to operate Zendesk User. """ @doc """ List users. ## Examples iex> ZenEx.Model.User.list %ZenEx.Collection{} """ @spec list :: %ZenEx.Colle...
25.619565
106
0.61731
1805b3d32f2f911eba600a880404d7ece2c5f7ea
1,959
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/push_item_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/push_item_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/push_item_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...
36.277778
120
0.726391
1805b7e4810de45e750393d1c649b11b746f09a2
1,184
exs
Elixir
config/dev.exs
domix/xebex
e1c9e21245a1daf3c818ddd60433fdbc4d7611be
[ "Apache-2.0" ]
1
2015-10-13T02:11:26.000Z
2015-10-13T02:11:26.000Z
config/dev.exs
domix/xebex
e1c9e21245a1daf3c818ddd60433fdbc4d7611be
[ "Apache-2.0" ]
null
null
null
config/dev.exs
domix/xebex
e1c9e21245a1daf3c818ddd60433fdbc4d7611be
[ "Apache-2.0" ]
null
null
null
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 :xebex, Xebex.Endpoint, http: [port: 4000], ...
27.534884
60
0.716216
1805c5c1fa31858a79727976ad422eddba1aa1a3
4,443
ex
Elixir
lib/day12.ex
azuline/aoc2019
78fe38d0dc6d2d2c5ca7fc6286cff1dd165c604a
[ "Apache-2.0" ]
null
null
null
lib/day12.ex
azuline/aoc2019
78fe38d0dc6d2d2c5ca7fc6286cff1dd165c604a
[ "Apache-2.0" ]
null
null
null
lib/day12.ex
azuline/aoc2019
78fe38d0dc6d2d2c5ca7fc6286cff1dd165c604a
[ "Apache-2.0" ]
null
null
null
defmodule Day12.Moon do defstruct position: %{x: 0, y: 0, z: 0}, velocity: %{x: 0, y: 0, z: 0} @pattern ~r/<x=(?<x>-?\d+), y=(?<y>-?\d+), z=(?<z>-?\d+)>/ def from_line(line) do %{"x" => x, "y" => y, "z" => z} = Regex.named_captures(@pattern, line) %__MODULE__{ position: %{ x: ...
24.683333
87
0.563808
1805d22610a8a9e1c0eee8eb65b105acdcfa9315
991
ex
Elixir
web/views/error_helpers.ex
wsmoak/minty
dbafd707cc5ce6d0bc251698cefe2c5d5a6eca56
[ "MIT" ]
4
2016-02-17T03:13:03.000Z
2017-04-18T20:53:03.000Z
web/views/error_helpers.ex
wsmoak/minty
dbafd707cc5ce6d0bc251698cefe2c5d5a6eca56
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
wsmoak/minty
dbafd707cc5ce6d0bc251698cefe2c5d5a6eca56
[ "MIT" ]
null
null
null
defmodule Minty.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error), cl...
27.527778
76
0.677094
1805d85f9b937fa7cfe77a85f9387025bfcb3824
339
ex
Elixir
maru_version/lib/v2.ex
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
27
2016-12-28T15:00:19.000Z
2021-11-09T12:55:23.000Z
maru_version/lib/v2.ex
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
5
2017-02-13T13:11:55.000Z
2019-07-22T19:38:09.000Z
maru_version/lib/v2.ex
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
8
2017-02-08T10:18:50.000Z
2020-06-01T11:42:04.000Z
defmodule MaruVersion.API.V2 do use Maru.Router version "v2" do desc "get v2" get do conn |> text("It works V2!") end get :extend do conn |> text("This will be extended!") end get :no_extend do conn |> text("This will NOT be extended!") end mount Maru.Version.AP...
16.142857
48
0.59587
180606f8a15ce5bf486c619a76d83370a701edcf
3,502
ex
Elixir
clients/access_approval/lib/google_api/access_approval/v1/model/access_approval_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/access_approval/lib/google_api/access_approval/v1/model/access_approval_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/access_approval/lib/google_api/access_approval/v1/model/access_approval_settings.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...
62.535714
754
0.758424
18060770e20cefb37963c399c6bd89b75abc5a10
7,066
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__video_annotation_results.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_v1beta2__video_annotation_results.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_v1beta2__video_annotation_results.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 ...
43.888199
234
0.739174
180610b8809b86d0e7cd774d54508b63596fd2bd
1,860
ex
Elixir
apps/core/lib/core/event_manager/event_manager.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/event_manager/event_manager.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/event_manager/event_manager.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.EventManager do @moduledoc false alias Core.Contracts.CapitationContract alias Core.Contracts.ReimbursementContract alias Core.EmployeeRequests.EmployeeRequest @type_change_status "StatusChangeEvent" @contract_schemas [CapitationContract, ReimbursementContract] @producer Application.get_e...
28.181818
104
0.696774
18062acd0bd47cefab8bb37fe82ccc3c14b152ef
1,984
ex
Elixir
apps/re/lib/developments/mirror.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/lib/developments/mirror.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/lib/developments/mirror.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Developments.Mirror do @moduledoc """ Mirror developments and unit info on listings. """ require Ecto.Query require Logger alias Re.{ Developments, Developments.Listings, Units } @unit_preload_for_insert [development: [:address]] def mirror_unit_insert_to_listing(uuid) do ...
28.342857
98
0.700101
18067552395643952de06f0ea20db46676408194
1,528
ex
Elixir
lib/events_api_web/endpoint.ex
gissandrogama/events
1b21b151a336ae5eef8bf1d68f2a792194f21be3
[ "MIT" ]
null
null
null
lib/events_api_web/endpoint.ex
gissandrogama/events
1b21b151a336ae5eef8bf1d68f2a792194f21be3
[ "MIT" ]
4
2021-02-10T22:04:56.000Z
2021-02-12T22:01:42.000Z
lib/events_api_web/endpoint.ex
gissandrogama/events
1b21b151a336ae5eef8bf1d68f2a792194f21be3
[ "MIT" ]
1
2021-03-22T13:48:48.000Z
2021-03-22T13:48:48.000Z
defmodule EventsApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :events_api # 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: "_even...
28.830189
97
0.717932
1806e4b7de0087c0ca7bd7c201727cc733404551
592
ex
Elixir
lib/login.ex
BoringButGreat/grafana
1d2381268e8b3abc54fd7ec046ac95d9f2b7e362
[ "BSD-3-Clause" ]
15
2016-05-05T01:30:27.000Z
2021-02-19T12:50:00.000Z
lib/login.ex
BoringButGreat/grafana
1d2381268e8b3abc54fd7ec046ac95d9f2b7e362
[ "BSD-3-Clause" ]
3
2017-05-10T11:22:11.000Z
2017-05-10T13:52:07.000Z
lib/login.ex
BoringButGreat/grafana
1d2381268e8b3abc54fd7ec046ac95d9f2b7e362
[ "BSD-3-Clause" ]
2
2016-10-25T13:18:38.000Z
2017-05-10T11:23:43.000Z
defmodule Grafana.Login do use Grafana.API @doc """ Login and retrieve cookie. """ def login(username, password) do no_auth_post "/login", %{username: username, password: password} end @doc """ Renew login with basic auth. iex> {:ok, response} = Grafana.Login.renew ...> Map.keys(response)...
20.413793
68
0.633446
1806e7912d3a8e82f6287ef3a9f1ecbe08151b76
211
ex
Elixir
lib/surgex/parser/structs/geolocation.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
10
2017-09-15T08:55:48.000Z
2021-07-08T09:26:24.000Z
lib/surgex/parser/structs/geolocation.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
17
2017-07-24T11:27:22.000Z
2022-01-24T22:28:18.000Z
lib/surgex/parser/structs/geolocation.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
2
2018-04-12T15:01:00.000Z
2018-05-27T12:14:34.000Z
defmodule Surgex.Parser.Geolocation do @moduledoc """ Holds a specific point on Earth's surface. """ @type t :: %__MODULE__{latitude: number, longitude: number} defstruct [:latitude, :longitude] end
21.1
61
0.7109
1806f3f9dfb2d4987a2044e88b41d3edf7034358
3,593
ex
Elixir
apps/admin_app/lib/admin_app_web/controllers/general_settings_controller.ex
gridgentoo/avia
139b68f4b3ccd830c4db296d81132680e253b731
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/controllers/general_settings_controller.ex
gridgentoo/avia
139b68f4b3ccd830c4db296d81132680e253b731
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/controllers/general_settings_controller.ex
gridgentoo/avia
139b68f4b3ccd830c4db296d81132680e253b731
[ "MIT" ]
null
null
null
defmodule AdminAppWeb.GeneralSettingsController do use AdminAppWeb, :controller alias Snitch.Data.Model.GeneralConfiguration, as: GCModel alias Snitch.Data.Schema.GeneralConfiguration, as: GCSchema alias Snitch.Core.Tools.MultiTenancy.Repo alias Snitch.Data.Model.Image def index(conn, _params) do gene...
28.744
89
0.64069
180715ec531650ee493db8c9fd2c41bdee58cc61
6,440
ex
Elixir
apps/state/lib/state/trip.ex
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/state/lib/state/trip.ex
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/state/lib/state/trip.ex
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule State.Trip do @moduledoc """ Stores and indexes `Model.Trip.t` generated from `multi_route_trips.txt` and `trips.txt`. """ use State.Server, indices: [:id, :route_id], recordable: Model.Trip alias Events.Gather alias Model.{Direction, MultiRouteTrip, Route, Trip} alias State.ServiceByD...
30.234742
92
0.653727
180729c41e3290029282254c10c950dc7e68e384
5,568
ex
Elixir
lib/tilex/stats.ex
dlederle/tilex
63520eeb013a2a18174de0b6e41e8b99977dbc20
[ "MIT" ]
null
null
null
lib/tilex/stats.ex
dlederle/tilex
63520eeb013a2a18174de0b6e41e8b99977dbc20
[ "MIT" ]
null
null
null
lib/tilex/stats.ex
dlederle/tilex
63520eeb013a2a18174de0b6e41e8b99977dbc20
[ "MIT" ]
null
null
null
defmodule Tilex.Stats do import Ecto.Query alias Ecto.Adapters.SQL alias Tilex.Repo alias Tilex.Channel defmacro greatest(value1, value2) do quote do fragment("greatest(?, ?)", unquote(value1), unquote(value2)) end end defmacro hours_since(timestamp) do quote do fragment( ...
27.84
98
0.595726
18072d53f2a2d8e1abe78fcce1ae14b6c3aed9b1
2,142
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_zone_links.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_zone_links.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_zone_links.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.415094
168
0.750233
1807490b0359db203ddf0c18e2047e230030afe0
1,318
ex
Elixir
lib/cache_provider.ex
EnthuZiastic/absinthe_cache
48059fa41f4d04ad819f1564e3ea4a7d3b5c69cf
[ "MIT" ]
19
2020-02-06T09:26:28.000Z
2022-02-18T01:17:40.000Z
lib/cache_provider.ex
EnthuZiastic/absinthe_cache
48059fa41f4d04ad819f1564e3ea4a7d3b5c69cf
[ "MIT" ]
1
2021-06-21T16:52:30.000Z
2021-07-12T00:03:10.000Z
lib/cache_provider.ex
EnthuZiastic/absinthe_cache
48059fa41f4d04ad819f1564e3ea4a7d3b5c69cf
[ "MIT" ]
3
2021-05-24T08:36:11.000Z
2021-08-05T07:47:26.000Z
defmodule AbsintheCache.Behaviour do @moduledoc """ Behaviour that the cache needs to conform to. # TODO: Write more docs """ @type hash :: String.t() @type key :: hash | {atom, hash} | {non_neg_integer(), non_neg_integer()} @type error :: String.t() @type stored_value :: any() @type cache :: atom() ...
32.95
87
0.663885
18077c95be7d2c5afe85f63c1d0ff7282f9a5de7
9,048
exs
Elixir
test/infinite_tracing_test.exs
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
test/infinite_tracing_test.exs
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
test/infinite_tracing_test.exs
binaryseed/elixir_agent
25f1242c10516618d9ea3a9b18712e5bc41efad6
[ "Apache-2.0" ]
null
null
null
defmodule InfiniteTracingTest do use ExUnit.Case use Plug.Test alias NewRelic.DistributedTrace alias NewRelic.Harvest.TelemetrySdk alias NewRelic.Harvest.Collector setup do reset_agent_run = TestHelper.update(:nr_agent_run, trusted_account_key: "190") reset_config = TestHelper.update(:nr_co...
30.567568
96
0.669209
18078068a0a1ed19451dd97a2051ee3cd9d63b90
2,398
exs
Elixir
mix.exs
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
mix.exs
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
mix.exs
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
defmodule Distillery.Mixfile do use Mix.Project def project do [ app: :distillery, version: "2.0.3", elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), doc...
24.979167
73
0.550042
18078a865f1f6633200968fa479795818240a8b3
64
exs
Elixir
test/fusion_test.exs
elpddev/fusion
7106ba4922786e1d79310074e46e6996d0c2f4aa
[ "MIT" ]
2
2020-02-02T20:22:28.000Z
2020-12-10T18:25:03.000Z
test/fusion_test.exs
elpddev/fusion
7106ba4922786e1d79310074e46e6996d0c2f4aa
[ "MIT" ]
null
null
null
test/fusion_test.exs
elpddev/fusion
7106ba4922786e1d79310074e46e6996d0c2f4aa
[ "MIT" ]
null
null
null
defmodule FusionTest do use ExUnit.Case doctest Fusion end
10.666667
23
0.78125
1807deeb8c08024cea1d54afecf1a91c24304e9b
271
ex
Elixir
lib/delivery_web/views/users_view.ex
joaoeliandro/delivery
f8f2ea20a0fa595ccd754a725cfadf35a8c89c69
[ "MIT" ]
null
null
null
lib/delivery_web/views/users_view.ex
joaoeliandro/delivery
f8f2ea20a0fa595ccd754a725cfadf35a8c89c69
[ "MIT" ]
null
null
null
lib/delivery_web/views/users_view.ex
joaoeliandro/delivery
f8f2ea20a0fa595ccd754a725cfadf35a8c89c69
[ "MIT" ]
null
null
null
defmodule DeliveryWeb.UsersView do use DeliveryWeb, :view alias Delivery.User def render("create.json", %{user: %User{} = user}) do %{ user: user } end def render("user.json", %{user: %User{} = user}) do %{ user: user } end end
15.055556
55
0.571956
1807f84c7a1d1ae8f66088332cfcab772b0d456d
4,638
exs
Elixir
test/engine/process_test.exs
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
test/engine/process_test.exs
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
test/engine/process_test.exs
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
defmodule BPXETest.Engine.Process do use ExUnit.Case, async: true alias BPXE.Engine.Model alias BPXE.Engine.Process alias BPXE.Engine.Event doctest Process test "re-synthesizing flow nodes doesn't do anything" do {:ok, pid} = Model.start_link() {:ok, proc1} = Model.add_process(pid, id: "proc1", nam...
35.953488
98
0.66796
18080d7d837acd596555d266adb002d0fca7dacb
1,094
ex
Elixir
lib/stixex/object/observable/extension/socket.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
lib/stixex/object/observable/extension/socket.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
lib/stixex/object/observable/extension/socket.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.Object.Observable.Extension.Socket do use StixEx.Object.Observable.Extension, type_name: "socket" @required_fields [:address_family] embedded_schema do field(:address_family, :string) field(:is_blocking, :boolean) field(:is_listening, :boolean) field(:protocol_family, :string) ...
26.682927
89
0.686472
18081bdf635e5df7a5b8ff21d4de0c476a4aa792
1,796
ex
Elixir
clients/translate/lib/google_api/translate/v3/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/translate/lib/google_api/translate/v3/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/translate/lib/google_api/translate/v3/model/list_operations_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...
35.92
168
0.738307
180830e758ccd90a98f84be4fc99a55fa78f2a60
22,439
ex
Elixir
lib/logger/lib/logger.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
defmodule Logger do @moduledoc ~S""" A logger for Elixir applications. It includes many features: * Provides debug, info, warn and error levels. * Supports multiple backends which are automatically supervised when plugged into `Logger`. * Formats and truncates messages on the client to...
33.144756
117
0.679754
18084ddb699155032b33e52bab0cfd1ed20cd200
521
ex
Elixir
lib/fdb/option.ex
VinogradovAlexandr/fdb
312b0a173337993ce28024f338f0977ccf81ae25
[ "MIT" ]
40
2018-06-12T17:38:51.000Z
2022-03-31T05:16:14.000Z
lib/fdb/option.ex
VinogradovAlexandr/fdb
312b0a173337993ce28024f338f0977ccf81ae25
[ "MIT" ]
15
2018-06-19T00:56:37.000Z
2022-01-30T04:33:25.000Z
lib/fdb/option.ex
VinogradovAlexandr/fdb
312b0a173337993ce28024f338f0977ccf81ae25
[ "MIT" ]
6
2018-08-23T19:30:50.000Z
2021-11-06T14:44:32.000Z
defmodule FDB.Option do @moduledoc """ This module contains all the options that are accepted by various functions. These options are autogenerated from xml file. """ require FDB.OptionBuilder FDB.OptionBuilder.defoptions() FDB.OptionBuilder.defvalidators() @type key :: integer @type value :: intege...
22.652174
67
0.731286
18085f761e22b33a1b21f358260f763e8d4a5c83
9,911
ex
Elixir
lib/absinthe/type.ex
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
null
null
null
lib/absinthe/type.ex
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
null
null
null
lib/absinthe/type.ex
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
null
null
null
defmodule Absinthe.Type do @moduledoc false alias __MODULE__ alias Absinthe.Schema @type function_identifier :: {module, any} @type function_ref :: {:ref, module, function_identifier} # ALL TYPES @type_modules [ Type.Scalar, Type.Object, Type.Interface, Type.Union, Type.Enum, ...
26.219577
121
0.65059
1808646008b4cd290eee3000a92ef5cd41fea367
2,214
exs
Elixir
test/lib/code_corps/github/utils/result_aggregator_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/github/utils/result_aggregator_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/github/utils/result_aggregator_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.GitHub.Utils.ResultAggregatorTest do use CodeCorps.DbAccessCase alias CodeCorps.{ Comment, GitHub.Utils.ResultAggregator, GithubRepo, Task, } alias Ecto.Changeset describe "aggregate/1" do test "aggregates Task results correctly" do record = %Task{} good =...
39.535714
95
0.619693
18086f35b22d3cc9fa95230a98011eed1058fa83
1,343
exs
Elixir
17/part2.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
3
2016-01-18T01:14:45.000Z
2017-05-11T09:14:49.000Z
17/part2.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
17/part2.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
defmodule Container do require Bitwise def parse_inputs(inputs) do inputs |> String.split("\n", trim: true) |> Enum.with_index |> Enum.map(fn {str, index} -> {String.to_integer(str), :math.pow(2, index) |> round} end) end def calc_qty(container_specs, combi_int) do container_specs |> ...
20.348485
94
0.635145
18089a49d1b803cf07767b24176248164973c319
559
ex
Elixir
lib/events/posts/post.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events/posts/post.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events/posts/post.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
defmodule Events.Posts.Post do use Ecto.Schema import Ecto.Changeset schema "posts" do field :body, :string field :title, :string field :date, :string belongs_to :user, Events.Users.User has_many :comments, Events.Comments.Comment has_many :invitees, Events.Invitees.Invitee has_many ...
22.36
58
0.679785
1808b1a67775fcdbb5d6ef8756723e3812507346
5,575
ex
Elixir
lib/teslamate_web/live/settings_live/index.ex
ffeingol/teslamate
971e43b73ee3b9a75f4b62cb9ed1d4c01849e06a
[ "MIT" ]
null
null
null
lib/teslamate_web/live/settings_live/index.ex
ffeingol/teslamate
971e43b73ee3b9a75f4b62cb9ed1d4c01849e06a
[ "MIT" ]
null
null
null
lib/teslamate_web/live/settings_live/index.ex
ffeingol/teslamate
971e43b73ee3b9a75f4b62cb9ed1d4c01849e06a
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.SettingsLive.Index do use TeslaMateWeb, :live_view require Logger alias TeslaMate.Settings.{GlobalSettings, CarSettings} alias TeslaMate.{Settings, Updater, Api} @impl true def mount(_params, %{"settings" => settings, "cldr_locale" => locale}, socket) do if connected?(socket), ...
29.654255
98
0.593363
1808cdecaa624f83b94a4f086ce8ca35aa3a46be
1,537
ex
Elixir
clients/os_login/lib/google_api/os_login/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/os_login/lib/google_api/os_login/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/os_login/lib/google_api/os_login/v1/connection.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.595238
114
0.730644
1808e39695063debd01d539ae3ce5871652e0c3b
211
ex
Elixir
lib/at_sample_app.ex
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
3
2020-06-29T19:49:48.000Z
2020-11-26T14:37:11.000Z
lib/at_sample_app.ex
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
5
2020-06-16T20:37:47.000Z
2021-03-03T20:33:43.000Z
lib/at_sample_app.ex
beamkenya/at_sample_app
9311f0e3381a01f55afb4f2ff8aade74abf43308
[ "Apache-2.0" ]
null
null
null
defmodule AtSampleApp do @moduledoc """ Documentation for AtSampleApp. """ @doc """ Hello world. ## Examples iex> AtSampleApp.hello() :world """ def hello do :world end end
11.105263
32
0.587678
1808f1e9f50537e0817920006555e8f31127cb5e
4,688
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/page_element.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/slides/lib/google_api/slides/v1/model/page_element.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/page_element.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 ...
48.833333
155
0.688993
1808f2541e9c8a5fd028f68c43746646acbf7566
2,916
exs
Elixir
test/boreale/boreale_router_test.exs
BUBUcmoi/boreale
5bcd5ed97bc471e16d267a02c39a5cbdcfe18df9
[ "MIT" ]
50
2019-05-04T21:25:57.000Z
2022-02-25T16:40:52.000Z
test/boreale/boreale_router_test.exs
BUBUcmoi/boreale
5bcd5ed97bc471e16d267a02c39a5cbdcfe18df9
[ "MIT" ]
14
2020-02-01T00:02:29.000Z
2022-03-19T19:25:35.000Z
test/boreale/boreale_router_test.exs
BUBUcmoi/boreale
5bcd5ed97bc471e16d267a02c39a5cbdcfe18df9
[ "MIT" ]
6
2019-08-06T02:17:15.000Z
2022-03-11T14:33:49.000Z
defmodule Boreale.RouterTest do use Boreale.ConnCase describe "GET /" do setup do conn = :get |> conn("/") |> Map.put(:scheme, :https) %{conn: conn} end @public_domain "public.com" @domain_header "x-forwarded-host" test "renders login on any non-public doma...
26.509091
80
0.544582
1809029c05d8dc5d63b087ea5fc6a922cd6f7524
1,005
exs
Elixir
test/type/inspect/bitstrings_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
97
2020-09-22T01:52:19.000Z
2022-03-21T17:50:13.000Z
test/type/inspect/bitstrings_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
106
2020-09-22T18:55:28.000Z
2021-11-30T01:51:04.000Z
test/type/inspect/bitstrings_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
3
2020-10-27T22:36:56.000Z
2022-01-25T21:00:24.000Z
defmodule TypeTest.Type.Inspect.BitstringsTest do use ExUnit.Case, async: true import TypeTest.InspectCase @moduletag :inspect @source TypeTest.TypeExample.Bitstrings test "empty bitstring literal" do assert "::<<>>" == inspect_type(@source, :empty_bitstring) end test "sized bitstring literal" do ...
24.512195
79
0.675622