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
abe088985e4c2ca80068d58314533e50293d1f97
42,529
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/projects.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/api/projects.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/projects.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
53.698232
414
0.662089
abe0c69021ce39d5491005c3b38168a64c3d8153
805
ex
Elixir
deps/exactor/lib/exactor/empty.ex
SushmitDharurkar/Bitcoin-Mining
7038449fdbb6fc1c038d5953590d449c1bf04eb0
[ "Apache-2.0" ]
null
null
null
deps/exactor/lib/exactor/empty.ex
SushmitDharurkar/Bitcoin-Mining
7038449fdbb6fc1c038d5953590d449c1bf04eb0
[ "Apache-2.0" ]
null
null
null
deps/exactor/lib/exactor/empty.ex
SushmitDharurkar/Bitcoin-Mining
7038449fdbb6fc1c038d5953590d449c1bf04eb0
[ "Apache-2.0" ]
1
2018-11-18T05:05:57.000Z
2018-11-18T05:05:57.000Z
defmodule ExActor.Empty do @moduledoc """ Empty predefine. Imports all ExActor macros, but doesn't provide any default implementation. The declaring module must define all required functions of the `gen_server` behaviour. Example: defmodule MyServer do use ExActor.Empty # define all g...
23.676471
78
0.703106
abe0cc4a54ab6556b3161d9ad4c4fb72b286e149
361
ex
Elixir
apps/blunt/lib/blunt/dispatch_context/configuration.ex
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt/lib/blunt/dispatch_context/configuration.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt/lib/blunt/dispatch_context/configuration.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
defmodule Blunt.DispatchContext.Configuration do @type message_module :: atom() @type context :: Blunt.DispatchContext @callback configure(message_module(), context()) :: context() def configure(message_module, context) do configuration = Blunt.Config.dispatch_context_configuration() configuration.conf...
32.818182
65
0.775623
abe0da37e9833041fc57c9006bd9fa20207eae4e
1,436
ex
Elixir
apps/load_tester/lib/load_tester/scenarios/token_all.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/load_tester/lib/load_tester/scenarios/token_all.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/load_tester/lib/load_tester/scenarios/token_all.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 ...
28.72
96
0.683844
abe0ff4085fc3b9ad54feeec471b72d7a2a9d618
1,611
exs
Elixir
mix.exs
mediapress-ltd/meeseeks_html5ever
e3055da84244dc5bc873fc72cf01cfccac1ec222
[ "Apache-2.0", "MIT" ]
null
null
null
mix.exs
mediapress-ltd/meeseeks_html5ever
e3055da84244dc5bc873fc72cf01cfccac1ec222
[ "Apache-2.0", "MIT" ]
null
null
null
mix.exs
mediapress-ltd/meeseeks_html5ever
e3055da84244dc5bc873fc72cf01cfccac1ec222
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule MeeseeksHtml5ever.Mixfile do use Mix.Project @version "0.12.1" def project do [ app: :meeseeks_html5ever, name: "MeeseeksHtml5ever", version: @version, description: description(), elixir: "~> 1.6", deps: deps(), package: package(), source_url: "https...
22.068493
88
0.577281
abe100430dc234bc68cef0aa00336eff8130bdc7
1,586
exs
Elixir
config/dev.exs
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "MIT" ]
null
null
null
config/dev.exs
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "MIT" ]
null
null
null
config/dev.exs
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "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 :cap_phoenix_react_webpack, CapPhoenixReactWebpa...
33.744681
170
0.748424
abe107d09213792ab90cc37bc8913579b3f5eff3
3,660
ex
Elixir
lib/mock.ex
enixdark/audit_worker
38f280a44d8577783ed61086a09d7a77718f4453
[ "MIT" ]
null
null
null
lib/mock.ex
enixdark/audit_worker
38f280a44d8577783ed61086a09d7a77718f4453
[ "MIT" ]
null
null
null
lib/mock.ex
enixdark/audit_worker
38f280a44d8577783ed61086a09d7a77718f4453
[ "MIT" ]
null
null
null
# require IEx; defmodule Mock do @moduledoc """ Mock modules for testing purposes. Usually inside a unit test. Please see the README file on github for a tutorial ## Example defmodule MyTest do use ExUnit.Case import Mock test "get" do with_mock HTTPotion, [...
31.826087
86
0.62541
abe10f3f63bfc21fe849cdafc219a8575bccd218
9,811
ex
Elixir
lib/nats/parser.ex
nats-io/elixir-nats
cd1ddcee1a145093924c1acf24d1bb627b6d61cd
[ "MIT" ]
82
2016-01-27T20:43:50.000Z
2022-01-31T20:27:18.000Z
lib/nats/parser.ex
nats-io/elixir-nats
cd1ddcee1a145093924c1acf24d1bb627b6d61cd
[ "MIT" ]
21
2016-01-28T16:49:55.000Z
2019-04-17T16:46:32.000Z
lib/nats/parser.ex
nats-io/elixir-nats
cd1ddcee1a145093924c1acf24d1bb627b6d61cd
[ "MIT" ]
17
2016-01-28T16:14:51.000Z
2021-04-07T11:00:07.000Z
# Copyright 2016 Apcera Inc. All rights reserved. defmodule Nats.Parser do defp parse_err(mesg) do {:error, "NATS: parsing error: #{mesg}", nil} end @min_lookahead 4 defp init_state(rest \\ <<>>, func \\ &verb/2, state \\ nil), do: {func, rest, state} defp cont(func, state, how_many \\ @min_lookahea...
44.393665
117
0.589542
abe110cb2ceb65b2ae4821633e72d569a8264649
1,940
ex
Elixir
lib/tai_shang_web/live/parser_live.ex
leeduckgo/Tai-Shang
33831f54b0ef8eb7772b0b559d8fe8897a06b57c
[ "MIT" ]
17
2021-06-10T07:39:18.000Z
2021-12-16T03:26:53.000Z
lib/tai_shang_web/live/parser_live.ex
leeduckgo/Tai-Shang
33831f54b0ef8eb7772b0b559d8fe8897a06b57c
[ "MIT" ]
4
2021-05-19T02:09:53.000Z
2021-07-03T09:34:09.000Z
lib/tai_shang_web/live/parser_live.ex
leeduckgo/Tai-Shang
33831f54b0ef8eb7772b0b559d8fe8897a06b57c
[ "MIT" ]
4
2021-07-06T02:50:29.000Z
2021-12-21T09:33:20.000Z
defmodule TaiShangWeb.ParserLive do use TaiShangWeb, :live_view alias TaiShang.Parser alias Utils.StructTranslator @impl true def mount(_params, _session, socket) do parsers_based_on_addr = Parser.get_by_type("based_on_addr") parsers_based_on_token_id = Parser.get_by_type("based_on_token_id") IO.p...
31.803279
76
0.680928
abe127a233ac575be1108608188ebc848e8694de
8,473
exs
Elixir
test/engines/gcp_test.exs
davanB/ptolemy
8af911ff9e6bfa7a3e467dff0e7aaaf4cf9456f3
[ "MIT" ]
15
2018-12-20T15:02:21.000Z
2020-10-09T00:38:47.000Z
test/engines/gcp_test.exs
davanB/ptolemy
8af911ff9e6bfa7a3e467dff0e7aaaf4cf9456f3
[ "MIT" ]
7
2019-03-01T19:05:09.000Z
2019-04-12T19:38:45.000Z
test/engines/gcp_test.exs
davanB/ptolemy
8af911ff9e6bfa7a3e467dff0e7aaaf4cf9456f3
[ "MIT" ]
2
2019-02-26T16:02:12.000Z
2020-04-24T15:44:34.000Z
defmodule Ptolemy.Engines.GCPTest do use ExUnit.Case import Tesla.Mock alias Ptolemy.Engines.GCP @vurl "https://test-vault.com" @gcp_engine_path "gcp/" @roleset_name "roleset_name" @roleset_name_broken "roleset_doesnt_exist" @roleset_config "{\"bindings\":\"resource \\\"//cloudresourcemanager.googlea...
34.443089
325
0.580668
abe1295137f65f01799380a72e3f00047214275b
191
ex
Elixir
lib/object.ex
kminwoog/practical-elixir
e083c2d087365adfeb1157b9f77ddb08da31964c
[ "MIT" ]
null
null
null
lib/object.ex
kminwoog/practical-elixir
e083c2d087365adfeb1157b9f77ddb08da31964c
[ "MIT" ]
null
null
null
lib/object.ex
kminwoog/practical-elixir
e083c2d087365adfeb1157b9f77ddb08da31964c
[ "MIT" ]
null
null
null
defmodule PC do defstruct id: 0, name: "none", hp: 0 end defmodule Npc do defstruct id: 0, name: "none", hp: 0 end defmodule Item do defstruct id: 0, name: "none", durability: 0 end
14.692308
46
0.670157
abe13118a1021eca13991c86f6ffa8357cdd32ff
525
ex
Elixir
web/router.ex
slitherrr/alchemizer
390826a7b33085f04ac955c434cdca3238164e74
[ "Apache-2.0" ]
null
null
null
web/router.ex
slitherrr/alchemizer
390826a7b33085f04ac955c434cdca3238164e74
[ "Apache-2.0" ]
null
null
null
web/router.ex
slitherrr/alchemizer
390826a7b33085f04ac955c434cdca3238164e74
[ "Apache-2.0" ]
null
null
null
defmodule Alchemizer.Router do use Alchemizer.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Alchemizer do p...
19.444444
57
0.68
abe14aa587397da2533c00678b343576b96a708a
2,277
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_status.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...
38.59322
138
0.724199
abe15d2555bd4315e3dafd6f826301488de83daf
1,216
exs
Elixir
mix.exs
kraglik/ecto-cassandra
dd0524f36a6a0cc0fd81262ecde8bd6db8620d71
[ "Apache-2.0" ]
1
2020-05-26T18:30:13.000Z
2020-05-26T18:30:13.000Z
mix.exs
kraglik/ecto-cassandra
dd0524f36a6a0cc0fd81262ecde8bd6db8620d71
[ "Apache-2.0" ]
null
null
null
mix.exs
kraglik/ecto-cassandra
dd0524f36a6a0cc0fd81262ecde8bd6db8620d71
[ "Apache-2.0" ]
null
null
null
defmodule EctoCassandra.Mixfile do use Mix.Project def project, do: [ app: :ecto_cassandra, version: "1.0.2", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, test_coverage: [tool: ExCoveralls], preferred_cli_env: [ "coveralls": :test, "...
27.022222
103
0.597039
abe1c623a498566cbe10782bad0ded0f3b099972
2,525
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/system_parameters.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/lib/google_api/service_management/v1/model/system_parameters.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/system_parameters.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...
53.723404
788
0.772277
abe202f38ac65117fe0c202b7dba852592e215b3
7,350
ex
Elixir
lib/nostrum/shard/dispatch.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
lib/nostrum/shard/dispatch.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
lib/nostrum/shard/dispatch.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
defmodule Nostrum.Shard.Dispatch do @moduledoc false alias Nostrum.Cache.{ChannelCache, PresenceCache, UserCache} alias Nostrum.Cache.Me alias Nostrum.Cache.Guild.GuildServer alias Nostrum.Shard.Session alias Nostrum.Struct.{Guild, Message, User} alias Nostrum.Struct.Guild.UnavailableGuild alias Nostru...
32.8125
95
0.687483
abe230b9fafe64c776f30b419309ae4e5a69f93b
1,430
exs
Elixir
ch16-03.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
9
2016-01-22T17:28:27.000Z
2020-06-07T01:38:44.000Z
ch16-03.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
null
null
null
ch16-03.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
1
2019-04-18T10:08:38.000Z
2019-04-18T10:08:38.000Z
# Extend your stack server (16-02) with a push interface that adds a single # value to the top of the stack. This will be implemented as a cast. defmodule Programming.Elixir do defmodule Stack do use GenServer def start(elements) when is_list(elements) do GenServer.start_link(__MODULE__, elements) ...
24.237288
75
0.591608
abe265008c3ca95be983087af01eb4bff9ebe47b
527
ex
Elixir
priv/templates/brando.gen/admin/create.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
priv/templates/brando.gen/admin/create.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
priv/templates/brando.gen/admin/create.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule <%= app_module %>Admin.<%= domain %>.<%= Recase.to_pascal(vue_singular) %>CreateLive do use BrandoAdmin.LiveView.Form, schema: <%= inspect schema_module %> alias BrandoAdmin.Components.Form import <%= admin_module %>.Gettext def render(assigns) do ~H""" <.live_component module={Form} id...
27.736842
97
0.612903
abe2873b048982b70999bda14c5f20ba1d0e8db7
2,501
exs
Elixir
food_chain.exs
fusillicode/food-chain
3ac3c7817934905b67d3963d33f05626d5ac42a1
[ "MIT" ]
1
2016-06-09T21:02:42.000Z
2016-06-09T21:02:42.000Z
food_chain.exs
fusillicode/food-chain
3ac3c7817934905b67d3963d33f05626d5ac42a1
[ "MIT" ]
null
null
null
food_chain.exs
fusillicode/food-chain
3ac3c7817934905b67d3963d33f05626d5ac42a1
[ "MIT" ]
null
null
null
defmodule FoodChain do @animals_and_sentences [ { :fly, ["I don't know why she swallowed the fly. Perhaps she'll die.", "."] }, { :spider, ["It wriggled and jiggled and tickled inside her.", " that wriggled and jiggled and tickled inside her."] }, { :bird, ["How absurd to swallow a bird!", "."] }, { :...
41
133
0.672131
abe293fc6f38bd18c5841faca3422f7dbbc67768
2,119
ex
Elixir
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/set_iam_policy_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/set_iam_policy_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/set_iam_policy_request.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...
42.38
320
0.74705
abe2a19e47e08e8597aa98cf5852a11a32bc6924
2,007
ex
Elixir
lib/mix/triplex.ex
ramansah/triplex
e3a3402c050dbdc3627a667e87fd8efed3cb310f
[ "MIT" ]
null
null
null
lib/mix/triplex.ex
ramansah/triplex
e3a3402c050dbdc3627a667e87fd8efed3cb310f
[ "MIT" ]
null
null
null
lib/mix/triplex.ex
ramansah/triplex
e3a3402c050dbdc3627a667e87fd8efed3cb310f
[ "MIT" ]
null
null
null
defmodule Mix.Triplex do @moduledoc """ Useful functions for any triplex mix task. Here is the list of tasks we have for now: - [`mix triplex.gen.migration`](./Mix.Tasks.Triplex.Gen.Migration.html) - generates a tenant migration for the repo - [`mix triplex.migrate`](./Mix.Tasks.Triplex.Migrate.html) - ...
29.514706
78
0.694071
abe2a398db5b53c910b806452bef58d33d7a3ef7
568
exs
Elixir
example/test/views/error_view_test.exs
rstacruz/phoenix_expug
ba14a81728cecbd3af23bb7f3e7d33d50d005544
[ "MIT" ]
24
2016-06-28T09:40:44.000Z
2022-01-14T23:00:26.000Z
example/test/views/error_view_test.exs
edjroot/phoenix_expug
d6d235597cd3dc56c307541e4ba9ba822c81782b
[ "MIT" ]
5
2017-10-18T12:13:18.000Z
2020-02-19T22:41:51.000Z
example/test/views/error_view_test.exs
edjroot/phoenix_expug
d6d235597cd3dc56c307541e4ba9ba822c81782b
[ "MIT" ]
8
2016-11-15T11:12:25.000Z
2019-09-18T05:09:07.000Z
defmodule Example.ErrorViewTest do use Example.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Example.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do ...
25.818182
66
0.676056
abe2c61360fa6f283a8e2cf2c1aa192e34407e24
1,054
ex
Elixir
lib/scenic/primitive/style/font.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/font.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/primitive/style/font.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
# # Re-Created by Boyd Multerer on November 30, 2017. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Primitive.Style.Font do @moduledoc false use Scenic.Primitive.Style # import IEx # ============================================================================ # data verifi...
24.511628
80
0.470588
abe2ddb856e238ca774f2da6ffe605417e537972
1,449
exs
Elixir
test/lib/timber/integrations/session_context_plug_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/lib/timber/integrations/session_context_plug_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/lib/timber/integrations/session_context_plug_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
if Code.ensure_loaded?(Plug) do defmodule TImber.Integrations.SessionContextPlugTest do use Timber.TestCase alias Timber.Integrations.SessionContextPlug setup do conn = :get |> Plug.Test.conn("/") |> Plug.Test.init_test_session(%{}) {:ok, conn: conn} end des...
27.339623
93
0.665286
abe2ecbcef3d14da5e121f3cbee64479255bc10c
3,373
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/expr.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/expr.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v2/model/expr.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...
37.065934
129
0.71005
abe2f7b6fb02e1cbbcf1b38df02fb4866fd66d90
3,001
exs
Elixir
apps/re/test/filtering/relaxed_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
1
2021-01-19T05:01:15.000Z
2021-01-19T05:01:15.000Z
apps/re/test/filtering/relaxed_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re/test/filtering/relaxed_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
defmodule Re.Filtering.RelaxedTest do use Re.ModelCase alias Re.Filtering.Relaxed import Re.Factory describe "get/1" do test "should return query with relaxed filters" do user = insert(:user) %{id: id1} = insert( :listing, price: 1_000_000, area: 100, ...
29.421569
89
0.434189
abe31e7f90360c7d31b384786ba5c00d1d58b716
1,497
ex
Elixir
lib/aoc/day_15.ex
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
lib/aoc/day_15.ex
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
lib/aoc/day_15.ex
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
defmodule AoC.Day15 do @moduledoc false alias AoC.Intcode.{Interpreter, Memory, RepairDroid} def part_1 do %{map: map, target_position: target_position} = "data/day15-input.txt" |> Memory.load_from_file() |> find_target() shortest_path = Graph.get_shortest_path(map, {0, 0}, target_pos...
27.218182
79
0.649967
abe374cfe7e389e855046d45ec3e2ffc6373bb0b
4,566
ex
Elixir
lib/ex_clubhouse/api/category.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-17T00:42:10.000Z
2021-04-11T16:39:52.000Z
lib/ex_clubhouse/api/category.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
7
2020-03-21T20:22:13.000Z
2021-12-30T16:32:07.000Z
lib/ex_clubhouse/api/category.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-25T18:34:49.000Z
2021-09-13T16:44:00.000Z
defmodule ExClubhouse.Api.Category do @moduledoc """ Category API """ alias ExClubhouse.Ops alias ExClubhouse.{Client, Session, Config} alias ExClubhouse.Parse.Parser alias ExClubhouse.Model.Input ############################################## ### Default config based utility functions ### #######...
36.238095
136
0.645204
abe38f8c1699b854a9e1410ea44beb705571d3cb
15,399
exs
Elixir
test/king_albert_ex/board_test.exs
matt-harvey/king_albert_ex
8f1fa8bbacfc8df82a76fd22fba90de8470e17c4
[ "MIT" ]
null
null
null
test/king_albert_ex/board_test.exs
matt-harvey/king_albert_ex
8f1fa8bbacfc8df82a76fd22fba90de8470e17c4
[ "MIT" ]
null
null
null
test/king_albert_ex/board_test.exs
matt-harvey/king_albert_ex
8f1fa8bbacfc8df82a76fd22fba90de8470e17c4
[ "MIT" ]
null
null
null
defmodule KingAlbertEx.BoardTest do use ExUnit.Case, async: true alias KingAlbertEx.Board alias KingAlbertEx.Column alias KingAlbertEx.Deck alias KingAlbertEx.Foundation alias KingAlbertEx.Move alias KingAlbertEx.Position alias KingAlbertEx.SpotInHand setup do board = [ %Position{kind: Fou...
33.259179
95
0.359958
abe3ac5e198de3b8d50d87c61607a80f7563a9ea
1,509
exs
Elixir
test/cache/channel_test.exs
SpaceEEC/crux_cache
359194162b3c12da16e44fb29dacd02f99eb0148
[ "MIT" ]
2
2018-05-22T07:13:50.000Z
2018-07-05T13:51:42.000Z
test/cache/channel_test.exs
SpaceEEC/crux_cache
359194162b3c12da16e44fb29dacd02f99eb0148
[ "MIT" ]
null
null
null
test/cache/channel_test.exs
SpaceEEC/crux_cache
359194162b3c12da16e44fb29dacd02f99eb0148
[ "MIT" ]
null
null
null
defmodule Crux.Cache.ChannelTest do use ExUnit.Case @cache Crux.Cache.Channel doctest @cache @data %{ "guild_id" => "243175181885898762", "name" => "testing_text", "permission_overwrites" => [ %{ "deny" => 0, "type" => "role", "id" => "243175181885898762", "a...
21.557143
76
0.612989
abe3be81ee87f4d060cfcfc5f85747d4e2dee0b8
65
exs
Elixir
test/weather_test.exs
msimonborg/weather
9aec6e5a94729f3448479da805aeb3742ea8ec0d
[ "MIT" ]
null
null
null
test/weather_test.exs
msimonborg/weather
9aec6e5a94729f3448479da805aeb3742ea8ec0d
[ "MIT" ]
null
null
null
test/weather_test.exs
msimonborg/weather
9aec6e5a94729f3448479da805aeb3742ea8ec0d
[ "MIT" ]
null
null
null
defmodule WeatherTest do use ExUnit.Case doctest Weather end
13
24
0.8
abe3cc1663a1f1eeb81dd8899e8bb52ce7bda06a
11,946
ex
Elixir
lib/witchcraft/arrow.ex
asmodehn/witchcraft
1c634c3e418b05ccf9fc2eb8c486cf91e4bb96fc
[ "MIT" ]
null
null
null
lib/witchcraft/arrow.ex
asmodehn/witchcraft
1c634c3e418b05ccf9fc2eb8c486cf91e4bb96fc
[ "MIT" ]
null
null
null
lib/witchcraft/arrow.ex
asmodehn/witchcraft
1c634c3e418b05ccf9fc2eb8c486cf91e4bb96fc
[ "MIT" ]
1
2020-11-18T18:26:12.000Z
2020-11-18T18:26:12.000Z
import TypeClass defclass Witchcraft.Arrow do @moduledoc """ Arrows abstract the idea of computations, potentially with a context. Arrows are in fact an abstraction above monads, and can be used both to express all other type classes in Witchcraft. They also enable some nice flow-based reasoning about compu...
25.525641
96
0.517663
abe3e3958a98404ae29a9f2569b4e5ae3bb19da3
1,184
ex
Elixir
lib/id_token.ex
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
lib/id_token.ex
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
lib/id_token.ex
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
defmodule IDToken do @moduledoc """ Entry point module for using this package. `verify/2` verifies JWT and returns claims. iex> IDToken.verify(token, module: IDToken.Firebase) {:ok, %{"aud" => "...", ... }} Callback module have to behave as `IDToken.Callback`. """ @type opts :: [ m...
26.909091
86
0.600507
abe4025968ff0ba339190edfb86b285a58879c08
4,323
ex
Elixir
lib/web/controllers/phase_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/web/controllers/phase_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/web/controllers/phase_controller.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.PhaseController do use Web, :controller alias ChallengeGov.Challenges alias ChallengeGov.Phases alias ChallengeGov.Submissions plug Web.Plugs.FetchPage, [per: 10] when action in [:show] plug Web.Plugs.EnsureRole, [:super_admin, :admin, :challenge_manager] def index(conn, %{"challenge_id"...
34.584
92
0.626417
abe402a17b5326c7f0f900fb903e19cde907750f
6,012
ex
Elixir
lib/iex/lib/iex/evaluator.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/evaluator.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/evaluator.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Evaluator do @moduledoc false alias IEx.Config @doc """ Eval loop for an IEx session. Its responsibilities include: * loading of .iex files * evaluating code * trapping exceptions in the code being evaluated * keeping expression history """ def start(server, leader) do IEx.Hist...
27.962791
91
0.638723
abe481b8c85a01c82afd656d0170c9974175e304
718
ex
Elixir
lib/emc_backend_web/gettext.ex
Yathi/emc-backend-phoenix
a14cfb38a2b698bc5bd7107a6466383a7b91053a
[ "MIT" ]
null
null
null
lib/emc_backend_web/gettext.ex
Yathi/emc-backend-phoenix
a14cfb38a2b698bc5bd7107a6466383a7b91053a
[ "MIT" ]
null
null
null
lib/emc_backend_web/gettext.ex
Yathi/emc-backend-phoenix
a14cfb38a2b698bc5bd7107a6466383a7b91053a
[ "MIT" ]
null
null
null
defmodule EmcBackendWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import EmcBackendWeb.Gettext # Simple translation gettext "Her...
28.72
72
0.685237
abe49e68584d057da93244c35563f846f4f07420
5,168
ex
Elixir
apps/rig_inbound_gateway/lib/rig_inbound_gateway/api_proxy/handler/kafka.ex
vanillebear/reactive-interaction-gateway
5eb2afa00b8e74bddfd712ba282a3768e8ede239
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/lib/rig_inbound_gateway/api_proxy/handler/kafka.ex
vanillebear/reactive-interaction-gateway
5eb2afa00b8e74bddfd712ba282a3768e8ede239
[ "Apache-2.0" ]
132
2018-11-26T14:00:54.000Z
2022-03-11T04:17:54.000Z
apps/rig_inbound_gateway/lib/rig_inbound_gateway/api_proxy/handler/kafka.ex
vanillebear/reactive-interaction-gateway
5eb2afa00b8e74bddfd712ba282a3768e8ede239
[ "Apache-2.0" ]
null
null
null
defmodule RigInboundGateway.ApiProxy.Handler.Kafka do @moduledoc """ Handles requests for Kafka targets. """ use Rig.KafkaConsumerSetup, [:cors, :request_topic, :request_schema, :response_timeout] alias Plug.Conn alias RigMetrics.ProxyMetrics alias RigInboundGateway.ApiProxy.Handler @behaviour Handl...
24.492891
97
0.607005
abe4c20c617150111e34b450aeaf083ae9ec0839
697
ex
Elixir
web/gettext.ex
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
1
2018-04-23T14:55:58.000Z
2018-04-23T14:55:58.000Z
web/gettext.ex
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
null
null
null
web/gettext.ex
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
null
null
null
defmodule Flaggy.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](http://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Flaggy.Gettext # Simple translation gettext "Here is the string...
27.88
71
0.675753
abe4cf2faee61259a9768802898e84ac68c9babd
377
ex
Elixir
lib/cforum/abilities/snail_case_camel_case.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum/abilities/snail_case_camel_case.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum/abilities/snail_case_camel_case.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.Abilities.SnailCaseCamelCase do def to_camel_case(s) do s |> String.capitalize() |> upcase_after_dash() |> upcase_after_slash() end defp upcase_after_dash(s), do: Regex.replace(~r/_(.)/, s, fn _, c -> String.upcase(c) end) defp upcase_after_slash(s), do: Regex.replace(...
25.133333
74
0.633952
abe51592e2bcc16c4937c246fc72af99e0a6039d
1,125
exs
Elixir
test/pipe_operators_test.exs
luisguilhermemsalmeida/pipe_operators
f18f773a7d3ee2959b73d01cd584ff1d0180b9d1
[ "MIT" ]
null
null
null
test/pipe_operators_test.exs
luisguilhermemsalmeida/pipe_operators
f18f773a7d3ee2959b73d01cd584ff1d0180b9d1
[ "MIT" ]
null
null
null
test/pipe_operators_test.exs
luisguilhermemsalmeida/pipe_operators
f18f773a7d3ee2959b73d01cd584ff1d0180b9d1
[ "MIT" ]
null
null
null
defmodule PipeOperators.SkipOnErrorPipeTest do use ExUnit.Case, async: true import PipeOperators.SkipOnErrorPipe test "SkipOnErrorPipe should act as a normal |> when no error is returned " do result = [1, 2, 3] ~> Enum.map(fn number -> number + 1 end) ~> Enum.map(fn number -> numbe...
27.439024
94
0.664
abe52a1d0a2f22e8c1eb00e018585156f8e3579e
1,102
exs
Elixir
clients/calendar/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/calendar/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/calendar/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Calendar.V3.Mixfile do use Mix.Project @version "0.6.1" def project do [app: :google_api_calendar, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), ...
22.958333
108
0.599819
abe5356c8eb0f517d35fd50b588a739e9073e67d
294
ex
Elixir
elixir_tags/lib/elixir_tags/messages/get.ex
DinowSauron/Projeto-Next-Level-Week-7-Heat
fc20ed5ca61aff8af37a6120ce6fcffb9907357d
[ "MIT" ]
null
null
null
elixir_tags/lib/elixir_tags/messages/get.ex
DinowSauron/Projeto-Next-Level-Week-7-Heat
fc20ed5ca61aff8af37a6120ce6fcffb9907357d
[ "MIT" ]
null
null
null
elixir_tags/lib/elixir_tags/messages/get.ex
DinowSauron/Projeto-Next-Level-Week-7-Heat
fc20ed5ca61aff8af37a6120ce6fcffb9907357d
[ "MIT" ]
null
null
null
defmodule ElixirTags.Messages.Get do alias ElixirTags.{Message, Repo} # alias é uma abreviação! import Ecto.Query def today_messages do today = Date.utc_today() query = from message in Message, where: type(message.inserted_at, :date) == ^today Repo.all(query) end end
18.375
86
0.707483
abe54756fe58a9fffa9fa45d7abc7667ef1d3798
1,537
exs
Elixir
Problem3/PrimeFactors.exs
destrys/elixir_euler
29358771748c6ebe6277bcf20ec3cd586e1cc505
[ "MIT" ]
null
null
null
Problem3/PrimeFactors.exs
destrys/elixir_euler
29358771748c6ebe6277bcf20ec3cd586e1cc505
[ "MIT" ]
null
null
null
Problem3/PrimeFactors.exs
destrys/elixir_euler
29358771748c6ebe6277bcf20ec3cd586e1cc505
[ "MIT" ]
null
null
null
# The prime factors of 13195 are 5, 7, 13 and 29. # What is the largest prime factor of the number 600851475143 ? # This works, but is slow as shit. # -1 # The problem here is I was stuck on determining if a number was prime. # As shown in OtherPrimeFactors.exs, if you focus on shape of the prime factors # e.g. [2,...
23.287879
89
0.647365
abe55cf72630aafa1eb06a56e01dd4b5552cfdcf
468
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/43.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/43.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/43.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** particle * verb_aux nst * verb_aux * verb; pnoun * verb_aux cm * verb_aux * verb; noun a76 verb_aux cm * verb_aux * verb; noun * verb_aux noun * verb_aux * verb; adjective * particle quantifier * verb_aux * verb; neg * verb_aux noun * verb_aux * verb; noun * verb_aux cm * verb_aux * verb; nst ...
33.428571
51
0.683761
abe58c60baeda612f8b3361b120a477cda85fc1e
144
ex
Elixir
spec/arkenston/factories/main_factory.ex
dolfinus/diamantum-backend
efa9da3835befa58bbcd5f3965ce4431ed8c912f
[ "MIT" ]
1
2019-04-29T18:07:08.000Z
2019-04-29T18:07:08.000Z
spec/arkenston/factories/main_factory.ex
dolfinus/diamantum-backend
efa9da3835befa58bbcd5f3965ce4431ed8c912f
[ "MIT" ]
126
2020-12-03T15:39:31.000Z
2022-03-30T22:02:23.000Z
spec/arkenston/factories/main_factory.ex
dolfinus/arkenston-backend
258880936dce673eb15db0c4b52e68d3d40c58ff
[ "MIT" ]
null
null
null
defmodule Arkenston.Factories.MainFactory do use Arkenston.Factories.UserFactory use Arkenston.Factories.AuthorFactory use ExMachina end
20.571429
44
0.840278
abe5a6aacb4aae6e42602f79c8b131fbd09bf953
2,166
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/tracking_floodlight_activity_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/tracking_floodlight_activity_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/model/tracking_floodlight_activity_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.867925
209
0.748846
abe5b58329c2287e72c211b736df7c99b7214432
1,254
ex
Elixir
lib/llp_web/views/error_helpers.ex
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
2
2019-01-02T11:02:59.000Z
2019-04-15T10:07:40.000Z
lib/llp_web/views/error_helpers.ex
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
null
null
null
lib/llp_web/views/error_helpers.ex
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
null
null
null
defmodule LlpWeb.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 :s...
30.585366
72
0.667464
abe5d26633176e3b3b2d3957c74d6a5ee8fc90e2
1,997
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/products_generate_approval_url_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/products_generate_approval_url_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/products_generate_approval_url_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...
38.403846
593
0.755133
abe5ed68748c837282d5ac6147282ec6d9f9dc3e
2,705
ex
Elixir
lib/movement/comparers/merge_smart.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/movement/comparers/merge_smart.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/movement/comparers/merge_smart.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Movement.Comparers.MergeSmart do @behaviour Movement.Comparer alias Movement.Mappers.Operation, as: OperationMapper alias Movement.{ Operation, TranslationComparer } @doc """ ## Examples iex> translation = %Accent.Translation{key: "a", proposed_text: "foo", corrected_text: "bar"}...
42.265625
105
0.728651
abe63dc3a34998f6943c461927c60ac6e106606f
44,576
exs
Elixir
test/polymorphic_embed_test.exs
RxAssim/polymorphic_embed
d8712ae6d4327beaa873f7d994f977fd5172df1d
[ "Apache-2.0" ]
null
null
null
test/polymorphic_embed_test.exs
RxAssim/polymorphic_embed
d8712ae6d4327beaa873f7d994f977fd5172df1d
[ "Apache-2.0" ]
null
null
null
test/polymorphic_embed_test.exs
RxAssim/polymorphic_embed
d8712ae6d4327beaa873f7d994f977fd5172df1d
[ "Apache-2.0" ]
null
null
null
defmodule PolymorphicEmbedTest do use ExUnit.Case doctest PolymorphicEmbed import Phoenix.HTML import Phoenix.HTML.Form import PolymorphicEmbed.HTML.Form alias PolymorphicEmbed.Repo setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) end defp get_module(name, true = _polymorphic?), do: Mod...
28.907912
441
0.532865
abe661001e119602a30aa605cac7b402ab6341e8
2,175
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_style.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_style.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/ad_style.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 ...
38.839286
246
0.713563
abe669c9a335f941abf0d90f57a962fd95408b95
1,826
ex
Elixir
lib/oban/plugins/pruner.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/pruner.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/pruner.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Plugins.Pruner do @moduledoc false use GenServer import Ecto.Query alias Oban.{Job, Query, Repo, Telemetry} defmodule State do @moduledoc false defstruct [ :conf, :name, :timer, max_age: 60, interval: :timer.seconds(30), limit: 10_000, lock...
20.516854
72
0.634173
abe66dea5494c2b24a9e9a6beaa5898e6645ba91
861
ex
Elixir
lib/farmbot/repo/led_worker.ex
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/repo/led_worker.ex
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
null
null
null
lib/farmbot/repo/led_worker.ex
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.Repo.LedWorker do @moduledoc "Flashes leds based on sync status." use GenServer alias Farmbot.System.Registry, as: FBR def start_link(args \\ []) do GenServer.start_link(__MODULE__, args, name: __MODULE__) end def init([]) do FBR.subscribe(self()) {:ok, %{}} end def hand...
25.323529
101
0.673635
abe68095d807e37936f4d0dbf496adae96e72f30
312
ex
Elixir
discuss/web/models/topic.ex
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
discuss/web/models/topic.ex
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
discuss/web/models/topic.ex
nihonjinrxs/udemy-elixir-phoenix
0646f7fa3c854bb010087811e7c368d8021721a4
[ "MIT" ]
null
null
null
defmodule Discuss.Topic do use Discuss.Web, :model schema "topics" do field :title, :string belongs_to :user, Discuss.User has_many :comments, Discuss.Comment end def changeset(struct, params \\ %{}) do struct |> cast(params, [:title]) |> validate_required([:title]) end end
18.352941
41
0.653846
abe693cbe06c832bd3169d2381f41cae6037151d
667
exs
Elixir
mix.exs
cncgl/Elixir-xorshift32
db3492750ea596deed449ba914458b9cdb1d1346
[ "MIT" ]
null
null
null
mix.exs
cncgl/Elixir-xorshift32
db3492750ea596deed449ba914458b9cdb1d1346
[ "MIT" ]
null
null
null
mix.exs
cncgl/Elixir-xorshift32
db3492750ea596deed449ba914458b9cdb1d1346
[ "MIT" ]
null
null
null
defmodule Grandom.Mixfile do use Mix.Project def project do [app: :grandom, version: "0.0.1", elixir: "~> 1.1", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.app" for more...
20.212121
77
0.608696
abe6c4c3d71e7ec5597e7098a53dea096eeb48bf
174
ex
Elixir
lib/plugin_manager/event/reference/on_init.ex
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
3
2022-03-18T14:32:15.000Z
2022-03-24T06:33:21.000Z
lib/plugin_manager/event/reference/on_init.ex
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
3
2022-03-25T08:30:42.000Z
2022-03-27T17:13:46.000Z
lib/plugin_manager/event/reference/on_init.ex
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
null
null
null
defmodule MishkaInstaller.Reference.OnInit do # TODO: it needs to determine what we need to do, it should be loaded in MishkaInstaller or the other application project end
43.5
123
0.810345
abe735af798495f4886df6f78535ee680e976f23
4,237
ex
Elixir
lib/changelog/data/news/news_queue.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/news/news_queue.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/news/news_queue.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
defmodule Changelog.NewsQueue do use Changelog.Data require Logger alias Changelog.{Buffer, NewsItem, NewsQueue, Notifier, Search} schema "news_queue" do field :position, :float belongs_to :item, NewsItem end def queued(query \\ NewsQueue) do from(q in query, left_join: i in assoc(q, :...
26.154321
108
0.632287
abe74bbf06f44bcf5131c314e0d8bffd53059b15
73
ex
Elixir
lib/elixir_tool_box_web/views/page_view.ex
okothkongo/elixir-tool-box
4f7579012294281bf5a5278f2b03b236d25978bc
[ "MIT" ]
null
null
null
lib/elixir_tool_box_web/views/page_view.ex
okothkongo/elixir-tool-box
4f7579012294281bf5a5278f2b03b236d25978bc
[ "MIT" ]
2
2020-10-27T08:37:50.000Z
2020-10-29T06:38:20.000Z
lib/elixir_tool_box_web/views/page_view.ex
okothkongo/elixir-tool-box
4f7579012294281bf5a5278f2b03b236d25978bc
[ "MIT" ]
null
null
null
defmodule ElixirToolBoxWeb.PageView do use ElixirToolBoxWeb, :view end
18.25
38
0.835616
abe770de5ad9befa714a99c4ed1fcf9cb7bcca35
1,705
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/container_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/container_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/container_info.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...
36.276596
255
0.744282
abe77c45bc215e17df859dbf2070405744b3f29f
1,687
ex
Elixir
lib/taskafka/mix/tasks/gen.migration.ex
edenlabllc/taskafka
7eda223e233fc23b4c502ec444362c6237185e04
[ "MIT" ]
null
null
null
lib/taskafka/mix/tasks/gen.migration.ex
edenlabllc/taskafka
7eda223e233fc23b4c502ec444362c6237185e04
[ "MIT" ]
null
null
null
lib/taskafka/mix/tasks/gen.migration.ex
edenlabllc/taskafka
7eda223e233fc23b4c502ec444362c6237185e04
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Gen.Migration do @moduledoc false use Mix.Task import Macro, only: [camelize: 1, underscore: 1] import Mix.Generator @switches [change: :string] @doc false def run(args) do no_umbrella!("gen.migration") case OptionParser.parse(args, switches: @switches) do {opts, [na...
25.560606
114
0.602253
abe7854c03c625598323ebcdda483f74c78f13ff
880
ex
Elixir
lib/Cache/channels.ex
BenAlbin/alchemy
c31bce54e13a692acdba3c3b581ff49090da7604
[ "MIT" ]
1
2019-02-24T03:13:22.000Z
2019-02-24T03:13:22.000Z
lib/Cache/channels.ex
appositum/alchemy
2e4c06e198fa8c824183782508610815395d7c0e
[ "MIT" ]
null
null
null
lib/Cache/channels.ex
appositum/alchemy
2e4c06e198fa8c824183782508610815395d7c0e
[ "MIT" ]
null
null
null
defmodule Alchemy.Cache.Channels do @moduledoc false # Simply used to keep a map from channel_id => guild_id use GenServer def start_link do GenServer.start_link(__MODULE__, :ok, name: __MODULE__) end def init(:ok) do {:ok, :ets.new(:channels, [:named_table])} end # unavailability does not get...
21.463415
74
0.669318
abe7e6a1d2df946d7f9c211a7ebbbab264007a2c
1,050
exs
Elixir
test/online_editor/document/query_test.exs
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
test/online_editor/document/query_test.exs
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
test/online_editor/document/query_test.exs
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
defmodule OnlineEditorWeb.DocumentQueryTest do use OnlineEditor.DataCase alias OnlineEditor.Document test "the create changeset should require folder and name" do assert %{ valid?: false, errors: [ name: {_, [validation: :required]}, folder_id: {_, [val...
35
91
0.620952
abe7ea907985055a46cd53a958549980a166a12f
16,171
ex
Elixir
lib/aws/generated/application_discovery.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/application_discovery.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/application_discovery.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.ApplicationDiscovery do @moduledoc """ AWS Application Discovery Service AWS Application Discovery Service helps you plan application migration projects. It automatically identifies serv...
39.732187
277
0.743059
abe81634b387069bcfb2892dd1f1a89538532b74
2,029
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/list_targeting_options_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/list_targeting_options_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/list_targeting_options_response.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...
35.596491
143
0.742238
abe8476943bf8e530e832c1ea6b4a79dc4684dc6
3,674
exs
Elixir
test/materia_career/messages/messages_test.exs
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
null
null
null
test/materia_career/messages/messages_test.exs
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
23
2019-01-16T01:52:22.000Z
2019-06-20T01:59:55.000Z
test/materia_career/messages/messages_test.exs
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
null
null
null
defmodule MateriaCareer.MessagesTest do use MateriaCareer.DataCase alias MateriaCareer.Messages describe "offers" do alias MateriaCareer.Messages.Offer @valid_attrs %{ answer_message: "some answer_message", message_subject: "some message_subject", offer_message: "some offer_message", ...
33.706422
103
0.657594
abe86fec29d81653110e02785ca9f541ab9a8a93
5,180
ex
Elixir
lib/nostrum/voice/audio.ex
jchristgit/nostrum
dc8f1fa223f7200690b08d29df21d8edbae8df9f
[ "MIT" ]
1
2020-12-08T23:47:17.000Z
2020-12-08T23:47:17.000Z
lib/nostrum/voice/audio.ex
jchristgit/nostrum
dc8f1fa223f7200690b08d29df21d8edbae8df9f
[ "MIT" ]
null
null
null
lib/nostrum/voice/audio.ex
jchristgit/nostrum
dc8f1fa223f7200690b08d29df21d8edbae8df9f
[ "MIT" ]
null
null
null
defmodule Nostrum.Voice.Audio do @moduledoc false require Logger alias Nostrum.Error.VoiceError alias Nostrum.Struct.VoiceState alias Nostrum.Util alias Nostrum.Voice alias Porcelain.Process, as: Proc @encryption_mode "xsalsa20_poly1305" @samples_per_frame 960 @usec_per_frame 20_000 # How many ...
21.949153
78
0.561197
abe878cdef8a320a91b68ba4c60c6c0a88628e2c
469
exs
Elixir
config/test.exs
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
null
null
null
config/test.exs
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
2
2021-11-04T21:05:24.000Z
2021-11-04T21:51:48.000Z
config/test.exs
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
1
2021-11-04T18:40:26.000Z
2021-11-04T18:40:26.000Z
use Mix.Config # Configure your database config :kamleague, Kamleague.Repo, username: "postgres", password: "postgres", database: "kamleague_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required, # you can enable the server option below. config...
24.684211
56
0.73774
abe88c8b9a0de430960e9462d7616a39059851b5
61,893
ex
Elixir
clients/memcache/lib/google_api/memcache/v1beta2/api/projects.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1beta2/api/projects.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1beta2/api/projects.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.495327
196
0.617727
abe89ae479cecc5fba121a56e58ef36e7eb53be2
2,105
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_client_user_invitations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_client_user_invitations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_client_user_invitations_response.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...
32.384615
155
0.739192
abe89c1727d53de70fe0db073b467842e8bad332
3,789
ex
Elixir
lib/grapevine/authorizations/authorization.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
lib/grapevine/authorizations/authorization.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
lib/grapevine/authorizations/authorization.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
defmodule Grapevine.Authorizations.Authorization do @moduledoc """ Authorization schema """ use Ecto.Schema import Ecto.Changeset alias Grapevine.Accounts.User alias Grapevine.Authorizations.AccessToken alias Grapevine.Games.Game @type t :: %__MODULE__{} @scopes ["profile", "email"] schema "...
22.02907
76
0.62048
abe8a34b68be803f7cae639c41e3162a4efa05c8
205
ex
Elixir
lib/mix/tasks/prepend.ex
LauraBeatris/prepend_cli
d280ee6c01e2d8c9cfa1d598d3a57d303f4cdb40
[ "MIT" ]
2
2020-08-11T19:42:00.000Z
2021-03-13T14:48:32.000Z
lib/mix/tasks/prepend.ex
LauraBeatris/prepend_cli
d280ee6c01e2d8c9cfa1d598d3a57d303f4cdb40
[ "MIT" ]
null
null
null
lib/mix/tasks/prepend.ex
LauraBeatris/prepend_cli
d280ee6c01e2d8c9cfa1d598d3a57d303f4cdb40
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Prepend do @moduledoc false use Mix.Task @shortdoc "Prepend the lines from a standard input (stdin) with a given prefix" def run(args) do Prepend.CLI.main(args) end end
18.636364
81
0.721951
abe8a793bc0bfbb8e9b154bf93c94279566030a8
16,217
ex
Elixir
lib/ash/query/aggregate.ex
kernel-io/ash
cb59a8e09c61913fb0443a84fc894714e9199686
[ "MIT" ]
null
null
null
lib/ash/query/aggregate.ex
kernel-io/ash
cb59a8e09c61913fb0443a84fc894714e9199686
[ "MIT" ]
null
null
null
lib/ash/query/aggregate.ex
kernel-io/ash
cb59a8e09c61913fb0443a84fc894714e9199686
[ "MIT" ]
null
null
null
defmodule Ash.Query.Aggregate do @moduledoc "Represents an aggregated association value" defstruct [ :name, :relationship_path, :default_value, :resource, :query, :field, :kind, :type, :authorization_filter, :load ] @type t :: %__MODULE__{} @kinds [:count, :first, :su...
29.593066
101
0.534624
abe8bd853403a77fb5eca4a38d81379b431f2af2
479
exs
Elixir
scracth/test.exs
ustrajunior/ex_maps
4777227d14f627451088de6ad2fc07d1fade00d6
[ "MIT" ]
null
null
null
scracth/test.exs
ustrajunior/ex_maps
4777227d14f627451088de6ad2fc07d1fade00d6
[ "MIT" ]
null
null
null
scracth/test.exs
ustrajunior/ex_maps
4777227d14f627451088de6ad2fc07d1fade00d6
[ "MIT" ]
null
null
null
defmodule Test do def do_something do %{ name: "John", email: "john.doe@email.com", address: [ %{ type: "main", line1: "12, code ave", line2: "room 42", zip_code: "1234" }, %{ type: "billing", line1: "14, code a...
18.423077
57
0.440501
abe8cd0c332e594d596f7bf0ac55ac45a15d0edd
2,044
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/resource_id.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/resource_id.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/resource_id.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...
40.078431
306
0.739726
abe8ea6fdb4c96d1aefb74013d1a0622cfc30fef
29,493
exs
Elixir
test/operation_test.exs
lbighetti/exop
206381c493610d3161f8fddd4d00028477daa7e3
[ "MIT" ]
null
null
null
test/operation_test.exs
lbighetti/exop
206381c493610d3161f8fddd4d00028477daa7e3
[ "MIT" ]
null
null
null
test/operation_test.exs
lbighetti/exop
206381c493610d3161f8fddd4d00028477daa7e3
[ "MIT" ]
null
null
null
defmodule OperationTest do use ExUnit.Case, async: true defmodule Operation do use Exop.Operation parameter :param1, type: :integer parameter :param2, type: :string def process(params) do ["This is the process/1 params", params] end end @valid_contract [ %{name: :param1, opts: ...
28.858121
135
0.588411
abe8ed53c7816612f130f7eb38afb833d43dfcbf
27,836
ex
Elixir
lib/mailman/attachment.ex
kdawgwilk/mailman
7c1705039cb124a1e84b41a1f6b3625169727b0e
[ "MIT" ]
null
null
null
lib/mailman/attachment.ex
kdawgwilk/mailman
7c1705039cb124a1e84b41a1f6b3625169727b0e
[ "MIT" ]
null
null
null
lib/mailman/attachment.ex
kdawgwilk/mailman
7c1705039cb124a1e84b41a1f6b3625169727b0e
[ "MIT" ]
null
null
null
defmodule Mailman.Attachment do @moduledoc "A struct defining an attachable file. It automatically detect the mime type based on file extension." defstruct file_name: "", mime_type: "", mime_sub_type: "", data: "", disposition: "" @type t :: %__MODULE__{ file_name: String.t, mime_type: S...
36.292047
115
0.514837
abe91251a9f4e895a9537033b2fe186c1b99ae9d
1,865
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_category_data.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_category_data.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_api_category_data.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "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.303571
124
0.70134
abe97965f426c58ba55b928cef2da6ad08549f9a
2,482
ex
Elixir
lib/new_relic/transaction.ex
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
lib/new_relic/transaction.ex
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
lib/new_relic/transaction.ex
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Transaction do @moduledoc """ Transaction Reporting To enable Transaction reporting, you must instrument your Plug pipeline with a single line. The `NewRelic.Transaction` macro injects the required plugs to wire up automatic Transaction reporting. Be sure to `use` this as early in your ...
26.688172
93
0.72361
abe98ba44833d7ce15f98ac1645872880e35486b
2,705
ex
Elixir
lib/workers/send_conversation_reply_email.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
1
2020-10-02T18:33:47.000Z
2020-10-02T18:33:47.000Z
lib/workers/send_conversation_reply_email.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
lib/workers/send_conversation_reply_email.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
defmodule ChatApi.Workers.SendConversationReplyEmail do @moduledoc false use Oban.Worker, queue: :mailers import Ecto.Query, warn: false require Logger alias ChatApi.{Accounts, Conversations, Messages, Repo, Users} @impl Oban.Worker def perform(%Oban.Job{args: %{"message" => message}}) do if has_...
27.886598
91
0.628835
abe9927b212e4bf90d6b22ad7f6362a30e379f61
674
exs
Elixir
test/point_test.exs
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
5
2016-07-05T13:42:33.000Z
2020-12-07T14:12:16.000Z
test/point_test.exs
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
70
2016-06-04T11:31:27.000Z
2020-11-21T20:00:09.000Z
test/point_test.exs
devstopfix/elixoids
df4f2ba9ddb3d13c3c86e57f100c3d57fa64ed8d
[ "MIT" ]
1
2016-07-05T17:10:05.000Z
2016-07-05T17:10:05.000Z
defmodule Elixoids.World.PointTest do use ExUnit.Case, async: true use ExCheck alias Elixoids.World.Point alias Elixoids.World.Velocity import Elixoids.Test.Generators property :apply_velocity_to_point do for_all {p1, theta, speed} in {gen_point(), real(), real()} do v = %Velocity{theta: theta, ...
26.96
66
0.669139
abe9af284318677bf699841816a351a974c34ae7
525
ex
Elixir
lib/mix/tasks/pizza.orders.ex
mcrumm/mystex_pizza_on_broadway
14d79c97086e55bf97464a41fef02e9e8e9d771f
[ "Apache-2.0" ]
18
2019-10-16T23:08:37.000Z
2021-11-17T10:46:20.000Z
lib/mix/tasks/pizza.orders.ex
okariFrankline/pizza_broadway
8d95f25c890e8f64aa97107c96e568304caf78df
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/pizza.orders.ex
okariFrankline/pizza_broadway
8d95f25c890e8f64aa97107c96e568304caf78df
[ "Apache-2.0" ]
4
2019-10-16T23:07:16.000Z
2022-01-19T18:01:19.000Z
defmodule Mix.Tasks.Pizza.Orders do use Mix.Task @shortdoc "Lists the count of MystexPizza orders" import Ecto.Query, only: [from: 1] alias MystexPizza.{Order, Repo} @impl true def run(_args) do Application.put_env(:mystex_pizza_on_broadway, :start_pipeline, false) {:ok, _} = Application.ensure_al...
26.25
74
0.702857
abe9b758411358502327dd6c31cad4c23e93d27e
13,179
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.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...
52.090909
822
0.688975
abea26d9f75141c92cb33fc6966bb28ea2c0a6c6
12,532
ex
Elixir
lib/ex_unit/lib/ex_unit.ex
farhadi/elixir
0a37064fd5b67639afb845ff321d6c8ee61e5ee5
[ "Apache-2.0" ]
1
2019-05-07T12:01:44.000Z
2019-05-07T12:01:44.000Z
lib/ex_unit/lib/ex_unit.ex
farhadi/elixir
0a37064fd5b67639afb845ff321d6c8ee61e5ee5
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit.ex
farhadi/elixir
0a37064fd5b67639afb845ff321d6c8ee61e5ee5
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit do @moduledoc """ Unit testing framework for Elixir. ## Example A basic setup for ExUnit is shown below: # File: assertion_test.exs # 1) Start ExUnit. ExUnit.start() # 2) Create a new test module (test case) and use "ExUnit.Case". defmodule AssertionTest do ...
31.807107
97
0.662464
abea294a2e9d7d920c49019017b381f52e2d89c4
955
ex
Elixir
deps/makeup/lib/makeup/styles/html/pygments/algol_nu.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
deps/makeup/lib/makeup/styles/html/pygments/algol_nu.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
deps/makeup/lib/makeup/styles/html/pygments/algol_nu.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
defmodule Makeup.Styles.HTML.Algol_NuStyle do @moduledoc false @styles %{ :error => "border:#FF0000", :keyword => "bold", :keyword_declaration => "italic", :name_builtin => "bold italic", :name_builtin_pseudo => "bold italic", :name_class => "bold italic #666", :name_constan...
26.527778
46
0.603141
abea364561f6ce7e6f52f0aff8a0a200998a6803
325
exs
Elixir
test/game/command/emote_test.exs
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
test/game/command/emote_test.exs
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
test/game/command/emote_test.exs
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
null
null
null
defmodule Game.Command.EmoteTest do use ExVenture.CommandCase alias Game.Command.Emote doctest Emote setup do %{state: session_state(%{user: base_user()})} end test "send an emote to the room", %{state: state} do :ok = Emote.run({"does something"}, state) assert_emote "does something" end...
18.055556
54
0.686154
abea3f9c858a2b4d65f36d7c530982d4635b238e
1,580
exs
Elixir
test/ebayka/request_test.exs
ssnickolay/ebayka
a03e3aa2d7b0abe3cbb9dbc90efa59ae9c6e6ccd
[ "Apache-2.0" ]
6
2018-02-11T13:10:04.000Z
2021-08-13T14:35:52.000Z
test/ebayka/request_test.exs
ssnickolay/ebayka
a03e3aa2d7b0abe3cbb9dbc90efa59ae9c6e6ccd
[ "Apache-2.0" ]
null
null
null
test/ebayka/request_test.exs
ssnickolay/ebayka
a03e3aa2d7b0abe3cbb9dbc90efa59ae9c6e6ccd
[ "Apache-2.0" ]
3
2018-02-11T13:09:56.000Z
2021-12-09T20:29:10.000Z
defmodule Ebayka.RequestTest do alias Ebayka.Request use ExUnit.Case, async: false @request {:Item, nil, [ {:Title, nil, "Ebay Product Title"} ] } @invalid_request {:Item, nil, [ {:Title, nil, "Invalid Product"} ] } defmodule AddItemResponseTest do import SweetXml @schema [ ack: ~x"//AddItemR...
30.384615
148
0.660759
abea9716cc177b7f215e6976663bbcd9ed4839ca
12,189
ex
Elixir
lib/mix/lib/mix/tasks/new.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/tasks/new.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/tasks/new.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.Tasks.New do use Mix.Task import Mix.Generator @shortdoc "Creates a new Elixir project" @moduledoc """ Creates a new Elixir project. It expects the path of the project as argument. mix new PATH [--app APP] [--module MODULE] [--sup] [--umbrella] A project at the given PATH will be ...
25.340956
103
0.610304
abea972c6eb09a7ac830445d8c51947292b75b23
31,497
ex
Elixir
lib/compiler.ex
i2y/jet
a8186a9926bb0d4285c09de5dfc204f2aa468835
[ "MIT" ]
17
2017-09-13T05:02:29.000Z
2021-12-11T10:55:15.000Z
lib/compiler.ex
i2y/jet
a8186a9926bb0d4285c09de5dfc204f2aa468835
[ "MIT" ]
null
null
null
lib/compiler.ex
i2y/jet
a8186a9926bb0d4285c09de5dfc204f2aa468835
[ "MIT" ]
2
2017-09-20T01:49:57.000Z
2021-10-01T17:44:09.000Z
defmodule Compiler do @moduledoc false import :erl_syntax def module_behaviour(file) do module_attr(file, :behaviour) end def module_exports(file) do case :beam_lib.chunks(file, [:exports]) do {:ok, {_module, [{:exports, export_funcs}]}} -> export_funcs _ -> exit(:bad_file) end end defp m...
31.031527
103
0.657555
abea9aadaba1c39ff5ca65ed02c8613484dc4a3d
984
ex
Elixir
apps/astarte_pairing_api/lib/astarte_pairing_api_web/plug/authorize_path.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_pairing_api/lib/astarte_pairing_api_web/plug/authorize_path.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_pairing_api/lib/astarte_pairing_api_web/plug/authorize_path.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2018 Ispirata 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 appl...
28.114286
74
0.75
abeace1aa5694b48da84e41e8f3bb6e689e4aadc
1,578
ex
Elixir
clients/content/lib/google_api/content/v2/model/row.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/row.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/row.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "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...
32.875
207
0.738276
abeb0696618b9d76c130137c9d1b7fc72bb4c53b
441
ex
Elixir
lib/dpd_client/supervisor.ex
knewter/dpd_client
5bf1f1489e430f572630fe1b3389900ea254ea4c
[ "MIT" ]
1
2017-02-08T07:27:06.000Z
2017-02-08T07:27:06.000Z
lib/dpd_client/supervisor.ex
knewter/dpd_client
5bf1f1489e430f572630fe1b3389900ea254ea4c
[ "MIT" ]
null
null
null
lib/dpd_client/supervisor.ex
knewter/dpd_client
5bf1f1489e430f572630fe1b3389900ea254ea4c
[ "MIT" ]
null
null
null
defmodule DpdClient.Supervisor do use Supervisor def start_link do :supervisor.start_link(__MODULE__, []) end def init([]) do children = [ # Define workers and child supervisors to be supervised # worker(DpdClient.Worker, []) ] # See http://elixir-lang.org/docs/stable/Supervisor.B...
23.210526
70
0.696145
abeb489fe614775d8fa0eb80724772be8a8f8401
962
exs
Elixir
config/config.exs
pbrudnick/pyconar-talks
f0b2fdff9cae7bd7558cb4fdc5e0048403bbde7e
[ "MIT" ]
null
null
null
config/config.exs
pbrudnick/pyconar-talks
f0b2fdff9cae7bd7558cb4fdc5e0048403bbde7e
[ "MIT" ]
null
null
null
config/config.exs
pbrudnick/pyconar-talks
f0b2fdff9cae7bd7558cb4fdc5e0048403bbde7e
[ "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 :pyconar_talks, ecto_repos: [PyconarTalk...
34.357143
86
0.77027
abeb534e498f6b67d39fe0de339b8cbfc2e3aaf3
99
ex
Elixir
lib/rube/chainlink/events/submission_received.ex
icecube11/rube
5d813c5b9f7b984786ac7db6fd2eca0939bf5468
[ "MIT" ]
22
2021-06-23T06:25:41.000Z
2022-02-16T19:08:33.000Z
lib/rube/chainlink/events/submission_received.ex
icecube11/rube
5d813c5b9f7b984786ac7db6fd2eca0939bf5468
[ "MIT" ]
16
2021-06-21T17:02:13.000Z
2022-03-21T15:04:14.000Z
lib/rube/chainlink/events/submission_received.ex
icecube11/rube
5d813c5b9f7b984786ac7db6fd2eca0939bf5468
[ "MIT" ]
2
2021-06-23T13:40:52.000Z
2021-09-17T07:25:34.000Z
defmodule Rube.Chainlink.Events.SubmissionReceived do defstruct ~w[submission round oracle]a end
24.75
53
0.838384
abeb9621885f99906464929e72287498dcb4e57f
4,968
ex
Elixir
lib/phoenix/live_dashboard/live/processes_live.ex
drozdzynski/phoenix_live_dashboard
cb8d3fe1a1733318597d591542b23d2218366f97
[ "MIT" ]
2
2020-05-07T23:49:26.000Z
2020-05-10T13:56:03.000Z
lib/phoenix/live_dashboard/live/processes_live.ex
dkuku/phoenix_live_dashboard
fcdc98abf1b7c4718d080bfe4c891057a7878aa9
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/live/processes_live.ex
dkuku/phoenix_live_dashboard
fcdc98abf1b7c4718d080bfe4c891057a7878aa9
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.ProcessesLive do use Phoenix.LiveDashboard.Web, :live_view import Phoenix.LiveDashboard.TableHelpers alias Phoenix.LiveDashboard.SystemInfo @sort_by ~w(memory reductions message_queue_len) @temporary_assigns [processes: [], total: 0] @impl true def mount(%{"node" => _} =...
37.636364
171
0.568841
abeb9c38c24546ed0733cb7ddd7c3aa17fbecd87
12,225
ex
Elixir
lib/ex_unit/lib/ex_unit.ex
manjufy/elixir-1
a695453c49efbd037237d67bf2e60f2f43731773
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit.ex
manjufy/elixir-1
a695453c49efbd037237d67bf2e60f2f43731773
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/ex_unit/lib/ex_unit.ex
manjufy/elixir-1
a695453c49efbd037237d67bf2e60f2f43731773
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule ExUnit do @moduledoc """ Unit testing framework for Elixir. ## Example A basic setup for ExUnit is shown below: # File: assertion_test.exs # 1) Start ExUnit. ExUnit.start() # 2) Create a new test module (test case) and use "ExUnit.Case". defmodule AssertionTest do ...
31.426735
97
0.660859
abeba3546864b38f31995ebce38951765c6623f9
4,422
ex
Elixir
teachme/deps/postgrex/lib/postgrex/utils.ex
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
teachme/deps/postgrex/lib/postgrex/utils.ex
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
teachme/deps/postgrex/lib/postgrex/utils.ex
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
defmodule Postgrex.Utils do @moduledoc false @extensions [ Postgrex.Extensions.Array, Postgrex.Extensions.BitString, Postgrex.Extensions.Bool, Postgrex.Extensions.Box, Postgrex.Extensions.Circle, Postgrex.Extensions.Date, Postgrex.Extensions.Float4, Postgrex.Extensions.Float8, P...
33
100
0.680009
abebb94bbdfaf568eef2ca1ca767524cbf35a3bc
65
exs
Elixir
test/ordinal_test.exs
qhwa/ordinal
fde8abba2a3921db351580ad8ceb41fccf820935
[ "MIT" ]
8
2018-08-01T09:12:15.000Z
2021-03-16T01:22:25.000Z
test/ordinal_test.exs
qhwa/ordinal
fde8abba2a3921db351580ad8ceb41fccf820935
[ "MIT" ]
1
2020-01-12T11:41:48.000Z
2020-12-22T17:40:26.000Z
test/ordinal_test.exs
qhwa/ordinal
fde8abba2a3921db351580ad8ceb41fccf820935
[ "MIT" ]
1
2020-02-20T01:20:38.000Z
2020-02-20T01:20:38.000Z
defmodule OrdinalTest do use ExUnit.Case doctest Ordinal end
13
24
0.8
abebf03b130986a0b10dbdc34009c1bff91c12a4
154
ex
Elixir
lib/code_corps/stripe_testing/invoice.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps/stripe_testing/invoice.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps/stripe_testing/invoice.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.StripeTesting.Invoice do import CodeCorps.StripeTesting.Helpers def retrieve(id, _opts) do {:ok, load_fixture(id)} end end
19.25
44
0.75974
abebf3ea82eb62197acf196c9ec316dd03fe8ff4
328
exs
Elixir
test/shared/cache_test.exs
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
1
2021-03-01T16:14:07.000Z
2021-03-01T16:14:07.000Z
test/shared/cache_test.exs
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
null
null
null
test/shared/cache_test.exs
Awlexus/nebulex
6899b734239eaad493bd07282583416b3b85f670
[ "MIT" ]
null
null
null
defmodule Nebulex.CacheTest do @moduledoc """ Shared Tests """ defmacro __using__(_opts) do quote do use Nebulex.Cache.EntryTest use Nebulex.Cache.EntryExpirationTest use Nebulex.Cache.QueryableTest use Nebulex.Cache.TransactionTest use Nebulex.Cache.PersistenceTest end ...
20.5
43
0.710366
abebf68b8d09a5205754dffcc2ee3cf86c32ede5
1,893
exs
Elixir
mix.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
2
2020-05-25T05:28:31.000Z
2020-05-25T08:10:43.000Z
mix.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
9
2020-05-25T16:39:15.000Z
2020-11-11T16:51:37.000Z
mix.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
null
null
null
defmodule Ambrosia.MixProject do use Mix.Project def project do [ app: :ambrosia, 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(), ...
27.838235
84
0.57158