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
93de1bab63e7482a4578198c83d9907f665bcf4a
170
exs
Elixir
priv/repo/migrations/20171023142220_add_image_url_to_users.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
17
2017-11-14T14:03:18.000Z
2021-12-10T04:18:48.000Z
priv/repo/migrations/20171023142220_add_image_url_to_users.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
21
2017-11-19T13:38:07.000Z
2022-02-10T00:11:14.000Z
priv/repo/migrations/20171023142220_add_image_url_to_users.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
2
2019-09-03T03:32:13.000Z
2021-02-23T21:52:57.000Z
defmodule Platform.Repo.Migrations.AddImageUrlToUsers do use Ecto.Migration def change do alter table(:users) do add :image_url, :string end end end
17
56
0.717647
93de31696163b322e65bb0036daca570268444fc
1,544
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/filter_pair.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/filter_pair.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/filter_pair.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...
30.88
84
0.718912
93de576f603809a753d67622a6729531f50aa9fb
2,299
ex
Elixir
lib/airline_api_aggregator/afkl.ex
SanketSapkal/airline_api_aggregator
fd4d5243c7ee936ab2fa07281ef1db6badec8d14
[ "Apache-2.0" ]
null
null
null
lib/airline_api_aggregator/afkl.ex
SanketSapkal/airline_api_aggregator
fd4d5243c7ee936ab2fa07281ef1db6badec8d14
[ "Apache-2.0" ]
null
null
null
lib/airline_api_aggregator/afkl.ex
SanketSapkal/airline_api_aggregator
fd4d5243c7ee936ab2fa07281ef1db6badec8d14
[ "Apache-2.0" ]
null
null
null
defmodule AirlineAPIAggregator.AFKL do @moduledoc """ AFKL airlines aggregator module. Fetches data from airlines. Currently fetches the flight data for a origin airport to destination airport on the specified date. """ import SweetXml @behaviour AirlineAPIAggregator.APIBehaviour @airline_code "AFKL"...
29.857143
84
0.695085
93de5c7b521c19f7e79cc13da1e992dc656fe720
681
exs
Elixir
test/support/test_error_view.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
502
2016-09-03T14:23:53.000Z
2022-03-23T17:36:37.000Z
test/support/test_error_view.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
350
2016-08-29T18:53:26.000Z
2022-03-27T15:45:38.000Z
test/support/test_error_view.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
147
2016-09-22T13:30:57.000Z
2022-03-14T13:24:14.000Z
defmodule Sentry.ErrorView do import Phoenix.HTML, only: [sigil_E: 2, raw: 1] def render(_, _) do case Sentry.get_last_event_id_and_source() do {event_id, :plug} -> opts = %{title: "Testing", eventId: event_id} |> Jason.encode!() ~E""" <script src="https://bro...
28.375
190
0.590308
93de60e9afb3b1f799d4523dd1c24a71d7dca322
1,790
ex
Elixir
lib/ex_check/config/generator.ex
gerbal/ex_check
1247075a64d17f69c3e6e9699bd95664cc128466
[ "MIT" ]
225
2019-07-21T14:44:17.000Z
2022-03-31T11:08:07.000Z
lib/ex_check/config/generator.ex
gerbal/ex_check
1247075a64d17f69c3e6e9699bd95664cc128466
[ "MIT" ]
23
2019-07-30T03:05:42.000Z
2022-03-06T18:11:50.000Z
lib/ex_check/config/generator.ex
gerbal/ex_check
1247075a64d17f69c3e6e9699bd95664cc128466
[ "MIT" ]
9
2019-11-23T23:04:39.000Z
2022-03-29T00:54:34.000Z
defmodule ExCheck.Config.Generator do @moduledoc false alias ExCheck.Printer alias ExCheck.Project @generated_config """ [ ## don't run tools concurrently # parallel: false, ## don't print info about skipped tools # skipped: false, ## always run tools in fix mode (put it in ~/.check.ex...
28.870968
97
0.636872
93de78252c58e78916de65929c2121e2cbd97e5e
371
exs
Elixir
market_api/priv/repo/migrations/20160515003314_create_product.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/priv/repo/migrations/20160515003314_create_product.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/priv/repo/migrations/20160515003314_create_product.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule MarketApi.Repo.Migrations.CreateProduct do use Ecto.Migration def change do create table(:products) do add :name, :string add :barcode, :string add :image, :string add :price, :decimal add :market_id, references(:markets, on_delete: :nothing) timestamps end ...
20.611111
63
0.660377
93de7ebef112972d8e1dc925e6c8b82ddfd3bc1d
1,732
ex
Elixir
lib/hn_comments_game_web/telemetry.ex
ldd/hn_comments_game
5f720621c549a3737c155f9d59fa8277491f3b16
[ "MIT" ]
5
2020-05-15T17:06:22.000Z
2020-06-20T12:05:46.000Z
lib/hn_comments_game_web/telemetry.ex
ldd/hn_comments_game
5f720621c549a3737c155f9d59fa8277491f3b16
[ "MIT" ]
null
null
null
lib/hn_comments_game_web/telemetry.ex
ldd/hn_comments_game
5f720621c549a3737c155f9d59fa8277491f3b16
[ "MIT" ]
null
null
null
defmodule HnCommentsGameWeb.Telemetry do 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, measurements: periodic_measurements(), period: 10_000} # Ad...
32.074074
88
0.676674
93de81c48296a7f468126122dba01fcfeb389a21
1,520
ex
Elixir
lib/goldie/location.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
lib/goldie/location.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
lib/goldie/location.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
defmodule Goldie.Location do @moduledoc """ Entity location in the world """ require Logger #defstruct [:from, :to, :ppos, :updated] @spec xy_distance(number, number, number, number) :: map def new(from_x, from_y, to_x, to_y) do %{ from: %{ x: from_x, y: from_y }, to: %{ x: to_x, ...
33.777778
86
0.643421
93de8dd53ed7f1f24922af2e3f511b6f4f52a748
441
ex
Elixir
apps/general/lib/general/router.ex
bornmeyer/janus_signaling
cbab905aaa844a2762d4647f9363370cecd3db22
[ "Apache-2.0" ]
null
null
null
apps/general/lib/general/router.ex
bornmeyer/janus_signaling
cbab905aaa844a2762d4647f9363370cecd3db22
[ "Apache-2.0" ]
null
null
null
apps/general/lib/general/router.ex
bornmeyer/janus_signaling
cbab905aaa844a2762d4647f9363370cecd3db22
[ "Apache-2.0" ]
null
null
null
defmodule General.Router do use Plug.Router require EEx plug :match plug Plug.Parsers, parsers: [:json], pass: ["application/json"], json_decoder: Jason plug :dispatch #EEx.function_from_file(:defp, :application_html, "lib/application.html.eex", []) #get "/" do ...
21
85
0.600907
93de94dd11cd6f3b91c481851d428627965bd850
1,988
exs
Elixir
config/prod.exs
JesseHerrick/phoenix_liveview_gps
711b0cd3eb7277e12be3bac26aa950914c4cf8e7
[ "MIT" ]
1
2021-03-28T08:22:40.000Z
2021-03-28T08:22:40.000Z
config/prod.exs
JesseHerrick/phoenix_liveview_gps
711b0cd3eb7277e12be3bac26aa950914c4cf8e7
[ "MIT" ]
null
null
null
config/prod.exs
JesseHerrick/phoenix_liveview_gps
711b0cd3eb7277e12be3bac26aa950914c4cf8e7
[ "MIT" ]
1
2021-01-15T12:40:12.000Z
2021-01-15T12:40:12.000Z
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.5
66
0.711268
93deb54c58496d9265516542f36cccf071fcd702
1,364
exs
Elixir
server/config/config.exs
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
6
2019-04-03T19:16:01.000Z
2020-08-10T09:38:24.000Z
server/config/config.exs
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
32
2019-03-19T02:45:45.000Z
2021-12-05T06:58:07.000Z
server/config/config.exs
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :freedom_account, ecto_repos: [FreedomAc...
34.1
86
0.792522
93dec0156a0c7495af27e58465db037519569cce
1,319
exs
Elixir
mix.exs
kianmeng/burnex
bc9c475e43e60a2faf3240b1c101bde32d50e86f
[ "MIT" ]
null
null
null
mix.exs
kianmeng/burnex
bc9c475e43e60a2faf3240b1c101bde32d50e86f
[ "MIT" ]
null
null
null
mix.exs
kianmeng/burnex
bc9c475e43e60a2faf3240b1c101bde32d50e86f
[ "MIT" ]
null
null
null
defmodule Burnex.Mixfile do use Mix.Project def project do [ app: :burnex, version: String.trim(File.read!("VERSION")), elixir: "~> 1.7", description: "Elixir burner email (temporary address) detector", start_permanent: Mix.env() == :prod, package: package(), deps: dep...
24.886792
98
0.536012
93def3f646cfecabe0af2760f5a0aa5816b4f0e3
263
exs
Elixir
test/test_helper.exs
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
60
2017-05-09T19:08:26.000Z
2021-01-20T11:09:42.000Z
test/test_helper.exs
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
6
2017-05-10T15:43:16.000Z
2020-07-15T07:14:41.000Z
test/test_helper.exs
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
10
2017-05-10T04:13:54.000Z
2020-12-28T10:30:27.000Z
{:ok, _} = Application.ensure_all_started(:ex_machina) Application.ensure_all_started(:hound) ExUnit.configure(timeout: :infinity) ExUnit.configure(exclude: [pending: true, integration: true]) ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(UcxChat.Repo, :manual)
26.3
61
0.790875
93df0ae819ad738be4dae31ae984a09032f5bc7c
75,439
exs
Elixir
integration_test/cases/repo.exs
nathanl/ecto
774216ea4be4dbfc35836be19519a376b80fc392
[ "Apache-2.0" ]
null
null
null
integration_test/cases/repo.exs
nathanl/ecto
774216ea4be4dbfc35836be19519a376b80fc392
[ "Apache-2.0" ]
1
2021-03-09T16:43:23.000Z
2021-03-09T16:43:23.000Z
integration_test/cases/repo.exs
nathanl/ecto
774216ea4be4dbfc35836be19519a376b80fc392
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.RepoTest do use Ecto.Integration.Case, async: Application.get_env(:ecto, :async_integration_tests, true) alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.Order alias Ecto.Integration.User alias Ecto.Integration.Comment alia...
37.814035
152
0.628176
93df0ebe9243d3c9cf1f5c768beea9e947f2fbaa
1,724
exs
Elixir
rel/config.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
1
2019-02-10T10:22:39.000Z
2019-02-10T10:22:39.000Z
rel/config.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
rel/config.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # T...
29.724138
81
0.722738
93df51ab5b84c661394d8ad589e57f941b682aa6
324
ex
Elixir
lib/clients/gravity.ex
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
11
2016-08-18T23:18:57.000Z
2019-05-03T17:46:55.000Z
lib/clients/gravity.ex
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
105
2016-08-17T23:36:07.000Z
2019-09-26T18:14:24.000Z
lib/clients/gravity.ex
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
14
2016-08-17T17:23:45.000Z
2019-09-16T16:14:59.000Z
defmodule Gravity do use HTTPoison.Base def process_url(url) do Application.get_env(:aprb, :gravity_api_url) <> url end def process_request_headers(_headers), do: Enum.into(%{"X-XAPP-TOKEN" => Application.get_env(:aprb, :gravity_api_token)}, []) def process_response_body(body), do: Poison.decode!(body) ...
29.454545
127
0.734568
93df75b2066d8e69457512007aacfdadedd9913b
72
ex
Elixir
lib/ketbin_web/views/user_reset_password_view.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
4
2020-08-05T20:05:34.000Z
2020-10-01T10:01:56.000Z
lib/ketbin_web/views/user_reset_password_view.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
1
2020-07-08T05:02:12.000Z
2020-09-25T10:05:11.000Z
lib/ketbin_web/views/user_reset_password_view.ex
ATechnoHazard/katbin
20a0b45954cf7819cd9d51c401db06be0f47666b
[ "MIT" ]
1
2020-08-30T12:59:49.000Z
2020-08-30T12:59:49.000Z
defmodule KetbinWeb.UserResetPasswordView do use KetbinWeb, :view end
18
44
0.833333
93df8867106061d2e18ff75df215ee5322121106
1,801
ex
Elixir
clients/content/lib/google_api/content/v2/model/unit_invoice_tax_line.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/unit_invoice_tax_line.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/unit_invoice_tax_line.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.981132
143
0.712937
93dfa01ebc55b23ea3d78c3d84d2444303d3b5f7
994
ex
Elixir
lib/execjs/runtime.ex
solvedata/execjs
a2fc3adf2b915f2f90c0a47eb9b3553838202c1c
[ "CC0-1.0" ]
126
2015-01-08T11:55:52.000Z
2022-01-06T01:26:48.000Z
lib/execjs/runtime.ex
solvedata/execjs
a2fc3adf2b915f2f90c0a47eb9b3553838202c1c
[ "CC0-1.0" ]
7
2016-06-16T06:32:39.000Z
2020-01-30T21:09:58.000Z
lib/execjs/runtime.ex
solvedata/execjs
a2fc3adf2b915f2f90c0a47eb9b3553838202c1c
[ "CC0-1.0" ]
25
2015-07-06T14:42:56.000Z
2021-10-05T18:14:51.000Z
defmodule Execjs.Runtime do @moduledoc "Defines the `defruntime/2` macro to define JavaScript runtimes." alias Mix.Project app = Project.config()[:app] def runner_path(runner) do Path.join([:code.priv_dir(unquote(app)), runner]) end defmacro defruntime(runtime, options) do name = Macro.to_string...
24.243902
78
0.660966
93dfa89b1135a0d620d739f3487b88cb304d2638
1,817
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/project_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/project_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/project_settings.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.34
213
0.735278
93dfe29670e2c4a27d3d419b2b887569d1532a61
5,421
ex
Elixir
lib/ecto/model/queryable.ex
MSch/ecto
648f785b2202193921fe00d68bc334399f5edb93
[ "Apache-2.0" ]
1
2015-08-27T13:17:10.000Z
2015-08-27T13:17:10.000Z
lib/ecto/model/queryable.ex
TanYewWei/ecto
916c6467d5f7368fa10ecd7cfcfd2d4a9924a282
[ "Apache-2.0" ]
null
null
null
lib/ecto/model/queryable.ex
TanYewWei/ecto
916c6467d5f7368fa10ecd7cfcfd2d4a9924a282
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Model.Queryable do @moduledoc """ Defines a model as queryable. In order to create queries in Ecto, you need to pass a queryable data structure as argument. By using `Ecto.Model.Queryable` in your model, it imports the `queryable/2` macro. Assuming you have an entity named `Weather.Entity`,...
26.970149
80
0.627006
93dffcda60deedda3fab6fe2e39b183f888d91be
6,067
ex
Elixir
apps/demon_spirit_web/lib/demon_spirit_web/live/live_game_show.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
12
2019-09-17T13:47:57.000Z
2021-12-11T17:11:11.000Z
apps/demon_spirit_web/lib/demon_spirit_web/live/live_game_show.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
181
2019-10-15T01:21:44.000Z
2021-08-31T19:26:54.000Z
apps/demon_spirit_web/lib/demon_spirit_web/live/live_game_show.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
2
2020-07-11T02:18:46.000Z
2021-05-31T10:46:39.000Z
defmodule DemonSpiritWeb.LiveGameShow do @moduledoc """ LiveGameShow: This is the liveView of the "show" action of the game controller. If you are watching or playing a game, you're using this module. """ use Phoenix.LiveView require Logger alias DemonSpiritWeb.{Endpoint, GameUIServer, GameView, Presence...
28.087963
86
0.621394
93e026439ab1b836a324548474e75c1d12fc104f
200
ex
Elixir
lib/phone/vu.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/vu.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/vu.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.VU do @moduledoc false use Helper.Country def regex, do: ~r/^(678)()(.{5})/ def country, do: "Vanuatu" def a2, do: "VU" def a3, do: "VUT" matcher(:regex, ["678"]) end
15.384615
35
0.595
93e02710b31ed7516aab359d719a098151da0d73
1,624
exs
Elixir
test/wallet_test.exs
rpip/upvest-elixir
160177161cc4c36b39174569df5a0f68d4ba2ede
[ "MIT" ]
null
null
null
test/wallet_test.exs
rpip/upvest-elixir
160177161cc4c36b39174569df5a0f68d4ba2ede
[ "MIT" ]
6
2019-09-09T00:47:30.000Z
2019-10-23T14:45:13.000Z
test/wallet_test.exs
rpip/upvest-elixir
160177161cc4c36b39174569df5a0f68d4ba2ede
[ "MIT" ]
1
2019-09-16T13:08:06.000Z
2019-09-16T13:08:06.000Z
defmodule Upvest.WalletTest do use ExUnit.Case, async: false alias Upvest.Clientele.Wallet alias Upvest.Clientele.Wallet.Signature import Upvest.TestHelper doctest Upvest.Clientele.Wallet @client new_test_client(:oauth) @user_password System.get_env("UPVEST_TEST_PASSWORD") @eth_wallet %Wallet{ i...
26.193548
96
0.67303
93e03d43f63ea9a5ff1c7e09af8c9c9ae110bbf2
2,245
ex
Elixir
apps/parse/lib/parse/stop_times.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/parse/lib/parse/stop_times.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/parse/lib/parse/stop_times.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
defmodule Parse.StopTimes do @moduledoc """ Parses the GTFS stop_times.txt file. """ @behaviour Parse import NimbleParsec import Parse.Helpers # credo:disable-for-lines:4 Credo.Check.Refactor.PipeChainStart defparsec( :time, integer(min: 1, max: 2) |> ignore(string(":")) |> integer(2) ...
24.402174
78
0.598664
93e047f57b92d1f27feb9a14fc1ef90003141665
8,340
ex
Elixir
apps/schema_stitch/lib/query_generator.ex
emeryotopalik/absinthe-schema-stitching-example
922c2b76c7d722c1b8a009306570e134be8854d8
[ "Apache-2.0" ]
null
null
null
apps/schema_stitch/lib/query_generator.ex
emeryotopalik/absinthe-schema-stitching-example
922c2b76c7d722c1b8a009306570e134be8854d8
[ "Apache-2.0" ]
null
null
null
apps/schema_stitch/lib/query_generator.ex
emeryotopalik/absinthe-schema-stitching-example
922c2b76c7d722c1b8a009306570e134be8854d8
[ "Apache-2.0" ]
null
null
null
# Copyright (c) New Relic Corporation. All rights reserved. # SPDX-License-Identifier: Apache-2.0 defmodule SchemaStitch.QueryGenerator do @moduledoc """ Takes an Absinthe resolution struct and generates the relevant GraphQL query and variables. """ alias Absinthe.Blueprint @typename_field %Blueprint.Docume...
28.271186
98
0.680935
93e0708c69778296d4c20f1537a7b5196c4cf5b9
16,737
ex
Elixir
lib/aws/generated/app_stream.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/app_stream.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/app_stream.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "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.AppStream do @moduledoc """ Amazon AppStream 2.0 This is the *Amazon AppStream 2.0 API Reference*. This documentation provides descriptions and syntax for each of the actions and data typ...
33.208333
124
0.709625
93e079682cb357dd49e180d00333f8137abc4c86
2,424
exs
Elixir
lib/elixir/test/elixir/kernel/sigils_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/elixir/test/elixir/kernel/sigils_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/sigils_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.SigilsTest do use ExUnit.Case, async: true test :sigil_s do assert %s(foo) == "foo" assert %s(f#{:o}o) == "foo" assert %s(f\no) == "f\no" end test :sigil_s_with_heredoc do assert " foo\n\n" == %s""" f#{:o}o\n """ en...
24.484848
72
0.512376
93e0c01901d716af9d3629c5ebd1ad9c3d0eb462
6,046
ex
Elixir
lib/guardian_phoenix/socket.ex
WLSF/guardian_phoenix
604eefd2cda5555c1b5a935631e006bb29321f95
[ "MIT" ]
32
2019-01-27T11:59:06.000Z
2022-03-14T05:16:46.000Z
lib/guardian_phoenix/socket.ex
WLSF/guardian_phoenix
604eefd2cda5555c1b5a935631e006bb29321f95
[ "MIT" ]
10
2019-03-11T20:18:26.000Z
2022-03-03T15:49:01.000Z
lib/guardian_phoenix/socket.ex
WLSF/guardian_phoenix
604eefd2cda5555c1b5a935631e006bb29321f95
[ "MIT" ]
8
2019-08-22T07:20:28.000Z
2021-09-24T20:21:10.000Z
defmodule Guardian.Phoenix.Socket do @moduledoc """ Provides functions for managing authentication with sockets. This module mostly provides convenience functions for storing tokens, claims and resources on the socket assigns. The main functions you'll be interested in are: * `Guardian.Phoenix.Socket.aut...
32.858696
116
0.669368
93e0ce8ce606d35d2ebb1e5296c508b0ed5fae90
200
exs
Elixir
test/hT16K33_test.exs
Bananarchist/HT16K33
73a26c02d7ea36d2a2750f1d1b6f3e12cb49701a
[ "Apache-2.0" ]
null
null
null
test/hT16K33_test.exs
Bananarchist/HT16K33
73a26c02d7ea36d2a2750f1d1b6f3e12cb49701a
[ "Apache-2.0" ]
null
null
null
test/hT16K33_test.exs
Bananarchist/HT16K33
73a26c02d7ea36d2a2750f1d1b6f3e12cb49701a
[ "Apache-2.0" ]
null
null
null
defmodule HT16K33Test do use ExUnit.Case test "Returns a nice decimal for a space" do assert HT16K33.character_for(' ') |> HT16K33.with_decimal_point() == <<0x00, 0x40>> end end
22.222222
60
0.67
93e0d6cc982fd8a1c697df9dc60567b18fbeddec
979
exs
Elixir
test/list_tags_test.exs
fmcgeough/ex_aws_cloud_trail
30346e5c11acf9dc5d133635b8025fe659e9f957
[ "MIT" ]
null
null
null
test/list_tags_test.exs
fmcgeough/ex_aws_cloud_trail
30346e5c11acf9dc5d133635b8025fe659e9f957
[ "MIT" ]
null
null
null
test/list_tags_test.exs
fmcgeough/ex_aws_cloud_trail
30346e5c11acf9dc5d133635b8025fe659e9f957
[ "MIT" ]
null
null
null
defmodule ListTagsTest do use ExUnit.Case test "list_tags" do op = ExAws.CloudTrail.list_tags("arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail") assert op.headers == [ {"x-amz-target", "CloudTrail_20131101.ListTags"}, {"content-type", "application/x-amz-json-1.1"} ...
28.794118
94
0.589377
93e0d8e1896651184ae14985de799c25b09cf9bc
2,175
ex
Elixir
lib/r_range/ruby.ex
koga1020/ex-r_enum
9289452b85aa48bc3ecbe3c09df023a4a0f20a8e
[ "Apache-2.0" ]
null
null
null
lib/r_range/ruby.ex
koga1020/ex-r_enum
9289452b85aa48bc3ecbe3c09df023a4a0f20a8e
[ "Apache-2.0" ]
null
null
null
lib/r_range/ruby.ex
koga1020/ex-r_enum
9289452b85aa48bc3ecbe3c09df023a4a0f20a8e
[ "Apache-2.0" ]
null
null
null
defmodule RRange.Ruby do @moduledoc """ Summarized all of Ruby's Range functions. Functions corresponding to the following patterns are not implemented - When a function with the same name already exists in Elixir. - When a method name includes `!`. - %, ==, === """ @spec __using__(any) :: list def...
23.387097
186
0.576092
93e145ae3d0b0df284a2c892c9dcb5c3327586bf
1,226
exs
Elixir
mix.exs
thanos/ccxtex
55c019a2de716813c544fb4219bda6e5d53bedcf
[ "MIT" ]
1
2019-06-10T21:37:08.000Z
2019-06-10T21:37:08.000Z
mix.exs
thanos/ccxtex
55c019a2de716813c544fb4219bda6e5d53bedcf
[ "MIT" ]
null
null
null
mix.exs
thanos/ccxtex
55c019a2de716813c544fb4219bda6e5d53bedcf
[ "MIT" ]
1
2019-06-10T21:36:52.000Z
2019-06-10T21:36:52.000Z
defmodule Ccxtex.MixProject do use Mix.Project def project do [ app: :ccxtex, version: "0.3.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package() ] end # Run "mix help compile.app" to learn about applications. def application ...
24.039216
83
0.531811
93e149a08e2fa2a0f7bb92ac16ccd4c874594152
405
ex
Elixir
apps/artemis_api/lib/artemis_api/graphql/resolvers/session.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis_api/lib/artemis_api/graphql/resolvers/session.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_api/lib/artemis_api/graphql/resolvers/session.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule ArtemisApi.GraphQL.Resolver.Session do alias Artemis.Event alias ArtemisApi.CreateSession alias ArtemisApi.GetUserByAuthProvider def create_session(params, _context) do case GetUserByAuthProvider.call(params) do {:ok, user} -> user |> CreateSession.call() |> Event.br...
22.5
55
0.679012
93e15428bd44bd0ca1b75c81f3d5ca2e27415a87
429
ex
Elixir
mix/support/normalize/normalize_territory_containers.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
mix/support/normalize/normalize_territory_containers.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
mix/support/normalize/normalize_territory_containers.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Normalize.TerritoryContainers do @moduledoc false def normalize(content) do content |> normalize_territory_containers end def normalize_territory_containers(content) do content |> Enum.map(fn {k, v} -> if String.contains?(k, "-status-") do nil else {k...
18.652174
48
0.615385
93e1614b32b92ff4aaea3dddfd49936849d79f60
2,003
ex
Elixir
lib/embed_chat_web/models/user.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
27
2016-10-15T12:13:22.000Z
2021-02-07T20:31:41.000Z
lib/embed_chat_web/models/user.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
null
null
null
lib/embed_chat_web/models/user.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
4
2016-08-21T15:03:29.000Z
2019-11-22T13:15:29.000Z
defmodule EmbedChat.User do use EmbedChatWeb, :model schema "users" do field :email, :string field :name, :string field :password, :string, virtual: true field :crypted_password, :string has_many :addresses, EmbedChat.Address has_many :userprojects, EmbedChat.UserProject has_many :proj...
24.426829
82
0.643035
93e1761398f73bd37cf597ab3dfb1b3e234df92f
113
ex
Elixir
lib/forge_sdk/wallet/type/general.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
21
2019-05-08T01:25:42.000Z
2022-02-08T02:30:18.000Z
lib/forge_sdk/wallet/type/general.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
6
2019-05-27T23:07:00.000Z
2020-03-10T04:33:10.000Z
lib/forge_sdk/wallet/type/general.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
2
2019-07-21T18:12:47.000Z
2021-07-31T21:18:38.000Z
defimpl ForgeSdk.Wallet, for: ForgeAbi.WalletType do use ForgeSdk.Wallet.Builder, mod: ForgeAbi.WalletType end
28.25
55
0.814159
93e1a36c75287fb630266e9c1c82afe06f4a8ab2
973
exs
Elixir
mix.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
mix.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
mix.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
defmodule Poxa.Mixfile do use Mix.Project def project do [ app: :poxa, version: "0.8.1", name: "Poxa", elixir: "~> 1.5", deps: deps(), dialyzer: [ plt_add_apps: ~w(cowboy poison gproc httpoison signaturex), plt_file: ".local.plt", flags: ~w(-Wunmatched_retu...
25.605263
109
0.500514
93e1b8123810d41d4ece76b03aed4b3ba0d0fff6
46,637
exs
Elixir
test/phoenix_live_view/diff_test.exs
ucwaldo/phoenix_live_view
aa192420dc3b3b4158bbc7582ce39cb149221170
[ "MIT" ]
2
2021-05-15T05:20:19.000Z
2021-05-20T17:55:04.000Z
test/phoenix_live_view/diff_test.exs
ucwaldo/phoenix_live_view
aa192420dc3b3b4158bbc7582ce39cb149221170
[ "MIT" ]
1
2021-05-12T12:14:27.000Z
2021-05-12T12:14:27.000Z
test/phoenix_live_view/diff_test.exs
ucwaldo/phoenix_live_view
aa192420dc3b3b4158bbc7582ce39cb149221170
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.DiffTest do use ExUnit.Case, async: true import Phoenix.LiveView.Helpers alias Phoenix.LiveView.{Socket, Diff, Rendered, Component} alias Phoenix.LiveComponent.CID def basic_template(assigns) do ~L""" <div> <h2>It's <%= @time %></h2> <%= @subtitle %> </div...
32.590496
133
0.485173
93e1d4ccaee95401fa2b661828d49845c2afc524
124
ex
Elixir
lib/google_fit/activity_type/cricket.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
2
2017-02-01T13:51:26.000Z
2019-04-12T11:37:25.000Z
lib/google_fit/activity_type/cricket.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
lib/google_fit/activity_type/cricket.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
defmodule GoogleFit.ActivityType.Cricket do @moduledoc false def code, do: GoogleFit.ActivityType.code(__MODULE__) end
20.666667
55
0.806452
93e2019e363aec3dc74e8e489cdb65497fba3e89
761
ex
Elixir
examples/originate.ex
evangilo/switchx
bbd045dd3c067c23663d17a9f9db632ab4affd22
[ "MIT" ]
8
2020-03-30T11:14:19.000Z
2022-03-24T11:53:30.000Z
examples/originate.ex
evangilo/switchx
bbd045dd3c067c23663d17a9f9db632ab4affd22
[ "MIT" ]
5
2020-03-27T00:00:54.000Z
2020-04-23T00:30:08.000Z
examples/originate.ex
evangilo/switchx
bbd045dd3c067c23663d17a9f9db632ab4affd22
[ "MIT" ]
1
2020-04-22T23:55:52.000Z
2020-04-22T23:55:52.000Z
defmodule Examples.InboundSocket do @moduledoc false def originate() do {:ok, conn} = SwitchX.Connection.Inbound.start_link([host: "192.168.56.10", port: 8021]) SwitchX.auth(conn, "ClueCon") case SwitchX.originate(conn, "${verto_contact(800}", "&park()", :expand) do {:ok, uuid} -> IO.puts...
29.269231
92
0.616294
93e20bb72bac5059438199be0e634a21092b031e
1,103
exs
Elixir
apps/note_it_web/config/dev.exs
sushilman/note-it
c47edafb4272b9f01d53f8566f5ed7858f2d355c
[ "Apache-2.0" ]
null
null
null
apps/note_it_web/config/dev.exs
sushilman/note-it
c47edafb4272b9f01d53f8566f5ed7858f2d355c
[ "Apache-2.0" ]
null
null
null
apps/note_it_web/config/dev.exs
sushilman/note-it
c47edafb4272b9f01d53f8566f5ed7858f2d355c
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :note_it_web, NoteItWeb.Endpoint, http: [port:...
31.514286
73
0.69175
93e20e27125bf3f84dd0e33d6703d1e22d80c4e4
1,607
ex
Elixir
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/batch_create_rows_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/batch_create_rows_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/batch_create_rows_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...
34.191489
113
0.756067
93e2169eb0fb06f96c022d8a62c523f28e43bd03
3,514
ex
Elixir
lib/error.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
35
2016-10-17T09:52:46.000Z
2021-01-04T16:27:46.000Z
lib/error.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
26
2016-12-06T17:21:41.000Z
2021-11-26T18:49:05.000Z
lib/error.ex
infinityoneframework/kadabra
0cedd740010514977d8b0fca6583f770ca78cac1
[ "MIT" ]
13
2016-12-06T16:03:30.000Z
2021-12-16T10:28:03.000Z
defmodule Kadabra.Error do @moduledoc false @type error :: :NO_ERROR | :PROTOCOL_ERROR | :INTERNAL_ERROR | :FLOW_CONTROL_ERROR | :SETTINGS_TIMEOUT | :STREAM_CLOSED | :FRAME_SIZE_ERROR | :REFUSED_STREAM | :CANCEL | :...
25.463768
75
0.640865
93e239a7d7ac9815b549b676df1fab0d785da7b3
2,052
exs
Elixir
test/phoenix_html_simplified_helpers/url_test.exs
ryochin/phoenix_html_simplified_helpers
873c7b3eac9374f4805a3b1288d75496ee7b056b
[ "MIT" ]
31
2016-02-27T18:15:12.000Z
2022-02-23T11:34:09.000Z
test/phoenix_html_simplified_helpers/url_test.exs
ryochin/phoenix_html_simplified_helpers
873c7b3eac9374f4805a3b1288d75496ee7b056b
[ "MIT" ]
13
2016-05-26T14:08:59.000Z
2020-10-13T11:03:08.000Z
test/phoenix_html_simplified_helpers/url_test.exs
ryochin/phoenix_html_simplified_helpers
873c7b3eac9374f4805a3b1288d75496ee7b056b
[ "MIT" ]
15
2016-05-21T09:54:32.000Z
2021-09-23T01:43:03.000Z
Code.require_file("../../test_helper.exs", __ENV__.file) defmodule Phoenix.HTML.SimplifiedHelpers.URLTest do alias Phoenix.HTML.SimplifiedHelpers use ExUnit.Case use Plug.Test use SimplifiedHelpers import SimplifiedHelpers doctest SimplifiedHelpers # @opts SimplifiedHelpers.Router.init([]) test "u...
31.090909
95
0.661306
93e2693d6d8bf58f9ef0bb5a11646b2cb2586aea
1,826
ex
Elixir
lib/skeleton/types/union/union_type.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
3
2020-12-15T09:04:57.000Z
2021-06-11T02:01:09.000Z
lib/skeleton/types/union/union_type.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
lib/skeleton/types/union/union_type.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
defmodule MapSchema.Types.TypeUnion do @moduledoc """ Macro for creation Union types. """ alias MapSchema.Exceptions alias MapSchema.Types.Default alias MapSchema.Types.TypeUnion.Methods defmacro __using__(opts) do name = Keyword.get(opts, :name) list_types = Keyword.get(opts, :types) |> t...
23.714286
62
0.657174
93e28dc2fe04d4b497c43759f3c95d5841eb6788
1,083
exs
Elixir
test/radio_test.exs
mliszcz/radio-playlistgen
05fc6e5c44ded4ee2c79373661189caa6da8ca14
[ "MIT" ]
null
null
null
test/radio_test.exs
mliszcz/radio-playlistgen
05fc6e5c44ded4ee2c79373661189caa6da8ca14
[ "MIT" ]
null
null
null
test/radio_test.exs
mliszcz/radio-playlistgen
05fc6e5c44ded4ee2c79373661189caa6da8ca14
[ "MIT" ]
null
null
null
defmodule RadioTest do use ExUnit.Case test "generate playlist file" do playlist1 = """ NumberOfEntries=1 Version=2 Title1=non-existent stream File1=http://localhost:8101 Length1=-1 Title2=existing stream File2=http://localhost:8102 Length2=l2 """ HTTPServer.serve_once("HTTP/1.0 200 OK\r\nC...
22.102041
110
0.6759
93e295450bde61af13388269ea7be8f5cdb94766
3,649
exs
Elixir
config/dev.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
config/dev.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
config/dev.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
import Config config :ex_aws, session_token: [{:system, "AWS_SESSION_TOKEN"}, {:awscli, System.get_env("AWS_PROFILE"), 30}, :instance_role] # Configure your database repo_opts = if socket_dir = System.get_env("PGDATA") do [socket_dir: socket_dir] else [url: System.get_env("DATABASE_URL", "postgres://pos...
28.732283
130
0.660455
93e2c4c124b369409e07fe926c928a5fc931f220
2,296
exs
Elixir
lib/eex/test/eex/tokenizer_test.exs
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
1
2017-10-29T16:37:08.000Z
2017-10-29T16:37:08.000Z
lib/eex/test/eex/tokenizer_test.exs
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex/tokenizer_test.exs
ekosz/elixir
62e375bc711b4072e1b68de776e96cc31f571d45
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper", __FILE__ defmodule EEx.TokenizerTest do use ExUnit.Case, async: true require EEx.Tokenizer, as: T test "simple chars lists" do assert T.tokenize('foo', 1) == [ { :text, 1, "foo" } ] end test "simple strings" do assert T.tokenize("foo", 1) == [ { :text, 1, "foo...
28
99
0.48824
93e2f703bbeaa62e5efc230b5aa88db9512899c2
3,062
exs
Elixir
test/xdr/transactions/operations/create_passive_sell_offer_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/transactions/operations/create_passive_sell_offer_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/transactions/operations/create_passive_sell_offer_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.CreatePassiveSellOfferTest do use ExUnit.Case alias StellarBase.XDR.{ AccountID, AlphaNum4, AlphaNum12, Asset, AssetCode4, AssetCode12, AssetType, Int32, Int64, Price, PublicKey, PublicKeyType, UInt256 } alias StellarBase...
32.231579
98
0.627041
93e3055754566f1a766f9e212020ff2b4771f1c6
346
exs
Elixir
ex_cubic_ingestion/priv/repo/migrations/20220215223740_add_oban_jobs_table.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
1
2022-01-30T21:02:48.000Z
2022-01-30T21:02:48.000Z
ex_cubic_ingestion/priv/repo/migrations/20220215223740_add_oban_jobs_table.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
21
2022-01-25T16:35:50.000Z
2022-03-31T19:42:52.000Z
ex_cubic_ingestion/priv/repo/migrations/20220215223740_add_oban_jobs_table.exs
mbta/data_platform
3fa66cb74134b2baa5234e908e147bf393c13926
[ "MIT" ]
1
2022-02-02T14:34:17.000Z
2022-02-02T14:34:17.000Z
defmodule ExCubicIngestion.Repo.Migrations.AddObanJobsTable do use Ecto.Migration def up do Oban.Migrations.up() end # We specify `version: 1` in `down`, ensuring that we'll roll all the way back down if # necessary, regardless of which version we've migrated `up` to. def down do Oban.Migrations.d...
24.714286
88
0.725434
93e334b641dbc196b43fce008c88a8bace9192c0
2,008
ex
Elixir
lib/zeitvergleich.ex
STUDITEMPS/jehovakel_ex_times
093d4f96ed5bda345d6731a8ce30e9ab3eeb0e7b
[ "MIT" ]
null
null
null
lib/zeitvergleich.ex
STUDITEMPS/jehovakel_ex_times
093d4f96ed5bda345d6731a8ce30e9ab3eeb0e7b
[ "MIT" ]
6
2021-03-22T03:04:58.000Z
2021-12-22T09:26:24.000Z
lib/zeitvergleich.ex
STUDITEMPS/jehovakel_ex_times
093d4f96ed5bda345d6731a8ce30e9ab3eeb0e7b
[ "MIT" ]
2
2021-06-28T06:45:36.000Z
2021-07-05T09:27:42.000Z
defprotocol Shared.Zeitvergleich do @fallback_to_any true @spec frueher_als?(struct(), struct()) :: boolean() def frueher_als?(self, other) @spec zeitgleich?(struct(), struct()) :: boolean() def zeitgleich?(self, other) @spec frueher_als_oder_zeitgleich?(struct(), struct()) :: boolean() def frueher_als...
29.101449
88
0.667331
93e34e3af09b316cf6ca345d7b452d4c5e9af1c4
4,613
ex
Elixir
apps/faqcheck/lib/faqcheck/accounts/user.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
apps/faqcheck/lib/faqcheck/accounts/user.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
apps/faqcheck/lib/faqcheck/accounts/user.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule Faqcheck.Accounts.User do use Ecto.Schema @timestamps_opts [type: :utc_datetime] import Ecto.Changeset @derive {Inspect, except: [:password]} schema "users" do field :email, :string field :password, :string, virtual: true, redact: true field :hashed_password, :string, redact: true ...
31.813793
112
0.688706
93e3556577651e9739dd0bca0d945e9e48c02e46
1,072
ex
Elixir
apps/gitgud_web/lib/gitgud_web/views/layout_view.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud_web/lib/gitgud_web/views/layout_view.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud_web/lib/gitgud_web/views/layout_view.ex
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.Web.LayoutView do @moduledoc false use GitGud.Web, :view @spec render_layout({atom(), binary() | atom()}, map, keyword) :: binary def render_layout(layout, assigns, do: content) do render(layout, Map.put(assigns, :inner_content, content)) end @spec session_params(Plug.Conn.t) :: keywo...
26.146341
94
0.625933
93e3598be24ea4ea60190323ba26eddb92f250d1
2,656
exs
Elixir
mix.exs
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
null
null
null
mix.exs
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
null
null
null
mix.exs
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
null
null
null
defmodule StepFlow.MixProject do use Mix.Project @source_url "https://github.com/media-io/ex_step_flow" def project do [ app: :step_flow, version: "0.2.9", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], compi...
22.896552
62
0.480422
93e36949f0ba38f28ad05f774e3cdd68d617635b
908
ex
Elixir
kv_umbrella/apps/kv/lib/kv/supervisor.ex
seansu4you87/hello-elixir
1fc017b96ebadb3eb5f21874f2ba32bd4b8602ab
[ "MIT" ]
null
null
null
kv_umbrella/apps/kv/lib/kv/supervisor.ex
seansu4you87/hello-elixir
1fc017b96ebadb3eb5f21874f2ba32bd4b8602ab
[ "MIT" ]
null
null
null
kv_umbrella/apps/kv/lib/kv/supervisor.ex
seansu4you87/hello-elixir
1fc017b96ebadb3eb5f21874f2ba32bd4b8602ab
[ "MIT" ]
null
null
null
defmodule KV.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok) end @manager_name KV.EventManager @registry_name KV.Registry @ets_registry_name KV.Registry @bucket_sup_name KV.Bucket.Supervisor def init(:ok) do ets = :ets.new(@ets_registry_name, ...
31.310345
78
0.669604
93e374527ba2104890fd6a816cdc477edafb1111
3,837
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/channel_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/channel_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/channel_settings.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...
44.616279
188
0.682043
93e38bb71dcfddd97272fba7bbc70c0e0e5a37aa
1,797
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/parser_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/parser_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/parser_config.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...
33.90566
135
0.731219
93e3a13c195811c7060b1ff44028067d311001c7
1,748
ex
Elixir
lib/glimesh_web/live/admin/category_live/form_component.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
1
2020-08-02T00:12:28.000Z
2020-08-02T00:12:28.000Z
lib/glimesh_web/live/admin/category_live/form_component.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh_web/live/admin/category_live/form_component.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.Admin.CategoryLive.FormComponent do use GlimeshWeb, :live_component alias Glimesh.Streams @impl true def update(%{category: category} = assigns, socket) do changeset = Streams.change_category(category) {:ok, socket |> assign(assigns) |> assign( :existing_cat...
29.133333
77
0.657323
93e3a81db391fcd908d64860a61bd9fad4dceb6a
1,244
ex
Elixir
lib/teslamate/addresses/addresses.ex
mvaal/teslamate
057e15d69ca1ddc19366428ad6b47b8101277472
[ "MIT" ]
null
null
null
lib/teslamate/addresses/addresses.ex
mvaal/teslamate
057e15d69ca1ddc19366428ad6b47b8101277472
[ "MIT" ]
null
null
null
lib/teslamate/addresses/addresses.ex
mvaal/teslamate
057e15d69ca1ddc19366428ad6b47b8101277472
[ "MIT" ]
null
null
null
defmodule TeslaMate.Addresses do @moduledoc """ The Addresses context. """ import Ecto.Query, warn: false alias TeslaMate.Addresses.{Address, Geocoder} alias TeslaMate.Repo def list_addresses do Repo.all(Address) end def get_address!(id) do Repo.get!(Address, id) end def create_addres...
21.824561
73
0.648714
93e3a9b7a90b2954a60fb64346a7be40d3ff391e
2,366
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/location.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...
36.96875
129
0.694421
93e3af42c465a5a29de6f61154e743bac8eef548
8,993
exs
Elixir
test/phoenix/router/routing_test.exs
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
7
2021-01-31T04:51:08.000Z
2022-01-09T06:59:28.000Z
test/phoenix/router/routing_test.exs
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
2
2022-02-19T07:43:27.000Z
2022-02-27T16:25:02.000Z
test/phoenix/router/routing_test.exs
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
2
2021-02-06T08:40:23.000Z
2021-03-20T16:35:47.000Z
defmodule Phoenix.Router.RoutingTest do use ExUnit.Case, async: true use RouterHelper import ExUnit.CaptureLog defmodule SomePlug do def init(opts), do: opts def call(conn, _opts), do: conn end defmodule UserController do use Phoenix.Controller def index(conn, _params), do: text(conn, "us...
33.431227
90
0.606138
93e3e083c70b561a569e89f24166cd3c3254f050
1,686
exs
Elixir
apps/day03/test/day03_test.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
2
2019-12-21T21:21:04.000Z
2019-12-27T07:00:19.000Z
apps/day03/test/day03_test.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
apps/day03/test/day03_test.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
defmodule Day03Test do use ExUnit.Case doctest Day03 test "parse input" do input = "R8,U5,L5,D3\nU7,R6,D4,L4\n" expected = {[{"R",8}, {"U",5}, {"L",5}, {"D", 3}], [{"U",7}, {"R",6}, {"D",4}, {"L",4}]} assert Day03.parse_input(input) == expected end test "wire points" do assert Day03.wi...
32.423077
95
0.632266
93e403ff6adf8b2e2731950cbac807865c57dba3
1,288
exs
Elixir
priv/repo/seeds/eyecatch/0013_files.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
priv/repo/seeds/eyecatch/0013_files.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
priv/repo/seeds/eyecatch/0013_files.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
import Seedex source = """ defmodule Opencov.Plug.ForcePasswordInitialize do import Opencov.Helpers.Authentication import Plug.Conn, only: [halt: 1] import Phoenix.Controller, only: [redirect: 2] def init(opts) do opts end def call(conn, _opts) do if user_signed_in?(conn) do check...
25.76
113
0.669255
93e422e880b7e8766412cd847c7dc3178a55b5f6
1,852
ex
Elixir
client_query/lib/client_query_web/telemetry.ex
gumberss/Ticketing-deno
959b1b0763d246e05fd261aa5ceb94894dc5fe7b
[ "MIT" ]
1
2020-09-08T00:06:33.000Z
2020-09-08T00:06:33.000Z
client_query/lib/client_query_web/telemetry.ex
gumberss/Ticketing-deno
959b1b0763d246e05fd261aa5ceb94894dc5fe7b
[ "MIT" ]
null
null
null
client_query/lib/client_query_web/telemetry.ex
gumberss/Ticketing-deno
959b1b0763d246e05fd261aa5ceb94894dc5fe7b
[ "MIT" ]
null
null
null
defmodule ClientQueryWeb.Telemetry do 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 # every 10_000ms. Le...
33.071429
86
0.677646
93e42c99d47aa8dd0dc0556886096acfa2912a85
1,308
exs
Elixir
test/pushstate_test.exs
benfb/elixush
ab0797d4b39f510283d2230d46aa061bc3198bf7
[ "MIT" ]
13
2016-02-04T01:34:26.000Z
2021-05-24T08:34:09.000Z
test/pushstate_test.exs
benfb/elixush
ab0797d4b39f510283d2230d46aa061bc3198bf7
[ "MIT" ]
null
null
null
test/pushstate_test.exs
benfb/elixush
ab0797d4b39f510283d2230d46aa061bc3198bf7
[ "MIT" ]
null
null
null
defmodule Elixush.PushStateTest do use ExUnit.Case, async: true import Elixush.PushState # alias Elixush.Server test "the result of make_push_state is empty" do state = make_push_state assert state |> Map.get(:boolean) |> List.first == nil assert state |> Map.get(:integer) |> List.first == nil ...
32.7
81
0.717125
93e4303ca5b15bdcc55ea1ebb1dcc30645e34598
1,373
ex
Elixir
test/support/data_case.ex
MatthieuSegret/yummy-phoenix-graphql
f0b258293697b0b120ef8e8a3b3905043c998617
[ "MIT" ]
122
2017-11-24T11:28:17.000Z
2022-02-25T17:05:20.000Z
test/support/data_case.ex
MatthieuSegret/yummy-phoenix
85b490075e3a0395b4e7cfa9f06936659e9d12b5
[ "MIT" ]
6
2018-01-11T22:07:44.000Z
2021-11-21T15:41:42.000Z
test/support/data_case.ex
MatthieuSegret/yummy-phoenix
85b490075e3a0395b4e7cfa9f06936659e9d12b5
[ "MIT" ]
25
2018-04-01T02:43:21.000Z
2022-02-15T03:22:54.000Z
defmodule Yummy.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 r...
25.425926
77
0.677349
93e432545bb045413d4a9b4262dac12d668e0b78
1,168
exs
Elixir
mix.exs
bulutfon/elixir_mod_event
d574863e66c779577b4108e4ab44366bad7c8313
[ "Apache-2.0" ]
null
null
null
mix.exs
bulutfon/elixir_mod_event
d574863e66c779577b4108e4ab44366bad7c8313
[ "Apache-2.0" ]
null
null
null
mix.exs
bulutfon/elixir_mod_event
d574863e66c779577b4108e4ab44366bad7c8313
[ "Apache-2.0" ]
null
null
null
defmodule FSModEvent.Mixfile do use Mix.Project def project do [ app: :elixir_mod_event, name: "elixir_mod_event", version: "0.0.10", description: description(), package: package(), source_url: "https://github.com/marcelog/elixir_mod_event", elixir: "~> 1.0", bui...
21.62963
92
0.5625
93e43ae3925d55f265916cf7a6d59bc610f56fce
12,517
ex
Elixir
lib/pdf_generator.ex
azzahidK/elixir-pdf-generator
31584797e32ea36d8f15200b26625e9e2fe18388
[ "MIT" ]
null
null
null
lib/pdf_generator.ex
azzahidK/elixir-pdf-generator
31584797e32ea36d8f15200b26625e9e2fe18388
[ "MIT" ]
null
null
null
lib/pdf_generator.ex
azzahidK/elixir-pdf-generator
31584797e32ea36d8f15200b26625e9e2fe18388
[ "MIT" ]
null
null
null
defmodule PdfGenerator do require Logger @vsn "0.6.0" @moduledoc """ # PdfGenerator Provides a simple wrapper around [wkhtmltopdf](http://wkhtmltopdf.org) and [pdftk](https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/) to generate possibly encrypted PDFs from an HTML source. # Configuration (opti...
35.968391
172
0.648878
93e49bffafe84d1e6225f20daf0fd5ff270ed3ca
359
exs
Elixir
config/test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
config/test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
config/test.exs
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "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 :elenchos_ex, ElenchosExWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn config :elenchos_ex, :code_dir, "/tmp" config ...
25.642857
56
0.740947
93e4ad2ac61b4518036c698445b9fd6b650947fe
2,649
ex
Elixir
lib/aws/forecastquery.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/forecastquery.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/forecastquery.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "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.Forecastquery do @moduledoc """ Provides APIs for creating and managing Amazon Forecast resources. """ @doc """ Retrieves a forecast for a single item, filtered by the supplied criteria...
33.961538
114
0.662137
93e4b8c309e84f4998f618ac5bf199a2477fa714
1,228
ex
Elixir
lib/bitcoin_simulator/simulation/trade_center.ex
sidharth-shridhar/Bitcoin-Miner-Simulation
2789dc8fe5f65269789540f675fac682e431e518
[ "MIT" ]
null
null
null
lib/bitcoin_simulator/simulation/trade_center.ex
sidharth-shridhar/Bitcoin-Miner-Simulation
2789dc8fe5f65269789540f675fac682e431e518
[ "MIT" ]
null
null
null
lib/bitcoin_simulator/simulation/trade_center.ex
sidharth-shridhar/Bitcoin-Miner-Simulation
2789dc8fe5f65269789540f675fac682e431e518
[ "MIT" ]
null
null
null
defmodule BitcoinSimulator.Simulation.TradeCenter do use GenServer require Logger # Client def start_link(_) do GenServer.start_link(__MODULE__, nil, name: BitcoinSimulator.Simulation.TradeCenter) end # Server (callbacks) def init(_) do state = %{ total_peers: 0, peer_ids: MapSet.n...
26.695652
103
0.697068
93e4c54c57bcec27300c0f9a0b98eab863bbbd44
913
exs
Elixir
paths_test.exs
abetkin/paths_and_deps
30171d15d38a9c6cac7c97ff6bcdb8d9e969b35b
[ "MIT" ]
null
null
null
paths_test.exs
abetkin/paths_and_deps
30171d15d38a9c6cac7c97ff6bcdb8d9e969b35b
[ "MIT" ]
null
null
null
paths_test.exs
abetkin/paths_and_deps
30171d15d38a9c6cac7c97ff6bcdb8d9e969b35b
[ "MIT" ]
null
null
null
defmodule Hi do dep %{scope: scope}, do: def hi [:message, format] do case format do :short -> "Hi #{who}" :long -> "#{scope}: Hi #{who}" end end dep do: def author [:author], do: "Vitalii" end defmodule Full do dep %{[:message, :short] => msg, :author => au...
16.6
58
0.544359
93e592abdf4154878790b9c8a36a5a82f10dae41
892
ex
Elixir
clients/cloud_identity/lib/google_api/cloud_identity/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/lib/google_api/cloud_identity/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/lib/google_api/cloud_identity/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.037037
74
0.761211
93e59625d41281808154095f2643044ffe08aa99
665
ex
Elixir
lib/utility_belt/application.ex
ArcBlock/utility_belt
382c6f8c9b8cf1db1d394476a2c47972430f798e
[ "MIT" ]
1
2020-06-06T19:35:43.000Z
2020-06-06T19:35:43.000Z
lib/utility_belt/application.ex
ArcBlock/utility_belt
382c6f8c9b8cf1db1d394476a2c47972430f798e
[ "MIT" ]
11
2018-11-27T17:06:16.000Z
2019-02-14T07:11:36.000Z
lib/utility_belt/application.ex
ArcBlock/utility_belt
382c6f8c9b8cf1db1d394476a2c47972430f798e
[ "MIT" ]
1
2018-08-13T21:07:03.000Z
2018-08-13T21:07:03.000Z
defmodule UtilityBelt.Application do @moduledoc false use Application alias UtilityBelt.Config def start(_type, _args) do con_cache_opts = [ name: :query_metrics, ttl_check_interval: :timer.seconds(5), global_ttl: :timer.seconds(10) ] children = [ {ConCache, con_cache_opts...
22.166667
75
0.702256
93e59e8450ad383c3ae3a3c216f80aa7a8ba0fcc
1,301
exs
Elixir
test/context_through_slot_test.exs
edgarmiadzieles/surface
24d1162cc25004df9d40a11dd65fca98d7b65c64
[ "MIT" ]
null
null
null
test/context_through_slot_test.exs
edgarmiadzieles/surface
24d1162cc25004df9d40a11dd65fca98d7b65c64
[ "MIT" ]
null
null
null
test/context_through_slot_test.exs
edgarmiadzieles/surface
24d1162cc25004df9d40a11dd65fca98d7b65c64
[ "MIT" ]
null
null
null
defmodule Surface.ContextThroughSlotTest do use ExUnit.Case, async: true import Surface import ComponentTestHelper defmodule Parent.ContextProvider do use Surface.Component property foo, :string context set foo, :string, scope: :only_children slot default # The foo prop is passed here an...
18.323944
77
0.599539
93e5a58d4e0adfe33d76d5bf91bbab6ab58b8b57
253
ex
Elixir
lib/tarot_cup.ex
hpopp/tarot-cup
cc358145d35e7a0cee2ea68ce00e2e374b83ab11
[ "MIT" ]
1
2020-12-31T22:23:00.000Z
2020-12-31T22:23:00.000Z
lib/tarot_cup.ex
hpopp/tarot-cup
cc358145d35e7a0cee2ea68ce00e2e374b83ab11
[ "MIT" ]
null
null
null
lib/tarot_cup.ex
hpopp/tarot-cup
cc358145d35e7a0cee2ea68ce00e2e374b83ab11
[ "MIT" ]
null
null
null
defmodule TarotCup do @moduledoc """ TarotCup 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.3
66
0.754941
93e5aa1585ccf4c6d5a9d39b2448901f39c526b7
1,081
exs
Elixir
elixir/.iex.exs
MOPineyro/dotfiles
fc7a5440ddb8375fe70e68abee6e0152bd997c6a
[ "MIT" ]
null
null
null
elixir/.iex.exs
MOPineyro/dotfiles
fc7a5440ddb8375fe70e68abee6e0152bd997c6a
[ "MIT" ]
null
null
null
elixir/.iex.exs
MOPineyro/dotfiles
fc7a5440ddb8375fe70e68abee6e0152bd997c6a
[ "MIT" ]
null
null
null
timestamp = fn -> {_date, {hour, minute, _second}} = :calendar.local_time [hour, minute] |> Enum.map(&(String.pad_leading(Integer.to_string(&1), 2, "0"))) |> Enum.join(":") end IEx.configure( colors: [ syntax_colors: [ number: :light_yellow, atom: :light_cyan, string: :yellow, boo...
26.365854
67
0.577243
93e5e1c447d5f7c05675da820c50bf3d4abdbd27
728
ex
Elixir
lib/groupher_server_web/router.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
2
2018-03-26T08:56:21.000Z
2018-07-02T22:34:51.000Z
lib/groupher_server_web/router.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2018-03-21T03:40:50.000Z
2018-07-10T06:33:10.000Z
lib/groupher_server_web/router.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
null
null
null
defmodule GroupherServerWeb.Router do @moduledoc false use GroupherServerWeb, :router pipeline :api do plug(:accepts, ["json"]) plug(GroupherServerWeb.Context) end alias GroupherServerWeb.Controller scope "/api" do pipe_through(:api) # get "/og-info", TodoController, only: [:index] ...
20.8
52
0.651099
93e5e8310800ac16f3e71b8d837a861c5c0d55ea
514
exs
Elixir
mix.exs
felipe-jm/ignite-elixir-challenge-02
98f250bf9931460c89d4d7af71514eb471f1507a
[ "MIT" ]
null
null
null
mix.exs
felipe-jm/ignite-elixir-challenge-02
98f250bf9931460c89d4d7af71514eb471f1507a
[ "MIT" ]
null
null
null
mix.exs
felipe-jm/ignite-elixir-challenge-02
98f250bf9931460c89d4d7af71514eb471f1507a
[ "MIT" ]
null
null
null
defmodule ListFilter.MixProject do use Mix.Project def project do [ app: :list_filter, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ e...
18.357143
61
0.575875
93e6378918dcce45b5f8470d87390099a84d3dec
2,018
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p2alpha1_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_v1p2alpha1_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_v1p2alpha1_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
93e63f733a0369818681e2642d1d18fd7d5d7d4a
2,812
exs
Elixir
test/phoenix_live_view/integrations/event_test.exs
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/event_test.exs
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/event_test.exs
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.EventTest do use ExUnit.Case import Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveView alias Phoenix.LiveViewTest.{Endpoint} @endpoint Endpoint setup_all do ExUnit.CaptureLog.capture_log(fn -> Endpoint.start_link() end) :ok end setup config do ...
27.300971
95
0.555477
93e64baa9c1d921aaced31d36a451f2e1c5264bd
2,189
ex
Elixir
lib/porcelain/drivers/stream_server.ex
samgaw/porcelain
3a19526b61945736e682704c5d873b5dcf7c50ad
[ "MIT" ]
null
null
null
lib/porcelain/drivers/stream_server.ex
samgaw/porcelain
3a19526b61945736e682704c5d873b5dcf7c50ad
[ "MIT" ]
null
null
null
lib/porcelain/drivers/stream_server.ex
samgaw/porcelain
3a19526b61945736e682704c5d873b5dcf7c50ad
[ "MIT" ]
null
null
null
defmodule Porcelain.Driver.Common.StreamServer do @moduledoc false # Internal module used to make output streams work require Record Record.defrecordp(:state, [:done, :chunks, :client]) use GenServer def start() do GenServer.start(__MODULE__, state(chunks: :queue.new())) end def get_data(pid) d...
26.373494
84
0.632252
93e653e51f6de7a3845615220e1e666cea82f678
2,325
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_continuous_test_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_continuous_test_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_continuous_test_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.114754
180
0.71957
93e66d6b002390bb0a42b9b85a1e82248db1b49c
239
exs
Elixir
hexdocs__pm__phoenix__up_and_running.html/hello/priv/repo/migrations/20200928045138_create_pages.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/priv/repo/migrations/20200928045138_create_pages.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/priv/repo/migrations/20200928045138_create_pages.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule Hello.Repo.Migrations.CreatePages do use Ecto.Migration def change do create table(:pages) do add :title, :string add :body, :text add :views, :integer, default: 0 timestamps() end end end
17.071429
46
0.640167
93e690ddbcb37b7d23791b2115e03116c29d97ae
1,092
ex
Elixir
lib/conduit/router.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
lib/conduit/router.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
2
2022-01-15T02:09:30.000Z
2022-01-22T10:18:43.000Z
lib/conduit/router.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
defmodule Conduit.Router do use Commanded.Commands.Router alias Conduit.Accounts.Aggregates.User alias Conduit.Accounts.Commands.{ RegisterUser, UpdateUser, } alias Conduit.Blog.Aggregates.{Article,Author,Comment} alias Conduit.Blog.Commands.{ CreateAuthor, CommentOnArticle, DeleteComme...
21
57
0.709707
93e70443713f715b61120a718d6de63fd1c47b73
1,660
exs
Elixir
test/ez_calendar/calendars/day_calendar_test.exs
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
7
2016-11-12T07:53:34.000Z
2021-05-19T01:34:27.000Z
test/ez_calendar/calendars/day_calendar_test.exs
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
1
2017-04-06T15:16:22.000Z
2017-04-06T15:16:22.000Z
test/ez_calendar/calendars/day_calendar_test.exs
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
2
2017-04-19T15:03:58.000Z
2018-07-04T19:37:10.000Z
defmodule EZCalendar.DayCalendarTest do use ExUnit.Case, async: true alias EZCalendar.Repo alias EZCalendar.Event alias EZCalendar.DayCalendar setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(EZCalendar.Repo) end test "returns the correct date range" do {start_date, end_date} = DayCalendar.dat...
28.62069
75
0.655422
93e70ea96f7466a3214f442601396080aa77aec9
1,091
ex
Elixir
lib/railway_ipc/storage.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
2
2021-03-22T19:37:33.000Z
2022-01-04T08:48:20.000Z
lib/railway_ipc/storage.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
10
2019-11-29T20:24:24.000Z
2021-02-26T22:06:13.000Z
lib/railway_ipc/storage.ex
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
1
2020-01-09T17:13:29.000Z
2020-01-09T17:13:29.000Z
defmodule RailwayIpc.Storage do @moduledoc """ Behaviour specification for message persistence. Any message persistence adapters must conform to this behaviour. Railway ships with a Ecto adapter, but you may define your own. For example, you may define your own no-op implementation if you do not wish to pers...
28.710526
78
0.716774
93e7237b8fbe861e7bbc1b1be4d5f391f72ad24e
2,405
ex
Elixir
test/support/worker.ex
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
test/support/worker.ex
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
26
2021-07-24T21:32:21.000Z
2022-03-23T11:55:24.000Z
test/support/worker.ex
chrismo/oban
f912ccf75a1d89e02229041d578f9263d4de0232
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Integration.Worker do @moduledoc false use Oban.Worker, queue: :alpha @impl Worker def new(args, opts) do opts = Keyword.merge(__opts__(), opts) args |> Map.new() |> Map.put_new(:bin_pid, pid_to_bin()) |> Job.new(opts) end @impl Worker # credo:disable-for-next-line C...
19.876033
89
0.533056
93e74ba6149b95681b0db5dd4d2c1f4355cb9eb1
987
ex
Elixir
lib/sap/context.ex
slogsdon/sap
766f06cfac8a04772affd977a88d61210064e598
[ "MIT" ]
7
2015-10-25T16:38:45.000Z
2020-01-12T19:06:57.000Z
lib/sap/context.ex
slogsdon/sap
766f06cfac8a04772affd977a88d61210064e598
[ "MIT" ]
null
null
null
lib/sap/context.ex
slogsdon/sap
766f06cfac8a04772affd977a88d61210064e598
[ "MIT" ]
null
null
null
defmodule Sap.Context do @moduledoc """ A data type to hold both the connection data and the status of a decision path. """ @type t :: %__MODULE__{ status: :ok | :error, conn: Plug.Conn.t } defstruct status: :ok, conn: nil @doc """ Creates a `Sap.Context` from a `Plug.Conn`. The...
21.456522
76
0.620061
93e7a6f369e65039ef59e0c0598fde8e23890fca
1,980
ex
Elixir
lib/indulgences/report.ex
TrsNium/Indulgences
9492e49508551eb30c030016f5422475184e90f7
[ "MIT" ]
5
2019-09-09T08:51:25.000Z
2020-01-01T06:28:21.000Z
lib/indulgences/report.ex
TrsNium/Indulgences
9492e49508551eb30c030016f5422475184e90f7
[ "MIT" ]
10
2020-05-19T20:28:34.000Z
2022-03-23T21:39:11.000Z
lib/indulgences/report.ex
TrsNium/Indulgences
9492e49508551eb30c030016f5422475184e90f7
[ "MIT" ]
null
null
null
defmodule Indulgences.Report do use Memento.Table, attributes: [ :id, :instruction_name, :status, :reason, :start_time, :end_time, :execution_time ], index: [:instruction_name, :status, :reason, :start_time, :end_time], type: :ordered_set, autoincrement: t...
22.247191
86
0.628283
93e7a9dbc6c2e0ca5c2d16feb3de2f6e291c1ade
675
exs
Elixir
test/people_classify_test.exs
sqeezy/people_classify
0d2b261c2df616ce9bc38e85e20f8e7a9276c924
[ "MIT" ]
null
null
null
test/people_classify_test.exs
sqeezy/people_classify
0d2b261c2df616ce9bc38e85e20f8e7a9276c924
[ "MIT" ]
null
null
null
test/people_classify_test.exs
sqeezy/people_classify
0d2b261c2df616ce9bc38e85e20f8e7a9276c924
[ "MIT" ]
null
null
null
defmodule PeopleClassifyTest do use ExUnit.Case doctest PeopleClassify test "the truth" do assert 1 + 1 == 2 end test "it knows josi is sweet" do someone_sweet = PeopleClassify.trained |> SimpleBayes.classify_one("sweet") assert someone_sweet == :josi end test "it ...
25
62
0.64
93e7c3d0d5708c4dbcdcecb1a1801155b951ad04
506
exs
Elixir
config/config.exs
z0w0/imagism
d337d6c76e3e5bd9d5cadd69dfc1d80e66688b91
[ "MIT" ]
null
null
null
config/config.exs
z0w0/imagism
d337d6c76e3e5bd9d5cadd69dfc1d80e66688b91
[ "MIT" ]
null
null
null
config/config.exs
z0w0/imagism
d337d6c76e3e5bd9d5cadd69dfc1d80e66688b91
[ "MIT" ]
null
null
null
import Config config :imagism, port: System.get_env("PORT") || 8000, adapter: System.get_env("IMAGISM_ADAPTER") || "file", file_path: System.get_env("IMAGISM_FILE_PATH") || "test/images", s3_bucket: System.get_env("IMAGISM_S3_BUCKET"), s3_region: System.get_env("IMAGISM_S3_REGION") config :imagism, Imagism....
29.764706
76
0.715415
93e7d59829ba96f112df723d15c4a15a0ed78061
942
ex
Elixir
apps/omg_watcher/lib/omg_watcher/exit_processor/standard_exit_challenge.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/omg_watcher/exit_processor/standard_exit_challenge.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/omg_watcher/exit_processor/standard_exit_challenge.ex
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...
32.482759
74
0.70913
93e7f0920fa1dd8b22dedc2350cc63baf1d21159
3,021
ex
Elixir
clients/content/lib/google_api/content/v2/model/orderinvoices_create_refund_invoice_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orderinvoices_create_refund_invoice_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orderinvoices_create_refund_invoice_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.383562
266
0.764978
93e7fa23624e69f112ccca3fbe02b198cb06ded4
3,330
exs
Elixir
apps/neoscan_web/test/neoscan_web/schema/query/block_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_web/test/neoscan_web/schema/query/block_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_web/test/neoscan_web/schema/query/block_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanWeb.Schema.Query.BlockTest do use NeoscanWeb.ConnCase import NeoscanWeb.Factory @query """ query Blocks($paginator: Paginator){ blocks(paginator: $paginator){ blockRows{ cumulative_sys_fee gasGenerated hash index inserted_at lag merkle_root ...
19.028571
49
0.37958
93e81687926bc09371a0111be6f279b8421904ad
22,017
ex
Elixir
lib/horde/dynamic_supervisor_impl.ex
TSSands/horde
b74b3a2513c19fd86b2537cc052aa340fc683cdb
[ "MIT" ]
null
null
null
lib/horde/dynamic_supervisor_impl.ex
TSSands/horde
b74b3a2513c19fd86b2537cc052aa340fc683cdb
[ "MIT" ]
null
null
null
lib/horde/dynamic_supervisor_impl.ex
TSSands/horde
b74b3a2513c19fd86b2537cc052aa340fc683cdb
[ "MIT" ]
null
null
null
defmodule Horde.DynamicSupervisor.Member do @moduledoc false @type t :: %Horde.DynamicSupervisor.Member{} @type status :: :uninitialized | :alive | :shutting_down | :dead defstruct [:status, :name] end defmodule Horde.DynamicSupervisorImpl do @moduledoc false require Logger use GenServer defstruct n...
28.780392
98
0.641913
93e8272d8cefe6eb765bfadcb5fa9c1dcf96b87c
678
exs
Elixir
test/wallaby/phantom/log_store_test.exs
schnittchen/wallaby
30be89cc78087e53e5b47a86043c2bbe8566bbf4
[ "MIT" ]
null
null
null
test/wallaby/phantom/log_store_test.exs
schnittchen/wallaby
30be89cc78087e53e5b47a86043c2bbe8566bbf4
[ "MIT" ]
null
null
null
test/wallaby/phantom/log_store_test.exs
schnittchen/wallaby
30be89cc78087e53e5b47a86043c2bbe8566bbf4
[ "MIT" ]
null
null
null
defmodule Wallaby.Phantom.LogStoreTest do use ExUnit.Case, async: true alias Wallaby.Phantom.LogStore @l1 %{"level" => "INFO", "message" => "l1 (:)", "timestamp" => 1470795015152} @l2 %{"level" => "INFO", "message" => "l2 (:)", "timestamp" => 1470795015290} @l3 %{"level" => "WARNING", "message" => "l3 (:)",...
32.285714
82
0.610619
93e843747c377745c8e5e6e9ea651fc6fb7a1fb8
245
ex
Elixir
web/controllers/movie_api_controller.ex
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
web/controllers/movie_api_controller.ex
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
web/controllers/movie_api_controller.ex
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
defmodule SimilarfilmsPhoenix.MovieApiController do use SimilarfilmsPhoenix.Web, :controller alias SimilarfilmsPhoenix.Movie def index(conn, _params) do movies = Repo.all(Movie) render conn, "index.json", movies: movies end end
24.5
51
0.767347
93e8492481c2f1a8e09c5f563e451127888a514c
663
ex
Elixir
lib/rclex/job_queue.ex
rclex/rclex
978095d43c7bd18f20ab9e2ad2646a8201085db5
[ "Apache-2.0" ]
42
2021-05-05T09:11:33.000Z
2022-02-12T11:57:12.000Z
lib/rclex/job_queue.ex
rclex/rclex
978095d43c7bd18f20ab9e2ad2646a8201085db5
[ "Apache-2.0" ]
49
2021-05-05T08:31:38.000Z
2022-03-22T10:39:57.000Z
lib/rclex/job_queue.ex
rclex/rclex
978095d43c7bd18f20ab9e2ad2646a8201085db5
[ "Apache-2.0" ]
1
2021-05-31T09:28:37.000Z
2021-05-31T09:28:37.000Z
defmodule Rclex.JobQueue do require Rclex.Macros require Logger use GenServer, restart: :transient @moduledoc """ T.B.A """ def start_link(_) do GenServer.start_link(__MODULE__, {}, name: JobQueue) end def init(_) do {:ok, :queue.new()} end def handle_cast({:push, job}, job_queue) do...
20.71875
60
0.634992