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
919594dc10e4a209f818244407dd2b2fbafdea85
4,494
exs
Elixir
test/ex_lttb_stream_test.exs
rbino/ex_lttb
0ea0490e78af1933f3f463c02eb0c08f18845c67
[ "MIT" ]
null
null
null
test/ex_lttb_stream_test.exs
rbino/ex_lttb
0ea0490e78af1933f3f463c02eb0c08f18845c67
[ "MIT" ]
null
null
null
test/ex_lttb_stream_test.exs
rbino/ex_lttb
0ea0490e78af1933f3f463c02eb0c08f18845c67
[ "MIT" ]
null
null
null
defmodule ExLTTB.StreamTest do use ExUnit.Case use ExUnitProperties doctest ExLTTB.Stream property "resulting list has always correct length" do ordered_sample_list_gen = gen all sample_list <- list_of(fixed_map(%{x: float(), y: float()}), min_length: 2) do Enum.sort(sample_list, fn %{x: xa},...
36.536585
106
0.637517
9195e4633efa9f100df8c0b877df66b4cb52b041
578
ex
Elixir
other-benchmarks/elixir-phoenix-absinthe/lib/benchmark_graphql/resolvers.ex
uladzislau-hlebovich/node-graphql-benchmarks
00b8ba59299e7f725d7a79215f9e56471247f95b
[ "MIT" ]
null
null
null
other-benchmarks/elixir-phoenix-absinthe/lib/benchmark_graphql/resolvers.ex
uladzislau-hlebovich/node-graphql-benchmarks
00b8ba59299e7f725d7a79215f9e56471247f95b
[ "MIT" ]
null
null
null
other-benchmarks/elixir-phoenix-absinthe/lib/benchmark_graphql/resolvers.ex
uladzislau-hlebovich/node-graphql-benchmarks
00b8ba59299e7f725d7a79215f9e56471247f95b
[ "MIT" ]
null
null
null
defmodule BenchmarkGraphQL.Resolvers do def list_authors(_parent, _args, _resolution) do authors = Enum.map(1..20, fn _ -> books = Enum.map(1..3, fn _ -> %{ id: "123e4567-e89b-12d3-a456-426614174000", name: "hettinger.name", num_pages: ...
23.12
57
0.50346
9195f1d96d61b8ad5387414564124d454acdaddd
1,384
ex
Elixir
bench/ex1.ex
wstucco/micro_timer
e666981778a1ffabf61641f9ebfc1c42db70f262
[ "MIT" ]
10
2018-11-26T09:00:49.000Z
2022-02-24T06:08:37.000Z
bench/ex1.ex
wstucco/micro_timer
e666981778a1ffabf61641f9ebfc1c42db70f262
[ "MIT" ]
null
null
null
bench/ex1.ex
wstucco/micro_timer
e666981778a1ffabf61641f9ebfc1c42db70f262
[ "MIT" ]
null
null
null
defmodule MicroTimerBenchAdjust do def usleep(timeout) when is_integer(timeout) and timeout > 0 do do_usleep(timeout) receive do :done -> :ok end end defp do_usleep(timeout) when timeout > 2_000 do ms_timeout = div(timeout, 1_000) - 1 {real_sleep_time, _} = :timer.tc(fn -> ...
23.862069
77
0.610549
9195fcd2305a80475534919befa79acbf2c667be
1,172
ex
Elixir
lib/cadet/accounts/notification.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
null
null
null
lib/cadet/accounts/notification.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
lib/cadet/accounts/notification.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
1
2019-07-17T15:51:58.000Z
2019-07-17T15:51:58.000Z
defmodule Cadet.Accounts.Notification do @moduledoc """ The Notification entity represents a notification. It stores information pertaining to the type of notification and who it belongs to. Each notification can have an assessment id or submission id, with optional question id. This will be used to pinpoint ...
31.675676
90
0.742321
9196022f50654304bd88af01f030b2e9d7060899
1,690
ex
Elixir
clients/games/lib/google_api/games/v1/model/games_achievement_increment.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/games_achievement_increment.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/games_achievement_increment.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.8
152
0.752663
9196486cdf0e13b46a9274ddfecfabd97fe98f81
3,108
ex
Elixir
lib/credo/check/refactor/variable_rebinding.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
lib/credo/check/refactor/variable_rebinding.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
lib/credo/check/refactor/variable_rebinding.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
defmodule Credo.Check.Refactor.VariableRebinding do @moduledoc """ You might want to refrain from rebinding variables. Although technically fine, rebinding to the same name can lead to less precise naming. Consider this example: def find_a_good_time do time = MyApp.DateTime.now time =...
24.864
75
0.642535
9196660cd0e7e7037a56145eb0a49565d787df20
296
exs
Elixir
.dialyzer_ignore.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
.dialyzer_ignore.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
.dialyzer_ignore.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
[ # Ignore warnings caused by the following problem: # https://github.com/elixir-lang/elixir/issues/7177 {"lib/xema/schema.ex", :pattern_match, 323}, {"lib/xema/validator.ex", :pattern_match, 388}, # due a bug in dialyzer ~r/.*Function.Xema.Castable.*.__impl__.1.does.not.exist.*/ ]
29.6
60
0.692568
9196774f0774693edea0edc47cb85c0babc43883
775
exs
Elixir
test/phoenix_pubsub_kafka/serializer_test.exs
ohr486/phoenix_pubsub_kafka
24c90d2a85541540c290f4865880569dc4e535df
[ "MIT" ]
1
2020-01-13T20:47:47.000Z
2020-01-13T20:47:47.000Z
test/phoenix_pubsub_kafka/serializer_test.exs
ohr486/phoenix_pubsub_kafka
24c90d2a85541540c290f4865880569dc4e535df
[ "MIT" ]
null
null
null
test/phoenix_pubsub_kafka/serializer_test.exs
ohr486/phoenix_pubsub_kafka
24c90d2a85541540c290f4865880569dc4e535df
[ "MIT" ]
1
2018-07-17T05:09:52.000Z
2018-07-17T05:09:52.000Z
defmodule Phoenix.PubSub.Kafka.SerializerTest do use ExUnit.Case # --- Phoenix.PubSub.Kafka.Serializer.Binary --- @data_map [ %{term: "message", bin: <<131, 109, 0, 0, 0, 7, 109, 101, 115, 115, 97, 103, 101>>}, %{term: :message, bin: <<131, 100, 0, 7, 109, 101, 115, 115, 97, 103, 101>>}, %{term: 12...
29.807692
88
0.620645
9196c584311faa5d37d2e6cf1de25209694923cc
401
exs
Elixir
examples/Elixir.HelloWorld/mix.exs
khzmk/repo1
8592061652dbf88fddfca9b65a6a12a01d9e3b47
[ "MIT" ]
null
null
null
examples/Elixir.HelloWorld/mix.exs
khzmk/repo1
8592061652dbf88fddfca9b65a6a12a01d9e3b47
[ "MIT" ]
null
null
null
examples/Elixir.HelloWorld/mix.exs
khzmk/repo1
8592061652dbf88fddfca9b65a6a12a01d9e3b47
[ "MIT" ]
null
null
null
#-*-Mode:elixir;coding:utf-8;tab-width:2;c-basic-offset:2;indent-tabs-mode:()-*- # ex: set ft=elixir fenc=utf-8 sts=2 ts=2 sw=2 et nomod: defmodule HelloWorld.Mixfile do use Mix.Project def project do [app: :'Elixir.HelloWorld', version: "1.8.0", elixirc_paths: ["lib/"], deps: deps()] end ...
18.227273
80
0.623441
9196df31cbc17506f885faefbf61a58a43a0a658
297
exs
Elixir
priv/repo/migrations/20160323224424_create_memo.exs
sgeos/memo_api
d57d0a1190296364a559510de9b4dd9d50b034e8
[ "CC0-1.0" ]
null
null
null
priv/repo/migrations/20160323224424_create_memo.exs
sgeos/memo_api
d57d0a1190296364a559510de9b4dd9d50b034e8
[ "CC0-1.0" ]
null
null
null
priv/repo/migrations/20160323224424_create_memo.exs
sgeos/memo_api
d57d0a1190296364a559510de9b4dd9d50b034e8
[ "CC0-1.0" ]
null
null
null
defmodule MemoApi.Repo.Migrations.CreateMemo do use Ecto.Migration def change do create table(:memos) do add :title, :string add :body, :text add :user_id, references(:users, on_delete: :nothing) timestamps end create index(:memos, [:user_id]) end end
18.5625
59
0.656566
9196ee70269564a585e79f97d843524cffe74200
1,115
exs
Elixir
dummies/dummy1/config/config.exs
schnittchen/onartsipac
d408f8d65320a0ae77d9c10c605a9da45f0041df
[ "MIT" ]
50
2017-05-11T14:57:57.000Z
2021-01-20T06:20:59.000Z
dummies/dummy1/config/config.exs
schnittchen/carafe
d408f8d65320a0ae77d9c10c605a9da45f0041df
[ "MIT" ]
20
2017-05-11T14:15:26.000Z
2018-04-27T11:15:27.000Z
dummies/dummy1/config/config.exs
schnittchen/onartsipac
d408f8d65320a0ae77d9c10c605a9da45f0041df
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
91970311ecc96c3b7436669979c3aba96064bab5
1,775
ex
Elixir
clients/network_services/lib/google_api/network_services/v1/model/endpoint_matcher.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_services/lib/google_api/network_services/v1/model/endpoint_matcher.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_services/lib/google_api/network_services/v1/model/endpoint_matcher.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...
35.5
197
0.76169
919727ccac0ce9e47f3f9e72e6759c3647578699
260
ex
Elixir
summer/lib/summer/core/counter.ex
mitchelhaan/otpv_2021
daa795594637657726c8aef88e81fca1ab3f2205
[ "MIT" ]
null
null
null
summer/lib/summer/core/counter.ex
mitchelhaan/otpv_2021
daa795594637657726c8aef88e81fca1ab3f2205
[ "MIT" ]
null
null
null
summer/lib/summer/core/counter.ex
mitchelhaan/otpv_2021
daa795594637657726c8aef88e81fca1ab3f2205
[ "MIT" ]
3
2021-04-22T17:15:08.000Z
2021-04-26T13:10:55.000Z
defmodule Summer.Core.Counter do def add(total, number) do total + number end def subtract(total, number) do total - number end def new(initial) do String.to_integer(initial) end def render(total) do to_string(total) end end
14.444444
32
0.676923
9197375a5753783f9c9ca1ae7c8744fc25ed4612
7,077
ex
Elixir
lib/frankt.ex
acutario/frankt
0f77403d969d824e41cae7a235ebcc2d7e6a4d2c
[ "MIT" ]
6
2018-01-07T13:49:20.000Z
2020-01-19T02:29:47.000Z
lib/frankt.ex
acutario/frankt
0f77403d969d824e41cae7a235ebcc2d7e6a4d2c
[ "MIT" ]
10
2018-01-03T18:09:35.000Z
2018-07-02T16:25:02.000Z
lib/frankt.ex
acutario/frankt
0f77403d969d824e41cae7a235ebcc2d7e6a4d2c
[ "MIT" ]
1
2018-07-16T08:57:35.000Z
2018-07-16T08:57:35.000Z
defmodule Frankt do @moduledoc """ Run client-side actions from the backend. Frankt provides a thin layer over Phoenix channels which allows running client-side actions from the backend. Since the logic of those actions lives in the backend, they can leverage all the [`Elixir`][1] and `Phoenix` capabilities....
34.354369
101
0.697188
91973949050c013c53edca0a86ab44e3ece64b86
1,333
ex
Elixir
lib/kitten_graphql_web/endpoint.ex
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
3
2020-02-25T16:49:06.000Z
2020-04-24T03:14:11.000Z
lib/kitten_graphql_web/endpoint.ex
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
3
2021-03-09T03:17:50.000Z
2021-09-01T04:37:12.000Z
lib/kitten_graphql_web/endpoint.ex
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
2
2019-05-06T08:27:54.000Z
2021-10-05T20:33:30.000Z
defmodule KittenGraphqlWeb.Endpoint do use Phoenix.Endpoint, otp_app: :kitten_graphql use Absinthe.Phoenix.Endpoint socket "/socket", KittenGraphqlWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you a...
27.770833
69
0.71943
91976e110e68253e14630ac0423a78e3211c127d
13,843
exs
Elixir
test/slot_test.exs
bwittenbrook3/surface
8697032e907a349e195ff7c495e69e5a6fec6c78
[ "MIT" ]
null
null
null
test/slot_test.exs
bwittenbrook3/surface
8697032e907a349e195ff7c495e69e5a6fec6c78
[ "MIT" ]
null
null
null
test/slot_test.exs
bwittenbrook3/surface
8697032e907a349e195ff7c495e69e5a6fec6c78
[ "MIT" ]
null
null
null
defmodule Surface.SlotTest do use ExUnit.Case, async: true import ComponentTestHelper defmodule StatefulComponent do use Surface.LiveComponent def render(assigns) do ~H""" <div>Stateful</div> """ end def handle_event(_, _, socket) do {:noreply, socket} end end ...
21.629688
92
0.546197
91976e56adf1ded3d46281ec1a42f0718fba64f7
1,331
exs
Elixir
test/carny_test.exs
nathanjohnson320/carny
5c75fd18c805723b5f05873d7e1b622c96a61d42
[ "MIT" ]
null
null
null
test/carny_test.exs
nathanjohnson320/carny
5c75fd18c805723b5f05873d7e1b622c96a61d42
[ "MIT" ]
null
null
null
test/carny_test.exs
nathanjohnson320/carny
5c75fd18c805723b5f05873d7e1b622c96a61d42
[ "MIT" ]
null
null
null
defmodule CarnyTest do use ExUnit.Case doctest Carny alias Carny.{Policy, Statement, Identifier} setup do {:ok, %{ id: %Identifier{ domain: "my-company", organization: "bulwark", resource: "deployments" }, policy: %Policy{ statements: [ ...
22.559322
87
0.511645
9197ae9db142da8dd8f2a184308b238a5ca239bd
222
ex
Elixir
lib/hippocrene/file_server.ex
Joe-noh/hippocrene
8dac2caf7214d1d29db5dd992a24f600b577c880
[ "MIT" ]
null
null
null
lib/hippocrene/file_server.ex
Joe-noh/hippocrene
8dac2caf7214d1d29db5dd992a24f600b577c880
[ "MIT" ]
6
2017-10-09T15:18:15.000Z
2017-10-09T15:18:16.000Z
lib/hippocrene/file_server.ex
Joe-noh/hippocrene
8dac2caf7214d1d29db5dd992a24f600b577c880
[ "MIT" ]
null
null
null
defmodule Hippocrene.FileServer do use Plug.Builder import Plug.Conn plug Plug.Static, at: "/", from: "./site" plug :not_found def not_found(conn, _) do send_resp conn, 404, "Oh! 404! Not Found!" end end
18.5
46
0.675676
9197b85db104fc2178baaa4af2a413ccbea6b309
346
ex
Elixir
lib/poller.ex
odo/poll_proxy
e14efdeccf238f72a0a78fec02ca31d9441839b9
[ "MIT" ]
null
null
null
lib/poller.ex
odo/poll_proxy
e14efdeccf238f72a0a78fec02ca31d9441839b9
[ "MIT" ]
null
null
null
lib/poller.ex
odo/poll_proxy
e14efdeccf238f72a0a78fec02ca31d9441839b9
[ "MIT" ]
null
null
null
defmodule PollProxy.Poller do @callback interval() :: interval::Interger.t() @callback init(init_args::term) :: {:ok, init_state::term} @callback poll(state::term()) :: {:update, update_data::term, next_state::term} | {:noupdate, next_state::term} @callback handle_update(update_data::term(), subscriber::pid(), ...
49.428571
113
0.696532
9197cbc88b4cafe0d76383925ac02a7db9365a04
51
ex
Elixir
emporium/lib/emporium/backend.ex
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
emporium/lib/emporium/backend.ex
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
emporium/lib/emporium/backend.ex
sbezugliy/couchdb_elixir
2fdcb1617918324315a2217b2d1567e9a2c68558
[ "Apache-2.0" ]
null
null
null
defmodule Emporium.Backend do import CouchDB end
8.5
29
0.823529
91980cefdc49b94a730309dbcfa59f99e395cfa8
284
exs
Elixir
apps/idp/priv/repo/migrations/20191031214559_create_statuses_table.exs
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
apps/idp/priv/repo/migrations/20191031214559_create_statuses_table.exs
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
apps/idp/priv/repo/migrations/20191031214559_create_statuses_table.exs
lbrty/idp-backend
81d5f10ef6177a1e678b994331c5a09abbdca8d6
[ "Apache-2.0" ]
null
null
null
defmodule Idp.Repo.Migrations.CreateStatusesTable do use Ecto.Migration def change do create table(:statuses, primary_key: false) do add :id, :uuid, primary_key: true add :name, :string timestamps() end create index(:statuses, [:name]) end end
17.75
52
0.669014
91982ecdb201972de9230d7b41e72ffb3c2acb09
8,640
ex
Elixir
apps/omg_watcher_info/lib/omg_watcher_info/db/txoutput.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_info/lib/omg_watcher_info/db/txoutput.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_info/lib/omg_watcher_info/db/txoutput.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
33.75
120
0.645139
91985ad42408e3e228154d804170e61b81bf9bdc
196
ex
Elixir
web/views/index_view.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
1
2018-01-20T00:58:33.000Z
2018-01-20T00:58:33.000Z
web/views/index_view.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
null
null
null
web/views/index_view.ex
enixdark/audit_api
3aa6e9169cd9e80f06d91e4104438398a012a86f
[ "MIT" ]
null
null
null
defmodule AuditApi.IndexView do use AuditApi.Web, :view def render("index.json", %{metadata: data}) do data end def render("flush.json", %{metadata: data}) do data end end
14
48
0.647959
9198876ef3710dd6c0eb8f80ad1bee0728436913
1,226
exs
Elixir
test/provider_test.exs
TokiTori/distillery
9158df6d17c8b70a201ade4ca0d3f243245ceebd
[ "MIT" ]
null
null
null
test/provider_test.exs
TokiTori/distillery
9158df6d17c8b70a201ade4ca0d3f243245ceebd
[ "MIT" ]
null
null
null
test/provider_test.exs
TokiTori/distillery
9158df6d17c8b70a201ade4ca0d3f243245ceebd
[ "MIT" ]
null
null
null
defmodule ProviderTest do use ExUnit.Case alias Mix.Releases.Config.Providers @umbrella_config_path Path.join([__DIR__, "fixtures", "umbrella_test", "config", "config.exs"]) @app1_config_path Path.join([__DIR__, "fixtures", "umbrella_test", "apps", "app1", "config", "config.exs"]) # Dirty, dirty hack...
38.3125
109
0.637031
9198a2b2ef91a1c72f7fa765687379fa9f50564e
413
exs
Elixir
test/reborn_web/views/error_view_test.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
test/reborn_web/views/error_view_test.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
test/reborn_web/views/error_view_test.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
defmodule RebornWeb.ErrorViewTest do use RebornWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(RebornWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do asser...
27.533333
91
0.731235
9198c8bdfb9281c66f248a52cd6e92e4566ad7dd
954
ex
Elixir
apps/banking_api_challenge/lib/banking_api_challenge/users/schemas/user.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
null
null
null
apps/banking_api_challenge/lib/banking_api_challenge/users/schemas/user.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
null
null
null
apps/banking_api_challenge/lib/banking_api_challenge/users/schemas/user.ex
jhonndabi/banking-api-challenge
1e13c675b02c8e62a76e82b0a0dd6a44306a211e
[ "Apache-2.0" ]
1
2021-04-20T19:05:48.000Z
2021-04-20T19:05:48.000Z
defmodule BankingApiChallenge.Users.Schemas.User do @moduledoc """ The user schema. """ use Ecto.Schema import Ecto.Changeset alias BankingApiChallenge.Accounts.Schemas.Account alias BankingApiChallenge.Credentials.Schemas.Password @required [:name, :email] @optional [] @name_min_length 5 @de...
24.461538
87
0.712788
9198fddac89fc76d697e00363ddfd84a6fcbd96a
1,589
ex
Elixir
lib/blog_web/endpoint.ex
theguuholi/blog
36152d03012d163d76520cf57c51783828d14317
[ "MIT" ]
null
null
null
lib/blog_web/endpoint.ex
theguuholi/blog
36152d03012d163d76520cf57c51783828d14317
[ "MIT" ]
9
2020-07-22T10:19:52.000Z
2020-12-13T02:27:02.000Z
lib/blog_web/endpoint.ex
theguuholi/blog
36152d03012d163d76520cf57c51783828d14317
[ "MIT" ]
null
null
null
defmodule BlogWeb.Endpoint do use Phoenix.Endpoint, otp_app: :blog # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_blog_key", ...
28.890909
97
0.714915
91990be595fe11c1921855952b98c1cd4cc35967
1,722
ex
Elixir
programming/elixir-course/identicon/lib/identicon.ex
filippo-fonseca/learning
426c7e3a904e2dcd389f1c4ecd5b1484571f937d
[ "MIT" ]
1
2021-09-24T22:47:33.000Z
2021-09-24T22:47:33.000Z
programming/elixir-course/identicon/lib/identicon.ex
filippo-fonseca/learning
426c7e3a904e2dcd389f1c4ecd5b1484571f937d
[ "MIT" ]
null
null
null
programming/elixir-course/identicon/lib/identicon.ex
filippo-fonseca/learning
426c7e3a904e2dcd389f1c4ecd5b1484571f937d
[ "MIT" ]
1
2020-08-28T22:52:08.000Z
2020-08-28T22:52:08.000Z
defmodule Identicon do def main(input) do input |> hash_input |> pick_color |> build_grid |> filter_odd_squares |> build_pixel_map |> draw_image |> save_image(input) end def save_image(image, input) do File.write("#{input}.png", image) end def draw_image(%Identicon.Image{...
22.363636
73
0.618467
91991e4a0a6773505da59d323e61333ea7cbf32c
1,835
exs
Elixir
clients/recommendation_engine/mix.exs
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/recommendation_engine/mix.exs
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/recommendation_engine/mix.exs
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...
27.38806
112
0.659401
91992de27112a2dcf34483d13b1fb7b73a6218f4
802
exs
Elixir
test/acceptance/html/escape_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/html/escape_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/html/escape_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Html.EscapeTest do use Support.AcceptanceTestCase describe "Escapes" do test "dizzy?" do markdown = "\\\\!\\\\\"" html = "<p>\n \\!\\”\n</p>\n" messages = [] assert as_html(markdown, smartypants: true) == {:ok, html, messages} end test "dizzy and not ...
24.30303
75
0.541147
91994716ca03633872187dee0f22b992dd658160
1,675
ex
Elixir
lib/api_phoenix_jwt_crud_web.ex
melardev/Elixir_Phoenix_Ecto_AuthJwt_Crud
3c90eafe889b0414ed0f027d7d42bf401682f739
[ "MIT" ]
null
null
null
lib/api_phoenix_jwt_crud_web.ex
melardev/Elixir_Phoenix_Ecto_AuthJwt_Crud
3c90eafe889b0414ed0f027d7d42bf401682f739
[ "MIT" ]
null
null
null
lib/api_phoenix_jwt_crud_web.ex
melardev/Elixir_Phoenix_Ecto_AuthJwt_Crud
3c90eafe889b0414ed0f027d7d42bf401682f739
[ "MIT" ]
null
null
null
defmodule ApiPhoenixJwtCrudWeb 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 ApiPhoenixJwtCrudWeb, :controller use ApiPhoenixJwtCrudWeb, :view The definitions below will be executed ...
25
83
0.714627
919957ed282c74839b4139fcc9e25c4c47c7b4c2
3,212
ex
Elixir
lib/phoenix/live_dashboard/pages/metrics_page.ex
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/pages/metrics_page.ex
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/pages/metrics_page.ex
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.MetricsPage do use Phoenix.LiveDashboard.PageLive, refresher?: false alias Phoenix.LiveDashboard.ChartComponent @impl true def mount(params, %{"metrics" => {mod, fun}, "metrics_history" => history}, socket) do all_metrics = apply(mod, fun, []) metrics_per_group = Enum.g...
30.884615
96
0.625778
91996596e0945a1c6630f0f5aa98997b272db167
663
exs
Elixir
priv/repo/migrations/20190222125206_create_table_branches.exs
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
priv/repo/migrations/20190222125206_create_table_branches.exs
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
priv/repo/migrations/20190222125206_create_table_branches.exs
oryono/banking
0a49ebae5ebf93a6db0c24476a1c86c60bb72733
[ "MIT" ]
null
null
null
defmodule BankingGraph.Repo.Migrations.CreateTableBranches do use Ecto.Migration def change do create table(:branches) do add :name, :string add :phone, :string, nullable: true add :email, :string, nullable: true add :city, :string, nullable: true add :distri...
31.571429
66
0.61991
9199769903d50e04da1e3f8279e446b4728c6f31
940
ex
Elixir
lib/sx1509/registers/keypad_engine.ex
psteininger/sx1509
1b6051ee0904dc7977270db9aa8b6e8711fb211b
[ "MIT" ]
null
null
null
lib/sx1509/registers/keypad_engine.ex
psteininger/sx1509
1b6051ee0904dc7977270db9aa8b6e8711fb211b
[ "MIT" ]
null
null
null
lib/sx1509/registers/keypad_engine.ex
psteininger/sx1509
1b6051ee0904dc7977270db9aa8b6e8711fb211b
[ "MIT" ]
null
null
null
defmodule SX1509.Registers.KeypadEngine do use Wafer.Registers @moduledoc """ This module provides a register mapping for SX1509's Debounce and Keypad Engine """ @doc """ RegDebounceConfig Debounce configuration register (default: 0x00) Bit | Setting ---: | :--- 7:3 | Unused 2:0 | Debounce ti...
30.322581
247
0.680851
91997c4a3d541f29f220effba777d9ccac64a61d
3,833
ex
Elixir
apps/gitgud/lib/gitgud/schemas/ssh_key.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
1
2019-09-08T07:48:10.000Z
2019-09-08T07:48:10.000Z
apps/gitgud/lib/gitgud/schemas/ssh_key.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
apps/gitgud/lib/gitgud/schemas/ssh_key.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
defmodule GitGud.SSHKey do @moduledoc """ Secure Shell (SSH) authentication key schema and helper functions. An `GitGud.SSHKey` is used to authenticate users via *Public Key Authentication* in `GitGud.SSHServer`. """ use Ecto.Schema alias GitGud.DB alias GitGud.User import Ecto.Changeset schema "...
29.945313
112
0.665275
9199a342b99906195d792f59af10bffbb638e034
95
ex
Elixir
lib/depot/stat/file.ex
jmks/depot
32dd795e29231ee4333c0e825a504659b4abe04b
[ "Apache-2.0" ]
20
2020-06-19T20:38:22.000Z
2021-09-14T06:57:32.000Z
lib/depot/stat/file.ex
jmks/depot
32dd795e29231ee4333c0e825a504659b4abe04b
[ "Apache-2.0" ]
15
2020-06-22T16:37:10.000Z
2021-10-18T22:18:50.000Z
lib/depot/stat/file.ex
LostKobrakai/depot
2406773bbb3523f0a294bd4c8256a35a1444e60a
[ "Apache-2.0" ]
5
2020-06-21T14:07:44.000Z
2021-10-05T16:19:45.000Z
defmodule Depot.Stat.File do defstruct name: nil, size: nil, mtime: nil, visibility: nil end
23.75
61
0.747368
919a75bcaca1a3e6658784fe8a94a42392b09e4d
417
exs
Elixir
test/nebulex_redis_adapter/client_cluster_test.exs
bjyoungblood/nebulex_redis_adapter
8ecf19f91d1d332c39e3507831fbfabc800fcf2b
[ "MIT" ]
20
2018-09-02T15:14:44.000Z
2021-12-10T16:40:56.000Z
test/nebulex_redis_adapter/client_cluster_test.exs
bjyoungblood/nebulex_redis_adapter
8ecf19f91d1d332c39e3507831fbfabc800fcf2b
[ "MIT" ]
23
2018-10-26T19:49:11.000Z
2022-03-23T22:37:25.000Z
test/nebulex_redis_adapter/client_cluster_test.exs
bjyoungblood/nebulex_redis_adapter
8ecf19f91d1d332c39e3507831fbfabc800fcf2b
[ "MIT" ]
17
2018-11-06T00:19:03.000Z
2021-11-19T09:46:06.000Z
defmodule NebulexRedisAdapter.ClientClusterTest do use ExUnit.Case, async: true use NebulexRedisAdapter.CacheTest alias NebulexRedisAdapter.TestCache.ClientCluster, as: Cache setup do {:ok, pid} = Cache.start_link() _ = Cache.flush() :ok on_exit(fn -> :ok = Process.sleep(100) if P...
20.85
62
0.671463
919a7c50bdabc18f3a00366761d4ad6d869197aa
199
exs
Elixir
test/controllers/page_controller_test.exs
macdougall/mbtadepartures
a8c1f5a8b71570c2761fd7021875e9a435fe7caf
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
macdougall/mbtadepartures
a8c1f5a8b71570c2761fd7021875e9a435fe7caf
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
macdougall/mbtadepartures
a8c1f5a8b71570c2761fd7021875e9a435fe7caf
[ "MIT" ]
null
null
null
defmodule Departures.PageControllerTest do use Departures.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.111111
60
0.683417
919aa802027492688976d92729ede9ea55edde55
86
ex
Elixir
web/commands/shipment.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
web/commands/shipment.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
web/commands/shipment.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Command.Shipment do use Nectar.Command, model: Nectar.Shipment end
21.5
44
0.813953
919abc3c05085ddaa5f60a3c1db6c12162224cc8
288
exs
Elixir
config/config.exs
nerves-project/system_registry
b0aa7d8826e5c37a374961338596fee10556ec79
[ "Apache-2.0" ]
9
2017-09-08T06:34:48.000Z
2019-08-03T15:35:10.000Z
config/config.exs
nerves-project/system_registry
b0aa7d8826e5c37a374961338596fee10556ec79
[ "Apache-2.0" ]
13
2017-08-29T22:55:09.000Z
2019-10-16T20:02:06.000Z
config/config.exs
nerves-project/system_registry
b0aa7d8826e5c37a374961338596fee10556ec79
[ "Apache-2.0" ]
4
2017-09-07T16:36:40.000Z
2019-03-14T00:23:45.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :system_registry, SystemRegistry.TermStorage, scopes: [ [:config, :a] ], path: File.cwd!() |> Path.join("test/tmp") |> Path.expand()
28.8
61
0.711806
919b07873541a50ae0099bbbb450808041bdb07b
677
ex
Elixir
lib/exmarket/application.ex
EssenceOfChaos/exmarket
b4500efdb3fa4ffa2394d2f020102c1932a8416f
[ "MIT" ]
2
2019-04-24T02:58:12.000Z
2019-04-24T19:40:43.000Z
lib/exmarket/application.ex
EssenceOfChaos/exmarket
b4500efdb3fa4ffa2394d2f020102c1932a8416f
[ "MIT" ]
null
null
null
lib/exmarket/application.ex
EssenceOfChaos/exmarket
b4500efdb3fa4ffa2394d2f020102c1932a8416f
[ "MIT" ]
1
2019-04-24T03:07:43.000Z
2019-04-24T03:07:43.000Z
defmodule Exmarket.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false alias Exmarket.Api.StockService alias Exmarket.Api.CryptoService use Application def start(_type, _args) do # List all child processes to be supervised c...
28.208333
67
0.711965
919b0be82728c4a83bba443476425429141eb86b
94
ex
Elixir
lib/image.ex
RubenMere/Identicon
28f33deea4dff0bec845f46d2f7ffcbfd93ad404
[ "Unlicense" ]
null
null
null
lib/image.ex
RubenMere/Identicon
28f33deea4dff0bec845f46d2f7ffcbfd93ad404
[ "Unlicense" ]
null
null
null
lib/image.ex
RubenMere/Identicon
28f33deea4dff0bec845f46d2f7ffcbfd93ad404
[ "Unlicense" ]
null
null
null
defmodule Identicon.Image do defstruct hex: nil, color: nil, grid: nil, pixel_map: nil end
18.8
59
0.744681
919b2e971afc4c2aeb1b5ccd68e32e685e553e9e
91
exs
Elixir
test/fixtures/delegate.exs
hrzndhrn/beam_file
3a54bdfa9c458501e0c308e8ceba0ade661317b7
[ "MIT" ]
16
2020-05-28T20:41:45.000Z
2022-03-29T13:51:14.000Z
test/fixtures/delegate.exs
hrzndhrn/beam_file
3a54bdfa9c458501e0c308e8ceba0ade661317b7
[ "MIT" ]
null
null
null
test/fixtures/delegate.exs
hrzndhrn/beam_file
3a54bdfa9c458501e0c308e8ceba0ade661317b7
[ "MIT" ]
1
2021-08-23T02:51:47.000Z
2021-08-23T02:51:47.000Z
defmodule Elixir.Delegate do def now(time_zone) do DateTime.now(time_zone) end end
15.166667
28
0.747253
919b38b3473e79786f21083fb3bb238ace216f2a
1,062
ex
Elixir
lib/rocketpay/user.ex
vcwild/rocketpay-api
21ea2916a68bb300a645877ef1a54bc1b8bfe6a8
[ "Apache-2.0" ]
1
2021-02-25T14:29:46.000Z
2021-02-25T14:29:46.000Z
lib/rocketpay/user.ex
vcwild/rocketpay-api
21ea2916a68bb300a645877ef1a54bc1b8bfe6a8
[ "Apache-2.0" ]
null
null
null
lib/rocketpay/user.ex
vcwild/rocketpay-api
21ea2916a68bb300a645877ef1a54bc1b8bfe6a8
[ "Apache-2.0" ]
null
null
null
defmodule Rocketpay.User do use Ecto.Schema import Ecto.Changeset alias Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @required_params [:name, :age, :email, :password, :nickname] schema "users" do field :name, :string field :age, :integer field :email, :string field :...
25.902439
97
0.690207
919b4a581c00ac0274ca2b195c8b0c186e816c05
2,116
exs
Elixir
config/dev.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
config/dev.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
config/dev.exs
imrinzzzz/reborn
eedd5104264c9ade37907f20956c06fc03a80646
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :reborn, Reborn.Repo, username: "postgres", password: "postgres", database: "reborn", hostname: "db", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading. # # The watc...
27.480519
68
0.687618
919b599f7a474323a144cbfa3fe35e029bddd67c
976
exs
Elixir
mix.exs
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
4
2020-10-21T18:34:50.000Z
2022-03-16T06:25:44.000Z
mix.exs
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
5
2020-10-21T23:16:32.000Z
2021-05-13T13:42:44.000Z
mix.exs
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
3
2020-10-21T21:20:36.000Z
2021-03-15T18:00:30.000Z
defmodule SquareUp.MixProject do use Mix.Project def project do [ app: :square_up, version: "0.1.3", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), # Docs name: "SquareUp", source_url: "https://github.com/whitepap...
21.217391
68
0.554303
919b60924149e99505f7a247aa95c27727576729
785
ex
Elixir
lib/blockchain/wallet.ex
bmitc/introducing-blockchain-with-elixir
69cbf670657c8a15313f49acff0c3e6e3cc8023f
[ "MIT" ]
1
2022-03-21T22:57:46.000Z
2022-03-21T22:57:46.000Z
lib/blockchain/wallet.ex
bmitc/introducing-blockchain-with-elixir
69cbf670657c8a15313f49acff0c3e6e3cc8023f
[ "MIT" ]
null
null
null
lib/blockchain/wallet.ex
bmitc/introducing-blockchain-with-elixir
69cbf670657c8a15313f49acff0c3e6e3cc8023f
[ "MIT" ]
null
null
null
defmodule Blockchain.Wallet do @moduledoc """ Implementation of a blockchain wallet. Wallets are used in transactions and determine the source and destination of sending or receiving money. """ @enforce_keys [:private_key, :public_key] defstruct @enforce_keys @typedoc """ Represents a wallet """ @...
24.53125
76
0.678981
919b6d985f5301fc5189e4a3753df9bd96c70915
90,435
ex
Elixir
lib/codes/codes_s37.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_s37.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_s37.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_S37 do alias IcdCode.ICDCode def _S37001A do %ICDCode{full_code: "S37001A", category_code: "S37", short_code: "001A", full_name: "Unspecified injury of right kidney, initial encounter", short_name: "Unspecified injury of right kidney, initia...
40.229093
107
0.644739
919b70e8d8d0d5885e397f420bcb477c03c9859e
583
ex
Elixir
lib/ElixirWx/wxStyledTextControl.ex
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
3
2018-10-26T21:12:47.000Z
2020-09-01T02:09:34.000Z
lib/ElixirWx/wxStyledTextControl.ex
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
null
null
null
lib/ElixirWx/wxStyledTextControl.ex
DwayneDibley/ElixirWxTests
1446a92e6510f31eac2c4d85dfdcf81fdcfd73e4
[ "Apache-2.0" ]
null
null
null
defmodule WxStyledTextCtrl do import WxUtilities import WinInfo require Logger def new(parent, attributes) do Logger.info("WxStyledTextCtrl.new(#{inspect(parent)}, #{inspect(attributes)})") new_id = :wx_misc.newId() defaults = [id: "_no_id_#{inspect(new_id)}", style: nil, size: nil] {id, opti...
26.5
83
0.687822
919b804017f9669aa0f7b4488a7674a6c65aa1ac
3,111
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/disk_aggregated_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/disk_aggregated_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/disk_aggregated_list.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...
47.136364
393
0.706204
919bae277f3e0fcebe14ad72184fd0e26b47c2e7
1,540
ex
Elixir
clients/content/lib/google_api/content/v2/model/accounts_claim_website_response.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/accounts_claim_website_response.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/accounts_claim_website_response.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...
32.083333
159
0.751948
919bb4ff4215072b7b07c17633fd6f33b9279b09
1,248
exs
Elixir
mix.exs
nickolaich/formex
74214349102b2094fcadec5a13b86c9140e5e37c
[ "MIT" ]
null
null
null
mix.exs
nickolaich/formex
74214349102b2094fcadec5a13b86c9140e5e37c
[ "MIT" ]
null
null
null
mix.exs
nickolaich/formex
74214349102b2094fcadec5a13b86c9140e5e37c
[ "MIT" ]
null
null
null
defmodule Formex.Mixfile do use Mix.Project def project do [ app: :formex, version: "0.6.7", elixir: "~> 1.3", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description(), name: "Form...
22.690909
85
0.552083
919bd8d062cf96e13b72346269a251e9ab51d2de
461
exs
Elixir
priv/repo/migrations/20180426090527_add_trigram_indices_on_searchable_fields.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
priv/repo/migrations/20180426090527_add_trigram_indices_on_searchable_fields.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
priv/repo/migrations/20180426090527_add_trigram_indices_on_searchable_fields.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule Accent.Repo.Migrations.AddTrigramIndicesOnSearchableFields do use Ecto.Migration def change do execute("CREATE EXTENSION pg_trgm", "DROP EXTENSION pg_trgm") create index(:languages, ["name gin_trgm_ops"], using: :gin) create index(:projects, ["name gin_trgm_ops"], using: :gin) create ind...
35.461538
77
0.733189
919bef8e0b511fd4791b09a14aa256741a8da4f7
2,485
ex
Elixir
lib/livebook/runtime/erl_dist.ex
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/erl_dist.ex
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/erl_dist.ex
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Runtime.ErlDist do @moduledoc false # This module allows for initializing nodes connected using # Erlang Distribution with modules and processes necessary for evaluation. # # To ensure proper isolation between sessions, # code evaluation may take place in a separate Elixir runtime, # w...
31.455696
85
0.716298
919c15e6a53b40e745c025d1a407a94090029738
17,875
ex
Elixir
lib/r_enum/ruby.ex
tashirosota/ex-rubenium
0ddb30c31b678889a65dae7674ab7010e1dd7c5e
[ "Apache-2.0" ]
24
2022-01-13T23:13:11.000Z
2022-03-27T18:02:39.000Z
lib/r_enum/ruby.ex
tashirosota/ex-rubenium
0ddb30c31b678889a65dae7674ab7010e1dd7c5e
[ "Apache-2.0" ]
16
2022-01-16T09:18:17.000Z
2022-02-08T01:10:09.000Z
lib/r_enum/ruby.ex
tashirosota/ex-rubenium
0ddb30c31b678889a65dae7674ab7010e1dd7c5e
[ "Apache-2.0" ]
6
2022-01-16T04:40:42.000Z
2022-02-07T14:56:26.000Z
defmodule REnum.Ruby do @moduledoc """ Summarized all of Ruby's Enumerable functions. If a function with the same name already exists in Elixir, that is not implemented. Also, the function that returns Enumerator in Ruby is customized each behavior on the characteristics. Defines all of here functions when `u...
28.508772
597
0.586797
919c29f7e7e1b4d18c28b5247899710a26c977fa
1,164
ex
Elixir
clients/workflows/lib/google_api/workflows/v1beta/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/workflows/lib/google_api/workflows/v1beta/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/workflows/lib/google_api/workflows/v1beta/connection.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...
35.272727
114
0.74055
919c325358d25377e008ae4a6771cd063af3e88a
1,636
ex
Elixir
lib/mix/tasks/validate_user_emails.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
lib/mix/tasks/validate_user_emails.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
lib/mix/tasks/validate_user_emails.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule Mix.Tasks.ValidateUserEmails do use Mix.Task require Logger import Ecto.Query, warn: false alias ChatApi.Repo @shortdoc "Validates user emails with debounce.io" @moduledoc """ This task checks for users that have not had their emails validated yet, and uses the debounce.io API to perform a v...
26.819672
79
0.691932
919ca6c6c770d63853c6e3d9f14a4083afaf23ea
1,550
ex
Elixir
test/support/data_case.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
test/support/data_case.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
test/support/data_case.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
defmodule BlogEngine.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done t...
27.678571
77
0.692258
919ca8ac779b489ddaf6ff4442683764431a1cb1
9,447
ex
Elixir
api/lib/responda_me/accounts.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
api/lib/responda_me/accounts.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
api/lib/responda_me/accounts.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
defmodule Responda.Me.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias Responda.Me.Repo alias Responda.Me.Accounts.{User, UserToken, UserNotifier} ## Database getters @doc """ Gets a user by email. ## Examples iex> get_user_by_email("foo@example.com"...
29.89557
116
0.662644
919caa7c3929ab40b1a4b22001875ada6c6054eb
16,399
exs
Elixir
test/ex_zipper/zipper/list_test.exs
mikowitz/ex_zipper
9ae652af30941ae6bab2b5f6d4f18e853c151280
[ "Unlicense" ]
5
2017-11-28T16:59:27.000Z
2021-05-24T00:39:39.000Z
test/ex_zipper/zipper/list_test.exs
mikowitz/ex_zipper
9ae652af30941ae6bab2b5f6d4f18e853c151280
[ "Unlicense" ]
null
null
null
test/ex_zipper/zipper/list_test.exs
mikowitz/ex_zipper
9ae652af30941ae6bab2b5f6d4f18e853c151280
[ "Unlicense" ]
1
2018-09-20T21:26:50.000Z
2018-09-20T21:26:50.000Z
defmodule ExZipper.Zipper.ListTest do use ExUnit.Case, async: true alias ExZipper.Zipper setup do list = [1, [], 2, [3, 4, [5, 6], [7]], 8] zipper = Zipper.zipper( &is_list/1, & &1, fn _node, children -> children end, list ) {:ok, %{list: list, zipper: zi...
30.595149
128
0.576742
919cc6551c0dbac6358009340af411a132552bb3
32,254
ex
Elixir
random_files_to_search/6309.ex
akulagrawal/File-Search-Engine
ccceb117e42d6cd908c95b3f139e04a6db502014
[ "MIT" ]
8
2019-12-27T23:27:19.000Z
2021-11-24T19:35:40.000Z
random_files_to_search/6309.ex
akulagrawal/File-Search-Engine
ccceb117e42d6cd908c95b3f139e04a6db502014
[ "MIT" ]
null
null
null
random_files_to_search/6309.ex
akulagrawal/File-Search-Engine
ccceb117e42d6cd908c95b3f139e04a6db502014
[ "MIT" ]
3
2020-04-27T18:07:27.000Z
2021-09-15T05:41:57.000Z
From: kakugawa@csl.hiroshima-u.ac.jp (Hirotsugu Kakugawa) Newsgroups: comp.sys.m6809 Subject: A Memo on the Secret Features of 6309 Date: 23 Feb 92 01:10:06 GMT Organization: Computer Systems Lab., Hiroshima Univ., Japan. Dear 6309 users I finished my exam and writing the memo on the seacret features of 6...
41.997396
75
0.429342
919cfdd97f571b6231efd5c7b7c81abe4c16a3a4
1,170
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.5
74
0.72735
919d2331a87b89fb9e15e339950b6ddbd3941076
1,943
exs
Elixir
mix.exs
fhunleth/scenic_driver_glfw
45eee4165f1d35fdf28d1d842c88160e44345e5f
[ "Apache-2.0" ]
null
null
null
mix.exs
fhunleth/scenic_driver_glfw
45eee4165f1d35fdf28d1d842c88160e44345e5f
[ "Apache-2.0" ]
null
null
null
mix.exs
fhunleth/scenic_driver_glfw
45eee4165f1d35fdf28d1d842c88160e44345e5f
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.Driver.Glfw.MixProject do use Mix.Project @github "https://github.com/boydm/scenic_driver_glfw" @version "0.9.0" def project do [ app: :scenic_driver_glfw, version: @version, build_path: "_build", config_path: "config/config.exs", deps_path: "deps", loc...
23.695122
65
0.531137
919d2bc91a5ed873e8ba7acd8567712ebac53769
55
ex
Elixir
web/views/page_view.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
3
2015-12-26T02:36:50.000Z
2016-05-19T16:29:57.000Z
web/views/page_view.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
web/views/page_view.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
defmodule Exagg.PageView do use Exagg.Web, :view end
13.75
27
0.763636
919d3c71b472c663056f4843c010c9c64e3865b2
18,289
ex
Elixir
lib/elixir/lib/uri.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/elixir/lib/uri.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/uri.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2018-04-18T11:25:33.000Z
2018-04-18T11:25:33.000Z
defmodule URI do @moduledoc """ Utilities for working with URIs. This module provides functions for working with URIs (for example, parsing URIs or encoding query strings). The functions in this module are implemented according to [RFC 3986](https://tools.ietf.org/html/rfc3986). """ defstruct scheme: ni...
29.546042
101
0.636229
919d97243eca9a4b84778e17b337f95d58812617
2,048
exs
Elixir
proficionym_api/config/prod.exs
appropont/proficionym-api-elixir
37519691e04176490154d7d8205c7bf1f90ff8b3
[ "Apache-2.0" ]
null
null
null
proficionym_api/config/prod.exs
appropont/proficionym-api-elixir
37519691e04176490154d7d8205c7bf1f90ff8b3
[ "Apache-2.0" ]
null
null
null
proficionym_api/config/prod.exs
appropont/proficionym-api-elixir
37519691e04176490154d7d8205c7bf1f90ff8b3
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.032258
68
0.72168
919da9efd9e324c323a26c43a836f518cd2bcf7b
1,964
exs
Elixir
test/unit/api/v2_fcm_test.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
test/unit/api/v2_fcm_test.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
test/unit/api/v2_fcm_test.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
defmodule MongoosePush.API.V2FCMTest do use ExUnit.Case, async: false alias MongoosePush.Support.API, as: Tools @url "/v2/notification/f534534543" setup do Tools.reset(:fcm) TestHelper.reload_app() end test "push to fcm with unregistered token fails" do reason = "UNREGISTERED" Tools.mock...
32.733333
97
0.683809
919de38fad23160a46306d589e60cca1b6a940cb
207
exs
Elixir
priv/repo/migrations/20170108031440_create_popular.exs
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
priv/repo/migrations/20170108031440_create_popular.exs
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
priv/repo/migrations/20170108031440_create_popular.exs
WillsonSmith/similarfilms_phoenix
2466a3796ace5e0a09d345da3c76d90cf7747c13
[ "MIT" ]
null
null
null
defmodule SimilarfilmsPhoenix.Repo.Migrations.CreatePopular do use Ecto.Migration def change do create table(:popular_movies) do add :movie_id, :integer timestamps() end end end
15.923077
62
0.714976
919dedfb65244acf58d0d288e28a033743c96985
253
ex
Elixir
server/lib/blogsley.ex
blogsley/blogsley-absinthe
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
3
2020-01-23T06:37:18.000Z
2020-12-05T08:31:00.000Z
server/lib/blogsley.ex
blogsley/blogsley-absinthe
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
16
2020-04-04T05:13:52.000Z
2022-03-31T11:19:20.000Z
server/lib/blogsley.ex
blogsley/blogsley
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
null
null
null
defmodule Blogsley do @moduledoc """ Blogsley 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
25.3
66
0.754941
919dff77f79d678415da3c899e2d8c7533a6d56a
663
exs
Elixir
mix.exs
zackehh/archive_bundle
09c311587331559a13e66f4e0c47534161cbcdc7
[ "MIT" ]
null
null
null
mix.exs
zackehh/archive_bundle
09c311587331559a13e66f4e0c47534161cbcdc7
[ "MIT" ]
null
null
null
mix.exs
zackehh/archive_bundle
09c311587331559a13e66f4e0c47534161cbcdc7
[ "MIT" ]
null
null
null
defmodule ArchiveBundle.Mixfile do use Mix.Project def project do [app: :archive_bundle, version: "1.0.0", elixir: "~> 1.2", deps: deps(), preferred_cli_env: ["archive.bundle": :prod]] end # Configuration for the OTP application # # Type "mix help compile.app" for more information ...
20.71875
77
0.618401
919e35ac2d1756a8202427fb2f997f67c04a96e2
4,280
ex
Elixir
lib/phoenix/live_dashboard/components/nav_bar_component.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
1
2020-11-04T16:18:16.000Z
2020-11-04T16:18:16.000Z
lib/phoenix/live_dashboard/components/nav_bar_component.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/components/nav_bar_component.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.NavBarComponent do use Phoenix.LiveDashboard.Web, :live_component @impl true def mount(socket) do {:ok, socket} end @impl true def update(assigns, socket) do %{page: page, items: items} = assigns current = current_item(page.params, items) {:ok, assign(socket...
27.973856
96
0.606075
919e505c7021498813dda47050b79cdb92dd27d0
1,791
exs
Elixir
code/basic/02-List-Filter-Benchmark.exs
kwchang0831/path-learning-elixir
ee53e9aa4e446252dd41dd06cc69a1ae9183885a
[ "MIT" ]
null
null
null
code/basic/02-List-Filter-Benchmark.exs
kwchang0831/path-learning-elixir
ee53e9aa4e446252dd41dd06cc69a1ae9183885a
[ "MIT" ]
null
null
null
code/basic/02-List-Filter-Benchmark.exs
kwchang0831/path-learning-elixir
ee53e9aa4e446252dd41dd06cc69a1ae9183885a
[ "MIT" ]
null
null
null
### # Dependencies: # https://hexdocs.pm/stream_data/StreamData.html # https://hexdocs.pm/benchee/readme.html ### # Benchmark different ways to Filter # Filter out even numbers from a list containing all integers # 1) Define different filter functions defmodule Benchmark.List.Comprehension do def filter(list) ...
22.111111
72
0.610832
919e600afc4e72497dcd7d5cb34d27091b37134f
3,062
ex
Elixir
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_export_documents_metadata.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_export_documents_metadata.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_export_documents_metadata.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...
42.527778
166
0.725996
919e775582dfc9da27059e785d21261b65cfb312
2,982
exs
Elixir
test/surface/components/form/number_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
test/surface/components/form/number_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
test/surface/components/form/number_input_test.exs
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.NumberInputTest do use Surface.ConnCase, async: true alias Surface.Components.Form.NumberInput test "empty input" do html = render_surface do ~F""" <NumberInput form="user" field="age" /> """ end assert html =~ """ <input ...
21.926471
115
0.537223
919e8e9962dda8d5aabd4b9784ef490ed82771ba
1,450
exs
Elixir
test/lib/util/httpc_test.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
test/lib/util/httpc_test.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
test/lib/util/httpc_test.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. defmodule Antikythera.HttpcTest do use Croma.TestCase use ExUnitProperties test "encode_path/1 should percent-encode ascii chars as in URI.encode/1" do assert Httpc.encode_path("") == "" Enum.each(0..127, fn c -> s = <<c>> asser...
34.52381
124
0.669655
919ea60e51fc88052afda32a622f3b577c64a221
1,878
exs
Elixir
clients/container/mix.exs
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/container/mix.exs
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/container/mix.exs
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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.029851
140
0.660277
919ef83a29640a060523e0fef9a589b5cd2961a8
997
ex
Elixir
lib/whistler_news_reader/feed_fetcher.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
8
2016-06-12T20:11:26.000Z
2017-05-02T04:36:41.000Z
lib/whistler_news_reader/feed_fetcher.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
2
2016-06-12T15:49:06.000Z
2016-06-12T20:00:02.000Z
lib/whistler_news_reader/feed_fetcher.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
null
null
null
defmodule WhistlerNewsReader.FeedFetcher do @moduledoc """ Fetch feed from url using HTTPoison """ require Logger @user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" @http_timeout_ms 1_000 def fetch(feed_url) do case ...
24.317073
135
0.653962
919ef8840d2ad1929ecf97ae30b19b0ec76224e0
2,374
exs
Elixir
config/prod.exs
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
1
2020-01-19T17:52:05.000Z
2020-01-19T17:52:05.000Z
config/prod.exs
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
null
null
null
config/prod.exs
chengyin/json-to-elixir
896cdc685aac7b0b0bdbdc730b5816f69b169bd5
[ "BSD-3-Clause" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # JSONToElixirWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. #...
34.405797
68
0.726622
919efe8b46da23cd952e16a7b6cd33cddbd4e700
4,126
exs
Elixir
test/scenic/primitive/path_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive/path_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive/path_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 2018-06-29. # Copyright © 2018 Kry10 Limited. All rights reserved. # defmodule Scenic.Primitive.PathTest do use ExUnit.Case, async: true doctest Scenic.Primitive.Path alias Scenic.Primitive alias Scenic.Primitive.Path @data [ {:move_to, 10, 20}, {:line_to, 30, 40},...
27.878378
81
0.516481
919f0cc0e08306962e376784c0ee5bcc35ebd6e2
2,563
exs
Elixir
test/phoenix/router/console_formatter_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
1
2019-04-24T09:28:15.000Z
2019-04-24T09:28:15.000Z
test/phoenix/router/console_formatter_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
null
null
null
test/phoenix/router/console_formatter_test.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
2
2020-08-02T04:00:17.000Z
2020-10-07T16:07:37.000Z
defmodule Phoenix.Router.ConsoleFormatterTest do use ExUnit.Case, async: true alias Phoenix.Router.ConsoleFormatter defmodule RouterTestSingleRoutes do use Phoenix.Router get "/", Phoenix.PageController, :index, as: :page post "/images", Phoenix.ImageController, :upload, as: :upload_image delete...
40.046875
98
0.678892
919f1277f3ca2ca09077f1275cf335b1326f496b
10,587
ex
Elixir
lib/central_web/router.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central_web/router.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central_web/router.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
defmodule CentralWeb.Router do use CentralWeb, :router pipeline :dev_auth do plug Bodyguard.Plug.Authorize, policy: Central.Dev, action: :dev_auth, user: {Central.Account.AuthLib, :current_user} end pipeline :logging_live_auth do plug Bodyguard.Plug.Authorize, policy: Central.L...
35.172757
95
0.712383
919f33af138d2ee40b110254d9bf482505fb8cb0
349
exs
Elixir
priv/test_repo/migrations/20170307185107_user_address.exs
nickolaich/formex_ecto
322907daa4924d1c297acc7f9e60f99bc8f2f6f3
[ "MIT" ]
20
2017-06-25T12:30:03.000Z
2021-04-25T06:43:31.000Z
priv/test_repo/migrations/20170307185107_user_address.exs
nickolaich/formex_ecto
322907daa4924d1c297acc7f9e60f99bc8f2f6f3
[ "MIT" ]
8
2017-11-19T17:15:32.000Z
2020-02-02T12:50:03.000Z
priv/test_repo/migrations/20170307185107_user_address.exs
nickolaich/formex_ecto
322907daa4924d1c297acc7f9e60f99bc8f2f6f3
[ "MIT" ]
9
2018-03-30T22:14:13.000Z
2021-11-15T12:12:56.000Z
defmodule App.Repo.Migrations.UserAddress do use Ecto.Migration def change do create table(:user_addresses) do add :city, :string add :postal_code, :string add :street, :string add :user_id, references(:users, on_delete: :nothing) timestamps() end create index(:user_addr...
20.529412
59
0.667622
919f366bd07acf0126516b0551cb8e1fe6e70a44
1,573
ex
Elixir
lib/single_product/accounts/user_notifier.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
lib/single_product/accounts/user_notifier.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
lib/single_product/accounts/user_notifier.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
defmodule SingleProduct.Accounts.UserNotifier 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 # defp deliver(to, body) do ...
21.256757
74
0.567705
919f40b006886bd8683e8025f4afde01f82dac5f
527
exs
Elixir
config/test.exs
hlmeS/distillery-aws
bfc59dd775d0ad9b2c4c19286138ebf57287daea
[ "Apache-2.0" ]
46
2018-08-06T23:18:46.000Z
2020-11-26T12:43:49.000Z
config/test.exs
hlmeS/distillery-aws
bfc59dd775d0ad9b2c4c19286138ebf57287daea
[ "Apache-2.0" ]
15
2018-08-23T08:29:48.000Z
2020-05-18T14:05:38.000Z
config/test.exs
hlmeS/distillery-aws
bfc59dd775d0ad9b2c4c19286138ebf57287daea
[ "Apache-2.0" ]
84
2018-08-27T11:56:59.000Z
2022-01-28T00:33:47.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :distillery_example, ExampleWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :distille...
26.35
56
0.751423
919f5ef30b740d4fe2751f665a23780c59606b39
2,272
ex
Elixir
test/support/pages/place_search.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/pages/place_search.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/pages/place_search.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Test.Pages.PlaceSearch do import Euclid.Test.Extra.Assertions import Phoenix.LiveViewTest alias Epicenter.Test alias EpicenterWeb.Test.Pages def visit(%Plug.Conn{} = conn, case_investigation), do: conn |> Pages.visit("/case-investigations/#{case_investigation.id}/place-search") ...
31.123288
89
0.700704
919f5f56b2134cf40b1496ebf80425fdcf05161f
1,009
ex
Elixir
lib/test/application.ex
dabaer/liveview-table-test
61d22fb964120aa4715cc0e9ef12f3d5c61718ea
[ "MIT" ]
null
null
null
lib/test/application.ex
dabaer/liveview-table-test
61d22fb964120aa4715cc0e9ef12f3d5c61718ea
[ "MIT" ]
null
null
null
lib/test/application.ex
dabaer/liveview-table-test
61d22fb964120aa4715cc0e9ef12f3d5c61718ea
[ "MIT" ]
null
null
null
defmodule Test.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Start the Ecto repository Test.Repo, # Start the Telemetry supervisor ...
27.27027
62
0.691774
919f7cfa7c674960a643079047b6b251fbfe8783
17,222
exs
Elixir
test/pow_assent/plug_test.exs
mitcheaton1/pow_assent
f3e9e6cc7dd16a3f2d9add885bd160d227abb713
[ "MIT" ]
193
2019-10-30T00:58:21.000Z
2022-03-09T20:26:37.000Z
test/pow_assent/plug_test.exs
mitcheaton1/pow_assent
f3e9e6cc7dd16a3f2d9add885bd160d227abb713
[ "MIT" ]
82
2019-10-29T20:19:38.000Z
2022-03-22T04:09:27.000Z
test/pow_assent/plug_test.exs
mitcheaton1/pow_assent
f3e9e6cc7dd16a3f2d9add885bd160d227abb713
[ "MIT" ]
28
2019-10-31T12:38:10.000Z
2021-11-01T18:05:23.000Z
defmodule PowAssent.PlugTest do use ExUnit.Case doctest PowAssent.Plug alias Plug.{Conn, ProcessStore, Session, Test} alias Pow.Plug.Session, as: PowSession alias PowAssent.{Plug, Store.SessionCache} alias PowAssent.Test.{Ecto.UserIdentities.UserIdentity, Ecto.Users.User, EtsCacheMock, RepoMock} import ...
37.43913
265
0.654047
919f7f14c28cd4c260f1f33bc129e0c4e06e54d4
1,357
exs
Elixir
implementations/elixir/ockam/ockam_hub/test/hub/service/echo_test.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1,912
2019-01-10T14:17:00.000Z
2022-03-30T19:16:44.000Z
implementations/elixir/ockam/ockam_hub/test/hub/service/echo_test.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1,473
2019-01-16T15:14:47.000Z
2022-03-31T23:44:50.000Z
implementations/elixir/ockam/ockam_hub/test/hub/service/echo_test.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
219
2019-01-11T03:35:13.000Z
2022-03-31T10:25:56.000Z
defmodule Test.Hub.Service.EchoTest do use ExUnit.Case alias Ockam.Hub.Service.Echo, as: EchoService alias Ockam.Router alias Test.Utils test "echo test" do {:ok, _worker, worker_address} = Test.Hub.Service.EchoTestWorker.start_link(address: "echo_test_address") {:ok, _echo, _echo_address} = ...
19.112676
81
0.659543
919f9ea426c0a738e97ffbff4c2bb8bb8cbb5377
2,291
ex
Elixir
lib/hologram/commons/memory_store.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
null
null
null
lib/hologram/commons/memory_store.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
null
null
null
lib/hologram/commons/memory_store.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
null
null
null
defmodule Hologram.Commons.MemoryStore do defmacro __using__(_opts) do quote do use GenServer alias Hologram.Utils @behaviour Hologram.Commons.MemoryStore def run do start_link(nil) end def start_link(_opts) do GenServer.start_link(__MODULE__, [], name: __MOD...
19.921739
68
0.532955
919fc833ee5054e90fa617a65f15112aac285858
1,109
ex
Elixir
lib/shelving/products/sku.ex
markglenn/shelving
d76a2df11186ace3fbca14e00a2b5010692b5ee0
[ "MIT" ]
null
null
null
lib/shelving/products/sku.ex
markglenn/shelving
d76a2df11186ace3fbca14e00a2b5010692b5ee0
[ "MIT" ]
null
null
null
lib/shelving/products/sku.ex
markglenn/shelving
d76a2df11186ace3fbca14e00a2b5010692b5ee0
[ "MIT" ]
null
null
null
defmodule Shelving.Products.Sku do use Ecto.Schema use Shelving.Types.ArchivedAt import Ecto.Query, only: [from: 2] import Ecto.Changeset alias Shelving.Types.Slug alias Shelving.Products.Item @type t :: %__MODULE__{ id: pos_integer(), manufacturer_sku: String.t(), slug: Sl...
25.790698
62
0.651939
919fd9250af7e9f5101cd8f917ddc06f41801605
270
ex
Elixir
episode-022/web/controllers/page_controller.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
84
2016-07-02T05:21:36.000Z
2021-02-12T22:45:45.000Z
episode-015/web/controllers/page_controller.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
3
2016-07-02T06:03:47.000Z
2017-06-03T14:11:06.000Z
episode-015/web/controllers/page_controller.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
6
2017-02-16T19:33:49.000Z
2019-04-05T19:27:17.000Z
defmodule ElmIsFun.PageController do use ElmIsFun.Web, :controller def index(conn, _params) do render conn, "index.html" end def create(conn, params) do {count, _} = Integer.parse(params["count"]) render conn, "create.json", hands: count end end
20.769231
47
0.688889
919feb52b643b638cfeaf0e9b25ad3e565376638
3,013
ex
Elixir
apps/gitrekt/lib/gitrekt/wire_protocol/service.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitrekt/lib/gitrekt/wire_protocol/service.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitrekt/lib/gitrekt/wire_protocol/service.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
defmodule GitRekt.WireProtocol.Service do @moduledoc """ Behaviour for implementing Git server-side commands. See `GitRekt.WireProtocol.UploadPack` and `GitRekt.WireProtocol.ReceivePack` for more details. """ alias GitRekt.Git import GitRekt.WireProtocol, only: [encode: 1, decode: 1] @doc """ Callba...
30.13
96
0.652838
91a0022a5a5b3d77e6e424f01d20b8272ce26d91
1,464
exs
Elixir
test/test_helper.exs
skirino/raft_kv
d2a7980dfd0327428a330a838a8a017b6cf53e19
[ "MIT" ]
10
2018-03-22T19:00:36.000Z
2021-08-17T08:24:47.000Z
test/test_helper.exs
skirino/raft_kv
d2a7980dfd0327428a330a838a8a017b6cf53e19
[ "MIT" ]
5
2018-05-23T15:11:45.000Z
2018-09-10T08:40:46.000Z
test/test_helper.exs
skirino/raft_kv
d2a7980dfd0327428a330a838a8a017b6cf53e19
[ "MIT" ]
null
null
null
ExUnit.start() case RaftFleet.activate("zone") do :ok -> :timer.sleep(100) {:error, :not_inactive} -> :ok end defmodule KVBase do defmacro __using__([keyspace_name: ks]) do quote bind_quoted: [ks: ks] do @ks ks alias RaftKV.ValuePerKey @behaviour ValuePerKey @imp...
20.914286
101
0.532104
91a026420c9352b73abeeff11ba6773f9c396236
623
ex
Elixir
src/dguweb/web/models/possible_link.ex
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
2
2016-08-09T16:46:52.000Z
2016-08-09T16:46:59.000Z
src/dguweb/web/models/possible_link.ex
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
48
2016-07-14T15:12:41.000Z
2016-09-27T16:19:54.000Z
src/dguweb/web/models/possible_link.ex
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
1
2021-04-10T21:23:44.000Z
2021-04-10T21:23:44.000Z
defmodule DGUWeb.PossibleLink do use DGUWeb.Web, :model alias DGUWeb.Repo schema "possible_links" do field :url, :string field :publisher_name, :string field :processed, :boolean, default: false timestamps() end def get_for_publisher(name) do Repo.all( from p in __MODULE__, ...
19.46875
56
0.634029
91a04ea4ab61b5dcd7e40eb7868211144ac84caf
1,030
exs
Elixir
mix.exs
bluzky/json_view
cf3d9034405af47f86f04aa81b6a11267434ec1b
[ "MIT" ]
21
2021-07-10T13:14:18.000Z
2022-01-28T10:42:46.000Z
mix.exs
bluzky/json_view
cf3d9034405af47f86f04aa81b6a11267434ec1b
[ "MIT" ]
null
null
null
mix.exs
bluzky/json_view
cf3d9034405af47f86f04aa81b6a11267434ec1b
[ "MIT" ]
null
null
null
defmodule JsonView.MixProject do use Mix.Project def project do [ app: :json_view, version: "0.2.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), docs: docs(), name: "JsonView", description: description(), source_url: "https://githu...
19.074074
66
0.56699
91a0542fbaa56838f30e327895d7c7c6ed498a1b
3,057
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/binding.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/binding.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/binding.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...
56.611111
1,058
0.728165
91a0af1dc358cad31aadd02a3d93ac663d0a440f
2,570
exs
Elixir
test/extatus/handler_test.exs
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
17
2017-03-01T07:19:46.000Z
2021-11-25T21:57:38.000Z
test/extatus/handler_test.exs
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
1
2018-04-02T11:09:28.000Z
2018-04-02T14:33:30.000Z
test/extatus/handler_test.exs
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
1
2021-12-14T20:49:02.000Z
2021-12-14T20:49:02.000Z
defmodule Extatus.HandlerTest do use ExUnit.Case, async: true defmodule TestProcess do use GenServer use Extatus.Process defstruct [:name, :module] alias __MODULE__, as: State def start_link(name) do GenServer.start_link(__MODULE__, %State{name: name, module: __MODULE__}) end d...
28.241758
78
0.667704
91a0bbde4be585a374040cee88cdcfdb09df278b
4,606
ex
Elixir
release/PPA/debian.ex/init.d.ex
rubo77/mouse-speed
59cfc8db49ac7170aeb3ec3500323baf950f1c64
[ "Unlicense" ]
31
2015-10-31T16:07:07.000Z
2021-07-29T18:48:08.000Z
release/PPA/debian.ex/init.d.ex
rubo77/mouse-speed
59cfc8db49ac7170aeb3ec3500323baf950f1c64
[ "Unlicense" ]
1
2018-10-19T16:40:19.000Z
2018-10-19T16:40:19.000Z
release/PPA/debian.ex/init.d.ex
rubo77/mouse-speed
59cfc8db49ac7170aeb3ec3500323baf950f1c64
[ "Unlicense" ]
10
2016-03-24T08:48:30.000Z
2018-11-10T02:44:04.000Z
#!/bin/sh ### BEGIN INIT INFO # Provides: mouse-speed # Required-Start: $local_fs $network $remote_fs $syslog # Required-Stop: $local_fs $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: <Enter a short description of the software> # Description: ...
27.580838
89
0.660443
91a0fe35cbefa78ce231dd883d5f0552641dd7c3
2,269
ex
Elixir
lib/eth_common_test/helpers.ex
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
lib/eth_common_test/helpers.ex
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
lib/eth_common_test/helpers.ex
poanetwork/blockchain
408287adeab1b7dbb7d55fd7398dd9320e37b30f
[ "MIT" ]
null
null
null
defmodule EthCommonTest.Helpers do @moduledoc """ Helper functions that will be generally available to test cases when they use `EthCommonTest`. """ require Integer @spec load_integer(String.t) :: integer() | nil def load_integer(""), do: 0 def load_integer("x" <> data), do: maybe_hex(data, :integer) ...
33.367647
104
0.686646
91a13e1dd6a8c84768ff0820d4d8ff7afcabb756
400
ex
Elixir
lib/webhook_bot.ex
thomasbrus/webhook-bot
db10b51823e7ad1b48d10bf934cc33c2d740855e
[ "MIT" ]
null
null
null
lib/webhook_bot.ex
thomasbrus/webhook-bot
db10b51823e7ad1b48d10bf934cc33c2d740855e
[ "MIT" ]
null
null
null
lib/webhook_bot.ex
thomasbrus/webhook-bot
db10b51823e7ad1b48d10bf934cc33c2d740855e
[ "MIT" ]
null
null
null
defmodule WebhookBot do require Logger def call_endpoint do Logger.info("Calling webhook endpoint #{endpoint_url()}") HTTPoison.post!(endpoint_url(), "ok", [{"X-Webhook-Bot-Token", secret_token()}]) :ok end def endpoint_url do Application.fetch_env!(:webhook_bot, :endpoint_url) end def se...
22.222222
84
0.7125