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
18637faba6828f5f6cbaf64d8928ca300ea42097
875
ex
Elixir
lib/user_auth_web/router.ex
normanpatrick/simple-user-auth-api
ca0e23926b03c53d985f55d7d35ed5361dd32fd6
[ "MIT" ]
null
null
null
lib/user_auth_web/router.ex
normanpatrick/simple-user-auth-api
ca0e23926b03c53d985f55d7d35ed5361dd32fd6
[ "MIT" ]
null
null
null
lib/user_auth_web/router.ex
normanpatrick/simple-user-auth-api
ca0e23926b03c53d985f55d7d35ed5361dd32fd6
[ "MIT" ]
null
null
null
defmodule UserAuthWeb.Router do use UserAuthWeb, :router pipeline :api do plug :accepts, ["json"] plug :fetch_session end pipeline :authenticate_api do plug :ensure_authenticated end scope "/api", UserAuthWeb do pipe_through :api post "/users/sign_in", UserController, :sign_in opt...
23.026316
64
0.681143
1863c0a01f5c4f7fb55ae81b9f67475a8e647539
480
ex
Elixir
lib/redex/protocol/state.ex
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
173
2019-03-15T15:05:11.000Z
2022-01-10T08:21:48.000Z
lib/redex/protocol/state.ex
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
null
null
null
lib/redex/protocol/state.ex
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
9
2019-07-28T01:20:43.000Z
2021-08-18T03:41:44.000Z
defmodule Redex.Protocol.State do defstruct transport: nil, socket: nil, buffer: "", acc: [], quorum: 1, db: 0, channels: [], active: false @type t :: %__MODULE__{ transport: atom, socket: any, buffer:...
21.818182
33
0.44375
1863c8c30ce985412d967adb484dded68f2a349c
1,289
ex
Elixir
lib/serum/dev_server/service/mock.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
302
2016-08-01T05:16:06.000Z
2022-03-26T07:20:46.000Z
lib/serum/dev_server/service/mock.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
206
2016-08-04T15:18:35.000Z
2022-03-01T03:07:57.000Z
lib/serum/dev_server/service/mock.ex
skunkwerks/serum
45039417a101bf89f3a86a4aa3d42ce41df2d676
[ "MIT" ]
35
2016-10-29T13:59:34.000Z
2022-03-01T01:50:31.000Z
defmodule Serum.DevServer.Service.Mock do @moduledoc false _moduledocp = """ A fake implementation of `Serum.DevServer.Service` behaviour for testing. """ use GenServer alias Serum.DevServer.Service @behaviour Service @doc false @spec start_link(binary(), binary()) :: {:ok, pid()} | {:error, term(...
22.224138
75
0.655547
18643abace1b630d3f08c15ceddbda95dcea73dd
1,708
ex
Elixir
lib/bullish_web.ex
EssenceOfChaos/bullish
b5044a383b9aa1550b2a1ca40593de198f51ceec
[ "MIT" ]
1
2019-04-24T03:04:23.000Z
2019-04-24T03:04:23.000Z
lib/bullish_web.ex
EssenceOfChaos/bullish
b5044a383b9aa1550b2a1ca40593de198f51ceec
[ "MIT" ]
3
2019-03-13T03:26:51.000Z
2021-05-08T02:34:05.000Z
lib/bullish_web.ex
EssenceOfChaos/bullish
b5044a383b9aa1550b2a1ca40593de198f51ceec
[ "MIT" ]
1
2019-03-07T04:56:16.000Z
2019-03-07T04:56:16.000Z
defmodule BullishWeb 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 BullishWeb, :controller use BullishWeb, :view The definitions below will be executed for every view, controller, ...
24.056338
83
0.675059
1864ee4c1b9aa563471579bce385882d8de9a434
345
ex
Elixir
test/support/pages/import_live.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/pages/import_live.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/pages/import_live.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Test.Pages.ImportLive do import Phoenix.LiveViewTest alias EpicenterWeb.Test.Pages alias Phoenix.LiveViewTest.View def visit(%Plug.Conn{} = conn), do: conn |> Pages.visit("/import/start") def upload_button_visible?(%View{} = view), do: view |> element("[data-role=upload-labs]...
26.538462
68
0.710145
1864f52e2583d277e17031799be2127cfa64a76f
1,638
ex
Elixir
lib/mudkip_web/endpoint.ex
KaiaHa/MUDkip
10c1208d117d3426474c9b39b864972b7c41d65d
[ "MIT" ]
null
null
null
lib/mudkip_web/endpoint.ex
KaiaHa/MUDkip
10c1208d117d3426474c9b39b864972b7c41d65d
[ "MIT" ]
null
null
null
lib/mudkip_web/endpoint.ex
KaiaHa/MUDkip
10c1208d117d3426474c9b39b864972b7c41d65d
[ "MIT" ]
null
null
null
defmodule MudkipWeb.Endpoint do use Phoenix.Endpoint, otp_app: :mudkip socket "/socket", MudkipWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static...
28.736842
95
0.705739
1864f9b22a86f8b5ef6d03464bd0b8c98ed94895
1,325
ex
Elixir
lib/mastani_server/billing/delegates/actions.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
lib/mastani_server/billing/delegates/actions.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
lib/mastani_server/billing/delegates/actions.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Billing.Delegate.Actions do @moduledoc """ actions after biling state success """ import Helper.Utils, only: [get_config: 2] alias MastaniServer.Accounts alias MastaniServer.Billing.BillRecord alias Accounts.User @senior_amount_threshold get_config(:general, :senior_amount_thr...
30.113636
89
0.693585
1865213863adc9684a61ae74bf195db0877a72ad
1,099
ex
Elixir
example/test/support/channel_case.ex
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
example/test/support/channel_case.ex
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
example/test/support/channel_case.ex
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
defmodule ExampleWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts w...
29.702703
88
0.737034
18653b7b72e3b715de2644e6ca0669a36ac550d2
239
exs
Elixir
zombie-driver/config/test.exs
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
zombie-driver/config/test.exs
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
zombie-driver/config/test.exs
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "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 config :junit_formatter, report_file: "junit.xml", report_dir: "/tmp", print_report_file: true
26.555556
61
0.769874
18654e4ddd615c02c50e6b55b68182b1bcb68127
1,280
ex
Elixir
exercises/concept/dna-encoding/.meta/exemplar.ex
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
1
2021-09-02T06:01:17.000Z
2021-09-02T06:01:17.000Z
exercises/concept/dna-encoding/.meta/exemplar.ex
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
19
2021-01-21T06:48:32.000Z
2022-03-21T15:08:57.000Z
exercises/concept/dna-encoding/.meta/exemplar.ex
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
null
null
null
defmodule DNA do @moduledoc """ Example solution for the `bitstrings` exercise. Written by Tim Austin, tim@neenjaw.com, June 2020. | NucleicAcid | Bits | | ----------- | ---- | | ' ' | 0000 | | A | 0001 | | C | 0010 | | G | 0100 | | T | 1000 |...
25.098039
64
0.59375
18655ca314916c6e0564baa876d67d3d00787849
737
ex
Elixir
third_party/universal-ctags/ctags/Units/parser-elixir.r/elixir-sign-operators.d/input.ex
f110/wing
31b259f723b57a6481252a4b8b717fcee6b01ff4
[ "MIT" ]
1
2020-03-24T16:08:43.000Z
2020-03-24T16:08:43.000Z
third_party/universal-ctags/ctags/Units/parser-elixir.r/elixir-sign-operators.d/input.ex
f110/wing
31b259f723b57a6481252a4b8b717fcee6b01ff4
[ "MIT" ]
null
null
null
third_party/universal-ctags/ctags/Units/parser-elixir.r/elixir-sign-operators.d/input.ex
f110/wing
31b259f723b57a6481252a4b8b717fcee6b01ff4
[ "MIT" ]
1
2021-04-26T09:00:06.000Z
2021-04-26T09:00:06.000Z
defmodule OperatorModule do def a + b, do: max(a, b) def a - b, do: max(a, b) def a * b, do: max(a, b) def a / b, do: max(a, b) def a = b, do: max(a, b) def a . b, do: max(a, b) # The 13 operators bellow are ALL the operators that Elixir is CAPABLE of # parsing and are not used by default, so the user ...
29.48
75
0.531886
186564ec1952ea339c58813684735e96226e849f
609
ex
Elixir
lib/ex_memcached/server_state.ex
baldmountain/ex_memcached
70a0da0d0795ae9b41dfd76af028562cd873c939
[ "MIT" ]
null
null
null
lib/ex_memcached/server_state.ex
baldmountain/ex_memcached
70a0da0d0795ae9b41dfd76af028562cd873c939
[ "MIT" ]
null
null
null
lib/ex_memcached/server_state.ex
baldmountain/ex_memcached
70a0da0d0795ae9b41dfd76af028562cd873c939
[ "MIT" ]
null
null
null
defmodule ExMemcached.ServerState do require Logger defstruct socket: nil, transport: nil, existing_data: "", stored_responses: << >> def close_transport(server_state = %ExMemcached.ServerState{}) do # Logger.debug("Closing: #{Exception.format_stacktrace()}") :timer.sleep(500) server_state.transport....
33.833333
83
0.732348
18657a69dffafda44fbaa30528962dab3bf7dc63
1,841
exs
Elixir
clients/cloud_identity/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_identity/mix.exs
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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.477612
105
0.657795
18657c1547edb0eb83f0b115342b06feb80277c7
21,973
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/target_tcp_proxies.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_tcp_proxies.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_tcp_proxies.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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.1
434
0.656624
18659600fd540a57b772eda352bd475fec5d63fb
4,362
ex
Elixir
lib/elixir/lib/stream/reducers.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/lib/stream/reducers.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/stream/reducers.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule Stream.Reducers do # Collection of reducers shared by Enum and Stream. @moduledoc false defmacro chunk(n, step, limit, f \\ nil) do quote do fn entry, acc(h, {buffer, count}, t) -> buffer = [entry|buffer] count = count + 1 new = if count >= unquote(limit) d...
23.079365
89
0.503668
1865e6ed3a44cc8a5d8b5357aab6faaa448911f3
705
ex
Elixir
src/lib/changelog/data/podcast/podcast_topic.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
1
2018-01-22T20:07:10.000Z
2018-01-22T20:07:10.000Z
lib/changelog/data/podcast/podcast_topic.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
lib/changelog/data/podcast/podcast_topic.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
defmodule Changelog.PodcastTopic do use Changelog.Data alias Changelog.{Topic, Podcast} schema "podcast_topics" do field :position, :integer field :delete, :boolean, virtual: true belongs_to :podcast, Podcast belongs_to :topic, Topic timestamps() end def changeset(struct, params \\ %{...
20.142857
60
0.679433
1865ff131403ec0acbd557f81183c452652a6ab5
736
ex
Elixir
lib/circle_ci/user.ex
mobileoverlord/circleci
83e6c4514031504a7528698cb50bc25e19cf81fa
[ "Apache-2.0" ]
1
2017-09-01T22:44:46.000Z
2017-09-01T22:44:46.000Z
lib/circle_ci/user.ex
mobileoverlord/circleci
83e6c4514031504a7528698cb50bc25e19cf81fa
[ "Apache-2.0" ]
null
null
null
lib/circle_ci/user.ex
mobileoverlord/circleci
83e6c4514031504a7528698cb50bc25e19cf81fa
[ "Apache-2.0" ]
null
null
null
defmodule CircleCI.User do alias CircleCI.Project @doc """ Provides information about the signed in user. https://circleci.com/docs/api/v1-reference/#user """ def me do CircleCI.get("me") end @doc """ Follow a new project. CircleCI will then monitor the project for automatic building of commi...
21.028571
79
0.688859
18665e70450a0109981f879d99dcffd5c58c7f68
1,203
ex
Elixir
debian/watch.ex
xmake-io/xmake-package-debian-sv
1bc8bde1feaf2a3c1571f5d086db8da557874b4a
[ "Unlicense" ]
1
2022-01-26T03:38:37.000Z
2022-01-26T03:38:37.000Z
debian/watch.ex
xmake-io/xmake-package-debian-sv
1bc8bde1feaf2a3c1571f5d086db8da557874b4a
[ "Unlicense" ]
null
null
null
debian/watch.ex
xmake-io/xmake-package-debian-sv
1bc8bde1feaf2a3c1571f5d086db8da557874b4a
[ "Unlicense" ]
null
null
null
# Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 4 file version=4 # PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig #opts="pgpsigurlmangle=s%$%.s...
30.846154
102
0.667498
186693f6ec59329e04a2e2a7c458b47c00a1d052
815
exs
Elixir
test/tzdata_test.exs
pojiro/nerves_time_zones
e2735d14f6444c1d9281899b91953464191ca216
[ "Apache-2.0" ]
6
2021-03-15T15:12:07.000Z
2021-04-22T07:41:18.000Z
test/tzdata_test.exs
pojiro/nerves_time_zones
e2735d14f6444c1d9281899b91953464191ca216
[ "Apache-2.0" ]
4
2021-04-19T20:12:58.000Z
2022-01-24T11:18:53.000Z
test/tzdata_test.exs
pojiro/nerves_time_zones
e2735d14f6444c1d9281899b91953464191ca216
[ "Apache-2.0" ]
2
2021-03-10T17:22:18.000Z
2021-04-22T22:22:32.000Z
defmodule TzdataTest do use ExUnit.Case, async: true @year 365 * 24 * 60 * 60 @day 24 * 60 * 60 # Check that records are available from now until 10 years from now # The "- 31 * @day" part is to avoid failing on old database builds. @earliest_record_after NaiveDateTime.utc_now() @latest_record_after Nai...
37.045455
91
0.721472
1866fa1e1cac748d00236e1b84845e7ccdfd2bbb
249
exs
Elixir
priv/repo/migrations/20180105003252_add_use_count_to_items.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
priv/repo/migrations/20180105003252_add_use_count_to_items.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
priv/repo/migrations/20180105003252_add_use_count_to_items.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Data.Repo.Migrations.AddUseCountToItems do use Ecto.Migration def change do alter table(:items) do add :is_usable, :boolean, default: false, null: false add :amount, :integer, default: 1, null: false end end end
22.636364
59
0.694779
186700507d781b9f3cf29c24b7d9ce9b7b88bca4
1,266
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/model/cancel_patch_job_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/os_config/lib/google_api/os_config/v1/model/cancel_patch_job_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/os_config/lib/google_api/os_config/v1/model/cancel_patch_job_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.142857
81
0.763033
18671cd724c13c76777d00404b0304df9e3791cc
2,063
ex
Elixir
lib/elixirfm/artist.ex
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
9
2016-10-04T10:09:17.000Z
2020-10-20T10:34:47.000Z
lib/elixirfm/artist.ex
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
4
2017-06-19T11:11:15.000Z
2021-11-10T04:31:45.000Z
lib/elixirfm/artist.ex
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
2
2018-10-12T09:53:36.000Z
2019-09-29T13:19:41.000Z
defmodule Elixirfm.Artist do @moduledoc """ Functions for Last.fm Artist endpoints. todo: artist.addTags artist.removeTags """ @method "artist" defp req(uri), do: Elixirfm.get_request(@method <> uri) defp req(uri, args), do: Elixirfm.get_request(@method <> uri, args) @doc """ Search an art...
32.746032
110
0.651478
186761bebda161d7d14d3e3b123d4ca4e3850d53
3,390
ex
Elixir
lib/fireball_web/schema/level_types.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
lib/fireball_web/schema/level_types.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
lib/fireball_web/schema/level_types.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
defmodule FireballWeb.Schema.LevelTypes do use Absinthe.Schema.Notation alias FireballWeb.Resolvers.LevelResolver, as: Resolver require Logger @desc "A level." object :level do field :backgroundcolor, non_null(:string) field :infinite, :boolean, default_value: false field :height, non_null(:inte...
27.560976
64
0.659882
1867932e83b7989c0ba113409f76ee19c6c45ced
187
ex
Elixir
apps/amqp_pubsub/lib/amqp_pubsub/main.ex
Agosto/gcp-iot-adapter
6dcc781066041aab248211e85166d1d915f699aa
[ "Apache-2.0" ]
57
2016-11-03T19:27:21.000Z
2021-11-14T06:15:16.000Z
apps/amqp_pubsub/lib/amqp_pubsub/main.ex
Agosto/gcp-iot-adapter
6dcc781066041aab248211e85166d1d915f699aa
[ "Apache-2.0" ]
4
2017-03-27T04:54:47.000Z
2018-02-16T01:03:31.000Z
apps/amqp_pubsub/lib/amqp_pubsub/main.ex
Agosto/gcp-iot-adapter
6dcc781066041aab248211e85166d1d915f699aa
[ "Apache-2.0" ]
8
2017-03-24T12:13:46.000Z
2021-11-18T09:11:26.000Z
defmodule AmqpPubsub.Main do def main(args) do run() :timer.sleep(:infinity) end def run() do AmqpPubsub.Registry.add_routes_from_config(AmqpPubsub.Registry) end end
17
67
0.716578
18679ab085801abca1db34dae656e5645469859c
57
ex
Elixir
lib/admin_web/views/auth_view.ex
aridjar-umbrella-guide/admin
21050a3e8957116ef35f03ff8b8b1b46f68e632a
[ "MIT" ]
null
null
null
lib/admin_web/views/auth_view.ex
aridjar-umbrella-guide/admin
21050a3e8957116ef35f03ff8b8b1b46f68e632a
[ "MIT" ]
1
2021-03-09T01:41:00.000Z
2021-03-09T01:41:00.000Z
lib/admin_web/views/auth_view.ex
aridjar-umbrella-guide/admin
21050a3e8957116ef35f03ff8b8b1b46f68e632a
[ "MIT" ]
1
2019-04-17T17:06:14.000Z
2019-04-17T17:06:14.000Z
defmodule AdminWeb.AuthView do use AdminWeb, :view end
14.25
30
0.789474
1867d011473f3e2b8a843f241ccb9ee5d094e715
2,798
exs
Elixir
config/config.exs
is2ei/ueberauth_typetalk_example
545df8f1312f42dfc256c06cf86779c11028e2e6
[ "MIT" ]
null
null
null
config/config.exs
is2ei/ueberauth_typetalk_example
545df8f1312f42dfc256c06cf86779c11028e2e6
[ "MIT" ]
3
2020-07-17T15:34:04.000Z
2021-05-09T22:10:14.000Z
config/config.exs
is2ei/ueberauth_typetalk_example
545df8f1312f42dfc256c06cf86779c11028e2e6
[ "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 # Configures the endpoint config :ueberauth_example, UeberauthExampleWeb.Endpoint, ...
35.871795
75
0.739457
1867ecd020234538b6e1e1e89dc99748fa24a83b
726
exs
Elixir
test/ex_polygon/rest/crypto/exchanges_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
test/ex_polygon/rest/crypto/exchanges_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
test/ex_polygon/rest/crypto/exchanges_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
defmodule ExPolygon.Rest.Crypto.ExchangesTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest ExPolygon.Rest.HTTPClient setup_all do HTTPoison.start() :ok end @api_key System.get_env("POLYGON_API_KEY") test ".query returns an ok tuple with a list of excha...
30.25
79
0.730028
18681e3f6906a6c0a759199ef72443bb8aac2b02
594
exs
Elixir
test/version_sync_test.exs
Digital-Identity-Labs/fastfwd
186e2875f86b52cab405f7e6dbc4cd4815764ff8
[ "MIT" ]
2
2021-01-08T04:06:26.000Z
2021-01-08T10:30:34.000Z
test/version_sync_test.exs
Digital-Identity-Labs/fastfwd
186e2875f86b52cab405f7e6dbc4cd4815764ff8
[ "MIT" ]
null
null
null
test/version_sync_test.exs
Digital-Identity-Labs/fastfwd
186e2875f86b52cab405f7e6dbc4cd4815764ff8
[ "MIT" ]
null
null
null
defmodule VersionSyncTest do use ExUnit.Case test "README install version check" do app = :fastfwd app_version = "#{Application.spec(app, :vsn)}" readme = File.read!("README.md") [_, readme_versions] = Regex.run(~r/{:#{app}, "(.+)"}/, readme) assert Version.match?( app_version, ...
27
89
0.584175
186834fff49bab2366ba56eeae995de5528c04d4
360
exs
Elixir
farmbot_core/priv/asset/migrations/20200930210054_add_soil_height_safe_height.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_core/priv/asset/migrations/20200930210054_add_soil_height_safe_height.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_core/priv/asset/migrations/20200930210054_add_soil_height_safe_height.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotCore.Asset.Repo.Migrations.AddSoilHeightSafeHeight do use Ecto.Migration def change do alter table("fbos_configs") do add(:safe_height, :float) add(:soil_height, :float) end # will resync the firmware params execute( "UPDATE fbos_configs SET updated_at = \"1970-1...
22.5
75
0.686111
1868828e91986b70016b7ca51bf9954dca162515
11,448
ex
Elixir
lib/flex_logger.ex
arnomittelbach/elixir-flex-logger
2acfe66ccc9d5da18dc971419e1c245b19c317ed
[ "MIT" ]
16
2017-10-31T23:03:06.000Z
2020-08-04T16:15:36.000Z
lib/flex_logger.ex
arnomittelbach/elixir-flex-logger
2acfe66ccc9d5da18dc971419e1c245b19c317ed
[ "MIT" ]
1
2019-02-03T04:38:31.000Z
2020-07-13T15:23:10.000Z
lib/flex_logger.ex
arnomittelbach/elixir-flex-logger
2acfe66ccc9d5da18dc971419e1c245b19c317ed
[ "MIT" ]
1
2020-10-21T18:47:04.000Z
2020-10-21T18:47:04.000Z
defmodule FlexLogger do @moduledoc """ `FlexLogger` is a flexible logger (backend) that adds module/application specific log levels to Elixir's `Logger`. `FlexLogger` brings the following additions to the table: * Configuration of log levels per application, module or even function * Possibility of hav...
35.775
125
0.689465
186884768d1a68718f238ba797127696b460cd06
1,062
ex
Elixir
lib/plug/conn/wrapper_error.ex
marshallshen/plug
2458f7c38471074485009f396194ee2eb33b9224
[ "Apache-2.0" ]
null
null
null
lib/plug/conn/wrapper_error.ex
marshallshen/plug
2458f7c38471074485009f396194ee2eb33b9224
[ "Apache-2.0" ]
null
null
null
lib/plug/conn/wrapper_error.ex
marshallshen/plug
2458f7c38471074485009f396194ee2eb33b9224
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Conn.WrapperError do @moduledoc """ Wraps the connection in an error which is meant to be handled upper in the stack. Used by both `Plug.Debugger` and `Plug.ErrorHandler`. """ defexception [:conn, :kind, :reason, :stack] def message(%{kind: kind, reason: reason, stack: stack}) do Exce...
27.230769
81
0.684557
18688b2ae0c6124efceb17b7d1e49da017ce37c1
2,234
ex
Elixir
lib/whatChat_web/channels/users_channel.ex
Perfect-SoftwareEngineer/vue-elegant-chat
4656bea123a6454584a163260899f0b4e59e073a
[ "MIT", "BSD-3-Clause" ]
2
2019-02-18T10:07:25.000Z
2019-02-18T10:07:41.000Z
lib/whatChat_web/channels/users_channel.ex
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
null
null
null
lib/whatChat_web/channels/users_channel.ex
mbuala/WhatChat
44851a8b3afe0a8825b5e53e327c2f777065a60c
[ "MIT" ]
null
null
null
require IEx; defmodule WhatChatWeb.UsersChannel do use Phoenix.Channel alias WhatChatWeb.ChatPresence alias WhatChat.Repo alias WhatChat.Discussions defp filterd_user_info( %{id: id, email: email, username: username, image: image, inserted_at: inserted_at}, discussion_id ) do conversation_p...
25.678161
132
0.675022
18689184db9d346109f6df19b2d49ea50053395f
1,234
ex
Elixir
lib/midi_synth/command.ex
pizzapim/midi_synth
e243c2747b39561a5b712162c782fa2bd4cd670c
[ "Apache-2.0" ]
null
null
null
lib/midi_synth/command.ex
pizzapim/midi_synth
e243c2747b39561a5b712162c782fa2bd4cd670c
[ "Apache-2.0" ]
null
null
null
lib/midi_synth/command.ex
pizzapim/midi_synth
e243c2747b39561a5b712162c782fa2bd4cd670c
[ "Apache-2.0" ]
null
null
null
defmodule MIDISynth.Command do @moduledoc """ Convert MIDI commands to raw bytes """ @typedoc """ A MIDI note For non-percussion instruments, the frequency of a note is `440 * 2^((n − 69) / 12)` where `n` is the note number. Middle C is 60 """ @type note :: 0..127 @typedoc """ The duration i...
21.275862
68
0.613452
186897051dfa92a859d27949916f67bf3e5c178b
931
ex
Elixir
lib/views_handler.ex
j-pel/dynamite
767055750822845474112dbace1e569b6731b332
[ "MIT" ]
null
null
null
lib/views_handler.ex
j-pel/dynamite
767055750822845474112dbace1e569b6731b332
[ "MIT" ]
3
2016-04-20T05:30:40.000Z
2016-05-02T03:02:29.000Z
lib/views_handler.ex
j-pel/dynamite
767055750822845474112dbace1e569b6731b332
[ "MIT" ]
null
null
null
defmodule ViewsHandler do def init(_type, req, opts) do { :ok, req, opts } end def handle(request, state) do [page: page] = state { :ok, reply } = :cowboy_req.reply( 200, [ {"content-type", "text/html"} ], eval("index", [req: request, page: page]), request ) {:ok, rep...
24.5
70
0.580021
1868d7f77cae67a6a44c9f4fccc85e642880b4b1
1,297
exs
Elixir
mix.exs
dev800/absinthe_plug_ext
f9be231b91d5dceb5fcbc873a187d6e6c4ec1fe8
[ "MIT" ]
null
null
null
mix.exs
dev800/absinthe_plug_ext
f9be231b91d5dceb5fcbc873a187d6e6c4ec1fe8
[ "MIT" ]
null
null
null
mix.exs
dev800/absinthe_plug_ext
f9be231b91d5dceb5fcbc873a187d6e6c4ec1fe8
[ "MIT" ]
null
null
null
defmodule Absinthe.Plug.Mixfile do use Mix.Project @version "1.4.5" def project do [ app: :absinthe_plug, version: @version, elixir: "~> 1.3", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), package: ...
25.431373
79
0.573631
1868dec0d8b04fca05f56f709893ac10bd7a62f9
1,498
ex
Elixir
lib/tracker_bot/bot.ex
ne1ro/tracker_bot
2dc96c0a8366dbd51e4e5e7b2a54383483c8c774
[ "MIT" ]
2
2019-10-06T18:08:28.000Z
2020-05-05T11:58:32.000Z
lib/tracker_bot/bot.ex
ne1ro/tracker_bot
2dc96c0a8366dbd51e4e5e7b2a54383483c8c774
[ "MIT" ]
66
2017-09-16T08:44:33.000Z
2021-08-01T07:15:50.000Z
lib/tracker_bot/bot.ex
ne1ro/tracker_bot
2dc96c0a8366dbd51e4e5e7b2a54383483c8c774
[ "MIT" ]
null
null
null
defmodule TrackerBot.Bot do alias TrackerBot.Management @limit 4096 @default_project Application.fetch_env!(:tracker_bot, :default_project) def send_version(chat_id) do with {:ok, version} <- :application.get_key(:tracker_bot, :vsn) do Nadia.send_message(chat_id, version) else _ -> Nadia.s...
31.87234
96
0.706275
186961911a776bfadb8d5d548a7ea4a060f08680
444
exs
Elixir
priv/repo/migrations/20190306172558_create_tasks.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20190306172558_create_tasks.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
1
2019-11-02T13:46:12.000Z
2019-11-02T13:46:12.000Z
priv/repo/migrations/20190306172558_create_tasks.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
defmodule Erlnote.Repo.Migrations.CreateTasks do use Ecto.Migration def change do create table(:tasks) do add :state, :string, default: "INPROGRESS", null: false add :description, :text add :start_datetime, :utc_datetime add :end_datetime, :utc_datetime add :priority, :string, def...
24.666667
61
0.671171
18697002f7721676bc834e160ebb1a9b9d5459ba
1,112
ex
Elixir
lib/mafia_interface_web/channels/user_socket.ex
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
null
null
null
lib/mafia_interface_web/channels/user_socket.ex
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
null
null
null
lib/mafia_interface_web/channels/user_socket.ex
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
1
2022-03-28T06:09:12.000Z
2022-03-28T06:09:12.000Z
defmodule MafiaInterfaceWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", MafiaInterfaceWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set ...
30.888889
89
0.70054
1869937356a8848dea300c4019f0341b29b265e9
1,533
ex
Elixir
lib/logger/lib/logger/backend_supervisor.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/logger/lib/logger/backend_supervisor.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/backend_supervisor.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule Logger.BackendSupervisor do @moduledoc false use Supervisor @name Logger.BackendSupervisor @doc """ Starts the backend supervisor. """ def start_link(_) do case Supervisor.start_link(__MODULE__, [], name: @name) do {:ok, _} = ok -> for backend <- Application.get_env(:logger, ...
21
87
0.613829
1869b589d9578fc8c2502f885135b9c97f7bb310
1,122
ex
Elixir
lib/nanocrawler_web/controllers/api/v3/node_controller.ex
meltingice/nanocrawler-phoenix
2477e8cb63a04d89eeda676c474e9b89c29da0e5
[ "MIT" ]
1
2020-04-19T07:48:46.000Z
2020-04-19T07:48:46.000Z
lib/nanocrawler_web/controllers/api/v3/node_controller.ex
meltingice/nanocrawler-phoenix
2477e8cb63a04d89eeda676c474e9b89c29da0e5
[ "MIT" ]
2
2021-03-09T20:27:19.000Z
2021-05-10T17:32:50.000Z
lib/nanocrawler_web/controllers/api/v3/node_controller.ex
meltingice/nanocrawler-phoenix
2477e8cb63a04d89eeda676c474e9b89c29da0e5
[ "MIT" ]
null
null
null
defmodule NanocrawlerWeb.Api.V3.NodeController do use NanocrawlerWeb, :controller alias Nanocrawler.RpcClient import Nanocrawler.Cache def block_count(conn, _params) do rpc_data = fetch("v3/block_count", 5, fn -> RpcClient.call("block_count") end) case rpc_data do {:ok, data}...
26.093023
73
0.550802
1869fdd823a01a5d10387bd01ddca4608fa3f353
1,797
ex
Elixir
lib/console/config_profiles/config_profiles.ex
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
lib/console/config_profiles/config_profiles.ex
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
lib/console/config_profiles/config_profiles.ex
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
defmodule Console.ConfigProfiles do import Ecto.Query, warn: false alias Console.Repo alias Console.ConfigProfiles.ConfigProfile alias Console.Devices.Device alias Console.Labels.Label def get_config_profile!(id), do: Repo.get!(ConfigProfile, id) def get_config_profile(id), do: Repo.get(ConfigProfile, id...
27.646154
75
0.710629
186a13c8fbdc4adb257185089d4f4c6b08a14ce2
751
ex
Elixir
lib/ex_flatten_breadth_first.ex
jamesandariese/ex_flatten_breadth_first
fc36b34427069740be09b678833e7683bc3934c8
[ "MIT" ]
null
null
null
lib/ex_flatten_breadth_first.ex
jamesandariese/ex_flatten_breadth_first
fc36b34427069740be09b678833e7683bc3934c8
[ "MIT" ]
null
null
null
lib/ex_flatten_breadth_first.ex
jamesandariese/ex_flatten_breadth_first
fc36b34427069740be09b678833e7683bc3934c8
[ "MIT" ]
null
null
null
defmodule FlattenBreadthFirst do @moduledoc """ Documentation for FlattenBreadthFirst. """ @doc """ Flatten a list breadth first. ## Examples iex> FlattenBreadthFirst.flatten_breadth_first([1, [2], [[3]], [4], [[5]], 6]) [1, 6, 2, 4, 3, 5] """ def flatten_breadth_first(l), do: flatten_br...
23.46875
84
0.628495
186a2dfae15646a891d5888d5d62dd3690d98284
351
ex
Elixir
lib/community_web/schema.ex
mdsebald/GraphQL_Demo
a326e784a81a824990381289146419b62bb19b7b
[ "Apache-2.0" ]
null
null
null
lib/community_web/schema.ex
mdsebald/GraphQL_Demo
a326e784a81a824990381289146419b62bb19b7b
[ "Apache-2.0" ]
null
null
null
lib/community_web/schema.ex
mdsebald/GraphQL_Demo
a326e784a81a824990381289146419b62bb19b7b
[ "Apache-2.0" ]
null
null
null
defmodule CommunityWeb.Schema do use Absinthe.Schema alias CommunityWeb.NewsResolver object :link do field :id, non_null(:id) field :url, non_null(:string) field :description, non_null(:string) end query do field :all_links, non_null(list_of(non_null(:link))) do resolve &NewsResolver....
18.473684
59
0.703704
186a3ec47eba79f1c23a7b046942d4cd78d8d1a0
1,475
ex
Elixir
test/support/config.ex
matreyes/avrora
4eed729c24a016445ca0ec66f83821a57d669fba
[ "MIT" ]
null
null
null
test/support/config.ex
matreyes/avrora
4eed729c24a016445ca0ec66f83821a57d669fba
[ "MIT" ]
null
null
null
test/support/config.ex
matreyes/avrora
4eed729c24a016445ca0ec66f83821a57d669fba
[ "MIT" ]
null
null
null
defmodule Support.Config do @moduledoc false @behaviour Avrora.Config @doc """ A hook function to be used in `setup`-hook to enable a default configuration. Useful when `Avrora.Config` is used, but no or partial stubs are needed. ## Examples: defmodule MyTest do use ExUnit.Case, a...
25.431034
81
0.656949
186a5633e8898f43708b5f2ad1ded827bf80eddc
1,799
exs
Elixir
mix.exs
humphreyja/http_event_client
f6d3de55b5a9d65992ebf8c3a64bb9e1e46d7815
[ "MIT" ]
null
null
null
mix.exs
humphreyja/http_event_client
f6d3de55b5a9d65992ebf8c3a64bb9e1e46d7815
[ "MIT" ]
null
null
null
mix.exs
humphreyja/http_event_client
f6d3de55b5a9d65992ebf8c3a64bb9e1e46d7815
[ "MIT" ]
null
null
null
defmodule HTTPEventClient.Mixfile do use Mix.Project def project do [app: :http_event_client, name: "HTTP Event Client", description: description(), package: package(), source_url: "https://github.com/humphreyja/http_event_client", version: "0.2.2", elixir: "~> 1.4", build_em...
27.257576
91
0.63035
186a56b76b18538097135fb03f539c762df27361
1,383
ex
Elixir
test/support/data_case.ex
juhalehtonen/docknix
562a26293d48b5dadccbd6340c4e2facc9f82633
[ "MIT" ]
null
null
null
test/support/data_case.ex
juhalehtonen/docknix
562a26293d48b5dadccbd6340c4e2facc9f82633
[ "MIT" ]
null
null
null
test/support/data_case.ex
juhalehtonen/docknix
562a26293d48b5dadccbd6340c4e2facc9f82633
[ "MIT" ]
null
null
null
defmodule Docknix.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test...
25.611111
77
0.679682
186a7708486fe8f4333e94ca4291da8d71694b91
1,433
exs
Elixir
mix.exs
faraazahmad/norris
7faefb77860d61f4553d8df4abc227923645490e
[ "MIT" ]
1
2017-12-05T09:12:32.000Z
2017-12-05T09:12:32.000Z
mix.exs
faraazahmad/norris
7faefb77860d61f4553d8df4abc227923645490e
[ "MIT" ]
null
null
null
mix.exs
faraazahmad/norris
7faefb77860d61f4553d8df4abc227923645490e
[ "MIT" ]
null
null
null
defmodule Norris.Mixfile do use Mix.Project def project do [app: :norris, version: "0.1.2", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), package: package(), name: "Norris", description: description(), source_ur...
24.288136
79
0.604327
186ac34b32fbddee463467cfd52877f15e499775
12,707
exs
Elixir
apps/re_web/test/graphql/accounts/mutation_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
1
2021-01-19T05:01:15.000Z
2021-01-19T05:01:15.000Z
apps/re_web/test/graphql/accounts/mutation_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re_web/test/graphql/accounts/mutation_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
defmodule ReWeb.GraphQL.Accounts.MutationTest do use ReWeb.ConnCase import Re.Factory use ReWeb.AbsintheAssertions alias ReWeb.AbsintheHelpers alias Re.User setup %{conn: conn} do conn = put_req_header(conn, "accept", "application/json") admin_user = insert(:user, email: "admin@email.com", role: ...
28.237778
153
0.567325
186ac91af98e57069c07dcd863552508d2f28412
336
ex
Elixir
lib/bank/cldr.ex
jhonisds/bank
d053a8ddf47839b12ffde0397cc6be5ec86b4de3
[ "MIT" ]
null
null
null
lib/bank/cldr.ex
jhonisds/bank
d053a8ddf47839b12ffde0397cc6be5ec86b4de3
[ "MIT" ]
null
null
null
lib/bank/cldr.ex
jhonisds/bank
d053a8ddf47839b12ffde0397cc6be5ec86b4de3
[ "MIT" ]
null
null
null
defmodule Bank.Cldr do @moduledoc """ Define a backend module that will host our Cldr configuration and public API. Most function calls in Cldr will be calls to functions on this module. """ use Cldr, locales: ["pt", "en"], default_locale: "pt", providers: [Cldr.Number, Money], generate_...
21
44
0.678571
186ad9ca25f4afd638c5810794434fcd63778cb2
8,595
ex
Elixir
lib/eximap/imap/request.ex
sgessa/eximap
dcc5c68dfd5e13686f653f48d1b361f57a8c77b0
[ "Apache-2.0" ]
4
2021-04-12T00:12:27.000Z
2021-09-30T07:09:36.000Z
lib/eximap/imap/request.ex
sgessa/eximap
dcc5c68dfd5e13686f653f48d1b361f57a8c77b0
[ "Apache-2.0" ]
null
null
null
lib/eximap/imap/request.ex
sgessa/eximap
dcc5c68dfd5e13686f653f48d1b361f57a8c77b0
[ "Apache-2.0" ]
2
2021-01-17T12:38:18.000Z
2021-12-08T12:40:27.000Z
defmodule Eximap.Imap.Request do @moduledoc """ """ defstruct tag: "TAG", command: nil, params: [] def add_tag(req, tag), do: %Eximap.Imap.Request{req | tag: tag} def raw(req) do params = case req.params do [] -> nil _ -> Enum.join(req.params, " ") end s = [req.ta...
40.542453
355
0.627341
186b2aa7a34603b60bb689e5b3394dcf401e8cf7
2,160
ex
Elixir
identicon/lib/identicon.ex
lalaman/elixir-tuts
c7d25a5f3bbc5a6ebd00162af326646ddf9555f8
[ "MIT" ]
null
null
null
identicon/lib/identicon.ex
lalaman/elixir-tuts
c7d25a5f3bbc5a6ebd00162af326646ddf9555f8
[ "MIT" ]
null
null
null
identicon/lib/identicon.ex
lalaman/elixir-tuts
c7d25a5f3bbc5a6ebd00162af326646ddf9555f8
[ "MIT" ]
null
null
null
defmodule Identicon do @moduledoc """ Documentation for Identicon. Process: `String |> Computer MD5 hash of string |> List of #'s based on string |> Choose colour |> Build grid of squares |> Convert grid to image |> Save image` """ @doc """ Hello world """ def main(input) do...
22.736842
76
0.60463
186b2ab8f9df6ab562be420eed54a4b8c35df0f5
1,166
ex
Elixir
web/router.ex
paniagua/abix
e88e4c7f233c8bdeca843e5c4508cf4d2e676788
[ "MIT" ]
null
null
null
web/router.ex
paniagua/abix
e88e4c7f233c8bdeca843e5c4508cf4d2e676788
[ "MIT" ]
null
null
null
web/router.ex
paniagua/abix
e88e4c7f233c8bdeca843e5c4508cf4d2e676788
[ "MIT" ]
null
null
null
defmodule Abix.Router do use Abix.Web, :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 "/", Abix do pipe_through :brows...
23.795918
66
0.705832
186b689e43dd528c2602db718daa5f55373a8673
352
exs
Elixir
test/league_improvement_web/live/page_live_test.exs
AmadorZcv/league_improvement
88393d22ff33d674f711c184f55b02ad6454c2ae
[ "MIT" ]
null
null
null
test/league_improvement_web/live/page_live_test.exs
AmadorZcv/league_improvement
88393d22ff33d674f711c184f55b02ad6454c2ae
[ "MIT" ]
1
2021-04-16T21:19:12.000Z
2021-04-16T21:19:12.000Z
test/league_improvement_web/live/page_live_test.exs
AmadorZcv/league_improvement
88393d22ff33d674f711c184f55b02ad6454c2ae
[ "MIT" ]
null
null
null
defmodule LeagueImprovementWeb.PageLiveTest do use LeagueImprovementWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ ...
29.333333
60
0.741477
186b6a8051cdb098fd502f5d218eafd8763b4fc0
1,707
exs
Elixir
test/suite/draft7/required_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
1
2019-06-21T10:55:33.000Z
2019-06-21T10:55:33.000Z
test/suite/draft7/required_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
null
null
null
test/suite/draft7/required_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
null
null
null
defmodule Draft7.RequiredTest do use ExUnit.Case, async: true import JsonXema, only: [valid?: 2] describe "required validation" do setup do %{schema: ~s( { "properties": { "bar": {}, "foo": {} }, "required": [ "foo" ] ...
20.817073
73
0.495021
186b83f7ad3cbd4f16058bd76f3ca3d169cdf14d
280
exs
Elixir
apps/admin/test/admin/views/layout_view_test.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/admin/test/admin/views/layout_view_test.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/admin/test/admin/views/layout_view_test.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
defmodule Legendary.Admin.LayoutViewTest do use Legendary.Admin.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
31.111111
65
0.767857
186bcaa772204f74fb2555500ec88cb69054cd48
11,058
ex
Elixir
lib/dart_sass.ex
LucidModules/dart_sass
dcb959260063a6102a2f315ac5d31f8fcd857c32
[ "MIT" ]
null
null
null
lib/dart_sass.ex
LucidModules/dart_sass
dcb959260063a6102a2f315ac5d31f8fcd857c32
[ "MIT" ]
null
null
null
lib/dart_sass.ex
LucidModules/dart_sass
dcb959260063a6102a2f315ac5d31f8fcd857c32
[ "MIT" ]
null
null
null
defmodule DartSass do @moduledoc """ DartSass is a installer and runner for [Sass](https://sass-lang.com/dart-sass). ## Profiles You can define multiple configuration profiles. By default, there is a profile called `:default` which you can configure its args, current directory and environment: conf...
27.439206
118
0.615392
186bd8232f10d56b694c965bec5329d201274bea
425
exs
Elixir
config/test.exs
uberbrodt/eventstore
2bcdc7f8bcea6af87a08a4c719141f780e7a4fc4
[ "MIT" ]
null
null
null
config/test.exs
uberbrodt/eventstore
2bcdc7f8bcea6af87a08a4c719141f780e7a4fc4
[ "MIT" ]
null
null
null
config/test.exs
uberbrodt/eventstore
2bcdc7f8bcea6af87a08a4c719141f780e7a4fc4
[ "MIT" ]
1
2018-07-30T18:25:06.000Z
2018-07-30T18:25:06.000Z
use Mix.Config config :logger, :console, level: :warn config :ex_unit, capture_log: true, assert_receive_timeout: 2_000 config :eventstore, EventStore.Storage, serializer: EventStore.JsonSerializer, username: "postgres", password: "postgres", database: "eventstore_test", hostname: "localhost", pool_s...
20.238095
40
0.750588
186bde5933aaccdf07ae2aab35f5e239bceb9ad5
961
ex
Elixir
test/support/channel_case.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
4
2019-02-11T12:15:36.000Z
2021-03-22T16:23:47.000Z
test/support/channel_case.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
test/support/channel_case.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
defmodule EmpexCookbookWeb.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 intera...
25.289474
75
0.723205
186be00319296e7cf6d28de90b333979f49e2070
240
exs
Elixir
test/repo_example_test.exs
surgeventures/repo-example-elixir
60279917ef363c2edc3a44a9a0b172e35e5ff8a9
[ "MIT" ]
null
null
null
test/repo_example_test.exs
surgeventures/repo-example-elixir
60279917ef363c2edc3a44a9a0b172e35e5ff8a9
[ "MIT" ]
1
2018-01-19T13:33:53.000Z
2018-01-19T13:33:53.000Z
test/repo_example_test.exs
surgeventures/repo-example-elixir
60279917ef363c2edc3a44a9a0b172e35e5ff8a9
[ "MIT" ]
2
2019-08-06T17:23:40.000Z
2021-05-15T14:21:21.000Z
defmodule RepoExampleTest do use ExUnit.Case doctest RepoExample test "greets the world" do assert RepoExample.hello() == :world end test "greets by name" do assert RepoExample.hello("Karol") == "Hello Karol!" end end
18.461538
55
0.7
186c0e7db1e22f2c1d0b9d557559a468da4d7b1d
180
exs
Elixir
access_module/key1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
access_module/key1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
access_module/key1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
cast = %{ buttercup: %{ actor: {"Robin", "Wright"}, role: "princess" }, westley: %{ actor: {"Carey", "Elwes"}, role: "farm boy" } }
16.363636
35
0.411111
186c1a0cc043ff3baba8c64e546a4fd5e98b27ec
2,467
exs
Elixir
exercises/anagram/test/anagram_test.exs
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
null
null
null
exercises/anagram/test/anagram_test.exs
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
null
null
null
exercises/anagram/test/anagram_test.exs
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
1
2021-03-15T11:02:40.000Z
2021-03-15T11:02:40.000Z
defmodule AnagramTest do use ExUnit.Case # @tag :pending test "no matches" do matches = Anagram.match("diaper", ~w(hello world zombies pants)) assert matches == [] end # @tag :pending test "detects two anagrams" do matches = Anagram.match("master", ~w(stream pigeon maters)) assert matches ...
28.034091
92
0.675314
186c244e28b9653a1b8c94e89b65518561f5d76a
6,670
ex
Elixir
clients/partners/lib/google_api/partners/v2/model/company.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/partners/lib/google_api/partners/v2/model/company.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/partners/lib/google_api/partners/v2/model/company.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
57.5
257
0.723388
186c37c722c02554afb2ed666ce305683755c10e
3,780
ex
Elixir
lib/docker_build/config.ex
chazsconi/elixir_docker_build
1906a6cf1b4bfab5b29c27d1ddd8eeb7814cf250
[ "MIT" ]
2
2020-11-24T08:01:27.000Z
2021-04-07T14:59:46.000Z
lib/docker_build/config.ex
chazsconi/elixir_docker_build
1906a6cf1b4bfab5b29c27d1ddd8eeb7814cf250
[ "MIT" ]
null
null
null
lib/docker_build/config.ex
chazsconi/elixir_docker_build
1906a6cf1b4bfab5b29c27d1ddd8eeb7814cf250
[ "MIT" ]
null
null
null
defmodule DockerBuild.Config do @moduledoc "Stores config for builder and plugins" alias __MODULE__ alias DockerBuild.Dockerfile require Logger defstruct base_config: [], plugin_configs: [] @doc """ Load the config from the mix project ## Options * `env` - environment to be used. Defaults to `prod...
27.794118
90
0.662698
186c44aa856a9fc26b600d577248cf9d8d93a0ed
623
exs
Elixir
test/magirator_app_gui_web/views/error_view_test.exs
Devotu/magirator_app_gui
25cdc23e81b0dd9f72bef8a899122a81c6c50479
[ "MIT" ]
null
null
null
test/magirator_app_gui_web/views/error_view_test.exs
Devotu/magirator_app_gui
25cdc23e81b0dd9f72bef8a899122a81c6c50479
[ "MIT" ]
1
2018-06-28T20:44:06.000Z
2018-06-28T20:44:06.000Z
test/magirator_app_gui_web/views/error_view_test.exs
Devotu/magirator_app_gui
25cdc23e81b0dd9f72bef8a899122a81c6c50479
[ "MIT" ]
null
null
null
defmodule MagiratorAppGuiWeb.ErrorViewTest do use MagiratorAppGuiWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(MagiratorAppGuiWeb.ErrorView, "404.html", []) == "Page not found" ...
28.318182
76
0.704655
186c5953bda842af131c915bf273272a0065e3e1
2,664
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/matched_call_operation_parsing_test_case/UnknownBaseWholeNumber.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_dot_operator_call_operation/matched_call_operation_parsing_test_case/UnknownBaseWholeNumber.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_dot_operator_call_operation/matched_call_operation_parsing_test_case/UnknownBaseWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
0zABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz9876543210.and Qualifier.qualified positional, key: value 0zABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz9876543210.&& Qualifier.qualified positional, key: value 0zABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz9876543210.|> Qualifier.qualified positiona...
106.56
113
0.908784
186c74e2834bc652a1a3d14f5ce6b02a352d733c
2,564
ex
Elixir
lib/espy/adabter/websocket.ex
wenusch/XRPL-Webhooks
69bce5ea891d5024911f960f4faabe6af3b2bba0
[ "MIT" ]
null
null
null
lib/espy/adabter/websocket.ex
wenusch/XRPL-Webhooks
69bce5ea891d5024911f960f4faabe6af3b2bba0
[ "MIT" ]
null
null
null
lib/espy/adabter/websocket.ex
wenusch/XRPL-Webhooks
69bce5ea891d5024911f960f4faabe6af3b2bba0
[ "MIT" ]
null
null
null
defmodule Espy.Adapter.WebSocket do @moduledoc """ CasinoCoin WebSocket client. Behind the scenes, this module uses :websocket_client erlang libray. """ import Logger, only: [info: 1, warn: 1] def send_command(client, command, args) do Process.whereis(client) |> :websocket_client.send({:text, enc...
26.163265
95
0.595944
186c765ed9c75afae1dd57c675667d1add6e5c49
13,863
ex
Elixir
lib/ex_admin/helpers.ex
andriybohdan/ex_admin
e31c725078ac4e7390204a87d96360a21ffe7b90
[ "MIT" ]
null
null
null
lib/ex_admin/helpers.ex
andriybohdan/ex_admin
e31c725078ac4e7390204a87d96360a21ffe7b90
[ "MIT" ]
null
null
null
lib/ex_admin/helpers.ex
andriybohdan/ex_admin
e31c725078ac4e7390204a87d96360a21ffe7b90
[ "MIT" ]
1
2020-06-06T18:08:16.000Z
2020-06-06T18:08:16.000Z
Code.ensure_compiled(ExAdmin.Utils) defmodule ExAdmin.Helpers do @moduledoc false require Logger require Integer use Xain import Kernel, except: [to_string: 1] import ExAdmin.Utils import ExAdmin.Render def build_fieldset_legend(nil), do: [] def build_fieldset_legend(""), do: [] def build_fieldset_...
32.466042
198
0.632908
186c79d03df70c6b342dacf8b4d04c1f48b2e135
663
ex
Elixir
lib/sobelow/vuln/redirect.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
1,305
2017-05-12T21:09:40.000Z
2022-03-31T04:31:49.000Z
lib/sobelow/vuln/redirect.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
95
2017-05-15T09:45:41.000Z
2022-03-23T03:35:48.000Z
lib/sobelow/vuln/redirect.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
86
2017-05-15T20:18:59.000Z
2022-02-11T22:10:34.000Z
defmodule Sobelow.Vuln.Redirect do alias Sobelow.Config alias Sobelow.Vuln @uid 27 @finding_type "Vuln.Redirect: Known Vulnerable Dependency - Update Phoenix" use Sobelow.Finding @vuln_vsn ~w(1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.2.0 1.2.1 1.3.0-rc.0) def run(root) ...
23.678571
110
0.653092
186c84f0611ff0e56fcd35566248c02adffa3b9e
3,228
exs
Elixir
test/web/controllers/user/waypoint_controller_test.exs
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
48
2017-04-25T16:02:08.000Z
2021-01-23T01:57:29.000Z
test/web/controllers/user/waypoint_controller_test.exs
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
5
2018-03-09T20:17:55.000Z
2018-07-23T16:29:21.000Z
test/web/controllers/user/waypoint_controller_test.exs
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
4
2017-05-21T14:38:38.000Z
2017-12-29T11:09:54.000Z
defmodule LoadedBike.Web.User.WaypointControllerTest do use LoadedBike.Web.ConnCase alias LoadedBike.Waypoint setup do user = insert(:user) tour = insert(:tour, user: user) conn = login(user) {:ok, conn: conn, tour: tour} end test "show", %{conn: conn, tour: tour} do waypoint = insert(:...
35.086957
111
0.642813
186c8d9e84208646de6cb703de5fd33f39750ead
103
exs
Elixir
elixir/conta.exs
mstuttgart/plano-de-estudos
94310b8b3f97a702ffbb710029bffe4becc5a651
[ "MIT" ]
9
2018-05-30T12:44:45.000Z
2018-09-03T17:11:50.000Z
elixir/conta.exs
midoriobana/estudos
a5d2cbb0944b20f650161ab1d251d2440c56bca1
[ "MIT" ]
157
2018-05-30T01:53:11.000Z
2019-04-22T13:09:05.000Z
elixir/conta.exs
mstuttgart/my-study-workflow
94310b8b3f97a702ffbb710029bffe4becc5a651
[ "MIT" ]
13
2019-12-30T11:15:16.000Z
2021-10-07T00:54:10.000Z
defmodule Contador do def contar([]), do: 0 def contar([head | tail]), do: 1 + contar(tail) end
25.75
51
0.621359
186caddcc9e91d703d8183812e70282a921e9b36
1,730
ex
Elixir
lib/auctoritas/token_manager/token_manager.ex
nkyian/auctoritas
24480b8d38fccdbadf588b110cdee061b6286f0c
[ "MIT" ]
1
2019-01-18T10:37:40.000Z
2019-01-18T10:37:40.000Z
lib/auctoritas/token_manager/token_manager.ex
nkyian/auctoritas
24480b8d38fccdbadf588b110cdee061b6286f0c
[ "MIT" ]
6
2019-04-20T18:32:37.000Z
2019-04-20T19:41:29.000Z
lib/auctoritas/token_manager/token_manager.ex
nkyian/auctoritas
24480b8d38fccdbadf588b110cdee061b6286f0c
[ "MIT" ]
null
null
null
defmodule Auctoritas.TokenManager do @moduledoc """ TokenManager module * Specifies `TokenManager` behaviour * Implements default `TokenManager` with `__using__` macro """ @typedoc "Authentication token" @type token() :: String.t() @typedoc "Name from config (Auctoritas supervisor name)" @type name(...
32.641509
117
0.642197
186caf0ab3373049fae877d3d76459ed5c749889
1,395
exs
Elixir
test/activity_streams_test.exs
coryodaniel/activity_streams
b5659463d7e6fce08d708efdb505f13652c4c5f0
[ "MIT" ]
2
2018-05-07T21:16:55.000Z
2018-05-08T11:31:48.000Z
test/activity_streams_test.exs
coryodaniel/activity_streams
b5659463d7e6fce08d708efdb505f13652c4c5f0
[ "MIT" ]
null
null
null
test/activity_streams_test.exs
coryodaniel/activity_streams
b5659463d7e6fce08d708efdb505f13652c4c5f0
[ "MIT" ]
1
2018-10-26T01:59:22.000Z
2018-10-26T01:59:22.000Z
defmodule ActivityStreamsTest do use ExUnit.Case, async: true # test "invalid @context" # "Top-level does not contain a '@context' property" # "'@context' property does not refer to Activity Streams context" # "'@context' property is neither a string nor an object" # "'@context'" if its a map -> see spec ...
29.0625
83
0.622222
186cd0ffc2788b9642ca9d56b8948750e5fb5954
1,535
ex
Elixir
bench_pg/Elixir/retailixir/test/support/data_case.ex
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
null
null
null
bench_pg/Elixir/retailixir/test/support/data_case.ex
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
27
2020-04-20T06:05:50.000Z
2021-12-09T22:06:37.000Z
bench_pg/Elixir/retailixir/test/support/data_case.ex
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
null
null
null
defmodule Retailixir.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done t...
29.519231
91
0.698371
186cd964d425abd4dc38182c42f736a0f13545b0
1,359
ex
Elixir
lib/bees/checkin.ex
tommyp/Bees
4d4ca98264fabf13a4b6a55e5ecd5142cd900594
[ "MIT" ]
null
null
null
lib/bees/checkin.ex
tommyp/Bees
4d4ca98264fabf13a4b6a55e5ecd5142cd900594
[ "MIT" ]
null
null
null
lib/bees/checkin.ex
tommyp/Bees
4d4ca98264fabf13a4b6a55e5ecd5142cd900594
[ "MIT" ]
null
null
null
defmodule Bees.Checkin do @derive Poison.Encoder defstruct id: nil, shout: nil, created_at: nil, type: nil, venue: nil def with_venue(client, venue, broadcast \\ "public", shout \\ "") do params = [ venueId: venue.id, broadcast: broadcast, shout: shout, v: "20160301" ] case B...
23.033898
73
0.543046
186cda24fd25365f9b53e0ea44454938f130b6ba
2,621
exs
Elixir
test/sakavault_web/controllers/auth_controller_test.exs
Api2sem2021/5-ADS2020-2-equipe6-api
11484e0232c1edd7fc928aa68d5014f2e3a20d07
[ "MIT" ]
null
null
null
test/sakavault_web/controllers/auth_controller_test.exs
Api2sem2021/5-ADS2020-2-equipe6-api
11484e0232c1edd7fc928aa68d5014f2e3a20d07
[ "MIT" ]
3
2020-09-20T22:59:35.000Z
2020-09-20T23:00:47.000Z
test/sakavault_web/controllers/auth_controller_test.exs
SEGURANCA-DA-INFORMACAO-LGPD/sakavault_api
11484e0232c1edd7fc928aa68d5014f2e3a20d07
[ "MIT" ]
null
null
null
defmodule SakaVaultWeb.AuthControllerTest do use SakaVaultWeb.ConnCase alias SakaVault.{Accounts, Krypto} setup %{conn: conn} do {:ok, user} = :user |> params_for() |> Accounts.create() user_email = user |> Krypto.decrypt() |> Map.get(:email) { :ok, ...
26.474747
98
0.499428
186cdd07d3703d6dbc79580892a24016c2da3c69
1,839
ex
Elixir
lib/ash/ci_string.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
lib/ash/ci_string.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
lib/ash/ci_string.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
defmodule Ash.CiString do @moduledoc """ Represents a case insensitive string While some data layers are aware of case insensitive string types, in order for values of this type to be used in other parts of Ash Framework, it has to be embedded in a module this allows us to implement the `Comparable` protocol...
23.576923
92
0.699837
186cefe62740f4f7205e516f96dc35ee62bb524d
474
ex
Elixir
debian/emacsen-remove.ex
rzr/neheglqt
b80cbb859ec76e80c74ac646b94fafa44259431d
[ "Linux-OpenIB" ]
1
2021-02-06T01:34:45.000Z
2021-02-06T01:34:45.000Z
debian/emacsen-remove.ex
rzr/neheglqt
b80cbb859ec76e80c74ac646b94fafa44259431d
[ "Linux-OpenIB" ]
null
null
null
debian/emacsen-remove.ex
rzr/neheglqt
b80cbb859ec76e80c74ac646b94fafa44259431d
[ "Linux-OpenIB" ]
null
null
null
#!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/neheglqt FLAVOR=$1 PACKAGE=neheglqt if [ ${FLAVOR} != emacs ]; then if test -x /usr/sbin/install-info-altdir; then echo remove/${PACKAGE}: removing Info links for ${FLAVOR} install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/in...
29.625
97
0.670886
186d23f745af363e06a06f4cef576c62f6bcca68
572
exs
Elixir
counter/mix.exs
groxio-learning/elixirconf_eu_2020_liveview
d42ba10b905c95fb179f9503f372d4a73689012f
[ "MIT" ]
1
2020-06-17T14:11:56.000Z
2020-06-17T14:11:56.000Z
counter/mix.exs
groxio-learning/elixirconf_eu_2020_liveview
d42ba10b905c95fb179f9503f372d4a73689012f
[ "MIT" ]
1
2021-05-11T17:46:53.000Z
2021-05-11T17:46:53.000Z
counter/mix.exs
groxio-learning/elixirconf_eu_2020_liveview
d42ba10b905c95fb179f9503f372d4a73689012f
[ "MIT" ]
null
null
null
defmodule Counter.MixProject do use Mix.Project def project do [ app: :counter, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_ap...
19.724138
87
0.576923
186d4d208f855dedf7abb77e72c4bd70a9905476
153
ex
Elixir
apps/buzzcms_web/lib/buzzcms_web/resolvers/option_value.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
apps/buzzcms_web/lib/buzzcms_web/resolvers/option_value.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
41
2020-02-12T07:53:14.000Z
2020-03-30T02:18:14.000Z
apps/buzzcms_web/lib/buzzcms_web/resolvers/option_value.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
defmodule BuzzcmsWeb.OptionValueResolver do @schema Buzzcms.Schema.OptionValue @filter_definition [ fields: [] ] use BuzzcmsWeb.Resolver end
19.125
43
0.764706
186d6bbb4b5da51b04afdc640c696a40e1ddc12f
1,502
exs
Elixir
mix.exs
petlove/ex_audit
670ed216484ad01b6c8088e2f8486fe9a9cf2f9d
[ "MIT" ]
1
2021-03-12T05:31:11.000Z
2021-03-12T05:31:11.000Z
mix.exs
petlove/ex_audit
670ed216484ad01b6c8088e2f8486fe9a9cf2f9d
[ "MIT" ]
3
2020-05-19T22:04:18.000Z
2020-05-21T19:47:38.000Z
mix.exs
petlove/ex_audit
670ed216484ad01b6c8088e2f8486fe9a9cf2f9d
[ "MIT" ]
1
2020-07-03T00:48:33.000Z
2020-07-03T00:48:33.000Z
defmodule ExAudit.Mixfile do use Mix.Project def project do [ description: "Ecto auditing library that transparently tracks changes and can revert them", app: :ex_audit, version: "0.7.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_path...
24.622951
97
0.551265
186d82b7f2e10f47dc4e52912cb60c340c26866a
434
ex
Elixir
lib/email_service/repos/email/queue/event_repo.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
2
2019-04-15T22:17:59.000Z
2022-01-03T15:35:36.000Z
lib/email_service/repos/email/queue/event_repo.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
lib/email_service/repos/email/queue/event_repo.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2020 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.EmailService.Email.Queue.EventRepo do use Noizu.Scaffoldi...
36.166667
80
0.493088
186d912a44866eabcaea80c60f678ce153d6a7e3
132
ex
Elixir
test/helpers/connections/guest_connection.ex
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
test/helpers/connections/guest_connection.ex
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
test/helpers/connections/guest_connection.ex
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
defmodule Instream.TestHelpers.Connections.GuestConnection do @moduledoc false use Instream.Connection, otp_app: :instream end
22
61
0.825758
186da4e89c138697a4b7dc0d69de2eff36d77778
228
ex
Elixir
lib/rockelivery/items/get.ex
LuizFerK/Rockelivery
4742d73027bcaa97c2fc7969c8d032edf73a28fd
[ "MIT" ]
null
null
null
lib/rockelivery/items/get.ex
LuizFerK/Rockelivery
4742d73027bcaa97c2fc7969c8d032edf73a28fd
[ "MIT" ]
null
null
null
lib/rockelivery/items/get.ex
LuizFerK/Rockelivery
4742d73027bcaa97c2fc7969c8d032edf73a28fd
[ "MIT" ]
null
null
null
defmodule Rockelivery.Items.Get do alias Rockelivery.{Error, Item, Repo} def by_id(id) do case Repo.get(Item, id) do nil -> {:error, Error.build_item_not_found_error()} item -> {:ok, item} end end end
20.727273
57
0.649123
186db26ffbca03455c7f7894394f07d2750c5103
6,770
exs
Elixir
test/absinthe/type/custom_test.exs
ymtszw/absinthe
cc9cf2dcde981b6a49fdc0ea20f60f9d6e9aa9fd
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
test/absinthe/type/custom_test.exs
ymtszw/absinthe
cc9cf2dcde981b6a49fdc0ea20f60f9d6e9aa9fd
[ "MIT" ]
1
2020-04-07T23:46:38.000Z
2020-04-07T23:46:38.000Z
test/absinthe/type/custom_test.exs
ymtszw/absinthe
cc9cf2dcde981b6a49fdc0ea20f60f9d6e9aa9fd
[ "MIT" ]
null
null
null
defmodule Absinthe.Type.CustomTest do use Absinthe.Case, async: true alias Absinthe.Type alias Absinthe.Blueprint.Input defmodule TestSchema do use Absinthe.Schema import_types Type.Custom query do end end @datetime %DateTime{ year: 2017, month: 1, day: 27, hour: 20, ...
35.631579
95
0.640325
186dbad016027c5cbc663b30709fd2723fba5baa
126
exs
Elixir
.formatter.exs
evuez/geohash.ex
648ed758ee3f51e5c241835ccfe1682ac125e619
[ "MIT" ]
8
2016-10-25T12:09:15.000Z
2020-10-18T05:52:36.000Z
.formatter.exs
evuez/geohash.ex
648ed758ee3f51e5c241835ccfe1682ac125e619
[ "MIT" ]
4
2017-05-03T05:51:50.000Z
2020-10-17T13:56:51.000Z
.formatter.exs
evuez/geohash.ex
648ed758ee3f51e5c241835ccfe1682ac125e619
[ "MIT" ]
4
2017-04-14T09:05:43.000Z
2020-10-04T04:16:25.000Z
[ inputs: [ "lib/**/*.{ex,exs}", "test/**/*.{ex,exs}", "mix.exs", ".formatter.exs" ], line_length: 90 ]
12.6
25
0.428571
186dd18921f7063d2169273dec9121e4034869c6
182
exs
Elixir
priv/repo/migrations/20181114164623_add_time_zone_to_digests.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
priv/repo/migrations/20181114164623_add_time_zone_to_digests.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
priv/repo/migrations/20181114164623_add_time_zone_to_digests.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule Level.Repo.Migrations.AddTimeZoneToDigests do use Ecto.Migration def change do alter table(:digests) do add :time_zone, :text, null: false end end end
18.2
55
0.714286
186dda6eb1dc6c39c267f3e6675a60f22e4a87c3
1,158
exs
Elixir
part1/.workshop/exercises/fizzbuzz_with_guards/exercise.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
part1/.workshop/exercises/fizzbuzz_with_guards/exercise.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
part1/.workshop/exercises/fizzbuzz_with_guards/exercise.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
defmodule Workshop.Exercise.FizzbuzzWithGuards do use Workshop.Exercise @title "Fizzbuzz With Guards" @weight 2000 # Write an exercise description that make the user capable of solving the # given `@task`. @description """ Same task as previous one, but this time try using guard clauses. Guard clauses ...
32.166667
81
0.741796
186e3619e26faa2c57b6bb82b37d6f1f939f82cb
7,431
ex
Elixir
lib/glimesh/streams/channel.ex
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
lib/glimesh/streams/channel.ex
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
lib/glimesh/streams/channel.ex
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
defmodule Glimesh.Streams.Channel do @moduledoc false use Ecto.Schema use Waffle.Ecto.Schema import Ecto.Changeset schema "channels" do belongs_to :user, Glimesh.Accounts.User belongs_to :category, Glimesh.Streams.Category belongs_to :subcategory, Glimesh.Streams.Subcategory, on_replace: :nilify...
27.624535
95
0.659938
186e3951f84c7939e104d65cd15847243eb268e5
12,101
ex
Elixir
lib/chat_api/emails/email.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
lib/chat_api/emails/email.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
lib/chat_api/emails/email.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule ChatApi.Emails.Email do import Swoosh.Email import Ecto.Changeset alias ChatApi.Customers.Customer alias ChatApi.Messages.Message alias ChatApi.Users.UserProfile @type t :: Swoosh.Email.t() @from_address System.get_env("FROM_ADDRESS") || "" @backend_url System.get_env("BACKEND_URL", "app.pa...
26.595604
98
0.61185
186e490776b4155e78ed40dd82890dc5079901e9
262
ex
Elixir
lib/straw_hat_review/repo.ex
straw-hat-team/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
11
2018-04-09T06:32:02.000Z
2019-09-11T14:18:21.000Z
lib/straw_hat_review/repo.ex
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
64
2018-03-30T06:21:49.000Z
2019-11-01T13:57:34.000Z
lib/straw_hat_review/repo.ex
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
1
2018-06-21T23:00:00.000Z
2018-06-21T23:00:00.000Z
defmodule StrawHat.Review.Repo do @moduledoc """ Defines a repository. Check `Ecto.Repo` documentation for learn more about this module. """ use Ecto.Repo, otp_app: :straw_hat_review, adapter: Ecto.Adapters.Postgres use Scrivener, page_size: 25 end
26.2
76
0.748092
186e868fe88ae05e9bb8b247d10af490ad68f025
61
ex
Elixir
lib/payroll_web/views/page_view.ex
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "MIT" ]
1
2020-11-11T19:57:31.000Z
2020-11-11T19:57:31.000Z
lib/payroll_web/views/page_view.ex
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "MIT" ]
null
null
null
lib/payroll_web/views/page_view.ex
will-wow/ex-payroll
7b60cc578b091fa669629c433806787db5f926dc
[ "MIT" ]
null
null
null
defmodule PayrollWeb.PageView do use PayrollWeb, :view end
15.25
32
0.803279
186e97389b9f32edb401ae651e5398e108cfe587
1,039
ex
Elixir
lib/edgelixir/graph_input.ex
nlap/edgelixir
e2fe38859b856e9906fae865a22700df2e439601
[ "Apache-2.0" ]
23
2016-09-01T19:52:38.000Z
2017-10-22T11:40:33.000Z
lib/edgelixir/graph_input.ex
nlap/edgelixir
e2fe38859b856e9906fae865a22700df2e439601
[ "Apache-2.0" ]
1
2017-01-03T18:25:35.000Z
2017-01-03T18:25:35.000Z
lib/edgelixir/graph_input.ex
nlap/edgelixir
e2fe38859b856e9906fae865a22700df2e439601
[ "Apache-2.0" ]
3
2016-10-01T10:31:57.000Z
2019-02-13T04:49:01.000Z
defprotocol Edgelixir.GraphInput do @moduledoc """ Specifies how the graph data is loaded """ @doc """ Loads the graph from the source, or raises an exception if unable Takes a `graph_source`, `graph_format`. Returns a loaded `:digraph`. """ @spec load!(any) :: :digraph.t def load!(graph_source) en...
29.685714
79
0.719923
186ea2f69c0273d97b0c87fa9d877abdc3730382
7,338
ex
Elixir
lib/nostrum/shard/dispatch.ex
shekeru/nostrum
25ed2b5513317d832b2fab13c3276256f4069ef1
[ "MIT" ]
null
null
null
lib/nostrum/shard/dispatch.ex
shekeru/nostrum
25ed2b5513317d832b2fab13c3276256f4069ef1
[ "MIT" ]
null
null
null
lib/nostrum/shard/dispatch.ex
shekeru/nostrum
25ed2b5513317d832b2fab13c3276256f4069ef1
[ "MIT" ]
null
null
null
defmodule Nostrum.Shard.Dispatch do @moduledoc false alias Nostrum.Cache.{ChannelCache, UserCache} alias Nostrum.Cache.Me alias Nostrum.Cache.Guild.GuildServer alias Nostrum.Shard.Session alias Nostrum.Struct.{Channel, Guild, Message, User} alias Nostrum.Struct.Guild.{Member, Role, UnavailableGuild} al...
32.90583
95
0.686699
186ea8c61e8b9c51af8e092b23edac7bdc0f4ec2
1,753
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/operation_errors.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/operation_errors.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/operation_errors.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...
35.06
166
0.736452
186ead8e2bc24f2fec513d05a2d3e0ebdb66c2a7
938
exs
Elixir
phoenix/kth_chat/config/config.exs
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "MIT" ]
null
null
null
phoenix/kth_chat/config/config.exs
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "MIT" ]
null
null
null
phoenix/kth_chat/config/config.exs
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "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 :kth_chat, ecto_repos: [KthChat.Repo] #...
33.5
86
0.760128
186ef466bc6eb27043cc98ddb44f504ab2efa83d
2,394
ex
Elixir
lib/gateway/rate_limit/sweeper.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
1
2019-11-06T13:35:35.000Z
2019-11-06T13:35:35.000Z
lib/gateway/rate_limit/sweeper.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
lib/gateway/rate_limit/sweeper.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
defmodule Gateway.RateLimit.Sweeper do @moduledoc """ Periodically cleans up the ETS table. By default, the remote IP is considered for rate-limiting, and, consequently, used within the ETS table key. This means that without cleanup, the table would grow quite large very fast. The Sweeper cleans the table...
31.090909
91
0.697577
186efebd73d41523ca80b7a6bb0a1eb75f2cd510
289
ex
Elixir
lib/brainfux/state.ex
SekiT/brainfux
aded7df53c885391a18a5f9e0ad4622a40901d68
[ "WTFPL" ]
4
2016-10-11T13:10:57.000Z
2016-10-19T07:24:31.000Z
lib/brainfux/state.ex
SekiT/brainfux
aded7df53c885391a18a5f9e0ad4622a40901d68
[ "WTFPL" ]
null
null
null
lib/brainfux/state.ex
SekiT/brainfux
aded7df53c885391a18a5f9e0ad4622a40901d68
[ "WTFPL" ]
null
null
null
defmodule Brainfux.State do @moduledoc """ Struct that represents the state of execution. """ defstruct input: '', output: "", back: [0], forward: [0] @type t :: %__MODULE__{ input: charlist, output: String.t, back: [integer], forward: [integer], } end
19.266667
58
0.602076
186f0020d6546b5d301c01cbceb701d487b6aa46
1,029
ex
Elixir
lib/font_info.ex
magicienap/font_info
bb3d489dee36696dc2596242ca7ebec42634d611
[ "MIT" ]
null
null
null
lib/font_info.ex
magicienap/font_info
bb3d489dee36696dc2596242ca7ebec42634d611
[ "MIT" ]
null
null
null
lib/font_info.ex
magicienap/font_info
bb3d489dee36696dc2596242ca7ebec42634d611
[ "MIT" ]
null
null
null
defmodule FontInfo do defstruct [ :file, :offset_table, :table_record ] def new(font_file_name) do font_file = File.open!(font_file_name) offset_table = font_file |> IO.binread(12) |> FontInfo.OffsetTable.new table_record = for _ <- 0..offset_table.num_tables-1 do font_file |> IO....
23.386364
74
0.670554
186f10630ccfe5c7d28599ef8ae863d212c88c78
1,220
ex
Elixir
web/views/error_helpers.ex
bagilevi/fluff-web-ui
800967961ecee0b4f7d8b846ccd0507e1000a719
[ "MIT" ]
1
2017-10-31T17:06:35.000Z
2017-10-31T17:06:35.000Z
web/views/error_helpers.ex
bagilevi/fluff-web-ui
800967961ecee0b4f7d8b846ccd0507e1000a719
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
bagilevi/fluff-web-ui
800967961ecee0b4f7d8b846ccd0507e1000a719
[ "MIT" ]
null
null
null
defmodule Fluff.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(error), cl...
29.756098
71
0.665574
186f7a84952472cf5a7e8ac1d213179705c5da2c
285
exs
Elixir
test/advent_of_code/day_24_test.exs
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-19T04:13:00.000Z
2021-12-19T04:13:00.000Z
test/advent_of_code/day_24_test.exs
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
null
null
null
test/advent_of_code/day_24_test.exs
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-15T19:15:20.000Z
2021-12-15T19:15:20.000Z
defmodule AdventOfCode.Day24Test do use ExUnit.Case import AdventOfCode.Day24 @tag :skip test "part1" do input = nil result = part1(input) assert result end @tag :skip test "part2" do input = nil result = part2(input) assert result end end
12.954545
35
0.649123