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
ab274d494a4035b0682b480a406cb2e736e4ef0e
420
ex
Elixir
function.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
function.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
function.ex
kalashnikov/elixir_script
64ecbe5878d7c7cdc5392a1e6b83b08697c8f9b4
[ "MIT" ]
null
null
null
import String import Enum defmodule Funct do #Functions Transform Data def signature1( word ) do chars = codepoints(word) ordered = sort(chars) result = join(ordered) result end # Compose def signature2( word ) do join(sort(codepoints(word))) end # Pipeline def signature3( w...
16.153846
40
0.659524
ab27aacc6f398b0fd61f07bbdaffe4bcd64cb8e7
25,945
ex
Elixir
lib/elixir/lib/module/types/unify.ex
lanodan/elixir
10ae66cda989f324bf76c402473fd5661a459100
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/types/unify.ex
lanodan/elixir
10ae66cda989f324bf76c402473fd5661a459100
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/types/unify.ex
lanodan/elixir
10ae66cda989f324bf76c402473fd5661a459100
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
defmodule Module.Types.Unify do @moduledoc false import Module.Types.Helpers # Those are the simple types known to the system: # # :dynamic # {:var, var} # {:atom, atom} < :atom # :integer # :float # :pid # :port # :reference # # Those are the composite types: # # {:l...
30.274212
95
0.608749
ab27b19e0aa3456e9dc6bf12b76e427eb993cf36
32
ex
Elixir
code examples/example-11-28.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
8
2016-08-14T12:35:16.000Z
2021-01-26T04:05:31.000Z
code examples/example-11-28.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
null
null
null
code examples/example-11-28.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
5
2016-08-18T22:12:19.000Z
2020-02-17T18:52:41.000Z
:application.which_applications
16
31
0.90625
ab27b2a31491dce282bde9bb27c73fc18c5f4bd9
868
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_35.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_35.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_35.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.Model.InlineResponse20035 do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"menuItems", :"totalM...
24.111111
107
0.679724
ab27c05ef91d908864fee500025f27f579a08bac
11,903
exs
Elixir
apps/discovery_api/test/unit/discovery_api_web/controllers/multiple_data_controller_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/discovery_api/test/unit/discovery_api_web/controllers/multiple_data_controller_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/discovery_api/test/unit/discovery_api_web/controllers/multiple_data_controller_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DiscoveryApiWeb.MultipleDataControllerTest do use DiscoveryApiWeb.ConnCase use Placebo import SmartCity.Event, only: [dataset_query: 0] alias DiscoveryApi.Data.Model alias DiscoveryApi.Services.PrestoService alias DiscoveryApiWeb.Utilities.ModelAccessUtils setup do public_one_dataset ...
35.744745
114
0.614047
ab27c7f54b8867933bc7bf889709ae6755e36df0
1,117
exs
Elixir
ch05/manager/config/config.exs
seansu4you87/little-otp-book
2c3ddf34795780d660e50497f7623589cf1a22f4
[ "MIT" ]
null
null
null
ch05/manager/config/config.exs
seansu4you87/little-otp-book
2c3ddf34795780d660e50497f7623589cf1a22f4
[ "MIT" ]
null
null
null
ch05/manager/config/config.exs
seansu4you87/little-otp-book
2c3ddf34795780d660e50497f7623589cf1a22f4
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.751119
ab27cf5fd8f20db2613e6f1f17b27a06e6325c0b
9,669
ex
Elixir
lib/hexpm_web/controllers/controller_helpers.ex
thiamsantos/hexpm
790bae9e761fe9b2dd6901618054ad533ef24599
[ "Apache-2.0" ]
null
null
null
lib/hexpm_web/controllers/controller_helpers.ex
thiamsantos/hexpm
790bae9e761fe9b2dd6901618054ad533ef24599
[ "Apache-2.0" ]
null
null
null
lib/hexpm_web/controllers/controller_helpers.ex
thiamsantos/hexpm
790bae9e761fe9b2dd6901618054ad533ef24599
[ "Apache-2.0" ]
null
null
null
defmodule HexpmWeb.ControllerHelpers do import Plug.Conn import Phoenix.Controller alias Hexpm.Accounts.{Auth, Organizations} alias Hexpm.Repository.{Packages, Releases} alias HexpmWeb.Router.Helpers, as: Routes @max_cache_age 60 # TODO: check privacy settings def cache(conn, control, vary) do co...
26.858333
94
0.652601
ab28091fdb56e37f771c41db26ff18fc944e449a
13,034
exs
Elixir
test/elixir_sense/core/introspection_test.exs
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
216
2019-01-05T02:08:51.000Z
2022-03-23T23:59:56.000Z
test/elixir_sense/core/introspection_test.exs
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
102
2019-01-18T04:59:06.000Z
2022-01-10T14:21:24.000Z
test/elixir_sense/core/introspection_test.exs
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
31
2019-01-16T08:19:34.000Z
2022-03-07T08:06:22.000Z
defmodule ElixirSense.Core.IntrospectionTest do use ExUnit.Case, async: true doctest ElixirSense.Core.Introspection alias ElixirSense.Core.TypeInfo import ElixirSense.Core.Introspection test "format_spec_ast with one return option does not aplit the returns" do type_ast = TypeInfo.get_type_ast(GenServer,...
32.422886
201
0.548105
ab283e2725205e3842bb10d8718f6577d6c23d7d
3,418
exs
Elixir
mix.exs
camposfilipe/custom_rpi3
5911c310dc4b1434a4bb7c5e517cd4ec18876d02
[ "Apache-2.0" ]
null
null
null
mix.exs
camposfilipe/custom_rpi3
5911c310dc4b1434a4bb7c5e517cd4ec18876d02
[ "Apache-2.0" ]
null
null
null
mix.exs
camposfilipe/custom_rpi3
5911c310dc4b1434a4bb7c5e517cd4ec18876d02
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi3.MixProject do use Mix.Project @github_organization "camposfilipe" @app :custom_rpi3 @source_url "https://github.com/camposfilipe/custom_rpi3/archive/refs/tags/" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ ...
24.414286
83
0.587771
ab289473acd332d04b8321bdad2e7c9b100c9890
482
ex
Elixir
lib/hl7/2.3/segments/mrg.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/mrg.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/mrg.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.Segments.MRG do @moduledoc false require Logger alias HL7.V2_3.{DataTypes} use HL7.Segment, fields: [ segment: nil, prior_patient_id_internal: DataTypes.Cx, prior_alternate_patient_id: DataTypes.Cx, prior_patient_account_number: DataTypes.Cx, prior_patient_...
25.368421
49
0.726141
ab289dbe569591b45450b03a1b9b5023c2626a00
1,457
exs
Elixir
mix.exs
SafeBoda/ex_aws_ec2
3c210fa069957a44de58d6505efd0b49edffe26b
[ "MIT", "Unlicense" ]
4
2019-07-06T01:20:48.000Z
2021-10-09T19:51:34.000Z
mix.exs
SafeBoda/ex_aws_ec2
3c210fa069957a44de58d6505efd0b49edffe26b
[ "MIT", "Unlicense" ]
4
2017-10-19T01:27:01.000Z
2019-04-11T12:51:35.000Z
mix.exs
SafeBoda/ex_aws_ec2
3c210fa069957a44de58d6505efd0b49edffe26b
[ "MIT", "Unlicense" ]
15
2017-10-27T05:35:37.000Z
2021-09-05T12:34:02.000Z
defmodule ExAws.EC2.Mixfile do use Mix.Project @version "2.0.1" @service "ec2" @url "https://github.com/ex-aws/ex_aws_#{@service}" @name __MODULE__ |> Module.split() |> Enum.take(2) |> Enum.join(".") def project do [ app: :ex_aws_ec2, version: @version, elixir: "~> 1.5", elixir...
23.885246
71
0.54221
ab28f97211012a1565bd9d12c55e04796e12101a
580
exs
Elixir
test/livebook_web/plugs/file_system_provider_test.exs
mcrumm/livebook
b1ceedc2205e64348212fbf7edce568cdb084e97
[ "Apache-2.0" ]
1
2021-05-21T22:14:23.000Z
2021-05-21T22:14:23.000Z
test/livebook_web/plugs/file_system_provider_test.exs
cristina007-bot/livebook
101f582196a161a06b62b38fe55c7f8c0a04b54d
[ "Apache-2.0" ]
null
null
null
test/livebook_web/plugs/file_system_provider_test.exs
cristina007-bot/livebook
101f582196a161a06b62b38fe55c7f8c0a04b54d
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.FileSystemProviderTest do use ExUnit.Case, async: true defmodule MyProvider do use LivebookWeb.FileSystemProvider, from: Path.expand("../../support/static", __DIR__) end test "includes regular files" do assert %{content: content} = MyProvider.get_file(["js", "app.js"], nil)...
26.363636
75
0.689655
ab29062d9f90691a475a207fe736634fa907fcf4
404
ex
Elixir
lib/transition.ex
JamesGood626/meditative
b30655b20d47f231ae67f836e245ad4a9f23e8f9
[ "MIT", "Unlicense" ]
null
null
null
lib/transition.ex
JamesGood626/meditative
b30655b20d47f231ae67f836e245ad4a9f23e8f9
[ "MIT", "Unlicense" ]
null
null
null
lib/transition.ex
JamesGood626/meditative
b30655b20d47f231ae67f836e245ad4a9f23e8f9
[ "MIT", "Unlicense" ]
null
null
null
defmodule Transition do @moduledoc """ Transition will need to add support for actions in the future. """ defstruct [:event, :from, :to, :actions, :guard] def new(%{ "event" => event, "from" => from, "to" => to, } = x) do %__MODULE__{ event: event, from: from, to: to, ...
18.363636
64
0.544554
ab2917b1e16355e9f44c748538262d2cb632e601
1,260
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/custom.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/custom.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/custom.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...
30
82
0.756349
ab292326070b36d7dbe793b18f8f81f4a503330b
1,911
exs
Elixir
test/grizzly/command_class/user_code/set_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/user_code/set_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/user_code/set_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.UserCode.Set.Test do use ExUnit.Case, async: true alias Grizzly.Packet alias Grizzly.CommandClass.UserCode.Set alias Grizzly.Command.EncodeError describe "implements Grizzly.Command behaviour" do test "initializes command" do assert {:ok, %Set{}} = Set.init([]) e...
28.522388
94
0.608582
ab292515b3f3183d4123d531d0261ece5c807a9f
296
ex
Elixir
rules/generate_locale.ex
bcdevices/nerves_system_linter
b062602e77edf7911262e695c42c2a28362e5e3e
[ "Apache-2.0" ]
4
2017-10-20T04:06:33.000Z
2019-01-30T10:34:42.000Z
rules/generate_locale.ex
bcdevices/nerves_system_linter
b062602e77edf7911262e695c42c2a28362e5e3e
[ "Apache-2.0" ]
7
2017-10-24T12:40:20.000Z
2018-01-25T16:06:17.000Z
rules/generate_locale.ex
bcdevices/nerves_system_linter
b062602e77edf7911262e695c42c2a28362e5e3e
[ "Apache-2.0" ]
2
2017-10-19T00:36:12.000Z
2018-08-23T23:12:18.000Z
defmodule Nerves.System.Linter.Rule.GenerateLocale do use Nerves.System.Linter.Rule ensure_value "BR2_GENERATE_LOCALE", "en_US.UTF-8", message: "When using glibc, make sure that BR2_GENERATE_LOCALE=en_US.UTF-8.", if: [{"BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC", true}] evaluate() end
29.6
81
0.760135
ab294ec9fe1a61a87284aecc4f5d7dafa3835c1a
722
ex
Elixir
lib/phx_todo_app_web/gettext.ex
showwin/phx_todo_app
3608f120cb149019219add4ca63e711698a56aab
[ "MIT" ]
null
null
null
lib/phx_todo_app_web/gettext.ex
showwin/phx_todo_app
3608f120cb149019219add4ca63e711698a56aab
[ "MIT" ]
null
null
null
lib/phx_todo_app_web/gettext.ex
showwin/phx_todo_app
3608f120cb149019219add4ca63e711698a56aab
[ "MIT" ]
null
null
null
defmodule PhxTodoAppWeb.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 PhxTodoAppWeb.Gettext # Simple translation gettext("Her...
28.88
72
0.682825
ab29519ee77264d5bfaee57ceb0a5e8a34f8d3c6
4,921
exs
Elixir
test/ueberauth/strategy/line_test.exs
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
test/ueberauth/strategy/line_test.exs
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
test/ueberauth/strategy/line_test.exs
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.LineTest do use ExUnit.Case, async: true use Plug.Test import Mock import Plug.Conn import Ueberauth.Strategy.Helpers # https://developers.line.biz/en/reference/line-login/#issue-token-http-request # POST @api_issue_token "https://api.line.me/oauth2/v2.1/token" # Verif...
30.949686
98
0.643975
ab29819b1090554cc35b3d7a590ea9821cb5a4a9
33
ex
Elixir
lib/blog_engine/posts.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
lib/blog_engine/posts.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
lib/blog_engine/posts.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
defmodule BlogEngine.Post do end
11
28
0.848485
ab29af1971e3fcb559db98a05898eae6a395aab6
11,758
ex
Elixir
lib/phoenix/endpoint/supervisor.ex
sheharyarn/phoenix
60fce56798cf074a784988ebedb97d17247e5d68
[ "MIT" ]
1
2019-04-24T09:28:15.000Z
2019-04-24T09:28:15.000Z
lib/phoenix/endpoint/supervisor.ex
sheharyarn/phoenix
60fce56798cf074a784988ebedb97d17247e5d68
[ "MIT" ]
null
null
null
lib/phoenix/endpoint/supervisor.ex
sheharyarn/phoenix
60fce56798cf074a784988ebedb97d17247e5d68
[ "MIT" ]
null
null
null
defmodule Phoenix.Endpoint.Supervisor do # This module contains the logic used by most functions in Phoenix.Endpoint # as well the supervisor for sockets, adapters, watchers, etc. @moduledoc false require Logger use Supervisor alias Phoenix.Endpoint.{CowboyAdapter, Cowboy2Adapter} @doc """ Starts the ...
28.264423
117
0.646113
ab29c0fbe7dce7691a6468c4f69bc12ed743ac8f
3,324
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_in_store_refund_line_item_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_in_store_refund_line_item_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_in_store_refund_line_item_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...
40.048193
185
0.688026
ab29cbf1802e8c30ca6636d5499cb9114b3554b0
3,435
exs
Elixir
test/discovered_bugs_tests/definition_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
3
2020-07-07T20:41:23.000Z
2020-07-17T09:05:37.000Z
test/discovered_bugs_tests/definition_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
1
2020-07-08T00:04:38.000Z
2020-07-08T00:04:38.000Z
test/discovered_bugs_tests/definition_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveredBugsTests.DefinitionTest do alias ExDebugger.Tokenizer.Definition @moduledoc """ Wrong name was derived when definition had `when` incorporated into it. Ensure that all possible permutations succeed: * Conventional Possibilities: * Contracted Form * Expanded Form * Co...
25.072993
92
0.597671
ab2a2863d62a3ccb2800475d33d5669938df3c49
178
exs
Elixir
priv/repo/migrations/20160909200244_rename_command_option_desc_to_description.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
priv/repo/migrations/20160909200244_rename_command_option_desc_to_description.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
priv/repo/migrations/20160909200244_rename_command_option_desc_to_description.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Repo.Migrations.RenameCommandOptionDescToDescription do use Ecto.Migration def change do rename table(:command_options), :desc, to: :description end end
22.25
69
0.786517
ab2a2b6b0f61082b3783d2f7b0085dbbe715d29c
1,803
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/event_extended_properties.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/event_extended_properties.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/event_extended_properties.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...
35.352941
166
0.734886
ab2a4505e5f2a36bb089d85ef607d0ca124fd9e5
3,195
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/logging.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/lib/google_api/service_management/v1/model/logging.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/logging.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...
54.152542
811
0.765571
ab2a89d0897955e29b2413c49eca9aee70198e0d
9,486
exs
Elixir
test/game/command/quest_test.exs
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
test/game/command/quest_test.exs
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
test/game/command/quest_test.exs
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
defmodule Game.Command.QuestTest do use Data.ModelCase doctest Game.Command.Quest alias Game.Character alias Game.Command.Quest @socket Test.Networking.Socket @room Test.Game.Room @npc Test.Game.NPC setup do @socket.clear_messages user = create_user(%{name: "user", password: "password"}) ...
34.494545
114
0.625026
ab2aaae60b521da817441fe139770cb0153634c1
6,433
ex
Elixir
lib/mix/tasks/surface/surface.convert.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
1,161
2019-12-12T02:30:52.000Z
2021-03-11T17:55:44.000Z
lib/mix/tasks/surface/surface.convert.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
248
2021-03-12T07:39:37.000Z
2022-03-31T13:36:44.000Z
lib/mix/tasks/surface/surface.convert.ex
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
73
2019-12-12T13:57:41.000Z
2021-03-11T21:46:10.000Z
defmodule Mix.Tasks.Surface.Convert do @shortdoc "Converts .sface files and ~H sigils from pre-v0.5 to v0.5 syntax" @moduledoc """ Converts .sface files and ~H sigils from pre-v0.5 to v0.5 syntax. mix surface.convert "lib/**/*.{ex,exs,sface}" "test/**/*.{ex,exs}" Please read the [Migration Guide](https...
27.258475
105
0.644023
ab2aadda7d10d2f3f653c89f2412a547166f93d6
1,135
exs
Elixir
apps/user_manager/config/config.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
4
2018-11-09T16:57:06.000Z
2021-03-02T22:57:17.000Z
apps/user_manager/config/config.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
29
2018-10-26T08:29:37.000Z
2018-12-09T21:02:05.000Z
apps/user_manager/config/config.exs
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.612903
73
0.752423
ab2aafdceba56c8b2b13442d4992f8205b3d81b8
646
ex
Elixir
lib/teiserver/telemetry/tasks/persist_telemetry_minute_task.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/teiserver/telemetry/tasks/persist_telemetry_minute_task.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver/telemetry/tasks/persist_telemetry_minute_task.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule Teiserver.Telemetry.Tasks.PersistTelemetryMinuteTask do use Oban.Worker, queue: :teiserver alias Teiserver.Telemetry @impl Oban.Worker def perform(_) do now = Timex.now() |> Timex.set([microsecond: 0]) case Telemetry.get_telemetry_minute_log(now) do nil -> perform_telemetry_pe...
20.83871
65
0.660991
ab2acf688af9886e4148cf0926a0fee0533f941a
207
ex
Elixir
lib/misc.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
48
2016-06-01T11:40:34.000Z
2021-05-26T13:20:42.000Z
lib/misc.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
2
2016-06-06T10:20:03.000Z
2016-06-11T05:06:10.000Z
lib/misc.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
3
2016-07-02T20:54:58.000Z
2018-04-10T02:36:26.000Z
defmodule Remixdb.Misc do def pmap(items, func) do items |> Enum.map(fn(item) -> Task.async(fn -> func.(item) end) end) |> Enum.map(fn(task) -> Task.await(task) end) end end
17.25
39
0.570048
ab2adf5c9ab47057a6172798e12cbe2d42ad7817
801
exs
Elixir
priv/repo/migrations/20211209115304_create_users_auth_tables.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
priv/repo/migrations/20211209115304_create_users_auth_tables.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
priv/repo/migrations/20211209115304_create_users_auth_tables.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
defmodule Siwapp.Repo.Migrations.CreateUsersAuthTables do use Ecto.Migration def change do execute "CREATE EXTENSION IF NOT EXISTS citext", "" create table(:users) do add :email, :citext, null: false add :hashed_password, :string, null: false add :admin, :boolean, default: false ad...
27.62069
75
0.670412
ab2b20565ab4e454c58b2c961d31cdf3f9f2fb40
119
ex
Elixir
lib/remedy/schema/guild_premium_tier.ex
bdanklin/nostrum
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
3
2021-09-05T09:44:02.000Z
2022-01-26T15:31:50.000Z
lib/remedy/schema/guild_premium_tier.ex
bdanklin/remedy
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
null
null
null
lib/remedy/schema/guild_premium_tier.ex
bdanklin/remedy
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
null
null
null
defmodule Remedy.Schema.GuildPremiumTier do use Remedy.Type defstruct NONE: 0, TIER_1: 1, TIER_2: 2, TIER_3: 3 end
23.8
52
0.756303
ab2b450da8994bd49fa1a6e9696091d8d9ac61f8
1,746
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.375
186
0.765178
ab2b71f051bfbccd700760884e497db7f05e02d3
1,835
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_templates_scoped_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_templates_scoped_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_templates_scoped_list.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...
35.980392
120
0.754768
ab2b903bfd688e0324c9a97262846d2da228af83
1,002
ex
Elixir
lib/travel/endpoint.ex
markevich/travel
f6f7dd7dd459149926c305984685d91ca1376f77
[ "MIT" ]
4
2016-11-01T14:59:33.000Z
2016-11-01T15:05:57.000Z
lib/travel/endpoint.ex
markevich/travel
f6f7dd7dd459149926c305984685d91ca1376f77
[ "MIT" ]
null
null
null
lib/travel/endpoint.ex
markevich/travel
f6f7dd7dd459149926c305984685d91ca1376f77
[ "MIT" ]
null
null
null
defmodule Travel.Endpoint do use Phoenix.Endpoint, otp_app: :travel socket "/socket", Travel.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, ...
25.05
69
0.705589
ab2b99ed16586e91053603134e1544e54e404fe5
1,918
ex
Elixir
lib/ex_doc/markdown.ex
Dignifiedquire/ex_doc
cc0b0b2f63170a484c04e3c899cb62f139e58ef0
[ "Apache-2.0" ]
null
null
null
lib/ex_doc/markdown.ex
Dignifiedquire/ex_doc
cc0b0b2f63170a484c04e3c899cb62f139e58ef0
[ "Apache-2.0" ]
null
null
null
lib/ex_doc/markdown.ex
Dignifiedquire/ex_doc
cc0b0b2f63170a484c04e3c899cb62f139e58ef0
[ "Apache-2.0" ]
null
null
null
defmodule ExDoc.Markdown do @markdown_processors [ ExDoc.Markdown.Hoedown, ExDoc.Markdown.Earmark, ExDoc.Markdown.Pandoc ] @markdown_processor_key :markdown_processor @doc """ Converts the given markdown document to HTML. """ def to_html(text) when is_binary(text) do get_markdown_process...
29.96875
82
0.643379
ab2ba7daf8eaff1f3b0d306c735c748ee7180f81
1,213
exs
Elixir
test/socializer_web/integration/post_resolver_test.exs
yosufali/socializer
abbd75cf1cedbf1a398fc72b64f4129e39d3e373
[ "MIT" ]
null
null
null
test/socializer_web/integration/post_resolver_test.exs
yosufali/socializer
abbd75cf1cedbf1a398fc72b64f4129e39d3e373
[ "MIT" ]
null
null
null
test/socializer_web/integration/post_resolver_test.exs
yosufali/socializer
abbd75cf1cedbf1a398fc72b64f4129e39d3e373
[ "MIT" ]
null
null
null
defmodule SocializerWeb.Integration.PostResolverTest do use SocializerWeb.ConnCase alias Socializer.AbsintheHelpers describe "#list" do it "returns posts" do post_a = insert(:post) post_b = insert(:post) query = """ { posts { id body } } ...
21.280702
76
0.540808
ab2bae02499b9739e2204b586366fd175c5d68aa
617
ex
Elixir
lib/guilda/finances/transaction.ex
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
10
2020-09-05T20:25:05.000Z
2022-01-28T14:02:36.000Z
lib/guilda/finances/transaction.ex
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
11
2020-09-07T01:09:55.000Z
2022-02-06T00:58:48.000Z
lib/guilda/finances/transaction.ex
clcmo/GuildaEx
0e30fb8d9b7dfd54c35ae237329791003d6a46bf
[ "MIT" ]
3
2020-10-03T01:53:08.000Z
2022-01-28T14:03:09.000Z
defmodule Guilda.Finances.Transaction do @moduledoc """ Transaction schema. """ use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "transactions" do field :amount, :decimal field :date, :date field :note, :string ...
22.035714
60
0.670989
ab2bcae592148432a89abbbdd22a59e0a5d957de
8,932
exs
Elixir
test/ecto_adapters_dynamodb/migration_test.exs
circles-learning-labs/ecto-adapters-dynamodb
6ee42c68c350786aba3e5dbcbfbc07e70c72b4e6
[ "Apache-2.0" ]
null
null
null
test/ecto_adapters_dynamodb/migration_test.exs
circles-learning-labs/ecto-adapters-dynamodb
6ee42c68c350786aba3e5dbcbfbc07e70c72b4e6
[ "Apache-2.0" ]
null
null
null
test/ecto_adapters_dynamodb/migration_test.exs
circles-learning-labs/ecto-adapters-dynamodb
6ee42c68c350786aba3e5dbcbfbc07e70c72b4e6
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.DynamoDB.Migration.Test do @moduledoc """ Unit tests for migrations. Test migrations will be tracked in the test_schema_migrations table (see config/test.exs) Note that migration tests must be run in order, so in test_helper.exs, we use the command `ExUnit.start(seed: 0)` The order ...
39.175439
175
0.653381
ab2be448104f603f770c34b65df71016c5498efe
651
exs
Elixir
priv/repo/migrations/20180930030608_create_repo_comment.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20180930030608_create_repo_comment.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20180930030608_create_repo_comment.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.CreateRepoComment do use Ecto.Migration def change do create table(:repos_comments) do add(:body, :text) add(:floor, :integer, default: 0) add(:author_id, references(:users, on_delete: :delete_all), null: false) add(:repo_id, references(:cms_repo...
32.55
80
0.691244
ab2bea80437fa578245edec9f0dcdc9cedb24ee5
2,876
ex
Elixir
lib/layouts/primitives/rounded_rectangle.ex
axelson/scenic_layout_o_matic
164d7f7100a93d47cf6f3f76cb5644997e882d88
[ "MIT" ]
43
2019-10-03T20:08:37.000Z
2021-11-15T11:22:59.000Z
lib/layouts/primitives/rounded_rectangle.ex
axelson/scenic_layout_o_matic
164d7f7100a93d47cf6f3f76cb5644997e882d88
[ "MIT" ]
13
2019-09-03T16:37:37.000Z
2019-10-03T16:06:47.000Z
lib/layouts/primitives/rounded_rectangle.ex
axelson/scenic_layout_o_matic
164d7f7100a93d47cf6f3f76cb5644997e882d88
[ "MIT" ]
2
2019-10-19T21:05:13.000Z
2019-11-06T22:53:12.000Z
defmodule LayoutOMatic.RoundedRectangle do @default_stroke {1, :white} # A rectangle is translated from the top left corner @spec translate(%{ grid_xy: {number, number}, max_xy: {number, number}, primitive: %{data: {number, number, number}}, starting_xy: {number, number} ...
28.475248
83
0.482962
ab2c1e6c19fe07a4810734e0a91158e61802d2ce
975
exs
Elixir
config/prod.secret.exs
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
null
null
null
config/prod.secret.exs
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
1
2021-03-10T09:32:06.000Z
2021-03-10T09:32:06.000Z
config/prod.secret.exs
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config secret_key_base = System.get_env("SECRET_KEY_BASE") || raise """ ...
32.5
75
0.740513
ab2c2b6b3bbb34076ac2b7dfc9593f9e8f1e65aa
268
ex
Elixir
test/support/schemas/category.ex
kianmeng/turbo_ecto
b9fa5ee50dfdeeb9ad0782e7a8fcb3bd012d4c03
[ "MIT" ]
63
2018-08-01T13:04:07.000Z
2021-08-18T06:09:11.000Z
test/support/schemas/category.ex
kianmeng/turbo_ecto
b9fa5ee50dfdeeb9ad0782e7a8fcb3bd012d4c03
[ "MIT" ]
66
2018-08-03T02:04:02.000Z
2021-08-18T03:40:41.000Z
test/support/schemas/category.ex
kianmeng/turbo_ecto
b9fa5ee50dfdeeb9ad0782e7a8fcb3bd012d4c03
[ "MIT" ]
15
2018-08-03T02:30:49.000Z
2021-08-17T13:06:05.000Z
defmodule Turbo.Ecto.Schemas.Category do @moduledoc false use Ecto.Schema @type t :: %__MODULE__{} schema "categories" do field(:name, :string) field(:posts_count, :integer) has_many(:posts, Turbo.Ecto.Schemas.Post) timestamps() end end
15.764706
45
0.679104
ab2c350562c06b6c2106f4ab54be102bbb92a047
867
exs
Elixir
mix.exs
prodis/xml_builder
adab91fec0de6126646f0a814fedc563b704de8c
[ "MIT" ]
null
null
null
mix.exs
prodis/xml_builder
adab91fec0de6126646f0a814fedc563b704de8c
[ "MIT" ]
1
2019-01-09T12:31:07.000Z
2019-01-09T12:34:55.000Z
mix.exs
prodis/xml_builder
adab91fec0de6126646f0a814fedc563b704de8c
[ "MIT" ]
null
null
null
defmodule XmlBuilder.Mixfile do use Mix.Project def project do [app: :xml_builder, version: "2.1.1", elixir: ">= 0.14.0", deps: deps(), package: [ maintainers: ["Joshua Nussbaum"], licenses: ["MIT"], links: %{github: "https://github.com/joshnuss/xml_builder"} ], ...
21.675
75
0.591696
ab2c414590dabdc17283954ae7ad1160fed4aa77
572
ex
Elixir
lib/delugex/stream_name/reader/bit_string.ex
Fire-Dragon-DoL/esp_ex
0cd95de570ed7963744b298ad403fe4e1947dd2b
[ "MIT" ]
null
null
null
lib/delugex/stream_name/reader/bit_string.ex
Fire-Dragon-DoL/esp_ex
0cd95de570ed7963744b298ad403fe4e1947dd2b
[ "MIT" ]
null
null
null
lib/delugex/stream_name/reader/bit_string.ex
Fire-Dragon-DoL/esp_ex
0cd95de570ed7963744b298ad403fe4e1947dd2b
[ "MIT" ]
null
null
null
defimpl Delugex.StreamName.Reader, for: BitString do def to_string(stream_name), do: stream_name def category(stream_name) do stream_name |> String.split("-") |> List.first() end def id(stream_name) do stream_category = Delugex.StreamName.category(stream_name) id = stream_name ...
19.066667
62
0.655594
ab2c5222a00e693fb0e25ba29fd26a3574ed2cf5
8,241
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/zones.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/zones.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/zones.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.682432
434
0.670186
ab2c912360e28715df0f0da09bb08bc9bfd5a483
1,630
ex
Elixir
lib/elixirfm.ex
boonious/Elixirfm
8f07f6ec296da254307ed190a13a0f8a42c7a80a
[ "MIT" ]
null
null
null
lib/elixirfm.ex
boonious/Elixirfm
8f07f6ec296da254307ed190a13a0f8a42c7a80a
[ "MIT" ]
null
null
null
lib/elixirfm.ex
boonious/Elixirfm
8f07f6ec296da254307ed190a13a0f8a42c7a80a
[ "MIT" ]
null
null
null
defmodule Elixirfm do @moduledoc """ A simple wrapper for the Lastfm API. """ @type response :: {atom(), struct()} alias Elixirfm.{ RequestError, MissingApiKeyError, MissingSecretKeyError } @api_root "http://ws.audioscrobbler.com/" @doc false def lastfm_key() do Application.get_env(...
33.265306
98
0.676687
ab2c9faa8027c157d55359b4df37bfae17e60fab
865
ex
Elixir
lib/system/definitions/casting.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
23
2021-10-24T00:21:13.000Z
2022-03-13T12:33:38.000Z
lib/system/definitions/casting.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
null
null
null
lib/system/definitions/casting.ex
doawoo/elixir_rpg
4dcd0eb717bd1d654b3e6a06be31aba4c3254fb3
[ "MIT" ]
3
2021-11-04T02:42:25.000Z
2022-02-02T14:22:52.000Z
use ElixirRPG.DSL.System defsystem CastingSystem do require Logger alias ElixirRPG.RuntimeSystems.AnimateModSystem alias ElixirRPG.Action name "ClearSpecialStateSystem" wants DemoStats on_tick do _ = world_name _ = frontend_pid data = get_all_components() stats = data[DemoStats] i...
21.097561
63
0.678613
ab2ccd37d6d6ca68fa320c936dbd6fe0dc588279
67
ex
Elixir
web/views/paste_view.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
6
2015-02-25T06:13:45.000Z
2016-04-11T13:06:13.000Z
web/views/paste_view.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
null
null
null
web/views/paste_view.ex
redvers/pastenix
53f10765769b6695cf2a73cd007869d18dd183b4
[ "MIT" ]
null
null
null
defmodule Pastenix.Controller.PasteView do use Pastenix.View end
16.75
42
0.835821
ab2cd43eb5919ced833341d44afe274ae45edc95
1,683
ex
Elixir
lib/copan_web/endpoint.ex
GabrielMalakias/Copan
cdf4dec19d9f9cefca59aa9f01fe33060fe7e019
[ "MIT" ]
1
2019-01-19T00:53:07.000Z
2019-01-19T00:53:07.000Z
lib/copan_web/endpoint.ex
dkuku/copan
cdf4dec19d9f9cefca59aa9f01fe33060fe7e019
[ "MIT" ]
null
null
null
lib/copan_web/endpoint.ex
dkuku/copan
cdf4dec19d9f9cefca59aa9f01fe33060fe7e019
[ "MIT" ]
1
2020-01-29T21:46:16.000Z
2020-01-29T21:46:16.000Z
defmodule CopanWeb.Endpoint do use Phoenix.Endpoint, otp_app: :copan socket "/socket", CopanWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, ...
29.017241
95
0.7041
ab2cd4f512e00c383d6200c2a20c2bbdccc91d32
154
exs
Elixir
config/releases.exs
kevinkjt2000/discord-game-server-status
01b51910941ce719b539e35da2ee0941aef2f291
[ "MIT" ]
2
2017-06-22T03:30:01.000Z
2017-09-27T02:13:17.000Z
config/releases.exs
kevinkjt2000/bowser
01b51910941ce719b539e35da2ee0941aef2f291
[ "MIT" ]
111
2017-12-19T04:56:25.000Z
2022-03-07T09:18:13.000Z
config/releases.exs
kevinkjt2000/bowser
01b51910941ce719b539e35da2ee0941aef2f291
[ "MIT" ]
3
2017-09-27T02:23:18.000Z
2017-12-18T20:35:09.000Z
import Config config :bowser, redis_port: String.to_integer(System.fetch_env!("REDIS_PORT")) config :nostrum, token: System.fetch_env!("BOT_TOKEN")
19.25
64
0.75974
ab2cd6ed84b8c7e727786e8a1ae4a7ea818d6380
738
ex
Elixir
lib/radiator_web/gettext.ex
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
1
2021-03-02T16:59:40.000Z
2021-03-02T16:59:40.000Z
lib/radiator_web/gettext.ex
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
null
null
null
lib/radiator_web/gettext.ex
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
null
null
null
defmodule RadiatorWeb.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 RadiatorWeb.Gettext # Simple translation gettext("Here is...
28.384615
72
0.682927
ab2cd8269202f7531554c6b041e360ac2e7d4688
1,242
exs
Elixir
elixirpay/config/config.exs
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "MIT" ]
null
null
null
elixirpay/config/config.exs
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "MIT" ]
null
null
null
elixirpay/config/config.exs
fcsouza/elixir-project
e6212c4def050400eb4fcc50c6a8274409b1f0c7
[ "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 :elixirpay, ecto_repos: [Elixirpay.Repo...
31.05
86
0.7657
ab2ce31ccb966df50c8751ca736a6e1940d50da9
215
exs
Elixir
apps/memo/config/dev.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
apps/memo/config/dev.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
apps/memo/config/dev.exs
michaeljbishop/memo_app
58a2a547a6e40eb518ea8b193514fea368e80704
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :memo, Memo.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "memo_dev", hostname: "localhost", pool_size: 10
19.545455
34
0.716279
ab2d12eb42f7bdc7ca5f4b0532d75d636edcf7d2
70
ex
Elixir
lab4/lib/mailer.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
lab4/lib/mailer.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
lab4/lib/mailer.ex
AlexandruBurlacu/NetworkProgrammingLabs
289720c6bcf2ce4bcdb22b5f57ec03a2c1200891
[ "MIT" ]
null
null
null
defmodule Lab4.Mailer do use Bamboo.Mailer, otp_app: :mailapp end
17.5
40
0.757143
ab2d1aeab06c320ca006f60d958157c2f28207e1
686
ex
Elixir
lib/hex_deps_checker/hex.ex
slogsdon/elixir-hex-deps-checker
b51d94a8b02072f611510caeb0510c06a1fc8152
[ "MIT" ]
2
2015-03-25T20:14:47.000Z
2015-04-17T21:59:36.000Z
lib/hex_deps_checker/hex.ex
slogsdon/elixir-hex-deps-checker
b51d94a8b02072f611510caeb0510c06a1fc8152
[ "MIT" ]
null
null
null
lib/hex_deps_checker/hex.ex
slogsdon/elixir-hex-deps-checker
b51d94a8b02072f611510caeb0510c06a1fc8152
[ "MIT" ]
null
null
null
defmodule HexDepsChecker.Hex do @headers [{"User-Agent", "HexDepsChecker (0.0.1) - slogsdon"}] def has_update?(dep, version) do latest = HTTPoison.get!("https://hex.pm/api/packages/#{dep}", @headers) |> Map.get(:body) |> Poison.decode! |> Map.get("releases") |> hd Version.compare(l...
25.407407
75
0.569971
ab2d1b677985eee8b5ac23bc945b5b7d7b97dadb
1,041
ex
Elixir
lib/phoenix_react/endpoint.ex
Andorbal/phoenix_react
0291d612ca710f80bd5ec87f052649f32c9e5847
[ "MIT" ]
null
null
null
lib/phoenix_react/endpoint.ex
Andorbal/phoenix_react
0291d612ca710f80bd5ec87f052649f32c9e5847
[ "MIT" ]
null
null
null
lib/phoenix_react/endpoint.ex
Andorbal/phoenix_react
0291d612ca710f80bd5ec87f052649f32c9e5847
[ "MIT" ]
null
null
null
defmodule PhoenixReact.Endpoint do use Phoenix.Endpoint, otp_app: :phoenix_react socket "/socket", PhoenixReact.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plu...
26.025
69
0.717579
ab2d24ec6c8905116ebf3b3156962e10558f2d51
8,053
ex
Elixir
lib/soap/wsdl.ex
zven21/soap
0f5447a6ab399cddee17a44480a073dbe362ebdc
[ "MIT" ]
null
null
null
lib/soap/wsdl.ex
zven21/soap
0f5447a6ab399cddee17a44480a073dbe362ebdc
[ "MIT" ]
null
null
null
lib/soap/wsdl.ex
zven21/soap
0f5447a6ab399cddee17a44480a073dbe362ebdc
[ "MIT" ]
null
null
null
defmodule Soap.Wsdl do @moduledoc """ Provides functions for parsing wsdl file """ @soap_version_namespaces %{ "1.1" => :"http://schemas.xmlsoap.org/wsdl/soap/", "1.2" => :"http://schemas.xmlsoap.org/wsdl/soap12/" } import SweetXml, except: [parse: 1, parse: 2] alias Soap.{Type, Xsd} @spec pa...
32.869388
123
0.6189
ab2d32b5a1d0321b102e36d83f76ddc04c2eceae
83
exs
Elixir
test/advent_of_code2021_test.exs
fredericboyer/advent_of_code_2021
657e26020677df020afabb97c87d7e07bc0244f9
[ "MIT" ]
null
null
null
test/advent_of_code2021_test.exs
fredericboyer/advent_of_code_2021
657e26020677df020afabb97c87d7e07bc0244f9
[ "MIT" ]
null
null
null
test/advent_of_code2021_test.exs
fredericboyer/advent_of_code_2021
657e26020677df020afabb97c87d7e07bc0244f9
[ "MIT" ]
null
null
null
defmodule AdventOfCode2021Test do use ExUnit.Case doctest AdventOfCode2021 end
16.6
33
0.843373
ab2d3bef25f9fb4d623366af72f6411c59406de8
10
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_type_operation_parsing_test_case/BinaryWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_type_operation_parsing_test_case/BinaryWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_type_operation_parsing_test_case/BinaryWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
0b0 :: 0b1
10
10
0.6
ab2dafd52bc56ab98f3beee3f0a9af1fb50d993e
1,485
exs
Elixir
mix.exs
zookzook/sorted_set_nif
8dd25ad75262a263554feaef82f80482d22ad9ca
[ "MIT" ]
null
null
null
mix.exs
zookzook/sorted_set_nif
8dd25ad75262a263554feaef82f80482d22ad9ca
[ "MIT" ]
null
null
null
mix.exs
zookzook/sorted_set_nif
8dd25ad75262a263554feaef82f80482d22ad9ca
[ "MIT" ]
null
null
null
defmodule SortedSet.MixProject do use Mix.Project def project do [ app: :sorted_set_nif, name: "SortedSet", version: "1.0.0", elixir: "~> 1.5", start_permanent: Mix.env() == :prod, compilers: Mix.compilers(), deps: deps(), docs: docs(), elixirc_paths: elixi...
22.164179
83
0.547475
ab2dc35dee95960a7a33630e90a73874c56d3d2f
699
ex
Elixir
lib/lou_web/gettext.ex
ConnorRigby/lou
5fd68f99b72c82bd4cdd9a6ddeccbe967f7a74a1
[ "MIT" ]
1
2019-10-23T12:17:34.000Z
2019-10-23T12:17:34.000Z
lib/lou_web/gettext.ex
ConnorRigby/lou
5fd68f99b72c82bd4cdd9a6ddeccbe967f7a74a1
[ "MIT" ]
null
null
null
lib/lou_web/gettext.ex
ConnorRigby/lou
5fd68f99b72c82bd4cdd9a6ddeccbe967f7a74a1
[ "MIT" ]
null
null
null
defmodule LouWeb.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 LouWeb.Gettext # Simple translation gettext("Here is the strin...
27.96
72
0.672389
ab2dd1e0b71ce175a0a01c8c43b33e05bf1dbf6e
409
exs
Elixir
test/seent_web/views/error_view_test.exs
seent-app/seent
6071a0f90f1cb5345faa0c9e476d3c64310a7be9
[ "0BSD" ]
null
null
null
test/seent_web/views/error_view_test.exs
seent-app/seent
6071a0f90f1cb5345faa0c9e476d3c64310a7be9
[ "0BSD" ]
1
2020-07-04T17:19:38.000Z
2020-07-04T17:19:38.000Z
test/seent_web/views/error_view_test.exs
seent-app/seent
6071a0f90f1cb5345faa0c9e476d3c64310a7be9
[ "0BSD" ]
null
null
null
defmodule SeentWeb.ErrorViewTest do use SeentWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(SeentWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert r...
27.266667
90
0.728606
ab2dd25743bfe137771f0a1a150a96dd8505b4b5
2,974
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_scoped_list_warning.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_scoped_list_warning.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_scoped_list_warning.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
48.754098
612
0.775387
ab2de3dbf8bc53ffd88c9da0b83d084753f5903d
6,730
ex
Elixir
test/fixtures/katt_fixture.ex
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
null
null
null
test/fixtures/katt_fixture.ex
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
6
2022-01-05T12:51:37.000Z
2022-01-13T09:52:36.000Z
test/fixtures/katt_fixture.ex
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
null
null
null
defmodule KattFixture do @moduledoc false def definitions() do [ %Lexin.Definition{ base: %Lexin.Definition.Lang{ alternate: nil, antonyms: [], comment: nil, compounds: [], examples: [], idioms: [], illustrations: [ ...
31.157407
139
0.485438
ab2dfc076e03f5e68175dc5a479e25a2b84dbb00
1,997
exs
Elixir
elixir/space-age/space_age_test.exs
ArtemGordinsky/exercism
74e91e3b48ca920803474ec435c13eac66351b9f
[ "Unlicense" ]
null
null
null
elixir/space-age/space_age_test.exs
ArtemGordinsky/exercism
74e91e3b48ca920803474ec435c13eac66351b9f
[ "Unlicense" ]
null
null
null
elixir/space-age/space_age_test.exs
ArtemGordinsky/exercism
74e91e3b48ca920803474ec435c13eac66351b9f
[ "Unlicense" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("space_age.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true # You need to define a SpaceAge module containing a function age_on that given a # planet (:earth, :saturn, etc) and a number of seconds returns the age in years ...
28.528571
80
0.705058
ab2e049a509489a4f07412206b47cf99203b2dd4
17,302
ex
Elixir
lib/parse/datetime/parsers.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/parse/datetime/parsers.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/parse/datetime/parsers.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
defmodule Timex.Parse.DateTime.Parsers do @moduledoc false alias Timex.Parse.DateTime.Helpers use Combine def year4(opts \\ []) do min_digits = case Keyword.get(opts, :padding) do :none -> 1 _ -> get_in(opts, [:min]) || 1 end max_digits = get_in(opts, [:m...
28.645695
115
0.5404
ab2e10a6ee1c4abc918dd70ae7a667e7d8b94c01
475
ex
Elixir
lib/phoenix_events_live_web/resolvers/account_resolver.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
lib/phoenix_events_live_web/resolvers/account_resolver.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
lib/phoenix_events_live_web/resolvers/account_resolver.ex
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
defmodule PhoenixEventsLiveWeb.Resolvers.AccountResolver do alias PhoenixEventsLive.Accounts def login(_root, %{username: username, password: password}, _info) do with {:ok, jwt, _} <- Accounts.jwt_sign_in_with_password(username, password) do {:ok, %{token: jwt}} end end def my_user(_root, _args...
27.941176
83
0.703158
ab2e2b03162b37ac8fb30029a142159ed507521b
2,523
ex
Elixir
lib/glimesh/streams/channel.ex
Heiwa1580/glimesh.tv
c5e1ed4d1011b4e2a54c173d142e7eb857457477
[ "MIT" ]
1
2020-08-02T00:12:28.000Z
2020-08-02T00:12:28.000Z
lib/glimesh/streams/channel.ex
Heiwa1580/glimesh.tv
c5e1ed4d1011b4e2a54c173d142e7eb857457477
[ "MIT" ]
null
null
null
lib/glimesh/streams/channel.ex
Heiwa1580/glimesh.tv
c5e1ed4d1011b4e2a54c173d142e7eb857457477
[ "MIT" ]
null
null
null
defmodule Glimesh.Streams.Channel do @moduledoc false use Ecto.Schema use Waffle.Ecto.Schema import Ecto.Changeset schema "channels" do belongs_to :user, Glimesh.Accounts.User belongs_to :category, Glimesh.Streams.Category belongs_to :streamer, Glimesh.Accounts.User, source: :user_id belongs...
24.735294
80
0.661514
ab2e44d06ffe5e287b5ed64f43a3fdec27d6cd0a
723
ex
Elixir
lib/analyze/checks/spec.ex
IanLuites/analyze
ce5b5b915ba0736028d8299b6768ff70397785d9
[ "MIT" ]
3
2017-08-23T08:52:07.000Z
2020-01-12T03:40:48.000Z
lib/analyze/checks/spec.ex
IanLuites/analyze
ce5b5b915ba0736028d8299b6768ff70397785d9
[ "MIT" ]
null
null
null
lib/analyze/checks/spec.ex
IanLuites/analyze
ce5b5b915ba0736028d8299b6768ff70397785d9
[ "MIT" ]
null
null
null
defmodule Analyze.Checks.Spec do @types [:spec, :impl] def title, do: "Spec Check" def description, do: "Checking spec and behavior quality..." def run(_options) do app = ~r/app: *:(?<app>[a-z\_]+)/ |> Regex.named_captures(File.read!("./mix.exs")) |> Map.get("app") |> String.to_exi...
24.931034
62
0.576763
ab2e714d3e6a014602cfc35af25ff805b05f1085
626
ex
Elixir
test/factories/assessments/answer_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
test/factories/assessments/answer_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
2
2020-04-22T09:06:38.000Z
2020-04-22T09:15:33.000Z
test/factories/assessments/answer_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2020-06-01T03:26:02.000Z
2020-06-01T03:26:02.000Z
defmodule Cadet.Assessments.AnswerFactory do @moduledoc """ Factory for the Answer entity """ defmacro __using__(_opts) do quote do alias Cadet.Assessments.Answer def answer_factory do %Answer{ answer: %{}, autograding_status: :none, room_id: Faker.Code.is...
18.969697
48
0.544728
ab2e9cfa3972415c088dae53d92040405fd4d8ea
2,930
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_web_detection_web_page.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_v1p3beta1_web_detection_web_page.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_web_detection_web_page.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.564103
179
0.726962
ab2e9e4c1a0211e71197ef398820c45ec13448d4
1,860
exs
Elixir
apps/snitch_core/test/data/model/review_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/data/model/review_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/data/model/review_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Model.ReviewTest do use ExUnit.Case, async: true use Snitch.DataCase import Snitch.Factory alias Snitch.Data.Model.{Review, ProductReview} setup :rating_options setup :review_params describe "update/2" do test "updates a review successfully", %{ review: review, rat...
28.615385
83
0.679032
ab2ea683dce7038ef78ac66b8bb416e7c597c493
843
ex
Elixir
lib/grovepi/button.ex
suranyami/grovepi
7080639d7a75b48f7c3d6c03a86288bbb1934951
[ "Apache-2.0" ]
34
2017-08-28T22:44:59.000Z
2022-02-15T06:37:40.000Z
lib/grovepi/button.ex
suranyami/grovepi
7080639d7a75b48f7c3d6c03a86288bbb1934951
[ "Apache-2.0" ]
19
2017-08-14T17:27:44.000Z
2019-05-26T02:49:39.000Z
lib/grovepi/button.ex
suranyami/grovepi
7080639d7a75b48f7c3d6c03a86288bbb1934951
[ "Apache-2.0" ]
5
2017-09-06T02:20:28.000Z
2020-03-29T06:05:16.000Z
defmodule GrovePi.Button do alias GrovePi.Digital use GrovePi.Poller, default_trigger: GrovePi.Button.DefaultTrigger, read_type: GrovePi.Digital.level() @moduledoc """ Conveniences for working with a button. Listen for events from a GrovePi button. There are two types of events by default; presse...
26.34375
76
0.701068
ab2eac307ed71769cfd5aeeae373bf1b8ca71103
854
ex
Elixir
lib/freshcom/projectors/app_projector.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
lib/freshcom/projectors/app_projector.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
lib/freshcom/projectors/app_projector.ex
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule Freshcom.AppProjector do @moduledoc false use Freshcom.Projector use Commanded.Projections.Ecto, name: "projector:85f6535c-ca64-4fb9-826d-fedf332472b2" alias Freshcom.App alias FCIdentity.{ AppAdded, AppUpdated, AppDeleted } project(%AppAdded{} = event, _metadata) do app = St...
21.897436
92
0.673302
ab2ed5093c6fb8dc51558403e564753a111cefba
6,182
ex
Elixir
lib/exq/support/opts.ex
rraub/exq
1ba253fd8923c50033037601376a63ace2063be0
[ "Apache-2.0" ]
null
null
null
lib/exq/support/opts.ex
rraub/exq
1ba253fd8923c50033037601376a63ace2063be0
[ "Apache-2.0" ]
null
null
null
lib/exq/support/opts.ex
rraub/exq
1ba253fd8923c50033037601376a63ace2063be0
[ "Apache-2.0" ]
null
null
null
defmodule Exq.Support.Opts do alias Exq.Support.Coercion alias Exq.Support.Config @doc """ Return top supervisor's name default is Exq.Sup """ def top_supervisor(name) do name = name || Config.get(:name) "#{name}.Sup" |> String.to_atom() end defp conform_opts(opts) do mode = opts[:mode] |...
30.60396
95
0.662245
ab2ed69329b8124138991d5957e40afb9d9c52ce
1,736
ex
Elixir
web/controllers/episode_controller.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
web/controllers/episode_controller.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
web/controllers/episode_controller.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
defmodule Changelog.EpisodeController do use Changelog.Web, :controller alias Changelog.{Podcast, Episode} plug Changelog.Plug.RequireAdmin, "before preview" when action in [:preview] def show(conn, %{"podcast" => podcast, "slug" => slug}) do podcast = Repo.get_by!(Podcast, slug: podcast) episode = ...
27.125
111
0.641705
ab2ee0c0f4c631a98fcd449bd841865732c63aab
886
ex
Elixir
lib/membrane/rtcp/app_packet.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtcp/app_packet.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtcp/app_packet.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.RTCP.AppPacket do @moduledoc """ Parses RTCP Application-defined (APP) packets defined in [RFC3550](https://tools.ietf.org/html/rfc3550#section-6.7) """ defstruct [:subtype, :ssrc, :name, :data] @type t :: %__MODULE__{ subtype: non_neg_integer(), ssrc: non_neg_integer...
22.717949
81
0.58465
ab2f1764cba8fa7f47663df0727e64152c0f22cb
1,125
ex
Elixir
lib/magirator_app_channel/controllers/player_controller.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
lib/magirator_app_channel/controllers/player_controller.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
lib/magirator_app_channel/controllers/player_controller.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
defmodule MagiratorAppChannel.PlayerController do import MagiratorAppChannel.PlayerStore alias MagiratorAppChannel.DeckStore alias MagiratorAppChannel.Streamliner require Logger def do_action( action, data ) do _do_action( action, data ) end defp _do_action( "search", rou...
32.142857
91
0.702222
ab2f3106f64578f316acd7bf204b99167b8b55b7
1,002
ex
Elixir
lib/ex_platform_web/routes/accounts/unlogged_actions.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
129
2021-05-30T10:10:59.000Z
2022-03-27T14:42:48.000Z
lib/ex_platform_web/routes/accounts/unlogged_actions.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
48
2021-05-30T21:34:03.000Z
2022-02-21T14:20:04.000Z
lib/ex_platform_web/routes/accounts/unlogged_actions.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
12
2021-05-30T22:03:49.000Z
2022-02-08T19:59:16.000Z
defmodule Routes.Accounts.UnloggedActions do @moduledoc """ Actions for users which aren't behind authentication """ defmacro __using__(options \\ []) do scoped = Keyword.get(options, :scope, "/") custom_pipes = Keyword.get(options, :pipe_through, []) pipes = [] ++ custom_pipes quote do ...
37.111111
80
0.696607
ab2f3d3ad3f61189ea1c01b18ebebbc4e661debc
1,745
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/dimension_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/dimension_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/dimension_filter.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...
32.924528
126
0.712894
ab2f661d027d3d2dd72c476a76a8e1ba9cd5ea5b
639
ex
Elixir
address_validator/apps/address_validation_rest/web/views/address_view.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
address_validator/apps/address_validation_rest/web/views/address_view.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
address_validator/apps/address_validation_rest/web/views/address_view.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
defmodule AddressValidationRest.AddressView do use AddressValidationRest.Web, :view def render("index.json", %{addresses: addresses}) do %{data: render_many(addresses, AddressValidationRest.AddressView, "address.json")} end def render("show.json", %{address: address}) do %{data: render_one(address, Ad...
26.625
86
0.716745
ab2f7aa8c1d0ac373805e05f88ab2834127ba101
6,648
ex
Elixir
lib/ecto/query/window_api.ex
ThisisGurwinder/ecto
287dd359b4117faeab372c1dea673e245373fc33
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/window_api.ex
ThisisGurwinder/ecto
287dd359b4117faeab372c1dea673e245373fc33
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/window_api.ex
ThisisGurwinder/ecto
287dd359b4117faeab372c1dea673e245373fc33
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.WindowAPI do @moduledoc """ Lists all windows functions. Windows functions must always be used as the first argument of `over/2` where the second argument is the name of a window: from e in Employee, select: {e.depname, e.empno, e.salary, over(avg(e.salary), :department)}, ...
31.211268
102
0.654783
ab2fa091b7601c7622ce303c7bd08f9982c8b422
968
exs
Elixir
test/ex_ftx/spot_margin/borrow_history_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-09-27T17:19:41.000Z
2022-03-16T09:28:13.000Z
test/ex_ftx/spot_margin/borrow_history_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-07-28T19:53:02.000Z
2021-09-27T15:48:38.000Z
test/ex_ftx/spot_margin/borrow_history_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
4
2021-08-01T11:25:58.000Z
2021-10-11T22:15:44.000Z
defmodule ExFtx.SpotMargin.BorrowHistoryTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest ExFtx.SpotMargin.BorrowHistory setup_all do HTTPoison.start() :ok end @valid_credentials %ExFtx.Credentials{ api_key: System.get_env("FTX_API_KEY"), api_secr...
28.470588
98
0.725207
ab2fab927a04840eaff34f456124d40e77310c39
962
ex
Elixir
wsf_c/build/packaging/debian/postinst.ex
michaelarnauts/wso-wsf-php
48d05363fe70ffd51b159b957bf00c4128d8d615
[ "Apache-2.0" ]
1
2017-10-07T03:24:20.000Z
2017-10-07T03:24:20.000Z
wsf_c/build/packaging/debian/postinst.ex
michaelarnauts/wso-wsf-php
48d05363fe70ffd51b159b957bf00c4128d8d615
[ "Apache-2.0" ]
null
null
null
wsf_c/build/packaging/debian/postinst.ex
michaelarnauts/wso-wsf-php
48d05363fe70ffd51b159b957bf00c4128d8d615
[ "Apache-2.0" ]
4
2017-03-21T15:27:57.000Z
2021-05-27T11:20:00.000Z
#!/bin/sh # postinst script for wso2-wsf-c # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> #...
22.904762
71
0.637214
ab2fb3efa4cd7513090af7521a2b939b0b56d505
6,554
exs
Elixir
test/components/link_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
test/components/link_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
test/components/link_test.exs
lnr0626/surface
11ae4a8cfa167fc11c8f960e9d5821a057c9b5bb
[ "MIT" ]
null
null
null
defmodule Surface.Components.LinkTest do use Surface.ConnCase, async: true alias Surface.Components.Link defmodule ViewWithLink do use Surface.LiveView data disabled, :boolean, default: false def handle_event("toggle_disable", _, socket) do {:noreply, assign(socket, :disabled, !socket.assign...
27.422594
142
0.541959
ab2fc0ff35cbaac3ecf98915dac02bd1f015967e
906
ex
Elixir
clients/knowledge_graph_search/lib/google_api/knowledge_graph_search/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/knowledge_graph_search/lib/google_api/knowledge_graph_search/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/knowledge_graph_search/lib/google_api/knowledge_graph_search/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.555556
74
0.764901
ab2ffb390db84752ee62b73009b4b2642023139f
7,174
ex
Elixir
lib/phoenix_live_view/router.ex
MrYawe/phoenix_live_view
0e3215ac4b45891d5f0bd9ff1c0dfa76e12d73c9
[ "MIT" ]
1
2020-09-15T22:13:16.000Z
2020-09-15T22:13:16.000Z
lib/phoenix_live_view/router.ex
MrYawe/phoenix_live_view
0e3215ac4b45891d5f0bd9ff1c0dfa76e12d73c9
[ "MIT" ]
null
null
null
lib/phoenix_live_view/router.ex
MrYawe/phoenix_live_view
0e3215ac4b45891d5f0bd9ff1c0dfa76e12d73c9
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Router do @moduledoc """ Provides LiveView routing for Phoenix routers. """ @cookie_key "__phoenix_flash__" @doc """ Defines a LiveView route. A LiveView can be routed to by using the `live` macro with a path and the name of the LiveView: live "/thermostat", Thermost...
31.603524
99
0.66058
ab30003db2f7287e710a7c2fff69fe3b67f464c7
80
exs
Elixir
config/config.exs
lasseebert/raxx
e614d214e3ba0ed7db8f7fc6e709a554560e81e1
[ "Apache-2.0" ]
null
null
null
config/config.exs
lasseebert/raxx
e614d214e3ba0ed7db8f7fc6e709a554560e81e1
[ "Apache-2.0" ]
null
null
null
config/config.exs
lasseebert/raxx
e614d214e3ba0ed7db8f7fc6e709a554560e81e1
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :raxx, extra_statuses: [{422, "Unprocessable Entity"}]
16
49
0.725
ab302e541575e16308403e4f4611b7a78bf0c602
3,955
ex
Elixir
lib/materia_career_web/controllers/offer_controller.ex
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
null
null
null
lib/materia_career_web/controllers/offer_controller.ex
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
23
2019-01-16T01:52:22.000Z
2019-06-20T01:59:55.000Z
lib/materia_career_web/controllers/offer_controller.ex
karabiner-inc/materia_career
cb378d80a7bbb53b5370771227954d1a850ba28a
[ "Apache-2.0" ]
null
null
null
defmodule MateriaCareerWeb.OfferController do use MateriaCareerWeb, :controller alias MateriaCareer.Messages alias MateriaCareer.Messages.Offer action_fallback(MateriaWeb.FallbackController) def index(conn, _params) do offers = Messages.list_offers() render(conn, "index.json", offers: offers) end...
29.962121
120
0.690771
ab307905cc713d723b1901701233ebf4f9a54a05
535
ex
Elixir
reviews/lib/reviews_web/views/error_view.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
2
2021-09-21T13:36:49.000Z
2021-09-25T13:17:40.000Z
reviews/lib/reviews_web/views/error_view.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
null
null
null
reviews/lib/reviews_web/views/error_view.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
null
null
null
defmodule ReviewsWeb.ErrorView do use ReviewsWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from...
31.470588
83
0.719626
ab30798dbc297465d7c127e5ee7ceb9c44e12a20
17,109
ex
Elixir
lib/elixir/lib/module/types/expr.ex
dogatuncay/elixir
42875b97f858a31d3cbb8e1090ffb4d6c443ba75
[ "Apache-2.0" ]
2
2020-08-11T16:19:53.000Z
2020-08-11T18:07:11.000Z
lib/elixir/lib/module/types/expr.ex
dogatuncay/elixir
42875b97f858a31d3cbb8e1090ffb4d6c443ba75
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/elixir/lib/module/types/expr.ex
dogatuncay/elixir
42875b97f858a31d3cbb8e1090ffb4d6c443ba75
[ "Apache-2.0" ]
1
2020-12-18T19:20:35.000Z
2020-12-18T19:20:35.000Z
defmodule Module.Types.Expr do @moduledoc false alias Module.Types.{Of, Pattern} import Module.Types.{Helpers, Unify} def of_expr(expr, expected, %{context: stack_context} = stack, context) when stack_context != :expr do of_expr(expr, expected, %{stack | context: :expr}, context) end # :atom ...
32.965318
97
0.606289
ab30817fedee8512c5d1a279df916f16df3d41a8
26,774
exs
Elixir
test/scenic/math/matrix_test.exs
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
1,716
2018-09-07T21:55:43.000Z
2022-03-31T16:16:30.000Z
test/scenic/math/matrix_test.exs
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
220
2018-09-08T01:28:00.000Z
2022-03-22T03:55:17.000Z
test/scenic/math/matrix_test.exs
tiger808/scenic
77abc6d891b7a1a9262cdc47d7c5fac3c8609d1f
[ "Apache-2.0" ]
137
2018-09-07T21:55:56.000Z
2022-03-26T04:07:27.000Z
# # Copyright © 2017 Boyd Multerer. All rights reserved. # defmodule Scenic.Math.MatrixTest do use ExUnit.Case doctest Scenic.Math alias Scenic.Math.Matrix alias Scenic.Math.Matrix.Utils @matrix_a [ 3.0, 2.0, 0.0, 1.0, 4.0, ...
24.142471
98
0.436842
ab30870f9e17e096de5b32140023aee69ec579ed
998
exs
Elixir
test/controllers/page_controller_test.exs
adamniedzielski/etag_tracker
a325a05ec48efaca67f60e1db865ba16349f0de7
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
adamniedzielski/etag_tracker
a325a05ec48efaca67f60e1db865ba16349f0de7
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
adamniedzielski/etag_tracker
a325a05ec48efaca67f60e1db865ba16349f0de7
[ "MIT" ]
null
null
null
defmodule ETagTracker.PageControllerTest do use ETagTracker.ConnCase test "new visitor", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Number of previous visits: 0" assert Repo.aggregate(ETagTracker.Visitor, :count, :id) == 1 visitor = Repo.one!(ETagTracker.Visitor) ...
29.352941
69
0.664329
ab30971134e9ad4431b46eed9f42f0510c359a0f
1,839
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/84.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/84.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/84.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** quantifier pnoun cm noun noun; cm quantifier cm noun noun; noun cm cm ordinal cm; noun demonstrative cm noun noun; conj demonstrative noun cm noun; cm cardinal noun verb noun; pnoun P_wh cm noun noun; noun cm cm adjective cm; noun cm cm cm nst; noun cm cm quantifier cm; pn particle noun cm ...
26.652174
42
0.74497
ab30a34fabff4ed8eb80757695016e551f1ff9fe
495
exs
Elixir
apps/man_api/priv/repo/migrations/20190117082827_update_crpf_appendix_form4.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
apps/man_api/priv/repo/migrations/20190117082827_update_crpf_appendix_form4.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
apps/man_api/priv/repo/migrations/20190117082827_update_crpf_appendix_form4.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
defmodule Man.Repo.Migrations.UpdateCrpfAppendixForm4 do @moduledoc false use Ecto.Migration alias Man.Repo alias Man.Templates.Template import Ecto.Changeset import Ecto.Query def change do crf_body = File.read!(Application.app_dir(:man_api, "priv/static/CRPF_appendix.html.eex")) template = ...
20.625
94
0.660606
ab30a4b661a6a5c000586cfe9cb58e5693d6acf4
727
ex
Elixir
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/metrics/phoenix_instrumenter.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:22.000Z
2020-02-04T13:15:22.000Z
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/metrics/phoenix_instrumenter.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-01-20T09:52:48.000Z
2020-01-20T09:52:48.000Z
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/metrics/phoenix_instrumenter.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:50.000Z
2020-02-04T13:15:50.000Z
# # This file is part of Astarte. # # Copyright 2020 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
33.045455
74
0.774415
ab30ceef98decedb604a5d921c0230412635885e
1,010
ex
Elixir
phoenix_test/test/support/conn_case.ex
mrk21/study_elixir
1fb20f74f9f9e604ca0e757d0c45bf64b9193743
[ "MIT" ]
null
null
null
phoenix_test/test/support/conn_case.ex
mrk21/study_elixir
1fb20f74f9f9e604ca0e757d0c45bf64b9193743
[ "MIT" ]
null
null
null
phoenix_test/test/support/conn_case.ex
mrk21/study_elixir
1fb20f74f9f9e604ca0e757d0c45bf64b9193743
[ "MIT" ]
null
null
null
defmodule PhoenixTest.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with th...
24.047619
70
0.711881
ab30e54ac35c66074998a3bfa47dafbee0fdba45
335
ex
Elixir
lib/codes/codes_n23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_n23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_n23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_N23 do alias IcdCode.ICDCode def _N23 do %ICDCode{full_code: "N23", category_code: "N23", short_code: "", full_name: "Unspecified renal colic", short_name: "Unspecified renal colic", category_name: "Unspecified renal colic" ...
20.9375
50
0.620896
ab3135e06b57309cb75b1f72579e2491347024cb
3,568
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/timestamp_operator_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/timestamp_operator_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/timestamp_operator_options.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...
45.74359
146
0.72898