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
3fdeceafcefe9e510e5eafdb67d85db65cf2cd50
3,103
ex
Elixir
day11/lib/day11.ex
the-shank/advent-of-code-2018
3be3958adad61e62e8a7ea6ec6a868f049c7a7e4
[ "Apache-2.0" ]
7
2018-12-12T01:08:24.000Z
2019-12-09T19:50:36.000Z
day11/lib/day11.ex
bjorng/advent-of-code-2018
5dd312b7473d7f2fe12f0de1fd771c3ee1931b97
[ "Apache-2.0" ]
null
null
null
day11/lib/day11.ex
bjorng/advent-of-code-2018
5dd312b7473d7f2fe12f0de1fd771c3ee1931b97
[ "Apache-2.0" ]
null
null
null
# # Part 2 is a bit slow, but finishes in about 4 minutes on my computer. # defmodule Day11 do @doc """ Calculate square of any size with the largest power. ## Examples iex> Day11.largest_total_square(7803) {{230, 272, 17}, 125} """ def largest_total_square serial do grid = build_grid ser...
21.699301
71
0.570416
3fdf1a31fa1233e7111b78e5f4add907721ba983
129
exs
Elixir
wand/test/wand_test.exs
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
37
2021-01-31T17:43:03.000Z
2021-11-17T12:29:00.000Z
test/wand_test.exs
queer/wand
f8d32a4ca3ac8eb4428210ee368fc4dc0c80dc7f
[ "BSD-3-Clause" ]
4
2021-05-29T04:54:28.000Z
2021-06-26T20:40:48.000Z
test/wand_test.exs
queer/wand
f8d32a4ca3ac8eb4428210ee368fc4dc0c80dc7f
[ "BSD-3-Clause" ]
null
null
null
defmodule WandTest do use ExUnit.Case doctest Wand test "greets the world" do assert Wand.hello() == :world end end
14.333333
33
0.689922
3fdf1d69dff872507f23adc8abc4d307f097a570
72
ex
Elixir
lib/cizen/event_type.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
1
2019-04-08T08:00:06.000Z
2019-04-08T08:00:06.000Z
lib/cizen/event_type.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
lib/cizen/event_type.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
defmodule Cizen.EventType do @moduledoc false @type t :: module end
14.4
28
0.736111
3fdf284e93042bce28b60123e7a73a106bcc98d6
177
exs
Elixir
config/test.exs
Zurga/cldr_units
d90ae5987608b741bd0f531fd760f1e142ff9293
[ "Apache-2.0" ]
null
null
null
config/test.exs
Zurga/cldr_units
d90ae5987608b741bd0f531fd760f1e142ff9293
[ "Apache-2.0" ]
null
null
null
config/test.exs
Zurga/cldr_units
d90ae5987608b741bd0f531fd760f1e142ff9293
[ "Apache-2.0" ]
null
null
null
# In test mode we compile and test all locales use Mix.Config config :ex_unit, case_load_timeout: 220_000, timeout: 120_000 config :ex_cldr, default_backend: MyApp.Cldr
17.7
46
0.768362
3fdf4bb4e3d98c71fa5f982c0b1561792341e4f4
2,921
exs
Elixir
todo/test/todo/cars_test.exs
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
null
null
null
todo/test/todo/cars_test.exs
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
22
2021-12-11T13:12:45.000Z
2022-01-29T14:20:03.000Z
todo/test/todo/cars_test.exs
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
null
null
null
defmodule Todo.CarsTest do use Todo.DataCase alias Todo.Cars describe "cars" do alias Todo.Cars.Car import Todo.CarsFixtures @invalid_attrs %{link: nil, make: nil, model: nil} test "list_cars/0 returns all cars" do car = car_fixture() assert Cars.list_cars() == [car] end ...
32.098901
105
0.638822
3fdf56db30ed0b418b62d05dcd9ec868e6c28709
135
exs
Elixir
otp_examples/chat/test/chat_test.exs
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
otp_examples/chat/test/chat_test.exs
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
otp_examples/chat/test/chat_test.exs
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
defmodule ChatTest do use ExUnit.Case doctest Chat # test "greets the world" do # assert Chat.hello() == :world # end end
15
35
0.659259
3fdfccce321f7ebb03de71969eb0fd76998a4fc5
5,718
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/user.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
1
2020-08-04T14:13:24.000Z
2020-08-04T14:13:24.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/user.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
1
2020-09-08T15:15:50.000Z
2020-09-08T16:13:28.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/user.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWebCore.Accounts.User do use Ecto.Schema import Ecto.Changeset import Ecto.Query import EctoEnum alias NervesHubWebCore.Accounts.{Org, UserCertificate, OrgUser} alias NervesHubWebCore.Repo alias Ecto.Changeset alias __MODULE__ alias Ecto.UUID @type t :: %__MODULE__{} @passw...
26.84507
98
0.678559
3fdfe8d888d463337eea98f163cd27e2f218cd45
483
exs
Elixir
priv/repo/migrations/20181208133759_create_debts.exs
daniel-leal/uncaloteme-api
708be51ae446077bee8350a876bc2357cb3a66b8
[ "MIT" ]
null
null
null
priv/repo/migrations/20181208133759_create_debts.exs
daniel-leal/uncaloteme-api
708be51ae446077bee8350a876bc2357cb3a66b8
[ "MIT" ]
null
null
null
priv/repo/migrations/20181208133759_create_debts.exs
daniel-leal/uncaloteme-api
708be51ae446077bee8350a876bc2357cb3a66b8
[ "MIT" ]
null
null
null
defmodule UncaloteMe.Repo.Migrations.CreateDebts do use Ecto.Migration def change do create table(:debts) do add :date, :date add :is_active, :boolean, default: true, null: true add :amount_paid, :decimal, precision: 10, scale: 2 add :value, :decimal, precision: 10, scale: 2 add :...
25.421053
63
0.660455
3fe03a0924cc35ae083c1c07b743a9a121ed8f3c
2,117
ex
Elixir
apps/omg_child_chain/lib/omg_child_chain/application.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_child_chain/lib/omg_child_chain/application.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_child_chain/lib/omg_child_chain/application.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 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 ...
29.402778
81
0.675012
3fe041c3b189ff03617ef0d74327ba2a305447f5
1,406
exs
Elixir
config/config.exs
mfeckie/phoenix_frontend_deploys
86adf2a7a51ce6757e50dfbca74677a93a6950c2
[ "MIT" ]
null
null
null
config/config.exs
mfeckie/phoenix_frontend_deploys
86adf2a7a51ce6757e50dfbca74677a93a6950c2
[ "MIT" ]
null
null
null
config/config.exs
mfeckie/phoenix_frontend_deploys
86adf2a7a51ce6757e50dfbca74677a93a6950c2
[ "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...
37
73
0.752489
3fe07f849b41b7da609262380b115276d0f9f1ed
409
ex
Elixir
lib/blog/cache/monitor.ex
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
null
null
null
lib/blog/cache/monitor.ex
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
1
2017-08-14T09:00:30.000Z
2017-08-14T16:18:44.000Z
lib/blog/cache/monitor.ex
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
null
null
null
defmodule Blog.Cache.Monitor do require Logger use ExFSWatch, dirs: [Application.get_env(:blog, Blog.Endpoint)[:post_folder]] def callback(:stop) do IO.puts("STOP") end def callback(file_path, [:modified]) do Logger.debug("Running Blog.Cache.Monitor callback for file modification\n File: #{file_p...
21.526316
100
0.701711
3fe0b82a2c18b8444fa85b310d3d477341b60783
1,138
ex
Elixir
lib/google_api/you_tube/v3/model/i18n_language_snippet.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/i18n_language_snippet.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/i18n_language_snippet.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
29.947368
86
0.746924
3fe0b84f7e0506a68688b415cefec33ab3423240
17,732
ex
Elixir
apps/artemis/lib/artemis/repo/generate_data.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/lib/artemis/repo/generate_data.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/lib/artemis/repo/generate_data.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.Repo.GenerateData do import Ecto.Query alias Artemis.Feature alias Artemis.Permission alias Artemis.Repo alias Artemis.Role alias Artemis.Tag alias Artemis.User alias Artemis.UserRole alias Artemis.WikiPage @moduledoc """ Defines the minimum data required for the application to...
35.75
374
0.610704
3fe0c0a97231acbc70c72863b13c530197c50911
578
ex
Elixir
lib/shipstation/structs/customer.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
4
2017-03-28T19:21:48.000Z
2022-02-11T05:12:07.000Z
lib/shipstation/structs/customer.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
1
2018-10-05T14:55:55.000Z
2018-10-05T14:55:55.000Z
lib/shipstation/structs/customer.ex
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
3
2018-10-05T14:04:02.000Z
2021-11-11T10:22:46.000Z
defmodule Shipstation.Structs.Customer do @moduledoc ~s""" Parameters used when filtering customers """ @type t :: %Shipstation.Structs.Customer{ stateCode: String.t, countryCode: String.t, marketplaceId: integer, tagId: integer, sortBy: String.t, sortDir: String.t, page: non_neg_in...
22.230769
43
0.598616
3fe0ccfaa4acc72c2d1117b3f693b69a0613595c
141
ex
Elixir
lib/hangman/response_utils.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
lib/hangman/response_utils.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
lib/hangman/response_utils.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
defmodule Hangman.ResponseUtils do def jsonResponse(success, errors \\ []) do %{ "success" => success, "errors" => errors} end end
17.625
48
0.659574
3fe0dcf9b133e772f1b8396455c23f5abd1f16cf
1,149
ex
Elixir
lib/interpreter/env.ex
ashton314/elixir-interpreter-demo
dab7da2fdb6c7e8d83539d01fc9ea43e0ed24f5d
[ "MIT" ]
3
2021-05-21T22:32:19.000Z
2021-08-23T15:51:49.000Z
lib/interpreter/env.ex
ashton314/elixir_interpreter_demo
dab7da2fdb6c7e8d83539d01fc9ea43e0ed24f5d
[ "MIT" ]
null
null
null
lib/interpreter/env.ex
ashton314/elixir_interpreter_demo
dab7da2fdb6c7e8d83539d01fc9ea43e0ed24f5d
[ "MIT" ]
null
null
null
defmodule Interpreter.Env do @moduledoc """ Environment for our interpreter Environments are just represented as a map of variable names to values, and a parent environment to search if the variable we're looking up is not in the current map. """ alias __MODULE__ alias Interpreter.Values @type t ::...
26.72093
85
0.617058
3fe0ddbebccb587ea4a6cd53378b049e1bd20610
156
exs
Elixir
priv/repo/seeds.exs
TylerTemp/jollacn-api
4e0d887ea9bf4c5fd94dd1880682de1f6384a078
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
TylerTemp/jollacn-api
4e0d887ea9bf4c5fd94dd1880682de1f6384a078
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
TylerTemp/jollacn-api
4e0d887ea9bf4c5fd94dd1880682de1f6384a078
[ "MIT" ]
null
null
null
defmodule JollaCNAPI.Seeds do require Logger def run() do if Mix.env() != :prod do :ok end end end IO.inspect(JollaCNAPI.Seeds.run())
13
34
0.634615
3fe1071280c2de93ec6f8b6ad26242c27d9c4bc8
603
ex
Elixir
lib/nomad_client/model/job_validate_request.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
lib/nomad_client/model/job_validate_request.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
lib/nomad_client/model/job_validate_request.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule NomadClient.Model.JobValidateRequest do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :Job ] @type t :: %__MODULE__{ ...
21.535714
91
0.693201
3fe14fc903405e671da5542836e883115ae34104
15,159
ex
Elixir
lib/aws/generated/textract.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/textract.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/textract.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Textract do @moduledoc """ Amazon Textract detects and analyzes text in documents and converts it into machine-readable text. This is the API reference documentation for Amazon Textract. ...
48.9
133
0.757966
3fe17574e170d9f46f11ba39ed5323409323a76a
562
ex
Elixir
lib/sentinel/lockable.ex
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
lib/sentinel/lockable.ex
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
lib/sentinel/lockable.ex
suranyami/sentinel
aeb421e2e61a4bc14abe89b4a92cb1943a5965fb
[ "MIT" ]
null
null
null
defmodule Sentinel.Lockable do @moduledoc """ Implements lockable functionality """ alias Sentinel.{Config, Mailer} def send_unlock_email(email) do with user when not is_nil(user) <- Config.repo.get_by(Config.user_model, email: email), auth when not is_nil(auth) <- Config.re...
31.222222
128
0.681495
3fe18cfbc956a9686949ad814eb4301ade32652b
960
ex
Elixir
phoenix/hello/lib/hello.ex
ajlopez/ElixirSamples
556d8d4c95d1a0e4262224b54ad5d7ffab5384e6
[ "MIT" ]
null
null
null
phoenix/hello/lib/hello.ex
ajlopez/ElixirSamples
556d8d4c95d1a0e4262224b54ad5d7ffab5384e6
[ "MIT" ]
null
null
null
phoenix/hello/lib/hello.ex
ajlopez/ElixirSamples
556d8d4c95d1a0e4262224b54ad5d7ffab5384e6
[ "MIT" ]
null
null
null
defmodule Hello do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(Hello.Endpo...
30.967742
71
0.70625
3fe1a456650577a5152904009092fa60385ff6e8
4,877
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_group.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_group.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/node_group.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
55.420455
511
0.700431
3fe1c1f2605bce7eb4c66c9b40712e084391d34b
4,221
ex
Elixir
lib/new_relic/harvest/collector/protocol.ex
ll1498/elixir_agent
a7b3bf1b49639c61d9eba3d4b91b30e0e856b54a
[ "Apache-2.0" ]
1
2020-08-13T05:08:20.000Z
2020-08-13T05:08:20.000Z
lib/new_relic/harvest/collector/protocol.ex
ll1498/elixir_agent
a7b3bf1b49639c61d9eba3d4b91b30e0e856b54a
[ "Apache-2.0" ]
null
null
null
lib/new_relic/harvest/collector/protocol.ex
ll1498/elixir_agent
a7b3bf1b49639c61d9eba3d4b91b30e0e856b54a
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Harvest.Collector.Protocol do alias NewRelic.Harvest.Collector @moduledoc false @protocol_version 16 def preconnect, do: call_remote(%{method: "preconnect"}, []) def connect(payload), do: call_remote(%{method: "connect"}, payload) def transaction_event([agent_run_id, _sampling, _even...
34.884298
99
0.696991
3fe1c7397ca40067cbcf8bb4b458bdc414ab8056
1,152
ex
Elixir
test/support/channel_case.ex
adrianomota/find_my_personal
6175a64f501407bb047b23cfcc76a981a7957148
[ "MIT" ]
null
null
null
test/support/channel_case.ex
adrianomota/find_my_personal
6175a64f501407bb047b23cfcc76a981a7957148
[ "MIT" ]
null
null
null
test/support/channel_case.ex
adrianomota/find_my_personal
6175a64f501407bb047b23cfcc76a981a7957148
[ "MIT" ]
null
null
null
defmodule FindMyPersonalWeb.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 inte...
26.790698
71
0.735243
3fe1cf2e874468e8a7a4275d48fdce851ca1588d
1,260
exs
Elixir
apps/artemis/test/artemis/contexts/wiki_revisions/get_wiki_revision_test.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/test/artemis/contexts/wiki_revisions/get_wiki_revision_test.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/test/artemis/contexts/wiki_revisions/get_wiki_revision_test.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.GetWikiRevisionTest do use Artemis.DataCase import Artemis.Factories alias Artemis.GetWikiRevision setup do wiki_revision = insert(:wiki_revision) {:ok, wiki_revision: wiki_revision} end describe "call" do test "returns nil wiki revision not found" do invalid_id = 50...
28
115
0.703968
3fe1f23b3fcf565be3dd55aac84560187b2f870e
8,915
ex
Elixir
lib/game/command/quest.ex
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
lib/game/command/quest.ex
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
lib/game/command/quest.ex
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
defmodule Game.Command.Quest do @moduledoc """ The "quest" command, reaches straight to the database for most actions """ use Game.Command use Game.Currency use Game.NPC alias Game.Format.Quests, as: FormatQuests alias Game.Player alias Game.Quest alias Game.Session.Character commands([{"quest"...
28.758065
118
0.626809
3fe2020f4d9ffae5d3153819f5a1f47713e008a9
1,823
ex
Elixir
lib/ex_aws/request/http_client.ex
rliebling/ex_aws
a8bfeff478e4a7584e765bb8f57ca6a8a5a4dad0
[ "MIT" ]
null
null
null
lib/ex_aws/request/http_client.ex
rliebling/ex_aws
a8bfeff478e4a7584e765bb8f57ca6a8a5a4dad0
[ "MIT" ]
2
2021-01-29T21:12:46.000Z
2021-01-30T06:11:16.000Z
lib/ex_aws/request/http_client.ex
rliebling/ex_aws
a8bfeff478e4a7584e765bb8f57ca6a8a5a4dad0
[ "MIT" ]
null
null
null
defmodule ExAws.Request.HttpClient do @moduledoc """ Specifies expected behaviour of an http client ExAws allows you to use your http client of choice, provided that it can be coerced into complying with this module's specification. The default is :hackney. ## Example Here for example is the code requ...
31.431034
111
0.640154
3fe22ca0400fc2f0aae185f49d1bb9489f14c382
426
ex
Elixir
lib/milbase_web/schema/comment_type.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
1
2020-07-14T03:27:30.000Z
2020-07-14T03:27:30.000Z
lib/milbase_web/schema/comment_type.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
lib/milbase_web/schema/comment_type.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
defmodule MilbaseWeb.Schema.Types.CommentType do use Absinthe.Schema.Notation use Absinthe.Ecto, repo: Milbase.Repo object :comment_type do field :text, :string field :user, :user_type, resolve: assoc(:user) field :post, :post_type, resolve: assoc(:post) field :active, :boolean end input_obj...
25.058824
50
0.715962
3fe23866b0a4aa392a620550f2c04d6a5655104a
1,408
ex
Elixir
test/support/data_case.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
3
2017-08-03T16:49:18.000Z
2018-10-03T03:30:26.000Z
test/support/data_case.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
18
2017-08-04T12:43:08.000Z
2017-08-05T14:15:41.000Z
test/support/data_case.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
1
2018-10-03T03:30:29.000Z
2018-10-03T03:30:29.000Z
defmodule SecretGrinch.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every...
26.074074
77
0.685369
3fe245bb7f5a0d5e8f160285134ccb197550ac91
1,704
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/floodlight_activity_dynamic_tag.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/v34/model/floodlight_activity_dynamic_tag.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/v34/model/floodlight_activity_dynamic_tag.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...
32.150943
118
0.705399
3fe250b41d14faa950a644143bb5d9dcfb3f4bd5
5,378
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_shipment.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_shipment.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_shipment.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...
42.346457
397
0.647453
3fe26e54e2fcc8e3a20da77e85c244abe8d97eba
1,766
ex
Elixir
clients/language/lib/google_api/language/v1/model/analyze_entity_sentiment_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/analyze_entity_sentiment_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/analyze_entity_sentiment_request.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 ...
35.32
117
0.741789
3fe2b3b913276b966b1a570139dbcf2ca818a428
844
exs
Elixir
apps/kv/mix.exs
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
apps/kv/mix.exs
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
apps/kv/mix.exs
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
defmodule KV.Mixfile do use Mix.Project def project do [app: :kv, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanen...
21.641026
77
0.569905
3fe2c63b112366329012cbfe201201b88e92e017
2,487
exs
Elixir
kousa/priv/repo/migrations/20210124203315_most_tables.exs
dqnk/dogehouse
e6bb60429575e664f5ed1a1b667a55f0ea95fc4c
[ "MIT" ]
null
null
null
kousa/priv/repo/migrations/20210124203315_most_tables.exs
dqnk/dogehouse
e6bb60429575e664f5ed1a1b667a55f0ea95fc4c
[ "MIT" ]
null
null
null
kousa/priv/repo/migrations/20210124203315_most_tables.exs
dqnk/dogehouse
e6bb60429575e664f5ed1a1b667a55f0ea95fc4c
[ "MIT" ]
null
null
null
defmodule Beef.Repo.Migrations.MostTables do use Ecto.Migration def change do execute("CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";", "") create table(:users, primary_key: false) do add :id, :uuid, primary_key: true, default: fragment("uuid_generate_v4()") add :githubId, :text, null: false ...
37.119403
113
0.67109
3fe2d5eb6df8e1789aae174d5a07ab2dcb83a59f
3,188
exs
Elixir
test/scentenced_web/controllers/fragrant_controller_test.exs
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
null
null
null
test/scentenced_web/controllers/fragrant_controller_test.exs
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
1
2020-07-17T08:20:59.000Z
2020-07-17T08:20:59.000Z
test/scentenced_web/controllers/fragrant_controller_test.exs
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
null
null
null
defmodule ScentencedWeb.FragrantControllerTest do use ScentencedWeb.ConnCase alias Scentenced.Fragrants @create_attrs %{blending_factor: 42, description: "some description", family: "some family", name: "some name", note: "some note"} @update_attrs %{blending_factor: 43, description: "some updated description...
35.820225
164
0.686324
3fe2e630214137ebb463d7e94d5d0ccea69feaf4
742
exs
Elixir
mix.exs
dannyh79/issues_cli
407d47ca1e25c217daedf18f395e5328187baae0
[ "MIT" ]
null
null
null
mix.exs
dannyh79/issues_cli
407d47ca1e25c217daedf18f395e5328187baae0
[ "MIT" ]
null
null
null
mix.exs
dannyh79/issues_cli
407d47ca1e25c217daedf18f395e5328187baae0
[ "MIT" ]
null
null
null
defmodule Issues.MixProject do use Mix.Project def project do [ app: :issues, version: "0.1.0", name: "Issues", source_url: "https://github.com/dannyh79/issues_cli", elixir: "~> 1.12", escript: escript_config(), start_permanent: Mix.env() == :prod, deps: deps() ...
20.054054
59
0.580863
3fe2eb4813537a8e00588ce9833e3f4e8baa0236
2,364
ex
Elixir
clients/memcache/lib/google_api/memcache/v1beta2/model/update_policy.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1beta2/model/update_policy.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/memcache/lib/google_api/memcache/v1beta2/model/update_policy.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...
40.067797
354
0.745347
3fe2f4009cb2c0d3999600605988d23257517d89
1,599
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_pools_remove_instance_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_pools_remove_instance_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/target_pools_remove_instance_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.021277
156
0.754847
3fe3049267f4d5cbde4ba767f8df42404a8f2250
4,533
ex
Elixir
lib/nebulex/adapter/transaction.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
lib/nebulex/adapter/transaction.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
lib/nebulex/adapter/transaction.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
defmodule Nebulex.Adapter.Transaction do @moduledoc """ Specifies the adapter transactions API. ## Default implementation This module also provides a default implementation which uses the Erlang library `:global`. This implementation accepts the following options: * `:keys` - The list of the keys th...
28.689873
79
0.589235
3fe319b6c2039cecbc548c9ffd6734c122043464
487
ex
Elixir
lib/dmage_web/views/error_view.ex
Devotu/dmage
54d8e55bf010f2e0beb2bd0c21157366f0375bd3
[ "MIT" ]
null
null
null
lib/dmage_web/views/error_view.ex
Devotu/dmage
54d8e55bf010f2e0beb2bd0c21157366f0375bd3
[ "MIT" ]
null
null
null
lib/dmage_web/views/error_view.ex
Devotu/dmage
54d8e55bf010f2e0beb2bd0c21157366f0375bd3
[ "MIT" ]
null
null
null
defmodule DmageWeb.ErrorView do use DmageWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. Fo...
28.647059
61
0.73306
3fe34d945af925c23cc0c236ca3433d1927b6b77
875
ex
Elixir
lib/blog/application.ex
devonestes/absinthe_tutorial
29bcc60f0a930c35c35515d11e5025b2d9593c52
[ "MIT" ]
null
null
null
lib/blog/application.ex
devonestes/absinthe_tutorial
29bcc60f0a930c35c35515d11e5025b2d9593c52
[ "MIT" ]
null
null
null
lib/blog/application.ex
devonestes/absinthe_tutorial
29bcc60f0a930c35c35515d11e5025b2d9593c52
[ "MIT" ]
null
null
null
defmodule Blog.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ worker(Blog.BlogState, []), s...
29.166667
59
0.713143
3fe363b12273e45c9280e2570fef788f773852e1
5,241
ex
Elixir
lib/charset.ex
Rio517/Elixir
72076681fed9b5ccf79070212615b96355a11ada
[ "MIT" ]
1
2020-08-26T02:07:29.000Z
2020-08-26T02:07:29.000Z
lib/charset.ex
Rio517/Elixir
72076681fed9b5ccf79070212615b96355a11ada
[ "MIT" ]
null
null
null
lib/charset.ex
Rio517/Elixir
72076681fed9b5ccf79070212615b96355a11ada
[ "MIT" ]
1
2020-08-26T02:07:30.000Z
2020-08-26T02:07:30.000Z
# MIT License # # Copyright (c) 2018 Knoxen # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publi...
30.649123
101
0.681549
3fe37e3bd4c5ba4776192d18ef6937fde0f239e7
608
exs
Elixir
test/api/teams/membership_test.exs
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
1
2017-09-10T23:51:40.000Z
2017-09-10T23:51:40.000Z
test/api/teams/membership_test.exs
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
24
2018-03-14T18:17:00.000Z
2021-03-01T07:47:53.000Z
test/api/teams/membership_test.exs
portosummerofcode/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
null
null
null
defmodule Api.MembershipTest do use Api.DataCase alias Api.Teams.Membership @valid_attrs %{user_id: Ecto.UUID.generate(), team_id: Ecto.UUID.generate()} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Membership.changeset(%Membership{}, @valid_attrs) assert changeset.valid?...
25.333333
78
0.733553
3fe39629327eed9d36db6cb9be386d8a40e436e8
360
exs
Elixir
apps/game_services/priv/repo/seeds.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
4
2018-11-09T16:57:06.000Z
2021-03-02T22:57:17.000Z
apps/game_services/priv/repo/seeds.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
29
2018-10-26T08:29:37.000Z
2018-12-09T21:02:05.000Z
apps/game_services/priv/repo/seeds.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # GameServices.Repo.insert!(%GameServices.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as...
32.727273
61
0.716667
3fe3d094355a8b6e737a91cd6f16f0c11b9dc390
2,275
ex
Elixir
elixir/lib/homework/merchants.ex
CallMeHK/web-homework
30f41f193b99706fd7c7d9cc3f6db4941bad86b5
[ "MIT" ]
null
null
null
elixir/lib/homework/merchants.ex
CallMeHK/web-homework
30f41f193b99706fd7c7d9cc3f6db4941bad86b5
[ "MIT" ]
null
null
null
elixir/lib/homework/merchants.ex
CallMeHK/web-homework
30f41f193b99706fd7c7d9cc3f6db4941bad86b5
[ "MIT" ]
null
null
null
defmodule Homework.Merchants do @moduledoc """ The Merchants context. """ import Ecto.Query, warn: false alias Homework.Repo alias Homework.Merchants.Merchant @doc """ Returns the list of merchants. ## Examples iex> list_merchants([]) [%Merchant{}, ...] """ def list_merchants(_ar...
18.495935
74
0.606154
3fe3eeef9d398742dabf581f5fcb35926f59a9ac
209
ex
Elixir
lib/transit_realtime/trip_update/stop_time_update/schedule_relationship.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
lib/transit_realtime/trip_update/stop_time_update/schedule_relationship.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
lib/transit_realtime/trip_update/stop_time_update/schedule_relationship.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule TransitRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship do @moduledoc false use Protobuf, enum: true, syntax: :proto2 field(:SCHEDULED, 0) field(:SKIPPED, 1) field(:NO_DATA, 2) end
23.222222
75
0.760766
3fe40199bce86c28f8eec156b7efb330971509fc
169
exs
Elixir
test/codi/proxy/doctest1_test.exs
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
test/codi/proxy/doctest1_test.exs
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
test/codi/proxy/doctest1_test.exs
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
defmodule PlymioCodiPatternProxyDoctest1Test do use ExUnit.Case, async: false use PlymioCodiHelperTest import Plymio.Codi doctest Plymio.Codi.Pattern.Proxy end
21.125
47
0.822485
3fe409be0f8536b8d61cc23b43e7eeb623b69346
383
exs
Elixir
apps/blog/priv/repo/migrations/20170220062444_create_comment.exs
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
apps/blog/priv/repo/migrations/20170220062444_create_comment.exs
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
apps/blog/priv/repo/migrations/20170220062444_create_comment.exs
richeterre/phoenix-example
cd01a3401387c63dc11e64ca89e500e8eabd5fb0
[ "MIT" ]
null
null
null
defmodule Blog.Repo.Migrations.CreateComment do use Ecto.Migration def change do create table(:comments) do add :body, :text add :author_id, references(:users, on_delete: :nothing) add :post_id, references(:posts, on_delete: :nothing) timestamps() end create index(:comments, [:...
22.529412
61
0.673629
3fe40fe358fc45d7a1debcb951d97c9a71859bb2
1,861
exs
Elixir
backend/voxel_handler/config/prod.exs
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
5
2022-03-06T15:31:54.000Z
2022-03-27T12:10:13.000Z
backend/voxel_handler/config/prod.exs
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
9
2022-03-01T05:17:43.000Z
2022-03-11T01:04:24.000Z
backend/voxel_handler/config/prod.exs
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
5
2022-03-04T15:52:44.000Z
2022-03-27T12:16:27.000Z
import 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, # w...
35.788462
66
0.709296
3fe427ec3405990bcdbed54ab2352a9515faeb9c
390
exs
Elixir
test/hivebot/executor_test.exs
illiatdesdindes/hivebot
694cd58f0d8b9b9db467cfad3a1a585b8e8fb3ae
[ "MIT" ]
1
2016-08-09T21:27:53.000Z
2016-08-09T21:27:53.000Z
test/hivebot/executor_test.exs
illiatdesdindes/hivebot
694cd58f0d8b9b9db467cfad3a1a585b8e8fb3ae
[ "MIT" ]
null
null
null
test/hivebot/executor_test.exs
illiatdesdindes/hivebot
694cd58f0d8b9b9db467cfad3a1a585b8e8fb3ae
[ "MIT" ]
null
null
null
defmodule Hivebot.ExecutorTest do use ExUnit.Case doctest Hivebot.Executor alias Hivebot.Executor @slack %{ users: %{ 1 => %{name: "samy"} } } @state [] test "exec hello text" do assert Executor.exec(:hello, %{user: 1}, @slack, @state) == {:reply, "Hello samy !", @state} end # ...
15
96
0.597436
3fe44886e071d49399ae8fea56d62900f4fb51ca
1,362
exs
Elixir
apps/user_manager/test/user_manager_test.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
4
2018-11-09T16:57:06.000Z
2021-03-02T22:57:17.000Z
apps/user_manager/test/user_manager_test.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
29
2018-10-26T08:29:37.000Z
2018-12-09T21:02:05.000Z
apps/user_manager/test/user_manager_test.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
null
null
null
defmodule UserManagerTest do use ExUnit.Case doctest UserManager use ExUnitProperties setup do # Explicitly get a connection before each test :ok = Ecto.Adapters.SQL.Sandbox.checkout(GameServices.Repo) Ecto.Adapters.SQL.Sandbox.mode(GameServices.Repo, {:shared, self()}) end property "register_...
34.923077
81
0.680617
3fe46106efc900641bc3ff3706458e9735fe5909
2,198
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instances_scoped_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instances_scoped_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/instances_scoped_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.703704
194
0.72657
3fe4643b68e8a0981d0c9d3d6863ff4fb01ded2b
1,742
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/databases_list_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/databases_list_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/databases_list_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 &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 ...
34.84
139
0.735936
3fe46ab9a1d930b03b5ebfd14df56da8697109f4
1,455
ex
Elixir
lib/changelog_web/views/admin/podcast_view.ex
aindrila2412/changelog.com
7856d05054b0957f3a39f120c38b61f0403901cf
[ "MIT" ]
null
null
null
lib/changelog_web/views/admin/podcast_view.ex
aindrila2412/changelog.com
7856d05054b0957f3a39f120c38b61f0403901cf
[ "MIT" ]
null
null
null
lib/changelog_web/views/admin/podcast_view.ex
aindrila2412/changelog.com
7856d05054b0957f3a39f120c38b61f0403901cf
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.PodcastView do use ChangelogWeb, :admin_view alias Changelog.{EpisodeStat, Podcast, Repo, Topic} alias ChangelogWeb.{PodcastView} alias ChangelogWeb.Admin.EpisodeView def cover_url(podcast), do: PodcastView.cover_url(podcast) def cover_url(podcast, version), do: PodcastView.co...
30.957447
104
0.709278
3fe4807aaa6dfdafeca9895966bcd5e690a7b54d
1,783
exs
Elixir
clients/pub_sub_lite/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub_lite/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub_lite/mix.exs
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...
26.61194
103
0.649467
3fe4a9d559c57174356987b3b423c5faff4d7ed7
1,860
ex
Elixir
lib/nebulex_redis_adapter/data_type/list.ex
manusajith/nebulex_redis_adapter
0a29e6eaa5563ec2237e38ad9b88a476aaa8a26b
[ "MIT" ]
null
null
null
lib/nebulex_redis_adapter/data_type/list.ex
manusajith/nebulex_redis_adapter
0a29e6eaa5563ec2237e38ad9b88a476aaa8a26b
[ "MIT" ]
null
null
null
lib/nebulex_redis_adapter/data_type/list.ex
manusajith/nebulex_redis_adapter
0a29e6eaa5563ec2237e38ad9b88a476aaa8a26b
[ "MIT" ]
null
null
null
defmodule NebulexRedisAdapter.DataType.List do @moduledoc """ Lists API. This API is based on Redis Lists API. """ @type cache :: Nebulex.Cache.t() @type key :: Nebulex.Cache.key() @type value :: Nebulex.Cache.value() @type opts :: Nebulex.Cache.opts() @doc """ Insert all the specified values at ...
30
88
0.674194
3fe4b18f87bb065458a79bfc0f05308f81acb67f
363
ex
Elixir
lib/oled/display/impl/ssd_1306/dev_type.ex
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
11
2019-12-06T10:32:33.000Z
2022-02-03T19:28:06.000Z
lib/oled/display/impl/ssd_1306/dev_type.ex
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
7
2020-03-04T19:36:07.000Z
2021-12-26T01:23:36.000Z
lib/oled/display/impl/ssd_1306/dev_type.ex
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
1
2022-01-12T05:04:53.000Z
2022-01-12T05:04:53.000Z
defmodule OLED.Display.Impl.SSD1306.DevType do @moduledoc false @callback init(config :: list()) :: {:ok, term()} | {:error, term()} @callback reset(struct()) :: struct() | {:error, term()} @callback transfer(struct(), buffer :: binary()) :: struct() | {:error, term()} @callback command(struct(), cmd :: int...
36.3
81
0.614325
3fe51132a6245fc3c345444351c90a89a8d25a68
1,015
exs
Elixir
exercises/binary-search/example.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/binary-search/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/binary-search/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule BinarySearch do @doc """ Searches for a key in the list using the binary search algorithm. It returns :not_found if the key is not in the list. Otherwise returns the tuple {:ok, index}. ## Examples iex> BinarySearch.search([], 2) :not_found iex> BinarySearch.search([1, 3...
26.710526
75
0.615764
3fe51ce8a1e19ee57b10ed132fa5a53869821d39
1,248
ex
Elixir
lib/postgrex/extensions/record.ex
enter-haken/postgrex
fb3438d4e6a56db81ddd0d578cdfc0484909c233
[ "Apache-2.0" ]
681
2016-06-16T12:28:22.000Z
2022-03-30T08:48:42.000Z
deps/postgrex/lib/postgrex/extensions/record.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
383
2016-06-17T14:49:41.000Z
2022-03-21T18:13:19.000Z
deps/postgrex/lib/postgrex/extensions/record.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
234
2016-06-16T16:14:47.000Z
2022-03-03T00:43:59.000Z
defmodule Postgrex.Extensions.Record do @moduledoc false import Postgrex.BinaryUtils, warn: false @behaviour Postgrex.SuperExtension def init(_), do: nil def matching(_), do: [send: "record_send"] def format(_), do: :super_binary def oids(%Postgrex.TypeInfo{comp_elems: []}, _), do: nil ...
27.130435
83
0.637019
3fe52ae617d767fe9aa9a86b0309ef7b0c7d5865
1,123
ex
Elixir
lib/oauth2/strategy/auth_code.ex
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
lib/oauth2/strategy/auth_code.ex
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
lib/oauth2/strategy/auth_code.ex
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
defmodule OAuth2.Strategy.AuthCode do @moduledoc """ The Authorization Code Strategy. http://tools.ietf.org/html/draft-ietf-oauth-v2-15#section-4.1 """ use OAuth2.Strategy @doc """ The authorization URL endpoint of the provider. params additional query parameters for the URL """ def authorize_url...
24.955556
63
0.656278
3fe52bda5a0090de0045e5f57724252ef4874f2f
1,083
ex
Elixir
lib/web/controllers/manage/hosted_site_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
lib/web/controllers/manage/hosted_site_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
lib/web/controllers/manage/hosted_site_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
defmodule Web.Manage.HostedSiteController do use Web, :controller alias GrapevineData.Games alias GrapevineData.GameSettings def show(conn, %{"game_id" => id}) do %{current_user: user} = conn.assigns with {:ok, game} <- Games.get(user, id) do conn |> assign(:game, game) |> assign(:c...
27.075
88
0.607572
3fe552597d9201e975df6320d5bed5c27dbbfaa8
1,535
exs
Elixir
test/caveat/register_test.exs
DevL/CAVEAT
1e92ca072fbd9f7ff451cd60b92717aace9257ee
[ "MIT" ]
null
null
null
test/caveat/register_test.exs
DevL/CAVEAT
1e92ca072fbd9f7ff451cd60b92717aace9257ee
[ "MIT" ]
null
null
null
test/caveat/register_test.exs
DevL/CAVEAT
1e92ca072fbd9f7ff451cd60b92717aace9257ee
[ "MIT" ]
null
null
null
defmodule Caveat.RegisterTest do use ExUnit.Case alias Caveat.Register test "can interpret the register as an unsigned integer" do contents = << 0xFFFFFFFF :: size(32) >> actual = Register.unsigned_integer(contents) expected = 4294967295 assert actual == expected end test "it extends unsign...
25.163934
69
0.676221
3fe56f53773a43bb470e191af4e849b079b6b326
71
ex
Elixir
example/lib/elm_phoenix/web/views/layout_view.ex
chazsconi/elm-phoenix
584ecbbe95913ba40f607eb47781a46ffb5c3c96
[ "BSD-3-Clause" ]
196
2016-09-18T14:42:33.000Z
2022-02-27T08:21:24.000Z
example/lib/elm_phoenix/web/views/layout_view.ex
chazsconi/elm-phoenix
584ecbbe95913ba40f607eb47781a46ffb5c3c96
[ "BSD-3-Clause" ]
45
2016-09-24T18:34:17.000Z
2020-05-30T13:38:27.000Z
example/lib/elm_phoenix/web/views/layout_view.ex
eco-pro/elm-phoenix-ports
17336527c63e7964022d146ad53f0b8238f41873
[ "MIT" ]
30
2016-10-04T13:18:14.000Z
2020-05-06T09:19:34.000Z
defmodule ElmPhoenix.Web.LayoutView do use ElmPhoenix.Web, :view end
17.75
38
0.802817
3fe5944ab85f1a952bb953a6bb72d189bb33c97c
1,841
ex
Elixir
clients/alert_center/lib/google_api/alert_center/v1beta1/model/csv.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/alert_center/lib/google_api/alert_center/v1beta1/model/csv.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/alert_center/lib/google_api/alert_center/v1beta1/model/csv.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.82
201
0.727865
3fe5b4328ddbe1a335b466f87c70bfd0de8dd9b8
1,786
ex
Elixir
lib/kite_connect/quote.ex
arcofdescent/kite_connect
0329eae5a04d552586002e32f4b615486d16d6bb
[ "Apache-2.0" ]
4
2019-04-28T09:15:47.000Z
2021-11-12T22:06:44.000Z
lib/kite_connect/quote.ex
arcofdescent/kite_connect
0329eae5a04d552586002e32f4b615486d16d6bb
[ "Apache-2.0" ]
null
null
null
lib/kite_connect/quote.ex
arcofdescent/kite_connect
0329eae5a04d552586002e32f4b615486d16d6bb
[ "Apache-2.0" ]
null
null
null
defmodule KiteConnect.Quote do @moduledoc """ Zerodha KiteConnect API for Market Quotes and Instruments """ @doc """ Get last traded price of instrument(s). Instruments can be provided as exchange:tradingsymbol combination or use instrument token KiteConnect.Quote.ltp("NSE:INFY") """ def ltp(ins...
28.806452
92
0.693729
3fe5b68c7561ca3aeda199228da9215ed7247d13
3,786
exs
Elixir
test/record_test.exs
OnceApp/Analytics
4d3d6fd5eb5c7ec18b4df23515bb25661df818d9
[ "MIT" ]
null
null
null
test/record_test.exs
OnceApp/Analytics
4d3d6fd5eb5c7ec18b4df23515bb25661df818d9
[ "MIT" ]
null
null
null
test/record_test.exs
OnceApp/Analytics
4d3d6fd5eb5c7ec18b4df23515bb25661df818d9
[ "MIT" ]
1
2019-08-08T16:39:56.000Z
2019-08-08T16:39:56.000Z
defmodule Analytics.RecordTest do use ExUnit.Case, async: false @dispatch_sleep 500 @interval_pull_in_milliseconds Application.fetch_env!( :analytics, :interval_pull_in_milliseconds ) + @dispatch_sleep setup d...
29.348837
79
0.611199
3fe5be09e10c7c1fe1777fba61b60b790cd05be1
1,177
ex
Elixir
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/connection.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/connection.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/connection.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.666667
114
0.743415
3fe5d2cc0e1fa3ca7d62723c925b9f7f7a174294
2,383
ex
Elixir
lib/file_system/backend.ex
ileamo/file_system
3ecf08811821185ba21afde0721831166c4ad3f7
[ "WTFPL" ]
null
null
null
lib/file_system/backend.ex
ileamo/file_system
3ecf08811821185ba21afde0721831166c4ad3f7
[ "WTFPL" ]
null
null
null
lib/file_system/backend.ex
ileamo/file_system
3ecf08811821185ba21afde0721831166c4ad3f7
[ "WTFPL" ]
null
null
null
require Logger defmodule FileSystem.Backend do @moduledoc """ FileSystem Backend Behaviour. """ @callback bootstrap() :: :ok | {:error, atom()} @callback supported_systems() :: [{atom(), atom()}] @callback known_events() :: [atom()] @doc """ Get and validate backend module, return `{:ok, backend_modu...
34.042857
121
0.649182
3fe5d83d2c29439be61bf12c21842349c59a2072
381
exs
Elixir
priv/repo/migrations/20160718140444_update_entry_fields.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
priv/repo/migrations/20160718140444_update_entry_fields.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
priv/repo/migrations/20160718140444_update_entry_fields.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
defmodule Artus.Repo.Migrations.UpdateEntryFields do use Ecto.Migration def change do alter table(:entries) do remove :titl_type add :part, :integer add :subject_things, {:array, :integer} add :subject_works, {:array, :integer} add :additional_info, :string add :links, :st...
20.052632
52
0.658793
3fe5ffb0cbceea74efc71ecf8dea7fb5e149d139
1,892
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/vpn_tunnels_scoped_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/vpn_tunnels_scoped_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/vpn_tunnels_scoped_list.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 ...
37.84
187
0.7463
3fe61bca660df9ec5ed296d360aff835d90e7a9e
7,891
ex
Elixir
lib/phoenix/template.ex
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
lib/phoenix/template.ex
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
lib/phoenix/template.ex
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
defmodule Phoenix.Template do @moduledoc """ Templates are used by Phoenix on rendering. Since many views require rendering large contents, for example a whole HTML file, it is common to put those files in the file system into a particular directory, typically "web/templates". This module provides conveni...
28.182143
90
0.664555
3fe647d627d8090cc856647a5525515704a9ab0d
1,852
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/lib/google_api/service_management/v1/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/list_operations_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...
37.04
176
0.74622
3fe650d20c334b793d5ca1b94473b164b2333500
982
ex
Elixir
lib/stripe/util.ex
movementventures/stripe-elixir
535b9156c87818e809e1907095ca8473b6101f8a
[ "MIT" ]
1
2018-12-25T11:49:09.000Z
2018-12-25T11:49:09.000Z
lib/stripe/util.ex
qzzr/stripe-elixir
535b9156c87818e809e1907095ca8473b6101f8a
[ "MIT" ]
null
null
null
lib/stripe/util.ex
qzzr/stripe-elixir
535b9156c87818e809e1907095ca8473b6101f8a
[ "MIT" ]
null
null
null
defmodule Stripe.Util do def datetime_from_timestamp(ts) when is_binary ts do ts = case Integer.parse ts do :error -> 0 {i, _r} -> i end datetime_from_timestamp ts end def datetime_from_timestamp(ts) when is_number ts do {{year, month, day}, {hour, minutes, seconds}} = :calendar.grego...
26.540541
95
0.677189
3fe6749442bb654de3f9a05af48f6a7538db84f8
429
exs
Elixir
demo_backend/test/demo_server_web/views/error_view_test.exs
jacopofar/godot-multiplayer-phoenix-demo
fef08cffe9ad51d27051b614ef90a8d4257cdcaa
[ "MIT" ]
7
2020-11-12T14:30:30.000Z
2021-08-03T20:49:53.000Z
demo_backend/test/demo_server_web/views/error_view_test.exs
jacopofar/godot-multiplayer-phoenix-demo
fef08cffe9ad51d27051b614ef90a8d4257cdcaa
[ "MIT" ]
null
null
null
demo_backend/test/demo_server_web/views/error_view_test.exs
jacopofar/godot-multiplayer-phoenix-demo
fef08cffe9ad51d27051b614ef90a8d4257cdcaa
[ "MIT" ]
1
2022-01-09T07:25:14.000Z
2022-01-09T07:25:14.000Z
defmodule DemoServerWeb.ErrorViewTest do use DemoServerWeb.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(DemoServerWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" ...
28.6
95
0.741259
3fe69d7417d8181070f43e919b2dd9115717ee92
1,006
ex
Elixir
lib/ex_aws/cloudfront.ex
JustinTangg/ex_aws_cloudfront
be9e2eb9899210dbc9f9432edb8504403342678a
[ "MIT" ]
null
null
null
lib/ex_aws/cloudfront.ex
JustinTangg/ex_aws_cloudfront
be9e2eb9899210dbc9f9432edb8504403342678a
[ "MIT" ]
null
null
null
lib/ex_aws/cloudfront.ex
JustinTangg/ex_aws_cloudfront
be9e2eb9899210dbc9f9432edb8504403342678a
[ "MIT" ]
null
null
null
defmodule ExAws.Cloudfront do @moduledoc """ Documentation for `ExAwsCloudfront`. """ import ExAws.Utils @version "2020-05-31" @type list_distributions_opts :: [ marker: binary, max_items: integer ] @spec list_distributions() :: ExAws.Operation.RestQuery.t @spec list_distributions(opts :: lis...
28.742857
93
0.635189
3fe6b81d8a290645844aad4a6935402b5a009883
644
exs
Elixir
test/foodstock_web/views/restaurants_view_test.exs
robertojnior/foodstock
901bcf036949b9edce3690b5f56ac26f04f4f83e
[ "MIT" ]
null
null
null
test/foodstock_web/views/restaurants_view_test.exs
robertojnior/foodstock
901bcf036949b9edce3690b5f56ac26f04f4f83e
[ "MIT" ]
null
null
null
test/foodstock_web/views/restaurants_view_test.exs
robertojnior/foodstock
901bcf036949b9edce3690b5f56ac26f04f4f83e
[ "MIT" ]
null
null
null
defmodule FoodstockWeb.RestaurantsViewTest do use FoodstockWeb.ConnCase, async: true import Phoenix.View alias Foodstock.Restaurant alias FoodstockWeb.RestaurantsView describe "render/2" do test "renders create.json" do params = %{"name" => "Balde de Lixo", "email" => "contato@baldedelixo.com"} ...
25.76
81
0.645963
3fe6c5550e89117dea9afa41007ded47d79d251e
1,667
ex
Elixir
lib/shape.ex
Bajena/the-ray-tracer-challenge
8b18405fbfadd247c888660adf0a542e4f2024cd
[ "MIT" ]
3
2020-03-23T09:41:07.000Z
2021-06-03T00:14:24.000Z
lib/shape.ex
Bajena/the-ray-tracer-challenge
8b18405fbfadd247c888660adf0a542e4f2024cd
[ "MIT" ]
17
2020-03-14T11:54:59.000Z
2020-06-21T20:01:29.000Z
lib/shape.ex
Bajena/the-ray-tracer-challenge
8b18405fbfadd247c888660adf0a542e4f2024cd
[ "MIT" ]
null
null
null
defmodule RayTracer.Shape do @moduledoc """ This is a common module for all kinds of shapes """ alias RayTracer.Matrix alias RayTracer.RTuple alias RayTracer.Intersection alias RayTracer.Ray alias RayTracer.Material defprotocol Shadeable do def local_normal_at(shape, object_point) def local_i...
26.887097
93
0.710258
3fe704b54cb5a604f3669a2b6af9ca84aa841d9f
3,840
ex
Elixir
lib/google_api/pub_sub/v1/model/policy.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "Apache-2.0" ]
null
null
null
lib/google_api/pub_sub/v1/model/policy.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "Apache-2.0" ]
null
null
null
lib/google_api/pub_sub/v1/model/policy.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "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...
67.368421
1,425
0.68776
3fe71d96a06d437c741c801bf3f53254a02062aa
2,441
ex
Elixir
lib/pushover/model/message.ex
RMATech/pushover
eb4bc2eaf5f247dd8fa2902886a0de028f6b56c2
[ "MIT" ]
null
null
null
lib/pushover/model/message.ex
RMATech/pushover
eb4bc2eaf5f247dd8fa2902886a0de028f6b56c2
[ "MIT" ]
null
null
null
lib/pushover/model/message.ex
RMATech/pushover
eb4bc2eaf5f247dd8fa2902886a0de028f6b56c2
[ "MIT" ]
null
null
null
defmodule Pushover.Model.Message do @moduledoc """ A message. ## Attributes * `data` (*type:* `String.t`, *default:* `nil`) - Your message. * `device` (*type:* `String.t`, *default:* `nil`) - Your user's device name(s) to send the message directly (multiple devices may be separated by a comma). * `t...
41.372881
353
0.657927
3fe71dbca7ddf283151f05bbf421e3c68b9dce41
67,722
ex
Elixir
deps/ecto/lib/ecto/query/planner.ex
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
deps/ecto/lib/ecto/query/planner.ex
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/ecto/lib/ecto/query/planner.ex
carlosviana/blog
1dcf58c3ca40bc3a7105d75de6f51954eb44bca8
[ "MIT" ]
null
null
null
defmodule Ecto.Query.Planner do # Normalizes a query and its parameters. @moduledoc false alias Ecto.Query.{BooleanExpr, DynamicExpr, FromExpr, JoinExpr, QueryExpr, SelectExpr} if map_size(%Ecto.Query{}) != 21 do raise "Ecto.Query match out of date in builder" end @parent_as __MODULE__ @doc """ ...
36.925845
147
0.630652
3fe729dc52eb9e4fbbfa3348123c639c16aa1c27
6,945
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/operation.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/operation.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/operation.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "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...
80.755814
815
0.739237
3fe732db2ce4175d9e2f93b9381ef89c1921cf77
773
ex
Elixir
server/test/support/channel_case.ex
iii-ishida/workrec
d9937282f1665aa65cf6a25d56a583831017239e
[ "MIT" ]
2
2019-02-25T01:43:21.000Z
2019-07-22T03:57:14.000Z
server/test/support/channel_case.ex
iii-ishida/workrec
d9937282f1665aa65cf6a25d56a583831017239e
[ "MIT" ]
2
2022-02-14T03:11:33.000Z
2022-02-27T12:05:43.000Z
server/test/support/channel_case.ex
iii-ishida/workrec
d9937282f1665aa65cf6a25d56a583831017239e
[ "MIT" ]
null
null
null
defmodule WorkrecWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts w...
24.15625
59
0.727038
3fe74983cb82a92dbd6628ee50107be78e7630aa
2,738
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/peer.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_control/lib/google_api/service_control/v1/model/peer.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/peer.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 ...
38.56338
126
0.691381
3fe7579ea65e333a9bd8fc178267c717bcdc9263
1,785
ex
Elixir
lib/grizzly/zwave/commands/clock_set.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/zwave/commands/clock_set.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/zwave/commands/clock_set.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.ClockSet do @moduledoc """ This command is used to set the current time in a supporting node Params: * `:weekday` - the day of the week, one of :sunday, :monday, etc. (required) * `:hour` - 0..23 (required) * `:minute` - 0..59 (required) """ @behaviour Grizzl...
27.890625
84
0.620728
3fe7658652c84873ff6065f6e9a04b73b160d32b
3,900
exs
Elixir
test/budget_app_web/controllers/v1/expense_controller_test.exs
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "MIT" ]
null
null
null
test/budget_app_web/controllers/v1/expense_controller_test.exs
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "MIT" ]
null
null
null
test/budget_app_web/controllers/v1/expense_controller_test.exs
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "MIT" ]
null
null
null
defmodule BudgetAppWeb.V1.ExpenseControllerTest do use BudgetAppWeb.APIControllerCase describe "index" do test "returns paginated collection of expenses", %{conn: conn} do expenses = insert_list(5, :expense) expense = Enum.at(expenses, 4) res = get conn, v1_expense_path(conn, :index),...
31.967213
115
0.557692
3fe7753fcefe6243d2ceb52d537be625f7f8ed68
758
ex
Elixir
lib/ex_mitake/api.ex
7a6163/ex_mitake
3debb483025bb40db0a495a3f6b548385ef6f3fc
[ "MIT" ]
null
null
null
lib/ex_mitake/api.ex
7a6163/ex_mitake
3debb483025bb40db0a495a3f6b548385ef6f3fc
[ "MIT" ]
null
null
null
lib/ex_mitake/api.ex
7a6163/ex_mitake
3debb483025bb40db0a495a3f6b548385ef6f3fc
[ "MIT" ]
null
null
null
defmodule ExMitake.Api do use HTTPoison.Base alias ExMitake.Config alias ExMitake.UrlGenerator, as: Url alias __MODULE__ def send_message(data) do url = "http://#{Config.api_domain()}:7003/SpSendUtf?" data |> append_auth() |> format_data() |> build_url(url) |> Api.get!() end defp build_url(query...
21.055556
74
0.675462
3fe79594b6d798c41a71ab5dfddffaa6dfec31b8
2,677
ex
Elixir
lib/slipstream/connection/state.ex
jjcarstens/slipstream
00376311e23504a71d00c627a0399b07587192a7
[ "Apache-2.0" ]
null
null
null
lib/slipstream/connection/state.ex
jjcarstens/slipstream
00376311e23504a71d00c627a0399b07587192a7
[ "Apache-2.0" ]
null
null
null
lib/slipstream/connection/state.ex
jjcarstens/slipstream
00376311e23504a71d00c627a0399b07587192a7
[ "Apache-2.0" ]
null
null
null
defmodule Slipstream.Connection.State do @moduledoc false alias Slipstream.TelemetryHelper # a struct for storing the internal state of a Slipstream.Connection # process # the module which implements the Slipstream behaviour is hereby known # as the implementor defstruct [ :connection_id, :tra...
27.597938
79
0.699664
3fe7c789307d641e39288aa7b49ad41e396d10a8
1,883
ex
Elixir
lib/livebook/settings.ex
FanJfly/livebook
71319246c4b1ac9b557d864392113316e4187e41
[ "Apache-2.0" ]
1
2022-02-16T09:13:27.000Z
2022-02-16T09:13:27.000Z
lib/livebook/settings.ex
FanJfly/livebook
71319246c4b1ac9b557d864392113316e4187e41
[ "Apache-2.0" ]
null
null
null
lib/livebook/settings.ex
FanJfly/livebook
71319246c4b1ac9b557d864392113316e4187e41
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Settings do @moduledoc false # Keeps all Livebook settings that are backed by storage. alias Livebook.FileSystem @doc """ Returns the autosave path. TODO: Make this configurable in the UI. """ @spec autosave_path() :: String.t() | nil def autosave_path() do case storage().fe...
26.521127
97
0.667552
3fe7dc8df0b371ba543a3448a910731cdad5eb3b
1,309
ex
Elixir
lib/sanbase/timeline/cursor.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/timeline/cursor.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/timeline/cursor.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Timeline.Cursor do @moduledoc """ Cursor based pagination for timeline events. Return maximum of 6 months of timeline events data. """ import Ecto.Query def filter_by_min_dt(query) do min_dt = six_months_ago() from( event in query, where: event.inserted_at >= ^min_dt...
21.112903
76
0.621085
3fe819357f509b36011e73e0799e8df5385b7456
1,440
exs
Elixir
exercises/palindrome-products/palindrome_products_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/palindrome-products/palindrome_products_test.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/palindrome-products/palindrome_products_test.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("palindrome_products.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule PalindromeProductsTest do use ExUnit.Case # @tag :pending test "largest palindrome from single digit factors" do palindromes = Pali...
31.304348
72
0.686806
3fe821e874052eed8186e860444e3b2d705d7ddc
2,184
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/tracking_floodlight_activity_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/display_video/lib/google_api/display_video/v1/model/tracking_floodlight_activity_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/display_video/lib/google_api/display_video/v1/model/tracking_floodlight_activity_config.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...
41.207547
209
0.746795
3fe84dd16d9e3561e50bf045346df2d19692eb59
2,409
ex
Elixir
lib/advent_of_code/day_14.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-19T04:13:00.000Z
2021-12-19T04:13:00.000Z
lib/advent_of_code/day_14.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
null
null
null
lib/advent_of_code/day_14.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-15T19:15:20.000Z
2021-12-15T19:15:20.000Z
defmodule AdventOfCode.Day14 do @typep pair :: {byte(), byte()} @typep pairs :: Map.t(pair(), integer()) @typep rule :: {pair(), {pair(), pair()}} @typep rules :: Map.t(pair(), {pair(), pair()}) @spec part1([binary()]) :: integer() @spec part2([binary()]) :: integer() def part1(args), do: parse_args(args...
35.426471
85
0.635118
3fe892e347655e7042a75e09314133957f1854ea
290
exs
Elixir
config/config.exs
epiphone/sammal
0058359f62fcdf048743fdd62bd84913b98b7773
[ "MIT" ]
2
2017-05-02T14:15:11.000Z
2021-12-11T11:13:15.000Z
config/config.exs
epiphone/sammal
0058359f62fcdf048743fdd62bd84913b98b7773
[ "MIT" ]
null
null
null
config/config.exs
epiphone/sammal
0058359f62fcdf048743fdd62bd84913b98b7773
[ "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 if Mix.env == :dev do config :mix_test_watch, tasks: [ "test", # "dialyzer" # "credo list --format oneline --strict" ] end
20.714286
61
0.658621
3fe8c4768d0086b704ba8046ca6141d3352e7ddf
218
ex
Elixir
lib/rbt/registry/producer.ex
cloud8421/rbt
b536d5f9cde56d0be380f065ad6a2ad54f5341c7
[ "MIT" ]
null
null
null
lib/rbt/registry/producer.ex
cloud8421/rbt
b536d5f9cde56d0be380f065ad6a2ad54f5341c7
[ "MIT" ]
1
2018-09-28T16:16:58.000Z
2019-05-17T14:21:01.000Z
lib/rbt/registry/producer.ex
cloud8421/rbt
b536d5f9cde56d0be380f065ad6a2ad54f5341c7
[ "MIT" ]
null
null
null
defmodule Rbt.Registry.Producer do @moduledoc false def child_spec do {Registry, keys: :unique, name: __MODULE__} end def via(exchange_name) do {:via, Registry, {__MODULE__, exchange_name}} end end
18.166667
49
0.711009
3fe8d13679396ea4731fe8ebb0f3066ec6813597
1,840
ex
Elixir
clients/network_management/lib/google_api/network_management/v1/model/list_operations_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1/model/list_operations_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1/model/list_operations_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.8
176
0.747826
3fe8d15133095669c2348c9341453e7096aefc3e
3,264
ex
Elixir
lib/kojin/pod/pod_package_set.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
3
2021-12-20T04:46:00.000Z
2022-01-31T22:26:44.000Z
lib/kojin/pod/pod_package_set.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
1
2021-12-20T14:46:50.000Z
2021-12-20T14:46:50.000Z
lib/kojin/pod/pod_package_set.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
1
2021-12-20T00:15:52.000Z
2021-12-20T00:15:52.000Z
defmodule Kojin.Pod.PodPackageSet do @moduledoc """ Models a collection of related packages which may refer to types with `dot notation` paths. """ use TypedStruct alias Kojin.Pod.{PodPackage, PodPackageSet, PodTypeRef, PodArray, PodType, PodObject, PodEnum} @typedoc """ Models a collection of relate...
32.969697
98
0.678922
3fe8f665205ee9580b85ddfe0106a84e567ac46f
1,738
ex
Elixir
lib/doctor_schedule/accounts/repositories/account_repository.ex
carlosviana/doctor_schedule
62a0272a2bf9534e7e6a1c6694da15ec5ea91063
[ "MIT" ]
null
null
null
lib/doctor_schedule/accounts/repositories/account_repository.ex
carlosviana/doctor_schedule
62a0272a2bf9534e7e6a1c6694da15ec5ea91063
[ "MIT" ]
3
2021-07-16T10:49:17.000Z
2021-07-21T08:39:29.000Z
lib/doctor_schedule/accounts/repositories/account_repository.ex
carlosviana/doctor_schedule
62a0272a2bf9534e7e6a1c6694da15ec5ea91063
[ "MIT" ]
null
null
null
defmodule DoctorSchedule.Accounts.Repositories.AccountRepository do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias DoctorSchedule.Repo alias DoctorSchedule.Accounts.Entities.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{},...
16.552381
67
0.579402
3fe90f294ed6e82348325069f051c904ad79818f
2,195
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/grouped_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/grouped_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/grouped_result.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.415094
172
0.735308
3fe93d7b039150824d533689235dbf3f2d9cc6ba
1,123
exs
Elixir
config/config.exs
qhwa/elixir-optipng
789b290bda4e9f6d7026516f3b80ff47d11c89a2
[ "MIT" ]
null
null
null
config/config.exs
qhwa/elixir-optipng
789b290bda4e9f6d7026516f3b80ff47d11c89a2
[ "MIT" ]
null
null
null
config/config.exs
qhwa/elixir-optipng
789b290bda4e9f6d7026516f3b80ff47d11c89a2
[ "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.225806
73
0.751558
3fe942a96a33cc7ca10679cbcf370b40e0688554
267
exs
Elixir
interop/config/config.exs
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
561
2019-03-18T09:10:57.000Z
2022-03-27T17:34:59.000Z
interop/config/config.exs
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
94
2019-03-20T09:34:38.000Z
2022-02-27T20:44:04.000Z
interop/config/config.exs
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
112
2019-03-25T03:27:26.000Z
2022-03-21T12:43:59.000Z
use Mix.Config config :prometheus, GRPCPrometheus.ServerInterceptor, latency: :histogram config :prometheus, GRPCPrometheus.ClientInterceptor, latency: :histogram # config :grpc, start_server: true # config :logger, level: :debug config :logger, level: :warn
20.538462
53
0.775281