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
5a1961cb3ada109539ae84ca56637d951a9a9081
2,419
ex
Elixir
lib/elixir/lib/file/stat.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/lib/file/stat.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file/stat.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
require Record defmodule File.Stat do @moduledoc """ A struct that holds file information. In Erlang, this struct is represented by a `:file_info` record. Therefore this module also provides functions for converting between the Erlang record and the Elixir struct. Its fields are: * `size` - size of ...
31.012821
78
0.659363
5a196896372f5d5f86843785a9f9af5a7cdde46d
1,623
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/goal_set_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/goal_set_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/goal_set_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.531915
157
0.748614
5a197f09482776b4bd340381c75fa558e8bd658f
1,255
ex
Elixir
apps/itest/lib/configuration.ex
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
4
2020-10-31T15:16:16.000Z
2021-02-06T22:44:19.000Z
apps/itest/lib/configuration.ex
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
4
2020-11-02T17:12:09.000Z
2021-02-10T20:35:19.000Z
apps/itest/lib/configuration.ex
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2021 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
25.612245
74
0.731474
5a19b02f36e9cfc24e0cf2218309e2d18caaf7de
2,913
exs
Elixir
config/prod.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
7
2021-01-22T00:20:04.000Z
2022-03-30T22:07:32.000Z
config/prod.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
11
2021-10-05T03:59:28.000Z
2022-03-20T21:54:44.000Z
config/prod.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
3
2021-06-10T02:48:54.000Z
2021-10-09T03:43:06.000Z
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
38.328947
76
0.717817
5a19d7318d42e1e6078eecddb7ca90927e18f7d7
726
ex
Elixir
lib/tokenbalance_web/gettext.ex
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
lib/tokenbalance_web/gettext.ex
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
lib/tokenbalance_web/gettext.ex
imerkle/tokenbalance
35c304f36da315f9d38e3f5bf2565be2e6d46185
[ "Apache-2.0" ]
null
null
null
defmodule TokenbalanceWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import TokenbalanceWeb.Gettext # Simple translation gettext(...
29.04
72
0.684573
5a19e2c8c0d478f485f445d58ae646547182aa6b
684
ex
Elixir
lib/market_history/market_history.ex
DianaOlympos/EVE_Crest_fetcher
26e98b31d4c80ae9c78b5b9398966da6f9c3abe2
[ "MIT" ]
1
2016-02-01T14:33:37.000Z
2016-02-01T14:33:37.000Z
lib/market_history/market_history.ex
DianaOlympos/EVE_Crest_fetcher
26e98b31d4c80ae9c78b5b9398966da6f9c3abe2
[ "MIT" ]
null
null
null
lib/market_history/market_history.ex
DianaOlympos/EVE_Crest_fetcher
26e98b31d4c80ae9c78b5b9398966da6f9c3abe2
[ "MIT" ]
null
null
null
defmodule MarketHistory do import MarketHistory.Registry, only: [create: 5] def start_region() do address = Application.get_env(:fetch_crest_market,:crest_public_address)<>"regions/10000002/types/34/history/" case :poolboy.transaction(:crest_pool, fn(pid)-> CrestRequest.Worker.request_crest(pid,addr...
31.090909
114
0.703216
5a19ec29103d04e71ff379f31874e62cc165642d
1,039
exs
Elixir
platform/config/config.exs
celoclunky/habituary
f6d43252217d04bcc32d9c29f1b8daee32241f3d
[ "BSD-3-Clause" ]
null
null
null
platform/config/config.exs
celoclunky/habituary
f6d43252217d04bcc32d9c29f1b8daee32241f3d
[ "BSD-3-Clause" ]
1
2021-05-11T14:48:01.000Z
2021-05-11T14:48:01.000Z
platform/config/config.exs
celoclunky/habituary
f6d43252217d04bcc32d9c29f1b8daee32241f3d
[ "BSD-3-Clause" ]
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. # General application configuration use Mix.Config config :platform, ecto_repos: [Platform.Repo] ...
32.46875
86
0.770934
5a19ff8a914a47876009b8070df53c3df14454e4
1,726
ex
Elixir
web/channels/user_socket.ex
Microflow/how-can-we-fix
62f84e1c1d69a84d81cfbfcb08e2733165aa4ec6
[ "MIT" ]
93
2017-08-17T13:52:53.000Z
2022-02-06T17:28:35.000Z
web/channels/user_socket.ex
rudi-c/alchemy-book
979e1f08711eb3449913be47cddf1969beff518c
[ "MIT" ]
6
2017-10-07T22:55:46.000Z
2019-04-03T20:05:30.000Z
web/channels/user_socket.ex
Microflow/how-can-we-fix
62f84e1c1d69a84d81cfbfcb08e2733165aa4ec6
[ "MIT" ]
11
2017-08-17T13:54:54.000Z
2022-01-14T09:53:58.000Z
defmodule AlchemyBook.UserSocket do require Logger use Phoenix.Socket alias AlchemyBook.Presence @all "all_users" @max_token_age 2 * 7 * 24 * 60 * 60 ## Channels channel "documents:*", AlchemyBook.DocumentChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :long...
31.962963
97
0.682503
5a1a223c18be1cbf4541d1b641f98bfa3ab18fa6
958
ex
Elixir
lib/consumer.ex
stephlow/kong
95931fdbd7bc95eb0ede73e449f57987102a4ee3
[ "MIT" ]
1
2017-09-01T13:17:34.000Z
2017-09-01T13:17:34.000Z
lib/consumer.ex
stephlow/kong
95931fdbd7bc95eb0ede73e449f57987102a4ee3
[ "MIT" ]
null
null
null
lib/consumer.ex
stephlow/kong
95931fdbd7bc95eb0ede73e449f57987102a4ee3
[ "MIT" ]
null
null
null
defmodule Kong.Consumer do @endpoint "/consumers" import Kong, only: [get: 1, get: 3, post: 2, patch: 2, put: 2, delete: 1] @doc """ Add Consumer """ def add(attributes), do: post(@endpoint, attributes) @doc """ Retrieve Consumer """ def retreive(username_or_id), do: get(@endpoint <> "/#{username...
23.365854
131
0.633612
5a1a7930075b7d946613edfc588684319cf0f306
1,134
exs
Elixir
test/stripe/connect/transfer_test.exs
mmmries/stripity_stripe
7bfaa2316f24a86fbbfc3cf140b1caff05f5ef9d
[ "BSD-3-Clause" ]
null
null
null
test/stripe/connect/transfer_test.exs
mmmries/stripity_stripe
7bfaa2316f24a86fbbfc3cf140b1caff05f5ef9d
[ "BSD-3-Clause" ]
null
null
null
test/stripe/connect/transfer_test.exs
mmmries/stripity_stripe
7bfaa2316f24a86fbbfc3cf140b1caff05f5ef9d
[ "BSD-3-Clause" ]
1
2021-12-01T21:49:27.000Z
2021-12-01T21:49:27.000Z
defmodule Stripe.TransferTest do use Stripe.StripeCase, async: true describe "retrieve/2" do test "retrieves a transfer" do assert {:ok, %Stripe.Transfer{}} = Stripe.Transfer.retrieve("sub_123") assert_stripe_requested(:get, "/v1/transfers/sub_123") end end describe "create/2" do test ...
28.35
76
0.643739
5a1a86f6118aeb418120e5f51ee2ef1a9ce7d34f
22
ex
Elixir
hello.ex
SpeckyYT/Helloworld-1
564846a77e67f41b7217742c38dbb2b9664a7d73
[ "MIT" ]
1
2017-05-19T00:17:25.000Z
2017-05-19T00:17:25.000Z
hello.ex
SpeckyYT/Helloworld-1
564846a77e67f41b7217742c38dbb2b9664a7d73
[ "MIT" ]
null
null
null
hello.ex
SpeckyYT/Helloworld-1
564846a77e67f41b7217742c38dbb2b9664a7d73
[ "MIT" ]
2
2017-05-19T00:20:59.000Z
2022-03-12T10:30:07.000Z
io.puts "Hello world!"
22
22
0.727273
5a1a9218d90c960c6f7dd5ff9c1e914e0cdba291
1,152
ex
Elixir
lib/firmware/resetter.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
farmbot_core/lib/firmware/resetter.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
farmbot_core/lib/firmware/resetter.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotCore.Firmware.Resetter do alias FarmbotCore.Asset require FarmbotCore.Logger if Code.ensure_compiled(Circuits.GPIO) do @gpio Circuits.GPIO else @gpio nil end def reset(package \\ nil) do pkg = package || Asset.fbos_config(:firmware_hardware) {:ok, fun} = find_reset_fun(pkg...
25.6
63
0.684896
5a1aaf6ff2d027f218ce8233b38d13689d423116
4,029
ex
Elixir
lib/elixir/lib/behaviour.ex
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/behaviour.ex
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/behaviour.ex
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
defmodule Behaviour do @moduledoc """ Utilities for defining behaviour intefaces. Behaviours can be referenced by other modules to ensure they implement required callbacks. For example, you can specify the `URI.Parser` behaviour as follows: defmodule URI.Parser do use Behaviour @do...
28.174825
120
0.676595
5a1af727f7141b746a85ab695ce377c055d10c53
7,299
ex
Elixir
lib/omise/schedule.ex
keeratita/omise-elixir
2c89fe9ca60a8c2a8f5e523e7f7a6d51a68c0ed6
[ "MIT" ]
12
2016-09-10T16:17:32.000Z
2020-06-04T01:35:54.000Z
lib/omise/schedule.ex
keeratita/omise-elixir
2c89fe9ca60a8c2a8f5e523e7f7a6d51a68c0ed6
[ "MIT" ]
8
2016-09-19T05:36:27.000Z
2020-09-14T08:46:06.000Z
lib/omise/schedule.ex
keeratita/omise-elixir
2c89fe9ca60a8c2a8f5e523e7f7a6d51a68c0ed6
[ "MIT" ]
10
2016-07-19T05:03:01.000Z
2021-02-08T03:20:54.000Z
defmodule Omise.Schedule do @moduledoc ~S""" Provides Schedule API interfaces. <https://www.omise.co/schedules-api> """ use Omise.HTTPClient, endpoint: "schedules" defstruct object: "schedule", id: nil, livemode: nil, location: nil, status: nil, ...
30.668067
140
0.571037
5a1b21bf34df9edfbff616ccf23ebc61025b9daa
159
exs
Elixir
priv/repo/migrations/20170126215043_create_party.exs
merqlove/some_ecto
ed1a2d402e9d6e9742debc04be6bc44dd98b79af
[ "MIT" ]
null
null
null
priv/repo/migrations/20170126215043_create_party.exs
merqlove/some_ecto
ed1a2d402e9d6e9742debc04be6bc44dd98b79af
[ "MIT" ]
null
null
null
priv/repo/migrations/20170126215043_create_party.exs
merqlove/some_ecto
ed1a2d402e9d6e9742debc04be6bc44dd98b79af
[ "MIT" ]
null
null
null
defmodule SomeEcto.Repo.Migrations.CreateParty do use Ecto.Migration def change do create table(:party) do add :name, :string end end end
15.9
49
0.698113
5a1b3d7caec841b460f04a2e98901eede0e85c9d
2,875
exs
Elixir
test/school_house_web/controllers/lesson_controller_test.exs
BrooklinJazz/school_house
d819adc8975c70ac65271c6d376ab7dd5a9e3303
[ "Apache-2.0" ]
null
null
null
test/school_house_web/controllers/lesson_controller_test.exs
BrooklinJazz/school_house
d819adc8975c70ac65271c6d376ab7dd5a9e3303
[ "Apache-2.0" ]
null
null
null
test/school_house_web/controllers/lesson_controller_test.exs
BrooklinJazz/school_house
d819adc8975c70ac65271c6d376ab7dd5a9e3303
[ "Apache-2.0" ]
null
null
null
defmodule SchoolHouseWeb.LessonControllerTest do use SchoolHouseWeb.ConnCase @routes_map %{ {"basics", "iex-helpers"} => {"basics", "iex_helpers"}, {"basics", "testing"} => {"testing", "basics"}, {"advanced", "erlang"} => {"intermediate", "erlang"}, {"advanced", "error-handling"} => {"intermediate"...
41.666667
83
0.595826
5a1b5b7e7627b781e8322b8d5383e986af048124
1,438
ex
Elixir
test/support/conn_case.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
test/support/conn_case.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
test/support/conn_case.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
defmodule Changelog.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 imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the ...
25.678571
75
0.684284
5a1b60fd40ca0ee6628bdd1f7bade307bfcb0359
1,819
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/platform_types_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/platform_types_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/platform_types_list_response.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...
36.38
161
0.745465
5a1b925c8130fdc4824efec1a90cfc2df3697e75
1,491
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/security_policy_rule_matcher_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/security_policy_rule_matcher_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/security_policy_rule_matcher_config.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...
31.723404
136
0.746479
5a1b9677276915d9fad52979bce3c8dfd77c4793
1,647
ex
Elixir
web/web.ex
aaronvine/elm_recipes
bd68ddca0b22c7c773de1f80aa627bb58b759ccf
[ "MIT" ]
null
null
null
web/web.ex
aaronvine/elm_recipes
bd68ddca0b22c7c773de1f80aa627bb58b759ccf
[ "MIT" ]
null
null
null
web/web.ex
aaronvine/elm_recipes
bd68ddca0b22c7c773de1f80aa627bb58b759ccf
[ "MIT" ]
null
null
null
defmodule ElmRecipes.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use ElmRecipes.Web, :controller use ElmRecipes.Web, :view The definitions below will be executed for every view, controller, etc, so keep...
20.085366
88
0.672738
5a1bbb5214b0db6fa0a462e29d2eec1e36358821
1,583
ex
Elixir
lib/nebulex/object.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
lib/nebulex/object.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
lib/nebulex/object.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
defmodule Nebulex.Object do @moduledoc """ Defines a Cache Object. This is the struct used by the caches to store and retrieve data. """ defstruct [:key, :value, :version, :expire_at] @type t :: %__MODULE__{ key: any, value: any, version: any, expire_at: integer | ...
25.532258
88
0.646241
5a1bc39717a04d30baff90945de89302b2152078
2,247
exs
Elixir
test/langue/es6_module/expectation_test.exs
samuelnygaard/accent
db753badab1d885397b48a42ac3fb43024345467
[ "BSD-3-Clause" ]
1
2020-07-01T16:08:34.000Z
2020-07-01T16:08:34.000Z
test/langue/es6_module/expectation_test.exs
samuelnygaard/accent
db753badab1d885397b48a42ac3fb43024345467
[ "BSD-3-Clause" ]
6
2021-03-11T07:37:48.000Z
2022-02-13T21:10:33.000Z
test/langue/es6_module/expectation_test.exs
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
1
2020-05-29T21:47:35.000Z
2020-05-29T21:47:35.000Z
defmodule LangueTest.Formatter.Es6Module.Expectation do alias Langue.Entry defmodule Simple do use Langue.Expectation.Case def render do """ export default { "general": { "nested": "value ok", "roles": { "owner": "Owner" } }, "t...
28.0875
159
0.531375
5a1bd5c1c22d1399cde57ceada1c8208b36351ca
3,154
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/operation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/operation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_management/lib/google_api/android_management/v1/model/operation.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...
53.457627
525
0.733989
5a1bd734304cb469b06fe76a22c4160fe7562586
81
ex
Elixir
test/support/schema/not_an_ecto_schema.ex
eahanson/schema_assertions
35760374e2c1e837c5ea6fc0bde4baea53677c83
[ "Apache-2.0" ]
null
null
null
test/support/schema/not_an_ecto_schema.ex
eahanson/schema_assertions
35760374e2c1e837c5ea6fc0bde4baea53677c83
[ "Apache-2.0" ]
null
null
null
test/support/schema/not_an_ecto_schema.ex
eahanson/schema_assertions
35760374e2c1e837c5ea6fc0bde4baea53677c83
[ "Apache-2.0" ]
null
null
null
defmodule SchemaAssertions.Test.Schema.NotAnEctoSchema do @moduledoc false end
20.25
57
0.851852
5a1bd876860a3bde1458bd9224c49273734d456d
254
ex
Elixir
test/support/mocks.ex
Shopify/asls
2c0f3c68e380cfeaa75f710b367a2f67ae09957a
[ "MIT" ]
23
2021-02-05T01:50:07.000Z
2021-12-10T13:24:41.000Z
test/support/mocks.ex
Shopify/asls
2c0f3c68e380cfeaa75f710b367a2f67ae09957a
[ "MIT" ]
5
2021-03-30T06:27:39.000Z
2021-06-08T01:10:35.000Z
test/support/mocks.ex
saulecabrera/asls
2c0f3c68e380cfeaa75f710b367a2f67ae09957a
[ "MIT" ]
1
2020-10-24T09:02:22.000Z
2020-10-24T09:02:22.000Z
Mox.defmock(AssemblyScriptLS.JsonRpc.Mock, for: AssemblyScriptLS.JsonRpc.Behaviour) Mox.defmock(AssemblyScriptLS.Analysis.Mock, for: AssemblyScriptLS.Analysis.Behaviour) Mox.defmock(AssemblyScriptLS.Runtime.Mock, for: AssemblyScriptLS.Runtime.Behaviour)
63.5
85
0.858268
5a1c18160ce1483663d07b06e467c2487e4c4eae
588
ex
Elixir
lib/curve/curve.ex
PinkDiamond1/ecdsa-elixir
dd1953cc48974b5bfb9461d3a2179d1d937b264d
[ "MIT" ]
null
null
null
lib/curve/curve.ex
PinkDiamond1/ecdsa-elixir
dd1953cc48974b5bfb9461d3a2179d1d937b264d
[ "MIT" ]
null
null
null
lib/curve/curve.ex
PinkDiamond1/ecdsa-elixir
dd1953cc48974b5bfb9461d3a2179d1d937b264d
[ "MIT" ]
null
null
null
defmodule EllipticCurve.Curve do @moduledoc false alias EllipticCurve.Utils.Integer, as: IntegerUtils @doc """ Verifies if the point `p` is on the curve using the elliptic curve equation: y^2 = x^3 + A*x + B (mod P) """ def contains?(curveData, p) do IntegerUtils.modulo( IntegerUtils.ipow(p.y,...
23.52
78
0.630952
5a1c5b06c4104a41748c068eb80b1cdf2d7a5436
3,280
exs
Elixir
priv/repo/seeds.exs
TheBeeCashers/HoneyStream
469a505b1c01597bc746f8eaf117410ae4bc56e0
[ "MIT" ]
6
2018-10-27T10:55:41.000Z
2018-11-06T04:48:33.000Z
priv/repo/seeds.exs
TheBeeCashers/HoneyStream
469a505b1c01597bc746f8eaf117410ae4bc56e0
[ "MIT" ]
2
2018-10-28T14:18:16.000Z
2018-10-28T14:18:30.000Z
priv/repo/seeds.exs
TheBeeCashers/HoneyStream
469a505b1c01597bc746f8eaf117410ae4bc56e0
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Honeystream.Repo.insert!(%Honeystream.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as t...
52.063492
259
0.752134
5a1c7696ce6449a9c8e646d245ffda35a5421c8d
1,732
ex
Elixir
lib/erlnote_web/schema/notes_types.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
lib/erlnote_web/schema/notes_types.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
1
2019-11-02T13:46:12.000Z
2019-11-02T13:46:12.000Z
lib/erlnote_web/schema/notes_types.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
defmodule ErlnoteWeb.Schema.NotesTypes do use Absinthe.Schema.Notation object :note do field :id, :id field :body, :string field :title, :string field :notepad, :notepad do resolve fn note, _, _ -> {:ok, Erlnote.Notes.get_notepad_from_note(note)} end end field :tags, lis...
27.492063
76
0.676674
5a1c9271b16a2023d82f6858a8bc1daa22f988ad
2,041
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/route_spec.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/route_spec.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/route_spec.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...
36.446429
176
0.737384
5a1cab33cc62989228eb909090c8c605967c05fc
2,819
ex
Elixir
test/elixir/lib/step/user.ex
qa829/couchdb
9acaa84a2828a2def3777580fffbe080da42bb0d
[ "Apache-2.0" ]
null
null
null
test/elixir/lib/step/user.ex
qa829/couchdb
9acaa84a2828a2def3777580fffbe080da42bb0d
[ "Apache-2.0" ]
null
null
null
test/elixir/lib/step/user.ex
qa829/couchdb
9acaa84a2828a2def3777580fffbe080da42bb0d
[ "Apache-2.0" ]
null
null
null
defmodule Couch.Test.Setup.Step.User do @moduledoc """ Step to create user with given list of roles. The :server_admin is a special role which is used to put user into `admins` section of a config instead of a database. Example setup |> Setup.Step.User.new(:admin, roles: [:server_admin]) ... ...
27.105769
90
0.612629
5a1ccbbaed7874de3cba6002a379e73ed7c58b81
886
ex
Elixir
apps/admin_api/lib/admin_api/v1/plugs/account_scope_plug.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/admin_api/lib/admin_api/v1/plugs/account_scope_plug.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/plugs/account_scope_plug.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.AccountScopePlug do @moduledoc """ This plug extracts the account's scope from the request header, and assigns it to the connection as `scoped_account_id` for downstream usage. """ import Plug.Conn import AdminAPI.V1.ErrorHandler alias Ecto.UUID def init(opts), do: opts def cal...
24.611111
79
0.659142
5a1cd63428d96b28c6b1a44af183ce7ebb443607
460
exs
Elixir
test/paladin_client_test.exs
opendoor-labs/paladin_client
960e7b5ee458c471c140b370ed9a995b7463456c
[ "MIT" ]
3
2016-10-25T16:45:37.000Z
2021-06-04T06:03:00.000Z
test/paladin_client_test.exs
opendoor-labs/paladin_client
960e7b5ee458c471c140b370ed9a995b7463456c
[ "MIT" ]
1
2019-01-15T23:32:07.000Z
2019-01-15T23:32:07.000Z
test/paladin_client_test.exs
opendoor-labs/paladin_client
960e7b5ee458c471c140b370ed9a995b7463456c
[ "MIT" ]
null
null
null
defmodule PaladinClientTest do use ExUnit.Case doctest PaladinClient alias PaladinClient, as: Client setup do {:ok, jwt, _full_claims} = Guardian.encode_and_sign("the_user") {:ok, %{jwt: jwt}} end test "from_existing_token does a lookup then caches the result", %{jwt: jwt} do {:ok, new_token}...
25.555556
81
0.7
5a1ce1025723b4a7099b79142a58949dd6243345
1,772
ex
Elixir
clients/script/lib/google_api/script/v1/model/metrics_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/model/metrics_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/script/lib/google_api/script/v1/model/metrics_value.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...
33.433962
118
0.711625
5a1ceb3e531a99e94d2cf5582163bb34f72618ab
1,750
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/lookback_window.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/lookback_window.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/lookback_window.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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...
33.018868
136
0.724571
5a1d3504fa35f10610bcff31fd7804160be458b4
6,710
ex
Elixir
lib/ecto/query/builder/order_by.ex
iautom8things/ecto
9e89e9b7f8c7d11373c2372f2d3365dd8b4aaccf
[ "Apache-2.0" ]
1
2022-03-13T23:01:45.000Z
2022-03-13T23:01:45.000Z
lib/ecto/query/builder/order_by.ex
iautom8things/ecto
9e89e9b7f8c7d11373c2372f2d3365dd8b4aaccf
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder/order_by.ex
iautom8things/ecto
9e89e9b7f8c7d11373c2372f2d3365dd8b4aaccf
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [apply: 2] defmodule Ecto.Query.Builder.OrderBy do @moduledoc false alias Ecto.Query.Builder @directions [ :asc, :asc_nulls_last, :asc_nulls_first, :desc, :desc_nulls_last, :desc_nulls_first ] @doc """ Returns `true` if term is a valid order_by direction; o...
31.952381
118
0.62623
5a1d3e83cd6946157128a205bfa2e38e888eddf2
7,756
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/model/subscription.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/reseller/lib/google_api/reseller/v1/model/subscription.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/reseller/lib/google_api/reseller/v1/model/subscription.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
79.142857
840
0.724729
5a1d428fc6288a5cac103e01ee384a70d494beb9
1,404
ex
Elixir
lib/ex_bybit/derivatives/symbol.ex
fremantle-industries/ex_bybit
5bb6b751695ee6b3952645ae7cac00630b350a86
[ "MIT" ]
1
2020-09-20T10:53:56.000Z
2020-09-20T10:53:56.000Z
lib/ex_bybit/derivatives/symbol.ex
fremantle-capital/ex_bybit
2cc41f796232cd228c21a49fbfd8116a1ad7d7d5
[ "MIT" ]
7
2021-07-28T21:57:50.000Z
2021-07-28T22:12:19.000Z
lib/ex_bybit/derivatives/symbol.ex
fremantle-capital/ex_bybit
2cc41f796232cd228c21a49fbfd8116a1ad7d7d5
[ "MIT" ]
null
null
null
defmodule ExBybit.Derivatives.Symbol do defmodule LeverageFilter do @type t :: %__MODULE__{ leverage_step: String.t(), max_leverage: non_neg_integer(), min_leverage: non_neg_integer() } defstruct ~w[leverage_step max_leverage min_leverage]a end defmodule Pri...
23.4
59
0.593305
5a1d432218ac9167aabaf2205a3ab8af8d2b4418
332
exs
Elixir
apps/artemis_web/test/artemis_web/controllers/on_call_controller_test.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_web/test/artemis_web/controllers/on_call_controller_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/test/artemis_web/controllers/on_call_controller_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule ArtemisWeb.OnCallControllerTest do use ArtemisWeb.ConnCase setup %{conn: conn} do {:ok, conn: sign_in(conn)} end describe "index" do test "lists all features", %{conn: conn} do conn = get(conn, Routes.on_call_path(conn, :index)) assert html_response(conn, 200) =~ "On Call" en...
22.133333
57
0.665663
5a1d4bbc9eb19408eb5110f929196a75fd181200
2,059
exs
Elixir
test/xdr/transactions/operations/clawback_claimable_balance_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/transactions/operations/clawback_claimable_balance_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/transactions/operations/clawback_claimable_balance_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.ClawbackClaimableBalanceTest do use ExUnit.Case alias StellarBase.XDR.{ClaimableBalanceID, ClaimableBalanceIDType, Hash} alias StellarBase.XDR.Operations.ClawbackClaimableBalance describe "ClawbackClaimableBalance Operation" do setup do balance_id_type = Claimabl...
37.436364
101
0.719767
5a1d7115cf536e1fd3c120f1e6a337db7e736b30
3,390
exs
Elixir
test/schema_test.exs
pmarreck/coherence
aa0ef8403197dfd262863f4b0e592122a1a3e525
[ "MIT" ]
1,347
2016-07-04T23:20:10.000Z
2022-02-10T20:10:48.000Z
test/schema_test.exs
pmarreck/coherence
aa0ef8403197dfd262863f4b0e592122a1a3e525
[ "MIT" ]
378
2016-07-06T16:30:28.000Z
2021-09-16T13:34:05.000Z
test/schema_test.exs
pmarreck/coherence
aa0ef8403197dfd262863f4b0e592122a1a3e525
[ "MIT" ]
276
2016-07-06T20:26:17.000Z
2021-12-06T19:32:41.000Z
defmodule CoherenceTest.Schema do use TestCoherence.ModelCase alias TestCoherence.User use Timex setup do :ok end @email "schema@test.com" @valid_params %{name: "test", email: @email, password: "12345", password_confirmation: "12345"} test "invalid email" do cs1 = User.changeset(%User{}...
23.219178
97
0.581711
5a1da91ce9be3d880fa8e92c41da110f289cbe67
880
ex
Elixir
clients/domains/lib/google_api/domains/v1/metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/domains/lib/google_api/domains/v1/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/domains/lib/google_api/domains/v1/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.592593
74
0.757955
5a1dd9defbba187e2ff6b12e6a39cab04e0e2310
1,473
ex
Elixir
apps/concierge_site/test/support/conn_case.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/test/support/conn_case.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/test/support/conn_case.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.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.792453
76
0.685675
5a1ddeb28c0f4b5917ee0e7f28691c10597b6590
197
ex
Elixir
presentation/snippets/jshint/gulp.ex
mabrasil/slides-nug_ce-2015
dedd5c2ca1bbc109b5895ae136eac72a399c2ebd
[ "MIT" ]
null
null
null
presentation/snippets/jshint/gulp.ex
mabrasil/slides-nug_ce-2015
dedd5c2ca1bbc109b5895ae136eac72a399c2ebd
[ "MIT" ]
null
null
null
presentation/snippets/jshint/gulp.ex
mabrasil/slides-nug_ce-2015
dedd5c2ca1bbc109b5895ae136eac72a399c2ebd
[ "MIT" ]
null
null
null
'use strict'; var gulp = require('gulp') ,jshint = require('gulp-jshint'); module.exports = gulp.task('jshint', function (cb) { return gulp.src('./src/js/*.js') .pipe(jshint()) });
16.416667
52
0.593909
5a1de2a725fe8c7a3d57f8fc91164ae4e9e96217
427
exs
Elixir
test/models/user_test.exs
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
11
2017-07-10T10:13:42.000Z
2021-12-19T16:46:20.000Z
test/models/user_test.exs
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
null
null
null
test/models/user_test.exs
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
3
2017-07-18T20:03:34.000Z
2019-07-28T13:32:49.000Z
defmodule Quasar.UserTest do use Quasar.ModelCase alias Quasar.User @valid_attrs %{email: "user@example.com", name: "user"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = User.changeset(%User{}, @valid_attrs) assert changeset.valid? end test "changeset with invalid at...
22.473684
57
0.711944
5a1e105e82409853aaf10a879ee1302bd7c5bb00
135
exs
Elixir
bench/basic_bench.exs
my-flow/luhn_ex
dffb053cba89860286c21517a7f0d64200012d6d
[ "MIT" ]
14
2015-06-30T11:25:12.000Z
2020-04-27T17:12:06.000Z
bench/basic_bench.exs
my-flow/luhn_ex
dffb053cba89860286c21517a7f0d64200012d6d
[ "MIT" ]
6
2015-06-30T23:19:39.000Z
2021-01-04T13:37:41.000Z
bench/basic_bench.exs
my-flow/luhn_ex
dffb053cba89860286c21517a7f0d64200012d6d
[ "MIT" ]
10
2015-06-30T19:01:19.000Z
2021-09-19T22:35:46.000Z
defmodule BasicBench do use Benchfella @valid_number "378282246310005" bench "luhn" do Luhn.valid? @valid_number end end
13.5
33
0.733333
5a1e622b7842fb1b16170a003efec9b92d509969
25,165
ex
Elixir
lib/phoenix_live_view/helpers.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/helpers.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/helpers.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Helpers do @moduledoc """ A collection of helpers to be imported into your views. """ alias Phoenix.LiveView.{Component, Socket, Static} @doc false def live_patch(opts) when is_list(opts) do live_link("patch", Keyword.fetch!(opts, :do), Keyword.delete(opts, :do)) end @d...
30.95326
110
0.642837
5a1e63a4ae56616937fb45ae66fa6293b131524d
1,738
exs
Elixir
test/pixel_font/table_source/otf_layout/chained_sequence_context_3_test.exs
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
17
2020-09-14T15:25:38.000Z
2022-03-05T17:14:24.000Z
test/pixel_font/table_source/otf_layout/chained_sequence_context_3_test.exs
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
1
2021-08-19T05:05:37.000Z
2021-08-19T05:05:37.000Z
test/pixel_font/table_source/otf_layout/chained_sequence_context_3_test.exs
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
null
null
null
defmodule PixelFont.TableSource.OTFLayout.ChainedSequenceContext3Test do use PixelFont.Case, async: true alias PixelFont.Glyph alias PixelFont.TableSource.{GPOS, GSUB} alias PixelFont.TableSource.OTFLayout.ChainedSequenceContext3 alias PixelFont.TableSource.OTFLayout.GlyphCoverage describe "compile/2" do ...
29.965517
81
0.627158
5a1e97ca4af9424b1e7d343c38341a954e6fe6e2
3,140
ex
Elixir
lib/teiserver/battle/tasks/breakdown_match_data_task.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/teiserver/battle/tasks/breakdown_match_data_task.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/battle/tasks/breakdown_match_data_task.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Battle.Tasks.BreakdownMatchDataTask do @doc """ Provides aggregate data about matches which took place within a given timeframe """ alias Teiserver.Battle @spec perform(%Date{}) :: map() @spec perform(%Date{}, %Date{}) :: map() def perform(start_date) do perform(start_date, Timex....
27.54386
82
0.60828
5a1e9d2293a128cd0a12ab6270c1bf6fb5c0ee9a
1,168
ex
Elixir
sous_chef/lib/sous_chef_web/router.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/lib/sous_chef_web/router.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/lib/sous_chef_web/router.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
defmodule SousChefWeb.Router do use SousChefWeb, :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 "/", SousChefWeb do pi...
25.391304
70
0.702911
5a1eb19ee388d1e699daf378aed669b80083ea64
132
exs
Elixir
test/footy_test.exs
glennr/footy
dff810c108e0c77b60c55c056eeb661ddcf2e853
[ "MIT" ]
null
null
null
test/footy_test.exs
glennr/footy
dff810c108e0c77b60c55c056eeb661ddcf2e853
[ "MIT" ]
null
null
null
test/footy_test.exs
glennr/footy
dff810c108e0c77b60c55c056eeb661ddcf2e853
[ "MIT" ]
null
null
null
defmodule FootyTest do use ExUnit.Case doctest Footy test "greets the world" do assert Footy.hello() == :world end end
14.666667
34
0.69697
5a1eb5f9e7ebc0945e2c0bef8fbc5aac11713fdc
4,221
ex
Elixir
lib/iex/lib/iex/cli.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
1
2019-06-11T20:22:20.000Z
2019-06-11T20:22:20.000Z
lib/iex/lib/iex/cli.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/cli.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
null
null
null
# IEx sets the Erlang user to be IEx.CLI via the command line. # While this works most of the time, there are some problems # that may happen depending on how the booting process goes. # Those problems need to be manually tested in case changes are # done to this file. # # 1. In some situations, printing something befo...
28.52027
111
0.635158
5a1ee3f62163c06cdfef3a17a051903dc69b8fdb
823
ex
Elixir
lib/excoveralls/conf_server.ex
brauliobz/excoveralls
8108405bda1c6ef27253edc294415f02d78760f4
[ "MIT" ]
716
2015-01-04T20:41:01.000Z
2022-03-29T08:44:09.000Z
lib/excoveralls/conf_server.ex
brauliobz/excoveralls
8108405bda1c6ef27253edc294415f02d78760f4
[ "MIT" ]
255
2015-01-03T23:41:58.000Z
2022-03-19T23:06:06.000Z
deps/excoveralls/lib/excoveralls/conf_server.ex
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
217
2015-03-31T20:17:58.000Z
2022-02-20T23:46:41.000Z
defmodule ExCoveralls.ConfServer do @moduledoc """ Provide data-store for configuration settings. """ @ets_table :excoveralls_conf_server @ets_key :config_key @doc """ Initialize the data-store table. """ def start do if :ets.info(@ets_table) == :undefined do :ets.new(@ets_table, [:set, :p...
18.288889
57
0.622114
5a1ef4e2dd64425c1b8fe0e6c98721b686ef0109
12,876
ex
Elixir
lib/chat_api/slack.ex
arjenrschat/papercups
cba421945dd484689392c120ef98ed77200564d7
[ "MIT" ]
null
null
null
lib/chat_api/slack.ex
arjenrschat/papercups
cba421945dd484689392c120ef98ed77200564d7
[ "MIT" ]
null
null
null
lib/chat_api/slack.ex
arjenrschat/papercups
cba421945dd484689392c120ef98ed77200564d7
[ "MIT" ]
null
null
null
defmodule ChatApi.Slack do @moduledoc """ A module to handle sending Slack notifications. """ require Logger use Tesla alias ChatApi.{Conversations, SlackAuthorizations, SlackConversationThreads, Users} alias ChatApi.Customers.Customer plug Tesla.Middleware.BaseUrl, "https://slack.com/api" plug T...
30.084112
96
0.614088
5a1f2d1da1c845b6a057dc0729922208e79490db
2,021
ex
Elixir
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_policy_schema_required_items.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_policy_schema_required_items.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_policy_schema_required_items.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.745455
250
0.745176
5a1fa7241f0150f776e94b47d29cec38e27284a1
2,845
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/vpn_tunnel_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/vpn_tunnel_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/vpn_tunnel_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.070423
127
0.676977
5a2008bfc5e22c865dd1421b5bedece6e63a3195
3,444
exs
Elixir
test/til_web/controllers/reset_password_controller_test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "MIT" ]
null
null
null
test/til_web/controllers/reset_password_controller_test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "MIT" ]
2
2020-04-26T14:03:27.000Z
2020-12-12T17:14:02.000Z
test/til_web/controllers/reset_password_controller_test.exs
kw7oe/til
5ecaa3d199c06d535d1bbbfa05e2dc88e86ad815
[ "MIT" ]
null
null
null
defmodule TilWeb.RestPasswordControllerTest do use TilWeb.ConnCase use Plug.Test use Bamboo.Test alias Til.Accounts describe "new" do test "render reset password page", %{conn: conn} do conn = get(conn, Routes.reset_password_path(conn, :new)) assert html_response(conn, 200) =~ "Reset Your Pa...
34.787879
96
0.66928
5a205629ab14fc9a0b8cb94c4a8fa0e41469856c
645
ex
Elixir
lib/hound/json_driver/response_parsers/phantom_js.ex
manukall/hound
5a96b714b5ae0b64f9cbee3ee4955d209895b92e
[ "MIT" ]
null
null
null
lib/hound/json_driver/response_parsers/phantom_js.ex
manukall/hound
5a96b714b5ae0b64f9cbee3ee4955d209895b92e
[ "MIT" ]
null
null
null
lib/hound/json_driver/response_parsers/phantom_js.ex
manukall/hound
5a96b714b5ae0b64f9cbee3ee4955d209895b92e
[ "MIT" ]
null
null
null
defmodule Hound.JsonDriver.ResponseParsers.PhantomJs do @moduledoc false def parse(path, status, content) do resp = Hound.JsonDriver.Utils.decode_content(content) value = resp["value"] cond do status < 300 && path == "session" -> {:ok, resp["sessionId"]} resp["status"] == 0 -> val...
23.035714
64
0.56124
5a20703059232fd994a5165e83e13dd1ebb2840d
1,203
exs
Elixir
test/game/door_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/game/door_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/game/door_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.DoorTest do use ExUnit.Case import Test.DoorHelper alias Game.Door setup do door_id = 10 start_and_clear_doors() %{door_id: door_id} end test "load a door's initial state", %{door_id: door_id} do "closed" = Door.load(door_id) assert Door.get(door_id) == "closed" a...
23.588235
82
0.64921
5a20a74eb102bdb11b0033da45070732fd3a8dfd
641
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/express_route_peering_type.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/express_route_peering_type.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/express_route_peering_type.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Network.Model.ExpressRoutePeeringType do @moduledoc """ The PeeringType. Possible values are: &#39;AzurePublicPeeri...
24.653846
132
0.731669
5a20b1b992944882cc6aa45a72dcefe4b04a5d65
79
ex
Elixir
lib/emq_event_store/repo.ex
127labs/emq-event-store
0ce4aaed691f09e0e8cb19a8971919ce8fd5a056
[ "Apache-2.0" ]
1
2017-06-15T09:34:10.000Z
2017-06-15T09:34:10.000Z
lib/emq_event_store/repo.ex
127labs/emq-event-store
0ce4aaed691f09e0e8cb19a8971919ce8fd5a056
[ "Apache-2.0" ]
2
2017-06-23T15:52:58.000Z
2017-06-23T15:54:14.000Z
lib/emq_event_store/repo.ex
127labs/emq-event-store
0ce4aaed691f09e0e8cb19a8971919ce8fd5a056
[ "Apache-2.0" ]
null
null
null
defmodule EmqEventStore.Repo do use Ecto.Repo, otp_app: :emq_event_store end
19.75
42
0.810127
5a213278f5a4560c52226994858d662aaeb577ba
145
ex
Elixir
lib/computer_player.ex
tpetersen0308/tic_tac_toe
db7dbf77eadc6a9a98f10f3a4c0f27deae5d559f
[ "MIT" ]
null
null
null
lib/computer_player.ex
tpetersen0308/tic_tac_toe
db7dbf77eadc6a9a98f10f3a4c0f27deae5d559f
[ "MIT" ]
null
null
null
lib/computer_player.ex
tpetersen0308/tic_tac_toe
db7dbf77eadc6a9a98f10f3a4c0f27deae5d559f
[ "MIT" ]
null
null
null
defmodule TicTacToe.ComputerPlayer do def move(board_manager, board) do board |> board_manager.available_positions |> Enum.random end end
29
61
0.786207
5a2143712ad0d43798dd858e5bd89b0cebe752e4
5,412
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/nesting_level.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/nesting_level.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/docs/lib/google_api/docs/v1/model/nesting_level.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...
79.588235
1,413
0.740761
5a217a578bbbb97c70360e2b8087a3649cb1e288
3,032
ex
Elixir
lib/kaufmann_ex/publisher/topic_selector.ex
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
84
2018-03-20T08:19:10.000Z
2022-01-30T07:40:56.000Z
lib/kaufmann_ex/publisher/topic_selector.ex
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
23
2018-03-29T15:15:56.000Z
2019-12-04T14:53:57.000Z
lib/kaufmann_ex/publisher/topic_selector.ex
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
8
2018-07-03T18:18:27.000Z
2022-03-08T14:04:09.000Z
defmodule KaufmannEx.Publisher.TopicSelector do @moduledoc """ Topic and partition selection stage. if `topic: :callback` the value of `context: %{callback_topic: callback_topic}` will be used as the publication topic. If callback_topic is nil or empty then no callback event will be published. Topics may ...
42.704225
170
0.719327
5a21958e8be380fa0bf701fda52b8fd5adc8afeb
617
ex
Elixir
lib/teiserver/battle/schemas/match_membership.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/teiserver/battle/schemas/match_membership.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/battle/schemas/match_membership.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Battle.MatchMembership do use CentralWeb, :schema @primary_key false schema "teiserver_battle_match_memberships" do field :team_id, :integer, default: nil belongs_to :user, Central.Account.User, primary_key: true belongs_to :match, Teiserver.Battle.Match, primary_key: true end ...
28.045455
64
0.700162
5a21b261ad897ebb3323cb89be654329ea71a48b
6,452
ex
Elixir
lib/grizzly.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly do @moduledoc """ Send commands to Z-Wave devices Grizzly provides the `send_command` function as the way to send a command to Z-Wave devices. The `send_command` function takes the node id that you are trying to send a command to, the command name, and optionally command arguments and co...
33.604167
131
0.699783
5a21d3e56fed1a4ca26ed1be741416fa1cb62dcd
2,279
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/pivot_group_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/pivot_group_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/pivot_group_rule.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...
43
339
0.741553
5a22064ef76bd4b0fce68b77229d34ca0dd3aa68
1,141
ex
Elixir
lib/gandalf/auth_strategy/session.ex
pragmaticivan/gandalf
d6f79489104f3b3544247856bb93679f47ec9e0d
[ "Apache-2.0", "MIT" ]
1
2018-05-01T01:34:56.000Z
2018-05-01T01:34:56.000Z
lib/gandalf/auth_strategy/session.ex
pragmaticivan/gandalf
d6f79489104f3b3544247856bb93679f47ec9e0d
[ "Apache-2.0", "MIT" ]
null
null
null
lib/gandalf/auth_strategy/session.ex
pragmaticivan/gandalf
d6f79489104f3b3544247856bb93679f47ec9e0d
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule Gandalf.AuthStrategy.Session do @moduledoc """ Gandalf Strategy implements behaviour Gandalf.Strategy to check 'session' based authencations to find resource owner. """ import Plug.Conn, only: [fetch_session: 1, get_session: 2] @behaviour Gandalf.AuthStrategy @auth_strategies Application.get_e...
32.6
75
0.737073
5a2217f007103ede92879722ed05a75147aad634
17,439
ex
Elixir
lib/elixir/lib/kernel/parallel_compiler.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/elixir/lib/kernel/parallel_compiler.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/parallel_compiler.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.ParallelCompiler do @moduledoc """ A module responsible for compiling and requiring files in parallel. """ @doc """ Starts a task for parallel compilation. If you have a file that needs to compile other modules in parallel, the spawned processes need to be aware of the compiler environm...
34.127202
98
0.634956
5a2257b58411fc04803e20e2857d89b5dd69c378
2,212
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/container_started_event.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/container_started_event.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/container_started_event.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...
40.962963
293
0.743219
5a2282edaac1944c8228201d0448487eba030e0a
2,047
ex
Elixir
lib/icon/parse.ex
ncloudioj/iconic
20dac2e8f9e737292d1caccf0ded3b51abe63a97
[ "Apache-2.0" ]
2
2017-10-30T18:16:25.000Z
2021-02-09T09:29:24.000Z
lib/icon/parse.ex
ncloudioj/iconic
20dac2e8f9e737292d1caccf0ded3b51abe63a97
[ "Apache-2.0" ]
null
null
null
lib/icon/parse.ex
ncloudioj/iconic
20dac2e8f9e737292d1caccf0ded3b51abe63a97
[ "Apache-2.0" ]
null
null
null
defmodule Icon.Parse do @moduledoc """ Icon parsing module. """ defmodule Icon do @moduledoc "Icon struct" @type t :: %__MODULE__{href: String.t, rel: String.t, type: String.t, sizes: String.t} defstruct [:href, :rel, :type, :sizes] end @doc """ Parse a html string and extract all the icons...
22.494505
118
0.559844
5a229ce6f8b9305bdcce1bab26343a057132596f
973
ex
Elixir
lib/glimesh_web/live/modal_component.ex
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
lib/glimesh_web/live/modal_component.ex
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
lib/glimesh_web/live/modal_component.ex
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.ModalComponent do use GlimeshWeb, :live_component @impl true def render(assigns) do ~H""" <div id={@id} class="live-modal" phx-capture-click="close" phx-window-keydown="close" phx-key="escape" phx-target={"##{@id}"} phx-page-loading > ...
24.325
77
0.501542
5a22bed6905065f059f988ce7e56a120a4647ba5
646
exs
Elixir
test/00_nouns/test_data_test.exs
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
test/00_nouns/test_data_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
test/00_nouns/test_data_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule Nouns.TestDataTest do use EctoTestDSL.Case alias EctoTestDSL.TestDataServer alias T.Run.Rnode defmodule Examples do use Template.Trivial def create_test_data do started() workflow( :any_workflow, example: [params(a: 1)]) end end test "getting an example can...
23.071429
65
0.693498
5a22cf69c20e01d2855c008b9956cafc383d9c99
645
ex
Elixir
lib/offer_hunters/error.ex
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
3
2021-10-01T21:13:02.000Z
2021-11-05T22:25:55.000Z
lib/offer_hunters/error.ex
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
null
null
null
lib/offer_hunters/error.ex
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
null
null
null
defmodule OfferHunters.Error do @moduledoc """ creates a model for error handling. """ @keys [:status, :result] @enforce_keys @keys defstruct @keys @doc """ Recive the status & result and build a error struct ## Examples iex> OfferHunters.Error.build(:bad_request, "user not found") %Offer...
22.241379
86
0.623256
5a22d2bcf7b6c23a390bdce05689dafe07e59a3a
4,160
ex
Elixir
lib/hedwig_flowdock/streaming_connection.ex
massive/hedwig_flowdock
36b0e880ae182b6335cc01ddcf39d0c906b05000
[ "MIT" ]
null
null
null
lib/hedwig_flowdock/streaming_connection.ex
massive/hedwig_flowdock
36b0e880ae182b6335cc01ddcf39d0c906b05000
[ "MIT" ]
null
null
null
lib/hedwig_flowdock/streaming_connection.ex
massive/hedwig_flowdock
36b0e880ae182b6335cc01ddcf39d0c906b05000
[ "MIT" ]
null
null
null
defmodule Hedwig.Adapters.Flowdock.StreamingConnection do use Connection alias Hedwig.Adapters.Flowdock, as: Adapter alias Hedwig.Adapters.Flowdock.RestConnection, as: RC require Logger @timeout 5_000 @ssl_port 443 @endpoint "stream.flowdock.com" defstruct conn: nil, host: nil, path: nil, ...
26.163522
122
0.60024
5a22d5eddf03493cea9cb3e8967712f93415b7be
4,490
exs
Elixir
test/credo/check/readability/alias_order_test.exs
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
test/credo/check/readability/alias_order_test.exs
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
null
null
null
test/credo/check/readability/alias_order_test.exs
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
1
2020-06-28T00:36:07.000Z
2020-06-28T00:36:07.000Z
defmodule Credo.Check.Readability.AliasOrderTest do use Credo.Test.Case @described_check Credo.Check.Readability.AliasOrder # # cases NOT raising issues # test "it should NOT report violation" do """ defmodule Test do alias App.Module1 alias App.Module2 alias Credo.CLI.Command ...
21.586538
90
0.639198
5a22e23bbb4140f36e9d545c1985adc3cb52aa8f
1,124
exs
Elixir
mix.exs
joaomdmoura/shiphawk-elixir
ef0344ca163bf02e6c54786b2bbe6f81ce7d9b62
[ "MIT" ]
null
null
null
mix.exs
joaomdmoura/shiphawk-elixir
ef0344ca163bf02e6c54786b2bbe6f81ce7d9b62
[ "MIT" ]
null
null
null
mix.exs
joaomdmoura/shiphawk-elixir
ef0344ca163bf02e6c54786b2bbe6f81ce7d9b62
[ "MIT" ]
null
null
null
defmodule Shiphawk.Mixfile do use Mix.Project def project do [ app: :shiphawk, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, package: package(), description: description(), source_url: "https://github.com/joaomdmoura/shiphawk-elixir", dep...
22.938776
76
0.588968
5a22ec1b43669df80a3ed9586554a8d813b22152
53
ex
Elixir
lib/who_web/views/page_view.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
1
2017-08-08T13:22:23.000Z
2017-08-08T13:22:23.000Z
lib/who_web/views/page_view.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
lib/who_web/views/page_view.ex
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
defmodule WhoWeb.PageView do use WhoWeb, :view end
13.25
28
0.773585
5a23519e3078193ed65ce5ff4e53656dc185a40f
6,346
exs
Elixir
test/phoenix_live_view/integrations/components_test.exs
lasseebert/phoenix_live_view
1969388580778db23f2d9dc6968e31663f4afd8a
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/components_test.exs
lasseebert/phoenix_live_view
1969388580778db23f2d9dc6968e31663f4afd8a
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/components_test.exs
lasseebert/phoenix_live_view
1969388580778db23f2d9dc6968e31663f4afd8a
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.ComponentTest do use ExUnit.Case, async: true use Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveViewTest.{Endpoint, DOM, StatefulComponent} @endpoint Endpoint @moduletag :capture_log @moduletag session: %{names: ["chris", "jose"]} setup config do {:ok,...
34.302703
107
0.515758
5a23639b7215339c9a7b469ee48b54adebede61e
1,310
exs
Elixir
priv/repo/migrations/20171114225713_migrate_project_github_repos_to_github_repo.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
priv/repo/migrations/20171114225713_migrate_project_github_repos_to_github_repo.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
priv/repo/migrations/20171114225713_migrate_project_github_repos_to_github_repo.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Repo.Migrations.MigrateProjectGithubReposToGithubRepo do use Ecto.Migration import Ecto.Query alias CodeCorps.Repo def up do project_github_repos = from( pgr in "project_github_repos", left_join: gr in "github_repos", on: gr.id == pgr.github_repo_id, ...
30.465116
93
0.693893
5a2381810616ef055a1331ebc282380d52beafdb
455
ex
Elixir
test/support/custom_encoding.ex
goodpixel/pager
d3ab68add7f7d08af1a80132e2981c802d446b5f
[ "MIT" ]
3
2021-09-15T13:21:37.000Z
2021-10-14T06:07:49.000Z
test/support/custom_encoding.ex
goodpixel/pager
d3ab68add7f7d08af1a80132e2981c802d446b5f
[ "MIT" ]
2
2021-09-20T16:39:56.000Z
2021-10-14T18:38:34.000Z
test/support/custom_encoding.ex
goodpixel/pager
d3ab68add7f7d08af1a80132e2981c802d446b5f
[ "MIT" ]
1
2021-09-20T16:19:13.000Z
2021-09-20T16:19:13.000Z
# These are samples only. They do, however, get exercised by any tests involving these types # so that we can verify that what we're recommending actually works… defimpl Chunkr.CursorValue.Encode, for: DateTime do def convert(%DateTime{} = datetime), do: {:dt, DateTime.to_unix(datetime, :microsecond)} end defimpl Ch...
45.5
92
0.769231
5a239be5efd71350c03eddd03adae5b402d4e75e
10,542
ex
Elixir
lib/realbook.ex
ityonemo/realbook
cc506144492b9344b540181a63ba35b6f5943c9c
[ "MIT" ]
11
2020-07-13T20:43:43.000Z
2021-05-18T23:52:27.000Z
lib/realbook.ex
ityonemo/realbook
cc506144492b9344b540181a63ba35b6f5943c9c
[ "MIT" ]
50
2020-07-13T02:20:14.000Z
2020-08-17T16:45:17.000Z
lib/realbook.ex
ityonemo/realbook
cc506144492b9344b540181a63ba35b6f5943c9c
[ "MIT" ]
1
2021-03-11T17:02:21.000Z
2021-03-11T17:02:21.000Z
defmodule Realbook do @moduledoc """ ## Connecting to remote servers Realbook provides be default two connection APIs, one of which (`:local`) can be used to provision locally. The other (`:ssh`) can be used to provision a remote host. In order to use the `SSH` api, generally, you must have passwordless...
27.815303
108
0.628344
5a23bfa6ec500478cd01279331bfadfbaac95d1e
289
exs
Elixir
exercises/parallel-letter-frequency/frequency.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/parallel-letter-frequency/frequency.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/parallel-letter-frequency/frequency.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule Frequency do @doc """ Count letter frequency in parallel. Returns a map of characters to frequencies. The number of worker processes to use can be set with 'workers'. """ @spec frequency([String.t], pos_integer) :: map def frequency(texts, workers) do end end
20.642857
66
0.709343
5a23d02c5b65f8e29010678d82714bc30a0180bf
20
ex
Elixir
lib/bn.ex
ayrat555/bn
68e1504e4e1524ffbc4a6277829e8ada7108cb9a
[ "MIT" ]
1
2018-10-27T20:33:36.000Z
2018-10-27T20:33:36.000Z
lib/bn.ex
ayrat555/bn
68e1504e4e1524ffbc4a6277829e8ada7108cb9a
[ "MIT" ]
2
2022-02-28T13:20:14.000Z
2022-03-28T13:23:29.000Z
lib/bn.ex
ayrat555/bn
68e1504e4e1524ffbc4a6277829e8ada7108cb9a
[ "MIT" ]
1
2019-05-02T02:29:37.000Z
2019-05-02T02:29:37.000Z
defmodule BN do end
6.666667
15
0.8
5a23e94ae2a8e215af75e7ae50ce560d45ea7c80
11,216
ex
Elixir
lib/iex/lib/iex/evaluator.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/iex/lib/iex/evaluator.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/iex/lib/iex/evaluator.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Evaluator do @moduledoc false @doc """ Eval loop for an IEx session. Its responsibilities include: * loading of .iex files * evaluating code * trapping exceptions in the code being evaluated * keeping expression history """ def init(command, server, leader, opts) do ref = ...
29.43832
95
0.637571
5a23fdaaa53161af3f3a62fd238321b292f61b5f
7,508
ex
Elixir
lib/phoenix/code_reloader/server.ex
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
7
2021-01-31T04:51:08.000Z
2022-01-09T06:59:28.000Z
lib/phoenix/code_reloader/server.ex
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
2
2022-02-19T07:30:25.000Z
2022-02-27T14:12:26.000Z
lib/phoenix/code_reloader/server.ex
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
2
2021-02-06T08:40:23.000Z
2021-03-20T16:35:47.000Z
defmodule Phoenix.CodeReloader.Server do @moduledoc false use GenServer require Logger alias Phoenix.CodeReloader.Proxy def start_link(_) do GenServer.start_link(__MODULE__, false, name: __MODULE__) end def check_symlinks do GenServer.call(__MODULE__, :check_symlinks, :infinity) end def re...
25.364865
92
0.617208
5a2449b2ad898927e5ad06e1262c65b22342007e
2,495
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/database.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/database.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/database.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...
36.15942
159
0.697796
5a244baad3098f14a10af5c2c18d3ac0f724fed8
1,389
ex
Elixir
lib/saxy/emitter.ex
jotakami/saxy
9f9b372b0fb93ee8fbbad527298e8a7a2fef6660
[ "MIT" ]
217
2018-02-17T17:43:33.000Z
2022-03-20T13:53:33.000Z
lib/saxy/emitter.ex
jotakami/saxy
9f9b372b0fb93ee8fbbad527298e8a7a2fef6660
[ "MIT" ]
49
2018-05-02T05:11:08.000Z
2022-03-16T13:30:17.000Z
lib/saxy/emitter.ex
jotakami/saxy
9f9b372b0fb93ee8fbbad527298e8a7a2fef6660
[ "MIT" ]
28
2018-04-21T23:13:40.000Z
2022-03-03T22:47:12.000Z
defmodule Saxy.Emitter do @moduledoc false alias Saxy.State def emit(event_type, data, state, on_halt) do case emit(event_type, data, state) do {:ok, state} -> {:cont, state} {:stop, state} -> {:ok, state} {:halt, state} -> {:halt, state, on_halt} {:error, exception} -> {:error, exce...
30.866667
90
0.650108
5a246cd885e24dd538306c960465d662e13c93b1
1,679
ex
Elixir
lib/flamelex/gui/components/menu_bar/sub_menu/sub_menu.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
10
2021-03-02T20:05:13.000Z
2022-03-14T21:10:39.000Z
lib/flamelex/gui/components/menu_bar/sub_menu/sub_menu.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
2
2021-12-14T18:29:44.000Z
2021-12-23T20:38:27.000Z
lib/flamelex/gui/components/menu_bar/sub_menu/sub_menu.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
2
2021-12-05T20:41:26.000Z
2021-12-26T01:46:42.000Z
defmodule Flamelex.GUI.Component.MenuBar.SubMenu do use Flamelex.GUI.ComponentBehaviour def render(graph, %{frame: %Frame{pin: pin, size: {width, :flex} = size} = frame} = args) do Logger.debug "#{__MODULE__} rendering..." # height = frame.dimensions.height #NOTE lmao this is :flex he...
33.58
120
0.553306
5a248c21fa466d82099298e892c04f910843ebb4
5,419
ex
Elixir
lib/dynamo/loader.ex
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
415
2015-01-04T15:59:47.000Z
2022-02-02T21:12:46.000Z
lib/dynamo/loader.ex
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
9
2015-02-06T16:09:46.000Z
2018-08-08T06:33:50.000Z
lib/dynamo/loader.ex
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
44
2015-02-01T15:49:50.000Z
2021-11-29T09:08:37.000Z
defmodule Dynamo.Loader do @moduledoc """ This module is responsible for managing code reloading used in development environments in Dynamo. The reloader is enabled per Elixir process, so each process which requires reloading semantics must explicitly enabled it with `Dynamo.Loader.enable`. The `Dynamo....
28.223958
126
0.643477
5a249d91be0846e4e43340d2e3800b89ff791673
5,454
exs
Elixir
test/mint/tunnel_proxy_test.exs
xinz/test_mint
be9bee5fd8c918a29dc40388631d9290b60941e8
[ "Apache-2.0" ]
null
null
null
test/mint/tunnel_proxy_test.exs
xinz/test_mint
be9bee5fd8c918a29dc40388631d9290b60941e8
[ "Apache-2.0" ]
null
null
null
test/mint/tunnel_proxy_test.exs
xinz/test_mint
be9bee5fd8c918a29dc40388631d9290b60941e8
[ "Apache-2.0" ]
null
null
null
defmodule Mint.TunnelProxyTest do use ExUnit.Case, async: true import Mint.HTTP1.TestHelpers alias Mint.HTTP @moduletag :proxy @port_http1_http 8101 @port_http1_https 8102 @port_http2_https 8202 test "200 response - tcp http1" do # Ensure we only match relevant messages send(self(), {:tcp, ...
35.647059
98
0.59791
5a249e9ef54f8cb1cee7e1424de49ee8f50ede26
296
ex
Elixir
lib/osm_points_web/schema/coordinates_type.ex
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
2
2018-01-18T20:38:08.000Z
2020-01-19T17:44:20.000Z
lib/osm_points_web/schema/coordinates_type.ex
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
85
2018-02-26T05:30:01.000Z
2021-07-26T06:22:02.000Z
lib/osm_points_web/schema/coordinates_type.ex
OSM-Browser/points-api
7022d4e61318fc8da507809302a57bf38223207a
[ "MIT" ]
1
2018-10-07T06:57:34.000Z
2018-10-07T06:57:34.000Z
defmodule OsmPointsWeb.Schema.CoordinatesType do use Absinthe.Schema.Notation @desc """ The `Coordinates` scalar type represents a geographical location. """ scalar :coordinates do serialize fn(coordinates) -> coordinates end parse fn(coordinates) -> coordinates end end end
24.666667
67
0.746622
5a24a5bfb508b5d39676f9663bee48927d0379eb
615
ex
Elixir
lib/salty/auth_hmacsha256.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
23
2017-07-04T19:29:43.000Z
2021-02-16T19:44:38.000Z
lib/salty/auth_hmacsha256.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
16
2017-08-13T15:31:25.000Z
2019-06-19T14:44:13.000Z
lib/salty/auth_hmacsha256.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
19
2017-08-10T19:01:49.000Z
2021-06-20T01:34:59.000Z
defmodule Salty.Auth.Hmacsha256 do use Salty.Auth def bytes do C.auth_hmacsha256_BYTES() end def keybytes do C.auth_hmacsha256_KEYBYTES() end def auth(data, key) do C.auth_hmacsha256(data, key) end def verify(mac, data, key) do C.auth_hmacsha256_verify(mac, data, key) end def in...
17.083333
51
0.708943
5a24b80b7c32728fac587a2c6d7adb83a6bd6a86
254
ex
Elixir
lib/wishlist.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
defmodule Wishlist do @moduledoc """ Wishlist keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
23.090909
66
0.751969
5a24c7b036b36d564abf61430c001ba17752eb95
3,307
ex
Elixir
apps/simple_registry/lib/simple_registry.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/simple_registry/lib/simple_registry.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/simple_registry/lib/simple_registry.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
defmodule SimpleRegistry do use GenServer require Logger defmacro __using__(opts) do registry = Keyword.fetch!(opts, :name) quote do def start_link(args \\ []) do config = Keyword.put(args, :name, unquote(registry)) SimpleRegistry.start_link(config) end def child_spec(...
23.621429
96
0.596613
5a24d35d697894e9fcb3a44b5302a8380e598325
652
ex
Elixir
lib/bundlex/helper/erlang_helper.ex
kianmeng/bundlex
c3477977ab1c46bc87c62fbade9b0a7c13c791be
[ "Apache-2.0" ]
40
2018-06-10T20:55:32.000Z
2021-12-12T22:08:25.000Z
lib/bundlex/helper/erlang_helper.ex
kianmeng/bundlex
c3477977ab1c46bc87c62fbade9b0a7c13c791be
[ "Apache-2.0" ]
40
2018-07-18T16:14:52.000Z
2022-03-27T16:33:09.000Z
lib/bundlex/helper/erlang_helper.ex
kianmeng/bundlex
c3477977ab1c46bc87c62fbade9b0a7c13c791be
[ "Apache-2.0" ]
10
2018-08-02T06:07:42.000Z
2022-03-25T15:41:14.000Z
defmodule Bundlex.Helper.ErlangHelper do @moduledoc """ Module containing helper functions that ease determining path to locally- installed Erlang. """ @doc """ Tries to determine paths to includes directory of locally installed Erlang. """ @spec get_includes(Bundlex.platform_t()) :: [String.t()] def...
28.347826
77
0.690184
5a2515e4df3b61d0ba0e69e07decb41b1577172f
2,398
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/transaction_selector.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/spanner/lib/google_api/spanner/v1/model/transaction_selector.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/transaction_selector.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
39.311475
155
0.736447
5a251a4c9f4eef6eea047013bab7d1144fc4802c
1,883
ex
Elixir
clients/logging/lib/google_api/logging/v2/model/request_log.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/request_log.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/request_log.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
26.521127
98
0.675518
5a253b3b3c6ce88eeaf882680e58bb2bf290a20b
3,926
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_consumption_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_consumption_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/transaction_consumption_serializer.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
42.673913
96
0.768976
5a255e69463067b5d600d4a31ce5a0af4a3abb56
454
exs
Elixir
config/rig_inbound_gateway/test.exs
fossabot/reactive-interaction-gateway
8772159ce9f834ffd602dcde4e2d0a0c9038b6e7
[ "Apache-2.0" ]
null
null
null
config/rig_inbound_gateway/test.exs
fossabot/reactive-interaction-gateway
8772159ce9f834ffd602dcde4e2d0a0c9038b6e7
[ "Apache-2.0" ]
null
null
null
config/rig_inbound_gateway/test.exs
fossabot/reactive-interaction-gateway
8772159ce9f834ffd602dcde4e2d0a0c9038b6e7
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :rig, RigInboundGatewayWeb.Endpoint, env: :test, https: [ certfile: "cert/selfsigned.pem", keyfile: "cert/selfsigned_key.des3.pem", password: "test" ] config :rig, RigInboundGateway.Kafka, log_topic: "rig" config :rig, RigInboundGateway.Proxy, config_path_or_json: {:system, ...
26.705882
86
0.72467
5a25876926fe8e593df0d89cfa2c7f6677fbb5c9
849
exs
Elixir
priv/repo/migrations/20200617180000_stored_procedures3.exs
aseigo/kandesk
fd20322e2b1b3f7a23f34002d442ac223afb5167
[ "MIT" ]
158
2020-09-01T13:21:59.000Z
2022-03-31T12:41:03.000Z
priv/repo/migrations/20200617180000_stored_procedures3.exs
aseigo/kandesk
fd20322e2b1b3f7a23f34002d442ac223afb5167
[ "MIT" ]
8
2020-09-01T21:09:05.000Z
2022-01-20T21:46:18.000Z
priv/repo/migrations/20200617180000_stored_procedures3.exs
aseigo/kandesk
fd20322e2b1b3f7a23f34002d442ac223afb5167
[ "MIT" ]
18
2020-09-01T13:23:45.000Z
2022-02-15T09:47:39.000Z
defmodule Kandesk.Repo.Migrations.StoredProcedures3 do use Ecto.Migration def change do execute ~S""" CREATE OR REPLACE FUNCTION sp_move_column_to_board(v_column_id bigint, v_board_id bigint) RETURNS integer AS $$ DECLARE v_count integer; v_old_board_id bigint; v_old_position integer; v_last_pos ...
22.945946
102
0.746761