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
38356fb4a276659510c181dda605cddccb4bdb91
2,706
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/integer_property_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/integer_property_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/integer_property_options.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...
48.321429
344
0.745381
3835737cc1ae657f6d5205d63e0515de4662e0fe
1,729
exs
Elixir
test/randomized_rolls_test.exs
rishenko/dice_roller
1cdea207a2a6007963e52dca817129245ffb470e
[ "Apache-2.0" ]
8
2018-09-24T22:37:07.000Z
2021-06-17T00:47:20.000Z
test/randomized_rolls_test.exs
rishenko/dice_roller
1cdea207a2a6007963e52dca817129245ffb470e
[ "Apache-2.0" ]
14
2018-10-05T11:17:45.000Z
2018-11-12T13:47:10.000Z
test/randomized_rolls_test.exs
rishenko/dice_roller
1cdea207a2a6007963e52dca817129245ffb470e
[ "Apache-2.0" ]
null
null
null
defmodule ExDiceRoller.RandomizedRollsTest do @moduledoc false use ExUnit.Case require Logger alias ExDiceRoller.RandomizedRolls test "randomized expression testing" do acceptable_errors = [ "neither number of dice nor number of sides can be less than 0", "the divisor cannot be 0", "th...
24.352113
95
0.642568
383595f6ac5ae9895a6d0c73089b648c3e892575
2,367
ex
Elixir
lib/mongo/pbkdf2.ex
IgorPolyakov/mongodb
8ffce5761590d608ab64b1eccfa9e21426cd38c5
[ "Apache-2.0" ]
286
2017-06-06T04:21:31.000Z
2021-09-11T16:37:59.000Z
lib/mongo/pbkdf2.ex
IgorPolyakov/mongodb
8ffce5761590d608ab64b1eccfa9e21426cd38c5
[ "Apache-2.0" ]
202
2017-05-28T13:22:01.000Z
2020-05-15T20:15:51.000Z
lib/mongo/pbkdf2.ex
IgorPolyakov/mongodb
8ffce5761590d608ab64b1eccfa9e21426cd38c5
[ "Apache-2.0" ]
120
2016-12-16T17:05:12.000Z
2020-05-15T16:20:17.000Z
defmodule Mongo.PBKDF2 do # From https://github.com/elixir-lang/plug/blob/ef616a9db9c87ec392dd8a0949bc52fafcf37005/lib/plug/crypto/key_generator.ex # with modifications @moduledoc """ `PBKDF2` implements PBKDF2 (Password-Based Key Derivation Function 2), part of PKCS #5 v2.0 (Password-Based Cryptography Spec...
31.56
123
0.665822
3835c04719296b54eebfddc23a553ceb630bc7ea
27
exs
Elixir
elixir/beer_song.exs
ryanfox1985/99_bottles
8cfa42658c9131cb0d41c8b23dfc3b00134b57ef
[ "MIT" ]
9
2017-11-07T19:12:06.000Z
2020-09-09T21:58:22.000Z
elixir/beer_song.exs
ryanfox1985/99_bottles
8cfa42658c9131cb0d41c8b23dfc3b00134b57ef
[ "MIT" ]
4
2017-12-16T14:14:31.000Z
2018-02-28T11:01:13.000Z
elixir/beer_song.exs
ryanfox1985/99_bottles
8cfa42658c9131cb0d41c8b23dfc3b00134b57ef
[ "MIT" ]
6
2017-10-30T18:24:14.000Z
2018-03-23T09:11:30.000Z
defmodule BeerSong do end
6.75
21
0.814815
3835dd709a12d633e15d14b4e338ea725b9e2700
2,236
ex
Elixir
backend/lib/kjer_si_web/controllers/helpers/accounts_helpers.ex
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
2
2019-11-02T21:28:34.000Z
2019-11-28T18:01:08.000Z
backend/lib/kjer_si_web/controllers/helpers/accounts_helpers.ex
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
17
2019-11-29T16:23:38.000Z
2022-02-14T05:11:41.000Z
backend/lib/kjer_si_web/controllers/helpers/accounts_helpers.ex
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
null
null
null
defmodule KjerSi.AccountsHelpers do import Plug.Conn alias KjerSi.Accounts defp get_token_from_conn(conn) do header = conn |> get_req_header("authorization") |> to_string match = Regex.named_captures(~r/^Bearer (?<token>[[:ascii:]]+)/, header) if match do {:ok, match["token"]} else ...
24.043011
88
0.601968
3835eac4eefaf87beb21091cb8d9904775c1f127
2,333
ex
Elixir
lib/peer_conn.ex
lerencao/peer_conn
f4b95a4f4d201f2c911b32dec617fc02249890ac
[ "MIT" ]
null
null
null
lib/peer_conn.ex
lerencao/peer_conn
f4b95a4f4d201f2c911b32dec617fc02249890ac
[ "MIT" ]
null
null
null
lib/peer_conn.ex
lerencao/peer_conn
f4b95a4f4d201f2c911b32dec617fc02249890ac
[ "MIT" ]
null
null
null
defmodule PeerConn do @moduledoc """ A Supervisor which supervise connections to multi peers. One can start http clients connecting to mulit api domains, and use it by name as needed. """ use Supervisor @doc """ Start a peer conn supervisor with registered name `name` (unless it is nil, which is the d...
24.051546
91
0.619374
38362807ad063086a3faee34346cf3472020247e
2,168
ex
Elixir
trial_server/lib/trial_server/trial.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
trial_server/lib/trial_server/trial.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
trial_server/lib/trial_server/trial.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
defmodule TrialServer.Trial do @solution ~r/^([0-9a-fA-F]{32}):(-?[0-9]+)/ def handle_packet({addr, port, "START"}) do {addr, port} |> new_trial() end def handle_packet({addr, port, data}) do case Regex.run(@solution, data) do [_, uuid, solution] -> handle_solution(addr, port, uuid, Str...
28.526316
76
0.575185
38362dc651be6fe2bb5a0e8698902b7f28a42742
1,689
exs
Elixir
code/tooling/pbt/test/describe.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/tooling/pbt/test/describe.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/tooling/pbt/test/describe.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
21.935065
85
0.626406
383642fcaedd1cc7c2cfa5729630bc52de094958
4,089
ex
Elixir
lib/petal_components/tabs.ex
thomasbrus/petal_components
e862861d10ff53e4e6e515183e2c635f2fbbc938
[ "MIT" ]
null
null
null
lib/petal_components/tabs.ex
thomasbrus/petal_components
e862861d10ff53e4e6e515183e2c635f2fbbc938
[ "MIT" ]
null
null
null
lib/petal_components/tabs.ex
thomasbrus/petal_components
e862861d10ff53e4e6e515183e2c635f2fbbc938
[ "MIT" ]
null
null
null
defmodule PetalComponents.Tabs do use Phoenix.Component import PetalComponents.Link # prop class, :string # prop underline, :boolean, default: false # slot default def tabs(assigns) do assigns = assigns |> assign_new(:underline, fn -> false end) |> assign_new(:class, fn -> "" end) ...
29
121
0.609929
38365cf43bfbab9bc284f2e332e6c3741f1f6db4
1,105
exs
Elixir
config/config.exs
gorkemduman/huth
5b8a4a85e905a79abac84db9bf54ce052360ea9c
[ "MIT" ]
null
null
null
config/config.exs
gorkemduman/huth
5b8a4a85e905a79abac84db9bf54ce052360ea9c
[ "MIT" ]
null
null
null
config/config.exs
gorkemduman/huth
5b8a4a85e905a79abac84db9bf54ce052360ea9c
[ "MIT" ]
1
2021-07-06T11:28:45.000Z
2021-07-06T11:28:45.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...
35.645161
73
0.753846
3836622626eeb4231a080346d20d0751f615ca59
417
ex
Elixir
web/models/tag.ex
beccanelson/8th-light-library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
null
null
null
web/models/tag.ex
beccanelson/8th-light-library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
9
2016-09-22T20:30:22.000Z
2016-09-22T21:00:53.000Z
web/models/tag.ex
beccanelson/library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
null
null
null
defmodule Bookish.Tag do use Bookish.Web, :model schema "tags" do field :text, :string many_to_many :book_metadata, Bookish.BookMetadata, join_through: Bookish.BookMetadataTags timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, param...
19.857143
94
0.659472
383665a1462d4d27a194dd2429bb24243d8d00f9
2,062
ex
Elixir
lib/graphql/response.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/graphql/response.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/graphql/response.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.GraphQL.Response do alias AbsintheErrorPayload.ValidationMessage @type t :: {:ok, nil | map() | list() | {:error, String.t()}} @doc """ Error tuple returned by Ecto or other services should not be treated as GraphQL errors, they are simply returned as a changeset or validation messages and ...
39.653846
107
0.631426
38368d57255769ca876fe0fa8e2c78b346c80b03
956
ex
Elixir
test/support/fixtures/computation_fixture.ex
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
test/support/fixtures/computation_fixture.ex
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
4
2021-12-07T12:26:50.000Z
2021-12-30T14:17:25.000Z
test/support/fixtures/computation_fixture.ex
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
defmodule AdaptableCostsEvaluator.Fixtures.ComputationFixture do use ExUnit.CaseTemplate alias AdaptableCostsEvaluator.Computations alias AdaptableCostsEvaluator.Computations.Computation alias AdaptableCostsEvaluator.Users.User using do quote do @valid_computation_attrs %{"name" => "some name"} ...
29.875
73
0.671548
3836b615b96c248d95877473ba66027a758af636
18,781
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/target_https_proxies.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_https_proxies.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_https_proxies.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...
62.395349
1,327
0.721101
3836ed86e49baddec0b59e9332ab48747ec231e4
1,130
ex
Elixir
lib/ex_nifcloud/request/request.ex
kzmake/ex_nifcloud
87e69bb78fba4132b767decbc33eeb10bd79c593
[ "MIT" ]
null
null
null
lib/ex_nifcloud/request/request.ex
kzmake/ex_nifcloud
87e69bb78fba4132b767decbc33eeb10bd79c593
[ "MIT" ]
null
null
null
lib/ex_nifcloud/request/request.ex
kzmake/ex_nifcloud
87e69bb78fba4132b767decbc33eeb10bd79c593
[ "MIT" ]
null
null
null
defmodule ExNifcloud.Request.HttpClient do @moduledoc """ Specifies expected behaviour of an http client ExAws allows you to use your http client of choice, provided that it can be coerced into complying with this module's specification. The default is :hackney. ## Example Here for example is the code re...
31.388889
107
0.624779
38371147273c840c3a0ad283dfc6b86414f5a8f3
142
ex
Elixir
lib/extripe/balance_history.ex
NarrativeApp/extripe
fc0c475e79fbf925c673ac4a67c27814c92839b6
[ "MIT" ]
28
2016-02-17T06:13:20.000Z
2022-01-31T20:25:26.000Z
lib/extripe/balance_history.ex
NarrativeApp/extripe
fc0c475e79fbf925c673ac4a67c27814c92839b6
[ "MIT" ]
17
2016-02-16T19:08:54.000Z
2021-07-23T04:10:15.000Z
lib/extripe/balance_history.ex
NarrativeApp/extripe
fc0c475e79fbf925c673ac4a67c27814c92839b6
[ "MIT" ]
6
2016-02-27T18:05:29.000Z
2019-08-01T20:27:35.000Z
defmodule Extripe.BalanceHistory do use Extripe.Actions.CRUD, only: [:index, :show], scope: {"balance", :singular}, resource: "history" end
35.5
101
0.732394
383726dea3ffee01eba34ea6913ed3be4590b634
1,668
exs
Elixir
config/test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
config/test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
config/test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
use Mix.Config config :oli, env: :test, s3_media_bucket_name: "torus-media-test", media_url: "d1od6xouqrpl5k.cloudfront.net", http_client: Oli.Test.MockHTTP, aws_client: Oli.Test.MockAws, slack_webhook_url: nil, branding: [ name: "OLI Torus Test", logo: "/images/oli_torus_logo.png", logo_dark...
27.8
93
0.744005
38374f533c73b6e57fc1b5c3cab23790021862d8
8,876
exs
Elixir
integration_test/cases/type.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
integration_test/cases/type.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
integration_test/cases/type.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
Code.require_file "../support/types.exs", __DIR__ defmodule Ecto.Integration.TypeTest do use Ecto.Integration.Case, async: true alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.Tag alias Ecto.Integration.Custom alias Ecto.Integration.Order alias Ect...
36.983333
111
0.60365
38376984042ca68c59069990b463ba109d89677c
918
exs
Elixir
mix.exs
piacerex/sphere
ef82055be4587880965109fb24a754ca85cf7167
[ "Apache-2.0" ]
5
2020-01-13T21:17:22.000Z
2021-05-16T07:17:50.000Z
mix.exs
piacerex/sphere
ef82055be4587880965109fb24a754ca85cf7167
[ "Apache-2.0" ]
1
2019-04-26T11:48:25.000Z
2019-04-26T11:49:12.000Z
mix.exs
piacerex/sphere
ef82055be4587880965109fb24a754ca85cf7167
[ "Apache-2.0" ]
1
2019-04-18T11:27:52.000Z
2019-04-18T11:27:52.000Z
defmodule Sphere.MixProject do use Mix.Project def project do [ app: :sphere, version: "0.1.1", elixir: "~> 1.8", description: "Markdown based easy CMS for Phoenix(Elixir Web Framework), it's generate Markdown files not using DB.", package: [ maintainers: [ "piacere-ex" ], lice...
24.810811
120
0.556645
383769cedceae98b55b40c54e00463b9742dc163
2,137
exs
Elixir
config/dev.exs
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
config/dev.exs
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
1
2020-08-04T19:50:09.000Z
2020-08-04T19:50:09.000Z
config/dev.exs
Bwuak/webchat
b6668be508481a1ff480303affaebdaf28604f41
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :webchat, Webchat.Repo, username: "postgres", password: "postgres", database: "webchat_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading...
27.753247
68
0.69022
38376ef8c976ebed28a2f179973ba0a2d7725e1f
1,669
ex
Elixir
web/web.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
1
2016-02-23T11:31:18.000Z
2016-02-23T11:31:18.000Z
web/web.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
web/web.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
defmodule BalanceSheet.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use BalanceSheet.Web, :controller use BalanceSheet.Web, :view The definitions below will be executed for every view, controller, etc, s...
20.353659
88
0.677052
3837fe53ddb6f8283740dc7abeb2605e59449838
74
exs
Elixir
hermes/test/views/layout_view_test.exs
jparr721/Hermes
0ce141897e292a6e4492461f6581f0619c43b8bf
[ "MIT" ]
null
null
null
hermes/test/views/layout_view_test.exs
jparr721/Hermes
0ce141897e292a6e4492461f6581f0619c43b8bf
[ "MIT" ]
null
null
null
hermes/test/views/layout_view_test.exs
jparr721/Hermes
0ce141897e292a6e4492461f6581f0619c43b8bf
[ "MIT" ]
null
null
null
defmodule Hermes.LayoutViewTest do use Hermes.ConnCase, async: true end
18.5
34
0.810811
38380ec6d2f4edce504b3409240323fcb58c296f
2,694
ex
Elixir
lib/gemfire/client.ex
julienmarie/elixir-gemfire
b3aecb8b4fb8f5fc2a56fe02f530ce87bc903593
[ "MIT" ]
1
2016-08-01T22:49:00.000Z
2016-08-01T22:49:00.000Z
lib/gemfire/client.ex
julienmarie/elixir-gemfire
b3aecb8b4fb8f5fc2a56fe02f530ce87bc903593
[ "MIT" ]
null
null
null
lib/gemfire/client.ex
julienmarie/elixir-gemfire
b3aecb8b4fb8f5fc2a56fe02f530ce87bc903593
[ "MIT" ]
1
2019-08-14T12:42:50.000Z
2019-08-14T12:42:50.000Z
defmodule Gemfire.Client do @moduledoc false use GenServer def start_link(_) do GenServer.start_link(__MODULE__, %{}, []) end def init(_opts) do {:ok, %{}} end def handle_call({:insert, region, key, value}, _from, state) do {:reply, execute(:post, "#{region}?key=#{key}", value), state}...
25.657143
111
0.602821
38381c8ed20f18400233d4e75ce6c491546b5079
2,000
ex
Elixir
lib/parser/combinators.ex
kipcole9/cldr_print
ba8d0877a7885284ce7388cc4d324c907883b00b
[ "Apache-2.0" ]
null
null
null
lib/parser/combinators.ex
kipcole9/cldr_print
ba8d0877a7885284ce7388cc4d324c907883b00b
[ "Apache-2.0" ]
1
2022-03-14T01:14:56.000Z
2022-03-20T14:33:29.000Z
lib/parser/combinators.ex
kipcole9/cldr_print
ba8d0877a7885284ce7388cc4d324c907883b00b
[ "Apache-2.0" ]
1
2022-03-11T15:05:07.000Z
2022-03-11T15:05:07.000Z
defmodule Cldr.Print.Parser.Core do @moduledoc false import NimbleParsec def percent do ascii_string([?%], 2) |> replace("%") end def start_format do ascii_string([?%], 1) end def with_plus do ascii_string([?+], 1) end def left_justify do ascii_string([?-], 1) end def zero_fi...
22.222222
92
0.61
383835f278dddcc67a5351a08d72dc1443a9e21e
1,299
exs
Elixir
test/crawly_test.exs
vermaxik/crawly
7e09e53c673ac8fc3be388e4e8bd8512a8c1a155
[ "Apache-2.0" ]
null
null
null
test/crawly_test.exs
vermaxik/crawly
7e09e53c673ac8fc3be388e4e8bd8512a8c1a155
[ "Apache-2.0" ]
null
null
null
test/crawly_test.exs
vermaxik/crawly
7e09e53c673ac8fc3be388e4e8bd8512a8c1a155
[ "Apache-2.0" ]
null
null
null
defmodule CrawlyTest do use ExUnit.Case setup do :meck.new(CrawlyTestSpider, [:non_strict]) :meck.expect(CrawlyTestSpider, :parse_item, fn _resp -> %{ items: [%{content: "hello"}], requests: [ Crawly.Utils.request_from_url("https://www.example.com/test") ] } ...
27.0625
112
0.628945
38386bd71f6e1c089e650a6737b8369431ca5f11
2,270
exs
Elixir
mix.exs
krainboltgreene/boom
50be3bfe78708e52be6ba3aec3982dcd71bdabb2
[ "MIT" ]
null
null
null
mix.exs
krainboltgreene/boom
50be3bfe78708e52be6ba3aec3982dcd71bdabb2
[ "MIT" ]
null
null
null
mix.exs
krainboltgreene/boom
50be3bfe78708e52be6ba3aec3982dcd71bdabb2
[ "MIT" ]
null
null
null
defmodule BoomNotifier.MixProject do use Mix.Project @source_url "https://github.com/wyeworks/boom" def project do [ app: :boom_notifier, version: "0.7.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), ...
24.673913
75
0.557269
383885cbf40ba2a48aaf39df68350e9b6ebad302
1,728
ex
Elixir
lib/xdr/transactions/operations/revoke_sponsorship.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
null
null
null
lib/xdr/transactions/operations/revoke_sponsorship.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
null
null
null
lib/xdr/transactions/operations/revoke_sponsorship.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
null
null
null
defmodule StellarBase.XDR.Operations.RevokeSponsorship do @moduledoc """ Representation of Stellar `RevokeSponsorship` type. """ alias StellarBase.XDR.{LedgerKey, RevokeSponsorshipType} alias StellarBase.XDR.RevokeSponsorshipSigner @behaviour XDR.Declaration @arms [ REVOKE_SPONSORSHIP_LEDGER_ENTRY: ...
27
85
0.691551
3838b4ef9298b81f6c44425e74662b6065d096b3
4,095
exs
Elixir
test/plausible/google/api_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
test/plausible/google/api_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
test/plausible/google/api_test.exs
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule Plausible.Google.ApiTest do use Plausible.DataCase, async: true alias Plausible.Google.Api import Plausible.TestUtils import Double @ok_response Jason.encode!(%{ "reports" => [ %{ "data" => %{ "rows" => [ ...
32.244094
93
0.53431
383902ec20bbe27d34c99d502ddc3769076b0932
1,118
ex
Elixir
apps/banking_api_challenge/lib/banking_api_challenge/accounts/schemas/account.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
null
null
null
apps/banking_api_challenge/lib/banking_api_challenge/accounts/schemas/account.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
null
null
null
apps/banking_api_challenge/lib/banking_api_challenge/accounts/schemas/account.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
1
2021-04-20T19:05:48.000Z
2021-04-20T19:05:48.000Z
defmodule BankingApiChallenge.Accounts.Schemas.Account do @moduledoc """ The account schema. """ use Ecto.Schema import Ecto.Changeset alias BankingApiChallenge.Users.Schemas.User alias BankingApiChallenge.Operations.Schemas.Operation @required [:agency, :account_number, :balance, :user_id] @option...
27.95
93
0.727191
3839170e049f219b209f3054f6ca68a937d4533f
527
ex
Elixir
apps/rex_web/lib/rex_web/views/error_view.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
null
null
null
apps/rex_web/lib/rex_web/views/error_view.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
16
2020-05-18T20:06:29.000Z
2020-06-08T14:32:11.000Z
apps/rex_web/lib/rex_web/views/error_view.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
null
null
null
defmodule RexWeb.ErrorView do use RexWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from # the...
31
83
0.71537
38395b22121517edd8f2675fc452f32b8039cd11
18,278
ex
Elixir
lib/aws/code_pipeline.ex
hosh/aws-elixir
3ef18a94ed3b628b09ba1aaf297161f16c48867e
[ "Apache-2.0" ]
2
2019-11-17T02:31:18.000Z
2019-11-20T22:00:29.000Z
lib/aws/code_pipeline.ex
hosh/aws-elixir
3ef18a94ed3b628b09ba1aaf297161f16c48867e
[ "Apache-2.0" ]
null
null
null
lib/aws/code_pipeline.ex
hosh/aws-elixir
3ef18a94ed3b628b09ba1aaf297161f16c48867e
[ "Apache-2.0" ]
1
2019-11-16T18:08:18.000Z
2019-11-16T18:08:18.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/jkakar/aws-codegen for more details. defmodule AWS.CodePipeline do @moduledoc """ AWS CodePipeline **Overview** This is the AWS CodePipeline API Reference. This guide provides descriptions of the actions and data types for AWS CodePipeli...
36.194059
96
0.724532
38397c7a23602c6ce4e2062b205ae6581ff09d2d
1,338
exs
Elixir
config/dev.exs
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
4
2021-06-09T13:33:22.000Z
2022-01-29T12:51:54.000Z
config/dev.exs
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
15
2021-06-12T22:23:58.000Z
2022-01-10T09:06:12.000Z
config/dev.exs
membraneframework/membrane_dashboard
e9237bcd74a13092af1aae5f3db719a5765df881
[ "Apache-1.1" ]
null
null
null
import Config # Configure your database config :membrane_dashboard, Membrane.Dashboard.Repo, show_sensitive_data_on_connection_error: true config :membrane_dashboard, Membrane.DashboardWeb.Endpoint, debug_errors: true, code_reloader: true, check_origin: false, watchers: [ esbuild: {Esbuild, :install...
29.086957
98
0.679372
38399d6e63a6206ba09bf76a64d2e9a94b693c80
1,268
exs
Elixir
priv/repo/migrations/20200607231811_create_chats.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
487
2020-06-08T03:04:21.000Z
2022-03-31T14:51:36.000Z
priv/repo/migrations/20200607231811_create_chats.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
141
2020-06-11T01:03:29.000Z
2022-03-30T20:23:32.000Z
priv/repo/migrations/20200607231811_create_chats.exs
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
61
2020-06-10T05:25:03.000Z
2022-03-23T15:54:26.000Z
defmodule PolicrMini.Repo.Migrations.CreateChats do use PolicrMini.Migration alias PolicrMini.EctoEnums.ChatType def change do create table(:chats, primary_key: false) do add :id, :bigint, comment: "聊天编号", primary_key: true add :type, ChatType.type(), comment: "聊天类型" add :title, :string, co...
43.724138
81
0.684543
3839aff8b3046fc0cd25ce8a7e5bae913282785c
7,208
ex
Elixir
lib/shopifex/shops.ex
gingman/shopifex
c9a1977c5d50ccd738c59a095b855ee36c93161a
[ "Apache-2.0" ]
61
2020-05-27T01:33:39.000Z
2022-03-30T20:46:02.000Z
lib/shopifex/shops.ex
gingman/shopifex
c9a1977c5d50ccd738c59a095b855ee36c93161a
[ "Apache-2.0" ]
18
2020-05-29T21:43:45.000Z
2022-03-30T17:02:54.000Z
lib/shopifex/shops.ex
gingman/shopifex
c9a1977c5d50ccd738c59a095b855ee36c93161a
[ "Apache-2.0" ]
21
2020-06-14T17:02:56.000Z
2022-01-08T18:54:51.000Z
defmodule Shopifex.Shops do import Ecto.Query, warn: false require Logger @type shop :: %{access_token: String.t(), scope: String.t(), url: String.t()} @moduledoc """ This module acts as the context for any database interaction from within the Shopifex package. """ def shop_schema, do: Application.fe...
21.908815
101
0.594062
3839bd40499efc193994c8014109a10ba9fb14a2
522
ex
Elixir
lib/ex_web/router.ex
ykurtbas/kitchensink
01603ede591a72d0eeb1b8d7091eb4520bd666f6
[ "BSD-3-Clause" ]
4
2021-03-22T17:31:03.000Z
2021-04-09T07:03:25.000Z
lib/ex_web/router.ex
ykurtbas/kitchensink
01603ede591a72d0eeb1b8d7091eb4520bd666f6
[ "BSD-3-Clause" ]
null
null
null
lib/ex_web/router.ex
ykurtbas/kitchensink
01603ede591a72d0eeb1b8d7091eb4520bd666f6
[ "BSD-3-Clause" ]
1
2021-04-19T01:52:47.000Z
2021-04-19T01:52:47.000Z
defmodule ExWeb.Router do use ExWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {ExWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["js...
18.642857
52
0.664751
3839c4dabae2cf1e41d878cfeca193cb565f725f
608
exs
Elixir
bench/benchmarks.exs
babzich/geo
d13d0e53e48cb396948ac58868e7b431255100c6
[ "MIT" ]
555
2015-01-19T18:56:37.000Z
2022-03-17T21:22:16.000Z
bench/benchmarks.exs
babzich/geo
d13d0e53e48cb396948ac58868e7b431255100c6
[ "MIT" ]
130
2015-02-12T16:48:54.000Z
2021-12-15T17:54:18.000Z
bench/benchmarks.exs
babzich/geo
d13d0e53e48cb396948ac58868e7b431255100c6
[ "MIT" ]
100
2015-04-21T17:55:47.000Z
2022-01-25T21:03:10.000Z
binaries_list_fn = fn geom -> geom |> Geo.WKB.encode!() |> Geo.WKB.decode!() end iodata_list_fn = fn geom -> geom |> Geo.WKB.encode_to_iodata() |> IO.iodata_to_binary() |> Geo.WKB.decode!() end Benchee.run( %{ "binaries" => fn input -> Enum.map(input, binaries_list_fn) end, "io_data" => fn input -> Enum.map(...
33.777778
112
0.610197
3839c80769497e61ff243b14b6f67d839846a3e5
1,732
ex
Elixir
lib/confex/sources/yaml_file.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
2
2016-05-14T04:20:45.000Z
2017-05-15T14:50:11.000Z
lib/confex/sources/yaml_file.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
null
null
null
lib/confex/sources/yaml_file.ex
childss/ex_conf
ce779828db76095e18bc1f8579be1d7a4b07f2f1
[ "MIT" ]
null
null
null
defmodule Confex.Sources.YamlFile do @moduledoc """ Defines a source that reads values from a YAML file. ## ConfigSourceable Protocol Creating a new `Confex.Sources.YamlFile` parses the given file as a map and caches the data. Thus, the `Confex.ConfigSourceable` implementation for YAML files behaves much ...
30.928571
78
0.670901
3839ef716e5cbce6f13b224f1d8b76fb45d6cdc5
6,944
ex
Elixir
lib/virtual_dom/node.ex
robinhilliard/thinc
61c5b85f05e14aeee6877edc4b2c1b92ea93d104
[ "MIT" ]
1
2020-09-30T00:18:02.000Z
2020-09-30T00:18:02.000Z
lib/virtual_dom/node.ex
robinhilliard/thinc
61c5b85f05e14aeee6877edc4b2c1b92ea93d104
[ "MIT" ]
null
null
null
lib/virtual_dom/node.ex
robinhilliard/thinc
61c5b85f05e14aeee6877edc4b2c1b92ea93d104
[ "MIT" ]
null
null
null
defmodule VirtualDOM.VNode do @moduledoc false import Keyword, only: [keyword?: 1] import Macro, only: [postwalk: 2] import XXHash, only: [xxh32: 1] import Enum, only: [into: 2, map: 2] # From https://npm.runkit.com/svg-tag-names # x = [...new Set(svgTagNames.concat(htmlTagNames))].sort().join(", :") ...
29.802575
98
0.630472
3839fd64138c3cb7aee03c24213a4abd3a39b4e8
2,231
ex
Elixir
clients/books/lib/google_api/books/v1/model/discoveryclusters_clusters.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/discoveryclusters_clusters.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/discoveryclusters_clusters.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.808824
102
0.715374
3839fe958405d11d048611ff28194748b46d3543
993
ex
Elixir
lib/creep/packet/connack.ex
ConnorRigby/creep
91d503187fda50b20788244487ca7d412373893c
[ "ISC" ]
13
2019-09-21T04:48:09.000Z
2022-01-26T13:13:03.000Z
lib/creep/packet/connack.ex
ConnorRigby/creep
91d503187fda50b20788244487ca7d412373893c
[ "ISC" ]
null
null
null
lib/creep/packet/connack.ex
ConnorRigby/creep
91d503187fda50b20788244487ca7d412373893c
[ "ISC" ]
1
2020-03-03T16:50:42.000Z
2020-03-03T16:50:42.000Z
defmodule Creep.Packet.Connack do alias Creep.Packet.Connack @type return_code :: :accepted | :unacceptable_protocol | :identifier_rejected | :server_unavailable | :bad_username_or_password @type t() :: %Connack{ session_present: boolean(), r...
29.205882
95
0.640483
383a0b86426009adf198920d5df587232a5b2645
725
ex
Elixir
hippo-backend/test/support/factory.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
8
2019-05-18T10:14:06.000Z
2021-07-31T20:58:55.000Z
hippo-backend/test/support/factory.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
7
2019-07-20T17:48:03.000Z
2022-02-26T10:41:56.000Z
hippo-backend/test/support/factory.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
1
2019-07-04T02:30:09.000Z
2019-07-04T02:30:09.000Z
defmodule Hippo.Test.Factory do @moduledoc false use ExMachina.Ecto, repo: Hippo.Repo alias Hippo.Cards.Card alias Hippo.Lanes.Lane alias Hippo.Projects.Project def project_factory do %Project{ title: sequence(:project_title, &"project title #{&1}"), description: sequence(:project_descript...
24.166667
79
0.65931
383a150cd8d44d9c457a5e5cec2f66a8f27a9068
579
exs
Elixir
mix.exs
Somestuffman/hello_world
b6725112d21245b5b02416344902cabbf169a4d5
[ "MIT" ]
null
null
null
mix.exs
Somestuffman/hello_world
b6725112d21245b5b02416344902cabbf169a4d5
[ "MIT" ]
null
null
null
mix.exs
Somestuffman/hello_world
b6725112d21245b5b02416344902cabbf169a4d5
[ "MIT" ]
null
null
null
defmodule HelloWorld.MixProject do use Mix.Project def project do [ app: :hello_world, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ e...
19.965517
87
0.582038
383a453eb860a8dbbfcd29c2e2dbc34acb90e419
576
ex
Elixir
kekend/lib/serial_killer/application.ex
IgorPolyakov/imdb
5f3108432ec2b8f7481af7881eee1acfb11f1816
[ "MIT" ]
5
2020-05-01T16:29:38.000Z
2020-05-13T19:53:21.000Z
kekend/lib/serial_killer/application.ex
IgorPolyakov/imdb
5f3108432ec2b8f7481af7881eee1acfb11f1816
[ "MIT" ]
13
2020-04-30T19:53:58.000Z
2022-02-17T08:37:18.000Z
kekend/lib/serial_killer/application.ex
IgorPolyakov/serial_killer
5f3108432ec2b8f7481af7881eee1acfb11f1816
[ "MIT" ]
1
2020-04-30T13:37:20.000Z
2020-04-30T13:37:20.000Z
defmodule SerialKiller.Application do use Application def start(_type, _args), do: Supervisor.start_link(children(), opts()) defp children do db_opts = Application.get_env(:serial_killer, :db) port = Application.get_env(:serial_killer, :port) [ {Postgrex, Keyword.put(db_opts, :name, Seria...
20.571429
63
0.637153
383a471e6b82f829cdba62a5fd80e41de40833dc
1,053
ex
Elixir
hls/lib/hls_web/channels/user_socket.ex
Papillon6814/hls_example
f113ecaadabe013a4a5b3a3166d16befb07123c5
[ "MIT" ]
null
null
null
hls/lib/hls_web/channels/user_socket.ex
Papillon6814/hls_example
f113ecaadabe013a4a5b3a3166d16befb07123c5
[ "MIT" ]
null
null
null
hls/lib/hls_web/channels/user_socket.ex
Papillon6814/hls_example
f113ecaadabe013a4a5b3a3166d16befb07123c5
[ "MIT" ]
null
null
null
defmodule HlsWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HlsWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels, ie ...
30.970588
83
0.693257
383a4f557f927051a45f6e3e018777f172fbfc9e
863
ex
Elixir
lib/mipha_web/channels/topic_channel.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
156
2018-06-01T19:52:32.000Z
2022-02-03T10:58:10.000Z
lib/mipha_web/channels/topic_channel.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
139
2018-07-10T01:57:23.000Z
2021-08-02T21:29:24.000Z
lib/mipha_web/channels/topic_channel.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
29
2018-07-17T08:43:45.000Z
2021-12-14T13:45:30.000Z
defmodule MiphaWeb.TopicChannel do @moduledoc """ Topic Channel """ use MiphaWeb, :channel def join("topic:" <> topic_id, payload, socket) do if authorized?(payload) do {:ok, %{channel: "topic:#{topic_id}"}, assign(socket, :topic_id, topic_id)} else {:error, %{reason: "unauthorized"}} ...
25.382353
81
0.673233
383a5880dd8e009a2821865acb55fae7ab8680d5
18,938
exs
Elixir
lib/elixir/test/elixir/module/types/types_test.exs
RudolfMan/elixir
b7a72ca3b5b9203185f866e913d7b372e72e9fab
[ "Apache-2.0" ]
1
2019-06-27T08:47:13.000Z
2019-06-27T08:47:13.000Z
lib/elixir/test/elixir/module/types/types_test.exs
RudolfMan/elixir
b7a72ca3b5b9203185f866e913d7b372e72e9fab
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/module/types/types_test.exs
RudolfMan/elixir
b7a72ca3b5b9203185f866e913d7b372e72e9fab
[ "Apache-2.0" ]
null
null
null
Code.require_file("type_helper.exs", __DIR__) defmodule Module.Types.TypesTest do use ExUnit.Case, async: true alias Module.Types alias Module.Types.{Pattern, Expr} defmacro warning(patterns \\ [], guards \\ [], body) do min_line = min_line(patterns ++ guards ++ [body]) patterns = reset_line(patterns,...
25.696065
143
0.464305
383a7359de87d38734583e31ac3973047f41f661
37,048
ex
Elixir
lib/elixir/lib/inspect/algebra.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
1
2021-05-05T02:11:24.000Z
2021-05-05T02:11:24.000Z
lib/elixir/lib/inspect/algebra.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/elixir/lib/inspect/algebra.ex
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
null
null
null
defmodule Inspect.Opts do @moduledoc """ Defines the options used by the `Inspect` protocol. The following fields are available: * `:base` - prints integers as `:binary`, `:octal`, `:decimal`, or `:hex`, defaults to `:decimal`. When inspecting binaries any `:base` other than `:decimal` implies `...
33.376577
101
0.622571
383a74569819feb72ef7d55c585d19fc5b694ece
697
exs
Elixir
test/controllers/coin_controller_test.exs
andreihod/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
2
2017-07-19T17:03:41.000Z
2017-09-18T12:58:42.000Z
test/controllers/coin_controller_test.exs
mateusfs/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
7
2017-07-18T23:32:45.000Z
2017-08-18T01:09:11.000Z
test/controllers/coin_controller_test.exs
mateusfs/cryptofolio-api
063bfcf39a0b334204e6b6ef01990622a1f316af
[ "MIT" ]
2
2017-08-03T19:55:21.000Z
2018-07-01T19:54:22.000Z
defmodule Cryptofolio.CoinControllerTest do use Cryptofolio.ConnCase alias Cryptofolio.Coin @valid_attrs %{name: "Bitcoin", symbol: "BTC"} @invalid_attrs %{} setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end test "shows chosen resource", %{conn: conn} do ...
26.807692
72
0.644189
383a80499da1971f44432a0eb167f12036221899
4,042
ex
Elixir
lib/absinthe_error_payload/validation_message_types.ex
alpcanaydin/absinthe_error_payload
42fb227822e15ceec5441f01ef2177eb1aaaf565
[ "MIT", "BSD-3-Clause" ]
null
null
null
lib/absinthe_error_payload/validation_message_types.ex
alpcanaydin/absinthe_error_payload
42fb227822e15ceec5441f01ef2177eb1aaaf565
[ "MIT", "BSD-3-Clause" ]
null
null
null
lib/absinthe_error_payload/validation_message_types.ex
alpcanaydin/absinthe_error_payload
42fb227822e15ceec5441f01ef2177eb1aaaf565
[ "MIT", "BSD-3-Clause" ]
null
null
null
defmodule AbsintheErrorPayload.ValidationMessageTypes do @moduledoc """ This contains absinthe objects used in mutation responses. To use, import into your Absinthe.Schema files with ``` import_types AbsintheErrorPayload.ValidationMessageTypes ``` ## Objects `:validation_option` holds a key value pa...
37.775701
124
0.726373
383a8b8d49bc38455e3d98219a2f4898c7921e3d
3,666
ex
Elixir
apps/odo/lib/odo/file_processor.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/odo/lib/odo/file_processor.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/odo/lib/odo/file_processor.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Odo.FileProcessor do @moduledoc """ Transforms supported geo-spatial data file from one supported type to another, uploads the new file to the cloud object store, and updates the data pipeline to be aware that the new file type is available. """ use Properties, otp_app: :odo require Logger im...
31.067797
107
0.638025
383aa74656fd10698525e56d9e3d3804ad6f5560
77
ex
Elixir
web/views/page_view.ex
shanethacker/reference_graphql
189b86752cd859bbc0a51cd485940c0f5a29ddd6
[ "MIT" ]
null
null
null
web/views/page_view.ex
shanethacker/reference_graphql
189b86752cd859bbc0a51cd485940c0f5a29ddd6
[ "MIT" ]
null
null
null
web/views/page_view.ex
shanethacker/reference_graphql
189b86752cd859bbc0a51cd485940c0f5a29ddd6
[ "MIT" ]
null
null
null
defmodule ReferenceGraphql.PageView do use ReferenceGraphql.Web, :view end
19.25
38
0.831169
383aafb776e5b3df57962c575cd8e0a9701e801f
571
ex
Elixir
lib/camino_challenge/release.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
lib/camino_challenge/release.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
lib/camino_challenge/release.ex
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
defmodule CaminoChallenge.Release do @moduledoc """ Module that executes migrations in production """ @app :camino_challenge def migrate do load_app() for repo <- repos() do {:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(&1, :up, all: true)) end end def rollback(repo, ...
20.392857
91
0.65324
383ae4a06771cebd5600cdc26775e2b319c49d7e
943
ex
Elixir
test/support/channel_case.ex
Croissong/nussnougat
dd669d8614029400a25cef67971ef8720f5580dd
[ "MIT" ]
null
null
null
test/support/channel_case.ex
Croissong/nussnougat
dd669d8614029400a25cef67971ef8720f5580dd
[ "MIT" ]
null
null
null
test/support/channel_case.ex
Croissong/nussnougat
dd669d8614029400a25cef67971ef8720f5580dd
[ "MIT" ]
null
null
null
defmodule Nussnougat.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot ...
23
69
0.707317
383af4d059a10e262bcef4b20ca77c44c89c63eb
774
ex
Elixir
web/views/course_view.ex
mark-b-kauffman/phoenixDSK
d68ff8daebc2641efbc2059320c8ab345203aa76
[ "BSD-3-Clause", "MIT" ]
8
2017-07-24T20:54:25.000Z
2021-04-06T19:19:32.000Z
web/views/course_view.ex
mark-b-kauffman/phoenixDSK
d68ff8daebc2641efbc2059320c8ab345203aa76
[ "BSD-3-Clause", "MIT" ]
2
2021-03-08T16:21:37.000Z
2021-05-06T17:53:24.000Z
web/views/course_view.ex
mark-b-kauffman/phoenixDSK
d68ff8daebc2641efbc2059320c8ab345203aa76
[ "BSD-3-Clause", "MIT" ]
2
2019-12-12T17:04:32.000Z
2020-07-22T15:42:32.000Z
defmodule PhoenixDSK.CourseView do use PhoenixDSK.Web, :view # See http://www.phoenixframework.org/docs/adding-pages # Views render templates. They also act as a presentation layer for raw data # from the controller, preparing it for use in a template. Functions which # perform this transformation should go i...
55.285714
78
0.754522
383b049cdbbade8af08c4692cff60102a8815d76
1,378
exs
Elixir
config/config.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "MIT" ]
null
null
null
config/config.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "MIT" ]
null
null
null
config/config.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "MIT" ]
null
null
null
# This file is responsible for configuring your umbrella # and **all applications** and their dependencies with the # help of the Config module. # # Note that all applications in your umbrella share the # same configuration and dependencies, which is why they # all use the same configuration file. If you want different...
32.809524
86
0.741655
383b448617bba10c7ed2d734396996cb5340bd56
4,870
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/http_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/http_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/http_request.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.514019
152
0.665298
383b49b30bba541a92937a1f30a116cb9b589b51
2,803
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_pool_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_pool_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/target_pool_list.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...
45.209677
393
0.714948
383b94f879c564fd412b210ee80dc77a0507bdf4
2,158
ex
Elixir
lib/smppex/mem_sequence_storage.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
lib/smppex/mem_sequence_storage.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
lib/smppex/mem_sequence_storage.ex
MarkMagnus/smppex
01d2ab76164dab0ba2a37c8344b697842574054d
[ "Apache-2.0" ]
null
null
null
defmodule SMPPEX.MemSequenceStorage do @moduledoc """ This is the default sequence storage service, which allows all running pdu_storage processes share sequence numbers. If you don't care about sequence number tracking this is all you need. """ @behaviour SMPPEX.SequenceStorage use GenServer @defau...
28.773333
123
0.685357
383bda26ff803e9bbeae82b2dee4c245af44a810
3,174
exs
Elixir
integration_test/myxql/test_helper.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
4
2019-06-26T22:43:55.000Z
2020-01-19T17:37:07.000Z
integration_test/myxql/test_helper.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
3
2019-07-15T06:54:40.000Z
2020-02-09T16:36:44.000Z
integration_test/myxql/test_helper.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
15
2019-01-15T18:17:44.000Z
2020-01-12T03:52:35.000Z
Logger.configure(level: :info) # Configure Ecto for support and tests Application.put_env(:ecto, :primary_key_type, :id) Application.put_env(:ecto, :async_integration_tests, false) Application.put_env(:ecto_sql, :lock_for_update, "FOR UPDATE") Code.require_file "../support/repo.exs", __DIR__ # Configure MySQL connec...
27.842105
84
0.733774
383bdc7c4ef1f776e32d12d4659939a588f4d22f
503
ex
Elixir
robotica_hello/lib/robotica_hello_web/views/error_view.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica_hello/lib/robotica_hello_web/views/error_view.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica_hello/lib/robotica_hello_web/views/error_view.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule RoboticaHelloWeb.ErrorView do use RoboticaHelloWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the t...
29.588235
61
0.741551
383bf9e5bfb8514e004eec9232f428de39340cdc
894
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.111111
74
0.761745
383c0a1db143ad76bf40a63a702db48e2d0f6915
24,885
ex
Elixir
lib/meeseeks.ex
davidsulc/meeseeks
19759e52b1a4f4fde856babcffaa1bbbe4c71eb1
[ "Apache-2.0", "MIT" ]
null
null
null
lib/meeseeks.ex
davidsulc/meeseeks
19759e52b1a4f4fde856babcffaa1bbbe4c71eb1
[ "Apache-2.0", "MIT" ]
null
null
null
lib/meeseeks.ex
davidsulc/meeseeks
19759e52b1a4f4fde856babcffaa1bbbe4c71eb1
[ "Apache-2.0", "MIT" ]
1
2020-03-23T13:51:01.000Z
2020-03-23T13:51:01.000Z
defmodule Meeseeks do alias Meeseeks.{Context, Document, Error, Parser, Result, Select, Selector, TupleTree} @moduledoc """ Meeseeks is an Elixir library for parsing and extracting data from HTML and XML with CSS or XPath selectors. ```elixir import Meeseeks.CSS html = HTTPoison.get!("https://news.ycom...
34.042408
119
0.674101
383c2429de2e421282717e4f653b121735bf7f13
615
ex
Elixir
lib/grizzly/node/association.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/node/association.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/node/association.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.Node.Association do @moduledoc """ This module is useful for working with Z-Wave Node Associations """ alias Grizzly.Node @type t :: %__MODULE__{ group: byte, nodes: [Node.node_id()] } @type group :: byte @enforce_keys [:group] defstruct group: nil, nod...
20.5
52
0.619512
383c2b07ffb6a3dcc4a0dea300c053ccd8adc5a0
688
exs
Elixir
test/ecto/query/builder/distinct_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
test/ecto/query/builder/distinct_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
test/ecto/query/builder/distinct_test.exs
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.Builder.DistinctTest do use ExUnit.Case, async: true import Ecto.Query.Builder.Distinct doctest Ecto.Query.Builder.Distinct test "escape" do assert {Macro.escape(quote do [&0.y] end), %{}} == escape(quote do x.y end, [x: 0], __ENV__) assert {Macro.escape(quote do [&0.x...
28.666667
80
0.607558
383c2d9728d9447d419c116e965ab8dc210f4c8a
3,302
ex
Elixir
lib/gcs_signed_url/string_to_sign.ex
alexandrubagu/gcs_signed_url
6ada3e41c1357b146d816e5fbba35418443d3cc9
[ "MIT" ]
16
2019-07-25T16:05:20.000Z
2022-02-09T06:24:55.000Z
lib/gcs_signed_url/string_to_sign.ex
alexandrubagu/gcs_signed_url
6ada3e41c1357b146d816e5fbba35418443d3cc9
[ "MIT" ]
53
2020-04-21T16:35:49.000Z
2022-03-28T13:04:07.000Z
lib/gcs_signed_url/string_to_sign.ex
alexandrubagu/gcs_signed_url
6ada3e41c1357b146d816e5fbba35418443d3cc9
[ "MIT" ]
10
2020-04-21T12:19:47.000Z
2021-11-19T12:00:06.000Z
defmodule GcsSignedUrl.StringToSign do @moduledoc """ Generates the string-to-sign and the URL the signature is being signed. """ alias GcsSignedUrl.{CanonicalRequest, Crypto, Headers, ISODateTime, QueryString} @host "storage.googleapis.com" @type t :: %__MODULE__{ string_to_sign: String.t(), ...
31.75
120
0.663234
383c312dd35d165233dc0ee448d205d1e28e6ecb
2,210
ex
Elixir
lib/playwright_test/case.ex
Proporus/playwright-elixir
639fea3c7076657a9104e6fd742b0c2f4e2f167f
[ "MIT" ]
null
null
null
lib/playwright_test/case.ex
Proporus/playwright-elixir
639fea3c7076657a9104e6fd742b0c2f4e2f167f
[ "MIT" ]
null
null
null
lib/playwright_test/case.ex
Proporus/playwright-elixir
639fea3c7076657a9104e6fd742b0c2f4e2f167f
[ "MIT" ]
null
null
null
defmodule PlaywrightTest.Case do @moduledoc """ Use `PlaywrightTest.Case` in an ExUnit test module to start a Playwright server and put it into the test context. ## Examples defmodule Web.DriverTransportTest do use ExUnit.Case use PlaywrightTest.Case, headless: false, ...
26
87
0.570136
383c5ff59487058035ccb9cdf1f9f3dd40464ae6
1,328
ex
Elixir
apps/welcome2_game/lib/welcome2_game/game_ender.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
apps/welcome2_game/lib/welcome2_game/game_ender.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
13
2020-03-22T08:00:57.000Z
2022-03-07T16:35:36.000Z
apps/welcome2_game/lib/welcome2_game/game_ender.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
defmodule Welcome2Game.GameEnder do alias Welcome2Game.{State, Tableau} def update(state) do (end_game?(state) && end_game(state)) || state end def end_game(state) do # TODO: calculate score and put it somewhere %State{state | winner: 0} end def end_game?(state) do # solo version ends whe...
23.714286
76
0.607681
383c732bb9cecf1f78fe3706cb83a52f48d6114a
4,316
ex
Elixir
lib/ExAeonsEnd/player_turn_deck.ex
NickMcG/ExAeonsEnd
7dd13ed71b0c4ff3a868ea5b75131d96ec19bf2b
[ "MIT" ]
null
null
null
lib/ExAeonsEnd/player_turn_deck.ex
NickMcG/ExAeonsEnd
7dd13ed71b0c4ff3a868ea5b75131d96ec19bf2b
[ "MIT" ]
null
null
null
lib/ExAeonsEnd/player_turn_deck.ex
NickMcG/ExAeonsEnd
7dd13ed71b0c4ff3a868ea5b75131d96ec19bf2b
[ "MIT" ]
null
null
null
defmodule ExAeonsEnd.PlayerTurnDeck do @moduledoc "This module represents the player turn deck." use GenServer alias ExAeonsEnd.{Card, Deck} ### Public Interface @spec start_link(1 | 2 | 3 | 4 | [String.t()]) :: :ignore | {:error, any()} | {:ok, pid} def start_link(players), do: start_link(players, false...
35.089431
123
0.655005
383c90ed5ae69b0ccd903c107d90469db0bbf8e5
240
ex
Elixir
lib/eps/seeds.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps/seeds.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps/seeds.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
defmodule EPS.Seeds do @moduledoc """ The seeds context. """ def seed_entities(:dev) do end def seed_entities(:staging) do end def seed_entities(:prod) do end def seed_entities(:test) do end ### PRIVATE ### end
12
32
0.645833
383cb29a932c900085bff793b98485915224a00a
168
exs
Elixir
test/file_config_rocksdb_test.exs
cogini/file_config_rocksdb
532ac774adac5faad38739531c20118f47e17ce2
[ "Apache-2.0" ]
null
null
null
test/file_config_rocksdb_test.exs
cogini/file_config_rocksdb
532ac774adac5faad38739531c20118f47e17ce2
[ "Apache-2.0" ]
null
null
null
test/file_config_rocksdb_test.exs
cogini/file_config_rocksdb
532ac774adac5faad38739531c20118f47e17ce2
[ "Apache-2.0" ]
null
null
null
defmodule FileConfigRocksdbTest do use ExUnit.Case doctest FileConfigRocksdb test "greets the world" do assert FileConfigRocksdb.hello() == :world end end
18.666667
46
0.761905
383cddaf1b1668a53b2cf07271d2236c808e06b0
5,173
ex
Elixir
clients/gax/lib/google_api/gax/request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/gax/lib/google_api/gax/request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/gax/lib/google_api/gax/request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2018 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 ...
29.225989
97
0.642181
383ce33d72dc9e39c1eb13462ecec2f588a2073f
234
exs
Elixir
config/test.exs
peburrows/google_auth
e62ca4afddfabdb3d599c3594fee02c49a2350e4
[ "MIT" ]
null
null
null
config/test.exs
peburrows/google_auth
e62ca4afddfabdb3d599c3594fee02c49a2350e4
[ "MIT" ]
null
null
null
config/test.exs
peburrows/google_auth
e62ca4afddfabdb3d599c3594fee02c49a2350e4
[ "MIT" ]
null
null
null
import Config config :goth, json: "test/data/test-credentials.json" |> Path.expand() |> File.read!() config :goth, config_root_dir: "test/missing" config :logger, :console, level: :error # config :bypass, enable_debug_log: true
21.272727
74
0.717949
383d4b2813f9b4dc1f2597a246ceecb2330b6f1f
12,041
exs
Elixir
test/phoenix_live_view/integrations/params_test.exs
szTheory/phoenix_live_view
b476ee8bd0da5fc80974ee0fbbb1509bc7159bf9
[ "MIT" ]
1
2021-03-24T15:13:06.000Z
2021-03-24T15:13:06.000Z
test/phoenix_live_view/integrations/params_test.exs
szTheory/phoenix_live_view
b476ee8bd0da5fc80974ee0fbbb1509bc7159bf9
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/params_test.exs
szTheory/phoenix_live_view
b476ee8bd0da5fc80974ee0fbbb1509bc7159bf9
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.ParamsTest do use ExUnit.Case, async: true use Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveView alias Phoenix.LiveViewTest.Endpoint @endpoint Endpoint @moduletag :capture_log setup do conn = Phoenix.ConnTest.build_conn() |> Plug.Test.init...
35.104956
98
0.589735
383d507aea7841e206c5b68b94f5309296c6d0ec
1,896
ex
Elixir
lib/cforum_web/views/tag_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/tag_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/tag_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb.TagView do use CforumWeb, :view def page_title(:index, _), do: gettext("tags list") def page_title(:show, assigns), do: gettext("tag “%{tag}”", tag: assigns[:tag].tag_name) def page_title(action, assigns) when action in [:edit, :update], do: gettext("edit tag “%{tag}”", tag: a...
35.111111
89
0.641878
383d6d1d902df6aff91b8a98474be497b90d27e4
284
exs
Elixir
config/dev.exs
shawnsui/elixir_google_spreadsheets
bc34956ed15dbea8b0d2ed41f793c0c6e9bca20b
[ "MIT" ]
null
null
null
config/dev.exs
shawnsui/elixir_google_spreadsheets
bc34956ed15dbea8b0d2ed41f793c0c6e9bca20b
[ "MIT" ]
null
null
null
config/dev.exs
shawnsui/elixir_google_spreadsheets
bc34956ed15dbea8b0d2ed41f793c0c6e9bca20b
[ "MIT" ]
null
null
null
use Mix.Config config :elixir_google_spreadsheets, :client, request_workers: 50, max_demand: 100, max_interval: :timer.minutes(1), interval: 100, credentials: System.get_env("GCP_CREDENTIALS") if File.exists?("config/dev.local.exs") do import_config "dev.local.exs" end
21.846154
48
0.75
383d7b456b5c5eb7adf1d273efaa538f896b7334
1,283
ex
Elixir
lib/pocket_reducer_web/views/error_helpers.ex
czogori/pocket_reducer
09ecb2fcdf56a360b827a93c6e211e2885d3b8a3
[ "MIT" ]
null
null
null
lib/pocket_reducer_web/views/error_helpers.ex
czogori/pocket_reducer
09ecb2fcdf56a360b827a93c6e211e2885d3b8a3
[ "MIT" ]
null
null
null
lib/pocket_reducer_web/views/error_helpers.ex
czogori/pocket_reducer
09ecb2fcdf56a360b827a93c6e211e2885d3b8a3
[ "MIT" ]
null
null
null
defmodule PocketReducerWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> conten...
31.292683
82
0.67576
383d95afb0255e5314772c0a78572504ad4c79ae
449
ex
Elixir
lib/bufu/rating_board.ex
paulfri/bufu
735e80c188408deec146344a90ed7830416d1fbe
[ "MIT" ]
null
null
null
lib/bufu/rating_board.ex
paulfri/bufu
735e80c188408deec146344a90ed7830416d1fbe
[ "MIT" ]
null
null
null
lib/bufu/rating_board.ex
paulfri/bufu
735e80c188408deec146344a90ed7830416d1fbe
[ "MIT" ]
null
null
null
defmodule Bufu.RatingBoard do @moduledoc """ Resource representing a game rating board. See the [official documentation](http://www.giantbomb.com/api/documentation#toc-0-30). """ @type_id 3070 @singular "rating_board" @plural "rating_boards" defstruct [ :api_detail_url, :date_added, :d...
17.269231
88
0.663697
383da8e364c2702ae8fd7ff012f97d9b3247b6cf
6,011
exs
Elixir
makegsub.exs
SnorlaxH/neodgm
72844d6a32a6ba6c4064b03bc19ebe21d92037ed
[ "WTFPL" ]
null
null
null
makegsub.exs
SnorlaxH/neodgm
72844d6a32a6ba6c4064b03bc19ebe21d92037ed
[ "WTFPL" ]
null
null
null
makegsub.exs
SnorlaxH/neodgm
72844d6a32a6ba6c4064b03bc19ebe21d92037ed
[ "WTFPL" ]
null
null
null
#!/usr/bin/elixir Code.require_file "gsubdata.exs" defmodule GSUBGenerator do require EEx @spec lookup_type(atom) :: integer defp lookup_type(:single), do: 1 defp lookup_type(:chain), do: 6 defp lookup_type(:reverse_chain), do: 8 EEx.function_from_string :defp, :t_feature_record, """ <FeatureRecord i...
28.220657
77
0.548827
383deb808bb6e27ccf7a63cc8e09dd772766e9e8
1,530
exs
Elixir
test/sketch/graph_test.exs
danmarcab/sketch
58d4f2927dad2bffce6d056c5db2b21ce5181e0f
[ "Apache-2.0" ]
null
null
null
test/sketch/graph_test.exs
danmarcab/sketch
58d4f2927dad2bffce6d056c5db2b21ce5181e0f
[ "Apache-2.0" ]
null
null
null
test/sketch/graph_test.exs
danmarcab/sketch
58d4f2927dad2bffce6d056c5db2b21ce5181e0f
[ "Apache-2.0" ]
null
null
null
defmodule GraphTest do use ExUnit.Case doctest Sketch.Graph alias Sketch.Graph def simple_graph do Graph.new |> Graph.add_edge("a", "b") |> Graph.add_edges([{"b", "c"},{"c", "b"},{"c", "a"}]) end def graph do Graph.new |> Graph.add_edge({"a", :data_a}, {"b", :data_b}, :data_a_b) |...
30.6
110
0.515686
383e21b9bf3ed56fb5bada4d12846e3c038eb8c5
3,545
ex
Elixir
test/support/mocks/geocoder.ex
markusdd/teslamate
baada9c5455da2d3c400bf916ab29834772f6a88
[ "MIT" ]
1
2019-10-14T20:49:45.000Z
2019-10-14T20:49:45.000Z
test/support/mocks/geocoder.ex
markusdd/teslamate
baada9c5455da2d3c400bf916ab29834772f6a88
[ "MIT" ]
null
null
null
test/support/mocks/geocoder.ex
markusdd/teslamate
baada9c5455da2d3c400bf916ab29834772f6a88
[ "MIT" ]
1
2019-12-03T20:40:02.000Z
2019-12-03T20:40:02.000Z
defmodule GeocoderMock do def reverse_lookup(99.9, 99.9) do {:error, :induced_error} end def reverse_lookup(lat, lng) when lat in [52.51599, 52.515, 52.514521] and lng in [13.35199, 13.351, 13.350144] do {:ok, %{ city: nil, country: "Germany", county: nil, display_n...
28.58871
136
0.540762
383e38e431cfa988c8e94f04b0fb514ac460dc6d
3,709
ex
Elixir
lib/crawly/data_storage/data_storage.ex
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
486
2019-05-30T09:19:59.000Z
2021-04-28T07:51:31.000Z
lib/crawly/data_storage/data_storage.ex
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
131
2019-06-29T12:43:24.000Z
2021-04-24T19:40:07.000Z
lib/crawly/data_storage/data_storage.ex
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
52
2019-06-24T10:13:41.000Z
2021-03-28T07:36:42.000Z
defmodule Crawly.DataStorage do @moduledoc """ Data Storage, is a module responsible for storing crawled items. On the high level it's possible to represent the architecture of items storage this way: ┌──────────────────┐ │ │ ┌------------------┐ ...
27.679104
77
0.507414
383e3aaf2bf7de3df44c3d7de8abf9b059e85c56
1,250
ex
Elixir
lib/elaxtic/url.ex
vic/elaxtic
da40220f75d530250844d806ccda868979c4a75b
[ "Apache-2.0" ]
7
2016-03-06T18:39:35.000Z
2016-08-23T16:08:54.000Z
lib/elaxtic/url.ex
vic/elaxtic
da40220f75d530250844d806ccda868979c4a75b
[ "Apache-2.0" ]
5
2016-03-06T18:40:02.000Z
2017-03-25T02:59:22.000Z
lib/elaxtic/url.ex
vic/elaxtic
da40220f75d530250844d806ccda868979c4a75b
[ "Apache-2.0" ]
null
null
null
defmodule Elaxtic.URL do def url(fragments, query \\ []) do path(fragments) |> join(query) end def index_url(repo, type, fragments \\ [], query \\ []) do url([url: repo, index: {repo, type}] ++ fragments, query) end def type_url(repo, type, fragments \\ [], query \\ []) do url([url: repo, index...
24.038462
73
0.6216
383e4ae87c3147a382e3fba9f2d2ec7c680b5e38
1,985
exs
Elixir
test/hammox/protect_test.exs
camilleryr/hammox
9f11ffb11bc3c2689c13feca123b6aef2dc66d76
[ "Apache-2.0" ]
430
2019-09-26T05:01:13.000Z
2022-03-30T05:21:11.000Z
test/hammox/protect_test.exs
wojtekmach/hammox
c7ea8e598a753a69384a9a08f71a51ff03d4751b
[ "Apache-2.0" ]
48
2019-09-20T16:11:51.000Z
2022-03-23T20:33:16.000Z
test/hammox/protect_test.exs
wojtekmach/hammox
c7ea8e598a753a69384a9a08f71a51ff03d4751b
[ "Apache-2.0" ]
18
2019-10-02T19:59:33.000Z
2021-12-07T07:49:16.000Z
defmodule Hammox.ProtectTest do alias Hammox.Test.Protect, as: ProtectTest use ExUnit.Case, async: true use Hammox.Protect, module: ProtectTest.BehaviourImplementation use Hammox.Protect, module: ProtectTest.Implementation, behaviour: ProtectTest.Behaviour, funs: [behaviour_wrong_typespec: 0] ...
32.540984
115
0.703275
383e4de6e853353c940ad3b8817044273fbd6375
785
ex
Elixir
lib/openflow/multipart/meter/request.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
lib/openflow/multipart/meter/request.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
lib/openflow/multipart/meter/request.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule Openflow.Multipart.Meter.Request do defstruct( version: 4, xid: 0, # virtual field datapath_id: nil, flags: [], meter_id: :all ) alias __MODULE__ def ofp_type, do: 18 def new(options \\ []) do %Request{ xid: options[:xid] || 0, meter_id: options[:meter_id] ...
23.088235
63
0.644586
383e82ad44ead175e45eff71467f5e0ce7d6417c
2,040
ex
Elixir
lib/ex_double_entry/schemas/line.ex
coinjar/ex_double_entry
e2fde666daac1b42e7a32f704dabb61f8283a70c
[ "MIT" ]
9
2022-02-05T08:00:05.000Z
2022-03-20T04:53:46.000Z
lib/ex_double_entry/schemas/line.ex
coinjar/ex_double_entry
e2fde666daac1b42e7a32f704dabb61f8283a70c
[ "MIT" ]
1
2022-02-24T06:14:07.000Z
2022-02-24T06:14:07.000Z
lib/ex_double_entry/schemas/line.ex
coinjar/ex_double_entry
e2fde666daac1b42e7a32f704dabb61f8283a70c
[ "MIT" ]
1
2022-02-24T02:54:01.000Z
2022-02-24T02:54:01.000Z
defmodule ExDoubleEntry.Line do use Ecto.Schema import Ecto.Changeset alias ExDoubleEntry.{AccountBalance, Line} schema "#{ExDoubleEntry.db_table_prefix()}lines" do field(:account_identifier, ExDoubleEntry.EctoType.Identifier) field(:account_scope, ExDoubleEntry.EctoType.Scope) field(:currency, Ex...
27.567568
91
0.686275
383e8b86e1efeee7a0ab5e8cdb5cc43c12d009b5
756
ex
Elixir
farmbot_ext/lib/farmbot_ext/bootstrap/drop_password_support.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
farmbot_ext/lib/farmbot_ext/bootstrap/drop_password_support.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
farmbot_ext/lib/farmbot_ext/bootstrap/drop_password_support.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotExt.Bootstrap.DropPasswordSupport do @moduledoc """ Task to make sure the plaintext password is dropped form the sqlite database. """ import FarmbotCore.Config, only: [update_config_value: 4, get_config_value: 3] require FarmbotCore.Logger def get_credentials do %{ email: get_c...
32.869565
80
0.727513
383e9cfeb64ac18f55989eb95355ffaa146fb3a1
556
ex
Elixir
lib/alods/ecto_map_or_tuple.ex
smeevil/alods
284224bc63c668e1e273251c67614aa2e40b37eb
[ "WTFPL" ]
1
2017-10-03T12:30:53.000Z
2017-10-03T12:30:53.000Z
lib/alods/ecto_map_or_tuple.ex
smeevil/alods
284224bc63c668e1e273251c67614aa2e40b37eb
[ "WTFPL" ]
null
null
null
lib/alods/ecto_map_or_tuple.ex
smeevil/alods
284224bc63c668e1e273251c67614aa2e40b37eb
[ "WTFPL" ]
null
null
null
defmodule Alods.EctoMapOrTuple do @moduledoc """ This module extents ecto to support a field that can either be a map or tuple. """ @behaviour Ecto.Type def type, do: :string def cast(value) when is_binary(value), do: {:ok, {:raw, value}} def cast(value) when is_map(value), do: {:ok, {:json, value}} d...
26.47619
80
0.660072
383ec52d4386c0d2449f4b9bc196eeacc7378602
545
exs
Elixir
benchmark/mix.exs
sleipnir/grpc
5d4a2e3e721af4be64ad64fe473de4e584c2c0da
[ "Apache-2.0" ]
5
2022-02-08T13:51:08.000Z
2022-02-09T14:12:47.000Z
benchmark/mix.exs
sleipnir/grpc
5d4a2e3e721af4be64ad64fe473de4e584c2c0da
[ "Apache-2.0" ]
1
2022-02-08T15:46:07.000Z
2022-02-08T15:46:07.000Z
benchmark/mix.exs
sleipnir/grpc
5d4a2e3e721af4be64ad64fe473de4e584c2c0da
[ "Apache-2.0" ]
null
null
null
defmodule Benchmark.MixProject do use Mix.Project def project do [ app: :benchmark, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra...
18.793103
68
0.583486
383ee140a2ef6e26decde33f236dbfa3a9a6ef59
595
ex
Elixir
backend/lib/backend_web/controllers/fallback_controller.ex
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
backend/lib/backend_web/controllers/fallback_controller.ex
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
backend/lib/backend_web/controllers/fallback_controller.ex
silver-panda/budgetr
d8cad5c1401677947444add24c8d41f2450c8cc3
[ "MIT" ]
null
null
null
defmodule BackendWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use BackendWeb, :controller def call(conn, {:error, %Ecto.Changeset{} = changeset}) do conn |> put_statu...
25.869565
72
0.694118
383eeabc560eeff3422ff857eb850af00bb43bc8
254
ex
Elixir
apps/badger_data/lib/badger_data/util.ex
andyl/logstore
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
null
null
null
apps/badger_data/lib/badger_data/util.ex
andyl/logstore
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
9
2021-03-09T20:25:18.000Z
2021-05-27T12:58:03.000Z
apps/badger_data/lib/badger_data/util.ex
andyl/badger
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
null
null
null
defmodule BadgerData.Util do alias BadgerData.Schema.Site def sitefor(name, url) do sitefor(name, url, Site.tag_for_name(name)) end def sitefor(name, url, tag) do %Site{ url: url, name: name, tag: tag } end end
14.941176
47
0.622047
383eef822d856024e3326ef1d1031d719ef51171
462
exs
Elixir
daniel/prog_elix/ch11/parse.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
daniel/prog_elix/ch11/parse.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
1
2020-02-26T14:55:23.000Z
2020-02-26T14:55:23.000Z
daniel/prog_elix/ch11/parse.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
defmodule Parse do def number([?- | tail]), do: _number_digits(tail, 0) * -1 def number([?+ | tail]), do: _number_digits(tail, 0) def number(str), do: _number_digits(str, 0) defp _number_digits([], value), do: value defp _number_digits([digit | tail], value) when digit in '0123456789' do _number_...
27.176471
59
0.647186
383f01fc938550891078f10ede1f32f865e4801f
3,201
ex
Elixir
lib/membrane/pipeline/spec.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
lib/membrane/pipeline/spec.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
lib/membrane/pipeline/spec.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Pipeline.Spec do @moduledoc """ Structure representing topology of a pipeline. It can be returned from `Membrane.Pipeline.handle_init/1` callback upon pipeline's initialization. It will define a topology of children and links that build the pipeline. ## Children Children that should be ...
32.663265
104
0.691971
383f24a52d7be1606ff8787138fd3a323e84c097
140
exs
Elixir
test/tragedy_of_the_commons_test.exs
xeejp/TheTragedyOfTheCommons
a674f24383a91125d25d9b6de55a4ae30750c305
[ "MIT" ]
null
null
null
test/tragedy_of_the_commons_test.exs
xeejp/TheTragedyOfTheCommons
a674f24383a91125d25d9b6de55a4ae30750c305
[ "MIT" ]
1
2016-12-27T02:06:06.000Z
2016-12-27T02:06:06.000Z
test/tragedy_of_the_commons_test.exs
xeejp/TheTragedyOfTheCommons
a674f24383a91125d25d9b6de55a4ae30750c305
[ "MIT" ]
null
null
null
defmodule TragedyOfTheCommonsTest do use ExUnit.Case doctest TragedyOfTheCommons test "the truth" do assert 1 + 1 == 2 end end
15.555556
36
0.728571
383f763aa7af6a1029b13b231ada1f386a6b0a3e
2,482
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_policy.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_policy.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_policy.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
39.396825
257
0.746172
383f7e8df679053b51e1d606fda520491bb6f7e0
1,190
ex
Elixir
apps/aehttpserver/lib/aehttpserver/application.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aehttpserver/lib/aehttpserver/application.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aehttpserver/lib/aehttpserver/application.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
defmodule Aehttpserver.Application do use Application require Logger # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start t...
33.055556
92
0.707563
383fae5a458f2d99a51a74dce2e111423b15b042
1,276
exs
Elixir
apps/gullintanni_web/mix.exs
gullintanni/gullintanni
63c58b7ea438a4c6885a13842d8e33d3b1273ced
[ "0BSD" ]
15
2016-08-09T21:27:54.000Z
2020-12-03T11:21:10.000Z
apps/gullintanni_web/mix.exs
gullintanni/gullintanni
63c58b7ea438a4c6885a13842d8e33d3b1273ced
[ "0BSD" ]
15
2016-08-04T21:11:05.000Z
2017-08-02T17:46:17.000Z
apps/gullintanni_web/mix.exs
gullintanni/gullintanni
63c58b7ea438a4c6885a13842d8e33d3b1273ced
[ "0BSD" ]
null
null
null
defmodule GullintanniWeb.Mixfile do use Mix.Project def project() do [ app: :gullintanni_web, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", build_embedd...
22
49
0.500784
383fd52413a1681442e79ab856f71ad652df2423
6,041
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/beacon.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/beacon.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/beacon.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 ...
49.516393
196
0.712796
383fda16627c2cd97e1bbbb8dc31716fc577f2d2
1,462
ex
Elixir
lib/chat_api_web/controllers/tag_controller.ex
m1ome/papercups
8c9bf5569dc23d7bce3fcc3a8909bf6d05be8985
[ "MIT" ]
1
2020-10-02T18:33:47.000Z
2020-10-02T18:33:47.000Z
lib/chat_api_web/controllers/tag_controller.ex
kingshalaby1/papercups
8d59b2ee4a22dd29df42fb771e02db14e14dee68
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/tag_controller.ex
kingshalaby1/papercups
8d59b2ee4a22dd29df42fb771e02db14e14dee68
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.TagController do use ChatApiWeb, :controller alias ChatApi.Tags alias ChatApi.Tags.Tag action_fallback ChatApiWeb.FallbackController def index(%{assigns: %{current_user: %{account_id: account_id}}} = conn, _params) do tags = Tags.list_tags(account_id) render(conn, "index.json"...
27.074074
94
0.593023
383fdb2ae74d22adcd16c4094cfd8ce28adc64b8
3,055
ex
Elixir
lib/vault/http/http.ex
philss/libvault
154d8321b414b83914ce108a7e8d97dc706ab01a
[ "MIT" ]
null
null
null
lib/vault/http/http.ex
philss/libvault
154d8321b414b83914ce108a7e8d97dc706ab01a
[ "MIT" ]
null
null
null
lib/vault/http/http.ex
philss/libvault
154d8321b414b83914ce108a7e8d97dc706ab01a
[ "MIT" ]
null
null
null
defmodule Vault.HTTP do @moduledoc """ Module that ultimately creates, formats, and parses all http requests and responses for each vault API call. Requests can take the following options a Keyword List. ### options: - `:query_params` - List of query params for the request. Do **not** include query params...
36.807229
104
0.653355
383fe247981bbebc4bdf252f7c83c341f3e8aba1
411
exs
Elixir
priv/repo/migrations/20160111105636_create_comment.exs
gridgentoo/ElixirTrelloKanban
11b91d9d864d2e332a94838d43c7a9b1015e17c6
[ "MIT" ]
2,784
2016-01-06T03:16:07.000Z
2022-03-14T03:52:20.000Z
priv/repo/migrations/20160111105636_create_comment.exs
gridgentoo/ElixirTrelloKanban
11b91d9d864d2e332a94838d43c7a9b1015e17c6
[ "MIT" ]
49
2016-01-07T11:48:10.000Z
2020-04-27T16:10:12.000Z
priv/repo/migrations/20160111105636_create_comment.exs
gridgentoo/ElixirTrelloKanban
11b91d9d864d2e332a94838d43c7a9b1015e17c6
[ "MIT" ]
586
2016-01-11T17:02:13.000Z
2021-12-01T10:54:47.000Z
defmodule PhoenixTrello.Repo.Migrations.CreateComment do use Ecto.Migration def change do create table(:comments) do add :text, :string, null: false add :user_id, references(:users, on_delete: :delete_all) add :card_id, references(:cards, on_delete: :delete_all) timestamps end ...
24.176471
62
0.681265