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
2d7d79b372fc2a407504db6f42c4facc7d32c575
299
exs
Elixir
config/prod.exs
julioleitao/zapex
7249360a1a3417831e53150686def0f7c987ff32
[ "MIT" ]
null
null
null
config/prod.exs
julioleitao/zapex
7249360a1a3417831e53150686def0f7c987ff32
[ "MIT" ]
null
null
null
config/prod.exs
julioleitao/zapex
7249360a1a3417831e53150686def0f7c987ff32
[ "MIT" ]
null
null
null
use Mix.Config config :zapex, ZapexWeb.Endpoint, http: [:inet6, port: System.get_env("PORT") || 4000], url: [host: "example.com", port: 80], cache_static_manifest: "priv/static/cache_manifest.json" config :logger, level: :info config :zapex, Zapex.Repo, url: System.get_env("DATABASE_URL")
27.181818
62
0.715719
2d7da300b705802858514c22244b766c7f25d51a
197
exs
Elixir
priv/repo/migrations/20220319225457_add_collapsed_entries.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
priv/repo/migrations/20220319225457_add_collapsed_entries.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
priv/repo/migrations/20220319225457_add_collapsed_entries.exs
knoebber/petaller
3532db5a3688459127d2427af42e32ca0f494d44
[ "MIT" ]
null
null
null
defmodule Purple.Repo.Migrations.AddCollapsedEntries do use Ecto.Migration def change do alter table("item_entries") do add :is_collapsed, :boolean, default: false end end end
19.7
55
0.730964
2d7da4b2f8cb776248dbb1a928ae52613030e455
1,135
ex
Elixir
test/support/application.ex
karabiner-inc/materia_batch
92508508e2cfcdf8c938093e5cdc5b11b730ca67
[ "Apache-2.0" ]
null
null
null
test/support/application.ex
karabiner-inc/materia_batch
92508508e2cfcdf8c938093e5cdc5b11b730ca67
[ "Apache-2.0" ]
1
2019-12-13T06:26:50.000Z
2019-12-13T06:26:55.000Z
test/support/application.ex
karabiner-inc/materia_batch
92508508e2cfcdf8c938093e5cdc5b11b730ca67
[ "Apache-2.0" ]
null
null
null
defmodule MateriaBatch.Test.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repos...
35.46875
90
0.729515
2d7dc57fd93ba50c6145f38ee798be48d84c2d42
2,248
ex
Elixir
apps/glayu/lib/glayu/cli/new.ex
pmartinezalvarez/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
51
2017-05-21T07:27:34.000Z
2017-11-30T04:34:17.000Z
apps/glayu/lib/glayu/cli/new.ex
doc22940/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
17
2017-06-14T18:40:44.000Z
2017-08-20T16:14:58.000Z
apps/glayu/lib/glayu/cli/new.ex
doc22940/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
5
2017-06-04T19:55:56.000Z
2017-07-29T16:18:58.000Z
defmodule Glayu.CLI.New do @behaviour Glayu.CLI.Command alias Glayu.Tasks.New def options do [] end def aliases do [] end def help do IO.ANSI.format(["\n", "glayu ", :reset, :light_cyan, "new ", :reset, "[", :bright, "folder", :reset, "] <", :bright, "title", :reset, ">\n", "\...
27.753086
267
0.58363
2d7dc6f30de4889dfebfb231f905974eef4fe24f
1,616
ex
Elixir
lib/web/controllers/admin/room_exit_controller.ex
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/web/controllers/admin/room_exit_controller.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/web/controllers/admin/room_exit_controller.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Web.Admin.RoomExitController do use Web.AdminController alias Web.Proficiency alias Web.Room alias Web.Zone def new(conn, %{"room_id" => room_id, "direction" => direction}) do room = Room.get(room_id) zone = Zone.get(room.zone_id) changeset = Room.new_exit() conn |> assign(:ch...
28.350877
90
0.590347
2d7dc904fb998d08c0004d1b346107810eb5e53e
84
exs
Elixir
config/dev.exs
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
54
2017-03-09T20:43:11.000Z
2022-03-29T16:59:20.000Z
config/dev.exs
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
17
2017-03-12T18:16:21.000Z
2017-05-30T03:34:57.000Z
config/dev.exs
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
2
2017-04-23T23:47:41.000Z
2017-11-19T13:38:25.000Z
use Mix.Config config :dwarlixir, :world, init: "cdaf62050c854082affa4fdde187428c"
21
67
0.809524
2d7dcc2814d02838ace3aa016b164828b732d4b0
6,117
exs
Elixir
test/parsers/rss2_test.exs
v-kolesnikov/elixir-feedme
b32dff239a1708cafae2fc5c13d94f2253b42d95
[ "MIT" ]
16
2015-09-10T12:46:19.000Z
2020-10-02T18:29:35.000Z
test/parsers/rss2_test.exs
v-kolesnikov/elixir-feedme
b32dff239a1708cafae2fc5c13d94f2253b42d95
[ "MIT" ]
4
2016-01-08T22:46:58.000Z
2017-01-26T22:01:56.000Z
test/parsers/rss2_test.exs
v-kolesnikov/elixir-feedme
b32dff239a1708cafae2fc5c13d94f2253b42d95
[ "MIT" ]
12
2015-11-18T10:18:58.000Z
2019-05-06T08:12:46.000Z
defmodule Feedme.Test.Parsers.RSS2 do use ExUnit.Case alias Feedme.XmlNode alias Feedme.Parsers.RSS2 setup do sample1 = XmlNode.from_file("test/fixtures/rss2/sample1.xml") sample2 = XmlNode.from_file("test/fixtures/rss2/sample2.xml") big_sample = XmlNode.from_file("test/fixtures/rss2/bigsample.xml...
29.267943
442
0.573811
2d7de8a98ceae88bc13e5e173e0fe34488573a53
982
exs
Elixir
youtube/groxio/tetris/config/config.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/groxio/tetris/config/config.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
youtube/groxio/tetris/config/config.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :tetris, Tetris...
33.862069
86
0.771894
2d7e24e3ede7894c2f0e07395edab7e262508904
409
exs
Elixir
test/teddy_web/views/error_view_test.exs
abotkit/teddy
72f1c7015a278d4fd1b2c90daeaeb49d0d8ef142
[ "MIT" ]
1
2022-02-03T19:41:52.000Z
2022-02-03T19:41:52.000Z
test/teddy_web/views/error_view_test.exs
abotkit/teddy
72f1c7015a278d4fd1b2c90daeaeb49d0d8ef142
[ "MIT" ]
null
null
null
test/teddy_web/views/error_view_test.exs
abotkit/teddy
72f1c7015a278d4fd1b2c90daeaeb49d0d8ef142
[ "MIT" ]
null
null
null
defmodule TeddyWeb.ErrorViewTest do use TeddyWeb.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(TeddyWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert r...
27.266667
90
0.728606
2d7e2821b1f83751b959e920d7171abcab36b09d
2,763
ex
Elixir
lib/data/save/loader.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/data/save/loader.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/data/save/loader.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Data.Save.Loader do @moduledoc """ Functions for loading a save struct """ alias Data.ActionBar alias Data.Item alias Data.Save alias Data.Save.Migrations @doc """ Load the save map from the database into a `Save` struct """ def load(save) do save = save |> atomize() ...
21.418605
81
0.553746
2d7e38adef1dbb2842a7a7a325ac204fcfe62ff0
17,062
exs
Elixir
apps/api_web/test/api_web/controllers/prediction_controller_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/api_web/test/api_web/controllers/prediction_controller_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/api_web/test/api_web/controllers/prediction_controller_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule ApiWeb.PredictionControllerTest do @moduledoc false use ApiWeb.ConnCase import ApiWeb.PredictionController alias Model.{Prediction, Stop, Trip} @route %Model.Route{ id: "red", type: 1, sort_order: 1, description: "First Route", short_name: "First", long_name: "The First" ...
30.144876
103
0.572559
2d7e8743462f6fa8d93897fe6ee936de9d06602e
4,340
ex
Elixir
lib/acl/user_groups/config.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
1
2019-09-05T23:00:48.000Z
2019-09-05T23:00:48.000Z
lib/acl/user_groups/config.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
7
2020-10-27T20:42:06.000Z
2021-11-15T07:41:15.000Z
lib/acl/user_groups/config.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
6
2016-04-06T09:28:43.000Z
2021-08-09T12:29:16.000Z
alias Acl.Accessibility.Always, as: AlwaysAccessible alias Acl.Accessibility.ByQuery, as: AccessByQuery alias Acl.GraphSpec.Constraint.Resource.AllPredicates, as: AllPredicates alias Acl.GraphSpec.Constraint.Resource.NoPredicates, as: NoPredicates alias Acl.GraphSpec.Constraint.Resource, as: ResourceConstraint alias Ac...
49.885057
266
0.579954
2d7e905d3a838b72ba8453692fd3b7e69d4a3170
1,647
ex
Elixir
web/web.ex
mattferderer/phoenix-elm-contacts-tutorial
4ca76524bca9906a8442de03b7b142a81a4e7b3d
[ "MIT" ]
null
null
null
web/web.ex
mattferderer/phoenix-elm-contacts-tutorial
4ca76524bca9906a8442de03b7b142a81a4e7b3d
[ "MIT" ]
null
null
null
web/web.ex
mattferderer/phoenix-elm-contacts-tutorial
4ca76524bca9906a8442de03b7b142a81a4e7b3d
[ "MIT" ]
null
null
null
defmodule ContactApp.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use ContactApp.Web, :controller use ContactApp.Web, :view The definitions below will be executed for every view, controller, etc, so keep...
20.085366
88
0.672738
2d7ead05d72268b0843ce5e95191292aa09010fc
7,585
ex
Elixir
lib/mime.ex
eksperimental/mime
9d288b92ca55ecf56f04feb4434239841b375fd3
[ "Apache-2.0" ]
null
null
null
lib/mime.ex
eksperimental/mime
9d288b92ca55ecf56f04feb4434239841b375fd3
[ "Apache-2.0" ]
null
null
null
lib/mime.ex
eksperimental/mime
9d288b92ca55ecf56f04feb4434239841b375fd3
[ "Apache-2.0" ]
null
null
null
defmodule MIME do @moduledoc """ Maps MIME types to its file extensions and vice versa. MIME types can be extended in your application configuration as follows: config :mime, :types, %{ "application/vnd.api+json" => ["json-api"] } After adding the configuration, MIME needs to be recompi...
27.98893
92
0.571655
2d7ef1eb5805924e988c0ec8810a551ff644f0bc
873
ex
Elixir
lib/firestorm_web/application.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
null
null
null
lib/firestorm_web/application.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
null
null
null
lib/firestorm_web/application.ex
IsaacRoss/dripforum
2b943df8e3b1b75d9e297a4fad865db4d9e8e230
[ "MIT" ]
null
null
null
defmodule FirestormWeb.Application do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the...
34.92
90
0.717068
2d7ef566b3e3a8eaa1d60750446af0702f0f4e5c
2,791
exs
Elixir
apps/ewallet/test/ewallet/permissions/bouncer/targets/export_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/ewallet/permissions/bouncer/targets/export_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/ewallet/permissions/bouncer/targets/export_target_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.8875
86
0.701182
2d7f01d353e64c73b0460504fe1bea3e2589780a
67
exs
Elixir
config/prod.exs
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
config/prod.exs
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
config/prod.exs
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
use Mix.Config config :ex_behavior_example, writer: FileWriter
16.75
28
0.791045
2d7f2ae434f98ba751aa15a6372a40caaa899acb
1,097
exs
Elixir
phone-number/phone_number_test.exs
elasticdog/xelixir
ad6b006b0d492bf5b2abee0eb757246d8cd580cd
[ "MIT" ]
null
null
null
phone-number/phone_number_test.exs
elasticdog/xelixir
ad6b006b0d492bf5b2abee0eb757246d8cd580cd
[ "MIT" ]
null
null
null
phone-number/phone_number_test.exs
elasticdog/xelixir
ad6b006b0d492bf5b2abee0eb757246d8cd580cd
[ "MIT" ]
null
null
null
if System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("example.exs") else Code.load_file("phone_number.exs") end ExUnit.start defmodule PhoneTest do use ExUnit.Case, async: true test "cleans number" do assert Phone.number("(123) 456-7890") == "1234567890" end test "cleans number with dots" d...
22.854167
60
0.673655
2d7f408f6b1cf43010fb573830d1722a0fb7db13
2,119
ex
Elixir
lib/edib/options.ex
netflakes/mix-edib
f8f7f9adc370a21f4adca80dd07b71367fd43199
[ "MIT" ]
100
2016-01-11T15:36:42.000Z
2019-09-30T17:25:51.000Z
lib/edib/options.ex
netflakes/mix-edib
f8f7f9adc370a21f4adca80dd07b71367fd43199
[ "MIT" ]
35
2016-02-29T23:05:03.000Z
2019-05-16T21:22:04.000Z
lib/edib/options.ex
netflakes/mix-edib
f8f7f9adc370a21f4adca80dd07b71367fd43199
[ "MIT" ]
20
2016-01-28T14:04:17.000Z
2019-09-29T22:22:08.000Z
defmodule EDIB.Options do @moduledoc false alias EDIB.BuildConfig.Artifact defstruct silent: false, writer: &EDIB.Utils.PrefixWriter.write/1, artifact_config: %Artifact{} @option_aliases [ e: :edib, h: :hex, k: :ssh_keys, n: :name, p: :prefix, ...
25.841463
80
0.62152
2d7f5abd83f2b6e7d52a5c5ad2b9fec1f5930437
536
ex
Elixir
lib/la_famiglia/conversation_status.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
lib/la_famiglia/conversation_status.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
lib/la_famiglia/conversation_status.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamiglia.ConversationStatus do use LaFamiglia.Web, :model alias LaFamiglia.Player alias LaFamiglia.Conversation schema "conversation_statuses" do belongs_to :player, Player belongs_to :conversation, Conversation field :read_until, :utc_datetime timestamps end @doc """ Buil...
20.615385
56
0.699627
2d7f7e9fd07bc3345353372eb80f07432dd356d8
2,617
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/configuration_condition.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/configuration_condition.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/configuration_condition.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...
42.209677
275
0.713794
2d7fed9d415a2afeacd674740522f3129b677df3
1,123
exs
Elixir
hitb_umbrella/apps/account/config/config.exs
ravesky/hitb
91276be81a8b797ea47a6e048a723a08be21288c
[ "MIT" ]
1
2020-03-17T11:46:23.000Z
2020-03-17T11:46:23.000Z
hitb_umbrella/apps/account/config/config.exs
wang12580/hitb
b004aad92660541bcbae5a2af933f48fa6b14cd7
[ "MIT" ]
null
null
null
hitb_umbrella/apps/account/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.225806
73
0.751558
2d80045fbda683346298bcc399a7897a0945a151
5,500
ex
Elixir
lib/raft/server.ex
slogsdon/elixir-raft
60d2368a73d21f24e3f20e2fafb6158c2d502c6e
[ "MIT" ]
5
2015-10-16T21:27:19.000Z
2016-07-30T00:45:47.000Z
lib/raft/server.ex
slogsdon/elixir-raft
60d2368a73d21f24e3f20e2fafb6158c2d502c6e
[ "MIT" ]
null
null
null
lib/raft/server.ex
slogsdon/elixir-raft
60d2368a73d21f24e3f20e2fafb6158c2d502c6e
[ "MIT" ]
null
null
null
defmodule Raft.Server do @moduledoc """ """ alias Raft.Server.State @type ref :: atom | {atom, atom} | pid @doc """ Invoked by leader to replicate log entries (§5.3); also used as heartbeat (§5.2). ## Arguments - `ref` - a reference to a Raft server - `term` - leader’s term - `leader_id` - so...
31.073446
178
0.670727
2d801dce20734e95e4c686c21e42fae2dc19e7cd
2,623
ex
Elixir
lib/geo_postgis/extension.ex
rands0n/geo_postgis
a299a66b654a40f180f36f5a7de21978e8b65e2f
[ "MIT" ]
220
2017-07-15T22:20:31.000Z
2022-03-30T22:22:57.000Z
lib/geo_postgis/extension.ex
rands0n/geo_postgis
a299a66b654a40f180f36f5a7de21978e8b65e2f
[ "MIT" ]
100
2017-09-09T19:40:47.000Z
2022-03-23T12:26:56.000Z
lib/geo_postgis/extension.ex
rands0n/geo_postgis
a299a66b654a40f180f36f5a7de21978e8b65e2f
[ "MIT" ]
60
2017-08-10T10:05:39.000Z
2022-01-25T21:53:25.000Z
defmodule Geo.PostGIS.Extension do @moduledoc """ PostGIS extension for Postgrex. Supports Geometry and Geography data types. ## Examples Create a new Postgrex Types module: Postgrex.Types.define(MyApp.PostgresTypes, [Geo.PostGIS.Extension], []) If using with Ecto, you may want something like thing ...
27.610526
111
0.631338
2d803f08df37c2c42b18ff2f46bc1b3af876689d
1,672
exs
Elixir
test/custom/custom_tag_test.exs
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
test/custom/custom_tag_test.exs
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
test/custom/custom_tag_test.exs
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
defmodule Liquex.Custom.CustomTagTest do @moduledoc false use ExUnit.Case, async: true defmodule CustomTagExample do @moduledoc false @behaviour Liquex.Render import NimbleParsec alias Liquex.Parser.Base # Parse <<Custom Tag>> def custom_tag(combinator \\ empty()) do text = ...
24.955224
95
0.589713
2d803ffba32003aa57dbef8e32e8b87ad388f38e
70
ex
Elixir
lib/arrow_web/views/temp_review_changes_view.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
lib/arrow_web/views/temp_review_changes_view.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
lib/arrow_web/views/temp_review_changes_view.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
defmodule ArrowWeb.TempReviewChangesView do use ArrowWeb, :view end
17.5
43
0.828571
2d8040354763165004b15f71201cfdbf01f9af58
3,744
ex
Elixir
lib/tune/spotify/client.ex
nickgnd/tune
7244d2ff318c68b4712d24871ac26b009e0933ae
[ "MIT" ]
206
2020-08-23T17:50:03.000Z
2022-03-28T04:39:01.000Z
lib/tune/spotify/client.ex
nickgnd/tune
7244d2ff318c68b4712d24871ac26b009e0933ae
[ "MIT" ]
112
2020-08-21T08:26:38.000Z
2022-03-31T06:11:06.000Z
lib/tune/spotify/client.ex
mateuszkwiatkowski/tune
9a929e30fa20581349385ac8be0db5eb88036a36
[ "MIT" ]
15
2020-08-25T02:30:23.000Z
2021-12-16T14:19:35.000Z
defmodule Tune.Spotify.Client do @moduledoc """ Defines a behaviour that can be used to model a Spotify API client. For a working implementation, see `Tune.Spotify.Client.HTTP`. """ alias Tune.Duration alias Tune.Spotify.Schema alias Schema.{ Album, Artist, Device, Episode, Player,...
43.034483
98
0.582265
2d8047adf01de2b96a872e05aa83294ad7acc882
528
ex
Elixir
Microsoft.Azure.Management.Preview.BotService/lib/microsoft/azure/management/preview/bot_service/model/kind.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Preview.BotService/lib/microsoft/azure/management/preview/bot_service/model/kind.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Preview.BotService/lib/microsoft/azure/management/preview/bot_service/model/kind.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# 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 Microsoft.Azure.Management.Preview.BotService.Model.Kind do @moduledoc """ Indicates the type of bot service """ @derive [Poison.Encoder]...
20.307692
88
0.719697
2d808195aa7fb3aa5f569bd5d16baf87fc9184f3
2,140
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/region_instance_groups_set_named_ports_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/region_instance_groups_set_named_ports_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/region_instance_groups_set_named_ports_request.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 ...
42.8
446
0.759813
2d80882e3b9fbb6cd8a70d23eae219dfc7088496
60
exs
Elixir
007.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
007.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
007.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
Primes.stream |> Enum.take(10_001) |> Enum.at(-1) |> IO.puts
15
20
0.65
2d80b4cabcba95930de95c617533692cec50b608
45
exs
Elixir
test/test_helper.exs
crertel/statisaur
4c70aba7c04be2ad06432124ac5dc76094170ff1
[ "Unlicense" ]
3
2020-08-19T10:19:42.000Z
2021-01-28T08:19:09.000Z
test/test_helper.exs
crertel/statisaur
4c70aba7c04be2ad06432124ac5dc76094170ff1
[ "Unlicense" ]
null
null
null
test/test_helper.exs
crertel/statisaur
4c70aba7c04be2ad06432124ac5dc76094170ff1
[ "Unlicense" ]
null
null
null
defmodule TestHelper do ExUnit.start() end
11.25
23
0.777778
2d80d8cf76b12dac14aa8b7b00536d2311e23d77
570
ex
Elixir
lib/teiserver_web/controllers/report/general_controller.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver_web/controllers/report/general_controller.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/teiserver_web/controllers/report/general_controller.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
defmodule TeiserverWeb.Report.GeneralController do use CentralWeb, :controller plug(AssignPlug, sidemenu_active: ["teiserver"] ) plug Bodyguard.Plug.Authorize, policy: Teiserver.Account.Admin, action: {Phoenix.Controller, :action_name}, user: {Central.Account.AuthLib, :current_user} plug(:a...
25.909091
67
0.698246
2d80f1958fe39b5c3a03864c76d5d572709d5c08
772
ex
Elixir
clients/elixir/generated/lib/adobe_experience_manager(aem)api/model/saml_configuration_property_items_string.ex
hoomaan-kh/swagger-aem
0b19225bb6e071df761d176cbc13565891fe895f
[ "Apache-2.0" ]
null
null
null
clients/elixir/generated/lib/adobe_experience_manager(aem)api/model/saml_configuration_property_items_string.ex
hoomaan-kh/swagger-aem
0b19225bb6e071df761d176cbc13565891fe895f
[ "Apache-2.0" ]
null
null
null
clients/elixir/generated/lib/adobe_experience_manager(aem)api/model/saml_configuration_property_items_string.ex
hoomaan-kh/swagger-aem
0b19225bb6e071df761d176cbc13565891fe895f
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdobeExperienceManager(AEM)API.Model.SamlConfigurationPropertyItemsString do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :...
21.444444
105
0.651554
2d81082149ea820d1f601c5af58abc2206d90653
378
ex
Elixir
apps/console/lib/console/web/views/error_view.ex
feb29/poly
e64e7a50d1683e1c29acf3d1b6973a3098f5850a
[ "MIT", "Unlicense" ]
null
null
null
apps/console/lib/console/web/views/error_view.ex
feb29/poly
e64e7a50d1683e1c29acf3d1b6973a3098f5850a
[ "MIT", "Unlicense" ]
null
null
null
apps/console/lib/console/web/views/error_view.ex
feb29/poly
e64e7a50d1683e1c29acf3d1b6973a3098f5850a
[ "MIT", "Unlicense" ]
null
null
null
defmodule Console.Web.ErrorView do use Console.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_templ...
21
47
0.698413
2d810fdedc2147aad76d35b1ab4eb4c977f0281e
176
exs
Elixir
priv/repo/migrations/20181009002020_add_descriptions_to_games.exs
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
priv/repo/migrations/20181009002020_add_descriptions_to_games.exs
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
priv/repo/migrations/20181009002020_add_descriptions_to_games.exs
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
defmodule Grapevine.Repo.Migrations.AddDescriptionsToGames do use Ecto.Migration def change do alter table(:games) do add(:description, :text) end end end
17.6
61
0.721591
2d811cd410a2e3cb338d7f4b77e5ad6d8b62e6b1
2,381
ex
Elixir
homesynck/lib/homesynck_web/live/dashboard_live.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
5
2021-03-28T21:20:41.000Z
2021-07-02T22:46:29.000Z
homesynck/lib/homesynck_web/live/dashboard_live.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
homesynck/lib/homesynck_web/live/dashboard_live.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
defmodule HomesynckWeb.DashboardLive do use HomesynckWeb, :live_view alias Homesynck.Auth alias Homesynck.Sync @impl true def mount(_params, %{"user_id" => user_id}, socket) do user = Auth.get_user!(user_id) instance = %{ name: instance_name(), description: instance_description(), ...
24.050505
83
0.654767
2d818051383687b999189d98099f4bde459a80e5
919
ex
Elixir
platform/target/network/wait_for_time.ex
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
null
null
null
platform/target/network/wait_for_time.ex
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
null
null
null
platform/target/network/wait_for_time.ex
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
null
null
null
defmodule Farmbot.Target.Network.WaitForTime do use Farmbot.Logger nerves_time = case Nerves.Time.FileTime.time() do {:error, _} -> NaiveDateTime.utc_now() ndt -> ndt end @nerves_time nerves_time def start_link(_, _) do :ok = wait_for_time() Logger.success 3, "Time seems to be set. Moving on....
27.029412
77
0.65506
2d818c6c45da089faedac981b7a9f37473a14e3e
2,351
ex
Elixir
lib/materia_commerce_web/views/item_view.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
1
2019-11-19T07:38:38.000Z
2019-11-19T07:38:38.000Z
lib/materia_commerce_web/views/item_view.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
31
2018-12-26T02:05:55.000Z
2021-05-14T03:33:07.000Z
lib/materia_commerce_web/views/item_view.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
null
null
null
defmodule MateriaCommerceWeb.ItemView do use MateriaCommerceWeb, :view alias MateriaCommerceWeb.ItemView alias MateriaCommerceWeb.PriceView alias MateriaCommerceWeb.TaxView alias MateriaWeb.UserView alias MateriaUtils.Calendar.CalendarUtil def render("index.json", %{items: items}) do render_many(item...
31.346667
94
0.666525
2d81afadddb1bd9e7a54b0a023ec5e89880fa7c3
1,480
ex
Elixir
lib/together_web/views/error_helpers.ex
BryanJBryce/Get-Together
7c6a5456e849a48d3575bf2caa957974228f1126
[ "MIT" ]
1
2019-10-23T16:02:08.000Z
2019-10-23T16:02:08.000Z
lib/together_web/views/error_helpers.ex
BryanJBryce/Get-Together
7c6a5456e849a48d3575bf2caa957974228f1126
[ "MIT" ]
1
2021-03-09T20:59:56.000Z
2021-03-09T20:59:56.000Z
lib/together_web/views/error_helpers.ex
BryanJBryce/Get-Together
7c6a5456e849a48d3575bf2caa957974228f1126
[ "MIT" ]
1
2019-10-22T15:07:36.000Z
2019-10-22T15:07:36.000Z
defmodule TogetherWeb.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 Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag...
32.888889
77
0.670946
2d81bf316ea391d5539fa93a602035b7ff294e87
544
exs
Elixir
bigquery/mix.exs
renovate-bot/elixir-samples
91da795ecdfac83eb6fcac63bc532da98c69d520
[ "Apache-2.0" ]
274
2017-08-25T06:39:51.000Z
2022-03-15T21:03:27.000Z
bigquery/mix.exs
renovate-bot/elixir-samples
91da795ecdfac83eb6fcac63bc532da98c69d520
[ "Apache-2.0" ]
15
2017-10-03T17:05:48.000Z
2021-11-23T00:33:23.000Z
bigquery/mix.exs
renovate-bot/elixir-samples
91da795ecdfac83eb6fcac63bc532da98c69d520
[ "Apache-2.0" ]
42
2017-08-28T20:08:47.000Z
2022-01-18T07:51:02.000Z
defmodule GoogleApi.BigQuery.Samples.Mixfile do use Mix.Project def project do [ app: :bigquery_samples, version: "0.0.1", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application d...
18.758621
59
0.579044
2d81c17850ab27ccb7bf73b49dbd450c12ac4e0b
564
ex
Elixir
lib/repo/action_type.ex
INGCRENGIFO/ex_audit
a30918131fb6b23e7b09d1db38116cef66d91405
[ "MIT" ]
277
2017-10-18T13:19:40.000Z
2022-03-24T17:11:47.000Z
lib/repo/action_type.ex
INGCRENGIFO/ex_audit
a30918131fb6b23e7b09d1db38116cef66d91405
[ "MIT" ]
68
2017-10-27T01:54:21.000Z
2022-02-22T16:34:48.000Z
lib/repo/action_type.ex
INGCRENGIFO/ex_audit
a30918131fb6b23e7b09d1db38116cef66d91405
[ "MIT" ]
81
2018-02-11T07:00:11.000Z
2022-03-29T21:10:15.000Z
defmodule ExAudit.Type.Action do use Ecto.Type @actions ~w[created updated deleted]a for action <- @actions do def cast(unquote(Atom.to_string(action))) do {:ok, unquote(action)} end def cast(unquote(action)) do {:ok, unquote(action)} end def load(unquote(Atom.to_string(action)...
18.8
48
0.624113
2d81c8e809ed89f97b0c8a4e985a56ff370d31e0
466
ex
Elixir
lib/absinthe_trace_reporter/context.ex
evuez/absinthe_trace_reporter
2747ec11b63d21a2911c30c6fb20154df0b2ead8
[ "MIT" ]
null
null
null
lib/absinthe_trace_reporter/context.ex
evuez/absinthe_trace_reporter
2747ec11b63d21a2911c30c6fb20154df0b2ead8
[ "MIT" ]
null
null
null
lib/absinthe_trace_reporter/context.ex
evuez/absinthe_trace_reporter
2747ec11b63d21a2911c30c6fb20154df0b2ead8
[ "MIT" ]
null
null
null
defmodule AbsintheTraceReporter.Context do def init(opts), do: opts def call(conn, _) do info = build_trace_info(conn) conn = Absinthe.Plug.put_options(conn, %{a: 1}) options = Map.merge(conn.private[:absinthe], info) Absinthe.Plug.put_options(conn, context: options) end def build_trace_info(c...
22.190476
54
0.639485
2d81cec41ba2d3ced97b295f2b6c7117bd1dfecd
2,028
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/type.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/type.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/type.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...
38.264151
191
0.713018
2d820676f035c4cf1deb14a02cc517fdae2896c4
1,770
ex
Elixir
web/models/teacher.ex
deerob4/salop-teaching-school
5c4c4a15232859b5b3bdc84ec9874689891ca9d8
[ "MIT" ]
null
null
null
web/models/teacher.ex
deerob4/salop-teaching-school
5c4c4a15232859b5b3bdc84ec9874689891ca9d8
[ "MIT" ]
null
null
null
web/models/teacher.ex
deerob4/salop-teaching-school
5c4c4a15232859b5b3bdc84ec9874689891ca9d8
[ "MIT" ]
null
null
null
defmodule TeachingSchool.Teacher do use TeachingSchool.Web, :model alias TeachingSchool.Teacher import Ecto.Query schema "teachers" do field :title, :string field :first_name, :string field :last_name, :string field :email, :string field :school_type, :string field :subject, :string ...
29.5
122
0.672316
2d820c0348269f48490e781c71d4499b6eee7a2a
100
exs
Elixir
test/is/validators/and_test.exs
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
17
2018-06-23T11:16:17.000Z
2021-11-17T18:28:37.000Z
test/is/validators/and_test.exs
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
null
null
null
test/is/validators/and_test.exs
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
2
2018-10-24T20:12:54.000Z
2019-12-25T17:45:41.000Z
defmodule Is.Validators.AndTest do use ExUnit.Case doctest Is.Validators.And, import: true end
16.666667
41
0.78
2d822b47ea68ae57125db130857246be51e09d3e
2,000
ex
Elixir
lib/amqp/gen/connection_manager.ex
parry84/amqpx
41bb9a5c7095e2e2720fc4dcd65c1a14df98a656
[ "MIT" ]
null
null
null
lib/amqp/gen/connection_manager.ex
parry84/amqpx
41bb9a5c7095e2e2720fc4dcd65c1a14df98a656
[ "MIT" ]
null
null
null
lib/amqp/gen/connection_manager.ex
parry84/amqpx
41bb9a5c7095e2e2720fc4dcd65c1a14df98a656
[ "MIT" ]
null
null
null
defmodule Amqpx.Gen.ConnectionManager do @moduledoc """ Handle connection for all consumers and producer """ require Logger use GenServer alias Amqpx.Connection defstruct [ :connection_params, backoff: 5_000, connection: nil ] @type state() :: %__MODULE__{} def start_link(opts) do ...
25.641026
85
0.6585
2d8256d30c80f6d986bb759a97fb7b06436f2936
1,454
ex
Elixir
lib/spotlight_web/endpoint.ex
igorsegallafa/liveview-spotlight
d49bfe99b27e325de4545de72be9e27c3a4acf09
[ "MIT" ]
6
2021-08-18T22:27:54.000Z
2022-01-20T09:30:34.000Z
lib/spotlight_web/endpoint.ex
igorsegallafa/liveview-spotlight
d49bfe99b27e325de4545de72be9e27c3a4acf09
[ "MIT" ]
null
null
null
lib/spotlight_web/endpoint.ex
igorsegallafa/liveview-spotlight
d49bfe99b27e325de4545de72be9e27c3a4acf09
[ "MIT" ]
null
null
null
defmodule SpotlightWeb.Endpoint do use Phoenix.Endpoint, otp_app: :spotlight # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_spotl...
29.08
97
0.715956
2d8263f1740db66b0e92c13dd04370c51efd9b7c
1,799
ex
Elixir
lib/makeup/styles/html/pygments/pastie.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
31
2020-10-02T09:01:30.000Z
2022-03-18T14:58:01.000Z
lib/makeup/styles/html/pygments/pastie.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
21
2020-09-29T12:59:58.000Z
2022-03-07T15:21:48.000Z
lib/makeup/styles/html/pygments/pastie.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
5
2020-12-01T20:17:51.000Z
2022-03-07T09:10:13.000Z
defmodule Makeup.Styles.HTML.PastieStyle do @moduledoc false @styles %{ :error => "bg:#e3d2d2 #a61717", :keyword => "bold #008800", :keyword_pseudo => "nobold", :keyword_type => "#888888", :name_attribute => "#336699", :name_builtin => "#003388", :name_class => "bold #bb0066", :nam...
29.491803
50
0.605892
2d82685f53c549f853e986f0f6dec5f031cd1f3a
67
ex
Elixir
lib/siwapp_web/views/user_settings_view.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
lib/siwapp_web/views/user_settings_view.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
lib/siwapp_web/views/user_settings_view.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
defmodule SiwappWeb.UserSettingsView do use SiwappWeb, :view end
16.75
39
0.820896
2d8289fbd27a4b6d78c41109483b53e29f623d89
1,434
exs
Elixir
test/expreso_test.exs
ympons/expreso
2c176da65d7d9b6a48940a4610aad1c5420bbf5b
[ "MIT" ]
54
2017-02-02T14:48:18.000Z
2022-02-22T16:26:15.000Z
test/expreso_test.exs
ympons/expreso
2c176da65d7d9b6a48940a4610aad1c5420bbf5b
[ "MIT" ]
5
2018-02-01T19:00:33.000Z
2021-08-15T13:50:31.000Z
test/expreso_test.exs
ympons/expreso
2c176da65d7d9b6a48940a4610aad1c5420bbf5b
[ "MIT" ]
4
2018-02-01T15:17:35.000Z
2020-02-14T12:12:00.000Z
defmodule ExpresoTest do use ExUnit.Case doctest Expreso test "evaluate an expression" do str = "1 <= 1 + a" assert {:ok, true} == str |> Expreso.eval(%{"a" => 2}) end test "evaluate an expression with in_op and sum" do str = "a + 2 in (3, 1)" assert {:ok, true} == str |> Expreso.eval(%{"a" ...
29.265306
75
0.561367
2d8354d3b037f9a92831f580a901168470f1cf25
1,328
ex
Elixir
server/lib/pencil_space_server_web/endpoint.ex
nilenso/pencil.space
2934d83287dd716b9b984aae5bb7e72247bf4d23
[ "MIT" ]
3
2021-05-30T07:56:32.000Z
2021-08-06T12:03:15.000Z
server/lib/pencil_space_server_web/endpoint.ex
nilenso/pencil.space
2934d83287dd716b9b984aae5bb7e72247bf4d23
[ "MIT" ]
5
2020-05-06T13:05:52.000Z
2020-12-04T20:59:41.000Z
server/lib/pencil_space_server_web/endpoint.ex
nilenso/pencil.space
2934d83287dd716b9b984aae5bb7e72247bf4d23
[ "MIT" ]
null
null
null
defmodule PencilSpaceServerWeb.Endpoint do use Phoenix.Endpoint, otp_app: :pencil_space_server # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie...
28.255319
74
0.721386
2d83818a91e4092cce6436c276a78fab3e3dd078
423
ex
Elixir
web/router.ex
henrik/stockholm-elixir
56a93e4dfb02f24f4ef69684dce5d4239b1e2cd4
[ "Unlicense" ]
null
null
null
web/router.ex
henrik/stockholm-elixir
56a93e4dfb02f24f4ef69684dce5d4239b1e2cd4
[ "Unlicense" ]
null
null
null
web/router.ex
henrik/stockholm-elixir
56a93e4dfb02f24f4ef69684dce5d4239b1e2cd4
[ "Unlicense" ]
null
null
null
defmodule StockholmElixir.Router do use Phoenix.Router pipeline :browser do plug :accepts, ~w(html) plug :fetch_session end pipeline :api do plug :accepts, ~w(json) end scope "/" do pipe_through :browser # Use the default browser stack get "/", StockholmElixir.PageController, :index ...
17.625
57
0.671395
2d8385288d5ffbbb504f63ee88824ed1efa9dd2d
972
exs
Elixir
test/suite/draft6/default_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
test/suite/draft6/default_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
test/suite/draft6/default_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
null
null
null
defmodule Draft6.DefaultTest do use ExUnit.Case, async: true import Xema, only: [valid?: 2] describe "invalid type for default" do setup do %{schema: Xema.new(properties: %{foo: {:integer, [default: []]}})} end test "valid when property is specified", %{schema: schema} do data = %{foo: ...
24.3
88
0.603909
2d83869b5530a8e35020027e96851afcbccb3aa2
720
ex
Elixir
clients/kratos/elixir/lib/ory/model/self_service_recovery_flow_state.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/model/self_service_recovery_flow_state.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/model/self_service_recovery_flow_state.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.SelfServiceRecoveryFlowState do @moduledoc """ The state represents the state of the recovery flow. choose_method: ask the user to choo...
27.692308
267
0.740278
2d83b99d020142f54762136b394c3047b40508e8
1,947
exs
Elixir
test/cloak/ciphers/deprecated/aes_ctr_test.exs
robinvdvleuten/cloak
70cbf4bc59f15b5f60831d455b8dc7b6f457a1ff
[ "MIT" ]
null
null
null
test/cloak/ciphers/deprecated/aes_ctr_test.exs
robinvdvleuten/cloak
70cbf4bc59f15b5f60831d455b8dc7b6f457a1ff
[ "MIT" ]
null
null
null
test/cloak/ciphers/deprecated/aes_ctr_test.exs
robinvdvleuten/cloak
70cbf4bc59f15b5f60831d455b8dc7b6f457a1ff
[ "MIT" ]
2
2021-04-20T13:08:04.000Z
2021-05-18T16:38:01.000Z
defmodule Cloak.Ciphers.Deprecated.AES.CTRTest do use ExUnit.Case alias Cloak.Ciphers.Deprecated.AES.CTR, as: Cipher @opts [module_tag: "AES.CTR", tag: "V1", key: :crypto.strong_rand_bytes(32)] describe ".encrypt/2" do test "raises error, preventing use" do assert_raise RuntimeError, fn -> ...
33
92
0.681048
2d83c2348912f318280d23d5f3083f964eb98b3b
2,874
ex
Elixir
lib/config/config.ex
MyNameIsURL/Plsm
9d9bd2ccd0339f42a851422eb17584d660b1361f
[ "MIT" ]
null
null
null
lib/config/config.ex
MyNameIsURL/Plsm
9d9bd2ccd0339f42a851422eb17584d660b1361f
[ "MIT" ]
null
null
null
lib/config/config.ex
MyNameIsURL/Plsm
9d9bd2ccd0339f42a851422eb17584d660b1361f
[ "MIT" ]
1
2021-02-10T00:48:58.000Z
2021-02-10T00:48:58.000Z
defmodule Plsm.Config.Config do def config?() do case Application.get_env(:plsm, :database) do nil -> false _ -> true end end def write(file_name) do case File.open(file_name, [:append]) do {:ok, file} -> IO.binwrite(file, output_config()) _ -> {:error, "Could not open file #{...
39.916667
265
0.677105
2d83cc15148be83b8caee27e30c75c88118d1c8e
203
ex
Elixir
lib/mail_check.ex
justicedemocrats/mail-domain-check
0680b8867e5a80322ebdf8b973d7398bc9686f6b
[ "MIT" ]
1
2020-12-17T22:42:27.000Z
2020-12-17T22:42:27.000Z
lib/mail_check.ex
justicedemocrats/mail-domain-check
0680b8867e5a80322ebdf8b973d7398bc9686f6b
[ "MIT" ]
null
null
null
lib/mail_check.ex
justicedemocrats/mail-domain-check
0680b8867e5a80322ebdf8b973d7398bc9686f6b
[ "MIT" ]
null
null
null
defmodule MailCheck do @moduledoc """ Documentation for MailCheck. """ @doc """ Hello world. ## Examples iex> MailCheck.hello :world """ def hello do :world end end
10.684211
30
0.581281
2d83ceeb40defa07564df5d212478085b992953b
2,565
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p5beta1_import_product_sets_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p5beta1_import_product_sets_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p5beta1_import_product_sets_response.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 ...
36.642857
191
0.750097
2d83f3a352d740cb7b03644e483c1eeaf7ba3f72
193
exs
Elixir
farmbot_core/test/asset/box_led_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-04-22T10:18:50.000Z
2021-04-22T10:18:50.000Z
farmbot_core/test/asset/box_led_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_core/test/asset/box_led_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotCore.Asset.BoxLedTest do use ExUnit.Case, async: false alias FarmbotCore.Asset.BoxLed test "to_string" do assert "BoxLed 23" == to_string(%BoxLed{id: 23}) end end
21.444444
52
0.73057
2d8407f6e123480dc9197639526cb2dbd770f120
1,380
ex
Elixir
lib/norm/spec/union.ex
NarrativeApp/norm
a66621c8a31d57370d56c07dec5bc035dc7f3c75
[ "MIT" ]
1
2019-12-27T18:28:14.000Z
2019-12-27T18:28:14.000Z
lib/norm/spec/union.ex
wojtekmach/norm
651266a07e947d1057d31744e9eab459dcc4afe7
[ "MIT" ]
1
2020-10-01T22:40:59.000Z
2020-10-01T22:40:59.000Z
lib/norm/spec/union.ex
NarrativeApp/norm
a66621c8a31d57370d56c07dec5bc035dc7f3c75
[ "MIT" ]
null
null
null
defmodule Norm.Spec.Union do @moduledoc false # Provides the struct for unions of specifications defstruct specs: [] def new(specs) do %__MODULE__{specs: specs} end defimpl Norm.Conformer.Conformable do alias Norm.Conformer alias Norm.Conformer.Conformable def conform(%{specs: specs}, in...
21.904762
74
0.57029
2d840fc54dff75ad5e0ad4e1eaff839091c30c99
1,131
ex
Elixir
lib/link_previewer/parsers/youtube.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
4
2018-11-07T13:47:13.000Z
2021-11-01T10:12:15.000Z
lib/link_previewer/parsers/youtube.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
null
null
null
lib/link_previewer/parsers/youtube.ex
salamtime2016/link-preview
eccc640c4b6d0b6592b47fb2cd9ab1ed6e190784
[ "MIT" ]
2
2019-10-15T20:27:53.000Z
2021-08-20T04:32:35.000Z
defmodule LinkPreviewer.Parsers.YouTube do @moduledoc """ Generates youtube preview links with images """ use LinkPreviewer.Parser @regexp_youtube ~r/(youtu\.be\/|youtube\.com\/(watch\?(.*&)?v=|(embed|v)\/))([^\?&"'>]+)/ @image_host "https://i.ytimg.com/vi" @spec regexp_youtube :: %Regex{ :opt...
27.585366
91
0.579134
2d8426e3f91b1413b6020321d993f8c5d409bf62
5,937
ex
Elixir
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/variable.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/variable.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/variable.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...
95.758065
2,514
0.706754
2d842a006df546e05a1ba2c80048ec1f658bf7b9
188
exs
Elixir
project/gamenect/priv/repo/migrations/20161011195220_lobby_add_default_status.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/priv/repo/migrations/20161011195220_lobby_add_default_status.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/priv/repo/migrations/20161011195220_lobby_add_default_status.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
defmodule Gamenect.Repo.Migrations.LobbyAddDefaultStatus do use Ecto.Migration def change do alter table(:lobbies) do modify :status, :integer, default: 1 end end end
18.8
59
0.723404
2d844f4242590445d3e5bbdad2679b3dcb6f2484
1,365
exs
Elixir
test/xema/boolean_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
test/xema/boolean_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
test/xema/boolean_test.exs
depressed-pho/xema
56de4a5d3b3f37827c70f6052f895c59feb0bb51
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule Xema.BooleanTest do use ExUnit.Case, async: true import Xema, only: [valid?: 2, validate: 2] alias Xema.ValidationError describe "'boolean' schema" do setup do %{schema: Xema.new(:boolean)} end test "type", %{schema: schema} do assert schema.schema.type == :boolean end ...
25.754717
81
0.587546
2d8450e5bee53ea07fc66954e43b9ce89c545bdb
373
exs
Elixir
2016/day19/mix.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
2016/day19/mix.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
2016/day19/mix.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
defmodule Day19.Mixfile do use Mix.Project def project do [app: :day19, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end def application do [applications: [:logger]] end defp deps do [ {:c...
16.217391
45
0.549598
2d84c5f3fd9d32914d0aee83a4bed37dd06ee732
14,223
ex
Elixir
lib/kaffy_web/controllers/resource_controller.ex
WeDoProduct/kaffy
47608d0b71e440a3b867c76c916712416260772a
[ "MIT" ]
840
2020-05-08T20:24:01.000Z
2022-03-18T07:03:49.000Z
lib/kaffy_web/controllers/resource_controller.ex
WeDoProduct/kaffy
47608d0b71e440a3b867c76c916712416260772a
[ "MIT" ]
189
2020-05-07T04:58:35.000Z
2022-02-09T16:33:36.000Z
lib/kaffy_web/controllers/resource_controller.ex
WeDoProduct/kaffy
47608d0b71e440a3b867c76c916712416260772a
[ "MIT" ]
103
2020-05-09T12:42:22.000Z
2022-03-30T04:10:22.000Z
defmodule KaffyWeb.ResourceController do @moduledoc false use Phoenix.Controller, namespace: KaffyWeb use Phoenix.HTML alias Kaffy.Pagination def index( conn, %{ "context" => context, "resource" => resource, "c" => _target_context, "r" => _target_resou...
34.860294
98
0.593897
2d84fbd8743a02e61f50ad544f16ad8b115f98da
1,674
exs
Elixir
mix.exs
pepsico-ecommerce/faktory_worker
4f86b8ee1921795d4fc458e4e47b74d254e7d724
[ "MIT" ]
13
2020-02-12T20:29:33.000Z
2021-04-17T10:18:00.000Z
mix.exs
seated/faktory_worker
109e333b733d23fee5ca97dfaa56a92ff01cea86
[ "MIT" ]
51
2020-02-01T05:22:15.000Z
2021-11-03T15:46:02.000Z
mix.exs
seated/faktory_worker
109e333b733d23fee5ca97dfaa56a92ff01cea86
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.MixProject do use Mix.Project def project do [ app: :faktory_worker, version: "1.5.0", elixir: "~> 1.8", description: description(), package: package(), start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), test_cov...
23.25
73
0.557945
2d8523e574cc4b4a3429cf0278d0911250eafa95
1,263
ex
Elixir
lib/hon_graffiti_phoenix/endpoint.ex
rjdellecese/hon-graffiti-phoenix
a1ee866ef89f9b8ebb45a644db0b19729a37b07d
[ "MIT" ]
null
null
null
lib/hon_graffiti_phoenix/endpoint.ex
rjdellecese/hon-graffiti-phoenix
a1ee866ef89f9b8ebb45a644db0b19729a37b07d
[ "MIT" ]
null
null
null
lib/hon_graffiti_phoenix/endpoint.ex
rjdellecese/hon-graffiti-phoenix
a1ee866ef89f9b8ebb45a644db0b19729a37b07d
[ "MIT" ]
null
null
null
defmodule HonGraffitiPhoenix.Endpoint do use Phoenix.Endpoint, otp_app: :hon_graffiti_phoenix socket "/socket", HonGraffitiPhoenix.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 i...
29.372093
69
0.7308
2d852d2b09d3473273955ca0b950542e45dfc71a
1,683
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_advertised_ip_range.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_advertised_ip_range.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_advertised_ip_range.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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
112
0.740939
2d85560adba3958b02a081fc2950d9d4d85777d9
8,388
ex
Elixir
lib/game/command/train.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/train.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/train.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.Command.Train do @moduledoc """ The "emote" command """ use Game.Command alias Data.ActionBar alias Game.Format.Skills, as: FormatSkills alias Game.Player alias Game.Session.GMCP alias Game.Skill alias Game.Skills alias Game.Utility commands(["train"], parse: false) @impl Ga...
27.683168
99
0.63269
2d85635cc37717ffc7a27645b44189d844cf467a
17,085
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/user_roles.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/user_roles.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/user_roles.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...
44.376623
480
0.628446
2d85755eef49e63f9771486acbf9b50b9ea52d35
3,440
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/api/reports.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/api/reports.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/api/reports.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.802198
187
0.655523
2d857fb5ed0023c7d67e8ef0f27e81364651a02a
253
exs
Elixir
priv/repo/migrations/20200923193110_create_greposos.exs
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
priv/repo/migrations/20200923193110_create_greposos.exs
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
priv/repo/migrations/20200923193110_create_greposos.exs
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
defmodule App.Repo.Migrations.CreateGreposos do use Ecto.Migration def change do create table(:grepos) do add :full_name, :string add :data, :map timestamps() end create unique_index(:grepos, [:full_name]) end end
16.866667
47
0.664032
2d859d805b95f807bb6b4e10e5898ff193c6d298
12,246
ex
Elixir
lib/phoenix/logger.ex
arjun810/phoenix
b50ca688e7b79423f3124af8778711bb1588947f
[ "MIT" ]
null
null
null
lib/phoenix/logger.ex
arjun810/phoenix
b50ca688e7b79423f3124af8778711bb1588947f
[ "MIT" ]
null
null
null
lib/phoenix/logger.ex
arjun810/phoenix
b50ca688e7b79423f3124af8778711bb1588947f
[ "MIT" ]
null
null
null
defmodule Phoenix.Logger do @moduledoc """ Instrumenter to handle logging of various instrumentation events. ## Instrumentation Phoenix uses the `:telemetry` library for instrumentation. The following events are published by Phoenix with the following measurements and metadata: * `[:plug_adapter, :call...
34.888889
186
0.642496
2d85ae5122f2746d0c8263140caa17ecb13d170a
5,635
exs
Elixir
test/context_test.exs
LostKobrakai/solid
7ddb5feee3bf5683a4e97ea4691e7268db71373f
[ "MIT" ]
1
2021-11-16T19:10:02.000Z
2021-11-16T19:10:02.000Z
test/context_test.exs
pentacent/solid
7ddb5feee3bf5683a4e97ea4691e7268db71373f
[ "MIT" ]
null
null
null
test/context_test.exs
pentacent/solid
7ddb5feee3bf5683a4e97ea4691e7268db71373f
[ "MIT" ]
null
null
null
defmodule Solid.ContextTest do use ExUnit.Case, async: true alias Solid.Context describe "get_in/3" do test "counter_vars scope only" do context = %Context{counter_vars: %{"x" => 1}} assert Context.get_in(context, ["x"], [:counter_vars]) == 1 end test "vars scope only" do context =...
27.487805
81
0.483407
2d85b5a0f71641504fe126c794c0b21d8d7b17ac
84
exs
Elixir
test/changelog_web/views/page_view_test.exs
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
test/changelog_web/views/page_view_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
test/changelog_web/views/page_view_test.exs
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule ChangelogWeb.PageViewTest do use ChangelogWeb.ConnCase, async: true end
21
40
0.833333
2d85ce856618f810ec1f5bbecca573b2e799aeaa
2,715
ex
Elixir
lib/schema_assertions/database.ex
eahanson/schema_assertions
35760374e2c1e837c5ea6fc0bde4baea53677c83
[ "Apache-2.0" ]
null
null
null
lib/schema_assertions/database.ex
eahanson/schema_assertions
35760374e2c1e837c5ea6fc0bde4baea53677c83
[ "Apache-2.0" ]
null
null
null
lib/schema_assertions/database.ex
eahanson/schema_assertions
35760374e2c1e837c5ea6fc0bde4baea53677c83
[ "Apache-2.0" ]
null
null
null
defmodule SchemaAssertions.Database do @moduledoc """ Functions for inspecting the database. Assumes Postgres for now. """ @doc "Returns a sorted list of all the table names" @spec all_table_names() :: [binary()] def all_table_names do "select table_name from information_schema.tables where table_sc...
30.505618
84
0.566483
2d85d57d4a9c804b7013efc2af09c7570787415e
2,719
ex
Elixir
apps/ex_wire/lib/ex_wire/config.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
apps/ex_wire/lib/ex_wire/config.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
apps/ex_wire/lib/ex_wire/config.ex
atoulme/mana
cff3fd96c23feaaeb9fe32df3c0d35ee6dc548a5
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
defmodule ExWire.Config do @moduledoc """ General configuration information for ExWire. """ alias Blockchain.Chain alias ExthCrypto.ECIES.ECDH alias ExthCrypto.{Key, Signature} alias ExWire.Crypto @doc """ Returns a private key that is generated when a new session is created. It is intended that t...
21.077519
94
0.643251
2d85daba61064487e47449b2389feb279e364712
2,041
ex
Elixir
lib/phoenix/exceptions.ex
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
lib/phoenix/exceptions.ex
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
lib/phoenix/exceptions.ex
arkgil/phoenix
b5d82814154b5fb87c0870e25c1c2243c9384d9e
[ "MIT" ]
null
null
null
defmodule Phoenix.NotAcceptableError do @moduledoc """ Raised when one of the `accept*` headers is not accepted by the server. This exception is commonly raised by `Phoenix.Controller.accepts/2` which negotiates the media types the server is able to serve with the contents the client is able to render. If...
32.396825
79
0.723175
2d85f79c7582f6b7bed9d4eea28d43b795279c3f
3,743
exs
Elixir
test/live_component_events_test.exs
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
test/live_component_events_test.exs
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
test/live_component_events_test.exs
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
defmodule Surface.EventsTest do use ExUnit.Case, async: true import Phoenix.ConnTest import Phoenix.LiveViewTest import ComponentTestHelper @endpoint Endpoint defmodule LiveDiv do use Surface.LiveComponent def render(assigns) do ~H""" <div>Live div</div> """ end end de...
19.909574
82
0.559711
2d8628b3c4251e706710bf513e97c1078ea79ca6
1,500
ex
Elixir
lib/ethereum/rpc/web3.ex
alanwilhelm/elixir-ethereum
42aba002e485524be2981ae05b6f7134f8439dc4
[ "MIT" ]
null
null
null
lib/ethereum/rpc/web3.ex
alanwilhelm/elixir-ethereum
42aba002e485524be2981ae05b6f7134f8439dc4
[ "MIT" ]
null
null
null
lib/ethereum/rpc/web3.ex
alanwilhelm/elixir-ethereum
42aba002e485524be2981ae05b6f7134f8439dc4
[ "MIT" ]
null
null
null
defmodule Ethereum.Web3 do @moduledoc """ Web3 Namespace Functions for Ethereum JSON-RPC """ alias Ethereum.Transport require IEx require Logger @doc """ Displays client_version of Ethereum node. ## Example: iex> Ethereum.client_version() {:ok, "Geth/v1.6.5-stable-cf87713d/darwin-...
21.73913
79
0.617333
2d865642bc379a0a6b19fe5ef4215d0288ac6fe8
4,798
exs
Elixir
bench.exs
meltwater/ex_lsh
9bb27a0acea3df487d4da83d226a259e09662fc4
[ "Apache-2.0" ]
22
2019-02-25T16:07:40.000Z
2021-09-22T08:40:40.000Z
bench.exs
meltwater/ex_lsh
9bb27a0acea3df487d4da83d226a259e09662fc4
[ "Apache-2.0" ]
null
null
null
bench.exs
meltwater/ex_lsh
9bb27a0acea3df487d4da83d226a259e09662fc4
[ "Apache-2.0" ]
1
2019-03-04T02:58:28.000Z
2019-03-04T02:58:28.000Z
clean = [ "qui", "eos", "ad", "qui", "ab", "laboriosam", "ut", "consequatur", "dolor", "est", "fugit", "voluptatem", "impedit", "aliquam", "excepturi", "recusandae", "facere", "alias", "omnis", "fuga", "enim", "tempore", "quia", "soluta", "maiores", "pariatur", "et"...
11.846914
54
0.493956
2d865d83a26659dfb0d2beab0d19cdb03ac7a5c9
2,441
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/vpn_gateway_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/vpn_gateway_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/vpn_gateway_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...
39.370968
231
0.696026
2d8674e632d53decf0fee9e0e5cbc8b88cf34284
5,344
ex
Elixir
lib/mongo/messages.ex
zookzook/mongodb
7055a282cfa55efc62dfc4542092fc6109a53d77
[ "Apache-2.0" ]
null
null
null
lib/mongo/messages.ex
zookzook/mongodb
7055a282cfa55efc62dfc4542092fc6109a53d77
[ "Apache-2.0" ]
7
2018-10-12T07:53:57.000Z
2018-10-14T19:06:55.000Z
lib/mongo/messages.ex
zookzook/mongodb
7055a282cfa55efc62dfc4542092fc6109a53d77
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.Messages do @moduledoc false defmacro __using__(_opts) do quote do import unquote(__MODULE__) @reply_cursor_not_found 0x1 @reply_query_failure 0x2 @reply_shard_config_stale 0x4 @reply_await_capable 0x8 end end import Record import Mongo.Binar...
29.854749
120
0.647268
2d868763882b6954dcaa80a37cd985a05d379db6
1,783
ex
Elixir
lib/spat/bounds.ex
ScrimpyCat/Spat
039b2bb71f39a5b0ba04aca8f8b4641cb7161454
[ "BSD-2-Clause" ]
1
2019-04-25T22:48:51.000Z
2019-04-25T22:48:51.000Z
lib/spat/bounds.ex
ScrimpyCat/Spat
039b2bb71f39a5b0ba04aca8f8b4641cb7161454
[ "BSD-2-Clause" ]
null
null
null
lib/spat/bounds.ex
ScrimpyCat/Spat
039b2bb71f39a5b0ba04aca8f8b4641cb7161454
[ "BSD-2-Clause" ]
null
null
null
defmodule Spat.Bounds do use Bitwise defstruct [:min, :max, :dimension] @type t :: %Spat.Bounds{ min: Spat.Coord.t, max: Spat.Coord.t, dimension: non_neg_integer } @doc """ Create a new bounds struct, with min range defaulting to 0. """ @spec new(Spat.Coord.t) :: t def new(max) do ...
34.960784
139
0.600112
2d86ce2f2eaeda43b35fb7d859662995e2556e15
4,289
ex
Elixir
lib/datetime/helpers.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/datetime/helpers.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/datetime/helpers.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
defmodule Timex.DateTime.Helpers do @moduledoc false alias Timex.{Types, Timezone, TimezoneInfo, AmbiguousDateTime, AmbiguousTimezoneInfo} @type precision :: -1 | 0..6 @doc """ Constructs an empty DateTime, for internal use only """ def empty() do %DateTime{year: 0, month: 1, day: 1, ...
39.712963
131
0.590814
2d86e42cd8a47154a4a9c9a9a5a427a65993195b
688
ex
Elixir
lib/mix/tasks/ecto.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
1
2019-07-25T17:42:33.000Z
2019-07-25T17:42:33.000Z
lib/mix/tasks/ecto.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
lib/mix/tasks/ecto.ex
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Ecto do use Mix.Task @shortdoc "Prints Ecto help information" @moduledoc """ Prints Ecto tasks and their information. mix ecto """ @doc false def run(args) do {_opts, args} = OptionParser.parse!(args, strict: []) case args do [] -> general() _ -> Mix.rai...
22.193548
89
0.651163
2d86eb9f5ecf4f8b8fba691c17a25c9817bbded5
70
exs
Elixir
test/test_helper.exs
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
test/test_helper.exs
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
test/test_helper.exs
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Grimoire.Repo, :manual)
23.333333
54
0.785714
2d8700e9c2e5dcb277cabbb55ce3685ff50173d5
205
ex
Elixir
lib/ex_okex/futures/private/list_accounts.ex
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
6
2018-12-04T22:05:05.000Z
2022-01-08T11:54:40.000Z
lib/ex_okex/futures/private/list_accounts.ex
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
14
2019-12-21T11:32:30.000Z
2022-03-28T16:07:01.000Z
lib/ex_okex/futures/private/list_accounts.ex
yurikoval/ex_okex
bcaccee94b2f3ebcf2adec4ae70ed71dbe6f35c2
[ "MIT" ]
3
2019-10-19T19:33:34.000Z
2019-10-19T19:35:18.000Z
defmodule ExOkex.Futures.Private.ListAccounts do import ExOkex.Api.Private @prefix "/api/futures/v3" def list_accounts(config \\ nil) do "#{@prefix}/accounts" |> get(%{}, config) end end
18.636364
48
0.678049
2d870b414ff16357a31eb2c9159f3d54efadbb25
93
ex
Elixir
lib/nerve.ex
Union-Chat/Nerve
e0e6668c5783f21d5b310254b6938b56c1f1b177
[ "MIT" ]
null
null
null
lib/nerve.ex
Union-Chat/Nerve
e0e6668c5783f21d5b310254b6938b56c1f1b177
[ "MIT" ]
null
null
null
lib/nerve.ex
Union-Chat/Nerve
e0e6668c5783f21d5b310254b6938b56c1f1b177
[ "MIT" ]
null
null
null
defmodule Fiber do @version Mix.Project.config[:version] def version(), do: @version end
18.6
39
0.731183
2d87290a92c87d05e7a5fd96779b56e51e75cbc1
2,258
exs
Elixir
test/turret_web/controllers/user_password_settings_controller_test.exs
rosswilson/turret-elixir
effbc34a14e95d73db2075c66fe78f8432f83977
[ "MIT" ]
1
2021-02-03T23:34:04.000Z
2021-02-03T23:34:04.000Z
test/turret_web/controllers/user_password_settings_controller_test.exs
rosswilson/turret-elixir
effbc34a14e95d73db2075c66fe78f8432f83977
[ "MIT" ]
58
2021-02-16T10:16:08.000Z
2022-03-07T10:57:32.000Z
test/turret_web/controllers/user_password_settings_controller_test.exs
rosswilson/turret-elixir
effbc34a14e95d73db2075c66fe78f8432f83977
[ "MIT" ]
null
null
null
defmodule TurretWeb.UserPasswordSettingsControllerTest do use TurretWeb.ConnCase, async: true alias Turret.Accounts import Turret.AccountsFixtures setup :register_and_log_in_user describe "GET /users/settings/password" do test "renders settings page", %{conn: conn} do conn = get(conn, Routes.user...
37.016393
90
0.66209
2d8736800012f53c4d2137b5fa97f114f0df0c22
535
exs
Elixir
apps/web_api/test/web_api_web/views/error_view_test.exs
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
1
2020-10-23T19:25:27.000Z
2020-10-23T19:25:27.000Z
apps/web_api/test/web_api_web/views/error_view_test.exs
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
5
2019-01-11T11:48:08.000Z
2019-01-16T17:29:23.000Z
apps/web_api/test/web_api_web/views/error_view_test.exs
vapordao/staxx
5110167573e67a91c0865c3265896642ebe4012e
[ "Apache-2.0" ]
7
2019-10-09T05:49:52.000Z
2022-03-23T16:48:45.000Z
defmodule Staxx.WebApiWeb.ErrorViewTest do use Staxx.WebApiWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(Staxx.WebApiWeb.ErrorView, "404.json", []) == %{ status: 1, errors: %...
28.157895
69
0.635514
2d874a3fee226baf07bacbf64396f21f63aa79ce
28,736
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/api/partners.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/api/partners.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/api/partners.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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.889552
274
0.6701
2d87573b7052954d49ac54b4619e74a3ea76e8eb
1,038
ex
Elixir
test/support/conn_case.ex
TeamPolygon/triangle
130b4e9fe2eb14d60032d60f553e4e17d4e8eab8
[ "MIT" ]
null
null
null
test/support/conn_case.ex
TeamPolygon/triangle
130b4e9fe2eb14d60032d60f553e4e17d4e8eab8
[ "MIT" ]
null
null
null
test/support/conn_case.ex
TeamPolygon/triangle
130b4e9fe2eb14d60032d60f553e4e17d4e8eab8
[ "MIT" ]
null
null
null
defmodule PolygonWeb.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 datastructures and query the data layer. Finally, if the...
26.615385
69
0.719653
2d878f16a04436d0096ae958176fb4a21d4879b0
1,423
ex
Elixir
lib/erlef_web/controllers/blog_controller.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/controllers/blog_controller.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/controllers/blog_controller.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.BlogController do use ErlefWeb, :controller action_fallback ErlefWeb.FallbackController alias Erlef.{Blog, Posts, WorkingGroup} def index(conn, %{"topic" => topic}) do case fetch_working_group(topic) do {:error, _} = err -> err {:ok, wg} -> render(conn, "ind...
26.849057
99
0.635278
2d87ace4ff1654f3bfe5eb0cf60cf908c979043b
1,314
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/overlays/configuration_overlay.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/overlays/configuration_overlay.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/overlays/configuration_overlay.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
19.909091
74
0.636986
2d87b187448442698dcde5a31a43276850481cec
225
exs
Elixir
priv/repo/migrations/20160215125824_create_payment.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
priv/repo/migrations/20160215125824_create_payment.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
priv/repo/migrations/20160215125824_create_payment.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Repo.Migrations.CreatePayment do use Ecto.Migration def change do create table(:payments) do add :order_id, references(:orders) add :selected, :boolean timestamps end end end
18.75
49
0.693333
2d87b7ab18f7029c81c66a40a8454a3d85d10aa4
509
ex
Elixir
MixProject/help/lib/help_web/router.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/help/lib/help_web/router.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/help/lib/help_web/router.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule HelpWeb.Router do use HelpWeb, :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 "/", HelpWeb do pipe_through :...
18.851852
57
0.671906
2d87d18d452827117accffecbcc2429031993ca8
782
ex
Elixir
apps/summoner_web/test/support/channel_case.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_web/test/support/channel_case.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_web/test/support/channel_case.ex
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
defmodule SummonerWebWeb.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 interact...
23
58
0.7289
2d87d8899e3f436fd210d1e2a53fa938305570fa
2,282
exs
Elixir
mix.exs
clone1018/WebSubHub
1d26916b45d312ae5d8cc3fd786a6cec84c9f8e1
[ "MIT" ]
21
2022-01-09T23:04:48.000Z
2022-03-24T14:55:20.000Z
mix.exs
clone1018/WebSubHub
1d26916b45d312ae5d8cc3fd786a6cec84c9f8e1
[ "MIT" ]
1
2022-03-26T15:10:53.000Z
2022-03-29T11:23:03.000Z
mix.exs
clone1018/WebSubHub
1d26916b45d312ae5d8cc3fd786a6cec84c9f8e1
[ "MIT" ]
null
null
null
defmodule WebSubHub.MixProject do use Mix.Project def project do [ app: :websubhub, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), de...
29.636364
84
0.555653