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
e9e814ad82a92846fe80c92c1916a671fabfc8f8
1,587
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/channel_section_targeting.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/channel_section_targeting.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/channel_section_targeting.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...
33.0625
95
0.749842
e9e823912e0ff18850100b928aec27685c36d330
2,775
ex
Elixir
lib/mdns_lite/dns.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
28
2020-08-25T15:26:02.000Z
2022-01-25T00:25:13.000Z
lib/mdns_lite/dns.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
19
2020-06-12T22:12:49.000Z
2022-02-08T22:12:16.000Z
lib/mdns_lite/dns.ex
nerves-networking/mdns_lite
c1184a37d47c543ab2268ea10fa64e3cbc2d9a1c
[ "Apache-2.0" ]
7
2020-07-31T08:46:15.000Z
2022-01-23T10:11:01.000Z
defmodule MdnsLite.DNS do @moduledoc """ Bring Erlang's DNS record definitions into Elixir """ import Record, only: [defrecord: 2] @inet_dns "src/mdns_lite_inet_dns.hrl" defrecord :dns_rec, Record.extract(:dns_rec, from: @inet_dns) defrecord :dns_header, Record.extract(:dns_header, from: @inet_dns) de...
32.647059
112
0.619459
e9e8292a3e2d21862ec5a95d1f2fe6439755da5f
2,967
ex
Elixir
lib/tube/builder.ex
baradox/tube
50d127af88cc56ae93978ba326a4e43b61f5dbeb
[ "MIT" ]
1
2016-07-07T05:46:22.000Z
2016-07-07T05:46:22.000Z
lib/tube/builder.ex
baradox/tube
50d127af88cc56ae93978ba326a4e43b61f5dbeb
[ "MIT" ]
null
null
null
lib/tube/builder.ex
baradox/tube
50d127af88cc56ae93978ba326a4e43b61f5dbeb
[ "MIT" ]
null
null
null
defmodule Tube.Builder do @type tube :: module | atom defmacro __using__(opts) do quote do @behaviour Tube @tube_builder_opts unquote(opts) def init(opts) do opts end def call(context, opts) do tube_builder_call(context, opts) end defoverridable [init...
27.472222
96
0.639029
e9e84544099f8ef9ed7900d232c3f6ca02dbeaf4
244
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20190430041011_add_blockchain_address_to_token.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/priv/repo/migrations/20190430041011_add_blockchain_address_to_token.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/priv/repo/migrations/20190430041011_add_blockchain_address_to_token.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
defmodule EWalletDB.Repo.Migrations.AddBlockchainAddressToToken do use Ecto.Migration def change do alter table(:token) do add :blockchain_address, :string end create unique_index(:token, [:blockchain_address]) end end
22.181818
66
0.745902
e9e880781e9cb1263e31b52eb3d12a85a51feb5c
3,006
ex
Elixir
apps/discovery_api/lib/discovery_api_web/controllers/multiple_metadata_controller.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
1
2020-03-18T21:14:39.000Z
2020-03-18T21:14:39.000Z
apps/discovery_api/lib/discovery_api_web/controllers/multiple_metadata_controller.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
null
null
null
apps/discovery_api/lib/discovery_api_web/controllers/multiple_metadata_controller.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
null
null
null
require Logger defmodule DiscoveryApiWeb.MultipleMetadataController do use DiscoveryApiWeb, :controller alias DiscoveryApiWeb.Utilities.ModelAccessUtils alias DiscoveryApiWeb.MultipleMetadataView alias DiscoveryApi.Search.{DataModelFilterator, DataModelFacinator, DataModelSearchinator} @matched_params [ ...
34.159091
100
0.684298
e9e8b667d8306bddb0a769027784176366c04f4c
69
ex
Elixir
lib/phoenix_elm_web/views/layout_view.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
lib/phoenix_elm_web/views/layout_view.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
lib/phoenix_elm_web/views/layout_view.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
defmodule PhoenixElmWeb.LayoutView do use PhoenixElmWeb, :view end
17.25
37
0.826087
e9e8cf282034590f85307e8e04f7050f7c14c54d
2,531
ex
Elixir
alerts/lib/alerts/business/odbc.ex
juanseph/elixir_alerts
c9e777417ff33e8ca6d766f770ae63d68d111a8a
[ "MIT" ]
1
2020-04-27T17:54:12.000Z
2020-04-27T17:54:12.000Z
alerts/lib/alerts/business/odbc.ex
juanseph/elixir_alerts
c9e777417ff33e8ca6d766f770ae63d68d111a8a
[ "MIT" ]
null
null
null
alerts/lib/alerts/business/odbc.ex
juanseph/elixir_alerts
c9e777417ff33e8ca6d766f770ae63d68d111a8a
[ "MIT" ]
null
null
null
defmodule Alerts.Business.Odbc do require Logger @unknown_server [SERVER: 'unknown'] @could_not_connect "Could not connect to your data source" @unknown_error "Unknown error, check your logs" @write_query "Write queries are not allowed" def get_odbcstring(data_source) do (Application.get_env(:alerts, ...
25.31
94
0.623074
e9e8d9331734c01f37bb14c34d7037743fb701c8
876
ex
Elixir
clients/games/lib/google_api/games/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/games/lib/google_api/games/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/games/lib/google_api/games/v1/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...
32.444444
74
0.756849
e9e92a648e473ef7b731e72a4b74d45ab9b25cda
2,396
ex
Elixir
2021/elixir/apps/day8/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day8/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
2021/elixir/apps/day8/lib/part1.ex
ColdOrange/advent_of_code
18c4054558fdcaf123c8d8057b6de23894488a73
[ "MIT" ]
null
null
null
defmodule Day8Part1 do @moduledoc """ Day8 - Part1 """ def solve(input) do input |> String.split("\n", trim: true) |> Enum.map(fn line -> line |> String.split("|") |> Enum.map(fn part -> part |> String.split() |> Enum.map(&String.to_charlist/1) end) |> then(fn [patterns, num...
25.221053
91
0.589733
e9e95b2a67213041eb25bf1369ec968b781e8475
1,343
ex
Elixir
lib/mix/ecto_sql.ex
jeroenvisser101/ecto_sql
f189802129ac866b2d376ce073b07809a3317238
[ "Apache-2.0" ]
null
null
null
lib/mix/ecto_sql.ex
jeroenvisser101/ecto_sql
f189802129ac866b2d376ce073b07809a3317238
[ "Apache-2.0" ]
null
null
null
lib/mix/ecto_sql.ex
jeroenvisser101/ecto_sql
f189802129ac866b2d376ce073b07809a3317238
[ "Apache-2.0" ]
null
null
null
defmodule Mix.EctoSQL do @moduledoc false @doc """ Ensures the given repository's migrations path exists on the file system. """ @spec ensure_migrations_path(Ecto.Repo.t, Keyword.t) :: String.t def ensure_migrations_path(repo, opts) do path = opts[:migrations_path] || Path.join(source_repo_priv(repo), ...
31.232558
97
0.696203
e9e9b6255f209be5390c0bae00c4ccb40bdcb37d
189
exs
Elixir
test/oli_web/controllers/static_page_controller_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
test/oli_web/controllers/static_page_controller_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
test/oli_web/controllers/static_page_controller_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
defmodule OliWeb.StaticPageControllerTest do use OliWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to" end end
21
51
0.671958
e9e9b9e65ce152ed36e6d571cd9cc0459b1fa649
1,461
exs
Elixir
test/in_test.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
3
2021-07-03T08:27:46.000Z
2021-08-18T06:00:38.000Z
test/in_test.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
1
2021-06-21T19:27:35.000Z
2021-06-30T18:24:39.000Z
test/in_test.exs
MajAhd/elx_validation
4146a86bf16ea1154d391bde1aa847fe5cc79c4e
[ "MIT" ]
1
2021-08-13T16:14:13.000Z
2021-08-13T16:14:13.000Z
defmodule ElxValidation.InTest do use ExUnit.Case doctest ElxValidation.In test "is in" do assert ElxValidation.In.is_in("john", "victor,alex,john") == true assert ElxValidation.In.is_in("john", "victor,alex,tommy") == false assert ElxValidation.In.is_in("", "victor,alex,tommy") == false asser...
27.055556
75
0.560575
e9e9c3344b4d81d0f58fbda926ec58980bdb07ec
69
ex
Elixir
backend/voxel_handler/lib/voxel_handler.ex
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
5
2022-03-06T15:31:54.000Z
2022-03-27T12:10:13.000Z
backend/voxel_handler/lib/voxel_handler.ex
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
9
2022-03-01T05:17:43.000Z
2022-03-11T01:04:24.000Z
backend/voxel_handler/lib/voxel_handler.ex
SAZZM/voxel-handle2
2e5635a232a71f95c39407da042618017464e497
[ "MIT" ]
5
2022-03-04T15:52:44.000Z
2022-03-27T12:16:27.000Z
defmodule VoxelHandler do @moduledoc """ handle voxel """ end
9.857143
25
0.666667
e9ea08f31dddd831427574104d5dd06d043931d5
1,805
ex
Elixir
lib/bank/accounts.ex
jhonisds/bank
d053a8ddf47839b12ffde0397cc6be5ec86b4de3
[ "MIT" ]
null
null
null
lib/bank/accounts.ex
jhonisds/bank
d053a8ddf47839b12ffde0397cc6be5ec86b4de3
[ "MIT" ]
null
null
null
lib/bank/accounts.ex
jhonisds/bank
d053a8ddf47839b12ffde0397cc6be5ec86b4de3
[ "MIT" ]
null
null
null
defmodule Bank.Accounts do @moduledoc """ Context for Accounts. """ alias Bank.{Financial.Account, Repo} @doc """ Creates new account. ## Examples iex> create_account(%{field: value}) {:ok, %Account{}} iex> create_account(%{field: invalid_value}) {:error, %Ecto.Changeset{}} ...
17.696078
61
0.587812
e9ea60a01fce0736713903325f988bb05dc3e7d4
2,379
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/list_step_thumbnails_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/list_step_thumbnails_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/list_step_thumbnails_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "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 ...
44.055556
420
0.750315
e9ea6c0afd0d2867b661fdae038278567235ca9c
24,301
ex
Elixir
lib/elixlsx/xml_templates.ex
leandrocp/elixlsx
df235284306d33becf4d6090b901c10422c237f0
[ "MIT" ]
215
2015-11-24T09:11:30.000Z
2022-02-08T13:38:22.000Z
lib/elixlsx/xml_templates.ex
leandrocp/elixlsx
df235284306d33becf4d6090b901c10422c237f0
[ "MIT" ]
90
2016-06-06T13:00:06.000Z
2022-03-30T21:09:50.000Z
lib/elixlsx/xml_templates.ex
leandrocp/elixlsx
df235284306d33becf4d6090b901c10422c237f0
[ "MIT" ]
92
2016-01-06T14:45:28.000Z
2022-03-16T12:29:58.000Z
defmodule Elixlsx.XMLTemplates do alias Elixlsx.Util, as: U alias Elixlsx.Compiler.CellStyleDB alias Elixlsx.Compiler.StringDB alias Elixlsx.Compiler.FontDB alias Elixlsx.Compiler.FillDB alias Elixlsx.Compiler.SheetCompInfo alias Elixlsx.Compiler.NumFmtDB alias Elixlsx.Compiler.BorderStyleDB alias Eli...
30.112763
290
0.605078
e9ea8b63306f8ef45e213ba5d4df09c287ec0a60
6,721
exs
Elixir
exercism/elixir/allergies/test/allergies_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/allergies/test/allergies_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/allergies/test/allergies_test.exs
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule AllergiesTest do use ExUnit.Case defp assert_is_a_set_containing(list, to_contain) do set = Enum.into(list, MapSet.new()) same_contents = to_contain |> Enum.into(MapSet.new()) |> MapSet.equal?(set) assert same_contents, "Expected a set with: #{inspect(to_contain...
27.772727
96
0.676239
e9eaa03fc54fd0ea6d08e96a5680bdf5208b0e7d
3,889
exs
Elixir
config/config.exs
wmnnd/papercups
1e6fdfaf343b95b8bd6853d1327d6123180d0ac7
[ "MIT" ]
null
null
null
config/config.exs
wmnnd/papercups
1e6fdfaf343b95b8bd6853d1327d6123180d0ac7
[ "MIT" ]
1
2021-01-17T10:42:34.000Z
2021-01-17T10:42:34.000Z
config/config.exs
BotCart/papercups
7e7533ac8a8becc114060ab5033376c6aab4b369
[ "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 :chat_api, ecto_repos: [ChatApi.Repo], ...
28.386861
86
0.728979
e9eaa32fef4b427a4bc4e4416aec70015b77a548
503
ex
Elixir
app/lib/app_web/plug/set_current_user.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
1
2020-02-10T21:35:17.000Z
2020-02-10T21:35:17.000Z
app/lib/app_web/plug/set_current_user.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/lib/app_web/plug/set_current_user.ex
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
null
null
null
defmodule AppWeb.Plug.SetCurrentUser do import Plug.Conn alias App.Repo alias App.Accounts def init(_params) do end def call(conn, _params) do uid = Plug.Conn.get_session(conn, :uid) cond do current_user = uid && App.Accounts.get_user_by(uid) -> conn |> assign(:current_user,...
20.958333
60
0.620278
e9eab9a50c018d628b879931fdbb1b8b40d4cc2b
1,509
exs
Elixir
test/api/search_test.exs
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-17T00:42:10.000Z
2021-04-11T16:39:52.000Z
test/api/search_test.exs
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
7
2020-03-21T20:22:13.000Z
2021-12-30T16:32:07.000Z
test/api/search_test.exs
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-25T18:34:49.000Z
2021-09-13T16:44:00.000Z
defmodule ExClubhouse.Api.SearchTest do use ExUnit.Case, async: true use Mimic alias ExClubhouse.Support.ResponseBuilder alias ExClubhouse.Api.Search alias ExClubhouse.Model alias ExClubhouse.Model.Input describe "search/1" do test "succeeds with the right response" do HTTPoison |> expec...
28.471698
95
0.630219
e9eac384ed9f911c3638e86b892dd3f9a27a4f94
2,098
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_list_test_case_results_response.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_list_test_case_results_response.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_list_test_case_results_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.966667
164
0.750238
e9eae6228491727d8bd67ec86fcc32e7fd8b3536
1,549
ex
Elixir
apps/eth_blockchain/lib/eth_blockchain/wallet.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/eth_blockchain/lib/eth_blockchain/wallet.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/eth_blockchain/lib/eth_blockchain/wallet.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 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...
30.98
75
0.717883
e9eafcc431c7322f042ba8d7df69a92ce7557de7
920
ex
Elixir
lib/atecc508a/provisioning_info.ex
bcdevices/atecc508a
934652947ac1de2022f1da556adffa3e8cba31e3
[ "Apache-2.0" ]
6
2018-12-13T16:33:09.000Z
2022-03-02T08:57:20.000Z
lib/atecc508a/provisioning_info.ex
bcdevices/atecc508a
934652947ac1de2022f1da556adffa3e8cba31e3
[ "Apache-2.0" ]
10
2019-01-30T19:33:48.000Z
2022-03-03T21:07:37.000Z
lib/atecc508a/provisioning_info.ex
bcdevices/atecc508a
934652947ac1de2022f1da556adffa3e8cba31e3
[ "Apache-2.0" ]
9
2019-08-22T06:26:45.000Z
2022-03-01T18:05:01.000Z
defmodule ATECC508A.ProvisioningInfo do @moduledoc """ This struct contains all of the data needed to provision a device. """ defstruct otp_flags: 0, board_name: "", mfg_serial_number: "", otp_user: <<>>, device_compressed_cert: <<0::576>>, signer_pub...
32.857143
68
0.591304
e9eb557ab2acb3aba37c1a72765b91703e0e4ac7
28,084
exs
Elixir
installer/test/phx_new_test.exs
seasharps/phoenix
95b9383c6a08be4ab1a0c8a7bbf6b6911d888ca1
[ "MIT" ]
null
null
null
installer/test/phx_new_test.exs
seasharps/phoenix
95b9383c6a08be4ab1a0c8a7bbf6b6911d888ca1
[ "MIT" ]
null
null
null
installer/test/phx_new_test.exs
seasharps/phoenix
95b9383c6a08be4ab1a0c8a7bbf6b6911d888ca1
[ "MIT" ]
null
null
null
Code.require_file "mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.NewTest do use ExUnit.Case, async: false import MixHelper import ExUnit.CaptureIO @app_name "phx_blog" setup do # The shell asks to install deps. # We will politely say not. send self(), {:mix_shell_input, :yes?, false} :ok...
41.916418
131
0.653183
e9eb682616a0d9f3b9ed8f9d676ab62ed2731892
18,875
ex
Elixir
apps/language_server/lib/language_server/providers/completion.ex
wingyplus/elixir-ls
b3f00a5332d7886816df8056a3a8297c4eb447b2
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/providers/completion.ex
wingyplus/elixir-ls
b3f00a5332d7886816df8056a3a8297c4eb447b2
[ "Apache-2.0" ]
null
null
null
apps/language_server/lib/language_server/providers/completion.ex
wingyplus/elixir-ls
b3f00a5332d7886816df8056a3a8297c4eb447b2
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Providers.Completion do @moduledoc """ Auto-complete provider utilizing Elixir Sense We use Elixir Sense to retrieve auto-complete suggestions based on the source file text and cursor position, and then perform some additional processing on those suggestions to make them compa...
27.880355
129
0.55698
e9eb8cc68b3823e9f418470d91da8c422a8bf412
709
ex
Elixir
apps/cron/lib/cron.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/cron/lib/cron.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/cron/lib/cron.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Cron do @moduledoc """ Documentation for Cron. """ require Logger defmacro __using__(opts) do env_vars = Keyword.get(opts, :env, []) quote do import Cron require Logger def execute() do args = Enum.map(unquote(env_vars), &System.get_env/1) apply(__MODULE__...
20.852941
61
0.623413
e9ec150f33fc1afe1add12bdac9a091862668947
43,537
ex
Elixir
lib/livebook_web/live/session_live.ex
wojtekmach/livebook
861fc3110bb1b9e400925c39b8b6d13a07b7c475
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live.ex
wojtekmach/livebook
861fc3110bb1b9e400925c39b8b6d13a07b7c475
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live.ex
wojtekmach/livebook
861fc3110bb1b9e400925c39b8b6d13a07b7c475
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive do use LivebookWeb, :live_view import LivebookWeb.UserHelpers import LivebookWeb.SessionHelpers import Livebook.Utils, only: [access_by_id: 1] alias LivebookWeb.SidebarHelpers alias Livebook.{Sessions, Session, Delta, Notebook, Runtime, LiveMarkdown, FileSystem} alias L...
33.72347
191
0.61334
e9ec5a8aa4b4061fb3915fb496dc8b3edbfea226
1,060
ex
Elixir
questions/aggregates/00045000-fachours1a.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
null
null
null
questions/aggregates/00045000-fachours1a.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
null
null
null
questions/aggregates/00045000-fachours1a.ex
zachvalenta/pgexercises
b16d5c28bb5e21732e6fb39090fa5902d0016e78
[ "BSD-2-Clause" ]
1
2021-05-14T17:45:40.000Z
2021-05-14T17:45:40.000Z
|QUESTIONNAME| List facilities with more than 1000 slots booked |QUESTION| Produce a list of facilities with more than 1000 slots booked. Produce an output table consisting of facility id and hours, sorted by facility id. |QUERY| select facid, sum(slots) as "Total Slots" from cd.bookings group by facid...
44.166667
388
0.742453
e9ec6a7e4896971664cebef2a7b7e5355011533c
1,872
ex
Elixir
lib/mix/tasks/firmware.metadata.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
1,944
2016-01-25T14:04:50.000Z
2022-03-30T13:25:53.000Z
lib/mix/tasks/firmware.metadata.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
397
2016-05-19T21:17:51.000Z
2022-03-30T18:02:49.000Z
lib/mix/tasks/firmware.metadata.ex
RickCarlino/nerves
9b80531a4f84868e4811b81aaed84f7fdef8cddd
[ "Apache-2.0" ]
191
2016-01-30T01:56:25.000Z
2022-03-30T17:58:57.000Z
defmodule Mix.Tasks.Firmware.Metadata do use Mix.Task import Mix.Nerves.Utils alias Mix.Nerves.Preflight @switches [firmware: :string] @aliases [i: :firmware] @shortdoc "Print out metadata for the current firmware" @moduledoc """ This task calls `fwup` to report the firmware stored in the currently b...
24.311688
95
0.656517
e9ec8bcf19e98b74d984352b1eec58bd08972138
374
exs
Elixir
priv/repo/migrations/20200228005656_create_user_api_keys_tabel.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
priv/repo/migrations/20200228005656_create_user_api_keys_tabel.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
priv/repo/migrations/20200228005656_create_user_api_keys_tabel.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Repo.Migrations.CreateUserApiKeysTabel do use Ecto.Migration def change do create table(:api_keys) do add :name, :string, null: false add :role, :string, null: false add :key, :binary, null: false add :user_id, references(:users) add :organization_id, references(...
23.375
59
0.673797
e9ec955e41389cded9d13ba3adc17b6bd4d31d19
4,937
ex
Elixir
lib/koans/18_genservers.ex
rylek90/elixir-koans
6919e8e89b5fe972e49c30f8c19746441dd4232d
[ "MIT" ]
null
null
null
lib/koans/18_genservers.ex
rylek90/elixir-koans
6919e8e89b5fe972e49c30f8c19746441dd4232d
[ "MIT" ]
null
null
null
lib/koans/18_genservers.ex
rylek90/elixir-koans
6919e8e89b5fe972e49c30f8c19746441dd4232d
[ "MIT" ]
null
null
null
defmodule GenServers do use Koans @intro "GenServers" defmodule Laptop do use GenServer ##### # External API def start_link(init_password) do # The __MODULE__ macro returns the current module name as an atom GenServer.start_link(__MODULE__, init_password, name: __MODULE__) end ...
32.058442
114
0.678955
e9ecb27a55008301773547f135ea5fbef643425b
2,776
ex
Elixir
apps/feedex_core/lib/feedex_core/api/sub_tree.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_core/lib/feedex_core/api/sub_tree.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_core/lib/feedex_core/api/sub_tree.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FeedexCore.Api.SubTree do @moduledoc """ Utilities for working with Subscription Trees. Subscription trees are concerned with Users, Folders, Registers, and Feeds. """ alias FeedexCore.Ctx.Account.Folder alias FeedexCore.Ctx.Account.Register alias FeedexCore.Ctx.News.Feed alias FeedexCore.Re...
25.236364
98
0.653098
e9ecc248b8204d79d12e7c6d10c06e91b8a8f77c
344
ex
Elixir
test/application/support/example_application.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
test/application/support/example_application.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
test/application/support/example_application.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.ExampleApplication do alias Commanded.EventStore.Adapters.InMemory alias Commanded.Serialization.JsonSerializer use Commanded.Application, otp_app: :commanded, event_store: [ adapter: InMemory, serializer: JsonSerializer ] alias Commanded.ExampleDomain.BankRouter ...
21.5
46
0.767442
e9ecf3ac488f78678e12b5be463d15513de73d33
3,243
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_paragraph.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_paragraph.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_paragraph.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 ...
42.671053
180
0.718162
e9ed08fc479d7a87d0636947aa2869b7a53fdd7e
484
ex
Elixir
lib/edgedb/protocol/codecs/builtin/int64.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/codecs/builtin/int64.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/codecs/builtin/int64.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Codecs.Builtin.Int64 do use EdgeDB.Protocol.Codec alias EdgeDB.Protocol.Datatypes defbuiltinscalarcodec( type_name: "std::int64", type_id: Datatypes.UUID.from_string("00000000-0000-0000-0000-000000000105"), type: Datatypes.Int64.t() ) @impl EdgeDB.Protocol.Codec def ...
22
80
0.737603
e9ed0a536a270fe9dc0b4808465280b8629718c0
10,078
ex
Elixir
test/support/fixtures.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
null
null
null
test/support/fixtures.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
null
null
null
test/support/fixtures.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
null
null
null
Code.compiler_options(ignore_module_conflict: true) defmodule NervesHubWebCore.Fixtures do alias NervesHubWebCore.{ Accounts, Accounts.Org, Certificate, Devices, Deployments, Firmwares, Products, Repo } alias NervesHubWebCore.Support.Fwup @after_compile {__MODULE__, :compiler_...
27.916898
96
0.647748
e9ed1233fbb6c8924cd19d5038ff823390f15b8b
255
ex
Elixir
lib/tic_tac_toe.ex
bryanchun/tic_tac_toe
cad397ce72857669a685337911c7ae692cbd1695
[ "MIT" ]
null
null
null
lib/tic_tac_toe.ex
bryanchun/tic_tac_toe
cad397ce72857669a685337911c7ae692cbd1695
[ "MIT" ]
1
2021-05-22T02:09:13.000Z
2021-05-22T02:09:13.000Z
lib/tic_tac_toe.ex
devrafaelantunes/tic_tac_toe_liveview
9055aff27b45e5d34898bb57018c5a90ea6a8c9e
[ "MIT" ]
null
null
null
defmodule TicTacToe do @moduledoc """ TicTacToe keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.5
66
0.756863
e9ed19835461460f28dc77849029167b33e2f334
136
ex
Elixir
lib/hook/inbounds/github/file_server.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/hook/inbounds/github/file_server.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/hook/inbounds/github/file_server.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.Hook.Inbounds.GitHub.FileServer do @callback get_path(String.t(), list()) :: {:ok, String.t()} | {:error, any()} end
34
79
0.676471
e9ed6447f84357c41f9b6b6aac0aaf4cfa95fc7a
1,204
ex
Elixir
lib/annon_api/requests/request.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
328
2017-05-05T15:19:46.000Z
2022-03-11T10:52:45.000Z
lib/annon_api/requests/request.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
83
2017-04-30T10:36:15.000Z
2019-10-14T13:14:34.000Z
lib/annon_api/requests/request.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
29
2017-05-02T14:36:50.000Z
2021-09-03T13:36:17.000Z
defmodule Annon.Requests.Request do @moduledoc """ Schema for Requests Log. """ use Ecto.Schema @derive {Poison.Encoder, except: [:__meta__]} @primary_key {:id, :string, autogenerate: false} schema "requests" do embeds_one :api, API, primary_key: false do field :id, :string field :name, :...
24.571429
61
0.642857
e9ed687d8e3639e182bd68ee289cc3b75595f073
325
ex
Elixir
algorithms/easy/time_needed_to_buy_tickets.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
1
2021-05-30T05:06:06.000Z
2021-05-30T05:06:06.000Z
algorithms/easy/time_needed_to_buy_tickets.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
null
null
null
algorithms/easy/time_needed_to_buy_tickets.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
null
null
null
defmodule Solution do @spec time_required_to_buy(tickets :: [integer], k :: integer) :: integer def time_required_to_buy(tickets, k) do t = tickets |> Enum.at(k) tickets |> Enum.with_index() |> Enum.reduce(0, fn {n, i}, acc -> acc + if i <= k, do: min(n, t), else: min(n, t - 1) end) end...
25
75
0.590769
e9ed79f2286e0203e83a9cc8e1133db38dbb87a2
1,074
exs
Elixir
clients/game_services/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/game_services/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/game_services/test/test_helper.exs
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...
29.833333
83
0.741155
e9ed7ffcc8b5f95fa292b7ec21cb6aca59048eef
676
ex
Elixir
apps/core/lib/core/policies/version.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/lib/core/policies/version.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/lib/core/policies/version.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Policies.Version do use Piazza.Policy alias Core.Policies alias Core.Schema.{Chart, Terraform, Version, User} @preload [chart: [repository: :publisher], terraform: [repository: :publisher]] def can?(%User{} = user, %Version{} = version, action) do case Core.Repo.preload(version, @preload)...
30.727273
81
0.649408
e9ee0b1606f85555e85c1f8ed301a3112ab66cd6
2,542
exs
Elixir
test/changelog_web/helpers/shared_helpers_test.exs
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
test/changelog_web/helpers/shared_helpers_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
test/changelog_web/helpers/shared_helpers_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.SharedHelpersTest do use ChangelogWeb.ConnCase, async: true import ChangelogWeb.Helpers.SharedHelpers describe "comma_separated" do test "it separates integers with commas" do assert comma_separated(123_456_123) == "123,456,123" assert comma_separated(1234) == "1,234" ...
33.447368
104
0.662864
e9ee12b77c90dfaaa7c4ae593f7878c65512b3f8
22,280
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/target_grpc_proxies.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/api/target_grpc_proxies.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/api/target_grpc_proxies.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...
55.28536
1,450
0.645242
e9ee51c523d4a9f495c7e4bc52341d63a8588b48
109
ex
Elixir
apps/eventbus/lib/eventbus/job.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
4
2020-12-30T02:53:21.000Z
2021-06-25T03:04:47.000Z
apps/eventbus/lib/eventbus/job.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
null
null
null
apps/eventbus/lib/eventbus/job.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
null
null
null
defprotocol Eventbus.Job do @doc "Encapsulates a computation that need to be executed" def call(job) end
21.8
60
0.770642
e9ee59742be08d8ad98ba23fd1d02a194a6acefa
321
exs
Elixir
examples/hello_world.exs
aforward-oss/dynamo
c8d47dab7de3ce730d4ec314d23e171051d5eff7
[ "Apache-2.0" ]
415
2015-01-04T15:59:47.000Z
2022-02-02T21:12:46.000Z
examples/hello_world.exs
aforward-oss/dynamo
c8d47dab7de3ce730d4ec314d23e171051d5eff7
[ "Apache-2.0" ]
9
2015-02-06T16:09:46.000Z
2018-08-08T06:33:50.000Z
examples/hello_world.exs
aforward-oss/dynamo
c8d47dab7de3ce730d4ec314d23e171051d5eff7
[ "Apache-2.0" ]
44
2015-02-01T15:49:50.000Z
2021-11-29T09:08:37.000Z
# Run this app from Dynamo root with: # # mix run -r examples/hello_world.exs --no-halt # defmodule HelloWorld do use Dynamo use Dynamo.Router config :dynamo, compile_on_demand: false config :server, port: 3030 get "/" do conn.resp_body("Hello World!") end end HelloWorld.start_link HelloWorld.run...
16.894737
51
0.713396
e9ee6297e96fbd1f8890c6213c6bdd33065d34da
112
exs
Elixir
test/ezpdf_test.exs
samullen/ezpdf
1b0699e340a31a20f7b867e462d782c5f3c254d8
[ "Unlicense" ]
null
null
null
test/ezpdf_test.exs
samullen/ezpdf
1b0699e340a31a20f7b867e462d782c5f3c254d8
[ "Unlicense" ]
null
null
null
test/ezpdf_test.exs
samullen/ezpdf
1b0699e340a31a20f7b867e462d782c5f3c254d8
[ "Unlicense" ]
null
null
null
defmodule EZPDFTest do use ExUnit.Case doctest EZPDF test "the truth" do assert 1 + 1 == 2 end end
12.444444
22
0.660714
e9ee7d57b4d864b3dbf33e581d053897dd5a8c57
990
exs
Elixir
clixir_example/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
46
2018-05-08T12:06:18.000Z
2022-03-23T18:30:13.000Z
clixir_example/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
13
2018-05-08T11:42:00.000Z
2018-09-17T22:41:55.000Z
clixir_example/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
4
2018-06-06T05:04:00.000Z
2018-07-13T01:23:31.000Z
defmodule ClixirExample.MixProject do use Mix.Project def project do [ app: :clixir_example, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), make_env: make_env(), compilers: Mix.compilers ++ [:clixir, :elixir_make] ] end ...
23.023256
68
0.573737
e9eebe0daf6361942906168a7609f6f0afc14e71
525
ex
Elixir
lib/grpc/credential.ex
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
561
2019-03-18T09:10:57.000Z
2022-03-27T17:34:59.000Z
lib/grpc/credential.ex
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
94
2019-03-20T09:34:38.000Z
2022-02-27T20:44:04.000Z
lib/grpc/credential.ex
braverhealth/grpc
eff8a8828d27ddd7f63a3c1dd5aae86246df215e
[ "Apache-2.0" ]
112
2019-03-25T03:27:26.000Z
2022-03-21T12:43:59.000Z
defmodule GRPC.Credential do @moduledoc """ Stores credentials for authentication. It can be used to establish secure connections by passed to `GRPC.Stub.connect/2` as an argument. ## Examples iex> cred = GRPC.Credential.new(ssl: [cacertfile: ca_path]) iex> GRPC.Stub.connect("localhost:10000", cre...
23.863636
87
0.662857
e9eee1a97cc6cdd5d2535b93c05433c0630b30ac
193
exs
Elixir
backend/app/priv/repo/migrations/20170605103527_add_user_relation_to_assets.exs
benjaminshafii/Span
c4235ac51eb56421fc874f79954ce2fe37d20b5d
[ "MIT" ]
null
null
null
backend/app/priv/repo/migrations/20170605103527_add_user_relation_to_assets.exs
benjaminshafii/Span
c4235ac51eb56421fc874f79954ce2fe37d20b5d
[ "MIT" ]
2
2017-06-08T22:06:44.000Z
2017-06-10T21:08:34.000Z
backend/app/priv/repo/migrations/20170605103527_add_user_relation_to_assets.exs
benjaminshafii/Span
c4235ac51eb56421fc874f79954ce2fe37d20b5d
[ "MIT" ]
null
null
null
defmodule App.Repo.Migrations.AddUserRelationToAssets do use Ecto.Migration def change do alter table(:assets) do add :user_id, references(:users), null: false end end end
19.3
56
0.720207
e9eefd351941e6069a1ce8abb3919a65acbbdb64
19,202
ex
Elixir
lib/ecto/adapters/sql/sandbox.ex
christhekeele/ecto
8d4a9b4e3230bf98694ed652972bd127ac2f7460
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql/sandbox.ex
christhekeele/ecto
8d4a9b4e3230bf98694ed652972bd127ac2f7460
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql/sandbox.ex
christhekeele/ecto
8d4a9b4e3230bf98694ed652972bd127ac2f7460
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.SQL.Sandbox do @moduledoc ~S""" A pool for concurrent transactional tests. The sandbox pool is implemented on top of an ownership mechanism. When started, the pool is in automatic mode, which means the repository will automatically check connections out as with any other pool. Th...
35.958801
114
0.684356
e9ef0ac6d35ee7aa87745c50540a648cb02dc622
523
ex
Elixir
services/fc_identity/lib/fc_identity/events/user_role_changed.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
services/fc_identity/lib/fc_identity/events/user_role_changed.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
services/fc_identity/lib/fc_identity/events/user_role_changed.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule FCIdentity.UserRoleChanged do use TypedStruct @derive Jason.Encoder @version 1 typedstruct do field :__version__, integer(), default: @version field :request_id, String.t() field :requester_id, String.t() field :requester_type, String.t() field :requester_role, String.t() fi...
22.73913
52
0.680688
e9ef1be793eed3e8bae7cb3a05eed4c41312d088
569
exs
Elixir
plug_ex/mix.exs
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
plug_ex/mix.exs
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
plug_ex/mix.exs
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
defmodule PlugEx.MixProject do use Mix.Project def project do [ app: :plug_ex, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_appl...
18.354839
59
0.543058
e9ef51b5348b0a8dd9ed79a5dde8a4cd586c3087
1,157
exs
Elixir
clients/firebase_rules/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/mix.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.FirebaseRules.V1.Mixfile do use Mix.Project @version "0.6.0" def project do [app: :google_api_firebase_rules, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: packa...
24.104167
107
0.611063
e9ef5d64b1634ebed2b338279a71e5efd24758e0
493
ex
Elixir
lib/circular_web/views/error_view.ex
cblock/circular
fb784d638bde2b1f125a03c403783f93533f5892
[ "Apache-2.0" ]
null
null
null
lib/circular_web/views/error_view.ex
cblock/circular
fb784d638bde2b1f125a03c403783f93533f5892
[ "Apache-2.0" ]
3
2020-09-04T09:32:55.000Z
2022-03-06T02:17:06.000Z
lib/circular_web/views/error_view.ex
cblock/circular
fb784d638bde2b1f125a03c403783f93533f5892
[ "Apache-2.0" ]
null
null
null
defmodule CircularWeb.ErrorView do use CircularWeb, :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 na...
29
61
0.736308
e9ef87a88729e6cf0adacd6112f552fb11266861
1,035
ex
Elixir
test/support/conn_case.ex
alukasz/todo_live_view
d4233357bd521072c7d200f9efe3bc44a5ef9cad
[ "MIT" ]
null
null
null
test/support/conn_case.ex
alukasz/todo_live_view
d4233357bd521072c7d200f9efe3bc44a5ef9cad
[ "MIT" ]
null
null
null
test/support/conn_case.ex
alukasz/todo_live_view
d4233357bd521072c7d200f9efe3bc44a5ef9cad
[ "MIT" ]
null
null
null
defmodule TodoWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the t...
26.538462
66
0.71401
e9efa7cad3b5cb221b00c9038861a2a9dbee18a4
496
ex
Elixir
lib/honeydew/node_monitor_supervisor.ex
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
lib/honeydew/node_monitor_supervisor.ex
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
lib/honeydew/node_monitor_supervisor.ex
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
defmodule Honeydew.NodeMonitorSupervisor do alias Honeydew.NodeMonitor def start_link(queue, nodes) do import Supervisor.Spec children = [worker(NodeMonitor, [], restart: :transient)] opts = [ name: Honeydew.supervisor(queue, :node_monitor), strategy: :simple_one_for_one ] {:ok, ...
21.565217
61
0.681452
e9efb4490efcbf0c0144feaa327c994c2dac2a7b
567
ex
Elixir
apps/worker/lib/worker.ex
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
apps/worker/lib/worker.ex
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
apps/worker/lib/worker.ex
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
defmodule Worker do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Worker.Router, [Worker.Router]), worker(Worker.Poller, [Worker....
28.35
67
0.708995
e9efc2045c077766eeabb1e1bd98de6c710fa0d2
144
exs
Elixir
test/ercp_basic_test.exs
ercp/ercp_basic.ex
b63d1eff106af6474f9c3d44f303bf4cd20fbca1
[ "MIT" ]
null
null
null
test/ercp_basic_test.exs
ercp/ercp_basic.ex
b63d1eff106af6474f9c3d44f303bf4cd20fbca1
[ "MIT" ]
null
null
null
test/ercp_basic_test.exs
ercp/ercp_basic.ex
b63d1eff106af6474f9c3d44f303bf4cd20fbca1
[ "MIT" ]
null
null
null
defmodule ERCPBasicTest do use ExUnit.Case doctest ERCPBasic test "greets the world" do assert ERCPBasic.hello() == :world end end
16
38
0.722222
e9efc32e73e66b2e4b7848d386e7034d19620bc5
2,450
exs
Elixir
test/built_with_elixir_web/controllers/post_controller_test.exs
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
null
null
null
test/built_with_elixir_web/controllers/post_controller_test.exs
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
null
null
null
test/built_with_elixir_web/controllers/post_controller_test.exs
ospaarmann/built_with_elixir
5919107c79f200b2035352c7ef9714f8a8f6ff4c
[ "MIT" ]
null
null
null
defmodule BuiltWithElixirWeb.PostControllerTest do use BuiltWithElixirWeb.ConnCase alias BuiltWithElixir.Projects @create_attrs %{ "author" => "some author", "description" => "some description", "github_url" => "some github_url", "title" => "some title", "type" => "some type", "website_u...
25.789474
85
0.598776
e9efd6ce54f7ca6c10855af9fef60da8512cb860
120
exs
Elixir
test/workflow/identify/identify_user_deserializer_test.exs
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
3
2017-04-02T11:17:31.000Z
2017-09-08T09:12:11.000Z
test/workflow/identify/identify_user_deserializer_test.exs
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
15
2017-02-11T01:08:54.000Z
2017-02-22T09:45:41.000Z
test/workflow/identify/identify_user_deserializer_test.exs
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
1
2018-06-19T04:10:53.000Z
2018-06-19T04:10:53.000Z
defmodule IdentifyUserDeserializerTest do use ExUnit.Case doctest UserManager.Identify.IdentifyUserDeserializer end
24
55
0.875
e9efe570c6bcb2f76d9e16c866ca252df49637a7
1,416
ex
Elixir
lib/ueberauth/strategy/intercom/oauth.ex
statuspal/ueberauth_intercom
440267777373cacbc7ed86fc73b67ead510e9d2f
[ "MIT" ]
2
2021-04-15T09:56:28.000Z
2021-09-15T11:56:06.000Z
lib/ueberauth/strategy/intercom/oauth.ex
statuspal/ueberauth_intercom
440267777373cacbc7ed86fc73b67ead510e9d2f
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/intercom/oauth.ex
statuspal/ueberauth_intercom
440267777373cacbc7ed86fc73b67ead510e9d2f
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Intercom.OAuth do use OAuth2.Strategy @defaults [ strategy: __MODULE__, site: "https://api.intercom.io", authorize_url: "https://app.intercom.com/oauth", token_url: "https://api.intercom.io/auth/eagle/token" ] def client(opts \\ []) do config = Application.get_...
27.230769
79
0.675141
e9efe83eacb5b07c491ace1eef897b1f3b1ebe82
18,045
ex
Elixir
lib/elixir/lib/inspect/algebra.ex
hamiltop/elixir
3b601660d4d4eb0c69f824fcebbbe93a3f2ba463
[ "Apache-2.0" ]
1
2019-06-11T20:22:20.000Z
2019-06-11T20:22:20.000Z
lib/elixir/lib/inspect/algebra.ex
hamiltop/elixir
3b601660d4d4eb0c69f824fcebbbe93a3f2ba463
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/inspect/algebra.ex
hamiltop/elixir
3b601660d4d4eb0c69f824fcebbbe93a3f2ba463
[ "Apache-2.0" ]
null
null
null
defmodule Inspect.Opts do @moduledoc """ Defines the Inspect.Opts used by the Inspect protocol. The following fields are available: * `:structs` - when `false`, structs are not formatted by the inspect protocol, they are instead printed as maps, defaults to `true`. * `:binaries` - when `:as_strin...
31.938053
103
0.606151
e9efeb0698a31bcfa4930ffe6681580bdfa7ba0e
4,457
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/binding.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/binding.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/binding.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...
79.589286
1,972
0.750056
e9effc45e9e4982af17f6cc286e28f2a82c39afa
521
ex
Elixir
token_registry/lib/token_registry_web/live/blockchain_live/show.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
1
2021-12-18T16:17:19.000Z
2021-12-18T16:17:19.000Z
token_registry/lib/token_registry_web/live/blockchain_live/show.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
null
null
null
token_registry/lib/token_registry_web/live/blockchain_live/show.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
null
null
null
defmodule TokenRegistryWeb.BlockchainLive.Show do use TokenRegistryWeb, :live_view alias TokenRegistry.Registry @impl true def mount(_params, _session, socket) do {:ok, socket} end @impl true def handle_params(%{"id" => id}, _, socket) do {:noreply, socket |> assign(:page_title, page_...
23.681818
67
0.696737
e9f020951964369c0c528798dbb9faa4ac640b0b
2,443
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/table_list_tables.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/table_list_tables.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/table_list_tables.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...
38.171875
183
0.729022
e9f029bd10804b478edc342c0155b1238fffc2cd
2,126
ex
Elixir
lib/postoffice/workers/pubsub.ex
lonamiaec/postoffice
3a6f28ea0db94887faf427bf06df2b1504c00d02
[ "Apache-2.0" ]
15
2020-01-24T10:33:57.000Z
2020-10-24T07:57:14.000Z
lib/postoffice/workers/pubsub.ex
lonamiaec/postoffice
3a6f28ea0db94887faf427bf06df2b1504c00d02
[ "Apache-2.0" ]
24
2020-01-24T09:52:56.000Z
2021-02-19T09:15:12.000Z
lib/postoffice/workers/pubsub.ex
mercadona/postoffice
3a6f28ea0db94887faf427bf06df2b1504c00d02
[ "Apache-2.0" ]
5
2020-01-25T18:03:44.000Z
2021-02-23T10:07:03.000Z
defmodule Postoffice.Workers.Pubsub do require Logger alias GoogleApi.PubSub.V1.Model.PublishResponse alias Postoffice.HistoricalData @snooze_seconds 30 def run(id, %{"consumer_id" => consumer_id, "target" => target} = args) do Logger.info("Processing pubsub message", messages_ids: id, targ...
25.309524
94
0.595484
e9f052fb866e1c126bb342d8c93ee0dbb73d423a
1,514
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/ga_data_data_table_rows.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 ...
32.212766
100
0.745046
e9f053667bf929148c0a00b334e98d3e059508ae
445
ex
Elixir
lib/tabi/accounts/user.ex
jeepers3327/tabi
b8b63b00231f1a0f3b274c57215436cc90a73561
[ "MIT" ]
1
2021-07-06T00:32:19.000Z
2021-07-06T00:32:19.000Z
lib/tabi/accounts/user.ex
jeepers3327/tabi
b8b63b00231f1a0f3b274c57215436cc90a73561
[ "MIT" ]
null
null
null
lib/tabi/accounts/user.ex
jeepers3327/tabi
b8b63b00231f1a0f3b274c57215436cc90a73561
[ "MIT" ]
null
null
null
defmodule Tabi.Accounts.User do use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "users" do field :nickname, :string has_many :messages, Tabi.Chat.Message timestamps() end @doc false def changeset(user, attrs) do ...
20.227273
52
0.68764
e9f092001a61e0041c322c4a36b0b178669c28b6
8,833
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/placement_group.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/placement_group.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/placement_group.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 ...
71.813008
481
0.720933
e9f0bbec12c06b44d0f12379c3091c4f94d60d7e
1,573
exs
Elixir
mix.exs
dimitridewit/paper_trail
e1b710740c0b4fe4190cc5ea8e8c81b6793d37da
[ "MIT" ]
null
null
null
mix.exs
dimitridewit/paper_trail
e1b710740c0b4fe4190cc5ea8e8c81b6793d37da
[ "MIT" ]
null
null
null
mix.exs
dimitridewit/paper_trail
e1b710740c0b4fe4190cc5ea8e8c81b6793d37da
[ "MIT" ]
null
null
null
defmodule PaperTrail.Mixfile do use Mix.Project @source_url "https://github.com/izelnakri/paper_trail" @version "0.12.1" def project do [ app: :paper_trail, version: @version, elixir: "~> 1.11", description: description(), build_embedded: Mix.env() == :prod, start_perma...
21.547945
77
0.538462
e9f0c96bb8360887a24ab378feb135cf5579d032
3,082
ex
Elixir
lib/sanbase/internal_services/ethauth.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/internal_services/ethauth.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/internal_services/ethauth.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.InternalServices.Ethauth do use Tesla require Sanbase.Utils.Config, as: Config @san_token_decimals 1_000_000_000_000_000_000 @tesla_opts [adapter: [recv_timeout: 15_000]] def token_decimals(contract) when is_binary(contract) do case get(client(), "decimals", query: [contract: contract]...
35.425287
105
0.62135
e9f0f1b780e255e6c0073c93344f5ab427cf199d
1,374
exs
Elixir
mix.exs
kianmeng/endon
4bb03c689f9417c690d514baf6facdb8564c0d3e
[ "MIT" ]
null
null
null
mix.exs
kianmeng/endon
4bb03c689f9417c690d514baf6facdb8564c0d3e
[ "MIT" ]
null
null
null
mix.exs
kianmeng/endon
4bb03c689f9417c690d514baf6facdb8564c0d3e
[ "MIT" ]
null
null
null
defmodule Endon.MixProject do use Mix.Project @version "1.0.1" def project do [ app: :endon, aliases: aliases(), version: @version, elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), description: "Ecto query helpers, inspired by ActiveRecord", ...
19.913043
66
0.534207
e9f113bced37e57f9ab27a927dc1ca9d822cb41d
999
ex
Elixir
lib/vega_web/oauth/facebook.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
4
2020-03-22T22:12:29.000Z
2020-07-01T22:32:01.000Z
lib/vega_web/oauth/facebook.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2021-03-10T11:53:41.000Z
2021-10-17T11:18:54.000Z
lib/vega_web/oauth/facebook.ex
Fudoshiki/vega
0577024afc734933048645976705784512fbc1f4
[ "MIT" ]
3
2020-03-30T19:03:23.000Z
2022-01-17T20:21:42.000Z
defmodule Facebook do @moduledoc """ An OAuth2 strategy for Facebook. """ use OAuth2.Strategy alias OAuth2.Strategy.AuthCode defp config do [strategy: Facebook, site: "https://graph.facebook.com", authorize_url: "https://www.facebook.com/dialog/oauth", token_url: "/oauth/access_token"] ...
22.2
60
0.678679
e9f124fda553f5bd3d688c74493e9ed40295bf32
2,894
exs
Elixir
test/oled/display/impl/ssd_1306/line_v_test.exs
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
11
2019-12-06T10:32:33.000Z
2022-02-03T19:28:06.000Z
test/oled/display/impl/ssd_1306/line_v_test.exs
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
7
2020-03-04T19:36:07.000Z
2021-12-26T01:23:36.000Z
test/oled/display/impl/ssd_1306/line_v_test.exs
pappersverk/oled
bae090796bc289268b06b7db58eb62111c422690
[ "Apache-2.0" ]
1
2022-01-12T05:04:53.000Z
2022-01-12T05:04:53.000Z
defmodule OLED.Display.Impl.SSD1306.LineVTest do use ExUnit.Case alias OLED.Display.Impl.SSD1306.Draw import OLED.BufferTestHelper, only: [build_state: 2, ascii_render: 1] @w 32 @h 8 test "draw inside" do assert build_state(@w, @h) |> Draw.line_v(1, 1, 5, []) |> ascii_render() ...
33.651163
71
0.157913
e9f1257f4cd9d7ddf87a8e901c805567a03a1416
48,309
exs
Elixir
lib/elixir/test/elixir/typespec_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/typespec_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/typespec_test.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) # Holds tests for both Kernel.Typespec and Code.Typespec defmodule TypespecTest do use ExUnit.Case, async: true alias TypespecTest.TypespecSample defstruct [:hello] defmacrop test_module(do: block) do quote do {:module, _, bytecode, _} = defmodu...
33.735335
123
0.53547
e9f15002b1af202d7c5a6bb60d290a42db0f3dea
8,537
ex
Elixir
lib/msgpax/packer.ex
gskynet/msgpax
5b1d8bad8692cbf668cd800a522fb6cc653e2c9d
[ "0BSD" ]
null
null
null
lib/msgpax/packer.ex
gskynet/msgpax
5b1d8bad8692cbf668cd800a522fb6cc653e2c9d
[ "0BSD" ]
null
null
null
lib/msgpax/packer.ex
gskynet/msgpax
5b1d8bad8692cbf668cd800a522fb6cc653e2c9d
[ "0BSD" ]
null
null
null
defmodule Msgpax.PackError do @moduledoc """ Exception that represents an error in packing terms. This exception has a `:reason` field that can have one of the following values: * `{:not_encodable, term}` - means that the given argument is not serializable. For example, this is returned when you try...
28.082237
96
0.624107
e9f1589c34740430a54b051741c9be0bd713ac33
1,117
ex
Elixir
installer/templates/phx_test/support/channel_case.ex
joshchernoff/phoenix
cd1541a8bc12cdb2501be6b08403558e82c5b72b
[ "MIT" ]
null
null
null
installer/templates/phx_test/support/channel_case.ex
joshchernoff/phoenix
cd1541a8bc12cdb2501be6b08403558e82c5b72b
[ "MIT" ]
1
2020-11-08T08:30:10.000Z
2020-11-08T08:30:10.000Z
installer/templates/phx_test/support/channel_case.ex
joshchernoff/phoenix
cd1541a8bc12cdb2501be6b08403558e82c5b72b
[ "MIT" ]
null
null
null
defmodule <%= web_namespace %>.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case i...
25.386364
74
0.692927
e9f17e2831c85e90d30a59808d0f7318e6a97b66
2,157
ex
Elixir
lib/coherence_assent/web/controllers/controller.ex
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
null
null
null
lib/coherence_assent/web/controllers/controller.ex
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
null
null
null
lib/coherence_assent/web/controllers/controller.ex
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
null
null
null
defmodule CoherenceAssent.Controller do @moduledoc false use Coherence.Web, :controller import Plug.Conn, only: [put_session: 3] import Phoenix.Naming, only: [humanize: 1] def callback_response({:ok, :user_created, user}, conn, _provider, _user_params, params) do conn |> send_confirmation(user) ...
39.218182
129
0.716273
e9f17e91c90e7a6915d28fa9ccfeb3b7f9b3241b
283
ex
Elixir
lib/actions/transfer.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
7
2021-12-27T19:02:30.000Z
2022-03-30T14:08:46.000Z
lib/actions/transfer.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
4
2021-12-29T21:16:02.000Z
2022-01-01T22:07:17.000Z
lib/actions/transfer.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
1
2022-02-21T18:17:36.000Z
2022-02-21T18:17:36.000Z
defmodule NearApi.Actions.Transfer do @moduledoc """ Transaction Actions Transfer """ @type t :: %__MODULE__{deposit: integer, action_code: integer} use Borsh, schema: [ action_code: :u8, deposit: :u128 ] defstruct [:deposit, action_code: 3] end
16.647059
64
0.650177
e9f18865d48fa2b98144969630547f4b00f77626
1,146
exs
Elixir
config/config.exs
avdi/loggex
0a678148cbb5a9e4236cd633e7901f7014dee805
[ "MIT" ]
3
2016-03-12T09:40:58.000Z
2020-05-25T13:39:31.000Z
config/config.exs
avdi/loggex
0a678148cbb5a9e4236cd633e7901f7014dee805
[ "MIT" ]
1
2020-05-22T20:39:57.000Z
2020-05-22T20:39:57.000Z
config/config.exs
avdi/loggex
0a678148cbb5a9e4236cd633e7901f7014dee805
[ "MIT" ]
2
2019-12-01T14:08:35.000Z
2020-05-22T20:36:51.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config import_config "#{Mix.env}.exs" # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't...
35.8125
73
0.749564
e9f1acb21979a0adff815cb7aba1445b57c421e7
705
ex
Elixir
apps/ewallet/lib/ewallet/exchange/calculation.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet/lib/ewallet/exchange/calculation.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/exchange/calculation.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Exchange.Calculation do @moduledoc """ Represents an exchange calculation. """ alias EWalletDB.{ExchangePair, Token} @enforce_keys [ :from_amount, :from_token, :to_amount, :to_token, :actual_rate, :pair, :calculated_at ] defstruct [ :from_amount, :fro...
19.583333
42
0.590071
e9f1c73107aeffda1c80c7546761f695c043cad5
1,262
ex
Elixir
clients/site_verification/lib/google_api/site_verification/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/site_verification/lib/google_api/site_verification/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/site_verification/lib/google_api/site_verification/v1/connection.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.055556
74
0.743265
e9f1d9f8ca9e73fa677d1266e7fe377218d3c2d9
568
exs
Elixir
chatter/test/views/error_view_test.exs
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
chatter/test/views/error_view_test.exs
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
chatter/test/views/error_view_test.exs
joshmcarthur/learning-elixir
5ccfdd61dcfaba82c05559fb9c0e6f99cf4319e7
[ "MIT" ]
null
null
null
defmodule Chatter.ErrorViewTest do use Chatter.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(Chatter.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do ...
25.818182
66
0.676056
e9f205c51a75f49b011527e7d0d0a14a2b489e34
244
ex
Elixir
farmbot_core/lib/farmbot_core/json/parser.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
farmbot_core/lib/farmbot_core/json/parser.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
farmbot_core/lib/farmbot_core/json/parser.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotCore.JSON.Parser do @moduledoc """ Callback module for wrapping a json dependency. """ @callback decode(iodata, term) :: {:ok, term} | {:error, term} @callback encode(term, term) :: {:ok, iodata} | {:error, term} end
30.5
64
0.663934
e9f214ab1419e670b9ad2120ce0d7cb8ac2168cb
1,351
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_update_os_disk.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.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_update_os_disk.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_update_os_disk.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.Compute.Model.VirtualMachineScaleSetUpdateOsDisk do @moduledoc """ Describes virtual machine scale set operating sy...
35.552632
138
0.743153
e9f23d6b466d32baa553e241c91e46ce6942d92d
1,378
exs
Elixir
priv/templates/brando.upgrade/migrations/brando_57_role_enums.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
priv/templates/brando.upgrade/migrations/brando_57_role_enums.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
priv/templates/brando.upgrade/migrations/brando_57_role_enums.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Repo.Migrations.RoleEnums do use Ecto.Migration def up do alter table(:users) do add :new_role, :text end flush() execute """ UPDATE users SET new_role = 'superuser' WHERE role = 3 """ execute """ UPDATE users SET n...
12.303571
46
0.481858
e9f2576ff847c7679c12e433d28a0b85932ff735
1,384
ex
Elixir
lib/xdr/ledger_entries/signer.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/ledger_entries/signer.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/ledger_entries/signer.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Signer do @moduledoc """ Representation of Stellar `Signer` type. """ alias StellarBase.XDR.{SignerKey, UInt32} @behaviour XDR.Declaration @struct_spec XDR.Struct.new(key: SignerKey, weight: UInt32) @type t :: %__MODULE__{key: SignerKey.t(), weight: UInt32.t()} defstruct [:...
24.714286
75
0.635838
e9f257ce6a35a8d6571dcad3f067984fd34c0b1c
1,460
exs
Elixir
mix.exs
malomohq/shopify-graphql-elixir
9f13e2e6bdfa969c9512cde21f6f19d318d2b70b
[ "MIT" ]
15
2020-01-13T22:36:52.000Z
2022-01-26T10:45:25.000Z
mix.exs
malomohq/shopify-graphql
9bef124b331fc42f35f3ece1a06ccb10965a243b
[ "MIT" ]
14
2019-11-26T17:28:38.000Z
2021-10-11T16:06:49.000Z
mix.exs
malomohq/shopify-graphql
9bef124b331fc42f35f3ece1a06ccb10965a243b
[ "MIT" ]
4
2020-08-01T02:25:05.000Z
2021-02-24T16:11:38.000Z
defmodule Shopify.GraphQL.MixProject do use Mix.Project def project do [ app: :shopify_graphql, version: "2.0.0-rc.9", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), dialyzer: [plt_add_apps: [:gen_stage, :hackney]], elixirc_paths: elixirc_paths(Mi...
20.277778
96
0.54726
e9f270cf9d0466a82022aaacee6214d818ed8e39
3,361
exs
Elixir
test/kvstore_test.exs
mirvali/kvstore
375c30c342dd133eacde86710bb151530d37e4d9
[ "MIT" ]
null
null
null
test/kvstore_test.exs
mirvali/kvstore
375c30c342dd133eacde86710bb151530d37e4d9
[ "MIT" ]
null
null
null
test/kvstore_test.exs
mirvali/kvstore
375c30c342dd133eacde86710bb151530d37e4d9
[ "MIT" ]
null
null
null
defmodule KVstore.KVRouterTest do use ExUnit.Case, async: true use Plug.Test alias KVstore.KVRouter alias KVstore.KVStorage require Logger @opts KVRouter.init([]) KVStorage.create("name", "John", 300) Logger.debug("start GET") test "return error if unknown key" do conn = conn(:get, "/xxx") |> ...
28.726496
74
0.650997
e9f2864217fa37e52380aa48e547e98af9294d0a
1,129
exs
Elixir
config/config.exs
simnalamburt/plug-practice
35ff09e15d17b1ae0eec70351aadeffed9dc3434
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
config/config.exs
simnalamburt/plug-practice
35ff09e15d17b1ae0eec70351aadeffed9dc3434
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
config/config.exs
simnalamburt/plug-practice
35ff09e15d17b1ae0eec70351aadeffed9dc3434
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.419355
73
0.753764
e9f2a02852e15a33cbf9d9911cab9fe49e00dc55
5,790
ex
Elixir
lib/pow/store/base.ex
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
null
null
null
lib/pow/store/base.ex
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
null
null
null
lib/pow/store/base.ex
thejones/pow
217d3d915ce6832a5b138535a54fa2c39b2d9be5
[ "MIT" ]
null
null
null
defmodule Pow.Store.Base do @moduledoc """ Used to set up API for key-value stores. ## Usage defmodule MyApp.CredentialsStore do use Pow.Store.Base, ttl: :timer.minutes(30), namespace: "credentials" @impl true def put(config, key, value) do Pow.Store....
27.311321
111
0.631088
e9f2a1313253c0a24ace3433a23d57b3501510a4
1,033
ex
Elixir
lib/smile_web/controllers/session_controller.ex
reagan-chita/smile
c1c80679b4e14fd77f7fdc00bc7e368c514baedf
[ "MIT" ]
null
null
null
lib/smile_web/controllers/session_controller.ex
reagan-chita/smile
c1c80679b4e14fd77f7fdc00bc7e368c514baedf
[ "MIT" ]
1
2021-05-11T13:24:22.000Z
2021-05-11T13:24:22.000Z
lib/smile_web/controllers/session_controller.ex
reagan-chita/smile
c1c80679b4e14fd77f7fdc00bc7e368c514baedf
[ "MIT" ]
null
null
null
defmodule SmileWeb.SessionController do use SmileWeb, :controller alias Smile.Accounts.User import Plug.Conn def new(conn, _params) do render(conn, "new.html") end def create(conn, %{"session" => session_params}) do case Accounts.get_user_by_credentials(session_params) do :error -> c...
26.487179
69
0.640852
e9f2d043faa19d2dd7bd4e0a59d481453f2f60fe
889
ex
Elixir
lib/protobuf/message_props.ex
k10pr0f/exproto
3ae86c1308527a723465a14236849c7ab9ba949c
[ "MIT" ]
4
2018-03-19T13:34:35.000Z
2018-07-11T19:20:34.000Z
lib/protobuf/message_props.ex
kiopro/exproto
3ae86c1308527a723465a14236849c7ab9ba949c
[ "MIT" ]
1
2019-07-08T09:57:25.000Z
2019-07-08T09:57:25.000Z
lib/protobuf/message_props.ex
k10pr0f/exproto
3ae86c1308527a723465a14236849c7ab9ba949c
[ "MIT" ]
1
2019-05-27T11:46:01.000Z
2019-05-27T11:46:01.000Z
defmodule Protobuf.MessageProps do alias Protobuf.FieldProps @type t :: %__MODULE__{ ordered_tags: [integer], tags_map: %{integer => integer}, field_props: %{integer => FieldProps.T}, field_tags: %{atom => integer}, field_tags_str: %{String.t => integer}, ...
26.147059
50
0.505062
e9f2fe7920b5ff93be28e2e9caf5fc131a9e1fbc
724
exs
Elixir
elixir/advent_of_code/mix.exs
childss/aoc-2016
8570cf4bcf42e1ea85cfdf5e3444baf71c5c5312
[ "MIT" ]
null
null
null
elixir/advent_of_code/mix.exs
childss/aoc-2016
8570cf4bcf42e1ea85cfdf5e3444baf71c5c5312
[ "MIT" ]
null
null
null
elixir/advent_of_code/mix.exs
childss/aoc-2016
8570cf4bcf42e1ea85cfdf5e3444baf71c5c5312
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Mixfile do use Mix.Project def project do [app: :advent_of_code, version: "0.1.0", elixir: "~> 1.3", escript: [main_module: AdventOfCode], build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP...
21.294118
77
0.618785
e9f30825d245da99a1f1954a31ed6abdbf60f56f
144
ex
Elixir
lib/rewind_web/live/home_live.ex
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
2
2021-09-18T09:15:13.000Z
2022-03-16T09:29:37.000Z
lib/rewind_web/live/home_live.ex
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
null
null
null
lib/rewind_web/live/home_live.ex
fremantle-industries/rewind
1818fe1704cb303e09108cbb5e669e673685fb62
[ "MIT" ]
null
null
null
defmodule RewindWeb.HomeLive do use RewindWeb, :live_view @impl true def mount(_params, _session, socket) do {:ok, socket} end end
16
41
0.708333
e9f34e002e5c11e8190a0183667db3897773e02c
754
exs
Elixir
apps/thumbnail_http/mix.exs
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
1
2019-06-06T12:03:37.000Z
2019-06-06T12:03:37.000Z
apps/thumbnail_http/mix.exs
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
null
null
null
apps/thumbnail_http/mix.exs
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
null
null
null
defmodule ThumbnailHTTP.MixProject do use Mix.Project def project do [ app: :thumbnail_http, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.8", start_permane...
21.542857
59
0.559682
e9f35314e3c7283f2268bc4b1a30e874f43cbbef
12,672
ex
Elixir
lib/cldr/number/rbnf/processor.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
null
null
null
lib/cldr/number/rbnf/processor.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
null
null
null
lib/cldr/number/rbnf/processor.ex
jeroenvisser101/cldr_numbers
9a529817fe8d9f61be330fa970a5a0ffa443a177
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Rbnf.Processor do @moduledoc """ Macro to define the interpreter for the compiled RBNF rules specific to a rule group (Ordinal, Spellout, NumberingSystem) """ defmacro __using__(opts) do backend = opts[:backend] ordinal_module = Module.concat(backend, Number.Ordinal) cardinal_modul...
33
99
0.644571
e9f3901dc5dc131367ce70df81bb440e8764295b
2,740
exs
Elixir
elixir/parallel-letter-frequency/test/frequency_test.exs
herminiotorres/exercism
82173fcf1f09c27da0134f746a799840aa5eac05
[ "MIT" ]
null
null
null
elixir/parallel-letter-frequency/test/frequency_test.exs
herminiotorres/exercism
82173fcf1f09c27da0134f746a799840aa5eac05
[ "MIT" ]
null
null
null
elixir/parallel-letter-frequency/test/frequency_test.exs
herminiotorres/exercism
82173fcf1f09c27da0134f746a799840aa5eac05
[ "MIT" ]
1
2021-03-15T11:02:40.000Z
2021-03-15T11:02:40.000Z
defmodule FrequencyTest do use ExUnit.Case # Poem by Friedrich Schiller. The corresponding music is the European Anthem. @ode_an_die_freude """ Freude schöner Götterfunken Tochter aus Elysium, Wir betreten feuertrunken, Himmlische, dein Heiligtum! Deine Zauber binden wieder Was die Mode streng geteil...
27.959184
88
0.665693
e9f39beab2f6b6d23eec0af312b041278cd96a7a
3,469
exs
Elixir
test/fake_server_test.exs
TakteS/fake_server
c982457977acb1aee491a5d5102e68eed84873f2
[ "Apache-2.0" ]
72
2016-09-20T21:45:33.000Z
2021-06-10T17:35:35.000Z
test/fake_server_test.exs
TakteS/fake_server
c982457977acb1aee491a5d5102e68eed84873f2
[ "Apache-2.0" ]
44
2016-09-20T18:31:36.000Z
2020-05-31T17:31:00.000Z
test/fake_server_test.exs
TakteS/fake_server
c982457977acb1aee491a5d5102e68eed84873f2
[ "Apache-2.0" ]
21
2016-09-22T08:27:07.000Z
2021-11-09T21:29:39.000Z
defmodule FakeServerTest do use ExUnit.Case describe "#start" do test "returns {:ok, pid} if the server started correctly" do assert {:ok, _pid} = FakeServer.start(:test_ok_start) FakeServer.stop(:test_ok_start) end test "returns {:error, reason} if a server with the same name is already s...
36.515789
93
0.675123