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
4a75e3edc0976412bbc27832b573557fd1dfe55e
167
exs
Elixir
test/lists_and_recursion_0/sum_test.exs
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
test/lists_and_recursion_0/sum_test.exs
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
1
2020-01-28T00:19:53.000Z
2020-01-28T00:19:53.000Z
test/lists_and_recursion_0/sum_test.exs
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
defmodule MyListTest do use ExUnit.Case test "0 case" do assert MyList.sum([]) == 0 end test "normal case" do assert MyList.sum([1, 2]) == 3 end end
16.7
34
0.622754
4a75fc2d474b6008c01b3624eca13f9ffd2be139
1,223
exs
Elixir
config/config.exs
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
2
2020-01-14T00:41:15.000Z
2020-02-05T09:09:12.000Z
config/config.exs
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
null
null
null
config/config.exs
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
null
null
null
# 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.970588
73
0.756337
4a761f1236d79f208fc6bef9577784c3b62d22f3
989
ex
Elixir
lib/admin/default/characters.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
1
2021-12-21T14:22:12.000Z
2021-12-21T14:22:12.000Z
lib/admin/default/characters.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
lib/admin/default/characters.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
defmodule PlayfabEx.Admin.Default.Characters do @doc """ Completely removes all statistics for the specified character, for the current game @link https://api.playfab.com/documentation/admin/method/ResetCharacterStatistics """ @spec reset_character_statistics(map()) :: {:ok, map} | {:error, String.t} def ...
29.969697
171
0.68453
4a76227932c9d1e82ec62f3b80a2079d6c535b82
814
ex
Elixir
fizz_buzz/lib/fizz_buzz.ex
joaopealves/FizzBuzz
7f184793d222c6778c42d5b157f51a4572c8fa48
[ "MIT" ]
null
null
null
fizz_buzz/lib/fizz_buzz.ex
joaopealves/FizzBuzz
7f184793d222c6778c42d5b157f51a4572c8fa48
[ "MIT" ]
null
null
null
fizz_buzz/lib/fizz_buzz.ex
joaopealves/FizzBuzz
7f184793d222c6778c42d5b157f51a4572c8fa48
[ "MIT" ]
null
null
null
defmodule FizzBuzz do def build(file_name) do file_name |> File.read() |> handle_file_read() end defp handle_file_read({:ok, result}) do result = result |>String.split(",") |>Enum.map(&convert_and_evaluete_numbers/1) {:ok, result} end defp hand...
27.133333
97
0.626536
4a762ec6bfa8061299c9ecb1bd739911d13898e2
647
ex
Elixir
lib/world.ex
crertel/elixir_rigid_physics
059f121d5504b7b8fed22aa907503d9e9fd8ac1d
[ "Apache-2.0" ]
6
2019-05-23T19:57:26.000Z
2021-06-14T16:52:53.000Z
lib/world.ex
crertel/elixir_rigid_physics
059f121d5504b7b8fed22aa907503d9e9fd8ac1d
[ "Apache-2.0" ]
10
2019-06-21T22:09:39.000Z
2019-07-10T04:16:12.000Z
lib/world.ex
crertel/elixir_rigid_physics
059f121d5504b7b8fed22aa907503d9e9fd8ac1d
[ "Apache-2.0" ]
1
2021-01-09T01:58:55.000Z
2021-01-09T01:58:55.000Z
defmodule ElixirRigidPhysics.World do @moduledoc """ The "world" of a ERP simulation. There can be zero or more worlds, and they are stepped explicitly. Worlds do not interact with one another. """ @type t :: %__MODULE__{} defstruct process: nil, current_time: 0.0, timestep: 0,...
26.958333
86
0.618238
4a76711820043e26ab8965c45b5649a44ac79740
1,531
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_count_by_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_count_by_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_count_by_status.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...
30.62
96
0.719138
4a76797579bfeefc956cf481baf530c51433a6cb
19,605
ex
Elixir
lib/scenic/component/input/dropdown.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/dropdown.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/dropdown.ex
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer 2018-07-15. # Copyright © 2018 Kry10 Limited. All rights reserved. # defmodule Scenic.Component.Input.Dropdown do @moduledoc """ Add a dropdown to a graph ## Data `{items, initial_item}` * `items` - must be a list of items, each of which is: `{text, id}`. See below... * `i...
27.041379
115
0.550421
4a767f030fea06086fa5d71f370a407b7830333a
826
ex
Elixir
apps/tai/lib/tai/venue_adapters/huobi.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/venue_adapters/huobi.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/lib/tai/venue_adapters/huobi.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.VenueAdapters.Huobi do alias Tai.VenueAdapters.Huobi.{ StreamSupervisor, Products } @behaviour Tai.Venues.Adapter def stream_supervisor, do: StreamSupervisor defdelegate products(venue_id), to: Products def accounts(_venue_id, _credential_id, _credentials), do: {:error, :not_implemen...
43.473684
95
0.769976
4a7686887cb8da4c24db8b91e9f239c0e8a0f2b7
2,390
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/notification.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/notification.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/notification.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
37.936508
134
0.721757
4a76b437451bb131352319de76ee5683df89e74a
1,839
exs
Elixir
clients/pub_sub/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/mix.exs
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.447761
116
0.65416
4a76dc1d22db960b7d59c5d1c86c613dfc2b2a7f
302
ex
Elixir
lib/verk_stats/logger_sink.ex
edgurgel/verk-stats
a4c64c724174c0cde577c367fff13093e21e9d63
[ "MIT" ]
3
2019-03-17T02:18:22.000Z
2022-03-29T07:30:18.000Z
lib/verk_stats/logger_sink.ex
edgurgel/verk-stats
a4c64c724174c0cde577c367fff13093e21e9d63
[ "MIT" ]
null
null
null
lib/verk_stats/logger_sink.ex
edgurgel/verk-stats
a4c64c724174c0cde577c367fff13093e21e9d63
[ "MIT" ]
null
null
null
defmodule VerkStats.LoggerSink do @behaviour VerkStats.Sink @moduledoc """ Default VerkStats sink. It logs the stats using Logger """ require Logger @doc false def collect(type, key, term, tags) do Logger.info("Verk Stats - #{type} - #{key} - #{term} - #{inspect(tags)}") end end
21.571429
77
0.665563
4a770e8006c3ebf202637fe278773d33d0be55e2
135
ex
Elixir
lib/oli/delivery/attempts/core/student_input.ex
argos-education/oli-torus
cff73a277f80c8071217a074d9d8b650a9c068e5
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli/delivery/attempts/core/student_input.ex
argos-education/oli-torus
cff73a277f80c8071217a074d9d8b650a9c068e5
[ "MIT" ]
1
2022-03-25T13:46:08.000Z
2022-03-25T16:06:44.000Z
lib/oli/delivery/attempts/core/student_input.ex
marc-hughes/oli-torus-1
aa3c9bb2d91b678a365be839761eaf86c60ee35c
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Attempts.Core.StudentInput do @enforce_keys [:input] @derive Jason.Encoder defstruct [:input, :files] end
22.5
52
0.762963
4a775d9e62edeaa1f38bc427ac5bd58b60f45b51
2,404
exs
Elixir
test/nerves_hub_link/console_channel_test.exs
verypossible/nerves_hub_link
fda7d06e7f00e69e3ee0dcf2dd8ea26a60cb5765
[ "Apache-2.0" ]
null
null
null
test/nerves_hub_link/console_channel_test.exs
verypossible/nerves_hub_link
fda7d06e7f00e69e3ee0dcf2dd8ea26a60cb5765
[ "Apache-2.0" ]
null
null
null
test/nerves_hub_link/console_channel_test.exs
verypossible/nerves_hub_link
fda7d06e7f00e69e3ee0dcf2dd8ea26a60cb5765
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubLink.ConsoleChannelTest do use ExUnit.Case, async: false alias NervesHubLink.{ClientMock, ConsoleChannel} alias PhoenixClient.Message doctest ConsoleChannel setup context do context = Map.put(context, :state, %ConsoleChannel.State{}) Mox.verify_on_exit!(context) context end ...
35.352941
85
0.650998
4a77639a8d92e0800d862c6a3d7b9f5fb938738d
16,025
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_ssl_certificates.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_ssl_certificates.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_ssl_certificates.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...
48.856707
434
0.64986
4a7767970f6990bd50f501c351c6d0033b3cb726
2,671
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/http_query_parameter_match.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_query_parameter_match.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_query_parameter_match.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.516667
259
0.736428
4a77cc83d5a9c3823a2c2d8070947af42e126ff0
438
exs
Elixir
mix.exs
doomspork/transfusion
2c144a1cf5e93750358f8d307b4d9ad3d81b9b82
[ "MIT" ]
4
2017-07-04T03:40:35.000Z
2021-01-19T05:39:26.000Z
mix.exs
doomspork/transfusion
2c144a1cf5e93750358f8d307b4d9ad3d81b9b82
[ "MIT" ]
3
2017-07-05T00:50:53.000Z
2017-07-23T07:42:32.000Z
mix.exs
doomspork/transfusion
2c144a1cf5e93750358f8d307b4d9ad3d81b9b82
[ "MIT" ]
null
null
null
defmodule Transfusion.Mixfile do use Mix.Project def project do [app: :transfusion, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end def application do [extra_applications: [:logger], mod: {Transfus...
19.909091
63
0.59589
4a77dfbabd2994cfb557a0776e7d620eda23f822
412
ex
Elixir
elixir/rocketpay/lib/rocketpay_web/plugs/auth_access_pipeline.ex
HRsniper/Next-Level-Week-4
e8a4e33311513e354b6dc4efd79daa22feae1633
[ "MIT" ]
null
null
null
elixir/rocketpay/lib/rocketpay_web/plugs/auth_access_pipeline.ex
HRsniper/Next-Level-Week-4
e8a4e33311513e354b6dc4efd79daa22feae1633
[ "MIT" ]
null
null
null
elixir/rocketpay/lib/rocketpay_web/plugs/auth_access_pipeline.ex
HRsniper/Next-Level-Week-4
e8a4e33311513e354b6dc4efd79daa22feae1633
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.AuthAccessPipeline do use Guardian.Plug.Pipeline, otp_app: :rocketpay plug Guardian.Plug.VerifySession plug Guardian.Plug.VerifyHeader plug Guardian.Plug.EnsureAuthenticated # Por padrão, o plug LoadResource retornará um erro se nenhum recurso for encontrado. # Você pode substituir e...
37.454545
87
0.81068
4a7820be13e5baa906b80a42bfc8e07d31c1e0da
3,361
ex
Elixir
lib/credo/sources.ex
ayrat555/credo
517699f82fc6ebe266152d997b64878b334e7bd8
[ "MIT" ]
null
null
null
lib/credo/sources.ex
ayrat555/credo
517699f82fc6ebe266152d997b64878b334e7bd8
[ "MIT" ]
null
null
null
lib/credo/sources.ex
ayrat555/credo
517699f82fc6ebe266152d997b64878b334e7bd8
[ "MIT" ]
null
null
null
defmodule Credo.Sources do alias Credo.SourceFile @default_sources_glob ~w(** *.{ex,exs}) @stdin_filename "stdin" @doc """ Finds sources for a given `Credo.Execution`. Through the `files` key, configs may contain a list of `included` and `excluded` patterns. For `included`, patterns can be file paths, ...
22.709459
102
0.623326
4a783f256cf77513854555ed3a24f6a730a0e7b7
809
exs
Elixir
test/rosetta_euler/groovy_test.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
36
2015-01-24T08:11:52.000Z
2021-03-21T00:32:00.000Z
test/rosetta_euler/groovy_test.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
null
null
null
test/rosetta_euler/groovy_test.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
4
2015-01-24T08:17:42.000Z
2022-01-11T16:10:56.000Z
Code.require_file "../rosetta_euler_test.exs", __DIR__ Code.require_file "../support/answers.exs", __DIR__ defmodule RosettaEuler.GroovyTest do use ExUnit.Case, async: true import RosettaEuler.Test, only: [rosetta_euler_tests: 2] import RosettaEuler.Answers, only: [answer_for: 1] setup context do {:ok, [...
27.896552
77
0.698393
4a784ca236d9092ce6a493f787ea43ac445b07ec
7,608
ex
Elixir
lib/ecto/repo/queryable.ex
lancehalvorsen/ecto
af1f80f2907c62da8abb6d0e4bdac98269a80339
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/queryable.ex
lancehalvorsen/ecto
af1f80f2907c62da8abb6d0e4bdac98269a80339
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/queryable.ex
lancehalvorsen/ecto
af1f80f2907c62da8abb6d0e4bdac98269a80339
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo.Queryable do # The module invoked by user defined repos # for query related functionality. @moduledoc false alias Ecto.Queryable alias Ecto.Query.Builder alias Ecto.Query.Planner require Ecto.Query @doc """ Implementation for `Ecto.Repo.all/2` """ def all(repo, adapter, quer...
29.488372
105
0.639721
4a7863ca5c75dfa6c02f6caea29484203aab7cb6
23,922
ex
Elixir
lib/web/views/challenge_view.ex
GSA/Challenge_gov
f249b53e880537989f1840c4cf0d546ada976810
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/web/views/challenge_view.ex
GSA/Challenge_gov
f249b53e880537989f1840c4cf0d546ada976810
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/web/views/challenge_view.ex
GSA/Challenge_gov
f249b53e880537989f1840c4cf0d546ada976810
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.ChallengeView do use Web, :view alias ChallengeGov.Accounts alias ChallengeGov.Agencies alias ChallengeGov.Challenges alias ChallengeGov.Challenges.Logo alias ChallengeGov.Challenges.WinnerImage alias ChallengeGov.Challenges.ResourceBanner alias ChallengeGov.SupportingDocuments alias St...
29.208791
176
0.588538
4a7864be162140fa30c492298d422a9e58ed0f66
990
ex
Elixir
phoenix/hello/test/support/channel_case.ex
ajlopez/ElixirSamples
556d8d4c95d1a0e4262224b54ad5d7ffab5384e6
[ "MIT" ]
null
null
null
phoenix/hello/test/support/channel_case.ex
ajlopez/ElixirSamples
556d8d4c95d1a0e4262224b54ad5d7ffab5384e6
[ "MIT" ]
null
null
null
phoenix/hello/test/support/channel_case.ex
ajlopez/ElixirSamples
556d8d4c95d1a0e4262224b54ad5d7ffab5384e6
[ "MIT" ]
null
null
null
defmodule Hello.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 be as...
23.571429
66
0.70404
4a7879b0aae1be20012dc9ca0cd25ead362ab446
47
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/39.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/39.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/39.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** noun cm verb_aux verb verb;
11.75
28
0.702128
4a78871756c9f5b6f222e55179db74bad5f6a54a
1,220
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/json_object.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query/lib/google_api/big_query/v2/model/json_object.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query/lib/google_api/big_query/v2/model/json_object.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...
29.047619
74
0.754918
4a78a52b651278af72e46a954146704fc05f2fac
1,501
exs
Elixir
apps/omg_watcher/test/support/integration/fixtures.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/support/integration/fixtures.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/support/integration/fixtures.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...
33.355556
99
0.770153
4a78d6d1dd2c1976ef96cbcee720e45f9a438003
1,185
exs
Elixir
clients/text_to_speech/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.TextToSpeech.V1beta1.Mixfile do use Mix.Project @version "0.3.0" def project do [app: :google_api_text_to_speech, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: p...
24.183673
105
0.6
4a79418634ee0f6d24bb130e5b09916d718ae008
2,225
ex
Elixir
lib/firestorm_web/forums/user.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
null
null
null
lib/firestorm_web/forums/user.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
null
null
null
lib/firestorm_web/forums/user.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
null
null
null
defmodule FirestormWeb.Forums.User do @moduledoc """ Schema for forum users. """ use Ecto.Schema import Ecto.Changeset, warn: false alias FirestormWeb.Forums.{Post, RoleMembership, Role} schema "forums_users" do field(:email, :string) field(:name, :string) field(:username, :string) fiel...
25.284091
81
0.653483
4a796374dd39942430d590c3109f5f6c8a80007b
4,520
ex
Elixir
apps/routes/lib/repo.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/routes/lib/repo.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/routes/lib/repo.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule Routes.Repo do @moduledoc "Repo for fetching Route resources and their associated data from the V3 API." @behaviour Routes.RepoApi require Logger use RepoCache, ttl: :timer.hours(1) import Routes.Parser alias JsonApi alias Routes.{Route, Shape} alias V3Api.{Shapes} @default_opts [includ...
24.565217
91
0.585177
4a79a7e73c25462e5a289962c5bd5d36605bbb2a
204
exs
Elixir
test/policr_mini_web/controllers/page_controller_test.exs
Borschts/policr-mini
0d9e16c8e72fefc8fc547f2c80cda6eb1bd08ae0
[ "MIT" ]
null
null
null
test/policr_mini_web/controllers/page_controller_test.exs
Borschts/policr-mini
0d9e16c8e72fefc8fc547f2c80cda6eb1bd08ae0
[ "MIT" ]
null
null
null
test/policr_mini_web/controllers/page_controller_test.exs
Borschts/policr-mini
0d9e16c8e72fefc8fc547f2c80cda6eb1bd08ae0
[ "MIT" ]
null
null
null
defmodule PolicrMiniWeb.PageControllerTest do use PolicrMiniWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "载入中 - Policr Mini" end end
22.666667
58
0.681373
4a79cba9aed44268ed5608bf3e0dfcf263222457
1,595
ex
Elixir
lib/bpmn/port/nodejs.ex
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
13
2017-09-19T17:49:59.000Z
2021-09-21T18:20:15.000Z
lib/bpmn/port/nodejs.ex
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
7
2017-10-17T16:44:37.000Z
2017-11-14T23:40:40.000Z
lib/bpmn/port/nodejs.ex
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
3
2017-10-21T08:23:26.000Z
2021-09-10T14:27:07.000Z
defmodule Bpmn.Port.Nodejs do use GenServer def start_link cmd \\ nil do cmd = case cmd do nil-> ["node /Users/cosmin/Incubator/github/hashiru/bpmn/priv/scripts/node.js"] _-> cmd end GenServer.start_link __MODULE__, cmd, name: __MODULE__ end def eval_script script, context do GenSe...
24.538462
116
0.60815
4a79cced8d3546f8e8b8eae54c67980fc06f0451
1,132
exs
Elixir
test/auth/secret_test.exs
Fibrasek/doorman
1b32fc3d3dd39d077d69ad1d3ef62f80f3af59f4
[ "MIT" ]
null
null
null
test/auth/secret_test.exs
Fibrasek/doorman
1b32fc3d3dd39d077d69ad1d3ef62f80f3af59f4
[ "MIT" ]
null
null
null
test/auth/secret_test.exs
Fibrasek/doorman
1b32fc3d3dd39d077d69ad1d3ef62f80f3af59f4
[ "MIT" ]
null
null
null
defmodule Doorman.Auth.SecretTest do use ExUnit.Case alias Doorman.Auth.Secret defmodule FakeUser do use Ecto.Schema import Ecto.Changeset schema "fake_users" do field :session_secret, :string end def changeset(_changes) do change(%__MODULE__{}) end end test "put_sessi...
32.342857
94
0.739399
4a79f614628d43f89bafe29ddb201281825d6fd5
6,180
exs
Elixir
test/do_block/interceptor_on_after_test.exs
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
40
2018-09-30T13:39:20.000Z
2022-01-07T12:47:45.000Z
test/do_block/interceptor_on_after_test.exs
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
6
2019-02-17T22:21:17.000Z
2021-04-26T21:47:59.000Z
test/do_block/interceptor_on_after_test.exs
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
5
2020-05-16T00:31:45.000Z
2021-07-16T13:39:05.000Z
defmodule InterceptorOnAfterTest do use ExUnit.Case @process_name :after_test_process describe "module with a single function" do test "it intercepts the function after it is called" do {:ok, _pid} = spawn_agent() result = InterceptedOnAfter1.to_intercept() callback_calls = get_agent_mes...
30.746269
99
0.695955
4a7a513b8b7d254521f48ed9794d0787e266329d
191
exs
Elixir
config/config.exs
coryodaniel/k8s_client
88fb9490db72e947b2d216637769134bc4ebdfbd
[ "MIT" ]
5
2019-01-12T16:56:05.000Z
2021-04-10T04:06:13.000Z
config/config.exs
coryodaniel/k8s_client
88fb9490db72e947b2d216637769134bc4ebdfbd
[ "MIT" ]
12
2019-01-08T23:42:56.000Z
2019-01-26T19:07:50.000Z
config/config.exs
coryodaniel/k8s_client
88fb9490db72e947b2d216637769134bc4ebdfbd
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :k8s_client, spec: "priv/swagger/1.13.json"
27.285714
61
0.774869
4a7a5780fc32810cdaccf267315ecd8a2f2fd2c5
1,012
exs
Elixir
config/config.exs
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
29
2016-07-27T21:39:06.000Z
2020-01-16T10:34:05.000Z
config/config.exs
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
null
null
null
config/config.exs
inaka/phoenix_passwordless_login
8cdd1b6c83e28f4a36fd13381141dc382e4b92f8
[ "Apache-2.0" ]
6
2016-07-28T18:44:25.000Z
2019-11-09T12:43:40.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :passwordless_login_app, ecto_repos: [Pa...
36.142857
86
0.779644
4a7a7ae95468c6e30d97182c76e39c20ff5daf4d
983
ex
Elixir
lib/live_view_example_web/live/category_live.ex
PJUllrich/LiveX_examples
0de120cc99cefd304a5cf50d4822e2a9cdd96778
[ "MIT" ]
6
2019-09-03T17:19:07.000Z
2020-05-02T08:26:26.000Z
lib/live_view_example_web/live/category_live.ex
PJUllrich/LiveX_example
0de120cc99cefd304a5cf50d4822e2a9cdd96778
[ "MIT" ]
9
2020-07-17T17:11:17.000Z
2021-07-19T15:47:09.000Z
lib/live_view_example_web/live/category_live.ex
PJUllrich/LiveX_example
0de120cc99cefd304a5cf50d4822e2a9cdd96778
[ "MIT" ]
2
2019-09-03T17:19:08.000Z
2019-10-02T20:37:46.000Z
defmodule LiveViewExampleWeb.CategoryLive do use LiveViewExampleWeb, :live_view require Logger alias LiveViewExampleWeb.Store def render(assigns) do Phoenix.View.render(LiveViewExampleWeb.PageView, "category.html", assigns) end def mount(_params, %{"store_pid" => store_pid} = _session, socket) do ...
26.567568
86
0.68057
4a7a807c33469094beafeaac9890633a3de43150
95
ex
Elixir
lib/structs/address.ex
vinicioslc/elixir-practice
db442e36f306780f23e31ebd34c291cec6ad6c26
[ "MIT" ]
null
null
null
lib/structs/address.ex
vinicioslc/elixir-practice
db442e36f306780f23e31ebd34c291cec6ad6c26
[ "MIT" ]
null
null
null
lib/structs/address.ex
vinicioslc/elixir-practice
db442e36f306780f23e31ebd34c291cec6ad6c26
[ "MIT" ]
null
null
null
defmodule Address do defstruct name: nil, location: nil, zipcode: %ZipCode{number: 7777} end
23.75
69
0.757895
4a7a9e1f76a529074801d944ccea964c05eff0b4
155
ex
Elixir
lib/fountainedge/state.ex
emden-norfolk/fountainedge
9a1795c5042ef15959586d860d8f2813ec7848da
[ "BSD-3-Clause" ]
1
2019-05-29T08:54:47.000Z
2019-05-29T08:54:47.000Z
lib/fountainedge/state.ex
emden-norfolk/fountainedge
9a1795c5042ef15959586d860d8f2813ec7848da
[ "BSD-3-Clause" ]
null
null
null
lib/fountainedge/state.ex
emden-norfolk/fountainedge
9a1795c5042ef15959586d860d8f2813ec7848da
[ "BSD-3-Clause" ]
null
null
null
defmodule Fountainedge.State do @moduledoc """ Documentation for Fountainedge.State. """ @enforce_keys [:id] defstruct id: nil, tokens: [] end
15.5
39
0.690323
4a7aac009bb8b1f859bc8f56f74112070dd2fd46
3,374
ex
Elixir
lib/distributions/bimodal.ex
piisgaaf/chi2fit
64e1c6719142e74979a407749953b892d4ccd985
[ "Apache-2.0" ]
4
2017-11-06T20:08:40.000Z
2021-07-01T13:42:48.000Z
lib/distributions/bimodal.ex
piisgaaf/chi2fit
64e1c6719142e74979a407749953b892d4ccd985
[ "Apache-2.0" ]
null
null
null
lib/distributions/bimodal.ex
piisgaaf/chi2fit
64e1c6719142e74979a407749953b892d4ccd985
[ "Apache-2.0" ]
null
null
null
defmodule Distribution.BiModal do # Copyright 2020 Pieter Rijken # # 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 # # Unle...
33.078431
127
0.61559
4a7acf85259ba8bdf85766cec0a3aab290757bc6
2,345
ex
Elixir
lib/phoenix_profiler/telemetry.ex
mcrumm/phoenix_profiler
57dd6c4ae2fa0a612f0d60643f2058c16c7b6399
[ "MIT" ]
98
2021-12-04T03:00:02.000Z
2022-03-24T16:53:20.000Z
lib/phoenix_profiler/telemetry.ex
mcrumm/phoenix_profiler
57dd6c4ae2fa0a612f0d60643f2058c16c7b6399
[ "MIT" ]
22
2021-12-04T15:23:14.000Z
2022-03-21T17:14:29.000Z
lib/phoenix_profiler/telemetry.ex
mcrumm/phoenix_profiler
57dd6c4ae2fa0a612f0d60643f2058c16c7b6399
[ "MIT" ]
1
2022-01-24T17:37:59.000Z
2022-01-24T17:37:59.000Z
defmodule PhoenixProfiler.Telemetry do # Telemetry helpers @moduledoc false live_view_events = for stage <- [:mount, :handle_params, :handle_event], action <- [:start, :stop, :exception] do [:phoenix, :live_view, stage, action] end plug_events = [ [:phoenix, :endpoint, :stop], [:...
25.769231
93
0.568017
4a7adb9e7d265cdd03ac6bb21bdb5cf2d45c3e50
15,085
ex
Elixir
lib/mppm/game_server/server.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
6
2020-11-18T10:10:51.000Z
2021-03-17T14:28:36.000Z
lib/mppm/game_server/server.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
6
2020-11-10T21:50:43.000Z
2021-03-04T09:41:22.000Z
lib/mppm/game_server/server.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
null
null
null
defmodule Mppm.GameServer.Server do require Logger use Ecto.Schema use GenServer import Ecto.Changeset import Ecto.Query import Mppm.PubSub, only: [broadcast: 2] alias Mppm.ServerConfig alias __MODULE__ @msg_waiting_ports "Waiting for game server ports to open..." @max_start_attempts 20 @start_ti...
30.291165
159
0.631555
4a7ae693cc9b99794d1f0a5ab11cf22b64001d16
570
ex
Elixir
lib/uf/se.ex
edmaarcosta/IEEx
fb457be8c03b7a147463cdd2736f9699a699e22d
[ "MIT" ]
null
null
null
lib/uf/se.ex
edmaarcosta/IEEx
fb457be8c03b7a147463cdd2736f9699a699e22d
[ "MIT" ]
1
2017-12-05T15:58:10.000Z
2017-12-05T15:58:10.000Z
lib/uf/se.ex
edmaarcosta/ieex
fb457be8c03b7a147463cdd2736f9699a699e22d
[ "MIT" ]
1
2018-10-01T19:35:47.000Z
2018-10-01T19:35:47.000Z
defmodule IEEx.UF.SE do # 27123456-3 alias IEEx.Util @peso [9, 8, 7, 6, 5, 4, 3, 2] def is_valid?(input) do ie = Util.only_numbers(input) if String.length(ie) == 9 do l_ie = Util.parse_ie(ie) # extra digito verificador [f_dig] = Util.get_digs(l_ie, 1) # remove o digito verificad...
20.357143
53
0.533333
4a7aed0986c95b092ff803eee0d8761a605bc9aa
1,142
ex
Elixir
lib/refmon/adapter.ex
khattori/refmon
99d4e4df200a4146f785a83c2297f9d8303a2f47
[ "MIT" ]
null
null
null
lib/refmon/adapter.ex
khattori/refmon
99d4e4df200a4146f785a83c2297f9d8303a2f47
[ "MIT" ]
null
null
null
lib/refmon/adapter.ex
khattori/refmon
99d4e4df200a4146f785a83c2297f9d8303a2f47
[ "MIT" ]
null
null
null
defmodule Refmon.Adapter do @moduledoc """ Specifies the minimal API required from reference monitor policy adapters. """ @callback permission( subject :: term, object :: term, access_mode :: atom, access_param :: term ) :: MapSet.t() @callback filter( subject :: term, object :: term...
26.55814
106
0.649737
4a7aee7fcc4713ac1161be6770923a461994a4fd
1,645
exs
Elixir
apps/etv_data/test/etv_data/transaction_test.exs
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
2
2020-01-13T09:34:04.000Z
2021-05-19T07:51:07.000Z
apps/etv_data/test/etv_data/transaction_test.exs
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
null
null
null
apps/etv_data/test/etv_data/transaction_test.exs
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
2
2018-09-01T20:58:11.000Z
2021-05-19T07:51:11.000Z
defmodule Tests.ETV.Data.Transaction do use ExUnit.Case, async: true alias ETV.Data.Transaction alias Tests.Support setup(tags) do Support.Ecto.setup(tags) end describe "#changeset" do @valid_hash "0x07b2aab7860ab5e9b7a21e86f148c38b1314c7137de3f7c8f091184977ba74cf" @invalid_hash "some_inv...
23.84058
88
0.67234
4a7b0d5a9ff2c3e825b33a89848c345836d4cf59
1,338
exs
Elixir
apps/snitch_core/config/config.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/config/config.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/config/config.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
use Mix.Config config :snitch_core, ecto_repos: [Snitch.Repo] config :ecto, :json_library, Jason config :arc, bucket: {:system, "BUCKET_NAME"}, virtual_host: true config :snitch_core, Snitch.BaseUrl, frontend_url: System.get_env("FRONTEND_URL"), backend_url: System.get_env("BACKEND_URL") config :ex_aws, a...
26.235294
74
0.716741
4a7b1887a362ba4c2f27a87f0d862719100eff0f
5,369
ex
Elixir
clients/books/lib/google_api/books/v1/api/onboarding.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/api/onboarding.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/api/onboarding.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...
44.371901
217
0.69417
4a7b43a8f89917dbd685b050c083ec2c0be1782c
304
ex
Elixir
home_page_local/lib/home_page_web/controllers/top_controller.ex
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
8
2019-06-02T05:02:36.000Z
2021-08-11T04:23:10.000Z
home_page_local/lib/home_page_web/controllers/top_controller.ex
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
7
2019-05-15T08:32:51.000Z
2020-06-10T07:46:43.000Z
home_page_local/lib/home_page_web/controllers/top_controller.ex
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
1
2019-06-02T05:02:47.000Z
2019-06-02T05:02:47.000Z
defmodule HomePageWeb.TopController do use HomePageWeb, :controller alias HomePage.Contents alias HomePage.Contents.ComponentItem alias HomePage.Pages def index(conn, _params) do query = Pages.get_category!(2).url conn |> redirect(to: category_path(conn, :show, query)) end end
21.714286
54
0.740132
4a7b4efe41bc8169f12eb0aff7494b11bb308e17
22,644
ex
Elixir
lib/ecto/adapters/sql/sandbox.ex
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql/sandbox.ex
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql/sandbox.ex
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.SQL.Sandbox do @moduledoc ~S""" A pool for concurrent transactional tests. The sandbox pool is implemented on top of an ownership mechanism. When started, the pool is in automatic mode, which means the repository will automatically check connections out as with any other pool. Th...
36.819512
100
0.694577
4a7b56e255c724c1e79fde7c9de72650e41e2401
330
exs
Elixir
priv/repo/migrations/20210422011019_create_supplies_table.exs
bruguedes/nlw5-trilha-elixir
4de5ecdce766c4371da80cd69ea08283838c66cd
[ "MIT" ]
null
null
null
priv/repo/migrations/20210422011019_create_supplies_table.exs
bruguedes/nlw5-trilha-elixir
4de5ecdce766c4371da80cd69ea08283838c66cd
[ "MIT" ]
null
null
null
priv/repo/migrations/20210422011019_create_supplies_table.exs
bruguedes/nlw5-trilha-elixir
4de5ecdce766c4371da80cd69ea08283838c66cd
[ "MIT" ]
null
null
null
defmodule Inmana.Repo.Migrations.CreateSuppliesTable do use Ecto.Migration def change do create table (:supplies) do add :descripion, :string add :expiration_date, :date add :responsible, :string add :restaurant_id, references(:restaurants, type: :binary_id) timestamps() end ...
22
68
0.690909
4a7b96c5f798b985d5a9ad09e48808a0efbbbae6
1,557
ex
Elixir
lib/stein_example/images.ex
smartlogic/stein_example
7ef369757989a9a56d04e87f6421675bf69193a2
[ "MIT" ]
7
2019-12-13T19:23:47.000Z
2022-01-22T23:02:42.000Z
lib/stein_example/images.ex
smartlogic/stein_example
7ef369757989a9a56d04e87f6421675bf69193a2
[ "MIT" ]
11
2021-03-10T01:57:00.000Z
2021-08-31T18:30:54.000Z
lib/stein_example/images.ex
smartlogic/stein_example
7ef369757989a9a56d04e87f6421675bf69193a2
[ "MIT" ]
null
null
null
defmodule SteinExample.Images do @moduledoc """ Common module for dealing with image conversion """ @type opts() :: Keyword.t() alias Stein.Storage alias Stein.Storage.FileUpload @doc """ Convert an image file using image magick """ @spec convert(FileUpload.t(), opts()) :: {:ok, Path.t()} | {:err...
22.897059
91
0.612075
4a7ba20d15561fc7ab09e6425aaae9ba300048e3
389
ex
Elixir
lib/ynd_phx_bootstrap_web/health_checks.ex
ynd-consult-ug/ynd-phx-bootstrap
784480186fee0375a01a534fcf597d1ef026e7ac
[ "MIT" ]
33
2018-02-01T16:02:05.000Z
2020-08-20T07:47:33.000Z
lib/ynd_phx_bootstrap_web/health_checks.ex
ynd-consult-ug/ynd-phx-bootstrap
784480186fee0375a01a534fcf597d1ef026e7ac
[ "MIT" ]
null
null
null
lib/ynd_phx_bootstrap_web/health_checks.ex
ynd-consult-ug/ynd-phx-bootstrap
784480186fee0375a01a534fcf597d1ef026e7ac
[ "MIT" ]
2
2018-02-01T12:14:09.000Z
2018-02-20T12:20:17.000Z
defmodule YndPhxBootstrapWeb.HealthChecks do @moduledoc """ YndPhxBootstrapWeb.HealthChecks is responsible for checking of the health of the app. """ alias Ecto.Adapters.SQL alias YndPhxBootstrap.Repo @spec check_ynd_phx_bootstrap_repo() :: :ok | no_return def check_ynd_phx_bootstrap_repo do %{num_ro...
27.785714
87
0.730077
4a7bf4402c3765211213ecf5677a4ccba73b581b
85
exs
Elixir
test/views/layout_view_test.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
defmodule AlumniBook.LayoutViewTest do use AlumniBookWeb.ConnCase, async: true end
21.25
41
0.835294
4a7c0a388112fad7aca480f3fd0d7d750815d9eb
258
exs
Elixir
apps/cms/test/cms_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/cms/test/cms_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/cms/test/cms_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule CMSTest do @moduledoc false use ExUnit.Case describe "start/2" do test "can start the application" do # should have already been started assert {:error, {:already_started, _pid}} = CMS.start(:permanent, []) end end end
21.5
75
0.670543
4a7c0f0cadb56d37926bd5f3bfcd0644b5898b84
3,626
exs
Elixir
test/feed_test.exs
Alexandre-Herve/streamex
b55608cfc971225a44ebdfa4c9b56a8ec37049f5
[ "MIT" ]
1
2018-04-25T23:50:01.000Z
2018-04-25T23:50:01.000Z
test/feed_test.exs
logit-ai/streamex
ef20ad00454428d7a84f827e8dc1434f68119ee1
[ "MIT" ]
1
2018-07-19T18:13:40.000Z
2018-07-19T18:13:40.000Z
test/feed_test.exs
logit-ai/streamex
ef20ad00454428d7a84f827e8dc1434f68119ee1
[ "MIT" ]
null
null
null
defmodule FeedTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney alias Streamex.{Feed, Follow, ErrorInput, ErrorFeedNotFound} doctest Streamex setup_all do ExVCR.Config.cassette_library_dir("fixture/vcr_cassettes") end test "Feed initialization params get validated...
31.258621
81
0.653337
4a7c2262ba4bc6af352f8f6a60c21481a409a1a4
199
exs
Elixir
exercises/minesweeper/minesweeper.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/minesweeper/minesweeper.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/minesweeper/minesweeper.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule Minesweeper do @doc """ Annotate empty spots next to mines with the number of mines next to them. """ @spec annotate([String.t]) :: [String.t] def annotate(board) do end end
16.583333
75
0.673367
4a7c341e5932e9486fbc7cf06b1198b75513607d
109
ex
Elixir
test/support/fake_httpoison.ex
alisiikh/gifgen
6bf4053101d59d639daf267169ce82fe280b80f9
[ "Apache-2.0" ]
null
null
null
test/support/fake_httpoison.ex
alisiikh/gifgen
6bf4053101d59d639daf267169ce82fe280b80f9
[ "Apache-2.0" ]
null
null
null
test/support/fake_httpoison.ex
alisiikh/gifgen
6bf4053101d59d639daf267169ce82fe280b80f9
[ "Apache-2.0" ]
null
null
null
defmodule FakeHttpoison do def get(_) do {:ok, %HTTPoison.Response{body: <<1, 2, 3, 4, 5>>}} end end
18.166667
55
0.614679
4a7c66087c88fac4d6626f4320237a64eb2ba2a6
2,113
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_product_search_results_result.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_product_search_results_result.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_product_search_results_result.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 ...
35.216667
128
0.731188
4a7c89dec8209d634a35984f1ff596bc609621d1
4,060
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/scan_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/scan_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/scan_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...
48.915663
183
0.71133
4a7d01c10cf9d32bcf46fb98e32af7969b505fc3
180
exs
Elixir
test/xturn_websocket_logger_test.exs
xirsys/xturn-websocket-logger
b10f038ec9de64978f919ad91ead905b0816f1af
[ "Apache-2.0" ]
null
null
null
test/xturn_websocket_logger_test.exs
xirsys/xturn-websocket-logger
b10f038ec9de64978f919ad91ead905b0816f1af
[ "Apache-2.0" ]
null
null
null
test/xturn_websocket_logger_test.exs
xirsys/xturn-websocket-logger
b10f038ec9de64978f919ad91ead905b0816f1af
[ "Apache-2.0" ]
null
null
null
defmodule XTurn.WebSocketLoggerTest do use ExUnit.Case doctest XTurn.WebSocketLogger test "greets the world" do assert XTurn.WebSocketLogger.hello() == :world end end
20
50
0.761111
4a7d09963c6324fb97d1225d60dfef440efab93b
603
exs
Elixir
projects/api/test/margaret_web/controllers/auth_controller_test.exs
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
82
2017-11-06T01:00:55.000Z
2020-12-09T10:35:29.000Z
projects/api/test/margaret_web/controllers/auth_controller_test.exs
dbstratta/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
98
2017-11-06T22:57:32.000Z
2020-07-03T04:46:39.000Z
projects/api/test/margaret_web/controllers/auth_controller_test.exs
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
10
2017-11-16T05:31:58.000Z
2020-10-29T18:02:35.000Z
defmodule HelloWeb.AuthControllerTest do use MargaretWeb.ConnCase, async: true describe "GET /auth/facebook" do test "Responds with a status 302", %{conn: conn} do conn = get(conn, "/auth/facebook") response(conn, 302) end end describe "GET /auth/github" do test "Responds with a statu...
21.535714
55
0.633499
4a7d0ae40f0509fbe10aa45fe57acdb636d5f35c
404
ex
Elixir
lib/openflow/actions/push_pbb.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
lib/openflow/actions/push_pbb.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
lib/openflow/actions/push_pbb.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule Openflow.Action.PushPbb do defstruct(ethertype: 0x88E7) alias __MODULE__ def ofpat, do: 26 def new(ethertype) do %PushPbb{ethertype: ethertype} end def to_binary(%PushPbb{ethertype: ethertype}) do <<26::16, 8::16, ethertype::16, 0::size(2)-unit(8)>> end def read(<<26::16, 8::16, e...
20.2
67
0.663366
4a7d5b41678ede2559ca5f06900ad842af4d43df
636
exs
Elixir
src/097/p097.exs
fredericojordan/polyglot-euler
9eb75c04db11705def4971fdbb02a6e84c71bef5
[ "MIT" ]
null
null
null
src/097/p097.exs
fredericojordan/polyglot-euler
9eb75c04db11705def4971fdbb02a6e84c71bef5
[ "MIT" ]
null
null
null
src/097/p097.exs
fredericojordan/polyglot-euler
9eb75c04db11705def4971fdbb02a6e84c71bef5
[ "MIT" ]
null
null
null
#!/usr/bin/env elixir defmodule Problem097 do defp pow_mod10000000000(_, 0), do: 1 defp pow_mod10000000000(x, n) when rem(n, 2) != 0 do x * pow_mod10000000000(x, n - 1) |> Integer.digits() |> Enum.take(-10) |> Integer.undigits() end defp pow_mod10000000000(x, n) do result = pow_mod100000000...
21.2
54
0.613208
4a7d89ba5ed540979aa98643ce28f66d3a848930
1,259
exs
Elixir
Chapter02/rel/config.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter02/rel/config.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter02/rel/config.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # This sets the default release built by `mix release` default_release: :default, # This sets the default environment used by `mix release` default_environment: Mix.env() environment :de...
29.27907
81
0.698967
4a7dc3ca8cbd5caa7efba677edcff69da18c6670
677
exs
Elixir
otp-applications/stack/mix.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2019-02-17T11:54:17.000Z
2019-02-17T11:54:17.000Z
otp-applications/stack/mix.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
otp-applications/stack/mix.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
defmodule Stack.MixProject do use Mix.Project def project do [ app: :stack, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ mod: {Stack.A...
21.15625
88
0.565731
4a7dc82f9792024ac1459e9cd75287368755234b
1,727
ex
Elixir
lib/dobble_generator_web.ex
Skoda091/dobble-generator
6dd084d6af55beeac4369772a3cba1be76ec8d41
[ "MIT" ]
4
2020-04-11T23:00:13.000Z
2022-02-07T14:51:18.000Z
lib/dobble_generator_web.ex
Skoda091/dobble-generator
6dd084d6af55beeac4369772a3cba1be76ec8d41
[ "MIT" ]
2
2021-03-10T13:32:34.000Z
2021-05-11T09:27:10.000Z
lib/dobble_generator_web.ex
Skoda091/dobble-generator
6dd084d6af55beeac4369772a3cba1be76ec8d41
[ "MIT" ]
null
null
null
defmodule DobbleGeneratorWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use DobbleGeneratorWeb, :controller use DobbleGeneratorWeb, :view The definitions below will be executed for ev...
24.671429
83
0.706427
4a7ddad166c41deea73e7a3487d2d578e352abad
184
exs
Elixir
priv/repo/migrations/20170705131856_add_images_group_url_to_users.exs
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
196
2019-05-05T15:59:32.000Z
2022-03-15T02:37:19.000Z
priv/repo/migrations/20170705131856_add_images_group_url_to_users.exs
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
105
2019-05-04T19:04:40.000Z
2021-07-28T11:21:45.000Z
priv/repo/migrations/20170705131856_add_images_group_url_to_users.exs
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
26
2019-05-05T19:40:52.000Z
2021-11-16T00:32:46.000Z
defmodule Shopix.Repo.Migrations.AddImagesGroupUrlToUsers do use Ecto.Migration def change do alter table(:products) do add :images_group_url, :string end end end
18.4
60
0.73913
4a7de4d091239b9a82b9ada4463db6d91a0232e8
10,163
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/api/samples.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/api/samples.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/api/samples.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.431624
196
0.637804
4a7df37ded65d54b14d695e6dc2fa7d3433d7555
60
ex
Elixir
web/views/topic_view.ex
fernandedios/elixir-phoenix-discuss
ca64154dd44c9d8ca251c3d3a75f4e0152bb5d1f
[ "MIT" ]
15
2017-09-19T08:09:01.000Z
2019-04-29T00:37:51.000Z
web/views/topic_view.ex
fernandedios/elixir-phoenix-discuss
ca64154dd44c9d8ca251c3d3a75f4e0152bb5d1f
[ "MIT" ]
1
2021-05-09T03:13:17.000Z
2021-05-09T03:13:17.000Z
discuss/web/views/topic_view.ex
darth-dodo/discuss-it
dbed7d3c844ba155b7dd3a763a83b41a54d01048
[ "MIT" ]
17
2018-02-27T03:15:54.000Z
2019-04-24T09:26:46.000Z
defmodule Discuss.TopicView do use Discuss.Web, :view end
15
30
0.783333
4a7e2ddda26519607eb1fe06063e2f1728d76ed8
336
ex
Elixir
day06/el.ex
mason-bially/aoc-2021
866ffc7e85f690c2ad9195da2304bfb515819023
[ "MIT" ]
null
null
null
day06/el.ex
mason-bially/aoc-2021
866ffc7e85f690c2ad9195da2304bfb515819023
[ "MIT" ]
null
null
null
day06/el.ex
mason-bially/aoc-2021
866ffc7e85f690c2ad9195da2304bfb515819023
[ "MIT" ]
null
null
null
Code.require_file("../util/util.ex", __DIR__) defmodule Day06 do def simulate(state) do Enum.map(state, fn {k, v} -> case k do 0 -> [{6, v}, {8, v}] k -> [{k - 1, v}] end end) |> List.flatten |> Enum.reduce(%{}, fn {k, v}, acc -> Map.update(acc, k, v, &(&1 + v)) end ...
19.764706
60
0.470238
4a7e4107df653f0d3807d76e3d160a824ac58d78
1,253
ex
Elixir
lib/credo/check/design/tag_todo.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
lib/credo/check/design/tag_todo.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
lib/credo/check/design/tag_todo.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2020-09-25T11:48:49.000Z
2020-09-25T11:48:49.000Z
defmodule Credo.Check.Design.TagTODO do @moduledoc false @checkdoc """ TODO comments are used to remind yourself of source code related things. Example: # TODO: move this to a Helper module defp fun do # ... end The premise here is that TODO should be dealt with in the near futur...
24.096154
77
0.671189
4a7e4f98068a689b0a7b7aac5846fd50e498df6d
140
exs
Elixir
test/doc_test.exs
gitter-badger/hades-1
c080147ac70c21663046e28fbe4bf52ce6bda5c5
[ "MIT" ]
24
2020-02-07T18:16:00.000Z
2022-02-27T01:23:26.000Z
test/doc_test.exs
AlexJuca/hades
b89bf525e511a78107dfca80b5b4705c7c31d6e2
[ "MIT" ]
4
2020-02-17T15:27:55.000Z
2021-07-03T09:51:19.000Z
test/doc_test.exs
AlexJuca/hades
b89bf525e511a78107dfca80b5b4705c7c31d6e2
[ "MIT" ]
3
2020-02-14T15:12:42.000Z
2020-03-19T13:22:20.000Z
defmodule DocTest do use ExUnit.Case, async: true doctest Hades, except: [scan: 1] doctest Hades.Helpers, except: [hades_path: 0] end
23.333333
48
0.728571
4a7e634dcd54ce87c55568a7bc9297e01233f10e
4,858
ex
Elixir
lib/wechat/official_account/comment.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
7
2021-01-22T04:07:29.000Z
2021-12-14T14:01:30.000Z
lib/wechat/official_account/comment.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
1
2021-03-17T15:44:26.000Z
2021-03-17T15:44:26.000Z
lib/wechat/official_account/comment.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
2
2021-03-17T14:35:56.000Z
2021-08-10T07:44:10.000Z
defmodule WeChat.Comment do @moduledoc """ 图文消息留言管理 [官方文档](https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html){:target="_blank"} """ import Jason.Helpers import WeChat.Utils, only: [doc_link_prefix: 0] @doc_link "#{doc_link_prefix()}/doc/offiacc...
27.602273
137
0.61198
4a7e7da6ce75ce36701b456fb39c930554ba3bdb
2,843
ex
Elixir
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_metadata.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...
45.854839
342
0.718959
4a7e8e24e86e933ac51bef3deb5b7486575066d7
11,011
ex
Elixir
debian/manpage.xml.ex
IMIO/dircnt
0d2731cc27d0f477b562ee518515fac856140832
[ "Apache-2.0" ]
null
null
null
debian/manpage.xml.ex
IMIO/dircnt
0d2731cc27d0f477b562ee518515fac856140832
[ "Apache-2.0" ]
null
null
null
debian/manpage.xml.ex
IMIO/dircnt
0d2731cc27d0f477b562ee518515fac856140832
[ "Apache-2.0" ]
null
null
null
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!-- `xsltproc -''-nonet \ -''-param man.charmap.use.subset "0" \ -''-param make.year.ranges "1" \ -''-param make.single.year.r...
37.708904
84
0.632095
4a7e913028d1e8693c884b0b20e5b638b2b5a65c
6,388
exs
Elixir
test/xdr/variable_array_test.exs
kommitters/xdr
41f8bcbb62c70a37a8ae7e861a473053f712fb67
[ "MIT" ]
7
2020-06-30T22:52:23.000Z
2022-02-18T22:13:43.000Z
test/xdr/variable_array_test.exs
kommitters/xdr
41f8bcbb62c70a37a8ae7e861a473053f712fb67
[ "MIT" ]
22
2020-05-22T15:24:52.000Z
2021-09-01T16:56:53.000Z
test/xdr/variable_array_test.exs
kommitters/xdr
41f8bcbb62c70a37a8ae7e861a473053f712fb67
[ "MIT" ]
1
2021-08-17T12:34:15.000Z
2021-08-17T12:34:15.000Z
defmodule XDR.VariableArrayTest do @moduledoc """ Tests for the `XDR.VariableArray` module. """ use ExUnit.Case alias XDR.{VariableArray, VariableArrayError} describe "Encoding Fixed Array" do test "when xdr is not list" do {status, reason} = VariableArray.new(<<0, 0, 1>>, XDR.Int, 3) ...
28.774775
98
0.543519
4a7e950d5df8bbdbb6847c466af0da539b34d740
932
exs
Elixir
script/modport.exs
evnu/baud
aa3682d3a8562f1d0d3c722175b5ad24fdb91d54
[ "Apache-2.0" ]
11
2017-04-27T13:51:56.000Z
2020-10-26T07:31:03.000Z
script/modport.exs
evnu/baud
aa3682d3a8562f1d0d3c722175b5ad24fdb91d54
[ "Apache-2.0" ]
5
2016-12-06T06:14:19.000Z
2019-02-06T09:50:19.000Z
script/modport.exs
evnu/baud
aa3682d3a8562f1d0d3c722175b5ad24fdb91d54
[ "Apache-2.0" ]
7
2016-11-30T15:32:40.000Z
2021-06-18T19:29:43.000Z
alias Modbus.Rtu.Master tty = case :os.type() do {:unix, :darwin} -> "cu.usbserial-FTVFV143" {:unix, :linux} -> "ttyUSB0" {:win32, :nt} -> "COM5" end {:ok, pid} = Master.start_link([device: tty, speed: 57600]) delay = 60 points = [0,1,2,3,4,5,6,7] for i <- 0..100000 do :io.format "~p ~n", [i] for n <- E...
25.189189
61
0.527897
4a7efa784d8e0bfcb751a415561b7634a7de987d
3,205
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_export_data_operation_response.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_v1p1alpha1_export_data_operation_response.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_v1p1alpha1_export_data_operation_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.0625
197
0.731045
4a7f0bd2ef2621119ec909a319f1c405eb583650
1,869
exs
Elixir
elixir/meetup/meetup_1.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/meetup/meetup_1.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/meetup/meetup_1.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
defmodule Meetup do @moduledoc """ Calculate meetup dates. """ @type weekday :: :monday | :tuesday | :wednesday | :thursday | :friday | :saturday | :sunday @type schedule :: :first | :second | :third | :fourth | :last | :teenth @doc """ Calculate a meetup date. The schedule is in which wee...
27.485294
79
0.609417
4a7f15314998645a25fc1965f0b865e7e60f5ca3
47,401
ex
Elixir
test/support/factory.ex
brexhq/plaid-elixir
ba0cb7079a50d8e0bd906030f27748865c4d809c
[ "MIT" ]
2
2021-04-19T15:40:33.000Z
2021-04-26T22:39:59.000Z
test/support/factory.ex
brexhq/plaid-elixir
ba0cb7079a50d8e0bd906030f27748865c4d809c
[ "MIT" ]
1
2021-02-26T19:50:54.000Z
2021-02-26T19:50:54.000Z
test/support/factory.ex
brexhq/plaid-elixir
ba0cb7079a50d8e0bd906030f27748865c4d809c
[ "MIT" ]
1
2021-02-26T17:44:36.000Z
2021-02-26T17:44:36.000Z
defmodule Plaid.Factory do @moduledoc false def http_response_body(:accounts) do %{ "accounts" => [ %{ "account_id" => "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D", "balances" => %{ "available" => 100, "current" => 110, "limit" => nil, ...
33.428068
1,917
0.430919
4a7f299489fba3c11b46137ee1fe133833b43eb7
138
exs
Elixir
plugins/one_dialer/mix.exs
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_dialer/mix.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_dialer/mix.exs
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneDialer.Mixfile do use Mix.Project def project do [ app: :one_dialer, version: "0.0.1", ] end end
11.5
30
0.586957
4a7f301c7bf9dd326434f53b939c9ffb19ddde29
1,680
ex
Elixir
elixir/phoenix_socket/web/web.ex
BStudent/SPANC-websocket-shootout
44353f1b9bf87ba7017b2788d876e732b410b4c4
[ "MIT" ]
421
2016-09-01T14:16:04.000Z
2022-03-11T14:22:29.000Z
elixir/phoenix_socket/web/web.ex
BStudent/SPANC-websocket-shootout
44353f1b9bf87ba7017b2788d876e732b410b4c4
[ "MIT" ]
48
2016-09-01T23:10:37.000Z
2020-10-28T14:34:47.000Z
elixir/phoenix_socket/web/web.ex
thewillhuang/websocket-shootout
d9046f341dc2a1ed54be5e734a546b392db09b05
[ "MIT" ]
84
2016-09-01T14:37:39.000Z
2021-11-10T16:46:13.000Z
defmodule PhoenixSocket.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use PhoenixSocket.Web, :controller use PhoenixSocket.Web, :view The definitions below will be executed for every view, controller, etc...
20.487805
88
0.679167
4a7f455e36d5091e89052628a8fb6c9f4ccdaab7
1,414
ex
Elixir
clients/surveys/lib/google_api/surveys/v2/model/results_get_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/surveys/lib/google_api/surveys/v2/model/results_get_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/surveys/lib/google_api/surveys/v2/model/results_get_request.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.458333
91
0.751768
4a7f4bb0f57586186edc8481a12b9985cd7b3627
93
exs
Elixir
.formatter.exs
Frameio/pigeon
7de765179f74dbf13fbcc9cbe9ae1de59fe953e2
[ "MIT" ]
545
2015-09-06T15:50:32.000Z
2022-03-21T08:21:11.000Z
.formatter.exs
Frameio/pigeon
7de765179f74dbf13fbcc9cbe9ae1de59fe953e2
[ "MIT" ]
178
2016-01-14T22:21:20.000Z
2022-02-18T22:34:30.000Z
.formatter.exs
Frameio/pigeon
7de765179f74dbf13fbcc9cbe9ae1de59fe953e2
[ "MIT" ]
124
2016-01-17T11:30:16.000Z
2022-02-28T16:59:41.000Z
[ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 80 ]
18.6
70
0.55914
4a7f7e3fd2c76c18b8761b24c1cd92445d59441f
4,837
exs
Elixir
test/challenge_gov/challenges/challenge_rules_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
test/challenge_gov/challenges/challenge_rules_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
test/challenge_gov/challenges/challenge_rules_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule ChallengeGov.ChallengeRulesTest do use ChallengeGov.DataCase use Bamboo.Test alias ChallengeGov.Challenges alias ChallengeGov.TestHelpers.AccountHelpers alias ChallengeGov.TestHelpers.ChallengeHelpers describe "adding rules" do test "successfully" do user = AccountHelpers.create_user()...
30.808917
83
0.566674
4a7f9210a4a2c317b481e72c32cdcac4c07f1e32
18,533
ex
Elixir
lib/contract_multi.ex
esprezzo/elixir-harmony
0152859dc5af2762431e0399dd39f7975dbc3422
[ "MIT" ]
null
null
null
lib/contract_multi.ex
esprezzo/elixir-harmony
0152859dc5af2762431e0399dd39f7975dbc3422
[ "MIT" ]
null
null
null
lib/contract_multi.ex
esprezzo/elixir-harmony
0152859dc5af2762431e0399dd39f7975dbc3422
[ "MIT" ]
null
null
null
defmodule Harmony.ContractMulti do use GenServer require Logger require IEx alias Harmony.ABI # Client @spec start_link(atom()) :: {:ok, pid()} @doc "Begins the Contract process to manage all interactions with smart contracts" def start_link(process_name) do GenServer.start_link(_...
31.953448
165
0.576054
4a7fb4c4b51cd565d5eb5a8bc5b24dc693a55d69
5,250
exs
Elixir
test/univrse/compat_test.exs
libitx/univrse
de50baebd257e73e869be4a2e87a60283d1c8001
[ "Apache-2.0" ]
5
2021-08-03T12:10:21.000Z
2022-03-08T12:30:50.000Z
test/univrse/compat_test.exs
libitx/univrse
de50baebd257e73e869be4a2e87a60283d1c8001
[ "Apache-2.0" ]
1
2021-08-04T10:28:31.000Z
2021-08-04T10:28:31.000Z
test/univrse/compat_test.exs
libitx/univrse
de50baebd257e73e869be4a2e87a60283d1c8001
[ "Apache-2.0" ]
null
null
null
defmodule Univrse.CompatTest do use ExUnit.Case alias Univrse.{Envelope, Key} #@alice "a561645820dfef448a64826dfe935e494ce97d506945b4e672b29d16c10f76479738f9cf85617858208f3f5d9918af7327a4fbbe77a30fd87ced99f756abb8ad708a577b27bf4d16dd6179582090421b41892a286e6eddbe8fc64119812de58c0197d8c7ed6dfb885a30fbeb9f63637276...
51.470588
686
0.747238
4a7fc2b50c6aa7de061ae42540de54b0e24e1d44
2,268
ex
Elixir
lib/xadmin/page.ex
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
5
2016-08-30T01:23:50.000Z
2021-09-22T14:39:00.000Z
lib/xadmin/page.ex
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
null
null
null
lib/xadmin/page.ex
ntsai/xadmin
82d8be63e69483ff66472481e66f9870face355b
[ "MIT" ]
1
2021-12-10T11:10:55.000Z
2021-12-10T11:10:55.000Z
defmodule XAdmin.Page do @moduledoc """ Define pages in XAdmin that don't render models, like a dashboard page. """ import XAdmin.Theme.Helpers defmacro __using__(_) do quote do import XAdmin.Form, except: [content: 1] import unquote(__MODULE__) end end @doc """ Display conten...
24.12766
87
0.514991
4a7fcbc4878369a47149460fe908fcdf8701e1ee
1,131
exs
Elixir
couchdb_design/config/config.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
couchdb_design/config/config.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
couchdb_design/config/config.exs
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.483871
73
0.7542
4a7fdcdf4186c5fae19ece665367d3593ef6faca
709
exs
Elixir
mix.exs
g-andrade/exdis
6cb6775b16a237718f10dc5177d9369279e2d528
[ "MIT" ]
2
2020-03-20T17:25:59.000Z
2020-03-22T14:17:30.000Z
mix.exs
g-andrade/exdis
6cb6775b16a237718f10dc5177d9369279e2d528
[ "MIT" ]
null
null
null
mix.exs
g-andrade/exdis
6cb6775b16a237718f10dc5177d9369279e2d528
[ "MIT" ]
null
null
null
defmodule Exdis.MixProject do use Mix.Project def project do [ app: :exdis, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applica...
21.484848
88
0.541608
4a801be64474f61ac7996fbdef65bdfa12d4f27e
1,618
exs
Elixir
test/segment_test.exs
thiamsantos/analytics-elixir
cdab0ac95d6a9effd9d092bf5747281a2429b2af
[ "MIT" ]
131
2015-09-16T15:18:09.000Z
2022-01-27T02:01:27.000Z
test/segment_test.exs
thiamsantos/analytics-elixir
cdab0ac95d6a9effd9d092bf5747281a2429b2af
[ "MIT" ]
32
2015-11-28T01:35:04.000Z
2021-12-15T19:48:07.000Z
test/segment_test.exs
thiamsantos/analytics-elixir
cdab0ac95d6a9effd9d092bf5747281a2429b2af
[ "MIT" ]
35
2015-11-24T18:14:04.000Z
2022-01-25T15:42:02.000Z
defmodule SegmentTest do use ExUnit.Case test "track debugging" do test_began = :erlang.system_time() :telemetry.attach_many( self(), [[:segment, :batch, :start], [:segment, :batch, :stop]], fn n, m10s, m6a, pid -> send(pid, {:telemetry, n, m10s, m6a}) end, self() ) Segmen...
26.52459
89
0.621755
4a801db8acf32d1602e1c471ddd57fd9d3f51743
3,872
ex
Elixir
lib/elixir/lib/tuple.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/elixir/lib/tuple.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/elixir/lib/tuple.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule Tuple do @moduledoc """ Functions for working with tuples. Please note the following functions for tuples are found in `Kernel`: * `elem/2` - accesses a tuple by index * `put_elem/3` - inserts a value into a tuple by index * `tuple_size/1` - gets the number of elements in a tuple Tuples...
25.813333
77
0.660899
4a80245c01e63f247c78110ec6f835b62581ddef
703
exs
Elixir
test/overpex/parser_test.exs
koichirose/overpex
961b2243f64f9790e6e76a6f6858d43739893d29
[ "MIT" ]
null
null
null
test/overpex/parser_test.exs
koichirose/overpex
961b2243f64f9790e6e76a6f6858d43739893d29
[ "MIT" ]
null
null
null
test/overpex/parser_test.exs
koichirose/overpex
961b2243f64f9790e6e76a6f6858d43739893d29
[ "MIT" ]
null
null
null
defmodule Overpex.ParserTest do use ExUnit.Case import Mock test "parser/1 XML" do with_mock Overpex.Parser.XML, parse: fn _response -> {:ok, %Overpex.Response{}} end do assert {:ok, %Overpex.Response{}} = Overpex.Parser.parse({:ok, {:xml, ""}}) assert called(Overpex.Parser.XML.parse("")) end...
30.565217
91
0.641536
4a8030d62834b66d77df9cda5bddcef7af231d14
358
ex
Elixir
lib/chromic_pdf/pdf/protocols/capture_screenshot.ex
resterle/chromic_pdf
58cf474f6ac60bebb205b382d4febd3ff2430247
[ "Apache-2.0" ]
177
2020-02-28T13:37:23.000Z
2022-03-25T13:37:46.000Z
lib/chromic_pdf/pdf/protocols/capture_screenshot.ex
resterle/chromic_pdf
58cf474f6ac60bebb205b382d4febd3ff2430247
[ "Apache-2.0" ]
46
2020-02-28T11:31:41.000Z
2022-03-31T14:49:26.000Z
lib/chromic_pdf/pdf/protocols/capture_screenshot.ex
resterle/chromic_pdf
58cf474f6ac60bebb205b382d4febd3ff2430247
[ "Apache-2.0" ]
14
2020-07-09T02:09:34.000Z
2022-03-25T13:37:48.000Z
defmodule ChromicPDF.CaptureScreenshot do @moduledoc false import ChromicPDF.ProtocolMacros steps do include_protocol(ChromicPDF.Navigate) call(:capture, "Page.captureScreenshot", &Map.get(&1, :capture_screenshot, %{}), %{}) await_response(:captured, ["data"]) include_protocol(ChromicPDF.Reset...
21.058824
89
0.723464
4a80351c7372f3fc53b017d13ef9a95a40de858c
4,847
ex
Elixir
Chapter4/4.2/todo-ids.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter4/4.2/todo-ids.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter4/4.2/todo-ids.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
# Working with Hierarchical Data # This module extends the TodoList from Section 4.1 with basic CRUD support # (4.1/Struct.ex) defmodule TodoList do @doc "auto_id will contain the ID value assigned to the new entry" defstruct auto_id: 1, entries: %{} def new(entries \\ []) do Enum.reduce( ...
47.990099
111
0.662472
4a8065197f73a6926e78df1978deb47f12ce6855
1,376
ex
Elixir
lib/kmk/connection.ex
comboy/kmk
d5efab63178ed4ec7aaad4bee4e17f702f97e1a0
[ "MIT" ]
null
null
null
lib/kmk/connection.ex
comboy/kmk
d5efab63178ed4ec7aaad4bee4e17f702f97e1a0
[ "MIT" ]
null
null
null
lib/kmk/connection.ex
comboy/kmk
d5efab63178ed4ec7aaad4bee4e17f702f97e1a0
[ "MIT" ]
null
null
null
defmodule Kmk.Connection do use GenServer #import Kernel, except: [send: 2] def start_link(ge, uri, opts, name \\ __MODULE__), do: GenServer.start_link(__MODULE__, %{ge: ge, uri: uri, opts: opts}, name: name) # safe start def write(data), do: GenServer.call(__MODULE__, {:write, data}) def write(pid, data), ...
32
147
0.607558
4a806c355033992f4ece1aa2a42b91fa93e16f76
50
exs
Elixir
.formatter.exs
Imtiyaaz1234/elixir-koans
e1a8a55e3acbb88bb598becf3f40cb52f912e60a
[ "MIT" ]
1,944
2016-04-24T02:46:10.000Z
2022-03-29T00:19:17.000Z
.formatter.exs
Imtiyaaz1234/elixir-koans
e1a8a55e3acbb88bb598becf3f40cb52f912e60a
[ "MIT" ]
157
2016-04-23T18:40:24.000Z
2022-02-10T14:00:45.000Z
.formatter.exs
Imtiyaaz1234/elixir-koans
e1a8a55e3acbb88bb598becf3f40cb52f912e60a
[ "MIT" ]
636
2016-04-23T17:18:00.000Z
2022-03-23T10:04:06.000Z
[ inputs: ["{config,lib,test}/**/*.{ex,exs}"] ]
12.5
45
0.48
4a808c14721123bf754f5b1273e7ef6c710d02e7
738
ex
Elixir
apps/tai/lib/tai/commands/positions.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/lib/tai/commands/positions.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
null
null
null
apps/tai/lib/tai/commands/positions.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
null
null
null
defmodule Tai.Commands.Positions do @moduledoc """ Display the list of positions and their details """ import Tai.Commands.Table, only: [render!: 2] @header [ "Venue", "Account", "Product", "Side", "Qty", "Entry Price", "Leverage", "Margin Mode" ] @spec positions :: no_r...
19.421053
49
0.585366
4a80b54b4ed3c8d9f72b0b824aa73550c738b069
7,183
ex
Elixir
lib/client/player_item_management.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
1
2021-12-21T14:22:12.000Z
2021-12-21T14:22:12.000Z
lib/client/player_item_management.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
lib/client/player_item_management.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
defmodule PlayfabEx.Client.PlayerItemManagement do use Interface @doc """ Increments the user's balance of the specified virtual currency by the stated amount [online docs](https://api.playfab.com/documentation/client/method/AddUserVirtualCurrency) """ @spec add_user_virtual_currency(map()) :: {:ok, map} ...
55.682171
345
0.763191
4a80b9b94dc967c9add8da65fae57b91bc6ed3b3
498
ex
Elixir
lib/azk_dns/supervisor.ex
azukiapp/azk-dns
88fe8d4ec94c817401be970f0a334db1e3b6a127
[ "Apache-2.0" ]
2
2015-06-13T03:34:57.000Z
2015-10-25T05:25:00.000Z
lib/azk_dns/supervisor.ex
azukiapp/azk-dns
88fe8d4ec94c817401be970f0a334db1e3b6a127
[ "Apache-2.0" ]
null
null
null
lib/azk_dns/supervisor.ex
azukiapp/azk-dns
88fe8d4ec94c817401be970f0a334db1e3b6a127
[ "Apache-2.0" ]
null
null
null
defmodule AzkDns.Supervisor do use Supervisor.Behaviour def start_link do :supervisor.start_link({:local, __MODULE__}, __MODULE__, []) end def init([]) do children = [ # Define workers and child supervisors to be supervised supervisor(AzkDns.LookupSup, []), worker(AzkDns, []) ] ...
24.9
70
0.690763
4a80f7290e9d251adf05cbbbcfa231358ba5d78c
6,316
ex
Elixir
lib/honest_chat/accounts/user_token.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
3
2021-11-19T07:18:30.000Z
2021-12-23T22:19:48.000Z
lib/honest_chat/accounts/user_token.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
null
null
null
lib/honest_chat/accounts/user_token.ex
noozo/honest_chat
b3c45f72fd9c579404d05ce308eb13a0a2997760
[ "Apache-2.0" ]
null
null
null
defmodule HonestChat.Accounts.UserToken do @moduledoc false use Ecto.Schema import Ecto.Query @hash_algorithm :sha256 @rand_size 32 # It is very important to keep the reset password token expiry short, # since someone with access to the email may take over the account. @reset_password_validity_in_days...
34.895028
95
0.71216
4a811537a3f775963d29ea08c0f141f656fd6ac4
58
exs
Elixir
priv/v02/ch13/pm5.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
4
2019-04-21T05:46:19.000Z
2021-09-13T01:56:33.000Z
priv/v02/ch13/pm5.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
1
2020-09-24T00:13:40.000Z
2020-09-24T00:13:40.000Z
priv/v02/ch13/pm5.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
3
2019-10-26T01:41:53.000Z
2020-09-21T01:13:02.000Z
m = %{a: {:ok, 1}, b: 2} %{a: {:ok, x}} = m IO.inspect(x)
14.5
24
0.37931