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
c8bc2c16881d869d73f1a3bc721e58ac75551e4b
9,757
ex
Elixir
apps/jsonrpc2/lib/jsonrpc2/servers/websocket_http.ex
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/jsonrpc2/lib/jsonrpc2/servers/websocket_http.ex
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/jsonrpc2/lib/jsonrpc2/servers/websocket_http.ex
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 JSONRPC2.Servers.WebSocketHTTP do @moduledoc """ An HTTP server which responds to POSTed JSON-RPC 2.0 in the request body. This server will respond to all requests on the given port. If you wish to mount a JSON-RPC 2.0 handler within a Plug-based web app (such as Phoenix), please see `JSONRPC2.Server...
30.20743
158
0.641796
c8bc2ebd44a8ff2777a16d32f080a20a4a6220b0
1,969
ex
Elixir
lib/step_flow/router.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
lib/step_flow/router.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
lib/step_flow/router.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
defmodule StepFlow.Router do use StepFlow, :router plug(:match) plug(:dispatch) plug(Plug.Parsers, parsers: [:json], pass: ["application/json"], json_decoder: Jason ) get("/", do: send_resp(conn, 200, "Welcome to Step Flow")) get "/definitions" do StepFlow.WorkflowDefinitionController....
23.164706
67
0.727273
c8bc4347666a4361b936b422adfb27a772ec6351
1,330
ex
Elixir
lib/regen/status.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
1
2019-09-05T23:00:48.000Z
2019-09-05T23:00:48.000Z
lib/regen/status.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
7
2020-10-27T20:42:06.000Z
2021-11-15T07:41:15.000Z
lib/regen/status.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
6
2016-04-06T09:28:43.000Z
2021-08-09T12:29:16.000Z
defmodule Regen.Status do defstruct [{:elements, []}, {:produced_content, []}, {:syntax, :none}] @type t :: %Regen.Status{} defimpl Inspect do def inspect(%Regen.Status{elements: elts, produced_content: content, syntax: syntax}, opts) do syntax_display = case syntax do :none -> ...
31.666667
101
0.496992
c8bc5069bb0deeba1e72d8f4a881046401c6dfb0
3,895
ex
Elixir
lib/binary/dict.ex
brightroll/dynamo
9fa032c514fa7de6985115fdc1804a780643517c
[ "Apache-2.0" ]
null
null
null
lib/binary/dict.ex
brightroll/dynamo
9fa032c514fa7de6985115fdc1804a780643517c
[ "Apache-2.0" ]
null
null
null
lib/binary/dict.ex
brightroll/dynamo
9fa032c514fa7de6985115fdc1804a780643517c
[ "Apache-2.0" ]
null
null
null
defmodule Binary.Dict do @moduledoc """ This module implements a dictionary that forces the keys to be converted to binaries on insertion. Currently it is implemented using a `List.Dict` underneath, but this may change in the future. Check the `Dict` module for examples and documentation. """ import K...
22.130682
79
0.608472
c8bc570137f4db9ee4360515adf0779092ca962b
14,364
ex
Elixir
lib/bitpal/backends/flowee/protocol.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal/backends/flowee/protocol.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal/backends/flowee/protocol.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPal.Backend.Flowee.Protocol do @moduledoc """ High-level protocol for the Flowee backend. Uses the Connection module for the low-level communication and translates message to a easier to use, high-level protocol. """ use Bitwise alias BitPal.Backend.Flowee.Connection alias BitPal.Backend....
28.275591
129
0.614731
c8bcd53060bc4d289dde4029249186e497da3f88
4,626
ex
Elixir
clients/games/lib/google_api/games/v1/model/player.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/player.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/player.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...
53.790698
340
0.701254
c8bcede52ef2aa3291c1a6961b422ca8237d4e36
1,927
ex
Elixir
lib/cotoami/services/amishi_service.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
337
2016-11-28T15:46:58.000Z
2022-03-01T06:21:25.000Z
lib/cotoami/services/amishi_service.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
79
2017-02-27T05:44:36.000Z
2021-12-09T00:28:11.000Z
lib/cotoami/services/amishi_service.ex
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
47
2018-02-03T01:32:13.000Z
2021-11-08T07:54:43.000Z
defmodule Cotoami.AmishiService do @moduledoc """ Provides Amishi related functions. """ require Logger import Ecto.Changeset import Ecto.Query, warn: false alias Cotoami.{Repo, Amishi, ExternalUser, EmailUser, GravatarService} def owner_emails do :cotoami |> Application.get_env(__MODULE__, []...
23.216867
79
0.660093
c8bcf0762b3f9351438336071af0da0de3d02ddd
90
exs
Elixir
apps/ui/config/backtesting.exs
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
49
2019-10-28T22:27:28.000Z
2021-10-11T06:40:29.000Z
apps/ui/config/backtesting.exs
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
9
2019-08-30T13:15:36.000Z
2019-10-10T21:25:14.000Z
apps/ui/config/backtesting.exs
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
7
2019-10-31T06:19:26.000Z
2021-09-30T04:20:58.000Z
use Mix.Config import_config "dev.exs" config :ui, UiWeb.Endpoint, code_reloader: false
15
48
0.777778
c8bcf91e5ef28cb2bf93f8e1e3cc349700855375
246
ex
Elixir
lib/geo/pointm.ex
ilyashuma/geo
92c276a784237affd194b9dd0e3428bdc39ce4f8
[ "MIT" ]
555
2015-01-19T18:56:37.000Z
2022-03-17T21:22:16.000Z
lib/geo/pointm.ex
ilyashuma/geo
92c276a784237affd194b9dd0e3428bdc39ce4f8
[ "MIT" ]
130
2015-02-12T16:48:54.000Z
2021-12-15T17:54:18.000Z
lib/geo/pointm.ex
ilyashuma/geo
92c276a784237affd194b9dd0e3428bdc39ce4f8
[ "MIT" ]
100
2015-04-21T17:55:47.000Z
2022-01-25T21:03:10.000Z
defmodule Geo.PointM do @moduledoc """ Defines the PointM struct. """ @type t :: %Geo.PointM{coordinates: {number, number, number}, srid: integer | nil, properties: map} defstruct coordinates: {0, 0, 0}, srid: nil, properties: %{} end
27.333333
101
0.666667
c8bcfcb4eb0754fe9462dadb94391e72fa117936
598
exs
Elixir
test/rocketpay/numbers_test.exs
felipe-jm/rocketpay
0180375ca15f21d4a952390f28af7d0ff6996c2a
[ "MIT" ]
null
null
null
test/rocketpay/numbers_test.exs
felipe-jm/rocketpay
0180375ca15f21d4a952390f28af7d0ff6996c2a
[ "MIT" ]
null
null
null
test/rocketpay/numbers_test.exs
felipe-jm/rocketpay
0180375ca15f21d4a952390f28af7d0ff6996c2a
[ "MIT" ]
null
null
null
defmodule Rocketpay.NumbersTest do use ExUnit.Case alias Rocketpay.Numbers describe "sum_from_file/1" do test "when there is a file with the given name, returns the sum of numbers" do response = Numbers.sum_from_file("numbers") expected_response = {:ok, %{result: 55}} assert response == ...
24.916667
82
0.690635
c8bd099ce19a6db6a3c057409de343517f970b6b
7,074
ex
Elixir
apps/graphql/lib/graphql/schema/capitation/capitation_contract_request_types.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/graphql/lib/graphql/schema/capitation/capitation_contract_request_types.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/graphql/lib/graphql/schema/capitation/capitation_contract_request_types.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule GraphQL.Schema.CapitationContractRequestTypes do @moduledoc false use Absinthe.Schema.Notation use Absinthe.Relay.Schema.Notation, :modern import Absinthe.Resolution.Helpers, only: [dataloader: 1] import GraphQL.Resolvers.Helpers.Load, only: [load_by_args: 2, load_by_parent: 2, load_by_parent: 3] ...
37.828877
116
0.719395
c8bd27f62bef612bf214a462d6ec2a2feef8cc4d
2,539
ex
Elixir
lib/koans/14_enums.ex
hedrovich/elixir-koans
d2f1af75508022ff9559c000ca49c1cf4571f632
[ "MIT" ]
null
null
null
lib/koans/14_enums.ex
hedrovich/elixir-koans
d2f1af75508022ff9559c000ca49c1cf4571f632
[ "MIT" ]
null
null
null
lib/koans/14_enums.ex
hedrovich/elixir-koans
d2f1af75508022ff9559c000ca49c1cf4571f632
[ "MIT" ]
null
null
null
defmodule Enums do use Koans @intro "Enums" koan "Knowing how many elements are in a list is important for book-keeping" do assert Enum.count([1, 2, 3]) == 3 end koan "Depending on the type, it counts pairs" do assert Enum.count(%{a: :foo, b: :bar}) == 2 end def less_than_five?(n), do: n < 5 ...
29.870588
99
0.615991
c8bd404e1933d299a680008880b52366222c9a15
940
ex
Elixir
apps/tai/lib/tai/venue_adapters/ftx/stream/process_optional_channels.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venue_adapters/ftx/stream/process_optional_channels.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/venue_adapters/ftx/stream/process_optional_channels.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.VenueAdapters.Ftx.Stream.ProcessOptionalChannels do use GenServer defmodule State do @type venue_id :: Tai.Venue.id() @type t :: %State{venue: venue_id} @enforce_keys ~w[venue]a defstruct ~w[venue]a end @type venue_id :: Tai.Venue.id() @type state :: State.t() @spec start_l...
23.5
68
0.661702
c8bd49888438afe4872a5d0399d758081bbe62c3
33,479
ex
Elixir
apps/aevm/lib/aevm.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aevm/lib/aevm.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
2
2018-10-01T16:46:26.000Z
2018-10-01T19:45:42.000Z
apps/aevm/lib/aevm.ex
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
defmodule Aevm do @moduledoc """ Module for contract execution """ use Bitwise require OpCodes require OpCodesUtil require AevmConst @spec loop(map()) :: map() def loop(state) do state1 = AevmUtil.load_jumpdests(state) loop1(state1) end defp loop1(state) do pc = State.pc(state) ...
25.952713
100
0.662654
c8bd6115f1e37eb36a5df4180b98977f7059e0d9
1,245
exs
Elixir
test/mojiex_test.exs
seizans/Mojiex
ab6d1089c622492ad59e6a61090e0db1fbbf8514
[ "MIT" ]
null
null
null
test/mojiex_test.exs
seizans/Mojiex
ab6d1089c622492ad59e6a61090e0db1fbbf8514
[ "MIT" ]
null
null
null
test/mojiex_test.exs
seizans/Mojiex
ab6d1089c622492ad59e6a61090e0db1fbbf8514
[ "MIT" ]
null
null
null
defmodule MojiexTest do use PowerAssert # use ExUnit.Case # doctest Mojiex test "Basic" do assert Mojiex.convert("ABCD 01234あいうアイウABCD 01234アイウ", {:ze, :he}) == "ABCD 01234あいうアイウABCD 01234アイウ" assert Mojiex.convert("ABCD 01234あいうアイウABCD 01234アイウ", {:he, :ze}) == "ABCD 01234あいうアイ...
34.583333
71
0.632932
c8bd760af73bcf3d7a450a24a88129184a3dc285
2,239
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/new_device_event.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/new_device_event.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/new_device_event.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
39.280702
349
0.732023
c8bdbace1450c37553d0ff4ff7190aef543018aa
990
ex
Elixir
interviews/elixir/server/lib/server/application.ex
zchbndcc9/Interview
c44b3fe09f4d3fa8f8c7f19c099b1f48569a136e
[ "MIT" ]
null
null
null
interviews/elixir/server/lib/server/application.ex
zchbndcc9/Interview
c44b3fe09f4d3fa8f8c7f19c099b1f48569a136e
[ "MIT" ]
null
null
null
interviews/elixir/server/lib/server/application.ex
zchbndcc9/Interview
c44b3fe09f4d3fa8f8c7f19c099b1f48569a136e
[ "MIT" ]
null
null
null
defmodule Server.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the app...
31.935484
84
0.717172
c8bdc21806a6db1e764f7beaaa1c38cd448615bd
2,653
ex
Elixir
lib/mix/lib/mix/tasks/archive.install.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/archive.install.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/archive.install.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule Mix.Tasks.Archive.Install do use Mix.Task import Mix.Generator, only: [create_file: 2] @shortdoc "Install an archive locally" @moduledoc """ Install an archive locally. If no argument is supplied but there is an archive in the root (created with mix archive), then the archive will be install...
26.009804
84
0.650961
c8bdc452c775ba5fd797f69c9f12705a71dee976
2,345
ex
Elixir
lib/authorizir/migrations/v01.ex
jwilger/authorizir
c1b2977e1becadb7f2fa3f2fb3f58da3377280ff
[ "Apache-2.0" ]
null
null
null
lib/authorizir/migrations/v01.ex
jwilger/authorizir
c1b2977e1becadb7f2fa3f2fb3f58da3377280ff
[ "Apache-2.0" ]
null
null
null
lib/authorizir/migrations/v01.ex
jwilger/authorizir
c1b2977e1becadb7f2fa3f2fb3f58da3377280ff
[ "Apache-2.0" ]
null
null
null
defmodule Authorizir.Migrations.V01 do use Ecto.Migration require Dagex.Migrations import Dagex.Migrations, only: [setup_node_type: 2] def up(_opts) do Dagex.Migrations.up() create table("authorizir_subjects") do add(:ext_id, :binary, null: false) add(:description, :string, null: false) ...
26.348315
92
0.62516
c8bdc777dd9b071e7827d14d883c876c4425fcfb
1,159
exs
Elixir
test/shared/cache/queryable_test.exs
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
test/shared/cache/queryable_test.exs
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
test/shared/cache/queryable_test.exs
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
defmodule Nebulex.Cache.QueryableTest do import Nebulex.CacheCase deftests "queryable" do import Nebulex.CacheHelpers test "all", %{cache: cache} do set1 = cache_put(cache, 1..50) set2 = cache_put(cache, 51..100) for x <- 1..100, do: assert(cache.get(x) == x) expected = set1 ++ se...
25.755556
82
0.576359
c8bdeebfd7529d380b9414545a3987e9ac2eaf4e
314
ex
Elixir
episode15/speaker/lib/bank_account.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode15/speaker/lib/bank_account.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode15/speaker/lib/bank_account.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule BankAccount do def handle_message({ :deposit, amount }, _from, balance) do balance + amount end def handle_message({ :withdraw, amount }, _from, balance) do balance - amount end def handle_message(:balance, from, balance) do send from, { :balance, balance } balance end end
20.933333
62
0.684713
c8bdeff134436a0c7e5444d3ec4f0f18d86c21ac
1,186
ex
Elixir
lib/kamleague/accounts.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
null
null
null
lib/kamleague/accounts.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
2
2021-11-04T21:05:24.000Z
2021-11-04T21:51:48.000Z
lib/kamleague/accounts.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
1
2021-11-04T18:40:26.000Z
2021-11-04T18:40:26.000Z
defmodule Kamleague.Accounts do alias Kamleague.{Repo, Accounts.IpAddress, Accounts.User} import Ecto.Query @type t :: %User{} def list_users() do Repo.all( from u in User, order_by: u.id, preload: [[:player, :ip_addresses]] ) end def get_user!(id) do User |> Repo.g...
20.807018
96
0.608769
c8be0d142481fff03f5f77cb9dd5ae52c07c8e09
2,643
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/role.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/role.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/role.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...
38.867647
169
0.683314
c8be3d8fb6feaf766bde50ce4ac08ce5a09690d2
1,224
ex
Elixir
lib/csv.ex
fhunleth/licensir
3d61fe335dd232cd8af44ecd8dc412273ef7f37b
[ "MIT" ]
null
null
null
lib/csv.ex
fhunleth/licensir
3d61fe335dd232cd8af44ecd8dc412273ef7f37b
[ "MIT" ]
null
null
null
lib/csv.ex
fhunleth/licensir
3d61fe335dd232cd8af44ecd8dc412273ef7f37b
[ "MIT" ]
null
null
null
defmodule CSV do use CSV.Defaults alias CSV.Encoding.Encoder @moduledoc ~S""" RFC 4180 compliant CSV parsing and encoding for Elixir. Allows to specify other separators, so it could also be named: TSV, but it isn't. """ @doc """ Encode a table stream into a stream of RFC 4180 compliant CSV lines for ...
26.608696
83
0.569444
c8be6f92f7de3bd50b7e3df17d39296c37c271cc
1,887
ex
Elixir
lib/my_personal_web/telemetry.ex
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
lib/my_personal_web/telemetry.ex
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
lib/my_personal_web/telemetry.ex
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
defmodule MyPersonalWeb.Telemetry do @moduledoc """ Telemetry module """ use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given perio...
31.983051
86
0.674086
c8bec28e30ea47c3b2738b74592e7786c39bf657
5,200
ex
Elixir
lib/rsa_ex.ex
valiot/rsa-ex
4a50029ae8d33dae0211e30616d4de685cd5ac94
[ "MIT" ]
null
null
null
lib/rsa_ex.ex
valiot/rsa-ex
4a50029ae8d33dae0211e30616d4de685cd5ac94
[ "MIT" ]
null
null
null
lib/rsa_ex.ex
valiot/rsa-ex
4a50029ae8d33dae0211e30616d4de685cd5ac94
[ "MIT" ]
null
null
null
defmodule RsaEx do alias RsaEx.RSAPrivateKey @type private_key :: String.t @type public_key :: String.t @doc """ Generates RSA private key of {bits} size. Default is 2048. iex> {:ok, priv} = RsaEx.generate_private_key("4096") """ @spec generate_private_key :: {atom, private_key} def generate_pri...
32.911392
119
0.666154
c8bee301504b15149602d807049bc98ff4066ce5
10,842
ex
Elixir
lib/web/user.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/web/user.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/web/user.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Web.User do @moduledoc """ Bounded context for the Phoenix app talking to the data layer """ import Ecto.Query require Logger alias Data.QuestProgress alias Data.Repo alias Data.Stats alias Data.User alias Data.User.OneTimePassword alias ExVenture.Mailer alias Game.Account alias G...
22.682008
91
0.602103
c8beea18b79721e25a431f5c59711ec23f99bcb6
1,203
exs
Elixir
test/songmate_web/plugs/auth_plug_test.exs
jenny-codes/music-dating-app
ac0bdba90d26cad327992bc0c3ead34f42b3f82f
[ "MIT" ]
8
2020-06-06T02:12:36.000Z
2021-10-12T16:47:20.000Z
test/songmate_web/plugs/auth_plug_test.exs
jenny-codes/music-dating-app
ac0bdba90d26cad327992bc0c3ead34f42b3f82f
[ "MIT" ]
2
2021-03-10T18:43:20.000Z
2021-07-16T04:37:20.000Z
test/songmate_web/plugs/auth_plug_test.exs
jenny-codes/music-dating-app
ac0bdba90d26cad327992bc0c3ead34f42b3f82f
[ "MIT" ]
1
2020-06-24T08:41:09.000Z
2020-06-24T08:41:09.000Z
defmodule SongmateWeb.AuthPlugTest do use SongmateWeb.ConnCase, async: true import Mox alias Songmate.Mock alias SongmateWeb.AuthPlug import Songmate.UserFactory test "does nothing if current_user is present" do user = create_user() expect(Mock.AuthService, :fetch_user_with_token, 0, fn _ -> nil en...
25.595745
81
0.677473
c8bf16d88cae5c3d756856a7e07a5e772b81f487
511
ex
Elixir
lib/benzinpreise/utils.ex
zookzook/benzinpreise
05f7946bc2b181ca9e3260b388ae45a55829b9a9
[ "MIT" ]
null
null
null
lib/benzinpreise/utils.ex
zookzook/benzinpreise
05f7946bc2b181ca9e3260b388ae45a55829b9a9
[ "MIT" ]
null
null
null
lib/benzinpreise/utils.ex
zookzook/benzinpreise
05f7946bc2b181ca9e3260b388ae45a55829b9a9
[ "MIT" ]
null
null
null
defmodule Benzinpreise.Utils do @moduledoc false def is_stid(stid) do case Ecto.UUID.dump(stid) do {:ok, _} -> true _ -> false end end def parse_date(d) do case Date.from_iso8601(d) do {:ok, d} -> d _ -> Date.utc_today() end end def calc_date_range( f...
20.44
77
0.581213
c8bf60cd6160fb814c562784919540d26c4d2b71
37,291
ex
Elixir
lib/iex/lib/iex/helpers.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2020-01-14T18:44:56.000Z
2020-01-14T18:44:56.000Z
lib/iex/lib/iex/helpers.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule IEx.Helpers do @moduledoc """ Welcome to Interactive Elixir. You are currently seeing the documentation for the module `IEx.Helpers` which provides many helpers to make Elixir's shell more joyful to work with. This message was triggered by invoking the helper `h()`, usually referred to as `h/0`...
27.891548
97
0.644231
c8bf6f7bddc2186ccaf42f3aaf8246c902fc4092
4,454
exs
Elixir
test/tune/link_test.exs
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
206
2020-08-23T17:50:03.000Z
2022-03-28T04:39:01.000Z
test/tune/link_test.exs
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
112
2020-08-21T08:26:38.000Z
2022-03-31T06:11:06.000Z
test/tune/link_test.exs
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
15
2020-08-25T02:30:23.000Z
2021-12-16T14:19:35.000Z
defmodule Tune.LinkTest do use ExUnit.Case, async: true use ExUnitProperties alias Tune.{Link, Generators, Spotify.Schema.Album} describe "youtube" do property "it generates well-formed links" do check all(track <- Generators.track()) do main_artist = Album.main_artist(track.album) ...
29.693333
91
0.584194
c8bfac97994d4051f8848605e7e796695e9a333d
1,046
ex
Elixir
lib/xandra/prepared/cache.ex
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
318
2017-01-17T13:24:29.000Z
2022-03-17T20:31:39.000Z
lib/xandra/prepared/cache.ex
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
117
2017-01-17T14:20:15.000Z
2022-03-30T11:22:32.000Z
lib/xandra/prepared/cache.ex
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
49
2017-02-06T19:18:03.000Z
2022-03-22T13:08:46.000Z
defmodule Xandra.Prepared.Cache do @moduledoc false alias Xandra.Prepared @opaque t :: :ets.tid() @spec new() :: t def new() do :ets.new(__MODULE__, [:set, :public, read_concurrency: true]) end @spec insert(t, Prepared.t()) :: :ok def insert(table, %Prepared{} = prepared) do %{ stateme...
24.325581
97
0.632887
c8bfc88fb8f9254d76005f3bb5e4af61d68e8405
1,121
exs
Elixir
elixir/config/config.exs
mindviser/keepaSDK
24627e3372bf2ca75d8a42de79d31046e4ae14c1
[ "MIT" ]
3
2019-09-18T20:18:24.000Z
2021-07-26T18:08:29.000Z
elixir/config/config.exs
mindviser/keepaSDK
24627e3372bf2ca75d8a42de79d31046e4ae14c1
[ "MIT" ]
3
2020-05-15T21:27:09.000Z
2022-02-09T01:00:00.000Z
elixir/config/config.exs
mindviser/keepaSDK
24627e3372bf2ca75d8a42de79d31046e4ae14c1
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.16129
73
0.752007
c8bfd12f3bbb0385a68ba2bf08766d848788dabe
1,803
ex
Elixir
lib/grizzly/options.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/options.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/options.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.Options do @moduledoc false alias Grizzly.Supervisor alias Grizzly.ZIPGateway.Config @type t() :: %__MODULE__{ transport: module(), run_zipgateway: boolean(), serial_port: String.t(), zipgateway_binary: Path.t(), zipgateway_config_path: Path....
32.781818
73
0.584581
c8c000ec6b5f0107764a45cc6486473314f2497b
1,119
exs
Elixir
config/config.exs
dsantosmerino/geocodex
7e058c7ddc4b7b68e18896d928d5590703786312
[ "MIT" ]
3
2017-06-11T09:59:41.000Z
2017-06-12T08:30:17.000Z
config/config.exs
dsantosmerino/geocodex
7e058c7ddc4b7b68e18896d928d5590703786312
[ "MIT" ]
null
null
null
config/config.exs
dsantosmerino/geocodex
7e058c7ddc4b7b68e18896d928d5590703786312
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.096774
73
0.751564
c8c02757c36c6093f6b66a482a9f54a9055a4a9f
4,232
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/reports.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/reports.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/reports.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
48.643678
251
0.700614
c8c032ce27f73abb11abe904cdf076f28e51701c
1,563
ex
Elixir
clients/content/lib/google_api/content/v2/model/lia_about_page_settings.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/lia_about_page_settings.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/lia_about_page_settings.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
30.647059
102
0.731286
c8c03754bd062c8962fc37282814fd679fa19877
881
ex
Elixir
test/support/conn_case.ex
pdericson/riemann-dashboard
48a9fc41bfebe9139bda10ec246214337e2dd0a0
[ "MIT" ]
2
2017-12-04T10:01:06.000Z
2017-12-06T16:35:19.000Z
test/support/conn_case.ex
pdericson/riemann-dashboard
48a9fc41bfebe9139bda10ec246214337e2dd0a0
[ "MIT" ]
null
null
null
test/support/conn_case.ex
pdericson/riemann-dashboard
48a9fc41bfebe9139bda10ec246214337e2dd0a0
[ "MIT" ]
null
null
null
defmodule DashboardWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if t...
25.171429
58
0.730988
c8c03f5b41d241d5e409d6bdb253690a4b2e99f7
78
exs
Elixir
test/purple_web/views/page_view_test.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
test/purple_web/views/page_view_test.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
test/purple_web/views/page_view_test.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
defmodule PurpleWeb.PageViewTest do use PurpleWeb.ConnCase, async: true end
19.5
37
0.820513
c8c08000ad4c0d6d42fed2b17bb9324a9dd32ca1
804
ex
Elixir
apps/snitch_core/lib/core/data/model/stock/stock_movement.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/data/model/stock/stock_movement.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/data/model/stock/stock_movement.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Model.StockMovement do @moduledoc """ `StockMovement` API """ use Snitch.Data.Model alias Snitch.Data.Schema.StockMovement, as: StockMovementSchema @spec create(integer, String.t()) :: {:ok, Ecto.Schema.t()} | {:error, Ecto.Changeset.t()} def create(quantity, stock_item_id) do ...
25.125
92
0.666667
c8c0a3ec5787bcf1fe54099980aadc1daa19e9e0
4,959
ex
Elixir
lib/eps_web/swagger/common_definitions.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps_web/swagger/common_definitions.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps_web/swagger/common_definitions.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
defmodule EPSWeb.Swagger.CommonDefinitions do @moduledoc """ Common swagger definitions used in multiple controllers. """ require EPS.Enums use PhoenixSwagger use EPS.Constants.ErrorMessages alias EPS.Constants.Maps def errors do %{ Error: swagger_schema do title("Error")...
29.170588
290
0.547086
c8c0a63e767cb05686c4d385809e65deb8be086c
468
ex
Elixir
phoenix_lessons/discuss/lib/discuss_web/controllers/plugs/set_user.ex
sreecodeslayer/learn-elixir-phoenix
e32bcdbceef53b71dc560d79411c2023c13488ca
[ "MIT" ]
1
2019-01-09T13:41:17.000Z
2019-01-09T13:41:17.000Z
phoenix_lessons/discuss/lib/discuss_web/controllers/plugs/set_user.ex
sreecodeslayer/learn-elixir-phoenix
e32bcdbceef53b71dc560d79411c2023c13488ca
[ "MIT" ]
null
null
null
phoenix_lessons/discuss/lib/discuss_web/controllers/plugs/set_user.ex
sreecodeslayer/learn-elixir-phoenix
e32bcdbceef53b71dc560d79411c2023c13488ca
[ "MIT" ]
null
null
null
defmodule DiscussWeb.Plugs.SetUser do # for assign on conn import Plug.Conn # for session import Phoenix.Controller # DB operations alias Discuss.Repo # User model alias DiscussWeb.User def init(_params) do end def call(conn, _params) do user_id = get_session(conn, :user_id) cond do ...
18
50
0.645299
c8c0ca5b2b43520c1b1707c7029098c851fb13c5
2,520
exs
Elixir
config/redirects.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
90
2021-02-10T23:57:52.000Z
2022-03-17T18:36:55.000Z
config/redirects.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
120
2021-02-11T00:32:44.000Z
2022-03-23T04:11:59.000Z
config/redirects.exs
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
18
2021-04-15T09:57:44.000Z
2022-03-23T02:55:26.000Z
use Mix.Config config :school_house, redirects: %{ ~r/^\/$/ => "/en", ~r/lessons\/basics\/pattern-matching\/?$/ => "lessons/basics/pattern_matching", ~r/lessons\/basics\/control-structures\/?$/ => "lessons/basics/control_structures", ~r/lessons\/basics\/pipe-operator\/?$/ => "lessons/basics/pipe_oper...
58.604651
89
0.633333
c8c0e80b10ba1212f6349309871e7078be3b28f3
2,333
ex
Elixir
apps/omg/test/support/integration/deposit_helper.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg/test/support/integration/deposit_helper.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg/test/support/integration/deposit_helper.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# Copyright 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 writi...
35.348485
113
0.735962
c8c0ea327c8b7ab908b04adcfb5cd72abfc04602
935
ex
Elixir
lib/composers/ota_ping/request.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/composers/ota_ping/request.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/composers/ota_ping/request.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
defmodule ExOpenTravel.Composers.OtaPing.Request do alias ExOpenTravel.Meta alias ExOpenTravel.Request alias ExOpenTravel.Request.Document @action "OTA_Ping" @type credentials :: %{user: String.t(), password: String.t(), endpoint: String.t()} @type options :: keyword() | any() @doc """ Ping message...
32.241379
112
0.685561
c8c0ed3dc8ca7886ca39327b9a75245cab81242c
449
ex
Elixir
lib/queerlink/link.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
38
2015-11-07T23:54:26.000Z
2021-04-09T04:14:25.000Z
lib/queerlink/link.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
2
2015-11-23T15:00:34.000Z
2015-11-26T09:59:26.000Z
lib/queerlink/link.ex
Queertoo/Queerlink
0a7726460cda63fc4ab342a2fe1d1155caa3d6d4
[ "MIT" ]
6
2015-11-26T00:25:22.000Z
2020-03-04T22:13:59.000Z
defmodule Queerlink.Link do use Ecto.Schema import Ecto.Changeset alias Queerlink.Link # @schemes ["http", "https", "ftp", "sftp", "ftps"] schema "links" do field :source, :string field :hash, :string timestamps() end def changeset(%Link{}=link, attrs\\%{}) do link |> cast(attrs, ...
21.380952
57
0.608018
c8c119d7a32062dcdc3d54fda1226ad5fb672758
1,208
ex
Elixir
address_validator/apps/address_validation_rest/web/channels/user_socket.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
address_validator/apps/address_validation_rest/web/channels/user_socket.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
address_validator/apps/address_validation_rest/web/channels/user_socket.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
defmodule AddressValidationRest.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", AddressValidationRest.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # b...
31.789474
94
0.711921
c8c121aadea585486064431e83231fd9886bccd6
955
ex
Elixir
lib/game/format/who.ex
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
lib/game/format/who.ex
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
lib/game/format/who.ex
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
defmodule Game.Format.Who do @moduledoc """ Format the who list """ alias Game.Format @doc """ Format the player line in the who list """ def player_line(player, metadata) do [ player_stats(player), Format.player_name(player), Format.player_flags(player.extra, none: false), ...
20.319149
67
0.62199
c8c12cbda2719e95287fe791886fbe164ffd63ca
2,332
ex
Elixir
deps/combine/lib/combine.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/combine/lib/combine.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/combine/lib/combine.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
defmodule Combine do @moduledoc """ Main entry point for the Combine API. To use: defmodule Test do use Combine # defaults to parsers: [:text, :binary] # use Combine, parsers: [:text] # use Combine, parsers: [:binary] # use Combine, parsers: [] # does not import any parsers...
28.096386
83
0.609348
c8c13d21d367aaa793ef834e07dbda291edb247a
197
ex
Elixir
lib/queuetopia/migrations/v2.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
7
2020-08-06T21:58:13.000Z
2021-08-07T18:32:44.000Z
lib/queuetopia/migrations/v2.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
2
2020-10-22T11:53:45.000Z
2021-06-22T05:45:27.000Z
lib/queuetopia/migrations/v2.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
2
2020-11-04T00:23:43.000Z
2021-04-30T07:25:01.000Z
defmodule Queuetopia.Migrations.V2 do @moduledoc false use Ecto.Migration def up do create(index(:queuetopia_jobs, [:scheduled_at, :sequence])) end def down do :noop end end
14.071429
63
0.700508
c8c18f3096afd8e8e2692353093a94fe70a04191
2,946
ex
Elixir
lib/yggdrasil/subscriber/adapter/elixir.ex
jsangilve/yggdrasil
a2ee905e877b6a9d918d8858153a01aadf2d5d63
[ "MIT" ]
null
null
null
lib/yggdrasil/subscriber/adapter/elixir.ex
jsangilve/yggdrasil
a2ee905e877b6a9d918d8858153a01aadf2d5d63
[ "MIT" ]
null
null
null
lib/yggdrasil/subscriber/adapter/elixir.ex
jsangilve/yggdrasil
a2ee905e877b6a9d918d8858153a01aadf2d5d63
[ "MIT" ]
null
null
null
defmodule Yggdrasil.Subscriber.Adapter.Elixir do @moduledoc """ Yggdrasil subscriber adapter for Elixir. The name of the channel can be any arbitrary term e.g: Subscription to channel: ```elixir iex(1)> alias Yggdrasil.Channel iex(2)> sub_channel = %Channel{ ...(2)> name: {:test, "elixir_channel"}, ...
26.070796
79
0.617787
c8c1acbf4d518c5be8b58203616a8dae82325b16
240
exs
Elixir
test/test_helper.exs
happycodrz/webassembly
b63db4999e1219b71a9a9f9ad072f74296fe9080
[ "BSD-2-Clause" ]
null
null
null
test/test_helper.exs
happycodrz/webassembly
b63db4999e1219b71a9a9f9ad072f74296fe9080
[ "BSD-2-Clause" ]
null
null
null
test/test_helper.exs
happycodrz/webassembly
b63db4999e1219b71a9a9f9ad072f74296fe9080
[ "BSD-2-Clause" ]
null
null
null
ExUnit.start() defmodule WebAssembly.TestHelper do def flush(doc) do doc |> WebAssembly.Tools.Output.flush() |> no_lf end def no_lf(s), do: String.replace(s, "\n", "") def no_indent(s), do: Regex.replace(~r/^\s+/m, s, "") end
21.818182
55
0.641667
c8c26cef2a73e171fc40f977ff8a2f800285a4ab
165
ex
Elixir
lib/mix/tasks/exq.ui.ex
hieu292/exq_ui
9554f5ec2990fdd03fc07bac2862be874c9c6c64
[ "Apache-2.0" ]
1
2021-01-20T04:13:01.000Z
2021-01-20T04:13:01.000Z
lib/mix/tasks/exq.ui.ex
hieu292/exq_ui
9554f5ec2990fdd03fc07bac2862be874c9c6c64
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/exq.ui.ex
hieu292/exq_ui
9554f5ec2990fdd03fc07bac2862be874c9c6c64
[ "Apache-2.0" ]
3
2021-04-07T14:53:29.000Z
2021-04-07T14:53:49.000Z
defmodule Mix.Tasks.Exq.Ui do use Mix.Task @shortdoc "Starts the Exq UI Server" def run(_args) do ExqUi.launch_app :timer.sleep(:infinity) end end
15
38
0.690909
c8c2d66c16c71aa260163ad093d910ffc6565576
120
exs
Elixir
test/identicon_test.exs
ankos/identicon
983aa8ac503602d39b8ab4531c3d1ad0c255e5bc
[ "Apache-2.0" ]
5
2017-09-08T13:49:55.000Z
2018-06-06T07:44:59.000Z
test/identicon_test.exs
ankos/identicon
983aa8ac503602d39b8ab4531c3d1ad0c255e5bc
[ "Apache-2.0" ]
null
null
null
test/identicon_test.exs
ankos/identicon
983aa8ac503602d39b8ab4531c3d1ad0c255e5bc
[ "Apache-2.0" ]
4
2017-09-08T13:50:02.000Z
2018-06-07T04:48:44.000Z
defmodule IdenticonTest do use ExUnit.Case doctest Identicon test "the truth" do assert 1 + 1 == 2 end end
13.333333
26
0.683333
c8c2f84f77d069724fe0a203f0e5cd4c6cb0a2f6
1,618
ex
Elixir
echo/lib/echo/game/eraser.ex
mrjbj/liveview_sept_2021
1722a9527acef2b4584810976fecc507cc3eda8b
[ "MIT" ]
null
null
null
echo/lib/echo/game/eraser.ex
mrjbj/liveview_sept_2021
1722a9527acef2b4584810976fecc507cc3eda8b
[ "MIT" ]
null
null
null
echo/lib/echo/game/eraser.ex
mrjbj/liveview_sept_2021
1722a9527acef2b4584810976fecc507cc3eda8b
[ "MIT" ]
null
null
null
defmodule Echo.Game.Eraser do @moduledoc """ Eraser structure includes a :phrase (which is word or phrase to be memorized), along with a :plan, which is a list of "chunks", each containing the precomputed set of letters that will be replaced with a "_" character, to mask the phrase to be memorized. new: pa...
34.425532
106
0.68974
c8c2f8e2b661242a6021547739e65c2b09c2b6cf
2,654
exs
Elixir
test/guardian/plug/load_resource_test.exs
gestsol/guardian
ee173c7ff0343d77cf10c559bd11ac2c88804ad8
[ "MIT" ]
null
null
null
test/guardian/plug/load_resource_test.exs
gestsol/guardian
ee173c7ff0343d77cf10c559bd11ac2c88804ad8
[ "MIT" ]
null
null
null
test/guardian/plug/load_resource_test.exs
gestsol/guardian
ee173c7ff0343d77cf10c559bd11ac2c88804ad8
[ "MIT" ]
null
null
null
defmodule Guardian.Plug.LoadResourceTest do @moduledoc false use Plug.Test use ExUnit.Case, async: true alias Guardian.Plug, as: GPlug alias GPlug.{LoadResource} @resource %{id: "bobby"} defmodule Handler do @moduledoc false import Plug.Conn def auth_error(conn, {type, reason}, _opts) do...
26.808081
95
0.631876
c8c3072be39f35ca08845306cf092df01e12d12b
900
exs
Elixir
test/helper/audit_bot_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
2
2018-03-26T08:56:21.000Z
2018-07-02T22:34:51.000Z
test/helper/audit_bot_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2018-03-21T03:40:50.000Z
2018-07-10T06:33:10.000Z
test/helper/audit_bot_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
null
null
null
defmodule GroupherServer.Test.Helper.AuditBot do @moduledoc false use GroupherServerWeb.ConnCase, async: true alias Helper.AuditBot describe "[general test]" do test "illgal words should be detected" do {:error, result} = AuditBot.analysis(:text, "<div>M卖批, 这也太操蛋了, 党中央</div>") assert result =...
27.272727
80
0.544444
c8c3204463677ae2c10a4128efa3fd86b5481e09
72
exs
Elixir
apps/bbq_ui/test/views/layout_view_test.exs
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
2
2016-09-22T13:32:35.000Z
2017-02-17T20:26:50.000Z
apps/bbq_ui/test/views/layout_view_test.exs
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
null
null
null
apps/bbq_ui/test/views/layout_view_test.exs
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
null
null
null
defmodule BbqUi.LayoutViewTest do use BbqUi.ConnCase, async: true end
18
33
0.805556
c8c327c0ef414dca481f021dcb596fa5ca0fe8f1
490
exs
Elixir
apps/plant_monitor_web/test/plant_monitor_web/views/api/user_view_test.exs
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
2
2019-01-25T21:21:56.000Z
2021-02-24T08:18:51.000Z
apps/plant_monitor_web/test/plant_monitor_web/views/api/user_view_test.exs
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
apps/plant_monitor_web/test/plant_monitor_web/views/api/user_view_test.exs
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
defmodule PlantMonitorWeb.API.UserViewTest do use PlantMonitorWeb.ConnCase alias PlantMonitorWeb.API.UserView # CORRECT REGISTER JSON test "[USER VIEW][CORRECT_REGISTER.JSON] Confirm correct register new user" do correct = %PlantMonitorWeb.Structs.ConfirmResponse{ message: "Correct registed in Plant...
28.823529
89
0.744898
c8c32a4e6a3a6ee905db6cc5f53c8f71c7db4342
1,277
ex
Elixir
test/support/pages/contact_investigation_conclude_quarantine_monitoring.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/pages/contact_investigation_conclude_quarantine_monitoring.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/pages/contact_investigation_conclude_quarantine_monitoring.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Test.Pages.ContactInvestigationConcludeQuarantineMonitoring do import ExUnit.Assertions import Phoenix.LiveViewTest alias Epicenter.ContactInvestigations.ContactInvestigation alias Epicenter.Test alias EpicenterWeb.Test.Pages alias Phoenix.LiveViewTest.View def assert_here(view_or...
34.513514
120
0.75646
c8c32bcde5a4e487e7035bb99fe7d050f81bb3fc
92
exs
Elixir
test/your_sanctuary_web/views/page_view_test.exs
InFact-coop/your-sanctuary
066e3b99ae52ee0d3fddac80b6aaf65ffef2bd0f
[ "BSD-3-Clause" ]
2
2018-10-23T13:30:00.000Z
2018-10-24T14:32:52.000Z
test/your_sanctuary_web/views/page_view_test.exs
InFact-coop/your-sanctuary
066e3b99ae52ee0d3fddac80b6aaf65ffef2bd0f
[ "BSD-3-Clause" ]
60
2018-10-23T13:39:19.000Z
2019-02-11T14:18:01.000Z
test/your_sanctuary_web/views/page_view_test.exs
InFact-coop/your-sanctuary
066e3b99ae52ee0d3fddac80b6aaf65ffef2bd0f
[ "BSD-3-Clause" ]
null
null
null
defmodule YourSanctuaryWeb.PageViewTest do use YourSanctuaryWeb.ConnCase, async: true end
23
44
0.847826
c8c36c4099d263ed009907885c73f0b6dc42018a
680
ex
Elixir
lib/hacker_news_aggregator/application.ex
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
lib/hacker_news_aggregator/application.ex
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
lib/hacker_news_aggregator/application.ex
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
defmodule HackerNewsAggregator.Application do @moduledoc false use Application import Supervisor.Spec def start(_type, _args) do children = [ HackerNewsAggregatorWeb.Endpoint ] ++ runtime_children(Mix.env()) opts = [strategy: :one_for_one, name: HackerNewsAggregator.Supervisor] ...
22.666667
74
0.704412
c8c37035b723bcd5dfba797121844fe80d530a4f
242
exs
Elixir
priv/repo/migrations/20220321020901_create_recipes.exs
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
priv/repo/migrations/20220321020901_create_recipes.exs
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
priv/repo/migrations/20220321020901_create_recipes.exs
Baradoy/topshelf
bd3d5f96b3d3840990231cf244cc5f14bd807997
[ "MIT" ]
null
null
null
defmodule Topshelf.Repo.Migrations.CreateRecipes do use Ecto.Migration def change do create table(:recipes) do add :name, :string add :image_url, :string add :directions, :text timestamps() end end end
17.285714
51
0.661157
c8c3b66e648ee31f0cbf5ac2a9ce53dbffab84bd
49,645
ex
Elixir
lib/tinymesh/proto.ex
tinymesh/tm-proto-elixir
54a796c89de697526e30e4c54975a4caa475cc30
[ "BSD-2-Clause" ]
2
2017-10-30T11:45:38.000Z
2017-11-14T18:03:55.000Z
lib/tinymesh/proto.ex
tinymesh/tm-proto-elixir
54a796c89de697526e30e4c54975a4caa475cc30
[ "BSD-2-Clause" ]
null
null
null
lib/tinymesh/proto.ex
tinymesh/tm-proto-elixir
54a796c89de697526e30e4c54975a4caa475cc30
[ "BSD-2-Clause" ]
null
null
null
defmodule Tinymesh.Proto do @moduledoc """ # Tiny Mesh Protocol {: data-path=proto } """ Module.register_attribute __MODULE__, :autodoc, accumulate: true # Save documentation on compile so it can be picked up by external tools @after_compile __MODULE__ def __after_compile__(_env, _bytecode) do do...
33.296445
113
0.576815
c8c3dcedbfb293c54764807beeeaed3aab29a795
388
ex
Elixir
lib/firestorm_web/web/views/error_view.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
10
2017-06-28T08:06:52.000Z
2022-03-19T17:49:21.000Z
lib/firestorm_web/web/views/error_view.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
4
2021-03-01T21:25:42.000Z
2022-02-10T23:50:11.000Z
lib/firestorm_web/web/views/error_view.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
2
2017-10-21T12:01:02.000Z
2021-01-29T10:26:22.000Z
defmodule FirestormWeb.Web.ErrorView do use FirestormWeb.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_fo...
21.555556
47
0.706186
c8c3f46c7e5afb700b47e80ce0b3abd64755210c
18,383
ex
Elixir
lib/ex_crypto.ex
ntrepid8/elixir-crypto
0997a1aaebe701523c0a9b71d4acec4a1819354e
[ "MIT" ]
null
null
null
lib/ex_crypto.ex
ntrepid8/elixir-crypto
0997a1aaebe701523c0a9b71d4acec4a1819354e
[ "MIT" ]
null
null
null
lib/ex_crypto.ex
ntrepid8/elixir-crypto
0997a1aaebe701523c0a9b71d4acec4a1819354e
[ "MIT" ]
null
null
null
defmodule ExCrypto do @moduledoc """ The ExCrypto module exposes a subset of functionality from the Erlang `crypto` module with the goal of making it easier to include strong cryptography in your Elixir applications. This module provides functions for symmetric-key cryptographic operations using AES in GCM...
35.55706
119
0.680139
c8c3f57ef3a1d66cbd43c4a368eaf24a5fa3f4f6
2,222
ex
Elixir
lib/coophub/application.ex
patcon/coophub
8ef6f1b86498515b1628e020e505449d97dde08a
[ "MIT" ]
2
2021-03-19T14:35:24.000Z
2022-01-06T18:36:11.000Z
lib/coophub/application.ex
camplight/coophub
317b65be4f608f251d0e38b5385ac66c468f8850
[ "MIT" ]
null
null
null
lib/coophub/application.ex
camplight/coophub
317b65be4f608f251d0e38b5385ac66c468f8850
[ "MIT" ]
null
null
null
defmodule Coophub.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application import Cachex.Spec require Logger @repos_cache_name Application.get_env(:coophub, :main_cache_name) @uris_cache_name Application.get_env(:cooph...
29.236842
113
0.676868
c8c4023af79ba0f7025e1f60d9776e58d6c6e991
731
exs
Elixir
test/type_check/type_test.exs
0urobor0s/elixir-type_check
6bac178f4a55798034b12c1dcfb219eabcfb35c0
[ "MIT" ]
null
null
null
test/type_check/type_test.exs
0urobor0s/elixir-type_check
6bac178f4a55798034b12c1dcfb219eabcfb35c0
[ "MIT" ]
null
null
null
test/type_check/type_test.exs
0urobor0s/elixir-type_check
6bac178f4a55798034b12c1dcfb219eabcfb35c0
[ "MIT" ]
null
null
null
defmodule TypeCheck.TypeTest do use ExUnit.Case, async: true use ExUnitProperties import StreamData, only: [] require TypeCheck.Type import TypeCheck.Builtin doctest TypeCheck.Type doctest TypeCheck.Type.StreamData test "check whether we can print a type built from a Stream struct" do # c.f. htt...
31.782609
132
0.733242
c8c4352e442606d15c1e47d945c2cf57d984f947
561
ex
Elixir
app/phxfeeds/lib/phxfeeds_web/views/changeset_view.ex
chrispaynes/PhoenixFeeds
dd6451b96c8005eff94727da760a3716ecb18545
[ "MIT" ]
null
null
null
app/phxfeeds/lib/phxfeeds_web/views/changeset_view.ex
chrispaynes/PhoenixFeeds
dd6451b96c8005eff94727da760a3716ecb18545
[ "MIT" ]
null
null
null
app/phxfeeds/lib/phxfeeds_web/views/changeset_view.ex
chrispaynes/PhoenixFeeds
dd6451b96c8005eff94727da760a3716ecb18545
[ "MIT" ]
null
null
null
defmodule PhxfeedsWeb.ChangesetView do use PhxfeedsWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `PhxfeedsWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset,...
28.05
65
0.73975
c8c453b38dd4e3d26a09cfb4c32a19f7817f2b2a
2,964
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/model/activity_events.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/admin/lib/google_api/admin/reports_v1/model/activity_events.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/admin/lib/google_api/admin/reports_v1/model/activity_events.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...
54.888889
759
0.748313
c8c4a52dfc8b415773d96f2898e7ba36983f8060
1,619
exs
Elixir
testserver/config/dev.exs
abhisheknigam/Phoenix-Twitter-Application
9a793037e90a7abc6ced6979b0562ce45ece624a
[ "MIT" ]
null
null
null
testserver/config/dev.exs
abhisheknigam/Phoenix-Twitter-Application
9a793037e90a7abc6ced6979b0562ce45ece624a
[ "MIT" ]
null
null
null
testserver/config/dev.exs
abhisheknigam/Phoenix-Twitter-Application
9a793037e90a7abc6ced6979b0562ce45ece624a
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :testserver, TestserverWeb.Endpoint, http: [po...
33.040816
170
0.714639
c8c4a8a8f503939f043f8e8c572b0ceb4d942b3c
2,276
exs
Elixir
test/whois_test.exs
andruby/whois.ex
07a33eeac40bf14907e9ee1c9032a6a694157a74
[ "MIT" ]
null
null
null
test/whois_test.exs
andruby/whois.ex
07a33eeac40bf14907e9ee1c9032a6a694157a74
[ "MIT" ]
null
null
null
test/whois_test.exs
andruby/whois.ex
07a33eeac40bf14907e9ee1c9032a6a694157a74
[ "MIT" ]
null
null
null
defmodule WhoisTest do use ExUnit.Case doctest Whois setup_all do {:ok, _pid} = Whois.DomainList.start_link() :ok end defp pmap(collection, fun) do me = self collection |> Enum.map(fn x -> spawn_link(fn -> send(me, {self, fun.(x)}) end) end) |> Enum.map(fn pid...
25.288889
121
0.645431
c8c4b7667dad7b86eb9f172254b705cbaeab17a1
170
ex
Elixir
src/elixir/irc/lib/channel_state.ex
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
src/elixir/irc/lib/channel_state.ex
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
src/elixir/irc/lib/channel_state.ex
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
defmodule ChannelState do @enforce_keys [:name, :users] defstruct name: nil, users: nil @type t :: %__MODULE__{ name: atom(), users: Process.dest() } end
18.888889
33
0.647059
c8c4dba6f19ae7849b5a0f74b606d037c52a81e8
533
ex
Elixir
examples/server/lib/server_web/views/error_view.ex
charaku/phoenix_wings
b2881ecaea0841d6c27e903ca8965c3ccb6a39c9
[ "MIT" ]
132
2017-12-30T06:12:34.000Z
2022-03-13T16:16:24.000Z
examples/server/lib/server_web/views/error_view.ex
charaku/phoenix_wings
b2881ecaea0841d6c27e903ca8965c3ccb6a39c9
[ "MIT" ]
25
2018-04-04T14:40:30.000Z
2022-03-23T21:25:17.000Z
examples/server/lib/server_web/views/error_view.ex
charaku/phoenix_wings
b2881ecaea0841d6c27e903ca8965c3ccb6a39c9
[ "MIT" ]
46
2018-03-18T17:35:21.000Z
2022-03-23T20:37:01.000Z
defmodule ServerWeb.ErrorView do use ServerWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from ...
31.352941
83
0.718574
c8c4e5bf0d1bd6fd465711a7d85d394001d1d8b6
12,942
ex
Elixir
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/api/managed_clusters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/api/managed_clusters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/api/managed_clusters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Containers.Api.ManagedClusters do @moduledoc """ API calls for all endpoints tagged `ManagedClusters`. """ ali...
52.396761
267
0.749266
c8c4f35548be06c57811c5ec1caa5836609e5e9a
1,558
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/sign_blob_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/sign_blob_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/sign_blob_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
30.54902
83
0.726573
c8c4ff2cedb2ec18470ed9a94984b611206b1211
1,698
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/label_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_user/lib/google_api/service_user/v1/model/label_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_user/lib/google_api/service_user/v1/model/label_descriptor.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...
32.037736
110
0.707303
c8c5047b780837576870fef48438c5e6aead3cc1
465
ex
Elixir
lib/room_handler.ex
rviscarra/ft-chat
a3ca0eab4e740c079e608a832e51a6385b275c11
[ "MIT" ]
null
null
null
lib/room_handler.ex
rviscarra/ft-chat
a3ca0eab4e740c079e608a832e51a6385b275c11
[ "MIT" ]
null
null
null
lib/room_handler.ex
rviscarra/ft-chat
a3ca0eab4e740c079e608a832e51a6385b275c11
[ "MIT" ]
null
null
null
defmodule FtChat.RoomHandler do alias FtChat.ChatRoom.Manager, as: Manager def init({:tcp, :http}, req, _opts) do {:ok, req, nil} end def handle(req, state) do headers = [ {"Content-Type", "application/json"} ] {:ok, response_body} = JSON.encode %{rooms: Manager.all_rooms} {:ok, req}...
21.136364
68
0.632258
c8c50f96b7760d501c1f5238544bc4ad2d0d19bf
34,041
ex
Elixir
lib/ecto/repo.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo do @moduledoc """ Defines a repository. A repository maps to an underlying data store, controlled by the adapter. For example, Ecto ships with a Postgres adapter that stores data into a PostgreSQL database. When used, the repository expects the `:otp_app` as option. The `:otp_app` sh...
35.057673
132
0.668782
c8c510d127259c9def307dc82eb8cf6a53011b2a
1,469
exs
Elixir
test/tradehub/tx/create_validator_test.exs
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-04T16:54:25.000Z
2021-12-15T06:53:24.000Z
test/tradehub/tx/create_validator_test.exs
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-19T04:49:00.000Z
2021-06-01T13:36:50.000Z
test/tradehub/tx/create_validator_test.exs
anhmv/tradehub-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
null
null
null
defmodule TradehubTest.Tx.CreateValidatorTest do use ExUnit.Case, async: true alias Tradehub.Tx.MsgInvalid alias Tradehub.Tx.CreateValidator import Tradehub.Tx.CreateValidator setup do { :ok, payload: %CreateValidator{ description: %{ moniker: "a", identity: "a",...
29.38
87
0.60177
c8c51e16e261dc465b20bf8e8c5392bdb1870a18
37,271
ex
Elixir
lib/elixir/lib/supervisor.ex
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
alexcastano/elixir
0221ce1f79d1cfd0955a9fa46a6d84d0193ad838
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
defmodule Supervisor do @moduledoc ~S""" A behaviour module for implementing supervisors. A supervisor is a process which supervises other processes, which we refer to as *child processes*. Supervisors are used to build a hierarchical process structure called a *supervision tree*. Supervision trees provide ...
37.723684
98
0.696091
c8c52cd06c4e71131dd44c7332edbb7a805d22f3
70,217
ex
Elixir
lib/phoenix_live_view.ex
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
smeade/phoenix_live_view
c981846c1e350bc689c28b4cbdaeffe1e30240b2
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView do @moduledoc ~S''' LiveView provides rich, real-time user experiences with server-rendered HTML. LiveView programming model is declarative: instead of saying "once event X happens, change Y on the page", events in LiveView are regular messages which may cause changes to its st...
39.51435
111
0.696441
c8c54cdddd2a522dcae826ae6f333438dd9bd26e
7,865
exs
Elixir
test/ueberauth/strategy/cognito/jwt_verifier_test.exs
alexiob/ueberauth_cognito
356233a6e7ed675f93523535b939b3bcabbda94e
[ "MIT" ]
null
null
null
test/ueberauth/strategy/cognito/jwt_verifier_test.exs
alexiob/ueberauth_cognito
356233a6e7ed675f93523535b939b3bcabbda94e
[ "MIT" ]
null
null
null
test/ueberauth/strategy/cognito/jwt_verifier_test.exs
alexiob/ueberauth_cognito
356233a6e7ed675f93523535b939b3bcabbda94e
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Cognito.JwtVerifierTest do use ExUnit.Case @test_private_key_1 """ -----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAt4O2goXo+KNUQhV6l52gtVddeN/8Fts+AFn6V7e5LzEX9zlQ 2WbvMqb2/Jk7B30I2BRGPSo2ugrRJ1VwGjCYL95OuOWAKIxTqPtMfdk6sNbSxqyb dHDYcWA2HWx0tgYOe7dRcNUT8EOh1oy5BMaMorsHwVGM+JDMk...
38.365854
97
0.72384
c8c56c7772c7cb84d3e787b63c019e0e17b23940
646
ex
Elixir
agma/lib/agma/consumer.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
37
2021-01-31T17:43:03.000Z
2021-11-17T12:29:00.000Z
lib/agma/consumer.ex
queer/agma
f240a7bdf743049b8b1b994ee340b6cce47551bf
[ "BSD-3-Clause" ]
4
2021-05-29T04:54:28.000Z
2021-06-26T20:40:48.000Z
lib/agma/consumer.ex
queer/agma
f240a7bdf743049b8b1b994ee340b6cce47551bf
[ "BSD-3-Clause" ]
null
null
null
defmodule Agma.Consumer do use Singyeong.Consumer alias Mahou.Message require Logger def start_link do Consumer.start_link __MODULE__ end def handle_event({:send, _nonce, event}) do process event end def handle_event({:broadcast, _nonce, event}) do process event end defp process(even...
17.944444
57
0.656347
c8c58b57dbdd6542b3cbaefddc94cf5bb0cb8510
3,460
ex
Elixir
lib/battle_city/protocols/display.ex
clszzyh/battle_city_core
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
null
null
null
lib/battle_city/protocols/display.ex
clszzyh/battle_city_core
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
38
2020-12-17T12:40:44.000Z
2022-03-31T02:05:59.000Z
lib/battle_city/protocols/display.ex
clszzyh/battle_city
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
null
null
null
defmodule BattleCity.Display do @moduledoc false @spec columns(ComplexDisplay.t(), keyword()) :: keyword def columns(o, opts \\ []) do SimpleDisplay.columns(o) ++ ComplexDisplay.columns(o, Map.new(opts)) end end # defprotocol Grid do # @spec grid(t) :: BattleCity.Context.grid() # def grid(struct) # en...
25.255474
82
0.585838
c8c5a1cb4d4d7e415968deeb2660973b030dc207
741
ex
Elixir
lib/artprize/endpoint.ex
andrewbredow/artprize-vote-phoenix
01f597e85d935da114d48527b8bf1e32e4a3ad0a
[ "MIT" ]
2
2015-11-18T16:44:19.000Z
2018-04-04T16:54:42.000Z
lib/artprize/endpoint.ex
andrewbredow/artprize-vote-phoenix
01f597e85d935da114d48527b8bf1e32e4a3ad0a
[ "MIT" ]
null
null
null
lib/artprize/endpoint.ex
andrewbredow/artprize-vote-phoenix
01f597e85d935da114d48527b8bf1e32e4a3ad0a
[ "MIT" ]
null
null
null
defmodule Artprize.Endpoint do use Phoenix.Endpoint, otp_app: :artprize # Serve at "/" the given assets from "priv/static" directory plug Plug.Static, at: "/", from: :artprize, only: ~w(css images js favicon.ico robots.txt) plug Plug.Logger # Code reloading will only work if the :code_reloader key ...
23.903226
64
0.692308
c8c5ff8acad317884f929f7445582fde2298d1c2
1,736
ex
Elixir
clients/games/lib/google_api/games/v1/model/push_token_id_ios.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/games/lib/google_api/games/v1/model/push_token_id_ios.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/push_token_id_ios.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 ...
34.72
186
0.734447
c8c609c80a281c03de078a3a8e6949df1cb79f37
506
exs
Elixir
mix.exs
jordan0day/packet-api-elixir
069e96888f1d5858586bff224f09408e671924d3
[ "Unlicense" ]
1
2020-01-27T00:49:16.000Z
2020-01-27T00:49:16.000Z
mix.exs
jordan0day/packet-api-elixir
069e96888f1d5858586bff224f09408e671924d3
[ "Unlicense" ]
null
null
null
mix.exs
jordan0day/packet-api-elixir
069e96888f1d5858586bff224f09408e671924d3
[ "Unlicense" ]
null
null
null
defmodule PacketApi.MixProject do use Mix.Project def project do [ app: :packet_api, version: "0.1.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extr...
17.448276
59
0.561265
c8c64625b6e08b733f4d18ad0ec1e5b6ca46820e
574
ex
Elixir
lib/chaos_monkey_ex/application.ex
lambdaclass/chaos_monkey_ex
124d799936938b4d054f5b378721e69d345af08a
[ "MIT" ]
2
2021-11-03T15:30:05.000Z
2021-12-17T18:04:50.000Z
lib/chaos_monkey_ex/application.ex
lambdaclass/chaos_monkey_ex
124d799936938b4d054f5b378721e69d345af08a
[ "MIT" ]
null
null
null
lib/chaos_monkey_ex/application.ex
lambdaclass/chaos_monkey_ex
124d799936938b4d054f5b378721e69d345af08a
[ "MIT" ]
null
null
null
defmodule ChaosMonkeyEx.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, options) do children = [ # Starts a worker by calling: ChaosMonkeyEx.Worker.start_link(arg) {Chaos...
27.333333
72
0.724739
c8c68aee433445479e39d6061102724c1a481707
10,743
ex
Elixir
lib/phoenix_live_view/upload.ex
tcoopman/phoenix_live_view
b16e4e3982387fd6a5be03fddfd6cb17165a5ded
[ "MIT" ]
null
null
null
lib/phoenix_live_view/upload.ex
tcoopman/phoenix_live_view
b16e4e3982387fd6a5be03fddfd6cb17165a5ded
[ "MIT" ]
null
null
null
lib/phoenix_live_view/upload.ex
tcoopman/phoenix_live_view
b16e4e3982387fd6a5be03fddfd6cb17165a5ded
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Upload do # Operations integrating Phoenix.LiveView.Socket with UploadConfig. @moduledoc false alias Phoenix.LiveView.{Socket, Utils, UploadConfig, UploadEntry} @refs_to_names :__phoenix_refs_to_names__ @doc """ Allows an upload. """ def allow_upload(%Socket{} = socket, nam...
31.597059
106
0.643023
c8c6cb1ec59ac1ed1e55687ecbbd17bbc73a7b37
783
exs
Elixir
test/mop8/adapter/message_store_test.exs
mopp/mop8
e256f0fe3b6bcb7c2df2482d4f09d9c972e9ba04
[ "MIT" ]
null
null
null
test/mop8/adapter/message_store_test.exs
mopp/mop8
e256f0fe3b6bcb7c2df2482d4f09d9c972e9ba04
[ "MIT" ]
null
null
null
test/mop8/adapter/message_store_test.exs
mopp/mop8
e256f0fe3b6bcb7c2df2482d4f09d9c972e9ba04
[ "MIT" ]
null
null
null
defmodule Mop8.Adapter.MessageStoreTest do use ExUnit.Case alias Mop8.Adapter.MessageStore alias Mop8.Bot.Message alias Mop8.Bot.Repo @tag :tmp_dir test "insert/2 and all/1 stores the given message and loads the all messages", %{ tmp_dir: tmp_dir } do store = MessageStore.new( [tmp...
27
91
0.648787
c8c6d45a9cc1a5cc44fc08142e0c9718ee16b2c5
156
ex
Elixir
web/controllers/page_controller.ex
TobiG77/phoenix_api_sample
5d2e69537562ce921b8aa6c2b0d8cd3710490907
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
TobiG77/phoenix_api_sample
5d2e69537562ce921b8aa6c2b0d8cd3710490907
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
TobiG77/phoenix_api_sample
5d2e69537562ce921b8aa6c2b0d8cd3710490907
[ "MIT" ]
null
null
null
defmodule PhoenixApiSample.PageController do use PhoenixApiSample.Web, :controller def index(conn, _params) do render conn, "index.html" end end
19.5
44
0.762821
c8c6f05dd3d104d6285bc088c3ec0bdebd7e8584
9,896
ex
Elixir
lib/broadway/options.ex
kenspirit/broadway
189165efc4c8415f53a544f62d1232e74dddc9a9
[ "Apache-2.0" ]
null
null
null
lib/broadway/options.ex
kenspirit/broadway
189165efc4c8415f53a544f62d1232e74dddc9a9
[ "Apache-2.0" ]
null
null
null
lib/broadway/options.ex
kenspirit/broadway
189165efc4c8415f53a544f62d1232e74dddc9a9
[ "Apache-2.0" ]
null
null
null
defmodule Broadway.Options do @moduledoc false definition = [ name: [ required: true, type: {:custom, __MODULE__, :validate_name, []}, doc: """ Used for name registration. When an atom, all processes/stages created will be named using this value as prefix. """ ], shu...
32.552632
96
0.535166
c8c6fb6c484254f278a5984ec1388a4be231ce41
74
exs
Elixir
test/tosh_web/views/page_view_test.exs
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
test/tosh_web/views/page_view_test.exs
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
test/tosh_web/views/page_view_test.exs
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
defmodule ToshWeb.PageViewTest do use ToshWeb.ConnCase, async: true end
18.5
35
0.810811
c8c70d393f47dcb3b87ca6ebba959c0fa69c7182
300
ex
Elixir
lib/central_web/views/account/user_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central_web/views/account/user_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central_web/views/account/user_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule CentralWeb.Account.UserView do use CentralWeb, :view @spec colours :: {String.t(), String.t(), String.t()} def colours, do: Central.Helpers.StylingHelper.colours(:success) @spec icon :: String.t() def icon, do: "fas fa-user" @spec name :: String.t() def name, do: "user" end
27.272727
66
0.673333
c8c76df940112d0fb9fc28942440a24bf1d85654
278
exs
Elixir
config/test.exs
obahareth/twitter-relations-grapher
952df9569d7d794a5446ea4f14cf5e1cde08f5df
[ "MIT" ]
1
2017-06-07T22:53:52.000Z
2017-06-07T22:53:52.000Z
config/test.exs
obahareth/twitter-relations-grapher
952df9569d7d794a5446ea4f14cf5e1cde08f5df
[ "MIT" ]
null
null
null
config/test.exs
obahareth/twitter-relations-grapher
952df9569d7d794a5446ea4f14cf5e1cde08f5df
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :twitter_grapher, TwitterGrapher.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
25.272727
56
0.748201
c8c7788b3e44e0e71984b0ebc95ef2dc002fc8b6
838
exs
Elixir
mix.exs
wisq/elixir-rcon
e7fce868c9fd607ad7122cef3f3e2ca7ce4b2468
[ "MIT" ]
null
null
null
mix.exs
wisq/elixir-rcon
e7fce868c9fd607ad7122cef3f3e2ca7ce4b2468
[ "MIT" ]
null
null
null
mix.exs
wisq/elixir-rcon
e7fce868c9fd607ad7122cef3f3e2ca7ce4b2468
[ "MIT" ]
null
null
null
defmodule RCON.Mixfile do use Mix.Project @version "0.3.0" @description """ Source compatible RCON implementation """ def project, do: [ app: :rcon, version: @version, elixir: "~> 1.7", deps: deps(), package: package(), description: @description, # Documentation name: "RCON", docs: docs() ]...
17.829787
63
0.609785
c8c79542c5646d8c924b56594b6f6ed4f319c728
1,725
exs
Elixir
test/lib/plaid/accounts_test.exs
pdgonzalez872/plaid-elixir
90d14c24fc95cb4629920aadc14880bae3f5e28b
[ "MIT" ]
50
2016-10-19T16:34:27.000Z
2022-03-17T03:55:54.000Z
test/lib/plaid/accounts_test.exs
pdgonzalez872/plaid-elixir
90d14c24fc95cb4629920aadc14880bae3f5e28b
[ "MIT" ]
47
2017-11-08T19:19:09.000Z
2022-03-23T00:53:22.000Z
test/lib/plaid/accounts_test.exs
pdgonzalez872/plaid-elixir
90d14c24fc95cb4629920aadc14880bae3f5e28b
[ "MIT" ]
40
2016-10-27T14:39:14.000Z
2022-03-01T01:03:17.000Z
defmodule Plaid.AccountsTest do use ExUnit.Case import Plaid.Factory setup do bypass = Bypass.open() Application.put_env(:plaid, :root_uri, "http://localhost:#{bypass.port}/") {:ok, bypass: bypass} end describe "accounts" do test "get/1 requests POST and returns Plaid.Accounts", %{bypass: b...
31.363636
87
0.633623
c8c7a5b7212496c6f4e3b33c4df8a31e060b4708
294
exs
Elixir
priv/repo/migrations/20210731142604_teiserver_user_stats.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
priv/repo/migrations/20210731142604_teiserver_user_stats.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
priv/repo/migrations/20210731142604_teiserver_user_stats.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Repo.Migrations.TeiserverUserStats do use Ecto.Migration def change do create table(:teiserver_account_user_stats, primary_key: false) do add :user_id, references(:account_users, on_delete: :nothing), primary_key: true add :data, :jsonb end end end
26.727273
86
0.744898
c8c7c51d695f4976e8523a0d10305b29021b077f
14,961
ex
Elixir
lib/livebook_web/live/live_helpers.ex
axelson/livebook
78b9a11d8c3dac78c648cc7903343ea09f45efd9
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/live_helpers.ex
axelson/livebook
78b9a11d8c3dac78c648cc7903343ea09f45efd9
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/live_helpers.ex
axelson/livebook
78b9a11d8c3dac78c648cc7903343ea09f45efd9
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.LiveHelpers do use Phoenix.Component alias Phoenix.LiveView.JS @doc """ Wraps the given content in a modal dialog. ## Example <.modal id="edit-modal" patch={...}> <.live_component module={MyComponent} /> </.modal> """ def modal(assigns) do assigns = ...
28.938104
143
0.553439