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
1a5ac9ff12a515bd196028a3c7daa8ff8a3ba9fd
1,080
exs
Elixir
apps/tai/test/tai/venues/boot/positions_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/test/tai/venues/boot/positions_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/test/tai/venues/boot/positions_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Venues.Boot.PositionsTest do use ExUnit.Case, async: false doctest Tai.Venues.Boot.Positions defmodule MyAdapter do def positions(_, _, _) do positions = [ struct(Tai.Trading.Position, %{product_symbol: :btc_usd}), struct(Tai.Trading.Position, %{product_symbol: :eth_usd}) ...
22.5
73
0.600926
1a5aca2d3e4ec37bec81546a78070df3925ef2d6
37,287
ex
Elixir
lib/elixir/lib/inspect/algebra.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
2
2021-11-10T01:18:14.000Z
2021-11-10T01:35:54.000Z
lib/elixir/lib/inspect/algebra.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2021-10-21T08:22:30.000Z
2021-10-21T08:22:30.000Z
lib/elixir/lib/inspect/algebra.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2020-12-18T19:20:35.000Z
2020-12-18T19:20:35.000Z
defmodule Inspect.Opts do @moduledoc """ Defines the options used by the `Inspect` protocol. The following fields are available: * `:base` - prints integers as `:binary`, `:octal`, `:decimal`, or `:hex`, defaults to `:decimal`. When inspecting binaries any `:base` other than `:decimal` implies `...
33.321716
101
0.620565
1a5ae7974f9b96f9a88a5e00ffaf27eb6dcb96af
1,530
ex
Elixir
lib/otp_demo/gen.ex
rob-brown/OTP-Demo
2c889cb04081adec636c91a88dd5a368f7fb8cba
[ "MIT" ]
1
2020-01-20T19:56:56.000Z
2020-01-20T19:56:56.000Z
lib/otp_demo/gen.ex
rob-brown/OTP-Demo
2c889cb04081adec636c91a88dd5a368f7fb8cba
[ "MIT" ]
null
null
null
lib/otp_demo/gen.ex
rob-brown/OTP-Demo
2c889cb04081adec636c91a88dd5a368f7fb8cba
[ "MIT" ]
null
null
null
defmodule OtpDemo.Gen do @moduledoc """ A reimplementation of GenServer. Only for educational insight. """ def start_link(options) do mod = Keyword.fetch!(options, :module) name = Keyword.get(options, :name, __MODULE__) pid = spawn_link(__MODULE__, :init, [mod]) Process.register(pid, name) ...
19.125
50
0.557516
1a5af33b58652b1d536a3a79abcda13a75921ca2
527
exs
Elixir
mix.exs
etxemag75/n2o
4caf8905679d0e1ad73399ed4f17c8941f71d57f
[ "ISC" ]
null
null
null
mix.exs
etxemag75/n2o
4caf8905679d0e1ad73399ed4f17c8941f71d57f
[ "ISC" ]
null
null
null
mix.exs
etxemag75/n2o
4caf8905679d0e1ad73399ed4f17c8941f71d57f
[ "ISC" ]
null
null
null
defmodule N2O.Mixfile do use Mix.Project def deps, do: [ {:ex_doc, ">= 0.0.0", only: :dev}, {:syn, "~> 1.6.3"}] def application, do: [mod: {:n2o, []}, applications: [:syn]] def project do [ app: :n2o, version: "6.7.4", description: "N2O MQTT TCP WebSocket", package: package(), deps: ...
29.277778
80
0.57685
1a5b15f12f5c296cd1408f2de9c898452740bd87
1,860
exs
Elixir
clients/alert_center/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/alert_center/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/alert_center/mix.exs
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.761194
103
0.65914
1a5b2058a89e560777fb7cf0bc03ff59311601ee
1,493
exs
Elixir
mix.exs
W-Games/receipt_verifier
c1230578e0c9b72a5988574d8ff0e82686aa3d94
[ "MIT" ]
1
2018-01-24T16:50:59.000Z
2018-01-24T16:50:59.000Z
mix.exs
W-Games/receipt_verifier
c1230578e0c9b72a5988574d8ff0e82686aa3d94
[ "MIT" ]
null
null
null
mix.exs
W-Games/receipt_verifier
c1230578e0c9b72a5988574d8ff0e82686aa3d94
[ "MIT" ]
null
null
null
defmodule ReceiptVerifier.Mixfile do use Mix.Project @version "0.11.0" @url "https://github.com/linjunpop/receipt_verifier" def project do [ app: :receipt_verifier, version: @version, elixir: "~> 1.3", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, ...
20.736111
54
0.525787
1a5b341bc52d91daf83048659c742bce32f6976b
1,294
ex
Elixir
test/factories/assessments/assessment_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
test/factories/assessments/assessment_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
2
2020-04-22T09:06:38.000Z
2020-04-22T09:15:33.000Z
test/factories/assessments/assessment_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule Cadet.Assessments.AssessmentFactory do @moduledoc """ Factory for the Assessment entity """ defmacro __using__(_opts) do quote do alias Cadet.Assessments.Assessment def assessment_factory do type = Enum.random([:mission, :sidequest, :contest, :path]) # These are actu...
29.409091
96
0.570325
1a5b3931e4a0c270e34c2c08e4d4cbef4ea4ecc5
1,769
exs
Elixir
test/petal/badge_test.exs
cohawk/petal_components
2741c4de66fa8dfa2896fe1e6e02f1d1653422cd
[ "MIT" ]
null
null
null
test/petal/badge_test.exs
cohawk/petal_components
2741c4de66fa8dfa2896fe1e6e02f1d1653422cd
[ "MIT" ]
null
null
null
test/petal/badge_test.exs
cohawk/petal_components
2741c4de66fa8dfa2896fe1e6e02f1d1653422cd
[ "MIT" ]
null
null
null
defmodule PetalComponents.BadgeTest do use ComponentCase import PetalComponents.Badge test "it renders colors and label correctly" do assigns = %{} html = rendered_to_string( ~H""" <.badge color="primary" label="Primary" /> """ ) assert html =~ "Primary" assert html =~ "tex...
20.569767
55
0.534765
1a5b5acc1cab3735464704cf697f717f590b90a5
2,486
ex
Elixir
web/controllers/html_delivery_service_type_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
web/controllers/html_delivery_service_type_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
web/controllers/html_delivery_service_type_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
defmodule Tox.HtmlDeliveryServiceTypeController do use Tox.Web, :controller alias Tox.DeliveryServiceType def index(conn, _params) do delivery_service_types = Repo.all(DeliveryServiceType) render(conn, "index.html", delivery_service_types: delivery_service_types) end def new(conn, _params) do c...
37.666667
101
0.721641
1a5b63b08051b63c27d0d30369ca350643c253ca
1,416
ex
Elixir
lib/Pokedex/encounters.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
lib/Pokedex/encounters.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
lib/Pokedex/encounters.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
defmodule Pokedex.Encounters do @moduledoc """ Documentation for https://pokeapi.co/docs/v2.html/#encounters-section """ @encounter_method_endpoint "/encounter-method/" @encounter_condition_endpoint "/encounter-condition/" @encounter_condition_value_endpoint "/encounter-condition-value/" def encounter_m...
36.307692
81
0.774718
1a5b649e0e5ea429191ddb97467e066326009a40
220
exs
Elixir
test/phoenix_example_app_web/controllers/page_controller_test.exs
dreamingechoes/phoenix-example-app
9b3e9cd0c7acbe2ffee627c58b0150fe0e811780
[ "MIT" ]
2
2018-06-03T19:33:09.000Z
2020-01-14T03:19:05.000Z
test/phoenix_example_app_web/controllers/page_controller_test.exs
dreamingechoes/phoenix-example-app
9b3e9cd0c7acbe2ffee627c58b0150fe0e811780
[ "MIT" ]
null
null
null
test/phoenix_example_app_web/controllers/page_controller_test.exs
dreamingechoes/phoenix-example-app
9b3e9cd0c7acbe2ffee627c58b0150fe0e811780
[ "MIT" ]
1
2018-06-22T00:00:39.000Z
2018-06-22T00:00:39.000Z
defmodule PhoenixExampleAppWeb.PageControllerTest do use PhoenixExampleAppWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Phoenix Example App" end end
24.444444
60
0.713636
1a5b7bf6ed017f07e65f4f556cabcba581620b5f
14,669
ex
Elixir
web/services/admin_service.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
60
2017-05-09T19:08:26.000Z
2021-01-20T11:09:42.000Z
web/services/admin_service.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
6
2017-05-10T15:43:16.000Z
2020-07-15T07:14:41.000Z
web/services/admin_service.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
10
2017-05-10T04:13:54.000Z
2020-12-28T10:30:27.000Z
defmodule UcxChat.AdminService do use UcxChat.Web, :service use UcxChat.ChannelApi alias UcxChat.{Message, Channel, User, UserService, FlexBarView, UserRole, AdminView} require Logger alias UcxChat.{Permission, Role, AdminView, Config} def handle_in("save:general", params, socket) do params = p...
33.799539
128
0.604949
1a5b92c170e3bd033a971b0197e4cf53612c77be
4,053
ex
Elixir
clients/content/lib/google_api/content/v21/model/test_order_line_item_product.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/test_order_line_item_product.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/test_order_line_item_product.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...
46.056818
274
0.68073
1a5bccb112c3086847d27a1a59d538a6b6e4a82a
707
ex
Elixir
src/lib/changelog/data/podcast/podcast_host.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
1
2018-01-22T20:07:10.000Z
2018-01-22T20:07:10.000Z
lib/changelog/data/podcast/podcast_host.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
lib/changelog/data/podcast/podcast_host.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
defmodule Changelog.PodcastHost do use Changelog.Data alias Changelog.{Person, Podcast} schema "podcast_hosts" do field :position, :integer field :delete, :boolean, virtual: true belongs_to :podcast, Podcast belongs_to :person, Person timestamps() end def changeset(struct, params \\ %...
20.2
61
0.680339
1a5bccb2a15dae7b3798010cdb6eaf562b5f48ca
73
exs
Elixir
test/buildkite_ex_test.exs
nsdavidson/buildkite_ex
f1f1f27fb8eb2fff638fb3634bf7e76f2f7daef3
[ "MIT" ]
null
null
null
test/buildkite_ex_test.exs
nsdavidson/buildkite_ex
f1f1f27fb8eb2fff638fb3634bf7e76f2f7daef3
[ "MIT" ]
null
null
null
test/buildkite_ex_test.exs
nsdavidson/buildkite_ex
f1f1f27fb8eb2fff638fb3634bf7e76f2f7daef3
[ "MIT" ]
null
null
null
defmodule BuildkiteExTest do use ExUnit.Case doctest BuildkiteEx end
14.6
28
0.821918
1a5bcf2554e46eb34db2d0b083a04e449e8c32b7
2,870
ex
Elixir
apps/authenticator/lib/sessions/schemas/session.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/authenticator/lib/sessions/schemas/session.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/authenticator/lib/sessions/schemas/session.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule Authenticator.Sessions.Schemas.Session do @moduledoc """ Access token sessions. An access token is a binary string that encapsulates identity session and is used in order to authenticates that the requester is someone who is able to access certain resources and do some actions. """ use Authe...
31.888889
97
0.683275
1a5bdd61e77704bc78d34c7b6b3569fc80355fda
81
exs
Elixir
test/xgps_test.exs
mholtman/xgps
b660df067800d38658e13faa87dc60027425cf66
[ "MIT" ]
20
2016-12-05T18:34:36.000Z
2021-12-21T13:32:44.000Z
test/xgps_test.exs
mholtman/xgps
b660df067800d38658e13faa87dc60027425cf66
[ "MIT" ]
1
2016-10-16T07:09:02.000Z
2016-10-16T07:09:02.000Z
test/xgps_test.exs
mholtman/xgps
b660df067800d38658e13faa87dc60027425cf66
[ "MIT" ]
5
2017-03-04T00:18:50.000Z
2021-01-15T12:26:54.000Z
defmodule XGPSTest do use ExUnit.Case doctest XGPS doctest XGPS.Tools end
11.571429
21
0.765432
1a5c40bc35718f1c1e11ecdabe1f2a2c67eb5837
546
ex
Elixir
lib/hl7/2.1/segments/bhs.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.1/segments/bhs.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.1/segments/bhs.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_1.Segments.BHS do @moduledoc false require Logger use HL7.Segment, fields: [ segment: nil, batch_field_separator: nil, batch_encoding_characters: nil, batch_sending_application: nil, batch_sending_facility: nil, batch_receiving_application: nil, bat...
23.73913
39
0.694139
1a5c8052e7eb0179aab37bc25436c10fced1f848
263
ex
Elixir
lib/expug/tokenizer_tools/state.ex
rstacruz/expug
683eb34abd9465f42d42cbe359fa9ae848f9ec3d
[ "MIT" ]
89
2016-06-27T07:06:23.000Z
2022-03-15T18:21:50.000Z
lib/expug/tokenizer_tools/state.ex
rstacruz/exslim
683eb34abd9465f42d42cbe359fa9ae848f9ec3d
[ "MIT" ]
11
2016-07-28T17:12:39.000Z
2021-01-22T02:54:58.000Z
lib/expug/tokenizer_tools/state.ex
rstacruz/exslim
683eb34abd9465f42d42cbe359fa9ae848f9ec3d
[ "MIT" ]
4
2016-07-26T15:50:35.000Z
2019-09-16T22:49:21.000Z
defmodule Expug.TokenizerTools.State do @moduledoc """ The state used by the tokenizer. %{ tokens: [], source: "...", position: 0, options: ... } ## Also see - `Expug.TokenizerTools` """ defstruct [:tokens, :source, :position, :options] end
18.785714
63
0.619772
1a5c87de0dd0f32d0c948cfaa7b23cee65b3a520
6,155
ex
Elixir
lib/chat_api_web/controllers/conversation_controller.ex
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/conversation_controller.ex
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/conversation_controller.ex
synscen/papercups
6b92bda2c53cbb04871fdc3ec06936a46f365fdf
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.ConversationController do use ChatApiWeb, :controller use PhoenixSwagger alias ChatApi.Conversations alias ChatApi.Conversations.{Conversation, Helpers} action_fallback(ChatApiWeb.FallbackController) def swagger_definitions do %{ Conversation: swagger_schema do ...
34.005525
96
0.664988
1a5c8eda51408df6c837e83c46dd9c4fd3bbf974
2,200
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_active_ad_summary.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_active_ad_summary.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/account_active_ad_summary.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.288136
158
0.703636
1a5cadbae322e69bf90360debd5fccc1e19d6833
711
ex
Elixir
web/gettext.ex
bed42/bedsgarage
608e9509b931078f62ff93e7e34f2451b0d10f49
[ "Apache-2.0" ]
null
null
null
web/gettext.ex
bed42/bedsgarage
608e9509b931078f62ff93e7e34f2451b0d10f49
[ "Apache-2.0" ]
null
null
null
web/gettext.ex
bed42/bedsgarage
608e9509b931078f62ff93e7e34f2451b0d10f49
[ "Apache-2.0" ]
null
null
null
defmodule Bedsgarage.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Bedsgarage.Gettext # Simple translation gettext "Here is t...
28.44
72
0.682138
1a5cb8f486af760131fbf85b8c63eca21da19090
2,155
ex
Elixir
clients/service_control/lib/google_api/service_control/v2/model/response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v2/model/response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_control/lib/google_api/service_control/v2/model/response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.482143
247
0.705336
1a5ce92cc9960c9f4ee7d6efd742010691d137c9
453
ex
Elixir
gen_server/lib/scorer.ex
kkrull/elixir-sandbox
03059e959d645100d23145ddcf8f020cd11a93f3
[ "MIT" ]
null
null
null
gen_server/lib/scorer.ex
kkrull/elixir-sandbox
03059e959d645100d23145ddcf8f020cd11a93f3
[ "MIT" ]
null
null
null
gen_server/lib/scorer.ex
kkrull/elixir-sandbox
03059e959d645100d23145ddcf8f020cd11a93f3
[ "MIT" ]
null
null
null
defmodule Scorer do @moduledoc false use GenServer defmodule State do defstruct num_messages: 0 end def start do GenServer.start_link(Scorer, %State{}, name: :scorer) end def init(args) do {:ok, args} end def handle_cast(message, state) do log_message = "[#{inspect state}}]: #{mes...
17.423077
63
0.662252
1a5cf8052fbfa048e00802e6d3aacb582be0eba3
612
ex
Elixir
lib/elixir_bench/github/client.ex
marcosvm/elixir-bench-api
b60164521cf774a7a861c5c373671324f222e7f0
[ "Apache-2.0" ]
9
2018-01-05T18:59:29.000Z
2019-01-20T22:18:41.000Z
lib/elixir_bench/github/client.ex
marcosvm/elixir-bench-api
b60164521cf774a7a861c5c373671324f222e7f0
[ "Apache-2.0" ]
52
2018-02-19T20:04:23.000Z
2019-09-23T14:36:58.000Z
lib/elixir_bench/github/client.ex
marcosvm/elixir-bench-api
b60164521cf774a7a861c5c373671324f222e7f0
[ "Apache-2.0" ]
3
2018-03-07T21:56:46.000Z
2018-10-09T12:29:27.000Z
defmodule ElixirBench.Github.Client do @moduledoc """ The Github client specification. This module defines an interface for writing Github clients. The clients provide the api to get the raw configuration based on the benchee.yml file of the target repository. Their implementation can follow different prot...
40.8
95
0.748366
1a5d071e078844bf160f63a8adb99f7c73db69aa
345
exs
Elixir
test/faker/gov/it_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
test/faker/gov/it_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
test/faker/gov/it_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker.Gov.ItTest do use ExUnit.Case, async: true import Faker.Gov.It doctest Faker.Gov.It @iterations 10_000 test "fiscal id has a valid length" do Stream.repeatedly(&fiscal_id/0) |> Enum.take(@iterations) |> Enum.each(fn generated_value -> assert 16 = String.length(generated_v...
19.166667
48
0.689855
1a5d0af707a7c3e6bcc6b20a87996f6e1b0afddb
394
ex
Elixir
lib/ex_saferpay/response/bank_account.ex
jshmrtn/ex-saferpay
263fc6dacf5b2741eb3fff33cf8ed405637d170a
[ "MIT" ]
1
2017-12-12T17:09:02.000Z
2017-12-12T17:09:02.000Z
lib/ex_saferpay/response/bank_account.ex
jshmrtn/ex-saferpay
263fc6dacf5b2741eb3fff33cf8ed405637d170a
[ "MIT" ]
4
2017-12-12T17:08:28.000Z
2018-03-01T08:04:56.000Z
lib/ex_saferpay/response/bank_account.ex
jshmrtn/ex-saferpay
263fc6dacf5b2741eb3fff33cf8ed405637d170a
[ "MIT" ]
null
null
null
defmodule ExSaferpay.Response.BankAccount do @moduledoc """ Response Body for BankAccount """ @type t :: %__MODULE__{ iban: String.t(), holder_name: nil | String.t(), bic: nil | String.t(), bank_name: nil | String.t() } defstruct [ :iban, :holder_name,...
16.416667
44
0.548223
1a5d0b08289c3e30d5d2f0e5d447f22d811bd38a
96
exs
Elixir
test/exvcf/filter_test.exs
protochron/exvcf
e7f14de5b24c9c3b51c7d6a7ac687e4f0fd83a5b
[ "Apache-2.0" ]
1
2020-11-19T21:33:38.000Z
2020-11-19T21:33:38.000Z
test/exvcf/filter_test.exs
protochron/exvcf
e7f14de5b24c9c3b51c7d6a7ac687e4f0fd83a5b
[ "Apache-2.0" ]
5
2017-02-10T06:53:33.000Z
2017-02-10T06:57:40.000Z
test/exvcf/filter_test.exs
protochron/exvcf
e7f14de5b24c9c3b51c7d6a7ac687e4f0fd83a5b
[ "Apache-2.0" ]
null
null
null
defmodule ExVcf.Vcf.FilterTest do use ExUnit.Case, async: true doctest ExVcf.Vcf.Filter end
19.2
33
0.78125
1a5d16d1b697c42e0b27c5e23ff7c8f63afb1b0e
5,242
ex
Elixir
lib/Discord/Endpoints/channels.ex
mattneel/alchemy
4c6de0455cd2e1f057e1ae097b7fdf81d2d90bd1
[ "MIT" ]
null
null
null
lib/Discord/Endpoints/channels.ex
mattneel/alchemy
4c6de0455cd2e1f057e1ae097b7fdf81d2d90bd1
[ "MIT" ]
null
null
null
lib/Discord/Endpoints/channels.ex
mattneel/alchemy
4c6de0455cd2e1f057e1ae097b7fdf81d2d90bd1
[ "MIT" ]
null
null
null
defmodule Alchemy.Discord.Channels do @moduledoc false alias Poison.Parser alias Alchemy.Discord.Api alias Alchemy.{Channel, Channel.Invite, Channel.DMChannel, Message, User, Reaction.Emoji} @root "https://discordapp.com/api/v6/channels/" def parse_channel(json) do parsed = Parser.parse!(json) if...
27.73545
91
0.628195
1a5d1826c6e0b880941cef207bd84a5e9f92c4b2
6,315
exs
Elixir
test/phoenix/router/scope_test.exs
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
2
2016-11-01T15:01:48.000Z
2016-11-01T15:07:20.000Z
test/phoenix/router/scope_test.exs
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
null
null
null
test/phoenix/router/scope_test.exs
G3z/phoenix
f13fe2c7f7ec25e6a59204266cb8cbbe7ffbbded
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.ScopedRoutingTest do use ExUnit.Case, async: true use RouterHelper # Path scoping defmodule Api.V1.UserController do use Phoenix.Controller def show(conn, _params), do: text(conn, "api v1 users show") def delete(conn, _params), do: text(conn, "api v1 users delete") def...
30.215311
93
0.622486
1a5d702e6d09061f2f3b3965dfb5091c2db0372a
1,362
ex
Elixir
apps/omg_api/lib/omg_api/application.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/omg_api/application.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/omg_api/application.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...
28.978723
81
0.720264
1a5d8976ff5319b5110e62e586bfa31aecb891be
2,029
exs
Elixir
example/test/example/users/users_test.exs
tino415/u2f_ex
d95f52335dc85140b2b1b3d7975d29c6d71868ea
[ "BSD-3-Clause" ]
13
2018-10-15T10:39:24.000Z
2019-01-15T06:42:24.000Z
example/test/example/users/users_test.exs
tino415/u2f_ex
d95f52335dc85140b2b1b3d7975d29c6d71868ea
[ "BSD-3-Clause" ]
19
2018-08-10T04:33:46.000Z
2018-12-02T04:55:48.000Z
example/test/example/users/users_test.exs
tino415/u2f_ex
d95f52335dc85140b2b1b3d7975d29c6d71868ea
[ "BSD-3-Clause" ]
4
2019-07-06T04:38:31.000Z
2021-02-01T10:45:57.000Z
defmodule Example.UsersTest do use Example.DataCase alias Example.Users describe "users" do alias Example.Users.User @valid_attrs %{email: "some email", password: "some password"} @update_attrs %{email: "some updated email", password: "some updated password"} @invalid_attrs %{email: nil, passwo...
29.838235
83
0.648595
1a5d99bfe9a09b9fcced411b7ecae735b5cbd4f7
24,243
ex
Elixir
lib/boundary.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
133
2019-08-12T12:22:37.000Z
2019-09-06T16:27:34.000Z
lib/boundary.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
7
2019-08-13T00:41:05.000Z
2019-09-07T10:24:22.000Z
lib/boundary.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
2
2019-08-13T09:45:49.000Z
2019-08-20T19:43:09.000Z
defmodule Boundary do @moduledoc """ Definition of boundaries within the application. A boundary is a named group of modules which can export some of its modules, and depend on other boundaries. Boundary definitions can be used in combination with `Mix.Tasks.Compile.Boundary` to restrain cross-module depe...
36.731818
121
0.719837
1a5db960b7a88d14e0d89a1d47266076b03f0083
821
ex
Elixir
test/support/calcinator/test_author_view.ex
Decisiv/calcinator
0d161e8d89c98514e146ae79afeae65215b94388
[ "Apache-2.0" ]
null
null
null
test/support/calcinator/test_author_view.ex
Decisiv/calcinator
0d161e8d89c98514e146ae79afeae65215b94388
[ "Apache-2.0" ]
1
2018-09-24T21:48:46.000Z
2018-09-24T21:48:46.000Z
test/support/calcinator/test_author_view.ex
Decisiv/calcinator
0d161e8d89c98514e146ae79afeae65215b94388
[ "Apache-2.0" ]
null
null
null
defmodule Calcinator.TestAuthorView do @moduledoc """ View for `Calcinator.TestAuthor` """ alias Calcinator.{RelatedView, RelationshipView} use JaSerializer.PhoenixView use Calcinator.JaSerializer.PhoenixView, phoenix_view_module: __MODULE__ location("/api/v1/test-authors/:id") # Attributes attri...
23.457143
94
0.750305
1a5dbd479768f172d303d198f9c1d23fd59e8a17
2,814
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_group_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/node_group_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/node_group_list.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...
45.387097
393
0.710377
1a5e272999f760a6868e268dea2f4162b0bb8778
12,867
ex
Elixir
lib/mix/lib/mix/tasks/compile.app.ex
theodowling/elixir
93a3c5f95823df8f24b0bb977e445f4604e5b93f
[ "Apache-2.0" ]
1
2020-01-14T18:44:56.000Z
2020-01-14T18:44:56.000Z
lib/mix/lib/mix/tasks/compile.app.ex
theodowling/elixir
93a3c5f95823df8f24b0bb977e445f4604e5b93f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.app.ex
theodowling/elixir
93a3c5f95823df8f24b0bb977e445f4604e5b93f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule Mix.Tasks.Compile.App do use Mix.Task.Compiler @recursive true @moduledoc """ Writes an .app file. An `.app` file is a file containing Erlang terms that defines your application. Mix automatically generates this file based on your `mix.exs` configuration. In order to generate the `.app` fi...
32.574684
121
0.641253
1a5e550db470d8eaedf55b2c181e63b5a644f3a8
928
ex
Elixir
lib/august_db/checksum.ex
Terkwood/AugustDB
6de696a80bc4eb523b89d64cd4292ac342bdb3aa
[ "MIT" ]
5
2021-07-28T15:56:42.000Z
2021-08-18T20:58:43.000Z
lib/august_db/checksum.ex
Terkwood/AugustDB
6de696a80bc4eb523b89d64cd4292ac342bdb3aa
[ "MIT" ]
54
2021-07-28T14:51:49.000Z
2021-08-11T21:56:10.000Z
lib/august_db/checksum.ex
Terkwood/AugustDB
6de696a80bc4eb523b89d64cd4292ac342bdb3aa
[ "MIT" ]
null
null
null
defmodule Checksum do def create(uncompressed_payload) do <<:erlang.crc32(uncompressed_payload)::32>> end def verify(uncompressed_payload, crc32_checksum) when is_integer(crc32_checksum) do case create(uncompressed_payload) == <<crc32_checksum::32>> do true -> :ok false -> :fail end end...
29
85
0.693966
1a5e618b224dbd9b3cc5bd61c29fb0801bc1fa40
1,238
ex
Elixir
lib/rmc_web/endpoint.ex
robbyronk/race-control
f44922cb151c04ccf0e30fa226e49323c537ce2b
[ "Apache-2.0" ]
null
null
null
lib/rmc_web/endpoint.ex
robbyronk/race-control
f44922cb151c04ccf0e30fa226e49323c537ce2b
[ "Apache-2.0" ]
null
null
null
lib/rmc_web/endpoint.ex
robbyronk/race-control
f44922cb151c04ccf0e30fa226e49323c537ce2b
[ "Apache-2.0" ]
null
null
null
defmodule RmcWeb.Endpoint do use Phoenix.Endpoint, otp_app: :rmc socket "/socket", RmcWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your static files in p...
26.340426
69
0.703554
1a5ea15b328bc533345701ff69a7e24d3edf5c28
252
ex
Elixir
lib/linex.ex
flipay/chopperbot
29d81a343442bdd8eae7627bc6eb3c7d83cd0151
[ "MIT" ]
5
2019-12-14T03:12:28.000Z
2020-03-04T12:58:44.000Z
lib/linex.ex
flipay/chopperbot
29d81a343442bdd8eae7627bc6eb3c7d83cd0151
[ "MIT" ]
12
2020-01-07T09:31:33.000Z
2020-03-27T06:11:21.000Z
lib/linex.ex
flipay/chopperbot
29d81a343442bdd8eae7627bc6eb3c7d83cd0151
[ "MIT" ]
1
2020-01-09T10:35:37.000Z
2020-01-09T10:35:37.000Z
defmodule Linex do @moduledoc """ Elixir wrapper for LINE API """ @spec get_conf() :: keyword() def get_conf(), do: Application.get_env(:chopperbot, __MODULE__) @spec get_conf(atom()) :: any() def get_conf(key), do: get_conf()[key] end
21
66
0.662698
1a5ea67009dfbec1c8c926beb0d8f0f9bd7d59fa
114
ex
Elixir
lib/blz_proxy.ex
zdeneksejcek/soapex
59ea45b1eff7f265b7192b831a97483077d18e62
[ "MIT" ]
2
2019-02-18T10:44:23.000Z
2021-03-22T10:52:55.000Z
lib/blz_proxy.ex
strzibny/soapex
069648e65f36222501e7e168c02086c630b88cd7
[ "MIT" ]
null
null
null
lib/blz_proxy.ex
strzibny/soapex
069648e65f36222501e7e168c02086c630b88cd7
[ "MIT" ]
3
2020-01-21T15:09:07.000Z
2020-03-18T04:38:00.000Z
# defmodule BlzProxy do # @moduledoc false # # use Soapex.Proxy, # wsdl_path: "./samples/blz.wsdl" # # end
14.25
38
0.640351
1a5f4c52780892bc55e20630425f3038f7f71c83
548
ex
Elixir
lib/particle/error.ex
skruger/particle-elixir
a545ca921b239c2e2edb291cfc98f7d00c2e7310
[ "MIT" ]
4
2017-04-30T22:16:10.000Z
2018-05-03T19:52:24.000Z
lib/particle/error.ex
skruger/particle-elixir
a545ca921b239c2e2edb291cfc98f7d00c2e7310
[ "MIT" ]
5
2016-09-30T10:05:57.000Z
2019-06-03T22:55:25.000Z
lib/particle/error.ex
skruger/particle-elixir
a545ca921b239c2e2edb291cfc98f7d00c2e7310
[ "MIT" ]
3
2016-09-27T07:42:26.000Z
2020-11-04T06:00:53.000Z
defmodule Particle.Error do @moduledoc false defstruct [:reason, :info, :code] @type t :: %__MODULE__{ reason: binary, info: binary, code: integer } def new(code, %{error: reason, info: info}) do %__MODULE__{ reason: reason, info: info, code: code ...
16.117647
48
0.543796
1a5f55fb4ff175dfdcd82c3eb47d74346d72e89e
273
ex
Elixir
lib/steve/helpers/time.ex
satom99/steve
6425eff76e68605c5e882351e118e783abfe7ccc
[ "Apache-2.0" ]
null
null
null
lib/steve/helpers/time.ex
satom99/steve
6425eff76e68605c5e882351e118e783abfe7ccc
[ "Apache-2.0" ]
null
null
null
lib/steve/helpers/time.ex
satom99/steve
6425eff76e68605c5e882351e118e783abfe7ccc
[ "Apache-2.0" ]
null
null
null
defmodule Steve.Time do @moduledoc false import DateTime def now, do: utc_now() def offset_now(value) do now() |> to_unix(:microsecond) |> :erlang.+(value * 1000000) |> round |> from_unix!(:microsecond) end end
18.2
37
0.56044
1a5f6c7280becde492d0acba27b782e73ef85419
703
ex
Elixir
lib/new_relic/util/priority_queue.ex
TheRealReal/elixir_agent
db757b24543c3d213495435e71340897f9455d16
[ "Apache-2.0" ]
null
null
null
lib/new_relic/util/priority_queue.ex
TheRealReal/elixir_agent
db757b24543c3d213495435e71340897f9455d16
[ "Apache-2.0" ]
1
2019-02-08T01:08:31.000Z
2019-02-20T00:24:51.000Z
lib/new_relic/util/priority_queue.ex
cultureamp/elixir_agent
6a6b883a9032cd60e1872925dae705e99487de69
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Util.PriorityQueue do # This is a simple PriorityQueue based on erlang's gb_trees used to # keep the highest priority events when we reach max harvest size @moduledoc false def new() do :gb_trees.empty() end def insert({size, _} = tree, max_size, key, value) when size >= max_size d...
21.30303
77
0.660028
1a5f8543234259c2cb4eadb3c5d146a1d4c2cb70
484
exs
Elixir
test/roshambo/game/type_test.exs
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
test/roshambo/game/type_test.exs
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
test/roshambo/game/type_test.exs
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
defmodule Roshambo.Game.TypeTest do use ExUnit.Case alias Roshambo.Game.Type @valid_types [:best_of_1, :best_of_3, :best_of_5] @invalid_type :invalid_type describe "get/1" do test "Returns the requested game type if valid" do Enum.each(@valid_types, fn type -> assert %Type{name: ^type, gam...
24.2
67
0.673554
1a5f88b26cfb0eedf2d12fccf78cb80aff2454d0
1,578
ex
Elixir
lib/attribute_repository/read.ex
tanguilp/attribute_repository
dfbe52bba681dc6ae4a2c228a522d00bc9fc0e7e
[ "Apache-2.0" ]
null
null
null
lib/attribute_repository/read.ex
tanguilp/attribute_repository
dfbe52bba681dc6ae4a2c228a522d00bc9fc0e7e
[ "Apache-2.0" ]
null
null
null
lib/attribute_repository/read.ex
tanguilp/attribute_repository
dfbe52bba681dc6ae4a2c228a522d00bc9fc0e7e
[ "Apache-2.0" ]
null
null
null
defmodule AttributeRepository.Read do @moduledoc """ Callback for getting a resource from it's identifier """ @doc """ Gets a resource form the `resource_id` When inserting `use AttributeRepository.Read` at the begining of an implementation, the `get!/3` banged version will be automatically created. ...
27.206897
89
0.621039
1a5f8b3b2f2d0e989d307f5a4892cff19e8d15ca
2,529
exs
Elixir
lib/mix/test/mix/tasks/compile.xref_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/mix/test/mix/tasks/compile.xref_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.xref_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.Compile.XrefTest do use MixTest.Case import ExUnit.CaptureIO setup do Mix.Project.push(MixTest.Case.Sample) :ok end test "doesn't xref if not stale, unless forced" do in_fixture "no_mixfile", fn -> write_no_func() ...
27.193548
98
0.589957
1a5fc95cefc7d856ecede13e1794b97c856336a3
3,865
ex
Elixir
clients/container/lib/google_api/container/v1/model/network_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/network_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/network_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...
56.838235
370
0.734023
1a6066ac00ad292ac9b6ad29f61c8a3883ff689d
742
ex
Elixir
lib/nookal/uploader.ex
theo-agilelab/nookal-elixir
09db7cc48c48ed1e714fb74c5c38c9a21e7e189a
[ "MIT" ]
1
2020-06-11T07:57:06.000Z
2020-06-11T07:57:06.000Z
lib/nookal/uploader.ex
theo-agilelab/nookal-elixir
09db7cc48c48ed1e714fb74c5c38c9a21e7e189a
[ "MIT" ]
null
null
null
lib/nookal/uploader.ex
theo-agilelab/nookal-elixir
09db7cc48c48ed1e714fb74c5c38c9a21e7e189a
[ "MIT" ]
1
2019-09-05T08:30:48.000Z
2019-09-05T08:30:48.000Z
defmodule Nookal.Uploader do @moduledoc false def child_spec([]) do %{ start: {__MODULE__, :start_link, []}, type: :supervisor } end def start_link() do children = [ :poolboy.child_spec( :uploader_pool, [ {:name, {:local, :uploader_pool}}, {:wo...
21.2
82
0.597035
1a60aaa4e7521d7f968d965771ff2b69c70c2691
2,177
exs
Elixir
bench/point_polygon_bench.exs
yojee/topo
ecb3237a46ca7e1dec71263a381d9cdc913a3a04
[ "MIT" ]
110
2016-05-05T21:09:19.000Z
2022-03-08T05:22:16.000Z
bench/point_polygon_bench.exs
yojee/topo
ecb3237a46ca7e1dec71263a381d9cdc913a3a04
[ "MIT" ]
15
2016-12-01T00:32:11.000Z
2022-01-18T13:56:37.000Z
bench/point_polygon_bench.exs
yojee/topo
ecb3237a46ca7e1dec71263a381d9cdc913a3a04
[ "MIT" ]
24
2016-09-19T20:06:50.000Z
2021-06-16T06:41:10.000Z
defmodule PointPolygonBench do use Benchfella import Topo @values -1..13 @points (for x <- @values, y <- @values, do: %Geo.Point{coordinates: {x, y}}) @multipoint %Geo.MultiPoint{coordinates: (for x <- @values, y <- @values, do: {x, y})} @polygon Path.join([ "test", "fixtures", "poly.geo.json" ]) |> Fi...
25.611765
88
0.619201
1a60e5bf5d206c61797a3232e97137ab4f71a214
2,639
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/azure_blob_storage_data.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/azure_blob_storage_data.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/azure_blob_storage_data.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...
49.792453
529
0.758621
1a610775074420190291cb5fda1b1c2ce512a684
519
ex
Elixir
lib/fast_xlsx_exporter/sheet/datetime_formatter.ex
ivalentinee/fast-xlsx-expoter
0266f42b820fae141508ac7136abe67d9e37101f
[ "MIT" ]
1
2021-07-26T08:59:56.000Z
2021-07-26T08:59:56.000Z
lib/fast_xlsx_exporter/sheet/datetime_formatter.ex
ivalentinee/fast-xlsx-expoter
0266f42b820fae141508ac7136abe67d9e37101f
[ "MIT" ]
1
2021-01-05T09:28:16.000Z
2021-01-12T15:05:56.000Z
lib/fast_xlsx_exporter/sheet/datetime_formatter.ex
ivalentinee/fast_xlsx_exporter
0266f42b820fae141508ac7136abe67d9e37101f
[ "MIT" ]
null
null
null
defmodule FastXlsxExporter.Sheet.DateTimeFormatter do @moduledoc false @initial_date ~D[1900-01-01] @initial_time ~T[00:00:00] @seconds_per_day 86_400 def format_date(%Date{} = value) do date_chunk = Date.diff(value, @initial_date) 2 + date_chunk end def format_datetime(%NaiveDateTime{} = valu...
23.590909
65
0.720617
1a613acbd6388b8a502ca5ab6232d393befa44a0
15,991
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts.ex
hassanshaikley/nerves_hub_web
9e187eacc0fbaa848d157b832a9ee6223019f0bd
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts.ex
hassanshaikley/nerves_hub_web
9e187eacc0fbaa848d157b832a9ee6223019f0bd
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts.ex
hassanshaikley/nerves_hub_web
9e187eacc0fbaa848d157b832a9ee6223019f0bd
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWebCore.Accounts do import Ecto.Query alias Ecto.{Changeset, Multi} alias Ecto.UUID alias NervesHubWebCore.Accounts.{ Org, User, UserCertificate, Invite, OrgKey, OrgLimit, OrgUser, OrgMetric } alias NervesHubWebCore.Products.{Product, ProductUser} alias...
23.69037
96
0.575574
1a618847a37fe16e40c782ad85c1211a92110e01
140
exs
Elixir
test/ecto/query/join_builder_test.exs
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
1
2015-08-27T13:17:10.000Z
2015-08-27T13:17:10.000Z
test/ecto/query/join_builder_test.exs
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
null
null
null
test/ecto/query/join_builder_test.exs
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.JoinBuilderTest do use ExUnit.Case, async: true import Ecto.Query.JoinBuilder doctest Ecto.Query.JoinBuilder end
23.333333
39
0.807143
1a61af603401ac1371b961fd2f5a8681e2b6787d
9,015
ex
Elixir
lib/elixir/lib/string_io.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/elixir/lib/string_io.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string_io.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
defmodule StringIO do @moduledoc """ This module provides an IO device that wraps a string. ## Examples iex> { :ok, pid } = StringIO.open("foo") iex> IO.read(pid, 2) "fo" """ use GenServer.Behaviour defrecordp :state, input: "", output: "", capture_prompt: false @doc """ Creates ...
26.054913
92
0.58924
1a61ba6ba5e3f2ecbe7a98dbac563412d8899f69
5,474
ex
Elixir
lib/eview/helpers/changeset_validations_parser.ex
Contractbook/eview
01166658910fd7c8c974874b116164873a382ac5
[ "MIT" ]
null
null
null
lib/eview/helpers/changeset_validations_parser.ex
Contractbook/eview
01166658910fd7c8c974874b116164873a382ac5
[ "MIT" ]
null
null
null
lib/eview/helpers/changeset_validations_parser.ex
Contractbook/eview
01166658910fd7c8c974874b116164873a382ac5
[ "MIT" ]
1
2020-09-08T19:46:22.000Z
2020-09-08T19:46:22.000Z
if Code.ensure_loaded?(Ecto) do defmodule EView.Helpers.ChangesetValidationsParser do @moduledoc false # This module converts changeset to a error structure described in API Manifest. @entry_type "json_data_property" @jsonpath_root "$" @jsonpath_joiner "." def changeset_to_rules(%Ecto.Change...
31.825581
125
0.590793
1a61e4b8ded0d2ce72ccc02e4697a182a7d73992
204
ex
Elixir
tests/pseudo_db/lib/pseudo_db.ex
Webtrekk/Webtrekk-Smart-Pixel
8ac5e5132d600ccd486573f88be84908b614530b
[ "MIT" ]
6
2019-05-10T00:01:17.000Z
2022-03-03T12:52:51.000Z
tests/pseudo_db/lib/pseudo_db.ex
Webtrekk/Webtrekk-Smart-Pixel
8ac5e5132d600ccd486573f88be84908b614530b
[ "MIT" ]
4
2020-01-20T13:19:30.000Z
2021-10-15T07:46:59.000Z
tests/pseudo_db/lib/pseudo_db.ex
Webtrekk/Webtrekk-Smart-Pixel
8ac5e5132d600ccd486573f88be84908b614530b
[ "MIT" ]
2
2020-05-02T15:59:43.000Z
2020-10-21T09:00:38.000Z
defmodule PseudoDb do @moduledoc """ Documentation for `PseudoDb`. """ @doc """ Hello world. ## Examples iex> PseudoDb.hello() :world """ def hello do :world end end
10.736842
31
0.563725
1a6203306b9788a600379b3e6ee083efc5303576
3,086
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/accounts.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/accounts.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics/lib/google_api/analytics/v3/model/accounts.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...
45.382353
295
0.701555
1a622f5e2555e2f5360148e122e588ffff6a111b
7,278
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/campaign_creative_associations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/campaign_creative_associations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/campaign_creative_associations.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...
41.118644
187
0.643309
1a6254edbf357b3d660b94b59990c0b56f3e6c30
1,473
ex
Elixir
lib/ex_dbus/router.ex
diodechain/ex_dbus
14d0da9a1b9eb756b0435bec63ad470877d96abf
[ "Apache-2.0" ]
2
2021-08-05T09:08:49.000Z
2021-08-14T22:38:18.000Z
lib/ex_dbus/router.ex
diodechain/ex_dbus
14d0da9a1b9eb756b0435bec63ad470877d96abf
[ "Apache-2.0" ]
null
null
null
lib/ex_dbus/router.ex
diodechain/ex_dbus
14d0da9a1b9eb756b0435bec63ad470877d96abf
[ "Apache-2.0" ]
1
2021-12-05T03:03:05.000Z
2021-12-05T03:03:05.000Z
defmodule ExDBus.Router do alias ExDBus.Spec @callback method( path :: String.t(), interface :: String.t(), method :: String.t(), signature :: String.t(), args :: list(), context :: map() ) :: Spec.method_...
30.061224
75
0.521385
1a625b1bd969247c3fec9e43b7711241a965b6eb
178
exs
Elixir
test/datetime/comparaison.exs
annatel/antl_utils_elixir
3b2206ee5d91ccbf57db8d4e68833880019e46a1
[ "MIT" ]
1
2020-09-23T18:59:35.000Z
2020-09-23T18:59:35.000Z
test/datetime/comparaison.exs
annatel/antl_utils_elixir
3b2206ee5d91ccbf57db8d4e68833880019e46a1
[ "MIT" ]
2
2020-10-11T09:49:51.000Z
2022-03-15T11:13:38.000Z
test/datetime/comparaison.exs
annatel/antl_utils_elixir
3b2206ee5d91ccbf57db8d4e68833880019e46a1
[ "MIT" ]
null
null
null
defmodule AntlUtilsElixir.DateTime.ComparisonTest do use ExUnit.Case, async: true alias AntlUtilsElixir.DateTime.Comparison doctest AntlUtilsElixir.DateTime.Comparison end
29.666667
52
0.848315
1a626da048363df57f0033e0fe8622e707dd311e
2,975
exs
Elixir
test/animina_web/controllers/coupon_controller_test.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
1
2021-04-17T20:36:24.000Z
2021-04-17T20:36:24.000Z
test/animina_web/controllers/coupon_controller_test.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
3
2021-04-15T19:45:43.000Z
2021-04-16T06:08:24.000Z
test/animina_web/controllers/coupon_controller_test.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
null
null
null
# FIXME: Test CouponControllerTest # defmodule AniminaWeb.CouponControllerTest do # use AniminaWeb.ConnCase # alias Animina.Points # @create_attrs %{amount: 42, code: "some code"} # @update_attrs %{amount: 43, code: "some updated code"} # @invalid_attrs %{amount: nil, code: nil} # def fixture(:coupon) do...
32.692308
91
0.634286
1a62ca4e4c157d75f344562df4576db010d8b780
878
ex
Elixir
debian/prerm.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
debian/prerm.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
debian/prerm.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
#!/bin/sh # prerm script for airwave # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version...
22.512821
76
0.626424
1a62d14ffd202912149b0839baecd308cca87d40
537
ex
Elixir
lib/soccer_table_web/router.ex
thomasbrus/phoenix-live-view-soccer-table
60bff384a71fb9c08eb22600409e71fe25e54712
[ "MIT" ]
1
2020-05-09T02:09:21.000Z
2020-05-09T02:09:21.000Z
lib/soccer_table_web/router.ex
thomasbrus/phoenix-live-view-soccer-table
60bff384a71fb9c08eb22600409e71fe25e54712
[ "MIT" ]
null
null
null
lib/soccer_table_web/router.ex
thomasbrus/phoenix-live-view-soccer-table
60bff384a71fb9c08eb22600409e71fe25e54712
[ "MIT" ]
1
2020-07-07T21:38:33.000Z
2020-07-07T21:38:33.000Z
defmodule SoccerTableWeb.Router do use SoccerTableWeb, :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 plug :accepts, ["json"] e...
19.178571
39
0.687151
1a62d47569805cd23a7d8fcaabd6bd3d515cc132
6,183
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_routing.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_routing.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/app_engine_routing.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.157895
134
0.67815
1a62e2228d626250e28af21d283a9460b0ea4266
222
exs
Elixir
.formatter.exs
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
.formatter.exs
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
null
null
null
.formatter.exs
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
# Used by "mix format" known_formatted_files = File.read!("formatted_files") |> String.split("\n") |> Enum.map(&String.trim(&1)) |> List.delete("") [inputs: ["mix.exs", ".formatter.exs"] ++ known_formatted_files]
24.666667
64
0.648649
1a62e8b807706ec0d5da81867c880f2f0c035fbf
88
ex
Elixir
live_view_studio/lib/live_view_studio_web/views/user_reset_password_view.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio_web/views/user_reset_password_view.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio_web/views/user_reset_password_view.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
defmodule LiveViewStudioWeb.UserResetPasswordView do use LiveViewStudioWeb, :view end
22
52
0.863636
1a62f24921bd48fb00b190805911b30424823302
1,842
ex
Elixir
lib/day7/thruster_tester2a.ex
anamba/adventofcode2019
a5de43ddce8b40f67c3017f349d8563c73c94e20
[ "MIT" ]
null
null
null
lib/day7/thruster_tester2a.ex
anamba/adventofcode2019
a5de43ddce8b40f67c3017f349d8563c73c94e20
[ "MIT" ]
null
null
null
lib/day7/thruster_tester2a.ex
anamba/adventofcode2019
a5de43ddce8b40f67c3017f349d8563c73c94e20
[ "MIT" ]
null
null
null
defmodule Day7.ThrusterTester2a do def run do "inputs/day7.txt" |> File.stream!() |> Enum.map(fn line -> line |> String.trim() |> String.split(",") |> Enum.map(&String.to_integer/1) end) |> List.flatten() |> find_max_signal end @doc """ iex> Day7.ThrusterTester2a.find_max_sign...
32.892857
225
0.582519
1a6330ce97097e7b5ede76a23958d27ff74f8505
46,132
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/api/v1.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/api/v1.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/api/v1.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "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...
78.455782
2,320
0.687896
1a63396e0febfa387e52f2981b57cc484e43198e
3,467
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/condition.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/condition.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/condition.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
61.910714
1,065
0.762619
1a635e5c630f159cddcf0aa6bdb4d10a6022516a
1,994
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_client_users_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_client_users_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_client_users_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 ...
35.607143
139
0.739719
1a6380d9707166fae62da94054ada6d048f8d5a4
744
ex
Elixir
lib/glimesh_web/live/streams_live/list.ex
FROSADO/glimesh.tv
d395e89bcf8ab33ccb723ad603c0a6fb6d4ca139
[ "MIT" ]
null
null
null
lib/glimesh_web/live/streams_live/list.ex
FROSADO/glimesh.tv
d395e89bcf8ab33ccb723ad603c0a6fb6d4ca139
[ "MIT" ]
null
null
null
lib/glimesh_web/live/streams_live/list.ex
FROSADO/glimesh.tv
d395e89bcf8ab33ccb723ad603c0a6fb6d4ca139
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.StreamsLive.List do use GlimeshWeb, :live_view alias Glimesh.Streams alias Glimesh.Accounts @impl true def mount(%{"category" => "following"}, session, socket) do user = Accounts.get_user_by_session_token(session["user_token"]) {:ok, socket |> assign(:page_title, "Fol...
24.8
68
0.669355
1a63c66905eb6198d2e7fac8892ebf5edb8099de
819
exs
Elixir
mix.exs
kipcole9/exprof
b34a5197b91262e925e7f8741581d1a56aee704f
[ "MIT" ]
171
2015-01-07T17:26:35.000Z
2022-02-25T01:21:02.000Z
mix.exs
kipcole9/exprof
b34a5197b91262e925e7f8741581d1a56aee704f
[ "MIT" ]
13
2015-01-16T19:31:55.000Z
2020-12-17T13:32:45.000Z
mix.exs
kipcole9/exprof
b34a5197b91262e925e7f8741581d1a56aee704f
[ "MIT" ]
15
2015-01-16T19:13:04.000Z
2021-03-27T21:16:15.000Z
defmodule ExProf.Mixfile do use Mix.Project def project do [ app: :exprof, version: "0.2.4", elixir: "~> 1.0", deps: deps(), description: description(), package: package() ] end # Configuration for the OTP application def application do [ extra_applications: [...
19.5
75
0.566545
1a640b7199f33514813952cf1343c6424d610eb5
17,522
ex
Elixir
lib/commanded/process_managers/process_manager.ex
silvadanilo/commanded
e5c2a0d37ea1c18f7bfcf404e2f086056f04f630
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_manager.ex
silvadanilo/commanded
e5c2a0d37ea1c18f7bfcf404e2f086056f04f630
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_manager.ex
silvadanilo/commanded
e5c2a0d37ea1c18f7bfcf404e2f086056f04f630
[ "MIT" ]
null
null
null
defmodule Commanded.ProcessManagers.ProcessManager do @moduledoc """ Macro used to define a process manager. A process manager is responsible for coordinating one or more aggregates. It handles events and dispatches commands in response. Process managers have state that can be used to track which aggregates ...
33.891683
95
0.689647
1a640e7789c8bdf4fc261eb1837e538405aa0491
2,891
ex
Elixir
lib/bitcoin/protocol/messages/get_blocks.ex
justinlynn/bitcoin-ex
42a10731484fa486cfa9001bd7ec7dfec85da237
[ "Apache-2.0" ]
59
2015-06-08T12:17:12.000Z
2021-02-08T20:04:34.000Z
lib/bitcoin/protocol/messages/get_blocks.ex
justinlynn/bitcoin-ex
42a10731484fa486cfa9001bd7ec7dfec85da237
[ "Apache-2.0" ]
4
2017-03-26T12:56:59.000Z
2021-05-29T01:26:57.000Z
lib/bitcoin/protocol/messages/get_blocks.ex
justinlynn/bitcoin-ex
42a10731484fa486cfa9001bd7ec7dfec85da237
[ "Apache-2.0" ]
18
2015-06-08T06:53:45.000Z
2020-12-25T00:53:40.000Z
defmodule Bitcoin.Protocol.Messages.GetBlocks do @moduledoc """ Return an inv packet containing the list of blocks starting right after the last known hash in the block locator object, up to hash_stop or 500 blocks, whichever comes first. The locator hashes are processed by a node in the order as they a...
39.067568
182
0.690419
1a642a0808823c23ba82fc02aba17a6a58ec0de4
1,177
ex
Elixir
apps/dockerizing_phoenix_web/test/support/channel_case.ex
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
2
2021-01-27T17:49:24.000Z
2021-04-19T21:42:31.000Z
apps/dockerizing_phoenix_web/test/support/channel_case.ex
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
1
2021-04-18T16:30:32.000Z
2021-05-25T17:33:50.000Z
apps/dockerizing_phoenix_web/test/support/channel_case.ex
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
null
null
null
defmodule DockerizingPhoenixWeb.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 ...
28.707317
80
0.742566
1a64484677f902de621f42d0bc083097bb670a0b
12,332
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/api/models.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/models.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/models.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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.69967
187
0.611336
1a648c8e74ef9e522ff0c4457f58af8e0553698d
65
ex
Elixir
web/views/layout_view.ex
rockerBOO/elirc_site
7610ed1a06866188949c8dbed03760aa3db88908
[ "MIT" ]
null
null
null
web/views/layout_view.ex
rockerBOO/elirc_site
7610ed1a06866188949c8dbed03760aa3db88908
[ "MIT" ]
null
null
null
web/views/layout_view.ex
rockerBOO/elirc_site
7610ed1a06866188949c8dbed03760aa3db88908
[ "MIT" ]
null
null
null
defmodule ElircSite.LayoutView do use ElircSite.Web, :view end
16.25
33
0.8
1a64a20baa77a851a2ae8af470127f64778ad1a2
2,400
exs
Elixir
test/moebius/join_test.exs
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
609
2015-10-13T23:42:14.000Z
2022-03-29T21:11:25.000Z
test/moebius/join_test.exs
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
82
2015-10-20T02:18:00.000Z
2021-12-14T19:17:57.000Z
test/moebius/join_test.exs
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
62
2015-10-20T01:14:15.000Z
2021-11-26T19:02:00.000Z
defmodule Moebius.JoinTest do use ExUnit.Case import Moebius.Query test "a basic join" do cmd = db(:customers) |> join(:orders) |> select assert cmd.sql == "select * from customers inner join orders on customers.id = orders.customer_id;" end test "using singular table names" ...
24.242424
92
0.581667
1a64b7924647e952c736b60a5c2fc5869d86229b
2,098
ex
Elixir
lib/espy/gateway/subscription.ex
XRPL-Labs/XRPL-Webhook
4b4194d3263ff957bbd3d654aefe06d1225fa73d
[ "MIT" ]
9
2019-02-22T10:33:28.000Z
2021-02-27T20:26:03.000Z
lib/espy/gateway/subscription.ex
XRPL-Labs/XRPL-Webhook
4b4194d3263ff957bbd3d654aefe06d1225fa73d
[ "MIT" ]
11
2019-04-02T19:21:25.000Z
2022-01-05T23:22:04.000Z
lib/espy/gateway/subscription.ex
XRPL-Labs/XRPL-Webhook
4b4194d3263ff957bbd3d654aefe06d1225fa73d
[ "MIT" ]
6
2019-03-07T15:54:30.000Z
2020-03-26T02:33:40.000Z
defmodule Espy.Gateway.Subscription do use Ecto.Schema import Ecto.Changeset import Ecto.Query, warn: false alias Espy.Repo alias Espy.Gateway.{Webhook, Subscription, App} schema "subscriptions" do field :subscription_id, :integer field :address, :string belongs_to :app, App timestamps() ...
23.573034
88
0.667779
1a64c378db91ed933a92e170086e0860d41c893e
830
exs
Elixir
test/controllers/message_controller_test.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
test/controllers/message_controller_test.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
test/controllers/message_controller_test.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamigliaWeb.MessageControllerTest do use LaFamigliaWeb.ConnCase alias LaFamiglia.Conversation test "create messages" do player = insert(:player) receiver = insert(:player) conn = build_conn() |> with_login(player) |> post("/messages", message: [text: "This is a text.",...
26.774194
97
0.655422
1a64c58f5f5d0331b320e50a90f3950a245a4a66
1,755
exs
Elixir
test/game_of_life/universe/initializer_test.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
test/game_of_life/universe/initializer_test.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
test/game_of_life/universe/initializer_test.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
defmodule GameOfLife.Universe.InitializerTest do use ExUnit.Case import GameOfLife.Test.Support.Functions, only: [random_atom: 0] alias GameOfLife.{Cell, Universe} setup do cell_supervisor = random_atom() {:ok, _} = Cell.Supervisor.start_link(cell_supervisor) {:ok, cell_supervisor: cell_supervisor...
27.857143
81
0.617664
1a64c717bf3231d9268dfb26382e19d8ec0cca72
2,251
ex
Elixir
api/lib/api_web/telemetry.ex
Feggah/university-api
4cd6bf3f9cbfe0e5c27338e25c406a548ff3bf72
[ "MIT" ]
1
2021-10-04T23:26:37.000Z
2021-10-04T23:26:37.000Z
packages/api/lib/api_web/telemetry.ex
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
5
2021-10-04T23:09:14.000Z
2022-02-25T09:35:25.000Z
api/lib/api_web/telemetry.ex
Feggah/university-api
4cd6bf3f9cbfe0e5c27338e25c406a548ff3bf72
[ "MIT" ]
null
null
null
defmodule ApiWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn more...
31.263889
88
0.649045
1a64e0055f37c30bae9f8b0274af0f1d494e4cff
18,723
exs
Elixir
integration_test/ownership/manager_test.exs
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
227
2016-06-16T13:56:02.000Z
2022-03-09T23:03:58.000Z
integration_test/ownership/manager_test.exs
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
198
2016-06-20T08:08:15.000Z
2022-03-06T17:54:37.000Z
integration_test/ownership/manager_test.exs
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
110
2016-06-20T03:50:39.000Z
2022-03-03T20:53:01.000Z
defmodule ManagerTest do use ExUnit.Case, async: true alias TestPool, as: P alias TestAgent, as: A alias DBConnection.Ownership import ExUnit.CaptureLog test "requires explicit checkout on manual mode" do {:ok, pool, opts} = start_pool() refute_checked_out pool, opts assert Ownership.ownershi...
30.443902
102
0.644662
1a64e59b120b07d94e35a2fece19573509f8e1f1
2,922
ex
Elixir
lib/incoming_handler.ex
dbeck/chatter_ex
fa6380f67f0a2a64fa98aacf882867aad98ee467
[ "MIT" ]
31
2016-03-01T16:59:37.000Z
2019-04-15T17:18:27.000Z
lib/incoming_handler.ex
dbeck/chatter_ex
fa6380f67f0a2a64fa98aacf882867aad98ee467
[ "MIT" ]
null
null
null
lib/incoming_handler.ex
dbeck/chatter_ex
fa6380f67f0a2a64fa98aacf882867aad98ee467
[ "MIT" ]
null
null
null
defmodule Chatter.IncomingHandler do require Chatter.Gossip require Chatter.BroadcastID require Chatter.NetID require Logger alias Chatter.Gossip alias Chatter.PeerDB alias Chatter alias Chatter.NetID alias Chatter.Serializer alias Chatter.SerializerDB alias Chatter.MessageHandler def start_li...
32.831461
120
0.623203
1a64f8cf2226452c26b7ba8ae8ca380234508ad3
1,859
ex
Elixir
test/support/cluster.ex
filipeherculano/nebulex
8c16848dc0bef28267c1f0e941ce05005765652b
[ "MIT" ]
null
null
null
test/support/cluster.ex
filipeherculano/nebulex
8c16848dc0bef28267c1f0e941ce05005765652b
[ "MIT" ]
null
null
null
test/support/cluster.ex
filipeherculano/nebulex
8c16848dc0bef28267c1f0e941ce05005765652b
[ "MIT" ]
null
null
null
defmodule Nebulex.Cluster do @moduledoc """ Taken from `Phoenix.PubSub.Cluster`. Copyright (c) 2014 Chris McCord """ def spawn(nodes) do # Turn node into a distributed node with the given long name :net_kernel.start([:"primary@127.0.0.1"]) # Allow spawned nodes to fetch all code from this node ...
26.557143
98
0.664336
1a653a12b7d5d92f5977b3655e2126791e5962e7
68
exs
Elixir
test/test_helper.exs
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
test/test_helper.exs
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
test/test_helper.exs
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Struct.Repo, :manual)
22.666667
52
0.779412
1a655ff5c0eccc818ad24c6d99364ccb9ad76a80
1,580
exs
Elixir
nucleotide-count/nucleotide_count_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
nucleotide-count/nucleotide_count_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
nucleotide-count/nucleotide_count_test.exs
nickpellant/xelixir
6e27dc7083ef3e423a1615f5151910672e6397a8
[ "MIT" ]
null
null
null
if System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("example.exs") else Code.load_file("dna.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule DNATest do use ExUnit.Case, async: true # @tag :pending test "empty dna string has no adenosine" do assert DNA.count('',...
23.235294
80
0.646835
1a65ad34bffc76d7e3d0d42820f57055484be38c
367
exs
Elixir
config/test.exs
szTheory/tds_ecto
219b712677568febe947e3c5e31437910983aa5a
[ "Apache-2.0" ]
64
2015-06-03T09:48:13.000Z
2020-04-25T08:39:49.000Z
config/test.exs
szTheory/tds_ecto
219b712677568febe947e3c5e31437910983aa5a
[ "Apache-2.0" ]
70
2015-02-13T14:00:13.000Z
2021-09-15T10:40:01.000Z
config/test.exs
szTheory/tds_ecto
219b712677568febe947e3c5e31437910983aa5a
[ "Apache-2.0" ]
50
2015-02-13T13:55:47.000Z
2020-03-03T15:34:13.000Z
use Mix.Config config :logger, level: :info config :ecto, lock_for_update: true config :ecto, async_integration_tests: false config :tds_ecto, opts: [ hostname: System.get_env("SQL_HOSTNAME") || "localhost", username: "sa", password: System.get_env("SQL_PASSWORD") || "some!Password", database: "tes...
21.588235
64
0.700272
1a65ad3ad6a3e2fe1a84d79eb189caa74721de67
1,010
exs
Elixir
config/dev.exs
whenther/chopsticks
ec8d9f90cb4e9afc9e80322c734d9c6bfe5e14e1
[ "MIT" ]
2
2016-11-08T18:17:41.000Z
2017-02-23T06:51:56.000Z
config/dev.exs
will-wow/chopsticks
ec8d9f90cb4e9afc9e80322c734d9c6bfe5e14e1
[ "MIT" ]
null
null
null
config/dev.exs
will-wow/chopsticks
ec8d9f90cb4e9afc9e80322c734d9c6bfe5e14e1
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :chopsticks, Chopsticks.Endpoint, http: [port:...
30.606061
68
0.707921
1a65ae7f322dc692f6928536ffb22fc7494219f5
1,349
exs
Elixir
kousa/test/broth/_casts/follow_test.exs
karim-ch/dogehouse
b25c2b81d83a6d897bb6326c8293f7fcea22a095
[ "MIT" ]
1
2021-11-18T22:01:39.000Z
2021-11-18T22:01:39.000Z
kousa/test/broth/_casts/follow_test.exs
S1RRZ/dogehouse
6f64eb0e6567fd1c92130c69d1dc3f26fc2aa8e8
[ "MIT" ]
null
null
null
kousa/test/broth/_casts/follow_test.exs
S1RRZ/dogehouse
6f64eb0e6567fd1c92130c69d1dc3f26fc2aa8e8
[ "MIT" ]
null
null
null
defmodule BrothTest.FollowTest do use ExUnit.Case, async: true use KousaTest.Support.EctoSandbox alias Beef.Schemas.User alias BrothTest.WsClient alias BrothTest.WsClientFactory alias KousaTest.Support.Factory require WsClient setup do user = Factory.create(User) client_ws = WsClientFactory.c...
22.864407
63
0.654559
1a65c28225e8bc3af08c68bc4b7ad3168f979f62
3,141
ex
Elixir
deps/ecto/lib/mix/ecto.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto/lib/mix/ecto.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto/lib/mix/ecto.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Mix.Ecto do @moduledoc """ Conveniences for writing Ecto related Mix tasks. """ @doc """ Parses the repository option from the given command line args list. If no repo option is given, it is retrieved from the application environment. """ @spec parse_repo([term]) :: [Ecto.Repo.t] ...
27.077586
95
0.587393
1a65c6c792041d15b9d63ee473bd64b87361b0a4
1,009
ex
Elixir
rocketpay/lib/rocketpay/users/create.ex
heitorfreitasferreira/nlw4
04d5d0b6094eb3a91a044d2a3529a3df462e4abc
[ "MIT" ]
null
null
null
rocketpay/lib/rocketpay/users/create.ex
heitorfreitasferreira/nlw4
04d5d0b6094eb3a91a044d2a3529a3df462e4abc
[ "MIT" ]
null
null
null
rocketpay/lib/rocketpay/users/create.ex
heitorfreitasferreira/nlw4
04d5d0b6094eb3a91a044d2a3529a3df462e4abc
[ "MIT" ]
null
null
null
defmodule Rocketpay.Users.Create do alias Ecto.Multi alias Rocketpay.{Account, Repo, User} def call(params) do Multi.new() |> Multi.insert(:create_user, User.changeset(params)) |> Multi.run(:create_account, fn repo, %{create_user: user} -> insert_account(repo, user) end) # Isso até aqui...
23.465116
66
0.638256
1a65efdf80aab5299c25f3e1be57b899c0354b24
14,954
exs
Elixir
apps/man_api/priv/repo/migrations/20180329163411_set_new_printout_form2.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
apps/man_api/priv/repo/migrations/20180329163411_set_new_printout_form2.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
apps/man_api/priv/repo/migrations/20180329163411_set_new_printout_form2.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
defmodule Man.Repo.Migrations.SetNewPrintoutForm2 do @moduledoc false use Ecto.Migration def change do execute(""" UPDATE templates SET body = '<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <style>*{margin:0;padding:0;box-sizing:border-box}body{width:1074px;ma...
1,246.166667
14,807
0.72081
1a6605f0a6de2b26cebb56d0ffc9c881c14c6635
1,607
exs
Elixir
apps/thundermoon/test/thundermoon/counter/digit_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/thundermoon/test/thundermoon/counter/digit_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/thundermoon/test/thundermoon/counter/digit_test.exs
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule Thundermoon.DigitTest do use ExUnit.Case, async: true alias Phoenix.PubSub alias Thundermoon.Digit setup do {:ok, digit_0} = Digit.start(self(), :digit_10, 0) {:ok, digit_9} = Digit.start(self(), :digit_10, 9) PubSub.subscribe(ThundermoonWeb.PubSub, "counter") on_exit(fn -> :...
25.507937
58
0.651525
1a660f26245c47efc707c77d55a5fcd24c4aa973
1,700
ex
Elixir
lib/vintage_net/interface/udhcpd.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/interface/udhcpd.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/interface/udhcpd.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.Interface.Udhcpd do @moduledoc false @behaviour VintageNet.ToElixir.UdhcpdHandler require Logger @impl true def lease_update(ifname, lease_file) do case parse_leases(lease_file) do {:ok, leases} -> VintageNet.PropertyTable.put( VintageNet, ["interfa...
27.419355
99
0.576471
1a662fdf43048b03dd4b6bd4b220ac32e25dfb29
709
ex
Elixir
parser/lib/object/request_body.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
143
2020-12-01T06:53:36.000Z
2022-03-24T02:33:01.000Z
parser/lib/object/request_body.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
2
2020-11-30T05:30:42.000Z
2020-12-17T06:33:17.000Z
parser/lib/object/request_body.ex
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
12
2020-12-07T01:22:17.000Z
2020-12-27T12:49:39.000Z
defmodule QuenyaParser.Object.RequestBody do @moduledoc """ RequestBody object """ use TypedStruct alias QuenyaParser.Object.{RequestBody, Util} typedstruct do @typedoc "RequestBody object from the spec" field(:description, String.t(), default: "") field(:required, boolean(), default: false) ...
25.321429
75
0.653032
1a6637ada84b36c2e0017271f4ffbc9fc2701fc2
1,138
exs
Elixir
example/mix.exs
revelrylabs/phoenix_harmonium
41aa64f53fda8af5db0882040e5508d4409996b1
[ "MIT" ]
10
2018-10-03T17:01:35.000Z
2021-12-29T21:13:35.000Z
example/mix.exs
revelrylabs/phoenix_harmonium
41aa64f53fda8af5db0882040e5508d4409996b1
[ "MIT" ]
243
2018-06-13T18:42:35.000Z
2022-03-15T17:18:08.000Z
example/mix.exs
revelrylabs/phoenix_harmonium
41aa64f53fda8af5db0882040e5508d4409996b1
[ "MIT" ]
3
2019-01-08T19:09:28.000Z
2020-05-11T21:01:57.000Z
defmodule Example.MixProject do use Mix.Project def project do [ app: :example, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, deps: deps() ] en...
24.212766
57
0.566784
1a6640476c464e944b2ec5b9af8d990e16dcca40
2,131
ex
Elixir
clients/source_repo/lib/google_api/source_repo/v1/model/audit_log_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/source_repo/lib/google_api/source_repo/v1/model/audit_log_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/model/audit_log_config.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 ...
30.442857
138
0.677147
1a66698f43136f18631f0ccc1e416b9e5005e5f8
905
exs
Elixir
config/dev.exs
paulzql/shadowsocks-ex
8600a42bbf7b790e725f0884b11ac347262276f7
[ "BSD-3-Clause" ]
44
2017-06-23T06:14:54.000Z
2021-11-17T09:58:16.000Z
config/dev.exs
paulzql/shadowsocks-ex
8600a42bbf7b790e725f0884b11ac347262276f7
[ "BSD-3-Clause" ]
5
2017-06-23T09:56:16.000Z
2017-11-28T00:34:53.000Z
config/dev.exs
paulzql/shadowsocks-ex
8600a42bbf7b790e725f0884b11ac347262276f7
[ "BSD-3-Clause" ]
8
2017-06-26T08:41:33.000Z
2021-07-15T12:01:46.000Z
use Mix.Config config :shadowsocks, :listeners, [ [ # type: Shadowsocks.Conn.Http302, type: :server, #Shadowsocks.Conn.ObfsServer, method: "rc4-md5", password: "pass", port: 8888, ota: false, udp: true, failover: "https://www.google.com" ], [ type: :c...
20.568182
50
0.538122
1a667d4408004bd76315319e1207ccbaa8620256
5,760
ex
Elixir
lib/mix/tasks/phx.gen.schema.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
2
2017-06-08T23:28:13.000Z
2017-06-08T23:28:16.000Z
lib/mix/tasks/phx.gen.schema.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.gen.schema.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phx.Gen.Schema do @shortdoc "Generates an Ecto schema and migration file" @moduledoc """ Generates an Ecto schema and migration. mix phx.gen.schema Blog.Post blog_posts title:string views:integer The first argument is the schema module followed by its plural name (used as the tabl...
30.47619
127
0.68941