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
ff4a6e47d5b7ffab92759836c187ccecc1782dcf
113
ex
Elixir
lib/repo.ex
irisTa56/sdo_elixir
de856596c462141477bb27aee5d63cb7b95a3b67
[ "MIT" ]
null
null
null
lib/repo.ex
irisTa56/sdo_elixir
de856596c462141477bb27aee5d63cb7b95a3b67
[ "MIT" ]
2
2021-03-10T17:42:11.000Z
2021-05-11T13:38:31.000Z
lib/repo.ex
irisTa56/sdo_elixir
de856596c462141477bb27aee5d63cb7b95a3b67
[ "MIT" ]
null
null
null
defmodule SdoPhoenix.Repo do use Ecto.Repo, otp_app: :sdo_phoenix, adapter: Ecto.Adapters.Postgres end
18.833333
35
0.743363
ff4aa134f15448f27f6796dbb62eb8f14f3a7d9e
1,112
ex
Elixir
lib/vuetaba_web/channels/user_socket.ex
fobo66/vuetaba
629514acd9680190085e35ec497b68191115e508
[ "MIT" ]
9
2019-04-10T12:30:20.000Z
2020-09-07T15:07:02.000Z
lib/vuetaba_web/channels/user_socket.ex
fobo66/vuetaba
629514acd9680190085e35ec497b68191115e508
[ "MIT" ]
3
2019-10-28T10:39:06.000Z
2020-09-30T21:56:31.000Z
lib/vuetaba_web/channels/user_socket.ex
fobo66/vuetaba
629514acd9680190085e35ec497b68191115e508
[ "MIT" ]
null
null
null
defmodule VuetabaWeb.UserSocket do use Phoenix.Socket use Absinthe.Phoenix.Socket, schema: VuetabaWeb.Schema ## Channels # channel "room:*", VuetabaWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put defau...
30.054054
83
0.696942
ff4ac2f36a4f126b34faba5f4214444ef4e5935a
505
ex
Elixir
lib/quadquizaminos_web/views/error_view.ex
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
1
2022-01-11T20:06:31.000Z
2022-01-11T20:06:31.000Z
lib/quadquizaminos_web/views/error_view.ex
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
484
2021-02-15T18:43:40.000Z
2022-03-29T12:27:24.000Z
lib/quadquizaminos_web/views/error_view.ex
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
8
2021-02-15T19:12:51.000Z
2021-12-15T03:02:46.000Z
defmodule QuadquizaminosWeb.ErrorView do use QuadquizaminosWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the...
29.705882
61
0.742574
ff4ad8b740980b8a73f84ac0448e84d8a579d7ed
316
ex
Elixir
apps/web_api/lib/web_api/router.ex
msdmazarei/LRUCache
3287467056588971a8018ad5b661f58058f12f4d
[ "BSD-2-Clause" ]
null
null
null
apps/web_api/lib/web_api/router.ex
msdmazarei/LRUCache
3287467056588971a8018ad5b661f58058f12f4d
[ "BSD-2-Clause" ]
1
2020-03-15T18:18:57.000Z
2020-03-15T20:38:18.000Z
apps/web_api/lib/web_api/router.ex
msdmazarei/LRUCache
3287467056588971a8018ad5b661f58058f12f4d
[ "BSD-2-Clause" ]
1
2020-07-13T03:01:46.000Z
2020-07-13T03:01:46.000Z
defmodule WebApi.Router do use WebApi, :router pipeline :api do plug :accepts, ["json"] end scope "/api", WebApi do pipe_through :api get "/cache/:key", LruCacheController, :get post "/cache/:key", LruCacheController, :create delete "/cache/:key", LruCacheController, :delete end end
21.066667
53
0.670886
ff4afb8e3aed242f7c6dba0f7f1f8f1649d8ec34
1,037
exs
Elixir
apps/site/test/site_web/views/helpers/search_helpers_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/test/site_web/views/helpers/search_helpers_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/test/site_web/views/helpers/search_helpers_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.SearchHelpersTest do use SiteWeb.ConnCase, async: true import SiteWeb.SearchHelpers describe "desktop_form/2" do test "renders with default text", %{conn: conn} do conn = get(conn, search_path(conn, :index, %{"search" => %{"query" => "Search Query Format"}})) response =...
35.758621
96
0.658631
ff4b05c269c1f4c7596221e18481d376680f86ed
915
exs
Elixir
apps/elixir_ls_utils/mix.exs
zetaron/elixir-ls
3a94455f90927601d0d3bb46f837a4f3944c5ab9
[ "Apache-2.0" ]
null
null
null
apps/elixir_ls_utils/mix.exs
zetaron/elixir-ls
3a94455f90927601d0d3bb46f837a4f3944c5ab9
[ "Apache-2.0" ]
null
null
null
apps/elixir_ls_utils/mix.exs
zetaron/elixir-ls
3a94455f90927601d0d3bb46f837a4f3944c5ab9
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.Utils.Mixfile do use Mix.Project def project do [ app: :elixir_ls_utils, version: "0.5.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", elixirc_paths: elixirc_paths(Mix.env()), lockfile: "../../mix.lock...
24.72973
74
0.614208
ff4b1e4881ca6935271cc2915825ef4e4144b50f
5,970
ex
Elixir
lib/five_hundred/game.ex
hugomd/five_hundred
74d5b251d4da05ff650d786d5627965114f26447
[ "MIT" ]
2
2021-06-28T07:06:13.000Z
2021-07-18T01:13:27.000Z
lib/five_hundred/game.ex
hugomd/five_hundred
74d5b251d4da05ff650d786d5627965114f26447
[ "MIT" ]
1
2021-06-20T07:49:56.000Z
2021-06-20T07:49:56.000Z
lib/five_hundred/game.ex
hugomd/five_hundred
74d5b251d4da05ff650d786d5627965114f26447
[ "MIT" ]
1
2021-07-17T10:23:36.000Z
2021-07-17T10:23:36.000Z
defmodule FiveHundred.Game do @moduledoc """ Models a game of 500 TODO: - score - turn """ alias FiveHundred.{Bid, Game, Player, PlayerBid} @derive Jason.Encoder defstruct [ :winning_bid, :players, :turn, :code, :max_players, :last_round_winner, :bid_exclusion, state:...
34.912281
150
0.613065
ff4b3cbcab0de62310b3c1ab42e560c414a75d05
730
exs
Elixir
priv/repo/migrations/20200515091329_create_commits.exs
calleluks/ex-remit
893dbc42c9ace6db6ee044f82371075198089fdc
[ "MIT" ]
17
2020-06-28T19:01:49.000Z
2021-11-24T23:55:09.000Z
priv/repo/migrations/20200515091329_create_commits.exs
calleluks/ex-remit
893dbc42c9ace6db6ee044f82371075198089fdc
[ "MIT" ]
29
2020-06-27T17:44:38.000Z
2022-01-17T10:00:12.000Z
priv/repo/migrations/20200515091329_create_commits.exs
calleluks/ex-remit
893dbc42c9ace6db6ee044f82371075198089fdc
[ "MIT" ]
2
2021-03-01T09:51:56.000Z
2021-03-04T21:27:56.000Z
defmodule Remit.Repo.Migrations.CreateCommits do use Ecto.Migration def change do create table(:commits) do add :sha, :string, null: false add :author_email, :string, null: false add :author_name, :string, null: false add :author_usernames, {:array, :string}, null: false add :owne...
29.2
59
0.661644
ff4b961d4980e1ea528840b8483b4685b28e942f
441
ex
Elixir
lib/goldie/supervisor_npc.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
lib/goldie/supervisor_npc.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
lib/goldie/supervisor_npc.ex
scatterbrain/goldie
db649f9555d453541d01d0707d86b41f41156640
[ "MIT" ]
null
null
null
defmodule Goldie.SupervisorNPC do @moduledoc """ NPC supervisor """ use Supervisor require Logger def start_npc(opts) do Supervisor.start_child(__MODULE__, opts) end def start_link do Supervisor.start_link(__MODULE__, :ok, [name: __MODULE__]) end def init(:ok) do children = [ wo...
17.64
62
0.673469
ff4b9f59c62720a81d806746fd72b0053fa4df84
14,570
ex
Elixir
deps/phoenix/lib/phoenix/channel/server.ex
thaisfiori/blog_da_tha
e860e64e5251dae03b95fdf1e339ec0a3d789a29
[ "Apache-2.0" ]
2
2020-05-06T14:51:56.000Z
2020-05-06T14:52:21.000Z
deps/phoenix/lib/phoenix/channel/server.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/phoenix/lib/phoenix/channel/server.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2020-05-16T22:44:14.000Z
2020-05-16T22:44:14.000Z
defmodule Phoenix.Channel.Server do @moduledoc false use GenServer, restart: :temporary require Logger require Phoenix.Endpoint alias Phoenix.PubSub alias Phoenix.Socket alias Phoenix.Socket.{Broadcast, Message, Reply, PoolSupervisor} ## Socket API @doc """ Joins the channel in socket with authe...
26.587591
100
0.626424
ff4bb4edcd6d19db533f2002ba7b7a7fd78fcf93
417
ex
Elixir
2016/day06/lib/day06.ex
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
2016/day06/lib/day06.ex
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
2016/day06/lib/day06.ex
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
defmodule Day06 do @moduledoc """ Entry point for day 6 solver. """ alias Day06.Message def part_one(filename) do filename |> solve(&Message.most_common/1) end def part_two(filename) do filename |> solve(&Message.least_common/1) end defp solve(filename, select_char) do filename |> F...
18.130435
46
0.666667
ff4bf364f376e7ffe0bca53370808d4ea1727b05
4,495
ex
Elixir
apps/ewallet_db/test/support/factory.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/test/support/factory.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/test/support/factory.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.Factory do @moduledoc """ Factories used for testing. """ use ExMachina.Ecto, repo: EWalletDB.Repo alias ExMachina.Strategy alias EWalletDB.{ Account, APIKey, AuthToken, Balance, ForgetPasswordRequest, Invite, Key, Membership, Mint, MintedToken, ...
22.252475
84
0.629143
ff4bf5892ffd6ecd3dfc87df9e063c5a07a11294
598
ex
Elixir
lib/octopus/accounts/request.ex
ubudget/octopus
84087fbb6bfd5e7611583d7c1098e18d4239f036
[ "MIT" ]
null
null
null
lib/octopus/accounts/request.ex
ubudget/octopus
84087fbb6bfd5e7611583d7c1098e18d4239f036
[ "MIT" ]
null
null
null
lib/octopus/accounts/request.ex
ubudget/octopus
84087fbb6bfd5e7611583d7c1098e18d4239f036
[ "MIT" ]
null
null
null
defmodule Octopus.Accounts.Request do @moduledoc """ Defines the fields of an auth request. """ use Ecto.Schema import Ecto.Changeset alias Octopus.Accounts.User @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "requests" do field(:secure_hash, :string) f...
23
63
0.677258
ff4bfe193aa94a8f3aeeec0d108ff449846eb9d1
632
ex
Elixir
lib/text_2_sign/fetcher.ex
Waasi/text_2_sign
6edc91f12253817dbebb687cf24bc1dbe78888a1
[ "MIT" ]
7
2016-10-23T20:01:52.000Z
2021-03-16T06:16:05.000Z
lib/text_2_sign/fetcher.ex
Waasi/text_2_sign
6edc91f12253817dbebb687cf24bc1dbe78888a1
[ "MIT" ]
4
2016-10-25T00:16:24.000Z
2018-05-09T17:08:35.000Z
lib/text_2_sign/fetcher.ex
Waasi/text_2_sign
6edc91f12253817dbebb687cf24bc1dbe78888a1
[ "MIT" ]
4
2018-05-09T13:56:24.000Z
2021-12-23T02:14:56.000Z
defmodule Text2Sign.Fetcher do @moduledoc """ The Text2Sign.Fetcher module allows the fetching of the url for the given word. """ @doc """ The fetch/1 function takes a string type word as an argument and returns a tuple with the status and the url for the given word. ### Example: iex> Text2S...
21.066667
54
0.621835
ff4c0abd56257a3cb80adcbab2abac2cabbccbd9
282
exs
Elixir
elixir/priv/repo/migrations/20210209205011_create_companies.exs
XanderHarris/web-homework
d0b5c2bbbd055341d51f02f824a2020188f6c094
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20210209205011_create_companies.exs
XanderHarris/web-homework
d0b5c2bbbd055341d51f02f824a2020188f6c094
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20210209205011_create_companies.exs
XanderHarris/web-homework
d0b5c2bbbd055341d51f02f824a2020188f6c094
[ "MIT" ]
null
null
null
defmodule Homework.Repo.Migrations.CreateCompanies do use Ecto.Migration def change do create table(:companies, primary_key: false) do add(:id, :uuid, primary_key: true) add(:name, :string) add(:credit_line, :integer) timestamps() end end end
21.692308
53
0.673759
ff4c1f9986934d90a5078a0ae5d103a420dbfeb8
1,840
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/video_formats_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/video_formats_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/video_formats_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.8
194
0.747826
ff4c1fdbb6610f940f274129ca1f0ea9398ac797
2,174
ex
Elixir
clients/os_login/lib/google_api/os_login/v1alpha/model/login_profile.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/os_login/lib/google_api/os_login/v1alpha/model/login_profile.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/os_login/lib/google_api/os_login/v1alpha/model/login_profile.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
39.527273
193
0.722171
ff4c2ecf34c4b623dd61336cd06f6f0666c355f4
73
exs
Elixir
test/test_helper.exs
Atla0903/nano_planner
6ffc83e09853084e932a063a9ce651563b8b38e1
[ "MIT" ]
null
null
null
test/test_helper.exs
Atla0903/nano_planner
6ffc83e09853084e932a063a9ce651563b8b38e1
[ "MIT" ]
null
null
null
test/test_helper.exs
Atla0903/nano_planner
6ffc83e09853084e932a063a9ce651563b8b38e1
[ "MIT" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(NanoPlanner.Repo, :manual)
14.6
57
0.794521
ff4c34a3b7cceb9c590120b18034cebd372138c6
1,031
exs
Elixir
mix.exs
b1az/elixir-keycloak
1252c68bcc6e8198e16877e824af1508b10007e8
[ "MIT" ]
38
2017-07-31T22:30:26.000Z
2022-02-01T11:24:42.000Z
mix.exs
b1az/elixir-keycloak
1252c68bcc6e8198e16877e824af1508b10007e8
[ "MIT" ]
6
2018-12-17T16:31:46.000Z
2021-12-07T15:34:35.000Z
mix.exs
b1az/elixir-keycloak
1252c68bcc6e8198e16877e824af1508b10007e8
[ "MIT" ]
8
2018-12-15T05:51:39.000Z
2021-12-14T12:42:17.000Z
defmodule Keycloak.Mixfile do use Mix.Project def project do [ app: :keycloak, version: "1.1.0", elixir: "~> 1.6", name: "keycloak", description: "Library for interacting with a Keycloak authorization server", package: package(), deps: deps(), docs: [extras: ["RE...
23.976744
82
0.548982
ff4c42a02a7ec90143302b75d8aecc10643aee68
1,892
ex
Elixir
clients/discovery/lib/google_api/discovery/v1/model/directory_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/model/directory_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/discovery/lib/google_api/discovery/v1/model/directory_list.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...
35.698113
167
0.723573
ff4c4a67869205aa4940c5ef9dcbff5cecb24b94
200
exs
Elixir
example/config/dev.exs
rschef/paper_trail
6ab8b29ee97b46222cc48d376daea70fc5cb8105
[ "MIT" ]
484
2016-06-19T19:33:31.000Z
2022-03-30T00:04:06.000Z
example/config/dev.exs
rschef/paper_trail
6ab8b29ee97b46222cc48d376daea70fc5cb8105
[ "MIT" ]
125
2016-12-13T14:28:45.000Z
2022-03-01T00:07:06.000Z
example/config/dev.exs
rschef/paper_trail
6ab8b29ee97b46222cc48d376daea70fc5cb8105
[ "MIT" ]
80
2016-09-09T02:12:41.000Z
2022-03-29T20:51:12.000Z
use Mix.Config config :example, Repo, adapter: Ecto.Adapters.Postgres, database: "papertrail_example_dev", username: "postgres", password: "postgres", hostname: "localhost", poolsize: 10
20
37
0.725
ff4c4f8eab41994a3a5951dbe9aafdd620504b10
490
ex
Elixir
lib/open_graph/application.ex
goofansu/ogp
f012a9d6caaf2cc62a58b037cb16dff53d809d4a
[ "MIT" ]
15
2021-06-04T02:43:20.000Z
2022-01-25T01:37:37.000Z
lib/open_graph/application.ex
goofansu/ogp
f012a9d6caaf2cc62a58b037cb16dff53d809d4a
[ "MIT" ]
1
2021-05-29T03:31:19.000Z
2021-05-29T03:31:19.000Z
lib/open_graph/application.ex
goofansu/ogp
f012a9d6caaf2cc62a58b037cb16dff53d809d4a
[ "MIT" ]
null
null
null
defmodule OpenGraph.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ {Finch, name: OpenGraph.Finch} ] # See https://hexdocs.pm/elixir/Supervisor....
24.5
63
0.712245
ff4c70bf640db5001d13cd5341bfc22b6c4ac62c
3,209
ex
Elixir
lib/mix/task/radiator.adduser.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
lib/mix/task/radiator.adduser.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
lib/mix/task/radiator.adduser.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule Mix.Tasks.Radiator.AddUser do use Mix.Task @shortdoc "Add a user." @moduledoc """ Add a user. Use `-a` to pre-confirm the email address. mix radiator.adduser username email password ## Options * `-a/--activate` - activates the newly created user so no more email verification is necess...
26.520661
100
0.486133
ff4c76baf2f9ef6b1b86a118843cb8ade2fa4c40
1,899
ex
Elixir
clients/content/lib/google_api/content/v21/model/localinventory_custom_batch_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/localinventory_custom_batch_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/localinventory_custom_batch_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.527273
173
0.743023
ff4c8508af0dbaabb3553b19b81a5567803f9b98
1,178
exs
Elixir
clients/games_configuration/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/games_configuration/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.GamesConfiguration.V1configuration.Mixfile do use Mix.Project @version "0.2.0" def project do [app: :google_api_games_configuration, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description...
24.040816
105
0.601019
ff4c8c3873d2c5ba6feabb16f2257eb0a69f494b
1,583
exs
Elixir
simple-linked-list/linked_list.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
simple-linked-list/linked_list.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
simple-linked-list/linked_list.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
defmodule LinkedList do @opaque t :: tuple() @doc """ Construct a new LinkedList """ @spec new() :: t def new() do [] end @doc """ Push an item onto a LinkedList """ @spec push(t, any()) :: t def push(list, elem) do [elem | list] end @doc """ Calculate the length of a LinkedList...
16.663158
57
0.561592
ff4cef8788be11455a9816747beec1f57c89e74d
1,473
ex
Elixir
clients/drive_activity/lib/google_api/drive_activity/v2/model/data_leak_prevention_change.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive_activity/lib/google_api/drive_activity/v2/model/data_leak_prevention_change.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/drive_activity/lib/google_api/drive_activity/v2/model/data_leak_prevention_change.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...
31.340426
100
0.742702
ff4cf08374029e672575213a9cd8af91258499bd
253
ex
Elixir
examples/phoenix_basic_example/lib/dripper_example/accounts/account_users.ex
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
1
2018-06-28T11:15:14.000Z
2018-06-28T11:15:14.000Z
examples/phoenix_basic_example/lib/dripper_example/accounts/account_users.ex
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
null
null
null
examples/phoenix_basic_example/lib/dripper_example/accounts/account_users.ex
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
null
null
null
defmodule DripperExample.AccountUsers do alias DripperExample.{ Repo, Accounts, UserQuery } def find_user(args) do Accounts.User |> UserQuery.query_username(args) |> UserQuery.query_email(args) |> Repo.one() end end
16.866667
40
0.675889
ff4cf88202b3ebe6470a8fed179508ca7ab44869
1,145
exs
Elixir
config/config.exs
CatCalZone/eurexa
d428d57ed66a7ec58e42eefefd85d1e61f33ea80
[ "Apache-2.0" ]
6
2015-11-29T22:59:30.000Z
2020-02-27T11:41:54.000Z
config/config.exs
CatCalZone/eurexa
d428d57ed66a7ec58e42eefefd85d1e61f33ea80
[ "Apache-2.0" ]
2
2016-01-21T12:28:57.000Z
2016-01-21T16:07:59.000Z
config/config.exs
CatCalZone/eurexa
d428d57ed66a7ec58e42eefefd85d1e61f33ea80
[ "Apache-2.0" ]
2
2016-01-20T20:21:55.000Z
2022-02-19T22:13:23.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.935484
73
0.737991
ff4d07ad4f000a09c48a15257c2060cb5396069a
179
exs
Elixir
priv/repo/migrations/20161026231540_create_user.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
null
null
null
priv/repo/migrations/20161026231540_create_user.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
1
2017-04-21T17:02:56.000Z
2017-04-21T17:02:56.000Z
priv/repo/migrations/20161026231540_create_user.exs
bschmeck/ex_gnarl
25d6961795f10a2d49efd1a29167a771ef9772f1
[ "MIT" ]
null
null
null
defmodule ExGnarl.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :email, :string timestamps() end end end
13.769231
47
0.670391
ff4d3934ac8af4065e64e55ad25ffd3e954c0e52
1,827
exs
Elixir
clients/genomics/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/genomics/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/genomics/mix.exs
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...
27.268657
102
0.652983
ff4d4c4aa31c44130f7492ac216d7f69f028fca2
130
ex
Elixir
lib/produto.ex
rodrigocaldeira/estoque_de_casa_bot
30a561630ac1cedf42bb37969ac833e9a6507c25
[ "MIT" ]
null
null
null
lib/produto.ex
rodrigocaldeira/estoque_de_casa_bot
30a561630ac1cedf42bb37969ac833e9a6507c25
[ "MIT" ]
null
null
null
lib/produto.ex
rodrigocaldeira/estoque_de_casa_bot
30a561630ac1cedf42bb37969ac833e9a6507c25
[ "MIT" ]
null
null
null
defmodule EstoqueDeCasaBot.Produto do defstruct nome: "", quantidade_atual: 0, quantidade_minima: 0 end
21.666667
37
0.653846
ff4d538a73e29ddd2539262ac6d7e4057183ef79
997
ex
Elixir
lib/ticketo_web/plugs/refresh_token.ex
alejandronanez/phoenix-absinthe-auth-template
e4e72f52247cb4c880ddc058beaa7b5eecb68980
[ "MIT" ]
8
2020-06-25T03:15:06.000Z
2021-12-10T10:52:26.000Z
lib/ticketo_web/plugs/refresh_token.ex
alejandronanez/phoenix-absinthe-auth-template
e4e72f52247cb4c880ddc058beaa7b5eecb68980
[ "MIT" ]
null
null
null
lib/ticketo_web/plugs/refresh_token.ex
alejandronanez/phoenix-absinthe-auth-template
e4e72f52247cb4c880ddc058beaa7b5eecb68980
[ "MIT" ]
null
null
null
defmodule TicketoWeb.Plugs.RefreshToken do @moduledoc """ Idenfity if the request is a `tokenRefresh` mutation and let it continue. Getting all the data from the token should happen at the resolver/context level not in the plug as this will log the user back in and we don't want that. """ @behaviour Plug ...
24.925
91
0.675025
ff4d9a449054e91bd9a8ae7a9d92848f16d09083
2,539
exs
Elixir
spec/protocol/publish_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
spec/protocol/publish_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
spec/protocol/publish_spec.exs
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
defmodule PixiePublishSpec do use ESpec describe "handle" do let :client_id do {id, _} = Pixie.Backend.create_client id end let :event do m = Pixie.Message.Publish.init message r = Pixie.Response.init m %Pixie.Event{message: m, response: r} end let :handled, do: ...
27.010638
142
0.635289
ff4d9c7410646eac6e04846f38ee46a871323116
114
exs
Elixir
basic/run_element_demo.exs
varnit/membrane-demo
c22aefddca7719f5dc9041d2e016aec560a6ceae
[ "Apache-2.0" ]
null
null
null
basic/run_element_demo.exs
varnit/membrane-demo
c22aefddca7719f5dc9041d2e016aec560a6ceae
[ "Apache-2.0" ]
null
null
null
basic/run_element_demo.exs
varnit/membrane-demo
c22aefddca7719f5dc9041d2e016aec560a6ceae
[ "Apache-2.0" ]
null
null
null
alias Membrane.Demo.Basic.FirstElement.Pipeline {:ok, pid} = Pipeline.start_link("sample.mp3") Pipeline.play(pid)
28.5
47
0.780702
ff4da0ec4821f32f87f9de9941adeff15ccc2f53
3,643
exs
Elixir
test/ex_doc/cli_test.exs
bortzmeyer/ex_doc
dd10dd43c0ac135ef1d9c029e75a5da251f550af
[ "Apache-2.0", "CC-BY-4.0" ]
1,206
2015-01-02T02:05:12.000Z
2022-03-29T17:18:10.000Z
test/ex_doc/cli_test.exs
bortzmeyer/ex_doc
dd10dd43c0ac135ef1d9c029e75a5da251f550af
[ "Apache-2.0", "CC-BY-4.0" ]
1,266
2015-01-03T03:26:04.000Z
2022-03-31T09:43:53.000Z
test/ex_doc/cli_test.exs
LaudateCorpus1/ex_doc
0612bac649cbb44ef09c20dedcf7e588a150606c
[ "Apache-2.0", "CC-BY-4.0" ]
300
2015-01-03T04:07:24.000Z
2022-03-29T08:10:56.000Z
defmodule ExDoc.CLITest do use ExUnit.Case, async: true import ExUnit.CaptureIO @ebin "_build/test/lib/ex_doc/ebin" defp run(args) do ExDoc.CLI.main(args, &{&1, &2, &3}) end test "minimum command-line options" do assert {"ExDoc", "1.2.3", [apps: [:ex_doc], source_beam: @ebin]} == run...
25.124138
96
0.516882
ff4db64fed2f2aa4f6c0c0eda52c9b13d61e7839
1,088
exs
Elixir
mix.exs
TwistingTwists/logger_exporter
21639b1cf3cf1f7867e241d9a2ec920531b8b693
[ "MIT" ]
null
null
null
mix.exs
TwistingTwists/logger_exporter
21639b1cf3cf1f7867e241d9a2ec920531b8b693
[ "MIT" ]
null
null
null
mix.exs
TwistingTwists/logger_exporter
21639b1cf3cf1f7867e241d9a2ec920531b8b693
[ "MIT" ]
null
null
null
defmodule LoggerExporter.MixProject do use Mix.Project @source_url "https://github.com/romariolopezc/logger_exporter" @version "0.1.1" def project do [ app: :logger_exporter, version: @version, elixir: "~> 1.9", deps: deps(), description: "Export your logs to the service of y...
20.528302
69
0.54136
ff4dbb0042ad915063b7650679ef2577fd86ae7d
606
exs
Elixir
mix.exs
Redeux/identicon
c81c9ca3de5a0a6c3699e0671a1697b034b01a0d
[ "MIT" ]
4
2017-12-04T11:00:46.000Z
2017-12-04T11:13:31.000Z
mix.exs
Redeux/identicon
c81c9ca3de5a0a6c3699e0671a1697b034b01a0d
[ "MIT" ]
null
null
null
mix.exs
Redeux/identicon
c81c9ca3de5a0a6c3699e0671a1697b034b01a0d
[ "MIT" ]
null
null
null
defmodule Identicon.Mixfile do use Mix.Project def project do [ app: :identicon, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_appl...
20.2
88
0.574257
ff4e0e842bb3d6e59fba3b99d0506f927a922ff5
1,149
ex
Elixir
test/support/channel_case.ex
vsyrovat/inn-checker
03cb3f282af598c7d62ea96c483540edead4ba1e
[ "MIT" ]
null
null
null
test/support/channel_case.ex
vsyrovat/inn-checker
03cb3f282af598c7d62ea96c483540edead4ba1e
[ "MIT" ]
null
null
null
test/support/channel_case.ex
vsyrovat/inn-checker
03cb3f282af598c7d62ea96c483540edead4ba1e
[ "MIT" ]
null
null
null
defmodule AppWeb.ChannelCase do # credo:disable-for-this-file Credo.Check.Design.AliasUsage @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 quer...
27.357143
65
0.724978
ff4e15e8511e6ae069bf4a814d31dfa9e5bc63dc
633
exs
Elixir
test/grpc/server_test.exs
scohen/grpc-elixir
c0eaa61d789f5c5b9e3c2f4c213944bebaf2c72c
[ "Apache-2.0" ]
null
null
null
test/grpc/server_test.exs
scohen/grpc-elixir
c0eaa61d789f5c5b9e3c2f4c213944bebaf2c72c
[ "Apache-2.0" ]
null
null
null
test/grpc/server_test.exs
scohen/grpc-elixir
c0eaa61d789f5c5b9e3c2f4c213944bebaf2c72c
[ "Apache-2.0" ]
null
null
null
defmodule GRPC.ServerTest do use ExUnit.Case, async: true defmodule Greeter.Service do use GRPC.Service, name: "hello" end defmodule Greeter.Server do use GRPC.Server, service: Greeter.Service end test "stop/2 works" do assert {%{"hello" => GRPC.ServerTest.Greeter.Server}} = GRPC...
27.521739
81
0.680885
ff4e3b290a5a9977820683adb1145f81b5229179
1,998
exs
Elixir
test/grizzly/command_class/thermostat_setback/set_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/thermostat_setback/set_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/thermostat_setback/set_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.ThermostatSetback.Set.Test do use ExUnit.Case, async: true alias Grizzly.Packet alias Grizzly.CommandClass.ThermostatSetback.Set alias Grizzly.Command.EncodeError describe "implements the Grizzly command behaviour" do test "initializes the command state" do {:ok, com...
33.3
93
0.655155
ff4e4f22a52140441681f41da41897dc99cf280c
965
ex
Elixir
test/support/channel_case.ex
zegohome/phoenix-boilerplate
38d7a978dd1ace4885217dba601a7369d50a72e0
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
zegohome/phoenix-boilerplate
38d7a978dd1ace4885217dba601a7369d50a72e0
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
zegohome/phoenix-boilerplate
38d7a978dd1ace4885217dba601a7369d50a72e0
[ "Apache-2.0" ]
null
null
null
defmodule PhxBoilerplateWeb.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 datastructures and query the data layer. Finally, if the test case inter...
25.394737
76
0.724352
ff4e5f516c7cb90b40c7e7fcd63204d78a61465d
1,856
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180424131331_add_symbol_to_minted_token_id.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180424131331_add_symbol_to_minted_token_id.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180424131331_add_symbol_to_minted_token_id.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
28.121212
74
0.650323
ff4e72caa577269c52e90b04653b565153ea5884
1,788
exs
Elixir
test/ex_appointment_web/controllers/user_registration_controller_test.exs
amalgamated-tools/ex_appointment
095237f0bd6746afd8ec93d92540158aa1934075
[ "MIT" ]
1
2021-03-28T17:41:37.000Z
2021-03-28T17:41:37.000Z
test/ex_appointment_web/controllers/user_registration_controller_test.exs
amalgamated-tools/ex_appointment
095237f0bd6746afd8ec93d92540158aa1934075
[ "MIT" ]
null
null
null
test/ex_appointment_web/controllers/user_registration_controller_test.exs
amalgamated-tools/ex_appointment
095237f0bd6746afd8ec93d92540158aa1934075
[ "MIT" ]
null
null
null
defmodule ExAppointmentWeb.UserRegistrationControllerTest do use ExAppointmentWeb.ConnCase, async: true import ExAppointment.AccountsFixtures describe "GET /users/register" do test "renders registration page", %{conn: conn} do conn = get(conn, Routes.user_registration_path(conn, :new)) response ...
32.509091
98
0.633669
ff4e917a9f111b0b4169fb5cb6fcca412ff9ea0b
1,765
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/shared_drive_file.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/shared_drive_file.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/shared_drive_file.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
33.942308
97
0.739943
ff4e9889e8b4dbf3b221a46cccee9dfd9d498dec
5,233
ex
Elixir
clients/content/lib/google_api/content/v2/model/inventory_set_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/inventory_set_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/inventory_set_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
55.670213
368
0.70151
ff4ea49d8d77fc00d908bbd275b51837ca576aa1
1,721
ex
Elixir
lib/poe_api/token/authorization_code.ex
simplecastapps/poe-api
56e9b6ebfcd931c4023e555534a753f5ad32cf9c
[ "MIT" ]
4
2016-01-14T05:33:21.000Z
2017-02-01T14:10:57.000Z
lib/poe_api/token/authorization_code.ex
poegroup/poe-api
d056412c336e30747f811fb5124e14ecb1b43b98
[ "MIT" ]
null
null
null
lib/poe_api/token/authorization_code.ex
poegroup/poe-api
d056412c336e30747f811fb5124e14ecb1b43b98
[ "MIT" ]
3
2017-01-09T14:34:54.000Z
2020-12-17T07:14:33.000Z
defmodule PoeApi.Token.AuthorizationCode do alias PoeApi.Token.{Config,RelativeExpiration,Utils} @salt_length 6 defstruct [client: nil, scopes: [], user: nil, expiration: %RelativeExpiration{hours: 1}, redirect_uri: nil] def encode(%__MODULE__{client: client, user: user, redirect_uri: redirect_uri, scopes: e...
35.122449
132
0.624637
ff4eae5c2285b9f3ac77e3431c107d23465cae3d
2,080
ex
Elixir
lib/mix/tasks/rustler_precompiled.download.ex
philss/baked_nifs
bd3086c84e59c5eb5c5d7cc5484bf6e069c63925
[ "Apache-2.0" ]
1
2022-02-05T21:20:07.000Z
2022-02-05T21:20:07.000Z
lib/mix/tasks/rustler_precompiled.download.ex
philss/baked_nifs
bd3086c84e59c5eb5c5d7cc5484bf6e069c63925
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/rustler_precompiled.download.ex
philss/baked_nifs
bd3086c84e59c5eb5c5d7cc5484bf6e069c63925
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.RustlerPrecompiled.Download do @shortdoc "Download precompiled NIFs and build the checksums" @moduledoc """ A task responsible for downloading the precompiled NIFs for a given module. This task must only be used by package creators who want to ship the precompiled NIFs. The goal is to do...
30.588235
91
0.675
ff4eb0763d0fe2b36749319275e487d5b1512d39
14,939
ex
Elixir
lib/moebius/query.ex
cpursley/moebius
5a6993dd06bfc05840bd1e1bdb60beeabec5ef81
[ "BSD-3-Clause" ]
null
null
null
lib/moebius/query.ex
cpursley/moebius
5a6993dd06bfc05840bd1e1bdb60beeabec5ef81
[ "BSD-3-Clause" ]
null
null
null
lib/moebius/query.ex
cpursley/moebius
5a6993dd06bfc05840bd1e1bdb60beeabec5ef81
[ "BSD-3-Clause" ]
null
null
null
defmodule Moebius.Query do import Inflex, only: [singularize: 1] alias Moebius.QueryCommand alias Moebius.CommandBatch use Moebius.QueryFilter @moduledoc """ The main query interface for Moebius. Import this module into your code and query like a champ """ @doc """ Specifies the table or view you w...
28.186792
158
0.629092
ff4ec61ca93a1e64107fe14b4abdab7ade19c4a7
761
exs
Elixir
mix.exs
gr8Adakron/minio_ex
7f448f921eb38ef8464ae0097bcb93741bea84e1
[ "MIT" ]
null
null
null
mix.exs
gr8Adakron/minio_ex
7f448f921eb38ef8464ae0097bcb93741bea84e1
[ "MIT" ]
null
null
null
mix.exs
gr8Adakron/minio_ex
7f448f921eb38ef8464ae0097bcb93741bea84e1
[ "MIT" ]
null
null
null
defmodule Minio.MixProject do use Mix.Project def project do [ app: :minio, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description(), name: "minio", source_url: "https://github.com...
18.560976
74
0.55979
ff4ed8d8480ea537b36e98a3e54fcd40721a46f3
151
exs
Elixir
config/test.exs
Celeo/gandalf_bot
f8e48b9a0b403fac5e29e514ce6c684d1bebeecc
[ "MIT" ]
null
null
null
config/test.exs
Celeo/gandalf_bot
f8e48b9a0b403fac5e29e514ce6c684d1bebeecc
[ "MIT" ]
null
null
null
config/test.exs
Celeo/gandalf_bot
f8e48b9a0b403fac5e29e514ce6c684d1bebeecc
[ "MIT" ]
null
null
null
import Config config :logger, level: :warning config :gandalf_discord_bot, config_file_name: "config.test.json", db_file_name: "roles.test.db"
16.777778
39
0.754967
ff4f0bd58686bc6b52ebecaedba3f2e7878f31f1
1,654
ex
Elixir
apps/artemis/lib/artemis/schemas/user.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis/lib/artemis/schemas/user.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
3
2019-03-05T23:55:09.000Z
2019-05-29T13:46:34.000Z
apps/artemis/lib/artemis/schemas/user.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule Artemis.User do use Artemis.Schema use Assoc.Schema, repo: Artemis.Repo schema "users" do field :client_key, :string field :client_secret, :string field :description, :string field :email, :string field :first_name, :string field :image, :string field :last_log_in_at, :utc_d...
20.936709
87
0.643894
ff4f1e58dbbb26b2668a10017ea4a4cd0914c016
2,136
ex
Elixir
lib/mongoose_push_web/schemas/request/send_notification/deep.ex
4nirmall/MongoosePush
6c8c53234f8623a1abeb115c8fbdab691a95ed2f
[ "Apache-2.0" ]
107
2017-02-10T00:26:05.000Z
2022-02-23T00:50:07.000Z
lib/mongoose_push_web/schemas/request/send_notification/deep.ex
4nirmall/MongoosePush
6c8c53234f8623a1abeb115c8fbdab691a95ed2f
[ "Apache-2.0" ]
109
2017-02-09T14:40:20.000Z
2021-04-30T22:01:20.000Z
lib/mongoose_push_web/schemas/request/send_notification/deep.ex
4nirmall/MongoosePush
6c8c53234f8623a1abeb115c8fbdab691a95ed2f
[ "Apache-2.0" ]
25
2017-08-21T20:55:33.000Z
2022-03-06T10:01:13.000Z
defmodule MongoosePushWeb.Schemas.Request.SendNotification.Deep do alias OpenApiSpex.Schema def base() do %{ properties: %{ service: %Schema{ type: :string, description: "Push notification service", format: :text, enum: ["fcm", "apns"] }, mo...
27.384615
88
0.507959
ff4f2029ac9e03f3324167a2c4a1651281d4ae13
1,224
exs
Elixir
mix.exs
elcritch/nerves_system_amd64
d6c5470af78545bb77259fe7653cae6b53059b2a
[ "Apache-2.0" ]
null
null
null
mix.exs
elcritch/nerves_system_amd64
d6c5470af78545bb77259fe7653cae6b53059b2a
[ "Apache-2.0" ]
null
null
null
mix.exs
elcritch/nerves_system_amd64
d6c5470af78545bb77259fe7653cae6b53059b2a
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi3.Mixfile do use Mix.Project @version Path.join(__DIR__, "VERSION") |> File.read! |> String.strip def project do [app: :nerves_system_amd64, version: @version, elixir: "~> 1.4", compilers: Mix.compilers ++ [:nerves_package], description: description(), ...
22.666667
79
0.575163
ff4f28c047fae0a298eaf7c993275deaec689fae
992
ex
Elixir
lib/phoenix_inline_svg/utils.ex
qdentity/phoenix_inline_svg
b920af17ab568a88b5493cd8d8651ba00e87dc3c
[ "MIT" ]
58
2016-07-19T13:45:57.000Z
2022-03-04T15:45:35.000Z
lib/phoenix_inline_svg/utils.ex
qdentity/phoenix_inline_svg
b920af17ab568a88b5493cd8d8651ba00e87dc3c
[ "MIT" ]
44
2016-07-20T22:27:03.000Z
2021-05-06T22:06:28.000Z
lib/phoenix_inline_svg/utils.ex
qdentity/phoenix_inline_svg
b920af17ab568a88b5493cd8d8651ba00e87dc3c
[ "MIT" ]
33
2017-01-27T20:15:25.000Z
2022-03-02T16:32:07.000Z
defmodule PhoenixInlineSvg.Utils do @moduledoc false def insert_attrs(html, []), do: html def insert_attrs(html, attrs) do Enum.reduce(attrs, html, fn {attr, value}, acc -> attr = attr |> to_string |> String.replace("_", "-") acc |> Floki.parse_fragment() |> ...
20.244898
68
0.569556
ff4f42ee2bab1cfbf7738d691f249ae54e7bef99
1,528
ex
Elixir
ex_api/ex_api/mongo_db.ex
zemuldo/zemuldo.com.backend
0d9ee45e8595f9e154744e68eb820cce01905bac
[ "MIT" ]
2
2018-03-02T11:29:33.000Z
2019-10-26T18:38:01.000Z
ex_api/ex_api/mongo_db.ex
zemuldo/zemuldo.com.backend
0d9ee45e8595f9e154744e68eb820cce01905bac
[ "MIT" ]
5
2018-01-30T11:40:56.000Z
2021-07-12T05:30:02.000Z
ex_api/ex_api/mongo_db.ex
zemuldo/zemuldo.com.backend
0d9ee45e8595f9e154744e68eb820cce01905bac
[ "MIT" ]
1
2020-07-25T15:07:12.000Z
2020-07-25T15:07:12.000Z
defmodule ExApi.MongoDB do use GenServer alias ExApi.Posts.FeaturedPost @env Application.get_env(:ex_api, ExApi.MongoDB) @uri "mongodb://#{@env[:host]}:27017/#{@env[:database]}" @server __MODULE__ def init(init_arg) do {:ok, init_arg} end def start_link(_) do case @env[:user] do nil ...
22.470588
96
0.60144
ff4f45c3dc67ba452ef536884a3805014a978129
343
ex
Elixir
lib/animu/account/auth/pipeline.ex
elarkham/animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
1
2018-01-02T06:59:08.000Z
2018-01-02T06:59:08.000Z
lib/animu/account/auth/pipeline.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
lib/animu/account/auth/pipeline.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
defmodule Animu.Auth.Pipeline do use Guardian.Plug.Pipeline, otp_app: :animu, error_handler: Animu.Auth.ErrorHandler, module: Animu.Auth.Guardian #plug Guardian.Plug.VerifySession plug Guardian.Plug.VerifyHeader, realm: :none plug Guardian.Plug.EnsureAuthenticated plug Guardian.Plug.LoadResource,...
28.583333
52
0.778426
ff4f750c79ba27c28d4be8d1ae0d0f3d96e88555
12,947
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/ssl_certificates.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/ssl_certificates.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/ssl_certificates.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
61.947368
1,327
0.721634
ff4f8061bf371b39307f171c43dc93ca61bd371e
12,455
ex
Elixir
lib/elixir/lib/code/typespec.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/lib/code/typespec.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/lib/code/typespec.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Code.Typespec do @moduledoc false @doc """ Converts a spec clause back to Elixir quoted expression. """ @spec spec_to_quoted(atom, tuple) :: {atom, keyword, [Macro.t()]} def spec_to_quoted(name, spec) def spec_to_quoted(name, {:type, anno, :fun, [{:type, _, :product, args}, result]}) whe...
29.514218
98
0.61381
ff4faeaa7e167b5844ec08d3f1043e4fcc698f6f
1,418
ex
Elixir
priv/templates/lib/web/controllers/veil/user_controller.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
164
2018-02-10T21:33:40.000Z
2022-03-15T06:10:50.000Z
priv/templates/lib/web/controllers/veil/user_controller.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
21
2018-02-15T02:31:40.000Z
2021-04-04T07:16:43.000Z
priv/templates/lib/web/controllers/veil/user_controller.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
14
2018-03-24T11:15:07.000Z
2020-06-28T12:33:38.000Z
defmodule <%= web_module %>.Veil.UserController do use <%= web_module %>, :controller alias <%= main_module %>.Veil alias <%= main_module %>.Veil.User action_fallback(<%= web_module %>.Veil.FallbackController) <%= if html? do %> plug(:scrub_params, "user" when action in [:create]) @doc """ Shows the ...
26.259259
78
0.589563
ff4ff3db4913fa91029ffe27bad1e489bc5af48e
1,107
exs
Elixir
c_src/membrane_rtmp_plugin/sink/rtmp_sink.spec.exs
membraneframework/membrane_rtmp_plugin
ff4b1ff25b7d67c896b6db523517f795c30b6f52
[ "Apache-2.0" ]
10
2021-11-05T10:19:43.000Z
2022-03-04T18:42:41.000Z
c_src/membrane_rtmp_plugin/sink/rtmp_sink.spec.exs
membraneframework/membrane_rtmp_plugin
ff4b1ff25b7d67c896b6db523517f795c30b6f52
[ "Apache-2.0" ]
5
2021-11-23T12:10:48.000Z
2022-01-04T06:57:31.000Z
c_src/membrane_rtmp_plugin/sink/rtmp_sink.spec.exs
membraneframework/membrane_rtmp_plugin
ff4b1ff25b7d67c896b6db523517f795c30b6f52
[ "Apache-2.0" ]
null
null
null
module Membrane.RTMP.Sink.Native state_type "State" interface [NIF] spec create(rtmp_url :: string) :: {:ok :: label, state} | {:error :: label, reason :: string} # WARN: connect will conflict with POSIX function name spec try_connect(state) :: (:ok :: label) | {:error :: label, :econnrefused :: label} ...
39.535714
94
0.636856
ff5008a24d5bdeb3835959e37fa665b749dc60e1
16,952
ex
Elixir
lib/cubdb/btree.ex
meyercm/cubdb
ed6bd87abd25d6d053b08a4b0a01defd57a5bbac
[ "Apache-2.0" ]
null
null
null
lib/cubdb/btree.ex
meyercm/cubdb
ed6bd87abd25d6d053b08a4b0a01defd57a5bbac
[ "Apache-2.0" ]
null
null
null
lib/cubdb/btree.ex
meyercm/cubdb
ed6bd87abd25d6d053b08a4b0a01defd57a5bbac
[ "Apache-2.0" ]
null
null
null
defmodule CubDB.Btree do @moduledoc false # `CubDB.Btree` is the internal module implementing the fundamental data # structure for CubDB: an append-only, copy-on-write B+tree. # # Operations on Btree generally return another modified Btree, similarly to # immutable data structures like maps. The new Btree ...
30.217469
95
0.622758
ff50139c045d3b01f54d8bb17277b510dd8ed8dc
2,446
ex
Elixir
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/date_range.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/date_range.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/date_range.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...
46.150943
328
0.719133
ff5014140b53c5db856e3e38821183c9ef62a77d
1,926
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_content_details.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_content_details.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_content_details.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.339623
139
0.726376
ff50280ce95e0d11930350697c1fab0f265350df
2,828
ex
Elixir
lib/mimicry/mock_api.ex
mimicry-tech/mimicry
08a28fb08a7f02fbbb0a2bc2724a08a0b0b41cd9
[ "MIT" ]
4
2021-06-18T17:47:32.000Z
2022-01-04T22:41:36.000Z
lib/mimicry/mock_api.ex
mimicry-tech/mimicry
08a28fb08a7f02fbbb0a2bc2724a08a0b0b41cd9
[ "MIT" ]
56
2021-06-14T19:04:35.000Z
2022-03-24T04:18:58.000Z
lib/mimicry/mock_api.ex
mimicry-tech/mimicry
08a28fb08a7f02fbbb0a2bc2724a08a0b0b41cd9
[ "MIT" ]
1
2021-06-13T13:44:35.000Z
2021-06-13T13:44:35.000Z
defmodule Mimicry.MockAPI do @moduledoc """ contains functions for pretending to be a functional API based on a spec """ require Logger alias Mimicry.OpenAPI.{Example, Path, Response, Specification} import Plug.Conn, only: [get_req_header: 2] @doc """ main entry point for responses. Essentially tri...
26.429907
86
0.617044
ff5029bc269d7b8e71406725a20f17b8625198f4
2,839
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content_rbm_media.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content_rbm_media.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_message_rbm_card_content_rbm_media.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2021-03-04T13:43:47.000Z
2021-03-04T13:43:47.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...
47.316667
373
0.749912
ff5030b71aa292613e25397359dd4115b2cf31fe
2,837
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.328125
393
0.746563
ff503b8a5bebf9ba6e768ea18da3d519451b4de9
16,583
ex
Elixir
lib/ex_unit/lib/ex_unit/callbacks.ex
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/callbacks.ex
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/callbacks.ex
irisTa56/elixir
0a953d75fb2cbdc6f3d33040aa60738d85512a1f
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.Callbacks do @moduledoc ~S""" Defines ExUnit callbacks. This module defines the `setup/1`, `setup/2`, `setup_all/1`, and `setup_all/2` callbacks, as well as the `on_exit/2`, `start_supervised/2` and `stop_supervised/1` functions. The setup callbacks are defined via macros and each one can...
30.595941
93
0.663511
ff5087e53f22e77f92e1ad1e80d8451a1e01bc4f
276
ex
Elixir
test/examples/conditional/cond.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
75
2021-11-17T11:55:13.000Z
2022-03-28T04:35:04.000Z
test/examples/conditional/cond.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
48
2021-11-15T13:56:14.000Z
2022-03-31T15:55:47.000Z
test/examples/conditional/cond.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
6
2021-12-22T20:41:27.000Z
2022-03-09T09:07:38.000Z
defmodule Conditional.Cond do def cond_(a), do: (cond do a == :ok -> :ok a > 5 -> :ok true -> :error end) def cond_block do a = 5 cond do a == :ok -> :ok a > 5 -> :ok true -> :error end end end
13.8
29
0.413043
ff50a504d841d9ca0018d4ee6da3420e9c86308c
80
ex
Elixir
lib/scratch_phoenix/repo.ex
w0rd-driven/scratch_phoenix
465e01af6e7d649bfb308edf91247e9d6c6a5876
[ "MIT" ]
null
null
null
lib/scratch_phoenix/repo.ex
w0rd-driven/scratch_phoenix
465e01af6e7d649bfb308edf91247e9d6c6a5876
[ "MIT" ]
null
null
null
lib/scratch_phoenix/repo.ex
w0rd-driven/scratch_phoenix
465e01af6e7d649bfb308edf91247e9d6c6a5876
[ "MIT" ]
null
null
null
defmodule ScratchPhoenix.Repo do use Ecto.Repo, otp_app: :scratch_phoenix end
20
42
0.8125
ff50a64990040111bc50342cf06fa3d89d494b50
3,502
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/quota.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/quota.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/quota.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
68.666667
1,615
0.73044
ff50d7bc37c4c417c7d4bdb015d5d4ab1f63edad
1,587
ex
Elixir
Microsoft.Azure.Management.Advisor/lib/microsoft/azure/management/advisor/connection.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Advisor/lib/microsoft/azure/management/advisor/connection.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Advisor/lib/microsoft/azure/management/advisor/connection.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Advisor.Connection do @moduledoc """ Handle Tesla connections for Microsoft.Azure.Management.Advisor. """ use ...
23.338235
80
0.694392
ff50dbe12d7882d2a2bd8bd57ce086c502689c1c
1,563
ex
Elixir
lib/mix/lib/mix/state.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/state.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/state.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.State do @moduledoc false @name __MODULE__ @timeout :infinity use Agent def start_link(_opts) do Agent.start_link(__MODULE__, :init, [], name: @name) end def init() do %{ shell: Mix.Shell.IO, env: from_env("MIX_ENV", :dev), target: from_env("MIX_TARGET", :host), ...
20.038462
83
0.595649
ff51295b621bb59d5657d0dc445324a818b280f0
1,342
exs
Elixir
mix.exs
Schultzer/timezone
ea252e87b99e07226cd45cda902489255c8c54b4
[ "MIT", "Unlicense" ]
2
2017-07-16T13:39:53.000Z
2018-01-17T15:53:29.000Z
mix.exs
Schultzer/timezone
ea252e87b99e07226cd45cda902489255c8c54b4
[ "MIT", "Unlicense" ]
null
null
null
mix.exs
Schultzer/timezone
ea252e87b99e07226cd45cda902489255c8c54b4
[ "MIT", "Unlicense" ]
null
null
null
defmodule Timezone.Mixfile do use Mix.Project @version "0.2.2" def project do [app: :timezone, version: @version, elixir: "~> 1.5", name: "Timezone", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), # Hex description: description(), ...
20.96875
91
0.564083
ff518300a3fe2e148462ed6e89d738cf5be2a1ca
1,010
exs
Elixir
test/render_test.exs
augnustin/ex_admin
218d0094de8186808924dcca6157875a7bb382c9
[ "MIT" ]
2
2019-12-21T12:59:19.000Z
2020-04-01T15:27:12.000Z
test/render_test.exs
augnustin/ex_admin
218d0094de8186808924dcca6157875a7bb382c9
[ "MIT" ]
null
null
null
test/render_test.exs
augnustin/ex_admin
218d0094de8186808924dcca6157875a7bb382c9
[ "MIT" ]
1
2020-02-29T22:13:24.000Z
2020-02-29T22:13:24.000Z
defmodule ExAdminTest.Render do use ExUnit.Case, async: true alias ExAdmin.Render test "string" do assert Render.to_string("test") == "test" end test "integer" do assert Render.to_string(123) == "123" end test "float" do assert Render.to_string(10.99) == "10.99" end test "atom" do ...
21.041667
71
0.626733
ff518d3e8c665cf4c599de6c1b718fbda60168bd
1,720
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.595745
308
0.748256
ff51c40a6060f7e315cc2496115eb7ed7b6d2a6f
1,412
ex
Elixir
lib/codes/codes_p19.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_p19.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_p19.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_P19 do alias IcdCode.ICDCode def _P190 do %ICDCode{full_code: "P190", category_code: "P19", short_code: "0", full_name: "Metabolic acidemia in newborn first noted before onset of labor", short_name: "Metabolic acidemia in newborn first noted...
32.837209
90
0.635977
ff51deeeb925d1103807dfb10515b1dcd886b4ce
2,779
ex
Elixir
lib/console/runbooks/action.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
6
2021-11-17T21:10:49.000Z
2022-02-16T19:45:28.000Z
lib/console/runbooks/action.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
18
2021-11-25T04:31:06.000Z
2022-03-27T04:54:00.000Z
lib/console/runbooks/action.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
null
null
null
defprotocol Console.Runbooks.Action do @spec enact(struct, Console.Runbooks.Actor.t) :: {:ok | :error, any} def enact(action, struct) end defmodule Console.Runbooks.Actor do alias Console.Runbooks.Action, as: ActionImpl alias Kube.Runbook.{Action, ConfigurationAction} defstruct [:ctx, :repo, :actor] @typ...
31.579545
98
0.653113
ff51f051dd0bbcb962bf3d79e5fd65715dbdc7b7
64
ex
Elixir
web/views/login_view.ex
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
web/views/login_view.ex
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
web/views/login_view.ex
shawn-mcginty/phoenix-webpack-skeleton
311559c860da97157d643d06cd2601aee81c6a3a
[ "MIT" ]
null
null
null
defmodule TimeVoice.LoginView do use TimeVoice.Web, :view end
16
32
0.796875
ff521993e9634a6d41dfe3541596e5ad75d0f17c
292
exs
Elixir
config/test.exs
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
11
2017-08-31T01:18:17.000Z
2021-02-12T04:09:12.000Z
config/test.exs
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
5
2017-10-27T20:03:00.000Z
2019-02-07T05:19:30.000Z
config/test.exs
aquamatt/ex_gdax
f3baf6aba40215b21e70712b89add30df7a873de
[ "MIT" ]
9
2017-08-31T01:14:29.000Z
2020-05-28T12:33:56.000Z
use Mix.Config config :ex_gdax, api_key: {:system, "GDAX_TEST_API_KEY"}, # Base.encode64("GDAX_TEST_API_SECRET") api_secret: {:system, "R0RBWF9URVNUX0FQSV9TRUNSRVQ="}, api_passphrase: {:system, "GDAX_TEST_API_PASSPHRASE"}, api_url: {:system, "https://api-public.sandbox.gdax.com"}
32.444444
59
0.736301
ff5225f3392892025062c905e5caa26da56dc324
519
exs
Elixir
test/ex_polygon/rest/stock_splits_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
test/ex_polygon/rest/stock_splits_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
test/ex_polygon/rest/stock_splits_test.exs
aai/ex_polygon
3bd6d8d0f1fbe4cd3fa939751c5ff00813eeeba3
[ "MIT" ]
null
null
null
defmodule ExPolygon.Rest.StockSplitsTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest ExPolygon.Rest.HTTPClient setup_all do HTTPoison.start() :ok end @api_key System.get_env("POLYGON_API_KEY") test ".query returns an ok tuple with a list of splits" do...
25.95
79
0.709056
ff5253ccf9f67c6b724dc921565657b247dfaa1f
656
ex
Elixir
lib/starship/handlers/wildcard/http/redirect.ex
probably-not/starship
aaa107bb0efec06fc841b0cae99cb69294887337
[ "MIT" ]
2
2019-10-22T08:22:22.000Z
2019-11-18T07:24:39.000Z
lib/starship/handlers/wildcard/http/redirect.ex
coby-spotim/starship
aaa107bb0efec06fc841b0cae99cb69294887337
[ "MIT" ]
null
null
null
lib/starship/handlers/wildcard/http/redirect.ex
coby-spotim/starship
aaa107bb0efec06fc841b0cae99cb69294887337
[ "MIT" ]
null
null
null
defmodule Starship.Handler.Wildcard.Http.Redirect do @moduledoc """ A simple wildcard handler for redirecting HTTP requests from non-secured to secured endpoints. """ alias Starship.Reactor.Conn @spec http(Conn.t(), map) :: {non_neg_integer, Conn.headers(), binary, map} def http(%Conn{} = conn, config) do...
34.526316
96
0.628049
ff5262cfa371cc19a941f6a09aea1e519603c577
485
ex
Elixir
lib/gaga_web/views/error_view.ex
madvoidhq/gaga
1a539edc327135c7910a51bffd6824bddcba5f7d
[ "MIT" ]
13
2020-11-22T18:43:21.000Z
2022-02-12T00:57:45.000Z
lib/gaga_web/views/error_view.ex
madvoidhq/gaga
1a539edc327135c7910a51bffd6824bddcba5f7d
[ "MIT" ]
2
2020-11-25T16:58:15.000Z
2021-06-21T12:02:41.000Z
lib/gaga_web/views/error_view.ex
madvoidhq/gaga
1a539edc327135c7910a51bffd6824bddcba5f7d
[ "MIT" ]
4
2020-11-23T08:14:03.000Z
2022-01-25T08:18:41.000Z
defmodule GagaWeb.ErrorView do use GagaWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. For ...
28.529412
61
0.731959
ff527ad150161bfaa658a6b103f6476f362800be
11,187
exs
Elixir
apps/site/test/upcoming_route_departures_test.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
apps/site/test/upcoming_route_departures_test.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
65
2021-05-06T18:38:33.000Z
2022-03-28T20:50:04.000Z
apps/site/test/upcoming_route_departures_test.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
defmodule UpcomingRouteDeparturesTest do use ExUnit.Case, async: true import UpcomingRouteDepartures alias Routes.Route alias Schedules.{Schedule, Trip} alias Predictions.Prediction @time ~N[2017-01-01T22:30:00] @stop %Stops.Stop{id: 1} @schedules [ %Schedule{ route: %Route{id: "CR-1", type:...
31.691218
93
0.594082
ff5297dff4631c3216e96ca813891aad6a867b0a
1,018
ex
Elixir
test/support/apps/phx1_6/lib/phx1_6/application.ex
infinitered/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
203
2016-10-28T00:37:15.000Z
2019-01-21T16:33:42.000Z
test/support/apps/phx1_6/lib/phx1_6/application.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
61
2016-11-01T02:29:22.000Z
2019-01-01T22:35:21.000Z
test/support/apps/phx1_6/lib/phx1_6/application.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
37
2016-11-01T18:13:55.000Z
2019-01-07T00:35:48.000Z
defmodule Phx16.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Start the Ecto repository Phx16.Repo, # Start the Telemetry supervisor ...
27.513514
63
0.694499
ff52a591961324d61a7d6a367d3017acf11d7c6c
720
ex
Elixir
lib/ex_config_eldap/helpers.ex
sega-yarkin/ex_config_eldap
0f91ce0814f37d76b7637dccbab3e4f51872b597
[ "MIT" ]
null
null
null
lib/ex_config_eldap/helpers.ex
sega-yarkin/ex_config_eldap
0f91ce0814f37d76b7637dccbab3e4f51872b597
[ "MIT" ]
null
null
null
lib/ex_config_eldap/helpers.ex
sega-yarkin/ex_config_eldap
0f91ce0814f37d76b7637dccbab3e4f51872b597
[ "MIT" ]
null
null
null
defmodule ExConfigEldap.Helpers do @moduledoc """ A set of helpers for `:eldap` library. """ @doc """ A small helper to clarify which format is needed by `:eldap` to work correctly with UTF8 strings. """ @spec string_to_list(String.t) :: [byte] def string_to_list(str) when is_binary(str), do: :binary...
31.304348
80
0.688889
ff52a9c3721cb1b294edd5fa672a69b94d79ea6b
1,275
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firestore/lib/google_api/firestore/v1beta1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firestore/lib/google_api/firestore/v1beta1/connection.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...
35.416667
114
0.736471
ff52be2fece81134ba761aaf9caaecf9a1d68a4c
4,477
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/paragraph_style.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/slides/lib/google_api/slides/v1/model/paragraph_style.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/slides/lib/google_api/slides/v1/model/paragraph_style.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...
63.056338
618
0.726603
ff52c8b81cfd4859a78d7f24e06a71c23b9cb923
205
ex
Elixir
web/views/current_user_view.ex
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
3
2015-08-24T11:44:19.000Z
2016-10-01T21:37:05.000Z
web/views/current_user_view.ex
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
null
null
null
web/views/current_user_view.ex
nsarno/winter
a65a6aa61d2b1af39277338277f8b3f479643939
[ "MIT" ]
null
null
null
defmodule Storm.CurrentUserView do use Storm.Web, :view def render("index.json", %{current_user: current_user}) do %{current_user: render_one(current_user, Storm.UserView, "user.json")} end end
25.625
74
0.736585
ff52de9ef1e59cd0989b1ab052c5c7424b4c8798
2,912
exs
Elixir
day18_test.exs
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
day18_test.exs
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
day18_test.exs
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
ExUnit.start() defmodule Testing do use ExUnit.Case, async: true test "test_explode" do pairs = [ {[[[[[9,8],1],2],3],4], [[[[0,9],2],3],4]}, {[7,[6,[5,[4,[3,2]]]]], [7,[6,[5,[7,0]]]]}, {[[6,[5,[4,[3,2]]]],1], [[6,[5,[7,0]]],3]}, {[[3,[2,[1,[7,3]]]],[6,[5,[4,[3,2]]]]], ...
27.733333
107
0.380495
ff5313187efa59c26fdb8979a7b11208f495827d
2,993
ex
Elixir
apps/astarte_appengine_api/lib/astarte_appengine_api_web/controllers/interface_values_controller.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
4
2018-03-15T14:26:43.000Z
2019-12-20T15:07:10.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api_web/controllers/interface_values_controller.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
27
2018-06-28T16:00:07.000Z
2019-12-19T10:05:36.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api_web/controllers/interface_values_controller.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
2
2018-03-16T09:37:29.000Z
2019-11-18T17:37:42.000Z
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # 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 appl...
31.177083
94
0.646843
ff532eba1f05f4fe5f440830d24285717ee3b24e
1,279
ex
Elixir
lib/tinkoff_invest/model/order_book.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
1
2021-05-26T11:38:42.000Z
2021-05-26T11:38:42.000Z
lib/tinkoff_invest/model/order_book.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
null
null
null
lib/tinkoff_invest/model/order_book.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
null
null
null
defmodule TinkoffInvest.Model.OrderBook do use TypedStruct alias TinkoffInvest.Model.OrderBook.Bid alias TinkoffInvest.Model.OrderBook.Ask typedstruct enforce: true do field(:figi, String.t()) field(:trade_status, String.t()) field(:depth, integer()) field(:min_price_increment, float()) fie...
27.212766
53
0.602033
ff533715966253f81f392f662ecf20c694d12cbb
519
ex
Elixir
ex/apps/corals/lib/corals/server.ex
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/apps/corals/lib/corals/server.ex
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/apps/corals/lib/corals/server.ex
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
defmodule Corals.Server do use GenServer alias Corals.Rules import Corals.Resolver def start_link name, spec do GenServer.start_link __MODULE__, spec, name: name end def init spec do {:ok, spec} end def handle_call {:resolve, opts, user_opts}, _, %{require: deps, rules: rules} = spec do {:repl...
24.714286
90
0.701349
ff533a08aca45d92b424312d828039ac38ff8c36
1,048
exs
Elixir
daily_meals/config/config.exs
joabehenrique/daily-meals
ea8919a45dc155046289c96854348bd7ed89c1fb
[ "MIT" ]
null
null
null
daily_meals/config/config.exs
joabehenrique/daily-meals
ea8919a45dc155046289c96854348bd7ed89c1fb
[ "MIT" ]
null
null
null
daily_meals/config/config.exs
joabehenrique/daily-meals
ea8919a45dc155046289c96854348bd7ed89c1fb
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :daily_meals, ecto_repos: [DailyMeals.R...
32.75
86
0.775763
ff53563ab0a493f3944888ae413f19b0f9fd2761
900
ex
Elixir
lib/randpass.ex
marioluigiman/elixirpasswordgen
93f815e5741ae2cc839e0f254f4449dbc8481491
[ "MIT" ]
null
null
null
lib/randpass.ex
marioluigiman/elixirpasswordgen
93f815e5741ae2cc839e0f254f4449dbc8481491
[ "MIT" ]
null
null
null
lib/randpass.ex
marioluigiman/elixirpasswordgen
93f815e5741ae2cc839e0f254f4449dbc8481491
[ "MIT" ]
null
null
null
:random.seed(:os.timestamp) defmodule RandPass do def randomascii() do asciilist = Enum.to_list(48 .. 57) asciilist = Enum.concat(asciilist, Enum.to_list(65 .. 90)) asciilist = Enum.concat(asciilist, Enum.to_list(97 .. 122)) IO.chardata_to_string([Enum.random(asciilist)]) end def randomstring(st...
20.930233
72
0.626667
ff535f933d79a1d8a5b647f1190328c130f29b04
1,517
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/parameter.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/parameter.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/parameter.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 ...
30.34
84
0.71325
ff53781b92b359bf9f2b976c105e2e9d53a845e5
163
exs
Elixir
project/gamenect/priv/repo/migrations/20160930150225_remove_user_join_date.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/priv/repo/migrations/20160930150225_remove_user_join_date.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/priv/repo/migrations/20160930150225_remove_user_join_date.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
defmodule Gamenect.Repo.Migrations.RemoveUserJoinDate do use Ecto.Migration def change do alter table(:users) do remove :joindate end end end
16.3
56
0.723926
ff53ca2e2c4c2d444d02315ef981b500dfeaca69
2,141
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/network_utilization.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/network_utilization.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/network_utilization.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.561404
104
0.752452
ff53e403c4a854693c9ca092610c5c5e50fce22c
17
exs
Elixir
config/test.exs
NeoAlchemist/ex_nexmo
e4f8d56e1b9fe3b57f352c540936e77eb31a5f76
[ "MIT" ]
30
2017-07-03T23:53:37.000Z
2021-03-14T21:27:14.000Z
config/test.exs
NeoAlchemist/ex_nexmo
e4f8d56e1b9fe3b57f352c540936e77eb31a5f76
[ "MIT" ]
4
2016-09-26T20:00:20.000Z
2018-09-04T01:34:34.000Z
config/test.exs
NeoAlchemist/ex_nexmo
e4f8d56e1b9fe3b57f352c540936e77eb31a5f76
[ "MIT" ]
7
2017-02-02T01:32:52.000Z
2021-09-04T00:26:45.000Z
use Mix.Config
4.25
14
0.705882
ff5401d3d90865979fac8c4ce0410995c18d4edb
57
ex
Elixir
lib/fotd_web/views/layout_view.ex
aesmail/fotd
03bc3f145ed2aa30bafa25198570c380a8d0ad31
[ "Apache-2.0" ]
1
2018-11-24T12:01:30.000Z
2018-11-24T12:01:30.000Z
lib/fotd_web/views/layout_view.ex
wojtekmach/fotd
f485b6b8d4d9e7b3385699f6175d1bc61d13035a
[ "Apache-2.0" ]
null
null
null
lib/fotd_web/views/layout_view.ex
wojtekmach/fotd
f485b6b8d4d9e7b3385699f6175d1bc61d13035a
[ "Apache-2.0" ]
null
null
null
defmodule FotdWeb.LayoutView do use FotdWeb, :view end
14.25
31
0.789474