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
ff36f0fb69065e13cf7b6280cd47594ef6f79aa1
1,103
ex
Elixir
lib/noven_web/channels/device_socket.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
8
2020-09-10T09:18:17.000Z
2022-03-25T03:43:25.000Z
lib/noven_web/channels/device_socket.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
null
null
null
lib/noven_web/channels/device_socket.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
4
2020-12-28T06:13:51.000Z
2021-04-27T18:00:06.000Z
defmodule NovenWeb.DeviceSocket do use Phoenix.Socket require Logger ## Channels channel "device:*", NovenWeb.DeviceChannel @impl true def connect(%{"token" => token}, socket, _connect_info) do with {:ok, token} <- Base.url_decode64(token, padding: false), token <- :crypto.hash(:sha256, token...
30.638889
88
0.655485
ff3711b20cb6b7ac9ecf44a587d0f15d40ac14c0
668
exs
Elixir
test/codegen/models_test.exs
vickerysec/obmarg_kazan
27e9ab923dd2a3b89e030de918f4d7c9da316248
[ "MIT" ]
null
null
null
test/codegen/models_test.exs
vickerysec/obmarg_kazan
27e9ab923dd2a3b89e030de918f4d7c9da316248
[ "MIT" ]
null
null
null
test/codegen/models_test.exs
vickerysec/obmarg_kazan
27e9ab923dd2a3b89e030de918f4d7c9da316248
[ "MIT" ]
null
null
null
defmodule KazanCodegenModelsTest do use ExUnit.Case alias Kazan.Codegen.Models describe "module_name" do test "returns nil when unknown name in safe mode" do assert Models.module_name("io.k8s.api.core.v1.nope") == nil end test "returns a module name when in unsafe mode" do mod_name = ...
24.740741
65
0.661677
ff37434b5430ecc8ae39bb2dac8bc5579f0ff32c
3,336
ex
Elixir
lib/ash_postgres.ex
zimt28/ash_postgres
5f27e329bc369f12ffb44bbdffbb37d5807067fb
[ "MIT" ]
null
null
null
lib/ash_postgres.ex
zimt28/ash_postgres
5f27e329bc369f12ffb44bbdffbb37d5807067fb
[ "MIT" ]
null
null
null
lib/ash_postgres.ex
zimt28/ash_postgres
5f27e329bc369f12ffb44bbdffbb37d5807067fb
[ "MIT" ]
null
null
null
defmodule AshPostgres do @moduledoc """ A postgres extension library for `Ash`. `AshPostgres.DataLayer` provides a DataLayer, and a DSL extension to configure that data layer. The dsl extension exposes the `postgres` section. See: `AshPostgres.DataLayer` for more. """ alias Ash.Dsl.Extension @doc "The...
34.391753
110
0.745803
ff37504fb53295a696de38ab5259b5aaf8c90e21
12,163
ex
Elixir
lib/raft_fleet/consensus_member_adjuster.ex
liveforeverx/raft_fleet
b3c03250f8498eeb734f2855734c10bd0c928417
[ "MIT" ]
null
null
null
lib/raft_fleet/consensus_member_adjuster.ex
liveforeverx/raft_fleet
b3c03250f8498eeb734f2855734c10bd0c928417
[ "MIT" ]
null
null
null
lib/raft_fleet/consensus_member_adjuster.ex
liveforeverx/raft_fleet
b3c03250f8498eeb734f2855734c10bd0c928417
[ "MIT" ]
null
null
null
use Croma defmodule RaftFleet.ConsensusMemberAdjuster do require Logger alias RaftFleet.{Cluster, Manager, LeaderPidCache} # Currently this is fixed; simply I don't know whether this should be customizable or not. @wait_time_before_forgetting_deactivated_node 30 * 60_000 def adjust() do case RaftFleet....
46.780769
156
0.705254
ff3782d555fb52590ebec57f8b9c68ec448ccf88
144
ex
Elixir
db_server/lib/db_server_web/controllers/api/chat_text_controller.ex
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
db_server/lib/db_server_web/controllers/api/chat_text_controller.ex
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
db_server/lib/db_server_web/controllers/api/chat_text_controller.ex
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
defmodule DbServerWeb.API.ChatTextController do use DbServerWeb, :controller def index(conn, _params) do render(conn, :index) end end
20.571429
47
0.756944
ff37cc6321e5580dca7f25d0024827d5ff19a9b6
709
exs
Elixir
mix.exs
sgtpepper43/namex
902a2e140d16838fd40ab6c5cc58775747937b81
[ "MIT" ]
1
2021-09-24T22:40:00.000Z
2021-09-24T22:40:00.000Z
mix.exs
sgtpepper43/namex
902a2e140d16838fd40ab6c5cc58775747937b81
[ "MIT" ]
null
null
null
mix.exs
sgtpepper43/namex
902a2e140d16838fd40ab6c5cc58775747937b81
[ "MIT" ]
null
null
null
defmodule Namex.MixProject do use Mix.Project def project do [ app: :namex, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), description: "A name parser", package: [ licenses: ["MIT"], maintainers: ["Trevor Fenn<sgt...
20.852941
69
0.534556
ff37d5df1334e83d4cc1db313116ee505d20654d
67
exs
Elixir
kousa/test/test_helper.exs
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
5
2021-03-02T09:00:45.000Z
2021-03-13T04:45:46.000Z
kousa/test/test_helper.exs
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
2
2022-02-15T04:33:25.000Z
2022-02-28T01:39:56.000Z
kousa/test/test_helper.exs
lazarospsa/dogehouse
4400518f5b6bce929e40eada615356e8814a8d28
[ "MIT" ]
1
2021-03-19T13:04:24.000Z
2021-03-19T13:04:24.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Beef.Repo, :manual)
16.75
50
0.761194
ff3802439996a8584facded60b255d24f0b77624
1,289
ex
Elixir
lib/screens_web/controllers/screen_api_controller.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens_web/controllers/screen_api_controller.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens_web/controllers/screen_api_controller.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule ScreensWeb.ScreenApiController do use ScreensWeb, :controller require Logger alias Screens.Config.State plug(:check_config) plug Corsica, [origins: "*"] when action == :show_dup defp check_config(conn, _) do if State.ok?() do conn else conn |> put_status(:not_found) ...
26.306122
98
0.693561
ff3812736afc60de06e0da0091fbaeed6f33e80d
118
exs
Elixir
test/relax_lib_test.exs
gialib/relax_lib
0a94b1fe38d00b51832ef947a4c3a1c2956583ca
[ "MIT" ]
null
null
null
test/relax_lib_test.exs
gialib/relax_lib
0a94b1fe38d00b51832ef947a4c3a1c2956583ca
[ "MIT" ]
null
null
null
test/relax_lib_test.exs
gialib/relax_lib
0a94b1fe38d00b51832ef947a4c3a1c2956583ca
[ "MIT" ]
null
null
null
defmodule RelaxLibTest do use ExUnit.Case doctest RelaxLib test "the truth" do assert 1 + 1 == 2 end end
13.111111
25
0.677966
ff38716a8cd8eb1683c4d7d7f2f24d9448c364ba
2,563
ex
Elixir
lib/radiator/auth/guardian.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
lib/radiator/auth/guardian.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
lib/radiator/auth/guardian.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
defmodule Radiator.Auth.Guardian do @otp_app Mix.Project.config()[:app] use Guardian, otp_app: @otp_app alias Radiator.Auth @doc """ Generates and returns a Bearer token for api usage. """ def api_session_token(%Auth.User{} = user) do {:ok, token, _claims} = encode_and_sign(user, %{}, ttl: {45...
26.978947
100
0.65041
ff38734f741192a3ce1fcb7e587aa3ff71f6e11a
1,260
ex
Elixir
lib/skeleton/types/default/string_to_float.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
3
2020-12-15T09:04:57.000Z
2021-06-11T02:01:09.000Z
lib/skeleton/types/default/string_to_float.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
lib/skeleton/types/default/string_to_float.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
defmodule MapSchema.DefaultTypes.MSchemaStringToFloat do @moduledoc false @doc """ StringToFloat type """ @behaviour MapSchema.CustomType alias MapSchema.ExuString @spec name :: atom | String.t() def name, do: :string_to_float def nested?, do: false @spec cast(value :: any) :: any | :map_schema_t...
23.333333
60
0.656349
ff3903c3481ed80e1e0a997e464aeef9c281eb93
6,687
ex
Elixir
exercises/practice/zebra-puzzle/.meta/example.ex
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/zebra-puzzle/.meta/example.ex
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/zebra-puzzle/.meta/example.ex
jaimeiniesta/elixir-1
e8ddafeb313822645e0cd76743955a5c728a84c5
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule ZebraPuzzle do @nationalities ~w(englishman norwegian ukrainian japanese spaniard)a @colors ~w(red green ivory yellow blue)a @drinks ~w(coffee tea milk orange_juice water)a @pets ~w(dog snails fox horse zebra)a @cigarettes ~w{old_gold kool chesterfield lucky_strike parliament}a @doc """ Determi...
34.647668
98
0.629281
ff390ccffb2b24e3771e6a677076d8a63a49d51c
3,345
exs
Elixir
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/controllers/challenge_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/controllers/challenge_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_rpc/test/omg_watcher_rpc/web/controllers/challenge_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
35.210526
111
0.633184
ff394d86159daea158562be2457a73e0f1f3e348
382
ex
Elixir
web/views/error_view.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
web/views/error_view.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
web/views/error_view.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
defmodule JtwebmanCom.ErrorView do use JtwebmanCom.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(_t...
21.222222
47
0.704188
ff395dd9974c914f67e393aba21179e5ab2add93
72
exs
Elixir
test/views/page_view_test.exs
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
test/views/page_view_test.exs
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
test/views/page_view_test.exs
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
defmodule Scipse.PageViewTest do use Scipse.ConnCase, async: true end
18
34
0.805556
ff398c31bc7ffa44144546e4fadbfc33479e3312
10,963
ex
Elixir
lib/phoenix_live_view/test/dom.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/dom.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/dom.ex
almirsarajcic/phoenix_live_view
6cecf857494d4ec43d89be5d6cc4d4d4ff53780d
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.DOM do @moduledoc false @phx_static "data-phx-static" @phx_component "data-phx-component" @static :s @components :c def ensure_loaded! do unless Code.ensure_loaded?(Floki) do raise """ Phoenix LiveView requires Floki as a test dependency. Please add to ...
27.75443
97
0.598103
ff399031a2469d2e6b5ed139323984d9da462527
2,000
exs
Elixir
config/prod.exs
inculi/Sue
42e249aec1d9c467db63526966d9690d5c58f346
[ "MIT" ]
9
2018-03-23T11:18:21.000Z
2021-08-06T18:38:37.000Z
config/prod.exs
inculi/Sue
42e249aec1d9c467db63526966d9690d5c58f346
[ "MIT" ]
21
2017-12-01T05:57:10.000Z
2021-06-06T18:53:25.000Z
config/prod.exs
inculi/Sue
42e249aec1d9c467db63526966d9690d5c58f346
[ "MIT" ]
6
2018-03-23T11:24:21.000Z
2021-08-06T18:40:28.000Z
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.714286
66
0.713
ff3997562c1ac65e75f85b90392410bf46581b35
116
ex
Elixir
test/support/repo.ex
STUDITEMPS/jehovakel_ex_ecto
75ad8adff05f5a44062d6f338ed91c381b7be769
[ "MIT" ]
null
null
null
test/support/repo.ex
STUDITEMPS/jehovakel_ex_ecto
75ad8adff05f5a44062d6f338ed91c381b7be769
[ "MIT" ]
5
2021-09-27T02:14:02.000Z
2021-12-22T09:21:24.000Z
test/support/repo.ex
STUDITEMPS/jehovakel_ex_ecto
75ad8adff05f5a44062d6f338ed91c381b7be769
[ "MIT" ]
2
2021-06-28T06:46:14.000Z
2021-07-05T09:27:19.000Z
defmodule JehovakelExEcto.Repo do use Ecto.Repo, otp_app: :jehovakel_ex_ecto, adapter: Ecto.Adapters.Postgres end
29
77
0.818966
ff399ed61ed23b0c28a02ae7013feb0144e65946
601
exs
Elixir
code/ch10/list_and_recursion_5_6.exs
tannineo/programming_elixir_gte_1.6
25c8a3670f2f1c3559000887888e7c5fdd9deaef
[ "Unlicense" ]
null
null
null
code/ch10/list_and_recursion_5_6.exs
tannineo/programming_elixir_gte_1.6
25c8a3670f2f1c3559000887888e7c5fdd9deaef
[ "Unlicense" ]
null
null
null
code/ch10/list_and_recursion_5_6.exs
tannineo/programming_elixir_gte_1.6
25c8a3670f2f1c3559000887888e7c5fdd9deaef
[ "Unlicense" ]
null
null
null
defmodule MyEnum do # Check `h Enum.all?` def all?(list, func \\ & &1) def all?([], _func), do: true def all?([head | tail], func) do if func.(head) do all?(tail, func) else false end end # Check `h Enum.each` def each([], _func), do: :ok def each([head | tail], func) do ...
15.410256
36
0.540765
ff39a6b8e9f642b0b9fe17eb8c9a1d537d57a713
1,857
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_asset_v1_gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_asset_v1_gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_asset_v1_gcs_destination.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...
39.510638
488
0.754443
ff39db79e0d8639690129a711f1e59d7634540f7
1,127
exs
Elixir
config/config.exs
line/clova-cek-sdk-elixir-sample
abf263d9ffc6846a3fd36ca2500beb8a679485ff
[ "Apache-2.0" ]
1
2018-07-24T01:41:04.000Z
2018-07-24T01:41:04.000Z
config/config.exs
line/clova-cek-sdk-elixir-sample
abf263d9ffc6846a3fd36ca2500beb8a679485ff
[ "Apache-2.0" ]
null
null
null
config/config.exs
line/clova-cek-sdk-elixir-sample
abf263d9ffc6846a3fd36ca2500beb8a679485ff
[ "Apache-2.0" ]
1
2018-08-29T05:14:31.000Z
2018-08-29T05:14:31.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.354839
73
0.755989
ff39e5092745c55d4ca11858d40baed65539f6d5
205
ex
Elixir
lib/ifs_bq/db_connector.ex
philosodad/bridge_queue
33b2ca93a5e7d41af851e8ac1eb2a3e7ed601b2e
[ "MIT" ]
null
null
null
lib/ifs_bq/db_connector.ex
philosodad/bridge_queue
33b2ca93a5e7d41af851e8ac1eb2a3e7ed601b2e
[ "MIT" ]
null
null
null
lib/ifs_bq/db_connector.ex
philosodad/bridge_queue
33b2ca93a5e7d41af851e8ac1eb2a3e7ed601b2e
[ "MIT" ]
null
null
null
defmodule IfsBq.DbConnector do def add_message(message, shard_id) do changeset = %IfsBq.Message{message_body: message, shard_id: shard_id} {:ok, message} = IfsBq.Repo.insert(changeset) end end
29.285714
73
0.746341
ff39f87db7b5b0b983152e4a369ee216e20ae28d
264
exs
Elixir
todo/test/todo_web/views/layout_view_test.exs
mpeseke/literate-waffle
1b8da264d841d9f1d076729936b060c79f93e1aa
[ "Apache-2.0" ]
null
null
null
todo/test/todo_web/views/layout_view_test.exs
mpeseke/literate-waffle
1b8da264d841d9f1d076729936b060c79f93e1aa
[ "Apache-2.0" ]
22
2021-12-11T13:12:45.000Z
2022-01-29T14:20:03.000Z
todo/test/todo_web/views/layout_view_test.exs
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
null
null
null
defmodule TodoWeb.LayoutViewTest do use TodoWeb.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
29.333333
65
0.761364
ff3a1407ddfaac65e2ab6f3d75d02f66649d16d6
501
exs
Elixir
apps/core/priv/prm_repo/migrations/20190423084815_legal_entity_signed_contents.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/prm_repo/migrations/20190423084815_legal_entity_signed_contents.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/prm_repo/migrations/20190423084815_legal_entity_signed_contents.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.PRMRepo.Migrations.LegalEntitySignedContents do @moduledoc false use Ecto.Migration def change do create table("legal_entity_signed_contents", primary_key: false) do add(:id, :uuid, primary_key: true) add(:filename, :string) add(:legal_entity_id, references(:legal_entities, ...
27.833333
90
0.730539
ff3a1dffe111760a86fd56e050d28b4cb2b193dc
64
ex
Elixir
lib/example_web/views/session_view.ex
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
1
2020-12-18T17:23:31.000Z
2020-12-18T17:23:31.000Z
lib/example_web/views/session_view.ex
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
null
null
null
lib/example_web/views/session_view.ex
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
null
null
null
defmodule ExampleWeb.SessionView do use ExampleWeb, :view end
16
35
0.8125
ff3a25f8dd8e5ff590594722066b6c8a5396f526
1,570
ex
Elixir
clients/translate/lib/google_api/translate/v2/model/detections_resource_inner.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/model/detections_resource_inner.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/model/detections_resource_inner.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...
32.708333
113
0.751592
ff3a3366b001341ba8c7315feea6a6aa9b7e7cec
671
ex
Elixir
lib/writer_supervisor.ex
alejandrodnm/nine_digits_server
5f3bf3b25fb6af8dae60be916441f057d6aa7f8a
[ "MIT" ]
null
null
null
lib/writer_supervisor.ex
alejandrodnm/nine_digits_server
5f3bf3b25fb6af8dae60be916441f057d6aa7f8a
[ "MIT" ]
null
null
null
lib/writer_supervisor.ex
alejandrodnm/nine_digits_server
5f3bf3b25fb6af8dae60be916441f057d6aa7f8a
[ "MIT" ]
null
null
null
defmodule Writer.Supervisor do @moduledoc """ Supervises the pool of `Writer`. """ use Supervisor def start_link(opts) do Supervisor.start_link(__MODULE__, :ok, opts) end @doc """ Starts as many `Writer` proccesses as the concurrency level. The concurrency level is set in the config and defaults...
23.137931
78
0.634873
ff3a57baf13d91722f6c1ad16443ac9fefb642fa
1,096
exs
Elixir
test/integration/isolation_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
2,219
2019-04-10T01:50:19.000Z
2022-03-30T11:20:01.000Z
test/integration/isolation_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
532
2019-05-16T00:22:28.000Z
2022-03-31T19:04:02.000Z
test/integration/isolation_test.exs
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
230
2019-05-15T14:15:18.000Z
2022-03-23T22:59:43.000Z
defmodule Oban.Integration.IsolationTest do use Oban.Case use Oban.Testing, repo: Oban.Test.Repo, prefix: "private" @moduletag :integration test "inserting jobs with a custom prefix" do name = start_supervised_oban!(prefix: "private") insert!(name, %{ref: 1, action: "OK"}, []) assert_enqueued w...
29.621622
83
0.656934
ff3a5f4a78f75cec55d584bd53c25837ea146521
26,855
ex
Elixir
lib/oban.ex
xward/oban
c1623b604c341ba14932152b6efc1e481413e7b7
[ "Apache-2.0" ]
null
null
null
lib/oban.ex
xward/oban
c1623b604c341ba14932152b6efc1e481413e7b7
[ "Apache-2.0" ]
13
2021-11-17T11:18:04.000Z
2022-03-23T12:18:18.000Z
lib/oban.ex
xward/oban
c1623b604c341ba14932152b6efc1e481413e7b7
[ "Apache-2.0" ]
null
null
null
defmodule Oban do @external_resource readme = Path.join([__DIR__, "../README.md"]) @moduledoc readme |> File.read!() |> String.split("<!-- MDOC -->") |> Enum.fetch!(1) @moduledoc since: "0.1.0" use Supervisor alias Ecto.{Changeset, Multi} alias Oban.{Config, Job, M...
31.81872
101
0.664085
ff3a6a45b652a83acc24a29a96196f6a4844287a
1,666
ex
Elixir
lib/util/tmpdir.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
lib/util/tmpdir.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
lib/util/tmpdir.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.Tmpdir do alias Antikythera.Context alias Antikythera.ExecutorPool.Id, as: EPoolId alias AntikytheraCore.TmpdirTracker @doc """ Creates a temporary directory which can be used as a working space for the passed fu...
34.708333
113
0.714286
ff3a7f4d54a4df99ee8cf408ac8652092f7ce275
63
ex
Elixir
lib/plenario_web/views/page_view.ex
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
13
2017-12-11T13:59:42.000Z
2020-11-16T21:52:31.000Z
lib/plenario_web/views/page_view.ex
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
310
2017-11-13T22:52:26.000Z
2018-11-19T17:49:30.000Z
lib/plenario_web/views/page_view.ex
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
3
2017-12-05T00:36:12.000Z
2020-03-10T15:15:29.000Z
defmodule PlenarioWeb.PageView do use PlenarioWeb, :view end
15.75
33
0.809524
ff3a840fa96db593cc8463d9371e6832ad122946
948
exs
Elixir
config/config.exs
thatbraxguy/real-time-quill
288df903ddada42695c68fd0674e5976a4a848a9
[ "MIT" ]
null
null
null
config/config.exs
thatbraxguy/real-time-quill
288df903ddada42695c68fd0674e5976a4a848a9
[ "MIT" ]
null
null
null
config/config.exs
thatbraxguy/real-time-quill
288df903ddada42695c68fd0674e5976a4a848a9
[ "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. use Mix.Config # General application configuration config :quickquill, ecto_repos: [Quickquill.Rep...
33.857143
86
0.766878
ff3a85a58e6ebc66cc1b6051bf805231a130d49a
627
ex
Elixir
app/community/lib/community_web/resolvers/news_resolver.ex
juhalehtonen/graphql-playground
b2515835c6a2de5db59d4c2ca605e0e9028b801b
[ "MIT" ]
null
null
null
app/community/lib/community_web/resolvers/news_resolver.ex
juhalehtonen/graphql-playground
b2515835c6a2de5db59d4c2ca605e0e9028b801b
[ "MIT" ]
null
null
null
app/community/lib/community_web/resolvers/news_resolver.ex
juhalehtonen/graphql-playground
b2515835c6a2de5db59d4c2ca605e0e9028b801b
[ "MIT" ]
null
null
null
defmodule CommunityWeb.NewsResolver do alias Community.News @moduledoc """ This is a RESOLVER, which are just functions mapped to GraphQL fields, with their actual behaviour. """ @doc """ Return all links. """ def all_links(_root, _args, _info) do links = News.list_links() {:ok, links} end...
20.225806
77
0.631579
ff3acc2a97acc480c84cc71bd9cfb4b36ea2174f
373
exs
Elixir
priv/repo/migrations/20180712102348_create_repos_tags_join_table.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20180712102348_create_repos_tags_join_table.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20180712102348_create_repos_tags_join_table.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.CreateReposTagsJoinTable do use Ecto.Migration def change do create table(:repos_tags) do add(:tag_id, references(:tags, on_delete: :delete_all), null: false) add(:repo_id, references(:cms_repos, on_delete: :delete_all), null: false) end create(uniqu...
28.692308
80
0.723861
ff3aec72d49038de32c92d53163625b53cd7d9a0
357
ex
Elixir
lib/rill/try.ex
Carburetor/rill
6ba477373cff28f56fbead9a316166d994da67d3
[ "MIT" ]
1
2022-01-26T15:06:14.000Z
2022-01-26T15:06:14.000Z
lib/rill/try.ex
rill-project/rill
16d35f9dda1ec58190fa6bda9923372834ab456b
[ "MIT" ]
null
null
null
lib/rill/try.ex
rill-project/rill
16d35f9dda1ec58190fa6bda9923372834ab456b
[ "MIT" ]
null
null
null
defmodule Rill.Try do defmacro try(error, do: block) do quote do try do unquote(block) rescue unquote(error) -> nil end end end defmacro try_version(do: block) do quote do try do unquote(block) rescue Rill.MessageStore.ExpectedVersion.Erro...
16.227273
54
0.577031
ff3b13e058efdeeaed56d076d967e37e54cc51d3
3,618
ex
Elixir
apps/vax/lib/vax/adapter/helpers.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
8
2022-03-14T15:33:08.000Z
2022-03-30T22:06:04.000Z
apps/vax/lib/vax/adapter/helpers.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
9
2022-03-15T15:48:28.000Z
2022-03-21T23:11:34.000Z
apps/vax/lib/vax/adapter/helpers.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
null
null
null
defmodule Vax.Adapter.Helpers do @moduledoc false # TODO: split by purpose (?) @spec schema_primary_key!(schema :: atom()) :: atom() def schema_primary_key!(schema) do case schema.__schema__(:primary_key) do [primary_key] -> primary_key [] -> raise "Vax requires all schemas to ...
32.017699
113
0.655334
ff3b1fce6e240b962afc84443dbdc55355822e16
622
ex
Elixir
deps/postgrex/lib/postgrex/extensions/int4.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/extensions/int4.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/extensions/int4.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Postgrex.Extensions.Int4 do @moduledoc false import Postgrex.BinaryUtils, warn: false use Postgrex.BinaryExtension, send: "int4send" @int4_range -2147483648..2147483647 def encode(_) do range = Macro.escape(@int4_range) quote location: :keep do int when is_integer(int) and ...
25.916667
89
0.636656
ff3b206a82c8276ba67d7d2ce0ecdd0c00e57522
203
ex
Elixir
events/apps/daniel_api/lib/daniel_api.ex
MrCeleryman/elixirtute
797e3cb29a68a54728258329b49ac4ae0787cc76
[ "MIT" ]
null
null
null
events/apps/daniel_api/lib/daniel_api.ex
MrCeleryman/elixirtute
797e3cb29a68a54728258329b49ac4ae0787cc76
[ "MIT" ]
null
null
null
events/apps/daniel_api/lib/daniel_api.ex
MrCeleryman/elixirtute
797e3cb29a68a54728258329b49ac4ae0787cc76
[ "MIT" ]
null
null
null
defmodule DanielApi do @moduledoc """ Documentation for DanielApi. """ @doc """ Hello world. ## Examples iex> DanielApi.hello :world """ def hello do :world end end
10.684211
30
0.581281
ff3b37994a5c965c20b78b379b811585b270e20a
1,530
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/import_file.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/import_file.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/import_file.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
30
79
0.729412
ff3b4824f1c454d847625a2e7c9612f95266e9c5
211
exs
Elixir
timetable_backend/test/controllers/page_controller_test.exs
heru/timetable
b5f86f53020c6e32b569628c5396b8972ca0538f
[ "MIT" ]
null
null
null
timetable_backend/test/controllers/page_controller_test.exs
heru/timetable
b5f86f53020c6e32b569628c5396b8972ca0538f
[ "MIT" ]
null
null
null
timetable_backend/test/controllers/page_controller_test.exs
heru/timetable
b5f86f53020c6e32b569628c5396b8972ca0538f
[ "MIT" ]
null
null
null
defmodule TimetableBackend.PageControllerTest do use TimetableBackend.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23.444444
60
0.701422
ff3b4af44fb9429af5dcbacfb1638ce090971d11
606
ex
Elixir
lib/bitcoin/node/network/supervisor.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/supervisor.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/node/network/supervisor.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.Node.Network.Supervisor do use Bitcoin.Common use Supervisor require Logger def start_link do Supervisor.start_link(__MODULE__, name: __MODULE__) end def init(_) do Logger.info("Starting Node subsystems") [ @modules[:addr], @modules[:discovery], @modules[:...
23.307692
109
0.671617
ff3b536e415946498e965625bd50f98f743e0c8c
380
ex
Elixir
test_server/web/views/error_view.ex
xaptum-eng/phoenix-channel-client
6adcfe3cd18c867bbf9c6a7aa6a3ceb5e0b77495
[ "MIT" ]
2
2020-10-22T14:54:39.000Z
2020-11-04T21:52:06.000Z
test_server/web/views/error_view.ex
xaptum-eng/phoenix-channel-client
6adcfe3cd18c867bbf9c6a7aa6a3ceb5e0b77495
[ "MIT" ]
null
null
null
test_server/web/views/error_view.ex
xaptum-eng/phoenix-channel-client
6adcfe3cd18c867bbf9c6a7aa6a3ceb5e0b77495
[ "MIT" ]
null
null
null
defmodule TestServer.ErrorView do use TestServer.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_tem...
21.111111
47
0.702632
ff3b56090aa9d33279a87e99a6473bc77051da46
7,765
ex
Elixir
lib/ex_twiml.ex
postmates/ex_twiml
9e2306723a206c5d1353977321901aad4715d63d
[ "MIT" ]
null
null
null
lib/ex_twiml.ex
postmates/ex_twiml
9e2306723a206c5d1353977321901aad4715d63d
[ "MIT" ]
null
null
null
lib/ex_twiml.ex
postmates/ex_twiml
9e2306723a206c5d1353977321901aad4715d63d
[ "MIT" ]
2
2017-07-22T02:31:04.000Z
2019-07-16T22:15:56.000Z
defmodule ExTwiml do @moduledoc """ Contains macros to make generating TwiML from Elixir far easier and more efficient. Just `import ExTwiml` and go! ## Examples How to generate nested verbs, such as `<Gather>`: # Options are passed before "do" gather digits: 1, finish_on_key: "#" do # ...
28.759259
97
0.62962
ff3b735026d99cd7fb1a1f141a3373da9459c2a3
3,667
ex
Elixir
lib/mix/ast_ndjson.ex
Ajwah/ex-gherkin
401ee551312b72aa059c7f4621f014b111049acf
[ "Apache-2.0" ]
8
2020-07-27T09:11:24.000Z
2020-09-21T20:57:45.000Z
lib/mix/ast_ndjson.ex
Ajwah/ex-gherkin
401ee551312b72aa059c7f4621f014b111049acf
[ "Apache-2.0" ]
1
2021-05-14T13:30:27.000Z
2021-05-14T13:30:27.000Z
lib/mix/ast_ndjson.ex
Ajwah/ex-gherkin
401ee551312b72aa059c7f4621f014b111049acf
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.AstNdjson do @moduledoc """ Parse feature file to .ast.ndjson format """ use Mix.Task @shortdoc "Parse feature file to .ast.ndjson format" def run(args) do path = validate_preconditions_fulfilled(args) "#{path}/*.feature" |> Path.wildcard() |> Enum.each(fn path -> ...
29.813008
194
0.578402
ff3b78a144bbd38888db2a947d9712e74ac2c81a
4,000
ex
Elixir
services/interop-proxy/lib/interop_proxy/message.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
null
null
null
services/interop-proxy/lib/interop_proxy/message.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
null
null
null
services/interop-proxy/lib/interop_proxy/message.ex
RemusW/orchestra
688c0d2a25d8f73c9c5a6e27d4fe4b2460c2c198
[ "MIT" ]
null
null
null
defmodule InteropProxy.Message do @moduledoc """ Contains the Protobuf messages from exprotobuf. """ @external_resource "lib/messages/interop.proto" use Protobuf, from: Path.expand("../messages/interop.proto", __DIR__), use_package_names: true @doc ~S""" Takes a map and turns it into a Protobuf...
29.19708
78
0.59925
ff3ba3ea5353eadc5d8a49644d151e645112c55f
4,284
exs
Elixir
test/nx/defn/evaluator_test.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
null
null
null
test/nx/defn/evaluator_test.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
null
null
null
test/nx/defn/evaluator_test.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
1
2022-03-26T12:13:19.000Z
2022-03-26T12:13:19.000Z
defmodule Nx.Defn.EvaluatorTest do use ExUnit.Case, async: true alias Nx.Tensor, as: T import Nx.Defn @defn_compiler Nx.Defn.Evaluator defn add(a, b), do: {a + b, a - b} # Check the attribute has been reset nil = Module.get_attribute(__MODULE__, :defn_compiler) test "can be set explicitly set" do ...
31.043478
97
0.527077
ff3ba7e9105fac7cbbd9466afbb4b5938223fcdb
518
exs
Elixir
bench/witchcraft/monoid/bitstring_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
454
2019-06-05T22:56:45.000Z
2022-03-27T23:03:02.000Z
bench/witchcraft/monoid/bitstring_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
26
2019-07-08T09:29:08.000Z
2022-02-04T02:40:48.000Z
bench/witchcraft/monoid/bitstring_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
36
2019-06-25T17:45:27.000Z
2022-03-21T01:53:42.000Z
defmodule Witchcraft.Monoid.BitStringBench do use Benchfella use Witchcraft.Monoid ######### # Setup # ######### # ---------- # # Data Types # # ---------- # @string "hello" ########## # Monoid # ########## bench "empty/1", do: empty(@string) bench "empty?/1", do: empty?(@string) # ...
16.1875
56
0.478764
ff3bc8c46b29104fcf05efb04caac6669cd2576f
6,479
exs
Elixir
test/appsignal/utils/data_encoder_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
test/appsignal/utils/data_encoder_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
test/appsignal/utils/data_encoder_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
defmodule DataEncoderExampleStruct do defstruct foo: "bar" end defmodule Appsignal.Utils.DataEncoderTest do use ExUnit.Case @moduletag :skip_env_test_no_nif alias Appsignal.{Utils.DataEncoder, Nif} test "encode an empty map" do resource = DataEncoder.encode(%{}) assert {:ok, '{}'} == Nif.data_to_js...
35.404372
97
0.643155
ff3bcb357287b345c57a18527effb9e1723c73ee
101
exs
Elixir
test/web_crawler_test.exs
NAndreasson/web_crawler
1d70622c86d388834a5ece8325c53be638b47be7
[ "MIT" ]
2
2015-06-24T15:33:30.000Z
2016-09-26T16:20:16.000Z
test/web_crawler_test.exs
NAndreasson/web_crawler
1d70622c86d388834a5ece8325c53be638b47be7
[ "MIT" ]
null
null
null
test/web_crawler_test.exs
NAndreasson/web_crawler
1d70622c86d388834a5ece8325c53be638b47be7
[ "MIT" ]
null
null
null
defmodule WebCrawlerTest do use ExUnit.Case test "the truth" do assert 1 + 1 == 2 end end
12.625
27
0.663366
ff3bcfe42db5312daa082d448d6d93353871c3da
347
ex
Elixir
lib/ex_doc/formatter/html/assets.ex
MattLangley/ex_doc
971b6b6023af0b5229a9cdd705877fda5491430e
[ "Apache-2.0", "CC-BY-4.0" ]
1
2020-04-02T13:22:58.000Z
2020-04-02T13:22:58.000Z
lib/ex_doc/formatter/html/assets.ex
sadiqmmm/ex_doc
4bb9a6f25dd2e522122daa48829a3d455e7f766a
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/formatter/html/assets.ex
sadiqmmm/ex_doc
4bb9a6f25dd2e522122daa48829a3d455e7f766a
[ "Apache-2.0", "CC-BY-4.0" ]
1
2020-05-11T16:54:10.000Z
2020-05-11T16:54:10.000Z
defmodule ExDoc.Formatter.HTML.Assets do @moduledoc false defmacrop embed_pattern(pattern) do ["formatters/html", pattern] |> Path.join() |> Path.wildcard() |> Enum.map(&{Path.basename(&1), File.read!(&1)}) end def dist do embed_pattern("dist/*.{css,js}") end def fonts do embed_pa...
18.263158
53
0.636888
ff3c0619bd8f197f525a43724fccdb2c47bb7412
1,912
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/list_org_policies_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/list_org_policies_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/list_org_policies_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.490196
202
0.752615
ff3c07300b34b7bcc8e90fd9a4200170cd19c56a
601
ex
Elixir
lib/sobelow/traversal/send_file.ex
kianmeng/sobelow
40c5f12ed6801c1f9cca13201f7f6ff31c8a7660
[ "Apache-2.0" ]
null
null
null
lib/sobelow/traversal/send_file.ex
kianmeng/sobelow
40c5f12ed6801c1f9cca13201f7f6ff31c8a7660
[ "Apache-2.0" ]
null
null
null
lib/sobelow/traversal/send_file.ex
kianmeng/sobelow
40c5f12ed6801c1f9cca13201f7f6ff31c8a7660
[ "Apache-2.0" ]
null
null
null
defmodule Sobelow.Traversal.SendFile do use Sobelow.Finding @finding_type "Traversal.SendFile: Directory Traversal in `send_file`" def run(fun, meta_file) do confidence = if !meta_file.is_controller?, do: :low Finding.init(@finding_type, meta_file.filename, confidence) |> Finding.multi_from_def(fun,...
27.318182
72
0.710483
ff3c476ce4d27ccec4f9a8c95c6c05ba8ae28874
2,373
ex
Elixir
clients/elixir/generated/lib/cloud_manager_api/model/pipeline_execution_step_state__links.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
3
2020-06-23T05:31:52.000Z
2020-11-26T05:34:57.000Z
clients/elixir/generated/lib/cloud_manager_api/model/pipeline_execution_step_state__links.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
2
2021-01-21T01:19:54.000Z
2021-12-09T22:30:22.000Z
clients/elixir/generated/lib/cloud_manager_api/model/pipeline_execution_step_state__links.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
1
2020-11-18T11:48:13.000Z
2020-11-18T11:48:13.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule CloudManagerAPI.Model.PipelineExecutionStepStateLinks do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"http://ns.adobe.com...
48.428571
123
0.711336
ff3c4e7df4016862aef419e3956174b59bdc2704
302
ex
Elixir
lib/geo/multi_line_string.ex
ilyashuma/geo
92c276a784237affd194b9dd0e3428bdc39ce4f8
[ "MIT" ]
555
2015-01-19T18:56:37.000Z
2022-03-17T21:22:16.000Z
lib/geo/multi_line_string.ex
ilyashuma/geo
92c276a784237affd194b9dd0e3428bdc39ce4f8
[ "MIT" ]
130
2015-02-12T16:48:54.000Z
2021-12-15T17:54:18.000Z
lib/geo/multi_line_string.ex
ilyashuma/geo
92c276a784237affd194b9dd0e3428bdc39ce4f8
[ "MIT" ]
100
2015-04-21T17:55:47.000Z
2022-01-25T21:03:10.000Z
defmodule Geo.MultiLineString do @moduledoc """ Defines the MultiLineString struct. """ @type t :: %Geo.MultiLineString{ coordinates: [[{number, number}]], srid: integer | nil, properties: map } defstruct coordinates: [], srid: nil, properties: %{} end
23.230769
55
0.602649
ff3c639ce54dea790657df0a6c4693511c110d05
2,892
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/duplicate_object_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/duplicate_object_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/duplicate_object_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.732394
127
0.726141
ff3c74b2092452b7dd28b8c656647615edcbf166
711
ex
Elixir
lib/slip_limiter.ex
chwevans/slip
506eeedee8a5378bea62f11f65ce093febf77864
[ "0BSD" ]
null
null
null
lib/slip_limiter.ex
chwevans/slip
506eeedee8a5378bea62f11f65ce093febf77864
[ "0BSD" ]
null
null
null
lib/slip_limiter.ex
chwevans/slip
506eeedee8a5378bea62f11f65ce093febf77864
[ "0BSD" ]
null
null
null
defmodule Slip.Limiter do use GenServer require Lager @name __MODULE__ def start_link, do: :gen_server.start_link({:local, @name}, __MODULE__, [], []) def init(_args) do tid = :ets.new(@name, []) {:ok, tid} end def state(), do: :gen_server.call(@name, :state) def handle_call(:state, _from, t...
21.545455
81
0.589311
ff3c752b5481dd0844684135e232b07a24f9b8e2
1,768
ex
Elixir
test/event/support/error/error_event_handler.ex
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
test/event/support/error/error_event_handler.ex
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
test/event/support/error/error_event_handler.ex
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
defmodule Commanded.Event.ErrorEventHandler do @moduledoc false use Commanded.Event.Handler, name: __MODULE__ alias Commanded.Event.FailureContext alias Commanded.Event.ErrorAggregate.Events.ErrorEvent def handle(%ErrorEvent{}, _metadata) do # simulate event handling failure {:error, :failed} end...
27.2
101
0.674208
ff3c8840e9bdb60e69ffd6105645eb6a7a140358
510
ex
Elixir
lib/vutuv_web/views/api/post_view.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
lib/vutuv_web/views/api/post_view.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
lib/vutuv_web/views/api/post_view.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule VutuvWeb.Api.PostView do use VutuvWeb, :view alias VutuvWeb.Api.PostView def render("index.json", %{posts: posts}) do %{data: render_many(posts, PostView, "post.json")} end def render("show.json", %{post: post}) do %{data: render_one(post, PostView, "post.json")} end def render("post....
22.173913
54
0.633333
ff3cc7d4225e5c0f226dfd2040f41ea4a97ffa57
839
ex
Elixir
lib/benchee/formatters/csv/raw.ex
PragTob/benchee_csv
475b17647e7679cdea4b0ca39879b179cbfbc0cc
[ "MIT" ]
9
2016-06-06T12:03:02.000Z
2018-08-31T13:33:21.000Z
lib/benchee/formatters/csv/raw.ex
bencheeorg/benchee_csv
475b17647e7679cdea4b0ca39879b179cbfbc0cc
[ "MIT" ]
23
2017-02-25T15:04:47.000Z
2019-03-17T20:01:39.000Z
lib/benchee/formatters/csv/raw.ex
bencheeorg/benchee_csv
475b17647e7679cdea4b0ca39879b179cbfbc0cc
[ "MIT" ]
3
2016-07-15T05:40:44.000Z
2017-09-13T16:48:43.000Z
defmodule Benchee.Formatters.CSV.Raw do @moduledoc """ Functionality for converting Benchee scenarios to raw csv. """ alias Benchee.Scenario @doc false def add_headers(measurements, scenarios) do headers = Enum.flat_map(scenarios, fn scenario -> [ "#{scenario.name}#{input_part(...
28.931034
96
0.68534
ff3ccfdabc46db0c693192e13ae5c2e7a2d337ef
936
ex
Elixir
apps/nerves_hub_device/lib/nerves_hub_device_web/plugs/device.ex
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_device/lib/nerves_hub_device_web/plugs/device.ex
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_device/lib/nerves_hub_device_web/plugs/device.ex
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubDeviceWeb.Plugs.Device do import Plug.Conn alias NervesHubWebCore.Devices alias NervesHubWebCore.Firmwares def init(opts) do opts end def call(conn, _opts) do peer_data = Plug.Conn.get_peer_data(conn) with {:ok, cert} <- Map.fetch(peer_data, :ssl_cert), {:ok, cert...
30.193548
77
0.643162
ff3ced686370df699690ac8c2508b77cefbda139
958
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20171012113733_create_minted_token_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/priv/repo/migrations/20171012113733_create_minted_token_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20171012113733_create_minted_token_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.Repo.Migrations.CreateMintedTokenTable do use Ecto.Migration def change do create table(:minted_token, primary_key: false) do add :id, :uuid, primary_key: true add :symbol, :string, null: false add :iso_code, :string add :name, :string, null: false add :descrip...
31.933333
61
0.681628
ff3d06eaea02250f31eebe6212ecb2ddea61474f
194
exs
Elixir
apps/alert_processor/priv/repo/migrations/20180827190044_add_sms_opted_out_at_to_user.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/alert_processor/priv/repo/migrations/20180827190044_add_sms_opted_out_at_to_user.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/alert_processor/priv/repo/migrations/20180827190044_add_sms_opted_out_at_to_user.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule AlertProcessor.Repo.Migrations.AddSmsOptedOutAtToUser do use Ecto.Migration def change do alter table(:users) do add(:sms_opted_out_at, :utc_datetime) end end end
19.4
66
0.747423
ff3d09a2bd787301c1ecfcbe9bed106742ababc4
11,338
ex
Elixir
lib/expo/po/parser.ex
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
2
2022-03-31T21:12:35.000Z
2022-03-31T21:44:59.000Z
lib/expo/po/parser.ex
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
13
2022-03-30T17:41:25.000Z
2022-03-31T23:35:49.000Z
lib/expo/po/parser.ex
jshmrtn/expo
98459ed26833c1b05348bb80a66e78fc6d2e488d
[ "Apache-2.0" ]
null
null
null
# credo:disable-for-this-file Credo.Check.Refactor.PipeChainStart defmodule Expo.Po.Parser do @moduledoc false import NimbleParsec alias Expo.Po alias Expo.Translation alias Expo.Translations alias Expo.Util @bom <<0xEF, 0xBB, 0xBF>> newline = ascii_char([?\n]) |> label("newline") |> ignore() opt...
30.234667
97
0.635297
ff3d0b039931c0374fbb02e28256c818a7030efa
379
ex
Elixir
lib/mathmatical/questions/question.ex
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "Apache-2.0" ]
null
null
null
lib/mathmatical/questions/question.ex
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "Apache-2.0" ]
null
null
null
lib/mathmatical/questions/question.ex
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "Apache-2.0" ]
null
null
null
defmodule Mathmatical.Questions.Question do use Ecto.Schema import Ecto.Changeset schema "questions" do field :answer, :string field :question, :string field :subject_id, :id timestamps() end @doc false def changeset(question, attrs) do question |> cast(attrs, [:question, :answer]...
18.95
46
0.6781
ff3d1f66c0f6db06af548eb7d3484b4e51bc5a44
6,243
exs
Elixir
apps/train_loc/test/train_loc/vehicles/vehicle_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2022-01-30T20:53:07.000Z
2022-01-30T20:53:07.000Z
apps/train_loc/test/train_loc/vehicles/vehicle_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
47
2021-05-05T10:31:05.000Z
2022-03-30T22:18:14.000Z
apps/train_loc/test/train_loc/vehicles/vehicle_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2021-05-14T00:35:08.000Z
2021-05-14T00:35:08.000Z
defmodule TrainLoc.Vehicles.VehicleTest do use ExUnit.Case, async: true use Timex import TrainLoc.Utilities.ConfigHelpers import ExUnit.CaptureLog alias TrainLoc.Vehicles.Vehicle @time_format config(:time_format) @valid_vehicle_json %{ "Heading" => 48, "Latitude" => 42.28179, "Longitude" => ...
25.904564
72
0.474451
ff3d43e19d73d85d97594bc8af0c208457b2af31
1,889
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_operation_metadata.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_operation_metadata.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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_v1p1beta1_operation_metadata.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...
35.641509
114
0.731075
ff3d4e4640617f9fb35ecae5fa91dcaa126d49af
3,714
exs
Elixir
test/appsignal/demo_test.exs
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
234
2016-08-18T20:43:15.000Z
2022-02-27T11:31:48.000Z
test/appsignal/demo_test.exs
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
563
2016-07-25T17:45:14.000Z
2022-03-21T11:39:29.000Z
test/appsignal/demo_test.exs
MeterSoft/appsignal-elixir
52e3505b9dc90bce0795c4753a758d40bdf41463
[ "MIT" ]
86
2016-09-13T22:53:46.000Z
2022-02-16T11:03:51.000Z
defmodule Appsignal.DemoTest do use ExUnit.Case alias Appsignal.{Demo, Span, Test} setup do start_supervised(Test.Nif) start_supervised(Test.Tracer) start_supervised(Test.Span) start_supervised(Test.Monitor) :ok end describe "send_performance_sample/0" do setup do Demo.send_pe...
27.109489
84
0.554658
ff3d6482536d44e4eb30347977d6ac5eb593ca17
4,596
ex
Elixir
lib/phoenix/naming.ex
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
lib/phoenix/naming.ex
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
lib/phoenix/naming.ex
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
defmodule Phoenix.Naming do @moduledoc """ Conveniences for inflecting and working with names in Phoenix. """ @doc """ Extracts the resource name from an alias. ## Examples iex> Phoenix.Naming.resource_name(MyApp.User) "user" iex> Phoenix.Naming.resource_name(MyApp.UserView, "View") ...
22.529412
89
0.611184
ff3d6a31434088aecae4effe5cc03efe260913fd
2,256
ex
Elixir
lib/potionx/repo.ex
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
null
null
null
lib/potionx/repo.ex
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
null
null
null
lib/potionx/repo.ex
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
null
null
null
defmodule Potionx.Repo do @tenant_key_org {:potionx, :organization_id} @tenant_key_user {:potionx, :user_id} use TypedStruct defmodule Pagination do typedstruct do field :after, :string field :before, :string field :first, :integer field :last, :integer end end defmacro __u...
28.556962
84
0.542996
ff3daa32cacffb41ee8dfc8fe9616abac7c5ec7d
244
ex
Elixir
lib/ex_bybit/credentials.ex
fremantle-industries/ex_bybit
5bb6b751695ee6b3952645ae7cac00630b350a86
[ "MIT" ]
1
2020-09-20T10:53:56.000Z
2020-09-20T10:53:56.000Z
lib/ex_bybit/credentials.ex
fremantle-capital/ex_bybit
2cc41f796232cd228c21a49fbfd8116a1ad7d7d5
[ "MIT" ]
7
2021-07-28T21:57:50.000Z
2021-07-28T22:12:19.000Z
lib/ex_bybit/credentials.ex
fremantle-capital/ex_bybit
2cc41f796232cd228c21a49fbfd8116a1ad7d7d5
[ "MIT" ]
null
null
null
defmodule ExBybit.Credentials do @type api_key :: String.t() @type api_secret :: String.t() @type t :: %__MODULE__{api_key: api_key, api_secret: api_secret} @enforce_keys ~w[api_key api_secret]a defstruct ~w[api_key api_secret]a end
27.111111
66
0.733607
ff3dbfd8ddc76b7c5a82533c232e9c36b90d658f
3,135
ex
Elixir
server/apps/boardr_api/lib/boardr_api/router.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2021-04-08T17:26:27.000Z
2021-04-08T17:26:27.000Z
server/apps/boardr_api/lib/boardr_api/router.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2022-02-13T05:50:46.000Z
2022-02-13T05:50:46.000Z
server/apps/boardr_api/lib/boardr_api/router.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
null
null
null
defmodule BoardrApi.Router do use BoardrApi, :router use Plug.ErrorHandler pipeline :api do plug :accepts, ["json"] plug :require_json end scope "/api", BoardrApi do pipe_through :api get "/", ApiRootController, :index get "/stats", StatsController, :show scope "/auth" do pos...
36.882353
189
0.646252
ff3dca281595b3ea9acd31709d94e68c75991e48
5,283
exs
Elixir
mix.exs
prakriti07/reactive-interaction-gateway
c9d33064982b5ae12e9af7a300e90b3e7973d0b3
[ "Apache-2.0" ]
null
null
null
mix.exs
prakriti07/reactive-interaction-gateway
c9d33064982b5ae12e9af7a300e90b3e7973d0b3
[ "Apache-2.0" ]
null
null
null
mix.exs
prakriti07/reactive-interaction-gateway
c9d33064982b5ae12e9af7a300e90b3e7973d0b3
[ "Apache-2.0" ]
1
2020-07-17T05:17:32.000Z
2020-07-17T05:17:32.000Z
defmodule RIG.MixProject do @moduledoc false use Mix.Project @description """ RIG, the Reactive Interaction Gateway, provides an easy (and scaleable) way to push messages from backend services to connected frontends (and vice versa). """ def project do %{rig: rig_version, elixir: elixir_version} = v...
30.715116
94
0.566913
ff3dcacea604d02fac7b71b01065f4c418433faf
892
exs
Elixir
lib/logger/test/test_helper.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/logger/test/test_helper.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/logger/test/test_helper.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
Logger.configure_backend(:console, colors: [enabled: false]) ExUnit.start() defmodule Logger.Case do use ExUnit.CaseTemplate import ExUnit.CaptureIO using _ do quote do import Logger.Case end end def msg(msg) do ~r/\d\d\:\d\d\:\d\d\.\d\d\d #{Regex.escape(msg)}/ end def wait_for_handl...
18.583333
60
0.625561
ff3dcf6bc024dac6cf9064e2e926fdacfef151f5
9,488
exs
Elixir
test/controllers/json/user_controller_test.exs
pauldub/sentinel
3230e92b68fa76e9a1f6c577bc1c271900e07c72
[ "MIT" ]
125
2016-01-29T11:46:20.000Z
2021-06-08T09:25:38.000Z
test/controllers/json/user_controller_test.exs
pauldub/sentinel
3230e92b68fa76e9a1f6c577bc1c271900e07c72
[ "MIT" ]
54
2016-02-18T01:11:58.000Z
2017-10-19T11:25:26.000Z
test/controllers/json/user_controller_test.exs
britton-jb/sentinel
3230e92b68fa76e9a1f6c577bc1c271900e07c72
[ "MIT" ]
29
2016-02-20T12:59:16.000Z
2018-04-11T14:29:41.000Z
defmodule Json.UserControllerTest do use Sentinel.ConnCase alias Mix.Config alias Sentinel.Changeset.AccountUpdater alias Sentinel.Changeset.Confirmator alias Sentinel.Changeset.PasswordResetter alias Sentinel.Changeset.Registrator @password "secret" setup do on_exit fn -> Application.delet...
35.939394
223
0.679701
ff3e001681be6b68974cbf87686040313eb439cd
5,030
ex
Elixir
clients/composer/lib/google_api/composer/v1/model/software_config.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/software_config.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/software_config.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
85.254237
1,090
0.743936
ff3e0f73b514907a83313d0d93fefbdafb673f03
540
ex
Elixir
apps/rig/lib/mix/tasks/smoke_tests.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
apps/rig/lib/mix/tasks/smoke_tests.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
apps/rig/lib/mix/tasks/smoke_tests.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule Mix.Tasks.SmokeTest do @moduledoc """ Runs the smoke test. """ use Mix.Task require Logger @shortdoc "Runs the smoke test." def run(_) do Application.ensure_all_started(:porcelain) prog = "docker-compose" args = [ "-f", "smoke_tests.docker-compose.yml", "up", ...
18.62069
76
0.605556
ff3e39c7dd3275e1a7752dd566168ce3671fd206
1,928
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/patch_service_account_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/iam/lib/google_api/iam/v1/model/patch_service_account_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/iam/lib/google_api/iam/v1/model/patch_service_account_request.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...
38.56
322
0.741183
ff3e5697aab639f6cc12b3945ff1cd1660c6af77
468
ex
Elixir
lib/mail_slurp_api/model/unread_count.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/unread_count.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/unread_count.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Model.UnreadCount do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"count" ] @type t :: %__MODULE__{ ...
18
91
0.683761
ff3e5cdd19caedae303fafa2a34eaef8884e2e84
974
ex
Elixir
test/support/channel_case.ex
robvandenbogaard/elm-blogger
53ba88e125c9ddf90a5e5e5a0b68914bf6d81003
[ "BSD-3-Clause" ]
19
2017-02-26T10:18:00.000Z
2022-01-18T18:21:28.000Z
test/support/channel_case.ex
robvandenbogaard/elm-blogger
53ba88e125c9ddf90a5e5e5a0b68914bf6d81003
[ "BSD-3-Clause" ]
1
2017-10-29T22:37:47.000Z
2017-10-29T22:37:47.000Z
test/support/channel_case.ex
robvandenbogaard/elm-blogger
53ba88e125c9ddf90a5e5e5a0b68914bf6d81003
[ "BSD-3-Clause" ]
4
2017-08-07T23:33:01.000Z
2020-02-27T12:36:25.000Z
defmodule ElmBlogger.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot ...
23.190476
69
0.704312
ff3e7a321d9eb44aa5aaaed7916b98b69964f6b0
1,804
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.382979
320
0.759978
ff3e84b17e311d9176c6c907da868c60d8f8d390
1,065
ex
Elixir
projects/standup/lib/standup_web/channels/user_socket.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2020-02-11T06:00:11.000Z
2020-02-11T06:00:11.000Z
projects/standup/lib/standup_web/channels/user_socket.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2017-09-23T19:41:29.000Z
2017-09-25T05:12:38.000Z
projects/standup/lib/standup_web/channels/user_socket.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
null
null
null
defmodule StandupWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", StandupWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channe...
31.323529
83
0.696714
ff3e84d77bdd399aeea632aa8a29ed11142700e5
1,585
ex
Elixir
2017-06-23/pattern-matching/pattern_matching.ex
yfractal/shenzhen-meetup
65ff0a7ab4d74748d5caa5c71a4179790634b266
[ "MIT" ]
19
2017-06-22T08:06:04.000Z
2019-10-28T02:36:20.000Z
2017-06-23/pattern-matching/pattern_matching.ex
caicaishmily/shenzhen-meetup
59dabe90f30b8b20ea37c77c84791ffb0ab6757b
[ "MIT" ]
null
null
null
2017-06-23/pattern-matching/pattern_matching.ex
caicaishmily/shenzhen-meetup
59dabe90f30b8b20ea37c77c84791ffb0ab6757b
[ "MIT" ]
6
2019-08-02T06:09:24.000Z
2020-12-30T09:04:31.000Z
# (MatchError) no match of right hand side value # 左边尽可能地跟右边匹配上 # # destruct complex data # a = 1 1 = a # only rebinding value on the left hand side of `=` sign 2 = a # the pin operator ^ is used to access the previously bound values b = 3 ^b = 4 # what if you do 1 = c # # pattern matching on list, tuple # ...
16.510417
102
0.632808
ff3eba52636b74cf17393e8a298a2e29aa717d21
982
ex
Elixir
lib/alpha_vantage.ex
Cameron-Kurth/elixir-alpha_vantage
b1c489211090b98726db536bdea4ddd20eee8bc5
[ "MIT" ]
null
null
null
lib/alpha_vantage.ex
Cameron-Kurth/elixir-alpha_vantage
b1c489211090b98726db536bdea4ddd20eee8bc5
[ "MIT" ]
null
null
null
lib/alpha_vantage.ex
Cameron-Kurth/elixir-alpha_vantage
b1c489211090b98726db536bdea4ddd20eee8bc5
[ "MIT" ]
null
null
null
defmodule AlphaVantage do @moduledoc """ A set of functions to fetch data from the [Alpha Vantage API](https://www.alphavantage.co/documentation/#) in flexible manner, as well as retrieve the valid inputs for the API. """ alias AlphaVantage.Gateway @doc """ Returns data per the provided function and inpu...
39.28
178
0.733198
ff3eee596abf5bb18618c6f7ee77d3251515510f
365
exs
Elixir
config/test.exs
MLSDev/ecto_extensions
a36ade6dd821a67a2569c5d5573e5c989b1d0141
[ "MIT" ]
7
2019-03-28T05:39:05.000Z
2020-05-02T00:19:22.000Z
config/test.exs
MLSDev/ecto_extensions
a36ade6dd821a67a2569c5d5573e5c989b1d0141
[ "MIT" ]
null
null
null
config/test.exs
MLSDev/ecto_extensions
a36ade6dd821a67a2569c5d5573e5c989b1d0141
[ "MIT" ]
null
null
null
use Mix.Config config :ecto_extensions, EctoExtensions.Repo, username: System.get_env("ECTO_EXTENSIONS_DB_USERNAME") || "postgres", password: System.get_env("ECTO_EXTENSIONS_DB_PASSWORD") || "postgres", database: "ecto_extensions_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox config :ecto_ext...
30.416667
72
0.775342
ff3ef62ef540e83433d42828c09f65a7a2b6b66f
568
exs
Elixir
mix.exs
3decibels/serex
1ae1b92d02e7e1a7ce5ff900908dd72e9b784738
[ "MIT" ]
2
2021-02-26T04:49:37.000Z
2022-02-07T04:50:43.000Z
mix.exs
3decibels/serex
1ae1b92d02e7e1a7ce5ff900908dd72e9b784738
[ "MIT" ]
null
null
null
mix.exs
3decibels/serex
1ae1b92d02e7e1a7ce5ff900908dd72e9b784738
[ "MIT" ]
null
null
null
defmodule Serex.MixProject do use Mix.Project def project do [ app: :serex, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
19.586207
87
0.573944
ff3f0580618881a5316f6678092cad1fdd4b0c29
8,296
exs
Elixir
.credo.exs
mosic/credo
2053ac07df84f5ccdd79fa0150d7a89f8556feab
[ "MIT" ]
null
null
null
.credo.exs
mosic/credo
2053ac07df84f5ccdd79fa0150d7a89f8556feab
[ "MIT" ]
null
null
null
.credo.exs
mosic/credo
2053ac07df84f5ccdd79fa0150d7a89f8556feab
[ "MIT" ]
null
null
null
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
40.077295
99
0.585945
ff3f22eee65486f58beeb8a59b47060df71ed563
1,180
exs
Elixir
config/config.exs
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "MIT" ]
null
null
null
config/config.exs
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "MIT" ]
null
null
null
config/config.exs
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "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 :mbanking, ecto_repos: [Mbanking.Repo] ...
31.052632
86
0.770339
ff3f55b7dc64b04bc0f4bcfec3c6a66092f7bb52
1,789
ex
Elixir
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
35.078431
155
0.745668
ff3f57044ffd448625abbb9918cf5e914e575eaa
1,509
ex
Elixir
lib/ankh/transport.ex
lucacorti/ankh
4bbac3a362ed8711a4282cf37d4a85e6139136f8
[ "MIT" ]
18
2016-09-06T20:35:42.000Z
2020-04-28T12:51:47.000Z
lib/ankh/transport.ex
lucacorti/ankh
4bbac3a362ed8711a4282cf37d4a85e6139136f8
[ "MIT" ]
16
2017-11-26T21:59:41.000Z
2020-08-17T11:27:56.000Z
lib/ankh/transport.ex
lucacorti/ankh
4bbac3a362ed8711a4282cf37d4a85e6139136f8
[ "MIT" ]
1
2020-04-24T07:53:00.000Z
2020-04-24T07:53:00.000Z
defprotocol Ankh.Transport do @moduledoc """ Transport interface """ @typedoc "Transport socket" @type t :: struct() @typedoc "Size" @type size :: non_neg_integer() @typedoc "Socket" @type socket :: any() @typedoc """ Transport options """ @type options :: keyword() @doc """ Creates a...
22.191176
90
0.589132
ff3fca8db990339f605f340b2c3ebec63eb038f9
1,341
ex
Elixir
lib/koans/20_comprehensions.ex
jarekjaro/elixir-koans
6401b732866d06f1a1c18e842e7b9caba11f65f4
[ "MIT" ]
null
null
null
lib/koans/20_comprehensions.ex
jarekjaro/elixir-koans
6401b732866d06f1a1c18e842e7b9caba11f65f4
[ "MIT" ]
null
null
null
lib/koans/20_comprehensions.ex
jarekjaro/elixir-koans
6401b732866d06f1a1c18e842e7b9caba11f65f4
[ "MIT" ]
null
null
null
defmodule Comprehensions do use Koans @intro "A comprehension is made of three parts: generators, filters, and collectibles. We will look at how these interact with each other" koan "The generator, `n <- [1, 2, 3, 4]`, is providing the values for our comprehension" do assert (for n <- [1, 2, 3, 4], do: n * ...
32.707317
140
0.546607
ff3fcf5fbb3802ca18c68a969e3cc59c5845c2d6
55
ex
Elixir
testData/org/elixir_lang/parser_definition/atom_parsing_test_case/Literal.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/atom_parsing_test_case/Literal.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/atom_parsing_test_case/Literal.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
:atom@1? :atom@2! :ATOM@3? :ATOM@4! :_atom@5? :_atom@6!
9.166667
9
0.581818
ff3fe26328c19c36e00dcd8084b1d2419c968485
162
ex
Elixir
lib/reaper/partitioners/single_partitioner.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
lib/reaper/partitioners/single_partitioner.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
lib/reaper/partitioners/single_partitioner.ex
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Reaper.Partitioners.SinglePartitioner do @moduledoc false @behaviour Reaper.Partitioner def partition(_message, _path) do "SINGLE" end end
18
50
0.771605
ff3ff011b3214f5969c654a297da2f4ca5fe9012
19,280
exs
Elixir
lib/mix/test/mix/tasks/release_test.exs
matiasgarciaisaia/elixir
d0a3fdbfd774e0a6972513dcb82c2683400e67a0
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/release_test.exs
matiasgarciaisaia/elixir
d0a3fdbfd774e0a6972513dcb82c2683400e67a0
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/release_test.exs
matiasgarciaisaia/elixir
d0a3fdbfd774e0a6972513dcb82c2683400e67a0
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.ReleaseTest do use MixTest.Case @erts_version :erlang.system_info(:version) @hostname :inet_db.gethostname() defmacrop release_node(name), do: :"#{name}@#{@hostname}" describe "customize" do test "rel with eex" do in_fixture...
38.406375
97
0.566649
ff400a9929a83b317a57833ed1f17020f1ac6e49
4,796
ex
Elixir
lib/helper.ex
tulip/modbus
dab29a158033b50cda2e0fa574c022d01976622d
[ "Apache-2.0" ]
11
2016-11-24T18:48:57.000Z
2020-10-26T07:30:34.000Z
lib/helper.ex
tulip/modbus
dab29a158033b50cda2e0fa574c022d01976622d
[ "Apache-2.0" ]
5
2016-11-28T19:33:39.000Z
2022-03-07T18:40:34.000Z
lib/helper.ex
tulip/modbus
dab29a158033b50cda2e0fa574c022d01976622d
[ "Apache-2.0" ]
13
2016-12-14T15:42:23.000Z
2021-11-02T19:46:16.000Z
defmodule Modbus.Helper do @moduledoc false use Bitwise @hi [ 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,...
45.67619
106
0.610509
ff401e8034fca81b0c8d75073c4388b382e60782
2,455
ex
Elixir
lib/quadquizaminos_web.ex
sparrell/quizquadaminos
6388252b7c32aa4101486cbf45d0d57d4e3a79da
[ "MIT" ]
1
2022-01-11T20:06:31.000Z
2022-01-11T20:06:31.000Z
lib/quadquizaminos_web.ex
sFractal-Podii/quizquadaminos
4c9023b9c6212a92741b0f21d9eb05871aa73916
[ "MIT" ]
484
2021-02-15T18:43:40.000Z
2022-03-29T12:27:24.000Z
lib/quadquizaminos_web.ex
sFractal-Podii/quizquadaminos
4c9023b9c6212a92741b0f21d9eb05871aa73916
[ "MIT" ]
8
2021-02-15T19:12:51.000Z
2021-12-15T03:02:46.000Z
defmodule QuadquizaminosWeb 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 QuadquizaminosWeb, :controller use QuadquizaminosWeb, :view The definitions below will be executed for every...
23.605769
78
0.695723
ff402ab3da8de9ba8af06b3d66dc0362f7fdb73e
2,085
exs
Elixir
mix.exs
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
mix.exs
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
mix.exs
heyorbit/elixir-server-utils
32643ecf4042a110495ffb2eaee3016aa5276d5a
[ "MIT" ]
null
null
null
defmodule ServerUtils.Mixfile do @moduledoc false use Mix.Project @version "0.3.4" def project do [ app: :server_utils, version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliase...
25.120482
81
0.549161
ff404eabf31698d89dd2265870c1637b21a05f80
4,151
ex
Elixir
lib/phoenix_mtm/helpers.ex
kevbuchanan/phoenix_mtm
be5f1e0bf602343f87b3b91f88bbe8eb5f5523be
[ "MIT" ]
null
null
null
lib/phoenix_mtm/helpers.ex
kevbuchanan/phoenix_mtm
be5f1e0bf602343f87b3b91f88bbe8eb5f5523be
[ "MIT" ]
null
null
null
lib/phoenix_mtm/helpers.ex
kevbuchanan/phoenix_mtm
be5f1e0bf602343f87b3b91f88bbe8eb5f5523be
[ "MIT" ]
null
null
null
defmodule PhoenixMTM.Helpers do @moduledoc """ Provides HTML helpers for Phoenix. """ import Phoenix.HTML, only: [html_escape: 1] import Phoenix.HTML.Form, only: [field_name: 2, field_id: 2, hidden_input: 3 ] @doc ~S""" Generates a list of checkboxes and labels to update a Phoenix many_to_many relatio...
31.687023
85
0.619851
ff4078be9b8ecb3eb29f6d71dae21ef6ccfcd725
7,256
exs
Elixir
lib/eex/test/eex/tokenizer_test.exs
esparta/elixir
94fa4e5d19426f234bf20465a539083effd213d8
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex/tokenizer_test.exs
esparta/elixir
94fa4e5d19426f234bf20465a539083effd213d8
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex/tokenizer_test.exs
esparta/elixir
94fa4e5d19426f234bf20465a539083effd213d8
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule EEx.TokenizerTest do use ExUnit.Case, async: true require EEx.Tokenizer, as: T @opts %{indentation: 0, trim: false} test "simple chars lists" do assert T.tokenize('foo', 1, 1, @opts) == {:ok, [{:text, 'foo'}, {:eof, 1, 4}]} end test "simple ...
27.278195
100
0.455485
ff4093895cb0cd9ee85c47ca544d2c99e9882459
855
exs
Elixir
mix.exs
mononym/uber_multi
4ebe081dcfd8fe331656e1a6328ace7e4f55bc29
[ "MIT" ]
2
2020-01-13T19:50:43.000Z
2022-02-09T10:01:43.000Z
mix.exs
mononym/uber_multi
4ebe081dcfd8fe331656e1a6328ace7e4f55bc29
[ "MIT" ]
null
null
null
mix.exs
mononym/uber_multi
4ebe081dcfd8fe331656e1a6328ace7e4f55bc29
[ "MIT" ]
null
null
null
defmodule UberMulti.MixProject do use Mix.Project def project do [ app: :uber_multi, deps: deps(), description: description(), package: package(), elixir: "~> 1.6", start_permanent: Mix.env() == :prod, version: "1.0.1" ] end # Run "mix help compile.app" to lea...
20.357143
100
0.583626
ff40ea9f982cfa2ffd7ff25bd8f7cc4311040971
920
ex
Elixir
lib/airbrakex/plug.ex
flatiron-labs/airbrakex
1aae8afbd877b9b9adfd26a192f824ff0c1624c9
[ "MIT" ]
null
null
null
lib/airbrakex/plug.ex
flatiron-labs/airbrakex
1aae8afbd877b9b9adfd26a192f824ff0c1624c9
[ "MIT" ]
null
null
null
lib/airbrakex/plug.ex
flatiron-labs/airbrakex
1aae8afbd877b9b9adfd26a192f824ff0c1624c9
[ "MIT" ]
null
null
null
defmodule Airbrakex.Plug do @moduledoc """ You can plug `Airbrakex.Plug` in your web application Plug stack to send all exception to `airbrake` ```elixir defmodule YourApp.Router do use Phoenix.Router use Airbrakex.Plug # ... end ``` """ alias Airbrakex.{ExceptionParser, Notifier} de...
20.444444
77
0.627174