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
7420c30bb505b48a04422ed8776ae8b6eebd9158
3,317
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/expr.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/model/expr.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/model/expr.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...
36.450549
129
0.705155
7420c3c42de7bd2a2eda8ca88e1d631fdfeb1eb0
375
exs
Elixir
priv/repo/seeds.exs
BasileNouvellet/phoenix-live-view-demo
da3694dc13aa02a49804dadffd072398433df0fe
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
BasileNouvellet/phoenix-live-view-demo
da3694dc13aa02a49804dadffd072398433df0fe
[ "MIT" ]
2
2021-03-09T12:16:11.000Z
2021-05-10T02:09:43.000Z
priv/repo/seeds.exs
BasileNouvellet/phoenix-live-view-demo
da3694dc13aa02a49804dadffd072398433df0fe
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # PhoenixLiveViewDemo.Repo.insert!(%PhoenixLiveViewDemo.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` #...
31.25
73
0.725333
7420ef7d8b3e3e598acf113acf5e7ab556baad50
515
ex
Elixir
lib/companies/schema/industry.ex
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
333
2019-05-18T14:01:17.000Z
2022-03-22T05:07:40.000Z
lib/companies/schema/industry.ex
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
89
2019-05-18T10:01:54.000Z
2021-05-12T15:19:26.000Z
lib/companies/schema/industry.ex
envato/elixir-companies
7488075d1a372c9ca8fa6603f93e384b73977526
[ "MIT" ]
33
2019-06-07T00:33:53.000Z
2022-03-21T05:38:28.000Z
defmodule Companies.Schema.Industry do @moduledoc false use Ecto.Schema import Ecto.Changeset alias Companies.Schema.{Company, PendingChange} schema "industries" do field :name, :string has_many :companies, Company # Optional reference to the change that removed the resource belongs_to :re...
19.807692
64
0.714563
74211d4324ba4786fd0519c32a2dae8895cafba0
2,919
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/workers/call.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/workers/call.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/workers/call.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Workers.Call do @moduledoc """ One-off worker to perform a synchronous call to an Ockam worker using the routing protocol. """ use Ockam.Worker require Logger def call_on_current_process(payload, onward_route, timeout \\ 10_000, self_address \\ nil) do with_self_address(self_address...
24.529412
95
0.621103
7421427366cf6816f85aa307e3d50467e27e6ed6
436
ex
Elixir
web/models/user.ex
bbulpett/chatroom
21a869b4e82ba7311fd1a40d359eadccbbf650fe
[ "MIT" ]
2
2017-02-16T09:44:44.000Z
2018-07-30T06:17:05.000Z
web/models/user.ex
bbulpett/chatroom
21a869b4e82ba7311fd1a40d359eadccbbf650fe
[ "MIT" ]
null
null
null
web/models/user.ex
bbulpett/chatroom
21a869b4e82ba7311fd1a40d359eadccbbf650fe
[ "MIT" ]
null
null
null
defmodule Chatroom.User do use Chatroom.Web, :model schema "users" do field :email, :string field :crypted_password, :string timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) do struct |> cast(params, [:email, :...
20.761905
56
0.651376
74219a564d4f8bacc3610f253834c5ca0ff453a2
534
ex
Elixir
lib/seeds/core/groups_seeds.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/seeds/core/groups_seeds.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/seeds/core/groups_seeds.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSup.Seeds.Core.GroupsSeeds do alias LiveSup.Repo alias LiveSup.Schemas.Group def seed, do: insert_data() defp insert_data do [ %{ name: "Administrators", internal: true, slug: "administrators" }, %{ name: "All Users", internal: true, ...
17.8
43
0.56367
7421d395e72d5b898db52a368172421dae01fc07
1,084
exs
Elixir
clients/essential_contacts/test/test_helper.exs
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/essential_contacts/test/test_helper.exs
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/essential_contacts/test/test_helper.exs
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.111111
83
0.743542
7421e74c248a3bd6f913fb95e68829f7571204d2
411
ex
Elixir
lib/ex_clubhouse/model/story_contents_task.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-17T00:42:10.000Z
2021-04-11T16:39:52.000Z
lib/ex_clubhouse/model/story_contents_task.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
7
2020-03-21T20:22:13.000Z
2021-12-30T16:32:07.000Z
lib/ex_clubhouse/model/story_contents_task.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-25T18:34:49.000Z
2021-09-13T16:44:00.000Z
defmodule ExClubhouse.Model.StoryContentsTask do @moduledoc """ Story contents task respons model """ @type t :: %__MODULE__{ complete: boolean(), description: binary(), external_id: binary() | nil, owner_ids: list(binary()), position: integer() } def...
27.4
91
0.618005
7421e8501e9b46c1248a7465b10f6676683776a3
684
ex
Elixir
lib/scenic/view_port/driver/supervisor.ex
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
1,716
2018-09-07T21:55:43.000Z
2022-03-31T16:16:30.000Z
lib/scenic/view_port/driver/supervisor.ex
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
220
2018-09-08T01:28:00.000Z
2022-03-22T03:55:17.000Z
lib/scenic/view_port/driver/supervisor.ex
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
137
2018-09-07T21:55:56.000Z
2022-03-26T04:07:27.000Z
# # Created by Boyd Multerer on 2017-10-07. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.ViewPort.Driver.Supervisor do @moduledoc false use Supervisor # import IEx # ============================================================================ # setup the viewport supervis...
23.586207
80
0.616959
74224ff23ef77adb745cb00e7cbee199b0301abd
1,736
ex
Elixir
web/web.ex
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
web/web.ex
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
web/web.ex
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
defmodule FunInTheSun.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use FunInTheSun.Web, :controller use FunInTheSun.Web, :view The definitions below will be executed for every view, controller, etc, so k...
20.915663
88
0.661866
742252fe2318279323c3dac44024ec6359aa2535
57
ex
Elixir
lesson_07/demo/auth_umbrella/apps/auth_web/lib/auth_web/views/layout_view.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
1
2021-09-22T09:56:35.000Z
2021-09-22T09:56:35.000Z
lesson_07/demo/auth_umbrella/apps/auth_web/lib/auth_web/views/layout_view.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
7
2020-03-14T19:30:29.000Z
2022-02-27T01:20:40.000Z
lesson_07/demo/auth_umbrella/apps/auth_web/lib/auth_web/views/layout_view.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
11
2020-02-13T14:52:45.000Z
2020-08-03T12:18:56.000Z
defmodule AuthWeb.LayoutView do use AuthWeb, :view end
14.25
31
0.789474
742263b5ab45448f9f1c693254c08715e28a980e
1,980
ex
Elixir
clients/content/lib/google_api/content/v21/model/product_amount.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v21/model/product_amount.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v21/model/product_amount.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...
37.358491
157
0.724747
742271f2f01b8cfe76d1b4a8dcc938d37bc87657
1,972
ex
Elixir
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/universal_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/universal_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/universal_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.44
143
0.756592
74229104df6efb504d618c8470a2137c0af93a4e
1,757
ex
Elixir
lib/wishlist_web/live/gift_live/form_component.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/live/gift_live/form_component.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/live/gift_live/form_component.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
defmodule WishlistWeb.GiftLive.FormComponent do use WishlistWeb, :live_component alias Wishlist.Wishlists alias Phoenix.PubSub alias Wishlist.Wishlists.Assignment @impl true def update(%{gift: gift} = assigns, socket) do changeset = Wishlists.change_gift(gift) {:ok, socket |> assign(ass...
27.453125
92
0.653386
7422946c56c5afb5083e8ef0646e5b0a0d0ee8b8
1,883
ex
Elixir
lib/push_ex/supervisor.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
78
2018-12-02T23:58:37.000Z
2021-09-30T18:52:45.000Z
lib/push_ex/supervisor.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
23
2018-11-27T14:57:20.000Z
2021-09-24T16:14:43.000Z
lib/push_ex/supervisor.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
3
2019-01-30T02:08:37.000Z
2021-09-03T20:53:35.000Z
defmodule PushEx.Supervisor do use Supervisor @shutdown_timeout 10_000 def start_link(opts) do Supervisor.start_link(__MODULE__, opts) end def init(_) do children = [ PushExWeb.Config, {Phoenix.PubSub, pubsub_config()}, PushExWeb.Endpoint, {PushExWeb.PushTracke...
26.9
112
0.690919
7422c81c671a55b613e343af9981d61bd0dfbc86
84
exs
Elixir
test/views/page_view_test.exs
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
1
2018-03-07T17:21:58.000Z
2018-03-07T17:21:58.000Z
test/views/page_view_test.exs
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
albertchan/phoenix_admin
74a9bbb01d7574db887b19a13f2934b7372f7d20
[ "MIT" ]
null
null
null
defmodule PhoenixAdmin.PageViewTest do use PhoenixAdmin.ConnCase, async: true end
21
40
0.833333
7422edea4e62f005580e6f71501c0543054e79a5
1,093
ex
Elixir
lib/stat_buffer/flusher_supervisor.ex
nsweeting/stat_buffer
9e708a408fe2c6c4f96e791e9c751e7a55217411
[ "MIT" ]
7
2018-04-28T20:02:32.000Z
2021-02-04T03:46:02.000Z
lib/stat_buffer/flusher_supervisor.ex
nsweeting/stat_buffer
9e708a408fe2c6c4f96e791e9c751e7a55217411
[ "MIT" ]
null
null
null
lib/stat_buffer/flusher_supervisor.ex
nsweeting/stat_buffer
9e708a408fe2c6c4f96e791e9c751e7a55217411
[ "MIT" ]
null
null
null
defmodule StatBuffer.FlusherSupervisor do @moduledoc false use DynamicSupervisor ################################ # Public API ################################ @spec start_link(buffer :: StatBuffer.t()) :: Supervisor.on_start() def start_link(buffer) do DynamicSupervisor.start_link(__MODULE__, [], ...
24.288889
86
0.540714
7422ef2ee784b48f13be18624e75ff891c0188d7
431
exs
Elixir
2021/elixir/mix.exs
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/mix.exs
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/mix.exs
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
defmodule AdventOfCode2021.MixProject do use Mix.Project def project do [ apps_path: "apps", version: "0.1.0", start_permanent: Mix.env() == :prod, deps: deps() ] end # Dependencies listed here are available only for this # project and cannot be accessed from applications ins...
19.590909
59
0.645012
74230c41acd21e543c1a2de90571acb15bd435df
2,735
ex
Elixir
clients/tpu/lib/google_api/tpu/v1/model/operation_metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/model/operation_metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/model/operation_metadata.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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.076923
299
0.692139
7423131fa474c51ea14c6090a353fb82c2d105fb
29,848
ex
Elixir
lib/baiji/service/dax.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/service/dax.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/service/dax.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
defmodule Baiji.DAX do @moduledoc """ DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so applications can access that data with sub-millisecond latency. You can create a DAX cluster easily, using th...
71.577938
16,241
0.575817
742314c591096de294fb4cc80d58ed6bb0f43973
59
exs
Elixir
config/dev.exs
wyattbenno777/Zoho-elixir
6be80727fc2dd0f6b4f185e4047ca61e27e20b5e
[ "MIT" ]
null
null
null
config/dev.exs
wyattbenno777/Zoho-elixir
6be80727fc2dd0f6b4f185e4047ca61e27e20b5e
[ "MIT" ]
null
null
null
config/dev.exs
wyattbenno777/Zoho-elixir
6be80727fc2dd0f6b4f185e4047ca61e27e20b5e
[ "MIT" ]
null
null
null
use Mix.Config config :zoho, auth_key: "", domain: ""
9.833333
15
0.610169
7423682fc87055b874800fe64ceaf079fe124016
684
exs
Elixir
priv/repo/migrations/20190804142521_add_more_fields_to_place.exs
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
null
null
null
priv/repo/migrations/20190804142521_add_more_fields_to_place.exs
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
14
2019-09-02T18:00:07.000Z
2021-09-02T00:49:54.000Z
priv/repo/migrations/20190804142521_add_more_fields_to_place.exs
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
1
2016-07-27T14:40:55.000Z
2016-07-27T14:40:55.000Z
defmodule Dobar.Repo.Migrations.AddMoreFieldsToPlace do use Ecto.Migration def change do alter table(:places) do add :type, :string, default: "restaurant" add :phone, :string add :working_hours, {:array, :string} add :delivery, :boolean add :accepts_card, :boolean add :wifi,...
27.36
55
0.643275
7423735222fecb9b63dc7384ecada1b292a5a80a
18,914
ex
Elixir
lib/axon/activations.ex
AdamT/axon
083e1404e7cd4a3346e4728a43f2a6bded500b1f
[ "Apache-2.0" ]
null
null
null
lib/axon/activations.ex
AdamT/axon
083e1404e7cd4a3346e4728a43f2a6bded500b1f
[ "Apache-2.0" ]
null
null
null
lib/axon/activations.ex
AdamT/axon
083e1404e7cd4a3346e4728a43f2a6bded500b1f
[ "Apache-2.0" ]
null
null
null
defmodule Axon.Activations do @moduledoc """ Activation functions. Activation functions are element-wise, (typically) non-linear functions called on the output of another layer, such as a dense layer: x |> dense(weight, bias) |> relu() Activation functions output the "activation" or how...
26.790368
160
0.540393
742384af6a517bbd337b3d03b2186d8668d2670a
3,304
ex
Elixir
lib/yaps/push_backend.ex
keichan34/YAPS
908ab1c1b8913b5acef5c4bf634f8879709fb0b9
[ "MIT" ]
1
2015-06-17T03:47:45.000Z
2015-06-17T03:47:45.000Z
lib/yaps/push_backend.ex
keichan34/YAPS
908ab1c1b8913b5acef5c4bf634f8879709fb0b9
[ "MIT" ]
null
null
null
lib/yaps/push_backend.ex
keichan34/YAPS
908ab1c1b8913b5acef5c4bf634f8879709fb0b9
[ "MIT" ]
null
null
null
defmodule Yaps.PushBackend do @moduledoc """ This module is used to define a push backend service. When used, the following options are allowed: * `:adapter` - the adapter to be used for the backend. * `:env` - configures the repository to support environments ## Example defmodule APNSBackend do ...
25.415385
80
0.607748
742386b7cd2dee3c64685fef5660473b1dfae9b5
3,552
ex
Elixir
lib/flamelex/buffer/utils/text_buffer_helpers/cursor_movement.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
10
2021-03-02T20:05:13.000Z
2022-03-14T21:10:39.000Z
lib/flamelex/editor/buffer/utils/text_buffer_helpers/cursor_movement.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-14T18:29:44.000Z
2021-12-23T20:38:27.000Z
lib/flamelex/editor/buffer/utils/text_buffer_helpers/cursor_movement.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-05T20:41:26.000Z
2021-12-26T01:46:42.000Z
defmodule Flamelex.Buffer.Utils.CursorMovementUtils do use Flamelex.ProjectAliases alias Flamelex.GUI.Component.TextCursor @doc """ This is here so we have a library of pure functions we can call, whilst still having the callback logic contained within the Task. """ def move_cursor_and_update_gui(%{rego_...
44.4
146
0.652309
7423c30b75711e5e501d7fc92396b06a28606eb6
442
exs
Elixir
priv/repo/migrations/20181221212912_create_comments.exs
IamTheLime/listentothis
cc2b4ca3a11623e68f5657d8538a586fddeba85b
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20181221212912_create_comments.exs
IamTheLime/listentothis
cc2b4ca3a11623e68f5657d8538a586fddeba85b
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20181221212912_create_comments.exs
IamTheLime/listentothis
cc2b4ca3a11623e68f5657d8538a586fddeba85b
[ "Apache-2.0" ]
null
null
null
defmodule Listentothis.Repo.Migrations.CreateComments do use Ecto.Migration def change do create table(:comments) do add :title, :string, size: 256 add :description, :string, size: 2048 add :upvotes, :integer add :downvotes, :integer add :date_created, :naive_datetime ...
24.555556
56
0.642534
7423d4eaf0635fed2067d6bed43064ded565d6d5
298
exs
Elixir
priv/templates/brando.install/test/e2e/test_helper.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
priv/templates/brando.install/test/e2e/test_helper.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
priv/templates/brando.install/test/e2e/test_helper.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
Logger.configure(level: :debug) {:ok, _} = Application.ensure_all_started(:ex_machina) Process.sleep(250) ExUnit.start() {_, status} = System.cmd("sh", ["-c", "cd e2e; yarn run test"], into: IO.stream(:stdio, :line)) if status > 0 do Mix.raise(~s(CYPRESS failed with status #{status})) end
21.285714
83
0.674497
7423dee2f78baf0bb6ecd39ef26c97e68e97d58c
1,185
exs
Elixir
clients/text_to_speech/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.TextToSpeech.V1beta1.Mixfile do use Mix.Project @version "0.1.0" def project do [app: :google_api_text_to_speech, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: p...
24.183673
105
0.6
74240fdf05c54848857f33aa97ee3490901f363e
1,296
exs
Elixir
config/prod.secret.exs
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
config/prod.secret.exs
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
config/prod.secret.exs
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
30.857143
73
0.729938
7424463b811737a4fbea65bcd9d8b6ddf007bc94
1,896
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1_label_frame.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1_label_frame.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1_label_frame.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.857143
152
0.75211
742446dbc1aa943d1500408523aad7e2577c0c95
107
exs
Elixir
config/dev.exs
facto/tgdb
35f1fa4e9c78c7bb8d3138314bfd0dd07e49b16d
[ "MIT" ]
null
null
null
config/dev.exs
facto/tgdb
35f1fa4e9c78c7bb8d3138314bfd0dd07e49b16d
[ "MIT" ]
null
null
null
config/dev.exs
facto/tgdb
35f1fa4e9c78c7bb8d3138314bfd0dd07e49b16d
[ "MIT" ]
null
null
null
use Mix.Config config :tgdb, api_key: {:system, "TGDB_API_KEY"}, api_root: {:system, "TGDB_API_ROOT"}
17.833333
38
0.691589
74244e8eee532d47275870c0bd7622e2836768fb
2,368
exs
Elixir
apps/ewallet_db/priv/repo/seeds_sample/01_exchange_pair.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/priv/repo/seeds_sample/01_exchange_pair.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/priv/repo/seeds_sample/01_exchange_pair.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
30.753247
97
0.626689
74244f3fdfbb350e67940fb231dc14ea9c415914
274
exs
Elixir
priv/repo/migrations/20200709140357_create_friendships.exs
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
priv/repo/migrations/20200709140357_create_friendships.exs
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
priv/repo/migrations/20200709140357_create_friendships.exs
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule Uro.Repo.Migrations.CreateFriendships do use Ecto.Migration def change do create table(:friendships) do add :from_user_id, references(:users, type: :uuid) add :to_user_id, references(:users, type: :uuid) timestamps() end end end
19.571429
56
0.689781
7424660878db1b82c4b123d0c13c15f05695ce17
461
exs
Elixir
bench/vector/shuffle.exs
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
95
2020-10-18T09:27:46.000Z
2022-03-29T20:03:16.000Z
bench/vector/shuffle.exs
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
1
2021-09-22T20:30:08.000Z
2021-10-13T23:55:34.000Z
bench/vector/shuffle.exs
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
1
2020-12-15T12:36:16.000Z
2020-12-15T12:36:16.000Z
size = 1000 range = 1..size list = Enum.to_list(range) vector = Aja.Vector.new(list) Benchee.run( %{ "Aja.Vector.shuffle/1 (vector)" => fn _ -> Aja.Vector.shuffle(vector) end, "Enum.shuffle/1 (list)" => fn _ -> Enum.shuffle(list) end, "Enum.shuffle/1 (vector)" => fn _ -> Enum.shuffle(vector) end, "Aj...
30.733333
78
0.626898
7424917e2e09e5fa8c85ba51ec22278f0b803dc8
2,945
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/video_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/video_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/video_metadata.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...
47.5
299
0.711375
74249d52d3918ba8514a2238542d401066786629
16,360
ex
Elixir
lib/thousand_island/handler.ex
davydog187/thousand_island
9489d4b3481c87a3d6f501c047d6418b164fdd00
[ "MIT" ]
139
2019-11-29T02:11:40.000Z
2022-03-24T00:17:52.000Z
lib/thousand_island/handler.ex
davydog187/thousand_island
9489d4b3481c87a3d6f501c047d6418b164fdd00
[ "MIT" ]
11
2020-01-23T15:43:58.000Z
2022-02-15T10:16:37.000Z
lib/thousand_island/handler.ex
davydog187/thousand_island
9489d4b3481c87a3d6f501c047d6418b164fdd00
[ "MIT" ]
8
2021-10-09T16:36:35.000Z
2022-01-31T20:39:10.000Z
defmodule ThousandIsland.Handler do @moduledoc """ `ThousandIsland.Handler` defines the behaviour required of the application layer of a Thousand Island server. When starting a Thousand Island server, you must pass the name of a module implementing this behaviour as the `handler_module` parameter. Thousand Isla...
45.31856
148
0.701711
7424b5b7f054c6b563a280347b6a32985006e214
7,672
ex
Elixir
lib/bamboo/adapters/mailjet_adapter.ex
krystofbe/bamboo_mailjet
ef09b5694cf8cae6370503459423799a32f29021
[ "MIT" ]
null
null
null
lib/bamboo/adapters/mailjet_adapter.ex
krystofbe/bamboo_mailjet
ef09b5694cf8cae6370503459423799a32f29021
[ "MIT" ]
null
null
null
lib/bamboo/adapters/mailjet_adapter.ex
krystofbe/bamboo_mailjet
ef09b5694cf8cae6370503459423799a32f29021
[ "MIT" ]
null
null
null
defmodule Bamboo.MailjetAdapter do @moduledoc """ Sends email using Mailjet's API. Use this adapter to send emails through Mailjet's API. Requires that both an API and a private API keys are set in the config. ## Example config # In config/config.exs, or config.prod.exs, etc. config :my_app, My...
29.060606
92
0.657456
7424cc29156f728397edf06b5ebc9fc5d6c28ee2
968
exs
Elixir
mix.exs
JonRowe/busbar
ffa828f9fb8dbcd68a7f100c8f6f464e1dde83a9
[ "MIT" ]
1
2016-06-05T10:37:20.000Z
2016-06-05T10:37:20.000Z
mix.exs
JonRowe/busbar
ffa828f9fb8dbcd68a7f100c8f6f464e1dde83a9
[ "MIT" ]
null
null
null
mix.exs
JonRowe/busbar
ffa828f9fb8dbcd68a7f100c8f6f464e1dde83a9
[ "MIT" ]
null
null
null
defmodule BusBar.Mixfile do use Mix.Project def project do [ app: :bus_bar, version: "0.0.5", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), description: description(), ...
20.166667
72
0.457645
7424d48552f77aba36219a29977043fd69a4a5b1
445
exs
Elixir
test/threehundred60_web/views/error_view_test.exs
nesimtunc/ThreeHundred60
1dd8465b44f037ecf7d43be9ebd99b9eadcee6af
[ "MIT" ]
13
2020-06-03T08:17:45.000Z
2021-03-11T04:37:52.000Z
test/threehundred60_web/views/error_view_test.exs
nesimtunc/ThreeHundred60
1dd8465b44f037ecf7d43be9ebd99b9eadcee6af
[ "MIT" ]
null
null
null
test/threehundred60_web/views/error_view_test.exs
nesimtunc/ThreeHundred60
1dd8465b44f037ecf7d43be9ebd99b9eadcee6af
[ "MIT" ]
1
2020-06-26T16:53:14.000Z
2020-06-26T16:53:14.000Z
defmodule Threehundred60Web.ErrorViewTest do use Threehundred60Web.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(Threehundred60Web.ErrorView, "404.html", []) == "Not Found" end test "render...
29.666667
99
0.750562
7424f2e9f0e51a3802df09fbf02dece4e67ca8d1
1,533
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/delete_dimension_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/delete_dimension_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/delete_dimension_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...
32.617021
129
0.746902
7425214b5a8f1d02a122a078069cfc843d3921c1
3,845
ex
Elixir
server/lib/bridge_block.ex
turbo-cunnos/bitfeed
d7216e31e33316cf08efbb47695ca212bbb505f1
[ "MIT" ]
27
2022-01-01T14:58:22.000Z
2022-03-22T06:11:18.000Z
server/lib/bridge_block.ex
turbo-cunnos/bitfeed
d7216e31e33316cf08efbb47695ca212bbb505f1
[ "MIT" ]
22
2022-01-01T04:26:10.000Z
2022-03-22T00:02:31.000Z
server/lib/bridge_block.ex
turbo-cunnos/bitfeed
d7216e31e33316cf08efbb47695ca212bbb505f1
[ "MIT" ]
9
2022-01-03T07:34:36.000Z
2022-03-14T23:19:56.000Z
require Logger defmodule BitcoinStream.Bridge.Block do @moduledoc """ Bitcoin event bridge module. Consumes a source of ZMQ bitcoin tx events and forwards to connected websocket clients """ use GenServer alias BitcoinStream.Protocol.Block, as: BitcoinBlock alias BitcoinStream.Mempool, as: Mempool a...
33.146552
104
0.623407
74253458258b06b6d23cbab1b673c19c27c5d216
15,318
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/sites.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/sites.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/sites.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...
47.424149
457
0.635462
74257242c1f82aac9b9e3a5c803792b89e595129
1,566
ex
Elixir
episode15/bank_account/lib/bank_account.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode15/bank_account/lib/bank_account.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode15/bank_account/lib/bank_account.ex
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule BankAccount do # NOTE: Commented out code refers to version of BankAccount # that uses GenServer explicitly in calls ie: # iex> { :ok, account } = GenServer.start(BankAccount, 0) # ...> GenServer.cast(account, { :deposit, 50 }) # ...> GenServer.cast(account, { :withdrawal, 25 }) # ...> balance = G...
23.029412
66
0.654534
7425915b98aa0cebabd6ac5e5ccc65bf8f81e4fc
8,416
ex
Elixir
lib/oli/part_components.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/part_components.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/part_components.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.PartComponents do import Ecto.Query, warn: false alias Oli.Repo alias Oli.PartComponents.Manifest alias Oli.PartComponents.PartComponentRegistration alias Oli.Authoring.Course alias Oli.PartComponents.PartComponentRegistrationProject alias Oli.PartComponents.PartComponentMapEntry import O...
29.950178
95
0.656844
74259cf6b84ab5d2df9691b72008259e8e6f3de5
2,159
ex
Elixir
lib/zaryn_web/controllers/api/transaction_controller.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
1
2021-07-06T19:47:14.000Z
2021-07-06T19:47:14.000Z
lib/zaryn_web/controllers/api/transaction_controller.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
lib/zaryn_web/controllers/api/transaction_controller.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
defmodule ZarynWeb.API.TransactionController do @moduledoc false use ZarynWeb, :controller alias Zaryn alias Zaryn.TransactionChain.Transaction alias Zaryn.TransactionChain.TransactionData alias ZarynWeb.API.TransactionPayload alias ZarynWeb.ErrorView def new(conn, params = %{}) do case Transac...
26.012048
96
0.579435
7425bf72bfb3e83448b53fad3cd1ea756c5526d1
107
exs
Elixir
test/ueberauth/strategy/spotify_test.exs
davejlong/ueberauth_spotify
2e44e4136a8236ce85f4cde4599f2d6f414a5314
[ "MIT" ]
2
2017-12-02T18:55:13.000Z
2019-05-16T09:27:51.000Z
test/ueberauth/strategy/spotify_test.exs
davejlong/ueberauth_spotify
2e44e4136a8236ce85f4cde4599f2d6f414a5314
[ "MIT" ]
2
2017-12-02T21:09:33.000Z
2019-01-22T02:04:50.000Z
test/ueberauth/strategy/spotify_test.exs
davejlong/ueberauth_spotify
2e44e4136a8236ce85f4cde4599f2d6f414a5314
[ "MIT" ]
3
2017-12-06T15:13:10.000Z
2019-01-21T02:14:40.000Z
defmodule Ueberauth.Strategy.SpotifyTest do use ExUnit.Case doctest Ueberauth.Strategy.Spotify end
21.4
44
0.803738
7425f3c94f33deca8991892de7c158d88008dfb4
2,432
ex
Elixir
lib/mssqlex/error.ex
rzane/mssqlex
f23bd7d5ac07ce220cab9a92517596b4de493188
[ "Apache-2.0" ]
null
null
null
lib/mssqlex/error.ex
rzane/mssqlex
f23bd7d5ac07ce220cab9a92517596b4de493188
[ "Apache-2.0" ]
null
null
null
lib/mssqlex/error.ex
rzane/mssqlex
f23bd7d5ac07ce220cab9a92517596b4de493188
[ "Apache-2.0" ]
null
null
null
defmodule Mssqlex.Error do @moduledoc """ Defines an error returned from the ODBC adapter. * `message` is the full message returned by ODBC * `odbc_code` is an atom representing the returned [SQLSTATE](https://docs.microsoft.com/en-us/sql/odbc/reference/appendixes/appendix-a-odbc-error-codes) or the str...
34.253521
127
0.676398
742613c76fee2452704a08b6b6962a7339175368
358
exs
Elixir
test/test_helper.exs
christophermlne/fuentes
9445ccdfd1c2f3707a39cf9bf63b4627581bc048
[ "Apache-2.0" ]
30
2016-05-26T23:30:03.000Z
2022-03-10T18:44:37.000Z
test/test_helper.exs
christophermlne/fuentes
9445ccdfd1c2f3707a39cf9bf63b4627581bc048
[ "Apache-2.0" ]
3
2016-05-20T14:55:40.000Z
2020-03-18T11:59:47.000Z
test/test_helper.exs
christophermlne/fuentes
9445ccdfd1c2f3707a39cf9bf63b4627581bc048
[ "Apache-2.0" ]
6
2016-09-27T11:19:56.000Z
2019-09-26T07:30:30.000Z
Mix.Task.run "ecto.drop", ["quiet", "-r", "Fuentes.TestRepo"] Mix.Task.run "ecto.create", ["quiet", "-r", "Fuentes.TestRepo"] Mix.Task.run "ecto.migrate", ["-r", "Fuentes.TestRepo"] {:ok, _} = Application.ensure_all_started(:ex_machina) Fuentes.TestRepo.start_link ExUnit.start(capture_log: true) Ecto.Adapters.SQL.Sa...
32.545455
63
0.717877
742626df8c2302bae34f6ed703d4b8032840ad59
20,147
ex
Elixir
lib/aws/generated/macie2.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/macie2.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/macie2.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Macie2 do @moduledoc """ Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data ...
30.115097
107
0.654092
74264850ba7ead74c33bed8ca77ec2637d262871
1,262
ex
Elixir
lib/discuss_web/endpoint.ex
navidmostafiz/discuss
7a5d3dc8fb98103813b0d3ee32083af98d350e80
[ "MIT" ]
2
2019-03-08T04:21:53.000Z
2020-07-05T00:53:26.000Z
lib/discuss_web/endpoint.ex
navidmostafiz/discuss
7a5d3dc8fb98103813b0d3ee32083af98d350e80
[ "MIT" ]
null
null
null
lib/discuss_web/endpoint.ex
navidmostafiz/discuss
7a5d3dc8fb98103813b0d3ee32083af98d350e80
[ "MIT" ]
1
2020-07-05T00:53:29.000Z
2020-07-05T00:53:29.000Z
defmodule DiscussWeb.Endpoint do use Phoenix.Endpoint, otp_app: :discuss socket "/socket", DiscussWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your stati...
26.851064
69
0.709192
742658920d451cd32a1dd407294942bea4551f6c
1,361
ex
Elixir
day11/dumbo_octopus/lib/dumbo_octopus_web/live/dumbo_octopus_live.ex
alopezz/advent_of_code-2021
90f0d7e3290a5c8ba5d18b2a5d9240ea6b1682bd
[ "MIT" ]
null
null
null
day11/dumbo_octopus/lib/dumbo_octopus_web/live/dumbo_octopus_live.ex
alopezz/advent_of_code-2021
90f0d7e3290a5c8ba5d18b2a5d9240ea6b1682bd
[ "MIT" ]
null
null
null
day11/dumbo_octopus/lib/dumbo_octopus_web/live/dumbo_octopus_live.ex
alopezz/advent_of_code-2021
90f0d7e3290a5c8ba5d18b2a5d9240ea6b1682bd
[ "MIT" ]
null
null
null
defmodule DumboOctopusWeb.DumboOctopusLive do use DumboOctopusWeb, :live_view alias DumboOctopus.Simulation def mount(_params, _session, socket) do socket = assign(socket, input_data: "", step: 0, octopi: [], flashes: 0 ) {:ok, socket} end def handle_eve...
21.265625
83
0.61205
7426bb29865febaf195f86d02f4f615154f61e8d
2,148
ex
Elixir
lib/mix/lib/mix/tasks/cmd.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
1
2022-03-28T12:04:08.000Z
2022-03-28T12:04:08.000Z
lib/mix/lib/mix/tasks/cmd.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/cmd.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Cmd do use Mix.Task @shortdoc "Executes the given command" @recursive true @moduledoc """ Executes the given command. For example, you can invoke an external command such as make: mix cmd make By passing the `--cd` flag before the command, you can also force the command to...
26.518519
77
0.675978
7426ea446c0c876d7b629cd01041fbf354705b84
698
ex
Elixir
triangle/lib/triangle.ex
rapidfireworks/exercism.ex
7739c60db0510099fe8d37fd6bd76eee37623d05
[ "MIT" ]
null
null
null
triangle/lib/triangle.ex
rapidfireworks/exercism.ex
7739c60db0510099fe8d37fd6bd76eee37623d05
[ "MIT" ]
null
null
null
triangle/lib/triangle.ex
rapidfireworks/exercism.ex
7739c60db0510099fe8d37fd6bd76eee37623d05
[ "MIT" ]
null
null
null
defmodule Triangle do @type kind :: :equilateral | :isosceles | :scalene @doc """ Return the kind of triangle of a triangle with 'a', 'b' and 'c' as lengths. """ @spec kind(number, number, number) :: {:ok, kind} | {:error, String.t()} def kind(a, b, c) when a > 0 and b > 0 and c > 0, do: Enum.sort([a, b, c...
41.058824
96
0.587393
742716d827d86a6730404a11bf79301d09d1eb3e
1,558
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/generate_download_url_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/generate_download_url_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/generate_download_url_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.148936
161
0.75353
74276f6ce8286731e67b4e32b4020a0d09c7feb6
1,441
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/quota_properties.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/quota_properties.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_control/lib/google_api/service_control/v1/model/quota_properties.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.659574
89
0.74254
74278650d05c1411ef153d3732854c737d10a704
4,218
exs
Elixir
test/commodity_api/iam/access_control/passphrase/passphrase_controller_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
7
2019-04-11T21:12:49.000Z
2021-04-14T12:56:42.000Z
test/commodity_api/iam/access_control/passphrase/passphrase_controller_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
null
null
null
test/commodity_api/iam/access_control/passphrase/passphrase_controller_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
2
2019-06-06T18:05:33.000Z
2019-07-16T08:49:45.000Z
## # Copyright 2018 Abdulkadir DILSIZ # # 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...
32.697674
80
0.710526
742795d37a79e40ac1a7e552ad7b29692fd94779
3,599
ex
Elixir
lib/appsignal/utils/data_encoder.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
lib/appsignal/utils/data_encoder.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
lib/appsignal/utils/data_encoder.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
defmodule Appsignal.Utils.DataEncoder do @moduledoc false alias Appsignal.Nif def encode(%{__struct__: _} = data) do data |> Map.from_struct() |> encode end def encode(data) when is_tuple(data) do data |> Tuple.to_list() |> encode end def encode(data) when is_map(data) do {:ok, resource} =...
24.82069
94
0.68269
7427bed582603a59802daa98f7c1f16b6d79ea42
661
ex
Elixir
web/models/episode.ex
cavneb/elixir_casts
c650a2850825e0305387b95ba6a7eb386e984097
[ "MIT" ]
null
null
null
web/models/episode.ex
cavneb/elixir_casts
c650a2850825e0305387b95ba6a7eb386e984097
[ "MIT" ]
null
null
null
web/models/episode.ex
cavneb/elixir_casts
c650a2850825e0305387b95ba6a7eb386e984097
[ "MIT" ]
null
null
null
defmodule ElixirCasts.Episode do use ElixirCasts.Web, :model schema "episodes" do field :title, :string field :description, :string field :link, :string field :guid, :string field :pub_date, :string field :video_url, :string timestamps end @required_fields ~w(title description lin...
22.793103
69
0.694402
7427c7b11ab1be97a73abc63e69f9af2863a4a68
2,079
exs
Elixir
mix.exs
LannyBose/banned-book-report
38de7d6399609c104f4821dc06672e8f583ecaed
[ "MIT" ]
null
null
null
mix.exs
LannyBose/banned-book-report
38de7d6399609c104f4821dc06672e8f583ecaed
[ "MIT" ]
null
null
null
mix.exs
LannyBose/banned-book-report
38de7d6399609c104f4821dc06672e8f583ecaed
[ "MIT" ]
null
null
null
defmodule BannedBookReport.MixProject do use Mix.Project def project do [ app: :banned_book_report, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: ali...
28.875
84
0.569505
7427d693e50e84665882f21441cf348ea7cf3684
167
ex
Elixir
web_finngen_r6/lib/risteys_web/controllers/methods_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r6/lib/risteys_web/controllers/methods_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r6/lib/risteys_web/controllers/methods_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule RisteysWeb.MethodsController do use RisteysWeb, :controller def index(conn, _params) do render(conn, "index.html", page_title: "Methods") end end
20.875
53
0.742515
7427d8b3422c28e7daa79f8b4323807964106467
3,000
ex
Elixir
lib/janus/plugin.ex
couchemar/elixir-janus
50dd60ff056ea93dd282fb8ea050d1addf4bfc5d
[ "MIT" ]
41
2016-12-21T13:28:14.000Z
2021-09-11T14:48:05.000Z
lib/janus/plugin.ex
couchemar/elixir-janus
50dd60ff056ea93dd282fb8ea050d1addf4bfc5d
[ "MIT" ]
11
2017-01-04T20:22:16.000Z
2020-09-07T06:29:22.000Z
lib/janus/plugin.ex
couchemar/elixir-janus
50dd60ff056ea93dd282fb8ea050d1addf4bfc5d
[ "MIT" ]
13
2016-12-21T13:28:16.000Z
2021-05-15T07:48:50.000Z
import Janus.Util defmodule Janus.Plugin do @moduledoc """ Send messages, trickle candidates, and detach plugins from Janus sessions. """ @enforce_keys [:id, :base_url, :event_manager] defstruct [ :id, :base_url, :event_manager ] @doc """ Send `body` as a message to the specified plugin,...
31.578947
168
0.673
7427d8caa2f32c1a1c0de58ea4504c1321865c46
3,170
ex
Elixir
clients/firebase_hosting/lib/google_api/firebase_hosting/v1/model/operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1/model/operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firebase_hosting/lib/google_api/firebase_hosting/v1/model/operation.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...
53.728814
543
0.725868
74282248f19ce61d202016fbc4bd9b181d344719
722
ex
Elixir
lib/shortener.ex
semeyon/ShortBot
457c6ec5203fa18798b06f892625f5dfe0a3fba0
[ "MIT" ]
1
2017-07-18T15:22:06.000Z
2017-07-18T15:22:06.000Z
lib/shortener.ex
semeyon/ShortBot
457c6ec5203fa18798b06f892625f5dfe0a3fba0
[ "MIT" ]
null
null
null
lib/shortener.ex
semeyon/ShortBot
457c6ec5203fa18798b06f892625f5dfe0a3fba0
[ "MIT" ]
null
null
null
defmodule Shortbot.Shortener do @moduledoc """ Module to make a short url. """ require Logger @doc ~S""" Make a short version from the url. But this is a mock, so its return the same url. ## Example iex> body = Shortbot.Shortener.get_short("http://some.url") iex> String.contains?(body, "ht...
27.769231
84
0.624654
7428264730f2dd151e8f041918d267b8c6212eb9
841
ex
Elixir
lib/oath/nilable.ex
naramore/highstorm
1150ffd48e147b1a5e4f507e59eb788dc7d824c4
[ "MIT" ]
null
null
null
lib/oath/nilable.ex
naramore/highstorm
1150ffd48e147b1a5e4f507e59eb788dc7d824c4
[ "MIT" ]
null
null
null
lib/oath/nilable.ex
naramore/highstorm
1150ffd48e147b1a5e4f507e59eb788dc7d824c4
[ "MIT" ]
null
null
null
defmodule Oath.Nilable do @moduledoc false @behaviour Access defstruct spec: nil @type t :: %__MODULE__{ spec: Oath.t() } @impl Access def fetch(%__MODULE__{spec: spec}, key) do Access.fetch(spec, key) end @impl Access def get_and_update(nilable, key, function) do Map.get...
19.55814
81
0.624257
7428342339a5348ccaa33df40613e6f71f893973
133
ex
Elixir
lib/coherence/plugs/authentication/credential_store.ex
caironoleto/coherence
a9974b30686bbc1922c58803dda6448579c8d9ca
[ "MIT" ]
null
null
null
lib/coherence/plugs/authentication/credential_store.ex
caironoleto/coherence
a9974b30686bbc1922c58803dda6448579c8d9ca
[ "MIT" ]
null
null
null
lib/coherence/plugs/authentication/credential_store.ex
caironoleto/coherence
a9974b30686bbc1922c58803dda6448579c8d9ca
[ "MIT" ]
null
null
null
defmodule Coherence.CredentialStore do @moduledoc false @callback get_user_data(String.t() | {any, String.t(), any}) :: any end
22.166667
69
0.721805
742849de16d322a3037eccd243d9aba5bff9ea4d
523
ex
Elixir
src/Data/Bounded.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
src/Data/Bounded.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
src/Data/Bounded.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
defmodule Bounded.Foreign do def topInt do 2147483647 end def bottomInt do -2147483648 end def topChar do "" end def bottomChar do "" end def topNumber do end def bottomNumber do end end # "use strict"; # exports.topInt = 2147483647; # exports.bottomInt = -21474...
14.942857
50
0.690249
74287c503fffc12ee5de30b28223ddfffb9e3656
2,726
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/user_profile.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/user_profile.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/user_profile.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.088235
169
0.680484
7428825453c3802c08ede7b6f9f876f768896bc3
2,618
ex
Elixir
lib/pixie/protocol.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/protocol.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/protocol.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
require Logger defmodule Pixie.Protocol do def handle(messages) when is_list(messages) do messages |> Enum.map(&Pixie.Message.init/1) |> only_handshake |> Enum.map(&handle/1) |> via_transport end def handle message do response = Pixie.Response.init message dispatch %Pixie.Ev...
27.851064
93
0.674179
742885e83b3f352214e31a1c08db82dbce0fb448
2,432
ex
Elixir
lib/blogit/components/metas.ex
9to1url/blogit
a7e424b411460b62b5b2c0a74ff731bb9392de8a
[ "MIT" ]
39
2017-07-03T17:39:18.000Z
2021-05-01T14:17:42.000Z
lib/blogit/components/metas.ex
9to1url/blogit
a7e424b411460b62b5b2c0a74ff731bb9392de8a
[ "MIT" ]
6
2017-11-07T22:00:19.000Z
2020-03-13T18:01:53.000Z
lib/blogit/components/metas.ex
9to1url/blogit
a7e424b411460b62b5b2c0a74ff731bb9392de8a
[ "MIT" ]
6
2017-07-06T04:46:49.000Z
2020-03-06T02:39:33.000Z
defmodule Blogit.Components.Metas do @moduledoc """ A `Blogit.Component` process which can be queried from outside. The `Blogit.Components.Metas` process holds the meta data for all the posts in the blog as its state. For some queries only the meta data of the posts is needed and quering this component for...
34.742857
78
0.689967
7428a22487db662cc740ec9e9b5e67ca0d869a2c
3,863
exs
Elixir
test/kademlia_test.exs
diodechain/diode_server
1692788bd92cc17654965878abd059d13b5e236c
[ "Apache-2.0" ]
8
2021-03-12T15:35:09.000Z
2022-03-06T06:37:49.000Z
test/kademlia_test.exs
diodechain/diode_server_ex
5cf47e5253a0caafd335d0af4dba711d4dcad42d
[ "Apache-2.0" ]
15
2019-09-06T07:58:01.000Z
2021-03-06T17:04:46.000Z
test/kademlia_test.exs
diodechain/diode_server
1692788bd92cc17654965878abd059d13b5e236c
[ "Apache-2.0" ]
5
2021-10-01T12:52:28.000Z
2022-02-02T19:29:56.000Z
# Diode Server # Copyright 2021 Diode # Licensed under the Diode License, Version 1.1 defmodule KademliaTest do use ExUnit.Case, async: false alias Network.Server, as: Server alias Network.PeerHandler, as: PeerHandler import TestHelper import While # Need bigger number to have a not connected network # 3...
25.582781
89
0.640176
7428ab1e69825b602278eea43356322dc0ab689c
1,364
ex
Elixir
apps/astarte_appengine_api/lib/astarte_appengine_api_web/views/interface_values_view.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api_web/views/interface_values_view.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api_web/views/interface_values_view.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
32.47619
91
0.750733
7428af80862e75a009d8d4764a04c775110ae999
2,042
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/append_values_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/sheets/lib/google_api/sheets/v4/model/append_values_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/append_values_response.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 ...
37.127273
145
0.726738
7428b49965be48e343febecf932ad8c5f1fccb53
1,117
exs
Elixir
config/config.exs
nerdslabs/plugmap
19a3338c9f9558ecb94e35e1038a8651d4f20929
[ "MIT" ]
3
2017-07-25T20:01:32.000Z
2019-10-27T06:30:21.000Z
config/config.exs
nerdslabs/plugmap
19a3338c9f9558ecb94e35e1038a8651d4f20929
[ "MIT" ]
null
null
null
config/config.exs
nerdslabs/plugmap
19a3338c9f9558ecb94e35e1038a8651d4f20929
[ "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.032258
73
0.751119
7428bc9824deeff0df6684cade6f4ec27477f189
1,115
exs
Elixir
patterns/rpc/elixir/client/config/config.exs
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
4
2016-08-16T11:47:58.000Z
2018-06-08T05:47:09.000Z
patterns/rpc/elixir/client/config/config.exs
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
patterns/rpc/elixir/client/config/config.exs
thetonymaster/thetonymaster.github.io
2e24d46dd377fed6ab6d1609e5afe24b4953a0f2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
7428bd76a11c80ed3d4d452f3676d64817c8b6b6
1,889
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/key_value_format.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/key_value_format.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/key_value_format.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...
37.78
216
0.739015
7428bf641fce2d9377f6aeb661ad5ada212ccdd9
538
ex
Elixir
lib/live_sup_web/views/api/project_view.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/views/api/project_view.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup_web/views/api/project_view.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.Api.ProjectView do use LiveSupWeb, :view alias LiveSupWeb.Api.ProjectView def render("index.json", %{projects: projects}) do %{data: render_many(projects, ProjectView, "project.json")} end def render("show.json", %{project: project}) do %{data: render_one(project, ProjectView, "...
24.454545
63
0.672862
7428e40bcdabe91e6cdcc1d69a4e2d74efd56ae4
220
ex
Elixir
web/controllers/hello_controller.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
web/controllers/hello_controller.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
web/controllers/hello_controller.ex
bolecki/volition
f92cdd45fcc66a2552d1f5f35968b088dbc2e53f
[ "MIT" ]
null
null
null
defmodule Volition.HelloController do use Volition.Web, :controller def index(conn, _params) do render conn, "index.html" end def show(conn, params) do render conn, "show.html", params: params end end
20
44
0.709091
7428e4f7cf184ee2b646218d82f3235050691069
25,455
ex
Elixir
lib/elixir/lib/kernel/parallel_compiler.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/parallel_compiler.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/parallel_compiler.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.ParallelCompiler do @moduledoc """ A module responsible for compiling and requiring files in parallel. """ @doc """ Starts a task for parallel compilation. If you have a file that needs to compile other modules in parallel, the spawned processes need to be aware of the compiler environm...
34.352227
101
0.641839
7428ef43126ea4e4efc5bdfb39a9faa6cf14ccc7
120
ex
Elixir
test/support/mock_scenario.ex
kianmeng/beamchmark
e5ee1af12339c5161dda0245f254bee9a382697d
[ "Apache-2.0" ]
34
2021-12-08T19:39:02.000Z
2022-03-31T13:55:41.000Z
test/support/mock_scenario.ex
kianmeng/beamchmark
e5ee1af12339c5161dda0245f254bee9a382697d
[ "Apache-2.0" ]
8
2022-01-12T13:47:28.000Z
2022-03-21T08:59:50.000Z
test/support/mock_scenario.ex
kianmeng/beamchmark
e5ee1af12339c5161dda0245f254bee9a382697d
[ "Apache-2.0" ]
1
2022-03-26T15:48:21.000Z
2022-03-26T15:48:21.000Z
defmodule MockScenario do @moduledoc false @behaviour Beamchmark.Scenario @impl true def run(), do: :noop end
13.333333
32
0.725
7428f825870af883a9170fa91c7ad84cb69492d7
1,678
ex
Elixir
lib/type_check/builtin/one_of.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
lib/type_check/builtin/one_of.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
lib/type_check/builtin/one_of.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
defmodule TypeCheck.Builtin.OneOf do defstruct [:choices] defimpl TypeCheck.Protocols.ToCheck do def to_check(x = %{choices: choices}, param) do snippets = choices |> Enum.flat_map(fn choice -> choice_check = TypeCheck.Protocols.ToCheck.to_check(choice, param) quote l...
25.044776
100
0.555423
7429041cfc875d4ed1c11e991e8316a5fc8e5375
2,372
exs
Elixir
config/prod.exs
rai200890/phoenix-commanded-example
d68b89a3aee8f1a3f27744eded2c44eddcf92a1a
[ "MIT" ]
null
null
null
config/prod.exs
rai200890/phoenix-commanded-example
d68b89a3aee8f1a3f27744eded2c44eddcf92a1a
[ "MIT" ]
null
null
null
config/prod.exs
rai200890/phoenix-commanded-example
d68b89a3aee8f1a3f27744eded2c44eddcf92a1a
[ "MIT" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # BankWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # # Don't...
33.408451
80
0.729342
742907a6977ca4871fe95aae8e00e26403202c6a
251
ex
Elixir
apps/rent_bot/lib/rent_bot.ex
Shiva-1927/Chatbot
cfc4adcb70a5481ecbf65b9dc932029bbdcf5eae
[ "MIT" ]
94
2018-02-19T11:53:45.000Z
2021-11-15T12:20:24.000Z
apps/rent_bot/lib/rent_bot.ex
Shiva-1927/Chatbot
cfc4adcb70a5481ecbf65b9dc932029bbdcf5eae
[ "MIT" ]
2
2021-03-10T03:48:31.000Z
2021-05-10T23:32:27.000Z
apps/rent_bot/lib/rent_bot.ex
dih78/rent-bot
35ee3f32ca227979922aee37678e98e6e46491c8
[ "MIT" ]
28
2018-02-19T11:53:48.000Z
2021-01-02T21:55:36.000Z
defmodule RentBot do @moduledoc """ RentBot keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.1
66
0.752988
74290ed8536cd54067114717bb9dbeb91564c843
4,062
ex
Elixir
lib/bitcoin/base58_check.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
81
2017-04-20T17:42:59.000Z
2022-02-08T03:49:22.000Z
lib/bitcoin/base58_check.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
2
2017-09-07T13:58:57.000Z
2018-01-13T10:38:07.000Z
lib/bitcoin/base58_check.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
22
2017-08-16T14:19:44.000Z
2021-12-22T04:36:57.000Z
defmodule Bitcoin.Base58Check do @moduledoc """ Base58Check encoding. Base58Check is used in Bitcoin addresses and WIF. It's a Base58 where additional 4 checksum bytes are appended to the payload before encoding (and stripped and checked when decoding). Checksum is first 4 bytes from the double sha256 of...
30.313433
123
0.665928
742920c489af66e95ca151fd1a73c64e5c1e58d8
4,229
ex
Elixir
lib/credo/check/refactor/variable_rebinding.ex
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
deps/credo/lib/credo/check/refactor/variable_rebinding.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/credo/lib/credo/check/refactor/variable_rebinding.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2020-06-28T00:36:07.000Z
2020-06-28T00:36:07.000Z
defmodule Credo.Check.Refactor.VariableRebinding do use Credo.Check, tags: [:controversial], param_defaults: [allow_bang: false], explanations: [ check: """ You might want to refrain from rebinding variables. Although technically fine, rebinding to the same name can lead to less p...
25.323353
81
0.614803
742994fd147a97a1a9163d2c42e11c88da18522f
92
exs
Elixir
config/test.exs
tlux/maintenance_mode
9c7f908e15df3bc5f7dbb08a1a7d52801d014656
[ "MIT" ]
null
null
null
config/test.exs
tlux/maintenance_mode
9c7f908e15df3bc5f7dbb08a1a7d52801d014656
[ "MIT" ]
null
null
null
config/test.exs
tlux/maintenance_mode
9c7f908e15df3bc5f7dbb08a1a7d52801d014656
[ "MIT" ]
null
null
null
use Mix.Config config :maintenance_mode, MyMaintenanceMode, path: "priv/.maintenance_mode"
23
75
0.815217
7429a4854d232551d0571a51122d26d99e965dcf
793
ex
Elixir
lib/thumbifier/plug/authenticated.ex
sysdia-solutions/thumbifier
b2b71571bb8a33159e5d90ecb5ea3931eafdd62b
[ "MIT" ]
4
2016-10-16T22:22:52.000Z
2019-05-24T13:44:15.000Z
lib/thumbifier/plug/authenticated.ex
sysdia-solutions/thumbifier
b2b71571bb8a33159e5d90ecb5ea3931eafdd62b
[ "MIT" ]
1
2016-10-21T00:16:16.000Z
2017-09-24T02:24:23.000Z
lib/thumbifier/plug/authenticated.ex
sysdia-solutions/thumbifier
b2b71571bb8a33159e5d90ecb5ea3931eafdd62b
[ "MIT" ]
null
null
null
defmodule Thumbifier.Plug.Authenticated do @moduledoc """ Plug that protects routes from unauthenticated access. """ import Plug.Conn @behaviour Plug def init(opts) do opts end def call(conn, _opts) do email = Map.get(conn.params, "email") api_key = get_req_header(conn, "authorization") ...
23.323529
92
0.636822
7429dfcf0d339ce3811165ab647a63cac69cc9b3
1,269
ex
Elixir
lib/prop_web/router.ex
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
22
2021-06-29T09:25:52.000Z
2022-03-16T09:17:24.000Z
lib/prop_web/router.ex
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
54
2021-06-28T19:54:17.000Z
2022-03-27T06:49:30.000Z
lib/prop_web/router.ex
nolantait/prop
d68d87d623b1d5352ba1b0f1d44e17bd7a119a3e
[ "MIT" ]
2
2022-01-08T10:16:30.000Z
2022-02-20T09:45:50.000Z
defmodule PropWeb.Router do use PropWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {PropWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts...
25.897959
76
0.698188
7429e1f5cc7508d69b2b34d97f0a4896f7a0a2f9
792
ex
Elixir
lib/crius_chat_web/views/error_view.ex
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
null
null
null
lib/crius_chat_web/views/error_view.ex
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
3
2021-03-09T17:37:23.000Z
2021-09-01T22:28:38.000Z
lib/crius_chat_web/views/error_view.ex
AmadorZcv/crius_chat
2ed002414f207536a0d2ab6e53e7d99da9fa920d
[ "MIT" ]
null
null
null
defmodule CriusChatWeb.ErrorView do use CriusChatWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template ...
22.628571
61
0.657828
7429ef36e3987d05a9ba0c05e7ddef5933c8f8c8
196
exs
Elixir
examples/word_count/topology.exs
victorpoluceno/sadbear
a14eef642e9613b308762e3f8c5c35d0261935be
[ "BSD-3-Clause" ]
null
null
null
examples/word_count/topology.exs
victorpoluceno/sadbear
a14eef642e9613b308762e3f8c5c35d0261935be
[ "BSD-3-Clause" ]
null
null
null
examples/word_count/topology.exs
victorpoluceno/sadbear
a14eef642e9613b308762e3f8c5c35d0261935be
[ "BSD-3-Clause" ]
null
null
null
import Sadbear import LineSpout import SplitBolt import CountBolt SplitBolt.initialize() CountBolt.initialize() Sadbear.run(&LineSpout.next_tuple/0, [&SplitBolt.process/1, &CountBolt.process/1])
21.777778
82
0.816327
742a0c24deec37fd9dfdcf294276204419ae855b
3,439
exs
Elixir
lib/ex_unit/examples/difference.exs
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/examples/difference.exs
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/ex_unit/examples/difference.exs
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
ExUnit.start [seed: 0] defmodule Difference do @moduledoc """ This module contains failing tests to see difference highlighting in action. """ use ExUnit.Case defmodule User do defstruct [:age] end defmacrop one, do: 1 describe "regular context" do test "integers" do assert 491512235...
21.904459
96
0.533295
742a0db21ed93e03278ead457aa0527fb4815432
3,262
ex
Elixir
lib/data_processor/docker_job.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
null
null
null
lib/data_processor/docker_job.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
3
2018-08-17T13:42:45.000Z
2018-08-17T17:05:11.000Z
lib/data_processor/docker_job.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
null
null
null
defmodule DataProcessor.DockerJob do @moduledoc """ * Module that represents interaction with Spark Docker jobs. ## Usage iex> alias DataProcessor.DockerJob iex> opts = %{"uuid" => "abcde", ...> "spark_job_name" => "linear_regression", ...> "params" => %{"schema" => %{}}} iex> {:ok, pid} = DockerJob.st...
22.652778
84
0.603617
742a28d8636e25346e491f86a2c4f507fbbdf932
2,811
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/route_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/route_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/route_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...
39.591549
224
0.670224
742a966fff382a9f4ab9c75f987ceb4a24ea3f78
9,713
exs
Elixir
test/fun_with_flags/ui/utils_test.exs
Evernorth/fun_with_flags_ui
c04b852f686933546f75831abbab895ef2c44205
[ "MIT" ]
77
2017-04-24T20:38:08.000Z
2022-03-29T12:14:08.000Z
test/fun_with_flags/ui/utils_test.exs
Evernorth/fun_with_flags_ui
c04b852f686933546f75831abbab895ef2c44205
[ "MIT" ]
19
2017-06-27T01:06:39.000Z
2022-03-20T10:26:57.000Z
test/fun_with_flags/ui/utils_test.exs
Evernorth/fun_with_flags_ui
c04b852f686933546f75831abbab895ef2c44205
[ "MIT" ]
13
2017-06-26T09:53:15.000Z
2022-03-07T14:29:16.000Z
defmodule FunWithFlags.UI.UtilsTest do use ExUnit.Case, async: true alias FunWithFlags.UI.Utils alias FunWithFlags.{Flag, Gate} import FunWithFlags.UI.TestUtils setup_all do on_exit(__MODULE__, fn() -> clear_redis_test_db() end) :ok end describe "get_flag_status(flag)" do test "with a glob...
34.321555
102
0.63554
742aad56b84a3b7cc87a8111e828732bbc095abd
7,820
exs
Elixir
test/grizzly/zwave/smart_start/meta_extensions/uuid16_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
test/grizzly/zwave/smart_start/meta_extensions/uuid16_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
test/grizzly/zwave/smart_start/meta_extensions/uuid16_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.ZWave.SmartStart.MetaExtension.UUID16Test do use ExUnit.Case, async: true alias Grizzly.ZWave.SmartStart.MetaExtension.UUID16 test "make a new uuid with hex format" do expected_uuid = %UUID16{format: :hex, uuid: "0102030405060708090A141516171819"} assert {:ok, expected_uuid} == UUID16...
31.28
97
0.601023
742aca8050cd3ce9a4d21a8f71e8cc4fcf6b32b1
1,700
ex
Elixir
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/repo_id.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/repo_id.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/repo_id.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.333333
102
0.74
742b03890ed6a0ff18086502ed03141773c232d6
69
ex
Elixir
web/views/layout_view.ex
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
web/views/layout_view.ex
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
web/views/layout_view.ex
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
defmodule SprintPoker.LayoutView do use SprintPoker.Web, :view end
17.25
35
0.811594
742b2f908a64a725a3e07d3f002b197a2ca0f25a
1,479
ex
Elixir
lib/grizzly/zwave/commands/configuration_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/zwave/commands/configuration_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/zwave/commands/configuration_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.ConfigurationReport do @moduledoc """ Reports on a configuration parameter Params: * `:size` - specifies the size of the configuration parameter (required) * `:value` - the value of the parameter (required) * `:param_number` - the configuration parameter number repor...
25.947368
97
0.670047
742b4e46a01c719581d71b1af9852ce92e9b452e
27,068
ex
Elixir
clients/source_repo/lib/google_api/source_repo/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.446634
212
0.666285
742b8c5e92a30493efe11cdc0e0dfcfa600fdc3d
1,106
ex
Elixir
lib/changelog_web/views/email_view.ex
axelson/changelog.com
bad9f461aabbde0faa938f7b2ae643ed47d1df9b
[ "MIT" ]
1
2021-01-06T18:21:45.000Z
2021-01-06T18:21:45.000Z
lib/changelog_web/views/email_view.ex
codexn/changelog.com
25ce501ee62eef76731c38d590667e8132096ba8
[ "MIT" ]
null
null
null
lib/changelog_web/views/email_view.ex
codexn/changelog.com
25ce501ee62eef76731c38d590667e8132096ba8
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.EmailView do use ChangelogWeb, :public_view alias Changelog.{Faker, NewsItem} alias ChangelogWeb.{ AuthView, Endpoint, EpisodeView, NewsItemView, NewsItemCommentView, PersonView } def greeting(person) do label = if Faker.name_fake?(person.name) do ...
24.043478
95
0.684448
742ba64c785e0889618a737af32a4268fd7ea30d
7,299
exs
Elixir
test/plug_capture_test.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
null
null
null
test/plug_capture_test.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
null
null
null
test/plug_capture_test.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
null
null
null
defmodule Sentry.PlugCaptureTest do use ExUnit.Case use Plug.Test import Sentry.TestEnvironmentHelper import ExUnit.CaptureLog defmodule PhoenixController do use Phoenix.Controller def error(_conn, _params), do: raise("PhoenixError") def assigns(conn, _params) do _test = conn.assigns2.test...
28.400778
84
0.623921