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
97bc1478a97ec76011348b3e53903e265fab420a
1,749
ex
Elixir
lib/extended_types.ex
eksperimental/extended_types
23c060c8e42fca448354d4394004bee9921131a1
[ "CC0-1.0", "MIT-0" ]
6
2022-01-12T19:15:46.000Z
2022-01-13T07:40:29.000Z
lib/extended_types.ex
eksperimental/extended_types
23c060c8e42fca448354d4394004bee9921131a1
[ "CC0-1.0", "MIT-0" ]
null
null
null
lib/extended_types.ex
eksperimental/extended_types
23c060c8e42fca448354d4394004bee9921131a1
[ "CC0-1.0", "MIT-0" ]
null
null
null
defmodule ExtendedTypes do @moduledoc """ Extended types. Imports additional types to your module, by calling `use ExtendedTypes, options`. `options` can be: * `:all?`: when set to `true`, it imports all the available types. * `:only`: keyword list containing all the types and arity of the types to be im...
23.32
91
0.579188
97bc21392fd2abadf0fad646e486d3d0872c8483
667
exs
Elixir
test/test_helper.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
test/test_helper.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
test/test_helper.exs
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
alias Still.Compiler alias Still.Compiler.{Incremental, Collections} alias Still.Data {:ok, _} = Application.ensure_all_started(:timex) {:ok, _} = Application.ensure_all_started(:cachex) {:ok, _pid} = Registry.start_link(keys: :unique, name: Compiler.Incremental.OutputToInputFileRegistry) {:ok, _pid} = Incremental...
31.761905
90
0.757121
97bc4405e5ceea5d585773fad955dda8eda63c30
78
exs
Elixir
test/views/layout_view_test.exs
hvnsweeting/hphoenix
5e0a93f12af64e8be2ccff7f15feab7f9e20be48
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
hvnsweeting/hphoenix
5e0a93f12af64e8be2ccff7f15feab7f9e20be48
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
hvnsweeting/hphoenix
5e0a93f12af64e8be2ccff7f15feab7f9e20be48
[ "MIT" ]
null
null
null
defmodule Hphoenix.LayoutViewTest do use Hphoenix.ConnCase, async: true end
19.5
36
0.820513
97bc8238d7391b8bd8b55dcf0fb5559caf2649ca
526
ex
Elixir
lib/erflow_web/live/counter.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
lib/erflow_web/live/counter.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
lib/erflow_web/live/counter.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
defmodule ErflowWeb.Counter do use Phoenix.LiveView def mount(_params, _session, socket) do {:ok, assign(socket, :val, 0)} end def handle_event("inc", _, socket) do {:noreply, update(socket, :val, &(&1 + 1))} end def handle_event("dec", _, socket) do {:noreply, update(socket, :val, &(&1 - 1))...
20.230769
47
0.568441
97bc96e61c3b23b03c6e984f8834badb87e7c59d
365
ex
Elixir
lib/Neuron/neuron_agent.ex
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
2
2017-04-05T03:57:22.000Z
2017-12-03T19:54:07.000Z
lib/Neuron/neuron_agent.ex
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
null
null
null
lib/Neuron/neuron_agent.ex
leighshepperson/cerebrum
58766cc2edde5694e92a8aa45069467e7ca4e49e
[ "Apache-2.0" ]
null
null
null
defmodule Cerebrum.Neuron.NeuronAgent do alias Cerebrum.Neuron def start_link() do Agent.start_link(fn -> 0 end) end def create_neuron(neuron_agent, bias_function, activation_function) do index = Agent.get_and_update(neuron_agent, &{&1, &1 + 1}) %Neuron{name: "neuron#{index}", bias: bias_function.(index), activ...
28.076923
104
0.772603
97bcab7781e3b31351bfb362728d7c2d84c9d5f9
85
exs
Elixir
test/hunter_test.exs
milmazz/hunter
f84fd72ffae067da5b0ef24a86e780d3ef70ee01
[ "Apache-2.0" ]
38
2017-04-09T16:43:58.000Z
2021-10-30T00:47:41.000Z
test/hunter_test.exs
milmazz/hunter
f84fd72ffae067da5b0ef24a86e780d3ef70ee01
[ "Apache-2.0" ]
51
2017-04-14T13:02:42.000Z
2022-02-28T11:16:44.000Z
test/hunter_test.exs
milmazz/hunter
f84fd72ffae067da5b0ef24a86e780d3ef70ee01
[ "Apache-2.0" ]
8
2017-04-14T12:45:18.000Z
2020-09-04T23:08:30.000Z
defmodule HunterTest do use ExUnit.Case, async: false doctest Hunter.Config end
14.166667
31
0.776471
97bcb3f14e89408f131f2da2e9b4b3d71e875a20
9,196
ex
Elixir
lib/tagged_tuple.ex
IvanRublev/tagged_tuple
54b89162bf5bcdb62429652729c268237371845a
[ "MIT" ]
3
2021-08-15T15:48:01.000Z
2021-08-17T02:57:06.000Z
lib/tagged_tuple.ex
IvanRublev/tagged_tuple
54b89162bf5bcdb62429652729c268237371845a
[ "MIT" ]
null
null
null
lib/tagged_tuple.ex
IvanRublev/tagged_tuple
54b89162bf5bcdb62429652729c268237371845a
[ "MIT" ]
null
null
null
defmodule TaggedTuple do @moduledoc "README.md" |> File.read!() |> String.split("[//]: # (Documentation)\n") |> Enum.at(1) |> String.trim("\n") defmacro __using__(_opts) do quote do require unquote(__MODULE__) import unquote(__MODULE__), ...
27.782477
116
0.586777
97bcba23d7a33da2d0b0f05035872f389fcbfa50
600
ex
Elixir
lib/changelog/files/cover.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2020-10-12T13:28:41.000Z
2020-10-12T13:28:41.000Z
lib/changelog/files/cover.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
null
null
null
lib/changelog/files/cover.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule Changelog.Files.Cover do use Changelog.File, [:jpg, :png] import ChangelogWeb.PodcastView, only: [dasherized_name: 1] @versions [:original, :medium, :small] def storage_dir(_, _), do: expanded_dir("/covers") def filename(version, {_, scope}), do: "#{dasherized_name(scope)}-#{version}" def tran...
30
79
0.685
97bcfacb69ccd76af1cb73f0d1a515016d5fc52c
1,847
exs
Elixir
clients/books/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/books/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/books/mix.exs
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...
27.567164
104
0.654575
97bd1c221e224086065f5437f030a19cadc4bce2
1,037
ex
Elixir
web/models/sale_invoice.ex
sysdia-solutions/basic_books
251dae71d1dc3d5516464e38e0efede1af9949fe
[ "MIT" ]
1
2016-02-04T17:16:54.000Z
2016-02-04T17:16:54.000Z
web/models/sale_invoice.ex
sysdia-solutions/basic_books
251dae71d1dc3d5516464e38e0efede1af9949fe
[ "MIT" ]
null
null
null
web/models/sale_invoice.ex
sysdia-solutions/basic_books
251dae71d1dc3d5516464e38e0efede1af9949fe
[ "MIT" ]
null
null
null
defmodule BasicBooks.SaleInvoice do use BasicBooks.Web, :model schema "sale_invoices" do field :reference, :string field :invoice_date, Ecto.DateTime field :paid_date, Ecto.DateTime field :po_number, :string field :is_credit_note, :boolean, default: false field :resolved_vat, :boolean, defa...
30.5
107
0.741562
97bd26deb7a58f825b6d937ee4c7898da40235eb
324
ex
Elixir
lib/lightning_network/lightning_network.ex
bruteforcecat/bitcoinex
1382fecf133f2d8bf2cc42db13f7c4dde040f9c9
[ "Unlicense" ]
24
2020-03-18T02:05:54.000Z
2022-03-29T18:13:54.000Z
lib/lightning_network/lightning_network.ex
bruteforcecat/bitcoinex
1382fecf133f2d8bf2cc42db13f7c4dde040f9c9
[ "Unlicense" ]
18
2020-01-23T16:39:12.000Z
2022-03-02T14:35:26.000Z
lib/lightning_network/lightning_network.ex
bruteforcecat/bitcoinex
1382fecf133f2d8bf2cc42db13f7c4dde040f9c9
[ "Unlicense" ]
7
2020-02-11T10:22:54.000Z
2021-12-23T21:35:01.000Z
defmodule Bitcoinex.LightningNetwork do @moduledoc """ Includes serialization and validation for Lightning Network BOLT#11 invoices. """ alias Bitcoinex.LightningNetwork.Invoice # defdelegate encode_invoice(invoice), to: Invoice, as: :encode defdelegate decode_invoice(invoice), to: Invoice, as: :decode ...
29.454545
81
0.771605
97bd2bd69baa57dee776f361155f94aeace58b9c
1,148
ex
Elixir
lib/timewrap/timer.ex
iboard/timewrap
0d61032cb5fea2d3d0731d1a5e4001325bb7e863
[ "MIT" ]
1
2019-02-11T10:40:06.000Z
2019-02-11T10:40:06.000Z
lib/timewrap/timer.ex
iboard/timewrap
0d61032cb5fea2d3d0731d1a5e4001325bb7e863
[ "MIT" ]
3
2019-02-11T09:31:33.000Z
2019-02-24T22:15:08.000Z
lib/timewrap/timer.ex
iboard/timewrap
0d61032cb5fea2d3d0731d1a5e4001325bb7e863
[ "MIT" ]
null
null
null
defmodule Timewrap.Timer do require Logger use Agent def start_link(opts) do module = case Keyword.fetch(opts, :name) do {:ok, name} -> name :error -> :default_timer end Agent.start_link( fn -> [mode: :transparent, unit: :second] end, name: module ) end d...
24.425532
77
0.615854
97bd3a2dde0bacac47f046bcb9dcaeba52468be4
1,044
ex
Elixir
algorithms/medium/linked_list_in_binary_tree.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
1
2021-05-30T05:06:06.000Z
2021-05-30T05:06:06.000Z
algorithms/medium/linked_list_in_binary_tree.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
null
null
null
algorithms/medium/linked_list_in_binary_tree.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
null
null
null
# Definition for singly-linked list. # # defmodule ListNode do # @type t :: %__MODULE__{ # val: integer, # next: ListNode.t() | nil # } # defstruct val: 0, next: nil # end # Definition for a binary tree node. # # defmodule TreeNode do # @type t :: %__MODULE__{ # val: integer...
20.88
82
0.584291
97bd40535b42998faf4a9b4880f4279a314a48d7
4,221
ex
Elixir
lib/similarity/cosine.ex
preciz/similarity
81b46a7527d9dd937382077000ca99d99d74dfb6
[ "MIT" ]
8
2019-06-28T09:13:15.000Z
2021-11-03T11:20:49.000Z
lib/similarity/cosine.ex
preciz/similarity
81b46a7527d9dd937382077000ca99d99d74dfb6
[ "MIT" ]
10
2020-09-14T04:58:20.000Z
2021-08-03T04:50:51.000Z
lib/similarity/cosine.ex
preciz/similarity
81b46a7527d9dd937382077000ca99d99d74dfb6
[ "MIT" ]
1
2020-10-10T08:54:21.000Z
2020-10-10T08:54:21.000Z
defmodule Similarity.Cosine do @moduledoc """ A struct that can be used to accumulate ids & attributes and calcuate similarity between them. """ alias Similarity.Cosine defstruct attributes_counter: 0, attributes_map: %{}, map: %{} @doc """ Returns a new `%Cosine{}` struct to be first used with `add/3`...
31.736842
137
0.651031
97bd5ac5544ffe937fd006b77a7beca83cd585f5
31,415
ex
Elixir
apps/language_server/lib/language_server/server.ex
TobiG77/elixir-ls
a55f23e35e27dd9ff901cb85ec2572544b2c3ae9
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
TobiG77/elixir-ls
a55f23e35e27dd9ff901cb85ec2572544b2c3ae9
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
TobiG77/elixir-ls
a55f23e35e27dd9ff901cb85ec2572544b2c3ae9
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Server do @moduledoc """ Language Server Protocol server This server tracks open files, attempts to rebuild the project when a file changes, and handles requests from the IDE (for things like autocompletion, hover, etc.) Notifications from the IDE are handled synchronously,...
28.276328
133
0.641923
97bd6fe8a87439e12420d0c49269a01233e00af8
97
ex
Elixir
lib/google_fit/dataset/value_format_error.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
2
2017-02-01T13:51:26.000Z
2019-04-12T11:37:25.000Z
lib/google_fit/dataset/value_format_error.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
lib/google_fit/dataset/value_format_error.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
defmodule GoogleFit.Dataset.ValueFormatError do defexception message: "Unsupported format" end
24.25
47
0.845361
97bd7e0e6b85df9d837c2198282eb03b032e860d
1,751
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/remarketing_audience_audience_definition.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/remarketing_audience_audience_definition.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/remarketing_audience_audience_definition.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "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...
36.479167
120
0.77213
97bdbdf6e7ab10926975213d6f3bfb047e9eeb30
8,637
ex
Elixir
lib/oban/telemetry.ex
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
lib/oban/telemetry.ex
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
lib/oban/telemetry.ex
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Telemetry do @moduledoc """ Telemetry integration for event metrics, logging and error reporting. ### Job Events Oban emits the following telemetry events for each job: * `[:oban, :job, :start]` — at the point a job is fetched from the database and will execute * `[:oban, :job, :stop]` — a...
36.289916
143
0.61086
97bdc074d3f381b714f668f1e7a012b6ae9782c9
26,940
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative.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...
105.234375
906
0.738938
97bddc9de4ecfb36f0ee5e030bebe545e54a84a3
452
ex
Elixir
lib/remedy/schema/command_option_choice.ex
bdanklin/nostrum
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
3
2021-09-05T09:44:02.000Z
2022-01-26T15:31:50.000Z
lib/remedy/schema/command_option_choice.ex
bdanklin/remedy
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
null
null
null
lib/remedy/schema/command_option_choice.ex
bdanklin/remedy
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
null
null
null
defmodule Remedy.Schema.CommandOptionChoice do @moduledoc """ Command Option Choice """ use Remedy.Schema @type t :: %__MODULE__{ name: String.t(), value: String.t() | :integer } @primary_key false embedded_schema do field :name, :string field :value, :any, virtual: t...
18.833333
50
0.615044
97bded932c096563d51599563a47bd2e2cdea32f
6,332
exs
Elixir
apps/ewallet/test/ewallet/web/search_parser_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/search_parser_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/search_parser_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.SearchParserTest do use EWallet.DBCase import EWalletDB.Factory alias EWallet.Web.SearchParser alias EWalletDB.{Repo, Account} defp prepare_test_accounts do account_1 = insert(:account, %{name: "Name Match 1", description: "Description missed 1"}) account_2 = insert(:account, %{...
28.522523
94
0.611023
97be19498627011a4710ecd911bb2cae90be2cf0
440
ex
Elixir
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/user/show.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/user/show.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/user/show.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2.Interactions.User.Show do @moduledoc false alias StudentsCrmV2.Models.User alias StudentsCrmV2.Repo @spec execute(id :: term()) :: {:ok, User.t()} | {:error, nil} | {:error, no_return()} def execute(id) do User |> Repo.get(id) |> result() end defp result(user = %User...
24.444444
88
0.643182
97be1b08071974bbffe20a50c2b14a34810f390e
1,743
ex
Elixir
clients/translate/lib/google_api/translate/v2/model/detections_resource.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/translate/lib/google_api/translate/v2/model/detections_resource.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/translate/lib/google_api/translate/v2/model/detections_resource.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.886792
125
0.712565
97be3658f3cf2e6b70a7e2c9e9eecdf56b05e653
2,125
ex
Elixir
lib/sanbase/billing/product.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase/billing/product.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase/billing/product.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Billing.Product do @moduledoc """ Module for managing Sanbase products - objects that describe services a customer can subscribe to. """ use Ecto.Schema import Ecto.Changeset alias Sanbase.Billing.Plan alias Sanbase.Repo @type product_id :: non_neg_integer() # Sanbase API produ...
23.611111
87
0.679529
97bef215aa9c66951b6ccf90eed406132d0c2e4d
72
exs
Elixir
config/config.exs
yuta0801/hotdog
2a87735d94835c548a10261a5cfb5d1c9b67d4d8
[ "MIT" ]
4
2020-08-14T15:49:59.000Z
2021-02-02T05:51:28.000Z
config/config.exs
yuta0801/hotdog
2a87735d94835c548a10261a5cfb5d1c9b67d4d8
[ "MIT" ]
null
null
null
config/config.exs
yuta0801/hotdog
2a87735d94835c548a10261a5cfb5d1c9b67d4d8
[ "MIT" ]
1
2021-02-02T05:51:37.000Z
2021-02-02T05:51:37.000Z
use Mix.Config config :hotdog, token: System.get_env("HOTDOG_TOKEN")
14.4
39
0.75
97bef481ae9e01a65d958b7053472f1b1d87dbe2
3,222
ex
Elixir
lib/rear_wheels.ex
exredorg/exred_node_picar
4dfec9fc5d06f9301715656a74cb5ba81ff78d70
[ "MIT" ]
null
null
null
lib/rear_wheels.ex
exredorg/exred_node_picar
4dfec9fc5d06f9301715656a74cb5ba81ff78d70
[ "MIT" ]
null
null
null
lib/rear_wheels.ex
exredorg/exred_node_picar
4dfec9fc5d06f9301715656a74cb5ba81ff78d70
[ "MIT" ]
null
null
null
defmodule Exred.Node.Picar.RearWheels do require Logger use GenServer alias Exred.Node.Picar.PWM alias ElixirALE.GPIO @pwma 4 # pwm channel for motor a @pwmb 5 @motor_a_dir_gpio 17 # gpio pin to control motor direction @motor_b_dir_gpio 27 @forward 0 @backward 1 # API ...
25.983871
129
0.646803
97befd2038d550d144ebcba37d8040f682b45b19
576
ex
Elixir
lib/core/asset_workers/farm_event_worker.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
lib/core/asset_workers/farm_event_worker.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
lib/core/asset_workers/farm_event_worker.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defimpl FarmbotCore.AssetWorker, for: FarmbotCore.Asset.FarmEvent do require Logger alias FarmbotCore.Asset.FarmEvent alias FarmbotCore.FarmEventWorker.{ RegimenEvent, SequenceEvent } def preload(%FarmEvent{}), do: [:executions] def tracks_changes?(%FarmEvent{}), do: false def start_link(%{ex...
25.043478
70
0.737847
97bf02152afbb105706c7f7d3754469127dbd6d7
12,278
ex
Elixir
lib/prom_ex/config.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
lib/prom_ex/config.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
lib/prom_ex/config.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
defmodule PromEx.Config do @moduledoc """ This module defines a struct that contains all of the fields necessary to configure an instance of PromEx. While this module does not directly access your Application config, PromEx will call the `PromEx.Config.build/1` function directly with the contents of `Applica...
44.974359
136
0.725362
97bf255502101f3dd03030211a67216844d947e0
1,807
exs
Elixir
apps/shopping_web/mix.exs
paulanthonywilson/shopping
11870c4d70b04fb139908793102ce3917d189275
[ "MIT" ]
null
null
null
apps/shopping_web/mix.exs
paulanthonywilson/shopping
11870c4d70b04fb139908793102ce3917d189275
[ "MIT" ]
null
null
null
apps/shopping_web/mix.exs
paulanthonywilson/shopping
11870c4d70b04fb139908793102ce3917d189275
[ "MIT" ]
null
null
null
defmodule ShoppingWeb.MixProject do use Mix.Project def project do [ app: :shopping_web, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", elixirc_paths: el...
27.378788
67
0.570006
97bf31cde2452b7a137ea0efba690cb511eb1210
587
ex
Elixir
lib/makeup/styles/html/pygments/rrt.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
31
2020-10-02T09:01:30.000Z
2022-03-18T14:58:01.000Z
lib/makeup/styles/html/pygments/rrt.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
21
2020-09-29T12:59:58.000Z
2022-03-07T15:21:48.000Z
lib/makeup/styles/html/pygments/rrt.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
5
2020-12-01T20:17:51.000Z
2022-03-07T09:10:13.000Z
defmodule Makeup.Styles.HTML.RrtStyle do @moduledoc false @styles %{ :keyword => "#ff0000", :keyword_type => "#ee82ee", :name_constant => "#7fffd4", :name_function => "#ffff00", :name_variable => "#eedd82", :string => "#87ceeb", :comment => "#00ff00", :comment_preproc => "#e5e5e5",...
20.241379
40
0.60477
97bf6c62eccd6d3442e191ad82589ff24bea4e25
62
exs
Elixir
test/exvcf_test.exs
protochron/exvcf
e7f14de5b24c9c3b51c7d6a7ac687e4f0fd83a5b
[ "Apache-2.0" ]
1
2020-11-19T21:33:38.000Z
2020-11-19T21:33:38.000Z
test/exvcf_test.exs
protochron/exvcf
e7f14de5b24c9c3b51c7d6a7ac687e4f0fd83a5b
[ "Apache-2.0" ]
5
2017-02-10T06:53:33.000Z
2017-02-10T06:57:40.000Z
test/exvcf_test.exs
protochron/exvcf
e7f14de5b24c9c3b51c7d6a7ac687e4f0fd83a5b
[ "Apache-2.0" ]
null
null
null
defmodule ExVcfTest do use ExUnit.Case doctest ExVcf end
10.333333
22
0.774194
97bf7bda553c377b228d039fcd39918e44fc2e7d
1,048
exs
Elixir
test/gettext_interpolation_test.exs
kianmeng/cldr_messages
d1468893eb6a3f44f2fe11e0aa1c179879902515
[ "Apache-2.0" ]
null
null
null
test/gettext_interpolation_test.exs
kianmeng/cldr_messages
d1468893eb6a3f44f2fe11e0aa1c179879902515
[ "Apache-2.0" ]
null
null
null
test/gettext_interpolation_test.exs
kianmeng/cldr_messages
d1468893eb6a3f44f2fe11e0aa1c179879902515
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Messages.GettextInterpolationtest do use ExUnit.Case alias MyApp.Gettext.Use import ExUnit.CaptureLog import MyApp.Gettext test "interpolates compile time translation" do assert "Hello World!" == Use.translate_compile_time(name: "World") assert capture_log(fn -> Use.tra...
29.942857
88
0.625954
97bf9910a5688cd792585577f0ebf6dc345a75a9
1,440
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/duplicate_filter_view_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/duplicate_filter_view_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/duplicate_filter_view_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.638298
97
0.742361
97bfda52ba104009ba07440d542c4430ed6a2407
563
ex
Elixir
lib/blog_api_web/controllers/fallback_controller.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
lib/blog_api_web/controllers/fallback_controller.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
lib/blog_api_web/controllers/fallback_controller.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
defmodule BlogApiWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use BlogApiWeb, :controller def call(conn, {:error, %Ecto.Changeset{} = changeset}) do conn |> put_statu...
26.809524
75
0.705151
97bff7bdcd3570e6e3c94c44d2677a42bc0a26a0
1,016
ex
Elixir
lib/rumbl/users/user.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
null
null
null
lib/rumbl/users/user.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
2
2021-03-09T19:04:16.000Z
2021-05-10T16:20:10.000Z
lib/rumbl/users/user.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
1
2020-07-17T14:48:52.000Z
2020-07-17T14:48:52.000Z
defmodule Rumbl.Users.User do use Ecto.Schema import Ecto.Changeset alias Rumbl.Videos.Video alias Rumbl.Annotations.Annotation schema "users" do field :name, :string field :username, :string field :password, :string, virtual: :true field :password_hash, :string has_many :videos, Video ...
23.627907
73
0.654528
97c025e963457455c75e9749a491b2e5a4eaa101
4,913
exs
Elixir
test/console_web/controllers/v1/v1_label_controller_test.exs
helium/console
c6912b521926455ee0d4172dbd8e8183bdbae186
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
test/console_web/controllers/v1/v1_label_controller_test.exs
helium/console
c6912b521926455ee0d4172dbd8e8183bdbae186
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
test/console_web/controllers/v1/v1_label_controller_test.exs
helium/console
c6912b521926455ee0d4172dbd8e8183bdbae186
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule ConsoleWeb.V1LabelControllerTest do use ConsoleWeb.ConnCase import Console.Factory alias Console.Labels describe "labels" do test "inactive api keys do not work", %{conn: _conn} do key = "upWpTb/J1mCsZupZTFL52tB27QJ2hFNWtT6PvwriQgs" organization = insert(:organization) api_key...
41.285714
131
0.623652
97c038ba3582fb89552516de1589ef32839e5ec7
1,997
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/arima_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query/lib/google_api/big_query/v2/model/arima_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query/lib/google_api/big_query/v2/model/arima_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.94
235
0.741612
97c05a15157da505c5e0a3c486fa6bec899c565b
686
ex
Elixir
lib/riemann.ex
hexedpackets/elixir-riemann
4cdea1c353c98882391120642d0c86cd608c8306
[ "Apache-2.0" ]
1
2017-02-21T20:46:14.000Z
2017-02-21T20:46:14.000Z
lib/riemann.ex
hexedpackets/elixir-riemann
4cdea1c353c98882391120642d0c86cd608c8306
[ "Apache-2.0" ]
null
null
null
lib/riemann.ex
hexedpackets/elixir-riemann
4cdea1c353c98882391120642d0c86cd608c8306
[ "Apache-2.0" ]
null
null
null
defmodule Riemann do @doc """ Send a list of events synchronously. """ def submit(events) when is_list(hd(events)) or is_map(hd(events)) do events |> events_to_msg |> Riemann.Client.submit end def submit(event), do: [event] |> submit @doc """ Send a list of events asynchronously. """ de...
24.5
76
0.673469
97c07982090be1aff7cb954be3abec78fd058e44
1,144
ex
Elixir
lib/screens/config/psa_config/psa_list.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens/config/psa_config/psa_list.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens/config/psa_config/psa_list.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule Screens.Config.PsaConfig.PsaList do @moduledoc false @behaviour Screens.Config.Behaviour @type t :: { psa_type, list(String.t()) } @default_psa_type nil @type psa_type :: bus_psa_type | gl_psa_type | solari_psa_type | nil @type bus_psa_type :: :double | :takeover ...
21.185185
70
0.636364
97c07c34d665d496f30fd3fe1178e91d9aee8d74
297
exs
Elixir
priv/repo/migrations/20201012220053_make_sampled_on_nullable.exs
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
priv/repo/migrations/20201012220053_make_sampled_on_nullable.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
priv/repo/migrations/20201012220053_make_sampled_on_nullable.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Repo.Migrations.MakeSampledOnNullable do use Ecto.Migration def down do alter table(:lab_results) do modify :sampled_on, :date, null: false end end def up do alter table(:lab_results) do modify :sampled_on, :date, null: true end end end
18.5625
60
0.690236
97c095e3eac9b4f8986256ab13840f8f9d145487
58
exs
Elixir
apps/blunt/test/test_helper.exs
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt/test/test_helper.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt/test/test_helper.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
Blunt.Repo.start_link([]) ExUnit.start(exclude: [:skip])
14.5
30
0.706897
97c0af8885987eddc4246e470e16c3b517f2656c
174
exs
Elixir
priv/repo/migrations/20190919162023_add_company_id_to_people.exs
sb8244/ecto_tenancy_enforcer
7dac523d0560ec4a57bcf3800b788d312d70d6e6
[ "MIT" ]
36
2019-12-30T23:02:59.000Z
2022-03-26T14:38:41.000Z
priv/repo/migrations/20190919162023_add_company_id_to_people.exs
sb8244/ecto_tenancy_enforcer
7dac523d0560ec4a57bcf3800b788d312d70d6e6
[ "MIT" ]
1
2021-01-13T05:01:04.000Z
2021-01-13T05:01:04.000Z
priv/repo/migrations/20190919162023_add_company_id_to_people.exs
sb8244/ecto_tenancy_enforcer
7dac523d0560ec4a57bcf3800b788d312d70d6e6
[ "MIT" ]
1
2021-04-25T16:50:16.000Z
2021-04-25T16:50:16.000Z
defmodule Tenancy.Repo.Migrations.AddCompanyIdToPeople do use Ecto.Migration def change do alter table(:people) do add :company_id, :integer end end end
17.4
57
0.724138
97c0e1e1e39c1af7ba664dfd915a86bd34a23dce
2,062
exs
Elixir
test/models/repository_test.exs
inaka/credo_server
fabdf5429974d0dbf9e0a1eaaf1c6305fb98e2aa
[ "Apache-2.0" ]
12
2016-05-27T23:37:37.000Z
2019-11-09T04:03:03.000Z
test/models/repository_test.exs
inaka/credo_server
fabdf5429974d0dbf9e0a1eaaf1c6305fb98e2aa
[ "Apache-2.0" ]
18
2016-05-27T14:57:30.000Z
2016-09-20T17:05:22.000Z
test/models/repository_test.exs
inaka/credo_server
fabdf5429974d0dbf9e0a1eaaf1c6305fb98e2aa
[ "Apache-2.0" ]
1
2019-11-09T04:03:06.000Z
2019-11-09T04:03:06.000Z
defmodule CredoServer.RepositoryTest do use ExUnit.Case, async: false alias CredoServer.Repository @fields %{github_id: 56711785, name: "credo_test", full_name: "alemata/credo_test", html_url: "https://github.com/alemata/credo_test", owner: "alemata", status: "off"} use ExV...
35.551724
115
0.70999
97c117471b549856ae6759802a9a97105fa9e9c4
1,531
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/empty.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...
30.62
76
0.740039
97c12ab8a06d281ed00aef6b6b629ea2bcdc3645
826
ex
Elixir
lib/series.ex
areski/freeswitch_realtime
aca5d07341b6e3d8a2bebab0475ba77c23f301ff
[ "MIT" ]
14
2016-12-19T23:16:44.000Z
2021-07-08T02:22:01.000Z
lib/series.ex
areski/freeswitch_realtime
aca5d07341b6e3d8a2bebab0475ba77c23f301ff
[ "MIT" ]
null
null
null
lib/series.ex
areski/freeswitch_realtime
aca5d07341b6e3d8a2bebab0475ba77c23f301ff
[ "MIT" ]
4
2017-08-15T10:44:10.000Z
2020-03-09T17:07:33.000Z
defmodule FSChannelsCampaignSeries do use Instream.Series @moduledoc """ InfluxDB serie for total channels per campaign """ series do database(Application.fetch_env!(:fs_realtime, :influxdatabase)) measurement("freeswitch_channels_cpg_total") tag(:host, default: "127.0.0.1") tag(:campaign_i...
21.179487
67
0.693705
97c18e1e5532af31359a7a854fcd46427ac9763f
1,526
ex
Elixir
lib/elavon/response/authorize_response.ex
auroche/elavon
8165a1b9abb4e73e214a75b22bc055b09f2a9119
[ "MIT" ]
null
null
null
lib/elavon/response/authorize_response.ex
auroche/elavon
8165a1b9abb4e73e214a75b22bc055b09f2a9119
[ "MIT" ]
null
null
null
lib/elavon/response/authorize_response.ex
auroche/elavon
8165a1b9abb4e73e214a75b22bc055b09f2a9119
[ "MIT" ]
null
null
null
defmodule Elavon.AuthorizeResponse do # @keys_map %{ # :ssl_txn_id => :transaction_id, #ok # :ssl_txn_time => :transaction_time, #ok # :ssl_approval_code => :approval_code, #ok # :ssl_amount => :amount, #ok # :ssl_requested_amount => :requested...
40.157895
55
0.591743
97c19e89acc876ed215e950639f13eabbbb383a0
1,515
exs
Elixir
mix.exs
seniverse/ex_fast_rgc
955bb13a2786111a4fc6ae171e58231456a9214d
[ "Apache-2.0" ]
null
null
null
mix.exs
seniverse/ex_fast_rgc
955bb13a2786111a4fc6ae171e58231456a9214d
[ "Apache-2.0" ]
null
null
null
mix.exs
seniverse/ex_fast_rgc
955bb13a2786111a4fc6ae171e58231456a9214d
[ "Apache-2.0" ]
null
null
null
defmodule FastRGC.MixProject do use Mix.Project @version File.cwd!() |> Path.join("version") |> File.read!() |> String.trim() @url_github "https://github.com/seniverse/ex_fast_rgc" def project do [ app: :ex_fast_rgc, version: @version, elixir: "~> 1.8", description: "Superfast reve...
28.584906
95
0.559076
97c1b951dfec7c1bcd4b28cc760f1aec626324c8
11,635
exs
Elixir
test/translator_test.exs
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
test/translator_test.exs
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
test/translator_test.exs
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
defmodule TranslatorTest do use ExUnit.Case require Logger import ExUnit.CaptureIO import ComponentTestHelper defmodule Button do use Surface.Component property label, :string, default: "" property click, :event property class, :css_class property disabled, :boolean def render(assi...
25.183983
107
0.564332
97c1e14158e058b3278fa0e859153184a82a5321
478
exs
Elixir
priv/repo/migrations/20210322113247_create_teams.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
1
2021-04-17T20:36:24.000Z
2021-04-17T20:36:24.000Z
priv/repo/migrations/20210322113247_create_teams.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
3
2021-04-15T19:45:43.000Z
2021-04-16T06:08:24.000Z
priv/repo/migrations/20210322113247_create_teams.exs
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
null
null
null
defmodule Animina.Repo.Migrations.CreateTeams do use Ecto.Migration def change do create table(:teams) do add :name, :string, null: false add :description, :string add :slug, :string, null: false add :owner_id, references(:users, on_delete: :nothing), null: false timestamps() ...
25.157895
73
0.661088
97c26a9bceb646893af2ca44a14389ebabb395e1
1,152
ex
Elixir
lib/util/generator.ex
javobalazs/adb
2965704fea9025976842ebd25f93b9cec642cb19
[ "Beerware" ]
null
null
null
lib/util/generator.ex
javobalazs/adb
2965704fea9025976842ebd25f93b9cec642cb19
[ "Beerware" ]
2
2019-06-15T08:03:31.000Z
2019-06-15T08:09:11.000Z
lib/util/generator.ex
javobalazs/adb
2965704fea9025976842ebd25f93b9cec642cb19
[ "Beerware" ]
null
null
null
defmodule Util.Generator do @moduledoc """ A forditashoz mindenfele utility-k. """ @typedoc """ A purgalas "vegeredmenye". """ @type purgalas :: :generator_soft_purge_ok | :generator_soft_purge_fail | :generator_soft_purge_ok_no_old_code @typedoc """ A forditas "vegeredmenye". """ @type t :: {:o...
19.862069
112
0.623264
97c26dc2e0d97fef541fe381ccd7374c4c45e4de
233
exs
Elixir
priv/repo/migrations/20211231152925_create_books.exs
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
priv/repo/migrations/20211231152925_create_books.exs
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
11
2021-12-19T09:07:30.000Z
2022-01-01T17:54:43.000Z
priv/repo/migrations/20211231152925_create_books.exs
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
defmodule Cookbook.Repo.Migrations.CreateBooks do use Ecto.Migration def change do create table(:books) do add :title, :string add :summary, :text add :pages, :integer timestamps() end end end
16.642857
49
0.648069
97c26fc66bf90685f4306b3509280cfb31c04d68
588
ex
Elixir
lib/tilex/release.ex
BobrImperator/tilex
0222602b6b7f4d868a4036bc5c94bf8d84dc12f5
[ "MIT" ]
null
null
null
lib/tilex/release.ex
BobrImperator/tilex
0222602b6b7f4d868a4036bc5c94bf8d84dc12f5
[ "MIT" ]
null
null
null
lib/tilex/release.ex
BobrImperator/tilex
0222602b6b7f4d868a4036bc5c94bf8d84dc12f5
[ "MIT" ]
null
null
null
defmodule Tilex.Release do @app :tilex def migrate do {:ok, _} = Application.ensure_all_started(:postgrex) {:ok, _} = Application.ensure_all_started(:ssl) load_app() for repo <- repos() do {:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(&1, :up, all: true)) end end de...
21.777778
91
0.642857
97c283538abdcc954279b6239905c789816e1538
1,611
ex
Elixir
lib/flix_web/views/movie_view.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
3
2021-03-21T23:52:16.000Z
2021-06-02T03:47:00.000Z
lib/flix_web/views/movie_view.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
44
2021-04-09T04:04:13.000Z
2022-03-29T06:29:37.000Z
lib/flix_web/views/movie_view.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
null
null
null
defmodule FlixWeb.MovieView do use FlixWeb, :view alias Flix.Catalogs.Movie def average_stars_as_percent(movie) do average_stars(movie) end def average_stars(movie) do average = movie |> Movie.average_stars() if average == 0 do "No reviews" else # number_with_precision(average,...
22.068493
90
0.649286
97c2837ea958efefb3a34307e15bf8495e104e91
1,058
exs
Elixir
src/day2.exs
DKarandikar/aoc2021
1c5a24e73f3da940a7694d3c0d814217e7e863dc
[ "BSD-3-Clause" ]
null
null
null
src/day2.exs
DKarandikar/aoc2021
1c5a24e73f3da940a7694d3c0d814217e7e863dc
[ "BSD-3-Clause" ]
null
null
null
src/day2.exs
DKarandikar/aoc2021
1c5a24e73f3da940a7694d3c0d814217e7e863dc
[ "BSD-3-Clause" ]
null
null
null
defmodule Day2 do def parseLine(line) do [dir , val | _] = String.split(line, " ") {dir, String.to_integer(String.trim(val, "\n"))} end def solve2a(lines) do rv = Enum.reduce(lines, {0, 0}, &Day2.acca/2) elem(rv, 0) * elem(rv, 1) end def acca(line, acc) do {dir, value} = Day2.parseLine(l...
24.604651
94
0.558601
97c290a6b946b75346064cd757298f80636ac79b
1,477
exs
Elixir
test/aoc2019_day01_test.exs
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
1
2022-01-10T02:34:18.000Z
2022-01-10T02:34:18.000Z
test/aoc2019_day01_test.exs
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
null
null
null
test/aoc2019_day01_test.exs
hvnsweeting/adventofcode2018
8e5a85ebb7b102361b844b0f92522c18148a672a
[ "BSD-3-Clause" ]
1
2019-12-02T09:42:17.000Z
2019-12-02T09:42:17.000Z
defmodule Aoc2019Day1Test do use ExUnit.Case, async: true doctest Aoc2019Day1 test "fuel for mass of 12 is 2" do assert Aoc2019Day1.calculate_fuel(12) == 2 end test "fuel for mass of 14 is 2" do assert Aoc2019Day1.calculate_fuel(14) == 2 end test "fuel for mass of 1969 is 654" do assert Aoc...
27.867925
94
0.679756
97c2b0288dd17f03b9e735e69c445726539d5c44
28,494
exs
Elixir
test/pow/store/backend/mnesia_cache_test.exs
danschultzer/authex
920ab2ef9dafaaaba215247e08c3e194e9474fc0
[ "MIT" ]
4
2018-05-07T16:37:15.000Z
2018-07-14T00:44:12.000Z
test/pow/store/backend/mnesia_cache_test.exs
danschultzer/authex
920ab2ef9dafaaaba215247e08c3e194e9474fc0
[ "MIT" ]
null
null
null
test/pow/store/backend/mnesia_cache_test.exs
danschultzer/authex
920ab2ef9dafaaaba215247e08c3e194e9474fc0
[ "MIT" ]
null
null
null
defmodule Pow.Store.Backend.MnesiaCacheTest do use ExUnit.Case doctest Pow.Store.Backend.MnesiaCache alias ExUnit.CaptureLog alias Pow.{Config, Config.ConfigError, Store.Backend.MnesiaCache} @default_config [namespace: "pow:test", ttl: :timer.hours(1)] setup_all do # Turn node into a distributed node...
46.711475
203
0.653997
97c2b375abf987a4f95010f7eeb24dea588bb5c4
1,969
ex
Elixir
clients/chrome_management/lib/google_api/chrome_management/v1/model/google_chrome_management_v1_graphics_adapter_info.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/chrome_management/lib/google_api/chrome_management/v1/model/google_chrome_management_v1_graphics_adapter_info.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/chrome_management/lib/google_api/chrome_management/v1/model/google_chrome_management_v1_graphics_adapter_info.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...
33.948276
143
0.722194
97c2b400f9ecbbbf3b8a6a64f73a80f86a938aaa
4,658
ex
Elixir
debian/manpage.sgml.ex
sethalves/snow2-client
b70c3ca5522a666a71a4c8992f771d5faaceccd6
[ "BSD-3-Clause" ]
15
2015-01-12T09:08:07.000Z
2021-10-03T10:03:28.000Z
debian/manpage.sgml.ex
sethalves/snow2-client
b70c3ca5522a666a71a4c8992f771d5faaceccd6
[ "BSD-3-Clause" ]
1
2018-08-13T23:12:46.000Z
2018-08-14T17:46:42.000Z
debian/manpage.sgml.ex
sethalves/snow2-client
b70c3ca5522a666a71a4c8992f771d5faaceccd6
[ "BSD-3-Clause" ]
3
2015-01-18T05:34:04.000Z
2018-08-13T21:56:59.000Z
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Ma...
30.051613
75
0.657793
97c2efddf2f1e6017d367b441e2711931970b026
674
exs
Elixir
test/test_helper.exs
SophisticaSean/nebulex
c38c2bf5f601d1bda7362f50e50e9d6577f22087
[ "MIT" ]
null
null
null
test/test_helper.exs
SophisticaSean/nebulex
c38c2bf5f601d1bda7362f50e50e9d6577f22087
[ "MIT" ]
1
2021-08-02T18:06:24.000Z
2021-08-02T18:06:24.000Z
test/test_helper.exs
SophisticaSean/nebulex
c38c2bf5f601d1bda7362f50e50e9d6577f22087
[ "MIT" ]
null
null
null
# Set nodes nodes = [:"node1@127.0.0.1", :"node2@127.0.0.1", :"node3@127.0.0.1", :"node4@127.0.0.1"] :ok = Application.put_env(:nebulex, :nodes, nodes) # Load shared tests for file <- File.ls!("test/shared/cache") do Code.require_file("./shared/cache/" <> file, __DIR__) end for file <- File.ls!("test/shared"), not ...
24.962963
88
0.682493
97c3199afc76c2af1804415f731f06a43d004208
3,606
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/license.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/license.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/license.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...
47.447368
250
0.699113
97c34ec806411994d192a8cc0d5bfd9c1badd3a8
1,162
ex
Elixir
web/channels/user_socket.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
bus-detective/pro
d313f4facdb4c9229bd7a022eeabb85170000e18
[ "MIT" ]
null
null
null
defmodule BdPro.UserSocket do use Phoenix.Socket ## Channels # channel "rooms:*", BdPro.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authentica...
30.578947
83
0.699656
97c378018fbacbea91089cecbf5eb8b0da6c4150
169
exs
Elixir
priv/repo/migrations/20210503070327_remove_join_table_id.exs
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
1
2021-08-05T12:44:37.000Z
2021-08-05T12:44:37.000Z
priv/repo/migrations/20210503070327_remove_join_table_id.exs
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
16
2021-02-20T19:22:45.000Z
2021-06-14T13:59:01.000Z
priv/repo/migrations/20210503070327_remove_join_table_id.exs
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
3
2021-05-17T17:54:43.000Z
2021-11-03T15:30:30.000Z
defmodule BgsiteOfficial.Repo.Migrations.RemoveJoinTableId do use Ecto.Migration def change do alter table("website_tag") do remove :id end end end
16.9
61
0.727811
97c37edba1cd6539c7b58f08da5598bf5a051a09
4,460
ex
Elixir
domain_holder/lib/domain_holder/counters/bucket_list.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
1
2019-08-30T08:45:43.000Z
2019-08-30T08:45:43.000Z
domain_holder/lib/domain_holder/counters/bucket_list.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
5
2020-10-15T13:33:02.000Z
2020-10-15T13:33:04.000Z
domain_holder/lib/domain_holder/counters/bucket_list.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
null
null
null
defmodule DomainHolder.Counters.BucketList do defstruct buckets: [], last_bucket: 0, bucket_length: nil, bucket_count: nil, weight_factor: nil, startup_time: nil, last_increment: nil use GenServer require Logger alias DomainHolder.Counte...
24.777778
86
0.647085
97c38c2fe973e8c96e091e461fee7c7cc207703d
2,029
ex
Elixir
lib/passive_total/project.ex
FloatingGhost/passive_total_ex
23aaa7a63e68f18ab82a0a5d23d20c525761940d
[ "MIT" ]
1
2021-02-02T17:49:40.000Z
2021-02-02T17:49:40.000Z
lib/passive_total/project.ex
FloatingGhost/passive_total_ex
23aaa7a63e68f18ab82a0a5d23d20c525761940d
[ "MIT" ]
null
null
null
lib/passive_total/project.ex
FloatingGhost/passive_total_ex
23aaa7a63e68f18ab82a0a5d23d20c525761940d
[ "MIT" ]
null
null
null
defmodule PassiveTotal.Project do import PassiveTotal.Utils @doc """ Add project tags """ def add_tags(client, project_uuid, tags) when is_list(tags) and is_binary(project_uuid) do Tesla.post(client, "/project/tag", %{project: project_uuid, tags: tags}) |> parse_response() end def remove_tags(cl...
31.215385
132
0.667324
97c395ca3e8193ab6acf6a9b7d1df36f98737631
1,687
ex
Elixir
deps/credo/lib/credo/check/refactor/unless_with_else.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/credo/lib/credo/check/refactor/unless_with_else.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/credo/lib/credo/check/refactor/unless_with_else.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Credo.Check.Refactor.UnlessWithElse do @moduledoc """ An `unless` block should not contain an else block. So while this is fine: unless allowed? do raise "Not allowed!" end This should be refactored: unless allowed? do raise "Not allowed!" else proce...
24.449275
77
0.669235
97c3a6d72943868be36b44473724baf8233540ac
129
exs
Elixir
ElixirPrime/test/Structs.exs
GameEssa/ElixirProject
8f5fef5256719ef2ebcfb77c7bb7eb70687ece4f
[ "MIT" ]
null
null
null
ElixirPrime/test/Structs.exs
GameEssa/ElixirProject
8f5fef5256719ef2ebcfb77c7bb7eb70687ece4f
[ "MIT" ]
null
null
null
ElixirPrime/test/Structs.exs
GameEssa/ElixirProject
8f5fef5256719ef2ebcfb77c7bb7eb70687ece4f
[ "MIT" ]
null
null
null
IO.puts Size.size %{} set = %Elixir.MapSet{} = Elixir.MapSet.new IO.puts Size.size set car = %Car{} IO.puts Size.size car
18.428571
43
0.651163
97c3a86141c53b246577c7100e5f81b75b83f3a5
2,089
exs
Elixir
config/dev.exs
LunarLogic/skillset
fe7eda83506ce45e2a60fd77bd17c3981b2ef254
[ "MIT" ]
null
null
null
config/dev.exs
LunarLogic/skillset
fe7eda83506ce45e2a60fd77bd17c3981b2ef254
[ "MIT" ]
null
null
null
config/dev.exs
LunarLogic/skillset
fe7eda83506ce45e2a60fd77bd17c3981b2ef254
[ "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 webpack to recompile .js and .css sources. config :skillset, SkillsetWeb.Endpoint, http: [port: 40...
27.486842
68
0.687889
97c3ceb1612ab1106aa0054e88a69dc8936cba10
499
ex
Elixir
app/lib/reading_list_web/views/error_view.ex
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "MIT" ]
null
null
null
app/lib/reading_list_web/views/error_view.ex
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "MIT" ]
null
null
null
app/lib/reading_list_web/views/error_view.ex
benjohns1/reading-list
edd87616b9f244d598fbcfddcf60c284021c140a
[ "MIT" ]
null
null
null
defmodule ReadingListWeb.ErrorView do use ReadingListWeb, :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
97c3e878148ba36fabb21c23392c0db925f5f757
2,179
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/file_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/file_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/file_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.22807
301
0.725103
97c3f266628ea6c7604ae0786e2ce40f2a5b736a
8,033
ex
Elixir
lib/elixir/lib/supervisor/spec.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/lib/supervisor/spec.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor/spec.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule Supervisor.Spec do @moduledoc """ Convenience functions for defining a supervision specification. ## Example By using the functions in this module one can define a supervisor and start it with `Supervisor.start_link/2`: import Supervisor.Spec children = [ worker(MyWorker, [ar...
32.261044
88
0.668492
97c40f54ac8ff446b5c84cb28f17963d8d0d3480
2,335
ex
Elixir
lib/still/watcher.ex
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
lib/still/watcher.ex
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
lib/still/watcher.ex
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
null
null
null
defmodule Still.Watcher do @moduledoc """ File system watcher that triggers compilation for new files, recompilation for changed files and kills ane `Still.Compiler.Incremental.Node` for removed files. Should only be used in the `dev` environment. """ use GenServer alias Still.Compiler.{ Collections...
21.62037
80
0.674946
97c4308c54d65649a66cdfb56fd58d3139adcde6
6,725
exs
Elixir
test/details/tree_creation_test.exs
roelandvanbatenburg/phoenix_integration
b05007fa987f1a072404ec7727988b7428c07711
[ "Apache-2.0" ]
218
2016-07-29T01:21:45.000Z
2022-02-08T15:19:41.000Z
test/details/tree_creation_test.exs
roelandvanbatenburg/phoenix_integration
b05007fa987f1a072404ec7727988b7428c07711
[ "Apache-2.0" ]
49
2016-08-06T20:57:43.000Z
2022-01-24T23:46:10.000Z
test/details/tree_creation_test.exs
roelandvanbatenburg/phoenix_integration
b05007fa987f1a072404ec7727988b7428c07711
[ "Apache-2.0" ]
29
2016-08-18T07:07:37.000Z
2022-01-11T14:39:52.000Z
defmodule PhoenixIntegration.Details.TreeCreationTest do use ExUnit.Case, async: true import FlowAssertions.MapA import PhoenixIntegration.FormSupport alias PhoenixIntegration.Form.TreeCreation ## Note: error cases are tested elsewhere (currently `messages_test.exs`) # ------------------------------------...
32.331731
86
0.555985
97c4364f02611c61e4878d5f4db273941f72b70f
6,978
ex
Elixir
apps/snitch_core/lib/core/data/model/order.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_core/lib/core/data/model/order.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_core/lib/core/data/model/order.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule Snitch.Data.Model.Order do @moduledoc """ Order API """ use Snitch.Data.Model import Snitch.Tools.Helper.QueryFragment alias Snitch.Data.Schema.Order alias Snitch.Data.Model.LineItem, as: LineItemModel @doc """ Creates an order with supplied `params` and `line_items`. `params` is a map ...
29.196653
97
0.62912
97c487bd238f3e14c2f8ca63ad8a6f1cf90f7789
1,469
ex
Elixir
lib/smoke_web/views/error_helpers.ex
Baradoy/smoke
1e12bd76d2af6ca67db9d330625c6f3652778dee
[ "Apache-2.0" ]
1
2019-10-03T16:54:48.000Z
2019-10-03T16:54:48.000Z
lib/smoke_web/views/error_helpers.ex
Baradoy/smoke
1e12bd76d2af6ca67db9d330625c6f3652778dee
[ "Apache-2.0" ]
3
2019-09-26T22:55:13.000Z
2021-05-10T02:17:12.000Z
lib/smoke_web/views/error_helpers.ex
Baradoy/smoke
1e12bd76d2af6ca67db9d330625c6f3652778dee
[ "Apache-2.0" ]
1
2019-07-22T16:40:01.000Z
2019-07-22T16:40:01.000Z
defmodule SmokeWeb.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.644444
74
0.669843
97c4cb04a262bc6bbbbbb5cadb537a96eb200d72
1,314
exs
Elixir
mix.exs
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
mix.exs
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
mix.exs
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
defmodule Addict.Mixfile do use Mix.Project def project do [app: :addict, version: "0.1.0", elixir: "~> 1.0", description: description, package: package, docs: &docs/0, deps: deps] end def application do [applications: applications(Mix.env)] end defp applications(:te...
22.271186
82
0.554795
97c4cbf8200a35573e85173bcf137578518d3a48
2,331
ex
Elixir
lib/live_view_todos_web/telemetry.ex
MarvinKweyu/LiveViewTodos
89c48d1692be56d50c779587cac4e6a654c68919
[ "MIT" ]
null
null
null
lib/live_view_todos_web/telemetry.ex
MarvinKweyu/LiveViewTodos
89c48d1692be56d50c779587cac4e6a654c68919
[ "MIT" ]
null
null
null
lib/live_view_todos_web/telemetry.ex
MarvinKweyu/LiveViewTodos
89c48d1692be56d50c779587cac4e6a654c68919
[ "MIT" ]
null
null
null
defmodule LiveViewTodosWeb.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. ...
32.375
88
0.66109
97c4ea69d27dc9ff2da21b3c31ac96599cd3b4ae
182
exs
Elixir
elixir/test/junks_web/controllers/page_controller_test.exs
crappygraphix/junks
a56b5b86e1a5cbcf0a71fc44d6292d6bcd525b76
[ "Apache-2.0" ]
1
2019-04-29T17:46:44.000Z
2019-04-29T17:46:44.000Z
elixir/test/junks_web/controllers/page_controller_test.exs
crappygraphix/junks
a56b5b86e1a5cbcf0a71fc44d6292d6bcd525b76
[ "Apache-2.0" ]
null
null
null
elixir/test/junks_web/controllers/page_controller_test.exs
crappygraphix/junks
a56b5b86e1a5cbcf0a71fc44d6292d6bcd525b76
[ "Apache-2.0" ]
null
null
null
defmodule JunksWeb.PageControllerTest do use JunksWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Junks!" end end
20.222222
47
0.664835
97c4ef55b0f12ec7b7b59cfac6047c3fd95f330a
1,007
ex
Elixir
examples/1_janken/lib/janken/persona.ex
CrowdHailer/comms
871c778233a3872890cc1cfb7a439e642843d88b
[ "Apache-2.0" ]
3
2018-10-27T09:58:37.000Z
2020-10-14T01:23:05.000Z
examples/1_janken/lib/janken/persona.ex
CrowdHailer/comms
871c778233a3872890cc1cfb7a439e642843d88b
[ "Apache-2.0" ]
1
2018-01-08T22:41:02.000Z
2018-01-08T22:41:02.000Z
examples/1_janken/lib/janken/persona.ex
CrowdHailer/comms
871c778233a3872890cc1cfb7a439e642843d88b
[ "Apache-2.0" ]
null
null
null
defmodule Janken.Persona do @opaque t :: {module, term} @type invite :: {:invite, Janken.Game.address()} @type result :: {:draw | :win | :loose, Janken.Game.address()} @type subscribe :: :subscribe @type message :: invite | result | subscribe @callback do_send(term, message) :: :ok @spec address(module...
26.5
77
0.612711
97c4f7052dc769781a935fa54285b28b0a9bd51e
932
ex
Elixir
debian/postrm.ex
nima/atomicles
396bbebd12fe8b399f7cbef2e521708bf6786b3f
[ "MIT" ]
null
null
null
debian/postrm.ex
nima/atomicles
396bbebd12fe8b399f7cbef2e521708bf6786b3f
[ "MIT" ]
1
2015-07-22T01:44:41.000Z
2015-12-27T23:20:15.000Z
debian/postrm.ex
nima/atomicles
396bbebd12fe8b399f7cbef2e521708bf6786b3f
[ "MIT" ]
null
null
null
#!/bin/sh # postrm script for atomicles # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' #...
24.526316
78
0.628755
97c50e9cb501fd3b453e3dc3e8f77d97980ec53c
628
exs
Elixir
test/controllers/page_controller_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
defmodule Guardex.PageControllerTest do use Guardex.ConnCase test "GET /" do conn = get conn(), "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end test "GET /login" do conn = get conn(), "/login" assert html_response(conn, 200) =~ "user name:" end test "POST /login wrong " do ...
27.304348
74
0.636943
97c519b3df2ac0261d4f8b94459f0c68f27d36cc
2,041
exs
Elixir
test/recurly/webhooks/updated_subscription_notification_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
8
2016-08-11T00:45:46.000Z
2020-05-04T18:55:48.000Z
test/recurly/webhooks/updated_subscription_notification_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
10
2016-08-15T20:01:56.000Z
2019-05-10T02:09:35.000Z
test/recurly/webhooks/updated_subscription_notification_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
4
2017-10-16T14:29:58.000Z
2019-05-09T23:20:56.000Z
defmodule Recurly.Webhooks.UpdatedSubscriptionNotificationTest do use ExUnit.Case, async: true alias Recurly.{Webhooks,Account,Subscription,Plan} test "correctly parses payload" do xml_doc = """ <updated_subscription_notification> <account> <account_code>1</account_code> <us...
40.82
101
0.660951
97c52f75e34bcb42885af27ab0531d9b23353a21
303
ex
Elixir
src/lib/block_clock/blockchain.ex
lukasender/elixir-blockclock
db22d492f81d06e5074e97a556d75f5f557a66af
[ "MIT" ]
1
2021-12-16T09:01:44.000Z
2021-12-16T09:01:44.000Z
src/lib/block_clock/blockchain.ex
lukasender/elixir-blockclock
db22d492f81d06e5074e97a556d75f5f557a66af
[ "MIT" ]
null
null
null
src/lib/block_clock/blockchain.ex
lukasender/elixir-blockclock
db22d492f81d06e5074e97a556d75f5f557a66af
[ "MIT" ]
null
null
null
defmodule BlockClock.Blockchain do @moduledoc """ The Blockchain context. """ alias BlockClock.Blockchain.Block alias BlockClock.Store @doc """ Creates a block. """ def create_block(%{} = attrs) do block = Block.new(attrs) Store.set_latest_block(block) block end end
15.15
35
0.669967
97c53fcae503748f27629c1e31a9e5105f2f320f
1,710
ex
Elixir
lib/genstage_importer_web.ex
kloeckner-i/genstage_importer
a8d8242fa0bc79d83d05212dea667c93990685c7
[ "MIT" ]
4
2019-07-27T13:11:54.000Z
2020-06-19T14:00:21.000Z
lib/genstage_importer_web.ex
altmer/genstage_importer
a8d8242fa0bc79d83d05212dea667c93990685c7
[ "MIT" ]
null
null
null
lib/genstage_importer_web.ex
altmer/genstage_importer
a8d8242fa0bc79d83d05212dea667c93990685c7
[ "MIT" ]
2
2018-08-02T11:01:15.000Z
2019-11-15T12:35:40.000Z
defmodule GenstageImporterWeb 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 GenstageImporterWeb, :controller use GenstageImporterWeb, :view The definitions below will be executed for...
25.147059
69
0.706433
97c54dd277824b4fb7b52ec633976e24095c5b75
1,381
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/user_token.ex
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
10
2018-04-12T18:16:40.000Z
2018-04-14T06:05:42.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/user_token.ex
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
13
2018-05-25T19:31:49.000Z
2018-05-31T14:27:43.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/user_token.ex
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
2
2018-04-12T18:19:47.000Z
2018-04-12T18:57:46.000Z
defmodule NervesHubWebCore.Accounts.UserToken do use Ecto.Schema alias Ecto.Changeset alias NervesHubWebCore.Accounts.User @type t :: %__MODULE__{} schema "user_tokens" do belongs_to(:user, User) field(:token, :string) field(:note, :string) field(:last_used, :utc_datetime) timestamps(...
30.021739
95
0.672701
97c5c6be50c0d3c29558559a6eae2e60b055d3e2
272
exs
Elixir
test/storage/rackspace_test.exs
mamantoha/arc_rackspace
ac97b9fc1ef2fa230ab31ffdb67cf478e73afbd1
[ "MIT" ]
3
2018-10-13T10:10:37.000Z
2020-03-17T04:54:18.000Z
test/storage/rackspace_test.exs
mamantoha/arc_rackspace
ac97b9fc1ef2fa230ab31ffdb67cf478e73afbd1
[ "MIT" ]
null
null
null
test/storage/rackspace_test.exs
mamantoha/arc_rackspace
ac97b9fc1ef2fa230ab31ffdb67cf478e73afbd1
[ "MIT" ]
5
2016-11-18T16:29:57.000Z
2021-09-03T12:42:46.000Z
# TODO defmodule ArcTest.Storage.Rackspace do use ExUnit.Case, async: false @img "test/support/image.png" defmodule DummyDefinition do use Arc.Definition def __storage, do: Arc.Storage.Rackspace def storage_dir(_, _), do: "arctest/uploads" end end
18.133333
48
0.720588
97c5d5a8b42bba72c2620eba69d7c45affeb5d92
7,788
ex
Elixir
test/support/live_views/general.ex
rbino/phoenix_live_view
90cd971774ce97c03991b867e853ecef76b07a1b
[ "MIT" ]
1
2019-12-07T19:28:57.000Z
2019-12-07T19:28:57.000Z
test/support/live_views/general.ex
rbino/phoenix_live_view
90cd971774ce97c03991b867e853ecef76b07a1b
[ "MIT" ]
1
2019-03-17T23:44:09.000Z
2019-03-19T21:52:06.000Z
test/support/live_views/general.ex
rbino/phoenix_live_view
90cd971774ce97c03991b867e853ecef76b07a1b
[ "MIT" ]
null
null
null
alias Phoenix.LiveViewTest.{ClockLive, ClockControlsLive} defmodule Phoenix.LiveViewTest.ThermostatLive do use Phoenix.LiveView, container: {:article, class: "thermo"}, namespace: Phoenix.LiveViewTest def render(assigns) do ~L""" Redirect: <%= @redirect %> The temp is: <%= @val %><%= @greeting %> ...
27.135889
102
0.602337
97c5d5f335a72734c316b3846a3f544c75505d9f
2,228
ex
Elixir
lib/example_app_web/controllers/admin/administrator_controller.ex
elixirasturias/example-app
d68d3c141446cf81a9181198b22d51a41b26ce71
[ "MIT" ]
3
2018-05-31T13:06:48.000Z
2020-01-14T03:29:30.000Z
lib/example_app_web/controllers/admin/administrator_controller.ex
elixirasturias/example-app
d68d3c141446cf81a9181198b22d51a41b26ce71
[ "MIT" ]
null
null
null
lib/example_app_web/controllers/admin/administrator_controller.ex
elixirasturias/example-app
d68d3c141446cf81a9181198b22d51a41b26ce71
[ "MIT" ]
null
null
null
defmodule ExampleAppWeb.Admin.AdministratorController do use ExampleAppWeb, :controller alias ExampleApp.Accounts alias ExampleApp.Accounts.Administrator def index(conn, _params) do administrators = Accounts.list_administrators() render(conn, "index.html", administrators: administrators) end def ...
30.108108
78
0.67684
97c61866a68029464d04832bad5d3ea57598e1a0
212
exs
Elixir
config/docs.exs
curator-ex/curator_timeoutable
6d3fe59a78d6df50efb0ffe512b2975988d041e1
[ "MIT" ]
null
null
null
config/docs.exs
curator-ex/curator_timeoutable
6d3fe59a78d6df50efb0ffe512b2975988d041e1
[ "MIT" ]
null
null
null
config/docs.exs
curator-ex/curator_timeoutable
6d3fe59a78d6df50efb0ffe512b2975988d041e1
[ "MIT" ]
null
null
null
use Mix.Config config :guardian, Guardian, issuer: "MyApp", ttl: { 1, :days }, verify_issuer: true, secret_key: "woiuerojksldkjoierwoiejrlskjdf", serializer: CuratorTimeoutable.Test.GuardianSerializer
23.555556
56
0.754717
97c676dd5a83b5ca55b0d7a976fa25bdd51a6648
2,794
ex
Elixir
lib/hexa/media_library/song.ex
libreearth/hexa
81938c3a5abc710eb16055d73c43cbf60dbf487e
[ "MIT" ]
null
null
null
lib/hexa/media_library/song.ex
libreearth/hexa
81938c3a5abc710eb16055d73c43cbf60dbf487e
[ "MIT" ]
null
null
null
lib/hexa/media_library/song.ex
libreearth/hexa
81938c3a5abc710eb16055d73c43cbf60dbf487e
[ "MIT" ]
null
null
null
defmodule Hexa.MediaLibrary.Song do use Ecto.Schema import Ecto.Changeset alias Hexa.MediaLibrary.Song alias Hexa.Accounts schema "songs" do field :album_artist, :string field :artist, :string field :played_at, :utc_datetime field :paused_at, :utc_datetime field :date_recorded, :naive_da...
31.393258
98
0.678597
97c6b669e34c498a8eb2baa645b6dda96250c1d2
1,275
exs
Elixir
mix.exs
willfore/cp_mgmt
7652c5102e0bf154293f97364609a4266bd70bd2
[ "Apache-2.0" ]
null
null
null
mix.exs
willfore/cp_mgmt
7652c5102e0bf154293f97364609a4266bd70bd2
[ "Apache-2.0" ]
null
null
null
mix.exs
willfore/cp_mgmt
7652c5102e0bf154293f97364609a4266bd70bd2
[ "Apache-2.0" ]
null
null
null
defmodule CpMgmt.MixProject do use Mix.Project def project do [ app: :cp_mgmt, version: "1.0.4", elixir: "~> 1.7", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "...
24.056604
92
0.564706
97c6c6b071ac88e889d52dbf6e8f2f376cc92cb4
45,836
ex
Elixir
lib/elixir/lib/registry.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/registry.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/registry.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
defmodule Registry do @moduledoc ~S""" A local, decentralized and scalable key-value process storage. It allows developers to lookup one or more processes with a given key. If the registry has `:unique` keys, a key points to 0 or 1 processes. If the registry allows `:duplicate` keys, a single key may point t...
34.697956
107
0.662383
97c6cd1682c68fd19469c51451baf3edad1159bb
957
ex
Elixir
debian/postinst.ex
tarkhov/apache-site-commands
952dd06da901c3dd49ae89ae583612de55151913
[ "MIT" ]
null
null
null
debian/postinst.ex
tarkhov/apache-site-commands
952dd06da901c3dd49ae89ae583612de55151913
[ "MIT" ]
6
2016-11-02T14:14:04.000Z
2017-03-10T07:41:39.000Z
debian/postinst.ex
tarkhov/apache-site-commands
952dd06da901c3dd49ae89ae583612de55151913
[ "MIT" ]
null
null
null
#!/bin/sh # postinst script for a2site # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # ...
23.925
71
0.639498
97c6eb25b4ae2c670063bd65c458d22d646d8b01
2,389
ex
Elixir
lib/ex_mustang/responders/birthday.ex
theodowling/ex_mustang
0bf0d96c0e33e8291eb4d911bfdcdc57902fa78d
[ "Apache-2.0" ]
69
2016-08-17T06:50:58.000Z
2021-01-26T00:43:34.000Z
lib/ex_mustang/responders/birthday.ex
onixus74/ex_mustang
e7c8ae51027d717c20784abad76b846198a980b9
[ "Apache-2.0" ]
55
2016-08-16T01:05:39.000Z
2020-10-08T15:53:35.000Z
lib/ex_mustang/responders/birthday.ex
onixus74/ex_mustang
e7c8ae51027d717c20784abad76b846198a980b9
[ "Apache-2.0" ]
10
2017-01-20T19:45:43.000Z
2020-09-30T20:32:23.000Z
defmodule ExMustang.Responders.Birthday do @moduledoc """ Send birthday message to the user mentioned Quotes taken from https://github.com/github/hubot-scripts/blob/master/src/scripts/birthday.coffee """ use Hedwig.Responder @msgs [ "Happy Birthday {name}, you're not getting older, you're just a littl...
49.770833
133
0.684805
97c7432b44c1815a48dbc1ea1c0829d617e37940
1,889
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/update_named_range_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/update_named_range_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/update_named_range_request.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...
37.78
256
0.737427
97c78022fcc229846b6bcc906ae5fd329a316856
336
ex
Elixir
lib/supabase_surface/components/icons/icon_list.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_list.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_list.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconList do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.list(width: icon_size, height: icon_size)} </IconContainer> ...
22.4
62
0.714286
97c7982c38662b5d165e0ffa1b717095d14fee6d
1,785
ex
Elixir
lib/webchat_web/live/chat/components/server_creation_component.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
lib/webchat_web/live/chat/components/server_creation_component.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
1
2020-08-04T19:50:09.000Z
2020-08-04T19:50:09.000Z
lib/webchat_web/live/chat/components/server_creation_component.ex
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
defmodule WebchatWeb.Chat.ServerCreationComponent do use Phoenix.LiveComponent use Phoenix.HTML import WebchatWeb.ErrorHelpers alias Webchat.Chat.Participants alias Webchat.Chat.Models.Server alias Webchat.Chat.Servers def render(assigns) do ~L""" <div class="page-container" id="server-creat...
24.121622
65
0.552381
97c7dca8292db85da3fbeab68351fc264892ad27
2,321
ex
Elixir
lib/aws/generated/api_gateway_management_api.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/api_gateway_management_api.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/api_gateway_management_api.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.ApiGatewayManagementApi do @moduledoc """ The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the...
24.177083
84
0.632486
97c7f3308ac2e438da10ff1718d0eef23f6d8f35
3,079
exs
Elixir
priv/repo/migrations/20190909113137_add_more_market_segments.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20190909113137_add_more_market_segments.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20190909113137_add_more_market_segments.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.AddMoreMarketSegments do use Ecto.Migration import Ecto.Query alias Sanbase.Model.{Project, MarketSegment} def up do setup() # Get all Projects projects = get_projects() # Create a market segment for every infrastructure and get a map from # the infrast...
33.835165
95
0.687236
97c80d66315b3e0f350eceeb1ed391cd75572f0a
1,962
exs
Elixir
test/sftp_client/operation_util_test.exs
zoten/sftp_client
814d06e36915f60bf98149d790051d03bee189f5
[ "MIT" ]
null
null
null
test/sftp_client/operation_util_test.exs
zoten/sftp_client
814d06e36915f60bf98149d790051d03bee189f5
[ "MIT" ]
null
null
null
test/sftp_client/operation_util_test.exs
zoten/sftp_client
814d06e36915f60bf98149d790051d03bee189f5
[ "MIT" ]
null
null
null
defmodule SFTPClient.OperationUtilTest do use ExUnit.Case, async: true alias SFTPClient.ConnError alias SFTPClient.InvalidOptionError alias SFTPClient.OperationError alias SFTPClient.OperationUtil describe "may_bang!/1" do test "return ok on ok" do assert OperationUtil.may_bang!(:ok) == :ok ...
26.16
79
0.617227
97c80d9944737435dc41dbbf8974e03943fcbb9d
273
ex
Elixir
api/lib/skeleton_api/repo.ex
psychowico/phoenix-vuejs-skeleton
6e8fa12bf1050bb08c5e312fd972db92a1e0b214
[ "MIT" ]
null
null
null
api/lib/skeleton_api/repo.ex
psychowico/phoenix-vuejs-skeleton
6e8fa12bf1050bb08c5e312fd972db92a1e0b214
[ "MIT" ]
null
null
null
api/lib/skeleton_api/repo.ex
psychowico/phoenix-vuejs-skeleton
6e8fa12bf1050bb08c5e312fd972db92a1e0b214
[ "MIT" ]
null
null
null
defmodule SkeletonApi.Repo do use Ecto.Repo, otp_app: :skeleton_api @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
22.75
66
0.70696