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
ac671e3b9ac654bd2b50d0d0d56dfb2f51553b2e
1,109
exs
Elixir
dummies/dummy2/apps/top/config/config.exs
schnittchen/onartsipac
d408f8d65320a0ae77d9c10c605a9da45f0041df
[ "MIT" ]
50
2017-05-11T14:57:57.000Z
2021-01-20T06:20:59.000Z
dummies/dummy2/apps/top/config/config.exs
schnittchen/carafe
d408f8d65320a0ae77d9c10c605a9da45f0041df
[ "MIT" ]
20
2017-05-11T14:15:26.000Z
2018-04-27T11:15:27.000Z
dummies/dummy2/apps/top/config/config.exs
schnittchen/onartsipac
d408f8d65320a0ae77d9c10c605a9da45f0041df
[ "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...
35.774194
73
0.749324
ac67c00697c1fb4f1eface0f557dc6983d9b9937
336
ex
Elixir
lib/poolgirl_supervisor.ex
data-twister/poolgirl
c893f91c1ec9ed012dc4cbf37736d203a1b0d1d2
[ "0BSD", "Unlicense" ]
null
null
null
lib/poolgirl_supervisor.ex
data-twister/poolgirl
c893f91c1ec9ed012dc4cbf37736d203a1b0d1d2
[ "0BSD", "Unlicense" ]
null
null
null
lib/poolgirl_supervisor.ex
data-twister/poolgirl
c893f91c1ec9ed012dc4cbf37736d203a1b0d1d2
[ "0BSD", "Unlicense" ]
1
2020-01-30T18:39:52.000Z
2020-01-30T18:39:52.000Z
defmodule PoolgirlSupervisor do @moduledoc false use Supervisor require Logger def start_link(mod, arg) do Supervisor.start_link(__MODULE__, {mod, arg}) end def init({mod, arg}) do children = [ worker(mod, [arg], restart: :temporary) ] supervise(children, strategy: :simple_one_fo...
18.666667
54
0.681548
ac67f0611f541779da9055c87d732756d6b7d506
362
exs
Elixir
apps/core/priv/prm_repo/migrations/20170919072307_drop_party_user_duplicates.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/prm_repo/migrations/20170919072307_drop_party_user_duplicates.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/prm_repo/migrations/20170919072307_drop_party_user_duplicates.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.PRMRepo.Migrations.DropPartyUserDuplicates do use Ecto.Migration def change do execute(""" DELETE FROM party_users WHERE id IN ( SELECT id FROM ( SELECT id, ROW_NUMBER() OVER (partition BY user_id ORDER BY inserted_at desc) AS rnum FROM party_users ) t W...
21.294118
93
0.640884
ac67fab5c5f8165b44af19d645ed8f12cbdc16e9
613
ex
Elixir
lib/ash_admin.ex
totaltrash/ash_admin
0b577d7e02a65dbf763a204a44ae3c2531f66da0
[ "MIT" ]
19
2021-03-16T09:01:22.000Z
2022-03-07T06:16:56.000Z
lib/ash_admin.ex
totaltrash/ash_admin
0b577d7e02a65dbf763a204a44ae3c2531f66da0
[ "MIT" ]
11
2021-03-29T15:46:33.000Z
2022-03-17T03:35:57.000Z
lib/ash_admin.ex
totaltrash/ash_admin
0b577d7e02a65dbf763a204a44ae3c2531f66da0
[ "MIT" ]
6
2021-03-27T19:24:52.000Z
2022-03-15T10:19:31.000Z
defmodule AshAdmin do @moduledoc false use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Define workers and child supervisors to be supervised...
29.190476
67
0.714519
ac6829c79b8138c8db4e13c07b1feddeddbbb185
1,510
ex
Elixir
test/support/data_case.ex
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
null
null
null
test/support/data_case.ex
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
null
null
null
test/support/data_case.ex
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
null
null
null
defmodule Takso.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to the...
29.038462
86
0.693377
ac683453523aff15a9ab423d1a46e64911acfcea
642
exs
Elixir
deps/db_connection/integration_test/sojourn/shutdown_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/db_connection/integration_test/sojourn/shutdown_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/db_connection/integration_test/sojourn/shutdown_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
defmodule TestShutdown do use ExUnit.Case, async: true alias TestPool, as: P alias TestAgent, as: A test "prepare returns query" do stack = [ fn(opts) -> send(opts[:parent], {:hi, self()}) {:ok, :state} end] {:ok, agent} = A.start_link(stack) opts = [agent: agent, pare...
22.928571
65
0.605919
ac6846b47c576831ec526836dd4fd0935473ecd4
923
ex
Elixir
lib/executable.ex
alexanderzinolidis/ex_ngrok
c89af6d2c8a2dc2d7c52b18100b84e7a5b8279a6
[ "MIT" ]
19
2016-11-14T12:04:50.000Z
2021-12-14T20:10:00.000Z
lib/executable.ex
alexanderzinolidis/ex_ngrok
c89af6d2c8a2dc2d7c52b18100b84e7a5b8279a6
[ "MIT" ]
6
2016-11-14T09:53:28.000Z
2021-03-19T06:45:04.000Z
lib/executable.ex
alexanderzinolidis/ex_ngrok
c89af6d2c8a2dc2d7c52b18100b84e7a5b8279a6
[ "MIT" ]
8
2016-11-15T12:49:25.000Z
2022-01-08T18:08:42.000Z
defmodule Ngrok.Executable do @moduledoc """ Spawns a foreign process that will be terminated when the application stops - See: https://shift.infinite.red/foreign-processes-and-phoenix-555179c24151#.at6f31kd4 """ use GenServer def start_link do GenServer.start_link(__MODULE__, :ok, name: __MODULE__) ...
23.075
89
0.634886
ac6853ef6372840f9d4accf7258c6bce22b22131
195
ex
Elixir
lib/imagineer/image/png/chunk/decoders/gamma.ex
ndemonner/imagineer
a6872296756cde19f8f575a7d1854d0fe7cbcb02
[ "MIT" ]
103
2015-01-28T19:09:42.000Z
2018-10-22T15:05:46.000Z
lib/imagineer/image/png/chunk/decoders/gamma.ex
tyre/imagineer
a6872296756cde19f8f575a7d1854d0fe7cbcb02
[ "MIT" ]
12
2015-07-11T05:12:41.000Z
2018-07-21T04:42:47.000Z
lib/imagineer/image/png/chunk/decoders/gamma.ex
ndemonner/imagineer
a6872296756cde19f8f575a7d1854d0fe7cbcb02
[ "MIT" ]
18
2015-06-16T15:48:34.000Z
2018-06-22T02:34:40.000Z
defmodule Imagineer.Image.PNG.Chunk.Decoders.Gamma do alias Imagineer.Image.PNG def decode(<<gamma::integer-size(32)>>, %PNG{} = image) do %PNG{image | gamma: gamma / 100_000} end end
24.375
60
0.697436
ac68658d32cf3044f790d82efc83e4c707154972
493
ex
Elixir
lib/delivery_web/views/error_view.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
null
null
null
lib/delivery_web/views/error_view.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
4
2021-03-01T20:51:23.000Z
2021-09-20T21:37:12.000Z
lib/delivery_web/views/error_view.ex
Simon-Initiative/proving-ground
ab6ba03051e55edbaa09535f11d9192776c8d901
[ "MIT" ]
null
null
null
defmodule DeliveryWeb.ErrorView do use DeliveryWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template na...
29
61
0.736308
ac686c3d812b2917d323b96b6ece489bc13834d6
1,899
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license_users_list_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license_users_list_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license_users_list_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 ...
37.98
214
0.750395
ac6875038c04734bb1972181610ffa8f4fdd9764
2,834
ex
Elixir
lib/live_beats/media_library/song.ex
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
547
2022-02-02T14:11:31.000Z
2022-03-31T12:34:03.000Z
lib/live_beats/media_library/song.ex
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
24
2022-02-02T14:11:36.000Z
2022-02-23T20:14:43.000Z
lib/live_beats/media_library/song.ex
dsdshcym/live_beats
554c97fde490b75cf1868e152a73f4066d8470b6
[ "MIT" ]
63
2022-02-02T15:59:36.000Z
2022-03-23T05:30:43.000Z
defmodule LiveBeats.MediaLibrary.Song do use Ecto.Schema import Ecto.Changeset alias LiveBeats.MediaLibrary.Song alias LiveBeats.Accounts schema "songs" do field :album_artist, :string field :artist, :string field :played_at, :utc_datetime field :paused_at, :utc_datetime field :date_reco...
31.842697
98
0.683133
ac687c44021166af8465d8339ea6e8113963f163
746
ex
Elixir
lib/sipper/cli.ex
jordelver/elixirsips
dd282b920ee96f1322a9a91f90306706858d905a
[ "MIT" ]
null
null
null
lib/sipper/cli.ex
jordelver/elixirsips
dd282b920ee96f1322a9a91f90306706858d905a
[ "MIT" ]
null
null
null
lib/sipper/cli.ex
jordelver/elixirsips
dd282b920ee96f1322a9a91f90306706858d905a
[ "MIT" ]
null
null
null
defmodule Sipper.CLI do @config_file System.user_home! |> Path.join(".elixirsips") def main(args) do args |> parse_args |> run end defp parse_args(args) do Sipper.ParameterParser.parse(args, @config_file) end defp run(options) do user = Dict.fetch!(options, :user) pw = Dict....
24.866667
74
0.595174
ac688ce13fa46690c7e7c161cc18bfd0cfe2dfb8
12,628
ex
Elixir
deps/ecto_sql/lib/ecto/adapters/mysql.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto_sql/lib/ecto/adapters/mysql.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto_sql/lib/ecto/adapters/mysql.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Ecto.Adapters.MySQL do @moduledoc """ Adapter module for MySQL. It uses `Mariaex` for communicating to the database. Currently it supports old MySQL versions but upcoming Ecto releases will require 5.7+. ## Options MySQL options split in different categories described below. All ...
34.408719
110
0.630662
ac68b05320d77de866b7e92a0aa5f11f38998e0d
276
exs
Elixir
priv/repo/migrations/20170302022202_remove_published_from_articles.exs
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
null
null
null
priv/repo/migrations/20170302022202_remove_published_from_articles.exs
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
30
2016-08-21T18:33:11.000Z
2020-04-12T23:16:18.000Z
priv/repo/migrations/20170302022202_remove_published_from_articles.exs
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
null
null
null
defmodule Scripture.Repo.Migrations.RemovePublishedFromArticles do use Ecto.Migration def up do alter table(:articles) do remove :published end end def down do alter table(:articles) do add :published, :bool, default: false end end end
17.25
66
0.692029
ac68b2f5025c662cbdc5aaf1f25bd8213467291b
17,323
exs
Elixir
test/dynamic_supervisor_test.exs
chrismcg/horde
4db95a8c35e6fcd98d9a3981bb254dfd9b8dd025
[ "MIT" ]
null
null
null
test/dynamic_supervisor_test.exs
chrismcg/horde
4db95a8c35e6fcd98d9a3981bb254dfd9b8dd025
[ "MIT" ]
null
null
null
test/dynamic_supervisor_test.exs
chrismcg/horde
4db95a8c35e6fcd98d9a3981bb254dfd9b8dd025
[ "MIT" ]
null
null
null
defmodule DynamicSupervisorTest do require Logger use ExUnit.Case defp do_setup() do n1 = :"horde_#{:rand.uniform(100_000_000)}" n2 = :"horde_#{:rand.uniform(100_000_000)}" n3 = :"horde_#{:rand.uniform(100_000_000)}" {:ok, horde_1_sup_pid} = Horde.DynamicSupervisor.start_link( name...
27.805778
103
0.61987
ac68b85937ea5eea639a3d58108f91f147b251e6
39,619
exs
Elixir
lib/mix/test/mix/dep_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2021-02-22T14:21:02.000Z
2021-02-22T14:21:02.000Z
lib/mix/test/mix/dep_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/mix/test/mix/dep_test.exs
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Mix.DepTest do use MixTest.Case defmodule DepsApp do def project do [ deps: [ {:ok, "0.1.0", path: "deps/ok"}, {:invalidvsn, "0.2.0", path: "deps/invalidvsn"}, {:invalidapp, "0.1.0", path: "deps/invalidapp"}...
34.124892
102
0.584038
ac6903dbbbcb56f2a45e9eb198fa50edd5867825
1,262
ex
Elixir
debian/osvr-rendermanager/debian/watch.ex
fkmclane/OSVR-Packaging
0cacf55e35752d22f21b67610c103e63e75bbca5
[ "MIT" ]
null
null
null
debian/osvr-rendermanager/debian/watch.ex
fkmclane/OSVR-Packaging
0cacf55e35752d22f21b67610c103e63e75bbca5
[ "MIT" ]
null
null
null
debian/osvr-rendermanager/debian/watch.ex
fkmclane/OSVR-Packaging
0cacf55e35752d22f21b67610c103e63e75bbca5
[ "MIT" ]
null
null
null
# Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 4 file version=4 # PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig #opts="pgpsigurlmangle=s%$%.s...
31.55
83
0.692552
ac6916dfc2324769e50b824dc6f9abf652eefd6e
2,343
ex
Elixir
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/gerrit_source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/gerrit_source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/gerrit_source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.711864
210
0.705933
ac69184ccc2ddf921e8d9f8bef5c1f1901a6ac67
176
exs
Elixir
config/prod.exs
AnilRedshift/yatlab-worker
6a014d2f4cc0f966eb31e955045b1e95b6b5d192
[ "MIT" ]
null
null
null
config/prod.exs
AnilRedshift/yatlab-worker
6a014d2f4cc0f966eb31e955045b1e95b6b5d192
[ "MIT" ]
2
2018-06-05T11:09:39.000Z
2019-04-15T15:32:59.000Z
config/prod.exs
AnilRedshift/yatlab-worker
6a014d2f4cc0f966eb31e955045b1e95b6b5d192
[ "MIT" ]
null
null
null
use Mix.Config config :worker, prod: true, db_host: "${DB_PORT_5432_TCP_ADDR}", db_user: "postgres", db_password: "${DB_ENV_POSTGRES_PASSWORD}", db_path: "postgres"
19.555556
45
0.710227
ac692f3daac151bd88e67bddf1e17e6a9ae54e6f
2,003
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/bucket_iam_configuration_uniform_bucket_level_access.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_iam_configuration_uniform_bucket_level_access.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_iam_configuration_uniform_bucket_level_access.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.418182
320
0.74688
ac696ad09c88c1775ef84c3eb73042f81f84a692
2,599
ex
Elixir
apps/blunt/lib/blunt/config.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
1
2022-02-18T09:11:01.000Z
2022-02-18T09:11:01.000Z
apps/blunt/lib/blunt/config.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt/lib/blunt/config.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
defmodule Blunt.Config do # TODO: Document configuration defmodule ConfigError do defexception [:message] end alias Blunt.{Behaviour, DispatchContext, DispatchContext.Shipper, DispatchStrategy, DispatchStrategy.PipelineResolver} def log_when_compiling?, do: get(:log_when_compiling, false) def cr...
24.990385
124
0.702963
ac69819987648ed6b07bf8a4f07a5a6c6929a4fa
2,776
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_context.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_context.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_context.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...
51.407407
678
0.741715
ac698df04b253f32eaa7ef56d4245026091f7261
4,267
exs
Elixir
lib/mix/test/mix/tasks/escript_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/test/mix/tasks/escript_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/escript_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.EscriptTest do use MixTest.Case defmodule Escript do def project do [ app: :escripttest, version: "0.0.1", escript: [ main_module: Escripttest, name: "escriptest", embed_elixir: true ...
29.631944
112
0.633466
ac69c080261a457dd598127f198a57fc41718d61
2,850
exs
Elixir
test/models/submission_test.exs
koenighotze/callforpaper
3ca57abc0cd8d857dedf20e70bce841264d0fe30
[ "MIT" ]
1
2017-01-25T21:34:37.000Z
2017-01-25T21:34:37.000Z
test/models/submission_test.exs
koenighotze/callforpaper
3ca57abc0cd8d857dedf20e70bce841264d0fe30
[ "MIT" ]
40
2017-02-09T07:22:25.000Z
2020-10-28T13:43:12.000Z
test/models/submission_test.exs
koenighotze/callforpaper
3ca57abc0cd8d857dedf20e70bce841264d0fe30
[ "MIT" ]
null
null
null
defmodule Callforpapers.SubmissionTest do use Callforpapers.ModelCase, async: true import Callforpapers.TestHelpers alias Callforpapers.Submission alias Callforpapers.Repo @valid_attrs %{status: "open", cfp_id: 1, talk_id: 3} @invalid_attrs %{status: "ads"} test "changeset with valid attributes" do ...
30.978261
88
0.721404
ac69c7298e90c84d8791fb7887cfc6f59f8ace42
1,731
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/test_iam_permissions_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/test_iam_permissions_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/test_iam_permissions_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.829787
288
0.751589
ac69d42ea6ba4884f20216cae9248390a8a56c9b
442
ex
Elixir
lib/brando/blueprint/villain.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/blueprint/villain.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/blueprint/villain.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Blueprint.Villain do def maybe_add_villain_html_fields(attrs) do Enum.reduce(attrs, attrs, fn attr, updated_attrs -> if attr.type == :villain do html_attr = attr.name |> to_string |> String.replace("data", "html") |> String.to_atom() ...
24.555556
67
0.581448
ac69dde30c6c78958f55295c63ac487d400e46a8
1,443
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/short_answer_submission.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/classroom/lib/google_api/classroom/v1/model/short_answer_submission.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/classroom/lib/google_api/classroom/v1/model/short_answer_submission.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...
30.702128
100
0.739432
ac69f34c7e90e1b9e76e5f6db1f2c88139f50d3b
2,998
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/bi_directional/local.ex
cipherboy/ockam
bbb6c19d8ba01847dda14ecc11588fe875512a8d
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/bi_directional/local.ex
cipherboy/ockam
bbb6c19d8ba01847dda14ecc11588fe875512a8d
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/examples/stream/bi_directional/local.ex
cipherboy/ockam
bbb6c19d8ba01847dda14ecc11588fe875512a8d
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Example.Stream.BiDirectional.Local do @moduledoc """ Ping-pong example for bi-directional stream communication using local subsctiption Use-case: integrate ockam nodes which implement stream protocol consumer and publisher Pre-requisites: Ockam hub running with stream service and TCP liste...
26.530973
88
0.709139
ac6a049300d868b767c17f1613540e6f40b6a181
76
exs
Elixir
test/test_helper.exs
UnofficialJuliaMirror/bors-ng-bors-ng
fcec51b5f6e5a691d3e310bd35ba7b74e55b667f
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
UnofficialJuliaMirror/bors-ng-bors-ng
fcec51b5f6e5a691d3e310bd35ba7b74e55b667f
[ "Apache-2.0" ]
1
2020-03-07T08:28:14.000Z
2020-03-07T08:28:14.000Z
test/test_helper.exs
UnofficialJuliaMirror/bors-ng-bors-ng
fcec51b5f6e5a691d3e310bd35ba7b74e55b667f
[ "Apache-2.0" ]
3
2020-11-15T16:17:58.000Z
2021-06-04T11:26:42.000Z
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(BorsNG.Database.Repo, :manual)
19
61
0.802632
ac6a1cc1ec65014400714c1d1a5f48ea1c687779
372
exs
Elixir
advanced/EEx.exs
MaraniMatias/elixir-hola-mundo
325a6ba623378521ec6f79bd4627a0eb7c6cd1fa
[ "MIT" ]
1
2016-12-25T09:53:53.000Z
2016-12-25T09:53:53.000Z
advanced/EEx.exs
MaraniMatias/elixir-hola-mundo
325a6ba623378521ec6f79bd4627a0eb7c6cd1fa
[ "MIT" ]
null
null
null
advanced/EEx.exs
MaraniMatias/elixir-hola-mundo
325a6ba623378521ec6f79bd4627a0eb7c6cd1fa
[ "MIT" ]
null
null
null
# Evaluation IO.puts EEx.eval_string "Hi, <%= name %>", [name: "Sean"] # "Hi, Sean" # Definitions # greeting.eex Hi, <%= name %> defmodule Example do require EEx EEx.function_from_file :def, :greeting, "greeting.eex", [:name] end IO.puts Example.greeting("Sean") # "Hi, Sean" # Engine IO.puts EEx.eval_string "Hi, ...
24.8
80
0.645161
ac6a1e1f326763c58d484ae9a5167f327d1bd745
3,205
ex
Elixir
lib/livebook/runtime/elixir_standalone.ex
romkor/livebook
ac4bb63d924148c0b21376d635d47470c56cfad1
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/elixir_standalone.ex
romkor/livebook
ac4bb63d924148c0b21376d635d47470c56cfad1
[ "Apache-2.0" ]
1
2021-09-18T01:09:08.000Z
2021-09-18T01:09:08.000Z
lib/livebook/runtime/elixir_standalone.ex
romkor/livebook
ac4bb63d924148c0b21376d635d47470c56cfad1
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Runtime.ElixirStandalone do defstruct [:node, :primary_pid] # A runtime backed by a standalone Elixir node managed by Livebook. # # Livebook is responsible for starting and terminating the node. # Most importantly we have to make sure the started node doesn't # stay in the system when th...
28.114035
93
0.675819
ac6a23da5fe18b75137ca2d67cd49cd62033a9db
675
exs
Elixir
test/square_payments_test.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
test/square_payments_test.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
test/square_payments_test.exs
iwatakeshi/square-elixir-sdk
011b4575b0723a16942b87b6fb98fab558e8d847
[ "Apache-2.0" ]
null
null
null
defmodule Square.PaymentsTest do use ExUnit.Case import Square import Square.Payments test "list all payments" do response = client() |> list_payments() assert {:ok, res} = response assert res.status == 200 end test "create a payment (nonce)" do body = %{ amount_money: %...
21.774194
70
0.604444
ac6a476adaea7768182c8ed36b1e2ff070611243
351
ex
Elixir
lib/supabase_surface/components/icons/icon_check_square.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_check_square.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_check_square.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconCheckSquare do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.check_square(width: icon_size, height: icon_size)} </Ic...
23.4
70
0.726496
ac6a51835dee7f33326885e1e24b8de0a3f409da
3,046
ex
Elixir
lib/membrane_http_adaptive_stream/manifest.ex
membraneframework/membrane_http_adaptive_stream_plugin
13e6847dad7f7ff26a2ac33b3e38fd7afc9189f8
[ "Apache-2.0" ]
7
2020-06-09T09:51:22.000Z
2021-12-26T19:12:58.000Z
lib/membrane_http_adaptive_stream/manifest.ex
membraneframework/membrane_http_adaptive_stream_plugin
13e6847dad7f7ff26a2ac33b3e38fd7afc9189f8
[ "Apache-2.0" ]
11
2020-07-31T09:29:06.000Z
2022-01-12T09:30:24.000Z
lib/membrane_http_adaptive_stream/manifest.ex
membraneframework/membrane_http_adaptive_stream_plugin
13e6847dad7f7ff26a2ac33b3e38fd7afc9189f8
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.HTTPAdaptiveStream.Manifest do @moduledoc """ Behaviour for manifest serialization. """ use Bunch.Access alias __MODULE__.Track @callback serialize(t) :: [{manifest_name :: String.t(), manifest_content :: String.t()}] @type t :: %__MODULE__{ name: String.t(), modul...
32.404255
119
0.658569
ac6a77d6873bc98247e35895e0e2edb500aadba3
2,563
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__normalized_bounding_poly.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__normalized_bounding_poly.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__normalized_bounding_poly.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.723684
191
0.732345
ac6a88656ab84dd889a34a67bcedd67a5c295a48
671
exs
Elixir
test/test_drive_test.exs
mindreframer/nap
ea1951c830061b6aa880a6ed00a80b7e8870c5fa
[ "MIT" ]
null
null
null
test/test_drive_test.exs
mindreframer/nap
ea1951c830061b6aa880a6ed00a80b7e8870c5fa
[ "MIT" ]
null
null
null
test/test_drive_test.exs
mindreframer/nap
ea1951c830061b6aa880a6ed00a80b7e8870c5fa
[ "MIT" ]
null
null
null
defmodule NapTestDriveTest do use ExUnit.Case, async: true use Nap.TestCase defmodule MyStruct, do: defstruct(a: nil, b: nil) test "normal ExUnit test" do assert 1 == 1 end napshot "nap snapshot test case" do assert 1 == 1 assert_nap(currnap, 100) assert_nap(currnap, 10.0) assert_nap(...
21.645161
51
0.642325
ac6a8d7338760c92891461d4bb1cfdb66e14f1d4
163
ex
Elixir
lib/todo_zen_web/channels/room_channel.ex
zentetsukenz/todo_zen
d9c8b80d87f59476f099b6c2c72ef9544da28d57
[ "Unlicense" ]
null
null
null
lib/todo_zen_web/channels/room_channel.ex
zentetsukenz/todo_zen
d9c8b80d87f59476f099b6c2c72ef9544da28d57
[ "Unlicense" ]
null
null
null
lib/todo_zen_web/channels/room_channel.ex
zentetsukenz/todo_zen
d9c8b80d87f59476f099b6c2c72ef9544da28d57
[ "Unlicense" ]
null
null
null
defmodule TodoZenWeb.RoomChannel do use Phoenix.Channel def join(channel_name, _params, socket) do {:ok, %{channel_name: channel_name}, socket} end end
20.375
48
0.742331
ac6a9ea8a5ccce42eeece1562a19b1000138dc8c
391
exs
Elixir
test/todotin/utils_messages_test.exs
matin-nayob/todotin
8f356118a7197ef9276ce3fa8437de1d03c356f9
[ "Unlicense" ]
null
null
null
test/todotin/utils_messages_test.exs
matin-nayob/todotin
8f356118a7197ef9276ce3fa8437de1d03c356f9
[ "Unlicense" ]
null
null
null
test/todotin/utils_messages_test.exs
matin-nayob/todotin
8f356118a7197ef9276ce3fa8437de1d03c356f9
[ "Unlicense" ]
null
null
null
defmodule Todotin.Utils.MessagesTest do use ExUnit.Case alias Todotin.Utils.Messages test "message_404" do reason = "test reason" prop1 = "prop1" prop2 = "prop2" props = %{prop1: prop1, prop2: prop2} expected = Jason.encode!(%{reason: reason, prop1: prop1, prop2: prop2}) actual = Messag...
21.722222
75
0.675192
ac6ae3670412e035207fe19dbdff0c2f5a73dafe
1,370
ex
Elixir
lib/sanbase/timeline/order.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/timeline/order.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/timeline/order.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Timeline.Order do import Ecto.Query alias Sanbase.EctoHelper alias Sanbase.Repo def events_order_limit_preload_query(query, order_by, limit) do query |> limit(^limit) |> order_by_query(order_by) |> preload([:user_trigger, [post: :tags], :user_list, :user, :votes]) end de...
24.909091
73
0.624818
ac6b5820adc97180eb95ef46cb209cd34b859b94
2,572
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/function_mock.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/function_mock.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/function_mock.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...
47.62963
541
0.744168
ac6b5c85c70f0ec91f8401211662fdb42ecdca53
137,724
ex
Elixir
lib/elixir/lib/enum.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
defprotocol Enumerable do @moduledoc """ Enumerable protocol used by `Enum` and `Stream` modules. When you invoke a function in the `Enum` module, the first argument is usually a collection that must implement this protocol. For example, the expression `Enum.map([1, 2, 3], &(&1 * 2))` invokes `Enumerable.r...
29.11097
118
0.615797
ac6b7298e5edee6f09dfa61605bd4302e8fe1e77
1,081
ex
Elixir
lib/util/map_util.ex
andyl/superwatch
9a9dfc1fedb743279e2aaa259809e040fa29f00b
[ "MIT" ]
null
null
null
lib/util/map_util.ex
andyl/superwatch
9a9dfc1fedb743279e2aaa259809e040fa29f00b
[ "MIT" ]
null
null
null
lib/util/map_util.ex
andyl/superwatch
9a9dfc1fedb743279e2aaa259809e040fa29f00b
[ "MIT" ]
null
null
null
defmodule Util.MapUtil do def atomify_keys(data) when is_list(data) do case all_tuples(data) do true -> data|> Enum.into(%{}) |> atomify_keys() _ -> data |> Enum.map(&atomify_keys/1) end end def atomify_keys({key, val}) do %{atomify(key) => val} end def atomify_keys(data) when is_ma...
20.788462
85
0.665125
ac6b97c617cf0224b777c8e5efa72e643b6e490a
1,172
ex
Elixir
lib/oli_web/common/lti_session.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli_web/common/lti_session.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli_web/common/lti_session.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule OliWeb.Common.LtiSession do @moduledoc """ A module for managing a user's session data across possibly different platforms and course sections. For example: ``` %{ user_params: string(), # latest lti params associated with this user from the most recent launch sections: %{ [s...
25.478261
116
0.677474
ac6babf90ee73dcfc7d5e5be3aaa35d9c9b7de8d
1,644
ex
Elixir
clients/os_login/lib/google_api/os_login/v1alpha/model/import_ssh_public_key_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/os_login/lib/google_api/os_login/v1alpha/model/import_ssh_public_key_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/os_login/lib/google_api/os_login/v1alpha/model/import_ssh_public_key_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 ...
34.978723
143
0.759732
ac6bb80ae8260edf03546fdc78e74a808fba99d8
602
ex
Elixir
lib/epicenter_web/live_component/helpers.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter_web/live_component/helpers.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter_web/live_component/helpers.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.LiveComponent.Helpers do require Phoenix.LiveView.Helpers defmacro component(module, id, opts \\ [], do_block \\ []) do quote do is_stateful = Enum.member?(unquote(module).__info__(:functions), {:handle_event, 3}) || Enum.member?(unquote(module).__info__(:functions), {:prel...
31.684211
147
0.639535
ac6bc159d6d164d9bcb5e27b0ba99d80b1a71b98
5,123
exs
Elixir
integration_test/sql/sql.exs
tcrossland/ecto_sql
94a9bb8afe7c09f98f566433fa72ef93badc52ba
[ "Apache-2.0" ]
384
2018-10-03T17:52:39.000Z
2022-03-24T17:54:21.000Z
integration_test/sql/sql.exs
tcrossland/ecto_sql
94a9bb8afe7c09f98f566433fa72ef93badc52ba
[ "Apache-2.0" ]
357
2018-10-06T13:47:33.000Z
2022-03-29T08:18:02.000Z
deps/ecto_sql/integration_test/sql/sql.exs
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
251
2018-10-04T11:06:41.000Z
2022-03-29T07:22:53.000Z
defmodule Ecto.Integration.SQLTest do use Ecto.Integration.Case, async: true alias Ecto.Integration.TestRepo alias Ecto.Integration.Barebone alias Ecto.Integration.Post alias Ecto.Integration.CorruptedPk import Ecto.Query, only: [from: 2] test "fragmented types" do datetime = ~N[2014-01-16 20:26:51]...
33.051613
210
0.617802
ac6bea8aceef2d53cba87c058714201aa4d4470f
467
ex
Elixir
lib/todos_player_service/server.ex
grrizzly/todos-player-service
1000421eb77af6422bfd4a8a6996cea284aea253
[ "MIT" ]
null
null
null
lib/todos_player_service/server.ex
grrizzly/todos-player-service
1000421eb77af6422bfd4a8a6996cea284aea253
[ "MIT" ]
null
null
null
lib/todos_player_service/server.ex
grrizzly/todos-player-service
1000421eb77af6422bfd4a8a6996cea284aea253
[ "MIT" ]
null
null
null
defmodule TodosPlayerService.Server do @config Application.get_env(:todos_player_service, TodosPlayerService.Server) use Riffed.Server, service: :todos_player_service_thrift, structs: TodosPlayerService.Models, functions: [createPlayer: &TodosPlayerService.Handler.create_player/0, todoCompleted...
38.916667
79
0.775161
ac6c3bf1161861ba2ef40cbc1737252303a4b297
15,808
ex
Elixir
lib/mix/lib/mix/tasks/xref.ex
ericdeansanchez/elixir
b2270d7d3d985eaa4d3afcd523a39da1e1161f48
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/xref.ex
ericdeansanchez/elixir
b2270d7d3d985eaa4d3afcd523a39da1e1161f48
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/xref.ex
ericdeansanchez/elixir
b2270d7d3d985eaa4d3afcd523a39da1e1161f48
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Xref do use Mix.Task import Mix.Compilers.Elixir, only: [read_manifest: 1, source: 0, source: 1, source: 2, module: 1] @shortdoc "Prints cross reference information" @recursive true @manifest "compile.elixir" @moduledoc """ Prints cross reference information between modules. ...
29.328386
98
0.626202
ac6c440ebe16e0e05773b32fa3d9b9987f11d373
416
ex
Elixir
lib/type/_message.ex
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
97
2020-09-22T01:52:19.000Z
2022-03-21T17:50:13.000Z
lib/type/_message.ex
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
106
2020-09-22T18:55:28.000Z
2021-11-30T01:51:04.000Z
lib/type/_message.ex
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
3
2020-10-27T22:36:56.000Z
2022-01-25T21:00:24.000Z
defmodule Type.Message do @moduledoc """ TBA """ @enforce_keys [:type, :target] defstruct @enforce_keys ++ [meta: []] @type t :: %__MODULE__{ type: Type.t, target: Type.t, meta: [ file: Path.t, line: non_neg_integer, warning: atom, message: String.t ] } de...
16.64
55
0.576923
ac6c4a98f22a4cf7e7296b6168739aebdeb40aa9
1,766
exs
Elixir
mix.exs
chulkilee/elixir_agent
616bede6dc2c3f0ea54cb06be435bc993751e662
[ "Apache-2.0" ]
null
null
null
mix.exs
chulkilee/elixir_agent
616bede6dc2c3f0ea54cb06be435bc993751e662
[ "Apache-2.0" ]
null
null
null
mix.exs
chulkilee/elixir_agent
616bede6dc2c3f0ea54cb06be435bc993751e662
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Mixfile do use Mix.Project @source_url "https://github.com/newrelic/elixir_agent" def project do [ app: :new_relic_agent, description: "New Relic's Open-Source Elixir Agent", version: agent_version(), elixir: "~> 1.8", build_embedded: Mix.env() == :prod, ...
24.873239
80
0.550963
ac6c4b2ba5f21bf822619a5742fea65559604071
1,353
ex
Elixir
lib/webapp_web/plugs/team_context.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
lib/webapp_web/plugs/team_context.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
lib/webapp_web/plugs/team_context.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule WebappWeb.TeamContext do import Plug.Conn import Phoenix.Controller alias Webapp.{Accounts, Accounts.Team, Accounts.User} def init(opts), do: opts @doc """ Set user namespace if there is no team namespace, based on current user. """ def call( %Plug.Conn{assigns: %{current_user: %Use...
27.06
98
0.627494
ac6c5cc6aa1cd31d53706e4722eef03bb6cd971a
4,947
exs
Elixir
test/cocktail/minutely_test.exs
gadabout/cocktail
3dd3b6ee60d6f99b640f092c974d067338dd589b
[ "MIT" ]
117
2017-09-09T00:02:32.000Z
2022-02-10T15:36:28.000Z
test/cocktail/minutely_test.exs
gadabout/cocktail
3dd3b6ee60d6f99b640f092c974d067338dd589b
[ "MIT" ]
193
2017-09-09T22:49:18.000Z
2022-03-30T13:05:25.000Z
test/cocktail/minutely_test.exs
gadabout/cocktail
3dd3b6ee60d6f99b640f092c974d067338dd589b
[ "MIT" ]
20
2018-01-04T14:58:42.000Z
2021-11-25T13:59:10.000Z
defmodule Cocktail.MinutelyTest do use ExUnit.Case alias Cocktail.Schedule import Cocktail.TestSupport.DateTimeSigil test "Minutely" do times = ~Y[2017-01-01 06:00:00 America/Los_Angeles] |> Cocktail.schedule() |> Schedule.add_recurrence_rule(:minutely) |> Cocktail.Schedule.occurr...
36.375
105
0.592076
ac6c69aa45e442b26ccfbd0ef9603cf21b026d7a
1,054
exs
Elixir
deps/makeup_elixir/lib/makeup/lexers/elixir_lexer/atoms.ex.exs
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
11
2020-10-02T10:24:08.000Z
2022-02-16T08:26:48.000Z
deps/makeup_elixir/lib/makeup/lexers/elixir_lexer/atoms.ex.exs
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
14
2020-09-29T17:22:28.000Z
2022-02-08T12:50:28.000Z
deps/makeup_elixir/lib/makeup/lexers/elixir_lexer/atoms.ex.exs
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
5
2021-01-09T12:19:38.000Z
2022-02-27T17:48:37.000Z
defmodule Makeup.Lexers.ElixirLexer.Atoms do @moduledoc false # parsec:Makeup.Lexers.ElixirLexer.Atoms # This module is generated at "dev time" so that the lexer # doesn't have to depend on the (excelent) `unicode_set` library, # which takes several minutes to compile. import NimbleParsec atom_start_uni...
43.916667
112
0.748577
ac6c8ec858124954c706d3c378736d55f43c1dda
1,249
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/connection.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/connection.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/connection.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...
36.735294
77
0.739792
ac6cae099350de964c9fc254f13af2812296f350
865
ex
Elixir
apps/core/lib/core/docker/event.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/lib/core/docker/event.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/lib/core/docker/event.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Docker.Event do alias Core.Docker.{Pull, Push} defmacro __using__(_) do quote do defstruct [:repository, :tag, :digest, :actor] def new(%{"repository" => repo, "digest" => digest} = blob, actor \\ nil) do %__MODULE__{ repository: repo, tag: blob["tag"], ...
27.03125
100
0.595376
ac6ce906e6778cdcc55cd776ad4da8131438ac82
2,538
ex
Elixir
lib/movielist_web/controllers/movie_controller.ex
allen-garvey/movielist-phoenix
8105db8c6eb6a35e0dcfa1939b3a659be43cda1e
[ "MIT" ]
null
null
null
lib/movielist_web/controllers/movie_controller.ex
allen-garvey/movielist-phoenix
8105db8c6eb6a35e0dcfa1939b3a659be43cda1e
[ "MIT" ]
2
2021-05-08T02:24:44.000Z
2022-02-10T15:35:55.000Z
lib/movielist_web/controllers/movie_controller.ex
allen-garvey/movielist-phoenix
8105db8c6eb6a35e0dcfa1939b3a659be43cda1e
[ "MIT" ]
null
null
null
defmodule MovielistWeb.MovieController do use MovielistWeb, :controller alias Movielist.Admin alias Movielist.Admin.Movie def related_fields() do [ genres: Admin.list_genres() |> MovielistWeb.GenreView.map_for_form, ] end def index(conn, _params) do movies = Admin.list_movies() rend...
31.333333
106
0.663121
ac6cea1dd05d588b536b39f08a4e6b52a6007c67
1,356
exs
Elixir
test/xdr/types/signature_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/types/signature_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/types/signature_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.SignatureTest do use ExUnit.Case alias StellarBase.XDR.Signature describe "Signature" do setup do secret = "SAPVVUQ2G755KGQOOY5A3AGTMWCCQQTJMGSXAUKMFT45OFCL7NCSTRWI" %{ secret: secret, signature: Signature.new(secret), binary: <<0, 0, ...
30.133333
96
0.605457
ac6cec0f7f1434a5e6038a011bd01ae8866ea36c
1,418
exs
Elixir
mix.exs
jb3/concoction
371cd17e5d1b0b1d4f2d8b145378c1775ff8337c
[ "MIT" ]
1
2020-09-04T00:15:25.000Z
2020-09-04T00:15:25.000Z
mix.exs
jb3/concoction
371cd17e5d1b0b1d4f2d8b145378c1775ff8337c
[ "MIT" ]
19
2020-09-03T04:34:54.000Z
2020-09-03T22:40:38.000Z
mix.exs
jb3/concoction
371cd17e5d1b0b1d4f2d8b145378c1775ff8337c
[ "MIT" ]
null
null
null
defmodule Concoction.MixProject do use Mix.Project def project do [ app: :concoction, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), description: "Concoction is a Discord API wrapper for Elixir.", packa...
21.815385
69
0.51622
ac6cfa8b94d8ac125842463c372587835fa308e7
583
ex
Elixir
lib/parseus/processors/rename_processor.ex
surgeventures/parseus
3c26c41dff8bdfb9851e5ebea1be2a4fa4ea6bd2
[ "MIT" ]
2
2017-10-18T17:53:43.000Z
2020-05-01T23:31:36.000Z
lib/parseus/processors/rename_processor.ex
surgeventures/parseus
3c26c41dff8bdfb9851e5ebea1be2a4fa4ea6bd2
[ "MIT" ]
null
null
null
lib/parseus/processors/rename_processor.ex
surgeventures/parseus
3c26c41dff8bdfb9851e5ebea1be2a4fa4ea6bd2
[ "MIT" ]
null
null
null
defmodule Parseus.RenameProcessor do @moduledoc false alias Parseus.Set def call(set = %Set{output: output, mapping: mapping}, old_key, new_key) do map_value = Keyword.fetch!(mapping, old_key) new_mapping = mapping |> Keyword.delete(old_key) |> Keyword.put(new_key, map_value) new_...
23.32
77
0.632933
ac6cfb613c6a5acc99f901010bbd92759a537566
1,895
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2beta1_knowledge_answers.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_v2beta1_knowledge_answers.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_v2beta1_knowledge_answers.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...
32.118644
180
0.743008
ac6d3a4feed53577f04b5816f770552ebc2638c8
2,142
ex
Elixir
apps/artemis/lib/artemis/workers/instances/pager_duty_on_call_synchronizer.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/lib/artemis/workers/instances/pager_duty_on_call_synchronizer.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/lib/artemis/workers/instances/pager_duty_on_call_synchronizer.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.Worker.PagerDutyOnCallSynchronizer do use Artemis.IntervalWorker, enabled: enabled?(), interval: :timer.seconds(15), delayed_start: :timer.seconds(5), name: :pager_duty_on_call_synchronizer alias Artemis.Drivers.PagerDuty alias Artemis.Worker.PagerDutyEscalationPolicySynchronize...
27.461538
114
0.695145
ac6d61ede7efddcffb6654f220897534f071e700
576
ex
Elixir
roman-numerals/lib/roman_numerals.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
1
2022-01-23T20:34:09.000Z
2022-01-23T20:34:09.000Z
roman-numerals/lib/roman_numerals.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
roman-numerals/lib/roman_numerals.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
defmodule RomanNumerals do @moduledoc false @symbols [ [1000, "M"], [900, "CM"], [500, "D"], [400, "CD"], [100, "C"], [90, "XC"], [50, "L"], [40, "XL"], [10, "X"], [9, "IX"], [5, "V"], [4, "IV"], [1, "I"] ] @doc """ Convert the number to a roman number. ...
18.580645
87
0.493056
ac6d6642fb27b08bacfeb1635ced8730b410f593
1,293
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/clear_values_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/sheets/lib/google_api/sheets/v4/model/clear_values_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/clear_values_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
30.785714
77
0.761021
ac6d6d456cb4988d6f16c6d8fe128a5e797e14e1
5,396
ex
Elixir
lib/kazan/client/imp.ex
hexedpackets/kazan
fcf4f841ff79f265eb3ccc2798c1c5c3e935e1b5
[ "MIT" ]
null
null
null
lib/kazan/client/imp.ex
hexedpackets/kazan
fcf4f841ff79f265eb3ccc2798c1c5c3e935e1b5
[ "MIT" ]
null
null
null
lib/kazan/client/imp.ex
hexedpackets/kazan
fcf4f841ff79f265eb3ccc2798c1c5c3e935e1b5
[ "MIT" ]
null
null
null
defmodule Kazan.Client.Imp do @moduledoc false # Kazan.Client sends requests to a kubernetes server. # These requests should be built using the functions in the `Kazan.Apis` module. alias Kazan.{Request, Server} @type run_result :: {:ok, struct} | {:error, term} @doc """ Makes a request against a kube ...
26.845771
141
0.575982
ac6dac75eeba009a0fb22252e2ef112d437b5d53
1,184
exs
Elixir
apps/core/priv/prm_repo/migrations/20170927101510_rename_substance_to_innm_update_ingredients.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/priv/prm_repo/migrations/20170927101510_rename_substance_to_innm_update_ingredients.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/priv/prm_repo/migrations/20170927101510_rename_substance_to_innm_update_ingredients.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.PRMRepo.Migrations.RenameSubstancesToINNMUpdateIngredients do use Ecto.Migration def change do drop(table(:ingredients)) drop(table(:substances)) create table(:innms, primary_key: false) do add(:id, :uuid, primary_key: true) add(:sctid, :string, null: true) add(:name, ...
33.828571
103
0.671453
ac6dbd1a9ff0e015bdc3ac1cb8513d12f6894a29
5,673
ex
Elixir
lib/aws/generated/transcribe_streaming.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/transcribe_streaming.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/transcribe_streaming.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.TranscribeStreaming do @moduledoc """ Operations and objects for transcribing streaming speech to text. """ alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadat...
35.679245
93
0.647277
ac6dd3814a130cbaeacd287581a94533f0abc6fa
1,502
ex
Elixir
lib/surface/catalogue/live/playground_live.ex
RobertDober/surface_catalogue
05495b00573b4138a167812e33e8d441590e4c89
[ "MIT" ]
132
2021-02-02T04:03:17.000Z
2022-03-24T07:02:00.000Z
lib/surface/catalogue/live/playground_live.ex
RobertDober/surface_catalogue
05495b00573b4138a167812e33e8d441590e4c89
[ "MIT" ]
30
2021-02-16T13:18:43.000Z
2022-03-20T20:25:47.000Z
lib/surface/catalogue/live/playground_live.ex
RobertDober/surface_catalogue
05495b00573b4138a167812e33e8d441590e4c89
[ "MIT" ]
17
2021-03-20T16:23:13.000Z
2022-03-15T16:21:08.000Z
defmodule Surface.Catalogue.PlaygroundLive do use Surface.LiveView alias Surface.Catalogue.Playground @default_body [style: "padding: 1.5rem; height: 100%; background-color: #f5f5f5"] data playground, :module data head_css, :string data head_js, :string data body, :keyword data __window_id__, :string...
28.884615
108
0.639148
ac6dfe8138f8b167419853ae6c57e1765dc3da99
5,051
ex
Elixir
farmbot_celery_script/lib/farmbot_celery_script/compilers/move_compiler.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_celery_script/lib/farmbot_celery_script/compilers/move_compiler.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_celery_script/lib/farmbot_celery_script/compilers/move_compiler.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotCeleryScript.Compiler.Move do alias FarmbotCeleryScript.SysCalls alias FarmbotCeleryScript.SpecialValue def move(%{body: body}, _env) do quote location: :keep do node_body = unquote(body) mod = unquote(__MODULE__) mod.perform_movement(node_body, better_params) end end...
25.255
82
0.615126
ac6e298beb2e147978dbf15a046598631ab5d138
24,028
ex
Elixir
lib/github/github/server.ex
gfleury/bors-ng
02ca714283a5c5a2592c8b5ce5409e3db00ac954
[ "Apache-2.0" ]
1,223
2017-01-11T19:25:08.000Z
2022-03-21T12:31:28.000Z
lib/github/github/server.ex
gfleury/bors-ng
02ca714283a5c5a2592c8b5ce5409e3db00ac954
[ "Apache-2.0" ]
1,428
2017-01-09T16:36:18.000Z
2022-03-28T14:19:40.000Z
lib/github/github/server.ex
gfleury/bors-ng
02ca714283a5c5a2592c8b5ce5409e3db00ac954
[ "Apache-2.0" ]
184
2017-01-10T18:08:06.000Z
2022-03-14T18:53:24.000Z
require Logger defmodule BorsNG.GitHub.Server do use GenServer alias BorsNG.GitHub @moduledoc """ Provides a real connection to GitHub's REST API. This doesn't currently do rate limiting, but it will. """ def start_link do GenServer.start_link(__MODULE__, :ok, name: GitHub) end @installation_c...
24.873706
98
0.55581
ac6e308e5f90cb9e11c13a9e3a0b5285fce89d67
292
ex
Elixir
apps/web_api/lib/web_api_web/views/success_view.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
1
2020-10-23T19:25:27.000Z
2020-10-23T19:25:27.000Z
apps/web_api/lib/web_api_web/views/success_view.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
5
2019-01-11T11:48:08.000Z
2019-01-16T17:29:23.000Z
apps/web_api/lib/web_api_web/views/success_view.ex
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
7
2019-10-09T05:49:52.000Z
2022-03-23T16:48:45.000Z
defmodule Staxx.WebApiWeb.SuccessView do use Staxx.WebApiWeb, :view def render("200.json", %{data: data}) do %{status: 0, errors: [], message: "", data: data} end def render("200.json", %{message: message}) do %{status: 0, errors: [], message: message, data: %{}} end end
24.333333
57
0.626712
ac6e7d8c874c020e0e1b7d8c8c88bf57ba9fa5a3
10,370
exs
Elixir
test/command_test.exs
djmitche/bors-ng
a52d680ec0fa8cda8aa373c1f2cb015dccf99e3d
[ "Apache-2.0" ]
null
null
null
test/command_test.exs
djmitche/bors-ng
a52d680ec0fa8cda8aa373c1f2cb015dccf99e3d
[ "Apache-2.0" ]
null
null
null
test/command_test.exs
djmitche/bors-ng
a52d680ec0fa8cda8aa373c1f2cb015dccf99e3d
[ "Apache-2.0" ]
null
null
null
defmodule BorsNG.CommandTest do use ExUnit.Case alias BorsNG.Command alias BorsNG.Database.Installation alias BorsNG.Database.Project alias BorsNG.Database.Repo alias BorsNG.GitHub doctest BorsNG.Command setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) inst = %Installation{installatio...
23.949192
76
0.548312
ac6e9764d353a6ff7658935ed110b330f8f6447d
1,829
exs
Elixir
mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWallet.Umbrella.Mixfile do use Mix.Project def project do [ apps_path: "apps", start_permanent: Mix.env == :prod, test_coverage: [tool: ExCoveralls], preferred_cli_env: [ "coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "...
25.402778
75
0.501914
ac6ed2bdeed263c428c6197382c82dd980f57ecb
705
ex
Elixir
memory-master/lib/memory_web/gettext.ex
Wycode-fish/WEBDEV-MEMORY-GAME
1b04f995fb1a545781206a7fd01de0a1bb75d86c
[ "MIT" ]
null
null
null
memory-master/lib/memory_web/gettext.ex
Wycode-fish/WEBDEV-MEMORY-GAME
1b04f995fb1a545781206a7fd01de0a1bb75d86c
[ "MIT" ]
null
null
null
memory-master/lib/memory_web/gettext.ex
Wycode-fish/WEBDEV-MEMORY-GAME
1b04f995fb1a545781206a7fd01de0a1bb75d86c
[ "MIT" ]
null
null
null
defmodule MemoryWeb.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 MemoryWeb.Gettext # Simple translation gettext "Here is the...
28.2
72
0.679433
ac6eeb66a985d6b94a91d7d8abfb07c249820870
1,527
ex
Elixir
lib/medic/checks/corepack.ex
eahanson/medic
01f35f2aa22e7120cf1bd492e6e5400a29224791
[ "MIT" ]
null
null
null
lib/medic/checks/corepack.ex
eahanson/medic
01f35f2aa22e7120cf1bd492e6e5400a29224791
[ "MIT" ]
null
null
null
lib/medic/checks/corepack.ex
eahanson/medic
01f35f2aa22e7120cf1bd492e6e5400a29224791
[ "MIT" ]
null
null
null
defmodule Medic.Checks.Corepack do @moduledoc """ Corepack is a thing build into node to shim package managers. """ def shim_installed?(shim) do with {:ok, node_version} <- node_version(), :ok <- corepack_shim_installed?(node_version, shim) do global_package_installed?(shim) end end ...
27.763636
108
0.584807
ac6eed7df3ee84bb083c80f84e2d6baa5b45134f
535
ex
Elixir
lib/quantum/execution_broadcaster/state.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
lib/quantum/execution_broadcaster/state.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
lib/quantum/execution_broadcaster/state.ex
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
null
null
null
defmodule Quantum.ExecutionBroadcaster.State do @moduledoc false # State of Quantum.ExecutionBroadcaster alias Quantum.{Job, Scheduler, Storage} @type t :: %__MODULE__{ jobs: [{NaiveDateTime.t(), [Job.t()]}], time: NaiveDateTime.t(), timer: {reference(), NaiveDateTime.t()} | nil...
26.75
76
0.631776
ac6f3b904b45771192108ea9378188e838ab270f
333
ex
Elixir
lib/hex/netrc.ex
hexpm/hex
e732ccb3daf13a7c271b3c8442b5db6832a7f298
[ "Apache-2.0" ]
824
2015-01-05T09:12:36.000Z
2022-03-28T12:02:29.000Z
lib/hex/netrc.ex
hexpm/hex
e732ccb3daf13a7c271b3c8442b5db6832a7f298
[ "Apache-2.0" ]
737
2015-01-01T05:48:46.000Z
2022-03-29T12:56:12.000Z
lib/hex/netrc.ex
hexpm/hex
e732ccb3daf13a7c271b3c8442b5db6832a7f298
[ "Apache-2.0" ]
220
2015-03-14T17:55:11.000Z
2022-03-23T22:17:07.000Z
defmodule Hex.Netrc do @moduledoc false alias Hex.Netrc.Cache alias Hex.Netrc.Parser def lookup(host, path \\ Parser.netrc_path()) when is_binary(host) and is_binary(path) do case Cache.fetch(path) do {:ok, %{} = machines} -> {:ok, Map.get(machines, host)} other -> other e...
19.588235
91
0.621622
ac6f3b90812352023def73243a794291e9199074
534
ex
Elixir
lib/elixir_ecommerce/services/product_service.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
4
2020-05-29T03:33:02.000Z
2021-08-21T23:01:48.000Z
lib/elixir_ecommerce/services/product_service.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
2
2020-07-29T01:50:46.000Z
2021-08-31T20:10:47.000Z
lib/elixir_ecommerce/services/product_service.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
1
2022-03-21T18:13:21.000Z
2022-03-21T18:13:21.000Z
defmodule ElixirEcommerce.Services.ProductService do alias ElixirEcommerce.{ Product, Department } def create(attrs \\ %{}) do department = String.to_integer(attrs["department_id"]) |> Department.retrieve() {:ok, price} = attrs["price"] |> Money.parse(:BRL, separator: "."...
23.217391
58
0.595506
ac6f3cb811d78d0d7d6b9615314ee169a3c2af5e
3,604
ex
Elixir
lib/cloak/otp/shadowsocks/tcp_transmitter.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
51
2020-07-24T06:09:22.000Z
2021-12-16T16:22:59.000Z
lib/cloak/otp/shadowsocks/tcp_transmitter.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
null
null
null
lib/cloak/otp/shadowsocks/tcp_transmitter.ex
roylez/cloak
9205458be9055e7a93c7b2960824a28c9ad3ed87
[ "MIT" ]
15
2020-07-31T00:34:29.000Z
2021-09-26T03:44:09.000Z
require Logger defmodule Cloak.Shadowsocks.TCPTransmitter do use GenStateMachine, callback_mode: :state_functions @behaviour :ranch_protocol alias Cloak.{ Conn, Cipher } defstruct( port: nil, # listening port cipher: nil, # cipher ctx local: nil, # client local_ip: nil, # cl...
33.06422
117
0.5899
ac6f5c0b111a314d9a55883707ef1f75e3b8dcf1
2,715
ex
Elixir
lib/accounting/account.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
3
2017-12-17T22:00:22.000Z
2020-01-12T17:29:36.000Z
lib/accounting/account.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
2
2017-12-11T23:31:04.000Z
2017-12-15T16:44:31.000Z
lib/accounting/account.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
3
2017-07-26T07:34:30.000Z
2022-01-11T15:53:07.000Z
defmodule Accounting.Account do @moduledoc """ An account data structure and functions. """ alias Accounting.AccountTransaction @type setup :: %__MODULE__{ number: account_number, description: String.t, conversion_balance: integer, } @opaque t :: %__MODULE__{ number: account_number, ...
29.51087
83
0.625046
ac6f797576fa2227a310cc0689e6cb22f7fd70c1
749
ex
Elixir
web/views/pool_view.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
1
2017-06-14T07:04:47.000Z
2017-06-14T07:04:47.000Z
web/views/pool_view.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
null
null
null
web/views/pool_view.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
null
null
null
defmodule Hyperledger.PoolView do use Hyperledger.Web, :view def render("index.uber", %{conn: conn, nodes: nodes}) do %{ uber: %{ version: "1.0", data: [ %{ rel: ["self"], url: pool_url(conn, :index) }, %{ id: "nodes", ...
21.4
58
0.327103
ac6f9d1921a510b91dd36f483901c72b2a911dca
1,127
exs
Elixir
config/config.exs
vic/mix_under
9690e8336b4f0bd80f9e04fcdb4e4a5d66384c74
[ "Apache-2.0" ]
16
2018-03-03T00:04:36.000Z
2021-05-18T06:09:47.000Z
config/config.exs
vic/mix_under
9690e8336b4f0bd80f9e04fcdb4e4a5d66384c74
[ "Apache-2.0" ]
1
2018-09-15T23:56:28.000Z
2018-09-15T23:56:28.000Z
config/config.exs
vic/mix_under
9690e8336b4f0bd80f9e04fcdb4e4a5d66384c74
[ "Apache-2.0" ]
1
2018-04-25T21:17:24.000Z
2018-04-25T21:17:24.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.354839
73
0.75244
ac70381a423891e01aa20cb5b245ac325986ad56
355
exs
Elixir
priv/repo/migrations/20210821170409_create_given_points.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
priv/repo/migrations/20210821170409_create_given_points.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
priv/repo/migrations/20210821170409_create_given_points.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
defmodule EmployeeRewardApp.Repo.Migrations.CreateGivenPoints do use Ecto.Migration def change do create table(:given_points) do add :user_id, references(:users), on_delete: :delete_all add :given_points, :integer add :given_to_user_id, :integer timestamps() end create index(:g...
23.666667
64
0.709859
ac70392bf123496491daef8c22cb9b721d93278a
335
ex
Elixir
testData/org/elixir_lang/beam/decompiler/OTP20/Elixir.AtU8Test.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/beam/decompiler/OTP20/Elixir.AtU8Test.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/beam/decompiler/OTP20/Elixir.AtU8Test.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# Source code recreated from a .beam file by IntelliJ Elixir defmodule AtU8Test do # Functions def __info__(p0) do # body not decompiled end def module_info() do # body not decompiled end def module_info(p0) do # body not decompiled end def unquote(:"こんにちは世界")() do # body not decomp...
15.227273
60
0.677612
ac7055e51b73c641ed320067a3831898ce1d9431
1,129
exs
Elixir
test/span_test.exs
dengjie-ys/ex_ray
2715b44d8a8d6a17632e8cb9a9dfb98043f471d9
[ "Apache-2.0" ]
60
2017-10-27T22:24:47.000Z
2021-07-15T23:58:46.000Z
test/span_test.exs
dengjie-ys/ex_ray
2715b44d8a8d6a17632e8cb9a9dfb98043f471d9
[ "Apache-2.0" ]
2
2018-05-29T01:29:20.000Z
2020-04-14T09:05:56.000Z
test/span_test.exs
dengjie-ys/ex_ray
2715b44d8a8d6a17632e8cb9a9dfb98043f471d9
[ "Apache-2.0" ]
9
2017-10-27T18:52:45.000Z
2020-11-13T19:47:27.000Z
defmodule ExRay.SpanTest do use ExUnit.Case doctest ExRay use ExRay, pre: :f1, post: :f2 alias ExRay.{Store, Span} setup_all do Store.create :ok end setup do span = { :span, 1509045368683303, 12387109925362352574, :root, 15549390946617352406, :undefined,...
16.602941
63
0.561559
ac7068f5ac8cba5b61a701e56ef010494f5a5496
700
ex
Elixir
apps/web/lib/web/live/blog_live.ex
pinpox/branchpage
e478ed9085c06cc3c5680b0ca4dc20eff2e74653
[ "MIT" ]
null
null
null
apps/web/lib/web/live/blog_live.ex
pinpox/branchpage
e478ed9085c06cc3c5680b0ca4dc20eff2e74653
[ "MIT" ]
null
null
null
apps/web/lib/web/live/blog_live.ex
pinpox/branchpage
e478ed9085c06cc3c5680b0ca4dc20eff2e74653
[ "MIT" ]
null
null
null
defmodule Web.BlogLive do @moduledoc false use Phoenix.LiveView alias Publishing.Manage # import Phoenix.HTML, only: [raw: 1] import Publishing.Helper, only: [format_date: 1] @meta %{ title: "branchpage title", description: "some description", social_image: "/images/cover.png" } @impl t...
21.212121
59
0.625714
ac708c7cefc006935d6985caa32c8a6b72238810
4,911
exs
Elixir
test/acceptance/comments_test.exs
joakimk/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
27
2016-09-21T09:11:25.000Z
2020-12-16T04:04:50.000Z
test/acceptance/comments_test.exs
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
2
2016-12-02T08:05:13.000Z
2020-03-27T08:07:59.000Z
test/acceptance/comments_test.exs
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
4
2016-09-25T09:58:17.000Z
2020-04-27T15:07:36.000Z
defmodule Review.CommentsTest do use Review.AcceptanceCase import Review.Factory test "shows a list of comments, with the newest on top" do comment1 = insert(:comment) comment2 = insert(:comment) comment3 = insert(:comment) navigate_to_comments_page() show_all_comments() elements = find...
28.888235
160
0.703115
ac70c6a2ff87a4aa2acd55fda7c4ed0306350e3f
404
exs
Elixir
clients/tool_results/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tool_results/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/tool_results/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
ExUnit.start() defmodule GoogleApi.ToolResults.V1beta3.TestHelper do defmacro __using__(opts) do quote do use ExUnit.Case, unquote(opts) import GoogleApi.ToolResults.V1beta3.TestHelper end end def for_scope(scopes) when is_list(scopes), do: for_scope(Enum.join(scopes, " ")) def for_scope(...
21.263158
83
0.710396
ac70e2d3f9b191d7cccabf2f4a44bec69df4665a
886
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.814815
74
0.759594
ac70e8eb329b6cb885db3a63919adfbd3e90b80d
9,097
ex
Elixir
lib/tailwind.ex
skunkwerks/tailwind
73b220315e4cce5dd3716e978389b41aa9314614
[ "MIT" ]
null
null
null
lib/tailwind.ex
skunkwerks/tailwind
73b220315e4cce5dd3716e978389b41aa9314614
[ "MIT" ]
null
null
null
lib/tailwind.ex
skunkwerks/tailwind
73b220315e4cce5dd3716e978389b41aa9314614
[ "MIT" ]
null
null
null
defmodule Tailwind do # https://github.com/tailwindlabs/tailwindcss/releases @latest_version "3.0.8" @moduledoc """ Tailwind is an installer and runner for [tailwind](https://tailwind.github.io). ## Profiles You can define multiple tailwind profiles. By default, there is a profile called `:default` whi...
29.535714
105
0.633066
ac70fc00cd56496033c4fad84b78b25c1f43f461
3,812
exs
Elixir
test/phoenix/live_dashboard/router_test.exs
alexcastano/phoenix_live_dashboard
71579bb49d53a1dbf6eac017de3bb80e6b6c2d21
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/router_test.exs
alexcastano/phoenix_live_dashboard
71579bb49d53a1dbf6eac017de3bb80e6b6c2d21
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/router_test.exs
alexcastano/phoenix_live_dashboard
71579bb49d53a1dbf6eac017de3bb80e6b6c2d21
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.RouterTest do use ExUnit.Case, async: true alias Phoenix.LiveDashboard.Router import Phoenix.ConnTest test "default options" do assert Router.__options__([]) == [ session: {Phoenix.LiveDashboard.Router, :__session__, [nil, nil, nil, []]}, private: ...
38.12
100
0.611228
ac7109c37bdc6fe066e28230b38db4b01596e8fb
3,378
exs
Elixir
test/renaissance/auctions/auctions_test.exs
rstein66/Renaissance
947880e1b492adc2ce1f4a0883ddb41e597de011
[ "Unlicense" ]
2
2021-02-01T12:09:07.000Z
2021-03-14T12:20:43.000Z
test/renaissance/auctions/auctions_test.exs
rstein66/Renaissance
947880e1b492adc2ce1f4a0883ddb41e597de011
[ "Unlicense" ]
11
2019-04-09T18:01:16.000Z
2019-05-16T15:02:24.000Z
test/renaissance/auctions/auctions_test.exs
rstein66/Renaissance
947880e1b492adc2ce1f4a0883ddb41e597de011
[ "Unlicense" ]
2
2019-04-30T22:43:18.000Z
2019-05-15T20:34:49.000Z
defmodule Renaissance.Test.AuctionsTest do use Renaissance.DataCase alias Renaissance.{Auctions, Helpers, Users} setup _context do {:ok, user} = Users.insert(%{email: "test@suite.com", password: "password"}) params_one = %{ "title" => "Test Title", "description" => "Test description.", ...
31.570093
90
0.649497
ac712c8c3bba95c23394c11966dcb05a34a797ca
241
ex
Elixir
lib/logic_sim/node/lightbulb.ex
TheFirstAvenger/logic_sim
07d3bfd4f940870f00f344bc8807cef49fafed31
[ "MIT" ]
1
2019-09-27T02:40:01.000Z
2019-09-27T02:40:01.000Z
lib/logic_sim/node/lightbulb.ex
TheFirstAvenger/logic_sim
07d3bfd4f940870f00f344bc8807cef49fafed31
[ "MIT" ]
4
2019-06-03T19:50:46.000Z
2019-06-03T19:50:47.000Z
lib/logic_sim/node/lightbulb.ex
TheFirstAvenger/logic_sim
07d3bfd4f940870f00f344bc8807cef49fafed31
[ "MIT" ]
null
null
null
defmodule LogicSim.Node.Lightbulb do @moduledoc """ Simple lightbulb representation. Has one input and no outputs. """ use LogicSim.Node, inputs: [:a], outputs: [] def calculate_outputs(_state, _input_values) do %{} end end
21.909091
64
0.701245
ac713d31df9d4d8b5bfa461cdc93decd54e0688e
1,107
ex
Elixir
test/support/conn_case.ex
anildigital/ueberauth_example
b46a084d96da9c1155dd42bc8ac958d3f1513860
[ "MIT" ]
null
null
null
test/support/conn_case.ex
anildigital/ueberauth_example
b46a084d96da9c1155dd42bc8ac958d3f1513860
[ "MIT" ]
null
null
null
test/support/conn_case.ex
anildigital/ueberauth_example
b46a084d96da9c1155dd42bc8ac958d3f1513860
[ "MIT" ]
null
null
null
defmodule UeberauthExample.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 wi...
25.159091
78
0.71635
ac7140d896f3a25c2e142cee1b0576e833345597
1,379
exs
Elixir
apps/badger_data/test/badger_data/api/site_test.exs
andyl/logstore
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
null
null
null
apps/badger_data/test/badger_data/api/site_test.exs
andyl/logstore
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
9
2021-03-09T20:25:18.000Z
2021-05-27T12:58:03.000Z
apps/badger_data/test/badger_data/api/site_test.exs
andyl/badger
763580ce6f75b2735adfc919b80c37ed5064a04e
[ "MIT" ]
null
null
null
defmodule BadgerData.Api.SiteTest do use ExUnit.Case use BadgerData.DataCase alias BadgerData.Api alias BadgerData.Schema setup do Repo.delete_all(Schema.Site) :ok end describe "HelloWorld" do test "basic" do assert 1 == 1 end end describe "#create/0" do test "valid case...
21.215385
56
0.614938
ac718738823c0a0e84ead981a745182201938451
428
exs
Elixir
elixir/word-count/word_count.exs
jkrukoff/Exercism
a58535afaef312b6ad45730eaa346f2c9f4c3056
[ "MIT" ]
null
null
null
elixir/word-count/word_count.exs
jkrukoff/Exercism
a58535afaef312b6ad45730eaa346f2c9f4c3056
[ "MIT" ]
null
null
null
elixir/word-count/word_count.exs
jkrukoff/Exercism
a58535afaef312b6ad45730eaa346f2c9f4c3056
[ "MIT" ]
null
null
null
defmodule Words do @doc """ Count the number of words in the sentence. Words are compared case-insensitively. """ @spec count(String.t()) :: map def count(sentence) do word_boundary = ~r/[^[:alnum:]-]+/u String.downcase(sentence) |> String.split(word_boundary, trim: true) |> Enum.reduce( ...
20.380952
46
0.584112
ac71b6d018d9eb6fb6fdcecb4bd467f2bdc15c20
1,973
exs
Elixir
test/liblink/data/cluster/announce_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
test/liblink/data/cluster/announce_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
test/liblink/data/cluster/announce_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 (c) Xerpa # # 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, so...
35.232143
89
0.676635
ac71b80fbe36769d2864be1a3ee79e7c1b74be17
2,288
exs
Elixir
config/prod.exs
alex2chan/Phoenix-JWT-Auth-API
5313b41bb590db4c12bdc16f624c11a035d4d692
[ "MIT" ]
40
2018-05-20T21:30:30.000Z
2021-09-10T07:25:44.000Z
config/prod.exs
alex2chan/Phoenix-JWT-Auth-API
5313b41bb590db4c12bdc16f624c11a035d4d692
[ "MIT" ]
3
2020-09-07T10:53:53.000Z
2022-02-12T21:45:34.000Z
config/prod.exs
alex2chan/Phoenix-JWT-Auth-API
5313b41bb590db4c12bdc16f624c11a035d4d692
[ "MIT" ]
15
2018-06-07T08:16:20.000Z
2020-04-12T07:38:05.000Z
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # MyApiWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # # Don'...
32.685714
67
0.695367
ac71bb018bc01b0223ea968eb9024a267c494a88
4,238
exs
Elixir
test/plug/plug_offline_test.exs
bonyiii/offline
4dbadc69f68687c308f8f01db9d71ec472948307
[ "Apache-2.0" ]
null
null
null
test/plug/plug_offline_test.exs
bonyiii/offline
4dbadc69f68687c308f8f01db9d71ec472948307
[ "Apache-2.0" ]
null
null
null
test/plug/plug_offline_test.exs
bonyiii/offline
4dbadc69f68687c308f8f01db9d71ec472948307
[ "Apache-2.0" ]
null
null
null
defmodule Plug.PlugOfflineTest do use ExUnit.Case, async: true use Plug.Test defp call(conn, opts) do Plug.PlugOffline.call(conn, opts) end test 'regular request' do conn = Plug.Adapters.Test.Conn.conn(%Plug.Conn{private: %{hello: :world}}, :get, "/hello", nil) assert conn.method == "GET" as...
35.316667
178
0.632138
ac71c62f27708b748cc037c4a787e9b29c80c840
1,311
ex
Elixir
apps/omg_rpc/lib/omg_rpc/application.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_rpc/lib/omg_rpc/application.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_rpc/lib/omg_rpc/application.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
29.133333
74
0.727689
ac71c81de2a4caee5ec3133be020b580e5009a98
241
ex
Elixir
lib/ex_anti_gate/tasks/no_captcha_task_proxyless.ex
alexanderttalvarez/ex_anti_gate
2827e8efed9606cce0a47b2968fd5cab68309e2c
[ "MIT" ]
4
2017-02-07T17:06:27.000Z
2019-08-20T20:01:38.000Z
lib/ex_anti_gate/tasks/no_captcha_task_proxyless.ex
alexanderttalvarez/ex_anti_gate
2827e8efed9606cce0a47b2968fd5cab68309e2c
[ "MIT" ]
1
2019-08-20T09:47:28.000Z
2019-08-20T17:40:55.000Z
lib/ex_anti_gate/tasks/no_captcha_task_proxyless.ex
alexanderttalvarez/ex_anti_gate
2827e8efed9606cce0a47b2968fd5cab68309e2c
[ "MIT" ]
1
2022-02-20T18:09:37.000Z
2022-02-20T18:09:37.000Z
defmodule ExAntiGate.Tasks.NoCaptchaTaskProxyless do @moduledoc false def defaults, do: [ type: "NoCaptchaTaskProxyless", websiteURL: nil, websiteKey: nil, websiteSToken: nil, isInvisible: nil ] end
18.538462
52
0.6639