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
f74ce3a06dfac4b41dbb6b4b7f41049a16c5da7a
722
exs
Elixir
apps/load_tester/mix.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/load_tester/mix.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/load_tester/mix.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
defmodule LoadTester.MixProject do use Mix.Project def project do [ app: :load_tester, version: "1.2.0-dev", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.8", start_permanent...
21.235294
59
0.554017
f74cee83ef9d94b82353f64db791d56a1d62cedc
5,632
ex
Elixir
lib/mix/lib/mix/tasks/app.start.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/mix/lib/mix/tasks/app.start.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/mix/lib/mix/tasks/app.start.ex
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule Mix.Tasks.App.Start do use Mix.Task # Do not mark this task as recursive as it is # responsible for loading consolidated protocols. @shortdoc "Starts all registered apps" @moduledoc """ Starts all registered apps. The application is started by default as temporary. In case `:start_permanent...
27.881188
81
0.642045
f74d04dfb71c587480e07e8d8611cd13510e153b
349
ex
Elixir
lib/wait_for_it/application.ex
jvoegele/wait_for_it
a3e722dec8d7c291f545533d70d3dab774e7cb4f
[ "Apache-2.0" ]
10
2018-02-19T12:18:44.000Z
2020-12-03T22:55:48.000Z
lib/wait_for_it/application.ex
jvoegele/wait_for_it
a3e722dec8d7c291f545533d70d3dab774e7cb4f
[ "Apache-2.0" ]
11
2017-08-30T23:43:06.000Z
2019-04-05T20:15:42.000Z
lib/wait_for_it/application.ex
jvoegele/wait_for_it
a3e722dec8d7c291f545533d70d3dab774e7cb4f
[ "Apache-2.0" ]
2
2017-08-30T13:11:29.000Z
2017-12-28T20:26:42.000Z
defmodule WaitForIt.Application do @moduledoc false use Application def start(_type, _args) do children = [ {Registry, keys: :unique, name: WaitForIt.ConditionVariable.registry()}, WaitForIt.ConditionVariable.Supervisor ] Supervisor.start_link(children, strategy: :one_for_one, name: Wai...
23.266667
87
0.730659
f74d0faaa0cc6202dc06ad15bf109838c145acdf
997
exs
Elixir
mix.exs
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
mix.exs
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
mix.exs
szTheory/ecto_psql_extras
05a2315b68f6c65e9c1e1cd36a06dc20c1556022
[ "MIT" ]
null
null
null
defmodule EctoPSQLExtras.Mixfile do use Mix.Project @github_url "https://github.com/pawurb/ecto_psql_extras" @version "0.4.1" def project do [ app: :ecto_psql_extras, version: @version, elixir: "~> 1.5", escript: [main_module: EctoPSQLExtras], description: description(), ...
19.94
118
0.561685
f74d32f331765292907e98c69bdbd68b42aa0240
18,806
exs
Elixir
test/liberator/resource_defaults_test.exs
Cantido/liberator
fa958699ffc699a350a06dbcac6402b81208f282
[ "MIT" ]
36
2020-10-03T16:58:57.000Z
2021-11-27T09:33:51.000Z
test/liberator/resource_defaults_test.exs
Cantido/liberator
fa958699ffc699a350a06dbcac6402b81208f282
[ "MIT" ]
23
2020-10-13T00:23:03.000Z
2022-03-10T11:05:22.000Z
test/liberator/resource_defaults_test.exs
Cantido/liberator
fa958699ffc699a350a06dbcac6402b81208f282
[ "MIT" ]
1
2020-10-12T20:33:30.000Z
2020-10-12T20:33:30.000Z
# SPDX-FileCopyrightText: 2021 Rosa Richter # # SPDX-License-Identifier: MIT defmodule Liberator.ResourceDefaultsTest do use ExUnit.Case, async: true use Plug.Test alias Liberator.HTTPDateTime defmodule MyDefaultResource do use Liberator.Resource end describe "method_allowed?/1" do test "allows G...
27.860741
110
0.644528
f74d3419de0030de5b932ffbd9aad19b85479817
3,586
ex
Elixir
lib/cache/cache.ex
madnificent/mu-elixir-cache
c86717907b113d593966b3b2e1e86a8e530fe0bb
[ "MIT" ]
null
null
null
lib/cache/cache.ex
madnificent/mu-elixir-cache
c86717907b113d593966b3b2e1e86a8e530fe0bb
[ "MIT" ]
null
null
null
lib/cache/cache.ex
madnificent/mu-elixir-cache
c86717907b113d593966b3b2e1e86a8e530fe0bb
[ "MIT" ]
null
null
null
defmodule UsePlugProxy.Cache do use GenServer def find_cache( { _method, _full_path, _get_params, _allowed_groups } = key ) do case GenServer.call( __MODULE__, { :find_cache, key } ) do { :ok, response } -> response { :not_found } -> nil end end def store( { _method, _full_path, _get_param...
27.166667
93
0.62744
f74d4de622c476690eab00cf5ef47589aee429a2
458
ex
Elixir
lib/codes/codes_z21.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_z21.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_z21.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_Z21 do alias IcdCode.ICDCode def _Z21 do %ICDCode{full_code: "Z21", category_code: "Z21", short_code: "", full_name: "Asymptomatic human immunodeficiency virus [HIV] infection status", short_name: "Asymptomatic human immunodeficiency virus [...
28.625
91
0.683406
f74d5dbee5e290e5b76054e2b2b800f846ebf874
493
ex
Elixir
lib/tap_racer_web/views/error_view.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
7
2016-06-04T09:24:24.000Z
2017-09-03T16:26:21.000Z
lib/tap_racer_web/views/error_view.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
10
2020-07-25T02:04:03.000Z
2021-07-28T12:01:20.000Z
lib/tap_racer_web/views/error_view.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
1
2019-05-17T03:37:43.000Z
2019-05-17T03:37:43.000Z
defmodule TapRacerWeb.ErrorView do use TapRacerWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template na...
29
61
0.736308
f74d692ed168b48787d5a08403d406ba5f389e31
313
ex
Elixir
apps/buzzcms_web/lib/buzzcms_web/resolvers/email_template.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
apps/buzzcms_web/lib/buzzcms_web/resolvers/email_template.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
41
2020-02-12T07:53:14.000Z
2020-03-30T02:18:14.000Z
apps/buzzcms_web/lib/buzzcms_web/resolvers/email_template.ex
buzzcms/buzzcms
8ca8e6dea381350f94cc4a666448b5dba6676520
[ "Apache-2.0" ]
null
null
null
defmodule BuzzcmsWeb.EmailTemplateResolver do @schema Buzzcms.Schema.EmailTemplate @filter_definition [ fields: [ {:code, FilterParser.StringFilterInput}, {:is_system, FilterParser.BooleanFilterInput}, {:subject, FilterParser.StringFilterInput} ] ] use BuzzcmsWeb.Resolver end
22.357143
52
0.731629
f74d85c6368fd88bdd768956747eedc92cbfeaff
879
exs
Elixir
test/test_helper.exs
carusso/codec
45895a6aab4908e0c6528260849aeebf0cea8cae
[ "MIT" ]
4
2018-02-13T13:39:07.000Z
2021-01-24T22:11:42.000Z
test/test_helper.exs
carusso/codec
45895a6aab4908e0c6528260849aeebf0cea8cae
[ "MIT" ]
null
null
null
test/test_helper.exs
carusso/codec
45895a6aab4908e0c6528260849aeebf0cea8cae
[ "MIT" ]
null
null
null
ExUnit.start() defmodule TestHelper do use Bitwise def crc16Lsb(input, crc \\ 0xFFFF) def crc16Lsb(input, crc) when bit_size(input) == 0, do: (~~~crc) &&& 0xFFFF def crc16Lsb(<< head :: size(8), tail :: binary >>, crc) do crc = shifter(crc ^^^ head, 0) crc16Lsb(tail, crc) end def crc32Lsb(input, ...
23.131579
81
0.550626
f74dbe0b86ad5809c368fb26133a7c1872f15bad
4,704
ex
Elixir
spec/data/apt/chef-integration-test2-1.0/debian/manpage.sgml.ex
ktpan/chef-play
119798db7d1d25bb166bbce2f50e1399c0be1ae3
[ "Apache-2.0" ]
null
null
null
spec/data/apt/chef-integration-test2-1.0/debian/manpage.sgml.ex
ktpan/chef-play
119798db7d1d25bb166bbce2f50e1399c0be1ae3
[ "Apache-2.0" ]
1
2019-03-28T15:48:50.000Z
2019-03-28T15:48:50.000Z
spec/data/apt/chef-integration-test2-1.0/debian/manpage.sgml.ex
ktpan/chef-play
119798db7d1d25bb166bbce2f50e1399c0be1ae3
[ "Apache-2.0" ]
null
null
null
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ <!-- Process this file with docbook-to-man to generate an nroff manual page: `docbook-to-man manpage.sgml > manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Ma...
30.348387
79
0.660502
f74dd685684815b785240515afb264a87794d495
1,909
exs
Elixir
clients/artifact_registry/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/mix.exs
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...
28.492537
143
0.66527
f74de516f95e51ee952c03da5388deb91d204cc5
1,000
ex
Elixir
lib/slurp/new_heads/timer.ex
AwaitFuture/slurp
f1d0fe5feb21f3135727c1516908e89130ea5801
[ "MIT" ]
20
2021-01-02T07:45:04.000Z
2022-03-29T07:34:42.000Z
lib/slurp/new_heads/timer.ex
AwaitFuture/slurp
f1d0fe5feb21f3135727c1516908e89130ea5801
[ "MIT" ]
11
2021-01-25T13:10:34.000Z
2021-09-23T05:34:08.000Z
lib/slurp/new_heads/timer.ex
AwaitFuture/slurp
f1d0fe5feb21f3135727c1516908e89130ea5801
[ "MIT" ]
1
2021-03-12T07:27:05.000Z
2021-03-12T07:27:05.000Z
defmodule Slurp.NewHeads.Timer do use GenServer alias Slurp.{Blockchains, NewHeads} defmodule State do @type blockchain :: Blockchains.Blockchain.t() @type t :: %State{ blockchain: blockchain } defstruct ~w[blockchain]a end @type blockchain :: Blockchains.Blockchain.t() ...
26.315789
72
0.692
f74df5ffc6621ba655895d3b319af177b69c6bb1
1,292
ex
Elixir
lib/ucx_chat/release_tasks.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
60
2017-05-09T19:08:26.000Z
2021-01-20T11:09:42.000Z
lib/ucx_chat/release_tasks.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
6
2017-05-10T15:43:16.000Z
2020-07-15T07:14:41.000Z
lib/ucx_chat/release_tasks.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
10
2017-05-10T04:13:54.000Z
2020-12-28T10:30:27.000Z
defmodule UcxChat.ReleaseTasks do @start_apps [ :mariaex, :ecto ] @repos [ UcxChat.Repo ] @app :ucx_chat def seed do IO.puts "Loading myapp.." # Load the code for myapp, but don't start it :ok = Application.load(@app) IO.puts "Starting dependencies.." # Start apps necess...
23.925926
81
0.652477
f74e1f411ce835b0b5bc4290c780dbe38816d6db
1,049
ex
Elixir
test/support/conn_case.ex
avinoth/spaces
00bec5adf4568fef73b49e57808033295a837931
[ "MIT" ]
1
2016-09-13T10:40:53.000Z
2016-09-13T10:40:53.000Z
test/support/conn_case.ex
avinoth/spaces
00bec5adf4568fef73b49e57808033295a837931
[ "MIT" ]
null
null
null
test/support/conn_case.ex
avinoth/spaces
00bec5adf4568fef73b49e57808033295a837931
[ "MIT" ]
null
null
null
defmodule Spaces.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 imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the dat...
24.395349
65
0.701621
f74e26d8c097100b8eed414a177343f81b9441b8
762
exs
Elixir
priv/repo/migrations/20200716040244_create_users_auth_tables.exs
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20200716040244_create_users_auth_tables.exs
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20200716040244_create_users_auth_tables.exs
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
defmodule BuyTheFood.Repo.Migrations.CreateUsersAuthTables do use Ecto.Migration def change do execute "CREATE EXTENSION IF NOT EXISTS citext", "" create table(:users) do add :email, :citext, null: false add :hashed_password, :string, null: false add :confirmed_at, :naive_datetime ...
27.214286
75
0.674541
f74e751d98cf48508b515c5397fc30796f0dc291
109
ex
Elixir
ModulePlaygroun.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
ModulePlaygroun.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
ModulePlaygroun.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule ModulePlayground do import IO, only: [puts: 1] def say do puts "Hello" end end
15.571429
30
0.614679
f74e91f5360a12c5f9bdffe325d2a5e75830d48b
764
ex
Elixir
test/support/test_utils.ex
kianmeng/control-node
76f96e09772a36a2aed23a5f7a5c909c4fc7f5df
[ "MIT" ]
null
null
null
test/support/test_utils.ex
kianmeng/control-node
76f96e09772a36a2aed23a5f7a5c909c4fc7f5df
[ "MIT" ]
null
null
null
test/support/test_utils.ex
kianmeng/control-node
76f96e09772a36a2aed23a5f7a5c909c4fc7f5df
[ "MIT" ]
null
null
null
defmodule ControlNode.TestUtils do require ExUnit.Assertions alias ControlNode.Host.SSH def ssh_fixture do private_key_dir = with_fixture_path('host-vm/.ssh') |> :erlang.list_to_binary() # on CI the env var SSH_HOST is set to openssh-server to connect # to the service container running SSH server ...
23.875
83
0.650524
f74eee75499285db9c8a0523384e178fa84ca823
624
ex
Elixir
lib/bgg.ex
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
3
2016-01-19T14:40:39.000Z
2020-07-07T16:37:55.000Z
lib/bgg.ex
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
null
null
null
lib/bgg.ex
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
null
null
null
defmodule BGG do @moduledoc """ A BoardGameGeek (http://boardgamegeek.com/xmlapi/) client """ use Application use HTTPoison.Base def start(_type, _args) do BGG.Supervisor.start_link end def process_url(path) do url = "http://boardgamegeek.com/xmlapi/#{path}" URI.encode(url) end def pr...
18.352941
60
0.671474
f74f1a6c3cd883229418541321789794b8cd5506
1,038
ex
Elixir
lib/rtl_web/channels/user_socket.ex
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
1
2019-04-27T15:39:20.000Z
2019-04-27T15:39:20.000Z
lib/rtl_web/channels/user_socket.ex
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
11
2020-07-16T11:40:53.000Z
2021-08-16T07:03:33.000Z
lib/rtl_web/channels/user_socket.ex
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
null
null
null
defmodule RTLWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", RTLWeb.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 all channels, ie ...
30.529412
83
0.690751
f74f2574a05b25678bc8339c0bc14757a51275c3
3,232
exs
Elixir
backend/config/runtime.exs
makoto-engineer/kakeibo
d6882ccfa56d376a39dd307d28417d956ddc8584
[ "MIT" ]
null
null
null
backend/config/runtime.exs
makoto-engineer/kakeibo
d6882ccfa56d376a39dd307d28417d956ddc8584
[ "MIT" ]
null
null
null
backend/config/runtime.exs
makoto-engineer/kakeibo
d6882ccfa56d376a39dd307d28417d956ddc8584
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
37.581395
82
0.698639
f74f2787dc0b0a16cd65c731f4ebb273e24bedf8
1,579
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/category_count.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/category_count.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query/lib/google_api/big_query/v2/model/category_count.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.58
126
0.721343
f74f5418e6d2183c77d0a8d94419191eee7ed1c9
17,653
ex
Elixir
lib/logger/lib/logger.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
defmodule Logger do @moduledoc ~S""" A logger for Elixir applications. It includes many features: * Provides debug, info, warn and error levels. * Supports multiple backends which are automatically supervised when plugged into Logger. * Formats and truncates messages on the client to a...
30.970175
117
0.685436
f74f5824f4fe74e125e1824f4057da8fd5523d3f
3,223
ex
Elixir
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/achievement_configuration.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/achievement_configuration.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/achievement_configuration.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...
38.369048
182
0.714552
f74f61b65ab991dd2765f1ad660b840d83ca3289
10,951
ex
Elixir
lib/aws/certificate_manager.ex
tylerpearson/aws-elixir
09b7d3a3b9da1d775249cca291ab42ec5a081ff2
[ "Apache-2.0" ]
null
null
null
lib/aws/certificate_manager.ex
tylerpearson/aws-elixir
09b7d3a3b9da1d775249cca291ab42ec5a081ff2
[ "Apache-2.0" ]
null
null
null
lib/aws/certificate_manager.ex
tylerpearson/aws-elixir
09b7d3a3b9da1d775249cca291ab42ec5a081ff2
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/jkakar/aws-codegen for more details. defmodule AWS.CertificateManager do @moduledoc """ AWS Certificate Manager Welcome to the AWS Certificate Manager (ACM) API documentation. You can use ACM to manage SSL/TLS certificates for your AWS-bas...
43.284585
88
0.731075
f74ff0818b0e13a455beea665c2cab0634556c3e
1,272
exs
Elixir
config/config.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
config/config.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
config/config.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :roiimPpaysafe, ecto_repos: [RoiimPpays...
36.342857
139
0.791667
f7501ac10479d670930b76c1758a6eab45d7f27d
3,007
ex
Elixir
lib/hl7/header.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
lib/hl7/header.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
lib/hl7/header.ex
starbelly/elixir-hl7
677566200ac0da8bf84f7b7e62ffdf2386351469
[ "Apache-2.0" ]
null
null
null
defmodule HL7.Header do @moduledoc """ An HL7 header implementation that can be used to build MSH segments and HL7 messages. It is also exposed as metadata after parsing any HL7 message. """ @type t :: %HL7.Header{ message_type: binary(), trigger_event: binary(), sending_facilit...
31.322917
101
0.613236
f75035ca110aaab481eb423aa99475d3815a86dd
594
exs
Elixir
api/test/views/error_view_test.exs
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
34
2017-01-02T14:00:25.000Z
2021-11-20T20:51:41.000Z
api/test/views/error_view_test.exs
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
3
2017-08-02T19:38:27.000Z
2022-03-02T03:34:27.000Z
api/test/views/error_view_test.exs
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
5
2017-02-19T20:34:09.000Z
2021-10-05T11:35:11.000Z
defmodule Sling.ErrorViewTest do use Sling.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(Sling.ErrorView, "404.json", []) == %{errors: %{detail: "Page not found"}} end test "render 500.jso...
27
66
0.639731
f7503967cbdaaea109513d6aa43d6097be185323
753
exs
Elixir
mix.exs
aseigo/plug_heartbeat
baaa63d15299d29c38037419577e7d1a355e0d27
[ "MIT" ]
36
2015-02-04T23:44:38.000Z
2022-02-28T21:20:50.000Z
mix.exs
aseigo/plug_heartbeat
baaa63d15299d29c38037419577e7d1a355e0d27
[ "MIT" ]
3
2015-09-27T13:42:53.000Z
2020-04-19T16:18:40.000Z
mix.exs
aseigo/plug_heartbeat
baaa63d15299d29c38037419577e7d1a355e0d27
[ "MIT" ]
3
2015-08-23T19:32:44.000Z
2021-03-18T14:43:34.000Z
defmodule PlugHeartbeat.Mixfile do use Mix.Project @version "1.0.0" @github_url "https://github.com/whatyouhide/plug_heartbeat" @description "A tiny plug for responding to heartbeat requests" def project do [ app: :plug_heartbeat, version: @version, elixir: "~> 1.8", deps: deps()...
18.825
65
0.581673
f7504a1e48ef591659ed2aca1cba5f5df740656b
1,884
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/hint.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/hint.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/hint.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...
40.085106
449
0.755839
f7506afb2f1486b7a8e2e2bae04bad382de322fc
768
ex
Elixir
lib/edgedb/protocol/messages/server/command_complete.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/messages/server/command_complete.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/messages/server/command_complete.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Messages.Server.CommandComplete do use EdgeDB.Protocol.Message alias EdgeDB.Protocol.{ Datatypes, Enums, Types } defmessage( name: :command_complete, server: true, mtype: 0x43, fields: [ headers: Keyword.t(), status: Datatypes.String.t() ],...
20.756757
62
0.638021
f75085312d39c19ece7b193062cd4febc9e627ea
3,746
ex
Elixir
lib/hello/accounts/accounts.ex
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
lib/hello/accounts/accounts.ex
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
lib/hello/accounts/accounts.ex
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
defmodule Hello.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias Hello.Repo alias Hello.Accounts.User alias Hello.Accounts.User_Attribute @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users...
16.502203
123
0.567539
f750a13172590e6a20c04ac064b8d6cb5f83c1a9
1,090
ex
Elixir
lib/ai_web.ex
mirai-audio/-
365c0fba614543bf40ebaae55de47bc541bd473f
[ "MIT" ]
null
null
null
lib/ai_web.ex
mirai-audio/-
365c0fba614543bf40ebaae55de47bc541bd473f
[ "MIT" ]
null
null
null
lib/ai_web.ex
mirai-audio/-
365c0fba614543bf40ebaae55de47bc541bd473f
[ "MIT" ]
null
null
null
defmodule AiWeb do @moduledoc """ AiWeb extension library for Phoenix Framework. """ def controller do quote do use Phoenix.Controller, namespace: AiWeb alias Ai.Repo import Ecto import Ecto.Query import AiWeb.Router.Helpers import AiWeb.Gettext end end def vi...
18.793103
88
0.655963
f750b52dcc0e8c6144aa7cc71180829df8f0f1bb
153
exs
Elixir
test/exonum_client_test.exs
sheb-gregor/elixir-exonum
137e975c4f53f83b8e813e44feafda8936eb96d7
[ "Apache-2.0" ]
null
null
null
test/exonum_client_test.exs
sheb-gregor/elixir-exonum
137e975c4f53f83b8e813e44feafda8936eb96d7
[ "Apache-2.0" ]
null
null
null
test/exonum_client_test.exs
sheb-gregor/elixir-exonum
137e975c4f53f83b8e813e44feafda8936eb96d7
[ "Apache-2.0" ]
null
null
null
defmodule ExonumClientTest do use ExUnit.Case doctest ExonumClient test "greets the world" do assert ExonumClient.hello() == :world end end
17
41
0.738562
f750e8291d36c6cff92d2c20b43d264899768f76
1,160
exs
Elixir
mix.exs
twajjo/runtime_config
9777709caae436bc395b8ec7f37e99943ac7553a
[ "MIT" ]
null
null
null
mix.exs
twajjo/runtime_config
9777709caae436bc395b8ec7f37e99943ac7553a
[ "MIT" ]
null
null
null
mix.exs
twajjo/runtime_config
9777709caae436bc395b8ec7f37e99943ac7553a
[ "MIT" ]
null
null
null
defmodule RuntimeConfig.MixProject do use Mix.Project def project do [ app: :runtime_config, version: "0.1.0", elixir: "~> 1.9.4", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps() ] end # Run "mix help compile....
24.680851
72
0.52069
f7513cbe4bd4dfbd6077990e748b781c91ae5214
1,842
ex
Elixir
clients/content/lib/google_api/content/v2/model/loyalty_points.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/loyalty_points.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/loyalty_points.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.754717
203
0.712812
f7515043405e4c84cc404a8dae715e2ee5d6cb5e
22,519
ex
Elixir
lib/aws/media_live.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/media_live.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/media_live.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.MediaLive do @moduledoc """ API for AWS Elemental MediaLive """ @doc """ Update a channel schedule """ def batch_update_schedule(client, channel_id, input, options \\ []) do pat...
29.359844
305
0.628047
f751724062d81cf4cc06e20508a092cafd6751fd
1,718
ex
Elixir
apps/ewallet/lib/ewallet/auth/user_authenticator.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/auth/user_authenticator.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/auth/user_authenticator.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
30.678571
87
0.712456
f751a62f9ce97ab9e6f5a44728adb7b7e03bbd23
59
exs
Elixir
test/test_helper.exs
anthonyoconnor/some_weather
edd3c07115b4f76c0531dd9f4586bd8a13fb369f
[ "MIT" ]
1
2016-05-25T04:03:34.000Z
2016-05-25T04:03:34.000Z
test/test_helper.exs
anthonyoconnor/some_weather
edd3c07115b4f76c0531dd9f4586bd8a13fb369f
[ "MIT" ]
null
null
null
test/test_helper.exs
anthonyoconnor/some_weather
edd3c07115b4f76c0531dd9f4586bd8a13fb369f
[ "MIT" ]
null
null
null
ExUnit.configure exclude: [external: true] ExUnit.start()
14.75
42
0.762712
f751cd547374df51e96e6a0807c760d59cb507db
1,123
exs
Elixir
mix.exs
digitalnativescreative/exponent-server-sdk-elixir
b10c569f98ff9e8b3c0114755edc69ffe781fb0f
[ "MIT" ]
null
null
null
mix.exs
digitalnativescreative/exponent-server-sdk-elixir
b10c569f98ff9e8b3c0114755edc69ffe781fb0f
[ "MIT" ]
null
null
null
mix.exs
digitalnativescreative/exponent-server-sdk-elixir
b10c569f98ff9e8b3c0114755edc69ffe781fb0f
[ "MIT" ]
1
2021-12-16T22:18:41.000Z
2021-12-16T22:18:41.000Z
defmodule ExponentServerSdk.Mixfile do use Mix.Project def project do [ app: :exponent_server_sdk, version: "0.2.0", elixir: "~> 1.11.4", name: "ExponentServerSdk", description: "Exponent Push Notification API library for Elixir", source_url: "https://github.com/rdrop/expone...
22.019608
77
0.52894
f751e0986e1649f00a2bf91b9cda8f20e1e2527d
5,306
exs
Elixir
apps/gitgud_web/test/gitgud_web/controllers/email_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud_web/test/gitgud_web/controllers/email_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud_web/test/gitgud_web/controllers/email_controller_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.Web.EmailControllerTest do use GitGud.Web.ConnCase, async: true use GitGud.Web.DataFactory use Bamboo.Test alias GitGud.DB alias GitGud.Email alias GitGud.User alias GitGud.Web.LayoutView setup :create_user test "renders email settings if authenticated", %{conn: conn, user: user}...
43.85124
117
0.682623
f751e6549c1bbd1eca135233f98cdf1fe1f649e2
2,798
ex
Elixir
lib/screens/v2/screen_audio_data.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens/v2/screen_audio_data.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens/v2/screen_audio_data.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule Screens.V2.ScreenAudioData do @moduledoc false alias Screens.Config.Screen alias Screens.Config.V2.{Audio, BusShelter} alias Screens.V2.ScreenData alias Screens.V2.WidgetInstance @type screen_id :: String.t() @spec by_screen_id(screen_id()) :: list({module(), map()}) | :error def by_screen_...
29.765957
91
0.619014
f75230e8efe699010d2fe0687c314e44f9a0e874
4,394
ex
Elixir
lib/mix/tasks/ecto.rollback.ex
bahelms/ecto_sql
a5b4efd127cf110f0a01d30b3e32f636cdee7563
[ "Apache-2.0" ]
384
2018-10-03T17:52:39.000Z
2022-03-24T17:54:21.000Z
lib/mix/tasks/ecto.rollback.ex
bahelms/ecto_sql
a5b4efd127cf110f0a01d30b3e32f636cdee7563
[ "Apache-2.0" ]
357
2018-10-06T13:47:33.000Z
2022-03-29T08:18:02.000Z
deps/ecto_sql/lib/mix/tasks/ecto.rollback.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
251
2018-10-04T11:06:41.000Z
2022-03-29T07:22:53.000Z
defmodule Mix.Tasks.Ecto.Rollback do use Mix.Task import Mix.Ecto import Mix.EctoSQL @shortdoc "Rolls back the repository migrations" @aliases [ r: :repo, n: :step ] @switches [ all: :boolean, step: :integer, to: :integer, quiet: :boolean, prefix: :string, pool_size: :in...
30.727273
100
0.664315
f7526023258cbe00952d23a4506260992b2420cc
6,066
exs
Elixir
test/ex_doubles_test.exs
steven-solomon/exdoubles
9650dcf75775de492141648fcee39c3317f722ae
[ "Apache-2.0" ]
1
2019-11-08T21:02:59.000Z
2019-11-08T21:02:59.000Z
test/ex_doubles_test.exs
steven-solomon/elephant
9650dcf75775de492141648fcee39c3317f722ae
[ "Apache-2.0" ]
5
2019-11-08T21:05:31.000Z
2019-12-07T03:41:42.000Z
test/ex_doubles_test.exs
steven-solomon/exdoubles
9650dcf75775de492141648fcee39c3317f722ae
[ "Apache-2.0" ]
1
2019-10-23T18:13:06.000Z
2019-10-23T18:13:06.000Z
defmodule ExDoublesTest do use ExUnit.Case import ExDoubles test "raises error when zero arg function is NEVER called" do {:ok, _} = mock(:zero_arg_name, 0) assert_raise RuntimeError, "expected 1 times but was 0", fn -> verify(:zero_arg_name, once()) end assert_process_stopped() end ...
26.034335
106
0.625783
f7526273f0832101fc4e8911c933f1b5e1f58b1d
2,023
exs
Elixir
test/adoptoposs_web/live/repo_live_test.exs
floriank/adoptoposs
02d1a8d87dbb36ee7364ae737241d6b129d0bf2d
[ "MIT" ]
null
null
null
test/adoptoposs_web/live/repo_live_test.exs
floriank/adoptoposs
02d1a8d87dbb36ee7364ae737241d6b129d0bf2d
[ "MIT" ]
1
2021-05-11T20:15:21.000Z
2021-05-11T20:15:21.000Z
test/adoptoposs_web/live/repo_live_test.exs
floriank/adoptoposs
02d1a8d87dbb36ee7364ae737241d6b129d0bf2d
[ "MIT" ]
null
null
null
defmodule AdoptopossWeb.RepoLiveTest do use AdoptopossWeb.LiveCase alias Adoptoposs.Tags.Tag test "disconnected mount of /settings/repos/:orga_id when logged out", %{conn: conn} do conn = get(conn, Routes.live_path(conn, AdoptopossWeb.RepoLive, "orga")) assert html_response(conn, 302) assert conn.ha...
36.781818
100
0.672269
f7528283b0fb6c8f1a99708d024737b247e2890a
10,577
ex
Elixir
lib/cizen/saga.ex
Hihaheho-Studios/Cizen
09ba3c66aa11d0db913ffde804509bc7bef80db9
[ "MIT" ]
null
null
null
lib/cizen/saga.ex
Hihaheho-Studios/Cizen
09ba3c66aa11d0db913ffde804509bc7bef80db9
[ "MIT" ]
null
null
null
lib/cizen/saga.ex
Hihaheho-Studios/Cizen
09ba3c66aa11d0db913ffde804509bc7bef80db9
[ "MIT" ]
null
null
null
defmodule Cizen.Saga do @moduledoc """ The saga behaviour ## Example defmodule SomeSaga do use Cizen.Saga defstruct [] @impl true def on_start(%__MODULE__{}) do saga end @impl true def handle_event(_event, state) do state ...
25.303828
104
0.612272
f75287fd1112ce468f10dd8810f25f86a2184d67
69
exs
Elixir
apps/led_status/test/led_status_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/led_status/test/led_status_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/led_status/test/led_status_test.exs
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule LedStatusTest do use ExUnit.Case doctest LedStatus end
13.8
26
0.811594
f7531e64ed431e7c802ffd73c97deea2d7d05a7a
2,727
exs
Elixir
test/plug/logger_test.exs
zph/ex_json_logger
e744f5b79e41ce105976e3d7ad0406526c9c6890
[ "MIT" ]
null
null
null
test/plug/logger_test.exs
zph/ex_json_logger
e744f5b79e41ce105976e3d7ad0406526c9c6890
[ "MIT" ]
null
null
null
test/plug/logger_test.exs
zph/ex_json_logger
e744f5b79e41ce105976e3d7ad0406526c9c6890
[ "MIT" ]
1
2020-02-04T17:48:30.000Z
2020-02-04T17:48:30.000Z
defmodule ExJsonLogger.Plug.LoggerTest do use ExUnit.Case, async: true use Plug.Test import TestUtils, only: [capture_log: 1] require Logger @default_metadata [ :method, :path, :status, :duration ] @phoenix_metadata [ :format, :controller, :action ] defmodule MyApp do ...
21.991935
62
0.570224
f7532181e6f92879d81fd16e62539d5f2bee2ff4
3,640
ex
Elixir
lib/glimesh_web/live/user_live/components/channel_title.ex
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
lib/glimesh_web/live/user_live/components/channel_title.ex
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
lib/glimesh_web/live/user_live/components/channel_title.ex
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserLive.Components.ChannelTitle do use GlimeshWeb, :live_view import Gettext, only: [with_locale: 2] alias Glimesh.ChannelCategories alias Glimesh.ChannelLookups alias Glimesh.Streams @impl true def render(assigns) do ~L""" <%= if @can_change do %> <%= if !@editing do...
32.212389
249
0.604121
f7537c4b05f2589234e95f1e28dfbdd48d8e2c66
357
ex
Elixir
test/support/test_setup/state.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/support/test_setup/state.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/support/test_setup/state.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.TestSetup.State do alias Nectar.Repo @default_state_attrs %{name: "State", abbr: "ST", country_id: -1} def valid_attrs, do: @default_state_attrs def create_state(country, state_attrs \\ @default_state_attrs) do Nectar.State.changeset(%Nectar.State{}, Map.put(state_attrs, :country_id, cou...
27.461538
106
0.736695
f7538f77ee76ed28859ee7b2a78c30f7fa36bc38
899
ex
Elixir
lib/level/schemas/open_invitation.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
lib/level/schemas/open_invitation.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
lib/level/schemas/open_invitation.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule Level.Schemas.OpenInvitation do @moduledoc """ The OpenInvitation schema. """ use Ecto.Schema import Ecto.Changeset alias Level.Schemas.Space @type t :: %__MODULE__{} @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "open_invitations" do field...
19.12766
59
0.667408
f75391f0dd08cbe87e2530efe3bf3ca4bd5178f6
23,388
exs
Elixir
installer/test/phx_new_umbrella_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
1
2019-07-15T21:58:09.000Z
2019-07-15T21:58:09.000Z
installer/test/phx_new_umbrella_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
null
null
null
installer/test/phx_new_umbrella_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
null
null
null
Code.require_file "mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.New.UmbrellaTest do use ExUnit.Case, async: false import MixHelper @app "phx_umb" setup config do # The shell asks to install deps. # We will politely say not. decline_prompt() {:ok, tmp_dir: to_string(config.test)} end ...
42.601093
131
0.631178
f753bee948f8b83476d23d1b98204c989cea18bc
120
exs
Elixir
apps/evm/test/evm/mock/mock_block_header_info_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/evm/test/evm/mock/mock_block_header_info_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/evm/test/evm/mock/mock_block_header_info_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule EVM.Mock.MockBlockHeaderInfoTest do use ExUnit.Case, async: true doctest EVM.Mock.MockBlockHeaderInfo end
24
45
0.825
f753ca71086843191baa53de238f7b989ed4e788
10,869
exs
Elixir
test/livebook/notebook_test.exs
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
test/livebook/notebook_test.exs
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
test/livebook/notebook_test.exs
howard0su/livebook
6b7825871338af0ec3f4196ec3e17d2670e6a92c
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.NotebookTest do use ExUnit.Case, async: true alias Livebook.Notebook alias Livebook.Notebook.{Section, Cell} describe "fetch_cell_sibling/3" do test "returns error given invalid cell id" do notebook = Notebook.new() assert :error == Notebook.fetch_cell_sibling(notebook, "1"...
27.104738
93
0.379244
f753ecd71d7e94d37416ad19ee3ecab836aac965
1,636
exs
Elixir
test/translator_test.exs
rktjmp/structured_console
9befb1ce73ad60a5e3dafe104a5075cef7c85281
[ "MIT" ]
null
null
null
test/translator_test.exs
rktjmp/structured_console
9befb1ce73ad60a5e3dafe104a5075cef7c85281
[ "MIT" ]
null
null
null
test/translator_test.exs
rktjmp/structured_console
9befb1ce73ad60a5e3dafe104a5075cef7c85281
[ "MIT" ]
null
null
null
defmodule StructuredConsole.TranslatorTest do use ExUnit.Case import ExUnit.CaptureLog alias StructuredConsole.Translator doctest StructuredConsole.Translator describe "signature pattern match" do test "keyword data" do assert {:ok, _} = Translator.translate(:any, :any, :report, {:logger, [key: :v...
38.046512
93
0.648533
f753f28c9acded8b5c4dcf9f1236c72618a507f4
1,193
ex
Elixir
lib/loaded_bike/web/channels/user_socket.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
48
2017-04-25T16:02:08.000Z
2021-01-23T01:57:29.000Z
lib/loaded_bike/web/channels/user_socket.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
5
2018-03-09T20:17:55.000Z
2018-07-23T16:29:21.000Z
lib/loaded_bike/web/channels/user_socket.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
4
2017-05-21T14:38:38.000Z
2017-12-29T11:09:54.000Z
defmodule LoadedBike.UserSocket do use Phoenix.Socket use Drab.Socket ## Channels # channel "room:*", LoadedBike.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be us...
30.589744
83
0.704107
f753f32f336c27efa04177303d7cd443af361cb2
162
exs
Elixir
test/fixtures/parser/safety_assured_create_index.exs
maximemenager/strong_migrations
b7e091d2cfed73098d3bf683c7ce5c8ceee3159b
[ "MIT" ]
23
2021-10-29T19:58:35.000Z
2021-11-13T21:42:45.000Z
test/fixtures/parser/safety_assured_create_index.exs
maximemenager/strong_migrations
b7e091d2cfed73098d3bf683c7ce5c8ceee3159b
[ "MIT" ]
1
2022-02-07T12:15:16.000Z
2022-02-07T12:15:16.000Z
test/fixtures/parser/safety_assured_create_index.exs
surgeventures/strong_migrations
3c82e34a6e7a372c6de17ba7a0b07da7664baa26
[ "MIT" ]
3
2021-10-31T02:14:10.000Z
2021-11-09T08:07:22.000Z
defmodule SafetyAssuredCreateIndex do @moduledoc false use StrongMigrations def change do safety_assured(do: create(index(:users, :email))) end end
16.2
53
0.753086
f753f39347cdc712d15a5719db60132cc1ee2d1e
1,008
ex
Elixir
lib/sobelow/meta_log.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
1,305
2017-05-12T21:09:40.000Z
2022-03-31T04:31:49.000Z
lib/sobelow/meta_log.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
95
2017-05-15T09:45:41.000Z
2022-03-23T03:35:48.000Z
lib/sobelow/meta_log.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
86
2017-05-15T20:18:59.000Z
2022-02-11T22:10:34.000Z
defmodule Sobelow.MetaLog do use GenServer alias Sobelow.Parse def start_link() do GenServer.start_link(__MODULE__, :ok, name: __MODULE__) end def add_templates(templates) do GenServer.cast(__MODULE__, {:add, templates}) end def get_templates() do GenServer.call(__MODULE__, :get_templates) ...
23.44186
72
0.667659
f75419582c61c948420dd1cb10aa71403a26e904
2,729
ex
Elixir
lib/bi_web/channels/presence.ex
xuyizhe/phoenix-sample
9f5a79d9da13858a62d0d9316f799e8cf89d0038
[ "MIT" ]
null
null
null
lib/bi_web/channels/presence.ex
xuyizhe/phoenix-sample
9f5a79d9da13858a62d0d9316f799e8cf89d0038
[ "MIT" ]
null
null
null
lib/bi_web/channels/presence.ex
xuyizhe/phoenix-sample
9f5a79d9da13858a62d0d9316f799e8cf89d0038
[ "MIT" ]
null
null
null
defmodule BiWeb.Presence do @moduledoc """ Provides presence tracking to channels and processes. See the [`Phoenix.Presence`](http://hexdocs.pm/phoenix/Phoenix.Presence.html) docs for more details. ## Usage Presences can be tracked in your channel after joining: defmodule Bi.MyChannel do u...
36.878378
79
0.669476
f75428619b67319602c460700e06a44372bf1e2f
65
ex
Elixir
lib/pbbuilder_web/views/page_view.ex
StBarCo/pbbuilder
9d6eb47d6137a6a16cd746a0c1418493f94043d5
[ "MIT" ]
null
null
null
lib/pbbuilder_web/views/page_view.ex
StBarCo/pbbuilder
9d6eb47d6137a6a16cd746a0c1418493f94043d5
[ "MIT" ]
null
null
null
lib/pbbuilder_web/views/page_view.ex
StBarCo/pbbuilder
9d6eb47d6137a6a16cd746a0c1418493f94043d5
[ "MIT" ]
null
null
null
defmodule PbbuilderWeb.PageView do use PbbuilderWeb, :view end
16.25
34
0.815385
f7543c8fb0b60fb3d4264995bcff48e1d5f00fa7
2,655
ex
Elixir
apps/ex_wire/lib/ex_wire/packet.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
14
2017-08-21T06:14:49.000Z
2020-05-15T12:00:52.000Z
apps/ex_wire/lib/ex_wire/packet.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
7
2017-08-11T07:50:14.000Z
2018-08-23T20:42:50.000Z
apps/ex_wire/lib/ex_wire/packet.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
3
2017-08-20T17:56:41.000Z
2018-08-21T00:36:10.000Z
defmodule ExWire.Packet do @moduledoc """ Packets handle serializing and deserializing framed packet data from the DevP2P and Eth Wire Protocols. They also handle how to respond to incoming packets. """ alias ExWire.Packet @type packet :: %{} @type block_identifier :: binary() | integer() @type bloc...
30.170455
105
0.664783
f75482eebb26fccf682d287ee7915905c3fc1251
1,272
ex
Elixir
apps/studio/lib/studio/painter/pycasso.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
null
null
null
apps/studio/lib/studio/painter/pycasso.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
11
2020-01-28T22:19:10.000Z
2022-03-11T23:18:18.000Z
apps/studio/lib/studio/painter/pycasso.ex
danmarcab/deep_painting
860c7d02bd6b112fffa199f715e61d895cba6623
[ "Apache-2.0" ]
null
null
null
defmodule Studio.Painter.Pycasso do @moduledoc """ Real implementation of a port that comunicates with pycasso to use with Studio.Painter """ require Logger alias Painting.Settings def start(%Painting{} = painting) do executable = System.get_env("PYCASSO_PATH") || Application.get_env(:studio, :pycass...
28.266667
94
0.668239
f7549d9ed59d31471c4ae69ee5518fe1abb8da21
27,852
exs
Elixir
test/phoenix/router/helpers_test.exs
mcrumm/phoenix
c3613cadec9ba7c45a8a36360ce8dde905f80ff3
[ "MIT" ]
null
null
null
test/phoenix/router/helpers_test.exs
mcrumm/phoenix
c3613cadec9ba7c45a8a36360ce8dde905f80ff3
[ "MIT" ]
null
null
null
test/phoenix/router/helpers_test.exs
mcrumm/phoenix
c3613cadec9ba7c45a8a36360ce8dde905f80ff3
[ "MIT" ]
null
null
null
modules = [ PostController, ChatController, UserController, CommentController, FileController, ProductController, TrailController, VistaController, Admin.MessageController, SubPlug ] for module <- modules do defmodule module do def init(opts), do: opts def call(conn, _opts), do: conn en...
44.778135
145
0.669934
f754debe5e8bb5b5ef54048a077fc2bb89d16f63
3,011
ex
Elixir
plugins/ucc_chat/lib/ucc_chat_web/channels/room_channel/reaction.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/channels/room_channel/reaction.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/channels/room_channel/reaction.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChatWeb.RoomChannel.Reaction do use UccLogger use UcxUccWeb.Gettext use UccChatWeb.RoomChannel.Constants # import UccChatWeb.RebelChannel.Client alias UccChatWeb.Client alias UccChat.{Reaction, Message} alias UcxUcc.{Accounts, Repo, UccPubSub} def select(socket, sender, client \\ Client...
27.623853
85
0.640319
f754e882e8c845b73b1606f4c79ce6997128531f
6,938
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_response_message.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_v3beta1_response_message.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_v3beta1_response_message.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
59.299145
870
0.767512
f7551e6471bfc710aa077493dfb54e8ff7f77a08
589
ex
Elixir
lib/timber/contexts/job_context.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
lib/timber/contexts/job_context.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
lib/timber/contexts/job_context.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
defmodule Timber.Contexts.JobContext do @moduledoc """ The job context tracks the execution of background jobs or any isolated task with a reference. Add it like: ```elixir %Timber.Contexts.JobContext{attempt: 1, id: "my_job_id", queue_name: "my_job_queue"} |> Timber.add_context() ``` """ @type t ::...
21.814815
86
0.651952
f75532f24410d38d3a88a552c7ba098692e0200a
1,685
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/non_guaranteed_fixed_price_terms.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/non_guaranteed_fixed_price_terms.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/non_guaranteed_fixed_price_terms.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...
35.851064
150
0.764392
f75536c02f371e7bb696594b737d09dc30ab2c67
1,150
ex
Elixir
lib/canon_web/endpoint.ex
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
lib/canon_web/endpoint.ex
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
lib/canon_web/endpoint.ex
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
defmodule CanonWeb.Endpoint do use Phoenix.Endpoint, otp_app: :canon socket "/socket", CanonWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your static file...
25.555556
63
0.7
f75579dfb4530702a51b79c8d66b0f846401ae62
235
exs
Elixir
priv/repo/migrations/20161215052051_add_user_id_and_endpoint_to_stripe_events.exs
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
priv/repo/migrations/20161215052051_add_user_id_and_endpoint_to_stripe_events.exs
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
priv/repo/migrations/20161215052051_add_user_id_and_endpoint_to_stripe_events.exs
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Repo.Migrations.AddUserIdAndEndpointToStripeEvents do use Ecto.Migration def change do alter table(:stripe_events) do add :endpoint, :string, null: false add :user_id, :string end end end
21.363636
73
0.72766
f755abae303eb867c1503dd8bfe418b6270af9b5
418
ex
Elixir
core/async_job/raft_per_member_options_maker.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
core/async_job/raft_per_member_options_maker.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
core/async_job/raft_per_member_options_maker.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.AsyncJob.RaftPerMemberOptionsMaker do @behaviour RaftFleet.PerMemberOptionsMaker @impl true defun make(name :: v[atom]) :: [RaftedValue.option()] do dir = Path.join(AntikytheraCore.Path.raft_persistence_dir_p...
29.857143
93
0.755981
f7560e569140731bf96842f17dfc54e1a6c2d180
1,610
ex
Elixir
lib/cforum_web/views/archive_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/views/archive_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/views/archive_view.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.ArchiveView do use CforumWeb, :view alias CforumWeb.Paginator alias CforumWeb.Views.ViewHelpers.Path defp forum_name(%{current_forum: forum}) when not is_nil(forum), do: forum.name defp forum_name(_), do: gettext("all forums") def page_title(:years, assigns), do: gettext("archive – %{...
31.568627
106
0.652174
f75618931807d286b764aab74abf3f1e02863deb
2,493
ex
Elixir
priv/templates/phx.gen.context/schema_access.ex
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
8
2019-06-02T05:02:36.000Z
2021-08-11T04:23:10.000Z
priv/templates/phx.gen.context/schema_access.ex
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
7
2019-05-15T08:32:51.000Z
2020-06-10T07:46:43.000Z
priv/templates/phx.gen.context/schema_access.ex
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
1
2019-06-02T05:02:47.000Z
2019-06-02T05:02:47.000Z
alias <%= inspect schema.module %> @doc """ Returns the list of <%= schema.plural %>. ## Examples iex> list_<%= schema.plural %>() [%<%= inspect schema.alias %>{}, ...] """ def list_<%= schema.plural %> do Repo.all(<%= inspect schema.alias %>) end @doc """ Gets a single <%= schem...
25.701031
102
0.559968
f756226b91fb45002968e7a838b508f1ba8c9b68
26
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/DecimalWholeNumber.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/matched_two_operation_parsing_test_case/DecimalWholeNumber.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/matched_two_operation_parsing_test_case/DecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
1 ++ 2 3 -- 4 5..6 7 <> 8
5.2
6
0.307692
f7563c7e20afdb6e1b195d557683d86d9bae3d88
2,959
exs
Elixir
elixir-agenda/test/hello_web/controllers/phone_controller_test.exs
Tigermisu/clase-lab-web
f71f6f414636355627e26ad2218c932896104b58
[ "MIT" ]
null
null
null
elixir-agenda/test/hello_web/controllers/phone_controller_test.exs
Tigermisu/clase-lab-web
f71f6f414636355627e26ad2218c932896104b58
[ "MIT" ]
null
null
null
elixir-agenda/test/hello_web/controllers/phone_controller_test.exs
Tigermisu/clase-lab-web
f71f6f414636355627e26ad2218c932896104b58
[ "MIT" ]
null
null
null
defmodule HelloWeb.PhoneControllerTest do use HelloWeb.ConnCase alias Hello.Agenda @create_attrs %{address: "some address", email: "some email", last_name: "some last_name", name: "some name", phone: "some phone", phone_type: "some phone_type"} @update_attrs %{address: "some updated address", email: "some upd...
33.247191
211
0.66171
f75646a39929f874b090a07c3407aebde9c5926b
3,588
ex
Elixir
lib/exshome_web/live/app_page.ex
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
2
2021-12-21T16:32:56.000Z
2022-02-22T17:06:39.000Z
lib/exshome_web/live/app_page.ex
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
lib/exshome_web/live/app_page.ex
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
defmodule ExshomeWeb.Live.AppPage do @moduledoc """ Generic module for app pages. """ alias Exshome.Dependency alias Phoenix.LiveView alias Phoenix.LiveView.Socket import Phoenix.LiveView.Helpers @callback action() :: atom() @callback app_module() :: atom() @callback view_module() :: atom() @call...
25.446809
74
0.603122
f756bfc331182af897035a1d2dfc0db9f89d5bc9
154
exs
Elixir
class-1/hello_world/test/hello_world_test.exs
lucdelrio/elixir-training
24ae5748fc945764dd1b3f673b408593c22f93a2
[ "MIT" ]
null
null
null
class-1/hello_world/test/hello_world_test.exs
lucdelrio/elixir-training
24ae5748fc945764dd1b3f673b408593c22f93a2
[ "MIT" ]
1
2020-05-07T15:39:30.000Z
2020-05-07T15:39:30.000Z
class-1/hello_world/test/hello_world_test.exs
lucdelrio/elixir-training
24ae5748fc945764dd1b3f673b408593c22f93a2
[ "MIT" ]
null
null
null
defmodule HelloWorldTest do use ExUnit.Case doctest HelloWorld test "greets the world" do assert HelloWorld.hello() == "Hello World" end end
17.111111
46
0.727273
f756cdef18dd6280095915ab80b89e6076c6418b
885
ex
Elixir
lib/blurhash/utils.ex
rinpatch/blurhash
2905adae167971a9ccc714c648bb43419ffb7118
[ "MIT" ]
5
2021-06-17T15:44:06.000Z
2022-03-13T02:49:15.000Z
lib/blurhash/utils.ex
rinpatch/blurhash
2905adae167971a9ccc714c648bb43419ffb7118
[ "MIT" ]
null
null
null
lib/blurhash/utils.ex
rinpatch/blurhash
2905adae167971a9ccc714c648bb43419ffb7118
[ "MIT" ]
null
null
null
defmodule Blurhash.Utils do def srgb_to_linear(srgb_color) do value = srgb_color / 255 if value <= 0.04045, do: value / 12.92, else: :math.pow((value + 0.055) / 1.055, 2.4) end def linear_to_srgb(linear_color) do value = max(0, min(1, linear_color)) if value <= 0.0031308, do: ...
22.125
74
0.577401
f756d9c5488f181663e4b6539086d7912492edd0
219
ex
Elixir
lib/ecto/query/having_builder.ex
knewter/ecto
faacfeef25e35c42b1e97323b03d5bed9ba51416
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/having_builder.ex
knewter/ecto
faacfeef25e35c42b1e97323b03d5bed9ba51416
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/having_builder.ex
knewter/ecto
faacfeef25e35c42b1e97323b03d5bed9ba51416
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.HavingBuilder do @moduledoc false alias Ecto.Query.BuilderUtil # Escapes a having expression, see `BuilderUtil.escape` def escape(ast, vars) do BuilderUtil.escape(ast, vars) end end
19.909091
57
0.748858
f756fc2c91817c419f3cb32b5caec9be46c1210f
1,777
ex
Elixir
clients/iap/lib/google_api/iap/v1/model/identity_aware_proxy_client.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/iap/lib/google_api/iap/v1/model/identity_aware_proxy_client.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/iap/lib/google_api/iap/v1/model/identity_aware_proxy_client.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.528302
107
0.714125
f7570eceb3cc9a417387a6051b3007e4d6de8da2
934
ex
Elixir
web/controllers/start_controller.ex
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
web/controllers/start_controller.ex
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
web/controllers/start_controller.ex
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
defmodule Namuraid.StartController do use Namuraid.Web, :controller require Logger def index(conn, _params) do _render(conn) end def create(conn, %{"start" => %{"interval" => interval, "count" => count, "from" => from, "running" => running} = start } = _params) do Namuraid.State.set(:...
31.133333
72
0.650964
f7572bdd04c631d5e3ab01659b0cbb542167c6d3
403
exs
Elixir
config/test.exs
amattn/ElixirSlackWebAPI
68071c10e49200b1788b5f7180c7457f9223136d
[ "MIT" ]
null
null
null
config/test.exs
amattn/ElixirSlackWebAPI
68071c10e49200b1788b5f7180c7457f9223136d
[ "MIT" ]
null
null
null
config/test.exs
amattn/ElixirSlackWebAPI
68071c10e49200b1788b5f7180c7457f9223136d
[ "MIT" ]
null
null
null
use Mix.Config # Print only warnings and errors during test config :logger, level: :warn, truncate: :infinity # Here's an example of configuring this library to route requests through a Proxyman.io proxy. # https://proxyman.io # config :slack_web, # :web_http_client_opts, # proxy: {"127.0.0.1", 9090}, ...
31
94
0.689826
f75739137f5b72a948bcea64d2a068849a90348e
1,729
exs
Elixir
apps/resource_manager/test/resource_manager/identity/commands/get_identity_test.exs
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/resource_manager/test/resource_manager/identity/commands/get_identity_test.exs
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/resource_manager/test/resource_manager/identity/commands/get_identity_test.exs
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule ResourceManager.Identities.Commands.GetIdentityTest do @moduledoc false use ResourceManager.DataCase, async: true alias ResourceManager.Identities.Commands.GetIdentity alias ResourceManager.Identities.Commands.Inputs.{GetClientApplication, GetUser} alias ResourceManager.Identities.Schemas.{ClientA...
33.901961
91
0.680162
f7574ec99ffb51a627174629742b38fbd86f1b45
126
exs
Elixir
test/lwf_test.exs
lwfofficial/autovoting
0f833415c0250aad3b09c0d286875c3454d9727a
[ "MIT" ]
3
2018-07-12T11:58:34.000Z
2018-07-14T08:49:22.000Z
test/lwf_test.exs
sgessa/lwf-pool-checker
0f833415c0250aad3b09c0d286875c3454d9727a
[ "MIT" ]
null
null
null
test/lwf_test.exs
sgessa/lwf-pool-checker
0f833415c0250aad3b09c0d286875c3454d9727a
[ "MIT" ]
null
null
null
defmodule LWFTest do use ExUnit.Case doctest LWF test "greets the world" do assert LWF.hello() == :world end end
14
32
0.68254
f75765ebdebbc9b5918ed7f8a07542692b82d777
1,666
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/cloud_pubsub_topic.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/classroom/lib/google_api/classroom/v1/model/cloud_pubsub_topic.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/classroom/lib/google_api/classroom/v1/model/cloud_pubsub_topic.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...
35.446809
199
0.744898
f757edb57522f02bf43d3b07af01dfe1d3056ecc
5
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_pipe_operation_parsing_test_case/DecimalWholeNumber.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/matched_pipe_operation_parsing_test_case/DecimalWholeNumber.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/matched_pipe_operation_parsing_test_case/DecimalWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
1 | 2
5
5
0.4
f7582574068bf83b553e5f9dcc72ac348d010c67
2,268
ex
Elixir
apps/ello_auth/lib/ello_auth/client_properties.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_auth/lib/ello_auth/client_properties.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_auth/lib/ello_auth/client_properties.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Auth.ClientProperties do use Plug.Builder plug :android plug :ios_version_from_header plug :ios_version_from_ua plug :ios plug :webapp plug :nudity plug :nsfw defp android(conn, _) do with [ua | _] <- get_req_header(conn, "user_agent"), true <- Regex.match?(~r/Ello ...
32.4
100
0.631393
f75826a9823f0880d75b3f8e32cc9fe17d8e9e52
258
exs
Elixir
apps/performance_3/config/prod.exs
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/performance_3/config/prod.exs
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/performance_3/config/prod.exs
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
use Mix.Config config :metrics_collector, MetricsCollector.Web.Endpoint, on_init: {MetricsCollector.Web.Endpoint, :load_from_system_env, []}, url: [ host: "example.com", port: 80 ] config :logger, level: :info import_config "prod.secret.exs"
21.5
70
0.72093
f75826b8c40afd365419955ca18aa2c2dbb29940
1,523
exs
Elixir
apps/banking_api/mix.exs
kmsskelly/banking_api
89b8682e9317e045396bb783b7f0282ea8a4e13b
[ "Apache-2.0" ]
null
null
null
apps/banking_api/mix.exs
kmsskelly/banking_api
89b8682e9317e045396bb783b7f0282ea8a4e13b
[ "Apache-2.0" ]
null
null
null
apps/banking_api/mix.exs
kmsskelly/banking_api
89b8682e9317e045396bb783b7f0282ea8a4e13b
[ "Apache-2.0" ]
null
null
null
defmodule BankingApi.MixProject do use Mix.Project def project do [ app: :banking_api, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.11", elixirc_paths: eli...
25.813559
79
0.582403
f758424987f8ed71167b3b4135f7265d4b6e8043
529
exs
Elixir
test/views/file_view_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
test/views/file_view_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
test/views/file_view_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
defmodule Opencov.FileViewTest do use Opencov.ConnCase, async: true import Opencov.FileView, only: [filters: 0, short_name: 1] test "filters" do assert Enum.count(filters()) == 4 end test "short_name" do assert short_name("foo/bar") == "foo/bar" assert short_name("foo/bar/baz") == "foo/bar/baz"...
27.842105
63
0.635161
f75868c788f0099324fde5b7b038cf3ba02fb91e
711
ex
Elixir
lib/portalcs_web/gettext.ex
pedromcorreia/portal-construindo-sabere
116402e21d9c1e7b02be2966460c90dcea7d09cd
[ "MIT" ]
null
null
null
lib/portalcs_web/gettext.ex
pedromcorreia/portal-construindo-sabere
116402e21d9c1e7b02be2966460c90dcea7d09cd
[ "MIT" ]
null
null
null
lib/portalcs_web/gettext.ex
pedromcorreia/portal-construindo-sabere
116402e21d9c1e7b02be2966460c90dcea7d09cd
[ "MIT" ]
null
null
null
defmodule PortalcsWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import PortalcsWeb.Gettext # Simple translation gettext "Here is...
28.44
72
0.682138
f75899d445fcddffd3895637cbefe7ca8c9804c5
446
exs
Elixir
backend/test/caffe_web/views/error_view_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/test/caffe_web/views/error_view_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/test/caffe_web/views/error_view_test.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
defmodule CaffeWeb.ErrorViewTest do use CaffeWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(CaffeWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 500.json" do ...
27.875
90
0.67713
f7589dacde97d65ca8c0d508a772107423348291
68
ex
Elixir
lib/events_tools_web/views/tag_view.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
lib/events_tools_web/views/tag_view.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
6
2017-10-05T20:16:34.000Z
2017-10-05T20:36:11.000Z
lib/events_tools_web/views/tag_view.ex
apps-team/events-tools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
defmodule EventsToolsWeb.TagView do use EventsToolsWeb, :view end
17
35
0.823529
f758b1845341119049d66d54a47029c1b3cc6f35
52
ex
Elixir
lib/ueberauth_linear.ex
withbroadcast/ueberauth-linear
5ad958ce2556d808a6dd8e6238ae2b4d5af4a25d
[ "MIT" ]
3
2021-07-01T16:18:01.000Z
2021-07-01T18:27:28.000Z
lib/ueberauth_linear.ex
withbroadcast/ueberauth_linear
5ad958ce2556d808a6dd8e6238ae2b4d5af4a25d
[ "MIT" ]
null
null
null
lib/ueberauth_linear.ex
withbroadcast/ueberauth_linear
5ad958ce2556d808a6dd8e6238ae2b4d5af4a25d
[ "MIT" ]
null
null
null
defmodule UeberauthLinear do @moduledoc false end
13
28
0.826923
f75909dd33a65d595bb0d410fe164c4db7c57f63
1,808
exs
Elixir
onboarding/service/mix.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
onboarding/service/mix.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
onboarding/service/mix.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule OnboardingService.Mixfile do use Mix.Project def project do [app: :onboarding_service, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), erlc_paths: ["erl"], compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, ...
30.644068
89
0.599558
f7594a230a7c9cb7162474bd5a0ee9351ea2f641
323
ex
Elixir
lib/list_process.ex
hacksu/elixir-basics
37e791d3f6a6af2ee328aadb1cb31c7f67492363
[ "MIT" ]
null
null
null
lib/list_process.ex
hacksu/elixir-basics
37e791d3f6a6af2ee328aadb1cb31c7f67492363
[ "MIT" ]
null
null
null
lib/list_process.ex
hacksu/elixir-basics
37e791d3f6a6af2ee328aadb1cb31c7f67492363
[ "MIT" ]
null
null
null
defmodule ListProcess do def start_link do Task.start_link fn -> loop([]) end end def loop(list) do receive do {:get, caller} -> send caller, list loop list {:add, item} -> loop list ++ [item] {:remove, item} -> loop List.delete(list, item) end end ...
19
38
0.544892
f7595db7425e7f17719af1f2baa2f43dcdcc2283
3,385
ex
Elixir
lib/absinthe/type/object.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
lib/absinthe/type/object.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
lib/absinthe/type/object.ex
pulkit110/absinthe
fa2060307a401d0943bde72d08267602e4027889
[ "MIT" ]
null
null
null
defmodule Absinthe.Type.Object do @moduledoc """ Represents a non-leaf node in a GraphQL tree of information. Objects represent a list of named fields, each of which yield a value of a specific type. Object values are serialized as unordered maps, where the queried field names (or aliases) are the keys and t...
28.931624
316
0.626883
f75966931e9dc456546eecf532d6a0f7aac8341d
2,692
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/export_context.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/export_context.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/export_context.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...
45.627119
361
0.758172
f75996f1ecda7dc90feaa62279f62e598cd1f7fd
9,365
exs
Elixir
test/central_web/controllers/account/forgotten_password_controller_test.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
test/central_web/controllers/account/forgotten_password_controller_test.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
test/central_web/controllers/account/forgotten_password_controller_test.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule CentralWeb.Account.ForgottenPasswordControllerTest do use CentralWeb.ConnCase alias Central.Account alias Central.Helpers.GeneralTestLib use Bamboo.Test setup do GeneralTestLib.conn_setup([], [:no_login]) end describe "mark password as forgotten" do test "render form", %{conn: conn} do...
30.907591
128
0.595729
f759a28c929139d5ca4c2b89ed99150d7e4604cb
3,229
exs
Elixir
test/ecto/repo/autogenerate_test.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
test/ecto/repo/autogenerate_test.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
test/ecto/repo/autogenerate_test.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
alias Ecto.TestRepo defmodule Ecto.Repo.AutogenerateTest do use ExUnit.Case, async: true defmodule Manager do use Ecto.Schema @timestamps_opts [inserted_at: :created_on] schema "manager" do timestamps updated_at: :updated_on, type: :utc_datetime end end defmodule Company do use Ect...
31.048077
89
0.693404
f759bb3ea005daecedaab8ae28fe41e347cdac15
189
ex
Elixir
lib/draft_web/controllers/admin_controller.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
lib/draft_web/controllers/admin_controller.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
lib/draft_web/controllers/admin_controller.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
defmodule DraftWeb.AdminController do use DraftWeb, :controller @spec index(Plug.Conn.t(), map) :: Plug.Conn.t() def index(conn, _params) do render(conn, "index.html") end end
21
50
0.693122