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
9ed82616356821c46fe4faaa9ef42fd908b46392
3,864
exs
Elixir
chapter1/module02/reports_generator/test/reports_generator_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter1/module02/reports_generator/test/reports_generator_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter1/module02/reports_generator/test/reports_generator_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule ReportsGeneratorTest do use ExUnit.Case describe "build/1" do test "builds the report" do file_name = "report_test.csv" response = ReportsGenerator.build(file_name) expected_response = %{ "foods" => %{ "açaí" => 1, "churrasco" => 2, "esfirra" ...
23.418182
74
0.408644
9ed856fcb9fe025900a460bb5785bdf728b96088
2,882
ex
Elixir
deps/ecto/lib/mix/tasks/ecto.rollback.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/lib/mix/tasks/ecto.rollback.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/lib/mix/tasks/ecto.rollback.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Ecto.Rollback do use Mix.Task import Mix.Ecto @shortdoc "Rolls back the repository migrations" @recursive true @moduledoc """ Reverts applied migrations in the given repository. The repository must be set under `:ecto_repos` in the current app configuration or given via the `-r` o...
30.336842
98
0.649896
9ed8688b161168a5a34b7d09b405a549a2953b5b
3,093
exs
Elixir
test/bamboo_phoenix_test.exs
rozanov61/bamboo_phoenix
d8eb300e04caa9f753238ac4a82538ecfec67b65
[ "MIT" ]
5
2021-03-08T19:08:22.000Z
2022-01-11T21:37:01.000Z
test/bamboo_phoenix_test.exs
rozanov61/bamboo_phoenix
d8eb300e04caa9f753238ac4a82538ecfec67b65
[ "MIT" ]
1
2021-04-14T19:11:24.000Z
2021-04-19T13:52:06.000Z
test/bamboo_phoenix_test.exs
rozanov61/bamboo_phoenix
d8eb300e04caa9f753238ac4a82538ecfec67b65
[ "MIT" ]
4
2021-02-28T10:28:21.000Z
2021-12-03T19:04:49.000Z
defmodule Bamboo.PhoenixTest do use ExUnit.Case defmodule PhoenixLayoutView do use Phoenix.View, root: "test/support/templates", namespace: Bamboo.PhoenixLayoutView end defmodule EmailView do use Phoenix.View, root: "test/support/templates", namespace: Bamboo.EmailView def function_in_view do ...
25.352459
89
0.675396
9ed87602057e80933e6e709a2f1fbc5be1aaa7b0
3,703
ex
Elixir
lib/paper_trail/version_queries.ex
dimitridewit/paper_trail
e1b710740c0b4fe4190cc5ea8e8c81b6793d37da
[ "MIT" ]
null
null
null
lib/paper_trail/version_queries.ex
dimitridewit/paper_trail
e1b710740c0b4fe4190cc5ea8e8c81b6793d37da
[ "MIT" ]
null
null
null
lib/paper_trail/version_queries.ex
dimitridewit/paper_trail
e1b710740c0b4fe4190cc5ea8e8c81b6793d37da
[ "MIT" ]
null
null
null
defmodule PaperTrail.VersionQueries do import Ecto.Query alias PaperTrail.Version @doc """ Gets all the versions of a record. A list of options is optional, so you can set for example the :prefix of the query, wich allows you to change between different tenants. # Usage examples: iex(1)> PaperTrai...
37.40404
101
0.688361
9ed88c0870e4e478f742e30ba20ddfcac280c96c
1,360
exs
Elixir
test/example_test.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
test/example_test.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
test/example_test.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
defmodule ExampleTest do use ExUnit.Case # This example shows how most protobuf types are translated into Elixir code. use Protox, schema: """ syntax = "proto3"; enum FooOrBar { FOO = 0; BAR = 1; } message SubMsg { int32 a = 1; string b = 2; i...
21.25
79
0.475735
9ed8a6af500b12f6157d9de5be654db1bd7265cd
405
exs
Elixir
apps/omg_watcher/priv/repo/migrations/20190408131000_add_missing_indices_to_txoutputs.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_watcher/priv/repo/migrations/20190408131000_add_missing_indices_to_txoutputs.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/priv/repo/migrations/20190408131000_add_missing_indices_to_txoutputs.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
defmodule OMG.Watcher.Repo.Migrations.AddMissingIndicesToTxOuputs do use Ecto.Migration def change do create index(:txoutputs, [:creating_txhash, :spending_txhash]) create index(:txoutputs, [:creating_deposit]) create index(:txoutputs, [:spending_txhash]) create index(:txoutputs, [:spending_exit], ...
33.75
82
0.74321
9ed8ed1f737a53a3dcba0012e9c6a1474ff831f4
3,165
ex
Elixir
app_builder/examples/wx_demo/lib/wx_demo.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
app_builder/examples/wx_demo/lib/wx_demo.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
app_builder/examples/wx_demo/lib/wx_demo.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
defmodule WxDemo.Application do @moduledoc false use Application @impl true def start(_type, _args) do children = [ WxDemo.Window ] opts = [strategy: :one_for_one, name: WxDemo.Supervisor] Supervisor.start_link(children, opts) end end defmodule WxDemo.Window do @moduledoc false ...
22.132867
101
0.633175
9ed8eeb0cd4d466cc02876d5961d8f6b89318e91
952
ex
Elixir
test/event/support/appending_event_handler.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:23.000Z
2018-12-28T20:48:23.000Z
test/event/support/appending_event_handler.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-05T18:17:08.000Z
2018-12-05T18:17:08.000Z
test/event/support/appending_event_handler.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-05T18:15:03.000Z
2018-12-05T18:15:03.000Z
defmodule Commanded.Event.AppendingEventHandler do @moduledoc false use Commanded.Event.Handler, name: __MODULE__ @agent_name {:global, __MODULE__} def init do with {:ok, _pid} <- Agent.start_link(fn -> %{events: [], metadata: []} end, name: @agent_name) do :ok end end def handle(event, eve...
22.139535
101
0.627101
9ed8f63353ca95932f82d275017146cfcccaa625
1,721
exs
Elixir
test/database_test.exs
mager/discogs-ex
f5df10d32d1a6c31f241e91a997adff555b89861
[ "BSD-3-Clause" ]
2
2018-05-13T20:42:20.000Z
2020-08-02T19:57:15.000Z
test/database_test.exs
mager/discogs-ex
f5df10d32d1a6c31f241e91a997adff555b89861
[ "BSD-3-Clause" ]
null
null
null
test/database_test.exs
mager/discogs-ex
f5df10d32d1a6c31f241e91a997adff555b89861
[ "BSD-3-Clause" ]
null
null
null
defmodule DiscogsEx.DatabaseTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import DiscogsEx.Database doctest DiscogsEx.Database @client DiscogsEx.Client.new %{key: "key", secret: "secret"} setup_all do HTTPoison.start end describe "search/1" do test "su...
31.87037
202
0.538059
9ed9037be7b8840eb65af6eb8c362560738b4ca9
3,153
exs
Elixir
test/xlsxir_test.exs
getong/xlsxir
c91851cf5248ae91e08bcb5ae06d9d5309f8f98f
[ "MIT" ]
null
null
null
test/xlsxir_test.exs
getong/xlsxir
c91851cf5248ae91e08bcb5ae06d9d5309f8f98f
[ "MIT" ]
null
null
null
test/xlsxir_test.exs
getong/xlsxir
c91851cf5248ae91e08bcb5ae06d9d5309f8f98f
[ "MIT" ]
1
2019-01-03T01:41:37.000Z
2019-01-03T01:41:37.000Z
defmodule XlsxirTest do use ExUnit.Case import Xlsxir def path(), do: "./test/test_data/test.xlsx" def rb_path(), do: "./test/test_data/red_black.xlsx" test "second worksheet is parsed with index argument of 1" do {:ok, pid} = extract(path(), 1) assert get_list(pid) == [[1, 2], [3, 4]] close(pi...
27.181034
98
0.569299
9ed90b47aa82421a9b36c81f380ee50d7d5b926a
585
exs
Elixir
train_shunting/mix.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
train_shunting/mix.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
train_shunting/mix.exs
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
defmodule TrainShunting.MixProject do use Mix.Project def project do [ app: :train_shunting, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.172414
87
0.586325
9ed94356cc7304c33d7146168f17ff9faee7c47c
3,369
exs
Elixir
apps/aecore/test/aecore_persistence_test.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aecore/test/aecore_persistence_test.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
2
2018-10-01T16:46:26.000Z
2018-10-01T19:45:42.000Z
apps/aecore/test/aecore_persistence_test.exs
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
defmodule PersistenceTest do use ExUnit.Case doctest Aecore.Persistence.Worker alias Aecore.Persistence.Worker, as: Persistence alias Aecore.Keys alias Aecore.Miner.Worker, as: Miner alias Aecore.Chain.Worker, as: Chain alias Aecore.Chain.Header alias Aecore.Account.{Account, AccountStateTree} setup...
31.194444
94
0.703473
9ed9c46457fc0b543988ff2c1514c508c741dee0
129
exs
Elixir
test/unit/validators/time_test.exs
tomciopp/ecto_commons
75ca493739a54b2f73b753c3d2623dc61781d91d
[ "MIT" ]
null
null
null
test/unit/validators/time_test.exs
tomciopp/ecto_commons
75ca493739a54b2f73b753c3d2623dc61781d91d
[ "MIT" ]
null
null
null
test/unit/validators/time_test.exs
tomciopp/ecto_commons
75ca493739a54b2f73b753c3d2623dc61781d91d
[ "MIT" ]
null
null
null
defmodule EctoCommons.TimeValidatorTest do use ExUnit.Case, async: true doctest EctoCommons.TimeValidator, import: true end
21.5
49
0.813953
9ed9d2071ccaa0f6f94c45ba97f7b8993d7b6a5f
1,629
ex
Elixir
lib/bank_stone/accounts/user.ex
theguuholi/bank_stone
150a7c7ac9eb2d9bb977d1d784518b39df5c5ab5
[ "MIT" ]
3
2020-04-25T11:35:06.000Z
2021-10-06T19:59:47.000Z
lib/bank_stone/accounts/user.ex
theguuholi/bank_stone
150a7c7ac9eb2d9bb977d1d784518b39df5c5ab5
[ "MIT" ]
12
2019-11-04T11:06:37.000Z
2019-11-21T11:03:57.000Z
lib/bank_stone/accounts/user.ex
theguuholi/bank_stone
150a7c7ac9eb2d9bb977d1d784518b39df5c5ab5
[ "MIT" ]
1
2020-12-11T07:05:04.000Z
2020-12-11T07:05:04.000Z
defmodule BankStone.Accounts.User do @moduledoc """ The Main reaso of this module is to manipulate Account User """ use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @derive {Phoenix.Param, key: :id} schema "users" do field :email, :string, unique: true ...
26.274194
98
0.651934
9ed9d41c89f35ef08db2032b6af1c82fd7076f69
3,839
exs
Elixir
test/openid_connect/worker_test.exs
CrankWheel/openid_connect
0d63a3c27d85cae2de93d67d3bc77adcf5d6110a
[ "MIT" ]
null
null
null
test/openid_connect/worker_test.exs
CrankWheel/openid_connect
0d63a3c27d85cae2de93d67d3bc77adcf5d6110a
[ "MIT" ]
null
null
null
test/openid_connect/worker_test.exs
CrankWheel/openid_connect
0d63a3c27d85cae2de93d67d3bc77adcf5d6110a
[ "MIT" ]
null
null
null
defmodule OpenIDConnect.WorkerTest do use ExUnit.Case import Mox setup :set_mox_global setup :verify_on_exit! @google_document Fixtures.load(:google, :discovery_document) @google_certs Fixtures.load(:google, :certs) alias OpenIDConnect.{HTTPClientMock} test "starting with :ignore does nothing" do ...
27.818841
106
0.678823
9ed9df4f814df727b49714dcb62cde1667f998ce
2,906
exs
Elixir
test/gossip/socket/players_test.exs
oestrich/gossip-elixir
ad2195968c19f905f713790250a0b462503fc4b4
[ "MIT" ]
19
2018-07-13T04:34:00.000Z
2021-09-18T17:11:00.000Z
test/gossip/socket/players_test.exs
oestrich/gossip-elixir
ad2195968c19f905f713790250a0b462503fc4b4
[ "MIT" ]
5
2018-07-13T02:47:31.000Z
2018-10-11T00:05:54.000Z
test/gossip/socket/players_test.exs
oestrich/gossip-elixir
ad2195968c19f905f713790250a0b462503fc4b4
[ "MIT" ]
2
2018-07-13T03:55:26.000Z
2021-02-12T20:12:47.000Z
defmodule Gossip.Socket.PlayersTest do use ExUnit.Case alias Gossip.Socket.Players alias Test.Callbacks.PlayerCallbacks setup [:with_state] describe "player sign in" do test "generates the event", %{state: state} do {:reply, message, _state} = Players.sign_in(state, "Player") assert messag...
31.586957
107
0.62457
9ed9fbe97485995620ed4734f671d319f6bd2639
6,914
ex
Elixir
lib/webbkoll_web/plugs/locale.ex
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
268
2016-07-08T17:14:58.000Z
2022-02-15T19:41:24.000Z
lib/webbkoll_web/plugs/locale.ex
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
29
2016-08-23T19:19:01.000Z
2022-02-01T16:28:23.000Z
lib/webbkoll_web/plugs/locale.ex
bfg1981/webbkoll
ec7c6167e46fe1e27f01f5d98f3daa068af40f63
[ "MIT" ]
37
2016-08-24T21:52:45.000Z
2021-09-08T11:27:15.000Z
defmodule WebbkollWeb.Plugs.Locale do # Some code/inspiration from # http://code.parent.co/practical-i18n-with-phoenix-and-elixir/ import Plug.Conn @locales Map.keys(Application.get_env(:webbkoll, :locales)) def init(default), do: default def call(%Plug.Conn{params: %{"locale" => loc}} = conn, _default) w...
73.553191
4,001
0.65823
9eda0479a7b7ff1cc5d2488ccd8d367084da0bbd
13,073
ex
Elixir
apps/cms/lib/api/static.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/cms/lib/api/static.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/cms/lib/api/static.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule CMS.API.Static do @moduledoc """ Emulates Drupal REST API (both native and Views-based) """ @behaviour CMS.API alias CMS.Helpers alias CMS.Page.NewsEntry alias Poison.Parser # Views REST export responses with fully-loaded objects def events_response do parse_json("cms/events.json") ...
24.254174
98
0.658303
9eda0692e4302678f985b647f8c41f1cc2c13af7
1,977
ex
Elixir
lib/ex_dns_client.ex
kagux/ex_dns_client
f1bd8033dda54b77b2b1b699aa02d015bffe64d5
[ "MIT" ]
5
2017-02-01T15:18:11.000Z
2020-09-10T14:20:50.000Z
lib/ex_dns_client.ex
kagux/ex_dns_client
f1bd8033dda54b77b2b1b699aa02d015bffe64d5
[ "MIT" ]
null
null
null
lib/ex_dns_client.ex
kagux/ex_dns_client
f1bd8033dda54b77b2b1b699aa02d015bffe64d5
[ "MIT" ]
null
null
null
defmodule ExDnsClient do @moduledoc """ A rudimentary DNS client. Thin wrapper around erlang's `inet_res` library """ @type ip4_address :: {0..255, 0..255, 0..255, 0..255} @type ip6_address :: {0..65535, 0..65535, 0..65535, 0..65535, 0..65535, 0..65535, 0..65535, 0..65535} @type ip_address :: ip4_addres...
38.019231
118
0.616085
9eda079cedb4e9bfad272b5c79ccd4e32ed11996
4,576
exs
Elixir
test/table_test.exs
landonwilkins/ex_admin
bc6fa5c5e82add16b90e92f9abf388f5b04f67ec
[ "MIT" ]
null
null
null
test/table_test.exs
landonwilkins/ex_admin
bc6fa5c5e82add16b90e92f9abf388f5b04f67ec
[ "MIT" ]
1
2021-07-08T17:24:01.000Z
2021-11-02T09:49:33.000Z
test/table_test.exs
landonwilkins/ex_admin
bc6fa5c5e82add16b90e92f9abf388f5b04f67ec
[ "MIT" ]
2
2020-01-14T21:10:46.000Z
2021-07-07T16:36:49.000Z
defmodule ExAdminTest.TableTest do use ExUnit.Case, async: true alias ExAdmin.Table def index_actions(_, _, _), do: nil setup do table_options = %{ fields: [:id, :name, :inserted_at], filter: "", order: nil, page: %{page_number: 1}, path_prefix: "/admin/users?order=", s...
35.2
139
0.612762
9eda6de889366cdf265f8775976dcd7e64ba4eb2
2,686
exs
Elixir
test/cachex/actions/decr_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
946
2017-06-26T00:36:58.000Z
2022-03-29T19:52:31.000Z
test/cachex/actions/decr_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
152
2017-06-28T10:01:24.000Z
2022-03-24T18:46:13.000Z
test/cachex/actions/decr_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
84
2017-06-30T05:30:31.000Z
2022-03-01T20:23:16.000Z
defmodule Cachex.Actions.DecrTest do use CachexCase # This test covers various combinations of decrementing cache items, by tweaking # the options provided alongside the calls. We validate the flags and values # coming back, as well as the fact they're forwarded to the hooks correctly. test "decrementing cac...
32.361446
82
0.638124
9eda7b69eca285d287497f65decadc849eb760b9
503
ex
Elixir
lib/spotify/object_model.ex
chippers/spotify_web_api
221a197dbac4971f87e9917d02cb335e6a42b726
[ "MIT" ]
null
null
null
lib/spotify/object_model.ex
chippers/spotify_web_api
221a197dbac4971f87e9917d02cb335e6a42b726
[ "MIT" ]
null
null
null
lib/spotify/object_model.ex
chippers/spotify_web_api
221a197dbac4971f87e9917d02cb335e6a42b726
[ "MIT" ]
null
null
null
defmodule Spotify.ObjectModel do @moduledoc """ A behavior for implementing the `c:as/0` callback for Spotify object models that are returned from the web api. """ @doc """ Returns each Object Models' model for json decoding. This callback is passed into `Poison.decode` `:as` option for formatti...
31.4375
79
0.705765
9edab40b38f059a0f92551121c5ac11688a4dfd0
1,367
ex
Elixir
test/support/mocks.ex
antonioparisi/rihanna
81aca463419111aa3e761dbbd5862ac986d3ec7a
[ "MIT" ]
null
null
null
test/support/mocks.ex
antonioparisi/rihanna
81aca463419111aa3e761dbbd5862ac986d3ec7a
[ "MIT" ]
null
null
null
test/support/mocks.ex
antonioparisi/rihanna
81aca463419111aa3e761dbbd5862ac986d3ec7a
[ "MIT" ]
1
2019-10-10T23:24:10.000Z
2019-10-10T23:24:10.000Z
defmodule Rihanna.Mocks do defmodule LongJob do @behaviour Rihanna.Job def perform(_) do LongJob.Counter.increment() :timer.sleep(500) :ok end end defmodule LongJob.Counter do use Agent def start_link(_) do Agent.start_link(fn -> 0 end, name: __MODULE__) end ...
17.303797
53
0.600585
9edb0d0d692f1fd380fb7aad684967f9896ab5d5
181
ex
Elixir
lib/mix/tasks/travis.ex
gitter-badger/tirexs
0625f2e4090e3d06a9d5483f17ab5f0a5177e719
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/travis.ex
gitter-badger/tirexs
0625f2e4090e3d06a9d5483f17ab5f0a5177e719
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/travis.ex
gitter-badger/tirexs
0625f2e4090e3d06a9d5483f17ab5f0a5177e719
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Travis do use Mix.Task @shortdoc "Runs only unit tests whereas acceptances are skipped" def run(_) do Mix.Task.run("test", ["test/tirexs"]) end end
20.111111
66
0.701657
9edb1087264f78778c9c34fd57fe777bf5f9a885
1,237
ex
Elixir
apps/ewallet/lib/ewallet/permissions/bouncer/targets/exchange_pair_target.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/lib/ewallet/permissions/bouncer/targets/exchange_pair_target.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/lib/ewallet/permissions/bouncer/targets/exchange_pair_target.ex
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 ...
34.361111
74
0.746968
9edb18bef539ddbe074db575128d9a92026e00fc
1,988
ex
Elixir
lib/my_app/clrt_manager.ex
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
lib/my_app/clrt_manager.ex
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
lib/my_app/clrt_manager.ex
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
defmodule MyApp.CLRTManager do @moduledoc """ The CLRTManager context. """ import Ecto.Query, warn: false alias MyApp.Repo alias MyApp.CLRTManager.SLRTask @doc """ Returns the list of slrtasks. ## Examples iex> list_slrtasks() [%SLRTask{}, ...] """ def list_slrtasks do Repo.a...
17.59292
63
0.610664
9edbe326154c51379ebfd17c32d323c22bb07938
1,613
exs
Elixir
apps/tai/test/tai/orders/search_transitions_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/test/tai/orders/search_transitions_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/test/tai/orders/search_transitions_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.Orders.SearchTransitionsTest do use Tai.TestSupport.DataCase, async: false test "returns the oldest 25 order transitions by default" do {:ok, order} = create_order() order_transitions = create_test_order_transitions(order, 26) search_order_transitions = Tai.Orders.search_transitions(orde...
42.447368
107
0.745815
9edbe944d5c0b1ab4e3f0d90190647ca284c7730
5,676
ex
Elixir
lib/aph/tts.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/tts.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/tts.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.TTS do @moduledoc """ TTS generation and alignment functions. This module takes care of everything related to TTS (text-to-speech) generation and parsing/aligning. It's also the module that introduces the most side effects in the entire app, because it has to shell out to various programs and...
28.238806
97
0.552678
9edbed6564e2d4c9dadabc158e63ea18cf6d0944
356
exs
Elixir
priv/repo/seeds.exs
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Colorstorm.Repo.insert!(%Colorstorm.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they...
29.666667
61
0.710674
9edc348a2c53d5804fcf72ed0e1db1975d1142c6
2,616
exs
Elixir
test/secret_grinch_web/controllers/match_controller_test.exs
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
3
2017-08-03T16:49:18.000Z
2018-10-03T03:30:26.000Z
test/secret_grinch_web/controllers/match_controller_test.exs
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
18
2017-08-04T12:43:08.000Z
2017-08-05T14:15:41.000Z
test/secret_grinch_web/controllers/match_controller_test.exs
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
1
2018-10-03T03:30:29.000Z
2018-10-03T03:30:29.000Z
defmodule SecretGrinchWeb.MatchControllerTest do use SecretGrinchWeb.ConnCase alias SecretGrinch.Matches @create_attrs %{name: "some name"} @update_attrs %{name: "some updated name"} @invalid_attrs %{name: nil} def fixture(:match) do {:ok, match} = Matches.create_match(@create_attrs) match end ...
29.393258
80
0.65367
9edc68b0696e7770f553568f4883350bbdebb29c
4,009
ex
Elixir
lib/livebook_web/live/session_live/mix_standalone_live.ex
benjreinhart/livebook
0500ad5c6237167ce9769d8cc78fca360834f576
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/mix_standalone_live.ex
benjreinhart/livebook
0500ad5c6237167ce9769d8cc78fca360834f576
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/mix_standalone_live.ex
benjreinhart/livebook
0500ad5c6237167ce9769d8cc78fca360834f576
[ "Apache-2.0" ]
1
2021-07-07T06:18:36.000Z
2021-07-07T06:18:36.000Z
defmodule LivebookWeb.SessionLive.MixStandaloneLive do use LivebookWeb, :live_view alias Livebook.{Session, Runtime, Utils} @type status :: :initial | :initializing | :finished @impl true def mount(_params, %{"session_id" => session_id, "current_runtime" => current_runtime}, socket) do if connected?(so...
32.330645
140
0.619356
9edc76e13ce6d71ae5d819f95ccf5b4c7fc535b4
1,599
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/aws_access_key.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/aws_access_key.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/aws_access_key.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...
33.3125
128
0.754221
9edc77ffd7757fefda95539cab6697d102baa3a3
25,564
ex
Elixir
lib/ecto/query.ex
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
lib/ecto/query.ex
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
lib/ecto/query.ex
victorsolis/ecto
6c0dbf1ee2afd9b5bdf1f3feee8d361c8197c99a
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query do @moduledoc ~S""" Provides the Query DSL. Queries are used to retrieve and manipulate data in a repository (see `Ecto.Repo`). Although this module provides a complete API, supporting expressions like `where/3`, `select/3` and so forth, most of the time developers need to import only ...
31.875312
113
0.662377
9edc7de7979b778ac2f3b5d0e2e891e406f815f3
1,643
ex
Elixir
lib/koans/08_maps.ex
wilandrade/elixir-koans
4d7f90299edb0bb0b1895c437a16fbdd320ec572
[ "MIT" ]
1
2018-08-09T17:29:02.000Z
2018-08-09T17:29:02.000Z
lib/koans/08_maps.ex
wilandrade/elixir-koans
4d7f90299edb0bb0b1895c437a16fbdd320ec572
[ "MIT" ]
null
null
null
lib/koans/08_maps.ex
wilandrade/elixir-koans
4d7f90299edb0bb0b1895c437a16fbdd320ec572
[ "MIT" ]
1
2019-03-24T23:56:21.000Z
2019-03-24T23:56:21.000Z
defmodule Maps do use Koans @intro "Maps" @person %{ first_name: "Jon", last_name: "Snow", age: 27 } koan "Maps represent structured data, like a person" do assert @person == %{first_name: "Jon", last_name: "Snow", age: 27} end koan "Fetching a value returns a tuple with ok when it exi...
28.824561
107
0.65003
9edc8175098200de2b95c530a24f3c7b9bff7288
73
ex
Elixir
lib/instant_poll_web/views/cms/poll_view.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
1
2018-11-30T09:08:09.000Z
2018-11-30T09:08:09.000Z
lib/instant_poll_web/views/cms/poll_view.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
5
2021-01-28T19:08:56.000Z
2021-05-07T22:43:54.000Z
lib/instant_poll_web/views/cms/poll_view.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
null
null
null
defmodule InstantPollWeb.CMS.PollView do use InstantPollWeb, :view end
18.25
40
0.821918
9edcc56fd8866156c297eb175e4b576b161c26dd
1,533
exs
Elixir
test/phoenix_client/message_test.exs
yangukmo/phoenix_client
c0851fa47116d306eb39518ebeabf913b30493be
[ "Apache-2.0" ]
126
2019-01-30T12:55:17.000Z
2022-03-23T13:06:38.000Z
test/phoenix_client/message_test.exs
yangukmo/phoenix_client
c0851fa47116d306eb39518ebeabf913b30493be
[ "Apache-2.0" ]
16
2019-03-08T14:56:48.000Z
2022-02-05T20:24:59.000Z
test/phoenix_client/message_test.exs
yangukmo/phoenix_client
c0851fa47116d306eb39518ebeabf913b30493be
[ "Apache-2.0" ]
28
2015-07-27T18:01:53.000Z
2018-11-17T20:19:43.000Z
defmodule PhoenixClient.MessageTest do use ExUnit.Case, async: false alias PhoenixClient.Message describe "v1 serializer" do test "encode" do msg = %{ ref: "1", topic: "1234", event: "new:thing", payload: %{"a" => "b"} } v1_msg = Message.V1.encode!(struct(M...
21.591549
81
0.482061
9edccd7f21ead5d14c03d211c2958f38565919d3
2,206
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_filtered_bid_requests_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_filtered_bid_requests_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/list_filtered_bid_requests_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.701754
278
0.758386
9edcce44b5eebb39238e9aaaeee428bd97d3b5c4
940
exs
Elixir
mix.exs
KalvinHom/uinta
c02ea83b92305d4b009853232292c94bd26bba25
[ "MIT" ]
4
2020-09-03T17:34:47.000Z
2022-03-13T21:49:28.000Z
mix.exs
KalvinHom/uinta
c02ea83b92305d4b009853232292c94bd26bba25
[ "MIT" ]
2
2021-11-22T17:39:48.000Z
2022-03-08T22:16:15.000Z
mix.exs
KalvinHom/uinta
c02ea83b92305d4b009853232292c94bd26bba25
[ "MIT" ]
4
2020-11-04T22:08:24.000Z
2022-01-11T19:54:49.000Z
defmodule Uinta.MixProject do use Mix.Project @project_url "https://github.com/podium/uinta" def project do [ app: :uinta, name: "Uinta", description: "Simpler structured logs and lower log volume for Elixir apps", version: "0.9.0", elixir: "~> 1.8", source_url: @project_...
18.431373
82
0.543617
9edcf8fb5974f4a18a7537d05fc3aad0aa43bb2e
2,137
exs
Elixir
mix.exs
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
mix.exs
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
mix.exs
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.MixProject do use Mix.Project @version "0.4.1" def project do [ app: :phoenix_live_view, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), package: package(), xref: [exclude:...
23.483516
99
0.590547
9edd3ab473693bf35f3c02421d63c9cd405a551a
447
ex
Elixir
lib/wechat/tags/members.ex
onionch/wechat_elixir
949ac241dbe40036e88b0438f85395bda87f3784
[ "MIT" ]
null
null
null
lib/wechat/tags/members.ex
onionch/wechat_elixir
949ac241dbe40036e88b0438f85395bda87f3784
[ "MIT" ]
null
null
null
lib/wechat/tags/members.ex
onionch/wechat_elixir
949ac241dbe40036e88b0438f85395bda87f3784
[ "MIT" ]
null
null
null
defmodule Wechat.Tags.Members do @moduledoc false alias Wechat.API def get_blacklist(openid \\ "") do API.post "/tags/members/getblacklist", %{ begin_openid: openid } end def batch_blacklist(openids) do API.post "/tags/members/batchblacklist", %{ openid_list: openids } end ...
18.625
49
0.666667
9edd4d6382cb3070916abbb1b614df344f06b55e
2,348
ex
Elixir
clients/content/lib/google_api/content/v2/model/unit_invoice.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/unit_invoice.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/unit_invoice.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.870968
127
0.738501
9edd84504fae0f68bf5f01dc655933455981d42f
141,055
ex
Elixir
lib/elixir/lib/kernel.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
26.679591
105
0.634511
9edda463048eed8ce309cc8cf3a9b94993f26d2b
660
ex
Elixir
lib/exirc/logger.ex
snkutkoski/exirc
4d5b1ea8fdd7c6abfaa088db0650da6fd0946309
[ "MIT" ]
null
null
null
lib/exirc/logger.ex
snkutkoski/exirc
4d5b1ea8fdd7c6abfaa088db0650da6fd0946309
[ "MIT" ]
null
null
null
lib/exirc/logger.ex
snkutkoski/exirc
4d5b1ea8fdd7c6abfaa088db0650da6fd0946309
[ "MIT" ]
null
null
null
defmodule ExIrc.Logger do @moduledoc """ A simple abstraction of :error_logger """ @doc """ Log an informational message report """ @spec info(binary) :: :ok def info(msg) do :error_logger.info_report String.to_charlist(msg) end @doc """ Log a warning message report """ @spec warning(bin...
22
98
0.651515
9eddc3734874283694c9152028423bcf2096b4d5
1,131
exs
Elixir
config/config.exs
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "Apache-2.0" ]
null
null
null
config/config.exs
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "Apache-2.0" ]
null
null
null
config/config.exs
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "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...
36.483871
73
0.753316
9eddc5495904767ebe27e4e98c25c3aa5b34a308
3,745
exs
Elixir
mix.exs
aptinio/ecto_sql
f13a0e8383428154a61a7a93d43dcb4b6f6a6fad
[ "Apache-2.0" ]
null
null
null
mix.exs
aptinio/ecto_sql
f13a0e8383428154a61a7a93d43dcb4b6f6a6fad
[ "Apache-2.0" ]
null
null
null
mix.exs
aptinio/ecto_sql
f13a0e8383428154a61a7a93d43dcb4b6f6a6fad
[ "Apache-2.0" ]
null
null
null
defmodule EctoSQL.MixProject do use Mix.Project @version "3.2.0-dev" @adapters ~w(pg myxql) def project do [ app: :ecto_sql, version: @version, elixir: "~> 1.6", deps: deps(), test_paths: test_paths(System.get_env("ECTO_ADAPTER")), xref: [ exclude: [ M...
24.16129
90
0.560748
9eddcb6c7806cf1fceec0eb9c053ae53df17887a
4,536
ex
Elixir
lib/logger/lib/logger/formatter.ex
alfert/elixir
4dfd08c79dc8b67e8a6d53add9e3ee47ba9be647
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/formatter.ex
alfert/elixir
4dfd08c79dc8b67e8a6d53add9e3ee47ba9be647
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/formatter.ex
alfert/elixir
4dfd08c79dc8b67e8a6d53add9e3ee47ba9be647
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [inspect: 2] defmodule Logger.Formatter do @moduledoc ~S""" Conveniences for formatting data for logs. This module allows developers to specify a string that serves as template for log messages, for example: $time $metadata[$level] $message\n Will print error messages as: ...
34.892308
99
0.647928
9edde3b5eb32997d4635a10d195399a1e50a8681
2,129
ex
Elixir
lib/grizzly/connection.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/connection.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/connection.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.Connection do @moduledoc false require Logger alias Grizzly.Connections.Supervisor alias Grizzly.Connections.{BinaryConnection, SyncConnection, AsyncConnection} alias Grizzly.ZWave alias Grizzly.ZWave.Command @type opt() :: {:mode, :sync | :async | :binary} | {:owner, pid()} @doc "...
32.753846
86
0.683419
9ede07bbdcae867db685e4a04fcb228729da3652
353
ex
Elixir
lib/insta_api/photo_comments.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
2
2021-01-07T23:46:50.000Z
2021-01-08T12:16:00.000Z
lib/insta_api/photo_comments.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
null
null
null
lib/insta_api/photo_comments.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
null
null
null
defmodule InstaApi.PhotoComments do use Ecto.Schema import Ecto.Changeset schema "photo_comments" do field :text, :string field :user_id, :integer timestamps() end @doc false def changeset(photo_comments, attrs) do photo_comments |> cast(attrs, [:text, :user_id]) |> validate_requi...
18.578947
43
0.685552
9ede174e8512b1e6a1db8daac64f42e469d03a2c
73
exs
Elixir
test/views/layout_view_test.exs
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
null
null
null
test/views/layout_view_test.exs
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
1
2017-08-14T09:00:30.000Z
2017-08-14T16:18:44.000Z
test/views/layout_view_test.exs
embik/blog
ee8e604fe0bba0bade5466cc180475dbe80bb6b6
[ "Apache-2.0" ]
null
null
null
defmodule Blog.LayoutViewTest do use BlogWeb.ConnCase, async: true end
18.25
35
0.808219
9ede29bb7b50b25b7e5524a5f539b4ad768d88de
1,181
ex
Elixir
lib/event_store/tasks/init.ex
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
lib/event_store/tasks/init.ex
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
lib/event_store/tasks/init.ex
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
defmodule EventStore.Tasks.Init do @moduledoc """ Task to initalize the EventStore database """ import EventStore.Tasks.Output alias EventStore.Storage.Initializer @is_events_table_exists """ SELECT EXISTS ( SELECT 1 FROM information_schema.tables WHERE table_schema = 'public' ...
21.87037
81
0.641829
9ede2da16afcaae8d0d424cef4ef0dd7c0ab8761
1,655
ex
Elixir
lib/railway_ui_web.ex
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
2
2019-11-12T21:04:11.000Z
2020-02-09T18:07:27.000Z
lib/railway_ui_web.ex
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
4
2019-12-02T17:31:57.000Z
2021-03-09T22:59:48.000Z
lib/railway_ui_web.ex
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
2
2020-02-05T18:23:26.000Z
2020-04-26T13:50:10.000Z
defmodule RailwayUiWeb 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 RailwayUiWeb, :controller use RailwayUiWeb, :view The definitions below will be executed for every view, contro...
23.642857
83
0.693656
9ede556425c8ee2d84d5c1f36d2fcbae09b52733
1,121
exs
Elixir
algorithms/1. easy/1 - time-conversion/anabastos/config/config.exs
horizonfour/challenges
126bc38aba16a3c36b3543db67a73fea90db446e
[ "MIT" ]
9
2017-07-24T17:41:52.000Z
2021-04-02T02:41:25.000Z
algorithms/1. easy/1 - time-conversion/anabastos/config/config.exs
horizonfour/challenges
126bc38aba16a3c36b3543db67a73fea90db446e
[ "MIT" ]
2
2017-07-24T18:31:21.000Z
2017-08-06T04:02:44.000Z
algorithms/1. easy/1 - time-conversion/anabastos/config/config.exs
horizonfour/challenges
126bc38aba16a3c36b3543db67a73fea90db446e
[ "MIT" ]
4
2017-07-24T18:18:07.000Z
2017-12-22T22:19:50.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.16129
73
0.752007
9edeec9a3baa1f41dcc00463f919d81ff4f4e8f6
5,037
ex
Elixir
lib/strategy/fusion.ex
fsi-tech/ueberauth_fusion
335d647c95b5ec189094308e9cb06464b9bdbfc2
[ "MIT" ]
5
2020-10-07T08:05:44.000Z
2020-11-15T08:42:26.000Z
lib/strategy/fusion.ex
fsi-libs/ueberauth_fusion
335d647c95b5ec189094308e9cb06464b9bdbfc2
[ "MIT" ]
null
null
null
lib/strategy/fusion.ex
fsi-libs/ueberauth_fusion
335d647c95b5ec189094308e9cb06464b9bdbfc2
[ "MIT" ]
2
2021-11-11T07:26:27.000Z
2021-11-11T09:32:10.000Z
defmodule Ueberauth.Strategy.Fusion do use Ueberauth.Strategy, uid_field: :sub, default_scope: "email", hd: nil alias Ueberauth.Auth.Info alias Ueberauth.Auth.Credentials alias Ueberauth.Auth.Extra alias Ueberauth.Strategy.Helpers alias Ueberauth.Strategy.Fusion.OAuth @doc """ Handles initial request ...
28.619318
99
0.651777
9edeff572b47f28b752d63bba8caa62cea96d398
2,342
ex
Elixir
lib/parser.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
null
null
null
lib/parser.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
null
null
null
lib/parser.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
null
null
null
defmodule CWMP.Protocol.Parser do @moduledoc """ Parsing of CWMP XML messages, and conversion to Elixir data structures. """ alias CWMP.Protocol.Parser.ElemState alias CWMP.Protocol.Parser.State alias CWMP.Protocol.Parser.ParseError @doc """ Parses a CWMP XML envelope and converts it to an Elixir dat...
29.275
114
0.649018
9edf39458930d15f9196f033e695481f9d7d42bf
1,127
ex
Elixir
lib/hnlive_web/router.ex
josefrichter/hnlive
5c9953835e447c98e65e9690655f6d602bd18d32
[ "MIT" ]
4
2020-05-31T11:53:17.000Z
2021-05-25T11:30:24.000Z
lib/hnlive_web/router.ex
josefrichter/hnlive
5c9953835e447c98e65e9690655f6d602bd18d32
[ "MIT" ]
1
2020-05-31T13:08:02.000Z
2020-05-31T13:08:02.000Z
lib/hnlive_web/router.ex
josefrichter/hnlive
5c9953835e447c98e65e9690655f6d602bd18d32
[ "MIT" ]
1
2020-05-31T11:53:43.000Z
2020-05-31T11:53:43.000Z
defmodule HNLiveWeb.Router do use HNLiveWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {HNLiveWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :a...
25.613636
70
0.699201
9edf3f38f95ea02227195b311e3c0e4cc2f0eb36
630
exs
Elixir
test/authoritex/loc/languages_test.exs
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
2
2020-06-11T10:37:21.000Z
2020-10-13T18:12:42.000Z
test/authoritex/loc/languages_test.exs
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
21
2020-05-12T21:06:32.000Z
2022-01-14T14:43:45.000Z
test/authoritex/loc/languages_test.exs
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
null
null
null
defmodule Authoritex.LOC.LanguagesTest do use Authoritex.TestCase, module: Authoritex.LOC.Languages, code: "lclang", description: "Library of Congress MARC List for Languages", test_uris: [ "http://id.loc.gov/vocabulary/languages/ang", "info:lc/vocabulary/languages/ang" ], bad_uri:...
31.5
63
0.657143
9edf589d1f66a42efa257c315ba361eca1b85866
5,004
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_worker_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_worker_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remotebuildexecution_admin_v1alpha_worker_config.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...
55.6
400
0.718825
9edf6ae9aa4ae536f44f9b4d233ed491a7eac0bf
2,006
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/text_content.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/text_content.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/text_content.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...
38.576923
172
0.725324
9edfa19fedc9c284889327267fcc01bd5314cc89
7,398
exs
Elixir
test/ex_twiml_test.exs
danielberkompas/ex_twiml
0a32ed535396f669d98f1e2a12ce17034cf1c2bc
[ "MIT" ]
35
2015-04-17T19:06:05.000Z
2021-05-18T23:50:52.000Z
test/ex_twiml_test.exs
tsloughter/ex_twiml
693f9ac80f14b6d5717f45354cd99cab8a79512e
[ "MIT" ]
9
2015-04-17T22:27:11.000Z
2017-08-05T16:45:39.000Z
test/ex_twiml_test.exs
tsloughter/ex_twiml
693f9ac80f14b6d5717f45354cd99cab8a79512e
[ "MIT" ]
11
2015-05-31T18:42:06.000Z
2019-06-03T17:24:42.000Z
defmodule ExTwimlTest do use ExUnit.Case, async: false import ExTwiml alias ExTwiml.ReservedNameError doctest ExTwiml test "can render the <Gather> verb" do markup = twiml do gather digits: 3 do text "Phone Number" end end assert_twiml markup, "<Gather digits=\"3\">Phone N...
22.904025
108
0.619492
9edfa329f74814b47aa87e6fa3f817b79903b452
683
ex
Elixir
example_avialia/lib/example_avialia/cargos/shipment_document.ex
zetaron/Domo
2159163378f1ad8dea5cbc31dea2ed827c9024ab
[ "MIT" ]
null
null
null
example_avialia/lib/example_avialia/cargos/shipment_document.ex
zetaron/Domo
2159163378f1ad8dea5cbc31dea2ed827c9024ab
[ "MIT" ]
null
null
null
example_avialia/lib/example_avialia/cargos/shipment_document.ex
zetaron/Domo
2159163378f1ad8dea5cbc31dea2ed827c9024ab
[ "MIT" ]
null
null
null
defmodule ExampleAvialia.Cargos.ShipmentDocument do use Ecto.Schema use Domo, skip_defaults: true import Ecto.Changeset import Domo.Changeset alias ExampleAvialia.Cargos.Shipment schema "shipment_documents" do belongs_to :shipment, Shipment field :title, :string timestamps() end @type t...
23.551724
79
0.72328
9ee0460598d970eb8d838d9c86bc70b242730c04
1,698
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/device_make_model_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/device_make_model_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/device_make_model_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.294118
120
0.762073
9ee065345d24b2122f4ce6753756b0f22b4aac3a
300
exs
Elixir
priv/repo/migrations/20210225210616_create_guesses.exs
evanbattaglia/livewords
c1324cde64e6d7873942e24a473feb16482c9fbb
[ "MIT" ]
null
null
null
priv/repo/migrations/20210225210616_create_guesses.exs
evanbattaglia/livewords
c1324cde64e6d7873942e24a473feb16482c9fbb
[ "MIT" ]
null
null
null
priv/repo/migrations/20210225210616_create_guesses.exs
evanbattaglia/livewords
c1324cde64e6d7873942e24a473feb16482c9fbb
[ "MIT" ]
null
null
null
defmodule Livewords.Repo.Migrations.CreateGuesses do use Ecto.Migration def change do create table(:guesses) do add :text, :string add :game_id, references(:games, on_delete: :delete_all), null: false timestamps() end create index(:guesses, [:game_id]) end end
20
75
0.68
9ee08a4d3e7f29675072fdf7821b8f993b5f2016
525
ex
Elixir
web/router.ex
aaronvine/elm_recipes
bd68ddca0b22c7c773de1f80aa627bb58b759ccf
[ "MIT" ]
null
null
null
web/router.ex
aaronvine/elm_recipes
bd68ddca0b22c7c773de1f80aa627bb58b759ccf
[ "MIT" ]
null
null
null
web/router.ex
aaronvine/elm_recipes
bd68ddca0b22c7c773de1f80aa627bb58b759ccf
[ "MIT" ]
null
null
null
defmodule ElmRecipes.Router do use ElmRecipes.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", ElmRecipes do p...
19.444444
57
0.68
9ee09b508fb11dae8e352b98e1f7565f19cacbe5
694
exs
Elixir
mix.exs
toshi0806/tcache
ec8a80d06074e50265233ba5ecc46a4ffe8d54e1
[ "BSD-3-Clause" ]
null
null
null
mix.exs
toshi0806/tcache
ec8a80d06074e50265233ba5ecc46a4ffe8d54e1
[ "BSD-3-Clause" ]
null
null
null
mix.exs
toshi0806/tcache
ec8a80d06074e50265233ba5ecc46a4ffe8d54e1
[ "BSD-3-Clause" ]
null
null
null
defmodule TCache.MixProject do use Mix.Project def project do [ app: :tcache, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_appl...
22.387097
87
0.580692
9ee09cd802e049fa122cece4c3c3b54a3550ca47
1,191
ex
Elixir
lib/exactor/responders.ex
liveforeverx/exactor
65a2cef190d2bd654d08c6f9ea49c8533bc432f6
[ "MIT" ]
null
null
null
lib/exactor/responders.ex
liveforeverx/exactor
65a2cef190d2bd654d08c6f9ea49c8533bc432f6
[ "MIT" ]
null
null
null
lib/exactor/responders.ex
liveforeverx/exactor
65a2cef190d2bd654d08c6f9ea49c8533bc432f6
[ "MIT" ]
null
null
null
defmodule ExActor.Responders do @moduledoc """ Helper macros that can be used for simpler responses from init/call/cast/info handlers. """ @doc """ Can be used from `init` or `definit` to return the initial state. """ defmacro initial_state(state) do quote do {:ok, unquote(state)} end e...
22.055556
79
0.649034
9ee0b04faf15c03c6488f87f0dfc367321de91ef
87
exs
Elixir
test/test_helper.exs
kumanote/phoenix_vue_webpack_template
1294eda8937c5eff4ea9ec2447b275b4a0d098fa
[ "MIT" ]
null
null
null
test/test_helper.exs
kumanote/phoenix_vue_webpack_template
1294eda8937c5eff4ea9ec2447b275b4a0d098fa
[ "MIT" ]
null
null
null
test/test_helper.exs
kumanote/phoenix_vue_webpack_template
1294eda8937c5eff4ea9ec2447b275b4a0d098fa
[ "MIT" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(PhoenixVueWebpackTemplate.Repo, :manual)
17.4
71
0.827586
9ee0e7a4327d50f9e19f7180a254a9adbb649910
3,440
ex
Elixir
lib/tentacat/commits.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
lib/tentacat/commits.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
lib/tentacat/commits.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
defmodule Tentacat.Commits do import Tentacat alias Tentacat.Client @doc """ List commits on a repository ## Example Tentacat.Commits.list(client, "elixir-lang", "elixir") More info at: https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository """ @spec list(Client.t(), binar...
37.802198
870
0.706105
9ee101268781eebd6f85b8f58cde53c9ee557054
279
exs
Elixir
test/mailgun_ex/api_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
null
null
null
test/mailgun_ex/api_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
null
null
null
test/mailgun_ex/api_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
1
2019-05-10T13:32:19.000Z
2019-05-10T13:32:19.000Z
defmodule MailgunEx.ApiTest do use ExUnit.Case alias MailgunEx.Api test "Make an invalid call to the Mailgun API" do {err, reason} = Api.request(:get, resource: "domains", base: "qtts://nowhere.local") assert :error == err assert :nxdomain == reason end end
25.363636
88
0.688172
9ee1041d86e59c22c546494737e23ece8e07383c
5,824
exs
Elixir
apps/omg_child_chain/test/omg_child_chain/fees/json_fee_parser_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_child_chain/test/omg_child_chain/fees/json_fee_parser_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_child_chain/test/omg_child_chain/fees/json_fee_parser_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 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 ...
36.4
115
0.559238
9ee11599e31a3e48557b5e48f7c58d1ddcf19414
1,470
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/metadata.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...
31.276596
164
0.729932
9ee14c98152d6ec8d5bbdc7599bd37bbea15e887
2,166
exs
Elixir
bowman/config/dev.exs
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
null
null
null
bowman/config/dev.exs
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
3
2020-07-17T01:30:50.000Z
2021-05-08T20:23:35.000Z
bowman/config/dev.exs
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :bowman, Bowman.Repo, username: "postgres", password: "postgres", database: "bowman_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading. #...
27.769231
68
0.686057
9ee1707e643db6aa0dd9c034562350d2eda86595
2,066
ex
Elixir
lib/google_api/pub_sub/v1/model/list_snapshots_response.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "Apache-2.0" ]
null
null
null
lib/google_api/pub_sub/v1/model/list_snapshots_response.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "Apache-2.0" ]
null
null
null
lib/google_api/pub_sub/v1/model/list_snapshots_response.ex
albert-io/elixir-google-pub-sub
b34d11bc236b5e02ba9c1d88c44c623836363148
[ "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...
38.259259
288
0.747822
9ee180a49325798ab8a8ee955b945e270861e290
299
exs
Elixir
test/enum_test.exs
kernel-io/ash_postgres
e5b30d544f14737a9cf29eef220f1720051c3d0c
[ "MIT" ]
13
2020-09-04T22:31:23.000Z
2022-02-06T13:24:23.000Z
test/enum_test.exs
kernel-io/ash_postgres
e5b30d544f14737a9cf29eef220f1720051c3d0c
[ "MIT" ]
57
2019-12-04T15:23:41.000Z
2022-02-14T22:55:16.000Z
test/enum_test.exs
kernel-io/ash_postgres
e5b30d544f14737a9cf29eef220f1720051c3d0c
[ "MIT" ]
15
2020-10-22T13:26:25.000Z
2021-07-26T23:49:42.000Z
defmodule AshPostgres.EnumTest do @moduledoc false use AshPostgres.RepoCase, async: false alias AshPostgres.Test.{Api, Post} require Ash.Query test "valid values are properly inserted" do Post |> Ash.Changeset.new(%{title: "title", status: :open}) |> Api.create!() end end
21.357143
58
0.695652
9ee18b5b8a7aa0e93aee7941a54c130e4899a4f7
3,186
ex
Elixir
lib/membrane/rtp/packet_payload_type.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtp/packet_payload_type.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtp/packet_payload_type.ex
simoexpo/membrane_rtp_plugin
925053eb6ad0befbfe79ab1dad51e40f3b68ae69
[ "Apache-2.0" ]
null
null
null
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.385542
129
0.725989
9ee1928d456e07a88e085f59fb4a273b7d1bd877
1,607
ex
Elixir
test/support/model_case.ex
damonkelley/requestbin
1f59df73ad3e47e74ba18a2987bd0b0cce262a13
[ "MIT" ]
4
2016-05-20T04:40:21.000Z
2017-12-20T12:54:55.000Z
test/support/model_case.ex
damonkelley/requestbin
1f59df73ad3e47e74ba18a2987bd0b0cce262a13
[ "MIT" ]
null
null
null
test/support/model_case.ex
damonkelley/requestbin
1f59df73ad3e47e74ba18a2987bd0b0cce262a13
[ "MIT" ]
null
null
null
defmodule RequestBin.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. F...
25.919355
84
0.686994
9ee1b9531f49d90a609440da6baa46b9cb73a63f
1,294
ex
Elixir
apps/util/lib/intcode.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
2
2019-12-21T21:21:04.000Z
2019-12-27T07:00:19.000Z
apps/util/lib/intcode.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
apps/util/lib/intcode.ex
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
defmodule Intcode do @moduledoc """ AoC 2019 Intcode emulator """ alias Intcode.State @doc """ Read an IntCode file """ @spec load(Path.t()) :: map() def load(file) do {:ok, contents} = File.read(file) parse(contents) end @doc """ Parse an IntCode string """ @spec parse(String.t())...
21.566667
82
0.587326
9ee1cf0c257a98672eac07bcd8d3373951cfd784
146
ex
Elixir
lib/phoenix_elm_web/controllers/page_controller.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
lib/phoenix_elm_web/controllers/page_controller.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
lib/phoenix_elm_web/controllers/page_controller.ex
ejpcmac/phoenix_elm
cc43a2253610728fbf2db9bd87b5341e82a27e5e
[ "BSD-3-Clause" ]
null
null
null
defmodule PhoenixElmWeb.PageController do use PhoenixElmWeb, :controller def index(conn, _params) do render conn, "index.html" end end
18.25
41
0.753425
9ee1d372e5cff3804d552d8444a16254dc74f700
1,483
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_refresh_consumer_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_refresh_consumer_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_refresh_consumer_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.704545
165
0.779501
9ee217412d9d40b81acfc349572f40790c8b8fbe
4,017
ex
Elixir
lib/piccdata/sdm_enc.ex
theMarinac/ntag424
421e663f6f2822e7c70cd8b188d96843e476ecb2
[ "MIT" ]
null
null
null
lib/piccdata/sdm_enc.ex
theMarinac/ntag424
421e663f6f2822e7c70cd8b188d96843e476ecb2
[ "MIT" ]
null
null
null
lib/piccdata/sdm_enc.ex
theMarinac/ntag424
421e663f6f2822e7c70cd8b188d96843e476ecb2
[ "MIT" ]
null
null
null
defmodule Ntag424.PiccData.SdmEnc do @doc """ Module for decrypting SUN messages and calculating SDMMAC from NTAG 424 DNA\n """ use Bitwise, only_operators: true defguard is_mod(x, y) when rem(byte_size(x), y) == 0 defguard both_binary(pkey, data) when is_binary(pkey) and is_binary(data) defguard dsm_gua...
37.542056
117
0.661688
9ee22567e935152b269373957444ca349ba20614
74
ex
Elixir
lib/source_academy_web/views/layout_view.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
lib/source_academy_web/views/layout_view.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
lib/source_academy_web/views/layout_view.ex
trewdys/source-academy2-debug
6146e1fac81472184877f47aa32dee7fdceb4fb6
[ "Unlicense" ]
null
null
null
defmodule SourceAcademyWeb.LayoutView do use SourceAcademyWeb, :view end
24.666667
40
0.851351
9ee247bc19c8ae2a08f297010a688d6daa3673d0
660
exs
Elixir
mix.exs
bottlenecked/presence_test
0844193d0203997a15cd8c4360e7f4b945c7b94a
[ "Apache-2.0" ]
null
null
null
mix.exs
bottlenecked/presence_test
0844193d0203997a15cd8c4360e7f4b945c7b94a
[ "Apache-2.0" ]
null
null
null
mix.exs
bottlenecked/presence_test
0844193d0203997a15cd8c4360e7f4b945c7b94a
[ "Apache-2.0" ]
null
null
null
defmodule PresenceTest.MixProject do use Mix.Project def project do [ app: :presence_test, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
21.290323
88
0.578788
9ee2d037584b2adbf560c8abf9af2810f98442ca
1,598
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_validate_agent_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_validate_agent_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_validate_agent_request.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...
30.730769
117
0.749061
9ee2e11ac7d2814bf6848794ee6e95743dbcd0a2
2,104
exs
Elixir
test/floki/deep_text_test.exs
activeprospect/floki
74935f1d4e530ced36c15f9a4e1903550df24845
[ "MIT" ]
null
null
null
test/floki/deep_text_test.exs
activeprospect/floki
74935f1d4e530ced36c15f9a4e1903550df24845
[ "MIT" ]
null
null
null
test/floki/deep_text_test.exs
activeprospect/floki
74935f1d4e530ced36c15f9a4e1903550df24845
[ "MIT" ]
null
null
null
defmodule Floki.DeepTextTest do use ExUnit.Case, async: true doctest Floki.DeepText test "text from simple node" do node = {"a", [], ["Google"]} assert Floki.DeepText.get(node) == "Google" end test "text from simple node with separator" do node = {"a", [], ["Google"]} assert Floki.DeepTex...
30.941176
133
0.507129
9ee2ff63fa7ddc147c2b71df2c38a5f8c7fa49fb
885
ex
Elixir
clients/keto/elixir/lib/keto/model/patch_relation_tuples_bad_request_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/keto/elixir/lib/keto/model/patch_relation_tuples_bad_request_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/keto/elixir/lib/keto/model/patch_relation_tuples_bad_request_body.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
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 Keto.Model.PatchRelationTuplesBadRequestBody do @moduledoc """ PatchRelationTuplesBadRequestBody PatchRelationTuplesBadRequestBody PatchRelationTu...
24.583333
142
0.670056
9ee309dfafa1d0721883bb1a4dda4e7e1137cd20
74
ex
Elixir
lib/plantar_web/views/user_reset_password_view.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
null
null
null
lib/plantar_web/views/user_reset_password_view.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
23
2020-07-29T21:03:00.000Z
2021-02-01T18:20:35.000Z
lib/plantar_web/views/user_reset_password_view.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
null
null
null
defmodule PlantarWeb.UserResetPasswordView do use PlantarWeb, :view end
18.5
45
0.837838
9ee32d9ef8d9f00d0a9c40c181679d02b1ea3919
2,891
ex
Elixir
apps/reaper/test/support/test_utils.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/reaper/test/support/test_utils.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/reaper/test/support/test_utils.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule TestUtils do @moduledoc false require Elsa.Message require Logger alias SmartCity.TestDataGenerator, as: TDG def feed_supervisor_count() do Reaper.Horde.Supervisor |> Horde.DynamicSupervisor.which_children() |> Enum.filter(&is_feed_supervisor?/1) |> Enum.count() end def get_ch...
24.922414
70
0.628156
9ee34d6fa7bcaacf6cca65fbca92666f8a1897bb
7,003
ex
Elixir
lib/eth/transaction.ex
aihanrashidov/eth
fb8b2d697b63d88c2a0d326d1d54b53814e0cb6c
[ "MIT" ]
null
null
null
lib/eth/transaction.ex
aihanrashidov/eth
fb8b2d697b63d88c2a0d326d1d54b53814e0cb6c
[ "MIT" ]
null
null
null
lib/eth/transaction.ex
aihanrashidov/eth
fb8b2d697b63d88c2a0d326d1d54b53814e0cb6c
[ "MIT" ]
1
2019-02-19T09:03:36.000Z
2019-02-19T09:03:36.000Z
defmodule ETH.Transaction do import ETH.Utils alias Ethereumex.HttpClient defdelegate parse(data), to: ETH.Transaction.Parser defdelegate to_list(data), to: ETH.Transaction.Parser defdelegate build(params), to: ETH.Transaction.Builder defdelegate build(wallet, params), to: ETH.Transaction.Builder defdel...
30.185345
100
0.711552
9ee3569c8602925e539df145772a2fc6ac1054a6
1,481
ex
Elixir
lib/mix_test_watch/config.ex
gasparch/mix-test.watch
6be7f440bedb04ee191c187a6eeed433fd001572
[ "MIT" ]
1
2021-01-04T16:42:18.000Z
2021-01-04T16:42:18.000Z
lib/mix_test_watch/config.ex
mkaszubowski/mix-test.watch
6be7f440bedb04ee191c187a6eeed433fd001572
[ "MIT" ]
null
null
null
lib/mix_test_watch/config.ex
mkaszubowski/mix-test.watch
6be7f440bedb04ee191c187a6eeed433fd001572
[ "MIT" ]
null
null
null
defmodule MixTestWatch.Config do @moduledoc """ Responsible for gathering and packaging the configuration for the task. """ @default_runner MixTestWatch.HotRunner @default_tasks ~w(test) @default_clear false @default_exclude [] @default_extra_extensions [] defstruct tasks: @default_tasks,...
25.982456
73
0.638082
9ee35b188290a130c68f3f8ad2010a0731b33594
1,929
exs
Elixir
clients/jobs/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/jobs/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/jobs/mix.exs
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...
28.367647
195
0.659409
9ee36c31163ffb30fbd5f37b295aa55852cd98ea
5,943
exs
Elixir
test/appsignal/appsignal_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
test/appsignal/appsignal_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
test/appsignal/appsignal_test.exs
lukerandall/appsignal-elixir
eac4a7e44354bfa2de69ea8a9b0e27157db2e4c8
[ "MIT" ]
null
null
null
defmodule AppsignalTest do use ExUnit.Case, async: true import AppsignalTest.Utils import ExUnit.CaptureIO alias Appsignal.{Transaction, FakeTransaction} setup do {:ok, fake_transaction} = FakeTransaction.start_link() [fake_transaction: fake_transaction] end test "set gauge" do Appsignal.se...
34.552326
129
0.682147
9ee37f64548b114a3cd001babd0dd37d21292ada
1,663
exs
Elixir
mix.exs
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
mix.exs
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
mix.exs
sntpiraquara/mapa_celulas
5e0b1206748bd5169cefb75b006a5489117bfda3
[ "MIT" ]
null
null
null
defmodule MapaCelulas.MixProject do use Mix.Project def project do [ app: :mapa_celulas, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: alias...
26.396825
79
0.580277
9ee39205108cbc17ef3b996d9d69d4e247405ea8
24,711
exs
Elixir
lib/ex_unit/test/ex_unit/assertions_test.exs
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/assertions_test.exs
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/assertions_test.exs
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.AssertionsTest.Value do def tuple, do: {2, 1} def falsy, do: nil def truthy, do: :truthy def binary, do: <<5, "Frank the Walrus">> end defmodule ExUnit.AssertionsTest.BrokenError do defexception [:message] @impl true def message(_) do ...
27.365449
123
0.623123
9ee3a419ffb50329967ffbf73894270bae030a74
4,619
ex
Elixir
lib/strava/auth.ex
manhtai/strava
ceb54b1c8540a1eb498f99e4fba2cef7b6e3cb08
[ "MIT" ]
null
null
null
lib/strava/auth.ex
manhtai/strava
ceb54b1c8540a1eb498f99e4fba2cef7b6e3cb08
[ "MIT" ]
null
null
null
lib/strava/auth.ex
manhtai/strava
ceb54b1c8540a1eb498f99e4fba2cef7b6e3cb08
[ "MIT" ]
null
null
null
defmodule Strava.Auth do @moduledoc """ An OAuth2 strategy for Strava. """ use OAuth2.Strategy def new do OAuth2.Client.new( strategy: __MODULE__, client_id: Strava.client_id(), client_secret: Strava.client_secret(), redirect_uri: Strava.redirect_uri(), site: "https://www.st...
35.806202
98
0.703399
9ee3a4e350aa32ed53eabdacca1564a91958db1d
243
ex
Elixir
lib/perspective/protocols/chars.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
2
2020-04-24T19:43:06.000Z
2020-04-24T19:52:27.000Z
lib/perspective/protocols/chars.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
lib/perspective/protocols/chars.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
defimpl String.Chars, for: Tuple do def to_string(tuple) do opts = struct(Inspect.Opts, []) doc = Inspect.Algebra.group(Inspect.Algebra.to_doc(tuple, opts)) Inspect.Algebra.format(doc, 10000) |> Kernel.to_string() end end
24.3
68
0.691358
9ee3c0c9e1dc05fc2f228fcacdf16203fb4a71b5
6,372
ex
Elixir
lib/typed_struct.ex
s3cur3/typed_struct
1185f83434088cf68d36c44cd2c3b4e19f0005eb
[ "MIT" ]
null
null
null
lib/typed_struct.ex
s3cur3/typed_struct
1185f83434088cf68d36c44cd2c3b4e19f0005eb
[ "MIT" ]
null
null
null
lib/typed_struct.ex
s3cur3/typed_struct
1185f83434088cf68d36c44cd2c3b4e19f0005eb
[ "MIT" ]
null
null
null
defmodule TypedStruct do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) @doc false defmacro __using__(_) do quote do import TypedStruct, only: [typedstruct: 1, typedstruct: 2] end e...
27.465517
80
0.618487
9ee4313c0497770311b02ee8c57126369f2ee0e1
4,345
exs
Elixir
test/iris/rpc_test.exs
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
test/iris/rpc_test.exs
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
test/iris/rpc_test.exs
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule Iris.RPCTest do use Iris.Test.Helper @doc """ @assigns, @opts declared in Iris.Test.Helper """ @public_args ["TestModule", "test_public", ["bar"]] @public_parsed_args {:"Elixir.Iris.Test.TestModule", :test_public, ["bar"]} @private_args ["TestModule", "test_private", ["food"]] @private_parse...
43.019802
132
0.688608
9ee4329a1455a1cdb824d13e38fd9fee19565582
1,612
exs
Elixir
combo/phxexibee/mix.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
combo/phxexibee/mix.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
combo/phxexibee/mix.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
defmodule Phxexibee.MixProject do use Mix.Project def project do [ app: :phxexibee, 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
84
0.586849
9ee445e538343be9982de32251316e654525a896
1,218
exs
Elixir
test/io/osabie_test.exs
Tux9001/05AB1E
8b28b648961c19217cc8e481714e33a4a16f41c2
[ "MIT" ]
null
null
null
test/io/osabie_test.exs
Tux9001/05AB1E
8b28b648961c19217cc8e481714e33a4a16f41c2
[ "MIT" ]
null
null
null
test/io/osabie_test.exs
Tux9001/05AB1E
8b28b648961c19217cc8e481714e33a4a16f41c2
[ "MIT" ]
null
null
null
defmodule OsabieTest do use ExUnit.Case alias Osabie.CLI import ExUnit.CaptureIO import TestHelper def run_osabie(code, args \\ []) do String.trim_trailing(capture_io(fn -> file_test(fn file -> File.write!(file, code); Osabie.CLI.main([file | args]) end) end), "\n") |> String.split("\n") ...
25.375
161
0.416256
9ee4550931adb28275d3c2f986210bd56e0bcea0
2,246
exs
Elixir
config/config.exs
char0n/qencode
22751a652e0af229b89e9b70498a0d36761c30e5
[ "BSD-3-Clause" ]
2
2019-07-03T11:51:39.000Z
2019-08-06T15:34:34.000Z
config/config.exs
char0n/qencode
22751a652e0af229b89e9b70498a0d36761c30e5
[ "BSD-3-Clause" ]
5
2019-07-19T17:34:09.000Z
2019-11-04T10:59:11.000Z
config/config.exs
char0n/qencode
22751a652e0af229b89e9b70498a0d36761c30e5
[ "BSD-3-Clause" ]
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...
32.550725
73
0.729297
9ee45952ae7535b51117514185834a3f99397da7
1,570
ex
Elixir
lib/token_manager.ex
omnifroodle/astraex
873d5ca985c8387f236c086ffb76780092823e01
[ "Apache-2.0" ]
3
2021-02-16T20:30:52.000Z
2021-08-16T15:02:59.000Z
lib/token_manager.ex
omnifroodle/astraex
873d5ca985c8387f236c086ffb76780092823e01
[ "Apache-2.0" ]
null
null
null
lib/token_manager.ex
omnifroodle/astraex
873d5ca985c8387f236c086ffb76780092823e01
[ "Apache-2.0" ]
null
null
null
defmodule Astra.TokenManager do @moduledoc false use GenServer require Logger @update_interval 1_700_000 def start_link(_opts) do GenServer.start_link(__MODULE__, :ok, name: __MODULE__) end @doc """ Get Token fetches a security token from Astra for use with other requests. """ def get_token(...
28.035714
94
0.682166