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
0805eb7769023d4a96f2f261b4f065f3eb64d813
1,665
ex
Elixir
lib/mix/tasks/gil.ex
modalsoul/Gil
db85866a52ba1e99fdb2e83b54233197f128654d
[ "MIT" ]
null
null
null
lib/mix/tasks/gil.ex
modalsoul/Gil
db85866a52ba1e99fdb2e83b54233197f128654d
[ "MIT" ]
null
null
null
lib/mix/tasks/gil.ex
modalsoul/Gil
db85866a52ba1e99fdb2e83b54233197f128654d
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Gil do use Mix.Task @shortdoc "Exchange rate check command" def run(args) do result = case currencies(args) do {:ok, {currency_a, currency_b}} -> case parse_response(get_rate(currency_a, currency_b)) do {:ok, rate} -> "#{String.upcase(currency_a)}/#{St...
25.227273
98
0.559159
0805ee63628711ae5d0cf905a7fd77507ae65a5e
11,058
ex
Elixir
debian/manpage.xml.ex
sharkwouter/vaporos-flatpak-manager
da1dce2a806fdb51aa9366408ace50c28fbc3ff6
[ "MIT" ]
null
null
null
debian/manpage.xml.ex
sharkwouter/vaporos-flatpak-manager
da1dce2a806fdb51aa9366408ace50c28fbc3ff6
[ "MIT" ]
21
2019-09-15T08:42:58.000Z
2021-08-28T16:48:54.000Z
debian/manpage.xml.ex
sharkwouter/vaporos-flatpak-manager
da1dce2a806fdb51aa9366408ace50c28fbc3ff6
[ "MIT" ]
null
null
null
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!-- `xsltproc -''-nonet \ -''-param man.charmap.use.subset "0" \ -''-param make.year.ranges "1" \ -''-param make.single.year.r...
37.869863
84
0.633297
08060b09518cdf82d9f05bfd49f5c054da624fd2
584
exs
Elixir
made_at_eps/config/test.exs
EastsidePreparatorySchool/MadeAtEPS
cea5b6db5772ad4ad78b2bfb8ebd6643c35c38cb
[ "MIT" ]
null
null
null
made_at_eps/config/test.exs
EastsidePreparatorySchool/MadeAtEPS
cea5b6db5772ad4ad78b2bfb8ebd6643c35c38cb
[ "MIT" ]
null
null
null
made_at_eps/config/test.exs
EastsidePreparatorySchool/MadeAtEPS
cea5b6db5772ad4ad78b2bfb8ebd6643c35c38cb
[ "MIT" ]
null
null
null
import Config # We don't run a server during test. If one is required, # you can enable the server option below. config :made_at_eps, MadeAtEpsWeb.Endpoint, http: [ip: {127, 0, 0, 1}, port: 4002], secret_key_base: "bPDEOb86f9Fe4XAQ9oTXVjRDbLczby+fgYrOBGQ64lUWvL0BAT+7upYBu8YFaOa7", server: false # In test we don...
30.736842
86
0.767123
080648721a954a0cc63d18ae958543add151cd57
2,809
exs
Elixir
mix.exs
zacky1972/swift_elixir_test
a60bace9478452f8c8e8a7016ccd495acef4b7b8
[ "Apache-2.0" ]
null
null
null
mix.exs
zacky1972/swift_elixir_test
a60bace9478452f8c8e8a7016ccd495acef4b7b8
[ "Apache-2.0" ]
null
null
null
mix.exs
zacky1972/swift_elixir_test
a60bace9478452f8c8e8a7016ccd495acef4b7b8
[ "Apache-2.0" ]
null
null
null
defmodule SwiftElixirTest.MixProject do use Mix.Project def project do [ app: :swift_elixir_test, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), compilers: [:elixir_make] ++ Mix.compilers(), aliases: [ compile: [&autorec...
26.009259
88
0.491278
0806729bf2f418ca2daa9dbf699f0070d75b9212
799
ex
Elixir
stringStuff.ex
ayarhlaine/hello-elixir
57b19cd8bf0bd7bd8217b71a482c0da53ce8ae85
[ "MIT" ]
null
null
null
stringStuff.ex
ayarhlaine/hello-elixir
57b19cd8bf0bd7bd8217b71a482c0da53ce8ae85
[ "MIT" ]
null
null
null
stringStuff.ex
ayarhlaine/hello-elixir
57b19cd8bf0bd7bd8217b71a482c0da53ce8ae85
[ "MIT" ]
null
null
null
# This module contain string methods. defmodule StringStuff do def main do my_first_str = "My String" my_longer_str = my_first_str <> " " <> "is longer" IO.puts "First string length : #{String.length(my_first_str)}" IO.puts "Longer string length : #{String.length(my_longer_str)}" IO.puts "Equal : ...
39.95
68
0.680851
080685c80a622a9ed23d22f6e708c6a72c4bd135
734
ex
Elixir
lib/subtitle.ex
san650/subtitle
d0bc4252b1b84fb167d09e68d4f1c977037f7f40
[ "MIT" ]
null
null
null
lib/subtitle.ex
san650/subtitle
d0bc4252b1b84fb167d09e68d4f1c977037f7f40
[ "MIT" ]
3
2019-09-15T16:04:36.000Z
2019-09-16T13:01:23.000Z
lib/subtitle.ex
san650/subtitle
d0bc4252b1b84fb167d09e68d4f1c977037f7f40
[ "MIT" ]
1
2021-04-24T07:40:12.000Z
2021-04-24T07:40:12.000Z
alias Subtitle.SubRip alias Subtitle.MicroDVD defmodule Subtitle do @moduledoc """ Documentation for Subtitle. """ @doc """ Returns a stream of %Subtitle.Frame{} structs """ def from_file(path, options \\ []) do file_options = case Keyword.get(options, :encoding) do nil -> [] e...
21.588235
78
0.648501
08071fed6155e0004b2bfa7364630edf347cd566
5,469
ex
Elixir
apps/rig_inbound_gateway/lib/rig_inbound_gateway_web/presence/channel.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/lib/rig_inbound_gateway_web/presence/channel.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/lib/rig_inbound_gateway_web/presence/channel.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
defmodule RigInboundGatewayWeb.Presence.Channel do @moduledoc """ The presence channel is used to track a user's connected devices. To this end, there is also only a single room for every user. This is used, for instance, by the Kafka consumer code to broadcast incoming messages to the target users' channels...
31.431034
88
0.681477
08073b7506d19a8a27db9ed151c51f894e9c95d2
285
ex
Elixir
lib/magpie_web/views/custom_record_view.ex
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
1
2020-05-31T21:54:40.000Z
2020-05-31T21:54:40.000Z
lib/magpie_web/views/custom_record_view.ex
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
64
2019-07-29T22:06:16.000Z
2022-03-28T23:46:58.000Z
lib/magpie_web/views/custom_record_view.ex
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
1
2021-02-06T10:23:25.000Z
2021-02-06T10:23:25.000Z
defmodule Magpie.CustomRecordView do use MagpieWeb, :view def get_endpoint_url(type, id) do base_url = Application.get_env(:magpie, :real_url, Magpie.Endpoint.url()) path = Magpie.Router.Helpers.custom_record_path(Magpie.Endpoint, type, id) base_url <> path end end
28.5
78
0.74386
08077175988587b3aaee7644afa579ff1880ada8
1,615
ex
Elixir
clients/content/lib/google_api/content/v2/model/lia_about_page_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/lia_about_page_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/lia_about_page_settings.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...
29.363636
114
0.700929
0807c057ea8e735ffd7a027b2b5803d7c3cd4de6
1,220
exs
Elixir
mix.exs
vsajip/ex-cfg-lib
8fcef6ef3f33f55071ef31d5a4b63b298ed21ce1
[ "BSD-3-Clause" ]
null
null
null
mix.exs
vsajip/ex-cfg-lib
8fcef6ef3f33f55071ef31d5a4b63b298ed21ce1
[ "BSD-3-Clause" ]
null
null
null
mix.exs
vsajip/ex-cfg-lib
8fcef6ef3f33f55071ef31d5a4b63b298ed21ce1
[ "BSD-3-Clause" ]
null
null
null
# # Copyright (C) 2021 Vinay Sajip <vinay_sajip@yahoo.co.uk> # # See LICENSE file for usage rights. # defmodule CFG.MixProject do use Mix.Project def project do [ app: :cfg_lib, version: "0.1.0", elixir: "~> 1.1-dev", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() ...
22.592593
70
0.588525
0807c856aa9831c3bea398f7c61559a97b15773c
1,188
ex
Elixir
lib/trento/application/usecases/tags/tags.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
lib/trento/application/usecases/tags/tags.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
lib/trento/application/usecases/tags/tags.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.Tags do @moduledoc """ Tag related functions """ import Ecto.Query alias Trento.Tag alias Trento.Repo @type taggable_resource :: :host | :cluster | :sap_system | :database @spec add_tag(String.t(), Ecto.UUID.t(), taggable_resource) :: {:ok, Ecto.Schema.t()} | {:error, any...
22.846154
71
0.574074
0807d2b6b36517bc16ba84193b93e731689bdc9a
2,684
ex
Elixir
lib/day_06_chronal_coordinates.ex
scmx/advent-of-code-2018-elixir
bad5a125fdc98519c29cbca1e5b7f64d61da5869
[ "MIT" ]
2
2019-01-16T16:10:31.000Z
2019-05-14T04:41:15.000Z
lib/day_06_chronal_coordinates.ex
scmx/advent-of-code-2018-elixir
bad5a125fdc98519c29cbca1e5b7f64d61da5869
[ "MIT" ]
null
null
null
lib/day_06_chronal_coordinates.ex
scmx/advent-of-code-2018-elixir
bad5a125fdc98519c29cbca1e5b7f64d61da5869
[ "MIT" ]
1
2019-01-02T18:13:23.000Z
2019-01-02T18:13:23.000Z
defmodule Adventofcode.Day06ChronalCoordinates do use Adventofcode def largest_area_size(input) do input |> parse_coordinates |> build_grid |> finite_area_sizes(grid_locations(-99..599), grid_locations(-100..600)) |> hd() |> elem(0) end def safe_area_size(input, distance) do input ...
25.084112
80
0.61997
0807e96214260019aa0a4a4dff0e032e6d08e7fd
145
exs
Elixir
config/config.exs
kianmeng/restlax
6cded7cd34c49216d182efe4f71e62321545678d
[ "MIT" ]
1
2021-02-09T09:25:37.000Z
2021-02-09T09:25:37.000Z
config/config.exs
kianmeng/restlax
6cded7cd34c49216d182efe4f71e62321545678d
[ "MIT" ]
3
2021-05-17T01:33:35.000Z
2022-01-27T00:23:31.000Z
config/config.exs
kianmeng/restlax
6cded7cd34c49216d182efe4f71e62321545678d
[ "MIT" ]
1
2022-01-27T00:06:03.000Z
2022-01-27T00:06:03.000Z
import Config if config_env() == :test do config :logger, level: :error config :tesla, HttpBinCustomAdapterClient, adapter: TestAdapter end
20.714286
65
0.758621
0807ed762cf5d4c82467277a7e8b2a0acd75bd1d
76
exs
Elixir
test/test_helper.exs
mazz/Phoenix-File-Upload
7ab9438bce9c3839ce8129cccb60b40dff2cc538
[ "MIT" ]
3
2019-04-19T15:55:58.000Z
2021-06-04T14:02:34.000Z
test/test_helper.exs
mazz/Phoenix-File-Upload
7ab9438bce9c3839ce8129cccb60b40dff2cc538
[ "MIT" ]
null
null
null
test/test_helper.exs
mazz/Phoenix-File-Upload
7ab9438bce9c3839ce8129cccb60b40dff2cc538
[ "MIT" ]
2
2019-04-19T15:56:02.000Z
2020-11-15T06:13:49.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(FileUploader.Repo, :manual)
15.2
58
0.776316
0808007c836bee3d721a748f795210faf530e914
1,236
exs
Elixir
test/onesky/resources/order_test.exs
ahtung/onesky.ex
bd3a150d67e25e1ef6d4b7bc33a593b49a65f37f
[ "Apache-2.0" ]
6
2018-11-22T14:44:26.000Z
2020-01-20T14:33:26.000Z
test/onesky/resources/order_test.exs
dunyakirkali/onesky.ex
f28fc94722c3b13ff82ee307d2a1cc42db4b6df2
[ "Apache-2.0" ]
24
2021-01-13T16:45:34.000Z
2022-03-24T04:07:33.000Z
test/onesky/resources/order_test.exs
dunyakirkali/onesky.ex
f28fc94722c3b13ff82ee307d2a1cc42db4b6df2
[ "Apache-2.0" ]
null
null
null
defmodule OrderTest do use ExUnit.Case, async: true use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest Onesky.Order test "get_order" do use_cassette "order#get" do {:ok, %Tesla.Env{} = env} = Onesky.client() |> Onesky.Order.get_order(314_254, 1) assert env.status == 200 assert env....
26.297872
94
0.609223
080820ee1d1b19f752a1f1ae51e69ba8270c2802
1,494
exs
Elixir
test/json_schema_test_suite/draft6/multiple_of_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft6/multiple_of_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft6/multiple_of_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
defmodule JsonSchemaTestSuite.Draft6.MultipleOfTest do use ExUnit.Case import Xema, only: [valid?: 2] describe "by int" do setup do %{ schema: Xema.from_json_schema( %{"multipleOf" => 2}, draft: "draft6" ) } end test "int by int", %{sc...
20.189189
66
0.535475
080837e902feeeab90a2144c0ceffe9487cb6838
5,173
exs
Elixir
test/ecto/model/callbacks_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
test/ecto/model/callbacks_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
test/ecto/model/callbacks_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../support/mock_repo.exs", __DIR__ alias Ecto.MockRepo defmodule Ecto.Model.CallbacksTest do use ExUnit.Case, async: true defmodule SomeCallback do use Ecto.Model schema "some_callback" do field :x, :string, default: "" end before_delete __MODULE__, :add_to_x befo...
30.791667
85
0.618983
0808a6e52b910bb8b6f993e357cb38059eac3f40
1,721
ex
Elixir
lib/encrypt.ex
flatiron-labs/encrypt
2757aca85db885f7b0ce938249f7d5c1d3ede3ca
[ "MIT" ]
3
2018-09-05T22:26:27.000Z
2019-11-28T14:20:07.000Z
lib/encrypt.ex
flatiron-labs/encrypt
2757aca85db885f7b0ce938249f7d5c1d3ede3ca
[ "MIT" ]
null
null
null
lib/encrypt.ex
flatiron-labs/encrypt
2757aca85db885f7b0ce938249f7d5c1d3ede3ca
[ "MIT" ]
2
2018-09-11T21:18:12.000Z
2020-04-28T15:08:50.000Z
defmodule Encrypt do @moduledoc """ Documentation for Encrypt. """ @aad "AES256GCM" @doc """ `execute_action([action: "generate_secret"])` Generates a random base64 encoded secret key. `execute_action([file: path_to_file, action: "encrypt/decrypt", key: secret_key])` Encrypts or decrypts and base64 ...
28.683333
86
0.679256
0808b269277019e3ccde4f55bc8c95c41d862a81
1,158
ex
Elixir
apps/fz_http/lib/fz_http/events.ex
mdp/firezone
53d8f0803a7ef005fdca3ae8c6fa9c3483ae5cbc
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http/events.ex
mdp/firezone
53d8f0803a7ef005fdca3ae8c6fa9c3483ae5cbc
[ "Apache-2.0" ]
1
2020-04-24T01:53:41.000Z
2020-04-24T01:53:41.000Z
apps/fz_http/lib/fz_http/events.ex
CloudFire-LLC/cloudfire-ce
416ea0d9c9528790fdf70c432aa4eb507d7b2074
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.Events do @moduledoc """ Handles interfacing with other processes in the system. """ alias FzHttp.{Devices, Rules} # set_config is used because devices need to be re-evaluated in case a # device is added to a User that's not active. def update_device(_device) do GenServer.call(vpn_p...
25.173913
73
0.71848
0808cdaceb83e83a6a56b8fdff74bc86130d3cbb
337
exs
Elixir
test/cash_flow_ex/factory_test.exs
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
test/cash_flow_ex/factory_test.exs
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
test/cash_flow_ex/factory_test.exs
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
defmodule CashFlowEx.FactoryTest do @moduledoc """ This is a test module to make sure our factory setup is working correctly. You’ll probably want to delete it. """ use CashFlowEx.DataCase, async: true import CashFlowEx.Factory test "build/1 works with our factory setup" do assert is_binary(build(:...
22.466667
76
0.732938
0808d936712eb2b943d7041b0d955b5b76e49f8b
1,136
exs
Elixir
test/user/patch/throws_test.exs
kianmeng/patch
d7d8d70a0285129ec67a43473db587011524fe0c
[ "MIT" ]
57
2020-04-22T00:19:04.000Z
2022-03-20T11:57:00.000Z
test/user/patch/throws_test.exs
kianmeng/patch
d7d8d70a0285129ec67a43473db587011524fe0c
[ "MIT" ]
9
2021-10-29T20:54:56.000Z
2022-02-19T03:41:01.000Z
test/user/patch/throws_test.exs
kianmeng/patch
d7d8d70a0285129ec67a43473db587011524fe0c
[ "MIT" ]
2
2021-07-02T14:41:48.000Z
2022-01-12T11:47:26.000Z
defmodule Patch.Test.User.Patch.ThrowsTest do use ExUnit.Case use Patch alias Patch.Test.Support.User.Patch.Throws describe "patch/3 with throws" do test "can be used to throw a value" do assert Throws.example() == :original patch(Throws, :example, throws(:patched)) assert catch_throw(...
26.418605
65
0.634683
0808ef1a4680f98428c5001c943e7566540cece1
506
ex
Elixir
lib/p14_neplaces/places/visit.ex
tashavanes/p14_neplaces
dbb4fbc675e40b6d4f8e6bef39946987bfde35c8
[ "MIT" ]
null
null
null
lib/p14_neplaces/places/visit.ex
tashavanes/p14_neplaces
dbb4fbc675e40b6d4f8e6bef39946987bfde35c8
[ "MIT" ]
1
2018-11-24T22:49:48.000Z
2018-11-24T22:49:48.000Z
lib/p14_neplaces/places/visit.ex
tashavanes/p14_neplaces
dbb4fbc675e40b6d4f8e6bef39946987bfde35c8
[ "MIT" ]
null
null
null
defmodule P14Neplaces.Places.Visit do use Ecto.Schema import Ecto.Changeset schema "visits" do field :date, :date field :description, :string field :place, :string field :rating, :integer field :state, :string field :time, :time timestamps() end @doc false def changeset(visit...
21.083333
79
0.650198
0808f54c5fd0a499075bc665bd8235d44e07aa6e
1,092
ex
Elixir
Microsoft.Azure.Management.Preview.BotService/lib/microsoft/azure/management/preview/bot_service/model/skype_channel_properties.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.Preview.BotService/lib/microsoft/azure/management/preview/bot_service/model/skype_channel_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Preview.BotService/lib/microsoft/azure/management/preview/bot_service/model/skype_channel_properties.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.Preview.BotService.Model.SkypeChannelProperties do @moduledoc """ The parameters to provide for the Microsoft Teams...
26
106
0.675824
0808fda51fb760e002b6de7bbead251757039202
1,213
ex
Elixir
example/reactive/api/test/support/conn_case.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
30
2020-11-10T07:32:36.000Z
2022-02-06T20:34:34.000Z
example/reactive/api/test/support/conn_case.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
22
2020-11-28T20:23:34.000Z
2022-03-23T22:32:52.000Z
example/reactive/api/test/support/conn_case.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
19
2020-11-10T14:22:05.000Z
2022-02-15T10:22:43.000Z
defmodule ApiWeb.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 the te...
27.568182
65
0.718054
080903ab05265cb69d63a8429faf6dc0352599e3
761
ex
Elixir
lib/rfx/change/convert/to_string.ex
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
31
2021-05-29T22:57:04.000Z
2022-03-13T16:24:57.000Z
lib/rfx/change/convert/to_string.ex
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-04T23:34:38.000Z
2021-07-16T16:01:20.000Z
lib/rfx/change/convert/to_string.ex
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-11T13:10:04.000Z
2022-02-11T13:33:16.000Z
defmodule Rfx.Change.Convert.ToString do @moduledoc false alias Rfx.Util.Source def changelist(changelist) when is_list(changelist) do changelist |> Enum.map(&changereq/1) end def changereq(changereq) do tgt = changereq |> Map.get(:text_req) genlog = %{to_string: gen_string(tgt)} oldlo...
23.060606
56
0.646518
08091691acadce22edb5fb470a8ec2ee7423fe3f
2,686
ex
Elixir
lib/prima_auth0_ex/token_provider/cached_token_service.ex
primait/auth0_ex
15ef5d6d91d8fe00ff703a4f58e1cb32bb169a82
[ "MIT" ]
5
2021-12-01T10:50:40.000Z
2022-02-15T13:07:02.000Z
lib/prima_auth0_ex/token_provider/cached_token_service.ex
primait/auth0_ex
15ef5d6d91d8fe00ff703a4f58e1cb32bb169a82
[ "MIT" ]
11
2021-12-22T09:19:28.000Z
2022-03-24T06:15:04.000Z
lib/prima_auth0_ex/token_provider/cached_token_service.ex
primait/auth0_ex
15ef5d6d91d8fe00ff703a4f58e1cb32bb169a82
[ "MIT" ]
null
null
null
defmodule PrimaAuth0Ex.TokenProvider.CachedTokenService do @moduledoc """ Implementation of `PrimaAuth0Ex.TokenProvider.TokenService` that caches tokens on an external cache in order to limit the requests made to Auth0 by reusing tokens. The external cache can be shared among different instances of the same se...
38.927536
118
0.769546
08091d532db465739527f208ae508317e172369d
612
ex
Elixir
test/support/pages.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
null
null
null
test/support/pages.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
6
2021-10-19T01:55:57.000Z
2022-02-15T01:04:19.000Z
test/support/pages.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
2
2022-01-21T08:38:50.000Z
2022-01-21T08:42:04.000Z
defmodule EpiLocatorWeb.Test.Pages do import Phoenix.ConnTest import Phoenix.LiveViewTest alias EpiLocatorWeb.Test alias Phoenix.LiveViewTest.View @endpoint EpiLocatorWeb.Endpoint def visit(conn, path, option \\ nil) def visit(%Plug.Conn{} = conn, path, nil) do {:ok, view, _html} = live(conn, path...
23.538462
59
0.683007
0809512f67e3d901623a07aa103bd31aa5df7db8
2,335
exs
Elixir
test/farmbot_ext/mqtt/terminal_handler_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/mqtt/terminal_handler_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/mqtt/terminal_handler_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.TerminalHandlerTest do use ExUnit.Case use Mimic alias FarmbotOS.MQTT.{ TerminalHandler, TerminalHandlerSupport } test "handle_info - unknown messages" do expect(TerminalHandlerSupport, :tty_send, 1, fn state, message -> assert message == "UNKNOWN TERMINAL MSG - :unknow...
29.1875
76
0.663812
080983818ba5a1993c39fe3d1760149c12b41a9c
507
ex
Elixir
test/e2e/lib/hologram_e2e_web/pages/operators/list_subtraction_page.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/e2e/lib/hologram_e2e_web/pages/operators/list_subtraction_page.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/e2e/lib/hologram_e2e_web/pages/operators/list_subtraction_page.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule HologramE2E.Operators.ListSubtractionPage do use Hologram.Page route "/e2e/operators/list-subtraction" def init(_params, _conn) do %{ left: [1, 2, 3, 1, 2, 3, 1], right: [1, 3, 3, 4], result: 0 } end def template do ~H""" <button id="button" on:click="calculate">...
20.28
63
0.607495
0809bdfe1d6d01b598275447efe2921f18596c72
1,791
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/list_operations_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/spanner/lib/google_api/spanner/v1/model/list_operations_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/list_operations_response.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 ...
35.82
166
0.738693
0809be04d9c48759c4baf422eee3b643a4e1c1fe
1,677
ex
Elixir
lib/lifelog_web/controllers/user_reset_password_controller.ex
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
lib/lifelog_web/controllers/user_reset_password_controller.ex
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
lib/lifelog_web/controllers/user_reset_password_controller.ex
jahio/lifelog
a3660e65acb3abdaac388b494736a645d825df1f
[ "MIT" ]
null
null
null
defmodule LifelogWeb.UserResetPasswordController do use LifelogWeb, :controller alias Lifelog.Accounts plug :get_user_by_reset_password_token when action in [:edit, :update] def new(conn, _params) do render(conn, "new.html") end def create(conn, %{"user" => %{"email" => email}}) do if user = Acc...
28.423729
101
0.65653
0809cb1844ac24dfb6e9e1a9c2ff65ffd56c6e41
312
exs
Elixir
apps/ldap_write/config/test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
3
2021-04-16T21:54:55.000Z
2021-04-30T22:15:41.000Z
apps/ldap_write/config/test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
1
2021-06-29T15:54:19.000Z
2021-06-29T15:54:19.000Z
apps/ldap_write/config/test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
2
2021-04-16T22:23:16.000Z
2021-05-26T15:52:55.000Z
use Mix.Config config :ldap_write, ldap_api: LdapWrapper.Ldap.Sandbox, hosts: ["ldap1-test.ops.example.net"], port: 636, use_ssl: true, write_dn: "cn=internal-password-reset,ou=service,ou=users,dc=example,dc=com", write_password: "password" config :ldap_wrapper, ldap_api: LdapWrapper.Ldap.Sandbox
26
79
0.75
0809d97fa7bb06d96cb8dae66249a712ef3a3bb6
620
ex
Elixir
lib/segment/hkvvb.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
27
2015-08-09T16:36:31.000Z
2020-01-26T17:47:17.000Z
lib/segment/hkvvb.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
14
2015-07-31T07:28:07.000Z
2018-09-06T18:32:37.000Z
lib/segment/hkvvb.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
19
2015-07-31T01:25:17.000Z
2019-06-29T16:28:42.000Z
defmodule FinTex.Segment.HKVVB do @moduledoc false alias FinTex.Model.Dialog defstruct [segment: nil] def new( s, %Dialog{ bank: bank, user_agent_name: user_agent_name, user_agent_version: user_agent_version }) do v = case bank.version do "300" -> 3 ...
15.897436
45
0.529032
080a0f25d257fd52e5d483a38b6f6397f5dc0744
299
ex
Elixir
lib/gameserver/utils/transform.ex
arcifius/gameserver
10d5f958aa41484dee9fefd51799c79685c4e0bb
[ "MIT" ]
4
2018-10-08T19:40:29.000Z
2020-11-23T23:03:57.000Z
lib/gameserver/utils/transform.ex
arcifius/gameserver
10d5f958aa41484dee9fefd51799c79685c4e0bb
[ "MIT" ]
null
null
null
lib/gameserver/utils/transform.ex
arcifius/gameserver
10d5f958aa41484dee9fefd51799c79685c4e0bb
[ "MIT" ]
null
null
null
defmodule Gameserver.Utils.Transform do def to_struct(kind, attrs) do struct = struct(kind) Enum.reduce(Map.to_list(struct), struct, fn {k, _}, acc -> case Map.fetch(attrs, Atom.to_string(k)) do {:ok, v} -> %{acc | k => v} :error -> acc end end) end end
23
62
0.58194
080a160d6efe10f945df9c63fcaa6e504aa0b414
17,022
ex
Elixir
lib/ecto/adapters/sql.ex
jwarwick/ecto
d1e43287775579e337a2e6a3763fa53ce2a33e4d
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql.ex
jwarwick/ecto
d1e43287775579e337a2e6a3763fa53ce2a33e4d
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql.ex
jwarwick/ecto
d1e43287775579e337a2e6a3763fa53ce2a33e4d
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.SQL do @moduledoc """ Behaviour and implementation for SQL adapters. The implementation for SQL adapter relies on `DBConnection` to provide pooling, prepare, execute and more. Developers that use `Ecto.Adapters.SQL` should implement the callbacks required both by this module and th...
31.463956
113
0.614146
080a4295f8c85de0e6446b852e8cd75b24299045
1,432
ex
Elixir
lib/asciinema_web/controllers/session_controller.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/session_controller.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/session_controller.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
defmodule AsciinemaWeb.SessionController do use AsciinemaWeb, :controller alias Asciinema.Accounts alias AsciinemaWeb.Auth alias Asciinema.Accounts.User def new(conn, %{"t" => login_token}) do conn |> put_session(:login_token, login_token) |> redirect(to: session_path(conn, :new)) end def new...
28.64
67
0.624302
080a47e7b6a5310b9f9347b77f9c9397dc505bc4
915
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/application_gateway_available_ssl_predefined_policies.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.Network/lib/microsoft/azure/management/network/model/application_gateway_available_ssl_predefined_policies.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/application_gateway_available_ssl_predefined_policies.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.Network.Model.ApplicationGatewayAvailableSslPredefinedPolicies do @moduledoc """ Response for ApplicationGatewayAva...
30.5
124
0.765027
080a53b1276aaad5cde1c501fd4945043de6cced
409
ex
Elixir
lib/conduit_web/views/profile_view.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
lib/conduit_web/views/profile_view.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
2
2022-01-15T02:09:30.000Z
2022-01-22T10:18:43.000Z
lib/conduit_web/views/profile_view.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
defmodule ConduitWeb.ProfileView do use ConduitWeb, :view alias ConduitWeb.ProfileView def render("show.json", %{author: author}) do %{profile: render_one(author, ProfileView, "profile.json")} end def render("profile.json", %{profile: profile}) do %{ username: profile.username, bio: prof...
22.722222
63
0.669927
080a6c7ef6bc045d1d036310114cbd83cd9a3d2b
6,188
ex
Elixir
lib/sanbase_web/graphql/resolvers/insight_resolver.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
1
2022-01-30T19:51:39.000Z
2022-01-30T19:51:39.000Z
lib/sanbase_web/graphql/resolvers/insight_resolver.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
lib/sanbase_web/graphql/resolvers/insight_resolver.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.Resolvers.InsightResolver do require Logger import Absinthe.Resolution.Helpers, except: [async: 1] alias SanbaseWeb.Graphql.SanbaseDataloader alias Sanbase.Accounts.User alias Sanbase.Insight.{Post, PopularAuthor} alias Sanbase.Comments.EntityComment require Logger def p...
28.516129
97
0.646251
080a75b1d07c2db988a85883ffd6806e4f43ca6d
1,469
exs
Elixir
apps/panacea_beacon/mix.exs
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
apps/panacea_beacon/mix.exs
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
apps/panacea_beacon/mix.exs
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
defmodule Beacon.MixProject do use Mix.Project def project do [ app: :panacea_beacon, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", elixirc_paths: elixi...
26.232143
64
0.54595
080ac902db58fad4d1a4812cc00f76870104e819
184
ex
Elixir
lib/noap/type/float.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
1
2022-03-04T03:55:46.000Z
2022-03-04T03:55:46.000Z
lib/noap/type/float.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
null
null
null
lib/noap/type/float.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
null
null
null
defmodule Noap.Type.Float do use Noap.Type @impl true def from_str(str, _opts) do case Float.parse(str) do {val, ""} -> {:ok, val} _ -> :error end end end
15.333333
29
0.576087
080ada4bfbacb8479ed60cacca31e0f89deee52a
3,139
ex
Elixir
lib/retro/phoenix_component.ex
c4710n/retro
52494acbc38e24120f439d2a1a7f2951f771e49c
[ "MIT" ]
1
2021-02-24T20:40:37.000Z
2021-02-24T20:40:37.000Z
lib/retro/phoenix_component.ex
c4710n/retro
52494acbc38e24120f439d2a1a7f2951f771e49c
[ "MIT" ]
null
null
null
lib/retro/phoenix_component.ex
c4710n/retro
52494acbc38e24120f439d2a1a7f2951f771e49c
[ "MIT" ]
null
null
null
defmodule Retro.Phoenix.Component do @moduledoc """ Toolkit for creating components for Phoenix. Inspired by [Reusable Templates in Phoenix](https://blog.danielberkompas.com /2017/01/17/reusable-templates-in-phoenix/). ## Usage ### Import `Retro.Phoenix.Component` defmodule SampleWeb do def...
21.648276
78
0.552724
080ae35ee8e58543dcb6a696f66139b30182a441
1,398
ex
Elixir
lib/holidefs/definition/store.ex
polyfox/holidefs
6a4862e022bf245955331d60929cd915ca82ae44
[ "MIT" ]
1
2019-07-28T17:23:55.000Z
2019-07-28T17:23:55.000Z
lib/holidefs/definition/store.ex
polyfox/holidefs
6a4862e022bf245955331d60929cd915ca82ae44
[ "MIT" ]
null
null
null
lib/holidefs/definition/store.ex
polyfox/holidefs
6a4862e022bf245955331d60929cd915ca82ae44
[ "MIT" ]
1
2019-07-28T17:23:57.000Z
2019-07-28T17:23:57.000Z
defmodule Holidefs.Definition.Store do @moduledoc """ This module loads and stores all the holiday definitions. """ use Agent alias Holidefs.Definition @doc """ Starts the server and loads all calendar files """ @spec start_link(nil) :: Agent.on_start() def start_link(nil) do Agent.start_link...
22.190476
79
0.665236
080b129a3b2ab2d5a8db1e4803266fdf98f7ebe0
47,598
ex
Elixir
assets/node_modules/phoenix_html/lib/phoenix_html/form.ex
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
assets/node_modules/phoenix_html/lib/phoenix_html/form.ex
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
assets/node_modules/phoenix_html/lib/phoenix_html/form.ex
xiongxin/web_chat
4123887993083058a358358595c06970a5ac873f
[ "MIT" ]
null
null
null
defmodule Phoenix.HTML.Form do @moduledoc ~S""" Helpers related to producing HTML forms. The functions in this module can be used in three distinct scenarios: * with changeset data - when information to populate the form comes from a changeset * with connection data - when a form is created bas...
30.649066
103
0.630594
080b16746f8021d8dd1af4c00076c002be43fb08
16,724
exs
Elixir
test/teslamate_web/controllers/car_controller_test.exs
markusdd/teslamate
baada9c5455da2d3c400bf916ab29834772f6a88
[ "MIT" ]
null
null
null
test/teslamate_web/controllers/car_controller_test.exs
markusdd/teslamate
baada9c5455da2d3c400bf916ab29834772f6a88
[ "MIT" ]
null
null
null
test/teslamate_web/controllers/car_controller_test.exs
markusdd/teslamate
baada9c5455da2d3c400bf916ab29834772f6a88
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.CarControllerTest do use TeslaMateWeb.ConnCase use TeslaMate.VehicleCase alias TeslaMate.Settings.CarSettings alias TeslaMate.{Log, Settings, Repo} alias TeslaMate.Log.Car defp table_row(html, key, value, opts \\ []) do assert {"tr", _, [{"td", _, [^key]}, {"td", [], [v]}]} = ...
30.856089
96
0.556924
080b2d7e0fa2f16c4dbfbc6120fe3fa8253ee019
936
ex
Elixir
elixir/lib/homework/transactions/transaction.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions/transaction.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions/transaction.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
defmodule Homework.Transactions.Transaction do use Ecto.Schema import Ecto.Changeset alias Homework.Merchants.Merchant alias Homework.Users.User alias Homework.Companies.Company @primary_key {:id, :binary_id, autogenerate: true} schema "transactions" do field(:amount, :integer) field(:credit, :bo...
32.275862
94
0.720085
080b5bd21a723223355cf2f1adcde27b93243302
973
exs
Elixir
apps/site/test/site_web/plugs/common_fares_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/test/site_web/plugs/common_fares_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/test/site_web/plugs/common_fares_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.Plugs.CommonFaresTest do use SiteWeb.ConnCase, async: true import SiteWeb.Plugs.CommonFares alias Fares.Summary @opts init([]) describe "init/1" do test "returns 4 summaries: subway, bus, subway monthly, CR" do assert [ %Summary{ duration: :single_...
25.605263
66
0.48407
080b71bc706200792b6f142e73e40945ddcb0254
930
exs
Elixir
test/mix.exs
balexand/nerves_system_rpi0_dht11
627828d1d932794a2c91a24f5727a87dd9c498eb
[ "Apache-2.0" ]
null
null
null
test/mix.exs
balexand/nerves_system_rpi0_dht11
627828d1d932794a2c91a24f5727a87dd9c498eb
[ "Apache-2.0" ]
null
null
null
test/mix.exs
balexand/nerves_system_rpi0_dht11
627828d1d932794a2c91a24f5727a87dd9c498eb
[ "Apache-2.0" ]
null
null
null
if Mix.env() == :test do hash = :os.cmd('git rev-parse HEAD') |> to_string |> String.trim() System.put_env("NERVES_FW_VCS_IDENTIFIER", hash) end defmodule Test.MixProject do use Mix.Project def project do [ app: :test, version: "0.1.0", elixir: "~> 1.4", archives: [ner...
22.142857
72
0.619355
080b762cb19913c795ccf5aac6fd1b0ffad2ebdd
1,936
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/user_profile_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/user_profile_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/user_profile_list.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 ...
36.528302
147
0.724174
080b77cbb26b76bfdee127a14a2c66d1f5fd64bc
2,380
ex
Elixir
lib/sanbase_web/graphql/schema/queries/github_queries.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase_web/graphql/schema/queries/github_queries.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase_web/graphql/schema/queries/github_queries.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.Schema.GithubQueries do use Absinthe.Schema.Notation import SanbaseWeb.Graphql.Cache, only: [cache_resolve: 1, cache_resolve: 2] alias SanbaseWeb.Graphql.Resolvers.GithubResolver alias SanbaseWeb.Graphql.Complexity alias SanbaseWeb.Graphql.Middlewares.AccessControl import_typ...
35.522388
90
0.692857
080b8d302d68c5952e21772a6306ba8a1811de30
218
exs
Elixir
config/test.exs
smanolloff/tesla-aws-signer
8f5ce9f33c2e86049449a1f089674b27b0d7eea9
[ "Apache-2.0" ]
null
null
null
config/test.exs
smanolloff/tesla-aws-signer
8f5ce9f33c2e86049449a1f089674b27b0d7eea9
[ "Apache-2.0" ]
null
null
null
config/test.exs
smanolloff/tesla-aws-signer
8f5ce9f33c2e86049449a1f089674b27b0d7eea9
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :aws_signer, cache_provider: Mocks.Cache, datetime_provider: Mocks.DateTime, aws_client: Mocks.AwsClient, logger_middleware: Tesla.Middleware.Logger config :tesla, adapter: Tesla.Mock
19.818182
44
0.784404
080bc5fad9a04b61adccd1cf21e670d7051f9bb5
3,079
ex
Elixir
implementations/elixir/ockam/ockam_vault_software/lib/vault_software.ex
kylematsuda/ockam
1b89ef8164b6f9291a0d36bd1e2d8161938299f3
[ "Apache-2.0" ]
1
2021-08-25T03:33:52.000Z
2021-08-25T03:33:52.000Z
implementations/elixir/ockam/ockam_vault_software/lib/vault_software.ex
Stupremee/ockam
ffadf0633adcae4d0a061fa322fb17dd15afe6e6
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_vault_software/lib/vault_software.ex
Stupremee/ockam
ffadf0633adcae4d0a061fa322fb17dd15afe6e6
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Vault.Software do @moduledoc """ Ockam.Vault.Software """ use Application defstruct [:id] @dialyzer :no_return @on_load {:load_natively_implemented_functions, 0} app = Mix.Project.config()[:app] def load_natively_implemented_functions do path_components = [:code.priv_dir(unqu...
28.509259
85
0.736603
080bdae0e476df7608667bb3dadf29ddcba54b40
1,357
exs
Elixir
test/integration_test.exs
sb8244/statsd_logger
3bf97bef353338730e9feb11a8b9a6cec964ad76
[ "MIT" ]
2
2019-09-02T02:10:07.000Z
2021-04-02T03:56:30.000Z
test/integration_test.exs
sb8244/statsd_logger
3bf97bef353338730e9feb11a8b9a6cec964ad76
[ "MIT" ]
null
null
null
test/integration_test.exs
sb8244/statsd_logger
3bf97bef353338730e9feb11a8b9a6cec964ad76
[ "MIT" ]
1
2021-08-15T00:32:53.000Z
2021-08-15T00:32:53.000Z
defmodule IntegrationTest do use ExUnit.Case, async: false @port 8130 def send_event(msg) do {:ok, port} = :gen_udp.open(0) :gen_udp.send(port, 'localhost', @port, msg) :ok = :gen_udp.close(port) end describe "starting" do test "an already in used port will log an error" do assert {:o...
25.12963
69
0.641857
080bdf695f6bbfca470388d3e4887a41ce926758
6,980
ex
Elixir
apps/fz_http/lib/fz_http/devices/device.ex
amishakov/firezone
cd85b0847ac1792ca00aedab99fbf0f7a520f1a6
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http/devices/device.ex
amishakov/firezone
cd85b0847ac1792ca00aedab99fbf0f7a520f1a6
[ "Apache-2.0" ]
1
2022-03-30T03:57:41.000Z
2022-03-30T03:57:41.000Z
apps/fz_http/lib/fz_http/devices/device.ex
amishakov/firezone
cd85b0847ac1792ca00aedab99fbf0f7a520f1a6
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.Devices.Device do @moduledoc """ Manages Device things """ use Ecto.Schema import Ecto.Changeset require Logger import FzHttp.SharedValidators, only: [ validate_fqdn_or_ip: 2, validate_omitted: 2, validate_list_of_ips: 2, validate_no_duplicates: 2, vali...
27.588933
93
0.677937
080bfec15fb9898bce712ee13969adda95d5e576
4,261
ex
Elixir
_index.ex/_alpha.ex/_vnc.ex
mirage335/CoreAutoSSH
d71c56b684f5bb45abe158d4bb9a51c9fa20e0fc
[ "CC0-1.0" ]
1
2018-02-25T23:32:21.000Z
2018-02-25T23:32:21.000Z
_index.ex/_alpha.ex/_vnc.ex
mirage335/CoreAutoSSH
d71c56b684f5bb45abe158d4bb9a51c9fa20e0fc
[ "CC0-1.0" ]
null
null
null
_index.ex/_alpha.ex/_vnc.ex
mirage335/CoreAutoSSH
d71c56b684f5bb45abe158d4bb9a51c9fa20e0fc
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env bash #Critical prerequsites. _realpath_L() { if ! _compat_realpath_run -L . > /dev/null 2>&1 then readlink -f "$@" return fi realpath -L "$@" } _realpath_L_s() { if ! _compat_realpath_run -L . > /dev/null 2>&1 then readlink -f "$@" return fi realpath -L -s "$@" } _getAbsolute_cri...
26.302469
179
0.68552
080c01f315dba3d4804f84536a64c4c74403a875
477
exs
Elixir
code/enum/stream3.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/enum/stream3.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/enum/stream3.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
53
85
0.744235
080c05f603d8ff27e5800c08106402ae932da6f1
103
exs
Elixir
03_recursion/elixir/03_factorial.exs
filchyboy/grokking_algorithms_work
16dace97610e2cb0938704e2b8cfd6e92d6b024d
[ "MIT" ]
13
2021-03-11T00:25:22.000Z
2022-03-19T00:19:23.000Z
book04grokkingAlgo/03_recursion/elixir/03_factorial.exs
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
160
2021-04-26T19:04:15.000Z
2022-03-26T20:18:37.000Z
book04grokkingAlgo/03_recursion/elixir/03_factorial.exs
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
12
2021-04-26T19:43:01.000Z
2022-01-31T08:36:29.000Z
defmodule Factorial do def of(1), do: 1 def of(n), do: n * of(n - 1) end IO.puts(Factorial.of(5))
14.714286
30
0.61165
080c0e1dfc48db65674df98a82d22bba3f1535cf
2,123
exs
Elixir
test/resource/calculations_test.exs
mario-mazo/ash
8673a733c702971a1435514151ab434d87893685
[ "MIT" ]
null
null
null
test/resource/calculations_test.exs
mario-mazo/ash
8673a733c702971a1435514151ab434d87893685
[ "MIT" ]
null
null
null
test/resource/calculations_test.exs
mario-mazo/ash
8673a733c702971a1435514151ab434d87893685
[ "MIT" ]
null
null
null
defmodule Ash.Test.Resource.CalculationsTest do @moduledoc false use ExUnit.Case, async: true alias Ash.Resource.Calculation defmacrop defposts(do: body) do quote do defmodule Post do @moduledoc false use Ash.Resource attributes do attribute :id, :uuid, primary_key...
29.901408
94
0.606689
080c1d2773f401e3beeee33808e331fde3a08138
5,868
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/api/lineitems.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/api/lineitems.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/api/lineitems.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.75
187
0.654908
080c4590238570b6d8460b125993e0506c504aad
2,682
exs
Elixir
mix.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
mix.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
mix.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
defmodule Alastair.Mixfile do use Mix.Project def project do [app: :alastair, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, alia...
30.134831
89
0.62789
080c53cec4252b2a09cbd0d3753bd3bba45effd5
1,817
ex
Elixir
lib/md0/rgx_scanner.ex
RobertDober/md0
b2337e69a9bea6b2b17951b75daa15fe7fe8cfad
[ "Apache-2.0" ]
null
null
null
lib/md0/rgx_scanner.ex
RobertDober/md0
b2337e69a9bea6b2b17951b75daa15fe7fe8cfad
[ "Apache-2.0" ]
null
null
null
lib/md0/rgx_scanner.ex
RobertDober/md0
b2337e69a9bea6b2b17951b75daa15fe7fe8cfad
[ "Apache-2.0" ]
null
null
null
defmodule Md0.RgxScanner do use Md0.Scanner.RgxMacros @moduledoc """ A lexical Analyzer of markdown documents """ def scan_document(doc) do doc |> String.split(~r{\r\n?|\n}) |> Enum.zip(Stream.iterate(1, &(&1 + 1))) |> Enum.flat_map(&scan_line/1) end defp scan_line({line, lnb}) do w...
27.119403
82
0.63016
080c775d0647b11029a98b47e847f0b817c9d704
322
ex
Elixir
lib/idvote/polygon.ex
boisebrigade/idvote
fb1d3f348db094e0578d6976a0a349971bf7aab7
[ "ISC" ]
2
2018-08-15T02:03:36.000Z
2019-02-06T23:27:56.000Z
lib/idvote/polygon.ex
boisebrigade/idvote
fb1d3f348db094e0578d6976a0a349971bf7aab7
[ "ISC" ]
14
2018-08-11T19:47:56.000Z
2018-08-29T22:44:22.000Z
lib/idvote/polygon.ex
boisebrigade/idvote
fb1d3f348db094e0578d6976a0a349971bf7aab7
[ "ISC" ]
2
2018-08-11T16:44:02.000Z
2018-08-28T03:45:55.000Z
defimpl Jason.Encoder, for: Geo.Polygon do def encode(value, opts) do %{coordinates: coordinates, srid: srid} = Map.take(value, [:srid,:coordinates]) coordinates = Enum.map(coordinates, &Enum.map(&1, fn point -> Tuple.to_list(point) end)) Jason.Encode.map(%{bbox: coordinates, srid: srid}, opts) end en...
32.2
92
0.689441
080cc2e56e9acadb28f618df26802aa7d6aad640
6,430
ex
Elixir
lib/ex_raft/state/leader.ex
bajankristof/ex_raft
09c3234355d2792922b17a71e3c32b3e57f0a277
[ "Apache-2.0" ]
1
2021-08-25T10:49:26.000Z
2021-08-25T10:49:26.000Z
lib/ex_raft/state/leader.ex
bajankristof/ex_raft
09c3234355d2792922b17a71e3c32b3e57f0a277
[ "Apache-2.0" ]
null
null
null
lib/ex_raft/state/leader.ex
bajankristof/ex_raft
09c3234355d2792922b17a71e3c32b3e57f0a277
[ "Apache-2.0" ]
null
null
null
defmodule ExRaft.State.Leader do @moduledoc false use ExRaft.State require ExRaft.RPC require ExRaft.Server.Context import ExRaft.Server, only: [async_each: 2] alias ExRaft.{Log, MatchIndex, NextIndex, RPC, Server, StateMachine} alias ExRaft.Server.{Context, Logger} def enter(_, ctx) do ctx = Cont...
28.577778
97
0.657543
080cc5af77a423ac256095870e23ef3094a3e2f5
425
ex
Elixir
blog_data_writer_server/lib/app/post.ex
xawe/elixir_micro_blog
eee893238a9647708336901f3ead4629067d590f
[ "MIT" ]
null
null
null
blog_data_writer_server/lib/app/post.ex
xawe/elixir_micro_blog
eee893238a9647708336901f3ead4629067d590f
[ "MIT" ]
null
null
null
blog_data_writer_server/lib/app/post.ex
xawe/elixir_micro_blog
eee893238a9647708336901f3ead4629067d590f
[ "MIT" ]
null
null
null
defmodule App.Post do use Ecto.Schema import Ecto.Changeset schema "post" do field(:user, :string) field(:message, :string) field(:referenceid, :string) field(:fingerprint, :string) timestamps() end def changeset(struct, params) do struct |> cast(params, [:user, :message, :refer...
21.25
71
0.665882
080cec3e4c2f1d94a797a80f50506213de4c9f9f
961
ex
Elixir
apps/admin_api/lib/admin_api/v1/views/balance_view.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/lib/admin_api/v1/views/balance_view.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/lib/admin_api/v1/views/balance_view.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-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 ...
36.961538
74
0.756504
080d092acdfc024464f54c2647e2302ce41d4a5e
9,457
ex
Elixir
apps/core/lib/core/divisions/divisions.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/divisions/divisions.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/divisions/divisions.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.Divisions do @moduledoc """ The boundary for the Divisions system. """ use Core.Search, Application.get_env(:core, :repos)[:read_prm_repo] import Core.API.Helpers.Connection, only: [get_client_id: 1, get_consumer_id: 1] import Ecto.Changeset, warn: false alias Core.Divisions.Division a...
28.145833
105
0.65782
080d0b24c124b77f8b03f752684baea5eb8459fc
3,189
ex
Elixir
lib/tan/flicker_code.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
27
2015-08-09T16:36:31.000Z
2020-01-26T17:47:17.000Z
lib/tan/flicker_code.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
14
2015-07-31T07:28:07.000Z
2018-09-06T18:32:37.000Z
lib/tan/flicker_code.ex
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
19
2015-07-31T01:25:17.000Z
2019-06-29T16:28:42.000Z
defmodule FinTex.Tan.FlickerCode do @moduledoc false # Flicker code extraction for optic chipTAN challenges. # # Based on Olaf Willuhn's Java implementation of flicker codes for HHD 1.3 and HHD 1.4, # available at https://github.com/willuhn/hbci4java/blob/master/src/org/kapott/hbci/manager/FlickerCode.java ...
25.717742
115
0.641894
080d0ca92bc72d22d3559cc7d020e9bd069298ad
6,602
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.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...
47.157143
264
0.71751
080d1332b784818ebea72b3913b9aad029fe6af3
367
ex
Elixir
web/views/bar_view.ex
matthewphilyaw/basic_auth_test
9bd6b62c8680ec603314adab940b8840e50b240c
[ "MIT" ]
null
null
null
web/views/bar_view.ex
matthewphilyaw/basic_auth_test
9bd6b62c8680ec603314adab940b8840e50b240c
[ "MIT" ]
null
null
null
web/views/bar_view.ex
matthewphilyaw/basic_auth_test
9bd6b62c8680ec603314adab940b8840e50b240c
[ "MIT" ]
null
null
null
defmodule FooApi.BarView do use FooApi.Web, :view def render("index.json", %{bars: bars}) do %{data: render_many(bars, FooApi.BarView, "bar.json")} end def render("show.json", %{bar: bar}) do %{data: render_one(bar, FooApi.BarView, "bar.json")} end def render("bar.json", %{bar: bar}) do %{id:...
21.588235
58
0.623978
080d1c7f80a2f876c7eca140cb704a89d9f70f1d
5,319
exs
Elixir
test/stats_server_test.exs
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
1,047
2016-05-11T16:09:29.000Z
2022-03-29T17:17:26.000Z
test/stats_server_test.exs
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
132
2016-10-28T19:44:26.000Z
2020-12-06T21:16:53.000Z
test/stats_server_test.exs
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
70
2016-10-26T00:11:05.000Z
2022-01-02T21:43:06.000Z
defmodule Kitto.StatsServerTest do use ExUnit.Case alias Kitto.StatsServer defmodule BackoffMock do @behaviour Kitto.Backoff def succeed(_), do: {:ok, :success} def fail(_), do: {:ok, :fail} def backoff!(_), do: send self(), {:ok, :backoff} end setup do Application.put_env :kitto, :bac...
31.850299
90
0.710284
080d5d16ca88bd0a009e7ca2e9c2d7362c7b37b2
2,537
exs
Elixir
test/openskill/bradley_terry_full_test.exs
philihp/openskill.ex
18197c8b3c4237360e34a4aff70d455b9160f4e0
[ "MIT" ]
5
2020-07-22T12:44:05.000Z
2022-03-02T01:46:03.000Z
test/openskill/bradley_terry_full_test.exs
philihp/openskill
18197c8b3c4237360e34a4aff70d455b9160f4e0
[ "MIT" ]
2
2021-02-14T13:19:27.000Z
2022-01-12T18:21:12.000Z
test/openskill/bradley_terry_full_test.exs
philihp/openskill.ex
18197c8b3c4237360e34a4aff70d455b9160f4e0
[ "MIT" ]
null
null
null
defmodule Openskill.BradleyTerryFullTest do use ExUnit.Case alias Openskill.BradleyTerryFull @r Openskill.rating() @team1 [@r] @team2 [@r, @r] @team3 [@r, @r, @r] describe "#rate" do test "solo game does not change rating" do assert [@team1] == BradleyTerryFull.rate([@team1]) end test...
31.7125
81
0.532913
080d6a5f8e43000a770c05eb58cd0cd2f9ada65f
507
exs
Elixir
mix.exs
zyzmoz/XCep_elixir
665d008e96c174eec37a9cfc7b69024e011d1785
[ "MIT" ]
null
null
null
mix.exs
zyzmoz/XCep_elixir
665d008e96c174eec37a9cfc7b69024e011d1785
[ "MIT" ]
null
null
null
mix.exs
zyzmoz/XCep_elixir
665d008e96c174eec37a9cfc7b69024e011d1785
[ "MIT" ]
null
null
null
defmodule Xcep.MixProject do use Mix.Project def project do [ app: :xcep, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicat...
17.482759
59
0.554241
080d75419760cc6aa99898f83dadf1a71fc66e1d
81
exs
Elixir
test/test_helper.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
test/test_helper.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
test/test_helper.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(PageChangeNotifier.Repo, :manual)
20.25
64
0.802469
080dd30d044088a1453cbb5085a7076106adfed1
235
ex
Elixir
lib/hologram/compiler/call_graph_builder/elixir_list.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/call_graph_builder/elixir_list.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/call_graph_builder/elixir_list.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
alias Hologram.Compiler.CallGraphBuilder defimpl CallGraphBuilder, for: List do def build(list, module_defs, templates, from_vertex) do Enum.each(list, &CallGraphBuilder.build(&1, module_defs, templates, from_vertex)) end end
29.375
85
0.787234
080de49b3ccdfd5b27bea6a0bc268d92a345d2f2
479
ex
Elixir
server/lib/domsegserver_web/controllers/fallback_controller.ex
arpieb/domseg
0c7165d69181e59902730c6e7ac41e8e849edd70
[ "Apache-2.0" ]
null
null
null
server/lib/domsegserver_web/controllers/fallback_controller.ex
arpieb/domseg
0c7165d69181e59902730c6e7ac41e8e849edd70
[ "Apache-2.0" ]
9
2021-12-09T18:19:21.000Z
2022-01-09T03:45:33.000Z
server/lib/domsegserver_web/controllers/fallback_controller.ex
arpieb/domseg
0c7165d69181e59902730c6e7ac41e8e849edd70
[ "Apache-2.0" ]
null
null
null
defmodule DOMSegServerWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use DOMSegServerWeb, :controller # This clause is an example of how to handle resources that cannot be foun...
28.176471
78
0.724426
080e111fd7e3893b6949b2b941f8d9ea5a89a1bc
1,606
ex
Elixir
lib/talar_web.ex
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
lib/talar_web.ex
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
lib/talar_web.ex
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
defmodule TalarWeb 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 TalarWeb, :controller use TalarWeb, :view The definitions below will be executed for every view, controller, etc, s...
22.942857
83
0.684309
080e1858697952f5bd78a0651d3040939df83962
176
ex
Elixir
lib/aoc2019_day5.ex
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
1
2022-01-10T02:34:18.000Z
2022-01-10T02:34:18.000Z
lib/aoc2019_day5.ex
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
null
null
null
lib/aoc2019_day5.ex
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
1
2019-12-02T09:42:17.000Z
2019-12-02T09:42:17.000Z
defmodule Aoc2019Day5 do import Intcode def solve_part_1(text) do text |> check_output([1]) end def solve_part_2(text) do text |> check_output([5]) end end
14.666667
29
0.681818
080e673bd16941da35e47e3b899c0dc552d23895
305
ex
Elixir
lib/ccsp/main.ex
sbauer322/ccsp
8ea6c26457e110c5f84cbc813b3f065c6161e6e6
[ "Apache-2.0" ]
7
2019-11-04T14:23:52.000Z
2021-12-31T08:24:33.000Z
lib/ccsp/main.ex
sbauer322/ccsp
8ea6c26457e110c5f84cbc813b3f065c6161e6e6
[ "Apache-2.0" ]
23
2019-10-02T02:13:36.000Z
2019-12-03T03:52:37.000Z
lib/ccsp/main.ex
sbauer322/ccsp
8ea6c26457e110c5f84cbc813b3f065c6161e6e6
[ "Apache-2.0" ]
null
null
null
defmodule Main do alias CCSP.Chapter1.Start, as: Start1 alias CCSP.Chapter2.Start, as: Start2 alias CCSP.Chapter3.Start, as: Start3 @moduledoc """ Convenience module to for quickly setting up and running more elaborate sections. """ def run() do Start3.run_send_more_money() end end
21.785714
83
0.727869
080e6e9564d164405f2821906f6025c2b1c256fc
1,160
ex
Elixir
web/channels/user_socket.ex
kensupermen/javex
f7774e83f64980f3c1eb4b5701f46d835edd76da
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
kensupermen/javex
f7774e83f64980f3c1eb4b5701f46d835edd76da
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
kensupermen/javex
f7774e83f64980f3c1eb4b5701f46d835edd76da
[ "MIT" ]
null
null
null
defmodule Javex.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", Javex.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authenticat...
30.526316
83
0.7
080e708c889250fe126f01aebee87f208b172efb
18,755
ex
Elixir
projects/api/lib/margaret/publications/publications.ex
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
82
2017-11-06T01:00:55.000Z
2020-12-09T10:35:29.000Z
projects/api/lib/margaret/publications/publications.ex
dbstratta/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
98
2017-11-06T22:57:32.000Z
2020-07-03T04:46:39.000Z
projects/api/lib/margaret/publications/publications.ex
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
10
2017-11-16T05:31:58.000Z
2020-10-29T18:02:35.000Z
defmodule Margaret.Publications do @moduledoc """ The Publications context. """ import Ecto.Query alias Ecto.Multi alias Margaret.{ Repo, Accounts, Stories, Publications, Follows, Tags, Helpers } alias Publications.{Publication, PublicationMembership, PublicationInvitation...
25.621585
100
0.645108
080e7f68b0623ac9c5972d197931b009736a0ae4
6,462
ex
Elixir
lib/credo/code/module.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
lib/credo/code/module.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
lib/credo/code/module.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
defmodule Credo.Code.Module do @moduledoc """ This module provides helper functions to analyse modules, return the defined funcions or module attributes. """ alias Credo.Code alias Credo.Code.Block alias Credo.Code.Name @def_ops [:def, :defp, :defmacro] @doc "Returns the list of aliases defined in ...
24.293233
107
0.603683
080e8af39cc5f35e6e6e830a5313f146b7a32fc4
325
exs
Elixir
test/mux/packet_test.exs
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
2
2017-07-26T07:28:33.000Z
2017-08-08T16:26:05.000Z
test/mux/packet_test.exs
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
null
null
null
test/mux/packet_test.exs
fishcakez/elixir-mux
8be71643a79d8eddd93b78b9c74fd14cac436a21
[ "Apache-2.0" ]
1
2021-03-13T23:02:29.000Z
2021-03-13T23:02:29.000Z
defmodule Mux.PacketTest do use ExUnit.Case, async: true import PropertyTest import StreamData import MuxData property "encode/decode identity" do check all packet <- packet() do assert {type, iodata} = Mux.Packet.encode(packet) assert Mux.Packet.decode(type, iodata) === packet end end...
21.666667
55
0.701538
080ed5720adb6e6ca3451b165ae6564babf40d00
1,906
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_cancellation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_cancellation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_cancellation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.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...
35.296296
257
0.741343
080eed8efc8b8456149e50679eb3d4aab07d4639
148
exs
Elixir
plugins/one_wiki/config/config.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_wiki/config/config.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_wiki/config/config.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
use Mix.Config config :unbrella, :plugins, one_wiki: [ module: OneWiki, schemas: [OneWiki.Accounts.User], application: OneWiki.Application ]
18.5
39
0.736486
080f0de9bb4391ee73c1e289fdc85c1338cfb263
266
exs
Elixir
test/colly_web/views/layout_view_test.exs
nidhindamodaran/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
null
null
null
test/colly_web/views/layout_view_test.exs
nidhindamodaran/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
4
2020-05-30T13:25:44.000Z
2021-05-11T13:32:44.000Z
test/colly_web/views/layout_view_test.exs
nidhinnambiar/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
null
null
null
defmodule CollyWeb.LayoutViewTest do use CollyWeb.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
29.555556
65
0.763158
080f12bc78e3d6e74c68ece24aa8f23608ad5e0e
10,238
ex
Elixir
lib/poison/parser.ex
nobrick/poison
5e299f922bf7ffdeeb44602f9d6d68134a3a75c2
[ "CC0-1.0" ]
1
2019-07-13T16:38:34.000Z
2019-07-13T16:38:34.000Z
lib/poison/parser.ex
nobrick/poison
5e299f922bf7ffdeeb44602f9d6d68134a3a75c2
[ "CC0-1.0" ]
null
null
null
lib/poison/parser.ex
nobrick/poison
5e299f922bf7ffdeeb44602f9d6d68134a3a75c2
[ "CC0-1.0" ]
1
2019-07-13T16:38:38.000Z
2019-07-13T16:38:38.000Z
defmodule Poison.ParseError do @type t :: %__MODULE__{pos: integer, value: String.t()} alias Code.Identifier defexception pos: 0, value: nil, rest: nil def message(%{value: "", pos: pos}) do "Unexpected end of input at position #{pos}" end def message(%{value: <<token::utf8>>, pos: pos}) do "Une...
27.896458
80
0.612522
080f1c7ebe84704909b7cd31a61a3125aba59102
1,217
exs
Elixir
code/general/map_put_vs_put_in.exs
TheMaikXX/fast-elixir
0e622c3f8bb4751fd023fde1e34ec78cf4337dfd
[ "CC0-1.0" ]
1,154
2017-05-04T10:18:30.000Z
2022-03-29T06:43:28.000Z
code/general/map_put_vs_put_in.exs
TheMaikXX/fast-elixir
0e622c3f8bb4751fd023fde1e34ec78cf4337dfd
[ "CC0-1.0" ]
13
2017-05-22T21:58:36.000Z
2022-02-25T15:52:12.000Z
code/general/map_put_vs_put_in.exs
TheMaikXX/fast-elixir
0e622c3f8bb4751fd023fde1e34ec78cf4337dfd
[ "CC0-1.0" ]
35
2017-05-27T17:55:07.000Z
2022-03-13T18:55:48.000Z
defmodule MapPut.Fast do def map_put(enumerator, map) do enumerator |> Enum.reduce(map, fn value, acc -> Map.put(acc, value, value) end) end end defmodule MapPut.Slower do def map_put(enumerator, map) do enumerator |> Enum.reduce(map, fn value, acc -> put_in(acc[value], value) ...
20.283333
81
0.608053
080f272f9a5e2cee99a2ae65aa3c05bc5c8b0847
1,048
ex
Elixir
lib/coxir/model/entities/invite.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
178
2018-04-08T17:11:56.000Z
2022-03-25T15:36:41.000Z
lib/coxir/model/entities/invite.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
21
2018-04-30T21:33:59.000Z
2019-09-03T17:25:26.000Z
lib/coxir/model/entities/invite.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
25
2018-04-21T19:41:03.000Z
2021-07-24T22:40:40.000Z
defmodule Coxir.Invite do @moduledoc """ Work in progress. """ use Coxir.Model, storable?: false @primary_key false @type t :: %Invite{} embedded_schema do field(:code, :string, primary_key: true) field(:uses, :integer) field(:max_uses, :integer) field(:max_age, :integer) field(:tem...
24.952381
67
0.679389
080f39444fc4a85a810c49e31ca77b9d86c8aab6
558
exs
Elixir
test/arkecosystem/crypto/transactions/serializers/delegate_registration_test.exs
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
test/arkecosystem/crypto/transactions/serializers/delegate_registration_test.exs
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
test/arkecosystem/crypto/transactions/serializers/delegate_registration_test.exs
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
defmodule ArkEcosystem.Crypto.Transactions.Serializers.DelegateRegistrationTest do use ExUnit.Case, async: false alias ArkEcosystem.Crypto.Transactions.Serializer alias ArkEcosystem.Test.TestHelper setup_all do ArkEcosystem.Crypto.Configuration.Network.set(ArkEcosystem.Crypto.Networks.Devnet) :ok en...
29.368421
88
0.783154
080f713afb7d3a0e525e7a212ade42ecae7016a2
965
ex
Elixir
apps/nerves_hub_www/test/support/channel_case.ex
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
1
2019-10-13T10:56:28.000Z
2019-10-13T10:56:28.000Z
apps/nerves_hub_www/test/support/channel_case.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_www/test/support/channel_case.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWWWWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interac...
25.394737
78
0.724352
080f98e1a0c4155a79e585364d0b85c41a1fa1bb
330
ex
Elixir
test/factories/course/group_factory.ex
ZiHawkEye/cadet
f7f9143699054d12bf08ef94e6e20a8ac58aea50
[ "Apache-2.0" ]
null
null
null
test/factories/course/group_factory.ex
ZiHawkEye/cadet
f7f9143699054d12bf08ef94e6e20a8ac58aea50
[ "Apache-2.0" ]
null
null
null
test/factories/course/group_factory.ex
ZiHawkEye/cadet
f7f9143699054d12bf08ef94e6e20a8ac58aea50
[ "Apache-2.0" ]
null
null
null
defmodule Cadet.Course.GroupFactory do @moduledoc """ Factory for Group entity """ defmacro __using__(_opts) do quote do alias Cadet.Course.Group def group_factory do %Group{ name: Faker.Company.name(), leader: build(:user, role: :staff) } end end ...
17.368421
44
0.590909
080fcd74f50001eb5b471c9360bd39ae1e67aca4
696
exs
Elixir
code/typespecs/simple/mix.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/typespecs/simple/mix.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/typespecs/simple/mix.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
23.2
85
0.647989
08100024c9d8c9891a52b9e97423e8a36b30bfc4
1,153
exs
Elixir
config/config.exs
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
config/config.exs
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
config/config.exs
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "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...
37.193548
73
0.75889
08101563836b7e832550639e2b4693a6ea8a077c
298
ex
Elixir
lib/empex_cookbook_web/absinthe_with_datadog_plug.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
4
2019-02-11T12:15:36.000Z
2021-03-22T16:23:47.000Z
lib/empex_cookbook_web/absinthe_with_datadog_plug.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
lib/empex_cookbook_web/absinthe_with_datadog_plug.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
defmodule EmpexCookbookWeb.AbsintheWithDatadogPlug do @behaviour Plug def init(opts), do: Absinthe.Plug.GraphiQL.init(opts) def call(conn, opts) do conn |> Absinthe.Plug.GraphiQL.call(opts) |> Spandex.Plug.EndTrace.call(tracer: EmpexCookbook.Tracing, tracer_opts: []) end end
24.833333
81
0.734899
0810401b1d48e47badb64bac0d8dfc9c3d500897
1,982
exs
Elixir
mix.exs
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
1
2020-03-06T15:39:43.000Z
2020-03-06T15:39:43.000Z
mix.exs
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
null
null
null
mix.exs
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
null
null
null
defmodule Webbkoll.Mixfile do use Mix.Project def project do [ app: :webbkoll, version: "0.0.1", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env(...
24.469136
68
0.490918
0811059585eddcc1094854833119b4c2f2c6385a
75,868
ex
Elixir
testData/org/elixir_lang/beam/decompiler/gl.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/beam/decompiler/gl.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/beam/decompiler/gl.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# Source code recreated from a .beam file by IntelliJ Elixir defmodule :gl do # Functions def accum(p0, p1) do # body not decompiled end def activeShaderProgram(p0, p1) do # body not decompiled end def activeTexture(p0) do # body not decompiled end def alphaFunc(p0, p1) do # body no...
17.726168
80
0.652344
0811128be681f497509403f4aa8b5afa0787f187
867
exs
Elixir
peep_blog_api/config/config.exs
ultimatemonty/embloginator
b1b25374d56899e054e6df73a3841d388d095d83
[ "MIT" ]
null
null
null
peep_blog_api/config/config.exs
ultimatemonty/embloginator
b1b25374d56899e054e6df73a3841d388d095d83
[ "MIT" ]
null
null
null
peep_blog_api/config/config.exs
ultimatemonty/embloginator
b1b25374d56899e054e6df73a3841d388d095d83
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :peep_blog_api, PeepBlogApi.Endpoint, url: [host: ...
34.68
86
0.761246
081118d427a3aae02f5d79617dd4bd50098af6ee
6,220
ex
Elixir
lib/quadquizaminos_web/live/privacy_live.ex
sparrell/quizquadaminos
6388252b7c32aa4101486cbf45d0d57d4e3a79da
[ "MIT" ]
null
null
null
lib/quadquizaminos_web/live/privacy_live.ex
sparrell/quizquadaminos
6388252b7c32aa4101486cbf45d0d57d4e3a79da
[ "MIT" ]
9
2022-03-14T07:29:25.000Z
2022-03-30T07:39:16.000Z
lib/quadquizaminos_web/live/privacy_live.ex
sparrell/quizquadaminos
6388252b7c32aa4101486cbf45d0d57d4e3a79da
[ "MIT" ]
1
2021-02-22T12:18:02.000Z
2021-02-22T12:18:02.000Z
defmodule QuadquizaminosWeb.PrivacyLive do use Phoenix.LiveView def render(assigns) do ~L""" <h1>Privacy Policy</h1> <h3>Version 1.0.0 (last updated 6-May-2021)</h3> sFractal takes your privacy as seriously as you do. We want to give you control over...
46.074074
92
0.630225
081164797f856ada878ff8be1e51f7721ad4a592
234
ex
Elixir
02-chapter/exercise_02.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
02-chapter/exercise_02.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
02-chapter/exercise_02.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
# ** (MatchError) no match of right hand side value: [1, 2, 3] # IO.inspect([a, b, a] = [1, 2, 3]) # ** (MatchError) no match of right hand side value: [1, 1, 2] # IO.inspect([a, b, a] = [1, 1, 2]) IO.inspect([a, b, a] = [1, 2, 1])
29.25
62
0.534188
08116a22eef3aff34c36143c38439d2cdd82b44a
729
exs
Elixir
server/config/test.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2021-04-08T17:26:27.000Z
2021-04-08T17:26:27.000Z
server/config/test.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2022-02-13T05:50:46.000Z
2022-02-13T05:50:46.000Z
server/config/test.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
null
null
null
use Mix.Config config :boardr, Boardr.Auth, secret_key_base: "15VLc5dynJrIq2HZb8qNfui7e4g0YImLVryvDJbx5SU5o5hdgW14u773KF1SlgdRh3a83YZGmbjZtY1Dkttauxc9bvutDwHW8jgX" # Configure your database config :boardr, Boardr.Repo, database: System.get_env("BOARDR_TEST_DATABASE_NAME", "boardr-test"), pool: Ecto.Adapters.SQL...
28.038462
121
0.775034