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
abb4f11a9c2dfafc21e857f55cc4d507c35df5f1
6,891
ex
Elixir
lib/codes/codes_o91.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_o91.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_o91.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_O91 do alias IcdCode.ICDCode def _O91011 do %ICDCode{full_code: "O91011", category_code: "O91", short_code: "011", full_name: "Infection of nipple associated with pregnancy, first trimester", short_name: "Infection of nipple associated with ...
40.775148
96
0.662458
abb5005550b1318bf63d1ae67788b0aa1aba46bf
8,255
ex
Elixir
lib/rclex/nifs.ex
rclex/rclex
978095d43c7bd18f20ab9e2ad2646a8201085db5
[ "Apache-2.0" ]
42
2021-05-05T09:11:33.000Z
2022-02-12T11:57:12.000Z
lib/rclex/nifs.ex
rclex/rclex
978095d43c7bd18f20ab9e2ad2646a8201085db5
[ "Apache-2.0" ]
49
2021-05-05T08:31:38.000Z
2022-03-22T10:39:57.000Z
lib/rclex/nifs.ex
tlk-emb/rclex
0706a3a3f54d494b8ab81b1c6c1279616e3afc39
[ "Apache-2.0" ]
3
2020-03-13T01:01:46.000Z
2020-07-04T10:42:00.000Z
defmodule Rclex.Nifs do @on_load {:load_nifs, 0} @compile {:autoload, false} @moduledoc false def load_nifs do nif = Application.app_dir(:rclex, "priv/rclex_nifs") :erlang.load_nif(to_charlist(nif), 0) end # -----------------------init_nif.c-------------------------- def rcl_get_zero_initiali...
25.478395
75
0.668443
abb500f4451523f8fc534f0545f3f053e1b4fd7c
338
ex
Elixir
lib/Expt/Material.ex
M47CH4N/expt
c38412dab7bb412957e2b2fdb40636f88d357c40
[ "MIT" ]
null
null
null
lib/Expt/Material.ex
M47CH4N/expt
c38412dab7bb412957e2b2fdb40636f88d357c40
[ "MIT" ]
null
null
null
lib/Expt/Material.ex
M47CH4N/expt
c38412dab7bb412957e2b2fdb40636f88d357c40
[ "MIT" ]
null
null
null
defmodule Expt.Material do alias Expt.Const defstruct type: nil, color: Const.black, emission: Const.black, ior: nil defmodule Ior do require Constant import Constant const air, 1.000292 const ice, 1.309 const water, 1.3334 const quartz, 1.5443 const sapphire, 1.766 const diamond...
19.882353
74
0.686391
abb50810b3d920013154b349f23f4db0d728e731
247
ex
Elixir
lib/mp_api.ex
jsvelasquezv/mp_api
9a2262188b5b12c0e2ecd9284a8e7f445d2be4a0
[ "MIT" ]
null
null
null
lib/mp_api.ex
jsvelasquezv/mp_api
9a2262188b5b12c0e2ecd9284a8e7f445d2be4a0
[ "MIT" ]
null
null
null
lib/mp_api.ex
jsvelasquezv/mp_api
9a2262188b5b12c0e2ecd9284a8e7f445d2be4a0
[ "MIT" ]
null
null
null
defmodule MpApi do @moduledoc """ MpApi 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
24.7
66
0.748988
abb527c3ea59830a57d5d2a0aa06c962f014bfcf
544
ex
Elixir
lib/new_relic/application.ex
carsdotcom/elixir_agent
176567630003fa588dd24fb4de8bd6dc8d598d38
[ "Apache-2.0" ]
null
null
null
lib/new_relic/application.ex
carsdotcom/elixir_agent
176567630003fa588dd24fb4de8bd6dc8d598d38
[ "Apache-2.0" ]
null
null
null
lib/new_relic/application.ex
carsdotcom/elixir_agent
176567630003fa588dd24fb4de8bd6dc8d598d38
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Application do use Application @moduledoc false def start(_type, _args) do import Supervisor.Spec NewRelic.Init.run() children = [ worker(NewRelic.Logger, []), supervisor(NewRelic.AlwaysOnSupervisor, []), supervisor(NewRelic.EnabledSupervisor, []), superv...
23.652174
62
0.691176
abb59bfd0d8975b56cd771ff1b6e286064924c53
1,367
ex
Elixir
lib/tint/xyz/conversions/from_rgb.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
14
2019-10-09T19:36:04.000Z
2022-01-28T12:00:56.000Z
lib/tint/xyz/conversions/from_rgb.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
null
null
null
lib/tint/xyz/conversions/from_rgb.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
null
null
null
defimpl Tint.XYZ.Convertible, for: Tint.RGB do alias Tint.RGB alias Tint.XYZ def convert(color) do {red_ratio, green_ratio, blue_ratio} = RGB.to_ratios(color) red_ratio = fix_ratio(red_ratio) green_ratio = fix_ratio(green_ratio) blue_ratio = fix_ratio(blue_ratio) x = calc_x(red_ratio, green_r...
25.314815
76
0.654718
abb5c00a4f33ea88f6fb8906958a652968f67ce1
90
exs
Elixir
programming_elixir/chapter10/fibo.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
programming_elixir/chapter10/fibo.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
programming_elixir/chapter10/fibo.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
Stream.unfold({0,1}, fn {f1, f2} -> {f1, {f2, f1+f2}} end) |> Enum.take(15) |> IO.inspect
30
75
0.555556
abb5c9706bc2f6b1fda6110acde60b96164b7c64
735
exs
Elixir
math-elixir/mix.exs
korczis/hackrf-rust
73c76c23eb58ddfaa484f40e4b800f12b31d0a50
[ "MIT" ]
1
2022-02-15T23:17:51.000Z
2022-02-15T23:17:51.000Z
math-elixir/mix.exs
korczis/hackrf-rust
73c76c23eb58ddfaa484f40e4b800f12b31d0a50
[ "MIT" ]
null
null
null
math-elixir/mix.exs
korczis/hackrf-rust
73c76c23eb58ddfaa484f40e4b800f12b31d0a50
[ "MIT" ]
3
2020-05-09T10:08:07.000Z
2021-02-22T11:42:00.000Z
defmodule Math.Mixfile do use Mix.Project def project do [app: :math, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for more inf...
21.617647
79
0.621769
abb5f4d838df911da7ade5bb76437d61514b45de
1,545
ex
Elixir
lib/etherscan/types/proxy_transaction.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
14
2017-10-20T03:10:44.000Z
2021-10-04T03:00:07.000Z
lib/etherscan/types/proxy_transaction.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
5
2017-10-20T03:36:37.000Z
2018-03-25T00:58:01.000Z
lib/etherscan/types/proxy_transaction.ex
devlin-Smith/etherscan
c56d6f3f8eefa49c9ac8884461387a3af44fac03
[ "MIT" ]
4
2018-03-25T00:49:18.000Z
2019-11-28T00:33:06.000Z
defmodule Etherscan.ProxyTransaction do @moduledoc """ Etherscan module for the ProxyTransaction struct. """ @attributes [ :blockHash, :blockNumber, :condition, :creates, :from, :gas, :gasPrice, :hash, :input, :networkId, :nonce, :publicKey, :r, :raw, ...
19.807692
58
0.530097
abb603a5a5e48e4e4aa746b2716a03632c80fca9
1,428
ex
Elixir
lib/cometoid_web/event_live/modals/form_component.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
lib/cometoid_web/event_live/modals/form_component.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
lib/cometoid_web/event_live/modals/form_component.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
defmodule CometoidWeb.EventLive.Modals.FormComponent do use CometoidWeb, :live_component alias Cometoid.Repo.Calendar @impl true def update(%{event: event} = assigns, socket) do changeset = Calendar.change_event(event) {:ok, socket |> assign(assigns) |> assign(:changeset, changeset)} ...
29.75
69
0.655462
abb6333d2e7f626c61cdf6c91ea49255aa4ce384
625
ex
Elixir
web/models/account.ex
participateapp/participate-api
35dab43fc456f7e8b8c8479195562baad881aa44
[ "MIT" ]
3
2015-01-29T19:11:05.000Z
2015-10-19T02:12:02.000Z
web/models/account.ex
participateapp/participate-api
35dab43fc456f7e8b8c8479195562baad881aa44
[ "MIT" ]
43
2015-05-31T00:28:45.000Z
2017-02-06T20:06:19.000Z
web/models/account.ex
participateapp/participate-api
35dab43fc456f7e8b8c8479195562baad881aa44
[ "MIT" ]
2
2015-07-11T14:48:04.000Z
2015-07-13T06:51:37.000Z
defmodule ParticipateApi.Account do use ParticipateApi.Web, :model schema "accounts" do field :email, :string field :facebook_uid, :string belongs_to :participant, ParticipateApi.Participant timestamps end @required_fields ~w(email facebook_uid) @optional_fields ~w() @doc """ Crea...
22.321429
61
0.7056
abb6517cf555e3f427a5a8b6084e35fc55396b0f
2,948
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/public_delegated_prefix_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/public_delegated_prefix_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/public_delegated_prefix_list.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...
47.548387
393
0.725577
abb677a84b55e020d3fa88144e5f9347895e27db
2,074
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/default_click_through_event_tag_properties.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/default_click_through_event_tag_properties.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/default_click_through_event_tag_properties.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...
39.884615
209
0.761331
abb67e91f1fffd4e63d8568236dff016929431ae
2,298
ex
Elixir
lib/fullcontact/model.ex
david-wilson/fullcontact_ex
df82639f2948230065582d68c2edd585e4186433
[ "MIT" ]
null
null
null
lib/fullcontact/model.ex
david-wilson/fullcontact_ex
df82639f2948230065582d68c2edd585e4186433
[ "MIT" ]
null
null
null
lib/fullcontact/model.ex
david-wilson/fullcontact_ex
df82639f2948230065582d68c2edd585e4186433
[ "MIT" ]
null
null
null
defmodule FullContact.Model.Person do @derive [Poison.Encoder] defstruct [:contactInfo, :demographics, :digitalFootPrints, :organizations, :photos, :liklihood, :socialProfiles, :macromeasures] end defmodule FullContact.Model.ContactInfo do @derive [Poison.Encoder] defstruc...
27.035294
87
0.710618
abb68afa0e25953a7a2b204880aa059ebd312e43
2,140
exs
Elixir
test/depot/relative_path_test.exs
jmks/depot
32dd795e29231ee4333c0e825a504659b4abe04b
[ "Apache-2.0" ]
20
2020-06-19T20:38:22.000Z
2021-09-14T06:57:32.000Z
test/depot/relative_path_test.exs
jmks/depot
32dd795e29231ee4333c0e825a504659b4abe04b
[ "Apache-2.0" ]
15
2020-06-22T16:37:10.000Z
2021-10-18T22:18:50.000Z
test/depot/relative_path_test.exs
LostKobrakai/depot
2406773bbb3523f0a294bd4c8256a35a1444e60a
[ "Apache-2.0" ]
5
2020-06-21T14:07:44.000Z
2021-10-05T16:19:45.000Z
defmodule Depot.RelativePathTest do use ExUnit.Case, async: true alias Depot.RelativePath test "relative?" do assert RelativePath.relative?("path/to/dir") refute RelativePath.relative?("/path/to/dir") refute RelativePath.relative?("C:/path/to/dir") refute RelativePath.relative?("//path/to/dir") ...
50.952381
91
0.662617
abb6a386e284f2e0057e918ebd2d56187e284d2b
12,787
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/account_membership_deprecated_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/test/admin_api/v1/controllers/account_membership_deprecated_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/test/admin_api/v1/controllers/account_membership_deprecated_controller_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-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 ...
38.748485
98
0.528897
abb6be7799eaa46529d3223f46ca10387182791c
597
ex
Elixir
web/channels/user_socket.ex
fernandedios/elixir-phoenix-discuss
ca64154dd44c9d8ca251c3d3a75f4e0152bb5d1f
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
fernandedios/elixir-phoenix-discuss
ca64154dd44c9d8ca251c3d3a75f4e0152bb5d1f
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
fernandedios/elixir-phoenix-discuss
ca64154dd44c9d8ca251c3d3a75f4e0152bb5d1f
[ "MIT" ]
null
null
null
defmodule Discuss.UserSocket do use Phoenix.Socket channel "comments:*", Discuss.CommentsChannel transport :websocket, Phoenix.Transports.WebSocket # "token" is a string since it's from a json data def connect(%{"token" => token}, socket) do # IO.puts token case Phoenix.Token.verify(socket, "key", t...
24.875
79
0.639866
abb6d0d2d65801fa45b30a18d777cda1b5132443
9,035
ex
Elixir
lib/phoenix/presence.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
1
2021-03-14T17:50:24.000Z
2021-03-14T17:50:24.000Z
lib/phoenix/presence.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
null
null
null
lib/phoenix/presence.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
2
2020-08-02T04:00:17.000Z
2020-10-07T16:07:37.000Z
defmodule Phoenix.Presence do @moduledoc """ Provides Presence tracking to processes and channels. This behaviour provides presence features such as fetching presences for a given topic, as well as handling diffs of join and leave events as they occur in real-time. Using this module defines a supervisor an...
35.431373
117
0.656336
abb6dc6d7b50204783bb60551735c6099b93c3f6
96
exs
Elixir
test/events_tools_web/views/page_view_test.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
2
2017-10-06T01:14:35.000Z
2017-11-18T16:44:44.000Z
test/events_tools_web/views/page_view_test.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
6
2017-10-06T00:04:59.000Z
2017-10-06T00:09:27.000Z
test/events_tools_web/views/page_view_test.exs
apps-team/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
1
2017-10-06T01:17:35.000Z
2017-10-06T01:17:35.000Z
defmodule CommunityTools.Web.PageViewTest do use CommunityTools.Web.ConnCase, async: true end
24
46
0.833333
abb6e7dc14accffad401845a450c56ff47c4ab74
377
ex
Elixir
lib/level/schemas/password_reset.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
lib/level/schemas/password_reset.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
lib/level/schemas/password_reset.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule Level.Schemas.PasswordReset do @moduledoc """ The PasswordReset schema. """ use Ecto.Schema alias Level.Schemas.User @type t :: %__MODULE__{} @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "password_resets" do field :expires_at, :naive_datetime...
17.136364
52
0.702918
abb70f6b5b24951476929072358d3cb0b74b6b42
1,336
ex
Elixir
lib/code_corps/policy/organization.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps/policy/organization.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps/policy/organization.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Policy.Organization do @moduledoc ~S""" Authorization policies for performing actions on `Organization` records """ import CodeCorps.Policy.Helpers, only: [owned_by?: 2] import Ecto.Query alias CodeCorps.{Organization, OrganizationInvite, Repo, User} @doc ~S""" Returns a boolean i...
32.585366
103
0.672156
abb71db99569c92ad21cfc8b1b6f2e03892987c0
1,262
exs
Elixir
mix.exs
SimpleBet/hlclock_syncrhonizer
1960157051ff71c06bdfc00234c4f219f05fe6af
[ "Apache-2.0" ]
4
2021-05-20T11:22:19.000Z
2022-01-04T22:53:36.000Z
mix.exs
SimpleBet/hlclock_syncrhonizer
1960157051ff71c06bdfc00234c4f219f05fe6af
[ "Apache-2.0" ]
null
null
null
mix.exs
SimpleBet/hlclock_syncrhonizer
1960157051ff71c06bdfc00234c4f219f05fe6af
[ "Apache-2.0" ]
null
null
null
defmodule HLClockSynchronizer.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :hlclock_synchronizer, version: @version, elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), name: :hlclock_synchronizer, package: package(), ...
21.389831
81
0.597464
abb72eb37b530de4a30ca65a0bf82b67d343ac91
267
ex
Elixir
lib/bittrex/order/trade_method.ex
kwrooijen/bittrex
05974c96d6d406e716e726aa636ccc20434d2463
[ "MIT" ]
null
null
null
lib/bittrex/order/trade_method.ex
kwrooijen/bittrex
05974c96d6d406e716e726aa636ccc20434d2463
[ "MIT" ]
null
null
null
lib/bittrex/order/trade_method.ex
kwrooijen/bittrex
05974c96d6d406e716e726aa636ccc20434d2463
[ "MIT" ]
null
null
null
defmodule Bittrex.Order.TradeMethod do alias Bittrex.Order.TradeMethod defstruct [:code] def new(%{ImmediateOrCancel: true} = _order) do %TradeMethod{ code: "IOC" } end def new(_order) do %TradeMethod{ code: "GTC" } end end
14.833333
49
0.632959
abb76c5211b382e8cbbf2896701173630bbe70f9
843
ex
Elixir
lib/searchex/render/info.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
91
2016-11-22T23:52:01.000Z
2022-02-12T13:06:24.000Z
lib/searchex/render/info.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
11
2016-11-23T17:37:57.000Z
2018-03-07T13:40:48.000Z
lib/searchex/render/info.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
9
2016-11-24T01:44:40.000Z
2020-05-15T04:16:19.000Z
defmodule Searchex.Render.Info do @moduledoc false def to_table(vlist) do if length(vlist) == 0 do Util.Ext.IO.puts "NO COLLECTIONS" else fields = ~w(repo/collection numdocs doc_size cache_size file_roots) {header, rows} = table_data(vlist, fields) Util.Ext.IO.puts table_render(row...
28.1
128
0.644128
abb76e5f9d26ff1f609884238823a0b052250e11
1,665
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/region_instance_group_manager_delete_instance_config_req.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/region_instance_group_manager_delete_instance_config_req.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/region_instance_group_manager_delete_instance_config_req.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...
32.019231
168
0.751952
abb78071886ac5652f20c8be40a5397ecb3d5c49
2,679
ex
Elixir
lib/web/plug/basic_authentication.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
lib/web/plug/basic_authentication.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
lib/web/plug/basic_authentication.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.Plug.BasicAuthentication do @moduledoc """ Plug to restrict access to controller action by basic authentication. ## Usage ### Static username/password: using gear config The following line installs a plug that ...
33.4875
113
0.676745
abb786b0a1257c7eb460fdef7009f83694f97346
147
exs
Elixir
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/sequence17/test/sequence17_test.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/sequence17/test/sequence17_test.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/sequence17/test/sequence17_test.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
defmodule Sequence17Test do use ExUnit.Case doctest Sequence17 test "greets the world" do assert Sequence17.hello() == :world end end
16.333333
39
0.727891
abb7e4c89fc75a20a13f27c6cda38a508ad6752e
1,256
exs
Elixir
test/exop_data/generators/uuid_test.exs
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
9
2019-01-30T17:48:54.000Z
2021-01-25T14:48:21.000Z
test/exop_data/generators/uuid_test.exs
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
4
2018-11-07T09:15:29.000Z
2018-11-14T14:58:36.000Z
test/exop_data/generators/uuid_test.exs
madeinussr/exop_props
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
1
2018-11-06T12:14:16.000Z
2018-11-06T12:14:16.000Z
defmodule ExopData.Generators.UuidTest do use ExUnit.Case, async: true import ExUnitProperties import ExopData.Generators.Uuid, only: [generate: 2] property "generates uuids" do generator = generate(:a, :b) check all value <- generator do assert is_binary(value) assert <<a1, a2, a3, a4, ...
27.304348
98
0.486465
abb7ef7d6fe5250e4979ce7a20772e33be08db22
244
ex
Elixir
lib/onde_server_web/channels/bage_channel.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
lib/onde_server_web/channels/bage_channel.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
3
2021-03-09T18:21:20.000Z
2021-09-01T22:58:23.000Z
lib/onde_server_web/channels/bage_channel.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
defmodule OndeServerWeb.BageChannel do use Phoenix.Channel def join("room:lobby", _message, socket) do {:ok, socket} end def join("room:" <> _private_room_id, _params, _socket) do {:error, %{reason: "unauthorized"}} end end
20.333333
60
0.684426
abb802c5b41447fcad7fac8e20134cf79272bc93
594
ex
Elixir
server/lib/coyote_web/plugs/access_api_plug.ex
Spectory/SpectoPusher
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
null
null
null
server/lib/coyote_web/plugs/access_api_plug.ex
Spectory/SpectoPusher
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
3
2018-05-23T20:07:41.000Z
2018-06-01T11:58:23.000Z
server/lib/coyote_web/plugs/access_api_plug.ex
Spectory/coyote
d1ea61dce43a87169381f04080a7d5829d5d09f9
[ "MIT" ]
1
2017-06-16T18:29:44.000Z
2017-06-16T18:29:44.000Z
defmodule CoyoteWeb.AccessApiPlug do import Plug.Conn def init(opts) do opts end def call(conn, _) do access_key = conn.req_headers |> List.keyfind("access_key", 0) |> getAccessKeyFromHeader case Coyote.Auth.authenticate(access_key) do true -> conn _ -> unauthorized(conn) ...
21.214286
61
0.661616
abb81da4f1baea86b47224df69607e21ebcc58d4
80
exs
Elixir
webapp/test/penmark_web/views/page_view_test.exs
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
webapp/test/penmark_web/views/page_view_test.exs
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
webapp/test/penmark_web/views/page_view_test.exs
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
defmodule PenmarkWeb.PageViewTest do use PenmarkWeb.ConnCase, async: true end
20
38
0.825
abb844df8298e196058ad830728fcb39c2603a49
1,072
ex
Elixir
core/sup_tree_core/cluster_nodes_connector.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/cluster_nodes_connector.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/cluster_nodes_connector.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.ClusterNodesConnector do @moduledoc """ A `GenServer` that tries to keep connections to other known nodes. Depends on `AntikytheraCore.ClusterHostsPoller`. """ use GenServer alias AntikytheraCore.Cluster ...
27.487179
117
0.704291
abb859b84091476847b17539fbb080614ce175a6
2,048
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/embedded_object_border.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/docs/lib/google_api/docs/v1/model/embedded_object_border.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/docs/lib/google_api/docs/v1/model/embedded_object_border.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.571429
110
0.70752
abb8613d5e4751f61054a911321ba8e1593361bd
444
exs
Elixir
config/config.exs
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
config/config.exs
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
config/config.exs
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
use Mix.Config config :kaffe, kafka_mod: :brod, group_subscriber_mod: :brod_group_subscriber, group_coordinator_mod: :brod_group_coordinator, subscriber_mod: Kaffe.Subscriber, worker_manager_mod: Kaffe.WorkerManager, worker_mod: Kaffe.Worker # config :logger, :console, # level: :debug, # format: "$dat...
24.666667
55
0.734234
abb86622c1df757c1f5ffdf847273ea97dafcd8a
398
exs
Elixir
priv/repo/migrations/20210407164910_add_homepage_channels.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
priv/repo/migrations/20210407164910_add_homepage_channels.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
priv/repo/migrations/20210407164910_add_homepage_channels.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule Glimesh.Repo.Migrations.AddHomepageChannels do use Ecto.Migration def change do alter table(:channels) do add :show_on_homepage, :boolean, default: false end create table(:homepage_channels) do add :channel_id, references(:channels) add :slot_started_at, :naive_datetime ...
20.947368
56
0.70603
abb88fa2c15fe57eaf173e304c2e2d78bbff934c
63
ex
Elixir
lib/grades/repo.ex
Calvyn82/grades
4f8f43283cf9380dc48a4bc999dd46c66a1ad7ee
[ "MIT" ]
null
null
null
lib/grades/repo.ex
Calvyn82/grades
4f8f43283cf9380dc48a4bc999dd46c66a1ad7ee
[ "MIT" ]
null
null
null
lib/grades/repo.ex
Calvyn82/grades
4f8f43283cf9380dc48a4bc999dd46c66a1ad7ee
[ "MIT" ]
null
null
null
defmodule Grades.Repo do use Ecto.Repo, otp_app: :grades end
15.75
33
0.761905
abb89940915f82467141a186b6ad702ba46936d8
207
exs
Elixir
apps/ewallet_db/config/test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/config/test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/config/test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
use Mix.Config config :ewallet_db, EWalletDB.Repo, pool: Ecto.Adapters.SQL.Sandbox, url: {:system, "DATABASE_URL", "postgres://localhost/ewallet_test"}, queue_target: 10_000, queue_interval: 60_000
25.875
70
0.748792
abb8be3d1f175ca77f98f0c26600ae9274ce122b
1,981
ex
Elixir
lib/plug/verify_premium.ex
Betterez/btrz_ex_auth_api
cf4fc4826a4b41d527b2cf50d1cbfbe34973c1ed
[ "MIT" ]
1
2018-10-16T08:13:12.000Z
2018-10-16T08:13:12.000Z
lib/plug/verify_premium.ex
Betterez/btrz_ex_auth_api
cf4fc4826a4b41d527b2cf50d1cbfbe34973c1ed
[ "MIT" ]
null
null
null
lib/plug/verify_premium.ex
Betterez/btrz_ex_auth_api
cf4fc4826a4b41d527b2cf50d1cbfbe34973c1ed
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Plug) do defmodule BtrzAuth.Plug.VerifyPremium do @moduledoc """ Looks for and validates that the passed `keys` features are present in the account data under `conn.private.account["premium"]` saved by `BtrzAuth.Plug.VerifyApiKey` (the order of the plugs is very important!) If...
27.901408
131
0.621403
abb902303b2dc640dd24904d9079da70f749ee29
1,807
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/number_format.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/sheets/lib/google_api/sheets/v4/model/number_format.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/number_format.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.462963
132
0.714444
abb9023f3aff298826cd8985350bbbf0908a3a4b
203
exs
Elixir
create_fun_umbrella/apps/create_fun_web/test/create_fun_web/controllers/page_controller_test.exs
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
null
null
null
create_fun_umbrella/apps/create_fun_web/test/create_fun_web/controllers/page_controller_test.exs
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
9
2018-06-17T09:54:03.000Z
2018-06-17T09:55:20.000Z
create_fun_umbrella/apps/create_fun_web/test/create_fun_web/controllers/page_controller_test.exs
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
1
2018-06-05T18:38:01.000Z
2018-06-05T18:38:01.000Z
defmodule CreateFunWeb.PageControllerTest do use CreateFunWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.555556
60
0.689655
abb906b1f9267cfe41f2bedbd75b1e3306253ca0
4,957
ex
Elixir
lib/ogn_sim/aprs_log_multi.ex
SylwBar/ogn_sim
8397fc4a38324db7d22de55bb31cb5b5975c2bae
[ "MIT" ]
null
null
null
lib/ogn_sim/aprs_log_multi.ex
SylwBar/ogn_sim
8397fc4a38324db7d22de55bb31cb5b5975c2bae
[ "MIT" ]
null
null
null
lib/ogn_sim/aprs_log_multi.ex
SylwBar/ogn_sim
8397fc4a38324db7d22de55bb31cb5b5975c2bae
[ "MIT" ]
null
null
null
defmodule APRSLog.Multi do use GenStage @lat_scale 6000 @lon_scale 6000 def start_link(multi_opts) do GenStage.start_link(__MODULE__, [multi_opts], name: __MODULE__) end def init([stream_list]) do :ets.new(:ogn_id_map, [:set, :protected, :named_table]) :ets.insert(:ogn_id_map, {:counter, 0}) ...
33.952055
91
0.670769
abb92049d96d704f786371e7060f1854f4c9dc86
901
exs
Elixir
test/wobserver2/web/router/helper_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
test/wobserver2/web/router/helper_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
test/wobserver2/web/router/helper_test.exs
aruki-delivery/wobserver
7db6b219b405defc1e28bd86836f9a90eed235b6
[ "MIT" ]
null
null
null
defmodule Wobserver2.Web.Router.HelperTest do use ExUnit.Case, async: true use Plug.Test alias Wobserver2.Web.Router.Helper test "returns 200 with atom" do conn = conn(:get, "/") conn = Helper.send_json_resp(:info, conn) assert conn.status == 200 end test "returns 200 with String" do co...
19.170213
56
0.63263
abb92f0bb39c2d468216272d0d0eb44692eab11a
1,987
ex
Elixir
code/nlg-with-umdhmm/lib/artisan/hmm_file.ex
mfilej/diploma-thesis
643a7d1f439f253d32b581e2a1d9a7e05f6cea15
[ "MIT" ]
null
null
null
code/nlg-with-umdhmm/lib/artisan/hmm_file.ex
mfilej/diploma-thesis
643a7d1f439f253d32b581e2a1d9a7e05f6cea15
[ "MIT" ]
null
null
null
code/nlg-with-umdhmm/lib/artisan/hmm_file.ex
mfilej/diploma-thesis
643a7d1f439f253d32b581e2a1d9a7e05f6cea15
[ "MIT" ]
null
null
null
defmodule Artisan.HmmFile do def parse(lines) do String.split(lines, "\n") |> parse_lines(%Himamo.Model{}) end defp parse_lines(["M= " <> m | rem_lines], model) do {m, ""} = Integer.parse(m) parse_lines(rem_lines, %{model | m: m}) end defp parse_lines(["N= " <> n | rem_lines], model) do ...
29.220588
70
0.625566
abb93fe4f0dd0e95c7556b8105470c7b6f75ac58
5,820
exs
Elixir
test/bolt_sips/internals/pack_stream/decoder_v1_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
test/bolt_sips/internals/pack_stream/decoder_v1_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
test/bolt_sips/internals/pack_stream/decoder_v1_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
defmodule Bolt.Sips.Internals.PackStream.DecoderV1Test do use ExUnit.Case, async: true alias Bolt.Sips.Internals.PackStream alias Bolt.Sips.Internals.PackStream.DecoderV1 test "decodes null" do assert DecoderV1.decode(<<0xC0>>, 1) == [nil] end test "decodes boolean" do assert DecoderV1.decode(<<0...
33.837209
97
0.528522
abb944695a5807af012c321d23c21d826554f96a
1,714
ex
Elixir
lib/turtle_tube_web.ex
ConnorRigby/turtletube_web
0e6618395918234584edbb74ccceb589fc79bc68
[ "MIT" ]
null
null
null
lib/turtle_tube_web.ex
ConnorRigby/turtletube_web
0e6618395918234584edbb74ccceb589fc79bc68
[ "MIT" ]
null
null
null
lib/turtle_tube_web.ex
ConnorRigby/turtletube_web
0e6618395918234584edbb74ccceb589fc79bc68
[ "MIT" ]
null
null
null
defmodule TurtleTubeWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use TurtleTubeWeb, :controller use TurtleTubeWeb, :view The definitions below will be executed for every view, con...
24.84058
83
0.694282
abb9884c794bd8831c50ad82ab4fb527e9771f83
2,016
ex
Elixir
lib/cgrates_web_jsonapi_web/controllers/tp_action_controller.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
lib/cgrates_web_jsonapi_web/controllers/tp_action_controller.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
lib/cgrates_web_jsonapi_web/controllers/tp_action_controller.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapiWeb.TpActionController do use CgratesWebJsonapiWeb, :controller use JaResource use CgratesWebJsonapi.TpSubresource use CgratesWebJsonapi.DefaultSorting use CgratesWebJsonapi.CsvExport use CgratesWebJsonapi.DeleteAll alias CgratesWebJsonapi.TariffPlans.TpAction plug JaResourc...
40.32
95
0.670635
abb98db1f655a5a7d7c9e163c6d019d6f98755c2
2,071
ex
Elixir
lib/ex_lcd/driver.ex
cthree/ex_lcd
43b4fb055e254e851058410be2586fd43c297df9
[ "Apache-2.0" ]
17
2017-03-28T03:04:07.000Z
2021-07-07T18:11:59.000Z
lib/ex_lcd/driver.ex
cthree/ex_lcd
43b4fb055e254e851058410be2586fd43c297df9
[ "Apache-2.0" ]
5
2017-03-28T02:36:19.000Z
2021-01-18T11:39:29.000Z
lib/ex_lcd/driver.ex
cthree/ex_lcd
43b4fb055e254e851058410be2586fd43c297df9
[ "Apache-2.0" ]
9
2017-03-30T11:49:55.000Z
2020-11-29T15:02:44.000Z
defmodule ExLCD.Driver do @moduledoc """ ExLCD.Driver defines the behaviour expected of display driver modules. Each display driver module must use this module and implement the expected callback functions. ```elixir defmodule MyDisplayDriver do use ExLCD.Driver ... end ``` """ ...
27.25
76
0.67407
abb98f3b18c8290a9f17077e2ed28d6e74713c6c
5,610
exs
Elixir
test/godfist/static_test.exs
whitfin/godfist
b311b17b3db3b47b650b070da4fd753f4492560d
[ "MIT" ]
6
2017-07-27T08:23:25.000Z
2020-01-14T19:17:52.000Z
test/godfist/static_test.exs
whitfin/godfist
b311b17b3db3b47b650b070da4fd753f4492560d
[ "MIT" ]
7
2017-08-26T06:01:16.000Z
2018-04-03T18:30:44.000Z
test/godfist/static_test.exs
whitfin/godfist
b311b17b3db3b47b650b070da4fd753f4492560d
[ "MIT" ]
2
2017-08-26T05:50:29.000Z
2018-10-01T20:44:42.000Z
defmodule Godfist.StaticTest do @moduledoc false use ExUnit.Case, async: true alias Godfist.{Static, LeagueRates} @champid 64 setup do bypass = Bypass.open() LeagueRates.start_link(bypass.port) {:ok, bypass: bypass} end # Static test "returns static data of all champs", %{bypass: bypas...
27.101449
77
0.608913
abb999629c7dd3f19f66442f2318709f77f68e25
715
ex
Elixir
web/gettext.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
web/gettext.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
web/gettext.ex
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
defmodule BlogExample.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import BlogExample.Gettext # Simple translation gettext "Here is...
28.6
72
0.683916
abb99dca068a1118854626357f4384d857cab27c
294
ex
Elixir
elixir/discuss/web/models/topic.ex
enricocolasante/sandbox
ba006c3e45bacef064d90cb9861c637c98545cfc
[ "MIT" ]
null
null
null
elixir/discuss/web/models/topic.ex
enricocolasante/sandbox
ba006c3e45bacef064d90cb9861c637c98545cfc
[ "MIT" ]
null
null
null
elixir/discuss/web/models/topic.ex
enricocolasante/sandbox
ba006c3e45bacef064d90cb9861c637c98545cfc
[ "MIT" ]
null
null
null
defmodule Discuss.Topic do use Discuss.Web, :model schema "topics" do field :title, :string belongs_to :user, Discuss.User has_many :comments, Discuss.Comment end def changeset(struct, params \\ %{}) do struct |> cast(params, [:title]) |> validate_required([:title]) end end
18.375
40
0.693878
abb9b6e629eeacb9a95662c3648972a709e6be07
1,349
exs
Elixir
farmbot_core/test/farmbot_celery_script/variable_transformer_test.exs
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_core/test/farmbot_celery_script/variable_transformer_test.exs
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
null
null
null
farmbot_core/test/farmbot_celery_script/variable_transformer_test.exs
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
null
null
null
defmodule FarmbotCeleryScript.VariableTransformerTest do use ExUnit.Case, async: false use Mimic alias FarmbotCeleryScript.Compiler.VariableTransformer alias FarmbotCeleryScript.SysCalls.Stubs setup :verify_on_exit! test "always has an x/y/z value at root" do actual = VariableTransformer.run!(%{x: 1,...
24.981481
79
0.60341
abba0959baaa6242a63599e3cb56dd4bfccb1dd3
238
ex
Elixir
lib/tweet_bot_web/controllers/fallback_controller.ex
chenxsan/telegram-bot-for-twitter
892107c7609123028ac2375342cd7b2329931635
[ "MIT" ]
14
2018-03-23T04:13:29.000Z
2021-07-26T06:15:50.000Z
lib/tweet_bot_web/controllers/fallback_controller.ex
chenxsan/telegram-bot-for-twitter
892107c7609123028ac2375342cd7b2329931635
[ "MIT" ]
2
2021-03-08T18:20:20.000Z
2021-05-06T22:47:09.000Z
lib/tweet_bot_web/controllers/fallback_controller.ex
chenxsan/telegram-bot-for-twitter
892107c7609123028ac2375342cd7b2329931635
[ "MIT" ]
3
2020-11-04T08:11:47.000Z
2022-01-13T17:41:42.000Z
defmodule FallbackController do use Phoenix.Controller def call(conn, {:error, {_, reason}}) do json(conn, %{ "method" => "sendMessage", "chat_id" => conn.assigns.current_user, "text" => reason }) end end
19.833333
45
0.609244
abba1417fca0d4a761fa0c888fdbc4197e3cf08a
12,830
exs
Elixir
test/cforum/abilities/auth_helpers_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
test/cforum/abilities/auth_helpers_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
test/cforum/abilities/auth_helpers_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.Abilities.AuthHelpersTest do use Cforum.DataCase alias Cforum.Abilities alias Cforum.Users.User describe "signed_in?/1 and admin?/1" do test "signed_in?/1 returns true if a user is signed in" do conn = %Plug.Conn{} |> Plug.Conn.assign(:current_user, %User{}) a...
37.51462
89
0.672175
abba452251531c6f1189e40f818949d02667c627
286
ex
Elixir
lib/infinity_one_web/controllers/help_controller.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
lib/infinity_one_web/controllers/help_controller.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
lib/infinity_one_web/controllers/help_controller.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOneWeb.HelpController do use InfinityOneWeb, :controller plug(:put_layout, {InfinityOneWeb.LayoutView, "help.html"}) def index(conn, _params) do render(conn, "index.html") end def show(conn, %{"id" => id}) do render(conn, id <> ".html") end end
20.428571
61
0.678322
abba51e8032f862a8e885a462b3cf29409ad8142
852
exs
Elixir
apps/tai/test/tai/orders/create_skip_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/test/tai/orders/create_skip_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/test/tai/orders/create_skip_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.Orders.CreateSkipTest do use Tai.TestSupport.DataCase, async: false alias Tai.Orders.{Order, Submissions} setup do Tai.Settings.disable_send_orders!() :ok end [ {:buy, Submissions.BuyLimitGtc}, {:sell, Submissions.SellLimitGtc} ] |> Enum.each(fn {side, submission_type} -> ...
21.846154
82
0.646714
abba93f8c0fad52aa82bf7b93045a2663125aaed
428
ex
Elixir
lib/justcall/text.ex
christopherlai/justcall
db4b825eda762d39cbd450bdd7514f05c44abca5
[ "Unlicense", "MIT" ]
null
null
null
lib/justcall/text.ex
christopherlai/justcall
db4b825eda762d39cbd450bdd7514f05c44abca5
[ "Unlicense", "MIT" ]
null
null
null
lib/justcall/text.ex
christopherlai/justcall
db4b825eda762d39cbd450bdd7514f05c44abca5
[ "Unlicense", "MIT" ]
null
null
null
defmodule Justcall.Text do @moduledoc """ Operations on the `Text` API. """ alias Justcall.Operation @doc """ Send a text message. """ @spec send(from :: binary(), to :: binary(), body :: binary(), opts :: keyword()) :: Operation.t() def send(from, to, body, opts \\ []) do payload = E...
23.777778
86
0.586449
abbab30fd43ed2a763b8f7c371acdbf42f44edf0
270
ex
Elixir
web/GET.ex
conorfoley/dota_hero_combos
d75a3f0673fc1f1d0845c9d5c692c0605d3b445d
[ "MIT" ]
null
null
null
web/GET.ex
conorfoley/dota_hero_combos
d75a3f0673fc1f1d0845c9d5c692c0605d3b445d
[ "MIT" ]
null
null
null
web/GET.ex
conorfoley/dota_hero_combos
d75a3f0673fc1f1d0845c9d5c692c0605d3b445d
[ "MIT" ]
null
null
null
defmodule DotaHeroCombos.Resource.GET do use DotaHeroCombos.Resource input name mediatype Hyper do action do %{ "greeting" => greeting(name || "guest") } end end def greeting(name) do %{ "hello" => name } end end
13.5
47
0.581481
abbadc4986399548282521f2ad92cfaee995e277
515
ex
Elixir
test/support/pages/navigation.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
460
2016-12-28T21:50:05.000Z
2022-03-16T14:34:08.000Z
test/support/pages/navigation.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
412
2016-12-27T17:32:01.000Z
2021-09-17T23:51:47.000Z
test/support/pages/navigation.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
140
2017-01-06T06:55:58.000Z
2022-02-04T13:35:21.000Z
defmodule Tilex.Integration.Pages.Navigation do use Wallaby.DSL def ensure_heading(session, text) do heading = session |> Browser.find(Query.css("header.site_head div h1")) |> Element.text() ExUnit.Assertions.assert(heading =~ ~r/#{text}/i, "Expected: #{text}, Found: #{heading}") se...
23.409091
93
0.664078
abbb412541170f678ae2d59b059d3573f37e708d
1,235
ex
Elixir
debian/emacsen-install.ex
Gurut/libfenc
04498be422b76fba70efbf7d7b4d154fdfb54d65
[ "BSD-3-Clause" ]
2
2019-09-22T14:54:02.000Z
2019-12-24T08:22:41.000Z
debian/emacsen-install.ex
Gurut/libfenc
04498be422b76fba70efbf7d7b4d154fdfb54d65
[ "BSD-3-Clause" ]
2
2017-03-05T14:50:42.000Z
2019-02-06T19:11:16.000Z
debian/emacsen-install.ex
Gurut/libfenc
04498be422b76fba70efbf7d7b4d154fdfb54d65
[ "BSD-3-Clause" ]
3
2016-05-25T04:48:48.000Z
2018-01-11T09:43:38.000Z
#! /bin/sh -e # /usr/lib/emacsen-common/packages/install/libfenc # Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily # from the install scripts for gettext by Santiago Vila # <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. FLAVOR=$1 PACKAGE=libfenc if [ ${FLAVOR} = emacs ]; then exit 0;...
26.847826
102
0.687449
abbb61e3336ce0d2c88a2bf3519165828efae97b
28,730
exs
Elixir
test/oli/datashop_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
test/oli/datashop_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
test/oli/datashop_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.DatashopTest do use Oli.DataCase alias Oli.Analytics.Datashop alias Oli.Activities.Model.Part alias Oli.Publishing alias Oli.Activities describe "datashop" do setup do mc_content = %{ "authoring" => %{ "parts" => [ %{ "hints" => [ ...
32.463277
628
0.386216
abbb81ea6b50264f2eb1fd89b85295f287575858
935
ex
Elixir
lib/admin/default/shared_group_data.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
1
2021-12-21T14:22:12.000Z
2021-12-21T14:22:12.000Z
lib/admin/default/shared_group_data.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
lib/admin/default/shared_group_data.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
defmodule PlayfabEx.Admin.Default.SharedGroupData do @doc """ Updates the key-value store of custom publisher settings @link https://api.playfab.com/documentation/admin/method/SetPublisherData """ @spec set_publisher_data(map()) :: {:ok, map} | {:error, String.t} def set_publisher_data(params) do fetc...
28.333333
171
0.670588
abbb840a4e438629fa806a9b511f97cc7835be3d
2,020
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/digital_content_label_assigned_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/digital_content_label_assigned_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/digital_content_label_assigned_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.827586
138
0.756931
abbb8fe2031626adfa6f9e8a9cc70da1b806275e
88
ex
Elixir
apps/artemis_web/lib/artemis_web/views/layout_view.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis_web/lib/artemis_web/views/layout_view.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/lib/artemis_web/views/layout_view.ex
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule ArtemisWeb.LayoutView do use ArtemisWeb, :view import Scrivener.HTML end
14.666667
34
0.795455
abbb981aa1861108c11f716a95a7881dab788450
2,986
ex
Elixir
test/support/assertions/conn.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/support/assertions/conn.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/support/assertions/conn.ex
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
defmodule CritWeb.Assertions.Conn do use Phoenix.ConnTest use Crit.Global.Constants import CritWeb.ConnExtras import ExUnit.Assertions import Crit.Assertions.Defchain alias CritWeb.PublicController alias Crit.Users.User import CritWeb.Plugs.Accessors alias CritWeb.CurrentUser.SessionController alias...
27.648148
76
0.743135
abbb9abcbdc2b6e882201cde0f2d860b56dd4ce2
4,016
exs
Elixir
test/components/form/date_input_test.exs
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
1
2020-12-29T10:43:19.000Z
2020-12-29T10:43:19.000Z
test/components/form/date_input_test.exs
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
test/components/form/date_input_test.exs
EddyLane/surface
1f13259cbdf81b5a4740ee13349a48f8b6c54bb5
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.DateInputTest do use Surface.ConnCase, async: true alias Surface.Components.Form.DateInput test "empty input" do html = render_surface do ~H""" <DateInput form="user" field="birthday" /> """ end assert html =~ """ <input i...
24.487805
113
0.562749
abbbb5aff9986f350456d9db71ca8a0b93f55c70
1,529
exs
Elixir
test/integration/discovery_api/data/dictionary_test.exs
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
test/integration/discovery_api/data/dictionary_test.exs
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
test/integration/discovery_api/data/dictionary_test.exs
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryApi.Data.DictionaryTest do use ExUnit.Case use Divo, services: [:redis, :zookeeper, :kafka, :"ecto-postgres"] use DiscoveryApi.DataCase alias DiscoveryApi.TestDataGenerator, as: TDG alias SmartCity.Registry.Dataset alias DiscoveryApi.Test.Helper setup do Helper.wait_for_brook_to_be...
31.854167
90
0.671027
abbbc097602482c2548226f934c7d88f2ee085d7
2,182
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_list_select.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_list_select.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_list_select.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...
33.060606
156
0.715857
abbbc2bc10898197cee4e814436d8620310a4480
1,345
ex
Elixir
lib/quadquizaminos/accounts/accounts.ex
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
lib/quadquizaminos/accounts/accounts.ex
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
lib/quadquizaminos/accounts/accounts.ex
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
defmodule Quadquizaminos.Accounts do alias Quadquizaminos.Accounts.LoginLevel alias Quadquizaminos.Accounts.User alias Quadquizaminos.Repo def create_user(user, attrs) do user |> User.changeset(attrs) |> Repo.insert() end def get_user(id) do User |> Repo.get(id) end def user_has_r...
25.377358
97
0.724907
abbbd164b470db49b38878aaa4c46c95063e74a7
623
exs
Elixir
mix.exs
gfvcastro/phoenix_open_browser
936214ffe430a1eeb61bdaa31b101ea1c55ee53e
[ "MIT" ]
2
2017-09-11T13:40:17.000Z
2017-09-11T13:41:26.000Z
mix.exs
gfvcastro/phoenix_open_browser
936214ffe430a1eeb61bdaa31b101ea1c55ee53e
[ "MIT" ]
null
null
null
mix.exs
gfvcastro/phoenix_open_browser
936214ffe430a1eeb61bdaa31b101ea1c55ee53e
[ "MIT" ]
null
null
null
defmodule PhoenixOpenBrowser.Mixfile do use Mix.Project def project do [ app: :phoenix_open_browser, version: "0.1.3", elixir: "~> 1.7", deps: deps(), package: package(), name: "PhoenixOpenBrowser", description: "A module that opens a Phoenix application in the...
18.878788
99
0.600321
abbbe7df2bcbedfaf983f5320e4117b38005d883
1,030
ex
Elixir
lib/birdbeak/application.ex
qtheninja/birdbeak
f3af66ee84a201a373ab0b9b5c245c861b7e88ab
[ "MIT" ]
null
null
null
lib/birdbeak/application.ex
qtheninja/birdbeak
f3af66ee84a201a373ab0b9b5c245c861b7e88ab
[ "MIT" ]
null
null
null
lib/birdbeak/application.ex
qtheninja/birdbeak
f3af66ee84a201a373ab0b9b5c245c861b7e88ab
[ "MIT" ]
null
null
null
defmodule Birdbeak.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
32.1875
86
0.715534
abbbfc12892eb210538ebab60530b68130209458
17,349
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/creative_fields.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/creative_fields.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/creative_fields.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.837037
549
0.627587
abbbfe7040c5651e9b3725bf2b9e8c18d81b10a6
931
ex
Elixir
debian/postrm.ex
cato-/check_mem
e1ff7f6692e2dd3af2751022402033243b505f45
[ "BSD-2-Clause" ]
null
null
null
debian/postrm.ex
cato-/check_mem
e1ff7f6692e2dd3af2751022402033243b505f45
[ "BSD-2-Clause" ]
null
null
null
debian/postrm.ex
cato-/check_mem
e1ff7f6692e2dd3af2751022402033243b505f45
[ "BSD-2-Clause" ]
null
null
null
#!/bin/sh # postrm script for checkmem # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' # ...
24.5
78
0.628357
abbc07cc28aff903b3121a4627fb1b30e579578f
1,488
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/pull_stopped_event.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/genomics/lib/google_api/genomics/v1/model/pull_stopped_event.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/pull_stopped_event.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
31
83
0.743952
abbc102e1e0b9ec5598ab14faab391ea3389eb39
2,985
exs
Elixir
test/mix/tasks/ecto_immigrant.rollback_test.exs
samsamai/ecto_immigrant
aae8798eb9bdb908d80eabb123e823d07721c578
[ "Apache-2.0" ]
4
2019-11-06T04:43:49.000Z
2021-04-02T09:06:34.000Z
test/mix/tasks/ecto_immigrant.rollback_test.exs
samsamai/ecto_immigrant
aae8798eb9bdb908d80eabb123e823d07721c578
[ "Apache-2.0" ]
4
2020-09-14T05:14:50.000Z
2021-04-18T05:42:35.000Z
test/mix/tasks/ecto_immigrant.rollback_test.exs
samsamai/ecto_immigrant
aae8798eb9bdb908d80eabb123e823d07721c578
[ "Apache-2.0" ]
7
2020-05-28T06:21:43.000Z
2021-05-28T07:25:47.000Z
defmodule Mix.Tasks.EctoImmigrant.RollbackTest do use ExUnit.Case import Mix.Tasks.EctoImmigrant.Rollback, only: [run: 2] import Support.FileHelpers @migrations_path Path.join([tmp_path(), inspect(EctoImmigrant.Migrate), "data_migrations"]) setup do File.mkdir_p!(@migrations_path) :ok end defm...
22.78626
96
0.624121
abbc6940149ea1bb9ae83b811909f059295bc265
5,244
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_agent.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_agent.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_agent.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
65.55
557
0.719489
abbc6976d74ad9456a746b1fa1b8b7261f483743
67
exs
Elixir
test/test_helper.exs
KalvadTech/kalbu
a814aad1c276b44bc3366b758118795fb590d2df
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
KalvadTech/kalbu
a814aad1c276b44bc3366b758118795fb590d2df
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
KalvadTech/kalbu
a814aad1c276b44bc3366b758118795fb590d2df
[ "BSD-3-Clause" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Kalbu.Repo, :manual)
22.333333
51
0.776119
abbc960a24b827dc4596a85ebda15a3a7b108f9d
1,885
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/script_statistics.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/script_statistics.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query/lib/google_api/big_query/v2/model/script_statistics.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...
37.7
300
0.741114
abbca5b95491b0bde69a3f1624055b6a88f61c96
2,630
exs
Elixir
test/observables/zipn_test.exs
DriesDeBackker/observables-extended
c4f66384369e8a827337451ba9d10f5c9fc4701c
[ "MIT" ]
2
2019-07-18T12:44:08.000Z
2019-07-18T13:50:42.000Z
test/observables/zipn_test.exs
DriesDeBackker/observables-extended
c4f66384369e8a827337451ba9d10f5c9fc4701c
[ "MIT" ]
null
null
null
test/observables/zipn_test.exs
DriesDeBackker/observables-extended
c4f66384369e8a827337451ba9d10f5c9fc4701c
[ "MIT" ]
null
null
null
defmodule ZipnTest do use ExUnit.Case alias Observables.{Obs, Subject} require Logger test "zipn (1)" do testproc = self() xs = Subject.create() ys = Subject.create() zs = Subject.create() Obs.zip_n([xs, ys, zs]) |> Obs.map(fn v -> send(testproc, v) end) # Send first value of xs,...
24.12844
72
0.589354
abbcc3493e5d63065ac5eeb0ba6eb9bd52c05a6d
2,399
exs
Elixir
apps/omg_child_chain/test/omg_child_chain/block_queue/balance_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_child_chain/test/omg_child_chain/block_queue/balance_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_child_chain/test/omg_child_chain/block_queue/balance_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.80597
108
0.699875
abbd092eef056e024d47e5eee927c1474d1977b4
1,643
ex
Elixir
test/support/utils.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
test/support/utils.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
test/support/utils.ex
takasehideki/vintage_net
40678fc9d74df5ff9f9f36c6378b62e981ceaf31
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetTest.Utils do @moduledoc false @spec default_opts() :: keyword() def default_opts() do # Use the defaults in mix.exs, but normalize the paths to commands Application.get_all_env(:vintage_net) |> Keyword.merge( bin_chat: "chat", bin_dnsd: "dnsd", bin_ip: "ip", ...
24.893939
90
0.531954
abbd21ef3677a61841f4a74222b29a4e5f54fa96
6,254
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/dataset.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/dataset.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/dataset.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
71.885057
910
0.75056
abbd2d3545f05b09372f46d67bd21692ce55535d
827
exs
Elixir
ros/ros_service/mix.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
1
2019-07-01T18:47:28.000Z
2019-07-01T18:47:28.000Z
ros/ros_service/mix.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
4
2020-07-17T16:57:18.000Z
2021-05-09T23:50:52.000Z
ros/ros_service/mix.exs
kujua/elixir-handbook
4185ad8da7f652fdb59c799dc58bcb33fda10475
[ "Apache-2.0" ]
null
null
null
defmodule RosService.MixProject do use Mix.Project def project do [ app: :ros_service, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), dialyzer: [ plt_add_deps: :ros_lib, paths: ["_build/dev/lib/ros_lib/ebin"] ] ...
21.205128
65
0.506651
abbd6df721ad18ec7543f147230f87bd6990a01b
2,663
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.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 ...
39.161765
126
0.737514
abbd7173c2db09ce02457c6558c984a8aba3147e
680
exs
Elixir
mix.exs
Jwsonic/shop_deed
1c70631976c3e0da473ec6ff1f4d7f9988c5b33a
[ "Apache-2.0" ]
null
null
null
mix.exs
Jwsonic/shop_deed
1c70631976c3e0da473ec6ff1f4d7f9988c5b33a
[ "Apache-2.0" ]
null
null
null
mix.exs
Jwsonic/shop_deed
1c70631976c3e0da473ec6ff1f4d7f9988c5b33a
[ "Apache-2.0" ]
null
null
null
defmodule ShopDeed.MixProject do use Mix.Project def project do [ app: :shop_deed, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_...
21.935484
88
0.572059
abbd885b80039af823e78bed3f423d5614cb8a9c
1,756
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/list_documents_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/list_documents_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/list_documents_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 &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 ...
35.12
121
0.740319
abbd8b751a07de996b483b380e4130b7f9829fc4
965
ex
Elixir
lib/tsuro_phoenix/application.ex
pcsheng/tsuro-phoenix
df3e5f95bf1705d7a8beacd037ca67264ffca41b
[ "MIT" ]
null
null
null
lib/tsuro_phoenix/application.ex
pcsheng/tsuro-phoenix
df3e5f95bf1705d7a8beacd037ca67264ffca41b
[ "MIT" ]
null
null
null
lib/tsuro_phoenix/application.ex
pcsheng/tsuro-phoenix
df3e5f95bf1705d7a8beacd037ca67264ffca41b
[ "MIT" ]
null
null
null
defmodule TsuroPhoenix.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto repository TsuroPhoenix....
30.15625
71
0.724352
abbd96d21a9681a427972471063dcca77059c6e7
19,421
exs
Elixir
test/livebook/session_test.exs
chamot1111/livebook
4ff1ff0d5a3c664fdf53b71667b9b4660ce8d7f4
[ "Apache-2.0" ]
null
null
null
test/livebook/session_test.exs
chamot1111/livebook
4ff1ff0d5a3c664fdf53b71667b9b4660ce8d7f4
[ "Apache-2.0" ]
null
null
null
test/livebook/session_test.exs
chamot1111/livebook
4ff1ff0d5a3c664fdf53b71667b9b4660ce8d7f4
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.SessionTest do use ExUnit.Case, async: true alias Livebook.{Session, Delta, Runtime, Utils, Notebook, FileSystem} # Note: queueing evaluation in most of the tests below # requires the runtime to synchronously start first, # so we use a longer timeout just to make sure the tests # pass r...
34.252205
94
0.663818
abbde8e3f4f749c5b0ce8203ede0bbce914aacf7
4,290
ex
Elixir
lib/hound/json_driver/element.ex
zamith/hound
2fcddb59e1e71ac77bbebfcb97bc6d74ae11d116
[ "MIT" ]
null
null
null
lib/hound/json_driver/element.ex
zamith/hound
2fcddb59e1e71ac77bbebfcb97bc6d74ae11d116
[ "MIT" ]
null
null
null
lib/hound/json_driver/element.ex
zamith/hound
2fcddb59e1e71ac77bbebfcb97bc6d74ae11d116
[ "MIT" ]
null
null
null
defmodule Hound.JsonDriver.Element do @moduledoc "Provides functions related to elements." import Hound.JsonDriver.Utils @type element_selector :: {atom, String.t} @type element :: element_selector | String.t @spec visible_text(element) :: String.t def visible_text(element) do element_id = get_eleme...
30.211268
95
0.714219
abbe17a2832e8ed5b260a7075fa233c51bca99d3
4,028
ex
Elixir
secret-handshake/lib/secret_handshake.ex
Hafizuddin-Darman/exercism-elixir
6407b032ec97515a1f93b766da217357bcb0e7eb
[ "MIT" ]
null
null
null
secret-handshake/lib/secret_handshake.ex
Hafizuddin-Darman/exercism-elixir
6407b032ec97515a1f93b766da217357bcb0e7eb
[ "MIT" ]
null
null
null
secret-handshake/lib/secret_handshake.ex
Hafizuddin-Darman/exercism-elixir
6407b032ec97515a1f93b766da217357bcb0e7eb
[ "MIT" ]
null
null
null
defmodule SecretHandshake do @doc """ Determine the actions of a secret handshake based on the binary representation of the given `code`. If the following bits are set, include the corresponding action in your list of commands, in order from lowest to highest. 1 = wink ...
49.728395
117
0.591857
abbe1abe08da346314c54e0f0252e7d4a05aebdd
421
exs
Elixir
priv/repo/migrations/00220170502193425_create_coherence_invitable.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
priv/repo/migrations/00220170502193425_create_coherence_invitable.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
priv/repo/migrations/00220170502193425_create_coherence_invitable.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UcxUcc.Repo.Migrations.CreateCoherenceInvitable do use Ecto.Migration def change do create table(:invitations, primary_key: false) do add :id, :binary_id, primary_key: true add :name, :string add :email, :string add :token, :string timestamps(type: :utc_datetime) end...
24.764706
60
0.684086
abbe3404d8b864fe5382f1087c40ab1badb9b090
1,068
ex
Elixir
elixir/lib/homework_web/schema.ex
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schema.ex
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schema.ex
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Schema do @moduledoc """ Defines the graphql schema for this project. """ use Absinthe.Schema alias HomeworkWeb.Resolvers.MerchantsResolver alias HomeworkWeb.Resolvers.TransactionsResolver alias HomeworkWeb.Resolvers.UsersResolver alias HomeworkWeb.Resolvers.CompaniesResolver im...
25.428571
51
0.733146
abbe5162974260e44895efcc2fd3295f6f5b2af8
1,882
ex
Elixir
lib/nerves_grove/pca9685/tetrapod.ex
Manolets/nerves_grove
7a67a34ab9d897214ce78814aebb56b346edc726
[ "Unlicense" ]
null
null
null
lib/nerves_grove/pca9685/tetrapod.ex
Manolets/nerves_grove
7a67a34ab9d897214ce78814aebb56b346edc726
[ "Unlicense" ]
null
null
null
lib/nerves_grove/pca9685/tetrapod.ex
Manolets/nerves_grove
7a67a34ab9d897214ce78814aebb56b346edc726
[ "Unlicense" ]
null
null
null
defmodule Nerves.Grove.PCA9685.Tetrapod do alias Nerves.Grove.PCA9685.{ServoSupervisor, DeviceSupervisor} require Logger @devices [%{bus: 1, address: 0x40, pwm_freq: 50}] @servos [ %{limb: :frb, bus: 1, address: 0x40, channel: 0, position: 90, min: 175, max: 575}, %{limb: :frh, bus: 1, address: 0x40, ch...
39.208333
88
0.613177
abbe5eb791818e046d28d27056347a6285d70379
9,620
ex
Elixir
lib/aws/generated/service_quotas.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/service_quotas.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/service_quotas.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.ServiceQuotas do @moduledoc """ Service Quotas is a web service that you can use to manage many of your AWS service quotas. Quotas, also referred to as limits, are the maximum values for ...
38.023715
142
0.733472
abbe7c5818ba92fff230fff8219e77c20c0c0f23
295
ex
Elixir
lib/impl/camel_caser/list.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/impl/camel_caser/list.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/impl/camel_caser/list.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
1
2021-11-09T14:20:08.000Z
2021-11-09T14:20:08.000Z
defimpl Digger.CamelCaser, for: List do alias Digger.CamelCaser alias Digger.Opts.CamelCaser, as: Opts def camel_case([], _opts), do: [] def camel_case([h | t], opts) do opts = Opts.set_options(opts) [CamelCaser.camel_case(h, opts)] ++ CamelCaser.camel_case(t, opts) end end
24.583333
70
0.691525
abbea0510cd1f3487b765b1e416ebd841fb7845d
2,046
ex
Elixir
priv/catalogue/form/example04.ex
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
30
2021-02-05T18:50:38.000Z
2022-03-12T22:42:29.000Z
priv/catalogue/form/example04.ex
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
19
2021-01-15T19:14:24.000Z
2022-02-05T14:57:18.000Z
priv/catalogue/form/example04.ex
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
17
2021-02-01T20:57:51.000Z
2022-03-20T17:06:57.000Z
defmodule SurfaceBulma.Catalogue.Form.Example04 do @moduledoc "" use Surface.Catalogue.Example, subject: SurfaceBulma.Form, catalogue: SurfaceBulma.Catalogue, title: "Various form controls", height: "1000px" alias SurfaceBulma.Form.{ ColorInput, DateInput, DateTimeLocalInput, Numb...
21.765957
69
0.582111
abbecf7adcf0e3b097506c5269d0acdc2440bb79
1,083
exs
Elixir
config/dev.exs
borodark/weather_phoenix1
0de7070c54a943935e0eb89f621ff6dfc3d5d78c
[ "MIT" ]
2
2015-11-09T18:16:58.000Z
2017-03-01T14:11:07.000Z
config/dev.exs
borodark/weather_phoenix1
0de7070c54a943935e0eb89f621ff6dfc3d5d78c
[ "MIT" ]
null
null
null
config/dev.exs
borodark/weather_phoenix1
0de7070c54a943935e0eb89f621ff6dfc3d5d78c
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :weather_phoenix1, WeatherPhoenix1.Endpoint, h...
31.852941
74
0.725762
abbee1b8c88159b5bb1e4f243c7886b2a48e8a3b
75
exs
Elixir
protocol_demo/test/protocol_demo_test.exs
ramalho/ElixirConf-NaturalSet
3fb4b7bd2879f82ed3890669fd87a757ab00d445
[ "Apache-2.0" ]
null
null
null
protocol_demo/test/protocol_demo_test.exs
ramalho/ElixirConf-NaturalSet
3fb4b7bd2879f82ed3890669fd87a757ab00d445
[ "Apache-2.0" ]
null
null
null
protocol_demo/test/protocol_demo_test.exs
ramalho/ElixirConf-NaturalSet
3fb4b7bd2879f82ed3890669fd87a757ab00d445
[ "Apache-2.0" ]
null
null
null
defmodule ProtocolDemoTest do use ExUnit.Case doctest ProtocolDemo end
15
29
0.826667
abbeeafab882638f27d912670e370111ca2ff072
1,145
ex
Elixir
lib/web/controllers/admin/config_controller.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/web/controllers/admin/config_controller.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/web/controllers/admin/config_controller.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Web.Admin.ConfigController do use Web.AdminController plug(:ensure_admin!) alias Web.Config def index(conn, _params) do conn |> render("index.html") end def edit(conn, %{"id" => name}) do case Config.get(name) do nil -> changeset = Config.new(name) conn |...
22.9
89
0.558079
abbefff14ac0827407c887cc948833d38ebf15dd
2,198
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/diagnostics.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/diagnostics.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/diagnostics.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...
39.25
183
0.728389
abbf29cf777d7a5fe63f87c295a2edb4dc7f9304
2,765
exs
Elixir
mix.exs
mquickform/commanded
260b1ec28c2fb3c1fcbb61b8c4abacabd7dc7ed2
[ "MIT" ]
null
null
null
mix.exs
mquickform/commanded
260b1ec28c2fb3c1fcbb61b8c4abacabd7dc7ed2
[ "MIT" ]
1
2018-12-05T18:17:08.000Z
2018-12-05T18:17:08.000Z
mix.exs
mquickform/commanded
260b1ec28c2fb3c1fcbb61b8c4abacabd7dc7ed2
[ "MIT" ]
1
2018-12-05T18:15:03.000Z
2018-12-05T18:15:03.000Z
defmodule Commanded.Mixfile do use Mix.Project @version "0.17.2" def project do [ app: :commanded, version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), description: description(), docs: docs(), package: package(), b...
23.235294
86
0.541772