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
856456905276cd5c5e7294625e70a6c3e09f777b
922
ex
Elixir
lib/db/ets.ex
DigixGlobal/merkle_patricia_tree
76e6b1bca9f7d96592350132bab37fdffcbec09b
[ "MIT" ]
20
2017-06-20T12:46:54.000Z
2022-02-03T10:38:11.000Z
lib/db/ets.ex
DigixGlobal/merkle_patricia_tree
76e6b1bca9f7d96592350132bab37fdffcbec09b
[ "MIT" ]
7
2017-08-30T19:30:57.000Z
2018-05-01T20:15:14.000Z
lib/db/ets.ex
DigixGlobal/merkle_patricia_tree
76e6b1bca9f7d96592350132bab37fdffcbec09b
[ "MIT" ]
13
2017-08-21T13:03:14.000Z
2021-05-25T17:51:20.000Z
defmodule MerklePatriciaTree.DB.ETS do @moduledoc """ Implementation of `MerklePatriciaTree.DB` which is backed by :ets. """ alias MerklePatriciaTree.DB alias MerklePatriciaTree.Trie @behaviour MerklePatriciaTree.DB @doc """ Performs initialization for this db. """ @spec init(DB.db_name()) :: D...
21.44186
70
0.612798
8564631fe405bdc0bf1ab54ded52bc8dd219bd0c
890
ex
Elixir
debian/prerm.ex
Vitexus/netbeans.deb
40ec99a4f49bc3f45530e63cd8a5d2ab241374c7
[ "Apache-2.0" ]
1
2021-05-10T17:33:29.000Z
2021-05-10T17:33:29.000Z
debian/prerm.ex
Vitexus/netbeans.deb
40ec99a4f49bc3f45530e63cd8a5d2ab241374c7
[ "Apache-2.0" ]
null
null
null
debian/prerm.ex
Vitexus/netbeans.deb
40ec99a4f49bc3f45530e63cd8a5d2ab241374c7
[ "Apache-2.0" ]
null
null
null
#!/bin/sh # prerm script for netbeans-php-support # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package>...
22.820513
76
0.629213
85646bbd42ab7b9c6b91f0895e766a7bb29ce9aa
1,144
exs
Elixir
apps/routes/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/routes/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/routes/mix.exs
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
defmodule Routes.Mixfile do use Mix.Project def project do [ app: :routes, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", build_embedded: Mix.env() == :prod, start_permane...
23.833333
77
0.579545
85647070a4fa0bdcd78f40093ba7bfe03ef0ba90
409
exs
Elixir
learning/gnome/game/hangman/mix.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
learning/gnome/game/hangman/mix.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
learning/gnome/game/hangman/mix.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
defmodule Hangman.Mixfile do use Mix.Project def project do [ app: :hangman, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ mod: {Hangman.Application, []}, extra_applications: [:logger] ...
15.148148
42
0.533007
85649892790ea72258cb3c572473f9722aa32d31
6,486
exs
Elixir
test/session_test.exs
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
test/session_test.exs
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
test/session_test.exs
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
defmodule SMPPEX.SessionTest do use ExUnit.Case alias :timer, as: Timer alias Support.TCP.Server alias Support.ClientPool alias Support.SMPPSession setup do server = Server.start_link client_pool = ClientPool.create ClientPool.connect(client_pool, {127,0,0,1}, Server.port(server)) Timer....
30.739336
137
0.664354
8564d921d4881971b24472cdde136a3441043fe4
224
exs
Elixir
priv/repo/migrations/20160328150115_create_user.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
priv/repo/migrations/20160328150115_create_user.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
priv/repo/migrations/20160328150115_create_user.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
defmodule Artus.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :name, :string add :pass, :string add :mail, :string timestamps end end end
14.933333
45
0.638393
8564ef22a43436e3bf53d751a6297ecc07aa1302
2,012
exs
Elixir
chatourius/config/prod.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
chatourius/config/prod.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
chatourius/config/prod.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
32.451613
67
0.7167
8564efaeeb90dcb8886d39ea2f0b3d9c1464b749
3,235
exs
Elixir
test/bullish/accounts/accounts_test.exs
EssenceOfChaos/bullish
b5044a383b9aa1550b2a1ca40593de198f51ceec
[ "MIT" ]
1
2019-04-24T03:04:23.000Z
2019-04-24T03:04:23.000Z
test/bullish/accounts/accounts_test.exs
EssenceOfChaos/bullish
b5044a383b9aa1550b2a1ca40593de198f51ceec
[ "MIT" ]
3
2019-03-13T03:26:51.000Z
2021-05-08T02:34:05.000Z
test/bullish/accounts/accounts_test.exs
EssenceOfChaos/bullish
b5044a383b9aa1550b2a1ca40593de198f51ceec
[ "MIT" ]
1
2019-03-07T04:56:16.000Z
2019-03-07T04:56:16.000Z
defmodule Bullish.AccountsTest do @moduledoc false use Bullish.DataCase alias Bullish.Accounts describe "users" do alias Bullish.Accounts.User @valid_attrs %{ auth_id: "auth|57239390837221", avatar: "http://someavatarurl.com/path/to/image", display_name: "super cool dude 1995", ...
30.233645
85
0.630294
8564f3855a18e77b6e4523722a2027424dea4738
1,277
ex
Elixir
lib/nostrum/struct/application_command_interaction_data_option.ex
chakrit/nostrum
f0ce383d06bb3bb1786ff0464c95cbd757d38f1f
[ "MIT" ]
null
null
null
lib/nostrum/struct/application_command_interaction_data_option.ex
chakrit/nostrum
f0ce383d06bb3bb1786ff0464c95cbd757d38f1f
[ "MIT" ]
null
null
null
lib/nostrum/struct/application_command_interaction_data_option.ex
chakrit/nostrum
f0ce383d06bb3bb1786ff0464c95cbd757d38f1f
[ "MIT" ]
null
null
null
defmodule Nostrum.Struct.ApplicationCommandInteractionDataOption do @moduledoc "Struct for command invocation arguments." # seasons greetings from `AbstractBeanModelParserFactory.java`. alias Nostrum.Util defstruct [:name, :type, :value, :options] @typedoc "Parameter name" @type name :: String.t() @t...
22.803571
128
0.651527
8564f8fb02f864cdef3df8fdc58ab77e1a414418
1,438
ex
Elixir
apps/site/lib/site/components/tabs/tab_selector/arguments.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
apps/site/lib/site/components/tabs/tab_selector/arguments.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
65
2021-05-06T18:38:33.000Z
2022-03-28T20:50:04.000Z
apps/site/lib/site/components/tabs/tab_selector/arguments.ex
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
defmodule Site.Components.Tabs.TabSelector do @moduledoc """ Component for tab selection. By default the component is shown full width, with the buttons the same size, and the buttons do not stack on the smallest breakpoint. Use the following classes to modify how it's shown: * tab-select-btn-group-table-...
34.238095
109
0.603616
856544bfbac5fcb71d94886dcc1fcdc1dea5dc21
688
ex
Elixir
debian/preinst.ex
aindilis/sandbox-sigma
c68daa8af5688e08e9905224f4a6e35a4ae3f8e6
[ "OLDAP-2.2.1" ]
1
2015-02-16T00:58:05.000Z
2015-02-16T00:58:05.000Z
debian/preinst.ex
aindilis/sandbox-sigma
c68daa8af5688e08e9905224f4a6e35a4ae3f8e6
[ "OLDAP-2.2.1" ]
null
null
null
debian/preinst.ex
aindilis/sandbox-sigma
c68daa8af5688e08e9905224f4a6e35a4ae3f8e6
[ "OLDAP-2.2.1" ]
null
null
null
#!/bin/sh # preinst script for sigma # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # for details, s...
19.111111
63
0.626453
85657f699f11687789caa7857684ae97a2898562
105
ex
Elixir
lib/epicenter/extra/date_time.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter/extra/date_time.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter/extra/date_time.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Extra.DateTime do def before?(a, b) do DateTime.compare(a, b) == :lt end end
17.5
37
0.67619
85658f53b433e9cadc6d7208f6c6a0c4b117574a
746
exs
Elixir
test/jwt_mocker_test.exs
heyorbit/elixir-jwt-utils
4d175489573bdaa3b329030019c47c1eae1ce046
[ "MIT" ]
null
null
null
test/jwt_mocker_test.exs
heyorbit/elixir-jwt-utils
4d175489573bdaa3b329030019c47c1eae1ce046
[ "MIT" ]
null
null
null
test/jwt_mocker_test.exs
heyorbit/elixir-jwt-utils
4d175489573bdaa3b329030019c47c1eae1ce046
[ "MIT" ]
null
null
null
defmodule JwtTestUtils.JwtMockerTest do use ExUnit.Case import Joken alias JwtTestUtils.JwtMocker @moduletag :unit test "Given a username and a jwt when generate a nested jwt then a new jwt is returned" do generated_jwt = JwtMocker.generate_json_token("fake_user") is_jwt_valid = generated_j...
23.3125
92
0.675603
8565e751df1a478ee2a4de03c461f12f68536b6d
1,008
exs
Elixir
apps/castles_game/mix.exs
sjanota/castles
a890a1acf8c33a7cf7d6c49759387ea4dd4ce37a
[ "Apache-2.0" ]
null
null
null
apps/castles_game/mix.exs
sjanota/castles
a890a1acf8c33a7cf7d6c49759387ea4dd4ce37a
[ "Apache-2.0" ]
null
null
null
apps/castles_game/mix.exs
sjanota/castles
a890a1acf8c33a7cf7d6c49759387ea4dd4ce37a
[ "Apache-2.0" ]
null
null
null
defmodule CastlesGame.Mixfile do use Mix.Project def project do [app: :castles_game, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", build_embedded: Mix.env == :prod, ...
24
79
0.609127
85664dd289e9c67be16705fca5bd1638e3fcb2c8
2,269
ex
Elixir
lib/opt_web.ex
awwong1/opt
8d84c5789b84e95e4825a7a49711263537933b56
[ "Apache-2.0" ]
null
null
null
lib/opt_web.ex
awwong1/opt
8d84c5789b84e95e4825a7a49711263537933b56
[ "Apache-2.0" ]
null
null
null
lib/opt_web.ex
awwong1/opt
8d84c5789b84e95e4825a7a49711263537933b56
[ "Apache-2.0" ]
null
null
null
defmodule OptWeb 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 OptWeb, :controller use OptWeb, :view The definitions below will be executed for every view, controller, etc, so keep...
22.029126
78
0.674747
8566591d522a0515e72a8db8f220bb9236f1e3e2
1,644
ex
Elixir
lib/level/resolvers/user_group_membership_connection.ex
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
lib/level/resolvers/user_group_membership_connection.ex
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
lib/level/resolvers/user_group_membership_connection.ex
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
defmodule Level.Resolvers.UserGroupMembershipConnection do @moduledoc """ A paginated connection for fetching a user's group memberships. """ import Ecto.Query import Level.Gettext alias Level.Groups.Group alias Level.Groups.GroupUser alias Level.Pagination alias Level.Pagination.Args alias Level....
27.4
92
0.572993
85665f48277dd81dfb9db3d3ac535b42d088aa7e
135
exs
Elixir
test_app/test/test_app/foo_test.exs
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
50
2019-01-12T08:58:36.000Z
2022-01-25T22:32:12.000Z
test_app/test/test_app/foo_test.exs
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
5
2019-02-13T10:19:20.000Z
2020-04-19T08:49:36.000Z
test_app/test/test_app/foo_test.exs
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
6
2019-02-24T18:58:50.000Z
2022-01-25T22:33:32.000Z
defmodule TestApp.FooTest do use ExUnit.Case test "completes placeholder names" do assert TestApp.Foo.bar() == :baz end end
16.875
39
0.718519
856664daf073f39e337abd6bbd468161d71da9cf
7,456
exs
Elixir
lib/elixir/test/elixir/hash_dict_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/elixir/test/elixir/hash_dict_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/hash_dict_test.exs
joearms/elixir
9a0f8107bd8bbd089acb96fe0041d61a05e88a9b
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
Code.require_file "test_helper.exs", __DIR__ defmodule HashDictTest do use ExUnit.Case, async: true test :smoke_small_range_test do smoke_test(1..8) smoke_test(8..1) end test :smoke_medium_range_test do smoke_test(1..80) smoke_test(80..1) end test :smoke_large_range_test do smoke_tes...
27.512915
89
0.617623
85666e251d59f02fd75c990cfd9b505b6f2f3025
84
exs
Elixir
test/views/page_view_test.exs
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
defmodule FutureCyborg.PageViewTest do use FutureCyborg.ConnCase, async: true end
21
40
0.833333
856677459a21f01567f6596dd6adbe8bf9532e05
365
ex
Elixir
backend/lib/core/api/game_settings.pb.ex
Szetty/seven_wonders
77f6f4ff015a8fc481c7edfc87e3cd77b61bc79b
[ "MIT" ]
1
2020-05-28T15:51:47.000Z
2020-05-28T15:51:47.000Z
backend/lib/core/api/game_settings.pb.ex
Szetty/seven_wonders
77f6f4ff015a8fc481c7edfc87e3cd77b61bc79b
[ "MIT" ]
35
2020-05-23T17:33:56.000Z
2022-02-14T00:53:06.000Z
backend/lib/core/api/game_settings.pb.ex
Szetty/seven_wonders
77f6f4ff015a8fc481c7edfc87e3cd77b61bc79b
[ "MIT" ]
null
null
null
defmodule Core.Api.GameSettings.Reply do @moduledoc false use Protobuf, syntax: :proto2 @type t :: %__MODULE__{ version: String.t(), supported_wonders: [String.t()] } defstruct [:version, :supported_wonders] field(:version, 1, optional: true, type: :string) field(:supported_wo...
24.333333
61
0.660274
8566779d3b6bda5ad5da73358c662e3df0ba98f4
727
ex
Elixir
lib/woolen_sockets/game_state.ex
elliotthilaire/woolen-sockets
86040cf4aa97ec979db7e15c3cbe84dd4818eaf0
[ "MIT" ]
6
2017-09-05T10:34:48.000Z
2019-06-20T05:04:52.000Z
lib/woolen_sockets/game_state.ex
elliotthilaire/woolen-sockets
86040cf4aa97ec979db7e15c3cbe84dd4818eaf0
[ "MIT" ]
null
null
null
lib/woolen_sockets/game_state.ex
elliotthilaire/woolen-sockets
86040cf4aa97ec979db7e15c3cbe84dd4818eaf0
[ "MIT" ]
null
null
null
defmodule WoolenSockets.GameState do alias WoolenSocketsData.{WorldTransformer, World, Player} def start_link do initial_world = %World{} Agent.start_link(fn -> initial_world end, name: __MODULE__) end def add_player(player = %Player{}) do Agent.update(__MODULE__, fn world -> WorldTransfor...
21.382353
63
0.701513
8566934ede0d673e65acc9fec7dbd39443196bf8
2,265
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/update_instance_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/spanner/lib/google_api/spanner/v1/model/update_instance_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/spanner/lib/google_api/spanner/v1/model/update_instance_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.446429
232
0.720088
856696bc2f2f2f628c8e3edb39e7b587722916c9
506
exs
Elixir
test/poster_test.exs
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
1
2020-05-06T15:16:11.000Z
2020-05-06T15:16:11.000Z
test/poster_test.exs
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
null
null
null
test/poster_test.exs
Apelsinka223/excoveralls
500b8638851a3b6f261127ee72fe4a4a1805ea61
[ "MIT" ]
2
2019-03-15T08:12:53.000Z
2019-06-11T11:34:04.000Z
defmodule PosterTest do use ExUnit.Case import Mock import ExUnit.CaptureIO test_with_mock "post json", :hackney, [request: fn(_, _, _, _) -> {:ok, 200, "", ""} end] do assert capture_io(fn -> ExCoveralls.Poster.execute("json") end) =~ ~r/Successfully uploaded/ end test_with_mock "post json ...
28.111111
100
0.656126
8566a58dd2cf351d59039dd1562b316d93a6d90b
1,649
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/failure_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/failure_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/failure_policy.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...
35.085106
157
0.747726
8566abb41bbd2bc508d688464d87d325d55f71a6
91
ex
Elixir
lib/whistler_news_reader_web/channels/entry_channel.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
8
2016-06-12T20:11:26.000Z
2017-05-02T04:36:41.000Z
lib/whistler_news_reader_web/channels/entry_channel.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
2
2016-06-12T15:49:06.000Z
2016-06-12T20:00:02.000Z
lib/whistler_news_reader_web/channels/entry_channel.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
null
null
null
defmodule WhistlerNewsReaderWeb.EntryChannel do use WhistlerNewsReaderWeb, :channel end
18.2
47
0.857143
8566b0eabd0b0a711bdd11206b07ad4d0a57496e
1,892
ex
Elixir
programming/elixir-course/discuss/lib/discuss_web/controllers/comment_controller.ex
filippo-fonseca/learning
426c7e3a904e2dcd389f1c4ecd5b1484571f937d
[ "MIT" ]
1
2021-09-24T22:47:33.000Z
2021-09-24T22:47:33.000Z
programming/elixir-course/discuss/lib/discuss_web/controllers/comment_controller.ex
filippo-fonseca/learning
426c7e3a904e2dcd389f1c4ecd5b1484571f937d
[ "MIT" ]
null
null
null
programming/elixir-course/discuss/lib/discuss_web/controllers/comment_controller.ex
filippo-fonseca/learning
426c7e3a904e2dcd389f1c4ecd5b1484571f937d
[ "MIT" ]
1
2020-08-28T22:52:08.000Z
2020-08-28T22:52:08.000Z
defmodule DiscussWeb.CommentController do use DiscussWeb, :controller alias Discuss.Discussions alias Discuss.Discussions.Comment def index(conn, _params) do comments = Discussions.list_comments() render(conn, "index.html", comments: comments) end def new(conn, _params) do changeset = Discuss...
30.031746
73
0.661205
8566d4c8a4663bd072ba9091881c040d75f7c3ad
4,324
ex
Elixir
apps/tai/lib/tai/venue.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/lib/tai/venue.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venue.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
null
null
null
defmodule Tai.Venue do alias Tai.Venues.Adapter alias Tai.Trading.{Order, OrderResponses} @type adapter :: Adapter.t() @type account_id :: Adapter.account_id() @type product :: Tai.Venues.Product.t() @type asset_balance :: Tai.Venues.AssetBalance.t() @type position :: Tai.Trading.Position.t() @type ord...
40.037037
93
0.703515
8566fbab957eb5898e9b3c377fd34457ec2d17c5
41,973
exs
Elixir
lib/mix/test/mix/tasks/compile.elixir_test.exs
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
2
2021-11-10T01:18:41.000Z
2021-11-10T01:35:54.000Z
lib/mix/test/mix/tasks/compile.elixir_test.exs
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
1
2021-05-22T13:12:51.000Z
2021-05-22T13:12:51.000Z
lib/mix/test/mix/tasks/compile.elixir_test.exs
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
1
2021-11-08T10:21:27.000Z
2021-11-08T10:21:27.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.Compile.ElixirTest do import ExUnit.CaptureIO alias Mix.Task.Compiler.Diagnostic use MixTest.Case def trace(event, env) do send(__MODULE__, {event, env}) :ok end @old_time {{2010, 1, 1}, {0, 0, 0}} @elixir_otp_version {Syst...
33.07565
144
0.599933
85670025d3bbad0a5787541568db0fe1a774c7ff
2,182
exs
Elixir
test/events_tools/statuses/statuses_test.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
2
2017-10-06T01:14:35.000Z
2017-11-18T16:44:44.000Z
test/events_tools/statuses/statuses_test.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
6
2017-10-06T00:04:59.000Z
2017-10-06T00:09:27.000Z
test/events_tools/statuses/statuses_test.exs
apps-team/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
1
2017-10-06T01:17:35.000Z
2017-10-06T01:17:35.000Z
defmodule CommunityTools.StatusTest do use CommunityTools.DataCase alias CommunityTools.Status describe "status" do alias CommunityTools.Status.Status @valid_attrs %{summary: "some summary", title: "some title"} @update_attrs %{summary: "some updated summary", title: "some updated title"} @inva...
32.088235
87
0.673236
8567009a5d7948991099e3ccfbbc044e24362643
388
ex
Elixir
lib/can_fulfill_intent_response.ex
tickbw/phoenix_alexa
e1101a93c2e3a2bfea5d075a0a72be62892674ec
[ "MIT" ]
null
null
null
lib/can_fulfill_intent_response.ex
tickbw/phoenix_alexa
e1101a93c2e3a2bfea5d075a0a72be62892674ec
[ "MIT" ]
null
null
null
lib/can_fulfill_intent_response.ex
tickbw/phoenix_alexa
e1101a93c2e3a2bfea5d075a0a72be62892674ec
[ "MIT" ]
null
null
null
defmodule PhoenixAlexa.CanFulfillIntentResponse do alias PhoenixAlexa.{CanFulfillIntentResponse} alias PhoenixAlexa.{CanFulfillIntent} defstruct version: "1.0", response: %{} def set_can_fulfill_intent(response, %CanFulfillIntent{} = canfulfill) do %CanFulfillIntentResponse{response | response: (respo...
29.846154
113
0.778351
8567155345c3b3fc6f25cce277f3caf840c85f5d
6,625
ex
Elixir
lib/extruder/builder.ex
eloy/extruder
3adfb8c024edc734aa3f721cbb2c53b1ac977389
[ "MIT" ]
1
2018-05-03T00:24:50.000Z
2018-05-03T00:24:50.000Z
lib/extruder/builder.ex
eloy/extruder
3adfb8c024edc734aa3f721cbb2c53b1ac977389
[ "MIT" ]
null
null
null
lib/extruder/builder.ex
eloy/extruder
3adfb8c024edc734aa3f721cbb2c53b1ac977389
[ "MIT" ]
null
null
null
defmodule Extruder.Builder do def assign(model_def, struct, params) do Enum.reduce model_def.fields, {struct, %{}} , fn({name, type, opt}, {struct, errors}) -> # if params include a value, set it, leave the default value otherwise raw_value = get_value(struct, params, name) case cast(type, raw...
26.185771
115
0.518642
85672ad0f829ed8e7039dce70a7b27133e6fd2c5
414
exs
Elixir
test_projects/example_lib/bundlex.exs
kianmeng/bundlex
c3477977ab1c46bc87c62fbade9b0a7c13c791be
[ "Apache-2.0" ]
40
2018-06-10T20:55:32.000Z
2021-12-12T22:08:25.000Z
test_projects/example_lib/bundlex.exs
kianmeng/bundlex
c3477977ab1c46bc87c62fbade9b0a7c13c791be
[ "Apache-2.0" ]
40
2018-07-18T16:14:52.000Z
2022-03-27T16:33:09.000Z
test_projects/example_lib/bundlex.exs
kianmeng/bundlex
c3477977ab1c46bc87c62fbade9b0a7c13c791be
[ "Apache-2.0" ]
10
2018-08-02T06:07:42.000Z
2022-03-25T15:41:14.000Z
defmodule Example.Lib.BundlexProject do use Bundlex.Project def project do [ libs: libs(), ] end defp libs do [ example_lib: [ src_base: "example_lib", sources: ["example_lib_nif.c"], interface: :nif ], example_lib: [ src_base: "example_lib",...
16.56
41
0.543478
85673224d82e584686b7dc9cd0158a0f21e172a7
1,034
exs
Elixir
playground/elixir-live-doom-fire/config/config.exs
allmonty/doom-fire-algorithm
dac483b85973020c5f86962d3d9344018711043b
[ "MIT" ]
null
null
null
playground/elixir-live-doom-fire/config/config.exs
allmonty/doom-fire-algorithm
dac483b85973020c5f86962d3d9344018711043b
[ "MIT" ]
null
null
null
playground/elixir-live-doom-fire/config/config.exs
allmonty/doom-fire-algorithm
dac483b85973020c5f86962d3d9344018711043b
[ "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 # Configures the endpoint config :live_doom_fire, LiveDoomFireWeb.Endpoint, url: [h...
38.296296
86
0.77853
856778b02bdeb5d7872717d8c00bd8e7b467f47b
919
exs
Elixir
test/plug/head_test.exs
gjaldon/plug
bfe88530b429c7b9b29b69b737772ef7c6aa2f6b
[ "Apache-2.0" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
test/plug/head_test.exs
gjaldon/plug
bfe88530b429c7b9b29b69b737772ef7c6aa2f6b
[ "Apache-2.0" ]
null
null
null
test/plug/head_test.exs
gjaldon/plug
bfe88530b429c7b9b29b69b737772ef7c6aa2f6b
[ "Apache-2.0" ]
null
null
null
defmodule Plug.HeadTest do use ExUnit.Case, async: true use Plug.Test @opts Plug.Head.init([]) test "converts HEAD requests to GET requests" do conn = Plug.Head.call(conn(:head, "/"), @opts) assert conn.method == "GET" end test "HEAD responses have headers but do not have a body" do conn = co...
27.848485
81
0.615887
85677f30dca95efcb2732330aa8c8f20e4bae18e
1,077
exs
Elixir
mix.exs
ibm-skills-network/ueberauth_ibmid
ac9f8aba5d7e2962467a90958bc925dd4ae76e18
[ "MIT" ]
null
null
null
mix.exs
ibm-skills-network/ueberauth_ibmid
ac9f8aba5d7e2962467a90958bc925dd4ae76e18
[ "MIT" ]
null
null
null
mix.exs
ibm-skills-network/ueberauth_ibmid
ac9f8aba5d7e2962467a90958bc925dd4ae76e18
[ "MIT" ]
null
null
null
defmodule UeberauthIBMId.Mixfile do use Mix.Project @version "0.1.0" @url "https://github.com/ibm-skills-network/ueberauth_ibmid" def project do [ app: :ueberauth_ibmid, version: @version, elixir: "~> 1.3", name: "Ueberauth IBMId", build_embedded: Mix.env() == :prod, st...
20.320755
70
0.566388
856794bfde40e5b8be101cabda2a09bf93581ec5
2,104
exs
Elixir
apps/rig_inbound_gateway/test/rig/implicit_subscriptions/jwt.exs
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/test/rig/implicit_subscriptions/jwt.exs
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/test/rig/implicit_subscriptions/jwt.exs
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
defmodule RigInboundGateway.ImplicitSubscriptions.JwtTest do @moduledoc false use ExUnit.Case, async: false import Joken alias RigInboundGateway.ImplicitSubscriptions.Jwt @jwt_secret_key "mysecret" @extractors System.get_env("EXTRACTORS") setup do System.put_env( "EXTRACTORS", "{\"even...
33.396825
519
0.570342
8567b0194e4e9977d95dfc13c71f3f89326f5911
2,340
exs
Elixir
elixir/quick-elixir-blog/blog_phoenix/test/controllers/post_controller_test.exs
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
elixir/quick-elixir-blog/blog_phoenix/test/controllers/post_controller_test.exs
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
elixir/quick-elixir-blog/blog_phoenix/test/controllers/post_controller_test.exs
Jufebrown/learning-projects
9b8e0718c18ad00b7bb40a72c5c204471b28a100
[ "MIT" ]
null
null
null
defmodule BlogPhoenix.PostControllerTest do use BlogPhoenix.ConnCase alias BlogPhoenix.Post @valid_attrs %{body: "some body", title: "some title"} @invalid_attrs %{} test "lists all entries on index", %{conn: conn} do conn = get conn, post_path(conn, :index) assert html_response(conn, 200) =~ "Listi...
34.925373
98
0.675641
8567dfb1d99b35cb442c535642d8869ce7946997
75
ex
Elixir
lib/hub_web/views/page_view.ex
Poeticode/hub
39df28dd5f18fe61899b72f18935c1508dd166ee
[ "MIT" ]
null
null
null
lib/hub_web/views/page_view.ex
Poeticode/hub
39df28dd5f18fe61899b72f18935c1508dd166ee
[ "MIT" ]
null
null
null
lib/hub_web/views/page_view.ex
Poeticode/hub
39df28dd5f18fe61899b72f18935c1508dd166ee
[ "MIT" ]
null
null
null
defmodule HubWeb.PageView do use HubWeb, :view import Scrivener.HTML end
15
28
0.8
85687057bbf81e1153dc49be065c90a3a7f3b28d
118
ex
Elixir
{{cookiecutter.project_underscored}}/lib/{{cookiecutter.project_underscored}}/web/html/layout/layout_view.ex
ijcd/cookiecutter-screaming-phoenix
f34ca6704f8f8b0581e91b4f6e3e75239fb79cb1
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.project_underscored}}/lib/{{cookiecutter.project_underscored}}/web/html/layout/layout_view.ex
ijcd/cookiecutter-screaming-phoenix
f34ca6704f8f8b0581e91b4f6e3e75239fb79cb1
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.project_underscored}}/lib/{{cookiecutter.project_underscored}}/web/html/layout/layout_view.ex
ijcd/cookiecutter-screaming-phoenix
f34ca6704f8f8b0581e91b4f6e3e75239fb79cb1
[ "Apache-2.0" ]
null
null
null
defmodule {{cookiecutter.project_module}}.Web.HTML.LayoutView do use {{cookiecutter.project_module}}.Web, :view end
29.5
64
0.788136
856878c1439cd50f2f6bd242b79dd4c8e714c7f9
3,092
ex
Elixir
elixir/elixir-pragmatic/servy/lib/servy/handler.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
1
2018-12-11T14:09:14.000Z
2018-12-11T14:09:14.000Z
elixir/elixir-pragmatic/servy/lib/servy/handler.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
null
null
null
elixir/elixir-pragmatic/servy/lib/servy/handler.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
null
null
null
defmodule Servy.Handler do def update(conn, %{"id" => id, "user" => user_params}) do with :ok <- authorize_author(conn, id), %User{} = user <- Accounts.get_user!(id), {:ok, %User{} = user} <- Accounts.update_user(user, user_params) do render(conn, "show.json", user: user) end end ...
18.969325
73
0.594437
85689aa14f736a080c3b39f2c308c8f60838454e
1,136
exs
Elixir
test/support/helper.exs
bjuretic/dispatch
e0c81efe69c0609390c14ddbc7762b6b7c9ba828
[ "MIT" ]
null
null
null
test/support/helper.exs
bjuretic/dispatch
e0c81efe69c0609390c14ddbc7762b6b7c9ba828
[ "MIT" ]
null
null
null
test/support/helper.exs
bjuretic/dispatch
e0c81efe69c0609390c14ddbc7762b6b7c9ba828
[ "MIT" ]
null
null
null
defmodule Dispatch.Helper do import ExUnit.Assertions alias Dispatch.Registry @rtype "TestDispatchType" def setup_registry() do if Process.whereis(Registry), do: Process.unregister(Registry) if Process.whereis(Registry.HashRing), do: Process.unregister(Registry.HashRing) {:ok, registry_pid} = Reg...
27.707317
84
0.638204
8568b90d16a747c5b9d3773b338939151d90181f
1,219
exs
Elixir
clients/vault/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vault/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/vault/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Vault.V1.Mixfile do use Mix.Project @version "0.2.0" def project do [app: :google_api_vault, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: ...
25.395833
196
0.614438
8568c139839111e0e7089a83367cb25eaad91407
2,345
exs
Elixir
test/controllers/wine_controller_test.exs
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
test/controllers/wine_controller_test.exs
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
test/controllers/wine_controller_test.exs
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
defmodule Cellar.WineControllerTest do use Cellar.ConnCase alias Cellar.Wine @valid_attrs %{color: "some content", designation: "some content", name: "some content", notes: "some content", ready_to_drink: "some content", vintage: 42} @invalid_attrs %{} setup %{conn: conn} do {:ok, conn: put_req_header(c...
35.530303
158
0.660128
8568ce7482e4a51c92d300a36e23df08019f6b55
2,759
exs
Elixir
apps/ewallet_api/config/config.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_api/config/config.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_api/config/config.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :ewallet_api, namespace: EWalletAPI, e...
29.042105
76
0.729975
8568d7c73b10a79fd33eddae9a7a9b9744f3cf60
1,622
ex
Elixir
clients/os_login/lib/google_api/os_login/v1/model/import_ssh_public_key_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/os_login/lib/google_api/os_login/v1/model/import_ssh_public_key_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/os_login/lib/google_api/os_login/v1/model/import_ssh_public_key_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...
33.791667
97
0.75894
85695382baa316f3478e9ea2a0a6d084c0fb5e4c
1,257
ex
Elixir
lib/gateway/utils/jwt.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
1
2019-11-06T13:35:35.000Z
2019-11-06T13:35:35.000Z
lib/gateway/utils/jwt.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
lib/gateway/utils/jwt.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
defmodule Gateway.Utils.Jwt do @moduledoc """ Provides utility functions over JWT using Joken """ use Gateway.Config, [:secret_key] import Joken @type claim_map :: %{required(String.t) => String.t} @spec valid?(String.t) :: boolean def valid?(jwt) do jwt |> validate |> get_error == nil e...
22.854545
66
0.630867
856973d1a06f35311b9bbd9cb8c82e829ba29570
561
ex
Elixir
lib/mail_slurp_api/model/sender.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/sender.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/sender.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Model.Sender do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"emailAddress", :"name", :"rawValue" ]...
18.7
91
0.650624
8569ac086694fc5766978fd7fa7d75d473d327fc
2,210
exs
Elixir
mix.exs
elcritch/circuits_spi
8657898c85d3276184a6568f538e2ac0c3f1fee3
[ "Apache-2.0" ]
null
null
null
mix.exs
elcritch/circuits_spi
8657898c85d3276184a6568f538e2ac0c3f1fee3
[ "Apache-2.0" ]
null
null
null
mix.exs
elcritch/circuits_spi
8657898c85d3276184a6568f538e2ac0c3f1fee3
[ "Apache-2.0" ]
null
null
null
defmodule Circuits.SPI.MixProject do use Mix.Project @version "0.1.4" @source_url "https://github.com/elixir-circuits/circuits_spi" {:ok, system_version} = Version.parse(System.version()) @elixir_version {system_version.major, system_version.minor, system_version.patch} def project do [ app: :c...
22.783505
84
0.569231
8569b329f1821ecb9d854361534be78ee141f88f
2,197
ex
Elixir
lib/jerboa/format/body/attribute.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
14
2016-12-22T10:38:34.000Z
2021-03-11T23:20:26.000Z
lib/jerboa/format/body/attribute.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
94
2016-12-22T13:13:29.000Z
2021-02-10T14:22:32.000Z
lib/jerboa/format/body/attribute.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
6
2017-04-03T20:23:00.000Z
2022-03-06T10:14:30.000Z
defmodule Jerboa.Format.Body.Attribute do @moduledoc """ STUN protocol attributes """ alias Jerboa.Format.ComprehensionError alias Jerboa.Format.Body.Attribute.{XORMappedAddress, Lifetime, Data, Nonce, Username, Realm, ErrorCode, EvenPort, ...
30.09589
78
0.619936
8569b6cb223d1cb1694240d3d7eac1253404c3c6
440
ex
Elixir
lib/pokedex.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
lib/pokedex.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
lib/pokedex.ex
MiguelERuiz/pokedex
e7faaa54f6486442a0a3768563d3decf8c37f5b1
[ "MIT" ]
null
null
null
defmodule Pokedex do @moduledoc """ Documentation for Pokedex: an API wrapper library for https://pokeapi.co """ use Tesla plug Tesla.Middleware.BaseUrl, "https://pokeapi.co/api/v2" plug Tesla.Middleware.Headers, [{"cache-control", "private"}] plug Tesla.Middleware.Timeout, timeout: 2_000 plug Tesla.Mi...
27.5
74
0.711364
856a2d83323f6d32585c4dd624a745560b73d9ae
194,504
ex
Elixir
lib/oban/crontab/parser.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
lib/oban/crontab/parser.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
lib/oban/crontab/parser.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
# Generated from lib/oban/crontab/parser.ex.exs, do not edit. # Generated at 2020-09-01 15:54:03Z. defmodule Oban.Crontab.Parser do @moduledoc false @doc """ Parses the given `binary` as cron. Returns `{:ok, [token], rest, context, position, byte_offset}` or `{:error, reason, rest, context, line, byte_offs...
33.328307
1,159
0.63648
856a32f628059f57a033205869795c221ae9d652
2,663
exs
Elixir
mix.exs
nerves-hub/nerves_hub_link
ad7945ed60ff5294646da819a276c3997a505fef
[ "Apache-2.0" ]
24
2020-01-13T18:47:47.000Z
2022-01-31T03:30:58.000Z
mix.exs
nerves-hub/nerves_hub_link
ad7945ed60ff5294646da819a276c3997a505fef
[ "Apache-2.0" ]
36
2020-02-06T23:16:52.000Z
2021-12-09T01:54:53.000Z
mix.exs
nerves-hub/nerves_hub_link
ad7945ed60ff5294646da819a276c3997a505fef
[ "Apache-2.0" ]
9
2020-06-04T10:31:55.000Z
2022-03-30T17:49:24.000Z
defmodule NervesHubLink.MixProject do use Mix.Project @version "1.0.0" @source_url "https://github.com/nerves-hub/nerves_hub_link" Application.put_env( :nerves_hub_link, :nerves_provisioning, Path.expand("provisioning.conf") ) def project do [ app: :nerves_hub_link, deps: deps...
23.990991
82
0.547878
856a3d2c960d97d0f0745fce910f2cb4b7e134df
417
ex
Elixir
lib/expo/plural_forms/syntax_error.ex
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
2
2022-03-31T21:12:35.000Z
2022-03-31T21:44:59.000Z
lib/expo/plural_forms/syntax_error.ex
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
13
2022-03-30T17:41:25.000Z
2022-03-31T23:35:49.000Z
lib/expo/plural_forms/syntax_error.ex
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
null
null
null
defmodule Expo.PluralForms.SyntaxError do @moduledoc """ An error raised when the syntax in a Plural Forms String isn't correct. """ defexception [:message] @impl Exception def exception(opts) do line = Keyword.fetch!(opts, :line) offset = Keyword.fetch!(opts, :offset) reason = Keyword.fetch!(...
21.947368
73
0.666667
856a3da82c91ec3c88ee45608c4ae587e074b0cc
863
ex
Elixir
lib/ptr/ownerships/owner.ex
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
null
null
null
lib/ptr/ownerships/owner.ex
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
2
2021-03-09T01:59:47.000Z
2022-02-10T17:08:54.000Z
lib/ptr/ownerships/owner.ex
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
null
null
null
defmodule Ptr.Ownerships.Owner do use Ecto.Schema import Ecto.Changeset import Ptr.Accounts.Account, only: [prefix: 1] alias Ptr.Lots.Lot alias Ptr.Ownerships.Owner alias Ptr.Accounts.Account schema "owners" do field(:name, :string) field(:tax_id, :string) field(:lock_version, :integer, def...
24.657143
73
0.672074
856a6b76a48a911952478d0bee9aea4178074925
4,532
ex
Elixir
lib/prismic/types/prismic.ex
SolaceClub/prismic
29841a3c76a20f444d7cf576ac0f39bf7096afa4
[ "Apache-2.0" ]
null
null
null
lib/prismic/types/prismic.ex
SolaceClub/prismic
29841a3c76a20f444d7cf576ac0f39bf7096afa4
[ "Apache-2.0" ]
null
null
null
lib/prismic/types/prismic.ex
SolaceClub/prismic
29841a3c76a20f444d7cf576ac0f39bf7096afa4
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings <keith.brings@noizu.com> # Copyright (C) 2016 Solace Club, LLC. All rights reserved. #------------------------------------------------------------------------------- defmodule Solace.Prismic.Types.Prismic do alias...
30.621622
80
0.580759
856a9239a994f8dd9f0d2fba21d7f1ea78f04083
64,502
ex
Elixir
clients/content/lib/google_api/content/v21/api/accounts.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/content/lib/google_api/content/v21/api/accounts.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/api/accounts.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...
45.843639
276
0.611578
856a967ca59527da584042cf73a7700c5289a5ee
257
ex
Elixir
lib/honest_chat.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
3
2021-11-19T07:18:30.000Z
2021-12-23T22:19:48.000Z
lib/honest_chat.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
null
null
null
lib/honest_chat.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
null
null
null
defmodule HonestChat do @moduledoc """ HonestChat keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.7
66
0.758755
856ad43172c1671f13a10e25d2ff44d670d9c0f4
173
exs
Elixir
apps/ewallet_api/config/test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_api/config/test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/config/test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :ewallet_api, EWalletAPI.Endpoint, server: false
24.714286
56
0.757225
856ae3b33cbf1d3a59f245b905d2198576e2dc2c
17,200
ex
Elixir
lib/aws/generated/data_sync.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/data_sync.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/data_sync.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "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.DataSync do @moduledoc """ DataSync DataSync is a managed data transfer service that makes it simpler for you to automate moving data between on-premises storage and Amazon Simple Storage...
38.914027
207
0.72436
856b248187ce8558821d3990ad4b846ba92501ec
341
exs
Elixir
priv/repo/seeds.exs
xuyizhe/phoenix-sample
9f5a79d9da13858a62d0d9316f799e8cf89d0038
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
xuyizhe/phoenix-sample
9f5a79d9da13858a62d0d9316f799e8cf89d0038
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
xuyizhe/phoenix-sample
9f5a79d9da13858a62d0d9316f799e8cf89d0038
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Bi.Repo.insert!(%Bi.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail if s...
28.416667
61
0.697947
856b6780affe53c4c07f871eccc38bbc0d3dba23
15,958
ex
Elixir
lib/iex/lib/iex/autocomplete.ex
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/autocomplete.ex
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/autocomplete.ex
flash4syth/elixir
466bfc79fbad69eb6c9e4e3f19c262cdd93d7817
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Autocomplete do @moduledoc false @doc """ Provides one helper function that is injected into connecting remote nodes to properly handle autocompletion. """ def remsh(node) do fn e -> case :rpc.call(node, IEx.Autocomplete, :expand, [e]) do {:badrpc, _} -> {:no, '', []} ...
26.552413
95
0.605026
856bf256a14d5ce5bbf87f86a54e2c4f6d50e298
1,010
exs
Elixir
test/channels/socket_auth_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
test/channels/socket_auth_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
test/channels/socket_auth_test.exs
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
defmodule MyGTest do require Logger use ExUnit.Case import Phoenix.ChannelTest @endpoint Guardex.Endpoint test "socket auth works" do st = %Guardex{id: 123} { :ok, jwt, full_claims } = Guardian.encode_and_sign(st, :token, perms: %{ default: [:read, :write]}) auth = %{token: jwt} s = socket() ...
31.5625
105
0.624752
856c05b7566949c5fcb806a1fa87c6f25f84d0e9
712
ex
Elixir
clients/kratos/elixir/lib/ory/model/admin_create_identity_import_credentials_password.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/model/admin_create_identity_import_credentials_password.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/model/admin_create_identity_import_credentials_password.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.AdminCreateIdentityImportCredentialsPassword do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"config" ] @ty...
25.428571
109
0.748596
856c1ae122c779d9922c187dc9c1a2854a74857c
940
ex
Elixir
test/support/channel_case.ex
clayscode/exzeitable
312e7a0aebda51f5cd3ccee800c1d1affd9d4248
[ "MIT" ]
1
2021-10-18T00:55:47.000Z
2021-10-18T00:55:47.000Z
test/support/channel_case.ex
EnzymeCorp/exzeitable
74c02ab82de56aaf150006f05836a65a7d47697f
[ "MIT" ]
null
null
null
test/support/channel_case.ex
EnzymeCorp/exzeitable
74c02ab82de56aaf150006f05836a65a7d47697f
[ "MIT" ]
null
null
null
defmodule TestWeb.ChannelCase do alias Ecto.Adapters.SQL.Sandbox alias TestWeb.{Endpoint, Repo} @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures a...
22.926829
59
0.707447
856c424882c92e652aa7fd472568ee53b0bce405
1,545
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/set_basic_filter_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/set_basic_filter_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/set_basic_filter_request.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...
32.1875
79
0.749515
856c4c90c1ee370588e0fb1545dc23d67e829948
613
ex
Elixir
template/$PROJECT_NAME$/lib/$PROJECT_NAME$/sitemap.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
3
2019-08-01T08:28:24.000Z
2019-08-18T14:50:32.000Z
template/$PROJECT_NAME$/lib/$PROJECT_NAME$/sitemap.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
3
2021-03-09T12:14:26.000Z
2022-02-10T18:46:15.000Z
template/$PROJECT_NAME$/lib/$PROJECT_NAME$/sitemap.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
null
null
null
defmodule <%= @project_name_camel_case %>.Sitemap do alias <%= @project_name_camel_case %>Web.{Endpoint} alias <%= @project_name_camel_case %>.Repo import Ecto.Query, only: [from: 2] use Sitemap, host: "http://#{Application.get_env(:degree, Endpoint)[:url][:host]}", files_path: "priv/static/sitemaps/"...
24.52
78
0.652529
856c5cf8a44bd6e9c6231189f9e914564077af8b
2,477
ex
Elixir
lib/plug/http_signature.ex
annatel/captain_hook_signature
0bb4cbbee10c0e1a51589e6187dde9f90763c118
[ "MIT" ]
null
null
null
lib/plug/http_signature.ex
annatel/captain_hook_signature
0bb4cbbee10c0e1a51589e6187dde9f90763c118
[ "MIT" ]
null
null
null
lib/plug/http_signature.ex
annatel/captain_hook_signature
0bb4cbbee10c0e1a51589e6187dde9f90763c118
[ "MIT" ]
null
null
null
# Based on: # https://github.com/dashbitco/bytepack_archive/blob/main/apps/bytepack_web/lib/bytepack_web/controllers/webhooks/http_signature.ex defmodule CaptainHookSignature.Plug.HTTPSignature do @moduledoc """ Verifies the request body in order to ensure that its signature is valid. This verification can avoid ...
28.802326
131
0.670973
856c7ccb3282493aece69de089b4fd7f3ce8d615
2,112
exs
Elixir
test/basic/carts_test.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
7
2021-07-14T15:45:55.000Z
2022-01-25T11:13:01.000Z
test/basic/carts_test.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
10
2021-08-09T15:54:05.000Z
2022-02-17T04:18:38.000Z
test/basic/carts_test.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
5
2021-07-23T05:54:35.000Z
2022-01-28T04:14:51.000Z
defmodule Basic.CartsTest do use Basic.DataCase alias Basic.Carts describe "carts" do alias Basic.Carts.Cart @valid_attrs %{is_order: true, item_id: 42, quantity: 42, user_id: 42} @update_attrs %{is_order: false, item_id: 43, quantity: 43, user_id: 43} @invalid_attrs %{is_order: nil, item_id: n...
29.746479
82
0.643466
856ca17a59731b7e295ec4c55f55e3dba667eca1
578
ex
Elixir
lib/pummpcomm/history/delete_alarm_clock_time.ex
infinity-aps/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
15
2017-08-31T00:58:47.000Z
2020-01-12T03:53:13.000Z
lib/pummpcomm/history/delete_alarm_clock_time.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
1
2017-09-15T02:09:31.000Z
2017-09-15T02:09:31.000Z
lib/pummpcomm/history/delete_alarm_clock_time.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
3
2017-09-10T17:24:59.000Z
2019-09-10T19:41:49.000Z
defmodule Pummpcomm.History.DeleteAlarmClockTime do @moduledoc """ `Utilities` > `Alarm Clock` > `Delete Alarm` """ @behaviour Pummpcomm.History.Decoder # Functions ## Pummpcomm.History.Decoder callbacks @doc """ `timestamp` when an alaram was deleted with `Utilities` > `Alarm Clock` > `Delete Alarm...
28.9
93
0.726644
856cb4235b5acaa6354a13bdcd70eb9db7d09d48
4,177
ex
Elixir
web/router.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
web/router.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
web/router.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
defmodule Tox.Router do use Tox.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers plug Guardian.Plug.VerifySession plug Guardian.Plug.LoadResource end pipeline :browser_auth do...
45.901099
95
0.739287
856d2678dfcd14580899dd23fe5b5bbde2799a78
4,389
ex
Elixir
lib/fix.ex
wojtekmach/fix
2aeaa32b031ae97060e284d026e899345f988f0c
[ "Apache-2.0" ]
3
2021-05-14T12:30:17.000Z
2022-01-27T15:53:47.000Z
lib/fix.ex
wojtekmach/fix
2aeaa32b031ae97060e284d026e899345f988f0c
[ "Apache-2.0" ]
null
null
null
lib/fix.ex
wojtekmach/fix
2aeaa32b031ae97060e284d026e899345f988f0c
[ "Apache-2.0" ]
null
null
null
defmodule Fix do @type fix() :: (Macro.t() -> Macro.t()) | built_in() @typep built_in() :: tuple() @doc """ Transforms code in `string` according to `fixes`. A "fix" is a 1-arity function that transforms the AST. The function is given to `Macro.prewalk/2`. There's also a list of pre-prepared fixes that...
26.92638
94
0.58077
856d2dc0e27e466fc4ea6668708e04d9f7116e6d
1,767
ex
Elixir
lib/strava/api/running_races.ex
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
39
2016-04-09T21:50:34.000Z
2022-03-04T09:16:25.000Z
lib/strava/api/running_races.ex
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
24
2016-05-29T15:49:07.000Z
2022-01-17T11:57:05.000Z
lib/strava/api/running_races.ex
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
21
2016-02-02T01:19:23.000Z
2022-02-06T23:29:32.000Z
defmodule Strava.RunningRaces do @moduledoc """ API calls for all endpoints tagged `RunningRaces`. """ alias Strava.Client import Strava.RequestBuilder @doc """ Get Running Race Returns a running race for a given identifier. ## Parameters - client (Strava.Client): Client to make authenticated re...
26.772727
75
0.632145
856d60b704a90d1165b9b1279172853109d77ddc
594
exs
Elixir
apps/artemis_web/test/test_helper.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_web/test/test_helper.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/test/test_helper.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
{:ok, _} = Application.ensure_all_started(:hound) configuration = ExUnit.configuration() excludes = Keyword.fetch!(configuration, :exclude) unless Enum.member?(excludes, :cloudant_setup) do IO.inspect("Starting Cloudant Database Setup") Artemis.Drivers.IBMCloudant.DeleteAll.call() Artemis.Drivers.IBMCloudant.Cr...
33
76
0.787879
856d856e52def3af6f0160f1310ec9e752657f58
2,326
exs
Elixir
test/glimesh_web/live/support_modal/support_modal_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
test/glimesh_web/live/support_modal/support_modal_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
test/glimesh_web/live/support_modal/support_modal_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule GlimeshWeb.SupportModalTest do use GlimeshWeb.ConnCase import Phoenix.LiveViewTest import Glimesh.AccountsFixtures describe "Support Modal with Sub Button" do setup [:register_and_log_in_user] test "sub button doesn't show by default", %{conn: conn, user: user} do streamer = streamer_...
29.820513
84
0.640585
856db9d142856114ecaaa3963d2d1626fa328c63
1,065
exs
Elixir
mix.exs
merrilymeredith/zelda
1ed6d8703b04baa5446e1f2bf948de80a28e893c
[ "Unlicense", "MIT" ]
1
2015-09-06T16:42:55.000Z
2015-09-06T16:42:55.000Z
mix.exs
merrilymeredith/zelda
1ed6d8703b04baa5446e1f2bf948de80a28e893c
[ "Unlicense", "MIT" ]
null
null
null
mix.exs
merrilymeredith/zelda
1ed6d8703b04baa5446e1f2bf948de80a28e893c
[ "Unlicense", "MIT" ]
null
null
null
defmodule Zelda.Mixfile do use Mix.Project def project do [app: :zelda, version: "0.0.3", elixir: "~> 1.2", 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 inf...
21.734694
77
0.540845
856dde4208d712cca3d0e0ea390787df2272bbdf
2,109
ex
Elixir
lib/example_web/controllers/todo_controller.ex
brucepom/distillery-aws-example
de885e2b17a4f1429614ad9156bb9e34cc0113b5
[ "Apache-2.0" ]
1
2020-02-26T04:29:35.000Z
2020-02-26T04:29:35.000Z
lib/example_web/controllers/todo_controller.ex
brucepom/distillery-aws-example
de885e2b17a4f1429614ad9156bb9e34cc0113b5
[ "Apache-2.0" ]
null
null
null
lib/example_web/controllers/todo_controller.ex
brucepom/distillery-aws-example
de885e2b17a4f1429614ad9156bb9e34cc0113b5
[ "Apache-2.0" ]
1
2020-04-03T20:35:00.000Z
2020-04-03T20:35:00.000Z
defmodule ExampleWeb.TodoController do use ExampleWeb, :controller def index(conn, _params) do case Example.Todo.all() do {:ok, todos} -> render(conn, "index.html", todos: todos) {:error, reason} -> conn |> put_resp_content_type("text/plain") |> send_resp(500, reason...
22.677419
69
0.574206
856e6050c77da78bf20d9d81e61efb6e759ffcaf
1,008
ex
Elixir
lib/espec/assertions/list_string/have_first.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
lib/espec/assertions/list_string/have_first.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
lib/espec/assertions/list_string/have_first.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule ESpec.Assertions.ListString.HaveFirst do @moduledoc """ Defines 'have_first' assertion. it do: expect(list).to have_first(value) it do: expect(string).to have_first(value) """ use ESpec.Assertions.Interface defp match(list, val) when is_binary(list) do result = String.first(list) {res...
24.585366
92
0.627976
856e6125fbb17fd88d029293143df530f1f50b44
1,506
exs
Elixir
test/rfx/change/request/text_req_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
31
2021-05-29T22:57:04.000Z
2022-03-13T16:24:57.000Z
test/rfx/change/request/text_req_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-04T23:34:38.000Z
2021-07-16T16:01:20.000Z
test/rfx/change/request/text_req_test.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-11T13:10:04.000Z
2022-02-11T13:33:16.000Z
defmodule Rfx.Change.Request.TextReqTest do use ExUnit.Case alias Rfx.Change.Request.TextReq alias Rfx.Util.Tst # ----- Construction ----- describe "file constructor" do test "returns :ok with valid file" do path = Tst.gen_file("content ok") diff = "diff ok" assert {:ok, result} = Tex...
26.421053
73
0.592961
856ebd2bd759a00bf881596f31a4edadd9846dc3
368
ex
Elixir
lib/speak_up/auth/guardian_serializer.ex
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
lib/speak_up/auth/guardian_serializer.ex
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
lib/speak_up/auth/guardian_serializer.ex
krishnakumar4a4/speak_up
a7b99e812ea4aaa6473a866f89fb0f4bb8973f6e
[ "MIT" ]
null
null
null
defmodule SpeakUp.GuardianSerializer do @behaviour Guardian.Serializer alias SpeakUp.Repo alias SpeakUp.User def for_token(user = %User{}), do: { :ok, "User:#{user.id}" } def for_token(_), do: { :error, "Unknown resource type" } def from_token("User:" <> id), do: { :ok, Repo.get(User, id) } def from_token...
40.888889
64
0.671196
856f56fe8367b792c9c8e97a4e9d0bf44a1672f3
1,923
exs
Elixir
clients/security_center/mix.exs
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/security_center/mix.exs
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/security_center/mix.exs
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
28.701493
156
0.666667
856fb5cfd9debd44c5224354e7a20e380311d187
2,203
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/metric_descriptor_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/metric_descriptor_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/metric_descriptor_metadata.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...
41.566038
307
0.738992
856fcb959cca03abfb3329834c09345554d5979b
2,185
ex
Elixir
clients/dns/lib/google_api/dns/v1/model/google_iam_v1_get_policy_options.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/google_iam_v1_get_policy_options.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/google_iam_v1_get_policy_options.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...
46.489362
805
0.767963
856fd831fa10059ed56e3acbf04ae7c916b2f440
29
ex
Elixir
test/e2e/lib/hologram_e2e.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/e2e/lib/hologram_e2e.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/e2e/lib/hologram_e2e.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule HologramE2E do end
9.666667
24
0.862069
856fdb1b7356ec705d3c932c49b84f7978675731
670
ex
Elixir
lib/gaussians/means.ex
elcritch/matrex_numerix
5835a9b477d8ea41bb9b862272a0997fe37c1236
[ "MIT" ]
8
2020-01-08T06:55:36.000Z
2021-03-10T15:44:46.000Z
lib/gaussians/means.ex
elcritch/matrex_numerix
5835a9b477d8ea41bb9b862272a0997fe37c1236
[ "MIT" ]
null
null
null
lib/gaussians/means.ex
elcritch/matrex_numerix
5835a9b477d8ea41bb9b862272a0997fe37c1236
[ "MIT" ]
null
null
null
defprotocol MatrexNumerix.GP.Mean do @doc "Calculate Kernel" def mean(gpm, xdata) end # MeanZero defmodule MatrexNumerix.GP.MeanZero do defstruct [] end defimpl MatrexNumerix.GP.Mean, for: MatrexNumerix.GP.MeanZero do def mean(_gpm = %MatrexNumerix.GP.MeanZero{}, xdata = %Matrex{}) do {_dim, nobs} = Matr...
22.333333
69
0.720896
856fdd2a6d9b7235b51034b81a8495a595c364cc
253
ex
Elixir
lib/phone/br/pe.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/br/pe.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/br/pe.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.BR.PE do @moduledoc false use Helper.Area def regex, do: ~r/^(55)(8[17])([2-5|89].{7}|9[89].{7})$/ def area_name, do: "Pernambuco" def area_type, do: "state" def area_abbreviation, do: "PE" matcher(["5581", "5587"]) end
19.461538
58
0.620553
856fee6b671d5b517c97a11969255084e201f38a
235
ex
Elixir
lib/mix/tasks/exscm.version.ex
treebee/exscm
6176ff7ce9922e6321aa21a55027346b38671ac9
[ "MIT" ]
null
null
null
lib/mix/tasks/exscm.version.ex
treebee/exscm
6176ff7ce9922e6321aa21a55027346b38671ac9
[ "MIT" ]
null
null
null
lib/mix/tasks/exscm.version.ex
treebee/exscm
6176ff7ce9922e6321aa21a55027346b38671ac9
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Exscm.Version do use Mix.Task @shortdoc "Print current package version" @moduledoc """ Print the current package version generated by Exscm. """ def run(_) do IO.puts Exscm.get_version() end end
18.076923
55
0.706383
856ff393b021aaa3c1d167c792794895b3896e52
1,283
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/reserve_ids_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/datastore/lib/google_api/datastore/v1/model/reserve_ids_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/reserve_ids_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &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.547619
79
0.763835
85701d54da1cadc16e75a512895410e5cffe3edd
1,653
exs
Elixir
rel/config/dev.exs
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
rel/config/dev.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
rel/config/dev.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.170213
92
0.751361
8570366f4685a6cd107b3fb2059c2b488ad74821
723
ex
Elixir
lib/conform/validators/range_validator.ex
LaudateCorpus1/conform
664c3b8de09a4b35c64e4b7559869740d906fcee
[ "MIT" ]
410
2015-01-10T13:33:00.000Z
2022-01-31T20:12:15.000Z
lib/conform/validators/range_validator.ex
LaudateCorpus1/conform
664c3b8de09a4b35c64e4b7559869740d906fcee
[ "MIT" ]
140
2015-02-05T16:29:32.000Z
2020-10-22T10:52:33.000Z
lib/conform/validators/range_validator.ex
LaudateCorpus1/conform
664c3b8de09a4b35c64e4b7559869740d906fcee
[ "MIT" ]
65
2015-02-13T21:02:29.000Z
2021-06-23T05:49:09.000Z
defmodule Conform.Validators.RangeValidator do use Conform.Schema.Validator def validate(value, [x..y]) when is_integer(value) do cond do value > y -> {:error, "#{value} cannot be greater than #{x}..#{y}"} value < x -> {:error, "#{value} cannot be less than #{x}..#{y}"} true -> :ok e...
32.863636
88
0.561549
857054cd23a14042efd32c97f2b26cc0efbd384b
2,997
exs
Elixir
test/club_backend/events_test.exs
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
null
null
null
test/club_backend/events_test.exs
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
6
2020-07-31T23:02:34.000Z
2021-02-26T21:10:10.000Z
test/club_backend/events_test.exs
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
2
2020-08-23T23:04:00.000Z
2020-10-03T03:18:11.000Z
defmodule ClubBackend.EventsTest do use ClubBackend.DataCase alias ClubBackend.Events describe "events" do alias ClubBackend.Events.Event @valid_attrs %{ category: "some category", description: "some description", end_dt: ~N[2010-04-17 14:00:00], location: "some location", ...
31.21875
85
0.641308
8570714f7efea46cdad53e5cde0583e359678bc4
1,828
exs
Elixir
clients/file/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/file/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/file/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.283582
117
0.652079
8570768aacf5a85a5bd4a95f3e1a89fce8f94173
638
ex
Elixir
lib/plausible/twitter/tweet.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
1
2020-05-02T15:26:56.000Z
2020-05-02T15:26:56.000Z
lib/plausible/twitter/tweet.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
lib/plausible/twitter/tweet.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
defmodule Plausible.Twitter.Tweet do use Ecto.Schema import Ecto.Changeset @required_fields [:link, :tweet_id, :author_handle, :author_name, :author_image, :text, :created] @derive {Jason.Encoder, only: @required_fields} schema "tweets" do field :link, :string field :tweet_id, :string field :au...
23.62963
99
0.69906
85707f93c7bdb4f86416b5a153dee6b81e58be42
900
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/android_management/lib/google_api/android_management/v1/metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.333333
74
0.763333
8570ab4c67d1458fd8d9a1e8cdbd6652c38348c2
229
exs
Elixir
apps/re/priv/repo/migrations/20190604190705_add_orulo_id_to_developments.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/priv/repo/migrations/20190604190705_add_orulo_id_to_developments.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/priv/repo/migrations/20190604190705_add_orulo_id_to_developments.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Repo.Migrations.AddOruloIdToDevelopments do use Ecto.Migration def change do alter table(:developments) do add :orulo_id, :string end create unique_index(:developments, [:orulo_id]) end end
19.083333
56
0.724891
8570c4d6295f60bb9e627a46b0298b0d568e7f54
5,343
ex
Elixir
lib/loom/aworset.ex
fribmendes/loom
b370f677f2a183db69337b34c7024410da08c548
[ "Apache-2.0" ]
206
2015-01-02T02:03:07.000Z
2021-01-10T11:17:21.000Z
lib/loom/aworset.ex
fribmendes/loom
b370f677f2a183db69337b34c7024410da08c548
[ "Apache-2.0" ]
7
2015-06-17T20:14:17.000Z
2017-05-30T12:10:28.000Z
lib/loom/aworset.ex
fribmendes/loom
b370f677f2a183db69337b34c7024410da08c548
[ "Apache-2.0" ]
16
2015-05-05T15:19:41.000Z
2018-11-15T10:15:50.000Z
defmodule Loom.AWORSet do @moduledoc """ An add-removed (optimized) observed-remove set (without tombstones). This CRDT respects adds over removes in the event a simultaneous update. It most naturally matches what most users expect when they add/remove items. It also forms the foundation for other kinds of C...
24.96729
137
0.57814
8570c7fde4cbb7bff9fcb295b3593ab30a44151e
1,110
ex
Elixir
onboarding/service/web/views/merchant_account_view.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
onboarding/service/web/views/merchant_account_view.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
onboarding/service/web/views/merchant_account_view.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule OnboardingService.MerchantAccountView do use OnboardingService.Web, :view def render("index.json", %{merchant_accounts: merchant_accounts}) do %{merchant_accounts: render_many(merchant_accounts, OnboardingService.MerchantAccountView, "show.json")} end def render("merchant_account.json", %{merch...
38.275862
108
0.730631
8570e12a04124a3f9fc5adef4240a2e18391c6d6
3,930
exs
Elixir
test/phoenix/live_dashboard/pages/ecto_stats_test.exs
geometerio/phoenix_live_dashboard
349ab9e60e3a0fce7e35a024e1dddcc1715f1ed0
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/pages/ecto_stats_test.exs
geometerio/phoenix_live_dashboard
349ab9e60e3a0fce7e35a024e1dddcc1715f1ed0
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/pages/ecto_stats_test.exs
geometerio/phoenix_live_dashboard
349ab9e60e3a0fce7e35a024e1dddcc1715f1ed0
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.EctoStatsPageTest do use ExUnit.Case, async: true import Phoenix.ConnTest import Phoenix.LiveViewTest @endpoint Phoenix.LiveDashboardTest.Endpoint alias Phoenix.LiveDashboard.EctoStatsPage alias Phoenix.LiveDashboardTest.Repo alias Phoenix.LiveDashboardTest.SecondaryRepo ...
28.897059
140
0.673028
857144fedda4fe0b164729f8cb33f41f59aa5ed6
8,332
exs
Elixir
lib/elixir/test/elixir/code_formatter/literals_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/literals_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/literals_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Code.Formatter.LiteralsTest do use ExUnit.Case, async: true import CodeFormatterHelpers @short_length [line_length: 10] describe "integers" do test "in decimal base" do assert_same "0" assert_same "100" assert_same "007" ...
18.515556
69
0.481157
857149d88cab7017abd7f001d72f1e761061abcd
2,113
ex
Elixir
web/models/book.ex
cedretaber/bibliotheca
642ec9908d6d98f16e25b6a482c52e9cbaa21ad2
[ "MIT" ]
null
null
null
web/models/book.ex
cedretaber/bibliotheca
642ec9908d6d98f16e25b6a482c52e9cbaa21ad2
[ "MIT" ]
22
2017-05-15T07:34:08.000Z
2018-02-25T07:26:18.000Z
web/models/book.ex
cedretaber/bibliotheca
642ec9908d6d98f16e25b6a482c52e9cbaa21ad2
[ "MIT" ]
null
null
null
defmodule Bibliotheca.Book do use Bibliotheca.Web, :model schema "books" do field(:title, :string) field(:description, :string) field(:publisher, :string) field(:image_url, :string) field(:isbn, :string) field(:page_count, :integer) field(:published_at, :date) many_to_many(:authors...
25.154762
85
0.597255
857158a25d98de7d6e5c217acb6218f90eed4a34
1,137
ex
Elixir
lib/freshcom/projections/app.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom/projections/app.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom/projections/app.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
defmodule Freshcom.App do use Freshcom.Projection alias Freshcom.Repo alias Freshcom.Account schema "apps" do field :status, :string field :type, :string field :name, :string field :prefixed_id, :string, virtual: true timestamps() belongs_to :account, Account end def prefixed_id...
25.840909
87
0.659631