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
ff1444094b282faa7dc22625bf75700d26a0ece5
589
ex
Elixir
lib/messenger/request.ex
pilu/messenger
664fcbe42368f9b8b41710a1b7f0d131c94c99a2
[ "MIT" ]
7
2016-04-29T17:46:35.000Z
2018-07-04T15:48:08.000Z
lib/messenger/request.ex
gravityblast/messenger
664fcbe42368f9b8b41710a1b7f0d131c94c99a2
[ "MIT" ]
null
null
null
lib/messenger/request.ex
gravityblast/messenger
664fcbe42368f9b8b41710a1b7f0d131c94c99a2
[ "MIT" ]
null
null
null
defmodule Messenger.Request do alias Messenger.TextMessage alias Messenger.Recipient alias Messenger.Request alias Messenger.API defstruct [recipient: %Recipient{}, message: %TextMessage{}] def new do %Request{} end def put_recipient request = %Request{}, recipient = %Recipient{} do Map.put r...
23.56
69
0.726655
ff148348e7e50a56ec684945832a348a286d4955
6,189
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/grouplicenses.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/grouplicenses.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/api/grouplicenses.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.986755
187
0.647277
ff14885691797cb2c4d54ff1627ec3eb43ceec21
3,954
ex
Elixir
clients/run/lib/google_api/run/v1/model/probe.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/probe.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/probe.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...
58.147059
321
0.724077
ff14c1ab554a2f2571b800b08991800aa5026376
1,681
ex
Elixir
apps/fz_http/lib/fz_http_web/authentication.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http_web/authentication.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http_web/authentication.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
defmodule FzHttpWeb.Authentication do @moduledoc """ Authentication helpers. """ use Guardian, otp_app: :fz_http alias FzHttp.Telemetry alias FzHttp.Users alias FzHttp.Users.User @guardian_token_name "guardian_default_token" def subject_for_token(resource, _claims) do {:ok, to_string(resource.i...
22.118421
72
0.673409
ff14e158db0b84de77b0e410f6f6a9ee11b0734c
308
ex
Elixir
lib/codes/codes_b59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_b59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_b59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_B59 do alias IcdCode.ICDCode def _B59 do %ICDCode{full_code: "B59", category_code: "B59", short_code: "", full_name: "Pneumocystosis", short_name: "Pneumocystosis", category_name: "Pneumocystosis" } end end
19.25
41
0.607143
ff14fd7c898029447fd0a541462fae8a58b29ed4
705
exs
Elixir
config/config.exs
almightycouch/gitgud
21cf81ff29e0ec1601bb96e1621237099d0e677a
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
config/config.exs
almightycouch/gitgud
21cf81ff29e0ec1601bb96e1621237099d0e677a
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
config/config.exs
almightycouch/gitgud
21cf81ff29e0ec1601bb96e1621237099d0e677a
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
import Config # By default, the umbrella project as well as each child # application will require this configuration file, ensuring # they all use the same configuration. While one could # configure all applications here, we prefer to delegate # back to each application for organization purposes. for config <- Path.wi...
35.25
83
0.767376
ff1502ace4fe44d288a04d9bbb74042f41d32e6e
1,419
ex
Elixir
lib/mix/tasks/sugar/init.ex
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
374
2015-01-03T00:16:25.000Z
2022-02-02T21:08:48.000Z
lib/mix/tasks/sugar/init.ex
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
44
2015-01-01T11:38:12.000Z
2020-11-18T19:48:01.000Z
lib/mix/tasks/sugar/init.ex
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
34
2015-01-04T13:42:41.000Z
2020-07-18T17:27:27.000Z
defmodule Mix.Tasks.Sugar.Init do use Mix.Task import Mix.Generator import Macro, only: [camelize: 1, underscore: 1] @shortdoc "Creates Sugar support files" @recursive true @moduledoc """ Creates Sugar support files for new projects after adding Sugar as a project dependency. ## Command line option...
27.288462
101
0.669486
ff1514a332bec9c0eec28841552f144c65267f3d
337
exs
Elixir
tutorials/genserver/async_otp/test/async_otp_test.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
tutorials/genserver/async_otp/test/async_otp_test.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
tutorials/genserver/async_otp/test/async_otp_test.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
defmodule AsyncOtpTest do use ExUnit.Case doctest AsyncOtp test "async initialization success" do assert {:ok, pid} = AsyncOtp.start_link() end test "send long running task but do not stop server loop working so long" do assert {:ok, pid} = AsyncOtp.start_link() assert :result == AsyncOtp.reques...
24.071429
78
0.712166
ff1514a4eb9f3c6a87f85346fe7be875fd360323
946
ex
Elixir
apps/bifrost/test/support/channel_case.ex
thebugcatcher/heimdall
5da4d2afcf80a8dabd23bbd22b19e24bcbd507a9
[ "MIT" ]
2
2021-04-03T14:10:20.000Z
2021-07-07T21:17:35.000Z
apps/bifrost/test/support/channel_case.ex
aditya7iyengar/heimdall
5da4d2afcf80a8dabd23bbd22b19e24bcbd507a9
[ "MIT" ]
null
null
null
apps/bifrost/test/support/channel_case.ex
aditya7iyengar/heimdall
5da4d2afcf80a8dabd23bbd22b19e24bcbd507a9
[ "MIT" ]
1
2020-11-12T08:38:35.000Z
2020-11-12T08:38:35.000Z
defmodule BifrostWeb.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 w...
27.028571
64
0.738901
ff154de426251bbc2fd8d5480c84fa31a9b7fa8f
876
ex
Elixir
lib/liquid_voting_auth_web/controllers/auth_controller.ex
jinjagit/auth
e5b8ec515229e7087d6c63a72d50d06120c0ad94
[ "MIT" ]
null
null
null
lib/liquid_voting_auth_web/controllers/auth_controller.ex
jinjagit/auth
e5b8ec515229e7087d6c63a72d50d06120c0ad94
[ "MIT" ]
21
2020-09-28T06:36:30.000Z
2022-02-07T10:04:36.000Z
lib/liquid_voting_auth_web/controllers/auth_controller.ex
jinjagit/auth
e5b8ec515229e7087d6c63a72d50d06120c0ad94
[ "MIT" ]
null
null
null
defmodule LiquidVotingAuthWeb.AuthController do use LiquidVotingAuthWeb, :controller alias LiquidVotingAuth.Organizations def index(conn, _params) do with( [header_value] <- get_req_header(conn, "authorization"), {:ok, auth_key} <- get_bearer(header_value) ) do if org = registered?(aut...
24.333333
88
0.623288
ff1553281707818c2e234cad08aff00b13a41fe2
1,173
exs
Elixir
test/peerage_test.exs
gvl/peerage
d4a790445841aed5d0f879b13533105e8893de8a
[ "MIT" ]
null
null
null
test/peerage_test.exs
gvl/peerage
d4a790445841aed5d0f879b13533105e8893de8a
[ "MIT" ]
null
null
null
test/peerage_test.exs
gvl/peerage
d4a790445841aed5d0f879b13533105e8893de8a
[ "MIT" ]
null
null
null
defmodule PeerageTest do use ExUnit.Case doctest Peerage @app :a1234 defmodule M do def f, do: "your key is 1234. write it down." end def setup do delete_all_env(@app) :ok end test "Peerage.Via.Dns.poll returns a list of names" do Application.put_env(:peerage, :dns_name, "localhost")...
24.4375
66
0.645354
ff156a9f2d2951ec8e8b3ec544ee9191dd7d07c8
1,247
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/url_map_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/url_map_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/url_map_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
29
79
0.729751
ff15bd12694a9b8d6fbf2acee4871c1c4c046e37
2,714
exs
Elixir
test/phoenix/live_dashboard/telemetry_listener_test.exs
PaulOstazeski/phoenix_live_dashboard
c68eac2640d6579d16f222fe58c1eb669342a1f2
[ "MIT" ]
1
2020-11-04T16:18:16.000Z
2020-11-04T16:18:16.000Z
test/phoenix/live_dashboard/telemetry_listener_test.exs
PaulOstazeski/phoenix_live_dashboard
c68eac2640d6579d16f222fe58c1eb669342a1f2
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/telemetry_listener_test.exs
PaulOstazeski/phoenix_live_dashboard
c68eac2640d6579d16f222fe58c1eb669342a1f2
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.TelemetryListenerTest do use ExUnit.Case, async: true import Telemetry.Metrics alias Phoenix.LiveDashboard.TelemetryListener test "forwards the given metrics" do time = System.system_time(:second) TelemetryListener.listen(node(), [counter("a.b.c"), counter("d.e.g")]) ...
35.710526
96
0.616433
ff15ce20d48380be128b7dcec3087fa205800278
3,206
exs
Elixir
mix.exs
nicolasblanco/phoenix_live_view
f2bd37302f704fca3c1e4f8db7a1cbf8ddf012f2
[ "MIT" ]
null
null
null
mix.exs
nicolasblanco/phoenix_live_view
f2bd37302f704fca3c1e4f8db7a1cbf8ddf012f2
[ "MIT" ]
null
null
null
mix.exs
nicolasblanco/phoenix_live_view
f2bd37302f704fca3c1e4f8db7a1cbf8ddf012f2
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.MixProject do use Mix.Project @version "0.15.2" def project do [ app: :phoenix_live_view, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), compilers: compilers(Mix.env()), p...
26.495868
99
0.595446
ff15f7dfd2558076d5bc3934248dad5b8a9970ff
2,346
exs
Elixir
config/test.exs
pwjablonski/remote_retro
1b6acf359b362ae2ec187cfbd1a38dc8266aa546
[ "MIT" ]
null
null
null
config/test.exs
pwjablonski/remote_retro
1b6acf359b362ae2ec187cfbd1a38dc8266aa546
[ "MIT" ]
null
null
null
config/test.exs
pwjablonski/remote_retro
1b6acf359b362ae2ec187cfbd1a38dc8266aa546
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :remote_retro, RemoteRetroWeb.Endpoint, http: [port: 4001], server: true config :remote_retro, :sql_sandbox, true config :wallaby, screenshot_on_failure: true config :wallaby, driver: Wallaby....
43.444444
826
0.817136
ff15f84400130243a951740ad654073a38203fc1
1,823
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/examples/routing/tcp.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/examples/routing/tcp.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
10
2022-02-23T06:44:58.000Z
2022-03-23T21:04:37.000Z
implementations/elixir/ockam/ockam/lib/ockam/examples/routing/tcp.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Examples.Routing.TCP do @moduledoc """ Example message routing through the TCP transport server() - start TCP server with echoer server(port) - start TCP server on port client() - establish a connection and send a message to the echoer and wait for response client(host, port) - connect to t...
28.936508
99
0.676906
ff16034665b85433208285a8a65dc16c4c25da1c
4,456
ex
Elixir
lib/vintage_net/resolver/resolv_conf.ex
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
1
2019-05-08T19:09:17.000Z
2019-05-08T19:09:17.000Z
lib/vintage_net/resolver/resolv_conf.ex
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/resolver/resolv_conf.ex
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.Resolver.ResolvConf do @moduledoc """ Utilities for creating resolv.conf file contents """ alias VintageNet.IP # Convert name resolver configurations into # /etc/resolv.conf contents @typedoc "Name resolver settings for an interface" @type entry :: %{ priority: integer()...
36.826446
101
0.675943
ff165148b41c03ab67fdc6355b9aac3d7db020ed
15,270
ex
Elixir
lib/phoenix_live_view/router.ex
tomconroy/phoenix_live_view
655e95170e3e1b8fead1ffe43a661c7f5aa6b519
[ "MIT" ]
null
null
null
lib/phoenix_live_view/router.ex
tomconroy/phoenix_live_view
655e95170e3e1b8fead1ffe43a661c7f5aa6b519
[ "MIT" ]
4
2021-03-04T13:00:52.000Z
2021-03-12T12:42:09.000Z
deps/phoenix_live_view/lib/phoenix_live_view/router.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Router do @moduledoc """ Provides LiveView routing for Phoenix routers. """ @cookie_key "__phoenix_flash__" @doc """ Defines a LiveView route. A LiveView can be routed to by using the `live` macro with a path and the name of the LiveView: live "/thermostat", Thermost...
34.314607
106
0.663851
ff16593195fe7ab635d4b6e3bdf5089be1fc3701
728
ex
Elixir
lib/asciinema_web/controllers/page_controller.ex
sergey-nechaev/asciinema-server
64f87acec9c9b45fefa8bed8f70b41f0068ccb2b
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/page_controller.ex
sergey-nechaev/asciinema-server
64f87acec9c9b45fefa8bed8f70b41f0068ccb2b
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/page_controller.ex
sergey-nechaev/asciinema-server
64f87acec9c9b45fefa8bed8f70b41f0068ccb2b
[ "Apache-2.0" ]
null
null
null
defmodule AsciinemaWeb.PageController do use AsciinemaWeb, :controller plug :put_layout, :app2 def about(conn, _params) do conn |> assign(:page_title, "About") |> render("about.html") end def privacy(conn, _params) do conn |> assign(:page_title, "Privacy Policy") |> render("privacy....
20.222222
56
0.642857
ff1668396fb5cc0ec8f6fc98c6ec1ebcef62a24d
216
exs
Elixir
test/coop_minesweeper_web/controllers/page_controller_test.exs
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
test/coop_minesweeper_web/controllers/page_controller_test.exs
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
test/coop_minesweeper_web/controllers/page_controller_test.exs
sdoering01/coop_minesweeper
4fc7265c3734584f93a325c2ceaa172da578f7a5
[ "MIT" ]
null
null
null
defmodule CoopMinesweeperWeb.PageControllerTest do use CoopMinesweeperWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
24
60
0.703704
ff166ee5135a05fe50b82585a85b68bee3eb8ca9
1,619
ex
Elixir
clients/people/lib/google_api/people/v1/model/interest.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/people/lib/google_api/people/v1/model/interest.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/people/lib/google_api/people/v1/model/interest.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.38
119
0.718345
ff167dcd36db4dcf7d65dceef7247d3331c5d5e9
576
ex
Elixir
lib/epi_contacts/unlock_identity_confirmation_session_worker.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
lib/epi_contacts/unlock_identity_confirmation_session_worker.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
13
2021-06-29T04:35:41.000Z
2022-02-09T04:25:39.000Z
lib/epi_contacts/unlock_identity_confirmation_session_worker.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
defmodule EpiContacts.UnlockIdentityConfirmationSessionWorker do @moduledoc """ Oban worker that unlocks a confirm identity """ use Oban.Worker, queue: :default alias EpiContacts.Questionnaire alias EpiContacts.Repo def schedule_in do 15 * 60 end @impl Oban.Worker def perform(%_{args: %{"ses...
24
111
0.734375
ff16d5f4c8e76f078abe3d9cd78582e6ea22c881
1,092
ex
Elixir
lib/live_view_examples_web/channels/user_socket.ex
zorbash/observer_live
f78af309a85783ac61d97ba9bb5ffd7a64ec9823
[ "MIT" ]
219
2019-04-02T02:51:59.000Z
2021-11-10T22:14:17.000Z
lib/live_view_examples_web/channels/user_socket.ex
zorbash/observer_live
f78af309a85783ac61d97ba9bb5ffd7a64ec9823
[ "MIT" ]
1
2021-05-08T11:51:29.000Z
2021-05-08T11:51:29.000Z
lib/live_view_examples_web/channels/user_socket.ex
zorbash/observer_live
f78af309a85783ac61d97ba9bb5ffd7a64ec9823
[ "MIT" ]
14
2019-04-02T07:19:38.000Z
2021-03-27T19:19:45.000Z
defmodule LiveViewExamplesWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", LiveViewExamplesWeb.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 ...
32.117647
91
0.704212
ff16ea51b00cc88f021e942559f1cb1371d071a7
508
ex
Elixir
lib/exmqtt/logger.ex
kcurtin/exmqtt
3431b560117e73c769d30d06b3feada170c3973f
[ "Apache-2.0" ]
13
2020-04-12T13:24:32.000Z
2021-08-17T00:25:09.000Z
lib/exmqtt/logger.ex
kcurtin/exmqtt
3431b560117e73c769d30d06b3feada170c3973f
[ "Apache-2.0" ]
null
null
null
lib/exmqtt/logger.ex
kcurtin/exmqtt
3431b560117e73c769d30d06b3feada170c3973f
[ "Apache-2.0" ]
2
2020-05-14T12:43:48.000Z
2021-03-02T17:36:24.000Z
defmodule Exmqtt.LogFormatter do def format(level, message, timestamp, metadata) do "#{fmt_timestamp(timestamp)} #{inspect(metadata)} [#{level}] #{message}\n" rescue _ -> "could not format message: #{inspect({level, message, timestamp, metadata})}\n" end defp fmt_timestamp({date, {hh, mm, ss, ms}}) do...
29.882353
90
0.643701
ff16f1bb336ddc90207011d6859c71019f326e23
1,294
exs
Elixir
test/shippo/operation/webhook_test.exs
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
test/shippo/operation/webhook_test.exs
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
test/shippo/operation/webhook_test.exs
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
defmodule Shippo.Operation.WebhookTest do use ExUnit.Case, async: true alias Shippo.Operation alias Shippo.Operation.Webhook describe "create/1" do test "returns a Operations struct with :post and /webhooks" do assert %Operation{ http_method: :post, path: "/webhooks", ...
25.88
70
0.506955
ff16f3f1ff4a0800c838903823673a0a4df07795
476
exs
Elixir
priv/repo/migrations/20150921163146_create_user.exs
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
priv/repo/migrations/20150921163146_create_user.exs
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
priv/repo/migrations/20150921163146_create_user.exs
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
defmodule MediaBot.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :username, :string add :hashed_password, :string add :hashed_confirmation_token, :string add :confirmed_at, :datetime add :hashed_password_reset_token, :string add :...
26.444444
64
0.693277
ff16f9149aa1f7db41cac5ddbcec571f968974aa
1,460
exs
Elixir
api/config/dev.exs
andrewvmail/momoirc
15cd76dc8b5f99f72e4a8e05a35dca9bf293bfca
[ "MIT" ]
null
null
null
api/config/dev.exs
andrewvmail/momoirc
15cd76dc8b5f99f72e4a8e05a35dca9bf293bfca
[ "MIT" ]
null
null
null
api/config/dev.exs
andrewvmail/momoirc
15cd76dc8b5f99f72e4a8e05a35dca9bf293bfca
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :api, ApiWeb.Endpoint, http: [port: 4000], deb...
29.2
68
0.722603
ff17081b66a6ca6363c9c804e09b279572ae5590
2,122
ex
Elixir
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.22807
158
0.725259
ff1721104eee75b9ac7bf3724c11061f82889f6b
815
exs
Elixir
deps/phoenix_ecto/mix.exs
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix_ecto/mix.exs
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix_ecto/mix.exs
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
defmodule PhoenixEcto.Mixfile do use Mix.Project @version "3.0.1" def project do [app: :phoenix_ecto, version: @version, elixir: "~> 1.2", deps: deps(), # Hex description: "Integration between Phoenix & Ecto", package: package(), # Docs name: "Phoenix/Ecto", do...
21.447368
78
0.585276
ff1732e5c04c0fa6431b83da0fd51bd5842254cd
5,408
ex
Elixir
lib/mix/tasks/authority.gen.context.ex
infinitered/authority_ecto
3d076b04c4ad4f5d5b89df990f91b45d1a45da19
[ "MIT" ]
11
2018-01-17T09:31:26.000Z
2019-03-11T03:20:50.000Z
lib/mix/tasks/authority.gen.context.ex
infinitered/authority_ecto
3d076b04c4ad4f5d5b89df990f91b45d1a45da19
[ "MIT" ]
24
2018-01-17T00:13:38.000Z
2018-11-12T09:38:09.000Z
lib/mix/tasks/authority.gen.context.ex
infinitered/authority_ecto
3d076b04c4ad4f5d5b89df990f91b45d1a45da19
[ "MIT" ]
3
2018-01-17T03:23:17.000Z
2019-03-11T03:20:47.000Z
defmodule Mix.Tasks.Authority.Gen.Context do use Mix.Task alias Mix.Authority.Ecto.Context @shortdoc "Generate a context with Authority" @moduledoc """ Generates a new context with Authority ready to go. mix authority.gen.context Accounts The following files will be created (assuming the provided...
30.212291
89
0.684911
ff17367a3b56bf14c6b486553b3d92ed5bfc90c7
335
ex
Elixir
lib/mix/tasks/app_version.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
37
2018-07-13T14:08:16.000Z
2021-04-09T15:00:22.000Z
lib/mix/tasks/app_version.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
9
2018-07-16T15:24:39.000Z
2021-09-01T14:21:20.000Z
lib/mix/tasks/app_version.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
3
2018-10-05T20:19:25.000Z
2019-12-05T00:30:01.000Z
defmodule Mix.Tasks.AppVersion do @moduledoc """ This is used to fetch the current application version set in `mix.exs` from the command-line. Useful for build scripts. """ use Mix.Task # Only accessible during compile time @version Mix.Project.config()[:version] def run(_args) do IO.puts(@vers...
19.705882
72
0.704478
ff17455b41379f676b6d7126cabcd83da7968636
1,665
exs
Elixir
mix.exs
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
1
2019-03-22T17:10:48.000Z
2019-03-22T17:10:48.000Z
mix.exs
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
null
null
null
mix.exs
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
null
null
null
defmodule Cbl2019.MixProject do use Mix.Project def project do [ app: :cbl_2019, version: "0.1.0", elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), erlc_options: [], # Let's give our Erlang dependency to the compiler erlc_paths: ["deps/minidiadict"], st...
24.850746
100
0.593393
ff1774d7afedc0ca8b2f07df25842bf1773f3823
2,680
ex
Elixir
lib/resin.ex
Frost/resin
2d10f85bde7712c4016f6338e82aff4fd7b23514
[ "MIT" ]
6
2015-05-17T01:23:11.000Z
2020-11-01T11:45:51.000Z
lib/resin.ex
Frost/resin
2d10f85bde7712c4016f6338e82aff4fd7b23514
[ "MIT" ]
null
null
null
lib/resin.ex
Frost/resin
2d10f85bde7712c4016f6338e82aff4fd7b23514
[ "MIT" ]
null
null
null
defmodule Resin do @moduledoc """ Introduce a configurable delay to all requests in a plug pipeline. Usage use Resin This will introduce a delay to all incoming requests. This delay defaults to 3000 ms, but can be configured by the `enterpriseyness` option, like so: use Resin, enterpriseyness:...
29.130435
80
0.69291
ff177c65f93b5635ba6ba6891ea19beb6ecd7909
1,052
ex
Elixir
web/router.ex
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
web/router.ex
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
web/router.ex
franknfjr/blog_lca
0711ad6ba6ee878045905ec58a549527ffa5e0a4
[ "MIT" ]
null
null
null
defmodule Login.Router do use Login.Web, :router use Coherence.Router # Add this pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers plug Coherence.Authentication.Session # Add this end ...
21.04
70
0.691065
ff179eb4b7a65418ad451b9f503b587fed413de4
463
ex
Elixir
lib/mix/tasks/gitlab_data.load_projects.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
2
2019-03-05T16:29:10.000Z
2020-01-17T14:11:48.000Z
lib/mix/tasks/gitlab_data.load_projects.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
3
2019-03-18T20:26:48.000Z
2020-06-25T14:31:13.000Z
lib/mix/tasks/gitlab_data.load_projects.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
1
2018-06-16T15:32:25.000Z
2018-06-16T15:32:25.000Z
defmodule Mix.Tasks.GitlabData.LoadProjects do use Mix.Task import Mix.Ecto @shortdoc "Upsert all projects" def run(_) do ensure_started(CncfDashboardApi.Repo, []) Application.ensure_all_started(:cncf_dashboard_api) upsert_projects_count = CncfDashboardApi.GitlabMigrations.upsert_projects() ups...
33.071429
79
0.781857
ff17cbe3f5ffb98b9abc61f276de06d23c369023
73
ex
Elixir
lib/pass.ex
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "Apache-2.0" ]
1
2016-04-28T18:32:10.000Z
2016-04-28T18:32:10.000Z
lib/pass.ex
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "Apache-2.0" ]
null
null
null
lib/pass.ex
elixir-extracts/passport
2031d7b874e74746eea14ce1a83911be84ce8c2b
[ "Apache-2.0" ]
null
null
null
defmodule Pass do @moduledoc File.read!("#{__DIR__}/../README.md") end
18.25
50
0.684932
ff17d1e6e7244b1c8ea4b5c84678db544134ed6e
14,097
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/machine_types.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/machine_types.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/machine_types.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...
55.282353
511
0.664113
ff182e823cd765f9a50b9e0568b469ab5999513d
144
ex
Elixir
web/controllers/top_controller.ex
Atla0903/nano_planner
6ffc83e09853084e932a063a9ce651563b8b38e1
[ "MIT" ]
null
null
null
web/controllers/top_controller.ex
Atla0903/nano_planner
6ffc83e09853084e932a063a9ce651563b8b38e1
[ "MIT" ]
null
null
null
web/controllers/top_controller.ex
Atla0903/nano_planner
6ffc83e09853084e932a063a9ce651563b8b38e1
[ "MIT" ]
null
null
null
defmodule NanoPlanner.TopController do use NanoPlanner.Web, :controller def index(conn, _params) do render conn, "index.html" end end
20.571429
38
0.75
ff18c7a3a69e996eca52b78374c3c0746d862098
2,238
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_delete_entities_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2019-01-03T22:30:36.000Z
2019-01-03T22:30:36.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_delete_entities_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_batch_delete_entities_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
39.964286
348
0.751117
ff18c84171272f52926405d1c8c56f9e6696dae0
3,005
ex
Elixir
lib/engine_adapters/mamdani.ex
valiot/flex
d092e1b8b0f38eeaed55ae29452d0b7d7f8965e4
[ "MIT" ]
7
2019-05-23T22:07:20.000Z
2021-12-14T21:23:20.000Z
lib/engine_adapters/mamdani.ex
valiot/flex
d092e1b8b0f38eeaed55ae29452d0b7d7f8965e4
[ "MIT" ]
null
null
null
lib/engine_adapters/mamdani.ex
valiot/flex
d092e1b8b0f38eeaed55ae29452d0b7d7f8965e4
[ "MIT" ]
null
null
null
defmodule Flex.EngineAdapter.Mamdani do @moduledoc """ Mamdani fuzzy inference was first introduced as a method to create a control system by synthesizing a set of linguistic control rules obtained from experienced human operators. In a Mamdani system, the output of each rule is a fuzzy set. Since Mamdani systems...
36.204819
178
0.732446
ff18ec8c09ceebe5d4d117de44eda58ac31043ac
1,487
ex
Elixir
core/sup_tree_core/gear_config_poller.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
core/sup_tree_core/gear_config_poller.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
core/sup_tree_core/gear_config_poller.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.GearConfigPoller do @moduledoc """ Periodically polls changes in gear configs. Gear configs are persisted in a shared data storage (e.g. NFS) and are cached in ETS in each erlang node. Note that gear configs ar...
28.596154
119
0.733692
ff190c0341714daa0a3c6cd36b46c39fcd790c72
1,016
ex
Elixir
api/knot/lib/knot.ex
lukasz-madon/knot
4c56af2d9d73b088af9e66b87d1ce85df752ad8d
[ "MIT" ]
null
null
null
api/knot/lib/knot.ex
lukasz-madon/knot
4c56af2d9d73b088af9e66b87d1ce85df752ad8d
[ "MIT" ]
null
null
null
api/knot/lib/knot.ex
lukasz-madon/knot
4c56af2d9d73b088af9e66b87d1ce85df752ad8d
[ "MIT" ]
null
null
null
defmodule Knot do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
31.75
82
0.706693
ff1917910a67e41984c738de36745920a553d048
270
ex
Elixir
lib/algoliax/application.ex
kianmeng/algoliax
7226c9e7a142f24522a52d390f0a828b85b3abf9
[ "BSD-2-Clause" ]
25
2020-12-18T10:05:35.000Z
2022-02-01T13:55:11.000Z
lib/algoliax/application.ex
kianmeng/algoliax
7226c9e7a142f24522a52d390f0a828b85b3abf9
[ "BSD-2-Clause" ]
12
2019-11-22T09:40:51.000Z
2020-08-19T06:09:15.000Z
lib/algoliax/application.ex
kianmeng/algoliax
7226c9e7a142f24522a52d390f0a828b85b3abf9
[ "BSD-2-Clause" ]
4
2021-02-05T15:21:44.000Z
2022-03-02T16:12:15.000Z
defmodule Algoliax.Application do @moduledoc false use Application def start(_type, _args) do children = [ Algoliax.SettingsStore ] opts = [strategy: :one_for_one, name: Algoliax.Supervisor] Supervisor.start_link(children, opts) end end
18
62
0.703704
ff191c9568e6282d475e338674bdde7debae1de9
269
ex
Elixir
lib/livebook/runtime/evaluator/identity_formatter.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/evaluator/identity_formatter.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/evaluator/identity_formatter.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Runtime.Evaluator.IdentityFormatter do @moduledoc false # The default formatter leaving the output unchanged. @behaviour Livebook.Runtime.Evaluator.Formatter @impl true def format_result(evaluation_response), do: evaluation_response end
24.454545
65
0.814126
ff1931557d2c4db7b79cc15637fe473b58742ea3
14,712
ex
Elixir
lib/utils/serialization_utils.ex
aeternity/aepp-sdk-elixir
a001b0eb264665623c9b05de25a71d1f13990679
[ "0BSD" ]
19
2019-04-16T07:27:53.000Z
2022-01-22T21:35:02.000Z
lib/utils/serialization_utils.ex
aeternity/aepp-sdk-elixir
a001b0eb264665623c9b05de25a71d1f13990679
[ "0BSD" ]
131
2019-04-05T13:01:37.000Z
2020-07-09T14:53:34.000Z
lib/utils/serialization_utils.ex
aeternity/aepp-sdk-elixir
a001b0eb264665623c9b05de25a71d1f13990679
[ "0BSD" ]
5
2019-04-11T19:21:42.000Z
2022-03-06T09:08:34.000Z
defmodule AeppSDK.Utils.SerializationUtils do @moduledoc false alias AeppSDK.Utils.{Encoding, Keys} alias AeternityNode.Model.{ ChannelCloseMutualTx, ChannelCloseSoloTx, ChannelCreateTx, ChannelDepositTx, ChannelForceProgressTx, ChannelSettleTx, ChannelSlashTx, ChannelSnapshotSol...
21.540264
97
0.582722
ff19517055642c79fdd075d29829091c3b5a615f
102
exs
Elixir
test/cheerland_reservas_web/views/layout_view_test.exs
fskinner/cheerland-reservas
48a782d7e49736a89b4fd2136c98906269b6351e
[ "MIT" ]
2
2019-03-14T20:03:44.000Z
2019-08-30T13:30:42.000Z
test/cheerland_reservas_web/views/layout_view_test.exs
fskinner/cheerland-reservas
48a782d7e49736a89b4fd2136c98906269b6351e
[ "MIT" ]
1
2021-05-08T08:23:18.000Z
2021-05-08T08:23:18.000Z
test/cheerland_reservas_web/views/layout_view_test.exs
fskinner/cheerland-reservas
48a782d7e49736a89b4fd2136c98906269b6351e
[ "MIT" ]
null
null
null
defmodule CheerlandReservasWeb.LayoutViewTest do use CheerlandReservasWeb.ConnCase, async: true end
25.5
48
0.862745
ff1997e97757c5d2bee811f70cc543872fb053ee
2,185
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/ios_device.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/testing/lib/google_api/testing/v1/model/ios_device.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/testing/lib/google_api/testing/v1/model/ios_device.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.017857
190
0.716705
ff1a8218dd566639c4268df0ce0ef10e1b3f2225
619
exs
Elixir
avatars/test/avatars_web/views/error_view_test.exs
derailed/ex_ray_tracers
a687baedde8c472ce426afba02902a336a403a7f
[ "Apache-2.0" ]
9
2017-10-29T17:35:14.000Z
2020-04-19T14:06:50.000Z
avatars/test/avatars_web/views/error_view_test.exs
derailed/ex_ray_tracers
a687baedde8c472ce426afba02902a336a403a7f
[ "Apache-2.0" ]
null
null
null
avatars/test/avatars_web/views/error_view_test.exs
derailed/ex_ray_tracers
a687baedde8c472ce426afba02902a336a403a7f
[ "Apache-2.0" ]
null
null
null
defmodule AvatarsWeb.ErrorViewTest do use AvatarsWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(AvatarsWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Page not found"}} end test ...
28.136364
66
0.654281
ff1a97a9792d2d69b90e6be55fd1e8aa72340c0c
873
ex
Elixir
elixir/lib/homework/transactions/transaction.ex
MitchellJeppson/DivvyPayHQ-web-homework
01dc6a7ee0173c92633d93f7ba7e9162b1189985
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions/transaction.ex
MitchellJeppson/DivvyPayHQ-web-homework
01dc6a7ee0173c92633d93f7ba7e9162b1189985
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions/transaction.ex
MitchellJeppson/DivvyPayHQ-web-homework
01dc6a7ee0173c92633d93f7ba7e9162b1189985
[ "MIT" ]
1
2021-03-30T07:41:56.000Z
2021-03-30T07:41:56.000Z
defmodule Homework.Transactions.Transaction do use Ecto.Schema import Ecto.Changeset alias Homework.Merchants.Merchant alias Homework.Users.User @primary_key {:id, :binary_id, autogenerate: true} schema "transactions" do field(:amount, :integer) field(:credit, :boolean, default: false) field(:d...
31.178571
103
0.710195
ff1aa032e281508e6bb14019549d2dbe8a95aa53
537
ex
Elixir
rocketpay/lib/rocketpay/accounts/withdraw.ex
Samuel-Ricardo/RocketPay
aeec9d00fd04de8b1541f5369dcdcb2cb5e03807
[ "MIT" ]
3
2021-02-24T02:55:37.000Z
2021-07-14T18:55:40.000Z
rocketpay/lib/rocketpay/accounts/withdraw.ex
Samuel-Ricardo/RocketPay
aeec9d00fd04de8b1541f5369dcdcb2cb5e03807
[ "MIT" ]
null
null
null
rocketpay/lib/rocketpay/accounts/withdraw.ex
Samuel-Ricardo/RocketPay
aeec9d00fd04de8b1541f5369dcdcb2cb5e03807
[ "MIT" ]
1
2021-03-13T01:32:40.000Z
2021-03-13T01:32:40.000Z
defmodule Rocketpay.Accounts.Withdraw do alias Ecto.Multi alias Rocketpay.Accounts.Operation alias Rocketpay.Repo def call(params) do params |> Operation.call(:withdraw) |> run_transaction() end # params = %{"id" => "37197d60-b600-4e46-be41-64d14d5cd052", "value" => "50.0"} |> Rocketpay...
22.375
105
0.651769
ff1abd8d99b5720ce5e237859594ddaae5ef43a5
723
ex
Elixir
lib/tw/http/response.ex
en30/tw
10c705953e9b3bf97abf9b4c221486976eac32d4
[ "MIT" ]
null
null
null
lib/tw/http/response.ex
en30/tw
10c705953e9b3bf97abf9b4c221486976eac32d4
[ "MIT" ]
null
null
null
lib/tw/http/response.ex
en30/tw
10c705953e9b3bf97abf9b4c221486976eac32d4
[ "MIT" ]
null
null
null
defmodule Tw.HTTP.Response do @moduledoc """ HTTP response data structure. """ defstruct [:status, :headers, :body] @type t :: %__MODULE__{ status: non_neg_integer(), headers: list({binary, binary}), body: nil | binary } @spec new(keyword) :: t @doc false def new...
22.59375
101
0.572614
ff1ac1ec60a3b2cc0cd3494594027ea20016f021
909
ex
Elixir
lib/tosh/application.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
lib/tosh/application.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
lib/tosh/application.ex
korczis/tosh
dc197f223b460e5769ceaa47d8058202aeab66b8
[ "MIT" ]
null
null
null
defmodule Tosh.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto repository Tosh.Repo, # St...
28.40625
63
0.707371
ff1b68df4b98947d0b5adedaeb6c4a762fe7f3aa
1,083
ex
Elixir
lib/cadet/accounts/game_states.ex
Source-Academy-Game/cadet
a46af782fec8866b86a232a0bc27f4cec0b2269c
[ "Apache-2.0" ]
null
null
null
lib/cadet/accounts/game_states.ex
Source-Academy-Game/cadet
a46af782fec8866b86a232a0bc27f4cec0b2269c
[ "Apache-2.0" ]
2
2020-04-22T09:06:38.000Z
2020-04-22T09:15:33.000Z
lib/cadet/accounts/game_states.ex
Source-Academy-Game/cadet
a46af782fec8866b86a232a0bc27f4cec0b2269c
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule Cadet.Accounts.GameStates do use Cadet, :context alias Cadet.Accounts.User @update_gamestate_roles ~w(student)a # currently in this module no error handling function # has been implemented yet def user_game_states(user) do user.game_states end def user_collectibles(user) do user.gam...
24.066667
80
0.658356
ff1b6abf727240177f12cabf09e4c8ff5e18feb4
2,308
ex
Elixir
youtube/groxio/tetris/lib/tetris_web.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/groxio/tetris/lib/tetris_web.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/groxio/tetris/lib/tetris_web.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule TetrisWeb 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 TetrisWeb, :controller use TetrisWeb, :view The definitions below will be executed for every view, controller, etc...
22.407767
78
0.680243
ff1b70a90fb05479cd34cca08a86ba91e8e56767
29,715
exs
Elixir
test/ecto/query/planner_test.exs
machineloop/ecto
26c1cb5591a27241067435aedec48c68d102fb8d
[ "Apache-2.0" ]
1
2019-05-03T08:51:16.000Z
2019-05-03T08:51:16.000Z
test/ecto/query/planner_test.exs
machineloop/ecto
26c1cb5591a27241067435aedec48c68d102fb8d
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
machineloop/ecto
26c1cb5591a27241067435aedec48c68d102fb8d
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../integration_test/support/types.exs", __DIR__ defmodule Ecto.Query.PlannerTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Query.Planner alias Ecto.Query.JoinExpr defmodule Comment do use Ecto.Schema schema "comments" do field :text, :string ...
38.843137
138
0.586337
ff1ba5f6d0f01aa02a802f922664652bec5ea4af
565
exs
Elixir
aoc-2019/day1/mix.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
aoc-2019/day1/mix.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
aoc-2019/day1/mix.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
defmodule Day1.MixProject do use Mix.Project def project do [ app: :day1, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicati...
19.482759
87
0.571681
ff1ba85675c1e237e186bbf9e01a2ae741963b8b
145
ex
Elixir
lib/pubsub/event.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
lib/pubsub/event.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
lib/pubsub/event.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
defmodule Piazza.PubSub.Event do defmacro __using__(_) do quote do defstruct [:item, :actor, :context, :source_pid] end end end
20.714286
54
0.682759
ff1bb2c212bef6b901a39b4598b51f9a368cb7ef
2,368
exs
Elixir
test/acceptance/ast/line_breaks_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/line_breaks_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/line_breaks_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Ast.LineBreaksTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 1, parse_html: 1] describe "Forced Line Breaks" do test "with two spaces" do markdown = "The \nquick" html = "<p>The<br />quick</p>\n" ast = parse_html(html) messag...
27.534884
58
0.538851
ff1bb78555e1d3b5b5d95691256f47fc27f820a4
704
exs
Elixir
.credo.exs
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
9
2019-03-16T21:24:57.000Z
2021-12-29T21:31:16.000Z
.credo.exs
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
13
2018-12-11T16:43:26.000Z
2022-02-09T23:08:01.000Z
.credo.exs
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
4
2019-09-18T00:54:04.000Z
2021-05-09T05:30:47.000Z
%{ configs: [ %{ name: "default", files: %{ included: ["lib/", "src/"], excluded: ["test"] }, checks: [ {Credo.Check.Consistency.TabsOrSpaces}, # For others you can also set parameters {Credo.Check.Readability.MaxLineLength, priority: :low, max_leng...
27.076923
81
0.5625
ff1bfd337e91f0ff1dde91f961b664cb329df337
862
exs
Elixir
mix.exs
sanderhahn/nimble_totp
1df26cb7470bc1fee34ee449f2ee222f0c02852e
[ "Apache-2.0" ]
238
2020-07-21T23:52:11.000Z
2022-03-31T08:23:32.000Z
mix.exs
sanderhahn/nimble_totp
1df26cb7470bc1fee34ee449f2ee222f0c02852e
[ "Apache-2.0" ]
13
2020-08-10T08:37:24.000Z
2022-02-02T07:42:27.000Z
mix.exs
sanderhahn/nimble_totp
1df26cb7470bc1fee34ee449f2ee222f0c02852e
[ "Apache-2.0" ]
12
2020-08-10T08:23:35.000Z
2022-02-24T06:59:50.000Z
defmodule NimbleTOTP.MixProject do use Mix.Project @version "0.1.2" @repo_url "https://github.com/dashbitco/nimble_totp" def project do [ app: :nimble_totp, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), # Hex package: pac...
16.576923
77
0.544084
ff1c2323bc8d74425b0ddb6e59821e6f9f24034c
28,832
ex
Elixir
lib/xema/validator.ex
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
lib/xema/validator.ex
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
lib/xema/validator.ex
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
defmodule Xema.Validator do @moduledoc """ This module contains all validators to check data against a schema. """ use Xema.Format import Xema.Utils alias Xema.{Behaviour, Ref, Schema} @compile { :inline, do_validate: 3, get_type: 1, struct?: 1, struct?: 2, type?: 2, types: 2, validate_by: 4 ...
29.480573
98
0.594791
ff1ca508590042917c2ce97a7c9726662a17e20c
511
ex
Elixir
lib/document_generator_web/views/error_view.ex
warpas/document_generator
1d9238b4e934461a36cc5f275ae173b47962074b
[ "MIT" ]
null
null
null
lib/document_generator_web/views/error_view.ex
warpas/document_generator
1d9238b4e934461a36cc5f275ae173b47962074b
[ "MIT" ]
null
null
null
lib/document_generator_web/views/error_view.ex
warpas/document_generator
1d9238b4e934461a36cc5f275ae173b47962074b
[ "MIT" ]
null
null
null
defmodule DocumentGeneratorWeb.ErrorView do use DocumentGeneratorWeb, :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 ...
30.058824
61
0.745597
ff1cb8f1ac63cbf600c180152d095a259670b0fd
316
ex
Elixir
lib/freshcom_web/controllers/refresh_token_controller.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
9
2018-12-16T14:02:59.000Z
2021-01-19T07:25:40.000Z
lib/freshcom_web/controllers/refresh_token_controller.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom_web/controllers/refresh_token_controller.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
4
2018-12-16T17:50:01.000Z
2021-01-19T07:25:51.000Z
defmodule FreshcomWeb.RefreshTokenController do use FreshcomWeb, :controller alias Freshcom.Identity action_fallback FreshcomWeb.FallbackController # RetrieveRefreshToken def show(conn, _) do conn |> build_request(:show) |> Identity.get_api_key() |> send_response(conn, :show) end end
19.75
48
0.740506
ff1cc299154a15162e4355eb102b5b0cf1990ec3
1,964
exs
Elixir
config/dev.exs
highmobility/bluetooth-websocket-server
512a6fab0db1821ddb99426c1bececa06b0b8dc1
[ "MIT" ]
10
2016-06-24T16:23:56.000Z
2021-02-16T07:56:51.000Z
config/dev.exs
highmobility/bluetooth-websocket-server
512a6fab0db1821ddb99426c1bececa06b0b8dc1
[ "MIT" ]
2
2017-10-15T11:28:54.000Z
2017-10-19T11:58:40.000Z
config/dev.exs
highmobility/bluetooth-websocket-server
512a6fab0db1821ddb99426c1bececa06b0b8dc1
[ "MIT" ]
2
2017-10-07T10:08:16.000Z
2020-11-01T08:44:18.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :bluetooth_websocket_server, BluetoothWebsocketS...
35.709091
170
0.715377
ff1cc5f97f0c53a5056a6fc3ff1db5e567da2e9b
4,636
ex
Elixir
expect/screenos_login.ex
mmmonk/crap
96ba81723f043503e7ed2f96ea727b524d22b83f
[ "MIT" ]
14
2015-01-14T15:53:22.000Z
2019-06-21T06:15:47.000Z
expect/screenos_login.ex
mmmonk/crap
96ba81723f043503e7ed2f96ea727b524d22b83f
[ "MIT" ]
1
2018-04-01T08:40:17.000Z
2020-06-24T10:05:33.000Z
expect/screenos_login.ex
mmmonk/crap
96ba81723f043503e7ed2f96ea727b524d22b83f
[ "MIT" ]
12
2015-05-13T10:52:04.000Z
2020-10-07T14:49:37.000Z
#!/usr/bin/expect -- # $Id: 20120812$ # $Date: 2012-08-12 08:02:52$ # $Author: Marek Lukaszuk$ proc help { } { global ip global name send_user "\033\[1;31m ----- Help ----- Connected to: $name Current Mgt IP is: $ip Ctrl+a h - this help, Ctrl+a ? - also this help, Ctrl+a c - basic config, Ctrl+a l - auto log...
18.693548
76
0.575712
ff1cf192ec4bc3ab0895f9be72991bd654efb4e3
1,204
exs
Elixir
apps/ut_monitor_fw/mix.exs
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
1
2017-02-10T17:41:02.000Z
2017-02-10T17:41:02.000Z
apps/ut_monitor_fw/mix.exs
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
null
null
null
apps/ut_monitor_fw/mix.exs
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
null
null
null
defmodule UtMonitorFw.Mixfile do use Mix.Project @target "linkit" def project do [app: :ut_monitor_fw, version: "0.0.1", target: @target, archives: [nerves_bootstrap: "~> 0.2.1"], deps_path: "deps/#{@target}", build_path: "_build/#{@target}", build_embedded: Mix.env == :prod, ...
24.571429
95
0.584718
ff1cf9537ece34339d948d630c3606eeec36ede2
42,305
exs
Elixir
test/browser_test.exs
letitcrash/elixir-browser
387455d9623f24a6cab05efb39551753a414aceb
[ "MIT" ]
46
2015-10-31T18:49:39.000Z
2018-09-14T04:32:35.000Z
test/browser_test.exs
letitcrash/elixir-browser
387455d9623f24a6cab05efb39551753a414aceb
[ "MIT" ]
17
2016-04-27T00:32:49.000Z
2018-09-20T23:33:43.000Z
test/browser_test.exs
letitcrash/elixir-browser
387455d9623f24a6cab05efb39551753a414aceb
[ "MIT" ]
16
2016-04-27T00:21:02.000Z
2018-09-10T04:32:23.000Z
defmodule BrowserTest do use ExUnit.Case use Plug.Test import Plug.Conn alias Browser.Ua test "returns empty string when Conn has no user-agent header" do assert conn(:get, "/") |> Ua.to_ua == "" end test "retrieves first UA when Conn has user-agent header" do conn = conn(:get, "/") |> pu...
29.236351
90
0.667652
ff1cfe8c937220ba6e46f241e2d730479ce686c8
44,424
ex
Elixir
lib/absinthe/schema/notation.ex
myronmarston/absinthe
d94d1bb5d9ede3a8715f5a6ce6ce607126d4d756
[ "MIT" ]
null
null
null
lib/absinthe/schema/notation.ex
myronmarston/absinthe
d94d1bb5d9ede3a8715f5a6ce6ce607126d4d756
[ "MIT" ]
null
null
null
lib/absinthe/schema/notation.ex
myronmarston/absinthe
d94d1bb5d9ede3a8715f5a6ce6ce607126d4d756
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.Notation do alias Absinthe.Blueprint.Schema alias Absinthe.Utils @moduledoc """ Provides a set of macro's to use when creating a schema. Especially useful when moving definitions out into a different module than the schema itself. ## Example defmodule MyAppWeb.Schema.Types...
24.182907
278
0.649199
ff1d069961b4a7c88789458a8152d04ce112411e
600
ex
Elixir
lib/gateway/rate_limit/common.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
1
2019-11-06T13:35:35.000Z
2019-11-06T13:35:35.000Z
lib/gateway/rate_limit/common.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
lib/gateway/rate_limit/common.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
defmodule Gateway.RateLimit.Common do @moduledoc false require Logger alias Gateway.RateLimit def now_unix do {megasecs, secs, microsecs} = :os.timestamp() megasecs * 1_000_000 + secs + microsecs / 1_000_000 end def ensure_table(table_name) do heir_pid = Process.whereis(RateLimit.TableOwner) ...
27.272727
82
0.71
ff1d6d7b3cc3ffeae27c875c8b9a5519b503a84b
1,489
ex
Elixir
example/backend/lib/backend_web/channels/user_socket.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
30
2020-11-10T07:32:36.000Z
2022-02-06T20:34:34.000Z
example/backend/lib/backend_web/channels/user_socket.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
22
2020-11-28T20:23:34.000Z
2022-03-23T22:32:52.000Z
example/backend/lib/backend_web/channels/user_socket.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
19
2020-11-10T14:22:05.000Z
2022-02-15T10:22:43.000Z
defmodule BackendWeb.UserSocket do use Phoenix.Socket ## Channels channel("channel1", BackendWeb.Channel1) channel("channel1:*", BackendWeb.Channel1) channel("channel2", BackendWeb.Channel2) channel("channel3", BackendWeb.Channel3) channel("presence:lobby", BackendWeb.PresenceChannel) # Socket params...
30.387755
83
0.696441
ff1d7880d433c655aab9b339bfe8a4c3c7d03faa
4,245
ex
Elixir
lib/epi_contacts/accounts/admin_token.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
lib/epi_contacts/accounts/admin_token.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
13
2021-06-29T04:35:41.000Z
2022-02-09T04:25:39.000Z
lib/epi_contacts/accounts/admin_token.ex
RatioPBC/epi-contacts
6c43eea52cbfe2097f48b02e3d0c8fce3b46f1ee
[ "Apache-2.0" ]
null
null
null
defmodule EpiContacts.Accounts.AdminToken do @moduledoc """ # Session storage for admins """ use Ecto.Schema import Ecto.Query @hash_algorithm :sha256 @rand_size 32 # It is very important to keep the reset password token expiry short, # since someone with access to the email may take over the accoun...
29.075342
105
0.686455
ff1dbe0f79c3858a6638224f950b59839c6cedcf
1,369
ex
Elixir
lib/gremlex/vertex.ex
anthonyfalzetti/gremlex
210ddbfb0ca9448e5e1ad910fc9ae055b4c1c44c
[ "MIT" ]
null
null
null
lib/gremlex/vertex.ex
anthonyfalzetti/gremlex
210ddbfb0ca9448e5e1ad910fc9ae055b4c1c44c
[ "MIT" ]
null
null
null
lib/gremlex/vertex.ex
anthonyfalzetti/gremlex
210ddbfb0ca9448e5e1ad910fc9ae055b4c1c44c
[ "MIT" ]
null
null
null
defmodule Gremlex.Vertex do alias Gremlex.Vertex alias Gremlex.Deserializer @type t :: %Gremlex.Vertex{label: String.t(), id: number(), properties: map()} @enforce_keys [:label, :id] @derive [Poison.Encoder] defstruct [:label, :id, :properties] def add_properties(%Vertex{properties: nil} = vertex, prope...
28.520833
81
0.598247
ff1dd454d312810ea4677c553e2fe62691b21ee9
529
ex
Elixir
lib/mix_test_interactive/command/all_tests.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
32
2021-02-19T17:48:55.000Z
2022-03-28T21:52:01.000Z
lib/mix_test_interactive/command/all_tests.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
6
2021-03-02T08:48:58.000Z
2021-11-19T16:58:42.000Z
lib/mix_test_interactive/command/all_tests.ex
kianmeng/mix_test_interactive
6ce4ea1a1cbe8c926089b5cbb55556a991f5b2e1
[ "MIT" ]
2
2021-11-19T16:32:07.000Z
2022-03-25T10:32:22.000Z
defmodule MixTestInteractive.Command.AllTests do @moduledoc """ Run all tests, removing any flags or filters. """ alias MixTestInteractive.{Command, Settings} use Command, command: "a", desc: "run all tests" @impl Command def applies?(%Settings{failed?: true}), do: true def applies?(%Settings{pattern...
25.190476
56
0.689981
ff1df1c873e7975cade8bd8617f3c30866498122
76
exs
Elixir
backend/test/test_helper.exs
maxrchung/FunctionalVote
95c54c7614a74718e14c6fe74fd0bd4e84f85444
[ "MIT" ]
10
2020-03-13T12:56:06.000Z
2021-06-28T22:13:27.000Z
backend/test/test_helper.exs
maxrchung/FunctionalVote
95c54c7614a74718e14c6fe74fd0bd4e84f85444
[ "MIT" ]
132
2020-02-08T02:01:03.000Z
2022-02-18T20:38:38.000Z
backend/test/test_helper.exs
maxrchung/FunctionalVote
95c54c7614a74718e14c6fe74fd0bd4e84f85444
[ "MIT" ]
1
2021-03-17T06:22:55.000Z
2021-03-17T06:22:55.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(FunctionalVote.Repo, :manual)
25.333333
60
0.802632
ff1e345baee8209b7fc1217f4314d680258a5cf7
247
ex
Elixir
gaius/lib/gaius.ex
zndx/gaius
01701d355a3fcbeab49c1f7c6283157357d57336
[ "MIT" ]
1
2020-10-06T02:01:03.000Z
2020-10-06T02:01:03.000Z
gaius/lib/gaius.ex
zndx/gaius
01701d355a3fcbeab49c1f7c6283157357d57336
[ "MIT" ]
null
null
null
gaius/lib/gaius.ex
zndx/gaius
01701d355a3fcbeab49c1f7c6283157357d57336
[ "MIT" ]
null
null
null
defmodule Gaius do @moduledoc """ Gaius 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
24.7
66
0.748988
ff1e4f3bc3b8dd6eb6aacbe76b9526306c8326ab
1,167
ex
Elixir
lib/bittrex/deposits.ex
straw-hat-team/bittrex
3b6d5c9559d473b685bec7e70d2cd58501805ded
[ "MIT" ]
9
2017-11-17T21:07:50.000Z
2018-01-19T09:53:03.000Z
lib/bittrex/deposits.ex
straw-hat-team/bittrex
3b6d5c9559d473b685bec7e70d2cd58501805ded
[ "MIT" ]
27
2017-12-13T12:21:10.000Z
2019-11-01T10:25:39.000Z
lib/bittrex/deposits.ex
straw-hat-llc/elixir_bittrex
3b6d5c9559d473b685bec7e70d2cd58501805ded
[ "MIT" ]
5
2017-11-20T20:04:43.000Z
2018-10-03T16:47:37.000Z
defmodule Bittrex.Deposits do @moduledoc """ Implements /deposits endpoints. """ alias StrawHat.Response alias Bittrex.{Client, Client.Request, Deposit} @doc """ List historical deposits. """ @spec get_deposits(%Client{}, %{ status: String.t(), currency_symbol: String.t(), ...
27.785714
84
0.631534
ff1e58b407a7a467f65e77ac66ee3c2a022090e8
317
exs
Elixir
priv/repo/migrations/20180427194318_create_messages.exs
kenforthewin/mentat
417ce989e13f2f08990b872027ce8dcb3a1e6e99
[ "MIT" ]
88
2018-06-17T17:36:56.000Z
2021-11-20T20:29:27.000Z
priv/repo/migrations/20180427194318_create_messages.exs
kenforthewin/scalar
417ce989e13f2f08990b872027ce8dcb3a1e6e99
[ "MIT" ]
47
2018-05-12T00:12:37.000Z
2018-06-16T19:52:52.000Z
priv/repo/migrations/20180427194318_create_messages.exs
kenforthewin/scalar
417ce989e13f2f08990b872027ce8dcb3a1e6e99
[ "MIT" ]
6
2018-06-17T17:37:11.000Z
2020-04-12T04:05:49.000Z
defmodule App.Repo.Migrations.CreateMessages do use Ecto.Migration def change do create table(:messages) do add :body, :text add :team_id, :integer add :user_id, :integer timestamps() end create index(:messages, [:team_id]) create index(:messages, [:user_id]) end end
18.647059
47
0.649842
ff1e62dd1308bcfc26c6fe2e37e9e628f5404bb7
1,821
exs
Elixir
test/recipe/children_watch_test.exs
Zubale/zookeeper-elixir
5f4ed6c1de20bd30e506c57d7d3b1bf4239bb6b0
[ "MIT" ]
null
null
null
test/recipe/children_watch_test.exs
Zubale/zookeeper-elixir
5f4ed6c1de20bd30e506c57d7d3b1bf4239bb6b0
[ "MIT" ]
1
2021-05-31T17:13:27.000Z
2021-05-31T17:13:27.000Z
test/recipe/children_watch_test.exs
Zubale/zookeeper-elixir
5f4ed6c1de20bd30e506c57d7d3b1bf4239bb6b0
[ "MIT" ]
null
null
null
defmodule Zookeeper.ChildrenWatchTest do use ExUnit.Case alias Zookeeper.Client, as: ZK alias Zookeeper.ChildrenWatch, as: CW # TODO: test session lost setup_all do {:ok, pid} = ZK.start() pid |> cleanup {:ok, pid: pid} end setup %{pid: pid} = context do on_exit(context, fn -> cleanup(...
26.014286
69
0.590884
ff1e68413bea951ba2182645c439f24b50be1bf5
4,949
ex
Elixir
lib/kino.ex
maartenvanvliet/kino
259d93f5d0dab9a085eaaa8d9eb0824063be83a2
[ "Apache-2.0" ]
null
null
null
lib/kino.ex
maartenvanvliet/kino
259d93f5d0dab9a085eaaa8d9eb0824063be83a2
[ "Apache-2.0" ]
null
null
null
lib/kino.ex
maartenvanvliet/kino
259d93f5d0dab9a085eaaa8d9eb0824063be83a2
[ "Apache-2.0" ]
null
null
null
defmodule Kino do @moduledoc """ Client-driven interactive widgets for Livebook. Kino is the library used by Livebook to render rich and interactive output directly from your Elixir code. Kino renders any data structure that implements the `Kino.Render` protocol, falling back to the `inspect/2` representa...
24.869347
72
0.621338
ff1e73ff44e0a3b58ed747882e32472aaec771c2
220
ex
Elixir
lib/parseus/validators/inclusion_validator.ex
surgeventures/parseus
3c26c41dff8bdfb9851e5ebea1be2a4fa4ea6bd2
[ "MIT" ]
2
2017-10-18T17:53:43.000Z
2020-05-01T23:31:36.000Z
lib/parseus/validators/inclusion_validator.ex
surgeventures/parseus
3c26c41dff8bdfb9851e5ebea1be2a4fa4ea6bd2
[ "MIT" ]
null
null
null
lib/parseus/validators/inclusion_validator.ex
surgeventures/parseus
3c26c41dff8bdfb9851e5ebea1be2a4fa4ea6bd2
[ "MIT" ]
null
null
null
defmodule Parseus.InclusionValidator do @moduledoc false def call(input, allowed_values) do if input in allowed_values do :ok else {:error, nil, allowed_values: allowed_values} end end end
18.333333
51
0.7
ff1e82da060e61f743bdd20eed48e237e7b1e92c
214
exs
Elixir
test/test_helper.exs
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
test/test_helper.exs
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
test/test_helper.exs
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
# Wallaby comfiguration Application.put_env(:wallaby, :base_url, AwesomeWeb.Endpoint.url) {:ok, _} = Application.ensure_all_started(:wallaby) ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Awesome.Repo, :manual)
23.777778
65
0.780374
ff1e98a780e9d5c83e637fc913d6fabede07088d
1,531
exs
Elixir
apps/tai/test/tai/venues/boot/products_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/test/tai/venues/boot/products_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/test/tai/venues/boot/products_test.exs
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Venues.Boot.ProductsTest do use ExUnit.Case, async: false defmodule MyAdapter do def products(_) do products = [ struct(Tai.Venues.Product, symbol: :btc_usd), struct(Tai.Venues.Product, symbol: :eth_usd) ] {:ok, products} end end setup do on_exit(fn...
24.693548
85
0.582626
ff1e9deb85896d05577ddd3c1a94a6afd18e092e
2,751
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/invideo_promotion.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/invideo_promotion.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/invideo_promotion.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...
49.125
363
0.74482
ff1eb81359f01bb22a247fd7bc85e5298db512a8
1,109
exs
Elixir
config/config.exs
joe-maguire/irc
28117ab38976d20d959bab031e954ce4dbdb4957
[ "MIT" ]
1
2018-04-04T23:27:07.000Z
2018-04-04T23:27:07.000Z
config/config.exs
joe-maguire/irc
28117ab38976d20d959bab031e954ce4dbdb4957
[ "MIT" ]
null
null
null
config/config.exs
joe-maguire/irc
28117ab38976d20d959bab031e954ce4dbdb4957
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.774194
73
0.749324
ff1ecf3c20f789ed334c6a58d279cc93fa0415ef
2,120
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context_bak_import_options_encryption_options.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context_bak_import_options_encryption_options.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/import_context_bak_import_options_encryption_options.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.551724
241
0.729245
ff1ef7effafb58ec71d801eda5296674dbdbb778
337
exs
Elixir
priv/repo/migrations/02_create_org_tag.exs
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
2
2017-06-08T23:28:13.000Z
2017-06-08T23:28:16.000Z
priv/repo/migrations/02_create_org_tag.exs
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
null
null
null
priv/repo/migrations/02_create_org_tag.exs
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
null
null
null
defmodule Blog.Repo.Migrations.CreateBlog.Org.Tag do use Ecto.Migration def change do create table(:org_tags) do add :name, :string add :slug, :string add :active, :boolean, default: true, null: false end create unique_index(:org_tags, [:name]) create unique_index(:org_tags, [:s...
19.823529
55
0.664688
ff1f118f9aa901897d345bffbb7c382a0cdf9d0d
1,030
ex
Elixir
test/support/conn_case.ex
ConnorRigby/lou
5fd68f99b72c82bd4cdd9a6ddeccbe967f7a74a1
[ "MIT" ]
1
2019-10-23T12:17:34.000Z
2019-10-23T12:17:34.000Z
test/support/conn_case.ex
ConnorRigby/lou
5fd68f99b72c82bd4cdd9a6ddeccbe967f7a74a1
[ "MIT" ]
null
null
null
test/support/conn_case.ex
ConnorRigby/lou
5fd68f99b72c82bd4cdd9a6ddeccbe967f7a74a1
[ "MIT" ]
null
null
null
defmodule LouWeb.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. Finally, if the te...
26.410256
65
0.712621
ff1f202e07d54da04339ca618d8a5896b73cf3e7
5,641
exs
Elixir
lib/mix/test/mix/umbrella_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/mix/test/mix/umbrella_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/umbrella_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.UmbrellaTest do use MixTest.Case test "compiles umbrella" do in_fixture "umbrella_dep/deps/umbrella", fn -> Mix.Project.in_project(:umbrella, ".", fn _ -> Mix.Task.run "compile" assert_received { :mix_shell, :info, ["==> bar"...
30.491892
83
0.58128
ff1f7655b2dd5e7d3ab5f8464691eb7a6c962fb1
6,170
ex
Elixir
lib/mix/tasks/talon.gen.components.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
170
2017-05-25T15:09:53.000Z
2021-07-09T04:04:14.000Z
lib/mix/tasks/talon.gen.components.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
78
2017-05-25T09:41:55.000Z
2019-01-04T20:53:35.000Z
lib/mix/tasks/talon.gen.components.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
8
2017-06-24T12:28:06.000Z
2018-09-17T16:11:56.000Z
defmodule Mix.Tasks.Talon.Gen.Components do @moduledoc """ Create the installed components. mix talon.gen.components theme This is a supporting mix task that is used by the talon.gen.theme task. It is the foundation for an optional component installer. ## Options * --root-path=lib/my_app/talon -- ...
29.951456
94
0.666775
ff1f97b2ef7f7b4794aab7b90cf95663c52eacf5
561
ex
Elixir
lib/mbanking_web/views/changeset_view.ex
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "MIT" ]
null
null
null
lib/mbanking_web/views/changeset_view.ex
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "MIT" ]
null
null
null
lib/mbanking_web/views/changeset_view.ex
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "MIT" ]
null
null
null
defmodule MbankingWeb.ChangesetView do use MbankingWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `MbankingWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset,...
28.05
65
0.73975
ff1ff02ad327957850407c409ec8207ca7861bd8
929
ex
Elixir
lib/canvas/resources/user.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
lib/canvas/resources/user.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
lib/canvas/resources/user.ex
acu-online/canvas
594e435abe8907097a3a66d25627e96cb940b07a
[ "MIT" ]
null
null
null
defmodule Canvas.Resources.User do @moduledoc """ Represents an User. See: - https://canvas.instructure.com/doc/api/users - https://canvas.instructure.com/doc/api/users#User """ @type t :: %__MODULE__{ id: integer, name: String.t(), sortable_name: String.t(), shor...
29.03125
74
0.586652
ff201812345f6b83721c010ca486f673954c3477
2,355
exs
Elixir
09-ping.exs
alexdaube/30-days-of-elixir
a5e12805be61d8e39f1e500fcb99930799368723
[ "MIT" ]
null
null
null
09-ping.exs
alexdaube/30-days-of-elixir
a5e12805be61d8e39f1e500fcb99930799368723
[ "MIT" ]
null
null
null
09-ping.exs
alexdaube/30-days-of-elixir
a5e12805be61d8e39f1e500fcb99930799368723
[ "MIT" ]
null
null
null
# NOTE: I just recently tried running this on my Mac OS machine. # Unfortunately, there seems to be a problem spawning 254 `ping` commands. I'm not sure what to do. # If you want to see this script run on Mac, change line 54 to 1..100 so you can see something happen. :-/ defmodule Ping do @moduledoc """ Ping a cla...
26.166667
106
0.614437
ff201ddca740a72e0530a2fc8944503dfb979f8e
1,027
ex
Elixir
lib/credo/cli/output/formatter/json.ex
cblage/credo
00d0c4875c293d992a3084d2fa1dee36dc71a235
[ "MIT" ]
null
null
null
lib/credo/cli/output/formatter/json.ex
cblage/credo
00d0c4875c293d992a3084d2fa1dee36dc71a235
[ "MIT" ]
null
null
null
lib/credo/cli/output/formatter/json.ex
cblage/credo
00d0c4875c293d992a3084d2fa1dee36dc71a235
[ "MIT" ]
null
null
null
defmodule Credo.CLI.Output.Formatter.JSON do alias Credo.Issue alias Credo.CLI.Output.UI def print_issues(issues) do %{ "issues" => Enum.map(issues, &to_json/1) } |> print_map() end def print_map(map) do UI.puts(JSON.encode!(map)) end def to_json( %Issue{ check: ...
21.395833
62
0.557936
ff2022ab9a197a668c45c4ca8823057d5e1e688c
1,044
exs
Elixir
mix.exs
thiamsantos/spandex_redix
4bceef03410b0282a780ad602910fdebc2a9ff66
[ "Apache-2.0" ]
1
2020-02-15T23:17:51.000Z
2020-02-15T23:17:51.000Z
mix.exs
thiamsantos/spandex_redix
4bceef03410b0282a780ad602910fdebc2a9ff66
[ "Apache-2.0" ]
null
null
null
mix.exs
thiamsantos/spandex_redix
4bceef03410b0282a780ad602910fdebc2a9ff66
[ "Apache-2.0" ]
null
null
null
defmodule SpandexRedix.MixProject do use Mix.Project def project do [ app: :spandex_redix, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: "Tracing integration between redix and spandex", package: package(), nam...
21.306122
74
0.576628
ff202833fd1f7f1d373c127c442be9c4ff8fab9a
61,169
ex
Elixir
lib/simple_pool/v1/monitoring_framework/environment_manager/pool.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
null
null
null
lib/simple_pool/v1/monitoring_framework/environment_manager/pool.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
null
null
null
lib/simple_pool/v1/monitoring_framework/environment_manager/pool.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.MonitoringFramework.EnvironmentPool do #alias Noizu.Scaff...
44.486545
226
0.51137
ff204a0c5a27b166049e51b82d13c697b9e089f8
1,612
ex
Elixir
lib/forus_web.ex
finalclass/forus
f745d3ef63684b8fa61a904d4032b5ae26931943
[ "MIT" ]
null
null
null
lib/forus_web.ex
finalclass/forus
f745d3ef63684b8fa61a904d4032b5ae26931943
[ "MIT" ]
1
2018-06-19T10:38:48.000Z
2018-06-19T10:38:48.000Z
lib/forus_web.ex
finalclass/forus
f745d3ef63684b8fa61a904d4032b5ae26931943
[ "MIT" ]
null
null
null
defmodule ForusWeb 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 ForusWeb, :controller use ForusWeb, :view The definitions below will be executed for every view, controller, etc, s...
23.362319
69
0.683002
ff207264b994e666a306b84e601fecf2179ccb82
2,111
exs
Elixir
test/sanbase/auth/apikey/apikey_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/sanbase/auth/apikey/apikey_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/sanbase/auth/apikey/apikey_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Accounts.ApiKeyTest do use Sanbase.DataCase, async: false alias Sanbase.Accounts.{ User, Apikey } setup do {:ok, user} = User.find_or_insert_by(:email, "as819asdnmaso1011@santiment.net") %{ user: user } end test "get user by apikey", %{user: user} do {:ok,...
31.044118
87
0.668404
ff207f2aaa4e103fa30d5b67f602cf2859a13b55
2,970
ex
Elixir
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/audit_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...
59.4
1,106
0.748485
ff209b4685a9ef36476498fc0af1003666789447
1,627
ex
Elixir
lib/cloudinary/transformation/effect/preview.ex
h-ikeda/cloudinary-elixir
5e70aedb6d1e51839f1e21c49b40293036b99efd
[ "MIT" ]
1
2021-05-23T09:17:44.000Z
2021-05-23T09:17:44.000Z
lib/cloudinary/transformation/effect/preview.ex
h-ikeda/cloudinary-elixir
5e70aedb6d1e51839f1e21c49b40293036b99efd
[ "MIT" ]
44
2020-05-15T03:36:36.000Z
2022-03-23T21:39:11.000Z
lib/cloudinary/transformation/effect/preview.ex
h-ikeda/cloudinary-elixir
5e70aedb6d1e51839f1e21c49b40293036b99efd
[ "MIT" ]
null
null
null
defmodule Cloudinary.Transformation.Effect.Preview do @moduledoc false defguardp is_duration(duration) when is_number(duration) and duration > 0 defguardp is_max_seg(max_seg) when is_integer(max_seg) and max_seg > 0 @spec to_url_string(%{ optional(:duration) => number, optional(:max_segment...
37.837209
96
0.738783
ff20a81db47409fb9d1cd6aecb5b9f811be4b2b1
24,852
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/reports.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/reports.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/reports.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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...
41.282392
187
0.612868