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
ab53fe4d225796db7f42b11bcbea55fa9f9cf35a
1,733
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/pool_option.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/pool_option.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/pool_option.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "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.87234
260
0.743797
ab5427b4a665f008bc8315718223188089ea570e
309
exs
Elixir
priv/repo/migrations/20170410190618_create_variable.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
priv/repo/migrations/20170410190618_create_variable.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
priv/repo/migrations/20170410190618_create_variable.exs
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
defmodule AfterGlow.Repo.Migrations.CreateVariable do use Ecto.Migration def change do create table(:variables) do add :name, :string add :default, :string add :type, :string add :column_id, references(:columns, on_delete: :delete_all) timestamps() end end end
18.176471
66
0.666667
ab542d4df7cf517a184d26c9e42a87c0bf0825c0
76
exs
Elixir
test/test_helper.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
test/test_helper.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
test/test_helper.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(EliscoreChat.Repo, :manual)
15.2
58
0.776316
ab545fa79540fc8814b982078879cbd9fc8ae997
541
exs
Elixir
keep_state_with_agent.exs
javierarilos/elixir_playground
3148fd22ad67de45d9597747b7fcd453f74e70ae
[ "Apache-2.0" ]
null
null
null
keep_state_with_agent.exs
javierarilos/elixir_playground
3148fd22ad67de45d9597747b7fcd453f74e70ae
[ "Apache-2.0" ]
null
null
null
keep_state_with_agent.exs
javierarilos/elixir_playground
3148fd22ad67de45d9597747b7fcd453f74e70ae
[ "Apache-2.0" ]
null
null
null
IO.puts "starting an Agent that keeps state in a map" {:ok, pid} = Agent.start_link(fn -> %{} end) IO.puts "adding a new k,v to the agent map" Agent.update(pid, fn map -> Map.put(map, :hello, "world") end) IO.puts "getting the value from the map" IO.puts Agent.get(pid, fn map -> Map.get(map, :hello) end) IO.puts "Agen...
45.083333
81
0.678373
ab5474308bfce28039817e893afd824a20c63930
541
ex
Elixir
web/router.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
web/router.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
web/router.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
defmodule PythonChannels.Router do use PythonChannels.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", PythonChann...
20.037037
57
0.689464
ab54798a2e037cc197647cb6a676b2d867d1172f
153
exs
Elixir
test/branch_cutter_test.exs
smaximov/branch_cutter
eb750db1fcc9715ab7bbecadd2ccd3368b41dc81
[ "MIT" ]
null
null
null
test/branch_cutter_test.exs
smaximov/branch_cutter
eb750db1fcc9715ab7bbecadd2ccd3368b41dc81
[ "MIT" ]
null
null
null
test/branch_cutter_test.exs
smaximov/branch_cutter
eb750db1fcc9715ab7bbecadd2ccd3368b41dc81
[ "MIT" ]
null
null
null
defmodule BranchCutterTest do use ExUnit.Case doctest BranchCutter test "greets the world" do assert BranchCutter.hello() == :world end end
17
41
0.738562
ab547ad4c33906d6a258ea38f051f5732e9580d7
2,907
exs
Elixir
config/runtime.exs
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
config/runtime.exs
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
config/runtime.exs
henrikcoll/sengo
d5ef840843bffbc858dc18d331e4ebc74e6837cb
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
38.25
82
0.69453
ab548b823aa2354abce457a120779065db82206b
33
ex
Elixir
exs/sample2.ex
pedroreissantos/pynurg
b0dcd5f04f2b5d530f6f9a5f38049ec7a362637d
[ "MIT" ]
null
null
null
exs/sample2.ex
pedroreissantos/pynurg
b0dcd5f04f2b5d530f6f9a5f38049ec7a362637d
[ "MIT" ]
null
null
null
exs/sample2.ex
pedroreissantos/pynurg
b0dcd5f04f2b5d530f6f9a5f38049ec7a362637d
[ "MIT" ]
null
null
null
x=1; x=2+4; x=3+x; x=x+5; x=x+x;
5.5
6
0.424242
ab54deb0b82f4fa05f733ff9d1111bfd088d8a5d
3,791
ex
Elixir
lib/game/command/socials.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/socials.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/socials.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.Command.Socials do @moduledoc """ The "mail" command """ use Game.Command import Game.Room.Helpers, only: [find_character: 2] alias Game.Format.Socials, as: FormatSocials alias Game.Socials commands(["socials"], parse: false) @impl Game.Command def help(:topic), do: "Socials" d...
23.993671
100
0.610921
ab550879a86de3b127c17e5b8b4aacf3b235c51f
2,919
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_resource.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_resource.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_resource.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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...
40.541667
323
0.72285
ab550aeec36598420b77839e3e6d21a3efa64a71
202
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20171030103858_add_genesis_to_balance.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/priv/repo/migrations/20171030103858_add_genesis_to_balance.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20171030103858_add_genesis_to_balance.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.Repo.Migrations.AddGenesisToBalance do use Ecto.Migration def change do alter table(:balance) do add :genesis, :boolean, default: false, null: false end end end
20.2
58
0.722772
ab551193f8d7192a1380569b646d938b0290d61f
2,679
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/authentication_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/authentication_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/authentication_rule.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...
47.839286
344
0.751027
ab55270c4e8251c2b91c225af0295cbe6fa6436d
1,055
ex
Elixir
test/support/conn_case.ex
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
3
2019-03-05T16:45:08.000Z
2019-08-23T12:10:57.000Z
test/support/conn_case.ex
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
2
2021-03-08T23:53:02.000Z
2021-05-08T00:07:08.000Z
test/support/conn_case.ex
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
null
null
null
defmodule ArWeeklyWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if t...
27.051282
70
0.719431
ab552c19dbebcd758743a66aece25c8eb8218e04
7,145
exs
Elixir
mix.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
1
2022-02-20T10:42:07.000Z
2022-02-20T10:42:07.000Z
mix.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
mix.exs
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
defmodule Commanded.Mixfile do use Mix.Project @version "1.3.1" def project do [ app: :commanded, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), description: description(), docs: docs(), package: package(), al...
27.910156
86
0.568789
ab5533f910943d2ff10c16af2c61f17930aae9a7
2,486
ex
Elixir
lib/kino/js/live_server.ex
akash-akya/kino
737d293f16c06acaf1f9fb15d2475ab1e53b1f82
[ "Apache-2.0" ]
84
2021-07-17T09:19:45.000Z
2022-03-21T20:43:21.000Z
lib/kino/js/live_server.ex
akash-akya/kino
737d293f16c06acaf1f9fb15d2475ab1e53b1f82
[ "Apache-2.0" ]
48
2021-07-21T11:59:20.000Z
2022-03-31T16:34:16.000Z
lib/kino/js/live_server.ex
akash-akya/kino
737d293f16c06acaf1f9fb15d2475ab1e53b1f82
[ "Apache-2.0" ]
11
2021-09-05T16:30:23.000Z
2022-02-19T02:06:48.000Z
defmodule Kino.JS.LiveServer do @moduledoc false use GenServer require Logger alias Kino.JS.Live.Context def start_link(opts) do GenServer.start_link(__MODULE__, opts) end defdelegate cast(pid, term), to: GenServer defdelegate call(pid, term, timeout), to: GenServer def broadcast_event(ctx,...
24.372549
116
0.634755
ab55547dc2cc63f33372a439b8014e7b7b068cbd
1,530
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/time_partitioning.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/time_partitioning.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/time_partitioning.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 "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...
31.875
154
0.748366
ab55bc8d3265bfd0fa1c0a6d8db7e22769fef4c5
2,656
exs
Elixir
mix.exs
paridin/ex_doc
e13239842ba9a5224bbf5e681414b87441c00c0e
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
mix.exs
paridin/ex_doc
e13239842ba9a5224bbf5e681414b87441c00c0e
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
mix.exs
paridin/ex_doc
e13239842ba9a5224bbf5e681414b87441c00c0e
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Mixfile do use Mix.Project @source_url "https://github.com/elixir-lang/ex_doc" @version "0.28.2" def project do [ app: :ex_doc, version: @version, elixir: "~> 1.11", deps: deps(), aliases: aliases(), package: package(), escript: escript(), el...
24.366972
89
0.554593
ab55ea7d232f6ac5f6607be42ea05bc8b32a3226
134
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/MatchedCallOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/MatchedCallOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_two_operation_parsing_test_case/MatchedCallOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one ++ two positional, key: value one -- two positional, key: value one..two positional, key: value one <> two positional, key: value
26.8
33
0.716418
ab5604ce6ac9c9c8103519c6b653bfaca3143420
2,616
exs
Elixir
RAEM/raem/test/raem_web/controllers/user_controller_test.exs
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/test/raem_web/controllers/user_controller_test.exs
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/test/raem_web/controllers/user_controller_test.exs
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
2
2018-02-24T19:56:21.000Z
2018-02-26T00:16:41.000Z
defmodule RaemWeb.UserControllerTest do use RaemWeb.ConnCase alias Raem.Users @create_attrs %{due: ~N[2010-04-17 14:00:00.000000], title: "some title"} @update_attrs %{due: ~N[2011-05-18 15:01:01.000000], title: "some updated title"} @invalid_attrs %{due: nil, title: nil} def fixture(:user) do {:ok, ...
29.393258
83
0.642202
ab560b655e48f6ef1f0598b8a24dc15123e1ac8d
390
ex
Elixir
phoenix_tutorial/web/views/error_view.ex
metabrain/elixir-playground
0c114ee8a8cb2d610f54b9cca83cbe6917226c33
[ "MIT" ]
null
null
null
phoenix_tutorial/web/views/error_view.ex
metabrain/elixir-playground
0c114ee8a8cb2d610f54b9cca83cbe6917226c33
[ "MIT" ]
null
null
null
phoenix_tutorial/web/views/error_view.ex
metabrain/elixir-playground
0c114ee8a8cb2d610f54b9cca83cbe6917226c33
[ "MIT" ]
null
null
null
defmodule PhoenixTutorial.ErrorView do use PhoenixTutorial.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_...
21.666667
47
0.710256
ab560c71a989410137605e6854ebc89a80c9f7fe
10,865
ex
Elixir
lib/slash/builder.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
null
null
null
lib/slash/builder.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
null
null
null
lib/slash/builder.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
null
null
null
defmodule Slash.Builder do @moduledoc ~S""" `Slash.Builder` is responsible for building the actual plug that can be used in a [Plug](https://hexdocs.pm/plug/readme.html) pipeline. The main macro provided when using the module is `command/2`, which allows you to declare commands for your Slash plug. ## Exa...
27.1625
115
0.627704
ab560d0f962892795ff61fd5a550ef04536b910b
1,057
ex
Elixir
microservice/lib/microservice/endpoint.ex
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
microservice/lib/microservice/endpoint.ex
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
microservice/lib/microservice/endpoint.ex
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
defmodule Microservice.Endpoint do use Phoenix.Endpoint, otp_app: :microservice socket "/socket", Microservice.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug...
25.166667
69
0.715232
ab5616a8f840373b38732c7f0fa179cda8ec79f9
115
exs
Elixir
test/exnem_test.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
1
2018-10-01T23:57:04.000Z
2018-10-01T23:57:04.000Z
test/exnem_test.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
null
null
null
test/exnem_test.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
null
null
null
defmodule ExnemTest do use ExUnit.Case doctest Exnem doctest Exnem.Crypto doctest Exnem.Crypto.KeyPair end
16.428571
30
0.791304
ab5651f3ba5b5d127ca5ab1f818237287dcb8e38
1,014
ex
Elixir
lib/headland/endpoint.ex
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
lib/headland/endpoint.ex
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
lib/headland/endpoint.ex
nicohartto/headland-back
413febe835dafc15b4dae731998ff42aa755496b
[ "MIT" ]
null
null
null
defmodule Headland.Endpoint do use Phoenix.Endpoint, otp_app: :headland socket "/socket", Headland.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static...
25.35
69
0.711045
ab5653d3ae3864cc07da10a0565ceb84242d5dac
1,855
exs
Elixir
clients/cloud_iot/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.686567
132
0.654987
ab5672d58888df4eccd6a153ccc066dc0ab1eca1
600
exs
Elixir
lib/ex_unit/test/ex_unit/case_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/case_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/case_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule ExUnit.CaseTest do use ExUnit.Case, async: true test "defines test case info" do assert ExUnit.TestCase[name: __MODULE__, tests: tests] = __ex_unit__(:case) assert length(tests) > 0 end @tag hello: false @tag :hello @tag world: :bad @tag...
25
79
0.668333
ab567841439623fe242eb04631cb3dfc3814aba7
34,548
ex
Elixir
lib/ex_unit/lib/ex_unit/diff.ex
matiasgarciaisaia/elixir
d0a3fdbfd774e0a6972513dcb82c2683400e67a0
[ "Apache-2.0" ]
1
2015-11-24T23:39:25.000Z
2015-11-24T23:39:25.000Z
lib/ex_unit/lib/ex_unit/diff.ex
lau/elixir
6cfe09c50b5f612e473725623d901080077ad6a6
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/diff.ex
lau/elixir
6cfe09c50b5f612e473725623d901080077ad6a6
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.Diff do @moduledoc false # A Diff struct and functions. # # The Diff struct contains the fields `:equivalent?`, `:left`, `:right`. # The `:equivalent?` field represents if the `:left` and `:right` side are # equivalents and contain no diffs. The `:left` and `:right` represent the sides #...
32.257703
97
0.657665
ab567ecdb23f90db79e3d0b8b503bbe03d8cfce2
217
exs
Elixir
server/priv/repo/migrations/20211108035652_add_accounts_table.exs
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
6
2019-04-03T19:16:01.000Z
2020-08-10T09:38:24.000Z
server/priv/repo/migrations/20211108035652_add_accounts_table.exs
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
32
2019-03-19T02:45:45.000Z
2021-12-05T06:58:07.000Z
server/priv/repo/migrations/20211108035652_add_accounts_table.exs
randycoulman/freedomAccount
c1c51a765052aa318ad3a504a396e8d07a770195
[ "MIT" ]
null
null
null
defmodule FreedomAccount.Repo.Migrations.AddAccountsTable do use Ecto.Migration def change do create table("accounts") do add :name, :string, size: 50, null: false timestamps() end end end
18.083333
60
0.691244
ab56994499b915f4c0639c7626ab6766b39f5fa1
1,524
ex
Elixir
lib/robolia_web/subscriber.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
1
2020-01-19T04:27:46.000Z
2020-01-19T04:27:46.000Z
lib/robolia_web/subscriber.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
null
null
null
lib/robolia_web/subscriber.ex
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
1
2018-05-13T14:06:46.000Z
2018-05-13T14:06:46.000Z
defmodule RoboliaWeb.Subscriber do @moduledoc false use GenServer alias Phoenix.PubSub alias Robolia.Games.TicTacToes.{Queries, TicTacToeMoviment} alias Robolia.Repo alias RoboliaWeb.{MatchSerializer, MovimentSerializer} @name __MODULE__ @moviment_created_event "moviment_created" @match_finished_eve...
25.830508
76
0.679134
ab570dc631dd083f1871584f8c9ab8b02daadca8
1,692
ex
Elixir
lib/jerboa/format/body/attribute/reservation_token.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
14
2016-12-22T10:38:34.000Z
2021-03-11T23:20:26.000Z
lib/jerboa/format/body/attribute/reservation_token.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
94
2016-12-22T13:13:29.000Z
2021-02-10T14:22:32.000Z
lib/jerboa/format/body/attribute/reservation_token.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
6
2017-04-03T20:23:00.000Z
2022-03-06T10:14:30.000Z
defmodule Jerboa.Format.Body.Attribute.ReservationToken do @moduledoc """ RESERVATION-TOKEN attribute as defined in [TURN RFC](https://trac.tools.ietf.org/html/rfc5766#section-14.9) """ alias Jerboa.Format.Body.Attribute.{Decoder, Encoder} alias Jerboa.Format.ReservationToken.LengthError alias Jerboa.For...
27.290323
72
0.692671
ab5724a2508872e3061b3e84859f4be4dbcc6ad0
57
ex
Elixir
elixir/scrap_preview/lib/scrap_web/views/page_view.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
1
2018-12-11T14:09:14.000Z
2018-12-11T14:09:14.000Z
elixir/scrap_preview/lib/scrap_web/views/page_view.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
null
null
null
elixir/scrap_preview/lib/scrap_web/views/page_view.ex
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
null
null
null
defmodule ScrapWeb.PageView do use ScrapWeb, :view end
14.25
30
0.789474
ab57493295e7426c9c3dffa27121074951afc826
80
ex
Elixir
testData/org/elixir_lang/parser_definition/eol_to_whitespace/Comparison.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/eol_to_whitespace/Comparison.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/eol_to_whitespace/Comparison.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one != two three == four five =~ six seven !== eight nine === ten
2.666667
5
0.4875
ab574da33766980c8c6f740b5d42d3c4272cfadd
935
ex
Elixir
src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/debian/postrm.ex
alexoterno/turtlebot2_with_head
ac714f77379dd0f47ddb76d83896fdabee269a03
[ "MIT" ]
null
null
null
src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/debian/postrm.ex
alexoterno/turtlebot2_with_head
ac714f77379dd0f47ddb76d83896fdabee269a03
[ "MIT" ]
null
null
null
src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/debian/postrm.ex
alexoterno/turtlebot2_with_head
ac714f77379dd0f47ddb76d83896fdabee269a03
[ "MIT" ]
null
null
null
#!/bin/sh # postrm script for orocos-bfl # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' ...
23.375
78
0.626738
ab57747380e1f9e0bf2f3988918f4038bdb024d9
192
ex
Elixir
lib/console_web/v1_api_pipeline.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
lib/console_web/v1_api_pipeline.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
lib/console_web/v1_api_pipeline.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule ConsoleWeb.V1ApiPipeline do use Plug.Builder plug ConsoleWeb.Plug.RateLimit, ["api_v1_actions", 6000] plug ConsoleWeb.Plug.CheckDomain plug ConsoleWeb.Plug.VerifyApiKey end
24
58
0.807292
ab5778faf25b4390a4bcdbc0a929f617fd248859
1,706
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/file_content_hints_thumbnail.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/file_content_hints_thumbnail.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/file_content_hints_thumbnail.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...
33.45098
112
0.73857
ab578dd3fec7fb89933b3918ab20aa461dda55f8
3,107
ex
Elixir
lib/credo/cli/command/suggest/suggest_command.ex
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
deps/credo/lib/credo/cli/command/suggest/suggest_command.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/credo/lib/credo/cli/command/suggest/suggest_command.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2020-06-28T00:36:07.000Z
2020-06-28T00:36:07.000Z
defmodule Credo.CLI.Command.Suggest.SuggestCommand do @moduledoc false use Credo.CLI.Command @shortdoc "Suggest code objects to look at next (default)" alias Credo.Check.Params alias Credo.CLI.Command.Suggest.SuggestOutput alias Credo.CLI.Task alias Credo.Execution def init(exec) do Execution.pu...
26.109244
101
0.665594
ab578f30a698137b043899eaa0b69b53d363fdeb
126
exs
Elixir
src/test/blu_test.exs
verypossible-labs/blu
022e0c42f6528c08a58dea365b959ac0cbe0dd44
[ "MIT" ]
2
2021-02-12T14:54:34.000Z
2021-09-09T16:30:27.000Z
src/test/blu_test.exs
verypossible-labs/blu
022e0c42f6528c08a58dea365b959ac0cbe0dd44
[ "MIT" ]
null
null
null
src/test/blu_test.exs
verypossible-labs/blu
022e0c42f6528c08a58dea365b959ac0cbe0dd44
[ "MIT" ]
null
null
null
defmodule BluTest do use ExUnit.Case doctest Blu test "greets the world" do assert Blu.hello() == :world end end
14
32
0.68254
ab57936bcddb6c960493182aa635db52407a67d7
878
ex
Elixir
lib/views/commerce/commerce_helper.ex
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
11
2016-08-18T23:18:57.000Z
2019-05-03T17:46:55.000Z
lib/views/commerce/commerce_helper.ex
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
105
2016-08-17T23:36:07.000Z
2019-09-26T18:14:24.000Z
lib/views/commerce/commerce_helper.ex
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
14
2016-08-17T17:23:45.000Z
2019-09-16T16:14:59.000Z
defmodule Aprb.Views.CommerceHelper do @gravity_api Application.get_env(:aprb, :gravity_api) def fetch_participant_info(id, "user"), do: @gravity_api.get!("/users/#{id}").body def fetch_participant_info(id, _), do: @gravity_api.get!("/v1/partner/#{id}").body def line_item_attachments(line_items) do line_...
28.322581
84
0.556948
ab57a18e1af02116fdf23ca3c7a95c053f26c7c3
372
exs
Elixir
test/cadet/assessments/external_library_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
test/cadet/assessments/external_library_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
test/cadet/assessments/external_library_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Assessments.Library.ExternalLibraryTest do alias Cadet.Assessments.Library.ExternalLibrary use Cadet.ChangesetCase, entity: ExternalLibrary describe "Changesets" do setup do %{valid_params: build(:external_library)} end test "valid changesets", %{valid_params: params} do ...
23.25
58
0.741935
ab57cf7f44a126cca8029e584dbca303490acc35
1,382
exs
Elixir
config/config.exs
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
config/config.exs
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
config/config.exs
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
import Config # ---------------------------# # Ecto # ---------------------------# config :kirby, ecto_repos: [Kirby.Repo] config :kirby, Kirby.Repo, migration_timestamps: [inserted_at: :created_at, type: :utc_datetime_usec] # ---------------------------# # Endpoint # ---------------------------# config :kirby, ...
26.075472
83
0.511577
ab57e89eb0c8925ecfd7068090a0cca75aceb288
8,783
exs
Elixir
test/elixir/test/view_multi_key_design_test.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
test/elixir/test/view_multi_key_design_test.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
test/elixir/test/view_multi_key_design_test.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
defmodule ViewMultiKeyDesignTest do use CouchTestCase @keys [10, 15, 30, 37, 50] @ddoc %{ _id: "_design/test", language: "javascript", views: %{ all_docs: %{ map: "function(doc) { emit(doc.integer, doc.string) }" }, multi_emit: %{ map: "function(doc) {for(var i = 0 ...
27.706625
88
0.576341
ab57fde309f9a5ddaac0b6363332737ad4a45c32
1,288
exs
Elixir
teachme/deps/phoenix_pubsub/mix.exs
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
teachme/deps/phoenix_pubsub/mix.exs
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
teachme/deps/phoenix_pubsub/mix.exs
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
Enum.each(Path.wildcard("tasks/*.exs"), &Code.require_file/1) defmodule Phoenix.PubSub.Mixfile do use Mix.Project @version "1.1.2" def project do [ app: :phoenix_pubsub, version: @version, elixir: "~> 1.4", description: "Distributed PubSub and Presence platform", homepage_url:...
23
84
0.598602
ab5808fb5444b63e9f2c6213cbd0f8f742269e75
586
ex
Elixir
test/support/factory.ex
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
3
2021-02-15T13:03:15.000Z
2022-01-25T11:07:47.000Z
test/support/factory.ex
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
null
null
null
test/support/factory.ex
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
null
null
null
defmodule PlugSessionDbStore.Factory do @moduledoc false use EctoStreamFactory, repo: PlugSessionDbStore.Repo alias PlugSessionDbStore.Sessions.Session def session_generator do gen all( session_cookie <- string(:ascii, length: 128), data <- constant(<<131, 116, 0, 0, 0, 0>>), ...
25.478261
73
0.643345
ab58099066ca2f49181ae3dd155a44821a696783
1,556
exs
Elixir
test/ex338/commish_email_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
test/ex338/commish_email_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
test/ex338/commish_email_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.CommishEmailTest do use Ex338.DataCase, async: true import Swoosh.TestAssertions alias Ex338Web.{EmailTemplate, CommishEmail} describe "send_email_to_leagues/3" do test "sends an email to owners of a list of leagues" do admin_user = insert_admin() other_user = insert_user() ...
28.290909
87
0.647172
ab582f813e9cf8c696009814355fe36d50a6a249
278
exs
Elixir
test/math_test.exs
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
test/math_test.exs
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
test/math_test.exs
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
defmodule MathTest do use ExUnit.Case, async: true doctest Math test "pow float raises" do assert_raise ArithmeticError, fn -> Math.pow(2.5, 3) end end test "mod inv not coprime raises" do assert_raise ArithmeticError, fn -> Math.mod_inv(2, 4) end end end
21.384615
62
0.705036
ab584a7a9deed43aa41324e2ebacdba23b84c69c
1,756
ex
Elixir
lib/store_card/business.ex
manojsamanta/stripe-store-card
5acc474240fe0eb85cfa8a3ef1d696d12694ad14
[ "MIT" ]
null
null
null
lib/store_card/business.ex
manojsamanta/stripe-store-card
5acc474240fe0eb85cfa8a3ef1d696d12694ad14
[ "MIT" ]
null
null
null
lib/store_card/business.ex
manojsamanta/stripe-store-card
5acc474240fe0eb85cfa8a3ef1d696d12694ad14
[ "MIT" ]
null
null
null
defmodule StoreCard.Business do import Ecto.Query, warn: false alias StoreCard.Repo alias StoreCard.Business.{Project, Card, Payment} # RELATED TO PROJECT def list_projects() do Project |> Repo.all end def get_project!(id), do: Repo.get!(Project, id) def create_project(attrs \\ %{}) do ...
18.103093
56
0.628132
ab584dd6a1f2c8e9cbd85c51d5d976a6662b6ce1
168
exs
Elixir
tapestry_algorithm_bonus/test/tapestry_algorithm_test.exs
kdlogan19/Tapestry-Algorithm
337445c4569a7f0fd63da31272018a308ed65480
[ "MIT" ]
null
null
null
tapestry_algorithm_bonus/test/tapestry_algorithm_test.exs
kdlogan19/Tapestry-Algorithm
337445c4569a7f0fd63da31272018a308ed65480
[ "MIT" ]
null
null
null
tapestry_algorithm_bonus/test/tapestry_algorithm_test.exs
kdlogan19/Tapestry-Algorithm
337445c4569a7f0fd63da31272018a308ed65480
[ "MIT" ]
null
null
null
defmodule TapestryAlgorithmTest do use ExUnit.Case doctest TapestryAlgorithm test "greets the world" do assert TapestryAlgorithm.hello() == :world end end
18.666667
46
0.761905
ab588204b032a5a9356e66eefebbb7c639f52ccb
806
ex
Elixir
lib/shenu/message/category.ex
jsdelivrbot/shenu
98acf65b915b62528eccd824020e8007931ee01c
[ "MIT" ]
3
2016-06-19T00:21:54.000Z
2021-09-28T22:04:07.000Z
lib/shenu/message/category.ex
jsdelivrbot/shenu
98acf65b915b62528eccd824020e8007931ee01c
[ "MIT" ]
null
null
null
lib/shenu/message/category.ex
jsdelivrbot/shenu
98acf65b915b62528eccd824020e8007931ee01c
[ "MIT" ]
1
2018-12-06T22:51:26.000Z
2018-12-06T22:51:26.000Z
defmodule Shenu.Message.Category do @moduledoc """ Categorical selection/identification """ use Shenu.Message @doc """ iex> a = Shenu.Message.Category.new("123") iex> b = Shenu.Message.Category.new("456") iex> Shenu.Message.difference(a, b) 1 iex> a = Shenu.Message.Category.ne...
20.15
79
0.631514
ab58ea834ee1990084b59ad3b79c13457e41ba94
1,013
ex
Elixir
lib/glimesh_web/live/user_live/viewer_upvotes.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
lib/glimesh_web/live/user_live/viewer_upvotes.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
lib/glimesh_web/live/user_live/viewer_upvotes.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserLive.ViewerUpvotes do use GlimeshWeb, :live_view alias Glimesh.Presence @impl true def render(assigns) do ~L""" <button class="btn btn-outline-primary" phx-click="upvote"><i class="fas fa-arrow-alt-circle-up"></i> <span><%= @upvotes %></span></button> """ end @i...
28.138889
147
0.636723
ab590f6e5853963a9ea46a6c268fb3a33fa6dccd
280
exs
Elixir
priv/repo/migrations/20220111141115_add_money_type.exs
ding-an-sich/ex_change_rate
89858694dc98cef6d21089599120600a075c93db
[ "MIT" ]
null
null
null
priv/repo/migrations/20220111141115_add_money_type.exs
ding-an-sich/ex_change_rate
89858694dc98cef6d21089599120600a075c93db
[ "MIT" ]
null
null
null
priv/repo/migrations/20220111141115_add_money_type.exs
ding-an-sich/ex_change_rate
89858694dc98cef6d21089599120600a075c93db
[ "MIT" ]
null
null
null
defmodule ExChangeRate.Repo.Migrations.AddMoneyType do use Ecto.Migration def up do execute """ CREATE TYPE public.money_currency AS (amount integer, currency char(3)) """ end def down do execute """ DROP TYPE public.money_currency """ end end
17.5
75
0.678571
ab592160e971c85053e9f38af50fa4c3ce4a8985
1,865
exs
Elixir
clients/game_services/mix.exs
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/game_services/mix.exs
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
clients/game_services/mix.exs
EVLedger/elixir-google-api
61edef19a5e2c7c63848f7030c6d8d651e4593d4
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.835821
113
0.66059
ab5923e11689019719aa3ad43cc0eb2e65e391b0
1,073
ex
Elixir
apps/ex_cucumber/test/helpers/parameter_types/duration.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-05-18T18:20:05.000Z
2022-02-13T00:15:06.000Z
apps/ex_cucumber/test/helpers/parameter_types/duration.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-04-22T00:28:17.000Z
2021-05-19T21:04:20.000Z
apps/ex_cucumber/test/helpers/parameter_types/duration.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
4
2021-04-14T03:07:45.000Z
2021-12-12T21:23:59.000Z
defmodule Support.ParameterTypes.Duration do @behaviour ExCucumber.CustomParameterType defstruct raw: :none, value: :none, hours: 0 alias Support.ParameterTypes.Validator.Integer, as: IntegerValidator @regex ~r/^(?<hours>\d{1,2}) hours$/ @impl true def validator(str, ctx), do: run...
23.844444
79
0.564772
ab59329770ee23012b63ad56ee5915c2993030f1
413
exs
Elixir
phoenixphun/newphx/test/newphx_web/views/error_view_test.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
phoenixphun/newphx/test/newphx_web/views/error_view_test.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
phoenixphun/newphx/test/newphx_web/views/error_view_test.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
defmodule NewphxWeb.ErrorViewTest do use NewphxWeb.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(NewphxWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do asser...
27.533333
91
0.731235
ab59389418fb26f925cf09c7bd8a91fc6cf77046
2,519
exs
Elixir
mix.exs
joshprice/swoosh
ecbde00e2f2f17060d1d87f612612634dd083248
[ "MIT" ]
1
2020-01-19T04:55:09.000Z
2020-01-19T04:55:09.000Z
mix.exs
joshprice/swoosh
ecbde00e2f2f17060d1d87f612612634dd083248
[ "MIT" ]
null
null
null
mix.exs
joshprice/swoosh
ecbde00e2f2f17060d1d87f612612634dd083248
[ "MIT" ]
null
null
null
defmodule Swoosh.Mixfile do use Mix.Project @version "0.21.0" def project do [ app: :swoosh, version: @version, elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), al...
24.940594
131
0.543073
ab59504516b6764945ad852b1b40ff65e1ce95e9
557
ex
Elixir
services/interop-proxy/test/support/conn_case.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
1
2020-10-08T14:37:36.000Z
2020-10-08T14:37:36.000Z
services/interop-proxy/test/support/conn_case.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
33
2017-10-31T22:36:42.000Z
2021-01-10T22:15:54.000Z
services/interop-proxy/test/support/conn_case.ex
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
3
2018-10-07T21:36:02.000Z
2020-02-07T01:13:53.000Z
defmodule InteropProxyWeb.ConnCase do use ExUnit.CaseTemplate using do quote do use Phoenix.ConnTest import InteropProxyWeb.Router.Helpers @endpoint InteropProxyWeb.Endpoint def protobuf_response(conn, status_code \\ 200, module) do content_type = get_resp_header conn, "conte...
21.423077
64
0.680431
ab5957fc2d9556e9a92086892ae15cfb6d3de16d
1,523
ex
Elixir
lib/perseus/boxes/stbl.ex
abhijeetbhagat/perseus
357a6d290ba078eff07d06ff9a5af0966932b84f
[ "MIT" ]
4
2020-03-22T06:34:46.000Z
2022-03-04T00:56:11.000Z
lib/perseus/boxes/stbl.ex
abhijeetbhagat/perseus
357a6d290ba078eff07d06ff9a5af0966932b84f
[ "MIT" ]
null
null
null
lib/perseus/boxes/stbl.ex
abhijeetbhagat/perseus
357a6d290ba078eff07d06ff9a5af0966932b84f
[ "MIT" ]
1
2020-03-26T02:41:21.000Z
2020-03-26T02:41:21.000Z
require Logger defmodule Perseus.Boxes.Stbl do defstruct( name: :stbl, stsd: nil, stts: nil, ctts: nil, stss: nil, stsc: nil, stsz: nil, stco: nil ) end alias Perseus.Boxes.Stbl defimpl Perseus.Box, for: Stbl do def loop(<<length::integer-32, atom_type::binary-4>>, file, cnt, si...
20.306667
87
0.554826
ab5968b20f7a9d468e666949d4a67a3d7bcbbfcb
2,657
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/android_matrix.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/android_matrix.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/android_matrix.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...
40.876923
135
0.724878
ab596c4f2a6de93ebf782e858ac624d9e2232f27
1,756
ex
Elixir
lib/plug_media_type_router.ex
danielgrieve/plug_media_type_router
30144c4977af8f0718b22e0fa463a18447eb47a0
[ "MIT" ]
1
2019-04-13T10:01:07.000Z
2019-04-13T10:01:07.000Z
lib/plug_media_type_router.ex
danielgrieve/plug_media_type_router
30144c4977af8f0718b22e0fa463a18447eb47a0
[ "MIT" ]
null
null
null
lib/plug_media_type_router.ex
danielgrieve/plug_media_type_router
30144c4977af8f0718b22e0fa463a18447eb47a0
[ "MIT" ]
null
null
null
defmodule PlugMediaTypeRouter do @moduledoc ~S""" A Plug for routing requests to other Plugs based on the request's Media Type. ## Examples PlugMediaTypeRouter.call(conn, [ default_version: "v2", name: "my_app", routers: %{ "v1" => MyApp.V1.Router, "v2" => MyApp...
22.805195
79
0.626424
ab597dc55e80a604ab39d7c26d4317ddde8aef0e
2,826
ex
Elixir
lib/verk/job.ex
andreaswillems/verk
177baf4d1225f4190aec4daaf3fecd595051ce34
[ "MIT" ]
null
null
null
lib/verk/job.ex
andreaswillems/verk
177baf4d1225f4190aec4daaf3fecd595051ce34
[ "MIT" ]
null
null
null
lib/verk/job.ex
andreaswillems/verk
177baf4d1225f4190aec4daaf3fecd595051ce34
[ "MIT" ]
null
null
null
defmodule Verk.Job do @moduledoc """ The Job struct. Set `config :verk, max_retry_count: value` on your config file to set the default max amount of retries on all your `Verk.Job` when none is informed. Defaults at `25`. """ @keys [ error_message: nil, failed_at: nil, retry_count: 0, queue...
26.660377
103
0.601557
ab597e244eab6bfb1a36ebf6cf235073cc341c67
8,794
ex
Elixir
lib/croma/result.ex
skirino/croma
b3853e94580a9d8f71f76a9c69a3020802bc3d72
[ "MIT" ]
123
2015-08-12T07:45:52.000Z
2022-02-06T21:42:03.000Z
lib/croma/result.ex
skirino/croma
b3853e94580a9d8f71f76a9c69a3020802bc3d72
[ "MIT" ]
11
2015-07-30T01:08:54.000Z
2021-03-29T04:00:20.000Z
lib/croma/result.ex
skirino/croma
b3853e94580a9d8f71f76a9c69a3020802bc3d72
[ "MIT" ]
16
2015-07-29T16:09:24.000Z
2021-05-23T14:20:20.000Z
defmodule Croma.Result do @moduledoc """ A simple data structure to represent a result of computation that can either succeed or fail, in the form of `{:ok, any}` or `{:error, any}`. In addition to many utility functions, this module also provides implementation of `Croma.Monad` interface for `t:Croma.Result...
30.324138
133
0.579486
ab59c757d38e9c0ab169b2085b20cf6b9a3abcb2
2,734
ex
Elixir
lib/content_disposition.ex
jeroenvisser101/content_disposition
9f5d90f79a24b66270a7827a4f7f4885dbed0c5c
[ "MIT" ]
1
2021-07-09T21:48:38.000Z
2021-07-09T21:48:38.000Z
lib/content_disposition.ex
jeroenvisser101/content_disposition
9f5d90f79a24b66270a7827a4f7f4885dbed0c5c
[ "MIT" ]
null
null
null
lib/content_disposition.ex
jeroenvisser101/content_disposition
9f5d90f79a24b66270a7827a4f7f4885dbed0c5c
[ "MIT" ]
null
null
null
defmodule ContentDisposition do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) @type disposition() :: :inline | :attachment | String.t() @type option() :: {:disposition, disposition()} | {:filename...
35.973684
101
0.65289
ab59e0346d22ace560bfd8101f77037beb5be67c
3,156
ex
Elixir
clients/runtime_config/lib/google_api/runtime_config/v1/model/operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/runtime_config/lib/google_api/runtime_config/v1/model/operation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/runtime_config/lib/google_api/runtime_config/v1/model/operation.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...
53.491525
543
0.724651
ab59f510fde093c9a5dcfbff798fd5994102a867
4,527
ex
Elixir
monitoring_hub/apps/monitoring_hub_utils/lib/monitoring_hub_utils/tcp_server.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
monitoring_hub/apps/monitoring_hub_utils/lib/monitoring_hub_utils/tcp_server.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
monitoring_hub/apps/monitoring_hub_utils/lib/monitoring_hub_utils/tcp_server.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
defmodule MonitoringHubUtils.TCPServer do use GenServer require Logger @behavious :ranch_protocol def start_link(ref, tcp_socket, tcp_transport, opts \\ []) do :proc_lib.start_link(__MODULE__, :init, [ref, tcp_socket, tcp_transport, opts]) end def init(ref, tcp_socket, tcp_transport, opts) do :ok ...
35.367188
131
0.626022
ab5a273b6d4139736b9b669e9223a67acd61a7cf
436
ex
Elixir
apps/dlq/lib/dlq/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/dlq/lib/dlq/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/dlq/lib/dlq/application.ex
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
defmodule Dlq.Application do @moduledoc false use Application use Properties, otp_app: :dlq getter(:init?, default: true) def start(_type, _args) do opts = [strategy: :one_for_one, name: Dlq.Supervisor] Supervisor.start_link(server(), opts) end defp server() do case {init?(), Application.ge...
21.8
60
0.651376
ab5a3384d852393a3d5851ba549f019420b75541
1,743
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/app_update_event.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/app_update_event.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/app_update_event.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...
37.085106
271
0.746414
ab5a5a065cd5648e4b367fcee37f70ba605e7216
130
ex
Elixir
chat-api/web/views/application_view.ex
antonpetkoff/smolltolk
64c6d4a52e7624302ad87a072fc108fe4c1382ec
[ "MIT" ]
null
null
null
chat-api/web/views/application_view.ex
antonpetkoff/smolltolk
64c6d4a52e7624302ad87a072fc108fe4c1382ec
[ "MIT" ]
3
2018-01-23T10:53:08.000Z
2018-01-23T10:58:23.000Z
chat-api/web/views/application_view.ex
antonpetkoff/smolltolk
64c6d4a52e7624302ad87a072fc108fe4c1382ec
[ "MIT" ]
null
null
null
defmodule Chat.ApplicationView do use Chat.Web, :view def render("not_found.json", _) do %{error: "Not found"} end end
16.25
36
0.676923
ab5a700935bebf2f2ea74474572fefbe9128b0a9
1,974
exs
Elixir
config/prod.exs
neftalyluis/melp
279e6501414356a6652638f9a9e321a566017da4
[ "Apache-2.0" ]
null
null
null
config/prod.exs
neftalyluis/melp
279e6501414356a6652638f9a9e321a566017da4
[ "Apache-2.0" ]
null
null
null
config/prod.exs
neftalyluis/melp
279e6501414356a6652638f9a9e321a566017da4
[ "Apache-2.0" ]
null
null
null
use Mix.Config # 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 files. This # manifest is generated by the `mix phx.digest` task, # ...
35.25
66
0.708713
ab5a7c162cca5d5fafe9fc42286a5a15cfd6f3a6
1,633
ex
Elixir
apps/tai/lib/tai/advisors/spec.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/lib/tai/advisors/spec.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/lib/tai/advisors/spec.ex
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Advisors.Spec do @type mod :: atom @type group_id :: Tai.AdvisorGroup.id() @type advisor_id :: Tai.Advisor.id() @type product :: Tai.Venues.Product.t() @type run_store :: Tai.Advisor.run_store() @type trades :: list @type config :: map @type spec_opts :: [ group_id: group_id, ...
28.649123
104
0.615432
ab5a9e718cdf5c9e0595bae0aa3df28a22ff9daf
1,220
ex
Elixir
web/views/error_helpers.ex
wlodarczykj/yacht
31a4199555a1e5e14b3cbed8a0d960477f4a5bd0
[ "Apache-2.0" ]
null
null
null
web/views/error_helpers.ex
wlodarczykj/yacht
31a4199555a1e5e14b3cbed8a0d960477f4a5bd0
[ "Apache-2.0" ]
null
null
null
web/views/error_helpers.ex
wlodarczykj/yacht
31a4199555a1e5e14b3cbed8a0d960477f4a5bd0
[ "Apache-2.0" ]
null
null
null
defmodule Yacht.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error), cl...
29.756098
71
0.665574
ab5b19a75d0eb0d0e28538149214b1f9485476b9
1,794
exs
Elixir
test/farmbot_celery_script/ast_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
test/farmbot_celery_script/ast_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
test/farmbot_celery_script/ast_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotCore.Celery.ASTTest do use ExUnit.Case alias FarmbotCore.Celery.AST @nothing_json "{\"kind\": \"nothing\", \"args\": {}}" |> Jason.decode!() @nothing_json_with_body "{\"kind\": \"nothing\", \"args\": {}, \"body\":[#{Jason.encode!(@nothing_json)}]}" |> ...
30.40678
125
0.596433
ab5b44439559162f361f50b0c84406fb93a19aaf
2,040
ex
Elixir
lib/types/date.ex
alaadahmed/timex_ecto
22d805c443d557a53260e17ef3d4a70482671f12
[ "MIT" ]
null
null
null
lib/types/date.ex
alaadahmed/timex_ecto
22d805c443d557a53260e17ef3d4a70482671f12
[ "MIT" ]
null
null
null
lib/types/date.ex
alaadahmed/timex_ecto
22d805c443d557a53260e17ef3d4a70482671f12
[ "MIT" ]
1
2021-03-11T22:09:04.000Z
2021-03-11T22:09:04.000Z
defmodule Timex.Ecto.Date do @moduledoc """ Support for using Timex with :date fields """ use Timex @behaviour Ecto.Type def type, do: :date @doc """ Handle casting to Timex.Ecto.Date """ def cast(%Date{} = date), do: {:ok, date} # Support embeds_one/embeds_many def cast(%{"calendar" => _, ...
24.285714
80
0.561765
ab5b68166d3649f614588b429361369513aae2cd
94
ex
Elixir
test/support/adapter_types.ex
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
4
2018-03-07T04:12:36.000Z
2018-03-08T16:13:14.000Z
test/support/adapter_types.ex
straw-hat-labs/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
61
2018-03-07T04:50:42.000Z
2019-11-01T10:24:03.000Z
test/support/adapter_types.ex
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
2
2018-03-22T19:44:45.000Z
2019-08-02T03:45:47.000Z
Postgrex.Types.define(StrawHat.Map.TestSupport.DatabaseAdapterTypes, [Geo.PostGIS.Extension])
47
93
0.851064
ab5b86600c992926812edf10126275cf0c13e8bc
761
exs
Elixir
test/support/router_helper.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
7
2021-01-31T04:51:08.000Z
2022-01-09T06:59:28.000Z
test/support/router_helper.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
2
2022-02-19T07:30:25.000Z
2022-02-27T14:12:26.000Z
test/support/router_helper.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
2
2021-02-06T08:40:23.000Z
2021-03-20T16:35:47.000Z
defmodule RouterHelper do @moduledoc """ Conveniences for testing routers and controllers. Must not be used to test endpoints as it does some pre-processing (like fetching params) which could skew endpoint tests. """ import Plug.Test defmacro __using__(_) do quote do use Plug.Test imp...
23.78125
67
0.676741
ab5b9853e14c345c9b48b30603610d0b95fc74c1
881
ex
Elixir
lib/ua_inspector/util/yaml.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
57
2015-04-07T03:10:45.000Z
2019-03-11T01:01:40.000Z
lib/ua_inspector/util/yaml.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
16
2015-03-09T19:56:17.000Z
2019-03-16T14:24:02.000Z
lib/ua_inspector/util/yaml.ex
elixytics/ua_inspector
11fd98f69b7853b70529ee73355ef57851248572
[ "Apache-2.0" ]
15
2015-02-02T23:14:00.000Z
2019-03-16T13:15:05.000Z
defmodule UAInspector.Util.YAML do @moduledoc false alias UAInspector.Config @doc """ Reads a yaml file and returns the contents. """ @spec read_file(Path.t()) :: {:ok, term} | {:error, :file_empty | File.posix()} def read_file(file) do {reader_mod, reader_fun, reader_extra_args} = Config.yaml_file_...
28.419355
83
0.649262
ab5bac1b6f007caa7c111c7d9cd014c81ea2d068
2,874
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/run_query_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/run_query_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/run_query_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
48.711864
421
0.726514
ab5bb1efd04be4d71d4e6f0eeac57ec8980b2229
9,323
exs
Elixir
test/credo/code_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
test/credo/code_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
test/credo/code_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
1
2020-06-30T16:32:44.000Z
2020-06-30T16:32:44.000Z
defmodule Credo.CodeTest do use Credo.TestHelper test "it should NOT report expected code" do lines = """ defmodule CredoSampleModule do def some_function(parameter1, parameter2) do some_value = parameter1 + parameter2 end end """ |> Credo.Code.to_lines()...
25.40327
141
0.38153
ab5bc90b7ade0da39e6cf562ea399a7ba6ae8407
21,101
ex
Elixir
lib/elixir/lib/task/supervised.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2020-01-14T18:44:56.000Z
2020-01-14T18:44:56.000Z
lib/elixir/lib/task/supervised.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task/supervised.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule Task.Supervised do @moduledoc false @ref_timeout 5000 def start(owner, callers, fun) do {:ok, :proc_lib.spawn(__MODULE__, :noreply, [owner, callers, fun])} end def start_link(owner, callers, fun) do {:ok, :proc_lib.spawn_link(__MODULE__, :noreply, [owner, callers, fun])} end def start...
32.41321
95
0.610587
ab5bdd63d3906e23a574b7dcc9c17792c0793e4e
2,950
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1_batch_process_metadata_individual_process_status.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1_batch_process_metadata_individual_process_status.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1_batch_process_metadata_individual_process_status.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...
44.029851
305
0.756949
ab5bf1f7f4c96863292aa408667c48ecb3f34a13
1,034
ex
Elixir
lib/chat_api_web/views/github_authorization_view.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
lib/chat_api_web/views/github_authorization_view.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
lib/chat_api_web/views/github_authorization_view.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule ChatApiWeb.GithubAuthorizationView do use ChatApiWeb, :view alias ChatApiWeb.GithubAuthorizationView def render("index.json", %{github_authorizations: github_authorizations}) do %{ data: render_many(github_authorizations, GithubAuthorizationView, "github_authorization.json") } e...
33.354839
98
0.758221
ab5c1212b0064017dcb74ecc3a10607440723171
4,596
ex
Elixir
clients/content/lib/google_api/content/v21/model/order_tracking_signal_shipping_info.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_tracking_signal_shipping_info.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/order_tracking_signal_shipping_info.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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...
59.688312
295
0.731506
ab5c2f0b80738a7c2a07a9ab0300228f32b86108
1,355
exs
Elixir
mix.exs
Enbala/absinthe_sorting_codec
b3904ce859ee6ea73dc128d95de12036fad416ac
[ "MIT" ]
null
null
null
mix.exs
Enbala/absinthe_sorting_codec
b3904ce859ee6ea73dc128d95de12036fad416ac
[ "MIT" ]
null
null
null
mix.exs
Enbala/absinthe_sorting_codec
b3904ce859ee6ea73dc128d95de12036fad416ac
[ "MIT" ]
1
2020-11-10T22:23:18.000Z
2020-11-10T22:23:18.000Z
defmodule AbsintheSortingCodec.MixProject do use Mix.Project def project do [ app: :absinthe_sorting_codec, version: "1.0.1", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), name: "Absinthe Sorting Codec", ...
27.653061
124
0.59262
ab5c3d597b9dcbccd55bc80644dcc8aa1117b6ff
2,858
ex
Elixir
lib/fluid/field/naive_date_time.ex
alexcastano/fluid
db56578060ca94c692b5d399ddf6f2209c47c8a1
[ "Apache-2.0" ]
23
2018-09-09T18:15:01.000Z
2022-02-20T23:35:47.000Z
lib/fluid/field/naive_date_time.ex
alexcastano/fluid
db56578060ca94c692b5d399ddf6f2209c47c8a1
[ "Apache-2.0" ]
null
null
null
lib/fluid/field/naive_date_time.ex
alexcastano/fluid
db56578060ca94c692b5d399ddf6f2209c47c8a1
[ "Apache-2.0" ]
3
2018-09-14T08:36:52.000Z
2021-09-30T01:23:34.000Z
defmodule Fluid.Field.NaiveDateTime do alias Fluid.Helper defstruct size: nil, time_unit: :millisecond, epoch: ~N[2015-01-01 00:00:00] def bit_size(%{size: size}), do: size defmacro def_field_functions(field_name, opts) do quote bind_quoted: [opts: opts, field_name: field_name] do Fluid.Field.Naive...
32.850575
90
0.650455
ab5c54eb7e81d46398a6314fe65dff671245fb92
2,716
exs
Elixir
live_view_studio/test/live_view_studio/stores_test.exs
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/test/live_view_studio/stores_test.exs
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/test/live_view_studio/stores_test.exs
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
defmodule LiveViewStudio.StoresTest do use LiveViewStudio.DataCase alias LiveViewStudio.Stores describe "stores" do alias LiveViewStudio.Stores.Store import LiveViewStudio.StoresFixtures @invalid_attrs %{city: nil, hours: nil, name: nil, open: nil, phone_number: nil, street: nil, zip: nil} te...
37.722222
217
0.675626
ab5c5fb0a6f1c78cdb829fec9b3bf1fa7211c96c
4,235
exs
Elixir
test/waffle/storage/google/cloud_storage_test.exs
GimletMedia/waffle_gcs
24f3fdaf0806dffd28fb1d4c265348996ceef349
[ "Apache-2.0" ]
24
2019-09-17T08:39:45.000Z
2021-03-27T05:41:57.000Z
test/waffle/storage/google/cloud_storage_test.exs
GimletMedia/waffle_gcs
24f3fdaf0806dffd28fb1d4c265348996ceef349
[ "Apache-2.0" ]
7
2020-03-20T19:41:13.000Z
2021-05-29T07:12:05.000Z
test/waffle/storage/google/cloud_storage_test.exs
GimletMedia/waffle_gcs
24f3fdaf0806dffd28fb1d4c265348996ceef349
[ "Apache-2.0" ]
11
2019-11-28T04:50:15.000Z
2021-03-27T02:08:05.000Z
defmodule Waffle.Storage.Google.CloudStorageTest do use ExUnit.Case, async: true alias Waffle.Storage.Google.CloudStorage @file_name "image.png" @file_path "test/support/#{@file_name}" @remote_dir "waffle-test" def env_bucket(), do: System.get_env("WAFFLE_BUCKET") def random_name(_) do name = 8 |>...
37.8125
143
0.668477
ab5ced67db326e9cd794246cd56870a0954d0728
3,963
ex
Elixir
lib/xml_stream_writer.ex
Annopaolo/xml_stream_writer
ae216646b82fa80fc05f07297462f80bfce9cc46
[ "Apache-2.0" ]
2
2020-01-21T03:25:21.000Z
2020-01-25T00:23:07.000Z
lib/xml_stream_writer.ex
secomind/xml_stream_writer
ae216646b82fa80fc05f07297462f80bfce9cc46
[ "Apache-2.0" ]
1
2021-03-17T17:29:48.000Z
2021-03-17T17:29:48.000Z
lib/xml_stream_writer.ex
secomind/xml_stream_writer
ae216646b82fa80fc05f07297462f80bfce9cc46
[ "Apache-2.0" ]
2
2020-01-20T17:10:18.000Z
2021-03-16T09:46:00.000Z
# # This file is part of xml_stream_writer. # # Copyright 2020 Ispirata Srl # # 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 requir...
28.510791
90
0.62705
ab5cf388ecf676e3983efe782872f4088f9ba272
1,933
ex
Elixir
clients/books/lib/google_api/books/v1/model/volume_volume_info_panelization_summary.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_volume_info_panelization_summary.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_volume_info_panelization_summary.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...
33.912281
92
0.738748
ab5d10672f8ce0cb86220d520aed5bf1a5c78a10
1,385
ex
Elixir
lib/graphd/type.ex
benpritchard/graphd
a301eceb4e686cb615d281590872404d1afa2b14
[ "Apache-2.0" ]
null
null
null
lib/graphd/type.ex
benpritchard/graphd
a301eceb4e686cb615d281590872404d1afa2b14
[ "Apache-2.0" ]
null
null
null
lib/graphd/type.ex
benpritchard/graphd
a301eceb4e686cb615d281590872404d1afa2b14
[ "Apache-2.0" ]
null
null
null
defmodule Graphd.Type do @moduledoc false @type request :: term @type json_lib :: module @callback describe(Graphd.Query.t(), Keyword.t()) :: Graphd.Query.t() @callback encode(Graphd.Query.t(), map, Keyword.t()) :: struct @callback decode(Graphd.Query.t(), term, Keyword.t()) :: term @callback execute(m...
34.625
95
0.640433
ab5d54599acf6e73ae04d32cd119300f84ba8cf3
990
ex
Elixir
test/support/channel_case.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
test/support/channel_case.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
test/support/channel_case.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts wit...
23.571429
68
0.710101
ab5d98166fddb075bf6b5991f22ca22155b0f538
1,809
ex
Elixir
goal_light_firmware/lib/goal_light.ex
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
goal_light_firmware/lib/goal_light.ex
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
goal_light_firmware/lib/goal_light.ex
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
defmodule GoalLightFirmware.GoalLight do @moduledoc """ Module for handling the state of the GPIO Output for the relay controlling the Goal Light """ use GenServer require Logger alias Circuits.GPIO def start_link(state \\ %{}) do GenServer.start_link(__MODULE__, state, name: __MODULE__) end @i...
23.802632
91
0.656164
ab5db6cb8b90f35290d1861d117fa4b107cbcdde
4,030
ex
Elixir
apps/extended_api/lib/extended_api/worker/find_transactions/approvees/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/extended_api/lib/extended_api/worker/find_transactions/approvees/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/extended_api/lib/extended_api/worker/find_transactions/approvees/helper/helper.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule ExtendedApi.Worker.FindTransactions.Approvees.Helper do @moduledoc """ This module hold all the required helper functions Which is gonna be used by FindTransactions.Approvees worker """ alias ExtendedApi.Worker.FindTransactions.{Approvees, Approvees.BundleFn, Approvees.EdgeFn} alias Core.Dat...
39.126214
110
0.665261
ab5ddaf613432506edc0fe609d217f8fa8e891c9
602
ex
Elixir
lib/docusign/model/account_password_lockout_duration_minutes.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/account_password_lockout_duration_minutes.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/account_password_lockout_duration_minutes.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Model.AccountPasswordLockoutDurationMinutes do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :maximumMinutes, ...
22.296296
84
0.700997
ab5de7d5f911e849c09cccfe89b18406745e475c
1,767
ex
Elixir
installer/templates/phx_umbrella/apps/app_name_web/lib/app_name.ex
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
1
2015-05-19T11:04:16.000Z
2015-05-19T11:04:16.000Z
installer/templates/phx_umbrella/apps/app_name_web/lib/app_name.ex
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
installer/templates/phx_umbrella/apps/app_name_web/lib/app_name.ex
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
defmodule <%= web_namespace %> 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 <%= web_namespace %>, :controller use <%= web_namespace %>, :view The definitions below will be executed ...
25.985294
86
0.655348
ab5dee6cd866ad62a22da80f1269e6cb3d6fabbb
2,290
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/update_shape_properties_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/update_shape_properties_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/slides/lib/google_api/slides/v1/model/update_shape_properties_request.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.207547
496
0.736681
ab5df76e5ff63de133fe0479cbabd04340d57e37
1,219
exs
Elixir
mix.exs
Murd4M1773n-M4f14/exshape
2320124891a61571c2e34e9f983b3c10af1d2ac2
[ "MIT" ]
18
2017-04-13T20:13:09.000Z
2021-12-30T08:37:53.000Z
mix.exs
socrata/exshape
2320124891a61571c2e34e9f983b3c10af1d2ac2
[ "MIT" ]
16
2017-04-26T03:20:55.000Z
2021-12-29T18:52:37.000Z
mix.exs
rozap/exshape
2320124891a61571c2e34e9f983b3c10af1d2ac2
[ "MIT" ]
9
2017-04-24T13:27:37.000Z
2021-01-06T18:18:17.000Z
defmodule Exshape.Mixfile do use Mix.Project def project do [ app: :exshape, version: "2.2.7", elixir: "~> 1.5", description: description(), package: package(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps() ] end d...
21.767857
79
0.579163
ab5e0121e3910bb452f552f1b6ad94d82ea6c265
85
exs
Elixir
test/absinthe_generator_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
1
2022-02-28T14:58:08.000Z
2022-02-28T14:58:08.000Z
test/absinthe_generator_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
null
null
null
test/absinthe_generator_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
null
null
null
defmodule AbsintheGeneratorTest do use ExUnit.Case doctest AbsintheGenerator end
17
34
0.847059
ab5e85a54ce43f8e775829783604850b08b63e36
1,903
ex
Elixir
lib/tragedy_of_the_commons.ex
xeejp/TheTragedyOfTheCommons
a674f24383a91125d25d9b6de55a4ae30750c305
[ "MIT" ]
null
null
null
lib/tragedy_of_the_commons.ex
xeejp/TheTragedyOfTheCommons
a674f24383a91125d25d9b6de55a4ae30750c305
[ "MIT" ]
1
2016-12-27T02:06:06.000Z
2016-12-27T02:06:06.000Z
lib/tragedy_of_the_commons.ex
xeejp/TheTragedyOfTheCommons
a674f24383a91125d25d9b6de55a4ae30750c305
[ "MIT" ]
null
null
null
defmodule TragedyOfTheCommons do use XeeThemeScript require Logger alias TragedyOfTheCommons.Main alias TragedyOfTheCommons.Actions alias TragedyOfTheCommons.Host alias TragedyOfTheCommons.Participant # Callbacks def script_type do :message end def install, do: nil def init do {:ok, %{d...
30.693548
87
0.657909
ab5e8c3823e03b24d093f158fe568f30691e16b8
1,656
ex
Elixir
clients/alert_center/lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/alert_center/lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/alert_center/lib/google_api/alert_center/v1beta1/model/user_defined_detector_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.12
114
0.736111
ab5ecddf899a8d2adb5bf52779f89ba965b01a20
904
exs
Elixir
config/releases.sample.exs
sFractal-Podii/quadquizaminos
1693f2d1c6ffee33065dd2ba7d899ac4aa405762
[ "MIT" ]
null
null
null
config/releases.sample.exs
sFractal-Podii/quadquizaminos
1693f2d1c6ffee33065dd2ba7d899ac4aa405762
[ "MIT" ]
null
null
null
config/releases.sample.exs
sFractal-Podii/quadquizaminos
1693f2d1c6ffee33065dd2ba7d899ac4aa405762
[ "MIT" ]
null
null
null
import Config host_url = "35.232.208.120" # Configure your database config :quadquizaminos, Quadquizaminos.Repo, username: "postgres", password: "provide_database_password", database: "quadquizaminos_prod", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 config :quadqu...
27.393939
98
0.764381
ab5ed272cecff0d47297cc43c8d926d0487f4eec
2,511
ex
Elixir
lib/mix/tasks/triplex.migrations.ex
felipe-kosouski/triplex
daa68037217a17eedf9eef4c9e8ca88da4ad8870
[ "MIT" ]
344
2017-07-03T11:30:26.000Z
2022-03-30T19:11:41.000Z
lib/mix/tasks/triplex.migrations.ex
felipe-kosouski/triplex
daa68037217a17eedf9eef4c9e8ca88da4ad8870
[ "MIT" ]
56
2017-06-29T01:55:35.000Z
2022-03-15T22:09:47.000Z
lib/mix/tasks/triplex.migrations.ex
felipe-kosouski/triplex
daa68037217a17eedf9eef4c9e8ca88da4ad8870
[ "MIT" ]
45
2017-08-15T18:59:41.000Z
2022-03-17T17:00:50.000Z
defmodule Mix.Tasks.Triplex.Migrations do use Mix.Task alias Ecto.Migrator alias Mix.Ecto alias Mix.Triplex, as: MTriplex @shortdoc "Displays the repository migration status" @recursive true @moduledoc """ Displays the up / down migration status for the given repository. The repository must be se...
25.622449
76
0.637196
ab5ef635eafecf5c01777417eea98080f177455a
176
ex
Elixir
lib/bearings_web/dailies/daily.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
3
2018-05-29T12:16:14.000Z
2019-09-25T21:12:36.000Z
lib/bearings_web/dailies/daily.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
23
2018-05-25T21:09:43.000Z
2021-12-16T05:45:25.000Z
lib/bearings_web/dailies/daily.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
null
null
null
defimpl Phoenix.Param, for: Bearings.Dailies.Daily do alias Bearings.Dailies.Daily def to_param(%Daily{date: date}) do Timex.format!(date, "{YYYY}-{M}-{D}") end end
22
53
0.693182