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
ac35390ce239a3748658f82d4b81492512b1685c
374
ex
Elixir
apps/aecore/lib/aecore/tx/pool/worker/supervisor.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
131
2018-03-10T01:35:56.000Z
2021-12-27T13:44:41.000Z
apps/aecore/lib/aecore/tx/pool/worker/supervisor.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
445
2018-03-12T09:46:17.000Z
2018-12-12T09:52:07.000Z
apps/aecore/lib/aecore/tx/pool/worker/supervisor.ex
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
23
2018-03-12T12:01:28.000Z
2022-03-06T09:22:17.000Z
defmodule Aecore.Tx.Pool.Worker.Supervisor do @moduledoc """ Supervisor responsible for all of the worker modules in his folder """ use Supervisor def start_link(args) do Supervisor.start_link(__MODULE__, :ok, args) end def init(:ok) do children = [ Aecore.Tx.Pool.Worker ] Superv...
18.7
68
0.692513
ac354908c4a1985de272de4745e10b38f790c4d5
4,184
ex
Elixir
lib/surface/components/markdown.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
1
2020-12-29T10:43:19.000Z
2020-12-29T10:43:19.000Z
lib/surface/components/markdown.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
lib/surface/components/markdown.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
defmodule Surface.Components.Markdown do @moduledoc """ A simple macro component that converts **markdown** into **HTML** at compile-time. ## Global configuration (optional) A set of global options you can set in `config.exs`. Available options are: * `default_class` - The default CSS class for the wrapp...
27.168831
91
0.622132
ac356020f34abca4c0eb892e0800517c95259b15
938
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/serializers/api_key_serializer.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/api_key_serializer.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/serializers/api_key_serializer.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.V1.APIKeySerializer do @moduledoc """ Serializes API key(s) into V1 JSON response format. """ alias Ecto.Association.NotLoaded alias EWallet.Web.V1.PaginatorSerializer alias EWallet.Web.{Date, Paginator} alias EWalletDB.APIKey alias EWalletDB.Helpers.Preloader def serialize(%Pag...
27.588235
58
0.706823
ac35a3459d709d37716479a5d3698197e793ae4d
7,979
ex
Elixir
lib/ex_doc/formatter/html/templates.ex
radar/ex_doc
0254043fea5cd7193cd3226b60e1b5a7a2668767
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/formatter/html/templates.ex
radar/ex_doc
0254043fea5cd7193cd3226b60e1b5a7a2668767
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/formatter/html/templates.ex
radar/ex_doc
0254043fea5cd7193cd3226b60e1b5a7a2668767
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Formatter.HTML.Templates do @moduledoc false require EEx alias ExDoc.Formatter.HTML @doc """ Generate content from the module template for a given `node` """ def module_page(module_node, nodes_map, config) do summary = module_summary(module_node) module_template(config, module_no...
28.496429
105
0.635042
ac35a4e7fb28e19e7e545a97533f6c0e31072bb7
445
ex
Elixir
lib/plausible_web/plugs/require_logged_out.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
lib/plausible_web/plugs/require_logged_out.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
lib/plausible_web/plugs/require_logged_out.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule PlausibleWeb.RequireLoggedOutPlug do import Plug.Conn def init(options) do options end def call(conn, _opts) do cond do conn.assigns[:current_user] -> conn |> put_resp_cookie("logged_in", "true", http_only: false, max_age: 60 * 60 * 24 * 365 * 5000 ...
18.541667
52
0.559551
ac35ac2c3dbdc4fcd5911bfb1cf8b46d02f9e989
1,765
exs
Elixir
test/phoenix/integration/http_client.exs
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
test/phoenix/integration/http_client.exs
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
test/phoenix/integration/http_client.exs
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
defmodule Phoenix.Integration.HTTPClient do @moduledoc """ Simple HTTP client for integration testing """ defmodule Response, do: defstruct(status: nil, headers: [], body: nil) @doc """ Performs HTTP Request and returns Response * method - The http methid, ie :get, :post, :put, etc * url - The s...
33.942308
85
0.614164
ac35fa8c295d20a065d5731ca4274803233dc6d2
1,925
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/sponsor.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/sponsor.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/sponsor.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
36.320755
154
0.745974
ac3611e44d779db123b9744b2c28646a2bf5c15c
607
ex
Elixir
lib/converter/id.ex
mwmiller/exoddic
dd590668a84079fb2eb0bb89f4599165abed9b54
[ "MIT" ]
3
2016-05-13T16:52:46.000Z
2021-02-05T23:00:16.000Z
lib/converter/id.ex
mwmiller/exoddic
dd590668a84079fb2eb0bb89f4599165abed9b54
[ "MIT" ]
null
null
null
lib/converter/id.ex
mwmiller/exoddic
dd590668a84079fb2eb0bb89f4599165abed9b54
[ "MIT" ]
null
null
null
defmodule Exoddic.Converter.Id do @behaviour Exoddic.Converter @moduledoc """ .id-style odds """ def from_prob(amount) when amount == 0.00, do: 0.0 def from_prob(amount) when amount < 0.50, do: (1 - amount) / amount def from_prob(amount) when amount >= 0.50, do: -1 * (amount / (1 - amount)) def to_p...
33.722222
77
0.667216
ac363f564a375088cf1f7138697601c0536ca1ba
1,896
ex
Elixir
lib/dnsimple/oauth.ex
remiprev/dnsimple-elixir
7a8eb0cec64797f3e72601b5395d8629836ef904
[ "MIT" ]
null
null
null
lib/dnsimple/oauth.ex
remiprev/dnsimple-elixir
7a8eb0cec64797f3e72601b5395d8629836ef904
[ "MIT" ]
14
2021-02-19T07:09:55.000Z
2022-02-24T12:33:37.000Z
lib/dnsimple/oauth.ex
littleairmada/dnsimple-elixir
a1b71a9c84d1a440f86199b8f48754e1c88ca19f
[ "MIT" ]
null
null
null
defmodule Dnsimple.Oauth do @moduledoc """ Provides functions to authenticate through the [OAuth web application flow](https://developer.dnsimple.com/v2/oauth/). See: - https://developer.dnsimple.com/v2/oauth/ - https://developer.dnsimple.com/v2/#authentication """ alias Dnsimple.Client alias Dnsimp...
30.095238
110
0.68038
ac3658585f3f4a2e02202313f442a2cc09a8455a
163
ex
Elixir
lib/calliope.ex
darthdeus/slimxir
dc585852934d1a5d42677cbdd04ca31673cbe9c0
[ "Apache-2.0" ]
152
2015-01-13T15:39:04.000Z
2022-03-09T22:20:28.000Z
lib/calliope.ex
darthdeus/slimxir
dc585852934d1a5d42677cbdd04ca31673cbe9c0
[ "Apache-2.0" ]
43
2015-02-18T12:54:12.000Z
2018-06-26T20:48:16.000Z
lib/calliope.ex
darthdeus/slimxir
dc585852934d1a5d42677cbdd04ca31673cbe9c0
[ "Apache-2.0" ]
34
2015-02-16T23:35:45.000Z
2021-01-11T15:01:59.000Z
defmodule Calliope do use Calliope.Render defmacro __using__([]) do quote do import unquote __MODULE__ use Calliope.Render end end end
13.583333
31
0.680982
ac367f93594429414e11e3f1582c67754ad4a9a1
1,213
exs
Elixir
spec/aoc/day05_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
spec/aoc/day05_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
spec/aoc/day05_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
defmodule AoC.Day05.Spec do @moduledoc false use ESpec alias AoC.Intcode.Interpreter describe "sanity checks" do it "tests the input and output opcodes" do {:ok, agent} = Agent.start_link(fn -> nil end) output_fn = fn value -> Agent.update(agent, fn _ -> value end) end vm = Tas...
28.880952
98
0.579555
ac36808b249f9556898b3a72b22636fcb308df18
2,826
ex
Elixir
web/controllers/talk_controller.ex
koenighotze/callforpaper
3ca57abc0cd8d857dedf20e70bce841264d0fe30
[ "MIT" ]
1
2017-01-25T21:34:37.000Z
2017-01-25T21:34:37.000Z
web/controllers/talk_controller.ex
koenighotze/callforpaper
3ca57abc0cd8d857dedf20e70bce841264d0fe30
[ "MIT" ]
40
2017-02-09T07:22:25.000Z
2020-10-28T13:43:12.000Z
web/controllers/talk_controller.ex
koenighotze/callforpaper
3ca57abc0cd8d857dedf20e70bce841264d0fe30
[ "MIT" ]
null
null
null
defmodule Callforpapers.TalkController do use Callforpapers.Web, :controller alias Callforpapers.Talk alias Callforpapers.User import Callforpapers.Auth, only: [ presenter_only: 2, authenticate_user: 2 ] @valid_durations [20, 45, 60, 90] plug :authenticate_user plug :presenter_only when action in [:crea...
29.4375
122
0.655697
ac36960e04144414a4f4189803724d07704e37ef
94
exs
Elixir
test/bpmn/expression_test.exs
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
13
2017-09-19T17:49:59.000Z
2021-09-21T18:20:15.000Z
test/bpmn/expression_test.exs
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
7
2017-10-17T16:44:37.000Z
2017-11-14T23:40:40.000Z
test/bpmn/expression_test.exs
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
3
2017-10-21T08:23:26.000Z
2021-09-10T14:27:07.000Z
defmodule Bpmn.ExpressionTest do use ExUnit.Case, async: true doctest Bpmn.Expression end
18.8
32
0.797872
ac369cc75c474ff62f92dfa24f9cc737d399a433
25,737
ex
Elixir
apps/language_server/lib/language_server/providers/completion.ex
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/providers/completion.ex
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/providers/completion.ex
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Providers.Completion do @moduledoc """ Auto-complete provider utilizing Elixir Sense We use Elixir Sense to retrieve auto-complete suggestions based on the source file text and cursor position, and then perform some additional processing on those suggestions to make them compa...
27.853896
129
0.577262
ac369f896a958ed6eae4dff545bfae6eecaf5b35
3,341
ex
Elixir
lib/gringotts/response.ex
aashishsingh2803/gringotts
cf39d54d27e9a13cce97f9787f7bec606b82b83d
[ "MIT" ]
4
2018-03-23T13:02:37.000Z
2018-08-14T15:55:24.000Z
lib/gringotts/response.ex
Siriusdark/gringotts
cf39d54d27e9a13cce97f9787f7bec606b82b83d
[ "MIT" ]
null
null
null
lib/gringotts/response.ex
Siriusdark/gringotts
cf39d54d27e9a13cce97f9787f7bec606b82b83d
[ "MIT" ]
null
null
null
defmodule Gringotts.Response do @moduledoc """ Defines the Response `struct` and some utilities. All `Gringotts` public API calls will return a `Response.t` wrapped in an `:ok` or `:error` `tuple`. It is guaranteed that an `:ok` will be returned only when the request succeeds at the gateway, ie, no error occ...
40.253012
80
0.533373
ac36a606b03ee381fbc377d5369850542b2f6ef1
1,044
exs
Elixir
test/parser/schedule_inform_response_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
test/parser/schedule_inform_response_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
test/parser/schedule_inform_response_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defmodule CWMP.Protocol.Parser.ScheduleInformResponseTest do use ExUnit.Case, async: true @sample """ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="ht...
36
116
0.719349
ac36e411d10af5c3839dd967764a210efda943de
65,932
ex
Elixir
lib/aws/generated/pinpoint.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/pinpoint.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/pinpoint.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Pinpoint do @moduledoc """ Doc Engage API - Amazon Pinpoint API """ alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadata{ abbreviation: nil, api_ve...
21.659658
100
0.588333
ac36f5a50dd696784bea3212bd11e3ac96939607
1,586
exs
Elixir
phoenix_rest_api/mix.exs
mkdika/phoenix-rest-api
28470fd8cf2a2aa861070049388c6f54ba430e67
[ "MIT" ]
null
null
null
phoenix_rest_api/mix.exs
mkdika/phoenix-rest-api
28470fd8cf2a2aa861070049388c6f54ba430e67
[ "MIT" ]
null
null
null
phoenix_rest_api/mix.exs
mkdika/phoenix-rest-api
28470fd8cf2a2aa861070049388c6f54ba430e67
[ "MIT" ]
null
null
null
defmodule PhoenixRestApi.MixProject do use Mix.Project def project do [ app: :phoenix_rest_api, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases...
26
79
0.587011
ac3708a227e4844cb5138ef761ab8a5804adbd41
28,583
ex
Elixir
lib/aws/generated/work_spaces.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/work_spaces.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/work_spaces.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "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.WorkSpaces do @moduledoc """ Amazon WorkSpaces Service Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows and Amazon Linux desktops for your users. """ ...
43.638168
192
0.747927
ac370bfa39591762d80c64063a72793aea3baf70
5,240
ex
Elixir
lib/quixir/props.ex
pragdave/quixir
20381d1b9e7ec5854388dde1569e34a369bfe502
[ "Apache-2.0" ]
280
2016-07-27T06:58:40.000Z
2022-03-18T21:27:33.000Z
lib/quixir/props.ex
pragdave/quixir
20381d1b9e7ec5854388dde1569e34a369bfe502
[ "Apache-2.0" ]
17
2016-11-30T07:26:05.000Z
2020-06-04T22:15:23.000Z
lib/quixir/props.ex
pragdave/quixir
20381d1b9e7ec5854388dde1569e34a369bfe502
[ "Apache-2.0" ]
14
2016-08-05T14:05:13.000Z
2018-03-14T15:26:23.000Z
defmodule Quixir.Props do alias Quixir.Shrinker @doc """ The call ptest v1: type1, v2: type2 do « code to test » end sets up a property-based test. `v1` and `v2` are names of variables that will be set to values of types `type1` and `type2` in the block. The block is run multiple tim...
23.926941
82
0.572137
ac370c0b1b2f6f550a7fb8469827f278dc84f04b
1,418
ex
Elixir
lib/hedwig_trivia/responders.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
null
null
null
lib/hedwig_trivia/responders.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
2
2019-12-04T20:59:47.000Z
2019-12-04T21:00:14.000Z
lib/hedwig_trivia/responders.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
2
2019-12-04T16:21:06.000Z
2019-12-25T03:10:33.000Z
defmodule HedwigTrivia.Responders do @moduledoc """ Let's play trivia! This module holds the responders to interact with HedwigTrivia. """ use Hedwig.Responder @fetcher Application.get_env(:hedwig_trivia, :fetcher, HedwigTrivia) @usage """ hedwig trivia - displays a trivia category and question ""...
21.815385
79
0.598731
ac371263f2225e790e9d80c5c3c4b7620e59a474
22,505
exs
Elixir
lib/elixir/test/elixir/string_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/test/elixir/string_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule StringTest do use ExUnit.Case, async: true doctest String test "next codepoint" do assert String.next_codepoint("ésoj") == {"é", "soj"} assert String.next_codepoint(<<255>>) == {<<255>>, ""} assert String.next_codepoint("") == nil end # te...
41.067518
211
0.560764
ac372107529523fc3357996903b266fbe7d5f11a
663
exs
Elixir
test/validation/rules/credit_card/amex_test.exs
elixir-validation/validation
164a62c881e03a307172e4a20413f81260abb2dc
[ "MIT" ]
60
2019-09-13T13:37:01.000Z
2021-01-06T05:20:32.000Z
test/validation/rules/credit_card/amex_test.exs
elixir-validation/validation
164a62c881e03a307172e4a20413f81260abb2dc
[ "MIT" ]
1
2019-12-16T13:57:22.000Z
2019-12-16T13:57:22.000Z
test/validation/rules/credit_card/amex_test.exs
elixir-validation/validation
164a62c881e03a307172e4a20413f81260abb2dc
[ "MIT" ]
5
2019-09-13T19:14:24.000Z
2019-11-26T17:33:08.000Z
defmodule Validation.Rules.CreditCard.AmexTest do use ExUnit.Case alias Validation.Rules.CreditCard.Amex, as: V doctest Validation test "valid credit card - amex" do assert V.validate?("340-3161-9380-9364") end test "invalid credit card - amex" do refute V.validate?("6011000990139424") # disco...
33.15
57
0.680241
ac374e1896256134faed54216b5e199a1cc02570
2,813
exs
Elixir
farmbot_os/config/target/prod.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_os/config/target/prod.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_os/config/target/prod.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
use Mix.Config local_file = Path.join(System.user_home!(), ".ssh/id_rsa.pub") local_key = if File.exists?(local_file), do: [File.read!(local_file)], else: [] config :nerves_firmware_ssh, authorized_keys: local_key config :vintage_net, regulatory_domain: "00", persistence: VintageNet.Persistence.Null, config: ...
31.606742
91
0.775684
ac37780860102859b943d27d383b1c0eaefa06b6
1,130
ex
Elixir
lib/mix/lib/mix/shell/quiet.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell/quiet.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell/quiet.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Shell.Quiet do @moduledoc """ This is Mix's default shell when the `MIX_QUIET` environment variable is set. It's just like `Mix.Shell.IO`, but prints far less. """ @behaviour Mix.Shell @doc """ Prints the current application if it was not printed yet. """ defdelegate print_app, to...
21.320755
68
0.650442
ac37885cac323aba8c9a4c88a0aadf31dffd5e68
2,915
ex
Elixir
data/route/route3.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
12
2018-06-15T10:18:43.000Z
2022-01-24T12:50:54.000Z
data/route/route3.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
15
2018-06-21T18:04:12.000Z
2021-10-16T12:54:39.000Z
data/route/route3.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
2
2020-03-09T19:21:36.000Z
2022-01-16T03:29:51.000Z
defmodule Data.Route.Route3 do @behaviour Route.Behaviour def id(), do: "3" def type(), do: :alltag def color(), do: "#e8430b" def name(), do: "Alltagsroute 3" def article(), do: "alltagsroute-3" def osm_relation_ref(), do: "https://www.openstreetmap.org/relation/194840" forward = %Video.Track{ gr...
42.246377
77
0.606861
ac3806f9c0d6bd506c025c83b07c97bd9ad93b9c
156
exs
Elixir
elixir/hello-world/hello_world.exs
bwheel/exercism
6648252bf61f0782ff0a0469ce0df6bf483b3d4d
[ "MIT" ]
null
null
null
elixir/hello-world/hello_world.exs
bwheel/exercism
6648252bf61f0782ff0a0469ce0df6bf483b3d4d
[ "MIT" ]
null
null
null
elixir/hello-world/hello_world.exs
bwheel/exercism
6648252bf61f0782ff0a0469ce0df6bf483b3d4d
[ "MIT" ]
null
null
null
defmodule HelloWorld do @doc """ Simply returns "Hello, World!" """ @spec hello :: String.t() def hello do "Hello, World!" end end
15.6
33
0.570513
ac380cfedab296a4a5c67adf6862133cbe48fffe
343
exs
Elixir
priv/repo/seeds.exs
ponyatov/zay
12a4f5dcdc9d3ae535ae8c179c13192a70383f6f
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
ponyatov/zay
12a4f5dcdc9d3ae535ae8c179c13192a70383f6f
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
ponyatov/zay
12a4f5dcdc9d3ae535ae8c179c13192a70383f6f
[ "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: # # Zay.Repo.insert!(%Zay.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail if...
28.583333
61
0.699708
ac381a52baee4dbdca76478324d96e507659451d
838
ex
Elixir
lib/bridge/application.ex
micahrye/bridge
d9e3f4b4554400bea1667473315745c5b7899e5b
[ "MIT" ]
null
null
null
lib/bridge/application.ex
micahrye/bridge
d9e3f4b4554400bea1667473315745c5b7899e5b
[ "MIT" ]
null
null
null
lib/bridge/application.ex
micahrye/bridge
d9e3f4b4554400bea1667473315745c5b7899e5b
[ "MIT" ]
null
null
null
defmodule Bridge.Application do @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec children = [ # :unique option means that each key will point to a unique value supervisor(Registry, [:unique, :api_bridge_registry]), supervisor(Bridge.Supervisor, []) ...
27.933333
78
0.687351
ac381a9066bc8fb35fb9b1e2d3c2deb895974675
72
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/57.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/57.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set3/TrainingInstances/57.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** noun cm conj particle adverb; noun cm verb cm verb;
14.4
30
0.708333
ac38410fdaa663a5d7bbd2761205ac4f8f9fc102
808
ex
Elixir
lib/future_made_concerts_web/views/show_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts_web/views/show_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts_web/views/show_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
defmodule FutureMadeConcertsWeb.ShowView do @moduledoc false use FutureMadeConcertsWeb, :view alias FutureMadeConcerts.Spotify.Schema.Show alias FutureMadeConcertsWeb.EpisodeView @default_artwork "https://via.placeholder.com/300" @spec artwork(Show.t()) :: String.t() defp artwork(%Show{thumbnails: thum...
26.933333
77
0.706683
ac38434fc990d0b6cffc6a5ba09ae612200245f1
785
exs
Elixir
test/test_helper.exs
am-kantox/tarearbol
37bac59178940df4c72bf942dd08d8acca505130
[ "MIT" ]
49
2017-07-22T12:25:46.000Z
2022-02-12T20:29:36.000Z
test/test_helper.exs
am-kantox/tarearbol
37bac59178940df4c72bf942dd08d8acca505130
[ "MIT" ]
15
2017-07-21T13:17:32.000Z
2021-02-25T05:40:11.000Z
test/test_helper.exs
am-kantox/tarearbol
37bac59178940df4c72bf942dd08d8acca505130
[ "MIT" ]
4
2017-10-26T10:28:00.000Z
2019-09-13T08:04:01.000Z
defmodule Tarearbol.TestTask do def run_raise() do if Enum.random([1, 2]) == 1, do: {:ok, 42}, else: raise("¡!") end def run_error() do if Enum.random([1, 2]) == 1, do: {:ok, 42}, else: {:error, 42} end def run_value() do if Enum.random([1, 2]) == 1, do: 42, else: {:error, 42} end end defmodu...
21.216216
66
0.615287
ac386082392140a58d30bcca582489ddd5ba1cbd
1,578
exs
Elixir
elm_elixir/mix.exs
leadbrain/tutorial
97ff8fa72829080b79e5ae32541e04897f31326d
[ "MIT" ]
null
null
null
elm_elixir/mix.exs
leadbrain/tutorial
97ff8fa72829080b79e5ae32541e04897f31326d
[ "MIT" ]
null
null
null
elm_elixir/mix.exs
leadbrain/tutorial
97ff8fa72829080b79e5ae32541e04897f31326d
[ "MIT" ]
null
null
null
defmodule Tutorial.Mixfile do use Mix.Project def project do [ app: :tutorial, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), deps...
25.868852
79
0.57858
ac3886e6a070b8c41cb2fe545f9ca8c9ba645814
8,264
ex
Elixir
lib/policr_mini_web/controllers/admin/api/chat_controller.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
null
null
null
lib/policr_mini_web/controllers/admin/api/chat_controller.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
null
null
null
lib/policr_mini_web/controllers/admin/api/chat_controller.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
null
null
null
defmodule PolicrMiniWeb.Admin.API.ChatController do @moduledoc """ 和 Chat 相关的后台 API 控制器。 """ use PolicrMiniWeb, :controller alias PolicrMini.{ Instances, Chats, ChatBusiness, CustomKitBusiness, PermissionBusiness, VerificationBusiness, OperationBusiness } alias PolicrMini.In...
28.013559
97
0.598379
ac3887f48bf64eb6a457adc429fd1e81b845aa48
1,172
ex
Elixir
lib/glimesh/charts/platform_user_growth.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
1
2020-08-02T00:12:28.000Z
2020-08-02T00:12:28.000Z
lib/glimesh/charts/platform_user_growth.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh/charts/platform_user_growth.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule Glimesh.Charts.PlatformUserGrowth do @moduledoc false defmodule WeekData do @moduledoc false defstruct [:week_date, :users_new, :users_total] end defp query do """ with timeframe as ( select generate_series('2020-06-22', current_date, '1 week'::interval) week_date ) ...
23.918367
88
0.575085
ac38bf1491d758e6ce2f964190d2b56810d8922b
337
ex
Elixir
lib/extensions/reset_password/phoenix/router.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
lib/extensions/reset_password/phoenix/router.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
lib/extensions/reset_password/phoenix/router.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
defmodule PowResetPassword.Phoenix.Router do @moduledoc false use Pow.Extension.Phoenix.Router.Base defmacro routes(_config) do quote location: :keep do resources "/reset-password", ResetPasswordController, only: [:new, :create, :update] get "/reset-password/:id", ResetPasswordController, :edit ...
28.083333
90
0.72997
ac38e5c984d186652535635a23ec4dd32951bf16
414
ex
Elixir
apps/admin_api/lib/admin_api/v1/views/mint_view.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/admin_api/lib/admin_api/v1/views/mint_view.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/views/mint_view.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.MintView do use AdminAPI, :view alias EWallet.Web.V1.{MintSerializer, ResponseSerializer} def render("mint.json", %{mint: mint}) do mint |> MintSerializer.serialize() |> ResponseSerializer.serialize(success: true) end def render("mints.json", %{mints: mints}) do mints ...
24.352941
59
0.700483
ac3909fcfd69cef6d7552e93bf648efc1774e623
62
ex
Elixir
unsilo/lib/unsilo_web/views/session_view.ex
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
1
2019-03-21T02:43:06.000Z
2019-03-21T02:43:06.000Z
unsilo/lib/unsilo_web/views/session_view.ex
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
3
2021-03-09T01:43:16.000Z
2022-02-10T17:04:55.000Z
unsilo/lib/unsilo_web/views/session_view.ex
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
null
null
null
defmodule UnsiloWeb.SessionView do use UnsiloWeb, :view end
15.5
34
0.806452
ac3919e0519b424b11b24ec97c236dc42de46b1e
58
exs
Elixir
.formatter.exs
QuentinFchx/saj
55994df29f1e40b8c505096dcdbdd976975ad473
[ "MIT" ]
1
2017-02-01T13:06:15.000Z
2017-02-01T13:06:15.000Z
.formatter.exs
QuentinFchx/saj
55994df29f1e40b8c505096dcdbdd976975ad473
[ "MIT" ]
null
null
null
.formatter.exs
QuentinFchx/saj
55994df29f1e40b8c505096dcdbdd976975ad473
[ "MIT" ]
null
null
null
[ inputs: ["mix.exs", "{config,lib}/**/*.{ex,exs}"] ]
14.5
53
0.448276
ac3938ff5925b7eb2849c5c73d0b1817576b333b
1,322
ex
Elixir
test/support/resources/post.ex
simpers/ash_postgres
22ba737d0d1e57da3d3150bcf94961a99b145ae9
[ "MIT" ]
null
null
null
test/support/resources/post.ex
simpers/ash_postgres
22ba737d0d1e57da3d3150bcf94961a99b145ae9
[ "MIT" ]
null
null
null
test/support/resources/post.ex
simpers/ash_postgres
22ba737d0d1e57da3d3150bcf94961a99b145ae9
[ "MIT" ]
null
null
null
defmodule AshPostgres.Test.Post do @moduledoc false use Ash.Resource, data_layer: AshPostgres.DataLayer postgres do table "posts" repo AshPostgres.TestRepo end resource do base_filter(expr(type == type(:sponsored, ^Ash.Type.Atom))) end actions do read(:read) create :create do ...
21.672131
82
0.656581
ac39472ca719aa426250c365bef9850f4e441414
103
ex
Elixir
lib/jabbax/document/link.ex
surgeventures/jabbax
69c90ef620c5a44705015601e5f5a4dd739bd593
[ "MIT" ]
14
2017-03-20T12:43:20.000Z
2021-11-24T13:19:16.000Z
lib/jabbax/document/link.ex
surgeventures/jabbax
69c90ef620c5a44705015601e5f5a4dd739bd593
[ "MIT" ]
3
2017-04-27T15:00:33.000Z
2022-02-14T11:45:53.000Z
lib/jabbax/document/link.ex
surgeventures/jabbax
69c90ef620c5a44705015601e5f5a4dd739bd593
[ "MIT" ]
1
2019-09-09T13:57:58.000Z
2019-09-09T13:57:58.000Z
defmodule Jabbax.Document.Link do @moduledoc false defstruct href: nil, meta: %{} end
14.714286
33
0.640777
ac394c7e4623d25d238e5675e212b9bf760bbe72
1,570
exs
Elixir
.formatter.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
366
2019-07-12T22:43:35.000Z
2022-03-31T07:26:25.000Z
.formatter.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
114
2019-07-12T19:49:10.000Z
2022-03-23T10:48:48.000Z
.formatter.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
17
2019-07-23T15:16:34.000Z
2021-02-25T02:42:02.000Z
locals_without_parens = ~w[ temple c slot html head title style script noscript template body section nav article aside h1 h2 h3 h4 h5 h6 header footer address main p pre blockquote ol ul li dl dt dd figure figcaption div a em strong small s cite q dfn abbr data time code var samp kbd sub sup i b u mark...
44.857143
130
0.788535
ac396b4ed07f71ebf22979d5d111e215a7eee2c9
4,874
exs
Elixir
mix.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
mix.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
mix.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
defmodule EctoSQL.MixProject do use Mix.Project @version "3.5.0-rc.1" @adapters ~w(pg myxql tds) def project do [ app: :ecto_sql, version: @version, elixir: "~> 1.8", deps: deps(), test_paths: test_paths(System.get_env("ECTO_ADAPTER")), xref: [ exclude: [ ...
24.128713
90
0.558474
ac397155f02b2975490986f115fd9bbb0ef48cb6
18,294
exs
Elixir
test/teslamate_web/live/settings_test.exs
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
null
null
null
test/teslamate_web/live/settings_test.exs
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
null
null
null
test/teslamate_web/live/settings_test.exs
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.SettingsLiveTest do use TeslaMateWeb.ConnCase alias TeslaMate.{Settings, Locations, Repo} describe "global settings" do test "shows km and C by default", %{conn: conn} do assert {:ok, _view, html} = live(conn, "/settings") assert [ {"select", _, ...
35.800391
98
0.474691
ac3976d3c86615c47d1891a04181f98f9e8a4ac9
1,953
exs
Elixir
test/ecto/query/builder/filter_test.exs
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
test/ecto/query/builder/filter_test.exs
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
test/ecto/query/builder/filter_test.exs
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.Builder.FilterTest do use ExUnit.Case, async: true import Ecto.Query.Builder.Filter doctest Ecto.Query.Builder.Filter test "escape" do import Kernel, except: [==: 2, and: 2] assert escape(:where, quote do [] end, [x: 0], __ENV__) === {true, %{}} assert escape(:whe...
33.672414
111
0.535074
ac397fc099aae65b99382454a53ef122efa9fc5a
3,378
exs
Elixir
test/absinthe/phase/document/arguments/normalize_test.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
null
null
null
test/absinthe/phase/document/arguments/normalize_test.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
2
2020-07-21T05:23:37.000Z
2020-08-26T04:56:12.000Z
test/absinthe/phase/document/arguments/normalize_test.exs
jlgeering/absinthe
a3dbc29640d613928398626ad75a8f03203a1720
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Document.Arguments.NormalizeTest do use Absinthe.PhaseCase, phase: Absinthe.Phase.Document.Arguments.Normalize, schema: __MODULE__.Schema, async: true alias Absinthe.Blueprint defmodule Schema do use Absinthe.Schema query do field :foo, :foo do arg :id...
28.386555
95
0.595323
ac3982b341f394bdc072af97c66826ebdc1a2a3e
74
exs
Elixir
test/shopircruit.exs
martelogan/shopircruit-S2018
417e5aa9f86ab906cea6a1c2ec9e97788b7ccbf1
[ "Apache-2.0" ]
null
null
null
test/shopircruit.exs
martelogan/shopircruit-S2018
417e5aa9f86ab906cea6a1c2ec9e97788b7ccbf1
[ "Apache-2.0" ]
null
null
null
test/shopircruit.exs
martelogan/shopircruit-S2018
417e5aa9f86ab906cea6a1c2ec9e97788b7ccbf1
[ "Apache-2.0" ]
null
null
null
defmodule ShopircruitTest do use ExUnit.Case doctest Shopircruit end
12.333333
28
0.810811
ac3995b216a7e3c69773158d622fe4977664fdd6
1,534
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/authorization_logging_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/authorization_logging_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/game_services/lib/google_api/game_services/v1beta/model/authorization_logging_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.638298
108
0.755541
ac399944a7d3ba4c903250892fa8b0ee13f7643f
1,021
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20171115091302_encrypt_metadata.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/priv/repo/migrations/20171115091302_encrypt_metadata.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20171115091302_encrypt_metadata.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.Repo.Migrations.EncryptMetadata do use Ecto.Migration def up do alter table(:balance) do remove :metadata add :metadata, :binary add :encryption_version, :binary end create index(:balance, [:encryption_version]) alter table(:minted_token) do remove :meta...
21.723404
54
0.652302
ac39ae35eff1d761999cdd53aa6b20db2a5aa071
66,255
exs
Elixir
integration/mssql/cases/repo.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
integration/mssql/cases/repo.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
integration/mssql/cases/repo.exs
nikneroz/mssql_ecto
d010b6c9c9041756353fc8184fa7e6368103cfac
[ "Apache-2.0" ]
null
null
null
Code.require_file("../support/types.exs", __DIR__) defmodule Ecto.Integration.RepoTest do use Ecto.Integration.Case, async: Application.get_env(:ecto, :async_integration_tests, true) alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.User alias Ecto.I...
30.77334
112
0.574492
ac39ae7c4901009dd023d421506ba9263244c4d7
1,401
ex
Elixir
phoenix/web/models/session_store.ex
sap-archive/jam-login-microservice
9f4e9d465c8e3913754fb73d08a68b4e8f13a8d2
[ "Apache-2.0" ]
1
2020-01-03T16:00:09.000Z
2020-01-03T16:00:09.000Z
phoenix/web/models/session_store.ex
SAP/jam-login-microservice
9f4e9d465c8e3913754fb73d08a68b4e8f13a8d2
[ "Apache-2.0" ]
null
null
null
phoenix/web/models/session_store.ex
SAP/jam-login-microservice
9f4e9d465c8e3913754fb73d08a68b4e8f13a8d2
[ "Apache-2.0" ]
null
null
null
defmodule LoginProxy.SessionStore do defstruct [ :username, :email, :firstname, :lastname ] require Logger alias LoginProxy.Redis def save(bare_key, params) do key = prefix() <> bare_key value = Poison.encode!(%__MODULE__{ username: params["username"], email: params["email"], f...
25.472727
94
0.576017
ac39b95f709acad2b78b270ff772c9c8b824b929
995
ex
Elixir
web/views/error_helpers.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
web/views/error_helpers.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
web/views/error_helpers.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.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 :span, translate_error(error), ...
27.638889
76
0.674372
ac39d8a47a1a12f540baa3514b3198e2d554637e
518
exs
Elixir
apps/calgy/priv/repo/migrations/20170919083943_create_events.exs
calgy/calgy
624790f1299271010f963359a7e94097277a9ee8
[ "MIT" ]
1
2017-09-18T08:54:46.000Z
2017-09-18T08:54:46.000Z
apps/calgy/priv/repo/migrations/20170919083943_create_events.exs
calgy/calgy
624790f1299271010f963359a7e94097277a9ee8
[ "MIT" ]
null
null
null
apps/calgy/priv/repo/migrations/20170919083943_create_events.exs
calgy/calgy
624790f1299271010f963359a7e94097277a9ee8
[ "MIT" ]
null
null
null
defmodule Calgy.Repo.Migrations.CreateEvents do use Ecto.Migration def change do create table(:events, primary_key: false) do add :id, :binary_id, primary_key: true add :title, :text, null: false add :start_at, :utc_datetime, null: false add :end_at, :utc_datetime add :description...
27.263158
88
0.677606
ac39fc73aecf091cbb4539e4320291106331cebe
2,575
ex
Elixir
elixir/lib/homework_web/resolvers/transactions_resolver.ex
danrix89/web-homework
4d47485c33b9a712b7847b1bfb36576b8337a474
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/transactions_resolver.ex
danrix89/web-homework
4d47485c33b9a712b7847b1bfb36576b8337a474
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/transactions_resolver.ex
danrix89/web-homework
4d47485c33b9a712b7847b1bfb36576b8337a474
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Resolvers.TransactionsResolver do alias Homework.Merchants alias Homework.Transactions alias Homework.Users alias HomeworkWeb.Resolvers.Utils.MoneyTypeConverter @money_fields [:amount] @doc """ Get a list of transactions """ def transactions(_root, %{start_date: _start_date, en...
29.597701
100
0.694757
ac3a448e3de42af97597b332364b3d43be4a6d15
518
ex
Elixir
parser/lib/object/media_type.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
143
2020-12-01T06:53:36.000Z
2022-03-24T02:33:01.000Z
parser/lib/object/media_type.ex
yidaoit/quenya
45fe42c32829a1a2499d325e592553061b876ef8
[ "MIT" ]
2
2020-11-30T05:30:42.000Z
2020-12-17T06:33:17.000Z
parser/lib/object/media_type.ex
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
12
2020-12-07T01:22:17.000Z
2020-12-27T12:49:39.000Z
defmodule QuenyaParser.Object.MediaType do @moduledoc """ License object """ use TypedStruct alias QuenyaParser.Object.{MediaType, Util} typedstruct do @typedoc "Media Type Object from the spec, we won't support `encoding` field at the moment" field(:schema, ExJsonSchema.Schema.Root) field(:ex...
22.521739
95
0.687259
ac3a4b157f9f2b2e79709de1eea8d44f97c4ba28
3,347
ex
Elixir
apps/discovery_api/test/utils/auth_helper.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/discovery_api/test/utils/auth_helper.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/discovery_api/test/utils/auth_helper.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryApi.Test.AuthHelper do @moduledoc """ Helper functions and valid values for testing auth things. """ def valid_jwks() do %{ "keys" => [ %{ "kid" => "abc", "x5c" => ["123"] }, %{ "alg" => "RS256", "e" => "AQAB", ...
71.212766
1,074
0.845533
ac3a4e0dba5afabd53aac5545c20dbdc9a88b4fb
3,741
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/package_issue.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/package_issue.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/package_issue.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
52.690141
236
0.716119
ac3abe7a907dee8b197d23dd82ead583f6f36a7c
4,183
exs
Elixir
hexdocs__pm__phoenix__up_and_running.html/hello/test/hello/cms_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/test/hello/cms_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/test/hello/cms_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule Hello.CMSTest do use Hello.DataCase alias Hello.CMS describe "pages" do alias Hello.CMS.Page @valid_attrs %{body: "some body", title: "some title", views: 42} @update_attrs %{body: "some updated body", title: "some updated title", views: 43} @invalid_attrs %{body: nil, title: nil, vie...
30.757353
86
0.639493
ac3acd0d49c1acaf4398d58ef1d0f682294f412d
2,930
ex
Elixir
lib/hierbautberlin_web/live/map_live.ex
gildesmarais/website-1
7a19bd98d06a064e52fa279e226002e9c3b986f0
[ "MIT" ]
null
null
null
lib/hierbautberlin_web/live/map_live.ex
gildesmarais/website-1
7a19bd98d06a064e52fa279e226002e9c3b986f0
[ "MIT" ]
null
null
null
lib/hierbautberlin_web/live/map_live.ex
gildesmarais/website-1
7a19bd98d06a064e52fa279e226002e9c3b986f0
[ "MIT" ]
null
null
null
defmodule HierbautberlinWeb.MapLive do use HierbautberlinWeb, :live_view alias Hierbautberlin.GeoData @lat_default 52.5166309 @lng_default 13.3781537 @zoom_default 15 @impl true def mount(params, _session, socket) do coordinates = calculate_coordinates(params) items = GeoData.get_items_near(co...
23.253968
81
0.631741
ac3ae2e3321e83f4b7b00c63a9d179d607cb6d50
785
ex
Elixir
lib/blockchain_api/query/security_transaction.ex
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
lib/blockchain_api/query/security_transaction.ex
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
lib/blockchain_api/query/security_transaction.ex
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
defmodule BlockchainAPI.Query.SecurityTransaction do @moduledoc false import Ecto.Query, warn: false alias BlockchainAPI.{Repo, Schema.SecurityTransaction} def list(_params) do SecurityTransaction |> order_by([ct], desc: ct.id) |> Repo.replica.all() end def get_balance(address) do res = ...
20.128205
56
0.615287
ac3ae633d6166435c4465afd63fa9b93814846a7
448
ex
Elixir
lib/pushest/socket/data/state.ex
bigardone/pushest
3b2712a816f4bab940bd0f5db53b950a04e21401
[ "MIT" ]
null
null
null
lib/pushest/socket/data/state.ex
bigardone/pushest
3b2712a816f4bab940bd0f5db53b950a04e21401
[ "MIT" ]
null
null
null
lib/pushest/socket/data/state.ex
bigardone/pushest
3b2712a816f4bab940bd0f5db53b950a04e21401
[ "MIT" ]
null
null
null
defmodule Pushest.Socket.Data.State do @moduledoc ~S""" Structure representing whole App state being held in GenServer process. """ alias Pushest.Socket.Data.{SocketInfo, Url, Presence} alias Pushest.Data.Options defstruct url: %Url{}, options: %Options{}, socket_info: %SocketInfo{...
26.352941
73
0.616071
ac3aed6c1399fd6a81a4fa4e98138946ec832f09
2,618
exs
Elixir
apps/ewallet/test/ewallet/permissions/bouncer/helper_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/ewallet/permissions/bouncer/helper_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/ewallet/permissions/bouncer/helper_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.926829
85
0.68029
ac3aff6ad740af861ff92bd5f21ca9d1d4dd07db
10,275
exs
Elixir
test/elexir/fsm_test.exs
jonnystorm/elexir
ef197f7c592f1eaa628fcd0970bec856e933284f
[ "WTFPL" ]
null
null
null
test/elexir/fsm_test.exs
jonnystorm/elexir
ef197f7c592f1eaa628fcd0970bec856e933284f
[ "WTFPL" ]
null
null
null
test/elexir/fsm_test.exs
jonnystorm/elexir
ef197f7c592f1eaa628fcd0970bec856e933284f
[ "WTFPL" ]
2
2021-03-06T19:04:53.000Z
2021-03-07T12:27:54.000Z
defmodule Elexir.FSMTest do use ExUnit.Case import Elexir.FSM test "returns empty list for empty path" do assert paths_to_patterns([[]]) == [] end test "generates regex for path with one token" do paths = [[{"an-token", 1}]] assert paths_to_patterns(paths) == [~r/^an-token$/] end test "ge...
38.197026
107
0.418394
ac3b0a9d64a04fc7f436a3f349967a04ee7d55cc
1,962
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.470588
210
0.749745
ac3b0eaf8832cf85f2a1dbb97ae6409cf3f3ae11
894
ex
Elixir
lib/ex_matchers/greater_or_equal_than.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
7
2016-07-11T13:17:34.000Z
2019-07-24T18:27:02.000Z
lib/ex_matchers/greater_or_equal_than.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
2
2017-09-15T21:37:01.000Z
2021-07-23T19:13:12.000Z
lib/ex_matchers/greater_or_equal_than.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
1
2017-09-15T21:39:22.000Z
2017-09-15T21:39:22.000Z
defmodule ExMatchers.GreaterOrEqualThan do @moduledoc false import ExUnit.Assertions import ExMatchers.Custom defprotocol GreaterOrEqualThanMatcher do @fallback_to_any true def to_match(actual, another) def to_not_match(actual, another) end defimpl GreaterOrEqualThanMatcher, for: [Integer, Fl...
27.090909
82
0.736018
ac3b105d2f372b6116c8616e4e548b9246eff497
1,127
ex
Elixir
clients/text_to_speech/lib/google_api/text_to_speech/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/lib/google_api/text_to_speech/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/text_to_speech/lib/google_api/text_to_speech/v1/connection.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...
34.151515
74
0.74268
ac3b1907033a42b6064bcf812cddc1cb8d328015
2,331
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_video_event_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_video_event_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_video_event_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.421875
195
0.760189
ac3b30359419a01963029bc7a5feb61399326614
2,997
ex
Elixir
clients/content/lib/google_api/content/v2/model/datafeed.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeed.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeed.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.434783
164
0.734067
ac3b7e99101f75eec6f6aa098a2c0d148f6c57c1
26
ex
Elixir
info_meet/lib/info_meet.ex
Koziolek/InfoMeet26112016
bfe04a1c9686e1a3b2cf6b0585768b0aa98fceec
[ "MIT" ]
1
2016-11-28T15:23:51.000Z
2016-11-28T15:23:51.000Z
info_meet/lib/info_meet.ex
Koziolek/InfoMeet26112016
bfe04a1c9686e1a3b2cf6b0585768b0aa98fceec
[ "MIT" ]
null
null
null
info_meet/lib/info_meet.ex
Koziolek/InfoMeet26112016
bfe04a1c9686e1a3b2cf6b0585768b0aa98fceec
[ "MIT" ]
null
null
null
defmodule InfoMeet do end
8.666667
21
0.846154
ac3b9b008986500ea8b71d465417d09c91a0a64b
1,671
ex
Elixir
lib/fish/marketing.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
1
2021-02-09T23:49:40.000Z
2021-02-09T23:49:40.000Z
lib/fish/marketing.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
lib/fish/marketing.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
defmodule Fish.Marketing do @moduledoc """ The Marketing context. """ import Ecto.Query, warn: false alias Fish.Repo alias Fish.Marketing.Blog @doc """ Returns the list of blogs. ## Examples iex> list_blogs() [%Blog{}, ...] """ def list_blogs do Repo.all(Blog) end @doc "...
15.914286
59
0.564333
ac3ba99710cf8f0ec51683b41edb085badb8404e
1,055
exs
Elixir
config/dev.exs
cazrin/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
50
2016-01-24T11:45:47.000Z
2016-08-26T20:20:20.000Z
config/dev.exs
dnlgrv/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
1
2016-01-24T20:21:19.000Z
2016-01-28T11:26:10.000Z
config/dev.exs
dnlgrv/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
3
2017-03-17T12:46:09.000Z
2021-01-14T19:41:01.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :stranger, Stranger.Endpoint, http: [port: 400...
31.029412
74
0.707109
ac3bc2d0adea89bc12395f6085663ac59e85d884
1,478
ex
Elixir
test/support/pages/case_investigation_isolation_monitoring.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/pages/case_investigation_isolation_monitoring.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/pages/case_investigation_isolation_monitoring.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Test.Pages.CaseInvestigationIsolationMonitoring do import ExUnit.Assertions import Phoenix.LiveViewTest alias Epicenter.Cases.CaseInvestigation alias Epicenter.Test alias EpicenterWeb.Test.Pages alias Phoenix.LiveViewTest.View def visit(%Plug.Conn{} = conn, %CaseInvestigation{id: ...
32.844444
103
0.717862
ac3beb44118afbff6e87203a29a3edb6e600d836
2,624
exs
Elixir
test/dictator_test.exs
pedromlcosta/dictator
1b81c6a7c340b0c8338fd69c8123827a97d0ce06
[ "0BSD" ]
1
2020-11-20T16:42:08.000Z
2020-11-20T16:42:08.000Z
test/dictator_test.exs
pedromlcosta/dictator
1b81c6a7c340b0c8338fd69c8123827a97d0ce06
[ "0BSD" ]
null
null
null
test/dictator_test.exs
pedromlcosta/dictator
1b81c6a7c340b0c8338fd69c8123827a97d0ce06
[ "0BSD" ]
null
null
null
defmodule DictatorTest do use ExUnit.Case, async: true alias Dictator.Test.MessageSending describe "call/2" do test "uses the correct policy" do conn = build_conn() Dictator.call(conn, []) assert_receive {:can?, %{id: 1}, :show, %{resource: _}} end test "loads the correct resour...
24.296296
82
0.622332
ac3bf6123867997643e9da55a0aed8381eb36822
297
ex
Elixir
lib/ex_bank_id/qr.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
15
2020-08-05T11:20:03.000Z
2021-09-22T15:20:41.000Z
lib/ex_bank_id/qr.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
9
2020-08-10T14:42:27.000Z
2021-06-14T14:45:05.000Z
lib/ex_bank_id/qr.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
2
2020-08-10T13:42:15.000Z
2020-10-03T04:10:06.000Z
defmodule ExBankID.Qr do @static_token_prefix "bankid:///?autostarttoken=" def static_qr(%ExBankID.Auth.Response{autoStartToken: token}) do @static_token_prefix <> token end def static_qr(%ExBankID.Sign.Response{autoStartToken: token}) do @static_token_prefix <> token end end
24.75
66
0.750842
ac3c08dc0e15239190e4b97fd04e2df83bf20947
8,582
ex
Elixir
lib/ash/query/boolean_expression.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
lib/ash/query/boolean_expression.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
lib/ash/query/boolean_expression.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
defmodule Ash.Query.BooleanExpression do @moduledoc "Represents a boolean expression" @dialyzer {:nowarn_function, optimized_new: 4} alias Ash.Query.Operator.{Eq, In, NotEq} alias Ash.Query.Ref defstruct [:op, :left, :right] def new(_, nil, nil), do: nil def new(_, left, nil), do: left def new(_, nil...
26.006061
99
0.577255
ac3c3fea98d363d212a361806ccbc530fda774de
10,517
ex
Elixir
lib/hexpm/repository/releases.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
2
2020-03-01T18:23:33.000Z
2021-01-15T10:15:45.000Z
lib/hexpm/repository/releases.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
3
2020-06-30T11:24:41.000Z
2020-08-05T15:47:34.000Z
lib/hexpm/repository/releases.ex
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repository.Releases do use Hexpm.Context @publish_timeout 60_000 def all(package) do Release.all(package) |> Repo.all() |> Release.sort() end def recent(repository, count) do Repo.all(Release.recent(repository, count)) end def count() do Repo.one!(Release.count()) ...
30.841642
99
0.667205
ac3c44d684d89bb57ad90b764e5f72770d241702
569
exs
Elixir
banana/mix.exs
felix-starman/what_is_pattern_matching_and_how_to_use_the_debugger
5d21c304ff594a6a4a3c56bc046903187d5eaf4f
[ "MIT" ]
null
null
null
banana/mix.exs
felix-starman/what_is_pattern_matching_and_how_to_use_the_debugger
5d21c304ff594a6a4a3c56bc046903187d5eaf4f
[ "MIT" ]
null
null
null
banana/mix.exs
felix-starman/what_is_pattern_matching_and_how_to_use_the_debugger
5d21c304ff594a6a4a3c56bc046903187d5eaf4f
[ "MIT" ]
null
null
null
defmodule Banana.MixProject do use Mix.Project def project do [ app: :banana, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_appli...
19.62069
87
0.574692
ac3c54e940499fd70e3cff7b8cad69c547810932
1,257
exs
Elixir
config/prod.secret.exs
daroca-eco-br/inventory
2250c3ed4147673e26f0db29199dd02adebcda8c
[ "MIT" ]
null
null
null
config/prod.secret.exs
daroca-eco-br/inventory
2250c3ed4147673e26f0db29199dd02adebcda8c
[ "MIT" ]
null
null
null
config/prod.secret.exs
daroca-eco-br/inventory
2250c3ed4147673e26f0db29199dd02adebcda8c
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
29.928571
67
0.721559
ac3c7d64a829bf3536c83234abbea430cf832183
2,497
ex
Elixir
lib/vintage_net/command.ex
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
1
2019-05-08T19:09:17.000Z
2019-05-08T19:09:17.000Z
lib/vintage_net/command.ex
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/command.ex
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.Command do @moduledoc false @doc """ System.cmd wrapper to force paths This helper function updates calls to `System.cmd/3` to force them to use the PATHs configured on VintageNet for resolving where executables are. It has one major difference in API - if a command does not exist, a...
29.376471
83
0.659592
ac3c8b778dde4a9159d164d384740cb9320ad9c9
3,498
ex
Elixir
lib/perspective/request/action_request.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
2
2020-04-24T19:43:06.000Z
2020-04-24T19:52:27.000Z
lib/perspective/request/action_request.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
lib/perspective/request/action_request.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
defmodule Perspective.ActionRequest do defmacro validate_syntax(action_request, do: block) do calling_module = __CALLER__.module() quote do def validate_syntax(%unquote(calling_module){} = unquote(action_request)), do: unquote(block) defimpl Perspective.ActionRequest.SyntaxValidator, for: unquot...
33.961165
104
0.720698
ac3c8f7ef51817e189adf28d7452316e7a0495b4
1,258
ex
Elixir
lib/verk/time.ex
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
null
null
null
lib/verk/time.ex
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
null
null
null
lib/verk/time.ex
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
1
2018-12-04T03:50:36.000Z
2018-12-04T03:50:36.000Z
defmodule Verk.Time do @moduledoc """ Internal API for time management and comparison functions """ @doc false @spec now() :: DateTime.t def now do DateTime.utc_now end @doc """ Moves DateTime supplied the indicated amount of time. Supported units are those specified by `System.time_unit` "...
27.955556
89
0.693959
ac3c95ba6ea143e17ce42280bc2c45172e5998e5
195
exs
Elixir
priv/repo/migrations/20210820173313_modify_user_field_in_pools.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
priv/repo/migrations/20210820173313_modify_user_field_in_pools.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
priv/repo/migrations/20210820173313_modify_user_field_in_pools.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
defmodule EmployeeRewardApp.Repo.Migrations.ModifyUserFieldInPools do use Ecto.Migration def change do alter table(:pools) do remove :user_id, references(:users) end end end
19.5
69
0.74359
ac3caea5b9790d98603c45a1bb442769d0ba6935
2,257
exs
Elixir
mix.exs
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
1
2020-05-31T21:54:40.000Z
2020-05-31T21:54:40.000Z
mix.exs
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
64
2019-07-29T22:06:16.000Z
2022-03-28T23:46:58.000Z
mix.exs
magpie-ea/magpie-backend
f8fe118583f2460f4f3dc1daa8758b7b758ab606
[ "MIT" ]
1
2021-02-06T10:23:25.000Z
2021-02-06T10:23:25.000Z
defmodule Magpie.Mixfile do use Mix.Project def project do [ app: :magpie, version: "0.2.3", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() =...
29.697368
90
0.558263
ac3ccb59c4b2e0f1e434fe88ba61b1fc6d5eb570
210
exs
Elixir
test/photo_gallery_web/controllers/page_controller_test.exs
rayrrr/fameliphotos
cc928abdc6d761d76113067432e9d6d0fcb2507b
[ "MIT" ]
6
2019-10-08T01:30:08.000Z
2020-10-01T04:49:33.000Z
test/photo_gallery_web/controllers/page_controller_test.exs
rayrrr/fameliphotos
cc928abdc6d761d76113067432e9d6d0fcb2507b
[ "MIT" ]
null
null
null
test/photo_gallery_web/controllers/page_controller_test.exs
rayrrr/fameliphotos
cc928abdc6d761d76113067432e9d6d0fcb2507b
[ "MIT" ]
1
2019-11-08T22:58:31.000Z
2019-11-08T22:58:31.000Z
defmodule PhotoGalleryWeb.PageControllerTest do use PhotoGalleryWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23.333333
60
0.695238
ac3cdb22f548f6b1013e933778ff4de112490ffe
91
exs
Elixir
test/user_schema_test.exs
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
3
2017-04-02T11:17:31.000Z
2017-09-08T09:12:11.000Z
test/user_schema_test.exs
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
15
2017-02-11T01:08:54.000Z
2017-02-22T09:45:41.000Z
test/user_schema_test.exs
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
1
2018-06-19T04:10:53.000Z
2018-06-19T04:10:53.000Z
defmodule UserSchemaTest do use ExUnit.Case doctest UserManager.Schemas.UserSchema end
18.2
40
0.835165
ac3cdeda57026c257b996d8ecae3fac8ee849f6e
2,168
ex
Elixir
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/audit_log_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/audit_log_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/audit_log_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.971429
138
0.684502
ac3ce871e50ab700cc9a862608c20c198166beb9
2,258
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_iam_v1__set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
39.614035
178
0.741807
ac3ce8cfc18cec863b672648b1706eb5b4512904
16,297
ex
Elixir
lib/platformshconfig.ex
platformsh/config-reader-elixir
0b0d7a13f7d81447d5455e1b8e24f217f516a2cf
[ "MIT" ]
1
2019-09-16T02:20:20.000Z
2019-09-16T02:20:20.000Z
lib/platformshconfig.ex
platformsh/config-reader-elixir
0b0d7a13f7d81447d5455e1b8e24f217f516a2cf
[ "MIT" ]
null
null
null
lib/platformshconfig.ex
platformsh/config-reader-elixir
0b0d7a13f7d81447d5455e1b8e24f217f516a2cf
[ "MIT" ]
null
null
null
defmodule Platformsh.Config do @moduledoc """ Reads Platform.sh configuration from environment variables. See: https://docs.platform.sh/development/variables.html The following are 'magic' properties that may exist on a Config object. Before accessing a property, check its existence with hasattr(config, v...
29.523551
119
0.660551
ac3d0487c55962546e206aa9d8446742978f0960
4,704
exs
Elixir
apps/omg_watcher/test/omg_watcher/integration/in_flight_exit_test_3_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher/test/omg_watcher/integration/in_flight_exit_test_3_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher/test/omg_watcher/integration/in_flight_exit_test_3_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
32
118
0.68835
ac3d75ea827de5dbb2827d9a52499ca264ab2d05
1,482
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/person_cover_cover_photo.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/person_cover_cover_photo.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/person_cover_cover_photo.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
29.64
77
0.733468
ac3d98927900251f4080fc3fa858cd20acf974b6
697
exs
Elixir
mix.exs
boonious/origin_simulator
d3b8de70517b037faa24461e77c58d5f7e78f1c8
[ "MIT" ]
null
null
null
mix.exs
boonious/origin_simulator
d3b8de70517b037faa24461e77c58d5f7e78f1c8
[ "MIT" ]
null
null
null
mix.exs
boonious/origin_simulator
d3b8de70517b037faa24461e77c58d5f7e78f1c8
[ "MIT" ]
null
null
null
defmodule OriginSimulator.MixProject do use Mix.Project def project do [ app: :origin_simulator, version: "0.4.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do ...
20.5
59
0.53802
ac3dad8dfd9956978e61148f1441d573f1f95e39
3,106
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_size.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_size.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/creative_size.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.014493
178
0.721829
ac3dbc085544e6d9790f4bfabcc68597bf1fdc65
557
ex
Elixir
lib/coherence_social/web/router.ex
veverkap/coherence_social
45752db88b5c7c8220c96c4828adf58acf0a98d8
[ "MIT" ]
null
null
null
lib/coherence_social/web/router.ex
veverkap/coherence_social
45752db88b5c7c8220c96c4828adf58acf0a98d8
[ "MIT" ]
null
null
null
lib/coherence_social/web/router.ex
veverkap/coherence_social
45752db88b5c7c8220c96c4828adf58acf0a98d8
[ "MIT" ]
null
null
null
defmodule CoherenceSocial.Web.Router do use CoherenceSocial.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Coher...
20.62963
57
0.692998
ac3dc39bee5f634c38488674c0d2d785d4129e7e
2,304
ex
Elixir
lib/honeybadger/filter/mixin.ex
saneery/honeybadger-elixir
ac81da237ef9c138e322f8ee50f770d8f81c0c8b
[ "MIT" ]
null
null
null
lib/honeybadger/filter/mixin.ex
saneery/honeybadger-elixir
ac81da237ef9c138e322f8ee50f770d8f81c0c8b
[ "MIT" ]
null
null
null
lib/honeybadger/filter/mixin.ex
saneery/honeybadger-elixir
ac81da237ef9c138e322f8ee50f770d8f81c0c8b
[ "MIT" ]
null
null
null
defmodule Honeybadger.Filter.Mixin do @moduledoc """ A default implementation of `Honeybadger.Filter`. If you need to implement custom filtering for one or more of the elements in a `Honeybadger.Notice`, you can define your own filter module and register it in the config. E.g., if you wanted to filter the e...
32.450704
79
0.650608
ac3dd85a8d3ec9767dafab3035c7e0e4c2d6ddb7
714
exs
Elixir
mix.exs
andreineculau/rfc3339
9cde386543aef47654312ee3c49e03ec377ebf38
[ "Apache-2.0", "MIT" ]
null
null
null
mix.exs
andreineculau/rfc3339
9cde386543aef47654312ee3c49e03ec377ebf38
[ "Apache-2.0", "MIT" ]
null
null
null
mix.exs
andreineculau/rfc3339
9cde386543aef47654312ee3c49e03ec377ebf38
[ "Apache-2.0", "MIT" ]
1
2021-09-17T08:59:52.000Z
2021-09-17T08:59:52.000Z
defmodule RFC3339.Mixfile do use Mix.Project @version "0.2.1" def project do [app: :rfc3339, version: @version, description: description, elixir: "~> 1.2", package: package, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def appli...
19.833333
79
0.605042
ac3dec42ba5925deadf28fe8045743828592ab54
1,910
exs
Elixir
clients/network_management/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/network_management/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/network_management/mix.exs
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...
28.507463
154
0.667016
ac3dec6f2e4cb595f63263e72a04b3db82ba96ea
6,102
exs
Elixir
test/core/debug_test.exs
fishcakez/core
f4edccafdc339d227614ecdfd98d4939c9a5e6b7
[ "Apache-2.0" ]
36
2015-01-06T14:37:27.000Z
2021-04-23T20:08:40.000Z
test/core/debug_test.exs
fishcakez/core
f4edccafdc339d227614ecdfd98d4939c9a5e6b7
[ "Apache-2.0" ]
null
null
null
test/core/debug_test.exs
fishcakez/core
f4edccafdc339d227614ecdfd98d4939c9a5e6b7
[ "Apache-2.0" ]
6
2015-06-29T20:54:28.000Z
2020-10-05T07:04:05.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Core.DebugTest do use ExUnit.Case require Core.Debug setup_all do TestIO.setup_all() end setup do TestIO.setup() :ok end test "get/set default options" do assert Core.Debug.set_opts([{ :log, 10 }, { :stats, true }]) === :ok ...
32.983784
75
0.593904
ac3e0aec041815dd3dcb9e41b31dccfab409523b
1,927
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/model/subscription_trial_settings.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/subscription_trial_settings.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/subscription_trial_settings.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.784314
188
0.743124
ac3e2c5e8b4b0917de5f41863b88480b2553f1d8
8,385
ex
Elixir
lib/typed_ecto_schema.ex
kaylenmistry/typed_ecto_schema
0b6904787a01e382598e9de6bac3d741e2a2b957
[ "Apache-2.0" ]
102
2019-07-18T19:46:38.000Z
2022-03-31T18:09:28.000Z
lib/typed_ecto_schema.ex
kaylenmistry/typed_ecto_schema
0b6904787a01e382598e9de6bac3d741e2a2b957
[ "Apache-2.0" ]
19
2020-06-04T18:06:08.000Z
2022-03-31T15:58:01.000Z
lib/typed_ecto_schema.ex
kaylenmistry/typed_ecto_schema
0b6904787a01e382598e9de6bac3d741e2a2b957
[ "Apache-2.0" ]
9
2019-07-23T18:12:09.000Z
2022-03-03T16:24:28.000Z
defmodule TypedEctoSchema do @moduledoc """ TypedEctoSchema provides a DSL on top of `Ecto.Schema` to define schemas with typespecs without all the boilerplate code. ## Rationale Normally, when defining an `Ecto.Schema` you probably want to define: * the schema itself * the list of enforced keys (wh...
34.792531
114
0.6774
ac3e56f60856332aec0fd6fa93554afb843ecb17
1,663
ex
Elixir
lib/instream/data/write.ex
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
lib/instream/data/write.ex
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
lib/instream/data/write.ex
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
defmodule Instream.Data.Write do @moduledoc false alias Instream.Query @doc """ Determines the proper database to write points to. Later usage depends on the writer. """ @spec determine_database(map | [map], Keyword.t()) :: String.t() | nil def determine_database([point | _], opts) do determine_d...
23.757143
97
0.64101