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
93f2fa5be3f1cc0d00a0bddc39d5f224ebb662c7
2,454
exs
Elixir
config/prod.exs
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
2
2019-02-18T10:07:25.000Z
2019-02-18T10:07:41.000Z
config/prod.exs
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
null
null
null
config/prod.exs
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
34.083333
69
0.713936
93f32469616d5619b932aecdb51ff49d1e82202e
3,431
ex
Elixir
lib/elixir/lib/range.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/elixir/lib/range.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/range.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
defmodule Range do @moduledoc """ Defines a range. A range represents a discrete number of values where the first and last values are integers. Ranges can be either increasing (`first <= last`) or decreasing (`first > last`). Ranges are also always inclusive. A range is represented internally as a st...
25.414815
93
0.613232
93f32c496487209e522a965cda58b6b607e58810
4,009
ex
Elixir
lib/models/comment.ex
heikkari/dashium
d3f58033efac81e7f747091f2810caf2ce8f45ab
[ "MIT" ]
2
2021-09-05T23:23:00.000Z
2021-09-11T16:26:11.000Z
lib/models/comment.ex
heikkari/dashium
d3f58033efac81e7f747091f2810caf2ce8f45ab
[ "MIT" ]
null
null
null
lib/models/comment.ex
heikkari/dashium
d3f58033efac81e7f747091f2810caf2ce8f45ab
[ "MIT" ]
null
null
null
defmodule Models.Comment do defstruct [ :_id, :author, :likes, :dislikes, :body, :type, # 0 - level, 1 - profile :level, :percent, ] @spec to_string(Models.Comment) :: {:ok | :error, binary} def to_string(%__MODULE__{ type: type } = comment) do user = Models.User.get(comment...
27.272109
97
0.488152
93f37842d283521d4fba778e8cced814fbc513bf
1,605
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/source_context.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.148936
203
0.744548
93f37988af00a5f3d1fdfd5169c3dbabe1623665
141
ex
Elixir
lib/code_corps/random_icon_color/generator.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps/random_icon_color/generator.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps/random_icon_color/generator.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.RandomIconColor.Generator do def generate do ~w(blue green light_blue pink purple yellow) |> Enum.random end end
23.5
63
0.77305
93f37dbcddc07d90b87ce26ff515e1fe6fc43fca
179
exs
Elixir
test/faker/lorem/shakespeare_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
test/faker/lorem/shakespeare_test.exs
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
test/faker/lorem/shakespeare_test.exs
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker.ShakespeareTest do use ExUnit.Case, async: true doctest Faker.Lorem.Shakespeare doctest Faker.Lorem.Shakespeare.En doctest Faker.Lorem.Shakespeare.Ru end
22.375
36
0.804469
93f3974a4acdf8f15e82d9cf775cb3e3f8ecdb4d
5,186
exs
Elixir
mix.exs
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
mix.exs
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
mix.exs
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Mixfile do use Mix.Project @version "2.18.0" def project do [ app: :ex_cldr, version: @version, elixir: "~> 1.6", name: "Cldr", source_url: "https://github.com/elixir-cldr/cldr", docs: docs(), build_embedded: Mix.env() == :prod, start_permanent:...
29.299435
93
0.579059
93f397e69c534b44306b04ce6fb9af55514443e3
4,874
ex
Elixir
lib/changelog_web/helpers/admin_helpers.ex
mlineen/changelog.com
fb661d0cf3a4db731d46ef7f1cec44a5d1f4581a
[ "MIT" ]
1
2021-12-07T11:32:34.000Z
2021-12-07T11:32:34.000Z
lib/changelog_web/helpers/admin_helpers.ex
grouville/changelog.com
bd32ea5da444f209722dd4a23d4e4b701b4e2253
[ "MIT" ]
null
null
null
lib/changelog_web/helpers/admin_helpers.ex
grouville/changelog.com
bd32ea5da444f209722dd4a23d4e4b701b4e2253
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Helpers.AdminHelpers do use Phoenix.HTML alias Changelog.Repo alias ChangelogWeb.TimeView def error_class(form, field), do: if(form.errors[field], do: "error", else: "") def hidden_class(condition), do: if(condition, do: "hidden", else: "") def error_message(form, field) do ca...
27.693182
129
0.609971
93f3a1b3102a85e846496ad24027aeb09d899b95
1,852
ex
Elixir
lib/graphql/resolvers/version.ex
samuelnygaard/accent
db753badab1d885397b48a42ac3fb43024345467
[ "BSD-3-Clause" ]
1
2020-07-01T16:08:34.000Z
2020-07-01T16:08:34.000Z
lib/graphql/resolvers/version.ex
samuelnygaard/accent
db753badab1d885397b48a42ac3fb43024345467
[ "BSD-3-Clause" ]
2
2021-09-28T05:37:00.000Z
2022-02-26T10:10:15.000Z
lib/graphql/resolvers/version.ex
samuelnygaard/accent
db753badab1d885397b48a42ac3fb43024345467
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.GraphQL.Resolvers.Version do require Ecto.Query alias Accent.{ GraphQL.Paginated, Plugs.GraphQLContext, Project, Repo, Version } alias Movement.Builders.NewVersion, as: NewVersionBuilder alias Movement.Context alias Movement.Persisters.NewVersion, as: NewVersionPersist...
30.866667
107
0.62041
93f3b9641afd02cd45e561bdf98084cd28955294
1,835
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_proposals_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_proposals_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_proposals_response.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 ...
36.7
129
0.748229
93f418c7f8fefe911761304fdae52d43bcb8b8a3
1,566
exs
Elixir
config/prod.exs
urfolomeus/data_noms
144ecaf4e12ee0fef43736955e27dfe82779524c
[ "MIT" ]
null
null
null
config/prod.exs
urfolomeus/data_noms
144ecaf4e12ee0fef43736955e27dfe82779524c
[ "MIT" ]
null
null
null
config/prod.exs
urfolomeus/data_noms
144ecaf4e12ee0fef43736955e27dfe82779524c
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
30.115385
64
0.728608
93f436fc84d421bf4ba0374a180b5d971a89015c
1,239
ex
Elixir
mia_server/lib/mia_server/udp.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
mia_server/lib/mia_server/udp.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
mia_server/lib/mia_server/udp.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
defmodule MiaServer.UDP do use GenServer require Logger def start_link() do GenServer.start_link(__MODULE__, :ok, [name: __MODULE__]) end ## API def reply(ip, port, nil) do Logger.debug("No response to #{inspect ip}:#{inspect port}") end def reply(ip, port, message) do GenServer.cast(__MOD...
26.361702
98
0.66586
93f43c500464986b4495c4e04bc7923c07f5782f
571
ex
Elixir
lib/swagger/client/model/text_message_variable.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/model/text_message_variable.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/model/text_message_variable.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
1
2018-10-27T07:10:02.000Z
2018-10-27T07:10:02.000Z
# 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 Swagger.Client.Model.TextMessageVariable do @moduledoc """ A key/value pair variable in a text message. """ @derive [Poison.Encoder] de...
20.392857
75
0.684764
93f4441c1726b8ab1baf3ec357bd4a562722cfd7
8,703
ex
Elixir
lib/hex/state.ex
IvanIvanoff/hex
90aa44fa8a1e59f2ae65f490edb984e4d6c853d1
[ "Apache-2.0" ]
null
null
null
lib/hex/state.ex
IvanIvanoff/hex
90aa44fa8a1e59f2ae65f490edb984e4d6c853d1
[ "Apache-2.0" ]
null
null
null
lib/hex/state.ex
IvanIvanoff/hex
90aa44fa8a1e59f2ae65f490edb984e4d6c853d1
[ "Apache-2.0" ]
null
null
null
defmodule Hex.State do @moduledoc false @name __MODULE__ @api_url "https://hex.pm/api" @home "~/.hex" @pbkdf2_iters 32_768 def default_api_url(), do: @api_url @config %{ api_key_read: %{ config: [:"$read_key"] }, api_key_write: %{ config: [:"$write_key", :"$encrypted_key"] }...
24.865714
95
0.582443
93f4444d09abb0973c2c05882120eea82c4278f8
3,936
exs
Elixir
test/unit/elsa/consumer/worker_test.exs
fxn/elsa
3d2b5eaccebab48799f8e9b68f78120cd1c3c0c1
[ "Apache-2.0" ]
null
null
null
test/unit/elsa/consumer/worker_test.exs
fxn/elsa
3d2b5eaccebab48799f8e9b68f78120cd1c3c0c1
[ "Apache-2.0" ]
null
null
null
test/unit/elsa/consumer/worker_test.exs
fxn/elsa
3d2b5eaccebab48799f8e9b68f78120cd1c3c0c1
[ "Apache-2.0" ]
null
null
null
defmodule Elsa.Consumer.WorkerTest do use ExUnit.Case use Placebo import Checkov import Elsa.Consumer.Worker, only: [kafka_message_set: 1] import Elsa.Message, only: [kafka_message: 1] describe "handle_info/2" do setup do Elsa.Registry.start_link(keys: :unique, name: Elsa.Supervisor.registry(:tes...
29.373134
98
0.617378
93f458b720e597e8b5cdd46314886cce1adffa4d
3,296
ex
Elixir
lib/planga/event/reducer.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
37
2018-07-13T14:08:16.000Z
2021-04-09T15:00:22.000Z
lib/planga/event/reducer.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
9
2018-07-16T15:24:39.000Z
2021-09-01T14:21:20.000Z
lib/planga/event/reducer.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
3
2018-10-05T20:19:25.000Z
2019-12-05T00:30:01.000Z
defmodule Planga.Event.Reducer do @moduledoc """ This module knows/decides how to change the application state based on incooming events. """ alias TeaVent.Event @doc """ Receives the current subject (the 'logical context') for this event as first parameter, and the event itself as the second parameter. ...
31.390476
136
0.624697
93f4873c36627783d393bcfab11c422b8e7b12c9
701
ex
Elixir
debian_nonhdfs/preinst.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
7
2015-01-29T14:41:28.000Z
2021-03-09T01:29:58.000Z
debian_nonhdfs/preinst.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
2
2015-03-23T03:59:12.000Z
2015-03-27T07:12:41.000Z
debian_nonhdfs/preinst.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
5
2015-03-03T06:54:00.000Z
2018-10-16T21:08:02.000Z
#!/bin/sh # preinst script for scribe-server-orig # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # f...
19.472222
63
0.630528
93f49024f97066f619afaf0bc1929f7881fb47d7
12,544
exs
Elixir
test/wavex/chunks/bae_test.exs
basdirks/wavex
b465c374d4b8a1668187d6c056b1d299fe3a9ffe
[ "Apache-2.0" ]
null
null
null
test/wavex/chunks/bae_test.exs
basdirks/wavex
b465c374d4b8a1668187d6c056b1d299fe3a9ffe
[ "Apache-2.0" ]
null
null
null
test/wavex/chunks/bae_test.exs
basdirks/wavex
b465c374d4b8a1668187d6c056b1d299fe3a9ffe
[ "Apache-2.0" ]
null
null
null
defmodule Wavex.Chunk.BAETest do @moduledoc false use ExUnit.Case, async: true use ExUnitProperties alias Wavex.Chunk.BAE @max_16_signed 2 |> :math.pow(15) |> round() @max_16_unsigned 2 |> :math.pow(16) |> round() @max_32_unsigne...
37.66967
96
0.585858
93f4938f9daee582600a23ed7c1d347b29c42860
307
ex
Elixir
lib/event_socket_outbound/call_mgmt.ex
xadhoom/freeswitch-outboundsocket
c0eb6fd43b7fc4f9e78afb3587057b90873bf3be
[ "MIT" ]
12
2018-03-21T11:45:15.000Z
2021-12-23T08:48:06.000Z
lib/event_socket_outbound/call_mgmt.ex
xadhoom/freeswitch-outboundsocket
c0eb6fd43b7fc4f9e78afb3587057b90873bf3be
[ "MIT" ]
6
2018-08-29T10:58:10.000Z
2021-03-02T20:23:03.000Z
lib/event_socket_outbound/call_mgmt.ex
xadhoom/freeswitch-outboundsocket
c0eb6fd43b7fc4f9e78afb3587057b90873bf3be
[ "MIT" ]
4
2019-01-04T11:22:19.000Z
2021-12-21T08:41:12.000Z
defmodule EventSocketOutbound.CallMgmt do @moduledoc """ Callbacks for module will define call routing. """ @callback start_link(pid()) :: {:ok, pid()} | :ignore | {:error, {:already_started, pid()} | term()} @callback onEvent(pid(), map()) :: term() end
27.909091
60
0.563518
93f498363659ab12c6d9a3a64187eea839e19b18
770
ex
Elixir
day5/part1.ex
michaljanocko/aoc
fe3af43536013af1787e0c0685aec5bbb096bd87
[ "WTFPL" ]
1
2021-12-06T14:40:38.000Z
2021-12-06T14:40:38.000Z
day5/part1.ex
michaljanocko/aoc
fe3af43536013af1787e0c0685aec5bbb096bd87
[ "WTFPL" ]
null
null
null
day5/part1.ex
michaljanocko/aoc
fe3af43536013af1787e0c0685aec5bbb096bd87
[ "WTFPL" ]
null
null
null
File.stream!("input") |> Enum.map(&String.trim/1) |> Enum.map(&String.split(&1, [" -> ", ","])) |> List.flatten() |> Enum.map(&String.to_integer/1) |> Enum.chunk_every(2) |> Enum.chunk_every(2) |> Enum.reduce(%{}, fn [[x, y], [a, b]], acc -> cond do x == a -> Map.merge( Enum.reduce(y..b, acc, &Map.u...
26.551724
84
0.462338
93f4a817eec30e0712074e5301139bccc6053083
1,093
ex
Elixir
test/support/conn_case.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
null
null
null
test/support/conn_case.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
6
2018-07-11T21:01:51.000Z
2018-07-11T21:06:07.000Z
test/support/conn_case.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
null
null
null
defmodule ArcheryCompetitionWeb.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. Fina...
28.025641
80
0.73376
93f4c9dd9051657739c6f1e039d09b6733e6e54e
437
exs
Elixir
test/chess/square_test.exs
7hoenix/Chess
8b57b2d6dd4235e2ee67622f6521f83cd237417b
[ "MIT" ]
8
2018-11-12T13:45:42.000Z
2022-03-15T14:45:26.000Z
test/chess/square_test.exs
7hoenix/Chess
8b57b2d6dd4235e2ee67622f6521f83cd237417b
[ "MIT" ]
1
2021-08-30T08:58:53.000Z
2021-10-13T09:15:36.000Z
test/chess/square_test.exs
7hoenix/Chess
8b57b2d6dd4235e2ee67622f6521f83cd237417b
[ "MIT" ]
3
2020-12-08T22:32:37.000Z
2022-01-27T17:54:55.000Z
defmodule Chess.SquareTest do use ExUnit.Case alias Chess.{Square, Position} test "create squares for starting game" do result = Square.prepare_for_new_game() assert length(result) == 32 end test "create squares from existed position" do position = %Position{position: "rnbqkbnr/pppppppp/8/8/8/...
23
81
0.7254
93f4e82b7cd7373b8979a3e2d906d2b0d645f7d6
5,975
ex
Elixir
lib/content_gateway.ex
emerleite/content-gateway-elixir
c3dec2476002d2f78436b09f5d3b682161af0348
[ "Apache-2.0" ]
6
2016-12-26T19:34:11.000Z
2019-04-02T22:04:51.000Z
lib/content_gateway.ex
emerleite/content-gateway-elixir
c3dec2476002d2f78436b09f5d3b682161af0348
[ "Apache-2.0" ]
1
2018-01-23T16:50:46.000Z
2018-01-23T16:53:23.000Z
lib/content_gateway.ex
emerleite/content-gateway-elixir
c3dec2476002d2f78436b09f5d3b682161af0348
[ "Apache-2.0" ]
4
2017-04-20T19:09:01.000Z
2018-01-23T16:49:08.000Z
defmodule ContentGateway do defmacro __using__(_opts) do quote do # alias :exometer, as: Exometer require Logger def connection_timeout do raise "not implemented" end def request_timeout do raise "not implemented" end def user_agent do "Elixir ...
39.569536
144
0.611548
93f51db81a2764186d14c775f3aef749dce7cfeb
3,304
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_reopen_attribution_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_reopen_attribution_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_reopen_attribution_response.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 ...
42.909091
133
0.697337
93f580570a6b9cf638ea7d348912d41541e81c7e
692
exs
Elixir
Elixir/benchmark/mix.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
Elixir/benchmark/mix.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
Elixir/benchmark/mix.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
defmodule Benchmark.Mixfile do use Mix.Project def project do [app: :benchmark, version: "0.0.1", elixir: "~> 1.7", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type `mix help compile.app` fo...
20.969697
77
0.602601
93f585717307122b9b3538ceb44d3cd6c03db100
329
ex
Elixir
lib/data_processor_web/controllers/handler_controller.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
null
null
null
lib/data_processor_web/controllers/handler_controller.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
3
2018-08-17T13:42:45.000Z
2018-08-17T17:05:11.000Z
lib/data_processor_web/controllers/handler_controller.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
null
null
null
defmodule DataProcessorWeb.HandlerController do use DataProcessorWeb, :controller @handlers [ DataProcessor.Handlers.LinearRegression, DataProcessor.Handlers.StatisticalDescribe, DataProcessor.Handlers.KMeans ] def index(conn, _params) do conn |> render("index.html", handlers: @handlers) ...
21.933333
48
0.75076
93f5af5bc6bc5f8dc8f9230734f60fa30306735a
14,332
ex
Elixir
lib/livebook/evaluator.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
null
null
null
lib/livebook/evaluator.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
null
null
null
lib/livebook/evaluator.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Evaluator do @moduledoc false # A process responsible for evaluating notebook code. # # The process receives evaluation request and synchronously # evaluates the given code within itself (rather than spawning a separate process). # It stores the resulting binding and env as part of the s...
31.021645
139
0.667178
93f6073ffda986ffca10a51b38c449b1eb32d751
1,267
ex
Elixir
debian_hdfs/emacsen-install.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
7
2015-01-29T14:41:28.000Z
2021-03-09T01:29:58.000Z
debian_hdfs/emacsen-install.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
2
2015-03-23T03:59:12.000Z
2015-03-27T07:12:41.000Z
debian_hdfs/emacsen-install.ex
sreedishps/scribe
033b701f665b195229b8b93505ccb4cd2f8ac0f7
[ "Apache-2.0" ]
5
2015-03-03T06:54:00.000Z
2018-10-16T21:08:02.000Z
#! /bin/sh -e # /usr/lib/emacsen-common/packages/install/scribe-server-hdfs-orig # Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily # from the install scripts for gettext by Santiago Vila # <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. FLAVOR=$1 PACKAGE=scribe-server-hdfs-orig if [ $...
27.543478
102
0.690608
93f6346b1d68e919d33db3e3c0e7f8c7e1d784ee
769
ex
Elixir
lib/horde/graceful_shutdown_manager.ex
amatalai/horde
b94c96e186450672279d40b754c36b80dea9e2b8
[ "MIT" ]
null
null
null
lib/horde/graceful_shutdown_manager.ex
amatalai/horde
b94c96e186450672279d40b754c36b80dea9e2b8
[ "MIT" ]
null
null
null
lib/horde/graceful_shutdown_manager.ex
amatalai/horde
b94c96e186450672279d40b754c36b80dea9e2b8
[ "MIT" ]
null
null
null
defmodule Horde.GracefulShutdownManager do use GenServer require Logger def child_spec(options) do %{ id: __MODULE__, start: {GenServer, :start_link, [__MODULE__, Keyword.get(options, :processes_pid), Keyword.take(options, [:name])]} } end def init(processes_pid) do ...
21.971429
92
0.644993
93f6412d419bc307d49da21c5a97209d6f7b45d4
1,247
ex
Elixir
web/views/error_helpers.ex
NorthernTwig/The-Fiddler
33a508b3c544084c8c6afd5590d561c162466975
[ "MIT" ]
2
2017-07-25T09:12:57.000Z
2017-07-25T11:25:07.000Z
web/views/error_helpers.ex
NorthernTwig/The-Fiddler
33a508b3c544084c8c6afd5590d561c162466975
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
NorthernTwig/The-Fiddler
33a508b3c544084c8c6afd5590d561c162466975
[ "MIT" ]
1
2018-10-29T18:53:04.000Z
2018-10-29T18:53:04.000Z
defmodule TakeItForASpin.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(e...
30.414634
80
0.672815
93f66d2a532253ea3025f49247bca39e669fecb1
6,047
exs
Elixir
test/phoenix_html/inputs_for_test.exs
aptinio/phoenix_html
2648511437bdc9f054774adc8a9a4f01e3c5d4ad
[ "MIT" ]
310
2015-05-03T13:08:41.000Z
2022-03-11T14:53:20.000Z
test/phoenix_html/inputs_for_test.exs
aptinio/phoenix_html
2648511437bdc9f054774adc8a9a4f01e3c5d4ad
[ "MIT" ]
347
2015-05-03T19:01:00.000Z
2022-02-22T11:56:17.000Z
test/phoenix_html/inputs_for_test.exs
aptinio/phoenix_html
2648511437bdc9f054774adc8a9a4f01e3c5d4ad
[ "MIT" ]
268
2015-05-03T18:53:32.000Z
2022-03-22T14:15:54.000Z
defmodule Phoenix.HTML.InputsForTest do use ExUnit.Case, async: true import Phoenix.HTML import Phoenix.HTML.Form @doc """ A function that executes `inputs_for/4` and extracts its inner contents for assertion. """ def safe_inputs_for(field, opts \\ [], fun) do mark = "--PLACEHOLDER--" {multipa...
31.826316
113
0.577973
93f67719e99e6247aa6366feebf3f250c7c25671
537
ex
Elixir
lib/monis_app_web/views/error_view.ex
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
1
2020-04-24T19:40:46.000Z
2020-04-24T19:40:46.000Z
lib/monis_app_web/views/error_view.ex
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
null
null
null
lib/monis_app_web/views/error_view.ex
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
null
null
null
defmodule MonisAppWeb.ErrorView do use MonisAppWeb, :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 fr...
31.588235
83
0.72067
93f6d564e2146aead47cdb8409dacc224bdb7ca0
1,163
exs
Elixir
test/bisect_test.exs
odo/elixir_bisect
59b40a8a0026bd051f4260b1ea2d170e4344db1e
[ "MIT" ]
null
null
null
test/bisect_test.exs
odo/elixir_bisect
59b40a8a0026bd051f4260b1ea2d170e4344db1e
[ "MIT" ]
null
null
null
test/bisect_test.exs
odo/elixir_bisect
59b40a8a0026bd051f4260b1ea2d170e4344db1e
[ "MIT" ]
null
null
null
defmodule BisectTest do use ExUnit.Case doctest Bisect @backend Bisect.List @double_list (1..100) |> Enum.into([]) |> Enum.map(& &1 * 2) test "find" do assert {0, 2} == Bisect.find(2, @backend, @double_list) assert {99, 200} == Bisect.find(200, @backend, @double_list) assert {41, 84} == Bisect.f...
29.075
65
0.594153
93f6ec4abf76e186784400adadebb19a0f9a6cad
357
ex
Elixir
lib/webapp_web/controllers/admin/team_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
lib/webapp_web/controllers/admin/team_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
lib/webapp_web/controllers/admin/team_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule WebappWeb.Admin.TeamController do use WebappWeb, :controller alias Webapp.{ Accounts, Accounts.Team } plug :load_and_authorize_resource, model: Team, non_id_actions: [:index, :create, :new] def index(conn, _params) do teams = Accounts.list_teams() render(conn, "index.html"...
19.833333
55
0.689076
93f6f1cd1f7995ea2c333d2370d3495648db68c2
1,232
ex
Elixir
lib/crew_web/live/period_live/index.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
lib/crew_web/live/period_live/index.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
5
2020-07-20T01:49:01.000Z
2021-09-08T00:17:04.000Z
lib/crew_web/live/period_live/index.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
defmodule CrewWeb.PeriodLive.Index do use CrewWeb, :live_view alias Crew.Periods alias Crew.Periods.Period @impl true def mount(_params, %{"site_id" => site_id}, socket) do socket = assign(socket, :site_id, site_id) {:ok, assign_new(socket, :periods, fn -> list_periods(site_id) end)} end @impl ...
25.666667
78
0.665584
93f6fba13c5b84d450eadfb9ae1394eb53441362
1,501
exs
Elixir
backend/test/getaways_web/schema/subscription/canceled_booking_test.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
null
null
null
backend/test/getaways_web/schema/subscription/canceled_booking_test.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
6
2020-01-31T19:44:15.000Z
2021-09-02T04:26:49.000Z
backend/test/getaways_web/schema/subscription/canceled_booking_test.exs
Prumme/Projet_phx_ex_gql
6324af91f94f96ee1f8403d5397ab930347e3e4f
[ "Unlicense" ]
null
null
null
defmodule GetawaysWeb.Schema.Subscription.CanceledBookingTest do use GetawaysWeb.SubscriptionCase, async: true @mutation """ mutation ($bookingId: ID!) { cancelBooking(bookingId: $bookingId) { id } } """ test "canceled booking can be subscribed to", %{socket: socket} do user = user_fixtur...
21.442857
68
0.568288
93f7778ea216940e2bb3c1e17bd3e06396ccf8b9
1,305
exs
Elixir
config/dev.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
3
2016-12-20T17:16:39.000Z
2017-02-22T11:06:56.000Z
config/dev.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
1
2017-05-31T16:32:41.000Z
2017-05-31T16:32:41.000Z
config/dev.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "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 :big_snips, BigSnips.Endpoint, http: [port: 40...
29.659091
73
0.695019
93f77a1bc86fa4750fa1a6c7c5e3ef881f2358ec
19,044
ex
Elixir
lib/redix/pubsub/connection.ex
zoldar/redix_experiments
a249060f761ce85f87ad91cfab1dec74ee45aeb2
[ "MIT" ]
null
null
null
lib/redix/pubsub/connection.ex
zoldar/redix_experiments
a249060f761ce85f87ad91cfab1dec74ee45aeb2
[ "MIT" ]
null
null
null
lib/redix/pubsub/connection.ex
zoldar/redix_experiments
a249060f761ce85f87ad91cfab1dec74ee45aeb2
[ "MIT" ]
null
null
null
defmodule Redix.PubSub.Connection do @moduledoc false @behaviour :gen_statem alias Redix.{ConnectionError, Connector, Protocol} defstruct [ :opts, :transport, :socket, :continuation, :backoff_current, :last_disconnect_reason, :connected_address, subscriptions: %{}, monitor...
30.865478
98
0.641672
93f7bd6d3fb53dc06b0923d54c2ad13ab497590f
1,644
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/write_control.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/write_control.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/slides/lib/google_api/slides/v1/model/write_control.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...
34.978723
318
0.749392
93f7c9b5df637a2668ab5992654ce3e4bab7ab3e
2,620
exs
Elixir
test/appsignal/nif_test.exs
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
test/appsignal/nif_test.exs
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
test/appsignal/nif_test.exs
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
unless Code.ensure_loaded?(Appsignal.Agent) do {_, _} = Code.eval_file("agent.exs") end defmodule Appsignal.NifTest do alias Appsignal.Nif use ExUnit.Case, async: true import AppsignalTest.Utils, only: [is_reference_or_binary: 1] test "whether the agent starts" do assert :ok = Nif.start() end test ...
26.464646
98
0.667557
93f7d5748bf0d8ede7feb37a6ebce1b9a8747721
1,173
ex
Elixir
test/support/apps/example/lib/example_web/channels/user_socket.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
528
2019-09-13T15:10:36.000Z
2022-03-31T10:28:27.000Z
test/support/apps/example/lib/example_web/channels/user_socket.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
133
2019-09-13T17:46:59.000Z
2022-03-01T13:37:10.000Z
test/support/apps/example/lib/example_web/channels/user_socket.ex
mitchellhenke/torch
2d0ab68f4e2d7f3bc37fbf7edbd1298b29b36e71
[ "MIT" ]
38
2019-10-29T20:37:13.000Z
2022-03-03T05:19:33.000Z
defmodule ExampleWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ExampleWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and a...
30.868421
83
0.703325
93f82fdfc9ae5b7ee25558882e69af1d4e53dc7d
490
ex
Elixir
apps/xee2018/lib/xee2018/application.ex
RyoheiHayashi/xee2018
3b9ff03b13817563a5c7c75db1da360879a8a8d4
[ "MIT" ]
1
2018-09-05T10:31:50.000Z
2018-09-05T10:31:50.000Z
apps/xee2018/lib/xee2018/application.ex
RyoheiHayashi/xee2018
3b9ff03b13817563a5c7c75db1da360879a8a8d4
[ "MIT" ]
null
null
null
apps/xee2018/lib/xee2018/application.ex
RyoheiHayashi/xee2018
3b9ff03b13817563a5c7c75db1da360879a8a8d4
[ "MIT" ]
null
null
null
defmodule Xee2018.Application do @moduledoc """ The Xee2018 Application Service. The xee2018 system business domain lives in this application. Exposes API to clients such as the `Xee2018Web` application for use in channels, controllers, and elsewhere. """ use Application def start(_type, _args) do ...
24.5
63
0.726531
93f846fc8ea755a950a76d7310e1a7093aa4cc3b
1,627
ex
Elixir
clients/tasks/lib/google_api/tasks/v1/model/task_links.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tasks/lib/google_api/tasks/v1/model/task_links.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/tasks/lib/google_api/tasks/v1/model/task_links.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 ...
30.698113
125
0.690842
93f847b347822bcd0d8863518da554a7e9d498a1
1,336
ex
Elixir
server/lib/events_app_web/controllers/event_controller.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
null
null
null
server/lib/events_app_web/controllers/event_controller.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
null
null
null
server/lib/events_app_web/controllers/event_controller.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
1
2021-04-10T18:37:30.000Z
2021-04-10T18:37:30.000Z
defmodule CompanyTestWeb.EventController do use CompanyTestWeb, :controller alias CompanyTest.Events alias CompanyTest.Events.Event alias CompanyTestWeb.Plugs plug Plugs.RequireAuth when action in [:create] action_fallback CompanyTestWeb.FallbackController def index(conn, _params) do events = Even...
26.196078
79
0.658683
93f84a8880087d63de49ce4c915fd1e98796b873
2,417
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/list_jobs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/list_jobs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/list_jobs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.603774
292
0.737691
93f84c33063986795356b0a0a7ff855ced99c332
1,216
ex
Elixir
server/potter_sea/lib/potter_sea_web/views/error_helpers.ex
monarch619/PotterSea
937fc62fcb0b4e2e071718353bc6ba95bc310aa1
[ "Apache-2.0" ]
44
2021-12-12T19:28:26.000Z
2022-03-05T09:48:00.000Z
server/potter_sea/lib/potter_sea_web/views/error_helpers.ex
RoniAndarsyah/PotterSea
40560be7842aa5e791a7b8f0e98b507f4e84a443
[ "Apache-2.0" ]
1
2021-12-14T12:59:16.000Z
2022-02-18T09:31:59.000Z
server/potter_sea/lib/potter_sea_web/views/error_helpers.ex
RoniAndarsyah/PotterSea
40560be7842aa5e791a7b8f0e98b507f4e84a443
[ "Apache-2.0" ]
7
2021-12-12T23:09:04.000Z
2022-01-02T08:34:45.000Z
defmodule PotterSeaWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a static ar...
35.764706
78
0.672697
93f850a306cd7b5078ce1af050486abeef046218
2,379
exs
Elixir
test/exshome_player/web_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
2
2021-12-21T16:32:56.000Z
2022-02-22T17:06:39.000Z
test/exshome_player/web_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
test/exshome_player/web_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
defmodule ExshomePlayerTest.WebTest do use ExshomeWeb.ConnCase, async: true import ExshomeTest.Fixtures alias ExshomePlayer.Services.{MpvSocket, Playback, PlayerState} alias ExshomePlayer.Variables alias ExshomeTest.TestMpvServer alias ExshomeTest.TestRegistry describe "player page index without depende...
36.045455
80
0.703237
93f8915061153ba4f4d17730de28a1a0876a1320
43,755
ex
Elixir
lib/elixir/lib/stream.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/stream.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/stream.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
defmodule Stream do @moduledoc """ Module for creating and composing streams. Streams are composable, lazy enumerables. Any enumerable that generates items one by one during enumeration is called a stream. For example, Elixir's `Range` is a stream: iex> range = 1..5 1..5 iex> Enum.map rang...
30.427677
112
0.615267
93f8cb2f288998b999cec8aacc56ca30314b476e
146
ex
Elixir
test/support/repo.ex
brunolouvem/ecto_auto_filter
48039fcfb9edeb9e2c5d076f298c0a2811dc4a48
[ "MIT" ]
2
2021-01-12T14:59:09.000Z
2021-01-12T14:59:50.000Z
test/support/repo.ex
brunolouvem/ecto_auto_filter
48039fcfb9edeb9e2c5d076f298c0a2811dc4a48
[ "MIT" ]
null
null
null
test/support/repo.ex
brunolouvem/ecto_auto_filter
48039fcfb9edeb9e2c5d076f298c0a2811dc4a48
[ "MIT" ]
null
null
null
defmodule EctoAutoFilter.Test.Repo do @moduledoc false use Ecto.Repo, otp_app: :ecto_auto_filter, adapter: Ecto.Adapters.Postgres end
20.857143
37
0.760274
93f8eac25bb4564bf42dd5698ed2cc66c6d4ccd4
13,482
ex
Elixir
lib/cldr/plug/plug_set_locale.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
lib/cldr/plug/plug_set_locale.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
lib/cldr/plug/plug_set_locale.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
if Code.ensure_loaded?(Plug) do defmodule Cldr.Plug.SetLocale do @moduledoc """ Sets the Cldr and/or Gettext locales derived from the accept-language header, a query parameter, a url parameter, a body parameter or the session. ## Options * `:apps` - list of apps for which to set locale. ...
30.710706
102
0.623572
93f8f922b8ccbb198a169c161be530d291166eaf
3,075
exs
Elixir
test/content/audio/stopped_train_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-01-24T12:39:05.000Z
2022-01-24T12:39:05.000Z
test/content/audio/stopped_train_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
40
2021-05-05T10:14:25.000Z
2022-03-31T18:34:15.000Z
test/content/audio/stopped_train_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-03-20T21:08:12.000Z
2022-03-20T21:08:12.000Z
defmodule Content.Audio.StoppedTrainTest do use ExUnit.Case, async: true import ExUnit.CaptureLog describe "to_params/1" do test "Serializes correctly" do audio = %Content.Audio.StoppedTrain{destination: :alewife, stops_away: 2} assert Content.Audio.to_params(audio) == {:canned, ...
30.445545
103
0.524878
93f934a71382d9ce4acdc527ab7b2b4086f449db
201
exs
Elixir
config/test.exs
DockYard/inquisitor
bf219f5659c113a6a76704c64002b0eb6fc49730
[ "MIT" ]
156
2016-02-07T03:29:43.000Z
2022-02-25T23:07:00.000Z
config/test.exs
DockYard/inquisitor
bf219f5659c113a6a76704c64002b0eb6fc49730
[ "MIT" ]
13
2016-06-24T02:10:28.000Z
2020-07-04T07:53:34.000Z
config/test.exs
DockYard/inquisitor
bf219f5659c113a6a76704c64002b0eb6fc49730
[ "MIT" ]
20
2016-05-09T16:46:39.000Z
2022-01-27T15:54:14.000Z
use Mix.Config config :inquisitor, Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "inquisitor_test", pool: Ecto.Adapters.SQL.Sandbox, size: 1
20.1
34
0.721393
93f93e196979c59ec76dc9e44d947eda7530fc84
851
exs
Elixir
config/dev.exs
appunite/imager
b41f76be975faf4d255ad0a5d8e972df1924356b
[ "MIT" ]
55
2018-10-02T14:56:04.000Z
2021-12-10T21:08:07.000Z
config/dev.exs
appunite/imager
b41f76be975faf4d255ad0a5d8e972df1924356b
[ "MIT" ]
27
2018-10-02T14:57:09.000Z
2019-04-11T07:51:11.000Z
config/dev.exs
appunite/imager
b41f76be975faf4d255ad0a5d8e972df1924356b
[ "MIT" ]
3
2018-10-12T18:31:41.000Z
2020-04-22T15:26:25.000Z
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 :imager, ImagerWeb.Endpoint, debug_errors: tru...
28.366667
68
0.730905
93f96843d50f81aae5babdf128b8d689e220cc75
7,042
exs
Elixir
server/priv/repo/migrations/20211116214523_create_realtime_apply_rls_function.exs
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
1
2021-05-04T22:04:46.000Z
2021-05-04T22:04:46.000Z
server/priv/repo/migrations/20211116214523_create_realtime_apply_rls_function.exs
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
server/priv/repo/migrations/20211116214523_create_realtime_apply_rls_function.exs
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
defmodule Realtime.RLS.Repo.Migrations.CreateRealtimeApplyRlsFunction do use Ecto.Migration def change do execute "create type realtime.action as enum ('INSERT', 'UPDATE', 'DELETE', 'TRUNCATE', 'ERROR');" execute "create type realtime.wal_rls as ( wal jsonb, is_rls_enabled boolean, users ...
33.061033
111
0.556802
93f9d5bf5d21a7da4a13b326777388a455a9a40d
212
ex
Elixir
sdr-web/web/controllers/api/v1/math_controller.ex
korczis/hackrf-rust
73c76c23eb58ddfaa484f40e4b800f12b31d0a50
[ "MIT" ]
1
2022-02-15T23:17:51.000Z
2022-02-15T23:17:51.000Z
sdr-web/web/controllers/api/v1/math_controller.ex
korczis/hackrf-rust
73c76c23eb58ddfaa484f40e4b800f12b31d0a50
[ "MIT" ]
null
null
null
sdr-web/web/controllers/api/v1/math_controller.ex
korczis/hackrf-rust
73c76c23eb58ddfaa484f40e4b800f12b31d0a50
[ "MIT" ]
3
2020-05-09T10:08:07.000Z
2021-02-22T11:42:00.000Z
defmodule SdrWeb.API.V1.MathController do use SdrWeb.Web, :controller require Logger def calculate(conn, params) do Logger.info(params) conn |> json(%{msg: "Not yet implemented!"}) end end
16.307692
43
0.683962
93f9eabec84aeb4c55b1841f9d768e3b25a59f70
427
ex
Elixir
lib/gscraper_web/controllers/dashboard_controller.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
lib/gscraper_web/controllers/dashboard_controller.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
25
2021-03-23T07:27:21.000Z
2021-10-31T15:09:52.000Z
lib/gscraper_web/controllers/dashboard_controller.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
defmodule GscraperWeb.DashboardController do use GscraperWeb, :controller alias Gscraper.Search.Schemas.KeywordFile alias Gscraper.Search.Searches def index(conn, _params) do changeset = KeywordFile.create_changeset(%KeywordFile{}) keywords = conn |> get_current_user() |> Searches.l...
23.722222
72
0.733021
93f9eed16ba9f5551dfa73d865f1f6d68ce43b48
1,766
exs
Elixir
config/prod.exs
mammenj/elixir-auction
94941bb820a221e3917014919d97571784ac9388
[ "Apache-2.0" ]
null
null
null
config/prod.exs
mammenj/elixir-auction
94941bb820a221e3917014919d97571784ac9388
[ "Apache-2.0" ]
null
null
null
config/prod.exs
mammenj/elixir-auction
94941bb820a221e3917014919d97571784ac9388
[ "Apache-2.0" ]
null
null
null
import Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # w...
36.040816
66
0.703851
93f9faff59c6d1b39d812369a670887c2285d487
208
exs
Elixir
examples/swagger_demo/priv/repo/migrations/20170226053859_create_user.exs
Whatnot-Inc/bureaucrat
d0634c6017dc68f8a23078cbc8c181a4b2d3e6db
[ "Unlicense" ]
326
2015-08-19T10:05:07.000Z
2022-03-28T08:49:33.000Z
examples/swagger_demo/priv/repo/migrations/20170226053859_create_user.exs
Whatnot-Inc/bureaucrat
d0634c6017dc68f8a23078cbc8c181a4b2d3e6db
[ "Unlicense" ]
64
2015-08-19T06:44:19.000Z
2022-03-29T06:23:34.000Z
examples/swagger_demo/priv/repo/migrations/20170226053859_create_user.exs
Whatnot-Inc/bureaucrat
d0634c6017dc68f8a23078cbc8c181a4b2d3e6db
[ "Unlicense" ]
66
2016-01-08T20:40:40.000Z
2022-03-03T02:15:15.000Z
defmodule SwaggerDemo.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :name, :string add :email, :string timestamps() end end end
14.857143
51
0.658654
93fa1b77410ec6522b800c6e43bbe7179f77641b
724
ex
Elixir
lib/ramona.ex
unleashed-coding/ramona
98a114063edc0365a3750d8065b351b1d08de4b3
[ "Apache-2.0" ]
1
2019-01-24T19:58:04.000Z
2019-01-24T19:58:04.000Z
lib/ramona.ex
unleashed-coding/ramona
98a114063edc0365a3750d8065b351b1d08de4b3
[ "Apache-2.0" ]
null
null
null
lib/ramona.ex
unleashed-coding/ramona
98a114063edc0365a3750d8065b351b1d08de4b3
[ "Apache-2.0" ]
null
null
null
defmodule Ramona do @moduledoc false use Application alias Alchemy.{Client, Cogs} def start(_type, _args) do case Application.get_env(:ramona, :token) do nil -> raise "TOKEN environment variable is not set" token -> prefix = Application.fetch_env!(:ramona, :prefix) boot...
21.294118
57
0.678177
93fa1d12cba3baffd4a1427333697c2b718c77fd
86
ex
Elixir
web/views/coherence/confirmation_view.ex
Symbolk/social_network
11df1ba9bc19fd140b630ac2abbd4b13b42def92
[ "MIT" ]
17
2017-01-02T10:38:28.000Z
2021-02-28T22:16:54.000Z
web/views/coherence/confirmation_view.ex
Symbolk/social_network
11df1ba9bc19fd140b630ac2abbd4b13b42def92
[ "MIT" ]
null
null
null
web/views/coherence/confirmation_view.ex
Symbolk/social_network
11df1ba9bc19fd140b630ac2abbd4b13b42def92
[ "MIT" ]
2
2017-01-09T13:02:13.000Z
2018-06-16T22:01:53.000Z
defmodule Coherence.ConfirmationView do use SocialNetwork.Coherence.Web, :view end
17.2
40
0.825581
93fa36b7c976a8a8a9967bded98ece37f72519fc
4,233
exs
Elixir
apps/concierge_site/test/web/views/day_select_helper_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/test/web/views/day_select_helper_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/test/web/views/day_select_helper_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.DaySelectHelperTest do @moduledoc false use ExUnit.Case, async: true alias ConciergeSite.DaySelectHelper test "render/1" do html = Phoenix.HTML.safe_to_string(DaySelectHelper.render(:foo)) assert html =~ "<div class=\"day-selector\" data-selector=\"date\">" assert html =~ "...
41.5
120
0.612095
93fa56bdc1bd1f364c419ea703c3b4079237d75a
3,052
exs
Elixir
farmbot_core/test/bot_state_ng_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_core/test/bot_state_ng_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_core/test/bot_state_ng_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotCore.BotStateNGTest do use ExUnit.Case, async: true alias FarmbotCore.BotStateNG describe "pins" do test "adds pins to the state" do orig = BotStateNG.new() assert Enum.empty?(orig.pins) one_pin = BotStateNG.add_or_update_pin(orig, 10, 1, 2) |> Ecto.Change...
27.00885
89
0.648427
93fa7d2f107b62ade36db5eda412ad5adec4d5b4
2,434
ex
Elixir
lib/honeydew/queues.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
717
2015-06-15T19:30:54.000Z
2022-03-22T06:10:09.000Z
lib/honeydew/queues.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
106
2015-06-25T05:38:05.000Z
2021-12-08T23:17:19.000Z
lib/honeydew/queues.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
60
2015-06-07T00:48:37.000Z
2022-03-06T08:20:23.000Z
defmodule Honeydew.Queues do @moduledoc false use Supervisor alias Honeydew.Queue alias Honeydew.Queue.Mnesia alias Honeydew.Dispatcher.LRUNode alias Honeydew.Dispatcher.LRU alias Honeydew.FailureMode.Abandon alias Honeydew.Processes @type name :: Honeydew.queue_name() @type queue_spec_opt :: Hone...
24.34
88
0.628595
93fa81624211cb80f62a0f4935f87900ef03a63a
4,511
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/domain.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/domain.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/domain.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...
46.989583
157
0.686101
93faaba22d06dc8e829f62317e1cc766f5c18196
3,216
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/admin_auth/user_auth_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/user_auth_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/user_auth_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.AdminAuth.UserAuthControllerTest do use AdminAPI.ConnCase, async: true alias EWalletDB.AuthToken describe "/user.login" do test "responds with a new auth token if id is valid" do user = insert(:user) response = admin_user_request("/user.login", %{id: user.id}) auth_tok...
29.504587
93
0.589241
93fac12a96cdd0ce6f043e2c3b4b15a574d049ff
945
exs
Elixir
mix.exs
zdenal/vega_lite
e554d57c82d2c860839fee5176bba881c25d1d61
[ "Apache-2.0" ]
61
2021-05-20T09:54:34.000Z
2021-07-11T12:50:32.000Z
mix.exs
zdenal/vega_lite
e554d57c82d2c860839fee5176bba881c25d1d61
[ "Apache-2.0" ]
13
2021-07-22T17:43:32.000Z
2022-01-31T22:01:46.000Z
mix.exs
zdenal/vega_lite
e554d57c82d2c860839fee5176bba881c25d1d61
[ "Apache-2.0" ]
8
2021-08-09T20:23:05.000Z
2022-02-12T03:10:43.000Z
defmodule VegaLite.MixProject do use Mix.Project @version "0.1.2" @description "Elixir bindings to Vega-Lite" def project do [ app: :vega_lite, version: @version, description: @description, name: "VegaLite", elixir: "~> 1.7", deps: deps(), docs: docs(), pack...
18.9
62
0.546032
93fae51df44cbc6d89eec74ac3631eb0e8ef9594
670
exs
Elixir
test/connection_test.exs
rrrene/amqp
46eb14f5d31f4cab3ec91984f5eae04f8066d5a2
[ "MIT" ]
null
null
null
test/connection_test.exs
rrrene/amqp
46eb14f5d31f4cab3ec91984f5eae04f8066d5a2
[ "MIT" ]
null
null
null
test/connection_test.exs
rrrene/amqp
46eb14f5d31f4cab3ec91984f5eae04f8066d5a2
[ "MIT" ]
null
null
null
defmodule ConnectionTest do use ExUnit.Case alias AMQP.Connection test "open connection with default settings" do assert {:ok, conn} = Connection.open assert :ok = Connection.close(conn) end test "open connection with host as binary" do assert {:ok, conn} = Connection.open host: "localhost" ...
24.814815
59
0.692537
93fb37ac80d0f83fed9cdcf3ffed1a7e08f01fd4
2,287
ex
Elixir
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1_create_workload_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1_create_workload_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1_create_workload_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.301587
160
0.72934
93fb3c512f69fd847ab2b027f2e55562138d9fd1
1,020
ex
Elixir
lib/pixie/supervisor.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/supervisor.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/supervisor.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
defmodule Pixie.Supervisor do use Pixie.GenericSupervisor import Supervisor.Spec def children do backend_options = Pixie.backend_options backend_name = Dict.get backend_options, :name backend_options = Dict.delete backend_options, :name children = [ worker(Pixie.ExtensionRegistry, [Pixi...
30
87
0.692157
93fb4fb973eb50708e45e8279789a67c52cca127
580
exs
Elixir
exercises/concept/newsletter/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/concept/newsletter/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
1,938
2019-12-12T08:07:10.000Z
2021-01-29T12:56:13.000Z
exercises/concept/newsletter/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
239
2019-12-12T14:09:08.000Z
2022-03-18T00:04:07.000Z
defmodule Newsletter.MixProject do use Mix.Project def project do [ app: :newsletter, version: "0.1.0", # elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20
87
0.57931
93fb78747b85f3481b354fcec73e96657ecd04ac
95
exs
Elixir
apps/rig/lib/result_test.exs
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
apps/rig/lib/result_test.exs
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
apps/rig/lib/result_test.exs
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule ResultTest do @moduledoc false use ExUnit.Case, async: true doctest Result end
15.833333
30
0.768421
93fb8ae3d786c71a0b7fa1e0d9309c82d20cc2e3
5,877
exs
Elixir
test/metric_transaction_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
test/metric_transaction_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
test/metric_transaction_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
defmodule MetricTransactionTest do use ExUnit.Case use Plug.Test alias NewRelic.Harvest.Collector defmodule TestPlugAppForward do import Plug.Conn def init(opts), do: opts def call(conn, _opts), do: send_resp(conn, 200, "ok") end defmodule Status do use Plug.Router plug(:match) ...
27.591549
96
0.673813
93fbab61fdfa92b5e845d487bf2df289de2769ae
323
exs
Elixir
priv/repo/migrations/20210421112426_create_table_consoles.exs
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
priv/repo/migrations/20210421112426_create_table_consoles.exs
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
priv/repo/migrations/20210421112426_create_table_consoles.exs
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
defmodule NostalgicGames.Repo.Migrations.CreateTableConsoles do use Ecto.Migration def change do create table(:console, primary_key: false) do add :console_id, :uuid, primary_key: true add :console_plataform_name, :string add :console_plataform_code, :string timestamps() end end e...
24.846154
63
0.724458
93fbf13ac00b3697bf227e909c356a3487f97ccd
3,268
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/product.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/product.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/product.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 ...
39.373494
162
0.704406
93fc13c64a182534e63d5106f37373b8520e3de1
1,981
exs
Elixir
clients/service_management/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/mix.exs
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...
29.567164
206
0.672388
93fc4959e53725effa238ca26d6b52e31ac6c668
4,592
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list.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...
55.325301
448
0.709277
93fc5e85c59c905a6fcb4b48a7ec7a62d1f9ef51
4,886
exs
Elixir
test/oban/config_test.exs
wtfleming/oban
1ffc4d1f25bb5dfb737b9e19e54ab0324e189ea5
[ "Apache-2.0" ]
null
null
null
test/oban/config_test.exs
wtfleming/oban
1ffc4d1f25bb5dfb737b9e19e54ab0324e189ea5
[ "Apache-2.0" ]
null
null
null
test/oban/config_test.exs
wtfleming/oban
1ffc4d1f25bb5dfb737b9e19e54ab0324e189ea5
[ "Apache-2.0" ]
null
null
null
defmodule Oban.ConfigTest do use Oban.Case, async: true alias Oban.Config alias Oban.Plugins.FixedPruner describe "start_link/1" do test "a config struct is stored for retreival" do conf = Config.new(repo: Repo) {:ok, pid} = Config.start_link(conf: conf) assert %Config{} = Config.get(p...
29.257485
79
0.65923
93fc6a59f7e2fbb10fe261671461769b1c2202aa
311
exs
Elixir
priv/repo/migrations/20210128220303_make_webhook_key_not_nullable.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
priv/repo/migrations/20210128220303_make_webhook_key_not_nullable.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
priv/repo/migrations/20210128220303_make_webhook_key_not_nullable.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Repo.Migrations.MakeWebhookKeyNotNullable do use Ecto.Migration def up do alter table("organizations") do modify :webhook_key, :string, null: false end end def down do alter table("organizations") do modify :webhook_key, :string, null: true end end end
19.4375
62
0.697749
93fc70642edfd5e218467ca91f0769864c872b88
3,667
exs
Elixir
test/elixir_lokalise_api/endpoints/screenshots_test.exs
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
3
2021-06-24T14:30:31.000Z
2021-09-06T11:30:17.000Z
test/elixir_lokalise_api/endpoints/screenshots_test.exs
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
8
2021-09-15T07:30:59.000Z
2022-02-01T17:40:17.000Z
test/elixir_lokalise_api/endpoints/screenshots_test.exs
kianmeng/elixir-lokalise-api
fca59438cbd8ee960adbbce8b13cef12ddc68ef6
[ "BSD-3-Clause" ]
2
2021-09-07T11:10:51.000Z
2021-09-26T07:37:39.000Z
defmodule ElixirLokaliseApi.ScreenshotsTest do use ExUnit.Case, async: true use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney alias ElixirLokaliseApi.Pagination alias ElixirLokaliseApi.Screenshots alias ElixirLokaliseApi.Model.Screenshot, as: ScreenshotModel alias ElixirLokaliseApi.Collection.Screenshots, as: ...
30.057377
91
0.677393
93fc74430c6437c51b5af919f539a1f281c7163a
2,079
ex
Elixir
clients/container/lib/google_api/container/v1/model/master_authorized_networks_config.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/master_authorized_networks_config.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/master_authorized_networks_config.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "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...
40.764706
276
0.763829
93fc88991d79ddfbbfa0588b2cff4e4da4b3dd22
2,143
exs
Elixir
config/dev.exs
d-led/d-zen
25aec2d78e3053df055c0be9cdfac5673dc94f0f
[ "Unlicense" ]
null
null
null
config/dev.exs
d-led/d-zen
25aec2d78e3053df055c0be9cdfac5673dc94f0f
[ "Unlicense" ]
null
null
null
config/dev.exs
d-led/d-zen
25aec2d78e3053df055c0be9cdfac5673dc94f0f
[ "Unlicense" ]
null
null
null
import 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 esbuild to bundle .js and .css sources. config :dzen, DzenWeb.Endpoint, # Binding to loopback ipv4 ...
32.469697
86
0.70462
93fca3b57c8f443370c4026c5770633f85977d51
473
ex
Elixir
lib/hub_web/router.ex
austenmadden/hub
e9cd481a9d604230197790eb9672aa2b94716bc9
[ "MIT" ]
null
null
null
lib/hub_web/router.ex
austenmadden/hub
e9cd481a9d604230197790eb9672aa2b94716bc9
[ "MIT" ]
null
null
null
lib/hub_web/router.ex
austenmadden/hub
e9cd481a9d604230197790eb9672aa2b94716bc9
[ "MIT" ]
null
null
null
defmodule HubWeb.Router do use HubWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", HubWeb do pipe_through :bro...
17.518519
39
0.661734
93fca5e085bb5310b4e626e384f1dad1bc74076d
7,569
ex
Elixir
lib/extended_types/types.ex
eksperimental/extended_types
23c060c8e42fca448354d4394004bee9921131a1
[ "CC0-1.0", "MIT-0" ]
6
2022-01-12T19:15:46.000Z
2022-01-13T07:40:29.000Z
lib/extended_types/types.ex
eksperimental/extended_types
23c060c8e42fca448354d4394004bee9921131a1
[ "CC0-1.0", "MIT-0" ]
null
null
null
lib/extended_types/types.ex
eksperimental/extended_types
23c060c8e42fca448354d4394004bee9921131a1
[ "CC0-1.0", "MIT-0" ]
null
null
null
defmodule ExtendedTypes.Types do @moduledoc """ This module lists all the types availables in `ExtendedTypes`. """ Module.register_attribute(__MODULE__, :types, accumulate: true) @types {:non_pos_integer, 0, quote do @typedoc """ A non-positive integer. That is...
26.745583
152
0.47034
93fcfc29c50d73f9e813adf8541bb8f086e96a45
344
ex
Elixir
lib/supabase_surface/components/icons/icon_aperture.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_aperture.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_aperture.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconAperture do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.aperture(width: icon_size, height: icon_size)} </IconConta...
22.933333
66
0.72093
93fd0ae1d6df8e8d943ae5a4299d24a75c48513d
5,880
exs
Elixir
test/rels_test.exs
kianmeng/microformats2-elixir
5a48e7bc8bb82ca4b43986f8497a066b23baf6a4
[ "MIT" ]
18
2016-02-20T12:19:08.000Z
2021-05-26T07:57:09.000Z
test/rels_test.exs
kianmeng/microformats2-elixir
5a48e7bc8bb82ca4b43986f8497a066b23baf6a4
[ "MIT" ]
17
2018-07-20T19:10:58.000Z
2022-02-24T04:07:37.000Z
test/rels_test.exs
kianmeng/microformats2-elixir
5a48e7bc8bb82ca4b43986f8497a066b23baf6a4
[ "MIT" ]
7
2016-11-06T23:13:55.000Z
2021-02-20T09:36:49.000Z
defmodule Microformats2.RelsTest do use ExUnit.Case test "parse successfully parses rels" do assert( %{ "items" => _, "rel-urls" => %{"http://blub" => %{"rels" => ["me"], "text" => "blub"}}, "rels" => %{"me" => ["http://blub"]} } = Microformats2.parse("<a rel=\"me\" href=\"h...
30.78534
122
0.415816
93fd0e7cbc6bccbc194c12801a9ea5d6e52e9131
32,409
ex
Elixir
lib/elixir/lib/system.ex
Sae497/elixir
666a0bca8daac6a9dffb80db837c883805a6a22e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/system.ex
Sae497/elixir
666a0bca8daac6a9dffb80db837c883805a6a22e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/system.ex
Sae497/elixir
666a0bca8daac6a9dffb80db837c883805a6a22e
[ "Apache-2.0" ]
null
null
null
defmodule System do @moduledoc """ The `System` module provides functions that interact directly with the VM or the host system. ## Time The `System` module also provides functions that work with time, returning different times kept by the system with support for different time units. One of the comp...
30.091922
102
0.674442
93fd55cc865f4b8d8bcb22a27546bbc65229f2e7
1,504
ex
Elixir
lib/dialyxir/warnings/missing_range.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
1,455
2015-01-03T02:53:19.000Z
2022-03-12T00:31:25.000Z
lib/dialyxir/warnings/missing_range.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
330
2015-05-14T13:53:13.000Z
2022-03-29T17:12:23.000Z
lib/dialyxir/warnings/missing_range.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
146
2015-02-03T18:19:43.000Z
2022-03-07T10:05:20.000Z
defmodule Dialyxir.Warnings.MissingRange do @moduledoc """ Function spec declares a list of types, but function returns value outside stated range. This error only appears with the :overspecs flag. ## Example defmodule Example do @spec foo(any()) :: :ok def foo(:ok) do :ok ...
23.873016
96
0.672207
93fd5f24ebd6eff36f51582c778ff9e12799c536
1,947
exs
Elixir
test/sanbase_web/graphql/signal/api_signal_metadata_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/sanbase_web/graphql/signal/api_signal_metadata_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/sanbase_web/graphql/signal/api_signal_metadata_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Clickhouse.ApiSignalMetadataTest do use SanbaseWeb.ConnCase, async: false import Sanbase.Factory, only: [rand_str: 0] import SanbaseWeb.Graphql.TestHelpers alias Sanbase.Signal test "returns data for all available signal", %{conn: conn} do signals = Signal.available_signals...
28.217391
98
0.620955
93fd8018404ca325fdf0219e29d43bb5034322e4
11,065
ex
Elixir
lib/aws/cloud_trail.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
223
2015-05-29T17:45:35.000Z
2021-06-29T08:37:14.000Z
lib/aws/cloud_trail.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
33
2015-11-20T20:56:43.000Z
2021-07-09T20:13:34.000Z
lib/aws/cloud_trail.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
62
2015-06-14T20:53:24.000Z
2021-12-13T07:20:15.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/jkakar/aws-codegen for more details. defmodule AWS.CloudTrail do @moduledoc """ AWS CloudTrail This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail. Cl...
39.377224
108
0.717488
93fd8798e93f60f87495cd55939a9ae473797192
1,179
exs
Elixir
mix.exs
supersimple/elixir_bme680
76232b1ea9c472dc4d87fe35970381a6abbe35ca
[ "Apache-2.0" ]
null
null
null
mix.exs
supersimple/elixir_bme680
76232b1ea9c472dc4d87fe35970381a6abbe35ca
[ "Apache-2.0" ]
null
null
null
mix.exs
supersimple/elixir_bme680
76232b1ea9c472dc4d87fe35970381a6abbe35ca
[ "Apache-2.0" ]
null
null
null
defmodule ElixirBme680.MixProject do use Mix.Project def project do [ app: :elixir_bme680, version: "0.1.4", elixir: "~> 1.7", compilers: [:elixir_make] ++ Mix.compilers, aliases: aliases(), start_permanent: Mix.env() == :prod, deps: deps(), package: package(), ...
23.117647
113
0.564885
93fd96de761fe77b848268905ab49a0334c1e263
256
exs
Elixir
apps/ui/config/test.exs
Soimil/Igthorn
6187a94d7a75a28f3c42b357fa7cc211cfe4bafe
[ "MIT" ]
3
2019-01-25T21:51:06.000Z
2020-01-12T21:52:29.000Z
ui/config/test.exs
kpanic/nerves_morse
0400179d0571dd92c2aa469b039c63e192a6b92c
[ "Apache-2.0" ]
null
null
null
ui/config/test.exs
kpanic/nerves_morse
0400179d0571dd92c2aa469b039c63e192a6b92c
[ "Apache-2.0" ]
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 :ui, UiWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
23.272727
56
0.726563
93fda9c4fd8f5dd263c0c2a081df6d8275262765
738
ex
Elixir
lib/the_great_machine_web/channels/lobby_channel.ex
kroucis/TheGreatMachine
07808d4df792739e580d50f6ee6d489608445af5
[ "MIT" ]
1
2022-01-15T17:53:49.000Z
2022-01-15T17:53:49.000Z
lib/the_great_machine_web/channels/lobby_channel.ex
kroucis/the_great_machine
07808d4df792739e580d50f6ee6d489608445af5
[ "MIT" ]
null
null
null
lib/the_great_machine_web/channels/lobby_channel.ex
kroucis/the_great_machine
07808d4df792739e580d50f6ee6d489608445af5
[ "MIT" ]
null
null
null
defmodule TheGreatMachineWeb.LobbyChannel do use TheGreatMachineWeb, :channel # def join("lobby:lobby", payload, socket) do # {:ok, socket} # end # def match_state(match) do # %{ id: match.id # } # end # Channels can be used in a request/response fashion # by sending replies to requests fr...
27.333333
63
0.627371
93fde23445b0b4aed16dcf76f5ed703ebeb25832
5,951
exs
Elixir
test/adapter_test.exs
genesisblockhq/spandex_datadog
2ab773d8215136ad87c4d02bcf2ce21a65e6c67b
[ "MIT" ]
43
2018-10-01T16:29:52.000Z
2022-03-14T05:25:26.000Z
test/adapter_test.exs
genesisblockhq/spandex_datadog
2ab773d8215136ad87c4d02bcf2ce21a65e6c67b
[ "MIT" ]
42
2018-08-23T05:25:23.000Z
2022-01-31T19:54:34.000Z
test/adapter_test.exs
genesisblockhq/spandex_datadog
2ab773d8215136ad87c4d02bcf2ce21a65e6c67b
[ "MIT" ]
31
2018-08-29T17:17:04.000Z
2022-03-02T21:07:09.000Z
defmodule SpandexDatadog.Test.AdapterTest do use ExUnit.Case, async: true alias Spandex.SpanContext alias SpandexDatadog.{ Adapter, Test.TracedModule, Test.Util } test "a complete trace sends spans" do TracedModule.trace_one_thing() spans = Util.sent_spans() Enum.each(spans, fn sp...
33.621469
117
0.64611
93fdee888a6ce6e2fd246fc1da7222eb81ab501c
5,290
ex
Elixir
lib/smppsend/esme_helpers.ex
savonarola/smppsend
f7a4784dfa2cfa8a37876877eab1212b3b37bfc5
[ "Apache-2.0" ]
11
2017-06-09T06:55:31.000Z
2019-09-17T07:05:37.000Z
lib/smppsend/esme_helpers.ex
savonarola/smppsend
f7a4784dfa2cfa8a37876877eab1212b3b37bfc5
[ "Apache-2.0" ]
11
2017-07-14T10:03:58.000Z
2019-11-15T09:22:30.000Z
lib/smppsend/esme_helpers.ex
savonarola/smppsend
f7a4784dfa2cfa8a37876877eab1212b3b37bfc5
[ "Apache-2.0" ]
9
2017-06-19T07:10:06.000Z
2019-11-14T11:03:56.000Z
defmodule SMPPSend.ESMEHelpers do alias SMPPEX.Pdu alias SMPPEX.Pdu.Factory alias SMPPEX.Pdu.PP alias :timer, as: Timer require Logger def connect(host, port, bind_pdu, session_opts \\ [], esme_mod \\ SMPPEX.ESME.Sync) do Logger.info "Connecting to #{host}:#{port}" case esme_mod.start_link(host, ...
34.802632
102
0.651229
93fdf168022961c808a3f38d923d15077be782f7
377
ex
Elixir
tests/init_api/NimlerWrapper.ex
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
null
null
null
tests/init_api/NimlerWrapper.ex
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
null
null
null
tests/init_api/NimlerWrapper.ex
pilotier/nimler
bc80503d9e300ba59889f533b79dc51962083ba7
[ "MIT" ]
null
null
null
defmodule NimlerInitApi do @on_load :init def init(), do: :erlang.load_nif( to_charlist(Path.join(Path.dirname(__ENV__.file), 'nif')), 123 ) def test(), do: :erlang.nif_error(:nif_library_not_loaded) def test_priv(), do: :erlang.nif_error(:nif_library_not_loaded) def test_dir...
25.133333
66
0.681698
93fdf78df15b181911a886641f75a46a0ad853bb
13,842
ex
Elixir
lib/ex_force.ex
kianmeng/ex_force
d2f8179d61dce6771d787fc08651071e0f2be448
[ "MIT" ]
28
2017-09-23T01:05:06.000Z
2022-03-05T09:59:12.000Z
lib/ex_force.ex
kianmeng/ex_force
d2f8179d61dce6771d787fc08651071e0f2be448
[ "MIT" ]
66
2017-09-28T17:08:17.000Z
2022-03-04T21:04:30.000Z
lib/ex_force.ex
kianmeng/ex_force
d2f8179d61dce6771d787fc08651071e0f2be448
[ "MIT" ]
18
2017-09-23T01:07:37.000Z
2022-02-21T04:12:26.000Z
defmodule ExForce do @moduledoc """ Simple wrapper for Salesforce REST API. ## Installation The package can be installed by adding `ex_force` to your list of dependencies in `mix.exs`: ```elixir def deps do [ {:ex_force, "~> 0.3"} ] end ``` Check out [Choosing a Tesla Adapter](https:...
34.954545
180
0.63748
93fe42d792383d01bafb8316a00817710082fa8a
2,839
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/filter_view.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/filter_view.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/filter_view.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...
39.985915
167
0.693202
93fe79cad38021bd06204206c49d0d8f649645f1
8,646
exs
Elixir
test/rexbug/translator_test.exs
NAR/rexbug
3b662b2b56f9bb97eea098fd0a9be6d04c30f383
[ "MIT" ]
null
null
null
test/rexbug/translator_test.exs
NAR/rexbug
3b662b2b56f9bb97eea098fd0a9be6d04c30f383
[ "MIT" ]
null
null
null
test/rexbug/translator_test.exs
NAR/rexbug
3b662b2b56f9bb97eea098fd0a9be6d04c30f383
[ "MIT" ]
null
null
null
defmodule Rexbug.TranslatorTest do use ExUnit.Case import Rexbug.Translator doctest Rexbug.Translator describe "Translator.translate/1" do test "translates Foo.Bar.baz right" do assert {:ok, '\'Elixir.Foo.Bar\':\'abc\'()'} == translate("Foo.Bar.abc") assert {:ok, '\'Elixir.Foo.Bar\':\'abc\'()...
30.551237
113
0.5805
93fe8ee1ba95c00199426794735751c0355d7dd0
1,187
exs
Elixir
mix.exs
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
mix.exs
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
1
2020-01-28T00:19:53.000Z
2020-01-28T00:19:53.000Z
mix.exs
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
defmodule ElixirPractice.Mixfile do use Mix.Project def project do [ app: :elixir_practice, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_en...
27.604651
134
0.613311
93feadfc016d2f9b7849e7f307245d9a65f99730
1,412
ex
Elixir
server/apps/boardr_api/lib/boardr_api/utils/method_not_allowed_controller.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2021-04-08T17:26:27.000Z
2021-04-08T17:26:27.000Z
server/apps/boardr_api/lib/boardr_api/utils/method_not_allowed_controller.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2022-02-13T05:50:46.000Z
2022-02-13T05:50:46.000Z
server/apps/boardr_api/lib/boardr_api/utils/method_not_allowed_controller.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
null
null
null
defmodule BoardrApi.MethodNotAllowedController do use BoardrApi, :controller def match(%Plug.Conn{path_info: path_info} = conn, _) do routes = BoardrApi.Router.__routes__() |> Enum.map(&({&1.verb, &1.path})) |> Enum.uniq() |> Enum.map(&({elem(&1, 0), elem(&1, 1) |> String.split("/") |>...
35.3
153
0.706799