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
79676523c55961ddb8155cbe332a7593c482576f
575
ex
Elixir
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/user/get_by_contact.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/user/get_by_contact.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2/lib/students_crm_v2/interactions/user/get_by_contact.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2.Interactions.User.GetByContact do @moduledoc false alias StudentsCrmV2.Models.{Contact, User} alias StudentsCrmV2.Repo @spec execute(id :: term()) :: {:ok, User.t()} | {:error, :no_user_found} def execute({type, value}) do import Ecto.Query, only: [where: 3, join: 5] User ...
27.380952
75
0.62087
79677ffcb8c4500f9b7d7f37d5b5da24c1b47f18
2,541
ex
Elixir
lib/steps/patch/copy_erts.ex
tinfoil/burrito
018dd1933b04933c0cf472938f76175b5650ea12
[ "MIT" ]
null
null
null
lib/steps/patch/copy_erts.ex
tinfoil/burrito
018dd1933b04933c0cf472938f76175b5650ea12
[ "MIT" ]
null
null
null
lib/steps/patch/copy_erts.ex
tinfoil/burrito
018dd1933b04933c0cf472938f76175b5650ea12
[ "MIT" ]
null
null
null
defmodule Burrito.Steps.Patch.CopyERTS do @moduledoc """ This step copies the new ERTS bins into the release, as well as replaces built-in NIFs. """ alias Burrito.Builder.Context alias Burrito.Builder.Log alias Burrito.Builder.Step @behaviour Step @impl Step def execute(%Context{} = context) do ...
31.37037
98
0.639118
7967b52b53374efd047674ee2e75cf28a2229a89
8,068
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/projects.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/api/projects.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/api/projects.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.458824
475
0.630764
7967b6378d916b696aa52a822d12c63d29d3079b
2,066
ex
Elixir
lib/elixir/lib/binary/chars.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/binary/chars.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/binary/chars.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [to_binary: 1] defprotocol Binary.Chars do @moduledoc %B""" The Binary.Chars protocol is responsible for converting a structure to a Binary (only if applicable). The only function required to be implemented is `to_binary` which does the conversion. The `to_binary` function automatic...
22.215054
62
0.669409
7967c7c549bcfa3e27dd02cc6810188d9969e49a
961
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/request_builder.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...
36.961538
77
0.763788
7967f63a8f21ec73711ada8c73368155bfe076bf
974
ex
Elixir
test/support/channel_case.ex
damonkelley/requestbin
1f59df73ad3e47e74ba18a2987bd0b0cce262a13
[ "MIT" ]
4
2016-05-20T04:40:21.000Z
2017-12-20T12:54:55.000Z
test/support/channel_case.ex
damonkelley/requestbin
1f59df73ad3e47e74ba18a2987bd0b0cce262a13
[ "MIT" ]
null
null
null
test/support/channel_case.ex
damonkelley/requestbin
1f59df73ad3e47e74ba18a2987bd0b0cce262a13
[ "MIT" ]
null
null
null
defmodule RequestBin.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot ...
23.190476
69
0.704312
79684438d890278bbefee067cbad842eb39c7b06
732
ex
Elixir
lib/central_web/views/admin/general_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central_web/views/admin/general_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central_web/views/admin/general_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
defmodule CentralWeb.Admin.GeneralView do use CentralWeb, :view use Timex @build_time_priv Timex.now() def build_time() do @build_time_priv end @spec colours :: {String.t(), String.t(), String.t()} def colours(), do: Central.Admin.AdminLib.colours() @spec icon() :: String.t() def icon(), do: Ce...
31.826087
67
0.689891
7968606f1388ff6730b4c51395dbf52d8ea9b028
2,770
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/log_descriptor.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/log_descriptor.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/log_descriptor.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
49.464286
295
0.737906
7968802665c34469e646b985d3831106842f2899
150
exs
Elixir
config/integration.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
1
2022-01-14T20:52:55.000Z
2022-01-14T20:52:55.000Z
config/integration.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
1
2021-07-28T02:13:39.000Z
2021-07-28T02:13:39.000Z
config/integration.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :logger, backends: [:console], compile_time_purge_level: :debug, level: :debug config :sasl, sasl_error_logger: false
15
35
0.733333
79688e6143d93c237a072e5da1debcd275ae1c7c
1,684
ex
Elixir
lib/yourbot_web/components/env_var_modal.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
3
2021-11-08T15:19:19.000Z
2021-11-11T03:18:35.000Z
lib/yourbot_web/components/env_var_modal.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
null
null
null
lib/yourbot_web/components/env_var_modal.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
null
null
null
defmodule YourBotWeb.Components.EnvVarModal do use Surface.Component alias SurfaceBulma.Button alias Surface.Components.{ Form, Form.ErrorTag, Form.Field, Form.Label, Form.TextInput, Form.Submit } prop title, :string, required: true prop show, :boolean, required: true prop hide_...
29.54386
111
0.553444
7968aa281fb8de2f4c6e167dc18209dea1968fbd
1,180
exs
Elixir
mix.exs
tongdao/hbasex
4be1f3950cdfde30b5a2f34508e9b9ea86085c9e
[ "MIT" ]
2
2017-08-26T15:11:46.000Z
2017-12-20T02:42:57.000Z
mix.exs
tongdao/hbasex
4be1f3950cdfde30b5a2f34508e9b9ea86085c9e
[ "MIT" ]
null
null
null
mix.exs
tongdao/hbasex
4be1f3950cdfde30b5a2f34508e9b9ea86085c9e
[ "MIT" ]
null
null
null
defmodule Hbasex.Mixfile do use Mix.Project @version File.read!("VERSION") |> String.trim def project do [app: :hbasex, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, ##### Uncomment those two lines to generate the /src fold...
24.583333
74
0.595763
7968af377a4e2241dc1cb7403733e0be29e80d0e
2,408
exs
Elixir
maze_generator.exs
pmarreck/elixir-snippets
5f5ee26087bc2ded4e71c4c3eeff1231310ff358
[ "BSD-3-Clause" ]
34
2015-02-27T14:41:12.000Z
2021-09-26T06:06:18.000Z
maze_generator.exs
pmarreck/elixir-snippets
5f5ee26087bc2ded4e71c4c3eeff1231310ff358
[ "BSD-3-Clause" ]
null
null
null
maze_generator.exs
pmarreck/elixir-snippets
5f5ee26087bc2ded4e71c4c3eeff1231310ff358
[ "BSD-3-Clause" ]
3
2016-02-05T16:09:41.000Z
2017-10-21T15:47:04.000Z
defmodule Maze do def generate(w, h, maze \\ %{}, rand_seed \\ :os.timestamp) do :random.seed(rand_seed) :rand.seed(:exs64, rand_seed) maze_tuples = (for i <- 1..w, j <- 1..h, do: {i,j}) maze = Enum.reduce(maze_tuples, maze, fn({i,j}, maze) -> Map.put(maze, {:vis, i, j}, true) end) get(w, h, walk(...
31.684211
133
0.46304
7968d8a8edc0034ac898e9f7e87f8cfafe1aaa15
905
exs
Elixir
test/metadata/metadata_test.exs
g1ntas/ex-accio
18f82b8dba1dbb0087505a3016259ae936a62fbe
[ "MIT" ]
null
null
null
test/metadata/metadata_test.exs
g1ntas/ex-accio
18f82b8dba1dbb0087505a3016259ae936a62fbe
[ "MIT" ]
null
null
null
test/metadata/metadata_test.exs
g1ntas/ex-accio
18f82b8dba1dbb0087505a3016259ae936a62fbe
[ "MIT" ]
null
null
null
defmodule Accio.Metadata.MetadataTest do use ExUnit.Case alias Accio.Metadata.Metadata alias Accio.Metadata.Properties.Command test "parses AST list" do ast = [ {:command, ["command", {:description, "text"}]} ] assert Metadata.parse(ast) == {:ok, %Metadata{command: %Command{command: "comman...
25.857143
110
0.665193
7968e6eecaf84eca1d2e21edea890014daaa1e40
3,311
ex
Elixir
lib/brando/blueprint/attributes.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/blueprint/attributes.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/blueprint/attributes.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Blueprint.Attributes do @moduledoc """ ### Attributes #### Uniqueness To create an unique index in the db as well as running `unique_constraint` in the changeset: attribute :email, unique: true If you have fields that need to be unique together: attribute :email, unique: [w...
23.48227
77
0.622471
7968f421f2ebadf64247b0a2e0b29e807bbd0f89
1,240
exs
Elixir
rumbrella/apps/rumbl/spec/models/user_repo_spec.exs
antonmi/espec_phoenix
51c44b6b1ece9fb48438b93f9765dfe834ee5544
[ "MIT" ]
144
2015-04-30T15:12:46.000Z
2022-01-07T03:40:26.000Z
rumbrella/apps/rumbl/spec/models/user_repo_spec.exs
antonmi/espec_phoenix
51c44b6b1ece9fb48438b93f9765dfe834ee5544
[ "MIT" ]
57
2015-04-29T11:26:54.000Z
2022-01-05T13:35:10.000Z
rumbrella/apps/rumbl/spec/models/user_repo_spec.exs
antonmi/espec_phoenix
51c44b6b1ece9fb48438b93f9765dfe834ee5544
[ "MIT" ]
46
2015-06-12T11:26:15.000Z
2021-12-15T00:38:26.000Z
defmodule Rumbl.UserRepoSpec do use ESpec.Phoenix, async: true, model: User alias Rumbl.User alias Rumbl.Category @valid_attrs %{name: "A User", username: "eva"} describe "converting unique_constraint on username to error" do before do: insert_user(username: "eric") let :changeset do attrs = M...
26.382979
110
0.626613
79691252dbefc955d1bde8bd1ed31adb661be7d7
289
exs
Elixir
priv/repo/migrations/20180223211408_rename_member_columns.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
1
2017-08-08T13:22:23.000Z
2017-08-08T13:22:23.000Z
priv/repo/migrations/20180223211408_rename_member_columns.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
priv/repo/migrations/20180223211408_rename_member_columns.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
defmodule Who.Repo.Migrations.RenameMemberColumns do use Ecto.Migration def change do rename table(:member), :youtube_url, to: :youtube_account rename table(:member), :facebook_url, to: :facebook_account rename table(:member), :twitter_url, to: :twitter_account end end
28.9
63
0.750865
796933e82e50524f3a9903aba5a676805f818377
1,556
ex
Elixir
lib/facebook/config.ex
namredip/facebook.ex
a50ed04ba52e8c4d2322336928bd0183d7b93bcd
[ "MIT" ]
null
null
null
lib/facebook/config.ex
namredip/facebook.ex
a50ed04ba52e8c4d2322336928bd0183d7b93bcd
[ "MIT" ]
null
null
null
lib/facebook/config.ex
namredip/facebook.ex
a50ed04ba52e8c4d2322336928bd0183d7b93bcd
[ "MIT" ]
1
2018-09-10T15:35:53.000Z
2018-09-10T15:35:53.000Z
defmodule Facebook.Config do @moduledoc """ Config helpers """ # URL to the Facebook Graph including the version. def graph_url do Application.fetch_env! :facebook, :graph_url end def graph_video_url do Application.fetch_env! :facebook, :graph_video_url end # App secret a.k.a. client secret...
28.290909
120
0.696015
79693434a4596ca64fc37f9cf7bdb5e0a1cb56ff
961
ex
Elixir
web/views/user_view.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
123
2017-04-04T18:15:48.000Z
2021-04-26T08:04:22.000Z
web/views/user_view.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
null
null
null
web/views/user_view.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
17
2017-04-04T18:58:29.000Z
2021-05-10T21:39:16.000Z
defmodule CanvasAPI.UserView do use CanvasAPI.Web, :view alias CanvasAPI.AvatarURL def render("show.json", %{user: user}) do %{data: render_one(user, CanvasAPI.UserView, "user.json")} end def render("user.json", %{user: user}) do %{ id: user.id, attributes: %{ avatar_url: Avatar...
23.439024
79
0.529657
796937c718dee64287449fa03cc290e19fb1c5ad
2,235
exs
Elixir
config/prod.exs
Cobenian/rackit
e886ebbf1a590d4031d5f79f868ce2d725e9910a
[ "Apache-2.0" ]
null
null
null
config/prod.exs
Cobenian/rackit
e886ebbf1a590d4031d5f79f868ce2d725e9910a
[ "Apache-2.0" ]
6
2015-06-10T13:33:57.000Z
2015-06-10T14:10:06.000Z
config/prod.exs
Cobenian/rackit
e886ebbf1a590d4031d5f79f868ce2d725e9910a
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
32.391304
67
0.717673
79693e78ef628dc24b34b4ec24d05d85aa49d08a
1,672
exs
Elixir
config/dev.exs
brunobamaral/desafio_api
90362b0fa6c0c9e3c4d1c212fe84b7ad264a46f6
[ "Apache-2.0" ]
null
null
null
config/dev.exs
brunobamaral/desafio_api
90362b0fa6c0c9e3c4d1c212fe84b7ad264a46f6
[ "Apache-2.0" ]
null
null
null
config/dev.exs
brunobamaral/desafio_api
90362b0fa6c0c9e3c4d1c212fe84b7ad264a46f6
[ "Apache-2.0" ]
null
null
null
import Config # Configure your database config :desafio_api, DesafioApi.Repo, username: "postgres", password: "postgres", database: "desafio_api_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code...
28.827586
68
0.730263
79694a93c6e0a9c89f6a93af7c871f119d736204
2,556
ex
Elixir
lib/math/matrix_utils.ex
boydm/scenic_math
94e45cd8ba16362583516059a071cff3fe6d1629
[ "Apache-2.0" ]
10
2018-09-07T21:54:47.000Z
2020-02-03T08:49:49.000Z
lib/math/matrix_utils.ex
boydm/scenic_math
94e45cd8ba16362583516059a071cff3fe6d1629
[ "Apache-2.0" ]
3
2018-09-08T07:46:00.000Z
2018-09-15T01:34:41.000Z
lib/math/matrix_utils.ex
boydm/scenic_math
94e45cd8ba16362583516059a071cff3fe6d1629
[ "Apache-2.0" ]
6
2018-09-07T21:57:19.000Z
2018-09-17T06:58:06.000Z
# # Copyright © 2017 Boyd Multerer. All rights reserved. # defmodule Scenic.Math.Matrix.Utils do @moduledoc """ Helper functions for working with matrices. The matrix format for the main Scenic.Math.Matrix functions is a 64 byte binary blob containing 16 4-byte floats. This is great for doing the math in cod...
23.88785
81
0.595853
79695b370e7fd3f22ccbca5b7020b212491266a1
17,312
exs
Elixir
lib/elixir/test/elixir/module/types/infer_test.exs
cadebward/elixir
64c5466f872bc5c4671b47fa1ff3368d6c4473c1
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/elixir/test/elixir/module/types/infer_test.exs
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/module/types/infer_test.exs
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Module.Types.InferTest do use ExUnit.Case, async: true import Module.Types.Infer alias Module.Types defmacrop quoted_pattern(expr) do quote do of_pattern(unquote(Macro.escape(expr)), new_stack(), new_context()) |> lift_result() ...
40.448598
98
0.528131
79698f8aa9d17d24b9111d0f30aaee33dd6e5241
4,038
exs
Elixir
examples/play_from_file_h264/run.exs
livinginthepast/specter
65ab35ace7bf34074a58d0ed27a14ddd6bf97034
[ "MIT" ]
8
2022-02-25T09:53:57.000Z
2022-03-28T12:31:56.000Z
examples/play_from_file_h264/run.exs
livinginthepast/specter
65ab35ace7bf34074a58d0ed27a14ddd6bf97034
[ "MIT" ]
10
2022-03-26T14:40:12.000Z
2022-03-30T17:05:53.000Z
examples/play_from_file_h264/run.exs
livinginthepast/specter
65ab35ace7bf34074a58d0ed27a14ddd6bf97034
[ "MIT" ]
1
2022-03-25T21:30:53.000Z
2022-03-25T21:30:53.000Z
# helper module until we add support # for subscribing for various state changes defmodule Stopwatch do def wait_for_ice_gathering_complete(specter, pc) do :ok = Specter.PeerConnection.ice_gathering_state(specter, pc) receive do {:ice_gathering_state, ^pc, :complete} -> IO.puts("ICE gathering complete")...
28.237762
89
0.698613
7969a003b003adf7248ac9be86d4e35d91705b15
566
ex
Elixir
lib/saitama/workout.ex
tfwright/saitama
7f76ee2c8f01ee9b7a1507667904b9c691124112
[ "Apache-2.0" ]
5
2020-06-18T11:44:20.000Z
2021-08-28T10:39:57.000Z
lib/saitama/workout.ex
tfwright/saitama
7f76ee2c8f01ee9b7a1507667904b9c691124112
[ "Apache-2.0" ]
1
2021-03-10T07:41:31.000Z
2021-03-10T07:41:31.000Z
lib/saitama/workout.ex
tfwright/saitama
7f76ee2c8f01ee9b7a1507667904b9c691124112
[ "Apache-2.0" ]
null
null
null
defmodule Saitama.Workout do use Ecto.Schema import Ecto.Changeset alias Saitama.{Workout, Set} @derive Jason.Encoder @primary_key false embedded_schema do field(:uuid, Ecto.UUID) field(:name, :string) embeds_many(:sets, Set, on_replace: :delete) end @doc false def changeset(%Workout{}...
22.64
92
0.678445
7969a7a225dd2ced151cd31ed5daf4e7ef9942ae
205,527
ex
Elixir
data/auto_generated/video/05882acbf67df48775d33dab86ba447a.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
12
2018-06-15T10:18:43.000Z
2022-01-24T12:50:54.000Z
data/auto_generated/video/05882acbf67df48775d33dab86ba447a.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
15
2018-06-21T18:04:12.000Z
2021-10-16T12:54:39.000Z
data/auto_generated/video/05882acbf67df48775d33dab86ba447a.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
2
2020-03-09T19:21:36.000Z
2022-01-16T03:29:51.000Z
defmodule(Data.AutoGenerated.Video.Rendered_05882acbf67df48775d33dab86ba447a) do @moduledoc "#{"Wandseradweg (FR3): entlang der Wandse in die Innenstadt"} AUTOGENERATED. To update this file, run mix velo.videos.generate. See Video.Rendered for functionality. " @behaviour Video.Rendered @impl Video.Render...
80.378178
98
0.705265
7969b1369e1f32429a27b171d65a3e42dd5ab366
507
ex
Elixir
lib/slipstream/events/reply_received.ex
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
63
2021-02-10T16:18:11.000Z
2022-03-18T11:06:44.000Z
lib/slipstream/events/reply_received.ex
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
21
2021-01-30T21:00:06.000Z
2021-12-27T04:27:15.000Z
lib/slipstream/events/reply_received.ex
fhunleth/slipstream
cebd924384b93b7dd3c1aa6ae2ac8d237e942f18
[ "Apache-2.0" ]
6
2021-02-26T23:56:49.000Z
2022-03-26T09:28:13.000Z
defmodule Slipstream.Events.ReplyReceived do @moduledoc false # a message that says that a push from the client has been replied-to by # the server defstruct [:topic, :reply, :ref] def to_reply(%{"status" => status, "response" => response}) when status in ["ok", "error"] and map_size(response) == 0 d...
26.684211
74
0.662722
7969b27c7adde7e7aa1e3426f2f09b639b668673
417
exs
Elixir
priv/repo/migrations/20210417155728_create_balances.exs
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "MIT" ]
null
null
null
priv/repo/migrations/20210417155728_create_balances.exs
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "MIT" ]
null
null
null
priv/repo/migrations/20210417155728_create_balances.exs
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "MIT" ]
null
null
null
defmodule Centraltipsbot.Repo.Migrations.CreateBalances do use Ecto.Migration def change do create table(:balances, primary_key: false) do add :id, :binary_id, primary_key: true add :source, :string add :source_id, :string add :balance, :decimal timestamps() end create u...
24.529412
98
0.70024
7969bac4031d2deff9fcedbf10397126e6e0eb6c
6,515
ex
Elixir
clients/network_management/lib/google_api/network_management/v1/model/policy.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/v1/model/policy.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/v1/model/policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
116.339286
2,012
0.753952
7969d62f0dfe095b241db719c0c3130b765e9770
408
exs
Elixir
priv/templates/model/migration.exs
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
priv/templates/model/migration.exs
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
priv/templates/model/migration.exs
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
defmodule <%= base %>.Repo.Migrations.Create<%= scoped %> do use Ecto.Migration def change do create table(:<%= plural %>) do <%= for {k, v} <- attrs do %> add <%= inspect k %>, <%= inspect v %><%= defaults[k] %> <% end %><%= for {_, i, _} <- assocs do %> add <%= inspect i %>, :integer <% end %> ...
27.2
91
0.512255
7969eb55ba0126daf1b62768e5f47058cd3757be
9,463
exs
Elixir
test/ecto/datetime_test.exs
rbishop/ecto
a8a3215c9e2e35f7556f54c8d47d78a3670796d8
[ "Apache-2.0" ]
null
null
null
test/ecto/datetime_test.exs
rbishop/ecto
a8a3215c9e2e35f7556f54c8d47d78a3670796d8
[ "Apache-2.0" ]
null
null
null
test/ecto/datetime_test.exs
rbishop/ecto
a8a3215c9e2e35f7556f54c8d47d78a3670796d8
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.DateTest do use ExUnit.Case, async: true @date %Ecto.Date{year: 2015, month: 12, day: 31} test "cast itself" do assert Ecto.Date.cast(@date) == {:ok, @date} end test "cast strings" do assert Ecto.Date.cast("2015-12-31") == {:ok, @date} assert Ecto.Date.cast("2015-00-23") == :erro...
36.256705
102
0.574871
7969fb1344dc50ba909b21468bbf977ffa8832b1
276
exs
Elixir
bench_pg/Elixir/retailixir/test/retailixir_web/views/layout_view_test.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
null
null
null
bench_pg/Elixir/retailixir/test/retailixir_web/views/layout_view_test.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
27
2020-04-20T06:05:50.000Z
2021-12-09T22:06:37.000Z
bench_pg/Elixir/retailixir/test/retailixir_web/views/layout_view_test.exs
cassinius/api-bench
d6f578c2096b5057de28541c5c527a2f2fe9ae99
[ "MIT" ]
null
null
null
defmodule RetailixirWeb.LayoutViewTest do use RetailixirWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.666667
65
0.771739
796a2cce3b6ab3db3a46b3a23238d8c420ffb3d1
4,723
ex
Elixir
lib/types/datetime.ex
kianmeng/timex_ecto
6a6ab4f44270ae73f3b126367110d159a0aa613b
[ "MIT" ]
171
2015-06-26T08:16:42.000Z
2022-02-09T08:58:10.000Z
lib/types/datetime.ex
kianmeng/timex_ecto
6a6ab4f44270ae73f3b126367110d159a0aa613b
[ "MIT" ]
79
2015-07-03T15:17:21.000Z
2022-02-05T20:09:25.000Z
lib/types/datetime.ex
kianmeng/timex_ecto
6a6ab4f44270ae73f3b126367110d159a0aa613b
[ "MIT" ]
97
2015-07-03T11:39:52.000Z
2022-01-03T09:11:54.000Z
defmodule Timex.Ecto.DateTime do @moduledoc """ Support for using Timex with :datetime fields """ use Timex @behaviour Ecto.Type def type, do: :datetime @doc """ Handle casting to Timex.Ecto.DateTime """ def cast(%DateTime{} = datetime), do: {:ok, datetime} # Support embeds_one/embeds_many de...
28.113095
116
0.504552
796a41f38652dce4d67e244b3072d39d419e0cf8
3,650
ex
Elixir
lib/copeiro.ex
polvalente/copeiro
95a92ac377c3e6ff56177a195c8e67adb4e749d9
[ "MIT" ]
null
null
null
lib/copeiro.ex
polvalente/copeiro
95a92ac377c3e6ff56177a195c8e67adb4e749d9
[ "MIT" ]
null
null
null
lib/copeiro.ex
polvalente/copeiro
95a92ac377c3e6ff56177a195c8e67adb4e749d9
[ "MIT" ]
null
null
null
defmodule Copeiro do @moduledoc """ The Copeiro package provides assertion functions that will enhance your testing experience in Elixir """ @doc false def __assert_lists__(:==, left, right, any_order: true) do left |> Copeiro.Comparator.match_lists_in_any_order(right) |> case do {:error, _...
24.013158
121
0.512329
796a4294ecd81e2d85ea52f9f5cbb690c8d96bb2
4,690
exs
Elixir
test/appsignal/error_handler_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
test/appsignal/error_handler_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
test/appsignal/error_handler_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
defmodule Appsignal.ErrorHandlerTest do @moduledoc """ Test the actual Appsignal.ErrorHandler """ use ExUnit.Case, async: true alias Appsignal.{Transaction, ErrorHandler, FakeTransaction} setup do {:ok, fake_transaction} = FakeTransaction.start_link() [fake_transaction: fake_transaction] end ...
31.904762
101
0.691684
796a4fc8493c553ece205fc8f9e04b54626a1dd9
115
ex
Elixir
lib/sanbase_web/admin/short_url/short_url.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/admin/short_url/short_url.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/admin/short_url/short_url.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.ExAdmin.ShortUrl do use ExAdmin.Register register_resource Sanbase.ShortUrl do end end
16.428571
40
0.817391
796a61f5a49dff0f64a3bf7c2d0127489d31ae6d
2,867
ex
Elixir
lib/bolt_sips/response_encoder.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
242
2016-09-09T22:32:00.000Z
2022-02-20T18:50:29.000Z
lib/bolt_sips/response_encoder.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
100
2016-10-18T04:19:09.000Z
2021-11-15T19:14:47.000Z
lib/bolt_sips/response_encoder.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
51
2016-10-31T20:05:52.000Z
2022-01-20T11:45:49.000Z
defmodule Bolt.Sips.ResponseEncoder do @moduledoc """ This module provides functions to encode a query result or data containing Bolt.Sips.Types into various format. For now, only JSON is supported. Encoding is handled by protocols to allow override if a specific implemention is required. See targeted p...
31.505495
121
0.577956
796aa0682a718fac50d8da4294c36b6ac5503f4b
3,042
exs
Elixir
test/raxx/server_test.exs
wayann/raxx
4a192c9b5a9a483e93e2194f5039b9fa9ff92cc8
[ "Apache-2.0" ]
null
null
null
test/raxx/server_test.exs
wayann/raxx
4a192c9b5a9a483e93e2194f5039b9fa9ff92cc8
[ "Apache-2.0" ]
null
null
null
test/raxx/server_test.exs
wayann/raxx
4a192c9b5a9a483e93e2194f5039b9fa9ff92cc8
[ "Apache-2.0" ]
1
2021-01-12T09:57:58.000Z
2021-01-12T09:57:58.000Z
defmodule Raxx.ServerTest do use ExUnit.Case doctest Raxx.Server import ExUnit.CaptureLog defmodule EchoServer do use Raxx.SimpleServer def handle_request(%{body: body}, _) do response(:ok) |> set_body(inspect(body)) end end test "body is concatenated to single string" do requ...
31.040816
80
0.659106
796aeaa6b91f4cad7a6e7d38fc301d9d401d21ea
1,236
ex
Elixir
lib/blockchain/application.ex
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
lib/blockchain/application.ex
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
lib/blockchain/application.ex
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
defmodule Blockchain.Application do # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application require Logger def start(_type, _args) do import Supervisor.Spec, warn: false if breakpoint_address_hex = System.get_env...
34.333333
122
0.699838
796aff6e29609819c75043570c5c4746af01eb23
108
exs
Elixir
test/is/validators/map_keys_test.exs
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
17
2018-06-23T11:16:17.000Z
2021-11-17T18:28:37.000Z
test/is/validators/map_keys_test.exs
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
null
null
null
test/is/validators/map_keys_test.exs
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
2
2018-10-24T20:12:54.000Z
2019-12-25T17:45:41.000Z
defmodule Is.Validators.MapKeysTest do use ExUnit.Case doctest Is.Validators.MapKeys, import: true end
18
45
0.796296
796b01032153465aa1414840eaee0be7d4c4b9ee
248
ex
Elixir
lib/distcount_web/router.ex
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
lib/distcount_web/router.ex
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
lib/distcount_web/router.ex
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
defmodule DistcountWeb.Router do @moduledoc false use DistcountWeb, :router pipeline :api do plug :accepts, ["json"] end scope "/", DistcountWeb do pipe_through :api post "/increment", CounterLogController, :incr end end
16.533333
50
0.693548
796b13628d5de37451f28a53a30466f86f4340e8
5,499
exs
Elixir
test/plug_rest/conn_test.exs
christopheradams/plug_rest
8cd5b8a7a5622bab6b72a146c09a1343fdeb4fad
[ "Apache-2.0" ]
54
2016-07-20T16:40:00.000Z
2022-03-16T06:59:54.000Z
test/plug_rest/conn_test.exs
dragonwasrobot/plug_rest
8cd5b8a7a5622bab6b72a146c09a1343fdeb4fad
[ "Apache-2.0" ]
4
2016-09-28T11:31:17.000Z
2020-01-27T05:45:00.000Z
test/plug_rest/conn_test.exs
dragonwasrobot/plug_rest
8cd5b8a7a5622bab6b72a146c09a1343fdeb4fad
[ "Apache-2.0" ]
6
2017-03-17T17:35:33.000Z
2020-01-23T11:26:59.000Z
defmodule PlugRest.ConnTest do use ExUnit.Case use Plug.Test import PlugRest.Conn test "parse content type header" do content_type = "application/json" actual_header = conn(:post, "/") |> put_req_header("content-type", content_type) |> parse_media_type_header("content-type") ex...
25.696262
109
0.621931
796b176dcc980218211736e9bcb21381aa8411f1
1,922
exs
Elixir
sample_application/rel/config.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
84
2018-03-20T08:19:10.000Z
2022-01-30T07:40:56.000Z
sample_application/rel/config.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
23
2018-03-29T15:15:56.000Z
2019-12-04T14:53:57.000Z
sample_application/rel/config.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
8
2018-07-03T18:18:27.000Z
2022-03-08T14:04:09.000Z
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # Thi...
31
82
0.721124
796b178880322d9ced991d7238dab576b8f13261
2,176
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_cancellation.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_cancellation.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_cancellation.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...
36.266667
272
0.722426
796b3648514633e8f21ab45fae43446ca9329abb
1,111
ex
Elixir
ola_api/lib/ola_api_web/controllers/user_controller.ex
diogobaracho/lab_exunit
2fc4445a50c7faa95d057dcb69d9bb9c6833c9f0
[ "Apache-2.0" ]
1
2020-03-04T20:42:23.000Z
2020-03-04T20:42:23.000Z
ola_api/lib/ola_api_web/controllers/user_controller.ex
diogobaracho/lab_exunit
2fc4445a50c7faa95d057dcb69d9bb9c6833c9f0
[ "Apache-2.0" ]
null
null
null
ola_api/lib/ola_api_web/controllers/user_controller.ex
diogobaracho/lab_exunit
2fc4445a50c7faa95d057dcb69d9bb9c6833c9f0
[ "Apache-2.0" ]
null
null
null
defmodule OlaApiWeb.UserController do use OlaApiWeb, :controller alias OlaApi.Accounts alias OlaApi.Accounts.User action_fallback OlaApiWeb.FallbackController def index(conn, _params) do users = Accounts.list_users() render(conn, "index.json", users: users) end def create(conn, %{"user" => use...
25.25
76
0.634563
796b423d7d364a653b31a0b7e049e19a451d2712
1,972
ex
Elixir
clients/jobs/lib/google_api/jobs/v3/model/processing_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/jobs/lib/google_api/jobs/v3/model/processing_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/jobs/lib/google_api/jobs/v3/model/processing_options.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.44
359
0.747465
796b5321a0ca3f65c11af8377d52f196afe18d7d
809
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/model/pipeline_step_impllinks.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/elixir/generated/lib/swaggy_jenkins/model/pipeline_step_impllinks.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/elixir/generated/lib/swaggy_jenkins/model/pipeline_step_impllinks.ex
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
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 SwaggyJenkins.Model.PipelineStepImpllinks do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"self", :"actions", :"_c...
24.515152
91
0.684796
796b563d1ed4ac440cea832129c1479df779db75
23,699
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/forwarding_rules.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/api/forwarding_rules.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/forwarding_rules.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 ...
51.296537
414
0.657454
796b658aa265b248ba937a0da58e5b83db4a5267
1,920
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_delete_documents_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_delete_documents_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_delete_documents_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...
33.103448
195
0.768229
796b79b7cb3f24fc00ef0a3d2c96dca31a59e978
2,028
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.372881
180
0.750493
796b9fdd0c870657b714bc4170524a88da1817c2
2,028
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/http_health_check_list_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/http_health_check_list_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_health_check_list_warning_data.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 ...
40.56
527
0.743097
796c0471a2eaf5a35d583c5ee2bad6e694a3ec9a
449
exs
Elixir
tests/dummy/priv/repo/migrations/2016041605594810_create_salsa_histories.exs
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/priv/repo/migrations/2016041605594810_create_salsa_histories.exs
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
20
2016-04-05T06:28:58.000Z
2016-05-12T15:45:37.000Z
tests/dummy/priv/repo/migrations/2016041605594810_create_salsa_histories.exs
foxnewsnetwork/autox
66ea3f0f7ba8b3f9e910984a2ed3cdf0ef5ef29a
[ "MIT" ]
null
null
null
defmodule Dummy.Repo.Migrations.CreateSalsaHistories do use Ecto.Migration def change do create table(:salsa_histories) do add :recordable_id, :integer add :permalink, :string add :type, :string add :name, :string add :message, :string add :scheduled_at, :datetime add ...
22.45
55
0.66147
796c16ca6aca4b4dbec8ae82fefc97ebeb298cb4
59
ex
Elixir
web/views/layout_view.ex
mallond/elixir-mix
dfdec1faace5e4457cecf4a34c83ca3c9c0f0f5f
[ "MIT" ]
1
2017-10-05T08:53:03.000Z
2017-10-05T08:53:03.000Z
web/views/layout_view.ex
mallond/elixir-mix
dfdec1faace5e4457cecf4a34c83ca3c9c0f0f5f
[ "MIT" ]
null
null
null
web/views/layout_view.ex
mallond/elixir-mix
dfdec1faace5e4457cecf4a34c83ca3c9c0f0f5f
[ "MIT" ]
1
2019-04-06T02:33:19.000Z
2019-04-06T02:33:19.000Z
defmodule ElixirMix.LayoutView do use ElixirMix.View end
14.75
33
0.830508
796c1821612742b7626fc1ee82fd7855dbea7d48
1,868
ex
Elixir
lib/scentenced_web/controllers/perfume_controller.ex
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
null
null
null
lib/scentenced_web/controllers/perfume_controller.ex
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
1
2020-07-17T08:20:59.000Z
2020-07-17T08:20:59.000Z
lib/scentenced_web/controllers/perfume_controller.ex
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
null
null
null
defmodule ScentencedWeb.PerfumeController do use ScentencedWeb, :controller alias Scentenced.Perfumes alias Scentenced.Perfumes.Perfume def index(conn, _params) do perfumes = Perfumes.list_perfumes() render(conn, "index.html", perfumes: perfumes) end def new(conn, _params) do changeset = Perf...
29.650794
73
0.656852
796c1b0f1168ac0d7af37e55eded65b2fd0efe8b
308
ex
Elixir
lib/flashfeed_web/controllers/utilities_controller.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
4
2020-02-27T14:29:20.000Z
2021-04-03T19:08:50.000Z
lib/flashfeed_web/controllers/utilities_controller.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
6
2020-02-17T21:35:04.000Z
2021-09-02T06:46:46.000Z
lib/flashfeed_web/controllers/utilities_controller.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
null
null
null
defmodule FlashfeedWeb.UtilitiesController do use FlashfeedWeb, :controller action_fallback(FlashfeedWeb.FallbackController) def version(conn, _params) do render(conn, "version.txt", name: "flashfeed-elixir", version: Application.spec(:flashfeed, :vsn) |> to_string() ) end end
23.692308
64
0.724026
796c1cf88f5cee2bbac38a9800bbc6e2e21b2d55
6,486
ex
Elixir
web/controllers/recipe_controller.ex
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
web/controllers/recipe_controller.ex
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
web/controllers/recipe_controller.ex
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
defmodule Alastair.RecipeController do use Alastair.Web, :controller import Alastair.Helper alias Alastair.Recipe def index(conn, params) do recipes = from(p in Recipe, where: p.published == true, order_by: :name) |> paginate(params) |> search(params) |> Repo.all render(c...
33.78125
164
0.641844
796c267c84875762ddc7c4f94c085b394f0cf60c
2,265
ex
Elixir
apps/ewallet_config/test/support/config_test_helper.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet_config/test/support/config_test_helper.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet_config/test/support/config_test_helper.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWalletConfig.ConfigTestHelper do @moduledoc """ Contains helper methods to make testing configuration """ alias EWalletConfig.Config alias Ecto.Adapters.SQL.Sandbox def restart_config_genserver(parent, repo, apps, attrs) do {:ok, pid} = Config.start_link() Sandbox.allow(repo, parent, pid...
26.337209
98
0.671965
796c35b9d95be688fe4cdf0993724f04935115db
86
exs
Elixir
test/libralyweb_web/views/page_view_test.exs
acmfi/ACM-libraly-web
0e41135aa8becdbe722a64098982d96e71fcc527
[ "MIT" ]
null
null
null
test/libralyweb_web/views/page_view_test.exs
acmfi/ACM-libraly-web
0e41135aa8becdbe722a64098982d96e71fcc527
[ "MIT" ]
5
2020-09-01T22:13:47.000Z
2021-06-21T18:10:29.000Z
test/libralyweb_web/views/page_view_test.exs
acmfi/ACM-libraly-web
0e41135aa8becdbe722a64098982d96e71fcc527
[ "MIT" ]
null
null
null
defmodule LibralywebWeb.PageViewTest do use LibralywebWeb.ConnCase, async: true end
21.5
41
0.837209
796c3d95f344b5f3a139bb3d1c26bd64f72ba344
1,190
exs
Elixir
test/level_web/graphql/subscriptions/notifications_dismissed_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
test/level_web/graphql/subscriptions/notifications_dismissed_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
test/level_web/graphql/subscriptions/notifications_dismissed_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule LevelWeb.GraphQL.NotificationsDismissedTest do use LevelWeb.ChannelCase alias Level.Notifications alias Level.Schemas.Post @operation """ subscription UserSubscription { userSubscription { __typename ... on NotificationsDismissedPayload { topic } } ...
23.333333
68
0.615126
796c42f5565a57464d64734784d8525e634ff896
10,550
exs
Elixir
lib/elixir/test/elixir/path_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/elixir/test/elixir/path_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/path_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
Code.require_file("test_helper.exs", __DIR__) defmodule PathTest do use ExUnit.Case, async: true doctest Path import PathHelpers if :file.native_name_encoding() == :utf8 do test "wildcard with UTF-8" do File.mkdir_p(tmp_path("héllò")) assert Path.wildcard(tmp_path("héllò")) == [tmp_path("hél...
39.513109
98
0.587773
796c5907f443d20281c747bbc2b69f83190d2361
1,919
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_delete_document_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_delete_document_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_delete_document_operation_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...
34.267857
188
0.770193
796c6431331fb915540c7814eb4da13b1af763ac
1,075
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_interface.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_interface.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_interface.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
27.564103
77
0.737674
796c65728ae07d5d50af677cb2550095d0124ab1
13,016
exs
Elixir
test/absinthe/introspection_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/introspection_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/introspection_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Absinthe.IntrospectionTest do use Absinthe.Case, async: true alias Absinthe.Schema describe "introspection of an enum type" do test "can use __type and value information with deprecations" do result = """ { __type(name: "Channel") { kind name...
24.604915
125
0.355639
796c7c526d46245832ee6708de229374c0c268c8
346
exs
Elixir
config/dev.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
1
2020-06-30T11:42:09.000Z
2020-06-30T11:42:09.000Z
config/dev.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
null
null
null
config/dev.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
null
null
null
use Mix.Config config :kanban, Kanban.Endpoint, http: [port: System.get_env("PORT") || 4000], debug_errors: true, cache_static_lookup: false # Enables code reloading for development config :phoenix, :code_reloader, true # Do not include metadata nor timestamps in development logs config :logger, :console, form...
26.615385
60
0.748555
796c7d1743693e23201e828335a9872dbdc0ad64
411
ex
Elixir
lib/gossip/test_callback.ex
adamkittelson/gossip-elixir
bf131fc0dd225d2e89a221571b27bad5d60db308
[ "MIT" ]
null
null
null
lib/gossip/test_callback.ex
adamkittelson/gossip-elixir
bf131fc0dd225d2e89a221571b27bad5d60db308
[ "MIT" ]
null
null
null
lib/gossip/test_callback.ex
adamkittelson/gossip-elixir
bf131fc0dd225d2e89a221571b27bad5d60db308
[ "MIT" ]
null
null
null
defmodule Gossip.TestCallback do @moduledoc false @behaviour Gossip.Client @impl true def user_agent(), do: "Test Client" @impl true def channels(), do: [] @impl true def players(), do: [] @impl true def message_broadcast(_message), do: :ok @impl true def player_sign_in(_game_name, _player...
17.125
56
0.690998
796c80d717f7741d4239bb93cb843eba07738ab1
331
exs
Elixir
test/e2e/test/test_helper.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/e2e/test/test_helper.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/e2e/test/test_helper.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
alias Hologram.Compiler.Reflection alias HologramE2EWeb.Endpoint ExUnit.start() (Reflection.release_static_path() <> "/hologram/runtime*") |> Path.wildcard() |> Enum.each(&File.rm!/1) Mix.Task.run("holo.assets.build") {:ok, _} = Application.ensure_all_started(:wallaby) Application.put_env(:wallaby, :base_url, Endpo...
23.642857
58
0.749245
796c96e84e821d8399e61f2efd5b734324aa8f63
2,012
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_longrunning__list_operations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_longrunning__list_operations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_longrunning__list_operations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.533333
194
0.746521
796cac1ef5615ce71e55052394d4ea0f0bb26878
853
ex
Elixir
lib/supervisor.ex
pringlized/Elber
81394ad29b7a67ac9b8d3e249cde252ec5c44697
[ "MIT" ]
1
2019-06-20T07:06:16.000Z
2019-06-20T07:06:16.000Z
lib/supervisor.ex
pringlized/Elber
81394ad29b7a67ac9b8d3e249cde252ec5c44697
[ "MIT" ]
null
null
null
lib/supervisor.ex
pringlized/Elber
81394ad29b7a67ac9b8d3e249cde252ec5c44697
[ "MIT" ]
null
null
null
defmodule Elber.Supervisor do use Supervisor def start_link(config) do IO.inspect config Supervisor.start_link(__MODULE__, config, name: __MODULE__) end # ------------------------------------ # PRIVATE # ------------------------------------ defp via_tuple(name) do {...
25.848485
82
0.445487
796cf339213738767195f506e7839e0c1ea9e042
3,007
ex
Elixir
lib/asciinema_web/controllers/asciicast_controller.ex
potherca-contrib/asciinema-server
c5ac6e45e8f117d4d59c9c33da6b59b448e40f0e
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/asciicast_controller.ex
potherca-contrib/asciinema-server
c5ac6e45e8f117d4d59c9c33da6b59b448e40f0e
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/asciicast_controller.ex
potherca-contrib/asciinema-server
c5ac6e45e8f117d4d59c9c33da6b59b448e40f0e
[ "Apache-2.0" ]
null
null
null
defmodule AsciinemaWeb.AsciicastController do use AsciinemaWeb, :controller alias Asciinema.{Asciicasts, PngGenerator} alias Asciinema.Asciicasts.Asciicast plug :put_layout, "app2.html" plug :clear_main_class def index(conn, _params) do redirect(conn, to: asciicast_path(conn, :category, :featured)) ...
27.842593
85
0.656801
796d12d17b684462e0dbfff0b6fb50c9dcece054
47,112
exs
Elixir
test/unit/vocabulary_namespace_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/vocabulary_namespace_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/vocabulary_namespace_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
2
2018-01-19T15:48:27.000Z
2020-03-01T00:29:35.000Z
defmodule RDF.Vocabulary.NamespaceTest do use ExUnit.Case doctest RDF.Vocabulary.Namespace import RDF.Sigils alias RDF.Description @compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.TestNS.EX} @compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.TestNS.ExampleFromGraph} @compile {:no_war...
37.509554
118
0.618017
796d3519869ebef14a51460fef65008cbf7508f1
2,059
exs
Elixir
template/$PROJECT_NAME$/config/dev.exs
zhulinpinyu/gen_template_phx_live_view
09e89555c4bde7ffd0e9192149b403f5a9d8e61f
[ "MIT" ]
null
null
null
template/$PROJECT_NAME$/config/dev.exs
zhulinpinyu/gen_template_phx_live_view
09e89555c4bde7ffd0e9192149b403f5a9d8e61f
[ "MIT" ]
null
null
null
template/$PROJECT_NAME$/config/dev.exs
zhulinpinyu/gen_template_phx_live_view
09e89555c4bde7ffd0e9192149b403f5a9d8e61f
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :<%= @project_name %>, <%= @project_name_camel_cas...
29.84058
74
0.6712
796d3b9ea1de31c58402211cbffa87126559424e
858
ex
Elixir
lib/flagr/model/evaluation_batch_request.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
lib/flagr/model/evaluation_batch_request.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
lib/flagr/model/evaluation_batch_request.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Flagr.Model.EvaluationBatchRequest do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"entities", :"enableDebug", ...
22.578947
77
0.653846
796d4cd6439259a2e138d418fc80c947f871357d
260
exs
Elixir
test/support/ecto/priv/migrations/2_add_username_to_users.exs
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
4
2018-05-07T16:37:15.000Z
2018-07-14T00:44:12.000Z
test/support/ecto/priv/migrations/2_add_username_to_users.exs
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
test/support/ecto/priv/migrations/2_add_username_to_users.exs
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
1
2020-07-13T01:11:17.000Z
2020-07-13T01:11:17.000Z
defmodule Pow.Test.Ecto.Repo.Migrations.AddUsernameToUsers do use Ecto.Migration def change do alter table(:users) do add :username, :string modify :email, :string, null: true end create unique_index(:users, [:username]) end end
21.666667
61
0.692308
796d853e4da7f684c725fa5355725994ee9e74d2
420
ex
Elixir
web/models/user.ex
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
null
null
null
web/models/user.ex
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
null
null
null
web/models/user.ex
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
null
null
null
defmodule Discuss.User do use Discuss.Web, :model schema "users" do field :email, :string field :provider, :string field :token, :string has_many :topics, Discuss.Topic has_many :comments, Discuss.Comment timestamps() end def changeset(struct, params \\ %{}) do struct |> cast(p...
22.105263
53
0.652381
796dbbee8cec82376011865ee9af30c899204343
513
ex
Elixir
lib/discuss/blog/post.ex
frunox/discuss
d19367eceb8c68ebef4e565981ceef256b5cb04e
[ "MIT" ]
null
null
null
lib/discuss/blog/post.ex
frunox/discuss
d19367eceb8c68ebef4e565981ceef256b5cb04e
[ "MIT" ]
null
null
null
lib/discuss/blog/post.ex
frunox/discuss
d19367eceb8c68ebef4e565981ceef256b5cb04e
[ "MIT" ]
null
null
null
defmodule Discuss.Blog.Post do @enforce_keys [:id, :author, :title, :body, :description, :tags, :date] defstruct [:id, :author, :title, :body, :description, :tags, :date] def build(filename, attrs, body) do [year, month_day_id] = filename |> Path.rootname() |> Path.split() |> Enum.take(-2) [month, day, i...
46.636364
87
0.639376
796dbe01f6e99d3a20c415086555feaebe2f7074
891
ex
Elixir
lib/mango_web/controllers/session_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
121
2017-06-24T10:33:38.000Z
2022-03-17T16:02:16.000Z
lib/mango_web/controllers/session_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
6
2017-06-24T22:48:21.000Z
2018-03-17T01:20:32.000Z
lib/mango_web/controllers/session_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
29
2017-07-03T04:09:15.000Z
2022-03-02T15:45:49.000Z
defmodule MangoWeb.SessionController do use MangoWeb, :controller alias Mango.CRM def new(conn, _params) do render(conn, "new.html") end def create(conn, %{"session" => session_params}) do case CRM.get_customer_by_credentials(session_params) do :error -> conn |> put_flash(:erro...
27.84375
80
0.637486
796de764335b890a32698ff79be2289ae88eb979
243
exs
Elixir
apps/core/priv/repo/migrations/20191031024027_add_values_template.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/priv/repo/migrations/20191031024027_add_values_template.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/priv/repo/migrations/20191031024027_add_values_template.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Repo.Migrations.AddValuesTemplate do use Ecto.Migration def change do alter table(:versions) do add :values_template, :binary end alter table(:installations) do add :context, :map end end end
17.357143
51
0.687243
796e0c740605f9022854161bcddd37aa5da2ddab
95
exs
Elixir
config/config.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
config/config.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
config/config.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
import Config config :tesla, adapter: Tesla.Adapter.Hackney import_config "#{Mix.env()}.exs"
15.833333
45
0.747368
796e2b7706151f1e8f1dd1e240baaaef9970f6f8
12,578
exs
Elixir
apps/state/test/state/shape_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/state/test/state/shape_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/state/test/state/shape_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule State.ShapeTest do use ExUnit.Case alias Model.{Route, RoutePattern, Schedule, Shape, Stop, Trip} alias Parse.Polyline import State.Shape test "init" do assert {:ok, %{data: _, last_updated: nil}} = State.Shape.init([]) end describe "new_state/1" do setup do State.StopsOnRoute.em...
24.049713
90
0.480442
796e5114957d7aea454fd0c8836614e8451dde22
104
ex
Elixir
web/views/account_relationship_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
web/views/account_relationship_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
web/views/account_relationship_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.AccountRelationshipView do use Apiv4.Web, :view use Autox.RelationshipView end
17.333333
42
0.778846
796e8ac2d383a4041c95012ed8a3d4d4c752c7d9
570
ex
Elixir
lib/wolfgang_api_web/views/changeset_view.ex
davidenglishmusic/wolfgang_api
828df91ddf46dcce4dee86c0f416cf292fc261be
[ "MIT" ]
null
null
null
lib/wolfgang_api_web/views/changeset_view.ex
davidenglishmusic/wolfgang_api
828df91ddf46dcce4dee86c0f416cf292fc261be
[ "MIT" ]
null
null
null
lib/wolfgang_api_web/views/changeset_view.ex
davidenglishmusic/wolfgang_api
828df91ddf46dcce4dee86c0f416cf292fc261be
[ "MIT" ]
null
null
null
defmodule WolfgangApiWeb.ChangesetView do use WolfgangApiWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `WolfgangApiWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(c...
28.5
67
0.74386
796e956994603796e5ae160a1f63f9bb3dd624d2
170
ex
Elixir
lib/cryppo/serialization.ex
Meeco/cryppo_ex
fd9b6f4f84c6668797b1e31f6e59bb5f42630a2a
[ "Apache-2.0" ]
null
null
null
lib/cryppo/serialization.ex
Meeco/cryppo_ex
fd9b6f4f84c6668797b1e31f6e59bb5f42630a2a
[ "Apache-2.0" ]
null
null
null
lib/cryppo/serialization.ex
Meeco/cryppo_ex
fd9b6f4f84c6668797b1e31f6e59bb5f42630a2a
[ "Apache-2.0" ]
1
2021-06-01T07:46:14.000Z
2021-06-01T07:46:14.000Z
defprotocol Cryppo.Serialization do @moduledoc false # Cryppo serialization protocol @spec serialize(t) :: String.t() | {:error, atom} def serialize(value) end
18.888889
51
0.723529
796e9a2e3f775e0964ad498359e5ae33428ab8ae
144
ex
Elixir
in.ex
ucarion/llvm-rust-getting-started
8d7cf8ebb093afe6a93f98f98a532ac8df70742b
[ "MIT", "Unlicense" ]
61
2016-07-05T02:37:49.000Z
2022-02-22T12:58:55.000Z
in.ex
ucarion/llvm-rust-getting-started
8d7cf8ebb093afe6a93f98f98a532ac8df70742b
[ "MIT", "Unlicense" ]
null
null
null
in.ex
ucarion/llvm-rust-getting-started
8d7cf8ebb093afe6a93f98f98a532ac8df70742b
[ "MIT", "Unlicense" ]
7
2018-03-09T23:11:27.000Z
2021-09-29T13:38:58.000Z
a = 1 b = 0 c = if a { if b { 11 } else { 40 } } else { if b { 10 } else { 20 } } c + 2
8.470588
12
0.25
796eb351f2505590745ec5e588a5194e19ad3202
1,256
exs
Elixir
.check.exs
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
3
2021-02-15T13:03:15.000Z
2022-01-25T11:07:47.000Z
.check.exs
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
null
null
null
.check.exs
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
null
null
null
[ ## don't run tools concurrently # parallel: false, ## don't print info about skipped tools # skipped: false, ## always run tools in fix mode (put it in ~/.check.exs locally, not in project config) # fix: true, ## don't retry automatically even if last run resulted in failures # retry: false, ## ...
33.052632
89
0.615446
796ec92c98cebe8c2a3027fa5020024858d6c2c9
4,435
ex
Elixir
lib/sanbase/user_lists/settings.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/user_lists/settings.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/user_lists/settings.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.UserList.Settings do @moduledoc ~s""" Store and work with settings specific for a watchlist. The settings are stored per user. One watchlist can have many settings for many users. When a user requires the settings for a watchlist the resolution process is the first one that matches: 1. If...
28.429487
83
0.659301
796ef08e4b2b5d29732092065d79e3f75dcd61de
462
ex
Elixir
lib/linalg.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
lib/linalg.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
lib/linalg.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
defmodule Linalg do def dot(x, y) when is_list(x) and is_list(y) and length(x) == length(y) do Enum.zip(x, y) |> Enum.map(fn {a, b} -> a * b end) |> Enum.reduce(0, fn x, acc -> x + acc end) end def pretty(vec) when is_list(vec) do vec |> Enum.map(&Linalg.pretty/1) |> Enum.join(", ") |...
24.315789
76
0.554113
796f26e5bc85d005ecf2600149eb308b9a3c331f
1,378
exs
Elixir
mix.exs
c4710n/waffle
42b0784397d779c31c4bee3652c7174f2516dbbd
[ "Apache-2.0" ]
null
null
null
mix.exs
c4710n/waffle
42b0784397d779c31c4bee3652c7174f2516dbbd
[ "Apache-2.0" ]
null
null
null
mix.exs
c4710n/waffle
42b0784397d779c31c4bee3652c7174f2516dbbd
[ "Apache-2.0" ]
null
null
null
defmodule Waffle.Mixfile do use Mix.Project @version "1.1.3" def project do [app: :waffle, version: @version, elixir: "~> 1.4", deps: deps(), docs: docs(), # Hex description: description(), package: package()] end defp description do """ Flexible file upload a...
18.876712
69
0.528302
796f5cf4cd3d8c46fd14e8d5b9177d9c4efaa1d6
241
ex
Elixir
lib/parse_logs/base_64_image.ex
losvedir/ephemeral2-logs
05dadbd514493f8509457bcb411bbdd9b92f4f3a
[ "MIT" ]
2
2015-08-04T17:35:50.000Z
2015-08-12T18:37:48.000Z
lib/parse_logs/base_64_image.ex
losvedir/ephemeral2-logs
05dadbd514493f8509457bcb411bbdd9b92f4f3a
[ "MIT" ]
null
null
null
lib/parse_logs/base_64_image.ex
losvedir/ephemeral2-logs
05dadbd514493f8509457bcb411bbdd9b92f4f3a
[ "MIT" ]
null
null
null
defmodule ParseLogs.Base64Image do def header do "timestamp" end def parse_line(line) do [ts|_] = Regex.run(~r/198 <190>1 (.*) app web.1.*/, line, capture: :all_but_first) "#{ParseLogs.Utils.heroku_to_unix(ts)}" end end
21.909091
86
0.659751
796f6dc4bdec6c2664573f709be8ba7de4ab0a23
43,258
ex
Elixir
lib/ecto/type.ex
yordis/ecto
6e7bc3f4d757b7c09ced10135e0c5c4ce1f4ea2f
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
yordis/ecto
6e7bc3f4d757b7c09ced10135e0c5c4ce1f4ea2f
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
yordis/ecto
6e7bc3f4d757b7c09ced10135e0c5c4ce1f4ea2f
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Type do @moduledoc """ Defines functions and the `Ecto.Type` behaviour for implementing basic custom types. Ecto provides two types of custom types: basic types and parameterized types. Basic types are simple, requiring only four callbacks to be implemented, and are enough for most occasions...
31.25578
124
0.633178
796fa7dfb91e181191e19cbb01c774443777abc9
1,876
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/page_author.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/page_author.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/page_author.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.5
116
0.695629
796fa7f6e26b7ab9a6e418da5af52417fd95835f
11,693
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/comment_threads.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/comment_threads.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/comment_threads.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...
51.061135
314
0.640041
796fe738273fe3bc6c073cf873d71e6d61805fd3
3,883
ex
Elixir
clients/accelerated_mobile_page_url/lib/google_api/accelerated_mobile_page_url/v1/api/amp_urls.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/accelerated_mobile_page_url/lib/google_api/accelerated_mobile_page_url/v1/api/amp_urls.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/accelerated_mobile_page_url/lib/google_api/accelerated_mobile_page_url/v1/api/amp_urls.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.629213
196
0.663405
796ffc25f2e8c7665391e5dbc3ba1433db2c33b5
1,703
ex
Elixir
examples/basic_phoenix_ecto/lib/demo_web/router.ex
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
null
null
null
examples/basic_phoenix_ecto/lib/demo_web/router.ex
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
null
null
null
examples/basic_phoenix_ecto/lib/demo_web/router.ex
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
1
2022-02-07T20:48:50.000Z
2022-02-07T20:48:50.000Z
defmodule DemoWeb.Router do use DemoWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {DemoWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts...
25.80303
70
0.684087
797005c75ffc5000a7bd13f0ef98ce07e652e63a
1,074
ex
Elixir
lib/ex_polygon/rest/stock_dividends.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
lib/ex_polygon/rest/stock_dividends.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
lib/ex_polygon/rest/stock_dividends.ex
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
defmodule ExPolygon.Rest.StockDividends do @moduledoc """ Returns a call to "Stock Dividends" Polygon.io """ @type dividend :: ExPolygon.Dividend.t() @type api_key :: ExPolygon.Rest.HTTPClient.api_key() @type shared_error_reasons :: ExPolygon.Rest.HTTPClient.shared_error_reasons() @path "/v2/reference/d...
27.538462
96
0.640596
797013a515f506c45ec8d371a8b758dada929afd
1,249
ex
Elixir
lib/msgpax/plug_parser.ex
kanmo/msgpax
38304c277d923e2abfce33ef402fc69228583414
[ "ISC" ]
null
null
null
lib/msgpax/plug_parser.ex
kanmo/msgpax
38304c277d923e2abfce33ef402fc69228583414
[ "ISC" ]
null
null
null
lib/msgpax/plug_parser.ex
kanmo/msgpax
38304c277d923e2abfce33ef402fc69228583414
[ "ISC" ]
null
null
null
if Code.ensure_compiled?(Plug) do defmodule Msgpax.PlugParser do @moduledoc """ A `Plug.Parsers` plug for parsing a MessagePack-encoded body. Look at the [documentation for `Plug.Parsers`](http://hexdocs.pm/plug/Plug.Parsers.html) for more information on how to use `Plug.Parsers`. ## Example...
25.489796
88
0.609287
79703cb90c6d0a3a83060739936972aba2dd7562
212
ex
Elixir
lib/trento/application/integration/prometheus/adapter/gen.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
lib/trento/application/integration/prometheus/adapter/gen.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
lib/trento/application/integration/prometheus/adapter/gen.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.Integration.Prometheus.Gen do @moduledoc """ Behaviour of a prometheus adapter. """ @callback get_exporters_status(host_id :: String.t()) :: {:ok, map} | {:error, any} end
23.555556
58
0.646226
7970569480d9cf9aa35b569191e31d68201247cd
170
exs
Elixir
www/priv/repo/migrations/20160721085732_add_authors_field.exs
Nagasaki45/krihelinator
243bfe476b8128dc2f0fcd913bebd8cf20b7deb6
[ "MIT" ]
47
2016-07-17T08:49:36.000Z
2020-11-06T14:12:15.000Z
www/priv/repo/migrations/20160721085732_add_authors_field.exs
Nagasaki45/krihelinator
243bfe476b8128dc2f0fcd913bebd8cf20b7deb6
[ "MIT" ]
181
2016-07-11T13:20:40.000Z
2019-10-22T14:43:40.000Z
www/priv/repo/migrations/20160721085732_add_authors_field.exs
Nagasaki45/krihelinator
243bfe476b8128dc2f0fcd913bebd8cf20b7deb6
[ "MIT" ]
2
2017-02-25T16:19:09.000Z
2017-12-24T20:22:32.000Z
defmodule Krihelinator.Repo.Migrations.AddAuthorsField do use Ecto.Migration def change do alter table(:repos) do add :authors, :integer end end end
17
57
0.717647
79707e112b0f5ead284b7e16669662dee9361671
200
exs
Elixir
projects/standup/test/standup_web/controllers/page_controller_test.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2020-02-11T06:00:11.000Z
2020-02-11T06:00:11.000Z
projects/standup/test/standup_web/controllers/page_controller_test.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2017-09-23T19:41:29.000Z
2017-09-25T05:12:38.000Z
projects/standup/test/standup_web/controllers/page_controller_test.exs
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
null
null
null
defmodule StandupWeb.PageControllerTest do use StandupWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.222222
60
0.68
7970839aa0f692fccd85d2580ef783ec751b1958
2,619
exs
Elixir
test/sparsebitfield_test.exs
davebryson/hyperex
e95923600419c4701e2d0d86adb509cf1839a36d
[ "Apache-2.0" ]
null
null
null
test/sparsebitfield_test.exs
davebryson/hyperex
e95923600419c4701e2d0d86adb509cf1839a36d
[ "Apache-2.0" ]
null
null
null
test/sparsebitfield_test.exs
davebryson/hyperex
e95923600419c4701e2d0d86adb509cf1839a36d
[ "Apache-2.0" ]
null
null
null
defmodule Hyperex.SparsebitfieldTest do use ExUnit.Case, async: true alias Hyperex.SparseBitfield test "bit functions work as expected" do assert {:ok, 0b10000000} = SparseBitfield.set_bit(0, <<0b00000000>>, true) assert {:ok, 0b01000000} = SparseBitfield.set_bit(17, <<0b00000000>>, true) assert {:o...
46.767857
81
0.683849
7970c2b5f4b19095ccc1190cbd570a968182160f
378
ex
Elixir
lib/ambry/media/chapters.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
12
2021-09-30T20:51:49.000Z
2022-01-27T04:09:32.000Z
lib/ambry/media/chapters.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
76
2021-10-01T05:45:11.000Z
2022-03-28T04:12:39.000Z
lib/ambry/media/chapters.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
2
2021-10-04T19:27:28.000Z
2022-01-13T22:36:38.000Z
defmodule Ambry.Media.Chapters do @moduledoc """ Tries to determine chapters from various kinds of media. """ alias Ambry.Media.Chapters.{ChapteredMP3, ChapteredMP4, MP4, OverdriveMP3} @strategies [ ChapteredMP3, ChapteredMP4, MP4, OverdriveMP3 ] def available_strategies(media) do E...
19.894737
76
0.706349
7970e6a9b02d570f2c611d0ced883345ea534121
229
ex
Elixir
lib/mix/tasks/slack.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2021-03-14T21:12:49.000Z
2021-03-14T21:12:49.000Z
lib/mix/tasks/slack.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
lib/mix/tasks/slack.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule Mix.Tasks.Changelog.Slack do use Mix.Task @shortdoc "Retrieves list of Slack users and updates local Slack IDs" def run(_) do Mix.Task.run "app.start" Changelog.Slack.Tasks.import_member_ids() end end
20.818182
71
0.733624