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
7907bea7e7950db29a918fadef73fd0df3327ec6
2,498
ex
Elixir
lib/guess_who/engine.ex
Stratus3D/guess_who
3131e0ba8d4931030898e0e6235e377acf53a2ac
[ "MIT" ]
null
null
null
lib/guess_who/engine.ex
Stratus3D/guess_who
3131e0ba8d4931030898e0e6235e377acf53a2ac
[ "MIT" ]
null
null
null
lib/guess_who/engine.ex
Stratus3D/guess_who
3131e0ba8d4931030898e0e6235e377acf53a2ac
[ "MIT" ]
null
null
null
defmodule GuessWho.Engine do alias GuessWho.{Contender, Attributes, Game, Turn} @max_turns 50 @spec score_all_contenders() :: [{binary(), Integer.t()}] def score_all_contenders() do modules = Contender.all_player_modules() names = Enum.map(modules, &(&1.name)) scores = modules |> Enu...
32.025641
119
0.676141
790819fec2038ac86eb75fade3354a24f8f1aa43
601
exs
Elixir
test/test_helper.exs
leifg/vinci
9eb8bd37aed3dd19fc6128a2ad39f5077c01815f
[ "MIT" ]
1
2015-11-12T02:54:31.000Z
2015-11-12T02:54:31.000Z
test/test_helper.exs
leifg/vinci
9eb8bd37aed3dd19fc6128a2ad39f5077c01815f
[ "MIT" ]
null
null
null
test/test_helper.exs
leifg/vinci
9eb8bd37aed3dd19fc6128a2ad39f5077c01815f
[ "MIT" ]
null
null
null
Code.require_file "./support/fixtures.exs", __DIR__ Code.require_file "./support/fixtures_http.exs", __DIR__ ExUnit.start() apisaurus_config = %{ endpoint: "http://apisaurus", routes: %{ all: %{ method: :get, path: "/all", result: [Vinci.Fixtures.Dinosaur] }, create: %{ method: ...
21.464286
58
0.62396
79081e516a77a32af1d6e8f3f68c10393fa169b4
1,473
ex
Elixir
apps/gobstopper_service/lib/gobstopper.service/token.ex
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
null
null
null
apps/gobstopper_service/lib/gobstopper.service/token.ex
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
12
2017-07-24T12:29:51.000Z
2018-04-05T03:58:10.000Z
apps/gobstopper_service/lib/gobstopper.service/token.ex
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
4
2017-07-24T12:19:23.000Z
2019-02-19T06:34:46.000Z
defmodule Gobstopper.Service.Token do use Guardian, otp_app: :gobstopper_service def subject_for_token(%Gobstopper.Service.Auth.Identity.Model{ identity: id }, _), do: { :ok, "Identity:#{id}" } def subject_for_token(_, _), do: { :error, :unknown_resource } def resource_from_claims(%{ "sub" => "Identit...
32.021739
160
0.568907
790832cdf42ce891ad109f1af763881ebd95b59c
1,595
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/test_iam_permissions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/test_iam_permissions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/test_iam_permissions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.229167
134
0.753605
79083620e474ebb1b4c4f7b2b5515965cb172700
573
exs
Elixir
test/views/error_view_test.exs
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
erickgnavar/tweet_map
4c8839e35dc96cd8d6ca12fb2895496f2a0c100e
[ "MIT" ]
null
null
null
defmodule TweetMap.ErrorViewTest do use TweetMap.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(TweetMap.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" ...
26.045455
66
0.678883
7908530ca79826808b842ca046bf7baaeda869ff
1,724
exs
Elixir
priv/repo/migrations/20210124125642_create_admin_triggers.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
priv/repo/migrations/20210124125642_create_admin_triggers.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
priv/repo/migrations/20210124125642_create_admin_triggers.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
defmodule NudgeApi.Repo.Migrations.CreateAdminTriggers do use Ecto.Migration def up do # Create a function that broadcasts row changes execute " CREATE OR REPLACE FUNCTION broadcast_changes() RETURNS trigger AS $$ DECLARE current_row RECORD; BEGIN IF (TG_OP = 'INSER...
35.183673
159
0.674594
79087b4ee8ba444af7e41f9faefedc225ac61dfd
2,037
ex
Elixir
lib/codes/codes_b65.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_b65.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_b65.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_B65 do alias IcdCode.ICDCode def _B650 do %ICDCode{full_code: "B650", category_code: "B65", short_code: "0", full_name: "Schistosomiasis due to Schistosoma haematobium [urinary schistosomiasis]", short_name: "Schistosomiasis due to Schistoso...
33.393443
99
0.640157
79088cbce22a32f6cfef44a0fe0929dc93a9adc7
973
exs
Elixir
apps/dockup_ui/test/services/delete_expired_deployments_service_test.exs
sleekr/dockup
11d068879253af655ebabbd3e39cb21400c8e283
[ "MIT" ]
1
2019-08-20T07:45:10.000Z
2019-08-20T07:45:10.000Z
apps/dockup_ui/test/services/delete_expired_deployments_service_test.exs
sleekr/dockup
11d068879253af655ebabbd3e39cb21400c8e283
[ "MIT" ]
null
null
null
apps/dockup_ui/test/services/delete_expired_deployments_service_test.exs
sleekr/dockup
11d068879253af655ebabbd3e39cb21400c8e283
[ "MIT" ]
2
2019-03-08T10:51:34.000Z
2019-08-20T07:45:13.000Z
defmodule DockupUi.DeleteExpiredDeploymentsServiceTest do use DockupUi.ModelCase, async: true import DockupUi.Factory import ExUnit.CaptureIO alias DockupUi.DeleteExpiredDeploymentsService defmodule FakeDeleteDeploymentService do def run(1, _callback_data) do IO.write "Deployment deleted" end ...
27.8
73
0.715313
79089a81319f71484dcfddab9888040dbf55ef5e
61,210
ex
Elixir
clients/content/lib/google_api/content/v2/api/orders.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/content/lib/google_api/content/v2/api/orders.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/orders.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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 ...
43.257951
428
0.625878
7908d74d5bcf8a5f4935e8eea56caa91ad24123e
1,402
ex
Elixir
apps/institute_web/lib/institute_web/telemetry.ex
hui-ad/institute
28242d9d324d710a0e70678ec2d79099f1d3a98d
[ "MIT" ]
4
2019-06-12T19:05:34.000Z
2019-08-18T15:02:56.000Z
apps/institute_web/lib/institute_web/telemetry.ex
hui-ad/institute
28242d9d324d710a0e70678ec2d79099f1d3a98d
[ "MIT" ]
33
2019-06-12T18:59:21.000Z
2021-03-31T15:45:22.000Z
apps/institute_web/lib/institute_web/telemetry.ex
hui-ad/institute
28242d9d324d710a0e70678ec2d79099f1d3a98d
[ "MIT" ]
1
2019-06-16T09:38:08.000Z
2019-06-16T09:38:08.000Z
defmodule InstituteWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Lear...
28.612245
86
0.671184
7908e4473529a5c8f56c740f98eb0298b4ffdd82
1,339
ex
Elixir
lib/game_of_life/universe/universe.ex
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
lib/game_of_life/universe/universe.ex
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
lib/game_of_life/universe/universe.ex
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
defmodule GameOfLife.Universe do alias __MODULE__, as: Universe defstruct cells: [], dimensions: {0, 0} @type t :: %Universe{cells: list(tuple), dimensions: {integer, integer}} @spec initialize({integer, integer}) :: t def initialize(dimensions) do %Universe{cells: generate_cells(dimensions...
28.489362
80
0.634802
7908edd74c0d5927ecb04961fcc8817c6a973171
353
exs
Elixir
test/test_helper.exs
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
test/test_helper.exs
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
25
2021-03-23T07:27:21.000Z
2021-10-31T15:09:52.000Z
test/test_helper.exs
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
Code.put_compiler_option(:warnings_as_errors, true) {:ok, _} = Application.ensure_all_started(:ex_machina) {:ok, _} = Application.ensure_all_started(:mimic) {:ok, _} = Application.ensure_all_started(:wallaby) ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Gscraper.Repo, :manual) Application.put_env(:wallaby, :base_...
27.153846
68
0.773371
79092214ed1b374164b7aea1c6e8afdc96cb872d
2,680
exs
Elixir
test/cv_creator/accounts_test.exs
Foxlabsdevelopers/cv_creator
c77d52cdc67180ed369a3dbd298ca2dea5131c60
[ "MIT" ]
null
null
null
test/cv_creator/accounts_test.exs
Foxlabsdevelopers/cv_creator
c77d52cdc67180ed369a3dbd298ca2dea5131c60
[ "MIT" ]
2
2021-05-24T21:41:25.000Z
2021-05-25T16:02:09.000Z
test/cv_creator/accounts_test.exs
Foxlabsdevelopers/cv_creator
c77d52cdc67180ed369a3dbd298ca2dea5131c60
[ "MIT" ]
null
null
null
defmodule CvCreator.AccountsTest do use CvCreator.DataCase alias CvCreator.Accounts describe "super_users" do alias CvCreator.Accounts.SuperUsers @valid_attrs %{name: "some name", email: "some email", password_hash: "some password_hash"} @update_attrs %{name: "some updated name", email: "some updat...
38.84058
120
0.717537
79092620040178f151be9abb4d472ab8403c5ab9
2,737
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/device_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/device_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/device_info.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.107692
276
0.710632
79093873326f042466ac2742a309f9cb2614036a
274
exs
Elixir
config/config.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
config/config.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
config/config.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
import Config config :elixir, :time_zone_database, Tzdata.TimeZoneDatabase config :oban, Oban.Test.Repo, priv: "test/support/", url: System.get_env("DATABASE_URL") || "postgres://localhost:5432/oban_test", pool_size: 10 config :oban, ecto_repos: [Oban.Test.Repo]
22.833333
79
0.737226
790956a89ff10e73c751984fb012c119b39d7b78
106,759
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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 ...
45.468058
196
0.626252
7909e1d0cb8756780d7ff9f8dbdbf5bacbe6ca67
2,006
exs
Elixir
src/mailer/config/prod.exs
alexjoybc/elixir-kafka-phoenix
c3d20415f980455081102f3bd4287647bf2292ba
[ "Apache-2.0" ]
null
null
null
src/mailer/config/prod.exs
alexjoybc/elixir-kafka-phoenix
c3d20415f980455081102f3bd4287647bf2292ba
[ "Apache-2.0" ]
null
null
null
src/mailer/config/prod.exs
alexjoybc/elixir-kafka-phoenix
c3d20415f980455081102f3bd4287647bf2292ba
[ "Apache-2.0" ]
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, # ...
35.821429
66
0.713858
790a322b8bc8f9437c550f8f0a3032d56a428ec5
1,082
ex
Elixir
lib/hunter/result.ex
jeffkreeftmeijer/hunter
a5ccf0849c8aeaee3dd90b431067924ff603a651
[ "Apache-2.0" ]
null
null
null
lib/hunter/result.ex
jeffkreeftmeijer/hunter
a5ccf0849c8aeaee3dd90b431067924ff603a651
[ "Apache-2.0" ]
null
null
null
lib/hunter/result.ex
jeffkreeftmeijer/hunter
a5ccf0849c8aeaee3dd90b431067924ff603a651
[ "Apache-2.0" ]
null
null
null
defmodule Hunter.Result do @moduledoc """ Result entity ## Fields * `accounts` - list of matched `Hunter.Account` * `statuses` - list of matched `Hunter.Status` * `hashtags` - list of matched hashtags, as strings """ @hunter_api Hunter.Config.hunter_api() @type t :: %__MODULE__{ ac...
23.521739
79
0.608133
790a37779c1e95dac980c2f7d5d7f87f2b4aadc8
336
exs
Elixir
priv/repo/migrations/20200509183314_add_oban_jobs_table.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
priv/repo/migrations/20200509183314_add_oban_jobs_table.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
priv/repo/migrations/20200509183314_add_oban_jobs_table.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.Repo.Migrations.AddObanJobsTable do use Ecto.Migration def up do Oban.Migrations.up() end # We specify `version: 1` in `down`, ensuring that we'll roll all the way back down if # necessary, regardless of which version we've migrated `up` to. def down do Oban.Migrations.down(versio...
24
88
0.717262
790a58cb5314604c528d5c1abbb9c4d12d5aa0d3
1,663
ex
Elixir
lib/astarte_flow/blocks/default_blocks.ex
Annopaolo/astarte_flow
d6846917d2adb87127cb06ab6aeb11d6c0d10de8
[ "Apache-2.0" ]
11
2020-01-30T17:44:35.000Z
2022-01-13T19:17:21.000Z
lib/astarte_flow/blocks/default_blocks.ex
Annopaolo/astarte_flow
d6846917d2adb87127cb06ab6aeb11d6c0d10de8
[ "Apache-2.0" ]
100
2020-02-11T10:01:35.000Z
2022-02-17T10:39:35.000Z
lib/astarte_flow/blocks/default_blocks.ex
Annopaolo/astarte_flow
d6846917d2adb87127cb06ab6aeb11d6c0d10de8
[ "Apache-2.0" ]
7
2020-01-30T11:33:20.000Z
2021-05-03T09:48:41.000Z
# # This file is part of Astarte. # # Copyright 2020 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
27.262295
89
0.706554
790a650226bb5152fb413f22c55f2f5a49ef0442
3,288
ex
Elixir
lib/captain_hook/webhook_conversations.ex
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
4
2020-11-13T11:27:24.000Z
2021-08-19T17:28:53.000Z
lib/captain_hook/webhook_conversations.ex
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
null
null
null
lib/captain_hook/webhook_conversations.ex
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
null
null
null
defmodule CaptainHook.WebhookConversations do @moduledoc false alias Ecto.Multi alias CaptainHook.Sequences alias CaptainHook.WebhookConversations.{WebhookConversation, WebhookConversationQueryable} @default_page_number 1 @default_page_size 100 @spec list_webhook_conversations(keyword) :: [WebhookConve...
33.212121
92
0.679745
790a6fdce1acff8a01dde56f14201286721f63dc
8,367
ex
Elixir
lib/ash/dsl/dsl.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
lib/ash/dsl/dsl.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
lib/ash/dsl/dsl.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
defmodule Ash.Dsl do @using_schema [ single_extension_kinds: [ type: {:list, :atom}, default: [], doc: "The extension kinds that are allowed to have a single value. For example: `[:data_layer]`" ], many_extension_kinds: [ type: {:list, :atom}, default: [], doc: ...
31.693182
117
0.606311
790a89da2f7aff5bb4055c3859d04f0abdc0fab1
668
ex
Elixir
lib/coxir/adapters/limiter/helper.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
178
2018-04-08T17:11:56.000Z
2022-03-25T15:36:41.000Z
lib/coxir/adapters/limiter/helper.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
21
2018-04-30T21:33:59.000Z
2019-09-03T17:25:26.000Z
lib/coxir/adapters/limiter/helper.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
25
2018-04-21T19:41:03.000Z
2021-07-24T22:40:40.000Z
defmodule Coxir.Limiter.Helper do @moduledoc """ Common helper functions for `Coxir.Limiter` implementations. """ alias Coxir.Limiter @spec time_now() :: non_neg_integer def time_now do DateTime.to_unix(DateTime.utc_now(), :millisecond) end @spec offset_now(non_neg_integer) :: non_neg_integer de...
23.034483
62
0.687126
790a8ff26ab682996f9b332607706feab2b50e01
1,787
ex
Elixir
lib/co2_offset_web.ex
styx/co2_offset
ac4b2bce8142e2d33ea089322c8dade34839448b
[ "Apache-2.0" ]
15
2018-12-26T10:31:16.000Z
2020-12-01T09:27:01.000Z
lib/co2_offset_web.ex
styx/co2_offset
ac4b2bce8142e2d33ea089322c8dade34839448b
[ "Apache-2.0" ]
267
2018-12-26T07:46:17.000Z
2020-04-04T17:05:47.000Z
lib/co2_offset_web.ex
styx/co2_offset
ac4b2bce8142e2d33ea089322c8dade34839448b
[ "Apache-2.0" ]
1
2019-07-12T13:53:25.000Z
2019-07-12T13:53:25.000Z
defmodule Co2OffsetWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use Co2OffsetWeb, :controller use Co2OffsetWeb, :view The definitions below will be executed for every view, contro...
24.479452
83
0.688864
790a9bbb2bff9e445ece8f113643ee1133f6ac1d
564
ex
Elixir
live_view_studio/lib/live_view_studio/stores/store.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio/stores/store.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio/stores/store.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
defmodule LiveViewStudio.Stores.Store do use Ecto.Schema import Ecto.Changeset schema "stores" do field :city, :string field :hours, :string field :name, :string field :open, :boolean, default: false field :phone_number, :string field :street, :string field :zip, :string timestam...
23.5
85
0.652482
790aa47f7ab28bb070754f34caf46a567a4e3023
143
ex
Elixir
lib/elixirgithub/get_repos_behaviour.ex
LuizFerK/ElixirGitHub
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "MIT" ]
1
2021-11-23T16:51:04.000Z
2021-11-23T16:51:04.000Z
lib/elixirgithub/get_repos_behaviour.ex
LuizFerK/Repositoriex
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "MIT" ]
null
null
null
lib/elixirgithub/get_repos_behaviour.ex
LuizFerK/Repositoriex
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "MIT" ]
null
null
null
defmodule Elixirgithub.GetReposBehaviour do alias Elixirgithub.Error @callback call(String.t()) :: {:ok, map()} | {:error, Error.t()} end
23.833333
66
0.699301
790aa88d252e8c0180760c8dafe72dbb3ef0355a
887
ex
Elixir
package/indy-10.2.0.3/fpc/debian/prerm.ex
RonaldoSurdi/Sistema-gerenciamento-websites-delphi
8cc7eec2d05312dc41f514bbd5f828f9be9c579e
[ "MIT" ]
1
2022-02-28T11:28:18.000Z
2022-02-28T11:28:18.000Z
package/indy-10.2.0.3/fpc/debian/prerm.ex
RonaldoSurdi/Sistema-gerenciamento-websites-delphi
8cc7eec2d05312dc41f514bbd5f828f9be9c579e
[ "MIT" ]
null
null
null
package/indy-10.2.0.3/fpc/debian/prerm.ex
RonaldoSurdi/Sistema-gerenciamento-websites-delphi
8cc7eec2d05312dc41f514bbd5f828f9be9c579e
[ "MIT" ]
null
null
null
#! /bin/sh # prerm script for indy-fpc # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-versi...
22.74359
76
0.61894
790ad33a933fae5f28b30c9ec24e614302077e44
69
ex
Elixir
lib/otp_demo_web/views/user_settings_view.ex
moroz/phoenix-totp-demo
b07b1925a1116ecbade15cb37764e4aebf442b5b
[ "MIT" ]
null
null
null
lib/otp_demo_web/views/user_settings_view.ex
moroz/phoenix-totp-demo
b07b1925a1116ecbade15cb37764e4aebf442b5b
[ "MIT" ]
null
null
null
lib/otp_demo_web/views/user_settings_view.ex
moroz/phoenix-totp-demo
b07b1925a1116ecbade15cb37764e4aebf442b5b
[ "MIT" ]
null
null
null
defmodule OtpDemoWeb.UserSettingsView do use OtpDemoWeb, :view end
17.25
40
0.826087
790afcbecc6944f86ef82a1bff5a30abd0e85fd6
1,114
exs
Elixir
test/expat_nat_test.exs
vic/expat
7c095187afe99b2ef6c68bd42c40164eb48d067c
[ "Apache-2.0" ]
184
2016-10-16T16:07:24.000Z
2022-03-25T01:57:06.000Z
test/expat_nat_test.exs
vic/expat
7c095187afe99b2ef6c68bd42c40164eb48d067c
[ "Apache-2.0" ]
3
2017-01-12T18:27:39.000Z
2018-03-13T09:46:13.000Z
test/expat_nat_test.exs
vic/expat
7c095187afe99b2ef6c68bd42c40164eb48d067c
[ "Apache-2.0" ]
6
2017-01-11T19:29:28.000Z
2018-09-04T01:06:33.000Z
defmodule Expat.NatTest do use ExUnit.Case use Expat @moduledoc ~S""" Natural numbers. The union pattern bellow is shorthand for: defpat nat({:nat, x}) defpat zero(nat(0)) defpat succ(nat(nat() = n)) Note that both `zero` and `succ` are just using calling `nat` with some other pattern. ...
19.892857
77
0.606822
790b1da01a98b4d376ea04b00f0b4b0b9e880fb1
201
ex
Elixir
web/views/event_view.ex
kexoth/nlb-pipeline
77d2c79b58e03f0326608162e9cee768362e2076
[ "MIT" ]
6
2017-06-13T19:35:05.000Z
2020-05-05T06:50:34.000Z
web/views/event_view.ex
kexoth/nlb-pipeline
77d2c79b58e03f0326608162e9cee768362e2076
[ "MIT" ]
null
null
null
web/views/event_view.ex
kexoth/nlb-pipeline
77d2c79b58e03f0326608162e9cee768362e2076
[ "MIT" ]
1
2021-09-27T11:58:11.000Z
2021-09-27T11:58:11.000Z
defmodule NlbPipeline.EventView do use NlbPipeline.Web, :view def guardian_name(guardian_id) do guardian_id |> String.split(".") |> Enum.map(&String.capitalize/1) |> Enum.join(" ") end end
18.272727
35
0.701493
790b442831699b3edec06b40196b041836bb2a2f
17,532
exs
Elixir
test/phoenix/test/conn_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
test/phoenix/test/conn_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
test/phoenix/test/conn_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
defmodule Phoenix.Test.ConnTest.CatchAll do def init(opts), do: opts def call(conn, :stat), do: conn.params["action"].(conn) def call(conn, _opts), do: Plug.Conn.assign(conn, :catch_all, true) end alias Phoenix.Test.ConnTest.CatchAll defmodule Phoenix.Test.ConnTest.RedirRouter do use Phoenix.Router get "/",...
30.811951
145
0.609799
790b68c7bb1bc3f442a2713dd8b2c18ea84252bc
267
ex
Elixir
lib/ex_phone_number/constants/validation_results.ex
balena/ex_phone_number
93a53efa03fcb821fdaacb261384b84b172428f9
[ "MIT" ]
3
2018-07-21T10:44:45.000Z
2021-05-28T20:43:07.000Z
lib/ex_phone_number/constants/validation_results.ex
balena/ex_phone_number
93a53efa03fcb821fdaacb261384b84b172428f9
[ "MIT" ]
2
2021-03-09T10:05:00.000Z
2022-02-14T11:00:18.000Z
lib/ex_phone_number/constants/validation_results.ex
balena/ex_phone_number
93a53efa03fcb821fdaacb261384b84b172428f9
[ "MIT" ]
1
2021-12-14T04:31:40.000Z
2021-12-14T04:31:40.000Z
defmodule ExPhoneNumber.Constants.ValidationResults do def is_possible(), do: :is_possible def invalid_country_code(), do: :invalid_country_code def too_short(), do: :too_short def invalid_length(), do: :invalid_length def too_long(), do: :too_long end
22.25
55
0.756554
790b6f62d8ad045cd02af1511023ac35be8adefd
2,431
exs
Elixir
tests/lambda2.exs
JHU-PL-Lab/representation-types
8805849eaa793692aada84c2c49fa227ed8c6387
[ "CC-BY-4.0" ]
null
null
null
tests/lambda2.exs
JHU-PL-Lab/representation-types
8805849eaa793692aada84c2c49fa227ed8c6387
[ "CC-BY-4.0" ]
null
null
null
tests/lambda2.exs
JHU-PL-Lab/representation-types
8805849eaa793692aada84c2c49fa227ed8c6387
[ "CC-BY-4.0" ]
null
null
null
defmodule Lambda2 do defmodule Var do defstruct [:id] end defmodule Lam do defstruct [:id, :body] end defmodule Apl do defstruct [:lhs, :rhs] end def var(id), do: %Var{id: id} def lam(id, body), do: %Lam{id: id, body: body} def apl(lhs, rhs), do: %Apl{lhs: lhs, rhs: rhs} defp...
17.489209
76
0.523241
790bcc5601ced0ca3360540585db714ba0de322b
38
exs
Elixir
time_tracker_backend/.iex.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
382
2016-08-18T07:34:27.000Z
2021-02-25T20:46:34.000Z
time_tracker_backend/.iex.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
1
2017-09-30T00:01:26.000Z
2017-09-30T00:01:26.000Z
time_tracker_backend/.iex.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
45
2016-08-30T07:34:04.000Z
2020-01-27T11:39:26.000Z
alias TimeTrackerBackend.{Repo, User}
19
37
0.815789
790be345df9eb06a47156b82f22eee701b5784f8
111
exs
Elixir
config/config.exs
frostu8/steve
9018a3142bf4e51efc8e4dd0b307406a1075b3c8
[ "Unlicense" ]
null
null
null
config/config.exs
frostu8/steve
9018a3142bf4e51efc8e4dd0b307406a1075b3c8
[ "Unlicense" ]
null
null
null
config/config.exs
frostu8/steve
9018a3142bf4e51efc8e4dd0b307406a1075b3c8
[ "Unlicense" ]
null
null
null
import Config config :logger, level: :info config :nostrum, num_shards: :auto import_config "token.exs"
11.1
25
0.72973
790c0df4c5d2785c4941179ebe70cfd95e6b7398
355
ex
Elixir
server/lib/tic_tac_toe_web/utils/json.ex
kasvith/tic-tac-toe
7fcd5a7fe6052d8a4de3adf569c52c41e6c019a2
[ "MIT" ]
7
2021-01-31T20:47:02.000Z
2022-01-05T16:02:12.000Z
server/lib/tic_tac_toe_web/utils/json.ex
kasvith/tic-tac-toe
7fcd5a7fe6052d8a4de3adf569c52c41e6c019a2
[ "MIT" ]
2
2017-08-25T10:15:14.000Z
2021-05-17T06:19:02.000Z
server/lib/tic_tac_toe_web/utils/json.ex
kasvith/tic-tac-toe
7fcd5a7fe6052d8a4de3adf569c52c41e6c019a2
[ "MIT" ]
2
2021-03-26T09:18:07.000Z
2021-05-16T22:29:50.000Z
defmodule Utils.Json do def json_encode!(data, opts \\ []) do Jason.encode!(data, opts) end def json_decode(input, opts \\ []) do Jason.decode(input, opts) end defmacro wrap_data(data) do quote do %{data: unquote(data)} end end defmacro wrap_error(err) do quote do %{erro...
16.136364
39
0.616901
790c1639e65c38b06f02f1e4b43a0d5fe29fc67c
4,425
ex
Elixir
apps/feedex_core/lib/feedex_core/ctx/news.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_core/lib/feedex_core/ctx/news.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_core/lib/feedex_core/ctx/news.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FeedexCore.Ctx.News do @moduledoc """ Affordance for News Resources """ alias FeedexCore.Ctx.News.{Feed, Post} alias FeedexCore.Ctx.Account.{ReadLog, Register, Folder} alias FeedexCore.Repo import Ecto.Query # ----- feeds ----- def feed_get(id) do Repo.get(Feed, id) end # -----...
29.111842
83
0.587119
790c5a0b9f3db9499fd465280127a2453eb67906
65
exs
Elixir
priv/mock/cms_video_seeds.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/mock/cms_video_seeds.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/mock/cms_video_seeds.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
import MastaniServer.Support.Factory db_insert_multi(:video, 3)
16.25
36
0.830769
790c987993fdd61dd208b8725b3c20d9d16a7563
271
exs
Elixir
priv/repo/migrations/20180916124042_create_categories.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
2
2019-01-20T07:03:30.000Z
2019-04-11T10:20:14.000Z
priv/repo/migrations/20180916124042_create_categories.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
6
2018-09-20T05:52:14.000Z
2019-04-23T19:27:39.000Z
priv/repo/migrations/20180916124042_create_categories.exs
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
null
null
null
defmodule Jumubase.Repo.Migrations.CreateCategories do use Ecto.Migration def change do create table(:categories) do add :name, :string add :short_name, :string add :genre, :string add :type, :string timestamps() end end end
18.066667
54
0.653137
790cc501b0fb64212a36fa2146c1623039fec4bc
1,517
exs
Elixir
mix.exs
jrbart/ecto_shorts
bfcd5674d109bcea68e35ea6977c306b3fae8566
[ "MIT" ]
1
2022-03-25T16:51:20.000Z
2022-03-25T16:51:20.000Z
mix.exs
jrbart/ecto_shorts
bfcd5674d109bcea68e35ea6977c306b3fae8566
[ "MIT" ]
null
null
null
mix.exs
jrbart/ecto_shorts
bfcd5674d109bcea68e35ea6977c306b3fae8566
[ "MIT" ]
null
null
null
defmodule EctoShorts.MixProject do use Mix.Project def project do [ app: :ecto_shorts, version: "1.1.4", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: "Helper tools for making ecto interactions more pleasant and shorter", docs: docs(...
21.671429
89
0.563612
790d1469aca74efe3db2020a7cb32677e59cdcd4
1,849
ex
Elixir
lib/ex_oneroster/web/views/org_view.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
lib/ex_oneroster/web/views/org_view.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
lib/ex_oneroster/web/views/org_view.ex
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.Web.OrgView do use ExOneroster.Web, :view alias ExOneroster.Web.OrgView def render("index.json", %{orgs: orgs}) do %{org: render_many(orgs, OrgView, "org.json")} end def render("show.json", %{org: org}) do %{org: render_one(org, OrgView, "org.json")} end def render("org.js...
31.338983
201
0.577069
790d1c5bc63a249d46c9073945d4587aaaf7c447
1,195
ex
Elixir
apps/grapevine/lib/web/controllers/manage/client_controller.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/grapevine/lib/web/controllers/manage/client_controller.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/grapevine/lib/web/controllers/manage/client_controller.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule Web.Manage.ClientController do use Web, :controller alias GrapevineData.Games alias GrapevineData.GameSettings alias GrapevineData.Gauges def show(conn, %{"game_id" => id}) do %{current_user: user} = conn.assigns with {:ok, game} <- Games.get(user, id) do conn |> assign(:game,...
27.159091
70
0.601674
790d2315fbb28f6c82a14e2500bd345d7e44fb90
668
exs
Elixir
mix.exs
tallakt/comb
e6660924891d88d798494ab0c5adeefb29fae8b8
[ "Apache-2.0" ]
38
2016-02-24T09:19:23.000Z
2022-02-15T14:33:35.000Z
mix.exs
tallakt/permutations
e6660924891d88d798494ab0c5adeefb29fae8b8
[ "Apache-2.0" ]
1
2018-01-07T11:42:07.000Z
2018-01-07T11:42:59.000Z
mix.exs
tallakt/permutations
e6660924891d88d798494ab0c5adeefb29fae8b8
[ "Apache-2.0" ]
10
2015-11-09T09:52:55.000Z
2020-10-19T05:07:00.000Z
defmodule Comb.Mixfile do use Mix.Project def project do [app: :comb, version: "0.0.2", elixir: "~> 1.0", 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 inf...
19.647059
77
0.598802
790d3d99ee010876a763c7e8911afd2259a98106
750
ex
Elixir
lib/cloak/types/encrypted_naive_date_time_field.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
lib/cloak/types/encrypted_naive_date_time_field.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
lib/cloak/types/encrypted_naive_date_time_field.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
defmodule Cloak.EncryptedNaiveDateTimeField do @moduledoc """ An `Ecto.Type` to encrypt `NaiveDateTime` fields. ## Usage You should create the field with the type `:binary`. Values will be converted back to a `NaiveDateTime` on decryption. schema "table" do field :field_name, Cloak.EncryptedN...
22.727273
67
0.677333
790d4aff940a8e9fd3412d7983cc221a77448a4d
185
exs
Elixir
test/yaml_to_dict_test.exs
knewter/obelisk
360425914d36c1c6094820ae035a4555a177ed00
[ "MIT" ]
1
2017-04-04T15:44:25.000Z
2017-04-04T15:44:25.000Z
test/yaml_to_dict_test.exs
knewter/obelisk
360425914d36c1c6094820ae035a4555a177ed00
[ "MIT" ]
null
null
null
test/yaml_to_dict_test.exs
knewter/obelisk
360425914d36c1c6094820ae035a4555a177ed00
[ "MIT" ]
null
null
null
defmodule YamlToDictTest do use ExUnit.Case test "Can convert yaml to dict" do assert %{a: "a", b: "b"} == Obelisk.YamlToDict.convert(%{}, [{'a', 'a'}, {'b', 'b'}]) end end
20.555556
89
0.583784
790d57625a191d85002371936ac08bc6013bbc04
129
exs
Elixir
test/custom_hooks/keyset_paginate_test.exs
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
test/custom_hooks/keyset_paginate_test.exs
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
test/custom_hooks/keyset_paginate_test.exs
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
defmodule Rummage.Ecto.CustomHooks.KeysetPaginateTest do use ExUnit.Case doctest Rummage.Ecto.CustomHooks.KeysetPaginate end
25.8
56
0.852713
790d6b3b8bc64feb32897e1ce1684a0e80a38f7d
3,897
ex
Elixir
apps/snitch_core/lib/core/data/schema/taxanomy/taxon.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/data/schema/taxanomy/taxon.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/data/schema/taxanomy/taxon.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Schema.Taxon do @moduledoc false use Snitch.Data.Schema use AsNestedSet, scope: [:taxonomy_id] import Ecto.Query alias Snitch.Data.Schema.{Image, Taxon, Taxonomy, VariationTheme, TaxonImage} alias Snitch.Domain.Taxonomy, as: TaxonomyDomain @type t :: %__MODULE__{} schema "snitch...
27.638298
87
0.677957
790d85169ca889cbd5d967fdba5a6bbaf1fb4dd0
885
ex
Elixir
yaki_core/lib/yaki_core/files.ex
aaripurna/yaki
42bd854d72799de748b2171badb1d047952973f1
[ "MIT" ]
null
null
null
yaki_core/lib/yaki_core/files.ex
aaripurna/yaki
42bd854d72799de748b2171badb1d047952973f1
[ "MIT" ]
null
null
null
yaki_core/lib/yaki_core/files.ex
aaripurna/yaki
42bd854d72799de748b2171badb1d047952973f1
[ "MIT" ]
null
null
null
defmodule YakiCore.Variant do defstruct [:name, :size] @type t() :: %__MODULE__{ name: String.t(), size: {height :: number(), width :: number()} } end defmodule YakiCore.RawFile do defstruct [:path, :filename, :content_type] @type t() :: %__MODULE__{ path: String.t(), ...
22.125
62
0.563842
790daa07ce5bcd7c62304f42618d88150721c2e0
15,175
ex
Elixir
lib/cog/chat/adapter.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/chat/adapter.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/chat/adapter.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.Adapter do require Logger use Carrier.Messaging.GenMqtt alias Cog.Util.CacheSup alias Cog.Util.Cache alias Cog.Messages.ProviderRequest alias Cog.Chat.Room alias Cog.Chat.Message alias Cog.Chat.User @adapter_topic "bot/chat/adapter" @incoming_topic "bot/chat/adapter/incoming" ...
35.874704
151
0.608105
790dc74f1a1244449aa5b96fc618da1f5adbf5d3
6,342
ex
Elixir
clients/cloud_private_catalog_producer/lib/google_api/cloud_private_catalog_producer/v1beta1/model/google_cloud_privatecatalogproducer_v1beta1_product.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_private_catalog_producer/lib/google_api/cloud_private_catalog_producer/v1beta1/model/google_cloud_privatecatalogproducer_v1beta1_product.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_private_catalog_producer/lib/google_api/cloud_private_catalog_producer/v1beta1/model/google_cloud_privatecatalogproducer_v1beta1_product.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...
32.357143
133
0.599495
790dc79e39e02f4f8594a140a28bef199e852b5c
872
ex
Elixir
clients/run/lib/google_api/run/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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.296296
74
0.755734
790dcb86ad56e04309a12b2d90c976eed3c0fc4e
69
exs
Elixir
test/views/layout_view_test.exs
zhangsoledad/Doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
6
2016-03-17T08:45:34.000Z
2016-10-10T01:20:37.000Z
test/views/layout_view_test.exs
zhangsoledad/doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
zhangsoledad/doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
2
2016-04-01T06:28:56.000Z
2016-04-28T09:35:07.000Z
defmodule Doom.LayoutViewTest do use Doom.ConnCase, async: true end
23
32
0.811594
790ddd0d725564dcf7729004f550db766a231cad
2,156
ex
Elixir
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_list_workloads_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_list_workloads_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_list_workloads_response.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...
33.6875
181
0.747217
790e10e4325c4b3c9115d9f3d713a45c47b5a82f
1,922
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/delivery_control.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/model/delivery_control.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/delivery_control.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 ...
32.576271
126
0.725806
790e12019e65f5851fc435002bf7e0aff5e0cdd0
2,973
ex
Elixir
lib/sippet/transactions/server.ex
BrendanBall/elixir-sippet
877edcbbc8d8ba5b6b41684c20041510c410aad3
[ "BSD-3-Clause" ]
54
2017-04-26T03:15:56.000Z
2022-02-08T00:22:11.000Z
lib/sippet/transactions/server.ex
BrendanBall/elixir-sippet
877edcbbc8d8ba5b6b41684c20041510c410aad3
[ "BSD-3-Clause" ]
21
2017-06-19T08:00:33.000Z
2022-01-19T10:38:11.000Z
lib/sippet/transactions/server.ex
BrendanBall/elixir-sippet
877edcbbc8d8ba5b6b41684c20041510c410aad3
[ "BSD-3-Clause" ]
22
2017-06-19T08:15:34.000Z
2022-03-22T13:56:20.000Z
defmodule Sippet.Transactions.Server do @moduledoc false alias Sippet.Message alias Sippet.Message.{RequestLine, StatusLine} alias Sippet.Transactions.Server.State, as: State def receive_request(server, %Message{start_line: %RequestLine{}} = request), do: GenStateMachine.cast(server, {:incoming_request,...
31.62766
80
0.628322
790e1c5eab28cf129498049b529ef3c19776c822
1,095
ex
Elixir
lib/nomad_client/model/resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
lib/nomad_client/model/resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
lib/nomad_client/model/resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "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 NomadClient.Model.Resources do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :CPU, :Cores, :MemoryMB, :MemoryMaxMB...
25.465116
91
0.621005
790e94ae4b3a421c535ec208537a4b7537b46a21
305
exs
Elixir
priv/repo/migrations/20190329205033_create_chapters.exs
jeyemwey/radiator-spark
2fba0a84eb43ab1d58e8ec58c6a07f64adf9cb9d
[ "MIT" ]
1
2021-03-02T16:59:40.000Z
2021-03-02T16:59:40.000Z
priv/repo/migrations/20190329205033_create_chapters.exs
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
null
null
null
priv/repo/migrations/20190329205033_create_chapters.exs
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
null
null
null
defmodule Radiator.Repo.Migrations.CreateChapters do use Ecto.Migration def change do create table(:chapters) do add :start, :integer add :title, :text add :link, :text add :image, :text add :episode_id, references(:episodes, on_delete: :nothing) end end end
20.333333
65
0.659016
790eaa5779fdf7b3f1c265e78452a095d7e32e29
2,399
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/model/usage_report_parameters.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/admin/lib/google_api/admin/reports_v1/model/usage_report_parameters.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/admin/lib/google_api/admin/reports_v1/model/usage_report_parameters.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...
38.693548
164
0.692372
790eb03c98d35ee2d1fd9d5afa07baff25920879
20,677
ex
Elixir
lib/ecto/date_time.ex
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
lib/ecto/date_time.ex
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
lib/ecto/date_time.ex
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
# TODO: Remove Ecto.Date|Time types on Ecto v2.2 import Kernel, except: [to_string: 1] defmodule Ecto.DateTime.Utils do @moduledoc false @doc "Pads with zero" def zero_pad(val, count) do num = Integer.to_string(val) pad_length = max(count - byte_size(num), 0) :binary.copy("0", pad_length) <> num e...
30.053779
115
0.594477
790f0944192b68e6873b3ad3a06b4f958ffc1536
4,402
exs
Elixir
test/validation/point_polygon_b_test.exs
codabrink/topo
f1ca4b7fe337a67285ee4c65a34fb521b119342c
[ "MIT" ]
110
2016-05-05T21:09:19.000Z
2022-03-08T05:22:16.000Z
test/validation/point_polygon_b_test.exs
codabrink/topo
f1ca4b7fe337a67285ee4c65a34fb521b119342c
[ "MIT" ]
15
2016-12-01T00:32:11.000Z
2022-01-18T13:56:37.000Z
test/validation/point_polygon_b_test.exs
codabrink/topo
f1ca4b7fe337a67285ee4c65a34fb521b119342c
[ "MIT" ]
24
2016-09-19T20:06:50.000Z
2021-06-16T06:41:10.000Z
defmodule Intersect.Validation.PointPolygonBTest do use ExUnit.Case @tag :validation test "11-001 - PA - point contained in simple polygon" do a = "POINT (100 100)" |> Geo.WKT.decode!() b = "POLYGON ((50 50, 200 50, 200 200, 50 200, 50 50))" |> Geo.WKT.decode!() assert Topo.intersects?(a, b) == true...
39.303571
270
0.604271
790f11be9f5c09a43bc91c5ca81c66920bbb90a4
22,346
exs
Elixir
test/myxql_test.exs
maartenvanvliet/myxql
70629ac855cd7bf9a5dbaa3a1a828a7da68c15e6
[ "Apache-2.0" ]
null
null
null
test/myxql_test.exs
maartenvanvliet/myxql
70629ac855cd7bf9a5dbaa3a1a828a7da68c15e6
[ "Apache-2.0" ]
null
null
null
test/myxql_test.exs
maartenvanvliet/myxql
70629ac855cd7bf9a5dbaa3a1a828a7da68c15e6
[ "Apache-2.0" ]
1
2022-02-01T15:13:09.000Z
2022-02-01T15:13:09.000Z
defmodule MyXQLTest do use ExUnit.Case, async: true import ExUnit.CaptureLog @opts TestHelper.opts() describe "connect" do @tag ssl: true test "connect with bad SSL opts" do assert capture_log(fn -> opts = [ssl: true, ssl_opts: [ciphers: [:bad]]] ++ @opts assert_sta...
32.33864
99
0.569319
790f182e2de13f88cb24d2a063114572be1361a8
1,638
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/seller.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/model/seller.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/seller.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 ...
32.76
185
0.725275
790f494e7f38cf161e6318e6d7239a9f4c64a58a
1,538
ex
Elixir
lib/fish_web/views/error_helpers.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
1
2021-02-09T23:49:40.000Z
2021-02-09T23:49:40.000Z
lib/fish_web/views/error_helpers.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
lib/fish_web/views/error_helpers.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
defmodule FishWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:sp...
32.041667
73
0.663199
790f545c28dcd64076e21dc36da1b84757e098c6
6,292
ex
Elixir
lib/result/helpers.ex
joevandyk/result
b516f0440ca41f0a68fbd2f66064b1bca70bd1d9
[ "MIT" ]
null
null
null
lib/result/helpers.ex
joevandyk/result
b516f0440ca41f0a68fbd2f66064b1bca70bd1d9
[ "MIT" ]
null
null
null
lib/result/helpers.ex
joevandyk/result
b516f0440ca41f0a68fbd2f66064b1bca70bd1d9
[ "MIT" ]
null
null
null
defmodule Brex.Result.Helpers do @moduledoc """ Tools for modifying the reason in `error` tuples. """ import Brex.Result.Base alias Brex.Result.Base require Logger @type s(x) :: Base.s(x) @type t(x) :: Base.t(x) @type p() :: Base.p() @type s() :: Base.s() @type t() :: Base.t() @doc """ Wr...
24.771654
98
0.561189
790f67bcf8d0a947f3bd25aa593474a261c2473d
2,569
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/route_condition.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/route_condition.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/route_condition.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...
41.435484
269
0.705333
790f6c7b32dfa6b2fe1db25e2919b5bc6b5d7ae5
2,374
ex
Elixir
lib/hl7/2.5.1/segments/om1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/om1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/om1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.Segments.OM1 do @moduledoc false require Logger alias HL7.V2_5_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, sequence_number_test_observation_master_file: nil, producers_service_test_observation_id: DataTypes.Ce, permitted_data_types: nil, specim...
40.237288
85
0.768745
790f7c6a81198b68640398cec116dbebd38a7a3e
2,788
ex
Elixir
lib/codes/codes_f65.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f65.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f65.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_F65 do alias IcdCode.ICDCode def _F650 do %ICDCode{full_code: "F650", category_code: "F65", short_code: "0", full_name: "Fetishism", short_name: "Fetishism", category_name: "Fetishism" } end def _F651 do %ICDCode{ful...
26.301887
53
0.560617
790f890cf39967b7d69dc60cf654b1dc6a16c32f
216
exs
Elixir
scripts/scrapers/config/config.exs
codeselfstudy/codeselfstudy
fdfec5c9e3639b54d02c94c66b032373e1520026
[ "BSD-3-Clause" ]
8
2020-01-15T19:24:35.000Z
2021-07-23T06:12:56.000Z
scripts/scrapers/config/config.exs
codeselfstudy/codeselfstudy
fdfec5c9e3639b54d02c94c66b032373e1520026
[ "BSD-3-Clause" ]
64
2020-01-26T00:17:38.000Z
2021-03-21T02:42:38.000Z
scripts/scrapers/config/config.exs
codeselfstudy/codeselfstudy
fdfec5c9e3639b54d02c94c66b032373e1520026
[ "BSD-3-Clause" ]
2
2020-02-01T01:07:33.000Z
2020-02-01T21:34:34.000Z
use Mix.Config # I didn't figure out hound yet. # https://github.com/HashNuke/hound/blob/master/notes/configuring-hound.md config :hound, port: 5555, retries: 3, browser: "firefox" import_config "#{Mix.env()}.exs"
27
74
0.731481
790f94805245c139c65b162de72313c06d93f06f
869
exs
Elixir
config/config.exs
cncgl/phoenix-sample
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
1
2016-01-01T12:55:25.000Z
2016-01-01T12:55:25.000Z
config/config.exs
cncgl/phoenix-todo
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
1
2015-09-10T13:41:51.000Z
2015-09-10T13:41:51.000Z
config/config.exs
cncgl/phoenix-todo
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :hello_phoenix, HelloPhoenix.Endpoint, url: [host:...
34.76
86
0.759494
790fd2d56e3a238d0b2e73e44e9c63f84093c43a
647
ex
Elixir
lib/tanks_web/controllers/game_controller.ex
marcinbiegun/elixir-tanks
29a3beef303825a137249c8ae0a3ff21c33d9a1c
[ "MIT" ]
null
null
null
lib/tanks_web/controllers/game_controller.ex
marcinbiegun/elixir-tanks
29a3beef303825a137249c8ae0a3ff21c33d9a1c
[ "MIT" ]
null
null
null
lib/tanks_web/controllers/game_controller.ex
marcinbiegun/elixir-tanks
29a3beef303825a137249c8ae0a3ff21c33d9a1c
[ "MIT" ]
null
null
null
defmodule TanksWeb.GameController do use TanksWeb, :controller def index(conn, _params) do games = Tanks.GameServer.all() render(conn, "index.html", games: games) end def show(conn, %{"id" => game_id} = _params) do game = Tanks.GameServer.get(game_id) render(conn, "show.html", game: game) en...
24.884615
51
0.647604
790ff98e59da11c3e58f7ffc84c1a074fb511ddf
3,716
ex
Elixir
apps/fz_http/test/support/test_helpers.ex
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
apps/fz_http/test/support/test_helpers.ex
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
apps/fz_http/test/support/test_helpers.ex
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.TestHelpers do @moduledoc """ Test setup helpers """ alias FzHttp.{ ConnectivityChecksFixtures, DevicesFixtures, Repo, RulesFixtures, SessionsFixtures, Users, Users.User, UsersFixtures } def restore_env(key, val, cb) do old = Application.fetch_env!(:fz_...
22.119048
85
0.618676
791016d5074e3e85a27a07c7c76d51b48545cf3a
10,882
ex
Elixir
deps/ecto/lib/ecto/changeset/relation.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/changeset/relation.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/changeset/relation.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
defmodule Ecto.Changeset.Relation do @moduledoc false alias Ecto.Changeset alias Ecto.Association.NotLoaded @type t :: %{cardinality: :one | :many, on_replace: :raise | :mark_as_invalid | atom, relationship: :parent | :child, owner: atom, related: at...
31.360231
96
0.64308
7910199695d57e507f784626851fbd7845abfedd
6,457
ex
Elixir
lib/rihanna/job.ex
antonioparisi/rihanna
81aca463419111aa3e761dbbd5862ac986d3ec7a
[ "MIT" ]
null
null
null
lib/rihanna/job.ex
antonioparisi/rihanna
81aca463419111aa3e761dbbd5862ac986d3ec7a
[ "MIT" ]
null
null
null
lib/rihanna/job.ex
antonioparisi/rihanna
81aca463419111aa3e761dbbd5862ac986d3ec7a
[ "MIT" ]
null
null
null
defmodule Rihanna.Job do require Logger @type result :: any @type reason :: any @type t :: %__MODULE__{} @callback perform(arg :: any) :: :ok | {:ok, result} | :error | {:error, reason} @moduledoc """ A behaviour for Rihanna jobs. You must implement `c:Rihanna.Job.perform/1` in your job, and it must...
22.342561
110
0.560012
791059d154259c09364bb1314baa1630d4e14a54
40,965
ex
Elixir
lib/ecto/type.ex
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Type do @moduledoc """ Defines functions and the `Ecto.Type` behaviour for implementing custom types. A custom type expects 4 functions to be implemented, all documented and described below. We also provide two examples of how custom types can be used in Ecto to augment existing types or pro...
30.457249
124
0.62717
7910636f3866b50e9e996a43c089dba1d981e2ce
69
exs
Elixir
chapter3/challenges/mealcon/test/test_helper.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter3/challenges/mealcon/test/test_helper.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter3/challenges/mealcon/test/test_helper.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Mealcon.Repo, :manual)
23
53
0.782609
7910668d2f2b812655a72116f010f4f89b80b426
2,629
ex
Elixir
clients/translate/lib/google_api/translate/v3/model/translation.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v3/model/translation.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v3/model/translation.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...
46.946429
405
0.736021
791068c6f43717eda8c24ff417148c397b3c0886
32,689
ex
Elixir
lib/sparql/functions/builtins.ex
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
23
2018-09-25T21:09:35.000Z
2020-05-14T16:28:22.000Z
lib/sparql/functions/builtins.ex
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
2
2018-06-01T20:47:48.000Z
2019-03-05T23:20:34.000Z
lib/sparql/functions/builtins.ex
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
2
2019-12-13T19:20:54.000Z
2019-12-20T08:23:21.000Z
defmodule SPARQL.Functions.Builtins do require Logger alias RDF.{IRI, BlankNode, Literal, XSD, NS} # Value equality # - <https://www.w3.org/TR/sparql11-query/#OperatorMapping> # - <https://www.w3.org/TR/sparql11-query/#func-RDFterm-equal> def call(:=, [left, right], _) do left |> RDF.Term.equal_value...
36.080574
177
0.644253
79108332a05cd14e147ce6230d0e6157f0eff8af
1,287
ex
Elixir
lib/ueberauth_heroku_example/endpoint.ex
maxbeizer/ueberauth_heroku_example
e0dce54d9dee70be28ca25422cd2d4a59571248b
[ "MIT" ]
null
null
null
lib/ueberauth_heroku_example/endpoint.ex
maxbeizer/ueberauth_heroku_example
e0dce54d9dee70be28ca25422cd2d4a59571248b
[ "MIT" ]
null
null
null
lib/ueberauth_heroku_example/endpoint.ex
maxbeizer/ueberauth_heroku_example
e0dce54d9dee70be28ca25422cd2d4a59571248b
[ "MIT" ]
null
null
null
defmodule UeberauthHerokuExample.Endpoint do use Phoenix.Endpoint, otp_app: :ueberauth_heroku_example socket "/socket", UeberauthHerokuExample.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 st...
29.930233
69
0.73582
7910bf5f58af4accf20064a13ef215425a8f9577
2,697
ex
Elixir
clients/content/lib/google_api/content/v21/model/account_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.492308
228
0.720801
7910c02368fd9473b9d02cc32829fbd996da94d1
230
ex
Elixir
lib/phone/nanp/tc.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/nanp/tc.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/nanp/tc.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.NANP.TC do @moduledoc false use Helper.Country def regex, do: ~r/^(1)(649)([2-9].{6})$/ def country, do: "Turks and Caicos Islands" def a2, do: "TC" def a3, do: "TCA" matcher(:regex, ["1649"]) end
17.692308
45
0.613043
7910d373fc315d335249687d81abf8b834efcc61
578
exs
Elixir
priv/repo/migrations/20170620214154_create_change_management_parameter.exs
no0x9d/chankins
b4fd37d3145a001e4ebbe86eea91742d5a812858
[ "MIT" ]
null
null
null
priv/repo/migrations/20170620214154_create_change_management_parameter.exs
no0x9d/chankins
b4fd37d3145a001e4ebbe86eea91742d5a812858
[ "MIT" ]
null
null
null
priv/repo/migrations/20170620214154_create_change_management_parameter.exs
no0x9d/chankins
b4fd37d3145a001e4ebbe86eea91742d5a812858
[ "MIT" ]
null
null
null
defmodule Chankins.Repo.Migrations.CreateChankins.ChangeManagement.Parameter do use Ecto.Migration def change do create table(:change_management_parameters) do add :key, :string add :value, :string add :group, :string add :version_id, references(:change_management_versions, on_delete: :...
30.421053
83
0.738754
7910d43bd213ba16da6543fb3c6f94ac87c92e93
2,064
ex
Elixir
lib/codes/codes_p14.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_p14.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_p14.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_P14 do alias IcdCode.ICDCode def _P140 do %ICDCode{full_code: "P140", category_code: "P14", short_code: "0", full_name: "Erb's paralysis due to birth injury", short_name: "Erb's paralysis due to birth injury", category_name: "Erb's...
33.836066
85
0.625969
791117797cb414d820731f02a0337a567d63fd65
1,506
ex
Elixir
horas_trabalhadas_elixir/lib/horas_trabalhadas_elixir/utils/time_utils.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
horas_trabalhadas_elixir/lib/horas_trabalhadas_elixir/utils/time_utils.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
horas_trabalhadas_elixir/lib/horas_trabalhadas_elixir/utils/time_utils.ex
hbobenicio/elixir-examples
a116955b6e180f295dde5a41bd729fcd5d69857e
[ "Apache-2.0" ]
null
null
null
defmodule HorasTrabalhadasElixir.Utils.TimeUtils do @moduledoc """ Utilitário para tratamento de cálculos que envolvem tempo. """ @spec diferenca_horas(number, number) :: number def diferenca_horas(h1, h2) do entrada = parse_horas_em_minutos(h1) saida = parse_horas_em_minutos(h2) hours_from_...
19.558442
60
0.656042
79113a45ceaf1de91c9f0e605aa31196c7eec064
1,990
ex
Elixir
clients/dns/lib/google_api/dns/v1/model/resource_record_sets_list_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/resource_record_sets_list_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/resource_record_sets_list_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.535714
102
0.713568
7911433d918cf1d5cd187df4586c506b695053d5
1,621
ex
Elixir
Library/Recursive/queens.ex
Theopse/Functions
3858d47c3e0b31170d3070a150bc79be991ac1f7
[ "BSD-2-Clause" ]
null
null
null
Library/Recursive/queens.ex
Theopse/Functions
3858d47c3e0b31170d3070a150bc79be991ac1f7
[ "BSD-2-Clause" ]
null
null
null
Library/Recursive/queens.ex
Theopse/Functions
3858d47c3e0b31170d3070a150bc79be991ac1f7
[ "BSD-2-Clause" ]
null
null
null
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = # This File if From Theopse (Self@theopse.org) # Licensed under BSD-2-Caluse # File: queens.ex (Functions/Library/Recursive/queens.ex) # Content: Queens # Copyright (c) 2020 Theopse Organization All rights reserved # = =...
21.905405
99
0.483035
791160b4f07a636b8c7371feb58692ef62a74fb8
1,999
ex
Elixir
lib/live_view_demo/code_breaker.ex
manojsamanta/codebreaker-prototype
14d521db45784dee692de9e7252dd6a54bb793bb
[ "MIT" ]
null
null
null
lib/live_view_demo/code_breaker.ex
manojsamanta/codebreaker-prototype
14d521db45784dee692de9e7252dd6a54bb793bb
[ "MIT" ]
null
null
null
lib/live_view_demo/code_breaker.ex
manojsamanta/codebreaker-prototype
14d521db45784dee692de9e7252dd6a54bb793bb
[ "MIT" ]
null
null
null
defmodule LiveViewDemo.CodeBreaker do @moduledoc """ The CodeBreaker context. """ import Ecto.Query, warn: false alias LiveViewDemo.CodeBreaker.Game alias LiveViewDemo.CodeBreaker.Turn @colorlist ~w(a b c d e f)a def create_game_for_user(user_id, %{colors: colors}) do game_id = UUID.uuid4() ...
24.378049
83
0.618809
79116c532435cf5a07e790606d01fdcf892be2ab
1,685
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/bucket_logging.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/bucket_logging.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_logging.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.7
131
0.730564
791172290ff8cc8f8cea7925acbf4ad5da7a4ca4
69
ex
Elixir
lib/supply_chain_web/views/sign_view.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
5
2020-12-10T07:24:18.000Z
2021-12-15T08:26:05.000Z
lib/supply_chain_web/views/sign_view.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
null
null
null
lib/supply_chain_web/views/sign_view.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
2
2020-12-12T17:06:13.000Z
2021-04-09T02:12:31.000Z
defmodule SupplyChainWeb.SignView do use SupplyChainWeb, :view end
17.25
36
0.826087
7911727d0d7a362f88b6ca0558c2a03b185d92e7
4,645
exs
Elixir
test/gettext/merger_test.exs
stephenmoloney/gettext
4b9a0fd71e6ebdfa3ae3fb63c657b67e8745faa1
[ "Apache-2.0" ]
null
null
null
test/gettext/merger_test.exs
stephenmoloney/gettext
4b9a0fd71e6ebdfa3ae3fb63c657b67e8745faa1
[ "Apache-2.0" ]
null
null
null
test/gettext/merger_test.exs
stephenmoloney/gettext
4b9a0fd71e6ebdfa3ae3fb63c657b67e8745faa1
[ "Apache-2.0" ]
null
null
null
defmodule Gettext.MergerTest do use ExUnit.Case, async: true alias Gettext.Merger alias Gettext.PO alias Gettext.PO.Translation @opts fuzzy: true, fuzzy_threshold: 0.8 @pot_path "../../tmp/" |> Path.expand(__DIR__) |> Path.relative_to_cwd test "merge/2: headers from the old file are kept" do old_po...
37.764228
134
0.651668
7911d24e3275553701b520e5201b701843bfc977
680
ex
Elixir
lib/esx/transport/selector.ex
gor181/esx
8cc247ff92e2dac7f4ee4601298521622597f10c
[ "MIT" ]
27
2017-03-21T15:42:07.000Z
2021-10-18T21:15:53.000Z
lib/esx/transport/selector.ex
ikeikeikeike/es
f38d6576e9bce466b91e4d75ed2c690756db6fb0
[ "MIT" ]
2
2017-06-03T19:25:13.000Z
2019-06-05T00:06:48.000Z
lib/esx/transport/selector.ex
ikeikeikeike/es
f38d6576e9bce466b91e4d75ed2c690756db6fb0
[ "MIT" ]
4
2017-10-08T20:17:14.000Z
2021-05-24T11:22:13.000Z
defmodule ESx.Transport.Selector do defmodule Base do @callback select(conns :: List.t()) :: ESx.Transport.Connection.t() | {:error, term} end defmodule Random do @moduledoc "Random Selector" @behaviour Base def select(conns) do Enum.random(conns) end end defmodule RoundRobin do ...
17.894737
88
0.594118
7911e249d38089b6bb55af7eb0b012ae645ba0a5
380
ex
Elixir
apps/ello_feeds/web/views/error_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_feeds/web/views/error_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_feeds/web/views/error_view.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Feeds.ErrorView do use Ello.Feeds.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_tem...
21.111111
47
0.697368
7912023df402ccc65fe74fb3e63b7a3e971e72a1
879
ex
Elixir
test/support/conn_case.ex
youknowcast/aiit_sp_challenge4
a5811675b77f4c496c9456a74e986ba1cfd8ef2f
[ "MIT" ]
4
2019-04-07T17:43:10.000Z
2020-07-07T21:32:44.000Z
test/support/conn_case.ex
youknowcast/aiit_sp_challenge4
a5811675b77f4c496c9456a74e986ba1cfd8ef2f
[ "MIT" ]
10
2020-07-17T03:55:57.000Z
2022-01-09T18:33:29.000Z
test/support/conn_case.ex
youknowcast/aiit_sp_challenge4
a5811675b77f4c496c9456a74e986ba1cfd8ef2f
[ "MIT" ]
3
2019-09-09T15:21:41.000Z
2020-07-07T21:35:07.000Z
defmodule HelloWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the ...
26.636364
59
0.726962
79124135f70d14f27744d8b8e84bba6904f55b0d
1,738
ex
Elixir
lib/maxmind_csv/schema/city_block_decimal.ex
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
1
2020-06-20T14:40:16.000Z
2020-06-20T14:40:16.000Z
lib/maxmind_csv/schema/city_block_decimal.ex
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
null
null
null
lib/maxmind_csv/schema/city_block_decimal.ex
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MaxMindCSV.Schema.CityBlockDecimal do @moduledoc """ Sample `Ecto.Schema` to use with the adapter for city databases (blocks). Table name: `geolix_maxmind_csv_city_blocks_decimal`. Preloads: `Geolix.Adapter.MaxMindCSV.Schema.CityLocation` """ use Ecto.Schema import Ecto.Query,...
28.966667
86
0.737054
79124c463f81bc06a01bde9ce937e4889e21682b
330
exs
Elixir
test/rewind_web/live/page_live_test.exs
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
2
2021-09-18T09:15:13.000Z
2022-03-16T09:29:37.000Z
test/rewind_web/live/page_live_test.exs
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
null
null
null
test/rewind_web/live/page_live_test.exs
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
null
null
null
defmodule RewindWeb.PageLiveTest do use RewindWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoenix!" ...
27.5
60
0.724242
79126398e6fd57e0231b0bb8c017669f61839904
6,589
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/attached_disk.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/attached_disk.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/attached_disk.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
75.735632
995
0.746851
791267997cb4aa557ae98a10ce340f77e254aa87
5,236
ex
Elixir
lib/oli/utils/slug.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli/utils/slug.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli/utils/slug.ex
marc-hughes/oli-torus-1
aa3c9bb2d91b678a365be839761eaf86c60ee35c
[ "MIT" ]
null
null
null
defmodule Oli.Utils.Slug do @chars "abcdefghijklmnopqrstuvwxyz1234567890" |> String.split("", trim: true) @doc """ Updates the slug from the title for a table if the title has not been set or if it has changed. """ def update_on_change(changeset, table) do case changeset.valid? do # We only have ...
28.150538
95
0.615355
7912879ce0f8b2e6b9cacf2f60d647f0273a7b99
193,490
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataproc/lib/google_api/dataproc/v1/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/api/projects.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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 ...
48.578961
826
0.626368
79128ff2306d75e3d15e27e45a74f57333089fb5
19,979
ex
Elixir
lib/mint/web_socket.ex
hkrutzer/mint_web_socket
213bdc56addbc3d7b5344d14b6e194cc1ca3024f
[ "Apache-2.0" ]
null
null
null
lib/mint/web_socket.ex
hkrutzer/mint_web_socket
213bdc56addbc3d7b5344d14b6e194cc1ca3024f
[ "Apache-2.0" ]
null
null
null
lib/mint/web_socket.ex
hkrutzer/mint_web_socket
213bdc56addbc3d7b5344d14b6e194cc1ca3024f
[ "Apache-2.0" ]
null
null
null
defmodule Mint.WebSocket do @moduledoc """ HTTP/1 and HTTP/2 WebSocket support for the Mint functional HTTP client Like Mint, `Mint.WebSocket` provides a functional, process-less interface for operating a WebSocket connection. Prospective Mint.WebSocket users may wish to first familiarize themselves with `Mi...
34.565744
98
0.662145
7912dbe4f7501bc701adad953cdc27e27b4c47ae
584
ex
Elixir
elixir/day3/states/lib/video_store.ex
hemslo/seven-in-seven
5c772abf8e0887675e56a9478be663807c79c3a8
[ "MIT" ]
null
null
null
elixir/day3/states/lib/video_store.ex
hemslo/seven-in-seven
5c772abf8e0887675e56a9478be663807c79c3a8
[ "MIT" ]
null
null
null
elixir/day3/states/lib/video_store.ex
hemslo/seven-in-seven
5c772abf8e0887675e56a9478be663807c79c3a8
[ "MIT" ]
null
null
null
defmodule VideoStore do def renting(video) do vid = log video, "Renting #{video.title}" %{vid | times_rented: (video.times_rented + 1)} end def returning(video), do: log( video, "Returning #{video.title}" ) def losing(video), do: log( video, "Losing #{video.title}" ) def finding(video), do: log( vi...
27.809524
75
0.652397
7912ece6d4089bf550d8a6d0f60d80489256825a
1,373
exs
Elixir
mix.exs
aditya7iyengar/bamboohr_api
e45a54e32cc6231b12de2bb42cd6569fcb7d4858
[ "MIT" ]
null
null
null
mix.exs
aditya7iyengar/bamboohr_api
e45a54e32cc6231b12de2bb42cd6569fcb7d4858
[ "MIT" ]
null
null
null
mix.exs
aditya7iyengar/bamboohr_api
e45a54e32cc6231b12de2bb42cd6569fcb7d4858
[ "MIT" ]
null
null
null
defmodule BamboohrApi.MixProject do use Mix.Project @version "0.0.1" @source "https://github.com/aditya7iyengar/bamboohr_api" @description """ An Elixir wrapper around the BambooHR REST API """ def project do [ app: :bamboohr_api, description: @description, deps: deps(), docs...
21.793651
58
0.529497