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
1c00333a5e465c399a57f0b4e456a56ecdae45e2
182
exs
Elixir
test/fixtures/failure_simple/validate.exs
axelson/mix_machine
f5d2ee0fb98dd8c939671be1993badd41444cad6
[ "MIT" ]
7
2021-09-28T20:57:33.000Z
2021-11-27T19:46:28.000Z
test/fixtures/failure_simple/validate.exs
axelson/mix_machine
f5d2ee0fb98dd8c939671be1993badd41444cad6
[ "MIT" ]
8
2021-09-29T17:55:57.000Z
2022-01-19T11:38:30.000Z
test/fixtures/failure_simple/validate.exs
axelson/mix_machine
f5d2ee0fb98dd8c939671be1993badd41444cad6
[ "MIT" ]
2
2021-09-30T09:47:06.000Z
2021-11-27T02:35:12.000Z
{input, _} = Code.eval_file("../common.exs") import ExUnit.Assertions results_count = input.report |> Enum.map(& &1["results_count"]) |> Enum.sum() assert results_count > 0
16.545455
44
0.67033
1c0036bb105c1e105e1e4ced5246ccdfdb24fc64
198
exs
Elixir
priv/repo/migrations/20210811201246_add_default_item_to_program.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
priv/repo/migrations/20210811201246_add_default_item_to_program.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
priv/repo/migrations/20210811201246_add_default_item_to_program.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.Repo.Migrations.AddDefaultItemToProgram do use Ecto.Migration def change do alter table(:programs) do add :default_item_id, references(:items) end end end
19.8
64
0.747475
1c004f744ac39064f2b7d46c9ae3dc0e78847e0b
7,450
ex
Elixir
apps/vax/lib/vax/adapter.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
8
2022-03-14T15:33:08.000Z
2022-03-30T22:06:04.000Z
apps/vax/lib/vax/adapter.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
9
2022-03-15T15:48:28.000Z
2022-03-21T23:11:34.000Z
apps/vax/lib/vax/adapter.ex
vaxine-io/vaxine
872a83ea8d4935a52c7b850bb17ab099ee9c346b
[ "Apache-2.0" ]
null
null
null
defmodule Vax.Adapter do @moduledoc """ Ecto adapter for Vaxine """ alias Vax.ConnectionPool alias Vax.Adapter.AntidoteClient alias Vax.Adapter.Query @bucket "vax" @behaviour Ecto.Adapter @behaviour Ecto.Adapter.Queryable @behaviour Ecto.Adapter.Storage @impl Ecto.Adapter.Queryable def strea...
28.007519
95
0.64349
1c0061dfb90a60ab5eca9c0e9d1b9991a4655e0f
6,404
ex
Elixir
lib/game/config.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
lib/game/config.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
lib/game/config.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
defmodule Game.Config do @moduledoc """ Hold Config to not query as often """ alias Data.Config alias Data.Repo alias Data.Save alias Data.Stats @color_config %{ color_home_header: "#268bd2", color_home_link: "#268bd2", color_home_link_hover: "#31b5ff", color_home_primary: "#268bd2", ...
21.708475
85
0.621955
1c006ee5f9e5ad3f43d6bbb40b1ccaf12974acd9
339
ex
Elixir
lesson_05/demo/user_demo_umbrella/apps/user_demo/lib/user_demo/application.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
1
2021-09-22T09:56:35.000Z
2021-09-22T09:56:35.000Z
lesson_05/demo/user_demo_umbrella/apps/user_demo/lib/user_demo/application.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
7
2020-03-14T19:30:29.000Z
2022-02-27T01:20:40.000Z
lesson_05/demo/user_demo_umbrella/apps/user_demo/lib/user_demo/application.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
11
2020-02-13T14:52:45.000Z
2020-08-03T12:18:56.000Z
defmodule UserDemo.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 = [ UserDemo.Repo ] Supervisor.start_link(children, strategy: :one_for_one, name: UserDemo.Sup...
21.1875
86
0.725664
1c008bc836bcd70587361e2043c0727130f8d541
1,040
exs
Elixir
day_1/day_1.exs
cjschneider2/advent_of_code_2015
347b45ba3201f874aab5fa74ec9a2594e68def48
[ "MIT" ]
null
null
null
day_1/day_1.exs
cjschneider2/advent_of_code_2015
347b45ba3201f874aab5fa74ec9a2594e68def48
[ "MIT" ]
null
null
null
day_1/day_1.exs
cjschneider2/advent_of_code_2015
347b45ba3201f874aab5fa74ec9a2594e68def48
[ "MIT" ]
null
null
null
defmodule AOC2015.Day1 do defp p1(steps) do p1(steps, 0) end defp p1([], floor) do floor end defp p1([head | tail], floor) do case head do ?) -> p1(tail, floor - 1) ?( -> p1(tail, floor + 1) end end defp p2(steps) do p2(steps, 0, 0) end defp p2(_, -1, index) do index end defp p...
24.186047
88
0.601923
1c00a281b52ecdc0e0165f5807547d6a6e47e34d
35
exs
Elixir
test/test_helper.exs
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
test/test_helper.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
test/test_helper.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
ExUnit.start() EctoTestDSL.start()
11.666667
19
0.771429
1c00a6782a8bf5da0fb59bd9b5e92cb514c3cbda
1,088
ex
Elixir
skippy/dashboard/lib/dashboard/application.ex
mashbytes/baby_zoo
4554890242a2493d17d9b1c1f4cc90d7ad1e637e
[ "MIT" ]
null
null
null
skippy/dashboard/lib/dashboard/application.ex
mashbytes/baby_zoo
4554890242a2493d17d9b1c1f4cc90d7ad1e637e
[ "MIT" ]
5
2020-07-17T23:35:42.000Z
2021-05-10T07:00:10.000Z
skippy/dashboard/lib/dashboard/application.ex
mashbytes/baby_zoo
4554890242a2493d17d9b1c1f4cc90d7ad1e637e
[ "MIT" ]
null
null
null
defmodule Dashboard.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec, warn: false # List all child processes to be supervised children = [ superviso...
30.222222
73
0.71875
1c00b5c7c24bfea939a6156f4ba16cd46ce8fd81
195
exs
Elixir
priv/repo/migrations/20200302105632_flexible_fingerprint_referrer.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
priv/repo/migrations/20200302105632_flexible_fingerprint_referrer.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
priv/repo/migrations/20200302105632_flexible_fingerprint_referrer.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule Plausible.Repo.Migrations.FlexibleFingerprintReferrer do use Ecto.Migration def change do alter table(:fingerprint_sessions) do modify :referrer, :text end end end
19.5
66
0.753846
1c00f9728c0df00ce4d9b7a6aab27bbe5b561c3d
2,114
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/country.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/country.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/country.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.830508
143
0.689215
1c0102803b7f26826f7337b02aca98eb8bf91110
7,723
ex
Elixir
lib/console_web/router.ex
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
1
2021-11-18T13:32:47.000Z
2021-11-18T13:32:47.000Z
lib/console_web/router.ex
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
null
null
null
lib/console_web/router.ex
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.Router do use ConsoleWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers plug ConsoleWeb.Plug.RateLimit, ["browser_actions", 60] plug ConsoleWeb.Plug.CheckDomain ...
47.380368
106
0.760974
1c012735931585f93fe91d70f64fbc7a211ca10d
15,141
exs
Elixir
lib/iex/test/iex/autocomplete_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
1
2021-11-17T10:24:48.000Z
2021-11-17T10:24:48.000Z
lib/iex/test/iex/autocomplete_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/iex/test/iex/autocomplete_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule IEx.AutocompleteTest do use ExUnit.Case, async: true setup do evaluator = IEx.Server.start_evaluator([]) Process.put(:evaluator, evaluator) :ok end defp eval(line) do ExUnit.CaptureIO.capture_io(fn -> evaluator = Process.get(:ev...
33.94843
95
0.572485
1c01345a6f73981eec14e47d9d194dacf9222038
7,463
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device.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...
78.557895
521
0.723302
1c017d8da5d2d90a3db50db9aa5f35e9782f1a62
3,204
ex
Elixir
lib/scene/splash.ex
brsg/telluride_sensor
65936295777c2d3edca767ac018af68495e8a775
[ "Apache-2.0" ]
1
2021-02-21T15:18:25.000Z
2021-02-21T15:18:25.000Z
lib/scene/splash.ex
brsg/telluride_sensor
65936295777c2d3edca767ac018af68495e8a775
[ "Apache-2.0" ]
null
null
null
lib/scene/splash.ex
brsg/telluride_sensor
65936295777c2d3edca767ac018af68495e8a775
[ "Apache-2.0" ]
1
2021-02-21T15:18:51.000Z
2021-02-21T15:18:51.000Z
defmodule TellurideSensor.Scene.Splash do @moduledoc """ BRSG Ideas That Scale splash page, transition to landing page. """ use Scenic.Scene alias Scenic.Graph alias Scenic.ViewPort import Scenic.Primitives, only: [{:rect, 3}, {:update_opts, 2}] @brsg_path :code.priv_dir(:telluride_sensor) |> Path...
27.152542
109
0.651373
1c0193b71a4b065df5a0afb67f0a429da22e1aa6
32,370
exs
Elixir
test/brando/images/processing/operations_test.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
test/brando/images/processing/operations_test.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
test/brando/images/processing/operations_test.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.OperationsTest do use ExUnit.Case import Brando.Images.Operations @image_struct %Brando.Images.Image{ credits: nil, focal: %{"x" => 50, "y" => 50}, height: 2600, path: "images/exhibitions/cover/image.jpeg", sizes: %{ "large" => "images/exhibitions/cover/large/image.jpg"...
41.130877
82
0.474421
1c01aaec95446675bcf45df267168d80362755d0
222
exs
Elixir
config/config.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
null
null
null
config/config.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
null
null
null
config/config.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :logger, :console, format: "$time $metadata[$level] $message\n" if Mix.env() == :test do config :plug, :statuses, %{ 418 => "Totally not a teapot", 998 => "Not An RFC Status Code" } end
20.181818
70
0.621622
1c01b1449a98ef982bf23ff31bd7a7eb5d67acbf
3,140
ex
Elixir
lib/jsonpatch/operation/copy.ex
webdeb/jsonpatch
193b10745695bbc4dfd6a605e79af36be7c789f7
[ "MIT" ]
19
2020-06-01T17:28:31.000Z
2022-03-20T04:41:56.000Z
lib/jsonpatch/operation/copy.ex
webdeb/jsonpatch
193b10745695bbc4dfd6a605e79af36be7c789f7
[ "MIT" ]
5
2021-03-29T20:32:58.000Z
2022-01-12T08:19:00.000Z
lib/jsonpatch/operation/copy.ex
webdeb/jsonpatch
193b10745695bbc4dfd6a605e79af36be7c789f7
[ "MIT" ]
2
2021-03-29T20:55:32.000Z
2021-08-17T20:38:03.000Z
defmodule Jsonpatch.Operation.Copy do @moduledoc """ Represents the handling of JSON patches with a copy operation. ## Examples iex> copy = %Jsonpatch.Operation.Copy{from: "/a/b", path: "/a/e"} iex> target = %{"a" => %{"b" => %{"c" => "Bob"}}, "d" => false} iex> Jsonpatch.Operation.apply_op(co...
29.345794
95
0.602229
1c01dac81f02efdf147f5179614a521e31455730
6,486
exs
Elixir
apps/omg_watcher_info/test/omg_watcher_info/db/txoutput_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_info/test/omg_watcher_info/db/txoutput_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_info/test/omg_watcher_info/db/txoutput_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
36.438202
114
0.644157
1c0205e8fff821a3f7bbedf1ba74b953d8a25309
1,660
ex
Elixir
apps/fz_http/test/support/fixtures.ex
jasonboukheir/firezone
79d610b94f67ae25c8ca26f391c0edf288f6aaa5
[ "Apache-2.0" ]
null
null
null
apps/fz_http/test/support/fixtures.ex
jasonboukheir/firezone
79d610b94f67ae25c8ca26f391c0edf288f6aaa5
[ "Apache-2.0" ]
null
null
null
apps/fz_http/test/support/fixtures.ex
jasonboukheir/firezone
79d610b94f67ae25c8ca26f391c0edf288f6aaa5
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.Fixtures do @moduledoc """ Convenience helpers for inserting records """ alias FzHttp.{Devices, Repo, Rules, Sessions, Users, Users.User} # return user specified by email, or generate a new otherwise def user(attrs \\ %{}) do email = Map.get(attrs, :email, "test-#{counter()}@test") ...
23.714286
74
0.606024
1c0247c100b49fc98f7f3c9aeab1a70b9dfe48d0
10,376
exs
Elixir
test/oli_web/live/sections/overview_live_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
test/oli_web/live/sections/overview_live_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
test/oli_web/live/sections/overview_live_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule OliWeb.Sections.OverviewLiveTest do use ExUnit.Case use OliWeb.ConnCase import Phoenix.LiveViewTest import Oli.Factory alias Oli.Delivery.Sections alias Oli.Delivery.Sections.Section alias Lti_1p3.Tool.ContextRoles defp live_view_overview_route(section_slug) do Routes.live_path(OliWeb.E...
32.835443
168
0.635601
1c025215180e0058032cf477edfc56e3084a0957
262
ex
Elixir
lib/commanded/shredder/events/encryption_key_deleted.ex
KazW/commanded-shredder-middleware
ab4494db84983acfe7cd2d47a9b81dbec7c36a9d
[ "MIT" ]
1
2020-07-30T18:40:11.000Z
2020-07-30T18:40:11.000Z
lib/commanded/shredder/events/encryption_key_deleted.ex
KazW/commanded-shredder-middleware
ab4494db84983acfe7cd2d47a9b81dbec7c36a9d
[ "MIT" ]
null
null
null
lib/commanded/shredder/events/encryption_key_deleted.ex
KazW/commanded-shredder-middleware
ab4494db84983acfe7cd2d47a9b81dbec7c36a9d
[ "MIT" ]
null
null
null
defmodule Commanded.Shredder.EncryptionKeyDeleted do @moduledoc false @derive Jason.Encoder @type t :: %__MODULE__{ encryption_key_uuid: String.t(), name: String.t() } defstruct [ :encryption_key_uuid, :name ] end
17.466667
52
0.637405
1c025640d7bac2dee8d59a2a785f9fa6b544e987
1,815
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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 "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...
34.245283
130
0.763085
1c02565146e511ce42afc55a0f2ec8fe52ac824d
960
ex
Elixir
lib/speck/printer.ex
fdfzcq/speck
e2f3ed839c11f2de6b7b00259a66c5ffa7c5420c
[ "Apache-2.0" ]
1
2018-11-19T15:54:56.000Z
2018-11-19T15:54:56.000Z
lib/speck/printer.ex
fdfzcq/speck
e2f3ed839c11f2de6b7b00259a66c5ffa7c5420c
[ "Apache-2.0" ]
null
null
null
lib/speck/printer.ex
fdfzcq/speck
e2f3ed839c11f2de6b7b00259a66c5ffa7c5420c
[ "Apache-2.0" ]
null
null
null
defmodule Speck.Printer do def print(report = %{success: true}, sum = %{success: success}) do args = report.arg |> Enum.map(&add_quotes/1) |> Enum.join(", ") log = "#{report.module}.#{report.function}(#{args}) passed" Bunt.puts([:green, log]) %{sum|success: success + 1} end def print(...
30.967742
128
0.6
1c0266f336b2671919128f1574ea8075c6432bc5
1,593
ex
Elixir
kousa/lib/broth/message/user/create_bot.ex
samyadel/dogehouse
c9daffbfe81a7488093b07f3f9a274a062dde801
[ "MIT" ]
2
2021-05-01T16:57:50.000Z
2021-07-07T22:01:14.000Z
kousa/lib/broth/message/user/create_bot.ex
samyadel/dogehouse
c9daffbfe81a7488093b07f3f9a274a062dde801
[ "MIT" ]
null
null
null
kousa/lib/broth/message/user/create_bot.ex
samyadel/dogehouse
c9daffbfe81a7488093b07f3f9a274a062dde801
[ "MIT" ]
null
null
null
defmodule Broth.Message.User.CreateBot do use Broth.Message.Call, reply: __MODULE__ @derive {Jason.Encoder, only: [:username]} @primary_key {:id, :binary_id, []} schema "users" do field(:username, :string) end # inbound data. def changeset(initializer \\ %__MODULE__{}, data) do initializer ...
24.890625
86
0.588826
1c027b5942a4e714299751d02448d683f82c8d8a
430
exs
Elixir
test/test_helper.exs
epinault/snowflake_elixir_ecto
9f8fc9d272ca140e27acb671af1a1c46ff923b2b
[ "MIT" ]
4
2020-10-30T03:30:01.000Z
2021-08-07T10:27:15.000Z
test/test_helper.exs
epinault/snowflake_elixir_ecto
9f8fc9d272ca140e27acb671af1a1c46ff923b2b
[ "MIT" ]
5
2020-10-25T12:48:17.000Z
2021-12-06T07:29:02.000Z
test/test_helper.exs
epinault/snowflake_elixir_ecto
9f8fc9d272ca140e27acb671af1a1c46ff923b2b
[ "MIT" ]
3
2020-10-25T11:18:58.000Z
2021-10-16T04:00:18.000Z
Code.require_file("./support/repo.exs", __DIR__) defmodule Ecto.Integration.PoolRepo do use Ecto.Integration.Repo, otp_app: :snowflake_elixir_ecto, adapter: Ecto.Adapters.Snowflake def create_prefix(prefix) do "create schema #{prefix}" end def drop_prefix(prefix) do "drop schema #{prefix}" end d...
20.47619
94
0.737209
1c027df34c821171d6643a2472488a5d41060c91
1,797
exs
Elixir
mix.exs
chernyshof/react-phoenix-users-boilerplate
2642c88aadff377f38dce5a85a3caa7f4b088588
[ "MIT" ]
152
2017-05-29T06:04:01.000Z
2021-12-11T19:24:02.000Z
mix.exs
chernyshof/react-phoenix-users-boilerplate
2642c88aadff377f38dce5a85a3caa7f4b088588
[ "MIT" ]
13
2017-07-29T18:26:37.000Z
2018-10-26T08:33:16.000Z
mix.exs
chernyshof/react-phoenix-users-boilerplate
2642c88aadff377f38dce5a85a3caa7f4b088588
[ "MIT" ]
12
2017-11-18T19:13:44.000Z
2019-10-10T01:29:28.000Z
defmodule Boilerplate.Mixfile do use Mix.Project def project do [ app: :boilerplate, version: "0.0.1", elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases()...
27.227273
79
0.570395
1c028ab133fda726b8811c422df08f8094bdb751
2,038
ex
Elixir
lib/user_manager/authenticate/authenticate_user_user_lookup.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
3
2017-04-02T11:17:31.000Z
2017-09-08T09:12:11.000Z
lib/user_manager/authenticate/authenticate_user_user_lookup.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
15
2017-02-11T01:08:54.000Z
2017-02-22T09:45:41.000Z
lib/user_manager/authenticate/authenticate_user_user_lookup.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
1
2018-06-19T04:10:53.000Z
2018-06-19T04:10:53.000Z
defmodule UserManager.Authenticate.AuthenticateUserUserLookup do @moduledoc false use GenStage require Logger alias UserManager.Schemas.UserSchema alias UserManager.Repo import Ecto.Query def start_link(_) do GenStage.start_link(__MODULE__, [], [name: __MODULE__]) end def init(_) do {:producer...
38.45283
180
0.701178
1c02df121cc3066af6da7f64ba2ee2ce049b5b84
146
ex
Elixir
lib/elrondex/test.ex
victorflx/elrondex
a90521ce5e39ad37453dcb53f527b8311ae1ae4f
[ "MIT" ]
8
2021-10-02T16:25:19.000Z
2022-02-03T17:50:34.000Z
lib/elrondex/test.ex
victorflx/elrondex
a90521ce5e39ad37453dcb53f527b8311ae1ae4f
[ "MIT" ]
1
2022-01-19T12:10:49.000Z
2022-01-19T12:10:49.000Z
lib/elrondex/test.ex
victorflx/elrondex
a90521ce5e39ad37453dcb53f527b8311ae1ae4f
[ "MIT" ]
2
2022-01-10T07:48:16.000Z
2022-02-06T17:05:57.000Z
defmodule Elrondex.Test do def pad(value) when rem(byte_size(value), 2) == 0 do value end def pad(value) do "0" <> value end end
14.6
54
0.630137
1c0305f3840ed306562b97800f0629f6ca809d14
4,784
ex
Elixir
lib/codes/codes_n07.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_n07.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_n07.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_N07 do alias IcdCode.ICDCode def _N070 do %ICDCode{full_code: "N070", category_code: "N07", short_code: "0", full_name: "Hereditary nephropathy, not elsewhere classified with minor glomerular abnormality", short_name: "Hereditary nephropathy...
49.319588
135
0.712584
1c0317b1705e62ad78a912a5920ad95499871b22
2,897
ex
Elixir
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/restore_table_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/restore_table_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/restore_table_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...
49.101695
608
0.741802
1c03274d2cd0dccb0ba23c0375a693c84fa2b481
466
ex
Elixir
lib/budget_app/user.ex
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "MIT" ]
null
null
null
lib/budget_app/user.ex
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "MIT" ]
null
null
null
lib/budget_app/user.ex
djordje/budget_app.backend
3febe64892e700f3174b8eddbc4b96260c444308
[ "MIT" ]
null
null
null
defmodule BudgetApp.User do use Ecto.Schema import Ecto.Changeset alias BudgetApp.User schema "users" do field :email, :string field :secret, :string timestamps() has_many :api_tokens, BudgetApp.APIToken end @doc false def changeset(%User{} = user, attrs) do user |> cast(attrs...
18.64
44
0.652361
1c0329d6b374677f5f19490527c6bfa01d056b97
810
ex
Elixir
rockelivery/lib/rockelivery/orders/order.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
rockelivery/lib/rockelivery/orders/order.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
rockelivery/lib/rockelivery/orders/order.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
defmodule Rockelivery.Orders.Order do use Rockelivery.Schema @fields [:user_id, :address, :comments, :payment_type] @derive {Jason.Encoder, only: [:id, :items] ++ @fields} @payment_types [:money, :credit_card, :debit_card] alias Rockelivery.Items.Item alias Rockelivery.Accounts.User schema "orders" d...
24.545455
60
0.681481
1c032b646455d04dd6612d0c1898989d773f323c
917
ex
Elixir
lib/chat_api_web/views/account_view.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
1
2020-08-13T15:11:12.000Z
2020-08-13T15:11:12.000Z
lib/chat_api_web/views/account_view.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
null
null
null
lib/chat_api_web/views/account_view.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.AccountView do use ChatApiWeb, :view alias ChatApiWeb.{AccountView, UserView, WidgetSettingsView} def render("index.json", %{accounts: accounts}) do %{data: render_many(accounts, AccountView, "account.json")} end def render("show.json", %{account: account}) do %{data: render_one...
27.787879
92
0.68048
1c0336f7031e7a78c6e72dcc1ef509d0489ecb42
63
ex
Elixir
lib/preview_web/views/layout_view.ex
leandrocp/preview
9dd3a9bae4385dc4935e76f63328f70b9d78fe4d
[ "Apache-2.0" ]
26
2021-01-25T20:30:46.000Z
2021-12-16T08:42:35.000Z
lib/preview_web/views/layout_view.ex
leandrocp/preview
9dd3a9bae4385dc4935e76f63328f70b9d78fe4d
[ "Apache-2.0" ]
17
2021-01-25T18:45:43.000Z
2021-07-23T15:15:41.000Z
preview/lib/preview_web/views/layout_view.ex
podlove/podlove-preview
7a12cedf338929762e8ef4dea69771e29a89f132
[ "MIT" ]
4
2021-01-25T21:32:28.000Z
2021-07-07T12:36:19.000Z
defmodule PreviewWeb.LayoutView do use PreviewWeb, :view end
15.75
34
0.809524
1c033db18e5902985c01f9a881c1d8361dd29310
1,789
exs
Elixir
exercises/dot-dsl/example.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/dot-dsl/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/dot-dsl/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule Graph do defstruct attrs: [], nodes: [], edges: [] end defmodule Dot do # Normally matching on keywords is a bad idea as keyword lists can have # several orders (i.e. `[a: 1, b: 2]` and `[b: 2, a: 1]`). But in this case # only one keyword is allowed, so it's safe. defmacro graph([do: ast]) do g...
27.106061
77
0.586361
1c034621a3bb47d728042fe5484cc5b3f73d7685
296
ex
Elixir
test/support/auth/test_identity.ex
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
31
2021-02-16T20:50:46.000Z
2022-02-03T10:38:07.000Z
test/support/auth/test_identity.ex
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
6
2021-04-07T21:50:20.000Z
2022-02-06T21:54:04.000Z
test/support/auth/test_identity.ex
shuv1824/potionx
a5888413b13a520d8ddf79fb26b7483e441737c3
[ "MIT" ]
4
2021-03-25T17:59:44.000Z
2021-04-25T16:28:22.000Z
defmodule PotionxTest.Identity do use Ecto.Schema schema "user_identities" do field :provider, :string field :uid, :string belongs_to :user, PotionxTest.User timestamps() end def changeset(struct, params) do Potionx.Auth.Identity.changeset(struct, params) end end
19.733333
51
0.719595
1c03685156d5e0ef7a32bccca1cc10fb615bdc2b
728
ex
Elixir
lib/panel_tests/panel_border.ex
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
3
2018-10-26T21:12:47.000Z
2020-09-01T02:09:34.000Z
lib/panel_tests/panel_border.ex
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
null
null
null
lib/panel_tests/panel_border.ex
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
null
null
null
defmodule PanelBorders do # import WxFunctions require Logger use WxDefines @moduledoc """ A demo of a simple tool bar. """ def run() do Logger.info("Panel Border Test Starting") Process.spawn(CodeWindow, :run, ["lib/panel_tests/panel_border_window.ex"], []) PanelBorderWindow.createWindow(sh...
28
85
0.707418
1c03a919cd592f59a7781723570ee8c5e0e844de
3,652
ex
Elixir
app/lib/registration_api.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
1
2020-02-10T21:35:17.000Z
2020-02-10T21:35:17.000Z
app/lib/registration_api.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/lib/registration_api.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
null
null
null
defmodule RegistrationAPI do @moduledoc """ Functions for interacting with the Registration API provided by Yale SOM """ use Tesla plug Tesla.Middleware.BaseUrl, params.url plug Tesla.Middleware.BasicAuth, username: params.username, password: params.password plug Tesla.Middleware.JSON defp params do...
33.814815
127
0.523823
1c03c2193c7a6b80bfd19b6275189f3601b95605
1,058
ex
Elixir
deb/prerm.ex
DynomiteDB/docker-build-redis
93167dab6d6b7c3cbc4d4fc8d1c0faa646485ba8
[ "Apache-2.0" ]
3
2016-04-18T05:38:07.000Z
2021-12-31T08:15:07.000Z
deb/prerm.ex
DynomiteDB/docker-build-redis
93167dab6d6b7c3cbc4d4fc8d1c0faa646485ba8
[ "Apache-2.0" ]
null
null
null
deb/prerm.ex
DynomiteDB/docker-build-redis
93167dab6d6b7c3cbc4d4fc8d1c0faa646485ba8
[ "Apache-2.0" ]
2
2016-05-01T03:25:32.000Z
2021-12-31T08:14:55.000Z
#!/bin/sh # prerm script for dynomite # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-versio...
24.045455
76
0.609641
1c03da1eadc4abb2d0510cdb204ed964cd552813
3,772
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/status.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/status.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/status.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...
92
2,549
0.766702
1c03f0d08a495e005508b46906ca32655d0035cb
6,573
exs
Elixir
test/phoenix/controller_test.exs
Havvy/phoenix
37c4053bba75beca5dabf7c1b8cb71cd7e371674
[ "MIT" ]
null
null
null
test/phoenix/controller_test.exs
Havvy/phoenix
37c4053bba75beca5dabf7c1b8cb71cd7e371674
[ "MIT" ]
null
null
null
test/phoenix/controller_test.exs
Havvy/phoenix
37c4053bba75beca5dabf7c1b8cb71cd7e371674
[ "MIT" ]
null
null
null
defmodule Phoenix.ControllerTest do use ExUnit.Case, async: true use ConnHelper import Phoenix.Controller alias Plug.Conn defp get_resp_content_type(conn) do [header] = get_resp_header(conn, "content-type") header |> String.split(";") |> Enum.fetch!(0) end test "action_name/1" do conn = Co...
32.701493
90
0.649779
1c03f152eed80123236b01a47ddb215d8a491c66
111
exs
Elixir
test/rediscl_test.exs
yusuf-demir/elixir-rediscl
94add4947502399f21b82dab7921d7acd6e22188
[ "MIT" ]
14
2018-07-21T14:09:25.000Z
2021-08-28T14:10:46.000Z
test/rediscl_test.exs
yusuf-demir/elixir-rediscl
94add4947502399f21b82dab7921d7acd6e22188
[ "MIT" ]
2
2018-07-29T16:04:24.000Z
2021-08-28T14:11:55.000Z
test/rediscl_test.exs
yusuf-demir/elixir-rediscl
94add4947502399f21b82dab7921d7acd6e22188
[ "MIT" ]
3
2019-02-17T18:56:25.000Z
2021-08-28T13:47:02.000Z
defmodule RedisclTest do use ExUnit.Case doctest Rediscl test "start tests" do assert :ok end end
12.333333
24
0.711712
1c0427e304691859c23ee90cbac9d770cfe5ea36
108
exs
Elixir
.formatter.exs
scorsi/Umbra
16036742db98e39fdc5bf50bc63f6db7cb0e7e92
[ "MIT" ]
null
null
null
.formatter.exs
scorsi/Umbra
16036742db98e39fdc5bf50bc63f6db7cb0e7e92
[ "MIT" ]
7
2020-06-07T08:26:09.000Z
2020-06-07T08:38:36.000Z
.formatter.exs
scorsi/Umbra
16036742db98e39fdc5bf50bc63f6db7cb0e7e92
[ "MIT" ]
null
null
null
# Used by "mix format" [ inputs: ["{mix,.formatter,.committee}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
21.6
80
0.583333
1c0430e9009467a3a1aefb1d2d77ab3ed00f61f0
1,518
exs
Elixir
mix.exs
jschomay/remote-file-streamer
d029c99b8cd116f00ad81a7bbb2ba80353fbad1b
[ "MIT" ]
null
null
null
mix.exs
jschomay/remote-file-streamer
d029c99b8cd116f00ad81a7bbb2ba80353fbad1b
[ "MIT" ]
null
null
null
mix.exs
jschomay/remote-file-streamer
d029c99b8cd116f00ad81a7bbb2ba80353fbad1b
[ "MIT" ]
null
null
null
defmodule RemoteFileStreamer.MixProject do use Mix.Project @version "1.0.0" @project_url "https://github.com/civilcode/remote-file-streamer" def project do [ app: :remote_file_streamer, version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), start_perman...
24.885246
91
0.604084
1c04420caaf5b0bdd76c1db27fa21af4f01b0f8e
1,349
ex
Elixir
lib/songmate_web/endpoint.ex
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
null
null
null
lib/songmate_web/endpoint.ex
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
null
null
null
lib/songmate_web/endpoint.ex
jimytc/music-dating-app
ec46ef2ffa4fb263a8b283a96495b0643467697c
[ "MIT" ]
null
null
null
defmodule SongmateWeb.Endpoint do use Phoenix.Endpoint, otp_app: :songmate # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_songmat...
28.104167
69
0.71238
1c044e7652d805dabcad7fbe39ce4cd4e70ccb1b
791
ex
Elixir
lib/vector/payment.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
3
2019-06-19T14:00:28.000Z
2019-06-20T23:26:06.000Z
lib/vector/payment.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
null
null
null
lib/vector/payment.ex
o7/bud
36ff93bdaab648044190cf56a6b078664f5c84c2
[ "0BSD" ]
null
null
null
defmodule PLM.Rows.Payment do use N2O, with: [:n2o, :kvs, :nitro] use FORM, with: [:form] use BPE require Record require ERP require Logger def doc(), do: "This is the actor trace row (step) representation. " <> "Used to draw trace of the processes" def id(), do: ERP."Payment"() d...
21.378378
97
0.523388
1c045b5aeb39d7e48adb6db274b2e59f1180c94a
736
ex
Elixir
lib/mix/tasks/floating_ip.reassign.ex
capbash/dioex
4aca1c01fd05917d41a98df4d0f0dab2347f28e8
[ "MIT" ]
5
2017-08-06T09:22:35.000Z
2017-10-22T15:51:45.000Z
lib/mix/tasks/floating_ip.reassign.ex
capbash/doex
4aca1c01fd05917d41a98df4d0f0dab2347f28e8
[ "MIT" ]
null
null
null
lib/mix/tasks/floating_ip.reassign.ex
capbash/doex
4aca1c01fd05917d41a98df4d0f0dab2347f28e8
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Doex.FloatingIp.Reassign do use Mix.Task use FnExpr @shortdoc "Reassign a floating IP from one droplet to another." @moduledoc """ Reassign a floating IP from one droplet to another: doex floating_ip.reassign <old_droplet_name> <new_droplet_name> Or, by tag: doex floatin...
23.741935
78
0.724185
1c04616d02f093bb46d323d4ae0d93a314c5811c
1,188
ex
Elixir
apps/plant_monitor_web/lib/plant_monitor_web/channels/user_socket.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
2
2019-01-25T21:21:56.000Z
2021-02-24T08:18:51.000Z
apps/plant_monitor_web/lib/plant_monitor_web/channels/user_socket.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
apps/plant_monitor_web/lib/plant_monitor_web/channels/user_socket.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
defmodule PlantMonitorWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", PlantMonitorWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to ve...
31.263158
87
0.707071
1c04ab830ec8781cb1726ece652cfaa4ce6689d7
834
ex
Elixir
tutorials/plug/plug_example/lib/plug_example/application.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
tutorials/plug/plug_example/lib/plug_example/application.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
tutorials/plug/plug_example/lib/plug_example/application.ex
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
defmodule PlugExample.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application require Logger def start(_type, _args) do # List all child processes to be supervised children = [ # Starts a worker by calling: P...
30.888889
93
0.714628
1c04ec2f8bfca0b5410645887dfd98d89bc95afb
126
exs
Elixir
test/elixir_concurrency_code_test.exs
miguelcoba/elixir-concurrency-code
d68fa9c532dc4aebb8800ae2c48504e2d188b0fa
[ "MIT" ]
2
2016-01-23T23:34:44.000Z
2016-06-10T22:16:17.000Z
test/elixir_concurrency_code_test.exs
miguelcoba/elixir-concurrency-code
d68fa9c532dc4aebb8800ae2c48504e2d188b0fa
[ "MIT" ]
null
null
null
test/elixir_concurrency_code_test.exs
miguelcoba/elixir-concurrency-code
d68fa9c532dc4aebb8800ae2c48504e2d188b0fa
[ "MIT" ]
null
null
null
defmodule ElixirMeetupTest do use ExUnit.Case doctest ElixirMeetup test "the truth" do assert 1 + 1 == 2 end end
14
29
0.698413
1c050227f809b776dc919e939dea4347ae534f70
181
exs
Elixir
config/releases.exs
fika-lang/fika
15bffc30daed744670bb2c0fba3e674055adac47
[ "Apache-2.0" ]
220
2020-09-12T18:16:29.000Z
2022-03-15T14:39:05.000Z
config/releases.exs
fika-lang/fika
15bffc30daed744670bb2c0fba3e674055adac47
[ "Apache-2.0" ]
60
2020-09-23T14:20:36.000Z
2021-03-08T08:55:57.000Z
config/releases.exs
fika-lang/fika
15bffc30daed744670bb2c0fba3e674055adac47
[ "Apache-2.0" ]
25
2020-09-19T09:06:10.000Z
2021-08-24T23:48:39.000Z
import Config config :fika, start_cli: true, router_path: "router.fi", dev_token: System.get_env("FIKA_DEV_TOKEN"), remote_endpoint: System.get_env("FIKA_REMOTE_ENDPOINT")
22.625
57
0.762431
1c051b50ad7597a3fd4e407b4c83032066ff9956
7,553
ex
Elixir
lib/oban/queue/executor.ex
fedeotaran/oban
60274b76ff2c59d660ae1bf7721a3ff14854700b
[ "Apache-2.0" ]
2,219
2019-04-10T01:50:19.000Z
2022-03-30T11:20:01.000Z
lib/oban/queue/executor.ex
fedeotaran/oban
60274b76ff2c59d660ae1bf7721a3ff14854700b
[ "Apache-2.0" ]
532
2019-05-16T00:22:28.000Z
2022-03-31T19:04:02.000Z
lib/oban/queue/executor.ex
fedeotaran/oban
60274b76ff2c59d660ae1bf7721a3ff14854700b
[ "Apache-2.0" ]
230
2019-05-15T14:15:18.000Z
2022-03-23T22:59:43.000Z
defmodule Oban.Queue.Executor do @moduledoc false alias Oban.{ Breaker, Config, CrashError, Job, PerformError, Telemetry, TimeoutError, Worker } alias Oban.Queue.Engine require Logger @type success :: {:success, Job.t()} @type failure :: {:failure, Job.t(), Worker.t(), ...
24.364516
98
0.591288
1c0542ec4974f36ce621ce7c53d83f4c4998ba73
189
ex
Elixir
lib/event_loop/event.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
lib/event_loop/event.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
lib/event_loop/event.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defprotocol LaFamiglia.Event do @fallback_to_any false @doc "Returns the time an event is supposed to happen" def happens_at(event) @doc "Handles an event" def handle(event) end
21
56
0.751323
1c0554b252b9d4ded7c712503e766935dbadd7a3
3,182
exs
Elixir
mix.exs
studzien/wallaby
263f37054d544293e52b751316a5699af54f238f
[ "MIT" ]
null
null
null
mix.exs
studzien/wallaby
263f37054d544293e52b751316a5699af54f238f
[ "MIT" ]
null
null
null
mix.exs
studzien/wallaby
263f37054d544293e52b751316a5699af54f238f
[ "MIT" ]
null
null
null
defmodule Wallaby.Mixfile do use Mix.Project @version "0.21.0" @drivers ~w(phantom selenium chrome) @selected_driver System.get_env("WALLABY_DRIVER") @maintainers [ "Chris Keathley", "Tobias Pfeiffer", "Aaron Renner", ] def project do [app: :wallaby, version: @version, elixir: ...
29.738318
85
0.571653
1c055b4aaeb5f33b6342263fe6a884c1a522844a
331
ex
Elixir
2021-09-15-elixir-australia-prom-ex/prom_ex_demo/lib/prom_ex_demo/todo/todu.ex
rellen/talks
97e123e6cb331b78fa737c90cedc2974a35243e4
[ "CC-BY-4.0" ]
1
2022-02-16T09:00:34.000Z
2022-02-16T09:00:34.000Z
2021-09-15-elixir-australia-prom-ex/prom_ex_demo/lib/prom_ex_demo/todo/todu.ex
rellen/talks
97e123e6cb331b78fa737c90cedc2974a35243e4
[ "CC-BY-4.0" ]
null
null
null
2021-09-15-elixir-australia-prom-ex/prom_ex_demo/lib/prom_ex_demo/todo/todu.ex
rellen/talks
97e123e6cb331b78fa737c90cedc2974a35243e4
[ "CC-BY-4.0" ]
null
null
null
defmodule PromExDemo.Todo.Todu do use Ecto.Schema import Ecto.Changeset schema "todu" do field :done, :boolean, default: false field :title, :string timestamps() end @doc false def changeset(todu, attrs) do todu |> cast(attrs, [:title, :done]) |> validate_required([:title, :done])...
17.421053
41
0.649547
1c0570702ec5a825023976d1d01c85003a8afefb
459
ex
Elixir
lib/console/watchers/handlers/upgrade.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
6
2021-11-17T21:10:49.000Z
2022-02-16T19:45:28.000Z
lib/console/watchers/handlers/upgrade.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
18
2021-11-25T04:31:06.000Z
2022-03-27T04:54:00.000Z
lib/console/watchers/handlers/upgrade.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
null
null
null
defmodule Console.Watchers.Handlers.Upgrade do alias Console.Services.{Builds, Users, Policies} def create_build(%{"message" => msg, "repository" => %{"name" => name}} = upgr) do bot = Users.get_bot!("console") with {:ok, type} when type != :ignore <- {:ok, Policies.upgrade_type(name, upgr["type"])}, ...
41.727273
108
0.642702
1c058230c7fc2d3e362e197b4d6fd8399bedf930
1,576
ex
Elixir
priv/cabbage/apps/itest/lib/gas.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
4
2020-10-31T15:16:16.000Z
2021-02-06T22:44:19.000Z
priv/cabbage/apps/itest/lib/gas.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
4
2020-11-02T17:12:09.000Z
2021-02-10T20:35:19.000Z
priv/cabbage/apps/itest/lib/gas.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.531915
97
0.670685
1c059f6a5167ce8f839b5fcc502ccaf60563bc60
1,111
ex
Elixir
lib/midifile/sequence.ex
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
7
2016-10-09T06:59:31.000Z
2022-02-09T22:23:09.000Z
lib/midifile/sequence.ex
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
null
null
null
lib/midifile/sequence.ex
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
5
2016-01-06T17:37:04.000Z
2022-02-09T22:23:24.000Z
defmodule Midifile.Sequence do @default_bpm 120 use Bitwise defstruct format: 1, division: 480, conductor_track: nil, tracks: [] def name(%Midifile.Sequence{conductor_track: nil}), do: "" def name(%Midifile.Sequence{conductor_track: %Midifile.Track{events: []}}), do: "" def name(%Midifile.Seque...
31.742857
85
0.673267
1c05b6fdfb16deb4f7da5e9749441e83d38db00c
474
exs
Elixir
test/models/exclusion_rule_test.exs
marick/elixir-critter4us
eeea901c1debf6c77969d80a55320daf909df053
[ "MIT" ]
null
null
null
test/models/exclusion_rule_test.exs
marick/elixir-critter4us
eeea901c1debf6c77969d80a55320daf909df053
[ "MIT" ]
null
null
null
test/models/exclusion_rule_test.exs
marick/elixir-critter4us
eeea901c1debf6c77969d80a55320daf909df053
[ "MIT" ]
null
null
null
defmodule Critter4us.ExclusionRuleTest do use Critter4us.ModelCase alias Critter4us.ExclusionRule @valid_attrs %{rule: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = ExclusionRule.changeset(%ExclusionRule{}, @valid_attrs) assert changeset.valid? end te...
24.947368
73
0.755274
1c05c2a5e52741a6c058efcc948ddbeab8acbe95
86
exs
Elixir
test/ephemeral2_web/views/page_view_test.exs
losvedir/ephemeral2
4d48d6b7724127efc4f416ec45c4c2cb28472fc3
[ "MIT" ]
864
2015-05-12T13:00:28.000Z
2022-02-03T20:17:12.000Z
test/ephemeral2_web/views/page_view_test.exs
losvedir/ephemeral2
4d48d6b7724127efc4f416ec45c4c2cb28472fc3
[ "MIT" ]
4
2015-05-13T22:07:17.000Z
2015-07-10T17:03:31.000Z
test/ephemeral2_web/views/page_view_test.exs
losvedir/ephemeral2
4d48d6b7724127efc4f416ec45c4c2cb28472fc3
[ "MIT" ]
71
2015-05-12T13:30:05.000Z
2021-10-01T03:37:40.000Z
defmodule Ephemeral2Web.PageViewTest do use Ephemeral2Web.ConnCase, async: true end
21.5
41
0.837209
1c05e1ac8917509aba88089caead4622cfc5cc8b
688
ex
Elixir
lib/findmeajob/parsers/remote_jobs.ex
Adsidera/findmeajob
5a2df0267bd29b7fd55441f7dd1de21dcd4c13ea
[ "MIT" ]
1
2021-07-31T16:28:53.000Z
2021-07-31T16:28:53.000Z
lib/findmeajob/parsers/remote_jobs.ex
Adsidera/findmeajob
5a2df0267bd29b7fd55441f7dd1de21dcd4c13ea
[ "MIT" ]
null
null
null
lib/findmeajob/parsers/remote_jobs.ex
Adsidera/findmeajob
5a2df0267bd29b7fd55441f7dd1de21dcd4c13ea
[ "MIT" ]
null
null
null
defmodule Findmeajob.Parsers.RemoteJobs do alias Findmeajob.Parsers.Shared.Extractor def parse(html) do html |> Floki.find("tr.job") |> Enum.map(&parse_job/1) end def parse_job(job) do %{ title: extract_text(job, "h2[itemprop=title]"), company: extract_text(job, "h3[itemprop=name]"...
26.461538
85
0.672965
1c05f31ad87d14b987f49e207e0c3a0f5933825a
1,306
exs
Elixir
test/examples/focus_example.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
test/examples/focus_example.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
test/examples/focus_example.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule PendingExampleTest do use ExUnit.Case, async: true defmodule SomeSpec do use ESpec it do: "Example" it "with focus", [focus: true], do: "focus true" focus("with focus", do: "focus focus") fit("pending with message", do: "focus fit") fexample("pending with message", do: "focus fe...
22.912281
72
0.634763
1c06091605144ed074a907a1121d98b241ce42f4
201
ex
Elixir
lib/flix_web/graphql/resolvers/review_resolver.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
3
2021-03-21T23:52:16.000Z
2021-06-02T03:47:00.000Z
lib/flix_web/graphql/resolvers/review_resolver.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
44
2021-04-09T04:04:13.000Z
2022-03-29T06:29:37.000Z
lib/flix_web/graphql/resolvers/review_resolver.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
null
null
null
defmodule FlixWeb.Graphql.Resolvers.ReviewResolver do alias Flix.Catalogs def list_reviews(%Flix.Catalogs.Movie{} = movie, _args, _resolution) do {:ok, Catalogs.list_reviews(movie)} end end
25.125
73
0.761194
1c0642e3a14f3bc2a81c6df9106a9fc95dde38f0
48
exs
Elixir
test/exfile_b2_test.exs
keichan34/exfile-b2
4251f5c8fba6b11980d048c5e8bdcf1d4407984d
[ "MIT" ]
8
2016-01-08T09:16:50.000Z
2019-05-10T19:44:29.000Z
test/exfile_b2_test.exs
keichan34/exfile-b2
4251f5c8fba6b11980d048c5e8bdcf1d4407984d
[ "MIT" ]
3
2016-03-28T12:10:10.000Z
2016-08-16T06:03:18.000Z
test/exfile_b2_test.exs
keichan34/exfile-b2
4251f5c8fba6b11980d048c5e8bdcf1d4407984d
[ "MIT" ]
2
2016-07-02T23:35:50.000Z
2019-09-15T14:59:43.000Z
defmodule ExfileB2Test do use ExUnit.Case end
12
25
0.8125
1c06929a954478f9fd8163b00380e96322a5d438
4,990
exs
Elixir
mix.exs
hi-rustin/ecto_sql
a09868467827e0a31c74e42ed57d0b8c97277707
[ "Apache-2.0" ]
null
null
null
mix.exs
hi-rustin/ecto_sql
a09868467827e0a31c74e42ed57d0b8c97277707
[ "Apache-2.0" ]
null
null
null
mix.exs
hi-rustin/ecto_sql
a09868467827e0a31c74e42ed57d0b8c97277707
[ "Apache-2.0" ]
null
null
null
defmodule EctoSQL.MixProject do use Mix.Project @source_url "https://github.com/elixir-ecto/ecto_sql" @version "3.6.2" @adapters ~w(pg myxql tds) def project do [ app: :ecto_sql, version: @version, elixir: "~> 1.8", deps: deps(), test_paths: test_paths(System.get_env("ECTO_...
24.341463
90
0.561723
1c069d63ec6bfbaa349f285e94b4c54d5637ca8d
1,200
exs
Elixir
config/config.exs
lexnapoles/todo-list-elixir
fa68fdd77b3e90950374af9a5ced8f200365e63d
[ "MIT" ]
null
null
null
config/config.exs
lexnapoles/todo-list-elixir
fa68fdd77b3e90950374af9a5ced8f200365e63d
[ "MIT" ]
null
null
null
config/config.exs
lexnapoles/todo-list-elixir
fa68fdd77b3e90950374af9a5ced8f200365e63d
[ "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 config :todo, http_port: 5454 import_config "#{Mix.env()}.exs" # This configuration is loaded before any dependency and is restricted # to this project. If another project depends ...
34.285714
73
0.749167
1c070e95fd071723cf949ce217f7a54c7ad45547
253
exs
Elixir
SHED/config/dev.exs
ponyatov/metaL
0cd2614b5cd73280beeba34256a2e1dc736b2828
[ "MIT" ]
8
2019-04-22T12:28:20.000Z
2021-11-09T22:08:17.000Z
SHED/config/dev.exs
ponyatov/metaL
0cd2614b5cd73280beeba34256a2e1dc736b2828
[ "MIT" ]
3
2019-04-23T17:17:55.000Z
2020-10-12T08:43:25.000Z
SHED/config/dev.exs
ponyatov/metaL
0cd2614b5cd73280beeba34256a2e1dc736b2828
[ "MIT" ]
2
2020-09-21T20:38:37.000Z
2021-09-08T13:37:44.000Z
# powered by metaL: https://github.com/ponyatov/metaL/wiki/metaL-manifest # \ <section:top> use Mix.Config # / <section:top> # \ <section:mid> config :shed, # \ <section:dev> # / <section:dev> host: "127.0.0.1", port: 31211 # / <section:mid>
18.071429
74
0.628458
1c0773a066b5e21a319356b92326abc7677384d1
6,999
ex
Elixir
lib/codes/codes_d23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_d23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_d23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_D23 do alias IcdCode.ICDCode def _D230 do %ICDCode{full_code: "D230", category_code: "D23", short_code: "0", full_name: "Other benign neoplasm of skin of lip", short_name: "Other benign neoplasm of skin of lip", category_name: "Oth...
41.414201
104
0.646235
1c0778d1e1afda23deb1b00b5f2397a837afb2a0
366
ex
Elixir
apps/webapp/spec/support/factory.ex
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
25
2016-08-09T15:04:37.000Z
2021-11-15T12:20:27.000Z
apps/webapp/spec/support/factory.ex
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
62
2016-05-23T20:16:40.000Z
2017-04-18T18:36:29.000Z
apps/webapp/spec/support/factory.ex
iporaitech/phoenix-webpack-react-docker
c454db0b851b9d00db868a64b96e567d4a0cc3d9
[ "MIT" ]
10
2016-08-17T15:29:21.000Z
2017-02-28T07:58:30.000Z
defmodule Webapp.Factory do use ExMachina.Ecto, repo: Webapp.Repo def user_factory do %Webapp.User{ first_name: "Jane", last_name: "Smith", email: sequence(:email, &"email#{&1}@example.com") } end def make_admin(user) do %{user | role: "admin"} end def make_superadmin(user) ...
18.3
56
0.625683
1c07a29b0bc572a234684cf4855668e76a5e8ced
1,149
exs
Elixir
config/config.exs
TondaHack/recursive_renamer
1811d82d3fb6a61f97d46c744b88f5584e3e8e13
[ "MIT" ]
null
null
null
config/config.exs
TondaHack/recursive_renamer
1811d82d3fb6a61f97d46c744b88f5584e3e8e13
[ "MIT" ]
null
null
null
config/config.exs
TondaHack/recursive_renamer
1811d82d3fb6a61f97d46c744b88f5584e3e8e13
[ "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...
37.064516
73
0.75544
1c07b8ce048edbcc0ed597f8959a7f88103bda8a
616
ex
Elixir
web/models/room.ex
jusroberts/pingpong_server
fd090413076c84e4f7297349d4c9fd6323bd1ddf
[ "MIT" ]
null
null
null
web/models/room.ex
jusroberts/pingpong_server
fd090413076c84e4f7297349d4c9fd6323bd1ddf
[ "MIT" ]
null
null
null
web/models/room.ex
jusroberts/pingpong_server
fd090413076c84e4f7297349d4c9fd6323bd1ddf
[ "MIT" ]
null
null
null
defmodule PingpongServer.Room do use PingpongServer.Web, :model schema "rooms" do field :client_token, :string field :team_a_score, :integer field :team_b_score, :integer field :name, :string timestamps end @required_fields ~w(client_token name) @optional_fields ~w(team_a_score team_b_s...
22.814815
61
0.709416
1c07f9538e31797513ba337dc4d8e8dc00c32b6d
921
exs
Elixir
priv/repo/migrations/20151210171117_create_transaction_info.exs
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
184
2015-11-23T20:51:50.000Z
2022-03-30T01:01:39.000Z
priv/repo/migrations/20151210171117_create_transaction_info.exs
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
15
2015-11-26T16:00:20.000Z
2018-05-25T20:13:39.000Z
priv/repo/migrations/20151210171117_create_transaction_info.exs
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
21
2015-11-26T21:34:40.000Z
2022-03-26T02:56:42.000Z
defmodule ExMoney.Repo.Migrations.CreateTransactionInfo do use Ecto.Migration def change do create table(:transactions_info) do add :record_number, :string add :information, :text add :time, :datetime add :posting_date, :date add :posting_time, :datetime add :account_number,...
27.088235
76
0.663409
1c07fc26f3569ffcc13c54a497e3fea8fb523d28
1,685
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_update_shipment_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/content/lib/google_api/content/v2/model/orders_update_shipment_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_update_shipment_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 ...
33.7
192
0.738872
1c08000ea036081d9c74fad4b788b9e5c8e172dc
188
exs
Elixir
priv/repo/migrations/20171018163534_add_project_id_to_pipelines.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
2
2019-03-05T16:29:10.000Z
2020-01-17T14:11:48.000Z
priv/repo/migrations/20171018163534_add_project_id_to_pipelines.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
3
2019-03-18T20:26:48.000Z
2020-06-25T14:31:13.000Z
priv/repo/migrations/20171018163534_add_project_id_to_pipelines.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
1
2018-06-16T15:32:25.000Z
2018-06-16T15:32:25.000Z
defmodule CncfDashboardApi.Repo.Migrations.AddProjectIdToPipelines do use Ecto.Migration def change do alter table(:pipelines) do add :project_id, :string end end end
18.8
69
0.744681
1c0823ff5ae7ccb9e67761626bd10b388f5f2370
1,608
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/test_iam_permissions_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 ...
33.5
134
0.753109
1c083ca0772f2fcf4610e01e85a57e2c6670801a
2,518
exs
Elixir
config/prod.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "MIT" ]
null
null
null
config/prod.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "MIT" ]
null
null
null
config/prod.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "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.972222
74
0.721207
1c083e7d76c0bb9dded57f549b1e1d5b07e74cbd
1,325
ex
Elixir
lib/web/controllers/manage/setting_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
lib/web/controllers/manage/setting_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
lib/web/controllers/manage/setting_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
defmodule Web.Manage.SettingController do use Web, :controller alias Grapevine.Accounts alias GrapevineData.Games plug(Web.Plugs.VerifyUser) def show(conn, _params) do %{current_user: user} = conn.assigns conn |> assign(:changeset, Accounts.edit(user)) |> assign(:games, Games.for_user(user...
26.5
86
0.619623
1c08450d7857c910a7ca655a196db2d5d44cfb35
9,780
ex
Elixir
lib/scrub/cip/connection_manager.ex
IslandUsurper/scrub
e36f1c602d53b2534084d8ba21100687a698a1be
[ "Apache-2.0" ]
3
2020-04-30T13:53:42.000Z
2021-04-20T16:53:54.000Z
lib/scrub/cip/connection_manager.ex
IslandUsurper/scrub
e36f1c602d53b2534084d8ba21100687a698a1be
[ "Apache-2.0" ]
3
2020-05-04T19:21:21.000Z
2021-03-31T23:00:36.000Z
lib/scrub/cip/connection_manager.ex
IslandUsurper/scrub
e36f1c602d53b2534084d8ba21100687a698a1be
[ "Apache-2.0" ]
1
2021-12-14T20:31:29.000Z
2021-12-14T20:31:29.000Z
defmodule Scrub.CIP.ConnectionManager do import Scrub.BinaryUtils, warn: false alias Scrub.CIP alias Scrub.CIP.Type alias Scrub.CIP.Connection @services [ large_forward_open: 0x5B, forward_close: 0x4E, read_tag_service: 0x4C, multiple_service_request: 0x0A ] def encode_service(_, _opts ...
26.868132
100
0.604908
1c0849aac26b988a81e50641d91850c9d93fd878
1,962
exs
Elixir
clients/accelerated_mobile_page_url/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/accelerated_mobile_page_url/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/accelerated_mobile_page_url/mix.exs
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...
29.283582
157
0.667686
1c084ece4ebda1cdb485b70d90c23e63e153a9d8
13,226
ex
Elixir
lib/elixir/lib/string_io.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/elixir/lib/string_io.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/elixir/lib/string_io.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule StringIO do @moduledoc """ Controls an IO device process that wraps a string. A `StringIO` IO device can be passed as a "device" to most of the functions in the `IO` module. ## Examples iex> {:ok, pid} = StringIO.open("foo") iex> IO.read(pid, 2) "fo" """ use GenServer @...
28.627706
101
0.626115
1c085b8dae712d6b1d194932cd31f49100e560f8
112,344
ex
Elixir
lib/baiji/service/cognito_identity_provider.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/service/cognito_identity_provider.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
lib/baiji/service/cognito_identity_provider.ex
wrren/baiji
d3d9e1cad875c6e1ddb47bf52511c3a07321764a
[ "MIT" ]
null
null
null
defmodule Baiji.CognitoIdentityProvider do @moduledoc """ Using the Amazon Cognito User Pools API, you can create a user pool to manage directories and users. You can authenticate a user to obtain tokens related to user identity and access policies. This API reference provides information about user pools ...
73.379491
63,965
0.582612
1c089bbf781238b24790dab1fe0bd0d3e1c93aab
650
ex
Elixir
lib/legato/query/metric_filter.ex
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
lib/legato/query/metric_filter.ex
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
lib/legato/query/metric_filter.ex
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
defmodule Legato.Query.MetricFilter do defstruct metric_name: nil, not: false, operator: :equal, comparison_value: nil # { # "metricName": string, # "not": boolean, # "operator": enum(Operator), # "comparisonValue": string, # } defimpl Jason.Encoder, for: __MODULE__ do def encode(struct, op...
27.083333
81
0.656923
1c08a31db75df5b3e96a64ef4a88f60ed64a5489
3,521
exs
Elixir
test/guardian/db_test.exs
forest/guardian_db
fcfc3fb8e3d52033e8c220ddf1dc427b25ca18df
[ "MIT" ]
3
2021-04-22T03:44:56.000Z
2021-11-15T11:13:53.000Z
test/guardian/db_test.exs
forest/guardian_db
fcfc3fb8e3d52033e8c220ddf1dc427b25ca18df
[ "MIT" ]
null
null
null
test/guardian/db_test.exs
forest/guardian_db
fcfc3fb8e3d52033e8c220ddf1dc427b25ca18df
[ "MIT" ]
null
null
null
defmodule Guardian.DBTest do use Guardian.DB.TestSupport.CaseTemplate alias Guardian.DB.Token setup do {:ok, %{ claims: %{ "jti" => "token-uuid", "typ" => "token", "aud" => "token", "sub" => "the_subject", "iss" => "the_issuer", "exp" => Guard...
26.877863
97
0.594149
1c08dbe647f86c081f572834ee5acd9966547f61
3,353
ex
Elixir
lib/sanbase_web/graphql/resolvers/price_resolver.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/resolvers/price_resolver.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/resolvers/price_resolver.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Resolvers.PriceResolver do require Logger import SanbaseWeb.Graphql.Helpers.CalibrateInterval, only: [calibrate: 6] alias Sanbase.Price alias Sanbase.Model.Project @total_market "TOTAL_MARKET" @total_erc20 "TOTAL_ERC20" @doc """ Returns a list of price points for the giv...
34.214286
96
0.636147
1c08e3410986bf2e6d2bdd10aa6c0f5c9bb2d49b
11,333
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/database_instance.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/database_instance.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/database_instance.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
75.553333
596
0.714639
1c08e6a7a2111cb502945225f7ce749ce5c2965a
380
ex
Elixir
lib/drab_spike_web/views/error_view.ex
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "MIT" ]
null
null
null
lib/drab_spike_web/views/error_view.ex
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "MIT" ]
8
2019-10-31T11:27:57.000Z
2022-02-09T23:00:28.000Z
lib/drab_spike_web/views/error_view.ex
kimlindholm/drab_spike
f7573dade90d1cc3dcb54a30aa5a1c09445516fa
[ "MIT" ]
null
null
null
defmodule DrabSpikeWeb.ErrorView do use DrabSpikeWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_tem...
21.111111
47
0.705263
1c08fd656df6e02e038b1ae400e65c81f176ddfb
198
ex
Elixir
web/views/feed_entry_view.ex
mskog/Upfeed
34fad85cbf7c0c7b0a7d0238c312b29edb61b1d1
[ "MIT" ]
null
null
null
web/views/feed_entry_view.ex
mskog/Upfeed
34fad85cbf7c0c7b0a7d0238c312b29edb61b1d1
[ "MIT" ]
null
null
null
web/views/feed_entry_view.ex
mskog/Upfeed
34fad85cbf7c0c7b0a7d0238c312b29edb61b1d1
[ "MIT" ]
null
null
null
defmodule Upfeed.FeedEntryView do use Upfeed.Web, :view def feed_title(feed_name) do "Upfeed - #{feed_name}" end def feed_description(feed_name) do feed_title(feed_name) end end
16.5
36
0.722222
1c09068311ee815b396b29e526aca1da84a12985
2,621
ex
Elixir
apps/cucumber_expressions/test/support/parameter_type/validators/date.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-05-18T18:20:05.000Z
2022-02-13T00:15:06.000Z
apps/cucumber_expressions/test/support/parameter_type/validators/date.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-04-22T00:28:17.000Z
2021-05-19T21:04:20.000Z
apps/cucumber_expressions/test/support/parameter_type/validators/date.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
4
2021-04-14T03:07:45.000Z
2021-12-12T21:23:59.000Z
defmodule Support.ParameterType.Validator.Date do defstruct raw: :none, value: :none, month: "", year: "", day: 0, day_name: "" @valid_months [ "january", "february", "march", "april", "may", "june", "july", "august", "...
25.950495
97
0.542923
1c091124bc92a23ad8152fa8d2f29f63faa98bfd
1,712
ex
Elixir
lib/tipalti/api/soap/response_parser.ex
gadabout/tipalti-elixir
4cff4108b343b8d7c30d117494838ad00a46128a
[ "MIT" ]
8
2018-04-26T21:40:07.000Z
2019-08-14T10:55:53.000Z
lib/tipalti/api/soap/response_parser.ex
gadabout/tipalti-elixir
4cff4108b343b8d7c30d117494838ad00a46128a
[ "MIT" ]
198
2018-04-26T21:53:20.000Z
2022-03-23T15:20:11.000Z
lib/tipalti/api/soap/response_parser.ex
gadabout/tipalti-elixir
4cff4108b343b8d7c30d117494838ad00a46128a
[ "MIT" ]
1
2018-11-09T03:10:36.000Z
2018-11-09T03:10:36.000Z
defmodule Tipalti.API.SOAP.ResponseParser do @moduledoc false import SweetXmlFork alias SweetXpathFork, as: SweetXpath alias Tipalti.ClientError def parse(body, root_path, :empty, response_opts) do with :ok <- is_ok?(body, root_path, response_opts) do :ok end end def parse(body, root_pat...
25.552239
80
0.666472
1c092be79ef058367c9541d79cbf9a01a12edd52
2,024
ex
Elixir
lib/arkecosystem/crypto/helpers/map_key_transformer.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
lib/arkecosystem/crypto/helpers/map_key_transformer.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
lib/arkecosystem/crypto/helpers/map_key_transformer.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
defmodule ArkEcosystem.Crypto.Helpers.MapKeyTransformer do def underscore(map) when is_map(map) do transform_map(map, &Macro.underscore/1) end def camelCase(map) when is_map(map) do transform_map(map, &camelizer/1) end defp transform_map(map, transformer) when is_map(map) do Map.keys(map) |>...
26.986667
83
0.66996
1c092ccbc1f45581815d37334a2754118184c695
2,097
exs
Elixir
mix.exs
sneako/fastimage
01562b7eb268b207e0a662d27e6f5380c6e40798
[ "MIT" ]
null
null
null
mix.exs
sneako/fastimage
01562b7eb268b207e0a662d27e6f5380c6e40798
[ "MIT" ]
1
2018-10-03T12:02:24.000Z
2018-10-03T12:02:24.000Z
mix.exs
sneako/fastimage
01562b7eb268b207e0a662d27e6f5380c6e40798
[ "MIT" ]
null
null
null
defmodule Fastimage.Mixfile do use Mix.Project @name "Fastimage" @version "1.0.0-rc3" @source "https://github.com/stephenmoloney/fastimage" @maintainers ["Stephen Moloney"] @elixir_versions ">= 1.4.0" @allowed_hackney_versions ~w(1.6 1.7 1.8 1.9 1.13 1.14) @hackney_versions "~> " <> Enum.join(@allowed_h...
22.793478
87
0.577969
1c098579b1a993ecba2ba5f383ac998d0635b707
912
ex
Elixir
clients/my_business_verifications/lib/google_api/my_business_verifications/v1/metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/my_business_verifications/lib/google_api/my_business_verifications/v1/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/my_business_verifications/lib/google_api/my_business_verifications/v1/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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.777778
74
0.766447
1c09bceef4ef412466dfff3185942d414dcb1216
136
ex
Elixir
lib/bible_study_spreadsheet/repo.ex
dbishai/bible-study-spreadsheet
9009cf8c343c215b2d8d6c1d8d24fd1ed2219434
[ "MIT" ]
null
null
null
lib/bible_study_spreadsheet/repo.ex
dbishai/bible-study-spreadsheet
9009cf8c343c215b2d8d6c1d8d24fd1ed2219434
[ "MIT" ]
1
2021-03-10T06:25:15.000Z
2021-03-10T06:25:15.000Z
lib/bible_study_spreadsheet/repo.ex
dbishai/bible-study-spreadsheet
9009cf8c343c215b2d8d6c1d8d24fd1ed2219434
[ "MIT" ]
null
null
null
defmodule BibleStudySpreadsheet.Repo do use Ecto.Repo, otp_app: :bible_study_spreadsheet, adapter: Ecto.Adapters.Postgres end
22.666667
39
0.786765
1c09c755ce3a1b362efbbfc103591dd182dda37b
258
exs
Elixir
apps/snitch_core/priv/repo/migrations/20180828204145_add_product_assoc_to_line_item.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/migrations/20180828204145_add_product_assoc_to_line_item.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/migrations/20180828204145_add_product_assoc_to_line_item.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Repo.Migrations.AddProductAssocToLineItem do use Ecto.Migration def change do alter table("snitch_line_items") do remove :variant_id add :product_id, references("snitch_products", on_delete: :restrict) end end end
23.454545
74
0.744186
1c09cb2a778baeb12b637644606a937bf4801800
1,123
ex
Elixir
lib/jukee_web/controllers/api/session_controller.ex
samuelbriole/Jukee
1f0dd7616d63d742fac17daabaf50b406d9dbede
[ "MIT" ]
3
2018-05-17T17:43:06.000Z
2018-06-09T02:12:25.000Z
lib/jukee_web/controllers/api/session_controller.ex
samuelbriole/Jukee
1f0dd7616d63d742fac17daabaf50b406d9dbede
[ "MIT" ]
2
2018-06-04T15:51:36.000Z
2018-06-20T11:31:23.000Z
lib/jukee_web/controllers/api/session_controller.ex
samuelbriole/jukee
1f0dd7616d63d742fac17daabaf50b406d9dbede
[ "MIT" ]
null
null
null
defmodule JukeeWeb.SessionController do use JukeeWeb, :controller alias Jukee.Accounts action_fallback(JukeeWeb.FallbackController) def create(conn, params) do with {:ok, user} <- Accounts.authenticate(params) do new_conn = Accounts.sign_in_user(conn, user) jwt = Accounts.get_current_token(ne...
24.413043
75
0.66073
1c09d25cdcbc4dc10ce7f12d3086bbf166e8646d
11,125
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/device.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_management/lib/google_api/android_management/v1/model/device.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/device.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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 ...
68.251534
448
0.726112
1c09dac59659f163ba092ce2ebab4874e3ce0c59
541
exs
Elixir
farmbot_ext/test/farmbot_ext/mqtt/support_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
farmbot_ext/test/farmbot_ext/mqtt/support_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
farmbot_ext/test/farmbot_ext/mqtt/support_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotExt.MQTT.SupportTest do use ExUnit.Case use Mimic alias FarmbotExt.MQTT.Support test "forward_message" do msg = {"topic", "message"} assert nil == Support.forward_message(nil, msg) pid = NoOp.new(name: :forward_message_stub) Support.forward_message(pid, msg) assert NoOp.las...
31.823529
73
0.696858
1c0a04c62ec951d16ff24b644be6c0ad165e3277
4,535
ex
Elixir
lib/graph_reasoner/query_info/query_info.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
1
2019-09-05T23:00:48.000Z
2019-09-05T23:00:48.000Z
lib/graph_reasoner/query_info/query_info.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
7
2020-10-27T20:42:06.000Z
2021-11-15T07:41:15.000Z
lib/graph_reasoner/query_info/query_info.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
6
2016-04-06T09:28:43.000Z
2021-08-09T12:29:16.000Z
# A strategy for defining access # # We will attach graph constraints to the predicates # # We will assume the WHERE block has been converted into simple triple # statements. # # 1. Derive types for variables # 2. Derive types for subjects (already known if that is a variable) # 3. Derive types for objects (already kno...
30.436242
94
0.676736
1c0a05d771b19271b50523acfdd888e1f2346160
5,559
ex
Elixir
lib/liblink/cluster/protocol/dealer/impl.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
lib/liblink/cluster/protocol/dealer/impl.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
lib/liblink/cluster/protocol/dealer/impl.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2018 Xerpa # 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, soft...
27.384236
94
0.598489
1c0a443cdb8a7dcc6128540743ea54bc70c40dcb
1,970
exs
Elixir
config/prod.exs
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
1
2019-12-22T16:00:11.000Z
2019-12-22T16:00:11.000Z
config/prod.exs
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
2
2021-03-10T02:31:42.000Z
2021-05-10T22:02:29.000Z
config/prod.exs
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
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, # ...
35.178571
66
0.71269