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
182cd5d73236050537eb1299597eb9d8ef7bf829
1,030
ex
Elixir
apps/customer/lib/customer/blank.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
102
2017-05-21T18:24:04.000Z
2022-03-10T12:53:20.000Z
apps/customer/lib/customer/blank.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
2
2017-05-21T01:53:30.000Z
2017-12-01T00:27:06.000Z
apps/customer/lib/customer/blank.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
18
2017-05-22T09:51:36.000Z
2021-09-24T00:57:01.000Z
defprotocol Customer.Blank do @fallback_to_any true def blank?(data) end defimpl Customer.Blank, for: Integer do def blank?(_), do: false end defimpl Customer.Blank, for: String do def blank?(''), do: true def blank?(_), do: false end defimpl Customer.Blank, for: BitString do def blank?(""), do: true d...
20.6
61
0.665049
182cdb564da82723ff85211175fc93727ecd94d8
25,376
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/policy.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...
79.798742
594
0.731282
182cefad652bdfa504492cc28414155404b9a856
807
ex
Elixir
backup.ex
nfalcone/fortinet-ftpbackup
ddde41f3b4b8ff0f1d41256b247633a64d236a3e
[ "MIT" ]
null
null
null
backup.ex
nfalcone/fortinet-ftpbackup
ddde41f3b4b8ff0f1d41256b247633a64d236a3e
[ "MIT" ]
null
null
null
backup.ex
nfalcone/fortinet-ftpbackup
ddde41f3b4b8ff0f1d41256b247633a64d236a3e
[ "MIT" ]
null
null
null
#!/usr/bin/expect #created on 3/11/15 #For backing up Fortinet configuration files to an ftp server, dated as well #Tested to work on a FortiWifi60D SET VARIABLES FOR SCRIPT ######################### set HOST "MyFirewall" set IP "192.168.1.1" set PASS "your-password-here" set timeout 10 set FTP 192.168.1.100 set FTPUS...
26.032258
127
0.685254
182cf9c4c959d7b13d648d32683cfa4cb0cf250a
7,761
ex
Elixir
apps/gitgud_web/lib/gitgud/graphql/resolvers.ex
joshnuss/gitgud
ea32d9d254cfd10a09c988763e03589c401d9875
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud/graphql/resolvers.ex
joshnuss/gitgud
ea32d9d254cfd10a09c988763e03589c401d9875
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud/graphql/resolvers.ex
joshnuss/gitgud
ea32d9d254cfd10a09c988763e03589c401d9875
[ "MIT" ]
null
null
null
defmodule GitGud.GraphQL.Resolvers do @moduledoc """ Module providing resolution functions for GraphQL related queries. """ alias GitGud.User alias GitGud.UserQuery alias GitGud.Repo alias GitGud.RepoQuery alias GitGud.GitBlob alias GitGud.GitCommit alias GitGud.GitReference alias GitGud.GitTag ...
34.802691
118
0.64386
182d163deb9695bc186bf10ff4e5e43154a84980
8,010
exs
Elixir
test/helper/converter/editor_to_html_test/list_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/helper/converter/editor_to_html_test/list_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/helper/converter/editor_to_html_test/list_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.Helper.Converter.EditorToHTML.List do @moduledoc false use GroupherServerWeb.ConnCase, async: true alias Helper.Converter.EditorToHTML, as: Parser alias Helper.Converter.EditorToHTML.Class alias Helper.Utils @root_class Class.article() @class get_in(@root_class, ["list"]) ...
29.021739
135
0.459551
182d2274f36d8eed793f9f1a0aa018907c73d2b3
1,158
ex
Elixir
debian/watch.ex
JeremyGrosser/dewpoint
4037462d636a3c97eb95265d863f142e149ac64a
[ "BSD-2-Clause" ]
2
2018-12-21T18:00:54.000Z
2020-03-03T11:03:34.000Z
debian/watch.ex
JeremyGrosser/dewpoint
4037462d636a3c97eb95265d863f142e149ac64a
[ "BSD-2-Clause" ]
null
null
null
debian/watch.ex
JeremyGrosser/dewpoint
4037462d636a3c97eb95265d863f142e149ac64a
[ "BSD-2-Clause" ]
1
2020-03-03T11:10:12.000Z
2020-03-03T11:10:12.000Z
# Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 4 file version=4 # PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig #opts="pgpsigurlmangle=s%$%.s...
29.692308
92
0.670121
182d23dfca77c0ab3384f530a2249bd10a8eebc3
1,053
exs
Elixir
config/config.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "MIT" ]
null
null
null
config/config.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "MIT" ]
null
null
null
config/config.exs
parikshitgupta1/k8
1df84e3f0c37c59c27061c75408b2909e7e44ff9
[ "MIT" ]
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 config :petal, ecto_repos: [Petal.Repo], gen...
32.90625
86
0.765432
182da57d18f1f2d6c5e2089cd56b6f9e387dd71b
1,948
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_locations_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_locations_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_locations_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.418182
184
0.748973
182dcd9dc66fbcdf7c08f7b1df66ba5605dad19b
1,924
ex
Elixir
lib/display/display.ex
heeton/inky
0818a0fafd2f35e0d1f965b855c558f3fe0b4a97
[ "Apache-2.0" ]
null
null
null
lib/display/display.ex
heeton/inky
0818a0fafd2f35e0d1f965b855c558f3fe0b4a97
[ "Apache-2.0" ]
null
null
null
lib/display/display.ex
heeton/inky
0818a0fafd2f35e0d1f965b855c558f3fe0b4a97
[ "Apache-2.0" ]
null
null
null
defmodule Inky.Display do @moduledoc """ Display creates specifications for displays and accent colors """ alias Inky.LookupTables @enforce_keys [:type, :width, :height, :packed_dimensions, :rotation, :accent, :luts] defstruct type: nil, width: 0, height: 0, packed_dime...
22.635294
87
0.58264
182dd17b37e6f330c4f9ae30db741d4c8dc59959
699
ex
Elixir
api/web/gettext.ex
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
api/web/gettext.ex
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
api/web/gettext.ex
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
defmodule Locals.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Locals.Gettext # Simple translation gettext "Here is the strin...
27.96
72
0.676681
182e077e2962942ec63a1b8e34c0c29567d629c2
655
ex
Elixir
test/support/endpoint.ex
mayel/absinthe_client
6e5f06e62faebf34307f12e7b5596e3921d73254
[ "MIT" ]
1
2021-05-24T14:28:22.000Z
2021-05-24T14:28:22.000Z
test/support/endpoint.ex
mayel/absinthe_client
6e5f06e62faebf34307f12e7b5596e3921d73254
[ "MIT" ]
null
null
null
test/support/endpoint.ex
mayel/absinthe_client
6e5f06e62faebf34307f12e7b5596e3921d73254
[ "MIT" ]
null
null
null
defmodule AbsintheClient.TestEndpoint do use Phoenix.Endpoint, otp_app: :absinthe_client use AbsintheClient.Endpoint socket("/socket", AbsintheClient.TestSocket) plug(Plug.RequestId) plug(Plug.Logger) plug( Plug.Parsers, parsers: [:urlencoded, :multipart, :json], pass: ["*/*"], json_decod...
22.586207
95
0.673282
182e09cc7bca04b398939bce487c30b67904388c
872
exs
Elixir
mix.exs
kianmeng/php_serializer
5a230f97715d6dba33ca87891788a0e4c9e73406
[ "MIT" ]
null
null
null
mix.exs
kianmeng/php_serializer
5a230f97715d6dba33ca87891788a0e4c9e73406
[ "MIT" ]
null
null
null
mix.exs
kianmeng/php_serializer
5a230f97715d6dba33ca87891788a0e4c9e73406
[ "MIT" ]
null
null
null
defmodule PhpSerializer.Mixfile do use Mix.Project def project do [ app: :php_serializer, version: "2.0.0", elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, source_url: "https://github.com/zloyrusskiy/php_serializer", descripti...
21.268293
75
0.591743
182e29fafa9ec60fa86e3e9089848140549d3acd
87
ex
Elixir
lib/ucx_ucc_web/views/coherence/confirmation_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc_web/views/coherence/confirmation_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc_web/views/coherence/confirmation_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UcxUccWeb.Coherence.ConfirmationView do use UcxUccWeb.Coherence, :view end
21.75
49
0.83908
182e70a86fb6a11aa04ef6be42315f0ce7539648
921
ex
Elixir
lib/live_sup/core/datasources/google_timezone_datasource.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup/core/datasources/google_timezone_datasource.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup/core/datasources/google_timezone_datasource.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSup.Core.Datasources.GoogleTimezoneDatasource do alias LiveSup.Core.Datasources.HttpDatasource @url "https://maps.googleapis.com" def get_timezone(%{"key" => key, "lat" => lat, "lng" => lng}, args \\ []) do url = args |> Keyword.get(:url, @url) case HttpDatasource.get(url: bui...
28.78125
102
0.639522
182e70c96e708dd985402b7f99889319286ca476
872
ex
Elixir
clients/iap/lib/google_api/iap/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/iap/lib/google_api/iap/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/iap/lib/google_api/iap/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.296296
74
0.755734
182e8b4254a5821fcb47e904f3f2c3b569f70f66
1,593
ex
Elixir
lib/day_18.ex
robindaumann/aoc-2020
63e2dd4cd3062b15fc5be3ec8b3fe75716701f7a
[ "MIT" ]
1
2020-12-19T18:40:00.000Z
2020-12-19T18:40:00.000Z
lib/day_18.ex
robindaumann/aoc-2020
63e2dd4cd3062b15fc5be3ec8b3fe75716701f7a
[ "MIT" ]
null
null
null
lib/day_18.ex
robindaumann/aoc-2020
63e2dd4cd3062b15fc5be3ec8b3fe75716701f7a
[ "MIT" ]
null
null
null
defmodule Day18 do @number_reg ~r/^(\d+)$/ def part1(path) do path |> File.stream!() |> Enum.map(&String.trim_trailing/1) |> Enum.map(&eval_ltr/1) |> Enum.sum() end def eval_ltr(expr) do expr |> reverse() |> eval() end def reverse(""), do: "" def reverse(" " <> rst), do:...
23.086957
84
0.576899
182e9841a847423e8d0ce2070704de2e98829049
4,807
ex
Elixir
lib/central/helpers/styling_helpers.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/central/helpers/styling_helpers.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central/helpers/styling_helpers.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Helpers.StylingHelper do @moduledoc false alias HTMLIcons @spec colours(atom) :: {String.t(), String.t(), String.t()} def colours(:default), do: {"#555555", "#E5E5E5", "secondary"} def colours(:report), do: {"#843534", "#f2dede", "danger"} def colours(:primary), do: {"#007bff", "#DDEEFF"...
28.443787
118
0.581028
182edb3d1f6aca21f95d7fec1052b06768c2fcef
14,506
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__version.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__version.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__version.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...
48.033113
202
0.690197
182ee9e236184f92b128031ee9f541df1c58e251
1,157
exs
Elixir
config/config.exs
qixxit/two_phase_commit_example
7fbaf03dbf81c4a5d4e989b787f905c0e162899d
[ "BSD-2-Clause" ]
1
2020-06-25T01:57:09.000Z
2020-06-25T01:57:09.000Z
config/config.exs
qixxit/two_phase_commit_example
7fbaf03dbf81c4a5d4e989b787f905c0e162899d
[ "BSD-2-Clause" ]
null
null
null
config/config.exs
qixxit/two_phase_commit_example
7fbaf03dbf81c4a5d4e989b787f905c0e162899d
[ "BSD-2-Clause" ]
1
2019-01-09T18:06:18.000Z
2019-01-09T18:06:18.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37.322581
73
0.758859
182ef624fb5232423ef13413e5fa72707e8a857f
434
ex
Elixir
lib/stripe/supervisor.ex
movementventures/stripe-elixir
535b9156c87818e809e1907095ca8473b6101f8a
[ "MIT" ]
1
2018-12-25T11:49:09.000Z
2018-12-25T11:49:09.000Z
lib/stripe/supervisor.ex
qzzr/stripe-elixir
535b9156c87818e809e1907095ca8473b6101f8a
[ "MIT" ]
null
null
null
lib/stripe/supervisor.ex
qzzr/stripe-elixir
535b9156c87818e809e1907095ca8473b6101f8a
[ "MIT" ]
null
null
null
defmodule Stripe.Supervisor do use Supervisor def start_link do :supervisor.start_link(__MODULE__, []) end def init([]) do children = [ # Define workers and child supervisors to be supervised # worker(Stripe.Worker, []) ] # See http://elixir-lang.org/docs/stable/Supervisor.Behavio...
24.111111
70
0.693548
182f110b53f9c7b03df1d78297efb82acdd67b6f
351
ex
Elixir
lib/fotd_web/controllers/page_controller.ex
aesmail/fotd
03bc3f145ed2aa30bafa25198570c380a8d0ad31
[ "Apache-2.0" ]
1
2018-11-24T12:01:30.000Z
2018-11-24T12:01:30.000Z
lib/fotd_web/controllers/page_controller.ex
wojtekmach/fotd
f485b6b8d4d9e7b3385699f6175d1bc61d13035a
[ "Apache-2.0" ]
null
null
null
lib/fotd_web/controllers/page_controller.ex
wojtekmach/fotd
f485b6b8d4d9e7b3385699f6175d1bc61d13035a
[ "Apache-2.0" ]
null
null
null
defmodule FotdWeb.PageController do use FotdWeb, :controller def index(conn, _params) do today = Date.to_erl(Date.utc_today) :rand.seed(:exs1024s, today) render conn, "index.html", fotd: Fotd.random() end def index_diceroll(conn, _params) do :rand.seed(:exs1024s) render conn, "index.html",...
23.4
50
0.692308
182f1fc2c182e3af3f46cbe354de91f76b6da0ff
39,882
ex
Elixir
lib/ecto/type.ex
tdug/ecto
752c3b02c46e3f19c1206ba42701d60c7a7abf7f
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
tdug/ecto
752c3b02c46e3f19c1206ba42701d60c7a7abf7f
[ "Apache-2.0" ]
null
null
null
lib/ecto/type.ex
tdug/ecto
752c3b02c46e3f19c1206ba42701d60c7a7abf7f
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Type do @moduledoc """ Defines functions and the `Ecto.Type` behaviour for implementing custom types. A custom type expects 4 functions to be implemented, all documented and described below. We also provide two examples of how custom types can be used in Ecto to augment existing types or pro...
30.796911
124
0.629357
182f4c51fb725d91b23f5c51711f119903346a58
11,983
ex
Elixir
lib/grapex/models/logicenn.ex
zeionara/grapex
d10bd40d61cd00ff4ace6c8922745748de509948
[ "Apache-2.0" ]
null
null
null
lib/grapex/models/logicenn.ex
zeionara/grapex
d10bd40d61cd00ff4ace6c8922745748de509948
[ "Apache-2.0" ]
1
2021-11-14T20:42:26.000Z
2021-11-14T20:42:26.000Z
lib/grapex/models/logicenn.ex
zeionara/grapex
d10bd40d61cd00ff4ace6c8922745748de509948
[ "Apache-2.0" ]
null
null
null
defmodule Grapex.Model.Logicenn do import Grapex.TupleUtils # alias Grapex.IOutils, as: IO_ require Axon defp relation_embeddings(%Axon{output_shape: parent_shape} = x, n_relations, opts \\ []) do n_hidden_units = last(parent_shape) - 1 output_shape = parent_shape |> delete_last ...
37.330218
212
0.600935
182f72ec35237a0f06776c934ada7ebe18dd3427
926
ex
Elixir
lib/dailymeal_web/controllers/meals_controller.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
lib/dailymeal_web/controllers/meals_controller.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
lib/dailymeal_web/controllers/meals_controller.ex
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
defmodule DailymealWeb.MealsController do use DailymealWeb, :controller alias Dailymeal.Meal alias DailymealWeb.FallbackController action_fallback FallbackController def create(conn, params) do with {:ok, %Meal{} = meal} <- Dailymeal.create_meal(params) do conn |> put_status(:created) ...
22.585366
66
0.604752
182f74bec592835b46905fcff9f6a3c883b97663
1,151
ex
Elixir
lib/go_champs_api_web/plugs/authorized_tournament.ex
lairjr/go_champs_api
01cb3ff2c655910839e5caf4282a8e50543e32a1
[ "MIT" ]
null
null
null
lib/go_champs_api_web/plugs/authorized_tournament.ex
lairjr/go_champs_api
01cb3ff2c655910839e5caf4282a8e50543e32a1
[ "MIT" ]
5
2021-09-29T04:01:54.000Z
2021-11-02T03:11:52.000Z
lib/go_champs_api_web/plugs/authorized_tournament.ex
lairjr/tournamentsapi
dde8f8f659074527d3861391af3ab29f070179f2
[ "MIT" ]
1
2021-11-02T14:43:15.000Z
2021-11-02T14:43:15.000Z
defmodule GoChampsApiWeb.Plugs.AuthorizedTournament do import Phoenix.Controller import Plug.Conn alias GoChampsApi.Organizations alias GoChampsApi.Tournaments def init(default), do: default def call(conn, :tournament) do {:ok, tournament} = Map.fetch(conn.params, "tournament") {:ok, organization...
26.767442
100
0.692441
182fa8259c9c07e475953afd38003b10ab9506a7
61
ex
Elixir
lib/august_db/tombstone.ex
Terkwood/AugustDB
6de696a80bc4eb523b89d64cd4292ac342bdb3aa
[ "MIT" ]
5
2021-07-28T15:56:42.000Z
2021-08-18T20:58:43.000Z
lib/august_db/tombstone.ex
Terkwood/AugustDB
6de696a80bc4eb523b89d64cd4292ac342bdb3aa
[ "MIT" ]
54
2021-07-28T14:51:49.000Z
2021-08-11T21:56:10.000Z
lib/august_db/tombstone.ex
Terkwood/AugustDB
6de696a80bc4eb523b89d64cd4292ac342bdb3aa
[ "MIT" ]
null
null
null
defmodule Tombstone do def string() do "$T$" end end
10.166667
22
0.622951
182ff3b547980efdc125c87ab3f7af739cfdf075
330
ex
Elixir
apps/blunt/test/support/testing/create_person.ex
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt/test/support/testing/create_person.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt/test/support/testing/create_person.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
defmodule Support.Testing.CreatePerson do use Blunt.Command @moduledoc """ Creates a person. """ field :id, :binary_id field :name, :string end defmodule Support.Testing.CreatePersonHandler do use Blunt.CommandHandler @impl true def handle_dispatch(command, _context) do {:dispatched, command} ...
16.5
48
0.730303
182fffae8c1ac1af702bebd508e10aae5a9528eb
607
exs
Elixir
apps/alert_processor/priv/repo/migrations/20170717151734_add_subscription_dependency_to_informed_entities.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/alert_processor/priv/repo/migrations/20170717151734_add_subscription_dependency_to_informed_entities.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/alert_processor/priv/repo/migrations/20170717151734_add_subscription_dependency_to_informed_entities.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule MbtaServer.Repo.Migrations.AddSubscriptionDependencyToInformedEntities do use Ecto.Migration def up do execute "ALTER TABLE informed_entities DROP CONSTRAINT informed_entities_subscription_id_fkey" alter table(:informed_entities) do modify :subscription_id, references(:subscriptions, type: ...
33.722222
98
0.787479
183003e8462b1f5270ab2e95fbde8cc3697f6654
218
exs
Elixir
test/support/error_server.exs
luisfmcalado/bugsnag-elixir
7caba867fcaf7aeef1c756d881e16515f2672a74
[ "MIT" ]
73
2015-01-03T14:55:25.000Z
2020-05-02T21:26:59.000Z
test/support/error_server.exs
luisfmcalado/bugsnag-elixir
7caba867fcaf7aeef1c756d881e16515f2672a74
[ "MIT" ]
79
2015-05-03T19:18:56.000Z
2020-06-15T12:10:42.000Z
test/support/error_server.exs
luisfmcalado/bugsnag-elixir
7caba867fcaf7aeef1c756d881e16515f2672a74
[ "MIT" ]
74
2015-03-29T02:18:02.000Z
2020-06-24T09:28:36.000Z
defmodule ErrorServer do use GenServer def start do GenServer.start(__MODULE__, []) end def init(_), do: {:ok, []} def handle_cast(:fail, _from, _state) do raise RuntimeError, "Crashing" end end
15.571429
42
0.665138
18301f1cef281702d6b718c2e6cdb423e0ab759e
3,976
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/user.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/user.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/user.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 ...
59.343284
360
0.730131
183033f8b55e7d679092c1257c20881d5b1452b6
176
exs
Elixir
priv/repo/migrations/20161218212519_add_user_to_posts.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
3
2016-12-20T17:16:39.000Z
2017-02-22T11:06:56.000Z
priv/repo/migrations/20161218212519_add_user_to_posts.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
1
2017-05-31T16:32:41.000Z
2017-05-31T16:32:41.000Z
priv/repo/migrations/20161218212519_add_user_to_posts.exs
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
null
null
null
defmodule BigSnips.Repo.Migrations.AddUserToPosts do use Ecto.Migration def change do alter table(:posts) do add :user_id, references(:users) end end end
17.6
52
0.710227
18303b3b831be386304995e37df8ee90c5b0a6ff
1,669
ex
Elixir
lib/adapters/tesla_finch_adapter.ex
jomaro/http
cd3cb127679a93e9f12f00edd70a5a7c797b937d
[ "MIT" ]
null
null
null
lib/adapters/tesla_finch_adapter.ex
jomaro/http
cd3cb127679a93e9f12f00edd70a5a7c797b937d
[ "MIT" ]
null
null
null
lib/adapters/tesla_finch_adapter.ex
jomaro/http
cd3cb127679a93e9f12f00edd70a5a7c797b937d
[ "MIT" ]
null
null
null
defmodule HTTP.Adapters.TeslaFinchAdapter do @moduledoc """ An adapter based on Finch which adds a connection poll over Mint If you need to make several requests to the same host, in a single execution of the application, you probably want to use this adapter """ alias HTTP.Request alias HTTP.Response ...
21.397436
78
0.584182
18303e1eea70c24a7d14ff87092136e36b28c085
892
ex
Elixir
clients/firebase/lib/google_api/firebase/v1beta1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/firebase/lib/google_api/firebase/v1beta1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/firebase/lib/google_api/firebase/v1beta1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.037037
74
0.761211
183040822f98d6f76ffba74916c9b97ea939db24
1,156
ex
Elixir
lib/whistler_news_reader/mark_as_read_helper.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
8
2016-06-12T20:11:26.000Z
2017-05-02T04:36:41.000Z
lib/whistler_news_reader/mark_as_read_helper.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
2
2016-06-12T15:49:06.000Z
2016-06-12T20:00:02.000Z
lib/whistler_news_reader/mark_as_read_helper.ex
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
null
null
null
defmodule WhistlerNewsReader.MarkAsReadHelper do @moduledoc """ Helper functions to mark entries as read """ alias WhistlerNewsReader.SubscribedEntry alias WhistlerNewsReader.Subscription alias WhistlerNewsReader.Repo def mark_entry_as_read(_user, subscribed_entry) do unread_entry = Repo.get!(Subscr...
32.111111
139
0.698097
18304a2ff10ce4d584973c02b80c13fa9ea88d39
7,677
exs
Elixir
config/simple_markdown_rules.exs
ScrimpyCat/ResxBase
34752e2cf64005a8e5fd0f89885aacc260f72bf8
[ "BSD-2-Clause" ]
null
null
null
config/simple_markdown_rules.exs
ScrimpyCat/ResxBase
34752e2cf64005a8e5fd0f89885aacc260f72bf8
[ "BSD-2-Clause" ]
null
null
null
config/simple_markdown_rules.exs
ScrimpyCat/ResxBase
34752e2cf64005a8e5fd0f89885aacc260f72bf8
[ "BSD-2-Clause" ]
null
null
null
use Mix.Config config :simple_markdown, rules: [ line_break: %{ match: ~r/\A $/m, format: "" }, newline: %{ match: ~r/\A\n/, ignore: true }, header: %{ match: ~r/\A(.*?)\n=+(?!.)/, option: 1, exclude: [:paragraph, :header] }, header: %{ match: ~r/\A(.*?)\n-+(?!.)/, option: 2, exclu...
58.603053
316
0.393904
183060a9a937600906cba5d4a9fe8344024274dd
870
ex
Elixir
lib/ex_matchers/less_or_equal_than.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
7
2016-07-11T13:17:34.000Z
2019-07-24T18:27:02.000Z
lib/ex_matchers/less_or_equal_than.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
2
2017-09-15T21:37:01.000Z
2021-07-23T19:13:12.000Z
lib/ex_matchers/less_or_equal_than.ex
10Pines/ex_matchers
ff36b55eeaf3bd506d92abea497b297ab78f02b1
[ "MIT" ]
1
2017-09-15T21:39:22.000Z
2017-09-15T21:39:22.000Z
defmodule ExMatchers.LessOrEqualThan do @moduledoc false import ExUnit.Assertions import ExMatchers.Custom defprotocol LessOrEqualThanMatcher do @fallback_to_any true def to_match(actual, another) def to_not_match(actual, another) end defimpl LessOrEqualThanMatcher, for: [Integer, Float] do ...
26.363636
79
0.728736
1830a2226782a740554ca40b4b81e456f24e124b
724
ex
Elixir
lib/movement/builders/revision_sync.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/movement/builders/revision_sync.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/movement/builders/revision_sync.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule Movement.Builders.RevisionSync do @behaviour Movement.Builder import Movement.Context, only: [assign: 3] alias Movement.EntriesCommitProcessor alias Accent.Scopes.Translation, as: TranslationScope alias Accent.Repo alias Accent.Translation def build(context) do context |> assign_trans...
25.857143
70
0.744475
1830e3ef1a915c84720cad31dd641b90dbd8ebb4
473
ex
Elixir
lib/common_graphql_client/caller/nil.ex
gitdav/common_graphql_client
0311d11a4ee7445c8b1ff46c5c068e1cec400819
[ "MIT" ]
null
null
null
lib/common_graphql_client/caller/nil.ex
gitdav/common_graphql_client
0311d11a4ee7445c8b1ff46c5c068e1cec400819
[ "MIT" ]
null
null
null
lib/common_graphql_client/caller/nil.ex
gitdav/common_graphql_client
0311d11a4ee7445c8b1ff46c5c068e1cec400819
[ "MIT" ]
null
null
null
defmodule CommonGraphQLClient.Caller.Nil do @behaviour CommonGraphQLClient.CallerBehaviour @impl CommonGraphQLClient.CallerBehaviour def post(_client, _query, _variables \\ []) do {:error, "Not Implemented"} end @impl CommonGraphQLClient.CallerBehaviour def subscribe(_client, _subscription_name, _call...
27.823529
84
0.769556
1830fb0cb62a958cf9662ef0cdcac78e55ebfba2
706
ex
Elixir
web/gettext.ex
openregister/local-authority-demo
92260b530a98d7b1e34fa8b4e1a0e4f4e4e28dc3
[ "MIT" ]
null
null
null
web/gettext.ex
openregister/local-authority-demo
92260b530a98d7b1e34fa8b4e1a0e4f4e4e28dc3
[ "MIT" ]
null
null
null
web/gettext.ex
openregister/local-authority-demo
92260b530a98d7b1e34fa8b4e1a0e4f4e4e28dc3
[ "MIT" ]
1
2021-04-11T08:29:46.000Z
2021-04-11T08:29:46.000Z
defmodule DataDemo.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import DataDemo.Gettext # Simple translation gettext "Here is the s...
28.24
72
0.679887
183114f1b47c10a7c387f5f95e475f6088954452
9,693
ex
Elixir
test/support/pages/pages.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/pages/pages.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/pages/pages.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Test.Pages do @endpoint EpicenterWeb.Endpoint import Euclid.Test.Extra.Assertions import ExUnit.Assertions import Phoenix.ConnTest import Phoenix.LiveViewTest alias Epicenter.Test alias Phoenix.LiveViewTest.View def actual_selections(%View{} = view, data_role, type) do inpu...
28.934328
138
0.628082
18311e24032d4aabdcc370a888a156a8d9905476
1,014
ex
Elixir
lib/sched_ex/stats.ex
matthewoden/SchedEx
99710fb2c0ca49946d5d90cc494c26531ce69b6d
[ "MIT" ]
null
null
null
lib/sched_ex/stats.ex
matthewoden/SchedEx
99710fb2c0ca49946d5d90cc494c26531ce69b6d
[ "MIT" ]
null
null
null
lib/sched_ex/stats.ex
matthewoden/SchedEx
99710fb2c0ca49946d5d90cc494c26531ce69b6d
[ "MIT" ]
1
2018-09-19T14:06:26.000Z
2018-09-19T14:06:26.000Z
defmodule SchedEx.Stats do @moduledoc false alias SchedEx.Stats.Value defstruct scheduling_delay: %Value{}, quantization_error: %Value{}, execution_time: %Value{} def update( %__MODULE__{ scheduling_delay: %Value{} = scheduling_delay, quantization_error: %Value{} = quantization_er...
31.6875
102
0.663708
18312ab32c7aff4ec485929411a6455d327e4d1f
712
ex
Elixir
dungeon_crawl/lib/dungeon_crawl/cli/room_actions_choice.ex
lebm/MyElixirTests
4221012296c913179cdda278290263bfc1141454
[ "Apache-2.0" ]
null
null
null
dungeon_crawl/lib/dungeon_crawl/cli/room_actions_choice.ex
lebm/MyElixirTests
4221012296c913179cdda278290263bfc1141454
[ "Apache-2.0" ]
null
null
null
dungeon_crawl/lib/dungeon_crawl/cli/room_actions_choice.ex
lebm/MyElixirTests
4221012296c913179cdda278290263bfc1141454
[ "Apache-2.0" ]
null
null
null
defmodule DungeonCrawl.CLI.RoomActionsChoice do alias Mix.Shell.IO, as: Shell import DungeonCrawl.CLI.BaseCommands @spec start(atom | %{:actions => any, :description => any, optional(any) => any}) :: {atom | %{:actions => any, :description => any, optional(any) => any}, any} def start(room)...
29.666667
88
0.585674
18316266e7fc9867003dcaead6208588a50c6fb6
1,499
ex
Elixir
api/test/support/conn_case.ex
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
null
null
null
api/test/support/conn_case.ex
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
24
2018-10-19T07:54:11.000Z
2022-02-26T13:28:55.000Z
api/test/support/conn_case.ex
arkanoryn/remote_day
10e0a4b8995c44fae774c21189725b54f69186b4
[ "Apache-2.0" ]
null
null
null
defmodule RemoteDayWeb.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 t...
26.298246
95
0.687125
18318992a904219a3e78f4d0204a20bbee8d08bf
4,155
ex
Elixir
lib/ex_unit/lib/ex_unit/capture_io.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/capture_io.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/capture_io.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.CaptureIO do @moduledoc ~S""" Functionality to capture IO for testing. ## Examples defmodule AssertionTest do use ExUnit.Case import ExUnit.CaptureIO test :example do assert capture_io(fn -> IO.puts "a" end) == "a\n" end ...
26.634615
106
0.633694
1831cc5706d69c58116d5cfd194564357b380eda
1,537
exs
Elixir
config/config.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
null
null
null
config/config.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
9
2020-08-11T11:36:59.000Z
2020-09-04T13:05:21.000Z
config/config.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
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 config :find_my_personal, ecto_repos: [FindMyP...
33.413043
92
0.765127
1831cf5a6076879c622a485fc396501171d59736
4,213
ex
Elixir
lib/ppc/common.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
lib/ppc/common.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
lib/ppc/common.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
defmodule Ppc.Common do @doc """ To update a paypal entity we need to provide each mutated field with correct annotations. The plan: - compare fields of old entity with new one. Obtain a list of entries (aka. update-list or update-triplets): - operation (one of {add|remove|replace}) - fiel...
28.086667
97
0.595775
1831d5ed6057420822d6fb92eb53e94ddd671347
7,020
ex
Elixir
lib/ecto/migrator.ex
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
lib/ecto/migrator.ex
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
lib/ecto/migrator.ex
timgestson/ecto
1c1eb6d322db04cfa48a4fc81da1332e91adbc1f
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Migrator do @moduledoc """ This module provides the migration API. ## Example defmodule MyApp.MigrationExample do use Ecto.Migration def up do execute "CREATE TABLE users(id serial PRIMARY_KEY, username text)" end def down do execute "DR...
28.192771
119
0.65
1831e996c20c711de684e07ea1933346c73366f2
306
ex
Elixir
lib/pingboard/types.ex
jgchristopher/pingboard-elixir
b828d220370ee7a1c3fec9e9c25a8df0d2e8b90f
[ "MIT" ]
null
null
null
lib/pingboard/types.ex
jgchristopher/pingboard-elixir
b828d220370ee7a1c3fec9e9c25a8df0d2e8b90f
[ "MIT" ]
null
null
null
lib/pingboard/types.ex
jgchristopher/pingboard-elixir
b828d220370ee7a1c3fec9e9c25a8df0d2e8b90f
[ "MIT" ]
null
null
null
defmodule Pingboard.Types do defmodule User do defstruct id: nil, first_name: nil, last_name: nil, job_title: nil, avatar_urls: [], phone: nil, start_date: nil use ExConstructor end defmodule Group do defstruct id: nil, name: nil, memberships_count: nil use ExConstructor end end
23.538462
116
0.722222
1831f7dd60be1edf07bf4499a11358c1e6793903
566
exs
Elixir
priv/repo/migrations/20190726065905_create_people.exs
StephaneRob/algoliax
692edbe71b2197fd42ee76885b121802e9a6466e
[ "BSD-2-Clause" ]
11
2020-01-16T14:56:12.000Z
2020-09-03T10:38:41.000Z
priv/repo/migrations/20190726065905_create_people.exs
StephaneRob/algoliax
692edbe71b2197fd42ee76885b121802e9a6466e
[ "BSD-2-Clause" ]
12
2019-11-22T09:40:51.000Z
2020-08-19T06:09:15.000Z
priv/repo/migrations/20190726065905_create_people.exs
StephaneRob/algoliax
692edbe71b2197fd42ee76885b121802e9a6466e
[ "BSD-2-Clause" ]
3
2020-01-16T15:53:19.000Z
2020-04-30T12:31:48.000Z
defmodule Algoliax.Repo.Migrations.CreatePeople do use Ecto.Migration def change do create table(:peoples) do add(:reference, :uuid) add(:first_name, :string) add(:last_name, :string) add(:age, :integer) add(:gender, :string) timestamps() end create table(:peoples_...
21.769231
60
0.620141
18324e58883a53c66c94ebfeff7c07b92939cd2d
1,018
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/vpn_client_i_psec_parameters.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.Network/lib/microsoft/azure/management/network/model/vpn_client_i_psec_parameters.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/vpn_client_i_psec_parameters.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.Network.Model.VpnClientIPsecParameters do @moduledoc """ An IPSec parameters for a virtual network gateway P2S conn...
25.45
97
0.680747
18326330fea45b258de49d45330bee236c08853e
1,557
exs
Elixir
mix.exs
vic/pond
d0249cc285392a2bbf343ab2d258cc7dde3ee53f
[ "Apache-2.0" ]
23
2018-03-28T15:36:16.000Z
2021-01-10T14:17:34.000Z
mix.exs
vic/pond
d0249cc285392a2bbf343ab2d258cc7dde3ee53f
[ "Apache-2.0" ]
null
null
null
mix.exs
vic/pond
d0249cc285392a2bbf343ab2d258cc7dde3ee53f
[ "Apache-2.0" ]
1
2020-09-21T12:43:23.000Z
2020-09-21T12:43:23.000Z
defmodule Pond.MixProject do use Mix.Project @description """ Pond is an Elixir library for creating state handling functions without spawning processes. Pond functions are same-process, referentially transparent functions, that let you implement Finite State Machines, Generators, (push/pull) Reactive Strea...
25.112903
94
0.604367
18328528953495257b3360348b16d9abb69d07b9
80,843
ex
Elixir
lib/elixir/lib/string.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [length: 1] defmodule String do @moduledoc ~S""" Strings in Elixir are UTF-8 encoded binaries. Strings in Elixir are a sequence of Unicode characters, typically written between double quoted strings, such as `"hello"` and `"héllò"`. In case a string must have a double-quote in itse...
29.185199
102
0.648108
183288e6634b91106bf325e0aab90be4d99a2706
7,444
ex
Elixir
lib/rrule.ex
withbroadcast/rrule
05c6fa8935a781cc74da534f860551adbeafd450
[ "MIT" ]
2
2021-08-24T04:14:57.000Z
2021-09-03T01:35:08.000Z
lib/rrule.ex
withbroadcast/rrule
05c6fa8935a781cc74da534f860551adbeafd450
[ "MIT" ]
null
null
null
lib/rrule.ex
withbroadcast/rrule
05c6fa8935a781cc74da534f860551adbeafd450
[ "MIT" ]
null
null
null
defmodule RRule do alias RRule.{Rule, RuleSet, Util} def next_occurrence(ruleset, datetime) do RuleSet.next_occurrence(ruleset, datetime) end def next_occurrences(ruleset, datetime, count) do RuleSet.next_occurrences(ruleset, datetime, count) end ## Stuff @type datetime :: DateTime.t() | Naive...
24.896321
96
0.636083
1832f12e01abbfc8ba2fe28d02f677cb27dbeb44
71
ex
Elixir
lib/panglao/mailer.ex
ikeikeikeike/panglao
6d3f6515d9f1ceb9a2e771ae2d54c222cedbf538
[ "MIT" ]
1
2017-02-18T21:20:17.000Z
2017-02-18T21:20:17.000Z
lib/panglao/mailer.ex
ikeikeikeike/panglao
6d3f6515d9f1ceb9a2e771ae2d54c222cedbf538
[ "MIT" ]
null
null
null
lib/panglao/mailer.ex
ikeikeikeike/panglao
6d3f6515d9f1ceb9a2e771ae2d54c222cedbf538
[ "MIT" ]
null
null
null
defmodule Panglao.Mailer do use Bamboo.Mailer, otp_app: :panglao end
17.75
38
0.788732
1832f7ada242320ca067bc79b8adff7152135f03
6,412
exs
Elixir
test/unit/nquads_encoder_test.exs
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
19
2020-06-05T16:55:54.000Z
2022-03-22T10:30:11.000Z
test/unit/nquads_encoder_test.exs
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
4
2020-07-03T21:02:55.000Z
2021-11-18T07:22:06.000Z
test/unit/nquads_encoder_test.exs
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.NQuads.EncoderTest do use ExUnit.Case, async: false alias RDF.NQuads doctest NQuads.Encoder alias RDF.{Dataset, Graph} alias RDF.NS.XSD import RDF.Sigils import RDF.Test.Case, only: [stream_to_string: 1] use RDF.Vocabulary.Namespace defvocab EX, base_iri: "http://example.org/#", te...
37.717647
126
0.470992
18331faa9df4d1fcf677987c0d60e22d71cc2ce5
26,468
exs
Elixir
test/vintage_net/wifi/wpa_supplicant_decoder_test.exs
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
test/vintage_net/wifi/wpa_supplicant_decoder_test.exs
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
test/vintage_net/wifi/wpa_supplicant_decoder_test.exs
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.WiFi.WPASupplicantDecoderTest do use ExUnit.Case alias VintageNet.WiFi.WPASupplicantDecoder test "decodes kv responses" do # MIB requests assert WPASupplicantDecoder.decode_kv_response(""" dot11RSNAOptionImplemented=TRUE dot11RSNAPreauthenticationImplemented=TR...
55.141667
2,042
0.679953
18332c84ae1b4914b76e20f4131d7019f0a33bf9
2,072
exs
Elixir
test/cachex/warmer_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
null
null
null
test/cachex/warmer_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
null
null
null
test/cachex/warmer_test.exs
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
null
null
null
defmodule Cachex.WarmerTest do use CachexCase test "warmers which set basic values" do # create a test warmer to pass to the cache Helper.create_warmer(:basic_warmer, 50, fn(_) -> { :ok, [ { 1, 1 } ] } end) # create a cache instance with a warmer cache = Helper.create_cache([ warme...
24.963855
62
0.624517
1833990eacc1f9cc207ced83cea8dda079b9b4d4
1,864
ex
Elixir
lib/mix/tasks/phx.digest.clean.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
2
2017-06-08T23:28:13.000Z
2017-06-08T23:28:16.000Z
lib/mix/tasks/phx.digest.clean.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
lib/mix/tasks/phx.digest.clean.ex
blunckr/fenix
aeccae9658ed3d85d8af8f28ce2584d407b43d6b
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phx.Digest.Clean do use Mix.Task @default_output_path "priv/static" @default_age 3600 @default_keep 2 @shortdoc "Removes old versions of static assets." @recursive true @moduledoc """ Removes old versions of compiled assets. By default, it will keep the latest version and 2 pr...
33.285714
86
0.665773
1833b40ce531aa91271ac6e52266f20f2fba4d70
7,136
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/attached_disk_initialize_params.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/compute/lib/google_api/compute/v1/model/attached_disk_initialize_params.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/attached_disk_initialize_params.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...
88.098765
1,015
0.746777
1834011d5c57ada2eafd75d845d971344d5be67a
1,900
exs
Elixir
server/apps/boardr/priv/repo/migrations/20191208160203_create_games_and_players.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2021-04-08T17:26:27.000Z
2021-04-08T17:26:27.000Z
server/apps/boardr/priv/repo/migrations/20191208160203_create_games_and_players.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2022-02-13T05:50:46.000Z
2022-02-13T05:50:46.000Z
server/apps/boardr/priv/repo/migrations/20191208160203_create_games_and_players.exs
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
null
null
null
defmodule Boardr.Repo.Migrations.CreateGamesAndPlayers do use Ecto.Migration def change do execute ~s/CREATE TYPE game_states AS ENUM ('waiting_for_players', 'playing', 'draw', 'win');/, ~s/DROP TYPE game_states;/ create table(:games, primary_key: false) do add :creator_id, references(:users, on_del...
52.777778
140
0.710526
183409853d1942f0acbb207c7fa384d5c99ef14a
1,918
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/gke_hub_cluster_reference.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/game_services/lib/google_api/game_services/v1beta/model/gke_hub_cluster_reference.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/gke_hub_cluster_reference.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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.808511
479
0.76121
18340ea9ce879eae9064e67bf07766980ea16858
444
exs
Elixir
config/test.exs
diegoeche/elixir-evie
fc986385b5c5c999be137923b39387411928ac17
[ "MIT" ]
1
2020-09-15T11:36:12.000Z
2020-09-15T11:36:12.000Z
config/test.exs
diegoeche/elixir-evie
fc986385b5c5c999be137923b39387411928ac17
[ "MIT" ]
1
2021-05-10T20:29:53.000Z
2021-05-10T20:29:53.000Z
config/test.exs
diegoeche/elixir-evie
fc986385b5c5c999be137923b39387411928ac17
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :evie, Evie.Repo, username: "postgres", password: "postgres", database: "evie_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required, # you can enable the server option below. config :evie, EvieWeb...
23.368421
56
0.722973
18341995796775a06bbbc8d9ae658218c7e8c97e
2,060
exs
Elixir
config/prod.exs
ngnclht1102/trello-clone
669bf0ab765ca1d9735124f3f99cb245582b45fa
[ "MIT" ]
null
null
null
config/prod.exs
ngnclht1102/trello-clone
669bf0ab765ca1d9735124f3f99cb245582b45fa
[ "MIT" ]
null
null
null
config/prod.exs
ngnclht1102/trello-clone
669bf0ab765ca1d9735124f3f99cb245582b45fa
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.225806
71
0.723301
1834223e5dcaea05063b3e80c03c8bf8b0c4f885
4,073
ex
Elixir
lib/mix/lib/mix/task.compiler.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/mix/lib/mix/task.compiler.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/task.compiler.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Task.Compiler do @moduledoc """ This module defines the behaviour for a Mix task that does compilation. A Mix compiler task can be defined by simply using `Mix.Task.Compiler` in a module whose name starts with `Mix.Tasks.Compile.` and defining the `run/1` function: defmodule Mix.Tasks.Co...
30.62406
91
0.64989
18345770d5c2ab7fba49acbf7d5b16646f1001d0
1,948
ex
Elixir
lib/machinery/transitions.ex
kianmeng/machinery
4c2dfc505b9546db84786223e66006532d6df4ec
[ "Apache-2.0" ]
433
2017-10-12T17:59:33.000Z
2022-03-29T17:32:54.000Z
lib/machinery/transitions.ex
kianmeng/machinery
4c2dfc505b9546db84786223e66006532d6df4ec
[ "Apache-2.0" ]
74
2017-12-11T04:42:39.000Z
2022-01-24T05:44:43.000Z
lib/machinery/transitions.ex
kianmeng/machinery
4c2dfc505b9546db84786223e66006532d6df4ec
[ "Apache-2.0" ]
46
2017-12-04T12:54:00.000Z
2022-03-28T10:13:56.000Z
defmodule Machinery.Transitions do @moduledoc """ This is a GenServer that controls the transitions for a struct using a set of helper functions from Machinery.Transition It's meant to be run by a supervisor. """ use GenServer alias Machinery.Transition @not_declated_error "Transition to this state is...
30.4375
98
0.699692
183460ccfb027828f062b700eb863b62cdaddbda
2,123
ex
Elixir
elixir/lib/homework/users.ex
kellyfelkins/web-homework
b204866bd0a6908efa05ef8f5772b9fa926dbf02
[ "MIT" ]
null
null
null
elixir/lib/homework/users.ex
kellyfelkins/web-homework
b204866bd0a6908efa05ef8f5772b9fa926dbf02
[ "MIT" ]
null
null
null
elixir/lib/homework/users.ex
kellyfelkins/web-homework
b204866bd0a6908efa05ef8f5772b9fa926dbf02
[ "MIT" ]
null
null
null
defmodule Homework.Users do @moduledoc """ The Users context. """ import Ecto.Query, warn: false alias Homework.Repo alias Homework.Users.User @doc """ Returns the list of users. ## Examples iex> list_users([]) [%User{}, ...] """ def list_users(_args) do Repo.all(User) end ...
17.260163
69
0.58926
18346627de4e1f01b2e555acd2eb937ef481534d
1,417
ex
Elixir
lib/hl7/2.5/segments/orc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/orc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/orc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.ORC do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, order_control: nil, placer_order_number: DataTypes.Ei, filler_order_number: DataTypes.Ei, placer_group_number: DataTypes.Ei, order_stat...
33.738095
65
0.730416
1834afe3a4493cd2ae096057831cd62ff9e1d9dd
3,282
exs
Elixir
test/socializer/conversation_test.exs
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
311
2019-04-21T22:15:08.000Z
2022-01-23T14:07:03.000Z
test/socializer/conversation_test.exs
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
9
2020-09-07T09:38:58.000Z
2022-02-26T18:07:44.000Z
test/socializer/conversation_test.exs
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
49
2019-04-22T01:29:50.000Z
2022-03-23T04:34:35.000Z
defmodule Socializer.ConversationTest do use SocializerWeb.ConnCase alias Socializer.Conversation @valid_attrs %{title: "Zach, Joe"} describe "#all_for_user" do it "finds conversations for user" do user = insert(:user) conversation = insert(:conversation) insert(:conversation) ins...
31.257143
77
0.677026
1834b3e94c5b4ae90f3f4cd644396799fe98495b
2,506
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/method.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/method.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/method.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...
38.553846
136
0.691141
1834db3c0e8516ac150473884544f2909b59e70e
320
ex
Elixir
lib/codes/codes_k36.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_k36.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_k36.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_K36 do alias IcdCode.ICDCode def _K36 do %ICDCode{full_code: "K36", category_code: "K36", short_code: "", full_name: "Other appendicitis", short_name: "Other appendicitis", category_name: "Other appendicitis" } end end
20
45
0.6125
1834eabdcda713f36f5abd764e5666ec14da8709
3,148
ex
Elixir
lib/requiem/supervisor.ex
5ebec/requiem
dee0638c9c68e13b194fd8e45c9e4fd1b4e3207a
[ "MIT" ]
37
2021-01-06T05:47:49.000Z
2022-03-24T11:07:00.000Z
lib/requiem/supervisor.ex
5ebec/requiem
dee0638c9c68e13b194fd8e45c9e4fd1b4e3207a
[ "MIT" ]
null
null
null
lib/requiem/supervisor.ex
5ebec/requiem
dee0638c9c68e13b194fd8e45c9e4fd1b4e3207a
[ "MIT" ]
2
2021-01-06T06:28:44.000Z
2022-03-07T10:04:34.000Z
defmodule Requiem.Supervisor do @moduledoc """ Root supervisor for all Requiem process tree. """ require Logger use Supervisor alias Requiem.AddressTable alias Requiem.Config alias Requiem.QUIC alias Requiem.ConnectionRegistry alias Requiem.ConnectionSupervisor alias Requiem.DispatcherSupervisor ...
30.862745
83
0.641995
183508c5d3fdf09147242a307157863357802559
1,691
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_info_types_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_info_types_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_info_types_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.229167
146
0.758723
1835093e7285c8228da0858a24501f1e30da8a40
147
ex
Elixir
lib/elixir_jobs_web/controllers/page_controller.ex
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
86
2017-09-22T08:08:23.000Z
2021-05-28T19:51:17.000Z
lib/elixir_jobs_web/controllers/page_controller.ex
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
24
2017-09-23T08:23:36.000Z
2021-09-20T14:36:06.000Z
lib/elixir_jobs_web/controllers/page_controller.ex
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
21
2017-09-23T18:50:23.000Z
2019-10-15T19:41:44.000Z
defmodule ElixirJobsWeb.PageController do use ElixirJobsWeb, :controller def about(conn, _params) do render(conn, "about.html") end end
18.375
41
0.748299
18352ca380d5c203f424599b1b0d8c173faeb365
1,225
exs
Elixir
test/routing/connections_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
test/routing/connections_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
test/routing/connections_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
defmodule Bolt.Sips.Routing.ConnectionsTest do use ExUnit.Case, async: true @moduletag :routing alias Bolt.Sips.Router @current_connections %{ read: %{"localhost:7688" => 10, "localhost:7689" => 20}, route: %{ "localhost:7687" => 2, "localhost:7688" => 1, "localhost:7689" => 9 },...
27.840909
86
0.547755
18354a9cd8e28037d1f8711ad4914019e7a5d745
6,702
ex
Elixir
lib/livebook_web/live/output/table_dynamic_live.ex
lbighetti/livebook
7b4978d00388ade3465667d62e44891417ff4bac
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/output/table_dynamic_live.ex
lbighetti/livebook
7b4978d00388ade3465667d62e44891417ff4bac
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/output/table_dynamic_live.ex
lbighetti/livebook
7b4978d00388ade3465667d62e44891417ff4bac
[ "Apache-2.0" ]
1
2021-07-07T06:18:36.000Z
2021-07-07T06:18:36.000Z
defmodule LivebookWeb.Output.TableDynamicLive do use LivebookWeb, :live_view @limit 10 @loading_delay_ms 100 @impl true def mount(_params, %{"pid" => pid, "id" => id}, socket) do send(pid, {:connect, self()}) {:ok, assign(socket, id: id, pid: pid, loading: true, sho...
32.692683
149
0.546255
183559085c395f779c56c4eb7dfe549c6e958e4d
1,609
ex
Elixir
lib/util/nested_map.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
lib/util/nested_map.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
lib/util/nested_map.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.NestedMap do @moduledoc """ Utility functions to work with nested maps. """ alias Antikythera.MapUtil defun deep_merge(m1 :: v[map], m2 :: v[map]) :: map do Map.merge(m1, m2, fn _k, v1, v2 when is_map(...
26.377049
101
0.540709
1835657eef12d7fb2fd87cbf465fbf351e172d0e
1,750
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/update_snapshot_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/update_snapshot_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/update_snapshot_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35
161
0.733714
183566cc18ef0a0a56eb97dfea94aea6555062f7
11,039
exs
Elixir
test/transaction_test.exs
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
test/transaction_test.exs
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
test/transaction_test.exs
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
defmodule TransactionTest do use ExUnit.Case use Plug.Test alias NewRelic.Harvest.Collector defmodule HelperModule do use NewRelic.Tracer @trace :function def function(n), do: Process.sleep(n) end defmodule ExternalService do use NewRelic.Tracer @trace {:query, category: :external} ...
32.756677
99
0.636924
1835f76b3401e4b2c37c446fca46f79881dabe73
1,528
ex
Elixir
lib/real_world/article.ex
razuf/elixir-phoenix-surface-realworld
282bd2966012611432affc026539b81dd8bc934f
[ "MIT" ]
17
2020-09-21T23:24:38.000Z
2021-10-22T01:11:27.000Z
lib/real_world/article.ex
razuf/elixir-phoenix-liveview-realworld
182eb845b2b56f146468d9a095a8d5d72fc44f17
[ "MIT" ]
1
2020-10-13T20:43:16.000Z
2020-10-13T20:43:16.000Z
lib/real_world/article.ex
razuf/elixir-phoenix-surface-realworld
282bd2966012611432affc026539b81dd8bc934f
[ "MIT" ]
1
2021-11-02T19:18:40.000Z
2021-11-02T19:18:40.000Z
defmodule RealWorld.Article do use Ecto.Schema import Ecto.Changeset schema "articles" do field(:body, :string) field(:description, :string) field(:slug, :string) field(:tagList, {:array, :string}) field(:tag_list_string, :string) field(:title, :string) field(:favorited, :boolean) ...
26.344828
92
0.67212
183641ecf44c382ae05e9a24600dcc01f973919a
563
ex
Elixir
web/models/budget_planning.ex
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
web/models/budget_planning.ex
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
web/models/budget_planning.ex
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
defmodule Hb.BudgetPlanning do use Hb.Web, :model schema "budget_plannings" do field :income_amount, Money.Ecto.Type field :expense_amount, Money.Ecto.Type field :period, :date belongs_to :accounting, Hb.Accounting timestamps() end @doc """ Builds a changeset based on the `struct` and `...
25.590909
84
0.689165
1836481ec1c725ef3bea2777465bdefc2b52a098
2,661
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/page.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/page.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/page.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.565217
166
0.693348
1836503bc5379f71794b940a8a52163163d45753
4,411
ex
Elixir
lib/phoenix_sample_web/controllers/user_auth.ex
gotoeveryone/phoenix_sample
8e53f1d1a0c9bf37e474755c60d06f3cb578ae7f
[ "MIT" ]
null
null
null
lib/phoenix_sample_web/controllers/user_auth.ex
gotoeveryone/phoenix_sample
8e53f1d1a0c9bf37e474755c60d06f3cb578ae7f
[ "MIT" ]
null
null
null
lib/phoenix_sample_web/controllers/user_auth.ex
gotoeveryone/phoenix_sample
8e53f1d1a0c9bf37e474755c60d06f3cb578ae7f
[ "MIT" ]
null
null
null
defmodule PhoenixSampleWeb.UserAuth do import Plug.Conn import Phoenix.Controller alias PhoenixSample.Accounts alias PhoenixSampleWeb.Router.Helpers, as: Routes # Make the remember me cookie valid for 60 days. # If you want bump or reduce this value, also change # the token expiry itself in UserToken. ...
29.406667
81
0.696894
1836511fd419e3eb2ca8c5003b0461377c5567f6
1,682
exs
Elixir
test/xml_interface_test.exs
stevenschobert/weebo
630084458fbd6a1adad0296c4752fdd5f6a00490
[ "MIT" ]
6
2015-06-08T07:34:57.000Z
2019-03-30T06:49:02.000Z
test/xml_interface_test.exs
stevenschobert/weebo
630084458fbd6a1adad0296c4752fdd5f6a00490
[ "MIT" ]
null
null
null
test/xml_interface_test.exs
stevenschobert/weebo
630084458fbd6a1adad0296c4752fdd5f6a00490
[ "MIT" ]
null
null
null
defmodule Weebo.XMLInterfaceTest do use ExUnit.Case alias Weebo.XMLInterface, as: XML def sample_tree() do {:methodResponse, [ {:params, [ {:param, [ {:value, [ {:string, ["Weebo"]}, ]}]}, {:...
23.041096
80
0.541023
18366a56c77c76c1569ecd77c698fd9f8dfe35f1
1,361
ex
Elixir
lib/wechat/mini_program/live/subscribe.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
7
2021-01-22T04:07:29.000Z
2021-12-14T14:01:30.000Z
lib/wechat/mini_program/live/subscribe.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
1
2021-03-17T15:44:26.000Z
2021-03-17T15:44:26.000Z
lib/wechat/mini_program/live/subscribe.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
2
2021-03-17T14:35:56.000Z
2021-08-10T07:44:10.000Z
defmodule WeChat.MiniProgram.Live.Subscribe do @moduledoc """ 小程序 - 直播长期订阅相关接口 """ import Jason.Helpers import WeChat.Utils, only: [doc_link_prefix: 0] alias WeChat.MiniProgram.Live.Room @doc_link "#{doc_link_prefix()}/miniprogram/dev/framework/liveplayer/subscribe-api.html" @type limit :: 1..2000 @...
27.22
96
0.685525
18367aba928dd64fa371f4639094f9b801154a6d
2,748
ex
Elixir
lib/codes/codes_a77.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_a77.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_a77.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_A77 do alias IcdCode.ICDCode def _A770 do %ICDCode{full_code: "A770", category_code: "A77", short_code: "0", full_name: "Spotted fever due to Rickettsia rickettsii", short_name: "Spotted fever due to Rickettsia rickettsii", categor...
31.227273
69
0.60444
183684940f240f7ed0799b8cc44c80715b6b87cc
489
ex
Elixir
test/support/helper.ex
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
test/support/helper.ex
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
test/support/helper.ex
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule Iris.Test.Helper do @doc false defmacro __using__(_opts) do quote do use ExUnit.Case, async: true import Iris.Test.Assertions @opts [ allow: %{ :"Elixir.Iris.Test.TestModule" => %{test_public: [1]}, }, mod_prefix: "Elixir.Iris.Test." ] @...
20.375
64
0.529652
1836ad9f6952e075d6dfd776d6d57d8c623da45b
1,585
ex
Elixir
clients/ad_mob/lib/google_api/ad_mob/v1/model/generate_mediation_report_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/model/generate_mediation_report_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_mob/lib/google_api/ad_mob/v1/model/generate_mediation_report_request.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...
33.723404
127
0.757098
1836ca40a11169f7dbf15df8f4108ee13ec77fb7
1,964
exs
Elixir
config/prod.exs
diegoangel/todo-app-elixir
7dc8d1734a6435f78a243dc621766f523177eea0
[ "Apache-2.0" ]
null
null
null
config/prod.exs
diegoangel/todo-app-elixir
7dc8d1734a6435f78a243dc621766f523177eea0
[ "Apache-2.0" ]
null
null
null
config/prod.exs
diegoangel/todo-app-elixir
7dc8d1734a6435f78a243dc621766f523177eea0
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
31.677419
67
0.709776
1836e7a38c2786944ad17c4322cae90287869471
3,478
exs
Elixir
test/boots_of_speed/game_state_agent_test.exs
Baradoy/boots_of_speed
6004da8fb43e15cb7443e0bd00fe70c936a41015
[ "MIT" ]
1
2019-04-18T05:10:21.000Z
2019-04-18T05:10:21.000Z
test/boots_of_speed/game_state_agent_test.exs
Baradoy/boots_of_speed
6004da8fb43e15cb7443e0bd00fe70c936a41015
[ "MIT" ]
3
2020-07-16T17:41:44.000Z
2021-05-08T03:39:49.000Z
test/boots_of_speed/game_state_agent_test.exs
Baradoy/boots_of_speed
6004da8fb43e15cb7443e0bd00fe70c936a41015
[ "MIT" ]
null
null
null
defmodule BootsOfSpeed.GameStateAgentTest do use ExUnit.Case alias BootsOfSpeed.GameStateAgent alias BootsOfSpeed.GameStateAgent.State defp current_round(state) do get_in(state, [:round_stack, Access.at(0)]) end defp add_cragheart(pid) do GameStateAgent.add_character("cragheart", "image", "player...
34.435644
119
0.627085
183709a2c3b53e96e82f5d47094b7a2d7d0031a5
495
ex
Elixir
lib/pummpcomm/history/change_time.ex
infinity-aps/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
15
2017-08-31T00:58:47.000Z
2020-01-12T03:53:13.000Z
lib/pummpcomm/history/change_time.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
1
2017-09-15T02:09:31.000Z
2017-09-15T02:09:31.000Z
lib/pummpcomm/history/change_time.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
3
2017-09-10T17:24:59.000Z
2019-09-10T19:41:49.000Z
defmodule Pummpcomm.History.ChangeTime do @moduledoc """ When the pump's time is changed """ @behaviour Pummpcomm.History.Decoder # Functions ## Pummpcomm.History.Decoder callbacks @doc """ `timestamp` when the pump's time is changed """ @impl Pummpcomm.History.Decoder # TODO decode new time ...
24.75
93
0.729293
1837286ad63c18d40284f01b873b215e1080786e
7,868
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/video.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video.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 ...
77.137255
518
0.743391
18373007e80bbac03dec9b54062011645950613f
2,197
exs
Elixir
backend/apps/students_crm_v2_web/config/dev.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2_web/config/dev.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2_web/config/dev.exs
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :students_crm_v2_web, StudentsCrmV2Web.Endpoint,...
27.4625
107
0.674556
1837354d5f961b175aabf6bc71646dcbea9b7298
22,397
exs
Elixir
test/phoenix/controller/controller_test.exs
mnieborak/phoenix
fed5bccdf33e09ef53f56f9175d225a667a57600
[ "MIT" ]
null
null
null
test/phoenix/controller/controller_test.exs
mnieborak/phoenix
fed5bccdf33e09ef53f56f9175d225a667a57600
[ "MIT" ]
null
null
null
test/phoenix/controller/controller_test.exs
mnieborak/phoenix
fed5bccdf33e09ef53f56f9175d225a667a57600
[ "MIT" ]
null
null
null
defmodule Phoenix.Controller.ControllerTest do use ExUnit.Case, async: true use RouterHelper import Phoenix.Controller alias Plug.Conn setup do Logger.disable(self()) :ok end defp get_resp_content_type(conn) do [header] = get_resp_header(conn, "content-type") header |> String.split(";"...
35.438291
115
0.619413
18373952143fe206aa03206dd14a1f0ba059533f
9,500
exs
Elixir
test/elixir/test/update_documents_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
1
2022-01-14T20:52:55.000Z
2022-01-14T20:52:55.000Z
test/elixir/test/update_documents_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
null
null
null
test/elixir/test/update_documents_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
null
null
null
defmodule UpdateDocumentsTest do use CouchTestCase @moduletag :docs @moduletag kind: :single_node @ddoc %{ _id: "_design/update", language: "javascript", updates: %{ hello: """ function(doc, req) { if (!doc) { if (req.id) { return [ // Create...
28.189911
85
0.583579
18373d2438949abb2e0cd12ba7ccb09fd117e25a
263
ex
Elixir
lib/events_tools_web/views/acounts_view.ex
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
2
2017-10-06T01:14:35.000Z
2017-11-18T16:44:44.000Z
lib/events_tools_web/views/acounts_view.ex
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
6
2017-10-06T00:04:59.000Z
2017-10-06T00:09:27.000Z
lib/events_tools_web/views/acounts_view.ex
apps-team/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
1
2017-10-06T01:17:35.000Z
2017-10-06T01:17:35.000Z
defmodule CommunityToolsWeb.AccountsView do use CommunityToolsWeb, :view def render("credentials.json", %{user: user, jwt: jwt}) do %{user: user, jwt: jwt} end def render("failed_credentials.json", %{error: error}) do %{error: error} end end
20.230769
60
0.684411
1837402807160e9f5a5ca143dff51ceb618fb4dd
1,214
exs
Elixir
mix.exs
kentaro/browser_launcher
91b96974a24ba5ac100a3e264fff118fa09f7576
[ "MIT" ]
1
2020-12-23T22:25:04.000Z
2020-12-23T22:25:04.000Z
mix.exs
kentaro/browser_launcher
91b96974a24ba5ac100a3e264fff118fa09f7576
[ "MIT" ]
null
null
null
mix.exs
kentaro/browser_launcher
91b96974a24ba5ac100a3e264fff118fa09f7576
[ "MIT" ]
null
null
null
defmodule BrowserLauncher.MixProject do use Mix.Project def project do [ app: :browser_launcher, version: "0.1.3", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), source_url: "https://github.com/kentaro/browser_launcher", homepage_url: "https://git...
22.90566
87
0.594728
18376746412caaece9509192e1a72caad26f835c
6,172
ex
Elixir
lib/mix/lib/mix/tasks/compile.protocols.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.protocols.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.protocols.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.Protocols do use Mix.Task.Compiler @manifest ".compile.protocols" @manifest_vsn :v2 @moduledoc ~S""" Consolidates all protocols in all paths. This task is automatically invoked unless the project disables the `:consolidate_protocols` option in their configuration. ## Co...
28.442396
91
0.660726
183792dbf59a6d8b1577df4ba0f62b3ef77fb6ac
13,448
exs
Elixir
test/cgrates_web_jsonapi_web/controllers/cdr_stat_controller_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
test/cgrates_web_jsonapi_web/controllers/cdr_stat_controller_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
test/cgrates_web_jsonapi_web/controllers/cdr_stat_controller_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapiWeb.CdrStatControllerTest do use CgratesWebJsonapi.ConnCase alias CgratesWebJsonapi.Cdrs.Cdr alias CgratesWebJsonapi.Repo import CgratesWebJsonapi.Factory import CgratesWebJsonapi.Guardian setup do user = insert(:user) {:ok, token, _} = encode_and_sign(user, %{}, token...
26.317025
91
0.520375
18379744b322f3fa26665d146b4a8a53746b827d
1,345
exs
Elixir
apps/alert_processor/test/alert_processor/helpers/string_helper_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/alert_processor/test/alert_processor/helpers/string_helper_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/alert_processor/test/alert_processor/helpers/string_helper_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule AlertProcessor.Helpers.StringHelperTest do @moduledoc false use ExUnit.Case, async: true alias AlertProcessor.Helpers.StringHelper test "capitalize_first/1 capitalizes the first character of a string and does not change the remaining characters" do capitalized = StringHelper.capitalize_first("eve...
28.020833
119
0.65948
18379e5295222e9ab34086f886029f5905364c9a
68
exs
Elixir
.iex.exs
icecube11/rube
5d813c5b9f7b984786ac7db6fd2eca0939bf5468
[ "MIT" ]
22
2021-06-23T06:25:41.000Z
2022-02-16T19:08:33.000Z
.iex.exs
icecube11/rube
5d813c5b9f7b984786ac7db6fd2eca0939bf5468
[ "MIT" ]
16
2021-06-21T17:02:13.000Z
2022-03-21T15:04:14.000Z
.iex.exs
icecube11/rube
5d813c5b9f7b984786ac7db6fd2eca0939bf5468
[ "MIT" ]
2
2021-06-23T13:40:52.000Z
2021-09-17T07:25:34.000Z
Application.put_env(:elixir, :ansi_enabled, true) import Slurp.IEx
17
49
0.794118