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
1a7c91af581f04971ec8cd764da9a6223190adb3
2,086
ex
Elixir
apps/vax/lib/vax/types/set.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
8
2022-03-14T15:33:08.000Z
2022-03-30T22:06:04.000Z
apps/vax/lib/vax/types/set.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
9
2022-03-15T15:48:28.000Z
2022-03-21T23:11:34.000Z
apps/vax/lib/vax/types/set.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
null
null
null
defmodule Vax.Types.Set do @moduledoc """ Type for CRDT sets """ alias Ecto.Type use Vax.ParameterizedType @impl Ecto.ParameterizedType def type(_), do: :set @impl Ecto.ParameterizedType def init(params) do Keyword.fetch!(params, :type) end @impl Ecto.ParameterizedType def load(nil, _lo...
23.704545
94
0.665868
1a7cd2ac3e89dff313421cb957577c696127a170
1,096
exs
Elixir
apps/neoscan_cache/test/neoscan_cache/api_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
1
2019-12-16T17:21:21.000Z
2019-12-16T17:21:21.000Z
apps/neoscan_cache/test/neoscan_cache/api_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
null
null
null
apps/neoscan_cache/test/neoscan_cache/api_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
null
null
null
defmodule NeoscanCache.ApiTest do use NeoscanCache.DataCase import NeoscanCache.Factory alias NeoscanCache.Api alias NeoscanCache.Cache test "get_blocks/0" do assert is_list(Api.get_blocks()) end test "get_transactions/0" do asset = insert(:asset) transaction = insert(:transaction, %{type: ...
22.367347
71
0.548358
1a7cd362fd80001bc541375cded86a0daf774fa6
988
ex
Elixir
lib/tentacat/repositories/branches.ex
reset/tentacat
1a69f54ae9b4d79d27246c903c6ef42d2631b7c5
[ "MIT" ]
null
null
null
lib/tentacat/repositories/branches.ex
reset/tentacat
1a69f54ae9b4d79d27246c903c6ef42d2631b7c5
[ "MIT" ]
null
null
null
lib/tentacat/repositories/branches.ex
reset/tentacat
1a69f54ae9b4d79d27246c903c6ef42d2631b7c5
[ "MIT" ]
null
null
null
defmodule Tentacat.Repositories.Branches do import Tentacat alias Tentacat.Client @doc """ List Branches ## Example Tentacat.Repositories.Branches.list "elixir-lang", "elixir" Tentacat.Repositories.Branches.list "elixir-lang", "elixir", client More info at: https://developer.github.com/v3/re...
28.228571
84
0.683198
1a7cd42f38fd681bb8d59bd245d152fe2ba95806
124
ex
Elixir
lib/vispana/models/vespa_cluster/containercluster.ex
williamflynt/vispana
0754514f769e675543d9ffd5b6acf6965e640632
[ "MIT" ]
30
2022-02-16T13:02:14.000Z
2022-03-24T12:47:35.000Z
lib/vispana/models/vespa_cluster/containercluster.ex
williamflynt/vispana
0754514f769e675543d9ffd5b6acf6965e640632
[ "MIT" ]
5
2022-02-16T02:21:01.000Z
2022-03-13T09:29:56.000Z
lib/vispana/models/vespa_cluster/containercluster.ex
williamflynt/vispana
0754514f769e675543d9ffd5b6acf6965e640632
[ "MIT" ]
null
null
null
defmodule Vispana.Cluster.ContainerCluster do @enforce_keys [:clusterId] defstruct [:clusterId, containerNodes: []] end
24.8
45
0.782258
1a7cf84b861f64be2c477d32448171067c5d89ef
2,912
exs
Elixir
test/swoosh/adapters/test_test.exs
craigp/swoosh
83364b3e9029988e585d4cc0c4d5ec1ccfb4930a
[ "MIT" ]
1,214
2016-03-21T16:56:42.000Z
2022-03-31T19:10:11.000Z
test/swoosh/adapters/test_test.exs
craigp/swoosh
83364b3e9029988e585d4cc0c4d5ec1ccfb4930a
[ "MIT" ]
399
2016-03-21T23:11:32.000Z
2022-03-04T10:52:28.000Z
test/swoosh/adapters/test_test.exs
nash-io/swoosh
05c8676890da07403225c302f9a069fc7d221330
[ "MIT" ]
208
2016-03-21T21:12:11.000Z
2022-03-04T06:35:33.000Z
defmodule Swoosh.Adapters.TestTest do use ExUnit.Case, async: true import Swoosh.Email import Swoosh.TestAssertions defp deliver(%Swoosh.Email{} = email) do {:ok, _} = Swoosh.Adapters.Test.deliver(email, nil) email end defp deliver_many(emails = [_ | _]) do {:ok, _} = Swoosh.Adapters.Test.del...
27.733333
73
0.588942
1a7d02e4473150ef9cb1388d076bf88c98b45f97
2,574
exs
Elixir
mix.exs
lowlandresearch/vaporator_system_rpi3
eb54852144bed722430e6c217fe7621f6b07c161
[ "Apache-2.0" ]
null
null
null
mix.exs
lowlandresearch/vaporator_system_rpi3
eb54852144bed722430e6c217fe7621f6b07c161
[ "Apache-2.0" ]
null
null
null
mix.exs
lowlandresearch/vaporator_system_rpi3
eb54852144bed722430e6c217fe7621f6b07c161
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi3.MixProject do use Mix.Project @app :vaporator_system_rpi3 @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, version: @version, elixir: "~> 1.9", compilers: Mix.compilers() ++ [:nerves...
22.382609
79
0.581197
1a7d0784c1e66f68eda8ad12de1d09d1b418aff5
17,572
ex
Elixir
lib/mix/lib/mix/tasks/test.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/test.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/test.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
defmodule Mix.Tasks.Test do defmodule Cover do @default_threshold 90 @moduledoc false def start(compile_path, opts) do Mix.shell().info("Cover compiling modules ...") _ = :cover.start() case :cover.compile_beam_directory(compile_path |> to_charlist) do results when is_list(res...
31.211368
100
0.652743
1a7d1671cdf9e5279a66706821a9aac6054d8f7d
387
exs
Elixir
config/config.exs
pablodavila95/fire_auth
d022ef056bee2611e9b31800935df3ddf7d21a92
[ "Apache-2.0" ]
1
2018-01-25T06:08:19.000Z
2018-01-25T06:08:19.000Z
config/config.exs
pablodavila95/fire_auth
d022ef056bee2611e9b31800935df3ddf7d21a92
[ "Apache-2.0" ]
null
null
null
config/config.exs
pablodavila95/fire_auth
d022ef056bee2611e9b31800935df3ddf7d21a92
[ "Apache-2.0" ]
3
2018-01-10T00:53:50.000Z
2020-05-27T18:48:17.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :fire_auth, project_id: nil if Mix.env() == :test do config :fire_auth, project_id: "nada-preview", current_time: 1503350512, # Time the test data was generated ...
27.642857
64
0.749354
1a7d36a05a518376a8d911031956bdb802284fd9
3,524
ex
Elixir
lib/ex_aws/vocabulary.ex
brianlow/ex_aws_transcribe
cc3c136c6432ae77960964422a409dc19da0460f
[ "MIT" ]
1
2020-05-01T00:00:20.000Z
2020-05-01T00:00:20.000Z
lib/ex_aws/vocabulary.ex
brianlow/ex_aws_transcribe
cc3c136c6432ae77960964422a409dc19da0460f
[ "MIT" ]
2
2019-12-01T08:12:29.000Z
2020-05-22T18:28:20.000Z
lib/ex_aws/vocabulary.ex
brianlow/ex_aws_transcribe
cc3c136c6432ae77960964422a409dc19da0460f
[ "MIT" ]
2
2020-05-22T06:02:42.000Z
2021-04-29T23:17:09.000Z
defmodule ExAws.Vocabulary do @moduledoc """ Operations for AWS Transcribe Vocabulary Endpoints """ import ExAws.Utils, only: [camelize_keys: 2] @version "2017-10-26" @doc """ Creates a vocabulary Doc: <https://docs.aws.amazon.com/transcribe/latest/dg/API_CreateVocabulary.html> Example: ...
23.972789
85
0.640182
1a7d7060390d6e502ea519229aa63b5830f46d4f
1,597
ex
Elixir
apps/exred_ui/lib/exred_ui_web/endpoint.ex
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/lib/exred_ui_web/endpoint.ex
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/lib/exred_ui_web/endpoint.ex
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
defmodule ExredUIWeb.Endpoint do use Phoenix.Endpoint, otp_app: :exred_ui socket "/socket", ExredUIWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.St...
27.067797
95
0.700063
1a7d82a7fc54ccb94c09208c1f3370c740a386e9
190
ex
Elixir
lib/alastair/seeds/production_seed.ex
blacksph3re/alastair2
51fcd8fe666ae768dd8371b2c7835dd294eeddaf
[ "Apache-2.0" ]
null
null
null
lib/alastair/seeds/production_seed.ex
blacksph3re/alastair2
51fcd8fe666ae768dd8371b2c7835dd294eeddaf
[ "Apache-2.0" ]
null
null
null
lib/alastair/seeds/production_seed.ex
blacksph3re/alastair2
51fcd8fe666ae768dd8371b2c7835dd294eeddaf
[ "Apache-2.0" ]
1
2017-12-15T15:49:16.000Z
2017-12-15T15:49:16.000Z
defmodule Alastair.Seeds.ProductionSeed do def run() do Alastair.Seeds.CurrencySeed.run() Alastair.Seeds.MeasurementSeed.run() Alastair.Seeds.IngredientFileSeed.run() end end
27.142857
43
0.763158
1a7d8cd3e7151b5c07565f40057f3b9e19cd7eb1
9,328
ex
Elixir
lib/bolt_sips.ex
kalamarski-marcin/bolt_sips
fe0e64d69c50bf41d100978628daff5a50f1d44c
[ "Apache-2.0" ]
242
2016-09-09T22:32:00.000Z
2022-02-20T18:50:29.000Z
lib/bolt_sips.ex
kalamarski-marcin/bolt_sips
fe0e64d69c50bf41d100978628daff5a50f1d44c
[ "Apache-2.0" ]
100
2016-10-18T04:19:09.000Z
2021-11-15T19:14:47.000Z
lib/bolt_sips.ex
kalamarski-marcin/bolt_sips
fe0e64d69c50bf41d100978628daff5a50f1d44c
[ "Apache-2.0" ]
51
2016-10-31T20:05:52.000Z
2022-01-20T11:45:49.000Z
defmodule Bolt.Sips do @moduledoc """ A Neo4j driver for Elixir providing many useful features: - using the Bolt protocol, the Elixir implementation - the Neo4j's newest network protocol, designed for high-performance; latest Bolt versions, are supported. - Can connect to a standalone Neo4j server (`:direct` m...
34.80597
422
0.654374
1a7da34e44f6684245cec06c075c110ad5536beb
2,729
exs
Elixir
api/test/trello_clone_api/board/board_test.exs
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
1
2021-04-17T20:20:59.000Z
2021-04-17T20:20:59.000Z
api/test/trello_clone_api/board/board_test.exs
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
null
null
null
api/test/trello_clone_api/board/board_test.exs
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
null
null
null
defmodule TrelloCloneApi.BoardTest do use TrelloCloneApi.DataCase alias TrelloCloneApi.Factory alias TrelloCloneApi.Board describe "columns" do alias TrelloCloneApi.Board.Column test "list_columns/0 returns all columns" do column = insert(:column) |> Factory.unload_assoc() _placebo = inse...
31.732558
101
0.676805
1a7da37d8dcafe72413e70cd71ff6c24f924a6b1
943
ex
Elixir
backend/lib/edgehog/astarte/device/geolocation/behaviour.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
14
2021-12-02T16:31:16.000Z
2022-03-18T17:40:44.000Z
backend/lib/edgehog/astarte/device/geolocation/behaviour.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
77
2021-11-03T15:14:41.000Z
2022-03-30T14:13:32.000Z
backend/lib/edgehog/astarte/device/geolocation/behaviour.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
7
2021-11-03T10:58:37.000Z
2022-02-28T14:00:03.000Z
# # This file is part of Edgehog. # # Copyright 2022 SECO Mind Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
33.678571
74
0.73807
1a7daf414c996e48d9427917074b03a975ee0382
4,027
ex
Elixir
lib/typed_ecto_schema/syntax_sugar.ex
qdentity/typed_ecto_schema
d11e97baf80210fe4ee7c8af45b53d5327eab834
[ "Apache-2.0" ]
null
null
null
lib/typed_ecto_schema/syntax_sugar.ex
qdentity/typed_ecto_schema
d11e97baf80210fe4ee7c8af45b53d5327eab834
[ "Apache-2.0" ]
null
null
null
lib/typed_ecto_schema/syntax_sugar.ex
qdentity/typed_ecto_schema
d11e97baf80210fe4ee7c8af45b53d5327eab834
[ "Apache-2.0" ]
null
null
null
defmodule TypedEctoSchema.SyntaxSugar do @moduledoc false # Defines the syntax sugar we apply on top of Ecto's DSL # This works by transforming calls to Ecto's own macros to also call # Our Type Builder alias TypedEctoSchema.SyntaxSugar alias TypedEctoSchema.TypeBuilder @schema_function_names [ :fie...
25.012422
98
0.630991
1a7de2f2274ab92b71e25c3f68774db2584a29bd
1,989
ex
Elixir
lib/stormchat_web/controllers/user_controller.ex
gautambaghel/stormchat
1882467113158e7524d02d273e1f88439cc1f152
[ "MIT" ]
null
null
null
lib/stormchat_web/controllers/user_controller.ex
gautambaghel/stormchat
1882467113158e7524d02d273e1f88439cc1f152
[ "MIT" ]
7
2019-06-25T17:21:41.000Z
2022-02-10T12:09:08.000Z
lib/stormchat_web/controllers/user_controller.ex
gautambaghel/stormchat
1882467113158e7524d02d273e1f88439cc1f152
[ "MIT" ]
null
null
null
defmodule StormchatWeb.UserController do use StormchatWeb, :controller alias Stormchat.Accounts alias Stormchat.Accounts.User alias Stormchat.Locations alias Stormchat.Session action_fallback StormchatWeb.FallbackController def new(conn, _params) do changeset = User.changeset(%User{}) locations...
30.136364
90
0.64002
1a7dee60989ce3bb37ba45ccede01bc1b531d86b
1,855
exs
Elixir
clients/cloud_iot/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_iot/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.686567
132
0.654987
1a7df05c899fc4483ebc92ce6a5088bfeca9ba27
726
exs
Elixir
test/json_schema_test_suite/draft6/min_items_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
test/json_schema_test_suite/draft6/min_items_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
test/json_schema_test_suite/draft6/min_items_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule JsonSchemaTestSuite.Draft6.MinItemsTest do use ExUnit.Case import Xema, only: [valid?: 2] describe ~s|minItems validation| do setup do %{ schema: Xema.from_json_schema( %{"minItems" => 1}, draft: "draft6", atom: :force ) }...
20.742857
56
0.556474
1a7e199b6802eb5354e7de6f8c171f5d8992f01a
577
ex
Elixir
lib/school_house/release.ex
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
90
2021-02-10T23:57:52.000Z
2022-03-17T18:36:55.000Z
lib/school_house/release.ex
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
120
2021-02-11T00:32:44.000Z
2022-03-23T04:11:59.000Z
lib/school_house/release.ex
fmterrorf/school_house
b3a1374d4b23fbc027b6bc9c95004c6556c48bf0
[ "Apache-2.0" ]
18
2021-04-15T09:57:44.000Z
2022-03-23T02:55:26.000Z
defmodule SchoolHouse.Release do @moduledoc """ Helper module used during releases to run rss and sitemap generation tasks. Based on https://hexdocs.pm/phoenix/releases.html#ecto-migrations-and-custom-commands """ @app :school_house def generate_sitemap do load_app() Mix.Tasks.SchoolHouse.Gen.Sit...
20.607143
87
0.72617
1a7e45513de2f6d99d18a5fa0f4842affe183f00
1,575
exs
Elixir
raindrops/raindrops_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
raindrops/raindrops_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
raindrops/raindrops_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
if System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("example.exs") else Code.load_file("raindrops.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule RaindropsTest do use ExUnit.Case, async: true # @tag :pending test "1" do assert Raindrops.convert(1) == "1" end...
16.935484
54
0.63873
1a7e50608174246148c80786282f4d1b76e4dfc1
271
exs
Elixir
config/config.exs
pay-it-off/wallaby
d957f0dbf807180a25b8663f8e549071714ddc5d
[ "MIT" ]
null
null
null
config/config.exs
pay-it-off/wallaby
d957f0dbf807180a25b8663f8e549071714ddc5d
[ "MIT" ]
3
2021-08-18T20:39:11.000Z
2022-01-11T22:45:06.000Z
config/config.exs
pay-it-off/wallaby
d957f0dbf807180a25b8663f8e549071714ddc5d
[ "MIT" ]
null
null
null
use Mix.Config config :wallaby, driver: Wallaby.Selenium, max_wait_time: 5000, pool_size: 3, js_logger: :stdio, screenshot_on_failure: false, js_errors: true, hackney_options: [timeout: :infinity, recv_timeout: :infinity] import_config "#{Mix.env()}.exs"
20.846154
64
0.730627
1a7e9c27e767b6ac294b281f3b589341f61125b1
393
ex
Elixir
webrtc/videoroom_advanced/lib/videoroom_web/controllers/room_controller.ex
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
84
2020-08-01T14:57:29.000Z
2022-03-27T13:28:23.000Z
lib/videoroom_web/controllers/room_controller.ex
membraneframework/membrane_distributed_videoroom
66add785690733070390c8dd5a1bc6af5e50ce01
[ "Apache-2.0" ]
75
2020-08-24T08:01:53.000Z
2022-03-17T10:41:22.000Z
lib/videoroom_web/controllers/room_controller.ex
membraneframework/membrane_distributed_videoroom
66add785690733070390c8dd5a1bc6af5e50ce01
[ "Apache-2.0" ]
17
2020-09-15T21:04:23.000Z
2022-03-31T07:43:48.000Z
defmodule VideoRoomWeb.RoomController do use VideoRoomWeb, :controller def index(conn, %{"room_id" => id, "display_name" => _name}) do render(conn, "index.html", room_id: id) end # display name is not present, redirect to home page with filled in room name def index(conn, %{"room_id" => id}) do redi...
30.230769
79
0.687023
1a7eb139564071535b1db12f0ce40cc869bee485
2,386
ex
Elixir
web/controllers/market_controller.ex
EVE-Tools/orders
0c82d56f2516cbda1c2586ca332540bdb49657ad
[ "BSD-3-Clause" ]
null
null
null
web/controllers/market_controller.ex
EVE-Tools/orders
0c82d56f2516cbda1c2586ca332540bdb49657ad
[ "BSD-3-Clause" ]
null
null
null
web/controllers/market_controller.ex
EVE-Tools/orders
0c82d56f2516cbda1c2586ca332540bdb49657ad
[ "BSD-3-Clause" ]
null
null
null
defmodule Element43.Orders.MarketController do @db Application.get_env(:element43_orders, :rethink_database) use Element43.Orders.Web, :controller import RethinkDB.Query require ConCache def region(conn, %{"region_id" => region_id}) do {region_id, _} = Integer.parse(region_id) result = get_or_store...
25.934783
77
0.666387
1a7ed7654070edc6de62a6201548668a5a47dee5
2,901
ex
Elixir
apps/aecore/lib/aecore/structures/account.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/lib/aecore/structures/account.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/lib/aecore/structures/account.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
defmodule Aecore.Structures.Account do @moduledoc """ Aecore structure of a transaction data. """ require Logger alias Aecore.Structures.SpendTx alias Aecore.Structures.Account @type t :: %Account{ balance: non_neg_integer(), nonce: non_neg_integer(), locked: list(map()) } @doc """ De...
30.536842
149
0.615994
1a7ef2608a685f9fafd596e66feaa26f59546e28
566
ex
Elixir
lib/serum/build/file_loader/common.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
302
2016-08-01T05:16:06.000Z
2022-03-26T07:20:46.000Z
lib/serum/build/file_loader/common.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
206
2016-08-04T15:18:35.000Z
2022-03-01T03:07:57.000Z
lib/serum/build/file_loader/common.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
35
2016-10-29T13:59:34.000Z
2022-03-01T01:50:31.000Z
defmodule Serum.Build.FileLoader.Common do @moduledoc false _moduledocp = "Provides common functions shared by other file loader modules" alias Serum.Result @doc false @spec get_subdir(binary(), binary()) :: binary() def get_subdir(src, subdir) do (src == "." && subdir) || Path.join(src, subdir) en...
24.608696
79
0.664311
1a7efe2adac8b3374b4e0786c70d0430e0e6afb2
678
ex
Elixir
lib/opensource_challenge/models/challenge.ex
topaxi/opensource-challenge-api
27e5da9c5162a8f0f4533f9f7f14ca1d145bac31
[ "MIT" ]
3
2016-11-29T10:58:11.000Z
2020-04-29T12:17:23.000Z
lib/opensource_challenge/models/challenge.ex
topaxi/opensource-challenge-api
27e5da9c5162a8f0f4533f9f7f14ca1d145bac31
[ "MIT" ]
50
2016-12-04T15:02:31.000Z
2021-07-23T04:21:55.000Z
lib/opensource_challenge/models/challenge.ex
topaxi/opensource-challenge-api
27e5da9c5162a8f0f4533f9f7f14ca1d145bac31
[ "MIT" ]
5
2019-11-24T11:17:39.000Z
2020-04-29T12:19:36.000Z
defmodule OpensourceChallenge.Challenge do use Ecto.Schema import Ecto.Changeset schema "challenges" do field(:name, :string) field(:shortname, :string) field(:starts_on, :date) field(:ends_on, :date) field(:closed, :boolean) has_many(:contributions, OpensourceChallenge.Contribution) ...
25.111111
76
0.660767
1a7f594bfc8e5ed5ef788d66fa0ba78919141cf3
937
ex
Elixir
apps/xee2018_web/test/support/channel_case.ex
RyoheiHayashi/xee2018
3b9ff03b13817563a5c7c75db1da360879a8a8d4
[ "MIT" ]
1
2018-09-05T10:31:50.000Z
2018-09-05T10:31:50.000Z
apps/xee2018_web/test/support/channel_case.ex
RyoheiHayashi/xee2018
3b9ff03b13817563a5c7c75db1da360879a8a8d4
[ "MIT" ]
null
null
null
apps/xee2018_web/test/support/channel_case.ex
RyoheiHayashi/xee2018
3b9ff03b13817563a5c7c75db1da360879a8a8d4
[ "MIT" ]
null
null
null
defmodule Xee2018Web.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts wi...
24.657895
69
0.716115
1a7f5f7c2d76163d186f806a79bc312c74e86e6e
162
ex
Elixir
debian/menu.ex
Arquivotheca/OpenCDE
4bb0f65dab345790bcf8d8422a05dda495990cd1
[ "BSD-2-Clause-FreeBSD" ]
11
2015-05-30T14:58:42.000Z
2021-10-12T04:50:00.000Z
debian/menu.ex
idunham/opencde
376f7ba54f8b384a5a0b2104ff2b26f9c8ab3582
[ "BSD-2-Clause-FreeBSD" ]
1
2021-11-30T08:11:39.000Z
2021-11-30T08:11:39.000Z
debian/menu.ex
idunham/opencde
376f7ba54f8b384a5a0b2104ff2b26f9c8ab3582
[ "BSD-2-Clause-FreeBSD" ]
3
2015-05-30T14:58:44.000Z
2017-09-28T21:58:50.000Z
?package(opencde-0.6.2.0+cvs):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ title="opencde-0.6.2.0+cvs" command="/usr/bin/opencde-0.6.2.0+cvs"
54
92
0.709877
1a7f7cd99cc9c0bb0a2c9e7b21a8d5b9efec108c
2,291
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_broadcast_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/live_broadcast_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_broadcast_status.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 ...
40.910714
372
0.732431
1a7f8ecb576bdcce122b77a414978da095c52963
155
ex
Elixir
lib/credo_report_card.ex
TreyE/credo_report_card
6f5936657a618f6cb6a9eb2cf8e8d4f7ed4f1ec2
[ "MIT" ]
1
2022-03-14T17:31:03.000Z
2022-03-14T17:31:03.000Z
lib/credo_report_card.ex
TreyE/credo_report_card
6f5936657a618f6cb6a9eb2cf8e8d4f7ed4f1ec2
[ "MIT" ]
null
null
null
lib/credo_report_card.ex
TreyE/credo_report_card
6f5936657a618f6cb6a9eb2cf8e8d4f7ed4f1ec2
[ "MIT" ]
null
null
null
defmodule CredoReportCard do import Credo.Plugin def init(exec) do exec |> register_command("report_card", CredoReportCard.Command) end end
17.222222
63
0.741935
1a7f929e51375db838b7e13b665c4d23a745e943
491
ex
Elixir
lib/types/float.ex
gmartsenkov/dry_validation
84ac374c724aed7fe35eb642bf3a79e8959b19f6
[ "MIT" ]
5
2021-02-21T15:07:45.000Z
2021-11-14T19:40:10.000Z
lib/types/float.ex
gmartsenkov/dry_validation
84ac374c724aed7fe35eb642bf3a79e8959b19f6
[ "MIT" ]
1
2021-02-21T19:27:16.000Z
2021-02-21T19:27:16.000Z
lib/types/float.ex
gmartsenkov/dry_validation
84ac374c724aed7fe35eb642bf3a79e8959b19f6
[ "MIT" ]
null
null
null
defmodule DryValidation.Types.Float do @moduledoc """ Represents a float type. Will try to cast strings into float values. ``` DryValidation.schema do required :price, Types.Float end ``` """ @doc false def cast(value) when is_binary(value) do case Float.parse(value) do {number, ""} -...
18.884615
50
0.645621
1a7fc5b326bb3a75195cf3ee8cc222c54a257df8
1,053
ex
Elixir
utils/shorten_api/test/support/conn_case.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
utils/shorten_api/test/support/conn_case.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
utils/shorten_api/test/support/conn_case.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
defmodule ShortenApiWeb.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 ...
27
72
0.723647
1a7fe0d14003dacdf0174c728a8f9167350f5fee
2,142
exs
Elixir
mix.exs
koyeung/stream_x
ddc5ed7db7687ef2a3f6249670e9b23b42ebc8bd
[ "Apache-2.0" ]
null
null
null
mix.exs
koyeung/stream_x
ddc5ed7db7687ef2a3f6249670e9b23b42ebc8bd
[ "Apache-2.0" ]
null
null
null
mix.exs
koyeung/stream_x
ddc5ed7db7687ef2a3f6249670e9b23b42ebc8bd
[ "Apache-2.0" ]
null
null
null
defmodule StreamX.Mixfile do use Mix.Project def project do [app: :stream_x, version: "0.0.2", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description, deps: deps, # metadata for Hex publishing package: package, ...
23.282609
97
0.579832
1a7fe955877b3855c3ec01f08d5043b7f9a0a08a
689
ex
Elixir
farmbot_core/lib/farmbot_core/asset/farm_event/body_node.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_core/lib/farmbot_core/asset/farm_event/body_node.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/asset/farm_event/body_node.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotCore.Asset.FarmEvent.BodyNode do @moduledoc """ This is one of the node types that may or may not exist within the `farm_event.body` array. """ use Ecto.Schema import Ecto.Changeset import FarmbotCore.Asset.View, only: [view: 2] @primary_key false @behaviour FarmbotCore.Asset.View ...
23.758621
59
0.680697
1a801c8109fffa42fafe038100556a6cba2a15da
2,225
ex
Elixir
lib/inch_ex/ui.ex
asaaki/inch_ex
38874a6050663f97c9cbfea29e9b413b4eea1a7b
[ "MIT" ]
200
2015-01-05T19:08:30.000Z
2022-02-23T01:57:09.000Z
lib/inch_ex/ui.ex
asaaki/inch_ex
38874a6050663f97c9cbfea29e9b413b4eea1a7b
[ "MIT" ]
57
2015-01-03T12:07:28.000Z
2021-10-31T10:26:31.000Z
lib/inch_ex/ui.ex
asaaki/inch_ex
38874a6050663f97c9cbfea29e9b413b4eea1a7b
[ "MIT" ]
101
2015-01-18T17:20:20.000Z
2022-03-07T23:28:53.000Z
defmodule InchEx.UI do @moduledoc """ This module provides functions used to create the UI. """ @edge "┃" @ellipsis "…" @shell_service InchEx.UI.Shell if Mix.env() == :test do def puts, do: nil def puts(_), do: nil def puts(_, color) when is_atom(color), do: nil def warn(_), do: nil e...
24.450549
95
0.6
1a802be009373d5ed0cf3a19c47631c47c5489ec
837
exs
Elixir
config/dev.exs
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
config/dev.exs
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
config/dev.exs
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
use Mix.Config config :shadowsocks, :listeners, [ [ # type: Shadowsocks.Conn.Http302, # Shadowsocks.Conn.ObfsServer, type: :server, method: "rc4-md5", password: "pass", port: 8888, ota: false, udp: true, failover: "https://www.google.com" ], [ type: :client, method: "r...
19.465116
54
0.58184
1a8034bc09a34ab3312484d0cbba269baf244b1d
3,115
exs
Elixir
test/liquex/render/variable_test.exs
merchant-ly/liquex
3ba72f82e9c2c57f11ef045a2028a5fc1add0d93
[ "MIT" ]
19
2020-02-29T01:37:11.000Z
2022-03-15T06:45:20.000Z
test/liquex/render/variable_test.exs
merchant-ly/liquex
3ba72f82e9c2c57f11ef045a2028a5fc1add0d93
[ "MIT" ]
19
2020-09-02T19:35:08.000Z
2022-03-31T21:42:16.000Z
test/liquex/render/variable_test.exs
merchant-ly/liquex
3ba72f82e9c2c57f11ef045a2028a5fc1add0d93
[ "MIT" ]
4
2020-10-20T08:22:43.000Z
2022-01-19T17:21:32.000Z
defmodule Liquex.Render.VariableTest do @moduledoc false use ExUnit.Case, async: true alias Liquex.Context describe "assign" do test "assign simple value" do context = %Context{} {:ok, template} = """ {% assign a = "Hello World!" %} {{ a }} """ |> Stri...
22.410072
86
0.43114
1a80773735c691b7a837bfce7b28d6bdb53a3c12
347
ex
Elixir
lib/codes/codes_e59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_e59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_e59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_E59 do alias IcdCode.ICDCode def _E59 do %ICDCode{full_code: "E59", category_code: "E59", short_code: "", full_name: "Dietary selenium deficiency", short_name: "Dietary selenium deficiency", category_name: "Dietary selenium deficie...
21.6875
54
0.634006
1a809e41cc8b2efd8dcc2431781eaabce230a453
1,696
ex
Elixir
clients/container/lib/google_api/container/v1/model/linux_node_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/linux_node_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/linux_node_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.085106
366
0.751179
1a80cf08bf538396f1d712a850af707221edb653
2,129
ex
Elixir
apps/ello_v2/web/views/image_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_v2/web/views/image_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_v2/web/views/image_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.V2.ImageView do use Ello.V2.Web, :view @moduledoc """ Serializes an image and image metadata. Usage: render(Ello.V2.ImageView, :image, [ image: user.avatar_struct, # An %Ello.Core.Image{} struct conn: conn # The conn - for determining pixelation. ]) ...
28.013158
84
0.620949
1a810092d9f5d3313112ef76a1722accecc84ef2
4,203
exs
Elixir
test/event/handler_config_test.exs
evanreierson/commanded
4b5e04ba35d195fd66faa7b3356af03997b93879
[ "MIT" ]
null
null
null
test/event/handler_config_test.exs
evanreierson/commanded
4b5e04ba35d195fd66faa7b3356af03997b93879
[ "MIT" ]
null
null
null
test/event/handler_config_test.exs
evanreierson/commanded
4b5e04ba35d195fd66faa7b3356af03997b93879
[ "MIT" ]
null
null
null
defmodule Commanded.Event.HandlerConfigTest do use Commanded.StorageCase alias Commanded.DefaultApp defmodule DefaultConfigHandler do use Commanded.Event.Handler, application: DefaultApp, name: __MODULE__ end setup do start_supervised!(DefaultApp) :ok end test "should default ...
25.785276
118
0.640971
1a81354da27558693752fc2aa35a9a23c1a02af7
8,713
exs
Elixir
test/rexbug/translator_test.exs
ahsf/rexbug
8cf5a3b66d3bad1379218c0968f188346015aa89
[ "MIT" ]
198
2017-11-13T11:28:12.000Z
2022-03-30T07:22:08.000Z
test/rexbug/translator_test.exs
ahsf/rexbug
8cf5a3b66d3bad1379218c0968f188346015aa89
[ "MIT" ]
48
2017-11-02T14:30:38.000Z
2021-04-19T00:49:50.000Z
test/rexbug/translator_test.exs
ahsf/rexbug
8cf5a3b66d3bad1379218c0968f188346015aa89
[ "MIT" ]
11
2017-12-04T11:06:23.000Z
2021-03-05T21:13:58.000Z
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.897163
98
0.576036
1a815270cf8a074f7c8b1e7dae2b79d116cd1e18
2,952
ex
Elixir
lib/oli_web.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli_web.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli_web.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule OliWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use OliWeb, :controller use OliWeb, :view The definitions below will be executed for every view, controller, etc, so keep...
22.534351
79
0.661924
1a81567a470329ccca70cb6090c692fa9e669485
2,488
ex
Elixir
farmbot_os/lib/farmbot_os/sys_calls/execute_script.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_os/lib/farmbot_os/sys_calls/execute_script.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_os/lib/farmbot_os/sys_calls/execute_script.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotOS.SysCalls.ExecuteScript do require Logger alias FarmbotCeleryScript.AST alias FarmbotCore.{Asset, FarmwareRuntime} alias FarmbotExt.API.ImageUploader def execute_script(farmware_name, env) do with {:ok, manifest} <- lookup(farmware_name), {:ok, runtime} <- FarmwareRuntime.star...
35.542857
89
0.606913
1a8181a5b6ebbf2e694766ed1cdee791651aa92a
5,940
ex
Elixir
kousa/lib/gen/room_session.ex
xeon3175x/dogehouse
42e1ee0d19bc7838de6fffb4503f328619c6954a
[ "MIT" ]
1
2021-02-13T17:42:22.000Z
2021-02-13T17:42:22.000Z
kousa/lib/gen/room_session.ex
xeon3175x/dogehouse
42e1ee0d19bc7838de6fffb4503f328619c6954a
[ "MIT" ]
null
null
null
kousa/lib/gen/room_session.ex
xeon3175x/dogehouse
42e1ee0d19bc7838de6fffb4503f328619c6954a
[ "MIT" ]
null
null
null
defmodule Kousa.Gen.RoomSession do use GenServer def start_link(%{room_id: room_id, user_id: user_id, muted: muted}) do # IO.puts("starting room session " <> room_id) GenServer.start_link( __MODULE__, %{ room_id: room_id, users: [user_id], auto_speaker: false, a...
24.344262
97
0.580135
1a818c53eac5fbc8f4ff4718506db0e77e0cc62a
286
ex
Elixir
lib/google_protos/any.pb.ex
demilletech/elixir-google-protos
49e0dfeede9ac3e0f00552822f846977180223ff
[ "MIT" ]
null
null
null
lib/google_protos/any.pb.ex
demilletech/elixir-google-protos
49e0dfeede9ac3e0f00552822f846977180223ff
[ "MIT" ]
3
2020-12-23T14:33:00.000Z
2021-09-27T16:49:45.000Z
lib/google_protos/any.pb.ex
demilletech/elixir-google-protos
49e0dfeede9ac3e0f00552822f846977180223ff
[ "MIT" ]
4
2020-12-23T14:33:38.000Z
2022-03-18T22:40:57.000Z
defmodule Google.Protobuf.Any do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ type_url: String.t(), value: String.t() } defstruct [:type_url, :value] field :type_url, 1, type: :string field :value, 2, type: :bytes end
20.428571
35
0.615385
1a818dd882dfa89367528b29b3ce3a6ab1f14f0a
1,166
exs
Elixir
apps/transformers/mix.exs
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
8
2021-10-31T18:45:02.000Z
2022-03-05T18:33:08.000Z
apps/transformers/mix.exs
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
7
2022-01-14T21:21:23.000Z
2022-03-16T17:23:10.000Z
apps/transformers/mix.exs
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
1
2022-03-08T23:45:02.000Z
2022-03-08T23:45:02.000Z
defmodule Transformers.MixProject do use Mix.Project def project do [ app: :transformers, version: "0.3.5", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.10", test_paths: Mix...
27.116279
68
0.542882
1a81946525ef445439c21481f4a7877aa8e4d78e
1,010
exs
Elixir
mix.exs
libitx/curvy
3d6b53b4b691a3799ed6d8925f2747b96af8ccd0
[ "Apache-2.0" ]
15
2021-03-07T05:03:17.000Z
2022-03-10T11:03:23.000Z
mix.exs
libitx/curvy
3d6b53b4b691a3799ed6d8925f2747b96af8ccd0
[ "Apache-2.0" ]
3
2021-08-22T22:39:02.000Z
2021-11-28T18:51:55.000Z
mix.exs
libitx/curvy
3d6b53b4b691a3799ed6d8925f2747b96af8ccd0
[ "Apache-2.0" ]
3
2021-09-13T08:53:35.000Z
2022-03-01T19:24:51.000Z
defmodule Curvy.MixProject do use Mix.Project def project do [ app: :curvy, version: "0.3.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), name: "Curvy", description: "Curvy is a pure Elixir implementation of secp256k1 for ECDSA signatures and ...
23.488372
123
0.556436
1a81b03fa48a14803e462a477fa9686a343a2c1c
5,496
exs
Elixir
lib/elixir/test/elixir/protocol/consolidation_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/test/elixir/protocol/consolidation_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/test/elixir/protocol/consolidation_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) path = Path.expand("../../ebin", __DIR__) File.mkdir_p!(path) files = Path.wildcard(PathHelpers.fixture_path("consolidation/*")) Kernel.ParallelCompiler.compile_to_path(files, path) defmodule Protocol.ConsolidationTest do use ExUnit.Case, async: true alias Protoco...
31.405714
103
0.689229
1a81c44281d7e002c887be669ee1a464bd3ac9c8
607
ex
Elixir
lib/dialyxir/warnings/record_matching.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/record_matching.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
330
2015-05-14T13:53:13.000Z
2022-03-29T17:12:23.000Z
lib/dialyxir/warnings/record_matching.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
146
2015-02-03T18:19:43.000Z
2022-03-07T10:05:20.000Z
defmodule Dialyxir.Warnings.RecordMatching do @behaviour Dialyxir.Warning @impl Dialyxir.Warning @spec warning() :: :record_matching def warning(), do: :record_matching @impl Dialyxir.Warning @spec format_short([String.t()]) :: String.t() def format_short(args), do: format_long(args) @impl Dialyxir.W...
25.291667
62
0.69687
1a81d5198d5fb6db7d9ba75b6f30be66d76404cb
1,580
exs
Elixir
config/config.exs
pkrawat1/crowdfunding-api
0757490489270fb177f116be7013d38fa48b3abc
[ "MIT" ]
1
2020-05-24T15:18:36.000Z
2020-05-24T15:18:36.000Z
config/config.exs
pkrawat1/crowdfunding-api
0757490489270fb177f116be7013d38fa48b3abc
[ "MIT" ]
null
null
null
config/config.exs
pkrawat1/crowdfunding-api
0757490489270fb177f116be7013d38fa48b3abc
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :crowdfunding_api, ecto_repos: [Crowdfun...
29.259259
86
0.743038
1a81d5b389eef5e567a84c5ecf5d9a63067e2a61
6,326
exs
Elixir
test/ets_deque_test.exs
gamache/ets_deque
dbd949b0f461d70d19e47c3d910f9bb029c7369e
[ "MIT" ]
2
2020-01-27T16:15:45.000Z
2020-01-29T18:14:04.000Z
test/ets_deque_test.exs
gamache/ets_deque
dbd949b0f461d70d19e47c3d910f9bb029c7369e
[ "MIT" ]
null
null
null
test/ets_deque_test.exs
gamache/ets_deque
dbd949b0f461d70d19e47c3d910f9bb029c7369e
[ "MIT" ]
1
2021-03-18T10:33:30.000Z
2021-03-18T10:33:30.000Z
defmodule EtsDequeTest do use ExUnit.Case doctest EtsDeque doctest EtsDeque.Server test "push_head and pop_head" do deque = EtsDeque.new() assert {:ok, deque} = deque |> EtsDeque.push_head(:hello) assert {:ok, deque} = deque |> EtsDeque.push_head(:world) assert {:ok, :world, deque} = deque |> E...
36.566474
78
0.635789
1a82012ea79c6b2d3fc155d981edbfaf7cf1baae
158
exs
Elixir
test/ex_mixpanel_test.exs
ngnclht1102/ex_mixpanel
281f96f5a8847b39c43032798e634395393e58f1
[ "MIT" ]
null
null
null
test/ex_mixpanel_test.exs
ngnclht1102/ex_mixpanel
281f96f5a8847b39c43032798e634395393e58f1
[ "MIT" ]
null
null
null
test/ex_mixpanel_test.exs
ngnclht1102/ex_mixpanel
281f96f5a8847b39c43032798e634395393e58f1
[ "MIT" ]
null
null
null
defmodule ExMixpanelTest do use ExUnit.Case alias ExMixpanel.{Config, Api} doctest ExMixpanel test "Api returns data" do assert 1 == 1 end end
15.8
32
0.71519
1a820a8cdec4278fe6dd74e81413cede3b27c940
205
ex
Elixir
lib/hl7/2.3/datatypes/dln.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/dln.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/dln.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.DataTypes.Dln do @moduledoc false use HL7.DataType, fields: [ drivers_license_number: nil, issuing_state_province_country: nil, expiration_date: nil ] end
18.636364
42
0.697561
1a820e0eefa9a23326abf0b7883f7c77dfb9c9b0
2,847
ex
Elixir
lib/maxwell/adapter/ibrowse.ex
zhongwencool/maxwell
0b04ec5d1aafedbeb00a4ec3e683c9b2216b7349
[ "MIT" ]
130
2016-03-24T02:48:26.000Z
2021-04-10T19:29:06.000Z
lib/maxwell/adapter/ibrowse.ex
zhongwencool/maxwell
0b04ec5d1aafedbeb00a4ec3e683c9b2216b7349
[ "MIT" ]
78
2016-06-28T06:33:01.000Z
2021-12-15T01:37:54.000Z
lib/maxwell/adapter/ibrowse.ex
zhongwencool/maxwell
0b04ec5d1aafedbeb00a4ec3e683c9b2216b7349
[ "MIT" ]
24
2016-04-09T16:44:19.000Z
2020-12-01T10:57:22.000Z
if Code.ensure_loaded?(:ibrowse) do defmodule Maxwell.Adapter.Ibrowse do @moduledoc """ [`ibrowse`](https://github.com/cmullaparthi/ibrowse) adapter """ use Maxwell.Adapter @impl true def send_direct(conn) do %Conn{ url: url, req_headers: req_headers, query_strin...
26.858491
84
0.589392
1a821d839751cdffc8fdecdb49bf3a940456d329
2,072
ex
Elixir
lib/10_parse/nodes/pnode_group.ex
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
lib/10_parse/nodes/pnode_group.ex
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
lib/10_parse/nodes/pnode_group.ex
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule EctoTestDSL.Parse.Pnode.Group do use EctoTestDSL.Drink.Me use T.Drink.AndParse use T.Drink.Assertively def squeeze_into_map(kws) do reducer = fn {name, value}, acc -> case {Map.get(acc, name), Pnode.Mergeable.impl_for(value)} do {nil, _} -> Map.put(acc, name, value) ...
26.227848
80
0.633687
1a825a19f27eabaf2836db2948e7d3ab6acd0d4f
910
ex
Elixir
lib/elm/ecto/version.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
377
2018-04-05T03:36:00.000Z
2022-03-30T19:12:44.000Z
lib/elm/ecto/version.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
91
2018-05-24T21:56:06.000Z
2022-02-26T03:54:04.000Z
lib/elm/ecto/version.ex
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
34
2018-05-29T03:54:35.000Z
2022-01-13T07:12:46.000Z
defmodule Elm.Ecto.Version do alias Elm.Version @behaviour Ecto.Type def up do Ecto.Migration.execute(""" do $$ begin if not exists (select 1 from pg_type where typname = 'elm_version') then create type elm_version as ( major int, minor int, pa...
21.666667
80
0.595604
1a826cdd5ba6003738b906a884a538b09391261f
2,371
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list_share.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list_share.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_list_share.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...
42.339286
244
0.734289
1a826d629864aa221f15c100d6391c0bd0c8fc0a
815
ex
Elixir
apps/heimdall_ql/lib/heimdall_ql/resolver.ex
thebugcatcher/heimdall
5da4d2afcf80a8dabd23bbd22b19e24bcbd507a9
[ "MIT" ]
2
2021-04-03T14:10:20.000Z
2021-07-07T21:17:35.000Z
apps/heimdall_ql/lib/heimdall_ql/resolver.ex
thebugcatcher/heimdall
5da4d2afcf80a8dabd23bbd22b19e24bcbd507a9
[ "MIT" ]
null
null
null
apps/heimdall_ql/lib/heimdall_ql/resolver.ex
thebugcatcher/heimdall
5da4d2afcf80a8dabd23bbd22b19e24bcbd507a9
[ "MIT" ]
1
2021-11-09T00:59:46.000Z
2021-11-09T00:59:46.000Z
defmodule HeimdallQL.Resolver do @moduledoc false def list_encrypted_messages(_, _, _) do {:ok, SecureStorage.list_messages()} end def get_encrypted_message(_, %{id: id}, _) do case SecureStorage.get_message(id) do nil -> {:error, "Not found"} encrypted_message -> {:ok, encrypted_message} ...
22.638889
57
0.66135
1a828788e6e3216324eb41501b8efb144c72d487
7,334
exs
Elixir
priv/repo/seeds.exs
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
priv/repo/seeds.exs
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
5
2020-07-20T01:49:01.000Z
2021-09-08T00:17:04.000Z
priv/repo/seeds.exs
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Or run `mix ecto.reset` to drop and re-create the database from scratch. # # Inside the script, you can read and write to any of your # repositories directly: # # Crew.Repo.insert!(%Crew.SomeSchema{}) # # We recommend u...
28.426357
114
0.681484
1a82c86913697b54267e3309459826d94ff595d2
1,176
ex
Elixir
web/channels/user_socket.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
defmodule Pasteboard.UserSocket do use Phoenix.Socket ## Channels # channel "rooms:*", Pasteboard.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 ...
30.947368
83
0.704082
1a82c8e392e9f3a6fbfd46e1706af80c2c1e6057
3,634
ex
Elixir
uptime_gui/lib/uptime_gui_web/channels/check_channel.ex
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
uptime_gui/lib/uptime_gui_web/channels/check_channel.ex
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
uptime_gui/lib/uptime_gui_web/channels/check_channel.ex
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
defmodule UptimeGuiWeb.CheckChannel do use UptimeGuiWeb, :channel require Logger alias UptimeGui.{Check, Repo, User, Contact} def join("checks:" <> user_id, payload, socket) do with true <- authorized?(user_id, payload), user = %User{} <- Repo.get(User, user_id) do socket = assign(socket, ...
31.059829
98
0.603742
1a82dab29ff2a1eeac2c7e536b466161a32b0511
4,857
ex
Elixir
lib/domo/type_ensurer_factory/batch_ensurer.ex
BasileNouvellet/Domo
43617a8e14880853058ea6c5b20944506ade9af0
[ "MIT" ]
null
null
null
lib/domo/type_ensurer_factory/batch_ensurer.ex
BasileNouvellet/Domo
43617a8e14880853058ea6c5b20944506ade9af0
[ "MIT" ]
null
null
null
lib/domo/type_ensurer_factory/batch_ensurer.ex
BasileNouvellet/Domo
43617a8e14880853058ea6c5b20944506ade9af0
[ "MIT" ]
null
null
null
defmodule Domo.TypeEnsurerFactory.BatchEnsurer do @moduledoc false alias Domo.ErrorBuilder alias Domo.TypeEnsurerFactory.Alias alias Domo.TypeEnsurerFactory.ModuleInspector alias Domo.TypeEnsurerFactory.Error def ensure_struct_integrity(plan_path) do with {:ok, plan_map} <- read_plan(plan_path), ...
30.35625
102
0.67449
1a835a788fe502b909e73648d70a5bc8de6b3ce8
76
exs
Elixir
test/pandex_test.exs
krystofbe/pandex
74aa3ae34e3be373a39c5291808bd27b59393385
[ "MIT" ]
null
null
null
test/pandex_test.exs
krystofbe/pandex
74aa3ae34e3be373a39c5291808bd27b59393385
[ "MIT" ]
null
null
null
test/pandex_test.exs
krystofbe/pandex
74aa3ae34e3be373a39c5291808bd27b59393385
[ "MIT" ]
null
null
null
defmodule PandexTest do use ExUnit.Case, async: true doctest Pandex end
15.2
30
0.776316
1a8368157a903c39c97f42e8dd3def4be3f4689b
146
exs
Elixir
apps/bookmarker/priv/repo/migrations/20161013143448_add_tags_unique_index.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/bookmarker/priv/repo/migrations/20161013143448_add_tags_unique_index.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/bookmarker/priv/repo/migrations/20161013143448_add_tags_unique_index.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Bookmarker.Repo.Migrations.AddTagsUniqueIndex do use Ecto.Migration def change do create unique_index(:tags, [:name]) end end
18.25
58
0.767123
1a836d3c42fe43a784aee8cec0e439bfbb65476c
248
ex
Elixir
lib/edgedb/protocol/enums/message_severity.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/enums/message_severity.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/enums/message_severity.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.Protocol.Enums.MessageSeverity do @moduledoc false use EdgeDB.Protocol.Enum defenum( values: [ debug: 0x14, info: 0x28, notice: 0x3C, warning: 0x50 ], guard: :is_message_severity ) end
15.5
50
0.637097
1a837d7bf6bb9323abfd06bb27003af6760d9428
7,502
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/address.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/address.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/address.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
64.672414
516
0.706745
1a83cc971d05016e2e3d1c29b8cba9f72d353134
1,369
exs
Elixir
test/new_relixir/stats_test.exs
nikhilbelchada/new-relixir
6595b7ef713617e4c69ff414371c01c0e168a706
[ "MIT" ]
192
2016-03-18T23:58:14.000Z
2022-02-04T13:41:32.000Z
test/new_relixir/stats_test.exs
nikhilbelchada/new-relixir
6595b7ef713617e4c69ff414371c01c0e168a706
[ "MIT" ]
53
2016-05-06T17:57:06.000Z
2019-01-25T21:11:52.000Z
test/new_relixir/stats_test.exs
nikhilbelchada/new-relixir
6595b7ef713617e4c69ff414371c01c0e168a706
[ "MIT" ]
55
2016-04-29T09:45:36.000Z
2020-05-27T23:35:04.000Z
defmodule NewRelixir.StatsTest do use ExUnit.Case, async: true alias NewRelixir.Stats describe "#transform_aggregated_metrics" do import Stats, only: [transform_aggregated_metrics: 3] test "returns empty data set" do assert transform_aggregated_metrics(%{}, %{}, 100) == {[], [], 100} end ...
29.12766
81
0.612126
1a83d1f484ac8dab1e94a5b5f00c1d165b5759f3
4,242
exs
Elixir
test/lib/request_test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
3
2018-11-17T18:12:15.000Z
2020-12-09T06:26:59.000Z
test/lib/request_test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
2
2018-12-12T14:14:56.000Z
2019-07-01T14:13:57.000Z
test/lib/request_test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
null
null
null
defmodule Ibanity.RequestTest do use ExUnit.Case alias Ibanity.Request alias Ibanity.Xs2a.CustomerAccessToken describe ".header/3" do test "add a new header" do request = %Request{} |> Request.header(:"X-Http-Dummy", "foo") assert [:Accept, :"Content-Type", :"X-Http-Dummy"] ...
30.3
94
0.648986
1a842f72abf68ca6a1c6ddf3a2853fd0447602ad
3,009
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ip_configuration.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ip_configuration.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ip_configuration.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "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...
51
469
0.724493
1a843d91d8224a939c58bc1eaba214e475749afa
242
exs
Elixir
test/broadcasts_test.exs
kddeisz/travis.ex
5d54cf61342f1b470d363c10b608a28ce97ee580
[ "MIT" ]
null
null
null
test/broadcasts_test.exs
kddeisz/travis.ex
5d54cf61342f1b470d363c10b608a28ce97ee580
[ "MIT" ]
null
null
null
test/broadcasts_test.exs
kddeisz/travis.ex
5d54cf61342f1b470d363c10b608a28ce97ee580
[ "MIT" ]
null
null
null
defmodule Travis.BroadcastsTest do use ExUnit.Case @client Travis.Client.new(System.get_env("TRAVIS_TOKEN")) test "#list" do %{"broadcasts" => broadcasts} = Travis.Broadcasts.list(@client) assert is_list(broadcasts) end end
22
67
0.72314
1a844d117d07e0ca0cd22db4c11219f034b6efa4
4,275
ex
Elixir
lib/codes/codes_w90.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_w90.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_w90.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_W90 do alias IcdCode.ICDCode def _W900XXA do %ICDCode{full_code: "W900XXA", category_code: "W90", short_code: "0XXA", full_name: "Exposure to radiofrequency, initial encounter", short_name: "Exposure to radiofrequency, initial encounter", ...
37.173913
88
0.646082
1a845c76a244a6f218a706e484789b7576ddfccb
587
exs
Elixir
mix.exs
koladilip/elixir-examples
49553fe39bbff6e35d1cb2c26fcb6d87fe4e28d3
[ "MIT" ]
null
null
null
mix.exs
koladilip/elixir-examples
49553fe39bbff6e35d1cb2c26fcb6d87fe4e28d3
[ "MIT" ]
null
null
null
mix.exs
koladilip/elixir-examples
49553fe39bbff6e35d1cb2c26fcb6d87fe4e28d3
[ "MIT" ]
null
null
null
defmodule ElixirExamples.MixProject do use Mix.Project def project do [ app: :elixir_examples, 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.241379
87
0.587734
1a8461a71e189d86bd32f7491e83a2a5a195c774
3,078
exs
Elixir
mix.exs
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
6
2018-05-22T07:13:47.000Z
2019-10-17T03:40:22.000Z
mix.exs
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
2
2018-11-01T17:11:51.000Z
2019-06-15T13:33:31.000Z
mix.exs
SpaceEEC/crux_structs
c10adb64ab6392c8601e4c53447128294daf0ae3
[ "MIT" ]
2
2018-10-29T06:53:41.000Z
2019-06-14T19:15:56.000Z
defmodule Crux.Structs.MixProject do use Mix.Project @vsn "0.3.0-dev" @name :crux_structs def project() do [ start_permanent: Mix.env() == :prod, package: package(), app: @name, version: @vsn, elixir: "~> 1.10", description: "Library providing Discord API structs for cr...
25.229508
85
0.537687
1a8465a641c0c3654fdf37cb4c9b049889b0855a
1,316
ex
Elixir
lib/kojin/sql/dql/query.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
3
2021-12-20T04:46:00.000Z
2022-01-31T22:26:44.000Z
lib/kojin/sql/dql/query.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
1
2021-12-20T14:46:50.000Z
2021-12-20T14:46:50.000Z
lib/kojin/sql/dql/query.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
1
2021-12-20T00:15:52.000Z
2021-12-20T00:15:52.000Z
defmodule Kojin.Sql.Dql.Query do use TypedStruct alias Kojin.Sql.Dql.{Query, ResultColumn, Join} typedstruct enforce: true do field(:result_columns, list(ResultColumn.t())) field(:table, binary) field(:joins, list(Join.t())) field(:group_by, list(binary)) field(:having, binary) field(:or...
24.37037
78
0.62614
1a846f3a24de3123c3b3d5ae0fbc2787880d9c5c
1,693
ex
Elixir
lib/cowboy_issue_web/endpoint.ex
pdamoc/cowboy_issue
3873ffed5cc2b15ead54b2d3e95575b09ba1833a
[ "MIT" ]
null
null
null
lib/cowboy_issue_web/endpoint.ex
pdamoc/cowboy_issue
3873ffed5cc2b15ead54b2d3e95575b09ba1833a
[ "MIT" ]
null
null
null
lib/cowboy_issue_web/endpoint.ex
pdamoc/cowboy_issue
3873ffed5cc2b15ead54b2d3e95575b09ba1833a
[ "MIT" ]
null
null
null
defmodule CowboyIssueWeb.Endpoint do use Phoenix.Endpoint, otp_app: :cowboy_issue socket "/socket", CowboyIssueWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. ...
29.189655
95
0.712345
1a847491b234b362478ca9ef235b548561aabef3
103
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_and_operation_parsing_test_case/MatchedCallOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_and_operation_parsing_test_case/MatchedCallOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_and_operation_parsing_test_case/MatchedCallOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one && two positional, key: value one &&& two positional, key: value one and two positional, key: value
34.333333
34
0.728155
1a849ff20b20ddd9141613d2ad9e532cf5d23e81
290
ex
Elixir
test/support/post.ex
J3RN/meseeks
046914eb8ae431caed28e544b0bbd1f38ffacc09
[ "MIT" ]
null
null
null
test/support/post.ex
J3RN/meseeks
046914eb8ae431caed28e544b0bbd1f38ffacc09
[ "MIT" ]
null
null
null
test/support/post.ex
J3RN/meseeks
046914eb8ae431caed28e544b0bbd1f38ffacc09
[ "MIT" ]
null
null
null
defmodule Post do use Meseeks defstruct([:id, :user_id, :title, :text]) can do %User{role: :admin}, %Post{} -> [:show, :update, :delete] %User{id: user_id}, %Post{user_id: user_id} -> [:show, :update, :delete] %User{}, %Post{user_id: nil} -> [:index, :create] end end
24.166667
76
0.593103
1a84c5c6e1c2a5abaa39eeda987832f45e0adff9
1,138
exs
Elixir
config/config.exs
zuppler/zuppler-users-client-elixir
b5c833ab1e61c134d08f197685b6bc7247fbea7b
[ "MIT" ]
null
null
null
config/config.exs
zuppler/zuppler-users-client-elixir
b5c833ab1e61c134d08f197685b6bc7247fbea7b
[ "MIT" ]
null
null
null
config/config.exs
zuppler/zuppler-users-client-elixir
b5c833ab1e61c134d08f197685b6bc7247fbea7b
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.5625
73
0.760105
1a84d9a4c8442d20daf0a8209d7005a87a921161
1,248
exs
Elixir
mix.exs
mfeckie/nug
164772bcf8a9a808cdb742a967f61807c132cbdf
[ "MIT" ]
1
2020-05-13T23:25:31.000Z
2020-05-13T23:25:31.000Z
mix.exs
mfeckie/nug
164772bcf8a9a808cdb742a967f61807c132cbdf
[ "MIT" ]
null
null
null
mix.exs
mfeckie/nug
164772bcf8a9a808cdb742a967f61807c132cbdf
[ "MIT" ]
null
null
null
defmodule Nug.MixProject do use Mix.Project def project do [ app: :nug, version: "0.4.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description(), elixirc_paths: elixirc_paths(Mix.env()), ] end ...
23.111111
85
0.553686
1a84eb796d4aa066a5d49adea8072697a24df32b
2,381
ex
Elixir
lib/slave.ex
vpsinc/modbus
e1b04916dc12c104e032122738815a1e3910394b
[ "Apache-2.0" ]
null
null
null
lib/slave.ex
vpsinc/modbus
e1b04916dc12c104e032122738815a1e3910394b
[ "Apache-2.0" ]
null
null
null
lib/slave.ex
vpsinc/modbus
e1b04916dc12c104e032122738815a1e3910394b
[ "Apache-2.0" ]
null
null
null
defmodule Modbus.Slave do @moduledoc false use GenServer alias Modbus.Transport alias Modbus.Protocol alias Modbus.Shared def start_link(opts) do ip = Keyword.get(opts, :ip, {127, 0, 0, 1}) port = Keyword.get(opts, :port, 0) model = Keyword.fetch!(opts, :model) trans = Modbus.Tcp.Transport ...
24.802083
74
0.589668
1a84f84ba2b9079f161c1fb7234a3ef94f764e67
2,118
ex
Elixir
lib/jsox/encoder.ex
hrzndhrn/jsox
7549769ecf12c1036fef2caa67dd6de3eaea6141
[ "MIT" ]
null
null
null
lib/jsox/encoder.ex
hrzndhrn/jsox
7549769ecf12c1036fef2caa67dd6de3eaea6141
[ "MIT" ]
null
null
null
lib/jsox/encoder.ex
hrzndhrn/jsox
7549769ecf12c1036fef2caa67dd6de3eaea6141
[ "MIT" ]
null
null
null
defprotocol Jsox.Encoder do @fallback_to_any true @type json :: String.t @spec to_json(any, [iodata: boolean]) :: json | iodata def to_json(any, opts \\ []) end defimpl Jsox.Encoder, for: BitString do alias Jsox.Encoder.Helper def to_json("", _opts), do: ~s("") def to_json(str, iodata: true), do: str ...
26.475
74
0.68508
1a853199b2238fb33586d8776dc0f72f5ed57481
727
ex
Elixir
lib/annon_api/plugins/auth/strategies/oauth.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
328
2017-05-05T15:19:46.000Z
2022-03-11T10:52:45.000Z
lib/annon_api/plugins/auth/strategies/oauth.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
83
2017-04-30T10:36:15.000Z
2019-10-14T13:14:34.000Z
lib/annon_api/plugins/auth/strategies/oauth.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
29
2017-05-02T14:36:50.000Z
2021-09-03T13:36:17.000Z
defmodule Annon.Plugins.Auth.Strategies.OAuth do @moduledoc """ JWT adapter for Auth strategies. """ alias Annon.PublicAPI.Consumer alias Annon.Plugins.Auth.ThirdPartyResolver @behaviour Annon.Plugins.Auth.Strategy def fetch_consumer(:bearer, token, settings) do %{"url_template" => url_template} = se...
26.925926
55
0.657497
1a8549658375aad7dac1483597f433e02635a188
1,586
ex
Elixir
lib/dgraph_ex/core/query/func.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:41.000Z
2019-05-01T15:18:41.000Z
lib/dgraph_ex/core/query/func.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
null
null
null
lib/dgraph_ex/core/query/func.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:48.000Z
2019-05-01T15:18:48.000Z
defmodule DgraphEx.Core.Query.Func do @moduledoc false alias DgraphEx.Core.{Expr, Query} alias Expr.Uid alias Query.{Block} defstruct name: nil, expr: nil, block: {} defmacro __using__(_) do quote do def func(one, two, three \\ nil, four \\ nil) do case {one, two...
24.030303
74
0.592055
1a855420e7a9f4937b1f4b11850d7f435dc09aed
56
ex
Elixir
lib/home_web/views/graph_view.ex
marktermaat/home_bot
b6d0bd5e1e97b2b0c95e201618e27de4259378d3
[ "MIT" ]
null
null
null
lib/home_web/views/graph_view.ex
marktermaat/home_bot
b6d0bd5e1e97b2b0c95e201618e27de4259378d3
[ "MIT" ]
null
null
null
lib/home_web/views/graph_view.ex
marktermaat/home_bot
b6d0bd5e1e97b2b0c95e201618e27de4259378d3
[ "MIT" ]
null
null
null
defmodule HomeWeb.GraphView do use HomeWeb, :view end
14
30
0.785714
1a85574518a3a73f6eb1ab4b1fa871852fb6375b
678
ex
Elixir
apps/docker/lib/docker/network_remover.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
null
null
null
apps/docker/lib/docker/network_remover.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
null
null
null
apps/docker/lib/docker/network_remover.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
null
null
null
defmodule Staxx.Docker.NetworkRemover do @moduledoc """ Module removes unused networks for docker env It's very simple reccuring executer for command. Some sort of a cron job. But way more simple, lightweight and OTP based """ use GenServer alias Staxx.Docker require Logger @timeout 360_000 # @t...
21.1875
73
0.69764
1a856817049d576da26345d8a982a004aea9ce44
2,134
exs
Elixir
test/k8s/client/runner/wait_test.exs
Overbryd/k8s
7057601b1f191b47294133045c9e5b74bd9dd525
[ "MIT" ]
null
null
null
test/k8s/client/runner/wait_test.exs
Overbryd/k8s
7057601b1f191b47294133045c9e5b74bd9dd525
[ "MIT" ]
null
null
null
test/k8s/client/runner/wait_test.exs
Overbryd/k8s
7057601b1f191b47294133045c9e5b74bd9dd525
[ "MIT" ]
null
null
null
defmodule K8s.Client.Runner.WaitTest do use ExUnit.Case, async: true doctest K8s.Client.Runner.Wait alias K8s.Client.Runner.Wait def operation(method \\ :get) do %K8s.Operation{ method: method, verb: :get, group_version: "v1", kind: "Pod", path_params: [namespace: "test", name...
31.382353
75
0.583411
1a85691dbe2dda8726befa05e31439d30f5f7c39
12,185
exs
Elixir
test/cadet_web/controllers/user_controller_test.exs
Source-Academy-Game/cadet
a46af782fec8866b86a232a0bc27f4cec0b2269c
[ "Apache-2.0" ]
null
null
null
test/cadet_web/controllers/user_controller_test.exs
Source-Academy-Game/cadet
a46af782fec8866b86a232a0bc27f4cec0b2269c
[ "Apache-2.0" ]
2
2020-04-22T09:06:38.000Z
2020-04-22T09:15:33.000Z
test/cadet_web/controllers/user_controller_test.exs
Source-Academy-Game/cadet
a46af782fec8866b86a232a0bc27f4cec0b2269c
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule CadetWeb.UserControllerTest do use CadetWeb.ConnCase import Cadet.Factory alias Cadet.Repo alias CadetWeb.UserController alias Cadet.Assessments.{Assessment, AssessmentType, Submission} alias Cadet.Accounts.GameStates test "swagger" do assert is_map(UserController.swagger_definitions()) ...
28.011494
106
0.559294
1a858978594b6b2ec8883ef332af4f52875bf2c4
2,855
ex
Elixir
lib/signs/utilities/headways.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-01-24T12:39:05.000Z
2022-01-24T12:39:05.000Z
lib/signs/utilities/headways.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
40
2021-05-05T10:14:25.000Z
2022-03-31T18:34:15.000Z
lib/signs/utilities/headways.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-03-20T21:08:12.000Z
2022-03-20T21:08:12.000Z
defmodule Signs.Utilities.Headways do @moduledoc """ Given a sign with a SourceConfig, fetches headways and geneartes the top and bottom lines for the sign """ alias Signs.Utilities.SourceConfig require Logger @spec get_messages(Signs.Realtime.t(), DateTime.t()) :: Signs.Utilities.Messages.sign_messages(...
34.39759
98
0.695271
1a85b18d1ef52431110aa0077f00a44464c7497d
619
ex
Elixir
Chapter9/dynamic_workers/lib/todo/process_registry.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter9/dynamic_workers/lib/todo/process_registry.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter9/dynamic_workers/lib/todo/process_registry.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
# Todo ProcessRegistry [supervisor] # This module supervises and registers all Todo services defmodule Todo.ProcessRegistry do # --------- # Supervisor hook functions # --------- @spec start_link :: {:error, any} | {:ok, pid} def start_link do Registry.start_link(keys: :unique, name: __MODULE__) end ...
23.807692
81
0.655897
1a85c34ab974083762a2c30a8ecc9b0d6401dd2d
280
exs
Elixir
test/easypost/helpers/json_test.exs
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
6
2017-09-21T13:19:56.000Z
2021-01-07T18:31:42.000Z
test/easypost/helpers/json_test.exs
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
null
null
null
test/easypost/helpers/json_test.exs
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
2
2018-07-11T07:12:08.000Z
2020-06-29T02:04:48.000Z
defmodule EasyPost.Helpers.JSONTest do use ExUnit.Case, async: true alias EasyPost.{ Config, Helpers } test "decode/2" do assert %{ "ok" => true } = Helpers.JSON.decode("{\"ok\":true}", Config.new()) assert "💩" == Helpers.JSON.decode("💩", Config.new()) end end
23.333333
81
0.632143
1a86541b2bd96fc732838619670f4e4f61e0da95
5,667
ex
Elixir
deps/plug/lib/plug/session/cookie.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
1
2016-08-17T11:39:26.000Z
2016-08-17T11:39:26.000Z
deps/plug/lib/plug/session/cookie.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
null
null
null
deps/plug/lib/plug/session/cookie.ex
superbogy/pande
30ebb683febd1cd10711e562863fc73b87827c53
[ "MIT" ]
null
null
null
defmodule Plug.Session.COOKIE do @moduledoc """ Stores the session in a cookie. This cookie store is based on `Plug.Crypto.MessageVerifier` and `Plug.Crypto.Message.Encryptor` which encrypts and signs each cookie to ensure they can't be read nor tampered with. Since this store uses crypto features, it req...
32.757225
97
0.651138
1a865c73e016f774261c7dc028dcbe2c3eb0e3a3
1,071
ex
Elixir
lib/iris_web/router.ex
JosKar/iris_server
8faa370f506a003ae3c06b23d6c827bd746368f3
[ "MIT" ]
17
2017-07-10T09:01:40.000Z
2022-03-08T23:47:27.000Z
lib/iris_web/router.ex
7-iris/iris_server
8faa370f506a003ae3c06b23d6c827bd746368f3
[ "MIT" ]
7
2017-07-09T16:22:13.000Z
2018-06-09T21:34:03.000Z
lib/iris_web/router.ex
JosKar/iris_server
8faa370f506a003ae3c06b23d6c827bd746368f3
[ "MIT" ]
null
null
null
defmodule IrisWeb.Router do use IrisWeb, :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"] plug :fetch_session end if Mix.env == :d...
23.8
67
0.689076
1a8677d6677a9a3695514cecc424d62a8e91ab88
18,320
ex
Elixir
lib/livebook_web/live/file_select_component.ex
auser/livebook
6f6b7e3ee08feb53a5d047744c7dccfe76d0a86d
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/file_select_component.ex
auser/livebook
6f6b7e3ee08feb53a5d047744c7dccfe76d0a86d
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/file_select_component.ex
auser/livebook
6f6b7e3ee08feb53a5d047744c7dccfe76d0a86d
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.FileSelectComponent do use LivebookWeb, :live_component # The component expects: # # * `file` - the currently entered file # # * `running_files` - the list of notebook files that are already # linked to running sessions # # * `extnames` - a list of file extensions that...
32.310406
151
0.567249
1a86864674055cb6fa24068bddf586c8e04c71e1
1,313
ex
Elixir
lib/codes/codes_k35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_k35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_k35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_K35 do alias IcdCode.ICDCode def _K352 do %ICDCode{full_code: "K352", category_code: "K35", short_code: "2", full_name: "Acute appendicitis with generalized peritonitis", short_name: "Acute appendicitis with generalized peritonitis", ...
30.534884
74
0.633663
1a86c0baf4e575ea8540471808bc4f15cccd97c0
1,651
ex
Elixir
day03/lib/day03.ex
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
10
2021-12-01T08:49:00.000Z
2022-03-24T13:24:50.000Z
day03/lib/day03.ex
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
null
null
null
day03/lib/day03.ex
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
1
2021-12-16T07:09:11.000Z
2021-12-16T07:09:11.000Z
defmodule Day03 do use Bitwise def part1(input) do input = parse(input) num_samples = length(input) bits_per_sample = length(hd(input)) gamma = input |> Enum.reduce(%{}, fn bits, acc -> bits |> Enum.with_index |> Enum.reduce(acc, fn {bit, index}, acc -> case bit do ...
20.898734
59
0.543307
1a86c3591237f75e41eece04334d12f2a7c1c16f
1,472
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/list_feeds_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/list_feeds_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/list_feeds_response.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...
31.319149
105
0.737772
1a86d9f97fd6879394530dd7432e357f43f2220e
385
exs
Elixir
priv/templates/brando.install/migrations/20190426105600_create_templates.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
priv/templates/brando.install/migrations/20190426105600_create_templates.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
priv/templates/brando.install/migrations/20190426105600_create_templates.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule <%= application_module %>.Repo.Migrations.CreateVillainTemplates do use Ecto.Migration def change do create table(:templates) do add :name, :string add :namespace, :string add :help_text, :text add :class, :string add :code, :text add :refs, :jsonb timestamps...
21.388889
77
0.638961
1a8746b9e2bae8b5c2da1dac0576e271a83e1b1d
542
exs
Elixir
test/support/config.exs
elixir-web/weber
1c8caa43681cc432813dff33b2c6d08ca1d61f29
[ "MIT" ]
124
2015-01-03T16:48:21.000Z
2022-02-02T21:13:11.000Z
test/support/config.exs
elixir-web/weber
1c8caa43681cc432813dff33b2c6d08ca1d61f29
[ "MIT" ]
2
2015-03-08T05:29:36.000Z
2015-07-19T15:31:19.000Z
test/support/config.exs
elixir-web/weber
1c8caa43681cc432813dff33b2c6d08ca1d61f29
[ "MIT" ]
12
2015-02-23T02:09:27.000Z
2016-08-07T13:50:38.000Z
defmodule Config do def config do [webserver: [http_host: "localhost", http_port: 8080, acceptors: 100, ssl: false, cacertfile_path: "", certfile_path: "", keyfile_path: "" ], ws: [ws_port: 8080, ws_mod: :Handler ], use_internationa...
17.483871
36
0.535055
1a8788d14207842ee29d02138f50afdcd84022c0
3,002
exs
Elixir
test/game/command/look_test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/game/command/look_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/game/command/look_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Command.LookTest do use ExVenture.CommandCase alias Data.Exit alias Data.Item alias Game.Command.Look alias Game.Environment doctest Look describe "normal room" do setup do start_and_clear_items() item = create_item(%{name: "Short Sword", description: "A simple blade", ke...
25.87931
100
0.58994