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
381e9d7fea8223fea4dc99409f058e601099bd5e
1,913
ex
Elixir
lib/session/session.ex
sntran/gists.io
74575514c0760cbfe2313b1479919ac45a29e8a2
[ "MIT" ]
1
2015-05-22T18:31:28.000Z
2015-05-22T18:31:28.000Z
lib/session/session.ex
sntran/gists.io
74575514c0760cbfe2313b1479919ac45a29e8a2
[ "MIT" ]
null
null
null
lib/session/session.ex
sntran/gists.io
74575514c0760cbfe2313b1479919ac45a29e8a2
[ "MIT" ]
1
2020-10-23T01:23:36.000Z
2020-10-23T01:23:36.000Z
defmodule Session do use GenServer.Behaviour alias :cowboy_req, as: Req alias :erlang, as: E defrecord SessionRec, store: nil, state: nil def start_link() do case :application.get_env(:sessions) do # Get the environment for session for the current application. # If no config, ignore the creation of this ...
28.984848
80
0.66597
381eab7f87bd2e8758aa69c30e880cfaed4cf2ae
2,130
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_transition_route_group_coverage_coverage_transition.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_transition_route_group_coverage_coverage_transition.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_transition_route_group_coverage_coverage_transition.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...
34.918033
161
0.756808
381ebf2aa6cb8f212a37012ff8bb9082913ee393
172
ex
Elixir
lib/hologram/compiler/call_graph_builder/atom_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/call_graph_builder/atom_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/call_graph_builder/atom_type.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
# TODO: test alias Hologram.Compiler.CallGraphBuilder alias Hologram.Compiler.IR.AtomType defimpl CallGraphBuilder, for: AtomType do def build(_, _, _, _), do: nil end
19.111111
42
0.767442
381ec735ea5b3660d2a094fb29e0015449b9a1c8
434
exs
Elixir
priv/repo/migrations/20210426082529_remove_topic_tables.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20210426082529_remove_topic_tables.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20210426082529_remove_topic_tables.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.RemoveTopicTables do use Ecto.Migration def change do alter table(:tags) do remove(:topic_id) end drop(unique_index(:pined_posts, [:post_id, :community_id, :topic_id])) alter table(:pined_posts) do remove(:topic_id) end create(unique_i...
20.666667
74
0.691244
381efbd5dcdf6dff019a327d53886f525e65d7f2
2,712
ex
Elixir
lib/mix/lib/mix/tasks/app.tree.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2019-04-29T12:35:51.000Z
2019-04-29T12:35:51.000Z
lib/mix/lib/mix/tasks/app.tree.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/mix/lib/mix/tasks/app.tree.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule Mix.Tasks.App.Tree do use Mix.Task @shortdoc "Prints the application tree" @recursive true @moduledoc """ Prints the application tree. mix app.tree --exclude logger --exclude elixir If no application is given, it uses the current application defined in the `mix.exs` file. ## Command...
28.25
90
0.623525
381f0cb08b6be16a0ca68b71ed9816447ac0bf3a
6,807
ex
Elixir
lib/loadfest.ex
Logflare/loadfest
720e9850d519940ed54d487ece61760cb8766d0e
[ "MIT" ]
1
2021-01-28T11:14:54.000Z
2021-01-28T11:14:54.000Z
lib/loadfest.ex
Logflare/loadfest
720e9850d519940ed54d487ece61760cb8766d0e
[ "MIT" ]
31
2019-07-17T05:50:52.000Z
2021-06-25T15:20:04.000Z
lib/loadfest.ex
Logflare/loadfest
720e9850d519940ed54d487ece61760cb8766d0e
[ "MIT" ]
null
null
null
defmodule LoadFest do @moduledoc """ Load tester for Logflare. """ require Logger @doc """ POSTs async a lot to a Logflare source. ## Examples """ def post_async(count, env) do for line <- 1..count do Task.Supervisor.start_child(LoadFest.TaskSupervisor, fn -> post("#{line}", env)...
24.138298
91
0.591009
381f1a7328709cf134461cd29c1844bc59a480a4
4,652
ex
Elixir
clients/run/lib/google_api/run/v1/model/probe.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/probe.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/probe.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...
33.710145
101
0.694755
381f3dc4b667edcb999fdce0a5a5a4d146752594
15,761
ex
Elixir
lib/iex/lib/iex.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/iex/lib/iex.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule IEx do @moduledoc ~S""" Elixir's interactive shell. This module is the main entry point for Interactive Elixir and in this documentation we will talk a bit about how IEx works. Notice that some of the functionalities described here will not be available depending on your terminal. In particular,...
29.907021
97
0.667026
381f43d8bce188355a854ece8a8f7860ed8849af
14,759
exs
Elixir
installer/test/phx_new_test.exs
Luna-Izah/phoenix
a7e6d4ac0cab49ee2efe969ef60601dc7998f2a0
[ "MIT" ]
null
null
null
installer/test/phx_new_test.exs
Luna-Izah/phoenix
a7e6d4ac0cab49ee2efe969ef60601dc7998f2a0
[ "MIT" ]
null
null
null
installer/test/phx_new_test.exs
Luna-Izah/phoenix
a7e6d4ac0cab49ee2efe969ef60601dc7998f2a0
[ "MIT" ]
null
null
null
Code.require_file "mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.NewTest do use ExUnit.Case, async: false import MixHelper import ExUnit.CaptureIO @app_name "phx_blog" setup do # The shell asks to install deps. # We will politely say not. send self(), {:mix_shell_input, :yes?, false} :ok...
41.226257
156
0.656752
381f69604f35a453fa4128c756b449ad0d0db8fd
1,107
ex
Elixir
lib/makeup/styles/html/pygments/bw.ex
rubysolo/makeup
e1c5d27e3f14c04904d74b94b6298bbc28a406c3
[ "BSD-2-Clause" ]
null
null
null
lib/makeup/styles/html/pygments/bw.ex
rubysolo/makeup
e1c5d27e3f14c04904d74b94b6298bbc28a406c3
[ "BSD-2-Clause" ]
null
null
null
lib/makeup/styles/html/pygments/bw.ex
rubysolo/makeup
e1c5d27e3f14c04904d74b94b6298bbc28a406c3
[ "BSD-2-Clause" ]
null
null
null
defmodule Makeup.Styles.HTML.BlackWhiteStyle do @moduledoc false require Makeup.Token.TokenTypes alias Makeup.Token.TokenTypes, as: Tok @styles %{ Tok.error => "border:#FF0000", Tok.keyword => "bold", Tok.keyword_pseudo => "nobold", Tok.keyword_type => "nobold", Tok.name_class => "bold", ...
25.159091
47
0.625113
38201312faa93646df26d9e46eff3e8292e54737
350
ex
Elixir
lib/brew_ex/command.ex
wingyplus/brew_ex
d6c616c40435fad8b4c99475242ba4c91560b263
[ "MIT" ]
null
null
null
lib/brew_ex/command.ex
wingyplus/brew_ex
d6c616c40435fad8b4c99475242ba4c91560b263
[ "MIT" ]
null
null
null
lib/brew_ex/command.ex
wingyplus/brew_ex
d6c616c40435fad8b4c99475242ba4c91560b263
[ "MIT" ]
null
null
null
defmodule BrewEx.Command do def system(command, args) do System.cmd(command, args, cd: pwd(), into: IO.stream(:stdio, :line)) end def cd(path, fun) do File.cd!(path, fun) end def pwd() do File.cwd!() end def mkdir(path) do File.mkdir!(path) end def bash(command) do system("bash...
15.909091
72
0.608571
382051df935ef46de0ea93db188901cf600fe97f
8,713
exs
Elixir
test/crit/ecto/span_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
test/crit/ecto/span_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
test/crit/ecto/span_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule Crit.Ecto.SpanTest do # Testing of functions that work for both types of spans, using # Reservation as concrete database table. use Crit.DataCase alias Ecto.{Timespan,Datespan} import Ecto.Timespan # This has to be imported for query construction. alias Crit.Schemas.Reservation alias Crit.S...
37.882609
81
0.7094
38208f2350998d9a5609120ad4fe677ad7f583f4
720
ex
Elixir
lib/outer_web/live/user_session_live.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
lib/outer_web/live/user_session_live.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
lib/outer_web/live/user_session_live.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
defmodule OuterWeb.UserSessionLive do use OuterWeb, :live_controller alias Outer.Accounts alias OuterWeb.LiveUserAuth plug {LiveUserAuth, :redirect_if_user_is_authenticated} @action_handler true def new(socket, _params) do assign(socket, error_message: nil) end @event_handler true def create(so...
27.692308
101
0.708333
382093936952baad1563e854bd7d3dba6e75ec83
1,175
ex
Elixir
lib/liblink/socket/device.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
lib/liblink/socket/device.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
lib/liblink/socket/device.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 (c) Xerpa # # 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, so...
30.128205
84
0.695319
3820b28f97259e00f4a6a7c1d18482174cdd94d9
1,039
exs
Elixir
config/config.exs
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "MIT" ]
null
null
null
config/config.exs
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "MIT" ]
null
null
null
config/config.exs
jcamenisch/dnsierge
cfc1654ce0b2c34c8952845aa0df6113ff3bb406
[ "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 :dnsierge, ecto_repos: [Dnsierge.Repo] ...
32.46875
86
0.772859
3820d6574ff4b0f7c1fa701a29893b8fb04717c3
1,898
exs
Elixir
clients/android_publisher/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.328358
124
0.665964
3820dc9c5974f55362d8b1c941c1964ee61374f4
2,111
ex
Elixir
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/model/url_channels.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/model/url_channels.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/model/url_channels.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...
37.035088
208
0.729512
382103bfc5d3b0522c816aecd1c7844fdebb1ce9
4,682
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/distribution.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/service_control/lib/google_api/service_control/v1/model/distribution.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/distribution.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
63.27027
610
0.721487
382121e27716131ae232f5831bd8d8e0be909305
12,150
ex
Elixir
lib/brando_admin/components/form/input/blocks/picture_block.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando_admin/components/form/input/blocks/picture_block.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando_admin/components/form/input/blocks/picture_block.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule BrandoAdmin.Components.Form.Input.Blocks.PictureBlock do use BrandoAdmin, :live_component use Phoenix.HTML import Brando.Gettext alias Brando.Blueprint.Villain.Blocks.PictureBlock alias Brando.Utils alias Brando.Villain alias BrandoAdmin.Components.Content alias BrandoAdmin.Components.Form ...
33.287671
159
0.557202
38212c457ba4552fca03cf5d2ebb4789d8b2dcb6
1,409
ex
Elixir
lib/crit_web/controllers/current_user/settings_controller.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
lib/crit_web/controllers/current_user/settings_controller.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
lib/crit_web/controllers/current_user/settings_controller.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
defmodule CritWeb.CurrentUser.SettingsController do use CritWeb, :controller use CritWeb.Controller.Path, :current_user_settings_path alias Crit.Users alias Crit.Users.UniqueId alias Ecto.Changeset alias CritWeb.{PublicController, CurrentUser.SessionController} # No authentication is needed yet def fr...
31.311111
101
0.669269
382132dc816bd207d969e4c77095983746f84e20
2,236
exs
Elixir
mix.exs
MSP95/pdftotext
f68fb0c661d76c0a14fd8c3c6d831a1d32675cbe
[ "MIT" ]
5
2018-07-19T09:29:54.000Z
2019-08-04T18:37:15.000Z
mix.exs
MSP95/pdftotext
f68fb0c661d76c0a14fd8c3c6d831a1d32675cbe
[ "MIT" ]
1
2021-11-01T08:43:41.000Z
2021-11-01T08:43:41.000Z
mix.exs
MSP95/pdftotext
f68fb0c661d76c0a14fd8c3c6d831a1d32675cbe
[ "MIT" ]
null
null
null
defmodule Pdftotext.Mixfile do use Mix.Project def project do [ app: :pdftotext, version: "0.0.1", elixir: "~> 1.4", description: "A simple package to convert .pdf file to .txt using OCR API", package: package(), elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoe...
28.666667
86
0.578265
38215de5787c351744a25a69ea48d5225bbb1678
6,074
ex
Elixir
lib/sonox/service.ex
motionless/sonox
7d5738c570ebdb4ff042d560edc21d87db86e830
[ "MIT" ]
null
null
null
lib/sonox/service.ex
motionless/sonox
7d5738c570ebdb4ff042d560edc21d87db86e830
[ "MIT" ]
null
null
null
lib/sonox/service.ex
motionless/sonox
7d5738c570ebdb4ff042d560edc21d87db86e830
[ "MIT" ]
null
null
null
defmodule Sonox.Service do @moduledoc """ Provide access to all the services provided by the sonos speaker via upnp """ @alarm_clock "AlarmClock" @audio_input "AudioIn" @device_props "DeviceProperties" @music_services "MusicServices" @system_props "SystemProperties" @redering_cont "RenderingControl" ...
27.990783
87
0.711557
382168bb0984fbb94b38e55c20e45625f5fdcb08
145
exs
Elixir
config/dogma.exs
lukad/bf
4a33d7602c98f70024a6d4ed392eeae41385b6d2
[ "MIT" ]
6
2017-02-12T08:52:38.000Z
2021-09-02T06:58:48.000Z
config/dogma.exs
lukad/bf
4a33d7602c98f70024a6d4ed392eeae41385b6d2
[ "MIT" ]
1
2018-09-21T06:45:31.000Z
2018-09-27T19:19:20.000Z
config/dogma.exs
lukad/bf
4a33d7602c98f70024a6d4ed392eeae41385b6d2
[ "MIT" ]
null
null
null
use Mix.Config alias Dogma.Rule config :dogma, override: [ %Rule.LineLength{max_length: 150}, %Rule.PipelineStart{enabled: false} ]
16.111111
39
0.696552
38216a97912cf99803c2550babfe7e07938acd63
1,660
exs
Elixir
test/math_functions_test.exs
Irio/elixir-statistics
9c380b656d27309c1125a34c984dc779857cc8a1
[ "Apache-2.0" ]
1
2017-03-30T18:05:22.000Z
2017-03-30T18:05:22.000Z
test/math_functions_test.exs
Irio/elixir-statistics
9c380b656d27309c1125a34c984dc779857cc8a1
[ "Apache-2.0" ]
null
null
null
test/math_functions_test.exs
Irio/elixir-statistics
9c380b656d27309c1125a34c984dc779857cc8a1
[ "Apache-2.0" ]
null
null
null
defmodule MathFunctionsTest do use ExUnit.Case, async: true doctest Statistics.Math.Functions alias Statistics.Math.Functions alias Statistics.Math alias Statistics.Distributions.T test "gamma function" do assert Functions.gamma(22) == 5.109094217170959e19 assert Functions.gamma(0.02) == 49.44221...
32.54902
68
0.689157
38216db28bbc38b9dfcf3764c8b13c63e15de96e
1,607
exs
Elixir
mix.exs
gyanesh-m/ifsc
7e07f3ea07cc819e90f4e908b68cc94b24a2c440
[ "MIT" ]
null
null
null
mix.exs
gyanesh-m/ifsc
7e07f3ea07cc819e90f4e908b68cc94b24a2c440
[ "MIT" ]
null
null
null
mix.exs
gyanesh-m/ifsc
7e07f3ea07cc819e90f4e908b68cc94b24a2c440
[ "MIT" ]
null
null
null
defmodule IFSC.Mixfile do use Mix.Project def project do [ app: :ifsc, version: "1.5.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps(), aliases: aliases(), source_url: "https://github.com/r...
20.602564
74
0.513379
3821aa015f2da68fc5c54528ba4686bf75f46fad
4,636
exs
Elixir
apps/banking_api_web/test/banking_api_web/users_controller_test.exs
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
apps/banking_api_web/test/banking_api_web/users_controller_test.exs
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
apps/banking_api_web/test/banking_api_web/users_controller_test.exs
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
defmodule BankingApiWeb.UsersControllerTest do use BankingApiWeb.ConnCase, async: true alias BankingApi.User describe "create/2" do setup do params = %{name: "dummy", cpf: "12365487900", password: "c1b2m49nv03"} {:ok, params: params} end test "sucessfully create user", ctx do %{na...
30.103896
138
0.479724
3821aceb67c37613986bfe0f270572e4f77dd68b
3,482
ex
Elixir
lib/network_logger.ex
stocks29/network_logger
da0eaa7e08bdd7cc73229500b9e83a3b5c6eb0be
[ "Apache-2.0" ]
null
null
null
lib/network_logger.ex
stocks29/network_logger
da0eaa7e08bdd7cc73229500b9e83a3b5c6eb0be
[ "Apache-2.0" ]
null
null
null
lib/network_logger.ex
stocks29/network_logger
da0eaa7e08bdd7cc73229500b9e83a3b5c6eb0be
[ "Apache-2.0" ]
null
null
null
defmodule Logger.Backends.Network do alias Logger.Backends.Network.TCPClient @default_format "$time $metadata[$level] $message\n" def init(_) do if user = Process.whereis(:user) do Process.group_leader(self(), user) {:ok, configure([])} else {:error, :ignore} end end def handl...
30.54386
114
0.626939
3821dc315c90a84dd9a1019b2647da652cfe7352
3,327
exs
Elixir
apps/site/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
defmodule Site.Mixfile do use Mix.Project def project do [ app: :site, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixirc_paths: elixirc_paths(Mix.env()), compilers: [...
31.990385
95
0.551247
3821f685f7ee08a6ed4eb85d5292815c357a6d2d
1,779
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/published_service.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_user/lib/google_api/service_user/v1/model/published_service.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_user/lib/google_api/service_user/v1/model/published_service.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.944444
127
0.729061
38221aed1635c3fa497baf020a1c6531dda3f108
1,061
ex
Elixir
test/support/conn_case.ex
aoswalt/portfolio-web-site
9869da8caf9d1d31a1d82e60f437ec0513a84748
[ "MIT" ]
1
2020-07-23T12:54:25.000Z
2020-07-23T12:54:25.000Z
test/support/conn_case.ex
aoswalt/adamoswalt.com
9869da8caf9d1d31a1d82e60f437ec0513a84748
[ "MIT" ]
null
null
null
test/support/conn_case.ex
aoswalt/adamoswalt.com
9869da8caf9d1d31a1d82e60f437ec0513a84748
[ "MIT" ]
null
null
null
defmodule HomeWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the t...
27.921053
60
0.730443
3822217e7bcfdc64274ab3ce2b86343739346b58
1,087
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/messaging/confirm_pipe/receiver.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/messaging/confirm_pipe/receiver.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
119
2021-07-20T15:12:29.000Z
2022-03-01T10:31:53.000Z
implementations/elixir/ockam/ockam/lib/ockam/messaging/confirm_pipe/receiver.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1
2021-12-01T19:40:11.000Z
2021-12-01T19:40:11.000Z
defmodule Ockam.Messaging.ConfirmPipe.Receiver do @moduledoc """ Receiver part of the confirm pipes. Receives wrapped messages with confirm refs Unwraps and forwards messages Sends confirm messages with confirm ref to the message sender """ use Ockam.Worker alias Ockam.Message alias Ockam.Router ...
23.12766
65
0.686293
382223a2d079a6c5834df6bebaa8d8d85f0820a1
3,145
exs
Elixir
test/llp_web/controllers/kanji_controller_test.exs
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
2
2019-01-02T11:02:59.000Z
2019-04-15T10:07:40.000Z
test/llp_web/controllers/kanji_controller_test.exs
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
null
null
null
test/llp_web/controllers/kanji_controller_test.exs
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
null
null
null
defmodule LlpWeb.KanjiControllerTest do use LlpWeb.ConnCase alias Llp.Characters alias LlpWeb.RadicalControllerTest @create_attrs %{kanji: "some kanji", kunyomi: [], meaning: [], onyomi: [], stroke_count: 42} @update_attrs %{kanji: "some updated kanji", kunyomi: [], meaning: [], onyomi: [], stroke_count: 43...
33.105263
102
0.665819
382254adca2d71246a9f996ddc8b0a2b391efb49
85
ex
Elixir
lib/ex_ihdl_units.ex
Hutchison-Technologies/ex_ihdl_units
6cac4bbb4301e606fdf8df229242e7e036618473
[ "MIT" ]
null
null
null
lib/ex_ihdl_units.ex
Hutchison-Technologies/ex_ihdl_units
6cac4bbb4301e606fdf8df229242e7e036618473
[ "MIT" ]
null
null
null
lib/ex_ihdl_units.ex
Hutchison-Technologies/ex_ihdl_units
6cac4bbb4301e606fdf8df229242e7e036618473
[ "MIT" ]
null
null
null
defmodule ExIhdlUnits do @moduledoc """ Documentation for ExIhdlUnits. """ end
14.166667
32
0.717647
38226ad1539052fd2aa19804f48ed274a005c057
422
exs
Elixir
priv/repo/migrations/20171001214214_create_remark.exs
wjanssens/aspekt-elixir
3b4926fa37cc056cafe7204589e0cac11289c6a8
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20171001214214_create_remark.exs
wjanssens/aspekt-elixir
3b4926fa37cc056cafe7204589e0cac11289c6a8
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20171001214214_create_remark.exs
wjanssens/aspekt-elixir
3b4926fa37cc056cafe7204589e0cac11289c6a8
[ "Apache-2.0" ]
null
null
null
defmodule Aspekt.Repo.Migrations.CreateRemark do use Ecto.Migration def change do create table(:remark) do add :node_id, references(:node), null: false, comment: "the node to which the remark applies" add :subject_id, references(:subject), null: false, comment: "the author of the remark" add ...
28.133333
99
0.694313
38226d02ee5e3e4d9f1199d3ac7c6bfa15aef651
276
exs
Elixir
test/register_test.exs
lauriannala/ex_chip8
7be70811bb84b7f3b72b0c8bede4adfcbb43fdf7
[ "MIT" ]
1
2021-12-05T11:24:19.000Z
2021-12-05T11:24:19.000Z
test/register_test.exs
lauriannala/ex_chip8
7be70811bb84b7f3b72b0c8bede4adfcbb43fdf7
[ "MIT" ]
null
null
null
test/register_test.exs
lauriannala/ex_chip8
7be70811bb84b7f3b72b0c8bede4adfcbb43fdf7
[ "MIT" ]
null
null
null
defmodule ExChip8.RegisterTest do use ExChip8.StateCase alias ExChip8.Registers describe "Registers" do test "init/2 initializes registers" do v_size = 100 Registers.init(v_size) assert :ets.info(:v_register)[:size] == v_size end end end
17.25
52
0.688406
38228192d90b299ed887b756b20f2ab9e4fb26e3
497
exs
Elixir
13.OrganizeProjects/op6/noaa/test/cli_test.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
6
2019-10-25T21:51:11.000Z
2022-03-23T02:11:38.000Z
13.OrganizeProjects/op6/noaa/test/cli_test.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
null
null
null
13.OrganizeProjects/op6/noaa/test/cli_test.exs
kenspirit/programming-elixir-exercises
35ca1f0cb17ca4040b395c2f9cc53e51918c99ca
[ "MIT" ]
1
2020-06-16T12:37:43.000Z
2020-06-16T12:37:43.000Z
defmodule CliTest do use ExUnit.Case doctest Noaa import Noaa.CLI, only: [ parse_args: 1 ] test ":help returned by option parsing with -h and --help options" do assert parse_args(["-h", "anything"]) === :help assert parse_args(["--help", "anything"]) === :help end test "[] returned if no option ...
23.666667
71
0.619718
38228422fe7487814e3df718a5ca37e623bcb274
67
exs
Elixir
config/host.exs
sadesyllas/nerves_bluetooth
d316dbc192be8beec8b76dd245225117bc7d925f
[ "Apache-2.0" ]
14
2018-01-29T23:34:50.000Z
2021-07-15T04:29:36.000Z
config/host.exs
sadesyllas/nerves_bluetooth
d316dbc192be8beec8b76dd245225117bc7d925f
[ "Apache-2.0" ]
2
2017-05-24T18:16:42.000Z
2018-11-06T19:29:09.000Z
config/host.exs
sadesyllas/nerves_bluetooth
d316dbc192be8beec8b76dd245225117bc7d925f
[ "Apache-2.0" ]
3
2018-06-01T07:10:19.000Z
2019-01-06T22:32:56.000Z
# Configuration for running on the development host use Mix.Config
22.333333
51
0.820896
38228f56cec6d811eccdd3b79ecaf53b0ff4b3b1
1,666
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/table_border_row.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/slides/lib/google_api/slides/v1/model/table_border_row.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/table_border_row.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.708333
179
0.744898
3822b6ce28dad72e6377b35173188d346da69c89
465
ex
Elixir
phoenix/lib/mehr_schulferien_web/controllers/api/city_controller.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/lib/mehr_schulferien_web/controllers/api/city_controller.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
phoenix/lib/mehr_schulferien_web/controllers/api/city_controller.ex
komlanvi/www.mehr-schulferien.de
fe74772f2cc8ce430e04adf6e66023971456ce57
[ "MIT" ]
null
null
null
defmodule MehrSchulferienWeb.Api.CityController do use MehrSchulferienWeb, :controller alias MehrSchulferien.Locations alias MehrSchulferien.Locations.City action_fallback MehrSchulferienWeb.FallbackController def index(conn, _params) do cities = Locations.list_cities() render(conn, "index.json", c...
23.25
55
0.737634
3822c3bfdde81b1aca926673ec48cbb8b4cb1e8b
5,359
ex
Elixir
lib/absinthe/middleware/batch.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
lib/absinthe/middleware/batch.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
lib/absinthe/middleware/batch.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Absinthe.Middleware.Batch do @moduledoc """ Batch the resolution of multiple fields. ## Motivation Consider the following graphql query: ``` { posts { author { name } } } ``` `posts` returns a list of `post` objects, which has an associated `author` field. If ...
30.448864
95
0.668408
3822d016804a744e67beac7e498d231145d84412
1,747
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/test_iam_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/test_iam_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/test_iam_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.94
135
0.745278
3822df5e047b088b8a9ab9aafdf15895a77f6fb4
1,823
ex
Elixir
web/router.ex
tizpuppi/kickstart
aabd3032859bf78ffb1eee46c955c6ecc126a603
[ "MIT" ]
null
null
null
web/router.ex
tizpuppi/kickstart
aabd3032859bf78ffb1eee46c955c6ecc126a603
[ "MIT" ]
null
null
null
web/router.ex
tizpuppi/kickstart
aabd3032859bf78ffb1eee46c955c6ecc126a603
[ "MIT" ]
null
null
null
defmodule Kickstart.Router do use Kickstart.Web, :router require Ueberauth pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :browser_auth do plug Guardian.Plug.VerifySession ...
30.383333
77
0.680746
3822efaca17f3d69a72e384decd70898d759d4d4
696
ex
Elixir
lib/elite_investigations_web/router.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
null
null
null
lib/elite_investigations_web/router.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
8
2019-03-14T16:31:37.000Z
2019-03-31T16:14:57.000Z
lib/elite_investigations_web/router.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
null
null
null
defmodule EliteInvestigationsWeb.Router do use EliteInvestigationsWeb, :router use Plug.ErrorHandler use Sentry.Plug 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 ...
21.090909
63
0.701149
382322942d1a81b0496187af37a1eb7bdf1cb35d
2,715
ex
Elixir
lib/amqp/connection.ex
rrrene/amqp
46eb14f5d31f4cab3ec91984f5eae04f8066d5a2
[ "MIT" ]
null
null
null
lib/amqp/connection.ex
rrrene/amqp
46eb14f5d31f4cab3ec91984f5eae04f8066d5a2
[ "MIT" ]
null
null
null
lib/amqp/connection.ex
rrrene/amqp
46eb14f5d31f4cab3ec91984f5eae04f8066d5a2
[ "MIT" ]
null
null
null
defmodule AMQP.Connection do @moduledoc """ Functions to operate on Connections. """ import Record import AMQP.Core alias __MODULE__ defstruct [:pid] @doc """ Opens an new Connection to an AMQP broker. The connection parameters can be passed as a keyword list or as a AMQP URI. When using a key...
38.239437
126
0.543278
38234aa8dfa0ece5ece4f2ee43e6ea7d0cc8d709
2,172
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/activity_content_details_recommendation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/activity_content_details_recommendation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/activity_content_details_recommendation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.981132
192
0.746777
38239496b5e1f36aa61b043f7963e3620a4cc86a
1,206
ex
Elixir
test/support/conn_case.ex
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
test/support/conn_case.ex
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
test/support/conn_case.ex
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
defmodule MapaCelulasWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, i...
29.414634
73
0.732172
3823afa4f9057b9158bd7de971259fefbc3e78d0
1,410
exs
Elixir
test/commands/command_timeout_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-19T01:07:32.000Z
2020-02-19T01:07:32.000Z
test/commands/command_timeout_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
null
null
null
test/commands/command_timeout_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-18T20:53:39.000Z
2020-02-18T20:53:39.000Z
defmodule Commanded.Commands.CommandTimeoutTest do use Commanded.StorageCase alias Commanded.DefaultApp alias Commanded.Commands.{TimeoutRouter, TimeoutCommand} setup do start_supervised!(DefaultApp) :ok end test "should allow timeout to be specified during command registration" do command =...
33.571429
86
0.74539
3823b6ad4a19bdbb4e460ce052f083cd75736b66
260
exs
Elixir
test/test_helper.exs
anagromataf/mox
375f83ce5ecad71a81f6bafcc75b280e6f2f0c4c
[ "Apache-2.0" ]
409
2020-01-20T14:55:51.000Z
2022-03-31T22:31:20.000Z
test/test_helper.exs
anagromataf/mox
375f83ce5ecad71a81f6bafcc75b280e6f2f0c4c
[ "Apache-2.0" ]
38
2020-02-12T17:31:52.000Z
2022-03-21T08:32:28.000Z
test/test_helper.exs
anagromataf/mox
375f83ce5ecad71a81f6bafcc75b280e6f2f0c4c
[ "Apache-2.0" ]
24
2020-03-30T07:17:39.000Z
2022-03-28T21:08:57.000Z
excludes = [ {"< 1.7.0", [:requires_code_fetch_docs]}, {"< 1.8.0", [:requires_caller_tracking]} ] |> Enum.flat_map(fn {version, tags} -> if Version.match?(System.version(), version), do: tags, else: [] end) ExUnit.start(exclude: excludes)
23.636364
68
0.615385
3823b79a777f2f2ae05f9b300333e78df7feee5a
13,627
ex
Elixir
host_core/lib/host_core/control_interface/server.ex
protochron/wasmcloud-otp
fd07262074b98b06106a31fd1957dc2319d438a5
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core/control_interface/server.ex
protochron/wasmcloud-otp
fd07262074b98b06106a31fd1957dc2319d438a5
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core/control_interface/server.ex
protochron/wasmcloud-otp
fd07262074b98b06106a31fd1957dc2319d438a5
[ "Apache-2.0" ]
null
null
null
defmodule HostCore.ControlInterface.Server do @moduledoc false require Logger use Gnat.Server alias HostCore.ControlInterface.ACL alias HostCore.CloudEvent import HostCore.Actors.ActorSupervisor, only: [start_actor_from_bindle: 2, start_actor_from_oci: 2] import HostCore.Providers.ProviderSuperviso...
31.326437
101
0.61657
38247769c5b9de35dce5bae056d8495f085401d5
2,480
ex
Elixir
lib/livebook_web/live/session_live/export_live_markdown_component.ex
Fudoshiki/livebook
0b30fd02d9a50b84873725f3e05974d62fee398f
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/export_live_markdown_component.ex
Fudoshiki/livebook
0b30fd02d9a50b84873725f3e05974d62fee398f
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/export_live_markdown_component.ex
Fudoshiki/livebook
0b30fd02d9a50b84873725f3e05974d62fee398f
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.ExportLiveMarkdownComponent do use LivebookWeb, :live_component @impl true def update(assigns, socket) do socket = assign(socket, assigns) {:ok, socket |> assign_new(:include_outputs, fn -> socket.assigns.notebook.persist_outputs end) |> assign_source()} ...
32.631579
128
0.583871
38247966aac13298183c3755cef9b6e014155236
2,290
exs
Elixir
test/groupher_server/cms/comments/archive_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/groupher_server/cms/comments/archive_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/groupher_server/cms/comments/archive_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.CMS.Comments.Archive do @moduledoc false use GroupherServer.TestTools import Helper.Utils, only: [get_config: 2] alias GroupherServer.{CMS, Repo} alias CMS.Model.Comment @now Timex.now() |> DateTime.truncate(:second) @archive_threshold get_config(:article, :archive_threshol...
32.253521
97
0.666376
3824823ebd7f51cfcc9ed4df150fb8039bf72363
7,823
ex
Elixir
lib/mix/lib/mix/compilers/test.ex
howleysv/elixir
40f0f680160fe6cf8622eaceff3f67d617aac050
[ "Apache-2.0" ]
1
2018-02-24T19:48:35.000Z
2018-02-24T19:48:35.000Z
lib/mix/lib/mix/compilers/test.ex
howleysv/elixir
40f0f680160fe6cf8622eaceff3f67d617aac050
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/compilers/test.ex
howleysv/elixir
40f0f680160fe6cf8622eaceff3f67d617aac050
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Compilers.Test do @moduledoc false require Mix.Compilers.Elixir, as: CE import Record defrecordp :source, source: nil, compile_references: [], runtime_references: [], external: [] @stale_manifest "compile.test_stale" @manifest_vsn 1 @doc """ Requires and runs test file...
28.039427
97
0.639141
3824a4f4112fdc7bbe5193be4845612459cd5a69
832
ex
Elixir
lib/cadet/incentives/goal_progress.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
lib/cadet/incentives/goal_progress.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
lib/cadet/incentives/goal_progress.ex
source-academy/cadet
c447552453f78799755de73f66999e4c9d20383c
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Incentives.GoalProgress do @moduledoc """ Represents goal progress per user. """ use Cadet, :model alias Cadet.Incentives.Goal alias Cadet.Accounts.CourseRegistration @primary_key false schema "goal_progress" do field(:count, :integer) field(:completed, :boolean) belongs_t...
22.486486
66
0.706731
3824bc4573f238d1491e187074c5543f0d5614fb
419
ex
Elixir
lib/helper/date_time_helper.ex
InfiniteSoul/distributed_rate_limiter
c8a00a0d79db380d8d53980662c3522fd2c82a25
[ "MIT" ]
null
null
null
lib/helper/date_time_helper.ex
InfiniteSoul/distributed_rate_limiter
c8a00a0d79db380d8d53980662c3522fd2c82a25
[ "MIT" ]
null
null
null
lib/helper/date_time_helper.ex
InfiniteSoul/distributed_rate_limiter
c8a00a0d79db380d8d53980662c3522fd2c82a25
[ "MIT" ]
null
null
null
defmodule DistributedRateLimiter.DateTimeHelper do @moduledoc false @doc """ Checks if the given value is between start_time (inclusive) and end_time (exclusive) """ @spec is_between(Calender.datetime(), Calender.datetime(), Calender.datetime()) :: boolean def is_between(value, start_time, end_time) do ...
34.916667
92
0.742243
3824f5225ce47a36e3bcab1b7a2a1f34bee42c37
2,830
ex
Elixir
lib/oban/notifier.ex
manusajith/oban
0d7115fbf5e344878e0d2ac840ea8f84c2bcf26b
[ "MIT" ]
null
null
null
lib/oban/notifier.ex
manusajith/oban
0d7115fbf5e344878e0d2ac840ea8f84c2bcf26b
[ "MIT" ]
null
null
null
lib/oban/notifier.ex
manusajith/oban
0d7115fbf5e344878e0d2ac840ea8f84c2bcf26b
[ "MIT" ]
null
null
null
defmodule Oban.Notifier do @moduledoc false use GenServer alias Oban.Config alias Postgrex.Notifications @type option :: {:name, module()} | {:conf, Config.t()} @type channel :: :gossip | :insert | :signal | :update @type queue :: atom() @channels [:gossip, :insert, :signal, :update] @mappings %{...
28.019802
91
0.661131
382515a7b59edd104efcc463436380b897f9cfbf
365
ex
Elixir
lib/ws/config/dev.ex
batwicket/phoenix-rest-server
fe3d39b123f6940ec696607e76f47427d872e6ce
[ "Apache-2.0" ]
3
2015-02-26T22:42:32.000Z
2017-06-01T10:56:17.000Z
lib/ws/config/dev.ex
batwicket/phoenix-rest-server
fe3d39b123f6940ec696607e76f47427d872e6ce
[ "Apache-2.0" ]
null
null
null
lib/ws/config/dev.ex
batwicket/phoenix-rest-server
fe3d39b123f6940ec696607e76f47427d872e6ce
[ "Apache-2.0" ]
null
null
null
defmodule Ws.Config.Dev do use Ws.Config @moduledoc """ Developer settings """ config :router, port: 4000, ip: {127, 0, 0, 1}, ssl: false, # Full error reports are enabled consider_all_requests_local: true config :plugs, code_reload:...
18.25
51
0.556164
382536a8f5ff17626be05249a75e8c7250691e9b
1,492
ex
Elixir
lib/want/date.ex
wrren/want.erl
32a06e947e87507263ca93dd823437716c9a79a0
[ "MIT" ]
1
2018-08-30T17:47:10.000Z
2018-08-30T17:47:10.000Z
lib/want/date.ex
wrren/want.erl
32a06e947e87507263ca93dd823437716c9a79a0
[ "MIT" ]
null
null
null
lib/want/date.ex
wrren/want.erl
32a06e947e87507263ca93dd823437716c9a79a0
[ "MIT" ]
null
null
null
defmodule Want.Date do @moduledoc """ Provides conversions to and from Elixir Date structs. """ @type result :: {:ok, %Date{}} | {:error, binary()} @doc """ Cast a value to an date. ## Options * `:decode` - If set to `:uri`, executes a URI decode on the input value before casting it. ## Exa...
28.150943
101
0.597185
38253d3001cae1ef46de70d465772768262d5e04
1,636
ex
Elixir
lib/flashfeed_web/telemetry.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
4
2020-02-27T14:29:20.000Z
2021-04-03T19:08:50.000Z
lib/flashfeed_web/telemetry.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
6
2020-02-17T21:35:04.000Z
2021-09-02T06:46:46.000Z
lib/flashfeed_web/telemetry.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
null
null
null
defmodule FlashfeedWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Lear...
31.461538
81
0.674817
38254074702c05592afb8733c694280ce7c63e37
2,585
exs
Elixir
apps/aecore/config/prod.exs
boundedvariable/elixir-blockchain
f100a067a9e27e83658d8cf5012c70382100420f
[ "0BSD" ]
null
null
null
apps/aecore/config/prod.exs
boundedvariable/elixir-blockchain
f100a067a9e27e83658d8cf5012c70382100420f
[ "0BSD" ]
null
null
null
apps/aecore/config/prod.exs
boundedvariable/elixir-blockchain
f100a067a9e27e83658d8cf5012c70382100420f
[ "0BSD" ]
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.408451
73
0.691683
3825586a425b3f211fe52e436b0b5e115a358e46
5,974
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.364865
171
0.675259
3825726d6622791a61895bbe72cdbebe8bfff77d
4,365
ex
Elixir
lib/credo/check/consistency/space_around_operators.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/consistency/space_around_operators.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/consistency/space_around_operators.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
defmodule Credo.Check.Consistency.SpaceAroundOperators do @moduledoc """ Use spaces around operators like `+`, `-`, `*` and `/`. This is the **preferred** way, although other styles are possible, as long as it is applied consistently. # preferred way 1 + 2 * 4 # also okay 1+2*4 Whil...
33.576923
90
0.657961
3825963e5f9b883e8d0d76b8ef3c6a994b14a95a
997
ex
Elixir
lib/rdtype/set.ex
ikeikeikeike/rdtype
5d2cd1013e695a01b296071a67b53025ac2ba76c
[ "MIT" ]
2
2016-07-18T04:37:56.000Z
2017-02-01T13:18:34.000Z
lib/rdtype/set.ex
ikeikeikeike/rdtype
5d2cd1013e695a01b296071a67b53025ac2ba76c
[ "MIT" ]
null
null
null
lib/rdtype/set.ex
ikeikeikeike/rdtype
5d2cd1013e695a01b296071a67b53025ac2ba76c
[ "MIT" ]
null
null
null
defmodule Rdtype.Set do @doc false defmacro __using__(_opts) do quote do defdelegate add(key, val), to: __MODULE__, as: :sadd def sadd(key, val) do Redix.command!(pid(), ["SADD", key, enc(val)]) end defdelegate length(key), to: __MODULE__, as: :scard def scard(key) do ...
25.564103
67
0.544634
382599d62e970bb5742c4008c8616b0611445128
994
exs
Elixir
malmo_elixir/next_demo/led_control_panel/config/config.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
malmo_elixir/next_demo/led_control_panel/config/config.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
malmo_elixir/next_demo/led_control_panel/config/config.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "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 # Configures the endpoint config :led_control_pa...
35.5
86
0.775654
38259f2309479db3461a6d99f7146505e8082d30
278
ex
Elixir
test/support/http_helper.ex
pedep/k8s
7390339e1f7d9a773ef54a761552a33373b31e25
[ "MIT" ]
null
null
null
test/support/http_helper.ex
pedep/k8s
7390339e1f7d9a773ef54a761552a33373b31e25
[ "MIT" ]
null
null
null
test/support/http_helper.ex
pedep/k8s
7390339e1f7d9a773ef54a761552a33373b31e25
[ "MIT" ]
null
null
null
defmodule K8s.Test.HTTPHelper do @moduledoc "HTTP Helpers for test suite." @spec render(any, integer) :: {:ok, HTTPoison.Response.t()} def render(data, code \\ 200) do body = Jason.encode!(data) {:ok, %HTTPoison.Response{status_code: code, body: body}} end end
27.8
61
0.679856
3825a4127a42dfb394d16b4a05025029b2b098f5
1,853
ex
Elixir
clients/plus_domains/lib/google_api/plus_domains/v1/model/activity_object_full_image.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/model/activity_object_full_image.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/model/activity_object_full_image.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.508772
91
0.713977
38260d0c8f666996f61157e0ac0bb7654fd1ad38
455
exs
Elixir
apps/hefty/priv/repo/migrations/20190509125738_create_naive_trader_settings.exs
Soimil/Igthorn
6187a94d7a75a28f3c42b357fa7cc211cfe4bafe
[ "MIT" ]
null
null
null
apps/hefty/priv/repo/migrations/20190509125738_create_naive_trader_settings.exs
Soimil/Igthorn
6187a94d7a75a28f3c42b357fa7cc211cfe4bafe
[ "MIT" ]
null
null
null
apps/hefty/priv/repo/migrations/20190509125738_create_naive_trader_settings.exs
Soimil/Igthorn
6187a94d7a75a28f3c42b357fa7cc211cfe4bafe
[ "MIT" ]
null
null
null
defmodule Hefty.Repo.Migrations.CreateNaiveTraderSettings do use Ecto.Migration def change do create table(:naive_trader_settings, primary_key: false) do add :id, :uuid, primary_key: true add :symbol, :text add :budget, :text add :profit_interval, :text add :buy_down_interval, :te...
23.947368
63
0.67033
38260e7f9fae4606ae791f0665bd286035390d2a
919
ex
Elixir
test/support/channel_case.ex
ankurp/chat
a9fced84898c9d47a17ea14fda6ed78e57ef04e8
[ "MIT" ]
null
null
null
test/support/channel_case.ex
ankurp/chat
a9fced84898c9d47a17ea14fda6ed78e57ef04e8
[ "MIT" ]
null
null
null
test/support/channel_case.ex
ankurp/chat
a9fced84898c9d47a17ea14fda6ed78e57ef04e8
[ "MIT" ]
null
null
null
defmodule Chat.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot be asy...
22.414634
63
0.699674
38262c15ee04c067c66cc6f54aa70179b7da9553
3,238
exs
Elixir
test/controllers/token_controller_test.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
test/controllers/token_controller_test.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
test/controllers/token_controller_test.exs
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
defmodule CodeCorps.TokenControllerTest do use CodeCorps.ConnCase setup do conn = %{build_conn | host: "api."} |> put_req_header("accept", "application/vnd.api+json") |> put_req_header("content-type", "application/vnd.api+json") {:ok, conn: conn} end defp create_payload(email, passw...
37.218391
114
0.638048
3826342bb56e6796f9afdc5e0377529bd7fd7fe1
20,510
ex
Elixir
lib/elixir/lib/task/supervised.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-29T12:35:51.000Z
2019-04-29T12:35:51.000Z
lib/elixir/lib/task/supervised.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task/supervised.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule Task.Supervised do @moduledoc false @ref_timeout 5000 def start(owner, callers, fun) do {:ok, :proc_lib.spawn(__MODULE__, :noreply, [owner, callers, fun])} end def start_link(owner, callers, fun) do {:ok, :proc_lib.spawn_link(__MODULE__, :noreply, [owner, callers, fun])} end def start...
32.86859
95
0.617991
38263c1d3d0224796f2f6391fef714f33a3b879e
680
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/94.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/94.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/94.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** cm noun verb_aux verb_aux verb; noun verb SYM noun verb_aux; cm noun verb_aux verb_aux verb; particle noun verb_aux SYM verb; cm verb verb_aux verb_aux verb_aux; conj neg verb_aux conj verb; cm noun verb_aux conj verb; adjective noun verb_aux pn verb; cm noun verb_aux SYM verb; noun verb SYM...
28.333333
36
0.773529
382640d39a9b0aad426df3c80fe1c44448b1760b
1,830
exs
Elixir
test/mix/tasks/ecto.squash_test.exs
staring-frog/ecto_squash
3444b032cfe51a034b6185ddf4af39e64b94b92d
[ "Apache-2.0" ]
1
2021-07-01T07:26:00.000Z
2021-07-01T07:26:00.000Z
test/mix/tasks/ecto.squash_test.exs
staring-frog/ecto_squash
3444b032cfe51a034b6185ddf4af39e64b94b92d
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/ecto.squash_test.exs
staring-frog/ecto_squash
3444b032cfe51a034b6185ddf4af39e64b94b92d
[ "Apache-2.0" ]
2
2021-06-30T13:23:40.000Z
2022-01-11T16:41:06.000Z
defmodule Mix.Tasks.Ecto.SquashTest do use ExUnit.Case import Support.FileHelpers import Mix.Tasks.Ecto.Squash, only: [run: 1] @fixtures __DIR__ <> "/../../fixtures/" @migrations_path "#{tmp_path()}/migrations" defmodule Repo do use Ecto.Repo, otp_app: :ecto_squash, adapter: Ecto.Adapters...
26.521739
92
0.652459
382650180c0c67c58d783d1ab10b89bd47a25e6e
2,047
ex
Elixir
clients/content/lib/google_api/content/v21/model/orderreturns_return_item.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/orderreturns_return_item.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/orderreturns_return_item.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.622642
157
0.73913
38268a1410d96f8748a89687f0695024fe2c8460
170
exs
Elixir
config/dev.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
config/dev.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
config/dev.exs
fbettag/ingram_marketplace.ex
1c63d391707058fb8cf58fdefd54e2ade97acf4b
[ "MIT" ]
null
null
null
use Mix.Config config :ingram_marketplace, url: "https://api.cloud.im:443/marketplace/eu", marketplace: "eu", subscription_key: "", username: "", password: ""
18.888889
49
0.676471
3826963fbbd560c25e966fa31261eacdaa1b5694
141
ex
Elixir
testData/org/elixir_lang/formatting/anonymous_function_with_single_clause_chop_body_after.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/formatting/anonymous_function_with_single_clause_chop_body_after.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/formatting/anonymous_function_with_single_clause_chop_body_after.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
fn list when is_list(list) -> list ++ ~w(a very long list that will cause this line to be chopped and so trigger the end to follow) end
35.25
106
0.70922
382699d5ae2e77621d5ddf9fa1090601afb6a48f
1,590
exs
Elixir
mix.exs
geirilja/web_dev
e1a64336bf52148a63e54a7326ea9ed13a2034a0
[ "MIT" ]
null
null
null
mix.exs
geirilja/web_dev
e1a64336bf52148a63e54a7326ea9ed13a2034a0
[ "MIT" ]
null
null
null
mix.exs
geirilja/web_dev
e1a64336bf52148a63e54a7326ea9ed13a2034a0
[ "MIT" ]
null
null
null
defmodule Course01.Mixfile do use Mix.Project def project do [ app: :course_01, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), dep...
26.065574
79
0.584906
38269d57b62dbb150d049a9d356aaba643dc58a4
1,316
ex
Elixir
clients/cloud_shell/lib/google_api/cloud_shell/v1/model/cancel_operation_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_shell/lib/google_api/cloud_shell/v1/model/cancel_operation_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_shell/lib/google_api/cloud_shell/v1/model/cancel_operation_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.333333
84
0.768997
3826efb861e99d6275eb782d6c56dba9a594acb3
1,927
exs
Elixir
test/vintage_net_direct_test.exs
nerves-networking/vintage_net_gadget
93f75fd50d51823b33c0afb88e995a236f5167e6
[ "Apache-2.0" ]
null
null
null
test/vintage_net_direct_test.exs
nerves-networking/vintage_net_gadget
93f75fd50d51823b33c0afb88e995a236f5167e6
[ "Apache-2.0" ]
null
null
null
test/vintage_net_direct_test.exs
nerves-networking/vintage_net_gadget
93f75fd50d51823b33c0afb88e995a236f5167e6
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetDirectTest do use ExUnit.Case alias VintageNet.Interface.RawConfig alias VintageNetDirect test "normalization simplifies configuration" do input = %{type: VintageNetDirect, random_field: 42} assert VintageNetDirect.normalize(input) == %{type: VintageNetDirect, vintage_net_direct: %...
33.224138
98
0.602491
3826f0f37a56afe8f2c12bb2ef348dfca511d098
247
ex
Elixir
lib/poker.ex
jpcaruana/poker
66a96293bda7a5b6d9d20e5ee0f0f0cb54b6b4cb
[ "MIT" ]
1
2020-12-01T03:23:12.000Z
2020-12-01T03:23:12.000Z
lib/poker.ex
jpcaruana/poker
66a96293bda7a5b6d9d20e5ee0f0f0cb54b6b4cb
[ "MIT" ]
17
2020-05-25T02:51:00.000Z
2022-02-21T06:06:41.000Z
lib/poker.ex
jpcaruana/poker
66a96293bda7a5b6d9d20e5ee0f0f0cb54b6b4cb
[ "MIT" ]
2
2021-12-02T17:36:23.000Z
2022-02-20T07:02:40.000Z
defmodule Poker do @moduledoc """ Poker 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
3826f7a24225e1c5614c3fe9d40e79caa1304ef4
2,220
exs
Elixir
elixir/rocketpay/mix.exs
HRsniper/Next-Level-Week-4
e8a4e33311513e354b6dc4efd79daa22feae1633
[ "MIT" ]
null
null
null
elixir/rocketpay/mix.exs
HRsniper/Next-Level-Week-4
e8a4e33311513e354b6dc4efd79daa22feae1633
[ "MIT" ]
null
null
null
elixir/rocketpay/mix.exs
HRsniper/Next-Level-Week-4
e8a4e33311513e354b6dc4efd79daa22feae1633
[ "MIT" ]
null
null
null
defmodule Rocketpay.MixProject do use Mix.Project def project do [ app: :rocketpay, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(),...
29.6
106
0.576577
3827034bb860b7d85fa87486654c30385f6d68c3
4,212
ex
Elixir
apps/blunt/lib/blunt/message/changeset.ex
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt/lib/blunt/message/changeset.ex
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
null
null
null
apps/blunt/lib/blunt/message/changeset.ex
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
null
null
null
defmodule Blunt.Message.Changeset do @moduledoc false alias Ecto.Changeset alias Blunt.Message.{Input, Metadata} alias Blunt.Message.Schema.BuiltInValidations alias Blunt.Message.Changeset, as: MessageChangeset def generate do quote location: :keep, generated: true do @doc false def change...
32.651163
113
0.668566
38271a5158bb162c453338ee96b7ee9c30cd2cc3
587
exs
Elixir
priv/repo/migrations/20170419192301_create_main_question.exs
ench0/quest
844043205aa78e6937243f6993cbd560b6a5765b
[ "MIT" ]
null
null
null
priv/repo/migrations/20170419192301_create_main_question.exs
ench0/quest
844043205aa78e6937243f6993cbd560b6a5765b
[ "MIT" ]
null
null
null
priv/repo/migrations/20170419192301_create_main_question.exs
ench0/quest
844043205aa78e6937243f6993cbd560b6a5765b
[ "MIT" ]
null
null
null
defmodule Quest.Repo.Migrations.CreateQuest.Main.Question do use Ecto.Migration def change do create table(:main_questions) do add :title, :string add :info, :string, size: 4096 add :content, :string, size: 4096 add :order, :integer add :type, :string add :required, :boolean...
27.952381
85
0.67632
38271ce52caf92f4307ec164a5b156d723710aab
539
ex
Elixir
lib/gituser/user/schemas/user.ex
vinolivae/gituser
30dd93a8ea8ac5a8d40b91a17ee2eb29ed6bfd81
[ "MIT" ]
null
null
null
lib/gituser/user/schemas/user.ex
vinolivae/gituser
30dd93a8ea8ac5a8d40b91a17ee2eb29ed6bfd81
[ "MIT" ]
null
null
null
lib/gituser/user/schemas/user.ex
vinolivae/gituser
30dd93a8ea8ac5a8d40b91a17ee2eb29ed6bfd81
[ "MIT" ]
null
null
null
defmodule Gituser.Schemas.User do use Gituser.Schema schema "users" do field :password_hash, :string field :password, :string, virtual: true timestamps() end def changeset(model \\ %__MODULE__{}, params) do model |> cast(params, [:password]) |> put_password_hash() end defp put_pa...
21.56
82
0.675325
38272e102f39bc9892b1e71e0a4f11cb9c011fc9
835
ex
Elixir
lib/cizen/crash_logger.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
1
2019-04-08T08:00:06.000Z
2019-04-08T08:00:06.000Z
lib/cizen/crash_logger.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
lib/cizen/crash_logger.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
defmodule Cizen.CrashLogger do @moduledoc """ A logger to log Saga.Crashed events. """ use Cizen.Automaton defstruct [] alias Cizen.Effects.{Receive, Subscribe} alias Cizen.Event alias Cizen.Filter alias Cizen.Saga require Logger def spawn(id, %__MODULE__{}) do perform(id, %Subscribe{ ...
17.765957
76
0.616766
382787d719e760feb637842df6e31d190d087935
1,233
exs
Elixir
clients/monitoring/mix.exs
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/monitoring/mix.exs
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/monitoring/mix.exs
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
defmodule GoogleApi.Monitoring.V3.Mixfile do use Mix.Project def project do [app: :google_api_monitoring, version: "0.0.1", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps(), ...
26.234043
188
0.614761
3827a131b466d6ed51bf7062dc9b49b923f58cba
10,662
exs
Elixir
test/commands/routing_commands_test.exs
navneetgupta/commanded
dab76810731a97dd1fafa54c9d46b01fcd5a4696
[ "MIT" ]
null
null
null
test/commands/routing_commands_test.exs
navneetgupta/commanded
dab76810731a97dd1fafa54c9d46b01fcd5a4696
[ "MIT" ]
1
2019-03-11T09:54:35.000Z
2019-03-11T09:54:35.000Z
test/commands/routing_commands_test.exs
navneetgupta/commanded
dab76810731a97dd1fafa54c9d46b01fcd5a4696
[ "MIT" ]
null
null
null
defmodule Commanded.Commands.RoutingCommandsTest do use ExUnit.Case alias Commanded.DefaultApp alias Commanded.Commands.UnregisteredCommand alias Commanded.EventStore alias Commanded.ExampleDomain.BankAccount alias Commanded.ExampleDomain.OpenAccountHandler alias Commanded.ExampleDomain.DepositMoneyHandl...
32.705521
142
0.60936
3827a7cb46b56b853152adceee221c896f42b4c2
1,028
ex
Elixir
lib/get_shorty/application.ex
lancehalvorsen/get_shorty
65459633f3166a5f3e8653ff928857266a0c6fbe
[ "MIT" ]
1
2021-08-23T01:42:58.000Z
2021-08-23T01:42:58.000Z
lib/get_shorty/application.ex
lancehalvorsen/get_shorty
65459633f3166a5f3e8653ff928857266a0c6fbe
[ "MIT" ]
null
null
null
lib/get_shorty/application.ex
lancehalvorsen/get_shorty
65459633f3166a5f3e8653ff928857266a0c6fbe
[ "MIT" ]
null
null
null
defmodule GetShorty.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository GetShorty.Repo, # Start the Telemetry supervisor Get...
29.371429
67
0.707198
3827d2d2a931f4a1a3d3ae5fa46552e479542e2a
974
exs
Elixir
config/config.exs
toranb/liveview-workshop
bd78cf16e246c0cdb575c824f812335dd752c6d0
[ "MIT" ]
2
2021-09-14T02:46:48.000Z
2021-10-15T20:52:30.000Z
config/config.exs
toranb/liveview-workshop
bd78cf16e246c0cdb575c824f812335dd752c6d0
[ "MIT" ]
3
2021-09-06T19:26:18.000Z
2021-09-06T19:27:04.000Z
config/config.exs
toranb/liveview-workshop
bd78cf16e246c0cdb575c824f812335dd752c6d0
[ "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 # Configures the endpoint config :game, GameWeb....
33.586207
86
0.768994
3827dd711f7dd18c33c3801f18e8329e15b7bb75
109
exs
Elixir
test/views/layout_view_test.exs
samrispaud/phoenix-redux-todo-app
4810d602adb6325c65ad61cbdb67e766ead1a9c3
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
samrispaud/phoenix-redux-todo-app
4810d602adb6325c65ad61cbdb67e766ead1a9c3
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
samrispaud/phoenix-redux-todo-app
4810d602adb6325c65ad61cbdb67e766ead1a9c3
[ "MIT" ]
null
null
null
defmodule PhoenixReactReduxExample.LayoutViewTest do use PhoenixReactReduxExample.ConnCase, async: true end
36.333333
52
0.880734
3827e69809f00f99821fc49ac8767e210d63b5df
6,153
exs
Elixir
test/ash/data_layer/ets_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
test/ash/data_layer/ets_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
test/ash/data_layer/ets_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
defmodule Ash.DataLayer.EtsTest do use ExUnit.Case, async: false alias Ash.DataLayer.Ets, as: EtsDataLayer alias Ash.DataLayer.Ets.Query require Ash.Query setup do on_exit(fn -> case ETS.Set.wrap_existing(EtsTestUser) do {:error, :table_not_found} -> :ok {:ok, set} -> ETS.Set.dele...
26.294872
91
0.566715
3827edd59685b403bd7b63e4ddb6e826ab172cc8
1,605
exs
Elixir
onboarding/service/config/prod.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
onboarding/service/config/prod.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
onboarding/service/config/prod.exs
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
36.477273
81
0.776947
38282211425d485943910b0939c3d0e52d761901
73
ex
Elixir
lib/wiring_editor_web/views/layout_view.ex
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
lib/wiring_editor_web/views/layout_view.ex
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
lib/wiring_editor_web/views/layout_view.ex
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
defmodule WiringEditorWeb.LayoutView do use WiringEditorWeb, :view end
18.25
39
0.835616
38282652dbf824c8063294bcd7776a38e4c5aa4b
1,535
ex
Elixir
clients/replica_pool/lib/google_api/replica_pool/v1beta2/model/instance_group_managers_recreate_instances_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/replica_pool/lib/google_api/replica_pool/v1beta2/model/instance_group_managers_recreate_instances_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/replica_pool/lib/google_api/replica_pool/v1beta2/model/instance_group_managers_recreate_instances_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.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...
33.369565
189
0.762215
3828648357d80195a1255837e7414b2505d3b679
92
exs
Elixir
test/kitten_grapqhl_web/views/page_view_test.exs
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
3
2020-02-25T16:49:06.000Z
2020-04-24T03:14:11.000Z
test/kitten_grapqhl_web/views/page_view_test.exs
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
3
2021-03-09T03:17:50.000Z
2021-09-01T04:37:12.000Z
test/kitten_grapqhl_web/views/page_view_test.exs
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
2
2019-05-06T08:27:54.000Z
2021-10-05T20:33:30.000Z
defmodule KittenGraphqlWeb.PageViewTest do use KittenGraphqlWeb.ConnCase, async: true end
23
44
0.847826
382898f8445f0fc5e7feb45f579315e7484c8893
35,526
ex
Elixir
lib/docusign/api/users.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/api/users.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/api/users.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Api.Users do @moduledoc """ API calls for all endpoints tagged `Users`. """ alias DocuSign.Connection import DocuSign.RequestB...
91.561856
19,331
0.470247
38289e377e554c7c0becdc583c934b5f574984fb
4,531
ex
Elixir
lib/cotoami_web/controllers/coto_graph_controller.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
lib/cotoami_web/controllers/coto_graph_controller.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
lib/cotoami_web/controllers/coto_graph_controller.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
defmodule CotoamiWeb.CotoGraphController do use CotoamiWeb, :controller require Logger alias Bolt.Sips alias Cotoami.{CotoGraphService, CotonomaService, CotoService} alias Cotoami.Exceptions.NotFound def action(conn, _) do apply(__MODULE__, action_name(conn), [conn, conn.params, conn.assigns.amishi]) ...
33.562963
91
0.648422
3828b1d1887845211f43d6597b55df93d7694a80
737
ex
Elixir
apps/room_book/lib/room/room_queries.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
apps/room_book/lib/room/room_queries.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
apps/room_book/lib/room/room_queries.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
defmodule RoomBook.RoomQueries do import Ecto.Query alias RoomBook.{Repo, Room} def get_all do Repo.all(from(Room)) end def get_by_id(id) do Repo.get!(Room, id) end def get_room_by(params) do Repo.get_by!(Room, params) end def create_room(user, attrs \\ %{}) do user |> Ecto.bui...
17.139535
61
0.617368
3828c69a668730b39a613169c840a6b597a9a901
2,738
exs
Elixir
config/test.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
107
2017-02-10T00:26:05.000Z
2022-02-23T00:50:07.000Z
config/test.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
109
2017-02-09T14:40:20.000Z
2021-04-30T22:01:20.000Z
config/test.exs
andrewvmail/MongoosePush
538846e19a89c9ca4bc1583745131dc69d3d29f4
[ "Apache-2.0" ]
25
2017-08-21T20:55:33.000Z
2022-03-06T10:01:13.000Z
use Mix.Config config :mongoose_push, :logging, level: :error, format: :logfmt config :mongoose_push, backend_module: MongoosePush.Notification.MockImpl config :mongoose_push, MongoosePushWeb.Endpoint, https: [ port: 8443, keyfile: "priv/ssl/fake_key.pem", certfile: "priv/ssl/fake_cert.pem", ot...
21.559055
73
0.544558
3828d6b7621253aafb383557f2544c54ca539da4
807
exs
Elixir
examples/simple_script/mix.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
null
null
null
examples/simple_script/mix.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
null
null
null
examples/simple_script/mix.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
null
null
null
defmodule SimpleScript.MixProject do use Mix.Project @app :simple_script def project do [ app: @app, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), releases: [{@app, release()}], preferred_cli_env: [release: :prod] ] en...
19.214286
59
0.566295
3828db00716b127cc47a386ab6f555846ade3c11
2,018
exs
Elixir
server/cardinal/config/prod.exs
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
server/cardinal/config/prod.exs
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
server/cardinal/config/prod.exs
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
36.035714
66
0.71556
3828f8c1015162dd71f93e3531b5ebd8628ccff6
366
ex
Elixir
web/views/error_view.ex
joaoevangelista/iss-phoenix
ad30fa88ebe1172a1e14f22896edf73e97490ce5
[ "MIT" ]
null
null
null
web/views/error_view.ex
joaoevangelista/iss-phoenix
ad30fa88ebe1172a1e14f22896edf73e97490ce5
[ "MIT" ]
null
null
null
web/views/error_view.ex
joaoevangelista/iss-phoenix
ad30fa88ebe1172a1e14f22896edf73e97490ce5
[ "MIT" ]
null
null
null
defmodule ISS.ErrorView do use ISS.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template, assigns...
20.333333
47
0.691257