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
339f8025b4af0762bb3de4701ba5ebc6cd88c11c
1,196
ex
Elixir
lib/spidey/crawler/url_store.ex
Manzanit0/spidey
9d5b1de5bc2f8fa8f925c449aa1ffd5613edf99b
[ "MIT" ]
4
2020-09-14T09:21:01.000Z
2020-09-19T07:31:40.000Z
lib/spidey/crawler/url_store.ex
Manzanit0/spidey
9d5b1de5bc2f8fa8f925c449aa1ffd5613edf99b
[ "MIT" ]
1
2021-03-10T23:19:36.000Z
2021-04-04T10:59:00.000Z
lib/spidey/crawler/url_store.ex
Manzanit0/spidey
9d5b1de5bc2f8fa8f925c449aa1ffd5613edf99b
[ "MIT" ]
null
null
null
defmodule Spidey.Crawler.UrlStore do def init!(seed, name) do if table_exists?(name) do raise "ETS table with name #{table_name(name)} already exists." end :ets.new(table_name(name), [:set, :public, :named_table]) add(seed, name) end def teardown(name) do with true <- table_exists?(nam...
20.982456
73
0.576087
339fc51145855930562befb755e4a89036598712
2,415
ex
Elixir
lib/ex_money_web/models/account.ex
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
184
2015-11-23T20:51:50.000Z
2022-03-30T01:01:39.000Z
lib/ex_money_web/models/account.ex
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
15
2015-11-26T16:00:20.000Z
2018-05-25T20:13:39.000Z
lib/ex_money_web/models/account.ex
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
21
2015-11-26T21:34:40.000Z
2022-03-26T02:56:42.000Z
defmodule ExMoney.Account do use ExMoney.Web, :model alias ExMoney.Account schema "accounts" do field :saltedge_account_id, :integer field :name, :string field :nature, :string field :balance, :decimal field :currency_code, :string field :currency_label, :string field :show_on_dashbo...
25.421053
103
0.690269
339fc6bfbe2fca87dd61f18d546304151b671bbd
3,193
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/custom_dimensions.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/custom_dimensions.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/custom_dimensions.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...
46.955882
299
0.705919
339fc85efb02fb36c7cd7ae324ccabe2fc1b606b
8,018
ex
Elixir
lib/cartex/cli.ex
zeionara/cartex
e641e4a8a63eedfd4dcfd62808146d4757c7a072
[ "Apache-2.0" ]
null
null
null
lib/cartex/cli.ex
zeionara/cartex
e641e4a8a63eedfd4dcfd62808146d4757c7a072
[ "Apache-2.0" ]
null
null
null
lib/cartex/cli.ex
zeionara/cartex
e641e4a8a63eedfd4dcfd62808146d4757c7a072
[ "Apache-2.0" ]
null
null
null
defmodule Cartex.CliMacros do defmacro parse_integer(min: min, description: description) do quote do fn(n) -> case Integer.parse(n) do :error -> {:error, "Invalid #{unquote(description)} - cannot interpret provided value as an integer"} {n, _} -> cond do n < unquote(m...
35.635556
294
0.540534
339ffc975d987bafbb1e7f565d9c3f37f177ecf2
5,178
exs
Elixir
lib/elixir/test/elixir/list_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/elixir/test/elixir/list_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/list_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule ListTest do use ExUnit.Case, async: true test :cons_cell_precedence do assert [1|:lists.flatten([2, 3])] == [1, 2, 3] end test :optional_comma do assert [1] == [ 1, ] assert [1, 2, 3] == [1, 2, 3, ] end test :partial_application do a...
32.772152
74
0.475859
339ffec116617e874e6546bcd4cc11080e1475b2
5,033
ex
Elixir
lib/credo/cli/options.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
lib/credo/cli/options.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
lib/credo/cli/options.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.CLI.Options do @moduledoc """ The `Options` struct represents the options given on the command line. The `Options` struct is stored as part of the `Execution` struct. """ alias Credo.Priority defstruct command: nil, path: nil, args: [], switches: nil, ...
24.197115
90
0.622492
33a0044648a73d3c6a99e4cb0f80e861a1482378
488
ex
Elixir
lib/mix/tasks/compile/rebar3.ex
hurrycaner/mix_rebar3
015cbc9671bf28dc43f88e8f1017524be660956b
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/compile/rebar3.ex
hurrycaner/mix_rebar3
015cbc9671bf28dc43f88e8f1017524be660956b
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/compile/rebar3.ex
hurrycaner/mix_rebar3
015cbc9671bf28dc43f88e8f1017524be660956b
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.Rebar3 do use Mix.Task.Compiler @impl Mix.Task.Compiler def run(_args) do project = Mix.Project.config() lib_path = Path.join(Mix.Project.build_path(project), "lib/*/ebin") out_path = Mix.Project.app_path(project) rebar = Mix.Rebar.rebar_cmd(:rebar3) cmd = "#{reba...
24.4
71
0.633197
33a013e5ea0bf1d67da13f7f4b3232b3b454d691
68
exs
Elixir
test/test_helper.exs
rtvu/jeeves
254c987426adcb939763429cae9c9653e8d30304
[ "MIT" ]
null
null
null
test/test_helper.exs
rtvu/jeeves
254c987426adcb939763429cae9c9653e8d30304
[ "MIT" ]
1
2021-03-09T09:29:43.000Z
2021-03-09T09:29:43.000Z
test/test_helper.exs
rtvu/jeeves
254c987426adcb939763429cae9c9653e8d30304
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Jeeves.Repo, :manual)
22.666667
52
0.779412
33a015addfda31f7a8b70af3aac1fdd0fcd3bc09
2,140
ex
Elixir
clients/content/lib/google_api/content/v2/model/shipment_invoice_line_item_invoice.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/shipment_invoice_line_item_invoice.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/shipment_invoice_line_item_invoice.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.54386
159
0.736916
33a0163d24f396d6ff53e962f8c222a7d61503b3
5,790
ex
Elixir
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/instance.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/instance.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/model/instance.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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...
49.067797
174
0.674266
33a055ff418a0b2b182218e1e5759292bc364af3
2,277
ex
Elixir
lib/doc_gen_web/controllers/watch_controller.ex
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
null
null
null
lib/doc_gen_web/controllers/watch_controller.ex
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
27
2018-10-29T18:34:44.000Z
2019-03-11T18:43:12.000Z
lib/doc_gen_web/controllers/watch_controller.ex
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
null
null
null
defmodule DocGenWeb.WatchController do use DocGenWeb, :controller use Private alias DocGen.{Accounts, Content, Content.Copy, Content.Random} plug(:copy when action == :index) plug(:load_videos when action in [:index, :show]) def index(conn, _params) do tags = Content.list_tags() render(conn, "in...
25.3
77
0.613527
33a064a7bfad508c785a9be042139126afa303ac
17,572
ex
Elixir
test/fixtures/example_code/nested_escaped_heredocs.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/fixtures/example_code/nested_escaped_heredocs.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/fixtures/example_code/nested_escaped_heredocs.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2020-09-25T11:48:49.000Z
2020-09-25T11:48:49.000Z
defmodule Credo.Code.HeredocsTest do use Credo.TestHelper alias Credo.Code.Heredocs test "it should return the source without string literals 2" do source = """ @moduledoc \"\"\" this is an example # TODO: and this is no actual comment \"\"\" x = ~s{also: # TODO: no comment here} ?" # T...
25.955687
110
0.536592
33a06dcd9dbf7bbe4f95e14d5a6def57bdedd890
1,672
exs
Elixir
test/ex_aws/config_test.exs
appunite/ex_aws
cfc56d89e51b691bc20cac0c9347d84fd3e06663
[ "MIT" ]
1
2018-09-14T11:10:14.000Z
2018-09-14T11:10:14.000Z
test/ex_aws/config_test.exs
appunite/ex_aws
cfc56d89e51b691bc20cac0c9347d84fd3e06663
[ "MIT" ]
null
null
null
test/ex_aws/config_test.exs
appunite/ex_aws
cfc56d89e51b691bc20cac0c9347d84fd3e06663
[ "MIT" ]
2
2019-03-19T18:30:22.000Z
2021-02-10T01:06:49.000Z
defmodule ExAws.ConfigTest do use ExUnit.Case, async: true test "overrides work properly" do config = ExAws.Config.new(:s3, region: "us-west-2") assert config.region == "us-west-2" end test "{:system} style configs work" do value = "foo" System.put_env("ExAwsConfigTest", value) assert :s3...
27.409836
82
0.642344
33a076fdc4e9ed491868f01905750195e6fc77c5
1,262
ex
Elixir
example/lib/example_web/endpoint.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
example/lib/example_web/endpoint.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
example/lib/example_web/endpoint.ex
bvandgrift/ueberauth_microsoft_single_tenant
680523dca182536ac8caa87a7ec31840a877eac4
[ "MIT" ]
null
null
null
defmodule ExampleWeb.Endpoint do use Phoenix.Endpoint, otp_app: :example socket "/socket", ExampleWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your stati...
26.851064
69
0.709192
33a0c9f4b7bf87053c12365db558af38f243db71
1,533
exs
Elixir
mix.exs
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
mix.exs
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
mix.exs
kf8a/phenodata
51370be0522f632a98df47c9d104c7a2cf2214c6
[ "MIT" ]
null
null
null
defmodule Phenodata.Mixfile do use Mix.Project def project do [app: :phenodata, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, al...
28.924528
78
0.607306
33a103ff910d4f1fd33a9a4461df231ba2034705
2,149
exs
Elixir
config/dev.exs
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
null
null
null
config/dev.exs
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
2
2021-03-09T19:04:16.000Z
2021-05-10T16:20:10.000Z
config/dev.exs
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
1
2020-07-17T14:48:52.000Z
2020-07-17T14:48:52.000Z
use Mix.Config # Configure your database config :rumbl, Rumbl.Repo, username: "postgres", password: "postgres", database: "rumbl_dev", hostname: "pgsql-db", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading. # # T...
27.202532
68
0.688692
33a13a0cfa8707c49caee16538c773c32b304067
979
exs
Elixir
test/postoffice_web/controllers/topic_controller_test.exs
andrewgy8/postoffice
eadd84c613e20af9fd4afe4591c3a336733d3f0b
[ "Apache-2.0" ]
15
2020-01-24T10:33:57.000Z
2020-10-24T07:57:14.000Z
test/postoffice_web/controllers/topic_controller_test.exs
andrewgy8/postoffice
eadd84c613e20af9fd4afe4591c3a336733d3f0b
[ "Apache-2.0" ]
24
2020-01-24T09:52:56.000Z
2021-02-19T09:15:12.000Z
test/postoffice_web/controllers/topic_controller_test.exs
andrewgy8/postoffice
eadd84c613e20af9fd4afe4591c3a336733d3f0b
[ "Apache-2.0" ]
5
2020-01-25T18:03:44.000Z
2021-02-23T10:07:03.000Z
defmodule PostofficeWeb.TopicControllerTest do use PostofficeWeb.ConnCase, async: true alias Postoffice.Fixtures alias Postoffice.Messaging setup do {:ok, conn: Phoenix.ConnTest.build_conn()} end describe "list topics" do test "can access to topics list", %{conn: conn} do conn |> get(...
23.878049
73
0.594484
33a16ee6fdb6086493757bbed1fd5a160da57c24
711
ex
Elixir
apps/ello_feeds/web/gettext.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_feeds/web/gettext.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_feeds/web/gettext.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Feeds.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 Ello.Feeds.Gettext # Simple translation gettext "Here is t...
28.44
72
0.679325
33a17053893e1e5b430b45cb1a395e9e3d8513e3
585
exs
Elixir
maps-keywords-lists-sets-and-structs/book_room.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2019-02-17T11:54:17.000Z
2019-02-17T11:54:17.000Z
maps-keywords-lists-sets-and-structs/book_room.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
maps-keywords-lists-sets-and-structs/book_room.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
defmodule HotelRoom do def book(%{name: name, height: height}) when height > 1.9 do IO.puts("Need extra-long bed for #{name}") end def book(%{name: name, height: height}) when height < 1.3 do IO.puts("Need low shower controls for #{name}") end def book(person) do IO.puts("Need regula...
22.5
51
0.605128
33a181d6d02c702070fe44b2205b6cf47acb3d11
1,723
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/databases_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/databases_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/databases_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.46
139
0.730122
33a1954c33ab037eb727bd0343a7ded70a5210c0
2,201
ex
Elixir
lib/brando/plugs/lockdown.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/plugs/lockdown.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/plugs/lockdown.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Plug.Lockdown do @moduledoc """ Basic plug for locking down websites under development If we have an authenticated user, we are allowed in. ## Example plug Brando.Plug.Lockdown The `Lockdown` plug looks for a `lockdown_path` in your `router.ex`. ## Example scope "/coming-s...
25.593023
98
0.651976
33a1ad7ec36ff91acd8a396f19c8a2b249659847
1,376
ex
Elixir
kekend/lib/serial_killer/router.ex
IgorPolyakov/imdb
5f3108432ec2b8f7481af7881eee1acfb11f1816
[ "MIT" ]
5
2020-05-01T16:29:38.000Z
2020-05-13T19:53:21.000Z
kekend/lib/serial_killer/router.ex
IgorPolyakov/imdb
5f3108432ec2b8f7481af7881eee1acfb11f1816
[ "MIT" ]
13
2020-04-30T19:53:58.000Z
2022-02-17T08:37:18.000Z
kekend/lib/serial_killer/router.ex
IgorPolyakov/serial_killer
5f3108432ec2b8f7481af7881eee1acfb11f1816
[ "MIT" ]
1
2020-04-30T13:37:20.000Z
2020-04-30T13:37:20.000Z
defmodule SerialKiller.Router do alias SerialKiller.Show use Plug.Router use Plug.Debugger use Plug.ErrorHandler plug(Plug.Logger, log: :debug) plug(:match) plug(SerialKiller.Plug.QueryParams) plug(:dispatch) get "/hinter" do letters = conn.params["letters"] hints = Show.get_hints(letters) ...
22.193548
80
0.604651
33a1ae7957506718f24392336be0db0c8043875b
187
ex
Elixir
lib/perhap/handlers/ping_handler.ex
sobolevn/perhap
33cf2d1cfaaf8c19db927b70b6cbf9537fb9d295
[ "BSD-3-Clause" ]
118
2017-04-21T00:53:44.000Z
2022-01-26T21:13:55.000Z
lib/perhap/handlers/ping_handler.ex
sobolevn/perhap
33cf2d1cfaaf8c19db927b70b6cbf9537fb9d295
[ "BSD-3-Clause" ]
1
2017-09-17T15:08:26.000Z
2017-09-17T15:14:38.000Z
lib/perhap/handlers/ping_handler.ex
sobolevn/perhap
33cf2d1cfaaf8c19db927b70b6cbf9537fb9d295
[ "BSD-3-Clause" ]
8
2017-09-17T14:58:27.000Z
2019-01-17T12:04:09.000Z
defmodule Perhap.PingHandler do use Perhap.Handler alias Perhap.Response def handle("GET", conn, state) do {:ok, conn |> Response.send(200, %{status: "ACK"}), state} end end
20.777778
62
0.679144
33a1bb591e890b3996e7be107eaf3c2a50fd52d4
1,338
ex
Elixir
lib/auto_api/commands/multi_command_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/commands/multi_command_command.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/commands/multi_command_command.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...
46.137931
91
0.775037
33a1c396ee34b32bd2fb4943ea1173f2c585bafb
9,497
exs
Elixir
test/json_schema_test_suite/draft6/ref_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft6/ref_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft6/ref_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
defmodule JsonSchemaTestSuite.Draft6.RefTest do use ExUnit.Case import Xema, only: [valid?: 2] describe "root pointer ref" do setup do %{ schema: Xema.from_json_schema( %{"additionalProperties" => false, "properties" => %{"foo" => %{"$ref" => "#"}}}, draft: "d...
25.393048
94
0.421291
33a1c8a8f27839580235e322940a6a78b36bb454
1,305
exs
Elixir
apps/fw/mix.exs
royveshovda/buildstuff2016
edb7c283a84a939383f6869eb623030d7316a91b
[ "MIT" ]
2
2016-11-19T13:27:28.000Z
2016-11-25T22:00:05.000Z
apps/fw/mix.exs
royveshovda/buildstuff2016
edb7c283a84a939383f6869eb623030d7316a91b
[ "MIT" ]
null
null
null
apps/fw/mix.exs
royveshovda/buildstuff2016
edb7c283a84a939383f6869eb623030d7316a91b
[ "MIT" ]
null
null
null
defmodule Fw.Mixfile do use Mix.Project @target System.get_env("NERVES_TARGET") || "rpi3" def project do [app: :fw, version: "0.0.1", target: @target, archives: [nerves_bootstrap: "~> 0.1.4"], deps_path: "deps/#{@target}", build_path: "_build/#{@target}", build_embedded: Mix.en...
21.75
65
0.548659
33a1e4a78404b105a4e04262cef76e29e7d380d5
3,649
exs
Elixir
test/mongooseice/udp/send_test.exs
glassechidna/MongooseICE
c2ea99f47460fd7293b51eaa72fbce122a60affe
[ "Apache-2.0" ]
90
2017-09-26T12:20:06.000Z
2022-01-30T17:58:11.000Z
test/mongooseice/udp/send_test.exs
glassechidna/MongooseICE
c2ea99f47460fd7293b51eaa72fbce122a60affe
[ "Apache-2.0" ]
39
2017-01-20T08:54:13.000Z
2017-09-13T11:30:14.000Z
test/mongooseice/udp/send_test.exs
glassechidna/MongooseICE
c2ea99f47460fd7293b51eaa72fbce122a60affe
[ "Apache-2.0" ]
13
2018-03-29T07:03:25.000Z
2022-03-06T10:21:45.000Z
defmodule MongooseICE.UDP.SendTest do use ExUnit.Case, async: false use Helper.Macros alias Helper.UDP alias Jerboa.Params alias Jerboa.Format alias Jerboa.Format.Body.Attribute.{ErrorCode, XORPeerAddress, Data, XORRelayedAddress} @peer_addr {127, 0, 0, 1} setup ...
28.507813
78
0.600987
33a21746d87620a42ce4edbe5fbfaf17746b1ffb
15,673
ex
Elixir
lib/matrix_operation.ex
zacky1972/elixir-matrix-operation
85065e284a97398ddcb09aca492a50127a56d633
[ "MIT" ]
null
null
null
lib/matrix_operation.ex
zacky1972/elixir-matrix-operation
85065e284a97398ddcb09aca492a50127a56d633
[ "MIT" ]
null
null
null
lib/matrix_operation.ex
zacky1972/elixir-matrix-operation
85065e284a97398ddcb09aca492a50127a56d633
[ "MIT" ]
null
null
null
defmodule MatrixOperation do @moduledoc """ Documentation for Matrix operation library. """ @doc """ Numbers of row and column of a matrix are got. ## Examples iex> MatrixOperation.row_column_matrix([[3, 2, 3], [2, 1, 2]]) [2, 3] """ def row_column_matrix(a) when is_list(hd(a)) do columns_n...
25.651391
107
0.561156
33a221b588db7d2df63a348fbeeb7b40429e13d6
1,185
ex
Elixir
lib/doumi/ecto_helper.ex
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
1
2020-08-25T23:43:51.000Z
2020-08-25T23:43:51.000Z
lib/doumi/ecto_helper.ex
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
null
null
null
lib/doumi/ecto_helper.ex
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Ecto) do defmodule Doumi.EctoHelper do @term_message_map %{ invalid: "is invalid", not_exist: "does not exist", missing_required_param: "can't be blank", already_exist: "has already been taken", over_max_length: ~r/should be at most \d+/, under_min_length...
32.027027
94
0.625316
33a2327315c9a15d74dc519cb29df8223f19b4f5
3,839
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/trust.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/trust.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/trust.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...
45.702381
157
0.696536
33a27486edb4a7121019ee048a9b405b0f7c4483
2,741
exs
Elixir
apps/local_ledger_db/priv/repo/migrations/20180627100553_update_genesis_address_in_wallet.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/local_ledger_db/priv/repo/migrations/20180627100553_update_genesis_address_in_wallet.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/local_ledger_db/priv/repo/migrations/20180627100553_update_genesis_address_in_wallet.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "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...
27.686869
77
0.675666
33a296f0836edc8b86f01d827d1306b545d90742
319
exs
Elixir
priv/repo/migrations/20200603011224_create_users.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
priv/repo/migrations/20200603011224_create_users.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
priv/repo/migrations/20200603011224_create_users.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table(:users) do add :name, :string add :email, :string add :phone, :string timestamps() end create unique_index(:users, [:phone]) create unique_index(:users, [:email]) end end
18.764706
52
0.652038
33a2bcf721a0e155b6383553735c42d9da933719
7,839
ex
Elixir
lib/hex/repo.ex
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
null
null
null
lib/hex/repo.ex
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
1
2021-06-25T15:19:59.000Z
2021-06-25T15:19:59.000Z
lib/hex/repo.ex
sudix/hex
f739a57d8829ea0b0f7759c164dc9149c3340e49
[ "Apache-2.0" ]
null
null
null
defmodule Hex.Repo do alias Hex.HTTP @public_keys_html "https://hex.pm/docs/public_keys" @hexpm_url "https://repo.hex.pm" @hexpm_public_key """ -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApqREcFDt5vV21JVe2QNB Edvzk6w36aNFhVGWN5toNJRjRJ6m4hIuG4KaXtDWVLjnvct6MYMfqhC79HAGwyF+ Iq...
27.699647
95
0.640771
33a2c63a3ceb8616fc2af12c55a3f6e49b6c725f
298
exs
Elixir
apps/hefty/priv/repo/migrations/20190911200414_create_settings_table.exs
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
49
2019-10-28T22:27:28.000Z
2021-10-11T06:40:29.000Z
apps/hefty/priv/repo/migrations/20190911200414_create_settings_table.exs
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
9
2019-08-30T13:15:36.000Z
2019-10-10T21:25:14.000Z
apps/hefty/priv/repo/migrations/20190911200414_create_settings_table.exs
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
7
2019-10-31T06:19:26.000Z
2021-09-30T04:20:58.000Z
defmodule Hefty.Repo.Migrations.CreateSettingsTable do use Ecto.Migration def change do create table(:settings, primary_key: false) do add(:id, :bigint, primary_key: true) add(:key, :text, null: false) add(:value, :text, null: true) timestamps() end end end
21.285714
54
0.661074
33a2d1efda7372b58db568687eb0bfde51e20f0b
770
ex
Elixir
test/support/component_client.ex
feng19/elixir_wechat
5ae052476f27abf85da484b902347042c097b150
[ "MIT" ]
null
null
null
test/support/component_client.ex
feng19/elixir_wechat
5ae052476f27abf85da484b902347042c097b150
[ "MIT" ]
null
null
null
test/support/component_client.ex
feng19/elixir_wechat
5ae052476f27abf85da484b902347042c097b150
[ "MIT" ]
null
null
null
defmodule TestComponentClient1 do use WeChat.Component, appid: System.fetch_env!("TEST_COMPONENT_APPID"), adapter_storage: { WeChat.Storage.Adapter.DefaultComponentClient, System.fetch_env!("TEST_HUB_URL") } end defmodule TestComponentClient2 do use WeChat.Component, appid: System.fetch...
30.8
66
0.757143
33a2ecafce1d18120649a198f17797da9adf306a
12,221
ex
Elixir
priv/templates/coh.gen.controllers/controllers/coherence/session_controller.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
null
null
null
priv/templates/coh.gen.controllers/controllers/coherence/session_controller.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
null
null
null
priv/templates/coh.gen.controllers/controllers/coherence/session_controller.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
null
null
null
defmodule <%= web_base %>.Coherence.SessionController do @moduledoc """ Handle the authentication actions. """ use CoherenceWeb, :controller use Timex use Coherence.Config import Coherence.TrackableService import Ecto.Query import Coherence.Schemas, only: [schema: 1] # import Coherence.Rememberabl...
32.676471
112
0.677686
33a2ed6533655a6b28436cf0cc408662bbe40fe4
1,843
ex
Elixir
lib/bgsite_official/categories.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
1
2021-08-05T12:44:37.000Z
2021-08-05T12:44:37.000Z
lib/bgsite_official/categories.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
16
2021-02-20T19:22:45.000Z
2021-06-14T13:59:01.000Z
lib/bgsite_official/categories.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
3
2021-05-17T17:54:43.000Z
2021-11-03T15:30:30.000Z
defmodule BgsiteOfficial.Categories do @moduledoc """ The Categories context. """ import Ecto.Query, warn: false alias BgsiteOfficial.Repo alias BgsiteOfficial.Home.Websites alias BgsiteOfficial.Categories.Tag @doc """ Returns the list of tags. ## Examples iex> list_tags() [%Tag{}, ...
16.455357
80
0.570808
33a2ee070d873990a9f644b0eaaefc51b731e225
902
ex
Elixir
clients/data_migration/lib/google_api/data_migration/v1beta1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/data_migration/lib/google_api/data_migration/v1beta1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/data_migration/lib/google_api/data_migration/v1beta1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.407407
74
0.763858
33a3267769bc70acb25693ea770d486e0aa67a49
470
exs
Elixir
test/lrucache_api_web/views/error_view_test.exs
anakind/phoenix-lrucache-api
cfb0dfba181fe196dd0d77dba9854dd9c50ba070
[ "MIT" ]
null
null
null
test/lrucache_api_web/views/error_view_test.exs
anakind/phoenix-lrucache-api
cfb0dfba181fe196dd0d77dba9854dd9c50ba070
[ "MIT" ]
null
null
null
test/lrucache_api_web/views/error_view_test.exs
anakind/phoenix-lrucache-api
cfb0dfba181fe196dd0d77dba9854dd9c50ba070
[ "MIT" ]
null
null
null
defmodule LrucacheApiWeb.ErrorViewTest do use LrucacheApiWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(LrucacheApiWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "ren...
29.375
96
0.693617
33a333a1c9d81aeac3220c2ab2a4ceb40c343743
3,033
ex
Elixir
apps/welcome2_game/lib/welcome2_game/estate_maker.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
apps/welcome2_game/lib/welcome2_game/estate_maker.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
13
2020-03-22T08:00:57.000Z
2022-03-07T16:35:36.000Z
apps/welcome2_game/lib/welcome2_game/estate_maker.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
defmodule Welcome2Game.EstateMaker do alias Welcome2Game.{Tableau, State} @houses_per_row %{ a: 10, b: 11, c: 12 } def a <|> b do Map.merge(a, b, fn _k, va, vb -> va + vb end) end def update(state, options \\ []) def update(state = %State{}, options) do %State{ state | ...
25.275
92
0.624464
33a35f64d5e964226a280920a5264d39476c32dd
318
ex
Elixir
lib/quickstart_web/controllers/page_controller.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
lib/quickstart_web/controllers/page_controller.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
lib/quickstart_web/controllers/page_controller.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
defmodule QuickstartWeb.PageController do use QuickstartWeb, :controller def index(conn, params) do # By default, show 3 hanzi # Todo: better error handling count = Map.get(params, "count", "3") |> Integer.parse |> elem(0) render conn, "index.html", count: count end end
24.461538
43
0.632075
33a37df212c47cc2e3e52aff19aab21769be7732
5,440
exs
Elixir
kousa/test/broth/_message/chat/send_msg_test.exs
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
1
2021-05-18T15:21:25.000Z
2021-05-18T15:21:25.000Z
kousa/test/broth/_message/chat/send_msg_test.exs
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
null
null
null
kousa/test/broth/_message/chat/send_msg_test.exs
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
null
null
null
defmodule BrothTest.Message.Chat.SendMsgTest do use ExUnit.Case, async: true @moduletag :message alias Broth.Message.Types.ChatToken alias Broth.Message.Chat.SendMsg describe "when you send a send_msg message" do test "it populates userId" do assert {:ok, %{ payload:...
30.909091
87
0.395588
33a3806923ff54f3413e3ab440ad6a46884958a5
1,679
ex
Elixir
lib/event_store/registration/registration.ex
Arthien/eventstore
33179a455ad990f79f69c0e68c55f0a2f8d03d8c
[ "MIT" ]
null
null
null
lib/event_store/registration/registration.ex
Arthien/eventstore
33179a455ad990f79f69c0e68c55f0a2f8d03d8c
[ "MIT" ]
null
null
null
lib/event_store/registration/registration.ex
Arthien/eventstore
33179a455ad990f79f69c0e68c55f0a2f8d03d8c
[ "MIT" ]
null
null
null
defmodule EventStore.Registration do @moduledoc """ Registration specification for EventStore pub/sub. """ alias EventStore.Registration.{DistributedRegistry, LocalRegistry} @doc """ Return an optional supervisor spec for the registry. """ @callback child_spec() :: [:supervisor.child_spec()] @doc "...
27.52459
98
0.647409
33a385b18d597cca44eb89deb98d5a625c188184
2,483
ex
Elixir
lib/queries/vacuum_stats.ex
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
lib/queries/vacuum_stats.ex
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
lib/queries/vacuum_stats.ex
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
defmodule EctoPSQLExtras.VacuumStats do @behaviour EctoPSQLExtras def info do %{ title: "Dead rows and whether an automatic vacuum is expected to be triggered", columns: [ %{name: :schema, type: :string}, %{name: :table, type: :string}, %{name: :last_vacuum, type: :string}, ...
38.2
123
0.661297
33a3965721906aacd84bc3db1ebb78d100b2c942
2,622
ex
Elixir
clients/content/lib/google_api/content/v21/model/settlement_transaction_amount_commission.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/settlement_transaction_amount_commission.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/settlement_transaction_amount_commission.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...
52.44
1,126
0.718917
33a3d6d1a75173ae510cadc91470197a4fe96b4f
118,909
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/api/projects.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/api/projects.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/api/projects.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...
49.217301
965
0.632997
33a3f7340e347da3fa04389c8bc09dd1126bd0c4
75
exs
Elixir
test/test_helper.exs
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
test/test_helper.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
test/test_helper.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(BlockchainAPI.Repo, :manual)
25
59
0.8
33a43abd9335eb7abade51a0a6e48c32cecef75f
2,318
ex
Elixir
lib/test_web.ex
dabaer/liveview-table-test
61d22fb964120aa4715cc0e9ef12f3d5c61718ea
[ "MIT" ]
null
null
null
lib/test_web.ex
dabaer/liveview-table-test
61d22fb964120aa4715cc0e9ef12f3d5c61718ea
[ "MIT" ]
null
null
null
lib/test_web.ex
dabaer/liveview-table-test
61d22fb964120aa4715cc0e9ef12f3d5c61718ea
[ "MIT" ]
null
null
null
defmodule TestWeb 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 TestWeb, :controller use TestWeb, :view The definitions below will be executed for every view, controller, etc, so k...
22.288462
81
0.675151
33a448dd560925bda5199ade9ce2edf3aa38bdbe
341
ex
Elixir
lib/todo_app/handlers/entities_base_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
134
2017-03-28T14:47:37.000Z
2021-11-25T10:40:15.000Z
lib/todo_app/handlers/entities_base_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
5
2017-03-30T05:56:55.000Z
2018-01-17T09:22:51.000Z
lib/todo_app/handlers/entities_base_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
14
2017-03-28T17:04:31.000Z
2021-08-07T07:09:21.000Z
defmodule TodoApp.Entities.BaseHandler do defmacro __using__(_opts) do quote do use TodoApp.BaseHandler # Default REST Callbacks def allowed_methods(req, state) do {["GET", "OPTIONS", "POST"], req, state} end # Overridable Functions defoverridable [allowed_methods: ...
18.944444
48
0.648094
33a45e6810abc14ed08903c8fd9b223eb01886d3
423
ex
Elixir
test/stubs.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
637
2017-03-07T11:25:35.000Z
2022-03-31T13:37:51.000Z
test/stubs.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
372
2017-03-07T20:42:03.000Z
2022-03-30T22:46:46.000Z
test/stubs.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
149
2017-03-07T12:11:58.000Z
2022-03-19T22:11:51.000Z
defmodule Stubs do @moduledoc false def gateway_message_delete_payload, do: %{ channel_id: 453_700_913_115_168_768, guild_id: 279_093_381_723_062_272, id: 580_112_111_657_549_834 } def gateway_message_delete_bulk_payload, do: %{ channel_id: 453_700_913_115_168_768, guil...
23.5
61
0.732861
33a48495d327da5498a1497da1e87591917c4e3e
140
exs
Elixir
test/test_helper.exs
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
test/test_helper.exs
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
test/test_helper.exs
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
ExUnit.start() Faker.start() Ecto.Adapters.SQL.Sandbox.mode(BlogApi.Repo, :manual) {:ok, _} = Application.ensure_all_started(:ex_machina)
20
54
0.757143
33a4988d60ee1240ee45afd64ad4fa080656d26c
284
ex
Elixir
lib/earmark_parser/block/table.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/block/table.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/block/table.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
defmodule EarmarkParser.Block.Table do @moduledoc false defstruct lnb: 0, annotation: nil, attrs: nil, rows: [], header: nil, alignments: [] def new_for_columns(n) do %__MODULE__{alignments: Elixir.List.duplicate(:left, n)} end end # SPDX-License-Identifier: Apache-2.0
28.4
86
0.721831
33a4a71c88fdb496f51819cdb4f022ba1da76812
1,351
ex
Elixir
clients/content/lib/google_api/content/v2/model/price.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/price.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/price.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...
28.145833
77
0.735751
33a4d3d4ebc63ef26b2fbfe2202fed8a72fed115
1,408
ex
Elixir
lib/tiptap_web/endpoint.ex
EasterPeanut/tiptap-editor
cce7766925308fbebf8fc486e4f7609397c0d1fb
[ "MIT" ]
3
2021-08-29T03:06:05.000Z
2022-01-13T09:29:38.000Z
lib/tiptap_web/endpoint.ex
EasterPeanut/tiptap-editor
cce7766925308fbebf8fc486e4f7609397c0d1fb
[ "MIT" ]
15
2021-08-23T18:02:30.000Z
2021-08-30T07:32:38.000Z
lib/tiptap_web/endpoint.ex
EasterPeanut/tiptap-editor
cce7766925308fbebf8fc486e4f7609397c0d1fb
[ "MIT" ]
null
null
null
defmodule TiptapWeb.Endpoint do use Phoenix.Endpoint, otp_app: :tiptap # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_tiptap_key"...
29.957447
97
0.71733
33a4dd09d5a68f3c07a9c57395a4c1d9e4c96da7
510
ex
Elixir
aoc-2019/day1/lib/part2.ex
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
aoc-2019/day1/lib/part2.ex
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
aoc-2019/day1/lib/part2.ex
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
defmodule Part2 do def total_fuel(input) do input |> Enum.reduce(0, fn x, acc -> acc + fuel(x) end) end defp fuel(acc \\ 0, mass) do case simple_fuel(mass) do x when x <= 0 -> acc x -> fuel(acc + x, x) end end defp simple_fuel(mass) do mass |> (&(floor(&1/3) - 2)).() en...
18.214286
53
0.54902
33a539b8e8c51cb2e0e91c400b08b920d010eaaa
73
ex
Elixir
lib/chess/piece/bishop.ex
embik/chess
a6b494cb9d3bc539612af6c4aa97b05c9fe3c52a
[ "MIT" ]
null
null
null
lib/chess/piece/bishop.ex
embik/chess
a6b494cb9d3bc539612af6c4aa97b05c9fe3c52a
[ "MIT" ]
null
null
null
lib/chess/piece/bishop.ex
embik/chess
a6b494cb9d3bc539612af6c4aa97b05c9fe3c52a
[ "MIT" ]
null
null
null
defmodule Chess.Piece.Bishop do defstruct [:color, class: :bishop] end
18.25
36
0.753425
33a554f7286bb8fbc85ec0e415491975f3d9423c
71
exs
Elixir
test/test_helper.exs
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
test/test_helper.exs
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
test/test_helper.exs
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(SpeakUp.Repo, :manual)
14.2
53
0.760563
33a55c7d16cedda1ae444ea7e5fb71b7817db7f8
4,959
exs
Elixir
lib/ex_unit/test/ex_unit_test.exs
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit_test.exs
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit_test.exs
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule ExUnitTest do use ExUnit.Case import ExUnit.CaptureIO test "it supports many runs" do defmodule SampleTest do use ExUnit.Case, async: false test "true" do assert false end test "false" do assert false end...
24.308824
91
0.604154
33a57e609ee499b0bf37fd5e33ef51d460008ecc
52
exs
Elixir
test/absinthe/integration/execution/fragments/basic.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/fragments/basic.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
test/absinthe/integration/execution/fragments/basic.exs
jlgeering/absinthe
a3dbc29640d613928398626ad75a8f03203a1720
[ "MIT" ]
null
null
null
{:ok, %{data: %{"person" => %{"name" => "Bruce"}}}}
26
51
0.403846
33a57f0af26d1f05b82d19738fd2a44631a7305d
2,319
ex
Elixir
lib/phoenix_api_docs/controller.ex
smoku/phoenix_api_docs
d04dceb407d524914e22f59ca9b6940ec0183d1f
[ "MIT" ]
26
2016-09-05T00:36:43.000Z
2020-03-04T20:56:54.000Z
lib/phoenix_api_docs/controller.ex
smoku/phoenix_api_docs
d04dceb407d524914e22f59ca9b6940ec0183d1f
[ "MIT" ]
11
2016-10-07T16:42:17.000Z
2018-09-05T06:56:21.000Z
lib/phoenix_api_docs/controller.ex
smoku/phoenix_api_docs
d04dceb407d524914e22f59ca9b6940ec0183d1f
[ "MIT" ]
11
2016-09-08T12:04:39.000Z
2019-03-27T15:14:07.000Z
defmodule PhoenixApiDocs.Controller do defmacro __using__(_) do quote do import PhoenixApiDocs.Controller, only: [api: 3] end end @doc """ api :GET, "/posts/:id" do group "Posts" title "Show post" description "Show post by id" parameter :id, :integer, :required, "Post ID" end ...
31.337838
120
0.614489
33a58f794bd3a7d31afa2ff1ad384fb3f27c2ae1
1,546
ex
Elixir
web/channels/room_channel.ex
kwnktks0515/ChatRoom_with_Phoenix
bd0856a555341e484e19d797c94f3974cea398ff
[ "MIT" ]
null
null
null
web/channels/room_channel.ex
kwnktks0515/ChatRoom_with_Phoenix
bd0856a555341e484e19d797c94f3974cea398ff
[ "MIT" ]
null
null
null
web/channels/room_channel.ex
kwnktks0515/ChatRoom_with_Phoenix
bd0856a555341e484e19d797c94f3974cea398ff
[ "MIT" ]
null
null
null
defmodule ChatroomWithPhoenix.RoomChannel do use Phoenix.Channel def join("room:lobby", message, socket) do send(self(), {:after_join, message["user"]}) {:ok, "lobby", socket} end def join("room:" <> room_id, message, socket) do if Enum.any?(Agent.get(Rooms, fn list -> list end), fn(room) -> room ==...
38.65
136
0.619664
33a5cd04e0b3792b45e1e824e584a4ee1ece52bb
346
ex
Elixir
lib/supabase_surface/components/icons/icon_bluetooth.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_bluetooth.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_bluetooth.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconBluetooth do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.bluetooth(width: icon_size, height: icon_size)} </IconCon...
23.066667
67
0.722543
33a5ced9d0648cddcc44b0429ad99736ed1c5c85
1,370
ex
Elixir
no_ecto/sample/lib/sample_web/controllers/page_controller.ex
penqen/phenix_db_samples
4ae7211abb3cf66a120a78727641b3963a9aafe3
[ "MIT" ]
null
null
null
no_ecto/sample/lib/sample_web/controllers/page_controller.ex
penqen/phenix_db_samples
4ae7211abb3cf66a120a78727641b3963a9aafe3
[ "MIT" ]
null
null
null
no_ecto/sample/lib/sample_web/controllers/page_controller.ex
penqen/phenix_db_samples
4ae7211abb3cf66a120a78727641b3963a9aafe3
[ "MIT" ]
null
null
null
defmodule SampleWeb.PageController do use SampleWeb, :controller @users [ %{name: "foo", email: "foo@example.com"} ] def index(conn, _params) do conn |> put_session("users", @users) |> assign(:users, @users) |> assign(:name, "") |> assign(:email, "") |> render("index.html") end ...
26.346154
68
0.547445
33a5cfc847c77f6100ea67cf4a236d835ad3f7da
1,993
exs
Elixir
test/viceroy_test.exs
stevehebert/viceroy
953a29fd53b9984e12fcbdebfa5aef1fcdf7247e
[ "MIT" ]
null
null
null
test/viceroy_test.exs
stevehebert/viceroy
953a29fd53b9984e12fcbdebfa5aef1fcdf7247e
[ "MIT" ]
null
null
null
test/viceroy_test.exs
stevehebert/viceroy
953a29fd53b9984e12fcbdebfa5aef1fcdf7247e
[ "MIT" ]
null
null
null
defmodule ViceroyTest do use ExUnit.Case doctest Viceroy test "greets the world" do assert Viceroy.hello() == :world end test "triangular left test" do assert TriangularMembership.resolve({0, 5, 10}, 2.5) == 0.5 end test "triangular right test" do assert TriangularMembership.resolve({0, 5, ...
28.471429
93
0.685901
33a63bc9d87fc2df109ebd1f990ca8685937635e
1,079
ex
Elixir
lib/pixel_font/table_source/otf_layout/feature_list.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
17
2020-09-14T15:25:38.000Z
2022-03-05T17:14:24.000Z
lib/pixel_font/table_source/otf_layout/feature_list.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
1
2021-08-19T05:05:37.000Z
2021-08-19T05:05:37.000Z
lib/pixel_font/table_source/otf_layout/feature_list.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
null
null
null
defmodule PixelFont.TableSource.OTFLayout.FeatureList do alias PixelFont.TableSource.OTFLayout.Feature defstruct features: [] @type t :: %__MODULE__{features: [Feature.t()]} @spec compile(t(), keyword()) :: binary() def compile(%{features: features}, opts) do feature_count = length(features) offset...
26.975
78
0.62836
33a644158bc7db36566fb799197422a4195f91bc
1,858
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/address.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/address.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/address.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Address do @moduledoc """ Address data type, which cab be part of a route """ defstruct [:type, :value] @typedoc "An integer between 0 and 255 that represents the type of an address." @type type :: 0..255 | atom @typedoc "Address can be a string or an %Ockam.Address{} structure" @type ...
29.03125
81
0.651776
33a68e41e8d9aa4fe7ec8fb74720c0c38604d005
2,722
exs
Elixir
test/integration/prepared_test.exs
dennisxtria/xandra
dde3f54fd6466efa968028226f4a9997d61d0a02
[ "ISC" ]
null
null
null
test/integration/prepared_test.exs
dennisxtria/xandra
dde3f54fd6466efa968028226f4a9997d61d0a02
[ "ISC" ]
null
null
null
test/integration/prepared_test.exs
dennisxtria/xandra
dde3f54fd6466efa968028226f4a9997d61d0a02
[ "ISC" ]
null
null
null
defmodule PreparedTest do use XandraTest.IntegrationCase, async: true setup_all %{keyspace: keyspace, start_options: start_options} do {:ok, conn} = Xandra.start_link(start_options) Xandra.execute!(conn, "USE #{keyspace}") statement = "CREATE TABLE users (code int, name text, PRIMARY KEY (code, name))...
34.455696
91
0.617561
33a697bd0ef6bb9bbf754b814bb56b27298d347e
198
exs
Elixir
.formatter.exs
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
3
2021-04-16T01:54:20.000Z
2022-01-09T23:26:56.000Z
.formatter.exs
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
null
null
null
.formatter.exs
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
null
null
null
# Used by "mix format" [ inputs: Enum.flat_map( ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], &Path.wildcard(&1, match_dot: true) ) -- ["lib/pulsar/proto.ex"] ]
22
66
0.545455
33a6bc9767e70a2d875a652b53ae840a486145ed
2,213
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/blog_per_user_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/blogger/lib/google_api/blogger/v3/model/blog_per_user_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/blogger/lib/google_api/blogger/v3/model/blog_per_user_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.693548
131
0.677361
33a6f414f980a8d5576083cbf8ff2c68d7f6232f
2,058
ex
Elixir
clients/eventarc/lib/google_api/eventarc/v1beta1/model/set_iam_policy_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/eventarc/lib/google_api/eventarc/v1beta1/model/set_iam_policy_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/eventarc/lib/google_api/eventarc/v1beta1/model/set_iam_policy_request.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...
41.16
313
0.742468
33a6ffeb1d561d9f5f97b3d942c0a944e544c365
501
exs
Elixir
.dialyzer_ignore.exs
RafaelCamarda/avrora
0771d18a7082992be035b9aaadfe625808b6de6f
[ "MIT" ]
null
null
null
.dialyzer_ignore.exs
RafaelCamarda/avrora
0771d18a7082992be035b9aaadfe625808b6de6f
[ "MIT" ]
null
null
null
.dialyzer_ignore.exs
RafaelCamarda/avrora
0771d18a7082992be035b9aaadfe625808b6de6f
[ "MIT" ]
null
null
null
[ # NOTE: This code doesn't pass dialyxir because of the opaque types of erlavro functions. # The fix of dialyxir requires to silence too much functions and that's sad. # https://github.com/klarna/erlavro/blob/3dcb4a90af88bfe297ca60781265fbba025db48d/src/avro_binary_encoder.erl#L87-L88 {"lib/avrora/...
50.1
125
0.730539
33a7110e54d2eeff6379af7d4a8f314fb8b3f4ca
1,236
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/list_service_accounts_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/list_service_accounts_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/list_service_accounts_response.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...
30.9
86
0.75
33a73e89d10bedf8dd63870de2d1e273c1408d48
3,503
exs
Elixir
test/ecto/adapters/sqlite3/codec_test.exs
gargakshit/ecto_sqlite3
79d9afb1d5b0ad56be2eb8f1c4704e60ca55e8e5
[ "MIT" ]
121
2021-03-18T16:53:33.000Z
2022-03-30T08:46:07.000Z
test/ecto/adapters/sqlite3/codec_test.exs
gargakshit/ecto_sqlite3
79d9afb1d5b0ad56be2eb8f1c4704e60ca55e8e5
[ "MIT" ]
51
2021-03-18T16:35:13.000Z
2022-03-18T13:18:44.000Z
test/ecto/adapters/sqlite3/codec_test.exs
gargakshit/ecto_sqlite3
79d9afb1d5b0ad56be2eb8f1c4704e60ca55e8e5
[ "MIT" ]
15
2021-03-28T15:00:17.000Z
2022-03-07T06:53:14.000Z
defmodule Ecto.Adapters.SQLite3.CodecTest do use ExUnit.Case, async: true alias Ecto.Adapters.SQLite3.Codec describe ".bool_decode/1" do test "0" do {:ok, false} = Codec.bool_decode(0) {:ok, false} = Codec.bool_decode("0") end test "FALSE" do {:ok, false} = Codec.bool_decode("FALS...
26.946154
87
0.582073
33a7431c78e51fbbe20457b3f78fcf0d2e753047
85
ex
Elixir
lib/live_view_todos/mailer.ex
MarvinKweyu/LiveViewTodos
89c48d1692be56d50c779587cac4e6a654c68919
[ "MIT" ]
null
null
null
lib/live_view_todos/mailer.ex
MarvinKweyu/LiveViewTodos
89c48d1692be56d50c779587cac4e6a654c68919
[ "MIT" ]
null
null
null
lib/live_view_todos/mailer.ex
MarvinKweyu/LiveViewTodos
89c48d1692be56d50c779587cac4e6a654c68919
[ "MIT" ]
null
null
null
defmodule LiveViewTodos.Mailer do use Swoosh.Mailer, otp_app: :live_view_todos end
21.25
46
0.823529
33a75e7496c090861619a8be1c23b10ae1eab596
88
exs
Elixir
test/key_cloak_poc_web/views/page_view_test.exs
abmBispo/keycloak-poc
3730a1966e737370cdd22d9f457770224999068e
[ "MIT" ]
1
2021-10-24T00:47:19.000Z
2021-10-24T00:47:19.000Z
test/key_cloak_poc_web/views/page_view_test.exs
abmBispo/keycloak-poc
3730a1966e737370cdd22d9f457770224999068e
[ "MIT" ]
null
null
null
test/key_cloak_poc_web/views/page_view_test.exs
abmBispo/keycloak-poc
3730a1966e737370cdd22d9f457770224999068e
[ "MIT" ]
null
null
null
defmodule KeyCloakPocWeb.PageViewTest do use KeyCloakPocWeb.ConnCase, async: true end
22
42
0.840909
33a76932ed196b4c81f73979eb2bfdd0753b4977
1,930
ex
Elixir
lib/correios/cep/address.ex
lccezinha/correios-cep-elixir
fee32a9146167c13e169f682ed04837d9e9a525e
[ "Apache-2.0" ]
null
null
null
lib/correios/cep/address.ex
lccezinha/correios-cep-elixir
fee32a9146167c13e169f682ed04837d9e9a525e
[ "Apache-2.0" ]
null
null
null
lib/correios/cep/address.ex
lccezinha/correios-cep-elixir
fee32a9146167c13e169f682ed04837d9e9a525e
[ "Apache-2.0" ]
null
null
null
defmodule Correios.CEP.Address do @moduledoc """ Address structure. """ @enforce_keys [:street, :complement, :neighborhood, :city, :state, :zipcode] defstruct @enforce_keys @type t() :: %__MODULE__{ street: String.t(), complement: String.t(), neighborhood: String.t(), ...
26.081081
96
0.577202
33a788c491868745972c72d56f65753dcf2f29c6
6,004
ex
Elixir
lib/ecto/query/builder/update.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
1
2017-11-27T06:00:32.000Z
2017-11-27T06:00:32.000Z
lib/ecto/query/builder/update.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder/update.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [apply: 2] defmodule Ecto.Query.Builder.Update do @moduledoc false @keys [:set, :inc, :push, :pull] alias Ecto.Query.Builder @doc """ Escapes a list of quoted expressions. iex> escape([], [], __ENV__) {[], [], %{}} iex> escape([set: []], [], __ENV__) {[], []...
32.630435
101
0.589607
33a79428960f8ac5f1b42f2a2a39876bc665b1d0
3,110
exs
Elixir
test/mix/tasks/compile/surface_test.exs
shritesh/surface
716319572addd8b5f6dcca332b67f15f3833e310
[ "MIT" ]
null
null
null
test/mix/tasks/compile/surface_test.exs
shritesh/surface
716319572addd8b5f6dcca332b67f15f3833e310
[ "MIT" ]
null
null
null
test/mix/tasks/compile/surface_test.exs
shritesh/surface
716319572addd8b5f6dcca332b67f15f3833e310
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.SurfaceTest do use ExUnit.Case, async: false import Mix.Tasks.Compile.Surface @hooks_output_dir "tmp/_hooks" @hooks_abs_output_dir Path.join(File.cwd!(), @hooks_output_dir) @test_components_dir Path.join(File.cwd!(), "test/support/mix/tasks/compile/surface_test") setup_all do ...
26.355932
92
0.657235
33a79879f66dc79d6e70d51e542c8cafa985e35e
1,121
exs
Elixir
config/config.exs
massn/Difficult
9deec4218ced743dd6b02d3247a43b55d4c0a4ff
[ "MIT" ]
null
null
null
config/config.exs
massn/Difficult
9deec4218ced743dd6b02d3247a43b55d4c0a4ff
[ "MIT" ]
null
null
null
config/config.exs
massn/Difficult
9deec4218ced743dd6b02d3247a43b55d4c0a4ff
[ "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.16129
73
0.752007
33a7f0f4902af62535e4107b8914c2b79f22d630
2,484
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/container_port.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/container_port.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/container_port.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.4
257
0.719807
33a7fafb084e6a30cb6f670adbfa73c9d944c079
425
exs
Elixir
test/train2cal_web/views/error_view_test.exs
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
test/train2cal_web/views/error_view_test.exs
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
test/train2cal_web/views/error_view_test.exs
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
defmodule Train2calWeb.ErrorViewTest do use Train2calWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Train2calWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do ...
28.333333
94
0.738824
33a8aa4ddd836df3c674b31ca5c22f6a545c9adf
1,835
ex
Elixir
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/list_groups_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/list_groups_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/list_groups_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.7
167
0.73951
33a8acbf2f52e2cf2447f3c71f865eb4fb8a59a0
172
ex
Elixir
test/examples/case.ex
narrowtux/loppers
1dba8cece046e7ac1883bec8c663ce46e68a86d4
[ "MIT" ]
4
2018-12-07T10:52:37.000Z
2021-01-22T21:31:10.000Z
test/examples/case.ex
narrowtux/loppers
1dba8cece046e7ac1883bec8c663ce46e68a86d4
[ "MIT" ]
11
2017-11-29T12:01:05.000Z
2020-03-04T09:42:32.000Z
test/examples/case.ex
narrowtux/loppers
1dba8cece046e7ac1883bec8c663ce46e68a86d4
[ "MIT" ]
2
2017-11-29T12:00:37.000Z
2019-04-16T12:43:04.000Z
defmodule Case do # make sure special forms has -> def speak(animal) do case animal do :cat -> "meow" :dog -> "arf" end end end
14.333333
34
0.511628
33a8cc21fd4c368c5ef64eba5315f5963a0f6634
251
exs
Elixir
priv/repo/migrations/20170514145820_model.exs
kianmeng/ecto_ranked
e846f383a5aa21be2eff7edea0795e1dbf613769
[ "MIT" ]
33
2017-08-15T13:03:48.000Z
2022-02-04T13:26:19.000Z
priv/repo/migrations/20170514145820_model.exs
kianmeng/ecto_ranked
e846f383a5aa21be2eff7edea0795e1dbf613769
[ "MIT" ]
17
2017-08-22T13:51:49.000Z
2022-01-29T08:51:14.000Z
priv/repo/migrations/20170514145820_model.exs
kianmeng/ecto_ranked
e846f383a5aa21be2eff7edea0795e1dbf613769
[ "MIT" ]
10
2017-08-22T18:18:34.000Z
2021-11-11T02:59:53.000Z
defmodule EctoRanked.Test.Repo.Migrations.Model do use Ecto.Migration def change do create table(:models) do add :title, :string add :my_rank, :integer add :scope, :integer add :global_rank, :integer end end end
19.307692
50
0.661355
33a8e12b34a8a0a8d45ba347325be2bb0cc68df1
431
exs
Elixir
stratepig_updater/mix.exs
miapolis/stratepig-server
5aba069e9e943d4bdff7321a87cfbf9afbc4ccb9
[ "MIT" ]
4
2021-07-06T01:02:35.000Z
2022-01-11T22:19:17.000Z
stratepig_updater/mix.exs
miapolis/stratepig-server
5aba069e9e943d4bdff7321a87cfbf9afbc4ccb9
[ "MIT" ]
null
null
null
stratepig_updater/mix.exs
miapolis/stratepig-server
5aba069e9e943d4bdff7321a87cfbf9afbc4ccb9
[ "MIT" ]
null
null
null
defmodule StratepigUpdater.MixProject do use Mix.Project def project do [ app: :stratepig_updater, version: "0.7.1", elixir: ">= 1.11.3", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger], mod: {Stra...
15.962963
45
0.556845
33a8eb37200b42b47702ca4a6cc78dfb6ea9cf3c
108
exs
Elixir
test/web_hook/event_data_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
742
2015-01-02T14:27:45.000Z
2022-03-17T06:42:52.000Z
test/web_hook/event_data_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
126
2015-02-08T04:39:53.000Z
2022-01-02T14:43:27.000Z
test/web_hook/event_data_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
105
2015-01-28T20:41:40.000Z
2022-02-14T07:48:50.000Z
defmodule Poxa.WebHook.EventDataTest do use ExUnit.Case, async: true doctest Poxa.WebHook.EventData end
21.6
39
0.805556
33a90c3532ef7bb720e12b87fb0d05f074125f73
815
ex
Elixir
test/support/parser.ex
tinfoil/libgraph
1b8fb6c2d29239af9058c487bc5d6298d8bb07ad
[ "MIT" ]
366
2017-06-03T23:10:04.000Z
2022-03-22T12:26:38.000Z
test/support/parser.ex
tinfoil/libgraph
1b8fb6c2d29239af9058c487bc5d6298d8bb07ad
[ "MIT" ]
50
2017-07-14T17:55:53.000Z
2022-03-11T07:40:31.000Z
test/support/parser.ex
tinfoil/libgraph
1b8fb6c2d29239af9058c487bc5d6298d8bb07ad
[ "MIT" ]
64
2017-07-29T07:01:42.000Z
2022-03-20T12:07:55.000Z
defmodule Graph.Test.Fixtures.Parser do @moduledoc false @doc """ Given a path to one of the test fixture files which store graphs as lines of tab-separated points representing the edges. Each edge is on it's own line. There may be comments which lead with `#`. """ @spec parse(String.t()) :: Graph.t() ...
30.185185
82
0.601227
33a93bccf063042aa6f958cdbd6280f1d8a5388e
5,465
ex
Elixir
lib/game/npc/character.ex
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/game/npc/character.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/game/npc/character.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.NPC.Character do @moduledoc """ NPC Character functions """ @rand Application.get_env(:ex_venture, :game)[:rand] import Game.Character.Helpers, only: [update_effect_count: 2, is_alive?: 1] require Logger alias Data.Item alias Data.NPC alias Game.Character alias Game.Character.Effe...
27.189055
93
0.659652
33a964f368e8eaec2825e5e3a59068930af45bbc
1,308
exs
Elixir
kousa/mix.exs
yakohere/dogehouse
3df9602f3148f3b7613a6cf82d8d87c185f5daf9
[ "MIT" ]
1
2021-06-11T09:23:24.000Z
2021-06-11T09:23:24.000Z
kousa/mix.exs
yakohere/dogehouse
3df9602f3148f3b7613a6cf82d8d87c185f5daf9
[ "MIT" ]
1
2021-04-19T16:54:48.000Z
2021-04-19T16:54:48.000Z
kousa/mix.exs
yakohere/dogehouse
3df9602f3148f3b7613a6cf82d8d87c185f5daf9
[ "MIT" ]
null
null
null
defmodule Kousa.MixProject do use Mix.Project def project do [ app: :kousa, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do dev_only_apps = if Mi...
25.647059
94
0.487768
33a9a0f50f6fa0424b4bfd62532c24ca374e1ed1
1,140
ex
Elixir
backend/test/support/mocks/astarte/device/system_status.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/test/support/mocks/astarte/device/system_status.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/test/support/mocks/astarte/device/system_status.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
# # This file is part of Edgehog. # # Copyright 2021 SECO Mind Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
30
74
0.738596
33a9d193df8402186930a16dc1f0002b372ef993
3,093
exs
Elixir
test/jerboa/client/protocol/refresh_test.exs
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
14
2016-12-22T10:38:34.000Z
2021-03-11T23:20:26.000Z
test/jerboa/client/protocol/refresh_test.exs
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
94
2016-12-22T13:13:29.000Z
2021-02-10T14:22:32.000Z
test/jerboa/client/protocol/refresh_test.exs
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
6
2017-04-03T20:23:00.000Z
2022-03-06T10:14:30.000Z
defmodule Jerboa.Client.Protocol.RefreshTest do use ExUnit.Case alias Jerboa.Params alias Jerboa.Client.Protocol alias Jerboa.Client.Protocol.Refresh alias Jerboa.Test.Helper.Params, as: PH alias Jerboa.Test.Helper.Credentials, as: CH alias Jerboa.Format.Body.Attribute.{Lifetime, Nonce, ErrorCode} tes...
28.638889
75
0.639832
33aa435d5fdd789a1ebb84ac4526d1eb1e841120
542
ex
Elixir
lib/mix/tasks/ggity_visual.ex
srowley/ggity
e49f40141ea7b56e07cf9e00a20c04ed4d42df2f
[ "MIT" ]
47
2020-06-21T15:23:54.000Z
2022-03-13T01:24:19.000Z
lib/mix/tasks/ggity_visual.ex
srowley/ggity
e49f40141ea7b56e07cf9e00a20c04ed4d42df2f
[ "MIT" ]
3
2020-11-28T11:00:59.000Z
2020-11-30T18:20:37.000Z
lib/mix/tasks/ggity_visual.ex
srowley/ggity
e49f40141ea7b56e07cf9e00a20c04ed4d42df2f
[ "MIT" ]
2
2020-11-28T10:40:10.000Z
2021-05-28T06:44:47.000Z
defmodule Mix.Tasks.Ggity.Visual do @shortdoc "Launch a browser and display all sample pages." @moduledoc @shortdoc use Mix.Task alias Mix.Tasks.Ggity.Visual @doc false @spec run(list(any)) :: any def run(argv) do [ Visual.Annotate, Visual.Geom.Point, Visual.Geom.Line, Visua...
20.846154
62
0.636531
33aaecf83de24ab39ad608b32b846cee9d50f07b
367
ex
Elixir
lib/remote_points/points/user.ex
DianaOlympos/remote_test
e222d4e937789871baab3a7b4fd8428b714c1af4
[ "MIT" ]
1
2020-09-18T03:32:45.000Z
2020-09-18T03:32:45.000Z
lib/remote_points/points/user.ex
DianaOlympos/remote_test
e222d4e937789871baab3a7b4fd8428b714c1af4
[ "MIT" ]
null
null
null
lib/remote_points/points/user.ex
DianaOlympos/remote_test
e222d4e937789871baab3a7b4fd8428b714c1af4
[ "MIT" ]
null
null
null
defmodule RemotePoints.Points.User do use Ecto.Schema import Ecto.Changeset schema "users" do field :points, :integer, default: 0 timestamps() end @doc false def changeset(user, attrs) do user |> cast(attrs, [:points]) |> validate_required([:points]) |> check_constraint(:points, n...
19.315789
70
0.683924
33ab22d445ae9ee61c0f8169025084f3538fe8b9
189
exs
Elixir
lib/mix/test/fixtures/umbrella_dep/mix.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/test/fixtures/umbrella_dep/mix.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/test/fixtures/umbrella_dep/mix.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule UmbrellaDep.Mixfile do use Mix.Project def project do [ app: :umbrella_dep, deps: deps ] end defp deps do [ {:umbrella, path: "deps/umbrella"} ] end end
14.538462
42
0.634921
33ab3b28b216a6c89ade555a6e9ea2e53e76622e
71
ex
Elixir
www/ember-phoenix-starter-app/server/lib/starterapp/repo.ex
cheeseweasel/ember-phoenix-starter-app-box
e8363142a055ceb9ea39af9f84a0c1f856c02bfb
[ "MIT" ]
null
null
null
www/ember-phoenix-starter-app/server/lib/starterapp/repo.ex
cheeseweasel/ember-phoenix-starter-app-box
e8363142a055ceb9ea39af9f84a0c1f856c02bfb
[ "MIT" ]
null
null
null
www/ember-phoenix-starter-app/server/lib/starterapp/repo.ex
cheeseweasel/ember-phoenix-starter-app-box
e8363142a055ceb9ea39af9f84a0c1f856c02bfb
[ "MIT" ]
null
null
null
defmodule Starterapp.Repo do use Ecto.Repo, otp_app: :starterapp end
17.75
37
0.788732
33ab4843f4d1c1b74fb7587f10cf6621675ad139
2,365
exs
Elixir
test/aw_lww_map_property_test.exs
rands0n/delta_crdt_ex
90aa01c6d9d8994612b43344a6a34a522d6bd7f3
[ "MIT" ]
null
null
null
test/aw_lww_map_property_test.exs
rands0n/delta_crdt_ex
90aa01c6d9d8994612b43344a6a34a522d6bd7f3
[ "MIT" ]
null
null
null
test/aw_lww_map_property_test.exs
rands0n/delta_crdt_ex
90aa01c6d9d8994612b43344a6a34a522d6bd7f3
[ "MIT" ]
null
null
null
defmodule AWLWWMapPropertyTest do alias DeltaCrdt.AWLWWMap use ExUnit.Case, async: true use ExUnitProperties setup do operation_gen = ExUnitProperties.gen all( op <- StreamData.member_of([:add, :remove]), node_id <- term(), ...
28.154762
91
0.503171
33ab7bbaba6312f404cd1bc0ecc184ba360faa2d
4,069
ex
Elixir
lib/andy/platforms/mock_rover/tachomotor.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
7
2019-05-29T22:55:25.000Z
2021-08-22T18:38:29.000Z
lib/andy/platforms/mock_rover/tachomotor.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
null
null
null
lib/andy/platforms/mock_rover/tachomotor.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
1
2020-01-25T20:46:43.000Z
2020-01-25T20:46:43.000Z
defmodule Andy.MockRover.Tachomotor do @moduledoc "A mock large tachomotor" @behaviour Andy.Sensing @behaviour Andy.Moving alias Andy.{Device, AndyWorldGateway} require Logger def new(type, port_name) do %Device{ mod: __MODULE__, class: :motor, path: "/mock/#{type}_motor/#{port_name...
23.935294
86
0.666749
33abaf17490062288d6692133580912396cf8449
1,227
ex
Elixir
parkapp_server/lib/parkapp/application.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
2
2018-11-06T12:21:16.000Z
2018-11-21T10:20:17.000Z
parkapp_server/lib/parkapp/application.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
parkapp_server/lib/parkapp/application.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
defmodule Parkapp.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
34.083333
85
0.722901
33abd25a71bb71599b493dbf77a1cf117b717142
465
exs
Elixir
config/prod.secret.exs
jonatandahora/hello_phoenix
19dcd8ad35f6543df88b6b673725c3e668b37414
[ "MIT" ]
null
null
null
config/prod.secret.exs
jonatandahora/hello_phoenix
19dcd8ad35f6543df88b6b673725c3e668b37414
[ "MIT" ]
null
null
null
config/prod.secret.exs
jonatandahora/hello_phoenix
19dcd8ad35f6543df88b6b673725c3e668b37414
[ "MIT" ]
null
null
null
use Mix.Config # In this file, we keep production configuration that # you likely want to automate and keep it away from # your version control system. config :hello_phoenix, HelloPhoenix.Endpoint, secret_key_base: "210InYMu/yVAlskSIXV0N9MvL+/qNjoKE+/BYnnKxr+j2y21y6PPJ+wJgpNZop71" # Configure your database config :...
31
85
0.787097
33ac2c2053be95dca96049137bb4624d8c54b428
1,555
ex
Elixir
lib/kamleague_web/controllers/admin/map_controller.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
null
null
null
lib/kamleague_web/controllers/admin/map_controller.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
2
2021-11-04T21:05:24.000Z
2021-11-04T21:51:48.000Z
lib/kamleague_web/controllers/admin/map_controller.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
1
2021-11-04T18:40:26.000Z
2021-11-04T18:40:26.000Z
defmodule KamleagueWeb.Admin.MapController do use KamleagueWeb, :controller alias Kamleague.Leagues alias Kamleague.Leagues.Map def index(conn, _params) do maps = Leagues.list_maps() changeset = Leagues.change_map(%Map{}) render(conn, "index.html", changeset: changeset, maps: maps) end def cr...
27.767857
68
0.627653