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
935fccddf191e9671b5bce2a18d33e899b036545
1,295
exs
Elixir
mix.exs
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
3
2015-08-24T11:44:19.000Z
2016-10-01T21:37:05.000Z
mix.exs
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
null
null
null
mix.exs
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
null
null
null
defmodule Storm.Mixfile do use Mix.Project def project do [app: :storm, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end ...
25.9
76
0.556757
935fe355a18596a1cc235cc6f310a097293f9c32
358
exs
Elixir
test/shared/cache_test.exs
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
1
2021-03-04T12:47:10.000Z
2021-03-04T12:47:10.000Z
test/shared/cache_test.exs
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
test/shared/cache_test.exs
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
defmodule Nebulex.CacheTest do @moduledoc """ Shared Tests """ defmacro __using__(opts) do quote bind_quoted: [opts: opts] do @cache Keyword.fetch!(opts, :cache) use Nebulex.Cache.ObjectTest, cache: @cache use Nebulex.Cache.QueryableTest, cache: @cache use Nebulex.Cache.Transaction...
22.375
54
0.681564
935fe4b3b213ed5421e93073cf1ed0089a56a0c0
1,162
ex
Elixir
lib/ecto/changeset.ex
renanvy/isbnex
1572ba494a2ae2450866c910860692455e8364db
[ "MIT" ]
6
2020-04-16T03:16:32.000Z
2020-04-21T15:23:04.000Z
lib/ecto/changeset.ex
renanvy/isbnex
1572ba494a2ae2450866c910860692455e8364db
[ "MIT" ]
1
2020-12-19T18:54:29.000Z
2020-12-19T18:54:29.000Z
lib/ecto/changeset.ex
renanvy/isbnex
1572ba494a2ae2450866c910860692455e8364db
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Ecto.Changeset) do defmodule ISBN.Ecto.Changeset do @moduledoc """ Provide function to validate ISBN field in a changeset """ @doc """ Verifies if given `field` in the `changeset` has a valid ISBN. ## Examples iex> {%{}, %{isbn: :string}} ...> |> Ecto....
33.2
130
0.550775
93600df25573f4ded479aed2aa8dcd4c3ab62f6c
645
exs
Elixir
hackney_pools/client/mix.exs
TheRealReal/blog_examples
898796f877ec1615db0fb01b6d4a504f90ae794e
[ "MIT" ]
null
null
null
hackney_pools/client/mix.exs
TheRealReal/blog_examples
898796f877ec1615db0fb01b6d4a504f90ae794e
[ "MIT" ]
null
null
null
hackney_pools/client/mix.exs
TheRealReal/blog_examples
898796f877ec1615db0fb01b6d4a504f90ae794e
[ "MIT" ]
null
null
null
defmodule Client.MixProject do use Mix.Project def project do [ app: :client, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_appl...
19.545455
59
0.537984
9360122325858fe9ef062dec8bb266b28ef6c9db
8,075
exs
Elixir
test/lib/kitten_blue/jws_test.exs
ritou/elixir-kitten-blue
e6ac29b17d4e4b78d562bf230209ac5faa57f454
[ "MIT" ]
null
null
null
test/lib/kitten_blue/jws_test.exs
ritou/elixir-kitten-blue
e6ac29b17d4e4b78d562bf230209ac5faa57f454
[ "MIT" ]
10
2018-04-07T02:53:59.000Z
2020-10-19T14:34:51.000Z
test/lib/kitten_blue/jws_test.exs
ritou/elixir-kitten-blue
e6ac29b17d4e4b78d562bf230209ac5faa57f454
[ "MIT" ]
null
null
null
defmodule KittenBlue.JWSTest do use ExUnit.Case alias KittenBlue.{JWK, JWS} doctest JWS @hs256_jwk_1 [ kid: "hs256_first", alg: "HS256", key: "yx1dSdNR624-DZF1HdpdHeRb2Pa2AGaqF-ig8HCsPwU" |> Base.url_decode64!(padding: fa...
47.5
84
0.618947
936054cd4b1b13631b6799abf29374b2e96b2e6d
365
ex
Elixir
test/support/generators.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-01-24T12:39:05.000Z
2022-01-24T12:39:05.000Z
test/support/generators.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
40
2021-05-05T10:14:25.000Z
2022-03-31T18:34:15.000Z
test/support/generators.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-03-20T21:08:12.000Z
2022-03-20T21:08:12.000Z
defmodule Test.Support.Generators do import StreamData @spec gen_headway_range() :: StreamData.t(Headway.HeadwayDisplay.headway_range()) def gen_headway_range do one_of([ tuple({positive_integer(), positive_integer()}) |> map(fn {x, y} -> {x, x + y} end), tuple({constant(:up_to), positive_integer...
28.076923
90
0.668493
93605749f73bf01929c365776d5afcaa5bead155
1,761
exs
Elixir
mix.exs
gVirtu/skeleton_elasticsearch
b86d0329c28a06fa7aa736c233ac19d828c72b71
[ "MIT" ]
null
null
null
mix.exs
gVirtu/skeleton_elasticsearch
b86d0329c28a06fa7aa736c233ac19d828c72b71
[ "MIT" ]
null
null
null
mix.exs
gVirtu/skeleton_elasticsearch
b86d0329c28a06fa7aa736c233ac19d828c72b71
[ "MIT" ]
null
null
null
defmodule SkeletonElasticsearch.MixProject do use Mix.Project @version "1.2.8" @source_url "https://github.com/skeleton-elixir/skeleton_elasticsearch" @maintainers [ "Diego Nogueira", "Jhonathas Matos" ] def project do [ name: "SkeletonElasticsearch", app: :skeleton_elasticsearch, ...
22.87013
90
0.578081
936070d05dc7baa4f4df5f5aadba615b8d561693
418
ex
Elixir
apps/broker/lib/broker/connection/supervisor.ex
tchupp/SteveMQ
a1e84fd5ab9c44094e31a9dee67fe970b3cee163
[ "BSD-3-Clause" ]
8
2019-12-20T15:44:08.000Z
2021-01-25T18:30:25.000Z
apps/broker/lib/broker/connection/supervisor.ex
tchupp/SteveMQ
a1e84fd5ab9c44094e31a9dee67fe970b3cee163
[ "BSD-3-Clause" ]
1
2019-11-08T17:20:00.000Z
2019-11-08T17:20:00.000Z
apps/broker/lib/broker/connection/supervisor.ex
tchupp/SteveMQ
a1e84fd5ab9c44094e31a9dee67fe970b3cee163
[ "BSD-3-Clause" ]
null
null
null
defmodule Broker.Connection.Supervisor do use Supervisor def start_link(opts) do Supervisor.start_link(__MODULE__, :ok, opts) end @impl true def init(:ok) do children = [ {Broker.Connection.Registry, name: Broker.Connection.Registry}, {DynamicSupervisor, name: Broker.ConnectionsSuperviso...
23.222222
85
0.720096
9360a53d0e8cff56edd30f77dcca96fd0337e2a9
1,243
exs
Elixir
mix.exs
grain-team/ueberauth_zoom
115367b5a6dbae3807dd469a5ccc6d0bcc5289bb
[ "MIT" ]
null
null
null
mix.exs
grain-team/ueberauth_zoom
115367b5a6dbae3807dd469a5ccc6d0bcc5289bb
[ "MIT" ]
null
null
null
mix.exs
grain-team/ueberauth_zoom
115367b5a6dbae3807dd469a5ccc6d0bcc5289bb
[ "MIT" ]
null
null
null
defmodule UeberauthZoom.MixProject do use Mix.Project @version "0.1.0" @url "https://github.com/svycal/ueberauth_zoom" def project do [ app: :ueberauth_zoom, version: @version, name: "Ueberauth Zoom Strategy", package: package(), elixir: "~> 1.10", start_permanent: Mix....
21.431034
62
0.559131
9360f6a8587c9d490af4c59ca97092fb0b20393e
632
exs
Elixir
mix.exs
leo-pires/ecto_couchdb
16b7c2c2b6d8e13721ed79ff2c5f43e653fca836
[ "Apache-2.0" ]
null
null
null
mix.exs
leo-pires/ecto_couchdb
16b7c2c2b6d8e13721ed79ff2c5f43e653fca836
[ "Apache-2.0" ]
null
null
null
mix.exs
leo-pires/ecto_couchdb
16b7c2c2b6d8e13721ed79ff2c5f43e653fca836
[ "Apache-2.0" ]
2
2018-09-20T16:27:07.000Z
2020-04-13T11:35:01.000Z
defmodule CouchdbAdapter.Mixfile do use Mix.Project def project do [ app: :ecto_couchdb, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, test_coverage: [tool: Coverex.Task], deps: deps() ] end def applic...
20.387097
65
0.523734
9360ff8a586e60afb70594485b93ad4d9507cb00
672
exs
Elixir
rocketpay/config/test.exs
victorabarros/rocketpay
6bc1fbcd0240c44d720a6c86ab4c45249a6c1230
[ "MIT" ]
null
null
null
rocketpay/config/test.exs
victorabarros/rocketpay
6bc1fbcd0240c44d720a6c86ab4c45249a6c1230
[ "MIT" ]
null
null
null
rocketpay/config/test.exs
victorabarros/rocketpay
6bc1fbcd0240c44d720a6c86ab4c45249a6c1230
[ "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 :rocketpay, Rocketpay.Repo, username: "postgres", password: "postgres", database: "rocketpay_test#{Sys...
29.217391
68
0.748512
93612c642f9970361c9db766d3442427c79c4bb8
7,192
exs
Elixir
test/config_test.exs
neslinesli93/exq
c1caff8052c5176b716715a8bf813d6e87d98f37
[ "Apache-2.0" ]
null
null
null
test/config_test.exs
neslinesli93/exq
c1caff8052c5176b716715a8bf813d6e87d98f37
[ "Apache-2.0" ]
null
null
null
test/config_test.exs
neslinesli93/exq
c1caff8052c5176b716715a8bf813d6e87d98f37
[ "Apache-2.0" ]
null
null
null
defmodule Exq.ConfigTest do use ExUnit.Case require Mix.Config import ExqTestUtil setup_all do ExqTestUtil.reset_config() :ok end setup do env = System.get_env() on_exit(fn -> ExqTestUtil.reset_env(env) ExqTestUtil.reset_config() end) end test "Mix.Config should chang...
29.719008
92
0.654477
93616cc7b0bab29ee7a6e4e0b309efd4ea800edb
442
ex
Elixir
lib/cizen/saga_ender.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
1
2019-04-08T08:00:06.000Z
2019-04-08T08:00:06.000Z
lib/cizen/saga_ender.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
lib/cizen/saga_ender.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
defmodule Cizen.SagaEnder do @moduledoc """ End a saga. """ defstruct [] alias Cizen.Dispatcher alias Cizen.Event alias Cizen.Saga alias Cizen.EndSaga use Saga @impl true def init(_id, _struct) do Dispatcher.listen_event_type(EndSaga) end @impl true def handle_event(id, %Event{body...
16.37037
69
0.68552
93619191518ae7e3e1c2298b4d4f00d113c0e9a5
6,921
ex
Elixir
lib/pony_express/client.ex
ityonemo/pony_express
42bc7dcc1456ef6dd04436d67026a7f63e86482d
[ "BSD-3-Clause" ]
7
2019-12-07T16:10:00.000Z
2020-12-20T22:50:37.000Z
lib/pony_express/client.ex
ityonemo/pony_express
42bc7dcc1456ef6dd04436d67026a7f63e86482d
[ "BSD-3-Clause" ]
4
2020-08-27T20:41:21.000Z
2020-08-28T04:28:02.000Z
lib/pony_express/client.ex
ityonemo/pony_express
42bc7dcc1456ef6dd04436d67026a7f63e86482d
[ "BSD-3-Clause" ]
1
2019-12-07T16:10:08.000Z
2019-12-07T16:10:08.000Z
defmodule PonyExpress.Client do @moduledoc """ GenServer which initiates a TLS connection to a remote `Phoenix.PubSub` server and forwards the subscription across the TLS connection to a local PubSub server. Note that PubSub messages are forwarded in one direction only, from server to client. A future ve...
31.316742
96
0.629678
9361a15442be9d7206f2cc360495226276fba914
7,258
ex
Elixir
lib/nacha/batch.ex
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
8
2020-02-06T17:38:02.000Z
2022-01-01T01:41:07.000Z
lib/nacha/batch.ex
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
2
2019-06-28T03:40:09.000Z
2019-06-28T04:10:34.000Z
lib/nacha/batch.ex
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
2
2019-11-24T15:52:44.000Z
2019-11-25T12:14:42.000Z
defmodule Nacha.Batch do @moduledoc """ A struct that represents a batch, containing the Batch Header, Batch Control, and Entry Detail records. Also includes utility functions for building and managing batches. """ import Kernel, except: [to_string: 1] alias Nacha.Records.BatchHeader, as: Header alia...
27.388679
79
0.619041
9361a54aeb59157741ab0292954e812eed3eab5a
2,731
exs
Elixir
test/elixir/test/view_offsets_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
1
2020-09-11T19:23:27.000Z
2020-09-11T19:23:27.000Z
test/elixir/test/view_offsets_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
1
2018-02-08T23:08:43.000Z
2018-02-08T23:08:43.000Z
test/elixir/test/view_offsets_test.exs
RGS-IT-Development/couchdb
e25ae03a75eafe5ecb286399da5186f2fac25835
[ "Apache-2.0" ]
null
null
null
defmodule ViewOffsetTest do use CouchTestCase @moduletag :view_offsets @moduletag kind: :single_node @moduledoc """ Tests about view offsets. This is a port of the view_offsets.js javascript test suite. """ @docs [ %{"_id" => "a1", "letter" => "a", "number" => 1, "foo" => "bar"}, %{"_id" => "...
26.77451
73
0.479678
9361cc03c68d5ce4d45ed0131c5973982264d703
3,022
ex
Elixir
examples/png.ex
ScrimpyCat/Tonic
7e96f2f2282d473d70974e36d55c21b6a3dfd55a
[ "BSD-2-Clause" ]
8
2016-04-16T00:02:44.000Z
2021-09-06T02:55:26.000Z
examples/png.ex
ScrimpyCat/Tonic
7e96f2f2282d473d70974e36d55c21b6a3dfd55a
[ "BSD-2-Clause" ]
1
2017-08-11T17:55:36.000Z
2017-09-26T14:51:43.000Z
examples/png.ex
ScrimpyCat/Tonic
7e96f2f2282d473d70974e36d55c21b6a3dfd55a
[ "BSD-2-Clause" ]
1
2018-04-30T14:48:12.000Z
2018-04-30T14:48:12.000Z
#Example PNG loader (parses a few different chunks) defmodule PNG do use Tonic endian :big repeat :magic, 8, :uint8 repeat :chunks do uint32 :length string :type, length: 4 chunk get(:length) do on get(:type) do "IHDR" -> uint32 :w...
44.441176
188
0.439113
93622664136bbaaae6f7ecb8b7de28ab96682100
2,452
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/authentication.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/authentication.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/authentication.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...
49.04
467
0.757341
93624484186534cf88e2108a0a025436a0c87c51
1,724
ex
Elixir
lib/kinesis_client/stream/app_state/adapter.ex
knocklabs/kcl_ex
d032744cb037cea351af1fad826923253bced2b4
[ "Apache-2.0" ]
null
null
null
lib/kinesis_client/stream/app_state/adapter.ex
knocklabs/kcl_ex
d032744cb037cea351af1fad826923253bced2b4
[ "Apache-2.0" ]
null
null
null
lib/kinesis_client/stream/app_state/adapter.ex
knocklabs/kcl_ex
d032744cb037cea351af1fad826923253bced2b4
[ "Apache-2.0" ]
null
null
null
defmodule KinesisClient.Stream.AppState.Adapter do @moduledoc false alias KinesisClient.Stream.AppState.ShardLease @doc """ Implement to setup any backend storage. Should not clear data as this will be called everytime a `KinesisClient.Stream.Coordinator` process is started. """ @callback initialize(app...
33.153846
98
0.520882
9362480b9b84609f056fec40377ecfa598175917
101
exs
Elixir
spec/aoc/day13_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
spec/aoc/day13_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
spec/aoc/day13_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
defmodule AoC.Day13.Spec do @moduledoc false use ESpec describe "sanity checks" do end end
11.222222
29
0.722772
93626463230c3119e227c7c7400770195dcaf95b
2,130
exs
Elixir
test/text_based_fps/player_commands/leave_room_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
1
2022-03-02T12:18:07.000Z
2022-03-02T12:18:07.000Z
test/text_based_fps/player_commands/leave_room_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
12
2021-05-31T21:41:09.000Z
2021-07-30T03:18:09.000Z
test/text_based_fps/player_commands/leave_room_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
null
null
null
defmodule TextBasedFPS.PlayerCommands.LeaveRoomTest do alias TextBasedFPS.{CommandExecutor, ServerState} use ExUnit.Case, async: true setup do state = ServerState.new() |> ServerState.add_player("foo") |> ServerState.update_player("foo", &Map.put(&1, :name, "foo")) |> ServerState.add...
35.5
98
0.642723
9362647a610a56bd9b4aa8c8a45c345b7fc27d04
1,910
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/list_subscriptions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/list_subscriptions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/list_subscriptions_response.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...
38.2
238
0.743455
93626a51e516a3bb924bb31cc2e52c9bd50e197c
897
ex
Elixir
test/support/property_generators.ex
ympons/expreso
2c176da65d7d9b6a48940a4610aad1c5420bbf5b
[ "MIT" ]
54
2017-02-02T14:48:18.000Z
2022-02-22T16:26:15.000Z
test/support/property_generators.ex
ympons/expreso
2c176da65d7d9b6a48940a4610aad1c5420bbf5b
[ "MIT" ]
5
2018-02-01T19:00:33.000Z
2021-08-15T13:50:31.000Z
test/support/property_generators.ex
ympons/expreso
2c176da65d7d9b6a48940a4610aad1c5420bbf5b
[ "MIT" ]
4
2018-02-01T15:17:35.000Z
2020-02-14T12:12:00.000Z
defmodule Expreso.PropertyGenerators do @moduledoc """ Custom generators for ExUnit Property tests """ use ExUnitProperties @doc "Generates a list of any given type and a value that could be in that list" def one_of_values_in_list(types) do types |> one_of() |> (&{&1, nonempty(list_of(&1))}).()...
21.357143
82
0.605351
9362703281a37e2ea38770c0c780961a465fe955
1,577
ex
Elixir
lib/surface/catalogue/components/table.ex
RobertDober/surface_catalogue
05495b00573b4138a167812e33e8d441590e4c89
[ "MIT" ]
132
2021-02-02T04:03:17.000Z
2022-03-24T07:02:00.000Z
lib/surface/catalogue/components/table.ex
RobertDober/surface_catalogue
05495b00573b4138a167812e33e8d441590e4c89
[ "MIT" ]
30
2021-02-16T13:18:43.000Z
2022-03-20T20:25:47.000Z
lib/surface/catalogue/components/table.ex
RobertDober/surface_catalogue
05495b00573b4138a167812e33e8d441590e4c89
[ "MIT" ]
17
2021-03-20T16:23:13.000Z
2022-03-15T16:21:08.000Z
defmodule Surface.Catalogue.Components.Table do @moduledoc false use Surface.Component @doc "The data that populates the table" prop data, :list, required: true @doc "The table is expanded (full-width)" prop expanded, :boolean, default: true @doc "Add borders to all the cells" prop bordered, :boolea...
24.640625
80
0.564363
936282006a8a47f95d4ab058733f5e8c96519ae0
942
exs
Elixir
mix.exs
nicholascheza/wormhole
cd4007fe88a6198ba579dfe4e01aefbae0592d57
[ "MIT" ]
1
2019-05-06T10:15:30.000Z
2019-05-06T10:15:30.000Z
mix.exs
nicholascheza/wormhole
cd4007fe88a6198ba579dfe4e01aefbae0592d57
[ "MIT" ]
null
null
null
mix.exs
nicholascheza/wormhole
cd4007fe88a6198ba579dfe4e01aefbae0592d57
[ "MIT" ]
null
null
null
defmodule Wormhole.Mixfile do use Mix.Project def project do [app: :wormhole, version: "2.3.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps()] end def application do ...
21.906977
72
0.592357
9362a96b21035e27d23c9a1c6227ce19bbfd84a2
5,077
ex
Elixir
lib/vivid/path.ex
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
26
2017-01-03T01:18:38.000Z
2019-02-21T09:26:20.000Z
lib/vivid/path.ex
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
null
null
null
lib/vivid/path.ex
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
2
2017-03-18T22:45:49.000Z
2017-05-08T07:24:58.000Z
defmodule Vivid.Path do alias Vivid.{Path, Point, Line, Shape} defstruct vertices: [] @moduledoc ~S""" Describes a path as a series of vertices. Path implements both the `Enumerable` and `Collectable` protocols. ## Example iex> use Vivid ...> 0..3 ...> |> Stream.map(fn ...> i whe...
26.721053
148
0.547567
9362d75ac4a9794f94716a721ef1b837771998f9
797
ex
Elixir
lib/core.ex
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
16
2018-02-02T14:07:10.000Z
2021-02-03T13:57:30.000Z
lib/core.ex
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
62
2019-03-14T15:52:12.000Z
2022-03-22T10:34:56.000Z
lib/core.ex
Pavinati/astarte_core
dd37ddd2b1bdcef0b1474be9c81d9a0efa4cda81
[ "Apache-2.0" ]
9
2018-02-02T09:55:06.000Z
2021-03-04T15:15:08.000Z
# # This file is part of Astarte. # # Copyright 2018 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
33.208333
87
0.759097
9362f9ca1a49011e192f8c1ac211c8ec8000ca46
4,324
exs
Elixir
test/unit/hologram/commons/encoder_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/commons/encoder_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/commons/encoder_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Commons.EncoderTest do use Hologram.Test.UnitCase, async: true alias Hologram.Commons.Encoder alias Hologram.Compiler.{Context, Opts} alias Hologram.Compiler.IR.{AtomType, Block, IntegerType, Variable} describe "encode_args/3" do test "non-variable arg" do args = [%IntegerType{v...
24.429379
98
0.586263
936300c14fe43b7deabeb7b7bda7ace7949078d5
4,450
ex
Elixir
lib/lexoffice/model/invoice.ex
fbettag/lexoffice.ex
71be94dd9b1876e87cb6a395a3003ac89ea5d281
[ "MIT" ]
null
null
null
lib/lexoffice/model/invoice.ex
fbettag/lexoffice.ex
71be94dd9b1876e87cb6a395a3003ac89ea5d281
[ "MIT" ]
null
null
null
lib/lexoffice/model/invoice.ex
fbettag/lexoffice.ex
71be94dd9b1876e87cb6a395a3003ac89ea5d281
[ "MIT" ]
null
null
null
defmodule LexOffice.Model.LineItem do @moduledoc """ Structure for describing invoice line item data. """ @derive [Poison.Encoder] defstruct [ :id, :type, :name, :description, :quantity, :unitName, :unitPrice, :discountPercentage, :lineItemAmount ] @type t :: %__MODUL...
20.697674
84
0.63573
93630d1430467e132523f31ab236ea9686b126da
3,653
ex
Elixir
lib/strava/model/detailed_activity.ex
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
39
2016-04-09T21:50:34.000Z
2022-03-04T09:16:25.000Z
lib/strava/model/detailed_activity.ex
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
24
2016-05-29T15:49:07.000Z
2022-01-17T11:57:05.000Z
lib/strava/model/detailed_activity.ex
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
21
2016-02-02T01:19:23.000Z
2022-02-06T23:29:32.000Z
defmodule Strava.DetailedActivity do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :id, :external_id, :upload_id, :athlete, :name, :distance, :moving_time, :elapsed_time, :total_elevation_gain, :elev_high, :elev_low, :type, :start_date, :start_...
27.674242
82
0.592937
93633ce756d00a77172a4b96bcc69ed36114bf01
1,080
ex
Elixir
lib/cubdb/compactor.ex
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
null
null
null
lib/cubdb/compactor.ex
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
null
null
null
lib/cubdb/compactor.ex
LostKobrakai/cubdb
457ac8b94320b26d851f1a36d75001dbba2edc5a
[ "Apache-2.0" ]
null
null
null
defmodule CubDB.Compactor do @moduledoc false # The `CubDB.Compactor` module takes care of the compaction operation, to # reclaim disk space. It does so by loading all entries in a new store (using # the fast algorithm provided by `Btree.load/2`). This will cause the new # store to only contain the entries r...
37.241379
79
0.740741
93633d5f90bbc4ef804891c59bee26fe7d605dc1
691
ex
Elixir
lib/aws_codegen/name.ex
tyrchen/aws-codegen
db609f7351e0c17c43526cbf4110cb01bad5b77c
[ "Apache-2.0" ]
null
null
null
lib/aws_codegen/name.ex
tyrchen/aws-codegen
db609f7351e0c17c43526cbf4110cb01bad5b77c
[ "Apache-2.0" ]
null
null
null
lib/aws_codegen/name.ex
tyrchen/aws-codegen
db609f7351e0c17c43526cbf4110cb01bad5b77c
[ "Apache-2.0" ]
null
null
null
defmodule AWS.CodeGen.Name do @doc """ Convert `CamelCase` or `nerdyCaps` to `snake_case`. """ def to_snake_case(text) do String.replace(text, "iSCSI", "Iscsi") |> String.replace("BGP", "Bgp") |> String.replace("CSV", "Csv") |> String.replace("NFS", "Nfs") |> String.replace("VTL", "Vtl") ...
23.033333
53
0.597685
93635c4892c5ab9fa83df385ac0241ed37c15ad8
947
exs
Elixir
config/config.exs
joeletizia/rumbl
db213d5231927b0cf27d4f59341c370816099a0b
[ "MIT" ]
null
null
null
config/config.exs
joeletizia/rumbl
db213d5231927b0cf27d4f59341c370816099a0b
[ "MIT" ]
null
null
null
config/config.exs
joeletizia/rumbl
db213d5231927b0cf27d4f59341c370816099a0b
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :rumbl, Rumbl.Endpoint, url: [host: "localhost"], ...
31.566667
86
0.756072
93637e5b7ac11223a8ceedd70db4c8347ec87553
684
ex
Elixir
apps/phoenix_live_view_starter_app_web/lib/phoenix_live_view_starter_app_web/router.ex
ottobar/phoenix-live-page-starter-app
33e3655bfa01af1559694db296e9b0a1579b11d2
[ "Unlicense" ]
null
null
null
apps/phoenix_live_view_starter_app_web/lib/phoenix_live_view_starter_app_web/router.ex
ottobar/phoenix-live-page-starter-app
33e3655bfa01af1559694db296e9b0a1579b11d2
[ "Unlicense" ]
2
2021-03-09T09:39:03.000Z
2021-05-09T10:54:12.000Z
apps/phoenix_live_view_starter_app_web/lib/phoenix_live_view_starter_app_web/router.ex
ottobar/phoenix-live-page-starter-app
33e3655bfa01af1559694db296e9b0a1579b11d2
[ "Unlicense" ]
null
null
null
defmodule PhoenixLiveViewStarterAppWeb.Router do use PhoenixLiveViewStarterAppWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug Phoenix.LiveView.Flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do ...
22.064516
49
0.714912
936385f60bd570459b9d50cf819235705c0ed597
1,495
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/success_detail.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/success_detail.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/success_detail.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.145833
114
0.745151
9363c352bb0ec0effcf403879c7c9b454943c3a8
6,397
ex
Elixir
apps/omg_performance/lib/omg_performance/sender_manager.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_performance/lib/omg_performance/sender_manager.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_performance/lib/omg_performance/sender_manager.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "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...
34.578378
114
0.673753
9363f3669bd608273be31fc147b1b75cab3264bd
909
ex
Elixir
lib/ex_csv.ex
CargoSense/ex_csv
247df4f6d244b5fdbad52dd27385716a6bd48825
[ "MIT", "Unlicense" ]
46
2015-07-27T15:11:46.000Z
2022-03-18T04:36:25.000Z
lib/ex_csv.ex
CargoSense/ex_csv
247df4f6d244b5fdbad52dd27385716a6bd48825
[ "MIT", "Unlicense" ]
7
2015-06-23T17:55:27.000Z
2016-08-03T20:51:23.000Z
lib/ex_csv.ex
CargoSense/ex_csv
247df4f6d244b5fdbad52dd27385716a6bd48825
[ "MIT", "Unlicense" ]
12
2015-04-11T05:26:40.000Z
2018-09-25T15:00:12.000Z
defmodule ExCsv do defdelegate parse(text), to: ExCsv.Parser defdelegate parse(text, settings), to: ExCsv.Parser defdelegate parse!(text), to: ExCsv.Parser defdelegate parse!(text, settings), to: ExCsv.Parser def headings(%{headings: headings}), do: headings def body(%{body: body}), do: body def as(%{h...
31.344828
110
0.689769
93643709dbb3f309ef2053f5e3cf5ddcd28b8b0b
1,430
exs
Elixir
mix.exs
soichiro-nishizawa/etso
98a7ca1e23f9e2fc4b9bde0f9f2e197aae762a4c
[ "Apache-2.0" ]
null
null
null
mix.exs
soichiro-nishizawa/etso
98a7ca1e23f9e2fc4b9bde0f9f2e197aae762a4c
[ "Apache-2.0" ]
null
null
null
mix.exs
soichiro-nishizawa/etso
98a7ca1e23f9e2fc4b9bde0f9f2e197aae762a4c
[ "Apache-2.0" ]
null
null
null
defmodule Etso.MixProject do use Mix.Project def project do [ app: :etso, version: "0.1.5", elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, package: package(), deps: deps(), dialyzer: dialyzer(), name: "Etso",...
20.724638
88
0.556643
9364428ccfc41fd61d540e5793cdec31516a01b3
505
ex
Elixir
market_api/web/models/product.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/web/models/product.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/web/models/product.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule MarketApi.Product do use MarketApi.Web, :model schema "products" do field :name, :string field :barcode, :string field :image, :string field :price, :decimal belongs_to :market, MarketApi.Market timestamps end @doc """ Builds a changeset based on the `struct` and `params`....
21.956522
59
0.641584
9364a78afffba52069344fe909485211952be7d9
207
exs
Elixir
config/test.exs
cwc/monero_ex
6c63513ef2770c74c0bd840877732c54ad8678d8
[ "Unlicense", "MIT" ]
null
null
null
config/test.exs
cwc/monero_ex
6c63513ef2770c74c0bd840877732c54ad8678d8
[ "Unlicense", "MIT" ]
null
null
null
config/test.exs
cwc/monero_ex
6c63513ef2770c74c0bd840877732c54ad8678d8
[ "Unlicense", "MIT" ]
null
null
null
use Mix.Config config :logger, level: :warn config :monero, json_codec: Test.JSONCodec config :monero, :wallet, url: "http://127.0.0.1:18081" config :monero, :daemon, url: "http://127.0.0.1:28081"
15.923077
31
0.676329
9364cab82d00d171bff373c89f492a092801c0cd
262
ex
Elixir
lib/idvote/repo.ex
boisebrigade/idvote
fb1d3f348db094e0578d6976a0a349971bf7aab7
[ "ISC" ]
2
2018-08-15T02:03:36.000Z
2019-02-06T23:27:56.000Z
lib/idvote/repo.ex
boisebrigade/idvote
fb1d3f348db094e0578d6976a0a349971bf7aab7
[ "ISC" ]
14
2018-08-11T19:47:56.000Z
2018-08-29T22:44:22.000Z
lib/idvote/repo.ex
boisebrigade/idvote
fb1d3f348db094e0578d6976a0a349971bf7aab7
[ "ISC" ]
2
2018-08-11T16:44:02.000Z
2018-08-28T03:45:55.000Z
defmodule Idvote.Repo do use Ecto.Repo, otp_app: :idvote @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
21.833333
66
0.694656
9364ef4921499700847ab263ad949eb949bff106
13,509
exs
Elixir
test/absinthe/schema/notation_test.exs
ymtszw/absinthe
cc9cf2dcde981b6a49fdc0ea20f60f9d6e9aa9fd
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
test/absinthe/schema/notation_test.exs
ymtszw/absinthe
cc9cf2dcde981b6a49fdc0ea20f60f9d6e9aa9fd
[ "MIT" ]
1
2020-04-07T23:46:38.000Z
2020-04-07T23:46:38.000Z
test/absinthe/schema/notation_test.exs
ymtszw/absinthe
cc9cf2dcde981b6a49fdc0ea20f60f9d6e9aa9fd
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.NotationTest do use Absinthe.Case, async: true describe "arg" do test "can be under field as an attribute" do assert_no_notation_error("ArgFieldValid", """ object :foo do field :picture, :string do arg :size, :integer end end """) ...
22.742424
105
0.556962
9364fcf87fd5d44ff1c4b7a5fd4e0e577ae81f40
2,216
ex
Elixir
lib/event_store/storage/snapshot.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
576
2017-11-03T14:11:07.000Z
2022-03-29T06:18:47.000Z
lib/event_store/storage/snapshot.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
129
2017-11-08T06:10:20.000Z
2021-09-15T16:18:14.000Z
lib/event_store/storage/snapshot.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
118
2017-11-14T14:10:09.000Z
2022-03-28T13:13:56.000Z
defmodule EventStore.Storage.Snapshot do @moduledoc false require Logger alias EventStore.Snapshots.SnapshotData alias EventStore.Sql.Statements def read_snapshot(conn, source_uuid, opts) do {schema, opts} = Keyword.pop(opts, :schema) query = Statements.query_snapshot(schema) case Postgrex.qu...
25.471264
112
0.626805
936514383d3ecf3495a2d72aebe2b86550648177
1,877
exs
Elixir
mix.exs
c4710n/configparser_ex
683aad33004b5728b76326cc742dd9816e58450d
[ "BSD-3-Clause" ]
null
null
null
mix.exs
c4710n/configparser_ex
683aad33004b5728b76326cc742dd9816e58450d
[ "BSD-3-Clause" ]
null
null
null
mix.exs
c4710n/configparser_ex
683aad33004b5728b76326cc742dd9816e58450d
[ "BSD-3-Clause" ]
null
null
null
defmodule ConfigParser.Mixfile do use Mix.Project @version "4.0.0" @source_url "https://github.com/c4710n/ex_configparser" def project do [ app: :configparser, version: @version, name: "ConfigParser for Elixir", source_url: @source_url, elixir: ">= 1.7.0", package: pack...
22.082353
77
0.564198
936522dbaa56e3805ee1eb081eab5dff3893aba3
1,135
exs
Elixir
config/config.exs
dreamingechoes/randomuser_ex
cfc72e015d2b110d2a4589bf6abb90793905c98c
[ "MIT" ]
4
2017-08-16T18:14:29.000Z
2020-01-14T03:19:54.000Z
config/config.exs
dreamingechoes/randomuser_ex
cfc72e015d2b110d2a4589bf6abb90793905c98c
[ "MIT" ]
null
null
null
config/config.exs
dreamingechoes/randomuser_ex
cfc72e015d2b110d2a4589bf6abb90793905c98c
[ "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.612903
73
0.754185
9365371009908c0470be19076ad15e5040586f7e
1,411
exs
Elixir
apps/admin_api/test/admin_api/invites/invite_email_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/test/admin_api/invites/invite_email_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/invites/invite_email_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminAPI.InviteEmailTest do use AdminAPI.ConnCase alias AdminAPI.InviteEmail alias EWalletDB.Repo defp create_email(email, token) do invite = insert(:invite, %{token: token}) _user = insert(:admin, %{email: email, invite: invite}) invite = Repo.preload(invite, :user) email = InviteE...
33.595238
90
0.682495
936562a8dea2183a587d1c53d4eae3957e475d4b
1,822
exs
Elixir
mix.exs
aaronrenner/nerves_system_rpi0_zbar
8b4db176fb9ca67ff004a0b15a43defa52d1ed95
[ "Apache-2.0" ]
null
null
null
mix.exs
aaronrenner/nerves_system_rpi0_zbar
8b4db176fb9ca67ff004a0b15a43defa52d1ed95
[ "Apache-2.0" ]
null
null
null
mix.exs
aaronrenner/nerves_system_rpi0_zbar
8b4db176fb9ca67ff004a0b15a43defa52d1ed95
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi0Zbar.Mixfile do use Mix.Project @app :nerves_system_rpi0_zbar @version Path.join(__DIR__, "VERSION") |> File.read! |> String.trim def project do [ app: @app, version: @version, elixir: "~> 1.4", compilers: Mix.compilers() ++ [:nerves_package], ...
21.435294
79
0.563666
93657e46c8ea55f0a87fdf432f2ebeb1a476ba97
1,007
exs
Elixir
mix.exs
DylanGriffith/cocktails-io
92fb672ee4cdec59cd46dc3a84a2318c43a5e9a3
[ "MIT" ]
null
null
null
mix.exs
DylanGriffith/cocktails-io
92fb672ee4cdec59cd46dc3a84a2318c43a5e9a3
[ "MIT" ]
null
null
null
mix.exs
DylanGriffith/cocktails-io
92fb672ee4cdec59cd46dc3a84a2318c43a5e9a3
[ "MIT" ]
null
null
null
defmodule CocktailsIo.Mixfile do use Mix.Project def project do [app: :cocktails_io, version: "0.0.1", elixir: "~> 1.1", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.app"...
23.418605
77
0.561072
93658b2b9b8a8da4da0d9c823898fb34d93bd07f
609
ex
Elixir
lib/timetracker_web/router.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
1
2019-06-26T06:53:01.000Z
2019-06-26T06:53:01.000Z
lib/timetracker_web/router.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
null
null
null
lib/timetracker_web/router.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
null
null
null
defmodule TimetrackerWeb.Router do use TimetrackerWeb, :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 "/", TimetrackerWeb ...
21
51
0.688013
9365b40b8964c4828d484aac8ef8327efed2e8b3
373
ex
Elixir
apps/queue/lib/queue/application.ex
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
34
2017-05-07T08:50:59.000Z
2021-11-25T00:27:11.000Z
apps/queue/lib/queue/application.ex
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
null
null
null
apps/queue/lib/queue/application.ex
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
7
2017-05-10T12:42:30.000Z
2021-11-03T01:21:02.000Z
defmodule Queue.Application do @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Queue.Simple.Queue.Supervisor, []), supervisor(Queue.Pipeline.Supervisor, []) ] opts = [strategy: :rest_for_one, name: Queue.Supervisor]...
21.941176
60
0.691689
9365d2c0bec94fe55e2ae0a70026e5cfd199e54c
71
ex
Elixir
apps/nightcrawler_web/lib/nightcrawler_web/views/page_view.ex
ZucchiniZe/nightcrawler_elixir
be82b0e7c25f55c7d2c2d3aa2860371cb68aeeb6
[ "MIT" ]
null
null
null
apps/nightcrawler_web/lib/nightcrawler_web/views/page_view.ex
ZucchiniZe/nightcrawler_elixir
be82b0e7c25f55c7d2c2d3aa2860371cb68aeeb6
[ "MIT" ]
null
null
null
apps/nightcrawler_web/lib/nightcrawler_web/views/page_view.ex
ZucchiniZe/nightcrawler_elixir
be82b0e7c25f55c7d2c2d3aa2860371cb68aeeb6
[ "MIT" ]
null
null
null
defmodule NightcrawlerWeb.PageView do use NightcrawlerWeb, :view end
17.75
37
0.830986
936602bc22d9298bada01711c6837ba95d945e54
2,765
ex
Elixir
apps/enchat_web/lib/enchat_web/channels/presence.ex
Allypost/enchat
f9cff2906116550099f4574bf44e8dc1fea6d476
[ "MIT" ]
null
null
null
apps/enchat_web/lib/enchat_web/channels/presence.ex
Allypost/enchat
f9cff2906116550099f4574bf44e8dc1fea6d476
[ "MIT" ]
null
null
null
apps/enchat_web/lib/enchat_web/channels/presence.ex
Allypost/enchat
f9cff2906116550099f4574bf44e8dc1fea6d476
[ "MIT" ]
null
null
null
defmodule EnchatWeb.Presence do @moduledoc """ Provides presence tracking to channels and processes. See the [`Phoenix.Presence`](http://hexdocs.pm/phoenix/Phoenix.Presence.html) docs for more details. ## Usage Presences can be tracked in your channel after joining: defmodule EnchatWeb.MyChannel d...
37.364865
79
0.673779
93663445d09d21c89ade899a0b7f742eaae35fee
3,466
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/http_retry_policy.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_retry_policy.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_retry_policy.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...
54.15625
242
0.742931
93663a56f6f49ae0cd1baf2530d9469bf2812408
91
exs
Elixir
config/test.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
config/test.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
config/test.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
import Config config :square_elixir_sdk, access_token: {:system, "SQUARE_ACCESS_TOKEN"}
18.2
48
0.791209
93663b7a6f0a4e5afa4c0ec8e2978b0d09b39704
1,499
exs
Elixir
mix.exs
IanLuites/kvasir
fb8e577763bff0736c75d5edd227eaff570e64ea
[ "MIT" ]
12
2019-11-28T10:58:51.000Z
2022-02-08T18:15:12.000Z
mix.exs
IanLuites/kvasir
fb8e577763bff0736c75d5edd227eaff570e64ea
[ "MIT" ]
null
null
null
mix.exs
IanLuites/kvasir
fb8e577763bff0736c75d5edd227eaff570e64ea
[ "MIT" ]
null
null
null
defmodule Kvasir.MixProject do use Mix.Project @version "0.0.3" def project do [ app: :kvasir, description: "Opinionated Kafka library.", version: @version, elixir: "~> 1.7", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), ...
20.819444
84
0.512342
936649c7c62d6ea728cb9d713c4914c52f4fd8bf
831
ex
Elixir
charts_live/lib/charts_live/live/column_live/chart_component.ex
Refined-Process/charts_ex
6d23eff5903496b7a4518a3208486a15a3354ae2
[ "MIT" ]
null
null
null
charts_live/lib/charts_live/live/column_live/chart_component.ex
Refined-Process/charts_ex
6d23eff5903496b7a4518a3208486a15a3354ae2
[ "MIT" ]
null
null
null
charts_live/lib/charts_live/live/column_live/chart_component.ex
Refined-Process/charts_ex
6d23eff5903496b7a4518a3208486a15a3354ae2
[ "MIT" ]
null
null
null
defmodule ChartsLive.Live.ColumnLive.ChartComponent do @moduledoc """ Bar Chart Component """ use Phoenix.LiveComponent alias ChartsLive.ColumnView alias Charts.ColumnChart def update(assigns, socket) do y_axis = assigns.chart.dataset.axes.magnitude_axis # Hardcode the number of steps to take a...
26.806452
89
0.702768
93664a8580e6c9cf715587eb723a3d126fb3fb83
118
exs
Elixir
config/test.exs
adanselm/exgitd
db693f3507a09788ea1f45901b15233e650ccbaa
[ "MIT" ]
3
2015-01-13T18:38:37.000Z
2017-10-27T17:04:09.000Z
config/test.exs
adanselm/exgitd
db693f3507a09788ea1f45901b15233e650ccbaa
[ "MIT" ]
null
null
null
config/test.exs
adanselm/exgitd
db693f3507a09788ea1f45901b15233e650ccbaa
[ "MIT" ]
null
null
null
use Mix.Config config :exgitd, MyApp.Endpoint, http: [port: System.get_env("PORT") || 4001], catch_errors: false
19.666667
47
0.70339
9366807112fda2bc4b2787f3fc74da58686f2df9
3,563
ex
Elixir
apps/scheduler/lib/struct/job.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
6
2017-08-10T13:57:06.000Z
2019-01-17T08:48:40.000Z
apps/scheduler/lib/struct/job.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
14
2017-08-08T13:07:00.000Z
2019-02-28T15:10:18.000Z
apps/scheduler/lib/struct/job.ex
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
null
null
null
defmodule Scheduler.Struct.Job do @moduledoc """ { "name": string, "description": string, "schedule": string, "timeZone": string, "userUpdateTime": string, "state": enum(State), "status": { object(Status) }, "scheduleTime": string, "lastAttemptTime": string, "retry...
27.198473
111
0.581532
9366d8ff6800d7bcf178d0629a6abf4f51637ee3
2,051
exs
Elixir
config/prod.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
null
null
null
config/prod.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
1
2021-03-10T19:38:43.000Z
2021-03-10T19:38:43.000Z
config/prod.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
36.625
66
0.720137
9366f04a8105eb0141dd7f1b546b2a83441854f6
894
ex
Elixir
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.111111
74
0.761745
9366fd8620604b379492c3428f9905ff3a1a704e
12,811
ex
Elixir
lib/livebook/utils.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
1
2022-02-16T09:13:27.000Z
2022-02-16T09:13:27.000Z
lib/livebook/utils.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
null
null
null
lib/livebook/utils.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Utils do @moduledoc false @type id :: binary() @doc """ Generates a random binary id. """ @spec random_id() :: id() def random_id() do :crypto.strong_rand_bytes(20) |> Base.encode32(case: :lower) end @doc """ Generates a random short binary id. """ @spec random_short_id...
26.689583
103
0.609867
9367350495a97984c68dc9a5d70f24108f915574
286
ex
Elixir
lib/ex_mon_web/auth/error_handler.ex
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
lib/ex_mon_web/auth/error_handler.ex
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
lib/ex_mon_web/auth/error_handler.ex
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
defmodule ExMonWeb.Auth.ErrorHandler do @moduledoc """ Module Doc Name """ import Plug.Conn @behaviour Guardian.Plug.ErrorHandler def auth_error(conn, {type, _reason}, _opts) do body = Jason.encode!(%{message: to_string(type)}) send_resp(conn, 401, body) end end
22
53
0.699301
936759c561914edc9bee6ba53d334fb1bc0c1637
1,115
exs
Elixir
config/config.exs
Twizty/elmonads
96f61f1aa2b39cc9091eaccfae342d478621ce7d
[ "MIT" ]
null
null
null
config/config.exs
Twizty/elmonads
96f61f1aa2b39cc9091eaccfae342d478621ce7d
[ "MIT" ]
null
null
null
config/config.exs
Twizty/elmonads
96f61f1aa2b39cc9091eaccfae342d478621ce7d
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
9367c9f52896fa22d255d81e3c4ccd31ee18e3d3
3,371
ex
Elixir
lib/faker/datetime.ex
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
lib/faker/datetime.ex
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
lib/faker/datetime.ex
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker.DateTime do @moduledoc """ Functions for working with `DateTime` values. """ @microseconds_per_day 86_400_000_000 @doc """ Returns a random date in the past up to N days, today not included ## Examples iex> Faker.DateTime.backward(4) #=> %DateTime{calendar: Calendar.ISO, da...
27.406504
83
0.622961
9367cc118c495de4d2e23a4db57e7a61c58645b0
1,989
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/config_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/config_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/config_settings.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...
34.894737
127
0.709402
9367db035eacf56a54073bb841418af916240ef8
1,725
exs
Elixir
test/ports_test.exs
martide/ports
faf39961f0bcccc82186ef7d13c5e29edd53e413
[ "Apache-2.0" ]
null
null
null
test/ports_test.exs
martide/ports
faf39961f0bcccc82186ef7d13c5e29edd53e413
[ "Apache-2.0" ]
null
null
null
test/ports_test.exs
martide/ports
faf39961f0bcccc82186ef7d13c5e29edd53e413
[ "Apache-2.0" ]
null
null
null
defmodule PortsTest do use ExUnit.Case, async: true doctest Ports describe "ports" do test "all/0 get all ports" do ports = Ports.all() assert Enum.count(ports) == 112_052 end end describe "countries" do test "countries/0 get all countries" do countries = Ports.countries() ...
26.538462
85
0.642899
9367e553f0844d68dfb0944b898236c0cfb795c5
69
ex
Elixir
apps/summoner_web/lib/summoner_web_web/views/page_view.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_web/lib/summoner_web_web/views/page_view.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_web/lib/summoner_web_web/views/page_view.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
defmodule SummonerWebWeb.PageView do use SummonerWebWeb, :view end
17.25
36
0.826087
936804a833939d416973e04fed433b61c4a6101e
2,165
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/url_map_validation_result.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/url_map_validation_result.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/url_map_validation_result.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "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 "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...
37.982456
184
0.73164
9368076ca4f24d72d4a7172f985c292f80556065
3,693
exs
Elixir
test/chat_api/browser_replay_events_test.exs
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
test/chat_api/browser_replay_events_test.exs
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
test/chat_api/browser_replay_events_test.exs
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule ChatApi.BrowserReplayEventsTest do use ChatApi.DataCase import ChatApi.Factory alias ChatApi.BrowserReplayEvents alias ChatApi.BrowserReplayEvents.BrowserReplayEvent describe "browser_replay_events" do @update_attrs %{event: %{"foo" => "baz"}} @invalid_attrs %{account_id: nil, event: nil}...
36.564356
90
0.690496
9368535c368c51aa5904906837d4c37770cb0093
193
exs
Elixir
test/test_helper.exs
fremantle-industries/back_office
e5aeda7abd72ccffabe5b21f26d48b5c573f9670
[ "MIT" ]
85
2020-05-03T22:23:18.000Z
2022-02-22T14:45:37.000Z
test/test_helper.exs
fremantle-industries/workbench
5d299c77f0271332651b4f0510265f676301a5f3
[ "MIT" ]
101
2020-04-26T03:07:51.000Z
2022-03-27T06:17:52.000Z
test/test_helper.exs
fremantle-capital/back_office
91474fad1bf27d913aecd6b36b898eff5d29a831
[ "MIT" ]
18
2020-04-26T10:57:55.000Z
2022-01-26T01:50:03.000Z
Ecto.Adapters.SQL.Sandbox.mode(Workbench.Repo, :manual) Application.put_env(:wallaby, :base_url, WorkbenchWeb.Endpoint.url()) {:ok, _} = Application.ensure_all_started(:wallaby) ExUnit.start()
38.6
69
0.782383
9368749845631e1e0d02bad5f480295a9e826b77
1,185
ex
Elixir
lib/rumbl/videos/video.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
null
null
null
lib/rumbl/videos/video.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
2
2021-03-09T19:04:16.000Z
2021-05-10T16:20:10.000Z
lib/rumbl/videos/video.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
1
2020-07-17T14:48:52.000Z
2020-07-17T14:48:52.000Z
defmodule Rumbl.Videos.Video do use Ecto.Schema import Ecto.Changeset alias Rumbl.Users.User alias Rumbl.Categories.Category alias Rumbl.Annotations.Annotation @primary_key {:id, Rumbl.Videos.Permalink, autogenerate: true} schema "videos" do field :description, :string field :title, :string ...
20.431034
64
0.655696
9368773c5f70676eee0b57fa2419f4264e89f697
751
ex
Elixir
lib/algae/tree/binary_search/generator.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
191
2016-08-22T17:34:45.000Z
2019-05-28T19:02:39.000Z
lib/algae/tree/binary_search/generator.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
35
2016-08-30T20:56:22.000Z
2019-05-02T17:32:31.000Z
lib/algae/tree/binary_search/generator.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
10
2016-08-30T18:41:54.000Z
2019-02-14T14:14:55.000Z
alias Algae.Tree.BinarySearch.{Empty, Node} use Witchcraft defimpl TypeClass.Property.Generator, for: Algae.Tree.BinarySearch.Empty do def generate(_), do: Empty.new() end defimpl TypeClass.Property.Generator, for: Algae.Tree.BinarySearch.Node do def generate(_) do random_node() end def random_node do ...
19.25641
75
0.59787
9368d7687751281c55d4bba9362320fd5f2c71f8
1,773
ex
Elixir
lib/yatzy/scoring.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
3
2020-04-23T14:38:39.000Z
2020-05-03T17:20:32.000Z
lib/yatzy/scoring.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
null
null
null
lib/yatzy/scoring.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
null
null
null
defmodule Yatzy.Scoring do @moduledoc """ Utility functions for calculating scores of a given roll. """ alias Yatzy.Roll use TypedStruct typedstruct do field :roll, Roll.t(), default: %Roll{} field :name, String.t(), enforce: true field :description, String.t(), enforce: true field :score,...
23.64
77
0.617597
9368da1a3436d5caa7d64eb159e659fa6a6005c0
71
exs
Elixir
test/views/layout_view_test.exs
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
defmodule BdPro.LayoutViewTest do use BdPro.ConnCase, async: true end
23.666667
33
0.816901
9368eb60033740680ed7a4cbb4ff76ea0dfe68c9
1,507
ex
Elixir
lib/msir_web/endpoint.ex
atilla777/msir
602df87890c2d49b4a19ce490f271b503484b618
[ "BSD-2-Clause" ]
null
null
null
lib/msir_web/endpoint.ex
atilla777/msir
602df87890c2d49b4a19ce490f271b503484b618
[ "BSD-2-Clause" ]
null
null
null
lib/msir_web/endpoint.ex
atilla777/msir
602df87890c2d49b4a19ce490f271b503484b618
[ "BSD-2-Clause" ]
null
null
null
defmodule MsirWeb.Endpoint do use Phoenix.Endpoint, otp_app: :msir # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_msir_key", ...
29.54902
97
0.717983
9368fef452e9b4eb368de299b96a81f6d4086b6b
1,606
ex
Elixir
apps/room_book_web/lib/room_book_web.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
apps/room_book_web/lib/room_book_web.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
apps/room_book_web/lib/room_book_web.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
defmodule RoomBookWeb 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 RoomBookWeb, :controller use RoomBookWeb, :view The definitions below will be executed for every view, controlle...
23.275362
69
0.692403
9369010f75dd158ed6b9422431c074667407f664
2,068
exs
Elixir
config/prod.exs
orieken/profile_services_phoenix
260c06be951d044c159c14fcc0acfa0592125354
[ "MIT" ]
null
null
null
config/prod.exs
orieken/profile_services_phoenix
260c06be951d044c159c14fcc0acfa0592125354
[ "MIT" ]
null
null
null
config/prod.exs
orieken/profile_services_phoenix
260c06be951d044c159c14fcc0acfa0592125354
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.354839
73
0.724371
93690a948c9ea471c33f0de5c9c58163297eabd4
1,117
exs
Elixir
config/config.exs
rviscarra/ft-chat
a3ca0eab4e740c079e608a832e51a6385b275c11
[ "MIT" ]
null
null
null
config/config.exs
rviscarra/ft-chat
a3ca0eab4e740c079e608a832e51a6385b275c11
[ "MIT" ]
null
null
null
config/config.exs
rviscarra/ft-chat
a3ca0eab4e740c079e608a832e51a6385b275c11
[ "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
936962314c5b24196c953eca7e14600513b75176
1,704
ex
Elixir
lib/reanix_web/controllers/api/post_controller.ex
RubyFireStudio/phoenix-api-scaffold
231c11fe6008a47d51e24b8e26fb6f5dc7a24ca6
[ "MIT" ]
null
null
null
lib/reanix_web/controllers/api/post_controller.ex
RubyFireStudio/phoenix-api-scaffold
231c11fe6008a47d51e24b8e26fb6f5dc7a24ca6
[ "MIT" ]
null
null
null
lib/reanix_web/controllers/api/post_controller.ex
RubyFireStudio/phoenix-api-scaffold
231c11fe6008a47d51e24b8e26fb6f5dc7a24ca6
[ "MIT" ]
null
null
null
defmodule ReanixWeb.PostController do use ReanixWeb, :controller alias Reanix.Blog alias Reanix.Blog.Post action_fallback ReanixWeb.FallbackController plug :load_post when action in [:show, :update, :delete] plug :ensure_author when action in [:update, :delete] # Actions def index(conn, _params) do...
25.818182
80
0.625587
9369930072354c4463fe039c5986d93e713ee74f
1,125
exs
Elixir
delfinit/config/config.exs
MalloZup/delfinit
7f11754a34551cdffbce5bf2551a8fe293ad7330
[ "MIT" ]
null
null
null
delfinit/config/config.exs
MalloZup/delfinit
7f11754a34551cdffbce5bf2551a8fe293ad7330
[ "MIT" ]
null
null
null
delfinit/config/config.exs
MalloZup/delfinit
7f11754a34551cdffbce5bf2551a8fe293ad7330
[ "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.290323
73
0.752
93699b2c957d041235a99517886c5676cc1c1806
405
exs
Elixir
test/pebl_web/views/error_view_test.exs
tomkonidas/pebl
6a43570885fba5cf6cdf15c48d843116eedab79b
[ "MIT" ]
6
2020-08-26T11:29:36.000Z
2021-11-25T08:37:28.000Z
test/pebl_web/views/error_view_test.exs
tomkonidas/pebl
6a43570885fba5cf6cdf15c48d843116eedab79b
[ "MIT" ]
20
2020-03-06T05:33:35.000Z
2022-02-17T17:20:38.000Z
test/pebl_web/views/error_view_test.exs
tomkonidas/pebl
6a43570885fba5cf6cdf15c48d843116eedab79b
[ "MIT" ]
2
2020-12-11T16:24:59.000Z
2021-08-16T11:31:08.000Z
defmodule PeblWeb.ErrorViewTest do use PeblWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(PeblWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert rend...
27
89
0.725926
9369e562603fd1a3628e4e426764d9e5143e690e
465
ex
Elixir
architect/lib/architect_web/router.ex
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
3
2017-12-09T21:05:54.000Z
2019-08-06T08:13:34.000Z
architect/lib/architect_web/router.ex
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
63
2017-09-09T15:44:24.000Z
2022-03-03T22:16:24.000Z
architect/lib/architect_web/router.ex
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
5
2017-09-14T00:17:22.000Z
2019-11-27T14:43:45.000Z
defmodule ArchitectWeb.Router do use ArchitectWeb, :router pipeline :api do plug(:accepts, ["json"]) plug(Plug.Parsers, parsers: [Absinthe.Plug.Parser], pass: ["*/*"] ) plug(ArchitectWeb.Context) end scope "/" do pipe_through(:api) if Mix.env() == :dev do forward("...
18.6
79
0.632258
9369f16606e09eda3ef9b595dce2e1142c5b29c2
74,021
ex
Elixir
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/api/sites.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/api/sites.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/api/sites.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...
48.379739
330
0.624039
936a029a29417dba17b6a64e41bffe7ca4cb4384
360
exs
Elixir
discuss/priv/repo/seeds.exs
vegashat/Cards
bfb5a4dfbd9d6b7cf5c0df576a39fa6f94bf7c34
[ "Apache-2.0" ]
3
2019-10-28T21:02:55.000Z
2020-10-01T02:29:37.000Z
discuss/priv/repo/seeds.exs
vegashat/Cards
bfb5a4dfbd9d6b7cf5c0df576a39fa6f94bf7c34
[ "Apache-2.0" ]
1
2021-03-09T12:34:49.000Z
2021-03-09T12:34:49.000Z
discuss/priv/repo/seeds.exs
vegashat/Cards
bfb5a4dfbd9d6b7cf5c0df576a39fa6f94bf7c34
[ "Apache-2.0" ]
4
2019-10-12T19:41:58.000Z
2021-09-24T20:24:47.000Z
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Discuss.Repo.insert!(%Discuss.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will ...
30
65
0.711111
936a1dcb15dc660610af81108f1d4f4262c37cfe
23,226
exs
Elixir
test/sanbase_web/graphql/billing/subscribe_api_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/sanbase_web/graphql/billing/subscribe_api_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/sanbase_web/graphql/billing/subscribe_api_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Billing.SubscribeApiTest do use SanbaseWeb.ConnCase import Sanbase.Factory import Mock import SanbaseWeb.Graphql.TestHelpers import ExUnit.CaptureLog alias Sanbase.Accounts.User alias Sanbase.StripeApi alias Sanbase.StripeApiTestResponse @coupon_code "test_coupon" se...
32.898017
190
0.627745
936a2eb97b967c8853f0f1a2b6073f456ac1e7fa
447
ex
Elixir
lib/lab42/f/sys_interface/implementation.ex
RobertDober/lab42_f
2bf3aa3a82db337192d0e0fca3bf5cf7d153f8c3
[ "Apache-2.0" ]
null
null
null
lib/lab42/f/sys_interface/implementation.ex
RobertDober/lab42_f
2bf3aa3a82db337192d0e0fca3bf5cf7d153f8c3
[ "Apache-2.0" ]
null
null
null
lib/lab42/f/sys_interface/implementation.ex
RobertDober/lab42_f
2bf3aa3a82db337192d0e0fca3bf5cf7d153f8c3
[ "Apache-2.0" ]
null
null
null
defmodule Lab42.F.SysInterface.Implementation do @behaviour Lab42.F.SysInterface.Behavior @spec expand(binary()) :: binary() @impl true def expand(file) do Path.absname(file) end @spec now() :: NaiveDateTime.t() @impl true def now do NaiveDateTime.utc_now() end @spec random_byte() :: bina...
18.625
48
0.666667
936a7039dce39411d9e6803f20bc8bcb9a1f76cc
717
ex
Elixir
samples/client/petstore/elixir/lib/openapi_petstore/model/order.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
11,868
2018-05-12T02:58:07.000Z
2022-03-31T21:19:39.000Z
samples/client/petstore/elixir/lib/openapi_petstore/model/order.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
9,672
2018-05-12T14:25:43.000Z
2022-03-31T23:59:30.000Z
samples/client/petstore/elixir/lib/openapi_petstore/model/order.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
4,776
2018-05-12T12:06:08.000Z
2022-03-31T19:52:51.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule OpenapiPetstore.Model.Order do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"id", :"petId", :"quantity", :"shi...
19.916667
91
0.603905
936a83b1b047b52e725bc877f4e5505a0149faa4
878
ex
Elixir
lib/swoosh/adapters/xml/helpers.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
lib/swoosh/adapters/xml/helpers.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
lib/swoosh/adapters/xml/helpers.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.XML.Helpers do @moduledoc false require Record Record.defrecord :xmlText, Record.extract(:xmlText, from_lib: "xmerl/include/xmerl.hrl") @doc false def parse(xml_string, options \\ []) do {node, _} = xml_string |> :binary.bin_to_list |> :xmerl_scan.string(Keywo...
19.511111
90
0.632118
936aa08b99e095e478d8e450a3bda69a30adf485
401
exs
Elixir
test/ref_web/views/error_view_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
test/ref_web/views/error_view_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
test/ref_web/views/error_view_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
defmodule RefWeb.ErrorViewTest do use RefWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(RefWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert render_...
26.733333
88
0.723192
936b064270a0b00f79b1ad94ccb09a0225a6db7b
227
exs
Elixir
priv/repo/migrations/20210101111317_add_schedule_to_user_settings.exs
guanghuizeng/papercups
0d7ca893edddea0d23f0772ccc5694edd407fc63
[ "MIT" ]
null
null
null
priv/repo/migrations/20210101111317_add_schedule_to_user_settings.exs
guanghuizeng/papercups
0d7ca893edddea0d23f0772ccc5694edd407fc63
[ "MIT" ]
null
null
null
priv/repo/migrations/20210101111317_add_schedule_to_user_settings.exs
guanghuizeng/papercups
0d7ca893edddea0d23f0772ccc5694edd407fc63
[ "MIT" ]
null
null
null
defmodule ChatApi.Repo.Migrations.AddDefaultScheduleToUserSettings do use Ecto.Migration def change do alter table(:user_settings) do add(:schedule_id, references(:schedules, type: :binary_id)) end end end
22.7
69
0.753304
936b9b5185a53adc73c3e1442cc24d5b9de56cef
2,134
ex
Elixir
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/list_breakpoints_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/list_breakpoints_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/list_breakpoints_response.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 "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 ...
39.518519
145
0.740394
936bbb862bc3202284ea9f1047f8acd683cf762c
14,957
ex
Elixir
lib/livebook/notebook.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Notebook do @moduledoc false # Data structure representing a notebook. # # A notebook is just the representation and roughly # maps to a file that the user can edit. # # A notebook *session* is a living process that holds a specific # notebook instance and allows users to collaborati...
30.094567
98
0.647857
936bce19e2da5017951f1bf1fec93754cd52e627
1,830
ex
Elixir
lib/phoenix/html.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
lib/phoenix/html.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
lib/phoenix/html.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
defmodule Phoenix.Html do alias Phoenix.Html @escapes [ {?<, "&lt;"}, {?>, "&gt;"}, {?&, "&amp;"}, {?", "&quot;"}, {?', "&#39;"} ] def safe({:safe, value}), do: {:safe, value} def safe(value), do: {:safe, value} def unsafe({:safe, value}), do: value def unsafe(value), do: value de...
21.034483
70
0.611475
936bd286699d5f8407d6e90cf43dba810f1cf243
3,678
ex
Elixir
lib/matrex/models/rooms.ex
bismark/matrex
a92249733c2224507d9117b4b50bdc23fa8712b6
[ "MIT" ]
36
2016-12-10T10:17:25.000Z
2022-01-20T03:58:12.000Z
lib/matrex/models/rooms.ex
bismark/matrex
a92249733c2224507d9117b4b50bdc23fa8712b6
[ "MIT" ]
null
null
null
lib/matrex/models/rooms.ex
bismark/matrex
a92249733c2224507d9117b4b50bdc23fa8712b6
[ "MIT" ]
10
2016-12-24T14:06:52.000Z
2022-01-20T03:59:17.000Z
defmodule Matrex.Models.Rooms do alias __MODULE__, as: This alias Matrex.Identifier alias Matrex.Models.Room alias Matrex.Events.State @type t :: %{Identifier.room() => Room.t()} def new, do: %{} @spec create(This.t(), integer, map, Identifier.user()) :: {Identifier.room(), {integer, This.t()...
34.373832
95
0.604133
936bd5957736b0a90cd49946100b224dd9af7676
1,546
ex
Elixir
memory_backend/lib/memory_backend_web/router.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
null
null
null
memory_backend/lib/memory_backend_web/router.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
15
2020-12-23T16:09:28.000Z
2020-12-26T22:32:47.000Z
memory_backend/lib/memory_backend_web/router.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
null
null
null
defmodule MemoryBackendWeb.Router do use MemoryBackendWeb, :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 "/", MemoryBacke...
28.62963
96
0.68564
936c056c587b417534fa045fd9d30db61c32aecd
1,782
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/event_creator.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/event_creator.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/event_creator.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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...
35.64
164
0.737935
936c06e30e617a6f5daf0074edadf6d71b4aaf4a
485
ex
Elixir
apps/estuary/lib/estuary_web/views/error_view.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/estuary/lib/estuary_web/views/error_view.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/estuary/lib/estuary_web/views/error_view.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule EstuaryWeb.ErrorView do use EstuaryWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. def render("500.json", _assigns) do "Internal Server Error" end # By default, Phoenix returns the status message from # the template name. For ...
28.529412
61
0.74433
936c7155a109a70412beed014b5210038ea9c198
568
exs
Elixir
advent-of-code-2016/day_11/mix.exs
Tmw/programming-challanges
575952c0b22e20a73f6f5f5beba0daf93612b29e
[ "MIT" ]
1
2020-03-10T13:47:10.000Z
2020-03-10T13:47:10.000Z
advent-of-code-2016/day_11/mix.exs
Tmw/advent-of-code-2016
575952c0b22e20a73f6f5f5beba0daf93612b29e
[ "MIT" ]
null
null
null
advent-of-code-2016/day_11/mix.exs
Tmw/advent-of-code-2016
575952c0b22e20a73f6f5f5beba0daf93612b29e
[ "MIT" ]
null
null
null
defmodule Day11.MixProject do use Mix.Project def project do [ app: :day_11, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
19.586207
87
0.573944
936c716e3a882dd54685118e0305d543313d65b1
1,203
ex
Elixir
clients/people/lib/google_api/people/v1/model/interest.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/interest.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/interest.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...
30.075
90
0.740648
936c878b888f79cb498a05ebbc33411eb22bcda7
379
ex
Elixir
lib/webchat_web/live/chat/components/server_action_component.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
lib/webchat_web/live/chat/components/server_action_component.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
1
2020-08-04T19:50:09.000Z
2020-08-04T19:50:09.000Z
lib/webchat_web/live/chat/components/server_action_component.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
defmodule WebchatWeb.Chat.ServerActionComponent do use Phoenix.LiveComponent use Phoenix.HTML def render(assigns) do ~L""" <div class="page-container" > <p>Join or Create a server</p> <button phx-click="join-server" > Join </button> <button phx-click="create-server" > ...
18.047619
50
0.593668