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
33df9591908ae02b47c79e4194da817c3ec742ff
201
ex
Elixir
lib/phone/ec.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/ec.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/ec.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.EC do @moduledoc false use Helper.Country def regex, do: ~r/^(593)(..)(.{7})/ def country, do: "Ecuador" def a2, do: "EC" def a3, do: "ECU" matcher :regex, ["593"] end
15.461538
37
0.59204
33df9a42759ce3fb2c178229c338feacce24c0fd
1,080
ex
Elixir
lib/html_playback_web/channels/user_socket.ex
dbernazal/html_playback
489c4a26ad3aafb9484a143f9352f0ce5dd26a7f
[ "MIT" ]
null
null
null
lib/html_playback_web/channels/user_socket.ex
dbernazal/html_playback
489c4a26ad3aafb9484a143f9352f0ce5dd26a7f
[ "MIT" ]
2
2021-03-09T11:51:15.000Z
2021-05-10T01:10:16.000Z
lib/html_playback_web/channels/user_socket.ex
dbernazal/html_playback
489c4a26ad3aafb9484a143f9352f0ce5dd26a7f
[ "MIT" ]
null
null
null
defmodule HtmlPlaybackWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HtmlPlaybackWeb.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 ...
31.764706
87
0.700926
33dfcb36f8160f3253c76711199a61f798219862
3,025
ex
Elixir
lib/bitcoin/node/network/addr.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
2
2019-08-12T04:53:57.000Z
2019-09-03T03:47:33.000Z
lib/bitcoin/node/network/addr.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/node/network/addr.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.Node.Network.Addr do @moduledoc """ Keeps database of known network nodes. Dummy version. Would be nice to switch to some dedicated struct from Protocol.NetworkAddress. We may want to keep fields like last connection try times, last successful connection time, maybe some score (e.g....
31.185567
104
0.676694
33dfdbdcf7106ae7f94e7ea26b061e6f9dc7d285
645
ex
Elixir
apps/re_integrations/lib/orulo/typology_payload.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_integrations/lib/orulo/typology_payload.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re_integrations/lib/orulo/typology_payload.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReIntegrations.Orulo.TypologyPayload do @moduledoc """ Schema for Orulo typology sincronization """ use Ecto.Schema import Ecto.Changeset @schema_prefix "re_integrations" @primary_key {:uuid, :binary_id, autogenerate: false} schema "orulo_typology_payloads" do field :building_id, :strin...
21.5
80
0.714729
33dfeced6c11fb5724fec312a7fc52d52156d036
271
exs
Elixir
test/test_helper.exs
2nd/histogrex
fb0f23604e35e3222a6c97b17488ec967badee66
[ "MIT" ]
3
2017-08-09T00:15:17.000Z
2020-07-18T16:07:36.000Z
test/test_helper.exs
2nd/histogrex
fb0f23604e35e3222a6c97b17488ec967badee66
[ "MIT" ]
1
2017-06-12T12:54:17.000Z
2017-06-12T12:54:17.000Z
test/test_helper.exs
2nd/histogrex
fb0f23604e35e3222a6c97b17488ec967badee66
[ "MIT" ]
4
2019-04-03T14:29:49.000Z
2020-07-25T11:12:20.000Z
defmodule FakeRegistry do use Histogrex histogrex :user_load, min: 1, max: 10_000_000, precision: 3 histogrex :high_sig, min: 459876, max: 12718782, precision: 5 template :http_ms, min: 2, max: 100_000, precision: 2 end FakeRegistry.start_link() ExUnit.start()
24.636364
63
0.745387
33dffc5ed5a684e1c32dd7ce696fd6c32829143f
468
ex
Elixir
lib/surgex/auth/load_resource_pipeline.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
8
2019-05-11T19:41:06.000Z
2020-01-20T07:01:53.000Z
lib/surgex/auth/load_resource_pipeline.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
12
2019-05-10T22:00:40.000Z
2019-07-05T19:20:56.000Z
lib/surgex/auth/load_resource_pipeline.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
1
2019-07-18T15:58:41.000Z
2019-07-18T15:58:41.000Z
defmodule Surgex.Auth.LoadResourcePipeline do @moduledoc false use Guardian.Plug.Pipeline, otp_app: :surgex, module: Surgex.Auth.Guardian, error_handler: Surgex.Auth.AuthErrorHandler # If there is an authorization header, validate it plug Guardian.Plug.VerifyHeader, claims: %{"typ" => "access"} ...
29.25
63
0.758547
33e010b61d960583a904f917c92cceef1d5d3f09
3,839
exs
Elixir
test/elxlisp_test.exs
sasagawa888/Elxlisp
18e6f1a0f51858be098943926d79391493be0cc1
[ "BSD-2-Clause" ]
14
2019-12-01T09:47:24.000Z
2021-11-14T17:10:15.000Z
test/elxlisp_test.exs
sasagawa888/Elxlisp
18e6f1a0f51858be098943926d79391493be0cc1
[ "BSD-2-Clause" ]
1
2019-10-22T16:33:21.000Z
2019-10-22T16:33:21.000Z
test/elxlisp_test.exs
sasagawa888/Elxlisp
18e6f1a0f51858be098943926d79391493be0cc1
[ "BSD-2-Clause" ]
3
2019-12-01T09:47:26.000Z
2022-01-30T14:03:18.000Z
defmodule ElxlispTest do use ExUnit.Case import ExUnit.CaptureIO doctest Elxlisp test "read" do assert Read.is_integer_str("123") == true assert Read.is_integer_str("12e3") == false assert Read.is_float_str("123") == false assert Read.is_float_str("12.0e3") == true assert Read.is_float_str(...
40.410526
92
0.567075
33e01d4f8cae380dd2ecdb8c9ecede5cd2d8740b
1,933
ex
Elixir
clients/ids/lib/google_api/ids/v1/model/list_endpoints_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/ids/lib/google_api/ids/v1/model/list_endpoints_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/ids/lib/google_api/ids/v1/model/list_endpoints_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.471698
189
0.714951
33e026ee097b5667d74761f98de14cff56b3ebf2
888
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/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...
32.888889
74
0.760135
33e08cf1f782fd8639456704d409c074d0a47bf1
1,309
exs
Elixir
mix.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
mix.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
mix.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule TaiMonorepo.MixProject do use Mix.Project def project do [ apps_path: "apps", version: "0.0.74", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), test_coverage: [tool: ExCoveralls], dialyzer: [ plt_add_apps: [:echo_boy, :ex_unit,...
26.714286
73
0.537051
33e0968be6ed2dd4c33e574a42618a5546df9163
683
ex
Elixir
lib/cafex/consumer/log_consumer.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
lib/cafex/consumer/log_consumer.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
lib/cafex/consumer/log_consumer.ex
MishaConway/cafex
32965b7e099bc45de24c229cc76f7b83b35ff7b4
[ "Apache-2.0" ]
null
null
null
defmodule Cafex.Consumer.LogConsumer do @moduledoc """ A simple `Cafex.Consumer` implementation. It just print the message into logger output. """ use Cafex.Consumer @type options :: [level: Logger.level] @type state :: options require Logger @spec init(opts :: options) :: {:ok, state} def init(...
25.296296
91
0.653001
33e0efb2f274b40d04451154407d17e2b6ae5d42
786
ex
Elixir
Chapter08/vocial-demo-chapter-8/lib/vocial_web/channels/chat_channel.ex
PacktPublishing/Phoenix-Web-Development
a071392abe2a459be1896580446b006126c393bf
[ "MIT" ]
10
2018-05-13T14:53:05.000Z
2021-11-08T13:10:44.000Z
Chapter08/vocial-demo-chapter-8/lib/vocial_web/channels/chat_channel.ex
PacktPublishing/Phoenix-Web-Development
a071392abe2a459be1896580446b006126c393bf
[ "MIT" ]
null
null
null
Chapter08/vocial-demo-chapter-8/lib/vocial_web/channels/chat_channel.ex
PacktPublishing/Phoenix-Web-Development
a071392abe2a459be1896580446b006126c393bf
[ "MIT" ]
2
2019-04-23T10:54:33.000Z
2019-04-27T15:47:07.000Z
defmodule VocialWeb.ChatChannel do use VocialWeb, :channel alias Vocial.Votes def join("chat:lobby", _payload, socket) do {:ok, socket} end def join("chat:" <> _poll_id, _payload, socket) do {:ok, socket} end def handle_in("new_message", %{"author" => author, "message" => message}, socket) do ...
29.111111
106
0.622137
33e0f2d34e4c567ad1d395738ab0d46d913eeb64
536
ex
Elixir
lib/mix/tasks/butters/restore.ex
hexedpackets/butters
81b6de679a04b18dbb1e4243cc8f77d5891f0fb4
[ "Apache-2.0" ]
1
2019-09-07T16:28:01.000Z
2019-09-07T16:28:01.000Z
lib/mix/tasks/butters/restore.ex
hexedpackets/butters
81b6de679a04b18dbb1e4243cc8f77d5891f0fb4
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/butters/restore.ex
hexedpackets/butters
81b6de679a04b18dbb1e4243cc8f77d5891f0fb4
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Butters.Restore do use Mix.Task @shortdoc "Restore a node after punishing it with chaos." @moduledoc """ Restore a node after punishing it with chaos. `mix butters.restore NODE` will restore the specified node. `mix butters.restore` will restore all nodes in the cluster. """ @do...
19.142857
62
0.677239
33e1048fbd4c30af298961ae75011c983f12034d
1,701
ex
Elixir
lib/imagism/adapter.ex
z0w0/imagism
d337d6c76e3e5bd9d5cadd69dfc1d80e66688b91
[ "MIT" ]
null
null
null
lib/imagism/adapter.ex
z0w0/imagism
d337d6c76e3e5bd9d5cadd69dfc1d80e66688b91
[ "MIT" ]
null
null
null
lib/imagism/adapter.ex
z0w0/imagism
d337d6c76e3e5bd9d5cadd69dfc1d80e66688b91
[ "MIT" ]
null
null
null
defmodule Imagism.Adapter do @moduledoc """ An adapter handles loading images from a configured source. """ @type t() :: %Imagism.Adapter{} defstruct type: nil, file_path: nil, s3_bucket: nil, s3_region: nil @doc """ Creates a new file adapter that loads images from the directory `path`. """ @spec...
25.014706
85
0.590829
33e115636e4160f2eb77b58f1c8280654c805c4f
1,100
ex
Elixir
test/support/conn_case.ex
pinksynth/bank-account-charts
a4bb4c94941994a68151a7b3a94828d9bbf10833
[ "MIT" ]
null
null
null
test/support/conn_case.ex
pinksynth/bank-account-charts
a4bb4c94941994a68151a7b3a94828d9bbf10833
[ "MIT" ]
null
null
null
test/support/conn_case.ex
pinksynth/bank-account-charts
a4bb4c94941994a68151a7b3a94828d9bbf10833
[ "MIT" ]
null
null
null
defmodule BankAccountChartsWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Fina...
28.205128
79
0.730909
33e13854a1d51ff81f43f79881992b2fa59b6fc1
1,676
ex
Elixir
day10/lib/day10.ex
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "Apache-2.0" ]
null
null
null
day10/lib/day10.ex
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "Apache-2.0" ]
null
null
null
day10/lib/day10.ex
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "Apache-2.0" ]
null
null
null
defmodule Day10 do use Bitwise def part1(length, lengths_string) do lengths = lengths_string |> String.split(",") |> Enum.map(&String.to_integer/1) state = new_state(length) Enum.reduce(lengths, state, &tie/2) |> result end def part2(string) do lengths = :erlang.binary_to_list(stri...
26.1875
87
0.628282
33e13c17d1a864fdb1089ab9686ceb7d9eba1bfd
1,172
exs
Elixir
config/config.exs
slashdotdash/gift-card-demo
d901ae0f718b8f949dd534230ffad04619759815
[ "MIT" ]
15
2019-05-25T14:15:31.000Z
2021-11-16T04:57:32.000Z
config/config.exs
slashdotdash/gift-card-demo
d901ae0f718b8f949dd534230ffad04619759815
[ "MIT" ]
3
2020-07-17T02:32:35.000Z
2021-05-08T22:06:17.000Z
config/config.exs
slashdotdash/gift-card-demo
d901ae0f718b8f949dd534230ffad04619759815
[ "MIT" ]
3
2020-05-02T21:44:11.000Z
2021-06-04T17:52:30.000Z
use Mix.Config config :commanded, event_store_adapter: Commanded.EventStore.Adapters.EventStore config :commanded_ecto_projections, repo: GiftCardDemo.Repo config :gift_card_demo, ecto_repos: [GiftCardDemo.Repo], generators: [binary_id: true] config :gift_card_demo, GiftCardDemo.Repo, migration_primary_key: [...
32.555556
86
0.775597
33e165af8525eb74543c57d5654ebe4b2fbec46d
9,256
ex
Elixir
platform/target/network.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
platform/target/network.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
platform/target/network.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Platform.Target.Network do @moduledoc "Manages Network Connections" use GenServer, shutdown: 10_000 require Logger require FarmbotTelemetry import FarmbotOS.Platform.Target.Network.Utils, only: [ maybe_hack_tzdata: 0, init_net_kernel: 0, build_hostap_ssid: 0 ] ...
26.295455
80
0.636776
33e177a265695586ace4c4ac5aa3cb3cebda21eb
1,799
ex
Elixir
lib/ucx_ucc/settings/schema/accounts.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc/settings/schema/accounts.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc/settings/schema/accounts.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UcxUcc.Settings.Schema.Accounts do use UccSettings.Settings.Schema @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "settings_accounts" do field :allow_users_delete_own_account, :boolean, default: false field :allow_user_profile_change, :boolean, default...
40.886364
86
0.765981
33e18bb8d9642e7e2ff2b6b7430cf1c21c95b590
4,632
ex
Elixir
lib/kaffy/resource_query.ex
wronfim/kaffy
86cc745c94fb946065bab0288f4af61034c227b2
[ "MIT" ]
null
null
null
lib/kaffy/resource_query.ex
wronfim/kaffy
86cc745c94fb946065bab0288f4af61034c227b2
[ "MIT" ]
null
null
null
lib/kaffy/resource_query.ex
wronfim/kaffy
86cc745c94fb946065bab0288f4af61034c227b2
[ "MIT" ]
null
null
null
defmodule Kaffy.ResourceQuery do @moduledoc false import Ecto.Query def list_resource(conn, resource, params \\ %{}) do per_page = Map.get(params, "limit", "100") |> String.to_integer() page = Map.get(params, "page", "1") |> String.to_integer() search = Map.get(params, "search", "") |> String.trim()...
28.592593
95
0.609672
33e198460578d6f0158ad57209333a9f43c48521
1,700
ex
Elixir
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/user_managed.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/user_managed.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/secret_manager/lib/google_api/secret_manager/v1beta1/model/user_managed.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.170213
167
0.757059
33e1c622146ff18a033cd7d49bb0945fc06fd7ac
1,899
ex
Elixir
lib/changelog_web/plugs/conn.ex
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
lib/changelog_web/plugs/conn.ex
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
lib/changelog_web/plugs/conn.ex
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Plug.Conn do @moduledoc """ General-purpose, connection-related functions available to controllers. """ import Plug.Conn require Logger alias ChangelogWeb.Router @doc """ Extracts the user agent from a connection's headers """ def get_agent(conn) do conn |> get_req_...
21.827586
75
0.608741
33e1de77bccdb20f6b2fa00a648b469244f50302
28,252
exs
Elixir
test/floki/html/generated/tokenizer/namedEntities_part16_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
1,778
2015-01-07T14:12:31.000Z
2022-03-29T22:42:48.000Z
test/floki/html/generated/tokenizer/namedEntities_part16_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
279
2015-01-01T15:54:50.000Z
2022-03-28T18:06:03.000Z
test/floki/html/generated/tokenizer/namedEntities_part16_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
166
2015-04-24T20:48:02.000Z
2022-03-28T17:29:05.000Z
defmodule Floki.HTML.Generated.Tokenizer.NamedentitiesPart16Test do use ExUnit.Case, async: true # NOTE: This file was generated by "mix generate_tokenizer_tests namedEntities.test". # html5lib-tests rev: e52ff68cc7113a6ef3687747fa82691079bf9cc5 alias Floki.HTML.Tokenizer test "tokenize/1 Bad named entity:...
23.368073
87
0.630044
33e1f6ad3b7ed9daf41a8486b1923c0aea5a0725
2,190
ex
Elixir
lib/exfeed.ex
brianrackle/ExFeed
b32e52141368f23f2e1ff00cf1357e83f8b2d259
[ "MIT" ]
1
2017-06-01T17:40:01.000Z
2017-06-01T17:40:01.000Z
lib/exfeed.ex
brianrackle/ExFeed
b32e52141368f23f2e1ff00cf1357e83f8b2d259
[ "MIT" ]
null
null
null
lib/exfeed.ex
brianrackle/ExFeed
b32e52141368f23f2e1ff00cf1357e83f8b2d259
[ "MIT" ]
null
null
null
defmodule ExFeed.Parser do import SweetXml, only: [xpath: 2, xpath: 3, sigil_x: 2] defmodule FeedItem do defstruct title: nil, link: nil, description: nil, date: nil end defmodule Feed do defstruct title: nil, link: nil, description: nil, items: [] end def parse_feed(doc) when is_binary(doc) do ...
23.052632
72
0.552968
33e25b4671df3ed578a7d0c30525fbb9ba5180f6
11,039
ex
Elixir
lib/hl7/2.5/segments.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.ZSegment do @moduledoc false use HL7.Segment, fields: [segment: nil, values: nil], undefined_struct: true end defmodule HL7.V2_5.Segments.UnknownSegment do @moduledoc false use HL7.Segment, fields: [segment: nil, values: nil], undefined_struct: true end defmodule HL7.V2_5.Segments ...
62.367232
86
0.738654
33e273aa1d891f437dc778e71092ddb1c9b161e8
74
exs
Elixir
test/test_helper.exs
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
3
2021-10-01T21:13:02.000Z
2021-11-05T22:25:55.000Z
test/test_helper.exs
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
null
null
null
test/test_helper.exs
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(OfferHunters.Repo, :manual)
24.666667
58
0.797297
33e288a4d72421a9c254379f7a338f633b620406
5,248
exs
Elixir
spec/assertions/accepted_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
null
null
null
spec/assertions/accepted_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
null
null
null
spec/assertions/accepted_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
null
null
null
defmodule AcceptedSpec do use ESpec import ESpec.TestHelpers defmodule SomeModule do def f, do: :f def m, do: :m end |> write_beam describe "expect(module).to accepted(func, args)" do before do allow(SomeModule) |> to(accept(:func, fn a, b -> a + b end)) SomeModule.func(1, 2) ...
29.155556
163
0.571265
33e29b1b1183a998a40051349d1b131b7ca3158d
1,501
exs
Elixir
config/config.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
config/config.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
config/config.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :magnemite, ecto_repos: [Magnemite.Repo...
34.113636
86
0.774151
33e2baa4f198e201004dc9a7393b738afeaa1b69
1,426
ex
Elixir
lib/kamleague/leagues/player.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
null
null
null
lib/kamleague/leagues/player.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
2
2021-11-04T21:05:24.000Z
2021-11-04T21:51:48.000Z
lib/kamleague/leagues/player.ex
mzavoloka/kamleague
ba29263ed54cac5c67b537c4b7d1dbc522215341
[ "MIT" ]
1
2021-11-04T18:40:26.000Z
2021-11-04T18:40:26.000Z
defmodule Kamleague.Leagues.Player do use Ecto.Schema import Ecto.Changeset schema "players" do field :nickname, :string field :elo, :integer, default: 1000 field :active, :boolean, default: false field :wins, :integer, default: 0 field :losses, :integer, default: 0 field :slug, :string ...
25.464286
71
0.666199
33e2c1d86dc331b926ec6b6e1fb0579410ab43d0
1,677
exs
Elixir
config/host/dev.exs
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
null
null
null
config/host/dev.exs
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
null
null
null
config/host/dev.exs
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
1
2020-12-16T16:39:32.000Z
2020-12-16T16:39:32.000Z
use Mix.Config unless File.exists?("config/host/auth_secret.exs") do Mix.raise( "You need to configure your dev environment. See `config/host/auth_secret_template.exs` for an example.\r\n" ) end import_config("auth_secret.exs") config :farmbot, data_path: "tmp/" # Configure your our system. # Default implem...
25.8
112
0.750745
33e2c8dd4eaaa066394e3aeb4f23738ba84e0d7f
75
ex
Elixir
lib/puppex.ex
ohr486/puppex
a14a13a0202abae5863de5b70566e3f28d885d6e
[ "MIT" ]
null
null
null
lib/puppex.ex
ohr486/puppex
a14a13a0202abae5863de5b70566e3f28d885d6e
[ "MIT" ]
null
null
null
lib/puppex.ex
ohr486/puppex
a14a13a0202abae5863de5b70566e3f28d885d6e
[ "MIT" ]
null
null
null
defmodule Puppex do @moduledoc """ Documentation for Puppex. """ end
12.5
27
0.68
33e2f7c6f040259cf72ab6f744f9fc1e3b2abed1
326
ex
Elixir
lib/ptr_web/plugs/cache_control_plug.ex
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
null
null
null
lib/ptr_web/plugs/cache_control_plug.ex
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
2
2021-03-09T01:59:47.000Z
2022-02-10T17:08:54.000Z
lib/ptr_web/plugs/cache_control_plug.ex
francocatena/ptr
4c8a960cdcb1c8523334fcc0cddba6b7fb3b3e60
[ "MIT" ]
null
null
null
defmodule PtrWeb.CacheControlPlug do import Plug.Conn def put_cache_control_headers(conn, _opts) do conn |> put_resp_header("cache-control", "no-cache, no-store, max-age=0, must-revalidate") |> put_resp_header("pragma", "no-cache") |> put_resp_header("expires", "Fri, 01 Jan 1990 00:00:00 GMT") en...
29.636364
89
0.702454
33e2fbb3fefe2b961042924989ab853546aa890f
377
ex
Elixir
posts/examples.ex
ciwchris/blog
ba5252ebf8e7007141353eae85c2593c80b8a11c
[ "MIT" ]
null
null
null
posts/examples.ex
ciwchris/blog
ba5252ebf8e7007141353eae85c2593c80b8a11c
[ "MIT" ]
17
2018-04-09T16:28:01.000Z
2019-10-15T15:56:53.000Z
posts/examples.ex
ciwchris/blog
ba5252ebf8e7007141353eae85c2593c80b8a11c
[ "MIT" ]
null
null
null
``` text/2-3 // this is a command function myCommand() { let counter = 0; counter++; } // Test with a line break above this line. console.log('Test'); ``` <a href="{{ '/posts/firstpost/' | url }}">First post</a> ``` js/2/4 // this is a command function myCommand() { let counter = 0; counter++; } // Test wit...
13.464286
56
0.61008
33e309f11088c609e1da486a0e19599a7e2b6792
2,328
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_input_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_input_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_input_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.924528
347
0.75
33e30f2893d6327a29f72fa54fdf3467fb7ed9a8
1,106
ex
Elixir
lib/elixirgithub_web/channels/user_socket.ex
LuizFerK/ElixirGitHub
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "MIT" ]
1
2021-11-23T16:51:04.000Z
2021-11-23T16:51:04.000Z
lib/elixirgithub_web/channels/user_socket.ex
LuizFerK/Repositoriex
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "MIT" ]
null
null
null
lib/elixirgithub_web/channels/user_socket.ex
LuizFerK/Repositoriex
7db1270e296c6f0a33b7a85e80753cc010ea50af
[ "MIT" ]
null
null
null
defmodule ElixirgithubWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ElixirgithubWeb.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 ...
30.722222
87
0.698915
33e33ad30751fcf6d255f0a16ef7cc84e64ee28b
144
ex
Elixir
lib/igdb/resources/player_perspective.ex
facto/igdb
9662e9ffd41e0925c22b1d3cd4774ae49b68e89e
[ "MIT" ]
2
2018-04-09T07:34:37.000Z
2020-03-08T06:50:03.000Z
lib/igdb/resources/player_perspective.ex
tomasz-tomczyk/igdb
98d777798503f427e6c302da0251e819b9583c65
[ "MIT" ]
null
null
null
lib/igdb/resources/player_perspective.ex
tomasz-tomczyk/igdb
98d777798503f427e6c302da0251e819b9583c65
[ "MIT" ]
null
null
null
defmodule Igdb.PlayerPerspective do @moduledoc """ Represents a Player Perspective resource in the IGDB API. """ use Igdb.Resource end
18
59
0.743056
33e36600597e30d7a3323f77ab38340c32fa7ae9
4,210
exs
Elixir
apps/neoscan_web/test/neoscan_web/controllers/transaction_controller_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_web/test/neoscan_web/controllers/transaction_controller_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_web/test/neoscan_web/controllers/transaction_controller_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanWeb.TransactionControllerTest do use NeoscanWeb.ConnCase import NeoscanWeb.Factory test "/transaction/:hash", %{conn: conn} do extra = %{ contract: %{ "author" => "Erik Zhang", "code" => %{ "hash" => "0xce3a97d7cfaa770a5e51c5b12cd1d015fbb5f87d", "pa...
56.133333
1,370
0.767221
33e3a779e690c5056669d40139abfc5417a1713e
3,700
ex
Elixir
apps/artemis_web/lib/artemis_web/controllers/team_controller.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_web/lib/artemis_web/controllers/team_controller.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/lib/artemis_web/controllers/team_controller.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule ArtemisWeb.TeamController do use ArtemisWeb, :controller use ArtemisWeb.Controller.BulkActions, bulk_actions: ArtemisWeb.TeamView.available_bulk_actions(), path: &Routes.team_path(&1, :index), permission: "teams:list" use ArtemisWeb.Controller.EventLogsIndex, path: &Routes.team_path/3,...
26.428571
75
0.624054
33e3be94285d3c3b80b5f948626f1ceb27dc478e
1,123
ex
Elixir
elixirpay/test/support/channel_case.ex
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "MIT" ]
null
null
null
elixirpay/test/support/channel_case.ex
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "MIT" ]
null
null
null
elixirpay/test/support/channel_case.ex
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "MIT" ]
null
null
null
defmodule ElixirpayWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts...
27.390244
71
0.730187
33e3c154077b2903c11614d17d618a3d1ed9b966
7,171
ex
Elixir
lib/rdf/xsd/datatypes/boolean.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
lib/rdf/xsd/datatypes/boolean.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
lib/rdf/xsd/datatypes/boolean.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
defmodule RDF.XSD.Boolean do @moduledoc """ `RDF.XSD.Datatype` for XSD booleans. """ @type valid_value :: boolean @type input_value :: RDF.Literal.t() | valid_value | number | String.t() | any use RDF.XSD.Datatype.Primitive, name: "boolean", id: RDF.Utils.Bootstrapping.xsd_iri("boolean") alias ...
29.269388
141
0.645656
33e3edf5dc48320d7eb8ad9f67c0286c877f994f
1,641
ex
Elixir
lib/auto_api/capabilities/multi_command_capability.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
lib/auto_api/capabilities/multi_command_capability.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
5
2018-11-29T09:48:29.000Z
2019-11-06T12:11:35.000Z
lib/auto_api/capabilities/multi_command_capability.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
38.162791
79
0.751371
33e3f767ce3d5f119e6365813d9c76ce7ffad94d
828
exs
Elixir
test/onesky/resources/import_task_test.exs
ahtung/onesky.ex
bd3a150d67e25e1ef6d4b7bc33a593b49a65f37f
[ "Apache-2.0" ]
6
2018-11-22T14:44:26.000Z
2020-01-20T14:33:26.000Z
test/onesky/resources/import_task_test.exs
dunyakirkali/onesky.ex
f28fc94722c3b13ff82ee307d2a1cc42db4b6df2
[ "Apache-2.0" ]
24
2021-01-13T16:45:34.000Z
2022-03-24T04:07:33.000Z
test/onesky/resources/import_task_test.exs
dunyakirkali/onesky.ex
f28fc94722c3b13ff82ee307d2a1cc42db4b6df2
[ "Apache-2.0" ]
null
null
null
defmodule ImportTaskTest do use ExUnit.Case, async: true use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest Onesky.ImportTask test "list_import_tasks" do use_cassette "import_task#list" do {:ok, %Tesla.Env{} = env} = Onesky.client() |> Onesky.ImportTask.list_import_tasks(322_927) assert e...
25.090909
97
0.646135
33e439623eaeed3de5ad05e3b9b71d56536a38ed
906
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# 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.555556
74
0.764901
33e43b64ecc394f89f0fe98c18f649f121201b53
1,708
exs
Elixir
test/formatter/failed_step_test.exs
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
209
2015-03-03T14:14:28.000Z
2020-10-26T03:23:48.000Z
test/formatter/failed_step_test.exs
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
83
2015-03-23T11:46:51.000Z
2020-11-04T09:47:06.000Z
test/formatter/failed_step_test.exs
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
46
2015-06-12T17:37:21.000Z
2020-10-30T09:52:45.000Z
defmodule WhiteBread.Formatter.FailedStepTest do use ExUnit.Case alias WhiteBread.Formatter.FailedStep alias WhiteBread.CodeGenerator alias Gherkin.Elements.Steps test "Prints out failure with a trace when no matching clause is found" do trace = try do raise "we need a stack trace" rescue ...
36.340426
154
0.703162
33e446513bcab588afd69e1944599e664de19c38
389
ex
Elixir
lib/actor/error_handler.ex
chrisduesing/theatre
0e816a7bb8fedf9f2b4a1a0ace581f556fa81d3a
[ "MIT" ]
null
null
null
lib/actor/error_handler.ex
chrisduesing/theatre
0e816a7bb8fedf9f2b4a1a0ace581f556fa81d3a
[ "MIT" ]
null
null
null
lib/actor/error_handler.ex
chrisduesing/theatre
0e816a7bb8fedf9f2b4a1a0ace581f556fa81d3a
[ "MIT" ]
null
null
null
defmodule Actor.ErrorHandler do defmacro handle_unknown do quote do defp handle(source, message_type, message, state, sender) do Util.log.debug("Recieved unhandled message: #{inspect source}, #{inspect message_type}, #{inspect message}") if message_type == :api do sender <- {:er...
27.785714
116
0.640103
33e45fe5fd2291f447aa8c713276d55cdce8263a
1,988
exs
Elixir
config/prod.exs
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
config/prod.exs
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
config/prod.exs
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.5
66
0.711268
33e4ab4fd42cb2bbd00dd0e43daffc786ed5b9fb
92
ex
Elixir
lib/elirc_twitch_oauth_web/repo.ex
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
lib/elirc_twitch_oauth_web/repo.ex
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
lib/elirc_twitch_oauth_web/repo.ex
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
defmodule ElircTwitchOauthWeb.Repo do use Ecto.Repo, otp_app: :elirc_twitch_oauth_web end
23
49
0.836957
33e4c0287ae9d08ab47b554c3f08823522598c66
4,290
ex
Elixir
lib/ex_http_link.ex
myfreeweb/ex_http_link
cae29d6930e4fe3faaa33e2dbc3b11c27fa85fd3
[ "Unlicense" ]
3
2019-03-30T22:10:49.000Z
2019-09-17T18:42:06.000Z
lib/ex_http_link.ex
myfreeweb/ex_http_link
cae29d6930e4fe3faaa33e2dbc3b11c27fa85fd3
[ "Unlicense" ]
1
2019-09-09T17:49:53.000Z
2019-09-09T17:49:53.000Z
lib/ex_http_link.ex
myfreeweb/ex_http_link
cae29d6930e4fe3faaa33e2dbc3b11c27fa85fd3
[ "Unlicense" ]
null
null
null
defmodule ExHttpLink do @moduledoc """ Library for the HTTP Link header as specified in [RFC 5988 "Web Linking"](https://tools.ietf.org/html/rfc5988). """ import NimbleParsec skip_space = ignore(ascii_char([?\s, ?\t, ?\r, ?\n])) normal_value = ignore(ascii_char([?"])) |> choice([ repeat( ...
31.086957
115
0.520746
33e4c21a0ec2aa8a3a1e977aefc61b9690a023d1
1,135
ex
Elixir
lib/redis/response_handler.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
48
2016-06-01T11:40:34.000Z
2021-05-26T13:20:42.000Z
lib/redis/response_handler.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
2
2016-06-06T10:20:03.000Z
2016-06-11T05:06:10.000Z
lib/redis/response_handler.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
3
2016-07-02T20:54:58.000Z
2018-04-10T02:36:26.000Z
defmodule Remixdb.Redis.ResponseHandler do def send_response(socket, nil) do :gen_tcp.send socket, "$-1\r\n" socket end def send_response(socket, :undefined) do send_response socket, nil end def send_response(socket, {:error, val}) when is_bitstring(val) do msg = "-" <> val <> "\r\n" :ge...
23.163265
70
0.636123
33e4f38c603a1a4770409c87b07c6167f74e8479
2,588
ex
Elixir
lib/day11/part2.ex
anamba/adventofcode2020
2a749140d5393f7c69c630102daae977be30afcc
[ "MIT" ]
null
null
null
lib/day11/part2.ex
anamba/adventofcode2020
2a749140d5393f7c69c630102daae977be30afcc
[ "MIT" ]
null
null
null
lib/day11/part2.ex
anamba/adventofcode2020
2a749140d5393f7c69c630102daae977be30afcc
[ "MIT" ]
null
null
null
defmodule Day11.Part2 do @doc """ iex> Day11.Part2.part2("day11-sample.txt", 10, 10) 26 """ def part2(filename, rows, cols) do filename |> parse_input(rows, cols) # |> print_layout(rows, cols) |> iterate_until_stable(rows, cols) |> Map.values() |> Enum.count(&(&1 == "#")) end...
24.647619
80
0.55255
33e506bfb87fb32040ec8716ca25430b7264408b
1,014
ex
Elixir
lib/rockelivery/order.ex
LuizFerK/Rockelivery
4742d73027bcaa97c2fc7969c8d032edf73a28fd
[ "MIT" ]
null
null
null
lib/rockelivery/order.ex
LuizFerK/Rockelivery
4742d73027bcaa97c2fc7969c8d032edf73a28fd
[ "MIT" ]
null
null
null
lib/rockelivery/order.ex
LuizFerK/Rockelivery
4742d73027bcaa97c2fc7969c8d032edf73a28fd
[ "MIT" ]
null
null
null
defmodule Rockelivery.Order do use Ecto.Schema import Ecto.Changeset alias Ecto.Enum alias Rockelivery.{Item, User} @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @required_params [:address, :comments, :payment_method, :user_id] @payment_methods [:money, :credit_card,...
27.405405
80
0.711045
33e5084bb9d410ef133565bec5aec66a735702af
1,382
exs
Elixir
test/videocapture_test.exs
rubysolo/evision
e4750224d9fefc15f196b20a86bd2de4dce4e9ca
[ "Apache-2.0" ]
112
2021-11-27T17:19:07.000Z
2022-03-31T23:05:41.000Z
test/videocapture_test.exs
rubysolo/evision
e4750224d9fefc15f196b20a86bd2de4dce4e9ca
[ "Apache-2.0" ]
28
2021-12-04T01:24:03.000Z
2022-03-26T14:08:04.000Z
test/videocapture_test.exs
rubysolo/evision
e4750224d9fefc15f196b20a86bd2de4dce4e9ca
[ "Apache-2.0" ]
4
2021-12-02T20:40:32.000Z
2022-01-29T00:16:43.000Z
defmodule Evision.VideoCapture.Test do alias Evision, as: OpenCV use ExUnit.Case @moduletag timeout: 120_000 @tag :video @tag :require_ffmpeg test "open a video file and read one frame" do ret = Path.join(__DIR__, "videocapture_test.mp4") |> OpenCV.VideoCapture.videoCapture() assert :...
29.404255
89
0.667873
33e51ca54eebf0e9f9567318cad170ea592bb9e7
760
ex
Elixir
lib/echo/acceptor.ex
adigitalmonk/echo
9a740af22091ff5c484841cd1dcaebe740681be3
[ "MIT" ]
2
2022-03-04T19:19:55.000Z
2022-03-13T06:17:57.000Z
lib/echo/acceptor.ex
adigitalmonk/echo
9a740af22091ff5c484841cd1dcaebe740681be3
[ "MIT" ]
null
null
null
lib/echo/acceptor.ex
adigitalmonk/echo
9a740af22091ff5c484841cd1dcaebe740681be3
[ "MIT" ]
null
null
null
defmodule Echo.Acceptor do alias Echo.Controller require Logger @supervisor __MODULE__.TaskSupervisor def supervisor, do: {Task.Supervisor, name: @supervisor} def start(socket, handler) do {:ok, _pid} = Task.Supervisor.start_child( @supervisor, fn -> listen(socket, handler) end, ...
22.352941
60
0.656579
33e52c51f9e1bfc0c0d0d39902313cf39dcfcfc4
5,918
ex
Elixir
lib/paper_trail/serializer.ex
ottobar/paper_trail
046590026ec50605f3cabfaf48354b8acbf969a9
[ "MIT" ]
484
2016-06-19T19:33:31.000Z
2022-03-30T00:04:06.000Z
lib/paper_trail/serializer.ex
ottobar/paper_trail
046590026ec50605f3cabfaf48354b8acbf969a9
[ "MIT" ]
125
2016-12-13T14:28:45.000Z
2022-03-01T00:07:06.000Z
lib/paper_trail/serializer.ex
ottobar/paper_trail
046590026ec50605f3cabfaf48354b8acbf969a9
[ "MIT" ]
80
2016-09-09T02:12:41.000Z
2022-03-29T20:51:12.000Z
defmodule PaperTrail.Serializer do @moduledoc """ Serialization functions to create a version struct """ alias PaperTrail.RepoClient alias PaperTrail.Version @type model :: struct() | Ecto.Changeset.t() @type options :: Keyword.t() @type primary_key :: integer() | String.t() @doc """ Creates a ve...
30.040609
129
0.656979
33e535e4ada683b2b987c4afc4a5e07dc2e28606
756
exs
Elixir
ch20-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
9
2016-01-22T17:28:27.000Z
2020-06-07T01:38:44.000Z
ch20-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
null
null
null
ch20-04.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
1
2019-04-18T10:08:38.000Z
2019-04-18T10:08:38.000Z
# Write a macro called myunless that implements the standard unless function- # ality. You’re allowed to use the regular if expression in it. defmodule Programming.Elixir do defmodule M do defmacro unless(condition, clauses) do when_condition_is_falsy = Keyword.get(clauses, :do, nil) when_condition_...
22.235294
77
0.650794
33e5381a72be0d4a8cf10709e9eb5165aee946f7
747
ex
Elixir
lib/ex_ftx/spot_margin/create.ex
rodesousa/ex_ftx
aaf964a7667bc3475b02c5a751cc84de0994fffa
[ "MIT" ]
3
2021-09-27T17:19:41.000Z
2022-03-16T09:28:13.000Z
lib/ex_ftx/spot_margin/create.ex
rodesousa/ex_ftx
aaf964a7667bc3475b02c5a751cc84de0994fffa
[ "MIT" ]
3
2021-07-28T19:53:02.000Z
2021-09-27T15:48:38.000Z
lib/ex_ftx/spot_margin/create.ex
rodesousa/ex_ftx
aaf964a7667bc3475b02c5a751cc84de0994fffa
[ "MIT" ]
4
2021-08-01T11:25:58.000Z
2021-10-11T22:15:44.000Z
defmodule ExFtx.SpotMargin.Create do alias ExFtx.JsonResponse @type credentials :: ExFtx.Credentials.t() @type lending_payload :: ExFtx.LendingPayload.t() @type result :: :ok | {:error, String.t()} @spec post(credentials, lending_payload) :: result def post(credentials, lending_payload) do "/spot_marg...
31.125
94
0.714859
33e53b21a6207359d515ec0ee049d2b10df0872b
141
ex
Elixir
lib/asitext_web/views/manifest_view.ex
francois2metz/asitext
169b6488c4214012d5fc6ecafd4bcb5233008b20
[ "MIT" ]
2
2018-01-15T08:37:32.000Z
2018-01-16T18:02:24.000Z
lib/asitext_web/views/manifest_view.ex
francois2metz/asitext
169b6488c4214012d5fc6ecafd4bcb5233008b20
[ "MIT" ]
5
2018-07-24T15:42:04.000Z
2021-09-10T10:07:38.000Z
lib/asitext_web/views/manifest_view.ex
francois2metz/asitext
169b6488c4214012d5fc6ecafd4bcb5233008b20
[ "MIT" ]
null
null
null
defmodule AsitextWeb.ManifestView do use AsitextWeb, :view def render("manifest.json", %{manifest: manifest}) do manifest end end
17.625
55
0.730496
33e53bf0806af6e30003d54e9dfe50c31fa11a1c
767
exs
Elixir
test/credo/check/readability/predicate_function_names_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/readability/predicate_function_names_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/readability/predicate_function_names_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2020-09-25T11:48:49.000Z
2020-09-25T11:48:49.000Z
defmodule Credo.Check.Readability.PredicateFunctionNamesTest do use Credo.TestHelper @described_check Credo.Check.Readability.PredicateFunctionNames # # cases NOT raising issues # test "it should NOT report expected code" do """ def valid? do end defp has_attachment? do end """ ...
17.044444
65
0.646675
33e559fc93d1aa7e00b8ed9ba6a7ea487d196e3b
5,369
exs
Elixir
test/language_tag_test.exs
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
179
2019-06-16T09:16:00.000Z
2022-03-30T04:04:55.000Z
test/language_tag_test.exs
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
46
2019-06-09T02:35:58.000Z
2022-03-08T10:39:08.000Z
test/language_tag_test.exs
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
14
2020-03-03T16:35:50.000Z
2022-02-27T14:01:40.000Z
defmodule CldrLanguageTagTest do use ExUnit.Case, async: true use ExUnitProperties @tag timeout: :infinity property "check that we can parse language tags" do check all(language_tag <- GenerateLanguageTag.valid_language_tag(), max_runs: 500) do assert {:ok, _} = Cldr.AcceptLanguage.parse(language_tag...
35.556291
89
0.569566
33e565cdefaa28a5d5c26e8d81914dc6f73d274b
463
ex
Elixir
lib/formatters/map.ex
floatingpointio/delirium_tremexs
6b7bb1918b7a8a02c4af3b7e266e30b67eba59bc
[ "MIT" ]
4
2019-09-24T09:32:31.000Z
2021-02-21T13:13:18.000Z
lib/formatters/map.ex
floatingpointio/delirium_tremexs
6b7bb1918b7a8a02c4af3b7e266e30b67eba59bc
[ "MIT" ]
2
2019-02-20T14:24:43.000Z
2019-05-08T08:54:49.000Z
lib/formatters/map.ex
floatingpointio/delirium_tremexs
6b7bb1918b7a8a02c4af3b7e266e30b67eba59bc
[ "MIT" ]
1
2020-02-19T19:43:11.000Z
2020-02-19T19:43:11.000Z
defmodule DeliriumTremex.Formatters.Map do @spec format(error :: map()) :: [map()] def format(%{key: _, messages: _} = error) do %{ message: (error[:message] || error[:messages] || "Error") |> List.wrap() |> hd(), key: error[:key], messages: error[:messages] |> List.wrap(), full_messages...
30.866667
87
0.585313
33e574232244c9349415ed57854a5d196b0ad8cc
7,573
exs
Elixir
test/scenic/math/vector2_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/math/vector2_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/math/vector2_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Copyright © 2017 Boyd Multerer. All rights reserved. # defmodule Scenic.Math.Vector2Test do use ExUnit.Case doctest Scenic.Math doctest Scenic.Math.Line doctest Scenic.Math.Vector2 alias Scenic.Math.Vector2 alias Scenic.Math.Matrix @projection_mx Matrix.build_translation({5, 7}) # --------------...
33.361233
91
0.469299
33e5b3209f56b25bfb073e1356ce03ec6ff010ab
2,296
exs
Elixir
test/commodity_api/iam/user/state/state_controller_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
7
2019-04-11T21:12:49.000Z
2021-04-14T12:56:42.000Z
test/commodity_api/iam/user/state/state_controller_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
null
null
null
test/commodity_api/iam/user/state/state_controller_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
2
2019-06-06T18:05:33.000Z
2019-07-16T08:49:45.000Z
## # Copyright 2018 Abdulkadir DILSIZ # # 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...
29.063291
77
0.699477
33e5c4c50edf24f8106a1fe13727b0166a003bb8
1,900
ex
Elixir
lib/accent/translations/translations_renderer.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/accent/translations/translations_renderer.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/accent/translations/translations_renderer.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.TranslationsRenderer do alias Langue def render_entries(args) do {:ok, serializer} = Langue.serializer_from_format(args.document.format) serialzier_input = %Langue.Formatter.ParserResult{ entries: args.entries, language: %Langue.Language{ slug: args.language.slug, ...
29.6875
97
0.696316
33e5de7196cd779d93412777ba189c6cd18eeba5
1,744
ex
Elixir
lib/ash/resource/transformers/cache_primary_key.ex
kernel-io/ash
cb59a8e09c61913fb0443a84fc894714e9199686
[ "MIT" ]
null
null
null
lib/ash/resource/transformers/cache_primary_key.ex
kernel-io/ash
cb59a8e09c61913fb0443a84fc894714e9199686
[ "MIT" ]
null
null
null
lib/ash/resource/transformers/cache_primary_key.ex
kernel-io/ash
cb59a8e09c61913fb0443a84fc894714e9199686
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Transformers.CachePrimaryKey do @moduledoc "Validates and caches the primary key of a resource" use Ash.Dsl.Transformer alias Ash.Dsl.Transformer alias Ash.Error.Dsl.DslError def transform(resource, dsl_state) do primary_key_attribute = dsl_state |> Transformer.get_ent...
27.25
79
0.622706
33e5f24244514e6302ad9f73e086ab44bf9afb30
4,671
ex
Elixir
clients/apps_activity/lib/google_api/apps_activity/v1/api/activities.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apps_activity/lib/google_api/apps_activity/v1/api/activities.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apps_activity/lib/google_api/apps_activity/v1/api/activities.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...
50.225806
377
0.674374
33e603a86dc81c2f8852b5750dbadb156a242150
291
ex
Elixir
lib/phoenix_liveview_stock_tracker.ex
BKStephens/phoenix_liveview_stock_tracker
7cbf5e546f797a33d3e47b91fd75768bc18d8a5c
[ "MIT" ]
null
null
null
lib/phoenix_liveview_stock_tracker.ex
BKStephens/phoenix_liveview_stock_tracker
7cbf5e546f797a33d3e47b91fd75768bc18d8a5c
[ "MIT" ]
null
null
null
lib/phoenix_liveview_stock_tracker.ex
BKStephens/phoenix_liveview_stock_tracker
7cbf5e546f797a33d3e47b91fd75768bc18d8a5c
[ "MIT" ]
null
null
null
defmodule PhoenixLiveviewStockTracker do @moduledoc """ PhoenixLiveviewStockTracker keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
29.1
72
0.786942
33e6391eec92b7de505294e1c0d5c8f73bb7d6bf
7,209
exs
Elixir
test/jrtp_bridge_erl_test.exs
cellulose/jrtp_bridge
257ff4443962e9b8746888fa3927245da39d4d8b
[ "MIT" ]
1
2018-05-19T13:59:13.000Z
2018-05-19T13:59:13.000Z
test/jrtp_bridge_erl_test.exs
cellulose/jrtp_bridge
257ff4443962e9b8746888fa3927245da39d4d8b
[ "MIT" ]
1
2015-04-12T06:25:47.000Z
2015-04-12T06:25:47.000Z
test/jrtp_bridge_erl_test.exs
cellulose/jrtp_bridge
257ff4443962e9b8746888fa3927245da39d4d8b
[ "MIT" ]
null
null
null
defmodule JrtpBridgeErlTest do use ExUnit.Case HTTPotion.start # configure and start a basic http server on port 8088 using cowboy # that puts the jrtp bridge at the /jrtp/ directory for test purposes. @test_http_port 8088 @test_http_root "localhost:#{@test_http_port}/jrtp/" @silly_path [:tests, :sill...
36.780612
90
0.66847
33e6480663d2d08ffccd75974ed2647058ca53d7
6,978
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/gce_cluster_config.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/gce_cluster_config.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/gce_cluster_config.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
87.225
642
0.752078
33e65a71a3efb410e09ca6c3c204b0d46fe52c19
5,806
ex
Elixir
lib/erlef/wild_apricot.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
71
2019-07-02T18:06:15.000Z
2022-03-09T15:30:08.000Z
lib/erlef/wild_apricot.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
157
2019-07-02T01:21:16.000Z
2022-03-30T16:08:12.000Z
lib/erlef/wild_apricot.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
45
2019-07-04T05:51:11.000Z
2022-02-27T11:56:02.000Z
defmodule Erlef.WildApricot do @moduledoc """ Erlef.WildApricot Client This module provides a set of functions for performing common operations with the wildapricot api for use witthin the erlef app. ## Wildapricot The erlef uses wildapricot as a members database and ... ### Useful resources - htt...
26.87963
97
0.593352
33e6786336c914737a2d1097be1e5525888ffb46
404
ex
Elixir
lib/metar_map/display/target_adapter.ex
schrockwell/metar_map_nerves
7eff2d95631f00b1c763c7ef6de666cfca24fffa
[ "MIT" ]
null
null
null
lib/metar_map/display/target_adapter.ex
schrockwell/metar_map_nerves
7eff2d95631f00b1c763c7ef6de666cfca24fffa
[ "MIT" ]
2
2022-02-19T17:09:09.000Z
2022-02-19T17:10:29.000Z
lib/metar_map/display/target_adapter.ex
schrockwell/metar_map_nerves
7eff2d95631f00b1c763c7ef6de666cfca24fffa
[ "MIT" ]
null
null
null
defmodule MetarMap.Display.TargetAdapter do @behaviour MetarMap.Display.Adapter def set_pixel(pixel, color) do color = MetarMap.Display.Color.to_blinkchain(color) apply(Blinkchain, :set_pixel, [pixel, color]) end def set_brightness(channel, brightness) do apply(Blinkchain, :set_brightness, [channe...
23.764706
61
0.735149
33e68fa8f89f5a9e0e41840bff1d68f0c16d99f2
1,512
exs
Elixir
test/plug/finish_trace_test.exs
aselder/spandex_phoenix
33d3fcfd62bd49afcbe6cbde5de396fa2d347619
[ "MIT" ]
null
null
null
test/plug/finish_trace_test.exs
aselder/spandex_phoenix
33d3fcfd62bd49afcbe6cbde5de396fa2d347619
[ "MIT" ]
null
null
null
test/plug/finish_trace_test.exs
aselder/spandex_phoenix
33d3fcfd62bd49afcbe6cbde5de396fa2d347619
[ "MIT" ]
null
null
null
defmodule FinishTracePlugTest do use ExUnit.Case import RouterHelper alias SpandexPhoenix.Plug.{ AddContext, FinishTrace, StartTrace } describe "SpandexPhoenix.Plug.FinishTrace" do test "finishes a trace using the default Tracer" do refute TestTracer.current_span() StartTrace ...
22.567164
73
0.578704
33e6a9eb14f9ccb166f70285399a12e76d38a0ba
117
exs
Elixir
05_tuples.exs
napcs/meet_elixir_2015
1147e320bc54d623dd805debb491115cdeb72374
[ "MIT" ]
2
2015-08-12T16:33:19.000Z
2015-09-28T13:32:47.000Z
05_tuples.exs
napcs/meet_elixir_2015
1147e320bc54d623dd805debb491115cdeb72374
[ "MIT" ]
null
null
null
05_tuples.exs
napcs/meet_elixir_2015
1147e320bc54d623dd805debb491115cdeb72374
[ "MIT" ]
null
null
null
homer = {:person, "Homer", "Simpson", 42} marge = {:person, "Marge", "Simpson", 42} moes = {:place, "Moe's Tavern"}
23.4
41
0.589744
33e6be2bd21c5799b658971ec23c50dbd58b1efe
1,778
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_normalized_vertex.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_normalized_vertex.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_normalized_vertex.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...
32.327273
144
0.727784
33e7251b80d5e758ef9a215c7c5ff6740585e67d
1,954
exs
Elixir
config/config.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
config/config.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
config/config.exs
riamaria/banchan
c4f8bd9374acaf0a8bb2c501e2ae1eb78f96579f
[ "BlueOak-1.0.0", "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. # # This configuration file is loaded before any dependency and # is restricted to this project. # Load environment variables if File.exists?(".env.ps1") and System.find_executable("powershell") do...
31.015873
140
0.723132
33e7784391d8330c2171364a0bbef7e72c293e3f
487
ex
Elixir
cryin/lib/cryin_web/views/error_view.ex
Graveyardillon/cryin
975ef2f2c170351d60b0b9846b0616dc7d32a747
[ "MIT" ]
null
null
null
cryin/lib/cryin_web/views/error_view.ex
Graveyardillon/cryin
975ef2f2c170351d60b0b9846b0616dc7d32a747
[ "MIT" ]
1
2020-05-18T13:34:20.000Z
2020-05-18T13:34:20.000Z
cryin/lib/cryin_web/views/error_view.ex
Papillon6814/cryin
975ef2f2c170351d60b0b9846b0616dc7d32a747
[ "MIT" ]
null
null
null
defmodule CryinWeb.ErrorView do use CryinWeb, :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 template name. Fo...
28.647059
61
0.73306
33e785aa9a26c83c38186639da0d2ec5617101bd
2,206
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail_set_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail_set_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail_set_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...
37.389831
176
0.700363
33e79693bc6e77b7a4ecd578135c6c7132a7602b
92
ex
Elixir
priv/template/web/views/layout_view.ex
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
priv/template/web/views/layout_view.ex
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
priv/template/web/views/layout_view.ex
chvanikoff/phoenix
bf7011b9f87afff0e0012d5f7a3adf0463040765
[ "MIT" ]
null
null
null
defmodule <%= application_module %>.LayoutView do use <%= application_module %>.View end
18.4
49
0.728261
33e7a60c5b8be43ee9f753f25590f8811577dbea
3,944
exs
Elixir
test/changelog_web/plugs/vanity_domains_test.exs
rizalgowandy/changelog.com
3f8a474afc254ecf74a48c5f75083d84eec1d972
[ "MIT" ]
1
2020-09-04T03:25:40.000Z
2020-09-04T03:25:40.000Z
test/changelog_web/plugs/vanity_domains_test.exs
rizalgowandy/changelog.com
3f8a474afc254ecf74a48c5f75083d84eec1d972
[ "MIT" ]
null
null
null
test/changelog_web/plugs/vanity_domains_test.exs
rizalgowandy/changelog.com
3f8a474afc254ecf74a48c5f75083d84eec1d972
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.VanityDomainsTest do use ChangelogWeb.ConnCase alias ChangelogWeb.{Plug} @jsparty %{ vanity_domain: "https://jsparty.fm", slug: "jsparty", apple_url: "https://podcasts.apple.com/us/podcast/js-party/id1209616598", name: "JS Party" } @gotime %{ vanity_domain: "https:...
27.2
81
0.663286
33e7b808e82a7ce9a7aa5a529a5a176849469ace
188
ex
Elixir
apps/wechat_mp/lib/wechat_mp/api/model/massive_message.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_mp/lib/wechat_mp/api/model/massive_message.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_mp/lib/wechat_mp/api/model/massive_message.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
defmodule WechatMP.Api.Model.MassiveMessage do use WechatBase.Api.Model.JsonResponse model do field :errcode field :errmsg field :msg_id field :msg_data_id end end
15.666667
46
0.728723
33e7d4b93a883a3dc5afbb614bb3229dafc3cc84
68
exs
Elixir
test/test_helper.exs
khozyainov/home-ui
78eaa16bec6e10eb2e4a40dd5a7f56836f2e8c82
[ "MIT" ]
null
null
null
test/test_helper.exs
khozyainov/home-ui
78eaa16bec6e10eb2e4a40dd5a7f56836f2e8c82
[ "MIT" ]
null
null
null
test/test_helper.exs
khozyainov/home-ui
78eaa16bec6e10eb2e4a40dd5a7f56836f2e8c82
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(HomeUi.Repo, :manual)
22.666667
52
0.779412
33e7f8c6270e585171ae533fd29b86eb5142251e
904
ex
Elixir
phoenix_in_action/ch7/auction_umbrella/apps/auction/lib/auction/fake_repo.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
phoenix_in_action/ch7/auction_umbrella/apps/auction/lib/auction/fake_repo.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
phoenix_in_action/ch7/auction_umbrella/apps/auction/lib/auction/fake_repo.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule Auction.FakeRepo do alias Auction.Item @items [ %Item{ id: 1, title: "My first item", description: "A tasty item sure to please", ends_at: ~N[2020-01-01 00:00:00] }, %Item{ id: 2, title: "WarGames Bluray", description: "The best co...
22.6
75
0.529867
33e813f921a10d460b4cbd0162567b1210cec95d
11,451
ex
Elixir
lib/xfighter/stock.ex
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
2
2015-12-18T20:33:08.000Z
2016-04-06T12:23:56.000Z
lib/xfighter/stock.ex
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
null
null
null
lib/xfighter/stock.ex
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
null
null
null
defmodule Xfighter.Stock do alias Xfighter.Exception.ConnectionError alias Xfighter.Exception.InvalidJSON alias Xfighter.Exception.RequestError alias Xfighter.Order alias Xfighter.Quote alias Xfighter.Symbols import Xfighter.API, only: [decode_response: 2, request: 2, request: 3] @type symbol :: %{nam...
38.94898
122
0.642389
33e81e639903ac0ea39a7276d5a5dbfd8fcf2c4c
384
ex
Elixir
elm_phoenixed/web/views/error_view.ex
eeue56/elm-phoenixed
a16d57a6922ea23018b1295970c1620022051208
[ "BSD-3-Clause" ]
3
2016-04-04T11:25:09.000Z
2016-04-12T15:00:06.000Z
elm_phoenixed/web/views/error_view.ex
NoRedInk/elm-phoenixed
a16d57a6922ea23018b1295970c1620022051208
[ "BSD-3-Clause" ]
null
null
null
elm_phoenixed/web/views/error_view.ex
NoRedInk/elm-phoenixed
a16d57a6922ea23018b1295970c1620022051208
[ "BSD-3-Clause" ]
1
2017-08-07T23:57:08.000Z
2017-08-07T23:57:08.000Z
defmodule ElmPhoenixed.ErrorView do use ElmPhoenixed.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(...
21.333333
47
0.705729
33e82f9aecf45cf3c50aed85bd37974001fc6ed3
14,553
exs
Elixir
test/captain_hook/webhook_endpoints_test.exs
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
4
2020-11-13T11:27:24.000Z
2021-08-19T17:28:53.000Z
test/captain_hook/webhook_endpoints_test.exs
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
null
null
null
test/captain_hook/webhook_endpoints_test.exs
annatel/captain_hook
e16a01107d11756d37d96d1e9092c17d9aa9260b
[ "MIT" ]
null
null
null
defmodule CaptainHook.WebhookEndpointsTest do use ExUnit.Case, async: true use CaptainHook.DataCase alias CaptainHook.WebhookEndpoints describe "list_webhook_endpoints/1" do test "list_webhook_endpoints" do %{id: id_1} = insert!(:webhook_endpoint, created_at: utc_now()) %{id: id_2} = insert!(:...
36.111663
104
0.673882
33e84796de911328ab6956b38dfa00d5e0bf3bcf
1,886
ex
Elixir
lib/mdns_lite/vintage_net_monitor.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
28
2020-08-25T15:26:02.000Z
2022-01-25T00:25:13.000Z
lib/mdns_lite/vintage_net_monitor.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
19
2020-06-12T22:12:49.000Z
2022-02-08T22:12:16.000Z
lib/mdns_lite/vintage_net_monitor.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
7
2020-07-31T08:46:15.000Z
2022-01-23T10:11:01.000Z
defmodule MdnsLite.VintageNetMonitor do @moduledoc """ Network monitor that using VintageNet Use this network monitor to detect new network interfaces and their IP addresses when using Nerves. It is the default. """ use GenServer alias MdnsLite.CoreMonitor @addresses_topic ["interface", :_, "addresse...
28.575758
91
0.706257
33e84e82e0fa287e8d8151e5d94d0e58e4fc9dd6
6,512
ex
Elixir
lib/cforum/markdown_renderer.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum/markdown_renderer.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum/markdown_renderer.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
defmodule Cforum.MarkdownRenderer do @moduledoc """ This is a gen server which creates a long-running nodejs process and communicates with it to render JSON documents to HTML or plain text """ use GenServer alias Porcelain.Process, as: Proc # alias Porcelain.Result alias Cforum.Cites.Cite alias Cfo...
24.573585
117
0.589527
33e8509ba311684a013a62a9dba6d510efd00406
473
exs
Elixir
apps/snitch_core/priv/repo/migrations/20180526093804_order_belongs_to_address_and_stock_location_index.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/migrations/20180526093804_order_belongs_to_address_and_stock_location_index.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/migrations/20180526093804_order_belongs_to_address_and_stock_location_index.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Repo.Migrations.OrderBelongsToAddressAndStockLocationsIndex do use Ecto.Migration def change do alter table("snitch_orders") do remove :billing_address_id remove :shipping_address_id add :billing_address_id, references("snitch_addresses", on_delete: :nothing) add :ship...
29.5625
83
0.763214
33e87e35f2741f716330d7e5b7dc5280126da709
278
exs
Elixir
test/solverlview_web/views/layout_view_test.exs
bokner/solverlview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
10
2020-09-18T19:26:51.000Z
2021-07-08T19:26:00.000Z
test/solverlview_web/views/layout_view_test.exs
bokner/solverview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
null
null
null
test/solverlview_web/views/layout_view_test.exs
bokner/solverview
52a527bc653619fd35977d951b36207ba0ebd9cc
[ "MIT" ]
null
null
null
defmodule SolverlviewWeb.LayoutViewTest do use SolverlviewWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.888889
65
0.773381
33e8b35eb28145bdd2fdd2513e5afa09ab2b2401
451
ex
Elixir
lib/mix/tasks/ejabberd.gen.config.ex
crewstad/romeo
94ebe08c9de92c21a5d10018df0512d05bc1fa7a
[ "MIT" ]
78
2015-11-17T14:24:27.000Z
2022-01-18T05:24:23.000Z
lib/mix/tasks/ejabberd.gen.config.ex
crewstad/romeo
94ebe08c9de92c21a5d10018df0512d05bc1fa7a
[ "MIT" ]
38
2015-12-16T07:35:28.000Z
2021-04-06T08:52:01.000Z
lib/mix/tasks/ejabberd.gen.config.ex
crewstad/romeo
94ebe08c9de92c21a5d10018df0512d05bc1fa7a
[ "MIT" ]
56
2015-11-23T17:57:52.000Z
2022-01-20T16:17:29.000Z
defmodule Mix.Tasks.Ejabberd.Gen.Config do use Mix.Task @shortdoc "Generates an ejabberd.yml file" @moduledoc """ Generates an ejabberd.yml file. mix ejabberd.gen.config """ def run([]) do cwd = File.cwd! source = Path.join(cwd, "priv/templates/ejabberd.yml.eex") target = Path.join(cwd...
21.47619
62
0.678492
33e8c48b11ca1a2a63949b9dc5c3311911590fa4
892
exs
Elixir
test/socket_id_test.exs
saiful7/poxa
f50e7fe9a4f74b502094fc8df2cb4f10d28e3d78
[ "MIT" ]
742
2015-01-02T14:27:45.000Z
2022-03-17T06:42:52.000Z
test/socket_id_test.exs
saiful7/poxa
f50e7fe9a4f74b502094fc8df2cb4f10d28e3d78
[ "MIT" ]
126
2015-02-08T04:39:53.000Z
2022-01-02T14:43:27.000Z
test/socket_id_test.exs
saiful7/poxa
f50e7fe9a4f74b502094fc8df2cb4f10d28e3d78
[ "MIT" ]
105
2015-01-28T20:41:40.000Z
2022-02-14T07:48:50.000Z
defmodule Poxa.SocketIdTest do use ExUnit.Case, async: true alias Poxa.SocketId use Mimic doctest SocketId setup do stub(Poxa.registry()) :ok end test "generate! returns a string of 2 integers" do socket_id = SocketId.generate!() [part1, part2] = String.split(socket_id, ".") assert ...
22.3
78
0.651345
33e8ca85639dd155ee559ee01c2bc6d3b44e0d0f
2,229
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/operation_metadata_v1_alpha.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/operation_metadata_v1_alpha.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/operation_metadata_v1_alpha.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...
38.431034
152
0.748766
33e8caceb1c7505e325c80954e3a4e3e33825c89
1,440
ex
Elixir
lib/freddie/router/builder.ex
kernelgarden/freddie
ec8bce295bc9b74ff5364708d04b1346184cf6e4
[ "MIT" ]
8
2019-03-16T04:13:37.000Z
2020-03-16T01:57:41.000Z
lib/freddie/router/builder.ex
kernelgarden/freddie
ec8bce295bc9b74ff5364708d04b1346184cf6e4
[ "MIT" ]
null
null
null
lib/freddie/router/builder.ex
kernelgarden/freddie
ec8bce295bc9b74ff5364708d04b1346184cf6e4
[ "MIT" ]
null
null
null
defmodule Freddie.Router.Builder do @moduledoc false import :erl_syntax def compile(module, schemes) do {:ok, ^module, binary} = module |> build_abstract(schemes) # |> IO.inspect(label: "[DEBUG] => ") |> Enum.map(&:erl_syntax.revert/1) # |> IO.inspect(label: "[DEBUG] => ") ...
20.571429
61
0.575
33e8f1a3416ec2d791423193cf2add75349327d8
1,853
ex
Elixir
lib/exlasticsearch/aggregation.ex
maartenvanvliet/exlasticsearch
d012da44657ee3ebafe4ccc19dff4dedf2b71daa
[ "MIT" ]
null
null
null
lib/exlasticsearch/aggregation.ex
maartenvanvliet/exlasticsearch
d012da44657ee3ebafe4ccc19dff4dedf2b71daa
[ "MIT" ]
null
null
null
lib/exlasticsearch/aggregation.ex
maartenvanvliet/exlasticsearch
d012da44657ee3ebafe4ccc19dff4dedf2b71daa
[ "MIT" ]
null
null
null
defmodule ExlasticSearch.Aggregation do @moduledoc """ Elasticsearch aggregation building functions """ defstruct [aggregations: [], nested: %{}, options: %{}] @type t :: %__MODULE__{} @doc "create a new aggregation specification" def new(), do: %__MODULE__{} @doc """ Bucket a query by a given ter...
29.412698
100
0.628171
33e8fe63552a2c6d0033e918718edfab390d180c
189
exs
Elixir
priv/bs_repo/migrations/20180118023853_add_snake_start_length_to_game_form.exs
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
3
2018-07-14T22:55:23.000Z
2019-02-25T06:11:55.000Z
priv/bs_repo/migrations/20180118023853_add_snake_start_length_to_game_form.exs
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
7
2020-02-12T03:22:59.000Z
2022-02-10T20:23:52.000Z
priv/bs_repo/migrations/20180118023853_add_snake_start_length_to_game_form.exs
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
12
2018-03-27T05:27:20.000Z
2019-04-02T08:19:04.000Z
defmodule BsRepo.Migrations.AddSnakeStartLengthToGameForm do use Ecto.Migration def change do alter table(BsRepo.GameForm) do add :snake_start_length, :any end end end
18.9
60
0.751323
33e91184c066c4888cb0cfdd8e6942f4448d1f38
68
exs
Elixir
test/views/page_view_test.exs
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
chayelheinsen/ElixirBook
40797c0d84c101ae331100a4b8467df95fa9efd6
[ "MIT" ]
null
null
null
defmodule Book.PageViewTest do use Book.ConnCase, async: true end
17
32
0.794118
33e91caa3c5018a74ea28bee12623f0ef44f84ef
1,961
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/delete_table_column_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/delete_table_column_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/delete_table_column_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.45098
317
0.754207
33e9204d09fcc1b9ff41a0efd884b94c81d70266
50
exs
Elixir
test/buttondown_test.exs
christopherlai/buttondown
018e42e398fb01415d6ff26bf1d8be330b83fb12
[ "MIT", "Unlicense" ]
1
2020-01-19T03:00:36.000Z
2020-01-19T03:00:36.000Z
test/buttondown_test.exs
christopherlai/buttondown
018e42e398fb01415d6ff26bf1d8be330b83fb12
[ "MIT", "Unlicense" ]
null
null
null
test/buttondown_test.exs
christopherlai/buttondown
018e42e398fb01415d6ff26bf1d8be330b83fb12
[ "MIT", "Unlicense" ]
null
null
null
defmodule ButtondownTest do use ExUnit.Case end
12.5
27
0.82
33e9f14ff128379c860426ce700e5290e50a06b0
1,037
ex
Elixir
lib/slack/rtm.ex
rkstarnerd/Elixir-Slack
1a35968b5d5b8e144e58dffba7215597a525791c
[ "MIT" ]
null
null
null
lib/slack/rtm.ex
rkstarnerd/Elixir-Slack
1a35968b5d5b8e144e58dffba7215597a525791c
[ "MIT" ]
null
null
null
lib/slack/rtm.ex
rkstarnerd/Elixir-Slack
1a35968b5d5b8e144e58dffba7215597a525791c
[ "MIT" ]
null
null
null
defmodule Slack.JsonDecodeError do @moduledoc false defexception [:reason, :string] def message(%Slack.JsonDecodeError{reason: reason, string: string}) do "Poison could not decode string for reason: `:#{reason}`, string given:\n#{string}" end end defmodule Slack.Rtm do @moduledoc false def start(tok...
30.5
137
0.664417
33ea1f066d2cbd45a4efcc8675fdc119b038c897
23,900
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/target_http_proxies.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_http_proxies.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_http_proxies.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...
54.072398
511
0.66364
33ea3d578d16bcca2639789a5a489a109d7202a8
155
ex
Elixir
lib/phoenix_starter/mailer.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
3
2021-03-19T10:39:02.000Z
2021-07-25T19:54:09.000Z
lib/phoenix_starter/mailer.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
204
2020-11-27T06:00:31.000Z
2022-03-25T08:08:16.000Z
lib/phoenix_starter/mailer.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
null
null
null
defmodule PhoenixStarter.Mailer do @moduledoc """ Mailer to send emails with `Bamboo.Mailer`. """ use Bamboo.Mailer, otp_app: :phoenix_starter end
22.142857
46
0.735484