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
f77c14239f7a3f5d626224b9d22c765b42518e58
5,564
ex
Elixir
clients/civic_info/lib/google_api/civic_info/v2/api/elections.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/api/elections.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/api/elections.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
43.811024
356
0.701114
f77c3962e1c90fcf4d1ca775d0febd105af24481
662
exs
Elixir
priv/repo/migrations/20170603113410_create_results_result.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
priv/repo/migrations/20170603113410_create_results_result.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20170603113410_create_results_result.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.Repo.Migrations.CreateExOneroster.Results.Result do use Ecto.Migration def change do create table(:results) do add :sourcedId, :string add :user_id, references(:users, on_delete: :delete_all) add :lineitem_id, references(:lineitems, on_delete: :delete_all) add :sta...
28.782609
73
0.669184
f77c4b3db7ea22794d91779f49001b47273f9493
379
exs
Elixir
test/cadet/accounts/form/login_test.exs
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
test/cadet/accounts/form/login_test.exs
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
2
2020-04-22T09:06:38.000Z
2020-04-22T09:15:33.000Z
test/cadet/accounts/form/login_test.exs
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule Cadet.Accounts.LoginTest do alias Cadet.Accounts.Form.Login use Cadet.ChangesetCase, entity: Login describe "Changesets" do test "valid changeset" do assert_changeset(%{luminus_code: "C0dE"}, :valid) end test "invalid changeset" do assert_changeset(%{luminus_code: ""}, :invali...
22.294118
55
0.688654
f77cbd11d22093da54ae308ace1cd289312e1aaa
3,393
exs
Elixir
elixir/list-ops/list_ops_test.exs
bwheel/exercism
6648252bf61f0782ff0a0469ce0df6bf483b3d4d
[ "MIT" ]
null
null
null
elixir/list-ops/list_ops_test.exs
bwheel/exercism
6648252bf61f0782ff0a0469ce0df6bf483b3d4d
[ "MIT" ]
null
null
null
elixir/list-ops/list_ops_test.exs
bwheel/exercism
6648252bf61f0782ff0a0469ce0df6bf483b3d4d
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("list_ops.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule ListOpsTest do alias ListOps, as: L use ExUnit.Case defp odd?(n), do: rem(n, 2) == 1 # @tag :pending test "count of empty list" do as...
23.727273
95
0.578249
f77cbf48925fc299d597103c17ab74cb8522a494
2,287
exs
Elixir
config/prod.exs
spkane31/cc-rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
1
2020-06-28T19:31:07.000Z
2020-06-28T19:31:07.000Z
config/prod.exs
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
5
2019-07-25T17:00:39.000Z
2019-07-25T17:12:07.000Z
config/prod.exs
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
34.651515
66
0.715348
f77cf6acb9020bb9f788063c113bfb6f00e49aee
7,415
ex
Elixir
lib/x509/certificate/template.ex
ConnorRigby/x509
92ac8d56706459a198dac59763ebb2f67af208ba
[ "BSD-3-Clause" ]
75
2018-07-02T12:00:57.000Z
2022-02-07T14:47:56.000Z
lib/x509/certificate/template.ex
ConnorRigby/x509
92ac8d56706459a198dac59763ebb2f67af208ba
[ "BSD-3-Clause" ]
30
2018-07-04T12:33:01.000Z
2022-01-14T18:29:00.000Z
lib/x509/certificate/template.ex
ConnorRigby/x509
92ac8d56706459a198dac59763ebb2f67af208ba
[ "BSD-3-Clause" ]
12
2018-09-21T04:34:02.000Z
2022-02-28T20:11:13.000Z
defmodule X509.Certificate.Template do @moduledoc """ Certificate templates. """ import X509.Certificate.Extension defstruct serial: {:random, 8}, validity: 365, hash: :sha256, extensions: [] @type t :: %__MODULE__{ serial: pos_integer() | {:random, pos_integer()}, validity: pos_integ...
34.649533
84
0.648415
f77d0fd39da61e84e34db7c4a7105c9f6964f52c
5,261
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__model.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__model.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__model.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
77.367647
556
0.745296
f77d16d19f69d411bce6a2d6cc0e78667033ed9d
286
ex
Elixir
test/support/geo_json_validate.ex
hrzndhrn/geometry
bffdac0a9554f7f5fd05caceee0fa8f3c96d1c60
[ "MIT" ]
null
null
null
test/support/geo_json_validate.ex
hrzndhrn/geometry
bffdac0a9554f7f5fd05caceee0fa8f3c96d1c60
[ "MIT" ]
2
2020-10-25T10:06:07.000Z
2020-10-26T18:15:20.000Z
test/support/geo_json_validate.ex
hrzndhrn/geometry
bffdac0a9554f7f5fd05caceee0fa8f3c96d1c60
[ "MIT" ]
null
null
null
defmodule GeoJsonValidator do @moduledoc false @schema "test/fixtures/schema/GeoJSON.json" |> File.read!() |> Jason.decode!() |> Xema.from_json_schema() @spec valid?(term()) :: boolean def valid?(geo_json), do: Xema.valid?(@schema, geo_json) end
23.833333
58
0.625874
f77d2179267ea8569aff095f732855e1e690f51f
799
ex
Elixir
lib/we_whisper/signature.ex
he9qi/we_whisper_elixir
5c9dc87cf2ce159778942201eef363b083f9dad7
[ "MIT" ]
3
2016-10-09T00:07:44.000Z
2021-02-21T04:29:43.000Z
lib/we_whisper/signature.ex
he9qi/we_whisper_elixir
5c9dc87cf2ce159778942201eef363b083f9dad7
[ "MIT" ]
4
2016-10-08T01:27:01.000Z
2016-10-08T17:56:49.000Z
lib/we_whisper/signature.ex
he9qi/we_whisper_elixir
5c9dc87cf2ce159778942201eef363b083f9dad7
[ "MIT" ]
null
null
null
defmodule WeWhisper.Signature do @type t :: %{ token: binary, timestamp: binary, nonce: binary, encrypted: binary } @doc """ Create signature for encrypted message """ @spec sign(t) :: binary def sign(%{token: token, timestamp: timestamp, nonce: nonce, encrypted: encrypted}) do sign(...
21.594595
88
0.614518
f77d410ec8bf1a25f8b26976fd1455fcf3665825
201
ex
Elixir
lib/hypoxia.ex
itsemilano/hypoxia
d51cf51205bda5e95713ecd2b1e49a1bcce56bef
[ "Apache-2.0" ]
null
null
null
lib/hypoxia.ex
itsemilano/hypoxia
d51cf51205bda5e95713ecd2b1e49a1bcce56bef
[ "Apache-2.0" ]
null
null
null
lib/hypoxia.ex
itsemilano/hypoxia
d51cf51205bda5e95713ecd2b1e49a1bcce56bef
[ "Apache-2.0" ]
null
null
null
defmodule Hypoxia do @moduledoc """ Documentation for `Hypoxia`. """ @doc """ Hello world. ## Examples iex> Hypoxia.hello() :world """ def hello do :world end end
10.578947
30
0.557214
f77d74a0fdbc10c0e6759b57f1527eb233d0c17a
5
ex
Elixir
testData/org/elixir_lang/parser_definition/function_reference_parsing_test_case/Identifier.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/function_reference_parsing_test_case/Identifier.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/function_reference_parsing_test_case/Identifier.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one/2
5
5
0.8
f77d9af8814c7eea21681ff40e433d3d218c434a
5,316
ex
Elixir
lib/ex_unit/lib/ex_unit/cli_formatter.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/cli_formatter.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/cli_formatter.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.CLIFormatter do @moduledoc false @timeout 30_000 @behaviour ExUnit.Formatter use GenServer.Behaviour import ExUnit.Formatter, only: [format_time: 2, format_test_failure: 3, format_test_case_failure: 3] defrecord Config, tests_counter: 0, invalids_counter: 0, failures_counter: 0, ...
26.984772
108
0.650113
f77d9c5439cc199ccdb4d2cd537dcc94261c040f
3,165
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/operation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_build/lib/google_api/cloud_build/v1/model/operation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_build/lib/google_api/cloud_build/v1/model/operation.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...
53.644068
543
0.720695
f77d9c701755fd7ec193ffa9869a06a21487c6c6
102
exs
Elixir
test/cqrs/bounded_context_test.exs
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
17
2021-05-04T09:27:48.000Z
2022-02-02T00:53:28.000Z
test/cqrs/bounded_context_test.exs
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
18
2021-05-05T21:17:54.000Z
2021-12-08T19:25:21.000Z
test/cqrs/bounded_context_test.exs
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
2
2021-05-04T13:35:00.000Z
2021-07-08T22:28:32.000Z
defmodule Cqrs.BoundedContextTest do use ExUnit.Case, async: true doctest Cqrs.BoundedContext end
20.4
36
0.813725
f77dabb328904ef828500c671a79645f88177886
1,063
ex
Elixir
lib/amazon_product_advertising_client/search_items.ex
keslert/elixir-amazon-product-advertising-client
89643817c992c261a72afc35c485dcdad15b0bf6
[ "MIT" ]
27
2015-01-17T00:32:49.000Z
2018-08-07T02:04:12.000Z
lib/amazon_product_advertising_client/search_items.ex
keslert/elixir-amazon-product-advertising-client
89643817c992c261a72afc35c485dcdad15b0bf6
[ "MIT" ]
8
2015-03-01T20:23:53.000Z
2018-02-22T04:04:10.000Z
lib/amazon_product_advertising_client/search_items.ex
keslert/elixir-amazon-product-advertising-client
89643817c992c261a72afc35c485dcdad15b0bf6
[ "MIT" ]
19
2015-10-28T04:55:15.000Z
2018-08-07T02:12:36.000Z
defmodule AmazonProductAdvertisingClient.SearchItems do @moduledoc """ The [SearchItems](https://webservices.amazon.com/paapi5/documentation/search-items.html) operation """ alias AmazonProductAdvertisingClient.{SearchItems, Config} defstruct( Actor: nil, Artist: nil, Author: nil, Availabili...
22.617021
100
0.670743
f77dad865d071cbc1043ccf16faf54506fb4d520
708
ex
Elixir
lib/hopper_web/gettext.ex
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
1
2019-12-22T16:00:11.000Z
2019-12-22T16:00:11.000Z
lib/hopper_web/gettext.ex
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
2
2021-03-10T02:31:42.000Z
2021-05-10T22:02:29.000Z
lib/hopper_web/gettext.ex
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
null
null
null
defmodule HopperWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import HopperWeb.Gettext # Simple translation gettext("Here is the...
28.32
72
0.676554
f77e2e72f4455970a97442b1cb554cd6c6b6ee62
1,406
exs
Elixir
test/phantomchain/client/node_test.exs
PhantomChain/elixir-client
d776f84f9a407877a029043325973a8fdd2574a5
[ "MIT" ]
null
null
null
test/phantomchain/client/node_test.exs
PhantomChain/elixir-client
d776f84f9a407877a029043325973a8fdd2574a5
[ "MIT" ]
null
null
null
test/phantomchain/client/node_test.exs
PhantomChain/elixir-client
d776f84f9a407877a029043325973a8fdd2574a5
[ "MIT" ]
null
null
null
defmodule PhantomChain.Client.API.NodeTest do use ExUnit.Case import PhantomChain.Client.API.Node import Tesla.Mock @client PhantomChain.Client.new(%{ host: "http://127.0.0.1:4003/api", nethash: "578e820911f24e039733b45e4882b73e301f813a0d2c31330dafda84534ffa23", version: "1....
32.697674
88
0.618065
f77e6cf3cf69732f1e206ee1c6c45d9699d0e1b4
486
ex
Elixir
lib/rasa_api/model/event.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
lib/rasa_api/model/event.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
lib/rasa_api/model/event.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule RasaApi.Model.Event do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :event, :timestamp ] @type t :: %__MODULE__{ ...
17.357143
91
0.670782
f77e8d523b2f5230074cc74ceada587aaa347d44
625
exs
Elixir
base/fc_support/test/fc_support/struct_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
base/fc_support/test/fc_support/struct_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
base/fc_support/test/fc_support/struct_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule FCSupport.StructTest do use ExUnit.Case import FCSupport.Struct defmodule TestStruct do defstruct [:id, :name] end test "merge/3" do assert merge(%TestStruct{}, %{"id" => 1}).id == 1 assert merge(%TestStruct{}, %{"id" => 1}, except: [:id]).id == nil assert merge(%TestStruct{}, %{id...
32.894737
76
0.608
f77e9497a26481bd9bbeeaba837f913330cc9e3e
1,228
ex
Elixir
lib/mix/tasks/cli/args_parser.ex
miros/excoveralls_linter
661e9d4019d9f8842340c172d78341e8822d4d6c
[ "Apache-2.0" ]
4
2019-11-25T15:32:45.000Z
2020-01-29T23:27:45.000Z
lib/mix/tasks/cli/args_parser.ex
miros/excoveralls_linter
661e9d4019d9f8842340c172d78341e8822d4d6c
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/cli/args_parser.ex
miros/excoveralls_linter
661e9d4019d9f8842340c172d78341e8822d4d6c
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Coveralls.Lint.CLI.ArgsParser do @spec parse(command_line_args :: [binary]) :: Access.container() def parse(args) do result = cli_description() |> Optimus.parse!(args) result.options end defp cli_description do Optimus.new!( name: "coveralls.lint", allow_unknown_args...
30.7
89
0.608306
f77eaa92200ce3604f510ebefe91c388ff03cca2
2,525
ex
Elixir
lib/sbom.ex
TraceyOnim/sbom
55ee8867d4c7f53b6e282a8aad584435c82d5379
[ "BSD-3-Clause" ]
null
null
null
lib/sbom.ex
TraceyOnim/sbom
55ee8867d4c7f53b6e282a8aad584435c82d5379
[ "BSD-3-Clause" ]
null
null
null
lib/sbom.ex
TraceyOnim/sbom
55ee8867d4c7f53b6e282a8aad584435c82d5379
[ "BSD-3-Clause" ]
1
2020-11-16T21:20:18.000Z
2020-11-16T21:20:18.000Z
defmodule SBoM do @moduledoc """ Collect dependency information for use in a Software Bill-of-Materials (SBOM). """ alias SBoM.Purl alias SBoM.Cpe @doc """ Builds a SBoM for the current Mix project. The result can be exported to CycloneDX XML format using the `SBoM.CycloneDX` module. Pass an environme...
23.598131
80
0.592871
f77ec0e29a49a6528c68f1667200e07bae326952
2,570
ex
Elixir
lib/livebook.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
defmodule Livebook do @moduledoc """ Livebook is an interactive notebook system for Elixir. This module includes the public API. """ @doc """ Executes Livebook's config/runtime.exs. If you use Livebook as a dependency, you can add the following to your `config/runtime.exs` to trigger Livebook's confi...
32.125
89
0.719844
f77ec366697498c8c0cdd1ecbb4de006d71081e1
1,656
ex
Elixir
apps/idris_mix/lib/idris/mix/build.ex
vic/elixir_idris
3b5401700f528b05c45615c36076567b3587d982
[ "Apache-2.0" ]
2
2018-04-03T08:55:32.000Z
2018-12-15T23:09:11.000Z
apps/idris_mix/lib/idris/mix/build.ex
vic/elixir_idris
3b5401700f528b05c45615c36076567b3587d982
[ "Apache-2.0" ]
null
null
null
apps/idris_mix/lib/idris/mix/build.ex
vic/elixir_idris
3b5401700f528b05c45615c36076567b3587d982
[ "Apache-2.0" ]
null
null
null
defmodule Idris.Mix.Build do @moduledoc false alias Idris.Mix.Idris def compile(args) do config = Mix.Project.config() codegen = List.keyfind(config, :idris_codegen, 0) main = List.keyfind(config, :idris_main, 0) || List.keyfind(config, :idris_ipkg, 0) compile(main, codegen, args, config) end ...
27.147541
87
0.621981
f77ee047dd0a919607b02deed221e7f765c6a9b4
3,084
ex
Elixir
lib/optimus/option.ex
corka149/optimus
12c0dc597691d04481513f4e2345812e38e63f73
[ "MIT" ]
null
null
null
lib/optimus/option.ex
corka149/optimus
12c0dc597691d04481513f4e2345812e38e63f73
[ "MIT" ]
null
null
null
lib/optimus/option.ex
corka149/optimus
12c0dc597691d04481513f4e2345812e38e63f73
[ "MIT" ]
null
null
null
defmodule Optimus.Option do defstruct [ :name, :value_name, :short, :long, :help, :multiple, :required, :default, :parser, :global, :hide ] def new(spec) do Optimus.Option.Builder.build(spec) end def parse(option, parsed, command_line) when length(command_line...
21.87234
117
0.553502
f77eee15b6997e47c6e71437381461dbcf15cc77
329
exs
Elixir
config/config.exs
FloatingGhost/ex_aws_secrets
3a6be2867e042fdc4937ad5db2a07c72476340ad
[ "MIT" ]
null
null
null
config/config.exs
FloatingGhost/ex_aws_secrets
3a6be2867e042fdc4937ad5db2a07c72476340ad
[ "MIT" ]
null
null
null
config/config.exs
FloatingGhost/ex_aws_secrets
3a6be2867e042fdc4937ad5db2a07c72476340ad
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :ex_aws, access_key_id: [{:system, "AWS_ACCESS_KEY_ID"}, :instance_role], secret_access_key: [{:system, "AWS_SECRET_ACCESS_KEY"}, :instance_role] import_config "#{Mix.env...
32.9
73
0.759878
f77ef17dabfb4567a890fbe01019362cdd3de0fd
1,051
exs
Elixir
05/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
3
2016-01-18T01:14:45.000Z
2017-05-11T09:14:49.000Z
05/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
05/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
defmodule NiceString do def at_least_3_vowels?(str) do str |> String.split("", trim: true) |> Enum.reduce(0, fn letter, acc -> if letter in ~w(a e i o u), do: acc + 1, else: acc end) >= 3 end def letter_appear_twice?(str), do: letter_appear_twice?(String.split(str, "", trim: true), nil) def lett...
25.634146
97
0.618459
f77f0da5909de39bcd0926afc4976ecaaf3682e5
491
ex
Elixir
lib/sandwar_web/views/error_view.ex
DarkMarmot/sandwar
48d5a4b18e313b055f93088355fb0cf6685c836c
[ "Apache-2.0" ]
6
2019-08-30T17:40:40.000Z
2020-11-10T18:59:27.000Z
lib/sandwar_web/views/error_view.ex
DarkMarmot/sandwar
48d5a4b18e313b055f93088355fb0cf6685c836c
[ "Apache-2.0" ]
2
2021-03-09T12:39:20.000Z
2021-05-10T02:44:45.000Z
lib/sandwar_web/views/error_view.ex
DarkMarmot/sandwar
48d5a4b18e313b055f93088355fb0cf6685c836c
[ "Apache-2.0" ]
null
null
null
defmodule SandwarWeb.ErrorView do use SandwarWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name...
28.882353
61
0.735234
f77f24518fec915e08d5a2592ea002252bebe884
4,317
exs
Elixir
test/chat_api/conversations_test.exs
sladyn98/papercups
3b17ccc4c974ac6e16c9962a576e64a832dafdb9
[ "MIT" ]
null
null
null
test/chat_api/conversations_test.exs
sladyn98/papercups
3b17ccc4c974ac6e16c9962a576e64a832dafdb9
[ "MIT" ]
null
null
null
test/chat_api/conversations_test.exs
sladyn98/papercups
3b17ccc4c974ac6e16c9962a576e64a832dafdb9
[ "MIT" ]
null
null
null
defmodule ChatApi.ConversationsTest do use ChatApi.DataCase, async: true alias ChatApi.{Conversations, SlackConversationThreads} describe "conversations" do alias ChatApi.Conversations.Conversation alias ChatApi.SlackConversationThreads.SlackConversationThread @valid_attrs %{status: "open"} @up...
35.385246
105
0.712532
f77f4b881de1f7d1edd0e8e274fb5c334d2cd809
1,041
ex
Elixir
lib/hello_phoenix/endpoint.ex
victusfate/hello_phoenix
8a63878e5317386c693a214d4db836f9128621d2
[ "MIT" ]
null
null
null
lib/hello_phoenix/endpoint.ex
victusfate/hello_phoenix
8a63878e5317386c693a214d4db836f9128621d2
[ "MIT" ]
null
null
null
lib/hello_phoenix/endpoint.ex
victusfate/hello_phoenix
8a63878e5317386c693a214d4db836f9128621d2
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.Endpoint do use Phoenix.Endpoint, otp_app: :hello_phoenix socket "/socket", HelloPhoenix.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. plu...
26.025
69
0.716619
f77f762fe1acf6acaed0ed64a4977f9d115f7a18
1,803
ex
Elixir
lib/phoenix_ecto/check_repo_status.ex
Jcambass/phoenix_ecto
d0bed6522ef286feb14bd00019c406acf5670002
[ "MIT" ]
null
null
null
lib/phoenix_ecto/check_repo_status.ex
Jcambass/phoenix_ecto
d0bed6522ef286feb14bd00019c406acf5670002
[ "MIT" ]
null
null
null
lib/phoenix_ecto/check_repo_status.ex
Jcambass/phoenix_ecto
d0bed6522ef286feb14bd00019c406acf5670002
[ "MIT" ]
null
null
null
defmodule Phoenix.Ecto.CheckRepoStatus do @moduledoc """ A plug that does some checks on your application repos. Checks if the storage is up (database is created) or if there are any pending migrations. Both checks can raise an error if the conditions are not met. ## Plug options * `:otp_app` - name of...
25.394366
91
0.655019
f77fc80819638ec805033aecb7afce07a8864714
15,985
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_ssl_certificates.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_ssl_certificates.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_ssl_certificates.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
49.33642
434
0.650109
f77fceb6c622a1858268c6dc43800c6a92d4d4bd
2,052
ex
Elixir
lib/quantum/cluster_task_supervisor_registry.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
lib/quantum/cluster_task_supervisor_registry.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
lib/quantum/cluster_task_supervisor_registry.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
defmodule Quantum.ClusterTaskSupervisorRegistry do @moduledoc false # Provide means to find all nodes running the task registry use GenServer alias __MODULE__.{InitOpts, StartOpts, State} @doc false @spec start_link(StartOpts.t()) :: GenServer.on_start() def start_link(%StartOpts{name: name} = opts) do...
24.722892
92
0.663255
f77fd6c23dba8fab58fa1dc00a88d5a86bc3d9be
1,113
exs
Elixir
2017/day_05/ex/config/config.exs
nicbet/advent-of-code
a44a16c777081bdc9fabdfee72541a95c291ef18
[ "MIT" ]
null
null
null
2017/day_05/ex/config/config.exs
nicbet/advent-of-code
a44a16c777081bdc9fabdfee72541a95c291ef18
[ "MIT" ]
null
null
null
2017/day_05/ex/config/config.exs
nicbet/advent-of-code
a44a16c777081bdc9fabdfee72541a95c291ef18
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.903226
73
0.749326
f77fe91681260ed1b6a7d0f992baac5473145bc5
3,644
ex
Elixir
web/ex_admin/errors_helper.ex
devonestes/ex_admin
e135ae7c28de78fc87baf519ff8a32da12e8bf66
[ "MIT" ]
1,347
2015-10-05T18:23:49.000Z
2022-01-09T18:38:36.000Z
web/ex_admin/errors_helper.ex
fanduel/ex_admin
05806a718859a0e155d3447c3ffde8a536fd676a
[ "MIT" ]
402
2015-10-03T13:53:32.000Z
2021-07-08T09:52:22.000Z
web/ex_admin/errors_helper.ex
fanduel/ex_admin
05806a718859a0e155d3447c3ffde8a536fd676a
[ "MIT" ]
333
2015-10-12T22:56:57.000Z
2021-05-26T18:40:24.000Z
defmodule ExAdmin.ErrorsHelper do @moduledoc """ The primary purpose of this module is to take nested changeset errors created by many_to_many and has many through relationships and change them into a format that the forms can use to get the error message from the field name. Changes sets such as: ...
40.043956
135
0.660538
f77ff9a9e9bbb4d68378b15acbc94beacd0d945e
9,501
ex
Elixir
lib/membrane_aac_fdk_plugin/encoder.ex
membraneframework/membrane_aac_fdk_plugin
8ae1cb60db82f4115cc167f08486d04164b7007b
[ "Apache-2.0" ]
null
null
null
lib/membrane_aac_fdk_plugin/encoder.ex
membraneframework/membrane_aac_fdk_plugin
8ae1cb60db82f4115cc167f08486d04164b7007b
[ "Apache-2.0" ]
2
2021-08-10T14:27:58.000Z
2021-08-10T14:58:25.000Z
lib/membrane_aac_fdk_plugin/encoder.ex
membraneframework/membrane_aac_fdk_plugin
8ae1cb60db82f4115cc167f08486d04164b7007b
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.AAC.FDK.Encoder do @moduledoc """ Element encoding raw audio into AAC format """ use Membrane.Filter use Bunch.Typespec alias __MODULE__.Native alias Membrane.Buffer alias Membrane.Caps.Audio.Raw alias Membrane.Caps.Matcher use Membrane.Log, tags: :membrane_aac_fdk_plugin # A...
32.316327
177
0.591517
f77ffb011d759fb1ac21fdfc1f4227a88552a000
412
exs
Elixir
test/absinthe/integration/execution/input_object_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
test/absinthe/integration/execution/input_object_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2019-09-23T21:26:01.000Z
2019-09-23T21:26:01.000Z
test/absinthe/integration/execution/input_object_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
null
null
null
defmodule Elixir.Absinthe.Integration.Execution.InputObjectTest do use Absinthe.Case, async: true @query """ mutation { updateThing(id: "foo", thing: {value: 100}) { name value } } """ test "scenario #1" do assert {:ok, %{data: %{"updateThing" => %{"name" => "Foo", "value" => 100}}...
22.888889
84
0.589806
f77ffdd088be9c0b78a89d82e3eb1e30aff4eca1
312
exs
Elixir
priv/repo/migrations/20151224093233_create_board.exs
gridgentoo/ElixirTrelloKanban
11b91d9d864d2e332a94838d43c7a9b1015e17c6
[ "MIT" ]
2,784
2016-01-06T03:16:07.000Z
2022-03-14T03:52:20.000Z
priv/repo/migrations/20151224093233_create_board.exs
gridgentoo/ElixirTrelloKanban
11b91d9d864d2e332a94838d43c7a9b1015e17c6
[ "MIT" ]
49
2016-01-07T11:48:10.000Z
2020-04-27T16:10:12.000Z
priv/repo/migrations/20151224093233_create_board.exs
gridgentoo/ElixirTrelloKanban
11b91d9d864d2e332a94838d43c7a9b1015e17c6
[ "MIT" ]
586
2016-01-11T17:02:13.000Z
2021-12-01T10:54:47.000Z
defmodule PhoenixTrello.Repo.Migrations.CreateBoard do use Ecto.Migration def change do create table(:boards) do add :name, :string, null: false add :user_id, references(:users, on_delete: :delete_all), null: false timestamps end create index(:boards, [:user_id]) end end
19.5
75
0.682692
f780011b0a67d98fa4f7c4b8edc057ffe8749885
700
exs
Elixir
exercism/elixir/scrabble-score/scrabble.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
2
2017-05-19T18:31:38.000Z
2017-05-19T18:31:41.000Z
exercism/elixir/scrabble-score/scrabble.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
exercism/elixir/scrabble-score/scrabble.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
defmodule Scrabble do @letter_values %{ "a" => 1, "b" => 3, "c" => 3, "d" => 2, "e" => 1, "f" => 4, "g" => 2, "h" => 4, "i" => 1, "j" => 8, "k" => 5, "l" => 1, "m" => 3, "n" => 1, "o" => 1, "p" => 3, "q" => 10, "r" => 1, "s" => 1, "t" => ...
16.27907
64
0.37
f78013a9cdac9fcc71e8287ba1cbd68230de2bcb
910
ex
Elixir
lib/openflow/echo/reply.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
lib/openflow/echo/reply.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
lib/openflow/echo/reply.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule Openflow.Echo.Reply do defstruct( version: 4, xid: 0, data: "", # virtual field datapath_id: nil, # virtual field aux_id: 0 ) alias __MODULE__ @type t :: %Reply{ version: 4, xid: 0..0xFFFFFFFF, data: String.t(), datapath_id: String....
20.222222
60
0.545055
f7802d198143dad90b534f09c0fca65881cc133c
257
ex
Elixir
lib/phoenix_elm.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
lib/phoenix_elm.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
lib/phoenix_elm.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
defmodule PhoenixElm do @moduledoc """ PhoenixElm 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.7
66
0.758755
f7807cf3de552a108c65af2d9cff00760c0cfe7a
385
exs
Elixir
priv/repo/migrations/20210227015756_create_user_table.exs
librity/nlw_elixir
09476067f0695014705af0480dd60894f9e0a6d8
[ "MIT" ]
1
2021-02-26T17:31:13.000Z
2021-02-26T17:31:13.000Z
priv/repo/migrations/20210227015756_create_user_table.exs
librity/nlw_elixir
09476067f0695014705af0480dd60894f9e0a6d8
[ "MIT" ]
null
null
null
priv/repo/migrations/20210227015756_create_user_table.exs
librity/nlw_elixir
09476067f0695014705af0480dd60894f9e0a6d8
[ "MIT" ]
null
null
null
defmodule Rocketpay.Repo.Migrations.CreateUserTable do use Ecto.Migration def change do create table :users do add :name, :string add :nickname, :string add :email, :string add :password_hash, :string add :age, :integer timestamps() end create unique_index(:users, ...
20.263158
54
0.651948
f7809dbd53b330894135659785461593b22e73d2
128
exs
Elixir
scripts/s3_log_sync.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
scripts/s3_log_sync.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
scripts/s3_log_sync.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
File.mkdir("logs") Hexpm.Utils.shell(~s(aws s3 cp s3://logs.hex.pm logs --recursive --exclude "*" --include "hex/2016-01-27*"))
42.666667
108
0.664063
f780a10ffe0dc8ab29a1ece8bec74023f4eaaec7
476
exs
Elixir
priv/repo/migrations/20161124143407_add_stops_table.exs
tjefferson08/frizzle-server
8db3f31e4dae6583603fd2006415129f623827ba
[ "MIT" ]
null
null
null
priv/repo/migrations/20161124143407_add_stops_table.exs
tjefferson08/frizzle-server
8db3f31e4dae6583603fd2006415129f623827ba
[ "MIT" ]
null
null
null
priv/repo/migrations/20161124143407_add_stops_table.exs
tjefferson08/frizzle-server
8db3f31e4dae6583603fd2006415129f623827ba
[ "MIT" ]
null
null
null
defmodule Frizzle.Repo.Migrations.AddStopsTable do use Ecto.Migration def up do create table(:stops, primary_key: false) do add :stop_id, :integer, null: false, primary_key: true add :stop_name, :string, null: false add :stop_desc, :string, null: false end execute("SELECT AddGeo...
26.444444
77
0.668067
f780b1f641bdca4612dfb2ed4843ef6dd80b7e1d
2,650
ex
Elixir
lib/cabishop/checkout.ex
gremly/cabishop
d5c1188ce6237ff671f2b98525b3ae7a0accad12
[ "MIT" ]
null
null
null
lib/cabishop/checkout.ex
gremly/cabishop
d5c1188ce6237ff671f2b98525b3ae7a0accad12
[ "MIT" ]
null
null
null
lib/cabishop/checkout.ex
gremly/cabishop
d5c1188ce6237ff671f2b98525b3ae7a0accad12
[ "MIT" ]
null
null
null
defmodule CabiShop.CheckoutSupervisor do @moduledoc """ Supervises shop orders. This supervisor allows to create one process for checkout order. """ use Supervisor # Client API def start_link(args) do Supervisor.start_link(__MODULE__, args, name: __MODULE__) end # Supervisor Callbacks d...
22.844828
73
0.678868
f780b52754ba2577091863072769e67185f4fc6d
869
ex
Elixir
apps/admin_app/lib/admin_app_web/views/data_helpers.ex
gridgentoo/avia
139b68f4b3ccd830c4db296d81132680e253b731
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/views/data_helpers.ex
gridgentoo/avia
139b68f4b3ccd830c4db296d81132680e253b731
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/views/data_helpers.ex
gridgentoo/avia
139b68f4b3ccd830c4db296d81132680e253b731
[ "MIT" ]
null
null
null
defmodule AdminAppWeb.DataHelpers do @moduledoc """ Provides view related data. """ alias Snitch.Data.Model.State, as: StateModel alias Snitch.Data.Model.Country, as: CountryModel alias Snitch.Data.Model.Role, as: RoleModel alias Snitch.Data.Model.Permission @doc """ Creates formatted data to be use...
37.782609
83
0.747986
f780d46db01c41fec9a7a1a5928a7768808a5f9f
1,596
exs
Elixir
config/config.exs
trusty/elixir_google_spreadsheets
b7f74d75e61027dc0b12aa5260168563d0777c92
[ "MIT" ]
null
null
null
config/config.exs
trusty/elixir_google_spreadsheets
b7f74d75e61027dc0b12aa5260168563d0777c92
[ "MIT" ]
null
null
null
config/config.exs
trusty/elixir_google_spreadsheets
b7f74d75e61027dc0b12aa5260168563d0777c92
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. import Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the parent...
31.92
73
0.75
f780f40ae2edc7ab9b70e69968c78762d29974bf
10,180
ex
Elixir
lib/elixir/lib/port.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/port.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/port.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
defmodule Port do @moduledoc ~S""" Functions for interacting with the external world through ports. Ports provide a mechanism to start operating system processes external to the Erlang VM and communicate with them via message passing. ## Example iex> port = Port.open({:spawn, "cat"}, [:binary]) ...
33.159609
88
0.675049
f781179b5788391dfd7764ada7643283182af4b0
138
ex
Elixir
debian/menu.ex
mikeyb/GameCredits
4c1844a3ffecfbd222ee68cbac1f1fc7ec2072e5
[ "MIT", "Unlicense" ]
12
2016-09-02T22:48:17.000Z
2022-01-07T03:00:20.000Z
debian/menu.ex
mikeyb/GameCredits
4c1844a3ffecfbd222ee68cbac1f1fc7ec2072e5
[ "MIT", "Unlicense" ]
1
2018-04-04T04:38:58.000Z
2021-04-13T02:39:22.000Z
debian/menu.ex
mikeyb/GameCredits
4c1844a3ffecfbd222ee68cbac1f1fc7ec2072e5
[ "MIT", "Unlicense" ]
5
2016-08-07T08:26:50.000Z
2020-10-11T20:45:44.000Z
?package(gamecredits):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ title="gamecredits" command="/usr/bin/gamecredits"
46
84
0.768116
f781260abbea70a8357b9f17ef13493d42a37d43
92
exs
Elixir
elixir/74.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/74.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/74.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
fun1 = fn -> fn -> "Hello" end end fun1.() |> IO.inspect fun1.().() |> IO.inspect
9.2
24
0.48913
f7813abd745415105ced7d631c0f806900969a75
2,459
exs
Elixir
blinky/mix.exs
rob-brown/ElixirTraining2018
9724cc4961d767a1ba2450240e026b46ad5a0f1b
[ "MIT" ]
2
2018-02-01T22:56:09.000Z
2020-01-20T19:57:48.000Z
blinky/mix.exs
rob-brown/ElixirTraining2018
9724cc4961d767a1ba2450240e026b46ad5a0f1b
[ "MIT" ]
null
null
null
blinky/mix.exs
rob-brown/ElixirTraining2018
9724cc4961d767a1ba2450240e026b46ad5a0f1b
[ "MIT" ]
null
null
null
defmodule Blinky.MixProject do use Mix.Project @target System.get_env("MIX_TARGET") || "host" def project do [ app: :blinky, version: "0.1.0", elixir: "~> 1.4", target: @target, archives: [nerves_bootstrap: "~> 1.0.0"], deps_path: "deps/#{@target}", build_path: "_bu...
31.525641
86
0.616104
f78144aa91bebdc30401b1fd66518c4d9698267c
4,403
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.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...
64.75
816
0.713377
f7815d3136df6fc7a4118c41dbcb3cf88eb6f71b
785
exs
Elixir
test/entitiex/options_test.exs
undr/entitiex
c6666909290b4077b47659ce11891659226e3b88
[ "MIT" ]
null
null
null
test/entitiex/options_test.exs
undr/entitiex
c6666909290b4077b47659ce11891659226e3b88
[ "MIT" ]
null
null
null
test/entitiex/options_test.exs
undr/entitiex
c6666909290b4077b47659ce11891659226e3b88
[ "MIT" ]
null
null
null
defmodule Entitiex.OptionsTest do use ExUnit.Case alias Entitiex.Options test "test" do assert(Options.merge([key1: :value2, key2: :value2], [key1: :value]) == [key2: :value2, key1: :value]) assert(Options.merge([format: :format1, key: :value], [format: :format2, key: :value2]) == [format: [:format1, :f...
56.071429
144
0.643312
f7815e7b6514193a2225e5e43b615d2ae8cd1cff
3,614
exs
Elixir
practica4/ServicioVistas/cliente_gv.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
practica4/ServicioVistas/cliente_gv.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
practica4/ServicioVistas/cliente_gv.exs
dmarcob/practicas1920_SSDD
8a3c0a428e21708102d840e7968009fa1cd0246a
[ "CC-BY-3.0" ]
null
null
null
Code.require_file("servidor_gv.exs", __DIR__) defmodule ClienteGV do @moduledoc """ modulo de un cliente de gestor de vistas funcionando como nodo """ # Constantes @tiempo_espera_de_respuesta 100 @doc """ Poner en marcha un nodo cliente del servicio de vistas Devolver atomo que referenci...
28.456693
80
0.685667
f781996f474a461e0344df15a5699cae1e41db70
50
ex
Elixir
lib/web/views/session_view.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
lib/web/views/session_view.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
34
2019-03-06T17:53:29.000Z
2021-09-01T01:25:23.000Z
lib/web/views/session_view.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule Web.SessionView do use Web, :view end
12.5
28
0.76
f781a7158faf97aadc79dbe2286c1ee6f3edd806
2,512
exs
Elixir
test/chat_api/conversations/helpers_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
1
2021-01-18T09:57:23.000Z
2021-01-18T09:57:23.000Z
test/chat_api/conversations/helpers_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
1
2021-01-17T10:42:34.000Z
2021-01-17T10:42:34.000Z
test/chat_api/conversations/helpers_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
null
null
null
defmodule ChatApi.Conversations.HelpersTest do use ChatApi.DataCase import ChatApi.Factory alias ChatApi.{Conversations, Conversations.Helpers} describe "ChatApi.Conversations.Helpers" do setup do account = insert(:account) customer = insert(:customer, account: account) conversation = in...
41.180328
118
0.673567
f781fb46c95962996978f50f4f3a88fb5310115b
445
exs
Elixir
priv/repo/migrations/one_institution/20200408204810_add_procedure_frequencies.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
priv/repo/migrations/one_institution/20200408204810_add_procedure_frequencies.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
priv/repo/migrations/one_institution/20200408204810_add_procedure_frequencies.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule Crit.Repo.Migrations.AddProcedureFrequencies do use Ecto.Migration def change do create table(:procedure_frequencies) do add :name, :citext, null: false add :calculation_name, :string, null: false add :description, :text, null: false, default: "" end alter table(:procedures...
26.176471
82
0.692135
f78226aebe4dc0d1e34ff06b8868c48875d414b4
2,524
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_anchor_page_ref.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_anchor_page_ref.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_anchor_page_ref.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.830769
205
0.737322
f78245c49ad18af0ea0db5cf7028516dcac733db
817
exs
Elixir
mix.exs
tanguilp/attribute_repository_riak
b4ad04c7b2e9d64e72193b1c3bcf9f738f3dd7fc
[ "Apache-2.0" ]
null
null
null
mix.exs
tanguilp/attribute_repository_riak
b4ad04c7b2e9d64e72193b1c3bcf9f738f3dd7fc
[ "Apache-2.0" ]
null
null
null
mix.exs
tanguilp/attribute_repository_riak
b4ad04c7b2e9d64e72193b1c3bcf9f738f3dd7fc
[ "Apache-2.0" ]
null
null
null
defmodule AttributeRepositoryRiak.MixProject do use Mix.Project def project do [ app: :attribute_repository_riak, version: "0.2.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), docs: [ main: "readme", extras: ["README.md"] ] ...
23.342857
86
0.582619
f782683287f1570c18eb1ea832d50beca4fce9ea
831
ex
Elixir
lib/stix/object.ex
johnwunder/elixir-stix2
2b427694d45206acd556bf464de9fadd56095ba0
[ "MIT" ]
null
null
null
lib/stix/object.ex
johnwunder/elixir-stix2
2b427694d45206acd556bf464de9fadd56095ba0
[ "MIT" ]
null
null
null
lib/stix/object.ex
johnwunder/elixir-stix2
2b427694d45206acd556bf464de9fadd56095ba0
[ "MIT" ]
null
null
null
defmodule Stix.Object do @defaults %{creator_id: "identity--0f6532e2-7ed0-4614-9d2e-b99a27293a52"} def object(object_type, object_properties \\ %{}) do %{ type: object_type, id: Stix.id(object_type), created: Timex.format!(Timex.now,...
36.130435
96
0.576414
f78272b26c366e695ccc1b2f6e161a2d12f6a10f
79
ex
Elixir
chatourius/web/views/coherence/session_view.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
chatourius/web/views/coherence/session_view.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
chatourius/web/views/coherence/session_view.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule Coherence.SessionView do use Chatourius.Coherence.Web, :view end
13.166667
37
0.797468
f782a07b70f966daca0b9a02614963440e82c8cb
10,582
exs
Elixir
lib/elixir/test/elixir/module/types/infer_test.exs
voltone/elixir
e208e1066e484c46726e4d931c18e54aba036f6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/module/types/infer_test.exs
voltone/elixir
e208e1066e484c46726e4d931c18e54aba036f6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/module/types/infer_test.exs
voltone/elixir
e208e1066e484c46726e4d931c18e54aba036f6e
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Module.Types.InferTest do use ExUnit.Case, async: true import Module.Types.Infer alias Module.Types defp unify_lift(left, right, context \\ new_context()) do unify(left, right, new_stack(), context) |> lift_result() end defp new_contex...
41.661417
98
0.534965
f782a495d120e5ed74d04bd29c7f1026fb4cb7fc
583
exs
Elixir
test/views/error_view_test.exs
whenther/chopsticks
ec8d9f90cb4e9afc9e80322c734d9c6bfe5e14e1
[ "MIT" ]
2
2016-11-08T18:17:41.000Z
2017-02-23T06:51:56.000Z
test/views/error_view_test.exs
will-wow/chopsticks
ec8d9f90cb4e9afc9e80322c734d9c6bfe5e14e1
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
will-wow/chopsticks
ec8d9f90cb4e9afc9e80322c734d9c6bfe5e14e1
[ "MIT" ]
null
null
null
defmodule Chopsticks.ErrorViewTest do use Chopsticks.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Chopsticks.ErrorView, "404.html", []) == "Page not found" end test "render 500....
26.5
68
0.684391
f782b0b1231f6cb725c76896fab48304d85a0b2f
1,789
ex
Elixir
deps/ecto/lib/ecto/json.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/json.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/json.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
# TODO: Remove Poison handling once we have fully migrated to Jason if Code.ensure_loaded?(Poison.Encoder) do defimpl Poison.Encoder, for: Decimal do def encode(decimal, _opts), do: <<?", Decimal.to_string(decimal, :normal)::binary, ?">> end end for encoder <- [Poison.Encoder, Jason.Encoder] do if ...
33.754717
92
0.595305
f782b5051e4eb9683b81d643b04d9d8bdc01e1fb
155
ex
Elixir
chapter3/challenges/mealcon/lib/mealcon_web/views/meals_view.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter3/challenges/mealcon/lib/mealcon_web/views/meals_view.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter3/challenges/mealcon/lib/mealcon_web/views/meals_view.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule MealconWeb.MealsView do use MealconWeb, :view alias Mealcon.Meal def render("meal.json", %{meal: %Meal{} = meal}), do: %{meal: meal} end
19.375
69
0.677419
f782c695d0cdb7cdbdf10f20cf9318684b4b9031
2,015
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/disk_aggregated_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/disk_aggregated_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/disk_aggregated_list_warning_data.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...
40.3
527
0.740447
f782d9d0a3b67c48f8929db056e75716f8dd661b
2,866
ex
Elixir
lib/data_daemon/plug.ex
mariaclrd/data_daemon
f1b4dfd07959d9d0b23389005c41c883d0caf295
[ "MIT" ]
4
2019-02-16T01:09:30.000Z
2022-03-03T09:56:20.000Z
lib/data_daemon/plug.ex
mariaclrd/data_daemon
f1b4dfd07959d9d0b23389005c41c883d0caf295
[ "MIT" ]
5
2018-11-03T12:52:59.000Z
2019-04-27T10:13:33.000Z
lib/data_daemon/plug.ex
mariaclrd/data_daemon
f1b4dfd07959d9d0b23389005c41c883d0caf295
[ "MIT" ]
2
2020-02-06T10:28:38.000Z
2020-09-09T11:22:29.000Z
defmodule DataDaemon.Plug do @moduledoc false @doc false @spec safe_in(any, [atom | String.t()]) :: any def safe_in(data, []), do: data def safe_in(data, [field | fields]), do: safe_in(Map.get(data, field), fields) @doc false @spec enable :: term def enable do quote location: :keep do @behav...
28.949495
87
0.437893
f782fda5ab769af429d92f6fc238cbb7768eca58
598
exs
Elixir
test/phoenix_elm_web/views/error_view_test.exs
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
test/phoenix_elm_web/views/error_view_test.exs
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
test/phoenix_elm_web/views/error_view_test.exs
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
defmodule PhoenixElmWeb.ErrorViewTest do use PhoenixElmWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(PhoenixElmWeb.ErrorView, "404.html", []) == "Page not found" end test "re...
27.181818
71
0.692308
f7832130d9dd2982400a65dac4cd0b23a5093cbf
1,195
ex
Elixir
apps/snitch_core/lib/core/data/model/package_item.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/data/model/package_item.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/data/model/package_item.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Model.PackageItem do @moduledoc """ PackageItem API. """ use Snitch.Data.Model alias Snitch.Data.Schema.PackageItem # TODO: the CUD operations should update the parent package! @doc """ Creates a new `PackageItem`. """ @spec create(map) :: {:ok, Ecto.Schema.t()} | {:error, E...
27.159091
93
0.654393
f7833d756564c2c6771c9d196fbae507f62ec6cb
228
exs
Elixir
string_reduction.exs
hvnsweeting/elixir-hackerrank-fp
1b4c259c7e335b272b0bbc50d3ba92ddb724566f
[ "MIT" ]
null
null
null
string_reduction.exs
hvnsweeting/elixir-hackerrank-fp
1b4c259c7e335b272b0bbc50d3ba92ddb724566f
[ "MIT" ]
null
null
null
string_reduction.exs
hvnsweeting/elixir-hackerrank-fp
1b4c259c7e335b272b0bbc50d3ba92ddb724566f
[ "MIT" ]
null
null
null
# https://www.hackerrank.com/challenges/string-reductions defmodule Solution do def main() do IO.gets("") |> String.strip() |> String.to_charlist() |> Enum.uniq() |> IO.puts() end end Solution.main()
16.285714
57
0.618421
f783424280b9bc492f09b170d9b293bd54b29abd
54
exs
Elixir
test/test_helper.exs
RobertDober/earmark_ast_dsl
d7393cb1981b34a05ede5666b6dbb7bbc05972ca
[ "Apache-2.0" ]
1
2021-10-30T09:12:14.000Z
2021-10-30T09:12:14.000Z
test/test_helper.exs
RobertDober/earmark_ast_dsl
d7393cb1981b34a05ede5666b6dbb7bbc05972ca
[ "Apache-2.0" ]
4
2020-06-26T10:06:20.000Z
2021-12-29T07:04:23.000Z
test/test_helper.exs
RobertDober/earmark_ast_dsl
d7393cb1981b34a05ede5666b6dbb7bbc05972ca
[ "Apache-2.0" ]
null
null
null
ExUnit.start() # SPDX-License-Identifier: Apache-2.0
18
38
0.740741
f7835e257ea089adf25a8c3abcaa3fb232ab82b1
1,976
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/metric_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/lib/google_api/service_management/v1/model/metric_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/metric_rule.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.52
331
0.737348
f7836631156e6c6a700909c9a2e3cbb9024edc57
187
ex
Elixir
sandbox/test.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
1
2019-12-10T22:25:31.000Z
2019-12-10T22:25:31.000Z
sandbox/test.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
3
2020-10-25T04:40:05.000Z
2020-10-25T04:48:10.000Z
sandbox/test.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
null
null
null
pet = %Cat{:name => "Alexander"} pet2 = %Dog{:name => "Fido"} pet3 = %Wolf{} pet4 = %Shark{} pets = [pet, pet2, pet3, pet4] for pet <- pets, Animal.friendly?(pet), do: Pet.checkup(pet)
20.777778
60
0.59893
f7837314ef3575912783c557ccb3faa60484d942
1,521
ex
Elixir
lib/honu/storage/disk.ex
elixir-honu/honu
e82cbc4c2457b3d64b929cc013c17cdb4fcc8f6c
[ "MIT" ]
1
2021-08-08T10:33:42.000Z
2021-08-08T10:33:42.000Z
lib/honu/storage/disk.ex
elixir-honu/honu
e82cbc4c2457b3d64b929cc013c17cdb4fcc8f6c
[ "MIT" ]
null
null
null
lib/honu/storage/disk.ex
elixir-honu/honu
e82cbc4c2457b3d64b929cc013c17cdb4fcc8f6c
[ "MIT" ]
null
null
null
defmodule Honu.Storage.Disk do alias Honu.Attachments.Blob alias Honu.Storage @behaviour Storage # If using the path from Plug.Upload, it is only available during the request # as Plug will remove it once the request completes # https://hexdocs.pm/phoenix/1.3.0-rc.2/file_uploads.html @impl true def pu...
24.532258
95
0.609467
f78388f86ee84be50f472c3b0e168595c2ad0600
173
exs
Elixir
config/config.exs
devoutsalsa/lib_lat_lon
a9fef01e67ad92f1b5ff042173f6986ad6f5fd48
[ "MIT" ]
11
2018-01-11T13:13:21.000Z
2021-04-18T09:48:00.000Z
config/config.exs
devoutsalsa/lib_lat_lon
a9fef01e67ad92f1b5ff042173f6986ad6f5fd48
[ "MIT" ]
1
2021-04-18T02:54:11.000Z
2021-04-18T02:54:11.000Z
config/config.exs
devoutsalsa/lib_lat_lon
a9fef01e67ad92f1b5ff042173f6986ad6f5fd48
[ "MIT" ]
2
2019-11-05T12:14:36.000Z
2021-04-17T17:03:07.000Z
use Mix.Config ### EXTERNALS config :porcelain, driver: Porcelain.Driver.Basic ### ENV-SPECIFIC if File.exists?("#{Mix.env()}.exs"), do: import_config("#{Mix.env()}.exs")
21.625
74
0.682081
f783974d4c0ca8dd203d10d4aed0c9cb423f33b2
1,236
ex
Elixir
lib/blue_heron/gatt/characteristic.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/gatt/characteristic.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/gatt/characteristic.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.GATT.Characteristic do @moduledoc """ Struct that represents a GATT characteristic. """ @opaque t() :: %__MODULE__{ id: any(), type: non_neg_integer(), properties: non_neg_integer(), handle: any(), value_handle: any() } ...
31.692308
109
0.634304
f783a5cd91b41aed49cdf8ce0b5a2d3b17aa19db
2,312
exs
Elixir
spec/yaml_config_file_spec.exs
sampscl/qol_up
31fc3c670587b0ca810ae346d437f7d8c8a6d02e
[ "MIT" ]
null
null
null
spec/yaml_config_file_spec.exs
sampscl/qol_up
31fc3c670587b0ca810ae346d437f7d8c8a6d02e
[ "MIT" ]
null
null
null
spec/yaml_config_file_spec.exs
sampscl/qol_up
31fc3c670587b0ca810ae346d437f7d8c8a6d02e
[ "MIT" ]
null
null
null
defmodule YamlConfigFileSpec do use ESpec def temp_config_file(contents) do {:ok, cfg_file} = Briefly.create(directory: false) :ok = File.write!(cfg_file, contents) cfg_file end describe "QolUp.YamlConfigFile" do it "parses empty config files" do # make an empty temporary config file ...
37.290323
101
0.636246
f783b094a5a51003cc7d2c7282a3e41d03d89cf1
1,486
ex
Elixir
lib/erlef/blogs.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
1
2021-03-13T01:34:28.000Z
2021-03-13T01:34:28.000Z
lib/erlef/blogs.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
null
null
null
lib/erlef/blogs.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
null
null
null
defmodule Erlef.Blogs do @moduledoc """ Erlef.Blogs context """ import Ecto.Query alias Erlef.Repo.ETS alias Erlef.Blogs.Post @spec get_posts_by_tag(String.t()) :: [Post.t()] def get_posts_by_tag(tag) do all_posts() |> Enum.filter(fn p -> tag in p.tags end) |> sort_posts_by_datetime() en...
22.861538
78
0.603634
f783b991c0a6ff708507140509b8d8fee7e44e83
1,549
ex
Elixir
lib/google_apis/swagger_config.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
lib/google_apis/swagger_config.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
lib/google_apis/swagger_config.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
36.023256
76
0.743706
f783d082f767fbdea2e081834ada7a3586c659ae
1,741
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/link.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/classroom/lib/google_api/classroom/v1/model/link.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/link.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
30.017241
105
0.690982
f783dc07836011ea0c364f0a8798e440c5037fec
6,047
ex
Elixir
deps/comeonin/lib/comeonin/base.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/comeonin/lib/comeonin/base.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/comeonin/lib/comeonin/base.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
for {module, alg} <- [{Argon2, "Argon2"}, {Bcrypt, "Bcrypt"}, {Pbkdf2, "Pbkdf2"}] do if Code.ensure_loaded?(module) do mod = Module.concat(Comeonin, module) defmodule mod do @moduledoc """ Password hashing module using the #{alg} algorithm. For more information about the #{alg} algorithm, s...
35.156977
86
0.625434
f783e31a0d8a46a838ce94e990ffe6d911fd4a17
687
ex
Elixir
lib/xgit/util/file_utils.ex
scouten/xgit
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
94
2019-05-28T05:29:54.000Z
2022-02-18T20:03:20.000Z
lib/xgit/util/file_utils.ex
scouten/xgit
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
156
2019-05-26T03:27:24.000Z
2020-10-08T05:44:26.000Z
lib/xgit/util/file_utils.ex
scouten/redo
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
5
2019-05-28T16:35:55.000Z
2021-06-16T14:25:17.000Z
defmodule Xgit.Util.FileUtils do @moduledoc false # Internal utility for recursively listing the contents of a directory. import Xgit.Util.ForceCoverage @doc ~S""" Recursively list the files of a directory. Directories are scanned, but their paths are not reported as part of the result. """ @spec re...
22.16129
82
0.598253
f783f8a4662a43b9a71692534a37cc7c8fe6ff81
1,310
ex
Elixir
clients/cloud_shell/lib/google_api/cloud_shell/v1/model/authorize_environment_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_shell/lib/google_api/cloud_shell/v1/model/authorize_environment_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_shell/lib/google_api/cloud_shell/v1/model/authorize_environment_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.190476
90
0.772519
f784075523d909b2a583c4596011fcb906b3163b
225
ex
Elixir
apps/playground_api/lib/playground_api.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
apps/playground_api/lib/playground_api.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
apps/playground_api/lib/playground_api.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
defmodule PlaygroundApi do @moduledoc """ REST JSON:API. """ @doc """ Hello world. ## Examples iex> PlaygroundApi.hello() :world """ @spec hello() :: atom() def hello do :world end end
11.25
32
0.555556
f7840cabe07d9d3714f9fab0327b5cc9dff6eed1
1,272
ex
Elixir
apps/interface/lib/interface_web/views/error_helpers.ex
jeremy-miller/life-elixir
5c9396b187279110dc8da38a5070023d1ed02955
[ "MIT" ]
null
null
null
apps/interface/lib/interface_web/views/error_helpers.ex
jeremy-miller/life-elixir
5c9396b187279110dc8da38a5070023d1ed02955
[ "MIT" ]
null
null
null
apps/interface/lib/interface_web/views/error_helpers.ex
jeremy-miller/life-elixir
5c9396b187279110dc8da38a5070023d1ed02955
[ "MIT" ]
null
null
null
defmodule InterfaceWeb.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_...
31.02439
78
0.67217
f7841c31580aa144d7fd15b1263691a8f3a56e70
77
ex
Elixir
lib/student_list_web/views/user_settings_view.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
1
2021-06-27T20:02:11.000Z
2021-06-27T20:02:11.000Z
lib/student_list_web/views/user_settings_view.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
null
null
null
lib/student_list_web/views/user_settings_view.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
null
null
null
defmodule StudentListWeb.UserSettingsView do use StudentListWeb, :view end
19.25
44
0.844156
f784284384b3209f8c63c206e902679018233b29
10,348
exs
Elixir
apps/omg_child_chain/test/omg_child_chain/integration/fee_server_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_child_chain/test/omg_child_chain/integration/fee_server_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_child_chain/test/omg_child_chain/integration/fee_server_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
29.994203
112
0.619347
f7843cd407c94e12fe55c4ff0bdf2c34ff389346
5,676
ex
Elixir
lib/absinthe/relay/mutation/notation/classic.ex
scottming/absinthe_relay
685fb9b27ac0b9d5d2888d325cd52a48364d4a21
[ "MIT" ]
null
null
null
lib/absinthe/relay/mutation/notation/classic.ex
scottming/absinthe_relay
685fb9b27ac0b9d5d2888d325cd52a48364d4a21
[ "MIT" ]
null
null
null
lib/absinthe/relay/mutation/notation/classic.ex
scottming/absinthe_relay
685fb9b27ac0b9d5d2888d325cd52a48364d4a21
[ "MIT" ]
null
null
null
defmodule Absinthe.Relay.Mutation.Notation.Classic do @moduledoc """ Support for Relay Classic mutations with single inputs and client mutation IDs. The `payload` macro can be used by schema designers to support mutation fields that receive a single input object argument with a client mutation ID and return ...
31.186813
116
0.699436
f7847742253284ce05e4d60abbb0d64b9555f828
1,560
ex
Elixir
lib/oli_web/live/community_live/form.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/live/community_live/form.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/live/community_live/form.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule OliWeb.CommunityLive.Form do use Surface.Component alias Surface.Components.Form alias Surface.Components.Form.{Checkbox, ErrorTag, Field, Label, TextArea, TextInput} prop(changeset, :changeset, required: true) prop(save, :event, required: true) prop(display_labels, :boolean, default: true) d...
33.191489
99
0.626923
f784785377d0a3032e389a6ea2f20abff62e10fc
4,082
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/admin_auth/invite_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/invite_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/invite_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.AdminAuth.InviteControllerTest do use AdminAPI.ConnCase, async: true alias EWallet.Web.Date defp request(email, token, password, password_confirmation) do unauthenticated_request("/invite.accept", %{ "email" => email, "token" => token, "password" => password, "pa...
36.774775
95
0.624694
f7847cf1f95f89c843a5e7a276ecb39057971691
1,540
exs
Elixir
mix.exs
OwayTripGroup/httpoison
9b9debf168b6db45abbf5129721f5d01759d32f4
[ "MIT" ]
null
null
null
mix.exs
OwayTripGroup/httpoison
9b9debf168b6db45abbf5129721f5d01759d32f4
[ "MIT" ]
null
null
null
mix.exs
OwayTripGroup/httpoison
9b9debf168b6db45abbf5129721f5d01759d32f4
[ "MIT" ]
null
null
null
defmodule HTTPoison.Mixfile do use Mix.Project @description """ Yet Another HTTP client for Elixir powered by hackney """ def project do [ app: :httpoison, version: "1.5.1", elixir: "~> 1.5", name: "HTTPoison", description: @description, package: package(), de...
22.985075
84
0.507143
f7849d0062d48c36ca3b7409e03bd7968a56a4c8
13,986
ex
Elixir
lib/codes/codes_o23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_o23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_o23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_O23 do alias IcdCode.ICDCode def _O2300 do %ICDCode{full_code: "O2300", category_code: "O23", short_code: "00", full_name: "Infections of kidney in pregnancy, unspecified trimester", short_name: "Infections of kidney in pregnancy, unspecifie...
42.253776
105
0.658444
f7849ef4078459d15cc7aceb50229050b7983e76
562
exs
Elixir
config/prod.exs
the3hm/seraph_mud
c098a22184a0a6bcbd56cacf7b0f176dd173260d
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
config/prod.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
config/prod.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
import Config version = System.get_env("SHA") || "no sha" config :ex_venture, version: String.trim(version) config :ex_venture, Web.Endpoint, http: [port: 4000], server: true, cache_static_manifest: "priv/static/cache_manifest.json" config :ex_venture, :networking, port: 5555, server: true, socket_module...
21.615385
58
0.725979
f784a258cbb0118694359808168a82913a88b3c1
1,149
exs
Elixir
config/config.exs
jschomay/remote-file-streamer
d029c99b8cd116f00ad81a7bbb2ba80353fbad1b
[ "MIT" ]
5
2019-01-29T12:23:00.000Z
2020-05-05T15:32:26.000Z
config/config.exs
jschomay/remote-file-streamer
d029c99b8cd116f00ad81a7bbb2ba80353fbad1b
[ "MIT" ]
4
2018-07-20T15:23:10.000Z
2019-05-21T08:12:33.000Z
config/config.exs
jschomay/remote-file-streamer
d029c99b8cd116f00ad81a7bbb2ba80353fbad1b
[ "MIT" ]
2
2019-03-20T20:46:44.000Z
2019-03-21T22:28:43.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37.064516
73
0.75718
f784b1fcd92e715b0c06e13345b8ef833ab4d7dd
1,082
ex
Elixir
lib/crew_web/channels/user_socket.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
lib/crew_web/channels/user_socket.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
5
2020-07-20T01:49:01.000Z
2021-09-08T00:17:04.000Z
lib/crew_web/channels/user_socket.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
defmodule CrewWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", CrewWeb.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 all channels, ie...
30.055556
83
0.692237
f784b69e2ccdaac3cbe9020cd7a8d001e3677cf1
1,655
ex
Elixir
server/lib/idai_field_server_web/controllers/databases_controller.ex
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/lib/idai_field_server_web/controllers/databases_controller.ex
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/lib/idai_field_server_web/controllers/databases_controller.ex
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
defmodule IdaiFieldServerWeb.DatabasesController do use IdaiFieldServerWeb, :controller alias IdaiFieldServer.CouchdbDatastore def index conn, _params do databases = CouchdbDatastore.list_databases() render(conn, "index.html", error_message: nil, databases: databases) end def new conn, _params do ...
28.050847
72
0.667674
f784dc41a6f139681c0e34e7d7385dab520a78a6
6,125
exs
Elixir
priv/repo/seeds.exs
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "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: # # ElixirBank.Repo.insert!(%ElixirBank.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as the...
53.72807
844
0.760163
f784fa58b7092851881825e62524ae4ea97c2548
6,863
ex
Elixir
lib/asciinema/accounts/accounts.ex
potherca-contrib/asciinema-server
c5ac6e45e8f117d4d59c9c33da6b59b448e40f0e
[ "Apache-2.0" ]
null
null
null
lib/asciinema/accounts/accounts.ex
potherca-contrib/asciinema-server
c5ac6e45e8f117d4d59c9c33da6b59b448e40f0e
[ "Apache-2.0" ]
null
null
null
lib/asciinema/accounts/accounts.ex
potherca-contrib/asciinema-server
c5ac6e45e8f117d4d59c9c33da6b59b448e40f0e
[ "Apache-2.0" ]
null
null
null
defmodule Asciinema.Accounts do import Ecto.Query, warn: false import Ecto, only: [assoc: 2, build_assoc: 2] alias Asciinema.Accounts.{User, ApiToken} alias Asciinema.{Repo, Asciicasts, Email, Mailer} def create_asciinema_user!() do attrs = %{username: "asciinema", name: "asciinema", ...
26.913725
114
0.615474
f7850a95a11b93f62e34407a00c118ed9780074a
128
exs
Elixir
implementations/elixir/ockam/ockam_hub/test/test_helper.exs
piotr-cla/ockam
914cd3ec1620181ac64ad2fb13d843f3eb184464
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam_hub/test/test_helper.exs
piotr-cla/ockam
914cd3ec1620181ac64ad2fb13d843f3eb184464
[ "Apache-2.0" ]
110
2021-08-06T17:16:52.000Z
2022-03-28T17:20:54.000Z
implementations/elixir/ockam/ockam_hub/test/test_helper.exs
piotr-cla/ockam
914cd3ec1620181ac64ad2fb13d843f3eb184464
[ "Apache-2.0" ]
null
null
null
Application.ensure_all_started(:ockam) Application.ensure_all_started(:ockam_hub) ExUnit.start(capture_log: true, trace: true)
25.6
44
0.835938
f7850b5d9e29b0c258cbf737eeaf384c7e871d3a
2,449
exs
Elixir
config/dev.exs
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
null
null
null
config/dev.exs
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
1
2021-04-03T09:29:31.000Z
2021-04-03T09:29:31.000Z
config/dev.exs
isabella232/console-2
d4a4aca0e11c945c9698f46cb171d4645177038a
[ "Apache-2.0" ]
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 :console, ConsoleWeb.Endpoint, http: [port: 40...
29.506024
170
0.708452
f7854149b2db8e62b2e6b3f61cda55317b13b213
585
ex
Elixir
oeml-sdk/elixir/lib/oeml_restapi/model/ord_status.ex
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
357
2017-05-29T15:09:19.000Z
2022-03-30T15:34:10.000Z
oeml-sdk/elixir/lib/oeml_restapi/model/ord_status.ex
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
68
2017-12-15T15:39:14.000Z
2022-02-11T11:28:17.000Z
oeml-sdk/elixir/lib/oeml_restapi/model/ord_status.ex
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
199
2017-06-01T07:51:14.000Z
2022-03-25T11:52:28.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule OEML-RESTAPI.Model.OrdStatus do @moduledoc """ Order statuses and the lifecycle are documented in the separate section: <a href=\"#oeml-order-life...
22.5
152
0.704274