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
74004d1733a1b824ad9ad0a44a1b2b9d3b13e99d
1,428
ex
Elixir
lib/ada/cli/format/html.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
7
2019-05-11T12:14:48.000Z
2021-04-02T18:42:51.000Z
lib/ada/cli/format/html.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
3
2019-05-11T08:01:47.000Z
2019-05-14T12:06:50.000Z
lib/ada/cli/format/html.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
1
2021-01-06T14:57:32.000Z
2021-01-06T14:57:32.000Z
defmodule Ada.CLI.Format.HTML do @moduledoc """ Experimental shell-based HTML renderer. """ alias Ada.CLI.Markup @doc """ Prints an html tree (as specified in `t:Floki.html_tree/0`) as an io list (with colors). """ @spec pp(Floki.html_tree() | String.t()) :: [binary] def pp(nodes) when is_list(nod...
24.62069
68
0.620448
74006970a678730d505ddd2d72d29b44724e833c
1,990
ex
Elixir
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_diff_upload_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_diff_upload_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_diff_upload_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.54717
117
0.747236
7400eceab9b77f49f1a0e79f050f075afcc049c4
303
exs
Elixir
plugins/one_chat/priv/repo/migrations/03320170331201928_add_emoji_fields_to_accounts.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_chat/priv/repo/migrations/03320170331201928_add_emoji_fields_to_accounts.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_chat/priv/repo/migrations/03320170331201928_add_emoji_fields_to_accounts.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneChat.Repo.Migrations.AddEmojiFieldsToAccounts do use Ecto.Migration def change do alter table(:accounts) do add :emoji_category, :string, default: "people", null: false add :emoji_tone, :integer, default: 0, null: false add :emoji_recent, :text end end end
25.25
66
0.70297
7400f3586f855c2db084e4611cc5a0f2f9ec5d19
16,365
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/pretargeting_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/pretargeting_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/pretargeting_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "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.914634
187
0.624687
7401018362e0d6666e141a41a2d151a4fe2dad1e
1,559
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/import_read_group_sets_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/genomics/lib/google_api/genomics/v1/model/import_read_group_sets_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/import_read_group_sets_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
32.479167
100
0.751764
740108ba7722281792fa7186eca7f72736ac668b
1,016
ex
Elixir
lib/erflow/model/tasks.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
lib/erflow/model/tasks.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
lib/erflow/model/tasks.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
defmodule Erflow.Model.Task do use Ecto.Schema import Ecto.Changeset @primary_key {:task_id, :binary_id, autogenerate: true} schema "tasks" do field :name, :string field :mod, :string field :fun, :string field :args, {:array, :string} belongs_to :dag, Erflow.Model.Dag, references: :dag_id...
35.034483
147
0.707677
74013d3dbb279273da4a0516ed882020153ce5e1
363
exs
Elixir
test/report_management_test.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
test/report_management_test.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
test/report_management_test.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
defmodule Multicloud.Ingram.ReportManagementTest do use ExUnit.Case alias Ingram.Marketplace.Model alias Ingram.Marketplace.ReportManagement test "Report Management" do assert {:ok, %{:data => data}} = ReportManagement.get_reports() id = Enum.at(data, 0).id assert {:ok, %Model.ReportItem{}} = Repor...
30.25
77
0.738292
74015523102745eb3e010c5a27341cd5b161363e
393
exs
Elixir
apps/bookmarker/priv/repo/migrations/20161013014050_create_bookmark_tag.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/bookmarker/priv/repo/migrations/20161013014050_create_bookmark_tag.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/bookmarker/priv/repo/migrations/20161013014050_create_bookmark_tag.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Bookmarker.Repo.Migrations.CreateBookmarkTag do use Ecto.Migration def change do create table(:bookmarks_tags) do add :bookmark_id, references(:bookmarks, on_delete: :nothing) add :tag_id, references(:tags, on_delete: :nothing) timestamps() end create index(:bookmarks_tags,...
24.5625
67
0.712468
740164627e7054ef2b04a7685f9e4d9e6d1beefa
1,757
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/field_transform.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/field_transform.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/field_transform.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
33.788462
126
0.742174
740176fe064dc4283f5ea46cf457e66518dbcc1c
3,202
ex
Elixir
lib/erps.ex
ityonemo/erps
f3cd859313941b9838c91a32e9c32e84194b0bb5
[ "BSD-3-Clause" ]
4
2020-03-06T19:04:35.000Z
2021-01-01T21:23:03.000Z
lib/erps.ex
ityonemo/erps
f3cd859313941b9838c91a32e9c32e84194b0bb5
[ "BSD-3-Clause" ]
27
2020-02-25T01:45:00.000Z
2020-07-02T18:39:22.000Z
lib/erps.ex
ityonemo/erps
f3cd859313941b9838c91a32e9c32e84194b0bb5
[ "BSD-3-Clause" ]
null
null
null
defmodule Erps do @moduledoc """ Erps is an OTP-compliant remote protocol service The general purpose of Erps is to extend the GenServer primitives over public networks using two-way TLS authentication and encryption *without* using OTP standard distribution, for cases when: 1. Latency, reliability, or n...
39.04878
82
0.756402
74018b4816f7054b71fe77a9c21eb114fa4afbf6
942
ex
Elixir
lib/absinthe/plug/parser.ex
mjason/absinthe_plug_cn
230896e5a01b751076b12aa157ca84da0f650acd
[ "BSD-3-Clause" ]
null
null
null
lib/absinthe/plug/parser.ex
mjason/absinthe_plug_cn
230896e5a01b751076b12aa157ca84da0f650acd
[ "BSD-3-Clause" ]
null
null
null
lib/absinthe/plug/parser.ex
mjason/absinthe_plug_cn
230896e5a01b751076b12aa157ca84da0f650acd
[ "BSD-3-Clause" ]
null
null
null
defmodule Absinthe.Plug.Parser do @moduledoc """ Extracts the GraphQL request body. For use with `Plug.Parsers`, as in the example below. ## Examples Should be used with `Plug.Parsers`, before `Absinthe.Plug`: plug Plug.Parsers, parsers: [:urlencoded, :multipart, :json, Absinthe.Plug.Parser]...
23.55
72
0.604034
7401901262206086efd333699f1aa2f020b10f96
1,515
ex
Elixir
clients/access_approval/lib/google_api/access_approval/v1/model/approve_approval_request_message.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/access_approval/lib/google_api/access_approval/v1/model/approve_approval_request_message.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/access_approval/lib/google_api/access_approval/v1/model/approve_approval_request_message.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.234043
99
0.751155
7401914c85c3f4f31b9357de654a7db276ea67b0
1,980
exs
Elixir
mix.exs
cabol/nebulex_cluster
8f06865d77dbb41405e76efff73815d67ba3ac26
[ "MIT" ]
3
2019-03-24T20:07:41.000Z
2019-06-25T16:44:31.000Z
mix.exs
cabol/nebulex_cluster
8f06865d77dbb41405e76efff73815d67ba3ac26
[ "MIT" ]
2
2019-05-11T02:17:48.000Z
2019-05-11T02:54:03.000Z
mix.exs
cabol/nebulex_cluster
8f06865d77dbb41405e76efff73815d67ba3ac26
[ "MIT" ]
null
null
null
defmodule NebulexCluster.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :nebulex_cluster, version: @version, elixir: "~> 1.7", deps: deps(), # Docs name: "NebulexCluster", docs: docs(), # Testing test_coverage: [tool: ExCoveralls]...
22
71
0.539394
7401d940a5ebd1272c45cf0f30ed27c6cbce9b26
2,494
ex
Elixir
project2/lib/PushSum_Default_Actor.ex
DuncanPro64/gossip-push-sum-protocol
776ca042f30dd00cc3b54a74901a7ec2d1abee67
[ "MIT" ]
5
2019-02-25T16:55:26.000Z
2021-05-16T09:45:15.000Z
project2/lib/PushSum_Default_Actor.ex
DuncanPro64/gossip-push-sum-protocol
776ca042f30dd00cc3b54a74901a7ec2d1abee67
[ "MIT" ]
null
null
null
project2/lib/PushSum_Default_Actor.ex
DuncanPro64/gossip-push-sum-protocol
776ca042f30dd00cc3b54a74901a7ec2d1abee67
[ "MIT" ]
5
2017-10-25T17:11:31.000Z
2021-09-30T03:49:24.000Z
defmodule GossipSimulator.PushSum_Default_Actor do use GenServer require Logger @node_registry_name :node_registry def start_link(node_id,neighboursList,nodes_to_ping) when is_integer(node_id) do GenServer.start_link(__MODULE__, [node_id,neighboursList,nodes_to_ping], name: via_tuple(no...
37.223881
130
0.577787
7402069dba60593241e4cf1d43a8d8372ccdb77e
1,637
exs
Elixir
apps/service_acquire/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/service_acquire/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/service_acquire/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule Acquire.MixProject do use Mix.Project def project do [ app: :service_acquire, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", elixirc_paths: eli...
27.745763
57
0.53818
74021a75a32cdc84a674b0754207ffd3e83849c9
3,101
ex
Elixir
web/views/format_helpers.ex
lee-dohm/ship-designer
641b6f44aa5efc676ee3f9251618eeafb2b89bad
[ "MIT" ]
1
2020-01-26T18:06:25.000Z
2020-01-26T18:06:25.000Z
web/views/format_helpers.ex
lee-dohm/ship-designer
641b6f44aa5efc676ee3f9251618eeafb2b89bad
[ "MIT" ]
null
null
null
web/views/format_helpers.ex
lee-dohm/ship-designer
641b6f44aa5efc676ee3f9251618eeafb2b89bad
[ "MIT" ]
null
null
null
defmodule ShipDesigner.FormatHelpers do @moduledoc """ Conveniences for formatting common values. """ @doc """ Formats an amount of distance for display. ## Options * `:with_unit` - Displays the distance with the given unit designation (defaults to `km`) """ def format_distance(distance, options \\...
27.6875
108
0.663012
740230989746bb2c1ea173a6a6c90030672387c3
7,190
exs
Elixir
test/get_directions_test.exs
susana-garcia/ex_maps
a0debf01d0322d95b22a438d7481d2842d3e6d10
[ "MIT" ]
5
2018-09-09T19:05:59.000Z
2019-02-15T15:11:48.000Z
test/get_directions_test.exs
susana-garcia/ex_maps
a0debf01d0322d95b22a438d7481d2842d3e6d10
[ "MIT" ]
2
2019-02-12T18:12:07.000Z
2019-02-19T11:32:28.000Z
test/get_directions_test.exs
susana-garcia/ex_maps
a0debf01d0322d95b22a438d7481d2842d3e6d10
[ "MIT" ]
3
2019-02-06T11:25:12.000Z
2020-07-28T16:36:23.000Z
defmodule GetDirectionsTest do use ExUnit.Case # Due to a query limit while using free API key only 10 tests can be run in one go. # Therefore there will be 11 tests with random params defined. However, I will leave # cases commented so you will be able to use them with your commercial keys. test ": can get...
29.710744
98
0.627677
74024e3f969238e2b4c45faee667b983c97ffa2f
1,744
ex
Elixir
chromoid_web/lib/chromoid/devices/nfc/webhook.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
7
2020-11-18T11:29:20.000Z
2022-01-16T03:16:14.000Z
chromoid_web/lib/chromoid/devices/nfc/webhook.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
null
null
null
chromoid_web/lib/chromoid/devices/nfc/webhook.ex
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
1
2021-01-06T15:40:46.000Z
2021-01-06T15:40:46.000Z
defmodule Chromoid.Devices.NFC.WebHook do use Ecto.Schema import Ecto.Changeset alias Chromoid.Devices.NFC.WebHook @json_library Application.get_env(:phoenix, :json_library) || Jason schema "nfc_webhooks" do belongs_to :nfc_iso14443a, Chromoid.Devices.NFC.ISO14443a field :url, :string, null: false ...
27.68254
99
0.672592
7402730012306e5a4a75a66fa3b2e229a5504102
4,085
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/service_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/service_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/service_spec.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...
62.846154
297
0.75814
74027a1cf7d0eba4881dac1b26d6b9ce075bff69
1,709
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/personal_application_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_management/lib/google_api/android_management/v1/model/personal_application_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_management/lib/google_api/android_management/v1/model/personal_application_policy.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...
34.18
97
0.737273
7402916bbbae5ba44ec38b5c1bd6e4c85aa6851e
4,720
ex
Elixir
kousa/lib/beef/mutations/users.ex
Jawkx/dogehouse
eea5954aec56961a3c0144289e2ed4da739739c3
[ "MIT" ]
1
2021-04-19T19:32:51.000Z
2021-04-19T19:32:51.000Z
kousa/lib/beef/mutations/users.ex
Jawkx/dogehouse
eea5954aec56961a3c0144289e2ed4da739739c3
[ "MIT" ]
null
null
null
kousa/lib/beef/mutations/users.ex
Jawkx/dogehouse
eea5954aec56961a3c0144289e2ed4da739739c3
[ "MIT" ]
1
2021-03-12T21:31:01.000Z
2021-03-12T21:31:01.000Z
defmodule Beef.Mutations.Users do import Ecto.Query, warn: false alias Beef.Repo alias Beef.Schemas.User alias Beef.Queries.Users, as: Query alias Beef.RoomPermissions def edit_profile(user_id, data) do %User{id: user_id} |> User.edit_changeset(data) |> Repo.update() end def delete(user_i...
24.081633
97
0.547458
74029ca697e2d78f58a9a42538028d93adf9b856
7,121
exs
Elixir
.credo.exs
kianmeng/ex_ms
e51be0527cc850e03fb9091c4680b7199dccaffd
[ "MIT" ]
2
2020-10-22T20:47:17.000Z
2020-10-23T08:37:18.000Z
.credo.exs
kianmeng/ex_ms
e51be0527cc850e03fb9091c4680b7199dccaffd
[ "MIT" ]
1
2021-12-15T01:24:49.000Z
2021-12-15T01:24:49.000Z
.credo.exs
kianmeng/ex_ms
e51be0527cc850e03fb9091c4680b7199dccaffd
[ "MIT" ]
1
2020-10-23T12:05:39.000Z
2020-10-23T12:05:39.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
38.284946
97
0.61115
7402acc912ac4dee337e340cdcabff50742e6027
2,344
exs
Elixir
test/serum/build/file_processor/post_test.exs
afontaine/Serum
f2c410d086c235332e047afdc6a3c6e6c6f6fca8
[ "MIT" ]
null
null
null
test/serum/build/file_processor/post_test.exs
afontaine/Serum
f2c410d086c235332e047afdc6a3c6e6c6f6fca8
[ "MIT" ]
null
null
null
test/serum/build/file_processor/post_test.exs
afontaine/Serum
f2c410d086c235332e047afdc6a3c6e6c6f6fca8
[ "MIT" ]
null
null
null
defmodule Serum.Build.FileProcessor.PostTest do use ExUnit.Case, async: true require Serum.TestHelper import Serum.TestHelper, only: :macros alias Serum.Build.FileProcessor.Post, as: PostProcessor alias Serum.Project.Loader, as: ProjectLoader setup_all do {:ok, proj} = ProjectLoader.load(fixture("proj/...
27.255814
77
0.549915
7402b7ed96786b3a1771a7c5e2aa7352badb1698
7,470
ex
Elixir
farmbot_firmware/lib/farmbot_firmware/gcode/decoder.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/gcode/decoder.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/gcode/decoder.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
defmodule FarmbotFirmware.GCODE.Decoder do @moduledoc false alias FarmbotFirmware.{GCODE, Param} @doc false @spec do_decode(binary(), [binary()]) :: {GCODE.kind(), GCODE.args()} def do_decode("R00", []), do: {:report_idle, []} def do_decode("R01", []), do: {:report_begin, []} def do_decode("R02", []), d...
30.867769
78
0.597323
7402cc3b23ecb92893098540b850390bc1d5fed2
83
ex
Elixir
live_view_studio/lib/live_view_studio_web/views/user_settings_view.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio_web/views/user_settings_view.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio_web/views/user_settings_view.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
defmodule LiveViewStudioWeb.UserSettingsView do use LiveViewStudioWeb, :view end
20.75
47
0.855422
74031af6959110d0c2dbf833de6f0114b5c9707c
886
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 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.814815
74
0.759594
74032ff902b3049b23d8e4d01f927e95410ef920
1,243
exs
Elixir
apps/admin_panel/mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_panel/mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_panel/mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminPanel.Mixfile do use Mix.Project def project do [ app: :admin_panel, version: "0.1.0-beta", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", elixirc_paths: el...
24.372549
56
0.580853
7403662bf177779f525b8bcdceee0d2759d9dce6
2,425
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/date.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/date.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/date.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.754717
575
0.717938
740368e1e8028e9af064182b8a04a2f4ba164a54
1,273
exs
Elixir
apps/gitgud/mix.exs
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
1
2019-09-08T07:48:10.000Z
2019-09-08T07:48:10.000Z
apps/gitgud/mix.exs
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
null
null
null
apps/gitgud/mix.exs
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
null
null
null
defmodule GitGud.Mixfile do use Mix.Project def project do [app: :gitgud, version: "0.2.8", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), s...
25.46
76
0.540456
7403804317827642d6ea63f45af0c10b2b0952c9
819
exs
Elixir
spinners/elixir/spinner_task.exs
lucasrcosta/concorrencia2020
3e2661e2b124f220dabaf5a45830c15362a08fb2
[ "BSD-3-Clause" ]
43
2019-09-10T13:41:05.000Z
2021-07-03T09:46:09.000Z
spinners/elixir/spinner_task.exs
lucasrcosta/concorrencia2020
3e2661e2b124f220dabaf5a45830c15362a08fb2
[ "BSD-3-Clause" ]
1
2020-04-21T14:27:41.000Z
2020-04-21T14:35:25.000Z
spinners/elixir/spinner_task.exs
lucasrcosta/concorrencia2020
3e2661e2b124f220dabaf5a45830c15362a08fb2
[ "BSD-3-Clause" ]
19
2019-09-22T06:23:18.000Z
2021-04-27T20:57:36.000Z
#! /usr/bin/env elixir defmodule Spinner do @spinner_chars String.graphemes("⠇⠋⠙⠸⠴⠦") def spin(computation, msg, char_idx \\ 0) do char = Enum.at(@spinner_chars, char_idx) status = "\r#{char} #{msg}" case Task.yield(computation, 100) do {:ok, result} -> blanks = String.duplicate(" ", Str...
21.552632
61
0.605617
740389f074a984a8fbef244b0b2313a6b62a85ff
197
ex
Elixir
lib/phone/pw.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/pw.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/pw.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.PW do @moduledoc false use Helper.Country def regex, do: ~r/^(680)()(.{7})/ def country, do: "Palau" def a2, do: "PW" def a3, do: "PLW" matcher :regex, ["680"] end
15.153846
35
0.593909
7403a782a9594663c3826b10f22fef5394e075b2
10,164
exs
Elixir
test/captain_hook/test/assertions_test.exs
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
4
2020-11-13T11:27:24.000Z
2021-08-19T17:28:53.000Z
test/captain_hook/test/assertions_test.exs
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
null
null
null
test/captain_hook/test/assertions_test.exs
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
null
null
null
defmodule CaptainHook.Test.AssertionsTest do use ExUnit.Case, async: true use CaptainHook.DataCase import CaptainHook.Test.Assertions describe "assert_webhook_conversation_created/0" do test "when the webhook_conversation is found" do webhook_notification = insert!(:webhook_notification) inse...
31.7625
134
0.666175
7403a963a655f796291b95b1fb8dfaa5f425f9bb
7,563
exs
Elixir
test/integration/tags_test.exs
jalcine/solid
845104b6c5c065f3930e16e3e45573f8fb0f0957
[ "MIT" ]
null
null
null
test/integration/tags_test.exs
jalcine/solid
845104b6c5c065f3930e16e3e45573f8fb0f0957
[ "MIT" ]
null
null
null
test/integration/tags_test.exs
jalcine/solid
845104b6c5c065f3930e16e3e45573f8fb0f0957
[ "MIT" ]
null
null
null
defmodule Solid.Integration.TagsTest do use ExUnit.Case, async: true import Solid.Helpers describe "if" do test "true expression" do assert render("{% if 1 == 1 %}True{% endif %} is True", %{"key" => 123}) == "True is True" end test "false expression" do assert render("{% if 1 != 1 %}Tru...
22.711712
98
0.448631
7403c048e7912aa21499f0a39585b7385189cb75
4,492
ex
Elixir
lib/web/router.ex
notriddle-cerebrum/bors-ng
7a7d8408e2dea09e928a476ac72fd3a8b4d6d216
[ "Apache-2.0" ]
null
null
null
lib/web/router.ex
notriddle-cerebrum/bors-ng
7a7d8408e2dea09e928a476ac72fd3a8b4d6d216
[ "Apache-2.0" ]
null
null
null
lib/web/router.ex
notriddle-cerebrum/bors-ng
7a7d8408e2dea09e928a476ac72fd3a8b4d6d216
[ "Apache-2.0" ]
1
2018-10-18T13:42:34.000Z
2018-10-18T13:42:34.000Z
defmodule BorsNG.Router do @moduledoc """ This module maps from URLs to controllers and plugs. It layers on pre-filters, primarily the session, flash, CSRF protection, secure headers, and user authentication part of the session. """ @wobserver_url Confex.fetch_env!(:wobserver, :remote_url_prefix) use ...
27.558282
78
0.692119
7403e3c458bc90a73576f485a1e075144da23f8c
667
exs
Elixir
mix.exs
vic/ultimate-voltron-ex
7bbe219e71c3c3d6d9361f3afc5da85d45ea4a5f
[ "Apache-2.0" ]
1
2016-05-01T15:29:19.000Z
2016-05-01T15:29:19.000Z
mix.exs
vic/ultimate-voltron-ex
7bbe219e71c3c3d6d9361f3afc5da85d45ea4a5f
[ "Apache-2.0" ]
1
2016-05-01T23:52:13.000Z
2018-03-18T21:37:37.000Z
mix.exs
vic/ultimate-voltron-ex
7bbe219e71c3c3d6d9361f3afc5da85d45ea4a5f
[ "Apache-2.0" ]
1
2016-05-01T15:45:29.000Z
2016-05-01T15:45:29.000Z
defmodule Voltron.Mixfile do use Mix.Project def project do [app: :voltron, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.app" for more...
20.212121
77
0.608696
7403fdf48160d7809e1789e920fe97e54927d3de
929
ex
Elixir
test/support/channel_case.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
test/support/channel_case.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
test/support/channel_case.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
defmodule HabexWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts with...
24.447368
67
0.713671
7404031db9e8f1aa6a3a669d6e259a11d602f1be
2,108
ex
Elixir
lib/vutuv_web/controllers/api/authorize.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
lib/vutuv_web/controllers/api/authorize.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
lib/vutuv_web/controllers/api/authorize.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule VutuvWeb.Api.Authorize do @moduledoc """ Functions to help with authorization. """ import Plug.Conn import Phoenix.Controller @doc """ Overrides the controller module's action function with a current_user check. """ def auth_action_slug( %Plug.Conn{params: params, assigns: %{curren...
26.683544
98
0.651328
74043fa3fb27e5be6dd64ec85c5bbfd0ba7235d7
1,785
ex
Elixir
lib/timber/events/controller_call_event.ex
axelson/timber-elixir
def9de8ebbb64a6f6d5dd85f8958d8b24f8d6c31
[ "0BSD" ]
244
2016-10-10T15:30:32.000Z
2021-08-11T08:45:53.000Z
lib/timber/events/controller_call_event.ex
axelson/timber-elixir
def9de8ebbb64a6f6d5dd85f8958d8b24f8d6c31
[ "0BSD" ]
242
2016-10-10T19:34:44.000Z
2020-11-20T18:56:43.000Z
lib/timber/events/controller_call_event.ex
axelson/timber-elixir
def9de8ebbb64a6f6d5dd85f8958d8b24f8d6c31
[ "0BSD" ]
35
2016-12-04T07:33:04.000Z
2020-06-17T20:22:11.000Z
defmodule Timber.Events.ControllerCallEvent do @deprecated_message ~S""" The `Timber.Events.ControllerCallEvent` module is deprecated in favor of using `map`s. The next evolution of Timber (2.0) no long requires a strict schema and therefore simplifies how users log events. To easily migrate, please install...
23.486842
92
0.647619
74045b2b7be561700d965d9e33b44a9cc1e67990
183
exs
Elixir
.formatter.exs
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
377
2018-04-05T03:36:00.000Z
2022-03-30T19:12:44.000Z
.formatter.exs
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
91
2018-05-24T21:56:06.000Z
2022-02-26T03:54:04.000Z
.formatter.exs
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
34
2018-05-29T03:54:35.000Z
2022-01-13T07:12:46.000Z
[ import_deps: [:ecto, :phoenix, :absinthe, :distillery], inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"], subdirectories: ["priv/*/migrations"] ]
30.5
80
0.595628
7404e13309864cced8d0be67fcd8a2f22f72221e
646
ex
Elixir
lib/hl7/2.5/segments/cdm.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/cdm.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/cdm.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.CDM do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, primary_key_value_cdm: DataTypes.Ce, charge_code_alias: DataTypes.Ce, charge_description_short: nil, charge_description_long: nil, desc...
25.84
43
0.702786
7404ed2493d66b2ae906110d49fe14c96659fe7c
1,834
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_custom_batch_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.68
186
0.746456
740505bd83a4f284a6191f7c67e9685ba97f4fb5
26,366
ex
Elixir
lib/comtac_klax.ex
FelixW0lf/element-parsers
cced91b2299a3c9e9dbe8cd7b9863d4f64adaf19
[ "MIT" ]
1
2021-11-10T18:06:59.000Z
2021-11-10T18:06:59.000Z
lib/comtac_klax.ex
FelixW0lf/element-parsers
cced91b2299a3c9e9dbe8cd7b9863d4f64adaf19
[ "MIT" ]
null
null
null
lib/comtac_klax.ex
FelixW0lf/element-parsers
cced91b2299a3c9e9dbe8cd7b9863d4f64adaf19
[ "MIT" ]
null
null
null
defmodule Parser do use Platform.Parsing.Behaviour require Logger # ELEMENT IoT Parser for Comtac KLAX device. # Changelog # 2019-02-13 [nk]: Initial Version by Niklas, registers and interval fixed. # 2019-03-04 [jb]: Skipping invalid backdated values when value==0.0; Added mode "Logarex" # 2019-0...
38.156295
203
0.549761
7405213c2f96ffcbb40227a3d5d0d27c077569ea
178
exs
Elixir
priv/repo/migrations/20170115171719_convert_style_code_to_text_type.exs
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
priv/repo/migrations/20170115171719_convert_style_code_to_text_type.exs
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
priv/repo/migrations/20170115171719_convert_style_code_to_text_type.exs
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
defmodule AtomTweaks.Repo.Migrations.ConvertStyleCodeToTextType do use Ecto.Migration def change do alter table(:styles) do modify(:code, :text) end end end
17.8
66
0.724719
74052d291dd4884acd9a4bb9f49975f0916ed7b4
1,970
ex
Elixir
clients/gke_hub/lib/google_api/gke_hub/v1/model/identity_service_auth_method.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/gke_hub/lib/google_api/gke_hub/v1/model/identity_service_auth_method.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/gke_hub/lib/google_api/gke_hub/v1/model/identity_service_auth_method.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...
37.169811
135
0.726396
740565ad5155449b2b13a06a04d22e003bd51d49
2,773
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/product_visibility.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/product_visibility.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/product_visibility.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
54.372549
1,136
0.745402
7405749b7acdd1080394d06cd45e0ce0ce429ee2
424
ex
Elixir
lib/fuzzy_match/iterator.ex
alvesdan/fuzzy_match
757122189379a8deed908b2013281b2debce052a
[ "MIT" ]
null
null
null
lib/fuzzy_match/iterator.ex
alvesdan/fuzzy_match
757122189379a8deed908b2013281b2debce052a
[ "MIT" ]
null
null
null
lib/fuzzy_match/iterator.ex
alvesdan/fuzzy_match
757122189379a8deed908b2013281b2debce052a
[ "MIT" ]
null
null
null
defmodule FuzzyMatch.Iterator do defstruct [ files: %{} ] def find_match(iterator, pattern, file) do points = FuzzyMatch.Pattern.match?(pattern, file) add_file(iterator, file, points) end def add_file(iterator, file, points) when points > 20 do files = Map.merge(iterator.files, %{ file => points }...
28.266667
58
0.695755
740582a449cc7c4237f2036adc769085e4a3e11a
19,994
ex
Elixir
lib/phoenix/live_dashboard/page_builder.ex
romkor/phoenix_live_dashboard
66424a9367cf676f62c7c152b95da8931ad92a3f
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/page_builder.ex
romkor/phoenix_live_dashboard
66424a9367cf676f62c7c152b95da8931ad92a3f
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/page_builder.ex
romkor/phoenix_live_dashboard
66424a9367cf676f62c7c152b95da8931ad92a3f
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.PageBuilder do @moduledoc """ Page builder is the default mechanism for building custom dashboard pages. Each dashboard page is a LiveView with additional callbacks for customizing the menu appearance. One notable difference, however, is that a page implements a `render_page/1...
29.359765
107
0.586876
740599259619d79d5a6ee63eb568b2268066a4a0
155
exs
Elixir
test/test_helper.exs
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
24
2019-08-19T02:53:06.000Z
2022-03-13T14:41:08.000Z
test/test_helper.exs
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
4
2020-04-02T02:05:52.000Z
2022-03-18T00:56:23.000Z
test/test_helper.exs
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
2
2019-10-28T15:38:47.000Z
2021-03-24T17:43:27.000Z
ExUnit.start() with {:ok, files} = File.ls("./test/support") do Enum.each files, fn(file) -> Code.require_file "support/#{file}", __DIR__ end end
19.375
48
0.645161
74059dae52205c40a7b0985b05e428d08dd92040
1,657
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/list_locations_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/list_locations_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/list_locations_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 "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...
33.14
122
0.756789
74059dcc352b061cd8f8e7855efddc12b782e8e5
71
exs
Elixir
test/test_helper.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
test/test_helper.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
3
2020-07-16T05:37:16.000Z
2022-03-16T08:58:28.000Z
test/test_helper.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Hexedio.Repo, :manual)
14.2
53
0.760563
7405ca75bddbbc8acf758a7d5809d15e96a64101
2,054
exs
Elixir
mix.exs
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
1
2018-04-26T08:40:13.000Z
2018-04-26T08:40:13.000Z
mix.exs
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
14
2018-04-02T09:12:03.000Z
2019-10-08T04:43:39.000Z
mix.exs
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
2
2018-04-26T05:50:06.000Z
2021-09-01T18:48:43.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. dep_env_var = "ANTIKYTHERA_INSTANCE_DEP" help_message = """ #{dep_env_var} must be a proper mix dependency tuple! Example: {:instance_name, [git: "git@github.com:your-organization/antikythera_instance_name.git"]} """ instance_dep = case System.get_env...
32.09375
129
0.665531
7405cb94871036925a9ca0e03008546bbe8beb1b
1,290
exs
Elixir
test/functionality/arg_parse_test.exs
Tux9001/05AB1E
8b28b648961c19217cc8e481714e33a4a16f41c2
[ "MIT" ]
734
2015-12-23T01:53:01.000Z
2022-03-26T04:06:21.000Z
test/functionality/arg_parse_test.exs
Tux9001/05AB1E
8b28b648961c19217cc8e481714e33a4a16f41c2
[ "MIT" ]
166
2016-01-01T00:57:56.000Z
2022-03-25T19:11:54.000Z
test/functionality/arg_parse_test.exs
Tux9001/05AB1E
8b28b648961c19217cc8e481714e33a4a16f41c2
[ "MIT" ]
88
2015-12-23T17:20:19.000Z
2022-03-16T19:07:55.000Z
defmodule ArgParseTest do use ExUnit.Case alias Osabie.CLI alias OsabieProgramArguments def debug_params, do: %{:stack => false, :local_env => false, :global_env => false, :enabled => false, :test => false} test "normalize arguments" do assert CLI.normalize_args([{:debug, nil}]) == %Osabie...
71.666667
179
0.693798
74060968fe2c181f30d48b46947b3f49664cec6d
405
exs
Elixir
priv/repo/migrations/20180705032455_create_purchase_for_account.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20180705032455_create_purchase_for_account.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20180705032455_create_purchase_for_account.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.CreatePurchaseForAccount do use Ecto.Migration def change do create table(:purchases) do add(:user_id, references(:users, on_delete: :nothing), null: false) add(:theme, :boolean) add(:community_chart, :boolean) add(:brainwash_free, :boolean) ...
22.5
73
0.688889
740640bbbad29e9226c0291d02021f708f5a0ec7
476
exs
Elixir
.iex.exs
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
34
2021-04-15T22:16:38.000Z
2022-03-11T10:20:11.000Z
.iex.exs
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
32
2021-04-05T18:07:35.000Z
2021-11-04T19:32:58.000Z
.iex.exs
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
1
2021-10-11T15:53:42.000Z
2021-10-11T15:53:42.000Z
make_server = fn -> host = System.get_env("EVENTSTORE_HOST") || "localhost" secure_params = [ connection_string: "esdb://admin:changeit@#{host}:2113?tls=true", mint_opts: [ transport_opts: [ cacertfile: Path.join([__DIR__, "eventstoredb", "certs", "ca", "ca.crt"]) ] ] ] _insecu...
20.695652
81
0.62395
740646a6b9fd8d145d2ffab53a5d2a7d27109efe
3,924
ex
Elixir
lib/iona/template/engine.ex
mad42/iona
784cb4884f8dd158f618c15fa56d914f9be786c2
[ "Apache-2.0" ]
12
2019-11-26T14:52:53.000Z
2022-03-15T07:54:26.000Z
lib/iona/template/engine.ex
mad42/iona
784cb4884f8dd158f618c15fa56d914f9be786c2
[ "Apache-2.0" ]
12
2019-11-25T17:24:35.000Z
2021-07-19T17:50:52.000Z
lib/iona/template/engine.ex
mad42/iona
784cb4884f8dd158f618c15fa56d914f9be786c2
[ "Apache-2.0" ]
7
2019-11-25T17:25:39.000Z
2021-05-22T05:07:24.000Z
# Taken in part from the Phoenix HTML project, # https://github.com/phoenixframework/phoenix_html # credo:disable-for-this-file Credo.Check.Design.AliasUsage defmodule Iona.Template.Engine do @moduledoc false @behaviour EEx.Engine @anno (if :erlang.system_info(:otp_release) >= '19' do [generated: tru...
27.440559
91
0.655963
7406a88df0eedc3b3e0e1b0d9b184897381a1955
1,659
exs
Elixir
ex_github/config/dev.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
ex_github/config/dev.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
ex_github/config/dev.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :ex_github, ExGithub.Repo, username: "postgres", password: "postgres", database: "ex_github_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code relo...
28.603448
68
0.727547
7406a965897055f295c247782c10efbb64dbe666
1,710
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_inspect_job_trigger_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_inspect_job_trigger_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_inspect_job_trigger_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.897959
132
0.769591
7406ce096f8eacd07e380c822b4e76f6c1dd884d
3,043
exs
Elixir
test/flatbuffer_port_test.exs
Reimerei/elixir-flatbuffers
44d45bfbdfd027ad056d8fa5788663ab56ac92d4
[ "MIT" ]
26
2015-08-20T10:06:00.000Z
2022-01-14T12:33:58.000Z
test/flatbuffer_port_test.exs
Reimerei/elixir-flatbuffers
44d45bfbdfd027ad056d8fa5788663ab56ac92d4
[ "MIT" ]
2
2017-10-03T23:10:36.000Z
2019-09-16T01:36:48.000Z
test/flatbuffer_port_test.exs
Reimerei/elixir-flatbuffers
44d45bfbdfd027ad056d8fa5788663ab56ac92d4
[ "MIT" ]
3
2018-12-05T20:01:58.000Z
2021-06-21T01:25:48.000Z
defmodule FlatbufferPortTest do use ExUnit.Case def collect_response() do receive do {_port, {:data, data}} -> {:response, data} after 3000 -> :timeout end end test "start a port" do port = FlatbufferPort.open_port() assert is_port(port) assert is_list(Port.info(port)) ...
34.977011
91
0.680907
7406e306697199a149d9cd900d8665bfc172d1f8
1,979
exs
Elixir
config/config.exs
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
config/config.exs
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
config/config.exs
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "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...
34.719298
85
0.696817
74070475719dad407a82ec675dd3e850bae3858a
1,366
ex
Elixir
lib/scenic/primitive/circle.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/circle.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/circle.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on June 5, 2018. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.Circle do @moduledoc false use Scenic.Primitive @styles [:hidden, :fill, :stroke] # ============================================================================ # data ver...
27.32
80
0.452416
74076abe90eefe2c24fc9a88cde6bc93b0fee442
59
ex
Elixir
lib/habex_web/views/layout_view.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
lib/habex_web/views/layout_view.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
lib/habex_web/views/layout_view.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
defmodule HabexWeb.LayoutView do use HabexWeb, :view end
14.75
32
0.79661
74077204482a923a7fb27726dbab3368e6cbb0c8
4,139
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/guide_categories.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/guide_categories.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/guide_categories.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...
44.98913
196
0.650399
7407d806874c015992f447b273421138cfe1b7fa
1,010
ex
Elixir
lib/todo_app/application.ex
tarcisiooliveira/todo_app
2a5291390c64cc6a0a593b8d0f671ad899dea034
[ "MIT" ]
null
null
null
lib/todo_app/application.ex
tarcisiooliveira/todo_app
2a5291390c64cc6a0a593b8d0f671ad899dea034
[ "MIT" ]
null
null
null
lib/todo_app/application.ex
tarcisiooliveira/todo_app
2a5291390c64cc6a0a593b8d0f671ad899dea034
[ "MIT" ]
null
null
null
defmodule TodoApp.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository TodoApp.Repo, # Start the Telemetry supervisor TodoApp...
28.857143
65
0.70198
7407db2c9188e3c4f7cc10c031780c25b7e1b5b9
1,078
ex
Elixir
phoenix/test/support/conn_case.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/test/support/conn_case.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/test/support/conn_case.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
defmodule MehrSchulferienWeb.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 datastructures and query the data layer. Finally...
27.641026
77
0.730056
740832990fa1c82edff5fb988295683f80f28c81
3,497
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_status_bgp_peer_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_status_bgp_peer_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_status_bgp_peer_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...
45.415584
275
0.67944
74083f7774623b3277d0228c3b4d7192e62de3e8
323
exs
Elixir
priv/repo/migrations/20150623075120_user_grades.exs
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
48
2015-06-29T21:20:25.000Z
2021-05-09T04:27:41.000Z
priv/repo/migrations/20150623075120_user_grades.exs
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20150623075120_user_grades.exs
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
15
2015-06-29T21:13:57.000Z
2021-07-27T10:02:40.000Z
defmodule Survey.Repo.Migrations.UserGrades do use Ecto.Migration def change do create table(:user_grades) do add :user_id, :integer add :component, :text add :grade, :float add :cache_id, :integer add :submitted, :boolean end create index(:user_grades, [:user_id]) end e...
21.533333
46
0.659443
740857286ef5df9e55227ffdd18d1ba58f0d5cd6
229
ex
Elixir
lib/mimic/application.ex
moskyb/mimic
c52f4d9eed0790e955b7bcc85fa5ee4de21b8c89
[ "Apache-2.0" ]
null
null
null
lib/mimic/application.ex
moskyb/mimic
c52f4d9eed0790e955b7bcc85fa5ee4de21b8c89
[ "Apache-2.0" ]
null
null
null
lib/mimic/application.ex
moskyb/mimic
c52f4d9eed0790e955b7bcc85fa5ee4de21b8c89
[ "Apache-2.0" ]
null
null
null
defmodule Mimic.Application do use Application alias Mimic.Server @moduledoc false def start(_, _) do children = [Server] Supervisor.start_link(children, name: Mimic.Supervisor, strategy: :one_for_one) end end
20.818182
83
0.737991
740859c7174f2e6d867097cb2853d349c724bb23
3,160
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/region.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/region.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/region.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
41.578947
135
0.693354
74085e9a21bef1b9e5bb689fba71f2d86d61ca33
4,503
ex
Elixir
lib/blue_heron/hci/commands/controller_and_baseband/set_event_mask.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/hci/commands/controller_and_baseband/set_event_mask.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/hci/commands/controller_and_baseband/set_event_mask.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.HCI.Command.ControllerAndBaseband.SetEventMask do use BlueHeron.HCI.Command.ControllerAndBaseband, ocf: 0x0001 @moduledoc """ Reset the baseband * OGF: `#{inspect(@ogf, base: :hex)}` * OCF: `#{inspect(@ocf, base: :hex)}` * Opcode: `#{inspect(@opcode)}` Bluetooth Spec v5.2, Vol 4, Pa...
35.179688
421
0.657117
74087cd8de4f25020ce2ac5a807a05c65489c341
2,732
ex
Elixir
deps/earmark/lib/earmark/parser.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/earmark/lib/earmark/parser.ex
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/earmark/lib/earmark/parser.ex
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Earmark.Parser do alias Earmark.Block alias Earmark.Line import Earmark.Message, only: [add_messages: 2] import Earmark.Options, only: [get_mapper: 1] def parse(text_lines), do: parse(text_lines, %Earmark.Options{}, false) def parse(text_lines, options = %Earmark.Options{}, recursive) do ...
34.15
123
0.609078
74089a77783ada3c68f6f8bd4c241396f0f1de05
982
ex
Elixir
lib/surface/io_helper.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
1
2021-06-04T20:46:52.000Z
2021-06-04T20:46:52.000Z
lib/surface/io_helper.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
lib/surface/io_helper.ex
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
defmodule Surface.IOHelper do @moduledoc false def warn(message, caller, update_line_fun) do stacktrace = caller |> Macro.Env.stacktrace() |> update_line(update_line_fun) IO.warn(message, stacktrace) end @spec compile_error(String.t(), String.t(), integer()) :: no_return() def com...
25.842105
76
0.638493
7408d443261a1a3cd37b18c39ce6557129fe2954
1,280
exs
Elixir
mix.exs
xio/emqx
e213feb1c8fe95ae2c10ff87d2cecef3a66b5279
[ "Apache-2.0" ]
null
null
null
mix.exs
xio/emqx
e213feb1c8fe95ae2c10ff87d2cecef3a66b5279
[ "Apache-2.0" ]
null
null
null
mix.exs
xio/emqx
e213feb1c8fe95ae2c10ff87d2cecef3a66b5279
[ "Apache-2.0" ]
null
null
null
defmodule Emqx.MixProject do use Mix.Project def project do [ app: :emqx, version: "4.2.0", description: "EMQ X Broker", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, erlc_paths: ["src"], elixirc_options: [warnings_as_errors: true], deps: deps() ] end...
21.333333
55
0.485938
74090429e322b689552ae8b9614536fe9cbbd93a
997
ex
Elixir
lib/type/_operators.ex
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
97
2020-09-22T01:52:19.000Z
2022-03-21T17:50:13.000Z
lib/type/_operators.ex
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
106
2020-09-22T18:55:28.000Z
2021-11-30T01:51:04.000Z
lib/type/_operators.ex
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
3
2020-10-27T22:36:56.000Z
2022-01-25T21:00:24.000Z
defmodule Type.Operators do @moduledoc """ Convenience functions. Should only be used in testing. """ defmacro __using__(_opts) do quote do import Kernel, except: [>: 2, <: 2, <=: 2, >=: 2, in: 2] import Type.Operators, only: [<~>: 2, <|>: 2, ~>: 2, >: 2, <: 2, <=: 2, >=: 2, in: 2] end e...
23.186047
91
0.53661
74090835228c3b56ab53e36a19a4978ecffc3ebf
270
ex
Elixir
lib/phone/nanp/ca/ab.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/nanp/ca/ab.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/nanp/ca/ab.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.NANP.CA.AB do @moduledoc false use Helper.Area def regex, do: ~r/^(1)(403|780|587|825)([2-9].{6})$/ def area_name, do: "Alberta" def area_type, do: "province" def area_abbreviation, do: "AB" matcher(["1403", "1780", "1587", "1825"]) end
20.769231
54
0.633333
7409167ac75fbb151b190f8a81c35207081bf7a3
2,648
exs
Elixir
apps/artemis/test/artemis/schemas/user_team_test.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/test/artemis/schemas/user_team_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/test/artemis/schemas/user_team_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.UserTeamTest do use Artemis.DataCase use ExUnit.Case, async: true import Ecto.Repo import Artemis.Factories alias Artemis.Repo alias Artemis.Team alias Artemis.UserTeam alias Artemis.User @preload [:created_by, :team, :user] describe "associations - created by" do setup do ...
26.48
107
0.666541
740977e915d2335b47b74be9cd0d75c35d6b217c
174
ex
Elixir
lib/app.ex
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
20
2015-06-18T03:30:58.000Z
2021-01-11T19:55:00.000Z
lib/app.ex
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
1
2015-06-24T01:03:31.000Z
2015-06-24T12:41:21.000Z
lib/app.ex
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
7
2015-06-22T14:25:12.000Z
2016-01-21T03:39:02.000Z
defmodule Elirc.App do @moduledoc """ Entry point for the ExIrc application. """ use Application def start(_type, _args) do Elirc.start _type, _args end end
15.818182
40
0.689655
740988ef2943685ac6fb2cba313aff4c94eea4ee
654
exs
Elixir
apps/snitch_core/test/data/schema/tax/tax_class_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/data/schema/tax/tax_class_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/data/schema/tax/tax_class_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Schema.TaxClassTest do use ExUnit.Case, async: true use Snitch.DataCase import Snitch.Factory alias Snitch.Data.Schema.TaxClass describe "create_changeset/2" do test "fails for missing params" do changeset = TaxClass.create_changeset(%TaxClass{}, %{}) assert %{name: ["ca...
28.434783
64
0.680428
7409aed09b9ccd59101fabce3e083d3a02081c8a
15,924
ex
Elixir
lib/radixir/gateway/api.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
16
2022-01-05T20:41:55.000Z
2022-03-25T09:06:43.000Z
lib/radixir/gateway/api.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
null
null
null
lib/radixir/gateway/api.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
1
2022-02-10T21:55:26.000Z
2022-02-10T21:55:26.000Z
defmodule Radixir.Gateway.API do @moduledoc false # @moduledoc """ # Submits requests to Gateway API. # """ alias Radixir.Util @type body :: map @type options :: keyword @type error_message :: String.t() @doc """ Submits request to `/gateway`. ## Parameters - `options`: Keyword list that co...
44.856338
214
0.68626
7409c9eaafa0f4bd54bbb64981e6870caa4ca338
530
ex
Elixir
lib/rocketpay_web/controllers/users_controller.ex
zevdvlpr/rocketpay
5554868be425fa65271addb490fa24f1978de9e8
[ "MIT" ]
4
2021-02-23T18:53:33.000Z
2021-02-28T00:11:03.000Z
lib/rocketpay_web/controllers/users_controller.ex
gleidsonduarte/rocketseat-rocketpay-phoenix-elixir-postgres
300e0b34e0179380f56a8c6cae707722d9c4d8d0
[ "MIT" ]
null
null
null
lib/rocketpay_web/controllers/users_controller.ex
gleidsonduarte/rocketseat-rocketpay-phoenix-elixir-postgres
300e0b34e0179380f56a8c6cae707722d9c4d8d0
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.UsersController do use RocketpayWeb, :controller alias Rocketpay.User def create(conn, params) do params |> Rocketpay.create_user() |> handle_response(conn) end defp handle_response({:ok, %User{} = user}, conn) do conn |> put_status(:created) |> render("create...
21.2
54
0.667925
7409d33a337d2eedc572e9006a6deeddeaf0d10d
242
ex
Elixir
lib/hologram/compiler/js_encoders/boolean_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/js_encoders/boolean_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/js_encoders/boolean_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
alias Hologram.Compiler.IR.BooleanType alias Hologram.Compiler.JSEncoder defimpl JSEncoder, for: BooleanType do use Hologram.Commons.Encoder def encode(%{value: value}, _, _) do encode_primitive_type(:boolean, "#{value}") end end
22
47
0.756198
7409e5332233dfc60d2d066bca3cd1070aadd82e
7,343
ex
Elixir
lib/pigeon/apns/notification.ex
bfolkens/pigeon
c20d4976c1c6c484734e06010f37a1a67d732889
[ "MIT" ]
null
null
null
lib/pigeon/apns/notification.ex
bfolkens/pigeon
c20d4976c1c6c484734e06010f37a1a67d732889
[ "MIT" ]
null
null
null
lib/pigeon/apns/notification.ex
bfolkens/pigeon
c20d4976c1c6c484734e06010f37a1a67d732889
[ "MIT" ]
null
null
null
defmodule Pigeon.APNS.Notification do @moduledoc ~S""" Defines APNS notification struct and constructor functions. """ defstruct collapse_id: nil, device_token: nil, expiration: nil, id: nil, payload: %{"aps" => %{}}, topic: nil, response:...
27.814394
91
0.595125
740a290a508d1fdd423e1d8d8b0747d622af84c5
119
exs
Elixir
ch6-ModulesAndNamedFunctions/times.exs
fangari/LearnElixir
b28e3b80c52c154232cb0c27d76b40ec2bf54e49
[ "MIT" ]
null
null
null
ch6-ModulesAndNamedFunctions/times.exs
fangari/LearnElixir
b28e3b80c52c154232cb0c27d76b40ec2bf54e49
[ "MIT" ]
null
null
null
ch6-ModulesAndNamedFunctions/times.exs
fangari/LearnElixir
b28e3b80c52c154232cb0c27d76b40ec2bf54e49
[ "MIT" ]
null
null
null
defmodule Times do def double(n), do: n * 2 def triple(n), do: n * 3 def cuadruple(n), do: double(double(n)) end
19.833333
41
0.630252
740a3448884bb2ddfd11434ac68bd8d4aec417da
41,757
ex
Elixir
lib/codes/codes_s81.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_s81.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_s81.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_S81 do alias IcdCode.ICDCode def _S81001A do %ICDCode{full_code: "S81001A", category_code: "S81", short_code: "001A", full_name: "Unspecified open wound, right knee, initial encounter", short_name: "Unspecified open wound, right knee, initia...
42.652707
107
0.650526
740a373e927e23807b6ab276e91e5e8cc0e5e296
1,137
ex
Elixir
lib/ql2_util.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
1
2015-12-07T13:07:39.000Z
2015-12-07T13:07:39.000Z
lib/ql2_util.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
null
null
null
lib/ql2_util.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
null
null
null
defmodule Ql2.Util do @typep json_term :: :null | boolean | number | binary | Dict.t | [json_term] @spec datum_value(:datum.t) :: json_term def datum_value(:datum[ type: :'R_NULL' ]) do :null end def datum_value(:datum[ type: :'R_BOOL', r_bool: bool ]) do bool end def datum_value(:datum[ type: :...
30.72973
85
0.667546
740a3db2ca93946f8337c06aa60a28ae3996492e
1,003
exs
Elixir
mix.exs
kyleaa/yaml-elixir
7fec88e6d679bf219ec8ccea485de990ac59b619
[ "MIT" ]
null
null
null
mix.exs
kyleaa/yaml-elixir
7fec88e6d679bf219ec8ccea485de990ac59b619
[ "MIT" ]
null
null
null
mix.exs
kyleaa/yaml-elixir
7fec88e6d679bf219ec8ccea485de990ac59b619
[ "MIT" ]
1
2019-12-02T07:03:15.000Z
2019-12-02T07:03:15.000Z
defmodule YamlElixir.Mixfile do use Mix.Project def project do [ app: :yaml_elixir, version: "1.3.0", elixir: "~> 1.3", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: ...
19.288462
80
0.484546
740a410befdebd67591a35f1d99110b4bcdcbd6f
167
ex
Elixir
lib/cloudevents/handler.ex
mikehelmick/sdk-elixir
90eff352bc3823868285054cf13d132a6f10430f
[ "Apache-2.0" ]
1
2020-11-09T21:33:11.000Z
2020-11-09T21:33:11.000Z
lib/cloudevents/handler.ex
mikehelmick/sdk-elixir
90eff352bc3823868285054cf13d132a6f10430f
[ "Apache-2.0" ]
null
null
null
lib/cloudevents/handler.ex
mikehelmick/sdk-elixir
90eff352bc3823868285054cf13d132a6f10430f
[ "Apache-2.0" ]
null
null
null
defmodule CloudEvents.Handler do @callback handle_event(%CloudEvents.Event{}, List.t()) :: :ok | {:reply, CloudEvent.Event} | {:error, String.t()} end
33.4
69
0.640719
740a7843429a21cd8a949023f5a1083367c41070
1,127
exs
Elixir
config/config.exs
chewy-soft/elixir-parser
e3420fba91872fe0cb789484a31348152d3df7ae
[ "MIT" ]
null
null
null
config/config.exs
chewy-soft/elixir-parser
e3420fba91872fe0cb789484a31348152d3df7ae
[ "MIT" ]
null
null
null
config/config.exs
chewy-soft/elixir-parser
e3420fba91872fe0cb789484a31348152d3df7ae
[ "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...
36.354839
73
0.750665
740aca7ae8e1be447f03ac1baf20f7af4233fb1f
618
ex
Elixir
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/container_service_ssh_public_key.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/container_service_ssh_public_key.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/container_service_ssh_public_key.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Containers.Model.ContainerServiceSshPublicKey do @moduledoc """ Contains information about SSH certificate public k...
23.769231
104
0.7411
740b15d6280c5658c36f1dc0a78aa19761969e02
2,455
ex
Elixir
clients/access_approval/lib/google_api/access_approval/v1/model/access_locations.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/access_approval/lib/google_api/access_approval/v1/model/access_locations.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/access_approval/lib/google_api/access_approval/v1/model/access_locations.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...
49.1
496
0.738086
740b19e6a37be6aa444ef0aa35adeebec65fd5c6
933
ex
Elixir
lib/bitcoin/protocol/message/payload.ex
0xwallet/bitcoinsv-elixir
efccdfca7435ea88b075135caf36ec21e4a022d7
[ "Apache-2.0" ]
1
2019-06-07T18:42:58.000Z
2019-06-07T18:42:58.000Z
lib/bitcoin/protocol/message/payload.ex
0xwallet/bitcoinsv-elixir
efccdfca7435ea88b075135caf36ec21e4a022d7
[ "Apache-2.0" ]
2
2019-04-22T04:24:39.000Z
2019-04-26T07:03:59.000Z
lib/bitcoin/protocol/message/payload.ex
0xwallet/bitcoinsv-elixir
efccdfca7435ea88b075135caf36ec21e4a022d7
[ "Apache-2.0" ]
1
2019-08-12T02:51:15.000Z
2019-08-12T02:51:15.000Z
defmodule Bitcoin.Protocol.Message.Payload do require Logger @command_names Bitcoin.Protocol.Message.command_names() defimpl String.Chars, for: Payload do @spec to_string(Payload.t) :: String.t def to_string(data) do """ parsed data: #{data.payload |> String.Chars.to_string()} ...
22.214286
82
0.628081
740b58734d09d216d63760c2c323b52b23bdc3fa
5,861
ex
Elixir
lib/protox/define_message.ex
xinz/protox
0baa4acd0ab6694fdb3d52fd875832c377028833
[ "MIT" ]
null
null
null
lib/protox/define_message.ex
xinz/protox
0baa4acd0ab6694fdb3d52fd875832c377028833
[ "MIT" ]
null
null
null
lib/protox/define_message.ex
xinz/protox
0baa4acd0ab6694fdb3d52fd875832c377028833
[ "MIT" ]
null
null
null
defmodule Protox.DefineMessage do @moduledoc false def define(messages, opts \\ []) do {keep_unknown_fields, _opts} = Keyword.pop(opts, :keep_unknown_fields, true) for {msg_name, syntax, fields} <- messages do fields = Enum.sort(fields, &(elem(&1, 0) < elem(&2, 0))) unknown_fields = make_unkno...
31.010582
95
0.622931
740b8e6a2bcb5af0bd57b8a4c760c84f1650903b
19,763
exs
Elixir
lib/elixir/test/elixir/code_formatter/comments_test.exs
meddle0x53/elixir
963ea30931ff66ab72d5e3bab75e701f8c693185
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/comments_test.exs
meddle0x53/elixir
963ea30931ff66ab72d5e3bab75e701f8c693185
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/comments_test.exs
meddle0x53/elixir
963ea30931ff66ab72d5e3bab75e701f8c693185
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Code.Formatter.CommentsTest do use ExUnit.Case, async: true import CodeFormatterHelpers @short_length [line_length: 10] describe "at the root" do test "for empty documents" do assert_same "# hello world" end test "are reformatted"...
16.119902
72
0.408339
740b97be91b1793aba705a26a7718b540618404e
601
ex
Elixir
web/models/category.ex
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
web/models/category.ex
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
web/models/category.ex
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
defmodule Hb.Category do use Hb.Web, :model alias Hb.{Accounting} use Arbor.Tree @derive {Poison.Encoder, only: [:id, :type, :name, :parent_id]} schema "categories" do field :name, :string field :type, CategoryTypeEnum belongs_to :parent, Arbor.Comment belongs_to :accounting, Accounting ...
21.464286
65
0.655574
740bb8492204b995392001a7bfdcf788f8f21a72
1,291
ex
Elixir
lib/grapevine/release_tasks.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/grapevine/release_tasks.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/grapevine/release_tasks.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
# From https://github.com/bitwalker/distillery/blob/master/docs/Running%20Migrations.md defmodule Grapevine.ReleaseTasks do @moduledoc false @start_apps [ :crypto, :ssl, :postgrex, :ecto, :ecto_sql ] @apps %{ backbone: [Backbone.Repo], grapevine: [Grapevine.Repo] } def migrate...
22.649123
87
0.656081
740bbc8aa1d704ebf7b3ff8503434828fa7c26ff
17,852
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/addresses.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/addresses.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/addresses.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
56.673016
1,213
0.704011
740bc1da3fbc96dde006aa328ec3ad956ff75a50
1,656
exs
Elixir
config/dev.exs
joaopealves/heat_tags
95cbc1bc0d74a1ba7f715e77c33d0696a879a3fe
[ "MIT" ]
null
null
null
config/dev.exs
joaopealves/heat_tags
95cbc1bc0d74a1ba7f715e77c33d0696a879a3fe
[ "MIT" ]
null
null
null
config/dev.exs
joaopealves/heat_tags
95cbc1bc0d74a1ba7f715e77c33d0696a879a3fe
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :heat_tags, HeatTags.Repo, username: "postgres", password: "@dmin", database: "heat_tags_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloadi...
28.551724
68
0.726449
740bc4a52fc327ca9a6aac971be1c54b203fff50
936
exs
Elixir
config/config.exs
Baransu/togither
87483348f0b800c2a28b2dabc77180a5b49ea59e
[ "BSD-3-Clause" ]
1
2016-08-11T04:06:29.000Z
2016-08-11T04:06:29.000Z
config/config.exs
Baransu/togither
87483348f0b800c2a28b2dabc77180a5b49ea59e
[ "BSD-3-Clause" ]
1
2017-02-17T19:20:29.000Z
2017-02-17T20:27:44.000Z
config/config.exs
Baransu/togither
87483348f0b800c2a28b2dabc77180a5b49ea59e
[ "BSD-3-Clause" ]
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. use Mix.Config # General application configuration config :togither, ecto_repos: [Togither.Repo] ...
33.428571
86
0.760684
740bc8a5746ceeb7307164cfe5a1848b25edad7a
958
ex
Elixir
lib/hone.ex
slurmulon/hone
9cc817fef06fbec564b18a11faa472ecf902aa62
[ "MIT" ]
null
null
null
lib/hone.ex
slurmulon/hone
9cc817fef06fbec564b18a11faa472ecf902aa62
[ "MIT" ]
null
null
null
lib/hone.ex
slurmulon/hone
9cc817fef06fbec564b18a11faa472ecf902aa62
[ "MIT" ]
null
null
null
defmodule Hone do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(Hone.Endpoin...
30.903226
71
0.705637
740bcc0c4e711cabe9cd81e395209c16ca2b6984
87
ex
Elixir
lib/protocol/binary.ex
electricshaman/hippy
e72c95a31c6415bde9cbdee43f077c68a3a3795b
[ "MIT" ]
8
2018-04-02T14:14:28.000Z
2021-05-04T19:39:48.000Z
lib/protocol/binary.ex
electricshaman/hippy
e72c95a31c6415bde9cbdee43f077c68a3a3795b
[ "MIT" ]
1
2018-04-06T01:55:04.000Z
2018-04-06T05:15:47.000Z
lib/protocol/binary.ex
electricshaman/hippy
e72c95a31c6415bde9cbdee43f077c68a3a3795b
[ "MIT" ]
3
2018-04-02T23:45:51.000Z
2021-04-04T20:14:49.000Z
defmodule Hippy.Protocol.Binary do defmacro byte do quote do: signed-8 end end
14.5
34
0.735632
740bdcdc630632ea3dc12dd0b148173d26b7d23e
2,892
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_file_details_video_stream.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/video_file_details_video_stream.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/video_file_details_video_stream.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...
42.529412
191
0.690871