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
f72f33e4ec182e1926312b120ecc0bd0087046c0
708
ex
Elixir
lib/credo/check/readability/trailing_blank_line.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/readability/trailing_blank_line.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/readability/trailing_blank_line.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.TrailingBlankLine do @moduledoc """ Files should end in a trailing blank line. Many editors ensure this "final newline" automatically. """ @explanation [check: @moduledoc] use Credo.Check, base_priority: :low def run(%SourceFile{lines: lines} = source_file, params \\ [...
25.285714
70
0.682203
f72f396f9ffc4c15232125d742882e4a4bd47bfd
70
exs
Elixir
imdb_data/test/test_helper.exs
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
null
null
null
imdb_data/test/test_helper.exs
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
2
2016-03-10T03:04:11.000Z
2017-02-11T17:43:44.000Z
imdb_data/test/test_helper.exs
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(IMDbData.Repo, :manual)
23.333333
54
0.785714
f72f451404859991ae34f3b2bdc5834adb477887
385
ex
Elixir
lib/ash/error/query/invalid_sort_order.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/error/query/invalid_sort_order.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/error/query/invalid_sort_order.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Error.Query.InvalidSortOrder do @moduledoc "Used when an invalid sort order is provided" use Ash.Error.Exception def_ash_error([:order], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ash.UUID.generate() def code(_), do: "invalid_sort_order" def message(%{order: order}) d...
22.647059
58
0.688312
f72f49eddc1131134845a20ea7732a61556e5788
489
ex
Elixir
lib/solvent_web/router.ex
pbremer/solvent
76e4ec6e1230f25f55069c5702dbe628f35f0798
[ "MIT" ]
null
null
null
lib/solvent_web/router.ex
pbremer/solvent
76e4ec6e1230f25f55069c5702dbe628f35f0798
[ "MIT" ]
1
2021-03-10T11:08:45.000Z
2021-03-10T11:08:45.000Z
lib/solvent_web/router.ex
pbremer/solvent
76e4ec6e1230f25f55069c5702dbe628f35f0798
[ "MIT" ]
null
null
null
defmodule SolventWeb.Router do use SolventWeb, :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 "/", SolventWeb do pipe_...
18.111111
39
0.672802
f72f7d45eeab92972ef791045393d458d8e4d895
2,075
ex
Elixir
clients/game_services/lib/google_api/game_services/v1/model/log_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1/model/log_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/game_services/lib/google_api/game_services/v1/model/log_config.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.150943
123
0.742169
f72fae835e4937abea95eacd9c73a435820aae8d
251
ex
Elixir
bullion/lib/bullion.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
bullion/lib/bullion.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
8
2021-03-10T20:53:42.000Z
2021-07-30T06:52:16.000Z
bullion/lib/bullion.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
defmodule Bullion do @moduledoc """ Bullion keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.1
66
0.752988
f72fca50b77aba5427164268f26aef447cefa939
8,755
exs
Elixir
apps/ewallet_config/test/ewallet_config/setting_validator_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_config/test/ewallet_config/setting_validator_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_config/test/ewallet_config/setting_validator_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
defmodule EWalletConfig.SettingValidatorTest do use EWalletConfig.SchemaCase, async: true import Ecto.Changeset import EWalletConfig.SettingValidator alias EWalletConfig.StoredSetting describe "validate_with_options/1" do test "returns a valid changeset for a new StoredSetting" do attrs = %{ ...
25.902367
96
0.584352
f73008175daa4bbc1cf0b1d0be7f6f6e1cf6646b
739
exs
Elixir
test/unit/xsd/datatypes/short_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/xsd/datatypes/short_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/xsd/datatypes/short_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.ShortTest do use RDF.XSD.Datatype.Test.Case, datatype: RDF.XSD.Short, name: "short", base: RDF.XSD.Int, base_primitive: RDF.XSD.Integer, comparable_datatypes: [RDF.XSD.Decimal, RDF.XSD.Double], applicable_facets: [ RDF.XSD.Facets.MinInclusive, RDF.XSD.Facets.MaxIn...
27.37037
60
0.658999
f73015ba8da24e53be0555e0fdf6a406a68fac13
7,243
ex
Elixir
lib/okta/groups.ex
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
7
2021-07-19T10:41:43.000Z
2022-02-23T20:56:51.000Z
lib/okta/groups.ex
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
10
2019-08-18T11:31:43.000Z
2019-09-24T18:12:24.000Z
lib/okta/groups.ex
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
2
2019-08-08T08:22:10.000Z
2019-09-06T06:54:43.000Z
defmodule Okta.Groups do @moduledoc """ The `Okta.Groups` module provides access methods to the [Okta Groups API](https://developer.okta.com/docs/reference/api/groups/). All methods require a Tesla Client struct created with `Okta.client(base_url, api_key)`. ## Examples client = Okta.Client("https://de...
34.822115
131
0.692393
f7301783bb2eb3b939b8848a79f1b91fc4255b5a
3,638
exs
Elixir
test/unit/logger_json/plug_test.exs
thulio/logger_json
3c3c2731772d1d937a61ec8d3d09d9288f4fac8f
[ "MIT" ]
null
null
null
test/unit/logger_json/plug_test.exs
thulio/logger_json
3c3c2731772d1d937a61ec8d3d09d9288f4fac8f
[ "MIT" ]
null
null
null
test/unit/logger_json/plug_test.exs
thulio/logger_json
3c3c2731772d1d937a61ec8d3d09d9288f4fac8f
[ "MIT" ]
null
null
null
defmodule LoggerJSON.PlugTest do use Logger.Case use Plug.Test import ExUnit.CaptureIO require Logger defmodule MyPlug do use Plug.Builder plug(LoggerJSON.Plug) plug(:passthrough) defp passthrough(conn, _) do Plug.Conn.send_resp(conn, 200, "Passthrough") end end setup do ...
29.33871
110
0.43238
f73018c36bc17bf8417636327724928e4035b056
3,758
ex
Elixir
lib/rethinkdb/pseudotypes.ex
goonode/rethinkdb-elixir
449fa3a11a65fb7e6ff729f3a4e7614acf69522e
[ "MIT" ]
null
null
null
lib/rethinkdb/pseudotypes.ex
goonode/rethinkdb-elixir
449fa3a11a65fb7e6ff729f3a4e7614acf69522e
[ "MIT" ]
null
null
null
lib/rethinkdb/pseudotypes.ex
goonode/rethinkdb-elixir
449fa3a11a65fb7e6ff729f3a4e7614acf69522e
[ "MIT" ]
null
null
null
defmodule RethinkDB.Pseudotypes do @moduledoc false defmodule Binary do @moduledoc false defstruct data: nil def parse(%{"$reql_type$" => "BINARY", "data" => data}, opts) do case Keyword.get(opts, :binary_format) do :raw -> %__MODULE__{data: data} _ -> :base64...
27.231884
97
0.555082
f7304810774878d437664adfec2ee5a39d379aa8
1,616
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/sync_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/sync_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/sync_status.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.32
116
0.727104
f7304b1d26466d14e95e6ce13331dd002deb8461
24,581
ex
Elixir
clients/chat/lib/google_api/chat/v1/api/spaces.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/api/spaces.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/api/spaces.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.945794
196
0.616737
f730557a85cb87860e0c0599d6ca73343cca786d
3,838
ex
Elixir
exercises/practice/zipper/.meta/example.ex
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
2
2019-07-09T05:23:38.000Z
2019-07-29T01:39:59.000Z
exercises/practice/zipper/.meta/example.ex
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
6
2021-05-12T06:06:14.000Z
2022-03-21T16:08:49.000Z
exercises/practice/zipper/.meta/example.ex
herminiotorres/exercism-elixir
0464a968f3e37680b2bf34868b889d6f8de5581e
[ "MIT" ]
null
null
null
defmodule BinTree do @moduledoc """ A node in a binary tree. `value` is the value of a node. `left` is the left subtree (nil if no subtree). `right` is the right subtree (nil if no subtree). """ @type t :: %BinTree{value: any, left: t() | nil, right: t() | nil} defstruct [:value, :left, :right] end ...
25.758389
99
0.565659
f7306f93b0eab05e541f9c613ec4dc0226d3ba9c
393
exs
Elixir
priv/repo/seeds.exs
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
22
2021-06-29T09:25:52.000Z
2022-03-16T09:17:24.000Z
priv/repo/seeds.exs
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
54
2021-06-28T19:54:17.000Z
2022-03-27T06:49:30.000Z
priv/repo/seeds.exs
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
2
2022-01-08T10:16:30.000Z
2022-02-20T09:45:50.000Z
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Prop.Repo.insert!(%Prop.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail ...
28.071429
61
0.709924
f730b32d36b8d6a1df6625377531aace52f31f08
8,081
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/operations.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/operations.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/operations.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 ...
51.801282
414
0.675288
f730c7a6c24a004f2ac9440efa21ca9adbaa969d
569
ex
Elixir
lib/mix/tasks/pelemay/nerves/bench.ex
kentaro/pelemay
fcdd8c2783adb9e57aa82f3fc8c1184346de9f3c
[ "Apache-2.0" ]
192
2019-08-30T06:53:28.000Z
2022-02-15T06:08:25.000Z
lib/mix/tasks/pelemay/nerves/bench.ex
kentaro/pelemay
fcdd8c2783adb9e57aa82f3fc8c1184346de9f3c
[ "Apache-2.0" ]
121
2019-09-02T08:13:25.000Z
2021-12-03T19:04:16.000Z
lib/mix/tasks/pelemay/nerves/bench.ex
kentaro/pelemay
fcdd8c2783adb9e57aa82f3fc8c1184346de9f3c
[ "Apache-2.0" ]
15
2019-08-31T12:00:03.000Z
2021-07-03T04:13:10.000Z
defmodule Mix.Tasks.Pelemay.Nerves.Bench do use Mix.Task @shortdoc "Benchmark kernels of Pelemay with ssh nerves.local" @recursive true @moduledoc """ Benchmark kernels of Pelemay with ssh nerves.local. ``` mix pelemay.nerves.bench `module_name` ``` """ @impl true def run(args) do Mix.Pr...
21.884615
94
0.630931
f73104b267eb7f19f679104d5f9086d6984baac3
297
ex
Elixir
lib/cloudfront_signer/application.ex
qstream/cloudfront-signer
515dafb4408a85439aa56a5deccd6cf17def2e11
[ "MIT" ]
null
null
null
lib/cloudfront_signer/application.ex
qstream/cloudfront-signer
515dafb4408a85439aa56a5deccd6cf17def2e11
[ "MIT" ]
1
2022-01-31T15:05:07.000Z
2022-01-31T15:05:07.000Z
lib/cloudfront_signer/application.ex
qstream/cloudfront-signer
515dafb4408a85439aa56a5deccd6cf17def2e11
[ "MIT" ]
null
null
null
defmodule CloudfrontSigner.Application do use Application def start(_type, _args) do children = [ {CloudfrontSigner.DistributionRegistry, []} ] opts = [strategy: :one_for_one, name: CloudfrontSigner.Application.Supervisor] Supervisor.start_link(children, opts) end end
27
82
0.734007
f731655d2a0534b545408ad4e9f28a1e7cebdeb2
266
exs
Elixir
priv/repo/migrations/20210420232741_create_restaurants.exs
manoel-lopes/invenger
19f76964c95cd4e038c78cf743fe28069b73b9b2
[ "MIT" ]
null
null
null
priv/repo/migrations/20210420232741_create_restaurants.exs
manoel-lopes/invenger
19f76964c95cd4e038c78cf743fe28069b73b9b2
[ "MIT" ]
null
null
null
priv/repo/migrations/20210420232741_create_restaurants.exs
manoel-lopes/invenger
19f76964c95cd4e038c78cf743fe28069b73b9b2
[ "MIT" ]
null
null
null
defmodule Invenger.Repo.Migrations.CreateRestaurants do use Ecto.Migration def change do create table(:restaurants) do add :email, :string add :name, :string timestamps() end create unique_index(:restaurants, [:email]) end end
17.733333
55
0.680451
f7317b1f5db4cd7e41fee0114c40f3a889afa8b6
521
ex
Elixir
lib/mix/tasks/piton/pip.ex
nutheory/piton
2f1072456a095ea1862c3e0f339356b2d3b72dad
[ "MIT" ]
41
2017-06-08T08:00:13.000Z
2022-02-04T13:38:36.000Z
lib/mix/tasks/piton/pip.ex
nutheory/piton
2f1072456a095ea1862c3e0f339356b2d3b72dad
[ "MIT" ]
null
null
null
lib/mix/tasks/piton/pip.ex
nutheory/piton
2f1072456a095ea1862c3e0f339356b2d3b72dad
[ "MIT" ]
1
2018-08-04T09:49:59.000Z
2018-08-04T09:49:59.000Z
defmodule Mix.Tasks.Piton.Pip do use Mix.Task @moduledoc """ `Mix.Task` which will upgrade your Python pip. """ @shortdoc "It will install python pip. The pip's full path has to be given as argument" def run(args) do case args do [pip_path | _] -> upgrade(pip_path) _ -> IO.puts("Argument e...
23.681818
89
0.637236
f7318284bb4b4fcc6620f43917c5b2ec0713e02b
2,180
ex
Elixir
lib/phoenix/live_dashboard/listener.ex
dbii/phoenix_live_dashboard
08255b63a4a7236d3f99fe9053b997fab1027297
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/listener.ex
dbii/phoenix_live_dashboard
08255b63a4a7236d3f99fe9053b997fab1027297
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/listener.ex
dbii/phoenix_live_dashboard
08255b63a4a7236d3f99fe9053b997fab1027297
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.Listener do # This module is the one responsible for listening # and sending metrics to a given node. @moduledoc false use GenServer, restart: :temporary def listen(node, metrics) do DynamicSupervisor.start_child( {Phoenix.LiveDashboard.ListenerSupervisor, node}, ...
27.594937
87
0.670642
f731b9442a50669d8abe362b198f814c1db452df
2,317
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/http.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/http.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/http.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
39.271186
180
0.744929
f7323679deaad295e9933e08aba80280b84ed3f6
13,839
exs
Elixir
test/glimesh/chat_test.exs
Eein/glimesh.tv
e55e96b852363b0d9576ca47d19f1499889c68db
[ "MIT" ]
1
2021-06-08T00:07:39.000Z
2021-06-08T00:07:39.000Z
test/glimesh/chat_test.exs
defango/glimesh.tv
d429d66cbb61bedcbb62a4d348b5e16a6b5a6868
[ "MIT" ]
null
null
null
test/glimesh/chat_test.exs
defango/glimesh.tv
d429d66cbb61bedcbb62a4d348b5e16a6b5a6868
[ "MIT" ]
null
null
null
defmodule Glimesh.ChatTest do use Glimesh.DataCase import Glimesh.AccountsFixtures alias Glimesh.Accounts alias Glimesh.Chat alias Glimesh.Streams alias Glimesh.StreamModeration alias Glimesh.Streams.ChannelModerationLog describe "chat_messages" do alias Glimesh.Chat.ChatMessage @valid_attrs...
34.684211
107
0.660741
f73248b684efd5bcb69f8f98bc34238d4fe6e5d3
1,108
exs
Elixir
test/parser/set_parameter_values_response_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
test/parser/set_parameter_values_response_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
test/parser/set_parameter_values_response_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defmodule CWMP.Protocol.Parser.SetParameterValuesResponseTest do use ExUnit.Case, async: true @sample """ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://...
41.037037
275
0.674188
f7324d25e27dbf2ec2c956454c5288021e9d0309
774
ex
Elixir
lib/ex_matchers/match.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
7
2016-07-11T13:17:34.000Z
2019-07-24T18:27:02.000Z
lib/ex_matchers/match.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
2
2017-09-15T21:37:01.000Z
2021-07-23T19:13:12.000Z
lib/ex_matchers/match.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
1
2017-09-15T21:39:22.000Z
2017-09-15T21:39:22.000Z
defmodule ExMatchers.Match do @moduledoc false import ExUnit.Assertions import ExMatchers.Custom defprotocol MatchMatcher do @fallback_to_any true def to_match(actual, regex) def to_not_match(actual, regex) end defimpl MatchMatcher, for: BitString do def to_match(actual, regex) do a...
22.764706
64
0.70155
f73270d9457f23e0cb199c16df5688c5b5cfdbe1
98
ex
Elixir
test/unit/fixtures/compiler/transformers/struct_type_transformer/module_2.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/fixtures/compiler/transformers/struct_type_transformer/module_2.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/fixtures/compiler/transformers/struct_type_transformer/module_2.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Test.Fixtures.Compiler.StructTypeTransformer.Module2 do defstruct b: nil end
24.5
74
0.846939
f73281311964f9253a5aedc95a145b66e0f60c09
7
ex
Elixir
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/AtomKeyword.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/AtomKeyword.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/list_dot_operation_parsing_test_case/AtomKeyword.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
[].true
7
7
0.571429
f7329790f16e720e565f906b40c5a8485db6651e
1,031
exs
Elixir
test/lib/openflow/ofp_desc_stats_test.exs
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
test/lib/openflow/ofp_desc_stats_test.exs
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
test/lib/openflow/ofp_desc_stats_test.exs
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule OfpDescTest do use ExUnit.Case describe "Openflow.Multipart.Desc.Request" do test "with default values" do desc = Openflow.Multipart.Desc.Request.new(0) desc |> Openflow.to_binary() |> Openflow.read() |> Kernel.elem(1) |> Kernel.==(desc) |> assert() end ...
24.547619
51
0.563531
f73299b81b214ce247996ec34e9f1541f82be0ec
480
exs
Elixir
test/models/order_test.exs
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
22
2016-03-31T02:58:09.000Z
2020-06-16T02:37:16.000Z
test/models/order_test.exs
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
7
2016-03-27T14:22:59.000Z
2021-04-27T14:33:51.000Z
test/models/order_test.exs
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
13
2016-04-21T06:05:32.000Z
2018-08-23T06:38:54.000Z
defmodule ExAdminDemo.OrderTest do use ExAdminDemo.ModelCase alias ExAdminDemo.Order @valid_attrs %{user_id: 1, checked_out_at: "2010-04-17 14:00:00", total_price: "120.5"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Order.changeset(%Order{}, @valid_attrs) assert change...
25.263158
89
0.727083
f73306e3b94ea8fa2382fe9db897980e98ca83a4
6,594
ex
Elixir
lib/ash/data_layer/ets.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
lib/ash/data_layer/ets.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
lib/ash/data_layer/ets.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
defmodule Ash.DataLayer.Ets do @moduledoc """ An ETS (Erlang Term Storage) backed Ash Datalayer, for testing. This is used for testing. *Do not use this data layer in production* """ @behaviour Ash.DataLayer @ets %Ash.Dsl.Section{ name: :ets, describe: """ A section for configuring the ets da...
24.789474
95
0.57613
f73321ff4b595a3c473892b1b0839500abaf4420
270
ex
Elixir
backend/lib/spades_util/slugify.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
9
2019-10-28T08:48:50.000Z
2021-03-05T09:44:46.000Z
backend/lib/spades_util/slugify.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
227
2019-10-28T08:52:58.000Z
2022-02-27T04:31:42.000Z
backend/lib/spades_util/slugify.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
4
2020-04-18T19:38:37.000Z
2021-08-02T19:43:03.000Z
defmodule SpadesUtil.Slugify do @moduledoc """ Slugify: Make a string suitable for a url by lowercasing it and changing non-word characters to spaces. """ def slugify(str) do str |> String.downcase() |> String.replace(~r/[^\w-]+/u, "-") end end
22.5
62
0.648148
f73332740aaec8ccb3e28c5b8c0cb15b55cce9c2
509
exs
Elixir
apps/snitch_core/priv/repo/migrations/20181217085522_add_promotion_rule.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/migrations/20181217085522_add_promotion_rule.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/migrations/20181217085522_add_promotion_rule.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Repo.Migrations.AddPromotionRule do use Ecto.Migration def change do execute("CREATE EXTENSION IF NOT EXISTS citext") create table("snitch_promotion_rules") do add(:name, :citext, null: false) add(:module, PromotionRuleEnum.type(), null: false) add(:preferences, :map) ...
26.789474
73
0.691552
f7335631f330f1673941be69cee57bd5042fd1d7
1,008
exs
Elixir
backend/config/config.exs
djquan/budget.sh.old
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
2
2019-09-08T23:26:20.000Z
2019-10-04T21:05:40.000Z
backend/config/config.exs
djquan/budget.sh
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
null
null
null
backend/config/config.exs
djquan/budget.sh
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :budgetsh, ecto_repos: [BudgetSH.Repo] ...
32.516129
86
0.771825
f73368533a9f48bc11d05d144be6ae4b5447471c
690
exs
Elixir
test/data/sample_row_keys_test.exs
rockneurotiko/bigtable
a83d0c3e513a212265b2f6fc775407fa71ac049c
[ "MIT" ]
17
2019-01-22T12:59:38.000Z
2021-12-13T10:41:52.000Z
test/data/sample_row_keys_test.exs
rockneurotiko/bigtable
a83d0c3e513a212265b2f6fc775407fa71ac049c
[ "MIT" ]
17
2019-01-27T18:11:33.000Z
2020-02-24T10:16:08.000Z
test/data/sample_row_keys_test.exs
rockneurotiko/bigtable
a83d0c3e513a212265b2f6fc775407fa71ac049c
[ "MIT" ]
3
2019-02-04T17:08:09.000Z
2021-04-07T07:13:53.000Z
defmodule SampleRowKeysTest do @moduledoc false alias Bigtable.SampleRowKeys use ExUnit.Case doctest SampleRowKeys describe "SampleRowKeys.build()" do test "should build a SampleRowKeysRequest with configured table" do assert SampleRowKeys.build() == expected_request() end test "should b...
24.642857
80
0.733333
f7336a03298a5e9b009a8bc497e7a622a649f8a9
254
ex
Elixir
lib/evolvr/parallel.ex
matthewmacleod/evolvr
6392f0e03a8218ea70e86afdd187dcf728155072
[ "MIT" ]
3
2015-12-29T21:13:23.000Z
2017-08-14T22:35:25.000Z
lib/evolvr/parallel.ex
matthewmacleod/evolvr
6392f0e03a8218ea70e86afdd187dcf728155072
[ "MIT" ]
null
null
null
lib/evolvr/parallel.ex
matthewmacleod/evolvr
6392f0e03a8218ea70e86afdd187dcf728155072
[ "MIT" ]
null
null
null
defmodule Parallel do def pmap(collection, fun) do me = self collection |> Enum.map(fn (elem) -> spawn_link fn -> (send me, {self, fun.(elem) }) end end) |> Enum.map(fn (pid) -> receive do { ^pid, result } -> result end end) end end
25.4
85
0.602362
f733b23866095314ee7942ebc0b864aa67ead4e3
2,983
exs
Elixir
test/integration/response_factory_test.exs
fcapovilla/fake_server
68ee414ed421127f5aaca19c104b7ba01c12d716
[ "Apache-2.0" ]
null
null
null
test/integration/response_factory_test.exs
fcapovilla/fake_server
68ee414ed421127f5aaca19c104b7ba01c12d716
[ "Apache-2.0" ]
null
null
null
test/integration/response_factory_test.exs
fcapovilla/fake_server
68ee414ed421127f5aaca19c104b7ba01c12d716
[ "Apache-2.0" ]
null
null
null
defmodule MyResponseFactory do use FakeServer.ResponseFactory def person_response do ok(%{ name: Faker.Name.name, email: Faker.Internet.free_email, company: %{name: Faker.Company.name, county: Faker.Address.country} }, %{"Content-Type" => "application/json"}) end end defmodule FakeServ...
32.78022
121
0.680188
f733e24287a3b0ba30539652fb7f4a06eb09f88e
1,711
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/backend.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/lib/google_api/service_management/v1/model/backend.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/backend.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.918367
168
0.745763
f733e32c292ee9edae5f978c4a771fbe258cc05d
2,015
ex
Elixir
web/controllers/page_controller.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
44
2016-09-22T21:37:48.000Z
2021-10-09T03:43:32.000Z
web/controllers/page_controller.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
3
2016-09-23T08:41:22.000Z
2017-05-24T10:58:54.000Z
web/controllers/page_controller.ex
evadne/supervised-scaler
30fa3275a3f9c16c79457ec2205e7bc129658713
[ "MIT" ]
5
2016-09-25T18:52:00.000Z
2021-07-28T21:12:33.000Z
defmodule Scaler.PageController do use Scaler.Web, :controller def index(conn, _params) do render conn, "index.html" end def preview(conn, params) do path = params["image"].path # # we can assume that ImageMagick will always work for now # n.b. this may very well not be the case ...
31.984127
96
0.648139
f733e5c4c92d8ddcaba3ab4c0edf3261c7bc2be4
32,739
exs
Elixir
lib/iex/test/iex/helpers_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule IEx.HelpersTest do use IEx.Case import IEx.Helpers describe "whereami" do test "is disabled by default" do assert capture_iex("whereami()") =~ "Pry session is not currently enabled" end test "shows current location for custom envs" d...
31.909357
124
0.577935
f733ec93657bbc573bdb3d2dbc62fe54b5c2622e
4,379
ex
Elixir
lib/ex_rets/base_xml_parser.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
1
2019-12-20T14:23:19.000Z
2019-12-20T14:23:19.000Z
lib/ex_rets/base_xml_parser.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
null
null
null
lib/ex_rets/base_xml_parser.ex
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
null
null
null
defmodule ExRets.BaseXmlParser do @moduledoc false @moduledoc since: "0.1.0" alias ExRets.HttpClient @typedoc since: "0.1.0" @type uri :: charlist() @typedoc since: "0.1.0" @type prefix :: charlist() @typedoc since: "0.1.0" @type attribute_name :: charlist() @typedoc since: "0.1.0" @type valu...
28.809211
98
0.625714
f734163994f06d578daa8e710948ea0bb8d6e961
671
ex
Elixir
lib/oli/activities/model/response.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/activities/model/response.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/activities/model/response.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Activities.Model.Response do defstruct [:id, :rule, :score, :feedback] def parse(%{"id" => id, "rule" => rule, "score" => score, "feedback" => feedback}) do case Oli.Activities.Model.Feedback.parse(feedback) do {:ok, feedback} -> {:ok, %Oli.Activities.Model.Response{ ...
23.137931
87
0.579732
f734320c6e92717092048d7010d221d4a024177a
4,675
ex
Elixir
debian.save/manpage.sgml.ex
m2osw/controlled_vars
fc1225525c38a56470e4c01193411ef7ef9f2ed5
[ "MIT" ]
null
null
null
debian.save/manpage.sgml.ex
m2osw/controlled_vars
fc1225525c38a56470e4c01193411ef7ef9f2ed5
[ "MIT" ]
null
null
null
debian.save/manpage.sgml.ex
m2osw/controlled_vars
fc1225525c38a56470e4c01193411ef7ef9f2ed5
[ "MIT" ]
null
null
null
<!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.16129
75
0.659037
f73437468efb6952847ea46c36ba7f4d22fdc82d
193
ex
Elixir
lib/hexpm/block_address/entry.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm/block_address/entry.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm/block_address/entry.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule Hexpm.BlockAddress.Entry do use Hexpm.Schema # TODO: rename to block_address_entries schema "blocked_addresses" do field :ip, :string field :comment, :string end end
19.3
41
0.735751
f734378baecae72c8d0ebb0acb3f81885601a125
2,692
ex
Elixir
lib/exgopigo/brain.ex
infiniteNIL/exgopigo
01599e3ef367f378d9263d1fbab211f5f6502315
[ "MIT" ]
5
2015-05-30T23:51:26.000Z
2016-05-05T21:10:48.000Z
lib/exgopigo/brain.ex
infiniteNIL/exgopigo
01599e3ef367f378d9263d1fbab211f5f6502315
[ "MIT" ]
null
null
null
lib/exgopigo/brain.ex
infiniteNIL/exgopigo
01599e3ef367f378d9263d1fbab211f5f6502315
[ "MIT" ]
null
null
null
defmodule ExGoPiGo.Brain do use GenServer alias ExGoPiGo.Board alias ExGoPiGo.LEDs alias ExGoPiGo.Servo alias ExGoPiGo.UltraSonicSensor alias ExGoPiGo.Compass alias ExGoPiGo.Motors alias ExGoPiGo.GPS require Logger @moduledoc """ The brain for our robot. Controls and responds to all the sensors, motors, e...
20.549618
99
0.676077
f734a4deab6a7476a445aaf8e5f25d367f5f184d
382
exs
Elixir
priv/repo/migrations/20210325232307_add_hotspot_address_to_devices_table.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
priv/repo/migrations/20210325232307_add_hotspot_address_to_devices_table.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
priv/repo/migrations/20210325232307_add_hotspot_address_to_devices_table.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Repo.Migrations.AddHotspotAddressToDevicesTable do use Ecto.Migration def up do alter table("devices") do add_if_not_exists :hotspot_address, :string end create index(:devices, [:hotspot_address]) end def down do drop index(:devices, [:hotspot_address]) alter table(...
21.222222
68
0.709424
f73505374b12b6476c31185c7ec196460df8769c
241
ex
Elixir
lib/vutuv_web/views/api/password_view.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
lib/vutuv_web/views/api/password_view.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
lib/vutuv_web/views/api/password_view.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule VutuvWeb.Api.PasswordView do use VutuvWeb, :view def render("error.json", %{error: message}) do %{errors: %{detail: message}} end def render("info.json", %{info: message}) do %{info: %{detail: message}} end end
20.083333
48
0.647303
f7351bbff2e90ee3436bfcd59a3482dd3f4bd4d0
2,253
ex
Elixir
lib/ex_aws/boto/util.ex
seanedwards/ex_aws_boto
53603c77318befb7a146e8b24d79dcb0003dab72
[ "MIT" ]
2
2020-02-19T18:34:35.000Z
2020-10-26T19:54:28.000Z
lib/ex_aws/boto/util.ex
seanedwards/ex_aws_boto
53603c77318befb7a146e8b24d79dcb0003dab72
[ "MIT" ]
null
null
null
lib/ex_aws/boto/util.ex
seanedwards/ex_aws_boto
53603c77318befb7a146e8b24d79dcb0003dab72
[ "MIT" ]
null
null
null
defmodule ExAws.Boto.Util do @doc """ Converts a service ID and shape name into an Elixir module ## Examples iex> ExAws.Boto.Util.module_name("SomeService", "TestObject") ExAws.SomeService.TestObject """ def module_name(service_id, shape \\ nil) def module_name(service_id, nil) do ["Elixir...
25.033333
91
0.668886
f73544b98b16f9d3ba9dd89fb3577cfd978c94cb
1,221
ex
Elixir
lib/hl7/2.2/segments/in2.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.2/segments/in2.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.2/segments/in2.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_2.Segments.IN2 do @moduledoc false require Logger alias HL7.V2_2.{DataTypes} use HL7.Segment, fields: [ segment: nil, insureds_employee_id: nil, insureds_social_security_number: nil, insureds_employer_name: nil, employer_information_data: nil, mail_clai...
29.071429
58
0.706798
f7359e30b6302c75198ebbe8538bc110bc97f64e
730
ex
Elixir
lib/colly_web/live/live_helpers.ex
nidhindamodaran/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
null
null
null
lib/colly_web/live/live_helpers.ex
nidhindamodaran/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
4
2020-05-30T13:25:44.000Z
2021-05-11T13:32:44.000Z
lib/colly_web/live/live_helpers.ex
nidhinnambiar/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
null
null
null
defmodule CollyWeb.LiveHelpers do import Phoenix.LiveView.Helpers @doc """ Renders a component inside the `CollyWeb.ModalComponent` component. The rendered modal receives a `:return_to` option to properly update the URL when the modal is closed. ## Examples <%= live_modal @socket, CollyWeb.ItemLiv...
30.416667
80
0.694521
f735abd69badfda0d240cefc7fabb94b7e50934e
5,792
ex
Elixir
lib/gossip/socket.ex
adamkittelson/gossip-elixir
bf131fc0dd225d2e89a221571b27bad5d60db308
[ "MIT" ]
null
null
null
lib/gossip/socket.ex
adamkittelson/gossip-elixir
bf131fc0dd225d2e89a221571b27bad5d60db308
[ "MIT" ]
null
null
null
lib/gossip/socket.ex
adamkittelson/gossip-elixir
bf131fc0dd225d2e89a221571b27bad5d60db308
[ "MIT" ]
null
null
null
defmodule Gossip.Socket do @moduledoc """ The websocket connection to the Gossip network """ use WebSockex alias Gossip.Message require Logger alias Gossip.Monitor alias Gossip.Socket.Implementation def url(), do: Application.get_env(:gossip, :url) def start_link() do state = %{ auth...
23.544715
83
0.55922
f735c02e99f54aabc3402b244a3d948a30c3cd7c
13,832
ex
Elixir
lib/drab/config.ex
grych/drab
27132d9be7b9755359af5b8c9022073441ea2009
[ "MIT" ]
933
2017-01-14T13:47:37.000Z
2022-03-21T18:14:41.000Z
lib/drab/config.ex
grych/drab
27132d9be7b9755359af5b8c9022073441ea2009
[ "MIT" ]
189
2017-01-15T18:35:06.000Z
2022-01-24T17:41:22.000Z
lib/drab/config.ex
grych/drab
27132d9be7b9755359af5b8c9022073441ea2009
[ "MIT" ]
54
2017-01-15T18:10:48.000Z
2021-02-06T17:21:44.000Z
defmodule Drab.Config do @moduledoc """ Drab configuration. Drab works over the Phoenix Endpoints. You must provide configuration for each endpoint. The minimum is to set up the endpoint module name, and the application name, so for the application configured like: config :my_app_web, MyAppWeb.Endpoin...
32.242424
99
0.671992
f735d460226909d71497f8a8d38de7d76eaae7c1
1,807
exs
Elixir
mix.exs
ericdude4/phoenix_oauth2_provider
4985a18f4a486e397fda1203fa64a9b05b74d7ff
[ "MIT" ]
null
null
null
mix.exs
ericdude4/phoenix_oauth2_provider
4985a18f4a486e397fda1203fa64a9b05b74d7ff
[ "MIT" ]
null
null
null
mix.exs
ericdude4/phoenix_oauth2_provider
4985a18f4a486e397fda1203fa64a9b05b74d7ff
[ "MIT" ]
null
null
null
defmodule PhoenixOauth2Provider.Mixfile do use Mix.Project @version "0.5.1" def project do [ app: :phoenix_oauth2_provider, version: @version, elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env), start_permanent: Mix.env == :prod, compilers: [:phoenix] ++ Mix.compiler...
25.097222
84
0.579967
f735e17e83ce951888755c320b676d1b2de6760c
183
ex
Elixir
lib/warehouse_web/pow/routes.ex
riebeekn/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
14
2019-02-27T18:49:28.000Z
2020-12-24T21:39:16.000Z
lib/warehouse_web/pow/routes.ex
ammy-bajwa/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
null
null
null
lib/warehouse_web/pow/routes.ex
ammy-bajwa/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
5
2019-07-16T17:50:36.000Z
2020-08-12T22:14:41.000Z
defmodule WarehouseWeb.Pow.Routes do use Pow.Phoenix.Routes alias WarehouseWeb.Router.Helpers, as: Routes def after_sign_out_path(conn), do: Routes.page_path(conn, :index) end
26.142857
67
0.786885
f735e96dc8ac3a0f5d805d39f13911a9798583c5
1,901
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/list_metric_descriptors_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/list_metric_descriptors_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/list_metric_descriptors_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.02
236
0.768543
f735f81922aa58b15bcc23407e4c65dea6fd7919
1,550
exs
Elixir
test/miotwo/train_cache_test.exs
jakswa/miotwo
b8455c0e019c952891f108dc5cd5ad134c57cbfc
[ "MIT" ]
2
2018-08-24T18:09:34.000Z
2020-07-20T01:42:37.000Z
test/miotwo/train_cache_test.exs
jakswa/miotwo
b8455c0e019c952891f108dc5cd5ad134c57cbfc
[ "MIT" ]
null
null
null
test/miotwo/train_cache_test.exs
jakswa/miotwo
b8455c0e019c952891f108dc5cd5ad134c57cbfc
[ "MIT" ]
1
2018-05-16T22:57:57.000Z
2018-05-16T22:57:57.000Z
defmodule Miotwo.TrainCacheTest do use ExUnit.Case, async: true use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney setup_all do HTTPoison.start end describe "handle_call" do test "gives cache when not expired (no HTTP)" do expires = Timex.shift(Timex.now, minutes: 10) assert {:reply, :cached...
28.181818
88
0.649677
f73631003eb165e30065619f8e5ec21758b26cda
1,037
exs
Elixir
mix.exs
herenowcoder/reprise
e969b1a1cf775316c0bcd90a5ccc356967e1a7c6
[ "BSD-2-Clause" ]
24
2015-02-17T05:02:52.000Z
2016-07-27T09:24:55.000Z
mix.exs
herenowcoder/reprise
e969b1a1cf775316c0bcd90a5ccc356967e1a7c6
[ "BSD-2-Clause" ]
11
2015-01-11T10:41:29.000Z
2016-02-17T08:07:14.000Z
mix.exs
herenowcoder/reprise
e969b1a1cf775316c0bcd90a5ccc356967e1a7c6
[ "BSD-2-Clause" ]
8
2015-01-27T03:03:40.000Z
2016-11-09T00:52:15.000Z
defmodule Reprise.Mixfile do use Mix.Project def project do [app: :reprise, version: "0.5.2-dev", elixir: "~> 1.1", description: description(), package: package(), deps: deps()] end def application do [mod: {Reprise, []}, registered: [Reprise], applications: [:logg...
22.06383
69
0.590164
f73640123948734633d58b4695477e2f022010c2
2,322
ex
Elixir
apps/gallery/lib/gallery/gallery.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
null
null
null
apps/gallery/lib/gallery/gallery.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
11
2020-01-28T22:19:10.000Z
2022-03-11T23:18:18.000Z
apps/gallery/lib/gallery/gallery.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
null
null
null
defmodule Gallery do @moduledoc """ Gallery provides funcions to create, set the settings and start the process to create a painting. """ alias Gallery.Web.Endpoint @doc """ Finds an existing painting with a given name. ## Examples iex> Gallery.create_painting("My painting") :ok iex> {...
25.516484
99
0.661068
f736432537a73e6720781281be55ea327d7908ec
7,465
ex
Elixir
test/support/fixtures.ex
ElixirTradingTools/trade-indicators
05bc3c28c30eaa73c59858dbf1ee62525ccbbf48
[ "MIT" ]
12
2021-04-06T17:57:55.000Z
2021-12-19T03:04:39.000Z
test/support/fixtures.ex
ElixirTradingTools/trade-indicators
05bc3c28c30eaa73c59858dbf1ee62525ccbbf48
[ "MIT" ]
null
null
null
test/support/fixtures.ex
ElixirTradingTools/trade-indicators
05bc3c28c30eaa73c59858dbf1ee62525ccbbf48
[ "MIT" ]
2
2021-04-07T19:46:12.000Z
2021-07-10T07:43:12.000Z
defmodule TradeIndicators.Tests.Fixtures do alias TradeIndicators.Util, as: U alias Enum, as: E alias Map, as: M @msft_m1_2020_07_27 [ %{t: 1_595_620_860, o: 201.63, c: 201.63, h: 201.63, l: 201.63}, %{t: 1_595_852_820, o: 202.98, c: 202.98, h: 202.98, l: 202.98}...
76.173469
90
0.433222
f7365b68b38746e4cb3964bd7a1eb66b55a0f214
1,640
ex
Elixir
lib/astarte_data_updater_plant/application.ex
rbino/astarte_data_updater_plant
b1769207636fad9f91fdcad4ed768757af09683f
[ "Apache-2.0" ]
5
2018-01-30T15:08:23.000Z
2019-12-20T15:06:56.000Z
lib/astarte_data_updater_plant/application.ex
rbino/astarte_data_updater_plant
b1769207636fad9f91fdcad4ed768757af09683f
[ "Apache-2.0" ]
17
2018-01-31T15:50:22.000Z
2019-12-05T17:26:06.000Z
lib/astarte_data_updater_plant/application.ex
rbino/astarte_data_updater_plant
b1769207636fad9f91fdcad4ed768757af09683f
[ "Apache-2.0" ]
2
2018-01-31T15:43:04.000Z
2019-11-15T12:00:05.000Z
# # This file is part of Astarte. # # Copyright 2017 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...
32.8
87
0.74878
f73681db00aba453e89ed4acb6c1ba2156c6278d
1,358
ex
Elixir
lib/erlef_web/controllers/page_controller.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/controllers/page_controller.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/controllers/page_controller.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.PageController do use ErlefWeb, :controller alias Erlef.{ Blog, Posts, WorkingGroup, Twitter, Data.Query.Event } action_fallback ErlefWeb.FallbackController def index(conn, _params) do latest_news = Blog |> Posts.all() |> Posts.sort_by_datetime()...
24.690909
98
0.682622
f736820a08b001ddbb05cca199635898f904ca74
111
ex
Elixir
lib/survey_api/repo.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
lib/survey_api/repo.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
lib/survey_api/repo.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
defmodule SurveyApi.Repo do use Ecto.Repo, otp_app: :survey_api, adapter: Ecto.Adapters.Postgres end
18.5
35
0.738739
f736adea4ea740ababc2c536ef5d3bf1fbb5bb04
1,115
exs
Elixir
config/config.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
7
2021-01-22T00:20:04.000Z
2022-03-30T22:07:32.000Z
config/config.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
11
2021-10-05T03:59:28.000Z
2022-03-20T21:54:44.000Z
config/config.exs
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
3
2021-06-10T02:48:54.000Z
2021-10-09T03:43:06.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :ohio_elixir, ecto_repos: [OhioElixir.R...
32.794118
88
0.777578
f736b379fb126cb23551b082b8b5fa75407fe5d4
9,432
ex
Elixir
farmbot_core/lib/farmbot_core/farmware_runtime.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_core/lib/farmbot_core/farmware_runtime.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/farmware_runtime.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotCore.FarmwareRuntime do @moduledoc """ Handles execution of Farmware plugins. """ alias FarmbotCeleryScript.AST alias FarmbotCore.FarmwareRuntime.PipeWorker alias FarmbotCore.AssetWorker.FarmbotCore.Asset.FarmwareInstallation alias FarmbotCore.Asset.FarmwareInstallation.Manifest alias ...
31.651007
100
0.66232
f736bcdb08fc0e1548adb44a43a1fcbc4481084d
1,977
exs
Elixir
clients/billing_budgets/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/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...
29.507463
194
0.668184
f736f2af5624bcf295e29211a08f2a4a71f148d9
9,056
exs
Elixir
test/extensions/invitation/phoenix/controllers/invitation_controller_test.exs
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
null
null
null
test/extensions/invitation/phoenix/controllers/invitation_controller_test.exs
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
null
null
null
test/extensions/invitation/phoenix/controllers/invitation_controller_test.exs
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
null
null
null
defmodule PowInvitation.Phoenix.InvitationControllerTest do use PowInvitation.TestWeb.Phoenix.ConnCase alias Plug.Conn alias PowInvitation.Test.Users.{User, UsernameUser} @user %User{id: 1, email: "test@example.com"} @url_regex ~r/http:\/\/localhost\/invitations\/[a-z0-9\-]*\/edit/ describe "new/2" do ...
40.428571
139
0.647085
f736f38aedb57c4c8fc5e098fe20741f0fecee16
3,722
ex
Elixir
lib/serum/cli.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
lib/serum/cli.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
lib/serum/cli.ex
dragsubil/Serum
a465c48b388ef1e6d69ee6e8793f2869035b0520
[ "MIT" ]
null
null
null
defmodule Serum.CLI.Task do @moduledoc false @callback tasks() :: [binary] @callback run(task_name :: binary, args :: [binary]) :: {:cli_exit, integer} @callback short_help(task_name :: binary) :: binary @callback synopsis(task_name :: binary) :: binary @callback help(task_name :: binary) :: binary | false...
23.556962
80
0.604245
f73725398da8cf39657152a832a1ef98f7ba281d
1,411
ex
Elixir
apps/web/lib/web/endpoint.ex
elixirschool/extracurricular
eb8b725fa49ca91b1c6b7e610a8522bc81a80de1
[ "MIT" ]
48
2017-08-21T02:08:16.000Z
2022-01-05T14:02:56.000Z
apps/web/lib/web/endpoint.ex
elixirschool/extracurricular
eb8b725fa49ca91b1c6b7e610a8522bc81a80de1
[ "MIT" ]
68
2017-08-21T02:17:32.000Z
2017-11-09T15:56:27.000Z
apps/web/lib/web/endpoint.ex
elixirschool/extracurricular
eb8b725fa49ca91b1c6b7e610a8522bc81a80de1
[ "MIT" ]
26
2017-08-21T04:28:22.000Z
2018-12-09T14:20:29.000Z
defmodule Web.Endpoint do use Phoenix.Endpoint, otp_app: :web use Appsignal.Phoenix socket("/socket", Web.UserSocket) # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug( ...
26.12963
95
0.680369
f7374196e12079cafe8c8eefe4af3b8d98132b12
840
ex
Elixir
lib/exzeitable/text/default.ex
e-fu/exzeitable
195da90e7fbab867c4964acab717e1ccb68ab226
[ "MIT" ]
138
2019-10-04T19:55:35.000Z
2022-03-31T10:24:32.000Z
lib/exzeitable/text/default.ex
e-fu/exzeitable
195da90e7fbab867c4964acab717e1ccb68ab226
[ "MIT" ]
127
2019-10-03T21:51:27.000Z
2022-03-31T02:57:00.000Z
lib/exzeitable/text/default.ex
e-fu/exzeitable
195da90e7fbab867c4964acab717e1ccb68ab226
[ "MIT" ]
14
2019-10-04T19:55:41.000Z
2022-03-27T04:47:30.000Z
defmodule Exzeitable.Text.Default do @moduledoc "Default text for the Exzeitable HTML interface" @behaviour Exzeitable.Text # Action buttons def actions(_assigns), do: "Actions" def new(_assigns), do: "New" def show(_assigns), do: "Show" def edit(_assigns), do: "Edit" def delete(_assigns), do: "Delete...
26.25
61
0.70119
f73742b42d15cf0939f0e993dd81d86429d1942c
3,360
ex
Elixir
lib/clusterable/epmd.ex
princemaple/clusterable
6f6a3061dc29e7dc7bbe60c269e11efa6376e5ad
[ "MIT" ]
23
2017-02-17T09:28:24.000Z
2021-01-19T05:45:54.000Z
lib/clusterable/epmd.ex
princemaple/clusterable
6f6a3061dc29e7dc7bbe60c269e11efa6376e5ad
[ "MIT" ]
3
2017-02-17T18:01:09.000Z
2017-09-12T04:19:46.000Z
lib/clusterable/epmd.ex
princemaple/clusterable
6f6a3061dc29e7dc7bbe60c269e11efa6376e5ad
[ "MIT" ]
1
2017-07-28T07:57:34.000Z
2017-07-28T07:57:34.000Z
# Shamelessly borrowed from Magnus Henoch's fantastic Erlang Solutions article: # https://www.erlang-solutions.com/blog/erlang-and-elixir-distribution-without-epmd.html # You want to read that! :) defmodule Clusterable.EPMD.Service do @moduledoc false def port(name) when is_atom(name) do port Atom.to_string ...
28
89
0.699107
f73746b893e756b3c7fbca4f701755de902ff9ab
2,567
exs
Elixir
test/mix/tasks/dicon.switch_test.exs
manikdv/dicon
9278f3000ed5a4fa2b57f80d14afe054c5514ecd
[ "0BSD" ]
null
null
null
test/mix/tasks/dicon.switch_test.exs
manikdv/dicon
9278f3000ed5a4fa2b57f80d14afe054c5514ecd
[ "0BSD" ]
null
null
null
test/mix/tasks/dicon.switch_test.exs
manikdv/dicon
9278f3000ed5a4fa2b57f80d14afe054c5514ecd
[ "0BSD" ]
null
null
null
defmodule Mix.Tasks.Dicon.SwitchTest do use DiconTest.Case import Mix.Tasks.Dicon.Switch, only: [run: 1] test "relative path" do config = %{ target_dir: "test", hosts: [:one, :two], one: [authority: "one"], two: [authority: "two"], } Mix.Config.persist(dicon: config) run...
28.208791
89
0.571874
f737477b07dec238a46b6022ab4f350839468b9e
3,118
ex
Elixir
lib/ash_policy_authorizer/sat_solver.ex
kernel-io/ash_policy_authorizer
cf9f44398e156dad3c38eb56d5f3fd25ebaa704a
[ "MIT" ]
3
2020-10-06T06:36:53.000Z
2021-09-22T13:31:53.000Z
lib/ash_policy_authorizer/sat_solver.ex
kernel-io/ash_policy_authorizer
cf9f44398e156dad3c38eb56d5f3fd25ebaa704a
[ "MIT" ]
19
2020-06-09T05:16:13.000Z
2021-04-20T18:27:43.000Z
lib/ash_policy_authorizer/sat_solver.ex
ash-project/ash_policy_access
a954bf12e3a65c9ea0b0eb888162064cae786cbd
[ "MIT" ]
4
2020-08-27T19:12:02.000Z
2021-12-19T22:50:35.000Z
defmodule AshPolicyAuthorizer.SatSolver do @moduledoc false def solve(expression) do expression |> add_negations_and_solve([]) |> get_all_scenarios(expression) |> case do [] -> {:error, :unsatisfiable} scenarios -> static_checks = [ {AshPolicyAuthorizer.Check.S...
25.768595
89
0.618987
f73756754ef7ca09e0810e4531a9c9773701a246
2,175
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/allocation_specific_sku_reservation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/allocation_specific_sku_reservation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/allocation_specific_sku_reservation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.5
204
0.746667
f737589d14d111113b6c928f8fc8905f7141c07b
680
ex
Elixir
2020/elixir/day_01.ex
Prajjwal/advent-of-code
c3de48eee1e9e5b0eaabab31f4037542f0f2b374
[ "CC0-1.0" ]
null
null
null
2020/elixir/day_01.ex
Prajjwal/advent-of-code
c3de48eee1e9e5b0eaabab31f4037542f0f2b374
[ "CC0-1.0" ]
null
null
null
2020/elixir/day_01.ex
Prajjwal/advent-of-code
c3de48eee1e9e5b0eaabab31f4037542f0f2b374
[ "CC0-1.0" ]
null
null
null
input = File.stream!(hd System.argv) |> Enum.map(&Integer.parse/1) |> Enum.map(fn { i, "\n" } -> i end) |> Enum.sort pairs = Stream.flat_map input, fn i -> Stream.flat_map input, fn j -> [{ i, j }] end end triplets = Stream.flat_map pairs, fn { i, j } -> Stream.flat_map input, fn k -...
22.666667
71
0.472059
f73768edc80048c6cc2c1047860cfef77c0b0ba6
1,083
ex
Elixir
lib/hl7/2.3.1/segments/stf.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/segments/stf.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/segments/stf.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3_1.Segments.STF do @moduledoc false require Logger alias HL7.V2_3_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, primary_key_value_stf: DataTypes.Ce, staff_id_code: DataTypes.Cx, staff_name: DataTypes.Xpn, staff_type: nil, sex: nil, date_...
28.5
51
0.695291
f737938c878c7bc5831b2a1bccacf884fd8f7955
1,807
exs
Elixir
config/dev.exs
onixus74/conduit-cqrs
879973ea66be9470d46111312a2995004d3d0b58
[ "MIT" ]
null
null
null
config/dev.exs
onixus74/conduit-cqrs
879973ea66be9470d46111312a2995004d3d0b58
[ "MIT" ]
2
2022-01-15T02:09:30.000Z
2022-01-22T10:18:43.000Z
config/dev.exs
onixus74/conduit-cqrs
879973ea66be9470d46111312a2995004d3d0b58
[ "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 :conduit, ConduitWeb.Endpoint, http: [port: 49...
32.267857
170
0.7399
f737aced1c1be5b3f8956ed4812a3173d0db3b8f
10,482
ex
Elixir
lib/oli/grading.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
lib/oli/grading.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
lib/oli/grading.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
defmodule Oli.Grading do @moduledoc """ Grading is responsible for compiling attempts into usable gradebook representation consumable by various tools such as Excel (CSV) or an LMS API. """ require Logger import Ecto.Query, warn: false import Oli.Utils, only: [log_error: 2] alias Oli.Publishing.Delive...
31.477477
101
0.632227
f737b3eb39a0e0aa6df1b04a486beeb4748e75bb
1,056
ex
Elixir
echo/lib/echo/application.ex
lamboap/liveview_sept_2021
495731c20484a0e63e5fb768956b98d57b44be8f
[ "MIT" ]
1
2021-09-14T01:52:42.000Z
2021-09-14T01:52:42.000Z
echo/lib/echo/application.ex
lamboap/liveview_sept_2021
495731c20484a0e63e5fb768956b98d57b44be8f
[ "MIT" ]
1
2021-09-17T11:30:04.000Z
2021-09-17T11:30:04.000Z
echo/lib/echo/application.ex
lamboap/liveview_sept_2021
495731c20484a0e63e5fb768956b98d57b44be8f
[ "MIT" ]
4
2021-09-14T00:04:39.000Z
2021-09-15T15:14:52.000Z
defmodule Echo.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications # the OTP stuff here, lifecycle concerns (start/stop/children, etc...) @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository ...
29.333333
72
0.695076
f737c73d3cd8dc53f247de5b46fca8a24779dd86
2,532
ex
Elixir
lib/helper/public_ip_plug.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/helper/public_ip_plug.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/helper/public_ip_plug.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
# https://www.cogini.com/blog/getting-the-client-public-ip-address-in-phoenix/ defmodule Helper.PublicIpPlug do @moduledoc "Get public IP address of request from x-forwarded-for header" @behaviour Plug @app :groupher_server def init(opts), do: opts def call(%{assigns: %{ip: _}} = conn, _opts), do: conn d...
29.44186
78
0.627962
f737dd19ed162d5fb18317111c125c31a7eca96f
1,292
exs
Elixir
config/config.exs
bitpal/bitpal_demo
989df08f60dadc5d4e340fef91890cf8bb3106ad
[ "BSD-3-Clause-Clear" ]
null
null
null
config/config.exs
bitpal/bitpal_demo
989df08f60dadc5d4e340fef91890cf8bb3106ad
[ "BSD-3-Clause-Clear" ]
1
2021-06-04T13:53:01.000Z
2021-06-04T13:53:01.000Z
config/config.exs
bitpal/bitpal_demo
989df08f60dadc5d4e340fef91890cf8bb3106ad
[ "BSD-3-Clause-Clear" ]
null
null
null
import Config config :demo, # xpub: # "xpub6DWyFPVAuvsno6PmiQq5Rrbw3Hb5fvD8EVSVGimu1koSuQc4HEmanCGVjc6GMxWpj2JsafJ4Rdbq2EwtprRxr6B9PxozpaoEDg6z168NYT1", # recipent_description: "BitPal Demo", required_confirmations: 0 # Configures the endpoint config :demo, Demo.Endpoint, url: [host: "localhost"], ...
33.128205
122
0.735294
f737ddccbaf0ffdc054059358424e952ddfa0f64
90
exs
Elixir
test/yahoo_wrapper_web/views/page_view_test.exs
TKW25/yahoo-wrapper
48e9a55b0a96ea0c7131ae408c9a35c5f6bb2382
[ "MIT" ]
null
null
null
test/yahoo_wrapper_web/views/page_view_test.exs
TKW25/yahoo-wrapper
48e9a55b0a96ea0c7131ae408c9a35c5f6bb2382
[ "MIT" ]
null
null
null
test/yahoo_wrapper_web/views/page_view_test.exs
TKW25/yahoo-wrapper
48e9a55b0a96ea0c7131ae408c9a35c5f6bb2382
[ "MIT" ]
null
null
null
defmodule YahooWrapperWeb.PageViewTest do use YahooWrapperWeb.ConnCase, async: true end
22.5
43
0.844444
f73804ebac3d2643b0aa4b323d03e71e9e99336a
1,876
exs
Elixir
test/function_decorating_test.exs
elpddev/elixir-function-decorating
fb633792ada653ad81d4e0fd3aec9c8e6337ce3a
[ "MIT" ]
4
2016-03-22T10:58:52.000Z
2020-12-10T18:24:58.000Z
test/function_decorating_test.exs
elpddev/elixir-function-decorating
fb633792ada653ad81d4e0fd3aec9c8e6337ce3a
[ "MIT" ]
9
2016-04-04T10:13:24.000Z
2016-04-10T16:40:13.000Z
test/function_decorating_test.exs
elpddev/elixir-function-decorating
fb633792ada653ad81d4e0fd3aec9c8e6337ce3a
[ "MIT" ]
2
2017-07-12T21:55:04.000Z
2018-09-08T13:03:17.000Z
defmodule FunctionDecoratingTest do use ExUnit.Case doctest FunctionDecorating test "calc args - mix_envs - default" do assert FunctionDecorating.calc_args(quote do nil end) == {[:dev], :test} end test "do_using - simple - mix env = dev" do result_ast = FunctionDecorating.do_using(quote do [current_...
30.754098
102
0.670576
f7380b7c5a77e9719e95a263d5d3ba7f5777b2e7
3,800
ex
Elixir
lib/livebook/runtime.ex
edmundobiglia/livebook
d3b4a8a9e6d2f34d2c309e6cc59774dcf12ba0af
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime.ex
edmundobiglia/livebook
d3b4a8a9e6d2f34d2c309e6cc59774dcf12ba0af
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime.ex
edmundobiglia/livebook
d3b4a8a9e6d2f34d2c309e6cc59774dcf12ba0af
[ "Apache-2.0" ]
null
null
null
defprotocol Livebook.Runtime do @moduledoc false # This protocol defines an interface for evaluation backends. # # Usually a runtime involves a set of processes responsible # for evaluation, which could be running on a different node, # however the protocol does not require that. @typedoc """ A term u...
34.545455
98
0.697632
f7381c8571859b3089f2ae6ecee93f9b7dc95e5c
2,247
ex
Elixir
lib/elixir/lib/macro/env.ex
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
1
2017-10-29T16:37:08.000Z
2017-10-29T16:37:08.000Z
lib/elixir/lib/macro/env.ex
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/macro/env.ex
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
null
null
null
# We generate this record using a raw module due to # bootstrap constraints. Notice the fields are not # represented by a keywords list because we want # to keep control over the order. defmodule Macro.Env do @doc """ A record that contains compile time environment information, It can be accessed at any time by c...
24.966667
64
0.655541
f73851d85842b90656d853f067568a03161e83ba
285
ex
Elixir
lib/asls/assertion.ex
Shopify/asls
2c0f3c68e380cfeaa75f710b367a2f67ae09957a
[ "MIT" ]
23
2021-02-05T01:50:07.000Z
2021-12-10T13:24:41.000Z
lib/asls/assertion.ex
saulecabrera/asls
2c0f3c68e380cfeaa75f710b367a2f67ae09957a
[ "MIT" ]
5
2020-07-20T00:33:07.000Z
2020-09-30T16:09:47.000Z
lib/asls/assertion.ex
saulecabrera/asls
2c0f3c68e380cfeaa75f710b367a2f67ae09957a
[ "MIT" ]
1
2020-10-24T09:02:22.000Z
2020-10-24T09:02:22.000Z
defmodule AssemblyScriptLS.Assertion do @type t :: %__MODULE__{ contents: String.t } @keys [:contents] @enforce_keys @keys defstruct @keys @spec new(String.t) :: __MODULE__.t def new(contents) do struct!(__MODULE__, [ contents: contents ]) end end
15.833333
39
0.652632
f7387c958edfadb93489072857d4c6634f760fa6
4,841
exs
Elixir
lib/ex_unit/test/ex_unit/filters_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/filters_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/filters_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule ExUnit.FiltersTest do use ExUnit.Case, async: true doctest ExUnit.Filters test "evaluating filters" do assert ExUnit.Filters.eval([], [:os], %{}, []) == :ok assert ExUnit.Filters.eval([], [os: :win], %{os: :unix}, []) == :ok ...
49.907216
125
0.576121
f7389fe2a0746e930d27b6aa1401483909514d04
1,683
ex
Elixir
lib/web/views/api/game_view.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
lib/web/views/api/game_view.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
lib/web/views/api/game_view.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule Web.Api.GameView do use Web, :view alias Web.ConnectionView def render("index.json", %{games: games, pagination: pagination, filter: filter}) do games |> index(pagination, filter) |> Representer.transform("json") end def render("show.json", %{game: game}) do game |> show() ...
23.054795
93
0.623886
f738b5b626afdd4d222a4aebfd927c5ee9f3e864
353
exs
Elixir
priv/repo/seeds.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
2
2021-03-10T04:15:17.000Z
2021-05-10T23:54:35.000Z
priv/repo/seeds.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Health.Repo.insert!(%Health.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
25.214286
61
0.696884
f7391967bac4876cb6b4a35cc7e7b10532a1cade
1,839
exs
Elixir
installer/templates/phx_single/mix.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
installer/templates/phx_single/mix.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
installer/templates/phx_single/mix.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
defmodule <%= app_module %>.Mixfile do use Mix.Project def project do [app: :<%= app_name %>, version: "0.0.1",<%= if in_umbrella do %> build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock",<% end %> elixir: "~> 1.4...
32.263158
78
0.584557
f73920ed06e0455ed5957c5f0c39397f2ee9b143
1,675
exs
Elixir
config/config.exs
mateuscosta86/blog
3ee4596bfbd0f0681041cb0d50ab4baccc7b571e
[ "MIT" ]
null
null
null
config/config.exs
mateuscosta86/blog
3ee4596bfbd0f0681041cb0d50ab4baccc7b571e
[ "MIT" ]
3
2021-12-30T20:43:08.000Z
2021-12-31T19:51:04.000Z
config/config.exs
mateuscosta86/blog
3ee4596bfbd0f0681041cb0d50ab4baccc7b571e
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :blog, ecto_repos: [Blog.Repo] # Configures...
31.603774
117
0.728955
f7395cccbc8367941aa9fad8bad46990d091a298
81
exs
Elixir
test/ex_bin/formatter_test.exs
zcking/ex_bin
b32d29345ee4888e5d13c2afd20dca23d53be616
[ "MIT" ]
1
2020-05-12T10:46:27.000Z
2020-05-12T10:46:27.000Z
test/ex_bin/formatter_test.exs
zcking/ex_bin
b32d29345ee4888e5d13c2afd20dca23d53be616
[ "MIT" ]
null
null
null
test/ex_bin/formatter_test.exs
zcking/ex_bin
b32d29345ee4888e5d13c2afd20dca23d53be616
[ "MIT" ]
null
null
null
defmodule ExBin.FormatterTest do use ExUnit.Case doctest ExBin.Formatter end
16.2
32
0.814815
f7396b33e5cdee2ee56be0f96b0a24f045ad9791
2,580
ex
Elixir
lib/2020/day21.ex
hallski/adventofcode
03efb385688e8072b0b44d35012297833498f799
[ "MIT" ]
null
null
null
lib/2020/day21.ex
hallski/adventofcode
03efb385688e8072b0b44d35012297833498f799
[ "MIT" ]
null
null
null
lib/2020/day21.ex
hallski/adventofcode
03efb385688e8072b0b44d35012297833498f799
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Y2020.Day21 do def run() do parsed = AdventOfCode.Helpers.Data.read_from_file_no_split("2020/day21.txt") |> parse() {solve1(parsed), solve2(parsed)} end def solve1(parsed) do safe_ingredients = allergen_free(parsed) parsed |> Stream.flat_map(fn {_, ingredi...
27.446809
92
0.634496
f73985450426b45a6e9721361414bd395f09317c
2,117
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/placement_strategies_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/placement_strategies_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/placement_strategies_list_response.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...
39.943396
208
0.749646
f73999e7e615287e646d044a526e49d8be413065
1,040
ex
Elixir
test/support/conn_case.ex
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
2
2019-12-28T21:31:43.000Z
2019-12-30T01:03:28.000Z
test/support/conn_case.ex
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
4
2019-12-23T23:51:30.000Z
2021-05-10T22:24:18.000Z
test/support/conn_case.ex
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
1
2020-01-17T20:19:14.000Z
2020-01-17T20:19:14.000Z
defmodule HexenWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the ...
26.666667
67
0.715385
f739ab6778b646a37bd03444980aeca40dd62b29
3,440
ex
Elixir
apps/neoscan_sync/lib/neoscan_sync/syncer.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
null
null
null
apps/neoscan_sync/lib/neoscan_sync/syncer.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
null
null
null
apps/neoscan_sync/lib/neoscan_sync/syncer.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
null
null
null
defmodule NeoscanSync.Syncer do alias Ecto.ConstraintError alias NeoscanSync.Converter alias Neoscan.Repo alias Neoscan.Blocks alias NeoscanSync.TokenSyncer use GenServer require Logger @parallelism 16 @update_interval 1_000 @block_chunk_size 500 def start_link do GenServer.start_link(__M...
27.301587
96
0.667151
f739c1ef24a3923593a5552d44eb89ae47a67deb
4
ex
Elixir
testData/org/elixir_lang/parser_definition/literal_regex_line_parsing_test_case/Minimal.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/literal_regex_line_parsing_test_case/Minimal.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/literal_regex_line_parsing_test_case/Minimal.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~R{}
4
4
0.25
f739e02792296f4b9fd4afa9e83be2c0af321568
991
exs
Elixir
mix.exs
michalmuskala/debounce
1b6f8afab533fda89f26063a7276dce7a90a2c31
[ "Apache-2.0" ]
20
2017-01-11T21:05:25.000Z
2021-06-25T14:05:49.000Z
mix.exs
michalmuskala/debounce
1b6f8afab533fda89f26063a7276dce7a90a2c31
[ "Apache-2.0" ]
1
2020-09-18T11:12:28.000Z
2020-09-18T19:17:30.000Z
mix.exs
michalmuskala/debounce
1b6f8afab533fda89f26063a7276dce7a90a2c31
[ "Apache-2.0" ]
1
2019-02-28T21:24:52.000Z
2019-02-28T21:24:52.000Z
defmodule Debounce.Mixfile do use Mix.Project @version "1.0.0" def project do [ app: :debounce, version: @version, elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), description: "A process-based debouncer for El...
20.645833
71
0.561049
f739e133bea683504c3e6733dbbee1412a2f07c1
7,345
ex
Elixir
lib/menu.ex
mpotra/ex_sni
ff2187da7208348a315eda03fe086a3ce5ded27c
[ "MIT" ]
null
null
null
lib/menu.ex
mpotra/ex_sni
ff2187da7208348a315eda03fe086a3ce5ded27c
[ "MIT" ]
null
null
null
lib/menu.ex
mpotra/ex_sni
ff2187da7208348a315eda03fe086a3ce5ded27c
[ "MIT" ]
null
null
null
defmodule ExSni.Menu do require Logger alias ExSni.Menu.Item alias ExSni.Ref defstruct __ref__: %Ref{path: "/MenuBar", interface: "com.canonical.dbusmenu"}, version: 1, text_direction: "ltr", icon_theme_path: [""], status: "normal", root: nil, ...
24.647651
94
0.602451
f73a2f9c619b37411a9a2859a94a8912630f868e
1,086
exs
Elixir
hello_phoenix/mix.exs
kkirstein/phoenix-tutorial
a2a66a554cf6eb4f6f36919795eed51d4d44b509
[ "MIT" ]
null
null
null
hello_phoenix/mix.exs
kkirstein/phoenix-tutorial
a2a66a554cf6eb4f6f36919795eed51d4d44b509
[ "MIT" ]
null
null
null
hello_phoenix/mix.exs
kkirstein/phoenix-tutorial
a2a66a554cf6eb4f6f36919795eed51d4d44b509
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.Mixfile do use Mix.Project def project do [app: :hello_phoenix, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps:...
27.15
63
0.603131
f73a4f76a330fe86c03f5255333a9bb949d52395
6,135
exs
Elixir
test/zuul_plug_test.exs
dottorblaster/zuul
35fa6861e29bc4ad48467bcd10d0cee33c0f8cd6
[ "MIT" ]
null
null
null
test/zuul_plug_test.exs
dottorblaster/zuul
35fa6861e29bc4ad48467bcd10d0cee33c0f8cd6
[ "MIT" ]
2
2020-04-22T04:40:18.000Z
2020-06-15T07:24:12.000Z
test/zuul_plug_test.exs
dottorblaster/zuul
35fa6861e29bc4ad48467bcd10d0cee33c0f8cd6
[ "MIT" ]
null
null
null
defmodule Zuul.PlugTest do @moduledoc """ Tests for `Zuul.Plug`. """ use ExUnit.Case doctest Zuul.Plug test "connection is OK" do conn_to_test = get_fixture_ok() assert Zuul.Plug.call(conn_to_test, key_file: "./test/fixtures/api_keys.txt") === conn_to_test end test "connection is KO" do c...
33.162162
98
0.575061
f73a544220428ec8d3cf5322d5c1365f3121e6a2
1,080
ex
Elixir
lib/codebeat_test_web/channels/user_socket.ex
dydx/codebeat-test
0d81a42f253afbcdd953c566c7987363b22d585d
[ "MIT" ]
null
null
null
lib/codebeat_test_web/channels/user_socket.ex
dydx/codebeat-test
0d81a42f253afbcdd953c566c7987363b22d585d
[ "MIT" ]
null
null
null
lib/codebeat_test_web/channels/user_socket.ex
dydx/codebeat-test
0d81a42f253afbcdd953c566c7987363b22d585d
[ "MIT" ]
null
null
null
defmodule CodebeatTestWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", CodebeatTestWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for ...
31.764706
87
0.700926