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
4aba8bc15f9a5c4d3d3515e59e683542dd5af9e2
670
ex
Elixir
lib/list_filter.ex
felipe-jm/ignite-elixir-challenge-02
98f250bf9931460c89d4d7af71514eb471f1507a
[ "MIT" ]
null
null
null
lib/list_filter.ex
felipe-jm/ignite-elixir-challenge-02
98f250bf9931460c89d4d7af71514eb471f1507a
[ "MIT" ]
null
null
null
lib/list_filter.ex
felipe-jm/ignite-elixir-challenge-02
98f250bf9931460c89d4d7af71514eb471f1507a
[ "MIT" ]
null
null
null
defmodule ListFilter do require Integer def call(list), do: even_numbers_count(list) defp even_numbers_count(list) do numbers = get_numbers(list) even_numbers = Enum.filter(numbers, fn number -> Integer.is_odd(number) end) length(even_numbers) end defp get_numbers(list) do numbers = Enum.fi...
23.928571
80
0.695522
4abaa2ed27c9ccb0aecf58d46b6a7ada1d8a8b30
563
ex
Elixir
lib/clickhousex/codec.ex
scohen/clickhousex
d5139ad1b48368dfacfd2e06b6af72c3ec4f5ef7
[ "Apache-2.0" ]
null
null
null
lib/clickhousex/codec.ex
scohen/clickhousex
d5139ad1b48368dfacfd2e06b6af72c3ec4f5ef7
[ "Apache-2.0" ]
null
null
null
lib/clickhousex/codec.ex
scohen/clickhousex
d5139ad1b48368dfacfd2e06b6af72c3ec4f5ef7
[ "Apache-2.0" ]
1
2020-08-14T18:44:50.000Z
2020-08-14T18:44:50.000Z
defmodule Clickhousex.Codec do @type row :: tuple @type query :: Clickhousex.Query.t() @type param :: any @type param_replacements :: iodata @type select_response :: %{column_names: [String.t()], rows: [row], row_count: non_neg_integer} @type state :: any @callback response_format() :: String.t() @call...
35.1875
97
0.685613
4abab8976f37e53b11568cead2c9d3cd569567d6
8,602
ex
Elixir
lib/message_pack/packer.ex
mururu/msgpack-elixir
4f0063f5e7b010dcd3e8ca8f1b8650f67ea08dea
[ "MIT" ]
63
2015-01-07T09:43:18.000Z
2022-01-31T21:01:03.000Z
lib/message_pack/packer.ex
mururu/msgpack-elixir
4f0063f5e7b010dcd3e8ca8f1b8650f67ea08dea
[ "MIT" ]
2
2015-03-26T21:13:54.000Z
2016-08-22T10:24:31.000Z
lib/message_pack/packer.ex
mururu/msgpack-elixir
4f0063f5e7b010dcd3e8ca8f1b8650f67ea08dea
[ "MIT" ]
14
2015-04-12T01:33:12.000Z
2020-08-17T06:02:43.000Z
defmodule MessagePack.Packer do @spec pack(term) :: { :ok, binary } | { :error, term } @spec pack(term, Keyword.t) :: { :ok, binary } | { :error, term } def pack(term, options \\ []) do options = parse_options(options) case do_pack(term, options) do { :error, _ } = error -> error pack...
38.231111
118
0.551732
4abad1d8c18bf3490225dabebe7fce019435713a
581
ex
Elixir
lib/tensorflow/core/framework/graph.pb.ex
pylon/extensor
57eba1660952d94416152531e159abd6b1faaee9
[ "Apache-2.0" ]
58
2018-06-12T00:01:51.000Z
2022-01-30T17:29:42.000Z
lib/tensorflow/core/framework/graph.pb.ex
pylon/extensor
57eba1660952d94416152531e159abd6b1faaee9
[ "Apache-2.0" ]
9
2018-06-13T19:33:39.000Z
2020-02-17T17:24:15.000Z
lib/tensorflow/core/framework/graph.pb.ex
pylon/extensor
57eba1660952d94416152531e159abd6b1faaee9
[ "Apache-2.0" ]
3
2018-06-13T19:45:36.000Z
2021-05-16T17:40:08.000Z
defmodule Tensorflow.GraphDef do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ node: [Tensorflow.NodeDef.t()], versions: Tensorflow.VersionDef.t() | nil, version: integer, library: Tensorflow.FunctionDefLibrary.t() | nil } defstruct [:nod...
32.277778
59
0.667814
4abafc7be4a0dd191acc3b67b157d1ecac2d1bcf
4,662
ex
Elixir
debian/manpage.sgml.ex
tarkhov/git-aliases
62b670f629ebf3c539040f3a6b7c2240ed9d7f6d
[ "MIT" ]
null
null
null
debian/manpage.sgml.ex
tarkhov/git-aliases
62b670f629ebf3c539040f3a6b7c2240ed9d7f6d
[ "MIT" ]
35
2019-06-04T12:19:09.000Z
2021-10-10T23:03:54.000Z
debian/manpage.sgml.ex
tarkhov/git-aliases
62b670f629ebf3c539040f3a6b7c2240ed9d7f6d
[ "MIT" ]
1
2020-01-08T02:22:19.000Z
2020-01-08T02:22:19.000Z
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Ma...
30.077419
75
0.658301
4abb0272f4711d0bb7179ba09e45eab5d7162784
7,947
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal.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...
65.139344
353
0.711086
4abb08567c5ca7ed47856542fb6460963e1543c4
1,519
ex
Elixir
lib/dataspecs.ex
visciang/dataspec
8ffcef550d23f90ba5bdbe089dcfa8aae6ee071d
[ "MIT" ]
2
2021-07-26T15:08:55.000Z
2021-07-28T10:09:17.000Z
lib/dataspecs.ex
visciang/dataspec
8ffcef550d23f90ba5bdbe089dcfa8aae6ee071d
[ "MIT" ]
1
2021-08-02T16:51:13.000Z
2021-08-03T19:44:12.000Z
lib/dataspecs.ex
visciang/dataspecs
8ffcef550d23f90ba5bdbe089dcfa8aae6ee071d
[ "MIT" ]
null
null
null
defmodule DataSpecs do @moduledoc File.read!("README.md") alias DataSpecs.{Loader, Types} defmacro __using__(_opts) do quote do @spec load(DataSpecs.Types.value(), DataSpecs.Types.custom_type_loaders()) :: DataSpecs.Types.load_result(__MODULE__.t()) def load(data, custom_type_load...
27.125
104
0.568137
4abb4fbf90fa468b0f7ec7e8b4ae8bac7f0dfe29
335
ex
Elixir
lib/downstream/error.ex
regularfellow/downstream
436de5d57eabc58e60e1bf43c3dab78170dbe8e3
[ "MIT" ]
21
2018-03-23T03:40:38.000Z
2022-01-31T01:51:30.000Z
lib/downstream/error.ex
regularfellow/downstream
436de5d57eabc58e60e1bf43c3dab78170dbe8e3
[ "MIT" ]
3
2021-05-06T18:52:57.000Z
2021-12-23T13:07:24.000Z
lib/downstream/error.ex
regularfellow/downstream
436de5d57eabc58e60e1bf43c3dab78170dbe8e3
[ "MIT" ]
6
2020-02-27T00:16:22.000Z
2021-12-22T19:39:37.000Z
defmodule Downstream.Error do @moduledoc """ A generic error that is thrown by the `Downstream` library. """ defexception device: nil, reason: nil, status_code: nil @type t :: %__MODULE__{device: IO.device(), reason: any, status_code: non_neg_integer()} def message(%__MODULE__{reason: reason}), do: inspe...
27.916667
90
0.716418
4abbd0ab599a489fcc35c3df897a45ae45a2e136
106
exs
Elixir
apps/cli/test/parser/sync_parser_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/cli/test/parser/sync_parser_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/cli/test/parser/sync_parser_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule CLI.Parser.SyncParserTest do use ExUnit.Case, async: true doctest CLI.Parser.SyncParser end
21.2
38
0.801887
4abbdef9b63ea27aa6fb7bb445ed1f7dbecf71f4
1,444
ex
Elixir
lib/ex_daas_web/controllers/api_contoller.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
8
2018-03-21T17:44:35.000Z
2020-01-12T03:24:18.000Z
lib/ex_daas_web/controllers/api_contoller.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
5
2018-03-22T02:03:10.000Z
2018-04-03T15:19:03.000Z
lib/ex_daas_web/controllers/api_contoller.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
1
2018-03-30T11:09:40.000Z
2018-03-30T11:09:40.000Z
defmodule ExDaasWeb.ApiController do alias ExDaas.Cache.Counter.Model, as: Counter alias ExDaas.Cmd.Model, as: Cmd use ExDaasWeb, :controller @ets_tables Counter.shard_count_tables(:ets) def show(conn, %{"id" => id} = _params) do json(conn, %{id: is_num_or_nil(id), data: is_num_or_nil(id) |> data()}) ...
21.235294
75
0.569252
4abbe719f77b77a19ef18a5855ae722f55d42c1e
2,006
ex
Elixir
data/route/route_fr8.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
12
2018-06-15T10:18:43.000Z
2022-01-24T12:50:54.000Z
data/route/route_fr8.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
15
2018-06-21T18:04:12.000Z
2021-10-16T12:54:39.000Z
data/route/route_fr8.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
2
2020-03-09T19:21:36.000Z
2022-01-16T03:29:51.000Z
defmodule Data.Route.RouteFR8 do @behaviour Route.Behaviour def id(), do: "FR8" def type(), do: :freizeit def color(), do: "#006106" def name(), do: "Elbuferradweg (FR8)" def article(), do: "freizeitroute-8" def osm_relation_ref(), do: "https://www.openstreetmap.org/relation/9070354" forward = %Video....
39.333333
96
0.644566
4abbf8da3950e8c48233a4a39df42caea022e184
4,004
ex
Elixir
lib/floki/selector/attribute_selector.ex
rzane/floki
16595deef0e6ec7f472ace31347b44c4e8bdc36c
[ "MIT" ]
1,778
2015-01-07T14:12:31.000Z
2022-03-29T22:42:48.000Z
lib/floki/selector/attribute_selector.ex
rzane/floki
16595deef0e6ec7f472ace31347b44c4e8bdc36c
[ "MIT" ]
279
2015-01-01T15:54:50.000Z
2022-03-28T18:06:03.000Z
deps/floki/lib/floki/selector/attribute_selector.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
166
2015-04-24T20:48:02.000Z
2022-03-28T17:29:05.000Z
defmodule Floki.Selector.AttributeSelector do @moduledoc false # It is very similar to the `Selector` module, but is specialized in attributes # and attribute selectors. alias Floki.Selector.AttributeSelector defstruct match_type: nil, attribute: nil, value: nil, flag: nil @type t :: %__MODULE__{ ...
30.333333
100
0.662338
4abc28f306de5b6c5f5e2f14b69c4dfcc159eef7
5,176
ex
Elixir
lib/friends_app/db/csv.ex
Gabriel-Ayala/FriendsApp
0795b87b7b9562f89ecb15794a05ecc8801c9614
[ "MIT" ]
1
2020-10-28T01:16:50.000Z
2020-10-28T01:16:50.000Z
lib/friends_app/db/csv.ex
Gabriel-Ayala/FriendsApp
0795b87b7b9562f89ecb15794a05ecc8801c9614
[ "MIT" ]
null
null
null
lib/friends_app/db/csv.ex
Gabriel-Ayala/FriendsApp
0795b87b7b9562f89ecb15794a05ecc8801c9614
[ "MIT" ]
null
null
null
defmodule FriendsApp.DB.CSV do alias Mix.Shell.IO, as: Shell alias FriendsApp.CLI.Menu alias FriendsApp.CLI.Friend alias NimbleCSV.RFC4180, as: CSVParser def perform(chosen_menu_item) do case chosen_menu_item do %Menu{ id: :create, label: _ } -> create() %Menu{ id: :read, label: _...
24.415094
88
0.608578
4abc37caf358824aeaa0064946a4a7b49f254917
545
exs
Elixir
test/ports_scanner/ports_test.exs
cardoso010/ports_scanner
b797c89951adfd8a116079caf5cb642ea6f1350d
[ "MIT" ]
1
2020-04-11T20:21:57.000Z
2020-04-11T20:21:57.000Z
test/ports_scanner/ports_test.exs
cardoso010/ports_scanner
b797c89951adfd8a116079caf5cb642ea6f1350d
[ "MIT" ]
null
null
null
test/ports_scanner/ports_test.exs
cardoso010/ports_scanner
b797c89951adfd8a116079caf5cb642ea6f1350d
[ "MIT" ]
null
null
null
defmodule PortsScanner.PortsTest do use ExUnit.Case alias PortsScanner.Ports setup do Ports.start_link([]) :ok end describe "values/0" do test "get default value" do assert [] == Ports.values() end test "get a value added" do Ports.add(80) assert [80] == Ports.values(...
16.515152
38
0.594495
4abc4300b6482be2de0abfacb076c50e8829ae54
2,230
ex
Elixir
apps/quiz_server/lib/boundary/template_manager.ex
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
1
2022-02-06T11:29:56.000Z
2022-02-06T11:29:56.000Z
apps/quiz_server/lib/boundary/template_manager.ex
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
null
null
null
apps/quiz_server/lib/boundary/template_manager.ex
chargio/revision
28831e6608409de6ef46ac4619c56ad3b0fa90bd
[ "Apache-2.0" ]
null
null
null
defmodule QuizServer.Boundary.TemplateManager do @moduledoc """ Templates Boundary, gives an easy access to the server holding the templates """ alias QuizServer.Core.Template use GenServer def start_link(options \\ []) do GenServer.start_link(__MODULE__, %{}, options) end def init(templates) when...
30.972222
85
0.709865
4abc4489338def1fcbeaf8da9dbaf025ce0712c9
3,450
exs
Elixir
test/sftp_client/operations/read_dir_test.exs
ClusterTruck/sftp_client
87a38c073ccc65f07d5879e76d989b2a5c6ea328
[ "MIT" ]
21
2019-08-06T01:39:15.000Z
2021-04-15T20:08:04.000Z
test/sftp_client/operations/read_dir_test.exs
ClusterTruck/sftp_client
87a38c073ccc65f07d5879e76d989b2a5c6ea328
[ "MIT" ]
19
2019-07-10T17:10:34.000Z
2021-04-18T11:16:58.000Z
test/sftp_client/operations/read_dir_test.exs
ClusterTruck/sftp_client
87a38c073ccc65f07d5879e76d989b2a5c6ea328
[ "MIT" ]
11
2019-07-04T14:56:37.000Z
2021-04-26T19:09:22.000Z
defmodule SFTPClient.Operations.ReadDirTest do use ExUnit.Case, async: true import Mox import SFTPClient.ConnHelper alias SFTPClient.Adapter.SFTP.Mock, as: SFTPMock alias SFTPClient.Entry alias SFTPClient.Handle alias SFTPClient.OperationError alias SFTPClient.Operations.ReadDir alias SFTPClient.SSH...
28.512397
80
0.571014
4abc651283629a94b5629f55be673d093ab5c870
28,682
exs
Elixir
apps/graphql/test/web/resolvers/legal_entity_resolver_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/graphql/test/web/resolvers/legal_entity_resolver_test.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/graphql/test/web/resolvers/legal_entity_resolver_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule GraphQL.LegalEntityResolverTest do @moduledoc false use GraphQL.ConnCase, async: false import Core.Factories import Mox alias Absinthe.Relay.Node alias Core.Employees.Employee alias Core.LegalEntities.LegalEntity alias Core.PRMRepo alias Ecto.UUID @owner Employee.type(:owner) @doctor...
28.39802
118
0.543337
4abc6534889b575913934abc27715987b18df9ad
10,744
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/google_api_service.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/google_api_service.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/google_api_service.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
82.015267
712
0.722357
4abc7b5aa972a40a26a4b7a4572bc51a6eb559ab
789
exs
Elixir
test/acceptance/html/comment_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/html/comment_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/html/comment_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Acceptance.Html.CommentTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_html: 1] describe "HTML Comments" do test "one line" do markdown = "<!-- Hello -->" html = "<!-- Hello -->" messages = [] assert as_html(markdown) == {:ok, html, messages} ...
23.909091
55
0.560203
4abc9a4c92858685484e166e3b186841d1080ca9
3,400
ex
Elixir
lib/places_alloverse_com_web/controllers/place_controller.ex
alloverse/alloverse_dashboard
9d3e2213eebade1d8b04f3fdd2bb9f26165956bd
[ "BSD-2-Clause" ]
null
null
null
lib/places_alloverse_com_web/controllers/place_controller.ex
alloverse/alloverse_dashboard
9d3e2213eebade1d8b04f3fdd2bb9f26165956bd
[ "BSD-2-Clause" ]
1
2021-03-10T11:40:47.000Z
2021-03-10T11:40:47.000Z
lib/places_alloverse_com_web/controllers/place_controller.ex
alloverse/alloverse_dashboard
9d3e2213eebade1d8b04f3fdd2bb9f26165956bd
[ "BSD-2-Clause" ]
null
null
null
defmodule PlacesAlloverseComWeb.PlaceController do use PlacesAlloverseComWeb, :controller alias PlacesAlloverseCom.Places alias PlacesAlloverseCom.Places.Place def index(conn, _params) do recommended_places = Places.list_recommended_places() public_places = Places.list_public_places() my_place...
29.565217
122
0.638824
4abca62176b894a3b23eda1db0e249e5633585d8
6,041
ex
Elixir
apps/discovery_api/test/utils/test_helper.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/discovery_api/test/utils/test_helper.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/discovery_api/test/utils/test_helper.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DiscoveryApi.Test.Helper do @moduledoc """ Utility functions for tests """ alias DiscoveryApi.Data.Model alias DiscoveryApi.Schemas.Users alias SmartCity.TestDataGenerator, as: TDG import SmartCity.Event, only: [dataset_update: 0] import SmartCity.TestHelper, only: [eventually: 1] import Ex...
30.205
137
0.637643
4abcbe3823f9d03a48ca0599c8b10f4d2d215914
32,479
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/api/user_profiles.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/api/user_profiles.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/api/user_profiles.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...
61.396975
1,807
0.692263
4abccbb65ba77ecf226eae3c39d46bbb7cbc58e1
1,744
ex
Elixir
clients/content/lib/google_api/content/v21/model/repricing_rule_effective_time.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v21/model/repricing_rule_effective_time.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v21/model/repricing_rule_effective_time.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.196078
228
0.755161
4abcf347d03fceff7e4aa83ec8a67d131a08f223
5,842
ex
Elixir
apps/gitgud_web/lib/gitgud_web/controllers/maintainer_controller.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud_web/lib/gitgud_web/controllers/maintainer_controller.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud_web/lib/gitgud_web/controllers/maintainer_controller.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.Web.MaintainerController do @moduledoc """ Module responsible for CRUD actions on `GitGud.Maintainer`. """ use GitGud.Web, :controller alias GitGud.Repo alias GitGud.Maintainer alias GitGud.UserQuery alias GitGud.RepoQuery alias GitGud.IssueQuery plug :ensure_authenticated plu...
45.286822
129
0.637624
4abcfa02b79a67a983ed8a4dc89380845998d7fb
2,461
ex
Elixir
apps/reaper/test/support/test_utils.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/reaper/test/support/test_utils.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/reaper/test/support/test_utils.ex
jakeprem/smartcitiesdata
da309ac0d2261527278951cbae88604455207589
[ "Apache-2.0" ]
null
null
null
defmodule TestUtils do @moduledoc false require Elsa.Message require Logger alias SmartCity.TestDataGenerator, as: TDG def feed_supervisor_count() do Reaper.Horde.Supervisor |> Horde.DynamicSupervisor.which_children() |> Enum.filter(&is_feed_supervisor?/1) |> Enum.count() end def get_ch...
25.112245
70
0.636327
4abd093d473e26d87a15e21761e881a57f5ea848
8,712
exs
Elixir
test/controllers/v1/rule_controller_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/controllers/v1/rule_controller_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/controllers/v1/rule_controller_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.V1.RuleController.Test do use Cog.ModelCase use Cog.ConnCase @bad_uuid "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" setup do required_permission = permission("#{Cog.Util.Misc.embedded_bundle}:manage_commands") # This user will be used to test the normal operation of the controller authed_...
37.07234
133
0.62523
4abd1240461aea56e8d06761e7030457c312173b
65
exs
Elixir
test/flame_on_test.exs
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
55
2022-02-23T20:36:43.000Z
2022-03-31T13:55:28.000Z
test/flame_on_test.exs
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
7
2022-02-24T00:23:10.000Z
2022-03-28T18:23:30.000Z
test/flame_on_test.exs
DockYard/flame_on
47580c687c131c23b3a6c435e243dba3d18dc93d
[ "MIT" ]
1
2022-02-26T03:27:00.000Z
2022-02-26T03:27:00.000Z
defmodule FlameOnTest do use ExUnit.Case doctest FlameOn end
13
24
0.8
4abd152261044785a8c3c47688a623cc80048445
3,939
ex
Elixir
lib/telemetry_metrics_statsd/options.ex
cristopher-rodrigues/telemetry_metrics_statsd
c533b3a10fa298abb5a4db89b1a30a4de88f838e
[ "MIT" ]
51
2019-09-18T15:54:15.000Z
2022-01-19T08:41:37.000Z
lib/telemetry_metrics_statsd/options.ex
cristopher-rodrigues/telemetry_metrics_statsd
c533b3a10fa298abb5a4db89b1a30a4de88f838e
[ "MIT" ]
33
2019-09-30T20:58:28.000Z
2022-02-08T15:20:24.000Z
lib/telemetry_metrics_statsd/options.ex
cristopher-rodrigues/telemetry_metrics_statsd
c533b3a10fa298abb5a4db89b1a30a4de88f838e
[ "MIT" ]
20
2019-12-08T16:07:49.000Z
2022-02-28T11:57:11.000Z
defmodule TelemetryMetricsStatsd.Options do @moduledoc false @schema [ metrics: [ type: {:list, :any}, required: true, doc: "A lits of `Telemetry.Metrics` metric definitions that will be published by the reporter." ], host: [ type: {:custom, __MODULE__, :host, []}, ...
33.381356
121
0.622239
4abd21b192a0152bcb75c5afe821dfd1dfaa22dc
1,212
exs
Elixir
test/lib/code_corps/policy/user_role_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps/policy/user_role_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps/policy/user_role_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Policy.UserRoleTest do use CodeCorps.PolicyCase import CodeCorps.Policy.UserRole, only: [create?: 2, delete?: 2] describe "create?" do test "returns true when user is an admin" do user = build(:user, admin: true) assert create?(user, %{"user_id" => user.id}) end tes...
24.734694
69
0.641089
4abd40798a6849f506f6380b42586114920d90b8
109
ex
Elixir
behaviours/lib/cat.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
behaviours/lib/cat.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
behaviours/lib/cat.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
defmodule Cat do @behaviour Speaker def speak(something) do IO.puts "Meooww, #{something}" end end
15.571429
34
0.697248
4abd533ea6c35891d8df8b0c4d366b2c0082ce6a
829
ex
Elixir
apps/artemis_web/lib/artemis_web/controllers/user_impersonation_controller.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis_web/lib/artemis_web/controllers/user_impersonation_controller.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/lib/artemis_web/controllers/user_impersonation_controller.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule ArtemisWeb.UserImpersonationController do use ArtemisWeb, :controller import ArtemisWeb.Guardian.Plug alias Artemis.Event alias Artemis.GetUser alias ArtemisWeb.CreateSession def create(conn, %{"user_id" => id}) do authorize(conn, "user-impersonations:create", fn -> user = GetUser.cal...
28.586207
97
0.626055
4abd7d45ded7289178600c20cf93d07fa1831873
1,045
ex
Elixir
apps/ello_serve/lib/ello_serve.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_serve/lib/ello_serve.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_serve/lib/ello_serve.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Serve do use Application # See http://elixir-lang.org/docs/stable/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 endpoint when...
33.709677
88
0.717703
4abd83902db4cf7ccda025cebee97812e2f37881
1,899
ex
Elixir
aoc-2020/day5/lib/day5.ex
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
aoc-2020/day5/lib/day5.ex
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
aoc-2020/day5/lib/day5.ex
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
defmodule Day5 do def run_part1() do AOCHelper.read_input() |> SeatSearcher.search_max() end def run_part2() do AOCHelper.read_input() |> SeatSearcher.search_missing_seat() end # "FBFBBFFRLR" --> row 44, column 5 --> 44 * 8 + 5 = 357 def debug_sample() do [ "FBFBBFFRLR" ] ...
26.013699
104
0.607688
4abd89fb410aa827d2a7db03e77bfb2e55447833
3,679
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/test_execution_step.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/test_execution_step.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/test_execution_step.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...
60.311475
525
0.761076
4abd8fd4008a547d806840b537000f0272e35450
2,115
exs
Elixir
implements/run-length-encoding/rle_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
implements/run-length-encoding/rle_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
1
2018-06-19T18:59:41.000Z
2018-06-19T18:59:41.000Z
implements/run-length-encoding/rle_test.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
#if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("rle.exs", __DIR__) #end ExUnit.start() #ExUnit.configure(exclude: :pending, trace: true) defmodule RunLengthEncoderTest do use ExUnit.Case test "encode empty string" do assert RunLengthEncoder.encode("") === "" end @tag :pending test...
26.772152
95
0.708274
4abdb116a78e686394769bd7564bebc33824944b
3,652
ex
Elixir
lib/mix/tasks/aoc.gen.ex
cro/aoc2021
fbaa92be16b7849b95e1dd39b7d67954e21dc831
[ "MIT" ]
5
2021-11-03T23:42:16.000Z
2021-12-02T00:04:45.000Z
lib/mix/tasks/aoc.gen.ex
cro/aoc2021
fbaa92be16b7849b95e1dd39b7d67954e21dc831
[ "MIT" ]
null
null
null
lib/mix/tasks/aoc.gen.ex
cro/aoc2021
fbaa92be16b7849b95e1dd39b7d67954e21dc831
[ "MIT" ]
1
2021-11-18T22:33:32.000Z
2021-11-18T22:33:32.000Z
defmodule Mix.Tasks.Aoc.Gen do use Mix.Task @shortdoc "Generate files for Advent of Code" @moduledoc """ Generate files for Advent of Code ## Examples $ mix aoc.gen day01 This command generate these files: Generated advent_of_code app * creating lib/advent_of_code/day01.ex * cr...
29.451613
109
0.665663
4abde843132dd33ae8d88f253882ce45868ecf85
2,414
ex
Elixir
lib/nerves_livebook/application.ex
axelson/inky_impression_livebook
e29056b55529119406f4dbfd8d83fc7084f9f5f2
[ "Apache-2.0" ]
null
null
null
lib/nerves_livebook/application.ex
axelson/inky_impression_livebook
e29056b55529119406f4dbfd8d83fc7084f9f5f2
[ "Apache-2.0" ]
17
2021-11-12T05:32:06.000Z
2022-03-14T20:26:18.000Z
lib/nerves_livebook/application.ex
axelson/inky_impression_livebook
e29056b55529119406f4dbfd8d83fc7084f9f5f2
[ "Apache-2.0" ]
null
null
null
defmodule NervesLivebook.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do Nerves.Runtime.validate_firmware() initialize_data_directory() if target() != :host do # setup_wi...
26.23913
87
0.670671
4abdebe8dd1ea34612b51b5bdd6660740c958e8f
1,959
ex
Elixir
lib/setup.ex
tpetersen0308/tic_tac_toe
db7dbf77eadc6a9a98f10f3a4c0f27deae5d559f
[ "MIT" ]
null
null
null
lib/setup.ex
tpetersen0308/tic_tac_toe
db7dbf77eadc6a9a98f10f3a4c0f27deae5d559f
[ "MIT" ]
null
null
null
lib/setup.ex
tpetersen0308/tic_tac_toe
db7dbf77eadc6a9a98f10f3a4c0f27deae5d559f
[ "MIT" ]
null
null
null
defmodule TicTacToe.Setup do @player1_token Application.get_env(:tic_tac_toe, :player1_token) @player2_token Application.get_env(:tic_tac_toe, :player2_token) @human_v_human_mode Application.get_env(:tic_tac_toe, :human_v_human_mode) @human_v_computer_mode Application.get_env(:tic_tac_toe, :human_v_computer_mod...
43.533333
152
0.759061
4abdf306f2942855092f07591c5b036e141b4bf0
13,432
ex
Elixir
lib/mix/lib/mix/tasks/new.ex
cdfuller/elixir
3bd3f88d57d7fff6cab7b171294b89fb08eedfe7
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/new.ex
cdfuller/elixir
3bd3f88d57d7fff6cab7b171294b89fb08eedfe7
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/new.ex
cdfuller/elixir
3bd3f88d57d7fff6cab7b171294b89fb08eedfe7
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.New do use Mix.Task import Mix.Generator @shortdoc "Creates a new Elixir project" @moduledoc """ Creates a new Elixir project. It expects the path of the project as argument. mix new PATH [--sup] [--module MODULE] [--app APP] [--umbrella] A project at the given PATH will be ...
26.650794
96
0.621799
4abe1d01540532b87cf0cd19378b2cabf6ec97c9
1,211
exs
Elixir
day02_2.exs
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
1
2022-01-10T02:34:18.000Z
2022-01-10T02:34:18.000Z
day02_2.exs
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
null
null
null
day02_2.exs
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
1
2019-12-02T09:42:17.000Z
2019-12-02T09:42:17.000Z
defmodule Day02_2 do def main() do inp = ["abcde", "fghij", "klmno", "pqrst", "fguij", "axcye", "wvxyz", ] inp = File.read!("/Users/viethung.nguyen/Downloads/day02_1.txt") |> String.trim() |> String.split("\n") all_pairs = make_pairs(inp, inp) out = Enum.drop_while(all_pairs, fn x -> diff(x...
21.625
107
0.558216
4abe32b88b6febff9645166aa206466aef936830
416
ex
Elixir
lib/madness/application.ex
LeviSchuck/madness
2914f012bd4f40cef2ad39a6d0344a97baf35c79
[ "MIT" ]
null
null
null
lib/madness/application.ex
LeviSchuck/madness
2914f012bd4f40cef2ad39a6d0344a97baf35c79
[ "MIT" ]
null
null
null
lib/madness/application.ex
LeviSchuck/madness
2914f012bd4f40cef2ad39a6d0344a97baf35c79
[ "MIT" ]
null
null
null
defmodule Madness.Application do @moduledoc """ Madness is the namespace for a basic text story engine. Stories consist of areas which each may describe the scene and provide multiple-choice like options to the player. """ require Logger use Application @spec start(any, any) :: pid def start(_type, _...
26
60
0.735577
4abe3488c2d200035d8dbd092a0aa21f39afd9e4
618
exs
Elixir
server/test/views/error_view_test.exs
ravivooda/contactCard
5e2e219fc4c146487a5876ce7481b0245bba452d
[ "MIT" ]
null
null
null
server/test/views/error_view_test.exs
ravivooda/contactCard
5e2e219fc4c146487a5876ce7481b0245bba452d
[ "MIT" ]
null
null
null
server/test/views/error_view_test.exs
ravivooda/contactCard
5e2e219fc4c146487a5876ce7481b0245bba452d
[ "MIT" ]
null
null
null
defmodule ContactCardServer.ErrorViewTest do use ContactCardServer.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(ContactCardServer.ErrorView, "404.html", []) == "Page not found" end...
28.090909
75
0.702265
4abe59361556e8664114912e213803874f69ac8e
1,520
ex
Elixir
lib/gm8_web/endpoint.ex
GmateApp/server
48e73e6331c2f880754c22ab08b8476cb4a1a528
[ "Apache-2.0" ]
null
null
null
lib/gm8_web/endpoint.ex
GmateApp/server
48e73e6331c2f880754c22ab08b8476cb4a1a528
[ "Apache-2.0" ]
null
null
null
lib/gm8_web/endpoint.ex
GmateApp/server
48e73e6331c2f880754c22ab08b8476cb4a1a528
[ "Apache-2.0" ]
null
null
null
defmodule Gm8Web.Endpoint do use Phoenix.Endpoint, otp_app: :gm8 socket "/socket", Gm8Web.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, at:...
27.636364
95
0.697368
4abe8a16649ed884470317fb66fd5d875e8d12a9
5,365
ex
Elixir
lib/nostrum/voice/session.ex
chakrit/nostrum
f0ce383d06bb3bb1786ff0464c95cbd757d38f1f
[ "MIT" ]
null
null
null
lib/nostrum/voice/session.ex
chakrit/nostrum
f0ce383d06bb3bb1786ff0464c95cbd757d38f1f
[ "MIT" ]
null
null
null
lib/nostrum/voice/session.ex
chakrit/nostrum
f0ce383d06bb3bb1786ff0464c95cbd757d38f1f
[ "MIT" ]
null
null
null
defmodule Nostrum.Voice.Session do @moduledoc false alias Nostrum.Cache.{ChannelCache, GuildCache} alias Nostrum.Constants alias Nostrum.Shard.Stage.Producer alias Nostrum.Struct.{VoiceState, VoiceWSState} alias Nostrum.Voice alias Nostrum.Voice.{Event, Payload} require Logger use GenServer @gat...
27.654639
98
0.666729
4abeb2737a31cdf12ba029d092be0e30c8813918
1,783
exs
Elixir
market_api/mix.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/mix.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/mix.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule MarketApi.Mixfile do use Mix.Project def project do [app: :market_api, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, a...
30.741379
89
0.596186
4abec2bdfaddb77deccacd8784811b5f1c433ae6
1,066
ex
Elixir
lib/straw_hat/error/error_metadata.ex
straw-hat-llc/straw_hat
fc870b5d9306d0e95f12670fa468c7cd5df51345
[ "MIT" ]
2
2017-09-26T13:26:51.000Z
2018-11-04T16:36:41.000Z
lib/straw_hat/error/error_metadata.ex
straw-hat-llc/straw_hat
fc870b5d9306d0e95f12670fa468c7cd5df51345
[ "MIT" ]
38
2017-09-26T13:05:51.000Z
2019-11-01T10:49:41.000Z
lib/straw_hat/error/error_metadata.ex
straw-hat-llc/straw_hat
fc870b5d9306d0e95f12670fa468c7cd5df51345
[ "MIT" ]
1
2018-03-15T22:04:06.000Z
2018-03-15T22:04:06.000Z
defmodule StrawHat.Error.ErrorMetadata do @moduledoc """ Metadata used on `t:StrawHat.Error.t/0`. It is a representation of key value pair into `t:StrawHat.Error.ErrorMetadata.t/0`. Most likely used through `StrawHat.Error`. """ @typedoc """ - `key`: Key of the metadata. - `value`: Value of the metadat...
28.810811
89
0.643527
4abec535e3ef1f6e25bd26476a3c0f07af40da52
185
ex
Elixir
broadway_test/ack_callback.ex
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
2
2019-05-25T13:25:33.000Z
2019-05-29T15:36:17.000Z
broadway_test/ack_callback.ex
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
null
null
null
broadway_test/ack_callback.ex
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
null
null
null
def ack(ack_ref, successful, failed) do IO.inspect(ack_ref, label: "ack - ack_ref") IO.inspect(successful, label: "ack - successful") IO.inspect(failed, label: "ack - failed") end
37
51
0.708108
4abf3799b48bcfedfc77466a543c8c938662e0aa
2,427
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/named_style_suggestion_state.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/named_style_suggestion_state.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/docs/lib/google_api/docs/v1/model/named_style_suggestion_state.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...
44.944444
245
0.760198
4abf41155896b63be4e068756502fbf1e9eba13f
1,321
ex
Elixir
clients/custom_search/lib/google_api/custom_search/v1/model/search_url.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/custom_search/lib/google_api/custom_search/v1/model/search_url.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/custom_search/lib/google_api/custom_search/v1/model/search_url.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...
27.520833
77
0.738077
4abf527d1bdcacf24dc401acba560add4137daf7
6,167
ex
Elixir
lib/evm/vm.ex
oraclesorg/evm
04076d31356b3ec64c935cf9896e8115c0209c88
[ "MIT" ]
1
2018-04-23T01:57:52.000Z
2018-04-23T01:57:52.000Z
lib/evm/vm.ex
poanetwork/evm
04076d31356b3ec64c935cf9896e8115c0209c88
[ "MIT" ]
null
null
null
lib/evm/vm.ex
poanetwork/evm
04076d31356b3ec64c935cf9896e8115c0209c88
[ "MIT" ]
1
2018-04-25T22:58:39.000Z
2018-04-25T22:58:39.000Z
defmodule EVM.VM do @moduledoc """ The core of the EVM which runs operations based on the opcodes of a contract during a transfer or message call. """ alias EVM.SubState alias EVM.MachineCode alias EVM.MachineState alias EVM.ExecEnv alias EVM.Functions alias EVM.Gas alias EVM.Operation @type o...
44.366906
251
0.662721
4abf63f7e26d4da89d7e713fd8b7c294681106d8
1,799
exs
Elixir
mix.exs
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
5
2016-08-30T01:23:50.000Z
2021-09-22T14:39:00.000Z
mix.exs
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
null
null
null
mix.exs
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
1
2021-12-10T11:10:55.000Z
2021-12-10T11:10:55.000Z
defmodule XAdmin.Mixfile do use Mix.Project @version "0.0.1-dev" def project do [ app: :xadmin, version: @version, elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent:...
26.850746
103
0.538633
4abf7008333fd8fb167b7fe0dcb2dee965bb1156
593
ex
Elixir
local/mix/start.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
local/mix/start.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
local/mix/start.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. defmodule Mix.Tasks.AntikytheraLocal.Start do @shortdoc "Builds an OTP release for an antikythera instance and runs it with the specified gears" use Mix.Task alias Antikythera.Env def run(gear_repo_dirs) do if !Enum.empty?(AntikytheraLocal.Ru...
34.882353
100
0.772344
4abf75979a3fb47f6166d472f022890999437ea8
275
ex
Elixir
lib/quantum/clock_broadcaster/init_opts.ex
happysalada/quantum-core
a4758de2edac7758f879a7e3f3fde5c3aca7bf71
[ "Apache-2.0" ]
null
null
null
lib/quantum/clock_broadcaster/init_opts.ex
happysalada/quantum-core
a4758de2edac7758f879a7e3f3fde5c3aca7bf71
[ "Apache-2.0" ]
null
null
null
lib/quantum/clock_broadcaster/init_opts.ex
happysalada/quantum-core
a4758de2edac7758f879a7e3f3fde5c3aca7bf71
[ "Apache-2.0" ]
1
2022-03-06T10:24:39.000Z
2022-03-06T10:24:39.000Z
defmodule Quantum.ClockBroadcaster.InitOpts do @moduledoc false # Init Options @type t :: %__MODULE__{ start_time: NaiveDateTime.t(), debug_logging: boolean() } @enforce_keys [:start_time, :debug_logging] defstruct @enforce_keys end
18.333333
46
0.672727
4abf889b5e97694dcd2367f358f759792d5930ed
20,112
ex
Elixir
lib/sage/executor.ex
ajengs/sage
4c371fc74e92be51d2fa75bb170072b96b562f3d
[ "MIT" ]
null
null
null
lib/sage/executor.ex
ajengs/sage
4c371fc74e92be51d2fa75bb170072b96b562f3d
[ "MIT" ]
null
null
null
lib/sage/executor.ex
ajengs/sage
4c371fc74e92be51d2fa75bb170072b96b562f3d
[ "MIT" ]
null
null
null
defmodule Sage.Executor do @moduledoc """ This module is responsible for Sage execution. """ require Logger alias Sage.Executor.Retries # List of Sage.Executor functions we do not want to purge from stacktrace @stacktrace_functions_whitelist [:execute] # # Inline functions for performance optimization...
37.522388
120
0.690782
4abfb1eba2fe674f04262113a062e4c2e0635954
857
ex
Elixir
genstage_example/lib/genstage_example/application.ex
enelesmai/elixir-school
4e2cd4eb3b7c41da6b8572e4c108fd76875fdba0
[ "MIT" ]
null
null
null
genstage_example/lib/genstage_example/application.ex
enelesmai/elixir-school
4e2cd4eb3b7c41da6b8572e4c108fd76875fdba0
[ "MIT" ]
null
null
null
genstage_example/lib/genstage_example/application.ex
enelesmai/elixir-school
4e2cd4eb3b7c41da6b8572e4c108fd76875fdba0
[ "MIT" ]
null
null
null
defmodule GenstageExample.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec, warn: false # List all child processes to be supervised children = [ # S...
32.961538
74
0.705951
4abfd6cc054c89459f2c3f9b652ed6fb36c33317
777
ex
Elixir
test/support/capturing_interface_renamer.ex
axelson/vintage_net
68866ff223fa40e7ad6fd4d9fb2f7960cf51b1ca
[ "Apache-2.0" ]
85
2019-05-09T14:54:38.000Z
2022-02-08T16:52:04.000Z
test/support/capturing_interface_renamer.ex
axelson/vintage_net
68866ff223fa40e7ad6fd4d9fb2f7960cf51b1ca
[ "Apache-2.0" ]
132
2019-05-09T15:57:59.000Z
2022-02-28T16:31:22.000Z
test/support/capturing_interface_renamer.ex
axelson/vintage_net
68866ff223fa40e7ad6fd4d9fb2f7960cf51b1ca
[ "Apache-2.0" ]
14
2019-07-08T19:18:23.000Z
2022-02-08T16:52:05.000Z
defmodule VintageNetTest.CapturingInterfaceRenamer do @moduledoc false @behaviour VintageNet.InterfaceRenamer @impl VintageNet.InterfaceRenamer def rename_interface(from, to) do maybe_start() Agent.update(__MODULE__, fn messages -> [{:rename, from, to} | messages] end) end @doc """ Return captur...
19.923077
81
0.620335
4abfdba901a52c8ae64ca11dbaae5541e23c60dd
268
exs
Elixir
config/dev.exs
nodgroup/news_ingester
c476392ec63f7111c1a73d0eca0cae33af18bebb
[ "MIT" ]
null
null
null
config/dev.exs
nodgroup/news_ingester
c476392ec63f7111c1a73d0eca0cae33af18bebb
[ "MIT" ]
null
null
null
config/dev.exs
nodgroup/news_ingester
c476392ec63f7111c1a73d0eca0cae33af18bebb
[ "MIT" ]
null
null
null
use Mix.Config # tell logger to load a LoggerFileBackend processes config :logger, backends: [{LoggerFileBackend, :debug_log}, :console] # configuration for the {LoggerFileBackend, :debug_log} backend config :logger, :debug_log, path: "dev.log", level: :debug
24.363636
63
0.75
4abfe1c753d1b2b6c6de90e818b0c8657c34b9cf
1,076
exs
Elixir
clients/secret_manager/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/secret_manager/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/secret_manager/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.888889
83
0.741636
4ac00afd3f0c2d099faad0904cfe5d1b3e2cbb33
3,367
ex
Elixir
lib/ash/page/keyset.ex
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
lib/ash/page/keyset.ex
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
lib/ash/page/keyset.ex
axelson/ash
5992fc00f7bdc0ba0ebdb476a5191245145ef7c8
[ "MIT" ]
null
null
null
defmodule Ash.Page.Keyset do @moduledoc """ A page of results from `keyset` based pagination. The results are generated with a `keyset` metadata, which can be used to fetch the next/previous pages. """ defstruct [:results, :count, :before, :after, :limit, :rerun, :more?] @type t :: %__MODULE__{} def ...
27.373984
88
0.624295
4ac00bb3df6b4de7c624bdd85df3156ced01f36e
9,412
ex
Elixir
lib/manic.ex
libitx/manic
c77363b09908d135996fbe43339ac6b3c5cc0499
[ "MIT" ]
12
2020-04-22T16:14:44.000Z
2022-01-17T15:44:09.000Z
lib/manic.ex
libitx/manic
c77363b09908d135996fbe43339ac6b3c5cc0499
[ "MIT" ]
1
2020-07-10T23:18:59.000Z
2020-07-16T16:06:32.000Z
lib/manic.ex
libitx/manic
c77363b09908d135996fbe43339ac6b3c5cc0499
[ "MIT" ]
2
2021-01-10T22:38:19.000Z
2021-02-13T22:14:03.000Z
defmodule Manic do @moduledoc """ ![Manic is an Elixir client for interfacing with Bitcoin miner APIs.](https://github.com/libitx/manic/raw/master/media/poster.png) ![Hex.pm](https://img.shields.io/hexpm/v/manic?color=informational) ![GitHub](https://img.shields.io/github/license/libitx/manic?color=information...
34.350365
132
0.64949
4ac012e454eac60e9147b0271d04b381d69544d2
829
ex
Elixir
lib/web/controllers/api/message_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/web/controllers/api/message_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/web/controllers/api/message_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.Api.MessageController do use Web, :controller alias ChallengeGov.MessageContexts alias ChallengeGov.Messages action_fallback(Web.FallbackController) def create( conn, %{"message_context_id" => message_context_id, "message" => message_params} ) do %{current_user: user...
24.382353
82
0.641737
4ac024c4c3fd78e794f01b012e494a83c5f38c33
1,873
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/monitoring_destination.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/monitoring_destination.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/monitoring_destination.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.339623
125
0.739989
4ac054b9dbc7cba52d8e428400e794139e9c9b5d
4,675
exs
Elixir
lib/elixir/test/elixir/kernel/import_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/test/elixir/kernel/import_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/import_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.ImportTest do use ExUnit.Case, async: true # This should not warn due to the empty only import URI, only: [] defmodule ImportAvailable do defmacro flatten do [flatten: 1] end end test "multi-call" do import Elixir.{List, ...
24.222798
68
0.614759
4ac06354dd7ac1ca14ba5116be91704470bd56b8
15,120
exs
Elixir
test/fun_with_flags/store_test.exs
pdgonzalez872/fun_with_flags
a18ea35fad458f5ef9bf95494319c250e7f77e79
[ "MIT" ]
null
null
null
test/fun_with_flags/store_test.exs
pdgonzalez872/fun_with_flags
a18ea35fad458f5ef9bf95494319c250e7f77e79
[ "MIT" ]
1
2019-01-21T00:38:49.000Z
2019-01-31T03:49:17.000Z
test/fun_with_flags/store_test.exs
sendle/fun_with_flags
c9c3fb7ab0f8f43c04a571c8ff486f5b049e97a1
[ "MIT" ]
null
null
null
defmodule FunWithFlags.StoreTest do use FunWithFlags.TestCase, async: false import FunWithFlags.TestUtils import Mock alias FunWithFlags.{Store, Config, Flag, Gate} alias FunWithFlags.Store.Cache @persistence Config.persistence_adapter() setup_all do on_exit(__MODULE__, fn() -> clear_test_db() end)...
33.977528
142
0.609722
4ac086219a85b672b203ee28d88708bf77020f4d
968
ex
Elixir
web/models/checkout.ex
sumanbh/phoenix-angular
0954ce60edc95832f6bf62e54e54977c770d33c3
[ "MIT" ]
5
2017-07-01T16:08:27.000Z
2021-04-14T12:50:31.000Z
web/models/checkout.ex
sumanbh/phoenix-angular
0954ce60edc95832f6bf62e54e54977c770d33c3
[ "MIT" ]
null
null
null
web/models/checkout.ex
sumanbh/phoenix-angular
0954ce60edc95832f6bf62e54e54977c770d33c3
[ "MIT" ]
4
2017-05-08T00:57:52.000Z
2019-05-26T23:29:38.000Z
defmodule Amazon.Checkout do use Amazon.Web, :model alias __MODULE__ def get_user(user) do query = """ SELECT address, city, fullname, state, zip FROM customers WHERE id = $1; """ %{query: query, params: [user]} end def get_cart(user) do que...
28.470588
175
0.536157
4ac0948674335784ffd6478503c0e1ef10230d1a
2,223
exs
Elixir
apps/local_ledger_db/priv/repo/migrations/20180522054422_rename_minted_token_to_token.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/local_ledger_db/priv/repo/migrations/20180522054422_rename_minted_token_to_token.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/local_ledger_db/priv/repo/migrations/20180522054422_rename_minted_token_to_token.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
30.875
91
0.638776
4ac096b12e27bed3b45143c378a9d5c0b9e0b2b6
270
ex
Elixir
lib/core/debug/supervisor.ex
fishcakez/core
f4edccafdc339d227614ecdfd98d4939c9a5e6b7
[ "Apache-2.0" ]
36
2015-01-06T14:37:27.000Z
2021-04-23T20:08:40.000Z
lib/core/debug/supervisor.ex
fishcakez/core
f4edccafdc339d227614ecdfd98d4939c9a5e6b7
[ "Apache-2.0" ]
null
null
null
lib/core/debug/supervisor.ex
fishcakez/core
f4edccafdc339d227614ecdfd98d4939c9a5e6b7
[ "Apache-2.0" ]
6
2015-06-29T20:54:28.000Z
2020-10-05T07:04:05.000Z
defmodule Core.Debug.Supervisor do @moduledoc false use Supervisor ## api def start_link, do: :supervisor.start_link(__MODULE__, nil) ## :supervisor api def init(nil) do Core.Debug.ensure_table() supervise([], strategy: :one_for_one) end end
15
61
0.696296
4ac0aa7abc4c6641d68e810bf04538badf222fb7
617
exs
Elixir
priv/repo/migrations/20190726123417_add_sansheets_plans.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20190726123417_add_sansheets_plans.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20190726123417_add_sansheets_plans.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.AddSansheetsPlans do use Ecto.Migration def up do execute(""" INSERT INTO plans (id, name, product_id, amount, currency, interval) VALUES (21, 'FREE', 3, 0, 'USD', 'month'), (22, 'BASIC', 3, 8900, 'USD', 'month'), (23, 'PRO', 3, 18900, 'USD', 'month'), ...
29.380952
79
0.547812
4ac0e30896d098a2bd82343bae7d475a2c2d80b3
1,090
ex
Elixir
apps/thundermoon_web/lib/thundermoon_web/live/counter_live/index.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/thundermoon_web/lib/thundermoon_web/live/counter_live/index.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/thundermoon_web/lib/thundermoon_web/live/counter_live/index.ex
grrrisu/thundermoon-umbrella
d7e4f063e28b8d20545f90d6cddc27527fe9efe0
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule ThundermoonWeb.CounterLive.Index do use ThundermoonWeb, :live_view alias Phoenix.PubSub alias Thundermoon.Counter alias Thundermoon.Accounts alias ThundermoonWeb.CounterLive.{Digit, ActionButtons} @impl true def mount(_params, session, socket) do user = Accounts.get_user(session["current...
24.772727
90
0.701835
4ac0f4e8fcbbbd855d8b372245fbeae4d62cdef7
6,277
ex
Elixir
clients/memcache/lib/google_api/memcache/v1beta2/model/instance.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/memcache/lib/google_api/memcache/v1beta2/model/instance.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1beta2/model/instance.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...
66.073684
491
0.711168
4ac0faa481c50fae16f4b0e44002558d3ad22ca9
1,400
exs
Elixir
bench/witchcraft/extend/list_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
bench/witchcraft/extend/list_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
bench/witchcraft/extend/list_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
defmodule Witchcraft.Extend.ListBench do @moduledoc false use Benchfella use Witchcraft.Extend ######### # Setup # ######### # ---------- # # Data Types # # ---------- # @list 0..10 |> Enum.to_list() ########## # Extend # ########## bench("nest/1", do: nest(@list)) bench("extend/2",...
25
98
0.529286
4ac1a0a1677fc2bed4828820063637a074478528
998
ex
Elixir
lib/stixex/types/external_reference.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
lib/stixex/types/external_reference.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
lib/stixex/types/external_reference.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.Types.ExternalReference do @moduledoc """ External references are used to describe pointers to information represented outside of STIX. For example, a Malware object could use an external reference to indicate an ID for that malware in an external database or a report could use references t...
28.514286
81
0.729459
4ac1c83dc37b02554df3cb0ec9616bfa733bb694
930
ex
Elixir
test/support/channel_case.ex
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
test/support/channel_case.ex
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
test/support/channel_case.ex
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
defmodule CanonWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts wit...
24.473684
67
0.712903
4ac1c9d66e5cfc15c87b0677b0a2b3a8f2adf076
1,857
exs
Elixir
test/serum/build_test.exs
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
1
2019-06-21T10:55:33.000Z
2019-06-21T10:55:33.000Z
test/serum/build_test.exs
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
null
null
null
test/serum/build_test.exs
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
null
null
null
defmodule Serum.BuildTest do use ExUnit.Case require Serum.TestHelper import Serum.TestHelper alias Serum.Build alias Serum.Project.Loader, as: ProjectLoader setup do tmp_dir = get_tmp_dir("serum_test_") src = Path.join(tmp_dir, "src") dest = Path.join(tmp_dir, "dest") Enum.each([tmp_dir, ...
26.15493
78
0.634356
4ac1e833dd5179557d94b23b98cfead69cbe4815
672
ex
Elixir
lib/assertions/use_view_template.ex
facto/bamboo_espec
5899c1b5109ff9cb62ba7487482e31cc2af01b22
[ "MIT" ]
4
2017-01-16T08:58:00.000Z
2018-11-21T09:59:32.000Z
lib/assertions/use_view_template.ex
facto/bamboo_espec
5899c1b5109ff9cb62ba7487482e31cc2af01b22
[ "MIT" ]
null
null
null
lib/assertions/use_view_template.ex
facto/bamboo_espec
5899c1b5109ff9cb62ba7487482e31cc2af01b22
[ "MIT" ]
1
2018-11-21T09:59:41.000Z
2018-11-21T09:59:41.000Z
defmodule Bamboo.ESpec.Assertions.UseViewTemplate do use ESpec.Assertions.Interface defp match(%Bamboo.Email{} = email, value) do result = email.private.view_template == value {result, value} end defp success_message(email, value, _result, positive) do has = if positive, do: "has", else: "does not...
33.6
90
0.669643
4ac2314860357a98d17d0f19d5eadc8cead8b8b3
2,004
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/backup_runs_list_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sql_admin/lib/google_api/sql_admin/v1/model/backup_runs_list_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sql_admin/lib/google_api/sql_admin/v1/model/backup_runs_list_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.811321
205
0.722056
4ac24c48f39aaae3841f26991ea400f2eea17d72
1,809
exs
Elixir
test/earmark_helpers_tests/lookahead/opens_inline_code_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
null
null
null
test/earmark_helpers_tests/lookahead/opens_inline_code_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
null
null
null
test/earmark_helpers_tests/lookahead/opens_inline_code_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
1
2020-09-15T17:47:35.000Z
2020-09-15T17:47:35.000Z
defmodule Helpers.InlineCodeTest.OpensInlineCodeTest do use ExUnit.Case import Earmark.Helpers.LookaheadHelpers, only: [opens_inline_code: 1] [ { "empty line -> not a pending inline code", "", {nil, 0} }, { "escaped backquotes -> not a pending inline code", "\\`", {nil, 0}}, { "no backquotes -> not a...
62.37931
120
0.503593
4ac26a831d1fde557e00d27c41a861bc9c529f19
2,518
ex
Elixir
lib/pigeon/apns/shared.ex
mumughal/pigeon
6cb698fa5668c3b981f97464a48a61dc3863b3a0
[ "MIT" ]
null
null
null
lib/pigeon/apns/shared.ex
mumughal/pigeon
6cb698fa5668c3b981f97464a48a61dc3863b3a0
[ "MIT" ]
null
null
null
lib/pigeon/apns/shared.ex
mumughal/pigeon
6cb698fa5668c3b981f97464a48a61dc3863b3a0
[ "MIT" ]
null
null
null
defmodule Pigeon.APNS.Shared do @moduledoc false import Pigeon.Tasks, only: [process_on_response: 2] alias Pigeon.APNS.{Config, Error, JWTConfig, Notification} @type config :: Config.t() | JWTConfig.t() @type headers :: [{binary(), any()}] @apns_id "apns-id" @apns_topic "apns-topic" @apns_expiratio...
27.369565
76
0.654091
4ac29a7ef66fafffe81a1086df9db082c40a3443
214
exs
Elixir
priv/repo/migrations/20151006132624_create_user.exs
amohamedali/bbc_schedulor_phoenix
0eb828ca7da4cfecd57e8ad8085acbd625a3c2fa
[ "MIT" ]
null
null
null
priv/repo/migrations/20151006132624_create_user.exs
amohamedali/bbc_schedulor_phoenix
0eb828ca7da4cfecd57e8ad8085acbd625a3c2fa
[ "MIT" ]
null
null
null
priv/repo/migrations/20151006132624_create_user.exs
amohamedali/bbc_schedulor_phoenix
0eb828ca7da4cfecd57e8ad8085acbd625a3c2fa
[ "MIT" ]
null
null
null
defmodule BbcSchedulorPhoenix.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :name, :string add :email, :string timestamps end end end
15.285714
59
0.67757
4ac2a80763a31e7216202a80798919ecc6aecd99
1,554
exs
Elixir
config/config.exs
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "MIT" ]
null
null
null
config/config.exs
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "MIT" ]
null
null
null
config/config.exs
sjava/wechat_pay
101fd27668f01463d93c1a50033787cfb19bf3e5
[ "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...
35.318182
73
0.759331
4ac2acd46ef324d5bfcc011cba484933f01a86b4
21,592
ex
Elixir
lib/type_check/macros.ex
baldwindavid/elixir-type_check
af07e2b4830202e8e7ff92ea986136bfef72556f
[ "MIT" ]
null
null
null
lib/type_check/macros.ex
baldwindavid/elixir-type_check
af07e2b4830202e8e7ff92ea986136bfef72556f
[ "MIT" ]
null
null
null
lib/type_check/macros.ex
baldwindavid/elixir-type_check
af07e2b4830202e8e7ff92ea986136bfef72556f
[ "MIT" ]
null
null
null
defmodule TypeCheck.Macros do @moduledoc """ Contains the `@spec!`, `@type!`, `@typep!`, `@opaque!` macros to define runtime-checked function- and type-specifications. ## Usage This module is included by calling `use TypeCheck`. This will set up the module to use the special macros. Usually you'll want t...
33.475969
137
0.684003
4ac2c7b2d18e2986eb05f37a25077510b28f45c4
1,936
exs
Elixir
clients/cloud_run/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
28.895522
212
0.664256
4ac2f1805fe56cc2b4bbde4536a37df16d9a1ee7
431
exs
Elixir
apps/omg_watcher_info/priv/repo/migrations/20190917165912_set_inserted_at_updated_at_to_epoc.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_info/priv/repo/migrations/20190917165912_set_inserted_at_updated_at_to_epoc.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_info/priv/repo/migrations/20190917165912_set_inserted_at_updated_at_to_epoc.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
defmodule OMG.WatcherInfo.Repo.Migrations.SetInsertedAtUpdatedAtToEpoch do use Ecto.Migration def change() do execute("UPDATE txoutputs SET inserted_at = 'epoch' at time zone 'utc';") execute("UPDATE txoutputs SET updated_at = 'epoch' at time zone 'utc';") execute("ALTER TABLE txoutputs ALTER COLUMN in...
39.181818
77
0.74942
4ac31b59acaf60b59cd0aa2f7773eec403265e08
73
ex
Elixir
lib/glimesh_web/views/user_registration_view.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
lib/glimesh_web/views/user_registration_view.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
lib/glimesh_web/views/user_registration_view.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule GlimeshWeb.UserRegistrationView do use GlimeshWeb, :view end
18.25
44
0.835616
4ac31dd9636844a15e09c55c5fc832afedf11bef
1,517
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/contact_information.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/contact_information.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/contact_information.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.34
86
0.72116
4ac357fc14a7f0f9d6335f1a0a6358dddb0cea1a
179
ex
Elixir
lib/stixex/vocabulary/windows_pebinary_type.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
lib/stixex/vocabulary/windows_pebinary_type.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
lib/stixex/vocabulary/windows_pebinary_type.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.Vocabulary.WindowsPebinaryType do @behaviour StixEx.Vocabulary @impl StixEx.Vocabulary def values do ~w[ exe dll sys ] end end
13.769231
50
0.659218
4ac36f9baa4b14ed6b4cb578ba5c10fe6ddd12b3
2,043
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_service_aggregated_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_service_aggregated_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/backend_service_aggregated_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.86
527
0.746941
4ac37e5da71d021197ddef031d609bfc1e510963
518
exs
Elixir
test/curator_lockable/config_test.exs
curator-ex/curator_lockable
31b03c18c8ea194f9cde378dcfa5bae400c566bd
[ "MIT" ]
null
null
null
test/curator_lockable/config_test.exs
curator-ex/curator_lockable
31b03c18c8ea194f9cde378dcfa5bae400c566bd
[ "MIT" ]
null
null
null
test/curator_lockable/config_test.exs
curator-ex/curator_lockable
31b03c18c8ea194f9cde378dcfa5bae400c566bd
[ "MIT" ]
null
null
null
defmodule CuratorLockable.ConfigTest do use ExUnit.Case, async: true doctest CuratorLockable.Config test "the repo" do assert CuratorLockable.Config.repo == CuratorLockable.Test.Repo end test "the user_schema" do assert CuratorLockable.Config.user_schema == CuratorLockable.Test.User end test "t...
24.666667
74
0.762548
4ac3a5ca09b6d39c245b2b17143cb7de4df8693b
2,351
ex
Elixir
lib/phoenix_ecto/sql/sandbox.ex
cnsa/phoenix_ecto
90ba79feef55e31573047f789b3561f4ab7f30f6
[ "MIT" ]
null
null
null
lib/phoenix_ecto/sql/sandbox.ex
cnsa/phoenix_ecto
90ba79feef55e31573047f789b3561f4ab7f30f6
[ "MIT" ]
null
null
null
lib/phoenix_ecto/sql/sandbox.ex
cnsa/phoenix_ecto
90ba79feef55e31573047f789b3561f4ab7f30f6
[ "MIT" ]
null
null
null
defmodule Phoenix.Ecto.SQL.Sandbox do @moduledoc """ A plug to allow concurrent, transactional acceptance tests with Ecto.Adapters.SQL.Sandbox. ## Example This plug should only be used during tests. First, set a flag to enable it in `config/test.exs`: config :your_app, sql_sandbox: true And use th...
28.670732
92
0.670778
4ac3b56b3f555408efb74dfc8609c061ac4a77e2
366
exs
Elixir
priv/repo/migrations/20160907131653_create_product_image.exs
anndream/phoenix-commerce
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
229
2016-09-21T09:24:46.000Z
2020-05-16T22:41:31.000Z
priv/repo/migrations/20160907131653_create_product_image.exs
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
3
2016-09-21T10:26:50.000Z
2016-10-19T07:25:12.000Z
priv/repo/migrations/20160907131653_create_product_image.exs
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
32
2016-09-22T05:19:05.000Z
2019-11-01T04:07:13.000Z
defmodule Ap.Repo.Migrations.CreateProductImage do use Ecto.Migration def change do create table(:product_image) do add :public_id, :string add :url, :string add :secure_url, :string add :product_id, references(:products, on_delete: :delete_all) timestamps() end create in...
21.529412
68
0.68306
4ac3ba8c18019989da92c048a803ce3431d31f56
4,859
ex
Elixir
lib/weddell/client/subscriber/stream.ex
mcrumm/weddell
f44872d13de03cd00ed34fa8690781538e771e7a
[ "MIT" ]
null
null
null
lib/weddell/client/subscriber/stream.ex
mcrumm/weddell
f44872d13de03cd00ed34fa8690781538e771e7a
[ "MIT" ]
null
null
null
lib/weddell/client/subscriber/stream.ex
mcrumm/weddell
f44872d13de03cd00ed34fa8690781538e771e7a
[ "MIT" ]
null
null
null
defmodule Weddell.Client.Subscriber.Stream do @moduledoc """ A streaming connection to a subscription. """ alias GRPC.Client.Stream, as: GRPCStream alias GRPC.RPCError alias GRPC.Stub, as: GRPCStub alias Google.Pubsub.V1.{Subscriber.Stub, StreamingPullRequest} alias Weddell.{Me...
31.75817
108
0.610002
4ac3bf8122723e0a2a3a82f0ed6dc47913ee8515
83
exs
Elixir
.formatter.exs
hauleth/magritte
95fbcd02bd61255a54085e371735ce6a1377c46e
[ "MIT" ]
18
2020-08-10T20:28:08.000Z
2021-11-04T21:55:00.000Z
.formatter.exs
hauleth/magritte
95fbcd02bd61255a54085e371735ce6a1377c46e
[ "MIT" ]
1
2020-08-11T14:39:06.000Z
2021-05-07T08:01:45.000Z
.formatter.exs
hauleth/magritte
95fbcd02bd61255a54085e371735ce6a1377c46e
[ "MIT" ]
1
2021-01-13T23:25:42.000Z
2021-01-13T23:25:42.000Z
# Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "lib/**/*.{ex,exs}"] ]
16.6
55
0.53012
4ac3c90ed88ec95102e257cf81c60ca14b8a5eb3
759
exs
Elixir
config/test.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "MIT" ]
null
null
null
config/test.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "MIT" ]
null
null
null
config/test.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "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 :petal, Petal.Repo, username: System.get_env("POSTGRES_USER") || "postgres", password: System.get_env("P...
34.5
64
0.747036
4ac3f0f9f9eb7010a8060bc5758761f6e3f0e0e7
1,442
exs
Elixir
test/epicenter_web/presenters/lab_result_presenter_test.exs
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/epicenter_web/presenters/lab_result_presenter_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/epicenter_web/presenters/lab_result_presenter_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Presenters.LabResultPresenterTest do use Epicenter.DataCase, async: true alias Epicenter.Cases alias Epicenter.Test alias EpicenterWeb.Presenters.LabResultPresenter @admin Test.Fixtures.admin() describe "latest_positive" do setup do person = @admin |> Test.Fixtures.person...
40.055556
132
0.712205
4ac3fce471e54a545c313f98de0d19104bb57dd8
19,996
ex
Elixir
lib/surface/compiler/eex_engine.ex
jshmrtn/surface
5ddbbc67b2c165ba53a85c68c0da8fce491472f2
[ "MIT" ]
1
2021-04-30T14:28:08.000Z
2021-04-30T14:28:08.000Z
lib/surface/compiler/eex_engine.ex
davydog187/surface
6547e015a70d06fe20548b5618d0666c4f7481d1
[ "MIT" ]
null
null
null
lib/surface/compiler/eex_engine.ex
davydog187/surface
6547e015a70d06fe20548b5618d0666c4f7481d1
[ "MIT" ]
null
null
null
defmodule Surface.Compiler.EExEngine do @moduledoc """ This module glues together surface's AST and Phoenix.LiveView.Engine to actually render an AST. It takes a list of Surface AST nodes, and processes them into a sequence of static raw html items and dynamic pieces. It then converts these into tokens which a...
28.123769
120
0.60142
4ac3febf6dbba3bc29a06ba3c48795cab198ecb4
366
ex
Elixir
apps/idp/src/idp/idps/family_member.ex
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
apps/idp/src/idp/idps/family_member.ex
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
apps/idp/src/idp/idps/family_member.ex
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
defmodule Idp.Idps.FamilyMembers do use Idp.Base.Model alias Idp.Idps.{AgeGroup, DisplacedPerson} @primary_key {:id, :binary_id, autogenerate: true} schema "family_members" do field :male_count, :integer field :female_count, :integer belongs_to :displaced_person, DisplacedPerson belongs_to :ag...
22.875
52
0.740437
4ac4650fc25621812c18c7f7af206137a761fc27
70
exs
Elixir
b2/test/b2_web/views/page_view_test.exs
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
1
2022-02-22T04:56:25.000Z
2022-02-22T04:56:25.000Z
b2/test/b2_web/views/page_view_test.exs
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
null
null
null
b2/test/b2_web/views/page_view_test.exs
lajeryl/hangman
ad90b6114ac98414b4bddf69bf88b1601b5b1799
[ "MIT" ]
null
null
null
defmodule B2Web.PageViewTest do use B2Web.ConnCase, async: true end
17.5
33
0.8
4ac47e925e60f3bc48bbe11f1c887861df3c8661
115
ex
Elixir
lib/contento_web/views/session_view.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
null
null
null
lib/contento_web/views/session_view.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
null
null
null
lib/contento_web/views/session_view.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
1
2020-11-21T20:12:01.000Z
2020-11-21T20:12:01.000Z
defmodule ContentoWeb.SessionView do use ContentoWeb, :view def page_title(:new, _), do: gettext("Login") end
19.166667
47
0.73913
4ac4a2ace2d40a15dbe72fad7b5871fa338e1ef0
1,164
ex
Elixir
backend/lib/honeyland/appliances/hardware_type_part_number.ex
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
backend/lib/honeyland/appliances/hardware_type_part_number.ex
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
backend/lib/honeyland/appliances/hardware_type_part_number.ex
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
# # This file is part of Honeyland. # # Copyright 2022 Nervive Studio # # 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 ...
28.390244
74
0.751718
4ac4b114e2ba71f82d0a256626dd4519629b5d40
502
ex
Elixir
elixir/pacman-rules/lib/rules.ex
maitesin/exercism
17481409b3a120e3a02bc3df24a0333d0d8e05be
[ "BSD-2-Clause" ]
null
null
null
elixir/pacman-rules/lib/rules.ex
maitesin/exercism
17481409b3a120e3a02bc3df24a0333d0d8e05be
[ "BSD-2-Clause" ]
null
null
null
elixir/pacman-rules/lib/rules.ex
maitesin/exercism
17481409b3a120e3a02bc3df24a0333d0d8e05be
[ "BSD-2-Clause" ]
null
null
null
use Bitwise defmodule Rules do def eat_ghost?(power_pellet_active, touching_ghost) do power_pellet_active and touching_ghost end def score?(touching_power_pellet, touching_dot) do touching_power_pellet or touching_dot end def lose?(power_pellet_active, touching_ghost) do not power_pellet_active...
25.1
73
0.802789