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
85e635ba8bbafeaee7bd899a647379785d1dcaa7
842
ex
Elixir
test/support/conn_case.ex
osayame/rethink_posts
c28eab5873657b8a2a4c8671f9c7979611bdeb27
[ "MIT" ]
null
null
null
test/support/conn_case.ex
osayame/rethink_posts
c28eab5873657b8a2a4c8671f9c7979611bdeb27
[ "MIT" ]
null
null
null
test/support/conn_case.ex
osayame/rethink_posts
c28eab5873657b8a2a4c8671f9c7979611bdeb27
[ "MIT" ]
null
null
null
defmodule RethinkDocs.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with th...
24.057143
56
0.723278
85e690077a019831678c9231ea04237ebf399566
1,274
ex
Elixir
lib/workflows/state/succeed.ex
fracek/workflows
6ef7ad3e280127f544f00fd098901bb6526a80cb
[ "Apache-2.0" ]
94
2021-04-02T15:20:15.000Z
2022-03-21T10:46:09.000Z
lib/workflows/state/succeed.ex
fracek/workflows
6ef7ad3e280127f544f00fd098901bb6526a80cb
[ "Apache-2.0" ]
null
null
null
lib/workflows/state/succeed.ex
fracek/workflows
6ef7ad3e280127f544f00fd098901bb6526a80cb
[ "Apache-2.0" ]
6
2021-04-02T23:29:46.000Z
2021-12-24T10:55:44.000Z
defmodule Workflows.State.Succeed do @moduledoc false alias Workflows.Activity alias Workflows.Event alias Workflows.State use State def execute(state, activity, ctx), do: do_execute(state, activity, ctx) def project(state, _activity, event), do: do_project(state, event) ## Private defp do_execut...
25.48
85
0.655416
85e69e24dfdc3e3cda0236539f3e5c3b87b8027d
702
ex
Elixir
2020/otp/dash/lib/dash_web/gettext.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/otp/dash/lib/dash_web/gettext.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/otp/dash/lib/dash_web/gettext.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule DashWeb.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 DashWeb.Gettext # Simple translation gettext("Here is the str...
28.08
72
0.673789
85e6d5b7af7512abf084780a373ed529280d1a2f
2,101
ex
Elixir
apps/admin_api/lib/admin_api/invites/inviter.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/invites/inviter.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/invites/inviter.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.Inviter do @moduledoc """ This module handles user invite and confirmation of their emails. """ alias AdminAPI.{InviteEmail, Mailer} alias EWallet.EmailValidator alias EWalletDB.{Account, Repo, Invite, Membership, Role, User} alias EWalletDB.Helpers.Crypto @doc """ Creates the user...
25.011905
98
0.623513
85e74d55f1092a1021b53c533c70b7743b3bd38b
3,300
ex
Elixir
lib/haex/data/parser.ex
madlep/haex
56df0c72f98c19b15d704376509cfd1c7ddc6b77
[ "MIT" ]
11
2020-12-16T06:56:05.000Z
2020-12-27T18:11:08.000Z
lib/haex/data/parser.ex
madlep/haex
56df0c72f98c19b15d704376509cfd1c7ddc6b77
[ "MIT" ]
null
null
null
lib/haex/data/parser.ex
madlep/haex
56df0c72f98c19b15d704376509cfd1c7ddc6b77
[ "MIT" ]
1
2020-12-17T21:53:29.000Z
2020-12-17T21:53:29.000Z
defmodule Haex.Data.Parser do @moduledoc """ Parses an AST received from `Haex.data/1` macro, and generates a `Haex.Data.t()` struct which can be used to generate modules to represent that data type """ alias Haex.Data alias Haex.Data.DataConstructor alias Haex.Data.TypeConstructor @spec parse(Macro....
29.464286
99
0.692727
85e75fccd228a402530e47bcb2687675491c9a05
2,589
ex
Elixir
lib/symmetric_encryption/cipher.ex
bpardee/symmetric_encryption
7ccacffd4741fea28a5b6375c556cc4e089391cf
[ "Apache-2.0" ]
null
null
null
lib/symmetric_encryption/cipher.ex
bpardee/symmetric_encryption
7ccacffd4741fea28a5b6375c556cc4e089391cf
[ "Apache-2.0" ]
null
null
null
lib/symmetric_encryption/cipher.ex
bpardee/symmetric_encryption
7ccacffd4741fea28a5b6375c556cc4e089391cf
[ "Apache-2.0" ]
null
null
null
# An encryption cipher is used to encrypt and decrypt data. # # This Cipher supports # - AES encryption with the CBC block cipher. # - Any valid encryption key size # # The number of bits in a key is determined by the length of the symmetric key that is generated or supplied. defmodule SymmetricEncryption.Cipher do d...
29.089888
110
0.686752
85e76c19c703c78e60f21edc4cf155bbe78a10ce
197
exs
Elixir
test/02_functions_test.exs
hgarcia/elixir-koans
a8277c0eb02913576e0e12e8b6805a285c7b80ca
[ "MIT" ]
7
2015-01-26T16:03:08.000Z
2016-05-08T19:01:04.000Z
test/02_functions_test.exs
hgarcia/elixir-koans
a8277c0eb02913576e0e12e8b6805a285c7b80ca
[ "MIT" ]
1
2020-05-07T16:26:24.000Z
2020-05-07T16:26:24.000Z
test/02_functions_test.exs
hgarcia/elixir-koans
a8277c0eb02913576e0e12e8b6805a285c7b80ca
[ "MIT" ]
1
2015-08-17T23:21:49.000Z
2015-08-17T23:21:49.000Z
Code.require_file "test_helper.exs", __DIR__ defmodule FunctionsTest do use ExUnit.Case test "modify the right hand to pass the expression" do a = [] assert [1, 2, 3] = a end end
15.153846
56
0.680203
85e785552d77572e69efa8f48152ebfb61b9bc1e
1,163
ex
Elixir
web/channels/user_socket.ex
ktornwall/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
27
2016-09-02T19:26:16.000Z
2017-11-30T02:27:16.000Z
web/channels/user_socket.ex
katzenbar/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
1
2016-10-23T18:24:59.000Z
2016-10-23T18:24:59.000Z
web/channels/user_socket.ex
ktornwall/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
4
2016-10-08T02:51:41.000Z
2017-12-05T02:02:40.000Z
defmodule ExConf.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ExConf.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authentic...
30.605263
83
0.700774
85e7b38234a22a24da0f69509487f749a645f5e3
1,317
exs
Elixir
test/webdriver/phantomjs/port_test.exs
bosko/elixir-webdriver
e7037312decab6646b2107b7345f2974b24a9d15
[ "MIT" ]
104
2015-02-11T02:57:53.000Z
2022-01-12T14:28:12.000Z
test/webdriver/phantomjs/port_test.exs
bosko/elixir-webdriver
e7037312decab6646b2107b7345f2974b24a9d15
[ "MIT" ]
3
2015-07-23T18:48:11.000Z
2016-10-12T14:28:43.000Z
test/webdriver/phantomjs/port_test.exs
bosko/elixir-webdriver
e7037312decab6646b2107b7345f2974b24a9d15
[ "MIT" ]
28
2015-01-09T22:05:27.000Z
2021-04-29T13:55:13.000Z
Code.require_file "../../test_helper.exs", __DIR__ defmodule WebDriver.PhantomJS.PortTest do use ExUnit.Case alias WebDriver.PhantomJS @moduletag :phantomjs setup_all do on_exit fn -> # Make sure we get rid of any stray processes. System.cmd "killall", ["phantomjs"] :ok end end ...
29.931818
101
0.689446
85e7ca9ca671c48c73050d2e2d8b35ac87cbf2a1
175
ex
Elixir
lib/stripe/subscriptions/subscription_item.ex
NarrativeApp/stripe-elixir
873c79cf4f6cc5db974b11fbd4e4f85c8a0a9004
[ "MIT" ]
null
null
null
lib/stripe/subscriptions/subscription_item.ex
NarrativeApp/stripe-elixir
873c79cf4f6cc5db974b11fbd4e4f85c8a0a9004
[ "MIT" ]
24
2020-09-08T20:24:59.000Z
2021-09-22T04:04:17.000Z
lib/stripe/subscriptions/subscription_item.ex
NarrativeApp/stripe-elixir
873c79cf4f6cc5db974b11fbd4e4f85c8a0a9004
[ "MIT" ]
null
null
null
defmodule Stripe.SubscriptionItem do use Stripe.API, [:create, :retrieve, :update, :delete, :list] @moduledoc false def endpoint do "subscription_items" end end
17.5
63
0.72
85e80e838d81aa870ded9999518edd631d39f43c
3,876
ex
Elixir
lib/helper/certification.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/helper/certification.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/helper/certification.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule Helper.Certification do @moduledoc """ valid editors and passport details """ import Helper.Utils, only: [get_config: 2] @article_threads get_config(:article, :threads) @article_rules [ "edit", "mark_delete", "undo_mark_delete", "delete", "community.mirror", "community.unm...
26.367347
97
0.602425
85e845043cda723281affe903e9f3629c37488f4
95,704
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/api/projects.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/api/projects.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/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...
46.100193
196
0.618887
85e85b1f8d1d6e1b6b7edd5531f20edeaf56947f
1,234
ex
Elixir
apps/omg_watcher_rpc/lib/web/endpoint.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_watcher_rpc/lib/web/endpoint.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/lib/web/endpoint.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
# Copyright 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 writi...
30.85
92
0.735818
85e85b999c56f74ba06a88282db4f944d3e01b44
927
exs
Elixir
test/tradehub/tx/edit_order_test.exs
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-04T16:54:25.000Z
2021-12-15T06:53:24.000Z
test/tradehub/tx/edit_order_test.exs
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-19T04:49:00.000Z
2021-06-01T13:36:50.000Z
test/tradehub/tx/edit_order_test.exs
anhmv/tradehub-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
null
null
null
defmodule TradehubTest.Tx.EditOrderTest do use ExUnit.Case, async: true alias Tradehub.Tx.MsgInvalid alias Tradehub.Tx.EditOrder import Tradehub.Tx.EditOrder setup do { :ok, payload: %EditOrder{ id: "1", quantity: "1", price: "1", stop_price: "1", ori...
27.264706
87
0.61165
85e89912aaaeb80ac5f1e16faca21795a48e9015
1,766
ex
Elixir
clients/people/lib/google_api/people/v1/model/biography.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/people/lib/google_api/people/v1/model/biography.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/biography.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 ...
33.320755
120
0.711778
85e8a12d9ea5258d57d04f6b5597e14ab71ccab1
227
exs
Elixir
nektar-n00b/from-ruby-nuby/fun1.exs
kentdahl/volatile-vials
58f848502d1dae471917fa1a238458198132e321
[ "MIT" ]
null
null
null
nektar-n00b/from-ruby-nuby/fun1.exs
kentdahl/volatile-vials
58f848502d1dae471917fa1a238458198132e321
[ "MIT" ]
null
null
null
nektar-n00b/from-ruby-nuby/fun1.exs
kentdahl/volatile-vials
58f848502d1dae471917fa1a238458198132e321
[ "MIT" ]
null
null
null
# Anonyme funksjoner må kallet med "dot": si_hei = fn navn -> IO.puts "Hei, #{ navn }!" end si_hei.("Bergen Ruby Brigade") # Kort og kryptiske funksjoner bye = &(IO.puts "Ha det på badet, #{ &1 }") bye.("din gamle sjokolade")
28.375
49
0.656388
85e8a86c824773280aee2dec2158062f893129cf
69
exs
Elixir
test/test_helper.exs
rozerosie/heycake
d080531705c0402fa53696d02307d6c08d25a60a
[ "MIT" ]
1
2020-06-03T07:45:17.000Z
2020-06-03T07:45:17.000Z
test/test_helper.exs
rozerosie/heycake
d080531705c0402fa53696d02307d6c08d25a60a
[ "MIT" ]
6
2021-06-17T23:13:19.000Z
2021-08-31T21:15:21.000Z
test/test_helper.exs
rozerosie/heycake
d080531705c0402fa53696d02307d6c08d25a60a
[ "MIT" ]
2
2020-06-03T22:08:06.000Z
2022-03-11T22:13:36.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(HeyCake.Repo, :manual)
23
53
0.782609
85e8c19ab8f8cf92d637c9124af61c396f85df68
1,100
ex
Elixir
lib/bamboo/plug/sent_email_viewer/helper.ex
hostalerye/bamboo
b7aea2a6761062a62e5bdcf27ae07c6bcb374bc5
[ "MIT" ]
1
2021-12-01T13:37:19.000Z
2021-12-01T13:37:19.000Z
lib/bamboo/plug/sent_email_viewer/helper.ex
hostalerye/bamboo
b7aea2a6761062a62e5bdcf27ae07c6bcb374bc5
[ "MIT" ]
1
2021-02-23T18:44:13.000Z
2021-02-23T18:44:13.000Z
lib/bamboo/plug/sent_email_viewer/helper.ex
hostalerye/bamboo
b7aea2a6761062a62e5bdcf27ae07c6bcb374bc5
[ "MIT" ]
1
2017-02-01T19:23:06.000Z
2017-02-01T19:23:06.000Z
defmodule Bamboo.SentEmailViewerPlug.Helper do import Bamboo.SentEmail alias Plug.HTML @moduledoc false def selected_email_class(email, selected_email) do if get_id(email) == get_id(selected_email) do "selected-email" else "" end end def email_addresses(email) do Bamboo.Email....
20
55
0.677273
85e8d0cdf6b58873197c4e73fc5cd8749b41563b
7,564
exs
Elixir
test/dynamo/router/hooks_test.exs
azukiapp/dynamo
cad008fe7314e7ba7ef4990908956fbca60e980c
[ "Apache-2.0" ]
1
2015-06-13T03:35:26.000Z
2015-06-13T03:35:26.000Z
test/dynamo/router/hooks_test.exs
azukiapp/dynamo
cad008fe7314e7ba7ef4990908956fbca60e980c
[ "Apache-2.0" ]
null
null
null
test/dynamo/router/hooks_test.exs
azukiapp/dynamo
cad008fe7314e7ba7ef4990908956fbca60e980c
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../test_helper.exs", __FILE__ defmodule Dynamo.Router.PrepareHooksTest do use ExUnit.Case, async: true import Dynamo.HTTP.Case, only: [process: 3] defmodule SingleHooks do use Dynamo.Router prepare :foo get "/foo" do conn.resp_body("OK") end defp foo(conn) d...
19.494845
67
0.611581
85e8d52ade5b29ffeb1b6fc8472f99c17b9deca3
1,119
exs
Elixir
config/config.exs
rodrigo-dap/sql_dust
8fc06bbdb103bd013509b3f5baf071c4584f0775
[ "MIT", "Unlicense" ]
66
2016-02-04T21:31:43.000Z
2016-03-14T19:41:26.000Z
config/config.exs
rodrigo-dap/sql_dust
8fc06bbdb103bd013509b3f5baf071c4584f0775
[ "MIT", "Unlicense" ]
11
2016-03-22T11:17:43.000Z
2018-04-03T07:30:10.000Z
config/config.exs
rodrigo-dap/sql_dust
8fc06bbdb103bd013509b3f5baf071c4584f0775
[ "MIT", "Unlicense" ]
17
2016-05-09T16:42:14.000Z
2021-09-21T22:30:23.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.096774
73
0.751564
85e8fde158caa5094edd055c7b1e0a9e2c2faa5b
57
ex
Elixir
lib/ueberauth_shuttlerock.ex
Shuttlerock/ueberauth_shuttlerock
e978422b59c70e5a9dfa6aa12284b33b91992f2d
[ "Apache-2.0" ]
null
null
null
lib/ueberauth_shuttlerock.ex
Shuttlerock/ueberauth_shuttlerock
e978422b59c70e5a9dfa6aa12284b33b91992f2d
[ "Apache-2.0" ]
null
null
null
lib/ueberauth_shuttlerock.ex
Shuttlerock/ueberauth_shuttlerock
e978422b59c70e5a9dfa6aa12284b33b91992f2d
[ "Apache-2.0" ]
1
2021-09-06T09:16:20.000Z
2021-09-06T09:16:20.000Z
defmodule UeberauthShuttlerock do @moduledoc false end
14.25
33
0.842105
85e90549487a2fa952451a8fd22e4a19011130a9
1,815
ex
Elixir
api/lib/api/contacts.ex
jeepers3327/contacts
75f46dba78e23380fab77838fa9eff06931bd609
[ "MIT" ]
null
null
null
api/lib/api/contacts.ex
jeepers3327/contacts
75f46dba78e23380fab77838fa9eff06931bd609
[ "MIT" ]
null
null
null
api/lib/api/contacts.ex
jeepers3327/contacts
75f46dba78e23380fab77838fa9eff06931bd609
[ "MIT" ]
null
null
null
defmodule Api.Contacts do @moduledoc """ The Contacts context. """ import Ecto.Query, warn: false alias Api.Repo alias Api.Contacts.Contact @doc """ Returns the list of contacts. ## Examples iex> list_contacts() [%Contact{}, ...] """ def list_contacts do Repo.all(Contact) e...
17.285714
62
0.598898
85e90bcf7aa66990d9e9a5049cdd1c69968850f4
2,141
exs
Elixir
test/mongo/topology_description_test.exs
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
test/mongo/topology_description_test.exs
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
test/mongo/topology_description_test.exs
rafamedina/mongodb
65bd68adbc2753c38d927ad0ba804fe8e66d50d7
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.TopologyDescriptionTest do use ExUnit.Case, async: true alias Mongo.{ReadPreference, TopologyDescription} import Mongo.TopologyTestData test "single server selection" do single_server = ["localhost:27017"] opts = [ read_preference: ReadPreference.defaults(%{mode: :secondary}) ...
33.984127
82
0.667445
85e9141e152157961b3b94e437e464747fb065d2
4,025
ex
Elixir
lib/cotoami_web/router.ex
pamf/cotoami
4b69b0e2668e80e12ea98e248ad461cb32ec6651
[ "Apache-2.0" ]
337
2016-11-28T15:46:58.000Z
2022-03-01T06:21:25.000Z
lib/cotoami_web/router.ex
kroschu/cotoami
ae02a9e9982060977a565ed8137334258ff4faf0
[ "Apache-2.0" ]
79
2017-02-27T05:44:36.000Z
2021-12-09T00:28:11.000Z
lib/cotoami_web/router.ex
kroschu/cotoami
ae02a9e9982060977a565ed8137334258ff4faf0
[ "Apache-2.0" ]
47
2018-02-03T01:32:13.000Z
2021-11-08T07:54:43.000Z
defmodule CotoamiWeb.Router do use CotoamiWeb, :router alias CotoamiWeb.LanguagePlug alias CotoamiWeb.ApiCsrfProtectionPlug alias CotoamiWeb.AuthPlug pipeline :browser do plug(:accepts, ["html"]) plug(LanguagePlug, "en_US") plug(:fetch_session) plug(:fetch_flash) plug(:protect_from_forger...
37.268519
88
0.707578
85e96e3cf4f7d00a73bf3eb40333ba11a93edc11
571
ex
Elixir
lib/ash/flow/step/custom.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
lib/ash/flow/step/custom.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
lib/ash/flow/step/custom.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
defmodule Ash.Flow.Step.Custom do @moduledoc "Runs a custom step." use Ash.Flow.Step.BuiltinStep, [:input, :custom, :async?] @shared_opts Ash.Flow.Step.shared_opts() def schema do [ input: Ash.Flow.Step.input(), custom: [ type: {:ash_behaviour, Ash.Flow.Step} ], async?: [ ...
25.954545
96
0.611208
85e99939f9697c640b5dcad0da874a319421563e
387
ex
Elixir
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/group_participation_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/group_participation_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/group_participation_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2Web.GroupParticipationView do use StudentsCrmV2Web, :view use JaSerializer.PhoenixView alias StudentsCrmV2Web.{ AcademicGroupView, UserView } attributes([ :join_time, :leave_reason, :leave_time ]) has_one(:academic_group, serializer: AcademicGroupView, include...
20.368421
72
0.744186
85e9ac52574fedefc148f0a032eaf1b9a53584e9
1,517
ex
Elixir
lib/scenes/home.ex
boydm/fractal_explorer
b265952b245d1581b6debceb47b476ed646c93a3
[ "Apache-2.0" ]
null
null
null
lib/scenes/home.ex
boydm/fractal_explorer
b265952b245d1581b6debceb47b476ed646c93a3
[ "Apache-2.0" ]
null
null
null
lib/scenes/home.ex
boydm/fractal_explorer
b265952b245d1581b6debceb47b476ed646c93a3
[ "Apache-2.0" ]
null
null
null
defmodule FractalExplorer.Scene.Home do use Scenic.Scene require Logger alias Scenic.Graph alias Scenic.ViewPort alias FractalExplorer.Component.Nav import Scenic.Primitives import Scenic.Components @text_size 24 import IEx # ====================================================================...
24.868852
92
0.564931
85e9c4ecad51b76fbb1b95c479c3e27c6604917d
521
ex
Elixir
lib/chatter_web/router.ex
E1337Kat/chatter
e21728af5bfcadf3723b531081e0536a95da043e
[ "MIT" ]
null
null
null
lib/chatter_web/router.ex
E1337Kat/chatter
e21728af5bfcadf3723b531081e0536a95da043e
[ "MIT" ]
null
null
null
lib/chatter_web/router.ex
E1337Kat/chatter
e21728af5bfcadf3723b531081e0536a95da043e
[ "MIT" ]
null
null
null
defmodule ChatterWeb.Router do use ChatterWeb, :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 "/", ChatterWeb do pipe_...
19.296296
57
0.679463
85e9e6b0e72e56b2c8f2e81348db4f432c693bdb
1,131
ex
Elixir
lib/secret_grinch/message.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
3
2017-08-03T16:49:18.000Z
2018-10-03T03:30:26.000Z
lib/secret_grinch/message.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
18
2017-08-04T12:43:08.000Z
2017-08-05T14:15:41.000Z
lib/secret_grinch/message.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
1
2018-10-03T03:30:29.000Z
2018-10-03T03:30:29.000Z
defmodule SecretGrinch.Message do @moduledoc """ Represents a message of the system """ use Ecto.Schema import Ecto.Changeset alias SecretGrinch.Message schema "messages" do field :body, :string field :subject, :string field :match_id, :id field :sender_id, :id field :recepient_id, :...
20.563636
58
0.640141
85e9fbccaf3856b1830586ff9f0dc2e3fdc6f68b
71
ex
Elixir
web/views/page_view.ex
dogIDs/sponsor-dot-dog
07b7fe90ee12157c144d0d164ca8035e509e59bb
[ "MIT" ]
null
null
null
web/views/page_view.ex
dogIDs/sponsor-dot-dog
07b7fe90ee12157c144d0d164ca8035e509e59bb
[ "MIT" ]
1
2016-03-28T03:13:34.000Z
2020-08-11T22:26:12.000Z
web/views/page_view.ex
dogIDs/sponsor-dot-dog
07b7fe90ee12157c144d0d164ca8035e509e59bb
[ "MIT" ]
null
null
null
defmodule SponsorDotDog.PageView do use SponsorDotDog.Web, :view end
17.75
35
0.816901
85ea020637f98086899cab88c01d65bbfe62c148
1,340
ex
Elixir
web_finngen_r7/lib/risteys_web/endpoint.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r7/lib/risteys_web/endpoint.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r7/lib/risteys_web/endpoint.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule RisteysWeb.Endpoint do use Phoenix.Endpoint, otp_app: :risteys socket "/socket", RisteysWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your stati...
28.510638
94
0.709701
85ea16a01276fa5f61956c22b38f3f8a99d9faae
168
ex
Elixir
lib/teiserver_web/views/admin/tool_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/teiserver_web/views/admin/tool_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver_web/views/admin/tool_view.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule TeiserverWeb.Admin.ToolView do use TeiserverWeb, :view def colours, do: Central.Admin.ToolLib.colours() def icon, do: Central.Admin.ToolLib.icon() end
24
50
0.761905
85ea18122fb95d517fb435a862c79799bfec4691
3,617
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/api/services.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/api/services.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/api/services.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 "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...
43.059524
225
0.697539
85ea1a93339f362580bc1216f47d20d7040868e8
1,186
exs
Elixir
mix.exs
rlb3/azure_push_client
7f34ca436a74125bf30b2871021391952b76201d
[ "MIT" ]
null
null
null
mix.exs
rlb3/azure_push_client
7f34ca436a74125bf30b2871021391952b76201d
[ "MIT" ]
null
null
null
mix.exs
rlb3/azure_push_client
7f34ca436a74125bf30b2871021391952b76201d
[ "MIT" ]
null
null
null
defmodule AzurePushClient.Mixfile do use Mix.Project def project do [app: :azure_push_client, version: "1.0.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), package: package()] end # Configuration for the OTP application...
24.708333
77
0.574199
85ea365bedfa4d7b390f3267074a352d16bb6c2c
4,154
ex
Elixir
lib/clickhouse_ecto/connection.ex
kundi/clickhouse_ecto
3251221bd63a159c0e8af8336663b0bef855bbca
[ "Apache-2.0" ]
1
2019-06-14T16:00:30.000Z
2019-06-14T16:00:30.000Z
lib/clickhouse_ecto/connection.ex
kundi/clickhouse_ecto
3251221bd63a159c0e8af8336663b0bef855bbca
[ "Apache-2.0" ]
null
null
null
lib/clickhouse_ecto/connection.ex
kundi/clickhouse_ecto
3251221bd63a159c0e8af8336663b0bef855bbca
[ "Apache-2.0" ]
2
2019-07-08T12:28:35.000Z
2019-09-25T14:18:10.000Z
defmodule ClickhouseEcto.Connection do alias Clickhousex.Query alias ClickhouseEcto.Query, as: SQL @typedoc "The prepared query which is an SQL command" @type prepared :: String.t @typedoc "The cache query which is a DBConnection Query" @type cached :: map @doc """ Receives options and returns `DBCon...
36.761062
150
0.664179
85ea51622751fc546857ba49466144fa04edf209
2,133
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta3_common_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta3_common_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta3_common_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.967213
133
0.721988
85ea8476d3cd2e66711d3bd026fced18a216b130
1,535
exs
Elixir
test/blogit/components/configuration_test.exs
9to1url/blogit
a7e424b411460b62b5b2c0a74ff731bb9392de8a
[ "MIT" ]
39
2017-07-03T17:39:18.000Z
2021-05-01T14:17:42.000Z
test/blogit/components/configuration_test.exs
9to1url/blogit
a7e424b411460b62b5b2c0a74ff731bb9392de8a
[ "MIT" ]
6
2017-11-07T22:00:19.000Z
2020-03-13T18:01:53.000Z
test/blogit/components/configuration_test.exs
9to1url/blogit
a7e424b411460b62b5b2c0a74ff731bb9392de8a
[ "MIT" ]
6
2017-07-06T04:46:49.000Z
2020-03-06T02:39:33.000Z
defmodule Blogit.Components.ConfigurationTest do alias Blogit.Components.Configuration use ComponentTestCase, setup_posts: false, module: Configuration setup do: %{pid: DummyServer.setup_configuration()} test "`configuration` state is calculated from the provider", %{pid: pid} do %{language: language, con...
33.369565
78
0.625407
85ea91a0bdf4cdebee8b96dbb7dfce0c199f5c05
349
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/91.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/91.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/91.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** conj pnoun noun noun pn; verb_aux conj noun verb pn; verb_aux conj noun verb pn; cm particle noun verb pn; conj pnoun noun verb pn; cm noun noun P_wh pn; noun cm noun verb pn; particle cm pn adjective pn; noun cm verb_aux verb_aux verb; pnoun cm adjective noun pn; cm nst noun adjective pn; ...
23.266667
32
0.739255
85ea97e8d4eac48097eef3b5f21d3d8636f029ff
2,535
exs
Elixir
test/brady_test.exs
dbernheisel/brady
cb5abe4bdfd33ca8a9de2987c5b5d69ba2a83b71
[ "MIT" ]
null
null
null
test/brady_test.exs
dbernheisel/brady
cb5abe4bdfd33ca8a9de2987c5b5d69ba2a83b71
[ "MIT" ]
null
null
null
test/brady_test.exs
dbernheisel/brady
cb5abe4bdfd33ca8a9de2987c5b5d69ba2a83b71
[ "MIT" ]
null
null
null
defmodule BradyTest do use ExUnit.Case alias Plug.Conn doctest Brady setup do Application.put_env(:brady, :otp_app, :brady) Application.put_env(:brady, :svg_path, "../../../../test/support/svg") end test "body_class returns controller and action" do conn = %Conn{ private: %{ :pho...
27.857143
190
0.624852
85ea99d34ea9e1528fd797edae89b29463e80da2
9,099
exs
Elixir
test/aggregates/aggregate_lifespan_test.exs
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
test/aggregates/aggregate_lifespan_test.exs
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
test/aggregates/aggregate_lifespan_test.exs
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
defmodule Commanded.Aggregates.AggregateLifespanTest do use Commanded.StorageCase alias Commanded.Aggregates.{DefaultLifespanRouter, LifespanAggregate, LifespanRouter} alias Commanded.Aggregates.LifespanAggregate.{Command, Event} alias Commanded.DefaultApp alias Commanded.EventStore alias Commanded.EventSt...
27.996923
101
0.625563
85eaa6b4fcab2975ed31e9aca4e4b13f9baf9d52
1,307
ex
Elixir
template/$PROJECT_NAME$/lib/$PROJECT_NAME$_web/views/error_helpers.ex
infinitered/firebird
679ca2f21eb0a5dc4bfc15c90f2c3c2abd2fe49b
[ "MIT" ]
72
2017-04-30T05:45:22.000Z
2021-05-20T21:00:31.000Z
template/$PROJECT_NAME$/lib/$PROJECT_NAME$_web/views/error_helpers.ex
infinitered/firebird
679ca2f21eb0a5dc4bfc15c90f2c3c2abd2fe49b
[ "MIT" ]
13
2017-04-30T07:03:59.000Z
2017-12-15T08:19:16.000Z
template/$PROJECT_NAME$/lib/$PROJECT_NAME$_web/views/error_helpers.ex
infinitered/firebird
679ca2f21eb0a5dc4bfc15c90f2c3c2abd2fe49b
[ "MIT" ]
4
2017-09-05T14:21:29.000Z
2018-09-30T11:11:38.000Z
defmodule <%= @project_name_camel_case %>Web.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 if error = form.errors[field] do content_tag :spa...
31.878049
100
0.669472
85eac7f6b4e4a0282cf9efb5229e4317d969456c
504
ex
Elixir
apps/core/lib/core/application.ex
joshnuss/ornia
6a4c69a761b41ba0bcfd1c30f54dd2ccc92e5ead
[ "MIT" ]
1
2020-01-14T23:19:25.000Z
2020-01-14T23:19:25.000Z
apps/core/lib/core/application.ex
joshnuss/ornia
6a4c69a761b41ba0bcfd1c30f54dd2ccc92e5ead
[ "MIT" ]
null
null
null
apps/core/lib/core/application.ex
joshnuss/ornia
6a4c69a761b41ba0bcfd1c30f54dd2ccc92e5ead
[ "MIT" ]
null
null
null
defmodule Ornia.Core.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ Ornia.Core.Grid, Ornia.Core.UserSupervisor, Ornia.Core.DispatcherSupervisor, Or...
24
64
0.708333
85eac866db30261b4027fe7d9dcdf2176daf9c61
1,937
exs
Elixir
config/prod.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
null
null
null
config/prod.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
2
2022-02-25T06:15:30.000Z
2022-02-25T06:15:33.000Z
config/prod.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
null
null
null
import Config # Definition environment config :policr_mini, :environment, :prod # 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 fi...
35.218182
66
0.716572
85ead68a2a6b83dadaedba0e7f2435cbb1c282f9
2,187
exs
Elixir
mix.exs
Freika/tilex
ac1c84933a11d844f55f2db72d50f1499a46f015
[ "MIT" ]
1
2018-11-20T15:23:59.000Z
2018-11-20T15:23:59.000Z
mix.exs
Freika/tilex
ac1c84933a11d844f55f2db72d50f1499a46f015
[ "MIT" ]
14
2018-10-29T09:43:13.000Z
2019-01-18T11:06:08.000Z
mix.exs
Freika/tilex
ac1c84933a11d844f55f2db72d50f1499a46f015
[ "MIT" ]
1
2020-02-24T18:21:26.000Z
2020-02-24T18:21:26.000Z
defmodule Tilex.Mixfile do use Mix.Project def project do [ app: :tilex, version: "0.0.1", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :...
28.776316
79
0.539552
85eae663712b313e696e98cd3ea967b7cbfb6104
420
ex
Elixir
backend/lib/backend_web/views/error_view.ex
hbobenicio/fullstack-phoenix-vue
a81804e263a3972df222a306c876340755014ef9
[ "MIT" ]
null
null
null
backend/lib/backend_web/views/error_view.ex
hbobenicio/fullstack-phoenix-vue
a81804e263a3972df222a306c876340755014ef9
[ "MIT" ]
1
2017-12-22T18:00:24.000Z
2017-12-22T18:00:24.000Z
backend/lib/backend_web/views/error_view.ex
hbobenicio/fullstack-phoenix-vue
a81804e263a3972df222a306c876340755014ef9
[ "MIT" ]
null
null
null
defmodule BackendWeb.ErrorView do use BackendWeb, :view def render("404.json", _assigns) do %{errors: %{detail: "Page not found"}} end def render("500.json", _assigns) do %{errors: %{detail: "Internal server error"}} end # In case no render clause matches or no # template is found, let's render...
23.333333
49
0.685714
85eafb678822473ab4190f742366870304afd547
721
ex
Elixir
lib/issues/github_issues.ex
erikvullings/issues
ccfc7086891b2fd793a519996a9a2eb7ca29dbb0
[ "MIT" ]
null
null
null
lib/issues/github_issues.ex
erikvullings/issues
ccfc7086891b2fd793a519996a9a2eb7ca29dbb0
[ "MIT" ]
null
null
null
lib/issues/github_issues.ex
erikvullings/issues
ccfc7086891b2fd793a519996a9a2eb7ca29dbb0
[ "MIT" ]
null
null
null
defmodule Issues.GithubIssues do @user_agent [ {"User-agent", "Elixir erik.vullings@gmail.com"}] # use a module attribute to fetch the value at compile time @github_url Application.get_env(:issues, :github_url) def fetch(user, project) do IO.puts "Fetching" issues_url(user, project) |> HTTPoison.g...
28.84
102
0.68932
85eb30f2282c5af649a41eab799b00ecb5e191ed
1,130
exs
Elixir
config/config.exs
vheathen/esp32-simple-control-panel
f463c82927d05129614cadb81f7138c992b23d01
[ "MIT" ]
2
2020-06-24T22:13:10.000Z
2021-01-07T18:01:14.000Z
config/config.exs
vheathen/esp32-simple-control-panel
f463c82927d05129614cadb81f7138c992b23d01
[ "MIT" ]
null
null
null
config/config.exs
vheathen/esp32-simple-control-panel
f463c82927d05129614cadb81f7138c992b23d01
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :control, # please mind single quotes ...
31.388889
86
0.760177
85eb490bedaa38209e43b0de8277135acc650a67
3,961
exs
Elixir
test/components/form/color_input_test.exs
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
1
2020-12-29T10:43:19.000Z
2020-12-29T10:43:19.000Z
test/components/form/color_input_test.exs
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
test/components/form/color_input_test.exs
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.ColorInputTest do use Surface.ConnCase, async: true alias Surface.Components.Form.ColorInput test "empty input" do html = render_surface do ~H""" <ColorInput form="user" field="color" /> """ end assert html =~ """ <input i...
24.152439
111
0.556678
85eb4ea532546b198b1d932fb7d51ae0b6fbfcb2
961
ex
Elixir
test/support/channel_case.ex
codingmelee/punting_server
81c5423b556951beb7412bea5b3610b9e37ba9aa
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
codingmelee/punting_server
81c5423b556951beb7412bea5b3610b9e37ba9aa
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
codingmelee/punting_server
81c5423b556951beb7412bea5b3610b9e37ba9aa
[ "Apache-2.0" ]
null
null
null
defmodule PuntingServerWeb.ChannelCase do @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 datastructures and query the data layer. Finally, if the test case intera...
25.289474
75
0.723205
85eb5e4f6ff09ea21af05ed4d50b4ec8cb31ed8f
263
exs
Elixir
integration_test/support/repo.exs
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
integration_test/support/repo.exs
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
integration_test/support/repo.exs
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.Repo do defmacro __using__(opts) do quote do use Ecto.Repo, unquote(opts) def log(cmd) do super(cmd) on_log = Process.delete(:on_log) || fn _ -> :ok end on_log.(cmd) end end end end
20.230769
59
0.589354
85eb636da2b17c8339d8468a1f7f722fc367892c
310
ex
Elixir
examples/variables.ex
archan937/besh
215260593a2d4557e0c1df49b5f4ee35d4489698
[ "MIT", "Unlicense" ]
null
null
null
examples/variables.ex
archan937/besh
215260593a2d4557e0c1df49b5f4ee35d4489698
[ "MIT", "Unlicense" ]
null
null
null
examples/variables.ex
archan937/besh
215260593a2d4557e0c1df49b5f4ee35d4489698
[ "MIT", "Unlicense" ]
null
null
null
a = 1 b = "string" c = "Con" <> "cat" IO.inspect(a) IO.inspect(b) IO.inspect(c) a = 1 + 2 b = a * 7 c = [1, 2, "str", true, false] IO.inspect(a, label: "A") IO.inspect(b, label: "B") IO.inspect(@(c), label: "C") d = "#{a}:#{b}" e = "#{a}#{inspect(@(c))}" f = 1.1 IO.inspect(d) IO.inspect(e) IO.inspect(f)
12.916667
30
0.519355
85eb66e9e29a5838ae26670890480a5f95eecc3f
267
exs
Elixir
priv/repo/migrations/20200607055748_create_departments.exs
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
4
2020-05-29T03:33:02.000Z
2021-08-21T23:01:48.000Z
priv/repo/migrations/20200607055748_create_departments.exs
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
2
2020-07-29T01:50:46.000Z
2021-08-31T20:10:47.000Z
priv/repo/migrations/20200607055748_create_departments.exs
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
1
2022-03-21T18:13:21.000Z
2022-03-21T18:13:21.000Z
defmodule ElixirEcommerce.Repo.Migrations.CreateDepartments do use Ecto.Migration def change do create table(:departments) do add :name, :string, null: false timestamps() end create index("departments", [:name], unique: true) end end
19.071429
62
0.692884
85ebb2ebf4bd88d07cbab6fec6822aca328740bf
1,278
exs
Elixir
mix.exs
pancho-villa/shoehorn
97d8c8557c6977e7e80f0aaef36eb61f5a983de5
[ "Apache-2.0" ]
null
null
null
mix.exs
pancho-villa/shoehorn
97d8c8557c6977e7e80f0aaef36eb61f5a983de5
[ "Apache-2.0" ]
null
null
null
mix.exs
pancho-villa/shoehorn
97d8c8557c6977e7e80f0aaef36eb61f5a983de5
[ "Apache-2.0" ]
null
null
null
defmodule Shoehorn.MixProject do use Mix.Project @version "0.7.0" @source_url "https://github.com/nerves-project/shoehorn" def project do [ app: :shoehorn, version: @version, elixir: "~> 1.9", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, elix...
21.3
67
0.570423
85ebb7817eaf741e791f7e06055eafe595d58ecf
3,139
exs
Elixir
test/process_managers/process_manager_after_command_text.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
1
2022-02-20T10:42:07.000Z
2022-02-20T10:42:07.000Z
test/process_managers/process_manager_after_command_text.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
test/process_managers/process_manager_after_command_text.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
defmodule Commanded.ProcessManagers.ProcessManagerAfterCommandTest do use ExUnit.Case import Commanded.Assertions.EventAssertions import Commanded.Enumerable alias Commanded.EventStore alias Commanded.Helpers.Wait alias Commanded.ProcessManagers.AfterCommandProcessManager alias Commanded.ProcessManagers...
39.2375
97
0.724435
85ebbb4a539197d0421d7f2984dd108948250440
402
exs
Elixir
clients/identity_toolkit/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/identity_toolkit/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
ExUnit.start() defmodule GoogleApi.IdentityToolkit.V3.TestHelper do defmacro __using__(opts) do quote do use ExUnit.Case, unquote(opts) import GoogleApi.IdentityToolkit.V3.TestHelper end end def for_scope(scopes) when is_list(scopes), do: for_scope(Enum.join(scopes, " ")) def for_scope(sc...
21.157895
83
0.708955
85ebc2620f6b6db0ae31d76f7779d97e2474a872
392
ex
Elixir
lib/.template.ex
knewter/neural_net
bbef6172cc285c83ba0ba4df21c164688537e207
[ "MIT" ]
null
null
null
lib/.template.ex
knewter/neural_net
bbef6172cc285c83ba0ba4df21c164688537e207
[ "MIT" ]
null
null
null
lib/.template.ex
knewter/neural_net
bbef6172cc285c83ba0ba4df21c164688537e207
[ "MIT" ]
null
null
null
defmodule Template @moduledoc "This template can be used to make new architectures. Copy this file, change the module name, and start adding architecture definitions in the template function." use NeuralNet def template(inp, out \\ uid()) do end defp define(args) do template(input, output) def_ve...
23.058824
175
0.734694
85ebf72841bf0ddd7fea52de00509e3a2bb0298d
3,170
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/deidentify_dicom_store_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/deidentify_dicom_store_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/deidentify_dicom_store_request.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...
56.607143
568
0.757413
85ec0008fa2ba60c41748dac4fdcd1a6c9caa118
2,284
exs
Elixir
test/lib/mix/tasks/deli_start_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
4
2019-01-30T11:51:44.000Z
2019-10-14T02:38:26.000Z
test/lib/mix/tasks/deli_start_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
null
null
null
test/lib/mix/tasks/deli_start_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
null
null
null
defmodule Mix.DeliStartTest do use DeliCase, async: true alias Mix.Tasks.Deli.Start def setup_hosts(env, hosts, setup_mocks? \\ true) do stub(HostFilterMock, :hosts, fn ^env, _ -> {:ok, hosts} end) if setup_mocks? do for host <- hosts do CheckMock |> expect(:run, fn ^env, ^host, fa...
26.55814
88
0.527145
85ec0412aa97a6953ff8b84910c0a6171d8195a0
768
exs
Elixir
test/fixtures/example_app/mix.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
986
2015-01-01T13:20:41.000Z
2021-09-03T02:18:55.000Z
test/fixtures/example_app/mix.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
332
2015-01-02T09:17:25.000Z
2018-04-06T22:32:25.000Z
test/fixtures/example_app/mix.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
132
2015-01-05T06:11:21.000Z
2019-10-31T13:31:12.000Z
defmodule Test.Mixfile do use Mix.Project def project do [ app: :test, version: "0.0.1", deps: deps ] end # Configuration for the OTP application def application do [mod: { Test, [] }, applications: [:fake_project]] end # Returns the list of dependencies in the format: # { :f...
27.428571
77
0.621094
85ec0bd52bcde5c1285e57f8262272b4b308a1cc
2,299
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/placement_assignment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/placement_assignment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/placement_assignment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "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.333333
185
0.744672
85ec16f646fd0e9e2828b37e801717a26a351bce
31,422
ex
Elixir
lib/elixir/lib/dynamic_supervisor.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dynamic_supervisor.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dynamic_supervisor.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
defmodule DynamicSupervisor do @moduledoc ~S""" A supervisor that starts children dynamically. The `Supervisor` module was designed to handle mostly static children that are started in the given order when the supervisor starts. A `DynamicSupervisor` starts with no children. Instead, children are started o...
31.296813
100
0.646044
85ec26b31bcb728ba45837093c529ae24e7effc0
298
ex
Elixir
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/snap-exp/bfs-dev/Makefile.ex
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
1,805
2015-01-06T20:01:35.000Z
2022-03-29T16:12:51.000Z
snap-exp/bfs-dev/Makefile.ex
lizhaoqing/snap
907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5
[ "BSD-3-Clause" ]
168
2015-01-07T22:57:29.000Z
2022-03-15T01:20:24.000Z
snap-exp/bfs-dev/Makefile.ex
lizhaoqing/snap
907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5
[ "BSD-3-Clause" ]
768
2015-01-09T02:28:45.000Z
2022-03-30T00:53:46.000Z
# # configuration variables for the example ## Main application file MAIN = testgraph DEPH = DEPCPP = %: %.cpp $(DEPH) $(DEPCPP) $(EXSNAP)/Snap.o $(CC) $(CXXFLAGS) $(CXXOPENMP) -o $@ $@.cpp $(DEPCPP) $(EXSNAP)/Snap.o -I$(EXSNAP) -I$(EXSNAPADV) -I$(EXGLIB) -I$(EXSNAPEXP) $(LDFLAGS) $(LIBS)
24.833333
145
0.624161
85ec4d712e14252626c98227712859a8cbd3320a
1,819
exs
Elixir
test/json_logger_udp_test.exs
szTheory/json_logger
ed6946df8b685e884128ceda624ead6874575d96
[ "Apache-2.0" ]
26
2015-05-11T21:01:51.000Z
2021-07-26T23:19:39.000Z
test/json_logger_udp_test.exs
brexhq/json_logger
ed6946df8b685e884128ceda624ead6874575d96
[ "Apache-2.0" ]
8
2015-10-15T12:42:48.000Z
2017-03-06T22:15:19.000Z
test/json_logger_udp_test.exs
brexhq/json_logger
ed6946df8b685e884128ceda624ead6874575d96
[ "Apache-2.0" ]
15
2016-03-31T04:57:10.000Z
2020-03-03T21:15:54.000Z
defmodule Logger.Backends.JSON.UDPTest do use ExUnit.Case, async: false require Logger @backend {Logger.Backends.JSON, :test} @message "Yo" @metadata "Very important data" @level :debug setup_all do {:ok, server} = :gen_udp.open 0, [:binary, {:active, false}] {:ok, port} = :inet.port(server) ...
30.316667
82
0.64541
85ec75b364329fc4cb3c0b00c1d9475dfe742b29
941
ex
Elixir
test/support/channel_case.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
defmodule QueryHubWeb.ChannelCase do @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 datastructures and query the data layer. Finally, if the test case interacts w...
24.763158
70
0.717322
85ec7c6e43f623ad931384ec0e2a7d6df2966807
9,941
ex
Elixir
lib/kino/output.ex
cristineguadelupe/kino
65348f632c5753d543cd16ff1357d06808b6a4a3
[ "Apache-2.0" ]
null
null
null
lib/kino/output.ex
cristineguadelupe/kino
65348f632c5753d543cd16ff1357d06808b6a4a3
[ "Apache-2.0" ]
null
null
null
lib/kino/output.ex
cristineguadelupe/kino
65348f632c5753d543cd16ff1357d06808b6a4a3
[ "Apache-2.0" ]
null
null
null
defmodule Kino.Output do @moduledoc """ A number of output formats supported by Livebook. """ import Kernel, except: [inspect: 2] @typedoc """ Livebook cell output may be one of these values and gets rendered accordingly. """ @type t :: ignored() | stdout() | text() ...
24.914787
83
0.530027
85ecbee41a7ceff67e96332eba2edd4539309fbb
3,564
exs
Elixir
test/json_schema_test_suite/draft4/additional_properties_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_schema_test_suite/draft4/additional_properties_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_schema_test_suite/draft4/additional_properties_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft4.AdditionalPropertiesTest do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|additionalProperties being false does not allow other properties| do setup do %{ schema: JsonXema.new(%{ "additionalProperties" => false, ...
28.741935
97
0.565376
85ecc3da0062f1252a98de44882db50e6220321e
685
exs
Elixir
apps/telepath/mix.exs
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
1
2019-10-30T19:38:12.000Z
2019-10-30T19:38:12.000Z
apps/telepath/mix.exs
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
3
2018-05-23T11:53:24.000Z
2022-02-10T15:53:08.000Z
apps/telepath/mix.exs
julien-leclercq/telepath
b73e47ae0fabb18ab565a8c015099b1ba948810c
[ "MIT" ]
null
null
null
defmodule Telepath.MixProject do use Mix.Project def project do [ app: :telepath, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), build_path: "../../_build", deps_path: "../../deps", lockfile: "../../mix.lock" ] end ...
20.147059
59
0.532847
85ed1c10244441649fcd4196de0adbef8ab86681
339
exs
Elixir
priv/repo/migrations/20210417192109_add_oban_jobs_table.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
893
2017-09-14T14:18:29.000Z
2022-03-31T21:45:08.000Z
priv/repo/migrations/20210417192109_add_oban_jobs_table.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
103
2017-09-29T22:15:33.000Z
2022-03-27T21:47:43.000Z
priv/repo/migrations/20210417192109_add_oban_jobs_table.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
152
2017-09-07T12:43:15.000Z
2022-03-10T18:47:47.000Z
defmodule Asciinema.Repo.Migrations.AddObanJobsTable do use Ecto.Migration def up do Oban.Migrations.up() end # We specify `version: 1` in `down`, ensuring that we'll roll all the way back down if # necessary, regardless of which version we've migrated `up` to. def down do Oban.Migrations.down(ver...
24.214286
88
0.719764
85ed4738089beea043fea79cfb008ce0face43c8
1,908
exs
Elixir
test/protobuf/json/utils_test.exs
zolakeith/protobuf
2d412b260c48be8f90e05408f8569cef2f6d3ace
[ "MIT" ]
419
2017-04-02T13:10:51.000Z
2020-11-15T15:53:17.000Z
test/protobuf/json/utils_test.exs
zolakeith/protobuf
2d412b260c48be8f90e05408f8569cef2f6d3ace
[ "MIT" ]
101
2020-11-22T20:20:11.000Z
2022-03-06T16:09:26.000Z
test/protobuf/json/utils_test.exs
zolakeith/protobuf
2d412b260c48be8f90e05408f8569cef2f6d3ace
[ "MIT" ]
83
2017-07-24T21:50:04.000Z
2020-11-15T08:52:34.000Z
defmodule Protobuf.JSON.UtilsTest do use ExUnit.Case, async: true use ExUnitProperties alias Protobuf.JSON.Utils @max_nanosec 999_999_999 property "format_nanoseconds/1 and parse_nanoseconds/1 are circular" do check all nanoseconds <- integer(0..@max_nanosec) do formatted = Utils.format_nanosecon...
34.690909
79
0.681342
85ed5a06eb71e226516348e1e2a1ae0cea3bbdc6
2,857
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_deidentify_template.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_deidentify_template.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_deidentify_template.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 ...
42.641791
186
0.713686
85ed66dfb7b80a1bf75fb9eb86742ce663e73d22
3,531
ex
Elixir
apps/testchain/lib/testchain/evm/config.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
1
2020-10-23T19:25:27.000Z
2020-10-23T19:25:27.000Z
apps/testchain/lib/testchain/evm/config.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
5
2019-01-11T11:48:08.000Z
2019-01-16T17:29:23.000Z
apps/testchain/lib/testchain/evm/config.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
7
2019-10-09T05:49:52.000Z
2022-03-23T16:48:45.000Z
defmodule Staxx.Testchain.EVM.Config do @moduledoc """ Default start configuration for new EVM. Options: - `type` - EVM type. (Default: `:ganache`) - `id` - Random unique internal process identificator. Example: `"11296068888839073704"`. If empty system will generate it automatically - `email` - User email...
33.628571
138
0.639762
85ed6f5e17f8d9b953f5ae68bc6b69809ace816d
136
ex
Elixir
web/controllers/page_controller.ex
smpallen99/elixir_survey_tutorial
24aa40d73cd3254d510e484693c7249ebcf93605
[ "MIT" ]
48
2015-10-02T19:16:02.000Z
2022-01-18T20:50:00.000Z
web/controllers/page_controller.ex
smpallen99/elixir_survey_tutorial
24aa40d73cd3254d510e484693c7249ebcf93605
[ "MIT" ]
1
2017-01-29T21:46:11.000Z
2017-05-09T02:47:01.000Z
web/controllers/page_controller.ex
smpallen99/elixir_survey_tutorial
24aa40d73cd3254d510e484693c7249ebcf93605
[ "MIT" ]
8
2015-10-02T19:18:37.000Z
2019-09-11T06:25:28.000Z
defmodule Survey.PageController do use Survey.Web, :controller def index(conn, _params) do render conn, "index.html" end end
17
34
0.727941
85ed79be018b519813c1225643f7acca15213518
140
ex
Elixir
lib/brando/blueprint/form/input.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/blueprint/form/input.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/blueprint/form/input.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Blueprint.Form.Input do defstruct name: nil, type: nil, template: nil, opts: %{} end
20
40
0.542857
85eded5bd0ff83a41c03bb2211e22bd3ff01b0bb
1,660
exs
Elixir
src/config/dev.exs
mauricio-andre/rocketpay
2afb71cfa981d817907201e6752ef2719e7231bf
[ "MIT" ]
null
null
null
src/config/dev.exs
mauricio-andre/rocketpay
2afb71cfa981d817907201e6752ef2719e7231bf
[ "MIT" ]
null
null
null
src/config/dev.exs
mauricio-andre/rocketpay
2afb71cfa981d817907201e6752ef2719e7231bf
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :rocketpay, Rocketpay.Repo, username: "postgres", password: "postgres", database: "rocketpay_dev", hostname: "postgres", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code relo...
28.62069
68
0.727711
85edf39a2e5a57cd59cac777ebbe3dbd23c388f8
604
ex
Elixir
lib/magical_make/font.ex
tashirosota/magical_make
c9a1d46de674a509b6866dbd7215db1522952a24
[ "Apache-2.0" ]
3
2022-01-01T15:09:10.000Z
2022-01-20T14:10:09.000Z
lib/magical_make/font.ex
tashirosota/magical_make
c9a1d46de674a509b6866dbd7215db1522952a24
[ "Apache-2.0" ]
1
2021-12-31T06:05:31.000Z
2021-12-31T06:06:27.000Z
lib/magical_make/font.ex
tashirosota/magical_make
c9a1d46de674a509b6866dbd7215db1522952a24
[ "Apache-2.0" ]
null
null
null
defmodule MagicalMake.Font do @moduledoc """ Create font information for stdout. It is likely to be expanded in the future. """ @esc "\e" @colors [ black: "#{@esc}[30m", red: "#{@esc}[31m", green: "#{@esc}[32m", yellow: "#{@esc}[33m", blue: "#{@esc}[34m", magenta: "#{@esc}[35m", ...
21.571429
48
0.572848
85ee3e8e94bb765a3dae17700447b19a1f171597
687
ex
Elixir
lib/straw_hat_map/ecto/regex.ex
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
4
2018-03-07T04:12:36.000Z
2018-03-08T16:13:14.000Z
lib/straw_hat_map/ecto/regex.ex
straw-hat-labs/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
61
2018-03-07T04:50:42.000Z
2019-11-01T10:24:03.000Z
lib/straw_hat_map/ecto/regex.ex
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
2
2018-03-22T19:44:45.000Z
2019-08-02T03:45:47.000Z
defmodule StrawHat.Map.Ecto.Types.Regex do @moduledoc """ Adds regular expressions as a custom Ecto Type. """ @behaviour Ecto.Type def type, do: :string @spec cast(String.t()) :: {:ok, String.t()} | :error def cast(value) when is_binary(value) do case Regex.compile(value) do {:ok, _} -> {:ok,...
22.16129
57
0.608443
85ee4759714d8e4e4039ac1dae3cb07fdabdac4e
6,222
exs
Elixir
test/notifier_test.exs
sevgit/boom
80be1830f69c71cab0f0b12e8dd3faad8a64d859
[ "MIT" ]
null
null
null
test/notifier_test.exs
sevgit/boom
80be1830f69c71cab0f0b12e8dd3faad8a64d859
[ "MIT" ]
null
null
null
test/notifier_test.exs
sevgit/boom
80be1830f69c71cab0f0b12e8dd3faad8a64d859
[ "MIT" ]
null
null
null
defmodule NotifierTest do use ExUnit.Case use Plug.Test doctest Boom defmodule FakeNotifier do @behaviour Boom.Notifier @impl Boom.Notifier def notify(error_info_list, options) do [first_error | _] = error_info_list subject_prefix = Keyword.get(options, :subject) subject = "#{su...
26.935065
101
0.65622
85ee5bde1fe0ae21611a882e800df91e8eebb9e4
1,517
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/app_context.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/app_context.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/app_context.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 ...
32.276596
106
0.741595
85ee62edabb4ee913160b0d1bebc1b0c7b8195d7
1,954
ex
Elixir
lib/ex_plasma/transaction/type_mapper.ex
omgnetwork/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
6
2020-08-13T08:14:34.000Z
2021-08-19T11:08:17.000Z
lib/ex_plasma/transaction/type_mapper.ex
omisego/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
34
2019-11-20T03:33:22.000Z
2020-05-27T18:40:10.000Z
lib/ex_plasma/transaction/type_mapper.ex
omisego/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
6
2020-06-02T19:00:36.000Z
2021-08-19T11:06:33.000Z
defmodule ExPlasma.Transaction.TypeMapper do @moduledoc """ Provides wire format's tx/output type values and mapping to modules which decodes them. """ alias ExPlasma.Output alias ExPlasma.Transaction @type tx_type_to_tx_module_map() :: %{1 => Transaction.Type.PaymentV1, 3 => Transaction.Type.Fee} @type...
29.606061
112
0.705732
85ee9a6e0d351a5e930c68594e47d30817c9b8cd
8,620
ex
Elixir
lib/ex_notepad/text.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
lib/ex_notepad/text.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
lib/ex_notepad/text.ex
kaiyote/ex_notepad
0df1c3e9d56c9c4b6e9a3ca8a61e1e6c40e6a0b3
[ "MIT" ]
null
null
null
defmodule ExNotepad.Text do @moduledoc false use Bitwise, only_operators: true require ExNotepad.Records alias ExNotepad.Records, as: R alias ExNotepad.{Font, Util} @match_case :wx_const.wxFR_MATCHCASE @spec create_control(:wxFrame.wxFrame(), :wxFont.wxFont()) :: R.text_ctrl() def create_control(fra...
38.141593
100
0.736079
85eeb92694d61d142ae7c2e009aa5e52ea2cf6d2
1,551
ex
Elixir
lib/advent_of_code/solutions/day07.ex
odarriba/advent_of_code_2021
658059cc83438c588d72fd6b30685f555cf8f7a2
[ "MIT" ]
5
2021-11-30T15:26:47.000Z
2021-12-25T19:31:44.000Z
lib/advent_of_code/solutions/day07.ex
odarriba/advent_of_code_2021
658059cc83438c588d72fd6b30685f555cf8f7a2
[ "MIT" ]
null
null
null
lib/advent_of_code/solutions/day07.ex
odarriba/advent_of_code_2021
658059cc83438c588d72fd6b30685f555cf8f7a2
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Solutions.Day07 do @moduledoc """ Solution for day 7 exercise. ### Exercise https://adventofcode.com/2021/day/7 """ require Logger @doc """ Calculates optimal position and fuel needed to align all crab submarines. Mode can be either `:constant` or `:incremental` """ def ...
25.85
87
0.664732
85ef1d06b001c92b46b45ae9cb23827854cd6c35
392
exs
Elixir
functionalprogramming/recursion/02_fibonacci.exs
nathanchere/HackerRank_Elixir
607e4ae10d94edb20296c8979179648af4af3ca6
[ "MIT" ]
2
2016-09-20T11:56:33.000Z
2016-10-20T20:11:04.000Z
functionalprogramming/recursion/02_fibonacci.exs
nathanchere/HackerRank_Elixir
607e4ae10d94edb20296c8979179648af4af3ca6
[ "MIT" ]
null
null
null
functionalprogramming/recursion/02_fibonacci.exs
nathanchere/HackerRank_Elixir
607e4ae10d94edb20296c8979179648af4af3ca6
[ "MIT" ]
null
null
null
# HackerRank "Functional Programming" - Recusion - Fibonacci Numbers defmodule Solution do defp fibonacci(0), do: 0 defp fibonacci(1), do: 0 defp fibonacci(2), do: 1 defp fibonacci(value) do fibonacci(value - 1) + fibonacci(value - 2) end def main() do IO.gets("") |> String.strip |> String.to...
19.6
68
0.645408
85ef59e35ab5c42d4cbc7fc74117066fd5035420
148
ex
Elixir
web/controllers/page_controller.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
1
2016-02-23T11:31:18.000Z
2016-02-23T11:31:18.000Z
web/controllers/page_controller.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
web/controllers/page_controller.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
defmodule BalanceSheet.PageController do use BalanceSheet.Web, :controller def index(conn, _params) do render conn, "index.html" end end
18.5
40
0.75
85ef641b4d85b2467ac998e2a273c5cc260c3351
3,374
exs
Elixir
apps/service_gather/test/gather_test.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/service_gather/test/gather_test.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/service_gather/test/gather_test.exs
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
defmodule GatherTest do use Gather.Case import Mox import Events, only: [extract_start: 0, extract_end: 0] import AssertAsync require Temp.Env @instance Gather.Application.instance() @moduletag capture_log: true alias Gather.Extraction Temp.Env.modify([ %{ app: :service_gather, key:...
25.755725
86
0.600474
85ef6de9c9dc1b77274bacb1a7156e58f9f73db3
2,132
exs
Elixir
test/parselix_test.exs
ryo33/Parxir
f7388bd37e2754e2d8c37724fcac2e29d438e2a9
[ "MIT" ]
null
null
null
test/parselix_test.exs
ryo33/Parxir
f7388bd37e2754e2d8c37724fcac2e29d438e2a9
[ "MIT" ]
null
null
null
test/parselix_test.exs
ryo33/Parxir
f7388bd37e2754e2d8c37724fcac2e29d438e2a9
[ "MIT" ]
null
null
null
defmodule ParselTest do use ExUnit.Case use Parselix parser :test_parser0 do fn target, position -> {:ok, "abc", "def"} |> format_result(target, position) end end parser :test_parser1 do fn target, position -> {:ok, "abc", "def", position(9, 1, 5)} |> format_result(target...
24.790698
101
0.575047
85ef72518417626a7069f338c361df8b8d7a6f2c
2,055
ex
Elixir
clients/eventarc/lib/google_api/eventarc/v1/model/cloud_run.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/eventarc/lib/google_api/eventarc/v1/model/cloud_run.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/eventarc/lib/google_api/eventarc/v1/model/cloud_run.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.773585
276
0.713382
85ef946102287b4ec7431c431a750872ee97c49a
3,339
exs
Elixir
benchmarks/pem_rs_benchmark.exs
blagh/joken
eafc407603cb28f12b1a95b11a57da89903bb3b6
[ "Apache-2.0" ]
421
2015-01-06T12:06:00.000Z
2018-11-17T09:12:27.000Z
benchmarks/pem_rs_benchmark.exs
blagh/joken
eafc407603cb28f12b1a95b11a57da89903bb3b6
[ "Apache-2.0" ]
178
2015-02-24T15:40:25.000Z
2018-11-06T16:32:27.000Z
benchmarks/pem_rs_benchmark.exs
blagh/joken
eafc407603cb28f12b1a95b11a57da89903bb3b6
[ "Apache-2.0" ]
71
2015-02-24T00:52:34.000Z
2018-10-30T17:34:59.000Z
defmodule RS256Auth do use Joken.Config, default_key: :pem_rs256 end defmodule RS384Auth do use Joken.Config, default_key: :pem_rs384 end defmodule RS512Auth do use Joken.Config, default_key: :pem_rs512 end defmodule RS256AuthVerify do use Joken.Config, default_key: :rs256 def token_config do %{} ...
44.52
467
0.777778
85efab3148b6fda5eff85ef192fd89f126fac882
1,349
ex
Elixir
web/controllers/auth_controller.ex
fernandedios/elixir-phoenix-discuss
ca64154dd44c9d8ca251c3d3a75f4e0152bb5d1f
[ "MIT" ]
null
null
null
web/controllers/auth_controller.ex
fernandedios/elixir-phoenix-discuss
ca64154dd44c9d8ca251c3d3a75f4e0152bb5d1f
[ "MIT" ]
null
null
null
web/controllers/auth_controller.ex
fernandedios/elixir-phoenix-discuss
ca64154dd44c9d8ca251c3d3a75f4e0152bb5d1f
[ "MIT" ]
null
null
null
defmodule Discuss.AuthController do use Discuss.Web, :controller plug Ueberauth alias Discuss.User #def callback(conn, params) do # IO.inspect(conn.assigns) # IO.inspect(params) # end def callback(%{assigns: %{ueberauth_auth: auth}} = conn, params) do # IO.inspect(auth) user_params = %{ ...
23.666667
69
0.623425
85efbc54b80d79b1fab752f6f4eb7d8c33aeb2eb
1,409
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/read_only.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/read_only.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/read_only.ex
CertifiedrLi/elixir-google-api
4e0e261dd06ee7753c356cca413783f3facd5f03
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2018 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.022727
119
0.755855
85efc4c109e7cf9a5f12bdec3377ba57b9d11423
405
ex
Elixir
lib/bigcommerce/api.ex
mcampa/bigcommerce-elixir-app
f1fe40b2a456b49c09970a5317108316f054d5ec
[ "MIT" ]
1
2017-06-02T07:17:22.000Z
2017-06-02T07:17:22.000Z
lib/bigcommerce/api.ex
mcampa/bigcommerce-elixir-app
f1fe40b2a456b49c09970a5317108316f054d5ec
[ "MIT" ]
null
null
null
lib/bigcommerce/api.ex
mcampa/bigcommerce-elixir-app
f1fe40b2a456b49c09970a5317108316f054d5ec
[ "MIT" ]
null
null
null
defmodule Bigcommerce.Api do def client(account) do %{account: account} end def get_url(uri) do (Application.get_env(:app, :bigcommerce) |> Keyword.get(:api_url)) <> uri end # def headers do # [ # {"Content-Type", "application/json"}, # {"Accept", "application/json"}, # {"X-A...
21.315789
77
0.582716
85efd33d6857a0a8b49b145b9b51ae23537c2d3d
1,861
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/list_tenancy_units_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/list_tenancy_units_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/list_tenancy_units_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.22
153
0.755508
85f0086b763a210687387c7f71c65fb37ccbeb04
378
exs
Elixir
test/pummpcomm/history/change_audio_bolus_test.exs
infinity-aps/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
15
2017-08-31T00:58:47.000Z
2020-01-12T03:53:13.000Z
test/pummpcomm/history/change_audio_bolus_test.exs
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
1
2017-09-15T02:09:31.000Z
2017-09-15T02:09:31.000Z
test/pummpcomm/history/change_audio_bolus_test.exs
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
3
2017-09-10T17:24:59.000Z
2019-09-10T19:41:49.000Z
defmodule Pummpcomm.History.ChangeAudioBolusTest do use ExUnit.Case test "Change Audio Bolus" do {:ok, history_page} = Base.decode16("5F0D78380F050F") decoded_events = Pummpcomm.History.decode_records(history_page, %{}) assert {:change_audio_bolus, %{timestamp: ~N[2015-04-05 15:56:56], raw: ^history_p...
31.5
93
0.708995
85f0155ce3953f65a7ab4556b64587ef9c41f4ec
1,023
ex
Elixir
lib/ex_abnf/util.ex
ldr/ex_abnf
49bcca0fc736b239b44b200a1ae543c878ad8538
[ "Apache-2.0" ]
null
null
null
lib/ex_abnf/util.ex
ldr/ex_abnf
49bcca0fc736b239b44b200a1ae543c878ad8538
[ "Apache-2.0" ]
null
null
null
lib/ex_abnf/util.ex
ldr/ex_abnf
49bcca0fc736b239b44b200a1ae543c878ad8538
[ "Apache-2.0" ]
2
2021-03-01T12:02:27.000Z
2021-03-01T13:33:19.000Z
defmodule ABNF.Util do @moduledoc """ Some utilities used internally. Copyright 2015 Marcelo Gornstein <marcelog@gmail.com> 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...
31.96875
80
0.71261
85f01576b58d06b27235bbd6a2df34549b0f7096
3,165
exs
Elixir
test/web/controllers/api/contact_form_controller_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
test/web/controllers/api/contact_form_controller_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
test/web/controllers/api/contact_form_controller_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.Api.ContactFormControllerTest do use Web.ConnCase use Bamboo.Test alias ChallengeGov.Emails alias ChallengeGov.TestHelpers.AccountHelpers alias ChallengeGov.TestHelpers.ChallengeHelpers describe "sending an email through contact form" do test "successfully", %{conn: conn} do public...
33.670213
96
0.6594
85f0183e2f45725a741e0e9d705d36a94f9d6602
3,732
exs
Elixir
test/csvto/type_test.exs
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
5
2016-12-27T03:49:49.000Z
2019-09-20T12:05:33.000Z
test/csvto/type_test.exs
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
null
null
null
test/csvto/type_test.exs
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
null
null
null
defmodule Csvto.TypeTest do use ExUnit.Case import Csvto.Type describe "primitive?/1" do test "should return true for primitive types" do for type <- base_types() do assert primitive?(type) assert primitive?({:array, type}) end end end describe "default/1" do test "...
41.466667
126
0.516613
85f0400efa972120e32c8815bfc37d04ce4134c6
732
ex
Elixir
lesson_09/demo/4_phx/a_webpack_demo_umbrella/apps/a_webpack_demo_web/lib/a_webpack_demo_web/gettext.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
1
2021-09-22T09:56:35.000Z
2021-09-22T09:56:35.000Z
lesson_09/demo/4_phx/a_webpack_demo_umbrella/apps/a_webpack_demo_web/lib/a_webpack_demo_web/gettext.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
7
2020-03-14T19:30:29.000Z
2022-02-27T01:20:40.000Z
lesson_09/demo/4_phx/a_webpack_demo_umbrella/apps/a_webpack_demo_web/lib/a_webpack_demo_web/gettext.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
11
2020-02-13T14:52:45.000Z
2020-08-03T12:18:56.000Z
defmodule AWebpackDemoWeb.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 AWebpackDemoWeb.Gettext # Simple translation gettext(...
29.28
72
0.687158
85f0b02980e957bc36a1e103600c7e7169785d44
1,161
ex
Elixir
web/lib/image.ex
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
1
2018-04-23T14:55:58.000Z
2018-04-23T14:55:58.000Z
web/lib/image.ex
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
null
null
null
web/lib/image.ex
hackersguildco/flaggy
5c52879f0f8541bba5603e6a678d9527e76507db
[ "MIT" ]
null
null
null
defmodule Flaggy.Image do use Arc.Definition use Arc.Ecto.Definition # convert -ping -format '%wx%h^' me.jpg info:- #convert me.jpg flag.png -compose softlight -resize '960x960^' -gravity center -composite -quality 100 demo.jpg @versions [:original] @acl :public_read def __storage, do: Application.get_...
28.317073
133
0.682171
85f0bdc952fe7c6952d529a2a094115d7c548135
3,170
ex
Elixir
lib/version_release/changelog.ex
phcurado/elixir-version-release
aa8e3561bf36e7f28bca6851cf03830a6e04f5f2
[ "MIT" ]
null
null
null
lib/version_release/changelog.ex
phcurado/elixir-version-release
aa8e3561bf36e7f28bca6851cf03830a6e04f5f2
[ "MIT" ]
null
null
null
lib/version_release/changelog.ex
phcurado/elixir-version-release
aa8e3561bf36e7f28bca6851cf03830a6e04f5f2
[ "MIT" ]
null
null
null
defmodule VersionRelease.Changelog do require Logger alias VersionRelease.Config # Update changelog def update( %{ dry_run: false, wd_clean: true, changelog: %{ creation: changelog_creation, replacements: replacements } } = config...
22.167832
99
0.597161
85f0dd92132cd960638c8eed28a91eea3ef53881
127
ex
Elixir
lib/ipc.ex
JoeBanks13/ipc
8f12d6c81e5aad1cabf40b6ab22e443d00f60e75
[ "MIT" ]
1
2018-05-12T11:58:36.000Z
2018-05-12T11:58:36.000Z
lib/ipc.ex
JoeBanks13/ipc
8f12d6c81e5aad1cabf40b6ab22e443d00f60e75
[ "MIT" ]
null
null
null
lib/ipc.ex
JoeBanks13/ipc
8f12d6c81e5aad1cabf40b6ab22e443d00f60e75
[ "MIT" ]
null
null
null
defmodule IPC do use Application def start(_type, _args) do IPC.Supervisor.start_link(name: IPC.Supervisor) end end
15.875
51
0.740157
85f10b2bc8f71761928bcbb743163ab923ec88bb
615
ex
Elixir
lib/mix/tasks/migrate.ex
ryvasquez/excellent_migrations
cc123c6f34293b84cd47b2ac63098a83d5b7ecbe
[ "MIT" ]
64
2021-11-18T17:54:04.000Z
2022-03-10T19:37:46.000Z
lib/mix/tasks/migrate.ex
ryvasquez/excellent_migrations
cc123c6f34293b84cd47b2ac63098a83d5b7ecbe
[ "MIT" ]
8
2021-11-18T19:12:56.000Z
2022-02-15T15:03:32.000Z
lib/mix/tasks/migrate.ex
ryvasquez/excellent_migrations
cc123c6f34293b84cd47b2ac63098a83d5b7ecbe
[ "MIT" ]
5
2021-11-22T19:04:33.000Z
2021-12-15T05:14:42.000Z
defmodule Mix.Tasks.ExcellentMigrations.Migrate do @moduledoc "Runs `ecto.migrate` task only if no dangerous operations were detected in migrations." use Mix.Task require Logger @shortdoc "Runs `ecto.migrate` if migrations are safe" def run(args) do case ExcellentMigrations.Runner.check_migrations() do ...
26.73913
100
0.656911