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
38d087db4eb45bcc99e715e436a033590c04e66c
8,287
ex
Elixir
lib/mongo/grid_fs/bucket.ex
pedro-gutierrez/elixir-mongodb-driver
a4638b91555efee38d91a5d872ca85357dd5caa8
[ "Apache-2.0" ]
null
null
null
lib/mongo/grid_fs/bucket.ex
pedro-gutierrez/elixir-mongodb-driver
a4638b91555efee38d91a5d872ca85357dd5caa8
[ "Apache-2.0" ]
null
null
null
lib/mongo/grid_fs/bucket.ex
pedro-gutierrez/elixir-mongodb-driver
a4638b91555efee38d91a5d872ca85357dd5caa8
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.GridFs.Bucket do @moduledoc """ This is the MongoDB Bucket struct, which specifies the underlying collections to support GridFS. There are always two kind of collections used for storing files by GridFS. The `fs.files` collection contains the meta information about the file and the `fs.chunks` ...
34.966245
146
0.693496
38d0990b19851d131246694e8a2efcb48109064e
3,594
ex
Elixir
lib/dynamo/cowboy.ex
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
415
2015-01-04T15:59:47.000Z
2022-02-02T21:12:46.000Z
lib/dynamo/cowboy.ex
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
9
2015-02-06T16:09:46.000Z
2018-08-08T06:33:50.000Z
lib/dynamo/cowboy.ex
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
44
2015-02-01T15:49:50.000Z
2021-11-29T09:08:37.000Z
defmodule Dynamo.Cowboy do @moduledoc """ Provides the interface to Cowboy webserver. Check `run/2` for more information. """ @doc """ Runs the given module with the given options: * `port` - the port to run the server (defaults to 4000) * `acceptors` - the number of acceptors for the listener * `...
28.752
112
0.644686
38d0b4c78a955c6b2cf022d4d0881b7555bb86b3
2,710
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/containeranalysis_google_devtools_cloudbuild_v1_build_approval.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/containeranalysis_google_devtools_cloudbuild_v1_build_approval.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/containeranalysis_google_devtools_cloudbuild_v1_build_approval.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.638889
211
0.756458
38d0d2b224d5bf6ef0af6c7dbcb29c9629aa2df3
494
ex
Elixir
lib/langue/formatter/json/parser.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/langue/formatter/json/parser.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/langue/formatter/json/parser.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Langue.Formatter.Json.Parser do @behaviour Langue.Formatter.Parser alias Langue.Utils.{NestedParserHelper, Placeholders} def parse(%{render: render}) do entries = render |> parse_json() |> Placeholders.parse(Langue.Formatter.Json.placeholder_regex()) %Langue.Formatter.Parser...
22.454545
70
0.696356
38d11d06abb43360ba7a210915b3f0fb595df8f8
5,730
ex
Elixir
lib/kazan/models.ex
chazsconi/kazan
da42cef9686584ed7b46428780d099ce77dae3ea
[ "MIT" ]
null
null
null
lib/kazan/models.ex
chazsconi/kazan
da42cef9686584ed7b46428780d099ce77dae3ea
[ "MIT" ]
null
null
null
lib/kazan/models.ex
chazsconi/kazan
da42cef9686584ed7b46428780d099ce77dae3ea
[ "MIT" ]
null
null
null
defmodule Kazan.Models do @moduledoc """ Contains generated structs for all Kube models as defined in the OAI specs. Each namespace underneath Kazan.Models represents a single struct as used by the Kubernetes API. Also contains functions for serializing & deserializing these generated structs. """ requi...
30.972973
99
0.591623
38d133410ea4dd3df25c9eee86de9dbde20212b9
436
ex
Elixir
web/views/error_view.ex
ckochx/unparsed_endpoint
fe84c7bb1e2d69f3ed6f4cfcd74834e53c36e897
[ "MIT" ]
null
null
null
web/views/error_view.ex
ckochx/unparsed_endpoint
fe84c7bb1e2d69f3ed6f4cfcd74834e53c36e897
[ "MIT" ]
null
null
null
web/views/error_view.ex
ckochx/unparsed_endpoint
fe84c7bb1e2d69f3ed6f4cfcd74834e53c36e897
[ "MIT" ]
null
null
null
defmodule UnparsedEndpoint.ErrorView do use UnparsedEndpoint.Web, :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 fou...
24.222222
49
0.694954
38d13361e36eee3664b131601bb811981feec9ae
90
exs
Elixir
modules-and-named-functions/sum.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2019-02-17T11:54:17.000Z
2019-02-17T11:54:17.000Z
modules-and-named-functions/sum.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
modules-and-named-functions/sum.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
defmodule SumOfFirstNNumbers do def of(0), do: 0 def of(n), do: n + of(n - 1) end
18
32
0.6
38d13572d64b264a025c93c93bf0082760b7fc21
2,915
ex
Elixir
lib/sna_web/controllers/api/entries_controller.ex
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
6
2019-07-16T13:34:33.000Z
2020-08-25T08:51:01.000Z
lib/sna_web/controllers/api/entries_controller.ex
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
3
2019-07-17T14:18:50.000Z
2020-06-06T08:07:45.000Z
lib/sna_web/controllers/api/entries_controller.ex
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
2
2019-07-17T05:42:04.000Z
2020-05-06T11:12:53.000Z
defmodule SnaWeb.Api.EntriesController do use SnaWeb, :controller use PhoenixSwagger swagger_path :create do description "Post a new entry" parameters do entry :body, Schema.ref(:EntryCreateUpdateRequest), "Entry content" end response 200, "Success", Schema.ref(:EntryResponse) response ...
28.578431
93
0.597942
38d13b83ff42f0b62ed3873174827dbe1e8fdd7a
2,501
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/entity.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/entity.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/entity.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...
41.683333
135
0.716114
38d170a7f4c3f3521fd9d53c0e663d819c07d555
1,187
ex
Elixir
lib/webapp_web/controllers/member_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
lib/webapp_web/controllers/member_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
lib/webapp_web/controllers/member_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule WebappWeb.MemberController do use WebappWeb, :controller alias Webapp.Accounts plug :is_logged_in plug :load_team def new(conn, _params) do team = conn.assigns[:team] conn |> put_flash(:error, "Not implemented yet.") |> redirect(to: Routes.team_path(conn, :show, team)) end d...
21.981481
90
0.604886
38d175fffa28e72112b07efb06dc0227a920e63b
831
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/application_security_group_list_result.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_security_group_list_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/application_security_group_list_result.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.ApplicationSecurityGroupListResult do @moduledoc """ A list of application security groups. """ ...
27.7
111
0.741276
38d18e3cf9e2ed5a8a894fb12c5e7f348e865f75
661
ex
Elixir
lib/beatbot/router.ex
daph/beatbot
37a2de733c114a9f1a6c69cbc92763ac1a98f842
[ "BSD-2-Clause-FreeBSD" ]
1
2019-10-16T23:37:00.000Z
2019-10-16T23:37:00.000Z
lib/beatbot/router.ex
daph/beatbot
37a2de733c114a9f1a6c69cbc92763ac1a98f842
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
lib/beatbot/router.ex
daph/beatbot
37a2de733c114a9f1a6c69cbc92763ac1a98f842
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
defmodule Beatbot.Router do use Plug.Router alias Beatbot.SlackResp alias Beatbot.Beat plug Plug.Parsers, parsers: [:urlencoded] plug Beatbot.TokenPlug plug :match plug :dispatch get "/" do send_resp(conn, 200, "") end post "/" do if conn.assigns[:token_valid] do text = Bea...
18.885714
62
0.612708
38d19772d35ad5dc9528bd126438f3f3e063d07a
850
ex
Elixir
lib/statix/conn.ex
LaudateCorpus1/statix
e075715d7f05bdf684442ff57638c4e2ab150b05
[ "0BSD" ]
5
2017-10-03T01:42:32.000Z
2019-10-04T12:39:28.000Z
lib/statix/conn.ex
LaudateCorpus1/statix
e075715d7f05bdf684442ff57638c4e2ab150b05
[ "0BSD" ]
null
null
null
lib/statix/conn.ex
LaudateCorpus1/statix
e075715d7f05bdf684442ff57638c4e2ab150b05
[ "0BSD" ]
3
2021-06-03T10:08:54.000Z
2022-03-17T19:45:09.000Z
defmodule Statix.Conn do @moduledoc false defstruct [:sock, :header] alias Statix.Packet def new(host, port) when is_binary(host) do new(String.to_char_list(host), port) end def new(host, port) when is_list(host) or is_tuple(host) do {:ok, addr} = :inet.getaddr(host, :inet) header = Packet.h...
23.611111
61
0.656471
38d1c6ea5b5e3c12b9353bc1ec9d3d19874234f4
1,132
ex
Elixir
test/support/channel_case.ex
adrianomota/doctor_schedule
626eef47df8f1ff082c7a7d76342cb9c361c75a2
[ "MIT" ]
null
null
null
test/support/channel_case.ex
adrianomota/doctor_schedule
626eef47df8f1ff082c7a7d76342cb9c361c75a2
[ "MIT" ]
null
null
null
test/support/channel_case.ex
adrianomota/doctor_schedule
626eef47df8f1ff082c7a7d76342cb9c361c75a2
[ "MIT" ]
null
null
null
defmodule DoctorScheduleWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case inte...
29.789474
77
0.743816
38d1cba3c0ba750ccb1ea73955f84f306c15ae38
1,271
exs
Elixir
apps/omg/test/omg/output_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg/test/omg/output_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg/test/omg/output_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.775
84
0.645948
38d1cd7831af0a2316651c56504d431cc77c837f
2,997
ex
Elixir
lib/auto_api/states/rooftop_control_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/rooftop_control_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/rooftop_control_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
37.4625
94
0.706373
38d1ebd53fc405e5b7e5bed5501b8e851d298e6d
1,571
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/indoor_level.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/indoor_level.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/indoor_level.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.729167
141
0.748568
38d1f82055ea643dec8152a5f01e041a7d912071
851
ex
Elixir
apps/omg/test/support/prop_test/constants.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg/test/support/prop_test/constants.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg/test/support/prop_test/constants.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
37
94
0.747356
38d208d688689567aa6a401001b29eaac61c5fed
518
ex
Elixir
src/lib/harald/hci/commands/controller_and_baseband/reset.ex
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
59
2019-02-16T00:09:58.000Z
2020-03-29T23:37:36.000Z
src/lib/harald/hci/commands/controller_and_baseband/reset.ex
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
19
2019-02-15T22:41:43.000Z
2020-02-15T19:20:57.000Z
src/lib/harald/hci/commands/controller_and_baseband/reset.ex
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
9
2020-05-07T00:02:36.000Z
2021-09-17T18:17:46.000Z
defmodule Harald.HCI.Commands.ControllerAndBaseband.Reset do @moduledoc """ Reference: version 5.2, Vol 4, Part E, 7.3.2. """ alias Harald.HCI.Commands.Command @behaviour Command @impl Command def decode(<<>>), do: {:ok, %{}} @impl Command def decode_return_parameters(<<status>>), do: {:ok, %{stat...
20.72
72
0.640927
38d224eab1b1e711ce8249140419aa567e215710
4,244
exs
Elixir
test/plug_secex_test.exs
szTheory/plug_secex
103d2fa5315a2dc3f9229ca4636edc4863f9e067
[ "Apache-2.0" ]
23
2016-07-17T02:03:04.000Z
2021-06-07T13:04:23.000Z
test/plug_secex_test.exs
szTheory/plug_secex
103d2fa5315a2dc3f9229ca4636edc4863f9e067
[ "Apache-2.0" ]
3
2018-09-17T05:28:46.000Z
2020-11-06T01:37:15.000Z
test/plug_secex_test.exs
szTheory/plug_secex
103d2fa5315a2dc3f9229ca4636edc4863f9e067
[ "Apache-2.0" ]
2
2019-10-29T18:25:56.000Z
2020-11-06T01:34:52.000Z
defmodule PlugSecexTest do use ExUnit.Case use Plug.Test alias PlugSecex doctest PlugSecex setup do conn = conn(:get, "/", "id=1") {:ok, %{conn: conn}} end defmodule CustomConfig do def overrides(headers), do: headers def except(header_names), do: header_names end test "Adds defau...
32.899225
97
0.625825
38d22d8cd84ee36f377fd9e83a1d7dfc9369a5e9
64
ex
Elixir
web/views/page_view.ex
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
web/views/page_view.ex
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
web/views/page_view.ex
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
defmodule DevQuotes.PageView do use DevQuotes.Web, :view end
12.8
31
0.78125
38d231dac864e6a5a47e801016d2a4b69d033b44
1,569
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/offset_position.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/offset_position.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/offset_position.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.38
110
0.71638
38d285a300d9b8e454c0f3fe88ac064ab3b34b3c
1,980
exs
Elixir
test/bus_bar_test.exs
JonRowe/busbar
ffa828f9fb8dbcd68a7f100c8f6f464e1dde83a9
[ "MIT" ]
1
2016-06-05T10:37:20.000Z
2016-06-05T10:37:20.000Z
test/bus_bar_test.exs
JonRowe/busbar
ffa828f9fb8dbcd68a7f100c8f6f464e1dde83a9
[ "MIT" ]
null
null
null
test/bus_bar_test.exs
JonRowe/busbar
ffa828f9fb8dbcd68a7f100c8f6f464e1dde83a9
[ "MIT" ]
null
null
null
defmodule BusBarTest do use ExUnit.Case doctest BusBar defmodule TestHandler do def handle_event({:produce_consume_test, {event, pid}}, state) do BusBar.notify event, pid {:ok, state} end def handle_event({:notify_test, pid}, state) do send(pid, :notify_test) {:ok, state} ...
23.571429
69
0.671717
38d2b56ed2eeb0834056ab6a4c3b26f98c9ccd3e
2,118
ex
Elixir
lib/automata/automaton_types/neuroevolution/sensor.ex
upstarter/automata
c97badb2ea4ff7fef3bb35fe3311ae80d26f576a
[ "Apache-2.0" ]
150
2020-02-04T15:10:52.000Z
2022-02-19T15:33:17.000Z
lib/automata/automaton_types/neuroevolution/sensor.ex
upstarter/automata
c97badb2ea4ff7fef3bb35fe3311ae80d26f576a
[ "Apache-2.0" ]
31
2020-02-09T01:37:23.000Z
2020-05-21T01:50:14.000Z
lib/automata/automaton_types/neuroevolution/sensor.ex
upstarter/automata
c97badb2ea4ff7fef3bb35fe3311ae80d26f576a
[ "Apache-2.0" ]
8
2020-02-06T04:42:20.000Z
2022-01-21T00:21:20.000Z
defmodule Automaton.Types.TWEANN.Sensor do @moduledoc """ A sensor is any process which produces a vector signal that the NN then processes. The signal can come from interacting with environ, or the Sensor can be a program that generates the signal in any way. Sensor's can be defined with the tuple: { id, c...
35.898305
98
0.686969
38d2e05ddfe8e51e5d451351a1810f836e4a5592
8,965
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/accounts.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/accounts.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/accounts.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.287736
217
0.68522
38d2e3fa1472550125962197be9720e6578d0c40
3,105
ex
Elixir
lib/admin/player_item_management.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
1
2021-12-21T14:22:12.000Z
2021-12-21T14:22:12.000Z
lib/admin/player_item_management.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
lib/admin/player_item_management.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
defmodule PlayfabEx.Admin.PlayerItemManagement do use Interface @doc """ Increments the specified virtual currency by the stated amount [online docs](https://api.playfab.com/documentation/admin/method/AddUserVirtualCurrency) """ @spec add_user_virtual_currency(map()) :: {:ok, map} | {:error, String.t} d...
47.045455
192
0.768116
38d2f48c774d440cf5cfe5cf18cdb8365182d27b
344
exs
Elixir
apps/ello_core/priv/repo/seeds.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_core/priv/repo/seeds.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_core/priv/repo/seeds.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
# 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: # # Ello.Repo.insert!(%Ello.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail i...
28.666667
61
0.700581
38d320cbe8f5e8667604e4bfe4111be38462c982
59
ex
Elixir
lib/murky_web/views/layout_view.ex
lulabad/murky
8cf7b24c7d36c3b035da05cc289dac957e95e3d7
[ "MIT" ]
6
2020-08-17T18:49:15.000Z
2021-11-21T08:22:06.000Z
lib/murky_web/views/layout_view.ex
lulabad/murky
8cf7b24c7d36c3b035da05cc289dac957e95e3d7
[ "MIT" ]
5
2020-09-22T16:46:38.000Z
2021-12-19T18:04:19.000Z
lib/murky_web/views/layout_view.ex
lulabad/murky
8cf7b24c7d36c3b035da05cc289dac957e95e3d7
[ "MIT" ]
2
2021-11-22T20:12:11.000Z
2021-12-19T18:12:01.000Z
defmodule MurkyWeb.LayoutView do use MurkyWeb, :view end
14.75
32
0.79661
38d329855985a1aedccb68e7fe8132eda09dee2c
4,445
exs
Elixir
apps/andi/test/integration/andi/event/event_handler_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/test/integration/andi/event/event_handler_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/test/integration/andi/event/event_handler_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Andi.Event.EventHandlerTest do use ExUnit.Case use Andi.DataCase import SmartCity.TestHelper import SmartCity.Event, only: [user_login: 0, user_organization_associate: 0] alias SmartCity.UserOrganizationAssociate alias Andi.Schemas.User alias SmartCity.TestDataGenerator, as: TDG alias Andi.In...
33.171642
119
0.662092
38d34ca32aa303c6265b903664c3e10057af9374
507
ex
Elixir
lib/sms77/voice.ex
sms77io/elixir
7767673fd48bbbc31afdd02aa781d7e6afcbf62d
[ "MIT" ]
1
2021-04-07T22:05:26.000Z
2021-04-07T22:05:26.000Z
lib/sms77/voice.ex
sms77io/elixir
7767673fd48bbbc31afdd02aa781d7e6afcbf62d
[ "MIT" ]
null
null
null
lib/sms77/voice.ex
sms77io/elixir
7767673fd48bbbc31afdd02aa781d7e6afcbf62d
[ "MIT" ]
null
null
null
defmodule Sms77.Voice do @moduledoc "All code regarding endpoint /voice belongs here." alias HTTPoison.Response alias Sms77.HTTPClient def post(params) do case HTTPClient.post("voice", {:form, Map.to_list(params)}) do {:ok, %Response{status_code: 200, body: body}} -> {:ok, body} {:ok, %Respon...
24.142857
68
0.639053
38d39317727cb667a03d36b4504f491cee6e9798
1,119
exs
Elixir
apps/expenses/config/config.exs
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
apps/expenses/config/config.exs
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
apps/expenses/config/config.exs
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.096774
73
0.751564
38d3fca08d22ec3a6334dee270f5343eb7ff2405
771
ex
Elixir
apps/diet_web/lib/diet_web/food_fork_web_api/food_fork_web_http_client.ex
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
1
2020-06-01T21:25:54.000Z
2020-06-01T21:25:54.000Z
apps/diet_web/lib/diet_web/food_fork_web_api/food_fork_web_http_client.ex
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
221
2019-07-20T17:20:49.000Z
2021-08-02T06:21:10.000Z
apps/diet_web/lib/diet_web/food_fork_web_api/food_fork_web_http_client.ex
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
null
null
null
defmodule DietWeb.FoodForkWebApi.FoodForkWebHTTPClient do @json Phoenix.json_library() @search_url "https://www.food2fork.com/api/search" @recipe_url "https://www.food2fork.com/api/get" def search(query) when is_binary(query) do query = URI.encode_www_form(query) url = web_search_url() <> "&q=#{query}"...
22.676471
57
0.675746
38d41a3296f777b53cfafd6010466e19f49592ad
3,447
ex
Elixir
carnage/list.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
10
2021-03-02T20:05:13.000Z
2022-03-14T21:10:39.000Z
git_garbage/list.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-14T18:29:44.000Z
2021-12-23T20:38:27.000Z
git_garbage/list.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-05T20:41:26.000Z
2021-12-26T01:46:42.000Z
# def new_list_buffer do # raise "lol?" # # alias GUI.Scene.Root, as: Franklin # # def new_buffer(:test) do # # new_buffer(%{ # # type: :list, # # data: [ # # {"iderieri", %{ # # title: "Luke", # # text: "First note" # # ...
30.236842
152
0.510879
38d42f901b2b60119ab5bc8423cfa6707e64567d
2,578
ex
Elixir
lib/simple_pool/support/database.ex
Prodev2017/Simple_Elixir
e210071df8a6ac7cc8de2ed3360fcdb1ba440785
[ "MIT" ]
null
null
null
lib/simple_pool/support/database.ex
Prodev2017/Simple_Elixir
e210071df8a6ac7cc8de2ed3360fcdb1ba440785
[ "MIT" ]
null
null
null
lib/simple_pool/support/database.ex
Prodev2017/Simple_Elixir
e210071df8a6ac7cc8de2ed3360fcdb1ba440785
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- use Amnesia defdatabase Noizu.SimplePool.Database do #-----------------...
50.54902
195
0.644298
38d436f9ea37932b0ecbad69dc2b488c3d61d18f
656
exs
Elixir
config/test.exs
jeffcole/loops
8d1f8345140182905dfc1967af135205b82f2cdc
[ "MIT" ]
null
null
null
config/test.exs
jeffcole/loops
8d1f8345140182905dfc1967af135205b82f2cdc
[ "MIT" ]
null
null
null
config/test.exs
jeffcole/loops
8d1f8345140182905dfc1967af135205b82f2cdc
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :loops_with_friends, LoopsWithFriends.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :lo...
28.521739
76
0.78811
38d44d0675dcc56d286980f9dab3f7fb50a6d99e
1,215
ex
Elixir
phoenix_app/benchmarker/lib/benchmarker/endpoint.ex
ansrivas/phoenix-and-gin
c3ee9f2bc5db3bb41179bc7b8747455ae148b55b
[ "MIT" ]
null
null
null
phoenix_app/benchmarker/lib/benchmarker/endpoint.ex
ansrivas/phoenix-and-gin
c3ee9f2bc5db3bb41179bc7b8747455ae148b55b
[ "MIT" ]
null
null
null
phoenix_app/benchmarker/lib/benchmarker/endpoint.ex
ansrivas/phoenix-and-gin
c3ee9f2bc5db3bb41179bc7b8747455ae148b55b
[ "MIT" ]
null
null
null
defmodule Benchmarker.Endpoint do use Phoenix.Endpoint, otp_app: :benchmarker socket "/socket", Benchmarker.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 Pl...
28.255814
69
0.720165
38d4a6155d879d6066df8fef676ef8e56803f970
11,558
ex
Elixir
clients/testing/lib/google_api/testing/v1/api/projects.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/api/projects.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/api/projects.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...
42.182482
196
0.629088
38d4a9a98e6ff13ed1f55f8d5a083a2a00fb0d1c
933
exs
Elixir
test/raisin/accounts_test.exs
oestrich/raisin
7a0cf13768a8e59b023f8e940c73e7c7eeff18e8
[ "MIT" ]
1
2018-10-23T04:13:35.000Z
2018-10-23T04:13:35.000Z
test/raisin/accounts_test.exs
oestrich/raisin
7a0cf13768a8e59b023f8e940c73e7c7eeff18e8
[ "MIT" ]
null
null
null
test/raisin/accounts_test.exs
oestrich/raisin
7a0cf13768a8e59b023f8e940c73e7c7eeff18e8
[ "MIT" ]
null
null
null
defmodule Raisin.AccountsTest do use Raisin.DataCase alias Raisin.Accounts describe "registering a new account" do test "successful" do {:ok, user} = Accounts.register(%{ username: "user", email: "user@example.com", password: "password", password_confirmation: "password...
24.552632
90
0.633441
38d4d5cdacf5478c4543001f3d3a8d8e7c3c7b13
480
ex
Elixir
apps/graphql/lib/graphql/resolvers/dependencies.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/graphql/lib/graphql/resolvers/dependencies.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/graphql/lib/graphql/resolvers/dependencies.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule GraphQl.Resolvers.Dependencies do alias Core.Services.{Charts, Dependencies} alias Core.Services.Terraform, as: TfSvc defmodule Closure, do: defstruct [:terraform, :helm] def resolve_closure(args, _) do resource = find_resource(args) closure = Dependencies.closure(resource) {:ok, closu...
28.235294
72
0.714583
38d4f0d231223234cba37199189bc9f346b33e29
13,832
exs
Elixir
test/phoenix_live_view/js_test.exs
holandes22/phoenix_live_view
1b144a624818bd14c216097c7b40c4026171c84d
[ "MIT" ]
4,659
2019-03-14T20:22:43.000Z
2022-03-31T20:13:30.000Z
test/phoenix_live_view/js_test.exs
holandes22/phoenix_live_view
1b144a624818bd14c216097c7b40c4026171c84d
[ "MIT" ]
1,745
2019-03-14T22:04:38.000Z
2022-03-31T17:26:25.000Z
test/phoenix_live_view/js_test.exs
qdentity/phoenix_live_view
d0b116c7f951c1651715b7918ee312f4dcb7f8c5
[ "MIT" ]
744
2019-03-14T20:48:05.000Z
2022-03-25T14:35:04.000Z
defmodule Phoenix.LiveView.JSTest do use ExUnit.Case, async: true alias Phoenix.LiveView.JS describe "push" do test "with defaults" do assert JS.push("inc") == %JS{ops: [["push", %{event: "inc"}]]} end test "target" do assert JS.push("inc", target: "#modal") == %JS{ ops: ...
31.870968
160
0.466816
38d4feca0ee159f957a1b94feb476b8adb04894b
928
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/traffic_analytics_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.Network/lib/microsoft/azure/management/network/model/traffic_analytics_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/traffic_analytics_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.Network.Model.TrafficAnalyticsProperties do @moduledoc """ Parameters that define the configuration of traffic anal...
33.142857
163
0.793103
38d51257f638deee02d7afe6ffa0385edb8558e2
1,312
exs
Elixir
mix.exs
tessi/wasmex
f6cd7f88e018b1559f3e9b8be733721834d67be7
[ "MIT" ]
243
2020-01-15T11:36:36.000Z
2022-03-30T09:38:04.000Z
mix.exs
tessi/wasmex
f6cd7f88e018b1559f3e9b8be733721834d67be7
[ "MIT" ]
255
2020-01-16T00:00:16.000Z
2022-03-29T10:05:52.000Z
mix.exs
tessi/wasmex
f6cd7f88e018b1559f3e9b8be733721834d67be7
[ "MIT" ]
11
2020-04-24T14:57:33.000Z
2022-03-25T12:04:40.000Z
defmodule Wasmex.MixProject do use Mix.Project def project do [ app: :wasmex, version: "0.6.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, name: "Wasmex", description: description(), package: package(), deps: deps() ] end # Run "mix help com...
25.230769
158
0.580793
38d52c895573f1bfccbe645b7507500cd0102289
7,801
ex
Elixir
lib/mdns_lite/responder.ex
m13m/mdns_lite
a49529e6444b854ca7b55091b3137281fd1cdb0c
[ "Apache-2.0" ]
null
null
null
lib/mdns_lite/responder.ex
m13m/mdns_lite
a49529e6444b854ca7b55091b3137281fd1cdb0c
[ "Apache-2.0" ]
null
null
null
lib/mdns_lite/responder.ex
m13m/mdns_lite
a49529e6444b854ca7b55091b3137281fd1cdb0c
[ "Apache-2.0" ]
null
null
null
defmodule MdnsLite.Responder do @moduledoc false # A GenServer that is responsible for responding to a limited number of mDNS # requests (queries). A UDP port is opened on the mDNS reserved IP/port. Any # UDP packets will be caught by handle_info() but only a subset of them are # of interest. The module `Mdn...
30.119691
96
0.607486
38d5a91300719afc7a96fb2f0e5a8664c804839e
212
exs
Elixir
test/zcash_explorer_web/controllers/page_controller_test.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-11-04T20:19:35.000Z
2022-02-15T06:55:49.000Z
test/zcash_explorer_web/controllers/page_controller_test.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-09-12T01:36:25.000Z
2022-02-18T07:28:42.000Z
test/zcash_explorer_web/controllers/page_controller_test.exs
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
8
2021-07-23T17:11:41.000Z
2022-03-17T17:07:55.000Z
defmodule ZcashExplorerWeb.PageControllerTest do use ZcashExplorerWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23.555556
60
0.698113
38d5ab58aac43645f92891b115f21a6d14bcc280
1,812
ex
Elixir
clients/content/lib/google_api/content/v21/model/return_policy_online_restocking_fee.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/return_policy_online_restocking_fee.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/return_policy_online_restocking_fee.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...
36.24
154
0.74117
38d5c76eb3f285ffcf9e32780091a29de25db2e0
8,163
ex
Elixir
lib/fe/maybe.ex
Nirei/fe
2b9a1fe230e0c84ad60833864dd55ae87094c918
[ "MIT" ]
23
2019-11-15T18:36:43.000Z
2022-03-16T14:12:27.000Z
lib/fe/maybe.ex
Nirei/fe
2b9a1fe230e0c84ad60833864dd55ae87094c918
[ "MIT" ]
5
2018-11-25T10:07:15.000Z
2019-07-04T07:21:48.000Z
lib/fe/maybe.ex
Nirei/fe
2b9a1fe230e0c84ad60833864dd55ae87094c918
[ "MIT" ]
4
2020-01-05T14:18:54.000Z
2021-02-26T17:41:35.000Z
defmodule FE.Maybe do @moduledoc """ `FE.Maybe` is an explicit data type for representing values that might or might not exist. """ alias FE.{Result, Review} @type t(a) :: {:just, a} | :nothing defmodule Error do defexception [:message] end @doc """ Creates an `FE.Maybe` representing the absen...
31.156489
104
0.61546
38d5e59dcb00c8316a286e9671221c507218d018
234
exs
Elixir
apps/memo/config/test.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
apps/memo/config/test.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
apps/memo/config/test.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :memo, Memo.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "memo_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox
21.272727
34
0.726496
38d5ec11d968b094da32d4edf1cb93f7b99e610f
2,520
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/account_permission.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/account_permission.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/account_permission.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.645161
205
0.708333
38d60c2755e92a7742fa88a1d80ede735f375c1c
356
ex
Elixir
04_mad_lib/lib/mad_lib.ex
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
1
2015-12-15T04:46:41.000Z
2015-12-15T04:46:41.000Z
04_mad_lib/lib/mad_lib.ex
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
null
null
null
04_mad_lib/lib/mad_lib.ex
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
null
null
null
defmodule MadLib do def run do noun = IO.gets("Enter a noun: ") |> String.strip verb = IO.gets("Enter a verb: ") |> String.strip adjective = IO.gets("Enter an adjective: ") |> String.strip adverb = IO.gets("Enter an adverb: ") |> String.strip IO.puts("Do you #{verb} your #{adjective} #{noun} #{adv...
35.6
84
0.626404
38d6266d54398d2539d71b00f1eb86faf342b2c7
6,897
ex
Elixir
apps/dtask/lib/dtask/task/monitor.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
apps/dtask/lib/dtask/task/monitor.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
apps/dtask/lib/dtask/task/monitor.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
defmodule DTask.Task.Monitor do @moduledoc false alias DTask.Task alias DTask.Task.Dispatcher use GenServer require Logger defmodule State do use StructAccess @enforce_keys [:def_of, :state_of] defstruct [:def_of, :state_of] @typep task_running :: %{ n...
29.857143
117
0.599246
38d64a648eae181327cf47d05a135ffd4b32a5d0
150
exs
Elixir
interpreter/test/interpreter_test.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
interpreter/test/interpreter_test.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
interpreter/test/interpreter_test.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
defmodule InterpreterTest do use ExUnit.Case doctest Interpreter test "greets the world" do assert Interpreter.hello() == :world end end
16.666667
40
0.733333
38d64d61e2c38f3d6475217dd38fc7cbfa98b0f7
17,306
ex
Elixir
lib/mix/lib/mix/tasks/format.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-29T12:35:51.000Z
2019-04-29T12:35:51.000Z
lib/mix/lib/mix/tasks/format.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/format.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Format do use Mix.Task @shortdoc "Formats the given files/patterns" @moduledoc """ Formats the given files and patterns. mix format mix.exs "lib/**/*.{ex,exs}" "test/**/*.{ex,exs}" If any of the files is `-`, then the output is read from stdin and written to stdout. ## Forma...
34.405567
110
0.674448
38d6697ae679c7f5f6265478dd9e3ff83868f2e5
1,431
ex
Elixir
test/support/data_case.ex
riebeekn/phx-authorization-with-bodyguard
d96fd428f513009d94a3c085a3ad822730aee3e8
[ "MIT" ]
1
2019-05-11T04:50:32.000Z
2019-05-11T04:50:32.000Z
test/support/data_case.ex
riebeekn/phx-authorization-with-bodyguard
d96fd428f513009d94a3c085a3ad822730aee3e8
[ "MIT" ]
null
null
null
test/support/data_case.ex
riebeekn/phx-authorization-with-bodyguard
d96fd428f513009d94a3c085a3ad822730aee3e8
[ "MIT" ]
null
null
null
defmodule Warehouse.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, it cannot be async. For this reason, every te...
26.018182
77
0.684137
38d669c8c9a269b2f7f7d88161a0ef433a12ff5a
3,495
exs
Elixir
test/membrane/rtp/stream_receive_bin_test.exs
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
null
null
null
test/membrane/rtp/stream_receive_bin_test.exs
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
null
null
null
test/membrane/rtp/stream_receive_bin_test.exs
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.RTP.StreamReceiveBinTest do use ExUnit.Case import Membrane.Testing.Assertions alias Membrane.RTP alias Membrane.RTP.StreamReceiveBin alias Membrane.RTP.H264 alias Membrane.Testing @pcap_file "test/fixtures/rtp/session/demo.pcap" @frames_count 1038 @ssrc 790_688_045 @h264_clock...
31.772727
86
0.655222
38d6774f426aeca4655bfc367a134f71dccb11cc
1,850
exs
Elixir
mix.exs
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
115
2017-08-01T15:13:13.000Z
2020-08-20T13:29:38.000Z
mix.exs
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
24
2017-08-01T13:33:47.000Z
2020-09-25T10:12:58.000Z
mix.exs
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
18
2017-10-05T17:14:13.000Z
2020-09-01T10:46:54.000Z
defmodule Makeup.Mixfile do use Mix.Project @version "1.1.0" @url "https://github.com/elixir-makeup/makeup" def project do [ app: :makeup, version: @version, elixir: "~> 1.6", elixirc_paths: compiler_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), ...
23.417722
96
0.58973
38d6868c509e2f1760cdb6ecaa874ced8cc902bd
950
ex
Elixir
test/support/channel_case.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
test/support/channel_case.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
3
2021-03-09T18:21:20.000Z
2021-09-01T22:58:23.000Z
test/support/channel_case.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
defmodule OndeServerWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interact...
25
72
0.718947
38d6a0e8ad41f21eb3b4e6a46eb2f6febac10d5e
1,529
ex
Elixir
apps/bytepack/lib/bytepack/extensions/plug/dev_store.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
313
2020-12-03T17:26:24.000Z
2022-03-18T09:05:14.000Z
apps/bytepack/lib/bytepack/extensions/plug/dev_store.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
null
null
null
apps/bytepack/lib/bytepack/extensions/plug/dev_store.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
57
2020-12-03T17:41:53.000Z
2022-03-17T17:28:16.000Z
defmodule Bytepack.Extensions.Plug.DevStore do use Plug.Router @dir Path.expand("../../../../tmp/store", __DIR__) def dir(), do: @dir @moduledoc """ An easy development store. It serves files at `http://localhost:PORT` and stores them at `#{@dir}`. """ plug(Plug.Static, at: "/", from: @dir) plug(:...
21.535211
87
0.577502
38d6a135f9b029bb768614163e531e121d80b74c
86,635
ex
Elixir
clients/kratos/elixir/lib/ory/api/v0alpha2.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/api/v0alpha2.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/api/v0alpha2.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "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 Ory.Api.V0alpha2 do @moduledoc """ API calls for all endpoints tagged `V0alpha2`. """ alias Ory.Connection import Ory.RequestBuilder @d...
63.608664
3,281
0.716085
38d6dff2a005bf617ed21db57c685ef3632a54dc
932
exs
Elixir
mix.exs
bradleyd/iris
31438c46d4fc78bbea2d387a077db43a443426b2
[ "MIT" ]
3
2020-09-06T22:07:11.000Z
2020-12-01T12:03:14.000Z
mix.exs
bradleyd/iris
31438c46d4fc78bbea2d387a077db43a443426b2
[ "MIT" ]
null
null
null
mix.exs
bradleyd/iris
31438c46d4fc78bbea2d387a077db43a443426b2
[ "MIT" ]
null
null
null
defmodule Iris.Mixfile do use Mix.Project def project do [ app: :iris, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps(), name: "Iris", source_url: "" ] end # Run "mi...
20.26087
86
0.551502
38d6f17539331eef74ebbf21bbbe0ce96ad83700
1,043
ex
Elixir
test/support/conn_case.ex
marcogbarcellos/phoenix_first_app
f610831a05e32fc4b15cf49630008c307024d023
[ "MIT" ]
null
null
null
test/support/conn_case.ex
marcogbarcellos/phoenix_first_app
f610831a05e32fc4b15cf49630008c307024d023
[ "MIT" ]
null
null
null
test/support/conn_case.ex
marcogbarcellos/phoenix_first_app
f610831a05e32fc4b15cf49630008c307024d023
[ "MIT" ]
null
null
null
defmodule FirstAppWeb.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 datastructures and query the data layer. Finally, if th...
26.74359
70
0.720997
38d706359dd613a89bb046e95c94d7515b0c6334
34,179
exs
Elixir
test/ecto/type_test.exs
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
test/ecto/type_test.exs
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
test/ecto/type_test.exs
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.TypeTest do use ExUnit.Case, async: true defmodule Custom do @behaviour Ecto.Type def type, do: :custom def load(_), do: {:ok, :load} def dump(_), do: {:ok, :dump} def cast(_), do: {:ok, :cast} def equal?(true, _), do: true def equal?(_, _), do: false end ...
46.001346
134
0.583633
38d71ccbf362495cf4cc6ebf839dd71fd0e2cd76
1,111
ex
Elixir
test/support/channel_case.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
8
2016-06-12T20:11:26.000Z
2017-05-02T04:36:41.000Z
test/support/channel_case.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
2
2016-06-12T15:49:06.000Z
2016-06-12T20:00:02.000Z
test/support/channel_case.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
null
null
null
defmodule WhistlerNewsReaderWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, ...
25.25
80
0.722772
38d755bb775946272b14a1b41b1784b8ebb9fe78
63
ex
Elixir
lib/fun_retro_web/views/auth_view.ex
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
lib/fun_retro_web/views/auth_view.ex
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
lib/fun_retro_web/views/auth_view.ex
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
defmodule FunRetroWeb.AuthView do use FunRetroWeb, :view end
15.75
33
0.809524
38d7583c1be547070267c4e4104637e0ad162c30
2,992
exs
Elixir
test/api/relationships_test.exs
heikkari/dashium
d3f58033efac81e7f747091f2810caf2ce8f45ab
[ "MIT" ]
2
2021-09-05T23:23:00.000Z
2021-09-11T16:26:11.000Z
test/api/relationships_test.exs
heikkari/dashium
d3f58033efac81e7f747091f2810caf2ce8f45ab
[ "MIT" ]
null
null
null
test/api/relationships_test.exs
heikkari/dashium
d3f58033efac81e7f747091f2810caf2ce8f45ab
[ "MIT" ]
null
null
null
defmodule Api.RelationshipsTest do use ExUnit.Case, async: false use Plug.Test @options Router.init([]) @base "/database/" @friend_add "uploadGJFriendRequest20.php" @friend_accept "acceptGJFriendRequest20.php" @friend_remove "removeGJFriend20.php" @friends_list "getGJUserList20.php" @user_block "bloc...
29.048544
104
0.672794
38d75c5ed98ac4b7bcb77caf668d1c4ca5d5f482
1,173
ex
Elixir
web/channels/user_socket.ex
Fabian-Fynn/elixir-socket-test
a292d8397c331bdc988f32b601f85f477a20d58c
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
Fabian-Fynn/elixir-socket-test
a292d8397c331bdc988f32b601f85f477a20d58c
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
Fabian-Fynn/elixir-socket-test
a292d8397c331bdc988f32b601f85f477a20d58c
[ "MIT" ]
null
null
null
defmodule SocketTest.UserSocket do use Phoenix.Socket ## Channels channel "rooms:*", SocketTest.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 au...
31.702703
83
0.705882
38d76dbee43c9a3f76ec389fafa09c432fca2f3a
2,258
exs
Elixir
learn/OTPAndPhoenix/islands_interface/config/prod.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/OTPAndPhoenix/islands_interface/config/prod.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/OTPAndPhoenix/islands_interface/config/prod.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # IslandsInterfaceWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done ther...
34.738462
75
0.732064
38d795edb60cd2e49a177fce295c8012c74d3a68
1,393
exs
Elixir
config/config.exs
hnen/GoogleSheets
80d288deb69a0ffa778657e0eb077fc2057804a3
[ "MIT" ]
42
2015-03-17T10:54:14.000Z
2021-06-07T07:37:23.000Z
config/config.exs
hnen/GoogleSheets
80d288deb69a0ffa778657e0eb077fc2057804a3
[ "MIT" ]
9
2015-07-21T10:43:48.000Z
2019-12-08T22:50:37.000Z
config/config.exs
hnen/GoogleSheets
80d288deb69a0ffa778657e0eb077fc2057804a3
[ "MIT" ]
10
2015-03-17T10:45:19.000Z
2021-06-07T07:22:40.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :google_sheets, spreadsheets: [ config: [ sheets: ["KeyValue"], ignored_sheets: [], parser: nil, loader: GoogleSheets.Loader.Docs, poll_delay_seconds: 36...
36.657895
117
0.730797
38d7dcbd7846f87cb552ae1f7751a8cfbacb44ae
1,440
exs
Elixir
test/ecto/cursor_pagination_test.exs
br/ecto_cursor_pagination
90f80bdf4273482d084641755dec66a0694219dd
[ "Apache-2.0" ]
7
2017-01-15T13:09:44.000Z
2019-12-28T17:08:33.000Z
test/ecto/cursor_pagination_test.exs
br/ecto_cursor_pagination
90f80bdf4273482d084641755dec66a0694219dd
[ "Apache-2.0" ]
null
null
null
test/ecto/cursor_pagination_test.exs
br/ecto_cursor_pagination
90f80bdf4273482d084641755dec66a0694219dd
[ "Apache-2.0" ]
1
2021-11-11T10:16:02.000Z
2021-11-11T10:16:02.000Z
defmodule Ecto.CursorPaginationTest do use ExUnit.Case test "#paginate - prev" do query = %Ecto.Query{} result = Ecto.CursorPagination.paginate(query, 3, "prev") assert result.limit.expr == {:^, [], [0]} assert Enum.map(result.order_bys, &(&1.expr)) == [[desc: {{:., [], [{:&,...
42.352941
122
0.446528
38d7ec60eaefec15d501c45375161ab419802c65
1,337
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows_c.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows_c.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows_c.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...
28.446809
81
0.73074
38d7ee6b2a7c743780ea94834d9200930670bdee
1,707
ex
Elixir
lib/google_api/storage/v1/model/bucket_lifecycle.ex
albert-io/elixir-google-api-storage
302144ec2c1261104d1a20942482796b2fc0905f
[ "Apache-2.0" ]
null
null
null
lib/google_api/storage/v1/model/bucket_lifecycle.ex
albert-io/elixir-google-api-storage
302144ec2c1261104d1a20942482796b2fc0905f
[ "Apache-2.0" ]
null
null
null
lib/google_api/storage/v1/model/bucket_lifecycle.ex
albert-io/elixir-google-api-storage
302144ec2c1261104d1a20942482796b2fc0905f
[ "Apache-2.0" ]
1
2019-04-17T05:52:55.000Z
2019-04-17T05:52:55.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...
33.470588
177
0.755126
38d7f2378c95cd8eb7d2a209fbd6d6bb57981b78
18,484
exs
Elixir
test/lib/bamboo/adapters/smtp_adapter_test.exs
timsu/bamboo_smtp
ecf61bcb02dcf25fc4ccafc599f6fc52b4dd732e
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/smtp_adapter_test.exs
timsu/bamboo_smtp
ecf61bcb02dcf25fc4ccafc599f6fc52b4dd732e
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/smtp_adapter_test.exs
timsu/bamboo_smtp
ecf61bcb02dcf25fc4ccafc599f6fc52b4dd732e
[ "MIT" ]
null
null
null
defmodule Bamboo.SMTPAdapterTest do use ExUnit.Case alias Bamboo.Email alias Bamboo.SMTPAdapter defmodule FakeGenSMTP do use GenServer def start_link do GenServer.start_link(__MODULE__, [], name: __MODULE__) end def send_blocking(email, config) do GenServer.call(__MODULE__, {:sen...
35.140684
116
0.662844
38d7f7e67e908362e717bf4244cdb4889228e561
1,587
exs
Elixir
test/rendering/wrapped_attributes_test.exs
lobo-tuerto/slime
37e64cc0ad31e0c9e6a9d8cd3bfe290cfda5897a
[ "MIT" ]
1
2021-04-15T00:39:21.000Z
2021-04-15T00:39:21.000Z
test/rendering/wrapped_attributes_test.exs
lobo-tuerto/slime
37e64cc0ad31e0c9e6a9d8cd3bfe290cfda5897a
[ "MIT" ]
null
null
null
test/rendering/wrapped_attributes_test.exs
lobo-tuerto/slime
37e64cc0ad31e0c9e6a9d8cd3bfe290cfda5897a
[ "MIT" ]
null
null
null
defmodule RenderWrappedAttributesTest do use ExUnit.Case, async: true import Slime, only: [render: 1, render: 2] test "rendering of boolean attributes" do assert render(~s(div [ab="ab" a] a)) == ~s(<div a ab="ab">a</div>) assert render(~s(div [a b="b"] c)) == ~s(<div a b="b">c</div>) assert render(~...
36.906977
110
0.581601
38d845c23b5621905576fb9cb0d2888dd1595f99
533
ex
Elixir
server/lib/freedom_account/schema.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
6
2019-04-03T19:16:01.000Z
2020-08-10T09:38:24.000Z
server/lib/freedom_account/schema.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
32
2019-03-19T02:45:45.000Z
2021-12-05T06:58:07.000Z
server/lib/freedom_account/schema.ex
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
null
null
null
defmodule FreedomAccount.Schema do @moduledoc """ Common settings for all Ecto schemas. See `Ecto.Schema`. """ alias Ecto.Schema @type belongs_to(t) :: Schema.belongs_to(t) @type has_many(t) :: Schema.has_many(t) @type id :: Ecto.UUID.t() @type t :: Schema.t() defmacro __using__(_opts) do qu...
19.035714
56
0.65666
38d84fdac7ea8f2d8070f23a8e22e80f2240640f
750
exs
Elixir
test/type_check/macros_test.exs
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
test/type_check/macros_test.exs
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
test/type_check/macros_test.exs
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
defmodule TypeCheck.MacrosTest do use ExUnit.Case use ExUnitProperties import StreamData, only: [] import TypeCheck.Type.StreamData doctest TypeCheck.Macros describe "basic type definition" do defmodule BasicTypeDefinition do use TypeCheck @type! mylist :: list(integer()) end tes...
24.193548
69
0.686667
38d86f963a9a35401fe6a8c20bc0a5337a57c923
5,541
exs
Elixir
test/admint/definition_test.exs
tiberiuc/admint
6d1bd5462f49053c7c3999c35cc301c7b8f08a70
[ "MIT" ]
null
null
null
test/admint/definition_test.exs
tiberiuc/admint
6d1bd5462f49053c7c3999c35cc301c7b8f08a70
[ "MIT" ]
null
null
null
test/admint/definition_test.exs
tiberiuc/admint
6d1bd5462f49053c7c3999c35cc301c7b8f08a70
[ "MIT" ]
null
null
null
defmodule Admint.DefinitionTest do use ExUnit.Case describe "Set definition data" do test "Default empty admin" do defmodule TestNavigationEmptyAdmin do use Admint, :definition admin do end end definition = TestNavigationEmptyAdmin.__admint_definition__() asse...
26.898058
98
0.507129
38d8862130d15027a60b4f2077a36a6ab5bda5ce
759
exs
Elixir
lib/exercism/accumulate/accumulate.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/accumulate/accumulate.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/accumulate/accumulate.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
defmodule Accumulate do @doc """ Given a list and a function, apply the function to each list item and replace it with the function's return value. Returns a list. ## Examples iex> Accumulate.accumulate([], fn(x) -> x * 2 end) [] iex> Accumulate.accumulate([1, 2, 3], fn(x) -> x *...
24.483871
95
0.600791
38d89fe1bd1afe373b9e26a4d0f78a4cff16de7e
806
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/next_hop_parameters.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/next_hop_parameters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/next_hop_parameters.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.NextHopParameters do @moduledoc """ Parameters that define the source and destination endpoint. """...
25.1875
90
0.715881
38d8ace2477a390e06f38f998a3a0da3ca87fc56
107
exs
Elixir
config/config.exs
rob-brown/TzServer
0324e8bd28e76565f9772ec56885f1d4772180b7
[ "MIT" ]
3
2018-02-15T01:47:38.000Z
2020-01-20T19:57:16.000Z
config/config.exs
rob-brown/TzServer
0324e8bd28e76565f9772ec56885f1d4772180b7
[ "MIT" ]
null
null
null
config/config.exs
rob-brown/TzServer
0324e8bd28e76565f9772ec56885f1d4772180b7
[ "MIT" ]
null
null
null
use Mix.Config data_dir = Path.join([__DIR__, "..", "timezonedata"]) config :tzdata, :data_dir, data_dir
17.833333
53
0.700935
38d8b3f3409fa53fa599928e83ccbe337192e333
601
ex
Elixir
fibonacci/lib/fibonacci/day14.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
fibonacci/lib/fibonacci/day14.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
fibonacci/lib/fibonacci/day14.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
defmodule Fibonacci.Day14 do def start_link(), do: Agent.start_link(fn -> %{1 => 1, 2 => 1} end, name: :cache) |> elem(0) def get(index), do: Agent.get(:cache, fn state -> state[index] end) |> after_cache_lookup(index, fn index -> get(index - 1) + get(index - 2) end) defp after_cache_lookup(_not...
28.619048
81
0.66223
38d8f69da35f82a823db5673cebcecbdb8da0a18
2,248
ex
Elixir
lib/memo_web/telemetry.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
lib/memo_web/telemetry.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
lib/memo_web/telemetry.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
defmodule MemoWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn mor...
31.661972
99
0.653025
38d8fa19a0e895d0406221f0e3bfb466b94c0d67
356
exs
Elixir
apps/wdpa_models/priv/repo/seeds.exs
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
4
2016-05-08T10:17:19.000Z
2019-06-10T15:23:20.000Z
apps/wdpa_models/priv/repo/seeds.exs
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
null
null
null
apps/wdpa_models/priv/repo/seeds.exs
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "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: # # WdpaModels.Repo.insert!(%WdpaModels.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they...
29.666667
61
0.710674
38d8fd10a969852886be6db38ca658eddde3aede
191
ex
Elixir
lib/ecto_crdt_types/types/state/lexcounter.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
8
2018-09-20T13:05:16.000Z
2021-09-22T08:40:40.000Z
lib/ecto_crdt_types/types/state/lexcounter.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
lib/ecto_crdt_types/types/state/lexcounter.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
defmodule EctoCrdtTypes.Types.State.LEXCounter do @moduledoc """ Lexicographic Counter. """ @crdt_type :state_lexcounter @crdt_value_type :string use EctoCrdtTypes.Types.CRDT end
21.222222
49
0.769634
38d929e2b79e74f16ddeacaed38c77aff3da998e
643
exs
Elixir
config/prod.exs
PranavPuranik/project_twitter
0b660e8749488a632d6f64212205757254caaec3
[ "MIT" ]
2
2019-10-10T11:57:29.000Z
2019-12-17T18:04:10.000Z
config/prod.exs
PranavPuranik/project_twitter
0b660e8749488a632d6f64212205757254caaec3
[ "MIT" ]
86
2019-04-27T16:18:58.000Z
2021-05-28T23:13:36.000Z
config/prod.exs
PranavPuranik/project_twitter
0b660e8749488a632d6f64212205757254caaec3
[ "MIT" ]
1
2020-07-16T04:52:47.000Z
2020-07-16T04:52:47.000Z
use Mix.Config config :chirper, ChirperWeb.Endpoint, http: [port: System.get_env("PORT")], url: [scheme: "https", host: "chirperweb.herokuapp.com", port: 443], force_ssl: [rewrite_on: [:x_forwarded_proto]], cache_static_manifest: "priv/static/cache_manifest.json", secret_key_base: Map.fetch!(System.get_env()...
32.15
70
0.744946
38d93057b1f5c89eede48bc8269d6104456f554a
305
ex
Elixir
test/support/supervised_server.ex
commanded/commanded-swarm-registry
b2ed22c79326104974e02801f4ff05c5e9dcc89f
[ "MIT" ]
17
2017-09-28T09:09:59.000Z
2022-02-10T07:58:30.000Z
test/support/supervised_server.ex
commanded/commanded-swarm-registry
b2ed22c79326104974e02801f4ff05c5e9dcc89f
[ "MIT" ]
2
2019-07-04T02:23:10.000Z
2021-09-23T02:33:37.000Z
test/support/supervised_server.ex
commanded/commanded-swarm-registry
b2ed22c79326104974e02801f4ff05c5e9dcc89f
[ "MIT" ]
5
2018-04-22T10:08:46.000Z
2020-02-29T10:23:53.000Z
defmodule Commanded.Registration.SupervisedServer do use GenServer use Commanded.Registration alias Commanded.SwarmApp alias Commanded.Registration def start_link(_args) do Registration.start_link(SwarmApp, "supervisedchild", __MODULE__, []) end def init(state), do: {:ok, state} end
21.785714
72
0.767213
38d95934a101407f58aba57f09e8564fc9d146ce
2,176
ex
Elixir
lib/cforum_web.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use CforumWeb, :controller use CforumWeb, :view The definitions below will be executed for every view, controller, etc, so keep them short and...
21.979798
101
0.684283
38d97631a143fbe654e326f5c86a80db936085d2
329
ex
Elixir
lib/cain/endpoint/task/comment.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
6
2019-12-17T12:40:19.000Z
2022-01-18T07:25:20.000Z
lib/cain/endpoint/task/comment.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
9
2019-12-18T13:01:11.000Z
2021-02-12T14:24:43.000Z
lib/cain/endpoint/task/comment.ex
pfitz/cain
c1038a9d80e51213ee665149c585231b16c11b3f
[ "Apache-2.0" ]
1
2020-09-16T09:19:08.000Z
2020-09-16T09:19:08.000Z
defmodule Cain.Endpoint.Task.Comment do def get_list(id) do {:get, "/task/#{id}/comment", %{}, %{}} end def get(id, comment_id) do {:get, "/task/#{id}/comment/#{comment_id}", %{}, %{}} end def create(id, comment_text) do {:post, "/task/#{id}/comment/create", %{}, %{"messgage" => comment_text}} ...
23.5
77
0.580547
38d9b6885976fb9ec72b72d0d2b3bec13a9f71f6
3,928
exs
Elixir
test/changelog_web/views/episode_view_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
test/changelog_web/views/episode_view_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
test/changelog_web/views/episode_view_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.EpisodeViewTest do use ChangelogWeb.ConnCase, async: true import ChangelogWeb.EpisodeView alias Changelog.Episode describe "audio_local_path" do test "is a path on the local file system with relative storage dir" do orig_env = Application.get_env(:arc, :storage_dir) App...
35.387387
95
0.66777
38d9bdcb3317f96cea5a00a2f51ed1a815445fe3
342
exs
Elixir
priv/repo/migrations/20191230024158_create_quests.exs
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
2
2019-12-28T21:31:43.000Z
2019-12-30T01:03:28.000Z
priv/repo/migrations/20191230024158_create_quests.exs
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
4
2019-12-23T23:51:30.000Z
2021-05-10T22:24:18.000Z
priv/repo/migrations/20191230024158_create_quests.exs
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
1
2020-01-17T20:19:14.000Z
2020-01-17T20:19:14.000Z
defmodule Hexen.Repo.Migrations.CreateQuests do use Ecto.Migration def change do create table(:quests) do add :name, :string add :description, :string add :requirement, :integer add :card_id, references(:cards, on_delete: :nothing) timestamps() end create index(:quests, ...
20.117647
59
0.660819
38da01c9f4975292126924e5cfc51939f4c04beb
5,256
ex
Elixir
lib/cldr/number/transliterate.ex
mediapress-ltd/cldr_numbers
e9c1bded034ef13932328a9ad383798c7d853928
[ "Apache-2.0" ]
21
2019-12-21T23:25:14.000Z
2022-03-22T00:40:34.000Z
lib/cldr/number/transliterate.ex
mediapress-ltd/cldr_numbers
e9c1bded034ef13932328a9ad383798c7d853928
[ "Apache-2.0" ]
15
2019-06-14T16:29:23.000Z
2022-03-02T07:56:33.000Z
lib/cldr/number/transliterate.ex
mediapress-ltd/cldr_numbers
e9c1bded034ef13932328a9ad383798c7d853928
[ "Apache-2.0" ]
5
2019-06-14T16:10:26.000Z
2022-02-28T15:32:01.000Z
defmodule Cldr.Number.Transliterate do @moduledoc """ Transliteration for digits and separators. Transliterating a string is an expensive business. First the string has to be exploded into its component graphemes. Then for each grapheme we have to map to the equivalent in the other `{locale, number_system}...
38.933333
108
0.722793
38da1b31eeafe2f02fbc408136bfb37cf0a4f852
705
ex
Elixir
project/gamenect/web/gettext.ex
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/web/gettext.ex
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/web/gettext.ex
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
defmodule Gamenect.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Gamenect.Gettext # Simple translation gettext "Here is the s...
28.2
72
0.679433
38da2b369c8036022b9b77b54f0e8d960f8106b3
2,030
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/option.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/option.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/option.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.614035
125
0.712808
38da339406c2a144f88300c46b6f90d8e46700c2
952
exs
Elixir
mix.exs
kaashyapan/cognitex
ae2cdbd9b07ef1bfb138e71b1c6a85f6e8adea53
[ "MIT" ]
null
null
null
mix.exs
kaashyapan/cognitex
ae2cdbd9b07ef1bfb138e71b1c6a85f6e8adea53
[ "MIT" ]
null
null
null
mix.exs
kaashyapan/cognitex
ae2cdbd9b07ef1bfb138e71b1c6a85f6e8adea53
[ "MIT" ]
null
null
null
defmodule Cognitex.MixProject do use Mix.Project def project do [ app: :cognitex, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps() ] end def application do [ extra_a...
20.255319
68
0.527311
38da596ebd4a1307da20d1de19465a33d7a2df0f
787
ex
Elixir
apps/admin_panel/lib/admin_panel/endpoint.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/admin_panel/lib/admin_panel/endpoint.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_panel/lib/admin_panel/endpoint.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminPanel.Endpoint do use Phoenix.Endpoint, otp_app: :admin_panel # Serve at "/admin" 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, at: "/admin", fr...
21.861111
68
0.687421
38da64b610b3a629944b78ed8da2c2aaedbb367a
2,463
ex
Elixir
lib/codewar_web/forms/answer_submission_form.ex
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
2
2021-06-29T02:22:28.000Z
2022-02-15T06:32:15.000Z
lib/codewar_web/forms/answer_submission_form.ex
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
14
2021-05-06T04:27:19.000Z
2021-08-24T11:15:33.000Z
lib/codewar_web/forms/answer_submission_form.ex
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
1
2021-08-20T07:50:19.000Z
2021-08-20T07:50:19.000Z
defmodule CodewarWeb.AnswerSubmissionForm do use CodewarWeb.Forms alias Codewar.Competition.Competitions embedded_schema do field :challenge_id, :binary field :answer, :string field :username, :string field :is_valid, :boolean field :resolution_time, :integer field :submitted_at, :naive_...
29.321429
96
0.721884
38da8d36f71a4bbdfc851c56766b0067cf1f228d
24,793
exs
Elixir
test/ecto/migration_test.exs
jvantuyl/ecto_sql
a3432619b2837594c674215316d5f39d4a381741
[ "Apache-2.0" ]
null
null
null
test/ecto/migration_test.exs
jvantuyl/ecto_sql
a3432619b2837594c674215316d5f39d4a381741
[ "Apache-2.0" ]
null
null
null
test/ecto/migration_test.exs
jvantuyl/ecto_sql
a3432619b2837594c674215316d5f39d4a381741
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.MigrationTest do # Although this test uses the Ecto.Migration.Runner which # is global state, we can run it async as long as this is # the only test case that uses the Runner in async mode. use ExUnit.Case, async: true use Ecto.Migration alias EctoSQL.TestRepo alias Ecto.Migration.{Table,...
31.225441
133
0.633445
38dadb5b6c0bea3553aa5afa40a4be76243a1984
890
exs
Elixir
gigasecond/gigasecond_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
gigasecond/gigasecond_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
gigasecond/gigasecond_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
if System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("example.exs") else Code.load_file("gigasecond.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule GigasecondTest do use ExUnit.Case # @tag :pending test "from 4/25/2011" do assert Gigasecond.from({{2011, 4, 25},...
24.722222
97
0.624719
38daf97db8bdb59e17fba9e5c807d388c8dea244
719
ex
Elixir
lib/bitpal/events/address_events.ex
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/bitpal/events/address_events.ex
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/bitpal/events/address_events.ex
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
defmodule BitPal.AddressEvents do alias BitPal.EventHelpers alias BitPalSchemas.Address alias BitPalSchemas.TxOutput @type height :: non_neg_integer @type msg :: {:tx_seen, TxOutput.txid()} | {:tx_confirmed, TxOutput.txid(), height} | {:tx_double_spent, TxOutput.txid()} ...
26.62963
60
0.667594
38db2c90caccab3375b166efda3e7c6b0e0a6d6b
1,961
ex
Elixir
lib/tokyo/tokyo_router.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
lib/tokyo/tokyo_router.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
lib/tokyo/tokyo_router.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
defmodule Tokyo.Router do use Plug.Router plug(:match) plug(Plug.Parsers, parsers: [:json], pass: ["application/json"], json_decoder: Jason ) plug(:dispatch) alias Tokyo.ExerciseRecord alias Tokyo.Controller.ExerciseRecord, as: ExerciseRecController # User Endpoints # Exercise Endpoi...
24.5125
79
0.644569
38db5600e19cef2197f4eecce890a48b70a9b02e
822
exs
Elixir
test/uni_pg_test.exs
nallwhy/uni_pg
ad661d1e39a3020b74151293ae063334db4d45fc
[ "MIT" ]
1
2021-08-06T04:56:15.000Z
2021-08-06T04:56:15.000Z
test/uni_pg_test.exs
nallwhy/uni_pg
ad661d1e39a3020b74151293ae063334db4d45fc
[ "MIT" ]
null
null
null
test/uni_pg_test.exs
nallwhy/uni_pg
ad661d1e39a3020b74151293ae063334db4d45fc
[ "MIT" ]
1
2021-07-12T14:12:12.000Z
2021-07-12T14:12:12.000Z
defmodule UniPgTest do use ExUnit.Case doctest UniPg setup do other = spawn_link(Process, :sleep, [:infinity]) other2 = spawn_link(Process, :sleep, [:infinity]) {:ok, %{other: other, other2: other2}} end test "join/leave/get_members", %{other: other, other2: other2} do this = self() :ok ...
30.444444
67
0.63747
38db60095e77b3ac5dff7ca1d43a272ba7eb988f
268
ex
Elixir
lib/exfwghtblog/engine.ex
Chlorophytus/exfwghtblog
4508cf1368bfe8ea809acbef3f0abb31702169d5
[ "MIT" ]
null
null
null
lib/exfwghtblog/engine.ex
Chlorophytus/exfwghtblog
4508cf1368bfe8ea809acbef3f0abb31702169d5
[ "MIT" ]
null
null
null
lib/exfwghtblog/engine.ex
Chlorophytus/exfwghtblog
4508cf1368bfe8ea809acbef3f0abb31702169d5
[ "MIT" ]
null
null
null
defmodule Exfwghtblog.Engine do @moduledoc """ EEx Templating Engine """ require EEx EEx.function_from_file( :def, :post_fill, Application.app_dir(:exfwghtblog, Path.join(["priv", "templates", "post_fill.html.eex"])), [:main, :date] ) end
19.142857
94
0.656716