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
08bfca1d355b74eb840689afcdbef23a2bbda72d
629
ex
Elixir
lib/util/helpers.ex
aeturnum/twitch_discord_connector
b965ba1164540c92a925d2bd08e3fa299dfd457a
[ "MIT" ]
null
null
null
lib/util/helpers.ex
aeturnum/twitch_discord_connector
b965ba1164540c92a925d2bd08e3fa299dfd457a
[ "MIT" ]
null
null
null
lib/util/helpers.ex
aeturnum/twitch_discord_connector
b965ba1164540c92a925d2bd08e3fa299dfd457a
[ "MIT" ]
null
null
null
defmodule TwitchDiscordConnector.Util.H do @moduledoc """ Random Helpers """ # https://stackoverflow.com/questions/32001606/how-to-generate-a-random-url-safe-string-with-elixir def random_string(length) do :crypto.strong_rand_bytes(length) |> Base.url_encode64() |> binary_part(0, length) end def now...
31.45
101
0.693164
08bfd2ea4f345f6409c9a595b85ee131b8126de7
2,569
ex
Elixir
lib/amazon_product_advertising_client.ex
squaretwo/elixir-amazon-product-advertising-client
e62fc4928525c72971a5427d57896bfab530d718
[ "MIT" ]
null
null
null
lib/amazon_product_advertising_client.ex
squaretwo/elixir-amazon-product-advertising-client
e62fc4928525c72971a5427d57896bfab530d718
[ "MIT" ]
null
null
null
lib/amazon_product_advertising_client.ex
squaretwo/elixir-amazon-product-advertising-client
e62fc4928525c72971a5427d57896bfab530d718
[ "MIT" ]
null
null
null
defmodule AmazonProductAdvertisingClient do @moduledoc """ An Amazon Product Advertising API client for Elixir """ use HTTPoison.Base use Timex require Logger alias AmazonProductAdvertisingClient.Config @scheme "http" @host Application.get_env(:amazon_product_advertising_client, :marketplace_ho...
29.872093
111
0.664461
08bfe3452a84e1cfaa115dbabf2a00bfca62f1e1
1,626
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/text_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/text_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/text_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.882353
172
0.744157
08bfea0c12253918a1d71c716b227c8a02bf5cf7
2,973
exs
Elixir
mix.exs
rocketvalidator/uncharted_phoenix
6c22c5cbbe0a430262ec87256a164191ef25f263
[ "MIT" ]
2
2021-07-16T12:17:42.000Z
2021-08-15T22:17:28.000Z
mix.exs
rocketvalidator/uncharted_phoenix
6c22c5cbbe0a430262ec87256a164191ef25f263
[ "MIT" ]
null
null
null
mix.exs
rocketvalidator/uncharted_phoenix
6c22c5cbbe0a430262ec87256a164191ef25f263
[ "MIT" ]
1
2021-08-15T22:01:51.000Z
2021-08-15T22:01:51.000Z
defmodule UnchartedPhoenix.MixProject do use Mix.Project @github_organization "unchartedelixir" @app :uncharted_phoenix @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ ...
25.410256
84
0.590313
08c0350489546ee0aac1a89bfd70be099da2d5f3
1,727
ex
Elixir
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/test_iam_permissions_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/test_iam_permissions_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/test_iam_permissions_request.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...
36.744681
288
0.751013
08c03e6eb075ebdc0c367f4379007ebcdfe0ee08
566
exs
Elixir
elixir/day1/mix.exs
marclefrancois/advent-of-code-2018
75c2a088af3a6bac3fd8f86f2cb5fa21164f6ba5
[ "MIT" ]
null
null
null
elixir/day1/mix.exs
marclefrancois/advent-of-code-2018
75c2a088af3a6bac3fd8f86f2cb5fa21164f6ba5
[ "MIT" ]
null
null
null
elixir/day1/mix.exs
marclefrancois/advent-of-code-2018
75c2a088af3a6bac3fd8f86f2cb5fa21164f6ba5
[ "MIT" ]
null
null
null
defmodule Day1.MixProject do use Mix.Project def project do [ app: :day1, 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_applicati...
19.517241
88
0.570671
08c07ddacb83ae003d92156d3578ea4496c2273a
1,031
exs
Elixir
test/nerves/env_test.exs
tverlaan/nerves
515b9b7730a1b2934ac051b0e7075cd7987b6c4a
[ "Apache-2.0" ]
1
2019-06-12T17:34:10.000Z
2019-06-12T17:34:10.000Z
test/nerves/env_test.exs
opencollective/nerves
81f5d30de283e77f3720a87fa1435619f0da12de
[ "Apache-2.0" ]
null
null
null
test/nerves/env_test.exs
opencollective/nerves
81f5d30de283e77f3720a87fa1435619f0da12de
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.EnvTest do use NervesTest.Case, async: false alias Nerves.Env test "populate Nerves env" do in_fixture "simple_app", fn -> packages = ~w(system toolchain system_platform toolchain_platform) |> Enum.sort env_pkgs = packages |> load_env |> E...
27.131579
70
0.642095
08c0845548adb51c4658277a78a184f9fce4396a
248
exs
Elixir
year_2021/test/day_12_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2021/test/day_12_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2021/test/day_12_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day12Test do use ExUnit.Case, async: true test "it counts paths for part one" do assert Day12.part_one(InputTestFile) == 10 end test "it counts paths for part two" do assert Day12.part_two(InputTestFile) == 36 end end
20.666667
46
0.71371
08c0abf32221d498510555079e0de4d6dae13aca
4,075
ex
Elixir
lib/chat_api/slack_conversation_threads.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
lib/chat_api/slack_conversation_threads.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
lib/chat_api/slack_conversation_threads.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
defmodule ChatApi.SlackConversationThreads do @moduledoc """ The SlackConversationThreads context. """ import Ecto.Query, warn: false alias ChatApi.Repo alias ChatApi.SlackConversationThreads.SlackConversationThread @spec list_slack_conversation_threads() :: [SlackConversationThread.t()] @doc """ R...
29.744526
97
0.723436
08c0af029b614edbd0087a711d59bdbb71b81306
5,081
exs
Elixir
test/absinthe/phase/execution/non_null_test.exs
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
test/absinthe/phase/execution/non_null_test.exs
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
null
null
null
test/absinthe/phase/execution/non_null_test.exs
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Document.Execution.NonNullTest do use Absinthe.Case, async: true defmodule Schema do use Absinthe.Schema defp thing_resolver(_, %{make_null: make_null}, _) do if make_null do {:ok, nil} else {:ok, %{}} end end defp thing_resolver(_, _, _)...
24.311005
102
0.554222
08c0b73048b5027a78c2da6bc0fc1d5d985c2a51
2,132
ex
Elixir
lib/k8s/discovery.ex
rbino/k8s
fc18899344f3d153815bd59c423568d747a33ba5
[ "MIT" ]
null
null
null
lib/k8s/discovery.ex
rbino/k8s
fc18899344f3d153815bd59c423568d747a33ba5
[ "MIT" ]
null
null
null
lib/k8s/discovery.ex
rbino/k8s
fc18899344f3d153815bd59c423568d747a33ba5
[ "MIT" ]
null
null
null
defmodule K8s.Discovery do @moduledoc "Kubernetes API Discovery" alias K8s.{Conn, Operation} @doc """ Discovery the URL for a `K8s.Conn` and `K8s.Operation` ## Examples iex> conn = K8s.Conn.from_file("./test/support/kube-config.yaml") ...> op = K8s.Operation.build(:get, "apps/v1", :deployments,...
30.028169
113
0.635084
08c0ba985e05b4ebd363ed2a6c782bc53b1cfa87
418
ex
Elixir
lib/re_web/views/image_view.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
1
2020-01-23T04:24:58.000Z
2020-01-23T04:24:58.000Z
lib/re_web/views/image_view.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
null
null
null
lib/re_web/views/image_view.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
1
2019-12-31T16:11:21.000Z
2019-12-31T16:11:21.000Z
defmodule ReWeb.ImageView do use ReWeb, :view def render("index.json", %{images: images}) do %{images: render_many(images, ReWeb.ImageView, "image.json")} end def render("create.json", %{image: image}) do %{image: render_one(image, ReWeb.ImageView, "image.json")} end def render("image.json", %{im...
26.125
71
0.674641
08c0de6cbe899669aa2a559205656ab3f15d6097
3,116
exs
Elixir
priv/repo/seeds.exs
karabiner-inc/materia_chat
6670c97e2bd6e677b4ac1234f2c9f10a7f0020b2
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
karabiner-inc/materia_chat
6670c97e2bd6e677b4ac1234f2c9f10a7f0020b2
[ "Apache-2.0" ]
4
2019-04-01T01:35:25.000Z
2019-06-06T05:36:31.000Z
priv/repo/seeds.exs
karabiner-inc/materia_chat
6670c97e2bd6e677b4ac1234f2c9f10a7f0020b2
[ "Apache-2.0" ]
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: # # Materia.Repo.insert!(%Materia.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will...
40.467532
268
0.715019
08c0f3371c73602d227235aa7c3a9f594f1bc5b2
3,216
ex
Elixir
clients/eventarc/lib/google_api/eventarc/v1beta1/model/expr.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/eventarc/lib/google_api/eventarc/v1beta1/model/expr.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/eventarc/lib/google_api/eventarc/v1beta1/model/expr.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
57.428571
1,092
0.736007
08c0fee81ef845487024fb4ad7e3261787f08dec
4,948
ex
Elixir
lib/automata/core/automaton_server.ex
pcmarks/automata
2872c4ded9200e7cbf78a360517511be1375fb0b
[ "Apache-2.0" ]
null
null
null
lib/automata/core/automaton_server.ex
pcmarks/automata
2872c4ded9200e7cbf78a360517511be1375fb0b
[ "Apache-2.0" ]
null
null
null
lib/automata/core/automaton_server.ex
pcmarks/automata
2872c4ded9200e7cbf78a360517511be1375fb0b
[ "Apache-2.0" ]
null
null
null
defmodule Automata.AutomatonServer do use GenServer defmodule State do defstruct automaton_sup: nil, node_sup: nil, monitors: nil, automaton: nil, name: nil, mfa: nil end def start_link([automaton_sup, node_config]) do GenServer.sta...
24.616915
98
0.589127
08c0ff6f1da8014b009d3d302a2ffe753ba39073
949
exs
Elixir
mix.exs
danielgrieve/ecto_gss
4c5c82c5252fbd01be287b4e80ab7f86057ce9aa
[ "MIT" ]
null
null
null
mix.exs
danielgrieve/ecto_gss
4c5c82c5252fbd01be287b4e80ab7f86057ce9aa
[ "MIT" ]
null
null
null
mix.exs
danielgrieve/ecto_gss
4c5c82c5252fbd01be287b4e80ab7f86057ce9aa
[ "MIT" ]
null
null
null
defmodule EctoGss.Mixfile do use Mix.Project def project do [ app: :ecto_gss, version: "0.2.1", elixir: "~> 1.6", description: "Use Google Spreadsheets as storage for Ecto objects.", docs: [extras: ["README.md"]], build_embedded: Mix.env() == :prod, start_permanent: Mi...
20.630435
74
0.531085
08c100a8d9f638ca148926bd30dde1b208bcb060
392
ex
Elixir
lib/mix/tasks/tix.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
1
2021-08-16T18:52:45.000Z
2021-08-16T18:52:45.000Z
lib/mix/tasks/tix.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
16
2021-03-09T19:39:31.000Z
2022-03-15T15:20:24.000Z
lib/mix/tasks/tix.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Tix do use Mix.Task @moduledoc """ Tix is a TDD tool that runs tests in an iex shell upon save of a file. This tool should be run in the root of the project directory with the following command: iex -S mix tix """ def run(_argv) do Mix.Task.run("app.start", []) # Tix...
20.631579
62
0.668367
08c11032b2df2c9150da9f8dcc82a0469f142ff9
356
ex
Elixir
lib/plumbapius/conn_helper.ex
Amuhar/plumbapius
a9066512f520f2ad97e677b04d70cc62695f2def
[ "Apache-2.0" ]
10
2020-08-25T07:52:23.000Z
2020-12-06T12:44:44.000Z
lib/plumbapius/conn_helper.ex
Amuhar/plumbapius
a9066512f520f2ad97e677b04d70cc62695f2def
[ "Apache-2.0" ]
3
2020-10-13T11:49:32.000Z
2021-05-28T08:34:41.000Z
lib/plumbapius/conn_helper.ex
Amuhar/plumbapius
a9066512f520f2ad97e677b04d70cc62695f2def
[ "Apache-2.0" ]
2
2020-09-03T14:29:00.000Z
2021-05-26T11:07:37.000Z
defmodule Plumbapius.ConnHelper do alias Plug.Conn @spec get_req_header(Conn.t(), String.t()) :: binary | nil def get_req_header(conn, name), do: conn |> Conn.get_req_header(name) |> Enum.at(0) @spec get_resp_header(Conn.t(), String.t()) :: binary | nil def get_resp_header(conn, name), do: conn |> Conn.get_...
35.6
87
0.696629
08c12aaecc8d66d6a0e10fabf7192df0d4a12b0b
2,131
ex
Elixir
lib/worker_tracker/process_helper.ex
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
1
2020-02-06T17:15:44.000Z
2020-02-06T17:15:44.000Z
lib/worker_tracker/process_helper.ex
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
null
null
null
lib/worker_tracker/process_helper.ex
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
1
2021-04-01T13:29:18.000Z
2021-04-01T13:29:18.000Z
defmodule WorkerTracker.ProcessHelper do @moduledoc """ A module to help with processing process strings """ @doc ~S""" This function populates the given `accumulator` with the contents of the `process_string` based on the provided callback `function`. ## Example iex> "1 2 3" |> WorkerTracker.Proce...
30.014085
134
0.652745
08c135ee611d340581ffa5759f0677fc5c8600d2
84
exs
Elixir
test/matchers/text_test.exs
adriankumpf/infer
a8a59683d6d8abe4be1addaa1067046509e23655
[ "MIT" ]
4
2022-01-12T10:53:47.000Z
2022-03-15T13:55:38.000Z
test/matchers/text_test.exs
adriankumpf/infer
a8a59683d6d8abe4be1addaa1067046509e23655
[ "MIT" ]
4
2022-01-09T13:30:27.000Z
2022-03-11T15:22:16.000Z
test/matchers/text_test.exs
adriankumpf/infer
a8a59683d6d8abe4be1addaa1067046509e23655
[ "MIT" ]
3
2022-01-09T13:16:12.000Z
2022-03-10T11:43:10.000Z
defmodule Infer.TextTest do use ExUnit.Case, async: true doctest Infer.Text end
16.8
30
0.77381
08c14fa4c72404fc394d3b62021c11a36bfbab1b
1,713
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/delete_header_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/delete_header_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/docs/lib/google_api/docs/v1/model/delete_header_request.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...
36.446809
406
0.747227
08c153d1f3bf913a53a9a025da4f75f66979c774
18,075
ex
Elixir
lib/ecto/migration.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
lib/ecto/migration.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
lib/ecto/migration.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Migration do @moduledoc """ Migrations are used to modify your database schema over time. This module provides many helpers for migrating the database, allowing developers to use Elixir to alter their storage in a way that is database independent. Here is an example: defmodule MyRepo...
27.303625
118
0.654772
08c17674a04ec49fb0d85de6f5cf3516f420be75
715
exs
Elixir
test/models/option_value_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/models/option_value_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/models/option_value_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.OptionValueTest do use Nectar.ModelCase alias Nectar.TestSetup alias Nectar.OptionValue describe "fields" do has_fields OptionValue, ~w(id name presentation position option_type_id)a ++ timestamps end describe "associations" do has_associations OptionValue, ~w(option_type)a end ...
26.481481
92
0.74965
08c1ea41b9262def14e154a8a3fd1807708bbc55
2,094
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_intent_message_basic_card_button.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_intent_message_basic_card_button.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_intent_message_basic_card_button.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...
34.327869
207
0.748329
08c223abb91731b75dd76fa421951273d8659256
1,508
ex
Elixir
lib/surgex/refactor/refactor.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
10
2017-09-15T08:55:48.000Z
2021-07-08T09:26:24.000Z
lib/surgex/refactor/refactor.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
17
2017-07-24T11:27:22.000Z
2022-01-24T22:28:18.000Z
lib/surgex/refactor/refactor.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
2
2018-04-12T15:01:00.000Z
2018-05-27T12:14:34.000Z
defmodule Surgex.Refactor do @moduledoc """ Tools for making code maintenance and refactors easier. """ def call(args) do args |> parse_args |> call_task end defp parse_args(args) do parse_result = OptionParser.parse( args, switches: [fix: :boolean] ) {opts...
20.657534
88
0.574934
08c27a4181fafe962d17455de7dd2fe81d52ae6e
2,199
ex
Elixir
lib/enum_extras.ex
codemonium/enum_extras
17e9c7555980290b35f6ab230aa060889a269feb
[ "MIT" ]
null
null
null
lib/enum_extras.ex
codemonium/enum_extras
17e9c7555980290b35f6ab230aa060889a269feb
[ "MIT" ]
1
2021-08-03T21:54:50.000Z
2021-08-03T21:54:50.000Z
lib/enum_extras.ex
codemonium/enum_extras
17e9c7555980290b35f6ab230aa060889a269feb
[ "MIT" ]
null
null
null
defmodule EnumExtras do @moduledoc """ Provides additional utility functions for working with enumerables. """ @type t :: Enumerable.t() @type element :: any @doc """ Calculates the average of the elements in the `enumerable`. It should return `nil` if the `enumerable` is empty. """ @spec averag...
28.558442
96
0.617099
08c27f3ac4fdff93827f83fa701b2790a1f749a2
709
ex
Elixir
lib/exfwghtblog/application.ex
Chlorophytus/exfwghtblog
4508cf1368bfe8ea809acbef3f0abb31702169d5
[ "MIT" ]
null
null
null
lib/exfwghtblog/application.ex
Chlorophytus/exfwghtblog
4508cf1368bfe8ea809acbef3f0abb31702169d5
[ "MIT" ]
null
null
null
lib/exfwghtblog/application.ex
Chlorophytus/exfwghtblog
4508cf1368bfe8ea809acbef3f0abb31702169d5
[ "MIT" ]
null
null
null
defmodule Exfwghtblog.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Starts a worker by calling: Exfwghtblog.Worker.start_link(arg) # {Exfwghtbl...
29.541667
99
0.706629
08c2f1325fb031119a23b8517f73a6d61543d076
272
exs
Elixir
sous_chef/test/sous_chef_web/views/layout_view_test.exs
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/test/sous_chef_web/views/layout_view_test.exs
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/test/sous_chef_web/views/layout_view_test.exs
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
defmodule SousChefWeb.LayoutViewTest do use SousChefWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.222222
65
0.768382
08c2fdd29cef67e99f35fc34d9b1dcd96b5854e9
3,958
ex
Elixir
lib/cforum_web/controllers/messages/interesting_controller.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/controllers/messages/interesting_controller.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/controllers/messages/interesting_controller.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.Messages.InterestingController do use CforumWeb, :controller alias Cforum.Threads alias Cforum.Threads.Thread alias Cforum.Threads.ThreadHelpers alias Cforum.Messages alias Cforum.InterestingMessages alias Cforum.Search alias Cforum.Search.Finder alias Cforum.Abilities alias ...
36.990654
115
0.724356
08c31c89d174be1989ff0edd666caffdd65bf555
1,457
ex
Elixir
backend/lib/edgehog/assets/uploaders/system_model_picture.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog/assets/uploaders/system_model_picture.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog/assets/uploaders/system_model_picture.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
# # This file is part of Edgehog. # # Copyright 2021 SECO Mind Srl # # 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 app...
28.019231
92
0.73164
08c332dc1e59a4349c07e91fd684a81a4e389805
5,177
ex
Elixir
lib/waffle/definition/storage.ex
tsufurukawa/waffle
f0ba0509fbb4bf05f4bcbfe75c82aff1ee17e714
[ "Apache-2.0" ]
null
null
null
lib/waffle/definition/storage.ex
tsufurukawa/waffle
f0ba0509fbb4bf05f4bcbfe75c82aff1ee17e714
[ "Apache-2.0" ]
1
2022-01-22T22:14:56.000Z
2022-01-22T22:14:56.000Z
lib/waffle/definition/storage.ex
ringofhealth/waffle
b797eabd3b16628370659c805aea067b2da204d5
[ "Apache-2.0" ]
2
2021-01-12T23:24:19.000Z
2021-01-13T03:41:24.000Z
defmodule Waffle.Definition.Storage do @moduledoc ~S""" Uploader configuration. Add `use Waffle.Definition` inside your module to use it as uploader. ## Storage directory By default, the storage directory is `uploads`. But, it can be customized in two ways. ### By setting up configuration Customize...
36.202797
422
0.688043
08c33684c6b0b11a4ae053283b6b942bd163036b
1,860
ex
Elixir
lib/todo_app/handlers/base_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
134
2017-03-28T14:47:37.000Z
2021-11-25T10:40:15.000Z
lib/todo_app/handlers/base_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
5
2017-03-30T05:56:55.000Z
2018-01-17T09:22:51.000Z
lib/todo_app/handlers/base_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
14
2017-03-28T17:04:31.000Z
2021-08-07T07:09:21.000Z
defmodule TodoApp.BaseHandler do defmacro __using__(_opts) do quote do alias TodoApp.Repo import Ecto import Ecto.Query import TodoApp.Handler.Helpers # Default REST Callbacks def init(req, state) do {:cowboy_rest, req, state} end def content_types_provid...
25.479452
81
0.600538
08c34aab5fb01ccff2042e5b392abb3d93de9ddc
3,203
ex
Elixir
lib/mix/lib/mix/generator.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/mix/lib/mix/generator.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/generator.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Generator do @moduledoc """ Conveniences for working with paths and generating content. All of these functions are verbose, in the sense they log the action to be performed via `Mix.shell/0`. """ @doc """ Creates a file with the given contents. If the file already exists, asks for user c...
26.04065
81
0.637527
08c38307bd735942a393ca071e10ff3b5109149e
1,808
ex
Elixir
lib/pixel_font/table_source/otf_layout/chained_sequence_context_3.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
17
2020-09-14T15:25:38.000Z
2022-03-05T17:14:24.000Z
lib/pixel_font/table_source/otf_layout/chained_sequence_context_3.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
1
2021-08-19T05:05:37.000Z
2021-08-19T05:05:37.000Z
lib/pixel_font/table_source/otf_layout/chained_sequence_context_3.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
null
null
null
defmodule PixelFont.TableSource.OTFLayout.ChainedSequenceContext3 do alias PixelFont.TableSource.OTFLayout.GlyphCoverage alias PixelFont.TableSource.OTFLayout.Lookup defstruct backtrack: [], input: [], lookahead: [], lookup_records: [] @type t :: %__MODULE__{ backtrack: [GlyphCoverage.t()], ...
33.481481
89
0.700221
08c38317443d5b64852b077483543620255833b3
161
ex
Elixir
lib/mix/tasks/jorel.relup.ex
G-Corp/jorel_mix
d3bea2e19a5b725bbc90532d74613e0fd5441461
[ "Unlicense" ]
null
null
null
lib/mix/tasks/jorel.relup.ex
G-Corp/jorel_mix
d3bea2e19a5b725bbc90532d74613e0fd5441461
[ "Unlicense" ]
1
2019-02-13T14:28:48.000Z
2019-02-13T17:02:49.000Z
lib/mix/tasks/jorel.relup.ex
G-Corp/jorel_mix
d3bea2e19a5b725bbc90532d74613e0fd5441461
[ "Unlicense" ]
null
null
null
defmodule Mix.Tasks.Jorel.Relup do use Mix.Task @shortdoc "Create relup of release" def run(argv) do JorelMix.Utils.jorel(argv, ["relup"]) end end
16.1
41
0.695652
08c396732863585c711bec2aec6d6a380c6c2a44
840
ex
Elixir
lib/plausible/billing/enterprise_plan_admin.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
lib/plausible/billing/enterprise_plan_admin.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
lib/plausible/billing/enterprise_plan_admin.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule Plausible.Billing.EnterprisePlanAdmin do use Plausible.Repo def search_fields(_schema) do [ :paddle_plan_id, user: [:name, :email] ] end def form_fields(_) do [ user_id: nil, paddle_plan_id: nil, billing_interval: %{choices: [{"Yearly", "yearly"}, {"Monthly"...
21
83
0.635714
08c3f221b9a5202a10bc2d7f83052befbcf48f9a
5,665
exs
Elixir
mix.exs
data-twister/phoenix
9c5de65b0ddf1e218084608a87ee233f3fda5bd8
[ "MIT" ]
7
2021-01-31T04:51:08.000Z
2022-01-09T06:59:28.000Z
mix.exs
data-twister/phoenix
9c5de65b0ddf1e218084608a87ee233f3fda5bd8
[ "MIT" ]
null
null
null
mix.exs
data-twister/phoenix
9c5de65b0ddf1e218084608a87ee233f3fda5bd8
[ "MIT" ]
2
2021-02-06T08:40:23.000Z
2021-03-20T16:35:47.000Z
defmodule Phoenix.MixProject do use Mix.Project @version "1.6.0-dev" # If the elixir requirement is updated, we need to make the installer # use at least the minimum requirement used here. Although often the # installer is ahead of Phoenix itself. @elixir_requirement "~> 1.9" def project do [ ...
27.36715
100
0.589938
08c3f47055053b5256771965103729f394956caf
2,588
ex
Elixir
lib/utils/http.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
5
2020-12-10T07:24:18.000Z
2021-12-15T08:26:05.000Z
lib/utils/http.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
null
null
null
lib/utils/http.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
2
2020-12-12T17:06:13.000Z
2021-04-09T02:12:31.000Z
defmodule Http do @moduledoc """ the encapsulation of http """ require Logger @retries 5 @doc """ +----------------------+ | json_rpc_constructer | +----------------------+ """ def json_rpc(method, id) when is_integer(id) do %{method: method, jsonrpc: "2.0", id: id} end de...
21.38843
88
0.560665
08c3fe46c3d26f890ed7edfec5abf6354cfe8edd
4,272
ex
Elixir
lib/stripe/subscriptions/subscription_item.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
555
2016-11-29T05:02:27.000Z
2022-03-30T00:47:59.000Z
lib/stripe/subscriptions/subscription_item.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
532
2016-11-28T18:22:25.000Z
2022-03-30T17:04:32.000Z
lib/stripe/subscriptions/subscription_item.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
296
2016-12-05T14:04:09.000Z
2022-03-28T20:39:37.000Z
defmodule Stripe.SubscriptionItem do @moduledoc """ Work with Stripe subscription item objects. Stripe API reference: https://stripe.com/docs/api#subscription_items """ use Stripe.Entity import Stripe.Request @type t :: %__MODULE__{ id: Stripe.id(), object: String.t(), bil...
31.182482
98
0.560627
08c42311283e693a10b905afb23fef567918ce01
444
exs
Elixir
apps/customer/priv/repo/migrations/20161128040455_create_job_tech_keyword.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
102
2017-05-21T18:24:04.000Z
2022-03-10T12:53:20.000Z
apps/customer/priv/repo/migrations/20161128040455_create_job_tech_keyword.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
2
2017-05-21T01:53:30.000Z
2017-12-01T00:27:06.000Z
apps/customer/priv/repo/migrations/20161128040455_create_job_tech_keyword.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
18
2017-05-22T09:51:36.000Z
2021-09-24T00:57:01.000Z
defmodule Customer.Repo.Migrations.CreateJobTechKeyword do use Ecto.Migration def change do create table(:job_tech_keywords) do add :tech_keyword_id, references(:tech_keywords, on_delete: :delete_all) add :job_id, references(:jobs, on_delete: :delete_all) timestamps() end create uniq...
29.6
127
0.759009
08c455af6a0c6e1c6ea469636bb7667a6673dad7
990
ex
Elixir
lib/nookal/practitioner.ex
theo-agilelab/nookal-elixir
09db7cc48c48ed1e714fb74c5c38c9a21e7e189a
[ "MIT" ]
1
2020-06-11T07:57:06.000Z
2020-06-11T07:57:06.000Z
lib/nookal/practitioner.ex
theo-agilelab/nookal-elixir
09db7cc48c48ed1e714fb74c5c38c9a21e7e189a
[ "MIT" ]
null
null
null
lib/nookal/practitioner.ex
theo-agilelab/nookal-elixir
09db7cc48c48ed1e714fb74c5c38c9a21e7e189a
[ "MIT" ]
1
2019-09-05T08:30:48.000Z
2019-09-05T08:30:48.000Z
defmodule Nookal.Practitioner do import Nookal.Utils @type t() :: %__MODULE__{ id: integer(), first_name: String.t(), last_name: String.t(), speciality: String.t(), title: String.t(), email: String.t(), location_ids: list(integer()) } ...
27.5
90
0.594949
08c4b454fcead307841942ae610c8d4e790ca7cb
2,350
ex
Elixir
lib/sacastats_web.ex
Bentheburrito/sacastats
4ffcc165b67f03830f4fbf3516ab7ca7a90b0950
[ "MIT" ]
null
null
null
lib/sacastats_web.ex
Bentheburrito/sacastats
4ffcc165b67f03830f4fbf3516ab7ca7a90b0950
[ "MIT" ]
38
2021-07-09T06:13:30.000Z
2022-03-30T20:22:43.000Z
lib/sacastats_web.ex
Bentheburrito/sacastats
4ffcc165b67f03830f4fbf3516ab7ca7a90b0950
[ "MIT" ]
null
null
null
defmodule SacaStatsWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use SacaStatsWeb, :controller use SacaStatsWeb, :view The definitions below will be executed for every view, contro...
22.815534
81
0.683404
08c4b6a186ed74ee0b19d90a55c0564f3afe0496
71
ex
Elixir
lib/sanbase_web/views/sheets_template_view.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/views/sheets_template_view.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/views/sheets_template_view.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.SheetsTemplateView do use SanbaseWeb, :view end
17.75
42
0.830986
08c4d9cbcd5059def1d5251b614dbd66dd2f14c9
12,881
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/node_types.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/api/node_types.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/node_types.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 ...
57.248889
414
0.675258
08c4de22aed28a227aed51a1038a9fb1554b13da
884
ex
Elixir
clients/workflows/lib/google_api/workflows/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/workflows/lib/google_api/workflows/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/workflows/lib/google_api/workflows/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.740741
74
0.75905
08c4e3d18d758c8346c4e6d98a74108d59dd3611
8,138
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/projects.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/projects.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/projects.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
55.360544
1,762
0.707668
08c4fc49711dd7a6631016b6a467c975dc2a9cb6
6,014
exs
Elixir
.credo.exs
markevich/co2_offset
98a799d3f30d21b595c9e083d9ee43bb96a4c68c
[ "Apache-2.0" ]
15
2018-12-26T10:31:16.000Z
2020-12-01T09:27:01.000Z
.credo.exs
markevich/co2_offset
98a799d3f30d21b595c9e083d9ee43bb96a4c68c
[ "Apache-2.0" ]
267
2018-12-26T07:46:17.000Z
2020-04-04T17:05:47.000Z
.credo.exs
markevich/co2_offset
98a799d3f30d21b595c9e083d9ee43bb96a4c68c
[ "Apache-2.0" ]
1
2019-07-12T13:53:25.000Z
2019-07-12T13:53:25.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
38.8
93
0.616395
08c4ffd7e8e9e2610e9829ada60e71645828de22
4,396
ex
Elixir
clients/dns/lib/google_api/dns/v1/api/resource_record_sets.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/api/resource_record_sets.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/api/resource_record_sets.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...
43.524752
187
0.654459
08c505926dead8eb736ba4de0879e79f761dd696
204
ex
Elixir
lib/phone/za.ex
yuriy-pavlov-castle-co/phone
c488b8f73a55cadbd15cdd77998af4ac2721fcfc
[ "Apache-2.0" ]
null
null
null
lib/phone/za.ex
yuriy-pavlov-castle-co/phone
c488b8f73a55cadbd15cdd77998af4ac2721fcfc
[ "Apache-2.0" ]
null
null
null
lib/phone/za.ex
yuriy-pavlov-castle-co/phone
c488b8f73a55cadbd15cdd77998af4ac2721fcfc
[ "Apache-2.0" ]
1
2019-05-30T15:05:51.000Z
2019-05-30T15:05:51.000Z
defmodule Phone.ZA do @moduledoc false use Helper.Country def regex, do: ~r/^(27)()(.{10})/ def country, do: "South Africa" def a2, do: "ZA" def a3, do: "ZAF" matcher(:regex, ["27"]) end
15.692308
35
0.598039
08c5263012f65f6432603b887228dbd3f8bccd0d
2,093
exs
Elixir
test/grizzly_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.Test do use ExUnit.Case alias Grizzly.Conn alias Grizzly.CommandClass.SwitchBinary.Set, as: SwitchBinarySet alias Grizzly.CommandClass.SwitchBinary.Get, as: SwitchBinaryGet alias Grizzly.CommandClass.NetworkManagementProxy.NodeListGet alias Grizzly.CommandClass.Battery.Get, as: BatteryGet...
37.375
96
0.705208
08c53fd4f8c68d733b2ac0ad2d5ba0bc6be86441
872
ex
Elixir
clients/run/lib/google_api/run/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.296296
74
0.755734
08c55beda683e9d946e0b5cf48267a5e34d901f4
660
ex
Elixir
lib/ready/redis.ex
ckampfe/ready
33cb1b5f48da1a7950263160588cdecdfc664c91
[ "MIT" ]
null
null
null
lib/ready/redis.ex
ckampfe/ready
33cb1b5f48da1a7950263160588cdecdfc664c91
[ "MIT" ]
null
null
null
lib/ready/redis.ex
ckampfe/ready
33cb1b5f48da1a7950263160588cdecdfc664c91
[ "MIT" ]
null
null
null
defmodule Ready.Redis do alias Ready.EtsStore require Logger @crlf "\r\n" @ok "+OK" <> @crlf @null "$-1" <> @crlf def op(["SET", key, value]) do try do EtsStore.set(key, value) @ok rescue e -> Logger.error(e) @null end end def op(["GET", key]) do case...
15.348837
55
0.501515
08c56f646b227b94b95edd66b03a0fd8000d72e3
830
exs
Elixir
exercises/list-ops/list_ops.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
null
null
null
exercises/list-ops/list_ops.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
null
null
null
exercises/list-ops/list_ops.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
1
2018-07-19T23:43:56.000Z
2018-07-19T23:43:56.000Z
defmodule ListOps do # Please don't use any external modules (especially List) in your # implementation. The point of this exercise is to create these basic functions # yourself. # # Note that `++` is a function from an external module (Kernel, which is # automatically imported) and so shouldn't be used eit...
21.842105
81
0.642169
08c57851fecfbc9ec0a756fa20a1acc7653eb32f
1,141
exs
Elixir
sequence_supervisor/config/config.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
sequence_supervisor/config/config.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
sequence_supervisor/config/config.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "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.806452
73
0.756354
08c57ab6ae63279a42f3530675ce1a13fa46c2b9
198
exs
Elixir
priv/repo/migrations/20180725182954_add_newlines_to_filter_name_enum.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
31
2018-12-06T23:12:33.000Z
2022-03-29T18:34:25.000Z
priv/repo/migrations/20180725182954_add_newlines_to_filter_name_enum.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
18
2021-06-14T19:03:26.000Z
2022-03-15T17:46:22.000Z
priv/repo/migrations/20180725182954_add_newlines_to_filter_name_enum.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
4
2018-11-07T18:52:28.000Z
2022-03-16T00:14:38.000Z
defmodule Bolt.Repo.Migrations.AddNewlinesToFilterNameEnum do use Ecto.Migration @disable_ddl_transaction true def up do execute("ALTER TYPE filter_name ADD VALUE 'NEWLINES';") end end
22
61
0.782828
08c5cf6e565f6e6982763967b89a2d14e09548be
598
ex
Elixir
lib/cog/models/types/process_id.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/models/types/process_id.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/models/types/process_id.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Models.Types.ProcessId do @behaviour Ecto.Type def type, do: :string def cast(value) when is_pid(value) do try do {:ok, pid_to_string(value)} rescue _e in ErlangError -> :error end end def cast(_), do: :error def load(value) when is_binary(value), do: {:ok, ...
19.290323
72
0.660535
08c5d5b7facb099d9cd2879f28d0910b18acd954
1,800
ex
Elixir
apps/xomg_tasks/lib/utils.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/xomg_tasks/lib/utils.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/xomg_tasks/lib/utils.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
26.086957
75
0.692778
08c6015894f1d724a1c79b7a2839fc37ffb5f57b
1,699
ex
Elixir
lib/mix/lib/mix/public_key.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/mix/lib/mix/public_key.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/public_key.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule Mix.PublicKey do @moduledoc false @in_memory_key """ -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAslPz1mAfyAvRv8W8xOdv HQMbDJkDKfRhsL4JBGwGH7qw0xh+TbaUlNaM3pF+i8VUjS/4FeXjT/OAUEAHu5Y2 rBVlx00QcH8Dpbyf+H73XiCs0MXnTSecqDgzx6i6NMi8knklHT7yHySHtuuPmPuN Po8QTKolCKftwPE/iNDe...
28.316667
82
0.691583
08c62d11abb155e29e348f17f8ecc108d3c8913c
281
exs
Elixir
daniel/prog_elix/ch24/caesar.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
daniel/prog_elix/ch24/caesar.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
1
2020-02-26T14:55:23.000Z
2020-02-26T14:55:23.000Z
daniel/prog_elix/ch24/caesar.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
defprotocol Caesar do @fallback_to_any true def encrypt(string, shift) end defimpl Caesar, for: BitString do def encrypt(string, shift), do: true end defimpl Caesar, for: Any do def is_caesar?(_), do: false end my_string = "abcd" IO.inspect Caesar.encrypt(my_string, 1)
17.5625
39
0.740214
08c63d96f733335c2dc6845b49df116bfbb48f75
1,002
ex
Elixir
lib/market/endpoint.ex
ajrob27/steam_community_market_clone
b1bad54d92e69aa8b99df529620ab7856e4787ab
[ "OML" ]
1
2019-11-09T16:30:56.000Z
2019-11-09T16:30:56.000Z
lib/market/endpoint.ex
codeithuman/steam_community_market_clone
b1bad54d92e69aa8b99df529620ab7856e4787ab
[ "OML" ]
null
null
null
lib/market/endpoint.ex
codeithuman/steam_community_market_clone
b1bad54d92e69aa8b99df529620ab7856e4787ab
[ "OML" ]
null
null
null
defmodule Market.Endpoint do use Phoenix.Endpoint, otp_app: :market socket "/socket", Market.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, ...
25.05
69
0.707585
08c6521fd24a6c2a4da32e67b60080c839ca24b5
1,911
exs
Elixir
test/rules_test.exs
Fudoshiki/plug_attack
b3af6c1cd477872c5886d97c699a37fb7e638c63
[ "Apache-2.0" ]
323
2016-11-13T01:06:52.000Z
2022-03-11T13:04:11.000Z
test/rules_test.exs
Fudoshiki/plug_attack
b3af6c1cd477872c5886d97c699a37fb7e638c63
[ "Apache-2.0" ]
21
2016-11-16T22:12:13.000Z
2021-11-26T11:14:53.000Z
test/rules_test.exs
michalmuskala/plug_attack
b3af6c1cd477872c5886d97c699a37fb7e638c63
[ "Apache-2.0" ]
22
2016-11-13T15:34:41.000Z
2022-03-29T10:14:17.000Z
defmodule PlugAttack.RuleTest do use ExUnit.Case, async: true setup do {:ok, _} = PlugAttack.Storage.Ets.start_link(__MODULE__) :ok end test "fail2ban" do assert {:allow, {:fail2ban, :counting, :key}} = fail2ban() :timer.sleep(1) assert {:allow, {:fail2ban, :counting, :key}} = fail2ban() ...
26.915493
68
0.604919
08c6530c11c2e4f9419e5a2c86925115ee683720
12,027
ex
Elixir
lib/google_api/storage/v1/api/notifications.ex
jamesvl/gcs_elixir_api
fd7e0f4a7e2e07f40e01822b4c9e09cfd4922d52
[ "Apache-2.0" ]
null
null
null
lib/google_api/storage/v1/api/notifications.ex
jamesvl/gcs_elixir_api
fd7e0f4a7e2e07f40e01822b4c9e09cfd4922d52
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
lib/google_api/storage/v1/api/notifications.ex
jamesvl/gcs_elixir_api
fd7e0f4a7e2e07f40e01822b4c9e09cfd4922d52
[ "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...
43.734545
187
0.630082
08c655ebc0c1d8b153c2e6305ade4107fc638cbf
63
ex
Elixir
lib/hexpm_web/views/opensearch_view.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm_web/views/opensearch_view.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm_web/views/opensearch_view.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule HexpmWeb.OpenSearchView do use HexpmWeb, :view end
15.75
36
0.809524
08c6955698c8f59a5fd1ab7fd6eabac96456ca6d
537
exs
Elixir
config/test.exs
cebartling/horse-racing-demo
7a50f2de35d275ed0dec2326fbba89f9ab3ee113
[ "MIT" ]
null
null
null
config/test.exs
cebartling/horse-racing-demo
7a50f2de35d275ed0dec2326fbba89f9ab3ee113
[ "MIT" ]
null
null
null
config/test.exs
cebartling/horse-racing-demo
7a50f2de35d275ed0dec2326fbba89f9ab3ee113
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :horse_racing_demo, HorseRacingDemo.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :hors...
26.85
56
0.756052
08c6a7f4e4910a34d1a6e8744e5add8c3ae30e11
3,234
ex
Elixir
lib/fika/compiler/parser/types.ex
fika-lang/fika
15bffc30daed744670bb2c0fba3e674055adac47
[ "Apache-2.0" ]
220
2020-09-12T18:16:29.000Z
2022-03-15T14:39:05.000Z
lib/fika/compiler/parser/types.ex
fika-lang/fika
15bffc30daed744670bb2c0fba3e674055adac47
[ "Apache-2.0" ]
60
2020-09-23T14:20:36.000Z
2021-03-08T08:55:57.000Z
lib/fika/compiler/parser/types.ex
fika-lang/fika
15bffc30daed744670bb2c0fba3e674055adac47
[ "Apache-2.0" ]
25
2020-09-19T09:06:10.000Z
2021-08-24T23:48:39.000Z
defmodule Fika.Compiler.Parser.Types do import NimbleParsec alias Fika.Compiler.Parser.{Common, Helper} allow_space = parsec({Common, :allow_space}) identifier_str = parsec({Common, :identifier_str}) atom = parsec({Common, :atom}) atom_type = Helper.to_ast(atom, :atom_type) type_args = parsec(:typ...
20.864516
62
0.576994
08c6fab6eb181ea055e9a61f17456c0f461bbc6a
3,683
ex
Elixir
lib/auth0_ex/management/user.ex
warmwaffles/auth0_ex
d0d7ad895c4db79d366c9c55e289a944c891936c
[ "Apache-2.0" ]
38
2016-08-31T12:44:19.000Z
2021-06-17T18:23:21.000Z
lib/auth0_ex/management/user.ex
warmwaffles/auth0_ex
d0d7ad895c4db79d366c9c55e289a944c891936c
[ "Apache-2.0" ]
24
2017-01-12T17:53:10.000Z
2022-03-14T13:43:12.000Z
lib/auth0_ex/management/user.ex
warmwaffles/auth0_ex
d0d7ad895c4db79d366c9c55e289a944c891936c
[ "Apache-2.0" ]
24
2017-01-27T20:51:57.000Z
2022-03-11T19:58:40.000Z
defmodule Auth0Ex.Management.User do @moduledoc """ A module representing users on Auth0 """ use Auth0Ex.Api, for: :mgmt @path "users" @doc """ Gets all the users iex> Auth0Ex.Management.User.all() iex> Auth0Ex.Management.User.all(fields: "name", q: "app_metadata.admin:'true'") """ def ...
28.330769
121
0.659788
08c709c824545f1b3d7f8b4bc535798d5b38a594
26,955
ex
Elixir
lib/cldr/number/parse.ex
kipcole9/cldr_numbers
c840630fcb729cd8245b843c0b12f08e64fbc8f1
[ "Apache-2.0" ]
8
2017-12-13T00:39:34.000Z
2019-04-12T06:00:07.000Z
lib/cldr/number/parse.ex
kipcole9/cldr_numbers
c840630fcb729cd8245b843c0b12f08e64fbc8f1
[ "Apache-2.0" ]
8
2017-10-29T23:38:32.000Z
2019-03-20T19:22:43.000Z
lib/cldr/number/parse.ex
kipcole9/cldr_numbers
c840630fcb729cd8245b843c0b12f08e64fbc8f1
[ "Apache-2.0" ]
7
2017-10-05T11:35:36.000Z
2018-08-20T12:17:03.000Z
defmodule Cldr.Number.Parser do @moduledoc """ Functions for parsing numbers and currencies from a string. """ @type per :: :percent | :permille @number_format "[-+]?[0-9]([0-9_]|[,](?=[0-9]))*(\\.?[0-9_]+([eE][-+]?[0-9]+)?)?" @doc """ Scans a string in a locale-aware manner and returns a list of ...
30.388952
107
0.653014
08c753d51ce39dd9789828fa4d7a5bb3c2fbc8cd
252
exs
Elixir
test/models/stock_test.exs
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
41
2017-10-04T00:33:46.000Z
2021-04-09T01:33:34.000Z
test/models/stock_test.exs
openpantry/open_pantry
27d898a65dd6f44b325f48d41bc448bb486d9c6f
[ "MIT" ]
74
2017-09-20T03:36:17.000Z
2018-11-20T20:46:16.000Z
test/models/stock_test.exs
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
12
2017-10-04T10:02:49.000Z
2021-12-28T22:57:20.000Z
defmodule OpenPantry.StockTest do use OpenPantry.ModelCase alias OpenPantry.Stock @invalid_attrs %{} test "changeset with invalid attributes" do changeset = Stock.changeset(%Stock{}, @invalid_attrs) refute changeset.valid? end end
19.384615
57
0.746032
08c75b22de1e22abea7a85a5d61291cc7a5f2c62
148,356
ex
Elixir
lib/elixir/lib/kernel.ex
sjBao/elixir
52ee3ac163098f91f15dcb1360ae801a98453a77
[ "Apache-2.0" ]
1
2020-01-14T18:44:56.000Z
2020-01-14T18:44:56.000Z
lib/elixir/lib/kernel.ex
sjBao/elixir
52ee3ac163098f91f15dcb1360ae801a98453a77
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
sjBao/elixir
52ee3ac163098f91f15dcb1360ae801a98453a77
[ "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...
26.79841
111
0.634528
08c7c34f6f006b0ec8ad9278e03588d48cd2e2ad
244
exs
Elixir
config/releases.exs
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
config/releases.exs
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
config/releases.exs
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
import Config config :erlef, ErlefWeb.Endpoint, server: true, http: [port: {:system, "PORT"}], url: [host: "erlef.org", port: 443], check_origin: [ "//erlef.com", "//www.erlef.com", "//erlef.org", "//www.erlef.org" ]
18.769231
38
0.569672
08c7de951f1c2dbd95581c04f0d8807474191c8e
1,295
ex
Elixir
examples/example4.ex
OpenEuphoria/euphoria-mvc
05237f792b130ed8d8de3148c32f641f315c7256
[ "MIT" ]
15
2018-09-23T19:51:36.000Z
2022-01-31T04:07:56.000Z
examples/example4.ex
OpenEuphoria/euphoria-mvc
05237f792b130ed8d8de3148c32f641f315c7256
[ "MIT" ]
12
2019-03-11T00:19:15.000Z
2020-12-13T20:24:58.000Z
examples/example4.ex
OpenEuphoria/euphoria-mvc
05237f792b130ed8d8de3148c32f641f315c7256
[ "MIT" ]
3
2019-05-05T13:34:25.000Z
2022-03-10T08:42:21.000Z
-- -- This is like example3.ex but uses the built-in web server. -- include std/map.e include std/filesys.e include std/search.e include mvc/app.e include mvc/logger.e include mvc/server.e include mvc/template.e if search:ends( "examples", current_dir() ) then -- make sure we can find our templates -- if we'r...
23.545455
61
0.682625
08c7ef22e3b1fbf5caf06fa90533163583547164
60,781
exs
Elixir
lib/elixir/test/elixir/kernel/expansion_test.exs
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/expansion_test.exs
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/expansion_test.exs
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.ExpansionTarget do defmacro seventeen, do: 17 defmacro bar, do: "bar" end defmodule Kernel.ExpansionTest do use ExUnit.Case, async: false describe "__block__" do test "expands to nil when empty" do assert expand(quote(do: unquote(:__...
25.474015
164
0.525822
08c801ad206baf7c960eb9f2e2ee114042f9848a
249
ex
Elixir
lib/bosque.ex
prio101/bosque
3b9d0a789a4c33dce829d5cab9d198145f28b8fd
[ "MIT" ]
null
null
null
lib/bosque.ex
prio101/bosque
3b9d0a789a4c33dce829d5cab9d198145f28b8fd
[ "MIT" ]
null
null
null
lib/bosque.ex
prio101/bosque
3b9d0a789a4c33dce829d5cab9d198145f28b8fd
[ "MIT" ]
null
null
null
defmodule Bosque do @moduledoc """ Bosque keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.9
66
0.751004
08c812a932c9d98c93922c1360a882a0a69f60f8
25,540
exs
Elixir
deps/ecto/integration_test/cases/preload.exs
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto/integration_test/cases/preload.exs
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto/integration_test/cases/preload.exs
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Ecto.Integration.PreloadTest do use Ecto.Integration.Case, async: Application.get_env(:ecto, :async_integration_tests, true) alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.Comment alias Ecto.Integration.Permalink alias Ecto.Integra...
38.52187
111
0.594323
08c83f0e37de5c89f68315d379f0f5347f35d48e
713
exs
Elixir
lib/mix/test/mix/escriptize_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/mix/test/mix/escriptize_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/escriptize_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.EscriptizeTest do use MixTest.Case test "generate simple escript" do in_fixture "escripttest", fn -> output = mix "escriptize" assert output =~ %r/Generated escript escripttest/ assert System.cmd("escript escripttest") == "TEST\n"...
28.52
101
0.669004
08c848533d513916bb30628687250e10860cd73c
3,314
ex
Elixir
lib/ketbin_web/controllers/page_controller.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
4
2020-08-05T20:05:34.000Z
2020-10-01T10:01:56.000Z
lib/ketbin_web/controllers/page_controller.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
1
2020-07-08T05:02:12.000Z
2020-09-25T10:05:11.000Z
lib/ketbin_web/controllers/page_controller.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
1
2020-08-30T12:59:49.000Z
2020-08-30T12:59:49.000Z
defmodule KetbinWeb.PageController do require Logger use KetbinWeb, :controller alias Ketbin.Pastes alias Ketbin.Pastes.Paste alias Ketbin.Pastes.Utils def index(conn, _params) do changeset = Pastes.change_paste(%Paste{}) render(conn, "index.html", changeset: changeset) end def show(%{assign...
27.616667
93
0.595353
08c8821f01818156ca27e38a331c07a800d52578
53,491
ex
Elixir
lib/baiji/service/direct_connect.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/service/direct_connect.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/service/direct_connect.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
defmodule Baiji.DirectConnect do @moduledoc """ AWS Direct Connect links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. With this connecti...
58.910793
19,936
0.619543
08c8b8d711b4b8fa9104090a5ab87ac81b31f3e1
135
exs
Elixir
test/elixir_test.exs
LucasVinicius314/elixir
b9262c635233a563cffddfb32c9de90ec96be372
[ "MIT" ]
29
2019-11-13T06:57:13.000Z
2021-01-31T19:42:51.000Z
test/elixir_test.exs
LucasVinicius314/elixir
b9262c635233a563cffddfb32c9de90ec96be372
[ "MIT" ]
1
2021-11-21T04:04:00.000Z
2022-02-09T15:33:48.000Z
test/elixir_test.exs
LucasVinicius314/elixir
b9262c635233a563cffddfb32c9de90ec96be372
[ "MIT" ]
3
2021-06-17T15:30:21.000Z
2022-03-17T22:27:18.000Z
defmodule ElixirTest do use ExUnit.Case doctest Elixir test "greets the world" do assert Elixir.hello() == :world end end
15
35
0.703704
08c8d43f3f3d8fd3a1f97ec2371266d5842795f8
1,044
ex
Elixir
lib/volunteerbase/endpoint.ex
nihonjinrxs/VolunteerBase
e555ec9ae1d0b4401ae33c0a9fdc411b855f04a4
[ "MIT" ]
null
null
null
lib/volunteerbase/endpoint.ex
nihonjinrxs/VolunteerBase
e555ec9ae1d0b4401ae33c0a9fdc411b855f04a4
[ "MIT" ]
1
2016-06-24T03:43:06.000Z
2016-06-24T03:43:06.000Z
lib/volunteerbase/endpoint.ex
nihonjinrxs/VolunteerBase
e555ec9ae1d0b4401ae33c0a9fdc411b855f04a4
[ "MIT" ]
null
null
null
defmodule Volunteerbase.Endpoint do use Phoenix.Endpoint, otp_app: :volunteerbase socket "/socket", Volunteerbase.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. p...
26.1
69
0.718391
08c8df2e3c28eb9a0e82a6a680cb2eda96700d6b
64
ex
Elixir
lib/glimesh_web/views/article_view.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
lib/glimesh_web/views/article_view.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
lib/glimesh_web/views/article_view.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule GlimeshWeb.ArticleView do use GlimeshWeb, :view end
16
35
0.8125
08c9071fc49e4374e4a65e1529aa7b68d3fc6039
2,425
exs
Elixir
test/k8s/discovery/resource_finder_test.exs
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
226
2019-02-03T00:49:32.000Z
2022-03-30T15:02:22.000Z
test/k8s/discovery/resource_finder_test.exs
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
109
2019-01-20T20:39:33.000Z
2022-03-31T20:21:34.000Z
test/k8s/discovery/resource_finder_test.exs
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
43
2019-02-07T01:18:31.000Z
2022-03-08T04:15:33.000Z
defmodule K8s.Discovery.ResourceFinderTest do use ExUnit.Case, async: true doctest K8s.Discovery.ResourceFinder alias K8s.Discovery.ResourceFinder @spec daemonset :: map defp daemonset do %{ "kind" => "DaemonSet", "name" => "daemonsets", "namespaced" => true } end @spec deploym...
29.216867
89
0.654845
08c947be5267b279b8d573ee106ab5491f6b0179
1,241
exs
Elixir
test/support/conn_case.exs
lumenlunae/sentinel
189d9b02aeeea942a41963b42ef8523ef192fd03
[ "MIT" ]
null
null
null
test/support/conn_case.exs
lumenlunae/sentinel
189d9b02aeeea942a41963b42ef8523ef192fd03
[ "MIT" ]
null
null
null
test/support/conn_case.exs
lumenlunae/sentinel
189d9b02aeeea942a41963b42ef8523ef192fd03
[ "MIT" ]
null
null
null
defmodule Sentinel.ConnCase do alias Sentinel.TestRepo use ExUnit.CaseTemplate @default_opts [ store: :cookie, key: "default", encryption_salt: "encrypted cookie salt", signing_salt: "signing salt" ] @secret String.duplicate("abcdef0123456789", 8) @signing_opts Plug.Session.init(Keyword.pu...
22.981481
78
0.68332
08c955e36b45c996b035a9182bd2c11a5af49556
1,074
ex
Elixir
lib/githubist/application.ex
alpcanaydin/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
33
2018-10-13T16:40:36.000Z
2021-05-23T14:13:34.000Z
lib/githubist/application.ex
5l1v3r1/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
1
2018-12-23T19:59:05.000Z
2018-12-24T18:08:00.000Z
lib/githubist/application.ex
5l1v3r1/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
3
2018-10-13T22:18:38.000Z
2020-03-29T23:41:23.000Z
defmodule Githubist.Application do @moduledoc false use Application alias GithubistWeb.Endpoint # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised ...
29.833333
87
0.717877
08c97b883dd3c0a4e46dda8dbc028953d416d926
307
exs
Elixir
installer/mix.exs
manukall/phoenix
5ce19ebb63b1b31e37da5fe6465edb6c4850772e
[ "MIT" ]
null
null
null
installer/mix.exs
manukall/phoenix
5ce19ebb63b1b31e37da5fe6465edb6c4850772e
[ "MIT" ]
null
null
null
installer/mix.exs
manukall/phoenix
5ce19ebb63b1b31e37da5fe6465edb6c4850772e
[ "MIT" ]
null
null
null
defmodule Phoenix.New.Mixfile do use Mix.Project def project do [app: :phoenix_new, version: "1.1.0-dev", elixir: "~> 1.0-dev"] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: []] end end
18.058824
52
0.651466
08c98e27100eb9d789ac167cd512e679e6bc902d
1,607
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/google_auto.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/testing/lib/google_api/testing/v1/model/google_auto.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/google_auto.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 ...
33.479167
79
0.766024
08c9b0cd752481af2cecacf0dd2c500f16e4e253
1,094
ex
Elixir
lib/free_fall_web/channels/user_socket.ex
Goose-Vic/free_fall
84d95e33cbd0d6e06dd9170576726929e97b25ac
[ "MIT" ]
1
2021-11-17T21:16:30.000Z
2021-11-17T21:16:30.000Z
lib/free_fall_web/channels/user_socket.ex
Goose-Vic/free_fall
84d95e33cbd0d6e06dd9170576726929e97b25ac
[ "MIT" ]
null
null
null
lib/free_fall_web/channels/user_socket.ex
Goose-Vic/free_fall
84d95e33cbd0d6e06dd9170576726929e97b25ac
[ "MIT" ]
9
2021-07-29T23:36:54.000Z
2021-09-30T22:47:39.000Z
defmodule FreeFallWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", FreeFallWeb.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 chan...
30.388889
83
0.695612
08c9bc74d94db3b470dcf17a55f81baa6d608cfa
2,162
ex
Elixir
lib/btrz_healthchecker.ex
Betterez/btrz-ex-health-checker
040dd4f712268f0269cc8abef6f818b368591c5c
[ "MIT" ]
null
null
null
lib/btrz_healthchecker.ex
Betterez/btrz-ex-health-checker
040dd4f712268f0269cc8abef6f818b368591c5c
[ "MIT" ]
null
null
null
lib/btrz_healthchecker.ex
Betterez/btrz-ex-health-checker
040dd4f712268f0269cc8abef6f818b368591c5c
[ "MIT" ]
null
null
null
defmodule BtrzHealthchecker do @moduledoc """ BtrzHealthchecker main module. Used to get the information about the desired services passed as Checkers. """ alias BtrzHealthchecker.{Info, EnvironmentInfo} @environment_info_api Application.get_env(:btrz_ex_health_checker, :environment_info_api) || ...
32.268657
132
0.672525
08c9cd1d21608162df4c0a2533c77cc98641dbeb
104
ex
Elixir
lib/inmana/repo.ex
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
14
2021-04-26T14:19:28.000Z
2021-09-12T03:29:42.000Z
lib/inmana/repo.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
null
null
null
lib/inmana/repo.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
6
2021-04-27T12:41:16.000Z
2021-07-02T04:11:53.000Z
defmodule Inmana.Repo do use Ecto.Repo, otp_app: :inmana, adapter: Ecto.Adapters.Postgres end
17.333333
35
0.721154
08c9dee6d2dc6327429a36e16e0a4ea8b961eec8
2,116
exs
Elixir
config/dev.exs
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "Apache-2.0" ]
null
null
null
config/dev.exs
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "Apache-2.0" ]
null
null
null
config/dev.exs
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "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 webpack to recompile .js and .css sources. config :mathmatical, MathmaticalWeb.Endpoint, http: [po...
27.842105
68
0.691871
08c9e4a0fddc10702597b38a4827a9774d8f4c10
2,043
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/advertiser_ad_server_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/advertiser_ad_server_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/advertiser_ad_server_config.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...
40.86
201
0.764072
08c9f093b2d009ae1ccf4a6d88d3d221918c72bd
3,245
exs
Elixir
apps/tai/mix.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/mix.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/mix.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.Mixfile do use Mix.Project def project do [ app: :tai, version: "0.0.74", elixir: "~> 1.11", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", package: package(), start_per...
30.613208
90
0.506317
08ca2bf50c25954f968f647fb5ec71e463e18235
1,832
exs
Elixir
mix.exs
bigbassroller/ueberauth_example
5e889abaf060b6a37add2eb8a3cf1938f394c4af
[ "MIT" ]
null
null
null
mix.exs
bigbassroller/ueberauth_example
5e889abaf060b6a37add2eb8a3cf1938f394c4af
[ "MIT" ]
null
null
null
mix.exs
bigbassroller/ueberauth_example
5e889abaf060b6a37add2eb8a3cf1938f394c4af
[ "MIT" ]
null
null
null
defmodule MyApp.MixProject do use Mix.Project def project do [ app: :my_app, version: "0.0.1", elixir: "~> 1.11", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: dep...
26.941176
84
0.569869
08ca3b3569c15ab09af92865aed3377111c357ba
1,747
ex
Elixir
lib/nerves/artifact/cache.ex
petrus-jvrensburg/nerves
717372ede5248e30684ce7fcd2c6515ae7a90333
[ "Apache-2.0" ]
null
null
null
lib/nerves/artifact/cache.ex
petrus-jvrensburg/nerves
717372ede5248e30684ce7fcd2c6515ae7a90333
[ "Apache-2.0" ]
null
null
null
lib/nerves/artifact/cache.ex
petrus-jvrensburg/nerves
717372ede5248e30684ce7fcd2c6515ae7a90333
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.Artifact.Cache do alias Nerves.Artifact @checksum "CHECKSUM" def get(pkg) do path = path(pkg) if valid?(pkg) do path else nil end end def put(pkg, path) do ext = Artifact.ext(pkg) dest = path(pkg) File.rm_rf(dest) if String.ends_with?(path, ex...
17.826531
57
0.606754
08ca51c6662f2bc465f6993cfbe2caebb2cb8c5f
5,970
exs
Elixir
test/credo/check/readability/max_line_length_test.exs
ak3nji/credo
688b39901cbb1dbdea08a73fa5e15e74d5eb8101
[ "MIT" ]
null
null
null
test/credo/check/readability/max_line_length_test.exs
ak3nji/credo
688b39901cbb1dbdea08a73fa5e15e74d5eb8101
[ "MIT" ]
null
null
null
test/credo/check/readability/max_line_length_test.exs
ak3nji/credo
688b39901cbb1dbdea08a73fa5e15e74d5eb8101
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.MaxLineLengthTest do use Credo.Test.Case @described_check Credo.Check.Readability.MaxLineLength # # cases NOT raising issues # test "it should NOT report expected code" do """ defmodule CredoSampleModule do use ExUnit.Case def some_fun do ass...
25.732759
210
0.58258
08ca54bc4e3e31871a4c80775f84a35a7d2e35d3
1,503
ex
Elixir
src/core/controllers/endpoint.ex
salespaulo/inmana
26c0c1c1b61f37e4b108800eb8ed29fca986b9b7
[ "MIT" ]
null
null
null
src/core/controllers/endpoint.ex
salespaulo/inmana
26c0c1c1b61f37e4b108800eb8ed29fca986b9b7
[ "MIT" ]
null
null
null
src/core/controllers/endpoint.ex
salespaulo/inmana
26c0c1c1b61f37e4b108800eb8ed29fca986b9b7
[ "MIT" ]
null
null
null
defmodule InmanaWeb.Endpoint do use Phoenix.Endpoint, otp_app: :inmana # 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: "_inmana_key"...
28.358491
97
0.71324
08ca574c87ad0ab415f7f3e6f320efc25b5bd555
4,617
ex
Elixir
apps/aecore/lib/aecore/chain/identifier.ex
aeternity/epoch-elixir
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
131
2018-03-10T01:35:56.000Z
2021-12-27T13:44:41.000Z
apps/aecore/lib/aecore/chain/identifier.ex
aeternity/elixir-node
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
445
2018-03-12T09:46:17.000Z
2018-12-12T09:52:07.000Z
apps/aecore/lib/aecore/chain/identifier.ex
aeternity/epoch-elixir
d35613f5541a9bbebe61f90b8503a9b3416fe8b4
[ "0BSD" ]
23
2018-03-12T12:01:28.000Z
2022-03-06T09:22:17.000Z
defmodule Aecore.Chain.Identifier do @moduledoc """ Utility module for interacting with identifiers. Our binaries like account pubkey or hashes will already be represented as encoded (with already specified tag) binaries, using the following format: <<Tag:1/unsigned-integer-unit:8, Binary:32/binary-unit:8>>, ...
32.744681
160
0.659736
08ca628cf36563c49c97fae10c383e2ad601dad4
2,302
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/genomics/lib/google_api/genomics/v1/model/status.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...
43.433962
427
0.720243
08ca7fc2f9b68d425f44196a5778e82b1d308bac
124
ex
Elixir
examples/route_guide/lib/endpoint.ex
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
561
2019-03-18T09:10:57.000Z
2022-03-27T17:34:59.000Z
examples/route_guide/lib/endpoint.ex
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
94
2019-03-20T09:34:38.000Z
2022-02-27T20:44:04.000Z
examples/route_guide/lib/endpoint.ex
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
112
2019-03-25T03:27:26.000Z
2022-03-21T12:43:59.000Z
defmodule Routeguide.Endpoint do use GRPC.Endpoint intercept GRPC.Logger.Server run Routeguide.RouteGuide.Server end
17.714286
34
0.814516
08ca8939710c473aa6344d0569f6430f6d6ffdda
1,050
ex
Elixir
bullion/test/support/conn_case.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
bullion/test/support/conn_case.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
8
2021-03-10T20:53:42.000Z
2021-07-30T06:52:16.000Z
bullion/test/support/conn_case.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
defmodule BullionWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if th...
26.923077
69
0.718095
08cac658ab5bbbfac2d2074aac966b0ba2f20cd5
77
ex
Elixir
portfolio/lib/portfolio_web/views/user_confirmation_view.ex
JackMaarek/portfolio
4423e67df870b14228edbc9e4ce3f3cdf1bccc2d
[ "MIT" ]
null
null
null
portfolio/lib/portfolio_web/views/user_confirmation_view.ex
JackMaarek/portfolio
4423e67df870b14228edbc9e4ce3f3cdf1bccc2d
[ "MIT" ]
11
2020-04-29T10:28:20.000Z
2020-04-29T11:03:13.000Z
portfolio/lib/portfolio_web/views/user_confirmation_view.ex
JackMaarek/portfolio
4423e67df870b14228edbc9e4ce3f3cdf1bccc2d
[ "MIT" ]
null
null
null
defmodule PortfolioWeb.UserConfirmationView do use PortfolioWeb, :view end
19.25
46
0.844156