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
621a02a6b8ae59d50afd97a7af4c729cd5386bf2
6,794
ex
Elixir
lib/cashmere.ex
lexmag/cashmere
8e81084c1ce3d4ae1c658aafec52df4ec307d84b
[ "Apache-2.0" ]
8
2021-09-21T07:29:28.000Z
2022-01-24T12:51:16.000Z
lib/cashmere.ex
lexmag/cashmere
8e81084c1ce3d4ae1c658aafec52df4ec307d84b
[ "Apache-2.0" ]
null
null
null
lib/cashmere.ex
lexmag/cashmere
8e81084c1ce3d4ae1c658aafec52df4ec307d84b
[ "Apache-2.0" ]
null
null
null
defmodule Cashmere do @moduledoc """ This module provides the interface to work with Cashmere, a high performance in-memory caching solution. To get started with Cashmere, you need to create a module that calls `use Cashmere`, like this: defmodule MyApp.Cache do use Cashmere, purge_interval: _...
31.747664
100
0.641154
621a0a9ed167aa6ab8571444d99fadb3dc999b14
2,695
ex
Elixir
apps/omg_eth/lib/omg_eth/transaction.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_eth/lib/omg_eth/transaction.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_eth/lib/omg_eth/transaction.ex
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 ...
35.460526
107
0.696475
621a1ad813bd569f23c00cc550e615e2a88456f2
1,123
exs
Elixir
config/config.exs
mwmiller/netstrings_ex
a36095a24614dbfcb723712582482931a6d855bc
[ "MIT" ]
1
2016-02-07T18:40:52.000Z
2016-02-07T18:40:52.000Z
config/config.exs
mwmiller/ex_netstrings
a36095a24614dbfcb723712582482931a6d855bc
[ "MIT" ]
null
null
null
config/config.exs
mwmiller/ex_netstrings
a36095a24614dbfcb723712582482931a6d855bc
[ "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.225806
73
0.752449
621a47ffe78a0915e9207c33f43a25e287f1eab5
747
ex
Elixir
test/support/channel_case.ex
Sam-Dowling/DiscoveryApi
d52c178daa8f6a2a9e5685974976ca9dea020e01
[ "MIT" ]
null
null
null
test/support/channel_case.ex
Sam-Dowling/DiscoveryApi
d52c178daa8f6a2a9e5685974976ca9dea020e01
[ "MIT" ]
null
null
null
test/support/channel_case.ex
Sam-Dowling/DiscoveryApi
d52c178daa8f6a2a9e5685974976ca9dea020e01
[ "MIT" ]
null
null
null
defmodule DiscoveryApi.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 and query models. Finally, if the test case interacts with the database, it cannot...
21.970588
56
0.721553
621a49822625442f18cf039eb528113a45707a76
886
ex
Elixir
clients/health_care/lib/google_api/health_care/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.814815
74
0.759594
621a6fdbdedcc44cb2018413e13baa2f5028e2f8
73
ex
Elixir
lib/modal_example_web/views/layout_view.ex
pthompson/liveview_tailwind_modal
5e5d173cdc8e4710ab98ce0a925822f4c72cd3ea
[ "MIT" ]
25
2020-07-29T04:21:10.000Z
2022-02-07T16:06:51.000Z
lib/modal_example_web/views/layout_view.ex
pthompson/liveview_tailwind_modal
5e5d173cdc8e4710ab98ce0a925822f4c72cd3ea
[ "MIT" ]
null
null
null
lib/modal_example_web/views/layout_view.ex
pthompson/liveview_tailwind_modal
5e5d173cdc8e4710ab98ce0a925822f4c72cd3ea
[ "MIT" ]
8
2020-08-19T13:06:39.000Z
2021-08-11T17:18:34.000Z
defmodule ModalExampleWeb.LayoutView do use ModalExampleWeb, :view end
18.25
39
0.835616
621a82892290ba6a0c5f9c660ab4211986e14fbc
1,274
ex
Elixir
13.OrganizeProjects/op2/issues/lib/issues/cli.ex
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
6
2019-10-25T21:51:11.000Z
2022-03-23T02:11:38.000Z
13.OrganizeProjects/op2/issues/lib/issues/cli.ex
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
null
null
null
13.OrganizeProjects/op2/issues/lib/issues/cli.ex
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
1
2020-06-16T12:37:43.000Z
2020-06-16T12:37:43.000Z
defmodule Issues.CLI do @default_count 4 @moduledoc """ Handle the command line parsing and the dispath to the various functions that end up generating a table of the last _n_ issues in a github project """ def run(argv) do argv |> parse_args # |> IO.puts |> process end @doc """ `...
23.163636
101
0.658556
621a8b4c7d87b60f151faa094ad8c309d79572c5
296
ex
Elixir
lib/ex_ftx/my_lending_history.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-09-27T17:19:41.000Z
2022-03-16T09:28:13.000Z
lib/ex_ftx/my_lending_history.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-07-28T19:53:02.000Z
2021-09-27T15:48:38.000Z
lib/ex_ftx/my_lending_history.ex
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
4
2021-08-01T11:25:58.000Z
2021-10-11T22:15:44.000Z
defmodule ExFtx.MyLendingHistory do alias __MODULE__ @type t :: %MyLendingHistory{ coin: String.t(), cost: number, rate: number, size: number, time: String.t() } defstruct ~w[ coin cost rate size time ]a end
14.8
35
0.52027
621ab4c06a16da3aad07752845360222eb74f412
183
ex
Elixir
test/support/pushex_case.ex
talkjs/pushex
e9f4d5c4d4df8165e0e712443c688e97d8d27c1e
[ "MIT" ]
69
2016-03-29T15:35:29.000Z
2018-06-27T14:57:23.000Z
test/support/pushex_case.ex
talkjs/pushex
e9f4d5c4d4df8165e0e712443c688e97d8d27c1e
[ "MIT" ]
9
2016-04-29T09:14:49.000Z
2017-10-31T02:08:14.000Z
test/support/pushex_case.ex
talkjs/pushex
e9f4d5c4d4df8165e0e712443c688e97d8d27c1e
[ "MIT" ]
6
2016-08-26T12:56:05.000Z
2018-06-21T23:51:00.000Z
defmodule Pushex.Case do use ExUnit.CaseTemplate setup do config = Application.get_all_env(:pushex) on_exit fn -> Pushex.Config.configure(config) end end end
16.636364
45
0.699454
621abbe9447aad0a622971ede80ce7b7f8f475bc
405
ex
Elixir
lib/airline_api_aggregator/api_behaviour.ex
SanketSapkal/airline_api_aggregator
fd4d5243c7ee936ab2fa07281ef1db6badec8d14
[ "Apache-2.0" ]
null
null
null
lib/airline_api_aggregator/api_behaviour.ex
SanketSapkal/airline_api_aggregator
fd4d5243c7ee936ab2fa07281ef1db6badec8d14
[ "Apache-2.0" ]
null
null
null
lib/airline_api_aggregator/api_behaviour.ex
SanketSapkal/airline_api_aggregator
fd4d5243c7ee936ab2fa07281ef1db6badec8d14
[ "Apache-2.0" ]
null
null
null
defmodule AirlineAPIAggregator.APIBehaviour do @moduledoc """ Behaviour for the connected airlines API. Provides a unified specsheet about the function arguements and return types. """ @callback get_cheapest_offer(origin :: String.t, destination :: String.t, date :: String.t) :: ...
33.75
78
0.696296
621afe3289800f61dc295b8a0e4715885eda99e0
101,079
ex
Elixir
clients/data_migration/lib/google_api/data_migration/v1beta1/api/projects.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/data_migration/lib/google_api/data_migration/v1beta1/api/projects.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/data_migration/lib/google_api/data_migration/v1beta1/api/projects.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.123077
652
0.622038
621b8c2977b847fdc539508865d9367979f6ce9c
1,235
exs
Elixir
mix.exs
webutil/tod
0abde2ae2295aee88a40933b66adf9b0c6e5992f
[ "MIT" ]
null
null
null
mix.exs
webutil/tod
0abde2ae2295aee88a40933b66adf9b0c6e5992f
[ "MIT" ]
null
null
null
mix.exs
webutil/tod
0abde2ae2295aee88a40933b66adf9b0c6e5992f
[ "MIT" ]
null
null
null
defmodule TOD.Mixfile do use Mix.Project def project do [ app: :tod, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, deps: deps() ] end # Conf...
24.7
57
0.547368
621b98b4397f9570a1cae8e69a2677cb4a493136
499
exs
Elixir
test/mix/brando_test.exs
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
test/mix/brando_test.exs
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
test/mix/brando_test.exs
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Mix.BrandoTest do use ExUnit.Case, async: true test "check_module_name_availability" do assert Mix.Brando.check_module_name_availability(Mix.BrandoTest) == {:error, "Module name Mix.BrandoTest is already taken, please choose another name"} end test "base" do assert Mix.Brando.ba...
23.761905
96
0.687375
621ba221ed4403cee02ea22c9e0a327c189ec570
927
exs
Elixir
mix.exs
defdo-dev/conekta-elixir
78274529f9ccac0191cd65db213896cf0f595cdd
[ "MIT" ]
14
2017-05-15T21:26:36.000Z
2020-10-06T15:30:50.000Z
mix.exs
echavezNS/conekta-elixir
78274529f9ccac0191cd65db213896cf0f595cdd
[ "MIT" ]
6
2017-06-18T19:46:07.000Z
2020-06-19T08:40:55.000Z
mix.exs
echavezNS/conekta-elixir
78274529f9ccac0191cd65db213896cf0f595cdd
[ "MIT" ]
10
2017-05-22T03:09:33.000Z
2020-10-22T17:10:53.000Z
defmodule Conekta.Mixfile do use Mix.Project @description """ Elixir library for Conekta api calls """ def project do [app: :conekta, version: "1.1.0", description: @description, name: "Conekta", elixir: "~> 1.10.4", package: package(), build_embedded: Mix.env == :prod, ...
23.175
79
0.572816
621bfacb2d0c78ec840a4c7e50394dcd52a9cba8
2,032
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/send_debug_capture_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/send_debug_capture_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/send_debug_capture_request.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...
36.285714
193
0.707677
621bfba02f7877b4eaaf7c47715708366ac874d1
6,343
exs
Elixir
src/test/blog/posts_test.exs
Bennyville/elixir-blog
04e25bbd8d050c54e35d83102575cc2ff1fa54ae
[ "MIT" ]
null
null
null
src/test/blog/posts_test.exs
Bennyville/elixir-blog
04e25bbd8d050c54e35d83102575cc2ff1fa54ae
[ "MIT" ]
1
2021-03-11T00:24:09.000Z
2021-03-11T00:24:09.000Z
src/test/blog/posts_test.exs
Bennyville/elixir-blog
04e25bbd8d050c54e35d83102575cc2ff1fa54ae
[ "MIT" ]
null
null
null
defmodule Blog.PostsTest do use Blog.DataCase alias Blog.Posts describe "posts" do alias Blog.Posts.Post @valid_attrs %{text: "some text", title: "some title", user_id: 42} @update_attrs %{text: "some updated text", title: "some updated title", user_id: 43} @invalid_attrs %{text: nil, title: ni...
32.865285
90
0.659625
621c1c469a6f1b08d1edf2ce0b6897e2479bb08c
1,125
exs
Elixir
exercises/practice/leap/test/year_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/leap/test/year_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/leap/test/year_test.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule YearTest do use ExUnit.Case # @tag :pending test "year not divisible by 4 is common year" do refute Year.leap_year?(2015) end @tag :pending test "year divisible by 2, not divisible by 4 is common year" do refute Year.leap_year?(1970) end @tag :pending test "year divisible by 4, no...
22.959184
71
0.692444
621c68ba154f2bb758c55555e663bf7943c6613c
1,119
exs
Elixir
2017/elixir/day22/config/config.exs
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
null
null
null
2017/elixir/day22/config/config.exs
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
null
null
null
2017/elixir/day22/config/config.exs
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
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.75067
621c85bd922d6b0259e65e82547a20cf2d455ff1
1,021
exs
Elixir
config/config.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
7
2021-07-14T15:45:55.000Z
2022-01-25T11:13:01.000Z
config/config.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
10
2021-08-09T15:54:05.000Z
2022-02-17T04:18:38.000Z
config/config.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
5
2021-07-23T05:54:35.000Z
2022-01-28T04:14:51.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :basic, ecto_repos: [Basic.Repo] # Con...
31.90625
86
0.765916
621caf1917e3cc7fa9e44ee30605b216e2db697e
816
exs
Elixir
test/test_helper.exs
husafwan/plug
c9e91717ae3a624d94fc6e917db938731526e72a
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
husafwan/plug
c9e91717ae3a624d94fc6e917db938731526e72a
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
husafwan/plug
c9e91717ae3a624d94fc6e917db938731526e72a
[ "Apache-2.0" ]
null
null
null
exclude = case System.get_env("COWBOY_VERSION") do "1" <> _ -> [:cowboy2] _ -> [:cowboy1] end ExUnit.start(exclude: exclude) {:ok, _} = Application.ensure_all_started(:cowboy) {:ok, _} = Application.ensure_all_started(:hackney) Logger.configure_backend(:console, colors: [enabled: false], metadata: [:reques...
21.473684
85
0.653186
621cb7f0c915c57c2d7e6944920e8d6e529df155
372
ex
Elixir
pascals-triangle/lib/pascals_triangle.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
1
2022-01-23T20:34:09.000Z
2022-01-23T20:34:09.000Z
pascals-triangle/lib/pascals_triangle.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
pascals-triangle/lib/pascals_triangle.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
defmodule PascalsTriangle do @moduledoc false @doc """ Calculates the rows of a pascal triangle with the given height """ @spec rows(integer) :: [[integer]] def rows(num) do [1] |> Stream.unfold(&{&1, next_row(&1)}) |> Enum.take(num) end defp next_row(row) do [0 | row] |> Enum.chunk_ever...
19.578947
63
0.607527
621cc58d01994dc7190f732c4d69b8e550efe35a
4,314
exs
Elixir
tasks/readme.exs
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/earmark/tasks/readme.exs
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/earmark/tasks/readme.exs
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Mix.Tasks.Readme do use Mix.Task @shortdoc "Build README.md from README.template by including module docs" @moduledoc """ README.md is generated from README.template by expanding the following special lines, all triggered by the regex `~r{\A%\w+}` where: * `%toc` creates the Table Of Contents s...
32.43609
100
0.595503
621ccaf040757d22abd26bb9b8dd2a7d58a74228
1,062
exs
Elixir
test/rockelivery/users/create_test.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
1
2022-03-16T20:41:29.000Z
2022-03-16T20:41:29.000Z
test/rockelivery/users/create_test.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
test/rockelivery/users/create_test.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
defmodule Rockelivery.Users.CreateTest do use Rockelivery.DataCase, async: true alias Rockelivery.{Error, User} alias Rockelivery.Users.Create alias Rockelivery.ViaCep.ClientMock import Mox import Rockelivery.Factory describe "call/1" do test "when all params are valid, returns the user" do p...
27.230769
82
0.658192
621ccf89a37471b519dd639ecbd906e00aa866ea
2,634
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/file_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/drive/lib/google_api/drive/v3/model/file_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/drive/lib/google_api/drive/v3/model/file_list.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...
47.035714
438
0.721336
621ce417b58a0dd95ef2a40d4607cc728287873b
854
ex
Elixir
questions/aggregates/00080000-nummembers.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
null
null
null
questions/aggregates/00080000-nummembers.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
null
null
null
questions/aggregates/00080000-nummembers.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
1
2019-10-08T04:46:40.000Z
2019-10-08T04:46:40.000Z
|QUESTIONNAME| Produce a numbered list of members |QUESTION| Produce a monotonically increasing numbered list of members, ordered by their date of joining. Remember that member IDs are not guaranteed to be sequential. |QUERY| select row_number() over(order by joindate), firstname, surname from cd.members order by joi...
47.444444
221
0.769321
621cf35fb8aec4b6eb3d9a28b39ee3d574aa5f07
500
exs
Elixir
priv/repo/migrations/20180223040738_create_option_values.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-04-01T19:14:16.000Z
2019-04-01T19:14:16.000Z
priv/repo/migrations/20180223040738_create_option_values.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
null
null
null
priv/repo/migrations/20180223040738_create_option_values.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-03-24T01:50:48.000Z
2019-03-24T01:50:48.000Z
defmodule Excommerce.Repo.Migrations.CreateOptionValues do use Ecto.Migration def change do create table(:option_values) do add :name, :string add :presentation, :string add :position, :integer add :option_type_id, references(:option_types, on_delete: :nothing) timestamps() ...
27.777778
110
0.718
621cfe5bbbcbd739f24b55f34f0a67931c4acf58
610
exs
Elixir
OTP/queueex/mix.exs
innaky/misc
b13b7626b098ab41253b1def7251582fb041dc7e
[ "MIT" ]
1
2020-07-29T13:55:30.000Z
2020-07-29T13:55:30.000Z
OTP/queueex/mix.exs
innaky/misc
b13b7626b098ab41253b1def7251582fb041dc7e
[ "MIT" ]
2
2019-04-08T16:53:39.000Z
2019-04-21T19:09:26.000Z
OTP/queueex/mix.exs
innaky/misc
b13b7626b098ab41253b1def7251582fb041dc7e
[ "MIT" ]
null
null
null
defmodule Queueex.MixProject do use Mix.Project def project do [ app: :queueex, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_ap...
20.333333
87
0.57541
621d17dac876c40ab1e1a85d55138739f14fb0ee
704
exs
Elixir
config/test.exs
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
config/test.exs
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
config/test.exs
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :fun_retro, FunRetro.Repo, username: "postgres", password: "postgres", database: "fun_retro_test#{Syst...
28.16
68
0.75142
621d2fea9545e05f6ca2e69274f34fae09f5eb84
252
exs
Elixir
01_run_single_file/single_file.exs
hpepper/elixir-tests
dc8ee6a0286c89d6e6cadb0f00bc38cc76ba5345
[ "MIT" ]
null
null
null
01_run_single_file/single_file.exs
hpepper/elixir-tests
dc8ee6a0286c89d6e6cadb0f00bc38cc76ba5345
[ "MIT" ]
null
null
null
01_run_single_file/single_file.exs
hpepper/elixir-tests
dc8ee6a0286c89d6e6cadb0f00bc38cc76ba5345
[ "MIT" ]
null
null
null
# define the module defmodule SingleFile do def helloWorld do IO.puts("Hellow Elixir world :-)") end end # Call a function in the module SingleFile.helloWorld # To run this: # iex single_files.exs # (press Ctrl-C twice to exit the 'eix' )
16.8
41
0.706349
621d5b02651bc02ff8eeffafb0a329af328ee084
1,076
exs
Elixir
mix.exs
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
mix.exs
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
mix.exs
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.MixProject do use Mix.Project def project do [ app: :stixex, description: "Implementation of CTI's STIX format", version: "0.1.3", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), source_url: "https://githu...
22.893617
75
0.549257
621d9a550baeea44c62f18eee2c31f9e719303e2
1,372
ex
Elixir
apps/gitgud/test/support/data_case.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud/test/support/data_case.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud/test/support/data_case.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.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 test ...
25.407407
77
0.677114
621dc20f63be0e7009c1c7123ef90408d31eb6d2
501
ex
Elixir
examples/listen_heartbeat_event.ex
kalmik/switchx
14d5197b0ed6ab46c307bdb1b928bbf84607bd56
[ "MIT" ]
8
2020-03-30T11:14:19.000Z
2022-03-24T11:53:30.000Z
examples/listen_heartbeat_event.ex
kalmik/switchx
14d5197b0ed6ab46c307bdb1b928bbf84607bd56
[ "MIT" ]
5
2020-03-27T00:00:54.000Z
2020-04-23T00:30:08.000Z
examples/listen_heartbeat_event.ex
kalmik/switchx
14d5197b0ed6ab46c307bdb1b928bbf84607bd56
[ "MIT" ]
1
2020-04-22T23:55:52.000Z
2020-04-22T23:55:52.000Z
defmodule Examples.InboundSocket.Listen do @moduledoc false use GenServer def start_link(), do: GenServer.start_link(__MODULE__, [], []) def init([]) do {:ok, conn} = SwitchX.Connection.Inbound.start_link([host: "127.0.0.1", port: 8021]) SwitchX.auth(conn, "ClueCon") SwitchX.listen_event(conn, "HEA...
20.875
88
0.644711
621dccb98b1d0e74de2b317ceb101271e8f13da8
605
ex
Elixir
lib/elasticsearch/api/api.ex
steffkes/elasticsearch-elixir
ce904e5dea959a5caefe2cde15669bba43ac3fa6
[ "MIT" ]
null
null
null
lib/elasticsearch/api/api.ex
steffkes/elasticsearch-elixir
ce904e5dea959a5caefe2cde15669bba43ac3fa6
[ "MIT" ]
null
null
null
lib/elasticsearch/api/api.ex
steffkes/elasticsearch-elixir
ce904e5dea959a5caefe2cde15669bba43ac3fa6
[ "MIT" ]
null
null
null
defmodule Elasticsearch.API do @moduledoc """ Defines the necessary callbacks for integrating with the Elasticsearch JSON API. """ @type url :: String.t() @type data :: map | Keyword.t() @type opts :: Keyword.t() @type headers :: Keyword.t() @type response :: {:ok, HTTPoison.Response.t() |...
28.809524
72
0.652893
621dd3812f23ab4492d61d5278962a6c5894d85f
1,059
ex
Elixir
test/support/conn_case.ex
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
2
2016-02-15T13:19:28.000Z
2016-02-15T18:10:12.000Z
test/support/conn_case.ex
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
2
2016-02-14T22:01:49.000Z
2016-02-14T22:02:46.000Z
test/support/conn_case.ex
marcsugiyama/pinafore
a9ceae09118d07c56757340c4be6690aa6235ace
[ "Apache-2.0" ]
null
null
null
defmodule Pinafore.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 imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the d...
24.627907
67
0.704438
621dfecdb67342781e7d5e6138718333ef4b7c81
1,157
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_management/lib/google_api/android_management/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.060606
77
0.748487
621e11c28186ea3d591ec8b52716a49ae37c0d6a
1,648
ex
Elixir
lib/distributed_elixir/web/web.ex
odarriba/distributed-elixir-example
ef3075d8d14ff3c0f3cd6c06145659129d80f6d1
[ "MIT" ]
11
2017-08-08T08:38:28.000Z
2019-09-16T09:20:06.000Z
lib/distributed_elixir/web/web.ex
odarriba/distributed-elixir-example
ef3075d8d14ff3c0f3cd6c06145659129d80f6d1
[ "MIT" ]
null
null
null
lib/distributed_elixir/web/web.ex
odarriba/distributed-elixir-example
ef3075d8d14ff3c0f3cd6c06145659129d80f6d1
[ "MIT" ]
null
null
null
defmodule DistributedElixir.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use DistributedElixir.Web, :controller use DistributedElixir.Web, :view The definitions below will be executed for every view, con...
24.597015
88
0.698422
621e164d9494bb2b6e985256391b2f2c603f68fc
1,401
ex
Elixir
lib/stranger/room.ex
cazrin/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
50
2016-01-24T11:45:47.000Z
2016-08-26T20:20:20.000Z
lib/stranger/room.ex
dnlgrv/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
1
2016-01-24T20:21:19.000Z
2016-01-28T11:26:10.000Z
lib/stranger/room.ex
dnlgrv/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
3
2017-03-17T12:46:09.000Z
2021-01-14T19:41:01.000Z
defmodule Stranger.Room do @moduledoc ~S""" Each room is for a chat between two strangers. Only strangers within the `ids` list are allowed to join. """ use GenServer @doc ~S""" Helper method for calling `Stranger.Room.Supervisor.start_child/2`. """ def create(name, ids) when is_list(ids) do Su...
24.155172
72
0.627409
621e3079055e41303407a41df562d9b2719fd938
106
exs
Elixir
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_endpoint/test/{{APP_NAME}}_endpoint/views/page_view_test.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_endpoint/test/{{APP_NAME}}_endpoint/views/page_view_test.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_endpoint/test/{{APP_NAME}}_endpoint/views/page_view_test.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
defmodule {{MODULE_NAME}}Endpoint.PageViewTest do use {{MODULE_NAME}}Endpoint.ConnCase, async: true end
26.5
51
0.792453
621e3726a32a69a31dfba2ac54a95490b1e61c8a
754
ex
Elixir
esl_blog/lib/esl_blog/spiders/esl.ex
limadelic/netflickers
e6575d7a42ec6fd1e465a2f29a3b1fbe69cd0333
[ "MIT" ]
null
null
null
esl_blog/lib/esl_blog/spiders/esl.ex
limadelic/netflickers
e6575d7a42ec6fd1e465a2f29a3b1fbe69cd0333
[ "MIT" ]
null
null
null
esl_blog/lib/esl_blog/spiders/esl.ex
limadelic/netflickers
e6575d7a42ec6fd1e465a2f29a3b1fbe69cd0333
[ "MIT" ]
null
null
null
# lib/crawly_example/esl_spider.ex defmodule EslSpider do use Crawly.Spider alias Crawly.Utils @impl Crawly.Spider def base_url(), do: "https://www.erlang-solutions.com" @impl Crawly.Spider def init(), do: [start_urls: ["https://www.erlang-solutions.com/blog/"]] @impl Crawly.Spider def parse_item(re...
25.133333
75
0.661804
621e3a3e72c892830c1343742aa25945502c739f
2,025
ex
Elixir
lib/derivco_web/controllers/list_controller.ex
AdolfodelSel/Derivco
ad3090208dfc9e11415825f5ce1374ef3f8c2985
[ "MIT" ]
null
null
null
lib/derivco_web/controllers/list_controller.ex
AdolfodelSel/Derivco
ad3090208dfc9e11415825f5ce1374ef3f8c2985
[ "MIT" ]
2
2021-03-09T15:53:17.000Z
2021-05-10T09:50:18.000Z
lib/derivco_web/controllers/list_controller.ex
AdolfodelSel/Derivco
ad3090208dfc9e11415825f5ce1374ef3f8c2985
[ "MIT" ]
null
null
null
defmodule DerivcoWeb.ListController do use DerivcoWeb, :controller alias Derivco.Database.DerivcoDatabase alias Derivco.Helpers.ResponseBuilder alias Derivco.Helpers.RequestFilter @protoTypes Application.get_env(:derivco, :protoTypes, []) |> Enum.into(%{}) @doc """ Controller of the option to get the l...
27.739726
78
0.660247
621e3ffc43e8fe63ecd32bdc5e03246c59c6639f
2,281
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
44.72549
471
0.726874
621e54030a6f951d694e61b934c61f97691cc125
3,056
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_browse_carousel_card_browse_carousel_card_item.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_browse_carousel_card_browse_carousel_card_item.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_browse_carousel_card_browse_carousel_card_item.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2021-03-04T13:43:47.000Z
2021-03-04T13:43:47.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...
41.863014
221
0.754581
621e5c3692ed0b6b60dcc985f0f922ca2567997e
1,807
ex
Elixir
islands_engine/lib/ie/board.ex
moritzploss/islands
ae804c4a443469a49a5d54c69d86951e76050205
[ "MIT" ]
3
2020-04-14T20:21:33.000Z
2021-03-18T16:47:04.000Z
islands_engine/lib/ie/board.ex
moritzploss/islands
ae804c4a443469a49a5d54c69d86951e76050205
[ "MIT" ]
null
null
null
islands_engine/lib/ie/board.ex
moritzploss/islands
ae804c4a443469a49a5d54c69d86951e76050205
[ "MIT" ]
null
null
null
defmodule IE.Board do def new, do: %{} defp overlaps_existing_island?(board, new_key, new_island) do Enum.any?( board, fn {key, island} -> key != new_key and IE.Island.overlaps?(island, new_island) end ) end def position_island(board, key, %IE.Island{} = island) do case o...
23.166667
74
0.616491
621e6943de6d60d84ac9f0151cb30a68f97ca27d
13,572
ex
Elixir
lib/aws/generated/kinesis_video.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/kinesis_video.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/kinesis_video.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.KinesisVideo do @moduledoc """ """ @doc """ Creates a signaling channel. `CreateSignalingChannel` is an asynchronous operation. """ def create_signaling_channel(client, input, opt...
34.88946
143
0.699602
621e731b1a4e671b4030ec9565fc7ceaa8dc8951
7,451
ex
Elixir
lib/event_queues/queue.ex
cenurv/event_stream
cbe8f5702551435dc94eee6833df8cf9ac3084ce
[ "Apache-2.0" ]
5
2017-01-15T13:31:15.000Z
2020-09-23T19:40:27.000Z
lib/event_queues/queue.ex
cenurv/event_stream
cbe8f5702551435dc94eee6833df8cf9ac3084ce
[ "Apache-2.0" ]
null
null
null
lib/event_queues/queue.ex
cenurv/event_stream
cbe8f5702551435dc94eee6833df8cf9ac3084ce
[ "Apache-2.0" ]
1
2021-03-04T21:49:14.000Z
2021-03-04T21:49:14.000Z
defmodule EventQueues.Queue do @moduledoc false @doc """ EXQ Configurationm * `:concurrency` - Defaults `:infinite` AMQP Configuration * `:username` - The name of a user registered with the broker (defaults to "guest"); * `:password` - The password of user (defaults to "guest"); * `:virtual_host` - T...
30.789256
242
0.618306
621e82aa807cc4472b8e7332a14dabc48afb9d72
4,519
ex
Elixir
lib/google_apis/change_analyzer.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
lib/google_apis/change_analyzer.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
lib/google_apis/change_analyzer.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.049645
91
0.631777
621eb4c06096cf677fb5ba7555eda669e315b10e
813
ex
Elixir
apps/feedex_metrics/lib/feedex_metrics/queries/news.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_metrics/lib/feedex_metrics/queries/news.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_metrics/lib/feedex_metrics/queries/news.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FeedexMetrics.Queries.NewsQuery do @moduledoc """ Queries for FeedexCore.News """ alias FeedexCore.Ctx.News.Post alias FeedexCore.Ctx.Account alias FeedexCore.Ctx.News alias FeedexCore.Repo import Ecto.Query @doc """ Return a metric tuple with number of posts Tuple elements: {metri...
21.394737
74
0.667897
621ec2f6a6ad6cb99544ccd38efca8c5fa0e4869
836
ex
Elixir
lib/radiator/directory/network.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
lib/radiator/directory/network.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
lib/radiator/directory/network.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
defmodule Radiator.Directory.Network do use Ecto.Schema import Ecto.Changeset import Arc.Ecto.Changeset alias Radiator.Directory.{Podcast, TitleSlug} schema "networks" do field :image, Radiator.Media.NetworkImage.Type field :title, :string field :slug, TitleSlug.Type has_many :podcasts, Po...
23.222222
96
0.705742
621efcb1e4d2d370c22692fc6b3bce8e1fa49d0a
2,058
ex
Elixir
lib/postgrex/extensions/time.ex
mainframe2/postgrex
7c3312f69b6b787e7d1831eedff32be36c3ee953
[ "Apache-2.0" ]
null
null
null
lib/postgrex/extensions/time.ex
mainframe2/postgrex
7c3312f69b6b787e7d1831eedff32be36c3ee953
[ "Apache-2.0" ]
null
null
null
lib/postgrex/extensions/time.ex
mainframe2/postgrex
7c3312f69b6b787e7d1831eedff32be36c3ee953
[ "Apache-2.0" ]
null
null
null
defmodule Postgrex.Extensions.Time do @moduledoc false import Postgrex.BinaryUtils, warn: false use Postgrex.BinaryExtension, [send: "time_send"] def init(opts), do: Keyword.fetch!(opts, :date) def encode(:postgrex) do quote location: :keep do %Postgrex.Time{} = time -> unquote(__MODULE__)...
30.716418
88
0.655491
621f04c0d9ab0fc1df92b6e0179d4356b98cc8a5
12,288
exs
Elixir
test/web/controllers/api/challenge_controller_test.exs
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
null
null
null
test/web/controllers/api/challenge_controller_test.exs
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
null
null
null
test/web/controllers/api/challenge_controller_test.exs
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
null
null
null
defmodule Web.Api.ChallengeControllerTest do use Web.ConnCase use Web, :view alias ChallengeGov.Challenges alias ChallengeGov.PhaseWinners alias ChallengeGov.Repo alias ChallengeGov.TestHelpers.SubmissionHelpers alias ChallengeGov.TestHelpers.AccountHelpers alias ChallengeGov.TestHelpers.AgencyHelpers ...
31.507692
102
0.607259
621f0a2fc2e0c05cc96115a6d7be5522053b239a
42
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/HexadecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/HexadecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/HexadecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
0x1 ++ 0x2 0x3 -- 0x4 0x5..0x6 0x7 <> 0x8
8.4
10
0.571429
621f354e57637328783548d0a6ea2a9facac4a4b
9,200
ex
Elixir
lib/jsonapi/plugs/query_parser.ex
0urobor0s/jsonapi
f0cbe7373526af0bf73185689fe0bb065d5eb033
[ "MIT" ]
null
null
null
lib/jsonapi/plugs/query_parser.ex
0urobor0s/jsonapi
f0cbe7373526af0bf73185689fe0bb065d5eb033
[ "MIT" ]
null
null
null
lib/jsonapi/plugs/query_parser.ex
0urobor0s/jsonapi
f0cbe7373526af0bf73185689fe0bb065d5eb033
[ "MIT" ]
null
null
null
defmodule JSONAPI.QueryParser do @behaviour Plug alias JSONAPI.{Config, Page} alias JSONAPI.Exceptions.InvalidQuery alias Plug.Conn import JSONAPI.Utils.IncludeTree import JSONAPI.Utils.String, only: [underscore: 1] @moduledoc """ Implements a fully JSONAPI V1 spec for parsing a complex query string an...
32.280702
98
0.656304
621f552c0ff19afc6c50413f18b8902dfd5586d0
1,883
exs
Elixir
test/thrift/generator/behaviour_test.exs
rchallapalli/elixir-thrift
729e3f616947a6c75762252bb2726221eea2e31b
[ "Apache-2.0" ]
null
null
null
test/thrift/generator/behaviour_test.exs
rchallapalli/elixir-thrift
729e3f616947a6c75762252bb2726221eea2e31b
[ "Apache-2.0" ]
null
null
null
test/thrift/generator/behaviour_test.exs
rchallapalli/elixir-thrift
729e3f616947a6c75762252bb2726221eea2e31b
[ "Apache-2.0" ]
null
null
null
defmodule BehaviourTest do use ThriftTestCase @thrift_file name: "behaviour.thrift", contents: """ struct S { 1: string username } struct T { 1: i64 id } union SorT { 1: S s_value, 2: T t_value } enum WaitStates { WAITING ACCEPTING BLOCKED } exception MyEx { 1:...
29.888889
81
0.605948
621f706f3e3f63b342621aeacbc360a2222f50bc
449
exs
Elixir
priv/repo/migrations/20180315192917_add_cellar_to_lots.exs
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
null
null
null
priv/repo/migrations/20180315192917_add_cellar_to_lots.exs
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
2
2021-03-09T01:59:47.000Z
2022-02-10T17:08:54.000Z
priv/repo/migrations/20180315192917_add_cellar_to_lots.exs
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
null
null
null
defmodule Ptr.Repo.Migrations.AddCellarToLots do use Ptr, :migration def change do if prefix = prefix() do do_change(prefix) else for prefix <- account_prefixes(), do: do_change(prefix) end end defp do_change(prefix) do alter table(:lots, prefix: prefix) do add(:cellar_id, re...
22.45
78
0.670379
621f79cfce3bb05b6607a9843ab3ec69de91bad2
505
ex
Elixir
lib/code_corps/transition/user_state.ex
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
lib/code_corps/transition/user_state.ex
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
lib/code_corps/transition/user_state.ex
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
defmodule CodeCorps.Transition.UserState do def next(_current, nil), do: nil def next("signed_up", "edit_profile"), do: {:ok, "edited_profile"} def next("edited_profile", "select_categories"), do: {:ok, "selected_categories"} def next("selected_categories", "select_roles"), do: {:ok, "selected_roles"} def nex...
56.111111
113
0.724752
621fa764c3061062c5441bf1011485fc80679575
321
exs
Elixir
onboarding/service/priv/repo/migrations/20161015214901_create_merchant_origin_integrations.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
onboarding/service/priv/repo/migrations/20161015214901_create_merchant_origin_integrations.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
onboarding/service/priv/repo/migrations/20161015214901_create_merchant_origin_integrations.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule OnboardingService.Repo.Migrations.CreateMerchantOriginIntegration do use Ecto.Migration def change do create table(:merchant_origin_integrations) do add :merchant_id, references(:merchants) add :origin_integration_id, references(:origin_integrations) timestamps() end end end...
22.928571
78
0.766355
621fa96a010f19aea4b235a549a3bf26f3cfe220
155
exs
Elixir
config/test.exs
gordalina/hush_gcp_secret_manager
38719f3a96fd07aa8a736200bd68fe92c9017625
[ "Apache-2.0" ]
15
2021-02-25T17:09:54.000Z
2021-03-02T19:53:00.000Z
config/test.exs
gordalina/hush_gcp_secret_manager
38719f3a96fd07aa8a736200bd68fe92c9017625
[ "Apache-2.0" ]
1
2021-09-11T12:27:23.000Z
2021-09-12T10:59:24.000Z
config/test.exs
gordalina/hush_gcp_secret_manager
38719f3a96fd07aa8a736200bd68fe92c9017625
[ "Apache-2.0" ]
null
null
null
import Config alias Hush.Provider.GcpSecretManager config :hush_gcp_secret_manager, http: GcpSecretManager.MockHttp, goth: GcpSecretManager.MockGoth
19.375
36
0.83871
621fc4b9e5b790562a69aa429fb009182058c6c4
1,147
exs
Elixir
clients/service_management/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_management/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37
73
0.757629
621fe8dd16dd9b364a2441ff8a0215a2b037863d
3,857
exs
Elixir
test/ja_serializer/phoenix_view_test.exs
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
test/ja_serializer/phoenix_view_test.exs
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
test/ja_serializer/phoenix_view_test.exs
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
defmodule JaSerializer.PhoenixViewTest do use ExUnit.Case defmodule PhoenixExample.ArticleView do use JaSerializer.PhoenixView attributes [:title] location "/api/articles" end @view PhoenixExample.ArticleView setup do m1 = %TestModel.Article{id: 1, title: "article one"} m2 = %TestModel....
36.046729
101
0.632097
621ff71350eb84425510f146947e63ca05d6ae05
1,225
exs
Elixir
test/tgs/project_test.exs
coryodaniel/organize-and-test-genservers
73ef5914c8af5ffdccf34ddec7f8ea1f7dade737
[ "MIT" ]
null
null
null
test/tgs/project_test.exs
coryodaniel/organize-and-test-genservers
73ef5914c8af5ffdccf34ddec7f8ea1f7dade737
[ "MIT" ]
null
null
null
test/tgs/project_test.exs
coryodaniel/organize-and-test-genservers
73ef5914c8af5ffdccf34ddec7f8ea1f7dade737
[ "MIT" ]
1
2020-12-03T22:13:43.000Z
2020-12-03T22:13:43.000Z
defmodule Tgs.ProjectTest do use ExUnit.Case, async: true doctest Tgs.Project doctest Tgs.Project.Logic alias Tgs.Project.Repository test "create_project/2 creates a project", %{test: test} do # You can test here or in doctest... # By testing the API we are exercising the Server and Logic modules - a...
36.029412
102
0.702041
6220008dc58955850a51e2c5b92fb3b7a89569cb
1,163
exs
Elixir
test/policy/helpers_test.exs
system76/policy
2d029725b549bb8b7e935abaf77b46cf6253854d
[ "MIT" ]
4
2016-09-03T10:25:32.000Z
2017-11-15T19:32:16.000Z
test/policy/helpers_test.exs
system76/policy
2d029725b549bb8b7e935abaf77b46cf6253854d
[ "MIT" ]
null
null
null
test/policy/helpers_test.exs
system76/policy
2d029725b549bb8b7e935abaf77b46cf6253854d
[ "MIT" ]
2
2017-10-16T02:39:00.000Z
2020-12-08T14:48:51.000Z
defmodule Policy.HelpersTest do use ExUnit.Case defmodule MockStruct do defstruct permit: false end defimpl Policy, for: MockStruct do def permit?(model, _user, _action), do: model.permit def scope(_model, _user), do: raise Exception, "not implemented" end setup do conn = Plug.Test.conn(:...
27.046512
101
0.680138
62200c28165e83408a3c7e8e2c9518fdf3810fa7
781
ex
Elixir
code/macros/hygiene.ex
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/macros/hygiene.ex
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/macros/hygiene.ex
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
27.892857
85
0.693982
62202c684a795f64df06b3c7ec1dc213e9bef387
140
ex
Elixir
lib/ex_platform_web/views/user_session_view.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
129
2021-05-30T10:10:59.000Z
2022-03-27T14:42:48.000Z
lib/ex_platform_web/views/user_session_view.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
48
2021-05-30T21:34:03.000Z
2022-02-21T14:20:04.000Z
lib/ex_platform_web/views/user_session_view.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
12
2021-05-30T22:03:49.000Z
2022-02-08T19:59:16.000Z
defmodule ExPlatformWeb.UserSessionView do use ExPlatformWeb, :view def render("new.json", %{error_message: message}), do: message end
23.333333
64
0.764286
622060b2e014bedd1a1a5cea308f436a9687e805
1,606
exs
Elixir
mix.exs
kidbombay/metatags
6ac0ff9001b7e97557601132d170a4c9acb96b95
[ "MIT" ]
null
null
null
mix.exs
kidbombay/metatags
6ac0ff9001b7e97557601132d170a4c9acb96b95
[ "MIT" ]
null
null
null
mix.exs
kidbombay/metatags
6ac0ff9001b7e97557601132d170a4c9acb96b95
[ "MIT" ]
null
null
null
defmodule Metatags.Mixfile do use Mix.Project @version "0.3.1" @description """ Metatags provides an easy to work with API to set default and page specific metatags on a page. """ def project do [ app: :metatags, version: @version, elixir: "~> 1.10", deps: deps(), desc...
22.305556
72
0.533001
62207e40a038b9db9053245322051531ec4fc4cf
1,632
ex
Elixir
clients/gmail/lib/google_api/gmail/v1/model/list_delegates_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/gmail/lib/google_api/gmail/v1/model/list_delegates_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/gmail/lib/google_api/gmail/v1/model/list_delegates_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.723404
217
0.743873
6220c394de4d2acc1defafe709efe0811c924ba7
1,065
exs
Elixir
mix.exs
wwww-wwww/elixir-cmake
122e900bd94a2c3ac4b86dc83f074ea31e2b2f9c
[ "MIT" ]
7
2020-02-03T19:45:05.000Z
2021-12-22T02:23:16.000Z
mix.exs
wwww-wwww/elixir-cmake
122e900bd94a2c3ac4b86dc83f074ea31e2b2f9c
[ "MIT" ]
3
2019-01-29T17:55:53.000Z
2020-03-09T02:54:40.000Z
mix.exs
wwww-wwww/elixir-cmake
122e900bd94a2c3ac4b86dc83f074ea31e2b2f9c
[ "MIT" ]
8
2019-01-28T16:55:20.000Z
2021-10-03T19:37:42.000Z
defmodule ElixirCmake.MixProject do use Mix.Project def project do [ app: :elixir_cmake, version: "0.8.0", elixir: "~> 1.3", build_embedded: Mix.env() == :prod, source_url: "https://github.com/code-lever/elixir-cmake", homepage_url: "https://github.com/code-lever/elixir-cmak...
19.363636
76
0.553052
6220d3f96e76abdea44770fe071e014e895fd3af
20,359
ex
Elixir
lib/livebook_web/live/session_live/cell_component.ex
gpopides/livebook
ec6de91674b894c0585adc893133735a590ba8c8
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/cell_component.ex
gpopides/livebook
ec6de91674b894c0585adc893133735a590ba8c8
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/cell_component.ex
gpopides/livebook
ec6de91674b894c0585adc893133735a590ba8c8
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.CellComponent do use LivebookWeb, :live_component @impl true def render(assigns) do ~H""" <div class="flex flex-col relative" data-el-cell id={"cell-#{@cell_view.id}"} phx-hook="Cell" data-cell-id={@cell_view.id} data-focusable-id={@cell_vie...
32.943366
138
0.584705
6220d8cca6897faaa9515eab30d9ce1d9aee6bc1
1,849
ex
Elixir
lib/strava/model/detailed_athlete.ex
fabio-t/strava
0c618d7f98970d5286ccc04433f81c95547590dd
[ "MIT" ]
39
2016-04-09T21:50:34.000Z
2022-03-04T09:16:25.000Z
lib/strava/model/detailed_athlete.ex
fabio-t/strava
0c618d7f98970d5286ccc04433f81c95547590dd
[ "MIT" ]
24
2016-05-29T15:49:07.000Z
2022-01-17T11:57:05.000Z
lib/strava/model/detailed_athlete.ex
fabio-t/strava
0c618d7f98970d5286ccc04433f81c95547590dd
[ "MIT" ]
21
2016-02-02T01:19:23.000Z
2022-02-06T23:29:32.000Z
defmodule Strava.DetailedAthlete do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :id, :resource_state, :firstname, :lastname, :profile_medium, :profile, :city, :state, :country, :sex, :friend, :follower, :premium, :summit, :created_at, ...
23.705128
62
0.56463
62211c1f8b0e19434ecbb2862a10a964893ac38c
2,237
exs
Elixir
implements/sieve/sieve_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
implements/sieve/sieve_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
1
2018-06-19T18:59:41.000Z
2018-06-19T18:59:41.000Z
implements/sieve/sieve_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
#if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("sieve.exs", __DIR__) #end ExUnit.start() #ExUnit.configure(exclude: :pending, trace: true) defmodule SieveTest do use ExUnit.Case # @tag :pending test "a few primes" do assert Sieve.primes_to(10) == [2, 3, 5, 7] end @tag :pending t...
11.651042
49
0.336165
622158bf9aeb9497700f5fed267cad8f1b2026a6
5,035
exs
Elixir
config/prod.exs
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
config/prod.exs
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
config/prod.exs
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
import Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # w...
30.515152
78
0.681827
622180504a4134f3a5ab20a5d916582a4458ee7d
329
ex
Elixir
lib/elixir_lokalise_api/collections/segments.ex
bodrovis/elixir-lokalise-api
ae49309f0fdf56c634157e78387f3bf50eaa6afb
[ "BSD-3-Clause" ]
3
2021-06-24T14:30:31.000Z
2021-09-06T11:30:17.000Z
lib/elixir_lokalise_api/collections/segments.ex
bodrovis/elixir-lokalise-api
ae49309f0fdf56c634157e78387f3bf50eaa6afb
[ "BSD-3-Clause" ]
8
2021-09-15T07:30:59.000Z
2022-02-01T17:40:17.000Z
lib/elixir_lokalise_api/collections/segments.ex
bodrovis/elixir-lokalise-api
ae49309f0fdf56c634157e78387f3bf50eaa6afb
[ "BSD-3-Clause" ]
2
2021-09-07T11:10:51.000Z
2021-09-26T07:37:39.000Z
defmodule ElixirLokaliseApi.Collection.Segments do @moduledoc false defstruct items: [], project_id: nil, total_count: nil, page_count: nil, per_page_limit: nil, current_page: nil, branch: nil, language_iso: nil, key_id:...
25.307692
50
0.553191
62218b77eb33d01d0707c50c0e3d1e54aa7ec34f
12,609
exs
Elixir
test/credo/code/token_test.exs
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
test/credo/code/token_test.exs
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
test/credo/code/token_test.exs
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
defmodule Credo.Code.TokenTest do use Credo.Test.Case alias Credo.Code.Token @heredoc_interpolations_source """ def fun() do a = \"\"\" MyModule.\#{fun(Module.value() + 1)}.SubModule.\#{name}" \"\"\" end """ @heredoc_interpolations_position {1, 5, 1, 60} @multiple_interpolations_source ~S...
30.165072
97
0.502102
6221a5a1541940a0be13773c3ff699a67b3cb708
2,457
exs
Elixir
mix.exs
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
10
2017-09-15T08:55:48.000Z
2021-07-08T09:26:24.000Z
mix.exs
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
17
2017-07-24T11:27:22.000Z
2022-01-24T22:28:18.000Z
mix.exs
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
2
2018-04-12T15:01:00.000Z
2018-05-27T12:14:34.000Z
defmodule Surgex.Mixfile do use Mix.Project def project do [ app: :surgex, version: "4.8.0", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), package: package(), ...
27.606742
97
0.553928
6221beb12609e247d099676c4b5bef85c293e9a0
247
ex
Elixir
lib/top5_2.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
lib/top5_2.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
2
2021-03-09T09:26:25.000Z
2021-05-09T08:58:51.000Z
lib/top5_2.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
null
null
null
defmodule Top52 do @moduledoc """ Top52 keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.7
66
0.748988
6221cd1a168132e70901a7c82af6d9b17937910a
2,103
exs
Elixir
test/performance/performance_driver.exs
liveforeverx/grakn_elixir
e64745fb200dd64956396c33b986b94706556ab4
[ "MIT" ]
1
2019-04-25T18:12:23.000Z
2019-04-25T18:12:23.000Z
test/performance/performance_driver.exs
liveforeverx/grakn_elixir
e64745fb200dd64956396c33b986b94706556ab4
[ "MIT" ]
null
null
null
test/performance/performance_driver.exs
liveforeverx/grakn_elixir
e64745fb200dd64956396c33b986b94706556ab4
[ "MIT" ]
null
null
null
defmodule PerformanceTestDriver do use Grakn.Graql parallel = System.argv() |> case do [param] -> param |> String.to_integer() [] -> 1 end Grakn.start_link(hostname: "127.0.0.1", name: Grakn) Benchee.run( %{ "create_schema" => fn -> schema = [ define(:attr_...
27.311688
90
0.473609
6221d099a64413e150219e6ffecc542f6a8d7d0d
506
ex
Elixir
backend/lib/budgetsh_web/schema/changeset_errors.ex
djquan/budget.sh.old
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
2
2019-09-08T23:26:20.000Z
2019-10-04T21:05:40.000Z
backend/lib/budgetsh_web/schema/changeset_errors.ex
djquan/budget.sh
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
null
null
null
backend/lib/budgetsh_web/schema/changeset_errors.ex
djquan/budget.sh
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
null
null
null
defmodule BudgetSHWeb.Schema.ChangesetErrors do @doc """ Traverses the changeset errors and returns a map of error messages. For example: %{start_date: ["can't be blank"], end_date: ["can't be blank"]} """ @spec error_details(Ecto.Changeset.t()) :: %{} def error_details(changeset) do Ecto.Changeset.t...
29.764706
65
0.65415
6221e45ddf0cf93e07fc054637833b2c01d37a1c
3,452
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_developer_app_key.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_developer_app_key.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_developer_app_key.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...
48.619718
347
0.704519
6221e5c797b2ba692b0d5fdd6eb07d7a19040c53
1,516
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_beta1_enable_consumer_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_beta1_enable_consumer_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_beta1_enable_consumer_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.255319
164
0.772427
622233fb3a9a9630fa55c009f79a81335a08dc7c
13,774
ex
Elixir
lib/mix/lib/mix.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
1
2020-09-24T12:37:29.000Z
2020-09-24T12:37:29.000Z
lib/mix/lib/mix.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
defmodule Mix do @moduledoc ~S""" Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more. ## Mix.Project The foundation of Mix is a project. A project can be defined by using `Mix.Project` in a module, usually placed in a file name...
30.54102
102
0.675258
6222414554efad36782d12d823592b951f0b5983
201
exs
Elixir
test/test_helper.exs
nihonjinrxs/VolunteerBase
e555ec9ae1d0b4401ae33c0a9fdc411b855f04a4
[ "MIT" ]
null
null
null
test/test_helper.exs
nihonjinrxs/VolunteerBase
e555ec9ae1d0b4401ae33c0a9fdc411b855f04a4
[ "MIT" ]
1
2016-06-24T03:43:06.000Z
2016-06-24T03:43:06.000Z
test/test_helper.exs
nihonjinrxs/VolunteerBase
e555ec9ae1d0b4401ae33c0a9fdc411b855f04a4
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r Volunteerbase.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r Volunteerbase.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(Volunteerbase.Repo)
28.714286
62
0.766169
62225003357f9cfb54d1e241d87e1997884a06a9
1,829
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation_error_errors.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation_error_errors.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/operation_error_errors.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...
33.87037
144
0.733188
622284f787a4ffab515669080780a1539de4243f
1,129
ex
Elixir
spec/support/interface_pipeline.ex
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
422
2017-01-20T13:38:13.000Z
2022-02-08T14:07:11.000Z
spec/support/interface_pipeline.ex
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
11
2017-01-26T15:40:36.000Z
2020-07-02T21:02:18.000Z
spec/support/interface_pipeline.ex
antonmi/flowex
7597e2ae1bf53033679ba65e0be13a50ad6f1e5e
[ "Apache-2.0" ]
20
2017-01-25T07:56:00.000Z
2021-11-29T16:19:34.000Z
defmodule InterfacePipeline do use Flowex.Pipeline defstruct [:x, :y, :a, :b, :foo, :p, :q, :ok, :z] pipe C1 pipe C2 pipe :c3 def c3(%{foo: foo, x: x, y: y}, _opts) do %{p: "#{foo} - #{x}", q: y} end end defmodule C1 do defstruct [:x, :y, :a, :b] def init(opts), do: opts def call(%{x: x, y:...
17.106061
51
0.585474
62228cda9064e63ea13876b4766b8caea22940e1
913
ex
Elixir
lib/mix/lib/mix/tasks/deps.get.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/mix/lib/mix/tasks/deps.get.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.get.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
defmodule Mix.Tasks.Deps.Get do use Mix.Task @shortdoc "Gets all out of date dependencies" @moduledoc """ Gets all out of date dependencies, i.e. dependencies that are not available or have an invalid lock. ## Command line options * `--only` - only fetches dependencies for given environment * `-...
25.361111
74
0.638554
6222b6f20ec3fbe7f01188f9157862743f425b72
2,696
ex
Elixir
lib/davis/connection.ex
jquadrino/davis
28b405725855303b7e78ed5db22ded223dfb2dc8
[ "Apache-2.0" ]
1
2019-08-01T22:51:17.000Z
2019-08-01T22:51:17.000Z
lib/davis/connection.ex
jquadrino/davis
28b405725855303b7e78ed5db22ded223dfb2dc8
[ "Apache-2.0" ]
null
null
null
lib/davis/connection.ex
jquadrino/davis
28b405725855303b7e78ed5db22ded223dfb2dc8
[ "Apache-2.0" ]
null
null
null
defmodule Davis.Connection do @moduledoc false import Davis.Frame.Flag, only: :macros alias Davis.Frame alias Davis.Headers.HPACK def defaults(settings) do settings |> Map.put_new(:header_table_size, 4096) |> Map.put_new(:enable_push, true) |> Map.put_new(:max_concurrent_streams, 100) |...
30.988506
86
0.704748
6222c98c55df6a1e03fbb4171cbd8eed331d13a0
3,133
exs
Elixir
test/bonny/crd_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
227
2018-12-30T20:13:47.000Z
2022-03-26T03:49:07.000Z
test/bonny/crd_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
104
2018-12-20T02:16:28.000Z
2022-03-28T07:18:06.000Z
test/bonny/crd_test.exs
FreedomBen/bonny
e4584e5ec359477858eb0ac715d2044ffa8bdb53
[ "MIT" ]
24
2019-02-14T10:18:09.000Z
2022-02-08T04:18:32.000Z
defmodule Bonny.CRDTest do @moduledoc false use ExUnit.Case, async: true doctest Bonny.CRD alias Bonny.CRD describe "to_manifest/2" do test "generates a kubernetes manifest in version v1beta1" do spec = Widget.crd() manifest = CRD.to_manifest(spec, "apiextensions.k8s.io/v1beta1") expec...
38.679012
430
0.556017
6222d0a730f41b687e7c4c14563a0ab3c890d4b0
546
exs
Elixir
mix.exs
mike-foucault/adaptex
cf93e4b6a5ac6c7c5c304b87caf4fcaa08687a12
[ "Apache-2.0" ]
null
null
null
mix.exs
mike-foucault/adaptex
cf93e4b6a5ac6c7c5c304b87caf4fcaa08687a12
[ "Apache-2.0" ]
null
null
null
mix.exs
mike-foucault/adaptex
cf93e4b6a5ac6c7c5c304b87caf4fcaa08687a12
[ "Apache-2.0" ]
null
null
null
defmodule Adaptex.MixProject do use Mix.Project def project do [ app: :adaptex, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_ap...
18.827586
62
0.578755
6222efd2910fcce797910d0a888261bfb29f8227
6,581
ex
Elixir
lib/pigeon/apns/jwt_config.ex
dmytrokhromov/pigeon
5c681e2de58d26966565fd22e16b82d480c7620e
[ "MIT" ]
null
null
null
lib/pigeon/apns/jwt_config.ex
dmytrokhromov/pigeon
5c681e2de58d26966565fd22e16b82d480c7620e
[ "MIT" ]
null
null
null
lib/pigeon/apns/jwt_config.ex
dmytrokhromov/pigeon
5c681e2de58d26966565fd22e16b82d480c7620e
[ "MIT" ]
null
null
null
defmodule Pigeon.APNS.JWTConfig do @moduledoc false defstruct key: nil, key_identifier: nil, ping_period: 600_000, port: 443, team_id: nil, bundle_id: nil, uri: nil alias Pigeon.APNS.ConfigParser @type headers :: [{binary, binary}] @t...
28.864035
80
0.629995
622312ebdaa62687e28cca9bf778b25ac9a9c94b
1,543
ex
Elixir
test/support/apps/phx1_6/lib/phx1_6_web/views/error_helpers.ex
infinitered/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
203
2016-10-28T00:37:15.000Z
2019-01-21T16:33:42.000Z
test/support/apps/phx1_6/lib/phx1_6_web/views/error_helpers.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
61
2016-11-01T02:29:22.000Z
2019-01-01T22:35:21.000Z
test/support/apps/phx1_6/lib/phx1_6_web/views/error_helpers.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
37
2016-11-01T18:13:55.000Z
2019-01-07T00:35:48.000Z
defmodule Phx16Web.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:s...
32.145833
74
0.66429
622324dd6905518f5df6014cc22c706fd6636eef
366
exs
Elixir
priv/repo/migrations/20170412211056_create_accounts_user.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
priv/repo/migrations/20170412211056_create_accounts_user.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
priv/repo/migrations/20170412211056_create_accounts_user.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
defmodule Podcatcher.Repo.Migrations.CreatePodcatcher.Accounts.User do use Ecto.Migration def change do create table(:accounts_users) do add :name, :string add :email, :string add :password, :string timestamps() end create unique_index(:accounts_users, [:name]) create uniq...
21.529412
70
0.691257
6223378fec9c9d6527b7d9eb5eef72510930e5b9
6,564
exs
Elixir
test/ex_audit_test.exs
mojidabckuu/ex_audit
6c74b65a28edd80076bad3f7e56e55e9c3218e6a
[ "MIT" ]
null
null
null
test/ex_audit_test.exs
mojidabckuu/ex_audit
6c74b65a28edd80076bad3f7e56e55e9c3218e6a
[ "MIT" ]
null
null
null
test/ex_audit_test.exs
mojidabckuu/ex_audit
6c74b65a28edd80076bad3f7e56e55e9c3218e6a
[ "MIT" ]
null
null
null
defmodule ExAuditTest do use ExUnit.Case doctest ExAudit import Ecto.Query alias ExAudit.Test.{TrackerRepo, Repo, User, Version, BlogPost, Util, Review} test "should document lifecycle of an entity" do params = %{ name: "Moritz Schmale", email: "foo@bar.com" } changeset = User.chan...
25.44186
98
0.544485
622346f52483872220f2d4b24a70777d562b7b14
235
exs
Elixir
apps/core/priv/repo/migrations/20180516133118_add_contractor_divisions.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/repo/migrations/20180516133118_add_contractor_divisions.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/repo/migrations/20180516133118_add_contractor_divisions.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.Repo.Migrations.AddContractorDivisions do @moduledoc false use Ecto.Migration def change do alter table(:contract_requests) do add(:contractor_divisions, {:array, :uuid}, null: false) end end end
19.583333
62
0.72766
6223fc71bda3d5c35ba138af132d04308c711f8f
1,376
ex
Elixir
godin_umbrella/apps/godin/test/support/data_case.ex
ruben44bac/god-n
af78dc683b58bb3a5e4dbfec2dd53887651a8aa7
[ "MIT" ]
null
null
null
godin_umbrella/apps/godin/test/support/data_case.ex
ruben44bac/god-n
af78dc683b58bb3a5e4dbfec2dd53887651a8aa7
[ "MIT" ]
null
null
null
godin_umbrella/apps/godin/test/support/data_case.ex
ruben44bac/god-n
af78dc683b58bb3a5e4dbfec2dd53887651a8aa7
[ "MIT" ]
null
null
null
defmodule Godin.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 test r...
25.481481
77
0.678052
6223feafcf9bfc74103274151fff5600e8b1b37e
8,368
ex
Elixir
lib/protobuf/encoder.ex
fbergero/protobuf-elixir
8e55473bafca371cef41107418bfab0b03be072f
[ "MIT" ]
null
null
null
lib/protobuf/encoder.ex
fbergero/protobuf-elixir
8e55473bafca371cef41107418bfab0b03be072f
[ "MIT" ]
null
null
null
lib/protobuf/encoder.ex
fbergero/protobuf-elixir
8e55473bafca371cef41107418bfab0b03be072f
[ "MIT" ]
null
null
null
defmodule Protobuf.Encoder do import Protobuf.WireTypes import Bitwise, only: [bsr: 2, band: 2, bsl: 2, bor: 2] alias Protobuf.{MessageProps, FieldProps} @spec encode(atom, struct, keyword) :: iodata def encode(mod, struct, opts) do case struct do %{__struct__: _} -> encode(struct, opts) ...
31.69697
94
0.626076
6224073f385ecdd65409d39bd74f8ba70269c8c1
1,489
ex
Elixir
auditor/lib/poll.ex
zeroasterisk/faas-cold-start-auditor
eef6c50d4f1d33dfad81bc9c8e571f7d827a4223
[ "MIT" ]
1
2018-07-31T05:43:23.000Z
2018-07-31T05:43:23.000Z
auditor/lib/poll.ex
zeroasterisk/faas-cold-start-auditor
eef6c50d4f1d33dfad81bc9c8e571f7d827a4223
[ "MIT" ]
null
null
null
auditor/lib/poll.ex
zeroasterisk/faas-cold-start-auditor
eef6c50d4f1d33dfad81bc9c8e571f7d827a4223
[ "MIT" ]
null
null
null
defmodule Poll do @moduledoc """ Main Polling Interface Request URL X count (times) in Y concurrent_requests """ require Logger @doc """ Do count requests, with concurrent in parallell """ def requests(count, concurrent, url) do [] |> Poll.requests_loop(count, concurrent, url) end @doc """ ...
30.387755
120
0.668905
62242cb08a614fc693f7ec45822c98950082e8de
2,265
exs
Elixir
test/controllers/hardware_controller_test.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
test/controllers/hardware_controller_test.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
test/controllers/hardware_controller_test.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
defmodule Tox.HardwareControllerTest do use Tox.ConnCase alias Tox.Hardware @valid_attrs %{description: "some content", server: 42, value: "some content"} @invalid_attrs %{} setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end test "lists all entries on index",...
35.952381
98
0.679029
62243be9ee7321d8dc5f865bef355799e93060fe
1,203
ex
Elixir
lib/koans/02_strings.ex
serpient/elixir-koans
d1d9d6a643cc821f9067d987330fbf78ba1d4463
[ "MIT" ]
null
null
null
lib/koans/02_strings.ex
serpient/elixir-koans
d1d9d6a643cc821f9067d987330fbf78ba1d4463
[ "MIT" ]
null
null
null
lib/koans/02_strings.ex
serpient/elixir-koans
d1d9d6a643cc821f9067d987330fbf78ba1d4463
[ "MIT" ]
null
null
null
defmodule Strings do use Koans @intro "Strings" koan "Strings are there to represent text" do assert "hello" == "hello" end koan "Values may be inserted into strings by interpolation" do assert "1 + 1 = #{1 + 1}" == "1 + 1 = 2" end koan "They can be put together" do assert "hello world" =...
26.152174
87
0.656692
62245d6200fdee4f5a3aa01c4143552f48178b25
118
ex
Elixir
lib/ash_csv.ex
TheFirstAvenger/ash_csv
deeb9ad1ce50c28ba83247970a21cd28494f31ab
[ "MIT" ]
null
null
null
lib/ash_csv.ex
TheFirstAvenger/ash_csv
deeb9ad1ce50c28ba83247970a21cd28494f31ab
[ "MIT" ]
null
null
null
lib/ash_csv.ex
TheFirstAvenger/ash_csv
deeb9ad1ce50c28ba83247970a21cd28494f31ab
[ "MIT" ]
null
null
null
defmodule AshCsv do @moduledoc """ A CSV datalayer for the Ash framework Currently only for demoing. """ end
14.75
39
0.70339
6224a29ee55a159ba4e473be3fb8bfa0ba0c4116
972
ex
Elixir
lib/nudge_api/matches/helpers/user_meeting.ex
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
lib/nudge_api/matches/helpers/user_meeting.ex
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
lib/nudge_api/matches/helpers/user_meeting.ex
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
defmodule NudgeApi.Matches.Helpers.UserMeeting do @behaviour NudgeApi.Matches.Helpers.UserEvent import Ecto.Query alias NudgeApi.Users.{User} alias NudgeApi.Repo alias NudgeApi.Matches.{UserMeeting, Meeting} def base_query(user_id) do UserMeeting |> where( [um], um.user_id == ^user_id...
21.6
72
0.601852
6224acd69dca15fb1d315d9f230a0d50d8e30ea1
6,004
exs
Elixir
test/ecto/enum_test.exs
duzzifelipe/ecto
d97263771f9d9b74699b87d6222b82209b6e9ea2
[ "Apache-2.0" ]
null
null
null
test/ecto/enum_test.exs
duzzifelipe/ecto
d97263771f9d9b74699b87d6222b82209b6e9ea2
[ "Apache-2.0" ]
null
null
null
test/ecto/enum_test.exs
duzzifelipe/ecto
d97263771f9d9b74699b87d6222b82209b6e9ea2
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.EnumTest do use ExUnit.Case, async: true alias Ecto.Changeset alias Ecto.TestRepo defmodule EnumSchema do use Ecto.Schema schema "my_schema" do field :my_enum, Ecto.Enum, values: [:foo, :bar, :baz] field :my_enums, {:array, Ecto.Enum}, values: [:foo, :bar, :baz] field...
31.93617
105
0.558628
6224c1fbb9dbcb24f099ec0dad35417f380003f7
1,082
ex
Elixir
lib/yamm_web/channels/user_socket.ex
yammine/YAMM
c118eab5029b86c2caf24890dfffa8437684f5d1
[ "MIT" ]
null
null
null
lib/yamm_web/channels/user_socket.ex
yammine/YAMM
c118eab5029b86c2caf24890dfffa8437684f5d1
[ "MIT" ]
null
null
null
lib/yamm_web/channels/user_socket.ex
yammine/YAMM
c118eab5029b86c2caf24890dfffa8437684f5d1
[ "MIT" ]
null
null
null
defmodule YAMMWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", YAMMWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels, ie...
30.055556
83
0.692237