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
85aa104053672b9ac877a536aca5897785a4fbf5
2,372
exs
Elixir
test/scenic/primitive/line_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive/line_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive/line_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 2017-05-08. # Re-written on 11/01/17 # Copyright © 2017 Kry10 Limited. All rights reserved. # defmodule Scenic.Primitive.LineTest do use ExUnit.Case, async: true doctest Scenic.Primitive.Line alias Scenic.Primitive alias Scenic.Primitive.Line @data {{10, 12}, {40, 80}} ...
30.025316
94
0.496206
85aa14644f8c0e99acaa5e4eda9cba1ec0577277
2,164
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/channel.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/channel.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/channel.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...
36.066667
125
0.693161
85aa1a816344f8f5bb8f3a3a1d0fc1181d08bc59
1,560
exs
Elixir
apps/aecore/test/aecore_target_test.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
131
2018-03-10T01:35:56.000Z
2021-12-27T13:44:41.000Z
apps/aecore/test/aecore_target_test.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
445
2018-03-12T09:46:17.000Z
2018-12-12T09:52:07.000Z
apps/aecore/test/aecore_target_test.exs
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
23
2018-03-12T12:01:28.000Z
2022-03-06T09:22:17.000Z
defmodule TargetTest do use ExUnit.Case doctest Aecore.Chain.Target alias Aecore.Chain.Target, as: Target alias Aecore.Chain.{Block, Genesis, Header} @tag :target test "target calculation genesis block only" do blocks = [ Genesis.block() ] timestamp = 1_607_275_094_308 assert 553_7...
22.941176
97
0.467308
85aa2fc22fcac16164622b0286d8334bf5f46283
77
ex
Elixir
lib/example_16_web/views/user_confirmation_view.ex
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
lib/example_16_web/views/user_confirmation_view.ex
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
lib/example_16_web/views/user_confirmation_view.ex
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
defmodule Example16Web.UserConfirmationView do use Example16Web, :view end
19.25
46
0.844156
85aa3278dd32e888565b109c4bd01b3e39f0d009
1,757
exs
Elixir
test/livebook_web/plugs/auth_plug_test.exs
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
test/livebook_web/plugs/auth_plug_test.exs
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
test/livebook_web/plugs/auth_plug_test.exs
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.AuthPlugTest do use LivebookWeb.ConnCase, async: false setup context do if context[:token] do Application.put_env(:livebook, :token, context[:token]) on_exit(fn -> Application.delete_env(:livebook, :token) end) end :ok end describe "token authentic...
25.838235
100
0.618668
85aa584843b76714ed80e5d1855645d37f674228
164
ex
Elixir
lib/mix/tasks/build/adjacency_graphs.ex
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
2
2018-10-09T20:17:08.000Z
2018-10-18T23:30:49.000Z
lib/mix/tasks/build/adjacency_graphs.ex
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
13
2018-10-06T08:03:23.000Z
2019-10-02T18:50:43.000Z
lib/mix/tasks/build/adjacency_graphs.ex
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
7
2018-10-06T10:14:41.000Z
2019-10-01T09:29:44.000Z
defmodule Mix.Tasks.Build.AdjacencyGraphs do @moduledoc false use Mix.Task @shortdoc "Build adjacensy graphs" def run(_) do IO.puts("TODO") end end
14.909091
44
0.707317
85aa5ed932231d155f6d3e0472ca9da2224c8314
2,612
ex
Elixir
lib/banchan_web/components/form/markdown_input.ex
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
lib/banchan_web/components/form/markdown_input.ex
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
lib/banchan_web/components/form/markdown_input.ex
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
defmodule BanchanWeb.Components.Form.MarkdownInput do @moduledoc """ Handy-dandy markdown input textarea with preview tab! """ use BanchanWeb, :live_component alias Surface.Components.Form.{ErrorTag, Field, Label, TextArea} alias Surface.Components.Form.Input.InputContext prop name, :any, required: true...
29.348315
101
0.525268
85aa911889f3cdb838348f5d2142957df6b4297a
4,163
ex
Elixir
lib/engine/server.ex
stippireddy/twitter-simulator
9471fa6ac1fd9f64a40c911197003393bc0356eb
[ "MIT" ]
null
null
null
lib/engine/server.ex
stippireddy/twitter-simulator
9471fa6ac1fd9f64a40c911197003393bc0356eb
[ "MIT" ]
null
null
null
lib/engine/server.ex
stippireddy/twitter-simulator
9471fa6ac1fd9f64a40c911197003393bc0356eb
[ "MIT" ]
null
null
null
defmodule Server do @alphabet_size 26 @run_time 10000 use GenServer def start_link() do GenServer.start_link(__MODULE__, nil, name: {:global, :server}) end def init(_) do IO.puts "server started" initial_state = %{ :num_clients => 0, :counter => 0, :total_tweet...
29.524823
114
0.634398
85aa9905d119aa6d0106c5b8e3037e731be3bc9a
3,232
exs
Elixir
test/integration/rescuing_test.exs
davidsulc/oban
193f2980e696b72a2929f7086225fb6af2a49f59
[ "Apache-2.0" ]
null
null
null
test/integration/rescuing_test.exs
davidsulc/oban
193f2980e696b72a2929f7086225fb6af2a49f59
[ "Apache-2.0" ]
null
null
null
test/integration/rescuing_test.exs
davidsulc/oban
193f2980e696b72a2929f7086225fb6af2a49f59
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Integration.RescuingTest do use Oban.Case alias Oban.{Config, Query} @moduletag :integration @oban_opts repo: Repo, queues: [alpha: 2, gamma: 2, delta: 2] @node "web.1" @nonce "a1b2c3d4" test "orphaned jobs are transitioned back to an available state on startup" do insert_job!([ref...
35.516484
97
0.644802
85aabd5ac152a4b1623686156ef98c2ce112fee1
1,477
ex
Elixir
lib/mmo_game_web/views/error_helpers.ex
joaobalsini/mmo_game
60d046c92ce0cf3038ba3cbd9bfd33aa79e22969
[ "MIT" ]
null
null
null
lib/mmo_game_web/views/error_helpers.ex
joaobalsini/mmo_game
60d046c92ce0cf3038ba3cbd9bfd33aa79e22969
[ "MIT" ]
2
2021-03-10T11:57:02.000Z
2021-05-11T07:36:34.000Z
lib/mmo_game_web/views/error_helpers.ex
joaobalsini/mmo_game
60d046c92ce0cf3038ba3cbd9bfd33aa79e22969
[ "MIT" ]
null
null
null
defmodule MmoGameWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(...
32.822222
76
0.670278
85aae81e0964bb4b4a427c0553c3cba87cfb4584
1,580
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license_users_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license_users_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license_users_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.617021
119
0.753165
85ab1238cc3aa25a8d45d856cf87915c01e177d5
307
ex
Elixir
lophi-disk-introspection-server/debian/lophi-disk-introspection-server.default.ex
patriotemeritus/LO-PHI
8f92c4efb94061cb08b7e9b0ff96346565c12653
[ "BSD-3-Clause" ]
28
2016-02-26T00:54:16.000Z
2022-02-24T12:21:15.000Z
lophi-disk-introspection-server/debian/lophi-disk-introspection-server.default.ex
patriotemeritus/LO-PHI
8f92c4efb94061cb08b7e9b0ff96346565c12653
[ "BSD-3-Clause" ]
2
2016-03-15T21:49:09.000Z
2016-07-12T22:11:39.000Z
lophi-disk-introspection-server/debian/lophi-disk-introspection-server.default.ex
patriotemeritus/LO-PHI
8f92c4efb94061cb08b7e9b0ff96346565c12653
[ "BSD-3-Clause" ]
9
2016-06-08T14:42:28.000Z
2021-11-11T03:51:34.000Z
# Defaults for lophi-disk-introspection-server initscript # sourced by /etc/init.d/lophi-disk-introspection-server # installed at /etc/default/lophi-disk-introspection-server by the maintainer scripts # # This is a POSIX shell fragment # # Additional options that are passed to the Daemon. DAEMON_OPTS=""
27.909091
85
0.788274
85ab24a2c711327001faeaad371c4ebae0fb436e
1,104
exs
Elixir
mix.exs
alexadaze/alexa
35fbef14f6cd884a51447553cfe2cf9794d153b3
[ "Apache-2.0" ]
null
null
null
mix.exs
alexadaze/alexa
35fbef14f6cd884a51447553cfe2cf9794d153b3
[ "Apache-2.0" ]
null
null
null
mix.exs
alexadaze/alexa
35fbef14f6cd884a51447553cfe2cf9794d153b3
[ "Apache-2.0" ]
null
null
null
defmodule Alexa.Mixfile do use Mix.Project def project do [app: :alexa, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps...
26.926829
99
0.595109
85ab2bf999ad5269a8fef3a3823dba7c744f30a0
414
ex
Elixir
apps/rex_data/lib/rex_data/utils.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
null
null
null
apps/rex_data/lib/rex_data/utils.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
16
2020-05-18T20:06:29.000Z
2020-06-08T14:32:11.000Z
apps/rex_data/lib/rex_data/utils.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
null
null
null
defmodule RexData.Utils do def format_validation_errors(error_keyword_list) do Enum.into( error_keyword_list, [], fn {key, tuple} -> to_string(key) <> " " <> elem(tuple, 0) end ) end defp get_current_timestamp(), do: :os.system_time(:seconds) def save_timestamp(path...
23
77
0.630435
85ab6ba4e451cf06664668ba326260298f736324
562
ex
Elixir
lib/etherscan/types/block_reward.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
14
2017-10-20T03:10:44.000Z
2021-10-04T03:00:07.000Z
lib/etherscan/types/block_reward.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
5
2017-10-20T03:36:37.000Z
2018-03-25T00:58:01.000Z
lib/etherscan/types/block_reward.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
4
2018-03-25T00:49:18.000Z
2019-11-28T00:33:06.000Z
defmodule Etherscan.BlockReward do @moduledoc """ Etherscan module for the BlockReward struct. """ alias Etherscan.BlockRewardUncle @attributes [ :blockMiner, :blockNumber, :blockReward, :timeStamp, :uncleInclusionReward, :uncles ] defstruct @attributes @type t :: %__MODULE__...
20.071429
46
0.613879
85ab916fe041100e8e628eee3910def921919a08
854
ex
Elixir
lib/earmark_parser/block/list.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/block/list.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/block/list.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
defmodule EarmarkParser.Block.List do @moduledoc false import EarmarkParser.Helpers.LookaheadHelpers, only: [update_inline_code: 2] defstruct annotation: nil, attrs: nil, blocks: [], lines: [], bullet: "-", indent: 0, lnb: 0, loo...
25.117647
83
0.583138
85ab9dfc2c45e5e4083cf13d585f268c4414bfb3
2,220
exs
Elixir
test/cep_client_test.exs
douglascamata/cep
042aa6d2bcb64b459ac6ac281add2f2f753a6877
[ "MIT" ]
11
2016-03-23T20:34:19.000Z
2019-07-16T13:21:48.000Z
test/cep_client_test.exs
douglascamata/cep
042aa6d2bcb64b459ac6ac281add2f2f753a6877
[ "MIT" ]
5
2016-03-22T05:35:46.000Z
2019-04-02T16:44:00.000Z
test/cep_client_test.exs
douglascamata/cep
042aa6d2bcb64b459ac6ac281add2f2f753a6877
[ "MIT" ]
3
2019-03-26T18:54:59.000Z
2020-07-06T22:41:51.000Z
defmodule CepSourceTest do def get_address("00000-001") do {:ok, %Cep.Address{city: "Piraque"}} end end defmodule CepClientTest do use ExUnit.Case, async: true describe "get_address/1" do test "should get address of a CEP using the first provider" do {:ok, address} = Cep.Client.get_address("2937...
32.647059
98
0.671622
85aba74e8d1c503641a4bfc3858964d531c8352d
516
ex
Elixir
lib/sanbase/repo.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/repo.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/repo.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo do use Ecto.Repo, otp_app: :sanbase, adapter: Ecto.Adapters.Postgres use Scrivener, page_size: 10 require Sanbase.Utils.Config, as: Config @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do pool_size = Config.ge...
23.454545
67
0.680233
85abb65af16f1e85f5dfadd9eed8c3b795fb749e
1,812
ex
Elixir
lib/jeopardixir_web/controllers/answer_controller.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
1
2021-06-16T15:27:04.000Z
2021-06-16T15:27:04.000Z
lib/jeopardixir_web/controllers/answer_controller.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
25
2021-06-18T13:08:18.000Z
2021-12-15T19:04:57.000Z
lib/jeopardixir_web/controllers/answer_controller.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
null
null
null
defmodule JeopardixirWeb.AnswerController do use JeopardixirWeb, :controller alias Jeopardixir.Answers alias Jeopardixir.Board.Answer def index(conn, _params) do answers = Answers.list_answers() render(conn, "index.html", answers: answers) end def new(conn, _params) do changeset = Answers.cha...
28.761905
71
0.646247
85abcef015dc4475f4cf25c6bc6f35868a8bb1c2
930
exs
Elixir
config/config.exs
jordyvanvorselen/discuss
7cb029388605e9faf1a5d1a3433f209ff7d60348
[ "MIT" ]
null
null
null
config/config.exs
jordyvanvorselen/discuss
7cb029388605e9faf1a5d1a3433f209ff7d60348
[ "MIT" ]
null
null
null
config/config.exs
jordyvanvorselen/discuss
7cb029388605e9faf1a5d1a3433f209ff7d60348
[ "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. use Mix.Config # General application configuration config :discuss, ecto_repos: [Discuss.Repo] # ...
33.214286
86
0.763441
85ac0230fb716444f810f8c88ba80609246bc4e6
219
ex
Elixir
lib/interoper_demo.ex
mlquants/interoper_demo
1241d36f9c98e51656bdcbb0e1827c5dc21c317c
[ "MIT" ]
null
null
null
lib/interoper_demo.ex
mlquants/interoper_demo
1241d36f9c98e51656bdcbb0e1827c5dc21c317c
[ "MIT" ]
null
null
null
lib/interoper_demo.ex
mlquants/interoper_demo
1241d36f9c98e51656bdcbb0e1827c5dc21c317c
[ "MIT" ]
null
null
null
defmodule InteroperDemo do @moduledoc """ Documentation for `InteroperDemo`. """ @doc """ Hello world. ## Examples iex> InteroperDemo.hello() :world """ def hello do :world end end
11.526316
36
0.593607
85ac3c33f8e40f59825e2993650879d5a611f570
1,570
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/get_service_account_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/get_service_account_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/get_service_account_response.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...
30.784314
85
0.735669
85ac5bb526f82bf179ddd9f25f0651ba46be5cc2
210
ex
Elixir
lib/glimesh/accounts/profile.ex
FROSADO/glimesh.tv
d395e89bcf8ab33ccb723ad603c0a6fb6d4ca139
[ "MIT" ]
null
null
null
lib/glimesh/accounts/profile.ex
FROSADO/glimesh.tv
d395e89bcf8ab33ccb723ad603c0a6fb6d4ca139
[ "MIT" ]
null
null
null
lib/glimesh/accounts/profile.ex
FROSADO/glimesh.tv
d395e89bcf8ab33ccb723ad603c0a6fb6d4ca139
[ "MIT" ]
null
null
null
defmodule Glimesh.Accounts.Profile do def safe_user_markdown_to_html(profile_content_md) do {:ok, html_doc, []} = Earmark.as_html(profile_content_md) html_doc |> HtmlSanitizeEx.basic_html() end end
30
61
0.771429
85ac6f1b2af22d13cb62b61891b9abaa9b0eeed7
1,331
ex
Elixir
lib/go_champs_api_web/views/elimination_view.ex
lairjr/go_champs_api
01cb3ff2c655910839e5caf4282a8e50543e32a1
[ "MIT" ]
null
null
null
lib/go_champs_api_web/views/elimination_view.ex
lairjr/go_champs_api
01cb3ff2c655910839e5caf4282a8e50543e32a1
[ "MIT" ]
5
2021-09-29T04:01:54.000Z
2021-11-02T03:11:52.000Z
lib/go_champs_api_web/views/elimination_view.ex
lairjr/tournamentsapi
dde8f8f659074527d3861391af3ab29f070179f2
[ "MIT" ]
1
2021-11-02T14:43:15.000Z
2021-11-02T14:43:15.000Z
defmodule GoChampsApiWeb.EliminationView do use GoChampsApiWeb, :view alias GoChampsApiWeb.EliminationView def render("index.json", %{eliminations: eliminations}) do %{data: render_many(eliminations, EliminationView, "elimination.json")} end def render("batch_list.json", %{eliminations: eliminations}) d...
28.319149
96
0.676183
85acb0b0deb1a5cbd1429a9720ccb5d348572d22
32,611
ex
Elixir
lib/elixir/lib/keyword.ex
esparta/elixir
94fa4e5d19426f234bf20465a539083effd213d8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
esparta/elixir
94fa4e5d19426f234bf20465a539083effd213d8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
esparta/elixir
94fa4e5d19426f234bf20465a539083effd213d8
[ "Apache-2.0" ]
null
null
null
defmodule Keyword do @moduledoc """ A keyword list is a list that consists exclusively of two-element tuples. The first element of these tuples is known as the *key*, and it must be an atom. The second element, known as the *value*, can be any term. Keywords are mostly used to work with optional values. ...
28.137187
150
0.600779
85acc56d52b8f290edc400eb7de99e1e07425cf3
217
exs
Elixir
writers_unblocked/test/writers_unblocked_web/controllers/page_controller_test.exs
TylerWasniowski/WritersUnblocked
edd74b2597289163374212cf09ca60a519b0a898
[ "MIT" ]
2
2018-04-15T00:28:41.000Z
2018-04-15T04:58:42.000Z
writers_unblocked/test/writers_unblocked_web/controllers/page_controller_test.exs
TylerWasniowski/WritersUnblocked
edd74b2597289163374212cf09ca60a519b0a898
[ "MIT" ]
23
2018-04-19T02:34:29.000Z
2018-05-08T03:19:55.000Z
writers_unblocked/test/writers_unblocked_web/controllers/page_controller_test.exs
TylerWasniowski/WritersUnblocked
edd74b2597289163374212cf09ca60a519b0a898
[ "MIT" ]
1
2018-04-16T05:41:14.000Z
2018-04-16T05:41:14.000Z
defmodule WritersUnblockedWeb.PageControllerTest do use WritersUnblockedWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
24.111111
60
0.709677
85acd69ddb77f8fc73123a9eca7604f967a2e2ec
1,510
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows.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...
31.458333
80
0.74702
85ace2acc9e23476e7461427d6c260c3cd6301a5
23,083
ex
Elixir
deps/stream_data/lib/ex_unit_properties.ex
fast-radius/kinesis
f98e1792c650c18bb1967d1067e77fe365245f2a
[ "MIT" ]
null
null
null
deps/stream_data/lib/ex_unit_properties.ex
fast-radius/kinesis
f98e1792c650c18bb1967d1067e77fe365245f2a
[ "MIT" ]
null
null
null
deps/stream_data/lib/ex_unit_properties.ex
fast-radius/kinesis
f98e1792c650c18bb1967d1067e77fe365245f2a
[ "MIT" ]
null
null
null
defmodule ExUnitProperties do @moduledoc """ Provides macros for property-based testing. This module provides a few macros that can be used for property-based testing. The core is `check/3`, which allows executing arbitrary tests on many pieces of generated data. Another one is `property/3`, which is meant a...
37.051364
103
0.673353
85ace38a1b7304dc5c8a61934080dc36c4f8bda6
3,310
exs
Elixir
mix.exs
jicee13/accent
d797e10eb1ea5bfc118c2da32d734e796eb661f2
[ "BSD-3-Clause" ]
null
null
null
mix.exs
jicee13/accent
d797e10eb1ea5bfc118c2da32d734e796eb661f2
[ "BSD-3-Clause" ]
null
null
null
mix.exs
jicee13/accent
d797e10eb1ea5bfc118c2da32d734e796eb661f2
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.Mixfile do use Mix.Project @version "1.5.5" def project do [ app: :accent, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix] ++ Mix.compilers(), build_embedded: Mix.env() == :prod, start_permanent: M...
26.062992
100
0.510272
85acf440f362bd6af7461fcb4f7372c795f3904c
1,875
exs
Elixir
test/appsignal/appsignal_test.exs
kianmeng/appsignal-elixir
ef9cdf47cead223c93b5df9dfb95cfab13a16ab1
[ "MIT" ]
null
null
null
test/appsignal/appsignal_test.exs
kianmeng/appsignal-elixir
ef9cdf47cead223c93b5df9dfb95cfab13a16ab1
[ "MIT" ]
null
null
null
test/appsignal/appsignal_test.exs
kianmeng/appsignal-elixir
ef9cdf47cead223c93b5df9dfb95cfab13a16ab1
[ "MIT" ]
null
null
null
defmodule AppsignalTest do use ExUnit.Case, async: true import AppsignalTest.Utils setup do {:ok, _} = start_supervised(Appsignal.Test.Tracer) {:ok, _} = start_supervised(Appsignal.Test.Nif) {:ok, _} = start_supervised(Appsignal.Test.Span) :ok end test "set gauge" do Appsignal.set_gauge...
28.846154
74
0.662933
85ad1499568dc3b388816a68dd5fdf7a86d255da
136
exs
Elixir
test/thngpush_test.exs
devstopfix/evrythng.thngpush
12ab3155cd4f672334608daf56839bf51438ab86
[ "Apache-2.0" ]
null
null
null
test/thngpush_test.exs
devstopfix/evrythng.thngpush
12ab3155cd4f672334608daf56839bf51438ab86
[ "Apache-2.0" ]
3
2017-05-21T17:31:02.000Z
2017-05-29T19:09:38.000Z
test/thngpush_test.exs
devstopfix/evrythng.thngpush
12ab3155cd4f672334608daf56839bf51438ab86
[ "Apache-2.0" ]
null
null
null
defmodule Evrythng.ThngPushTest do use ExUnit.Case doctest Evrythng.ThngPush test "the truth" do assert 1 + 1 == 2 end end
15.111111
34
0.705882
85ad20eaa3ad3a41a0e1a5ff0646aca922c6defa
19,241
ex
Elixir
lib/teslamate/log.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
2,602
2019-07-24T23:19:12.000Z
2022-03-31T15:03:48.000Z
lib/teslamate/log.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1,547
2019-07-26T22:02:09.000Z
2022-03-31T15:39:41.000Z
lib/teslamate/log.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
524
2019-07-26T17:31:33.000Z
2022-03-29T15:16:36.000Z
defmodule TeslaMate.Log do @moduledoc """ The Log context. """ require Logger import TeslaMate.CustomExpressions import Ecto.Query, warn: false alias __MODULE__.{Car, Drive, Update, ChargingProcess, Charge, Position, State} alias TeslaMate.{Repo, Locations, Settings} alias TeslaMate.Locations.GeoFe...
29.064955
97
0.566187
85ad255d419fd8078d43875cb56aaba133d66585
678
ex
Elixir
apps/heroes_web/lib/game_boards/oblivion.ex
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
2
2020-04-09T06:42:15.000Z
2022-03-03T15:52:38.000Z
apps/heroes_web/lib/game_boards/oblivion.ex
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
5
2020-04-28T16:05:46.000Z
2021-01-03T14:08:19.000Z
apps/heroes_web/lib/game_boards/oblivion.ex
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
null
null
null
defmodule GameBoards.Oblivion do @moduledoc """ Size: 6x8 Walls: 7 +---+---+---+---+---+---+ | | ⠀ | | ⠀ | W | ⠀ | +---+---+---+---+---+---+ | | | | | W | | +---+---+---+---+---+---+ | W | ⠀ | | ⠀ | | ⠀ | +---+---+---+---+---+---+ | | | | W | | | +---+---+---+---+---...
22.6
67
0.157817
85ad4540fa2d664afada42389a787a7f4d5bec6a
995
exs
Elixir
test/inmana/restaurant_test.exs
hillesheim11/inmana
2b66982a37fd9362184dfce739c2aa9ca9dfa7cc
[ "MIT" ]
null
null
null
test/inmana/restaurant_test.exs
hillesheim11/inmana
2b66982a37fd9362184dfce739c2aa9ca9dfa7cc
[ "MIT" ]
null
null
null
test/inmana/restaurant_test.exs
hillesheim11/inmana
2b66982a37fd9362184dfce739c2aa9ca9dfa7cc
[ "MIT" ]
null
null
null
defmodule Inmana.RestaurantTest do use Inmana.DataCase alias Ecto.Changeset alias Inmana.Restaurant describe "changeset/1" do test "when all params are valid, returns a valid changeset" do params = %{name: "Lucas", email: "email@test.com.br"} response = Restaurant.changeset(params) # E...
26.184211
75
0.60804
85ad483b0dc16d188ca879b76dd1511ea6f606e6
3,163
exs
Elixir
sample_application/test/reinit_test.exs
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
null
null
null
sample_application/test/reinit_test.exs
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
null
null
null
sample_application/test/reinit_test.exs
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
null
null
null
defmodule Sample.ReInitTest do use ExUnit.Case alias KaufmannEx.ReleaseTasks.ReInit alias KaufmannEx.ReleaseTasks.ReInit.Config @moduletag :integration # Testing Reini here instead of in base tests # Reinit_service assumes it will be run in a service using kaufmann setup_all do Sample.ReleaseTasks...
22.432624
79
0.669934
85ad56cd9337aa827e60455eab81b908e78ddaef
621
ex
Elixir
merkle-tree/elixir/lib/app/transaction.ex
zemuldo/data_structures
414400d64679bffd719968b43e7ee8d69aca275f
[ "MIT" ]
null
null
null
merkle-tree/elixir/lib/app/transaction.ex
zemuldo/data_structures
414400d64679bffd719968b43e7ee8d69aca275f
[ "MIT" ]
null
null
null
merkle-tree/elixir/lib/app/transaction.ex
zemuldo/data_structures
414400d64679bffd719968b43e7ee8d69aca275f
[ "MIT" ]
null
null
null
defmodule App.Transaction do alias App.Utils defstruct [:id, :amount, :balance, :transacted_at, :hash, :block_id] def init(data, block) do %__MODULE__{ id: data.id, amount: data.amount, balance: data.balance, transacted_at: data.transacted_at } |> put_hash() |> put_block_...
19.40625
70
0.611916
85ad56fc38896b85ef81e6d057eb2f5ae25d7fb3
552
ex
Elixir
lib/mystex_pizza/order.ex
mcrumm/mystex_pizza_on_broadway
14d79c97086e55bf97464a41fef02e9e8e9d771f
[ "Apache-2.0" ]
18
2019-10-16T23:08:37.000Z
2021-11-17T10:46:20.000Z
lib/mystex_pizza/order.ex
okariFrankline/pizza_broadway
8d95f25c890e8f64aa97107c96e568304caf78df
[ "Apache-2.0" ]
null
null
null
lib/mystex_pizza/order.ex
okariFrankline/pizza_broadway
8d95f25c890e8f64aa97107c96e568304caf78df
[ "Apache-2.0" ]
4
2019-10-16T23:07:16.000Z
2022-01-19T18:01:19.000Z
defmodule MystexPizza.Order do @moduledoc """ The schema for an Order from PizzaBarn. """ use Ecto.Schema import Ecto.Changeset @primary_key {:id, :string, []} @timestamps_opts type: :utc_datetime_usec schema "orders" do field(:amount, :integer) belongs_to(:customer, MystexPizza.Customer, type:...
23
62
0.67029
85ad6a88e23644d533614498c0bc618ed2de5d68
1,563
ex
Elixir
apps/web/lib/web.ex
bitwalker/aws-dist-test
94d87e82b617da02d541f7b2744d20747d8ef21f
[ "Apache-2.0" ]
4
2019-03-13T16:38:32.000Z
2020-01-11T20:05:25.000Z
apps/web/lib/web.ex
bitwalker/aws-dist-test
94d87e82b617da02d541f7b2744d20747d8ef21f
[ "Apache-2.0" ]
1
2019-03-14T17:41:55.000Z
2019-03-14T17:41:55.000Z
apps/web/lib/web.ex
bitwalker/aws-dist-test
94d87e82b617da02d541f7b2744d20747d8ef21f
[ "Apache-2.0" ]
1
2019-03-14T14:53:29.000Z
2019-03-14T14:53:29.000Z
defmodule ExampleWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use ExampleWeb, :controller use ExampleWeb, :view The definitions below will be executed for every view, controller, ...
22.652174
69
0.684581
85ad73d9134b96e0971b765523ee03e5628175fc
1,086
ex
Elixir
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/connection.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/connection.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/connection.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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.909091
74
0.73849
85ad8787a452149759b29d32df7adb621e975258
2,030
ex
Elixir
projects/api/test/support/data_case.ex
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
82
2017-11-06T01:00:55.000Z
2020-12-09T10:35:29.000Z
projects/api/test/support/data_case.ex
dbstratta/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
98
2017-11-06T22:57:32.000Z
2020-07-03T04:46:39.000Z
projects/api/test/support/data_case.ex
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
10
2017-11-16T05:31:58.000Z
2020-10-29T18:02:35.000Z
defmodule Margaret.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every tes...
25.696203
84
0.660591
85ad8c6f86516fa738d4f76197340ac841f50b96
27,107
ex
Elixir
lib/aws/generated/network_manager.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/network_manager.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/network_manager.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "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.NetworkManager do @moduledoc """ Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your AWS and on-premises networks that are...
22.365512
114
0.602022
85ad98706f27993af708aac9738aabdd12a6b661
1,006
exs
Elixir
config/config.exs
sourceboat/hackathon-14-elixir-nerves-hot-button
ea62cab982d51796dfcf19d8aadb781ae28be1b7
[ "MIT" ]
null
null
null
config/config.exs
sourceboat/hackathon-14-elixir-nerves-hot-button
ea62cab982d51796dfcf19d8aadb781ae28be1b7
[ "MIT" ]
null
null
null
config/config.exs
sourceboat/hackathon-14-elixir-nerves-hot-button
ea62cab982d51796dfcf19d8aadb781ae28be1b7
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application and its # dependencies. # # This configuration file is loaded before any dependency and is restricted to # this project. import Config # Enable the Nerves integration with Mix Application.start(:nerves_bootstrap) config :hot_button, target: Mix.target() # C...
29.588235
82
0.776342
85ad9dbe580c1c48e4b34dd6cf26041939d3c744
4,091
exs
Elixir
test/elavon_test.exs
infinitered/elavon-elixir
cabe1dcbc4b8ca06145975825a45bfaa59f63eff
[ "MIT" ]
3
2017-11-29T23:02:37.000Z
2017-11-29T23:11:31.000Z
test/elavon_test.exs
infinitered/elavon-elixir
cabe1dcbc4b8ca06145975825a45bfaa59f63eff
[ "MIT" ]
1
2017-11-30T21:02:14.000Z
2017-11-30T21:11:05.000Z
test/elavon_test.exs
infinitered/elavon-elixir
cabe1dcbc4b8ca06145975825a45bfaa59f63eff
[ "MIT" ]
null
null
null
defmodule ElavonTest do use ExUnit.Case @visa 4124939999999990 @invalid_mastercard 5406004444444443 @invalid 0000000000000000 describe ".sale" do test "creates a transaction with valid card info" do params = %{ ssl_card_number: @visa, ssl_cvv2cvc2_indicator: 1, ssl_cvv2cvc2...
29.861314
142
0.619408
85ade4c8f1f9373cc99035d4596068b2bb8370c1
2,747
exs
Elixir
test/type/literal_range/intersection_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
97
2020-09-22T01:52:19.000Z
2022-03-21T17:50:13.000Z
test/type/literal_range/intersection_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
106
2020-09-22T18:55:28.000Z
2021-11-30T01:51:04.000Z
test/type/literal_range/intersection_test.exs
ityonemo/mavis
6f71c1ff9e12626c1ac5fcd1276c9adb433bfb99
[ "MIT" ]
3
2020-10-27T22:36:56.000Z
2022-01-25T21:00:24.000Z
defmodule TypeTest.LiteralRange.IntersectionTest do use ExUnit.Case, async: true use Type.Operators @moduletag :intersection import Type, only: :macros describe "the intersection of a literal range" do test "with itself, integer and any is itself" do assert -47..47 == -47..47 <~> any() asse...
32.317647
85
0.471423
85ae13875dbb3926f4da0c773f8cba0310008ec6
84
exs
Elixir
pi_control_manager/test/views/layout_view_test.exs
harmon25/picontrol
90a203ac63c94cd0ab975313225100170c9c589a
[ "MIT" ]
2
2016-07-14T06:51:32.000Z
2017-02-10T19:19:08.000Z
pi_control_manager/test/views/layout_view_test.exs
harmon25/picontrol
90a203ac63c94cd0ab975313225100170c9c589a
[ "MIT" ]
null
null
null
pi_control_manager/test/views/layout_view_test.exs
harmon25/picontrol
90a203ac63c94cd0ab975313225100170c9c589a
[ "MIT" ]
null
null
null
defmodule PiCntrlMngr.LayoutViewTest do use PiCntrlMngr.ConnCase, async: true end
21
39
0.833333
85ae1c4b289d0cdb701e98bbb52c07be612bdcee
1,188
ex
Elixir
apps/admin_api/lib/admin_api/v1/views/token_view.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/lib/admin_api/v1/views/token_view.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/lib/admin_api/v1/views/token_view.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.108108
82
0.734848
85ae286166ca300ef34281d04113bac9df3f53c7
1,117
ex
Elixir
app/lib/rocdev_web/controllers/slack_controller.ex
TomFrink/rocdev
5c4a19c2d099bd8bad3377e6e08dfc9aa7e0bcf5
[ "MIT" ]
14
2017-10-10T19:11:21.000Z
2019-04-20T20:11:01.000Z
app/lib/rocdev_web/controllers/slack_controller.ex
TomFrink/rocdev
5c4a19c2d099bd8bad3377e6e08dfc9aa7e0bcf5
[ "MIT" ]
41
2017-10-08T03:07:20.000Z
2018-10-15T12:47:34.000Z
app/lib/rocdev_web/controllers/slack_controller.ex
TomFrink/rocdev
5c4a19c2d099bd8bad3377e6e08dfc9aa7e0bcf5
[ "MIT" ]
7
2017-10-18T10:44:04.000Z
2019-04-15T20:44:49.000Z
defmodule RocdevWeb.SlackController do use RocdevWeb, :controller require Logger alias Rocdev.SlackAPI def index(conn, _params) do redirect conn, external: "https://rocdev.slack.com" end # Invite and redirect back to home page, which has the form. def register(conn, %{"register" => %{"email" => emai...
27.925
66
0.549687
85ae8ec94816f827b4c862842b8a9f4d65c0c639
193
exs
Elixir
config/config.exs
TurtleAI/tributary
b15055cd07f93b185eed8d6b8ab6e1efadece976
[ "MIT" ]
40
2016-03-24T23:32:06.000Z
2020-09-28T21:14:05.000Z
config/config.exs
TurtleAI/tributary
b15055cd07f93b185eed8d6b8ab6e1efadece976
[ "MIT" ]
14
2016-03-24T20:31:53.000Z
2017-01-01T22:32:40.000Z
config/config.exs
TurtleAI/tributary
b15055cd07f93b185eed8d6b8ab6e1efadece976
[ "MIT" ]
10
2016-07-29T21:06:19.000Z
2017-12-25T10:44:18.000Z
use Mix.Config if File.exists?("config/#{Mix.env}.exs") do import_config "#{Mix.env}.exs" end if File.exists?("config/#{Mix.env}.secret.exs") do import_config "#{Mix.env}.secret.exs" end
19.3
50
0.683938
85ae9713e441db7d672012d13a604786e7c53eab
1,746
exs
Elixir
test/dateTimes_test.exs
BritishKoalaTea/tdd-elixir
e55bb79668cd6a6b65f0b1f66232cd89793054dc
[ "MIT" ]
null
null
null
test/dateTimes_test.exs
BritishKoalaTea/tdd-elixir
e55bb79668cd6a6b65f0b1f66232cd89793054dc
[ "MIT" ]
null
null
null
test/dateTimes_test.exs
BritishKoalaTea/tdd-elixir
e55bb79668cd6a6b65f0b1f66232cd89793054dc
[ "MIT" ]
null
null
null
defmodule DateTimesTest do use ExUnit.Case doctest DateTimes test "can get the current year" do result = DateTimes.getYear(Timex.today) assert result == 2019 end test "can calculate days from today until Christmas this year" do year = DateTimes.getCurrentYear() # build date for Ch...
34.235294
93
0.686712
85ae9ffe952e4ac14193aeef855698ce48cbb5a9
221
exs
Elixir
priv/repo/migrations/0010_create_currency.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/0010_create_currency.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/0010_create_currency.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
1
2017-12-15T15:49:16.000Z
2017-12-15T15:49:16.000Z
defmodule Alastair.Repo.Migrations.CreateCurrency do use Ecto.Migration def change do create table(:currencies) do add :name, :string add :display_code, :string timestamps() end end end
15.785714
52
0.678733
85aeb21c49bc35bdfda7f54185cca84a94bf77ff
2,284
exs
Elixir
mix.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
4
2020-02-16T07:18:35.000Z
2021-12-09T14:43:10.000Z
mix.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
27
2019-10-16T18:35:19.000Z
2022-03-13T16:39:57.000Z
mix.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
null
null
null
defmodule ExRss.Mixfile do use Mix.Project def project do [ app: :ex_rss, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == ...
26.55814
79
0.536778
85af02e7e6a56c35503e891e479f43ac4a1926c5
200
ex
Elixir
lib/geoip/config.ex
arbitinc/geoip
9c05b59a35aff5d7c758d12da6a90207283ec526
[ "MIT" ]
null
null
null
lib/geoip/config.ex
arbitinc/geoip
9c05b59a35aff5d7c758d12da6a90207283ec526
[ "MIT" ]
null
null
null
lib/geoip/config.ex
arbitinc/geoip
9c05b59a35aff5d7c758d12da6a90207283ec526
[ "MIT" ]
null
null
null
defmodule GeoIP.Config do def base_url, do: get(:url) def cache_enabled?, do: get(:cache) def cache_ttl_secs, do: get(:cache_ttl_secs) defp get(key), do: Application.get_env(:geoip, key) end
25
53
0.72
85af04b1b48c3a152c365ad0059238e69c086d3e
391
exs
Elixir
priv/repo/migrations/20160514100348_add_visit_view_and_patterns_to_auto_message_config.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
27
2016-10-15T12:13:22.000Z
2021-02-07T20:31:41.000Z
priv/repo/migrations/20160514100348_add_visit_view_and_patterns_to_auto_message_config.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
null
null
null
priv/repo/migrations/20160514100348_add_visit_view_and_patterns_to_auto_message_config.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
4
2016-08-21T15:03:29.000Z
2019-11-22T13:15:29.000Z
defmodule EmbedChat.Repo.Migrations.AddVisitViewAndPatternsToAutoMessageConfig do use Ecto.Migration def change do alter table(:auto_message_configs) do add :message, :text add :visit_view, :integer add :current_url_pattern, :string add :referrer_pattern, :string add :language_pat...
26.066667
81
0.723785
85af10247cdb61552e2cf593b4b15970ad8d26c0
3,366
ex
Elixir
lib/stranger_web/live/live_helpers.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
11
2021-01-27T17:21:00.000Z
2021-12-07T13:02:59.000Z
lib/stranger_web/live/live_helpers.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
null
null
null
lib/stranger_web/live/live_helpers.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
null
null
null
defmodule StrangerWeb.LiveHelpers do alias Stranger.{Accounts, Uploaders.Avatar} import Phoenix.LiveView use Phoenix.HTML @env Mix.env() def section_class(current_section, section) do if section != current_section, do: "d-none", else: "" end def format_date(form_data) do cond do # Comes fr...
28.285714
100
0.633393
85af21c6275a2a8242db9d4d02486c34b21af859
15,712
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/creatives.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/creatives.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/creatives.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...
46.348083
480
0.63321
85af6651c11ed2a246ee32e582a61befe66abbaa
73
exs
Elixir
test/chargen_data_test.exs
michaelkitson/chargen_server
2125858f22fe4317591cf819ca68a2b6b2a5b0be
[ "MIT" ]
1
2016-04-14T04:02:50.000Z
2016-04-14T04:02:50.000Z
test/chargen_data_test.exs
michaelkitson/chargen_server
2125858f22fe4317591cf819ca68a2b6b2a5b0be
[ "MIT" ]
null
null
null
test/chargen_data_test.exs
michaelkitson/chargen_server
2125858f22fe4317591cf819ca68a2b6b2a5b0be
[ "MIT" ]
null
null
null
defmodule ChargenDataTest do use ExUnit.Case doctest ChargenData end
14.6
28
0.821918
85af69954c386138ef6ade13132de9a299fafbe6
3,412
ex
Elixir
web/controllers/item_controller.ex
robot-overlord/todo-example
2877bf3dc94e857a576fdc922c040c6af2f68ec0
[ "MIT" ]
1
2017-07-20T17:41:13.000Z
2017-07-20T17:41:13.000Z
web/controllers/item_controller.ex
robot-overlord/todo-example
2877bf3dc94e857a576fdc922c040c6af2f68ec0
[ "MIT" ]
null
null
null
web/controllers/item_controller.ex
robot-overlord/todo-example
2877bf3dc94e857a576fdc922c040c6af2f68ec0
[ "MIT" ]
null
null
null
defmodule Todo.ItemController do alias Todo.{Item, User, List} import Todo.Endpoint, only: [broadcast: 3] use Todo.Web, :controller require Logger # @spec index(Plug.Conn.t(), map()) :: Plug.Conn.t() # def index(conn, _params) do # render(conn, "index.html", items: Repo.all(Item), conn: conn) # end ...
27.079365
97
0.535756
85af6cdca844f4d81fd52016d29e13eda2ef0187
186
ex
Elixir
lib/la_famiglia_web/views/api/attack_movement_view.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
lib/la_famiglia_web/views/api/attack_movement_view.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
lib/la_famiglia_web/views/api/attack_movement_view.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamigliaWeb.Api.AttackMovementView do use LaFamiglia.Web, :view def render("create.json", %{movement: movement}) do %{attack_movement: %{id: movement.id}} end end
23.25
53
0.725806
85af72f90359061a01c3ecb813713d970df67820
2,890
ex
Elixir
web/controllers/resource_controller.ex
nambrot/meetingrooms
6a9612df1dbac16dc4871181ed57e6307e84819b
[ "MIT" ]
null
null
null
web/controllers/resource_controller.ex
nambrot/meetingrooms
6a9612df1dbac16dc4871181ed57e6307e84819b
[ "MIT" ]
null
null
null
web/controllers/resource_controller.ex
nambrot/meetingrooms
6a9612df1dbac16dc4871181ed57e6307e84819b
[ "MIT" ]
null
null
null
defmodule PhoenixGuardian.ResourceController do use PhoenixGuardian.Web, :controller use Guardian.Phoenix.Controller alias PhoenixGuardian.{ Repo, Resource } alias Phoenix.Controller require Logger plug :scrub_params, "resource" when action in [:create, :update] def index(conn, _params, current_user, _c...
35.679012
103
0.680969
85af78f1f7a9554f500bee0173f8db48a0e76cb1
1,329
exs
Elixir
config/prod.secret.exs
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
config/prod.secret.exs
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
config/prod.secret.exs
aslakjohansen/dde-iotserver-liveview
eaf063c366105da7ca30b55c6a7a7dd4505b0916
[ "BSD-3-Clause" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
31.642857
84
0.736644
85af81a60a46585546c7be006e79970f22f2078c
1,512
exs
Elixir
config/dev.exs
jbrb/lyrix-api
c532d1a9f42f9d086a35f8aeb59dc363143d4242
[ "MIT" ]
null
null
null
config/dev.exs
jbrb/lyrix-api
c532d1a9f42f9d086a35f8aeb59dc363143d4242
[ "MIT" ]
null
null
null
config/dev.exs
jbrb/lyrix-api
c532d1a9f42f9d086a35f8aeb59dc363143d4242
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :requester, RequesterWeb.Endpoint, http: [port...
32.170213
170
0.736111
85af9bb28ef70f7c2a5842bfcad06bbfe408bf0c
5,828
ex
Elixir
lib/cforum/votes.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum/votes.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum/votes.ex
multitain/cforum_ex
95634a547893f5392345b173f3c264b149e2b124
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.Votes do @moduledoc """ The boundary for the Forums system. """ import Ecto.Query, warn: false alias Cforum.Repo alias Cforum.Helpers alias Cforum.Scores alias Cforum.Votes.Vote alias Cforum.Messages alias Cforum.Messages.Message alias Cforum.Messages.MessageCaching alias Cfo...
24.082645
117
0.618566
85afa3df26862e8f2662388ce2cf078f2dafac5b
11,924
ex
Elixir
lib/absinthe/pipeline.ex
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
lib/absinthe/pipeline.ex
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
null
null
null
lib/absinthe/pipeline.ex
Rabbet/absinthe
0764d7eb6ea9bdf9ccd957fa27bf1e6b26968f89
[ "MIT" ]
null
null
null
defmodule Absinthe.Pipeline do @moduledoc """ Execute a pipeline of phases. A pipeline is merely a list of phases. This module contains functions for building, modifying, and executing pipelines of phases. """ alias Absinthe.Phase require Logger @type data_t :: any @type phase_config_t :: Phase.t...
29.369458
88
0.647014
85afbeffeeb3e083429be37f33ff4f91c085f0f3
1,384
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1beta1/model/google_cloud_videointelligence_v1_label_annotation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1beta1/model/google_cloud_videointelligence_v1_label_annotation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1beta1/model/google_cloud_videointelligence_v1_label_annotation.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...
33.756098
136
0.772399
85afcca1a5634fa9b54144ddc1e20d4c5556f089
273
exs
Elixir
spec/spec_helper.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
spec/spec_helper.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
spec/spec_helper.exs
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
Code.require_file("spec/phoenix_helper.exs") ESpec.configure fn(config) -> config.before fn(_tags) -> :ok = Ecto.Adapters.SQL.Sandbox.checkout(Squadster.Repo) end config.finally fn(_shared) -> Ecto.Adapters.SQL.Sandbox.checkin(Squadster.Repo, []) end end
22.75
60
0.717949
85aff1c8208f3660d4936f4b6a60319597138af3
584
ex
Elixir
lib/parsers/dateformat/strftime.ex
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
lib/parsers/dateformat/strftime.ex
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
lib/parsers/dateformat/strftime.ex
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
defmodule Timex.Parsers.DateFormat.StrftimeParser do @moduledoc """ This module is responsible for parsing date strings using the strftime formatting syntax. See `Timex.DateFormat.Formatters.StrftimeFormatter` for more info. """ use Timex.Parsers.DateFormat.Parser @doc """ The tokenizer used by this p...
30.736842
97
0.765411
85aff302fc3254721f51b68e267caebb410fd6fc
725
ex
Elixir
lib/sanbase_web/graphql/dataloader/sanbase_repo.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/dataloader/sanbase_repo.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/dataloader/sanbase_repo.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.SanbaseRepo do alias Sanbase.Repo alias Sanbase.Model.{ProjectBtcAddress, Project} alias Sanbase.Insight.Post alias Sanbase.Timeline.TimelineEvent import Ecto.Query @spec data() :: Dataloader.Ecto.t() def data() do Dataloader.Ecto.new(Repo, query: &query/2) end def ...
19.078947
50
0.692414
85aff4d2f5fa20c16956f09e62741f05644b40ce
406
exs
Elixir
clients/video_intelligence/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/video_intelligence/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
ExUnit.start() defmodule GoogleApi.VideoIntelligence.V1.TestHelper do defmacro __using__(opts) do quote do use ExUnit.Case, unquote(opts) import GoogleApi.VideoIntelligence.V1.TestHelper end end def for_scope(scopes) when is_list(scopes), do: for_scope(Enum.join(scopes, " ")) def for_scop...
21.368421
83
0.711823
85aff783d90d79d417cee4550d5b2be977362542
131
ex
Elixir
debian/cron.d.ex
Gurut/libfenc
04498be422b76fba70efbf7d7b4d154fdfb54d65
[ "BSD-3-Clause" ]
2
2019-09-22T14:54:02.000Z
2019-12-24T08:22:41.000Z
debian/cron.d.ex
Gurut/libfenc
04498be422b76fba70efbf7d7b4d154fdfb54d65
[ "BSD-3-Clause" ]
2
2017-03-05T14:50:42.000Z
2019-02-06T19:11:16.000Z
debian/cron.d.ex
Gurut/libfenc
04498be422b76fba70efbf7d7b4d154fdfb54d65
[ "BSD-3-Clause" ]
3
2016-05-25T04:48:48.000Z
2018-01-11T09:43:38.000Z
# # Regular cron jobs for the libfenc package # 0 4 * * * root [ -x /usr/bin/libfenc_maintenance ] && /usr/bin/libfenc_maintenance
26.2
82
0.70229
85b00bd7aab78bb4d6579814f4eb22491d3cab1c
9,990
ex
Elixir
service/lib/spaces/spaceStore.ex
vsls-contrib/spaces
f9affb52d7695878921f29a92993209a140f3fae
[ "MIT" ]
29
2019-09-26T11:36:06.000Z
2021-02-02T20:34:51.000Z
service/lib/spaces/spaceStore.ex
vsls-contrib/vscode-can
f9affb52d7695878921f29a92993209a140f3fae
[ "MIT" ]
63
2019-07-25T01:17:55.000Z
2019-09-11T19:18:15.000Z
service/lib/spaces/spaceStore.ex
vsls-contrib/vscode-can
f9affb52d7695878921f29a92993209a140f3fae
[ "MIT" ]
2
2019-09-16T22:05:48.000Z
2020-07-30T15:07:19.000Z
defmodule LiveShareSpaces.SpaceStore do @top_spaces_count 5 @key_prefix "space" @ls_service_uri "https://prod.liveshare.vsengsaas.visualstudio.com" def migrate_duplicate_members() do all_space_names() |> Enum.map(&migrate_duplicate_members_for(&1)) end defp migrate_duplicate_members_for(name) do ...
23.018433
94
0.565566
85b0105857c41db736a4781adf46ae591583775e
2,148
ex
Elixir
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/audit_log_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/audit_log_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/audit_log_config.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...
30.685714
138
0.681564
85b029ce0dffbf63bc55091153a5956f948e9246
97
exs
Elixir
.iex.exs
c4710n/scrivener_html_semi
dbf647508d07e98a5c484f36c0f0ebc2dae777ea
[ "MIT" ]
null
null
null
.iex.exs
c4710n/scrivener_html_semi
dbf647508d07e98a5c484f36c0f0ebc2dae777ea
[ "MIT" ]
null
null
null
.iex.exs
c4710n/scrivener_html_semi
dbf647508d07e98a5c484f36c0f0ebc2dae777ea
[ "MIT" ]
null
null
null
alias Scrivener.Page alias Scrivener.HTML alias Scrivener.HTML.Parse alias Scrivener.HTML.Render
19.4
27
0.85567
85b030ac80d231bf8d8452b3b4c00158c8f0d76f
690
exs
Elixir
test/models/category_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/models/category_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/models/category_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.CategoryTest do use Nectar.ModelCase alias Nectar.Category alias Nectar.TestSetup describe "fields" do has_fields Category, ~w(id name parent_id)a ++ timestamps end describe "associations" do has_associations Category, ~w(product_categories products children parent)a end des...
25.555556
83
0.73913
85b0337e60e6e26b3a4612e47345bd069fe1452d
3,773
ex
Elixir
clients/content/lib/google_api/content/v2/model/test_order.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
48.371795
166
0.733634
85b039b0c16f15992188467293d72e11af7b7a82
1,818
exs
Elixir
mix.exs
leanpanda-com/bamboo
a8a2e04422ce577fef04fd10138865cfc13a54d2
[ "MIT" ]
null
null
null
mix.exs
leanpanda-com/bamboo
a8a2e04422ce577fef04fd10138865cfc13a54d2
[ "MIT" ]
null
null
null
mix.exs
leanpanda-com/bamboo
a8a2e04422ce577fef04fd10138865cfc13a54d2
[ "MIT" ]
1
2021-03-29T17:43:54.000Z
2021-03-29T17:43:54.000Z
defmodule Bamboo.Mixfile do use Mix.Project @project_url "https://github.com/thoughtbot/bamboo" def project do [ app: :bamboo, version: "2.0.2", elixir: "~> 1.6", source_url: @project_url, homepage_url: @project_url, test_coverage: [tool: ExCoveralls], preferred_cli...
24.567568
95
0.555006
85b03b4a9ccaa10081f2065b0e3818883101ab66
265
exs
Elixir
priv/repo/migrations/20190617100421_add_categories_table.exs
rafaeliga/ancestry
00a86194fe7924756465dc0e9a8c811c5dca9560
[ "MIT" ]
25
2019-06-17T10:56:02.000Z
2021-07-10T08:29:50.000Z
priv/repo/migrations/20190617100421_add_categories_table.exs
rafaeliga/ancestry
00a86194fe7924756465dc0e9a8c811c5dca9560
[ "MIT" ]
38
2020-04-01T12:35:27.000Z
2021-08-02T21:18:00.000Z
priv/repo/migrations/20190617100421_add_categories_table.exs
rafaeliga/ancestry
00a86194fe7924756465dc0e9a8c811c5dca9560
[ "MIT" ]
2
2019-06-20T09:39:46.000Z
2020-06-29T13:30:19.000Z
defmodule Dummy.Repo.Migrations.AddCategoriesTable do use Ecto.Migration def change do create table(:categories) do add :name, :string, null: false add :ancestry, :string add :ancestry_other, :string timestamps() end end end
18.928571
53
0.675472
85b04255964f7719d9f60cde19c4226f2bbc4e0b
1,312
exs
Elixir
apps/service_receive/mix.exs
cameronmarsh/hindsight
48952a719b0193810eb014587d93b696050f88f9
[ "Apache-2.0" ]
null
null
null
apps/service_receive/mix.exs
cameronmarsh/hindsight
48952a719b0193810eb014587d93b696050f88f9
[ "Apache-2.0" ]
null
null
null
apps/service_receive/mix.exs
cameronmarsh/hindsight
48952a719b0193810eb014587d93b696050f88f9
[ "Apache-2.0" ]
null
null
null
defmodule Receive.MixProject do use Mix.Project def project do [ app: :service_receive, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", start_permanent: M...
26.24
65
0.573933
85b0471a1fd88198e7dca84c1cce89fd9157f61a
3,656
ex
Elixir
apps/core/lib/utils/importer/worker27.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/core/lib/utils/importer/worker27.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/core/lib/utils/importer/worker27.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule Core.Utils.Importer.Worker27 do use GenServer use OverDB.Worker, executor: Core.Executor alias Core.Utils.Importer.Helper27 require Logger @doc """ starting bundle inserter """ @spec start_link(list) :: tuple def start_link(bundle) do # in order to insert the bundle to the databas...
30.466667
81
0.627188
85b04e4359f11de50bbe9aca88c7d0255e240dbb
1,548
ex
Elixir
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_protobuf_empty.ex
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...
36.857143
282
0.771964
85b073b3f2409f2627b67e357dabff3c6afb353d
3,066
exs
Elixir
test/diversity_in_tech_web/controllers/company_controller_test.exs
dreamingechoes/diversity-in-tech
4eb5dadf69f82fd08e1cdd1b125264930d3b4e6f
[ "MIT" ]
8
2018-06-22T05:43:30.000Z
2020-04-13T20:31:40.000Z
test/diversity_in_tech_web/controllers/company_controller_test.exs
dreamingechoes/diversity-in-tech
4eb5dadf69f82fd08e1cdd1b125264930d3b4e6f
[ "MIT" ]
null
null
null
test/diversity_in_tech_web/controllers/company_controller_test.exs
dreamingechoes/diversity-in-tech
4eb5dadf69f82fd08e1cdd1b125264930d3b4e6f
[ "MIT" ]
null
null
null
defmodule DiversityInTechWeb.CompanyControllerTest do use DiversityInTechWeb.ConnCase alias DiversityInTech.Companies @create_attrs %{ description: "some description", logo: "some logo", name: "some name", website: "some website" } @update_attrs %{ description: "some updated description"...
28.654206
82
0.656882
85b09f497b72298eb5933f3d9f6921f578a3fadc
564
ex
Elixir
test/support/test_helpers/agency_helpers.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
test/support/test_helpers/agency_helpers.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
test/support/test_helpers/agency_helpers.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule ChallengeGov.TestHelpers.AgencyHelpers do @moduledoc """ Helper factory functions for agencies """ alias ChallengeGov.Agencies alias ChallengeGov.Repo defp default_attributes(attributes) do Map.merge( %{ name: "Test Agency", description: "Test desription for an agency" ...
20.888889
73
0.656028
85b0d56d290828924dd0a202bc522afec2527423
1,701
ex
Elixir
lib/remote_retro_web/channels/retro_channel.ex
steven-solomon/remote_retro
d37a508e095db202b3faf5b36e3dbc65d6b29be7
[ "MIT" ]
null
null
null
lib/remote_retro_web/channels/retro_channel.ex
steven-solomon/remote_retro
d37a508e095db202b3faf5b36e3dbc65d6b29be7
[ "MIT" ]
null
null
null
lib/remote_retro_web/channels/retro_channel.ex
steven-solomon/remote_retro
d37a508e095db202b3faf5b36e3dbc65d6b29be7
[ "MIT" ]
null
null
null
defmodule RemoteRetroWeb.RetroChannel do use RemoteRetroWeb, :channel alias RemoteRetroWeb.{ Presence, PresenceUtils, VotingHandlers, IdeationHandlers, RetroManagementHandlers, GroupHandlers } alias RemoteRetro.{Retro} def join("retro:" <> retro_id, _, socket) do socket = assign...
31.5
89
0.733686
85b0e3eae44df269efe85318c9b0c0874732c730
218
ex
Elixir
lib/chika.ex
Tsugami/chika
4f4c9d9fcb2c434437a4a4b8458aa8585fd320d3
[ "MIT" ]
7
2021-05-26T18:48:41.000Z
2021-07-24T21:10:14.000Z
lib/chika.ex
Tsugami/chika
4f4c9d9fcb2c434437a4a4b8458aa8585fd320d3
[ "MIT" ]
1
2021-05-29T01:22:44.000Z
2021-05-29T01:22:44.000Z
lib/chika.ex
Tsugami/chika
4f4c9d9fcb2c434437a4a4b8458aa8585fd320d3
[ "MIT" ]
2
2021-05-26T02:20:19.000Z
2021-05-26T13:20:56.000Z
defmodule Chika do alias Alchemy.Client def start(_type, _args) do login = Client.start(Application.fetch_env!(:chika, :token)) Alchemy.Cogs.set_prefix("c.") use Chika.Commands.LOL login end end
19.818182
64
0.697248
85b1820b7a2018ab7ffdaed0f06ba1180a450624
1,241
ex
Elixir
test/support/conn_case.ex
devrafaelantunes/tic_tac_toe_liveview
9055aff27b45e5d34898bb57018c5a90ea6a8c9e
[ "MIT" ]
null
null
null
test/support/conn_case.ex
devrafaelantunes/tic_tac_toe_liveview
9055aff27b45e5d34898bb57018c5a90ea6a8c9e
[ "MIT" ]
1
2021-05-22T02:09:13.000Z
2021-05-22T02:09:13.000Z
test/support/conn_case.ex
devrafaelantunes/tic_tac_toe_liveview
9055aff27b45e5d34898bb57018c5a90ea6a8c9e
[ "MIT" ]
null
null
null
defmodule TicTacToeWeb.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 ...
31.025
90
0.735697
85b184ef3e7d1b2e3b425f560ec4df5d7e49a1ad
1,381
ex
Elixir
backend/lib/edgehog_web/auth/error_handler.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
14
2021-12-02T16:31:16.000Z
2022-03-18T17:40:44.000Z
backend/lib/edgehog_web/auth/error_handler.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
77
2021-11-03T15:14:41.000Z
2022-03-30T14:13:32.000Z
backend/lib/edgehog_web/auth/error_handler.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
7
2021-11-03T10:58:37.000Z
2022-02-28T14:00:03.000Z
# # This file is part of Edgehog. # # Copyright 2022 SECO Mind Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
28.770833
76
0.721941
85b1892d346be67bb95d7c49545716b4f18dd1ae
726
exs
Elixir
test/cog/chat/hipchat/templates/embedded/help_command_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/hipchat/templates/embedded/help_command_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/hipchat/templates/embedded/help_command_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.HipChat.Templates.Embedded.HelpCommandTest do use Cog.TemplateCase test "help-command template" do data = %{"results" => [%{"name" => "test", "description" => "Do a test thing", "synopsis" => "test --do-a-thing", ...
36.3
81
0.517906
85b196dee45b4bd43c0b08bf93930a1d72ef6aef
5,137
ex
Elixir
lib/data/geojson.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
12
2018-06-15T10:18:43.000Z
2022-01-24T12:50:54.000Z
lib/data/geojson.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
15
2018-06-21T18:04:12.000Z
2021-10-16T12:54:39.000Z
lib/data/geojson.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
2
2020-03-09T19:21:36.000Z
2022-01-16T03:29:51.000Z
defmodule Data.GeoJSON do def to_feature_lists(%Map.Parsed{} = map) do %{ routes: as_feat_collection(routes(map) ++ routeless_ways(map)), articles: as_feat_collection(articles(map)), markers: as_feat_collection(markers(map)) } end defp markers(map) do map.nodes() |> Map.Element....
25.557214
175
0.570956
85b1b5dd112fc12b017c1357cb584fb99a99c36e
386
ex
Elixir
lib/train2cal_web/controllers/fallback_controller.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
lib/train2cal_web/controllers/fallback_controller.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
lib/train2cal_web/controllers/fallback_controller.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
defmodule Train2calWeb.FallbackController do use Train2calWeb, :controller def call(conn, {:error, :not_found}) do conn |> put_status(:not_found) |> put_view(Train2calWeb.ErrorView) |> render("not_found.json") end def call(conn, {:error, :other}) do conn |> put_status(400) |> put_...
21.444444
44
0.665803
85b1c5d441f03160b42d2e892d5086e83f9b1645
2,966
ex
Elixir
lib/trifolium/endpoints/distributions.ex
daskycodes/trifolium
322f01f89948c51d974e64b049ca2ce2d0f8b45f
[ "MIT" ]
1
2021-04-19T15:09:35.000Z
2021-04-19T15:09:35.000Z
lib/trifolium/endpoints/distributions.ex
daskycodes/trifolium
322f01f89948c51d974e64b049ca2ce2d0f8b45f
[ "MIT" ]
1
2021-04-19T18:08:05.000Z
2021-04-19T18:08:05.000Z
lib/trifolium/endpoints/distributions.ex
daskycodes/trifolium
322f01f89948c51d974e64b049ca2ce2d0f8b45f
[ "MIT" ]
2
2021-04-19T15:09:39.000Z
2021-04-28T14:05:21.000Z
defmodule Trifolium.Distributions do @moduledoc """ Module to be used to interact with Trefle [Distributions](https://docs.trefle.io/reference/#tag/Distributions) related endpoints. """ alias Trifolium.Config alias Trifolium.API @endpoint_path "api/v1/distributions/" @http_client Config.http_client() ...
29.078431
133
0.616993
85b1de77cb939a14345251ddc9813c197e2922fe
1,211
ex
Elixir
lib/monad/reader.ex
rixmann/monad
1b4bdeffe52a9eea21e1f03869dff8cf9f537ad1
[ "MIT" ]
8
2015-05-31T15:58:48.000Z
2022-01-22T16:19:35.000Z
lib/monad/reader.ex
rixmann/monad
1b4bdeffe52a9eea21e1f03869dff8cf9f537ad1
[ "MIT" ]
null
null
null
lib/monad/reader.ex
rixmann/monad
1b4bdeffe52a9eea21e1f03869dff8cf9f537ad1
[ "MIT" ]
3
2015-06-01T09:34:08.000Z
2021-02-21T16:57:58.000Z
defmodule Monad.Reader do use Monad use Monad.Pipeline @moduledoc """ The Reader monad. Monad that encapsulates a read-only value/shared environment. ## Examples iex> require Monad.Reader, as: Reader iex> import Reader iex> r = Reader.m do ...> let a = 2 ...> b ...
21.245614
66
0.563171
85b1ec752a99d676e622fe23e76b547ff2649c09
6,821
exs
Elixir
test/unit/nquads_decoder_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
test/unit/nquads_decoder_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
test/unit/nquads_decoder_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
defmodule RDF.NQuads.DecoderTest do use ExUnit.Case, async: false doctest RDF.NQuads.Decoder alias RDF.Dataset import RDF.Sigils use RDF.Vocabulary.Namespace defvocab EX, base_iri: "http://example.org/#", terms: [], strict: false defvocab P, base_iri: "http://www.perceive.net/schemas/re...
44.006452
167
0.606216
85b229ab54a0acb2b0b19eb1509bd51db6b08c86
7,233
exs
Elixir
test/phoenix/endpoint/endpoint_test.exs
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
test/phoenix/endpoint/endpoint_test.exs
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
test/phoenix/endpoint/endpoint_test.exs
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
System.put_env("ENDPOINT_TEST_HOST", "example.com") defmodule Phoenix.Endpoint.EndpointTest do use ExUnit.Case, async: true use RouterHelper @config [ url: [host: {:system, "ENDPOINT_TEST_HOST"}, path: "/api"], static_url: [host: "static.example.com"], server: false, http: [port: 80], https:...
31.447826
96
0.653256
85b23df26625470af68390ae7379dc7457522051
2,271
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/image_raw_disk.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/image_raw_disk.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/image_raw_disk.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...
38.491525
270
0.714663
85b25f26a76719a6cd8ebf873575ed37219077a1
59
ex
Elixir
test/support/mocks.ex
SteffenDE/ex_dav
7f3648520e78479021e4269c4714f2069214e311
[ "MIT" ]
null
null
null
test/support/mocks.ex
SteffenDE/ex_dav
7f3648520e78479021e4269c4714f2069214e311
[ "MIT" ]
1
2021-04-14T10:40:54.000Z
2021-04-14T10:40:54.000Z
test/support/mocks.ex
SteffenDE/ex_dav
7f3648520e78479021e4269c4714f2069214e311
[ "MIT" ]
null
null
null
Mox.defmock(ExDav.HTTPChunkerMock, for: ExDav.HTTPChunker)
29.5
58
0.830508
85b28fecbe4a5cdae97796edf73902fa82f0a43c
813
exs
Elixir
examples/echo_phoenix/config/config.exs
wingyplus/line_ex
73ae52c5c07998dac55f5f11aa9ce79d751b67d6
[ "MIT" ]
3
2021-07-27T21:29:43.000Z
2021-08-06T11:52:24.000Z
examples/echo_phoenix/config/config.exs
wingyplus/line_ex
73ae52c5c07998dac55f5f11aa9ce79d751b67d6
[ "MIT" ]
7
2021-07-26T03:18:39.000Z
2021-10-11T11:16:49.000Z
examples/echo_phoenix/config/config.exs
wingyplus/line_ex
73ae52c5c07998dac55f5f11aa9ce79d751b67d6
[ "MIT" ]
1
2021-07-29T16:13:47.000Z
2021-07-29T16:13:47.000Z
import Config # Configures the endpoint config :echo_phoenix, EchoPhoenixWeb.Endpoint, url: [host: "localhost"], secret_key_base: "/rgZyMVT+MF9ghoE2v6bhRd1zNrMU7QvvJVGwFd9UWDlyXvaH6fG9vbD3tlowYdY", render_errors: [view: EchoPhoenixWeb.ErrorView, accepts: ~w(json), layout: false], pubsub_server: EchoPhoenix.Pub...
33.875
86
0.767528
85b2ad2ff7944950d9e0ce016c1537a88b8f36d9
6,166
exs
Elixir
test/tabular_test.exs
achoe314/tabular
cfe294239d37b5c4f901efa0b64359d535795c81
[ "BlueOak-1.0.0" ]
null
null
null
test/tabular_test.exs
achoe314/tabular
cfe294239d37b5c4f901efa0b64359d535795c81
[ "BlueOak-1.0.0" ]
null
null
null
test/tabular_test.exs
achoe314/tabular
cfe294239d37b5c4f901efa0b64359d535795c81
[ "BlueOak-1.0.0" ]
null
null
null
defmodule TabularTest do use ExUnit.Case, async: true doctest Tabular describe "lines" do test "splits and trims lines" do data_as_table = """ line 1 line 2 line 3 """ expected = [ "line 1", "line 2", "line 3" ] assert Tabular.lines(d...
34.640449
87
0.332793
85b2d216684db6447d00c70aa27076a654e783a1
4,598
exs
Elixir
test/guardian/plug/verify_header_test.exs
x-ji/guardian
576997d3701306ccfa40b42e18b1bec5a6ac98a7
[ "MIT" ]
1
2019-07-14T21:00:54.000Z
2019-07-14T21:00:54.000Z
test/guardian/plug/verify_header_test.exs
x-ji/guardian
576997d3701306ccfa40b42e18b1bec5a6ac98a7
[ "MIT" ]
null
null
null
test/guardian/plug/verify_header_test.exs
x-ji/guardian
576997d3701306ccfa40b42e18b1bec5a6ac98a7
[ "MIT" ]
null
null
null
defmodule Guardian.Plug.VerifyHeaderTest do @moduledoc false use Plug.Test alias Guardian.Plug.Pipeline alias Guardian.Plug.VerifyHeader use ExUnit.Case, async: true defmodule Handler do @moduledoc false import Plug.Conn @behaviour Guardian.Plug.ErrorHandler @impl Guardian.Plug.ErrorH...
28.036585
95
0.641583
85b2d7253105459975bab6408b0df8f582d67699
204
ex
Elixir
lib/snap/config.ex
hauptbenutzer/snap
8993183e3cae6bd52ce62e3b1248e35a4deda6d1
[ "MIT" ]
20
2021-04-16T19:33:59.000Z
2022-03-16T17:16:51.000Z
lib/snap/config.ex
hauptbenutzer/snap
8993183e3cae6bd52ce62e3b1248e35a4deda6d1
[ "MIT" ]
8
2021-02-05T20:17:18.000Z
2022-03-28T21:43:47.000Z
lib/snap/config.ex
hauptbenutzer/snap
8993183e3cae6bd52ce62e3b1248e35a4deda6d1
[ "MIT" ]
5
2021-04-12T13:54:26.000Z
2022-03-10T17:59:58.000Z
defmodule Snap.Config do @moduledoc false use Agent def start_link({name, config}) do Agent.start_link(fn -> config end, name: name) end def get(pid) do Agent.get(pid, & &1) end end
15.692308
50
0.656863
85b2d91058058c9db8f296f87c577ebf98ed3b12
2,101
ex
Elixir
lib/admint/schema.ex
tiberiuc/admint
6d1bd5462f49053c7c3999c35cc301c7b8f08a70
[ "MIT" ]
null
null
null
lib/admint/schema.ex
tiberiuc/admint
6d1bd5462f49053c7c3999c35cc301c7b8f08a70
[ "MIT" ]
null
null
null
lib/admint/schema.ex
tiberiuc/admint
6d1bd5462f49053c7c3999c35cc301c7b8f08a70
[ "MIT" ]
null
null
null
defmodule Admint.Schema do def primary_key(schema) do schema.__schema__(:primary_key) end def get_schema(page) do schema = page.config |> Map.get(:schema, nil) case schema do nil -> raise "Schema is undefined" _ -> schema end end def fields(schema) do schema |> get_all_f...
28.013333
119
0.676821
85b30260562da575a61a0aac6bdaa8567e5d1379
2,360
exs
Elixir
mix.exs
florinpatrascu/closure_table
31f0c9b2a8bc55f061299b020767a426d43b00d5
[ "Apache-2.0" ]
16
2019-09-08T14:31:36.000Z
2022-02-14T19:50:23.000Z
mix.exs
florinpatrascu/closure_table
31f0c9b2a8bc55f061299b020767a426d43b00d5
[ "Apache-2.0" ]
6
2019-09-14T06:03:41.000Z
2021-05-16T00:53:40.000Z
mix.exs
florinpatrascu/closure_table
31f0c9b2a8bc55f061299b020767a426d43b00d5
[ "Apache-2.0" ]
7
2019-09-13T16:39:45.000Z
2021-05-11T06:15:04.000Z
defmodule CTE.MixProject do use Mix.Project @version "1.0.11" @url_docs "https://hexdocs.pm/closure_table" @url_github "https://github.com/florinpatrascu/closure_table" def project do [ app: :closure_table, version: @version, elixir: "~> 1.9", start_permanent: Mix.env() == :prod,...
25.652174
105
0.549153