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
dab16b53e4ee86fcaaf78f164e3dad8c0a3f5e6f
423
exs
Elixir
nebulex_bench/config/config.exs
cabol/nebulex_examples
21bd2673eecfc0b5c7a2807a3a47488d99a7d725
[ "MIT" ]
25
2017-07-30T01:27:54.000Z
2021-12-10T16:41:03.000Z
nebulex_bench/config/config.exs
cabol/nebulex_examples
21bd2673eecfc0b5c7a2807a3a47488d99a7d725
[ "MIT" ]
2
2019-11-12T09:41:26.000Z
2021-11-08T13:51:24.000Z
nebulex_bench/config/config.exs
cabol/nebulex_examples
21bd2673eecfc0b5c7a2807a3a47488d99a7d725
[ "MIT" ]
1
2019-01-08T19:06:54.000Z
2019-01-08T19:06:54.000Z
import Config config :nebulex_bench, nodes: [:"node1@127.0.0.1", :"node2@127.0.0.1", :"node3@127.0.0.1"] config :nebulex_bench, NebulexBench.LocalCache, gc_interval: :timer.seconds(86_400), backend: :shards config :nebulex_bench, NebulexBench.PartitionedCache, primary: [ gc_interval: 3_600_000, backe...
24.882353
85
0.742317
dab1a43cf7310817d859d8194f13f8fb7700b52f
624
ex
Elixir
lib/csvto.ex
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
5
2016-12-27T03:49:49.000Z
2019-09-20T12:05:33.000Z
lib/csvto.ex
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
null
null
null
lib/csvto.ex
secretworry/csvto
f7924115505e69367e04f12374f594c770e05b1f
[ "MIT" ]
null
null
null
defmodule Csvto do @moduledoc """ Behaviour for converting csv to & from a file A Csvto is a collection of csv schemas, which is used to map data from csv file into Elixir maps By default we provide `Csvto.Builder` to help with building a Csvto, see more details in `Csvto.Builder` """ @type from_result_t...
34.666667
106
0.695513
dab1a61f8130664130384e185b4525597551576c
359
exs
Elixir
test/afk/keymap_test.exs
wevtimoteo/afk
a78457e59655c6999905ddb8d59a54e7d781c170
[ "MIT" ]
null
null
null
test/afk/keymap_test.exs
wevtimoteo/afk
a78457e59655c6999905ddb8d59a54e7d781c170
[ "MIT" ]
null
null
null
test/afk/keymap_test.exs
wevtimoteo/afk
a78457e59655c6999905ddb8d59a54e7d781c170
[ "MIT" ]
1
2020-01-06T13:52:14.000Z
2020-01-06T13:52:14.000Z
defmodule AFK.KeymapTest do use ExUnit.Case alias AFK.Keycode.Key alias AFK.Keymap test "saves a keymap to a file and then loads it back" do keymap = [%{k001: Key.new(:a)}] assert :ok = Keymap.save_to_file!(keymap, "test_keymap.etf") assert ^keymap = Keymap.load_from_file!("test_keymap.etf") ...
22.4375
64
0.688022
dab1a85f8e1769b88b97d8ac2095c7a9dd0703cc
17,024
ex
Elixir
lib/teslamate/log.ex
spacecosmos/teslamate
f5399dc949de87a2dcd7798b484e322516afd79c
[ "MIT" ]
null
null
null
lib/teslamate/log.ex
spacecosmos/teslamate
f5399dc949de87a2dcd7798b484e322516afd79c
[ "MIT" ]
null
null
null
lib/teslamate/log.ex
spacecosmos/teslamate
f5399dc949de87a2dcd7798b484e322516afd79c
[ "MIT" ]
null
null
null
defmodule TeslaMate.Log do @moduledoc """ The Log context. """ require Logger import TeslaMate.CustomExpressions import Ecto.Query, warn: false alias __MODULE__.{Car, Drive, Update, ChargingProcess, Charge, Position, State} alias TeslaMate.{Repo, Locations, Terrain, Settings} alias TeslaMate.Locati...
28.805415
97
0.577831
dab1cecc4cfa0dac9b14f5771f4a713dd567bb36
2,286
ex
Elixir
clients/file/lib/google_api/file/v1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/file/lib/google_api/file/v1/model/status.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...
43.132075
427
0.718285
dab203f14dd3b7fd85a5f4bd6d07af308418d350
2,406
ex
Elixir
clients/container/lib/google_api/container/v1/model/cancel_operation_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container/lib/google_api/container/v1/model/cancel_operation_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container/lib/google_api/container/v1/model/cancel_operation_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.964286
260
0.720283
dab249edf8b4fbf04ca487eee8bf7011e20d8683
133
ex
Elixir
lib/akeneo_api/connection/state.ex
bucha/elixir_akeneo_api
54ca1b29d49afed663b91c7985bb539e628b90eb
[ "MIT" ]
null
null
null
lib/akeneo_api/connection/state.ex
bucha/elixir_akeneo_api
54ca1b29d49afed663b91c7985bb539e628b90eb
[ "MIT" ]
null
null
null
lib/akeneo_api/connection/state.ex
bucha/elixir_akeneo_api
54ca1b29d49afed663b91c7985bb539e628b90eb
[ "MIT" ]
null
null
null
defmodule AkeneoApi.Connection.State do defstruct [ :client_id, :secret, :host, :client ] end
16.625
39
0.541353
dab27eb8b4677a589295ed2676d64afdf5e89d84
6,890
ex
Elixir
lib/eth/query.ex
virkillz/eth
c2c6087c6b651cf840c54c3632eaf2e5f8528837
[ "MIT" ]
null
null
null
lib/eth/query.ex
virkillz/eth
c2c6087c6b651cf840c54c3632eaf2e5f8528837
[ "MIT" ]
null
null
null
lib/eth/query.ex
virkillz/eth
c2c6087c6b651cf840c54c3632eaf2e5f8528837
[ "MIT" ]
null
null
null
defmodule ETH.Query do import ETH.Utils alias Ethereumex.HttpClient def block_number do case HttpClient.eth_block_number() do {:ok, hex_block_number} -> {:ok, convert_to_number(hex_block_number)} error -> error end end def block_number! do {:ok, hex_block_number} = HttpClient.eth_blo...
27.56
95
0.650798
dab2c1fa74107f783babd419554a2910972065d1
5,102
ex
Elixir
lib/thousand_island/transport.ex
davydog187/thousand_island
9489d4b3481c87a3d6f501c047d6418b164fdd00
[ "MIT" ]
139
2019-11-29T02:11:40.000Z
2022-03-24T00:17:52.000Z
lib/thousand_island/transport.ex
davydog187/thousand_island
9489d4b3481c87a3d6f501c047d6418b164fdd00
[ "MIT" ]
11
2020-01-23T15:43:58.000Z
2022-02-15T10:16:37.000Z
lib/thousand_island/transport.ex
davydog187/thousand_island
9489d4b3481c87a3d6f501c047d6418b164fdd00
[ "MIT" ]
8
2021-10-09T16:36:35.000Z
2022-01-31T20:39:10.000Z
defmodule ThousandIsland.Transport do @moduledoc """ This module describes the behaviour required for Thousand Island to interact with low-level sockets. It is largely internal to Thousand Island, however users are free to implement their own versions of this behaviour backed by whatever underlying transport...
36.184397
93
0.676989
dab31d3ee03b1cf3129f39f49ebe74349cf5b8a5
701
ex
Elixir
lib/mailjex/template.ex
dwarner/mailjex
d611f2e2d70b4e6567b22dd3ef19b792dcbf2d79
[ "MIT" ]
8
2017-10-10T15:51:33.000Z
2021-08-18T01:06:49.000Z
lib/mailjex/template.ex
dwarner/mailjex
d611f2e2d70b4e6567b22dd3ef19b792dcbf2d79
[ "MIT" ]
5
2018-05-23T15:03:15.000Z
2019-11-17T16:30:18.000Z
lib/mailjex/template.ex
dwarner/mailjex
d611f2e2d70b4e6567b22dd3ef19b792dcbf2d79
[ "MIT" ]
4
2018-11-16T15:45:22.000Z
2019-11-16T16:19:48.000Z
defmodule Mailjex.Template do @moduledoc """ Retrieve useful information about templates stored in your MailJet account. """ use GenServer alias Mailjex.Api.Template @behaviour Mailjex.Behaviour.Template @doc false def start_link do initial_state = %{} GenServer.start_link(__MODULE__, initial...
21.90625
71
0.586305
dab327ef6aaf9d2ce6f2cda26e91ba7f3ed86d59
2,161
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/device_claim.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/device_claim.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/device_claim.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
39.290909
256
0.745951
dab3a7020861efebbc294eca8070b3ca313d0c12
1,141
exs
Elixir
config/config.exs
terminalstatic/nif_xsd_validate
35114260f277e31d01d61b4c623c73131f61fc2d
[ "MIT" ]
9
2018-05-20T02:12:20.000Z
2019-08-27T15:40:26.000Z
config/config.exs
terminalstatic/nif_xsd_validate
35114260f277e31d01d61b4c623c73131f61fc2d
[ "MIT" ]
null
null
null
config/config.exs
terminalstatic/nif_xsd_validate
35114260f277e31d01d61b4c623c73131f61fc2d
[ "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...
36.806452
73
0.755478
dab3ab631216e34a06588262d9b7151584ff4c15
1,167
ex
Elixir
lib/redex/command/lpush.ex
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
173
2019-03-15T15:05:11.000Z
2022-01-10T08:21:48.000Z
lib/redex/command/lpush.ex
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
null
null
null
lib/redex/command/lpush.ex
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
9
2019-07-28T01:20:43.000Z
2021-08-18T03:41:44.000Z
defmodule Redex.Command.LPUSH do use Redex.Command def exec([key | values], state = %State{quorum: quorum, db: db}) when values != [] do if readonly?(quorum) do {:error, "READONLY You can't write against a read only replica."} else now = System.os_time(:millisecond) {:atomic, result} = ...
29.923077
91
0.533847
dab4039962dfe069b29b05918568c88e7da1be32
1,467
ex
Elixir
lib/knock/resources/users.ex
aglassman/knock-elixir
2bd813f2e34d635dbd2634d6b0961dadeff02f8d
[ "MIT" ]
null
null
null
lib/knock/resources/users.ex
aglassman/knock-elixir
2bd813f2e34d635dbd2634d6b0961dadeff02f8d
[ "MIT" ]
null
null
null
lib/knock/resources/users.ex
aglassman/knock-elixir
2bd813f2e34d635dbd2634d6b0961dadeff02f8d
[ "MIT" ]
null
null
null
defmodule Knock.Users do @moduledoc """ Knock resources for accessing users """ alias Knock.Api alias Knock.Client @doc """ Returns information about the user from the `user_id` given. """ @spec get_user(Client.t(), String.t()) :: Api.response() def get_user(client, user_id) do Api.get(client, ...
29.938776
90
0.66803
dab413d10343681a01a1dc49e54b58c3f7e4a2cf
1,503
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_deploy_processor_version_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_deploy_processor_version_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_uiv1beta3_deploy_processor_version_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.673469
108
0.779108
dab41ffe1e6622680060967930f062fb8173459f
211
exs
Elixir
apps/movielist/priv/repo/migrations/20210925160017_add_streamer_to_movies.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/movielist/priv/repo/migrations/20210925160017_add_streamer_to_movies.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/movielist/priv/repo/migrations/20210925160017_add_streamer_to_movies.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Movielist.Repo.Migrations.AddStreamerToMovies do use Ecto.Migration def change do alter table(:movies) do add :streamer_id, references(:streamers, on_delete: :nothing) end end end
21.1
67
0.739336
dab428d743b144945eafb1d20a6fd7299d45e1ef
89
ex
Elixir
elixir/elixir-elm-playground/lib/playground_web/views/coherence/layout_view.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
1
2018-12-11T14:09:14.000Z
2018-12-11T14:09:14.000Z
elixir/elixir-elm-playground/lib/playground_web/views/coherence/layout_view.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
null
null
null
elixir/elixir-elm-playground/lib/playground_web/views/coherence/layout_view.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
null
null
null
defmodule PlaygroundWeb.Coherence.LayoutView do use PlaygroundWeb.Coherence, :view end
22.25
47
0.842697
dab442bce4018b1e93c59f23e8affe95413962cd
4,260
ex
Elixir
lib/bpxe/engine/flow_handler/stepper.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
lib/bpxe/engine/flow_handler/stepper.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
lib/bpxe/engine/flow_handler/stepper.ex
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
defmodule BPXE.Engine.FlowHandler.Stepper do alias BPXE.Engine.FlowHandler @behaviour FlowHandler defstruct pid: nil use ExConstructor use GenServer def new(options \\ []) do result = super(options) GenServer.start_link(__MODULE__, nil) |> Result.map(fn pid -> %{result | pid: pid} end) end...
26.134969
98
0.570657
dab46c19bb39b3c7cf3263e3b3eccec673a61e91
1,119
exs
Elixir
hitb_umbrella/apps/repos/config/config.exs
wang12580/hitb
b004aad92660541bcbae5a2af933f48fa6b14cd7
[ "MIT" ]
1
2020-09-08T10:59:14.000Z
2020-09-08T10:59:14.000Z
hitb_umbrella/apps/repos/config/config.exs
wang12580/hitb
b004aad92660541bcbae5a2af933f48fa6b14cd7
[ "MIT" ]
null
null
null
hitb_umbrella/apps/repos/config/config.exs
wang12580/hitb
b004aad92660541bcbae5a2af933f48fa6b14cd7
[ "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...
36.096774
73
0.75067
dab4cbf270dde198d01ee11a80aec5f82fc6867a
4,359
ex
Elixir
lib/infinity_one/flex_bar/ftab.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
lib/infinity_one/flex_bar/ftab.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
lib/infinity_one/flex_bar/ftab.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOne.TabBar.Ftab do alias InfinityOne.TabBar require Logger @type id :: String.t @doc """ Check if any tab is open. ## Examples iex> InfinityOne.TabBar.Ftab.open? 1, 1 iex> false iex> InfinityOne.TabBar.open_ftab 1, 1, "test", nil iex> InfinityOne.TabBar.Ftab....
24.908571
86
0.588208
dab4dc8258c538d637799d98a6a80480e825b1a3
55
ex
Elixir
apps/ins_web/lib/ins_web/views/session_view.ex
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
apps/ins_web/lib/ins_web/views/session_view.ex
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
apps/ins_web/lib/ins_web/views/session_view.ex
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
defmodule InsWeb.SessionView do use InsWeb, :view end
18.333333
31
0.8
dab4e44d0840b302c8436c053c080b8b332f2b9c
383
ex
Elixir
set/lib/set.ex
marktfrey/set-elixir
a6867ba6693971a6ea5e0b46f7d601b062e9866e
[ "MIT" ]
null
null
null
set/lib/set.ex
marktfrey/set-elixir
a6867ba6693971a6ea5e0b46f7d601b062e9866e
[ "MIT" ]
null
null
null
set/lib/set.ex
marktfrey/set-elixir
a6867ba6693971a6ea5e0b46f7d601b062e9866e
[ "MIT" ]
null
null
null
defmodule Card do def create(num, color, fill, shape) do %{num: num, color: color, fill: fill, shape: shape} end end defmodule Deck do def create do for num <- [1, 2, 3], color <- ['red', 'green', 'purple'], fill <- ['solid', 'striped', 'empty'], shape <- ['oval', 'diamond', 'swi...
23.9375
55
0.563969
dab4fd4150341c7f7cf0426b0db3cd874eec18e1
1,634
exs
Elixir
test/lib/util/nested_map_test.exs
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
test/lib/util/nested_map_test.exs
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
test/lib/util/nested_map_test.exs
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. defmodule Antikythera.NestedMapTest do use Croma.TestCase, alias_as: M test "deep_merge/2" do assert M.deep_merge(%{}, %{}) == %{} assert M.deep_merge(%{a: 10}, %{b: 5}) == %{a: 10, b: 5} assert M.deep_merge(%{a: 10}, %{a: %{b: 3}}) == %{a...
34.041667
95
0.473684
dab5204951b6e73f6b72ebd9da302e05d7f52933
1,113
exs
Elixir
config/config.exs
cheerfulstoic/vapor
326a9e8fe0bba706b9726e136b4a51726f9d99f7
[ "Apache-2.0" ]
533
2018-05-27T17:54:58.000Z
2021-09-26T12:21:20.000Z
config/config.exs
cheerfulstoic/vapor
326a9e8fe0bba706b9726e136b4a51726f9d99f7
[ "Apache-2.0" ]
68
2018-05-28T14:26:52.000Z
2021-09-11T23:11:34.000Z
config/config.exs
cheerfulstoic/vapor
326a9e8fe0bba706b9726e136b4a51726f9d99f7
[ "Apache-2.0" ]
37
2018-06-22T00:08:38.000Z
2021-10-06T17:14:19.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.903226
73
0.754717
dab52a28fd05787689b7cda428e52bbaba33ff21
1,297
ex
Elixir
web/views/shared_view.ex
allen-garvey/artour
fce27b234d11a3e434c897b5fa3178b7c126245f
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/artour/web/views/shared_view.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/artour/web/views/shared_view.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Artour.SharedView do use Artour.Web, :view @doc """ Naive implementation of function to pluralize string """ def naive_pluralize(singular) do if String.ends_with? singular, "y" do String.replace_trailing(singular, "y", "ies") else singular <> "s" end end @doc """ Used to generate ...
25.431373
105
0.69468
dab5702736f0218ce31b34c89e3882f2521495ba
2,191
ex
Elixir
clients/content/lib/google_api/content/v2/model/account_adwords_link.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/account_adwords_link.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/account_adwords_link.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
42.960784
712
0.753537
dab571fdbef774a3212aab5d7f5d5b5bcabbc8fc
3,982
exs
Elixir
test/tracer_integration/plug/router_with_error_handler_test.exs
prosapient/spandex_phoenix
487a635f3334e9aa0a4c86c7abc656ac00a6acc8
[ "MIT" ]
69
2018-09-14T18:17:50.000Z
2022-01-11T01:20:55.000Z
test/tracer_integration/plug/router_with_error_handler_test.exs
prosapient/spandex_phoenix
487a635f3334e9aa0a4c86c7abc656ac00a6acc8
[ "MIT" ]
49
2018-10-11T02:47:58.000Z
2022-03-17T09:10:07.000Z
test/tracer_integration/plug/router_with_error_handler_test.exs
prosapient/spandex_phoenix
487a635f3334e9aa0a4c86c7abc656ac00a6acc8
[ "MIT" ]
27
2018-09-19T14:14:06.000Z
2022-03-07T21:16:33.000Z
defmodule TracerWithPlugRouterAndErrorHandlerTest do use ExUnit.Case import ExUnit.CaptureLog import RouterHelper defmodule Router do use Plug.Router use Plug.ErrorHandler use SpandexPhoenix require Logger plug(:match) plug(:dispatch) get "/hello" do send_resp(conn, 200, "w...
26.724832
96
0.574837
dab5734939c49d11d666f3826992e7fdb9d59358
498
ex
Elixir
lib/ex_onixo/parser/product/publishing_detail/sales_right/countries_excluded.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
1
2021-12-11T06:44:18.000Z
2021-12-11T06:44:18.000Z
lib/ex_onixo/parser/product/publishing_detail/sales_right/countries_excluded.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
lib/ex_onixo/parser/product/publishing_detail/sales_right/countries_excluded.ex
damjack/ex_onixo
5b1f97bc65867dcf1710540264094d147722ee11
[ "MIT" ]
null
null
null
defmodule ExOnixo.Parser.Product.PublishingDetail.SalesRight.CountriesExcluded do import SweetXml alias ExOnixo.Helper.ElementYml def parse_recursive(xml) do SweetXml.xpath(xml, ~x"./CountriesExcluded"l) |> Enum.map(fn countries_excluded -> %{ code: ElementYml.get_tag(countries_excluded...
26.210526
81
0.678715
dab65d66f99dc9e90e5265ca950348f7d01dc0cf
2,027
ex
Elixir
lib/hl7/2.2/segments/om1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.2/segments/om1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.2/segments/om1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_2.Segments.OM1 do @moduledoc false require Logger alias HL7.V2_2.{DataTypes} use HL7.Segment, fields: [ segment: nil, segment_type_id: nil, sequence_number_test_observation_master_file: nil, producers_test_observation_id: DataTypes.Ce, permitted_data_types: n...
37.537037
73
0.758263
dab66622b0e5fe3174fd8d01c8ab9afe68619ee3
1,605
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/alerts.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/alerts.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_sense/lib/google_api/ad_sense/v14/model/alerts.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.1
130
0.715265
dab67d4052f95eaef099e7af094febfe73b15084
876
ex
Elixir
test/fixtures/mnesia/test_database.ex
noizu/mnesia_versioning
876860c51eeec464cd65cca265e50ff0fe2326db
[ "MIT" ]
1
2020-12-22T22:51:38.000Z
2020-12-22T22:51:38.000Z
test/fixtures/mnesia/test_database.ex
noizu/mnesia_versioning
876860c51eeec464cd65cca265e50ff0fe2326db
[ "MIT" ]
null
null
null
test/fixtures/mnesia/test_database.ex
noizu/mnesia_versioning
876860c51eeec464cd65cca265e50ff0fe2326db
[ "MIT" ]
1
2018-03-05T12:02:05.000Z
2018-03-05T12:02:05.000Z
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- use Amnesia defdatabase Noizu.MnesiaVersioning.TestDatabase do @moduledoc...
32.444444
85
0.567352
dab68b11b8da4ddfb40b0e3da9b4a1e2fccd7fd7
11,606
exs
Elixir
lib/mix/test/mix/rebar_test.exs
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/mix/test/mix/rebar_test.exs
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/rebar_test.exs
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Mix.RebarTest do use MixTest.Case # rebar_dep and git_rebar are loaded dynamically @compile {:no_warn_undefined, [:rebar_dep, :git_rebar]} defmodule RebarAsDep do def project do [ app: :rebar_as_dep, version: "0.1.0", ...
33.64058
97
0.594175
dab6a2524f60be5c95fd2f6a70b3ac0c96a7a44b
531
exs
Elixir
code/tooling/buggy/test/buggy_test.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/tooling/buggy/test/buggy_test.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/tooling/buggy/test/buggy_test.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
31.235294
85
0.736347
dab6c36fe3defc09dcc534352850d76ddaac9476
712
ex
Elixir
lib/todo_api_web/gettext.ex
Thrasolt/todo-api
2ad53cbb68c1429fa248cc13da456225cd241602
[ "Unlicense" ]
1
2020-11-12T08:26:51.000Z
2020-11-12T08:26:51.000Z
lib/todo_api_web/gettext.ex
westrik/todo-ex
6ab0c61b91d3e76239e77e988e51aa0b06f30408
[ "MIT" ]
2
2021-03-09T14:57:40.000Z
2021-05-10T08:05:24.000Z
lib/todo_api_web/gettext.ex
westrik/todo-ex
6ab0c61b91d3e76239e77e988e51aa0b06f30408
[ "MIT" ]
null
null
null
defmodule TodoApiWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import TodoApiWeb.Gettext # Simple translation gettext("Here is t...
28.48
72
0.678371
dab6ee24a04f8c1d32ed9c234acb25d12ad11efc
1,285
ex
Elixir
lib/sbroker_playground/regulator.ex
salemove/sbroker_playground
7f05ecaaa9e49c241c61f3469586a7b83c5df7bf
[ "MIT" ]
null
null
null
lib/sbroker_playground/regulator.ex
salemove/sbroker_playground
7f05ecaaa9e49c241c61f3469586a7b83c5df7bf
[ "MIT" ]
null
null
null
lib/sbroker_playground/regulator.ex
salemove/sbroker_playground
7f05ecaaa9e49c241c61f3469586a7b83c5df7bf
[ "MIT" ]
null
null
null
defmodule SbrokerPlayground.Regulator do @moduledoc false @behaviour :sregulator def start_link(config) do queue_spec = Keyword.fetch!(config, :queue) valve_spec = Keyword.fetch!(config, :valve) meters_spec = if protector_opts = config[:protector] do [{:sprotector_pie_meter, Map.new(p...
21.416667
81
0.617121
dab71e618e113357022c65f48b97225594f2f133
2,550
exs
Elixir
test/honeybee/scope_test.exs
apiologist/honeybee
758bf616e96fdf8a10d2b4ec995b3b7db346381b
[ "MIT" ]
5
2019-05-14T06:56:48.000Z
2020-09-30T16:30:14.000Z
test/honeybee/scope_test.exs
apiologist/honeybee
758bf616e96fdf8a10d2b4ec995b3b7db346381b
[ "MIT" ]
null
null
null
test/honeybee/scope_test.exs
apiologist/honeybee
758bf616e96fdf8a10d2b4ec995b3b7db346381b
[ "MIT" ]
null
null
null
defmodule Honeybee.Test.Scope do use ExUnit.Case, async: true defmodule Router do use Honeybee defmodule Routes do use Honeybee.Handler import Plug.Conn def ok(conn, _opts), do: resp(conn, 200, "OK") def test3(conn, _opts), do: resp(conn, 200, "TEST3") end def test_global...
27.12766
93
0.598824
dab721d25286d2dc0e89e6b351dd6e69d7c30342
2,361
ex
Elixir
braccino_ui/lib/braccino_ui_web.ex
darcros/braccino
33f4d945daf8eac36e4e88ef412dd53cb1389376
[ "MIT" ]
null
null
null
braccino_ui/lib/braccino_ui_web.ex
darcros/braccino
33f4d945daf8eac36e4e88ef412dd53cb1389376
[ "MIT" ]
null
null
null
braccino_ui/lib/braccino_ui_web.ex
darcros/braccino
33f4d945daf8eac36e4e88ef412dd53cb1389376
[ "MIT" ]
null
null
null
defmodule BraccinoUiWeb 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 BraccinoUiWeb, :controller use BraccinoUiWeb, :view The definitions below will be executed for every view, con...
22.92233
78
0.687421
dab72abcf2f799df8f6f9ac8dd114c33ee64fdd0
10,776
ex
Elixir
lib/opentelemetry_oban.ex
qdentity/opentelemetry_oban
99b57f76f41e29bbe0d4f52d455e37e949124c1e
[ "Apache-2.0" ]
1
2021-08-30T12:32:11.000Z
2021-08-30T12:32:11.000Z
lib/opentelemetry_oban.ex
qdentity/opentelemetry_oban
99b57f76f41e29bbe0d4f52d455e37e949124c1e
[ "Apache-2.0" ]
1
2021-08-05T22:02:49.000Z
2021-08-05T22:03:07.000Z
lib/opentelemetry_oban.ex
qdentity/opentelemetry_oban
99b57f76f41e29bbe0d4f52d455e37e949124c1e
[ "Apache-2.0" ]
1
2021-09-17T13:34:43.000Z
2021-09-17T13:34:43.000Z
defmodule OpentelemetryOban do @moduledoc """ OpentelemetryOban uses [telemetry](https://hexdocs.pm/telemetry/) handlers to create `OpenTelemetry` spans for Oban events. The Oban telemetry events that are used are documented [here](https://hexdocs.pm/oban/Oban.Telemetry.html). ## Usage Add in your applicati...
31.508772
148
0.644024
dab72ea0d4e5af6d00f1d8a6448af6a9efd0dfcc
5,390
ex
Elixir
lib/assent/strategy.ex
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
null
null
null
lib/assent/strategy.ex
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
null
null
null
lib/assent/strategy.ex
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
null
null
null
defmodule Assent.Strategy do @moduledoc """ Used for creating strategies. ## Usage Set up `my_strategy.ex` the following way: defmodule MyStrategy do @behaviour Assent.Strategy alias Assent.Strategy, as: Helpers def authorize_url(config) do # Generate redirect URL ...
32.083333
144
0.617069
dab73227912c72d43c085319f89bc52048b8c184
1,938
exs
Elixir
config/prod.exs
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
487
2020-06-08T03:04:21.000Z
2022-03-31T14:51:36.000Z
config/prod.exs
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
141
2020-06-11T01:03:29.000Z
2022-03-30T20:23:32.000Z
config/prod.exs
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
61
2020-06-10T05:25:03.000Z
2022-03-23T15:54:26.000Z
use Mix.Config # Definition environment config :policr_mini, :environment, :prod # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static f...
35.236364
66
0.716202
dab74a319bf01038ead8954c4eff5f3e7a280a4a
659
exs
Elixir
test/absinthe/integration/execution/input_types/null/literal_to_element_of_type_list_of_T_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/input_types/null/literal_to_element_of_type_list_of_T_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/input_types/null/literal_to_element_of_type_list_of_T_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Elixir.Absinthe.Integration.Execution.InputTypes.Null.LiteralToElementOfTypeListOf_TTest do use ExUnit.Case, async: true @query """ query { nullableList(input: [null, 1]) { length content nonNullCount nullCount } } """ test "scenario #1" do assert {:ok, ...
22.724138
101
0.47648
dab7711327474de9bdeeb074ea70d657b6d13b35
36,040
exs
Elixir
lib/elixir/test/elixir/kernel_test.exs
vgsantoniazzi/elixir
b792ae50c3a61ff8b56c27b3ba63fc20ff151c77
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel_test.exs
vgsantoniazzi/elixir
b792ae50c3a61ff8b56c27b3ba63fc20ff151c77
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel_test.exs
vgsantoniazzi/elixir
b792ae50c3a61ff8b56c27b3ba63fc20ff151c77
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule KernelTest do use ExUnit.Case, async: true doctest Kernel def id(arg), do: arg def id(arg1, arg2), do: {arg1, arg2} def empty_list(), do: [] def empty_map, do: %{} defp purge(module) do :code.delete(module) :code.purge(module) end de...
28.090413
122
0.550139
dab77cc5fcf33c3a0e44c6b5a9045b8df491160d
1,911
exs
Elixir
apps/service_profile/test/profile/feed_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/service_profile/test/profile/feed_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/service_profile/test/profile/feed_test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Profile.FeedTest do use ExUnit.Case describe "determine_reducers/1" do test "should init a temporal reducer for a timestamp field" do dictionary = Dictionary.from_list([ Dictionary.Type.String.new!(name: "name"), Dictionary.Type.Map.new!( name: "map1", ...
29.859375
96
0.542648
dab783b755c0264304a117e4f0c73c7c3f9bc4bc
74
exs
Elixir
test/fexr_web/views/page_view_test.exs
Schultzer/fexr
f64d67b78bc785ae967f4c1193491a1d9cf33279
[ "MIT", "Unlicense" ]
4
2017-08-13T09:03:24.000Z
2018-06-19T06:32:07.000Z
test/fexr_web/views/page_view_test.exs
Schultzer/fexr
f64d67b78bc785ae967f4c1193491a1d9cf33279
[ "MIT", "Unlicense" ]
null
null
null
test/fexr_web/views/page_view_test.exs
Schultzer/fexr
f64d67b78bc785ae967f4c1193491a1d9cf33279
[ "MIT", "Unlicense" ]
null
null
null
defmodule FexrWeb.PageViewTest do use FexrWeb.ConnCase, async: true end
18.5
35
0.810811
dab7854823710e16bea2fb9334c04775f351f6fc
775
ex
Elixir
src/lib/changelog_web/views/home_view.ex
thenets/docker-chocoquest
856fa5ff41a5831ed67b1ef865cd8951df5af023
[ "MIT" ]
1
2018-01-22T20:07:10.000Z
2018-01-22T20:07:10.000Z
lib/changelog_web/views/home_view.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
lib/changelog_web/views/home_view.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.HomeView do use ChangelogWeb, :public_view alias ChangelogWeb.PersonView def newsletter_link(newsletter, assigns) do list = newsletter.list_id cond do assigns.subscribed == list -> unsubscribe_link(assigns.conn, list) assigns.unsubscribed == list -> subscribe_link(assi...
32.291667
104
0.723871
dab787e3aa097d566adbd05ce906415c19a221d8
933
ex
Elixir
apps/raptor/lib/raptor_web/views/error_view.ex
Datastillery/smartcitiesdata
f4ab7e6877cfd68cd4bdac15cc879d930d11f270
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/raptor/lib/raptor_web/views/error_view.ex
Datastillery/smartcitiesdata
f4ab7e6877cfd68cd4bdac15cc879d930d11f270
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/raptor/lib/raptor_web/views/error_view.ex
Datastillery/smartcitiesdata
f4ab7e6877cfd68cd4bdac15cc879d930d11f270
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule RaptorWeb.ErrorView do use RaptorWeb, :view def render("error.json", %{message: message}) do fill_json_template(message) end def render("error.csv", %{message: message}) do message end def render("404.html", %{message: message}) do message end def render("400.json", %{message: ...
24.552632
83
0.688103
dab7ac2c9802f782080df6e1cf65096333ad12e1
2,376
ex
Elixir
clients/people/lib/google_api/people/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/people/lib/google_api/people/v1/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/people/lib/google_api/people/v1/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...
36
90
0.712963
dab7ad4500c62ac6b673f20a4b6aff35a94baec4
5,638
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
67.119048
413
0.719581
dab845a80cdef41a23410d2d1b22693b593b6c85
379
ex
Elixir
frameworks/Elixir/phoenix/web/router.ex
xyb/FrameworkBenchmarks
02c394f5fb4d900e67c4dc73fee65c1a66987fe1
[ "BSD-3-Clause" ]
4
2018-10-30T15:18:46.000Z
2020-04-03T14:47:53.000Z
frameworks/Elixir/phoenix/web/router.ex
xyb/FrameworkBenchmarks
02c394f5fb4d900e67c4dc73fee65c1a66987fe1
[ "BSD-3-Clause" ]
122
2021-04-16T02:04:24.000Z
2022-01-13T20:17:26.000Z
frameworks/Elixir/phoenix/web/router.ex
xyb/FrameworkBenchmarks
02c394f5fb4d900e67c4dc73fee65c1a66987fe1
[ "BSD-3-Clause" ]
2
2015-01-15T08:52:28.000Z
2019-05-18T05:11:58.000Z
defmodule Hello.Router do use Hello.Web, :router scope "/", Hello do get "/json", PageController, :_json get "/db", PageController, :db get "/queries", PageController, :queries get "/fortune", PageController, :fortunes get "/update", PageController, :updates get "/plaintext", PageController...
27.071429
48
0.670185
dab871bd8f9cf88f98a81c2d6d4fa5b217b8699b
332
exs
Elixir
priv/repo/migrations/20210902165241_alter_members.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
7
2021-07-14T15:45:55.000Z
2022-01-25T11:13:01.000Z
priv/repo/migrations/20210902165241_alter_members.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
10
2021-08-09T15:54:05.000Z
2022-02-17T04:18:38.000Z
priv/repo/migrations/20210902165241_alter_members.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
5
2021-07-23T05:54:35.000Z
2022-01-28T04:14:51.000Z
defmodule Basic.Repo.Migrations.AlterMembers do use Ecto.Migration def change do alter table("members") do remove_if_exists :corporate_id, :integer remove_if_exists :corporate_name, :string add_if_not_exists :organization_id, :integer add_if_not_exists :organization_name, :string en...
25.538462
51
0.743976
dab87bbceecf07d81d60d0120336285b147bb903
3,101
ex
Elixir
lib/hexpm/billing/billing.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm/billing/billing.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm/billing/billing.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule Hexpm.Billing do use Hexpm.Context @type organization() :: String.t() @callback checkout(organization(), data :: map()) :: {:ok, map()} | {:error, map()} @callback get(organization()) :: map() | nil @callback cancel(organization()) :: map() @callback create(map()) :: {:ok, map()} | {:error, map(...
33.344086
86
0.642051
dab8a3ac295f6353b9d85bdc4eb2e4e1b468d9b4
2,368
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation_text_property.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation_text_property.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_text_annotation_text_property.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...
36.430769
203
0.758446
dab8d14539e88f1d87f3ba1917aa1c4f4ae579a6
1,479
ex
Elixir
lib/operate/bpu/transaction.ex
operate-bsv/agent
4f3d69b7eb33f3afe5c880c10e39485b18b27ec5
[ "Apache-2.0" ]
13
2019-02-14T05:27:03.000Z
2019-08-14T03:35:52.000Z
lib/operate/bpu/transaction.ex
operate-bsv/agent
4f3d69b7eb33f3afe5c880c10e39485b18b27ec5
[ "Apache-2.0" ]
3
2019-11-28T11:38:39.000Z
2021-12-15T01:23:09.000Z
lib/operate/bpu/transaction.ex
operate-bsv/agent
4f3d69b7eb33f3afe5c880c10e39485b18b27ec5
[ "Apache-2.0" ]
2
2019-12-16T10:46:51.000Z
2020-10-10T11:23:46.000Z
defmodule Operate.BPU.Transaction do @moduledoc """ [Bitcoin Processing Unit](https://github.com/interplanaria/bpu) Transaction module. Provides methods for parsing and serializing transactions to and from bare maps. """ alias Operate.BPU.Script defstruct i: nil, txid: nil, in: [], out: [], blk: nil @t...
25.947368
85
0.622042
dab8f0dc3e756aacbe9cb924b3990a38c636f8a1
76
exs
Elixir
test/hexen_web/views/page_view_test.exs
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
2
2019-12-28T21:31:43.000Z
2019-12-30T01:03:28.000Z
test/hexen_web/views/page_view_test.exs
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
4
2019-12-23T23:51:30.000Z
2021-05-10T22:24:18.000Z
test/hexen_web/views/page_view_test.exs
togmund/hexen
5166ba445af592516beae48ccfcb76efc3fde166
[ "Unlicense" ]
1
2020-01-17T20:19:14.000Z
2020-01-17T20:19:14.000Z
defmodule HexenWeb.PageViewTest do use HexenWeb.ConnCase, async: true end
19
36
0.815789
dab8f986fecbf9168e8da09b5384389c37fa7f95
988
ex
Elixir
test/support/factory.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
test/support/factory.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
test/support/factory.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
defmodule BlogPostApi.Factory do @moduledoc """ Implementation of ExMachina.Ecto, responsible for creation of fake data that represents the data in the project. """ use ExMachina.Ecto, repo: BlogPostApi.Repo alias BlogPostApi.Accounts.User alias BlogPostApi.Posts.Post def user_factory do %User{ ...
22.454545
78
0.65587
dab903dbd8950425dab851c648d5919d87b20e47
2,891
exs
Elixir
test/cachex/actions/size_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
946
2017-06-26T00:36:58.000Z
2022-03-29T19:52:31.000Z
test/cachex/actions/size_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
152
2017-06-28T10:01:24.000Z
2022-03-24T18:46:13.000Z
test/cachex/actions/size_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
84
2017-06-30T05:30:31.000Z
2022-03-01T20:23:16.000Z
defmodule Cachex.Actions.SizeTest do use CachexCase # This test verifies the size of a cache. It should be noted that size is the # total size of the cache, regardless of any evictions (unlike count). We make # sure that evictions aren't taken into account, and that size increments as # new keys are added to...
30.431579
80
0.634728
dab908ef762cd01beb05f3aa4db64fd82ab192d0
427
ex
Elixir
lib/inmana/supplies/supply/create.ex
bruguedes/nlw5-trilha-elixir
4de5ecdce766c4371da80cd69ea08283838c66cd
[ "MIT" ]
null
null
null
lib/inmana/supplies/supply/create.ex
bruguedes/nlw5-trilha-elixir
4de5ecdce766c4371da80cd69ea08283838c66cd
[ "MIT" ]
null
null
null
lib/inmana/supplies/supply/create.ex
bruguedes/nlw5-trilha-elixir
4de5ecdce766c4371da80cd69ea08283838c66cd
[ "MIT" ]
null
null
null
defmodule Inmana.Supplies.Supply.Create do alias Inmana.Repo alias Inmana.Supplies.InputsVerification.Changeset alias Inmana.Supplies.Schemas.Supply def call(params) do params |> Changeset.changeset() |> Repo.insert() |> handle_insert() end defp handle_insert({:ok, %Supply{}} = result), do...
26.6875
93
0.704918
dab9090c04f493d70949f2c437a8757fb5548ee6
592
exs
Elixir
test/broadway/dummy_producer_test.exs
somersbmatthews/broadway_test
694997c2ef2ff92d2228d8ce94d54071f2d0ef76
[ "Apache-2.0" ]
1
2020-11-13T22:20:46.000Z
2020-11-13T22:20:46.000Z
test/broadway/dummy_producer_test.exs
somersbmatthews/broadway_test
694997c2ef2ff92d2228d8ce94d54071f2d0ef76
[ "Apache-2.0" ]
null
null
null
test/broadway/dummy_producer_test.exs
somersbmatthews/broadway_test
694997c2ef2ff92d2228d8ce94d54071f2d0ef76
[ "Apache-2.0" ]
null
null
null
defmodule Broadway.DummyProducerTest do use ExUnit.Case, async: true defmodule Handler do def handle_message(_processor, message, _context) do message end end test "send message through", c do {:ok, _} = Broadway.start_link(Handler, name: c.test, producer: [ m...
21.142857
69
0.552365
dab90fda1d06bd67f4b45ea8af16ef94bedccc5a
2,081
exs
Elixir
test/groupher_server/cms/articles/blog_archive_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/groupher_server/cms/articles/blog_archive_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/groupher_server/cms/articles/blog_archive_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.CMS.BlogArchive do @moduledoc false use GroupherServer.TestTools import Helper.Utils, only: [get_config: 2] alias GroupherServer.{CMS, Repo} alias CMS.Model.Blog @now Timex.now() @archive_threshold get_config(:article, :archive_threshold) @blog_archive_threshold Timex.shi...
29.309859
91
0.623739
dab91dde79c5581292e59047715f21d73b6a7168
901
ex
Elixir
lib/phoenix/ash_dashboard/live/docs_live.ex
ash-project/ash_dashboard
7685db1fc2e0298d332a71e37bd18b558cb2abf5
[ "MIT" ]
null
null
null
lib/phoenix/ash_dashboard/live/docs_live.ex
ash-project/ash_dashboard
7685db1fc2e0298d332a71e37bd18b558cb2abf5
[ "MIT" ]
null
null
null
lib/phoenix/ash_dashboard/live/docs_live.ex
ash-project/ash_dashboard
7685db1fc2e0298d332a71e37bd18b558cb2abf5
[ "MIT" ]
null
null
null
defmodule AshDashboard.DocsLive do use AshDashboard.Web, :live_view import AshDashboard.TableHelpers @sort_by ~w(name type) @impl true def mount(params, session, socket) do socket = socket |> assign_defaults(params, session) |> assign(:apis, session["apis"]) {:ok, socket} end ...
20.022222
55
0.605993
dab95c11b0e78a8348528ca5640bec1c9bc676a4
1,669
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/backend.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_user/lib/google_api/service_user/v1/model/backend.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/backend.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.061224
162
0.739365
dab972ad14225941276fba86a1414b1e5cd32b4a
658
ex
Elixir
pancake/lib/hamburger/game_state.ex
firecraftgaming/battleship-royale
463bf5e743f07affdb84ebd752e92ab3c6604f8f
[ "MIT" ]
1
2021-05-28T15:09:50.000Z
2021-05-28T15:09:50.000Z
pancake/lib/hamburger/game_state.ex
firecraftgaming/battleship-royale
463bf5e743f07affdb84ebd752e92ab3c6604f8f
[ "MIT" ]
null
null
null
pancake/lib/hamburger/game_state.ex
firecraftgaming/battleship-royale
463bf5e743f07affdb84ebd752e92ab3c6604f8f
[ "MIT" ]
null
null
null
defmodule Hamburger.GameState do use GenServer # Init def start_link(opts) do GenServer.start_link(__MODULE__, :ok, opts) end @impl true def init(:ok) do {:ok, %{started: false, players: %{}, host: nil, turn: nil}} end # Client def get() do GenServer.call...
17.783784
68
0.574468
dab9759ca23f17219a15b65010d6a22aa698e2f8
625
ex
Elixir
code examples/example-12-2.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
8
2016-08-14T12:35:16.000Z
2021-01-26T04:05:31.000Z
code examples/example-12-2.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
null
null
null
code examples/example-12-2.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
5
2016-08-18T22:12:19.000Z
2020-02-17T18:52:41.000Z
plug Openmaize.ConfirmEmail, [db_module: Welcome.OpenmaizeEcto, key_expires_after: 30, mail_function: &Mailer.receipt_confirm/1] when action in [:confirm] plug Openmaize.ResetPassword, [db_module: Welcome.OpenmaizeEcto, key_expires_after: 30, mail_function: &Mailer.receipt_confirm/1] when action in [:rese...
48.076923
78
0.784
dab996a1660f5bff322dc7ee6ea896c7e8f84471
1,945
ex
Elixir
lib/nostrum/struct/component/select_menu.ex
hopsor/nostrum
954d697206791342ba627921a9aee27af072de60
[ "MIT" ]
null
null
null
lib/nostrum/struct/component/select_menu.ex
hopsor/nostrum
954d697206791342ba627921a9aee27af072de60
[ "MIT" ]
null
null
null
lib/nostrum/struct/component/select_menu.ex
hopsor/nostrum
954d697206791342ba627921a9aee27af072de60
[ "MIT" ]
null
null
null
defmodule Nostrum.Struct.Component.SelectMenu do @moduledoc """ Select Menu """ @moduledoc since: "0.5.0" @defaults %{ custom_id: nil, options: [], placeholder: "", min_values: 1, disabled: false, max_values: 1, type: 3 } use Nostrum.Struct.Component @type t :: %{ ...
29.029851
109
0.627249
dab9b372daa1d7ab7d0395259d9fa97c1e99c410
1,162
ex
Elixir
lib/delivery_web/views/error_view.ex
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
lib/delivery_web/views/error_view.ex
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
lib/delivery_web/views/error_view.ex
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
defmodule DeliveryWeb.ErrorView do use DeliveryWeb, :view import Ecto.Changeset, only: [traverse_errors: 2] alias Ecto.Changeset # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal S...
29.05
83
0.687608
daba40027e063e2d41c61ac6952400eb4b9636a8
354
exs
Elixir
basic/codeschool.exs
MaraniMatias/elixir-hola-mundo
325a6ba623378521ec6f79bd4627a0eb7c6cd1fa
[ "MIT" ]
1
2016-12-25T09:53:53.000Z
2016-12-25T09:53:53.000Z
basic/codeschool.exs
MaraniMatias/elixir-hola-mundo
325a6ba623378521ec6f79bd4627a0eb7c6cd1fa
[ "MIT" ]
null
null
null
basic/codeschool.exs
MaraniMatias/elixir-hola-mundo
325a6ba623378521ec6f79bd4627a0eb7c6cd1fa
[ "MIT" ]
null
null
null
defmodule A do def oper(a,b,:add) do a+b end def oper(a,b,:sub) do a-b end def sum do 1..5 |> Enum.sum |> IO.puts end end A.sum 3 |> A.oper(4,:add) |> IO.puts 3 |> A.oper(4,:sub) |> IO.puts "Jose" <> surname = "Jose Valin" IO.puts surname data = ["Elixir","Valin"] [lang,author] = data...
13.111111
32
0.550847
dabaf1cca0b0889bbb041ae04fc96bbff8ec6685
742
ex
Elixir
lib/beats/output.ex
mtrudel/beats
6edf532bc02f2625190cbcb7f99a09fc6f58c5fd
[ "MIT" ]
37
2018-05-19T17:45:46.000Z
2022-01-18T11:03:36.000Z
lib/beats/output.ex
mtrudel/beats
6edf532bc02f2625190cbcb7f99a09fc6f58c5fd
[ "MIT" ]
1
2020-10-08T09:53:15.000Z
2020-10-08T09:53:15.000Z
lib/beats/output.ex
mtrudel/beats
6edf532bc02f2625190cbcb7f99a09fc6f58c5fd
[ "MIT" ]
2
2018-11-20T18:16:08.000Z
2021-02-09T15:14:28.000Z
defmodule Beats.Output do use GenServer # Client API def start_link(arg) do GenServer.start_link(__MODULE__, arg, name: __MODULE__) end def play(notes, channel) do GenServer.call(__MODULE__, {:play, notes, channel}) end # Server API def init(_arg) do {:ok, output_pid} = PortMidi.open(:o...
24.733333
87
0.654987
dabb0920d999d5715205cde5a12d4b994f96ee9f
401
ex
Elixir
lib/nano_ci/models/build.ex
mattiaslundberg/nano-ci
3c433d23f93ac95b2cd01d4630c95a8c084d2a99
[ "MIT" ]
null
null
null
lib/nano_ci/models/build.ex
mattiaslundberg/nano-ci
3c433d23f93ac95b2cd01d4630c95a8c084d2a99
[ "MIT" ]
2
2021-03-10T07:07:31.000Z
2021-05-11T02:49:06.000Z
lib/nano_ci/models/build.ex
mattiaslundberg/nano-ci
3c433d23f93ac95b2cd01d4630c95a8c084d2a99
[ "MIT" ]
null
null
null
defmodule NanoCi.Build do use Ecto.Schema alias NanoCi.GitRepo import Ecto.Changeset schema "builds" do belongs_to :repo, GitRepo field :status, :string field :revision, :string field :build_log, :string timestamps() end @doc false def changeset(%NanoCi.Build{} = build, attrs) do ...
19.095238
62
0.670823
dabb22e3c61639303ae65d6a86177ae42b81c3b0
48,443
ex
Elixir
lib/aws/generated/auto_scaling.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/auto_scaling.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/auto_scaling.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.AutoScaling do @moduledoc """ Amazon EC2 Auto Scaling Amazon EC2 Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined scaling policies, schedu...
45.443715
179
0.755362
dabb3116a4bb68ce1cfb5b8aabbf77d90c6def5f
414
ex
Elixir
lib/log_analyzer/repo.ex
ColdOrange/log_analyzer
a48566addc154d1bc2a0434b78b36562ac15f130
[ "MIT" ]
null
null
null
lib/log_analyzer/repo.ex
ColdOrange/log_analyzer
a48566addc154d1bc2a0434b78b36562ac15f130
[ "MIT" ]
null
null
null
lib/log_analyzer/repo.ex
ColdOrange/log_analyzer
a48566addc154d1bc2a0434b78b36562ac15f130
[ "MIT" ]
null
null
null
defmodule LogAnalyzer.Repo do @opt_app :log_analyzer use Ecto.Repo, otp_app: @opt_app defoverridable config: 0 def config() do dynamic_config = case :ets.lookup(LogAnalyzer.Repo.Supervisor, :config) do [{_, config}] -> config [] -> [] end {:ok, config} = Ecto.Repo.Su...
20.7
89
0.647343
dabb85d80d3c7a1fb73f996e180588d6fac0a9e7
1,342
ex
Elixir
lib/countries.ex
sztosz/countries
26ee87b4b532410f0ecedbef47447640d3bf7e5d
[ "MIT" ]
null
null
null
lib/countries.ex
sztosz/countries
26ee87b4b532410f0ecedbef47447640d3bf7e5d
[ "MIT" ]
null
null
null
lib/countries.ex
sztosz/countries
26ee87b4b532410f0ecedbef47447640d3bf7e5d
[ "MIT" ]
1
2018-12-12T12:33:10.000Z
2018-12-12T12:33:10.000Z
defmodule Countries do @doc """ Returns all countries. """ def all do countries() end @doc """ Filters countries by given attribute. Returns a list of `Countries.Country` structs ## Examples iex> Countries.filter_by(:region, "Europe") [%Countries.Country{address_format: nil, alpha2: "V...
20.646154
78
0.673621
dabb8ef471defb38b89b850ff0c439782f85244e
5,222
ex
Elixir
lib/credo/check/design/alias_usage.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
lib/credo/check/design/alias_usage.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
lib/credo/check/design/alias_usage.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
defmodule Credo.Check.Design.AliasUsage do @moduledoc """ Functions from other modules should be used via an alias if the module's namespace is not top-level. While this is completely fine: defmodule MyApp.Web.Search do def twitter_mentions do MyApp.External.TwitterAPI.search(...) ...
36.013793
205
0.670241
dabbbf2c3089d74ab5385bcea5ee54bc75b68a60
1,820
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/list_locations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/list_locations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/game_services/lib/google_api/game_services/v1beta/model/list_locations_response.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...
36.4
172
0.745055
dabbf6965a1853978d9fc7a46c58b3e3a9ca0192
1,898
exs
Elixir
test/phoenix/naming_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
test/phoenix/naming_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
test/phoenix/naming_test.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule Phoenix.NamingTest do use ExUnit.Case, async: true alias Phoenix.Naming doctest Naming test "underscore/1 converts Strings to underscore" do assert Naming.underscore("FooBar") == "foo_bar" assert Naming.underscore("Foobar") == "foobar" assert Naming.underscore("APIWorld") == "api_world" ...
41.26087
60
0.672287
dabc0a2020f07637881ad29d6bce01b4a519bea5
1,183
exs
Elixir
binary_data_over_phoenix_sockets/config/dev.exs
StoiximanServices/blog
b164ae5e8fb4701ee40925aca9aef2297b80be95
[ "MIT" ]
10
2016-11-28T03:38:36.000Z
2021-08-24T10:38:38.000Z
binary_data_over_phoenix_sockets/config/dev.exs
StoiximanServices/blog
b164ae5e8fb4701ee40925aca9aef2297b80be95
[ "MIT" ]
null
null
null
binary_data_over_phoenix_sockets/config/dev.exs
StoiximanServices/blog
b164ae5e8fb4701ee40925aca9aef2297b80be95
[ "MIT" ]
3
2018-07-11T08:31:41.000Z
2019-01-24T18:16:44.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :binary_data_over_phoenix_sockets, BinaryDataOve...
33.8
80
0.712595
dabc0ae371c18f87b45d0d97bf211d08418204f3
30
ex
Elixir
lib/flight_status.ex
uavaustin/flight-status
8ccc3c21f7135aa2a2d600a4e66fc8f2995ac241
[ "MIT" ]
null
null
null
lib/flight_status.ex
uavaustin/flight-status
8ccc3c21f7135aa2a2d600a4e66fc8f2995ac241
[ "MIT" ]
null
null
null
lib/flight_status.ex
uavaustin/flight-status
8ccc3c21f7135aa2a2d600a4e66fc8f2995ac241
[ "MIT" ]
null
null
null
defmodule FlightStatus do end
10
25
0.866667
dabc1496834be4ef97d9e77d437577c41222d6b5
3,130
ex
Elixir
servy/lib/servy/handler.ex
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
servy/lib/servy/handler.ex
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
servy/lib/servy/handler.ex
kfr2/elixir-experiments
b9aace74d5e352c505440f3a6e493dd714113fac
[ "MIT" ]
null
null
null
defmodule Servy.Handler do @moduledoc "Handles HTTP requests." alias Servy.Conv alias Servy.BearController # mix always runs from the root project directory @pages_path Path.expand("pages", File.cwd!) # import *all* functions into current namespace # import Servy.Plugins # import particular function...
20.728477
77
0.638658
dabc354ebd84f1167353930d057b5cb476a90bd2
6,814
ex
Elixir
apps/aecore/lib/aecore/naming/tx/name_transfer_tx.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aecore/lib/aecore/naming/tx/name_transfer_tx.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
apps/aecore/lib/aecore/naming/tx/name_transfer_tx.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
null
null
null
defmodule Aecore.Naming.Tx.NameTransferTx do @moduledoc """ Module defining the NameTransfer transaction """ use Aecore.Tx.Transaction alias Aecore.Governance.GovernanceConstants alias Aecore.Account.AccountStateTree alias Aecore.Chain.{Chainstate, Identifier} alias Aecore.Keys alias Aecore.Naming.N...
30.150442
98
0.643968
dabc3951da76014d3102d4c40e506e0cf809f703
169
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/81.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/81.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set5/TrainingInstances/81.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** cardinal pnoun pnoun cm nst; noun conj verb cm nst; pn cm verb verb_aux nst; particle quantifier particle SYM adjective; cm verb pnoun cm adverb;
21.125
44
0.751479
dabca40d7a7b4d9778120dd8b247adcd2c6d366d
894
ex
Elixir
clients/chrome_ux_report/lib/google_api/chrome_ux_report/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/chrome_ux_report/lib/google_api/chrome_ux_report/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/chrome_ux_report/lib/google_api/chrome_ux_report/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.111111
74
0.761745
dabcaf18eb3977a30f2874ba7158ef70588e3775
2,636
ex
Elixir
clients/games/lib/google_api/games/v1/model/quest_milestone.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/quest_milestone.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/quest_milestone.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
43.933333
440
0.725721
dabcb30bba171a6c1a18ecce0f9452987888fc54
6,597
ex
Elixir
clients/api_gateway/lib/google_api/api_gateway/v1beta/model/apigateway_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/api_gateway/lib/google_api/api_gateway/v1beta/model/apigateway_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/api_gateway/lib/google_api/api_gateway/v1beta/model/apigateway_policy.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...
115.736842
2,012
0.755192
dabce92df50bc022cc801e8836315ac8fd99ffe5
476
ex
Elixir
web/view.ex
mallond/elixir-mix
dfdec1faace5e4457cecf4a34c83ca3c9c0f0f5f
[ "MIT" ]
1
2017-10-05T08:53:03.000Z
2017-10-05T08:53:03.000Z
web/view.ex
mallond/elixir-mix
dfdec1faace5e4457cecf4a34c83ca3c9c0f0f5f
[ "MIT" ]
null
null
null
web/view.ex
mallond/elixir-mix
dfdec1faace5e4457cecf4a34c83ca3c9c0f0f5f
[ "MIT" ]
1
2019-04-06T02:33:19.000Z
2019-04-06T02:33:19.000Z
defmodule ElixirMix.View do use Phoenix.View, root: "web/templates" # The quoted expression returned by this block is applied # to this module and all other views that use this module. using do quote do # Import common functionality import ElixirMix.Router.Helpers # Use Phoenix.HTML to i...
26.444444
72
0.718487
dabcfe781354c4ba44e6e78ef7d152ce224eb71d
1,972
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_http_proxies_scoped_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_http_proxies_scoped_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/target_http_proxies_scoped_list.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...
39.44
201
0.758621
dabd334f0fb2d6824c37384d7efbce1e7a700b89
420
exs
Elixir
priv/repo/migrations/20190616203656_add_draft_method_to_fantasy_leagues.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
priv/repo/migrations/20190616203656_add_draft_method_to_fantasy_leagues.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
priv/repo/migrations/20190616203656_add_draft_method_to_fantasy_leagues.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.Repo.Migrations.AddDraftMethodToFantasyLeagues do use Ecto.Migration def up do FantasyLeagueDraftMethodEnum.create_type() alter table("fantasy_leagues") do add(:draft_method, :fantasy_league_draft_method, default: "redraft") end end def down do alter table("fantasy_leagu...
21
74
0.740476
dabd8a4c4f80bc4b61ea79c2b8fa0674b3c61094
443
exs
Elixir
test/covid19_questionnaire/data/journal_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
3
2020-04-08T19:15:22.000Z
2020-05-24T22:37:54.000Z
test/covid19_questionnaire/data/journal_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
10
2020-04-05T17:31:49.000Z
2020-06-10T11:09:17.000Z
test/covid19_questionnaire/data/journal_test.exs
betagouv/covid19-algorithme-orientation-elixir
7d99c0b79551438bd763ae4293b495096bc8d9ad
[ "MIT" ]
null
null
null
defmodule Covid19Questionnaire.Data.JournalTest do use ExUnit.Case, async: true alias Covid19Questionnaire.Data.{Journal, Token} test "stores & retrieves journals" do date = DateTime.utc_now() {:ok, token} = Token.create() {:ok, {1, nil}} = Journal.create_many([%{date: date, data: %{token: token, cra...
29.533333
92
0.679458
dabd92213b904c2764253d35812046f032e2342f
1,036
ex
Elixir
lib/terrae_magnitudem/http_handlers/measurement_stats.ex
g-andrade/terrae_magnitudem
321ba3151ccb8f52fe93043c16acdb60162baa0d
[ "MIT" ]
2
2019-12-30T22:04:23.000Z
2020-01-13T09:42:51.000Z
lib/terrae_magnitudem/http_handlers/measurement_stats.ex
g-andrade/terrae_magnitudem
321ba3151ccb8f52fe93043c16acdb60162baa0d
[ "MIT" ]
null
null
null
lib/terrae_magnitudem/http_handlers/measurement_stats.ex
g-andrade/terrae_magnitudem
321ba3151ccb8f52fe93043c16acdb60162baa0d
[ "MIT" ]
null
null
null
defmodule TerraeMagnitudem.HttpHandlers.MeasurementStats do @behaviour :cowboy_rest ## ------------------------------------------------------------------ ## API Function Definitions ## ------------------------------------------------------------------ def routes() do [{'/api/v1/measurement-stats', __MOD...
26.564103
71
0.482625
dabd97dc4ca624ee6edf94fd32ec1c1efc054d5a
1,171
exs
Elixir
config/config.exs
maxwerr/sec_latest_filings_rss_feed_parser
02e8595605924f63dd2e2a3ee939f00bf14c063a
[ "MIT" ]
null
null
null
config/config.exs
maxwerr/sec_latest_filings_rss_feed_parser
02e8595605924f63dd2e2a3ee939f00bf14c063a
[ "MIT" ]
null
null
null
config/config.exs
maxwerr/sec_latest_filings_rss_feed_parser
02e8595605924f63dd2e2a3ee939f00bf14c063a
[ "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...
37.774194
73
0.762596
dabde425ad1a4b6340e897894d1e6b03f516b7ca
1,444
ex
Elixir
test/elixir/protobuf_generated.ex
jannekai/protoc-gen-elixir
b183119762c39d844cb6323990178a727fcf0b43
[ "MIT" ]
3
2015-05-08T07:36:13.000Z
2017-12-19T03:00:27.000Z
test/elixir/protobuf_generated.ex
jannekai/protoc-gen-elixir
b183119762c39d844cb6323990178a727fcf0b43
[ "MIT" ]
1
2022-01-05T13:34:39.000Z
2022-01-05T14:15:02.000Z
test/elixir/protobuf_generated.ex
jannekai/protoc-gen-elixir
b183119762c39d844cb6323990178a727fcf0b43
[ "MIT" ]
1
2022-01-05T13:34:44.000Z
2022-01-05T13:34:44.000Z
defmodule Test.Types.ForeignEnum do def type, do: :enum def module, do: Test.Types.ForeignEnum def value(:foreign_zero), do: 0 def value(:foreign_four), do: 4 def value(:foreign_five), do: 5 def value(:foreign_neg), do: -2 def key(0), do: :foreign_zero def key(4), do: :foreign_four def key(5), d...
22.215385
75
0.624654
dabdf28f21fe4b6a57b5fe8e6b06889213b89b72
1,871
ex
Elixir
exercism/elixir/twelve-days/lib/twelve_days.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/twelve-days/lib/twelve_days.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/twelve-days/lib/twelve_days.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule TwelveDays do @count %{ 1 => "first", 2 => "second", 3 => "third", 4 => "fourth", 5 => "fifth", 6 => "sixth", 7 => "seventh", 8 => "eighth", 9 => "ninth", 10 => "tenth", 11 => "eleventh", 12 => "twelfth" } @gifts [ "a Partridge in a Pear Tree", "t...
24.298701
86
0.5783
dabe7dff25367c72db4d2a36491faea0ff5b6904
865
ex
Elixir
lib/bot/controller.ex
dottorblaster/vaporbot-legacy
05bf932cc6dfa2a428bd1551fd3db571e4ffb22d
[ "MIT" ]
1
2020-04-21T14:37:49.000Z
2020-04-21T14:37:49.000Z
lib/bot/controller.ex
dottorblaster/vaporbot-legacy
05bf932cc6dfa2a428bd1551fd3db571e4ffb22d
[ "MIT" ]
null
null
null
lib/bot/controller.ex
dottorblaster/vaporbot-legacy
05bf932cc6dfa2a428bd1551fd3db571e4ffb22d
[ "MIT" ]
null
null
null
defmodule Vaporbot.Controllers.Vapor do use Sugar.Controller def root(conn, _args) do conn |> json(%{message: "ok"}) end def vaporfont(conn, []) do conn |> json(%{message: Handler.parse(conn.params["payload"])}) end def webhook(conn, []) do if conn.params["inline_query...
29.827586
77
0.557225
dabef69aa2be39f5f7f96d266d550cfdf5c49205
471
exs
Elixir
apps/testing/mix.exs
cameronmarsh/hindsight
48952a719b0193810eb014587d93b696050f88f9
[ "Apache-2.0" ]
null
null
null
apps/testing/mix.exs
cameronmarsh/hindsight
48952a719b0193810eb014587d93b696050f88f9
[ "Apache-2.0" ]
null
null
null
apps/testing/mix.exs
cameronmarsh/hindsight
48952a719b0193810eb014587d93b696050f88f9
[ "Apache-2.0" ]
null
null
null
defmodule Testing.MixProject do use Mix.Project def project do [ app: :testing, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", start_permanent: Mix.env()...
16.821429
45
0.522293
dabf012b0004ad0eb431ef5668dc304c8dc2a2b2
2,266
exs
Elixir
test/context_change_tracking_test.exs
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
test/context_change_tracking_test.exs
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
test/context_change_tracking_test.exs
jprincipe/surface
011ff48401f6b3659f03fbd6a92e7028b0173547
[ "MIT" ]
null
null
null
defmodule Surface.ContextChangeTrackingTest do use ExUnit.Case, async: true import Phoenix.ConnTest import Phoenix.LiveViewTest @endpoint Endpoint defmodule ContextSetter do use Surface.Component def render(assigns) do ~H""" <Context put={{ field: "field value" }}> <div><slot/>...
24.365591
91
0.600618
dabf6776fabe131c7e5e5d519126b3ae38394b7c
23,701
ex
Elixir
lib/scenic/math/matrix.ex
milmazz/scenic
551050797721bda38fcb54188fe362abbc68ddc7
[ "Apache-2.0" ]
null
null
null
lib/scenic/math/matrix.ex
milmazz/scenic
551050797721bda38fcb54188fe362abbc68ddc7
[ "Apache-2.0" ]
null
null
null
lib/scenic/math/matrix.ex
milmazz/scenic
551050797721bda38fcb54188fe362abbc68ddc7
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer # Copyright © 2017 Kry10 Industries. All rights reserved. # # NIF version of the matrix math library. Accepts only binary form of matrices # always row major defmodule Scenic.Math.Matrix do @moduledoc """ A collection of functions to work with matrices. All the matrix fucntions ...
27.949292
99
0.550778
dabf7bbf2f8c77350a7bc75ac8d087037f2c1c70
1,912
exs
Elixir
test/support/test_plug.exs
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
5
2020-04-05T16:03:03.000Z
2022-02-07T22:11:04.000Z
test/support/test_plug.exs
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
16
2020-03-28T17:46:13.000Z
2021-08-25T08:35:48.000Z
test/support/test_plug.exs
hrzndhrn/time_zone_info
18fa4e7aefd68d256202de8e0f96b69b8a9dc618
[ "MIT" ]
null
null
null
defmodule TestPlug do use Plug.Builder defmodule Controller.TimeZoneInfo do import Plug.Conn @iana_data_archive "test/fixtures/iana/tzdata2019c.tar.gz" def get(conn) do config = config(conn) with {:ok, file} <- File.read(@iana_data_archive), {:ok, data, checksum} <- TimeZoneIn...
24.202532
91
0.564331
dabf8c806caf9c1cacf02c550b1a28e372b01e3a
662
exs
Elixir
test/acceptance/web/intial_gate/page_controller_test.exs
edenlabllc/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
1
2020-09-25T10:10:16.000Z
2020-09-25T10:10:16.000Z
test/acceptance/web/intial_gate/page_controller_test.exs
Nebo15/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
null
null
null
test/acceptance/web/intial_gate/page_controller_test.exs
Nebo15/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
1
2018-01-16T14:37:16.000Z
2018-01-16T14:37:16.000Z
defmodule PKCS7Verify.Web.Controllers.PageAcceptanceTest do use EView.AcceptanceCase, async: true, otp_app: :pkcs7_verify_api, endpoint: PKCS7Verify.Web.Endpoint, headers: [{"content-type", "application/json"}] test "GET /page" do %{body: body} = get!("page") # This assertion checks o...
22.827586
86
0.52568
dabfc37a3b9d705af34976eede583958afa919b6
494
ex
Elixir
backend/lib/backend/medias/message.ex
diderikk/SimpleChatApp
2ee9b4109114aa08611f4776a58e6dc5f25135cc
[ "MIT" ]
null
null
null
backend/lib/backend/medias/message.ex
diderikk/SimpleChatApp
2ee9b4109114aa08611f4776a58e6dc5f25135cc
[ "MIT" ]
null
null
null
backend/lib/backend/medias/message.ex
diderikk/SimpleChatApp
2ee9b4109114aa08611f4776a58e6dc5f25135cc
[ "MIT" ]
null
null
null
defmodule Backend.Medias.Message do @moduledoc """ Schema for Message struct """ use Ecto.Schema import Ecto.Changeset schema "messages" do field :content, :string belongs_to :chat, Backend.Medias.Chat belongs_to :user, Backend.Accounts.User timestamps() end @doc false def changes...
19.76
43
0.672065
dabfd5f220aa6d12de1b6928ef37a5e0be6625ce
1,111
ex
Elixir
dh11_live_view_ui/test/support/conn_case.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
dh11_live_view_ui/test/support/conn_case.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
dh11_live_view_ui/test/support/conn_case.ex
ayarhlaine/dh11_live_view
e52aebc14d7667772bd314f0a147347be0afb599
[ "MIT" ]
null
null
null
defmodule Dh11LiveViewUiWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally...
29.236842
68
0.742574
dabfe4b1aff30fd44b90080827638baf3c3a39b0
1,637
exs
Elixir
test/uber/data_test.exs
gamache/uber.ex
bcc4f8aaeefca0f449e9f09d36b18267b307c770
[ "Apache-2.0" ]
4
2015-09-01T22:51:45.000Z
2016-09-19T03:37:39.000Z
test/uber/data_test.exs
gamache/uber.ex
bcc4f8aaeefca0f449e9f09d36b18267b307c770
[ "Apache-2.0" ]
null
null
null
test/uber/data_test.exs
gamache/uber.ex
bcc4f8aaeefca0f449e9f09d36b18267b307c770
[ "Apache-2.0" ]
null
null
null
defmodule UberDataTest do use ExUnit.Case test "accepts good arguments" do data = %Uber.Data{id: "123", name: "hi mom", transclude: "true"} assert [] == Uber.Data.validate(data) end test "accepts no arguments" do data = %Uber.Data{} assert [] == Uber.Data.validate(data) end test "rejects ...
25.184615
68
0.594991
dabffbb5c2c961211e7f88a4e0e758f8a3a47a2b
3,650
ex
Elixir
lib/calctorio.ex
jdfrens/calctorio
40418e3f7e562c0ade2a672434589727949e0439
[ "MIT" ]
null
null
null
lib/calctorio.ex
jdfrens/calctorio
40418e3f7e562c0ade2a672434589727949e0439
[ "MIT" ]
null
null
null
lib/calctorio.ex
jdfrens/calctorio
40418e3f7e562c0ade2a672434589727949e0439
[ "MIT" ]
null
null
null
defmodule Calctorio do @moduledoc """ Computes ratios for Factorio recipes. "How many machines producing iron gears do I need to support 10 machines producing red science? What's the throughput of those ten machines?" ## Examples iex> alias Calctorio.{Machine, Recipe} iex> iron_plates ...
30.672269
89
0.590411