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
03452ba7e267539f66cc4c735047fa124d88ddc0
885
ex
Elixir
lib/pummpcomm/history/cal_bg_for_ph.ex
infinity-aps/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
15
2017-08-31T00:58:47.000Z
2020-01-12T03:53:13.000Z
lib/pummpcomm/history/cal_bg_for_ph.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
1
2017-09-15T02:09:31.000Z
2017-09-15T02:09:31.000Z
lib/pummpcomm/history/cal_bg_for_ph.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
3
2017-09-10T17:24:59.000Z
2019-09-10T19:41:49.000Z
defmodule Pummpcomm.History.CalBGForPH do @moduledoc """ Calibration blood glucose for pump history. """ use Bitwise alias Pummpcomm.{BloodGlucose, DateDecoder} @behaviour Pummpcomm.History.Decoder # Functions ## Pummpcomm.History.Decoder callbacks @doc """ Blood glucose `amount` """ @impl ...
25.285714
100
0.667797
034561a479eaa4740ef246d0a131c25513b028d5
2,294
ex
Elixir
lib/stripe/core_resources/file_upload.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
555
2016-11-29T05:02:27.000Z
2022-03-30T00:47:59.000Z
lib/stripe/core_resources/file_upload.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
532
2016-11-28T18:22:25.000Z
2022-03-30T17:04:32.000Z
lib/stripe/core_resources/file_upload.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
296
2016-12-05T14:04:09.000Z
2022-03-28T20:39:37.000Z
defmodule Stripe.FileUpload do @moduledoc """ Work with Stripe file_upload objects. You can: - Create a file - Retrieve a file - List all files Stripe API reference: https://stripe.com/docs/api/files """ use Stripe.Entity import Stripe.Request @type t :: %__MODULE__{ id: Stripe.id()...
24.666667
94
0.553182
03456dbf908132c27d4218f0db80364cd4b7c9a3
3,712
exs
Elixir
test/ex_alsa_test.exs
eleanor-daw/ex_alsa
e52c8d2fa5b4a9c5da619b16be4f9dbbd3def7bb
[ "MIT" ]
1
2021-12-18T21:42:38.000Z
2021-12-18T21:42:38.000Z
test/ex_alsa_test.exs
eleanor-daw/ex_alsa
e52c8d2fa5b4a9c5da619b16be4f9dbbd3def7bb
[ "MIT" ]
null
null
null
test/ex_alsa_test.exs
eleanor-daw/ex_alsa
e52c8d2fa5b4a9c5da619b16be4f9dbbd3def7bb
[ "MIT" ]
null
null
null
defmodule ExAlsaTest do use ExUnit.Case doctest ExAlsa describe "ExAlsa" do test "open_handle/1 returns handle for default device" do {:ok, _handle} = ExAlsa.open_handle("default") end test "open_handle/1 raises error when device does not exist" do assert_raise ArgumentError, fn -> ...
30.677686
138
0.636315
03457eec7c1b2a62f1a924bea104eefb137a9cc2
1,091
exs
Elixir
apps/counter/mix.exs
twDuke/myopic
74b2322eb638fc3a21d0d7f5578bf16f142a711b
[ "MIT" ]
null
null
null
apps/counter/mix.exs
twDuke/myopic
74b2322eb638fc3a21d0d7f5578bf16f142a711b
[ "MIT" ]
null
null
null
apps/counter/mix.exs
twDuke/myopic
74b2322eb638fc3a21d0d7f5578bf16f142a711b
[ "MIT" ]
null
null
null
defmodule Counter.Mixfile do use Mix.Project def project do [app: :counter, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", build_embedded: Mix.env == :prod, star...
23.717391
79
0.601283
0345841a4f7ded561e35b96a6077dcd38cdc4ac4
529
exs
Elixir
apps/exred_ui/priv/repo/migrations/20180105230904_create_nodes.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/priv/repo/migrations/20180105230904_create_nodes.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/priv/repo/migrations/20180105230904_create_nodes.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
defmodule ExredUI.Repo.Migrations.CreateNodes do use Ecto.Migration def change do create table(:nodes, primary_key: false) do add :id, :uuid, primary_key: true add :type, :string add :name, :string add :category, :string add :module, :string add :config, :map add :info...
24.045455
72
0.635161
0345c879fbc031bf41237eaa1b612a12ebf5cc00
918
ex
Elixir
test/support/test_consumer.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
38
2016-10-21T08:26:15.000Z
2021-03-19T23:10:40.000Z
test/support/test_consumer.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
32
2017-02-19T08:57:35.000Z
2020-02-05T13:15:11.000Z
test/support/test_consumer.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
6
2017-11-24T16:02:20.000Z
2022-02-22T07:44:36.000Z
defmodule Kastlex.TestConsumer do require Logger import Record, only: [defrecord: 2, extract: 2] defrecord :kafka_message, extract(:kafka_message, from_lib: "brod/include/brod.hrl") def init(_group_id, state) do send state.parent, :init {:ok, state} end def handle_message(_topic, _partition, mess...
32.785714
86
0.683007
0345ebc737d9dc815e4940197b31a33659cdfd0a
3,072
ex
Elixir
lib/mix/lib/mix/cli.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/cli.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/cli.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
defmodule Mix.CLI do @moduledoc false @doc """ Runs Mix according to the command line arguments. """ def main(args \\ System.argv) do Mix.Local.append_archives Mix.Local.append_paths case check_for_shortcuts(args) do :help -> proceed(["help"]) :version -> display_vers...
24.97561
85
0.604492
034619779132948e2e14a52269eea9e80628a05e
5,669
ex
Elixir
lib/membrane/rtp/vad.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtp/vad.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtp/vad.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.RTP.VAD do @moduledoc """ Simple vad based on audio level sent in RTP header. To make this module work appropriate RTP header extension has to be set in SDP offer/answer. If avg of audio level in packets in `time_window` exceeds `vad_threshold` it emits notification `t:speech_notification...
32.959302
118
0.644382
034622ac19f58cc605dd155ce407565cc8761ced
1,438
ex
Elixir
exrack_ui/lib/exrack_ui_web/router.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
exrack_ui/lib/exrack_ui_web/router.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
exrack_ui/lib/exrack_ui_web/router.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
defmodule ExRackUIWeb.Router do use ExRackUIWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {ExRackUIWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do p...
25.22807
70
0.696801
0346649d8bc5d3b33a5b6c8657500d3c851167d7
256
exs
Elixir
priv/repo/migrations/20180111204242_edit_daily_quotes_unique_index.exs
allen-garvey/block-quote-phoenix
5c0f5d16daf6bb515a8f1846c3e4311b368a7bdb
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/blockquote/priv/repo/migrations/20180111204242_edit_daily_quotes_unique_index.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/blockquote/priv/repo/migrations/20180111204242_edit_daily_quotes_unique_index.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Blockquote.Repo.Migrations.EditDailyQuotesUniqueIndex do use Ecto.Migration def change do drop index(:daily_quotes, [:quote_id, :date_used], name: :daily_quote_unique_index) create unique_index(:daily_quotes, [:date_used]) end end
28.444444
87
0.777344
03467b50bc6b029820392673e03aa81d24611027
71
ex
Elixir
phx_csvchart/lib/phx_csvchart_web/views/layout_view.ex
NervesJP/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
13
2018-06-22T10:41:17.000Z
2018-09-01T02:34:33.000Z
phx_csvchart/lib/phx_csvchart_web/views/layout_view.ex
takasehideki/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
null
null
null
phx_csvchart/lib/phx_csvchart_web/views/layout_view.ex
takasehideki/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
1
2022-01-20T13:12:18.000Z
2022-01-20T13:12:18.000Z
defmodule PhxCsvchartWeb.LayoutView do use PhxCsvchartWeb, :view end
17.75
38
0.830986
0346921b33f98eb4fe8ed0ec16728f2442c46243
2,711
ex
Elixir
lib/google_api/you_tube/v3/model/playlist.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/playlist.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/playlist.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...
54.22
1,052
0.752859
0346a2d55b665cc094b9fed44470429c2fa96fe0
865
exs
Elixir
.travis/test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
1
2019-02-10T10:22:39.000Z
2019-02-10T10:22:39.000Z
.travis/test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
null
null
null
.travis/test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
null
null
null
use Mix.Config config :logger, level: :error config :ex_venture, Data.Repo, database: "ex_venture_test", hostname: "localhost", username: "exventure", password: "password", port: 5433, pool: Ecto.Adapters.SQL.Sandbox config :ex_venture, :networking, host: "localhost", port: 5555, server: false, s...
22.763158
65
0.728324
0346c1956fc5b486096f979e0048775c66b585d2
1,543
ex
Elixir
lib/akkad_web/views/error_helpers.ex
thelastinuit/akkad
08df3f51daeada737c53d07663c166a5e6cc297e
[ "MIT" ]
1
2022-03-05T00:05:26.000Z
2022-03-05T00:05:26.000Z
lib/akkad_web/views/error_helpers.ex
thelastinuit/akkad
08df3f51daeada737c53d07663c166a5e6cc297e
[ "MIT" ]
null
null
null
lib/akkad_web/views/error_helpers.ex
thelastinuit/akkad
08df3f51daeada737c53d07663c166a5e6cc297e
[ "MIT" ]
null
null
null
defmodule AkkadWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:s...
32.145833
74
0.66429
0346d2734578c3b448dd4eaea449ce6a0a09f3d7
1,514
ex
Elixir
lib/composers/ota_read/request.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/composers/ota_read/request.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/composers/ota_read/request.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
defmodule ExOpenTravel.Composers.OtaRead.Request do alias ExOpenTravel.{Meta, Request} alias ExOpenTravel.Request.PCIProxies.{ChannexPCI, PCIBooking} alias ExOpenTravel.Request.Document @action "OTA_Read" @type credentials :: %{user: String.t(), password: String.t(), endpoint: String.t()} @type options :: ...
35.209302
97
0.653897
0346dbf79380f041672fe15570c8da5ec93f9d16
995
ex
Elixir
elixir/prime-factors/lib/prime_factors.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
elixir/prime-factors/lib/prime_factors.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
elixir/prime-factors/lib/prime_factors.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule PrimeFactors do @minimum_prime 2 @final_factor 1 defguardp no_remainder?(number, quotient) when rem(number, quotient) == 0 defguardp final_factor?(number, quotient) when @final_factor in [number, quotient] @doc """ Compute the prime factors for 'number'. The prime factors are pri...
26.184211
75
0.700503
0346ffb37be7cfa489fdad2c1f4e31cb89bbc7b5
969
ex
Elixir
lib/d01/challenge.ex
Meldanor/AdventOfCode2021
c0e625865a0b717f73b712c846a2f8f0729ad82b
[ "MIT" ]
null
null
null
lib/d01/challenge.ex
Meldanor/AdventOfCode2021
c0e625865a0b717f73b712c846a2f8f0729ad82b
[ "MIT" ]
null
null
null
lib/d01/challenge.ex
Meldanor/AdventOfCode2021
c0e625865a0b717f73b712c846a2f8f0729ad82b
[ "MIT" ]
null
null
null
defmodule D01.Challenge do @moduledoc false require Logger def run(1) do result = Utils.read_input(1, &String.to_integer/1) |> count_increases() Logger.info("#{result.increased}x increased") end def run(2) do result = Utils.read_input(1, &String.to_integer/1) |> sum_win...
20.617021
68
0.586171
034710cba91991776ee5b44bc131f44cf84b4af0
6,051
ex
Elixir
lib/codes/codes_x74.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_x74.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_x74.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_X74 do alias IcdCode.ICDCode def _X7401XA do %ICDCode{full_code: "X7401XA", category_code: "X74", short_code: "01XA", full_name: "Intentional self-harm by airgun, initial encounter", short_name: "Intentional self-harm by airgun, initial enco...
42.612676
111
0.6627
03471de89b779d1df307c8761aa8f41a03187e20
1,801
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/resource_record.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/resource_record.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/resource_record.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...
33.981132
170
0.704609
03472eba31e89a319c86f3d2c4ec0af468ab2287
8,458
ex
Elixir
lib/suomidev/submissions.ex
yliaho/suomi.dev
4e1946adbeb67cebdc1b7e2009ddecf66497a9c7
[ "MIT" ]
19
2020-08-24T02:50:26.000Z
2021-05-31T20:54:30.000Z
lib/suomidev/submissions.ex
yliaho/suomi.dev
4e1946adbeb67cebdc1b7e2009ddecf66497a9c7
[ "MIT" ]
2
2020-08-24T06:59:46.000Z
2020-08-26T09:51:40.000Z
lib/suomidev/submissions.ex
yliaho/suomi.dev
4e1946adbeb67cebdc1b7e2009ddecf66497a9c7
[ "MIT" ]
6
2020-08-26T02:52:48.000Z
2022-03-08T12:55:51.000Z
defmodule Suomidev.Submissions do @moduledoc """ The Submissions context. """ import Ecto.Query, warn: false alias Suomidev.Repo alias Suomidev.Accounts.User alias Suomidev.Submissions.Submission @pagination_limit 2 defdelegate authorize(action, user, params), to: Suomidev.Submissions.Policy de...
27.372168
118
0.564081
034760c6161a22f7052e670650bb259eed7c9f88
844
ex
Elixir
test/support/model_case.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
7
2017-08-11T12:08:58.000Z
2020-08-17T14:31:49.000Z
test/support/model_case.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
1
2020-06-20T17:54:12.000Z
2020-06-20T17:54:12.000Z
test/support/model_case.ex
Rabsztok/HexWorlds
6d4b00824a6bf09ab84eca4efd14722cf3326616
[ "MIT" ]
null
null
null
defmodule Game.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. For thi...
22.210526
66
0.691943
034765c88e9ae776e169c2100b16ff6e41fdbb37
3,142
ex
Elixir
clients/playable_locations/lib/google_api/playable_locations/v3/model/google_maps_playablelocations_v3_sample_spacing_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/playable_locations/lib/google_api/playable_locations/v3/model/google_maps_playablelocations_v3_sample_spacing_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/playable_locations/lib/google_api/playable_locations/v3/model/google_maps_playablelocations_v3_sample_spacing_options.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...
57.127273
1,160
0.749204
03476bf6b26657a9f0c1c1b91f4a3b28cccdfb18
2,778
ex
Elixir
printer/lib/printer/connection/server.ex
Jwsonic/cliff_swallow
6ea69bcb10a844e10dd002a309eb4f48d0f0d1b8
[ "MIT" ]
null
null
null
printer/lib/printer/connection/server.ex
Jwsonic/cliff_swallow
6ea69bcb10a844e10dd002a309eb4f48d0f0d1b8
[ "MIT" ]
null
null
null
printer/lib/printer/connection/server.ex
Jwsonic/cliff_swallow
6ea69bcb10a844e10dd002a309eb4f48d0f0d1b8
[ "MIT" ]
null
null
null
defmodule Printer.Connection.Server do @moduledoc """ GenServer for handling connections and their various lifecycle events. """ use GenServer require Logger defmodule State do @moduledoc """ State struct for Connection Server """ defstruct [:connection, :printer_server] end alias Pri...
25.962617
87
0.663787
034780ad7ba4b319a52abc66c972ca36c90213d9
335
ex
Elixir
lib/mimicry_api/endpoint.ex
mimicry-tech/mimicry
08a28fb08a7f02fbbb0a2bc2724a08a0b0b41cd9
[ "MIT" ]
4
2021-06-18T17:47:32.000Z
2022-01-04T22:41:36.000Z
lib/mimicry_api/endpoint.ex
mimicry-tech/mimicry
08a28fb08a7f02fbbb0a2bc2724a08a0b0b41cd9
[ "MIT" ]
56
2021-06-14T19:04:35.000Z
2022-03-24T04:18:58.000Z
lib/mimicry_api/endpoint.ex
mimicry-tech/mimicry
08a28fb08a7f02fbbb0a2bc2724a08a0b0b41cd9
[ "MIT" ]
1
2021-06-13T13:44:35.000Z
2021-06-13T13:44:35.000Z
defmodule MimicryApi.Endpoint do use Phoenix.Endpoint, otp_app: :mimicry if code_reloading? do plug(Phoenix.CodeReloader) end plug(MimicryApi.ResponseHeaders) plug(Plug.RequestId) plug(Plug.Parsers, parsers: [:json], pass: ["*/*"], json_decoder: Phoenix.json_library() ) plug(MimicryA...
17.631579
41
0.701493
034791d45415e65cc6baf429e97d005c54474f2e
1,256
exs
Elixir
config/dev.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
config/dev.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
config/dev.exs
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "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 :time_voice, TimeVoice.Endpoint, http: [port: ...
29.904762
68
0.707803
0347a22c008a0344984de5b8a30a5ead3606f93a
963
ex
Elixir
test/support/erp.ex
noizu-labs/SimplePoolAdvanced
9555071e42917d280c7ce4846c19ef208c77f14e
[ "MIT" ]
null
null
null
test/support/erp.ex
noizu-labs/SimplePoolAdvanced
9555071e42917d280c7ce4846c19ef208c77f14e
[ "MIT" ]
null
null
null
test/support/erp.ex
noizu-labs/SimplePoolAdvanced
9555071e42917d280c7ce4846c19ef208c77f14e
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defimpl Noizu.ERP, for: Atom do def sref(nil), do: nil def ref(nil), do...
25.342105
80
0.44756
0347c18c0a88a9efd5448ebf9cb0fee461f8defb
8,555
ex
Elixir
lib/earmark/html_renderer.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
lib/earmark/html_renderer.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
lib/earmark/html_renderer.ex
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
defmodule Earmark.HtmlRenderer do @moduledoc false alias Earmark.Block alias Earmark.Context alias Earmark.Options import Earmark.Inline, only: [convert: 3] import Earmark.Helpers, only: [escape: 2] import Earmark.Helpers.HtmlHelpers import Earmark.Message, only: [add_messages_from: 2, get_messages: 1,...
29.808362
104
0.576622
0347c98bd404c3da0ad32d54237d1d240e557703
1,115
exs
Elixir
patterns/pub-sub/elixir/pubSub/config/config.exs
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
patterns/pub-sub/elixir/pubSub/config/config.exs
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
patterns/pub-sub/elixir/pubSub/config/config.exs
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
03480c8adc3a542b138c64b8dae1047ee891a985
1,126
ex
Elixir
lib/astarte_flow_web/views/flow_view.ex
matt-mazzucato/astarte_flow
e8644b5a27edf325977f5bced9a919f20e289ee2
[ "Apache-2.0" ]
null
null
null
lib/astarte_flow_web/views/flow_view.ex
matt-mazzucato/astarte_flow
e8644b5a27edf325977f5bced9a919f20e289ee2
[ "Apache-2.0" ]
null
null
null
lib/astarte_flow_web/views/flow_view.ex
matt-mazzucato/astarte_flow
e8644b5a27edf325977f5bced9a919f20e289ee2
[ "Apache-2.0" ]
null
null
null
# # This file is part of Astarte. # # Copyright 2020 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
28.871795
74
0.715808
0348630d5329cb062e71675f50e9ed393a9e77f5
81
ex
Elixir
lib/component/definitions/actor_name.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/component/definitions/actor_name.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/component/definitions/actor_name.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
use ElixirRPG.DSL.Component defcomponent ActorName do member :name, "???" end
13.5
27
0.740741
034884da54ff9265d4c583beefa8bb93b918fba7
231
ex
Elixir
code/docstring_test/lib/docstring_test.ex
HTX-Elixir-Meetup/2016-12-07-exunit-and-testing
7317a429f938e9694e1bd0c57981a89fbc398d8c
[ "Apache-2.0" ]
null
null
null
code/docstring_test/lib/docstring_test.ex
HTX-Elixir-Meetup/2016-12-07-exunit-and-testing
7317a429f938e9694e1bd0c57981a89fbc398d8c
[ "Apache-2.0" ]
null
null
null
code/docstring_test/lib/docstring_test.ex
HTX-Elixir-Meetup/2016-12-07-exunit-and-testing
7317a429f938e9694e1bd0c57981a89fbc398d8c
[ "Apache-2.0" ]
null
null
null
defmodule DocstringTest do @doc """ This function returns a reversed string. iex> DocstringTest.reverse_string "hi" "ih" """ def reverse_string(string) when is_bitstring(string) do String.reverse(string) end end
19.25
57
0.722944
034890505a7c67f471164f78e04419ea7fb1dfb2
40,219
ex
Elixir
lib/elixir/lib/system.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/lib/system.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/lib/system.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule System do @moduledoc """ The `System` module provides functions that interact directly with the VM or the host system. ## Time The `System` module also provides functions that work with time, returning different times kept by the system with support for different time units. One of the comp...
30.171793
108
0.665208
0348ba60458f58f3d5b73829a90117674e8d5580
1,600
ex
Elixir
test/support/apps/phx1_5/lib/phx1_5_web/endpoint.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
528
2019-09-13T15:10:36.000Z
2022-03-31T10:28:27.000Z
test/support/apps/phx1_5/lib/phx1_5_web/endpoint.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
133
2019-09-13T17:46:59.000Z
2022-03-01T13:37:10.000Z
test/support/apps/phx1_5/lib/phx1_5_web/endpoint.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
38
2019-10-29T20:37:13.000Z
2022-03-03T05:19:33.000Z
defmodule Phx15Web.Endpoint do use Phoenix.Endpoint, otp_app: :phx1_5 # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_phx1_5_key",...
29.090909
97
0.716875
0348bccb9c3563bfcfbd73a2b65a352a27438fc0
694
ex
Elixir
lib/policr_mini_bot/consumer.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
null
null
null
lib/policr_mini_bot/consumer.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
2
2022-02-25T06:15:30.000Z
2022-02-25T06:15:33.000Z
lib/policr_mini_bot/consumer.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
null
null
null
defmodule PolicrMiniBot.Consumer do @moduledoc """ 消息更新的消费实现。 """ use DynamicSupervisor alias PolicrMiniBot.State alias PolicrMini.Logger def start_link(default \\ []) when is_list(default) do DynamicSupervisor.start_link(__MODULE__, %{}, name: __MODULE__) end @impl true def init(_) do D...
20.411765
67
0.632565
0348c5bce75f33b9f94ac214582a98e3f650883b
14,679
ex
Elixir
lib/codes/codes_r29.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r29.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r29.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_R29 do alias IcdCode.ICDCode def _R290 do %ICDCode{full_code: "R290", category_code: "R29", short_code: "0", full_name: "Tetany", short_name: "Tetany", category_name: "Tetany" } end def _R291 do %ICDCode{full_code: "...
28.228846
94
0.554602
0348e68697d4c8fbde8506d6960e795f7f689e6b
1,387
ex
Elixir
apps/cms/lib/partial/route_pdf.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/cms/lib/partial/route_pdf.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/cms/lib/partial/route_pdf.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule CMS.Partial.RoutePdf do @moduledoc """ Represents metadata about all the pdfs we have associated with a route. """ import CMS.Helpers, only: [field_value: 2, parse_date: 2, parse_files: 2] @enforce_keys [:path, :date_start] defstruct [ :path, :date_start, date_end: nil, link_text...
25.685185
75
0.61788
034905be3c4789482633f9efa4c23c1555185efa
1,526
ex
Elixir
example/test/support/data_case.ex
BrianPhilips/ecto_nested_changeset
4d16f2955c1e7c71e25685030f66aefeba5ce0fc
[ "MIT" ]
null
null
null
example/test/support/data_case.ex
BrianPhilips/ecto_nested_changeset
4d16f2955c1e7c71e25685030f66aefeba5ce0fc
[ "MIT" ]
null
null
null
example/test/support/data_case.ex
BrianPhilips/ecto_nested_changeset
4d16f2955c1e7c71e25685030f66aefeba5ce0fc
[ "MIT" ]
null
null
null
defmodule Nested.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, we enable the SQL sandbox, so changes done to th...
27.25
77
0.687418
034930a483b68448dcecb1deb313c5440acce02a
74
ex
Elixir
lib/battle_box_web/gettext.ex
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
lib/battle_box_web/gettext.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
lib/battle_box_web/gettext.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBoxWeb.Gettext do use Gettext, otp_app: :battle_box end
18.5
35
0.810811
03495c0d6bc72423baf9039b42300ea852664299
1,109
exs
Elixir
config/config.exs
tonic-sys/hlclock
6721871937ecc2ae3e77444faf29a3da051e30c4
[ "Apache-2.0" ]
39
2018-02-12T14:28:18.000Z
2021-09-01T07:40:39.000Z
config/config.exs
elixir-toniq/hlclock
6721871937ecc2ae3e77444faf29a3da051e30c4
[ "Apache-2.0" ]
6
2017-08-20T04:19:08.000Z
2017-09-21T18:27:47.000Z
config/config.exs
keathley/hlclock
6721871937ecc2ae3e77444faf29a3da051e30c4
[ "Apache-2.0" ]
4
2018-03-29T14:28:14.000Z
2021-01-08T11:47:58.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.774194
73
0.749324
03495d1cc5cbe382f03dadeabaeb2c4866134e05
58,146
ex
Elixir
lib/mix/lib/mix/tasks/release.ex
sega-yarkin/elixir
d588716d9f20b6bdd956a158d3a89e2815f14a98
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/release.ex
sega-yarkin/elixir
d588716d9f20b6bdd956a158d3a89e2815f14a98
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/release.ex
sega-yarkin/elixir
d588716d9f20b6bdd956a158d3a89e2815f14a98
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Release do use Mix.Task @shortdoc "Assembles a self-contained release" @moduledoc """ Assembles a self-contained release for the current project: $ MIX_ENV=prod mix release $ MIX_ENV=prod mix release NAME Once a release is assembled, it can be packaged and deployed to a t...
39.394309
137
0.698208
03498c815a018a185ab2b9712bbf30ea751ec0fe
954
exs
Elixir
test/vintage_net/interface/output_logger_test.exs
axelson/vintage_net
68866ff223fa40e7ad6fd4d9fb2f7960cf51b1ca
[ "Apache-2.0" ]
85
2019-05-09T14:54:38.000Z
2022-02-08T16:52:04.000Z
test/vintage_net/interface/output_logger_test.exs
axelson/vintage_net
68866ff223fa40e7ad6fd4d9fb2f7960cf51b1ca
[ "Apache-2.0" ]
132
2019-05-09T15:57:59.000Z
2022-02-28T16:31:22.000Z
test/vintage_net/interface/output_logger_test.exs
axelson/vintage_net
68866ff223fa40e7ad6fd4d9fb2f7960cf51b1ca
[ "Apache-2.0" ]
14
2019-07-08T19:18:23.000Z
2022-02-08T16:52:05.000Z
defmodule VintageNet.Interface.OutputLoggerTest do use ExUnit.Case import ExUnit.CaptureLog alias VintageNet.Interface.OutputLogger test "logs each item" do log = capture_log(fn -> Enum.into(["one", "two", "three"], OutputLogger.new("")) end) assert log =~ "[debug] one" assert ...
24.461538
71
0.604822
0349a8b1b3b835f9ede62be3eeb27b192cf1c547
499
ex
Elixir
lib/user_service_web/views/error_view.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
13
2020-03-31T21:45:40.000Z
2021-02-13T12:17:22.000Z
lib/user_service_web/views/error_view.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
1
2021-03-10T12:57:21.000Z
2021-03-10T12:57:21.000Z
lib/user_service_web/views/error_view.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
1
2020-04-28T15:41:56.000Z
2020-04-28T15:41:56.000Z
defmodule UserServiceWeb.ErrorView do use UserServiceWeb, :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 templ...
29.352941
61
0.739479
0349b40a0c3d5e3d73c5e2e8cafad35b5ae5b61a
2,042
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_bid_response_errors_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_bid_response_errors_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_bid_response_errors_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.814815
280
0.772772
034a0ef9662b414c1a67e15f52e4aac1e724ef4f
1,541
ex
Elixir
lib/rfx_cli/main/execute_command.ex
andyl/rfxi
9007c75693d643555c45a20e9634dd4b3867deba
[ "MIT" ]
1
2021-08-10T14:46:10.000Z
2021-08-10T14:46:10.000Z
lib/rfx_cli/main/execute_command.ex
andyl/rfxi
9007c75693d643555c45a20e9634dd4b3867deba
[ "MIT" ]
2
2021-06-22T14:12:37.000Z
2021-06-28T05:06:23.000Z
lib/rfx_cli/main/execute_command.ex
andyl/rfxi
9007c75693d643555c45a20e9634dd4b3867deba
[ "MIT" ]
null
null
null
defmodule RfxCli.Main.ExecuteCommand do @moduledoc false alias RfxCli.State def run({:error, msg}) do {:error, msg} end def run(state) do case execute(state.command_args) do {:error, msg} -> {:error, msg} result -> State.assign(state, :changeset, result) end end def execute(c...
21.402778
69
0.631408
034a17543d2f1fb95de3d43ee2e13b8164d06816
10,159
exs
Elixir
lib/ex_unit/test/ex_unit/formatter_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/formatter_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/formatter_test.exs
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.FormatterTest do use ExUnit.Case import ExUnit.Formatter doctest ExUnit.Formatter defmacrop catch_assertion(expr) do quote do try do unquote(expr) rescue ex -> ex end end end defp test_module do ...
31.746875
94
0.558913
034a36fc929810ed5b9167f5778cd6614ec327c9
2,060
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_list_intents_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_list_intents_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_list_intents_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.454545
236
0.749029
034a3dd8fb2f213c51e0e5d42958e6c90202eb17
14,152
ex
Elixir
lib/ex_admin/helpers.ex
jcarlos7121/ex_admin
60a07320efaf549814d29f3593715543aef51e6b
[ "MIT" ]
1,347
2015-10-05T18:23:49.000Z
2022-01-09T18:38:36.000Z
lib/ex_admin/helpers.ex
jcarlos7121/ex_admin
60a07320efaf549814d29f3593715543aef51e6b
[ "MIT" ]
402
2015-10-03T13:53:32.000Z
2021-07-08T09:52:22.000Z
lib/ex_admin/helpers.ex
jcarlos7121/ex_admin
60a07320efaf549814d29f3593715543aef51e6b
[ "MIT" ]
333
2015-10-12T22:56:57.000Z
2021-05-26T18:40:24.000Z
Code.ensure_compiled(ExAdmin.Utils) defmodule ExAdmin.Helpers do @moduledoc false require Logger require Integer use Xain import Kernel, except: [to_string: 1] import ExAdmin.Utils import ExAdmin.Render def build_fieldset_legend(nil), do: [] def build_fieldset_legend(""), do: [] def build_fieldse...
28.191235
96
0.616945
034a47a594deb607c6a0be6bc7c55888b22939bd
5,543
ex
Elixir
tools/astarte_e2e/lib/astarte_e2e/service_notifier.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
tools/astarte_e2e/lib/astarte_e2e/service_notifier.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
tools/astarte_e2e/lib/astarte_e2e/service_notifier.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2020 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
25.081448
92
0.662096
034a5265aa826fb4258805f2ee5e78a4a3b1208f
378
ex
Elixir
api_sample/web/views/error_view.ex
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
api_sample/web/views/error_view.ex
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
api_sample/web/views/error_view.ex
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
defmodule ApiSample.ErrorView do use ApiSample.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_templ...
21
47
0.701058
034a6d34669c3426f4fbddd3bb1666e71ed28eb3
2,203
exs
Elixir
test/base_test.exs
norbertskakste/Elibuf
6976eddfbbe9498a15fc6bfb587d7b53fb8845ce
[ "Apache-2.0" ]
4
2017-04-11T14:31:23.000Z
2019-06-04T20:08:02.000Z
test/base_test.exs
norbertskakste/Elibuf
6976eddfbbe9498a15fc6bfb587d7b53fb8845ce
[ "Apache-2.0" ]
null
null
null
test/base_test.exs
norbertskakste/Elibuf
6976eddfbbe9498a15fc6bfb587d7b53fb8845ce
[ "Apache-2.0" ]
null
null
null
defmodule ElibufTest.Base do use ExUnit.Case alias Elibuf.Primitives.Base alias Elibuf.Primitives test "Primitive creation (check ? methods)" do test_primitive = Primitives.int32() assert Base.repeating?(test_primitive) == false assert Base.has_default?(test_primitive) == fals...
33.892308
201
0.664548
034a6decd43b1de8f08d29df9c1124f3e44d8bf6
2,473
ex
Elixir
lib/resty/associations.ex
paulhenri-l/resty
b6aec738569355bab53fbc732bfd323c63348b85
[ "MIT" ]
3
2018-11-17T11:11:47.000Z
2019-09-13T16:13:43.000Z
lib/resty/associations.ex
paulhenri-l/resty
b6aec738569355bab53fbc732bfd323c63348b85
[ "MIT" ]
38
2018-11-11T01:28:41.000Z
2019-04-01T21:28:02.000Z
lib/resty/associations.ex
paulhenri-l/resty
b6aec738569355bab53fbc732bfd323c63348b85
[ "MIT" ]
1
2019-01-10T12:41:48.000Z
2019-01-10T12:41:48.000Z
defmodule Resty.Associations do alias Resty.Associations.NotLoaded alias Resty.Associations.LoadError @moduledoc """ Resty supports associations between resources. The best way to learn how to use an association is to go check its doc. ## Supported associations - `Resty.Resource.Base.belongs_to/3` - `...
29.094118
79
0.717347
034a95271d7d893a55542f797828ffed6c5892ac
1,637
ex
Elixir
lib/ninescraft_web.ex
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
lib/ninescraft_web.ex
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
lib/ninescraft_web.ex
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
defmodule NinescraftWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use NinescraftWeb, :controller use NinescraftWeb, :view The definitions below will be executed for every view, con...
24.073529
69
0.693341
034abbc318e9dc2efca2925a62d569c4a29cc116
1,607
exs
Elixir
config/test.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
9
2021-10-05T08:01:18.000Z
2022-03-30T07:19:38.000Z
config/test.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
29
2021-10-04T05:46:47.000Z
2022-03-31T18:47:10.000Z
config/test.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
2
2021-10-04T05:50:38.000Z
2021-10-05T05:01:34.000Z
use Mix.Config config :mv_opentelemetry_harness, ecto_repos: [MvOpentelemetryHarness.Repo] # Configures the endpoint config :mv_opentelemetry_harness, MvOpentelemetryHarnessWeb.Endpoint, url: [host: "localhost"], secret_key_base: "yu69b2fyPQLDba6EWwyNe2xAXAkcAQT68owg8KhGL/Hfosl3QuYOffSE+eFvqeuX", live_view: [...
34.191489
98
0.768513
034acabe8319e183f60119af2a9bae17c9a8498e
1,704
ex
Elixir
clients/content/lib/google_api/content/v21/model/orders_reject_return_line_item_response.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_reject_return_line_item_response.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_reject_return_line_item_response.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.08
204
0.744131
034ae41f43741b79ebf715b36f9a5349a09cc448
170
exs
Elixir
apps/customer/test/test_helper.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
102
2017-05-21T18:24:04.000Z
2022-03-10T12:53:20.000Z
apps/customer/test/test_helper.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
2
2017-05-21T01:53:30.000Z
2017-12-01T00:27:06.000Z
apps/customer/test/test_helper.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
18
2017-05-22T09:51:36.000Z
2021-09-24T00:57:01.000Z
{:ok, _} = Application.ensure_all_started(:ex_machina) ExUnit.start Pact.put(:google_strategy, FakeGoogleStrategy) Ecto.Adapters.SQL.Sandbox.mode(Customer.Repo, :manual)
34
54
0.805882
034b19ec86721a2ae802a1652ea235e8d524f485
497
ex
Elixir
test/factories/course/sourcecast_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
test/factories/course/sourcecast_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
test/factories/course/sourcecast_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule Cadet.Course.SourcecastFactory do @moduledoc """ Factory for Sourcecast entity """ defmacro __using__(_opts) do quote do alias Cadet.Course.Sourcecast def sourcecast_factory do %Sourcecast{ title: Faker.StarWars.character(), description: Faker.StarWars.pla...
22.590909
49
0.615694
034b55c2a723e199fe8a48742bf2d125d1d67f08
2,100
ex
Elixir
apps/ewallet/lib/ewallet/fetchers/transaction_consumption_fetcher.ex
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/fetchers/transaction_consumption_fetcher.ex
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/fetchers/transaction_consumption_fetcher.ex
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.TransactionConsumptionFetcher do @moduledoc """ Handles any kind of retrieval/fetching for the TransactionConsumptionGate. All functions here are only meant to load and format data related to transaction consumptions. """ alias EWalletDB.{TransactionConsumption, Transaction} @spec get(...
30
96
0.695238
034b793bd8b986a62a45185af9cd6b40d3b70641
88,841
ex
Elixir
lib/resources.ex
bitchef/exocco
b0e93b01794d71c0458f52907b2f66b03e3f207e
[ "MIT" ]
null
null
null
lib/resources.ex
bitchef/exocco
b0e93b01794d71c0458f52907b2f66b03e3f207e
[ "MIT" ]
1
2016-02-09T12:27:42.000Z
2016-02-09T12:27:42.000Z
lib/resources.ex
bitchef/exocco
b0e93b01794d71c0458f52907b2f66b03e3f207e
[ "MIT" ]
null
null
null
defmodule Resources do # CSS stylesheet. defmacro css do quote do """ /*--------------------- Layout and Typography ----------------------------*/ body { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; font-size: 14px; line-height: 16px; color: #252519; ma...
210.026005
32,220
0.613973
034b87e18338f3dd4f60153171537012e0620b03
7,281
exs
Elixir
lib/elixir/test/elixir/stream_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/stream_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/stream_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule StreamTest do use ExUnit.Case, async: true test "streams as enumerables" do stream = Stream.map([1,2,3], &(&1 * 2)) # Reduce assert Enum.map(stream, &(&1 + 1)) == [3,5,7] # Member assert Enum.member?(stream, 4) refute Enum.member?(str...
32.07489
108
0.572449
034b983fdaf925c05851ad061608c4d06fbb20ec
1,751
ex
Elixir
lib/dustbin/notifier.ex
saulecabrera/dustbin
6f862d35d4584acda1e082fad278a7c23dc9598b
[ "MIT" ]
null
null
null
lib/dustbin/notifier.ex
saulecabrera/dustbin
6f862d35d4584acda1e082fad278a7c23dc9598b
[ "MIT" ]
7
2017-02-01T00:17:57.000Z
2017-04-17T13:40:04.000Z
lib/dustbin/notifier.ex
saulecabrera/dustbin
6f862d35d4584acda1e082fad278a7c23dc9598b
[ "MIT" ]
null
null
null
defmodule Dustbin.Notifier do alias Dustbin.{Locations, Scheduler, Schedules} import Crontab.CronExpression use GenServer use Timex def start_link do GenServer.start_link(__MODULE__, %{}, name: __MODULE__) end def notify(name, location_slug, timezone) do GenServer.cast(__MODULE__, {:notify, na...
23.039474
88
0.615077
034bb8d06f351acf77dbe282b59fe6c62ebfcc0a
172
exs
Elixir
config/test.exs
dreamingblackcat/phoneix-chat-server-example
39fe46056c0cf4015c66919c4831b8e2437e39af
[ "MIT" ]
null
null
null
config/test.exs
dreamingblackcat/phoneix-chat-server-example
39fe46056c0cf4015c66919c4831b8e2437e39af
[ "MIT" ]
null
null
null
config/test.exs
dreamingblackcat/phoneix-chat-server-example
39fe46056c0cf4015c66919c4831b8e2437e39af
[ "MIT" ]
null
null
null
use Mix.Config config :chatter, Chatter.Endpoint, http: [port: System.get_env("PORT") || 4001] # Print only warnings and errors during test config :logger, level: :warn
24.571429
46
0.732558
034beb95ccaac2604ffc60c8f6500cb9dcbc4510
368
ex
Elixir
web_finngen_r8/lib/risteys/atc_drug.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/lib/risteys/atc_drug.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/lib/risteys/atc_drug.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule Risteys.ATCDrug do use Ecto.Schema import Ecto.Changeset schema "atc_drugs" do field :atc, :string field :description, :string timestamps() end @doc false def changeset(atc_drug, attrs) do atc_drug |> cast(attrs, [:atc, :description]) |> validate_required([:atc, :descrip...
18.4
46
0.668478
034c0a1542394d0b57d7da9ea9f23b0943a903a4
800
exs
Elixir
apps/elixir_ls_debugger/mix.exs
bottlenecked/elixir-ls
99ab6e98ff181aae01ca3d119dee0ea9c49c727a
[ "Apache-2.0" ]
null
null
null
apps/elixir_ls_debugger/mix.exs
bottlenecked/elixir-ls
99ab6e98ff181aae01ca3d119dee0ea9c49c727a
[ "Apache-2.0" ]
null
null
null
apps/elixir_ls_debugger/mix.exs
bottlenecked/elixir-ls
99ab6e98ff181aae01ca3d119dee0ea9c49c727a
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.Debugger.Mixfile do use Mix.Project def project do [ app: :elixir_ls_debugger, version: "0.9.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: ">= 1.10.0", build...
23.529412
71
0.585
034c2231c13dce8aa6c843b865e9168d65a9d110
570
ex
Elixir
lib/sobelow/sql/stream.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
1,305
2017-05-12T21:09:40.000Z
2022-03-31T04:31:49.000Z
lib/sobelow/sql/stream.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
95
2017-05-15T09:45:41.000Z
2022-03-23T03:35:48.000Z
lib/sobelow/sql/stream.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
86
2017-05-15T20:18:59.000Z
2022-02-11T22:10:34.000Z
defmodule Sobelow.SQL.Stream do @uid 18 @finding_type "SQL.Stream: SQL injection" use Sobelow.Finding def run(fun, meta_file) do confidence = if !meta_file.is_controller?, do: :low Finding.init(@finding_type, meta_file.filename, confidence) |> Finding.multi_from_def(fun, parse_sql_def(fun)) |...
23.75
67
0.680702
034c2a3371e55064bce0f66b44ba1d2dea506684
340
exs
Elixir
priv/repo/migrations/20190217191734_create_credentials.exs
edwinthinks/semaphore-demo-elixir-phoenix
16c60f1a37f204156a17628947a7dda552a76ee0
[ "MIT" ]
1
2020-03-19T13:26:01.000Z
2020-03-19T13:26:01.000Z
priv/repo/migrations/20190217191734_create_credentials.exs
edwinthinks/semaphore-demo-elixir-phoenix
16c60f1a37f204156a17628947a7dda552a76ee0
[ "MIT" ]
6
2019-05-29T16:34:19.000Z
2021-09-01T02:10:43.000Z
priv/repo/migrations/20190217191734_create_credentials.exs
edwinthinks/semaphore-demo-elixir-phoenix
16c60f1a37f204156a17628947a7dda552a76ee0
[ "MIT" ]
68
2019-05-16T15:40:51.000Z
2022-03-20T06:30:53.000Z
defmodule Sema.Repo.Migrations.CreateCredentials do use Ecto.Migration def change do create table(:credentials) do add :email, :string add :user_id, references(:users, on_delete: :nothing) timestamps() end create unique_index(:credentials, [:email]) create index(:credentials, [:...
21.25
59
0.688235
034ce4ac07772e0aa6453b38d3cf9ed70f5b6df6
1,631
ex
Elixir
apps/day6/lib/day6.ex
at7heb/aoc2021
ab31881b40354e28da0feaf5309c9648def85e77
[ "MIT" ]
null
null
null
apps/day6/lib/day6.ex
at7heb/aoc2021
ab31881b40354e28da0feaf5309c9648def85e77
[ "MIT" ]
null
null
null
apps/day6/lib/day6.ex
at7heb/aoc2021
ab31881b40354e28da0feaf5309c9648def85e77
[ "MIT" ]
null
null
null
defmodule Day6 do @moduledoc """ Documentation for `Day6`. """ @doc """ Hello world. ## Examples iex> Day6.hello() :world """ def run() do get_input() |> process() |> present() end def present({a1, a2} = _answer) do IO.puts("There are now #{a1} langernfish") IO.p...
23.3
116
0.62477
034cf02ecde0a174d4ab84e7954bdb166dadb6b3
1,564
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/size.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/size.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/size.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
30.666667
84
0.734655
034d181f2768c90c215dcf431755ef25fcd690b6
870
exs
Elixir
mix.exs
mtanca/alchemic_avatar
8016ef8268581ae1c77605e228e3c62e64c0b21b
[ "MIT" ]
56
2016-04-05T09:41:04.000Z
2021-01-21T21:40:14.000Z
mix.exs
mtanca/alchemic_avatar
8016ef8268581ae1c77605e228e3c62e64c0b21b
[ "MIT" ]
3
2016-08-28T03:37:18.000Z
2017-12-01T07:05:34.000Z
mix.exs
mtanca/alchemic_avatar
8016ef8268581ae1c77605e228e3c62e64c0b21b
[ "MIT" ]
9
2016-04-05T11:20:36.000Z
2021-04-06T14:16:42.000Z
defmodule AlchemicAvatar.Mixfile do use Mix.Project def project do [app: :alchemic_avatar, version: "0.1.3", elixir: "~> 1.2", description: description(), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, package: package(), deps: deps(), docs: [extras...
20.714286
77
0.581609
034d21a7f2bf19567314b7279b2a8c0a40cda982
1,786
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/path_query_options_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/path_query_options_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/path_query_options_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "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...
33.698113
111
0.717245
034d63339db9ef9b2c732cda7b32cac0508334b5
2,205
exs
Elixir
exercises/01-elixir/02-data-types/02-tuples/05-destructuring-remarketed/tests.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
1
2021-09-22T09:52:11.000Z
2021-09-22T09:52:11.000Z
exercises/01-elixir/02-data-types/02-tuples/05-destructuring-remarketed/tests.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
22
2019-06-19T18:58:13.000Z
2020-03-16T14:43:06.000Z
exercises/01-elixir/02-data-types/02-tuples/05-destructuring-remarketed/tests.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
32
2019-09-19T03:25:11.000Z
2020-10-06T15:01:47.000Z
defmodule Setup do @script "shared.exs" def setup(directory \\ ".") do path = Path.join(directory, @script) if File.exists?(path) do Code.require_file(path) Shared.setup(__DIR__) else setup(Path.join(directory, "..")) end end end Setup.setup defmodule Tests do use ExUnit.C...
33.923077
86
0.560544
034dda2f06299cfdb35a8714730c4c355bdd495d
969
ex
Elixir
lib/top5_2/accounts/user.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
lib/top5_2/accounts/user.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
2
2021-03-09T09:26:25.000Z
2021-05-09T08:58:51.000Z
lib/top5_2/accounts/user.ex
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
null
null
null
defmodule Top52.Accounts.User do @moduledoc """ The Accounts User schema / changeset. """ use Ecto.Schema import Ecto.Changeset alias Pbkdf2 schema "users" do field :email, :string field :password, :string field :username, :string has_many :tasks, Top52.Tasks.Task timestamps() en...
24.225
71
0.647059
034defc870846f05f72c19f17190e8be9be3f5e8
677
ex
Elixir
lib/money_bin/accounts/account.ex
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
null
null
null
lib/money_bin/accounts/account.ex
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
1
2019-01-01T06:50:32.000Z
2019-01-01T06:50:32.000Z
lib/money_bin/accounts/account.ex
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
null
null
null
defmodule MoneyBin.Account do use MoneyBin, :schema @moduledoc false schema @tables[:account] do has_many(:entries, @schemas[:journal_entry]) has_many(:transactions, through: [:entries, :transactions]) has_many(:memberships, @schemas[:ledger_member]) has_many(:ledgers, through: [:memberships, :le...
32.238095
78
0.691285
034e117617a2ae9a900b6a44c27eab2a29b59297
3,255
ex
Elixir
clients/language/lib/google_api/language/v1/model/entity.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/language/lib/google_api/language/v1/model/entity.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/entity.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
42.272727
167
0.705376
034e4517fccba2ec2e1bd50e7f6d5d73e1b2d709
144
ex
Elixir
lib/wishlist_web/controllers/admin_controller.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/controllers/admin_controller.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/controllers/admin_controller.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
defmodule WishlistWeb.AdminController do use WishlistWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
18
40
0.743056
034e5d022e4ba3e9d8cec38a9b790096fcbf6b81
2,560
ex
Elixir
priv/perf/apps/load_test/lib/scenario/many_standard_exits.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
priv/perf/apps/load_test/lib/scenario/many_standard_exits.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
priv/perf/apps/load_test/lib/scenario/many_standard_exits.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
31.604938
105
0.714844
034e744e978b992568aa1b4b1b41f8d43b383d81
1,099
ex
Elixir
test/support/channel_case.ex
wbotelhos/crud-in-5-minutes-with-phoenix-and-elixir
f3218507d5c2ea7c23170d4316b41979beaa9aa6
[ "MIT" ]
2
2021-05-28T11:32:22.000Z
2021-05-28T19:39:03.000Z
test/support/channel_case.ex
wbotelhos/crud-in-5-minutes-with-phoenix-and-elixir
f3218507d5c2ea7c23170d4316b41979beaa9aa6
[ "MIT" ]
null
null
null
test/support/channel_case.ex
wbotelhos/crud-in-5-minutes-with-phoenix-and-elixir
f3218507d5c2ea7c23170d4316b41979beaa9aa6
[ "MIT" ]
null
null
null
defmodule BibleWeb.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 wit...
26.804878
67
0.724295
034e8542d7c65ac6443d03ece28fa3870a70a57d
944
ex
Elixir
examples/picam_http/lib/picam_http/streamer.ex
JacquiManzi/picam
d03d7a1b20da4a53578c6d218635b832e1543af9
[ "BSD-3-Clause" ]
56
2019-03-31T07:03:16.000Z
2022-03-17T16:46:22.000Z
examples/picam_http/lib/picam_http/streamer.ex
JacquiManzi/picam
d03d7a1b20da4a53578c6d218635b832e1543af9
[ "BSD-3-Clause" ]
12
2019-04-09T10:11:25.000Z
2022-03-06T13:30:27.000Z
examples/picam_http/lib/picam_http/streamer.ex
JacquiManzi/picam
d03d7a1b20da4a53578c6d218635b832e1543af9
[ "BSD-3-Clause" ]
16
2019-04-08T05:36:14.000Z
2022-03-05T07:58:41.000Z
defmodule PicamHTTP.Streamer do @moduledoc """ Plug for streaming an image """ import Plug.Conn @behaviour Plug @boundary "w58EW1cEpjzydSCq" def init(opts), do: opts def call(conn, _opts) do conn |> put_resp_header("Age", "0") |> put_resp_header("Cache-Control", "no-cache, private") |...
24.842105
96
0.626059
034e8b5b44a601e3c78e44a2566558e070629e85
437
ex
Elixir
lib/milbase/content/comment.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
1
2020-07-14T03:27:30.000Z
2020-07-14T03:27:30.000Z
lib/milbase/content/comment.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
lib/milbase/content/comment.ex
suryakun/milbase-skeleton
1483142bd9ef70a9cf07504c8f03314f2cb7b7d0
[ "Apache-2.0" ]
null
null
null
defmodule Milbase.Content.Comment do use Ecto.Schema alias Milbase.Account.User alias Milbase.Content.Post import Ecto.Changeset schema "comments" do field :text, :string belongs_to :user, User belongs_to :post, Post timestamps() end @doc false def changeset(comment, attrs) do com...
19.863636
53
0.684211
034e8be8515ff9e03112405b1bd4db215b377a5c
3,332
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__timestamped_object.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__timestamped_object.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__timestamped_object.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.666667
225
0.751501
034e8e16d1447d671b56053a4010fa6e2a23828f
6,417
exs
Elixir
test/ueberauth_test.exs
jfornoff/ueberauth
705cb797b0f4a9e50685541fa1e38d27d679f332
[ "MIT" ]
null
null
null
test/ueberauth_test.exs
jfornoff/ueberauth
705cb797b0f4a9e50685541fa1e38d27d679f332
[ "MIT" ]
null
null
null
test/ueberauth_test.exs
jfornoff/ueberauth
705cb797b0f4a9e50685541fa1e38d27d679f332
[ "MIT" ]
1
2015-11-11T00:57:24.000Z
2015-11-11T00:57:24.000Z
defmodule UeberauthTest do use ExUnit.Case, async: true use Plug.Test doctest Ueberauth alias Support.SpecRouter @opts Support.SpecRouter.init([]) test "simple request phase" do conn = conn(:get, "/auth/simple") resp = SpecRouter.call(conn, @opts) assert resp.resp_body == "simple_request_phas...
33.596859
98
0.685679
034ef2aea4d2d1fb8a88e1de3896a9768640772d
3,252
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_type_expr.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_type_expr.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_type_expr.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...
58.071429
1,092
0.73524
034f063d0da4678c77b5b9f72aeb6417d2f15d9d
346
ex
Elixir
lib/gscraper/guardian/error_handler.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
lib/gscraper/guardian/error_handler.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
25
2021-03-23T07:27:21.000Z
2021-10-31T15:09:52.000Z
lib/gscraper/guardian/error_handler.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
defmodule Gscraper.Guardian.ErrorHandler do @behaviour Guardian.Plug.ErrorHandler use GscraperWeb, :controller @impl Guardian.Plug.ErrorHandler def auth_error(conn, {_type, _reason}, _opts) do conn |> put_flash(:error, dgettext("auth", "Authentication required.")) |> redirect(to: Routes.session_pa...
26.615385
70
0.731214
034f0f19c3d66afb49d5253f604446d6456d9c8e
480
ex
Elixir
lib/flix/protocol/events/bluetooth_controller_state_change.ex
efcasado/flix
945fe84e6dba31b7f47d07279a97559e1094da46
[ "Unlicense", "MIT" ]
1
2021-07-24T09:44:54.000Z
2021-07-24T09:44:54.000Z
lib/flix/protocol/events/bluetooth_controller_state_change.ex
efcasado/flix
945fe84e6dba31b7f47d07279a97559e1094da46
[ "Unlicense", "MIT" ]
1
2021-07-24T07:13:40.000Z
2021-08-02T13:44:44.000Z
lib/flix/protocol/events/bluetooth_controller_state_change.ex
efcasado/flix
945fe84e6dba31b7f47d07279a97559e1094da46
[ "Unlicense", "MIT" ]
null
null
null
defmodule Flix.Protocol.Events.BluetoothControllerStateChange do defstruct state: Flix.Protocol.Enums.BluetoothControllerState.default() # @type t :: %__MODULE__{ # x: String.t(), # y: boolean, # z: integer # } def decode( << state::unsigned-little-integer-8 >> = _binary ...
19.2
73
0.629167
034f241075a747e44c135ea2d64bc7f79f02fa61
989
exs
Elixir
mix.exs
akaKuruma/power_dnsex
a7c9a6bb86dfac8cb196e6b623ed33abfee42762
[ "MIT" ]
6
2019-05-28T16:42:19.000Z
2021-11-06T17:44:38.000Z
mix.exs
akaKuruma/power_dnsex
a7c9a6bb86dfac8cb196e6b623ed33abfee42762
[ "MIT" ]
5
2020-04-24T18:42:13.000Z
2021-10-01T13:34:16.000Z
mix.exs
akaKuruma/power_dnsex
a7c9a6bb86dfac8cb196e6b623ed33abfee42762
[ "MIT" ]
6
2019-11-17T21:30:05.000Z
2021-10-01T13:11:45.000Z
defmodule PowerDNSex.Mixfile do use Mix.Project def project do [ app: :powerdnsex, version: "0.5.0", elixir: "~> 1.6", description: description(), package: package(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps() ] en...
21.5
83
0.529828
034f3a53fa61a568e0473d2bfa6f4fef9a172c24
403
exs
Elixir
mix.exs
marcelog/jsonex
82e6c416eed5e791073427bf3079d7ab7b85a1e1
[ "Apache-2.0" ]
2
2015-11-05T08:03:10.000Z
2015-12-03T04:45:25.000Z
mix.exs
marcelog/jsonex
82e6c416eed5e791073427bf3079d7ab7b85a1e1
[ "Apache-2.0" ]
null
null
null
mix.exs
marcelog/jsonex
82e6c416eed5e791073427bf3079d7ab7b85a1e1
[ "Apache-2.0" ]
null
null
null
defmodule Jsonex.Mixfile do use Mix.Project def project do [ app: :jsonex, version: "2.0.1", deps: deps ] end # Configuration for the OTP application def application do [] end # Returns the list of dependencies in the format: # { :foobar, "0.1", git: "https://github.com/elixir-lan...
19.190476
72
0.632754
034f569c63c1ebe09bce65273de3fd6d88ff4c29
1,433
exs
Elixir
test/lib/absinthe/type/deprecation_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
test/lib/absinthe/type/deprecation_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
test/lib/absinthe/type/deprecation_test.exs
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Type.DeprecationTest do use Absinthe.Case, async: true alias Absinthe.Type defmodule TestSchema do use Absinthe.Schema query do #Query type must exist end input_object :profile do description "A profile" field :name, :string field :profile_picture, ...
23.112903
75
0.652477
034f6dd1297ada0028bbb286d58f1835fcafc07a
1,958
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/reference.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/reference.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/reference.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.350877
152
0.719612
034f6fad2c0dee21313dd361e8b928da97e6f804
600
ex
Elixir
web/router.ex
amohamedali/bbc_schedulor_phoenix
0eb828ca7da4cfecd57e8ad8085acbd625a3c2fa
[ "MIT" ]
null
null
null
web/router.ex
amohamedali/bbc_schedulor_phoenix
0eb828ca7da4cfecd57e8ad8085acbd625a3c2fa
[ "MIT" ]
null
null
null
web/router.ex
amohamedali/bbc_schedulor_phoenix
0eb828ca7da4cfecd57e8ad8085acbd625a3c2fa
[ "MIT" ]
null
null
null
defmodule BbcSchedulorPhoenix.Router do use BbcSchedulorPhoenix.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", B...
21.428571
57
0.701667
034f78dc1ea3c24553771bf1d316fe36df678ec2
2,461
ex
Elixir
lib/mdns_lite/inet_monitor.ex
jjcarstens/mdns_lite
4b4046b913429a8385dc157876da083141540ede
[ "Apache-2.0" ]
null
null
null
lib/mdns_lite/inet_monitor.ex
jjcarstens/mdns_lite
4b4046b913429a8385dc157876da083141540ede
[ "Apache-2.0" ]
null
null
null
lib/mdns_lite/inet_monitor.ex
jjcarstens/mdns_lite
4b4046b913429a8385dc157876da083141540ede
[ "Apache-2.0" ]
null
null
null
defmodule MdnsLite.InetMonitor do use GenServer require Logger alias MdnsLite.{Responder, ResponderSupervisor} @scan_interval 10000 @moduledoc false # Watch :inet.getifaddrs/0 for IP address changes and update the active responders. defmodule State do @moduledoc false defstruct [:excluded_if...
25.371134
96
0.701341
034f7b7bb58269e6bb9a2cae4f6270bd3f2a7ea8
2,153
exs
Elixir
test/scenic/primitive/line_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive/line_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive/line_test.exs
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 5/8/17. Re-written on 11/01/17 # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.LineTest do use ExUnit.Case, async: true doctest Scenic alias Scenic.Primitive alias Scenic.Primitive.Line @data {{10, 12}, {40, 80}} # ================...
30.323944
80
0.520669
034f92e731f48b462a00f13665b00f974a309f38
1,523
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/file_content_buffer.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/file_content_buffer.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/file_content_buffer.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...
30.46
97
0.715693
034fa96b5c15c1950dc010e7309e2d2fa13d10a8
1,912
exs
Elixir
mix.exs
theblitzapp/prometheus_telemetry_elixir
a2c81e84f832c622ac5eb98bca89526a52cca3f0
[ "MIT" ]
3
2022-03-20T00:21:06.000Z
2022-03-31T13:40:20.000Z
mix.exs
theblitzapp/prometheus_telemetry_elixir
a2c81e84f832c622ac5eb98bca89526a52cca3f0
[ "MIT" ]
null
null
null
mix.exs
theblitzapp/prometheus_telemetry_elixir
a2c81e84f832c622ac5eb98bca89526a52cca3f0
[ "MIT" ]
null
null
null
defmodule PrometheusTelemetry.MixProject do use Mix.Project def project do [ app: :prometheus_telemetry, version: "0.2.0", elixir: "~> 1.12", description: "Prometheus metrics exporter using Telemetry.Metrics as a foundation", start_permanent: Mix.env() == :prod, elixirc_path...
24.831169
89
0.585251
034ffc6e8c1646415478633b5f32e77b6b1d01b9
377
exs
Elixir
examples/elixir/bloom_example/mix.exs
evanmcc/erbloom
a1768fa6a63e979017fe94ee86a86164e3c21d88
[ "MIT" ]
45
2018-02-18T21:54:08.000Z
2022-02-23T03:18:49.000Z
examples/elixir/bloom_example/mix.exs
evanmcc/erbloom
a1768fa6a63e979017fe94ee86a86164e3c21d88
[ "MIT" ]
4
2020-02-14T16:11:52.000Z
2020-09-27T07:58:29.000Z
examples/elixir/bloom_example/mix.exs
evanmcc/erbloom
a1768fa6a63e979017fe94ee86a86164e3c21d88
[ "MIT" ]
11
2018-02-19T15:17:05.000Z
2021-07-19T08:10:16.000Z
defmodule BloomExample.MixProject do use Mix.Project def project do [ app: :bloom_example, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp deps do...
14.5
42
0.533156
035024a1b513102f5581a9284ffd96ffbc108ae6
1,767
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_sentiment_analysis_request_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_sentiment_analysis_request_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_sentiment_analysis_request_config.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...
32.722222
130
0.758913
0350794136373da1706713d44a531dcbbf40d651
437
ex
Elixir
web/models/person.ex
geowa4/graphql-elixir-phoenix-preso
9d0de23a09506e46a4a0bf71db26e4691f254849
[ "MIT" ]
null
null
null
web/models/person.ex
geowa4/graphql-elixir-phoenix-preso
9d0de23a09506e46a4a0bf71db26e4691f254849
[ "MIT" ]
null
null
null
web/models/person.ex
geowa4/graphql-elixir-phoenix-preso
9d0de23a09506e46a4a0bf71db26e4691f254849
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.Person do @moduledoc """ """ use HelloPhoenix.Web, :model schema "people" do field :given_name, :string field :family_name, :string timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) do str...
19.863636
56
0.645309
0350a25fc722e5200271ae385ac1748b7ddfc6b7
2,493
ex
Elixir
lib/ecto_ltree/postgrex/ltree.ex
RomanKotov/ecto_ltree
b2863fd31a3304ec07b9c43e09f5c985d8652deb
[ "MIT" ]
24
2018-04-03T11:36:54.000Z
2021-09-21T09:37:15.000Z
lib/ecto_ltree/postgrex/ltree.ex
RomanKotov/ecto_ltree
b2863fd31a3304ec07b9c43e09f5c985d8652deb
[ "MIT" ]
8
2019-06-01T13:49:37.000Z
2022-03-29T04:18:39.000Z
lib/ecto_ltree/postgrex/ltree.ex
RomanKotov/ecto_ltree
b2863fd31a3304ec07b9c43e09f5c985d8652deb
[ "MIT" ]
10
2019-02-01T16:52:48.000Z
2022-02-23T03:46:09.000Z
# Copyright 2013 Eric Meadows-Jönsson # # 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.209677
307
0.715203
0350c37cef152f6f7383e20d011229c2cdcde486
2,906
ex
Elixir
lib/ueberauth/strategy/spotify/oauth.ex
davejlong/ueberauth_spotify
2e44e4136a8236ce85f4cde4599f2d6f414a5314
[ "MIT" ]
2
2017-12-02T18:55:13.000Z
2019-05-16T09:27:51.000Z
lib/ueberauth/strategy/spotify/oauth.ex
davejlong/ueberauth_spotify
2e44e4136a8236ce85f4cde4599f2d6f414a5314
[ "MIT" ]
2
2017-12-02T21:09:33.000Z
2019-01-22T02:04:50.000Z
lib/ueberauth/strategy/spotify/oauth.ex
davejlong/ueberauth_spotify
2e44e4136a8236ce85f4cde4599f2d6f414a5314
[ "MIT" ]
3
2017-12-06T15:13:10.000Z
2019-01-21T02:14:40.000Z
defmodule Ueberauth.Strategy.Spotify.OAuth do @moduledoc """ OAuth2 for Spotify. Add `client_id` and `client_secret` to your configuration: config :ueberauth, Ueberauth.Strategy.Spotify.OAuth, client_id: System.get_env("SPOTIFY_CLIENT_ID"), client_secret: System.get_env("SPOTIFY_CL...
27.158879
114
0.642464
0350db4f66caaccc1da7bcc2749a052828cbe1e4
19,832
ex
Elixir
lib/ex_hl7/codec.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
38
2015-06-21T17:44:44.000Z
2021-10-03T08:46:08.000Z
lib/ex_hl7/codec.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
2
2019-08-27T17:27:37.000Z
2021-02-05T14:27:28.000Z
lib/ex_hl7/codec.ex
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
14
2016-02-04T15:11:55.000Z
2021-11-13T20:28:19.000Z
defmodule HL7.Codec do @moduledoc """ Functions that decode and encode HL7 fields, repetitions, components and subcomponents. Each type of item has a intermediate representation, that will vary depending on whether the `trim` option was used when decoding or encoding. If we set `trim` to `true`, some trailing ...
34.252159
101
0.662112
0350e6e8f67d4d796813a4c12208a603f04a14aa
1,543
ex
Elixir
clients/datastream/lib/google_api/datastream/v1/model/mysql_rdbms.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/datastream/lib/google_api/datastream/v1/model/mysql_rdbms.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/datastream/lib/google_api/datastream/v1/model/mysql_rdbms.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...
32.829787
136
0.745301
0350f31ca165254d41b68d49d7a63803e88a0dd8
1,002
exs
Elixir
test/scale/ggity_scale_alpha_continuous_test.exs
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
47
2020-06-21T15:23:54.000Z
2022-03-13T01:24:19.000Z
test/scale/ggity_scale_alpha_continuous_test.exs
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
3
2020-11-28T11:00:59.000Z
2020-11-30T18:20:37.000Z
test/scale/ggity_scale_alpha_continuous_test.exs
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
2
2020-11-28T10:40:10.000Z
2021-05-28T06:44:47.000Z
defmodule GGityScaleAlphaContinuousTest do use ExUnit.Case alias GGity.Scale.Alpha setup do %{min_max: {0, 3}} end describe "draw/2" do test "returns a correct scale given default options", %{min_max: min_max} do scale = Alpha.Continuous.new() |> Alpha.Continuous.train(min_max...
29.470588
83
0.664671