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
2d925a40c34d86b244cef1d21739ff0fa45e5fdf
1,285
exs
Elixir
config/releases.exs
adrianomota/find_my_personal
6175a64f501407bb047b23cfcc76a981a7957148
[ "MIT" ]
null
null
null
config/releases.exs
adrianomota/find_my_personal
6175a64f501407bb047b23cfcc76a981a7957148
[ "MIT" ]
11
2022-01-12T02:39:42.000Z
2022-02-09T02:17:04.000Z
config/releases.exs
gissandrogama/find_my_personal
12f23b37e967949af9f3e511cf1ce684452d8f66
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. import Config database_url = System.get_env("DATABASE_URL") || raise """ envir...
30.595238
66
0.733074
2d928e58f1bf073a49555c0599c4e289e61d90e4
1,557
exs
Elixir
mix.exs
revelrylabs/exdr
4a3a5d65e2d0ba2daba32c5f648cbe401176e2e1
[ "MIT" ]
3
2020-01-12T03:16:38.000Z
2020-09-06T03:37:03.000Z
mix.exs
revelrylabs/exdr
4a3a5d65e2d0ba2daba32c5f648cbe401176e2e1
[ "MIT" ]
7
2019-10-14T14:27:31.000Z
2020-05-01T22:27:52.000Z
mix.exs
revelrylabs/exdr
4a3a5d65e2d0ba2daba32c5f648cbe401176e2e1
[ "MIT" ]
1
2020-02-06T23:19:24.000Z
2020-02-06T23:19:24.000Z
defmodule XDR.MixProject do @moduledoc """ Elixir XDR project configuration """ use Mix.Project @github "https://github.com/revelrylabs/exdr" def project do [ app: :exdr, version: "0.1.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), test_cov...
22.897059
72
0.553629
2d92be973e53f2ed07a36d6ad37cad4cb29dccc8
3,101
ex
Elixir
clients/storage/lib/google_api/storage/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.283951
170
0.694615
2d92c524d9d8630a6ee781c21cf057571620bc59
199
ex
Elixir
lib/hl7/2.3/datatypes/cm_abs_range.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/cm_abs_range.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/cm_abs_range.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.DataTypes.Cmabsrange do @moduledoc false use HL7.DataType, fields: [ range: nil, numeric_change: nil, percent_per_change: nil, days: nil ] end
16.583333
42
0.638191
2d92ca2398a55a63a6e3576b444200c70ae7237d
168
exs
Elixir
exercises/luhn/luhn.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/luhn/luhn.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/luhn/luhn.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
defmodule Luhn do @doc """ Checks if the given number is valid via the luhn formula """ @spec valid?(String.t()) :: boolean def valid?(number) do end end
15.272727
58
0.64881
2d92d9b8ae294e4b852da527e494957fd5805437
1,103
exs
Elixir
test/fnv/guarded_view_test.exs
Shakadak/pattern_metonyms
f0a2929217278a8bc268716ff9ad705ecc6f9d62
[ "MIT" ]
4
2020-12-21T12:47:49.000Z
2022-03-22T09:34:06.000Z
test/fnv/guarded_view_test.exs
Shakadak/pattern_metonyms
f0a2929217278a8bc268716ff9ad705ecc6f9d62
[ "MIT" ]
3
2021-10-21T12:59:10.000Z
2021-11-03T20:53:59.000Z
test/fnv/guarded_view_test.exs
Shakadak/pattern_metonyms
f0a2929217278a8bc268716ff9ad705ecc6f9d62
[ "MIT" ]
null
null
null
defmodule Fnv.GuardedViewTest do use ExUnit.Case, async: true defmodule DGVT do import PatternMetonyms def uncons([]), do: :Nothing def uncons([x | xs]), do: {:Just, {x, xs}} pattern(justHead(x) <- (uncons() -> {:Just, {x, _}})) def bigHead do fnv do (justHead(x)) when x > 1 ->...
21.211538
62
0.519492
2d92f696ee66daf4c5766a877ff2189c135921c8
8,772
ex
Elixir
lib/battle_box/game_engine/bot_server.ex
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
lib/battle_box/game_engine/bot_server.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
lib/battle_box/game_engine/bot_server.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBox.GameEngine.BotServer do use GenStateMachine, callback_mode: [:handle_event_function, :state_enter], restart: :temporary alias BattleBox.{Arena, GameEngine, GameEngine.GameServer} alias BattleBox.GameEngine.Message.{ CommandsRequest, DebugInfo, GameInfo, GameOver, GameReque...
30.996466
98
0.659143
2d93098cda23a9e106dd17e49bcb959e3e29d4e1
561
ex
Elixir
api/web/views/favorite_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/views/favorite_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/views/favorite_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
defmodule Microblogger.FavoriteView do use Microblogger.Web, :view def render("index.json", %{favorites: favorites}) do %{data: render_many(favorites, Microblogger.FavoriteView, "favorite.json")} end def render("show.json", %{favorite: favorite}) do %{data: render_one(favorite, Microblogger.FavoriteVi...
25.5
79
0.688057
2d930a5f0aba76623d1fb5017a3ebeef8d95e264
38,080
exs
Elixir
lib/elixir/test/elixir/kernel_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
Code.require_file("test_helper.exs", __DIR__) defmodule KernelTest do use ExUnit.Case, async: true doctest Kernel def id(arg), do: arg def id(arg1, arg2), do: {arg1, arg2} def empty_list(), do: [] def empty_map, do: %{} defp purge(module) do :code.delete(module) :code.purge(module) end de...
28.502994
122
0.556907
2d932a84a670f7989911e21b7fe886f76968481a
1,384
ex
Elixir
hls/test/support/data_case.ex
Papillon6814/hls_example
f113ecaadabe013a4a5b3a3166d16befb07123c5
[ "MIT" ]
null
null
null
hls/test/support/data_case.ex
Papillon6814/hls_example
f113ecaadabe013a4a5b3a3166d16befb07123c5
[ "MIT" ]
null
null
null
hls/test/support/data_case.ex
Papillon6814/hls_example
f113ecaadabe013a4a5b3a3166d16befb07123c5
[ "MIT" ]
null
null
null
defmodule Hls.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test run...
25.62963
77
0.674855
2d932c08606aa0235878abb484c6f2f043074edc
106
ex
Elixir
lib/shopmap/repo.ex
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
lib/shopmap/repo.ex
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
lib/shopmap/repo.ex
Yoosuke/shopmap
5a1892850d2c79b4732e3ee0c40a8b7c7c55d20d
[ "MIT" ]
null
null
null
defmodule Shopmap.Repo do use Ecto.Repo, otp_app: :shopmap, adapter: Ecto.Adapters.Postgres end
17.666667
35
0.726415
2d93419363fb09af86d0acd9274e12b50bbb2b49
600
ex
Elixir
services/ui/lib/ui.ex
marcuzy/semaphore-demo-monorepo
6263b9daa7502e39ba6ce333ed5d866e5115d60a
[ "MIT" ]
2
2021-04-20T19:46:49.000Z
2021-07-25T17:06:32.000Z
services/ui/lib/ui.ex
marcuzy/semaphore-demo-monorepo
6263b9daa7502e39ba6ce333ed5d866e5115d60a
[ "MIT" ]
null
null
null
services/ui/lib/ui.ex
marcuzy/semaphore-demo-monorepo
6263b9daa7502e39ba6ce333ed5d866e5115d60a
[ "MIT" ]
54
2021-03-18T20:53:34.000Z
2022-03-22T01:56:18.000Z
defmodule Ui do @moduledoc """ Main router for the UI component. """ use Plug.Router plug(:match) plug(:dispatch) get "/" do users = Ui.Users.fetch_all() page = Ui.UserListView.render(users) conn |> put_resp_content_type("text/html") |> send_resp(200, page) end get "/billing/:user_id"...
19.354839
70
0.661667
2d9351787326e04f43947814ea734bacf2a450df
2,062
ex
Elixir
priv/perf/apps/load_test/lib/ethereum/account.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
priv/perf/apps/load_test/lib/ethereum/account.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
priv/perf/apps/load_test/lib/ethereum/account.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
29.457143
81
0.670223
2d9368a82d8b5ae2e213d29887d9c7db6a3f9922
828
ex
Elixir
lib/phoenix_events_live_web/plugs/context.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
lib/phoenix_events_live_web/plugs/context.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
lib/phoenix_events_live_web/plugs/context.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
defmodule PhoenixEventsLiveWeb.Context do @behaviour Plug import Plug.Conn import Ecto.Query, only: [where: 2] alias PhoenixEventsLive.Guardian alias PhoenixEventsLive.Repo alias PhoenixEventsLive.Accounts.User def init(opts), do: opts def call(conn, _) do case build_context(conn) do {:ok...
21.789474
71
0.64372
2d939118ff5be71fc49d78cee18cf85eda1f0615
963
ex
Elixir
lib/bender/command.ex
lytedev/bender
1033f2e2a2bb3b45a6782342e070e5e593212c2c
[ "MIT" ]
8
2020-05-08T05:15:11.000Z
2021-11-14T20:43:23.000Z
lib/bender/command.ex
lytedev/bender
1033f2e2a2bb3b45a6782342e070e5e593212c2c
[ "MIT" ]
null
null
null
lib/bender/command.ex
lytedev/bender
1033f2e2a2bb3b45a6782342e070e5e593212c2c
[ "MIT" ]
null
null
null
defmodule Bender.Command do defmacro __using__(_opts) do quote do @before_compile unquote(__MODULE__) use GenEvent def respond(message, %{session: session, room: room, author: author}) do Matrix.Client.post!(session, room, message) end end end defmacro __before_compile__(...
25.342105
91
0.617861
2d93a4d13218a4fa54daba28ffb62b7e2b934a9f
1,193
ex
Elixir
test/support/live_views/component_in_live.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
4,659
2019-03-14T20:22:43.000Z
2022-03-31T20:13:30.000Z
test/support/live_views/component_in_live.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
1,745
2019-03-14T22:04:38.000Z
2022-03-31T17:26:25.000Z
test/support/live_views/component_in_live.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
744
2019-03-14T20:48:05.000Z
2022-03-25T14:35:04.000Z
defmodule Phoenix.LiveViewTest.ComponentInLive.Root do use Phoenix.LiveView def mount(_params, _session, socket) do {:ok, assign(socket, :enabled, true)} end def render(assigns) do ~H"<%= @enabled && live_render @socket, Phoenix.LiveViewTest.ComponentInLive.Live, id: :nested_live %>" end def hand...
23.86
107
0.699916
2d93fad159e8b1acb480a76f488d8f6f40123164
3,219
ex
Elixir
lib/api/controller/websocket.ex
rosetta-home/cicada
a5ac51ecc202e1694dedc9875604fa3564ef4b3c
[ "Apache-2.0" ]
7
2017-09-08T11:29:42.000Z
2020-01-18T22:15:12.000Z
lib/api/controller/websocket.ex
rosetta-home/cicada
a5ac51ecc202e1694dedc9875604fa3564ef4b3c
[ "Apache-2.0" ]
null
null
null
lib/api/controller/websocket.ex
rosetta-home/cicada
a5ac51ecc202e1694dedc9875604fa3564ef4b3c
[ "Apache-2.0" ]
2
2017-07-02T11:58:50.000Z
2019-09-14T03:16:12.000Z
defmodule Cicada.API.Controller.Websocket do @behaviour :cowboy_websocket_handler alias Cicada.{DeviceManager, SysMon} require Logger defmodule State do defstruct temp_debounce: %{} end def init({_tcp, _http}, _req, _opts) do {:upgrade, :protocol, :cowboy_websocket} end def websocket_init(_Tr...
29.805556
98
0.611991
2d94559366afea3acc8898808b08cfda41e3f194
255
ex
Elixir
lib/epicenter.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter do @moduledoc """ Epicenter 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.5
66
0.756863
2d94600a593d8fb2d6cbefdcc740fe512c37b06a
3,086
ex
Elixir
lib/vexilla_client.ex
Vexilla/client-elixir
acc52747951dffd430089c81605af75f1be0ce6d
[ "MIT" ]
null
null
null
lib/vexilla_client.ex
Vexilla/client-elixir
acc52747951dffd430089c81605af75f1be0ce6d
[ "MIT" ]
1
2021-02-20T21:09:21.000Z
2021-02-20T21:21:16.000Z
lib/vexilla_client.ex
Vexilla/client-elixir
acc52747951dffd430089c81605af75f1be0ce6d
[ "MIT" ]
null
null
null
defmodule VexillaClient do @moduledoc """ Documentation for `VexillaClient`. """ @doc """ Create a client with a base url and environment name ## Examples iex> VexillaClient.create_config("https://somewhere-on-the-internet", "staging") %{ base_url: "https://somewhere-on-the-internet", ...
26.834783
166
0.646792
2d947b19d1fd6f5cf15cf074357f6e367333e134
485
exs
Elixir
day3/test/day3_test.exs
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
day3/test/day3_test.exs
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
day3/test/day3_test.exs
jwarwick/aoc_2016
62a1d975835570f3fa7b60d32aa2e84da706be53
[ "MIT" ]
null
null
null
defmodule Day3Test do use ExUnit.Case doctest Day3 test "1 valid" do assert 1 == Day3.valid_count("3 4 5") end test "0 valid" do assert 0 == Day3.valid_count("5 10 25") end test "multi lines" do str = """ 3 4 5 5 10 25 """ assert 1 == Day3.valid_count(str) end test "tra...
14.69697
47
0.556701
2d9480e4c90f68d2a7e4d9983cd8c4830568b8bc
1,721
ex
Elixir
apps/ex_wire/lib/ex_wire/struct/block.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
14
2017-08-21T06:14:49.000Z
2020-05-15T12:00:52.000Z
apps/ex_wire/lib/ex_wire/struct/block.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
7
2017-08-11T07:50:14.000Z
2018-08-23T20:42:50.000Z
apps/ex_wire/lib/ex_wire/struct/block.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
3
2017-08-20T17:56:41.000Z
2018-08-21T00:36:10.000Z
defmodule ExWire.Struct.Block do @moduledoc """ A struct for storing blocks as they are transported over the Eth Wire Protocol. """ defstruct [ :transactions_list, :transactions, :ommers ] @type t :: %__MODULE__{ transactions: [Blockchain.Transaction.t], ommers: [binary()] } @doc ...
28.683333
145
0.551424
2d9483b21b6b9bd69eb9540e9b7793069b05599f
266
exs
Elixir
config/test.exs
fcapovilla/rienkun
7a3bf6aed5685aa2ab69260fc5a2f9d64696d6a1
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
fcapovilla/rienkun
7a3bf6aed5685aa2ab69260fc5a2f9d64696d6a1
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
fcapovilla/rienkun
7a3bf6aed5685aa2ab69260fc5a2f9d64696d6a1
[ "BSD-3-Clause" ]
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 :rienkun, RienkunWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
24.181818
56
0.736842
2d94b253045d7b60ee9d2a3caea186abc6680b2d
2,735
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/metric_value.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/metric_value.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/metric_value.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...
42.076923
310
0.744059
2d94baf4ec6835ee0be073ff0ba17be21d015595
3,558
ex
Elixir
lib/grax/rdf/mapper.ex
rdf-elixir/rdf-mapping
a7fc13ba9bf565bf7de598d677092600072ca3c2
[ "MIT" ]
1
2020-12-21T11:57:33.000Z
2020-12-21T11:57:33.000Z
lib/grax/rdf/mapper.ex
rdf-elixir/rdf-mapping
a7fc13ba9bf565bf7de598d677092600072ca3c2
[ "MIT" ]
null
null
null
lib/grax/rdf/mapper.ex
rdf-elixir/rdf-mapping
a7fc13ba9bf565bf7de598d677092600072ca3c2
[ "MIT" ]
null
null
null
defmodule Grax.RDF.Mapper do @moduledoc false alias RDF.{IRI, BlankNode, Literal, XSD, Graph, Description} alias Grax.Validator alias Grax.Schema.TypeError def call(%schema{} = mapping, opts) do opts = if id_spec = schema.__id_spec__() do Keyword.put_new_lazy(opts, :prefixes, fn -> ...
30.410256
94
0.578415
2d94e814660960303ad6438bb7dc10975ebd3127
3,525
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/partition_query_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/partition_query_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/partition_query_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
62.946429
661
0.752908
2d951e3141f40571b66df42fe0053fa624d0cf39
2,624
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/create_backup_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/spanner/lib/google_api/spanner/v1/model/create_backup_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/spanner/lib/google_api/spanner/v1/model/create_backup_metadata.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...
46.857143
650
0.738186
2d953b844b5bd3d38f860898654fad81c8ddba0d
876
ex
Elixir
clients/fonts/lib/google_api/fonts/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/fonts/lib/google_api/fonts/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/fonts/lib/google_api/fonts/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.444444
74
0.756849
2d9554b4c04f053633f85e0cfe390707e0398955
1,132
exs
Elixir
config/config.exs
MatthewNielsen27/memo_generator
d11f6a7d6c2da3bbc21895c7ee8849f089b05492
[ "MIT" ]
null
null
null
config/config.exs
MatthewNielsen27/memo_generator
d11f6a7d6c2da3bbc21895c7ee8849f089b05492
[ "MIT" ]
null
null
null
config/config.exs
MatthewNielsen27/memo_generator
d11f6a7d6c2da3bbc21895c7ee8849f089b05492
[ "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.375
73
0.757067
2d955c6b1cb08b1752398f58367a902b172b6337
199
exs
Elixir
elixirChat/test/controllers/page_controller_test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
elixirChat/test/controllers/page_controller_test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
elixirChat/test/controllers/page_controller_test.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule ElixirChat.PageControllerTest do use ElixirChat.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.111111
60
0.683417
2d9564f26b32ad7c309c276bf15123d4706a16a0
1,080
ex
Elixir
lib/dagex/error_helpers.ex
jwilger/dagex
b6c0b660c6897ee1109e1d72937e993b7bfebb4f
[ "Apache-2.0" ]
null
null
null
lib/dagex/error_helpers.ex
jwilger/dagex
b6c0b660c6897ee1109e1d72937e993b7bfebb4f
[ "Apache-2.0" ]
null
null
null
lib/dagex/error_helpers.ex
jwilger/dagex
b6c0b660c6897ee1109e1d72937e993b7bfebb4f
[ "Apache-2.0" ]
null
null
null
defmodule Dagex.ErrorHelpers do @moduledoc false @doc """ A helper that transforms changeset errors into a map of messages. assert {:error, changeset} = Accounts.create_user(%{password: "short"}) assert "password is too short" in errors_on(changeset).password assert %{password: ["password is too short"]} ...
33.75
78
0.685185
2d9568cc09265f48888d0917cbdce65f45dc6a0b
6,018
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_action.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_action.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_action.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...
77.153846
987
0.768195
2d95919f9eabf0b82ddbfe11b780377834a8a159
681
exs
Elixir
priv/repo/migrations/20180430093358_rescrape_knc_price.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20180503110930_rescrape_knc_price2.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20180503110930_rescrape_knc_price2.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.RescrapeKncPrice do use Ecto.Migration alias Sanbase.Prices.Store def up do Application.ensure_all_started(:hackney) start_store() # The data from CMC was wrong but they fixed it. Setting the last datetime # when the data was scraped will trigger rescrapping fr...
25.222222
78
0.712188
2d95b65e4055a521e2372ca0bb20916170b7b2b0
2,514
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/source_split_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/source_split_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/source_split_response.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 ...
42.610169
164
0.734288
2d95c481faa79688ffc8a2ce63bcb7286361790b
1,639
ex
Elixir
clients/script/lib/google_api/script/v1/model/list_value.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/model/list_value.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/model/list_value.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
34.145833
162
0.741916
2d95e839b5c8ae5de22a0833670795e797f27f9a
193
exs
Elixir
dev.exs
michaelst/surface_bulma
d978480c3eae32dd64ac83172babf17dad19e071
[ "MIT" ]
null
null
null
dev.exs
michaelst/surface_bulma
d978480c3eae32dd64ac83172babf17dad19e071
[ "MIT" ]
null
null
null
dev.exs
michaelst/surface_bulma
d978480c3eae32dd64ac83172babf17dad19e071
[ "MIT" ]
null
null
null
# iex -S mix dev Logger.configure(level: :debug) # Start the catalogue server Surface.Catalogue.Server.start( live_reload: [ patterns: [ ~r"lib/surface_bulma/.*(ex)$" ] ] )
14.846154
35
0.637306
2d95f631c045133d03d3d22ac6111540a29ecc03
1,942
ex
Elixir
clients/content/lib/google_api/content/v21/model/orderreturns_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orderreturns_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orderreturns_list_response.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...
36.641509
184
0.73069
2d9629e37bfe826f1eec3a63d63f2b324607b940
996
ex
Elixir
lib/endpoints/jobs.ex
saucelabs/sauce-elixir
44817d9c502f73dc048a0d282bfec83d9d6dd27e
[ "MIT" ]
1
2021-11-17T23:04:50.000Z
2021-11-17T23:04:50.000Z
lib/endpoints/jobs.ex
saucelabs/sauce-elixir
44817d9c502f73dc048a0d282bfec83d9d6dd27e
[ "MIT" ]
1
2020-10-20T20:16:04.000Z
2020-10-20T20:16:04.000Z
lib/endpoints/jobs.ex
saucelabs/sauce-elixir
44817d9c502f73dc048a0d282bfec83d9d6dd27e
[ "MIT" ]
1
2021-11-17T23:04:39.000Z
2021-11-17T23:04:39.000Z
defmodule Endpoints.Jobs do @moduledoc false def get(id) do %{ :url => "/rest/v1.1/jobs/#{id}", :method => :GET } end def list(username) do %{ :url => "/rest/v1.1/#{username}/jobs", :method => :GET } end def get_build_jobs(build_id) do %{ :url => "/rest/v...
18.792453
72
0.538153
2d962f7c8703cc908ce72f6de24b91aebb2b1aa4
2,156
ex
Elixir
apps/accept_websocket/lib/accept/websocket/socket.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/accept_websocket/lib/accept/websocket/socket.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/accept_websocket/lib/accept/websocket/socket.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
defmodule Accept.Websocket.Socket do @moduledoc "TODO" use Accept.Socket require Logger @behaviour :cowboy_websocket @impl :cowboy_websocket def init(req, opts) do {:cowboy_websocket, req, opts} end @impl :cowboy_websocket def websocket_init(init_opts) do state = %{ batch_size: Keyword...
25.069767
89
0.667904
2d9651346912a39a9b8514d0c462f8d664c67a88
3,960
ex
Elixir
lib/petal_components/alert.ex
c4710n/petal_components
62392b067a4dec8ce76219eea0bfe6a6747925ce
[ "MIT" ]
215
2021-11-04T23:47:18.000Z
2022-03-31T11:53:15.000Z
lib/petal_components/alert.ex
c4710n/petal_components
62392b067a4dec8ce76219eea0bfe6a6747925ce
[ "MIT" ]
22
2021-11-06T01:49:27.000Z
2022-03-28T03:05:40.000Z
lib/petal_components/alert.ex
c4710n/petal_components
62392b067a4dec8ce76219eea0bfe6a6747925ce
[ "MIT" ]
22
2021-11-16T20:44:33.000Z
2022-03-28T11:46:33.000Z
defmodule PetalComponents.Alert do use Phoenix.Component import PetalComponents.Class alias PetalComponents.Heroicons # prop color, :string, options: ["info", "success", "warning", "danger"] # prop class, :string # prop label, :string # slot default def alert(assigns) do assigns = assigns ...
32.195122
143
0.591414
2d968d975a476aa7d4b21b3d26edd566d8832546
1,738
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_tool_details.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_tool_details.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_tool_details.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...
31.6
114
0.729574
2d96ab6faecccb2f69d79ea5fac44ce08d13eab4
699
exs
Elixir
mix.exs
camcaine/north
d1193d3cdab219a2b91136cf2c4938f30d0a9c86
[ "MIT" ]
null
null
null
mix.exs
camcaine/north
d1193d3cdab219a2b91136cf2c4938f30d0a9c86
[ "MIT" ]
null
null
null
mix.exs
camcaine/north
d1193d3cdab219a2b91136cf2c4938f30d0a9c86
[ "MIT" ]
null
null
null
defmodule North.MixProject do use Mix.Project def project do [ app: :north, version: "0.0.1", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, consolidate_protocols: Mix.env() != :test, deps: deps(), docs: docs(), name: "North", source_url: "https://g...
17.475
54
0.503577
2d96ac6bc9720a4311d5cddb4d3c8f98e797ae54
514
exs
Elixir
test/support/block_builders.exs
vigetlabs/colonel_kurtz_ex
ed18e447657191090c9164580948bc8288c49cc7
[ "MIT" ]
1
2020-05-20T18:31:40.000Z
2020-05-20T18:31:40.000Z
test/support/block_builders.exs
vigetlabs/colonel_kurtz_ex
ed18e447657191090c9164580948bc8288c49cc7
[ "MIT" ]
11
2020-05-06T13:32:43.000Z
2020-05-15T19:18:39.000Z
test/support/block_builders.exs
vigetlabs/colonel_kurtz_ex
ed18e447657191090c9164580948bc8288c49cc7
[ "MIT" ]
null
null
null
defmodule ColonelKurtzTest.BlockBuilders do @moduledoc false defmacro __using__(_opts) do quote do alias ColonelKurtz.BlockType alias ColonelKurtz.BlockTypes import ColonelKurtzTest.BlockBuilders, only: :functions end end def build_block_type(module, attrs \\ []) do attrs |> ...
23.363636
70
0.702335
2d96c35ebd2537b7916b1ebee006056454a976ad
429
exs
Elixir
test/onde_server_web/views/error_view_test.exs
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
test/onde_server_web/views/error_view_test.exs
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
3
2021-03-09T18:21:20.000Z
2021-09-01T22:58:23.000Z
test/onde_server_web/views/error_view_test.exs
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
defmodule OndeServerWeb.ErrorViewTest do use OndeServerWeb.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(OndeServerWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" ...
28.6
95
0.741259
2d96c393219b14dc1dd1a02e4f19475b6f82a923
119
exs
Elixir
apps/faqcheck_web/test/faqcheck_web/helpers/link_helpers_test.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
apps/faqcheck_web/test/faqcheck_web/helpers/link_helpers_test.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
apps/faqcheck_web/test/faqcheck_web/helpers/link_helpers_test.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule FaqcheckWeb.LinkHelpersTest do use FaqcheckWeb.ConnCase, async: true doctest FaqcheckWeb.LinkHelpers end
23.8
40
0.840336
2d96e82004329280ea19a0832b52baaf977b0b96
88,370
ex
Elixir
lib/elixir/lib/enum.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
defprotocol Enumerable do @moduledoc """ Enumerable protocol used by `Enum` and `Stream` modules. When you invoke a function in the `Enum` module, the first argument is usually a collection that must implement this protocol. For example, the expression: Enum.map([1, 2, 3], &(&1 * 2)) invokes `Enume...
27.40155
133
0.609449
2d9714088f96351765f1a819d665983742fb8d18
4,375
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/explain_query_stage.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/explain_query_stage.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/explain_query_stage.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...
46.542553
139
0.725943
2d97194a5bda3bacc1e4429a5f93e55cea67a056
1,169
exs
Elixir
test/iterator/sequence_test.exs
haines/eratosthenes
be038111d48bb4ada7d7edb97d38ddb2065f8f8d
[ "MIT" ]
2
2017-06-22T20:04:55.000Z
2017-11-14T06:27:28.000Z
test/iterator/sequence_test.exs
haines/eratosthenes
be038111d48bb4ada7d7edb97d38ddb2065f8f8d
[ "MIT" ]
1
2017-02-08T09:21:42.000Z
2017-06-12T19:58:39.000Z
test/iterator/sequence_test.exs
haines/eratosthenes
be038111d48bb4ada7d7edb97d38ddb2065f8f8d
[ "MIT" ]
null
null
null
defmodule Iterator.SequenceTest do use ExUnit.Case alias Iterator.Sequence doctest Sequence test "a sequence of numbers separated by a step" do a = Sequence.from(42, step: 3) {first, b} = Iterator.next(a) assert first == 42 {second, c} = Iterator.next(b) assert second == 45 {third, ...
19.813559
72
0.607357
2d976e301aeb11d1d608b1e3fe91df0fcf5a2465
10,944
exs
Elixir
test/litelist_web/controllers/emergency_information_controller_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
test/litelist_web/controllers/emergency_information_controller_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
test/litelist_web/controllers/emergency_information_controller_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
# defmodule LitelistWeb.EmergencyInformationControllerTest do # use LitelistWeb.ConnCase, async: true # import Phoenix.Controller # alias Litelist.Factory # alias Litelist.Auth.Guardian # @create_attrs %{contact_info: "some contact_info", description: "some description", organization_name: "some organizatio...
38.535211
210
0.667124
2d977ba4d80ef47f0359972df4adf84ef4f4a0ba
1,828
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/content_outstream_position_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/content_outstream_position_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/content_outstream_position_targeting_option_details.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...
32.642857
118
0.766411
2d978568f375db4fd508704eb8735163fa1a5568
1,999
ex
Elixir
Chapter9/dynamic_workers/lib/todo/list.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter9/dynamic_workers/lib/todo/list.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
Chapter9/dynamic_workers/lib/todo/list.ex
benjamindburke/elixir-studies
65231b5af83dcf701041cae2879107c3bd3e5078
[ "Unlicense" ]
null
null
null
# Todo List [struct] # Data structure containing interfaces to manipulate and query to-do list entries defmodule Todo.List do defstruct auto_id: 1, entries: %{} # --------- # Interface functions # --------- def new(entries) do Enum.reduce( entries, %Todo.List{}, &add_entry(&2, &1) ...
29.397059
143
0.643822
2d97bc6e3598671a3c87623d626b7a45f98bdadc
200
exs
Elixir
test/polaris_web/controllers/page_controller_test.exs
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2020-05-02T00:16:35.000Z
2020-06-18T11:43:17.000Z
test/polaris_web/controllers/page_controller_test.exs
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2021-03-10T10:35:32.000Z
2021-05-11T06:13:28.000Z
test/polaris_web/controllers/page_controller_test.exs
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2020-12-03T10:41:14.000Z
2022-01-17T20:22:50.000Z
defmodule PolarisWeb.PageControllerTest do use PolarisWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.222222
60
0.68
2d97d6eb9caa606134df047ccd4dbf90a14d4de6
87
ex
Elixir
lib/level_web/views/open_invitation_view.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
lib/level_web/views/open_invitation_view.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
lib/level_web/views/open_invitation_view.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule LevelWeb.OpenInvitationView do @moduledoc false use LevelWeb, :view end
14.5
40
0.793103
2d97de7c11d79cefede3f199625e33e5fc60d28e
20,308
ex
Elixir
clients/content/lib/google_api/content/v2/model/product.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/product.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/product.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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.270463
473
0.66688
2d97e8dba60672c97caa88e8ea13669570520858
21,226
ex
Elixir
lib/aws/generated/wisdom.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/wisdom.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/wisdom.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Wisdom do @moduledoc """ All Amazon Connect Wisdom functionality is accessible using the API. For example, you can create an assistant and a knowledge base. ` Some more advanced features...
23.223195
207
0.621266
2d980ab00645ac56a1687ef326f60a9519d6a507
1,256
ex
Elixir
apps/v3_api/lib/sentry_extra.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/v3_api/lib/sentry_extra.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/v3_api/lib/sentry_extra.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule V3Api.SentryExtra do @moduledoc """ log up to 50 messages of "extra context" when using the Sentry error message log service """ @process_dictionary_count :sentry_count @process_dictionary_max 50 @spec log_context(String.t(), String.t() | fun) :: nil def log_context(entry_type, data_callback) ...
26.166667
90
0.720541
2d986059067b1a943e5df66319016d733e66479d
2,036
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_list_referrers_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/instance_list_referrers_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_list_referrers_warning_data.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 ...
40.72
527
0.744106
2d9865b3d188a2400dd7ff6008f0ccdb0c5fa7f3
2,503
exs
Elixir
config/prod.exs
rmartinsc/livrodealemao
337e2b7f5bd6de6b84d6ec44a37a839bee71319e
[ "MIT" ]
null
null
null
config/prod.exs
rmartinsc/livrodealemao
337e2b7f5bd6de6b84d6ec44a37a839bee71319e
[ "MIT" ]
null
null
null
config/prod.exs
rmartinsc/livrodealemao
337e2b7f5bd6de6b84d6ec44a37a839bee71319e
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
34.763889
69
0.719137
2d9880250d257adec3a554171db7b4dc5b2e925a
983
ex
Elixir
2020/otp/dash/lib/dash/application.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/otp/dash/lib/dash/application.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/otp/dash/lib/dash/application.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule Dash.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository Dash.Repo, # Start the Telemetry supervisor DashWeb.Telem...
28.085714
62
0.693795
2d989c70477344cf2b341034ee477599213fbaac
2,270
exs
Elixir
test/type/type_test.exs
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
test/type/type_test.exs
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
test/type/type_test.exs
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
defmodule Ash.Test.Type.TypeTest do @moduledoc false use ExUnit.Case, async: true defmodule PostTitle do @moduledoc false use Ash.Type def storage_type, do: :string def constraints do [ max_length: [ type: :pos_integer, doc: "The maximum length of the title" ...
22.254902
99
0.605286
2d98e094c7cebcb71c838da20a362664c1d2e520
75
ex
Elixir
apps/mishka_html/lib/mishka_html_web/views/admin_comment_view.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_html/lib/mishka_html_web/views/admin_comment_view.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_html/lib/mishka_html_web/views/admin_comment_view.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaHtmlWeb.AdminCommentView do use MishkaHtmlWeb, :view end
18.75
43
0.84
2d98e282399ba88fbbd28042252741838caa4094
2,556
ex
Elixir
lib/queuetopia/migrations/v1.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
7
2020-08-06T21:58:13.000Z
2021-08-07T18:32:44.000Z
lib/queuetopia/migrations/v1.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
2
2020-10-22T11:53:45.000Z
2021-06-22T05:45:27.000Z
lib/queuetopia/migrations/v1.ex
annatel/queuetopia
dd4be7390382c203821ab88388f0c31ba5538edf
[ "MIT" ]
2
2020-11-04T00:23:43.000Z
2021-04-30T07:25:01.000Z
defmodule Queuetopia.Migrations.V1 do @moduledoc false use Ecto.Migration def up do create_sequences_table() create_locks_table() create_jobs_table() end def down do drop_sequences_table() drop_locks_table() drop_jobs_table() end defp create_sequences_table do create_if_not...
27.191489
117
0.666667
2d99267c4c934d457c3325c0667c2401bb725102
1,449
ex
Elixir
lib/absinthe/phase/document/validation/provided_non_null_arguments.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
lib/absinthe/phase/document/validation/provided_non_null_arguments.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
lib/absinthe/phase/document/validation/provided_non_null_arguments.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Phase.Document.Validation.ProvidedNonNullArguments do @moduledoc false # Validates document to ensure that all non-null arguments are provided. alias Absinthe.{Blueprint, Phase, Schema, Type} use Absinthe.Phase @doc """ Run the validation. """ @spec run(Blueprint.t(), Keyword.t())...
26.833333
97
0.665286
2d995fd1594153819262709ba72ccee5d0179c53
16,162
exs
Elixir
lib/elixir/test/elixir/code_formatter/operators_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/operators_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/operators_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Code.Formatter.OperatorsTest do use ExUnit.Case, async: true import CodeFormatterHelpers @short_length [line_length: 10] @medium_length [line_length: 20] describe "unary" do test "formats symbol operators without spaces" do assert_format...
18.706019
89
0.472714
2d99a7b7f7e53ab9df6ecb1b5dd99fd2b1cf3fc7
253
ex
Elixir
lib/vial/reagent.ex
Cantido/vial
1da8819f6834209829ae1f573fbcc1ec6980a619
[ "MIT" ]
null
null
null
lib/vial/reagent.ex
Cantido/vial
1da8819f6834209829ae1f573fbcc1ec6980a619
[ "MIT" ]
null
null
null
lib/vial/reagent.ex
Cantido/vial
1da8819f6834209829ae1f573fbcc1ec6980a619
[ "MIT" ]
null
null
null
defmodule Vial.Reagent do @moduledoc """ An event handler that reacts to the events created by Vials. """ @type opts() :: any() @type event() :: any() @callback init(opts()) :: opts() @callback handle_event(event(), opts()) :: any() end
21.083333
62
0.624506
2d99be1c83e987b7ab9a9a8c1eba2271ec53a98e
3,607
ex
Elixir
lib/event_store/storage/reader.ex
arfl/eventstore
cf851e913cf0b91787195faf24dacd9f5ea50028
[ "MIT" ]
null
null
null
lib/event_store/storage/reader.ex
arfl/eventstore
cf851e913cf0b91787195faf24dacd9f5ea50028
[ "MIT" ]
null
null
null
lib/event_store/storage/reader.ex
arfl/eventstore
cf851e913cf0b91787195faf24dacd9f5ea50028
[ "MIT" ]
null
null
null
defmodule EventStore.Storage.Reader do @moduledoc false require Logger alias EventStore.RecordedEvent alias EventStore.Sql.Statements alias EventStore.Storage.Reader @doc """ Read events appended to a single stream forward from the given starting version """ def read_forward(conn, stream_id, start...
27.534351
91
0.619629
2d99c091d1a96c1ae8c064928c61c7ad68ca1260
1,222
ex
Elixir
lib/club_backend_web/views/error_helpers.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
null
null
null
lib/club_backend_web/views/error_helpers.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
6
2020-07-31T23:02:34.000Z
2021-02-26T21:10:10.000Z
lib/club_backend_web/views/error_helpers.ex
ufosc/club-backend-ex
87b55bc9fcccd9d458ee3277c3153f608f3a8a5e
[ "MIT" ]
2
2020-08-23T23:04:00.000Z
2020-10-03T03:18:11.000Z
defmodule ClubBackendWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a static ...
35.941176
80
0.674304
2d99c45503e7eb7c55155a0ba532dd226bcb9fad
2,584
exs
Elixir
apps/omg_watcher/test/omg_watcher/db/transaction_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/test/omg_watcher/db/transaction_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/test/omg_watcher/db/transaction_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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 writi...
33.558442
108
0.685372
2d99c45c56330438c7f99b94c58cddc9f216a3e8
1,482
ex
Elixir
lib/credo/check/readability/alias_as.ex
adrienmo/credo
205f43ba6cfc81b932605d4aa86fdb8378dea3a3
[ "MIT" ]
null
null
null
lib/credo/check/readability/alias_as.ex
adrienmo/credo
205f43ba6cfc81b932605d4aa86fdb8378dea3a3
[ "MIT" ]
null
null
null
lib/credo/check/readability/alias_as.ex
adrienmo/credo
205f43ba6cfc81b932605d4aa86fdb8378dea3a3
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.AliasAs do use Credo.Check, base_priority: :low, explanations: [ check: """ Aliases which are not completely renamed using the `:as` option are easier to follow. # preferred alias MyApp.Module1 # NOT preferred alias MyAp...
27.962264
94
0.644399
2d99c74b2fea8340cb0ba5d14ddf8489b41caf09
19,976
ex
Elixir
lib/phoenix/test/conn_test.ex
codeangler/phoenix
a5ea7869fb6721633fbb2939a102b188dba54235
[ "MIT" ]
null
null
null
lib/phoenix/test/conn_test.ex
codeangler/phoenix
a5ea7869fb6721633fbb2939a102b188dba54235
[ "MIT" ]
null
null
null
lib/phoenix/test/conn_test.ex
codeangler/phoenix
a5ea7869fb6721633fbb2939a102b188dba54235
[ "MIT" ]
null
null
null
defmodule Phoenix.ConnTest do @moduledoc """ Conveniences for testing Phoenix endpoints and connection related helpers. You likely want to use this module or make it part of your `ExUnit.CaseTemplate`. Once used, this module automatically imports all functions defined here as well as the functions in `Pl...
30.6851
116
0.671456
2d99d167eac1a56c4a532f6ee09e800d970e79e0
1,607
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/empty.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...
32.14
82
0.752334
2d9a538706b3906a1a2e6ce4038b09ec235ebe55
355
exs
Elixir
priv/repo/seeds.exs
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
pzingg/phoenix_16_example
7f4160de837229101e18a4e1cc97a00f4af5aaa7
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Example16.Repo.insert!(%Example16.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they ...
29.583333
61
0.709859
2d9a93099e5faa8092fd030e34d3b9ea237bbaa9
1,987
exs
Elixir
test/merkle_patricia_tree_test.exs
hansonkd/elixir-merkle-patricia-tree
d0e230d58ba8a64b9013d2c49579bdedd17e679b
[ "MIT" ]
null
null
null
test/merkle_patricia_tree_test.exs
hansonkd/elixir-merkle-patricia-tree
d0e230d58ba8a64b9013d2c49579bdedd17e679b
[ "MIT" ]
null
null
null
test/merkle_patricia_tree_test.exs
hansonkd/elixir-merkle-patricia-tree
d0e230d58ba8a64b9013d2c49579bdedd17e679b
[ "MIT" ]
null
null
null
defmodule MerklePatriciaTreeTest do use ExUnit.Case alias MerklePatriciaTree.Trie @passing_tests %{ anyorder: :all, test: :all } # test "Ethereum Common Tests" do # for {test_type, test_group} <- @passing_tests do # for {test_name, test} <- read_test_file(test_type), # test_grou...
26.851351
88
0.59688
2d9aa087b2510d850186a53e020332f288ad41e5
2,310
ex
Elixir
apps/red_robin_web/lib/red_robin_web/telemetry.ex
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
apps/red_robin_web/lib/red_robin_web/telemetry.ex
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
apps/red_robin_web/lib/red_robin_web/telemetry.ex
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
defmodule RedRobinWeb.Telemetry do @moduledoc false use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # ev...
31.643836
88
0.655844
2d9aad713ccc0d0b924fe574f9aeaae4b14163e2
1,562
ex
Elixir
lib/live_sup_web/views/error_helpers.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/views/error_helpers.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup_web/views/error_helpers.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(...
32.541667
76
0.664533
2d9ab61316bd0712dff18ea1da2dca611d19a561
1,762
ex
Elixir
lib/sipper/file_downloader.ex
jordelver/rubytapas
145b92a33e12c4b7f06d10819dafe309b395642d
[ "MIT" ]
114
2015-09-18T10:55:37.000Z
2021-02-20T01:49:49.000Z
lib/sipper/file_downloader.ex
jordelver/rubytapas
145b92a33e12c4b7f06d10819dafe309b395642d
[ "MIT" ]
26
2015-09-18T07:03:13.000Z
2017-11-06T12:35:27.000Z
lib/sipper/file_downloader.ex
jordelver/rubytapas
145b92a33e12c4b7f06d10819dafe309b395642d
[ "MIT" ]
26
2015-09-19T03:46:16.000Z
2018-10-14T21:39:22.000Z
defmodule Sipper.FileDownloader do # Vertical alignment. @exists_label "[EXISTS]" @get_label "[GET] " @rename_label "[RENAME]" def run([], _config) do IO.puts :stderr, "Nothing to download! Maybe your subscription is inactive?" end def run(episodes, config) do episodes |> Enum.each(&downloa...
30.37931
110
0.695233
2d9abf1116921ebc66f632f3232a9601cf759001
10,260
ex
Elixir
apps/abi/lib/abi/type_decoder.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
1
2018-09-21T02:58:03.000Z
2018-09-21T02:58:03.000Z
apps/abi/lib/abi/type_decoder.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
null
null
null
apps/abi/lib/abi/type_decoder.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
null
null
null
defmodule ABI.TypeDecoder do @moduledoc """ `ABI.TypeDecoder` is responsible for decoding types to the format expected by Solidity. We generally take a function selector and binary data and decode that into the original arguments according to the specification. """ @doc """ Decodes the given data based...
35.136986
461
0.617154
2d9acb8bc8e0bebd54075613bf124f8ea718fab5
1,431
ex
Elixir
dh11_live_view_firware/lib/dh11_live_view_firware/application.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
dh11_live_view_firware/lib/dh11_live_view_firware/application.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
dh11_live_view_firware/lib/dh11_live_view_firware/application.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
defmodule Dh11LiveViewFirware.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # See https://hexdocs.pm/elixir/Supervisor.html # for other strategies and supported options opts =...
29.8125
104
0.696716
2d9afbd74d4c6685f85da0807ef6035b5cd4a448
302
exs
Elixir
test/credo/cli/output/summary_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
test/credo/cli/output/summary_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
test/credo/cli/output/summary_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.CLI.Output.SummaryTest do use Credo.Test.Case alias Credo.CLI.Output.Summary alias Credo.Execution doctest Credo.CLI.Output.Summary test "print/4 it does not blow up on an empty umbrella project" do exec = Execution.build() Summary.print([], exec, 0, 0) end end
20.133333
68
0.721854
2d9b0d152c1969bbb0caf06e51bf614d47e8020e
2,428
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/model/gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
51.659574
1,102
0.760297
2d9b10a8a29c2c3a76e7e3e36c168f48c5ace234
2,357
ex
Elixir
lib/nebulex/cache/supervisor.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
lib/nebulex/cache/supervisor.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
lib/nebulex/cache/supervisor.ex
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
defmodule Nebulex.Cache.Supervisor do @moduledoc false use Supervisor @doc """ Starts the cache manager supervisor. """ def start_link(cache, otp_app, adapter, opts) do sup_opts = if name = Keyword.get(opts, :name, cache), do: [name: name], else: [] Supervisor.start_link(__MODULE__, {cache, otp_app...
28.059524
100
0.653797
2d9b117b0e77a899b2aadcf6476f9c8071902a2d
708
ex
Elixir
lib/multi_tenancex/mix/tasks/multi_tenancex.ecto.rollback_tenants.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
30
2018-06-27T17:51:53.000Z
2021-04-24T03:17:55.000Z
lib/multi_tenancex/mix/tasks/multi_tenancex.ecto.rollback_tenants.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
null
null
null
lib/multi_tenancex/mix/tasks/multi_tenancex.ecto.rollback_tenants.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
7
2018-07-24T17:56:14.000Z
2019-12-31T02:10:13.000Z
defmodule Mix.Tasks.MultiTenancex.Ecto.RollbackTenants do use Mix.Task import Mix.Ecto alias MultiTenancex.TenantActions @shortdoc "Rolls back the repository migrations in tenants" @doc false def run(_args) do Code.compiler_options(ignore_module_conflict: true) {:ok, _, _} = ensure_started(Multi...
27.230769
67
0.74435
2d9b2618032238554ac9e3b131d60430f1ca4db8
43,548
ex
Elixir
lib/elixir/lib/string.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
nurugger07/elixir
c859e49199bb24190656e6d3acb6cf35fe70e8bb
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [length: 1] defmodule String do @moduledoc ~S""" A String in Elixir is a UTF-8 encoded binary. ## Codepoints and graphemes The functions in this module act according to the Unicode Standard, version 6.3.0. As per the standard, a codepoint is a Unicode Character, which may be repres...
25.9678
125
0.631349
2d9b2768e3095cf03ea31ad74ab0eb1bb9d76511
2,543
exs
Elixir
test/unit/hologram/compiler/call_graph_builder/module_definition_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/call_graph_builder/module_definition_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/call_graph_builder/module_definition_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.CallGraphBuilder.ModuleDefinitionTest do use Hologram.Test.UnitCase, async: false alias Hologram.Compiler.{CallGraph, CallGraphBuilder, Reflection} alias Hologram.Compiler.IR.{Block, FunctionDefinition, ModuleDefinition, ModuleType} alias Hologram.Test.Fixtures.{PlaceholderModule1, ...
28.573034
92
0.712151
2d9b586e78b8d038226c01bf8edc1e598df7e9eb
2,368
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/health_check.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/health_check.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/health_check.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...
40.827586
179
0.756757
2d9b5ddad6f28b3c923ac5867ab5d972ed1d4c30
622
exs
Elixir
day2/test/part1_test.exs
ryanbillingsley/advent_of_code
9219a4b763966b70caed85865bb073a26bb3a705
[ "MIT" ]
null
null
null
day2/test/part1_test.exs
ryanbillingsley/advent_of_code
9219a4b763966b70caed85865bb073a26bb3a705
[ "MIT" ]
null
null
null
day2/test/part1_test.exs
ryanbillingsley/advent_of_code
9219a4b763966b70caed85865bb073a26bb3a705
[ "MIT" ]
null
null
null
defmodule Part1Test do use ExUnit.Case, async: true require Day2.Part1 test "Calculate smallest area returns the square feet" do input = [11,2,8] expect = 16 actual = Day2.Part1.calculate_smallest_area(input) assert expect == actual end test "Calculate Area returns the square footage" do ...
19.4375
59
0.681672
2d9b7c3d515ccef8e23779df68059a521d38efd5
747
ex
Elixir
lib/adyen_checkout_ex/model/sepa_direct_debit_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
1
2021-05-30T20:45:10.000Z
2021-05-30T20:45:10.000Z
lib/adyen_checkout_ex/model/sepa_direct_debit_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
lib/adyen_checkout_ex/model/sepa_direct_debit_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdyenCheckoutEx.Model.SepaDirectDebitDetails do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"iban", :"ownerName", ...
21.970588
91
0.668005
2d9bb02c770dc0a966de43108fabb48c0064dbd2
529
ex
Elixir
lib/steve/application.ex
frostu8/steve
9018a3142bf4e51efc8e4dd0b307406a1075b3c8
[ "Unlicense" ]
null
null
null
lib/steve/application.ex
frostu8/steve
9018a3142bf4e51efc8e4dd0b307406a1075b3c8
[ "Unlicense" ]
null
null
null
lib/steve/application.ex
frostu8/steve
9018a3142bf4e51efc8e4dd0b307406a1075b3c8
[ "Unlicense" ]
null
null
null
defmodule Steve.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Starts a worker by calling: Steve.Worker.start_link(arg) Steve.Harvey ] ...
25.190476
64
0.708885
2d9bc0f138903d704874de90ce5daced58d1e288
1,642
ex
Elixir
lib/hangman/player_worker_supervisor.ex
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
1
2016-12-19T00:10:34.000Z
2016-12-19T00:10:34.000Z
lib/hangman/player_worker_supervisor.ex
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
null
null
null
lib/hangman/player_worker_supervisor.ex
brpandey/elixir-hangman
458502af766b42e492ebb9ca543fc8b855687b09
[ "MIT" ]
null
null
null
defmodule Hangman.Player.Worker.Supervisor do @moduledoc false ''' Module implements supervisor functionality, overseeing dynamically started player workers. Player workers are dynamically started with player_id, player_type, display, and game_pid parameters Restart strategy is transient. So unless th...
26.483871
83
0.730207
2d9bc66d68edd76a163b1a423af2760894e06f89
2,973
exs
Elixir
test/stripe/api_test.exs
tlvenn/stripity_stripe
0ebd0b3914044627d165bdb62f9429cd5d80710c
[ "BSD-3-Clause" ]
null
null
null
test/stripe/api_test.exs
tlvenn/stripity_stripe
0ebd0b3914044627d165bdb62f9429cd5d80710c
[ "BSD-3-Clause" ]
null
null
null
test/stripe/api_test.exs
tlvenn/stripity_stripe
0ebd0b3914044627d165bdb62f9429cd5d80710c
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.APITest do import Mox use Stripe.StripeCase test "works with 301 responses without issue" do {:error, %Stripe.Error{extra: %{http_status: 301}}} = Stripe.API.request(%{}, :get, "/", %{}, []) end test "oauth_request works" do verify_on_exit!() Stripe.APIMock |> expect(...
30.649485
92
0.610494
2d9bd7a7ea29a222e0796cf36f7307b35a00c1c5
614
ex
Elixir
lib/install.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
6
2015-02-25T06:13:45.000Z
2016-04-11T13:06:13.000Z
lib/install.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
null
null
null
lib/install.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Install do use Mix.Task use PasteDB def run(_) do IO.puts("Stopping running mnesia node...") Amnesia.stop |> IO.inspect IO.puts("Destroying current schema") Amnesia.Schema.destroy |> IO.inspect IO.puts("Creating new schema") Amnesia.Schema.create |> IO.inspect IO.p...
26.695652
52
0.667752
2d9bec8c8d74a98f8da1c50c06995df5e6b2c3fd
2,139
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_document_provenance_parent.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_document_provenance_parent.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta1_document_provenance_parent.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...
36.87931
192
0.733053
2d9bef7d08e9ddc73d34db6eaa51400e5c969b5b
1,358
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/model/resellernotify_resource.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/resellernotify_resource.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/resellernotify_resource.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.521739
82
0.757732
2d9c2ac444829410f1388ac184b88fbb1f0e575f
7,927
exs
Elixir
.credo.exs
andersonmcook/credo
cea1ac63dc378316f5e6dd050165a00e5b20ca2f
[ "MIT" ]
null
null
null
.credo.exs
andersonmcook/credo
cea1ac63dc378316f5e6dd050165a00e5b20ca2f
[ "MIT" ]
24
2021-03-26T17:42:17.000Z
2021-03-31T11:47:17.000Z
.credo.exs
andersonmcook/credo
cea1ac63dc378316f5e6dd050165a00e5b20ca2f
[ "MIT" ]
1
2021-07-05T19:04:48.000Z
2021-07-05T19:04:48.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 ...
39.437811
97
0.615996
2d9c31c5aaf410bc4cbe5b6c2683b3ac499e30f1
1,654
ex
Elixir
web/controllers/note_controller.ex
cesarreyesa/timeline
fb7b7bdfc64a28420d690999dd3777ba3838afbb
[ "Apache-2.0" ]
null
null
null
web/controllers/note_controller.ex
cesarreyesa/timeline
fb7b7bdfc64a28420d690999dd3777ba3838afbb
[ "Apache-2.0" ]
null
null
null
web/controllers/note_controller.ex
cesarreyesa/timeline
fb7b7bdfc64a28420d690999dd3777ba3838afbb
[ "Apache-2.0" ]
null
null
null
defmodule Timeline.NoteController do use Timeline.Web, :controller alias Timeline.Note plug :scrub_params, "note" when action in [:create, :update] plug :action def index(conn, _params) do notes = Repo.all(Note) render(conn, "index.html", notes: notes) end def new(conn, _params) do changes...
24.323529
65
0.62757
2d9c339f7cc5e60517702992da888f90f5fd1398
909
exs
Elixir
tournamex/mix.exs
Papillon6814/tournamex
539a70cab4f911e55686c19d25d139740ccff808
[ "MIT" ]
2
2021-01-04T16:46:57.000Z
2021-05-13T05:05:24.000Z
tournamex/mix.exs
Papillon6814/tournamex
539a70cab4f911e55686c19d25d139740ccff808
[ "MIT" ]
2
2021-01-20T05:37:21.000Z
2021-05-13T13:32:54.000Z
tournamex/mix.exs
Papillon6814/tournamex
539a70cab4f911e55686c19d25d139740ccff808
[ "MIT" ]
null
null
null
defmodule Tournamex.MixProject do use Mix.Project def project do [ app: :tournamex, version: "0.2.0", elixir: "~> 1.9", description: "Simple package for managing tournament.", start_permanent: Mix.env() == :prod, aliases: aliases(), package: package(), deps: deps...
19.340426
71
0.551155
2d9c37b98e2571c90ee99939f363df1e591a8ecd
2,307
ex
Elixir
lib/statistics/distributions/hypergeometric.ex
alanvardy/elixir-statistics
21a923bbf84a3e71a133868abe5d3610864b130e
[ "Apache-2.0" ]
118
2015-03-31T18:57:57.000Z
2022-02-25T18:14:06.000Z
lib/statistics/distributions/hypergeometric.ex
alanvardy/elixir-statistics
21a923bbf84a3e71a133868abe5d3610864b130e
[ "Apache-2.0" ]
13
2015-08-10T14:28:27.000Z
2021-11-23T06:44:40.000Z
lib/statistics/distributions/hypergeometric.ex
alanvardy/elixir-statistics
21a923bbf84a3e71a133868abe5d3610864b130e
[ "Apache-2.0" ]
32
2015-06-01T01:50:20.000Z
2021-11-19T16:00:44.000Z
defmodule Statistics.Distributions.Hypergeometric do @moduledoc """ Hypergeometric distribution. It models the probability that an n numbers of trials result in exactly k successes, with a population of pn items, where pk are considered as successes. """ alias Statistics.Math @doc """ The probabili...
21.764151
82
0.592111
2d9c41b0b274509254e610273c5fb31444f55f62
727
ex
Elixir
lib/system/node_monitor.ex
whitfin/extreme_system
a19830db1a4e2128517951f2eddffa9296317382
[ "MIT" ]
null
null
null
lib/system/node_monitor.ex
whitfin/extreme_system
a19830db1a4e2128517951f2eddffa9296317382
[ "MIT" ]
null
null
null
lib/system/node_monitor.ex
whitfin/extreme_system
a19830db1a4e2128517951f2eddffa9296317382
[ "MIT" ]
null
null
null
defmodule Extreme.System.NodeMonitor do require Logger def start_link do {:ok, spawn_link fn -> :global_group.monitor_nodes true Process.register self(), __MODULE__ monitor() end} end def monitor do receive do {:nodeup, node} -> Logger.info "NodeMonitor: #{node} joined" ...
24.233333
101
0.639615
2d9c43bed5c24d03fab867c4a734add58daf59d1
901
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/rolling_upgrade_policy.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/rolling_upgrade_policy.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/rolling_upgrade_policy.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Compute.Model.RollingUpgradePolicy do @moduledoc """ The configuration parameters used while performing a rolling u...
28.15625
93
0.741398
2d9c778962d0fbd3a62f79321e5733e160a35b21
708
ex
Elixir
priv/templates/coh.gen.controllers/controllers/coherence/invitation_controller.ex
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
1,347
2016-07-04T23:20:10.000Z
2022-02-10T20:10:48.000Z
priv/templates/coh.gen.controllers/controllers/coherence/invitation_controller.ex
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
378
2016-07-06T16:30:28.000Z
2021-09-16T13:34:05.000Z
priv/templates/coh.gen.controllers/controllers/coherence/invitation_controller.ex
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
276
2016-07-06T20:26:17.000Z
2021-12-06T19:32:41.000Z
defmodule <%= web_base %>.Coherence.InvitationController do @moduledoc """ Handle invitation actions. Handle the following actions: * new - render the send invitation form. * create - generate and send the invitation token. * edit - render the form after user clicks the invitation email link. * create_u...
35.4
80
0.747175
2d9c80712c0059b5b510ab98ea42f4d8e887668b
219
ex
Elixir
lib/ecto_temp/table.ex
livinginthepast/ecto_temp
32f57e1aa4b736bdac624376267fdcfa20a3efa0
[ "Apache-2.0" ]
null
null
null
lib/ecto_temp/table.ex
livinginthepast/ecto_temp
32f57e1aa4b736bdac624376267fdcfa20a3efa0
[ "Apache-2.0" ]
null
null
null
lib/ecto_temp/table.ex
livinginthepast/ecto_temp
32f57e1aa4b736bdac624376267fdcfa20a3efa0
[ "Apache-2.0" ]
null
null
null
defmodule EctoTemp.Table do @moduledoc false defstruct name: nil, primary_key: true, schema_name: nil, columns: [] def columns(columns) do columns |> Enum.reverse() |> Enum.join(",\n ") end end
18.25
71
0.648402