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
7a193fe66813e414e68c8e02c51512b9b6dc5b13
2,353
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/store_layout.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/store_layout.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/store_layout.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...
43.574074
320
0.742031
7a195a9a22e610dad577e61ff82cc0513e154483
3,079
exs
Elixir
test/changelog_web/controllers/admin/news_source_controller_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
test/changelog_web/controllers/admin/news_source_controller_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
test/changelog_web/controllers/admin/news_source_controller_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.NewsSourceControllerTest do use ChangelogWeb.ConnCase alias Changelog.NewsSource @valid_attrs %{name: "Wired", slug: "wired", website: "https://wired.com"} @invalid_attrs %{name: "Wired", slug: "wired", website: ""} @tag :as_admin test "lists all news sources", %{conn: conn} ...
35.390805
111
0.706723
7a19cfdc4509d4f04871f51145e70bee23cd8378
322
ex
Elixir
lib/blueprint/application/module/message.ex
ScrimpyCat/Blueprint
3a2e02318a2f09d80b4a18d54644e4567bf86156
[ "BSD-2-Clause" ]
1
2017-12-04T12:43:04.000Z
2017-12-04T12:43:04.000Z
lib/blueprint/application/module/message.ex
ScrimpyCat/Blueprint
3a2e02318a2f09d80b4a18d54644e4567bf86156
[ "BSD-2-Clause" ]
null
null
null
lib/blueprint/application/module/message.ex
ScrimpyCat/Blueprint
3a2e02318a2f09d80b4a18d54644e4567bf86156
[ "BSD-2-Clause" ]
null
null
null
defmodule Blueprint.Application.Module.Message do @moduledoc """ A struct containing contents about a message useful for inspecting. """ defstruct [:target, :interface, :args] @type t :: %Blueprint.Application.Module.Message{ target: atom, interface: { atom, atom, integer }, args: any } en...
29.272727
115
0.68323
7a1a00b01d2e1a7aaafd13563e59552ef2bc071e
1,062
ex
Elixir
example/lib/elm_phoenix/web/channels/user_socket.ex
eco-pro/elm-phoenix-ports
17336527c63e7964022d146ad53f0b8238f41873
[ "MIT" ]
6
2020-06-04T09:47:33.000Z
2021-09-16T11:10:19.000Z
example/lib/elm_phoenix/web/channels/user_socket.ex
chazsconi/elm-phoenix-ports
1e5871b01f40e6c72903cee18ed36277feaed3a4
[ "MIT" ]
2
2021-04-03T19:40:35.000Z
2021-09-13T10:41:32.000Z
example/lib/elm_phoenix/web/channels/user_socket.ex
eco-pro/elm-phoenix-ports
17336527c63e7964022d146ad53f0b8238f41873
[ "MIT" ]
1
2021-09-10T15:06:36.000Z
2021-09-10T15:06:36.000Z
defmodule ElmPhoenix.Web.UserSocket do use Phoenix.Socket ## Channels channel("room:*", ElmPhoenix.Web.RoomChannel) # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for al...
30.342857
86
0.694915
7a1a1697b9e6db48bda6456ed268d4b0c8d180ac
1,349
exs
Elixir
mix.exs
membraneframework/membrane-element-httpoison
0a4d6fa4a1b496219c95c083abf95c58d8eabced
[ "Apache-2.0" ]
1
2018-07-27T14:15:59.000Z
2018-07-27T14:15:59.000Z
mix.exs
membraneframework/membrane-element-httpoison
0a4d6fa4a1b496219c95c083abf95c58d8eabced
[ "Apache-2.0" ]
2
2018-07-23T15:09:16.000Z
2018-10-31T11:00:21.000Z
mix.exs
membraneframework/membrane-element-httpoison
0a4d6fa4a1b496219c95c083abf95c58d8eabced
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.HTTPoison.Mixfile do use Mix.Project @version "0.3.0" @github_url "http://github.com/membraneframework/membrane-element-httpoison" def project do [ app: :membrane_element_httpoison, compilers: Mix.compilers(), version: @version, elixir: "~> 1.7", el...
22.114754
78
0.575982
7a1a333010e6c3f4fda5e9c6a7f453d41176681a
461
exs
Elixir
apps/dockerizing_phoenix_web/test/dockerizing_phoenix_web/views/error_view_test.exs
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
2
2021-01-27T17:49:24.000Z
2021-04-19T21:42:31.000Z
apps/dockerizing_phoenix_web/test/dockerizing_phoenix_web/views/error_view_test.exs
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
1
2021-04-18T16:30:32.000Z
2021-05-25T17:33:50.000Z
apps/dockerizing_phoenix_web/test/dockerizing_phoenix_web/views/error_view_test.exs
erikknaake/DockerizePhoenix
54a64a73b54b8446a22c638a38bc4821d15d14b1
[ "MIT" ]
null
null
null
defmodule DockerizingPhoenixWeb.ErrorViewTest do use DockerizingPhoenixWeb.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(DockerizingPhoenixWeb.ErrorView, "404.html", []) == "Not Found" end ...
30.733333
103
0.759219
7a1a5553fe45e96c6f366b5b21a311fae8ce0062
4,967
exs
Elixir
integration_test/chrome/starting_sessions_test.exs
lessthanseventy/wallaby
30068098a3ee7bb1188840fc7f18ea262e64b845
[ "MIT" ]
926
2016-03-28T17:01:54.000Z
2019-11-05T11:59:58.000Z
integration_test/chrome/starting_sessions_test.exs
marcandre/wallaby
d351c46f1a272bbcf8333c8327d154be3bd12c5c
[ "MIT" ]
377
2016-03-17T00:35:56.000Z
2019-11-03T07:15:24.000Z
integration_test/chrome/starting_sessions_test.exs
marcandre/wallaby
d351c46f1a272bbcf8333c8327d154be3bd12c5c
[ "MIT" ]
144
2016-03-29T15:28:28.000Z
2019-10-31T00:48:42.000Z
defmodule Wallaby.Integration.Chrome.StartingSessionsTest do use ExUnit.Case, async: false import Wallaby.SettingsTestHelpers import Wallaby.TestSupport.ApplicationControl import Wallaby.TestSupport.TestScriptUtils import Wallaby.TestSupport.TestWorkspace alias Wallaby.Chrome alias Wallaby.TestSupport.C...
31.636943
93
0.725992
7a1a5f2ce2efc1e31f56edab645225b6bf0887fa
1,090
ex
Elixir
lib/wishlist_web/live/event_live/index.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/live/event_live/index.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/live/event_live/index.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
defmodule WishlistWeb.EventLive.Index do use WishlistWeb, :live_view alias Wishlist.Wishlists alias Wishlist.Wishlists.Event @impl true def mount(_params, _session, socket) do {:ok, assign(socket, :events, list_events())} end @impl true def handle_params(params, _url, socket) do {:noreply, ap...
23.191489
72
0.666055
7a1a5fe582a3bbac43f6f3293d18b9134aad6cb2
2,634
exs
Elixir
priv/repo/seeds_prod.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
priv/repo/seeds_prod.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
priv/repo/seeds_prod.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
alias UcxUcc.Repo alias UcxUcc.{Accounts, Permissions} alias Accounts.{User, Role, UserRole, Account, PhoneNumber, PhoneNumberLabel} alias Permissions.{Permission, PermissionRole} alias UccChat.{Subscription, Message, Channel} Message.delete_all Subscription.delete_all Channel.delete_all Repo.delete_all PhoneNumberLa...
25.823529
103
0.714882
7a1a6a1b06237283660d2a37d2628ffe5da8b8d7
49
exs
Elixir
test/instagram_test.exs
yuki-toida/instagram
5c36b691a38bd47fadeda5a22c1f0008b028e676
[ "MIT" ]
null
null
null
test/instagram_test.exs
yuki-toida/instagram
5c36b691a38bd47fadeda5a22c1f0008b028e676
[ "MIT" ]
null
null
null
test/instagram_test.exs
yuki-toida/instagram
5c36b691a38bd47fadeda5a22c1f0008b028e676
[ "MIT" ]
null
null
null
defmodule InstagramTest do use ExUnit.Case end
12.25
26
0.816327
7a1a780c93d89e871baea1bf46545561886aae68
424
exs
Elixir
test/models/vote_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
523
2017-03-15T15:21:11.000Z
2022-03-14T03:04:18.000Z
test/models/vote_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
524
2017-03-16T18:31:09.000Z
2022-02-26T10:02:06.000Z
test/models/vote_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
60
2017-05-01T18:02:28.000Z
2022-03-04T21:04:56.000Z
defmodule RemoteRetro.VoteTest do use RemoteRetro.DataCase, async: true alias RemoteRetro.Vote test "user_id and idea_id are required" do changeset = Vote.changeset(%Vote{}) {user_id_error, _} = Keyword.fetch!(changeset.errors, :user_id) {idea_id_error, _} = Keyword.fetch!(changeset.errors, :idea_i...
26.5
67
0.714623
7a1a7eec4e5ebea4b6742d9550f3c7648ac210ea
222
ex
Elixir
lib/membrane/bin/callback_context/notification.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
515
2018-06-18T11:09:44.000Z
2020-07-31T07:54:35.000Z
lib/membrane/bin/callback_context/notification.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
120
2018-06-07T08:34:06.000Z
2020-07-30T07:09:50.000Z
lib/membrane/bin/callback_context/notification.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
13
2018-07-27T11:58:15.000Z
2020-05-06T15:19:55.000Z
defmodule Membrane.Bin.CallbackContext.Notification do @moduledoc """ Structure representing a context that is passed to the callback when bin receives notification. """ use Membrane.Core.Bin.CallbackContext end
27.75
70
0.788288
7a1a8239c0b1aca512ba4dfb267f50d1c154b2b2
2,258
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/search_organizations_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/search_organizations_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/search_organizations_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 ...
41.054545
180
0.750664
7a1aa1f551b3f6e7b40b99e92208719c20620b9e
698
exs
Elixir
config/prod.secret.exs
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "MIT" ]
null
null
null
config/prod.secret.exs
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "MIT" ]
null
null
null
config/prod.secret.exs
chrisfishwood/shopping_list
4ac312ac3e70e901ae8ff09814c5cc1763132a80
[ "MIT" ]
null
null
null
use Mix.Config # In this file, we keep production configuration that # you likely want to automate and keep it away from # your version control system. # # You should document the content of this # file or create a script for recreating it, since it's # kept out of version control and might be hard to recover # or rec...
33.238095
85
0.782235
7a1ab04ebfc7e1e1b3796ffdb1b6adb858b683db
2,124
ex
Elixir
test/support/factory.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/support/factory.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/support/factory.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
defmodule Crit.Factory do use ExMachina.Ecto, repo: Crit.Repo use Crit.Global.Constants alias Crit.Users.{User,PermissionList} alias Crit.Setup.Schemas.{Animal,ServiceGap,Procedure} alias Crit.Sql alias Crit.Exemplars alias Ecto.Datespan require Faker def sql_insert!(tag, opts \\ [], institution) do ...
24.697674
64
0.656309
7a1ac02a2ba2e7b4efb84ca10c92b201cdfbd534
3,752
exs
Elixir
mix.exs
Orijhins/swoosh
8d0046667467e10e35ade9e46a4b1f122c651951
[ "MIT" ]
null
null
null
mix.exs
Orijhins/swoosh
8d0046667467e10e35ade9e46a4b1f122c651951
[ "MIT" ]
null
null
null
mix.exs
Orijhins/swoosh
8d0046667467e10e35ade9e46a4b1f122c651951
[ "MIT" ]
null
null
null
defmodule Swoosh.Mixfile do use Mix.Project @source_url "https://github.com/swoosh/swoosh" @version "1.5.0" def project do [ app: :swoosh, version: @version, elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), consolidate_protocols: Mix.env() != :test, build_emb...
24.051282
85
0.529851
7a1adab1366e815300eb3177ba26e5bf0bb308a4
2,156
ex
Elixir
lib/kantan_cluster/node_connector.ex
mnishiguchi/kantan_cluster
7398a64f003d38c2fd9674a17dcde0c72053ba2a
[ "MIT" ]
2
2021-10-30T02:37:28.000Z
2021-10-31T12:43:24.000Z
lib/kantan_cluster/node_connector.ex
mnishiguchi/kantan_cluster
7398a64f003d38c2fd9674a17dcde0c72053ba2a
[ "MIT" ]
1
2022-01-09T03:50:16.000Z
2022-01-10T02:46:55.000Z
lib/kantan_cluster/node_connector.ex
mnishiguchi/kantan_cluster
7398a64f003d38c2fd9674a17dcde0c72053ba2a
[ "MIT" ]
null
null
null
defmodule KantanCluster.NodeConnector do @moduledoc false # When a server is unneeded, we want to stop it immediately. use GenServer, restart: :transient require Logger @polling_interval_ms :timer.seconds(5) ## API @doc """ Connects to a specified node and start monitoring it. """ @spec start_l...
25.364706
82
0.678571
7a1af06f081d6a824976a38ad49b338a8862246b
3,433
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/model/change_plan_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/change_plan_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/change_plan_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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...
58.186441
594
0.737547
7a1b24161eaceda838926df3f499df63690c05ae
1,133
exs
Elixir
config/config.exs
fhunleth/psk_maker
cfcb6270badefea373cce0cb7f7c33a87d86fecd
[ "Apache-2.0" ]
1
2019-03-21T04:19:20.000Z
2019-03-21T04:19:20.000Z
config/config.exs
fhunleth/psk_maker
cfcb6270badefea373cce0cb7f7c33a87d86fecd
[ "Apache-2.0" ]
null
null
null
config/config.exs
fhunleth/psk_maker
cfcb6270badefea373cce0cb7f7c33a87d86fecd
[ "Apache-2.0" ]
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.548387
73
0.751986
7a1b509bdbec83bff6c192f04817f81f7f3dc6f7
5,859
ex
Elixir
lib/rabbit/topology/server.ex
nsweeting/rabb
0112269d6767bc669e4dbd2d3bc84d938ecd2cf2
[ "MIT" ]
36
2019-06-05T02:27:11.000Z
2022-02-27T22:01:27.000Z
lib/rabbit/topology/server.ex
nsweeting/rabb
0112269d6767bc669e4dbd2d3bc84d938ecd2cf2
[ "MIT" ]
41
2019-06-06T07:50:20.000Z
2021-08-02T10:18:08.000Z
lib/rabbit/topology/server.ex
nsweeting/rabb
0112269d6767bc669e4dbd2d3bc84d938ecd2cf2
[ "MIT" ]
2
2021-01-13T16:13:05.000Z
2021-04-09T13:22:19.000Z
defmodule Rabbit.Topology.Server do @moduledoc false use GenServer import Rabbit.Utilities require Logger @exchange_schema %{ name: [type: :binary, required: true], type: [type: :atom, required: true, default: :direct], durable: [type: :boolean, required: true, default: false], passive: [t...
29.741117
90
0.608466
7a1b6c64785e151c3e3042f179e74ab3c22ab996
2,741
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/grid_data.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/grid_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/grid_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 "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 ...
42.828125
183
0.714338
7a1b808dd0f3b1adeca432abcf6092e12cac1fac
11,091
ex
Elixir
lib/kafka_ex/server_0_p_8_p_2.ex
surgeventures/kafka_ex
e8ca36dd2de4c107a40db4ed5c388dc9523dac01
[ "MIT" ]
null
null
null
lib/kafka_ex/server_0_p_8_p_2.ex
surgeventures/kafka_ex
e8ca36dd2de4c107a40db4ed5c388dc9523dac01
[ "MIT" ]
null
null
null
lib/kafka_ex/server_0_p_8_p_2.ex
surgeventures/kafka_ex
e8ca36dd2de4c107a40db4ed5c388dc9523dac01
[ "MIT" ]
null
null
null
defmodule KafkaEx.Server0P8P2 do @moduledoc """ Implements KafkaEx.Server behaviors for kafka >= 0.8.2 < 0.9.0 API. """ # these functions aren't implemented for 0.8.2 @dialyzer [ {:nowarn_function, kafka_server_heartbeat: 3}, {:nowarn_function, kafka_server_sync_group: 3}, {:nowarn_function, kafk...
29.110236
109
0.672888
7a1b8fefbd2a4d31cc2797d9365f778c78fbb910
3,082
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/endpoint.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/endpoint.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/endpoint.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...
58.150943
869
0.747242
7a1b9a472f698319d8708210da3538a53c7ec5ee
595
exs
Elixir
mix.exs
4bakker/amadeus
4663bc341bc1435ec9bda1fa65ae2dccbc12aa4e
[ "MIT" ]
null
null
null
mix.exs
4bakker/amadeus
4663bc341bc1435ec9bda1fa65ae2dccbc12aa4e
[ "MIT" ]
null
null
null
mix.exs
4bakker/amadeus
4663bc341bc1435ec9bda1fa65ae2dccbc12aa4e
[ "MIT" ]
null
null
null
defmodule Amadeus.MixProject do use Mix.Project def project do [ app: :amadeus, version: "0.1.0", elixir: "~> 1.13", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_ap...
19.833333
59
0.557983
7a1bb042d8714d8f0ab7ab8b75549595f7949a85
891
ex
Elixir
lib/conjunction.ex
dustinspecker/conjunction
c8165bdc511889017adef2f4da4073b99fee1461
[ "MIT" ]
2
2016-12-25T14:33:11.000Z
2017-02-01T13:19:22.000Z
lib/conjunction.ex
dustinspecker/conjunction
c8165bdc511889017adef2f4da4073b99fee1461
[ "MIT" ]
null
null
null
lib/conjunction.ex
dustinspecker/conjunction
c8165bdc511889017adef2f4da4073b99fee1461
[ "MIT" ]
null
null
null
defmodule Conjunction do @doc ~S""" Combine a list of strings with a conjunction ## Examples iex> Conjunction.join([]) "" iex> Conjunction.join(["red"]) "red" iex> Conjunction.join(["red", "blue"]) "red and blue" iex> Conjunction.join(["red", "blue"], "or") "re...
22.846154
59
0.546577
7a1bd84d3a5a1f2df979f961aadc88acfc89b80a
2,310
ex
Elixir
lib/randex.ex
ananthakumaran/randex
3e3783e00cba625c5354638248f82ae84e8c2941
[ "MIT" ]
10
2018-09-23T07:44:26.000Z
2021-11-04T05:50:21.000Z
lib/randex.ex
ananthakumaran/randex
3e3783e00cba625c5354638248f82ae84e8c2941
[ "MIT" ]
null
null
null
lib/randex.ex
ananthakumaran/randex
3e3783e00cba625c5354638248f82ae84e8c2941
[ "MIT" ]
null
null
null
defmodule Randex do @moduledoc """ Randex is a regex based random string generator. ## Example ```elixir iex(1)> Randex.stream(~r/(1[0-2]|0[1-9])(:[0-5]\d){2} (A|P)M/) |> Enum.take(10) ["10:53:29 AM", "02:54:11 AM", "09:23:04 AM", "10:41:57 AM", "11:42:13 AM", "10:27:37 AM", "06:15:18 AM", "03:09:58 AM"...
31.216216
234
0.661039
7a1c1590e4174099ad87f72da3c9231fed688cce
4,323
exs
Elixir
test/view_helpers_test.exs
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
1,347
2016-07-04T23:20:10.000Z
2022-02-10T20:10:48.000Z
test/view_helpers_test.exs
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
378
2016-07-06T16:30:28.000Z
2021-09-16T13:34:05.000Z
test/view_helpers_test.exs
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
276
2016-07-06T20:26:17.000Z
2021-12-06T19:32:41.000Z
defmodule CoherenceTestWeb.ViewHelpers do use TestCoherence.ConnCase import Plug.Conn alias TestCoherenceWeb.ViewHelpers alias TestCoherence.User import Phoenix.HTML, only: [safe_to_string: 1] @recover_link "Forgot your password?" @unlock_link "Send an unlock email" @register_link "Need An Account?" ...
33.773438
99
0.667823
7a1c4ccfd929056ada3aa29fb50af600b41da917
1,382
ex
Elixir
Benchmarks/Taylor-3D-Fine/Curves.ex
pantale/abaqusVumat
3be9d7edcdc495b1d35594b1c6ef9cbaeb74a8ab
[ "BSD-3-Clause" ]
19
2019-12-22T16:24:18.000Z
2022-02-28T01:15:36.000Z
Benchmarks/Taylor-3D-Fine/Curves.ex
pantale/abaqusVumat
3be9d7edcdc495b1d35594b1c6ef9cbaeb74a8ab
[ "BSD-3-Clause" ]
null
null
null
Benchmarks/Taylor-3D-Fine/Curves.ex
pantale/abaqusVumat
3be9d7edcdc495b1d35594b1c6ef9cbaeb74a8ab
[ "BSD-3-Clause" ]
19
2019-12-22T16:24:19.000Z
2022-03-14T15:08:55.000Z
# Global parameters Parameters, xrange=7, xname=$Elongation\ of\ the\ end\ of\ the\ bar\ (mm)$, marksnumber=15, title=$Bar\ Necking\ Benchmark\ Test$, crop=True # Temperature curve Temperature, yname=$Temperature\ in\ ^{\circ}C$, legendlocate=bottomright, removename=-temp, Taylor_VA_temp.plot, Taylor_VN_temp.plot, Tay...
65.809524
248
0.804631
7a1cb7e408b455baa4f92b2a61e9379f504051b7
4,440
ex
Elixir
lib/petal_components/badge.ex
thomasbrus/petal_components
e862861d10ff53e4e6e515183e2c635f2fbbc938
[ "MIT" ]
null
null
null
lib/petal_components/badge.ex
thomasbrus/petal_components
e862861d10ff53e4e6e515183e2c635f2fbbc938
[ "MIT" ]
null
null
null
lib/petal_components/badge.ex
thomasbrus/petal_components
e862861d10ff53e4e6e515183e2c635f2fbbc938
[ "MIT" ]
null
null
null
defmodule PetalComponents.Badge do use Phoenix.Component # prop label, :string # prop size, :string, options: ["xs", "sm", "md", "lg", "xl"] # prop variant, :string # prop color, :string, options: ["primary", "secondary", "info", "success", "warning", "danger", "gray"] # prop class, :string def badge(ass...
29.210526
114
0.60991
7a1cd56f500d1e6319e45ae2d17b27793408460f
1,495
ex
Elixir
code/otp-supervisor/duper/lib/duper/results.ex
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/otp-supervisor/duper/lib/duper/results.ex
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/otp-supervisor/duper/lib/duper/results.ex
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
23.730159
85
0.628094
7a1ce2e79c0ddc66b44267055de3dfe3455375ac
5,064
ex
Elixir
lib/utils.ex
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
3
2019-04-18T15:36:50.000Z
2021-01-19T04:38:48.000Z
lib/utils.ex
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
null
null
null
lib/utils.ex
areski/excdr-pusher
45389e29ab97d11585f22fe29fd7da54d9f31ef8
[ "MIT" ]
3
2017-08-15T10:43:40.000Z
2018-11-06T09:12:49.000Z
defmodule ExCdrPusher.Utils do @moduledoc """ This module contains a misc of useful functions """ @doc ~S""" Convert to int and default to 0 ## Example iex> ExCdrPusher.Utils.convert_int(nil, 6) 6 iex> ExCdrPusher.Utils.convert_int("", 6) 6 iex> ExCdrPusher.Utils.convert_int(12, 6) ...
25.447236
87
0.648697
7a1d3a5766ca8d0e0181a45442c57b20f3d0aa3e
356
ex
Elixir
lib/darkskyx/utils.ex
adherr/darkskyx
f1bc895893c97c858228f8e658ccc8b485661b31
[ "Apache-2.0" ]
16
2016-10-03T23:04:33.000Z
2020-03-04T17:54:43.000Z
lib/darkskyx/utils.ex
adherr/darkskyx
f1bc895893c97c858228f8e658ccc8b485661b31
[ "Apache-2.0" ]
9
2018-01-07T12:13:42.000Z
2020-04-12T23:38:26.000Z
lib/darkskyx/utils.ex
adherr/darkskyx
f1bc895893c97c858228f8e658ccc8b485661b31
[ "Apache-2.0" ]
3
2018-01-07T11:20:42.000Z
2018-08-22T20:05:38.000Z
defmodule Darkskyx.Utils do @moduledoc false def api_key, do: Application.get_env(:darkskyx, :api_key) def defaults, do: :darkskyx |> Application.get_env(:defaults) |> Enum.into(%{}) def user_agent, do: [{"User-agent", "Darkskyx"}] def compression, do: [{"Content-Encoding", "gzip"}] def request_headers, do...
35.6
81
0.699438
7a1d61bf18640fab7ea8223e0158cf7492af4c6d
14,944
exs
Elixir
apps/language_server/test/providers/formatting_test.exs
elsifaka/elixir-ls
e37d142c7768800be7e3c0e6ba339e1dd3b1e18d
[ "Apache-2.0" ]
null
null
null
apps/language_server/test/providers/formatting_test.exs
elsifaka/elixir-ls
e37d142c7768800be7e3c0e6ba339e1dd3b1e18d
[ "Apache-2.0" ]
null
null
null
apps/language_server/test/providers/formatting_test.exs
elsifaka/elixir-ls
e37d142c7768800be7e3c0e6ba339e1dd3b1e18d
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Providers.FormattingTest do use ElixirLS.Utils.MixTest.Case, async: false import ElixirLS.LanguageServer.Test.PlatformTestHelpers alias ElixirLS.LanguageServer.Providers.Formatting alias ElixirLS.LanguageServer.Protocol.TextEdit alias ElixirLS.LanguageServer.SourceFile alia...
28.519084
219
0.464133
7a1d6b73e6508ee7faf977f96214c594f290d5e0
576
ex
Elixir
apps/api/lib/api/v1/views/block_view.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/api/lib/api/v1/views/block_view.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/api/lib/api/v1/views/block_view.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule API.V1.View.BlockView do @moduledoc """ Contain functions that serialize blocks into different format """ alias ExPlasma.Encoding @type serialized_block() :: %{ required(:blknum) => pos_integer(), required(:hash) => String.t(), required(:transactions) => [String.t()] ...
25.043478
79
0.631944
7a1da495b62015ebe3716d0ea4d549c062c510c6
662
ex
Elixir
kousa/lib/beef/room_permission.ex
yakohere/dogehouse
3df9602f3148f3b7613a6cf82d8d87c185f5daf9
[ "MIT" ]
1
2021-06-11T09:23:24.000Z
2021-06-11T09:23:24.000Z
kousa/lib/beef/room_permission.ex
agt25/dogehouse
6666028fa52b48f11bf64e60e859610dce2a3956
[ "MIT" ]
1
2021-04-19T16:54:48.000Z
2021-04-19T16:54:48.000Z
kousa/lib/beef/room_permission.ex
agt25/dogehouse
6666028fa52b48f11bf64e60e859610dce2a3956
[ "MIT" ]
null
null
null
defmodule Beef.RoomPermission do use Ecto.Schema import Ecto.Changeset @derive {Poison.Encoder, only: [:isSpeaker, :isMod, :askedToSpeak]} @primary_key false schema "room_permissions" do belongs_to(:user, Beef.User, foreign_key: :userId, type: :binary_id) belongs_to(:room, Beef.Room, foreign_key: :ro...
27.583333
73
0.696375
7a1dbe44714a16ad839c747de0936efcc8dc0fe3
9,461
ex
Elixir
lib/mango_pay/user.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
1
2020-04-07T22:17:25.000Z
2020-04-07T22:17:25.000Z
lib/mango_pay/user.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
17
2018-04-11T12:07:07.000Z
2019-03-18T21:33:18.000Z
lib/mango_pay/user.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
2
2018-05-15T12:41:46.000Z
2019-04-08T14:19:15.000Z
defmodule MangoPay.User do @moduledoc """ Functions for MangoPay [client](https://docs.mangopay.com/endpoints/v2.01/users#e253_the-user-object). """ use MangoPay.Query.Base set_path "users" @doc """ Get a user. ## Examples {:ok, user} = MangoPay.User.get(id) """ def get id do _get id ...
26.135359
109
0.506923
7a1dd4345d0c28fd9bb0107d8352e662e9a8ac29
553
exs
Elixir
test/views/error_view_test.exs
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
defmodule Book.ErrorViewTest do use Book.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(Book.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do asser...
25.136364
66
0.667269
7a1dda94d3c3fc49cb94c1d2e4a658b28c3a32ac
352
ex
Elixir
lib/hl7/2.4/datatypes/pl.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/datatypes/pl.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/datatypes/pl.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.DataTypes.Pl do @moduledoc false alias HL7.V2_4.{DataTypes} use HL7.DataType, fields: [ point_of_care: nil, room: nil, bed: nil, facility_hd: DataTypes.Hd, location_status: nil, person_location_type: nil, building: nil, floor: nil, loca...
19.555556
34
0.627841
7a1df9baa8a808397d465488e9f6ae12cdc323a4
680
ex
Elixir
lib/asciinema_web/controllers/doc_controller.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
1
2021-07-07T12:36:10.000Z
2021-07-07T12:36:10.000Z
lib/asciinema_web/controllers/doc_controller.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/doc_controller.ex
acloudiator/asciinema-server
f0afa4cb4312822f5dd56008b0c5ec9c7a410f85
[ "Apache-2.0" ]
null
null
null
defmodule AsciinemaWeb.DocController do use AsciinemaWeb, :controller alias AsciinemaWeb.{DocView, ErrorView} @topics ["how-it-works", "getting-started", "installation", "usage", "config", "embedding", "faq"] def index(conn, _params) do redirect conn, to: doc_path(conn, :show, :"getting-started") end ...
24.285714
100
0.652941
7a1dfc93aaf82b8cd37cc185b53be5fc7f333541
1,903
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1/model/rsa_key_type.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/private_ca/lib/google_api/private_ca/v1/model/rsa_key_type.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/private_ca/lib/google_api/private_ca/v1/model/rsa_key_type.ex
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...
38.06
246
0.7299
7a1e2c813b4f577d979ffcf7269a16849fe9fe97
1,393
ex
Elixir
lib/sandbox/sandbox.ex
Onlyhope/cable
e2c91e28e112d0724b1cfb88acfa096f6fcbb455
[ "MIT" ]
null
null
null
lib/sandbox/sandbox.ex
Onlyhope/cable
e2c91e28e112d0724b1cfb88acfa096f6fcbb455
[ "MIT" ]
null
null
null
lib/sandbox/sandbox.ex
Onlyhope/cable
e2c91e28e112d0724b1cfb88acfa096f6fcbb455
[ "MIT" ]
null
null
null
defmodule Sandbox do require Logger use Cable.Router def start_work(app_name) do Logger.info "Starting work..." Task.start_link(fn -> do_work(app_name) end) {:ok, self()} end def do_work(app_name) do Logger.info "#{app_name} doing work... for 2 ...
22.467742
61
0.535535
7a1e63d7d5d7db451632b313f1c8a458593426fe
1,233
ex
Elixir
lib/editor/actor.ex
nosovk/wms
c887fce7d23e8fc7846c6f1afaee0795c3e30a87
[ "ISC" ]
8
2019-08-02T01:50:01.000Z
2021-12-20T07:33:27.000Z
lib/editor/actor.ex
nosovk/wms
c887fce7d23e8fc7846c6f1afaee0795c3e30a87
[ "ISC" ]
12
2019-07-08T14:21:01.000Z
2019-07-22T12:58:09.000Z
lib/editor/actor.ex
enterprizing/plm
5f03461f7f07586e26f3b370775539d94dac2188
[ "0BSD" ]
4
2019-07-23T12:28:47.000Z
2021-11-29T12:49:37.000Z
defmodule BPE.Forms.Create do use N2O, with: [:n2o, :nitro] use FORM, with: [:form] use KVS require Logger def doc(), do: "Dialog for creation of BPE processes." def id(), do: {:pi, []} def new(name, {:pi, _code}) do document( name: FORM.atom([:pi, name]), sections: [sec(name: "New proce...
24.66
74
0.463098
7a1e777357ab4b30228bfc84d83dbb452df4a3d1
23,048
ex
Elixir
lib/wechat.ex
edragonconnect/elixir_wechat
b41e32bec591e32a68b3f475ffb25689cff4103f
[ "MIT" ]
12
2019-03-07T01:34:12.000Z
2021-09-11T06:40:29.000Z
lib/wechat.ex
edragonconnect/elixir_wechat
b41e32bec591e32a68b3f475ffb25689cff4103f
[ "MIT" ]
6
2019-10-12T10:48:07.000Z
2021-03-03T07:06:34.000Z
lib/wechat.ex
edragonconnect/elixir_wechat
b41e32bec591e32a68b3f475ffb25689cff4103f
[ "MIT" ]
5
2019-03-07T01:34:31.000Z
2021-01-06T08:01:51.000Z
defmodule WeChat do @moduledoc """ The link to WeChat Official Account Platform API document in [Chinese](https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Overview.html){:target="_blank"} | [English](https://developers.weixin.qq.com/doc/offiaccount/en/Getting_Started/Overview.html){:target="_blank"}...
32.507757
344
0.659146
7a1ecf8a0e1f00e79ca89fecd492beb936576796
1,201
ex
Elixir
lib/nomad_client/model/node_reserved_resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
lib/nomad_client/model/node_reserved_resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
lib/nomad_client/model/node_reserved_resources.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule NomadClient.Model.NodeReservedResources do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :CPU, :Memory, :Disk, :Ne...
32.459459
95
0.71607
7a1f0a94afe2795872087c62da1e7baf8621137e
1,635
exs
Elixir
test/stellar/base_test.exs
revelrylabs/elixir-stellar-client
5866fc43fdc86260e0719a4764e8dd9327ef4731
[ "MIT" ]
25
2018-01-23T13:56:28.000Z
2021-11-08T08:10:53.000Z
test/stellar/base_test.exs
revelrylabs/elixir-stellar-client
5866fc43fdc86260e0719a4764e8dd9327ef4731
[ "MIT" ]
91
2018-01-30T20:10:44.000Z
2022-01-12T19:50:24.000Z
test/stellar/base_test.exs
revelrylabs/elixir-stellar-client
5866fc43fdc86260e0719a4764e8dd9327ef4731
[ "MIT" ]
5
2018-04-17T15:08:26.000Z
2019-08-07T19:08:49.000Z
defmodule Stellar.Base.Test do use Stellar.HttpCase alias Stellar.Base describe "get_network_url" do test "returns test network when :test specified" do assert Base.get_network_url(:test) == "https://horizon-testnet.stellar.org" end test "returns public network when :public specified" do ...
29.727273
114
0.640979
7a1f0aa5158f2426b99818f0e92fc33222f2d56b
780
ex
Elixir
web/router.ex
shanethacker/reference_graphql
189b86752cd859bbc0a51cd485940c0f5a29ddd6
[ "MIT" ]
null
null
null
web/router.ex
shanethacker/reference_graphql
189b86752cd859bbc0a51cd485940c0f5a29ddd6
[ "MIT" ]
null
null
null
web/router.ex
shanethacker/reference_graphql
189b86752cd859bbc0a51cd485940c0f5a29ddd6
[ "MIT" ]
null
null
null
defmodule ReferenceGraphql.Router do use ReferenceGraphql.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Referen...
22.285714
76
0.702564
7a1f264a7867947eb31af1315b29cd92b258c226
3,563
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/campaign.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/campaign.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/campaign.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...
44.5375
161
0.703621
7a1f2be33e85f190309560cb1d8242b41f259475
568
exs
Elixir
test/views/error_view_test.exs
napcs/realtime_phoenix
7aa5c5c6f9b474459d9550f3e80f5a1e5d5c07af
[ "MIT" ]
3
2015-09-13T02:54:15.000Z
2016-11-22T02:15:18.000Z
test/views/error_view_test.exs
napcs/realtime_phoenix
7aa5c5c6f9b474459d9550f3e80f5a1e5d5c07af
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
napcs/realtime_phoenix
7aa5c5c6f9b474459d9550f3e80f5a1e5d5c07af
[ "MIT" ]
null
null
null
defmodule Typepad.ErrorViewTest do use Typepad.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(Typepad.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do ...
25.818182
66
0.676056
7a1f421377b8e59ccc71aab3d471aef3f5d08a33
288
exs
Elixir
apps/api_web/test/api_web/controllers/modified_headers_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/api_web/test/api_web/controllers/modified_headers_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/api_web/test/api_web/controllers/modified_headers_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule ApiWeb.ModifiedHeadersTest do use ApiWeb.ConnCase test "modified headers are added to the response", %{conn: conn} do State.Stop.new_state([%Model.Stop{}]) conn = get(conn, stop_path(conn, :index)) assert [_] = get_resp_header(conn, "last-modified") end end
26.181818
69
0.704861
7a1f63e8a0777982e934423a97a8496f5aebc1f1
1,248
exs
Elixir
2017/11/grid_two.exs
bbridges/advent
f2724f39ca82aa3d2a6f3de7a6ea91222d511e00
[ "MIT" ]
null
null
null
2017/11/grid_two.exs
bbridges/advent
f2724f39ca82aa3d2a6f3de7a6ea91222d511e00
[ "MIT" ]
null
null
null
2017/11/grid_two.exs
bbridges/advent
f2724f39ca82aa3d2a6f3de7a6ea91222d511e00
[ "MIT" ]
null
null
null
defmodule GridTwo do def get_farthest([]), do: 0 def get_farthest(list) do max(get_count(list), get_farthest(Enum.drop list, -1)) end def get_count(list) do # Trying three different coordinate systems and seeing which one # gives the shortest distance Enum.min([ _get_count(list, fn ...
23.54717
68
0.440705
7a1f82fa25c8a38e30485354d48268b9eb02e89d
9,819
ex
Elixir
lib/ex_unit/lib/ex_unit/runner.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/ex_unit/lib/ex_unit/runner.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule ExUnit.Runner do @moduledoc false alias ExUnit.EventManager, as: EM def run(opts, load_us) do {opts, config} = configure(opts) :erlang.system_flag(:backtrace_depth, Keyword.fetch!(opts, :stacktrace_depth)) {run_us, _} = :timer.tc fn -> EM.suite_start...
27.974359
109
0.608718
7a1f85d5257c9216486b58a0237f1c49fdc80a42
74
exs
Elixir
test/test_helper.exs
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
1
2016-02-23T11:31:18.000Z
2016-02-23T11:31:18.000Z
test/test_helper.exs
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
test/test_helper.exs
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(BalanceSheet.Repo, :manual)
14.8
58
0.797297
7a1fd724a2211c0fdd37a92d1a14369882d56c4c
975
exs
Elixir
mix.exs
zumatande/canary
f08dc312f9eeadb4b471d206bb92b8bd5c30d4d2
[ "MIT" ]
null
null
null
mix.exs
zumatande/canary
f08dc312f9eeadb4b471d206bb92b8bd5c30d4d2
[ "MIT" ]
null
null
null
mix.exs
zumatande/canary
f08dc312f9eeadb4b471d206bb92b8bd5c30d4d2
[ "MIT" ]
null
null
null
defmodule Canary.Mixfile do use Mix.Project def project do [app: :canary, version: "1.1.1", elixir: "~> 1.2", package: package(), description: """ An authorization library to restrict what resources the current user is allowed to access, and load those resources for you. """,...
22.674419
76
0.54359
7a1ff80aaa853a5733342ad9bb66b18f6829c5c6
3,323
exs
Elixir
test/pco_api/people/tab_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
4
2016-05-13T20:04:32.000Z
2020-12-03T11:25:01.000Z
test/pco_api/people/tab_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
23
2016-05-14T01:34:02.000Z
2016-08-16T22:34:40.000Z
test/pco_api/people/tab_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
4
2016-05-27T23:40:39.000Z
2019-10-06T17:36:40.000Z
defmodule PcoApi.People.TabTest do use ExUnit.Case doctest PcoApi.People.Tab alias PcoApi.People.Tab alias TestHelper.Fixture setup do bypass = Bypass.open Application.put_env(:pco_api, :endpoint_base, "http://localhost:#{bypass.port}/") {:ok, bypass: bypass} end test ".list requests the v2 ...
33.565657
129
0.662654
7a1ff97403c6de19dc364c5ab0fd8c28d2c38cab
998
ex
Elixir
web/views/error_helpers.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
defmodule Colorstorm.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # Because error messages were defined within Ecto, we must # call the Gettext module passin...
33.266667
76
0.672345
7a20171e4476dc39edeedca33174c09e061ff477
529
ex
Elixir
lib/accent/schemas/translation_comments_subscription.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/accent/schemas/translation_comments_subscription.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/accent/schemas/translation_comments_subscription.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.TranslationCommentsSubscription do use Accent.Schema schema "translation_comments_subscriptions" do belongs_to(:user, Accent.User) belongs_to(:translation, Accent.Translation) timestamps() end @required_fields [ :user_id, :translation_id ] def changeset(model, params)...
24.045455
103
0.750473
7a20a13e9349a3e675d4704ce0c8e3337340bff2
583
ex
Elixir
lib/trento/application/usecases/sap_systems/dto/health_summary_dto.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
lib/trento/application/usecases/sap_systems/dto/health_summary_dto.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
lib/trento/application/usecases/sap_systems/dto/health_summary_dto.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.Application.UseCases.SapSystems.HealthSummaryDto do @moduledoc """ HealthSummary for SAP Systems """ @required_fields :all use Trento.Type deftype do field :id, :string field :sid, :string field :sapsystem_health, Ecto.Enum, values: [:passing, :warning, :critical, :unknown] ...
30.684211
89
0.708405
7a20adfd3c91ebef4e4131e8649e47cb21d6550d
7,413
exs
Elixir
test/slack/state_test.exs
jokawachi-hg/Elixir-Slack
342f63f3b75b64ea43328277d568a4ba3c5e3977
[ "MIT" ]
657
2015-01-05T21:56:30.000Z
2022-03-28T12:56:47.000Z
test/slack/state_test.exs
jokawachi-hg/Elixir-Slack
342f63f3b75b64ea43328277d568a4ba3c5e3977
[ "MIT" ]
214
2015-02-15T18:06:20.000Z
2022-02-21T21:15:53.000Z
test/slack/state_test.exs
jokawachi-hg/Elixir-Slack
342f63f3b75b64ea43328277d568a4ba3c5e3977
[ "MIT" ]
207
2015-02-26T23:24:36.000Z
2022-02-27T21:53:57.000Z
defmodule Slack.StateTest do use ExUnit.Case alias Slack.State test "channel_joined sets is_member to true" do new_slack = State.update( %{type: "channel_joined", channel: %{id: "123", members: ["123456", "654321"]}}, slack() ) assert new_slack.channels["123"].is_member == tr...
23.093458
88
0.542695
7a20c51b2ab2a4358ea2f419cdaf6242a2f5a2da
1,362
exs
Elixir
test/ex_plasma/output/types/abstract_payment/abstract_payment_validator_test.exs
omisego/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
6
2019-11-15T13:34:24.000Z
2020-03-02T11:38:01.000Z
test/ex_plasma/output/types/abstract_payment/abstract_payment_validator_test.exs
omisego/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
34
2019-11-20T03:33:22.000Z
2020-05-27T18:40:10.000Z
test/ex_plasma/output/types/abstract_payment/abstract_payment_validator_test.exs
omisego/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
6
2020-06-02T19:00:36.000Z
2021-08-19T11:06:33.000Z
defmodule ExPlasma.Output.Type.AbstractPayment.ValidatorTest do @moduledoc false use ExUnit.Case, async: true alias ExPlasma.Output.Type.AbstractPayment.Validator describe "validate_amount/1" do test "returns :ok when valid" do assert Validator.validate_amount(1000) == :ok end test "returns...
30.266667
102
0.690162
7a20cafb43ba3088a43366d8138713d48a5a4e67
8
ex
Elixir
testData/org/elixir_lang/parser_definition/atom_dot_operation_parsing_test_case/List.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/atom_dot_operation_parsing_test_case/List.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/atom_dot_operation_parsing_test_case/List.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
:atom.[]
8
8
0.5
7a20cce84950938fd22c07a7607e4a81c475d585
44,594
exs
Elixir
test/ecto/adapters/postgres_test.exs
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
test/ecto/adapters/postgres_test.exs
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
test/ecto/adapters/postgres_test.exs
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../integration_test/support/types.exs", __DIR__ defmodule Ecto.Adapters.PostgresTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Queryable alias Ecto.Adapters.Postgres.Connection, as: SQL defmodule Schema do use Ecto.Schema schema "schema" do field ...
44.108803
156
0.588599
7a20d408d05ff19c9ceb12c0ff11898073add431
4,131
exs
Elixir
test/cocktail/minutely_test.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
null
null
null
test/cocktail/minutely_test.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
1
2020-11-12T10:04:27.000Z
2020-11-12T10:13:29.000Z
test/cocktail/minutely_test.exs
camelohq/cocktail
9b25d8f24d148397be6537ab1414abdbdec1ce8d
[ "MIT" ]
2
2020-08-03T12:03:39.000Z
2020-11-11T14:36:45.000Z
defmodule Cocktail.MinutelyTest do use ExUnit.Case alias Cocktail.Schedule import Cocktail.TestSupport.DateTimeSigil test "Minutely" do times = ~Y[2017-01-01 06:00:00 PST] |> Cocktail.schedule() |> Schedule.add_recurrence_rule(:minutely) |> Cocktail.Schedule.occurrences() |>...
30.375
105
0.523844
7a20d64935575c5b13179839ebf23b83fd30cd9c
4,262
exs
Elixir
test/cadet/jobs/autograder/result_store_worker_test.exs
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
test/cadet/jobs/autograder/result_store_worker_test.exs
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
test/cadet/jobs/autograder/result_store_worker_test.exs
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule Cadet.Autograder.ResultStoreWorkerTest do use Cadet.DataCase import ExUnit.CaptureLog alias Cadet.Assessments.Answer alias Cadet.Autograder.ResultStoreWorker setup do answer = insert(:answer, %{question: insert(:question), submission: insert(:submission)}) success_no_errors = %{status: :s...
28.413333
93
0.513609
7a20e594e8fc8b47be964c8a558a025c0eeb6d15
1,084
ex
Elixir
test/support/conn_case.ex
soarpatriot/cloud
07b19fc9c02da59b3eb3a75c42e61965ad2128cb
[ "MIT" ]
null
null
null
test/support/conn_case.ex
soarpatriot/cloud
07b19fc9c02da59b3eb3a75c42e61965ad2128cb
[ "MIT" ]
null
null
null
test/support/conn_case.ex
soarpatriot/cloud
07b19fc9c02da59b3eb3a75c42e61965ad2128cb
[ "MIT" ]
null
null
null
defmodule Cloud.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build and query models. Finally, if the test case interacts with the datab...
24.088889
67
0.701107
7a20ecab175c4b5cc1a981c9b0ad121955b3ad49
257
ex
Elixir
lib/apothecary.ex
mbgardner/apothecary
e3392732c1ff7645c36b6aa3b53a012b6d352e14
[ "MIT" ]
null
null
null
lib/apothecary.ex
mbgardner/apothecary
e3392732c1ff7645c36b6aa3b53a012b6d352e14
[ "MIT" ]
null
null
null
lib/apothecary.ex
mbgardner/apothecary
e3392732c1ff7645c36b6aa3b53a012b6d352e14
[ "MIT" ]
null
null
null
defmodule Apothecary do @moduledoc """ Apothecary keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.7
66
0.758755
7a21088b872e49cf5cfcbcbfc5aaba64bd103f87
672
ex
Elixir
lib/sandwar.ex
DarkMarmot/sandwar
48d5a4b18e313b055f93088355fb0cf6685c836c
[ "Apache-2.0" ]
6
2019-08-30T17:40:40.000Z
2020-11-10T18:59:27.000Z
lib/sandwar.ex
DarkMarmot/sandwar
48d5a4b18e313b055f93088355fb0cf6685c836c
[ "Apache-2.0" ]
2
2021-03-09T12:39:20.000Z
2021-05-10T02:44:45.000Z
lib/sandwar.ex
DarkMarmot/sandwar
48d5a4b18e313b055f93088355fb0cf6685c836c
[ "Apache-2.0" ]
null
null
null
defmodule Sandwar do @moduledoc """ Sandwar 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. """ def render_number(number, digits) do :erlang.float_to_binary(number...
25.846154
80
0.702381
7a2112bec8233c191c8813c1971b8f08a3b1ef34
1,845
ex
Elixir
daily_meals/lib/daily_meals_web/telemetry.ex
joabehenrique/daily-meals
ea8919a45dc155046289c96854348bd7ed89c1fb
[ "MIT" ]
null
null
null
daily_meals/lib/daily_meals_web/telemetry.ex
joabehenrique/daily-meals
ea8919a45dc155046289c96854348bd7ed89c1fb
[ "MIT" ]
null
null
null
daily_meals/lib/daily_meals_web/telemetry.ex
joabehenrique/daily-meals
ea8919a45dc155046289c96854348bd7ed89c1fb
[ "MIT" ]
null
null
null
defmodule DailyMealsWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Lea...
32.946429
86
0.676423
7a2125373085a1914dacb3bb943141fbc448b5e0
8,052
ex
Elixir
lib/iex/lib/iex/info.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/iex/lib/iex/info.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/info.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defprotocol IEx.Info do @fallback_to_any true @spec info(term) :: [{atom, String.t}] def info(term) end defimpl IEx.Info, for: Tuple do def info(_tuple) do ["Data type": "Tuple", "Reference modules": "Tuple"] end end defimpl IEx.Info, for: Atom do def info(atom) do specific_info = if Code.en...
28.252632
103
0.638102
7a21369aea43ce93fcdfb056385cbc404c30b2ac
462
exs
Elixir
test/better_big_canvas_web/views/error_view_test.exs
ChristianTovar/better-big-canvas
dd777ba83fed1e4c59ba92a25ee48cb7f0bf93e0
[ "MIT" ]
9
2021-02-25T19:58:34.000Z
2022-03-29T22:46:57.000Z
test/better_big_canvas_web/views/error_view_test.exs
ChristianTovar/better-big-canvas
dd777ba83fed1e4c59ba92a25ee48cb7f0bf93e0
[ "MIT" ]
3
2021-05-28T17:40:32.000Z
2021-06-07T16:31:58.000Z
test/better_big_canvas_web/views/error_view_test.exs
ChristianTovar/better-big-canvas
dd777ba83fed1e4c59ba92a25ee48cb7f0bf93e0
[ "MIT" ]
2
2021-02-25T19:58:39.000Z
2021-08-16T22:55:32.000Z
defmodule BetterBigCanvasWeb.ErrorViewTest do use BetterBigCanvasWeb.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(BetterBigCanvasWeb.ErrorView, "404.html", []) == "Not Found" end test "ren...
28.875
88
0.731602
7a213ac4916a75f1c9312fcd0c2494fe1b053c86
900
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.333333
74
0.763333
7a214eaad7e77c60e85181fe04091825edca21ae
2,213
ex
Elixir
lib/ecto/adapter/migration.ex
LostKobrakai/ecto_sql
99f3de33c48d6dee83346d971a448ec7e24cd6bf
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapter/migration.ex
LostKobrakai/ecto_sql
99f3de33c48d6dee83346d971a448ec7e24cd6bf
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapter/migration.ex
LostKobrakai/ecto_sql
99f3de33c48d6dee83346d971a448ec7e24cd6bf
[ "Apache-2.0" ]
1
2020-01-09T14:22:12.000Z
2020-01-09T14:22:12.000Z
defmodule Ecto.Adapter.Migration do @moduledoc """ Specifies the adapter migrations API. """ alias Ecto.Migration.Table alias Ecto.Migration.Index alias Ecto.Migration.Reference @type adapter_meta :: Ecto.Adapter.adapter_meta() @typedoc "All migration commands" @type command :: raw :: ...
33.029851
93
0.620877
7a2152a034e774ed88043ec1bc7722d63c5dd951
255
exs
Elixir
priv/repo/migrations/20170801134216_add_more_fields_to_assessment.exs
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20170801134216_add_more_fields_to_assessment.exs
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20170801134216_add_more_fields_to_assessment.exs
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
defmodule SourceAcademy.Repo.Migrations.AddMoreFieldsToAssessment do use Ecto.Migration def change do alter table(:assessments) do add :is_published, :boolean add :open_at, :timestamp add :close_at, :timestamp end end end
21.25
68
0.717647
7a216d702edd169e0d8aea51de92c71466c7a4d3
1,052
exs
Elixir
config/config.exs
csfalcione/open-submissions-api
b7af153ebe9c1a9bd487f7fc30a25007bdf2b9c3
[ "MIT" ]
7
2019-02-11T14:31:24.000Z
2021-12-28T08:15:00.000Z
config/config.exs
tblount/open-submissions-api
fb7395175e8079a659bc65ff7c5a7f1f4fc4b422
[ "MIT" ]
null
null
null
config/config.exs
tblount/open-submissions-api
fb7395175e8079a659bc65ff7c5a7f1f4fc4b422
[ "MIT" ]
2
2019-02-11T14:31:37.000Z
2021-12-28T08:15:01.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :open_submissions, ecto_repos: [OpenSub...
33.935484
86
0.781369
7a217531a22c4bab6fa9283b2948063b675edb9f
1,295
exs
Elixir
config/dev.exs
alissonfpmorais/discuss
ceac6d0fce7d534b5fa218d1247244d83b575d53
[ "MIT" ]
null
null
null
config/dev.exs
alissonfpmorais/discuss
ceac6d0fce7d534b5fa218d1247244d83b575d53
[ "MIT" ]
null
null
null
config/dev.exs
alissonfpmorais/discuss
ceac6d0fce7d534b5fa218d1247244d83b575d53
[ "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 brunch.io to recompile .js and .css sources. config :discuss, Discuss.Endpoint, http: [port: 4000]...
29.431818
73
0.692664
7a21798f0db10667408963967cd51f6e6ab282b5
9,527
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__video_annotation_results.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__video_annotation_results.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__video_annotation_results.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...
48.360406
248
0.74588
7a21931f232032e1fb9c8317835cd2b5c5b992a1
25,822
ex
Elixir
lib/nebulex/adapters/local.ex
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
null
null
null
lib/nebulex/adapters/local.ex
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
null
null
null
lib/nebulex/adapters/local.ex
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
null
null
null
defmodule Nebulex.Adapters.Local do @moduledoc ~S""" Adapter module for Local Generational Cache; inspired by [epocxy](https://github.com/duomark/epocxy). Generational caching using an ets table (or multiple ones when used with `:shards`) for each generation of cached data. Accesses hit the newer generatio...
31.683436
95
0.668306
7a21b295f4c3d8b1dd91dbef66cf33274db88d40
415
ex
Elixir
design/data_model_playground/lib/data_model_playground/commands/create_category.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
10
2017-06-28T08:06:52.000Z
2022-03-19T17:49:21.000Z
design/data_model_playground/lib/data_model_playground/commands/create_category.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
null
null
null
design/data_model_playground/lib/data_model_playground/commands/create_category.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
2
2017-10-21T12:01:02.000Z
2021-01-29T10:26:22.000Z
defmodule DataModelPlayground.Commands.CreateCategory do alias DataModelPlayground.{Category, Repo} defstruct [:title] def run(%__MODULE__{title: title}) do changeset = %Category{} |> Category.changeset(%{title: title}) case Repo.insert(changeset) do {:ok, category} -> {:ok, c...
20.75
56
0.636145
7a21b4b945028d3a420013b563b5c192fac72e2c
336
ex
Elixir
lib/conduit/support/validators/uuid.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
lib/conduit/support/validators/uuid.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
2
2022-01-15T02:09:30.000Z
2022-01-22T10:18:43.000Z
lib/conduit/support/validators/uuid.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
defmodule Conduit.Support.Validators.Uuid do use Vex.Validator def validate(value, _options) do Vex.Validators.By.validate(value, [function: &valid_uuid?/1, allow_nil: false, allow_blank: false]) end defp valid_uuid?(uuid) do case UUID.info(uuid) do {:ok, _} -> true {:error, _} -> false ...
22.4
103
0.669643
7a21bbbe8fa5ee0c271cad1505442b5947a4a731
702
exs
Elixir
test/one/loader_test.exs
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
test/one/loader_test.exs
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
test/one/loader_test.exs
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
defmodule ArkEcosystem.Client.LoaderTest do use ExUnit.Case import ArkEcosystem.Client.Loader @client ArkEcosystem.Client.new(%{ host: "https://dexplorer.ark.io:8443/api", nethash: "578e820911f24e039733b45e4882b73e301f813a0d2c31330dafda84534ffa23", version: "1.1.1" }...
24.206897
88
0.673789
7a21c1ddb5654b1c561bf98e2ab40633d89dc082
2,753
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/log_descriptor.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/log_descriptor.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/log_descriptor.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...
48.298246
303
0.741373
7a21f0800c8c16de576dfc59735a9aed25e72297
276
ex
Elixir
lib/rumbl_web/views/user_view.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
null
null
null
lib/rumbl_web/views/user_view.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
2
2021-03-09T19:04:16.000Z
2021-05-10T16:20:10.000Z
lib/rumbl_web/views/user_view.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
1
2020-07-17T14:48:52.000Z
2020-07-17T14:48:52.000Z
defmodule RumblWeb.UserView do use RumblWeb, :view alias Rumbl.Users.User def first_name(%User{name: name}) do name |> String.split(" ") |> Enum.at(0) end def render("user.json", %{user: user}) do %{id: user.id, username: user.username} end end
17.25
43
0.630435
7a2200cfaf5f1f0e44c8d2b22920472a15ff42c1
1,067
ex
Elixir
lib/ua_inspector/short_code_map/desktop_families.ex
Route-Now/ua_inspector
4e6ced73fc40b6e9947e0a1b0612d5517f343293
[ "Apache-2.0" ]
44
2019-03-17T10:44:04.000Z
2022-01-30T10:09:28.000Z
lib/ua_inspector/short_code_map/desktop_families.ex
Route-Now/ua_inspector
4e6ced73fc40b6e9947e0a1b0612d5517f343293
[ "Apache-2.0" ]
12
2019-06-06T15:26:26.000Z
2022-03-09T17:21:21.000Z
lib/ua_inspector/short_code_map/desktop_families.ex
Route-Now/ua_inspector
4e6ced73fc40b6e9947e0a1b0612d5517f343293
[ "Apache-2.0" ]
8
2020-04-21T07:49:37.000Z
2021-12-07T00:18:33.000Z
defmodule UAInspector.ShortCodeMap.DesktopFamilies do @moduledoc false use UAInspector.Storage.Server require Logger alias UAInspector.Config alias UAInspector.Util.YAML @behaviour UAInspector.ShortCodeMap def start_link(init_arg) do GenServer.start_link(__MODULE__, init_arg, name: __MODULE__) ...
21.77551
78
0.709466
7a2204c54f2c7e68ccf15c71679ff3cf99987b39
953
ex
Elixir
lib/gcs_signed_url/query_string.ex
cchko/gcs_signed_url
d77476a5b97f5b3877243f9ab09d782e3f766516
[ "MIT" ]
null
null
null
lib/gcs_signed_url/query_string.ex
cchko/gcs_signed_url
d77476a5b97f5b3877243f9ab09d782e3f766516
[ "MIT" ]
null
null
null
lib/gcs_signed_url/query_string.ex
cchko/gcs_signed_url
d77476a5b97f5b3877243f9ab09d782e3f766516
[ "MIT" ]
null
null
null
defmodule GcsSignedUrl.QueryString do @moduledoc """ Manages aggregation and formatting of query parameters. """ @doc """ Adds required query parameters for signed URL, sorts them and encodes them as proper query string. """ @spec create( String.t(), String.t(), GcsSignedU...
26.472222
102
0.591815
7a221057f8e1257d3b037179689bcbc2073aff4d
916
exs
Elixir
test/cog/chat/hipchat/templates/embedded/bundle_enable_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/hipchat/templates/embedded/bundle_enable_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/hipchat/templates/embedded/bundle_enable_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.HipChat.Templates.Embedded.BundleEnableTest do use Cog.TemplateCase test "bundle-enable template" do data = %{"results" => [%{"name" => "foo", "version" => "1.0.0"}]} expected = "Enabled bundle 'foo' version '1.0.0'" assert_rendered_template(:hipchat, :em...
35.230769
82
0.555677
7a229d2abb60f0fdd0455c394142b074b901adba
7,347
exs
Elixir
test/lib/ex_aws/route53/parsers_test.exs
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
test/lib/ex_aws/route53/parsers_test.exs
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
test/lib/ex_aws/route53/parsers_test.exs
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
defmodule ExAws.Route53.ParsersTest do use ExUnit.Case, async: true import Support.ParserHelpers alias ExAws.Route53.Parsers test "parsing a list hosted zones response" do rsp = """ <?xml version="1.0" encoding="UTF-8"?> <ListHostedZonesResponse> <HostedZones> <HostedZone> ...
30.869748
90
0.581734
7a22b9a8a85f29bccf360bcd73ef48f144a71f83
125
ex
Elixir
lib/flashfeed_web/views/feed_view.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
4
2020-02-27T14:29:20.000Z
2021-04-03T19:08:50.000Z
lib/flashfeed_web/views/feed_view.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
6
2020-02-17T21:35:04.000Z
2021-09-02T06:46:46.000Z
lib/flashfeed_web/views/feed_view.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
null
null
null
defmodule FlashfeedWeb.FeedView do use FlashfeedWeb, :view def render("feed.json", %{feed: feed}) do feed end end
15.625
43
0.696
7a2301ea91998d584dcb7f9d230cac178544843d
1,451
ex
Elixir
lib/data_processor_web/controllers/api/templates_controller.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
null
null
null
lib/data_processor_web/controllers/api/templates_controller.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
3
2018-08-17T13:42:45.000Z
2018-08-17T17:05:11.000Z
lib/data_processor_web/controllers/api/templates_controller.ex
DylanGuedes/batch_processor
2f3122a5f1a31557a39fac67aa62e297c39e8bf5
[ "Apache-2.0" ]
null
null
null
defmodule DataProcessorWeb.API.TemplatesController do use DataProcessorWeb, :controller alias DataProcessor.InterSCity alias DataProcessor.JobManager alias DataProcessor.DockerJob def index(conn, _params) do templates = InterSCity.list_templates conn |> put_status(:ok) |> render("index.json...
23.786885
69
0.627154
7a230abd1dd4231a6e7c691bed288d2c77f292dd
4,406
ex
Elixir
lib/exdis/command_parsers/util.ex
g-andrade/exdis
6cb6775b16a237718f10dc5177d9369279e2d528
[ "MIT" ]
2
2020-03-20T17:25:59.000Z
2020-03-22T14:17:30.000Z
lib/exdis/command_parsers/util.ex
g-andrade/exdis
6cb6775b16a237718f10dc5177d9369279e2d528
[ "MIT" ]
null
null
null
lib/exdis/command_parsers/util.ex
g-andrade/exdis
6cb6775b16a237718f10dc5177d9369279e2d528
[ "MIT" ]
null
null
null
defmodule Exdis.CommandParsers.Util do ## ------------------------------------------------------------------ ## RESP Type Coercion - To String ## ------------------------------------------------------------------ def maybe_coerce_into_string({:string, string}) do {:ok, string} end def maybe_coerce_int...
30.386207
92
0.52837
7a230e4ca06b3d8176de1a7a5672e1b807be2c93
1,734
exs
Elixir
apps/customer/config/config.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
102
2017-05-21T18:24:04.000Z
2022-03-10T12:53:20.000Z
apps/customer/config/config.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
2
2017-05-21T01:53:30.000Z
2017-12-01T00:27:06.000Z
apps/customer/config/config.exs
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
18
2017-05-22T09:51:36.000Z
2021-09-24T00:57:01.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :customer, ecto_repos: [Customer.Repo] ...
27.967742
86
0.749712
7a231b4da9859d0fede65504f6f33cd502967982
784
ex
Elixir
installer/templates/new/web/views/error_view.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
installer/templates/new/web/views/error_view.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
installer/templates/new/web/views/error_view.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
1
2020-02-08T16:23:00.000Z
2020-02-08T16:23:00.000Z
defmodule <%= app_module %>.ErrorView do use <%= app_module %>.Web, :view <%= if html do %>def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 50...
26.133333
54
0.663265
7a233dd6b162475e12ba93aed1902e18824b7e4b
1,897
ex
Elixir
clients/content/lib/google_api/content/v21/model/returnpolicy_custom_batch_response.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/returnpolicy_custom_batch_response.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/returnpolicy_custom_batch_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...
34.490909
171
0.738535
7a2346a6003549edcffe3a057443de8092b807ef
4,539
ex
Elixir
lib/zbar.ex
crafting-software/zbar
2001040b3e62aca29a1303adee68b0abbc1b995b
[ "MIT" ]
null
null
null
lib/zbar.ex
crafting-software/zbar
2001040b3e62aca29a1303adee68b0abbc1b995b
[ "MIT" ]
null
null
null
lib/zbar.ex
crafting-software/zbar
2001040b3e62aca29a1303adee68b0abbc1b995b
[ "MIT" ]
null
null
null
defmodule Zbar do @moduledoc """ Scan all barcodes in a JPEG image using the `zbar` library. """ alias Zbar.Symbol require Logger @doc """ Scan all barcode data in a JPEG-encoded image. * `jpeg_data` should be a binary containing JPEG-encoded image data. * `timeout` is the time in milliseconds to ...
28.36875
103
0.591981
7a2346e6eddb3a84ef5f6b1f82a302fb59a8495e
848
ex
Elixir
lib/posts/search.ex
Lechindianer/ex_pnut
99164b73e9b60bfccb90574dd1a6f418a7bd96ed
[ "ISC" ]
2
2019-07-12T04:07:34.000Z
2019-11-26T01:08:14.000Z
lib/posts/search.ex
Lechindianer/ex_pnut
99164b73e9b60bfccb90574dd1a6f418a7bd96ed
[ "ISC" ]
null
null
null
lib/posts/search.ex
Lechindianer/ex_pnut
99164b73e9b60bfccb90574dd1a6f418a7bd96ed
[ "ISC" ]
1
2019-11-26T01:18:54.000Z
2019-11-26T01:18:54.000Z
defmodule ExPnut.Posts.Search do import ExPnut.Helper.HTTP alias ExPnut.Posts.PostParams alias ExPnut.Posts.SearchParams @moduledoc """ Post Search [https://pnut.io/docs/api/resources/posts/search](https://pnut.io/docs/api/resources/posts/search) """ @doc """ Retrieve a list of posts filtered by th...
24.941176
100
0.622642
7a234bffc05e0547093472f215def76285b06e2c
247
ex
Elixir
lib/erlef.ex
RudolfMan/website
dacf833f043e22f8f297a149a7ecce0d2fdb1696
[ "Apache-2.0" ]
null
null
null
lib/erlef.ex
RudolfMan/website
dacf833f043e22f8f297a149a7ecce0d2fdb1696
[ "Apache-2.0" ]
null
null
null
lib/erlef.ex
RudolfMan/website
dacf833f043e22f8f297a149a7ecce0d2fdb1696
[ "Apache-2.0" ]
null
null
null
defmodule Erlef do @moduledoc """ Erlef 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
24.7
66
0.748988
7a235173f05658a20c8e3168dd58aaafde3fa3eb
8,760
ex
Elixir
lib/oli_web/live/system_message_live/index_view.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
lib/oli_web/live/system_message_live/index_view.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
lib/oli_web/live/system_message_live/index_view.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule OliWeb.SystemMessageLive.IndexView do use Surface.LiveView, layout: {OliWeb.LayoutView, "live.html"} import OliWeb.ErrorHelpers alias Oli.Notifications alias Oli.Notifications.{PubSub, SystemMessage} alias OliWeb.Common.{Breadcrumb, Confirm} alias OliWeb.Router.Helpers, as: Routes alias OliWeb...
31.73913
145
0.642466
7a2355fe6383f9c36316e165c1f47100c3c973b2
1,551
ex
Elixir
lib/ja_serializer/builder/pagination_links.ex
team-telnyx/ja_serializer
fc8e1a0118049d306178a01e1afb34239c313e27
[ "Apache-2.0" ]
null
null
null
lib/ja_serializer/builder/pagination_links.ex
team-telnyx/ja_serializer
fc8e1a0118049d306178a01e1afb34239c313e27
[ "Apache-2.0" ]
null
null
null
lib/ja_serializer/builder/pagination_links.ex
team-telnyx/ja_serializer
fc8e1a0118049d306178a01e1afb34239c313e27
[ "Apache-2.0" ]
null
null
null
defmodule JaSerializer.Builder.PaginationLinks do @moduledoc """ Builds JSON-API spec pagination links. Pass in a map with the necessary data: JaSerializer.Builder.PaginationLinks.build(%{ number: 1, size: 20, total: 5, base_url: "https://example.com" }, ...
25.85
108
0.618311
7a2357bfd42e9c9971baa86ce9d5ed78df2ae567
1,950
ex
Elixir
lib/schemas/user.ex
Kintull/elidactyl
9a051ed511ed92fa7578038784baa73288f1312b
[ "MIT" ]
6
2020-04-28T21:38:40.000Z
2022-02-13T01:04:10.000Z
lib/schemas/user.ex
Kintull/elidactyl
9a051ed511ed92fa7578038784baa73288f1312b
[ "MIT" ]
1
2021-03-16T10:39:32.000Z
2021-03-16T10:39:32.000Z
lib/schemas/user.ex
Kintull/elidactyl
9a051ed511ed92fa7578038784baa73288f1312b
[ "MIT" ]
null
null
null
defmodule Elidactyl.Schemas.User do @moduledoc false use Ecto.Schema alias Elidactyl.Utils alias Elidactyl.Response.Parser @behaviour Parser @type t :: %__MODULE__{ id: non_neg_integer | nil, external_id: binary | nil, uuid: Ecto.UUID.t | nil, username: binary | nil, email: binary | ...
30
87
0.669744
7a2378c6682069cfc8014766b0408696dc00fb43
1,355
ex
Elixir
lib/earmark/ast/renderer/table_renderer.ex
Hexlet/earmark
3c465e5bc2473acd952721811002dad4bb6f9109
[ "Apache-1.1" ]
null
null
null
lib/earmark/ast/renderer/table_renderer.ex
Hexlet/earmark
3c465e5bc2473acd952721811002dad4bb6f9109
[ "Apache-1.1" ]
null
null
null
lib/earmark/ast/renderer/table_renderer.ex
Hexlet/earmark
3c465e5bc2473acd952721811002dad4bb6f9109
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Earmark.Ast.Renderer.TableRenderer do @moduledoc false alias Earmark.Ast.Inline def render_header(header, lnb, aligns, context) do {th_ast, context1} = header |> Enum.zip(aligns) |> Enum.map_reduce(context, &_render_col(&1, &2, lnb, :th)) {{ "thead", [], [ { "tr", [], ...
30.111111
80
0.63321
7a23a09b8bf60554010dab940745828440b682f7
577
exs
Elixir
mix.exs
ElixirCrypto/curve25519
fa2970a464c59bfaaf9512f53275665ddd238583
[ "MIT" ]
null
null
null
mix.exs
ElixirCrypto/curve25519
fa2970a464c59bfaaf9512f53275665ddd238583
[ "MIT" ]
null
null
null
mix.exs
ElixirCrypto/curve25519
fa2970a464c59bfaaf9512f53275665ddd238583
[ "MIT" ]
null
null
null
defmodule Curve25519.MixProject do use Mix.Project def project do [ app: :curve25519, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ext...
19.896552
87
0.580589
7a23a8a14f4df1589f4b35e80cfeb4674dae6644
1,435
ex
Elixir
exercism/bank-account/bank_account.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
exercism/bank-account/bank_account.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
exercism/bank-account/bank_account.ex
defndaines/elixir_bits
78a9c2dc0c9946df715a662ef62cd437fdd9e3d1
[ "Apache-2.0" ]
null
null
null
defmodule BankAccount do @moduledoc """ A bank account that supports access from multiple processes. """ use GenServer @impl true def init(_), do: {:ok, 0} @impl true def handle_cast(_, state), do: {:noreply, state} @impl true def handle_call({:update, amount}, _, state), do: {:reply, :ok, state...
22.076923
81
0.638328