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
037367a50b61835e6f9d83abcb8f4ff59a7133ed
431
ex
Elixir
services/interop-proxy/lib/interop_proxy_web/views/error_view.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
1
2020-10-08T14:37:36.000Z
2020-10-08T14:37:36.000Z
services/interop-proxy/lib/interop_proxy_web/views/error_view.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
33
2017-10-31T22:36:42.000Z
2021-01-10T22:15:54.000Z
services/interop-proxy/lib/interop_proxy_web/views/error_view.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
3
2018-10-07T21:36:02.000Z
2020-02-07T01:13:53.000Z
defmodule InteropProxyWeb.ErrorView do use InteropProxyWeb, :view def render("404.json", _assigns) do %{errors: %{detail: "Page not found"}} end def render("500.json", _assigns) do %{errors: %{detail: "Internal server error"}} end # In case no render clause matches or no template is found, we'll ...
23.944444
67
0.691415
0373da8eedc074adf37f6cf76f0bbbcb062dfa3f
3,328
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_group.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_group.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_group.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# 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...
43.789474
509
0.701623
0374513ee3fccff8af98d827db5a2249743d14b1
1,297
exs
Elixir
apps/phx_web/mix.exs
harmon25/roygbiv_cntrl
77b056e26c3b3a1d2e49babb94ea6edefc5587f5
[ "MIT" ]
null
null
null
apps/phx_web/mix.exs
harmon25/roygbiv_cntrl
77b056e26c3b3a1d2e49babb94ea6edefc5587f5
[ "MIT" ]
null
null
null
apps/phx_web/mix.exs
harmon25/roygbiv_cntrl
77b056e26c3b3a1d2e49babb94ea6edefc5587f5
[ "MIT" ]
null
null
null
defmodule PhxWeb.Mixfile do use Mix.Project def project do [app: :phx_web, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), ...
28.822222
117
0.588281
03748a80a663ae5370d054874e625536545c2adf
6,062
exs
Elixir
test/service/disk_service_test.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
null
null
null
test/service/disk_service_test.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
null
null
null
test/service/disk_service_test.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
2
2019-05-30T18:29:37.000Z
2020-06-27T18:40:03.000Z
defmodule ActivestorageExTest.DiskServiceTest do use ExUnit.Case doctest ActivestorageEx.DiskService alias ActivestorageEx.DiskService @rails_storage_directory "external/activestorage_ex_rails/storage/" @local_key TestHelper.get_local_upload_key() setup do Application.put_env(:activestorage_ex, :root_...
27.680365
85
0.654899
0374bfa1cb70b2d29b2b75c3ad50783142e0aaa9
1,738
exs
Elixir
test/clients/config_test.exs
MatthewNielsen27/memo_generator
d11f6a7d6c2da3bbc21895c7ee8849f089b05492
[ "MIT" ]
null
null
null
test/clients/config_test.exs
MatthewNielsen27/memo_generator
d11f6a7d6c2da3bbc21895c7ee8849f089b05492
[ "MIT" ]
null
null
null
test/clients/config_test.exs
MatthewNielsen27/memo_generator
d11f6a7d6c2da3bbc21895c7ee8849f089b05492
[ "MIT" ]
null
null
null
defmodule MemoGenerator.Clients.ConfigTest do use ExUnit.Case alias MemoGenerator.Clients.Config test "Config start_link/2 handles valid map" do data = %{ "token" => "12dahbd31jdn31i23=2s", "base_url" => "www.example.com" } assert {:ok, pid} = Config.start_link(data, Client) end tes...
28.491803
64
0.635788
0374c84f7381a66b49152693caa1a0c1dfcb83d3
6,331
ex
Elixir
lib/changelog_web/helpers/shared_helpers.ex
axelson/changelog.com
bad9f461aabbde0faa938f7b2ae643ed47d1df9b
[ "MIT" ]
1
2021-01-06T18:21:45.000Z
2021-01-06T18:21:45.000Z
lib/changelog_web/helpers/shared_helpers.ex
codexn/changelog.com
25ce501ee62eef76731c38d590667e8132096ba8
[ "MIT" ]
null
null
null
lib/changelog_web/helpers/shared_helpers.ex
codexn/changelog.com
25ce501ee62eef76731c38d590667e8132096ba8
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Helpers.SharedHelpers do use Phoenix.HTML alias Changelog.{ListKit, Regexp} alias Phoenix.{Controller, Naming} @doc """ Returns `class_name` for a given connection if it matches any of the provided 'matchers'. A 'matcher' could be a string representation of a controller/ action co...
31.655
100
0.670668
0374d63ba26f331b777871f32ca9f09a180b6c2b
3,247
exs
Elixir
test/tesla/middleware/timeout_test.exs
moosecodebv/tesla
eb919a534aa115e7d1555d0c833fa2ebecbe5b9e
[ "MIT" ]
1
2019-06-25T07:01:01.000Z
2019-06-25T07:01:01.000Z
test/tesla/middleware/timeout_test.exs
moosecodebv/tesla
eb919a534aa115e7d1555d0c833fa2ebecbe5b9e
[ "MIT" ]
null
null
null
test/tesla/middleware/timeout_test.exs
moosecodebv/tesla
eb919a534aa115e7d1555d0c833fa2ebecbe5b9e
[ "MIT" ]
1
2020-05-25T10:18:54.000Z
2020-05-25T10:18:54.000Z
defmodule Tesla.Middleware.TimeoutTest do use ExUnit.Case, async: false defmodule Client do use Tesla plug Tesla.Middleware.Timeout, timeout: 100 adapter fn env -> case env.url do "/sleep_50ms" -> Process.sleep(50) {:ok, %{env | status: 200}} "/sleep_150ms" ...
25.170543
88
0.591315
0374e39f9b4a1d27de11a646e9bde502c553e708
1,579
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/empty.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...
31.58
76
0.747942
0374f316ece08c5cb0df1d8d51e595c4fb606d9f
461
ex
Elixir
lib/portmidi/nifs/input.ex
bwanab/ex-portmidi
9e10a5ff007ebef81c5212dbfb65b4bd90e49daa
[ "MIT" ]
36
2016-03-28T15:01:18.000Z
2021-09-11T02:41:31.000Z
lib/portmidi/nifs/input.ex
bwanab/ex-portmidi
9e10a5ff007ebef81c5212dbfb65b4bd90e49daa
[ "MIT" ]
15
2016-05-29T13:01:33.000Z
2021-11-18T18:24:23.000Z
lib/portmidi/nifs/input.ex
bwanab/ex-portmidi
9e10a5ff007ebef81c5212dbfb65b4bd90e49daa
[ "MIT" ]
11
2016-05-19T15:37:49.000Z
2020-12-13T21:34:07.000Z
defmodule PortMidi.Nifs.Input do @on_load {:init, 0} def init do :ok = :portmidi |> :code.priv_dir |> :filename.join("portmidi_in") |> :erlang.load_nif(0) end def do_poll(_stream), do: raise "NIF library not loaded" def do_read(_stream, _buffer_size), do: raise "NIF library not loade...
20.954545
41
0.661605
0374f375a703e07eef99051c72b90b3d0781a827
706
ex
Elixir
lib/nomad_client/model/namespace.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
lib/nomad_client/model/namespace.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
lib/nomad_client/model/namespace.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule NomadClient.Model.Namespace do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :Name, :Description, :Quota, :CreateI...
21.393939
91
0.610482
0375164edc4b5c6f99576c79d095e5aae622be86
2,055
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/ssl_certificate_aggregated_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/ssl_certificate_aggregated_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/ssl_certificate_aggregated_list_warning_data.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...
41.1
527
0.745499
0375616b4c27ba7314af2bf92c9395c9f28940f7
209
exs
Elixir
test/fixtures/parser/safety_assured_create_indexes.exs
maximemenager/strong_migrations
b7e091d2cfed73098d3bf683c7ce5c8ceee3159b
[ "MIT" ]
23
2021-10-29T19:58:35.000Z
2021-11-13T21:42:45.000Z
test/fixtures/parser/safety_assured_create_indexes.exs
maximemenager/strong_migrations
b7e091d2cfed73098d3bf683c7ce5c8ceee3159b
[ "MIT" ]
1
2021-10-31T03:57:47.000Z
2021-10-31T14:33:45.000Z
test/fixtures/parser/safety_assured_create_indexes.exs
surgeventures/strong_migrations
3c82e34a6e7a372c6de17ba7a0b07da7664baa26
[ "MIT" ]
3
2021-10-31T02:14:10.000Z
2021-11-09T08:07:22.000Z
defmodule SafetyAssuredCreateIndex do @moduledoc false use StrongMigrations def change do safety_assured do create(index(:users, :name)) create(index(:users, :email)) end end end
16.076923
37
0.69378
0375729dac986284304dd54a38ab85446010df5a
876
ex
Elixir
clients/games/lib/google_api/games/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.444444
74
0.756849
03758a30a2669556266675ce6add9eedbab844b9
1,136
ex
Elixir
lib/triton/supervisor.ex
sewinter/triton
7a821929dddee0d8ffc802ac36c044921bb49871
[ "MIT" ]
71
2017-11-29T03:40:54.000Z
2022-01-10T22:11:48.000Z
lib/triton/supervisor.ex
sewinter/triton
7a821929dddee0d8ffc802ac36c044921bb49871
[ "MIT" ]
19
2018-04-13T18:25:05.000Z
2020-12-24T05:22:41.000Z
lib/triton/supervisor.ex
sewinter/triton
7a821929dddee0d8ffc802ac36c044921bb49871
[ "MIT" ]
23
2017-11-02T21:34:54.000Z
2021-08-24T08:29:34.000Z
defmodule Triton.Supervisor do @moduledoc """ There is one supervisor per cluster, which is composed of a Xandra worker + Triton monitor. The Supervisor uses a one_for_all strategy to ensure that clusters are restarted when the monitor fails. This design is necessary because when Xandra / DBConnection receives...
33.411765
121
0.684859
0375ad04c9d6554bb14cb1401474af68086c1a31
110
exs
Elixir
episode20/sort/test/sort_test.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode20/sort/test/sort_test.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode20/sort/test/sort_test.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule SortTest do use ExUnit.Case doctest Sort test "the truth" do assert 1 + 1 == 2 end end
12.222222
21
0.654545
0375ec57a2c8690c9bdff32adc6fd08f42ba4b4d
595
exs
Elixir
mix.exs
ngarbezza/unq-sd-sube
48481dd3e6d9e23b6271c313c4fe1a081e5365ca
[ "MIT" ]
null
null
null
mix.exs
ngarbezza/unq-sd-sube
48481dd3e6d9e23b6271c313c4fe1a081e5365ca
[ "MIT" ]
null
null
null
mix.exs
ngarbezza/unq-sd-sube
48481dd3e6d9e23b6271c313c4fe1a081e5365ca
[ "MIT" ]
null
null
null
defmodule Sube.MixProject do use Mix.Project def project do [ app: :sube, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicati...
19.193548
59
0.532773
03762992caeb759cbd4c7461c85c6c28b635283c
1,669
ex
Elixir
lib/mango_web/endpoint.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
lib/mango_web/endpoint.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
lib/mango_web/endpoint.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
defmodule MangoWeb.Endpoint do use Phoenix.Endpoint, otp_app: :mango socket "/socket", MangoWeb.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, ...
28.775862
95
0.707609
0376336328fc27b20144c33967b405931481f5ea
1,615
ex
Elixir
lib/glimesh_web/channels/user_socket.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
lib/glimesh_web/channels/user_socket.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
lib/glimesh_web/channels/user_socket.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserSocket do use Phoenix.Socket use Absinthe.Phoenix.Socket, schema: Glimesh.Schema alias Glimesh.Accounts.User ## Channels # channel "room:*", GlimeshWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # ver...
27.372881
83
0.643344
0376377e662e0942da93e681c871907ba549322c
3,042
exs
Elixir
test/chat_api/messages_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
1
2021-01-18T09:57:23.000Z
2021-01-18T09:57:23.000Z
test/chat_api/messages_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
null
null
null
test/chat_api/messages_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
null
null
null
defmodule ChatApi.MessagesTest do use ChatApi.DataCase, async: true import ChatApi.Factory alias ChatApi.Messages describe "messages" do alias ChatApi.Messages.Message @update_attrs %{body: "some updated body"} @invalid_attrs %{body: nil} setup do {:ok, message: insert(:message)} e...
34.179775
91
0.682774
037639ceb5219635b27713bed1fce3b81a784ead
1,444
ex
Elixir
lib/one_dhcpd.ex
fhunleth/one_dhcpd
d1a4a6c7e8c86e7ae33c67231984b3665fa7382a
[ "Apache-2.0" ]
6
2018-08-27T16:32:28.000Z
2020-10-07T09:47:53.000Z
lib/one_dhcpd.ex
fhunleth/one_dhcpd
d1a4a6c7e8c86e7ae33c67231984b3665fa7382a
[ "Apache-2.0" ]
null
null
null
lib/one_dhcpd.ex
fhunleth/one_dhcpd
d1a4a6c7e8c86e7ae33c67231984b3665fa7382a
[ "Apache-2.0" ]
1
2019-03-28T23:48:26.000Z
2019-03-28T23:48:26.000Z
defmodule OneDHCPD do alias OneDHCPD.IPCalculator @moduledoc """ The One Address DHCP Server! This is a simple DHCP server for supplying IP addresses on point-to-point Ethernet links. To use it, specify a static IPv4 address on the Ethernet interface and then start the server up. OneDHCPD can supply an ...
31.391304
81
0.745152
0376449211e3b32bd870e22732e62a5c2b794000
1,485
exs
Elixir
mix.exs
sticksnleaves/me
a63478c4eb82f586da706c9394156018f35ca686
[ "MIT" ]
5
2017-04-07T19:27:27.000Z
2020-10-30T23:24:16.000Z
mix.exs
sticksnleaves/me
a63478c4eb82f586da706c9394156018f35ca686
[ "MIT" ]
null
null
null
mix.exs
sticksnleaves/me
a63478c4eb82f586da706c9394156018f35ca686
[ "MIT" ]
null
null
null
defmodule Me.Mixfile do use Mix.Project @version "1.0.0" def project do [app: :hora, name: "Hora", description: "Extensible password management", version: @version, elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), pa...
23.203125
79
0.569024
03765461dc699a6f49f8ab4dbfb38906193057e9
769
exs
Elixir
test/til/posts/post_test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "MIT" ]
null
null
null
test/til/posts/post_test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "MIT" ]
2
2020-04-26T14:03:27.000Z
2020-12-12T17:14:02.000Z
test/til/posts/post_test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "MIT" ]
null
null
null
defmodule Til.PostTest do use Til.DataCase alias Til.Posts.Post describe "group_by_date/1" do test "return date" do today = Timex.now() yesterday = Timex.shift(today, days: -1) _post = insert(:post, inserted_at: today) _yesterday_post = insert(:post, inserted_at: yesterday) _yes...
25.633333
63
0.657997
03766a840b13891b68ebcc2e97d42e1268f402b4
463
ex
Elixir
lib/brando_admin/live/navigation/menu_update_live.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando_admin/live/navigation/menu_update_live.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando_admin/live/navigation/menu_update_live.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule BrandoAdmin.Navigation.MenuUpdateLive do use BrandoAdmin.LiveView.Form, schema: Brando.Navigation.Menu alias BrandoAdmin.Components.Form import Brando.Gettext def render(assigns) do ~H""" <.live_component module={Form} id="menu_form" entry_id={@entry_id} current_user={@curre...
23.15
63
0.647948
0376e69795d122bd1f31f38312a0dd82005e05ad
3,485
exs
Elixir
test/firebirdex_test.exs
nakagami/firebirdex
a9b64e52daf81566f6325987e750ec878db113b3
[ "Apache-2.0" ]
22
2019-02-09T14:48:13.000Z
2022-03-20T14:23:54.000Z
test/firebirdex_test.exs
nakagami/firebirdex
a9b64e52daf81566f6325987e750ec878db113b3
[ "Apache-2.0" ]
null
null
null
test/firebirdex_test.exs
nakagami/firebirdex
a9b64e52daf81566f6325987e750ec878db113b3
[ "Apache-2.0" ]
null
null
null
defmodule FirebirdexTest do use ExUnit.Case, async: true @opts TestHelpers.opts() describe "connect_test" do opts = @opts {:ok, conn} = Firebirdex.start_link(opts) {:ok, %Firebirdex.Result{} = result} = Firebirdex.query(conn, "SELECT 1 AS a, CAST('Str' AS VARCHAR(3)) AS b, ...
39.602273
151
0.568723
037736c336b0c20721bd9348fcb43f2701b11335
12,164
ex
Elixir
lib/ecto/query/builder/select.ex
matteing/ecto
beabc36931222ac574bb0047fef90d84cb138459
[ "Apache-2.0" ]
3,931
2016-06-16T11:38:48.000Z
2022-03-31T21:24:19.000Z
lib/ecto/query/builder/select.ex
matteing/ecto
beabc36931222ac574bb0047fef90d84cb138459
[ "Apache-2.0" ]
2,343
2016-06-16T11:18:09.000Z
2022-03-27T23:44:43.000Z
deps/ecto/lib/ecto/query/builder/select.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
1,300
2016-06-17T13:56:59.000Z
2022-03-31T01:46:20.000Z
import Kernel, except: [apply: 2] defmodule Ecto.Query.Builder.Select do @moduledoc false alias Ecto.Query.Builder @doc """ Escapes a select. It allows tuples, lists and variables at the top level. Inside the tuples and lists query expressions are allowed. ## Examples iex> escape({1, 2}, [], _...
31.030612
116
0.584265
03775d819f389675c84543ef85c2375b6a25c495
1,815
ex
Elixir
lib/person.ex
vinceurag/kups
456d4e1e030721e70ffe616bc1fbb81c85a98c76
[ "MIT" ]
3
2018-02-19T05:22:59.000Z
2018-02-19T05:37:45.000Z
lib/person.ex
vinceurag/kups
456d4e1e030721e70ffe616bc1fbb81c85a98c76
[ "MIT" ]
null
null
null
lib/person.ex
vinceurag/kups
456d4e1e030721e70ffe616bc1fbb81c85a98c76
[ "MIT" ]
null
null
null
defmodule Kups.Person do @moduledoc """ Functions for generating fake data related to a person (any gender). """ alias Kups.Collection @doc """ Generates a full name of a person. Accepts a boolean parameter. Defaults to `false`. ## Examples iex(1)> Kups.Person.full_name(true) ...
20.862069
95
0.581267
037769934a37d9124c8b89778586b02676fe33ca
1,948
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/restore_default.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/restore_default.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/restore_default.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.754717
86
0.777721
03777fed05d813d1f2863e768f127982fd7ee229
5,628
exs
Elixir
test/utility_test.exs
wuhkuh/Talib
41b6bb684a87bb3dd60e73fdbf4c0aa6207ba2e0
[ "MIT" ]
18
2017-12-27T22:23:24.000Z
2021-09-10T14:08:19.000Z
test/utility_test.exs
wuhkuh/Talib
41b6bb684a87bb3dd60e73fdbf4c0aa6207ba2e0
[ "MIT" ]
6
2017-07-29T13:06:52.000Z
2021-04-11T10:58:36.000Z
test/utility_test.exs
wuhkuh/Talib
41b6bb684a87bb3dd60e73fdbf4c0aa6207ba2e0
[ "MIT" ]
11
2018-01-01T16:04:48.000Z
2021-08-17T02:26:40.000Z
defmodule Talib.UtilityTest do use ExUnit.Case alias Talib.Utility doctest Talib.Utility defmodule Fixtures do def numbers do [ 89, 77, 53, 64, 78, 67, 30, 6, 24, 53, 46, 30, 100, 48, 34, 69, 40, 44, 66, 89 ] end def numbers_change do [ nil, -12, -24, 11...
32.912281
78
0.566453
037788c187cda344e2ddf5960c485238213a6a9e
453
exs
Elixir
priv/repo/migrations/20210626223101_create_sponsorship_histories.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
487
2020-06-08T03:04:21.000Z
2022-03-31T14:51:36.000Z
priv/repo/migrations/20210626223101_create_sponsorship_histories.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
141
2020-06-11T01:03:29.000Z
2022-03-30T20:23:32.000Z
priv/repo/migrations/20210626223101_create_sponsorship_histories.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
61
2020-06-10T05:25:03.000Z
2022-03-23T15:54:26.000Z
defmodule PolicrMini.Repo.Migrations.CreateSponsorshipHistories do use PolicrMini.Migration def change do create table(:sponsorship_histories) do add :sponsor_id, references(:sponsors), comment: "赞助者编号" add :expected_to, :string, comment: "期望用于" add :amount, :integer, comment: "金额" add ...
28.3125
66
0.695364
0377e3ed8c2e3c75891749dda748f92dca5e6029
543
ex
Elixir
lib/chess_app/web/views/layout_view.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
3
2017-06-02T20:47:07.000Z
2018-05-25T11:17:12.000Z
lib/chess_app/web/views/layout_view.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
null
null
null
lib/chess_app/web/views/layout_view.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
null
null
null
defmodule ChessApp.Web.LayoutView do use ChessApp.Web, :view def js_script_tag do if Mix.env == :prod do ~s(<script src="/js/app.js"></script>) else ~s(<script src="http://localhost:8080/js/app.js"></script>) end end def css_link_tag do if Mix.env == :prod do ~s(<link rel="st...
25.857143
118
0.629834
0377ffed63c391249d06885da771c22bea00ff8c
487
ex
Elixir
algorithms/medium/continuous_subarray_sum.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
1
2021-05-30T05:06:06.000Z
2021-05-30T05:06:06.000Z
algorithms/medium/continuous_subarray_sum.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
null
null
null
algorithms/medium/continuous_subarray_sum.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
null
null
null
defmodule Solution do @spec check_subarray_sum(nums :: [integer], k :: integer) :: boolean def check_subarray_sum(nums, k) do nums |> Enum.with_index() |> helper(k, 0, %{0 => -1}) end def helper([], _, _, _), do: false def helper([{n, i} | rest], k, sum, m) do sum = sum + n r = rem(sum, k) ...
25.631579
74
0.544148
03781adbc354b665399b93235d1cf7cca8244f40
842
ex
Elixir
lib/stl.ex
alanrobson/hull_stl
5fc7d8ca8a1645264a9eaf2212935df4258b27b1
[ "MIT" ]
null
null
null
lib/stl.ex
alanrobson/hull_stl
5fc7d8ca8a1645264a9eaf2212935df4258b27b1
[ "MIT" ]
null
null
null
lib/stl.ex
alanrobson/hull_stl
5fc7d8ca8a1645264a9eaf2212935df4258b27b1
[ "MIT" ]
null
null
null
defmodule HullSTL.STL do def render_stl([last, triangles]) do IO.puts("solid hull") triangles |> Enum.map(fn t -> _render_triangle(t) end) IO.puts("endsolid hull") end defp _render_triangle(t) do IO.puts(" facet normal #{_point_to_string(t.normal)}") IO.puts(" outer loo...
30.071429
64
0.558195
037821820bbb2a727c1eb7076487fa8e98856020
3,271
ex
Elixir
lib/cforum_web/controllers/moderation_controller.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum_web/controllers/moderation_controller.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum_web/controllers/moderation_controller.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
defmodule CforumWeb.ModerationController do use CforumWeb, :controller use Cforum.Constants alias Cforum.Threads.Thread alias Cforum.Messages.Message alias Cforum.ModerationQueue alias Cforum.ModerationQueue.ModerationQueueEntry alias Cforum.Abilities alias Cforum.Helpers def index(conn, params) ...
32.068627
109
0.689392
03786a4701337202fa217e583c4a7e4a81a6f509
3,126
exs
Elixir
config/config.exs
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
config/config.exs
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
config/config.exs
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config config :phoenix, :json_library, Jason # General application configuration config :con...
30.349515
86
0.690979
03786fa16085878c1319c4862edf719d7e15987e
2,925
ex
Elixir
apps/admin_app/lib/admin_app_web/controllers/permission_controller.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/admin_app/lib/admin_app_web/controllers/permission_controller.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/admin_app/lib/admin_app_web/controllers/permission_controller.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule AdminAppWeb.PermissionController do use AdminAppWeb, :controller alias Snitch.Data.Model.Permission alias Snitch.Data.Schema.Permission, as: PermissionSchema alias AdminAppWeb.Helpers def index(conn, _params) do permissions = Permission.get_all() render(conn, "index.html", permissions: perm...
29.545455
97
0.617436
037875647f38624d07a0b6521d84563ea149593c
4,460
ex
Elixir
apps/gitgud/lib/gitgud/user.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud/lib/gitgud/user.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud/lib/gitgud/user.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
defmodule GitGud.User do @moduledoc """ User account schema and helper functions. """ use Ecto.Schema import Ecto, only: [build_assoc: 2] import Ecto.Changeset import Ecto.Query, only: [from: 2] import Comeonin.Argon2, only: [add_hash: 1, check_pass: 2] alias GitGud.DB alias GitGud.Repo alias...
27.530864
113
0.65426
037877440f293bf3948c9d97411bfab6c57f7967
4,159
exs
Elixir
spec/message_template_spec.exs
mspanc/dbux
294ee5a62f1d1b3fafe97dd85b80829289be55ae
[ "MIT" ]
8
2016-09-18T23:43:30.000Z
2021-05-04T04:23:07.000Z
spec/message_template_spec.exs
mspanc/dbux
294ee5a62f1d1b3fafe97dd85b80829289be55ae
[ "MIT" ]
10
2016-05-31T22:22:01.000Z
2016-09-28T20:11:25.000Z
spec/message_template_spec.exs
mspanc/dbux
294ee5a62f1d1b3fafe97dd85b80829289be55ae
[ "MIT" ]
4
2016-09-14T12:50:26.000Z
2019-11-18T19:48:42.000Z
defmodule DBux.MessageTemplateSpec do use ESpec describe ".hello/1" do context "if no serial is given" do it "returns a valid Hello message with serial set to 0" do expect(described_module.hello()).to eq %DBux.Message{ body: [], destination: "org.freedesktop.DBus", error_name: nil, ...
44.72043
97
0.636451
0378bc1b2e6938ed0d209cce09fdb4302e6d6cb9
1,223
ex
Elixir
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/partition_metric.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/partition_metric.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/partition_metric.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Database.CosmosDb.Model.PartitionMetric do @moduledoc """ The metric values for a single partition. """ @deriv...
30.575
115
0.704007
0378c7adcd6b6c9755d1eeddb4640f5e5b2da7a1
894
ex
Elixir
apps/website/lib/website/application.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
3
2018-07-20T22:14:36.000Z
2018-12-21T19:54:48.000Z
apps/website/lib/website/application.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
36
2018-09-15T21:46:54.000Z
2020-03-28T16:10:18.000Z
apps/website/lib/website/application.ex
gregredhead/belethor
255925396b18ba4a6950f386abf8a9e17a7e5e7c
[ "Apache-2.0" ]
2
2018-07-22T08:47:07.000Z
2021-12-11T01:39:19.000Z
defmodule Website.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false alias WebsiteWeb.Endpoint use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the endpoint wh...
27.9375
66
0.720358
0378cbc4d059f955c3e9316a2f694f329e07cd1a
73
exs
Elixir
test/file_watcher_test.exs
ColdOrange/file_watcher
3cd9fd29c21d990e5d2518b6ffda6114ba1ecab1
[ "MIT" ]
null
null
null
test/file_watcher_test.exs
ColdOrange/file_watcher
3cd9fd29c21d990e5d2518b6ffda6114ba1ecab1
[ "MIT" ]
null
null
null
test/file_watcher_test.exs
ColdOrange/file_watcher
3cd9fd29c21d990e5d2518b6ffda6114ba1ecab1
[ "MIT" ]
1
2019-11-28T14:02:05.000Z
2019-11-28T14:02:05.000Z
defmodule FileWatcherTest do use ExUnit.Case doctest FileWatcher end
14.6
28
0.821918
0378f2e8f81b8e90d129fed626240872be3bf3cc
820
ex
Elixir
lib/cowguest/repo.ex
cedretaber/cowguest
dd41ca95f19820de3707e4b1afa04f901a9e9670
[ "MIT" ]
null
null
null
lib/cowguest/repo.ex
cedretaber/cowguest
dd41ca95f19820de3707e4b1afa04f901a9e9670
[ "MIT" ]
null
null
null
lib/cowguest/repo.ex
cedretaber/cowguest
dd41ca95f19820de3707e4b1afa04f901a9e9670
[ "MIT" ]
null
null
null
defmodule Cowguest.Repo do @moduledoc false def keys(pattern \\ "*") do Redix.command(:redix, ["keys", pattern]) end def get(key, hkey) when is_binary(key) and is_binary(hkey) do Redix.command(:redix, ["hget", key, hkey]) end def get(key, hkey) when is_binary(key), do: get(key, to_string(hkey)) ...
25.625
71
0.586585
037926aac113c5171134e5ecd29054335ca8b37f
4,072
exs
Elixir
test/awesome_list_test.exs
sprql/awesome_elixir
ae1a372bf3060142a546aaf6cb28ffda491d9fa0
[ "MIT" ]
1
2017-04-13T05:37:08.000Z
2017-04-13T05:37:08.000Z
test/awesome_list_test.exs
sprql/awesome_elixir
ae1a372bf3060142a546aaf6cb28ffda491d9fa0
[ "MIT" ]
null
null
null
test/awesome_list_test.exs
sprql/awesome_elixir
ae1a372bf3060142a546aaf6cb28ffda491d9fa0
[ "MIT" ]
null
null
null
defmodule AwesomeElixir.AwesomeListTest do use AwesomeElixir.DataCase alias AwesomeElixir.AwesomeList alias AwesomeElixir.AwesomeList.{Section, Repository} @create_attrs %{description: "some description", name: "some name"} @update_attrs %{description: "some updated description", name: "some updated name"} ...
36.357143
116
0.72225
037941e25a0445d138d9ce06826436ac011ffbc2
4,926
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_worker_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_worker_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_worker_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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...
55.348315
400
0.723508
0379448c1fc639f675ef7939183568c144210200
1,099
exs
Elixir
clients/dataflow/mix.exs
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "Apache-2.0" ]
null
null
null
clients/dataflow/mix.exs
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "Apache-2.0" ]
null
null
null
clients/dataflow/mix.exs
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Dataflow.V1b3.Mixfile do use Mix.Project @version "0.8.0" def project do [app: :google_api_dataflow, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), ...
22.895833
108
0.598726
03794bd132bebef2e131b635666fecf6aefd0327
786
ex
Elixir
lib/cgrates_web_jsonapi/csv_import_job.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
lib/cgrates_web_jsonapi/csv_import_job.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
lib/cgrates_web_jsonapi/csv_import_job.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.CsvImportJob do defmacro __using__(opts) do module = Keyword.get(opts, :module) quote do require Logger use Phoenix.Controller def create(conn, %{"data" => %{"attributes" => %{"tpid" => tpid, "csv" => csv}}}) do id = DateTime.utc_now() |> DateTime.to_uni...
31.44
96
0.576336
03798339d2394136239ba893e8a73b5efa3a5f00
339
ex
Elixir
lib/phoenix_elm_web/router.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
lib/phoenix_elm_web/router.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
lib/phoenix_elm_web/router.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
defmodule PhoenixElmWeb.Router do use PhoenixElmWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end scope "/", PhoenixElmWeb do pipe_through :browser get "/", PageController...
18.833333
36
0.707965
037988521533d00d157efe495b504027e6cd8813
2,694
ex
Elixir
test/elixir/lib/setup.ex
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
1
2022-01-14T20:52:55.000Z
2022-01-14T20:52:55.000Z
test/elixir/lib/setup.ex
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
1
2021-07-28T02:13:39.000Z
2021-07-28T02:13:39.000Z
test/elixir/lib/setup.ex
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
defmodule Couch.Test.Setup do @moduledoc """ Allows to chain setup functions. Example of using: ``` alias Couch,Test.Utils def with_db_name(context, setup) do setup = setup |> Step.Start.new(:start, extra_apps: [:chttpd]) |> Step.User.new(:admin, roles: [:server_admin]...
27.773196
93
0.609503
0379adb3a292681fbef96a06b1e1841371519ec4
1,403
ex
Elixir
lib/chat_api_web/views/slack_authorization_view.ex
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
1
2021-06-17T03:17:24.000Z
2021-06-17T03:17:24.000Z
lib/chat_api_web/views/slack_authorization_view.ex
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
lib/chat_api_web/views/slack_authorization_view.ex
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.SlackAuthorizationView do use ChatApiWeb, :view alias ChatApiWeb.SlackAuthorizationView alias ChatApi.SlackAuthorizations def render("show.json", %{slack_authorization: slack_authorization}) do %{ data: render_one( slack_authorization, SlackAuthorizati...
31.177778
97
0.722024
0379ce29f659c2f2320b841124e9bc359417fcc9
2,120
exs
Elixir
mix.exs
pojiro/vintage_net_wifi
1033585be6c4a8a65e6085e99b9f470711ceec1c
[ "Apache-2.0" ]
null
null
null
mix.exs
pojiro/vintage_net_wifi
1033585be6c4a8a65e6085e99b9f470711ceec1c
[ "Apache-2.0" ]
null
null
null
mix.exs
pojiro/vintage_net_wifi
1033585be6c4a8a65e6085e99b9f470711ceec1c
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetWiFi.MixProject do use Mix.Project @version "0.10.4" @source_url "https://github.com/nerves-networking/vintage_net_wifi" def project do [ app: :vintage_net_wifi, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), test_coverage: [...
23.043478
81
0.551415
037a2e991a8b124c461b5bb2967e8f4e3b7b2ec3
1,652
ex
Elixir
lib/rql/tokens/update.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
9
2022-01-11T10:01:54.000Z
2022-03-31T06:50:59.000Z
lib/rql/tokens/update.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
2
2022-03-21T20:13:13.000Z
2022-03-28T21:07:47.000Z
lib/rql/tokens/update.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
null
null
null
defmodule Ravix.RQL.Tokens.Update do @moduledoc """ RQL Update tokens """ defstruct token: :update, fields: [] alias Ravix.RQL.Tokens.Update @type t :: %Update{ token: atom(), fields: list(map()) } @doc """ Creates a new "set" update operation Returns a `Rav...
25.030303
85
0.595036
037a490703b0ce2810a35dd268ed40f0f01a486b
104
exs
Elixir
config/config.exs
kaashyapan/cognitex
ae2cdbd9b07ef1bfb138e71b1c6a85f6e8adea53
[ "MIT" ]
29
2018-08-12T19:32:59.000Z
2021-07-14T16:45:20.000Z
config/config.exs
kaashyapan/cognitex
ae2cdbd9b07ef1bfb138e71b1c6a85f6e8adea53
[ "MIT" ]
1
2018-11-27T11:11:15.000Z
2018-11-27T11:11:15.000Z
config/config.exs
kaashyapan/cognitex
ae2cdbd9b07ef1bfb138e71b1c6a85f6e8adea53
[ "MIT" ]
9
2018-08-12T19:06:01.000Z
2021-08-12T14:22:35.000Z
use Mix.Config config :aws, key: "", secret: "", region: "", client_id: "", user_pool_id: ""
11.555556
18
0.548077
037a4a8f5b8e08ff29a24ceba1c7dda96845ea86
9,675
ex
Elixir
lib/codes/codes_o46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_o46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_o46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_O46 do alias IcdCode.ICDCode def _O46001 do %ICDCode{full_code: "O46001", category_code: "O46", short_code: "001", full_name: "Antepartum hemorrhage with coagulation defect, unspecified, first trimester", short_name: "Antepartum hemorrhage w...
43.38565
115
0.678656
037a52756cc42a165ac412e0a4d4c4299466cac3
54,322
ex
Elixir
clients/content/lib/google_api/content/v2/api/orders.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/orders.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/orders.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.403963
570
0.670483
037a67ad60f9e2b598d220699a1dcca980613ecc
1,185
ex
Elixir
coherence_demo_no_confirm/lib/coherence_demo_web/coherence_web.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_no_confirm/lib/coherence_demo_web/coherence_web.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_no_confirm/lib/coherence_demo_web/coherence_web.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
defmodule CoherenceDemoWeb.Coherence do @moduledoc false def view do quote do use Phoenix.View, root: "lib/coherence_demo_web/templates" # Import convenience functions from controllers import Phoenix.Controller, only: [get_csrf_token: 0, get_flash: 2, view_module: 1] # Use all HTML fu...
24.6875
88
0.704641
037ac12ebcef1d5f525a31b176c3a49265bddf30
1,265
ex
Elixir
lib/platform_web/controllers/gameplay_controller.ex
LKlemens/platform
837d70503c71e603c2830df9b6c1f8e77cdfe620
[ "MIT" ]
1
2020-02-20T21:57:02.000Z
2020-02-20T21:57:02.000Z
lib/platform_web/controllers/gameplay_controller.ex
LKlemens/platform
837d70503c71e603c2830df9b6c1f8e77cdfe620
[ "MIT" ]
1
2020-03-23T19:22:48.000Z
2020-03-23T19:22:48.000Z
lib/platform_web/controllers/gameplay_controller.ex
LKlemens/platform
837d70503c71e603c2830df9b6c1f8e77cdfe620
[ "MIT" ]
null
null
null
defmodule PlatformWeb.GameplayController do use PlatformWeb, :controller alias Platform.Products alias Platform.Products.Gameplay action_fallback PlatformWeb.FallbackController def index(conn, _params) do gameplays = Products.list_gameplays() render(conn, "index.json", gameplays: gameplays) end ...
28.75
96
0.679051
037b1387237e1fa281997453915433c64170664d
419
exs
Elixir
priv/repo/migrations/2016032505124126_create_batch_histories.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
priv/repo/migrations/2016032505124126_create_batch_histories.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
priv/repo/migrations/2016032505124126_create_batch_histories.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.Repo.Migrations.CreateBatchHistories do use Ecto.Migration def change do create table(:batch_histories) do add :recordable_id, :integer add :type, :string add :name, :string add :message, :string add :scheduled_at, :datetime add :happened_at, :datetime ...
22.052632
55
0.665871
037b14c2b1725e6e64ededfd462f1d04f17257b8
2,595
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info_provider_user_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info_provider_user_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info_provider_user_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.161765
216
0.677071
037b874e23f1a3b6f0d2825f68ebfd8d5adfe2ed
1,982
exs
Elixir
clients/container_analysis/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.58209
188
0.671544
037b9854e58a67c035f33b34e40be34230919a69
420
exs
Elixir
config/test.exs
eeng/blaine
d91d94034925d64632789925ef90a198c0a1d8ea
[ "MIT" ]
null
null
null
config/test.exs
eeng/blaine
d91d94034925d64632789925ef90a198c0a1d8ea
[ "MIT" ]
null
null
null
config/test.exs
eeng/blaine
d91d94034925d64632789925ef90a198c0a1d8ea
[ "MIT" ]
null
null
null
import Config config :blaine, :components, accounts_manager: Blaine.Services.MockAccountsManager, uploads_service: Blaine.Services.MockUploadsService, google_auth_api: Blaine.Google.MockAuthAPI, google_people_api: Blaine.Google.MockPeopleAPI, google_youtube_api: Blaine.Google.MockYouTubeAPI, http_client: B...
32.307692
56
0.82381
037bc25b5b99a846695f003b1ba64dfa2945ee5e
15,529
ex
Elixir
lib/elixir/lib/application.ex
hamiltop/elixir
3b601660d4d4eb0c69f824fcebbbe93a3f2ba463
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/application.ex
hamiltop/elixir
3b601660d4d4eb0c69f824fcebbbe93a3f2ba463
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/application.ex
hamiltop/elixir
3b601660d4d4eb0c69f824fcebbbe93a3f2ba463
[ "Apache-2.0" ]
null
null
null
defmodule Application do @moduledoc """ A module for working with applications and defining application callbacks. In Elixir (actually, in Erlang/OTP), an application is a component implementing some specific functionality, that can be started and stopped as a unit, and which can be re-used in other systems....
32.284823
107
0.69309
037c199baf1d968c0335b29da168696c30a024df
429
exs
Elixir
apps/core/priv/prm_repo/migrations/20170922121046_create_medical_program.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/prm_repo/migrations/20170922121046_create_medical_program.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/prm_repo/migrations/20170922121046_create_medical_program.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.PRMRepo.Migrations.CreateMedicalProgram do use Ecto.Migration def change do create table(:medical_programs, primary_key: false) do add(:id, :uuid, primary_key: true) add(:name, :string, null: false) add(:is_active, :boolean, null: false) add(:inserted_by, :uuid, null: fal...
26.8125
58
0.678322
037c4346b23b0929f50ba5799921a5e661b4406f
1,002
exs
Elixir
test/tailwind_test.exs
skunkwerks/tailwind
73b220315e4cce5dd3716e978389b41aa9314614
[ "MIT" ]
null
null
null
test/tailwind_test.exs
skunkwerks/tailwind
73b220315e4cce5dd3716e978389b41aa9314614
[ "MIT" ]
null
null
null
test/tailwind_test.exs
skunkwerks/tailwind
73b220315e4cce5dd3716e978389b41aa9314614
[ "MIT" ]
null
null
null
defmodule TailwindTest do use ExUnit.Case, async: true @version Tailwind.latest_version() test "run on default" do assert ExUnit.CaptureIO.capture_io(fn -> assert Tailwind.run(:default, ["--help"]) == 0 end) =~ @version assert File.exists?("assets/tailwind.config.js") end te...
27.081081
59
0.60479
037c68b59c2f866cb952e2e527eea2de0b1bc807
347
exs
Elixir
priv/repo/seeds.exs
harmon25/phonix_react
390d2663d1d796224588d94c5073b3bac600bb7f
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
harmon25/phonix_react
390d2663d1d796224588d94c5073b3bac600bb7f
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
harmon25/phonix_react
390d2663d1d796224588d94c5073b3bac600bb7f
[ "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: # # PhoenixReact.Repo.insert!(%SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fai...
28.916667
61
0.706052
037c75a26a60e965c8b66c99bb66d743c87268ea
631
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/BinaryWholeNumber.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/BinaryWholeNumber.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/matched_call_operation/matched_expression_parsing_test_case/BinaryWholeNumber.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
0b10 &one 0b10 one \\ default 0b10 one when guard 0b10 one :: type 0b10 one | new 0b10 one = two 0b10 one or two 0b10 one || two 0b10 one and two 0b10 one && two 0b10 one != two 0b10 one < two 0b10 one |> two 0b10 one + two 0b10 one / two 0b10 one * two 0b10 one ^^^ two 0b10 !one 0b10 One.Two 0b10 One.two 0b10 @one 0b1...
12.62
23
0.662441
037c8f16ed1f0727c3e6125e05e832d2edcb3b4f
424
ex
Elixir
lib/hacker_news_aggregator_web/controllers/fallback_controller.ex
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
lib/hacker_news_aggregator_web/controllers/fallback_controller.ex
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
lib/hacker_news_aggregator_web/controllers/fallback_controller.ex
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
defmodule HackerNewsAggregatorWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use HackerNewsAggregatorWeb, :controller def call(conn, {:error, :not_found}) do conn |> pu...
26.5
72
0.733491
037c9214adbef37da7aeedb1cb4d71030d849771
1,544
ex
Elixir
test/support/data_case.ex
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
4
2021-02-22T18:27:51.000Z
2021-02-28T21:54:12.000Z
test/support/data_case.ex
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
null
null
null
test/support/data_case.ex
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
null
null
null
defmodule Chewiepay.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to...
27.571429
77
0.691062
037cefd87454bf3d2407878af481af68a1f2d6a3
858
exs
Elixir
elixir/06_Retirement_Calculator/retirement_calculator.exs
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
1
2021-11-04T11:49:46.000Z
2021-11-04T11:49:46.000Z
elixir/06_Retirement_Calculator/retirement_calculator.exs
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
8
2019-12-16T09:37:36.000Z
2020-07-02T06:00:30.000Z
elixir/06_Retirement_Calculator/retirement_calculator.exs
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
null
null
null
handle = &case &1 do :error -> IO.puts("Invalid input.") exit(:shutdown) {int, rest} -> if rest != "" do IO.puts("#{rest} has been truncated.") end if int < 0 do IO.puts("Negative values are not allowed.") exit(:shutdown) end int end inpu...
21.45
83
0.565268
037d0a72ce14f4a52527d88c47b9d5bacb2cf26a
1,628
exs
Elixir
apps/omg_eth/test/omg_eth/release_tasks/set_ethereum_stalled_sync_threshold_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_eth/test/omg_eth/release_tasks/set_ethereum_stalled_sync_threshold_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_eth/test/omg_eth/release_tasks/set_ethereum_stalled_sync_threshold_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
41.74359
102
0.760442
037d128483bbc399a1ea6453ef5b496419e6ebab
2,741
ex
Elixir
lib/ecto/repo/supervisor.ex
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/supervisor.ex
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/supervisor.ex
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo.Supervisor do @moduledoc false use Supervisor @doc """ Starts the repo supervisor. """ def start_link(repo, otp_app, adapter, opts) do opts = config(repo, otp_app, opts) Supervisor.start_link(__MODULE__, {repo, otp_app, adapter, opts}, [name: repo]) end @doc """ Retrieves...
28.257732
92
0.63371
037d2e0d9f3194b7409f5b07816b7b20e00f58cf
449
exs
Elixir
test/documents_design_web/views/error_view_test.exs
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
test/documents_design_web/views/error_view_test.exs
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
test/documents_design_web/views/error_view_test.exs
documents-org/documents.design-el
6976254e175232afe5e913c29b04c13a86d2e9a2
[ "MIT" ]
null
null
null
defmodule DocumentsDesignWeb.ErrorViewTest do use DocumentsDesignWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(DocumentsDesignWeb.ErrorView, "404.html", []) == "Not Found" end test "ren...
29.933333
100
0.752784
037d46070c02f00140d78b5e03c6ae2d4af3f3d3
1,827
exs
Elixir
clients/calendar/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/calendar/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/calendar/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.268657
99
0.655172
037d588250d11cb0e16a2762f98eb646e7ec1a72
86
exs
Elixir
test/iex_line_bot_web/views/page_view_test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
1
2019-06-24T23:55:26.000Z
2019-06-24T23:55:26.000Z
test/iex_line_bot_web/views/page_view_test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
test/iex_line_bot_web/views/page_view_test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
defmodule IexLineBotWeb.PageViewTest do use IexLineBotWeb.ConnCase, async: true end
21.5
41
0.837209
037d61c56a0de8d99f514598e96b2fb0884e0aa4
1,657
ex
Elixir
clients/content/lib/google_api/content/v2/model/liasettings_request_inventory_verification_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/liasettings_request_inventory_verification_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/liasettings_request_inventory_verification_response.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 &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...
31.264151
178
0.756186
037d6fbc6ee4f07fa8ad2ace5aac57bb899c6f13
201
ex
Elixir
programming/elixir/hello-world-elixir-web-app-in-3-variants/variant-2-plug/lib/hello_world.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/hello-world-elixir-web-app-in-3-variants/variant-2-plug/lib/hello_world.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/hello-world-elixir-web-app-in-3-variants/variant-2-plug/lib/hello_world.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
defmodule HelloWorld do use Application def start(_type, _args) do port = Application.get_env(:hello_world, :port) Plug.Adapters.Cowboy.http(HelloWorld.Router, [], [port: port]) end end
22.333333
66
0.716418
037d91d85073f1a99c8d78b0984bf0708f3b3dac
449
ex
Elixir
lib/membrane_fake_plugin/sink_buffers.ex
membraneframework/membrane_fake_plugin
5afab04f0f5f4691ab1ff4e2edf2b265796d3e25
[ "Apache-2.0" ]
1
2018-07-27T14:16:12.000Z
2018-07-27T14:16:12.000Z
lib/membrane_fake_plugin/sink_buffers.ex
membraneframework/membrane_fake_plugin
5afab04f0f5f4691ab1ff4e2edf2b265796d3e25
[ "Apache-2.0" ]
3
2018-10-15T08:04:11.000Z
2020-06-09T09:47:34.000Z
lib/membrane_fake_plugin/sink_buffers.ex
membraneframework/membrane_fake_plugin
5afab04f0f5f4691ab1ff4e2edf2b265796d3e25
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Fake.Sink.Buffers do @moduledoc """ Fake sink that ignores coming data. It makes demands in buffers. """ use Membrane.Sink def_input_pad :input, demand_unit: :buffers, caps: :any @impl true def handle_prepared_to_playing(_ctx, state) do {{:ok, demand: :input}, state} end @im...
22.45
66
0.690423
037dc3fda42b8ed011636ab49b88cbaee825edad
7,327
exs
Elixir
test/mix/tasks/nbx.gen.cache_test.exs
RudolfMan/nebulex
9cf2a1b66d538ba66e8d0fd195485a32772fdf04
[ "MIT" ]
null
null
null
test/mix/tasks/nbx.gen.cache_test.exs
RudolfMan/nebulex
9cf2a1b66d538ba66e8d0fd195485a32772fdf04
[ "MIT" ]
1
2021-08-02T18:06:24.000Z
2021-08-02T18:06:24.000Z
test/mix/tasks/nbx.gen.cache_test.exs
RudolfMan/nebulex
9cf2a1b66d538ba66e8d0fd195485a32772fdf04
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Nbx.Gen.CacheTest do use ExUnit.Case import Mix.Tasks.Nbx.Gen.Cache, only: [run: 1] describe "nbx.gen.cache" do test "generates a new cache" do in_tmp("new_cache", fn -> run(["-c", "Cache"]) assert_file("lib/cache.ex", """ defmodule Cache do use N...
29.425703
96
0.554115
037e1634f5e710f740eae45c8669379e4f4acc25
69
ex
Elixir
web/views/page_view.ex
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
1
2018-03-07T17:21:58.000Z
2018-03-07T17:21:58.000Z
web/views/page_view.ex
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
null
null
null
web/views/page_view.ex
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
null
null
null
defmodule PhoenixAdmin.PageView do use PhoenixAdmin.Web, :view end
17.25
34
0.811594
037e1682ef75d95070beb32952217c64d2a2212a
3,017
ex
Elixir
lib/ex_aws/s3/upload.ex
kianmeng/ex_aws_s3
38ff1381c45118eb73230b55f95a4d2ade8f5c8b
[ "MIT", "Unlicense" ]
null
null
null
lib/ex_aws/s3/upload.ex
kianmeng/ex_aws_s3
38ff1381c45118eb73230b55f95a4d2ade8f5c8b
[ "MIT", "Unlicense" ]
null
null
null
lib/ex_aws/s3/upload.ex
kianmeng/ex_aws_s3
38ff1381c45118eb73230b55f95a4d2ade8f5c8b
[ "MIT", "Unlicense" ]
null
null
null
defmodule ExAws.S3.Upload do @moduledoc """ Represents an AWS S3 Multipart Upload operation. Implements `ExAws.Operation.perform/2` ## Examples ``` "path/to/big/file" |> S3.Upload.stream_file |> S3.upload("my-bucket", "path/on/s3") |> ExAws.request! #=> :done ``` See `ExAws.S3.upload/4` for opt...
27.935185
107
0.641034
037ec4b1a92e379fb0d0035a383cd012e819fb48
2,874
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/arima_model_info.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/arima_model_info.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/arima_model_info.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...
46.354839
280
0.731733
037edda6eb6e21b2a506d45cf8d234b816f1a26b
98
exs
Elixir
test/ueberauth_example_web/views/page_view_test.exs
rerb/ueberauth_example
1a08d578dfeaca5b77d213b1abbc53913f2a3b37
[ "MIT" ]
210
2015-11-19T01:54:04.000Z
2021-11-14T18:14:57.000Z
test/ueberauth_example_web/views/page_view_test.exs
rerb/ueberauth_example
1a08d578dfeaca5b77d213b1abbc53913f2a3b37
[ "MIT" ]
63
2015-11-19T00:08:29.000Z
2021-09-07T03:04:36.000Z
test/ueberauth_example_web/views/page_view_test.exs
rerb/ueberauth_example
1a08d578dfeaca5b77d213b1abbc53913f2a3b37
[ "MIT" ]
102
2015-11-20T11:47:12.000Z
2022-03-23T11:10:38.000Z
defmodule UeberauthExampleWeb.PageViewTest do use UeberauthExampleWeb.ConnCase, async: true end
24.5
47
0.857143
037ee73e6bbb133c06dc682806e35fe26bdd8ecf
1,682
ex
Elixir
clients/logging/lib/google_api/logging/v2/model/label_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/label_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/logging/lib/google_api/logging/v2/model/label_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.735849
110
0.704518
037ee924afbebe4dcf62318aa43d600de5196a72
2,224
exs
Elixir
examples/demo/mix.exs
fhunleth/nerves_initramfs
3f24e4a98cd1b37a69e86eea39a9b05f839d43da
[ "Apache-2.0" ]
4
2020-01-16T10:17:53.000Z
2021-11-14T22:06:53.000Z
examples/demo/mix.exs
fhunleth/nerves_initramfs
3f24e4a98cd1b37a69e86eea39a9b05f839d43da
[ "Apache-2.0" ]
8
2019-11-26T14:42:59.000Z
2020-01-08T20:17:57.000Z
examples/demo/mix.exs
fhunleth/nerves_initramfs
3f24e4a98cd1b37a69e86eea39a9b05f839d43da
[ "Apache-2.0" ]
2
2019-11-22T17:24:07.000Z
2019-11-25T19:38:40.000Z
defmodule Demo.MixProject do use Mix.Project @app :demo @version "0.1.0" @all_targets [:rpi, :rpi0, :rpi2, :rpi3, :rpi3a, :rpi4, :bbb, :x86_64] def project do [ app: @app, version: @version, elixir: "~> 1.9", archives: [nerves_bootstrap: "~> 1.6"], start_permanent: Mix.env(...
30.465753
79
0.600719
037f0547eb813be09845b9d81b59e817d2fe02c7
33,824
ex
Elixir
lib/surface/compiler/eex_engine.ex
kianmeng/surface
9fe00d3d1c5411f9763f0add96dc84cb8375e54c
[ "MIT" ]
null
null
null
lib/surface/compiler/eex_engine.ex
kianmeng/surface
9fe00d3d1c5411f9763f0add96dc84cb8375e54c
[ "MIT" ]
null
null
null
lib/surface/compiler/eex_engine.ex
kianmeng/surface
9fe00d3d1c5411f9763f0add96dc84cb8375e54c
[ "MIT" ]
null
null
null
defmodule Surface.Compiler.EExEngine do @moduledoc """ This module glues together surface's AST and Phoenix.LiveView.Engine to actually render an AST. It takes a list of Surface AST nodes, and processes them into a sequence of static raw html items and dynamic pieces. It then converts these into tokens which a...
30.665458
120
0.628311
037f0cab573da6f77fa4195e4fcdc98bbfb3e440
1,667
exs
Elixir
implements/bank-account/account.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
implements/bank-account/account.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
1
2018-06-19T18:59:41.000Z
2018-06-19T18:59:41.000Z
implements/bank-account/account.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
defmodule BankAccount do @moduledoc """ A bank account that supports access from multiple processes. """ use GenServer #defstruct name: "", balance: 0, last_updated: "" #def start_link() do # GenServer.start_link(__MODULE__, [],[]) #end def init(_args) do {:ok, 0} end def handle_call(:balan...
23.152778
80
0.638272
037f2894b42c9c576231c7589389d50ec6a49159
1,327
exs
Elixir
config/config.exs
temp/opencov
0fc7d5af8d4d88162f9f74f371ed5799a0c8808e
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
config/config.exs
temp/opencov
0fc7d5af8d4d88162f9f74f371ed5799a0c8808e
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
config/config.exs
temp/opencov
0fc7d5af8d4d88162f9f74f371ed5799a0c8808e
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
use Mix.Config config :opencov, Opencov.Endpoint, url: [host: "localhost"], root: Path.dirname(__DIR__), secret_key_base: "tfYGCfFfu10pV8G5gtUJ1do3LDwnu+eWBfL1sNtK8+bEwo6gNzFQZtWkdNQVlt+V", render_errors: [accepts: ~w(html json)], pubsub_server: Opencov.PubSub config :opencov, badge_format: "svg", base_...
24.574074
86
0.71364
037f2b5f3b98e5aa4fd729e40ef136e9bfd761ba
3,490
ex
Elixir
lib/spear/grpc/response.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
34
2021-04-15T22:16:38.000Z
2022-03-11T10:20:11.000Z
lib/spear/grpc/response.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
32
2021-04-05T18:07:35.000Z
2021-11-04T19:32:58.000Z
lib/spear/grpc/response.ex
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
1
2021-10-11T15:53:42.000Z
2021-10-11T15:53:42.000Z
alias Spear.{Connection.Response, Grpc, Rpc} defmodule Grpc.Response do @moduledoc false # a structure and functions for turning a `Spear.Connection.Response` into # a more friendly and usable data structure defstruct [:status, :status_code, :message, :data] # status code information and usages from # h...
29.083333
100
0.583954
037f32990a189ccc39acfb228df13934b1602841
1,132
exs
Elixir
elixir-phoenix/mix.exs
duijf/boilerplates
a0aecb0de2c2a3f77ae8eeab1a030f4abc38959f
[ "MIT" ]
null
null
null
elixir-phoenix/mix.exs
duijf/boilerplates
a0aecb0de2c2a3f77ae8eeab1a030f4abc38959f
[ "MIT" ]
null
null
null
elixir-phoenix/mix.exs
duijf/boilerplates
a0aecb0de2c2a3f77ae8eeab1a030f4abc38959f
[ "MIT" ]
null
null
null
defmodule App.Umbrella.MixProject do use Mix.Project def project do [ apps_path: "apps", version: "0.1.0", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases() ] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path re...
24.608696
84
0.640459
037f99470cdeb62a9f3614d712d24c59681c406d
2,277
exs
Elixir
test/blog/web/controllers/tag_controller_test.exs
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
2
2017-06-08T23:28:13.000Z
2017-06-08T23:28:16.000Z
test/blog/web/controllers/tag_controller_test.exs
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
null
null
null
test/blog/web/controllers/tag_controller_test.exs
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
null
null
null
defmodule Blog.Web.TagControllerTest do use Blog.Web.ConnCase alias Blog.Org @create_attrs %{active: true, list: [], slug: "some slug"} @update_attrs %{active: false, list: [], slug: "some updated slug"} @invalid_attrs %{active: nil, list: nil, slug: nil} def fixture(:tag) do {:ok, tag} = Org.create_...
32.528571
93
0.659201
037f9ab40c45f3cfc23d6c9e9e981ac9270c5535
9,689
exs
Elixir
test/mustachex_test.exs
jui/mustachex
7686ab64c0177f6342150c881b08922afce8b42f
[ "MIT" ]
20
2015-01-29T22:14:55.000Z
2020-10-02T23:40:40.000Z
test/mustachex_test.exs
jui/mustachex
7686ab64c0177f6342150c881b08922afce8b42f
[ "MIT" ]
2
2015-04-23T14:27:48.000Z
2017-07-23T12:41:27.000Z
test/mustachex_test.exs
jui/mustachex
7686ab64c0177f6342150c881b08922afce8b42f
[ "MIT" ]
8
2015-08-06T00:16:22.000Z
2021-08-20T09:40:31.000Z
Code.require_file "test_helper.exs", __DIR__ defmodule MustachexTest do use ExUnit.Case test "render simple using lists" do assert Mustachex.render("Hello, {{name}}", [name: "Mustache"]) == "Hello, Mustache" end test "render multi line using lists" do assert Mustachex.render("Hello\n{{name}}", [name:...
34.978339
211
0.615027
037fb873e28330537f492c5eadd7d0b60027becc
1,657
ex
Elixir
lib/emq_event_store.ex
127labs/emq-event-store
0ce4aaed691f09e0e8cb19a8971919ce8fd5a056
[ "Apache-2.0" ]
1
2017-06-15T09:34:10.000Z
2017-06-15T09:34:10.000Z
lib/emq_event_store.ex
127labs/emq-event-store
0ce4aaed691f09e0e8cb19a8971919ce8fd5a056
[ "Apache-2.0" ]
2
2017-06-23T15:52:58.000Z
2017-06-23T15:54:14.000Z
lib/emq_event_store.ex
127labs/emq-event-store
0ce4aaed691f09e0e8cb19a8971919ce8fd5a056
[ "Apache-2.0" ]
null
null
null
##-------------------------------------------------------------------- ## Copyright (c) 2016-2017 EMQ Enterprise, Inc. (http://emqtt.io) ## ## 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 ##...
30.127273
107
0.629451
038000cc3ec28df4c54f329ee9dcb8c4237fcf96
1,525
ex
Elixir
lib/parsers/integer_parser.ex
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
lib/parsers/integer_parser.ex
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
lib/parsers/integer_parser.ex
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
defmodule ServerUtils.Parsers.IntegerParser do @moduledoc """ Module to simplify the parsing of an Integer value. It provides a bang! function that will raise an error if the parsing failed. """ @doc """ Parses an integer value. It returns the integer value or throws an error if something failed. ##...
24.596774
83
0.676721
0380036ef2c70904d326d0b9d384d08af75f6cc9
2,177
exs
Elixir
config/dev.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
4
2019-04-21T05:46:19.000Z
2021-09-13T01:56:33.000Z
config/dev.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
1
2020-09-24T00:13:40.000Z
2020-09-24T00:13:40.000Z
config/dev.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
3
2019-10-26T01:41:53.000Z
2020-09-21T01:13:02.000Z
use Mix.Config # Configure your database config :nano_planner, NanoPlanner.Repo, username: "postgres", password: "postgres", database: "nano_planner_dev", hostname: "postgres", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and c...
28.272727
68
0.696371
03800c49d1450d343c5ac0a8e82d8724c6d7b494
1,360
exs
Elixir
hello_naked/mix.exs
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
16
2021-11-08T12:15:27.000Z
2022-02-11T01:00:20.000Z
hello_naked/mix.exs
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
null
null
null
hello_naked/mix.exs
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
2
2021-11-19T11:32:58.000Z
2022-01-16T00:36:32.000Z
defmodule HelloNaked.MixProject do use Mix.Project def project do [ app: :hello_naked, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps() ...
23.859649
84
0.603676
03801fd1597e74506a3fe3563aca3c2cbb80779e
962
ex
Elixir
clients/elixir/generated/lib/cloud_manager_api/model/environment_logs.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
3
2020-06-23T05:31:52.000Z
2020-11-26T05:34:57.000Z
clients/elixir/generated/lib/cloud_manager_api/model/environment_logs.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
2
2021-01-21T01:19:54.000Z
2021-12-09T22:30:22.000Z
clients/elixir/generated/lib/cloud_manager_api/model/environment_logs.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
1
2020-11-18T11:48:13.000Z
2020-11-18T11:48:13.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule CloudManagerAPI.Model.EnvironmentLogs do @moduledoc """ Logs of an Environment """ @derive [Poison.Encoder] defstruct [ :"service", ...
26
97
0.678794
038030bbf966a3fd5ac701be5c2aef46eda60e9d
1,387
exs
Elixir
nucleotide-count/nucleotide_count.exs
Pompeu/exercism
29afcee4fbf48f5e7d91359bea871585438c8245
[ "MIT" ]
null
null
null
nucleotide-count/nucleotide_count.exs
Pompeu/exercism
29afcee4fbf48f5e7d91359bea871585438c8245
[ "MIT" ]
null
null
null
nucleotide-count/nucleotide_count.exs
Pompeu/exercism
29afcee4fbf48f5e7d91359bea871585438c8245
[ "MIT" ]
null
null
null
defmodule DNA do @nucleotides [?A, ?C, ?G, ?T] @doc """ Counts individual nucleotides in a DNA strand. ## Examples iex> DNA.count('AATAA', ?A) 4 iex> DNA.count('AATAA', ?T) 1 """ @spec count([char], char) :: non_neg_integer def count(strand, nucleotide) do len = Enum.concat(@nucleotides, ...
25.685185
92
0.563086
03807ba32935e71eb9bfa0fdfab898f9fd736e6d
142
exs
Elixir
chapter_12/todo_distributed/test/test_helper.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T11:55:58.000Z
2021-08-22T13:19:56.000Z
chapter_13/todo_release/test/test_helper.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
null
null
null
chapter_13/todo_release/test/test_helper.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T21:19:45.000Z
2021-08-22T13:20:03.000Z
ExUnit.start() ExUnit.after_suite(fn _ -> Application.fetch_env!(:todo, :database) |> Keyword.fetch!(:db_folder) |> File.rm_rf!() end)
17.75
42
0.676056
0380a5d9209c8663ab883baeccb87aec75883754
1,504
exs
Elixir
test/controllers/comment_controller_test.exs
mwindholtz/has_many_blog
521f13c8b91620713a305f44040581276d162abc
[ "Apache-2.0" ]
7
2016-12-15T00:33:22.000Z
2019-04-24T20:42:17.000Z
test/controllers/comment_controller_test.exs
mwindholtz/has_many_blog
521f13c8b91620713a305f44040581276d162abc
[ "Apache-2.0" ]
1
2017-07-19T16:41:35.000Z
2017-07-19T16:41:35.000Z
test/controllers/comment_controller_test.exs
mwindholtz/has_many_blog
521f13c8b91620713a305f44040581276d162abc
[ "Apache-2.0" ]
2
2017-04-28T21:52:38.000Z
2020-04-24T14:41:31.000Z
defmodule Blog.CommentControllerTest do use Blog.ConnCase alias Blog.Post alias Blog.Comment @valid_attrs %{body: "some content"} @invalid_attrs %{} setup do post_attrs = %{body: "some content", title: "some content"} changeset = Post.changeset(%Post{}, post_attrs) {:ok, post} = Repo.inser...
32.695652
91
0.684176
0380aa4e5c136a486b382c5434c9e93ed2f2c201
2,226
exs
Elixir
config/dev.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "MIT" ]
null
null
null
config/dev.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "MIT" ]
null
null
null
config/dev.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :petal, Petal.Repo, username: System.get_env("POSTGRES_USER") || "postgres", password: System.get_env("POSTGRERS_PASSWORD") || "postgres", hostname: System.get_env("POSTGRES_HOST") || "postgres", database: "petal_dev", show_sensitive_data_on_connection_error: t...
29.289474
68
0.691375
0380aabaeffa32198bdae0a06b90b84efa1fc6ce
1,709
ex
Elixir
clients/content/lib/google_api/content/v21/model/orders_create_test_return_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_create_test_return_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/orders_create_test_return_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.245283
153
0.745465
0380af7de7a3c3aaa2278d07de7a9fddece9d8c1
99
ex
Elixir
web/admin/user.ex
xelcer/phoenix_demo
84dc516441dd715db7e24b1384c2fea3adffe0f7
[ "MIT" ]
null
null
null
web/admin/user.ex
xelcer/phoenix_demo
84dc516441dd715db7e24b1384c2fea3adffe0f7
[ "MIT" ]
null
null
null
web/admin/user.ex
xelcer/phoenix_demo
84dc516441dd715db7e24b1384c2fea3adffe0f7
[ "MIT" ]
null
null
null
defmodule Demo.ExAdmin.User do use ExAdmin.Register register_resource Demo.User do end end
12.375
32
0.777778