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
f70b342f176c766438d8a420c5ec23c77aa9cf16
22,629
ex
Elixir
lib/elixir/lib/kernel/typespec.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/elixir/lib/kernel/typespec.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/typespec.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.Typespec do @moduledoc """ Provides macros and functions for working with typespecs. The attributes `@type`, `@opaque`, `@typep`, `@spec` and `@callback` available in modules are handled by the equivalent macros defined by this module. ## Defining a type @type type_name :: type ...
30.662602
132
0.624464
f70b3a0e957a0820a651bb276c3d46ebd34590b8
29,797
exs
Elixir
test/lib/services/github/comments_test.exs
yknx4/opencov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
8
2021-08-22T10:37:57.000Z
2022-01-10T11:27:06.000Z
test/lib/services/github/comments_test.exs
yknx4/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
109
2021-08-20T04:08:04.000Z
2022-01-03T07:39:18.000Z
test/lib/services/github/comments_test.exs
Librecov/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
null
null
null
defmodule Librecov.Services.Github.CommentsTests do use ExUnit.Case import Tesla.Mock alias Librecov.Services.Github.Comments alias Librecov.Build alias Librecov.Services.Github.AuthData @github_pulls [ %{ url: "https://api.github.com/repos/octocat/Hello-World/pulls/1347", id: 1, nod...
46.485179
112
0.610666
f70b451de2dab4900aad80b0d76a4e83a42529a6
98
exs
Elixir
test/test_helper.exs
blueshift-labs/redis_cluster_multilock
927e48e129b16a8590eb65d70446f159b0804848
[ "MIT" ]
null
null
null
test/test_helper.exs
blueshift-labs/redis_cluster_multilock
927e48e129b16a8590eb65d70446f159b0804848
[ "MIT" ]
null
null
null
test/test_helper.exs
blueshift-labs/redis_cluster_multilock
927e48e129b16a8590eb65d70446f159b0804848
[ "MIT" ]
null
null
null
ExUnit.start() Mox.defmock(RedisClusterMock, for: RedisClusterMultilock.Behaviours.RedisCluster)
24.5
81
0.846939
f70b46aa848ebe2e3bfd5863881251f3301a297d
1,202
exs
Elixir
config/config.exs
marciorasf/next-level-week-5-Elixir
5af63fcf04202111db22209f61928772dbb167ad
[ "MIT" ]
null
null
null
config/config.exs
marciorasf/next-level-week-5-Elixir
5af63fcf04202111db22209f61928772dbb167ad
[ "MIT" ]
null
null
null
config/config.exs
marciorasf/next-level-week-5-Elixir
5af63fcf04202111db22209f61928772dbb167ad
[ "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 :inmana, ecto_repos: [Inmana.Repo] con...
31.631579
86
0.769551
f70b4c30827fd25aa8d011f024382f3eaf0f6ac1
8,972
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/snapshot.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/snapshot.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/snapshot.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
71.206349
490
0.70564
f70b7531cd0ca77b735bedd35a1451586c4731bd
3,878
exs
Elixir
lib/elixir/test/elixir/version_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/version_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/version_test.exs
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule VersionTest do use ExUnit.Case, async: true alias Version.Parser, as: P alias Version, as: V test "lexes specifications properly" do assert P.lexer("== != > >= < <= ~>", []) == [:'==', :'!=', :'>', :'>=', :'<', :'<=', :'~>'] assert P.lexer("2.3"...
29.378788
96
0.486849
f70b79743d13aa3f360c93bf020ba4529c78ac6a
5,494
exs
Elixir
lib/mix/test/mix/tasks/new_test.exs
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/new_test.exs
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/new_test.exs
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.NewTest do use MixTest.Case test "new" do in_tmp "new", fn -> Mix.Tasks.New.run ["hello_world", "--bare"] assert_file "hello_world/mix.exs", fn(file) -> assert file =~ "app: :hello_world" assert file =~ "versio...
32.317647
91
0.619585
f70bc6cca800493cac1a342c50b1749f04b44883
1,115
ex
Elixir
test/support/channel_case.ex
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "MIT" ]
null
null
null
test/support/channel_case.ex
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "MIT" ]
null
null
null
test/support/channel_case.ex
kadmohardy/mbanking
42a45f78956eac95597e72ade10cb0291ed5aa76
[ "MIT" ]
null
null
null
defmodule MbankingWeb.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 interacts ...
26.547619
65
0.727354
f70bd0d9b0718e3cb653929d8e70c32bd920eb6d
317
ex
Elixir
lib/hl7/2.5/segments/css.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/css.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/css.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.CSS do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, study_scheduled_time_point: DataTypes.Ce, study_scheduled_patient_time_point: DataTypes.Ts, study_quality_control_codes: DataTypes.Ce ] end
21.133333
55
0.722397
f70be8d60f2ff86e250040f49459cd12667ee405
7,228
exs
Elixir
test/rolodex/route_test.exs
hauleth/rolodex
405749d2e845a2c4259b12ebc266680039aa1cef
[ "MIT" ]
null
null
null
test/rolodex/route_test.exs
hauleth/rolodex
405749d2e845a2c4259b12ebc266680039aa1cef
[ "MIT" ]
null
null
null
test/rolodex/route_test.exs
hauleth/rolodex
405749d2e845a2c4259b12ebc266680039aa1cef
[ "MIT" ]
null
null
null
defmodule Rolodex.RouteTest do use ExUnit.Case alias Phoenix.Router alias Rolodex.Mocks.{TestController, TestRouter, User} alias Rolodex.{Config, Route} describe "#matches_filter?/2" do setup [:setup_config] test "Always returns false when no filters provided", %{config: config} do routes = ...
28.56917
98
0.425844
f70bf23fbf186e42c770acd3e7b95407d91fa61c
2,321
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_link_signin_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_link_signin_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/email_link_signin_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
35.166667
113
0.706161
f70c27e830ab98f59a54cefd79b7eb7a0df006f3
1,039
ex
Elixir
apps/re/lib/developments/job_queue.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/lib/developments/job_queue.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/lib/developments/job_queue.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Developments.JobQueue do @moduledoc """ Module for processing jobs related with developments domain. """ use EctoJob.JobQueue, table_name: "units_jobs" alias Re.{ Developments.Mirror, Repo } alias Ecto.Multi def perform(%Multi{} = multi, %{"type" => "mirror_new_unit_to_listing", ...
25.341463
96
0.651588
f70c6c967c2e36ac2923f0836106538792f773e7
2,515
ex
Elixir
lib/mint/http2/hpack/huffman.ex
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
null
null
null
lib/mint/http2/hpack/huffman.ex
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
null
null
null
lib/mint/http2/hpack/huffman.ex
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
null
null
null
defmodule Mint.HTTP2.HPACK.Huffman do @moduledoc false use Bitwise # This file is downloaded from the spec directly. # http://httpwg.org/specs/rfc7541.html#huffman.code table_file = Path.absname("huffman_table", __DIR__) @external_resource table_file entries = Enum.map(File.stream!(table_file), fn ...
26.473684
99
0.642942
f70c6fcd248270754b9f0361af71da4d05dd3258
596
exs
Elixir
test/graph_test.exs
Lakret/aoc2018
a09bfe7b9bc5faaada4a411d4d666f0626cd6562
[ "MIT" ]
1
2021-04-21T16:16:59.000Z
2021-04-21T16:16:59.000Z
test/graph_test.exs
Lakret/aoc2018
a09bfe7b9bc5faaada4a411d4d666f0626cd6562
[ "MIT" ]
null
null
null
test/graph_test.exs
Lakret/aoc2018
a09bfe7b9bc5faaada4a411d4d666f0626cd6562
[ "MIT" ]
null
null
null
defmodule GraphTest do use ExUnit.Case test "Graph.topological_sort/2 works" do deps = [ {"C", "A"}, {"C", "F"}, {"A", "B"}, {"A", "D"}, {"B", "E"}, {"D", "E"}, {"F", "E"} ] graph = Enum.reduce(deps, Graph.new(), fn {from, to}, graph -> Graph.add...
21.285714
68
0.501678
f70c80990f0cb6740b5fd9c4d35c999378d3d427
1,137
exs
Elixir
clients/url_shortener/config/config.exs
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/url_shortener/config/config.exs
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/url_shortener/config/config.exs
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.677419
73
0.755497
f70c8801bee6e4d5dd98925a3444bb0e5bff8b85
6,120
ex
Elixir
lib/glimesh_web/live/user_live/components/subscribe_button.ex
Drehd/glimesh.tv
5db047063edb918cd687d4022b87b0958244af40
[ "MIT" ]
null
null
null
lib/glimesh_web/live/user_live/components/subscribe_button.ex
Drehd/glimesh.tv
5db047063edb918cd687d4022b87b0958244af40
[ "MIT" ]
null
null
null
lib/glimesh_web/live/user_live/components/subscribe_button.ex
Drehd/glimesh.tv
5db047063edb918cd687d4022b87b0958244af40
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserLive.Components.SubscribeButton do use GlimeshWeb, :live_view alias Glimesh.Accounts alias Glimesh.Payments @impl true def render(assigns) do ~L""" <div id="subscription-magic"> <%= if @user do %> <%= if @can_subscribe do %> <%= if @subscr...
39.74026
248
0.586928
f70c8f53e2126db1b1f8660f2989896c3e68a351
910
ex
Elixir
elixir_demo/lib/elixir_demo/application.ex
vanvoljg/KafkaDemo
25c735111dd44c5df46bb7f2b7495d330fffc903
[ "MIT" ]
null
null
null
elixir_demo/lib/elixir_demo/application.ex
vanvoljg/KafkaDemo
25c735111dd44c5df46bb7f2b7495d330fffc903
[ "MIT" ]
null
null
null
elixir_demo/lib/elixir_demo/application.ex
vanvoljg/KafkaDemo
25c735111dd44c5df46bb7f2b7495d330fffc903
[ "MIT" ]
null
null
null
defmodule ElixirDemo.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, [:producer]) do children = [ {ElixirDemo.Producer, []} ] opts = [strategy: :one_for_one, name: Eli...
26
69
0.672527
f70cb2474004d0e81c273e45f93b69b373c09a9c
1,200
exs
Elixir
apps/teller/config/config.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
2
2018-06-23T11:43:34.000Z
2019-01-07T10:52:42.000Z
apps/teller/config/config.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
1
2018-06-21T01:20:04.000Z
2018-06-21T01:20:04.000Z
apps/teller/config/config.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
1
2018-06-30T21:40:51.000Z
2018-06-30T21:40:51.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :absinthe, schema: Teller.API.Schema import_config "#{Mix.env}.exs" # This configuration is loaded before any dependency and is restricted # to this project. If another pr...
33.333333
73
0.749167
f70d087be74944f59309e60a2b32f7ff958cc2b1
3,934
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/job_status.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/job_status.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/job_status.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
55.408451
353
0.721657
f70d11444fb1c09f0bf4061bcd410a05c7d77680
628
exs
Elixir
test/models/board_test.exs
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
test/models/board_test.exs
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
test/models/board_test.exs
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
defmodule ExTrello.BoardTest do use ExTrello.ModelCase, async: true import ExTrello.Factory alias ExTrello.Board @valid_attrs %{name: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do user = create(:user) attributes = @valid_attrs |> Map.put(:user_id, user.id) ...
22.428571
58
0.69586
f70d11c3036f4844ef7d785a995217392b28b15b
900
ex
Elixir
clients/network_management/lib/google_api/network_management/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.333333
74
0.763333
f70d24b127850e29048b59dcf58620229e92b2f1
2,491
exs
Elixir
rel/config.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
rel/config.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
rel/config.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # T...
31.935897
81
0.726214
f70d31e56a8f832cf61d006a6ab44e43f5250edc
1,961
ex
Elixir
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_list_firebase_links_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_list_firebase_links_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_list_firebase_links_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.810345
197
0.759306
f70d37088eb24e3f2561cc41cebba5ba569d255e
1,162
ex
Elixir
lib/security.ex
LouisMT/Phoenix-API-Toolkit
fda2be3abe253c95ba30fd4334dda88c705aa4ec
[ "Apache-2.0" ]
5
2020-06-23T18:35:44.000Z
2022-01-13T21:20:41.000Z
lib/security.ex
LouisMT/Phoenix-API-Toolkit
fda2be3abe253c95ba30fd4334dda88c705aa4ec
[ "Apache-2.0" ]
11
2019-12-11T13:15:28.000Z
2021-06-01T07:37:25.000Z
lib/security.ex
LouisMT/Phoenix-API-Toolkit
fda2be3abe253c95ba30fd4334dda88c705aa4ec
[ "Apache-2.0" ]
4
2020-08-05T09:23:22.000Z
2021-01-03T12:16:36.000Z
defmodule PhoenixApiToolkit.Security do @moduledoc false defmodule AjaxCSRFError do @moduledoc """ Error raised when a state-changing request does not have a "x-csrf-token" header. """ defexception message: "missing 'x-csrf-token' header", plug_status: 403 end defmodule MissingContentTypeError...
30.578947
98
0.737522
f70d68cbda8117ff9262d6daa776edb3696a57f5
1,213
ex
Elixir
lib/delivery_web/views/error_helpers.ex
joaoeliandro/delivery
f8f2ea20a0fa595ccd754a725cfadf35a8c89c69
[ "MIT" ]
null
null
null
lib/delivery_web/views/error_helpers.ex
joaoeliandro/delivery
f8f2ea20a0fa595ccd754a725cfadf35a8c89c69
[ "MIT" ]
null
null
null
lib/delivery_web/views/error_helpers.ex
joaoeliandro/delivery
f8f2ea20a0fa595ccd754a725cfadf35a8c89c69
[ "MIT" ]
null
null
null
defmodule DeliveryWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a static arg...
35.676471
77
0.671888
f70d6ccb15ec4ca14b005a0224764f796c4b3026
2,596
ex
Elixir
lib/open_pantry/web/models/user.ex
openpantry/open_pantry
27d898a65dd6f44b325f48d41bc448bb486d9c6f
[ "MIT" ]
41
2017-10-04T00:33:46.000Z
2021-04-09T01:33:34.000Z
lib/open_pantry/web/models/user.ex
openpantry/open_pantry
27d898a65dd6f44b325f48d41bc448bb486d9c6f
[ "MIT" ]
74
2017-09-20T03:36:17.000Z
2018-11-20T20:46:16.000Z
lib/open_pantry/web/models/user.ex
openpantry/open_pantry
27d898a65dd6f44b325f48d41bc448bb486d9c6f
[ "MIT" ]
12
2017-10-04T10:02:49.000Z
2021-12-28T22:57:20.000Z
defmodule OpenPantry.User do use OpenPantry.Web, :model alias OpenPantry.Stock schema "users" do field :email, :string field :name, :string field :phone, :string field :ok_to_text, :boolean, default: false field :family_members, :integer field :role, UserRoleEnum field :hashed_passwo...
32.45
152
0.694915
f70d76f2e286c9e3199da707d9be83ca3441f61c
1,161
ex
Elixir
lib/ex_dadata/httpoison_http_adapter.ex
Elonsoft/ex_dadata
71edca65f9d35fd2c9aa6553e87992b377500a1c
[ "MIT" ]
1
2021-08-23T08:24:50.000Z
2021-08-23T08:24:50.000Z
lib/ex_dadata/httpoison_http_adapter.ex
Elonsoft/ex_dadata
71edca65f9d35fd2c9aa6553e87992b377500a1c
[ "MIT" ]
null
null
null
lib/ex_dadata/httpoison_http_adapter.ex
Elonsoft/ex_dadata
71edca65f9d35fd2c9aa6553e87992b377500a1c
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(HTTPoison) do defmodule ExDadata.HTTPoisonHTTPAdapter do @moduledoc """ Default HTTP Adapter for this library. """ alias ExDadata.Client alias ExDadata.HTTPAdapter alias ExDadata.HTTPAdapter.Response require Logger @behaviour HTTPAdapter @impl HTTPAdapter...
24.702128
75
0.627046
f70d81fd9229c78131311f558d7ad61fd3665cb2
3,131
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/pose.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/pose.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/pose.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
49.698413
439
0.731076
f70d84348b2bb8b4a487a38508f0921d5d8e205f
967
ex
Elixir
kousa/lib/broth/message/user/update.ex
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
1
2021-05-18T15:21:25.000Z
2021-05-18T15:21:25.000Z
kousa/lib/broth/message/user/update.ex
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
null
null
null
kousa/lib/broth/message/user/update.ex
asgarovf/dogehouse
12b81d2008562373591fb55ab8179a3fa8a5db18
[ "MIT" ]
null
null
null
defmodule Broth.Message.User.Update do use Broth.Message.Call, reply: __MODULE__ alias Beef.Repo @derive {Jason.Encoder, only: ~w( username muted deafened )a} @primary_key {:id, :binary_id, []} schema "users" do field(:username, :string) field(:muted, :boolean, virtual: true) ...
24.794872
84
0.658738
f70da49d53036535bffb261b621e8e9e9e0b9e99
1,681
ex
Elixir
lib/postoffice_web/router.ex
lonamiaec/postoffice
3a6f28ea0db94887faf427bf06df2b1504c00d02
[ "Apache-2.0" ]
15
2020-01-24T10:33:57.000Z
2020-10-24T07:57:14.000Z
lib/postoffice_web/router.ex
lonamiaec/postoffice
3a6f28ea0db94887faf427bf06df2b1504c00d02
[ "Apache-2.0" ]
24
2020-01-24T09:52:56.000Z
2021-02-19T09:15:12.000Z
lib/postoffice_web/router.ex
mercadona/postoffice
3a6f28ea0db94887faf427bf06df2b1504c00d02
[ "Apache-2.0" ]
5
2020-01-25T18:03:44.000Z
2021-02-23T10:07:03.000Z
defmodule PostofficeWeb.Router do use PostofficeWeb, :router import Phoenix.LiveDashboard.Router alias Api.MessageController, as: ApiMessageController alias Api.BulkMessageController, as: ApiBulkMessageController alias Api.TopicController, as: ApiTopicController alias Api.PublisherController, as: ApiPubli...
32.960784
104
0.739441
f70da65c545acad4d70a2166243f7faca72d85e6
80
exs
Elixir
apps/artemis_web/test/artemis_web/views/page_view_test.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis_web/test/artemis_web/views/page_view_test.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/test/artemis_web/views/page_view_test.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule ArtemisWeb.PageViewTest do use ArtemisWeb.ConnCase, async: true end
20
38
0.825
f70dd19d415344914eb69a28bc65a4ba09e9d0f7
2,097
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/proxy_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_management/lib/google_api/android_management/v1/model/proxy_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/proxy_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.446429
191
0.703863
f70dee591c3b3ff1cc877f8670e93d44f522ed0d
1,263
exs
Elixir
chapter-23/more-cool-stuff-3/line-sigil.exs
carlos4ndre/elixir-exercises
3673cf69d08a6c7de53224f8956f0db21e7c5dad
[ "MIT" ]
55
2015-12-09T09:23:50.000Z
2022-01-31T21:14:59.000Z
chapter-23/more-cool-stuff-3/line-sigil.exs
carlos4ndre/elixir-exercises
3673cf69d08a6c7de53224f8956f0db21e7c5dad
[ "MIT" ]
3
2016-06-15T12:53:39.000Z
2017-08-21T18:20:42.000Z
chapter-23/more-cool-stuff-3/line-sigil.exs
carlos4ndre/elixir-exercises
3673cf69d08a6c7de53224f8956f0db21e7c5dad
[ "MIT" ]
18
2016-01-01T18:18:23.000Z
2021-05-24T02:22:42.000Z
defmodule LineSigil do def sigil_v(content, _opts) do lines = String.split(content,"\n", trim: true) column_names = get_column_names(lines) remaining_lines = get_remaining_lines(lines) remaining_lines |> Enum.map(&parse_line/1) |> Enum.map(&add_column_names_to_line(&1, column_names)) end ...
20.047619
80
0.631829
f70e09046c528f780d087828663aec5478a35c78
15,261
ex
Elixir
lib/elixir/lib/version.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/version.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/version.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
defmodule Version do @moduledoc %S""" Functions for parsing and matching versions against requirements. A version is a string in a specific format or a `Version.Schema` generated after parsing via `Version.parse/1`. `Version` parsing and requirements follow [SemVer 2.0 schema](http://semver.org/) and you...
28.848771
121
0.523622
f70e14537efe1db525ae33f93d07e023787072f3
430
ex
Elixir
test/support/comment.ex
devonestes/arbor
d8a608f09977ae6904008f01acc1c9971b00c381
[ "MIT" ]
null
null
null
test/support/comment.ex
devonestes/arbor
d8a608f09977ae6904008f01acc1c9971b00c381
[ "MIT" ]
null
null
null
test/support/comment.ex
devonestes/arbor
d8a608f09977ae6904008f01acc1c9971b00c381
[ "MIT" ]
null
null
null
defmodule Arbor.Comment do @moduledoc false use Ecto.Schema use Arbor.Tree, foreign_key: :parent_id, foreign_key_type: :integer, prefixes: ["private"] import Ecto.Query schema "comments" do field(:body, :string) belongs_to(:parent, Arbor.Comment) timestamps() end def by_insert...
16.538462
44
0.653488
f70e2b8b35a2993f8834c7bee5b6ded7773b1ab1
3,400
ex
Elixir
clients/content/lib/google_api/content/v21/model/orders_in_store_refund_line_item_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_in_store_refund_line_item_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_in_store_refund_line_item_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.963855
196
0.683235
f70e59ffa3b720aec3989ba353295d3f76fc3b24
1,729
ex
Elixir
clients/search_console/lib/google_api/search_console/v1/model/sites_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/search_console/lib/google_api/search_console/v1/model/sites_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/search_console/lib/google_api/search_console/v1/model/sites_list_response.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.787234
278
0.754193
f70eb73d02021a217ff23f048d22ac0f32e3bbb1
325
ex
Elixir
lib/messaging_status_service/calls/call_sids/call_sids.ex
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
lib/messaging_status_service/calls/call_sids/call_sids.ex
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
lib/messaging_status_service/calls/call_sids/call_sids.ex
ciroque/messaging_status_service
0d32873ac6e0a78c92a5cf08da373ba4aaf22da4
[ "MIT" ]
null
null
null
defmodule MessagingStatusService.Calls.CallSids do import Ecto.Query, warn: false alias MessagingStatusService.Calls.CallSid alias MessagingStatusService.Repo def create(attrs \\ %{}) do %CallSid{} |> CallSid.changeset(attrs) |> Repo.insert end def get!(id) do Repo.get!(CallSid, id) end...
19.117647
50
0.704615
f70ed2a3bfb89418c0d0f65b89a8d222ec527b6e
922
ex
Elixir
lib/rocketpay/accounts/transaction.ex
luizDorval/Rocketpay
b8cafbbb8b65b53596a350897aeee3dc4dd474ed
[ "MIT" ]
2
2021-04-22T10:54:55.000Z
2021-06-17T03:09:14.000Z
lib/rocketpay/accounts/transaction.ex
luizDorval/Rocketpay
b8cafbbb8b65b53596a350897aeee3dc4dd474ed
[ "MIT" ]
null
null
null
lib/rocketpay/accounts/transaction.ex
luizDorval/Rocketpay
b8cafbbb8b65b53596a350897aeee3dc4dd474ed
[ "MIT" ]
null
null
null
defmodule Rocketpay.Accounts.Transaction do alias Ecto.Multi alias Rocketpay.Accounts.Operation alias Rocketpay.Accounts.Transactions.Response, as: TransactionResponse alias Rocketpay.Repo def call(%{"from" => from_id, "to" => to_id, "value" => value}) do withdraw_params = build_params(from_id, value)...
32.928571
121
0.700651
f70eed110557fc53e4ee4b234e38030782895703
26,104
exs
Elixir
test/floki/html/generated/tokenizer/unicodeChars_part1_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
1,778
2015-01-07T14:12:31.000Z
2022-03-29T22:42:48.000Z
test/floki/html/generated/tokenizer/unicodeChars_part1_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
279
2015-01-01T15:54:50.000Z
2022-03-28T18:06:03.000Z
test/floki/html/generated/tokenizer/unicodeChars_part1_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
166
2015-04-24T20:48:02.000Z
2022-03-28T17:29:05.000Z
defmodule Floki.HTML.Generated.Tokenizer.UnicodecharsPart1Test do use ExUnit.Case, async: true # NOTE: This file was generated by "mix generate_tokenizer_tests unicodeChars.test". # html5lib-tests rev: e52ff68cc7113a6ef3687747fa82691079bf9cc5 alias Floki.HTML.Tokenizer test "tokenize/1 Invalid Unicode char...
21.591398
86
0.61232
f70f523cf13505ed1d8c9cfaacf5d89217f0208d
4,173
exs
Elixir
test/gcloud_speech_to_text/integration_test.exs
membraneframework/membrane-element-gcloud-speech-to-text
18483aae342af59f0dbbec1cf26cfbc9ccb9fd3b
[ "Apache-2.0" ]
null
null
null
test/gcloud_speech_to_text/integration_test.exs
membraneframework/membrane-element-gcloud-speech-to-text
18483aae342af59f0dbbec1cf26cfbc9ccb9fd3b
[ "Apache-2.0" ]
null
null
null
test/gcloud_speech_to_text/integration_test.exs
membraneframework/membrane-element-gcloud-speech-to-text
18483aae342af59f0dbbec1cf26cfbc9ccb9fd3b
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.GCloud.SpeechToText.IntegrationTest do use ExUnit.Case import Membrane.Testing.Assertions alias Google.Cloud.Speech.V1.{ SpeechRecognitionAlternative, StreamingRecognitionResult, StreamingRecognizeResponse, WordInfo } alias Membrane.{FLACParser, GCloud} alias Me...
32.858268
112
0.669782
f70f535e1f486132e5507df768000bd31666bf2a
754
ex
Elixir
lib/model/statement.ex
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
8
2015-05-17T20:19:30.000Z
2021-04-07T09:48:10.000Z
lib/model/statement.ex
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
3
2015-05-04T07:44:42.000Z
2016-10-14T22:59:42.000Z
lib/model/statement.ex
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
6
2015-05-04T01:35:24.000Z
2020-08-29T06:28:32.000Z
defmodule MT940.Statement do @moduledoc ~S""" ## Statement Number / Sequence Number Sequential number of the statement, optionally followed by the sequence number of the message within that statement when more than one message is sent for one statement. """ defstruct [ :modifier, :content, :...
23.5625
75
0.647215
f70f868f2bce102a17c059d954b681dd63a4ab82
4,492
exs
Elixir
test/temple/link_test.exs
exit9/temple
eab538c1ca584f8d4b0ebe97111251bba28979e1
[ "MIT" ]
null
null
null
test/temple/link_test.exs
exit9/temple
eab538c1ca584f8d4b0ebe97111251bba28979e1
[ "MIT" ]
null
null
null
test/temple/link_test.exs
exit9/temple
eab538c1ca584f8d4b0ebe97111251bba28979e1
[ "MIT" ]
null
null
null
defmodule Temple.LinkTest do use ExUnit.Case, async: true use Temple describe "phx_link" do test "emits a link" do {:safe, actual} = temple do phx_link("hi", to: "/hello") end assert actual =~ ~s{<a} assert actual =~ ~s{href="/hello"} assert actual =~ ~s{hi}...
26.269006
67
0.51447
f70f9d55cd58d05c2472b6c970df4fbfd8f5a6b5
922
ex
Elixir
lib/model/refund_payment_request.ex
Chatatata/iyzico
99f195e51b732e124bba82ad78c12d8f5ecbdf08
[ "MIT" ]
6
2017-08-22T15:27:33.000Z
2019-01-25T10:31:10.000Z
lib/model/refund_payment_request.ex
i386-64/iyzico
99f195e51b732e124bba82ad78c12d8f5ecbdf08
[ "MIT" ]
12
2017-08-23T13:21:26.000Z
2020-03-31T21:07:23.000Z
lib/model/refund_payment_request.ex
i386-64/iyzico
99f195e51b732e124bba82ad78c12d8f5ecbdf08
[ "MIT" ]
4
2017-09-24T15:40:08.000Z
2020-01-31T10:21:32.000Z
defmodule Iyzico.RefundPaymentRequest do @moduledoc false @doc false @enforce_keys ~w(conversation_id transaction_id price ip currency)a defstruct [ :conversation_id, :transaction_id, :price, :ip, :currency ] @typedoc false @type currency :: :try @typedoc false @type t :: %__MOD...
23.641026
82
0.680043
f70fb5b5fc6afd047944754d371df00ce95ea8fe
1,135
ex
Elixir
test/support/channel_case.ex
Dhall777/signinsheet
703f6f2b0bc4e31888bf7e81939cfd4b05d99cfb
[ "BSD-3-Clause" ]
null
null
null
test/support/channel_case.ex
Dhall777/signinsheet
703f6f2b0bc4e31888bf7e81939cfd4b05d99cfb
[ "BSD-3-Clause" ]
null
null
null
test/support/channel_case.ex
Dhall777/signinsheet
703f6f2b0bc4e31888bf7e81939cfd4b05d99cfb
[ "BSD-3-Clause" ]
null
null
null
defmodule SigninsheetWeb.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 interac...
27.682927
73
0.73304
f70fb88eced914c71b5bc67ff42a60066e331899
2,849
ex
Elixir
architect/lib/git/commit.ex
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
3
2017-12-09T21:05:54.000Z
2019-08-06T08:13:34.000Z
architect/lib/git/commit.ex
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
63
2017-09-09T15:44:24.000Z
2022-03-03T22:16:24.000Z
architect/lib/git/commit.ex
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
5
2017-09-14T00:17:22.000Z
2019-11-27T14:43:45.000Z
defmodule Git.Commit do @keys [:sha, :author, :gpg_fingerprint, :message] @enforce_keys @keys defstruct @keys defmodule(Author, do: defstruct([:email, :name, :date])) @doc ~S""" The format passed to the Git CLI for a commit see: https://git-scm.com/docs/pretty-formats %H: commit hash %aI: ...
23.545455
86
0.591436
f70fbc08c485403fc35f7522b84cb85285531413
128
ex
Elixir
testData/org/elixir_lang/reference/module/multiple_alias/nested/reference.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/reference/module/multiple_alias/nested/reference.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/reference/module/multiple_alias/nested/reference.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
defmodule Prefix.Reference do alias Prefix.{MultipleAliasAye, MultipleAliasBee} MultipleAliasAye.Nested<caret> @a 1 end
16
51
0.789063
f70fbf156dddf597a5532f74f45e9b65b562a0d5
188
ex
Elixir
lab1/lib/lab1.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
lab1/lib/lab1.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
lab1/lib/lab1.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
defmodule Lab1 do @moduledoc """ Documentation for Lab1. """ @doc """ Hello world. ## Examples iex> Lab1.hello :world """ def hello do :world end end
9.894737
25
0.547872
f710254280d791c4d2c76a109b6e5e28479e892a
1,850
ex
Elixir
lib/twirp/protoc/generator.ex
shanna/twirp-elixir
7f94f829229db47f632acab109455d2c59ade8f0
[ "Apache-2.0" ]
null
null
null
lib/twirp/protoc/generator.ex
shanna/twirp-elixir
7f94f829229db47f632acab109455d2c59ade8f0
[ "Apache-2.0" ]
null
null
null
lib/twirp/protoc/generator.ex
shanna/twirp-elixir
7f94f829229db47f632acab109455d2c59ade8f0
[ "Apache-2.0" ]
null
null
null
defmodule Twirp.Protoc.Generator do @moduledoc false # What even does this code do? alias Twirp.Protoc.Generator.Service, as: ServiceGenerator def generate(ctx, desc) do name = new_file_name(desc.name) Google.Protobuf.Compiler.CodeGeneratorResponse.File.new( name: name, content: generate_...
25
90
0.631892
f710270f90c98855276704b0fd522c7549b0218e
8,064
exs
Elixir
test/skout/yaml/encoder_test.exs
marcelotto/skout
89463103ae31d52aee47a513ad83b3ace7cb6afb
[ "MIT" ]
15
2019-09-08T22:35:56.000Z
2021-07-31T16:14:20.000Z
test/skout/yaml/encoder_test.exs
marcelotto/skout
89463103ae31d52aee47a513ad83b3ace7cb6afb
[ "MIT" ]
3
2019-09-09T10:12:30.000Z
2020-07-30T10:06:33.000Z
test/skout/yaml/encoder_test.exs
marcelotto/skout
89463103ae31d52aee47a513ad83b3ace7cb6afb
[ "MIT" ]
3
2020-07-21T07:43:21.000Z
2021-12-26T19:32:28.000Z
defmodule Skout.YAML.EncoderTest do use Skout.Test.Case doctest Skout.YAML.Encoder import Skout.YAML.Encoder, only: [encode: 1] @example_document %Skout.Document{ manifest: ex_manifest(), skos: ex_skos() } test "empty Skout document" do document = %Skout.Document{ manifest: ex_manifest(...
29.977695
84
0.474578
f71058e21d777629bab767994aaf8713de2977c6
1,637
ex
Elixir
apps/neoscan_web/lib/neoscan_web/endpoint.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_web/lib/neoscan_web/endpoint.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_web/lib/neoscan_web/endpoint.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanWeb.Endpoint do use Phoenix.Endpoint, otp_app: :neoscan_web plug(Plug.UrlRewrite) socket("/socket", NeoscanWeb.UserSocket) socket("/wobserver", Wobserver.Web.PhoenixSocket) # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running ...
25.578125
95
0.6854
f7107e75599b11e33a766e32f08db2842588ce6b
706
ex
Elixir
lib/kdf/pbkdf2/result.ex
impl/ex_crypto
587aa8a63bd1768a361da207339b4a8d68560c22
[ "Apache-2.0" ]
2
2016-05-02T18:19:13.000Z
2016-05-03T16:11:58.000Z
lib/kdf/pbkdf2/result.ex
impl/ex_crypto
587aa8a63bd1768a361da207339b4a8d68560c22
[ "Apache-2.0" ]
null
null
null
lib/kdf/pbkdf2/result.ex
impl/ex_crypto
587aa8a63bd1768a361da207339b4a8d68560c22
[ "Apache-2.0" ]
null
null
null
defmodule Cryptex.Kdf.Pbkdf2.Result do alias Cryptex.Kdf.Pbkdf2.Prf alias Cryptex.Kdf.Pbkdf2.Result defstruct prf: nil, rounds: nil, salt: nil, digest: nil @type t :: %__MODULE__{prf: Prf.t, rounds: integer, salt: binary, digest: binary} @spec new(Prf.t, integer, binary, binary) :: t def new(prf, rounds,...
26.148148
83
0.667139
f710d280771a15b3319429037adf6dd1dcece725
959
ex
Elixir
lib/game/room/supervisor.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/game/room/supervisor.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/game/room/supervisor.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Game.Room.Supervisor do @moduledoc """ Supervisor for Rooms """ use Supervisor alias Game.Room alias Game.Zone def start_link(zone) do Supervisor.start_link(__MODULE__, zone, id: zone.id) end @doc """ Return all rooms that are currently online """ @spec rooms(pid) :: [pid] de...
20.404255
74
0.635036
f710d5ceab528431b4658822521d89fcad84fa25
542
exs
Elixir
lib/ex_unit/mix.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/mix.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/mix.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.Mixfile do use Mix.Project def project do [app: :ex_unit, version: System.version, build_per_environment: false] end def application do [registered: [ExUnit.Server], mod: {ExUnit, []}, env: [ # Calculated on demand # max_cases: :erlang.system_info(:sc...
20.074074
60
0.581181
f710d8a39caf7267251ae4ccd4b17ffa5c76604f
185
ex
Elixir
lib/todo_app/models/base.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
134
2017-03-28T14:47:37.000Z
2021-11-25T10:40:15.000Z
lib/todo_app/models/base.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
5
2017-03-30T05:56:55.000Z
2018-01-17T09:22:51.000Z
lib/todo_app/models/base.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
14
2017-03-28T17:04:31.000Z
2021-08-07T07:09:21.000Z
defmodule TodoApp.BaseModel do defmacro __using__(_opts) do quote do use Ecto.Schema import Ecto import Ecto.Changeset import Ecto.Query end end end
16.818182
30
0.67027
f71104e054852f9969a9e869262d6a5f55fb4812
1,815
ex
Elixir
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/civic_info/lib/google_api/civic_info/v2/model/division_search_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 ...
36.3
184
0.741598
f71109004649596d2cd31d67ab54fdfb6f9d58c9
782
ex
Elixir
lib/group_manager/supervisor.ex
dbeck/groupman_ex
69231eba468f9e45a7e13b62e717b5fc18f4ff74
[ "MIT" ]
1
2016-04-12T02:05:30.000Z
2016-04-12T02:05:30.000Z
lib/group_manager/supervisor.ex
dbeck/groupman_ex
69231eba468f9e45a7e13b62e717b5fc18f4ff74
[ "MIT" ]
null
null
null
lib/group_manager/supervisor.ex
dbeck/groupman_ex
69231eba468f9e45a7e13b62e717b5fc18f4ff74
[ "MIT" ]
null
null
null
defmodule GroupManager.Supervisor do use Supervisor alias GroupManager.TopologyDB alias GroupManager.Receiver def start_link(opts \\ []) do case opts do [name: name] -> Supervisor.start_link(__MODULE__, :no_args, opts) _ -> Supervisor.start_link(__MODULE__, :no_args, [name: id...
21.722222
78
0.640665
f7112ecde86593e578d4664a57902fba1aa52e9b
1,632
exs
Elixir
implementations/elixir/test/ockam/channel_test.exs
hollyfeld/ockam
10a618b60b5b913821bfa8df3ad9693a70913ace
[ "Apache-2.0" ]
1
2021-01-02T11:42:16.000Z
2021-01-02T11:42:16.000Z
implementations/elixir/test/ockam/channel_test.exs
ercanersoy/ockam
b537a4951770d223f5493bcff5358d0677865a0f
[ "Apache-2.0" ]
null
null
null
implementations/elixir/test/ockam/channel_test.exs
ercanersoy/ockam
b537a4951770d223f5493bcff5358d0677865a0f
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Channel.Tests do use ExUnit.Case, async: true doctest Ockam.Channel alias Ockam.Channel alias Ockam.Vault describe "Ockam.Channel" do test "well known" do {:ok, responder_vault} = Vault.create() responder_s = to_keypair( responder_vault, "01020304...
25.5
89
0.630515
f7114d8ef6cd479670b13c454333675a78898598
1,994
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/power_management_event.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/power_management_event.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/power_management_event.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.254545
176
0.74674
f7115904ad695eff1a432cf204d297ada6364750
275
ex
Elixir
lib/ex_platform_web/live/page_live.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
null
null
null
lib/ex_platform_web/live/page_live.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
null
null
null
lib/ex_platform_web/live/page_live.ex
joseph-lozano/ex_platform
55208dfc50e1bd1ed232141798579fdcb6fc54af
[ "MIT" ]
null
null
null
defmodule ExPlatformWeb.PageLive do @moduledoc """ homepage """ use ExPlatformWeb, :live_view @impl true def mount(_params, _session, socket) do {:ok, socket} end @impl true def handle_params(_param, _url, socket) do {:noreply, socket} end end
16.176471
44
0.672727
f711b2ab987843b164fe6ddcfe0fdf727622af3c
3,995
ex
Elixir
lib/tint.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
14
2019-10-09T19:36:04.000Z
2022-01-28T12:00:56.000Z
lib/tint.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
null
null
null
lib/tint.ex
tlux/tint
742b3cc8ffd5e90bc78fe0413286af8ec593298c
[ "MIT" ]
null
null
null
defmodule Tint do @moduledoc """ A library allowing calculations with colors and conversions between different colorspaces. """ alias Tint.{CMYK, DIN99, HSV, Lab, RGB, XYZ} @typedoc """ A type representing a color. """ @type color :: CMYK.t() | DIN99.t() | HSV.t() ...
25.774194
79
0.618773
f711bb4d0874d8e526a3a11d65b0399949eb2685
2,309
ex
Elixir
lib/logger_sentry/sentry.ex
RiverFinancial/logger_sentry
e31a50c990aa0640e0ea36c2cb40daf91bd69ad8
[ "Apache-2.0" ]
null
null
null
lib/logger_sentry/sentry.ex
RiverFinancial/logger_sentry
e31a50c990aa0640e0ea36c2cb40daf91bd69ad8
[ "Apache-2.0" ]
null
null
null
lib/logger_sentry/sentry.ex
RiverFinancial/logger_sentry
e31a50c990aa0640e0ea36c2cb40daf91bd69ad8
[ "Apache-2.0" ]
null
null
null
defmodule LoggerSentry.Sentry do @moduledoc """ Generate output and options for sentry. """ @doc """ Generate output. """ @spec generate_output(atom, Keyword.t(), list()) :: {Exception.t(), Keyword.t()} def generate_output(level, metadata, message) do case Keyword.get(metadata, :crash_reason) do ...
26.848837
86
0.636206
f711c9006983256d06f6c5e60fc6169a559c7e71
78
exs
Elixir
api_sample/test/views/page_view_test.exs
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
api_sample/test/views/page_view_test.exs
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
api_sample/test/views/page_view_test.exs
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
defmodule ApiSample.PageViewTest do use ApiSample.ConnCase, async: true end
19.5
37
0.820513
f711ef3e6b4dfd1c741147f1ac0c1ae9b443cd2a
1,500
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/read_instruction.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/read_instruction.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/read_instruction.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...
31.25
85
0.754
f71222e00cdcb2784182061efb2aa741d56c7b1c
2,052
ex
Elixir
lib/penelope/nlp/pos_tagger.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
53
2017-10-13T06:39:49.000Z
2022-03-28T19:43:42.000Z
lib/penelope/nlp/pos_tagger.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
12
2018-01-08T23:05:37.000Z
2019-08-02T12:59:27.000Z
lib/penelope/nlp/pos_tagger.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
4
2018-06-13T19:45:57.000Z
2019-10-17T13:37:06.000Z
defmodule Penelope.NLP.POSTagger do @moduledoc """ The part-of-speech tagger transforms a tokenized sentence into a list of `{token, pos_tag}` tuples. The tagger takes no responsibility for tokenization; this means that callers must be careful to maintain the same tokenization scheme between training and eval...
30.176471
76
0.632554
f7124759c42a51d1c0a07522e31ff4a4c0120429
510
ex
Elixir
lib/mapa_celulas_web/router.ex
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
lib/mapa_celulas_web/router.ex
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
lib/mapa_celulas_web/router.ex
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
defmodule MapaCelulasWeb.Router do use MapaCelulasWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/api", MapaCelulasW...
18.214286
44
0.688235
f712571d20e81d85c3d88b8f47151b7c16c40827
415
exs
Elixir
.credo.exs
mkarbowiak/sitemap
9bfbc1d401da0ab486445c59c632d1227a6eb0c3
[ "MIT" ]
103
2016-04-26T17:31:58.000Z
2022-02-15T12:26:06.000Z
.credo.exs
mkarbowiak/sitemap
9bfbc1d401da0ab486445c59c632d1227a6eb0c3
[ "MIT" ]
31
2016-06-02T17:26:56.000Z
2021-11-17T13:19:26.000Z
.credo.exs
mkarbowiak/sitemap
9bfbc1d401da0ab486445c59c632d1227a6eb0c3
[ "MIT" ]
24
2016-09-09T23:45:25.000Z
2021-02-15T16:36:43.000Z
%{ configs: [ %{ name: "default", files: %{ included: ["lib/", "src/", "web/", "apps/"], excluded: [] }, checks: [ {Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 120}, {Credo.Check.Readability.ModuleDoc, false}, {Credo.Check.Refa...
23.055556
81
0.525301
f712831b26aa03202c63cf3c6904ba8c2e889366
1,906
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_find_missing_blobs_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_find_missing_blobs_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_find_missing_blobs_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.438596
163
0.767051
f712b0961b59b61beb29173fc4813ac019b6d709
1,724
ex
Elixir
lib/nerves/artifact/providers/docker/volume.ex
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
lib/nerves/artifact/providers/docker/volume.ex
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
lib/nerves/artifact/providers/docker/volume.ex
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.Artifact.Providers.Docker.Volume do alias Nerves.Artifact alias Nerves.Artifact.Providers.Docker import Docker.Utils def name(pkg) do if id = id(pkg) do "#{pkg.app}-#{id}" end end def id(pkg) do id_file = id_file(pkg) if File.exists?(id_file) do File.read!(id_...
21.822785
92
0.603828
f712e0a57237c4729f0951f31dbdbe6d3bd0b321
9,882
ex
Elixir
lib/elixir/lib/module/locals_tracker.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/elixir/lib/module/locals_tracker.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/locals_tracker.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
# This is an Elixir module responsible for tracking # calls in order to extract Elixir modules' behaviour # during compilation time. # # ## Implementation # # The implementation uses the digraph module to track # all dependencies. The graph starts with one main vertex: # # * `:local` - points to local functions # # We ...
27.758427
99
0.663428
f712ef6fde894564aaff88e0eb791f5a442d3bca
41,774
ex
Elixir
lib/ash/actions/managed_relationships.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
lib/ash/actions/managed_relationships.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
lib/ash/actions/managed_relationships.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
defmodule Ash.Actions.ManagedRelationships do @moduledoc false alias Ash.Error.Changes.InvalidRelationship alias Ash.Error.Query.NotFound require Ash.Query def load(_api, created, %{relationships: rels}, _) when rels == %{}, do: {:ok, created} def load(_api, created, %{relationships: nil}, _), do: {...
30.784083
101
0.505817
f71303551314b0717a9d23de94474dd81550fd54
320
ex
Elixir
lib/team_budget/members/core/members_repo.ex
AkioCode/elxpro4-teambudget
a7e67d5e1ec538df6cc369cc4f385d005bf60eda
[ "MIT" ]
null
null
null
lib/team_budget/members/core/members_repo.ex
AkioCode/elxpro4-teambudget
a7e67d5e1ec538df6cc369cc4f385d005bf60eda
[ "MIT" ]
null
null
null
lib/team_budget/members/core/members_repo.ex
AkioCode/elxpro4-teambudget
a7e67d5e1ec538df6cc369cc4f385d005bf60eda
[ "MIT" ]
null
null
null
defmodule TeamBudget.Members.Core.MembersRepo do import Ecto.Query alias TeamBudget.Repo alias TeamBudget.Members.Data.Member def is_member_of?(user_id, team_id) do from( m in Member, where: m.user_id == ^user_id and m.team_id == ^team_id ) |> Repo.exists?() end end
20
48
0.646875
f713236083734592906a67c38e5565104bb1bcbc
754
ex
Elixir
lib/ex_payrexx/auth_middleware.ex
falti/ex_payrexx
6775c782f4612456f9edbad1ef4f59c9be7f424e
[ "MIT" ]
null
null
null
lib/ex_payrexx/auth_middleware.ex
falti/ex_payrexx
6775c782f4612456f9edbad1ef4f59c9be7f424e
[ "MIT" ]
null
null
null
lib/ex_payrexx/auth_middleware.ex
falti/ex_payrexx
6775c782f4612456f9edbad1ef4f59c9be7f424e
[ "MIT" ]
null
null
null
defmodule ExPayrexx.AuthMiddleware do @behaviour Tesla.Middleware @impl Tesla.Middleware def call(env, next, options) do env |> authorize(options) |> Tesla.run(next) end defp authorize(env, _opts) do body = case env.body do nil -> %{} _ -> Map.from_struct(env.body) ...
23.5625
92
0.67374
f713355c6034fb9255a251f5557f349643d0a0dc
6,029
ex
Elixir
lib/yml_reader/gitlab_ci.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
2
2019-03-05T16:29:10.000Z
2020-01-17T14:11:48.000Z
lib/yml_reader/gitlab_ci.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
3
2019-03-18T20:26:48.000Z
2020-06-25T14:31:13.000Z
lib/yml_reader/gitlab_ci.ex
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
1
2018-06-16T15:32:25.000Z
2018-06-16T15:32:25.000Z
require IEx; require Logger; defmodule CncfDashboardApi.YmlReader.GitlabCi do use Retry def get do Application.ensure_all_started :inets retry with: exp_backoff |> randomize |> cap(1_000) |> expiry(8_000), rescue_only: [MatchError] do {:ok, resp} = :httpc.request(:get, {System.get_env("GITLAB_CI_YML") |...
36.319277
141
0.590148
f713372154d97768d524dadaceec4b204cc06b30
7,309
ex
Elixir
lib/ueberauth/strategy/facebook.ex
ChannexIO/ueberauth_facebook
8c9e30dedb17318932d8811bac6ac4dc04d9ffb0
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/facebook.ex
ChannexIO/ueberauth_facebook
8c9e30dedb17318932d8811bac6ac4dc04d9ffb0
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/facebook.ex
ChannexIO/ueberauth_facebook
8c9e30dedb17318932d8811bac6ac4dc04d9ffb0
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Facebook do @moduledoc """ Facebook Strategy for Überauth. """ use Ueberauth.Strategy, default_scope: "email,public_profile", profile_fields: "id,email,gender,link,locale,name,timezone,updated_time,verified", uid_field: :id, allowed_request_params: [ :auth_typ...
25.826855
91
0.630182
f7138104f7c3770823066bf21c9ab05686bc9cd2
1,726
exs
Elixir
apps/nerves_hub_device/config/release.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_device/config/release.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_device/config/release.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
import Config logger_level = System.get_env("LOG_LEVEL", "warn") |> String.to_atom() config :logger, level: logger_level sync_nodes_optional = case System.fetch_env("SYNC_NODES_OPTIONAL") do {:ok, sync_nodes_optional} -> sync_nodes_optional |> String.split(" ", trim: true) |> Enum.map(&String...
27.83871
81
0.739282
f71395980dcf27e71cf0e8da965041c1e6a649af
2,991
exs
Elixir
apps/tai/test/tai/iex/commands/advisors_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/test/tai/iex/commands/advisors_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/test/tai/iex/commands/advisors_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.IEx.Commands.AdvisorsTest do use Tai.TestSupport.DataCase, async: false import ExUnit.CaptureIO test "shows all advisors in all fleets ordered fleet id, advisor id by default" do mock_advisor_config(%{fleet_id: :log_spread, advisor_id: :a}) mock_advisor_config(%{fleet_id: :log_spread, advis...
48.241935
89
0.401204
f71432edfdb3b5107268646fef304aa982f09fda
2,626
exs
Elixir
test/controllers/teacher_controller_test.exs
deerob4/salop-teaching-school
5c4c4a15232859b5b3bdc84ec9874689891ca9d8
[ "MIT" ]
null
null
null
test/controllers/teacher_controller_test.exs
deerob4/salop-teaching-school
5c4c4a15232859b5b3bdc84ec9874689891ca9d8
[ "MIT" ]
null
null
null
test/controllers/teacher_controller_test.exs
deerob4/salop-teaching-school
5c4c4a15232859b5b3bdc84ec9874689891ca9d8
[ "MIT" ]
null
null
null
defmodule TeachingSchool.TeacherControllerTest do use TeachingSchool.ConnCase alias TeachingSchool.Teacher @valid_attrs %{additional_contact: "some content", email: "some content", family_name: "some content", forename: "some content", school_type: "some content", subject: "some content", title: "some content"} ...
39.19403
207
0.699924
f7144dec8edccef57e02239d5930f6d42fd3e9cc
4,333
ex
Elixir
kousa/lib/routes/Auth.ex
maskeynihal/dogehouse
915a9648bfb7a368caea5d10551385ec5ab6b04e
[ "MIT" ]
1
2021-05-15T07:05:44.000Z
2021-05-15T07:05:44.000Z
kousa/lib/routes/Auth.ex
maskeynihal/dogehouse
915a9648bfb7a368caea5d10551385ec5ab6b04e
[ "MIT" ]
null
null
null
kousa/lib/routes/Auth.ex
maskeynihal/dogehouse
915a9648bfb7a368caea5d10551385ec5ab6b04e
[ "MIT" ]
null
null
null
defmodule Kousa.Auth do import Plug.Conn use Plug.Router plug(:match) plug(:dispatch) get "/web" do url = "https://github.com/login/oauth/authorize?client_id=" <> Application.get_env(:kousa, :client_id) <> "&state=web" <> "&redirect_uri=" <> Application.get_env(:kou...
30.090278
132
0.452342
f71494a74ef24e550cd02a8de8c5e441ac102147
393
ex
Elixir
lib/oli/delivery/activity_provider.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/delivery/activity_provider.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/delivery/activity_provider.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.ActivityProvider do alias Oli.Activities.Realizer alias Oli.Publishing.DeliveryResolver alias Oli.Resources.Revision @doc """ Realizes and resolves activities. """ def provide(section_slug, %Revision{} = revision) do case Realizer.realize(revision) do [] -> [] ids -...
24.5625
65
0.720102
f714b6cbdc3a34d8370973aa77144b62ea1c2500
46,353
ex
Elixir
lib/enum.ex
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
95
2020-10-18T09:27:46.000Z
2022-03-29T20:03:16.000Z
lib/enum.ex
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
1
2021-09-22T20:30:08.000Z
2021-10-13T23:55:34.000Z
lib/enum.ex
sabiwara/aja
cde91e4263e54a11a1685a777dbffd4912fe3864
[ "MIT" ]
1
2020-12-15T12:36:16.000Z
2020-12-15T12:36:16.000Z
defmodule Aja.Enum do @moduledoc """ Drop-in replacement for the `Enum` module, optimized to work with Aja's data structures such as `Aja.Vector`. It currently only covers a subset of `Enum`, but `Aja.Enum` aims to completely mirror the API of `Enum`, and should behave exactly the same for any type of `Enumera...
31.74863
117
0.662999
f714c0bab323e652b7f9375314d74dec88f7a81a
3,519
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_synthesize_speech_config.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_synthesize_speech_config.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_synthesize_speech_config.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...
54.138462
609
0.730605
f714d4414a63bb099152baaa2865acf485405f31
935
exs
Elixir
test/api/kommander_api_test.exs
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
10
2021-03-02T20:05:13.000Z
2022-03-14T21:10:39.000Z
test/api/kommander_api_test.exs
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-14T18:29:44.000Z
2021-12-23T20:38:27.000Z
test/api/kommander_api_test.exs
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-05T20:41:26.000Z
2021-12-26T01:46:42.000Z
defmodule Test.Flamelex.API.Kommander do use ExUnit.Case # here's my rough script # - show the command buffer # - enter some text # - assert that the contents is equal to what we would expect # - execute that text, and asswert correct side effects happened # - assert that after execute, we have changed...
29.21875
119
0.724064
f715200af20de872a9f3a402246ed0b5d65a1ca0
2,823
ex
Elixir
lib/magritte.ex
hauleth/magritte
95fbcd02bd61255a54085e371735ce6a1377c46e
[ "MIT" ]
18
2020-08-10T20:28:08.000Z
2021-11-04T21:55:00.000Z
lib/magritte.ex
hauleth/magritte
95fbcd02bd61255a54085e371735ce6a1377c46e
[ "MIT" ]
1
2020-08-11T14:39:06.000Z
2021-05-07T08:01:45.000Z
lib/magritte.ex
hauleth/magritte
95fbcd02bd61255a54085e371735ce6a1377c46e
[ "MIT" ]
1
2021-01-13T23:25:42.000Z
2021-01-13T23:25:42.000Z
defmodule Magritte do @moduledoc """ Alternative pipe operator definition. ## Usage Just add `use Magritte` to the top of your module and then follow the documentation for `Margitte.|>/2` below. """ defmacro __using__(_) do quote do import Kernel, except: [|>: 2] import unquote(__MODUL...
25.432432
79
0.608218
f715c45e3394bfeda0630468b81276b3d0dd6f58
1,580
exs
Elixir
mix.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
mix.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
mix.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
defmodule Witchcraft.Mixfile do use Mix.Project def project do [ app: :witchcraft, aliases: aliases(), deps: deps(), preferred_cli_env: [quality: :test], # Versions version: "1.0.4", elixir: "~> 1.9", # Docs name: "Witchcraft", docs: docs(), ...
22.571429
87
0.482278
f715ee6f42ccc5df80166ff4db2e05731378ff33
1,485
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/comment_in_reply_to.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_in_reply_to.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_in_reply_to.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
29.117647
77
0.721212
f715f55c4f00fcb660899f1a9b69983e5e6038aa
1,815
ex
Elixir
lib/exenv/encryption/secrets.ex
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
35
2019-03-10T05:16:16.000Z
2021-12-05T00:12:55.000Z
lib/exenv/encryption/secrets.ex
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
2
2019-03-08T17:01:50.000Z
2019-03-14T09:20:22.000Z
lib/exenv/encryption/secrets.ex
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
null
null
null
defmodule Exenv.Encryption.Secrets do @moduledoc false alias Exenv.Utils @aes_block_size 16 @secrets_file_type ".enc" @spec encrypted_path(binary()) :: binary() def encrypted_path(path) do path <> @secrets_file_type end @spec encrypt!(binary(), binary() | mfa()) :: binary() | no_return() def e...
26.691176
86
0.649036
f715f64c1457d170ce783100ac54722ce69d66bb
192
ex
Elixir
merkle-tree/elixir/lib/app/application.ex
zemuldo/data_structures
414400d64679bffd719968b43e7ee8d69aca275f
[ "MIT" ]
null
null
null
merkle-tree/elixir/lib/app/application.ex
zemuldo/data_structures
414400d64679bffd719968b43e7ee8d69aca275f
[ "MIT" ]
null
null
null
merkle-tree/elixir/lib/app/application.ex
zemuldo/data_structures
414400d64679bffd719968b43e7ee8d69aca275f
[ "MIT" ]
null
null
null
defmodule App.Application do use Application def start(_type, _args) do children = [{App.TransactionsStore, []}] Supervisor.start_link(children, strategy: :one_for_one) end end
21.333333
59
0.729167
f71604103477825a1e2db9fd47958a298e5afce9
1,156
exs
Elixir
mix.exs
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
mix.exs
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
mix.exs
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
defmodule PhoenixDSK3LO.Mixfile do use Mix.Project def project do [app: :phoenixDSK3LO, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod,...
27.52381
102
0.601211
f716158875162ff97924791cdb4bcc52eb983578
3,864
exs
Elixir
test/exop_data/generators/float_test.exs
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
9
2019-01-30T17:48:54.000Z
2021-01-25T14:48:21.000Z
test/exop_data/generators/float_test.exs
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
4
2018-11-07T09:15:29.000Z
2018-11-14T14:58:36.000Z
test/exop_data/generators/float_test.exs
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
1
2021-01-11T13:19:57.000Z
2021-01-11T13:19:57.000Z
defmodule ExopData.Generators.FloatTest do use ExUnit.Case, async: true use ExUnitProperties import ExopData.Generators.Float, only: [generate: 1] property "generates float generator" do check all value <- generate(%{}) do assert is_float(value) end end describe "with :numericality option" ...
23.560976
95
0.600932
f71625c40993b2705a569848c1bd925fd7bc25cc
884
ex
Elixir
lib/alambic/waitable.ex
sdanzan/alambic
fdde3d1568e24dac95453337c7e50c12d2cce348
[ "Apache-2.0" ]
null
null
null
lib/alambic/waitable.ex
sdanzan/alambic
fdde3d1568e24dac95453337c7e50c12d2cce348
[ "Apache-2.0" ]
null
null
null
lib/alambic/waitable.ex
sdanzan/alambic
fdde3d1568e24dac95453337c7e50c12d2cce348
[ "Apache-2.0" ]
1
2018-04-19T03:25:31.000Z
2018-04-19T03:25:31.000Z
# Copyright 2015 Serge Danzanvilliers <serge.danzanvilliers@gmail.com> # # 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...
31.571429
74
0.745475
f71634f143609ae3e7c288bb14e62239aba47f01
3,169
exs
Elixir
test/lifx_client_test.exs
axelson/lifx
9ac02474d181001efc6bc08d7d39a6f6e3bb0d2a
[ "Apache-2.0" ]
null
null
null
test/lifx_client_test.exs
axelson/lifx
9ac02474d181001efc6bc08d7d39a6f6e3bb0d2a
[ "Apache-2.0" ]
null
null
null
test/lifx_client_test.exs
axelson/lifx
9ac02474d181001efc6bc08d7d39a6f6e3bb0d2a
[ "Apache-2.0" ]
null
null
null
defmodule LifxTest do use ExUnit.Case, async: false use Lifx.Protocol.Types require Logger doctest Lifx import Mox setup :set_mox_global setup :verify_on_exit! alias Lifx.Protocol alias Lifx.Protocol.{FrameHeader, FrameAddress, ProtocolHeader} alias Lifx.Protocol.{Packet} alias Lifx.Device @...
24.952756
85
0.64563
f7164892521f250144f7d1a44ef00547068936fa
1,850
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/list_buyers_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/list_buyers_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/list_buyers_response.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...
37
207
0.74
f7164ff914232cd0818082c9144073d6007be799
6,259
exs
Elixir
test/utility_test.exs
buurzx/talib
9341dafd2dc0aa14c34b659b82375723ff5a37fc
[ "MIT" ]
null
null
null
test/utility_test.exs
buurzx/talib
9341dafd2dc0aa14c34b659b82375723ff5a37fc
[ "MIT" ]
null
null
null
test/utility_test.exs
buurzx/talib
9341dafd2dc0aa14c34b659b82375723ff5a37fc
[ "MIT" ]
1
2021-04-29T22:14:28.000Z
2021-04-29T22:14:28.000Z
defmodule Talib.UtilityTest do use ExUnit.Case alias Talib.Utility doctest Talib.Utility defmodule Fixtures do def numbers do [ 89, 77, 53, 64, 78, 67, 30, 6, 24, 53, 46, 30, 100, 48, ...
24.25969
82
0.494967
f716603748b17536e496fc5ca4a3a0bf852fa2b8
1,936
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_import_documents_metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_import_documents_metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_import_documents_metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "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.571429
195
0.770145
f71664825fd8ed0ab21c185aa687b44ed4089c85
591
ex
Elixir
web/views/helpers/bulma.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
web/views/helpers/bulma.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
web/views/helpers/bulma.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.Helpers.Bulma do use Phoenix.HTML use Eecrit.Helpers.Tags @tab_item_class "nav-item is-tab" def tab_item_class(on_page_signified_by_tab: true), do: @tab_item_class <> " is-active" def tab_item_class(_), do: @tab_item_class def tab_item(name, path, opts \\ []) do link(name, to...
24.625
63
0.676819
f7169e15ed966dd79e785ad2c0e69fa66ffa9c74
11,591
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/version.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/version.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/version.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...
74.780645
392
0.738504
f716a224ef2ebec9fc0f378b1092eb86938107e5
3,274
exs
Elixir
lib/ex_unit/test/ex_unit/describe_test.exs
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/describe_test.exs
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/describe_test.exs
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.DescribeTest do use ExUnit.Case, async: true @moduletag [attribute_tag: :from_module] setup _ do [setup_tag: :from_module] end describe "tags" do @describetag attribute_tag: :from_describe test "from describe have higher preced...
24.073529
97
0.642944
f716d029681665fccee1d97fc52f1aa063611025
2,568
exs
Elixir
config/prod.exs
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
config/prod.exs
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
config/prod.exs
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
import Config config :siwapp, env: :prod # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by ...
31.703704
70
0.70366
f716e0d4a6af23a59483856a86a0ba89bb3674b0
326
ex
Elixir
lib/logz/jiffy_codec.ex
rciorba/logz
a31250884b703a5e69e40691b075ad56ab0c4fc1
[ "Unlicense" ]
null
null
null
lib/logz/jiffy_codec.ex
rciorba/logz
a31250884b703a5e69e40691b075ad56ab0c4fc1
[ "Unlicense" ]
null
null
null
lib/logz/jiffy_codec.ex
rciorba/logz
a31250884b703a5e69e40691b075ad56ab0c4fc1
[ "Unlicense" ]
null
null
null
defmodule Logz.JiffyCodec do @behaviour Elastix.JSON.Codec def encode!(data) do try do :jiffy.encode(data) catch err, value -> IO.inspect({err, value}) IO.inspect(data) throw({err, value}) end end def decode(json, opts \\ []), do: {:ok, :jiffy.decode(json, opts)...
19.176471
68
0.582822