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
7945aa8a2a81e0d0336895659d449aeb4f8601bf
1,678
exs
Elixir
test/tirexs/query/bool_test.exs
falood/tirexs
9c63532cf2f50f77fb437f617d433741771d3619
[ "Apache-2.0" ]
null
null
null
test/tirexs/query/bool_test.exs
falood/tirexs
9c63532cf2f50f77fb437f617d433741771d3619
[ "Apache-2.0" ]
null
null
null
test/tirexs/query/bool_test.exs
falood/tirexs
9c63532cf2f50f77fb437f617d433741771d3619
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../test_helper.exs", __ENV__.file defmodule Tirexs.Query.Bool.Test do use ExUnit.Case import Tirexs.Query @url "labeled/track" test :simple_bool do query = query do bool do must do match "artist_uri", "medianet:artist:261633", operator: "and" end ...
36.478261
549
0.602503
7945b434f5ec130c80e099cb7de2cc96e3547238
1,615
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v2/model/time_zone.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_sense/lib/google_api/ad_sense/v2/model/time_zone.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_sense/lib/google_api/ad_sense/v2/model/time_zone.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.3
120
0.708359
79460440aae34fc1cab9646c923848a9aa778637
3,381
ex
Elixir
farmbot_celery_script/lib/farmbot_celery_script/sys_calls/stubs.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_celery_script/lib/farmbot_celery_script/sys_calls/stubs.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_celery_script/lib/farmbot_celery_script/sys_calls/stubs.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotCeleryScript.SysCalls.Stubs do @moduledoc """ SysCall implementation that doesn't do anything. Useful for tests. """ @behaviour FarmbotCeleryScript.SysCalls require Logger @impl true def log(message), do: error(:log, [message]) @impl true def sequence_init_log(message), do: error(:...
25.044444
98
0.682343
7946063ff8209f0c35ab307075ea8d283d875ff8
1,409
exs
Elixir
mix.exs
myfreeweb/httpotion
1bcd0b629561d472492bb557d59eecf5fff52644
[ "Unlicense" ]
637
2015-01-03T08:10:52.000Z
2021-01-29T15:56:01.000Z
mix.exs
unrelentingtech/httpotion
1bcd0b629561d472492bb557d59eecf5fff52644
[ "Unlicense" ]
95
2015-01-01T12:18:12.000Z
2020-02-26T20:41:44.000Z
mix.exs
unrelentingtech/httpotion
1bcd0b629561d472492bb557d59eecf5fff52644
[ "Unlicense" ]
88
2015-01-06T15:38:37.000Z
2020-04-01T09:19:39.000Z
defmodule HTTPotion.Mixfile do use Mix.Project def project do if Mix.env == :dial, do: Application.ensure_all_started(:ex_unit) [ app: :httpotion, name: "httpotion", source_url: "https://github.com/myfreeweb/httpotion", version: "3.1.3", elixir: "~> 1.3", docs: [ extras: ["RE...
28.755102
82
0.603974
79461d0c89e3c19a89ed37df369c0a16bef95830
3,417
ex
Elixir
lib/live_phone/countries.ex
workwithmax/live_phone
1a5482a9032735dd201f2468643145f1ee0a3588
[ "MIT" ]
3
2021-02-28T22:27:58.000Z
2021-12-08T03:18:10.000Z
lib/live_phone/countries.ex
whitepaperclip/live_phone
bda5d554dd7d3df313fa15cd71eb2bcb8acda897
[ "MIT" ]
25
2021-02-26T16:15:46.000Z
2022-03-24T08:10:51.000Z
lib/live_phone/countries.ex
workwithmax/live_phone
1a5482a9032735dd201f2468643145f1ee0a3588
[ "MIT" ]
2
2020-11-27T17:33:52.000Z
2021-01-25T16:05:16.000Z
defmodule LivePhone.Countries do @moduledoc """ The `LivePhone.Countries` module can be used to list all known countries and return them ordered alphabetically, and optionally you can ensure your preferred countries are prepended to the list instead of mixed in with the rest. """ alias ISO alias LivePhon...
31.348624
135
0.661399
7946277efe581e5e3e0144910e811c66a53391fe
13,353
ex
Elixir
lib/cte/adapter/ecto.ex
scottming/closure_table
2b567ebe040a5ac5b539bfc3112fec181a025ebc
[ "Apache-2.0" ]
null
null
null
lib/cte/adapter/ecto.ex
scottming/closure_table
2b567ebe040a5ac5b539bfc3112fec181a025ebc
[ "Apache-2.0" ]
null
null
null
lib/cte/adapter/ecto.ex
scottming/closure_table
2b567ebe040a5ac5b539bfc3112fec181a025ebc
[ "Apache-2.0" ]
null
null
null
defmodule CTE.Adapter.Ecto do @moduledoc """ A CTE Adapter implementation using an existing Ecto Repo for persisting the models. The current implementation is depending on Ecto ~> 3.1; using [Ecto.SubQuery](https://hexdocs.pm/ecto/Ecto.SubQuery.html)! For this implementation to work you'll have to provide two...
29.155022
242
0.611473
79463947c121830282df20397b0134dd764446f0
5,412
ex
Elixir
lib/stripe/subscriptions/plan.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
2
2019-05-02T10:42:09.000Z
2019-12-02T21:29:17.000Z
lib/stripe/subscriptions/plan.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/subscriptions/plan.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
1
2020-02-20T14:09:26.000Z
2020-02-20T14:09:26.000Z
defmodule Stripe.Plan do @moduledoc """ Work with Stripe plan objects. You can: - Create a plan - Retrieve a plan - Update a plan - Delete a plan Does not yet render lists or take options. Stripe API reference: https://stripe.com/docs/api#plan Example: ``` { "id": "ivory-extended-580",...
27.612245
98
0.52901
79463b30419c6a8a81d94c30c6b20e2c0ac1bf86
1,076
exs
Elixir
lib/exercism/pig-latin/pig_latin.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/pig-latin/pig_latin.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/pig-latin/pig_latin.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
defmodule PigLatin do @doc """ Given a `phrase`, translate it a word at a time to Pig Latin. Words beginning with consonants should have the consonant moved to the end of the word, followed by "ay". Words beginning with vowels (aeiou) should have "ay" added to the end of the word. Some groups of letter...
29.081081
99
0.6329
79464c8df5c69b71a0828fc2034665180c454c84
1,072
ex
Elixir
benchmarks/bench.ex
NelsonVides/fast_pbkdf2
204c07f6373f6a09500b18b7b833582e55ba3ad9
[ "Apache-2.0" ]
7
2021-02-18T20:44:44.000Z
2022-01-13T07:41:16.000Z
benchmarks/bench.ex
NelsonVides/fast_pbkdf2
204c07f6373f6a09500b18b7b833582e55ba3ad9
[ "Apache-2.0" ]
null
null
null
benchmarks/bench.ex
NelsonVides/fast_pbkdf2
204c07f6373f6a09500b18b7b833582e55ba3ad9
[ "Apache-2.0" ]
2
2021-03-11T23:18:15.000Z
2022-03-06T09:56:36.000Z
defmodule PBKDF2.Benchmarks do def pbkdf2_input itCount do password = :base64.encode(:crypto.strong_rand_bytes(10)) salt = :base64.encode(:crypto.strong_rand_bytes(16)) {password, salt, itCount} end def pbkdf2 {password, salt, it_count} do :fast_pbkdf2.pbkdf2(:sha256, password, salt, it_count) ...
28.972973
70
0.663246
79465e2ffee2152b2edd107249d33b980ffc5f92
4,322
exs
Elixir
config/config.exs
theodowling/ex_mustang
0bf0d96c0e33e8291eb4d911bfdcdc57902fa78d
[ "Apache-2.0" ]
69
2016-08-17T06:50:58.000Z
2021-01-26T00:43:34.000Z
config/config.exs
theodowling/ex_mustang
0bf0d96c0e33e8291eb4d911bfdcdc57902fa78d
[ "Apache-2.0" ]
55
2016-08-16T01:05:39.000Z
2020-10-08T15:53:35.000Z
config/config.exs
theodowling/ex_mustang
0bf0d96c0e33e8291eb4d911bfdcdc57902fa78d
[ "Apache-2.0" ]
10
2017-01-20T19:45:43.000Z
2020-09-30T20:32:23.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :ex_mustang, ExMustang.Responders.Standup, time_of_day: "30 10 * * 1-5", slack_channel: System.get_env("STANDUP_CHANNEL") || "general", suffix: ["folks", "hackers", "pee...
32.253731
88
0.696668
794683de8e6ea7fc1c068e2aed0cdf67b9025cda
17,749
ex
Elixir
lib/commanded/process_managers/process_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-19T01:07:32.000Z
2020-02-19T01:07:32.000Z
lib/commanded/process_managers/process_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-18T20:53:39.000Z
2020-02-18T20:53:39.000Z
defmodule Commanded.ProcessManagers.ProcessRouter do @moduledoc false use GenServer use Commanded.Registration require Logger alias Commanded.Event.Upcast alias Commanded.EventStore alias Commanded.EventStore.RecordedEvent alias Commanded.ProcessManagers.FailureContext alias Commanded.ProcessManage...
31.581851
104
0.664544
7946b66c3383e0abb3224b75fd91cebfd9554fd1
407
ex
Elixir
src/elixir/lib-util-db.ex
Yoosuke/GEOSPATIAL_Hackers_Program_Hands-on
94b0eabc80315de761e4c68637c9fb3a9f1ee2d3
[ "MIT" ]
null
null
null
src/elixir/lib-util-db.ex
Yoosuke/GEOSPATIAL_Hackers_Program_Hands-on
94b0eabc80315de761e4c68637c9fb3a9f1ee2d3
[ "MIT" ]
1
2019-01-16T04:41:16.000Z
2019-01-16T04:41:16.000Z
src/elixir/lib-util-db.ex
Yoosuke/GEOSPATIAL_Hackers_Program_Hands-on
94b0eabc80315de761e4c68637c9fb3a9f1ee2d3
[ "MIT" ]
1
2019-01-16T04:58:34.000Z
2019-01-16T04:58:34.000Z
defmodule Db do def query( sql ) when sql != "" do { :ok, result } = Ecto.Adapters.SQL.query( Test.Repo , sql, [] ) result end def columns_rows( result ) do result |> rows |> Enum.map( fn row -> Enum.into( List.zip( [ columns( result ), row ] ), %{} ) end ) end def rows( %{ rows: rows } =...
29.071429
89
0.574939
7946bc97d5735caaf8784167ad3a93a03b0a95d1
19,910
ex
Elixir
lib/nostrum/struct/channel.ex
brettkolodny/nostrum
3e26af6c106558bfe3fd48dcf3064fbc361605b5
[ "MIT" ]
null
null
null
lib/nostrum/struct/channel.ex
brettkolodny/nostrum
3e26af6c106558bfe3fd48dcf3064fbc361605b5
[ "MIT" ]
null
null
null
lib/nostrum/struct/channel.ex
brettkolodny/nostrum
3e26af6c106558bfe3fd48dcf3064fbc361605b5
[ "MIT" ]
1
2021-09-13T20:59:42.000Z
2021-09-13T20:59:42.000Z
defmodule Nostrum.Struct.Channel do @moduledoc """ Struct and helper functions for working with channels. ## Channel Struct The channel struct is used by Nostrum to represent a _Discord Channel Object_. More information can be found on the [Discord API Channel Documentation](https://discord.com/developers/doc...
30.630769
298
0.633752
7946d2b637f0f54c41a4a07db5c6f7a5e0785dda
831
exs
Elixir
code/spawn/spawn4.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/spawn/spawn4.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/spawn/spawn4.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
23.742857
85
0.655836
7946fb50bc3053a58b88f4c0dc7dd00ef69324c2
88
exs
Elixir
test/battleships_web/views/page_view_test.exs
alexander-lazarov/battleships
e35fcb1fc48281881f2976cd7ec8cf7a6cb1f707
[ "MIT" ]
null
null
null
test/battleships_web/views/page_view_test.exs
alexander-lazarov/battleships
e35fcb1fc48281881f2976cd7ec8cf7a6cb1f707
[ "MIT" ]
2
2020-07-17T13:59:03.000Z
2021-05-09T20:35:32.000Z
test/battleships_web/views/page_view_test.exs
alexander-lazarov/battleships
e35fcb1fc48281881f2976cd7ec8cf7a6cb1f707
[ "MIT" ]
null
null
null
defmodule BattleshipsWeb.PageViewTest do use BattleshipsWeb.ConnCase, async: true end
22
42
0.840909
794700bb8087caeecd5f6912b54c00673eecf059
8,119
ex
Elixir
lib/prom_ex/plugins/plug_cowboy.ex
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
1
2022-02-20T10:42:44.000Z
2022-02-20T10:42:44.000Z
lib/prom_ex/plugins/plug_cowboy.ex
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
null
null
null
lib/prom_ex/plugins/plug_cowboy.ex
dvic/prom_ex
36cd5e0850e3e1ccc369011fbd15d5b442024a1e
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Plug.Cowboy) do defmodule PromEx.Plugins.PlugCowboy do @moduledoc """ This plugin captures HTTP request metrics emitted by Plug.Cowboy. This plugin exposes the following metric group: - `:plug_cowboy_http_event_metrics` ## Plugin options - `routers`: **Required** This...
29.205036
197
0.586033
79470ec50cf553a71af772a9b255796593fdf5a2
138
exs
Elixir
test/board_test.exs
infiniteNIL/exgopigo
01599e3ef367f378d9263d1fbab211f5f6502315
[ "MIT" ]
5
2015-05-30T23:51:26.000Z
2016-05-05T21:10:48.000Z
test/board_test.exs
infiniteNIL/exgopigo
01599e3ef367f378d9263d1fbab211f5f6502315
[ "MIT" ]
null
null
null
test/board_test.exs
infiniteNIL/exgopigo
01599e3ef367f378d9263d1fbab211f5f6502315
[ "MIT" ]
null
null
null
defmodule BoardTest do use ExUnit.Case alias ExGoPiGo.Board test "Can initialize the board" do assert Board.init() != nil end end
13.8
35
0.73913
794729c484a6fe8dc29cb18a8ed135b01544f5a7
2,156
exs
Elixir
bench/builder/attribute_bench.exs
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
bench/builder/attribute_bench.exs
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
bench/builder/attribute_bench.exs
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
defmodule Builder.AttributeBench do use Benchfella @big 1..20 |> Enum.map(&{String.to_atom("key_#{&1}"), &1}) |> Enum.into(%{}) @small 1..5 |> Enum.map(&{String.to_atom("key_#{&1}"), &1}) |> Enum.into(%{}) bench "no opts to process small data", [context: data_no_opts(@sma...
34.222222
72
0.673933
79476c77ab1e92ed379fc87ba0f0b541ddd13703
951
exs
Elixir
config/config.exs
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
config/config.exs
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
config/config.exs
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :distcount, ecto_repos: [Distcount.Repo] # ...
30.677419
82
0.763407
794770ea23de20b066b358431abd9daabca61399
401
ex
Elixir
lib/exq/adapters/queue/mock.ex
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
1,406
2015-01-16T03:00:32.000Z
2022-03-28T11:38:22.000Z
lib/exq/adapters/queue/mock.ex
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
372
2015-01-08T05:15:11.000Z
2022-03-18T18:05:34.000Z
lib/exq/adapters/queue/mock.ex
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
217
2015-02-01T20:21:36.000Z
2022-01-28T16:19:55.000Z
defmodule Exq.Adapters.Queue.Mock do @moduledoc """ Mock queue. Designed to be used when testing your application. """ @behaviour Exq.Adapters.Queue defdelegate enqueue(pid, queue, worker, args, options), to: Exq.Mock defdelegate enqueue_at(pid, queue, time, worker, args, options), to: Exq.Mock def...
25.0625
81
0.725686
79477c255acaa9bb4fa70c03a122d1b40555dfb7
218
ex
Elixir
lib/sanbase_web/admin/notifications/notification.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/admin/notifications/notification.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/admin/notifications/notification.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.ExAdmin.Notifications.Notification do use ExAdmin.Register register_resource Sanbase.Notifications.Notification do show notification do attributes_table(all: true) end end end
21.8
58
0.788991
7947c0ea7360f6931feefa28862c62e536a612cd
3,370
ex
Elixir
apps/snitch_core/lib/core/data/schema/shipping_rules/shipping_rule.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/data/schema/shipping_rules/shipping_rule.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/data/schema/shipping_rules/shipping_rule.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Schema.ShippingRule do @moduledoc """ Models the rules to be used while calculating shipping cost for a shipping category. """ use Snitch.Data.Schema alias Snitch.Data.Schema.{ShippingCategory, ShippingRuleIdentifier} @type t :: %__MODULE__{} @doc """ Returns the shipping cos...
30.636364
91
0.68724
7947cc5e5ccaea59e7ee5957d534d7dd764d564c
777
ex
Elixir
test/support/channel_case.ex
elixir-sea/typo_paint
61183f0a450e62ce1f561635ed39965fc9fe770d
[ "CC-BY-4.0" ]
4
2019-07-31T03:34:19.000Z
2019-08-03T04:53:48.000Z
test/support/channel_case.ex
elixir-sea/typo_kart
61183f0a450e62ce1f561635ed39965fc9fe770d
[ "CC-BY-4.0" ]
3
2019-07-31T04:18:58.000Z
2019-08-05T00:00:07.000Z
test/support/channel_case.ex
elixir-sea/typo_paint
61183f0a450e62ce1f561635ed39965fc9fe770d
[ "CC-BY-4.0" ]
3
2019-07-31T05:55:25.000Z
2019-09-15T22:31:32.000Z
defmodule TypoPaintWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts...
24.28125
59
0.728443
7947cd29a80034abe503429179981c23549854b0
11,585
ex
Elixir
lib/plugs/validate.ex
mogorman/openapivalidator
fa99180c73a06702b3abcb5101cbdd3d61bc5397
[ "MIT" ]
1
2019-10-18T15:33:44.000Z
2019-10-18T15:33:44.000Z
lib/plugs/validate.ex
mogorman/openapivalidator
fa99180c73a06702b3abcb5101cbdd3d61bc5397
[ "MIT" ]
null
null
null
lib/plugs/validate.ex
mogorman/openapivalidator
fa99180c73a06702b3abcb5101cbdd3d61bc5397
[ "MIT" ]
null
null
null
defmodule OpenapiValidator.Plugs.Validate do @moduledoc ~S""" Validates input and output according to one or more OpenAPI specs. Usage: Add the plug at the bottom of one or more pipelines in `router.ex`: pipeline "api" do # ... plug Api.Plugs.OASValidator, spec: Appcues.MobileApiSpecs.s...
25.801782
83
0.552093
7947d74d54fcdce2bbd0e1c7c37b921b1e708ed7
1,135
exs
Elixir
config/config.exs
dazzlerocks/absinthe_apollo_sockets
675be982a28760fac1f61e8a4b6223c28298392e
[ "MIT" ]
19
2018-09-24T19:55:31.000Z
2021-12-12T20:46:17.000Z
config/config.exs
dazzlerocks/absinthe_apollo_sockets
675be982a28760fac1f61e8a4b6223c28298392e
[ "MIT" ]
8
2018-10-17T13:48:15.000Z
2021-11-04T05:09:55.000Z
config/config.exs
dazzlerocks/absinthe_apollo_sockets
675be982a28760fac1f61e8a4b6223c28298392e
[ "MIT" ]
6
2018-10-11T13:59:25.000Z
2022-02-14T14:04:19.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.612903
73
0.754185
7947ee2d81e170216ebcee61f13d3baccbdcead0
17,382
ex
Elixir
lib/codes/codes_s26.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_s26.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_s26.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_S26 do alias IcdCode.ICDCode def _S2600XA do %ICDCode{full_code: "S2600XA", category_code: "S26", short_code: "00XA", full_name: "Unspecified injury of heart with hemopericardium, initial encounter", short_name: "Unspecified injury of heart ...
45.148052
121
0.677022
79481d36e4a92a2e1172cd84c4140b8b81d74cde
1,482
ex
Elixir
example/reactive/api/lib/api_web/endpoint.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
30
2020-11-10T07:32:36.000Z
2022-02-06T20:34:34.000Z
example/reactive/api/lib/api_web/endpoint.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
22
2020-11-28T20:23:34.000Z
2022-03-23T22:32:52.000Z
example/reactive/api/lib/api_web/endpoint.ex
farolanf/phoenix-socket-dart
3fb441c53a25e2f7ea6f8f0ca9e7bfc25e45cdfd
[ "BSD-3-Clause" ]
19
2020-11-10T14:22:05.000Z
2022-02-15T10:22:43.000Z
defmodule ApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :api # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_api_key", sig...
27.962264
97
0.709177
79483486099ee2e52f425951183bfef3809e76fe
769
ex
Elixir
lib/adyen_checkout_ex/model/google_pay_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
1
2021-05-30T20:45:10.000Z
2021-05-30T20:45:10.000Z
lib/adyen_checkout_ex/model/google_pay_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
lib/adyen_checkout_ex/model/google_pay_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdyenCheckoutEx.Model.GooglePayDetails do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"fundingSource", :"googlePayTok...
22.617647
91
0.673602
794834d9d9f091387c954786deb367682aa01a90
982
ex
Elixir
clients/poly/lib/google_api/poly/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/poly/lib/google_api/poly/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/poly/lib/google_api/poly/v1/connection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.733333
77
0.741344
7948368e625c9ffaa1bdaca7167ca404a46653e9
4,388
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release.ex
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "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...
56.987013
425
0.717639
79484056305038a17a0add1f2dab8cdeea38dce3
286
ex
Elixir
api/lib/responda_me_web/plugs/auth_error_handler.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
api/lib/responda_me_web/plugs/auth_error_handler.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
api/lib/responda_me_web/plugs/auth_error_handler.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
defmodule Responda.MeWeb.AuthErrorHandler do import Plug.Conn @behaviour Guardian.Plug.ErrorHandler @impl Guardian.Plug.ErrorHandler def auth_error(conn, {type, _reason}, _opts) do body = Jason.encode!(%{message: to_string(type)}) send_resp(conn, 401, body) end end
23.833333
53
0.737762
7948461752d9598b81b851bf4c479463bce22d2b
554
ex
Elixir
lib/hex.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
824
2015-01-05T09:12:36.000Z
2022-03-28T12:02:29.000Z
lib/hex.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
737
2015-01-01T05:48:46.000Z
2022-03-29T12:56:12.000Z
lib/hex.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
220
2015-03-14T17:55:11.000Z
2022-03-23T22:17:07.000Z
defmodule Hex do @moduledoc false def start() do {:ok, _} = Application.ensure_all_started(:hex) end def stop() do case Application.stop(:hex) do :ok -> :ok {:error, {:not_started, :hex}} -> :ok end end # For compatibility during development def start(start_type, start_args) do ...
23.083333
60
0.669675
7948978ededa2127c0b9901e950a3bb5bef9e79d
1,269
ex
Elixir
lib/slacketon_chat/resolvers/weather_resolver.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
1
2022-02-19T17:49:37.000Z
2022-02-19T17:49:37.000Z
lib/slacketon_chat/resolvers/weather_resolver.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
4
2018-07-14T16:30:17.000Z
2022-02-10T16:23:23.000Z
lib/slacketon_chat/resolvers/weather_resolver.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
null
null
null
defmodule SlackertonChat.WeatherResolver do require Logger alias Slackerton.Weather alias SlackertonChat.Robot alias Hedwig.Responder def add_alert(%{ private: %{ "robot" => robot }, room: room } = msg, _slots) do with {:ok, _ } <- Weather.subscribe_channel(robot, room) do Robot.thread(msg, "Gotc...
30.95122
87
0.646966
7948a171d7547d95142e05828eece0683f967b1b
6,077
ex
Elixir
lib/ext/api/reconciler.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
lib/ext/api/reconciler.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
lib/ext/api/reconciler.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotExt.API.Reconciler do @moduledoc """ Handles additions, deletions and changes of remote API resources Uses the `updated_at` and `created_at` common fields of api resources to determine if FarmbotOS or the API's resource is more current """ require Logger alias Ecto.Changeset import Ec...
33.574586
95
0.665295
7948ad3392c9bd90b7e7fd000824ac72b591a194
335
ex
Elixir
lib/beatbot/token_plug.ex
daph/beatbot
37a2de733c114a9f1a6c69cbc92763ac1a98f842
[ "BSD-2-Clause-FreeBSD" ]
1
2019-10-16T23:37:00.000Z
2019-10-16T23:37:00.000Z
lib/beatbot/token_plug.ex
daph/beatbot
37a2de733c114a9f1a6c69cbc92763ac1a98f842
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
lib/beatbot/token_plug.ex
daph/beatbot
37a2de733c114a9f1a6c69cbc92763ac1a98f842
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
defmodule Beatbot.TokenPlug do import Plug.Conn def init(opts) do opts end def call(conn, _opts) do token = __MODULE__ |> Application.get_application |> Application.get_env(:slack_token) in_token = Map.get(conn.params, "token", "") assign(conn, :token_valid, (in_token == tok...
18.611111
51
0.650746
7948df0c0fe5a8dc04bc787521fa18aac81b2003
1,383
ex
Elixir
test/support/data_case.ex
pankaryp/Phoenix-server-demo
7a028bb14ad58400e0215281e09627e168cf5792
[ "MIT" ]
null
null
null
test/support/data_case.ex
pankaryp/Phoenix-server-demo
7a028bb14ad58400e0215281e09627e168cf5792
[ "MIT" ]
null
null
null
test/support/data_case.ex
pankaryp/Phoenix-server-demo
7a028bb14ad58400e0215281e09627e168cf5792
[ "MIT" ]
null
null
null
defmodule WebDemo.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, it cannot be async. For this reason, every test...
25.611111
77
0.679682
7948e29b9b930b7ca5699c2c94896ec9512de11d
6,167
ex
Elixir
lib/calypte/changeset.ex
liveforeverx/calypte
161e137ace124647b005c4d92ed5fe8014072556
[ "Apache-2.0" ]
7
2019-07-17T22:48:57.000Z
2021-04-14T20:22:46.000Z
lib/calypte/changeset.ex
liveforeverx/calypte
161e137ace124647b005c4d92ed5fe8014072556
[ "Apache-2.0" ]
null
null
null
lib/calypte/changeset.ex
liveforeverx/calypte
161e137ace124647b005c4d92ed5fe8014072556
[ "Apache-2.0" ]
1
2019-08-06T11:26:11.000Z
2019-08-06T11:26:11.000Z
defmodule Calypte.Changeset do @moduledoc """ Structure to represent changes for """ alias Calypte.{Binding, Graph, Value, Utils} import Utils @type t :: %__MODULE__{changes: []} defstruct changes: [] defmodule Change do @type t :: %__MODULE__{ type: :edge | :node, id: an...
31.953368
97
0.638884
7948efe61507641c20993d189d5be197a0aa6fbd
731
ex
Elixir
test/support/live_views/live_in_component.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
4,659
2019-03-14T20:22:43.000Z
2022-03-31T20:13:30.000Z
test/support/live_views/live_in_component.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
1,745
2019-03-14T22:04:38.000Z
2022-03-31T17:26:25.000Z
test/support/live_views/live_in_component.ex
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
744
2019-03-14T20:48:05.000Z
2022-03-25T14:35:04.000Z
defmodule Phoenix.LiveViewTest.LiveInComponent.Root do use Phoenix.LiveView def mount(_params, _session, socket) do {:ok, socket} end def render(assigns) do ~H"<%= live_component Phoenix.LiveViewTest.LiveInComponent.Component, id: :nested_component %>" end end defmodule Phoenix.LiveViewTest.LiveInC...
20.305556
99
0.709986
7948fda9c2b46c37a5edd47e1c276210364df5f0
903
ex
Elixir
graphql-elixir/test/support/conn_case.ex
ma2gedev/graphql-samples
f6e8efba22777ed27aee0fa597d23f991987ca6b
[ "MIT" ]
1
2019-04-14T04:19:37.000Z
2019-04-14T04:19:37.000Z
graphql-elixir/test/support/conn_case.ex
ma2gedev/graphql-samples
f6e8efba22777ed27aee0fa597d23f991987ca6b
[ "MIT" ]
null
null
null
graphql-elixir/test/support/conn_case.ex
ma2gedev/graphql-samples
f6e8efba22777ed27aee0fa597d23f991987ca6b
[ "MIT" ]
null
null
null
defmodule GraphqlSampleWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally,...
27.363636
59
0.734219
79491330c44980473cb3e111d43660cb514b1fb9
2,291
exs
Elixir
test/pg/postgres_test.exs
jesenko/ecto_enum
9639bb23fb56bbac8a0c71d6824d724f243780fd
[ "MIT" ]
null
null
null
test/pg/postgres_test.exs
jesenko/ecto_enum
9639bb23fb56bbac8a0c71d6824d724f243780fd
[ "MIT" ]
null
null
null
test/pg/postgres_test.exs
jesenko/ecto_enum
9639bb23fb56bbac8a0c71d6824d724f243780fd
[ "MIT" ]
1
2020-02-06T12:59:54.000Z
2020-02-06T12:59:54.000Z
defmodule EctoEnum.PostgresTest do use ExUnit.Case, async: false import EctoEnum defenum(StatusEnum, :status, [:registered, :active, :inactive, :archived]) defmodule User do use Ecto.Schema schema "users_pg" do field(:status, StatusEnum) end end alias Ecto.Integration.TestRepo test ...
30.546667
98
0.659974
794957d2247a2739be4e54ac2f81f55b91ca4192
582
exs
Elixir
exercises/04-links-tasks-and-genservers/02-tasks/02-parallel-factorials/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
1
2021-09-22T09:52:11.000Z
2021-09-22T09:52:11.000Z
exercises/04-links-tasks-and-genservers/02-tasks/02-parallel-factorials/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
22
2019-06-19T18:58:13.000Z
2020-03-16T14:43:06.000Z
exercises/04-links-tasks-and-genservers/02-tasks/02-parallel-factorials/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
32
2019-09-19T03:25:11.000Z
2020-10-06T15:01:47.000Z
defmodule Factorial do def calc(n), do: calc(n, 1) defp calc(1, acc), do: acc defp calc(n, acc), do: calc(n - 1, acc * n) def benchmark(f) do t1 = DateTime.utc_now() f.() t2 = DateTime.utc_now() DateTime.diff(t2, t1, :millisecond) end end n = 2_000 t1 = Factorial.benchmark(fn -> Enum.map(...
18.1875
55
0.611684
79495e4892b1d7fedef759854e2e8964961c2aaa
164
ex
Elixir
lib/political/message.ex
wisq/political
7a28dd9da95bc461be8f39411361519b471fa4c3
[ "MIT" ]
null
null
null
lib/political/message.ex
wisq/political
7a28dd9da95bc461be8f39411361519b471fa4c3
[ "MIT" ]
null
null
null
lib/political/message.ex
wisq/political
7a28dd9da95bc461be8f39411361519b471fa4c3
[ "MIT" ]
null
null
null
defmodule Political.Message do @enforce_keys [:author, :timestamp, :text] defstruct( author: nil, timestamp: nil, text: nil, embeds: [] ) end
16.4
44
0.634146
7949bf8cd2a0332672f8576dca1f2e37c1ce937a
1,388
ex
Elixir
lib/mix/tasks/torch.gen.html.ex
r-icarus/torch
c5c94001b91fc459d727b18fa137b6936a65918d
[ "MIT" ]
null
null
null
lib/mix/tasks/torch.gen.html.ex
r-icarus/torch
c5c94001b91fc459d727b18fa137b6936a65918d
[ "MIT" ]
null
null
null
lib/mix/tasks/torch.gen.html.ex
r-icarus/torch
c5c94001b91fc459d727b18fa137b6936a65918d
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Torch.Gen.Html do @moduledoc """ Light wrapper module around `mix phx.gen.html` which generates slightly modified HTML. Takes all the same params as the `phx.gen.html` task. ## Example mix torch.gen.html Accounts User users --no-schema """ @commands ~w[phx.gen.html phx.gen.co...
27.215686
73
0.626081
7949d858045db51c8b67aa77014ba10097cd8f4e
1,033
exs
Elixir
final-projects/shop_website/config/config.exs
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
3
2019-07-31T20:06:34.000Z
2021-11-16T11:19:45.000Z
final-projects/shop_website/config/config.exs
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
null
null
null
final-projects/shop_website/config/config.exs
anitabenites/elixir-and-phoenix-mentoring-sessions
0fa283a8d4a8884edd54c8e16d788e2ca65e4592
[ "MIT" ]
1
2019-07-31T16:46:14.000Z
2019-07-31T16:46:14.000Z
# 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 :shop_website, ecto_repos: [ShopWebsite...
33.322581
86
0.777348
7949e0ecdd2105c25f749157c7403f684512e01a
98
ex
Elixir
lib/aph/repo.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
8
2019-09-26T13:59:25.000Z
2020-03-30T21:26:48.000Z
lib/aph/repo.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
39
2019-11-16T02:24:28.000Z
2020-01-14T16:40:28.000Z
lib/aph/repo.ex
tometoproject/tometo
ed91069b11a020723edb9a143de29d9bac86a2b0
[ "BlueOak-1.0.0", "Apache-2.0" ]
2
2019-12-16T07:55:14.000Z
2020-06-11T04:14:00.000Z
defmodule Aph.Repo do use Ecto.Repo, otp_app: :aph, adapter: Ecto.Adapters.Postgres end
16.333333
35
0.704082
7949e27028c29e31e34421567215e2930d769c94
181
ex
Elixir
lib/algae/reader/generator.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
191
2016-08-22T17:34:45.000Z
2019-05-28T19:02:39.000Z
lib/algae/reader/generator.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
35
2016-08-30T20:56:22.000Z
2019-05-02T17:32:31.000Z
lib/algae/reader/generator.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
10
2016-08-30T18:41:54.000Z
2019-02-14T14:14:55.000Z
defimpl TypeClass.Property.Generator, for: Algae.Reader do def generate(_) do fn -> nil end |> TypeClass.Property.Generator.generate() |> Algae.Reader.new() end end
22.625
58
0.690608
7949e4dccc53a4b01835e11fa54835e83db099f6
1,123
ex
Elixir
lib/phoenix_component_folders_web/components/component_helpers.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
30
2017-05-05T09:30:06.000Z
2021-03-29T15:08:02.000Z
lib/phoenix_component_folders_web/components/component_helpers.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
4
2017-05-01T18:53:57.000Z
2020-11-22T06:46:55.000Z
lib/phoenix_component_folders_web/components/component_helpers.ex
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
7
2017-11-09T06:34:07.000Z
2021-03-01T20:14:18.000Z
defmodule PhoenixComponentFoldersWeb.Components.ComponentHelpers do alias Phoenix.Naming alias PhoenixComponentFoldersWeb.Components @moduledoc """ Conveniences for reusable UI components """ def c(namespace, name \\ :index, assigns \\ []) do component(namespace, template(name), assigns) end def ...
22.46
82
0.673197
794a32fc9259532ae03444f8c601b61356edfb88
4,000
ex
Elixir
lib/faker/lorem/shakespeare/en.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
lib/faker/lorem/shakespeare/en.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
lib/faker/lorem/shakespeare/en.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
defmodule Faker.Lorem.Shakespeare.En do @moduledoc """ Random quotes from William Shakespeare's plays, sonnets and poems in English. """ @data ["To be, or not to be: that is the question.", "Neither a borrower nor a lender be; For loan oft loses both itself and friend, and borrowing dulls the edge of husbandry...
86.956522
1,219
0.71175
794a46541627de3861f3c7f9d214e9bd3779a111
391
exs
Elixir
mix.exs
azukiapp/exjson
6021434570092b5e31ff379b17a12abb47e7a45c
[ "Apache-2.0" ]
1
2015-06-13T03:35:41.000Z
2015-06-13T03:35:41.000Z
mix.exs
azukiapp/exjson
6021434570092b5e31ff379b17a12abb47e7a45c
[ "Apache-2.0" ]
null
null
null
mix.exs
azukiapp/exjson
6021434570092b5e31ff379b17a12abb47e7a45c
[ "Apache-2.0" ]
null
null
null
defmodule Exjson.Mixfile do use Mix.Project def project do [ app: :exjson, version: "0.0.1", deps: deps, compile: "make" ] end # Configuration for the OTP application def application do [] end # Returns the list of dependencies in the format: # { :foobar, "0.1", git: "https:...
17.772727
72
0.616368
794a5354be4c976213627d3e67a17be0f1e51266
1,582
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/list_service_account_keys_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/iam/lib/google_api/iam/v1/model/list_service_account_keys_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/iam/lib/google_api/iam/v1/model/list_service_account_keys_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.659574
134
0.747155
794a5eab30800c92bb4eb83c1998c4c70fa3f523
2,125
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/trigger_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/trigger_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/trigger_status.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 ...
38.636364
175
0.736941
794a7df3c38ca1541ecdfce2b82d124cf8073e48
728
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/instance_view_status.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/instance_view_status.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/instance_view_status.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Compute.Model.InstanceViewStatus do @moduledoc """ Instance view status. """ @derive [Poison.Encoder] defstr...
21.411765
91
0.660714
794ade839449c47e983feb39b1ba0257422c597e
14,054
ex
Elixir
lib/codes/codes_f18.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f18.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f18.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_F18 do alias IcdCode.ICDCode def _F1810 do %ICDCode{full_code: "F1810", category_code: "F18", short_code: "10", full_name: "Inhalant abuse, uncomplicated", short_name: "Inhalant abuse, uncomplicated", category_name: "Inhalant abuse...
41.335294
113
0.663512
794b0e17ee2fbce76521648d9101531d3d6b149e
9,933
ex
Elixir
lib/elixir/lib/module/locals_tracker.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/locals_tracker.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/locals_tracker.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
# This is an Elixir module responsible for tracking # calls in order to extract Elixir modules' behaviour # during compilation time. # # ## Implementation # # The implementation uses the digraph module to track # all dependencies. The graph starts with one main vertex: # # * `:local` - points to local functions # # We ...
27.515235
99
0.648948
794b1443187fd3e2ee50234bea6d50e865f9c1a2
3,334
ex
Elixir
lib/codes/codes_f60.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f60.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f60.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_F60 do alias IcdCode.ICDCode def _F600 do %ICDCode{full_code: "F600", category_code: "F60", short_code: "0", full_name: "Paranoid personality disorder", short_name: "Paranoid personality disorder", category_name: "Paranoid personal...
31.45283
68
0.617277
794b15e0fdb4a81e488693af215d29de952115fb
1,717
exs
Elixir
lib/mix/test/mix/tasks/deps.path_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/mix/test/mix/tasks/deps.path_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/deps.path_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.DepsPathTest do use MixTest.Case defmodule DepsApp do def project do [ app: :raw_sample, version: "0.1.0", deps: [ { :raw_repo, "0.1.0", path: "custom/raw_repo" } ] ] end end t...
27.253968
86
0.623762
794b18829a8cc4ae2907681596fefd59ec326854
75
ex
Elixir
web/views/home_view.ex
ShadowBan/health-inspector
47a05a97031d2d4dce411fc06bf8612087ba31cb
[ "MIT" ]
null
null
null
web/views/home_view.ex
ShadowBan/health-inspector
47a05a97031d2d4dce411fc06bf8612087ba31cb
[ "MIT" ]
null
null
null
web/views/home_view.ex
ShadowBan/health-inspector
47a05a97031d2d4dce411fc06bf8612087ba31cb
[ "MIT" ]
null
null
null
defmodule HealthInspector.HomeView do use HealthInspector.Web, :view end
18.75
37
0.826667
794b2b1fec37124172d2a156aef96118a2f808c7
2,133
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_bounding_poly.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_bounding_poly.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_bounding_poly.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...
38.781818
177
0.759962
794b566692ccc7cf421bbd7bfe0cf87ca07c8362
748
ex
Elixir
elixir/minimal_dsl.ex
ztk37/snippets
17354149a1c673365d164cbd114d26dfe2dd83c7
[ "MIT" ]
null
null
null
elixir/minimal_dsl.ex
ztk37/snippets
17354149a1c673365d164cbd114d26dfe2dd83c7
[ "MIT" ]
null
null
null
elixir/minimal_dsl.ex
ztk37/snippets
17354149a1c673365d164cbd114d26dfe2dd83c7
[ "MIT" ]
null
null
null
defmodule Store do use Agent @initial_state %{ :items => [] } def start_link() do Agent.start_link(fn -> @initial_state end) end def add_item(pid, item) do # IO.inspect(item) Agent.update(pid, fn state -> %{state | :items => [item | state.items ]} end) end def get_items(pi...
15.265306
60
0.601604
794bb6fffa8447decd5b8d1bd0260be1009a346d
461
ex
Elixir
lib/igwet/admin/mailer.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
null
null
null
lib/igwet/admin/mailer.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
18
2018-02-25T11:13:46.000Z
2022-03-28T03:43:38.000Z
lib/igwet/admin/mailer.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
1
2019-01-04T12:16:47.000Z
2019-01-04T12:16:47.000Z
defmodule Igwet.Admin.Mailer do @moduledoc """ Use Mailgun to generate email messages """ use Bamboo.Mailer, otp_app: :igwet @doc """ Return email address generated from key of node ## Examples iex> alias Igwet.Admin.Mailer iex> Mailer.keyed_email %{key: "test"} "test@mg.igwet.com" "...
21.952381
69
0.650759
794be3c1197879566040d03d028b40084e667e06
4,106
ex
Elixir
clients/vision/lib/google_api/vision/v1/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
28.123288
137
0.663419
794bee756cf38c8e4e25358d08e70f8925354140
690
exs
Elixir
test/test_helper.exs
amilkr/nebulex_ext
ac76ed3b56823450f79e6dec56d1247192a2abc3
[ "MIT" ]
8
2018-07-19T06:02:30.000Z
2019-04-19T18:14:37.000Z
test/test_helper.exs
amilkr/nebulex_ext
ac76ed3b56823450f79e6dec56d1247192a2abc3
[ "MIT" ]
1
2018-11-01T15:06:52.000Z
2018-11-01T15:06:52.000Z
test/test_helper.exs
amilkr/nebulex_ext
ac76ed3b56823450f79e6dec56d1247192a2abc3
[ "MIT" ]
2
2019-06-25T16:45:46.000Z
2019-10-07T22:07:51.000Z
# Load support files support_files = for file <- File.ls!("test/support") do {file, Code.require_file("support/" <> file, __DIR__)} end # Load Nebulex helper File.cd!("deps/nebulex", fn -> Code.require_file "test/test_helper.exs" end) # Load support files on remote nodes if clustered is present unless :clus...
28.75
97
0.671014
794bf6ce6a6b1d8f54c29f7fa48a7d3a19610b72
2,565
ex
Elixir
lib/codes/codes_q67.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_q67.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_q67.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_Q67 do alias IcdCode.ICDCode def _Q670 do %ICDCode{full_code: "Q670", category_code: "Q67", short_code: "0", full_name: "Congenital facial asymmetry", short_name: "Congenital facial asymmetry", category_name: "Congenital facial asy...
29.147727
78
0.591423
794bfe5aab4eee94a5ed74d3c7ccb361de6bc81c
4,051
ex
Elixir
clients/games/lib/google_api/games/v1/model/achievement_definition.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/games/lib/google_api/games/v1/model/achievement_definition.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/achievement_definition.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 ...
45.011111
186
0.683535
794c0136a3aac9897783aa28fe775c52e8321b5c
211
exs
Elixir
config/test.exs
cnsa/ex_machina
8a55155df735b2d0c143676f451a7a1ee191dc85
[ "MIT" ]
1
2019-05-20T04:59:57.000Z
2019-05-20T04:59:57.000Z
config/test.exs
ByteDecoder/ex_machina
012e957e7ab1e22eca18b62e8f3fcc2a98a7f286
[ "MIT" ]
null
null
null
config/test.exs
ByteDecoder/ex_machina
012e957e7ab1e22eca18b62e8f3fcc2a98a7f286
[ "MIT" ]
null
null
null
use Mix.Config config :ex_machina, ExMachina.TestRepo, hostname: "localhost", database: "ex_machina_test", adapter: Ecto.Adapters.Postgres, pool: Ecto.Adapters.SQL.Sandbox config :logger, level: :warn
21.1
39
0.753555
794c11d2f8a040f3d72ec2d283b8820ea37d5799
550
ex
Elixir
apps/banking_api_challenge/lib/banking_api_challenge/operations/inputs/deposit_input.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
null
null
null
apps/banking_api_challenge/lib/banking_api_challenge/operations/inputs/deposit_input.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
null
null
null
apps/banking_api_challenge/lib/banking_api_challenge/operations/inputs/deposit_input.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
1
2021-04-20T19:05:48.000Z
2021-04-20T19:05:48.000Z
defmodule BankingApiChallenge.Operations.Inputs.DepositInput do @moduledoc """ Deposit operation data """ use Ecto.Schema import Ecto.Changeset @required_fields [:account_id, :amount] @primary_key false embedded_schema do field :operation_type, :string, default: "deposit" field :account_id, :...
22
63
0.716364
794c246d1330f660dd1fb469b2f6ba6d0262050c
2,098
exs
Elixir
test/bitcrowd_ecto/schema_test.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
2
2022-01-11T08:03:49.000Z
2022-02-11T10:25:30.000Z
test/bitcrowd_ecto/schema_test.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
3
2022-02-03T21:28:14.000Z
2022-03-25T09:03:15.000Z
test/bitcrowd_ecto/schema_test.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
null
null
null
defmodule BitcrowdEcto.SchemaTest do use ExUnit.Case, async: true import BitcrowdEcto.Schema defmodule TestEnumSchema do use Ecto.Schema schema "test_schema" do field(:some_enum, Ecto.Enum, values: [:foo, :bar]) field(:some_other_field, :integer) end end doctest BitcrowdEcto.Schema ...
32.276923
85
0.681125
794c3ce4bb52b719b5f0dbe12635e2284f74665b
2,971
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/page.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/page.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/page.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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.679012
124
0.676876
794c6f8272cbcf49709e235ee659896653cb4cc5
1,638
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_resource_files.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_resource_files.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_resource_files.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...
34.851064
142
0.760684
794c717ad493045759af0bf0cdb08030a53a4ac1
1,040
exs
Elixir
test/integration/broken_consumer_throws_test.exs
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
49
2016-07-30T13:45:12.000Z
2021-08-08T13:45:05.000Z
test/integration/broken_consumer_throws_test.exs
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
20
2016-08-05T11:54:35.000Z
2021-06-02T19:43:06.000Z
test/integration/broken_consumer_throws_test.exs
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
14
2016-08-05T09:39:51.000Z
2021-11-29T14:22:28.000Z
defmodule Tackle.BrokenConsumerThrowsTest do use ExSpec alias Support alias Support.MessageTrace defmodule BrokenConsumer do use Tackle.Consumer, url: "amqp://localhost", exchange: "test-exchange", routing_key: "test-messages", service: "broken-service-throw", retry_delay: 1,...
21.22449
75
0.6625
794cb132b65c9adbc12c34d97a8208e1e6777bf5
904
ex
Elixir
lib/exscript/stdlib/enum.ex
craigspaeth/exscript
c3a24790dff0eac592060ba3ae349be7c567e0a7
[ "MIT" ]
1
2017-12-15T23:55:05.000Z
2017-12-15T23:55:05.000Z
lib/exscript/stdlib/enum.ex
craigspaeth/exscript
c3a24790dff0eac592060ba3ae349be7c567e0a7
[ "MIT" ]
null
null
null
lib/exscript/stdlib/enum.ex
craigspaeth/exscript
c3a24790dff0eac592060ba3ae349be7c567e0a7
[ "MIT" ]
null
null
null
defmodule ExScript.Stdlib.Enum do def map(e, fun) do for i <- e do fun.(i) end end def reduce(enumerable, arg2, arg3) do JS.embed("const reducer = arg3 || arg2") JS.embed("const initVal = arg3 ? arg2 : enumerable[0]") JS.embed("const callback = (acc, val, i) => reducer(val, acc)") J...
22.6
74
0.613938
794cbc67a13f0ecbba1cac11d7da7e82340657c3
217
ex
Elixir
lib/doctor_schedule_web/live/header_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
2
2022-03-11T12:15:01.000Z
2022-03-11T13:53:21.000Z
lib/doctor_schedule_web/live/header_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
3
2020-12-12T22:10:17.000Z
2021-04-05T12:53:12.000Z
lib/doctor_schedule_web/live/header_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
1
2021-02-26T04:24:34.000Z
2021-02-26T04:24:34.000Z
defmodule DoctorScheduleWeb.HeaderComponent do use Phoenix.LiveComponent alias DoctorScheduleWeb.PageView alias Phoenix.View def render(assigns) do View.render(PageView, "header.html", assigns) end end
21.7
49
0.788018
794cdf90eea39fc020ede1ae8e632979fe220f50
3,830
ex
Elixir
lib/oban/notifier.ex
hartzell/oban
2901cd4655d61eda95813cc1880b003f37cd8983
[ "Apache-2.0" ]
1
2021-11-20T19:16:24.000Z
2021-11-20T19:16:24.000Z
lib/oban/notifier.ex
hartzell/oban
2901cd4655d61eda95813cc1880b003f37cd8983
[ "Apache-2.0" ]
null
null
null
lib/oban/notifier.ex
hartzell/oban
2901cd4655d61eda95813cc1880b003f37cd8983
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Notifier do @moduledoc false # The notifier has several different responsibilities and some nuanced behavior: # # On Start: # 1. Create a connection # 2. Listen for insert/signal events # 3. If connection fails then log the error, break the circuit, and attempt to connect later # # On ...
25.197368
97
0.648564
794ce42e47bf20b65522dff24be75b8e01bd83aa
18,253
exs
Elixir
test/mastani_server_web/query/cms/cms_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
test/mastani_server_web/query/cms/cms_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
test/mastani_server_web/query/cms/cms_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Test.Query.CMS.Basic do use MastaniServer.TestTools alias MastaniServer.Accounts.User alias MastaniServer.CMS alias CMS.{Community, Category} setup do guest_conn = simu_conn(:guest) {:ok, community} = db_insert(:community) {:ok, user} = db_insert(:user) {:ok, ~m(gues...
30.83277
112
0.593491
794d0dd491221ec52e6a4a44b8ce78a2e9e11560
2,949
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/audit_config.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...
58.98
1,106
0.746694
794d1c36fff65e0a2f11bfa784cb704a31757ed9
848
ex
Elixir
lib/dogma/rule/windows_line_endings.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
558
2015-06-21T18:20:59.000Z
2021-12-30T16:25:47.000Z
lib/dogma/rule/windows_line_endings.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
252
2015-06-19T13:00:47.000Z
2021-04-21T08:04:16.000Z
lib/dogma/rule/windows_line_endings.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
79
2015-06-21T14:18:30.000Z
2021-12-30T16:26:09.000Z
use Dogma.RuleBuilder defrule Dogma.Rule.WindowsLineEndings do @moduledoc ~S""" A rule that disallows any lines terminated with `\r\n`, the line terminator commonly used on the Windows operating system. The preferred line terminator is is the Unix style `\n`. If you are a Windows user you should be able to...
24.228571
77
0.653302
794d35464e508e5a59dd1a17375891c0aa71870f
1,132
exs
Elixir
test/ex_permissions/user_test.exs
mtwilliams/ex_permissions
1842f27f41b5d404d2e2409ad3c421de08970843
[ "Unlicense" ]
null
null
null
test/ex_permissions/user_test.exs
mtwilliams/ex_permissions
1842f27f41b5d404d2e2409ad3c421de08970843
[ "Unlicense" ]
3
2015-05-03T05:15:56.000Z
2015-05-03T05:20:02.000Z
test/ex_permissions/user_test.exs
mtwilliams/ex_permissions
1842f27f41b5d404d2e2409ad3c421de08970843
[ "Unlicense" ]
null
null
null
defmodule ExPermissions.User.Test do use ExUnit.Case defmodule UserWithoutImplementations do use ExPermissions.User defstruct foo: nil, bar: nil end test "passing nil instead of a proper 'object'" do assert_raise ExPermissions.User.CannotTell, fn -> nil |> ExPermissions.User.is? :fo...
43.538462
102
0.743816
794d4c11723f031f3eb856f2d35a4c14c40474f3
1,590
ex
Elixir
lib/app/poller.ex
4DA/bleroma
26a533373f121e54f49d7ce59fd6e246fe51f738
[ "MIT" ]
5
2020-06-30T14:12:21.000Z
2021-11-14T21:16:02.000Z
lib/app/poller.ex
4DA/bleroma
26a533373f121e54f49d7ce59fd6e246fe51f738
[ "MIT" ]
null
null
null
lib/app/poller.ex
4DA/bleroma
26a533373f121e54f49d7ce59fd6e246fe51f738
[ "MIT" ]
null
null
null
# Poller receives responses from Telegram and sends them to Bleroma.Matcher defmodule Bleroma.Poller do use GenServer require Logger # Server def start_link do Logger.log(:info, "Started poller") GenServer.start_link(__MODULE__, :ok, name: __MODULE__) end def init(:ok) do update() {:ok, ...
19.390244
97
0.641509
794da1942cc608cca8bda5ca863de133ce604ec3
9,658
ex
Elixir
lib/phoenix/live_dashboard/components/table_component.ex
sabiwara/phoenix_live_dashboard
cfadca62af16b0af356f497ae6ddbb095be5a8f5
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/components/table_component.ex
sabiwara/phoenix_live_dashboard
cfadca62af16b0af356f497ae6ddbb095be5a8f5
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/components/table_component.ex
sabiwara/phoenix_live_dashboard
cfadca62af16b0af356f497ae6ddbb095be5a8f5
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.TableComponent do use Phoenix.LiveDashboard.Web, :live_component @limit [50, 100, 500, 1000, 5000] @type params() :: %{ limit: pos_integer(), sort_by: :atom, sort_dir: :desc | :asc, search: binary(), hint: binary() | nil }...
31.357143
164
0.578381
794db67cf162058208cedd0045f3e4c327f4ae00
616
exs
Elixir
test/pixela_ex/client_test.exs
niku/pixela_ex
7f2bbf143519927e2a906b1c2e3d721e16e115e5
[ "CC0-1.0" ]
2
2018-10-20T10:01:05.000Z
2018-10-23T22:48:53.000Z
test/pixela_ex/client_test.exs
niku/pixela_ex
7f2bbf143519927e2a906b1c2e3d721e16e115e5
[ "CC0-1.0" ]
5
2018-10-24T00:55:24.000Z
2018-11-07T00:37:50.000Z
test/pixela_ex/client_test.exs
niku/pixela_ex
7f2bbf143519927e2a906b1c2e3d721e16e115e5
[ "CC0-1.0" ]
1
2018-10-23T21:55:32.000Z
2018-10-23T21:55:32.000Z
defmodule PixelaEx.ClientTest do use ExUnit.Case test "process_request_body" do assert PixelaEx.Client.process_request_body("") == "" assert PixelaEx.Client.process_request_body(%{hogeFuga: true}) == Poison.encode!(%{"hogeFuga" => "yes"}) end test "_format_key" do assert PixelaEx.Client._format_ke...
30.8
108
0.714286
794dbff0c6474a8ee477e31485da13617231d3a1
153
ex
Elixir
lib/firestorm_web/forums/slugs/category_title_slug.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
null
null
null
lib/firestorm_web/forums/slugs/category_title_slug.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
4
2021-03-01T21:25:42.000Z
2022-02-10T23:50:11.000Z
lib/firestorm_web/forums/slugs/category_title_slug.ex
palindrom615/firestorm
0690493c9dcae5c04c63c5321532a7db923e5be7
[ "MIT" ]
1
2020-03-20T12:58:37.000Z
2020-03-20T12:58:37.000Z
defmodule FirestormWeb.Forums.Slugs.CategoryTitleSlug do @moduledoc false use FirestormWeb.Forums.Slugs.TitleSlug, FirestormWeb.Forums.Category end
25.5
71
0.843137
794dfba5bde7f36754d671b7abe186ed3da636c5
817
ex
Elixir
lib/changelog_web/views/sponsor_view.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
lib/changelog_web/views/sponsor_view.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
lib/changelog_web/views/sponsor_view.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.SponsorView do use ChangelogWeb, :public_view alias Changelog.Files.{Avatar, ColorLogo, DarkLogo, LightLogo} alias ChangelogWeb.Endpoint def avatar_path(sponsor, version) do {sponsor.avatar, sponsor} |> Avatar.url(version) |> String.replace_leading("/priv", "") end def ...
28.172414
64
0.700122
794e429ed686877f61061dda92a9092d97dfbefa
1,664
ex
Elixir
lib/credo/check/consistency/parameter_pattern_matching.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
lib/credo/check/consistency/parameter_pattern_matching.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
lib/credo/check/consistency/parameter_pattern_matching.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
defmodule Credo.Check.Consistency.ParameterPatternMatching do @moduledoc """ When capturing a parameter using pattern matching you can either put the name before or after the value i.e. def parse({:ok, values} = pair) or def parse(pair = {:ok, values}) While this is not necessarily a concern for t...
30.814815
151
0.745192
794e4490f79ecfb78de2ac4048fa9fb961f2a038
1,657
exs
Elixir
apps/ewallet_config/test/ewallet_config/setting_loader_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet_config/test/ewallet_config/setting_loader_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet_config/test/ewallet_config/setting_loader_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWalletConfig.SettingLoaderTest do use EWalletConfig.SchemaCase, async: true alias EWalletConfig.{Config, SettingLoader} describe "load_settings/2" do test "loads the settings" do {:ok, _} = Config.insert(%{key: "my_setting_1", value: "value_1", type: "string"}) {:ok, _} = Config.insert...
37.659091
98
0.673506
794e5b0f2d5ec1bbbeda6ea30e2b99f450d6ad92
374
ex
Elixir
web/views/error_view.ex
marnen/contraq-elixir
69798c1b92a08c76a63e200eadeeb19986d56d91
[ "MIT" ]
null
null
null
web/views/error_view.ex
marnen/contraq-elixir
69798c1b92a08c76a63e200eadeeb19986d56d91
[ "MIT" ]
3
2016-11-25T20:35:54.000Z
2016-11-26T19:45:35.000Z
web/views/error_view.ex
marnen/contraq-elixir
69798c1b92a08c76a63e200eadeeb19986d56d91
[ "MIT" ]
null
null
null
defmodule Contraq.ErrorView do use Contraq.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template,...
20.777778
47
0.697861
794e657d3116b918ceabcd608e7eea0fb3308ccf
159
ex
Elixir
lib/hl7/2.3/datatypes/ts.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/ts.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/datatypes/ts.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.DataTypes.Ts do @moduledoc false use HL7.DataType, fields: [ time_of_an_event: nil, degree_of_precision: nil ] end
15.9
34
0.672956
794e7752086b53ab96202922c07bd0388cbaf4d7
1,553
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/vulnerable_parameters.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/vulnerable_parameters.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/vulnerable_parameters.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.042553
101
0.754668
794e953cff0675933ca503b4ddf27602a2e40ec8
1,871
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_summary_result.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_summary_result.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_summary_result.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...
34.018182
125
0.718867
794e989fb9cf2ed8ffc24c6ebfb3f8fe63d66e1b
1,122
exs
Elixir
test/bookings/create_or_update_test.exs
felipe-jm/ignite-elixir-flightex
cef013b2f7fee1b38572f4d81cf433cc5a863b0a
[ "MIT" ]
1
2021-03-23T13:53:16.000Z
2021-03-23T13:53:16.000Z
test/bookings/create_or_update_test.exs
felipe-jm/ignite-elixir-flightex
cef013b2f7fee1b38572f4d81cf433cc5a863b0a
[ "MIT" ]
null
null
null
test/bookings/create_or_update_test.exs
felipe-jm/ignite-elixir-flightex
cef013b2f7fee1b38572f4d81cf433cc5a863b0a
[ "MIT" ]
null
null
null
defmodule Flightex.Bookings.CreateOrUpdateTest do use ExUnit.Case alias Flightex.Bookings.CreateOrUpdate alias Flightex.Users.Agent, as: UserAgent import Flightex.Factory describe "call/1" do setup do user = build(:user) Flightex.start_agents() {:ok, uuid} = UserAgent.save(user) ...
22
67
0.627451
794ef4f1db989d424e6fc723f1f491f9c3f26142
1,059
exs
Elixir
test/sql/query_test.exs
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
1,305
2017-05-12T21:09:40.000Z
2022-03-31T04:31:49.000Z
test/sql/query_test.exs
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
95
2017-05-15T09:45:41.000Z
2022-03-23T03:35:48.000Z
test/sql/query_test.exs
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
86
2017-05-15T20:18:59.000Z
2022-02-11T22:10:34.000Z
defmodule SobelowTest.SQL.QueryTest do use ExUnit.Case import Sobelow, only: [is_vuln?: 1] alias Sobelow.SQL.Query test "SQL injection in `SQL`" do func = """ def query(%{"sql" => sql}) do SQL.query(Repo, sql, []) end """ {_, ast} = Code.string_to_quoted(func) assert Query.parse...
19.611111
54
0.578848
794f149f82b3a1fbb6d491ff893588add5f00ea7
838
exs
Elixir
test/cluster_gig_test.exs
florinpatrascu/libcluster_gig
703c13767db53c4366581bfd8d34cfe09bed37d3
[ "Apache-2.0" ]
5
2020-01-11T18:16:16.000Z
2021-12-14T02:30:38.000Z
test/cluster_gig_test.exs
florinpatrascu/libcluster_gig
703c13767db53c4366581bfd8d34cfe09bed37d3
[ "Apache-2.0" ]
null
null
null
test/cluster_gig_test.exs
florinpatrascu/libcluster_gig
703c13767db53c4366581bfd8d34cfe09bed37d3
[ "Apache-2.0" ]
null
null
null
defmodule Cluster.Strategy.GigTest do use ExUnit.Case alias Cluster.Strategy.GoogleInstanceGroups alias Cluster.Strategy.Test.Nodes require Nodes import ExUnit.CaptureLog test "calls strategy" do capture_log(fn -> start_supervised!( {GoogleInstanceGroups, [ %Cluster...
23.942857
56
0.541766
794f1c4c75a21719da332fda447e15a4c05142ae
90
exs
Elixir
test/todo_test.exs
mickeyr/elixir-todo
915e53b7450cd08d0ecef500a9544b664907a9bd
[ "MIT" ]
1
2015-02-26T22:44:56.000Z
2015-02-26T22:44:56.000Z
test/todo_test.exs
mickeyr/elixir-todo
915e53b7450cd08d0ecef500a9544b664907a9bd
[ "MIT" ]
null
null
null
test/todo_test.exs
mickeyr/elixir-todo
915e53b7450cd08d0ecef500a9544b664907a9bd
[ "MIT" ]
null
null
null
defmodule TodoTest do use ExUnit.Case test "the truth" do assert(true) end end
11.25
21
0.688889
794f2957883561bf3ef002daff6edf445a8780df
4,507
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/csv_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query/lib/google_api/big_query/v2/model/csv_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query/lib/google_api/big_query/v2/model/csv_options.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...
69.338462
859
0.731085
794f4a8b2acaa8ad438b9fd04555004aefc27189
446
ex
Elixir
lib/secret_keeper/services/v1/cryptography_module/cryptography_service.ex
cosmos-sajal/secret_keeper
b5ae5e01ed4cd30afb91ae02fedf2f1de9366bf0
[ "MIT" ]
2
2019-09-14T14:32:37.000Z
2020-06-05T15:17:34.000Z
lib/secret_keeper/services/v1/cryptography_module/cryptography_service.ex
cosmos-sajal/secret_keeper
b5ae5e01ed4cd30afb91ae02fedf2f1de9366bf0
[ "MIT" ]
null
null
null
lib/secret_keeper/services/v1/cryptography_module/cryptography_service.ex
cosmos-sajal/secret_keeper
b5ae5e01ed4cd30afb91ae02fedf2f1de9366bf0
[ "MIT" ]
null
null
null
defmodule SecretKeeper.Services.V1.CryptographyModule.CryptographyService do @moduledoc false @encryption_algo :aes_ecb def encrypt(plaintext, key) do @encryption_algo |> :crypto.block_encrypt(:crypto.hash(:sha256, key), plaintext) |> Base.encode16() end def decrypt(ciphertext, key) do :cry...
22.3
76
0.701794
794f70163364dfce43c7b732d74a620b12bc0474
1,702
exs
Elixir
umbrella/apps/sunulator_web/mix.exs
plasticine/sunulator
f202518bae70cad06ea9d38e183c1b9873a77b18
[ "MIT" ]
2
2019-06-05T23:28:44.000Z
2019-06-05T23:41:20.000Z
umbrella/apps/sunulator_web/mix.exs
plasticine/sunulator
f202518bae70cad06ea9d38e183c1b9873a77b18
[ "MIT" ]
3
2021-03-09T12:30:08.000Z
2021-09-01T19:32:06.000Z
umbrella/apps/sunulator_web/mix.exs
plasticine/sunulator
f202518bae70cad06ea9d38e183c1b9873a77b18
[ "MIT" ]
null
null
null
defmodule SunulatorWeb.MixProject do use Mix.Project def project do [ app: :sunulator_web, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", elixirc_paths: ...
27.901639
76
0.59812
794f76014453857c9348cf0b9684ab3830707e8a
1,580
exs
Elixir
test/new_relixir/instrumenters/plug_test.exs
sergioaugrod/new-relixir
ebb32bcbb2c74b48227791648d70ad835b4cd5c1
[ "MIT" ]
null
null
null
test/new_relixir/instrumenters/plug_test.exs
sergioaugrod/new-relixir
ebb32bcbb2c74b48227791648d70ad835b4cd5c1
[ "MIT" ]
null
null
null
test/new_relixir/instrumenters/plug_test.exs
sergioaugrod/new-relixir
ebb32bcbb2c74b48227791648d70ad835b4cd5c1
[ "MIT" ]
null
null
null
defmodule NewRelixir.Instrumenters.PlugTest do use ExUnit.Case use Plug.Test import TestHelpers.Assertions alias NewRelixir.CurrentTransaction @moduletag configured: true defmodule FakePlugApp do use Plug.Router plug NewRelixir.Instrumenters.Plug plug :match plug :dispatch get "/h...
26.333333
82
0.685443
794f9531697744201f37502efc5992b6718a05c4
294
exs
Elixir
.iex.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
893
2017-09-14T14:18:29.000Z
2022-03-31T21:45:08.000Z
.iex.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
103
2017-09-29T22:15:33.000Z
2022-03-27T21:47:43.000Z
.iex.exs
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
152
2017-09-07T12:43:15.000Z
2022-03-10T18:47:47.000Z
import_if_available(Ecto) import_if_available(Ecto.Query) import_if_available(Ecto.Changeset) import_if_available(Enum, only: [map: 2, filter: 2, reduce: 2, reduce: 3]) alias Asciinema.{Repo, Asciicasts, Accounts} alias Asciinema.Asciicasts.Asciicast alias Asciinema.Accounts.{User, ApiToken}
32.666667
74
0.809524
794fdded6bc4cd787345f7ea27097e7760f70003
309
exs
Elixir
priv/repo/migrations/20160808151518_remove_irc_provider.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
priv/repo/migrations/20160808151518_remove_irc_provider.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
priv/repo/migrations/20160808151518_remove_irc_provider.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Repo.Migrations.RemoveIrcProvider do use Ecto.Migration def up do execute """ DELETE FROM chat_providers WHERE name = 'irc' """ end def down do execute """ INSERT INTO chat_providers(name, inserted_at, updated_at) VALUES('irc', 'now', 'now') """ end end
17.166667
61
0.647249
794ff37389165707e5bb811534b4a0bda74380b5
834
ex
Elixir
lib/liblink/socket/recvmsg/init_state.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
lib/liblink/socket/recvmsg/init_state.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
lib/liblink/socket/recvmsg/init_state.ex
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...
32.076923
74
0.758993
79501eec5615edc84924cc82eb82285db3f87715
869
ex
Elixir
lib/koans/01_equalities.ex
remusa/elixir-koans
1b55724771f6af18580a16cb3f38b75a9f57f427
[ "MIT" ]
null
null
null
lib/koans/01_equalities.ex
remusa/elixir-koans
1b55724771f6af18580a16cb3f38b75a9f57f427
[ "MIT" ]
null
null
null
lib/koans/01_equalities.ex
remusa/elixir-koans
1b55724771f6af18580a16cb3f38b75a9f57f427
[ "MIT" ]
null
null
null
defmodule Equalities do use Koans @intro """ Welcome to the Elixir koans. Let these be your first humble steps towards learning a new language. The path laid in front of you is one of many. """ # Replace ___ with the answer to make the koan pass. koan "We shall contemplate truth by testing reality, v...
21.725
83
0.680092