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
9e8dd698236d6c597e7521eb7a3b83304c473155
1,895
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/color_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/color_info.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/color_info.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...
34.454545
118
0.706596
9e8dfc15aa8af1e9463bf5cd9a2ca050e714e985
3,485
exs
Elixir
config/dev.exs
kianmeng/website
1948f46eeeb1c1b598408bfb049bbe24189ace2e
[ "Apache-2.0" ]
1
2019-10-31T19:59:41.000Z
2019-10-31T19:59:41.000Z
config/dev.exs
kianmeng/website
1948f46eeeb1c1b598408bfb049bbe24189ace2e
[ "Apache-2.0" ]
null
null
null
config/dev.exs
kianmeng/website
1948f46eeeb1c1b598408bfb049bbe24189ace2e
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :erlef, secret: "UFxcBGAa6OnsKUezTOCmSDg+yr2K9Dm...
27.226563
88
0.673745
9e8e0364765011aa3692c95900a4baed3eb48fd9
1,960
ex
Elixir
lib/absinthe/phoenix/endpoint.ex
jerel/absinthe_phoenix
a0c9f0297197443cef4a6ba2114b5dff5133469c
[ "MIT" ]
null
null
null
lib/absinthe/phoenix/endpoint.ex
jerel/absinthe_phoenix
a0c9f0297197443cef4a6ba2114b5dff5133469c
[ "MIT" ]
null
null
null
lib/absinthe/phoenix/endpoint.ex
jerel/absinthe_phoenix
a0c9f0297197443cef4a6ba2114b5dff5133469c
[ "MIT" ]
null
null
null
defmodule Absinthe.Phoenix.Endpoint do defmacro __using__(_) do quote do @behaviour Absinthe.Subscription.Pubsub @before_compile unquote(__MODULE__) end end defmacro __before_compile__(_) do quote do def publish_mutation(topic, mutation_result, subscribed_fields) do Absinthe...
32.666667
115
0.715816
9e8e038aefb732b1a156f8f2e2d8b28cebe0a1a0
1,287
exs
Elixir
mix.exs
nathanfaucett/ex-prop_types
5ad0a884280dadf71abe4778bf693d1dd3ac8de3
[ "MIT" ]
null
null
null
mix.exs
nathanfaucett/ex-prop_types
5ad0a884280dadf71abe4778bf693d1dd3ac8de3
[ "MIT" ]
null
null
null
mix.exs
nathanfaucett/ex-prop_types
5ad0a884280dadf71abe4778bf693d1dd3ac8de3
[ "MIT" ]
null
null
null
defmodule PropTypes.Mixfile do use Mix.Project def project do [app: :prop_types, version: "0.0.3", description: description, package: package, elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the O...
22.982143
77
0.592852
9e8e58a5cea0acdef456eddda81bcbf383a634d3
3,351
ex
Elixir
apps/artemis_web/lib/artemis_web/controllers/event_report_controller.ex
artemis-platform/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2020-04-23T02:29:18.000Z
2020-07-07T13:13:17.000Z
apps/artemis_web/lib/artemis_web/controllers/event_report_controller.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
4
2020-04-26T20:35:36.000Z
2020-11-10T22:13:19.000Z
apps/artemis_web/lib/artemis_web/controllers/event_report_controller.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
null
null
null
defmodule ArtemisWeb.EventReportController do use ArtemisWeb, :controller alias Artemis.GetEventTemplate alias Artemis.ListEventReports alias Artemis.ListEventQuestions alias Artemis.ListProjects alias Artemis.ListUserTeams def index(conn, %{"event_id" => event_template_id} = params) do authorize(co...
25.976744
105
0.688153
9e8e611ab804f3ea3e5b7bcac2c4e68294524a63
1,238
ex
Elixir
lib/codes/codes_a27.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_a27.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_a27.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_A27 do alias IcdCode.ICDCode def _A270 do %ICDCode{full_code: "A270", category_code: "A27", short_code: "0", full_name: "Leptospirosis icterohemorrhagica", short_name: "Leptospirosis icterohemorrhagica", category_name: "Leptospiros...
28.790698
62
0.61874
9e8e69934dbb206ce111671547b7b0e013ab6f1e
1,863
ex
Elixir
clients/service_broker/lib/google_api/service_broker/v1/model/google_iam_v1__set_iam_policy_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/service_broker/lib/google_api/service_broker/v1/model/google_iam_v1__set_iam_policy_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/service_broker/lib/google_api/service_broker/v1/model/google_iam_v1__set_iam_policy_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.8125
287
0.764895
9e8e7182e2d74bae7eb6cdce1d5da578252a3ac4
177
ex
Elixir
lib/shortly_web/views/page_view.ex
abratashov/shortly
39dbf813f0cf643525b9038adb39764466e75d5e
[ "MIT" ]
null
null
null
lib/shortly_web/views/page_view.ex
abratashov/shortly
39dbf813f0cf643525b9038adb39764466e75d5e
[ "MIT" ]
null
null
null
lib/shortly_web/views/page_view.ex
abratashov/shortly
39dbf813f0cf643525b9038adb39764466e75d5e
[ "MIT" ]
null
null
null
defmodule ShortlyWeb.PageView do use ShortlyWeb, :view @base_url Application.get_env(:shortly, :base_url) def full_short_url(url) do "#{@base_url}/#{url}" end end
17.7
52
0.711864
9e8e807d99b2ef09a4fe99399a00f1cca7b7d2e0
1,500
ex
Elixir
lib/mp_api_web.ex
jsvelasquezv/mp_api
9a2262188b5b12c0e2ecd9284a8e7f445d2be4a0
[ "MIT" ]
null
null
null
lib/mp_api_web.ex
jsvelasquezv/mp_api
9a2262188b5b12c0e2ecd9284a8e7f445d2be4a0
[ "MIT" ]
null
null
null
lib/mp_api_web.ex
jsvelasquezv/mp_api
9a2262188b5b12c0e2ecd9284a8e7f445d2be4a0
[ "MIT" ]
null
null
null
defmodule MpApiWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use MpApiWeb, :controller use MpApiWeb, :view The definitions below will be executed for every view, controller, etc, s...
23.076923
69
0.684667
9e8e92f09b5ac9b9c29dc2ca520e22452319ce2d
1,510
ex
Elixir
clients/cloud_user_accounts/lib/google_api/cloud_user_accounts/vm_alpha/model/test_permissions_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_user_accounts/lib/google_api/cloud_user_accounts/vm_alpha/model/test_permissions_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_user_accounts/lib/google_api/cloud_user_accounts/vm_alpha/model/test_permissions_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
32.826087
201
0.757616
9e8ea5549696237a67e4e2db6758beba7afc5c78
1,514
ex
Elixir
api/web/web.ex
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
34
2017-01-02T14:00:25.000Z
2021-11-20T20:51:41.000Z
api/web/web.ex
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
3
2017-08-02T19:38:27.000Z
2022-03-02T03:34:27.000Z
api/web/web.ex
cnole/phoenix-react-slack-clone
852cc32ee157a18c93ddd1eb627ddf61bc294cda
[ "MIT" ]
5
2017-02-19T20:34:09.000Z
2021-10-05T11:35:11.000Z
defmodule Sling.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Sling.Web, :controller use Sling.Web, :view The definitions below will be executed for every view, controller, etc, so keep them short and...
19.164557
88
0.663144
9e8ed295c02dcdffb336497c901e2acab83f7880
974
exs
Elixir
mix.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
mix.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
mix.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
defmodule AoC.MixProject do @moduledoc false use Mix.Project def project do [ app: :advent_of_code, version: "2019.0.1", elixir: "~> 1.9", elixirc_options: [warnings_as_errors: true], start_permanent: Mix.env() == :prod, preferred_cli_env: [espec: :test], aliases: a...
22.136364
72
0.527721
9e8edc76a5bc912c57649aa64ae80d179bae298d
714
ex
Elixir
lib/cookbook_web/gettext.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
lib/cookbook_web/gettext.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
11
2021-12-19T09:07:30.000Z
2022-01-01T17:54:43.000Z
lib/cookbook_web/gettext.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
defmodule CookbookWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import CookbookWeb.Gettext # Simple translation gettext("Here is...
28.56
72
0.679272
9e8f0e4772e3e848a62423654d227b0ce4ee3c30
351
exs
Elixir
priv/repo/seeds.exs
ninedraft/habitat
425c6753e0f15b008c7c452bad7878c0e1e4ce07
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
ninedraft/habitat
425c6753e0f15b008c7c452bad7878c0e1e4ce07
[ "MIT" ]
2
2020-08-15T08:57:57.000Z
2020-12-14T08:41:30.000Z
priv/repo/seeds.exs
ninedraft/habitat
425c6753e0f15b008c7c452bad7878c0e1e4ce07
[ "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: # # Habitat.Repo.insert!(%Habitat.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will...
29.25
61
0.706553
9e8f28144fe3d12c3ece14960fa4624292aeeb2b
595
exs
Elixir
template/$PROJECT_NAME$/apps/db/mix.exs
mitjok/gen_template_litslink_umbrella
eadef26e83a1bb540a360f0bf5db0f519a100f8b
[ "Apache-2.0" ]
1
2020-07-01T07:09:02.000Z
2020-07-01T07:09:02.000Z
template/$PROJECT_NAME$/apps/db/mix.exs
mitjok/gen_template_litslink_umbrella
eadef26e83a1bb540a360f0bf5db0f519a100f8b
[ "Apache-2.0" ]
null
null
null
template/$PROJECT_NAME$/apps/db/mix.exs
mitjok/gen_template_litslink_umbrella
eadef26e83a1bb540a360f0bf5db0f519a100f8b
[ "Apache-2.0" ]
null
null
null
defmodule DB.MixProject do use Mix.Project def project do [ app: :db, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications...
19.833333
87
0.564706
9e8f4155940a3e2735e8d77b028cfa412fce8162
125
ex
Elixir
apps/tools_1/lib/random_server_app.ex
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/tools_1/lib/random_server_app.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/tools_1/lib/random_server_app.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
defmodule RandomServer do use Application def start(_type, _args) do RandomServer.Supervisor.start_link() end end
15.625
40
0.76
9e8f45f4a0819e7becf5f1c9ee65d943bbd876ea
1,480
ex
Elixir
config/authorization/config.ex
benjay10/app-poc-diff
13e4ab68bd5408317ec9cd46b24acc470c4056d3
[ "MIT" ]
null
null
null
config/authorization/config.ex
benjay10/app-poc-diff
13e4ab68bd5408317ec9cd46b24acc470c4056d3
[ "MIT" ]
null
null
null
config/authorization/config.ex
benjay10/app-poc-diff
13e4ab68bd5408317ec9cd46b24acc470c4056d3
[ "MIT" ]
null
null
null
alias Acl.Accessibility.Always, as: AlwaysAccessible alias Acl.GraphSpec.Constraint.Resource, as: ResourceConstraint alias Acl.GraphSpec.Constraint.ResourceFormat, as: ResourceFormatConstraint alias Acl.Accessibility.ByQuery, as: AccessByQuery alias Acl.GraphSpec, as: GraphSpec alias Acl.GraphSpec.Constraint.Resource.A...
35.238095
97
0.579054
9e8f46410af7b597d8fc4736f2bbce9977988ba1
768
exs
Elixir
test/assertions/enum/have_max_test.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
test/assertions/enum/have_max_test.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
test/assertions/enum/have_max_test.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
defmodule Enum.HaveMaxTest do use ExUnit.Case, async: true defmodule SomeSpec do use ESpec let :range, do: 1..3 context "Success" do it do: expect(range()).to(have_max(3)) it do: expect(range()).to_not(have_max(2)) end context "Error" do it do: expect(range()).to_not(have_m...
23.272727
82
0.640625
9e8f495b5032584c0e6b4718066a0e9ce77133b1
3,881
ex
Elixir
lib/oban/plugins/lifeline.ex
polvalente/oban
7267f8f37f8257b735d498d81cc1e43147cefc49
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/lifeline.ex
polvalente/oban
7267f8f37f8257b735d498d81cc1e43147cefc49
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/lifeline.ex
polvalente/oban
7267f8f37f8257b735d498d81cc1e43147cefc49
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Plugins.Lifeline do @moduledoc """ Naively transition jobs stuck `executing` back to `available`. The `Lifeline` plugin periodically rescues orphaned jobs, i.e. jobs that are stuck in the `executing` state because the node was shut down before the job could finish. Rescuing is purely based on ...
27.721429
97
0.658335
9e8f4eacb149b3606e1c549d30dd29f96cca2d7c
7,677
ex
Elixir
lib/vowpal_client.ex
jackdoe/elixir-vowpal-client
4a4f0446c4097ec93d9a8b124842f2a5fc2a2840
[ "MIT" ]
null
null
null
lib/vowpal_client.ex
jackdoe/elixir-vowpal-client
4a4f0446c4097ec93d9a8b124842f2a5fc2a2840
[ "MIT" ]
null
null
null
lib/vowpal_client.ex
jackdoe/elixir-vowpal-client
4a4f0446c4097ec93d9a8b124842f2a5fc2a2840
[ "MIT" ]
null
null
null
defmodule VowpalClient do @moduledoc """ Provides a TCP client for [Vowpal Wabbit](https://github.com/VowpalWabbit/vowpal_wabbit), and exports functions `VowpalClient.train/3`, `VowpalClient.predict/2`, and `VowpalClient.save/2` `VowpalClient.spawn_vowpal/2` is just for debugging purposes, ideally you will have ...
28.969811
189
0.609613
9e8f4fae609eb0aff8e348691896928d13a9a4b4
474
ex
Elixir
lib/entity/definitions/enemy/frowny.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/entity/definitions/enemy/frowny.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/entity/definitions/enemy/frowny.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
use ElixirRPG.DSL.Entity defentity Frowny do component DemoStats, %{ max_hp: 20, hp: 20, max_mp: 200, mp: 200, speed: 9 } component Status component Sprite, %{sprite_name: "enemy/frowny.png", full_image: true} component ActorName, %{name: "Frowny"} component NPCBrain, %{brain_name: ...
17.555556
72
0.687764
9e8f542cce92ec9e5ca7bb1d24e818584e12dc2c
406
exs
Elixir
clients/service_management/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/service_management/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
ExUnit.start() defmodule GoogleApi.ServiceManagement.V1.TestHelper do defmacro __using__(opts) do quote do use ExUnit.Case, unquote(opts) import GoogleApi.ServiceManagement.V1.TestHelper end end def for_scope(scopes) when is_list(scopes), do: for_scope(Enum.join(scopes, " ")) def for_scop...
21.368421
83
0.711823
9e8f76523f42a5a26d800b1e560ef120306e0282
1,200
ex
Elixir
lib/console/multi_buys/multi_buy.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
lib/console/multi_buys/multi_buy.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
lib/console/multi_buys/multi_buy.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.MultiBuys.MultiBuy do use Ecto.Schema import Ecto.Changeset import Ecto.Query, warn: false alias Console.Devices.Device alias Console.Labels.Label alias Console.Organizations.Organization alias Console.Helpers @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :bi...
33.333333
142
0.723333
9e8f8513c4d425b5d47f39abc77603405d036bc3
164
ex
Elixir
lib/magirator_app_channel_web/controllers/page_controller.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
lib/magirator_app_channel_web/controllers/page_controller.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
lib/magirator_app_channel_web/controllers/page_controller.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
defmodule MagiratorAppChannelWeb.PageController do use MagiratorAppChannelWeb, :controller def index(conn, _params) do render conn, "index.html" end end
20.5
50
0.780488
9e8fbfd817ea5769ec775e4d5171b58cd3b5d0b2
12,893
exs
Elixir
test/saxy/parser/element_test.exs
duffelhq/saxy
fb37f1d9ce919e6085a924c2483c515ee6cb997b
[ "MIT" ]
null
null
null
test/saxy/parser/element_test.exs
duffelhq/saxy
fb37f1d9ce919e6085a924c2483c515ee6cb997b
[ "MIT" ]
null
null
null
test/saxy/parser/element_test.exs
duffelhq/saxy
fb37f1d9ce919e6085a924c2483c515ee6cb997b
[ "MIT" ]
null
null
null
defmodule Saxy.Parser.ElementTest do use ExUnit.Case, async: true use ExUnitProperties import Saxy.Parser.Element, only: [parse: 5] alias Saxy.ParseError alias Saxy.TestHandlers.StackHandler test "parses element having no attributes" do buffer = "<foo></foo>" assert {:ok, state} = parse(buffer,...
32.394472
106
0.604437
9e901d6ae0d9786216b71718ca523ceec204eac8
835
exs
Elixir
config/test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
config/test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
config/test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
use Mix.Config config :logger, level: :error config :ex_venture, Data.Repo, adapter: Ecto.Adapters.Postgres, database: "ex_venture_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox config :ex_venture, :networking, host: "localhost", port: 5555, server: false, socket_module: Test.Networkin...
23.194444
65
0.735329
9e901fa75296e30bad907f52de6708233844b1b5
106
ex
Elixir
test/support/repo.ex
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
34
2019-04-14T22:57:21.000Z
2022-01-06T01:26:25.000Z
test/support/repo.ex
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
4
2019-06-09T15:48:53.000Z
2022-01-29T13:13:57.000Z
test/support/repo.ex
basmoura/cpf
a3c37daa7598358b7e15a5ce4b342ed551df79d3
[ "MIT" ]
10
2019-04-16T04:26:56.000Z
2020-10-08T18:00:47.000Z
defmodule CPF.Support.Repo do use Ecto.Repo, otp_app: :cpf, adapter: Ecto.Adapters.Postgres end
17.666667
35
0.716981
9e90424ab40f940ab2a4bdfb12c51a5fd334bba3
5,926
exs
Elixir
test/sanbase_web/graphql/user/apikey_resolver_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/sanbase_web/graphql/user/apikey_resolver_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/sanbase_web/graphql/user/apikey_resolver_test.exs
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.ApikeyResolverTest do use SanbaseWeb.ConnCase, async: false import SanbaseWeb.Graphql.TestHelpers import Sanbase.Factory alias Sanbase.Repo alias Sanbase.Accounts.{UserApikeyToken, Hmac} @moduletag capture_log: true setup do user = insert(:user) conn = setup_jwt_au...
24.089431
95
0.629936
9e905316b49a3fb3060fbfb73743d5526491f711
2,954
ex
Elixir
lib/git_pair_ex/command.ex
PZiaugra/git_pair_ex
cebfe9b7b26519e8f7664ecba48aa86b8f41f30a
[ "MIT" ]
null
null
null
lib/git_pair_ex/command.ex
PZiaugra/git_pair_ex
cebfe9b7b26519e8f7664ecba48aa86b8f41f30a
[ "MIT" ]
2
2022-02-22T20:24:09.000Z
2022-02-22T20:24:56.000Z
lib/git_pair_ex/command.ex
PZiaugra/git_pair_ex
cebfe9b7b26519e8f7664ecba48aa86b8f41f30a
[ "MIT" ]
1
2022-02-22T20:26:23.000Z
2022-02-22T20:26:23.000Z
defmodule GitPairEx.Command do def show_authors(opts \\ ["--local"]) do {config_list, 0} = System.cmd("git", ["config", "--list"] ++ opts) authors = config_list |> String.split("\n") |> Enum.filter(&Regex.match?(~r/^git\-pair\.authors/, &1)) |> Enum.map(fn line -> Regex.run(au...
25.465517
98
0.49763
9e906fdef17da31ae437084e708d1e5f4be48248
1,656
exs
Elixir
rel/config/prod.exs
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
377
2018-04-05T03:36:00.000Z
2022-03-30T19:12:44.000Z
rel/config/prod.exs
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
91
2018-05-24T21:56:06.000Z
2022-02-26T03:54:04.000Z
rel/config/prod.exs
HenkPoley/ellie
045212b56142341fc95b79659c3ca218b0d5d282
[ "BSD-3-Clause" ]
34
2018-05-29T03:54:35.000Z
2022-01-13T07:12:46.000Z
use Mix.Config app = System.get_env("APPLICATION_NAME") env = System.get_env("ENVIRONMENT_NAME") region = System.get_env("AWS_REGION") aws = System.find_executable("aws") cond do is_nil(app) -> raise "APPLICATION_NAME is unset!" is_nil(env) -> raise "ENVIRONMENT_NAME is unset!" is_nil(aws) -> rais...
26.285714
85
0.655193
9e90936da8bf0feb7f22a0db74a9f50b09348a86
202
ex
Elixir
lib/apq/strategy.ex
fuelen/apq
3cf1d5bdf58d690711ed33d506b92096939da9ae
[ "MIT" ]
41
2018-09-15T13:02:28.000Z
2022-01-11T23:17:11.000Z
lib/apq/strategy.ex
fuelen/apq
3cf1d5bdf58d690711ed33d506b92096939da9ae
[ "MIT" ]
41
2018-09-15T13:17:56.000Z
2022-03-24T04:03:50.000Z
lib/apq/strategy.ex
fuelen/apq
3cf1d5bdf58d690711ed33d506b92096939da9ae
[ "MIT" ]
4
2018-09-25T09:59:30.000Z
2021-11-15T10:08:37.000Z
defmodule Apq.Strategy do @moduledoc """ Behaviour to customize how Apq interacts with Absinthe pipeline """ @callback pipeline(Absinthe.Pipeline.t(), Keyword.t()) :: Absinthe.Pipeline.t() end
25.25
81
0.727723
9e909639aefdacf2863d3395ed18a4f010e91acd
244
exs
Elixir
test/exfile/hasher/random_test.exs
sreecodeslayer/exfile
c88288563d688fb47a6fcae190dbe1b8eb64bf9b
[ "MIT" ]
100
2015-12-25T12:38:41.000Z
2021-12-31T11:41:20.000Z
test/exfile/hasher/random_test.exs
sreecodeslayer/exfile
c88288563d688fb47a6fcae190dbe1b8eb64bf9b
[ "MIT" ]
62
2015-12-26T01:43:54.000Z
2019-09-15T16:16:35.000Z
test/exfile/hasher/random_test.exs
sreecodeslayer/exfile
c88288563d688fb47a6fcae190dbe1b8eb64bf9b
[ "MIT" ]
22
2016-04-19T11:54:38.000Z
2021-09-29T14:48:46.000Z
defmodule Exfile.Hasher.RandomTest do use ExUnit.Case, async: true @hasher Exfile.Hasher.Random test "returns a random ID" do assert String.length(@hasher.hash(nil)) == 60 refute @hasher.hash(nil) == @hasher.hash(nil) end end
22.181818
49
0.704918
9e90a4dd557fc758e9f667dff99b47f2d132010a
1,674
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/webproperty_parent_link.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/analytics/lib/google_api/analytics/v3/model/webproperty_parent_link.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/webproperty_parent_link.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.48
126
0.726404
9e90ad57d55e825722a32b76b8ef026a293e944f
373
ex
Elixir
distributor/lib/distributor/spec_utils.ex
fknop/distributor
1b1a4910ec0887b8c10c636e55f15921d67bfa86
[ "MIT" ]
1
2019-12-27T10:21:13.000Z
2019-12-27T10:21:13.000Z
distributor/lib/distributor/spec_utils.ex
fknop/distributor
1b1a4910ec0887b8c10c636e55f15921d67bfa86
[ "MIT" ]
209
2019-12-25T17:16:14.000Z
2022-03-25T23:13:05.000Z
distributor/lib/distributor/spec_utils.ex
fknop/distributor
1b1a4910ec0887b8c10c636e55f15921d67bfa86
[ "MIT" ]
null
null
null
defmodule Distributor.SpecUtils do def compare_files(a, b) when length(a) != length(b), do: false def compare_files([], []), do: true def compare_files([H1 | T1], [H2 | T2]) when H1 == H2, do: compare_files(T1, T2) def compare_files(_, _), do: false def hash_files(spec_files) do :crypto.hash(:sha3_256, ...
31.083333
82
0.675603
9e90c5de04adc1a2a00df46407dcd3fef9cf5e88
3,256
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/pricing_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
46.514286
180
0.733415
9e90ce00b5400ebd04f4af56010c90753569ec23
462
exs
Elixir
config/test.exs
jeffutter/ex_rogue
57207966764516db95a8af7625ba6e3cdc12651d
[ "MIT" ]
null
null
null
config/test.exs
jeffutter/ex_rogue
57207966764516db95a8af7625ba6e3cdc12651d
[ "MIT" ]
2
2021-03-10T11:32:10.000Z
2021-05-11T07:17:36.000Z
config/test.exs
jeffutter/ex_rogue
57207966764516db95a8af7625ba6e3cdc12651d
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :ex_rogue, ExRogue.Repo, username: "postgres", password: "postgres", database: "ex_rogue_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required, # you can enable the server option below. config :ex...
24.315789
56
0.733766
9e90f9e97b94622dd2e94bb881bf9af56f208904
470
ex
Elixir
lib/huffman/encoder.ex
Tmw/huffman
837a6d4e13f88d7a5e23998edff4d172523c33f3
[ "MIT" ]
5
2020-09-06T18:29:51.000Z
2021-03-13T13:38:34.000Z
lib/huffman/encoder.ex
Tmw/huffman
837a6d4e13f88d7a5e23998edff4d172523c33f3
[ "MIT" ]
null
null
null
lib/huffman/encoder.ex
Tmw/huffman
837a6d4e13f88d7a5e23998edff4d172523c33f3
[ "MIT" ]
1
2020-09-06T18:29:54.000Z
2020-09-06T18:29:54.000Z
defmodule Huffman.Encoder do alias Huffman.{Codebook, Tree, FrequencyMap, Packer, Queue} @spec encode(String.t()) :: {:ok, Packer.packed_data()} def encode(text) do tree = text |> FrequencyMap.create() |> Queue.from_map() |> Tree.build() encoded = tree |> Codebook.fro...
18.8
61
0.576596
9e90fc91d55f2f84c1e818c97ed424a0deb5e842
1,394
ex
Elixir
lib/handler/freifunka_greeting_handler.ex
geistesk/ircbot
1501b27d310169839a907f228cd80b572e1deb3f
[ "Zlib" ]
null
null
null
lib/handler/freifunka_greeting_handler.ex
geistesk/ircbot
1501b27d310169839a907f228cd80b572e1deb3f
[ "Zlib" ]
null
null
null
lib/handler/freifunka_greeting_handler.ex
geistesk/ircbot
1501b27d310169839a907f228cd80b572e1deb3f
[ "Zlib" ]
null
null
null
require Logger alias ExIrc.SenderInfo defmodule FreifunkaGreetingHandler do @moduledoc """ This is an event handler which is greeting Users from the hsmr-webirc (based on hostname) specially. """ def start_link(client) do GenServer.start_link(__MODULE__, [client]) end def init([client]) do ExIr...
29.041667
97
0.662123
9e90ffcdb0c6239f4ddb9e23d62d96db6acd685d
1,568
exs
Elixir
mix.exs
angordeyev/grpc
3547eccf5968a2a9d31a6dc3eea0a445269c67c0
[ "Apache-2.0" ]
null
null
null
mix.exs
angordeyev/grpc
3547eccf5968a2a9d31a6dc3eea0a445269c67c0
[ "Apache-2.0" ]
null
null
null
mix.exs
angordeyev/grpc
3547eccf5968a2a9d31a6dc3eea0a445269c67c0
[ "Apache-2.0" ]
null
null
null
defmodule GRPC.Mixfile do use Mix.Project @version "0.5.0-beta.1" def project do [ app: :grpc, version: @version, elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), ...
25.290323
72
0.543367
9e91286c3e753641d332cb581ad3545236de1dd3
297
ex
Elixir
lib/swoosh.ex
augnustin/swoosh
f163dab67cadbf68b4faaf5c8cf17fe4548294d7
[ "MIT" ]
null
null
null
lib/swoosh.ex
augnustin/swoosh
f163dab67cadbf68b4faaf5c8cf17fe4548294d7
[ "MIT" ]
null
null
null
lib/swoosh.ex
augnustin/swoosh
f163dab67cadbf68b4faaf5c8cf17fe4548294d7
[ "MIT" ]
null
null
null
defmodule Swoosh do @moduledoc File.read!("README.md") |> String.replace("# Swoosh\n\n", "", global: false) @version "0.23.4" @doc false def version, do: @version @json_library Application.get_env(:swoosh, :json_library, Jason) @doc false def json_library, do: @json_library end
21.214286
89
0.690236
9e9143ed25d2bd4ae0f7622f95d6409c1e22dc97
407
exs
Elixir
test/pummpcomm/history/exercise_marker_test.exs
infinity-aps/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
15
2017-08-31T00:58:47.000Z
2020-01-12T03:53:13.000Z
test/pummpcomm/history/exercise_marker_test.exs
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
1
2017-09-15T02:09:31.000Z
2017-09-15T02:09:31.000Z
test/pummpcomm/history/exercise_marker_test.exs
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
3
2017-09-10T17:24:59.000Z
2019-09-10T19:41:49.000Z
defmodule Pummpcomm.History.ExerciseMarkerTest do use ExUnit.Case # TODO capture this in real life test "Exercise Marker" do {:ok, history_page} = Base.decode16("4100722713040F00") decoded_events = Pummpcomm.History.decode_records(history_page, %{}) assert {:exercise_marker, %{timestamp: ~N[2015-04-...
31.307692
90
0.707617
9e91473acb2fa966ae8cd951ad98309935bfd029
1,129
ex
Elixir
test/support/channel_case.ex
JeffyMesquita/elixirHeat
3ec3c59021e90058f00c2eb288a5e6c286e96342
[ "MIT" ]
null
null
null
test/support/channel_case.ex
JeffyMesquita/elixirHeat
3ec3c59021e90058f00c2eb288a5e6c286e96342
[ "MIT" ]
null
null
null
test/support/channel_case.ex
JeffyMesquita/elixirHeat
3ec3c59021e90058f00c2eb288a5e6c286e96342
[ "MIT" ]
null
null
null
defmodule ElixirHeatWeb.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 interact...
27.536585
72
0.731621
9e91752cb91fdd7cfa1f4ce97923d02893c67850
2,081
exs
Elixir
test/surface_bootstrap4/button_group_test.exs
tschmidleithner/surface_bootstrap4
1968905a01d451639b52f58ab0e397aba1f938e6
[ "MIT" ]
10
2020-06-14T01:40:19.000Z
2020-11-17T05:39:37.000Z
test/surface_bootstrap4/button_group_test.exs
tschmidleithner/surface_bootstrap4
1968905a01d451639b52f58ab0e397aba1f938e6
[ "MIT" ]
null
null
null
test/surface_bootstrap4/button_group_test.exs
tschmidleithner/surface_bootstrap4
1968905a01d451639b52f58ab0e397aba1f938e6
[ "MIT" ]
1
2020-06-14T01:40:22.000Z
2020-06-14T01:40:22.000Z
defmodule SurfaceBootstrap4.ButtonGroupTest do use ExUnit.Case, async: true use ExUnit.Parameterized alias SurfaceBootstrap4.ButtonGroup, warn: false alias SurfaceBootstrap4.Button, warn: false import ComponentTestHelper test_with_params "button_group variants", &assert_component/2 do [ button_g...
26.341772
79
0.542047
9e919c7b177f351efd269e92b8fd965f004bca69
1,646
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/connection.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/connection.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/connection.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.291667
130
0.755772
9e91b22b372ef8049e2c749207a17d39f2a3b203
3,941
ex
Elixir
lib/blue_jet/app/goods/stockable.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
lib/blue_jet/app/goods/stockable.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
lib/blue_jet/app/goods/stockable.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJet.Goods.Stockable.Default do defmacro __using__(which) when is_atom(which) do apply(__MODULE__, which, []) end def schema do alias Ecto.UUID quote do field :account_id, UUID field :account, :map, virtual: true field :status, :string, default: "active" field :...
24.32716
88
0.615834
9e91ba8ddcf82e8332e2884dff93e240ebc5809e
96
exs
Elixir
config/test.exs
Plus17/sepomex-api
3c9f76205d6f31b59969db1cefe60c3214e06330
[ "Apache-2.0" ]
null
null
null
config/test.exs
Plus17/sepomex-api
3c9f76205d6f31b59969db1cefe60c3214e06330
[ "Apache-2.0" ]
null
null
null
config/test.exs
Plus17/sepomex-api
3c9f76205d6f31b59969db1cefe60c3214e06330
[ "Apache-2.0" ]
1
2022-02-09T00:23:25.000Z
2022-02-09T00:23:25.000Z
import Config config :sepomex_api, http_port: 4002 config :sepomets, file: "priv/sepomex.zip"
16
42
0.770833
9e91da38091479d4a4627caa68279dbc2d99a802
144
ex
Elixir
web/controllers/page_controller.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
raincrash/pasteboard
e6b6f027bd18e1e4494c62c8127b89363b7466f5
[ "MIT" ]
null
null
null
defmodule Pasteboard.PageController do use Pasteboard.Web, :controller def index(conn, _params) do render conn, "index.html" end end
18
38
0.743056
9e91ec415c05b7cf84f2a54b90ac1f5a1f7f8a00
1,670
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_zone_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_zone_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_zone_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.531915
272
0.750299
9e921397f8e1db6db23d73245deab700b2857f96
1,046
exs
Elixir
apps/fz_wall/mix.exs
jasonboukheir/firezone
79d610b94f67ae25c8ca26f391c0edf288f6aaa5
[ "Apache-2.0" ]
null
null
null
apps/fz_wall/mix.exs
jasonboukheir/firezone
79d610b94f67ae25c8ca26f391c0edf288f6aaa5
[ "Apache-2.0" ]
null
null
null
apps/fz_wall/mix.exs
jasonboukheir/firezone
79d610b94f67ae25c8ca26f391c0edf288f6aaa5
[ "Apache-2.0" ]
null
null
null
defmodule FzWall.MixProject do use Mix.Project def project do [ app: :fz_wall, version: "0.2.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.11", start_permanent: Mix.env()...
23.772727
62
0.545889
9e92274f72642f9e354ed3360d4cf8ce178ce48b
2,738
ex
Elixir
lib/elixir/lib/file/stream.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/lib/file/stream.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file/stream.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule File.Stream do @moduledoc """ Defines a `File.Stream` struct returned by `File.stream!/3`. The following fields are public: * `path` - the file path * `modes` - the file modes * `raw` - a boolean indicating if bin functions should be used * `line_or_bytes` - ...
27.656566
96
0.559533
9e92567ee3cd880d38130e1509a0f67b16474338
4,415
ex
Elixir
lib/eex/lib/eex/tokenizer.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/eex/lib/eex/tokenizer.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/eex/lib/eex/tokenizer.ex
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
defmodule EEx.Tokenizer do @moduledoc false @doc """ Tokenizes the given char list or binary. It returns 4 different types of tokens as result: * { :text, line, contents } * { :expr, line, marker, contents } * { :start_expr, line, marker, contents } * { :end_expr, line, marker, contents } """ def...
27.59375
86
0.625595
9e9256f3fb1f35e3820f70ff181e29de9c7d0b1e
704
exs
Elixir
test/scribe/migration_test.exs
rramsden/scribe
4ef506714140da032a76d62b39109cf7a79c9d91
[ "MIT" ]
1
2016-01-24T11:43:59.000Z
2016-01-24T11:43:59.000Z
test/scribe/migration_test.exs
rramsden/scribe
4ef506714140da032a76d62b39109cf7a79c9d91
[ "MIT" ]
null
null
null
test/scribe/migration_test.exs
rramsden/scribe
4ef506714140da032a76d62b39109cf7a79c9d91
[ "MIT" ]
null
null
null
defmodule ScribeMigrationTest do use ExUnit.Case, async: true import Scribe.Migration import Scribe.TestHelpers setup meta do setup_project(meta) end teardown meta do teardown_project(meta) end test "runs migration", meta do config = Scribe.Config.new(adapter: Scribe.Adapters.MockAdapter)...
26.074074
68
0.735795
9e9278f813cbc1c6794135f5cabcddefc8db16a7
489
exs
Elixir
test/ingest_api/test_api_test.exs
darkua/logger_humio_backend
a1ae5a1db339e1a575ea03bf12fa02434374ccae
[ "MIT" ]
null
null
null
test/ingest_api/test_api_test.exs
darkua/logger_humio_backend
a1ae5a1db339e1a575ea03bf12fa02434374ccae
[ "MIT" ]
null
null
null
test/ingest_api/test_api_test.exs
darkua/logger_humio_backend
a1ae5a1db339e1a575ea03bf12fa02434374ccae
[ "MIT" ]
null
null
null
defmodule Logger.Backend.Humio.IngestApi.TestIngestApiTest do @moduledoc """ An example test for the Test IngestAPI. This serves mainly as an example for how to use the Test IngestAPI in other tests. """ use ExUnit.Case, async: true alias Logger.Backend.Humio.IngestApi setup do IngestApi.Test.start...
22.227273
84
0.719836
9e9293d5eb09b8d162aa9d2a3326476abcb7e7f4
2,312
exs
Elixir
mix.exs
kianmeng/commanded-ecto-projections
aa5a99488e969fe338db780898cb8bd22599df15
[ "MIT" ]
null
null
null
mix.exs
kianmeng/commanded-ecto-projections
aa5a99488e969fe338db780898cb8bd22599df15
[ "MIT" ]
null
null
null
mix.exs
kianmeng/commanded-ecto-projections
aa5a99488e969fe338db780898cb8bd22599df15
[ "MIT" ]
null
null
null
defmodule Commanded.Projections.Ecto.Mixfile do use Mix.Project @version "1.2.1" def project do [ app: :commanded_ecto_projections, version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), aliases: aliases(), description: description(), package:...
21.407407
77
0.535467
9e92dd61d467023c9f506fab1de51820cd3a9967
4,098
ex
Elixir
lib/phoenix/router/scope.ex
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
lib/phoenix/router/scope.ex
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
lib/phoenix/router/scope.ex
knewter/phoenix
191909d97511ab99f9bbcc776cba9988c8b07596
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.Scope do alias Phoenix.Router.Scope @moduledoc false @stack :phoenix_router_scopes @pipes :phoenix_pipeline_scopes defstruct path: nil, alias: nil, as: nil, pipes: [], host: nil @doc """ Initializes the scope. """ def init(module) do Module.put_attribute(module, @stack,...
25.453416
90
0.631528
9e92ec60de22469f6cd43e50faa91cc930937ae9
516
ex
Elixir
lib/scenic_scrollable.ex
zwetsloot-r-j/scenic_scrollable
8904d1f158793a10fe2c8e394ab5fb251b3678ae
[ "MIT" ]
2
2021-11-05T01:31:01.000Z
2022-02-09T19:07:36.000Z
lib/scenic_scrollable.ex
zwetsloot-r-j/scenic_scrollable
8904d1f158793a10fe2c8e394ab5fb251b3678ae
[ "MIT" ]
null
null
null
lib/scenic_scrollable.ex
zwetsloot-r-j/scenic_scrollable
8904d1f158793a10fe2c8e394ab5fb251b3678ae
[ "MIT" ]
2
2021-08-03T22:46:24.000Z
2021-08-03T22:47:41.000Z
defmodule Scenic.Scrollable.Application do @moduledoc """ Starter application using the Scenic framework. """ def start(_type, _args) do import Supervisor.Spec, warn: false # load the viewport configuration from config main_viewport_config = Application.get_env(:scenic_scrollable, :viewport) ...
25.8
77
0.732558
9e9323bef69cfc9bacfa248c9cf0323e3135adc5
860
ex
Elixir
lib/phoenix_client_ssl/verify_issuer.ex
Prato/phoenix-client-ssl
510c2381e6d95c9baa6de9985d86d0a5dfe27b29
[ "MIT" ]
17
2017-12-01T09:12:41.000Z
2021-04-16T07:53:37.000Z
lib/phoenix_client_ssl/verify_issuer.ex
Prato/phoenix-client-ssl
510c2381e6d95c9baa6de9985d86d0a5dfe27b29
[ "MIT" ]
2
2018-01-29T13:04:26.000Z
2018-05-24T11:03:55.000Z
lib/phoenix_client_ssl/verify_issuer.ex
Prato/phoenix-client-ssl
510c2381e6d95c9baa6de9985d86d0a5dfe27b29
[ "MIT" ]
6
2018-05-24T07:42:22.000Z
2020-11-14T17:41:35.000Z
defmodule PhoenixClientSsl.VerifyIssuer do @moduledoc """ Check separate Issuer """ def verify(certificate, :valid_peer, ca_paths) do ca_paths |> Enum.map(&File.read!/1) |> Enum.flat_map(fn contents -> contents |> :public_key.pem_decode() |> Enum.map(fn {_, bin, _} -> bin end) ...
22.051282
74
0.603488
9e93664aa6e1db004141fca8d614d2fb0e277b55
143
ex
Elixir
install/packaging/libsodium/debian/libsodium18.cron.d.ex
GridProtectionAlliance/ARMORE
0e5a73b0343873114b897365976bd956bd9948bb
[ "MIT" ]
8
2016-08-31T20:50:57.000Z
2021-10-04T01:48:37.000Z
install/packaging/libsodium/debian/libsodium18.cron.d.ex
GridProtectionAlliance/ARMORE
0e5a73b0343873114b897365976bd956bd9948bb
[ "MIT" ]
null
null
null
install/packaging/libsodium/debian/libsodium18.cron.d.ex
GridProtectionAlliance/ARMORE
0e5a73b0343873114b897365976bd956bd9948bb
[ "MIT" ]
6
2016-12-26T05:03:16.000Z
2020-04-08T04:30:24.000Z
# # Regular cron jobs for the libsodium18 package # 0 4 * * * root [ -x /usr/bin/libsodium18_maintenance ] && /usr/bin/libsodium18_maintenance
28.6
90
0.727273
9e93ca9a4f4d493104fec58d8794f2b2695437ca
3,731
ex
Elixir
lib/codes/codes_k59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_k59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_k59.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_K59 do alias IcdCode.ICDCode def _K5900 do %ICDCode{full_code: "K5900", category_code: "K59", short_code: "00", full_name: "Constipation, unspecified", short_name: "Constipation, unspecified", category_name: "Constipation, unspecif...
30.08871
74
0.597695
9e93cac75b910b87dbe8e0c74708d85e72d8dbcf
735
ex
Elixir
lib/util/mod_util.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/util/mod_util.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/util/mod_util.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
defmodule ElixirRPG.Util.ModUtil do def get_entity_types do {:ok, mods} = :application.get_key(:elixir_rpg, :modules) mods |> Enum.filter(fn mod -> parts = Module.split(mod) match?(["ElixirRPG", "EntityTypes" | _], parts) end) end def get_component_types do {:ok, mods} = :applica...
22.96875
61
0.617687
9e93ce839b75500ca51a8e129832ecc91581fe4a
1,364
exs
Elixir
source/elixir_clients/doorpi/apps/fw/mix.exs
rveshovda/pifog
127c2de6ff2666ebc9987d8c2cfd5431ce5ff888
[ "Apache-2.0" ]
1
2017-07-05T06:47:57.000Z
2017-07-05T06:47:57.000Z
source/elixir_clients/doorpi/apps/fw/mix.exs
royveshovda/pifog
127c2de6ff2666ebc9987d8c2cfd5431ce5ff888
[ "Apache-2.0" ]
null
null
null
source/elixir_clients/doorpi/apps/fw/mix.exs
royveshovda/pifog
127c2de6ff2666ebc9987d8c2cfd5431ce5ff888
[ "Apache-2.0" ]
null
null
null
defmodule Fw.Mixfile do use Mix.Project @target System.get_env("NERVES_TARGET") || "rpi" def project do [app: :fw, version: "0.1.0", target: @target, archives: [nerves_bootstrap: "~> 0.2.1"], deps_path: "../../deps/#{@target}", build_path: "../../_build/#{@target}", config_pat...
23.929825
69
0.565249
9e93f7cdc0185683190ebbb09ec3bb9b17d25d70
2,526
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_query_input.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2019-01-03T22:30:36.000Z
2019-01-03T22:30:36.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_query_input.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_query_input.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
45.927273
252
0.77118
9e9407f7209d70673c44634c0e000f6280c3ec38
2,744
exs
Elixir
config/prod.exs
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "MIT" ]
null
null
null
config/prod.exs
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "MIT" ]
null
null
null
config/prod.exs
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "MIT" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # CapPhoenixReactWebpackWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be don...
36.586667
89
0.741618
9e9408b58684ad78e45c6662ba079a05097930f6
565
ex
Elixir
priv/templates/phoenix.gen.json/changeset_view.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
8
2019-06-02T05:02:36.000Z
2021-08-11T04:23:10.000Z
priv/templates/phoenix.gen.json/changeset_view.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
7
2019-05-15T08:32:51.000Z
2020-06-10T07:46:43.000Z
priv/templates/phoenix.gen.json/changeset_view.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
2
2020-08-02T04:00:17.000Z
2020-10-07T16:07:37.000Z
defmodule <%= base %>.ChangesetView do use <%= base %>.Web, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `<%= base %>.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(change...
28.25
65
0.702655
9e94723a898f7052979ae26c98a480b925b1e494
8,986
exs
Elixir
test/client_tests/arrays_test.exs
juljimm/opex62541
c44c157213a8a3fb07283f6e697e6dd018693315
[ "MIT" ]
null
null
null
test/client_tests/arrays_test.exs
juljimm/opex62541
c44c157213a8a3fb07283f6e697e6dd018693315
[ "MIT" ]
null
null
null
test/client_tests/arrays_test.exs
juljimm/opex62541
c44c157213a8a3fb07283f6e697e6dd018693315
[ "MIT" ]
null
null
null
defmodule ClientArraysTest do use ExUnit.Case, async: false alias OpcUA.{NodeId, Server, QualifiedName, Client} setup do {:ok, pid} = OpcUA.Server.start_link() Server.set_default_config(pid) {:ok, ns_index} = OpcUA.Server.add_namespace(pid, "Room") # Object Node requested_new_node_id = ...
38.076271
111
0.69931
9e9476cabe73d1ec68776a12f1c9c8341e4a5337
7,723
ex
Elixir
lib/witchcraft/monad.ex
peksapro/witchcraft
d821ebf74777805b260a705380bde8ca837d18a5
[ "MIT" ]
1
2019-10-04T11:32:01.000Z
2019-10-04T11:32:01.000Z
lib/witchcraft/monad.ex
peksapro/witchcraft
d821ebf74777805b260a705380bde8ca837d18a5
[ "MIT" ]
null
null
null
lib/witchcraft/monad.ex
peksapro/witchcraft
d821ebf74777805b260a705380bde8ca837d18a5
[ "MIT" ]
null
null
null
import TypeClass defclass Witchcraft.Monad do @moduledoc """ Very similar to `Chain`, `Monad` provides a way to link actions, and a way to bring plain values into the correct context (`Applicative`). This allows us to view actions in a full framework along the lines of functor and applicative: ...
24.993528
140
0.513013
9e9492ad622fe82e4259fef9483b1a7919eb00eb
1,691
ex
Elixir
lib/retrospectivex_web/controllers/retrospectives/board_controller.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
lib/retrospectivex_web/controllers/retrospectives/board_controller.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
lib/retrospectivex_web/controllers/retrospectives/board_controller.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
defmodule RetrospectivexWeb.Retrospectives.BoardController do use RetrospectivexWeb, :controller alias Retrospectivex.Retrospectives alias Retrospectivex.Retrospectives.Schemas.Board def new(conn, _params) do changeset = Retrospectives.change_board(%Board{state: :opened}) render(conn, "new.html", chan...
33.82
87
0.633353
9e94db9b7be567c0110c01e34b791e2473f3011f
1,328
ex
Elixir
lib/structs/attachment.ex
Drahcirius/crux_structs
53ba17c6ab0adfadbf69e236ec936fed8015420e
[ "MIT" ]
null
null
null
lib/structs/attachment.ex
Drahcirius/crux_structs
53ba17c6ab0adfadbf69e236ec936fed8015420e
[ "MIT" ]
null
null
null
lib/structs/attachment.ex
Drahcirius/crux_structs
53ba17c6ab0adfadbf69e236ec936fed8015420e
[ "MIT" ]
null
null
null
defmodule Crux.Structs.Attachment do @moduledoc """ Represents a Discord [Attachment Object](https://discordapp.com/developers/docs/resources/channel#attachment-object-attachment-structure) Height and width are only present for images. """ @behaviour Crux.Structs alias Crux.Structs.{Attachment, Snowf...
22.508475
141
0.615211
9e94ec1a111c9b77992b18d6235cd64d860c8f8c
2,457
ex
Elixir
lib/mix/tasks/generate.answers.ex
sparrell/quizquadaminos
6388252b7c32aa4101486cbf45d0d57d4e3a79da
[ "MIT" ]
1
2022-01-11T20:06:31.000Z
2022-01-11T20:06:31.000Z
lib/mix/tasks/generate.answers.ex
sFractal-Podii/quizquadaminos
4c9023b9c6212a92741b0f21d9eb05871aa73916
[ "MIT" ]
484
2021-02-15T18:43:40.000Z
2022-03-29T12:27:24.000Z
lib/mix/tasks/generate.answers.ex
sFractal-Podii/quizquadaminos
4c9023b9c6212a92741b0f21d9eb05871aa73916
[ "MIT" ]
8
2021-02-15T19:12:51.000Z
2021-12-15T03:02:46.000Z
defmodule Mix.Tasks.Gen.Answers do use Mix.Task @directories ["qna", "courses"] require Logger @shortdoc "Generates json file answers to the specified directory" def run(names) do validate_directory_name(names) names = case names do [] -> @directories names -> names end ...
22.135135
92
0.571429
9e94f8102c14069988c665b1711032026e12a12e
9,776
ex
Elixir
lib/vintage_net_wifi/wpa_supplicant_decoder.ex
dognotdog/vintage_net_wifi
3e2904a46d04ae7982f53f1e471d1cd599dc5142
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wifi/wpa_supplicant_decoder.ex
dognotdog/vintage_net_wifi
3e2904a46d04ae7982f53f1e471d1cd599dc5142
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wifi/wpa_supplicant_decoder.ex
dognotdog/vintage_net_wifi
3e2904a46d04ae7982f53f1e471d1cd599dc5142
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetWiFi.WPASupplicantDecoder do @moduledoc false require Logger @doc """ Decode notifications from the wpa_supplicant """ def decode_notification(<<"CTRL-REQ-", rest::binary>>) do [field, net_id, text] = String.split(rest, "-", parts: 3, trim: true) {:interactive, "CTRL-REQ-" <> f...
34.666667
217
0.655381
9e950cd4a5acd9b4cc45b3daf9f77a88d9dcda68
934
exs
Elixir
test/doumi/datetime_helper_test.exs
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
1
2020-08-25T23:43:51.000Z
2020-08-25T23:43:51.000Z
test/doumi/datetime_helper_test.exs
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
null
null
null
test/doumi/datetime_helper_test.exs
nallwhy/doumi
6324c340e0ad1974000f7ce2903fc0cccfae12f4
[ "MIT" ]
null
null
null
defmodule Doumi.DateTimeHelperTest do use ExUnit.Case, async: true alias Doumi.DateTimeHelper test "now_s/0 returns current datetime with second precision" do assert %{microsecond: {_, 0}} = DateTimeHelper.now_s() end test "now_ms/0 returns current datetime with millisecond precision" do assert %{mi...
29.1875
77
0.718415
9e952e98fd37d112019a2130894304f8ff0cf5fb
6,585
ex
Elixir
apps/core/test/support/ops_factories/medication_request_factory.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/test/support/ops_factories/medication_request_factory.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/test/support/ops_factories/medication_request_factory.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.OPSFactories.MedicationRequestFactory do @moduledoc false alias Ecto.UUID defmacro __using__(_opts) do quote do def medication_request_factory do %{ id: UUID.generate(), status: "ACTIVE", inserted_by: UUID.generate(), updated_by: UUID.gene...
31.061321
123
0.364465
9e9531cb7127e8a86bc61e88e34ace7d18981a29
1,899
ex
Elixir
apps/meeple_web/lib/meeple_web/live/board_live/map.ex
grrrisu/meeple
428762a58a94306a6643b09c08d72fb2883a0309
[ "MIT" ]
null
null
null
apps/meeple_web/lib/meeple_web/live/board_live/map.ex
grrrisu/meeple
428762a58a94306a6643b09c08d72fb2883a0309
[ "MIT" ]
13
2021-12-24T23:44:10.000Z
2022-03-04T20:56:28.000Z
apps/meeple_web/lib/meeple_web/live/board_live/map.ex
grrrisu/meeple
428762a58a94306a6643b09c08d72fb2883a0309
[ "MIT" ]
null
null
null
defmodule MeepleWeb.BoardLive.Map do use MeepleWeb, :live_component require Logger alias Meeple.Board alias MeepleWeb.BoardLive.{Field, FieldCard} def update(assigns, socket) do {:ok, socket |> assign(assigns) |> assign_dimensions() |> assign( field_detail: nil, detail_...
27.128571
131
0.598736
9e954746f04cf0710846936ba8882b244d35984d
333
exs
Elixir
priv/repo/migrations/20160318123924_add_login_logs.exs
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
184
2015-11-23T20:51:50.000Z
2022-03-30T01:01:39.000Z
priv/repo/migrations/20160318123924_add_login_logs.exs
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
15
2015-11-26T16:00:20.000Z
2018-05-25T20:13:39.000Z
priv/repo/migrations/20160318123924_add_login_logs.exs
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
21
2015-11-26T21:34:40.000Z
2022-03-26T02:56:42.000Z
defmodule ExMoney.Repo.Migrations.AddLoginLogs do use Ecto.Migration def change do create table(:login_logs) do add :login_id, references(:logins, on_delete: :delete_all) add :callback, :string add :event, :string add :description, :string add :params, :map timestamps e...
20.8125
64
0.666667
9e95714d04190b8bfa707913186492f1d99dfd01
278
ex
Elixir
example/lib/kantele/character/views/registration_view.ex
fugufish/kalevala
34d9e63fac0e51ae5c0f40da340c9f3eaaed6b94
[ "MIT" ]
125
2020-02-09T17:05:27.000Z
2022-03-31T03:31:00.000Z
example/lib/kantele/character/views/registration_view.ex
fugufish/kalevala
34d9e63fac0e51ae5c0f40da340c9f3eaaed6b94
[ "MIT" ]
19
2020-02-20T02:36:38.000Z
2021-08-03T16:24:19.000Z
example/lib/kantele/character/views/registration_view.ex
fugufish/kalevala
34d9e63fac0e51ae5c0f40da340c9f3eaaed6b94
[ "MIT" ]
8
2020-04-07T05:06:20.000Z
2021-11-20T06:43:14.000Z
defmodule Kantele.Character.RegistrationView do use Kalevala.Character.View alias Kalevala.Character.Conn.EventText def render("password", _assigns) do %EventText{ topic: "Registration.PromptPassword", data: %{}, text: "Password: " } end end
19.857143
47
0.68705
9e95998e172a4de71314132090754008f5339902
53
ex
Elixir
lib/phoenix_inline_svg.ex
sparta-developers/phoenix_inline_svg
abb6484e7efc12fff87a0cca7df15aa0e2857702
[ "MIT" ]
58
2016-07-19T13:45:57.000Z
2022-03-04T15:45:35.000Z
lib/phoenix_inline_svg.ex
sparta-developers/phoenix_inline_svg
abb6484e7efc12fff87a0cca7df15aa0e2857702
[ "MIT" ]
44
2016-07-20T22:27:03.000Z
2021-05-06T22:06:28.000Z
lib/phoenix_inline_svg.ex
sparta-developers/phoenix_inline_svg
abb6484e7efc12fff87a0cca7df15aa0e2857702
[ "MIT" ]
33
2017-01-27T20:15:25.000Z
2022-03-02T16:32:07.000Z
defmodule PhoenixInlineSvg do @moduledoc false end
13.25
29
0.830189
9e959f9c54992a49825fd9bd5bbb515b9fe9fa15
2,054
ex
Elixir
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_workload_fedramp_high_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_workload_fedramp_high_settings.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/assured_workloads/lib/google_api/assured_workloads/v1beta1/model/google_cloud_assuredworkloads_v1beta1_workload_fedramp_high_settings.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...
34.813559
224
0.772152
9e95afe6d3a9455fd91537725e1421d5b351b94a
923
ex
Elixir
lib/extensions/persistent_session/plug.ex
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
1
2021-06-25T10:36:01.000Z
2021-06-25T10:36:01.000Z
lib/extensions/persistent_session/plug.ex
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
lib/extensions/persistent_session/plug.ex
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
1
2020-07-13T01:11:17.000Z
2020-07-13T01:11:17.000Z
defmodule PowPersistentSession.Plug do @moduledoc """ Plug helper methods. """ alias Plug.Conn alias Pow.Config @doc """ Create a new persistent session in the connection for user. """ @spec create(Conn.t(), map()) :: Conn.t() def create(conn, user) do {plug, config} = pow_persistent_session(co...
24.945946
144
0.707476
9e95f152b8a928c557d6048ef626c3cb52460a1d
55
ex
Elixir
web/views/user_view.ex
tedstrauss/sonar
65de7a9a78eae9fd4e02f5abdf00f9fdec19b081
[ "MIT" ]
1
2020-07-17T14:02:31.000Z
2020-07-17T14:02:31.000Z
web/views/user_view.ex
tedstrauss/sonar
65de7a9a78eae9fd4e02f5abdf00f9fdec19b081
[ "MIT" ]
null
null
null
web/views/user_view.ex
tedstrauss/sonar
65de7a9a78eae9fd4e02f5abdf00f9fdec19b081
[ "MIT" ]
1
2019-12-02T17:51:36.000Z
2019-12-02T17:51:36.000Z
defmodule Sonar.UserView do use Sonar.Web, :view end
13.75
27
0.763636
9e95fce30b8d713ff1e95dc947a482738f9f36da
1,869
ex
Elixir
lib/happy_with.ex
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
29
2016-09-25T21:32:29.000Z
2021-02-12T15:19:01.000Z
lib/happy_with.ex
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
3
2017-01-18T09:06:37.000Z
2018-04-15T17:52:21.000Z
lib/happy_with.ex
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
3
2017-02-08T09:12:30.000Z
2017-12-14T08:20:25.000Z
defmodule HappyWith do @doc ~S""" Rewrites the given block and else clauses into Elixir's standard `with` form. iex> import HappyWith iex> happy_with do ...> {:ok, name} <- {:ok, "joSE"} ...> lower = String.downcase(name) ...> lower ...> end "jose" You can also p...
31.15
98
0.542536
9e96001d82ec807893e99a26ba8c1ec045026790
1,016
ex
Elixir
lib/phx_api/application.ex
trevligare/phx_api
ea622cfe15b2c3248374a70aaa65edca53cc3171
[ "MIT" ]
null
null
null
lib/phx_api/application.ex
trevligare/phx_api
ea622cfe15b2c3248374a70aaa65edca53cc3171
[ "MIT" ]
null
null
null
lib/phx_api/application.ex
trevligare/phx_api
ea622cfe15b2c3248374a70aaa65edca53cc3171
[ "MIT" ]
null
null
null
defmodule PhxApi.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
31.75
84
0.711614
9e9633885f0bbdda9201f6a2ab24686bc8e054b3
532
ex
Elixir
lib/epi_locator_web/plugs/put_request_id_on_session.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
null
null
null
lib/epi_locator_web/plugs/put_request_id_on_session.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
6
2021-10-19T01:55:57.000Z
2022-02-15T01:04:19.000Z
lib/epi_locator_web/plugs/put_request_id_on_session.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
2
2022-01-21T08:38:50.000Z
2022-01-21T08:42:04.000Z
defmodule EpiLocatorWeb.Plugs.PutRequestIdOnSession do @moduledoc """ Plug that puts the request_id on the session. This is done so that a liveview can read the request_id value regardless of whether it's disconnected, i.e., a regular stateless connection, or connected, i.e., a websocket connection. """ ...
28
80
0.721805
9e96459223ff3e09f07416fa6036497016587fb1
1,294
exs
Elixir
elixir/change/change_test.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/change/change_test.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
elixir/change/change_test.exs
macborowy/exercism
c5d45e074e81b946a82a340b2730e0d2732b7e0a
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("change.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule ChangeTest do use ExUnit.Case test "returns :error on empty list" do assert Change.generate(1, []) == :error end # @tag :pending test "generates the...
28.755556
76
0.625966
9e9672a5eb0ae249b9b692446d358a8c6ab79a9a
2,263
ex
Elixir
apps/admin_app/lib/admin_app_web.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
1
2021-04-08T22:29:19.000Z
2021-04-08T22:29:19.000Z
apps/admin_app/lib/admin_app_web.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
defmodule AdminAppWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use AdminAppWeb, :controller use AdminAppWeb, :view The definitions below will be executed for every view, controlle...
25.426966
69
0.673884
9e9679198da896a27da377ccd52efc0688876b74
3,333
exs
Elixir
test/advisory_locks_test.exs
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
test/advisory_locks_test.exs
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
test/advisory_locks_test.exs
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
defmodule EventStore.AdvisoryLocksTest do use EventStore.StorageCase alias EventStore.{AdvisoryLocks, Config, Wait} alias EventStore.Storage @locks TestEventStore.EventStore.AdvisoryLocks @conn TestEventStore.EventStore.AdvisoryLocks.Postgrex setup do postgrex_config = Config.parsed(TestEventStore, :...
29.495575
100
0.673267
9e9692218f60d4d98a4bc1d5defa928f5d1e39f7
504
exs
Elixir
test/type_test.exs
PokemonTCG/pokemon-tcg-sdk-elixir
f8866044f4a5439408e04b7a68e893a8bbc1712c
[ "MIT" ]
7
2016-09-01T14:33:45.000Z
2021-10-01T03:42:06.000Z
test/type_test.exs
PokemonTCG/pokemon-tcg-sdk-elixir
f8866044f4a5439408e04b7a68e893a8bbc1712c
[ "MIT" ]
1
2016-09-06T02:03:22.000Z
2016-09-08T01:03:11.000Z
test/type_test.exs
PokemonTCG/pokemon-tcg-sdk-elixir
f8866044f4a5439408e04b7a68e893a8bbc1712c
[ "MIT" ]
3
2017-11-21T16:01:51.000Z
2021-10-01T03:42:07.000Z
defmodule Pokemon.TypeTest do use ExUnit.Case use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney setup_all do ExVCR.Config.cassette_library_dir("fixture/vcr_cassettes", "fixture/custom_cassettes") end test "resource returns types" do assert Pokemon.Type.resource === "types" end test "test_all_retur...
24
90
0.710317
9e96bd58590eae7fcdf1b2ac7a6ccadc348146dc
67
ex
Elixir
lib/peepchat/repo.ex
nihonjinrxs/peep-stack-tutorial-app
8c10b2b589d645ba5a3e31f86754828579e139c9
[ "MIT" ]
1
2020-12-23T18:28:54.000Z
2020-12-23T18:28:54.000Z
lib/peepchat/repo.ex
AbdullahDahmash/peep-stack-api-tutorial
3e6d98be33fbee0ae79022e6a74940e0ea70cc96
[ "MIT" ]
null
null
null
lib/peepchat/repo.ex
AbdullahDahmash/peep-stack-api-tutorial
3e6d98be33fbee0ae79022e6a74940e0ea70cc96
[ "MIT" ]
null
null
null
defmodule Peepchat.Repo do use Ecto.Repo, otp_app: :peepchat end
16.75
35
0.776119
9e96c69505008acb817e2cdb01b209cf602ea807
2,407
exs
Elixir
mix.exs
polvalente/joken
bccf3c6d203afd3611437af8369b2b87a5be24a0
[ "Apache-2.0" ]
null
null
null
mix.exs
polvalente/joken
bccf3c6d203afd3611437af8369b2b87a5be24a0
[ "Apache-2.0" ]
null
null
null
mix.exs
polvalente/joken
bccf3c6d203afd3611437af8369b2b87a5be24a0
[ "Apache-2.0" ]
null
null
null
defmodule Joken.Mixfile do use Mix.Project @version "2.1.0" def project do [ app: :joken, version: @version, name: "Joken", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, consolidate_protocols: Mix.env() != :test, ...
24.313131
76
0.544246
9e96ec3899932c1f10eab91b15d4b21c544d1296
91
exs
Elixir
apps/nerves_hub_device/test/nerves_hub_device_web/channels/device_channel_test.exs
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
1
2020-08-04T14:13:24.000Z
2020-08-04T14:13:24.000Z
apps/nerves_hub_device/test/nerves_hub_device_web/channels/device_channel_test.exs
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
1
2020-09-08T15:15:50.000Z
2020-09-08T16:13:28.000Z
apps/nerves_hub_device/test/nerves_hub_device_web/channels/device_channel_test.exs
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubDeviceWeb.DeviceChannelTest do use NervesHubDeviceWeb.ChannelCase end
22.75
49
0.89011
9e96f78191f430455564aeeef4392d6766659f31
995
exs
Elixir
test/get_trail_status_test.exs
fmcgeough/ex_aws_cloud_trail
30346e5c11acf9dc5d133635b8025fe659e9f957
[ "MIT" ]
null
null
null
test/get_trail_status_test.exs
fmcgeough/ex_aws_cloud_trail
30346e5c11acf9dc5d133635b8025fe659e9f957
[ "MIT" ]
null
null
null
test/get_trail_status_test.exs
fmcgeough/ex_aws_cloud_trail
30346e5c11acf9dc5d133635b8025fe659e9f957
[ "MIT" ]
null
null
null
defmodule GetTrailStatusTest do use ExUnit.Case # Returned data from get_trail_status looks like this: # # {:ok, # %{ # "IsLogging" => true, # "LatestDeliveryAttemptSucceeded" => "2019-01-28T19:56:09Z", # "LatestDeliveryAttemptTime" => "2019-01-28T19:56:09Z", # "LatestDeliveryTime" => 15...
31.09375
68
0.625126
9e972f31681bc62bf7165d0bdb68b145f29c01b6
1,900
ex
Elixir
clients/my_business_verifications/lib/google_api/my_business_verifications/v1/model/email_verification_data.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/model/email_verification_data.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/model/email_verification_data.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.849057
128
0.721579
9e978131bfd6ffdee2b9907493b616b6f85f8d0a
1,144
ex
Elixir
lib/format_parser/font.ex
ahtung/format_parser.ex
b4c858f9f3dedd8e62ac17b633d951eb247b7c1f
[ "Apache-2.0" ]
21
2018-02-17T18:49:37.000Z
2020-03-13T11:14:30.000Z
lib/format_parser/font.ex
ahtung/format_parser.ex
b4c858f9f3dedd8e62ac17b633d951eb247b7c1f
[ "Apache-2.0" ]
20
2018-02-15T07:17:56.000Z
2021-01-13T13:08:49.000Z
lib/format_parser/font.ex
dunyakirkali/format_parser.ex
418a6ff5d83be4bcaaa057b4f7eb652c1add2ae6
[ "Apache-2.0" ]
1
2020-01-28T09:39:00.000Z
2020-01-28T09:39:00.000Z
defmodule FormatParser.Font do alias __MODULE__ @moduledoc """ A Font struct and functions. The Font struct contains the fields format and nature. """ defstruct [:format, nature: :font] @doc """ Parses a file and extracts some information from it. Takes a `binary file` as argument. Returns a s...
20.8
114
0.645105
9e978378dd86608d5b9ef8c22eae6a6e0b94d050
1,320
ex
Elixir
lib/timber_phoenix/application.ex
treble37/timber-elixir-phoenix
4023b69576a4d2e9029bdee6bd5ce7265973821a
[ "0BSD" ]
3
2019-03-05T21:59:33.000Z
2020-01-05T13:00:23.000Z
lib/timber_phoenix/application.ex
treble37/timber-elixir-phoenix
4023b69576a4d2e9029bdee6bd5ce7265973821a
[ "0BSD" ]
9
2018-12-21T21:19:03.000Z
2020-04-27T09:35:02.000Z
lib/timber_phoenix/application.ex
treble37/timber-elixir-phoenix
4023b69576a4d2e9029bdee6bd5ce7265973821a
[ "0BSD" ]
6
2019-02-24T20:14:41.000Z
2020-05-15T01:00:38.000Z
defmodule Timber.Phoenix.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Starts a worker by calling: Timber.Phoenix....
28.085106
102
0.669697
9e978e37eeb162666289d5cb64c4f2fa4328e3d4
1,347
ex
Elixir
exercise1/lib/exercise1.ex
aspiringastro/programming-elixir
ec2167268c06bbb72b2bda26caa469333daccb63
[ "MIT" ]
null
null
null
exercise1/lib/exercise1.ex
aspiringastro/programming-elixir
ec2167268c06bbb72b2bda26caa469333daccb63
[ "MIT" ]
null
null
null
exercise1/lib/exercise1.ex
aspiringastro/programming-elixir
ec2167268c06bbb72b2bda26caa469333daccb63
[ "MIT" ]
null
null
null
defmodule Exercise1 do @moduledoc """ Documentation for Exercise1. """ @doc """ Hello world. ## Examples iex> Exercise1.hello() :world """ def hello do :world end @doc """ iex> Exercise1.list_concat([1,2,3], [4,5,6]) [1,2,3,4,5,6] """ def list_concat(list1, l...
17.050633
83
0.548627
9e97a28b706a3aa86ee5d949df9036f3828f62b7
15,099
ex
Elixir
clients/container/lib/google_api/container/v1/model/cluster.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/cluster.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/cluster.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
84.825843
802
0.736936
9e97b627d32441af11dd34dfc0cf6fb6d9537b2a
53,718
ex
Elixir
lib/aws/ses.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/ses.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/ses.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.SES do @moduledoc """ Amazon Simple Email Service This document contains reference information for the [Amazon Simple Email Service](https://aws.amazon.com/ses/) (Amazon SES) API, version...
41.545244
112
0.749004
9e97dcab050970ab881869b6f9c69d66a613bea3
14,501
ex
Elixir
lib/elixir/lib/process.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/process.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/process.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
defmodule Process do @moduledoc """ Conveniences for working with processes and the process dictionary. Besides the functions available in this module, the `Kernel` module exposes and auto-imports some basic functionality related to processes available through the functions: * `Kernel.spawn/1` and `Kern...
31.184946
118
0.682436
9e9817e369ed933c755de46fc7a4e020c5892796
333
ex
Elixir
lib/hex.ex
joshchernoff/hagrid
53e6b6a8af5be670532725900af8df0623a098c5
[ "Unlicense" ]
2
2018-07-14T20:32:19.000Z
2019-12-03T20:01:56.000Z
lib/hex.ex
joshchernoff/hagrid
53e6b6a8af5be670532725900af8df0623a098c5
[ "Unlicense" ]
null
null
null
lib/hex.ex
joshchernoff/hagrid
53e6b6a8af5be670532725900af8df0623a098c5
[ "Unlicense" ]
null
null
null
defmodule HexApi do @api "https://hex.pm/api/packages" def search query do query |> build_request |> HTTPoison.get |> parse end def build_request query do @api <> "?limit=10&sort=downloads&search=" <> query end defp parse {:ok, %HTTPoison.Response{body: body}} do Poison.decode(bod...
17.526316
55
0.645646
9e984281d77fa1e9bf664cf31d657e4415e7806d
3,454
exs
Elixir
test/live_component_events_test.exs
alexandrubagu/surface
b8ef74444e53f8325fb793fa1399966c2a4b1e7a
[ "MIT" ]
null
null
null
test/live_component_events_test.exs
alexandrubagu/surface
b8ef74444e53f8325fb793fa1399966c2a4b1e7a
[ "MIT" ]
null
null
null
test/live_component_events_test.exs
alexandrubagu/surface
b8ef74444e53f8325fb793fa1399966c2a4b1e7a
[ "MIT" ]
1
2020-04-21T18:49:15.000Z
2020-04-21T18:49:15.000Z
defmodule Surface.EventsTest do use ExUnit.Case use Phoenix.ConnTest import Phoenix.LiveViewTest import ComponentTestHelper @endpoint Endpoint defmodule LiveDiv do use Surface.LiveComponent def render(assigns) do ~H""" <div>Live div</div> """ end end defmodule Button do...
20.19883
86
0.56022
9e9847faa38c82f1dd3194e321246ead8e960a55
452
ex
Elixir
lib/bpmn/activity/task/user.ex
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
13
2017-09-19T17:49:59.000Z
2021-09-21T18:20:15.000Z
lib/bpmn/activity/task/user.ex
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
7
2017-10-17T16:44:37.000Z
2017-11-14T23:40:40.000Z
lib/bpmn/activity/task/user.ex
Around25/hashiru-bpmn
56271b700b71ecef409f932dbacb02392f403be9
[ "Apache-2.0" ]
3
2017-10-21T08:23:26.000Z
2021-09-10T14:27:07.000Z
defmodule Bpmn.Activity.Task.User do @moduledoc """ Handle passing the token through an event element. """ @doc """ Receive the token for the element and decide if the business logic should be executed """ def tokenIn(elem, context), do: execute(elem, context) defp tokenOut(elem, context), do: {:not_im...
26.588235
87
0.70354