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
e940d4de9d36e442b37aeae69e775085e110a6fc
7,576
exs
Elixir
test/ash/data_layer/ets_test.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
test/ash/data_layer/ets_test.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
test/ash/data_layer/ets_test.exs
kingshalaby1/ash
1e23199bec1729d66d3fc64de18856525f638549
[ "MIT" ]
null
null
null
defmodule Ash.DataLayer.EtsTest do use ExUnit.Case, async: false alias Ash.DataLayer.Ets, as: EtsDataLayer alias Ash.DataLayer.Ets.Query alias Ash.Query.Operator.{Eq, GreaterThan, In, LessThan} require Ash.Query setup do on_exit(fn -> case ETS.Set.wrap_existing(EtsTestUser) do {:error, ...
29.364341
86
0.592925
e9412230409ebc03bf71028e7a195aa8b03eba20
1,099
ex
Elixir
web/controllers/product_controller.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
web/controllers/product_controller.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
web/controllers/product_controller.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.ProductController do use Nectar.Web, :controller alias Nectar.Query alias Nectar.SearchProduct def index(conn, %{"search_product" => search_params} = _params) do categories = Query.Category.with_associated_products(Repo) products = Repo.all(SearchProduct.search(Nectar.Query.Product.pr...
34.34375
111
0.738854
e941335b6a3a28bc45d3e8de02d0de7e8d5c5765
3,953
ex
Elixir
lib/code_corps/services/user_service.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps/services/user_service.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps/services/user_service.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Services.UserService do @moduledoc """ Handles CRUD operations for users. When operations happen on `CodeCorps.User`, we need to make sure changes are propagated to related records, ex., `CodeCorps.StripePlatformCustomer` and `CodeCorps.StripeConnectCustomer` """ alias CodeCorps.{Rep...
39.929293
131
0.724007
e9413c55d3752d18d57ed0a2369875f1f738642f
1,419
ex
Elixir
lib/surface/components/live_patch.ex
tmepple/surface
200ce7b19fdbe40ae93340deb9eeee2154812cba
[ "MIT" ]
null
null
null
lib/surface/components/live_patch.ex
tmepple/surface
200ce7b19fdbe40ae93340deb9eeee2154812cba
[ "MIT" ]
null
null
null
lib/surface/components/live_patch.ex
tmepple/surface
200ce7b19fdbe40ae93340deb9eeee2154812cba
[ "MIT" ]
null
null
null
defmodule Surface.Components.LivePatch do @moduledoc """ Defines a link that will **patch** the current LiveView. Provides similar capabilities to Phoenix's built-in `live_patch/2` function. When navigating to the current LiveView, `handle_params/3` is immediately invoked to handle the change of params an...
26.773585
86
0.660324
e9416f24f8d50c02063a55412faeb3c1a53bbd3f
298
ex
Elixir
lib/tp_link_hs100/application.ex
jessiahr/tp_link_hs100
b8f568f1986305cf7fed8d25f62de6c491c823ec
[ "Apache-2.0" ]
null
null
null
lib/tp_link_hs100/application.ex
jessiahr/tp_link_hs100
b8f568f1986305cf7fed8d25f62de6c491c823ec
[ "Apache-2.0" ]
null
null
null
lib/tp_link_hs100/application.ex
jessiahr/tp_link_hs100
b8f568f1986305cf7fed8d25f62de6c491c823ec
[ "Apache-2.0" ]
1
2020-02-29T04:57:05.000Z
2020-02-29T04:57:05.000Z
defmodule TpLinkHs100.Application do use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(TpLinkHs100, []), ] opts = [strategy: :one_for_one, name: TpLinkHs100.Supervisor] Supervisor.start_link(children, opts) end end
21.285714
65
0.694631
e94175deeec3d081d4318a266c3d6816c8571b1f
2,122
ex
Elixir
lib/arc/actions/store.ex
dominikknafelj/arc
f8850cafae821d0c00b6f6803c5196e7bbc1e332
[ "Apache-2.0" ]
null
null
null
lib/arc/actions/store.ex
dominikknafelj/arc
f8850cafae821d0c00b6f6803c5196e7bbc1e332
[ "Apache-2.0" ]
null
null
null
lib/arc/actions/store.ex
dominikknafelj/arc
f8850cafae821d0c00b6f6803c5196e7bbc1e332
[ "Apache-2.0" ]
null
null
null
defmodule Arc.Actions.Store do defmacro __using__(_) do quote do def store(args), do: Arc.Actions.Store.store(__MODULE__, args) end end def store(definition, {file, scope}) when is_binary(file) or is_map(file) do put(definition, {Arc.File.new(file), scope}) end def store(definition, filepa...
32.151515
117
0.658812
e941ac43b6c2af6faeff76d32c0367a383a2b0cc
1,827
exs
Elixir
server/apps/boardr/priv/repo/migrations/20191201203338_create_auth.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2021-04-08T17:26:27.000Z
2021-04-08T17:26:27.000Z
server/apps/boardr/priv/repo/migrations/20191201203338_create_auth.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2022-02-13T05:50:46.000Z
2022-02-13T05:50:46.000Z
server/apps/boardr/priv/repo/migrations/20191201203338_create_auth.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
null
null
null
defmodule Boardr.Repo.Migrations.CreateAuth do use Ecto.Migration def change do execute ~s/CREATE EXTENSION IF NOT EXISTS "uuid-ossp"/, ~s/DROP EXTENSION "uuid-ossp"/ execute ~s/CREATE TYPE identity_providers AS ENUM ('google', 'local');/, ~s/DROP TYPE identity_providers;/ create table(:users, primary...
52.2
135
0.723591
e942292ccf5a71dfc903ffc1a589df8a23eb13e2
4,655
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/admin_user_role_live.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_html/lib/mishka_html_web/live/admin_user_role_live.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_html/lib/mishka_html_web/live/admin_user_role_live.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaHtmlWeb.AdminUserRoleLive do use MishkaHtmlWeb, :live_view alias MishkaUser.Acl.Role alias MishkaContent.Cache.ContentDraftManagement use MishkaHtml.Helpers.LiveCRUD, module: MishkaUser.Acl.Role, redirect: __MODULE__, router: Routes @impl true def render(assigns) do Phoenix...
34.481481
177
0.649839
e94244d5eefa31da46d915f2b652f3615e7daa18
663
ex
Elixir
lib/ex_twilio/resources/member.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2017-03-23T08:03:58.000Z
2017-03-23T08:03:58.000Z
lib/ex_twilio/resources/member.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2019-09-02T15:15:39.000Z
2019-09-03T04:28:09.000Z
lib/ex_twilio/resources/member.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2017-03-06T21:15:31.000Z
2017-03-06T21:15:31.000Z
defmodule ExTwilio.Member do @moduledoc """ Represents an Member resource in the Twilio API. - [Twilio docs](https://www.twilio.com/docs/api/rest/members) ## Examples Since Members are members of a Queue in the Twilio API, you must pass a Queue SID into each function in this module. ExTwilio.Membe...
25.5
86
0.686275
e9425074ccf0fa7333f8cbdd82a6df8b51ee8e64
2,031
exs
Elixir
test/yggdrasil/registry_test.exs
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
96
2016-02-11T22:23:30.000Z
2022-03-20T01:57:45.000Z
test/yggdrasil/registry_test.exs
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
8
2016-08-09T13:37:15.000Z
2021-07-19T05:55:21.000Z
test/yggdrasil/registry_test.exs
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
5
2017-10-26T12:11:29.000Z
2021-07-26T10:23:13.000Z
defmodule Yggdrasil.RegistryTest do use ExUnit.Case, async: true alias Yggdrasil.Registry describe "register_transformer/2" do setup do assert :ok = Registry.register_transformer(:foo, Transformer) {:ok, name: :foo, module: Transformer} end test "registers transformer by name", %{name:...
28.605634
75
0.671098
e942a094dde286d57349351a972a490e8871c8f2
1,012
exs
Elixir
mix.exs
cbx/sitemapper
dd9078b9d572aab45ce4be375185b92b456b088f
[ "MIT" ]
null
null
null
mix.exs
cbx/sitemapper
dd9078b9d572aab45ce4be375185b92b456b088f
[ "MIT" ]
null
null
null
mix.exs
cbx/sitemapper
dd9078b9d572aab45ce4be375185b92b456b088f
[ "MIT" ]
null
null
null
defmodule Sitemapper.MixProject do use Mix.Project @version "0.2.0" def project do [ app: :sitemapper, version: @version, elixir: "~> 1.8", deps: deps(), name: "Sitemapper", source_url: "https://github.com/tomtaylor/sitemapper", description: "Stream based XML Sitema...
19.843137
69
0.536561
e942d52e712e88d63b11ba6429fef00766bf6c0e
525
ex
Elixir
test/support/templates/trivial_template.ex
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
test/support/templates/trivial_template.ex
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
test/support/templates/trivial_template.ex
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule Template.Trivial do defmacro __using__(_) do quote do use EctoTestDSL.Variants.Trivial def started(opts \\ []) do opts = Keyword.merge( [api_module: :irrelevant_api_module, format: :raw, examples_module: :default_trivial_examples_modu...
21
63
0.55619
e942de8d55780af11016d668794ecabc3d6f2a21
1,479
ex
Elixir
lib/xema/cast_error.ex
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
lib/xema/cast_error.ex
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
lib/xema/cast_error.ex
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
defmodule Xema.CastError do @moduledoc """ Raised when a cast fails. """ defexception [:message, :path, :to, :value, :key] alias Xema.CastError @type t :: %CastError{} @type error :: %{ to: atom, value: term, key: String.t(), path: [atom | integer | String.t()] ...
27.388889
96
0.621366
e943108df92e80feaef1486c4fae933bf6690658
1,811
exs
Elixir
mix.exs
helapu/gd_push
4bfe17194a898232fe8e8a4d54d4f90934ba4125
[ "MIT" ]
null
null
null
mix.exs
helapu/gd_push
4bfe17194a898232fe8e8a4d54d4f90934ba4125
[ "MIT" ]
null
null
null
mix.exs
helapu/gd_push
4bfe17194a898232fe8e8a4d54d4f90934ba4125
[ "MIT" ]
null
null
null
defmodule GdPush.Mixfile do use Mix.Project def project do [app: :gd_push, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases...
29.209677
78
0.56709
e943414164a8c1f517bfb03dd421dc9c7e357d8d
931
ex
Elixir
lib/myxql/protocol/auth.ex
k-cross/myxql
f2e3c8a0cc51069e6c6680de745164279980751c
[ "Apache-2.0" ]
null
null
null
lib/myxql/protocol/auth.ex
k-cross/myxql
f2e3c8a0cc51069e6c6680de745164279980751c
[ "Apache-2.0" ]
null
null
null
lib/myxql/protocol/auth.ex
k-cross/myxql
f2e3c8a0cc51069e6c6680de745164279980751c
[ "Apache-2.0" ]
null
null
null
defmodule MyXQL.Protocol.Auth do @moduledoc false use Bitwise # https://dev.mysql.com/doc/internals/en/secure-password-authentication.html @spec mysql_native_password(binary(), binary()) :: binary() def mysql_native_password(password, auth_plugin_data) do sha_hash(:sha, password, auth_plugin_data) end...
29.09375
78
0.691729
e943499389492ed62e1891cf3d01c55d3db2c96c
2,774
ex
Elixir
lib/akd/generator/dockerfile.ex
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
lib/akd/generator/dockerfile.ex
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
lib/akd/generator/dockerfile.ex
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
defmodule Akd.Generator.Dockerfile do @moduledoc """ This module handles the generation of Dockerfiles which can be used for the deploy process. This can either directly be called, or called through a mix task, `mix akd.gen.dockerfile`. This class uses EEx and Mix.Generator to fetch file contents from an ...
28.020202
94
0.668349
e9435ad96586df8c067c66347894629c972cef23
505
exs
Elixir
part1/.workshop/exercises/determine_pair/test/test_helper.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
part1/.workshop/exercises/determine_pair/test/test_helper.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
part1/.workshop/exercises/determine_pair/test/test_helper.exs
Tuxified/weert-workshop
abe48af48631acac89a374277b98b981702deed7
[ "Apache-2.0" ]
null
null
null
defmodule Workshop.Exercise.DeterminePairCheck.Helper do def exec(solution_dir) do # Locate and load and perhaps start the users solution. # The following example assumes that the user solution is located # in a file called *exercise.exs*: "pair.exs" |> Path.expand(solution_dir) |> Code.requ...
26.578947
69
0.720792
e94368297e9a82521585464d0db16ee548d17ebf
1,927
exs
Elixir
mix.exs
krodante/questionator
f23f34ccf063b7969b60514aa9af433bb05369d5
[ "MIT" ]
3
2021-08-30T20:22:39.000Z
2022-03-16T10:27:50.000Z
mix.exs
krodante/questionator
f23f34ccf063b7969b60514aa9af433bb05369d5
[ "MIT" ]
null
null
null
mix.exs
krodante/questionator
f23f34ccf063b7969b60514aa9af433bb05369d5
[ "MIT" ]
2
2021-08-18T17:20:46.000Z
2021-09-01T04:15:31.000Z
defmodule Questionator.MixProject do use Mix.Project def project do [ app: :questionator, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: alia...
28.338235
84
0.578101
e9436dc1b341984149c0913d1235662b71f3b979
185
ex
Elixir
lib/exq_ui_web/live/components/job_details_component.ex
neslinesli93/exq_ui
11fe6b75f104cf524757e008a46af541c3cbeb0e
[ "Apache-2.0" ]
null
null
null
lib/exq_ui_web/live/components/job_details_component.ex
neslinesli93/exq_ui
11fe6b75f104cf524757e008a46af541c3cbeb0e
[ "Apache-2.0" ]
null
null
null
lib/exq_ui_web/live/components/job_details_component.ex
neslinesli93/exq_ui
11fe6b75f104cf524757e008a46af541c3cbeb0e
[ "Apache-2.0" ]
null
null
null
defmodule ExqUIWeb.JobDetailsComponent do @moduledoc false use ExqUIWeb, :live_component @impl true def update(assigns, socket) do {:ok, assign(socket, assigns)} end end
18.5
41
0.735135
e943a83ce2f2b43959b2c90eff51c8827200d4a2
1,806
ex
Elixir
sous_chef/lib/sous_chef_web.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/lib/sous_chef_web.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
sous_chef/lib/sous_chef_web.ex
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
defmodule SousChefWeb 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 SousChefWeb, :controller use SousChefWeb, :view The definitions below will be executed for every view, controlle...
22.860759
76
0.685493
e943b9c9ff0b796da4c72f53b1f54ec7855f6560
85
ex
Elixir
lib/ex_appointment_web/views/user_registration_view.ex
amalgamated-tools/ex_appointment
095237f0bd6746afd8ec93d92540158aa1934075
[ "MIT" ]
1
2021-03-28T17:41:37.000Z
2021-03-28T17:41:37.000Z
lib/ex_appointment_web/views/user_registration_view.ex
amalgamated-tools/ex_appointment
095237f0bd6746afd8ec93d92540158aa1934075
[ "MIT" ]
null
null
null
lib/ex_appointment_web/views/user_registration_view.ex
amalgamated-tools/ex_appointment
095237f0bd6746afd8ec93d92540158aa1934075
[ "MIT" ]
null
null
null
defmodule ExAppointmentWeb.UserRegistrationView do use ExAppointmentWeb, :view end
21.25
50
0.858824
e943bb10a6b6275e7e661c73fb758c03c5c733ad
3,232
ex
Elixir
apps/banking_account_manager/lib/banking_account_manager/bancary_registries.ex
danielscosta/banking_account_manager
8acec8f4fa774c85401e67b4aa39c97a0ca9d149
[ "MIT" ]
null
null
null
apps/banking_account_manager/lib/banking_account_manager/bancary_registries.ex
danielscosta/banking_account_manager
8acec8f4fa774c85401e67b4aa39c97a0ca9d149
[ "MIT" ]
null
null
null
apps/banking_account_manager/lib/banking_account_manager/bancary_registries.ex
danielscosta/banking_account_manager
8acec8f4fa774c85401e67b4aa39c97a0ca9d149
[ "MIT" ]
null
null
null
defmodule BankingAccountManager.BancaryRegistries do @moduledoc """ The BancaryRegistries context. """ import Ecto.Query, warn: false alias BankingAccountManager.Repo alias BankingAccountManager.Encryption alias BankingAccountManager.BancaryRegistries.Account alias BankingAccountManager.BancaryRegist...
22.921986
94
0.613861
e943bc55f6dddfd6fdab637104c7e3f6a3973360
1,674
exs
Elixir
test/lib/code_corps/github/event/issues/issues_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps/github/event/issues/issues_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps/github/event/issues/issues_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.GitHub.Event.IssuesTest do @moduledoc false use CodeCorps.DbAccessCase import CodeCorps.GitHub.TestHelpers alias CodeCorps.{ GithubIssue, GitHub.Event.Issues, Repo, Task, User } @implemented_actions ~w(opened closed edited reopened) @implemented_actions |> Enum...
29.892857
103
0.646356
e943deaafe3e3377cfc4edf94f0b09c98fe0f7bb
1,772
ex
Elixir
lib/mechanize/form/text_input.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
25
2020-06-26T02:21:35.000Z
2022-03-05T18:51:46.000Z
lib/mechanize/form/text_input.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
29
2019-07-02T21:50:06.000Z
2020-05-28T18:34:01.000Z
lib/mechanize/form/text_input.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
4
2020-06-24T02:11:47.000Z
2022-03-06T00:50:59.000Z
defmodule Mechanize.Form.TextInput do @moduledoc false alias Mechanize.Query alias Mechanize.Page.{Element, Elementable} alias Mechanize.Form.ParameterizableField alias Mechanize.Query.BadQueryError @derive [ParameterizableField, Elementable] @enforce_keys [:element] defstruct element: nil, name: nil,...
23.626667
96
0.628104
e944282bea45120bbc213eb3da4faab92d585ffa
1,929
ex
Elixir
lib/elixir_dropbox.ex
raksonibs/elixir_dropbox
98d113d7676ca9c0b41502e0ff1f84486c8671a9
[ "MIT" ]
null
null
null
lib/elixir_dropbox.ex
raksonibs/elixir_dropbox
98d113d7676ca9c0b41502e0ff1f84486c8671a9
[ "MIT" ]
null
null
null
lib/elixir_dropbox.ex
raksonibs/elixir_dropbox
98d113d7676ca9c0b41502e0ff1f84486c8671a9
[ "MIT" ]
null
null
null
defmodule ElixirDropbox do @moduledoc """ ElixirDropbox is a wrapper for Dropbox API V2 """ use HTTPoison.Base @type response :: {any} @base_url Application.get_env(:elixir_dropbox, :base_url) def post(client, url, body \\ "") do headers = json_headers() post_request(client, "#{@base_url}#{url}...
30.140625
99
0.686884
e9443b9aa8c657fdf3a0c88cd215c2d1e74ec961
76
exs
Elixir
test/support/apps/phx1_6/test/phx1_6_web/views/page_view_test.exs
infinitered/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
203
2016-10-28T00:37:15.000Z
2019-01-21T16:33:42.000Z
test/support/apps/phx1_6/test/phx1_6_web/views/page_view_test.exs
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
61
2016-11-01T02:29:22.000Z
2019-01-01T22:35:21.000Z
test/support/apps/phx1_6/test/phx1_6_web/views/page_view_test.exs
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
37
2016-11-01T18:13:55.000Z
2019-01-07T00:35:48.000Z
defmodule Phx16Web.PageViewTest do use Phx16Web.ConnCase, async: true end
19
36
0.815789
e944aa1c5b2215a262d92bbbf556e363c1b5be31
8,438
ex
Elixir
clients/my_business_lodging/lib/google_api/my_business_lodging/v1/model/living_area_eating.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/my_business_lodging/lib/google_api/my_business_lodging/v1/model/living_area_eating.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/my_business_lodging/lib/google_api/my_business_lodging/v1/model/living_area_eating.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
60.271429
382
0.681086
e944e2769c36b52bf7d5304ef510aa3d1fb5980c
1,575
ex
Elixir
bubblit/lib/bubblit/bubble_rooms/room.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
null
null
null
bubblit/lib/bubblit/bubble_rooms/room.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
84
2020-04-03T08:06:06.000Z
2022-02-13T12:45:15.000Z
bubblit/lib/bubblit/bubble_rooms/room.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
1
2020-09-25T12:59:02.000Z
2020-09-25T12:59:02.000Z
defmodule Bubblit.BubbleRooms.Room do use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, only: [:id, :title, :host_user_id, :config_value, :is_private, :is_anonymous, :users]} schema "rooms" do field :title, :string field :host_user_id, :integer field :config_value, :string ...
23.161765
98
0.646349
e944f4559eb11721f4490b5db87caae5b9a5f756
90
exs
Elixir
test/phoenix_hello_web/views/page_view_test.exs
haojiwu/phoenix_hello
aee3d40a018e73b24767de1be5692a9cd9cf2017
[ "MIT" ]
6
2019-06-11T22:16:47.000Z
2021-05-19T10:32:58.000Z
test/phoenix_hello_web/views/page_view_test.exs
haojiwu/phoenix_hello
aee3d40a018e73b24767de1be5692a9cd9cf2017
[ "MIT" ]
2
2021-08-22T19:41:42.000Z
2021-12-16T15:26:14.000Z
test/phoenix_hello_web/views/page_view_test.exs
haojiwu/phoenix_hello
aee3d40a018e73b24767de1be5692a9cd9cf2017
[ "MIT" ]
16
2019-06-12T19:39:41.000Z
2022-03-26T07:34:44.000Z
defmodule PhoenixHelloWeb.PageViewTest do use PhoenixHelloWeb.ConnCase, async: true end
22.5
43
0.844444
e94503f4ffa7f0e74d678ca418b526e3032422af
41
exs
Elixir
lessons/otp-concurrency/simple_bank/test/test_helper.exs
headwayio/homework
41b02d5068af5a1379ebc93c7c0795e3381f6a76
[ "Apache-2.0" ]
69
2018-04-29T20:46:33.000Z
2022-03-11T04:12:40.000Z
lessons/otp-concurrency/simple_bank/test/test_helper.exs
headwayio/homework
41b02d5068af5a1379ebc93c7c0795e3381f6a76
[ "Apache-2.0" ]
5
2018-04-30T05:35:58.000Z
2020-08-24T19:13:36.000Z
lessons/otp-concurrency/simple_bank/test/test_helper.exs
headwayio/homework
41b02d5068af5a1379ebc93c7c0795e3381f6a76
[ "Apache-2.0" ]
18
2018-05-03T02:46:16.000Z
2021-05-01T17:46:55.000Z
ExUnit.configure seed: 0 ExUnit.start()
13.666667
25
0.756098
e9450b15f11c2116decb88fc49cbf8ec37e0c28e
10,040
ex
Elixir
lib/super_issuer_web/controllers/app_controller.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
2
2021-02-12T09:21:56.000Z
2021-02-22T08:52:20.000Z
lib/super_issuer_web/controllers/app_controller.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
4
2021-02-22T08:53:43.000Z
2021-06-09T09:24:46.000Z
lib/super_issuer_web/controllers/app_controller.ex
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
null
null
null
defmodule SuperIssuerWeb.AppController do alias SuperIssuer.{WeIdentity, AppCenter, App, Chain, Contract, ContractTemplate, WeidInteractor} alias SuperIssuer.Contracts.{EvidenceHandler, Erc721Handler} alias SuperIssuer.{Account, Repo} use SuperIssuerWeb, :controller @weid_rest_service_path Application.get_en...
23.791469
99
0.60757
e9450da038aa9d0f419635dd07a956fa7f03a3a6
287
ex
Elixir
lib/fusion/utilities/netstat.ex
elpddev/fusion
7106ba4922786e1d79310074e46e6996d0c2f4aa
[ "MIT" ]
2
2020-02-02T20:22:28.000Z
2020-12-10T18:25:03.000Z
lib/fusion/utilities/netstat.ex
elpddev/fusion
7106ba4922786e1d79310074e46e6996d0c2f4aa
[ "MIT" ]
null
null
null
lib/fusion/utilities/netstat.ex
elpddev/fusion
7106ba4922786e1d79310074e46e6996d0c2f4aa
[ "MIT" ]
null
null
null
defmodule Fusion.Utilities.Netstat do @moduledoc """ Wrapper around netstat cli utility. """ @doc """ ## Examples iex> cmd_netstat_port_grep(3005) "netstat -tulpn | grep :3005" """ def cmd_netstat_port_grep(port) do "netstat -tulpn | grep :#{port}" end end
16.882353
37
0.651568
e94517881bd6666e2ca6c3a4fdecdddc2462f9ca
6,075
ex
Elixir
config/authorization/config.ex
lblod/app-inzendingen-databank
3e222d9416d2fe0abaa6d274cc7d13b040059347
[ "MIT" ]
null
null
null
config/authorization/config.ex
lblod/app-inzendingen-databank
3e222d9416d2fe0abaa6d274cc7d13b040059347
[ "MIT" ]
4
2021-02-10T08:19:33.000Z
2022-01-25T10:24:42.000Z
config/authorization/config.ex
lblod/app-inzendingen-databank
3e222d9416d2fe0abaa6d274cc7d13b040059347
[ "MIT" ]
1
2021-04-22T11:16:45.000Z
2021-04-22T11:16:45.000Z
alias Acl.Accessibility.Always, as: AlwaysAccessible alias Acl.Accessibility.ByQuery, as: AccessByQuery alias Acl.GraphSpec.Constraint.Resource, as: ResourceConstraint alias Acl.GraphSpec, as: GraphSpec alias Acl.GroupSpec, as: GroupSpec alias Acl.GroupSpec.GraphCleanup, as: GraphCleanup defmodule Acl.UserGroups.Confi...
49.795082
153
0.53465
e94533c579e1355da30e3db3f87dbe2b4117c8c6
186
exs
Elixir
priv/repo/migrations/20210816040543_add_extra_to_tags.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20210816040543_add_extra_to_tags.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20210816040543_add_extra_to_tags.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.AddExtraToTags do use Ecto.Migration def change do alter table(:article_tags) do add(:extra, {:array, :string}) end end end
18.6
58
0.709677
e9455ae2a930081648f2a6f70ece5ea3ef1de63a
10,737
exs
Elixir
test/plug/ssl_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
1,218
2017-07-14T15:13:32.000Z
2022-03-30T16:42:42.000Z
test/plug/ssl_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
502
2017-07-19T15:36:44.000Z
2022-03-31T06:47:36.000Z
test/plug/ssl_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
376
2017-07-17T15:47:55.000Z
2022-03-23T19:24:30.000Z
defmodule Plug.SSLTest do use ExUnit.Case, async: true use Plug.Test describe "configure" do import Plug.SSL, only: [configure: 1] test "sets secure_renegotiate and reuse_sessions to true by default" do assert {:ok, opts} = configure(key: "abcdef", cert: "ghijkl") assert opts[:reuse_sessions...
33.977848
97
0.592251
e9457d7b7735a08e495a70f5d4ee4580e9a76c3a
219
ex
Elixir
lib/src/twitter.ex
micheleriva/PrimeBot
c28b13a758d20e8d727a325cac29631479bd2ea8
[ "Unlicense" ]
8
2019-05-23T19:44:50.000Z
2021-05-30T08:25:01.000Z
lib/src/twitter.ex
micheleriva/PrimeBot
c28b13a758d20e8d727a325cac29631479bd2ea8
[ "Unlicense" ]
null
null
null
lib/src/twitter.ex
micheleriva/PrimeBot
c28b13a758d20e8d727a325cac29631479bd2ea8
[ "Unlicense" ]
null
null
null
defmodule Primetweetbot.Twitter do alias Primetweetbot.Day def send_tweet(day, prime) do tweetDay = Day.suffix(day) status = "#{tweetDay} prime number is #{prime}" ExTwitter.update(status) end end
19.909091
53
0.703196
e9459bccb0406d3055f6c1307ab0d4088efd68f2
894
ex
Elixir
lib/lib_ex/config.ex
reset/libex-config
ebfd57c182172e6192cc31eedf4ba8b0882c3d36
[ "Apache-2.0" ]
2
2015-06-21T03:01:30.000Z
2018-06-05T02:51:42.000Z
lib/lib_ex/config.ex
reset/libex-config
ebfd57c182172e6192cc31eedf4ba8b0882c3d36
[ "Apache-2.0" ]
1
2016-06-28T21:30:04.000Z
2016-06-28T21:30:04.000Z
lib/lib_ex/config.ex
reset/libex-config
ebfd57c182172e6192cc31eedf4ba8b0882c3d36
[ "Apache-2.0" ]
null
null
null
defmodule LibEx.Config do defmacro __using__(opts) do application = Keyword.fetch!(opts, :application) quote do import unquote(__MODULE__) @doc false defp get_env(key) do case :application.get_env(unquote(application), key) do {:ok, value} -> value _...
24.162162
83
0.564877
e945ce49740f09ca20c91578277d26655cb8ad3f
269
exs
Elixir
priv/exp/update.exs
ysaito8015/nano_planner
1819b4091e490a6478d6ca91adb39c6e54930e94
[ "MIT" ]
null
null
null
priv/exp/update.exs
ysaito8015/nano_planner
1819b4091e490a6478d6ca91adb39c6e54930e94
[ "MIT" ]
null
null
null
priv/exp/update.exs
ysaito8015/nano_planner
1819b4091e490a6478d6ca91adb39c6e54930e94
[ "MIT" ]
null
null
null
alias NanoPlanner.Schedule.PlanItem alias NanoPlanner.Repo item = PlanItem |> Ecto.Query.first(:id) |> Repo.one() params = %{ "name" => "Foo", "description" => "Bar" } fields = [:name, :description] cs = Ecto.Changeset.cast(item, params, fields) Repo.update!(cs)
20.692308
54
0.67658
e945d2417745cf2e97a9917382723f04fb87d65d
552
ex
Elixir
lib/edgedb/protocol/messages/server/authentication/authentication_sasl_continue.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/messages/server/authentication/authentication_sasl_continue.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/messages/server/authentication/authentication_sasl_continue.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Messages.Server.Authentication.AuthenticationSASLContinue do use EdgeDB.Protocol.Message alias EdgeDB.Protocol.Datatypes defmessage( name: :authentication_sasl_continue, server: true, mtype: 0x52, fields: [ auth_status: 0xB, sasl_data: Datatypes.Bytes.t() ...
25.090909
86
0.721014
e94620c0710b6599639903ec16ae4774f308685c
17,118
exs
Elixir
test/single_product/accounts_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
test/single_product/accounts_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
test/single_product/accounts_test.exs
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
defmodule SingleProduct.AccountsTest do use SingleProduct.DataCase alias SingleProduct.Accounts import SingleProduct.AccountsFixtures alias SingleProduct.Accounts.{User, UserToken} describe "get_user_by_email/1" do test "does not return the user if the email does not exist" do refute Accounts.get_...
33.69685
97
0.659832
e946396c4b64a918951b5d6b18d16fb787113cc1
1,513
exs
Elixir
test/luhn_test.exs
my-flow/luhn_ex
dffb053cba89860286c21517a7f0d64200012d6d
[ "MIT" ]
2
2015-12-29T21:22:19.000Z
2017-11-02T01:59:45.000Z
test/luhn_test.exs
my-flow/luhn_ex
dffb053cba89860286c21517a7f0d64200012d6d
[ "MIT" ]
null
null
null
test/luhn_test.exs
my-flow/luhn_ex
dffb053cba89860286c21517a7f0d64200012d6d
[ "MIT" ]
null
null
null
defmodule LuhnTest do use ExUnit.Case test "American Express" do assert Luhn.valid? "378282246310005" assert Luhn.valid? "371449635398431" end test "American Express Corporate" do assert Luhn.valid? "378734493671000" end test "Australian BankCard" do assert Luhn.valid? "56105910810182...
22.58209
64
0.697951
e946920d5d9ce74a71b2fe5d20acf9e9d135192a
1,945
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_delete_processor_version_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_delete_processor_version_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1_delete_processor_version_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.732143
188
0.769152
e946b8aa442636df0c24bc43512b7204c8a9f1de
900
exs
Elixir
messages/elixir/mix.exs
BearerPipelineTest/common
45e542bdb0720274a77bf01efe72975c5658f869
[ "MIT" ]
null
null
null
messages/elixir/mix.exs
BearerPipelineTest/common
45e542bdb0720274a77bf01efe72975c5658f869
[ "MIT" ]
1
2022-03-07T13:37:08.000Z
2022-03-07T13:37:08.000Z
messages/elixir/mix.exs
BearerPipelineTest/common
45e542bdb0720274a77bf01efe72975c5658f869
[ "MIT" ]
null
null
null
defmodule CucumberMessages.MixProject do @moduledoc false use Mix.Project @vsn "15.0.0" @github "https://github.com/cucumber/common/tree/main/messages/elixir" @name "CucumberMessages" def project do [ app: :cucumber_messages, version: @vsn, name: @name, description: description...
18.75
72
0.573333
e9472038d26e51881c18fd4473b65d65699e2a13
2,094
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1/model/google_cloud_datacatalog_v1_business_context.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1/model/google_cloud_datacatalog_v1_business_context.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1/model/google_cloud_datacatalog_v1_business_context.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.509434
185
0.766953
e9472cd8e5e8677b039776b128be6c902b083a94
593
ex
Elixir
lib/adyen_checkout_ex/model/external_platform.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
1
2021-05-30T20:45:10.000Z
2021-05-30T20:45:10.000Z
lib/adyen_checkout_ex/model/external_platform.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
lib/adyen_checkout_ex/model/external_platform.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdyenCheckoutEx.Model.ExternalPlatform do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"integrator", :"name", :"ve...
19.766667
91
0.659359
e94732a4b634d0b1c1e427248ba1f7178a1e4974
493
ex
Elixir
lib/karroake_web/views/error_view.ex
ontanj/karroake
b3346707df9d2378a06ee3bb7d218d0962fe7d86
[ "MIT" ]
null
null
null
lib/karroake_web/views/error_view.ex
ontanj/karroake
b3346707df9d2378a06ee3bb7d218d0962fe7d86
[ "MIT" ]
1
2021-05-10T10:36:59.000Z
2021-05-10T10:36:59.000Z
lib/karroake_web/views/error_view.ex
ontanj/karroake
b3346707df9d2378a06ee3bb7d218d0962fe7d86
[ "MIT" ]
null
null
null
defmodule KarroakeWeb.ErrorView do use KarroakeWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template na...
29
61
0.736308
e94746a8c02070e5cfced4253d71f6e690d19a77
3,650
ex
Elixir
lib/flop/filter.ex
jokawachi-hg/flop
0d8132e5da9f6b08913f16dba26a5c20a9b49db7
[ "MIT" ]
null
null
null
lib/flop/filter.ex
jokawachi-hg/flop
0d8132e5da9f6b08913f16dba26a5c20a9b49db7
[ "MIT" ]
null
null
null
lib/flop/filter.ex
jokawachi-hg/flop
0d8132e5da9f6b08913f16dba26a5c20a9b49db7
[ "MIT" ]
null
null
null
defmodule Flop.Filter do @moduledoc """ Defines a filter. """ use Ecto.Schema import Ecto.Changeset import Flop.Schema alias Ecto.Changeset alias Flop.CustomTypes.Any alias Flop.CustomTypes.ExistingAtom @typedoc """ Represents filter query parameters. ### Fields - `field`: The field the ...
29.674797
98
0.44411
e947be9f064a1329779ec5a57e2193dc9650a139
1,020
ex
Elixir
lib/pca_predict/address_validation.ex
sauce-consultants/pca_predict
e49fb08d6dcbf013342b2c796e8ca0fa14f3a01d
[ "CC0-1.0" ]
null
null
null
lib/pca_predict/address_validation.ex
sauce-consultants/pca_predict
e49fb08d6dcbf013342b2c796e8ca0fa14f3a01d
[ "CC0-1.0" ]
null
null
null
lib/pca_predict/address_validation.ex
sauce-consultants/pca_predict
e49fb08d6dcbf013342b2c796e8ca0fa14f3a01d
[ "CC0-1.0" ]
null
null
null
defmodule PCAPredict.AddressValidation do @moduledoc """ Capture Interactive Find (v1.00) Is used to lookup locations and places """ @spec lookup(String.t, Map.t) :: {:ok, List.t} | {:ok, Map.t} | {:error, List.t} def lookup(text, options \\ %{additional_lookup: false}) do PCAPredict.Client.request("/...
32.903226
85
0.647059
e947d4c4780091d8c0899655fe9e2ee79624b18d
8,880
exs
Elixir
spec/routemaster/publisher_spec.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
2
2017-09-20T08:33:20.000Z
2018-08-17T11:57:09.000Z
spec/routemaster/publisher_spec.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
5
2017-09-25T21:48:48.000Z
2018-02-26T09:06:01.000Z
spec/routemaster/publisher_spec.exs
deliveroo/routemaster-client-ex
059ee64a54bc65b731bce1f8474dc8d907eb05d0
[ "MIT" ]
null
null
null
defmodule Routemaster.PublisherSpec do use ESpec import Routemaster.TestUtils alias Routemaster.Publisher alias Plug.Conn let :frozen_time, do: now() before do allow Routemaster.Utils |> to(accept :now, fn() -> frozen_time() end) bypass = Bypass.open(port: 4567) {:shared, bypass: bypass} en...
30.307167
99
0.553604
e94800369e69a0f652ff0b31973e595ea50d6f0e
23,588
ex
Elixir
lib/elixir/lib/keyword.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
defmodule Keyword do @moduledoc """ A set of functions for working with keywords. A keyword is a list of two-element tuples where the first element of the tuple is an atom and the second element can be any value. A keyword may have duplicated keys so it is not strictly a key-value store. However most of...
26.503371
98
0.5825
e948059576e1ff8498640bb6031197a5d2607feb
161
exs
Elixir
priv/repo/migrations/20190922170811_add_winner_team.exs
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20190922170811_add_winner_team.exs
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
2
2021-03-09T18:24:01.000Z
2021-05-10T15:20:30.000Z
priv/repo/migrations/20190922170811_add_winner_team.exs
trestini/copadelrey-api
d042ae5535c2a8860cb34e59078b2af15aec4c09
[ "Apache-2.0" ]
null
null
null
defmodule Cup.Repo.Migrations.AddWinnerTeam do use Ecto.Migration def change do alter table "game" do add :winner_team, :string end end end
16.1
46
0.701863
e94818145fbfa075deb1d8986965d1686ccc5de7
14,073
exs
Elixir
test/mine_test.exs
sgilson/mine
aa07682525ff72545dc2df91a68c23c1d5c937ef
[ "MIT" ]
1
2019-11-15T22:59:57.000Z
2019-11-15T22:59:57.000Z
test/mine_test.exs
sgilson/mine
aa07682525ff72545dc2df91a68c23c1d5c937ef
[ "MIT" ]
null
null
null
test/mine_test.exs
sgilson/mine
aa07682525ff72545dc2df91a68c23c1d5c937ef
[ "MIT" ]
null
null
null
defmodule MineTest do use ExUnit.Case, async: true import CompilerAssertions doctest Mine describe "basic user" do defmodule BasicUser do use Mine defstruct [:email, :name, pass: "*"] default_view(:api) defview :api do field(:email, as: "contact", default: "?") ig...
20.973174
90
0.561145
e94834b39edc430bea943d801b0a1dfd38979685
2,297
ex
Elixir
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/placement_targeting.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/placement_targeting.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/placement_targeting.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...
42.537037
234
0.773618
e94836c7c069b6da3c8d4fe2ce36a820d812782f
239
ex
Elixir
web/controllers/ehlo_controller.ex
eqdw/warg
c60669a492bfecb829381357864a61ddb0438174
[ "MIT" ]
null
null
null
web/controllers/ehlo_controller.ex
eqdw/warg
c60669a492bfecb829381357864a61ddb0438174
[ "MIT" ]
null
null
null
web/controllers/ehlo_controller.ex
eqdw/warg
c60669a492bfecb829381357864a61ddb0438174
[ "MIT" ]
null
null
null
defmodule Warg.EhloController do use Warg.Web, :controller def index(conn, _params) do render conn, "index.html" end def show(conn, %{"messenger" => messenger}) do render conn, "show.html", messenger: messenger end end
19.916667
50
0.690377
e94867b65b2dfac9170fe3636f527ef10fe943e3
104,660
ex
Elixir
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/api/customers.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/api/customers.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/api/customers.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.863278
237
0.615058
e94867f4f99433b64af9d758c49e4b46c132e2f2
7,806
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/api/post_user_infos.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/api/post_user_infos.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/blogger/lib/google_api/blogger/v3/api/post_user_infos.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...
39.424242
196
0.590828
e9489bf1978aff1905095a1e711b622b06a8db71
1,131
exs
Elixir
config/config.exs
nroi/morbo
4744be3bfc0c894993ad293562a08870555b8da1
[ "Apache-2.0" ]
null
null
null
config/config.exs
nroi/morbo
4744be3bfc0c894993ad293562a08870555b8da1
[ "Apache-2.0" ]
null
null
null
config/config.exs
nroi/morbo
4744be3bfc0c894993ad293562a08870555b8da1
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.483871
73
0.751547
e948a09a1ccb783a3ab41131e8b83cc1c3b258f2
1,322
exs
Elixir
test/pipelines/validate_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
1
2020-10-02T18:33:23.000Z
2020-10-02T18:33:23.000Z
test/pipelines/validate_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
test/pipelines/validate_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
defmodule Pipelines.ValidateTest do use ExUnit.Case, async: false @valid %{ title: "title", author: "data" } @invalid_missing %{ title: "title" } @invalid_nil %{ title: "title", author: nil } test "Returns item unchanged when has required fields" do Application.put_env(:crawly,...
26.44
72
0.653555
e948d1c68180a5fbeb12238d4988f2d7aed79457
5,154
ex
Elixir
lib/sealax_web/controllers/registration_controller.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
null
null
null
lib/sealax_web/controllers/registration_controller.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
9
2021-08-19T01:09:55.000Z
2022-03-08T01:18:45.000Z
lib/sealax_web/controllers/registration_controller.ex
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
null
null
null
defmodule SealaxWeb.RegistrationController do @moduledoc """ Controller for all registration actions, including user verification """ use SealaxWeb, :controller alias Sealax.Accounts.User alias Sealax.Accounts.Account action_fallback SealaxWeb.FallbackController @env Mix.env() defp env, do: @env ...
31.048193
294
0.605743
e948e78f83251b9992ae8ab9477f1b6d4caacf38
1,772
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_crop_hints_annotation.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_crop_hints_annotation.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_crop_hints_annotation.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # 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...
35.44
98
0.771445
e948fee56bd4a62a0c64b71d7fbc4c851c5b853c
1,429
ex
Elixir
test/support/data_case.ex
hazen/from_the_ashes
05b4468b6ce5ff0225ff2fed5e27d6055bf3d852
[ "MIT" ]
null
null
null
test/support/data_case.ex
hazen/from_the_ashes
05b4468b6ce5ff0225ff2fed5e27d6055bf3d852
[ "MIT" ]
1
2021-03-09T22:08:11.000Z
2021-03-09T22:08:11.000Z
test/support/data_case.ex
hazen/from_the_ashes
05b4468b6ce5ff0225ff2fed5e27d6055bf3d852
[ "MIT" ]
null
null
null
defmodule FromTheAshes.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...
26.462963
77
0.685094
e9491931719c18f9f2e919fce94318ced597b939
23,024
exs
Elixir
lib/elixir/test/elixir/macro_test.exs
Joe-noh/elixir
34bf464bc1a035b6015366463e04f1bf9d2065f3
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/macro_test.exs
Joe-noh/elixir
34bf464bc1a035b6015366463e04f1bf9d2065f3
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/macro_test.exs
Joe-noh/elixir
34bf464bc1a035b6015366463e04f1bf9d2065f3
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule Macro.ExternalTest do defmacro external do line = 18 file = __ENV__.file ^line = __CALLER__.line ^file = __CALLER__.file ^line = Macro.Env.location(__CALLER__)[:line] ^file = Macro.Env.location(__CALLER__)[:file] end defmacro oror(le...
33.958702
124
0.563803
e949295919ca740762e4291f4ee8cb163ac06a43
2,392
ex
Elixir
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/UnqualifiedNoArgumentsCatchStabBlock.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/unmatched_expression_parsing_test_case/UnqualifiedNoArgumentsCatchStabBlock.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/unmatched_expression_parsing_test_case/UnqualifiedNoArgumentsCatchStabBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
identifier do catch expression end identifier do catch; expression; end identifier do catch expression end identifier do catch expression end identifier do catch -> end identifier do catch -> ; end identifier do catch -> end identifier do catch -> end identifier do catch -> expression end identifier do af...
17.085714
57
0.658863
e94944d04aaf9aa5629ccc57f360bf77b642f422
6,524
ex
Elixir
lib/tesla/middleware/logger.ex
mmcc/tesla
75384470030fb9b44df0e8930371ae8ed081d388
[ "MIT" ]
null
null
null
lib/tesla/middleware/logger.ex
mmcc/tesla
75384470030fb9b44df0e8930371ae8ed081d388
[ "MIT" ]
1
2019-10-25T19:27:33.000Z
2019-10-25T19:27:33.000Z
lib/tesla/middleware/logger.ex
mmcc/tesla
75384470030fb9b44df0e8930371ae8ed081d388
[ "MIT" ]
1
2020-04-04T03:19:50.000Z
2020-04-04T03:19:50.000Z
defmodule Tesla.Middleware.Logger.Formatter do @moduledoc false # Heavily based on Elixir's Logger.Formatter # https://github.com/elixir-lang/elixir/blob/v1.6.4/lib/logger/lib/logger/formatter.ex @default_format "$method $url -> $status ($time ms)" @keys ~w(method url status time) @type format :: [atom |...
26.306452
104
0.631361
e9494bac0bcc96a4df94f80575bba3f342ab07da
762
ex
Elixir
lib/club_backend_web/controllers/fallback_controller.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
null
null
null
lib/club_backend_web/controllers/fallback_controller.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
6
2020-07-31T23:02:34.000Z
2021-02-26T21:10:10.000Z
lib/club_backend_web/controllers/fallback_controller.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
2
2020-08-23T23:04:00.000Z
2020-10-03T03:18:11.000Z
defmodule ClubBackendWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use ClubBackendWeb, :controller # This clause handles errors returned by Ecto's insert/update/delete. def ...
30.48
78
0.715223
e949a1ba89accf6a80239cc1864459fcd9d4f73c
105
exs
Elixir
test/stable_marriage_test.exs
bikefighter/stablemarriage
cf28a372f80a43e3a12a3c5d0545c7b3d0dcd9a8
[ "MIT" ]
1
2015-09-14T23:48:46.000Z
2015-09-14T23:48:46.000Z
test/stable_marriage_test.exs
bikefighter/stablemarriage
cf28a372f80a43e3a12a3c5d0545c7b3d0dcd9a8
[ "MIT" ]
null
null
null
test/stable_marriage_test.exs
bikefighter/stablemarriage
cf28a372f80a43e3a12a3c5d0545c7b3d0dcd9a8
[ "MIT" ]
null
null
null
defmodule StableMarriageTest do use ExUnit.Case test "the truth" do assert 1 + 1 == 2 end end
13.125
31
0.67619
e949a8f2d6c1a95898048f8c140c0255110c5ae2
843
exs
Elixir
test/html/view_test.exs
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
1
2020-05-06T15:16:11.000Z
2020-05-06T15:16:11.000Z
test/html/view_test.exs
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
null
null
null
test/html/view_test.exs
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
2
2019-03-15T08:12:53.000Z
2019-06-11T11:34:04.000Z
defmodule ExCoveralls.Html.ViewTest do use ExUnit.Case alias ExCoveralls.Html.View @path "lib/templates/html/htmlcov/" @template "coverage.html.eex" test "#template_path" do path = View.PathHelper.template_path(@template) assert(path == Path.expand(@template, @path)) end test "#partial" do ...
23.416667
51
0.606168
e949e5472dab6bda392a6a35579a82df82508a1f
5,946
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_crypto_replace_ffx_fpe_config.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_crypto_replace_ffx_fpe_config.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_crypto_replace_ffx_fpe_config.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # 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...
92.90625
1,452
0.778338
e949f9effd18f4d73d730bef2368d714da6bef63
270
exs
Elixir
priv/repo/migrations/20170414223227_add_comments_table.exs
thatbraxguy/knowledgeshare
e17b2904641f805cc231aa18f45f05103e1fb9ef
[ "MIT" ]
null
null
null
priv/repo/migrations/20170414223227_add_comments_table.exs
thatbraxguy/knowledgeshare
e17b2904641f805cc231aa18f45f05103e1fb9ef
[ "MIT" ]
null
null
null
priv/repo/migrations/20170414223227_add_comments_table.exs
thatbraxguy/knowledgeshare
e17b2904641f805cc231aa18f45f05103e1fb9ef
[ "MIT" ]
null
null
null
defmodule Hivemind.Repo.Migrations.AddCommentsTable do use Ecto.Migration def change do create table(:comments) do add :content, :string add :user_id, references(:users) add :topic_id, references(:topics) timestamps() end end end
19.285714
54
0.681481
e94a05746cc067ab8ef2a63133611de00491119f
858
exs
Elixir
test/couchdb_connector/url_helper_test.exs
mikalv/couchdb_connector
dc72ff60e3c1406fea61e4d349a44b51336ecc33
[ "Apache-2.0" ]
null
null
null
test/couchdb_connector/url_helper_test.exs
mikalv/couchdb_connector
dc72ff60e3c1406fea61e4d349a44b51336ecc33
[ "Apache-2.0" ]
null
null
null
test/couchdb_connector/url_helper_test.exs
mikalv/couchdb_connector
dc72ff60e3c1406fea61e4d349a44b51336ecc33
[ "Apache-2.0" ]
null
null
null
defmodule Couchdb.Connector.UrlHelperTest do use ExUnit.Case, async: true doctest Couchdb.Connector.UrlHelper alias Couchdb.Connector.UrlHelper test "query_path/3 percent-encodes reserved characters" do url = "http://localhost/view_name" key = "!*'();:@&=+$,/?#[]" atom = :ok assert UrlHelper....
33
106
0.670163
e94a1b75f8e943627a6bc3a0a26513cf5396726f
2,644
ex
Elixir
lib/vintage_net_wizard/web/endpoint.ex
newellista/vintage_net_wizard
3b7c027148b00e2855f7c1485326ae8f6d373919
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wizard/web/endpoint.ex
newellista/vintage_net_wizard
3b7c027148b00e2855f7c1485326ae8f6d373919
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wizard/web/endpoint.ex
newellista/vintage_net_wizard
3b7c027148b00e2855f7c1485326ae8f6d373919
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetWizard.Web.Endpoint do @moduledoc """ Supervisor for the Web part of the VintageNet Wizard. """ alias VintageNetWizard.{Backend, Callbacks, Web.Router} use DynamicSupervisor @type opt :: {:ssl, :ssl.tls_server_option()} @doc false def start_link(args) do DynamicSupervisor.start...
27.831579
98
0.646747
e94a2d4aa459d9a709cdcd09549e2eb736caa13c
503
exs
Elixir
config/test.travis.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
config/test.travis.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
config/test.travis.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :squadster, Squadster.Repo, username: "postgres", password: "", database: EnvHelper.safe_env("DB_BASE_NAME", "squadster") <> "_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required, # you can enab...
26.473684
71
0.729622
e94a9f7283963730aeb3fda404e9228bda1eb15f
656
exs
Elixir
priv/test_repo/migrations/20210401061307_install_2_extensions.exs.exs
frankdugan3/ash_postgres
ae173f0229ffe1dea821e8a73c2c6b8c858b39f6
[ "MIT" ]
13
2020-09-04T22:31:23.000Z
2022-02-06T13:24:23.000Z
priv/test_repo/migrations/20210401061307_install_2_extensions.exs.exs
frankdugan3/ash_postgres
ae173f0229ffe1dea821e8a73c2c6b8c858b39f6
[ "MIT" ]
57
2019-12-04T15:23:41.000Z
2022-02-14T22:55:16.000Z
priv/test_repo/migrations/20210401061307_install_2_extensions.exs.exs
frankdugan3/ash_postgres
ae173f0229ffe1dea821e8a73c2c6b8c858b39f6
[ "MIT" ]
15
2020-10-22T13:26:25.000Z
2021-07-26T23:49:42.000Z
defmodule AshPostgres.TestRepo.Migrations.Install2Extensions do @moduledoc """ Installs any extensions that are mentioned in the repo's `installed_extensions/0` callback This file was autogenerated with `mix ash_postgres.generate_migrations` """ use Ecto.Migration def up do execute("CREATE EXTENSION ...
31.238095
92
0.733232
e94ab481af0f291ae2bf7f243f0084f451e63067
1,784
exs
Elixir
mix.exs
tyrchen/ex_bitcoin
f399a3d2bd27fac0a4ba5e91379d5492ab94292a
[ "MIT" ]
1
2018-03-22T15:24:37.000Z
2018-03-22T15:24:37.000Z
mix.exs
tyrchen/ex_bitcoin
f399a3d2bd27fac0a4ba5e91379d5492ab94292a
[ "MIT" ]
26
2018-07-22T01:10:59.000Z
2019-10-20T08:43:10.000Z
mix.exs
tyrchen/ex_bitcoin
f399a3d2bd27fac0a4ba5e91379d5492ab94292a
[ "MIT" ]
null
null
null
defmodule ExBitcoin.MixProject do use Mix.Project @version File.cwd!() |> Path.join("version") |> File.read!() |> String.trim() @elixir_version File.cwd!() |> Path.join(".elixir_version") |> File.read!() |> String.trim() def project do [ app: :ex_bitcoin, version: @version, elixir: @elix...
24.777778
94
0.546525
e94ac746b56d43468ddf2d8cda455ce2b255f81c
2,248
ex
Elixir
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict_words.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict_words.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict_words.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
39.438596
93
0.748665
e94afbdd755c21dc2f8344398f717947164d1352
1,324
ex
Elixir
lib/frame/goaway.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
35
2016-10-17T09:52:46.000Z
2021-01-04T16:27:46.000Z
lib/frame/goaway.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
26
2016-12-06T17:21:41.000Z
2021-11-26T18:49:05.000Z
lib/frame/goaway.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
13
2016-12-06T16:03:30.000Z
2021-12-16T10:28:03.000Z
defmodule Kadabra.Frame.Goaway do @moduledoc false defstruct last_stream_id: nil, error_code: nil, debug_data: <<>> alias Kadabra.{Error, Frame} @type t :: %__MODULE__{ debug_data: bitstring, error_code: <<_::32>>, last_stream_id: non_neg_integer } @doc ~S""" Initia...
24.518519
78
0.630665
e94b01d03108902ac58600a16fe741c2b75f2fd9
1,148
ex
Elixir
lib/polimorfismo_web/router.ex
jobsonita/rocketseat-yt-cd-111-elixir-protocols
d5e683ff53fa764dd4b8adae6f75ef1abd010d97
[ "MIT" ]
null
null
null
lib/polimorfismo_web/router.ex
jobsonita/rocketseat-yt-cd-111-elixir-protocols
d5e683ff53fa764dd4b8adae6f75ef1abd010d97
[ "MIT" ]
null
null
null
lib/polimorfismo_web/router.ex
jobsonita/rocketseat-yt-cd-111-elixir-protocols
d5e683ff53fa764dd4b8adae6f75ef1abd010d97
[ "MIT" ]
null
null
null
defmodule PolimorfismoWeb.Router do use PolimorfismoWeb, :router pipeline :api do plug :accepts, ["json"] end scope "/api", PolimorfismoWeb do pipe_through :api end # Enables LiveDashboard only for development # # If you want to use the LiveDashboard in production, you should put # it behin...
28.7
70
0.713415
e94b0f9d7105f9a95bd7f34268988c63440b69cc
14,090
exs
Elixir
test/ecto/changeset/many_to_many_test.exs
dvic/ecto
6efcc52799d9573651b27aac68a699a6dc30d661
[ "Apache-2.0" ]
3,931
2016-06-16T11:38:48.000Z
2022-03-31T21:24:19.000Z
test/ecto/changeset/many_to_many_test.exs
dvic/ecto
6efcc52799d9573651b27aac68a699a6dc30d661
[ "Apache-2.0" ]
2,343
2016-06-16T11:18:09.000Z
2022-03-27T23:44:43.000Z
test/ecto/changeset/many_to_many_test.exs
dvic/ecto
6efcc52799d9573651b27aac68a699a6dc30d661
[ "Apache-2.0" ]
1,300
2016-06-17T13:56:59.000Z
2022-03-31T01:46:20.000Z
defmodule Ecto.Changeset.ManyToManyTest do use ExUnit.Case, async: true alias Ecto.Changeset alias Ecto.Changeset.Relation alias __MODULE__.Author alias __MODULE__.Post defmodule Post do use Ecto.Schema schema "posts" do field :title, :string end def changeset(schema, params) do ...
36.692708
137
0.638538
e94b23cb490be6286d89b0c9ffb800a23fb40108
178
exs
Elixir
.formatter.exs
insprac/elixir_kucoin
1bfea2f014f4151e99998189b171ece7d896ea5e
[ "MIT" ]
null
null
null
.formatter.exs
insprac/elixir_kucoin
1bfea2f014f4151e99998189b171ece7d896ea5e
[ "MIT" ]
null
null
null
.formatter.exs
insprac/elixir_kucoin
1bfea2f014f4151e99998189b171ece7d896ea5e
[ "MIT" ]
null
null
null
[ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], locals_without_parens: [ plug: 1, plug: 2, field: 2, field: 3 ], line_length: 80 ]
16.181818
70
0.533708
e94b3d048506d1af94252e7b0cb8a69310be12cb
497
ex
Elixir
lib/samly_howto_web/views/error_view.ex
handnot2/samly_howto
6ae346bf184b802f89ee116afb3dfc64ebe7e769
[ "MIT" ]
10
2018-07-25T12:32:32.000Z
2022-01-31T17:36:01.000Z
lib/samly_howto_web/views/error_view.ex
handnot2/samly_howto
6ae346bf184b802f89ee116afb3dfc64ebe7e769
[ "MIT" ]
null
null
null
lib/samly_howto_web/views/error_view.ex
handnot2/samly_howto
6ae346bf184b802f89ee116afb3dfc64ebe7e769
[ "MIT" ]
4
2017-10-25T23:35:59.000Z
2022-03-17T18:29:41.000Z
defmodule SamlyHowtoWeb.ErrorView do use SamlyHowtoWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the templat...
29.235294
61
0.738431
e94b64c25678ce9481f12d587a0c311607127c04
537
ex
Elixir
lib/temple/parsers/match.ex
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
null
null
null
lib/temple/parsers/match.ex
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
null
null
null
lib/temple/parsers/match.ex
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
null
null
null
defmodule Temple.Parser.Match do @moduledoc false @behaviour Temple.Parser alias Temple.Parser alias Temple.Buffer @impl Parser def applicable?({name, _, _}) do name in [:=] end def applicable?(_), do: false @impl Parser def run({_, _, args} = macro, buffer) do import Temple.Parser.Priva...
17.9
64
0.620112
e94b762680e84f37cc8870d640595da6b0f42213
564
exs
Elixir
config/test.exs
jmarca/hello_hipster_stack
1391b8c9ba16f80d753a5694ed7c0c9d9b494bb4
[ "Apache-2.0" ]
null
null
null
config/test.exs
jmarca/hello_hipster_stack
1391b8c9ba16f80d753a5694ed7c0c9d9b494bb4
[ "Apache-2.0" ]
null
null
null
config/test.exs
jmarca/hello_hipster_stack
1391b8c9ba16f80d753a5694ed7c0c9d9b494bb4
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :hello_hipster_stack, HelloHipsterStackWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database confi...
26.857143
59
0.757092
e94bbce5507696993982167ed03ae9d03f1da1b2
1,179
ex
Elixir
rumbl/lib/rumbl/endpoint.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
rumbl/lib/rumbl/endpoint.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
rumbl/lib/rumbl/endpoint.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule Rumbl.Endpoint do use Phoenix.Endpoint, otp_app: :rumbl socket "/socket", Rumbl.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, at:...
27.418605
69
0.71162
e94bdc2f8cd7be2219ca49d28c6eb71ce941c61d
777
exs
Elixir
config/test.exs
TraceyOnim/SbomPoc-sFractal
bac895a7eda61c47c00b8bbe682a6fda4dd7255c
[ "MIT" ]
2
2020-10-04T12:41:58.000Z
2021-03-11T20:51:26.000Z
config/test.exs
TraceyOnim/SbomPoc-sFractal
bac895a7eda61c47c00b8bbe682a6fda4dd7255c
[ "MIT" ]
113
2020-07-25T02:29:33.000Z
2022-03-01T01:07:23.000Z
config/test.exs
TraceyOnim/SbomPoc-sFractal
bac895a7eda61c47c00b8bbe682a6fda4dd7255c
[ "MIT" ]
5
2020-07-10T09:57:58.000Z
2021-03-11T20:51:29.000Z
use Mix.Config # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. c...
29.884615
74
0.756757
e94be4bdc078ee8e49ef0ba302424076651ecc62
61
ex
Elixir
lib/gears/repo.ex
lucianosousa/gears
a59a93dd28ccd82e6cd1e3db809535a4dc10d007
[ "MIT" ]
null
null
null
lib/gears/repo.ex
lucianosousa/gears
a59a93dd28ccd82e6cd1e3db809535a4dc10d007
[ "MIT" ]
null
null
null
lib/gears/repo.ex
lucianosousa/gears
a59a93dd28ccd82e6cd1e3db809535a4dc10d007
[ "MIT" ]
null
null
null
defmodule Gears.Repo do use Ecto.Repo, otp_app: :gears end
15.25
32
0.754098
e94bebace2207d942d236f92cc036bdb8cedded4
2,659
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.887097
165
0.736367
e94bf2cd3f10ea17869ba41220a273608cd91ae6
756
ex
Elixir
lib/yggdrasil/adapter/elixir.ex
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
96
2016-02-11T22:23:30.000Z
2022-03-20T01:57:45.000Z
lib/yggdrasil/adapter/elixir.ex
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
8
2016-08-09T13:37:15.000Z
2021-07-19T05:55:21.000Z
lib/yggdrasil/adapter/elixir.ex
valiot/yggdrasil
7395591f4eba813f508c8cb25676b0d317fefaa0
[ "MIT" ]
5
2017-10-26T12:11:29.000Z
2021-07-26T10:23:13.000Z
defmodule Yggdrasil.Adapter.Elixir do @moduledoc """ Yggdrasil adapter for Elixir. The name of the channel can be any arbitrary term e.g: First we subscribe to a channel: ``` iex> channel = [name: "elixir_channel"] iex> Yggdrasil.subscribe(channel) :ok iex> flush() {:Y_CONNECTED, ...} ``` Onc...
18.439024
76
0.648148
e94c26b96da4a47fea25f956ab2678fd7e6c9e3c
1,440
exs
Elixir
mix.exs
facto/scrivener_ecto
93bcd7009e542ec52e67a2f6636df87be3583239
[ "MIT" ]
null
null
null
mix.exs
facto/scrivener_ecto
93bcd7009e542ec52e67a2f6636df87be3583239
[ "MIT" ]
null
null
null
mix.exs
facto/scrivener_ecto
93bcd7009e542ec52e67a2f6636df87be3583239
[ "MIT" ]
null
null
null
defmodule Scrivener.Ecto.Mixfile do use Mix.Project def project do [ app: :scrivener_ecto, version: "1.3.0", elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env), package: package(), description: "Paginate your Ecto queries with Scrivener", deps: deps(), alias...
20.869565
85
0.509722
e94c606c2bf56c7599974e7b00a81b6568aa0786
538
ex
Elixir
lib/observables/take.ex
macoene/observables
6e43ab9b7ea2afa60160a13ef5c37eb20dc597b7
[ "MIT" ]
4
2018-04-16T20:43:37.000Z
2019-07-18T21:50:49.000Z
lib/observables/take.ex
macoene/observables
6e43ab9b7ea2afa60160a13ef5c37eb20dc597b7
[ "MIT" ]
null
null
null
lib/observables/take.ex
macoene/observables
6e43ab9b7ea2afa60160a13ef5c37eb20dc597b7
[ "MIT" ]
1
2021-03-18T18:37:11.000Z
2021-03-18T18:37:11.000Z
defmodule Observables.Operator.Take do @moduledoc false use Observables.GenObservable def init([n]) do Logger.debug("Take: #{inspect(self())}") # We don't keep state in merge. {:ok, %{:n => n}} end def handle_event(v, state = %{:n => n}) do case n do n when n <= 0 -> {:done, state} ...
22.416667
76
0.561338
e94c6d8d1126612b4a155a05d8e20a0a56cc8892
1,364
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_train_flow_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_train_flow_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_train_flow_request.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
31
98
0.777126
e94c98f65d6d907c3f21561d8514eb2bc5504d26
535
ex
Elixir
lib/pusher/request_signer.ex
thiamsantos/pusher
6aa70ba6d2c859a24fe0d5db235f2a196193c4f3
[ "MIT" ]
19
2015-02-12T02:22:16.000Z
2022-01-08T18:28:54.000Z
lib/pusher/request_signer.ex
thiamsantos/pusher
6aa70ba6d2c859a24fe0d5db235f2a196193c4f3
[ "MIT" ]
14
2015-06-07T08:59:51.000Z
2021-10-08T07:25:27.000Z
lib/pusher/request_signer.ex
thiamsantos/pusher
6aa70ba6d2c859a24fe0d5db235f2a196193c4f3
[ "MIT" ]
17
2015-06-06T05:24:09.000Z
2021-10-05T19:10:42.000Z
defmodule Pusher.RequestSigner do alias Signaturex.CryptoHelper def sign_query_string(qs_vals, body, app_key, secret, method, path) do qs_vals |> add_body_md5(body) |> sign(app_key, secret, method, path) end def add_body_md5(qs_vals, ""), do: qs_vals def add_body_md5(qs_vals, body) do Map.p...
25.47619
72
0.715888
e94ca8405ade53ae2b5fb49c2a527a23215c5ec4
3,237
ex
Elixir
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/leaderboard_configuration.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/leaderboard_configuration.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/leaderboard_configuration.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.082353
252
0.72907
e94cc1f90e61d600727753a3489af600a1614883
1,407
ex
Elixir
lib/progress_bar/spinner.ex
kelvinst/progress_bar
f1deb260b3e19cb56e70908e2220b241bb5c9800
[ "MIT" ]
5
2017-09-04T19:43:28.000Z
2021-06-30T05:28:13.000Z
lib/progress_bar/spinner.ex
kelvinst/progress_bar
f1deb260b3e19cb56e70908e2220b241bb5c9800
[ "MIT" ]
null
null
null
lib/progress_bar/spinner.ex
kelvinst/progress_bar
f1deb260b3e19cb56e70908e2220b241bb5c9800
[ "MIT" ]
1
2018-05-29T17:46:19.000Z
2018-05-29T17:46:19.000Z
defmodule ProgressBar.Spinner do alias ProgressBar.Utils @default_format [ frames: :strokes, spinner_color: [], text: "Loading…", done: "Loaded.", interval: 100, ] @themes [ strokes: ~w[/ - \\ |], braille: ~w[⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏], # Stolen from WebTranslateIt bars: ~w[▁ ▂ ▃...
23.45
86
0.61194
e94cdd865511c6cdbef86047cf8a1f798b18aaf0
101
exs
Elixir
.formatter.exs
lud/ark
672ee65baf06e6c323a8580f24f699f1495a886e
[ "MIT" ]
null
null
null
.formatter.exs
lud/ark
672ee65baf06e6c323a8580f24f699f1495a886e
[ "MIT" ]
null
null
null
.formatter.exs
lud/ark
672ee65baf06e6c323a8580f24f699f1495a886e
[ "MIT" ]
null
null
null
# Used by "mix format" [ inputs: ["*.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 90 ]
16.833333
55
0.544554
e94cf713aa39e57b5adc60371b8f2a7b2619a227
9,030
ex
Elixir
lib/aws/generated/iot_events.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/iot_events.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/iot_events.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.IoTEvents do @moduledoc """ AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use AWS IoT E...
30.40404
120
0.645626
e94cfe381ea52991f34d6a3b443cad260d399ed5
1,068
ex
Elixir
lib/phoenix_trello/board_channel/monitor.ex
everydayhoodie/phoenix-trello-notes
ca535a69c610f5edbfca85e34b06a679422d4ba2
[ "MIT" ]
null
null
null
lib/phoenix_trello/board_channel/monitor.ex
everydayhoodie/phoenix-trello-notes
ca535a69c610f5edbfca85e34b06a679422d4ba2
[ "MIT" ]
null
null
null
lib/phoenix_trello/board_channel/monitor.ex
everydayhoodie/phoenix-trello-notes
ca535a69c610f5edbfca85e34b06a679422d4ba2
[ "MIT" ]
null
null
null
defmodule PhoenixTrello.BoardChannel.Monitor do use GenServer # Client API def start_link(initial_state) do GenServer.start_link(__MODULE__, initial_state, name: __MODULE__) end def member_joined(board, member) do GenServer.call(__MODULE__, {:member_joined, board, member}) end def member_left(...
23.217391
69
0.639513
e94d4cb24bd56387c89aa7b16aaabeb27e7fad80
69
exs
Elixir
test/test_helper.exs
lambda2/matrice-site
5ce6f9d8973f590ee431dab3c020aa24eed20cc4
[ "MIT" ]
null
null
null
test/test_helper.exs
lambda2/matrice-site
5ce6f9d8973f590ee431dab3c020aa24eed20cc4
[ "MIT" ]
null
null
null
test/test_helper.exs
lambda2/matrice-site
5ce6f9d8973f590ee431dab3c020aa24eed20cc4
[ "MIT" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(Matrice.Repo, :manual)
13.8
53
0.782609
e94d84930b5bde0e49bec0867964f6b1faaf31e3
9,755
ex
Elixir
lib/cocktail/schedule.ex
Yobilat/cocktail
2b12aa0d8cecb0ef58e08d9dba6d9646f8a4e419
[ "MIT" ]
null
null
null
lib/cocktail/schedule.ex
Yobilat/cocktail
2b12aa0d8cecb0ef58e08d9dba6d9646f8a4e419
[ "MIT" ]
null
null
null
lib/cocktail/schedule.ex
Yobilat/cocktail
2b12aa0d8cecb0ef58e08d9dba6d9646f8a4e419
[ "MIT" ]
null
null
null
defmodule Cocktail.Schedule do @moduledoc """ Struct used to represent a schedule of recurring events. Use the `new/2` function to create a new schedule, and the `add_recurrence_rule/2` function to add rules to describe how to repeat. Currently, Cocktail supports the following types of repeat rules: * ...
38.864542
135
0.669195
e94db063b7c50fbdc6ccf6f9472b83e4713a7acc
7,808
ex
Elixir
lib/logger/lib/logger/handler.ex
vhf/elixir
8e20b02a712e656cfffba617b07536aa503ab7e9
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/handler.ex
vhf/elixir
8e20b02a712e656cfffba617b07536aa503ab7e9
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/handler.ex
vhf/elixir
8e20b02a712e656cfffba617b07536aa503ab7e9
[ "Apache-2.0" ]
null
null
null
defmodule Logger.Handler do @moduledoc false alias Logger.Counter @internal_keys [:counter] ## Conversions # TODO: Remove this mapping once we remove old Logger Backends (v2.0) defp erlang_level_to_elixir_level(:none), do: :error defp erlang_level_to_elixir_level(:emergency), do: :error defp erlang_l...
29.688213
96
0.640113
e94ddbe87694983985ae4506ba84431b1cdbe50c
65
ex
Elixir
lib/drab_spike_web/views/page_view.ex
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "MIT" ]
null
null
null
lib/drab_spike_web/views/page_view.ex
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "MIT" ]
8
2019-10-31T11:27:57.000Z
2022-02-09T23:00:28.000Z
lib/drab_spike_web/views/page_view.ex
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "MIT" ]
null
null
null
defmodule DrabSpikeWeb.PageView do use DrabSpikeWeb, :view end
16.25
34
0.815385