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
b208bc81ffd7cd7ad86c0fcf24350ebd6b2aafc8
1,304
exs
Elixir
test/juvet/config_test.exs
juvet/juvet
5590ff7b1e5f411195d0becfe8b5740deb977cc5
[ "MIT" ]
19
2018-07-14T16:54:11.000Z
2022-03-01T09:02:19.000Z
test/juvet/config_test.exs
juvet/juvet
5590ff7b1e5f411195d0becfe8b5740deb977cc5
[ "MIT" ]
31
2018-06-29T15:30:40.000Z
2022-02-26T01:07:12.000Z
test/juvet/config_test.exs
juvet/juvet
5590ff7b1e5f411195d0becfe8b5740deb977cc5
[ "MIT" ]
null
null
null
defmodule Juvet.ConfigTest do use ExUnit.Case import Juvet.ConfigurationHelpers describe "Juvet.Config.bot/1" do test "returns the value specified in the config" do assert Juvet.Config.bot(bot: HelloWorld) == HelloWorld end end describe "Juvet.Config.slack/0" do test "returns a map contai...
27.166667
79
0.674847
b208dba4f53188a53bc92c4b495c537724691e76
1,795
ex
Elixir
lib/teslamate_web.ex
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
null
null
null
lib/teslamate_web.ex
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
1
2021-05-12T00:04:50.000Z
2021-05-12T00:04:50.000Z
lib/teslamate_web.ex
DP19/teslamate
7218286f39d2689566dd7188264ebdb7aea62663
[ "MIT" ]
1
2019-10-24T13:17:57.000Z
2019-10-24T13:17:57.000Z
defmodule TeslaMateWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use TeslaMateWeb, :controller use TeslaMateWeb, :view The definitions below will be executed for every view, contro...
24.256757
83
0.695822
b208f7e1ec93d196b0ef41ea226fc25c995e1dec
1,111
ex
Elixir
lib/pigeon/dispatcher_worker.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
545
2015-09-06T15:50:32.000Z
2022-03-21T08:21:11.000Z
lib/pigeon/dispatcher_worker.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
178
2016-01-14T22:21:20.000Z
2022-02-18T22:34:30.000Z
lib/pigeon/dispatcher_worker.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
124
2016-01-17T11:30:16.000Z
2022-02-28T16:59:41.000Z
defmodule Pigeon.DispatcherWorker do @moduledoc false use GenServer def start_link(opts) do opts[:adapter] || raise "adapter is not specified" GenServer.start_link(__MODULE__, opts) end def init(opts) do case opts[:adapter].init(opts) do {:ok, state} -> Pigeon.Registry.register(op...
26.452381
81
0.623762
b20903e84900c557870dd362b50cf6d7e5ebd85d
1,476
ex
Elixir
test/support/factory.ex
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
2
2017-06-08T23:28:13.000Z
2017-06-08T23:28:16.000Z
test/support/factory.ex
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
null
null
null
test/support/factory.ex
ench0/blog
04f7df2357b13dddee9d82cd1c35bbd0ce9618a9
[ "MIT" ]
null
null
null
defmodule Blog.Factory do @moduledoc """ Build and insert test data. ## Examples Factory.build(:user) # => %Blog.User{name: "John Smith"} Factory.build(:user, name: "Jane Smith") # => %Blog.User{name: "Jane Smith"} Factory.insert!(:user, name: "Jane Smith") # => %Bl...
20.5
70
0.596206
b20911376d798fba288ebc643f0b44b2075fdb25
884
ex
Elixir
release/src-rt-6.x.4708/router/apcupsd/platforms/debian/examples/preinst.ex
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
278
2015-11-03T03:01:20.000Z
2022-01-20T18:21:05.000Z
release/src-rt-6.x.4708/router/apcupsd/platforms/debian/examples/preinst.ex
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
374
2015-11-03T12:37:22.000Z
2021-12-17T14:18:08.000Z
release/src-rt-6.x.4708/router/apcupsd/platforms/debian/examples/preinst.ex
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
96
2015-11-22T07:47:26.000Z
2022-01-20T19:52:19.000Z
#! /bin/sh # preinst script for apcupsd # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # # For detai...
20.55814
63
0.569005
b20924967156dfde7ba47faf4f93a54f0458cc75
3,040
exs
Elixir
test/battle_box_web/live/bot_servers_test.exs
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
test/battle_box_web/live/bot_servers_test.exs
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
test/battle_box_web/live/bot_servers_test.exs
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBoxWeb.Live.BotServersTest do alias BattleBoxWeb.Live.BotServers use BattleBoxWeb.ConnCase import Phoenix.LiveViewTest alias BattleBox.{Arena, Bot, GameEngine, GameEngine} @user_id Ecto.UUID.generate() setup %{test: name} do {:ok, _pid} = GameEngine.start_link(name: name) GameEngin...
31.340206
94
0.630921
b20966609494d37c9908a905e5ec765b60c2e64a
1,231
ex
Elixir
lib/lle_cymraeg_web/controllers/comment_controller.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
lib/lle_cymraeg_web/controllers/comment_controller.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
lib/lle_cymraeg_web/controllers/comment_controller.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
defmodule LleCymraegWeb.CommentController do use LleCymraegWeb, :controller alias LleCymraeg.Comments alias LleCymraeg.Comments.Comment action_fallback LleCymraegWeb.FallbackController def index(conn, _params) do comments = Comments.list_comments() render(conn, "index.json", comments: comments) e...
28.627907
91
0.671812
b209932a777de3ac5e5853b42fabd0d88af44294
1,553
ex
Elixir
lib/mcf_phoenix/filters/filters.ex
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
lib/mcf_phoenix/filters/filters.ex
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
lib/mcf_phoenix/filters/filters.ex
majeX/phoenix-liveview-demo
e6c27fdd771eae8d64b3e8950a53e2534be72168
[ "MIT" ]
null
null
null
defmodule McfPhoenix.Filters do @moduledoc false require Logger alias __MODULE__ @all "all" defstruct work_orders: [@all], plants: [@all] def all do @all end def apply_work_orders_filters(items, %Filters{work_orders: selected_orders}) do includes_all = selected_orders |> Enum.any?(fn o...
28.236364
105
0.674179
b209b50d54d886b8accf7b365f6f7e9e31f61986
652
ex
Elixir
inmana/lib/inmana/restaurant.ex
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
1
2021-05-18T00:04:36.000Z
2021-05-18T00:04:36.000Z
inmana/lib/inmana/restaurant.ex
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
null
null
null
inmana/lib/inmana/restaurant.ex
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
null
null
null
defmodule Inmana.Restaurant do use Ecto.Schema import Ecto.Changeset alias Inmana.Supply @primary_key {:id, :binary_id, autogenerate: true} @required_params [:email, :name] @derive {Jason.Encoder, only: @required_params ++ [:id]} schema "restaurats" do field(:email, :string) field(:name, :strin...
21.733333
58
0.670245
b209ebed852f47ba1e777bb796649c04806137d2
1,201
ex
Elixir
test/support/conn_case.ex
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
test/support/conn_case.ex
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
test/support/conn_case.ex
juniornelson123/api_banking_teste
db263511d78fffe9e4081551817d006df2094316
[ "MIT" ]
null
null
null
defmodule ApiBankingWeb.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, if...
30.025
72
0.730225
b20a2f2e95b944b43b7e7243c37a8125eaacf7e2
7,002
ex
Elixir
lib/nsq/config.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
89
2015-11-17T01:15:02.000Z
2022-01-31T20:17:17.000Z
lib/nsq/config.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
20
2016-06-17T14:15:22.000Z
2019-09-23T13:31:18.000Z
lib/nsq/config.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
33
2016-01-28T15:20:43.000Z
2021-12-18T14:36:19.000Z
defmodule NSQ.Config do @ms 1 @seconds 1000 * @ms @minutes 60 * @seconds @default_config %{ dial_timeout: 1000, # Deadlines for network reads and writes read_timeout: 1 * @minutes, write_timeout: 1 * @seconds, # {host, port} tuples identifying where we should look for nsqd/nsqlookupd. ...
31.12
118
0.664953
b20a38f2d161cecdb0b841bebb66d002a34d309e
2,455
exs
Elixir
test/hexpm_web/controllers/dashboard/password_controller_test.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
test/hexpm_web/controllers/dashboard/password_controller_test.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
test/hexpm_web/controllers/dashboard/password_controller_test.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule HexpmWeb.Dashboard.PasswordControllerTest do use HexpmWeb.ConnCase, async: true use Bamboo.Test alias Hexpm.Accounts.Auth setup do mock_pwned() %{ user: insert(:user) } end test "show password", c do conn = build_conn() |> test_login(c.user) |> get("dash...
28.218391
98
0.638289
b20a743e9f1ddb1a2f9d81d1699b0e51eee2f97e
3,187
ex
Elixir
lib/membrane/rtp/packet_payload_type.ex
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
15
2020-12-12T01:30:19.000Z
2022-02-28T22:48:08.000Z
lib/membrane/rtp/packet_payload_type.ex
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
39
2020-07-31T09:16:41.000Z
2022-03-17T09:40:50.000Z
lib/membrane/rtp/packet_payload_type.ex
membraneframework/membrane_rtp
1df5f0bdb66d5c89bc63122c8b29af6cd4e600aa
[ "Apache-2.0" ]
3
2021-05-12T21:27:28.000Z
2021-11-03T19:27:34.000Z
defmodule Membrane.RTP.Packet.PayloadType do @moduledoc """ This module contains utility to translate numerical payload type into an atom value. """ alias Membrane.RTP @doc """ Gets the name of used encoding from numerical payload type according to [RFC3551](https://tools.ietf.org/html/rfc3551#page-32). ...
38.39759
129
0.726075
b20a7c6e66d5e11b33198148c95703b755e721e8
3,799
exs
Elixir
test/grizzly/command_class/schedule_entry_lock/year_day_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/schedule_entry_lock/year_day_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/schedule_entry_lock/year_day_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.ScheduleEntryLock.YearDayGetTest do use ExUnit.Case, async: true alias Grizzly.Packet alias Grizzly.CommandClass.ScheduleEntryLock.YearDayGet alias Grizzly.CommandClass.ScheduleEntryLock alias Grizzly.Command.EncodeError describe "implements Grizzly.Command behaviour" do ...
32.194915
92
0.582785
b20a89cb080e863b4b6d3e878b2f9850aac0f7ca
765
exs
Elixir
mix.exs
abadongutierrez/ecto_test
b3ad37c0e157117fd1b3b340452de4939589f605
[ "Apache-2.0" ]
null
null
null
mix.exs
abadongutierrez/ecto_test
b3ad37c0e157117fd1b3b340452de4939589f605
[ "Apache-2.0" ]
null
null
null
mix.exs
abadongutierrez/ecto_test
b3ad37c0e157117fd1b3b340452de4939589f605
[ "Apache-2.0" ]
null
null
null
defmodule EctoTest.Mixfile do use Mix.Project def project do [app: :ecto_test, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for...
21.857143
77
0.588235
b20a8e62ff3ff5f4def74a83dc66b17b61c276d7
1,707
ex
Elixir
web/web.ex
anildigital/ueberauth_example
b46a084d96da9c1155dd42bc8ac958d3f1513860
[ "MIT" ]
null
null
null
web/web.ex
anildigital/ueberauth_example
b46a084d96da9c1155dd42bc8ac958d3f1513860
[ "MIT" ]
null
null
null
web/web.ex
anildigital/ueberauth_example
b46a084d96da9c1155dd42bc8ac958d3f1513860
[ "MIT" ]
null
null
null
defmodule UeberauthExample.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use UeberauthExample.Web, :controller use UeberauthExample.Web, :view The definitions below will be executed for every view, contro...
21.607595
61
0.64089
b20aaa33242394f1d124cd10341c795ffdcbfe30
4,001
ex
Elixir
lib/dawdle.ex
hippware/procrastinator
4328360f2aa8b9ecdd96741a94f0d34d6b596be7
[ "MIT" ]
9
2019-08-30T19:10:36.000Z
2021-08-23T13:12:03.000Z
lib/dawdle.ex
hippware/procrastinator
4328360f2aa8b9ecdd96741a94f0d34d6b596be7
[ "MIT" ]
35
2019-03-06T17:23:17.000Z
2020-01-31T00:12:03.000Z
lib/dawdle.ex
hippware/procrastinator
4328360f2aa8b9ecdd96741a94f0d34d6b596be7
[ "MIT" ]
4
2020-11-30T20:33:28.000Z
2021-07-23T14:58:27.000Z
defmodule Dawdle do @moduledoc """ API for the Dawdle messaging system. """ @type argument :: any() @type callback :: (argument() -> any()) @type duration :: non_neg_integer() @type event :: struct() @type handler :: module() @doc """ Signals an event. The event is encoded and enqueued and will...
26.852349
78
0.690577
b20ac2627335f1b29776500cd87179634c51a71d
859
ex
Elixir
apps/api/test/support/conn_case.ex
aef-/scatonslack
7f5b01464a48482981f6b74a1013bf82d739b3e1
[ "MIT" ]
null
null
null
apps/api/test/support/conn_case.ex
aef-/scatonslack
7f5b01464a48482981f6b74a1013bf82d739b3e1
[ "MIT" ]
null
null
null
apps/api/test/support/conn_case.ex
aef-/scatonslack
7f5b01464a48482981f6b74a1013bf82d739b3e1
[ "MIT" ]
null
null
null
defmodule ScatOnSlack.API.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 and query models. Finally, if the test case interacts with...
24.542857
56
0.725262
b20ae590aec56b5663a537fd4143dddd7ac429f4
1,146
exs
Elixir
mix.exs
christhekeele/elixir-mime
155f1092aa56f770bddb3527debfe8b7ab511825
[ "MIT" ]
null
null
null
mix.exs
christhekeele/elixir-mime
155f1092aa56f770bddb3527debfe8b7ab511825
[ "MIT" ]
null
null
null
mix.exs
christhekeele/elixir-mime
155f1092aa56f770bddb3527debfe8b7ab511825
[ "MIT" ]
null
null
null
defmodule MIME.Types.Mixfile do use Mix.Project def project, do: [ app: :mime_types, elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps, version: "0.1.1", name: "MIME Types", source_url: "https://github.com/christhekeele/mime...
20.105263
69
0.570681
b20af91888d54115114c0ec387d873ff51698025
173
exs
Elixir
apps/core/priv/prm_repo/migrations/20170606171954_add_location_to_prm.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/20170606171954_add_location_to_prm.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/20170606171954_add_location_to_prm.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.AddLocationToPrm do use Ecto.Migration def change do alter table(:divisions) do add(:location, :geometry) end end end
17.3
53
0.716763
b20b0d16d66a2d3bb150c1af053346feb6bd414d
486
exs
Elixir
test/test_helper.exs
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
test/test_helper.exs
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
test/test_helper.exs
fstromback/bitpal
2c50e6700d7383b4f025b3734ba37257c69ce47e
[ "BSD-3-Clause-Clear" ]
null
null
null
# Ensure that all extra applications that our app depends on are started. # During testing we manually setup the individual parts instead. Application.load(:bitpal) for app <- Application.spec(:bitpal, :applications) do Application.ensure_all_started(app) end BitPal.Currencies.configure_money() Mox.defmock(FloweeM...
28.588235
86
0.790123
b20b41fd3faaf6815ed9711e3b2f47c91b64b770
2,616
ex
Elixir
lib/ex_mixpanel_export/csv.ex
thekirinlab/ex_mixpanel_export
e9f8f37fa7f4842cf79dff887002a26f7f822836
[ "MIT" ]
20
2022-03-21T11:16:20.000Z
2022-03-30T03:11:46.000Z
lib/ex_mixpanel_export/csv.ex
thekirinlab/ex_mixpanel_export
e9f8f37fa7f4842cf79dff887002a26f7f822836
[ "MIT" ]
null
null
null
lib/ex_mixpanel_export/csv.ex
thekirinlab/ex_mixpanel_export
e9f8f37fa7f4842cf79dff887002a26f7f822836
[ "MIT" ]
null
null
null
defmodule ExMixpanelExport.Csv do @moduledoc """ CSV export services """ @bom :unicode.encoding_to_bom(:utf8) alias ExMixpanelExport.CSVParser require Logger def to_csv(events) do utf8_csv = [csv_header() | csv_data(events)] |> CSVParser.dump_to_iodata() [@bom, utf8_csv] end de...
25.90099
56
0.586774
b20b558dfcdd32b6ba0a2b485df290e40dd745c2
1,396
ex
Elixir
apps/muster_web/lib/muster_web/telemetry.ex
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
apps/muster_web/lib/muster_web/telemetry.ex
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
apps/muster_web/lib/muster_web/telemetry.ex
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
defmodule MusterWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn m...
28.489796
86
0.669771
b20b6837ecdfc278ba1c4a5a94c71855bebcbfa5
446
ex
Elixir
lib/ex_onixo.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
1
2021-12-11T06:44:18.000Z
2021-12-11T06:44:18.000Z
lib/ex_onixo.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
lib/ex_onixo.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
defmodule ExOnixo do alias ExOnixo.Parser @moduledoc false @spec stream_sender(binary, keyword) :: binary def stream_sender(path, args) do Parser.parse_stream_sender(path, args) end @spec stream_product(binary, keyword) :: binary def stream_product(path, args) do Parser.parse_stream_product(path...
24.777778
55
0.735426
b20babeadb1210126ee2e5c90e007c920750554a
2,126
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/fs_command.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/fs_command.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/fs_command.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...
36.033898
157
0.698495
b20bc8ac53e830723d83b367d8e0df102b63d0e5
2,116
exs
Elixir
apps/ewallet_config/test/ewallet_config/utils/types/external_id_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/utils/types/external_id_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet_config/test/ewallet_config/utils/types/external_id_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWalletConfig.Types.ExternalIDTest do use ExUnit.Case, async: true alias EWalletConfig.Types.ExternalID describe "cast/1" do test "casts input to lower case" do assert ExternalID.cast("ACC_01CA56X1ZTJD9DZ7H10BZ6VMZX") == {:ok, "acc_01ca56x1ztjd9dz7h10bz6vmzx"} end test...
31.58209
87
0.672495
b20be119ca6ada2dab4974c47608d3906d3f51bb
4,016
exs
Elixir
lib/mix/test/mix/tasks/compile_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.CompileTest do use MixTest.Case defmodule CustomCompilers do def project do [compilers: [:elixir, :app, :custom]] end end setup do Mix.Project.push MixTest.Case.Sample :ok end test "compile --list with mixfile" ...
30.892308
114
0.614791
b20bed239f8dab181110c0b2caf7bb6db6fbea2e
3,848
exs
Elixir
test/pco_api/people/list_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
4
2016-05-13T20:04:32.000Z
2020-12-03T11:25:01.000Z
test/pco_api/people/list_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
23
2016-05-14T01:34:02.000Z
2016-08-16T22:34:40.000Z
test/pco_api/people/list_test.exs
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
4
2016-05-27T23:40:39.000Z
2019-10-06T17:36:40.000Z
defmodule PcoApi.People.ListTest do use ExUnit.Case, async: false doctest PcoApi.People.List alias PcoApi.People.List alias TestHelper.Fixture setup do bypass = Bypass.open Application.put_env(:pco_api, :endpoint_base, "http://localhost:#{bypass.port}/") {:ok, bypass: bypass} end test ".list...
34.981818
87
0.648909
b20bfcdbafd8131b40aed9f852152e04801ff507
1,618
ex
Elixir
clients/search_console/lib/google_api/search_console/v1/model/inspect_url_index_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/search_console/lib/google_api/search_console/v1/model/inspect_url_index_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/search_console/lib/google_api/search_console/v1/model/inspect_url_index_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.425532
135
0.762052
b20c1696f8651f8af23bd5cc457a69ac5ee0c3e0
224
ex
Elixir
web/models/category_translation.ex
kenta-aktsk/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
99
2016-04-19T11:11:57.000Z
2021-12-12T14:38:02.000Z
web/models/category_translation.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
48
2016-04-06T02:28:46.000Z
2016-05-31T06:56:56.000Z
web/models/category_translation.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
32
2016-04-19T11:12:00.000Z
2021-03-25T18:19:52.000Z
defmodule MediaSample.CategoryTranslation do use MediaSample.Web, :model use Translator.TranslationModel, schema: "category_translations", belongs_to: MediaSample.Category, required_fields: [:name, :description] end
37.333333
109
0.808036
b20c1ceae505ec83ecfd77ef7f5a438aee09034c
5,992
ex
Elixir
clients/speech/lib/google_api/speech/v1/api/speech.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/api/speech.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/api/speech.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.385185
395
0.68775
b20c7e91e071415986c8ba2d36b348f65c188ff9
1,495
ex
Elixir
lib/adoptoposs/submissions/project.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
null
null
null
lib/adoptoposs/submissions/project.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
1
2021-05-11T20:15:21.000Z
2021-05-11T20:15:21.000Z
lib/adoptoposs/submissions/project.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
null
null
null
defmodule Adoptoposs.Submissions.Project do use Ecto.Schema import Ecto.Changeset alias Adoptoposs.{Network, Accounts, Communication, Tags} schema "projects" do field :name, :string field :data, :map field :repo_id, :string field :repo_owner, :string field :description, :string field :...
27.685185
93
0.683612
b20c950a9a9e107a5e856a95ad97e4dc47476b09
2,573
ex
Elixir
apps/ewallet_api/lib/ewallet_api.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "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...
28.274725
74
0.723669
b20c9855728bf6e1eb2e0f7a016bcfef9ec1a0d4
3,026
exs
Elixir
mix.exs
szajbus/elasticsearch-elixir
4ce751b4b5379ccc168a8930bca9c3ad99ffbc55
[ "MIT" ]
1
2019-10-11T02:30:58.000Z
2019-10-11T02:30:58.000Z
mix.exs
szajbus/elasticsearch-elixir
4ce751b4b5379ccc168a8930bca9c3ad99ffbc55
[ "MIT" ]
null
null
null
mix.exs
szajbus/elasticsearch-elixir
4ce751b4b5379ccc168a8930bca9c3ad99ffbc55
[ "MIT" ]
null
null
null
defmodule Elasticsearch.Mixfile do use Mix.Project def project do [ app: :elasticsearch, description: "Elasticsearch without DSLs", source_url: "https://github.com/danielberkompas/elasticsearch-elixir", version: "1.0.0", elixir: "~> 1.5", start_permanent: Mix.env() == :prod,...
25.428571
80
0.53503
b20cb27345da664dec32c959a5e90c29e3b60e1a
3,144
ex
Elixir
lib/distributed/replicator/node.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
24
2017-06-24T01:41:18.000Z
2021-11-05T20:26:27.000Z
lib/distributed/replicator/node.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
null
null
null
lib/distributed/replicator/node.ex
ertgl/distributed
cb2ccb61069f9b86999e8fcfc1834f1a5537bffb
[ "MIT" ]
2
2017-06-24T01:58:25.000Z
2017-06-28T10:14:20.000Z
defmodule Distributed.Replicator.Node do @moduledoc """ The functions in `Distributed.Replicator.Node` module helps to replicate an event by processing it on the all nodes in the network. In `Distributed.Replicator.Node`, functions execute processes in parallel. **Note**: Since this module is only a wrapper for `N...
33.094737
133
0.688613
b20cb50cdb7a54930206c5a10de66892c6ff0b66
65
ex
Elixir
lib/offliner_web/views/layout_view.ex
adigitalmonk/offliner-ex
fb5254992ece9f193683a5d7d6385c2f7b740fe3
[ "MIT" ]
null
null
null
lib/offliner_web/views/layout_view.ex
adigitalmonk/offliner-ex
fb5254992ece9f193683a5d7d6385c2f7b740fe3
[ "MIT" ]
null
null
null
lib/offliner_web/views/layout_view.ex
adigitalmonk/offliner-ex
fb5254992ece9f193683a5d7d6385c2f7b740fe3
[ "MIT" ]
null
null
null
defmodule OfflinerWeb.LayoutView do use OfflinerWeb, :view end
16.25
35
0.815385
b20cc6da062b824beb93df662cd60df421b2c0a5
14,516
ex
Elixir
lib/vela.ex
am-kantox/vela
c006b141b7940bc2bb551c3840ee7ce170d9b5f8
[ "MIT" ]
9
2020-05-16T07:29:28.000Z
2021-02-14T23:12:31.000Z
lib/vela.ex
am-kantox/vela
c006b141b7940bc2bb551c3840ee7ce170d9b5f8
[ "MIT" ]
2
2020-07-12T09:40:04.000Z
2021-01-29T06:28:33.000Z
lib/vela.ex
am-kantox/vela
c006b141b7940bc2bb551c3840ee7ce170d9b5f8
[ "MIT" ]
1
2020-11-27T09:21:45.000Z
2020-11-27T09:21:45.000Z
defmodule Vela do @moduledoc """ `Vela` is a tiny library providing easy management of validated cached state with some history. Including `use Vela` in your module would turn the module into struct, setting field accordingly to the specification, passed as a parameter. `Vela` allows the following confi...
31.217204
95
0.586387
b20d065ce2babe33b56c2448256d44ec9ce7bea8
148
ex
Elixir
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/UnqualifiedNoParenthesesCallBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/UnqualifiedNoParenthesesCallBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/UnqualifiedNoParenthesesCallBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one key: value do end one two three, key: value do end one two, key: value do end one two, three do end one two + three do end one two three do end
21.142857
32
0.722973
b20d172b32cff43c41d34a6301a2074a959fba45
22,199
ex
Elixir
lib/ash/type/type.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
lib/ash/type/type.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
lib/ash/type/type.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
null
null
null
defmodule Ash.Type do @array_constraints [ min_length: [ type: :non_neg_integer, doc: "A minimum length for the items" ], max_length: [ type: :non_neg_integer, doc: "A maximum length for the items" ], nil_items?: [ type: :boolean, doc: "Whether or not the list c...
28.315051
112
0.588945
b20d342249a9ce1327a965e1f928fc23d836d2f1
1,496
exs
Elixir
test/euros/crawled_registry_test.exs
RichMorin/euros
7c592c532c53f954ed323d63f4f358c5ebd370a0
[ "MIT" ]
2
2017-12-18T00:10:14.000Z
2017-12-18T03:25:26.000Z
test/euros/crawled_registry_test.exs
RichMorin/euros
7c592c532c53f954ed323d63f4f358c5ebd370a0
[ "MIT" ]
26
2017-12-15T09:49:16.000Z
2018-01-13T09:11:48.000Z
test/euros/crawled_registry_test.exs
RichMorin/euros
7c592c532c53f954ed323d63f4f358c5ebd370a0
[ "MIT" ]
2
2017-12-18T00:10:18.000Z
2019-03-10T09:29:56.000Z
defmodule Euros.CrawledRegistryTest do use ExUnit.Case, async: true describe "Euros.CrawledRegistry.start/1" do test "0 argument" do assert {:ok, registry_name} = Euros.CrawledRegistry.start() assert "" !== registry_name end test "1 argument" do assert {:ok, registry_name} = Euros.Cr...
34.790698
90
0.693182
b20d3645834a65399250801d1a6a97cb8c195c7c
1,227
exs
Elixir
test/appsignal/demo_test.exs
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
test/appsignal/demo_test.exs
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
test/appsignal/demo_test.exs
sparta-science/appsignal-elixir
4710b4e7ec514a54b82d5c2561f72369ff48e2e2
[ "MIT" ]
null
null
null
defmodule AppsignalDemoTest do use ExUnit.Case, async: true import Mock test_with_mock "sends a demonstration error", Appsignal.Transaction, [:passthrough], [] do t = Appsignal.Demo.create_transaction_error_request assert called Appsignal.Transaction.set_action(t, "DemoController#hello") assert call...
47.192308
135
0.774246
b20d3a9fbc878d448fc8efacbae504b1c5cb08ea
73
exs
Elixir
elixir/test/test_helper.exs
samuelmesq/graphql_languages
f19158ba3a60bc1a6b3a0bcc7d8380002ebef151
[ "BSD-3-Clause" ]
null
null
null
elixir/test/test_helper.exs
samuelmesq/graphql_languages
f19158ba3a60bc1a6b3a0bcc7d8380002ebef151
[ "BSD-3-Clause" ]
2
2021-01-08T13:31:06.000Z
2021-01-08T13:31:07.000Z
elixir/test/test_helper.exs
samuelmesq/graphql_languages
f19158ba3a60bc1a6b3a0bcc7d8380002ebef151
[ "BSD-3-Clause" ]
1
2019-09-07T03:20:29.000Z
2019-09-07T03:20:29.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Sensedata.Repo, :manual)
14.6
55
0.767123
b20d4048f99f29679be3bcbee270a0e3fb7961f3
316
exs
Elixir
priv/templates/brando.upgrade/migrations/brando_06_create_link.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
priv/templates/brando.upgrade/migrations/brando_06_create_link.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
priv/templates/brando.upgrade/migrations/brando_06_create_link.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Repo.Migrations.CreateLink do use Ecto.Migration use Brando.Sequence.Migration def change do create table(:sites_links) do add :name, :string add :url, :string add :organization_id, references(:sites_organizations) sequenced() timestamps() end end end
21.066667
60
0.689873
b20d77a9cf435020440ca7ecd9dfbdaa0450c59d
4,659
ex
Elixir
lib/otto_api/incident.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
null
null
null
lib/otto_api/incident.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
1
2020-11-11T15:16:51.000Z
2020-11-11T20:53:34.000Z
lib/otto_api/incident.ex
DEVCONSec/otto-api-client-elixir
b74da14fbb7c4e33f0fe15e583630b6efa634d47
[ "MIT" ]
null
null
null
defmodule OttoApi.Incident do @enforce_keys [ :account_id, :site_id, :threat_id, :dom_location, :event_name, :ignored, :resolved, :blocked, :is_blocked, :stack_trace, :url_found_on, :source_code, :first_seen, :last_seen ] defstruct @enforce_keys ++ [:id] ...
27.087209
97
0.583816
b20d8c16dbbd1ed359f896a5866ad93ab8749bb3
561
ex
Elixir
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/welcome_controller.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
null
null
null
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/welcome_controller.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
2
2020-07-19T20:12:50.000Z
2021-02-23T00:47:46.000Z
Next_Level_Week_4/rocketpay/lib/rocketpay_web/controllers/welcome_controller.ex
amaziero/next-level-weeek-1
2269252f6a7294a82a28aade4404770fb3c438e8
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.WelcomeController do use RocketpayWeb, :controller alias Rocketpay.Numbers def index(conn, %{"filename" => filename}) do filename |> Numbers.sum_from_file() |> handle_response(conn) end defp handle_response({ :ok, %{result: result} }, conn) do conn |>...
23.375
84
0.634581
b20daa4f022e4bc1d86df5ffa6ca034b763a3189
1,657
exs
Elixir
braccino_ui/mix.exs
darcros/braccino
33f4d945daf8eac36e4e88ef412dd53cb1389376
[ "MIT" ]
null
null
null
braccino_ui/mix.exs
darcros/braccino
33f4d945daf8eac36e4e88ef412dd53cb1389376
[ "MIT" ]
null
null
null
braccino_ui/mix.exs
darcros/braccino
33f4d945daf8eac36e4e88ef412dd53cb1389376
[ "MIT" ]
null
null
null
defmodule BraccinoUi.MixProject do use Mix.Project def project do [ app: :braccino_ui, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases...
26.301587
84
0.585999
b20dc33d627c9ca5c48d85ae58bae3bdd08375b0
3,309
ex
Elixir
lib/codes/codes_w62.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_w62.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_w62.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_W62 do alias IcdCode.ICDCode def _W620XXA do %ICDCode{full_code: "W620XXA", category_code: "W62", short_code: "0XXA", full_name: "Contact with nonvenomous frogs, initial encounter", short_name: "Contact with nonvenomous frogs, initial encoun...
37.602273
90
0.65337
b20dca509644bba4c0d6449a3e09a57c3ecfe359
239
exs
Elixir
apps/snitch_core/priv/repo/migrations/20190128081011_update_user_unique_index.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/migrations/20190128081011_update_user_unique_index.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/migrations/20190128081011_update_user_unique_index.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Repo.Migrations.UpdateUserUniqueIndex do use Ecto.Migration def change do drop unique_index("snitch_users", [:email]) create unique_index("snitch_users", [:email, :deleted_at], name: :unique_email) end end
26.555556
84
0.748954
b20dd36425100792fb79879290ade4c498b68333
999
exs
Elixir
test/components/form/text_input_test.exs
mathewdgardner/surface
cd01707b5bd383fb6d1337dc55f0b9b4014581d7
[ "MIT" ]
null
null
null
test/components/form/text_input_test.exs
mathewdgardner/surface
cd01707b5bd383fb6d1337dc55f0b9b4014581d7
[ "MIT" ]
null
null
null
test/components/form/text_input_test.exs
mathewdgardner/surface
cd01707b5bd383fb6d1337dc55f0b9b4014581d7
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.TextInputTest do use ExUnit.Case alias Surface.Components.Form.TextInput, warn: false import ComponentTestHelper describe "Without LiveView" do test "empty input" do code = """ <TextInput form="user" field="name" /> """ assert render_live(code) =...
24.975
92
0.553554
b20de7f00382a56b0eecf92420baebc94b87bcae
13,983
ex
Elixir
lib/lucidboard/twiddler/op.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
86
2019-01-07T20:49:04.000Z
2021-10-02T21:15:42.000Z
lib/lucidboard/twiddler/op.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
26
2019-03-27T12:06:52.000Z
2020-09-20T05:21:09.000Z
lib/lucidboard/twiddler/op.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
19
2015-01-06T19:02:49.000Z
2020-05-25T08:54:00.000Z
defmodule Lucidboard.Twiddler.Op do @moduledoc """ Helper functions for manipulating `%Board{}` data. Some functions return both "built" and "loaded"-tagged structs. The built structs are intended to be saved to the db while the loaded ones are intended to be injected into the running board state. """ im...
33.292857
81
0.641064
b20dfd8a97f8b5ab89a85851215468019cd48ff3
3,707
ex
Elixir
lib/live_beats_web/live/profile_live/song_entry_component.ex
umair-akb/spotifyduo
f32517602c977ad1cf70eaf0e780d839f0ea85f6
[ "MIT" ]
547
2022-02-02T14:11:31.000Z
2022-03-31T12:34:03.000Z
lib/live_beats_web/live/profile_live/song_entry_component.ex
umair-akb/spotifyduo
f32517602c977ad1cf70eaf0e780d839f0ea85f6
[ "MIT" ]
24
2022-02-02T14:11:36.000Z
2022-02-23T20:14:43.000Z
lib/live_beats_web/live/profile_live/song_entry_component.ex
umair-akb/spotifyduo
f32517602c977ad1cf70eaf0e780d839f0ea85f6
[ "MIT" ]
63
2022-02-02T15:59:36.000Z
2022-03-23T05:30:43.000Z
defmodule LiveBeatsWeb.ProfileLive.SongEntryComponent do use LiveBeatsWeb, :live_component alias LiveBeats.MP3Stat def send_progress(%Phoenix.LiveView.UploadEntry{} = entry) do send_update(__MODULE__, id: entry.ref, progress: entry.progress) end def render(assigns) do ~H""" <div class="sm:grid ...
48.142857
172
0.628001
b20e3b0fe18a646729ae99fad9a952a1625f043d
26,503
exs
Elixir
test/chat_api/conversations_test.exs
jalford14/papercups
fbe5e5ce4ff51702a0f898c39a9be47c33e9cb4a
[ "MIT" ]
null
null
null
test/chat_api/conversations_test.exs
jalford14/papercups
fbe5e5ce4ff51702a0f898c39a9be47c33e9cb4a
[ "MIT" ]
null
null
null
test/chat_api/conversations_test.exs
jalford14/papercups
fbe5e5ce4ff51702a0f898c39a9be47c33e9cb4a
[ "MIT" ]
null
null
null
defmodule ChatApi.ConversationsTest do use ChatApi.DataCase, async: true import ChatApi.Factory alias ChatApi.Repo alias ChatApi.{Conversations, SlackConversationThreads} alias ChatApi.Conversations.Conversation alias ChatApi.SlackConversationThreads.SlackConversationThread alias ChatApi.Messages.Messag...
33.934699
105
0.663812
b20e52a4b0906b14a850655042d69476dfc324a9
4,657
exs
Elixir
test/network_test.exs
lgandersen/jocker
99a2c6506416b46cfde0debc617f4e8814b1b3fb
[ "BSD-2-Clause" ]
3
2020-07-14T13:44:30.000Z
2022-03-14T21:06:00.000Z
test/network_test.exs
lgandersen/jocker
99a2c6506416b46cfde0debc617f4e8814b1b3fb
[ "BSD-2-Clause" ]
null
null
null
test/network_test.exs
lgandersen/jocker
99a2c6506416b46cfde0debc617f4e8814b1b3fb
[ "BSD-2-Clause" ]
null
null
null
defmodule NetworkTest do use ExUnit.Case alias Jocker.Engine.{Network, Config, Utils, MetaData, Container} test "default interface is not defined at startup" do Utils.destroy_interface("jocker0") Config.delete("default_network_name") assert not Utils.interface_exists("jocker0") Config.put("defa...
32.566434
123
0.648271
b20e538f1a5e736d664f0aa0bd296d03e6179ef7
2,188
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_gcs_destination.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_gcs_destination.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_gcs_destination.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
45.583333
693
0.761426
b20e69ba3603cc30dd5ad3550e1d0d7e6b139fff
195
exs
Elixir
elixir/priv/repo/migrations/20210311111807_add_available_credit_to_companies.exs
jeanettearteaga/web-homework
0a39c23b736748d053fe9fe528da3e82b4ca1672
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20210311111807_add_available_credit_to_companies.exs
jeanettearteaga/web-homework
0a39c23b736748d053fe9fe528da3e82b4ca1672
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20210311111807_add_available_credit_to_companies.exs
jeanettearteaga/web-homework
0a39c23b736748d053fe9fe528da3e82b4ca1672
[ "MIT" ]
null
null
null
defmodule Homework.Repo.Migrations.AddAvailableCreditToCompanies do use Ecto.Migration def change do alter table("companies") do add(:available_credit, :integer) end end end
19.5
67
0.74359
b20e8bb84c095756fd722359d0c01c459978e70e
268
ex
Elixir
lib/verk_web/mount.ex
edgurgel/verk_web
8fe77262c5a98829635c941515ba37d99824c905
[ "MIT" ]
82
2016-02-08T04:33:54.000Z
2022-03-29T07:17:36.000Z
lib/verk_web/mount.ex
edgurgel/verk_web
8fe77262c5a98829635c941515ba37d99824c905
[ "MIT" ]
81
2016-03-09T02:17:40.000Z
2021-12-05T07:29:04.000Z
lib/verk_web/mount.ex
edgurgel/verk_web
8fe77262c5a98829635c941515ba37d99824c905
[ "MIT" ]
42
2016-04-05T21:35:31.000Z
2021-11-09T11:58:26.000Z
defmodule VerkWeb.Mount do @moduledoc false defmacro __using__(path: path) do quote bind_quoted: [path: path] do path = if String.starts_with?(path, "/"), do: path, else: "/" <> path socket("#{path}/socket", VerkWeb.UserSocket) end end end
22.333333
75
0.645522
b20e940497272ba09e31657dd6f02970d6ebf939
8,706
ex
Elixir
lib/cache.ex
BenAlbin/alchemy
c31bce54e13a692acdba3c3b581ff49090da7604
[ "MIT" ]
null
null
null
lib/cache.ex
BenAlbin/alchemy
c31bce54e13a692acdba3c3b581ff49090da7604
[ "MIT" ]
null
null
null
lib/cache.ex
BenAlbin/alchemy
c31bce54e13a692acdba3c3b581ff49090da7604
[ "MIT" ]
null
null
null
defmodule Alchemy.Cache do @moduledoc """ This module provides a handful of useful functions to interact with the cache. By default, Alchemy caches a great deal of information given to it, notably about guilds. In general, using the cache should be prioritised over using the api functions in `Alchemy.Client`...
35.534694
85
0.662761
b20e96e39ba9a41580b79a9dd900178ac9098f3b
4,111
ex
Elixir
lib/lapin/producer.ex
nTraum/lapin
02450640e5b1e0b0f2e76af38d41dee170166b18
[ "MIT" ]
21
2017-10-23T21:18:57.000Z
2022-02-09T11:58:33.000Z
lib/lapin/producer.ex
nTraum/lapin
02450640e5b1e0b0f2e76af38d41dee170166b18
[ "MIT" ]
37
2017-10-23T22:29:43.000Z
2022-02-22T00:15:52.000Z
lib/lapin/producer.ex
nTraum/lapin
02450640e5b1e0b0f2e76af38d41dee170166b18
[ "MIT" ]
13
2017-10-17T15:15:35.000Z
2022-03-08T14:02:36.000Z
defmodule Lapin.Producer do @moduledoc """ Extensible behaviour to define producer configuration. Lapin provides a number of submodules which implement the patterns found in the [RabbitMQ Tutorials](http://www.rabbitmq.com/getstarted.html). ``` defmodule ExampleApp.SomePatter do use Lapin.Producer ...
28.157534
101
0.643882
b20ea1b21e28314060cb5355f0e681451b101a65
232
exs
Elixir
test/test_helper.exs
kawikadkekahuna/Stickylixer
b81a1953522d5b5873f8893d54ac01e87891af73
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
kawikadkekahuna/Stickylixer
b81a1953522d5b5873f8893d54ac01e87891af73
[ "BSD-3-Clause" ]
null
null
null
test/test_helper.exs
kawikadkekahuna/Stickylixer
b81a1953522d5b5873f8893d54ac01e87891af73
[ "BSD-3-Clause" ]
null
null
null
ExUnit.start() Application.put_env(:stickylixer, :api_key, {"sticky_username", "sticky_password"}) Application.put_env(:stickylixer, :api_url, "http://localhost:5000/api/v1/") Application.put_env(:stickylixer, :send_to_http, false)
46.4
83
0.780172
b20eaa043b42d508808f754f1cf72f595dd695cb
1,747
ex
Elixir
lib/saitama_web.ex
tfwright/saitama
7f76ee2c8f01ee9b7a1507667904b9c691124112
[ "Apache-2.0" ]
5
2020-06-18T11:44:20.000Z
2021-08-28T10:39:57.000Z
lib/saitama_web.ex
tfwright/saitama
7f76ee2c8f01ee9b7a1507667904b9c691124112
[ "Apache-2.0" ]
1
2021-03-10T07:41:31.000Z
2021-03-10T07:41:31.000Z
lib/saitama_web.ex
tfwright/saitama
7f76ee2c8f01ee9b7a1507667904b9c691124112
[ "Apache-2.0" ]
null
null
null
defmodule SaitamaWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use SaitamaWeb, :controller use SaitamaWeb, :view The definitions below will be executed for every view, controller, ...
23.608108
83
0.692044
b20ecf411aefd054db075695b6ea802be9f4dfde
2,586
ex
Elixir
lib/bundlex/toolchain/common/unix.ex
abhijeetbhagat/bundlex
ac476476ba9c07e8233311fb00ad9d1566e2da4c
[ "Apache-2.0" ]
null
null
null
lib/bundlex/toolchain/common/unix.ex
abhijeetbhagat/bundlex
ac476476ba9c07e8233311fb00ad9d1566e2da4c
[ "Apache-2.0" ]
null
null
null
lib/bundlex/toolchain/common/unix.ex
abhijeetbhagat/bundlex
ac476476ba9c07e8233311fb00ad9d1566e2da4c
[ "Apache-2.0" ]
null
null
null
defmodule Bundlex.Toolchain.Common.Unix do @moduledoc false use Bunch alias Bundlex.{Native, Toolchain} def compiler_commands(native, compile, link, options \\ []) do includes = native.includes |> paths("-I") pkg_config_cflags = native.pkg_configs |> pkg_config(:cflags) compiler_flags = native.com...
28.417582
81
0.58082
b20f0dcc3f24fb03fe3eb3a0b7edcadec26b8fe7
1,146
ex
Elixir
lib/day2.ex
erljef/adventofcode-2020
fdae924b34eb9b324e529b02e2aed45a79078102
[ "WTFPL" ]
null
null
null
lib/day2.ex
erljef/adventofcode-2020
fdae924b34eb9b324e529b02e2aed45a79078102
[ "WTFPL" ]
null
null
null
lib/day2.ex
erljef/adventofcode-2020
fdae924b34eb9b324e529b02e2aed45a79078102
[ "WTFPL" ]
null
null
null
defmodule Day2 do def from_file(path) do File.read!(path) |> String.split("\n", trim: true) |> Enum.map(&parse_row/1) end def parse_row(row) do [min, max, letter, password] = Regex.run(~r{(\d+)-(\d+) (\w+): (\w+)}, row, capture: :all_but_first) {String.to_integer(min), String.to_integer(max)...
27.285714
104
0.625654
b20f14ce9d99642eb9b860ea691dbe1a47066427
2,357
ex
Elixir
lib/ash/resource/relationships/belongs_to.ex
sobolevn/ash
5eca8379377a633100ca14c13c6994fa61c8f7ea
[ "MIT" ]
1
2021-12-27T09:43:29.000Z
2021-12-27T09:43:29.000Z
lib/ash/resource/relationships/belongs_to.ex
sobolevn/ash
5eca8379377a633100ca14c13c6994fa61c8f7ea
[ "MIT" ]
null
null
null
lib/ash/resource/relationships/belongs_to.ex
sobolevn/ash
5eca8379377a633100ca14c13c6994fa61c8f7ea
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Relationships.BelongsTo do @moduledoc "Represents a belongs_to relationship on a resource" defstruct [ :name, :destination, :primary_key?, :define_field?, :field_type, :destination_field, :source_field, :source, :required?, :writable?, cardinality:...
31.851351
152
0.517183
b20f26a0bb2b6ced7cc42a6dc02cb2c21345cbdd
1,140
exs
Elixir
config/config.exs
jesseshieh/chess
80e6854d5f0a05420e5eea6deee9e41f03445b5a
[ "MIT" ]
null
null
null
config/config.exs
jesseshieh/chess
80e6854d5f0a05420e5eea6deee9e41f03445b5a
[ "MIT" ]
null
null
null
config/config.exs
jesseshieh/chess
80e6854d5f0a05420e5eea6deee9e41f03445b5a
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :chess, ecto_repos: [Chess.Repo] # Conf...
33.529412
86
0.773684
b20f2724926793acf0ce0e4cb60ec42094fc3d19
681
ex
Elixir
lib/arbejd_q/migrations/v3.ex
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
lib/arbejd_q/migrations/v3.ex
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
lib/arbejd_q/migrations/v3.ex
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
defmodule ArbejdQ.Migrations.V3 do @moduledoc """ Database migrations used by ArbejdQ version 3. """ import Ecto.Migration def up do create table(:arbejdq_resources, primary_key: false) do add :id, :string, size: 255, primary_key: true add :type, :integer, null: false add :total_count,...
22.7
59
0.684288
b20f28ec342e13790f4b0c44a9efe8fa2f3ab72e
3,303
ex
Elixir
apps/ewallet_db/lib/ewallet_db/update_email_request.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/lib/ewallet_db/update_email_request.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/lib/ewallet_db/update_email_request.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "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...
25.804688
77
0.656373
b20f2c5a51a6884599924a6138521fce7c09790d
540
exs
Elixir
bench.exs
qcam/saxmerl
b0316ad002a6cab87c64abbf46c5dbd8d40dc6d6
[ "MIT" ]
5
2020-10-21T05:05:23.000Z
2022-03-20T13:53:34.000Z
bench.exs
qcam/saxmerl
b0316ad002a6cab87c64abbf46c5dbd8d40dc6d6
[ "MIT" ]
null
null
null
bench.exs
qcam/saxmerl
b0316ad002a6cab87c64abbf46c5dbd8d40dc6d6
[ "MIT" ]
2
2021-08-23T08:53:29.000Z
2022-01-20T10:42:10.000Z
inputs = Map.new(Path.wildcard("test/support/fixtures/sweet_xml/*.*"), fn sample -> binary = sample |> Path.expand() |> File.read!() {sample, {binary, String.to_charlist(binary)}} end) bench_options = [ time: 5, memory_time: 2, inputs: inputs ] saxmerl_parser = fn {data, _} -> {:ok, _} = Saxmerl.p...
19.285714
76
0.627778
b20f32849846881e834ab59b3458e74d5264f1fe
40
exs
Elixir
priv/repo/seeds.exs
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
86
2019-01-07T20:49:04.000Z
2021-10-02T21:15:42.000Z
priv/repo/seeds.exs
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
26
2019-03-27T12:06:52.000Z
2020-09-20T05:21:09.000Z
priv/repo/seeds.exs
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
19
2015-01-06T19:02:49.000Z
2020-05-25T08:54:00.000Z
alias Lucidboard.Seeds Seeds.insert!()
10
22
0.775
b20f75066793a43da3789053c333f1a000c81290
6,145
ex
Elixir
lib/tasks/keeper.install.ex
joaomdmoura/keeper
3541dc4dcf06afa176bcd5827408accdd3d05f9d
[ "Apache-2.0" ]
29
2016-11-06T05:43:17.000Z
2020-01-05T00:35:57.000Z
lib/tasks/keeper.install.ex
joaomdmoura/escort
3541dc4dcf06afa176bcd5827408accdd3d05f9d
[ "Apache-2.0" ]
9
2016-11-28T05:54:56.000Z
2018-06-01T13:36:51.000Z
lib/tasks/keeper.install.ex
joaomdmoura/escort
3541dc4dcf06afa176bcd5827408accdd3d05f9d
[ "Apache-2.0" ]
4
2016-11-28T20:31:02.000Z
2019-07-12T20:26:57.000Z
defmodule Mix.Tasks.Keeper.Install do use Mix.Task alias Mix.Tasks.Keeper.Install.{PathHelper, MigrationTestAdapter} @shortdoc "Installs the Keeper to the Phoenix Application" @model_path PathHelper.env_path(:model_path) @views_path PathHelper.env_path(:views_path) @router_path PathHelper.env_path(:router...
28.849765
112
0.657771
b20f7725a137e4e0a785f87c0fb34da02cd5fee6
1,793
ex
Elixir
lib/pbkdf2/base64.ex
sebn/pbkdf2_elixir
c892b7d9f0a20e749288217d57a18da6fe000fca
[ "BSD-3-Clause" ]
null
null
null
lib/pbkdf2/base64.ex
sebn/pbkdf2_elixir
c892b7d9f0a20e749288217d57a18da6fe000fca
[ "BSD-3-Clause" ]
null
null
null
lib/pbkdf2/base64.ex
sebn/pbkdf2_elixir
c892b7d9f0a20e749288217d57a18da6fe000fca
[ "BSD-3-Clause" ]
null
null
null
defmodule Pbkdf2.Base64 do @moduledoc """ Module that provides base64 encoding for pbkdf2. Most developers will not need to use this module directly. Pbkdf2 uses an adapted base64 alphabet (using `.` instead of `+` and with no padding). """ import Bitwise b64_alphabet = Enum.with_index('ABCDEFGH...
23.906667
87
0.568321
b20ff39aac1a7a0d912d8e3ba0b0660df29298bc
263
ex
Elixir
src/hello_world_api/lib/hello_world_api.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
src/hello_world_api/lib/hello_world_api.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
src/hello_world_api/lib/hello_world_api.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
defmodule HelloWorldApi do @moduledoc """ HelloWorldApi keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.3
66
0.764259
b20ffe260efc2625295502abf5a3b44c5b0a31d2
509
exs
Elixir
bench/witchcraft/monoid/float_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
bench/witchcraft/monoid/float_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
bench/witchcraft/monoid/float_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
defmodule Witchcraft.Monoid.FloatBench do @moduledoc false use Benchfella use Witchcraft.Monoid ######### # Setup # ######### # ---------- # # Data Types # # ---------- # @float 10.7289 ########## # Monoid # ########## bench("empty/1", do: empty(@float)) bench("empty?/1", do: empty?(...
15.424242
43
0.48723
b2100862a4a50daa3547524be965b7d30b126a33
7,125
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/api/sdfdownloadtasks.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/api/sdfdownloadtasks.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/api/sdfdownloadtasks.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...
45.967742
533
0.644772
b21008fc23a5d11ead7149f250c72c8e05acc95c
1,165
ex
Elixir
specs/Spec.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
specs/Spec.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
specs/Spec.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
defmodule Main do import DA_3001, only: :functions def modules do "lib/*/specs/funcs.ex*" |> to_file_paths |> split("/") |> pluck(1) |> map(&(:"Elixir.#{&1}.Spec_Funcs")) end def models do if Enum.empty?(System.argv) do "bin/megauni" |> Path.expand |> System.cmd(["...
17.923077
81
0.529614
b21015407b495c982813beaa61668d3a17da5bf4
4,351
exs
Elixir
test/services/coto_service_test.exs
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
null
null
null
test/services/coto_service_test.exs
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
null
null
null
test/services/coto_service_test.exs
cruatta/cotoami
29b7ef66c053cf4e381c6ff65d5fd599066ebabe
[ "Apache-2.0" ]
null
null
null
defmodule Cotoami.CotoServiceTest do use Cotoami.DataCase import ShorterMaps alias Cotoami.{ Fixtures, EmailUser, Amishi, Coto, Cotonoma, AmishiService, CotoService, CotoGraphService } setup do amishi = AmishiService.insert_or_update!(%EmailUser{email: "amishi@example.com...
31.078571
97
0.592507
b21015f1f5010a9f32eab8e21a19408527a0898d
2,635
ex
Elixir
video-code/30-application/servy/lib/servy/http_server.ex
anwarsky/elixir_sample2
613599113e15fcd400853fc0e560a39001435f6d
[ "Unlicense" ]
null
null
null
video-code/30-application/servy/lib/servy/http_server.ex
anwarsky/elixir_sample2
613599113e15fcd400853fc0e560a39001435f6d
[ "Unlicense" ]
null
null
null
video-code/30-application/servy/lib/servy/http_server.ex
anwarsky/elixir_sample2
613599113e15fcd400853fc0e560a39001435f6d
[ "Unlicense" ]
null
null
null
defmodule Servy.HttpServer do @doc """ Starts the server on the given `port` of localhost. """ def start(port) when is_integer(port) and port > 1023 do # Creates a socket to listen for client connections. # `listen_socket` is bound to the listening socket. {:ok, listen_socket} = :gen_tcp.li...
27.447917
84
0.66945
b2102a867e44b5ef0deb3340d5e5d4388873955f
3,293
exs
Elixir
mix.exs
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
mix.exs
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
mix.exs
kadmohardy/camino_challenge
53117f763c0a51b0825cac18b799b7d772781671
[ "MIT" ]
null
null
null
defmodule CaminoChallenge.MixProject do use Mix.Project @github_url "https://github.com/kadmohardy/camino_challenge" def project do [ app: :camino_challenge, version: "0.1.0", elixir: "~> 1.7", description: "Camino Challenge is an api thats manages contracts between parts", fil...
30.490741
86
0.543881
b21033fddd875cdf88912b85c116aa11f46b2e32
1,169
ex
Elixir
lib/siwapp/commons/tax.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
lib/siwapp/commons/tax.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
lib/siwapp/commons/tax.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
defmodule Siwapp.Commons.Tax do @moduledoc """ Tax """ use Ecto.Schema import Ecto.Changeset alias Siwapp.Invoices.Item @fields [:name, :value, :enabled, :default] @type t :: %__MODULE__{ id: pos_integer() | nil, name: binary | nil, value: binary | nil, enable...
22.921569
67
0.615056
b21039ecdae16d0501d34c473058b2dc42702298
7,544
exs
Elixir
apps/discovery_api/test/unit/discovery_api_web/controllers/data_controller_content_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/discovery_api/test/unit/discovery_api_web/controllers/data_controller_content_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/discovery_api/test/unit/discovery_api_web/controllers/data_controller_content_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DiscoveryApiWeb.DataController.ContentTest do use DiscoveryApiWeb.ConnCase use Placebo import Checkov alias DiscoveryApi.Data.{Model, SystemNameCache} alias DiscoveryApi.Services.{PrestoService, MetricsService} alias DiscoveryApiWeb.Utilities.QueryAccessUtils @dataset_id "1234-4567-89101" @sy...
52.388889
249
0.605912
b210416a27de65c55c52fb774c4f7c42a96000d1
1,801
ex
Elixir
priv/templates/phx.gen.auth/notifier.ex
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
839
2020-04-01T05:33:01.000Z
2022-03-14T19:37:56.000Z
priv/templates/phx.gen.auth/notifier.ex
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
119
2020-04-09T11:34:01.000Z
2021-09-14T04:54:43.000Z
priv/templates/phx.gen.auth/notifier.ex
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
63
2020-04-19T23:51:29.000Z
2022-01-06T20:08:35.000Z
defmodule <%= inspect context.module %>.<%= inspect schema.alias %>Notifier do # For simplicity, this module simply logs messages to the terminal. # You should replace it by a proper email or notification tool, such as: # # * Swoosh - https://hexdocs.pm/swoosh # * Bamboo - https://hexdocs.pm/bamboo # ...
24.337838
78
0.564131
b2106aeb5d1ea7dfe34990f8d9f685ee7be8a19e
27,565
exs
Elixir
lib/mix/test/mix/tasks/release_test.exs
vgsantoniazzi/elixir
b792ae50c3a61ff8b56c27b3ba63fc20ff151c77
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/release_test.exs
vgsantoniazzi/elixir
b792ae50c3a61ff8b56c27b3ba63fc20ff151c77
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/release_test.exs
vgsantoniazzi/elixir
b792ae50c3a61ff8b56c27b3ba63fc20ff151c77
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.ReleaseTest do use MixTest.Case @erts_version :erlang.system_info(:version) @hostname :inet_db.gethostname() defmacrop release_node(name), do: :"#{name}@#{@hostname}" describe "customize" do test "env, vm.args and overlays templat...
37.916094
137
0.568003
b210782cb24f313a9dc90933384a7481d08bf268
1,644
ex
Elixir
vendor/tree-sitter-elixir/test/highlight/operators.ex
Mu-L/difftastic
f91357b72936c65a56d74f1221bec3878a996575
[ "MIT" ]
125
2021-09-30T10:55:46.000Z
2022-03-16T10:49:32.000Z
vendor/tree-sitter-elixir/test/highlight/operators.ex
Mu-L/difftastic
f91357b72936c65a56d74f1221bec3878a996575
[ "MIT" ]
21
2021-10-01T22:47:58.000Z
2022-03-25T19:43:13.000Z
vendor/tree-sitter-elixir/test/highlight/operators.ex
Mu-L/difftastic
f91357b72936c65a56d74f1221bec3878a996575
[ "MIT" ]
9
2021-10-13T13:06:11.000Z
2022-02-12T17:16:06.000Z
a in b # <- variable # ^ keyword # ^ variable a not in b # <- variable # ^ keyword # ^ keyword # ^ variable a not in b # <- variable # ^ keyword # ^ keyword # ^ variable a ~>> b = bind(a, b) # <- variable # ^ operator # ^ variable # ^ operator # ^ function # ...
18.266667
45
0.419708
b210824b020526b91e97caaf4e50f1fbff139784
4,883
ex
Elixir
lib/liblink/cluster/announce/request_response.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
lib/liblink/cluster/announce/request_response.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
lib/liblink/cluster/announce/request_response.ex
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2018 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, soft...
29.593939
98
0.606594
b210831f0c035e7d06e12aea19037cf28f2932b0
1,107
exs
Elixir
config/config.exs
gordonguthrie/gg
c359692a2ce14532dc67eb80c2678e5f8b114900
[ "Apache-2.0" ]
1
2018-02-24T17:08:38.000Z
2018-02-24T17:08:38.000Z
config/config.exs
gordonguthrie/gg
c359692a2ce14532dc67eb80c2678e5f8b114900
[ "Apache-2.0" ]
null
null
null
config/config.exs
gordonguthrie/gg
c359692a2ce14532dc67eb80c2678e5f8b114900
[ "Apache-2.0" ]
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.709677
73
0.748871
b21089bc7c817ed34faf430a22bb1ce88f3026d3
706
ex
Elixir
lib/open_states/application.ex
msimonborg/open_states
4fd7e2026ff5851571d620c386ad20283a0ecd8d
[ "MIT" ]
null
null
null
lib/open_states/application.ex
msimonborg/open_states
4fd7e2026ff5851571d620c386ad20283a0ecd8d
[ "MIT" ]
null
null
null
lib/open_states/application.ex
msimonborg/open_states
4fd7e2026ff5851571d620c386ad20283a0ecd8d
[ "MIT" ]
null
null
null
defmodule OpenStates.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application use Receiver, as: :credentials def start(_type, _args) do set_api_key_from_env() children = [] opts = [strategy: :one_for_one, name...
25.214286
95
0.723796
b210a3a63affd1fdcd4c45e2982f0884c83fac82
4,752
exs
Elixir
9/solution-p2.exs
jochumb/aoc2015
4348372a79966bc4d6324d0874e018e6fe3c26df
[ "MIT" ]
null
null
null
9/solution-p2.exs
jochumb/aoc2015
4348372a79966bc4d6324d0874e018e6fe3c26df
[ "MIT" ]
null
null
null
9/solution-p2.exs
jochumb/aoc2015
4348372a79966bc4d6324d0874e018e6fe3c26df
[ "MIT" ]
null
null
null
defmodule HeldKarpStrategy do @zero 0 def longest(dists) do 0..Enum.count(dists)-1 |> Enum.map(&longest_from_node(&1,dists)) |> Enum.reduce({@zero, []}, &reduce_to_maximum/2) end defp longest_from_node(start_node, dists) do nodes_to_hit = 0..Enum.count(dists)-1 |> Enum.filter(&(&1!=sta...
30.267516
116
0.618476
b210bbe09ba8ffd8fffe166a216dbbdf8a78f18a
742
exs
Elixir
test/search_test.exs
hauptbenutzer/snap
8993183e3cae6bd52ce62e3b1248e35a4deda6d1
[ "MIT" ]
20
2021-04-16T19:33:59.000Z
2022-03-16T17:16:51.000Z
test/search_test.exs
hauptbenutzer/snap
8993183e3cae6bd52ce62e3b1248e35a4deda6d1
[ "MIT" ]
8
2021-02-05T20:17:18.000Z
2022-03-28T21:43:47.000Z
test/search_test.exs
hauptbenutzer/snap
8993183e3cae6bd52ce62e3b1248e35a4deda6d1
[ "MIT" ]
5
2021-04-12T13:54:26.000Z
2022-03-10T17:59:58.000Z
defmodule Snap.SearchTest do use Snap.IntegrationCase alias Snap.Bulk.Action alias Snap.Search alias Snap.Test.Cluster test "simple search response" do {:ok, _} = Snap.Indexes.create(Cluster, @test_index, %{}) 1..5 |> Enum.map(fn i -> doc = %{"title" => "Document #{i}"} %Action.Ind...
25.586207
71
0.623989
b210d5b1bbf4efbd0204a6570b4c54dc2e888d63
843
exs
Elixir
mix.exs
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
mix.exs
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
mix.exs
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
defmodule Legato.Mixfile do use Mix.Project def project do [app: :legato, version: "0.2.1", elixir: "~> 1.7", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, source_url: "https://github.com/data-twister/legato-ex", description: description(), package: pa...
20.560976
71
0.568209
b210ebf571dfee8e2e1963975010b19eaf5a7d97
897
exs
Elixir
examples/nif_script/mix.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
null
null
null
examples/nif_script/mix.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
null
null
null
examples/nif_script/mix.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
null
null
null
defmodule NifScript.MixProject do use Mix.Project @app :nif_script def project do [ app: @app, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, compilers: [:elixir_make | Mix.compilers()], make_targets: ["all"], make_clean: ["clean"], d...
20.386364
59
0.552954
b21100b31310f538ca9e862e75982f4dd1aebd77
6,919
exs
Elixir
apps/ewallet/test/ewallet/web/v1/serializers/wallet_serializer_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/ewallet/web/v1/serializers/wallet_serializer_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/ewallet/web/v1/serializers/wallet_serializer_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.438889
95
0.634774
b2110188669da739c78d575f22d270c85d4fe24b
1,824
ex
Elixir
web/controllers/idea_controller.ex
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
null
null
null
web/controllers/idea_controller.ex
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
4
2015-12-18T20:35:49.000Z
2015-12-18T20:36:43.000Z
web/controllers/idea_controller.ex
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
null
null
null
defmodule Clueless.IdeaController do use Clueless.Web, :controller alias Clueless.Idea plug :scrub_params, "idea" when action in [:create, :update] def index(conn, _params) do ideas = Repo.all(Idea) render(conn, "index.html", ideas: ideas) end def new(conn, _params) do changeset = Idea.chang...
26.823529
67
0.612939
b2111eb42b1df7e9065163446851a4bd50f2f71e
386
exs
Elixir
template/$PROJECT_NAME$/mix.exs
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
54
2018-01-24T00:22:57.000Z
2019-01-15T20:03:52.000Z
template/$PROJECT_NAME$/mix.exs
infinitered/mithril
0bbad29f86c63d9a827dcaaf6fed78a176ab90d7
[ "MIT" ]
3
2018-02-05T18:00:39.000Z
2018-05-04T00:05:20.000Z
template/$PROJECT_NAME$/mix.exs
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
3
2018-02-15T19:08:23.000Z
2018-09-28T13:49:27.000Z
defmodule <%= @project_name_camel_case %>.Umbrella.Mixfile do use Mix.Project def project do [ apps_path: "apps", start_permanent: Mix.env == :prod, deps: deps(), docs: docs() ] end defp docs do [ main: <%= @project_name_camel_case %> ] end defp deps do [...
15.44
61
0.536269
b211305e152bf21d3d86633119a461bea3048ccb
1,368
exs
Elixir
apps/site/test/site_web/controllers/static_file_controller_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/test/site_web/controllers/static_file_controller_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/test/site_web/controllers/static_file_controller_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.StaticFileControllerTest do use SiteWeb.ConnCase describe "index/2" do test "forwards files from config:cms:drupal:root" do bypass = Bypass.open() set_drupal_root("http://localhost:#{bypass.port}") Bypass.expect(bypass, fn conn -> assert "/path" == conn.request_path...
29.106383
72
0.666667
b21132c5478dcb9d9034cab84bd610d3fbde36af
7,416
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/api/players.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/games_management/lib/google_api/games_management/v1management/api/players.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/games_management/lib/google_api/games_management/v1management/api/players.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...
42.62069
196
0.623112
b211367623e7435d630a8c2691ed80d2bb1a1990
83
exs
Elixir
test/eviction_operator_test.exs
bonny-k8s/eviction_operator
8f7050db6c0e3211cacf6affecca5fae67f18719
[ "MIT" ]
2
2019-09-30T08:50:53.000Z
2019-10-07T14:27:00.000Z
test/eviction_operator_test.exs
bonny-k8s/eviction_operator
8f7050db6c0e3211cacf6affecca5fae67f18719
[ "MIT" ]
1
2019-10-07T00:39:28.000Z
2019-10-07T00:39:28.000Z
test/eviction_operator_test.exs
bonny-k8s/eviction_operator
8f7050db6c0e3211cacf6affecca5fae67f18719
[ "MIT" ]
null
null
null
defmodule EvictionOperatorTest do use ExUnit.Case doctest EvictionOperator end
16.6
33
0.843373
b2114a52aa403b1870d157ded01dcfed1cec99d5
1,980
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/negative_keyword.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/display_video/lib/google_api/display_video/v1/model/negative_keyword.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/display_video/lib/google_api/display_video/v1/model/negative_keyword.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.6
446
0.741414
b2114dfa41094b6adeb3bc3482ce15c980a7b21c
645
ex
Elixir
lib/stixex/types/hex.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
lib/stixex/types/hex.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
lib/stixex/types/hex.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.Types.Hex do @moduledoc """ It's just a string, but a very certain type of string which we should probably add as a type to avoid confusion... also maybe we should cast it to an integer db-side? The string MUST consist of an even number of hexadecimal characters, which are the digits '0' t...
24.807692
70
0.655814
b2117b11520f2f7862830c877ec29652081aecd3
5,773
exs
Elixir
test/mux/video/assets_test.exs
muxinc/mux_ex
e12ee8be69d2b834111ddcdafbbf63888587f4af
[ "MIT" ]
null
null
null
test/mux/video/assets_test.exs
muxinc/mux_ex
e12ee8be69d2b834111ddcdafbbf63888587f4af
[ "MIT" ]
null
null
null
test/mux/video/assets_test.exs
muxinc/mux_ex
e12ee8be69d2b834111ddcdafbbf63888587f4af
[ "MIT" ]
null
null
null
defmodule Mux.Video.AssetsTest do use ExUnit.Case import Tesla.Mock alias Mux.Video.Assets doctest Mux.Video.Assets @base_url "https://api.mux.com" setup do client = Mux.Base.new("token_id", "token_secret", base_url: @base_url) mock(fn %{method: :get, url: @base_url <> "/video/v1/assets"} -...
24.154812
127
0.477914
b21191b620c6446ef7166a24f42271e697ed24a5
2,243
exs
Elixir
test/jq_test.exs
spencerdcarlson/ex_jq
530c477d8109fa3c234066479a59c49c547b9ae4
[ "MIT" ]
5
2019-04-03T07:55:03.000Z
2021-04-13T09:20:35.000Z
test/jq_test.exs
spencerdcarlson/ex_jq
530c477d8109fa3c234066479a59c49c547b9ae4
[ "MIT" ]
1
2019-07-08T11:00:23.000Z
2022-03-03T12:07:02.000Z
test/jq_test.exs
spencerdcarlson/ex_jq
530c477d8109fa3c234066479a59c49c547b9ae4
[ "MIT" ]
null
null
null
defmodule JQTest do use ExUnit.Case doctest JQ alias JQ.{MaxByteSizeExceededException, NoResultException, SystemCmdException} describe "JQ.query" do test "simple JQ querry" do assert {:ok, "spencer"} == JQ.query(%{name: "spencer"}, ".name") end test "handle empty result" do assert {:o...
27.353659
92
0.545252
b211b9cb476d40c73db5c0e4acae1c1128e8169b
1,088
exs
Elixir
config/config.exs
knrz/haikunator
df49b4114b271ed899e8e67cdaa3c87be9620931
[ "MIT" ]
25
2015-05-27T17:30:33.000Z
2021-03-02T09:07:54.000Z
config/config.exs
knrz/Haikunator
df49b4114b271ed899e8e67cdaa3c87be9620931
[ "MIT" ]
5
2015-11-08T21:21:11.000Z
2020-04-01T11:22:57.000Z
config/config.exs
knrz/haikunator
df49b4114b271ed899e8e67cdaa3c87be9620931
[ "MIT" ]
11
2015-11-08T19:31:02.000Z
2020-09-08T23:46:53.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config import_config "adjectives.exs" import_config "nouns.exs" # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this...
38.857143
73
0.746324