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
652f7cfb1601616e134c2ae122d694e72369a0b8
475
exs
Elixir
alex_story+elixir/maze_jam/apps/generator_display/test/generator_display_web/views/error_view_test.exs
NashFP/maze-jam
6896a0e09bd7fdc2e18688e067eff983d01cd6a5
[ "MIT" ]
null
null
null
alex_story+elixir/maze_jam/apps/generator_display/test/generator_display_web/views/error_view_test.exs
NashFP/maze-jam
6896a0e09bd7fdc2e18688e067eff983d01cd6a5
[ "MIT" ]
null
null
null
alex_story+elixir/maze_jam/apps/generator_display/test/generator_display_web/views/error_view_test.exs
NashFP/maze-jam
6896a0e09bd7fdc2e18688e067eff983d01cd6a5
[ "MIT" ]
null
null
null
defmodule GeneratorDisplayWeb.ErrorViewTest do use GeneratorDisplayWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(GeneratorDisplayWeb.ErrorView, "404.html", []) == "Not Found" en...
27.941176
77
0.72
652fa6bb68d4580da0564a5c5784b71e7ce7a494
14,074
ex
Elixir
test/elixir/lib/couch/db_test.ex
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
1
2020-09-11T19:23:27.000Z
2020-09-11T19:23:27.000Z
test/elixir/lib/couch/db_test.ex
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
test/elixir/lib/couch/db_test.ex
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
defmodule Couch.DBTest do @moduledoc false import ExUnit.Callbacks, only: [on_exit: 1] import ExUnit.Assertions, only: [assert: 1, assert: 2] def set_db_context(context) do context = case context do %{:with_db_name => true} -> Map.put(context, :db_name, random_db_name()) %...
25.222222
91
0.569064
652fc5427890073a554661c4aeb476cbb4183252
836
exs
Elixir
apps/etv_data/mix.exs
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
2
2020-01-13T09:34:04.000Z
2021-05-19T07:51:07.000Z
apps/etv_data/mix.exs
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
null
null
null
apps/etv_data/mix.exs
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
2
2018-09-01T20:58:11.000Z
2021-05-19T07:51:11.000Z
defmodule ETV.Data.MixProject do use Mix.Project def project do [ app: :etv_data, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.6", start_permanent: Mix.env...
18.577778
56
0.513158
652fc8a44af51fef4cabab64499376e1217ffd53
1,495
ex
Elixir
lib/phoenix/pubsub/adapter.ex
zillou/phoenix_pubsub
3067de09f82954780bbeaf2582bb3a8a541025a3
[ "MIT" ]
null
null
null
lib/phoenix/pubsub/adapter.ex
zillou/phoenix_pubsub
3067de09f82954780bbeaf2582bb3a8a541025a3
[ "MIT" ]
null
null
null
lib/phoenix/pubsub/adapter.ex
zillou/phoenix_pubsub
3067de09f82954780bbeaf2582bb3a8a541025a3
[ "MIT" ]
null
null
null
defmodule Phoenix.PubSub.Adapter do @moduledoc """ Specification to implement a custom PubSub adapter. """ @type adapter_name :: atom @doc """ Returns the node name as an atom or a binary. """ @callback node_name(adapter_name) :: Phoenix.PubSub.node_name() @doc """ Returns a child specification t...
31.808511
65
0.639465
652fc8f1f6da96aa4661a60e2ebfd8ca797862fd
2,018
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_import_data_operation_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_import_data_operation_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_import_data_operation_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.633333
118
0.736373
652fe91f6fd698e935097a96aeeef0e600dc95e6
1,757
exs
Elixir
clients/eventarc/mix.exs
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/eventarc/mix.exs
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/eventarc/mix.exs
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
26.223881
99
0.646557
6530306ce896d1161db678a6a9d53d8b062815c0
13,158
ex
Elixir
deps/ecto/lib/ecto.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
defmodule Ecto do @moduledoc ~S""" Ecto is split into 4 main components: * `Ecto.Repo` - repositories are wrappers around the database. Via the repository, we can create, update, destroy and query existing entries. A repository needs an adapter and a URL to communicate to the database * `Ecto....
33.652174
87
0.687718
653048c9a09d3bb336e7a67be8e0685e428edf4c
4,061
ex
Elixir
lib/instream/decoder/csv.ex
mneudert/instream
9a86c43014fcc490fe4a931026f74cd896f78cc7
[ "Apache-2.0" ]
204
2015-06-04T06:38:57.000Z
2022-01-30T08:56:33.000Z
lib/instream/decoder/csv.ex
mneudert/instream
9a86c43014fcc490fe4a931026f74cd896f78cc7
[ "Apache-2.0" ]
71
2015-05-24T02:08:28.000Z
2022-01-10T17:13:27.000Z
lib/instream/decoder/csv.ex
mneudert/instream
9a86c43014fcc490fe4a931026f74cd896f78cc7
[ "Apache-2.0" ]
41
2015-09-05T21:24:04.000Z
2021-11-10T02:52:48.000Z
defmodule Instream.Decoder.CSV do @moduledoc false alias Instream.Decoder.RFC3339 NimbleCSV.define(__MODULE__.Parser, separator: ",", escape: "\"", moduledoc: false) @doc """ Converts a full CSV response into a list of maps. """ @spec parse(binary) :: [map] def parse(response) do response |> ...
31.238462
95
0.595666
6530c4ab952dcd21caa69696a942f0a5997ae47b
1,751
exs
Elixir
elixir_backend/clubhouse_phx/mix.exs
yusufaine/nus-clubhouse
eae8223d26111bab5e981c95b539c964293908e8
[ "MIT" ]
1
2021-05-16T08:17:37.000Z
2021-05-16T08:17:37.000Z
elixir_backend/clubhouse_phx/mix.exs
yusufaine/nus-clubhouse
eae8223d26111bab5e981c95b539c964293908e8
[ "MIT" ]
116
2021-05-29T16:32:51.000Z
2021-08-13T16:05:29.000Z
elixir_backend/clubhouse_phx/mix.exs
yusufaine/nus-clubhouse
eae8223d26111bab5e981c95b539c964293908e8
[ "MIT" ]
2
2021-05-23T07:12:40.000Z
2021-10-11T02:59:40.000Z
defmodule ClubhousePhx.MixProject do use Mix.Project def project do [ app: :clubhouse_phx, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: ali...
24.661972
84
0.561965
6530dbc2d59ae5de6e43d1b97fa60d02fa65a7d5
2,067
ex
Elixir
server/lib/realtime_web/channels/user_socket.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
1
2022-01-05T02:39:26.000Z
2022-01-05T02:39:26.000Z
server/lib/realtime_web/channels/user_socket.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
server/lib/realtime_web/channels/user_socket.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
defmodule RealtimeWeb.UserSocket do use Phoenix.Socket alias RealtimeWeb.ChannelsAuthorization defoverridable init: 1 def init(state) do res = {:ok, {_, socket}} = super(state) Realtime.Metrics.SocketMonitor.track_socket(socket) res end ## Channels channel "realtime:*", RealtimeWeb.Realtim...
29.528571
83
0.649734
6530dcfa24308d0e97a448dca9033fd5451ccd87
10,996
ex
Elixir
debian/manpage.xml.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
debian/manpage.xml.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
debian/manpage.xml.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!-- `xsltproc -''-nonet \ -''-param man.charmap.use.subset "0" \ -''-param make.year.ranges "1" \ -''-param make.single.year.r...
37.657534
84
0.631957
6530df53ca472c12c88efca360f587ecf7b13913
745
ex
Elixir
lib/kurpo_bot/message_store.ex
hpopp/kurpo-bot
cefc8772c0f5c404c139677bffd54b3da46ba430
[ "MIT" ]
null
null
null
lib/kurpo_bot/message_store.ex
hpopp/kurpo-bot
cefc8772c0f5c404c139677bffd54b3da46ba430
[ "MIT" ]
null
null
null
lib/kurpo_bot/message_store.ex
hpopp/kurpo-bot
cefc8772c0f5c404c139677bffd54b3da46ba430
[ "MIT" ]
null
null
null
defmodule KurpoBot.MessageStore do use GenServer def start_link(args \\ %{}) do GenServer.start_link(__MODULE__, args, name: __MODULE__) end def init(_args) do {:ok, %{messages: []}} end def put_messages(messages) do GenServer.call(__MODULE__, {:put_messages, messages}) end def get_rando...
22.575758
65
0.667114
653104a8979cbb9c4c00f91b936a9a250a99eacb
193
exs
Elixir
test/controllers/page_controller_test.exs
chasm/elm_pack
5bbdc4df335376170b6d161bfc65f9fc7eca2648
[ "MIT" ]
1
2016-08-02T00:36:46.000Z
2016-08-02T00:36:46.000Z
test/controllers/page_controller_test.exs
chasm/elm_pack
5bbdc4df335376170b6d161bfc65f9fc7eca2648
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
chasm/elm_pack
5bbdc4df335376170b6d161bfc65f9fc7eca2648
[ "MIT" ]
null
null
null
defmodule ElmPack.PageControllerTest do use ElmPack.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.444444
60
0.673575
65311caf3395d12e34240a0a6aab80ef8e09dd69
2,293
ex
Elixir
lib/ssl_certs/cli/install.ex
aforward/sslcerts
cd0d1310102e509b4f00d24040af939e4cefd395
[ "MIT" ]
9
2017-08-11T14:43:09.000Z
2021-03-27T21:07:41.000Z
lib/ssl_certs/cli/install.ex
aforward/sslcerts
cd0d1310102e509b4f00d24040af939e4cefd395
[ "MIT" ]
null
null
null
lib/ssl_certs/cli/install.ex
aforward/sslcerts
cd0d1310102e509b4f00d24040af939e4cefd395
[ "MIT" ]
1
2017-09-14T20:08:53.000Z
2017-09-14T20:08:53.000Z
defmodule Sslcerts.Cli.Install do use Mix.Task use FnExpr alias Sslcerts.Io.Shell alias Sslcerts.Cli.Parser @moduledoc """ Install / Initialize your server to generate SSL certs sslcerts install This will install the [bits](https://github.com/capbash/bits) to help with installing other apps, as...
24.655914
99
0.620584
653133bc1340e550e7e9bb785b01c070bf75a3ef
2,376
ex
Elixir
lib/shopifex/plug/shopify_webhook.ex
versus-systems/shopifex
48b1e7e6b3b5cf31010097ad768325f783168124
[ "Apache-2.0" ]
null
null
null
lib/shopifex/plug/shopify_webhook.ex
versus-systems/shopifex
48b1e7e6b3b5cf31010097ad768325f783168124
[ "Apache-2.0" ]
null
null
null
lib/shopifex/plug/shopify_webhook.ex
versus-systems/shopifex
48b1e7e6b3b5cf31010097ad768325f783168124
[ "Apache-2.0" ]
null
null
null
defmodule Shopifex.Plug.ShopifyWebhook do import Plug.Conn require Logger def init(options) do # initialize options options end @doc """ Ensures that the connection has a valid Shopify webhook HMAC token and puts the shop in conn.private """ def call(conn, _) do {their_hmac, our_hmac} = ...
26.10989
152
0.473906
653163b25dd0a98a4c536b32cf2b743219f69168
1,084
exs
Elixir
test/mix/tasks/sugar/gen/controller_test.exs
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
374
2015-01-03T00:16:25.000Z
2022-02-02T21:08:48.000Z
test/mix/tasks/sugar/gen/controller_test.exs
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
44
2015-01-01T11:38:12.000Z
2020-11-18T19:48:01.000Z
test/mix/tasks/sugar/gen/controller_test.exs
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
34
2015-01-04T13:42:41.000Z
2020-07-18T17:27:27.000Z
defmodule Mix.Tasks.Sugar.Gen.ControllerTest do use ExUnit.Case, async: true import ExUnit.CaptureIO test "run_detached/1" do assigns = [ app: :test_app, module: "TestApp", path: "test/fixtures" ] capture_io(fn -> Mix.Tasks.Sugar.Gen.Controller.run_detached(assigns ++ [name: "...
25.209302
76
0.645756
6531700f6abbb9ede55b4805ad6b2567aea70e5c
3,578
ex
Elixir
lib/nerves_firmware_ssh/fwup.ex
mattludwigs/nerves_firmware_ssh
3e55942d0f08d8e83a6065b42f3482697f17dff7
[ "Apache-2.0" ]
null
null
null
lib/nerves_firmware_ssh/fwup.ex
mattludwigs/nerves_firmware_ssh
3e55942d0f08d8e83a6065b42f3482697f17dff7
[ "Apache-2.0" ]
null
null
null
lib/nerves_firmware_ssh/fwup.ex
mattludwigs/nerves_firmware_ssh
3e55942d0f08d8e83a6065b42f3482697f17dff7
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.Firmware.SSH.Fwup do use GenServer require Logger @moduledoc false def start_link(cm) do GenServer.start_link(__MODULE__, [cm]) end def send_chunk(pid, chunk) do GenServer.call(pid, {:send, chunk}) end def init([cm]) do Process.monitor(cm) fwup = System.find_executab...
30.844828
91
0.620738
65319205df6a42e479d79f2527c20250ac3a13ad
706
exs
Elixir
topic/concurrency/sevenModels/Actors/hello_actors.exs
liuyang1/test
a4560e0c9ffd0bc054d55bbcf12a894ab5b7d417
[ "MIT" ]
8
2015-06-07T13:25:48.000Z
2022-03-22T23:14:50.000Z
topic/concurrency/sevenModels/Actors/hello_actors.exs
liuyang1/test
a4560e0c9ffd0bc054d55bbcf12a894ab5b7d417
[ "MIT" ]
30
2016-01-29T01:36:41.000Z
2018-09-19T07:01:22.000Z
topic/concurrency/sevenModels/Actors/hello_actors.exs
liuyang1/test
a4560e0c9ffd0bc054d55bbcf12a894ab5b7d417
[ "MIT" ]
null
null
null
defmodule Talker do def loop do receive do {:greet, name} -> IO.puts("Hello #{name}") {:praise, name} -> IO.puts("#{name}, you're amazing") {:celebrate, name, age} -> IO.puts("Here's to another #{age} years, #{name}") # how to exit thread, process or actor {:shutdown} -> exit(:normal) ...
26.148148
83
0.606232
6531ac4df0fe2e1c5160268ed3c0ecd4d414c44d
1,831
ex
Elixir
implementations/elixir/lib/router/protocol/errors.ex
nondejus/ockam
4dba6c3b9d377643cc8a0e46a8c0e632e8aa48ad
[ "Apache-2.0" ]
null
null
null
implementations/elixir/lib/router/protocol/errors.ex
nondejus/ockam
4dba6c3b9d377643cc8a0e46a8c0e632e8aa48ad
[ "Apache-2.0" ]
null
null
null
implementations/elixir/lib/router/protocol/errors.ex
nondejus/ockam
4dba6c3b9d377643cc8a0e46a8c0e632e8aa48ad
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Router.Protocol.EncodeError do defexception [:message] @type t :: %__MODULE__{message: String.t()} def new({:invalid_leb128, v}) do %__MODULE__{message: "value cannot be encoded as an LEB128 integer: `#{inspect(v)}`"} end end defmodule Ockam.Router.Protocol.DecodeError do defexception [...
25.788732
92
0.640087
6531c03fb2495c001ced8924d63a585d328e6525
340
ex
Elixir
lib/todo_api_web/auth/pipeline.ex
westrik/todo-ex
6ab0c61b91d3e76239e77e988e51aa0b06f30408
[ "MIT" ]
1
2020-11-12T08:26:51.000Z
2020-11-12T08:26:51.000Z
lib/todo_api_web/auth/pipeline.ex
westrik/todo-ex
6ab0c61b91d3e76239e77e988e51aa0b06f30408
[ "MIT" ]
null
null
null
lib/todo_api_web/auth/pipeline.ex
westrik/todo-ex
6ab0c61b91d3e76239e77e988e51aa0b06f30408
[ "MIT" ]
null
null
null
defmodule TodoApiWeb.Auth.Pipeline do use Guardian.Plug.Pipeline, otp_app: :busi_api, module: TodoApiWeb.Auth.Guardian, error_handler: TodoApiWeb.Auth.ErrorHandler plug Guardian.Plug.VerifyHeader plug Guardian.Plug.EnsureAuthenticated plug Guardian.Pl...
34
73
0.682353
6531c30fe2202a8c1bb2a966173d87a866455d1a
1,997
exs
Elixir
mix.exs
salemove/opentelemetry_logger_metadata
775f9254fe1e343ac877a2ed0ac73ad39225bc29
[ "MIT" ]
null
null
null
mix.exs
salemove/opentelemetry_logger_metadata
775f9254fe1e343ac877a2ed0ac73ad39225bc29
[ "MIT" ]
4
2021-09-20T21:29:19.000Z
2022-03-31T18:02:47.000Z
mix.exs
salemove/opentelemetry_logger_metadata
775f9254fe1e343ac877a2ed0ac73ad39225bc29
[ "MIT" ]
null
null
null
defmodule OpentelemetryLoggerMetadata.MixProject do use Mix.Project def project do {app, desc} = load_app() config = load_config() [ app: app, version: version(Keyword.fetch!(desc, :vsn)), elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(Keyword.fetch!(c...
26.626667
104
0.589885
6531c96fc4ca4e36c5481d246c01fe65696bc03f
894
exs
Elixir
test/influxdb_v1/connection/authorization_test.exs
coder-from-hell/instream
f062e924b74a403e0f41b5374d9ed0e00ae59507
[ "Apache-2.0" ]
204
2015-06-04T06:38:57.000Z
2022-01-30T08:56:33.000Z
test/influxdb_v1/connection/authorization_test.exs
coder-from-hell/instream
f062e924b74a403e0f41b5374d9ed0e00ae59507
[ "Apache-2.0" ]
71
2015-05-24T02:08:28.000Z
2022-01-10T17:13:27.000Z
test/influxdb_v1/connection/authorization_test.exs
coder-from-hell/instream
f062e924b74a403e0f41b5374d9ed0e00ae59507
[ "Apache-2.0" ]
41
2015-09-05T21:24:04.000Z
2021-11-10T02:52:48.000Z
defmodule Instream.InfluxDBv1.Connection.AuthorizationTest do use ExUnit.Case, async: true @moduletag :"influxdb_exclude_2.0" defmodule UnauthorizedConnection do use Instream.Connection, config: [ auth: [username: "unauthorized", password: "unauthorized"], database: "ignored", ...
26.294118
81
0.659955
6531d13b34b18715d54039f30f6e1c459efaacef
3,642
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/client.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/client.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/client.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...
45.525
254
0.689731
6531df9fd211f0669e9aeed2d53b1a9568c95a29
3,115
ex
Elixir
lib/chalk.ex
thalesflores/chalk
220a613ee28cbed595687cc7d4a96767efe468f8
[ "MIT" ]
1
2020-12-16T12:02:47.000Z
2020-12-16T12:02:47.000Z
lib/chalk.ex
thalesflores/chalk
220a613ee28cbed595687cc7d4a96767efe468f8
[ "MIT" ]
null
null
null
lib/chalk.ex
thalesflores/chalk
220a613ee28cbed595687cc7d4a96767efe468f8
[ "MIT" ]
null
null
null
defmodule Chalk do @moduledoc """ `Chalk` is a client to make your life easy when you need to request GraphQL API's """ alias __MODULE__.{GraphQLResponse, Request} @doc """ Make a GrahpQL query to a client and returns %GraphQLResponse{} struct ## Arguments * request_params, a keyword that could ...
32.789474
99
0.652648
65321787a656bec30a56f117ebc95cad48999576
517
ex
Elixir
src/myapp/apps/services/web/router.ex
ecamacho/elixir_at_work
c8e4c604c925455b4794931c2b9c15ef3774005f
[ "MIT" ]
null
null
null
src/myapp/apps/services/web/router.ex
ecamacho/elixir_at_work
c8e4c604c925455b4794931c2b9c15ef3774005f
[ "MIT" ]
null
null
null
src/myapp/apps/services/web/router.ex
ecamacho/elixir_at_work
c8e4c604c925455b4794931c2b9c15ef3774005f
[ "MIT" ]
null
null
null
defmodule Services.Router do use Services.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Services do pipe_th...
19.148148
57
0.675048
65322d433baabf5cd7ccf072b3b99938807d00c1
764
exs
Elixir
mix.exs
scdehmlow/dealer-reviews
cc106e90e4c460c0484991078e2b966b1b367889
[ "MIT" ]
null
null
null
mix.exs
scdehmlow/dealer-reviews
cc106e90e4c460c0484991078e2b966b1b367889
[ "MIT" ]
null
null
null
mix.exs
scdehmlow/dealer-reviews
cc106e90e4c460c0484991078e2b966b1b367889
[ "MIT" ]
null
null
null
defmodule DealerReviews.MixProject do use Mix.Project def project do [ app: :dealer_reviews, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), escript: [main_module: DealerReviews.Cli] ] end # Run "mix help compile.app" to learn...
23.151515
87
0.570681
65327c0399b7a94b23077802593914e915951c6d
1,160
ex
Elixir
lib/conduit/support/middleware/uniqueness.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
lib/conduit/support/middleware/uniqueness.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
lib/conduit/support/middleware/uniqueness.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
defmodule Conduit.Support.Middleware.Uniqueness do @behaviour Commanded.Middleware defprotocol UniqueFields do @fallback_to_any true @doc "Returns unique fields for the command" def unique(command) end defimpl UniqueFields, for: Any do def unique(_command), do: [] end alias Conduit.Suppor...
24.680851
99
0.665517
6532a833f125e9bfcf948eae4c79227b121a7f40
2,821
exs
Elixir
mix.exs
aguxez/boost
d3ba111ffd608985479b3e8349fb0c8bab7ec853
[ "BSL-1.0" ]
null
null
null
mix.exs
aguxez/boost
d3ba111ffd608985479b3e8349fb0c8bab7ec853
[ "BSL-1.0" ]
null
null
null
mix.exs
aguxez/boost
d3ba111ffd608985479b3e8349fb0c8bab7ec853
[ "BSL-1.0" ]
null
null
null
defmodule Exboost.MixProject do # Boost Software License - Version 1.0 - August 17th, 2003 # # Permission is hereby granted, free of charge, to any person or organization # obtaining a copy of the software and accompanying documentation covered by # this license (the "Software") to use, reproduce, display, di...
32.802326
96
0.677419
6532d9969456e2dd0f76e52e43bac106a2d2a9fd
3,313
exs
Elixir
mix.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
mix.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
null
null
null
mix.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
null
null
null
defmodule Credo.Mixfile do use Mix.Project @version "1.5.0-dev" def project do [ app: :credo, version: @version, elixir: ">= 1.5.0", escript: [main_module: Credo.CLI], build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), test_...
26.086614
96
0.573196
6532ea32eaa6b2e33bcc0fc7d9e72f9a22165ca9
1,916
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/color_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/color_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/color_info.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 ...
34.836364
118
0.707724
65332e1df564bb2af21dd0e8d60eb3188ddebbfd
2,514
ex
Elixir
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_list_prediction_api_key_registrations_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_list_prediction_api_key_registrations_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_list_prediction_api_key_registrations_response.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...
38.676923
222
0.775656
653376809514820397a790b17298ec928da3cec7
8,374
ex
Elixir
lib/web/router.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/web/router.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/web/router.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Web.Router do use Web, :router @report_errors Application.get_env(:ex_venture, :errors)[:report] if @report_errors do use Plug.ErrorHandler use Sentry.Plug end pipeline :browser do plug(:accepts, ["html", "json"]) plug(:fetch_session) plug(:fetch_flash) plug(:protect_from_...
35.333333
98
0.66599
65337954af5ca7aaad0dadca303c2b8ddcaf506d
1,269
exs
Elixir
raindrops/raindrops_test.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
raindrops/raindrops_test.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
raindrops/raindrops_test.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
null
null
null
if System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("example.exs") else Code.load_file("raindrops.exs") end ExUnit.start defmodule RaindropsTest do use ExUnit.Case, async: true test "1" do assert Raindrops.convert(1) == "1" end test "3" do assert Raindrops.convert(3) == "Pling" end ...
16.697368
54
0.636722
65337afab4ba38434958ab323c6a0300182727be
532
exs
Elixir
config/test.exs
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
3
2019-03-05T16:45:08.000Z
2019-08-23T12:10:57.000Z
config/test.exs
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
2
2021-03-08T23:53:02.000Z
2021-05-08T00:07:08.000Z
config/test.exs
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "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 :ar_weekly, ArWeeklyWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :ar_weekly, ArWee...
25.333333
63
0.746241
653393391f2b5448ff7b3ff8013a65179d0b3ddd
1,812
exs
Elixir
mix.exs
amplifiedai/telemetry_decorator
ced760655fd8c531ebc1e249e76d97d863988df0
[ "Apache-2.0" ]
12
2020-08-10T00:30:24.000Z
2020-11-03T19:48:00.000Z
mix.exs
amplifiedai/telemetry_decorator
ced760655fd8c531ebc1e249e76d97d863988df0
[ "Apache-2.0" ]
2
2020-08-15T06:57:58.000Z
2021-05-31T04:46:19.000Z
mix.exs
amplifiedai/telemetry_decorator
ced760655fd8c531ebc1e249e76d97d863988df0
[ "Apache-2.0" ]
2
2020-09-12T16:09:22.000Z
2020-09-24T03:27:56.000Z
defmodule TelemetryDecorator.MixProject do use Mix.Project @version "1.0.1" def project do [ app: :telemetry_decorator, deps: deps(), description: "A function decorator for telemetry", docs: docs(), elixir: "~> 1.8", homepage_url: "https://github.com/amplifiedai/opentelem...
27.454545
94
0.583885
6533aeaa9fa6e7158380c9f27e401875726a0d47
981
ex
Elixir
lib/surface/components/form/color_input.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
lib/surface/components/form/color_input.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
lib/surface/components/form/color_input.ex
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.ColorInput do @moduledoc """ An input field that let the user specify a **color**, either with a text field or a color picker interface. Provides a wrapper for Phoenix.HTML.Form's `color_input/3` function. All options passed via `opts` will be sent to `color_input/3`, `valu...
28.028571
83
0.681957
6533f12b57d3993dc2a1db6caf2f893092b07e6f
1,503
exs
Elixir
test/cli_test.exs
Quanttek/noaa_cli
c9ba3bac9c9fc552cf85e9674875062585ab9601
[ "Apache-2.0" ]
null
null
null
test/cli_test.exs
Quanttek/noaa_cli
c9ba3bac9c9fc552cf85e9674875062585ab9601
[ "Apache-2.0" ]
null
null
null
test/cli_test.exs
Quanttek/noaa_cli
c9ba3bac9c9fc552cf85e9674875062585ab9601
[ "Apache-2.0" ]
null
null
null
defmodule CliTest do use ExUnit.Case #doctest Noaa alias Noaa.Station import Noaa.CLI, only: [parse_args: 1] test ":help returned by option parsing with -h and --help options" do assert(parse_args(["-h", "anything"]) == :help) assert(parse_args(["--help", "anything"]) == :help) end test "co...
37.575
100
0.5835
653405b7de0cfb12057b0109df40b47a8b87d862
3,810
ex
Elixir
clients/iap/lib/google_api/iap/v1/model/resource.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/iap/lib/google_api/iap/v1/model/resource.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/iap/lib/google_api/iap/v1/model/resource.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...
68.035714
846
0.751706
6534095bfb33a5b647d607c41a1433707b401884
1,494
ex
Elixir
lib/sidemash/sdk/publish_rtmp.ex
sidemash/sdk-elixir
6535e07f65a4f2fe57434b50a11bfd0a7500f1e4
[ "Apache-2.0" ]
null
null
null
lib/sidemash/sdk/publish_rtmp.ex
sidemash/sdk-elixir
6535e07f65a4f2fe57434b50a11bfd0a7500f1e4
[ "Apache-2.0" ]
null
null
null
lib/sidemash/sdk/publish_rtmp.ex
sidemash/sdk-elixir
6535e07f65a4f2fe57434b50a11bfd0a7500f1e4
[ "Apache-2.0" ]
null
null
null
# Copyright © 2020 Sidemash Cloud # # 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...
32.478261
79
0.710174
65340f39083423f48fb56d542a7a46de9d3a7493
70
ex
Elixir
jobsPortalService/lib/models/login.ex
andraspatka/jobportal-ms
006c8ca212f88566113c4b5c00dfe1d4e421c034
[ "MIT" ]
1
2021-05-25T18:24:27.000Z
2021-05-25T18:24:27.000Z
jobsPortalService/lib/models/login.ex
andraspatka/jobportal-ms
006c8ca212f88566113c4b5c00dfe1d4e421c034
[ "MIT" ]
1
2021-05-23T09:50:10.000Z
2021-05-23T09:50:10.000Z
jobsPortalService/lib/models/login.ex
andraspatka/jobportal-ms
006c8ca212f88566113c4b5c00dfe1d4e421c034
[ "MIT" ]
null
null
null
defmodule Models.Login do defstruct email: nil, password: nil end
17.5
39
0.757143
653428ae35b023d1c2d073b333e605011c66984f
1,503
ex
Elixir
clients/civic_info/lib/google_api/civic_info/v2/model/field_metadata_proto.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/field_metadata_proto.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/field_metadata_proto.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...
31.978723
107
0.75183
65342ff079f1692602fb97d4d787ae06843026c9
833
exs
Elixir
test/sockets/user_socket_test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
test/sockets/user_socket_test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
test/sockets/user_socket_test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
defmodule SprintPoker.UserSocketTest do use SprintPoker.ChannelCase alias SprintPoker.UserSocket alias SprintPoker.User test "connecting to socket creates a new user" do {:ok, socket} = UserSocket.connect(%{}, socket()) assert [user] = Repo.all(User) assert socket.assigns.user_id == user.id end...
29.75
84
0.685474
65347ee3cb20eee1082f7bbe80cee8470ba014e2
2,049
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_review_document_operation_metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_review_document_operation_metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_review_document_operation_metadata.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...
34.728814
183
0.75549
6534885210b9f70755a5e847fb577411787bd676
300
ex
Elixir
lib/plausible/repo.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
lib/plausible/repo.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
lib/plausible/repo.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule Plausible.Repo do use Ecto.Repo, otp_app: :plausible, adapter: Ecto.Adapters.Postgres use Phoenix.Pagination, per_page: 18 defmacro __using__(_) do quote do alias Plausible.Repo import Ecto import Ecto.Query, only: [from: 1, from: 2] end end end
18.75
49
0.67
6534b7913982d95c7b43dceaea17464826a1063c
1,543
ex
Elixir
clients/api_gateway/lib/google_api/api_gateway/v1alpha2/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/api_gateway/lib/google_api/api_gateway/v1alpha2/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/api_gateway/lib/google_api/api_gateway/v1alpha2/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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.738095
345
0.760207
6534fdbb73ab9ed667d760eb295b8b2456e9fbf3
2,413
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/serializers/activity_log_serializer.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/lib/ewallet/web/v1/serializers/activity_log_serializer.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/lib/ewallet/web/v1/serializers/activity_log_serializer.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO 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 in ...
33.054795
74
0.74223
6535071d3dbb87d9f9724522644dfcb316910c31
72
ex
Elixir
apps/concierge_site/lib/views/email_view.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/lib/views/email_view.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/lib/views/email_view.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.EmailView do use ConciergeSite.Web, :view end
18
36
0.819444
65350c3371dba9eadb97eb9bc065378fe2d08715
187
exs
Elixir
lib/mix/test/fixtures/umbrella_dep/deps/umbrella/mix.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/mix/test/fixtures/umbrella_dep/deps/umbrella/mix.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/test/fixtures/umbrella_dep/deps/umbrella/mix.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
defmodule Umbrella.Mixfile do use Mix.Project def project do [ apps_path: "apps", deps: deps ] end defp deps do [ { :some_dep, path: "deps/some_dep" } ] end end
14.384615
44
0.614973
65351c9c636caf73660c2984d98509083a1dea25
60
exs
Elixir
config/config.exs
unnawut/flow-genstage-broadway-demo
e016984ae5a3f348452c71f2126fa0f27e03564a
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
config/config.exs
unnawut/flow-genstage-broadway-demo
e016984ae5a3f348452c71f2126fa0f27e03564a
[ "MIT" ]
null
null
null
config/config.exs
unnawut/flow-genstage-broadway-demo
e016984ae5a3f348452c71f2126fa0f27e03564a
[ "MIT" ]
null
null
null
use Mix.Config import_config "../apps/*/config/config.exs"
15
43
0.733333
6535241e624efc52ae53d07fc6f76c1752fe14bc
201
exs
Elixir
test/controllers/page_controller_test.exs
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
defmodule FunInTheSun.PageControllerTest do use FunInTheSun.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.333333
60
0.686567
65356a7a39d4050a46120777a292a1292e24281b
1,254
ex
Elixir
app/lib/ubg5/projector.ex
finalclass/ubg5
237c51f4a54668cc8164382a3895d9dcf07ae6e0
[ "MIT" ]
null
null
null
app/lib/ubg5/projector.ex
finalclass/ubg5
237c51f4a54668cc8164382a3895d9dcf07ae6e0
[ "MIT" ]
2
2021-03-09T13:44:12.000Z
2021-05-10T05:02:52.000Z
app/lib/ubg5/projector.ex
finalclass/ubg5
237c51f4a54668cc8164382a3895d9dcf07ae6e0
[ "MIT" ]
null
null
null
defmodule Ubg5.Projector do use GenServer alias Ubg5.Bibles def start_link(state) do GenServer.start_link(__MODULE__, state, name: __MODULE__) end def get_verse(proj_id) do GenServer.call(__MODULE__, {:get_verse, proj_id}) end def set_verse(proj_id, bible, book_name, chapter_number, verse_numbe...
24.115385
98
0.681021
65356dae8a40aa1c4434e028a696ef7d6edf8181
573
ex
Elixir
ex/loqui/lib/loqui/protocol/compressor.ex
NorthIsUp/loqui
8d394a7951fd3a82d109becc1aebbd9e7ccc894a
[ "MIT" ]
147
2017-10-02T18:16:52.000Z
2020-03-16T03:26:40.000Z
ex/loqui/lib/loqui/protocol/compressor.ex
NorthIsUp/loqui
8d394a7951fd3a82d109becc1aebbd9e7ccc894a
[ "MIT" ]
14
2017-09-19T16:13:32.000Z
2019-06-25T21:18:47.000Z
ex/loqui/lib/loqui/protocol/compressor.ex
NorthIsUp/loqui
8d394a7951fd3a82d109becc1aebbd9e7ccc894a
[ "MIT" ]
25
2017-10-01T20:10:31.000Z
2020-03-19T14:00:20.000Z
defmodule Loqui.Protocol.Compressor do @moduledoc """ A compressor A compressor is concerned with compressing and decompressing iodata. """ @type t :: module @doc """ Compresses encoded data before sending it across the network. """ @callback compress(iodata) :: iodata @doc """ Decompresse...
19.1
55
0.685864
65358534cfe763bf9a74e8acc849d19703ce064a
1,121
exs
Elixir
config/config.exs
samphilipd/blankable
b942295082110d85e08f4eb490798722a6724410
[ "MIT" ]
21
2017-06-20T16:46:09.000Z
2019-12-09T14:49:52.000Z
config/config.exs
samsondav/blankable
b942295082110d85e08f4eb490798722a6724410
[ "MIT" ]
1
2017-11-27T18:20:13.000Z
2018-08-29T06:57:18.000Z
config/config.exs
samsondav/blankable
b942295082110d85e08f4eb490798722a6724410
[ "MIT" ]
3
2017-11-03T01:16:51.000Z
2019-10-11T01:38:18.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.16129
73
0.752007
653588aacd8b665b30ac2bc7eb251d3d150ac7bc
180
ex
Elixir
lib/blog_web/controllers/traditional_blog_controllers/admin_controller.ex
albertschr/blog_supported_blockchain
ee9578c8ebddd3e72ff5eaabefc2d724c3e2a9a1
[ "MIT" ]
1
2019-02-06T12:29:35.000Z
2019-02-06T12:29:35.000Z
lib/blog_web/controllers/traditional_blog_controllers/admin_controller.ex
albertschr/blog_supported_blockchain
ee9578c8ebddd3e72ff5eaabefc2d724c3e2a9a1
[ "MIT" ]
null
null
null
lib/blog_web/controllers/traditional_blog_controllers/admin_controller.ex
albertschr/blog_supported_blockchain
ee9578c8ebddd3e72ff5eaabefc2d724c3e2a9a1
[ "MIT" ]
null
null
null
defmodule BlogWeb.AdminController do use BlogWeb, :controller import BlogWeb.UserController, only: [load_current_user: 2] plug(:load_current_user when action in [:show]) end
30
61
0.788889
65358cfa77cfee5a116391c4ec8857d6da649f4f
3,702
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/query_metadata.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/query_metadata.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/query_metadata.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...
46.860759
302
0.703404
65358da7798877b25cac357147eec101b7514aec
1,155
exs
Elixir
config/config.exs
sunnys/dbfs
bf0e01b969d1107d12b8b7c0130dad17187b027b
[ "MIT" ]
57
2018-01-22T22:42:16.000Z
2022-02-18T05:20:25.000Z
config/config.exs
sunnys/dbfs
bf0e01b969d1107d12b8b7c0130dad17187b027b
[ "MIT" ]
2
2018-05-14T20:50:41.000Z
2021-12-12T18:15:59.000Z
config/config.exs
sunnys/dbfs
bf0e01b969d1107d12b8b7c0130dad17187b027b
[ "MIT" ]
15
2017-11-11T04:25:04.000Z
2022-03-07T04:55:19.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config zero_key = File.read!("priv/keys/zero.pvt") # General application configuration con...
26.860465
86
0.739394
65358f55ef84867aa512d3bd21d93471b64a59dc
3,299
exs
Elixir
apps/itest/test/itest/watcher_status_test.exs
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
4
2020-10-31T15:16:16.000Z
2021-02-06T22:44:19.000Z
apps/itest/test/itest/watcher_status_test.exs
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
4
2020-11-02T17:12:09.000Z
2021-02-10T20:35:19.000Z
apps/itest/test/itest/watcher_status_test.exs
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO 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 in ...
36.252747
119
0.720218
6535991cb6fce3299a686eba4ee8bba8f26c1d39
3,247
ex
Elixir
test/support/test_storage.ex
kianmeng/quantum-core
24997fb649d778f654c1adad0006f7ad529a1184
[ "Apache-2.0" ]
1,092
2018-03-23T02:29:33.000Z
2022-03-30T19:17:30.000Z
test/support/test_storage.ex
kianmeng/quantum-core
24997fb649d778f654c1adad0006f7ad529a1184
[ "Apache-2.0" ]
168
2018-03-22T12:52:28.000Z
2022-03-19T22:49:17.000Z
test/support/test_storage.ex
kianmeng/quantum-core
24997fb649d778f654c1adad0006f7ad529a1184
[ "Apache-2.0" ]
79
2018-03-22T12:50:24.000Z
2022-03-07T08:40:50.000Z
defmodule Quantum.Storage.Test do @moduledoc """ Test implementation of a `Quantum.Storage`. """ @behaviour Quantum.Storage use GenServer def start_link(_opts), do: send_and_wait(:jobs, :start_link, :ignore) @doc false @impl GenServer def init(_args), do: {:ok, nil} @impl Quantum.Storage def ...
25.566929
95
0.684632
6535ecf56270c9293b99de8ed434947eaaa3793f
460
ex
Elixir
lib/ex_platform_web/hooks/current_user.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
129
2021-05-30T10:10:59.000Z
2022-03-27T14:42:48.000Z
lib/ex_platform_web/hooks/current_user.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
48
2021-05-30T21:34:03.000Z
2022-02-21T14:20:04.000Z
lib/ex_platform_web/hooks/current_user.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
12
2021-05-30T22:03:49.000Z
2022-02-08T19:59:16.000Z
defmodule ExPlatformWeb.Hooks.CurrentUser do @moduledoc """ Fetches the current user """ import Phoenix.LiveView alias ExPlatform.Accounts def on_mount(:fetch_current_user, _params, %{"user_token" => user_token}, socket) do {:cont, assign(socket, :current_user, Accounts.get_user_by_session_token(user_...
28.75
90
0.741304
653628909735de5713db3e1304a9845b8a75d678
1,283
ex
Elixir
web/controllers/crawl_controller.ex
av-ast/scrawler
4fe7e59dd35aad977fa0d73b400461bcccfe727e
[ "MIT" ]
null
null
null
web/controllers/crawl_controller.ex
av-ast/scrawler
4fe7e59dd35aad977fa0d73b400461bcccfe727e
[ "MIT" ]
null
null
null
web/controllers/crawl_controller.ex
av-ast/scrawler
4fe7e59dd35aad977fa0d73b400461bcccfe727e
[ "MIT" ]
null
null
null
defmodule Scrawler.CrawlController do use Scrawler.Web, :controller alias Scrawler.Crawl alias Scrawler.Factories.CrawlFactory def index(conn, _params) do crawls = Crawl |> Repo.all() |> Repo.preload([:user]) render(conn, "index.html", crawls: crawls) end def new(conn, _params) do changeset =...
27.297872
74
0.639906
653629cbca5e684a85b4dc8fa25601ef7598343b
18,327
ex
Elixir
lib/livebook_web/live/file_select_component.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/file_select_component.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/file_select_component.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.FileSelectComponent do use LivebookWeb, :live_component # The component expects: # # * `file` - the currently entered file # # * `running_files` - the list of notebook files that are already # linked to running sessions # # * `extnames` - a list of file extensions that...
32.322751
151
0.56736
65362be24d3773fc89d359b1111e6315e2269fb5
1,541
exs
Elixir
mix.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
null
null
null
mix.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
null
null
null
mix.exs
erlsci/nx
4b99478523da55d65bd9e5f568d9a639cc568e26
[ "Apache-2.0" ]
1
2022-03-26T12:13:19.000Z
2022-03-26T12:13:19.000Z
defmodule Nx.MixProject do use Mix.Project @source_url "https://github.com/elixir-nx/nx" @version "0.1.0-dev" def project do [ app: :nx, name: "Nx", version: @version, elixir: "~> 1.11", deps: deps(), docs: docs() ] end def application do [extra_application...
22.014286
68
0.482154
6536514336a9d4c371781ed5337c76a9925633e1
851
exs
Elixir
prag-programing/Part1/ch13proj/issues/mix.exs
mpahrens/fun-with-elixir
8e6720c7c2004421f674bb450045df0ab59b9c74
[ "Apache-2.0" ]
1
2017-03-29T04:10:50.000Z
2017-03-29T04:10:50.000Z
prag-programing/Part1/ch13proj/issues/mix.exs
mpahrens/fun-with-elixir
8e6720c7c2004421f674bb450045df0ab59b9c74
[ "Apache-2.0" ]
null
null
null
prag-programing/Part1/ch13proj/issues/mix.exs
mpahrens/fun-with-elixir
8e6720c7c2004421f674bb450045df0ab59b9c74
[ "Apache-2.0" ]
null
null
null
defmodule Issues.Mixfile do use Mix.Project def project do [app: :issues, version: "0.0.1", name: "Issues", elixir: "~> 1.0", escript: escript_config, deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application...
20.756098
77
0.553467
65366a8b062c0f6f80b29f9efd91217cd0d5cb98
12,960
exs
Elixir
apps/andi/test/integration/andi_web/controllers/dataset_controller_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/test/integration/andi_web/controllers/dataset_controller_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/test/integration/andi_web/controllers/dataset_controller_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Andi.DatasetControllerTest do use ExUnit.Case use Andi.DataCase use Tesla use Properties, otp_app: :andi @moduletag shared_data_connection: true import SmartCity.TestHelper, only: [eventually: 1] import SmartCity.Event, only: [dataset_disable: 0, dataset_delete: 0, dataset_update: 0] alias ...
31.532847
135
0.55733
65366d247b879aa32a4013ab2fb0326ff333d512
739
exs
Elixir
test/protobuf/protoc/generator/enum_test.exs
gialib/protobuf-elixir
25598a2ae13eee56550467901d789dc9b21aab17
[ "MIT" ]
2
2019-06-01T05:52:52.000Z
2019-06-01T06:03:10.000Z
test/protobuf/protoc/generator/enum_test.exs
gialib/protobuf-elixir
25598a2ae13eee56550467901d789dc9b21aab17
[ "MIT" ]
3
2019-09-19T14:52:12.000Z
2019-09-24T15:45:07.000Z
test/protobuf/protoc/generator/enum_test.exs
gialib/protobuf-elixir
25598a2ae13eee56550467901d789dc9b21aab17
[ "MIT" ]
1
2018-12-03T07:04:27.000Z
2018-12-03T07:04:27.000Z
defmodule Protobuf.Protoc.Generator.EnumTest do use ExUnit.Case, async: true alias Protobuf.Protoc.Context alias Protobuf.Protoc.Generator.Enum, as: Generator test "generate/2 generates enum type messages" do ctx = %Context{package: ""} desc = %Google.Protobuf.EnumDescriptorProto{ name: "EnumFo...
28.423077
72
0.657645
65368e60a104ee5caa8538d9876aed74b72128ef
315
ex
Elixir
lib/impl/lower_caser/list.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/impl/lower_caser/list.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/impl/lower_caser/list.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
1
2021-11-09T14:20:08.000Z
2021-11-09T14:20:08.000Z
defimpl Digger.LowerCaser, for: List do alias Digger.LowerCaser alias Digger.Opts.LowerCaser, as: Opts def lowercase_first([], _opts), do: [] def lowercase_first([h | t], opts) do opts = Opts.set_options(opts) [LowerCaser.lowercase_first(h, opts)] ++ LowerCaser.lowercase_first(t, opts) end end
26.25
80
0.711111
6536b5b3217c587937c96c71063b280680f817ac
2,896
ex
Elixir
clients/language/lib/google_api/language/v1/model/part_of_speech.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/part_of_speech.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/language/lib/google_api/language/v1/model/part_of_speech.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.2
150
0.640884
6536d54355e3ff3492cd0144e3048a06c1d54c80
245
ex
Elixir
lib/matryoshka/plugs/serve_image_plug.ex
gravityblast/matryoshka
f31da33b3ffab626db4bdeab84b2300a02780dc6
[ "MIT" ]
2
2019-03-03T20:32:55.000Z
2019-05-14T11:46:56.000Z
lib/matryoshka/plugs/serve_image_plug.ex
gravityblast/matryoshka
f31da33b3ffab626db4bdeab84b2300a02780dc6
[ "MIT" ]
null
null
null
lib/matryoshka/plugs/serve_image_plug.ex
gravityblast/matryoshka
f31da33b3ffab626db4bdeab84b2300a02780dc6
[ "MIT" ]
null
null
null
defmodule Matryoshka.ServeImagePlug do use Matryoshka.BasePlug def call(conn, _opts) do path = "#{image_path(conn)}-converted" conn |> add_option("-write", path) |> execute |> send_file(200, path) |> halt end end
17.5
42
0.640816
6536fe839556fe12191687569eb654659f7ceaf6
896
ex
Elixir
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.185185
74
0.762277
6537121088dcddfe709d3300ae8783aced68585a
9,665
ex
Elixir
lib/absinthe/resolution/helpers.ex
shamshirz/absinthe
8183e15b2a13ea0ecbe3a1c2899292ab9bd96988
[ "MIT" ]
null
null
null
lib/absinthe/resolution/helpers.ex
shamshirz/absinthe
8183e15b2a13ea0ecbe3a1c2899292ab9bd96988
[ "MIT" ]
null
null
null
lib/absinthe/resolution/helpers.ex
shamshirz/absinthe
8183e15b2a13ea0ecbe3a1c2899292ab9bd96988
[ "MIT" ]
null
null
null
defmodule Absinthe.Resolution.Helpers do @moduledoc """ Handy functions for returning async or batched resolution functions Using `Absinthe.Schema.Notation` or (by extension) `Absinthe.Schema` will automatically import the `batch` and `async` helpers. Dataloader helpers require an explicit `import Absinthe.R...
32.003311
93
0.637351
653739525cc6d10fb3b55afad48ccac9cfddf81f
2,737
exs
Elixir
test/controllers/comment_controller_test.exs
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
null
null
null
test/controllers/comment_controller_test.exs
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
30
2016-08-21T18:33:11.000Z
2020-04-12T23:16:18.000Z
test/controllers/comment_controller_test.exs
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
null
null
null
defmodule Scripture.CommentControllerTest do use Scripture.ConnCase, async: true alias Scripture.{User, Article, Comment} import Swoosh.TestAssertions setup %{conn: conn} do article = persist_fixture(Article) user = persist_fixture(User) {:ok, conn: log_in_as(conn, user), user: user, article: art...
40.850746
102
0.715382
65373f66d9f866fede889b3a6e2b6bcecb5d17f1
2,306
exs
Elixir
mix.exs
frankdugan3/ash_phoenix
e776fbc4ec7d7c74d45d519303c4c51667a1e888
[ "MIT" ]
null
null
null
mix.exs
frankdugan3/ash_phoenix
e776fbc4ec7d7c74d45d519303c4c51667a1e888
[ "MIT" ]
null
null
null
mix.exs
frankdugan3/ash_phoenix
e776fbc4ec7d7c74d45d519303c4c51667a1e888
[ "MIT" ]
null
null
null
defmodule AshPhoenix.MixProject do use Mix.Project @description """ Utilities for integrating Ash with Phoenix """ @version "0.7.2-rc.1" def project do [ app: :ash_phoenix, version: @version, description: @description, elixir: "~> 1.9", start_permanent: Mix.env() == :pro...
23.530612
64
0.542064
65376011968fb6fb80141fab9f0525b20740b909
761
ex
Elixir
apps/feedex_core/lib/feedex_core/metrics/app_poller.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_core/lib/feedex_core/metrics/app_poller.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_core/lib/feedex_core/metrics/app_poller.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
# defmodule FeedexCore.Metrics.AppPoller do # # @moduledoc """ # Periodically write stats. # """ # # alias FeedexCore.Ctx.News.Post # alias FeedexCore.Ctx.Account # alias FeedexCore.Ctx.News # # alias FeedexCore.Repo # # import Ecto.Query # # def post_counts do # user = Account.user_get_by_emai...
26.241379
76
0.647832
6537611506ed45e1c32e81d2b03621ab5f7766fe
619
ex
Elixir
lib/exsolr/http_response.ex
PharosProduction/exsolr
d93eb75c235d3d729f96efd6a8c28688f232ce39
[ "MIT" ]
25
2016-05-10T00:02:27.000Z
2020-11-08T16:51:43.000Z
lib/exsolr/http_response.ex
PharosProduction/exsolr
d93eb75c235d3d729f96efd6a8c28688f232ce39
[ "MIT" ]
2
2016-11-01T10:23:20.000Z
2016-11-14T23:29:28.000Z
lib/exsolr/http_response.ex
PharosProduction/exsolr
d93eb75c235d3d729f96efd6a8c28688f232ce39
[ "MIT" ]
16
2016-05-22T02:12:15.000Z
2021-02-10T20:56:54.000Z
defmodule Exsolr.HttpResponse do @moduledoc """ Isolate the handling of Solr HTTP responses. """ require Logger def body({status, response}) do case {status, response} do {:ok, %HTTPoison.Response{status_code: 200, body: response_body}} -> _ = Logger.debug response_body response_bo...
28.136364
82
0.642973
6537611ec1031a45f2951360e2abce75ea364636
2,158
ex
Elixir
clients/poly/lib/google_api/poly/v1/model/asset_import_message.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/poly/lib/google_api/poly/v1/model/asset_import_message.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/poly/lib/google_api/poly/v1/model/asset_import_message.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...
38.535714
156
0.719184
653765273e025bad9284e8f82ee23f6d90bed480
1,553
ex
Elixir
lib/probability_weighting_function.ex
xeejp/xee_probability_weighting_function
dc58d41e5921719c9f3410978923eb7b1c405ea6
[ "MIT" ]
null
null
null
lib/probability_weighting_function.ex
xeejp/xee_probability_weighting_function
dc58d41e5921719c9f3410978923eb7b1c405ea6
[ "MIT" ]
null
null
null
lib/probability_weighting_function.ex
xeejp/xee_probability_weighting_function
dc58d41e5921719c9f3410978923eb7b1c405ea6
[ "MIT" ]
null
null
null
defmodule ProbabilityWeightingFunction do use XeeThemeScript require Logger alias ProbabilityWeightingFunction.Main alias ProbabilityWeightingFunction.Host alias ProbabilityWeightingFunction.Participant # Callbacks def script_type do :message end def install, do: nil def init do ...
34.511111
86
0.631681
653788fb9d29b04ded9219a4ac54ba71c26733b8
1,080
exs
Elixir
mix.exs
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
null
null
null
mix.exs
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
null
null
null
mix.exs
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
null
null
null
defmodule ExGdax.Mixfile do use Mix.Project def project do [ app: :ex_gdax, version: "0.1.4", elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), docs: docs(), package: package(), name: "ExGdax", de...
21.176471
64
0.52037
6537cf3b1fd83da6940000adb8d5820fd5f6c0cf
2,839
exs
Elixir
mix.exs
axelson/nerves_playground
2bf9f4d23156dc8c7781eed1f5900f90f737c1d4
[ "MIT" ]
null
null
null
mix.exs
axelson/nerves_playground
2bf9f4d23156dc8c7781eed1f5900f90f737c1d4
[ "MIT" ]
null
null
null
mix.exs
axelson/nerves_playground
2bf9f4d23156dc8c7781eed1f5900f90f737c1d4
[ "MIT" ]
null
null
null
defmodule NP.Mixfile do use Mix.Project @target System.get_env("MIX_TARGET") || "host" Mix.shell.info([:green, """ Mix environment MIX_TARGET: #{@target} MIX_ENV: #{Mix.env} """, :reset]) def project do [app: :nerves_playground, version: "0.1.0", elixir: "~> 1.4", target...
31.544444
85
0.616414
6537d9515b360e5307ea09eb03c4c4432bd87a7b
7,360
exs
Elixir
.credo.exs
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
845
2017-02-14T14:16:11.000Z
2022-03-30T04:13:08.000Z
.credo.exs
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
146
2017-04-29T16:11:14.000Z
2022-03-29T08:49:05.000Z
.credo.exs
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
50
2017-08-17T13:44:06.000Z
2022-03-30T11:29:59.000Z
# 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 ...
38.736842
97
0.612908
6537e726169bba09cc28924ae930d1f43d52cebf
170
ex
Elixir
lib/callinto.ex
secureworks/Yara-Elixir
d6dd4701c0005cd0f3489029795a898a064fb28f
[ "Apache-2.0" ]
2
2021-01-06T16:33:12.000Z
2022-03-15T07:44:20.000Z
lib/callinto.ex
secureworks/Yara-Elixir
d6dd4701c0005cd0f3489029795a898a064fb28f
[ "Apache-2.0" ]
null
null
null
lib/callinto.ex
secureworks/Yara-Elixir
d6dd4701c0005cd0f3489029795a898a064fb28f
[ "Apache-2.0" ]
1
2021-01-06T16:19:46.000Z
2021-01-06T16:19:46.000Z
defmodule Mix.Tasks.Callinto do @moduledoc "Calls into the NIF" use Mix.Task def run(_args) do YaraElixir.init_yara() YaraElixir.destroy_yara() end end
15.454545
33
0.711765
6537ec90813ffdcf35e25a6846b979d0ce7bf54b
960
ex
Elixir
lib/google_api/pub_sub/v1/request_builder.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "Apache-2.0" ]
null
null
null
lib/google_api/pub_sub/v1/request_builder.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "Apache-2.0" ]
null
null
null
lib/google_api/pub_sub/v1/request_builder.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "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...
35.555556
77
0.7625
65380aac96fe03c8a53e9615be8542c9c8f87df5
257
ex
Elixir
lib/turtle_tube.ex
ConnorRigby/turtletube_web
0e6618395918234584edbb74ccceb589fc79bc68
[ "MIT" ]
null
null
null
lib/turtle_tube.ex
ConnorRigby/turtletube_web
0e6618395918234584edbb74ccceb589fc79bc68
[ "MIT" ]
null
null
null
lib/turtle_tube.ex
ConnorRigby/turtletube_web
0e6618395918234584edbb74ccceb589fc79bc68
[ "MIT" ]
null
null
null
defmodule TurtleTube do @moduledoc """ TurtleTube 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
25.7
66
0.758755
65385b64e0e56c69598f8a375b7c0dc1b65126cd
453
exs
Elixir
elixir/word-count/word_count.exs
cbliard/exercism
0cca8d127cff0b014336e3f4581a58e52c8989b0
[ "MIT" ]
null
null
null
elixir/word-count/word_count.exs
cbliard/exercism
0cca8d127cff0b014336e3f4581a58e52c8989b0
[ "MIT" ]
null
null
null
elixir/word-count/word_count.exs
cbliard/exercism
0cca8d127cff0b014336e3f4581a58e52c8989b0
[ "MIT" ]
null
null
null
defmodule Words do @doc """ Count the number of words in the sentence. Words are compared case-insensitively. """ @spec count(String.t) :: map def count(sentence) do sentence |> String.split(~r/[^[:alnum:]-]+/u, trim: true) |> Enum.map(&String.downcase/1) |> Enum.reduce(%{}, &incremen...
23.842105
55
0.635762
653877171333bb4471eca5bebd27a1a5228063cc
4,959
exs
Elixir
test/swoosh/email/smtp_test.exs
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
1,214
2016-03-21T16:56:42.000Z
2022-03-31T19:10:11.000Z
test/swoosh/email/smtp_test.exs
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
399
2016-03-21T23:11:32.000Z
2022-03-04T10:52:28.000Z
test/swoosh/email/smtp_test.exs
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
208
2016-03-21T21:12:11.000Z
2022-03-04T06:35:33.000Z
defmodule Swoosh.Email.SMTPTest do use ExUnit.Case, async: true alias Swoosh.Adapters.SMTP.Helpers import Swoosh.Email setup_all do valid_email = new() |> from("tony@stark.com") |> to("steve@rogers.com") |> subject("Hello, Avengers!") |> html_body("<h1>Hello</h1>") |> ...
34.678322
89
0.459165
65388afbabef0aa3bdfd6c86765fc05032fd810a
2,784
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/operation_metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/managed_identities/lib/google_api/managed_identities/v1/model/operation_metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/operation_metadata.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "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...
42.830769
298
0.700072
6538cf9c330068deacd20d738162bea3cbf2fd86
65
ex
Elixir
apps/welcome2_web/lib/welcome2_web/views/layout_view.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
apps/welcome2_web/lib/welcome2_web/views/layout_view.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
13
2020-03-22T08:00:57.000Z
2022-03-07T16:35:36.000Z
apps/welcome2_web/lib/welcome2_web/views/layout_view.ex
philihp/welcome2_umbrella
f5f494b98fe4b64a3e1bbfc1b8b432aad7f8c3b2
[ "MIT" ]
null
null
null
defmodule Welcome2Web.LayoutView do use Welcome2Web, :view end
16.25
35
0.815385
6538d835c14c0040a847d5a78e97a4a71e4890fa
2,064
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_original_detect_intent_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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_v2beta1_original_detect_intent_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_original_detect_intent_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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...
36.857143
186
0.742248
6538de3a5f6f789a0050d1a11a70ea3ad7a5b913
1,797
exs
Elixir
test/lib/code_corps/services/markdown_renderer_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps/services/markdown_renderer_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps/services/markdown_renderer_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Services.MarkdownRendererServiceTest do use ExUnit.Case, async: true alias CodeCorps.Task import CodeCorps.Services.MarkdownRendererService @valid_attrs %{ title: "Test task", task_list_id: 1, markdown: "A **strong** body", status: "open" } test "renders empty strings...
27.646154
122
0.64719
6538e114a576225a80d97dff5b8c05afe031520a
3,733
exs
Elixir
mix.exs
coredreamstudios/glimesh.tv
736f4f03aa51a7fbcaaf276ffee2af470afc2fa7
[ "MIT" ]
null
null
null
mix.exs
coredreamstudios/glimesh.tv
736f4f03aa51a7fbcaaf276ffee2af470afc2fa7
[ "MIT" ]
null
null
null
mix.exs
coredreamstudios/glimesh.tv
736f4f03aa51a7fbcaaf276ffee2af470afc2fa7
[ "MIT" ]
null
null
null
defmodule Glimesh.MixProject do use Mix.Project def project do [ app: :glimesh, version: "0.1.0", elixir: "~> 1.11", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
29.864
84
0.507367
65391bf1bd31e8cfc4f2506a325040918c47729d
2,540
exs
Elixir
server/test/melody_match_web/controllers/spotify_token_controller_test.exs
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
null
null
null
server/test/melody_match_web/controllers/spotify_token_controller_test.exs
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
4
2021-03-28T03:09:37.000Z
2021-04-10T17:45:10.000Z
server/test/melody_match_web/controllers/spotify_token_controller_test.exs
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
null
null
null
defmodule MelodyMatchWeb.SpotifyTokenControllerTest do use MelodyMatchWeb.ConnCase alias MelodyMatch.Accounts @create_attrs %{ auth_token: "some auth_token", refresh_token: "some refresh_token" } @update_attrs %{ auth_token: "some updated auth_token", refresh_token: "some updated refresh_tok...
30.238095
110
0.686614
65392964507b315bc12a51ce37697618fbbf9b9f
55
ex
Elixir
lib/metro.ex
pcranaway/metro
99c17e3f59b54affaec615c9f044b294be7064a6
[ "Apache-2.0" ]
1
2022-01-23T15:49:13.000Z
2022-01-23T15:49:13.000Z
lib/metro.ex
pcranaway/metro
99c17e3f59b54affaec615c9f044b294be7064a6
[ "Apache-2.0" ]
null
null
null
lib/metro.ex
pcranaway/metro
99c17e3f59b54affaec615c9f044b294be7064a6
[ "Apache-2.0" ]
null
null
null
defmodule Metro do def hello do :world end end
9.166667
18
0.672727
65394fb32360acfa1b597e67379073cd1a18c9dd
3,226
exs
Elixir
test/tesla/middleware/digest_auth_test.exs
brittlewis12/tesla
6f0969733142fb59fbce16af6c13352a928b4783
[ "MIT" ]
1
2021-04-19T06:48:59.000Z
2021-04-19T06:48:59.000Z
test/tesla/middleware/digest_auth_test.exs
brittlewis12/tesla
6f0969733142fb59fbce16af6c13352a928b4783
[ "MIT" ]
null
null
null
test/tesla/middleware/digest_auth_test.exs
brittlewis12/tesla
6f0969733142fb59fbce16af6c13352a928b4783
[ "MIT" ]
null
null
null
defmodule Tesla.Middleware.DigestAuthTest do use ExUnit.Case, async: false defmodule DigestClient do use Tesla adapter fn env -> {:ok, cond do env.url == "/no-digest-auth" -> env Tesla.get_header(env, "authorization") -> env true -> ...
29.87037
95
0.603224
65395b0edd55376cf6600d14284a389354810ac9
1,593
exs
Elixir
elixir/grade-school/grade_school_test.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/grade-school/grade_school_test.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/grade-school/grade_school_test.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("school.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule SchoolTest do use ExUnit.Case def db, do: %{} test "add student" do actual = School.add(db, "Aimee", 2) assert actual == %{2 =>["Aimee"]} end #...
21.527027
61
0.573132
6539888645135ec0b176fc3af61da16bc3d71a9d
1,086
ex
Elixir
test/support/conn_case.ex
razuf/elixir-phoenix-surface-realworld
282bd2966012611432affc026539b81dd8bc934f
[ "MIT" ]
17
2020-09-21T23:24:38.000Z
2021-10-22T01:11:27.000Z
test/support/conn_case.ex
razuf/elixir-phoenix-liveview-realworld
182eb845b2b56f146468d9a095a8d5d72fc44f17
[ "MIT" ]
1
2020-10-13T20:43:16.000Z
2020-10-13T20:43:16.000Z
test/support/conn_case.ex
razuf/elixir-phoenix-surface-realworld
282bd2966012611432affc026539b81dd8bc934f
[ "MIT" ]
1
2021-11-02T19:18:40.000Z
2021-11-02T19:18:40.000Z
defmodule RealWorldWeb.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 ...
28.578947
63
0.736648
6539d0e69f66432ea7bee2efb1f2be8f2ef8385a
668
ex
Elixir
web/models/target.ex
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
3
2015-08-24T11:44:19.000Z
2016-10-01T21:37:05.000Z
web/models/target.ex
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
null
null
null
web/models/target.ex
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
null
null
null
defmodule Storm.Target do use Storm.Web, :model schema "targets" do field :method, :string field :url, :string belongs_to :mission, Storm.Mission timestamps end @required_fields ~w(method url) @optional_fields ~w() @doc """ Creates a changeset based on the `model` and `params`. If n...
21.548387
61
0.682635
6539e627e194065b34ea9d10861ed0e9882be1ca
2,985
ex
Elixir
lib/thesis/api_controller.ex
ilyakard/thesis-phoenix
7e274c16f318ae9a749bd3682bf0f88b6df01e7e
[ "MIT" ]
null
null
null
lib/thesis/api_controller.ex
ilyakard/thesis-phoenix
7e274c16f318ae9a749bd3682bf0f88b6df01e7e
[ "MIT" ]
null
null
null
lib/thesis/api_controller.ex
ilyakard/thesis-phoenix
7e274c16f318ae9a749bd3682bf0f88b6df01e7e
[ "MIT" ]
null
null
null
defmodule Thesis.ApiController do @moduledoc false use Phoenix.Controller import Thesis.Config alias Thesis.{Utilities, Backup} plug :ensure_authorized! when not action in [:show_file] def assets(conn, _params), do: conn def update(conn, %{"contents" => contents, "page" => page}) do {:ok, _page} =...
27.897196
122
0.613735
6539f3463363dc709a0e6afa490f1b4143f07442
10,455
ex
Elixir
lib/commanded/process_managers/process_manager.ex
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_manager.ex
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_manager.ex
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
defmodule Commanded.ProcessManagers.ProcessManager do @moduledoc """ Behaviour to define a process manager. A process manager is responsible for coordinating one or more aggregates. It handles events and dispatches commands in response. Process managers have state that can be used to track which aggregates a...
34.166667
130
0.685988
653a1e754aadc21bc20e82c41c5bfc04e4ae98f6
9,161
exs
Elixir
test/celery/compiler_test.exs
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
test/celery/compiler_test.exs
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
test/celery/compiler_test.exs
Pandinosaurus/farmbot_os
5d11104faee52b087f1ed7d58c22681c065424e2
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Celery.CompilerTest do use ExUnit.Case use Mimic alias FarmbotOS.Celery.{AST, Compiler} alias FarmbotOS.Celery.Compiler.Scope # Only required to compile alias FarmbotOS.Celery.SysCallGlue, warn: false test "change_ownership" do email = "t@g.com" secret = "super duper" ser...
26.174286
354
0.503111
653a4e3ac2b6c3704b4f0760864af2655881cc55
896
ex
Elixir
elixir/spiral-matrix/lib/spiral.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
elixir/spiral-matrix/lib/spiral.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
elixir/spiral-matrix/lib/spiral.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
defmodule Spiral do @doc """ Given the dimension, return a square matrix of numbers in clockwise spiral order. """ @spec matrix(dimension :: integer) :: list(list(integer)) def matrix(0), do: [] def matrix(dimension), do: matrix(dimension, 1) def matrix(0, _from), do: [[]] def matrix(1, from), do: [[fro...
34.461538
83
0.59933
653a8e77b4956f1994125601012f5f78199cc0cc
7,765
ex
Elixir
clients/transcoder/lib/google_api/transcoder/v1beta1/model/video_stream.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/transcoder/lib/google_api/transcoder/v1beta1/model/video_stream.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/transcoder/lib/google_api/transcoder/v1beta1/model/video_stream.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
72.570093
455
0.69105