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
7347684d4e1b5369255287143f9044e4916d23d0
1,524
ex
Elixir
lib/intermediate_git_web/live/user_live/form_component.ex
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
lib/intermediate_git_web/live/user_live/form_component.ex
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
lib/intermediate_git_web/live/user_live/form_component.ex
Baradoy/intermdiategit
3a7b7efc32e361d2347057cbe3c8997f44135522
[ "MIT" ]
null
null
null
defmodule IntermediateGitWeb.UserLive.FormComponent do use IntermediateGitWeb, :live_component alias IntermediateGit.Accounts @impl true def update(%{user: user} = assigns, socket) do changeset = Accounts.change_user(user) {:ok, socket |> assign(assigns) |> assign(:changeset, changeset...
27.214286
67
0.644357
73477c20b615295a21d9b2c66f584b2df2589962
4,603
exs
Elixir
farmbot_os/mix.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_os/mix.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_os/mix.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotOS.MixProject do use Mix.Project @all_targets [:rpi3, :rpi] @version Path.join([__DIR__, "..", "VERSION"]) |> File.read!() |> String.trim() @branch System.cmd("git", ~w"rev-parse --abbrev-ref HEAD") |> elem(0) |> String.trim() @commit System.cmd("git...
33.355072
80
0.579839
7347bb56c36a0db2ea89f41fca379061bb91ac07
4,144
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/binding.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/binding.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/binding.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...
41.44
136
0.698842
7347c24884e3ac11a99210d0acb5ee312f554ff9
20,964
exs
Elixir
test/live_sup/core/datasources/wordpress_datasource_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
test/live_sup/core/datasources/wordpress_datasource_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
test/live_sup/core/datasources/wordpress_datasource_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSup.Test.Core.Datasources.WordpressDatasourceTest do use LiveSup.DataCase, async: true alias LiveSup.Core.Datasources.WordpressDatasource describe "managing wordpress datasource" do @describetag :datasource @describetag :wordpress_datasource @site_health_parsed_response %{ "wp-a...
36.395833
96
0.450296
7347c31f136c2b217b1b390f68f377a331750da9
1,605
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/delete_named_range_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/delete_named_range_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/docs/lib/google_api/docs/v1/model/delete_named_range_request.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...
32.1
143
0.722118
7347dcce2ee98c8f20ad4f8d18f90ee32bbaa740
4,778
ex
Elixir
apps/admin_app/lib/admin_app/order/order.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/admin_app/lib/admin_app/order/order.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/admin_app/lib/admin_app/order/order.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule AdminApp.OrderContext do @moduledoc """ Module for the order related helper functions """ import Ecto.Query alias AdminAppWeb.Helpers alias BeepBop.Context alias Snitch.Domain.Order.DefaultMachine alias Snitch.Data.Schema.{Order, Package} alias Snitch.Data.Model.Order, as: OrderModel alia...
24.502564
87
0.620134
7347e63ec6244cc9d947c2c51cb13c36dd2ef3a6
1,740
exs
Elixir
apps/ello_feeds/test/controllers/editorial_controller_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_feeds/test/controllers/editorial_controller_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_feeds/test/controllers/editorial_controller_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Feeds.EditorialControllerTest do use Ello.Feeds.ConnCase import SweetXml setup %{conn: conn} do Factory.insert(:post_editorial, published_position: 1) Factory.insert(:external_editorial, published_position: 2) Factory.insert(:category_editorial, published_position: 3) Factory.inser...
49.714286
98
0.686207
7347ebe77c1d140df47aba6b05344b44a5b5b798
1,256
exs
Elixir
mix.exs
nTraum/lapin
02450640e5b1e0b0f2e76af38d41dee170166b18
[ "MIT" ]
21
2017-10-23T21:18:57.000Z
2022-02-09T11:58:33.000Z
mix.exs
nTraum/lapin
02450640e5b1e0b0f2e76af38d41dee170166b18
[ "MIT" ]
37
2017-10-23T22:29:43.000Z
2022-02-22T00:15:52.000Z
mix.exs
nTraum/lapin
02450640e5b1e0b0f2e76af38d41dee170166b18
[ "MIT" ]
13
2017-10-17T15:15:35.000Z
2022-03-08T14:02:36.000Z
defmodule Lapin.Mixfile do use Mix.Project def project do [ app: :lapin, version: "1.0.4", elixir: "~> 1.9", description: "Elixir RabbitMQ Client", source_url: "https://github.com/lucacorti/lapin", package: package(), docs: docs(), start_permanent: Mix.env() == :...
21.288136
60
0.521497
73483840e6072984dc974f85e9c1f859d97cf401
1,906
ex
Elixir
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_policy_schema_field_known_value_description.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_policy_schema_field_known_value_description.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_policy_schema_field_known_value_description.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...
34.654545
138
0.746065
734876d9f619c4658da01c56b1de42a3da4705b6
553
exs
Elixir
test/test_helper.exs
seantanly/money_sql
4511d05c55a9e953c2652ff777f17053d0cdce47
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
seantanly/money_sql
4511d05c55a9e953c2652ff777f17053d0cdce47
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
seantanly/money_sql
4511d05c55a9e953c2652ff777f17053d0cdce47
[ "Apache-2.0" ]
null
null
null
ExUnit.start() {:ok, _pid} = Money.SQL.Repo.start_link() :ok = Ecto.Adapters.SQL.Sandbox.mode(Money.SQL.Repo, :manual) defmodule Money.SQL.RepoCase do use ExUnit.CaseTemplate using do quote do alias Money.SQL.Repo import Ecto import Ecto.Query import Money.SQL.RepoCase # and an...
18.433333
71
0.658228
734884ad8d5a319a181da1ab706c759cd41cd546
2,049
ex
Elixir
lib/ggity/scale/y_continuous.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
lib/ggity/scale/y_continuous.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
lib/ggity/scale/y_continuous.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
defmodule GGity.Scale.Y.Continuous do @moduledoc false alias GGity.Scale.Y @base_axis_intervals [0.1, 0.2, 0.25, 0.4, 0.5, 0.75, 1.0, 2.0, 2.5, 4.0, 5.0, 7.5, 10] @type t() :: %__MODULE__{} @type mapping() :: map() defstruct width: 200, breaks: 5, labels: :waivers, ti...
30.58209
98
0.637872
7348a5b151e23b71c65743fee28e22a5bcd41b6f
11,354
ex
Elixir
lib/phoenix_live_view/utils.ex
caironoleto/phoenix_live_view
e102da323feceab588a1a090e7d0b766c9e099b8
[ "MIT" ]
1
2020-07-26T12:20:43.000Z
2020-07-26T12:20:43.000Z
lib/phoenix_live_view/utils.ex
mcrumm/phoenix_live_view
ff2313f42444c27e7652ebc5e4ee94ffa619bf85
[ "MIT" ]
null
null
null
lib/phoenix_live_view/utils.ex
mcrumm/phoenix_live_view
ff2313f42444c27e7652ebc5e4ee94ffa619bf85
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Utils do # Shared helpers used mostly by Channel and Diff, # but also Static, and LiveViewTest. @moduledoc false alias Phoenix.LiveView.Rendered alias Phoenix.LiveView.Socket # All available mount options @mount_opts [:temporary_assigns, :layout] @max_flash_age :timer.secon...
29.722513
106
0.648582
7348c60bf2aebe2ccb008b4d364d75395bb9b91d
1,694
exs
Elixir
hippo-backend/priv/repo/seeds.exs
yvc74/Hippo
4a1784c67bdbe073dafaf9aea66660d5b3c7ed5e
[ "MIT" ]
1
2020-09-20T14:16:03.000Z
2020-09-20T14:16:03.000Z
hippo-backend/priv/repo/seeds.exs
yvc74/Hippo
4a1784c67bdbe073dafaf9aea66660d5b3c7ed5e
[ "MIT" ]
null
null
null
hippo-backend/priv/repo/seeds.exs
yvc74/Hippo
4a1784c67bdbe073dafaf9aea66660d5b3c7ed5e
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Hippo.Repo.insert!(%Hippo.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fai...
22
68
0.649941
7348df3a360c3ed543bb566379337c0e2d414648
1,216
exs
Elixir
mix.exs
kelostrada/ex_assert_eventually
569992b5be39c3c91b806b2acd5fc5571aa4ca17
[ "Apache-2.0" ]
null
null
null
mix.exs
kelostrada/ex_assert_eventually
569992b5be39c3c91b806b2acd5fc5571aa4ca17
[ "Apache-2.0" ]
null
null
null
mix.exs
kelostrada/ex_assert_eventually
569992b5be39c3c91b806b2acd5fc5571aa4ca17
[ "Apache-2.0" ]
null
null
null
defmodule ExAssertEventually.MixProject do use Mix.Project def project do [ app: :assert_eventually, version: "1.0.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env()), package: package(), description: d...
23.384615
73
0.619243
7348e5c314bdd1f08be3146e571192d8516bb906
2,421
ex
Elixir
lib/phoenix_container_example_web/telemetry.ex
wwaldner-amtelco/phoenix_container_example
aeee424b40f444fe6bbfeab4d57b78d201397701
[ "Apache-2.0" ]
null
null
null
lib/phoenix_container_example_web/telemetry.ex
wwaldner-amtelco/phoenix_container_example
aeee424b40f444fe6bbfeab4d57b78d201397701
[ "Apache-2.0" ]
null
null
null
lib/phoenix_container_example_web/telemetry.ex
wwaldner-amtelco/phoenix_container_example
aeee424b40f444fe6bbfeab4d57b78d201397701
[ "Apache-2.0" ]
null
null
null
defmodule PhoenixContainerExampleWeb.Telemetry do @moduledoc false use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measure...
32.716216
88
0.67121
7348e745ee383750b83038c55ff1baaa69649cf1
795
ex
Elixir
design/data_model_playground/lib/data_model_playground/schema/thread.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
10
2017-06-28T08:06:52.000Z
2022-03-19T17:49:21.000Z
design/data_model_playground/lib/data_model_playground/schema/thread.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
null
null
null
design/data_model_playground/lib/data_model_playground/schema/thread.ex
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
2
2017-10-21T12:01:02.000Z
2021-01-29T10:26:22.000Z
defmodule DataModelPlayground.Thread do use Ecto.Schema import Ecto.Changeset alias DataModelPlayground.{Repo, Category, Post, User} schema "threads" do import Ecto.Query belongs_to :category, Category has_many :posts, Post field :title, :string timestamps end @required_fields ~w(cate...
20.921053
57
0.655346
7348ff498730361e319c7c61cb7f122f0a11945e
2,540
exs
Elixir
integration_test/pg/test_helper.exs
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
integration_test/pg/test_helper.exs
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
null
null
null
integration_test/pg/test_helper.exs
dgvncsz0f/ecto
bae06fe650328cc1060c09fe889a2de9a10edb1b
[ "Apache-2.0" ]
1
2018-09-21T16:05:29.000Z
2018-09-21T16:05:29.000Z
Logger.configure(level: :info) ExUnit.start # Configure Ecto for support and tests Application.put_env(:ecto, :lock_for_update, "FOR UPDATE") Application.put_env(:ecto, :primary_key_type, :id) # Configure PG connection Application.put_env(:ecto, :pg_test_url, "ecto://" <> (System.get_env("PG_URL") || "postgres:post...
27.311828
84
0.73189
73490007a2d560794cee4a1c9d32bb05a89be97d
4,362
ex
Elixir
lib/crawly.ex
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
486
2019-05-30T09:19:59.000Z
2021-04-28T07:51:31.000Z
lib/crawly.ex
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
131
2019-06-29T12:43:24.000Z
2021-04-24T19:40:07.000Z
lib/crawly.ex
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
52
2019-06-24T10:13:41.000Z
2021-03-28T07:36:42.000Z
defmodule Crawly do @moduledoc """ Crawly is a fast high-level web crawling & scraping framework for Elixir. """ @doc """ Fetches a given url. This function is mainly used for the spiders development when you need to get individual pages and parse them. The fetched URL is being converted to a request, a...
33.045455
115
0.607519
73490d92ed868f1069556bd6d7e5d653f3ab7ccb
1,552
ex
Elixir
lib/retrospectivex_web/views/error_helpers.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
lib/retrospectivex_web/views/error_helpers.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
lib/retrospectivex_web/views/error_helpers.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
defmodule RetrospectivexWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> conte...
29.846154
70
0.651418
73492f1c4bdb384b9d51d1df3aad44afec807f5e
1,690
ex
Elixir
lib/stripe_app_web/controllers/coherence/redirects.ex
hotpyn/stripe_demo
2a0ac3ab34a616ffcd6d7e979c25517b5f1636b5
[ "MIT" ]
null
null
null
lib/stripe_app_web/controllers/coherence/redirects.ex
hotpyn/stripe_demo
2a0ac3ab34a616ffcd6d7e979c25517b5f1636b5
[ "MIT" ]
null
null
null
lib/stripe_app_web/controllers/coherence/redirects.ex
hotpyn/stripe_demo
2a0ac3ab34a616ffcd6d7e979c25517b5f1636b5
[ "MIT" ]
null
null
null
defmodule Coherence.Redirects do @moduledoc """ Define controller action redirection functions. This module contains default redirect functions for each of the controller actions that perform redirects. By using this Module you get the following functions: * session_create/2 * session_delete/2 * passw...
30.727273
88
0.742012
734936eec36c9d169a4f90fe4350fb83426ff129
1,663
exs
Elixir
misc/fb_api.exs
feihong/elixir-examples
dda6128f729199dad21220925df3bae241911fbd
[ "Apache-2.0" ]
null
null
null
misc/fb_api.exs
feihong/elixir-examples
dda6128f729199dad21220925df3bae241911fbd
[ "Apache-2.0" ]
null
null
null
misc/fb_api.exs
feihong/elixir-examples
dda6128f729199dad21220925df3bae241911fbd
[ "Apache-2.0" ]
null
null
null
defmodule Fetch do @keywords Application.fetch_env!(:misc, :keywords) @access_token Application.fetch_env!(:misc, Facebook)[:access_token] def fetch_all() do pages = Application.fetch_env!(:misc, Facebook)[:pages] # Fetch all events and sort. events = pages |> Enum.map(fn name -> fetch(name) ...
29.696429
79
0.639206
734943dfae9e74780d54e313554c88c9becb8bef
1,130
ex
Elixir
web/controllers/paste_controller.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
6
2015-02-25T06:13:45.000Z
2016-04-11T13:06:13.000Z
web/controllers/paste_controller.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
null
null
null
web/controllers/paste_controller.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
null
null
null
defmodule Pastenix.Controller.Paste do use Phoenix.Controller plug :action def index(conn, _params) do lastpastes = Pastenix.Paste.fetchPublicMeta(10) render conn, "index.html", %{lastpastes: lastpastes} end def create(conn, %{"pastetext" => content, "title" => title, "permissions" => ...
28.974359
142
0.656637
73496bb4281597541e36660fcc9758cee286bfe4
1,056
exs
Elixir
apps/omg_watcher_info/test/test_helper.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/test/test_helper.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/test/test_helper.exs
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 ...
39.111111
78
0.751894
73496d7b529eb5e318b36c4c12f26b08f5ffa549
6,256
ex
Elixir
api/lib/worker/index_adapter.ex
lucas-angermann/idai-field-web
788c9c9505b6fd12d591345b23053e934f1022d1
[ "Apache-2.0" ]
null
null
null
api/lib/worker/index_adapter.ex
lucas-angermann/idai-field-web
788c9c9505b6fd12d591345b23053e934f1022d1
[ "Apache-2.0" ]
null
null
null
api/lib/worker/index_adapter.ex
lucas-angermann/idai-field-web
788c9c9505b6fd12d591345b23053e934f1022d1
[ "Apache-2.0" ]
null
null
null
defmodule Api.Worker.IndexAdapter do require Logger alias Api.Core.Config defguard is_ok(status_code) when status_code >= 200 and status_code < 300 defguard is_error(status_code) when status_code >= 400 @doc """ Indexes a single document """ def process(project, index), do: fn change -> process(chang...
32.414508
118
0.640825
734975e2bfe66e89a0ea40e45437eceac1b748f4
791
ex
Elixir
lib/robocar/application.ex
adampointer/robocar-elixir
42ae904325f6165174275c4650f6ed6a7c7b5410
[ "MIT" ]
null
null
null
lib/robocar/application.ex
adampointer/robocar-elixir
42ae904325f6165174275c4650f6ed6a7c7b5410
[ "MIT" ]
null
null
null
lib/robocar/application.ex
adampointer/robocar-elixir
42ae904325f6165174275c4650f6ed6a7c7b5410
[ "MIT" ]
null
null
null
defmodule RoboCar.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 = [ RoboCarWeb.Telemetry, {Phoenix.PubSub, name: RoboCar.PubSub}, RoboCarWeb.Endpoint, ...
26.366667
61
0.714286
7349a2671d9dfd958ca54ff4ed10a29c40477d63
212
ex
Elixir
sample_app/lib/my_app_web/meta.ex
smanolloff/phoenix_params
90ce2f08b04db11a267ddadbf72bb645ceac275f
[ "MIT" ]
15
2018-09-05T13:36:40.000Z
2021-03-18T15:00:12.000Z
sample_app/lib/my_app_web/meta.ex
smanolloff/phoenix_params
90ce2f08b04db11a267ddadbf72bb645ceac275f
[ "MIT" ]
null
null
null
sample_app/lib/my_app_web/meta.ex
smanolloff/phoenix_params
90ce2f08b04db11a267ddadbf72bb645ceac275f
[ "MIT" ]
1
2018-11-15T09:33:53.000Z
2018-11-15T09:33:53.000Z
defmodule PhoenixParams.Meta do defstruct error_view: nil, key_type: nil, typedefs: nil, paramdefs: nil, global_validators: nil, param_names: nil end
23.555556
35
0.570755
7349b46840cc2f9da8da0a08ad8c47248bd7e176
1,975
exs
Elixir
test/controllers/page_controller_test.exs
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
11
2017-07-10T10:13:42.000Z
2021-12-19T16:46:20.000Z
test/controllers/page_controller_test.exs
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
null
null
null
test/controllers/page_controller_test.exs
okbreathe/quasar
58449a190aefde36aa83e5b1f3116f458ced7c09
[ "Apache-2.0" ]
3
2017-07-18T20:03:34.000Z
2019-07-28T13:32:49.000Z
defmodule Quasar.PageControllerTest do use Quasar.ConnCase alias Quasar.Page @valid_attrs %{} @invalid_attrs %{} setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end test "lists all entries on index", %{conn: conn} do conn = get conn, page_path(conn, :index...
32.916667
98
0.662785
7349cc1e405649f9029ab1ee6d3ff112322f59fd
291
exs
Elixir
priv/repo/migrations/20210331021358_create_orders_items_table.exs
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
1
2021-09-27T06:15:08.000Z
2021-09-27T06:15:08.000Z
priv/repo/migrations/20210331021358_create_orders_items_table.exs
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
null
null
null
priv/repo/migrations/20210331021358_create_orders_items_table.exs
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
1
2021-12-21T12:47:59.000Z
2021-12-21T12:47:59.000Z
defmodule Rockelivery.Repo.Migrations.CreateOrdersItemsTable do use Ecto.Migration def change do create table(:orders_items, primary_key: false) do add :item_id, references(:items, type: :binary_id) add :order_id, references(:orders, type: :binary_id) end end end
26.454545
63
0.731959
7349f07c9e2c711d795341a7de982665f75c7d0d
1,084
exs
Elixir
mix.exs
LostKobrakai/inch_ex
714bb76ede1c1b529c3269d02e96c31188e69758
[ "MIT" ]
null
null
null
mix.exs
LostKobrakai/inch_ex
714bb76ede1c1b529c3269d02e96c31188e69758
[ "MIT" ]
null
null
null
mix.exs
LostKobrakai/inch_ex
714bb76ede1c1b529c3269d02e96c31188e69758
[ "MIT" ]
null
null
null
defmodule InchEx.Mixfile do use Mix.Project def project do [ app: :inch_ex, version: "2.0.0-rc1", elixir: "~> 1.7.0-dev", description: "Provides a Mix task that gives you hints where to improve your inline docs", source_url: "https://github.com/rrrene/inch_ex", package: [ ...
23.565217
96
0.559963
734a3664ffe457d97724d62f60be8f25ffef783a
1,293
ex
Elixir
kousa/lib/broth/message/user/get_following.ex
samyadel/dogehouse
c9daffbfe81a7488093b07f3f9a274a062dde801
[ "MIT" ]
2
2021-05-01T16:57:50.000Z
2021-07-07T22:01:14.000Z
kousa/lib/broth/message/user/get_following.ex
32Bites/dogehouse
ac70ced30a7f967979715a98a47ea2ac92f3344d
[ "MIT" ]
null
null
null
kousa/lib/broth/message/user/get_following.ex
32Bites/dogehouse
ac70ced30a7f967979715a98a47ea2ac92f3344d
[ "MIT" ]
null
null
null
defmodule Broth.Message.User.GetFollowing do use Broth.Message.Call @primary_key false embedded_schema do field(:username, :string) field(:cursor, :integer, default: 0) field(:limit, :integer, default: 100) end def changeset(initializer \\ %__MODULE__{}, data) do initializer |> cast(data...
25.352941
95
0.639598
734a41d93fea615fd1a6021f606db9cf0b38af30
1,989
ex
Elixir
apps/artemis_web/lib/artemis_web/live/summary_data_centers_map_live.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_web/lib/artemis_web/live/summary_data_centers_map_live.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/lib/artemis_web/live/summary_data_centers_map_live.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-04-10T13:34:15.000Z
2019-05-17T02:42:24.000Z
defmodule ArtemisWeb.SummaryDataCentersMapLive do use ArtemisWeb.LiveView # LiveView Callbacks @impl true def mount(_params, session, socket) do broadcast_topic = Artemis.CacheEvent.get_broadcast_topic() assigns = socket |> assign(:data, []) |> assign(:id, session["id"]) |> as...
23.678571
93
0.657114
734a72579ea411e3d38286890b0e4329fa0a288c
4,961
exs
Elixir
test/langs/brainfuck/brainfuck_test.exs
Arvid-L/Esolix
b600b10c82433d737af046775582f5232a7e27f5
[ "MIT" ]
null
null
null
test/langs/brainfuck/brainfuck_test.exs
Arvid-L/Esolix
b600b10c82433d737af046775582f5232a7e27f5
[ "MIT" ]
null
null
null
test/langs/brainfuck/brainfuck_test.exs
Arvid-L/Esolix
b600b10c82433d737af046775582f5232a7e27f5
[ "MIT" ]
null
null
null
defmodule Esolix.Langs.BrainfuckTest do use ExUnit.Case, async: true import ExUnit.CaptureIO alias Esolix.Langs.Brainfuck describe "eval/3" do test "Example code should print \"Hello World!\"" do assert Brainfuck.eval("++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++...
38.757813
157
0.350333
734a889e50c6d418a4bbb46e25e645e4c94aeb2c
86
exs
Elixir
test/lv_template_web/views/page_view_test.exs
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
test/lv_template_web/views/page_view_test.exs
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
test/lv_template_web/views/page_view_test.exs
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
defmodule LvTemplateWeb.PageViewTest do use LvTemplateWeb.ConnCase, async: true end
21.5
41
0.837209
734ada13af95f6392480d41825f778dad06afd09
23,087
ex
Elixir
apps/language_server/lib/language_server/server.ex
hauleth/elixir-ls
5bf39b8ac617074ed019ace26fa7fad25bbbd1ce
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
hauleth/elixir-ls
5bf39b8ac617074ed019ace26fa7fad25bbbd1ce
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/server.ex
hauleth/elixir-ls
5bf39b8ac617074ed019ace26fa7fad25bbbd1ce
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Server do @moduledoc """ Language Server Protocol server This server tracks open files, attempts to rebuild the project when a file changes, and handles requests from the IDE (for things like autocompletion, hover, etc.) Notifications from the IDE are handled synchronously,...
28.052248
100
0.646035
734b1b03b523636ae991df28e277c8f75fccf557
538
ex
Elixir
lib/events_tools/venues/hall.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
lib/events_tools/venues/hall.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
6
2017-10-05T20:16:34.000Z
2017-10-05T20:36:11.000Z
lib/events_tools/venues/hall.ex
apps-team/events-tools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
defmodule EventsTools.Venues.Hall do use Ecto.Schema import Ecto.Changeset alias EventsTools.Venues.Hall schema "halls" do field :name, :string belongs_to :building, EventsTools.Venues.Building # this was added has_many :hall_room_plans, EventsTools.Venues.Hall_Room_Plan # this was added has...
22.416667
82
0.700743
734b2ed7f995dfce71f042ad5953d274b780bf44
1,422
exs
Elixir
mix.exs
keichan34/webpay
49c8f5df78016632d90e7cdbfc63f34d46c26b1c
[ "MIT" ]
1
2016-05-15T14:09:18.000Z
2016-05-15T14:09:18.000Z
mix.exs
keichan34/webpay
49c8f5df78016632d90e7cdbfc63f34d46c26b1c
[ "MIT" ]
null
null
null
mix.exs
keichan34/webpay
49c8f5df78016632d90e7cdbfc63f34d46c26b1c
[ "MIT" ]
null
null
null
defmodule Webpay.Mixfile do use Mix.Project def project do [ app: :webpay, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, elixirc_paths: elixirc_paths(Mix.env), source_url: "https://github.com/keichan34/webpay",...
21.223881
60
0.548523
734b348e3ac022b63a87c7fc91cc72b6f8b14e50
206
exs
Elixir
test/iex_line_bot_web/controllers/page_controller_test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
1
2019-06-24T23:55:26.000Z
2019-06-24T23:55:26.000Z
test/iex_line_bot_web/controllers/page_controller_test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
test/iex_line_bot_web/controllers/page_controller_test.exs
pastleo/iex_line_bot
73d02b45adc05bc7331fa5f88859861d04a2e71f
[ "MIT" ]
null
null
null
defmodule IexLineBotWeb.PageControllerTest do use IexLineBotWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.888889
60
0.68932
734b4724e6c80e595422986f1e2569cd1e715134
3,377
exs
Elixir
test/trento/application/integration/discovery/discovery_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
test/trento/application/integration/discovery/discovery_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
test/trento/application/integration/discovery/discovery_test.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.Integration.DiscoveryTest do use ExUnit.Case use Trento.DataCase import Trento.Factory alias Trento.Integration.Discovery alias Trento.Integration.Discovery.{ DiscardedDiscoveryEvent, DiscoveryEvent } test "should retrieve the current set of discovery events" do agent_id_1...
25.976923
79
0.624815
734b4e6c2224f1aee6077132bee7a96d9a399a05
2,806
ex
Elixir
lib/ecto_job/worker.ex
mbuhot/ecto_job
0d02d33e354df66a1f27a030edd6c37a8a96d1ef
[ "MIT" ]
268
2017-08-15T12:55:41.000Z
2022-03-20T22:42:18.000Z
lib/ecto_job/worker.ex
mbuhot/ecto_job
0d02d33e354df66a1f27a030edd6c37a8a96d1ef
[ "MIT" ]
52
2018-01-15T20:47:54.000Z
2021-12-24T06:13:55.000Z
lib/ecto_job/worker.ex
mbuhot/ecto_job
0d02d33e354df66a1f27a030edd6c37a8a96d1ef
[ "MIT" ]
38
2018-01-08T12:26:19.000Z
2021-06-01T12:41:09.000Z
defmodule EctoJob.Worker do @moduledoc """ Worker module responsible for executing a single Job. """ alias EctoJob.{Config, JobQueue} require Logger @type repo :: module @doc """ Equivalent to `start_link(config, job, DateTime.utc_now())`. """ @spec start_link(Config.t(), EctoJob.JobQueue.job()) :...
33.807229
97
0.64861
734b5c97f2ce8499048026b744e237a89a8228f0
1,056
exs
Elixir
mix.exs
cas27/ex_taxjar
507d474dbd7e72a21b2e14194b39170b535913bc
[ "MIT" ]
6
2018-04-13T17:50:57.000Z
2019-09-08T01:25:56.000Z
mix.exs
cas27/ex_taxjar
507d474dbd7e72a21b2e14194b39170b535913bc
[ "MIT" ]
null
null
null
mix.exs
cas27/ex_taxjar
507d474dbd7e72a21b2e14194b39170b535913bc
[ "MIT" ]
1
2021-06-24T20:11:16.000Z
2021-06-24T20:11:16.000Z
defmodule ExTaxjar.MixProject do use Mix.Project def project do [ app: :ex_taxjar, version: "0.5.0", elixir: "~> 1.6", name: "ExTaxjar", description: description(), package: package(), start_permanent: Mix.env() == :prod, preferred_cli_env: [ vcr: :test, ...
20.307692
64
0.536932
734b5d02cf31ee826cdf097f9a8043a9b5437e2e
167,481
ex
Elixir
lib/elixir/lib/kernel.ex
dwellmind/elixir
0a248debe36ffc4a2e3626b3c5a8498e0cfb753c
[ "Apache-2.0" ]
4
2019-03-04T10:05:55.000Z
2019-03-06T17:30:59.000Z
lib/elixir/lib/kernel.ex
dwellmind/elixir
0a248debe36ffc4a2e3626b3c5a8498e0cfb753c
[ "Apache-2.0" ]
5
2015-02-07T14:46:40.000Z
2020-09-20T16:43:42.000Z
lib/elixir/lib/kernel.ex
dwellmind/elixir
0a248debe36ffc4a2e3626b3c5a8498e0cfb753c
[ "Apache-2.0" ]
2
2018-04-03T08:57:41.000Z
2019-03-04T08:20:04.000Z
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
27.065449
116
0.633069
734b77169a02b77f1cc580e3d8a4770beddb1347
1,147
exs
Elixir
config/config.exs
danielgrieve/plug_media_type_router
30144c4977af8f0718b22e0fa463a18447eb47a0
[ "MIT" ]
1
2019-04-13T10:01:07.000Z
2019-04-13T10:01:07.000Z
config/config.exs
danielgrieve/plug_media_type_router
30144c4977af8f0718b22e0fa463a18447eb47a0
[ "MIT" ]
null
null
null
config/config.exs
danielgrieve/plug_media_type_router
30144c4977af8f0718b22e0fa463a18447eb47a0
[ "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
73
0.757629
734b7f5488bd2d9c0d7839e5eea67ad8308af0ad
1,650
ex
Elixir
lib/ed_explorer/web/web.ex
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "MIT" ]
1
2020-01-26T18:07:51.000Z
2020-01-26T18:07:51.000Z
lib/ed_explorer/web/web.ex
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "MIT" ]
null
null
null
lib/ed_explorer/web/web.ex
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "MIT" ]
null
null
null
defmodule EdExplorer.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use EdExplorer.Web, :controller use EdExplorer.Web, :view The definitions below will be executed for every view, controller, etc, so keep...
23.571429
88
0.686061
734b8254224741830818b96618bcbafa68110400
27,285
ex
Elixir
deps/socket/lib/socket/web.ex
mahcinek/concurrency
55fcee4e5be6be3505dc4512ae8b091844e6a14f
[ "MIT" ]
1
2017-05-19T09:32:08.000Z
2017-05-19T09:32:08.000Z
deps/socket/lib/socket/web.ex
mahcinek/concurrency
55fcee4e5be6be3505dc4512ae8b091844e6a14f
[ "MIT" ]
null
null
null
deps/socket/lib/socket/web.ex
mahcinek/concurrency
55fcee4e5be6be3505dc4512ae8b091844e6a14f
[ "MIT" ]
null
null
null
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE # Version 2, December 2004 # # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE # TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION # # 0. You just DO WHAT THE FUCK YOU WANT TO. defmodule Socket.Web do @moduledoc ~S"""...
28.570681
140
0.558659
734b89ccd8784c143b8b059858b38e3d5de93d92
8,650
ex
Elixir
deps/phoenix_ecto/lib/phoenix_ecto/html.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix_ecto/lib/phoenix_ecto/html.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix_ecto/lib/phoenix_ecto/html.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Phoenix.HTML) do defimpl Phoenix.HTML.FormData, for: Ecto.Changeset do def to_form(changeset, opts) do %{params: params, data: data} = changeset {name, opts} = Keyword.pop(opts, :as) name = to_string(name || form_for_name(data)) %Phoenix.HTML.Form{ source: c...
33.269231
113
0.578844
734b8a8b8ad60465d7205e598569ab0a42057a8f
1,381
ex
Elixir
lib/phx_chirp_web/router.ex
dannyh79/15m_phx_twitter
b8639c12e8f01eb46dab4f82600854e13fa1ecdc
[ "MIT" ]
null
null
null
lib/phx_chirp_web/router.ex
dannyh79/15m_phx_twitter
b8639c12e8f01eb46dab4f82600854e13fa1ecdc
[ "MIT" ]
10
2020-05-19T14:13:34.000Z
2021-06-13T13:16:43.000Z
lib/phx_chirp_web/router.ex
dannyh79/15m_phx_twitter
b8639c12e8f01eb46dab4f82600854e13fa1ecdc
[ "MIT" ]
1
2020-05-19T13:37:01.000Z
2020-05-19T13:37:01.000Z
defmodule PhxChirpWeb.Router do use PhxChirpWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {PhxChirpWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do p...
27.078431
70
0.690804
734b93fed4222babfd9d985c04dcf4e08da9a228
2,236
ex
Elixir
clients/content/lib/google_api/content/v2/model/shipping_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/shipping_settings.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/shipping_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...
42.188679
191
0.737478
734b9fd397771468e2a6c57a3603876acf9661fe
454
exs
Elixir
deps/poolboy/package.exs
mafei198/game_server
df4a2975fe53f0dc768e1a9b5a4e6e955263f90d
[ "MIT" ]
24
2015-01-25T16:31:03.000Z
2020-03-15T12:16:26.000Z
package.exs
soundrop/poolboy
5223d6489538150025abb43569b934a54580b22e
[ "Apache-2.0", "Unlicense" ]
1
2015-07-02T07:42:42.000Z
2015-07-10T16:36:26.000Z
package.exs
soundrop/poolboy
5223d6489538150025abb43569b934a54580b22e
[ "Apache-2.0", "Unlicense" ]
10
2015-01-25T16:32:09.000Z
2021-06-23T06:24:40.000Z
version = String.strip(File.read!("VERSION")) Expm.Package.new( name: "poolboy", description: "A hunky Erlang worker pool factory", homepage: "http://devintorr.es/poolboy", version: version, keywords: %w(Erlang library pool pools pooler), maintainers: [[name: "Devin Torres", email: "devin@devintorr.es"], ...
34.923077
72
0.676211
734c11c64537714b3e858ef83e6e6129909333e7
775
ex
Elixir
test/support/channel_case.ex
s6o/elmverse
3e5c732a09f5e7f456286487e84d711672239529
[ "MIT" ]
null
null
null
test/support/channel_case.ex
s6o/elmverse
3e5c732a09f5e7f456286487e84d711672239529
[ "MIT" ]
3
2021-03-09T01:27:03.000Z
2022-02-10T17:08:49.000Z
test/support/channel_case.ex
s6o/elmverse
3e5c732a09f5e7f456286487e84d711672239529
[ "MIT" ]
null
null
null
defmodule ElmverseWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts ...
24.21875
59
0.727742
734c367e6cd7f8745a6ebeade6184a9f1b543fa0
767
exs
Elixir
cli_client/krcli/test/board_test.exs
t6n/Komorebi
70b0b864af3d25dda9bf42482cf3648e3d0c2e7e
[ "MIT" ]
2
2016-07-12T09:30:41.000Z
2017-01-15T10:25:02.000Z
cli_client/krcli/test/board_test.exs
t6n/Komorebi
70b0b864af3d25dda9bf42482cf3648e3d0c2e7e
[ "MIT" ]
35
2016-07-11T09:55:36.000Z
2018-08-30T07:57:28.000Z
cli_client/krcli/test/board_test.exs
t6n/Komorebi
70b0b864af3d25dda9bf42482cf3648e3d0c2e7e
[ "MIT" ]
4
2016-06-30T06:59:51.000Z
2018-04-26T08:29:46.000Z
defmodule BoardTest do use ExUnit.Case, async: true doctest Krcli.Board test "Should create board from json" do json = File.read("test_data/board_test.json") assert {:ok, board} = Krcli.Board.parse(json) assert board.name == "The ultimate board" assert length(board.columns) == 3 assert board....
31.958333
73
0.636245
734c3bee8a0043b1208770a40f91d5a0af9b5958
1,930
exs
Elixir
mix.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
3
2016-12-20T17:16:39.000Z
2017-02-22T11:06:56.000Z
mix.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
1
2017-05-31T16:32:41.000Z
2017-05-31T16:32:41.000Z
mix.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
null
null
null
defmodule BigSnips.Mixfile do use Mix.Project def project do [app: :big_snips, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, ali...
31.129032
102
0.586528
734c5da3c1f9e334b253dda0c4d05a834170ab5b
8,813
ex
Elixir
lib/ecto/query/builder/join.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder/join.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder/join.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [apply: 2] defmodule Ecto.Query.Builder.Join do @moduledoc false alias Ecto.Query.Builder alias Ecto.Query.{JoinExpr, QueryExpr} @doc """ Escapes a join expression (not including the `on` expression). It returns a tuple containing the binds, the on expression (if available) and ...
33.766284
111
0.611823
734c7b3dd524bc01d34b55f0faf3edf4aeca7cc2
902
ex
Elixir
lib/zoho/accounts.ex
wyattbenno777/Zoho-elixir
6be80727fc2dd0f6b4f185e4047ca61e27e20b5e
[ "MIT" ]
null
null
null
lib/zoho/accounts.ex
wyattbenno777/Zoho-elixir
6be80727fc2dd0f6b4f185e4047ca61e27e20b5e
[ "MIT" ]
null
null
null
lib/zoho/accounts.ex
wyattbenno777/Zoho-elixir
6be80727fc2dd0f6b4f185e4047ca61e27e20b5e
[ "MIT" ]
null
null
null
defmodule Zoho.Accounts do @loc "Accounts" @resource Zoho.Account use Zoho.Resource #get example map for Accounts post def get_example do example = %{"Account Name": "Zillum", "Website": "www.zillum.com", "Employees": "200", "Ownership": "Private", "Industry": "testing@testing.c...
23.128205
104
0.570953
734cd8466d73892d3c3b88c4573ee7d524ddb2d9
468
exs
Elixir
test/livebook_test.exs
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
1,846
2021-04-13T14:46:36.000Z
2021-07-14T20:37:40.000Z
test/livebook_test.exs
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
411
2021-07-15T07:41:54.000Z
2022-03-31T21:34:22.000Z
test/livebook_test.exs
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
130
2021-04-13T15:43:55.000Z
2021-07-12T16:57:46.000Z
defmodule LivebookTest do use ExUnit.Case, async: true test "live_markdown_to_elixir/1" do markdown = """ # Lists ## Introduction Let's generate a list of numbers: ```elixir Enum.to_list(1..10) ``` """ assert Livebook.live_markdown_to_elixir(markdown) == """ # Tit...
16.714286
60
0.553419
734cee7fd4e6a717c6eef358e7722c54abb75844
1,468
ex
Elixir
lib/db_connection/query.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
227
2016-06-16T13:56:02.000Z
2022-03-09T23:03:58.000Z
lib/db_connection/query.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
198
2016-06-20T08:08:15.000Z
2022-03-06T17:54:37.000Z
deps/db_connection/lib/db_connection/query.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
110
2016-06-20T03:50:39.000Z
2022-03-03T20:53:01.000Z
defprotocol DBConnection.Query do @moduledoc """ The `DBConnection.Query` protocol is responsible for preparing and encoding queries. All `DBConnection.Query` functions are executed in the caller process which means it's safe to, for example, raise exceptions or do blocking calls as they won't affect the c...
25.310345
77
0.707766
734cfba63045aa4221c0944e086b2f26497ce21d
423
ex
Elixir
lib/hound/helpers.ex
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
1
2015-07-08T04:32:02.000Z
2015-07-08T04:32:02.000Z
lib/hound/helpers.ex
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
null
null
null
lib/hound/helpers.ex
knewter/hound
49ca7d71f7fb0d9a9de14afa86ca1a1fe5ae1278
[ "MIT" ]
null
null
null
defmodule Hound.Helpers do @moduledoc false defmacro __using__([]) do {:ok, driver} = Hound.get_driver_info quote do use unquote(driver[:type]) import unquote(__MODULE__) import Hound end end defmacro hound_session do quote do setup do Hound.start_session ...
14.586207
41
0.593381
734d04e37fb8580efe85053e60dd69d18fd630f5
2,222
ex
Elixir
web/controllers/attraction_controller.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
web/controllers/attraction_controller.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
web/controllers/attraction_controller.ex
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
defmodule Yonder.AttractionController do use Yonder.Web, :controller alias Yonder.Attraction plug :scrub_params, "attraction" when action in [:create, :update] def index(conn, _params) do attractions = Repo.all(Attraction) render(conn, "index.html", attractions: attractions) end def map(conn, _p...
30.438356
79
0.664266
734d147adbecd02e85c6c8390d8a8f504d220c7f
11,779
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/provider_auth/transaction_request_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/provider_auth/transaction_request_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/provider_auth/transaction_request_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.ProviderAuth.TransactionRequestControllerTest do use AdminAPI.ConnCase, async: true alias EWalletDB.{Repo, TransactionRequest, User, Account, AccountUser} alias EWallet.Web.{Date, V1.TokenSerializer, V1.UserSerializer} describe "/transaction_request.all" do setup do user = get_t...
33.087079
93
0.504712
734d2b347a8b9e73afc39404318a0f457e6f0a0e
1,214
ex
Elixir
lib/wasabi_ex/helper.ex
goodhamgupta/wasabi_ex
77e5e955aaf6be8cd1e1357cf681c6dc58afc258
[ "Apache-2.0" ]
null
null
null
lib/wasabi_ex/helper.ex
goodhamgupta/wasabi_ex
77e5e955aaf6be8cd1e1357cf681c6dc58afc258
[ "Apache-2.0" ]
null
null
null
lib/wasabi_ex/helper.ex
goodhamgupta/wasabi_ex
77e5e955aaf6be8cd1e1357cf681c6dc58afc258
[ "Apache-2.0" ]
null
null
null
defmodule WasabiEx.Helper do alias WasabiEx.{Request, Response, Errors} def make_request(token, url, params, :get) do headers = get_headers(token) with {:ok, response} <- Request.get(url, params, headers), {:ok, body} <- Response.parse(response) do {:ok, body} else {:error, error}...
25.291667
65
0.612026
734d32d992996c8ff5e252374f4976efb6c3ecf2
1,839
ex
Elixir
lib/radixir/gateway/request/get_transaction_status.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
16
2022-01-05T20:41:55.000Z
2022-03-25T09:06:43.000Z
lib/radixir/gateway/request/get_transaction_status.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
null
null
null
lib/radixir/gateway/request/get_transaction_status.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
1
2022-02-10T21:55:26.000Z
2022-02-10T21:55:26.000Z
defmodule Radixir.Gateway.Request.GetTransactionStatus do @moduledoc false # @moduledoc """ # Methods to create each map in `GetTransactionStatus` request body. # """ alias Radixir.StitchPlan @type stitch_plans :: list(keyword) @type params :: keyword @doc """ Generates stitch plan for `network_iden...
39.12766
138
0.716694
734d89f02230c26c1ad6e0e30a5a8f6a88be150b
1,511
exs
Elixir
mix.exs
crertel/statisaur
4c70aba7c04be2ad06432124ac5dc76094170ff1
[ "Unlicense" ]
3
2020-08-19T10:19:42.000Z
2021-01-28T08:19:09.000Z
mix.exs
crertel/statisaur
4c70aba7c04be2ad06432124ac5dc76094170ff1
[ "Unlicense" ]
null
null
null
mix.exs
crertel/statisaur
4c70aba7c04be2ad06432124ac5dc76094170ff1
[ "Unlicense" ]
null
null
null
defmodule Statisaur.Mixfile do use Mix.Project def project do [ app: :statisaur, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, package: package(), docs: &docs/...
24.770492
82
0.572469
734d90bf6d0f2c98b79823098bb1bdee3c15b9ac
2,616
ex
Elixir
lib/elixir/lib/behaviour.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/lib/behaviour.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/behaviour.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule Behaviour do @moduledoc """ This module has been deprecated. Instead of `defcallback`, one can simply use `@callback`. Instead of `defmacrocallback`, one can simply use `@macrocallback`. Instead of `__behaviour__(:callbacks)`, one can simply use `behaviour_info(:callbacks)`. """ # TODO: Deprec...
25.90099
95
0.633028
734d92d656c994cbd36221794f79a01e1fe77a9f
572
exs
Elixir
tab_player/mix.exs
alpdenizz/ElixirPlayground
58b5a16c489058e0067e4811042d96fe6a5f8d59
[ "MIT" ]
null
null
null
tab_player/mix.exs
alpdenizz/ElixirPlayground
58b5a16c489058e0067e4811042d96fe6a5f8d59
[ "MIT" ]
null
null
null
tab_player/mix.exs
alpdenizz/ElixirPlayground
58b5a16c489058e0067e4811042d96fe6a5f8d59
[ "MIT" ]
null
null
null
defmodule TabPlayer.Mixfile do use Mix.Project def project do [ app: :tab_player, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_app...
19.724138
88
0.578671
734da78a7e7a3f4b24bf36d724b26e2caa139ec9
2,556
ex
Elixir
lib/retrospectivex/accounts/managers/administrator.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
lib/retrospectivex/accounts/managers/administrator.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
lib/retrospectivex/accounts/managers/administrator.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
defmodule Retrospectivex.Accounts.Managers.Administrator do import Ecto.Query, warn: false alias Retrospectivex.Accounts.Queries.Administrator, as: Query alias Retrospectivex.Accounts.Schemas.Administrator alias Retrospectivex.Repo @doc """ Returns the list of administrators. ## Examples iex> li...
20.95082
70
0.669405
734db7f56c87b84c8b724d1a95a30b86b2bb296a
128
exs
Elixir
test/test_helper.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
test/test_helper.exs
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
test/test_helper.exs
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
:ets.new(:seed_registry, [:named_table, :public]) Application.put_env(:faker, :random_module, Faker.Random.Test) ExUnit.start()
32
62
0.765625
734dc1976828460dd5e0d34e651180930fddfc6a
14,173
exs
Elixir
test/core/async_job/queue_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
test/core/async_job/queue_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
test/core/async_job/queue_test.exs
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. defmodule AntikytheraCore.AsyncJob.QueueTest do use Croma.TestCase alias Antikythera.{Time, Cron} alias Antikythera.Test.{GenServerHelper, AsyncJobHelper} alias AntikytheraCore.ExecutorPool alias AntikytheraCore.ExecutorPool.Setting, as: EPoolSet...
37.494709
122
0.653073
734dda4208e076c94898af6073b492dd0c31c884
905
exs
Elixir
test/ecto/poison_test.exs
jeregrine/ecto
98b2dd4bf7b39738ab9a5ae3fa7e48e43a4af39b
[ "Apache-2.0" ]
null
null
null
test/ecto/poison_test.exs
jeregrine/ecto
98b2dd4bf7b39738ab9a5ae3fa7e48e43a4af39b
[ "Apache-2.0" ]
null
null
null
test/ecto/poison_test.exs
jeregrine/ecto
98b2dd4bf7b39738ab9a5ae3fa7e48e43a4af39b
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.PoisonTest do use ExUnit.Case, async: true defmodule User do use Ecto.Schema embedded_schema do has_many :comments, Ecto.Comment end end test "encodes datetimes" do time = %Ecto.Time{hour: 1, min: 2, sec: 3} assert Poison.encode!(time) == ~s("01:02:03") date = %E...
25.857143
97
0.629834
734df4a447108cf3e946905ac7e5560929e0b964
585
exs
Elixir
config/config.exs
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
null
null
null
config/config.exs
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
null
null
null
config/config.exs
antonioparisi/yatapp-elixir
5d426dda3ec8b9222a7197951da32d6f90d75d83
[ "MIT" ]
null
null
null
use Mix.Config config :yatapp, api_key: System.get_env("YATA_API_KEY"), project_id: System.get_env("YATA_PROJECT_ID"), default_locale: "en", locales: ~w(en), otp_app: :yatapp, json_parser: Jason, store: Yatapp.Store.ETS, pluralizer: Yatapp.Pluralization.Base, download_on_start: true, save_to_path: ...
22.5
48
0.700855
734dfc8dc381f33ac458f0e7a4af4ba75cc36872
1,325
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/workers/call.ex
psinghal20/ockam
55c2787eb2392c919156c6dded9f31a5249541e1
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/workers/call.ex
psinghal20/ockam
55c2787eb2392c919156c6dded9f31a5249541e1
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/workers/call.ex
psinghal20/ockam
55c2787eb2392c919156c6dded9f31a5249541e1
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Workers.Call do @moduledoc """ One-off worker to perform a synchronous call to an Ockam worker using the routing protocol. """ use Ockam.Worker alias Ockam.Message require Logger def call(call, options \\ [], timeout \\ 10_000) do {:ok, address} = __MODULE__.create(Keyword.put(op...
21.721311
73
0.623396
734e02c39d167659692f7e85bf0740854af16f61
372
exs
Elixir
test/lib/types/json_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
test/lib/types/json_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
test/lib/types/json_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
defmodule Opencov.Types.JSONText do use ExUnit.Case import Opencov.Types.JSON @json String.trim(""" {"foo":"bar"} """) test "load" do assert load(@json) == {:ok, %{"foo" => "bar"}} assert {:error, _} = load("invalid_json") end test "dump" do assert dump(%{"foo" => "bar"}) == {:ok, @jso...
18.6
50
0.551075
734e0eb585d250d450d12c10a7ed44ab0997c353
1,901
ex
Elixir
clients/translate/lib/google_api/translate/v3/model/list_glossaries_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/translate/lib/google_api/translate/v3/model/list_glossaries_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/translate/lib/google_api/translate/v3/model/list_glossaries_response.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.02
253
0.741189
734e20e2425097a3a0f255b245be8880a17d0872
2,457
exs
Elixir
test/battle_box/user_test.exs
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
test/battle_box/user_test.exs
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
test/battle_box/user_test.exs
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBox.UserTest do use BattleBox.DataCase alias BattleBox.{User, Repo} setup do %{ user_from_github: %{ "id" => 1, "html_url" => "test.com", "login" => "GrantJamesPowell", "name" => "Grant Powell", "avatar_url" => "test-avatar.com", "access_t...
34.605634
96
0.646724
734e69bd06c4b8ac47b5429a293f833175c35d6d
550
exs
Elixir
priv/repo/migrations/20220219224136_create_voters.exs
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
priv/repo/migrations/20220219224136_create_voters.exs
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
priv/repo/migrations/20220219224136_create_voters.exs
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
defmodule Election.Repo.Migrations.CreateVoters do use Ecto.Migration def change do create table(:voters) do add :first, :string add :middle, :string add :last, :string add :street, :string add :city, :string add :county, :string add :precinct, :string add :v_201...
27.5
56
0.636364
734e932cfbb4aeaac36c77232b66344dedca4bf2
2,891
ex
Elixir
lib/formatter.ex
cowile/scribe
75334daf0f1fd24ba92bceef67b4cb6e1e2c4f37
[ "MIT" ]
253
2016-08-13T21:47:42.000Z
2022-01-18T06:53:28.000Z
lib/formatter.ex
cowile/scribe
75334daf0f1fd24ba92bceef67b4cb6e1e2c4f37
[ "MIT" ]
15
2017-02-18T18:00:15.000Z
2022-01-30T15:48:08.000Z
lib/formatter.ex
cowile/scribe
75334daf0f1fd24ba92bceef67b4cb6e1e2c4f37
[ "MIT" ]
11
2016-12-23T08:21:36.000Z
2021-12-31T21:03:26.000Z
defmodule Scribe.Formatter.Index do @moduledoc false defstruct row: 0, row_max: 0, col: 0, col_max: 0 end defmodule Scribe.Formatter.Line do @moduledoc false defstruct data: [], widths: [], style: nil, opts: [], index: nil alias Scribe.Formatter.{Index, Line} def format(%Line{index: %Index{row: 0}} = lin...
26.768519
78
0.603597
734e9d278fc05fd5084028b0d1d629963a6bd7c2
14,155
exs
Elixir
test/phoenix/controller/controller_test.exs
manukall/phoenix
5ce19ebb63b1b31e37da5fe6465edb6c4850772e
[ "MIT" ]
1
2019-06-11T20:22:21.000Z
2019-06-11T20:22:21.000Z
test/phoenix/controller/controller_test.exs
DavidAlphaFox/phoenix
560131ab3b48c6b6cf864a3d20b7667e40990237
[ "MIT" ]
null
null
null
test/phoenix/controller/controller_test.exs
DavidAlphaFox/phoenix
560131ab3b48c6b6cf864a3d20b7667e40990237
[ "MIT" ]
null
null
null
defmodule Phoenix.Controller.ControllerTest do use ExUnit.Case, async: true use RouterHelper import Phoenix.Controller alias Plug.Conn setup do Logger.disable(self) :ok end defp get_resp_content_type(conn) do [header] = get_resp_header(conn, "content-type") header |> String.split(";") ...
32.995338
103
0.639774
734ea473ced978ff556c4bd1ff22815e6a186aef
272
ex
Elixir
lib/ecto_crdt_types/types/state/gmap.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
8
2018-09-20T13:05:16.000Z
2021-09-22T08:40:40.000Z
lib/ecto_crdt_types/types/state/gmap.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
lib/ecto_crdt_types/types/state/gmap.ex
ExpressApp/ecto_crdt_types
cf18557cf888b3d50a44640997507cff6caf2b93
[ "MIT" ]
null
null
null
defmodule EctoCrdtTypes.Types.State.GMap do @moduledoc """ GMap CRDT: grow only map. Modeled as a dictionary where keys can be anything and the values are join-semilattices. """ @crdt_type :state_gmap @crdt_value_type :map use EctoCrdtTypes.Types.CRDT end
24.727273
60
0.75
734ee661d62020643ea87fc6fb1fe8a94f7109a7
69,987
exs
Elixir
test/ecto/changeset_test.exs
esl-ktec/ecto
93173a223a8bb61bce652c17484535f13c3c10bb
[ "Apache-2.0" ]
null
null
null
test/ecto/changeset_test.exs
esl-ktec/ecto
93173a223a8bb61bce652c17484535f13c3c10bb
[ "Apache-2.0" ]
null
null
null
test/ecto/changeset_test.exs
esl-ktec/ecto
93173a223a8bb61bce652c17484535f13c3c10bb
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.ChangesetTest do use ExUnit.Case, async: true import Ecto.Changeset defmodule SocialSource do use Ecto.Schema @primary_key false embedded_schema do field :origin field :url end def changeset(schema \\ %SocialSource{}, params) do cast(schema, params, ~w(origi...
38.349041
167
0.634646
734eecb649f13e98b6b927eb4220b79aa3cd4eb3
619
exs
Elixir
test/slackerton_chat/middlewares/mute_test.exs
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
1
2022-02-19T17:49:37.000Z
2022-02-19T17:49:37.000Z
test/slackerton_chat/middlewares/mute_test.exs
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
4
2018-07-14T16:30:17.000Z
2022-02-10T16:23:23.000Z
test/slackerton_chat/middlewares/mute_test.exs
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
null
null
null
defmodule SlackertonChat.Middleware.MutedTest do use ExUnit.Case alias SlackertonChat.Middleware.Muted test "it does not set muted on private if the user is muted" do msg = %{user: %{ id: "test", team: "team" }, private: %{} } state = %{ opts: [team: "test"]} assert Muted.call(msg, state) == { :next,...
32.578947
65
0.605816
734f1a45299cab4800661de8dc6aa4f351a19064
1,059
ex
Elixir
lib/os/configurator/fake_network_layer.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
lib/os/configurator/fake_network_layer.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
lib/os/configurator/fake_network_layer.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotOS.Configurator.FakeNetworkLayer do @moduledoc """ stub Configurator network layer """ @behaviour FarmbotOS.Configurator.NetworkLayer @impl FarmbotOS.Configurator.NetworkLayer def list_interfaces() do [ {"eth0", %{mac_address: "not real lol"}}, {"wlan0", %{mac_address: "ev...
20.365385
53
0.510859
734f5e4b95f38bd7dec5ac6c00ab4799708975b8
2,733
exs
Elixir
mix.exs
gissandrogama/blog
fedd7fbf908b11d651debdac2a040128a50ecd2f
[ "MIT" ]
null
null
null
mix.exs
gissandrogama/blog
fedd7fbf908b11d651debdac2a040128a50ecd2f
[ "MIT" ]
17
2021-04-22T00:58:05.000Z
2021-09-26T04:03:12.000Z
mix.exs
gissandrogama/blog
fedd7fbf908b11d651debdac2a040128a50ecd2f
[ "MIT" ]
null
null
null
defmodule Blog.MixProject do use Mix.Project @github_url "github.com:gissandrogama/blog.git" def project do [ app: :blog, version: "0.1.0", elixir: "~> 1.11", description: "projects to learn fundamentals in elixir and settings important", source_url: @github_url, homepage...
28.768421
85
0.564215
734f799f895b23080f9277473051ef0186fdeafe
82
exs
Elixir
test/ambrosia_web/views/page_view_test.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
2
2020-05-25T05:28:31.000Z
2020-05-25T08:10:43.000Z
test/ambrosia_web/views/page_view_test.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
9
2020-05-25T16:39:15.000Z
2020-11-11T16:51:37.000Z
test/ambrosia_web/views/page_view_test.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
null
null
null
defmodule AmbrosiaWeb.PageViewTest do use AmbrosiaWeb.ConnCase, async: true end
20.5
39
0.829268
734f7f4ed81798482d9df7ad2886d74b72b739aa
2,387
ex
Elixir
lib/pomaid/file_interface.ex
KTSCode/pomaid
9bb97f5cbffe7188dbcc19c86e2abc8c8237f485
[ "MIT" ]
1
2020-06-22T21:10:49.000Z
2020-06-22T21:10:49.000Z
lib/pomaid/file_interface.ex
KTSCode/pomaid
9bb97f5cbffe7188dbcc19c86e2abc8c8237f485
[ "MIT" ]
null
null
null
lib/pomaid/file_interface.ex
KTSCode/pomaid
9bb97f5cbffe7188dbcc19c86e2abc8c8237f485
[ "MIT" ]
null
null
null
defmodule Pomaid.FileInterface do @moduledoc """ File Interface: provides functions for reading and writing to files, specifically at todo.txt file and a done.txt file ! Warning ! many of the functions in this mondule contain side effects """ @doc "This function is pretty gross, try to think of a...
25.393617
109
0.55509
734fea0de4e0809f479b489164a0913fba9b00a4
2,141
ex
Elixir
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/model/custom_channels.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/model/custom_channels.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_seller/lib/google_api/ad_exchange_seller/v20/model/custom_channels.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 &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.561404
211
0.733302
735004ab3b648a2a55bac9131a6e8696393b5741
1,107
exs
Elixir
config/dev.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
config/dev.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
config/dev.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
use Mix.Config config :ex_venture, Data.Repo, adapter: Ecto.Adapters.Postgres, database: "ex_venture_dev", hostname: "localhost", pool_size: 10 config :ex_venture, Web.Endpoint, http: [port: 4000], debug_errors: true, code_reloader: true, check_origin: false, server: true, watchers: [ node: [ ...
21.288462
66
0.682023
7350288f4d265d6522c779c41117e35dfbc3f730
1,441
ex
Elixir
test/support/live_views/events.ex
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
test/support/live_views/events.ex
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
test/support/live_views/events.ex
ohr486/phoenix_live_view
14a3e5a993de7767e38117852707c6c1feb1d485
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.EventsLive do use Phoenix.LiveView, namespace: Phoenix.LiveViewTest def render(assigns) do ~L""" count: <%= @count %> """ end def mount(_params, _session, socket) do {:ok, assign(socket, events: [], count: 0)} end def handle_event("reply", %{"count" => new_c...
24.016667
97
0.657876
73503b182572808ae238bb0a7793f562aacd8706
1,820
ex
Elixir
lib/phoenix/pubsub/nats_conn.ex
netronixgroup/phoenix_pubsub_nats
6aec86fcc603f77c2fae3c0e9f1a543f6a5f375d
[ "MIT" ]
null
null
null
lib/phoenix/pubsub/nats_conn.ex
netronixgroup/phoenix_pubsub_nats
6aec86fcc603f77c2fae3c0e9f1a543f6a5f375d
[ "MIT" ]
null
null
null
lib/phoenix/pubsub/nats_conn.ex
netronixgroup/phoenix_pubsub_nats
6aec86fcc603f77c2fae3c0e9f1a543f6a5f375d
[ "MIT" ]
null
null
null
defmodule Phoenix.PubSub.NatsConn do use GenServer require Logger @reconnect_after_ms 500 @moduledoc """ Worker for pooled connections to NATS """ @doc """ Starts the server """ def start_link(opts) do GenServer.start_link(__MODULE__, opts) end def start_link(opts, name) do GenServer....
26.376812
83
0.647802
7350439a54da51022f3f79986e9cb0cc5bf40a8c
2,240
ex
Elixir
lib/brando/cache/query.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/cache/query.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/cache/query.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Cache.Query do @moduledoc """ Interactions with query cache """ @type changeset :: Ecto.Changeset.t() @cache_module Application.get_env(:brando, :cache_module, Cachex) @spec get(any) :: any def get(key) do case get_from_cache(key) do {:ok, val} -> val {:error, _} -> nil ...
28.717949
87
0.595089
73506267ff944387740aa7f5b705ad7ce643e4bc
517
ex
Elixir
server/lib/server_web/views/session_view.ex
Nymrinae/TimeManager
5048280da7c497909bca7faf7d2256c07438d442
[ "MIT" ]
null
null
null
server/lib/server_web/views/session_view.ex
Nymrinae/TimeManager
5048280da7c497909bca7faf7d2256c07438d442
[ "MIT" ]
null
null
null
server/lib/server_web/views/session_view.ex
Nymrinae/TimeManager
5048280da7c497909bca7faf7d2256c07438d442
[ "MIT" ]
null
null
null
defmodule ServerWeb.SessionView do use ServerWeb, :view def render("success.json", %{user: user, token: jwt }) do %{ status: :ok, user: %{ id: user.id, username: user.username, role: user.role }, token: jwt } end def render("success.json", %{message: mes...
17.233333
59
0.54352
73506f7a570ef807b6c6d4385aba28c740a5994e
1,393
ex
Elixir
lib/bubble_lib/xml/xmerl.ex
botsquad/bubble_lib
774860db5d19e94ad0f3d34618519d13cbe9cbfe
[ "MIT" ]
2
2018-09-25T19:35:00.000Z
2019-09-23T18:12:50.000Z
lib/bubble_lib/xml/xmerl.ex
botsquad/bubble_lib
774860db5d19e94ad0f3d34618519d13cbe9cbfe
[ "MIT" ]
null
null
null
lib/bubble_lib/xml/xmerl.ex
botsquad/bubble_lib
774860db5d19e94ad0f3d34618519d13cbe9cbfe
[ "MIT" ]
1
2019-09-23T18:12:53.000Z
2019-09-23T18:12:53.000Z
defmodule BubbleLib.XML.Xmerl do @moduledoc """ Convert 'plain' tuple notation into full XMerl XML notation """ use BubbleLib.XML.XmerlRecords def to_xmerl(content) when is_binary(content) do {doc, []} = content |> :binary.bin_to_list() |> :xmerl_scan.string(quiet: true) doc end ...
22.111111
67
0.663317
7350aa00e2ac761beb48945f3abfe3020746b8e0
984
exs
Elixir
elixir/rna-transcription/rna_transcription_test.exs
esambo/exercism_solutions
520d9a5c28793c6fab2cb963b8c6de6c3404ac0b
[ "MIT" ]
1
2020-04-29T01:16:49.000Z
2020-04-29T01:16:49.000Z
elixir/rna-transcription/rna_transcription_test.exs
esambo/exorcism_solutions
520d9a5c28793c6fab2cb963b8c6de6c3404ac0b
[ "MIT" ]
null
null
null
elixir/rna-transcription/rna_transcription_test.exs
esambo/exorcism_solutions
520d9a5c28793c6fab2cb963b8c6de6c3404ac0b
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("rna_transcription.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule RNATranscriptionTest do use ExUnit.Case test "transcribes guanine to cytosine" do assert RNATranscription.to_rna('G') == 'C' end ...
25.230769
68
0.723577
7350bf5dd4e6ee8c09b0556cd60ef0b0ef7eb6d4
7,730
ex
Elixir
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/api/operations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/api/operations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/api/operations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.204678
196
0.645537
7350f8cbd424dc8f756011f994b2b0aa3eff1c00
2,716
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_safe_search_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_safe_search_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_safe_search_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.205479
127
0.709867
7350fbca03d70f35a2df8d622d3cb67879e79206
2,312
ex
Elixir
lib/yourbot_web/components/bot_modal.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
3
2021-11-08T15:19:19.000Z
2021-11-11T03:18:35.000Z
lib/yourbot_web/components/bot_modal.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
null
null
null
lib/yourbot_web/components/bot_modal.ex
ConnorRigby/yourbot
eea40e63b0f93963ed14b7efab9ecbe898ab11dd
[ "Apache-2.0" ]
null
null
null
defmodule YourBotWeb.Components.BotModal do use Surface.Component alias SurfaceBulma.Button alias Surface.Components.{ Form, Form.ErrorTag, Form.Field, Form.Label, Form.TextInput, Form.NumberInput, Form.Submit } prop title, :string, required: true prop show, :boolean, required...
30.421053
111
0.532007
735117b824d6fd34dec20532f69fa9749d9c974f
55,899
ex
Elixir
lib/elixir/lib/module.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
31.037757
113
0.6557
735134d6b49290e3fb7fbba4c5ec531455a6701b
1,037
exs
Elixir
test/cizen/crash_logger_test.exs
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
1
2019-04-08T08:00:06.000Z
2019-04-08T08:00:06.000Z
test/cizen/crash_logger_test.exs
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
test/cizen/crash_logger_test.exs
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
defmodule Cizen.CrashLoggerTest do use Cizen.SagaCase, async: false import ExUnit.CaptureLog alias Cizen.TestHelper alias Cizen.Dispatcher alias Cizen.Event alias Cizen.Filter require Filter defmodule(CrashTestEvent, do: defstruct([])) test "logs crashes" do saga_id = TestHelper.launch_t...
23.044444
62
0.599807
735155115d04d92cc6cc724447cf028da7b45347
191
ex
Elixir
lib/surface_bulma/dropdown/trigger.ex
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
null
null
null
lib/surface_bulma/dropdown/trigger.ex
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
null
null
null
lib/surface_bulma/dropdown/trigger.ex
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
null
null
null
defmodule SurfaceBulma.Dropdown.CurrentItem do use Surface.Component, slot: "trigger" @moduledoc """ Contents to be displayed in the trigger """ slot default, required: true end
17.363636
46
0.732984
73516ee7a2f6f342bc23ef8b9224f70017a46b08
1,172
ex
Elixir
lib/preview/hex/adapter.ex
leandrocp/preview
9dd3a9bae4385dc4935e76f63328f70b9d78fe4d
[ "Apache-2.0" ]
26
2021-01-25T20:30:46.000Z
2021-12-16T08:42:35.000Z
lib/preview/hex/adapter.ex
leandrocp/preview
9dd3a9bae4385dc4935e76f63328f70b9d78fe4d
[ "Apache-2.0" ]
17
2021-01-25T18:45:43.000Z
2021-07-23T15:15:41.000Z
lib/preview/hex/adapter.ex
leandrocp/preview
9dd3a9bae4385dc4935e76f63328f70b9d78fe4d
[ "Apache-2.0" ]
4
2021-01-25T21:32:28.000Z
2021-07-07T12:36:19.000Z
defmodule Preview.Hex.Adapter do @behaviour :hex_http @opts [follow_redirect: true, max_redirect: 5] @impl true def request(:get, uri, req_headers, _req_body, _config) do req_headers = prepare_headers(req_headers, nil) {:ok, status, resp_headers, resp_body} = Preview.HTTP.get(uri, req_headers, @opts)...
28.585366
95
0.701365
735176d02403c4a6cbdc123ab56211fb32df7b7f
1,973
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/image.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/image.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/image.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 ...
36.537037
152
0.725291
7351c4b6ebed1f5268e289cd2562b3cd8ac3d453
9,231
exs
Elixir
test/span_event_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
test/span_event_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
test/span_event_test.exs
VitorTrin/elixir_agent
03b1261eeafef6c016550ad51d939e75d59deda9
[ "Apache-2.0" ]
null
null
null
defmodule SpanEventTest do use ExUnit.Case use Plug.Test alias NewRelic.DistributedTrace alias NewRelic.Harvest.Collector @dt_header "newrelic" setup do prev_key = Collector.AgentRun.trusted_account_key() Collector.AgentRun.store(:trusted_account_key, "190") System.put_env("NEW_RELIC_HARVEST_...
30.77
97
0.676308
7351fa6dac3027af900fa5f22aeb52eac643d189
18,785
ex
Elixir
lib/livebook/intellisense/identifier_matcher.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
null
null
null
lib/livebook/intellisense/identifier_matcher.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
null
null
null
lib/livebook/intellisense/identifier_matcher.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Intellisense.IdentifierMatcher do @moduledoc false # This module allows for extracting information about # identifiers based on code and runtime information # (binding, environment). # # This functionality is a basic building block to be # used for code completion and information extra...
29.960128
97
0.618792