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
930c9a1da35e50e29f2d03cd7e6ae8146733549f
12,259
ex
Elixir
lib/ecto/adapters/mysql.ex
fahchen/ecto_sql
2e3510a13639828e0ebda8ea2b6a2a5a5782e109
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/mysql.ex
fahchen/ecto_sql
2e3510a13639828e0ebda8ea2b6a2a5a5782e109
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/mysql.ex
fahchen/ecto_sql
2e3510a13639828e0ebda8ea2b6a2a5a5782e109
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.MySQL do @moduledoc """ Adapter module for MySQL. It uses `Mariaex` for communicating to the database. Currently it supports old MySQL versions but upcoming Ecto releases will require 5.7+. ## Options MySQL options split in different categories described below. All options can...
33.494536
109
0.64989
930ca7c3e37891798c8af40d3656c006b5b8f545
2,345
ex
Elixir
lib/bgsite_official_web/controllers/admin_settings_controller.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
1
2021-08-05T12:44:37.000Z
2021-08-05T12:44:37.000Z
lib/bgsite_official_web/controllers/admin_settings_controller.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
16
2021-02-20T19:22:45.000Z
2021-06-14T13:59:01.000Z
lib/bgsite_official_web/controllers/admin_settings_controller.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
3
2021-05-17T17:54:43.000Z
2021-11-03T15:30:30.000Z
defmodule BgsiteOfficialWeb.AdminSettingsController do use BgsiteOfficialWeb, :controller alias BgsiteOfficial.Accounts alias BgsiteOfficialWeb.AdminAuth plug :assign_email_and_password_changesets def edit(conn, _params) do render(conn, "edit.html") end def update(conn, %{"action" => "update_email...
31.266667
81
0.663966
930cae985f3bc25cd281466609674e71d5a2d2c0
7,306
ex
Elixir
apps/site/lib/site_web/controllers/search_controller.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/lib/site_web/controllers/search_controller.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/lib/site_web/controllers/search_controller.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.SearchController do @moduledoc false use SiteWeb, :controller require Logger import Site.ResponsivePagination, only: [build: 1] import SiteWeb.Router.Helpers, only: [search_path: 2] alias Alerts.{Alert, Repo} alias Algolia.{Analytics, Api, Query} alias CMS.Search.{Facets, Result} ...
28.1
92
0.632083
930cd779f7b8c800b302b954992f991358cd4c9f
3,653
exs
Elixir
test/phx_chirp_web/live/post_live_test.exs
dannyh79/15m_phx_twitter
b8639c12e8f01eb46dab4f82600854e13fa1ecdc
[ "MIT" ]
null
null
null
test/phx_chirp_web/live/post_live_test.exs
dannyh79/15m_phx_twitter
b8639c12e8f01eb46dab4f82600854e13fa1ecdc
[ "MIT" ]
10
2020-05-19T14:13:34.000Z
2021-06-13T13:16:43.000Z
test/phx_chirp_web/live/post_live_test.exs
dannyh79/15m_phx_twitter
b8639c12e8f01eb46dab4f82600854e13fa1ecdc
[ "MIT" ]
1
2020-05-19T13:37:01.000Z
2020-05-19T13:37:01.000Z
defmodule PhxChirpWeb.PostLiveTest do use PhxChirpWeb.ConnCase import Phoenix.LiveViewTest alias PhxChirp.Timeline @create_attrs %{body: "some body", likes_count: 42, reposts_count: 42, username: "some username"} @update_attrs %{body: "some updated body", likes_count: 43, reposts_count: 43, username: "some...
31.222222
115
0.617027
930cde9725083c69dbd92c7da768d4f961964ea1
482
exs
Elixir
test/models/tag_test.exs
anthonyfalzetti/beanie
72ab49e6c058a21c24b0be151744fb8d525164aa
[ "MIT" ]
2
2018-07-08T10:38:34.000Z
2020-01-14T03:48:30.000Z
test/models/tag_test.exs
anthonyfalzetti/beanie
72ab49e6c058a21c24b0be151744fb8d525164aa
[ "MIT" ]
11
2016-09-29T20:41:59.000Z
2017-11-13T04:03:14.000Z
test/models/tag_test.exs
anthonyfalzetti/beanie
72ab49e6c058a21c24b0be151744fb8d525164aa
[ "MIT" ]
8
2016-10-03T14:20:43.000Z
2018-10-17T01:12:44.000Z
defmodule Beanie.TagTest do use Beanie.ModelCase alias Beanie.Tag @valid_attrs %{creation_timestamp: %{day: 17, hour: 14, min: 0, month: 4, sec: 0, year: 2010}, name: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Tag.changeset(%Tag{}, @valid_attrs) assert ...
25.368421
118
0.69917
930ce466b956c07eb78c35cccb24ec39e4174ebe
59
ex
Elixir
lib/colly_web/views/layout_view.ex
nidhindamodaran/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
null
null
null
lib/colly_web/views/layout_view.ex
nidhindamodaran/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
4
2020-05-30T13:25:44.000Z
2021-05-11T13:32:44.000Z
lib/colly_web/views/layout_view.ex
nidhinnambiar/colly
aaf5076afa24ea69ec084f19c5617f6808b40ade
[ "MIT" ]
null
null
null
defmodule CollyWeb.LayoutView do use CollyWeb, :view end
14.75
32
0.79661
930d06ed97f9c322397237e6bfac04510b1af0ed
279
exs
Elixir
test/club/brands/commands/delete_brand_test.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
test/club/brands/commands/delete_brand_test.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
34
2019-11-10T11:31:37.000Z
2019-11-27T21:26:48.000Z
test/club/brands/commands/delete_brand_test.exs
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
defmodule Club.Brands.Commands.DeleteBrandTest do use Club.CommandCase, command: Club.Brands.Commands.DeleteBrand, factory: :delete_brand required_fields([ :brand_uuid ]) fields( Ecto.UUID, [ :brand_uuid ] ) basic_command_tests() end
14.684211
49
0.673835
930d09b1fb126549c87bed7f4cd62fbfba7bb594
17,041
ex
Elixir
lib/iex/lib/iex/helpers.ex
gsphanikumar/elixir
6ca225da4e016200a462888348ff1c3feb625b78
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/iex/lib/iex/helpers.ex
alco/elixir
4407170349aa12c58664cab2122374167e827f5e
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
alco/elixir
4407170349aa12c58664cab2122374167e827f5e
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Helpers do @moduledoc """ Welcome to Interactive Elixir. You are currently seeing the documentation for the module `IEx.Helpers` which provides many helpers to make Elixir's shell more joyful to work with. This message was triggered by invoking the helper `h()`, usually referred to as `h/0`...
26.338485
95
0.617745
930d140ab208e1ea818238787df1366a3430dc34
481
ex
Elixir
lib/meeseeks/selector/element/attribute/value.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
291
2017-03-27T15:53:36.000Z
2022-03-14T23:01:42.000Z
lib/meeseeks/selector/element/attribute/value.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
70
2017-03-30T23:32:34.000Z
2021-06-27T06:26:28.000Z
lib/meeseeks/selector/element/attribute/value.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
23
2017-06-18T10:29:04.000Z
2021-11-04T13:08:12.000Z
defmodule Meeseeks.Selector.Element.Attribute.Value do use Meeseeks.Selector @moduledoc false alias Meeseeks.Document alias Meeseeks.Selector.Element.Attribute.Helpers defstruct attribute: nil, value: nil @impl true def match(selector, %Document.Element{} = element, _document, _context) do value = ...
24.05
76
0.752599
930d5b578abe3a16e30489842800866eb6c040e5
2,011
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/cloud_build_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/cloud_build_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/cloud_build_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.22
283
0.751367
930d7dcea76761f6cde83b5411b71cd623e3a36a
7,704
ex
Elixir
lib/aws/generated/code_star_connections.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/code_star_connections.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/code_star_connections.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.CodeStarConnections do @moduledoc """ AWS CodeStar Connections <important> The CodeStar Connections feature is in preview release and is subject to change. </important> This AWS CodeSt...
33.789474
100
0.705737
930d9011904cf144a510e776b00466dd44f24f69
61
ex
Elixir
lib/voomex_web/views/layout_view.ex
caktus/voomex
d9df2ef20498f0eb01e69da834bb41459784357c
[ "BSD-2-Clause" ]
null
null
null
lib/voomex_web/views/layout_view.ex
caktus/voomex
d9df2ef20498f0eb01e69da834bb41459784357c
[ "BSD-2-Clause" ]
18
2019-11-08T19:42:18.000Z
2020-06-09T17:00:16.000Z
lib/voomex_web/views/layout_view.ex
caktus/voomex
d9df2ef20498f0eb01e69da834bb41459784357c
[ "BSD-2-Clause" ]
null
null
null
defmodule VoomexWeb.LayoutView do use VoomexWeb, :view end
15.25
33
0.803279
930daa8016990b455076fd2bc94695211b24286a
1,867
ex
Elixir
clients/health_care/lib/google_api/health_care/v1/model/list_fhir_stores_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1/model/list_fhir_stores_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/lib/google_api/health_care/v1/model/list_fhir_stores_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...
37.34
194
0.739689
930dc9c70911d4f5edcec857157febaf84b79cc3
491
exs
Elixir
csvn_cli/mix.exs
gsarwate/csv-normalizer
e8b09e4e1af30bb37d1b1abb5ff6ccbf1db7d91e
[ "MIT" ]
null
null
null
csvn_cli/mix.exs
gsarwate/csv-normalizer
e8b09e4e1af30bb37d1b1abb5ff6ccbf1db7d91e
[ "MIT" ]
null
null
null
csvn_cli/mix.exs
gsarwate/csv-normalizer
e8b09e4e1af30bb37d1b1abb5ff6ccbf1db7d91e
[ "MIT" ]
null
null
null
defmodule CsvnCli.MixProject do use Mix.Project def project do [ app: :csvn_cli, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_ap...
17.535714
59
0.584521
930dda7b230562236a291d4c2f69f5adf230fcd0
2,715
ex
Elixir
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/model/platform_summary.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/model/platform_summary.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/model/platform_summary.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.522388
126
0.699079
930de19b57b4a33372b2e20f3c5a4f6859f6d860
105,736
exs
Elixir
test/batcher/batcher_test.exs
ansonlc/bors-ng
524ae21a471e25c11bf02c87c9ad3f6cf997ac7d
[ "Apache-2.0" ]
null
null
null
test/batcher/batcher_test.exs
ansonlc/bors-ng
524ae21a471e25c11bf02c87c9ad3f6cf997ac7d
[ "Apache-2.0" ]
null
null
null
test/batcher/batcher_test.exs
ansonlc/bors-ng
524ae21a471e25c11bf02c87c9ad3f6cf997ac7d
[ "Apache-2.0" ]
null
null
null
defmodule BorsNG.Worker.BatcherTest do use BorsNG.Worker.TestCase alias BorsNG.Worker.Batcher alias BorsNG.Database.Batch alias BorsNG.Database.Installation alias BorsNG.Database.LinkPatchBatch alias BorsNG.Database.Patch alias BorsNG.Database.Project alias BorsNG.Database.Repo alias BorsNG.GitHub.Pr...
37.00945
197
0.465433
930de76adea7d18855118a09768fcb6939152f7f
1,920
ex
Elixir
lib/crawly.ex
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
1
2020-10-02T18:33:23.000Z
2020-10-02T18:33:23.000Z
lib/crawly.ex
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
lib/crawly.ex
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
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...
30.47619
80
0.663542
930df1462335d398db247167339dcc933cecb75b
1,156
ex
Elixir
server/lib/prepply_web/schema/employee_types.ex
jeepers3327/prepply
64b6be3b832fddf429faa31f5f7c1b93b842f821
[ "MIT" ]
2
2021-03-04T15:21:14.000Z
2021-03-21T13:43:07.000Z
server/lib/prepply_web/schema/employee_types.ex
jeepers3327/prepply
64b6be3b832fddf429faa31f5f7c1b93b842f821
[ "MIT" ]
null
null
null
server/lib/prepply_web/schema/employee_types.ex
jeepers3327/prepply
64b6be3b832fddf429faa31f5f7c1b93b842f821
[ "MIT" ]
null
null
null
defmodule PrepplyWeb.Schema.EmployeeTypes do use Absinthe.Schema.Notation import Absinthe.Resolution.Helpers, only: [dataloader: 3] alias Prepply.Employees alias PrepplyWeb.Resolvers object :employee do field :id, :id field :name, :string field :checklists, list_of(:checklist), resolve: d...
24.083333
62
0.692907
930e09b35fdec1e6491c8131d248c3393308dbdf
722
ex
Elixir
2021/ecto/tome/lib/tome/library/book.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2021/ecto/tome/lib/tome/library/book.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2021/ecto/tome/lib/tome/library/book.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule Tome.Library.Book do use Ecto.Schema import Ecto.Changeset schema "books" do field(:title, :string) field(:isbn, :string) field(:description, :string) field(:published_on, :date, default: nil) field(:status, :string, default: "working") timestamps() end def changeset(%__MO...
24.896552
74
0.634349
930e0fd0b436fe172ce108234e154dfb19eb0002
2,705
exs
Elixir
test/central/helpers/timex_helper_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
test/central/helpers/timex_helper_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
test/central/helpers/timex_helper_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Helpers.TimexHelperTest do use Central.DataCase, async: true alias Central.Helpers.TimexHelper @from Timex.to_datetime({{2013, 12, 4}, {06, 20, 5}}, "Europe/London") @today Timex.beginning_of_day(@from) test "date_to_str" do values = [ {nil, :day_name, ""}, {@from, :day_na...
38.098592
99
0.605176
930e3109ad1981b49645b1461286e79ba94e89c2
1,288
ex
Elixir
lib/blue_bird/json_data.ex
Bleachr/blue_bird
5ea1d1f047ce379bc73b6d7892fdd44392b09569
[ "MIT" ]
52
2017-05-29T11:18:43.000Z
2021-09-17T07:55:14.000Z
lib/blue_bird/json_data.ex
Bleachr/blue_bird
5ea1d1f047ce379bc73b6d7892fdd44392b09569
[ "MIT" ]
50
2017-05-30T13:21:00.000Z
2019-12-24T00:17:02.000Z
lib/blue_bird/json_data.ex
Bleachr/blue_bird
5ea1d1f047ce379bc73b6d7892fdd44392b09569
[ "MIT" ]
13
2017-07-06T20:52:08.000Z
2020-04-27T06:28:34.000Z
defprotocol BlueBird.JSONData do @moduledoc """ A protocol for request and response attributes. """ @doc """ Returns the JavaScript data type of the given data as string. ## Example iex> JSONData.type("string") "string" iex> JSONData.type(:yes) "string" iex> JSONDa...
18.666667
63
0.667702
930e39509053b83838d39d044c364fe06132f916
3,142
ex
Elixir
lib/ex_clubhouse/api/group.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-17T00:42:10.000Z
2021-04-11T16:39:52.000Z
lib/ex_clubhouse/api/group.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
7
2020-03-21T20:22:13.000Z
2021-12-30T16:32:07.000Z
lib/ex_clubhouse/api/group.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-25T18:34:49.000Z
2021-09-13T16:44:00.000Z
defmodule ExClubhouse.Api.Group do @moduledoc """ Simple interface to the Group API """ alias ExClubhouse.Ops alias ExClubhouse.{Client, Session, Config} alias ExClubhouse.Parse.Parser alias ExClubhouse.Model.Input ############################################## ### Default config based utility funct...
34.911111
146
0.617759
930e3eae680a2fdc8b841d5f8fc8257add3a2757
7,291
ex
Elixir
lib/glimesh/oauth/oauth_token_handler.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
1
2021-06-08T00:07:39.000Z
2021-06-08T00:07:39.000Z
lib/glimesh/oauth/oauth_token_handler.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh/oauth/oauth_token_handler.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule Glimesh.OauthHandler.Token do @moduledoc false alias ExOauth2Provider.{ AccessTokens, Authorization.Utils.Response, RedirectURI, Scopes, Utils.Error } alias Glimesh.OauthHandler.TokenUtils def preauthorize(resource_owner, request, config \\ []) do resource_owner |> Toke...
29.164
99
0.650665
930e4ebc975c1545d842c57dda7e74804266fb1d
355
ex
Elixir
lib/blog_web/controllers/plug/require_auth.ex
ricksonoliveira/blog
fbd91876b6cd86aa38cd65cbd2125b0eadf25d57
[ "MIT" ]
null
null
null
lib/blog_web/controllers/plug/require_auth.ex
ricksonoliveira/blog
fbd91876b6cd86aa38cd65cbd2125b0eadf25d57
[ "MIT" ]
1
2022-01-24T17:56:40.000Z
2022-01-24T17:56:40.000Z
lib/blog_web/controllers/plug/require_auth.ex
ricksonoliveira/blog
fbd91876b6cd86aa38cd65cbd2125b0eadf25d57
[ "MIT" ]
null
null
null
defmodule BlogWeb.Plug.RequireAuth do use BlogWeb, :controller def init(_), do: nil def call(conn, _) do if conn.assigns[:user] do conn else conn |> put_flash(:error, "Unauthorized: You need to be looged in to perform this action!") |> redirect(to: Routes.page_path(conn, :index))...
20.882353
92
0.625352
930e61d4e04c7201e45c918634c56e84b06485ff
2,091
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/interconnect_attachments_scoped_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/interconnect_attachments_scoped_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_attachments_scoped_list.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 ...
38.018182
200
0.762315
930e6d5f0060a7a777e2de378a05437c4bb3a6e4
13,525
exs
Elixir
test/actions/create_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
test/actions/create_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
test/actions/create_test.exs
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
defmodule Ash.Test.Actions.CreateTest do @moduledoc false use ExUnit.Case, async: true defmodule Authorized do use Ash.Resource, data_layer: Ash.DataLayer.Ets, authorizers: [Ash.Test.Authorizer] ets do private?(true) end attributes do uuid_primary_key :id attribute...
23.27883
98
0.550462
930e825e1f872e5bc0c717adfe9a7a17b7fffae8
22,786
ex
Elixir
lib/cldr/plural_rules/plural_rule.ex
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
lib/cldr/plural_rules/plural_rule.ex
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
lib/cldr/plural_rules/plural_rule.ex
Zurga/cldr
1aefe0cb27332b124db73ad3c1d03acb38a83365
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Number.PluralRule do @moduledoc false @type operand :: any() @type plural_type() :: :zero | :one | :two | :few | :many | :other @doc """ Returns a list of the possible pluralization types """ @spec known_plural_types :: list(plural_type()) @plural_types [:zero, :one, :two, :few, :man...
32.551429
104
0.581585
930e82c032aee6fa720bbf965f628aec3db1c9d6
1,867
exs
Elixir
test/acceptance/ast/list_indent_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/list_indent_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/list_indent_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
defmodule Acceptance.Ast.ListIndentTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 1, parse_html: 1] import Support.AstHelpers, only: [ast_from_md: 1] import EarmarkAstDsl describe "different levels of indent" do test "ordered two levels, indented by two" do markdown =...
27.057971
114
0.51098
930e909908f88c3eecfe8eaff956cdc654d32dbc
6,874
ex
Elixir
lib/apns/message_worker.ex
chvanikoff/apns4ex
7691a3ff660a722a37567f1a987e47583886a669
[ "MIT" ]
80
2015-09-08T16:35:52.000Z
2021-12-03T19:10:47.000Z
lib/apns/message_worker.ex
chvanikoff/apns4ex
7691a3ff660a722a37567f1a987e47583886a669
[ "MIT" ]
45
2015-09-10T19:33:12.000Z
2019-09-25T11:45:10.000Z
lib/apns/message_worker.ex
chvanikoff/apns4ex
7691a3ff660a722a37567f1a987e47583886a669
[ "MIT" ]
38
2015-09-08T16:37:27.000Z
2020-07-17T10:12:39.000Z
defmodule APNS.MessageWorker do use Connection @payload_max_old 256 @payload_max_new 2048 @invalid_payload_size_code 7 def start_link(pool_conf) do Connection.start_link(__MODULE__, pool_conf, []) end def send(pid, message) do APNS.Logger.debug(message, "sending message") Connection.cast(pi...
35.61658
137
0.645767
930e957cde83e85b7416f944224d6d3a696476c5
4,600
exs
Elixir
example.exs
Buyapowa/elixlsx
0fb0adcafe0e94a594c92267bf3db5295f8cc5d0
[ "MIT" ]
null
null
null
example.exs
Buyapowa/elixlsx
0fb0adcafe0e94a594c92267bf3db5295f8cc5d0
[ "MIT" ]
null
null
null
example.exs
Buyapowa/elixlsx
0fb0adcafe0e94a594c92267bf3db5295f8cc5d0
[ "MIT" ]
null
null
null
#!/usr/bin/elixir -pa _build/dev/lib/elixlsx/ebin/ require Elixlsx alias Elixlsx.Sheet alias Elixlsx.Workbook sheet1 = Sheet.with_name("First") # Set cell B2 to the string "Hi". :) |> Sheet.set_cell("B2", "Hi") # Optionally, set font properties: |> Sheet.set_cell("B3", "Hello World", bold: true, u...
45.098039
115
0.632391
930ed13307109dc7c602ed946e3b0313fec00204
2,060
ex
Elixir
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_user_event_import_summary.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_user_event_import_summary.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/recommendation_engine/lib/google_api/recommendation_engine/v1beta1/model/google_cloud_recommendationengine_v1beta1_user_event_import_summary.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.140351
163
0.761165
930f167fbbadf433cdc97b20888954f2a8388439
1,237
ex
Elixir
backend/lib/caffe/ordering/use_cases/place_order.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/lib/caffe/ordering/use_cases/place_order.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/lib/caffe/ordering/use_cases/place_order.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
defmodule Caffe.Ordering.UseCases.PlaceOrder do use Caffe.Mediator.UseCase alias Caffe.Ordering.Commands alias Caffe.Ordering.Projections.Order alias Caffe.Accounts.User alias Caffe.Menu.Item defstruct [:user, :params] @impl true def execute(%PlaceOrder{user: user, params: params}) do id = UUID.uu...
24.74
75
0.666936
930f17c497c1911b2c114d3a592e3a54255cc55f
641
ex
Elixir
chapter3/challenges/mealcon/lib/mealcon/meal.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter3/challenges/mealcon/lib/mealcon/meal.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter3/challenges/mealcon/lib/mealcon/meal.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule Mealcon.Meal do use Ecto.Schema import Ecto.Changeset alias Mealcon.User @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @required_params [:description, :date, :calories, :user_id] @derive {Jason.Encoder, only: [:id, :description, :date, :calories, :user_id]}...
21.366667
80
0.692668
930f22adce97ffadf5a66ad118bfb062c8edd165
113
ex
Elixir
lib/elixir_chat/repo.ex
mikebobadilla/elixir-chat
e0955f9048dd088da8850a05dae5850a4e1f6124
[ "MIT" ]
null
null
null
lib/elixir_chat/repo.ex
mikebobadilla/elixir-chat
e0955f9048dd088da8850a05dae5850a4e1f6124
[ "MIT" ]
2
2021-03-10T18:12:02.000Z
2021-05-11T14:11:28.000Z
lib/elixir_chat/repo.ex
mikebobadilla/elixir-chat
e0955f9048dd088da8850a05dae5850a4e1f6124
[ "MIT" ]
null
null
null
defmodule ElixirChat.Repo do use Ecto.Repo, otp_app: :elixir_chat, adapter: Ecto.Adapters.Postgres end
18.833333
35
0.743363
930f25bc57111c6cddee4eb0a14707476d84b1c7
18,288
ex
Elixir
lib/elixir/lib/uri.ex
princemaple/elixir
d894dcca3380b2a37a72e940103ae8eeb42e540e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/uri.ex
princemaple/elixir
d894dcca3380b2a37a72e940103ae8eeb42e540e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/uri.ex
princemaple/elixir
d894dcca3380b2a37a72e940103ae8eeb42e540e
[ "Apache-2.0" ]
null
null
null
defmodule URI do @moduledoc """ Utilities for working with URIs. This module provides functions for working with URIs (for example, parsing URIs or encoding query strings). The functions in this module are implemented according to [RFC 3986](https://tools.ietf.org/html/rfc3986). """ defstruct scheme: ni...
29.544426
101
0.63621
930f321865116424a26464c26587eda35ecb7368
1,106
ex
Elixir
apps/test_empty_app_web/lib/test_empty_app_web/channels/user_socket.ex
baseballlover723/test_empty_app
fd7046ea8ee88e1c0eefee82fe95aecc7ede3f82
[ "MIT" ]
null
null
null
apps/test_empty_app_web/lib/test_empty_app_web/channels/user_socket.ex
baseballlover723/test_empty_app
fd7046ea8ee88e1c0eefee82fe95aecc7ede3f82
[ "MIT" ]
null
null
null
apps/test_empty_app_web/lib/test_empty_app_web/channels/user_socket.ex
baseballlover723/test_empty_app
fd7046ea8ee88e1c0eefee82fe95aecc7ede3f82
[ "MIT" ]
null
null
null
defmodule TestEmptyAppWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", TestEmptyAppWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for ...
30.722222
87
0.698915
930f5be971d48c7d98cfa24d4feda6c03ddff749
1,762
exs
Elixir
mix.exs
teaearlgraycold/HippoGuesser
f47fb0636c841ce9b579c07e423c980b17cb9965
[ "MIT" ]
null
null
null
mix.exs
teaearlgraycold/HippoGuesser
f47fb0636c841ce9b579c07e423c980b17cb9965
[ "MIT" ]
null
null
null
mix.exs
teaearlgraycold/HippoGuesser
f47fb0636c841ce9b579c07e423c980b17cb9965
[ "MIT" ]
null
null
null
defmodule Mtpo.Mixfile do use Mix.Project def project do [ app: :mtpo, version: "1.2.0", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), deps: deps()...
26.69697
79
0.564699
930f759f8cdbc5f0c873a0459541d942e55665ca
6,324
exs
Elixir
lib/elixir/test/elixir/io_test.exs
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/io_test.exs
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/io_test.exs
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule IOTest do use ExUnit.Case doctest IO import ExUnit.CaptureIO test "read with count" do {:ok, file} = File.open(Path.expand('fixtures/file.txt', __DIR__), [:charlist]) assert 'FOO' == IO.read(file, 3) assert File.close(file) == :ok end t...
33.638298
94
0.59962
930f812e43b4653396c1e0787138bb0a7f42fd42
2,776
ex
Elixir
lib/mix/lib/mix/deps/lock.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/lock.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/lock.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
# This module keeps a lock file and the manifest for the lock file. # The lockfile keeps the latest dependency information while the # manifest is used whenever a dependency is affected via any of the # deps.* tasks. We also keep the Elixir version in the manifest file. defmodule Mix.Deps.Lock do @moduledoc false @...
26.951456
85
0.650576
930fa4a3774b671ed9b160de6443e9f4afa8c619
579
ex
Elixir
test/apps/sharding/lib/sharding.ex
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
test/apps/sharding/lib/sharding.ex
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
test/apps/sharding/lib/sharding.ex
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
defmodule Sharding.Repo.Default do use Ecto.Repo, otp_app: :sharding, adapter: Ecto.Adapters.MyXQL end for n <- 0..1 do defmodule Module.concat(Sharding.Repo, "Player#{n}") do use Ecto.Repo, otp_app: :sharding, adapter: Ecto.Adapters.MyXQL end end defmodule Sharding.Schema.Item do use Yacto.Schema def ...
17.545455
67
0.715026
930fdd5856860c4599ffd2b8da6e73b8eecb1d9f
821
ex
Elixir
lib/ex_health/status.ex
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
null
null
null
lib/ex_health/status.ex
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
null
null
null
lib/ex_health/status.ex
kianmeng/ex_health
f7311d5e23e8cfbb6dd91381a52a420345331535
[ "MIT" ]
null
null
null
defmodule ExHealth.Status do @moduledoc """ A struct for storing state of the HealthServer """ @type t :: %__MODULE__{ checks: list(), interval_ms: integer(), last_check: DateTime.t() | nil, result: %{ msg: atom(), check_results: list(tuple()) ...
25.65625
96
0.515225
930fecf1dde41e4eae7043251cc7ec387784862b
1,465
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_event_input.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_event_input.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_event_input.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...
31.170213
97
0.746758
930fef741b1466e70a55abb0c05a1017ffe2e905
476
ex
Elixir
lib/rankings_web/controllers/auth.ex
spkane31/cc-rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
1
2020-06-28T19:31:07.000Z
2020-06-28T19:31:07.000Z
lib/rankings_web/controllers/auth.ex
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
5
2019-07-25T17:00:39.000Z
2019-07-25T17:12:07.000Z
lib/rankings_web/controllers/auth.ex
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
null
null
null
defmodule RankingsWeb.Auth do import Plug.Conn def init(opts), do: opts def call(conn, _opts) do user_id = get_session(conn, :user_id) user = user_id && Rankings.Accounts.get_user(user_id) assign(conn, :current_user, user) end def login(conn, user) do conn |> assign(:current_user, user)...
20.695652
57
0.676471
9310185ae51e848843caf81a076f5e14dec714e8
1,589
ex
Elixir
server/lib/server_web.ex
wasd171/primitive-scanner
c0b911204b680f936d1c98e7bf72ebeb77ae87b1
[ "MIT" ]
2
2018-02-01T22:56:09.000Z
2020-01-20T19:57:48.000Z
server/lib/server_web.ex
wasd171/primitive-scanner
c0b911204b680f936d1c98e7bf72ebeb77ae87b1
[ "MIT" ]
null
null
null
server/lib/server_web.ex
wasd171/primitive-scanner
c0b911204b680f936d1c98e7bf72ebeb77ae87b1
[ "MIT" ]
null
null
null
defmodule ServerWeb 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 ServerWeb, :controller use ServerWeb, :view The definitions below will be executed for every view, controller, etc...
23.367647
69
0.684078
93104f36bc56c383097e30ba5b3b446bcb1f27ab
5,091
ex
Elixir
lib/common_graphql_client/mix/tasks/graphql/validate_query.ex
wingcon/common_graphql_client
6a603902bac154c1a7dad13fe69455f430893077
[ "MIT" ]
37
2018-07-13T20:55:09.000Z
2022-01-27T08:23:55.000Z
lib/common_graphql_client/mix/tasks/graphql/validate_query.ex
wingcon/common_graphql_client
6a603902bac154c1a7dad13fe69455f430893077
[ "MIT" ]
12
2018-07-12T23:01:38.000Z
2021-10-19T10:27:48.000Z
lib/common_graphql_client/mix/tasks/graphql/validate_query.ex
wingcon/common_graphql_client
6a603902bac154c1a7dad13fe69455f430893077
[ "MIT" ]
8
2018-10-05T05:33:23.000Z
2021-09-08T23:35:56.000Z
defmodule Mix.Tasks.Graphql.ValidateQuery do @moduledoc """ Mix task to call static query validator """ use Mix.Task @tsk "mix graphql.validate_query" @info """ #{@tsk} expects a query argument and either a schema string or a file path as an option: $ `#{@tsk} -f /path/to/schema.json <query-str...
26.107692
105
0.522294
93108e05995909f93090d731d61811071dabb357
410
ex
Elixir
installer/templates/new/web/views/error_view.ex
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
installer/templates/new/web/views/error_view.ex
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
installer/templates/new/web/views/error_view.ex
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
defmodule <%= application_module %>.ErrorView do use <%= application_module %>.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500...
22.777778
48
0.690244
9310c87435e307b86fa37fc36821c3aa21fcb33f
628
ex
Elixir
lib/source_academy/workspace/code.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
lib/source_academy/workspace/code.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
lib/source_academy/workspace/code.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
defmodule SourceAcademy.Workspace.Code do @moduledoc false use SourceAcademy, :model alias SourceAcademy.Accounts.User schema "codes" do field :title, :string, default: "" field :content, :string, default: "\n" field :is_public, :boolean, default: false field :is_readonly, :boolean, default: f...
23.259259
59
0.702229
9310d19e1ece0072372d27f48bdbf66d38a8651b
582
ex
Elixir
lib/edgedb/protocol/types/header.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/types/header.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/types/header.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.Protocol.Types.Header do @moduledoc false use EdgeDB.Protocol.Type alias EdgeDB.Protocol.Datatypes deftype( fields: [ code: Datatypes.UInt16.t(), value: Datatypes.Bytes.t() ] ) @impl EdgeDB.Protocol.Type def encode_type(%__MODULE__{code: code, value: value}) do ...
22.384615
66
0.687285
9310dc4c9a5d5fb7e936e7378a4b7b23892e4d72
3,527
ex
Elixir
apps/rig/lib/rig/subscription.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
apps/rig/lib/rig/subscription.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
apps/rig/lib/rig/subscription.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule Rig.Subscription do @moduledoc false @typedoc """ A subscription for a specific event type. The constraints are expected in [conjunctive normal form](https://en.wikipedia.org/wiki/Conjunctive_normal_form) and defined using a list of maps. For example: ```elixir %{ event_type: "com.github...
27.554688
97
0.663737
931100900174d90985d22eabad2380b2a534fe01
61,632
exs
Elixir
test/sparql/functions/builtins_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
test/sparql/functions/builtins_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
test/sparql/functions/builtins_test.exs
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
defmodule SPARQL.Functions.BuiltinsTest do use SPARQL.Test.Case doctest SPARQL.Functions.Builtins alias SPARQL.Functions.Builtins alias SPARQL.Algebra.Expression alias SPARQL.Algebra.FunctionCall alias RDF.Literal alias RDF.NS.XSD @xsd_string XSD.string @example_solution_id :example_ref @examp...
34.489088
187
0.546064
9311123415350bf0c4bba899ce685b1e39a613db
1,390
ex
Elixir
lib/ash/resource/transformers/require_unique_field_names.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
lib/ash/resource/transformers/require_unique_field_names.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
lib/ash/resource/transformers/require_unique_field_names.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Transformers.RequireUniqueFieldNames do @moduledoc """ Confirms that a resource does not have multiple fields(attributes, calculations, aggregates, and relationships) with the same name. """ use Ash.Dsl.Transformer alias Ash.Dsl.Transformer alias Ash.Error.Dsl.DslError def transfo...
27.254902
165
0.646763
93111e936a32a73afdfaf245eb21a9baae5d426c
1,298
ex
Elixir
lib/elixir_sense/lib/elixir_sense/providers/expand.ex
robmckinnon/atom-elixir
50be0fa165ff9a07caf30ecf9dfe96322d6a0f95
[ "MIT" ]
477
2016-02-12T15:49:05.000Z
2021-01-13T22:28:46.000Z
lib/elixir_sense/lib/elixir_sense/providers/expand.ex
robmckinnon/atom-elixir
50be0fa165ff9a07caf30ecf9dfe96322d6a0f95
[ "MIT" ]
84
2016-02-15T11:00:29.000Z
2020-08-20T01:18:08.000Z
lib/elixir_sense/lib/elixir_sense/providers/expand.ex
robmckinnon/atom-elixir
50be0fa165ff9a07caf30ecf9dfe96322d6a0f95
[ "MIT" ]
49
2016-02-13T01:49:17.000Z
2021-02-12T05:03:42.000Z
defmodule ElixirSense.Providers.Expand do @moduledoc """ Provider responsible for code expansion features. """ alias ElixirSense.Core.Ast @type expanded_code_map :: %{ expand_once: String.t, expand: String.t, expand_partial: String.t, expand_all: String.t, } @doc """ Returns a map c...
27.041667
78
0.640986
93112c320b258ea82a2f999b378744c6b96860a9
398
ex
Elixir
sample_newapp/lib/sample_newapp/sample_server.ex
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
sample_newapp/lib/sample_newapp/sample_server.ex
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
sample_newapp/lib/sample_newapp/sample_server.ex
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
defmodule SampleNewApp.Server do use GenServer def start_link(_) do GenServer.start_link(__MODULE__, :o, name: :sampe_server) end def init(:ok) do {:ok, %{}} end # async def handle_cast({:message, message}, _) do SampleNewApp.Message.sent(message) {:noreply, %A{}} end def message(m...
18.090909
61
0.665829
93112c3f0b730c22dfa15f70cc456b4f8720dc0e
666
exs
Elixir
test/unit/dry_run/code_checking_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
test/unit/dry_run/code_checking_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
test/unit/dry_run/code_checking_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
defmodule ZiglerTest.DryRun.CodeCheckingTest do # checks which make sure our code looks good. use ExUnit.Case, async: true use Zigler, dry_run: true ~Z""" /// nif: test1/0 fn test1() i32 { return 47; } """ ~Z""" /// nif: test2/0 fn test2() i32 { return 42; } """ test "two sigil_...
17.076923
68
0.576577
931139918d15c839a0184ee48333bb44764f0171
1,278
exs
Elixir
mix.exs
cetinajero/tentacat
486cebe6134033f87dd3ab9106b72765baf22581
[ "MIT" ]
null
null
null
mix.exs
cetinajero/tentacat
486cebe6134033f87dd3ab9106b72765baf22581
[ "MIT" ]
null
null
null
mix.exs
cetinajero/tentacat
486cebe6134033f87dd3ab9106b72765baf22581
[ "MIT" ]
null
null
null
defmodule Tentacat.Mixfile do use Mix.Project @description """ Simple Elixir wrapper for the GitHub API """ def project do [ app: :tentacat, version: "2.1.0", elixir: "~> 1.9", name: "Tentacat", description: @description, package: package(), test_coverage: [to...
22.034483
96
0.513302
931175491258f44f56b8e68e671fc6d1c3bc9aca
1,846
ex
Elixir
lib/find_my_personal/teachers.ex
adrianomota/find_my_personal
6175a64f501407bb047b23cfcc76a981a7957148
[ "MIT" ]
null
null
null
lib/find_my_personal/teachers.ex
adrianomota/find_my_personal
6175a64f501407bb047b23cfcc76a981a7957148
[ "MIT" ]
null
null
null
lib/find_my_personal/teachers.ex
adrianomota/find_my_personal
6175a64f501407bb047b23cfcc76a981a7957148
[ "MIT" ]
null
null
null
defmodule FindMyPersonal.Teachers do @moduledoc """ The Teachers context. """ import Ecto.Query, warn: false alias FindMyPersonal.Repo alias FindMyPersonal.Teachers.Teacher @doc """ Returns the list of teacher. ## Examples iex> list_teacher() [%Teacher{}, ...] """ def list_teache...
17.580952
62
0.605634
931176b8482cfdf3a7e6f954cbed60a2c3aa4224
8,021
ex
Elixir
community/betterdev/lib/betterdev/community/community.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
79
2017-07-03T13:04:08.000Z
2022-02-11T13:59:37.000Z
community/betterdev/lib/betterdev/community/community.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
16
2017-07-09T03:16:27.000Z
2022-01-14T14:29:57.000Z
community/betterdev/lib/betterdev/community/community.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
10
2017-07-09T02:58:59.000Z
2021-09-14T08:01:02.000Z
defmodule Betterdev.Community do @moduledoc """ The boundary for the Community system. """ import Ecto.Query, warn: false alias Betterdev.Repo alias Betterdev.Community.Link alias Betterdev.Community.Tag alias Betterdev.Community.Collection import Tirexs.HTTP import Tirexs.Search alias Tirexs.Sea...
23.872024
155
0.608528
93117b2af336f5401e1579801f477381e51fe475
1,312
ex
Elixir
lib/zaryn/neural_galaxy/neuron/neuron.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
1
2020-01-04T11:24:44.000Z
2020-01-04T11:24:44.000Z
lib/zaryn/neural_galaxy/neuron/neuron.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
lib/zaryn/neural_galaxy/neuron/neuron.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.NeuralGalaxy.Neuron do use GenServer require Logger alias Zaryn.NeuralGalaxy.Activation defstruct pid: nil, id: nil, accumulator: nil, input: 0, output: 0, incoming: [], outgoing: [] def update(pid, neuron_fields) do ...
24.754717
91
0.647866
9311907acbee3a7039748a859ac3a673f97bf2a0
154
exs
Elixir
priv/repo/migrations/20180830080945_drop_user_followed_project_table.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20180830080945_drop_user_followed_project_table.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20180830080945_drop_user_followed_project_table.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.DropUserFollowedProjectTable do use Ecto.Migration def change do drop(table(:user_followed_project)) end end
19.25
65
0.798701
9311b991a7e3d08db9122f882e7d1946d48ded56
8,454
ex
Elixir
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
98.302326
890
0.745328
9311d6babf887e43129e7a52a098481353f94557
708
exs
Elixir
uptime_gui/test/uptime_gui_web/controllers/auth_controller_test.exs
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
uptime_gui/test/uptime_gui_web/controllers/auth_controller_test.exs
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
uptime_gui/test/uptime_gui_web/controllers/auth_controller_test.exs
mattiaslundberg/uptime
cef2657e5b5a4a851c088947ee9050c3b31dabdf
[ "MIT" ]
null
null
null
defmodule UptimeGuiWeb.AuthControllerTest do use UptimeGuiWeb.ConnCase, async: false describe "login/2" do test "login with valid credentials" do conn = build_conn() {:ok, user, _token} = insert_user(password: "secret") conn = post(conn, "/api/login", %{"email" => user.email, "password" => "s...
32.181818
88
0.628531
9311f4c84e1b91e76bb75938730976c98ae153f8
264
ex
Elixir
lib/bloggex/repo.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
1
2020-01-14T03:17:51.000Z
2020-01-14T03:17:51.000Z
lib/bloggex/repo.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
null
null
null
lib/bloggex/repo.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
null
null
null
defmodule Bloggex.Repo do use Ecto.Repo, otp_app: :bloggex @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
22
66
0.69697
931201fd880d72509daf4940b21ad5446d9137a2
1,416
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/matched_call_operation_parsing_test_case/AtNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/matched_call_operation_parsing_test_case/AtNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/matched_call_operation_parsing_test_case/AtNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
@non_numeric.and Qualifier.qualified positional, key: value @non_numeric.&& Qualifier.qualified positional, key: value @non_numeric.|> Qualifier.qualified positional, key: value @non_numeric.@ Qualifier.qualified positional, key: value @non_numeric.& Qualifier.qualified positional, key: value @non_numeric.== Qualifier....
56.64
61
0.811441
93120c8b18d2f2a0ed683e30c7218b8c8b3cc715
512
exs
Elixir
test/recaptcha/config_test.exs
scottdavis/recaptcha
1b46e1a346c100e327cbc028fc6b8e7e8942e974
[ "MIT" ]
null
null
null
test/recaptcha/config_test.exs
scottdavis/recaptcha
1b46e1a346c100e327cbc028fc6b8e7e8942e974
[ "MIT" ]
null
null
null
test/recaptcha/config_test.exs
scottdavis/recaptcha
1b46e1a346c100e327cbc028fc6b8e7e8942e974
[ "MIT" ]
null
null
null
defmodule RecaptchaConfigTest do use ExUnit.Case, async: true test "config can read regular config values" do Application.put_env(:recaptcha, :test_var, "test") assert Recaptcha.Config.get_env(:recaptcha, :test_var) == "test" end test "config can read environment variables" do System.put_env("TES...
30.117647
81
0.732422
9312108cafe0603a98f78cd5e37ab24190813e80
431
ex
Elixir
macros/myif.ex
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2019-02-17T11:54:17.000Z
2019-02-17T11:54:17.000Z
macros/myif.ex
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
macros/myif.ex
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
defmodule My do defmacro if(condition, clauses) do do_clause = Keyword.get(clauses, :do, nil) else_clause = Keyword.get(clauses, :else, nil) quote do case unquote(condition) do val when val in [false, nil] -> unquote(else_clause) _ -> unquote(do_clause) end end end e...
19.590909
60
0.605568
931217b037e963c739839a4b360d9d471323dd77
1,482
ex
Elixir
clients/domains/lib/google_api/domains/v1alpha2/model/authorization_code.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/domains/lib/google_api/domains/v1alpha2/model/authorization_code.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/domains/lib/google_api/domains/v1alpha2/model/authorization_code.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...
31.531915
154
0.740216
93122caa04c1170f5b2eb70295eb4778c50ff883
1,652
ex
Elixir
lib/exw3/address.ex
grahac/exw3
ce969609329538e442841d11b65de30a6fdc0f79
[ "Apache-2.0" ]
1
2021-10-09T16:57:34.000Z
2021-10-09T16:57:34.000Z
lib/exw3/address.ex
hawku-com/exw3
ce969609329538e442841d11b65de30a6fdc0f79
[ "Apache-2.0" ]
null
null
null
lib/exw3/address.ex
hawku-com/exw3
ce969609329538e442841d11b65de30a6fdc0f79
[ "Apache-2.0" ]
null
null
null
defmodule ExW3.Address do @type t :: %__MODULE__{bytes: binary} defstruct ~w[bytes]a @spec from_bytes(binary) :: t def from_bytes(bytes) do %__MODULE__{bytes: bytes} end @spec from_hex(String.t()) :: t def from_hex(address) do case address do "0x" <> a -> from_hex(a) a -> ...
24.294118
80
0.621671
93124c8d5a1e87f25a8f9e12b31d5f110d59374b
319
ex
Elixir
lib/hl7/2.3/datatypes/ad.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/ad.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/ad.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.DataTypes.Ad do @moduledoc false use HL7.DataType, fields: [ street_address: nil, other_designation: nil, city: nil, state_or_province: nil, zip_or_postal_code: nil, country: nil, address_type: nil, other_geographic_designation: nil ] end
19.9375
39
0.648903
931257bebc45076f836d62818624aeec5cad0193
1,216
ex
Elixir
lib/only_codes/git_hub_repo.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
281
2021-01-15T14:59:38.000Z
2022-01-06T23:13:33.000Z
lib/only_codes/git_hub_repo.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
12
2021-01-15T15:24:54.000Z
2021-07-31T17:36:39.000Z
lib/only_codes/git_hub_repo.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
11
2021-01-15T17:46:59.000Z
2021-09-22T13:24:19.000Z
defmodule OnlyCodes.GitHubRepo do use Ecto.Schema import Ecto.Changeset schema "github_repos" do field :githubRepoId, :string field :description, :string field :ownerAndName, :string field :stargazerCount, :integer field :lang, :string has_many :correctAnswerForQuestions, OnlyCodes.Quest...
38
94
0.772204
93128094500d4716292faebc31492a5e6298482f
881
ex
Elixir
apps/discordbot/lib/discordbot/model/voice_server_update.ex
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
4
2018-11-19T06:10:52.000Z
2022-02-03T01:50:23.000Z
apps/discordbot/lib/discordbot/model/voice_server_update.ex
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
254
2018-11-19T06:08:51.000Z
2021-07-22T13:47:26.000Z
apps/discordbot/lib/discordbot/model/voice_server_update.ex
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
null
null
null
defmodule DiscordBot.Model.VoiceServerUpdate do @derive [Poison.Encoder] @moduledoc """ Sent when a guild's voice server is updated. """ use DiscordBot.Model.Serializable alias DiscordBot.Model.Serializable defstruct [ :token, :guild_id, :endpoint ] @typedoc """ The token for the voi...
19.152174
58
0.628831
9312baa3393bc8c0ec78ab0e92e5b9d7e2c3c351
1,508
ex
Elixir
clients/content/lib/google_api/content/v21/model/liasettings_request_gmb_access_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/liasettings_request_gmb_access_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/liasettings_request_gmb_access_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.085106
166
0.751989
9312d5520b97f16b34d39e37fb3a880a222f7a3d
6,678
ex
Elixir
lib/live_sup_web/router.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/router.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup_web/router.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.Router do use LiveSupWeb, :router import LiveSupWeb.Auth.UserAuth import LiveSupWeb.Live.Auth.ProjectAuth import LiveSupWeb.LayoutHelper pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {LiveSupWeb.LayoutView,...
33.39
86
0.704702
9312e3fd9b6e13a36bd9be19f4f04e0b6dad5220
898
ex
Elixir
clients/recommender/lib/google_api/recommender/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/recommender/lib/google_api/recommender/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/recommender/lib/google_api/recommender/v1beta1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.259259
74
0.762806
9312f52deb1a727ca8890f04f893ba1a4a01d3ae
3,112
ex
Elixir
lib/guess_who/contenders/jordan0day.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
null
null
null
lib/guess_who/contenders/jordan0day.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
null
null
null
lib/guess_who/contenders/jordan0day.ex
alanvoss/guess_who
75227d97202283ffeeb6134fb8b2a591a9c49fbe
[ "MIT" ]
3
2021-10-07T23:28:18.000Z
2021-10-08T00:54:14.000Z
defmodule GuessWho.Contenders.Jordan0day do @moduledoc """ Guess Who contender implementation for jordan. """ # "male"'s not an aliased attribute, but don't need to guess male since we # start by guessing female. @aliases ["blond hair", "ear rings", "ginger hair", "moustache", "male"] @behaviour GuessWh...
27.785714
131
0.675771
93130946d7788698d5c2f8d71ed31b5535215a72
151
exs
Elixir
priv/repo/migrations/20180617115049_remove_id_room.exs
Zesky665/GradProject
dad0152de7be505338b1ddbbfcfa82fafe613b68
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20180617115049_remove_id_room.exs
Zesky665/GradProject
dad0152de7be505338b1ddbbfcfa82fafe613b68
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20180617115049_remove_id_room.exs
Zesky665/GradProject
dad0152de7be505338b1ddbbfcfa82fafe613b68
[ "Unlicense" ]
null
null
null
defmodule Chat.Repo.Migrations.RemoveIdRoom do use Ecto.Migration def change do alter table(:rooms) do remove :room_id end end end
15.1
46
0.708609
93130c741bdedd14333eb399e61ee890812b5986
59
ex
Elixir
lib/dmage_web/views/layout_view.ex
Devotu/dmage
54d8e55bf010f2e0beb2bd0c21157366f0375bd3
[ "MIT" ]
null
null
null
lib/dmage_web/views/layout_view.ex
Devotu/dmage
54d8e55bf010f2e0beb2bd0c21157366f0375bd3
[ "MIT" ]
null
null
null
lib/dmage_web/views/layout_view.ex
Devotu/dmage
54d8e55bf010f2e0beb2bd0c21157366f0375bd3
[ "MIT" ]
null
null
null
defmodule DmageWeb.LayoutView do use DmageWeb, :view end
14.75
32
0.79661
931321e873173c39d0da661669cccb336772ab6e
342
exs
Elixir
priv/repo/migrations/20200626150449_add_pow_email_confirmation_to_users.exs
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
1
2021-09-10T16:49:36.000Z
2021-09-10T16:49:36.000Z
priv/repo/migrations/20200626150449_add_pow_email_confirmation_to_users.exs
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
2
2020-05-22T18:42:14.000Z
2021-01-25T16:34:38.000Z
priv/repo/migrations/20200626150449_add_pow_email_confirmation_to_users.exs
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
null
null
null
defmodule ChitChat.Repo.Migrations.AddPowEmailConfirmationToUsers do use Ecto.Migration def change do alter table(:users) do add :email_confirmation_token, :string add :email_confirmed_at, :utc_datetime add :unconfirmed_email, :string end create unique_index(:users, [:email_confirmat...
24.428571
68
0.745614
931327ae2c2da25f78a1acee984813411f4b7185
1,359
exs
Elixir
mix.exs
elixir-geolix/plug
bd39b94f7a2764122a10618e3a4acd757cb4ec49
[ "Apache-2.0" ]
1
2020-01-20T19:11:47.000Z
2020-01-20T19:11:47.000Z
mix.exs
elixir-geolix/plug
bd39b94f7a2764122a10618e3a4acd757cb4ec49
[ "Apache-2.0" ]
null
null
null
mix.exs
elixir-geolix/plug
bd39b94f7a2764122a10618e3a4acd757cb4ec49
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Plug.MixProject do use Mix.Project @url_github "https://github.com/elixir-geolix/plug" def project do [ app: :geolix_plug, name: "Geolix Plug", version: "0.3.0-dev", elixir: "~> 1.7", deps: deps(), description: "Geolix Plug", dialyzer: dialyzer(), ...
20.907692
72
0.521707
93132a3e7a5babd92422856f2d8cdac9b260c9f8
2,180
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_content_item.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_content_item.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_hybrid_content_item.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.37037
180
0.76422
93132d9c9030011806518f194f838211c504886c
2,350
ex
Elixir
lib/glimesh/streams/channel.ex
Darkhax-Forked/glimesh.tv
9566f0ec6909ecc5151f0e092f3e08b63d911fa8
[ "MIT" ]
null
null
null
lib/glimesh/streams/channel.ex
Darkhax-Forked/glimesh.tv
9566f0ec6909ecc5151f0e092f3e08b63d911fa8
[ "MIT" ]
null
null
null
lib/glimesh/streams/channel.ex
Darkhax-Forked/glimesh.tv
9566f0ec6909ecc5151f0e092f3e08b63d911fa8
[ "MIT" ]
null
null
null
defmodule Glimesh.Streams.Channel do @moduledoc false use Ecto.Schema import Ecto.Changeset schema "channels" do belongs_to :user, Glimesh.Accounts.User belongs_to :category, Glimesh.Streams.Category belongs_to :streamer, Glimesh.Accounts.User, source: :user_id belongs_to :stream, Glimesh.Strea...
24.479167
80
0.657021
93133ead690451380c3000053a530b238ad3c388
56,626
ex
Elixir
lib/elixir/lib/string.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/lib/string.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
import Kernel, except: [length: 1] defmodule String do @moduledoc ~S""" A String in Elixir is a UTF-8 encoded binary. ## Codepoints and grapheme cluster The functions in this module act according to the Unicode Standard, version 10.0.0. As per the standard, a codepoint is a single Unicode Character, w...
27.289639
107
0.641366
93134b29344d27ecb862f4a9688e33273be96c16
209
ex
Elixir
lib/generate/get_options.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
lib/generate/get_options.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
lib/generate/get_options.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defimpl CWMP.Protocol.Generate, for: CWMP.Protocol.Messages.GetOptions do import XmlBuilder def generate(req) do element("cwmp:GetOptions", [ element(:OptionName, req.option_name)]) end end
19
73
0.727273
931383f01d70602e6afb3ebe8ce50a3597519ba5
2,074
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/query_interpretation_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/query_interpretation_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/query_interpretation_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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.48
329
0.757473
931384d8f87391ae311cf48eff90d4bcee6c7c17
1,948
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_test_case_error.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_test_case_error.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_test_case_error.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...
38.96
136
0.75924
9313a7b2bc162ce82c0779463dc2813096970048
12,579
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance.ex
MShaffar19/elixir-google-api
aac92cd85f423e6d08c9571ee97cf21545df163f
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance.ex
MShaffar19/elixir-google-api
aac92cd85f423e6d08c9571ee97cf21545df163f
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance.ex
MShaffar19/elixir-google-api
aac92cd85f423e6d08c9571ee97cf21545df163f
[ "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...
75.323353
511
0.719374
931402ec13b0c548afe7e74fd30a049fc04acdea
190
exs
Elixir
test/test_helper.exs
ReelCoaches/guardian_jwks
e9f65e043166e1b5065461f6ac1c5e30e42114bb
[ "Apache-2.0" ]
1
2020-04-21T17:25:06.000Z
2020-04-21T17:25:06.000Z
test/test_helper.exs
ReelCoaches/guardian_jwks
e9f65e043166e1b5065461f6ac1c5e30e42114bb
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
ReelCoaches/guardian_jwks
e9f65e043166e1b5065461f6ac1c5e30e42114bb
[ "Apache-2.0" ]
null
null
null
ExUnit.configure(exclude: [external: true]) ExUnit.start() Mox.defmock(TeslaAdapterMock, for: Tesla.Adapter) Application.put_env(:tesla, GuardianJwks.HttpFetcher, adapter: TeslaAdapterMock)
38
80
0.815789
93140e0c4c45f279cd99a30bc19a8e069c9732f2
1,503
ex
Elixir
lib/absinthe/schema/prototype/notation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
lib/absinthe/schema/prototype/notation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2019-09-23T21:26:01.000Z
2019-09-23T21:26:01.000Z
lib/absinthe/schema/prototype/notation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.Prototype.Notation do @moduledoc false defmacro __using__(opts \\ []) do content(opts) end def content(_opts \\ []) do quote do use Absinthe.Schema @pipeline_modifier __MODULE__ directive :deprecated do arg :reason, :string on [ :...
28.358491
92
0.615436
9314153a653d7b90a8ca4cb10eaa3e175ba9b9b7
130
ex
Elixir
test/helpers/connections/env_connection.ex
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
test/helpers/connections/env_connection.ex
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
test/helpers/connections/env_connection.ex
qgadrian/instream
3dc828fe476817d442b83dc5da58ceca56e9886f
[ "Apache-2.0" ]
null
null
null
defmodule Instream.TestHelpers.Connections.EnvConnection do @moduledoc false use Instream.Connection, otp_app: :instream end
21.666667
59
0.823077
93142953fe690fc82753fa39837556845e63007b
1,155
ex
Elixir
lib/credo/check/warning/unused_string_operation.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
lib/credo/check/warning/unused_string_operation.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
lib/credo/check/warning/unused_string_operation.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Check.Warning.UnusedStringOperation do use Credo.Check, base_priority: :high, explanations: [ check: """ The result of a call to the String module's functions has to be used. While this is correct ... def salutation(username) do username = String.downc...
24.0625
83
0.636364
931462d86dd924028a364b7ac957226bfba29e7a
622
ex
Elixir
lab4/lib/lab/library/tab.ex
TeeSeal/web-tech-labs
46596ae2eae68e05d4433506a210b003ee18a749
[ "MIT" ]
null
null
null
lab4/lib/lab/library/tab.ex
TeeSeal/web-tech-labs
46596ae2eae68e05d4433506a210b003ee18a749
[ "MIT" ]
2
2018-02-12T07:41:50.000Z
2018-05-04T18:45:28.000Z
lab4/lib/lab/library/tab.ex
TeeSeal/web-tech-labs
46596ae2eae68e05d4433506a210b003ee18a749
[ "MIT" ]
null
null
null
defmodule Lab.Library.Tab do use Ecto.Schema import Ecto.Changeset alias Lab.Library.Tab schema "tabs" do field :album, :string field :album_image_url, :string field :artist, :string field :genre, :string field :tab, :string field :title, :string field :user_id, :id field :type...
23.037037
100
0.644695
9314696db9c8cc9b7af17be09da2486ad30af26c
3,804
exs
Elixir
test/plug/router/utils_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
1
2022-02-22T02:26:13.000Z
2022-02-22T02:26:13.000Z
test/plug/router/utils_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
null
null
null
test/plug/router/utils_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Router.UtilsTest do use ExUnit.Case, async: true require Plug.Router.Utils, as: R doctest Plug.Router.Utils @opts [context: Plug.Router.Utils] defp build_path_match(route) do R.build_path_match(route, Plug.Router.Utils) end test "split on root" do assert R.split("/") == [] a...
36.932039
136
0.611987
93148062643047f4e459d619c9e02d28a23abec6
1,096
exs
Elixir
mix.exs
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
mix.exs
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
mix.exs
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
defmodule Quickstart.Mixfile do use Mix.Project def project do [ app: :quickstart, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, deps: deps() ] end ...
24.355556
56
0.581204
93148145aa71b3d4907aeb6fe5e379742cefe524
804
ex
Elixir
lib/sanbase/insight/post_image.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/insight/post_image.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/insight/post_image.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Insight.PostImage do use Ecto.Schema import Ecto.Changeset alias Sanbase.Insight.Post alias __MODULE__ schema "post_images" do belongs_to(:post, Post) field(:file_name, :string) field(:image_url, :string) field(:content_hash, :string) field(:hash_algorithm, :string) ...
25.935484
86
0.69403
931494245d0fa3ca1e79eab934a8e224768000bc
1,487
exs
Elixir
mix.exs
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
mix.exs
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
mix.exs
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
defmodule Absinthe.Mixfile do use Mix.Project @version "1.1.6" def project do [app: :absinthe, version: @version, elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, package: package, source_url: "ht...
26.087719
77
0.595831
9314b0e5d030672017d51ca605b16afd923bff32
1,460
exs
Elixir
apps/artemis/test/artemis/contexts/wiki_revisions/create_wiki_revision_test.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/test/artemis/contexts/wiki_revisions/create_wiki_revision_test.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/test/artemis/contexts/wiki_revisions/create_wiki_revision_test.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.CreateWikiRevisionTest do use Artemis.DataCase import Artemis.Factories alias Artemis.CreateWikiRevision describe "call!" do test "returns error when params are empty" do assert_raise Artemis.Context.Error, fn -> CreateWikiRevision.call!(%{}, Mock.system_user()) end ...
26.545455
100
0.683562
9314d4705f6a58f79de124c4a3491cc06d041257
597
exs
Elixir
priv/repo/migrations/20210116200818_create_user_meetings.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
priv/repo/migrations/20210116200818_create_user_meetings.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
priv/repo/migrations/20210116200818_create_user_meetings.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
defmodule NudgeApi.Repo.Migrations.CreateUserMeetings do use Ecto.Migration def change do create table(:user_meetings) do add :availabilities, {:array, :utc_datetime} add :user_id, references(:users, on_delete: :delete_all), null: false add :meeting_id, references(:meetings, on_delete: :delet...
31.421053
104
0.725293
9314e40904050790a297044960bd7584941a942a
169
exs
Elixir
config/config.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
config/config.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
config/config.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :wobserver2, assets: ""
28.166667
61
0.781065
9314e591aeb46adf739a7bf436aa113f93168e64
555
exs
Elixir
test/plds/distribution_test.exs
phoenixframework/plds
820600e8da6e13f376f8341cb78868bc189ddad8
[ "MIT" ]
60
2021-09-13T21:53:34.000Z
2022-03-09T14:31:36.000Z
test/plds/distribution_test.exs
phoenixframework/plds
820600e8da6e13f376f8341cb78868bc189ddad8
[ "MIT" ]
2
2021-09-23T17:13:40.000Z
2021-11-16T15:57:05.000Z
test/plds/distribution_test.exs
phoenixframework/plds
820600e8da6e13f376f8341cb78868bc189ddad8
[ "MIT" ]
2
2021-11-16T10:37:42.000Z
2022-02-18T19:32:38.000Z
defmodule PLDS.DistributionTest do use ExUnit.Case, async: true test "connect_to_nodes!/1" do # Nodes as spawned in test_helper.exs nodes = [:ana, :"bob@127.0.0.1"] assert :ok = PLDS.Distribution.connect_to_nodes!(nodes) assert Enum.sort(Node.list()) == [:"ana@127.0.0.1", :"bob@127.0.0.1"] a...
29.210526
87
0.589189
9314f5cf0af0ae4fd24b38d744938f9bc39ef6ac
2,434
ex
Elixir
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/validate_attestation_occurrence_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/validate_attestation_occurrence_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/validate_attestation_occurrence_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.965517
321
0.755136
93151a1cae499b0450e32aadd32a313517080390
118
exs
Elixir
test/snake_test.exs
fhunleth/snake
b287fd35da3546aec86c590a1abd3beac1c93174
[ "ISC" ]
20
2018-04-05T17:53:48.000Z
2022-02-23T04:15:16.000Z
test/snake_test.exs
MarceloMPJ/snake
b287fd35da3546aec86c590a1abd3beac1c93174
[ "ISC" ]
2
2018-04-16T17:06:42.000Z
2019-07-30T13:27:27.000Z
test/snake_test.exs
MarceloMPJ/snake
b287fd35da3546aec86c590a1abd3beac1c93174
[ "ISC" ]
3
2018-04-05T19:46:55.000Z
2020-12-08T20:00:33.000Z
defmodule SnakeTest do use ExUnit.Case doctest Snake test "there should be tests" do assert true end end
13.111111
33
0.720339