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
65ba481f29641ee3be44332d5a005f830fbba8e3
16,340
ex
Elixir
lib/sanbase_web/graphql/middlewares/access_control/access_control.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
1
2022-01-30T19:51:39.000Z
2022-01-30T19:51:39.000Z
lib/sanbase_web/graphql/middlewares/access_control/access_control.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
lib/sanbase_web/graphql/middlewares/access_control/access_control.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.Middlewares.AccessControl do @moduledoc """ Middleware that is used to restrict the API access in a certain timeframe. Authentication is done in two major ways: - If the authentication is `Basic` no checks except some sanity checks are done - In case of any other authenticati...
35.599129
311
0.688862
65ba5f91b458eef647a17399fe253c75917484f2
5,766
ex
Elixir
apps/artemis_web/lib/artemis_web/views/job_view.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_web/lib/artemis_web/views/job_view.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/lib/artemis_web/views/job_view.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule ArtemisWeb.JobView do use ArtemisWeb, :view # Bulk Actions def available_bulk_actions() do [ %BulkAction{ action: &Artemis.DeleteJob.call_many(&1, &2), authorize: &has?(&1, "jobs:delete"), extra_fields: &render_extra_fields_delete_warning(&1), key: "delete", ...
27.070423
76
0.561915
65ba9266e3d9a658e16375139bf3e887821f28b3
1,117
exs
Elixir
config/config.exs
lerencao/raft.ex
f8fc21874354073d1831f9ad0cc933128392935b
[ "MIT" ]
5
2016-05-23T16:28:53.000Z
2016-08-17T09:56:00.000Z
config/config.exs
lerencao/raft.ex
f8fc21874354073d1831f9ad0cc933128392935b
[ "MIT" ]
5
2016-05-27T03:01:11.000Z
2016-07-06T15:22:19.000Z
config/config.exs
lerencao/raft.ex
f8fc21874354073d1831f9ad0cc933128392935b
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.751119
65ba9661d508ed8cb01df95f133937928ee25c09
1,152
ex
Elixir
lib/ex_geo/downloader.ex
Frameio/ex_geo
eae6edb3d908395a5e36f67b38b33651bf04fded
[ "MIT" ]
7
2018-08-12T21:02:57.000Z
2020-04-09T21:49:27.000Z
lib/ex_geo/downloader.ex
Frameio/ex_geo
eae6edb3d908395a5e36f67b38b33651bf04fded
[ "MIT" ]
null
null
null
lib/ex_geo/downloader.ex
Frameio/ex_geo
eae6edb3d908395a5e36f67b38b33651bf04fded
[ "MIT" ]
null
null
null
defmodule ExGeo.Downloader do defmodule DownloadError do defexception message: "could not download" end @doc """ Downloads the contents of `url` with up to 3 retries """ @spec download!(binary) :: binary def download!(url, retry \\ 1) def download!(_, retry) when retry >= 3, do: raise(DownloadError...
24.510638
96
0.654514
65babfe1ae18fed76885ecd08298aa570eb3745b
787
ex
Elixir
lib/ecto_hooks/repo.ex
vereis/ecto_hooks
c85111bca78c925cc809ddefd4f1320d798649fc
[ "MIT" ]
6
2020-12-16T09:14:14.000Z
2022-02-02T19:15:22.000Z
lib/ecto_hooks/repo.ex
vereis/ecto_hooks
c85111bca78c925cc809ddefd4f1320d798649fc
[ "MIT" ]
null
null
null
lib/ecto_hooks/repo.ex
vereis/ecto_hooks
c85111bca78c925cc809ddefd4f1320d798649fc
[ "MIT" ]
1
2021-07-13T23:14:23.000Z
2021-07-13T23:14:23.000Z
defmodule EctoHooks.Repo do @moduledoc """ This module provides an alternate interface for initializing `EctoHooks`. Ordinarily, one would need to add the `use EctoHooks` statement to an `Ecto.Repo` implementation module in one's application. This module instead simply replaces the `use Ecto.Repo, ...` stat...
24.59375
84
0.709022
65bac6d5fbd268201484190e3bc1cec9c1b0fde5
5,177
exs
Elixir
test/avrolixr/codec_test.exs
avvo/avrolixr
e5f5dd663597d2ab062ec9fea2d1da38897a4c42
[ "MIT" ]
3
2016-09-13T07:14:59.000Z
2017-07-20T07:47:48.000Z
test/avrolixr/codec_test.exs
avvo/avrolixr
e5f5dd663597d2ab062ec9fea2d1da38897a4c42
[ "MIT" ]
3
2016-10-12T21:24:11.000Z
2017-06-29T08:35:55.000Z
test/avrolixr/codec_test.exs
avvo/avrolixr
e5f5dd663597d2ab062ec9fea2d1da38897a4c42
[ "MIT" ]
5
2017-02-25T18:06:21.000Z
2018-10-24T14:28:50.000Z
defmodule Avrolixr.CodecTest do @moduledoc false use ExUnit.Case, async: true alias Avrolixr.Codec alias Avrolixr.Codec.Json describe "encode/decode round trip," do setup do schema_path = "test/data/TestEvent.avsc" {:ok, schema_json} = File.read(schema_path) type = 'TestNamespace.TestE...
33.4
90
0.612517
65bb29d3d21d4e0ef36d524b3f92b3056da4541b
2,498
ex
Elixir
lib/surface_bulma/button.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
lib/surface_bulma/button.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
lib/surface_bulma/button.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
defmodule SurfaceBulma.Button do @moduledoc """ The classic **button**, in different colors, sizes, and states """ use Surface.Component @doc """ The button type, defaults to "button", mainly used for instances like modal X to close style buttons where you don't want to set a type at all. Setting to nil...
24.98
103
0.635308
65bb353b872e76648b3b99cd31ee5d513690c001
714
ex
Elixir
lib/cli.ex
inkuzmin/aea
0a1ed9c6c0fe74b96a6a1c71974b1f50497f6657
[ "BSD-3-Clause" ]
null
null
null
lib/cli.ex
inkuzmin/aea
0a1ed9c6c0fe74b96a6a1c71974b1f50497f6657
[ "BSD-3-Clause" ]
null
null
null
lib/cli.ex
inkuzmin/aea
0a1ed9c6c0fe74b96a6a1c71974b1f50497f6657
[ "BSD-3-Clause" ]
null
null
null
defmodule AEA.CLI do def main(args \\ []) do args |> parse_args |> response |> IO.puts end def parse_args(args) do {opts, genes, _} = args |> OptionParser.parse(switches: [method: :string, ], aliases: [m: :method]) {opts, genes} end def respo...
20.4
60
0.52521
65bb4edc9566e6eadad52fab5c384a0a58452e81
2,701
exs
Elixir
test/components/form/date_input_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
1
2021-06-04T20:46:52.000Z
2021-06-04T20:46:52.000Z
test/components/form/date_input_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
test/components/form/date_input_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.DateInputTest do use Surface.ConnCase, async: true alias Surface.Components.Form.DateInput test "empty input" do html = render_surface do ~F""" <DateInput form="user" field="birthday" /> """ end assert html =~ """ <input i...
21.95935
93
0.55535
65bb7bbc2defb17e44691aeff7bbfd2a4ca3ada5
634
ex
Elixir
lib/absinthe/federation.ex
trbngr/absinthe_federation
7ebe9c26c16ea088e42914df9797acd04e9d9894
[ "MIT" ]
null
null
null
lib/absinthe/federation.ex
trbngr/absinthe_federation
7ebe9c26c16ea088e42914df9797acd04e9d9894
[ "MIT" ]
null
null
null
lib/absinthe/federation.ex
trbngr/absinthe_federation
7ebe9c26c16ea088e42914df9797acd04e9d9894
[ "MIT" ]
null
null
null
defmodule Absinthe.Federation do @moduledoc """ [Apollo Federation](https://www.apollographql.com/docs/federation/federation-spec/) support for [Absinthe](https://github.com/absinthe-graphql/absinthe). ## Examples Schemas should `use Absinthe.Federation.Schema` defmodule MyApp.MySchema do use A...
23.481481
155
0.676656
65bbb451d84d51ed0ad48d6c78bbbe6889bbf726
33,946
ex
Elixir
clients/games/lib/google_api/games/v1/api/turn_based_matches.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/games/lib/google_api/games/v1/api/turn_based_matches.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/api/turn_based_matches.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 ...
48.21875
372
0.639869
65bbd9f6dac35316419c37d3fe94a165f0c18129
1,583
exs
Elixir
test/mail_sniffex_web/live/page_live_test.exs
adrid/mailsniffex
93a0cc8f96eb4786bd85dbebfb92f867e2ca3c3f
[ "MIT" ]
3
2021-01-25T20:28:00.000Z
2021-01-26T12:22:08.000Z
test/mail_sniffex_web/live/page_live_test.exs
adrid/mailsniffex
93a0cc8f96eb4786bd85dbebfb92f867e2ca3c3f
[ "MIT" ]
null
null
null
test/mail_sniffex_web/live/page_live_test.exs
adrid/mailsniffex
93a0cc8f96eb4786bd85dbebfb92f867e2ca3c3f
[ "MIT" ]
null
null
null
defmodule MailSniffexWeb.PageLiveTest do use MailSniffexWeb.ConnCase import Phoenix.ConnTest import Phoenix.LiveViewTest test "empty list returns 200", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Inbox: 0" end test "HTML mail test", %{conn: conn} do :gen_smtp_cl...
33.680851
97
0.629817
65bbfe7db1bf14fd86fe588745928bf25c13d52b
529
ex
Elixir
apps/admin/lib/admin/controllers/user_controller.ex
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
17
2019-01-31T18:33:09.000Z
2022-01-18T12:38:49.000Z
apps/admin/lib/admin/controllers/user_controller.ex
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
null
null
null
apps/admin/lib/admin/controllers/user_controller.ex
glv/revista
00ecb0780c62a5525155a773b959b169e0e0500d
[ "MIT" ]
4
2018-11-10T01:56:17.000Z
2020-06-09T21:10:41.000Z
defmodule Admin.UserController do use Admin, :controller def new(conn, _) do changeset = Auth.change_user() render(conn, "new.html", changeset: changeset) end def create(conn, %{"user" => user_params}) do case Auth.register(user_params) do {:ok, user} -> conn |> put_flash(:in...
25.190476
55
0.616257
65bc1b35f138b63fb135f3dbf55347bac7d8f24f
1,372
ex
Elixir
lib/benchee/utility/deep_convert.ex
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
504
2019-03-19T16:50:04.000Z
2022-03-30T03:33:11.000Z
lib/benchee/utility/deep_convert.ex
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
46
2019-03-19T16:52:27.000Z
2022-03-10T08:34:45.000Z
lib/benchee/utility/deep_convert.ex
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
20
2019-03-21T06:36:33.000Z
2022-03-10T06:13:40.000Z
defmodule Benchee.Utility.DeepConvert do @moduledoc false @doc """ Converts a deep keywordlist to the corresponding deep map. ## Examples iex> Benchee.Utility.DeepConvert.to_map([a: 1, b: 2]) %{a: 1, b: 2} iex> Benchee.Utility.DeepConvert.to_map([a: [b: 2], c: [d: 3, e: 4, e: 5]]) %{a: %{b: 2}, c: %...
27.44
77
0.581633
65bc233f8247f18783b9fa7e3375fb07054ad8c1
445
exs
Elixir
apps/sherbet_service/priv/repo/migrations/20170509160048_mobile.verification_key.exs
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
3
2017-05-02T12:52:54.000Z
2017-05-28T11:53:17.000Z
apps/sherbet_service/priv/repo/migrations/20170509160048_mobile.verification_key.exs
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
null
null
null
apps/sherbet_service/priv/repo/migrations/20170509160048_mobile.verification_key.exs
ScrimpyCat/sherbet
f245c994b15c47bb31b68d5af24de925c853c3d7
[ "BSD-2-Clause" ]
2
2017-05-02T13:13:25.000Z
2019-10-24T11:55:39.000Z
defmodule Sherbet.Service.Repo.Migrations.Mobile.VerificationKey do use Ecto.Migration def change do create table(:mobile_verification_keys) do add :mobile_id, references(:mobiles, on_delete: :delete_all), null: false add :key, :string, null: fal...
24.722222
73
0.606742
65bc3ae0c805165830a759143832e468a3e401d4
723
exs
Elixir
config/test.exs
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
2
2021-01-27T17:49:24.000Z
2021-04-19T21:42:31.000Z
config/test.exs
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
1
2021-04-18T16:30:32.000Z
2021-05-25T17:33:50.000Z
config/test.exs
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
null
null
null
use Mix.Config # 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. config :dockerizing_phoenix, DockerizingPhoenix.Repo, username: "postgres", password: "postgres", database: "...
31.434783
78
0.770401
65bc461e86dcea33edeb7c3a6dcb1a2c16f250a1
520
ex
Elixir
lib/coherence/services/rememberable_service.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
2
2018-01-19T06:12:16.000Z
2018-03-12T07:17:17.000Z
lib/coherence/services/rememberable_service.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
null
null
null
lib/coherence/services/rememberable_service.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
1
2019-09-11T10:21:21.000Z
2019-09-11T10:21:21.000Z
defmodule Coherence.RememberableService do @moduledoc false use Coherence.Config import Plug.Conn alias Coherence.Schemas @doc """ Delete a rememberable token. """ @spec delete_rememberable(Plug.Conn.t, %{id: integer}) :: Plug.Conn.t def delete_rememberable(conn, %{id: id}) do if Config.has_op...
19.259259
71
0.686538
65bc7af6ab8cd04455f70376d8dd585cbdaec28a
10,699
ex
Elixir
lib/cldr/trans/translator.ex
kianmeng/cldr_trans
da3f01eb16cd25e8936d30805bfff5e3ab589409
[ "Apache-2.0" ]
1
2022-03-10T06:54:28.000Z
2022-03-10T06:54:28.000Z
lib/cldr/trans/translator.ex
kianmeng/cldr_trans
da3f01eb16cd25e8936d30805bfff5e3ab589409
[ "Apache-2.0" ]
1
2022-03-14T01:10:20.000Z
2022-03-20T14:35:05.000Z
lib/cldr/trans/translator.ex
kianmeng/cldr_trans
da3f01eb16cd25e8936d30805bfff5e3ab589409
[ "Apache-2.0" ]
1
2022-03-13T15:38:40.000Z
2022-03-13T15:38:40.000Z
defmodule Cldr.Trans.Translator do @moduledoc """ Provides easy access to struct translations. Although translations are stored in regular fields of an struct and can be accessed directly, **it is recommended to access translations using the functions provided by this module** instead. This functions present...
36.391156
101
0.710814
65bc88bbd4a90cb95533bf41b5f1e140f9aad8c2
201
exs
Elixir
priv/repo/migrations/20201026230810_add_channel_poster_chat_bg.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
priv/repo/migrations/20201026230810_add_channel_poster_chat_bg.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
priv/repo/migrations/20201026230810_add_channel_poster_chat_bg.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule Glimesh.Repo.Migrations.AddChannelPosterChatBg do use Ecto.Migration def change do alter table(:channels) do add :poster, :string add :chat_bg, :string end end end
18.272727
59
0.701493
65bc8f39cf7974dc2fd07d7b808ddad06e0ca32e
2,883
exs
Elixir
test/type/literal_integer/subtype_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
test/type/literal_integer/subtype_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
test/type/literal_integer/subtype_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
defmodule TypeTest.LiteralInteger.SubtypeTest do use ExUnit.Case, async: true @moduletag :subtype import Type, only: [builtin: 1] use Type.Operators describe "a literal negative number" do test "is a subtype of itself" do assert -47 in -47 end test "is a subtype of integer and any built...
28.264706
78
0.640999
65bc9702b94a50ed77ca64e9e1cee10b80b4e8ce
1,621
exs
Elixir
test/nerves_firmware_test.exs
nerves-project-attic/nerves_firmware
0e6b730438cf31ebfb6befc5cf803b39711c6262
[ "Apache-2.0" ]
null
null
null
test/nerves_firmware_test.exs
nerves-project-attic/nerves_firmware
0e6b730438cf31ebfb6befc5cf803b39711c6262
[ "Apache-2.0" ]
1
2022-01-24T16:53:34.000Z
2022-01-24T17:11:36.000Z
test/nerves_firmware_test.exs
nerves-project-attic/nerves_firmware
0e6b730438cf31ebfb6befc5cf803b39711c6262
[ "Apache-2.0" ]
1
2022-01-24T14:33:24.000Z
2022-01-24T14:33:24.000Z
defmodule Nerves.Firmware.Test do @moduledoc false use ExUnit.Case doctest Nerves.Firmware require Logger alias Nerves.Firmware @app_id :nerves_firmware test "Firmware app started succesfully" do assert Application.start(@app_id) == {:error, {:already_started, @app_id}} end test "returning prop...
30.584906
84
0.713757
65bcc0dd3ff4623edb90f6668260012fe29c3283
2,132
ex
Elixir
apps/core/lib/core/schema/dependencies.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/schema/dependencies.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/core/lib/core/schema/dependencies.ex
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defmodule Core.Schema.Dependencies do use Piazza.Ecto.Schema defenum Provider, gcp: 0, aws: 1, azure: 2, equinix: 3, kind: 4 defmodule Dependency do use Piazza.Ecto.Schema defenum Type, terraform: 0, helm: 1 embedded_schema do field :type, Type field :repo, :string field ...
24.227273
95
0.628987
65bcc426889c932c8d807615af0fd2524c8450a2
1,004
exs
Elixir
config/config.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
27
2015-08-09T16:36:31.000Z
2020-01-26T17:47:17.000Z
config/config.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
14
2015-07-31T07:28:07.000Z
2018-09-06T18:32:37.000Z
config/config.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
19
2015-07-31T01:25:17.000Z
2019-06-29T16:28:42.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :logger, :console, level: :debug, format: "$message\n", metadata: [:user_id] # HTTP parameters config :fintex, :http_options, [ timeout: 10_000 ] # SSL host...
20.08
97
0.643426
65bcd7f29203029ee77e2329b97bf053cb2c7119
1,129
ex
Elixir
test/support/channel_case.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
129
2021-05-30T10:10:59.000Z
2022-03-27T14:42:48.000Z
test/support/channel_case.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
48
2021-05-30T21:34:03.000Z
2022-02-21T14:20:04.000Z
test/support/channel_case.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
12
2021-05-30T22:03:49.000Z
2022-02-08T19:59:16.000Z
defmodule ExPlatformWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interact...
27.536585
72
0.731621
65bcd889992aee1ffdb974cd956ab5e396c54527
515
ex
Elixir
lib/websocket_client_page_handler.ex
Sebi55/ocpp-backend
e2c4920aa3d2986934a17e904d7836d4f2a91945
[ "MIT" ]
null
null
null
lib/websocket_client_page_handler.ex
Sebi55/ocpp-backend
e2c4920aa3d2986934a17e904d7836d4f2a91945
[ "MIT" ]
null
null
null
lib/websocket_client_page_handler.ex
Sebi55/ocpp-backend
e2c4920aa3d2986934a17e904d7836d4f2a91945
[ "MIT" ]
null
null
null
defmodule WebsocketClientPageHandler do @moduledoc """ Renders A Client to test the backend """ def init(req, state) do handle(req, state) end def handle(request, state) do req = :cowboy_req.reply( 200, %{"content-type" => "text/html"}, build_body(request), request ) ...
17.758621
67
0.636893
65bcf55b7455399902f8860b26f70a263b4ef499
338
exs
Elixir
fisherman_server/test/fisherman_server/notification_publisher_test.exs
henrysdev/Fisherman
57bc51730cedb84a47807e2d617061f2cfe54ffd
[ "MIT" ]
1
2020-05-14T06:07:21.000Z
2020-05-14T06:07:21.000Z
fisherman_server/test/fisherman_server/notification_publisher_test.exs
henrysdev/Fisherman
57bc51730cedb84a47807e2d617061f2cfe54ffd
[ "MIT" ]
19
2020-05-04T17:29:44.000Z
2020-07-05T18:15:10.000Z
fisherman_server/test/fisherman_server/notification_publisher_test.exs
henrysdev/Fisherman
57bc51730cedb84a47807e2d617061f2cfe54ffd
[ "MIT" ]
null
null
null
defmodule FishermanServer.NotificationPublisherTest do use FishermanServerWeb.ChannelCase alias FishermanServer.NotificationPublisher # TODO test publish and subscribe test "channel name" do user_id = "123abc" name = NotificationPublisher.channel_name(user_id) assert name == "notify_feed_refresh:...
24.142857
54
0.786982
65bd06d7a9973f0374f7cec0fa9c3b6e15218f15
19,065
ex
Elixir
lib/mix/lib/mix/tasks/test.ex
mkacper/elixir
d24ff660cd2d0baa7278500c3e48f78c5943f3d8
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/test.ex
mkacper/elixir
d24ff660cd2d0baa7278500c3e48f78c5943f3d8
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/test.ex
mkacper/elixir
d24ff660cd2d0baa7278500c3e48f78c5943f3d8
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Test do defmodule Cover do @default_threshold 90 @moduledoc false def start(compile_path, opts) do Mix.shell().info("Cover compiling modules ...") _ = :cover.stop() _ = :cover.start() case :cover.compile_beam_directory(compile_path |> to_charlist) do ...
31.72213
104
0.647522
65bd2459c77a6fb59fa4204a6edd911a42aa05a6
89
ex
Elixir
lib/ecto_crdt_types.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
8
2018-09-20T13:05:16.000Z
2021-09-22T08:40:40.000Z
lib/ecto_crdt_types.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
lib/ecto_crdt_types.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
defmodule EctoCrdtTypes do @moduledoc """ Documentation for EctoCrdtTypes. """ end
14.833333
34
0.730337
65bd57dbf3e821837274d432d13422d1048c947a
730
ex
Elixir
timetable_backend/web/gettext.ex
heru/timetable
b5f86f53020c6e32b569628c5396b8972ca0538f
[ "MIT" ]
null
null
null
timetable_backend/web/gettext.ex
heru/timetable
b5f86f53020c6e32b569628c5396b8972ca0538f
[ "MIT" ]
null
null
null
timetable_backend/web/gettext.ex
heru/timetable
b5f86f53020c6e32b569628c5396b8972ca0538f
[ "MIT" ]
null
null
null
defmodule TimetableBackend.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 TimetableBackend.Gettext # Simple translation gettex...
29.2
72
0.690411
65bd62142758599742140ce5e308526b13f0cdc6
373
exs
Elixir
2016/day13/mix.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
2016/day13/mix.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
2016/day13/mix.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
defmodule Day09.Mixfile do use Mix.Project def project do [app: :day13, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end def application do [applications: [:logger]] end defp deps do [ {:c...
16.217391
45
0.549598
65bdbbb5f672949717ff8102b0f9d5716fc6f486
679
exs
Elixir
config/test.exs
greenealexander/print_react
f6d29884cc11b0bbf143df866e08bfaf4607de0c
[ "MIT-0" ]
null
null
null
config/test.exs
greenealexander/print_react
f6d29884cc11b0bbf143df866e08bfaf4607de0c
[ "MIT-0" ]
null
null
null
config/test.exs
greenealexander/print_react
f6d29884cc11b0bbf143df866e08bfaf4607de0c
[ "MIT-0" ]
null
null
null
use Mix.Config # 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. config :print_react, PrintReact.Repo, username: "postgres", password: "postgres", database: "print_react_test...
29.521739
70
0.755523
65bdc0d9a1584d97b6bb0de9c2315f3fbeb0e3b3
733
exs
Elixir
mix.exs
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
mix.exs
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
mix.exs
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
defmodule CommerceCure.Mixfile do use Mix.Project @version "0.0.2" def project do [ app: :commerce_cure, version: @version, elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def applicati...
19.810811
62
0.51296
65bdc1f7ca2a358151d21dcde481b953d69d67ac
120
ex
Elixir
astreu/lib/astreu.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
10
2021-02-10T12:00:26.000Z
2021-11-17T10:35:48.000Z
astreu/lib/astreu.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
11
2021-01-30T15:46:00.000Z
2021-04-27T01:44:07.000Z
astreu/lib/astreu.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
4
2021-01-29T12:18:32.000Z
2021-04-22T20:20:58.000Z
defmodule Astreu do @moduledoc """ `Astreu`is a high performance Messaging System based on gRPC protocol. """ end
20
72
0.725
65bdeff8914641b99b114eb1f0ba01195714571b
2,750
exs
Elixir
elixir/codes-from-books/little-elixir/cap11/quickcheck_playground/test/map_eqc.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
1
2017-10-16T03:00:50.000Z
2017-10-16T03:00:50.000Z
elixir/codes-from-books/little-elixir/cap11/quickcheck_playground/test/map_eqc.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
elixir/codes-from-books/little-elixir/cap11/quickcheck_playground/test/map_eqc.exs
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
defmodule MapEQC do use ExUnit.Case use EQC.ExUnit # NOTE: Strange that this should fail but doesn't. property "keys are unique (take 1)" do forall m <- map_1 do no_duplicates(Map.keys(m)) end end property "keys are unique (take 2)" do forall m <- map_2 do no_duplicates(Map.keys(:e...
22.540984
75
0.581455
65bdf11b7969a88cb5e8bb94c9606eb29f09d602
1,217
ex
Elixir
lib/rox/snapshot.ex
arikai/rox
97639d7b46418941c4c3948f2a7ef58aa1d676e5
[ "MIT" ]
56
2016-09-07T07:34:15.000Z
2021-09-01T07:55:30.000Z
lib/rox/snapshot.ex
arikai/rox
97639d7b46418941c4c3948f2a7ef58aa1d676e5
[ "MIT" ]
12
2017-03-03T01:37:37.000Z
2020-01-09T07:56:35.000Z
lib/rox/snapshot.ex
arikai/rox
97639d7b46418941c4c3948f2a7ef58aa1d676e5
[ "MIT" ]
20
2017-02-26T10:59:54.000Z
2020-08-12T17:36:38.000Z
defmodule Rox.Snapshot do @moduledoc """ Struct module representing a handle for a database snapshot. Snapshots support all read operations that a `Rox.DB` supports, and implement `Enumerable`, but not `Collectable` """ alias Rox.DB @typedoc "A reference to a RocksDB database snapshot" @type t :: ...
20.627119
97
0.628595
65be5ddb19419c724ea889f94707077ed0e23296
371
exs
Elixir
priv/repo/migrations/20160226212027_create_album.exs
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
priv/repo/migrations/20160226212027_create_album.exs
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
priv/repo/migrations/20160226212027_create_album.exs
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
defmodule Headland.Repo.Migrations.CreateAlbum do use Ecto.Migration def change do create table(:albums) do add :released, :string add :recorded, :string add :genre, :string add :producer, :string add :artist_id, references(:artists, on_delete: :nothing) timestamps end ...
20.611111
63
0.660377
65be5f358251ff89fed23089eed2156e3a0f4144
6,008
ex
Elixir
lib/livebook/live_markdown/export.ex
rodrigues/livebook
9822735bcf0b5bffbbc2bd59a7b942e81276ffe3
[ "Apache-2.0" ]
null
null
null
lib/livebook/live_markdown/export.ex
rodrigues/livebook
9822735bcf0b5bffbbc2bd59a7b942e81276ffe3
[ "Apache-2.0" ]
null
null
null
lib/livebook/live_markdown/export.ex
rodrigues/livebook
9822735bcf0b5bffbbc2bd59a7b942e81276ffe3
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.LiveMarkdown.Export do alias Livebook.Notebook alias Livebook.Notebook.Cell alias Livebook.LiveMarkdown.MarkdownHelpers @doc """ Converts the given notebook into a Markdown document. ## Options * `:include_outputs` - whether to render cell outputs. Only textual outputs are in...
25.896552
92
0.638981
65be64b60542055da115db910af72a74d698d162
7,547
ex
Elixir
lib/github_ci/connector.ex
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
lib/github_ci/connector.ex
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
lib/github_ci/connector.ex
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
defmodule GithubCi.Connector do alias GithubCi.Runscope @sample_info {"Brightergy", "brighterlink-io", "d9b5a056931989431c40e9281cbfc3fb5d6d9bc8"} def config, do: config(System.get_env("CI_CONFIG")) def config(nil), do: "ci_config.json" |> File.read! |> Poison.decode! def config(data), do: data |> URI.decod...
35.266355
172
0.601696
65be7c1c4214eb1861592ea78a949874f4f2c29c
2,117
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/set_iam_policy_request.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.34
318
0.746812
65be84f9b35baaa7f4343c2f74e6f666428e0f4b
1,910
exs
Elixir
ex_cubic_ingestion/mix.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
1
2022-01-30T21:02:48.000Z
2022-01-30T21:02:48.000Z
ex_cubic_ingestion/mix.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
21
2022-01-25T16:35:50.000Z
2022-03-31T19:42:52.000Z
ex_cubic_ingestion/mix.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
1
2022-02-02T14:34:17.000Z
2022-02-02T14:34:17.000Z
defmodule ExCubicIngestion.MixProject do use Mix.Project def project do [ app: :ex_cubic_ingestion, version: "0.1.0", elixir: "~> 1.13", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps(), test_coverage:...
27.285714
87
0.550262
65be8853a457dca7d1f16c5cb269c6641e15485a
832
ex
Elixir
lib/raml/v1/response.ex
zachdaniel/ramoulade
11fa7745b595c199d708eb15c46526bc7a249b37
[ "MIT" ]
1
2018-02-21T23:45:02.000Z
2018-02-21T23:45:02.000Z
lib/raml/v1/response.ex
zachdaniel/ramoulade
11fa7745b595c199d708eb15c46526bc7a249b37
[ "MIT" ]
null
null
null
lib/raml/v1/response.ex
zachdaniel/ramoulade
11fa7745b595c199d708eb15c46526bc7a249b37
[ "MIT" ]
null
null
null
defmodule Ramoulade.Raml.V1.Response do defstruct [:description, :annotations, :headers, :body] alias Ramoulade.Raml.Common def from_yaml(yaml, root) do %__MODULE__{} |> add_description(yaml, root) |> add_headers(yaml, root) |> add_body(yaml, root) end def add_description(response, yaml, ro...
23.111111
86
0.663462
65be97326e150d2bdd1efe4f3fddb68c2edaf35f
5,155
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/api/savedadstyles.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/api/savedadstyles.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/api/savedadstyles.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...
44.439655
217
0.696799
65be9e012c60eeee962ad521dd329cc72be992b8
327
exs
Elixir
test/riemann/attribute_test.exs
koudelka/elixir-riemann
3c1102d77b1fcef2b9e615ee91b0eb2fbe061dec
[ "MIT" ]
57
2015-04-28T09:31:08.000Z
2020-09-21T16:41:53.000Z
test/riemann/attribute_test.exs
koudelka/elixir-riemann
3c1102d77b1fcef2b9e615ee91b0eb2fbe061dec
[ "MIT" ]
8
2016-03-25T15:27:57.000Z
2017-08-22T17:42:36.000Z
test/riemann/attribute_test.exs
koudelka/elixir-riemann
3c1102d77b1fcef2b9e615ee91b0eb2fbe061dec
[ "MIT" ]
9
2015-11-07T09:37:24.000Z
2018-07-17T18:53:12.000Z
defmodule Riemann.Proto.AttributeTest do use ExUnit.Case alias Riemann.Proto.Attribute test "build/1 creates structs with string keys/values" do assert Attribute.build(%{a: 1, "b": 2}) == [%Attribute{key: "a", value: "1"}, %Attribute{key: "b", value: "2"}] en...
29.727273
81
0.577982
65beb53beefc263435e7be27996d827b6c007e22
1,991
ex
Elixir
apps/pipeline/lib/pipeline/writer/table_writer.ex
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
null
null
null
apps/pipeline/lib/pipeline/writer/table_writer.ex
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
1
2020-01-09T21:00:10.000Z
2020-01-09T21:00:10.000Z
apps/pipeline/lib/pipeline/writer/table_writer.ex
jakeprem/smartcitiesdata
da309ac0d2261527278951cbae88604455207589
[ "Apache-2.0" ]
null
null
null
defmodule Pipeline.Writer.TableWriter do @moduledoc """ Implementation of `Pipeline.Writer` for PrestoDB tables. """ @behaviour Pipeline.Writer alias Pipeline.Writer.TableWriter.{Compaction, Statement} require Logger @type schema() :: [map()] @impl Pipeline.Writer @spec init(table: String.t(), sche...
24.280488
86
0.619287
65bed32c56acdc21e51eac27f5d77b28556afac0
121
exs
Elixir
config/test.exs
aforward/safetybox
8ef597118bd7197d78cae350f23f91dc09e63232
[ "MIT", "Unlicense" ]
19
2015-06-16T15:59:39.000Z
2021-03-04T01:14:37.000Z
config/test.exs
aforward/safetybox
8ef597118bd7197d78cae350f23f91dc09e63232
[ "MIT", "Unlicense" ]
2
2015-07-17T08:26:09.000Z
2015-10-24T14:41:20.000Z
config/test.exs
aforward/safetybox
8ef597118bd7197d78cae350f23f91dc09e63232
[ "MIT", "Unlicense" ]
2
2015-10-24T14:23:41.000Z
2017-11-07T00:41:40.000Z
use Mix.Config config :myapp1, secret: "myapp1secret" config :myapp2, secret: "myapp2secret", salt: "myapp2salt"
13.444444
25
0.710744
65bed3d5bc2976d45a77f5b6509503523a6fabaf
6,297
exs
Elixir
lib/iex/test/iex/interaction_test.exs
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/interaction_test.exs
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/iex/test/iex/interaction_test.exs
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule IEx.InteractionTest do use IEx.Case test "whole output" do assert capture_io("IO.puts \"Hello world\"", fn -> IEx.Server.run(dot_iex_path: "") end) =~ "Interactive Elixir (#{System.version()}) - press Ctrl+C to exi...
31.328358
116
0.579641
65bedb40106e6126c82cbdb0b7a164031fc2ec60
135
exs
Elixir
spec/spec_helper.exs
marceldegraaf/ex_ndjson
f7cdaf57a0eb1aefe257f81881edb673c2939ca6
[ "MIT" ]
6
2018-09-29T11:30:15.000Z
2022-01-16T21:44:08.000Z
spec/spec_helper.exs
marceldegraaf/ex_ndjson
f7cdaf57a0eb1aefe257f81881edb673c2939ca6
[ "MIT" ]
2
2020-05-05T12:12:30.000Z
2021-02-02T20:50:45.000Z
spec/spec_helper.exs
marceldegraaf/ex_ndjson
f7cdaf57a0eb1aefe257f81881edb673c2939ca6
[ "MIT" ]
1
2019-06-27T08:42:05.000Z
2019-06-27T08:42:05.000Z
defmodule PathHelpers do def fixtures_path do Path.expand("fixtures", __DIR__) end end ESpec.configure(fn _config -> nil end)
16.875
38
0.740741
65bf89029d6501fa3911408b4d5b9d048ba497ac
1,680
exs
Elixir
lib/elixir/test/elixir/kernel/macros_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/elixir/test/elixir/kernel/macros_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/elixir/test/elixir/kernel/macros_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.MacrosTest.Nested do defmacro value, do: 1 defmacro do_identity!(do: x) do x end end defmodule Kernel.MacrosTest do use ExUnit.Case, async: true Kernel.MacrosTest.Nested = require Kernel.MacrosTest.Nested, as: Nested @spec my_macro :...
20.487805
73
0.663095
65bfb518679b52c83a9923a7da104977d37eb71d
3,982
ex
Elixir
lib/chat_api_web/views/customer_view.ex
klinkai/papercups
048caba52c81cd517b5bdf871c427bb28c3f56c8
[ "MIT" ]
null
null
null
lib/chat_api_web/views/customer_view.ex
klinkai/papercups
048caba52c81cd517b5bdf871c427bb28c3f56c8
[ "MIT" ]
null
null
null
lib/chat_api_web/views/customer_view.ex
klinkai/papercups
048caba52c81cd517b5bdf871c427bb28c3f56c8
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.CustomerView do use ChatApiWeb, :view alias ChatApiWeb.{ CompanyView, ConversationView, CustomerView, MessageView, NoteView, TagView, CSVHelpers } alias ChatApi.Companies.Company alias ChatApi.Customers.Customer @customer_csv_ordered_fields ~w(id name emai...
31.354331
97
0.673782
65bfc476a6a63daaf755ce298ecda5e0905cf92e
186
exs
Elixir
.formatter.exs
kianmeng/sftp_ex
0ae0cf4a18f530f975b3041de589533f7de4bbf5
[ "MIT" ]
22
2017-01-03T17:05:21.000Z
2021-06-17T21:28:38.000Z
.formatter.exs
kianmeng/sftp_ex
0ae0cf4a18f530f975b3041de589533f7de4bbf5
[ "MIT" ]
14
2017-02-10T03:55:08.000Z
2021-11-19T03:46:03.000Z
.formatter.exs
kianmeng/sftp_ex
0ae0cf4a18f530f975b3041de589533f7de4bbf5
[ "MIT" ]
20
2017-05-25T23:30:15.000Z
2021-12-15T02:18:53.000Z
[ import_deps: [], inputs: [ "{mix,.formatter}.exs", "config/*.exs", "lib/mix/**/*.{ex,exs}", "lib/**/*.{ex,exs}", "test/**/*.{ex,exs}" ], line_length: 100 ]
15.5
28
0.446237
65bfc952ff12fc21b41759676697af529709c2d7
1,969
ex
Elixir
clients/chat/lib/google_api/chat/v1/model/card_header.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/chat/lib/google_api/chat/v1/model/card_header.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/chat/lib/google_api/chat/v1/model/card_header.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...
35.160714
243
0.691214
65bfcfffec2c176b200d4f2c38570b791b58a98e
610
exs
Elixir
test/example/elixir/mix.exs
davedoesdev/centro
1b1f693904dcb1ce955dced8fec03fd4c3a542f5
[ "MIT" ]
2
2017-12-05T13:06:22.000Z
2019-12-29T11:48:04.000Z
test/example/elixir/mix.exs
davedoesdev/centro
1b1f693904dcb1ce955dced8fec03fd4c3a542f5
[ "MIT" ]
10
2019-11-02T09:55:14.000Z
2022-02-26T02:07:44.000Z
test/example/elixir/mix.exs
davedoesdev/centro
1b1f693904dcb1ce955dced8fec03fd4c3a542f5
[ "MIT" ]
null
null
null
defmodule Elixir.Mixfile do use Mix.Project def project do [apps_path: "apps", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Dependencies can be Hex packages: # # {:my_dep, "~> 0.3.0"} # # Or git/path repositories: # # {:my_dep, git...
22.592593
79
0.639344
65bfd733e9eaf7155998bdf8904d05f9be3781e3
9,289
ex
Elixir
lib/storeHall/items/items.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
null
null
null
lib/storeHall/items/items.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
4
2019-07-16T06:24:42.000Z
2021-05-07T22:26:14.000Z
lib/storeHall/items/items.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
1
2018-11-23T21:13:31.000Z
2018-11-23T21:13:31.000Z
defmodule StoreHall.Items do @moduledoc """ The Items context. """ import Ecto.Query, warn: false import PhoenixHtmlSanitizer.Helpers alias StoreHall.Repo alias Ecto.Multi alias StoreHall.ParseNumbers alias StoreHall.Items.Item alias StoreHall.Items.Filters alias StoreHall.Images alias Store...
25.310627
98
0.600172
65bff1c9da8cd3655060c90c96b5606a7406c978
2,345
exs
Elixir
mix.exs
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
2
2020-10-13T18:04:54.000Z
2021-12-15T08:23:28.000Z
mix.exs
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
9
2020-07-30T14:57:46.000Z
2021-12-28T07:37:27.000Z
mix.exs
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Telemetry.TimescaleDB.Mixfile do use Mix.Project @version "0.1.0" @github_url "https://github.com/membraneframework/membrane_timescaledb_reporter" def project do [ app: :membrane_timescaledb_reporter, version: @version, elixir: "~> 1.12", elixirc_paths: elixirc_p...
25.769231
82
0.594883
65c00ef04276f607d74888c631a472573fabb3ea
4,155
exs
Elixir
test/decompiler_test.exs
voltone/safeish
9fbdb40e2255805d2bc6f420699c475ad460a729
[ "MIT" ]
null
null
null
test/decompiler_test.exs
voltone/safeish
9fbdb40e2255805d2bc6f420699c475ad460a729
[ "MIT" ]
null
null
null
test/decompiler_test.exs
voltone/safeish
9fbdb40e2255805d2bc6f420699c475ad460a729
[ "MIT" ]
null
null
null
defmodule DecompilerTest do use ExUnit.Case defp get_fixture_bytecode(fixture) do {:ok, file} = File.open("#{File.cwd!()}/test/fixtures_build/#{Atom.to_string(fixture)}.beam", [:read]) bytecode = IO.binread(file, :all) File.close(file) bytecode end test "parse atoms" do assert {ModuleC...
38.119266
106
0.42503
65c03e3ca116bcdbaf4ce8c3f68afd4ac490ff0e
13,716
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/http_rule.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/http_rule.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/http_rule.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...
185.351351
9,771
0.742345
65c0752ea9e1478f59ee4cc8880a67ae12195998
85
ex
Elixir
lib/reservation_book_web/views/user_settings_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
lib/reservation_book_web/views/user_settings_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
lib/reservation_book_web/views/user_settings_view.ex
chargio/reservation_book_phoenix
87f07e390f0da2bed162d55b26d3c73c0f3aea4a
[ "MIT" ]
null
null
null
defmodule ReservationBookWeb.UserSettingsView do use ReservationBookWeb, :view end
21.25
48
0.858824
65c080bfa89db958549c786d0a415e95a2788845
1,814
exs
Elixir
test/currency_test.exs
jeremytregunna/currency
df17596741e40f61997fe51e49fbfe3c2280afb2
[ "ECL-2.0", "Apache-2.0" ]
1
2019-10-02T21:44:55.000Z
2019-10-02T21:44:55.000Z
test/currency_test.exs
jeremytregunna/currency
df17596741e40f61997fe51e49fbfe3c2280afb2
[ "ECL-2.0", "Apache-2.0" ]
1
2019-08-09T21:19:03.000Z
2019-08-09T21:19:03.000Z
test/currency_test.exs
jeremytregunna/currency
df17596741e40f61997fe51e49fbfe3c2280afb2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
defmodule CurrencyTest do use ExUnit.Case import Currency doctest Currency test "symbol has 2 decimal places of precision, none supplied" do assert Currency.new("1 USD").units == Decimal.new(100) assert Currency.new("1 USD").precision == 2 end test "symbol has 2 decimal places of precision and 1 ...
34.226415
89
0.714994
65c0a2fb072ae2d66443d399b1377498c0146e8a
338
ex
Elixir
lib/file_presenter_web/channels/user_socket.ex
echavezNS/file_presenter
534c8393dc589dc98086613ec080780175865d34
[ "MIT" ]
1
2017-03-13T04:29:03.000Z
2017-03-13T04:29:03.000Z
lib/file_presenter_web/channels/user_socket.ex
echavezNS/file_presenter
534c8393dc589dc98086613ec080780175865d34
[ "MIT" ]
null
null
null
lib/file_presenter_web/channels/user_socket.ex
echavezNS/file_presenter
534c8393dc589dc98086613ec080780175865d34
[ "MIT" ]
null
null
null
defmodule FilePresenterWeb.UserSocket do use Phoenix.Socket ## Channels channel "file_watch", FilePresenterWeb.FileChannel channel "chat", FilePresenterWeb.ChatChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket def connect(_params, socket) do {:ok, socket} end def id(_soc...
19.882353
52
0.748521
65c0acb345d176ac25b4558daecc186bfff885a6
159
exs
Elixir
test/apoc/hazmat/hash/sha_test.exs
auxesis/apoc
e650c21767f508a2720dad1bb3d14439bdcf39c4
[ "Apache-2.0" ]
6
2018-10-04T14:18:35.000Z
2020-05-15T08:43:31.000Z
test/apoc/hazmat/hash/sha_test.exs
auxesis/apoc
e650c21767f508a2720dad1bb3d14439bdcf39c4
[ "Apache-2.0" ]
3
2018-10-23T12:20:45.000Z
2021-01-27T10:41:14.000Z
test/apoc/hazmat/hash/sha_test.exs
auxesis/apoc
e650c21767f508a2720dad1bb3d14439bdcf39c4
[ "Apache-2.0" ]
2
2020-02-19T00:43:37.000Z
2021-08-19T04:04:25.000Z
defmodule ApocTest.Hazmat.Hash.SHA do use ApocTest.Hazmat.Hash.TestCase alias Apoc.Hazmat.Hash.SHA setup_all do %{size: 20, target: SHA} end end
15.9
37
0.72327
65c100c3eb37258e4013e6d507c9215adb893fa8
2,485
ex
Elixir
clients/double_click_search/lib/google_api/double_click_search/v2/model/availability.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/double_click_search/lib/google_api/double_click_search/v2/model/availability.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/double_click_search/lib/google_api/double_click_search/v2/model/availability.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...
40.080645
162
0.713883
65c1282153997e77f76f13056bfd3ee3db8c77d8
403
exs
Elixir
priv/repo/migrations/20160429184458_create_sponsor.exs
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
priv/repo/migrations/20160429184458_create_sponsor.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
priv/repo/migrations/20160429184458_create_sponsor.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule Changelog.Repo.Migrations.CreateSponsor do use Ecto.Migration def change do create table(:sponsors) do add :name, :string, null: false add :logo_image, :string add :description, :string add :github_handle, :string add :twitter_handle, :string add :website, :string ...
21.210526
52
0.66005
65c1285083fd01477546722a6abee85c081670b1
1,705
ex
Elixir
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_errors_config.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_errors_config.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_errors_config.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...
36.276596
274
0.757185
65c12cad1380570a3c619a8beb1290a1c6fa9015
22,585
ex
Elixir
lib/mix/tasks/phx.gen.auth.ex
ZachLiss/phoenix
3ca4065e7f0b3e207c7961837fe021b756814e9e
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.gen.auth.ex
ZachLiss/phoenix
3ca4065e7f0b3e207c7961837fe021b756814e9e
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.gen.auth.ex
ZachLiss/phoenix
3ca4065e7f0b3e207c7961837fe021b756814e9e
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phx.Gen.Auth do @shortdoc "Generates authentication logic for a resource" @moduledoc """ Generates authentication logic for a resource. $ mix phx.gen.auth Accounts User users The first argument is the context module followed by the schema module and its plural name (used as the sc...
33.115836
159
0.676157
65c162c6a4018aaf231fd6122bd0eb8d7a7593ac
265
ex
Elixir
lib/ex_stock_history.ex
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "MIT" ]
null
null
null
lib/ex_stock_history.ex
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "MIT" ]
null
null
null
lib/ex_stock_history.ex
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "MIT" ]
null
null
null
defmodule ExStockHistory do @moduledoc """ ExStockHistory 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
26.5
66
0.766038
65c16f1d39dcde0c5d47703ae7c7528400238382
2,309
ex
Elixir
clients/file/lib/google_api/file/v1/model/list_instances_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/file/lib/google_api/file/v1/model/list_instances_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/model/list_instances_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.566038
441
0.732352
65c18c3a9e6f6f49488c306c19008ae763abc0ee
492
ex
Elixir
gallows/lib/gallows_web/router.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
gallows/lib/gallows_web/router.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
gallows/lib/gallows_web/router.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
defmodule GallowsWeb.Router do use GallowsWeb, :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 "/hangman", GallowsWeb do ...
18.923077
45
0.682927
65c192152476ead0618b4ddfb1814d784d25fb47
2,352
ex
Elixir
made_at_eps/lib/made_at_eps_web.ex
EastsidePreparatorySchool/MadeAtEPS
cea5b6db5772ad4ad78b2bfb8ebd6643c35c38cb
[ "MIT" ]
null
null
null
made_at_eps/lib/made_at_eps_web.ex
EastsidePreparatorySchool/MadeAtEPS
cea5b6db5772ad4ad78b2bfb8ebd6643c35c38cb
[ "MIT" ]
null
null
null
made_at_eps/lib/made_at_eps_web.ex
EastsidePreparatorySchool/MadeAtEPS
cea5b6db5772ad4ad78b2bfb8ebd6643c35c38cb
[ "MIT" ]
null
null
null
defmodule MadeAtEpsWeb 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 MadeAtEpsWeb, :controller use MadeAtEpsWeb, :view The definitions below will be executed for every view, contro...
22.834951
81
0.683673
65c19c8d96bb2d49da737187520b166374002444
2,037
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_lists_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/remarketing_lists_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/remarketing_lists_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...
38.433962
164
0.740795
65c1a0bad4fd2ea92ac2ebb9e697d717cd8cd266
806
ex
Elixir
lib/binary_search.ex
jdanielnd/elixir-algo
41f93b316567dd8445706b2dadb7a2866f668b49
[ "MIT" ]
null
null
null
lib/binary_search.ex
jdanielnd/elixir-algo
41f93b316567dd8445706b2dadb7a2866f668b49
[ "MIT" ]
null
null
null
lib/binary_search.ex
jdanielnd/elixir-algo
41f93b316567dd8445706b2dadb7a2866f668b49
[ "MIT" ]
null
null
null
defmodule BinarySearch do @moduledoc """ Documentation for BinarySearch. """ @doc """ Implementation of Binary Search algorithm ## Examples iex> BinarySearch.search([3,8,9,12,22,39,41,44,48,61], 48) 8 """ def search(enum, value) do start = 0 final = length(enum) - 1 bsearch(e...
20.666667
64
0.590571
65c1aeee45935b6260c0267acba8d8855802058b
18,584
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/api/blobs.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/api/blobs.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/api/blobs.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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.332574
196
0.64943
65c1bcca994b41f06b4b74d52ea84b07477d77b1
6,184
exs
Elixir
30-vector.exs
lbiru/30-days-of-elixir
8472b6bf4a2f0a12dc6aea930abde2d50867b460
[ "MIT" ]
3,040
2015-01-01T00:26:22.000Z
2022-03-17T04:10:43.000Z
30-vector.exs
tifazxy/30-days-of-elixir
1d3e5cc1580ecbfdf9bd8eafed6ed68cb681404a
[ "MIT" ]
29
2015-01-03T02:36:47.000Z
2019-05-20T13:01:52.000Z
30-vector.exs
tifazxy/30-days-of-elixir
1d3e5cc1580ecbfdf9bd8eafed6ed68cb681404a
[ "MIT" ]
520
2015-01-01T09:43:36.000Z
2022-03-19T00:02:22.000Z
# persistent bit-partitioned vector trie # http://hypirion.com/musings/understanding-persistent-vector-pt-1 (and part 2) defmodule Vector do import Bitwise @bits 2 @width 1 <<< @bits # 4-way branching @mask @width - 1 require Record Record.defrecordp :vec, Vector, size: 0, depth: 0, tree: [] @doc """ ...
28.897196
91
0.580207
65c1be5477e1e90b164723d9dadf11f2de8eaca3
333
ex
Elixir
lib/sgp40/application.ex
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
2
2021-06-13T21:09:19.000Z
2021-06-16T13:20:14.000Z
lib/sgp40/application.ex
elixir-sensors/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
3
2021-06-14T13:09:08.000Z
2021-06-26T19:43:55.000Z
lib/sgp40/application.ex
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
null
null
null
defmodule SGP40.Application do @moduledoc false use Application @impl true def start(_type, _args) do children = [ SGP40.VocIndex ] opts = [ name: SGP40.Supervisor, strategy: :one_for_one, max_restarts: 3, max_seconds: 5 ] Supervisor.start_link(children, opt...
15.136364
41
0.627628
65c1e73a8903347c968061863b365b955b6e9fdf
726
exs
Elixir
integration_test/cases/browser/has_value_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
1
2019-01-30T12:08:17.000Z
2019-01-30T12:08:17.000Z
integration_test/cases/browser/has_value_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
2
2019-04-10T08:23:27.000Z
2021-01-25T16:37:23.000Z
integration_test/cases/browser/has_value_test.exs
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
1
2019-01-29T16:03:55.000Z
2019-01-29T16:03:55.000Z
defmodule Wallaby.Integration.Browser.HasValueTest do use Wallaby.Integration.SessionCase, async: true setup %{session: session} do page = visit(session, "forms.html") {:ok, %{page: page}} end @name_field Query.text_field("Name") describe "has_value?/3" do test "checks to see if query has a sp...
25.034483
87
0.646006
65c1e80d05f3fa89c359304e3eb3adf9f99404f6
5,123
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/api/savedadstyles.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/api/savedadstyles.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/api/savedadstyles.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 &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...
41.991803
206
0.69432
65c1f6ed03d2e339908fb4285729ed81e596eff3
1,088
ex
Elixir
test/support/channel_case.ex
MorphicPro/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
5
2020-04-23T21:12:17.000Z
2020-09-30T00:16:58.000Z
test/support/channel_case.ex
joshchernoff/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
232
2020-04-24T00:52:24.000Z
2021-08-05T17:23:12.000Z
test/support/channel_case.ex
MorphicPro/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
1
2020-04-04T02:19:44.000Z
2020-04-04T02:19:44.000Z
defmodule MorphicProWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interact...
25.302326
67
0.725184
65c26b2d7b880ad6daf426dfb7f4443652035727
2,771
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_serialized_taxonomy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_serialized_taxonomy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_serialized_taxonomy.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.15942
224
0.730061
65c294c849e6c75c4971b0940213f11defbf45ab
1,347
ex
Elixir
lib/arkenston/guardian.ex
dolfinus/arkenston-backend
258880936dce673eb15db0c4b52e68d3d40c58ff
[ "MIT" ]
1
2019-04-29T18:07:08.000Z
2019-04-29T18:07:08.000Z
lib/arkenston/guardian.ex
dolfinus/arkenston-backend
258880936dce673eb15db0c4b52e68d3d40c58ff
[ "MIT" ]
126
2020-12-03T15:39:31.000Z
2022-03-30T22:02:23.000Z
lib/arkenston/guardian.ex
dolfinus/arkenston-backend
258880936dce673eb15db0c4b52e68d3d40c58ff
[ "MIT" ]
null
null
null
defmodule Arkenston.Guardian do require Logger alias Arkenston.Subject alias Arkenston.Subject.User use Guardian, otp_app: :arkenston, permissions: Arkenston.Permissions.all_permissions() use Guardian.Permissions, encoding: Guardian.Permissions.AtomEncoding @spec subject_for_token(user :: any, cl...
26.94
97
0.654046
65c2b90fef64c9d584ed96540e844319699aff44
967
ex
Elixir
lib/dingo/application.ex
madclaws/Dingo
f277671b7e0a33c6b9a181f1444175f1171e9ce6
[ "MIT" ]
null
null
null
lib/dingo/application.ex
madclaws/Dingo
f277671b7e0a33c6b9a181f1444175f1171e9ce6
[ "MIT" ]
null
null
null
lib/dingo/application.ex
madclaws/Dingo
f277671b7e0a33c6b9a181f1444175f1171e9ce6
[ "MIT" ]
null
null
null
defmodule Dingo.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Telemetry supervisor DingoWeb.Telemetry, # Start the PubSub system {Phoe...
28.441176
63
0.700103
65c31c4973c067127dad001510f2612e8816a060
1,245
exs
Elixir
mix.exs
seomoz/process_tree_dictionary
097e2ac6671e7becda45fe054af31350c8982839
[ "MIT" ]
1
2016-12-21T18:37:12.000Z
2016-12-21T18:37:12.000Z
mix.exs
seomoz/process_tree_dictionary
097e2ac6671e7becda45fe054af31350c8982839
[ "MIT" ]
1
2016-09-14T18:01:42.000Z
2016-09-14T18:01:42.000Z
mix.exs
seomoz/process_tree_dictionary
097e2ac6671e7becda45fe054af31350c8982839
[ "MIT" ]
null
null
null
defmodule ProcessTreeDictionary.Mixfile do use Mix.Project def project do [app: :process_tree_dictionary, version: "1.0.2", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases: aliases, description: description, package: package, ...
22.636364
83
0.587952
65c321602ad83c5232f707d1a0e268e843ab9282
72
exs
Elixir
server/test/server_test.exs
vfournie/rudp-playground
33b72e69e9bfab75df2febeab0c8c3e9b5fffd16
[ "MIT" ]
1
2017-07-14T03:19:56.000Z
2017-07-14T03:19:56.000Z
server/test/server_test.exs
vfournie/rudp-playground
33b72e69e9bfab75df2febeab0c8c3e9b5fffd16
[ "MIT" ]
null
null
null
server/test/server_test.exs
vfournie/rudp-playground
33b72e69e9bfab75df2febeab0c8c3e9b5fffd16
[ "MIT" ]
null
null
null
defmodule RudpServerTest do use ExUnit.Case doctest RudpServer end
12
27
0.805556
65c3297a0677b46cc0e33fea21812ba6273b7517
4,994
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/order.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/order.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/order.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...
48.019231
170
0.659191
65c3780573745590b98cffe7efd47c822db6b0b8
466
ex
Elixir
lib/hl7/2.5.1/datatypes/xon.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/datatypes/xon.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/datatypes/xon.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.DataTypes.Xon do @moduledoc false alias HL7.V2_5_1.{DataTypes} use HL7.DataType, fields: [ organization_name: nil, organization_name_type_code: nil, id_number: nil, check_digit: nil, check_digit_scheme: nil, assigning_authority: DataTypes.Hd, ide...
24.526316
40
0.695279
65c393f4788364d28ffc51c737560ff35014f75b
3,548
ex
Elixir
apps/ewallet/lib/ewallet/web/orchestrator.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/orchestrator.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/orchestrator.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...
31.39823
99
0.690812
65c3d597907ed0302626a0613a63501797cd9b55
2,315
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_revisions_response.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_revisions_response.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/list_revisions_response.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 &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.583333
109
0.727862
65c3df049d02eefabc79092abcfb6da5c091c4d6
1,088
ex
Elixir
nolive/hiyoko/lib/hiyoko_web/channels/user_socket.ex
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
nolive/hiyoko/lib/hiyoko_web/channels/user_socket.ex
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
nolive/hiyoko/lib/hiyoko_web/channels/user_socket.ex
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
defmodule HiyokoWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HiyokoWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels...
30.222222
83
0.693934
65c3fc777cb7ce859b14717f90566c6fd248827c
5,716
ex
Elixir
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_catalog_item.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_catalog_item.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_catalog_item.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...
56.594059
639
0.738453
65c3fc9e63ba51aad7b2c4b813438e0d46fc3879
144
ex
Elixir
web/controllers/page_controller.ex
thatbraxguy/real-time-quill
288df903ddada42695c68fd0674e5976a4a848a9
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
thatbraxguy/real-time-quill
288df903ddada42695c68fd0674e5976a4a848a9
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
thatbraxguy/real-time-quill
288df903ddada42695c68fd0674e5976a4a848a9
[ "MIT" ]
null
null
null
defmodule Quickquill.PageController do use Quickquill.Web, :controller def index(conn, _params) do render conn, "index.html" end end
18
38
0.743056
65c47d8e18d603527143561b345b25ada2735073
5,652
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/operations.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/operations.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/api/operations.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 &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.818182
170
0.692852
65c47dbe4d3f575e1a51980fe34b28c31f119b35
598
ex
Elixir
test/support/controller/named_controller.ex
Koch-AG/blue_bird
fb84b8746104997c4c2e41ff800f16cf234a2bc9
[ "MIT" ]
null
null
null
test/support/controller/named_controller.ex
Koch-AG/blue_bird
fb84b8746104997c4c2e41ff800f16cf234a2bc9
[ "MIT" ]
null
null
null
test/support/controller/named_controller.ex
Koch-AG/blue_bird
fb84b8746104997c4c2e41ff800f16cf234a2bc9
[ "MIT" ]
null
null
null
defmodule BlueBird.Test.Support.NamedController do @moduledoc """ `BlueBird.Test.Support.NamedController` simulates a Phoenix Framework controller. """ use BlueBird.Controller use Phoenix.Controller @json_response Poison.encode!(%{status: "ok"}) apigroup("Bobtails", "The Bobtail Resource") api :GET, ...
22.148148
83
0.688963
65c48cfec0979820a95a301039b53536d2822e1e
1,961
exs
Elixir
config/releases.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
config/releases.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
config/releases.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
import Config config :cforum, CforumWeb.Endpoint, secret_key_base: System.fetch_env!("CF_SECRET_KEY"), http: [port: System.fetch_env!("CF_PORT"), ip: {127, 0, 0, 1}], url: [host: System.fetch_env!("CF_HOST"), port: 443, scheme: "https"], live_view: [signing_salt: System.fetch_env!("CF_SIGNING_SALT")], check_...
35.654545
77
0.72922
65c4c4766bf955c15ced2751cb537ebb177adbdd
1,999
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/autoscaler_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/autoscaler_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/autoscaler_list_warning_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...
39.98
527
0.738369
65c5266daf145cde2ffcce8d27103625f039a928
953
ex
Elixir
lib/votr/jwt.ex
wjanssens/votr
4fdd2a6e5ac9178a7fa90578f75a248e2bf161b6
[ "MIT" ]
1
2018-04-27T09:43:27.000Z
2018-04-27T09:43:27.000Z
lib/votr/jwt.ex
wjanssens/votr
4fdd2a6e5ac9178a7fa90578f75a248e2bf161b6
[ "MIT" ]
null
null
null
lib/votr/jwt.ex
wjanssens/votr
4fdd2a6e5ac9178a7fa90578f75a248e2bf161b6
[ "MIT" ]
null
null
null
defmodule Votr.JWT do alias Votr.HashId @config Application.get_env(:votr, Votr.JWT) @key @config[:key] @exp_sec @config[:exp_sec] def expires_in() do @exp_sec end def generate(subject_id) do now = DateTime.utc_now() |> DateTime.to_unix() JsonWebToken.sign( %{ sub: ...
18.686275
50
0.508919
65c547cc0f96e4dfcf2c1bcb129b88a96f4f2f42
1,216
exs
Elixir
test/processes/test_server.exs
jnederhoff/gen_async_call
f4bdeab81233691b49d99b80252d8ac22f5e2d45
[ "Apache-2.0" ]
null
null
null
test/processes/test_server.exs
jnederhoff/gen_async_call
f4bdeab81233691b49d99b80252d8ac22f5e2d45
[ "Apache-2.0" ]
null
null
null
test/processes/test_server.exs
jnederhoff/gen_async_call
f4bdeab81233691b49d99b80252d8ac22f5e2d45
[ "Apache-2.0" ]
null
null
null
defmodule TestServer do use GenServer @default_timeout 100 def sync_sleep(pid, time, opts \\ []) do timeout = Keyword.get(opts, :timeout, @default_timeout) GenServer.call(pid, {:sleep, time, opts}, timeout) end def async_sleep(pid, time, opts \\ []) do timeout = Keyword.get(opts, :timeout, @de...
22.518519
69
0.657895
65c556fff5c6cbf72be9bcda659d4282ebe18cc4
2,424
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/crop_properties_suggestion_state.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/crop_properties_suggestion_state.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/crop_properties_suggestion_state.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...
41.084746
167
0.727723
65c55ba191fe52d65aab547c7af619d7b424a28e
616
ex
Elixir
lib/admin/auth/user.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
lib/admin/auth/user.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
lib/admin/auth/user.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
defmodule Admin.Auth.User do use Ecto.Schema import Ecto.Changeset schema "users" do field :name, :string field :password, :string timestamps() end @doc false def changeset(user, attrs) do user |> cast(attrs, [:name, :password]) |> validate_required([:name, :password]) |> val...
20.533333
98
0.672078
65c575c17f914ef1efa8e1b3db47014cc1ff91b3
1,720
exs
Elixir
gallows/config/dev.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
gallows/config/dev.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
dave-course/hangman_proj/gallows/config/dev.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :gallows, GallowsWeb.Endpoint, http: [port: 40...
34.4
170
0.700581
65c58221d550b9ac9d2be45ff63dbd49d4b3332f
983
exs
Elixir
app/config/config.exs
wsams/tixir
27661173dfe388c57037b4014c527afc8a4a3952
[ "Apache-2.0" ]
null
null
null
app/config/config.exs
wsams/tixir
27661173dfe388c57037b4014c527afc8a4a3952
[ "Apache-2.0" ]
1
2019-09-29T06:50:49.000Z
2019-09-29T06:50:49.000Z
app/config/config.exs
wsams/tixir
27661173dfe388c57037b4014c527afc8a4a3952
[ "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. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :app, ecto_repos: [App.Repo] # Configu...
31.709677
86
0.76297
65c59c7509bf826ce5392b276631c8b01374c188
421
ex
Elixir
lib/input.ex
amuino/elixir_value_in_list
17a6f9c5b6323b99c950d1225a492da555a15405
[ "MIT" ]
1
2019-11-16T16:39:46.000Z
2019-11-16T16:39:46.000Z
lib/input.ex
amuino/elixir_value_in_list
17a6f9c5b6323b99c950d1225a492da555a15405
[ "MIT" ]
null
null
null
lib/input.ex
amuino/elixir_value_in_list
17a6f9c5b6323b99c950d1225a492da555a15405
[ "MIT" ]
null
null
null
defmodule Input do @length 1000 def length, do: @length @words Data.words() |> Enum.shuffle() |> Enum.take(@length) def words, do: @words @non_words Enum.map(Data.words(), &"#{&1}-non-word") |> Enum.take(@length) def non_words, do: @non_words @mixed Enum.zip(@words, @non_words) |> Enum.map(&Tu...
24.764706
76
0.608076
65c5d844168934acf9629cbf012ffb534db57426
1,950
exs
Elixir
web/test/rfid_latachz/users_test.exs
latachz/latachz-rfid
dbb1462fa258568831de3600ae6108e91080cf0a
[ "PostgreSQL", "Unlicense", "MIT" ]
1
2020-01-26T05:41:49.000Z
2020-01-26T05:41:49.000Z
web/test/rfid_latachz/users_test.exs
latachz/latachz-rfid
dbb1462fa258568831de3600ae6108e91080cf0a
[ "PostgreSQL", "Unlicense", "MIT" ]
1
2020-05-26T09:28:01.000Z
2020-05-26T09:28:01.000Z
web/test/rfid_latachz/users_test.exs
latachz/latachz-rfid
dbb1462fa258568831de3600ae6108e91080cf0a
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
defmodule RfidLatachz.UsersTest do use RfidLatachz.DataCase alias RfidLatachz.Users describe "users" do alias RfidLatachz.Users.User @valid_attrs %{name: "some name", rfid_uid: 42} @update_attrs %{name: "some updated name", rfid_uid: 43} @invalid_attrs %{name: nil, rfid_uid: nil} def user_...
29.104478
82
0.645641