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
855908cc95dc7ea91b74d5b805d0ad9e392e0a4c
689
ex
Elixir
test/support/feature_case.ex
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
test/support/feature_case.ex
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
test/support/feature_case.ex
ravernkoh/awesome-lists
ed8f93d6bc1e5968303a484ebe8f0036ddd0db7b
[ "MIT" ]
null
null
null
defmodule AwesomeWeb.FeatureCase do use ExUnit.CaseTemplate using do quote do use Wallaby.DSL import AwesomeWeb.FeatureHelpers alias Awesome.Repo alias AwesomeWeb.Endpoint import Ecto import Ecto.Changeset import Ecto.Query import AwesomeWeb.Router.Helpers ...
22.225806
74
0.685051
855952398a6081015e4c11a3a313c2d8eec7b1b2
3,203
ex
Elixir
clients/run/lib/google_api/run/v1/model/config_map_volume_source.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/config_map_volume_source.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/config_map_volume_source.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...
57.196429
567
0.737434
8559922fa72989ec2cea9664fb1b6a01873f0dea
151
exs
Elixir
first_steps/prefix.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
first_steps/prefix.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
first_steps/prefix.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
prefix = fn input_1 -> (fn input_2 -> "#{input_1} #{input_2}" end)end mrs = prefix.("Mrs") IO.puts mrs.("Kolinda") IO.puts prefix.("Elixir").("Rocks")
30.2
69
0.629139
8559ae2ed66e06aa21ff5093220efad48728712c
636
exs
Elixir
config/config.exs
uberbrodt/typed_struct
b972eb8124b20aa8abd2ae1a6c4f8197947b4bc6
[ "MIT" ]
560
2018-06-18T20:56:54.000Z
2022-03-23T00:30:50.000Z
config/config.exs
uberbrodt/typed_struct
b972eb8124b20aa8abd2ae1a6c4f8197947b4bc6
[ "MIT" ]
24
2018-05-31T05:37:04.000Z
2022-02-15T20:12:45.000Z
config/config.exs
uberbrodt/typed_struct
b972eb8124b20aa8abd2ae1a6c4f8197947b4bc6
[ "MIT" ]
25
2018-07-03T23:42:59.000Z
2022-03-24T20:30:52.000Z
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 parent project. For this reason, if you want to provide default # values for your application for 3rd-party users, it should be...
37.411765
80
0.754717
8559b49779c81583fe360fea160c6a3634c7e363
2,565
exs
Elixir
test/10_parse/20_top_level/field_transformations_test.exs
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
test/10_parse/20_top_level/field_transformations_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
test/10_parse/20_top_level/field_transformations_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule Parse.TopLevel.FieldTransformationsTest do use EctoTestDSL.Case use T.Predefines use T.Parse.Exports alias T.Nouns.{AsCast,FieldCalculator} @empty %{ api_module: Schema, as_cast: AsCast.nothing, field_calculators: [] } describe "as_cast" do test "simple creation" do @emp...
31.280488
81
0.637037
8559e8bd3913a7aa4b13edea5d4035aff5734b58
222
exs
Elixir
gateway/config/dev.exs
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
gateway/config/dev.exs
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "MIT" ]
null
null
null
gateway/config/dev.exs
akrisanov/microservices_in_elixir
55829d5e53c8e77f3fb468419a29f1f1f9fa8db0
[ "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 config :gateway, endpoints_config: "config.dev.yaml", nsqds: ["127.0.0.1:4150"]
27.75
61
0.752252
8559ec337db3327129abfb47ae9d1a3ac3e37309
1,117
exs
Elixir
config/config.exs
derailed/ex_cut
fcc1e62a3ec9f117eea225dc5c85baaf140f9ed1
[ "Apache-2.0" ]
3
2017-11-05T12:47:57.000Z
2019-03-16T00:44:12.000Z
config/config.exs
derailed/ex_cut
fcc1e62a3ec9f117eea225dc5c85baaf140f9ed1
[ "Apache-2.0" ]
null
null
null
config/config.exs
derailed/ex_cut
fcc1e62a3ec9f117eea225dc5c85baaf140f9ed1
[ "Apache-2.0" ]
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.032258
73
0.750224
8559ee40da7f72109cdd037ca6b87a404596d23b
317
exs
Elixir
config/config.exs
zekroTJA/imgserver
a2efc3483bc83cc9734dbef7ca9bd3dc4a19bb64
[ "MIT" ]
null
null
null
config/config.exs
zekroTJA/imgserver
a2efc3483bc83cc9734dbef7ca9bd3dc4a19bb64
[ "MIT" ]
null
null
null
config/config.exs
zekroTJA/imgserver
a2efc3483bc83cc9734dbef7ca9bd3dc4a19bb64
[ "MIT" ]
null
null
null
import Config config :imgserver, WS, scheme: :http, port: 8080, auth_module: Imgserver.Ws.Auth.Jwt, password: "test123" config :imgserver, FS, module: Imgserver.Fs.Local, root_location: "./data" config :imgserver, Imgserver.Ws.Auth.Jwt.Guardian, issuer: "image server", secret_key: "my-secret-key"
19.8125
50
0.712934
855a248da2de334ba0a8b17f74650d31fcc8e6d8
5,125
ex
Elixir
clients/ad_mob/lib/google_api/ad_mob/v1/model/network_report_spec.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/model/network_report_spec.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/model/network_report_spec.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...
68.333333
1,025
0.716488
855a4f981d2d74d09179f93a8b9afd8822970a0d
288
ex
Elixir
test/support/extensions/email_confirmation/user_identity.ex
mitcheaton1/pow_assent
f3e9e6cc7dd16a3f2d9add885bd160d227abb713
[ "MIT" ]
193
2019-10-30T00:58:21.000Z
2022-03-09T20:26:37.000Z
test/support/extensions/email_confirmation/user_identity.ex
mitcheaton1/pow_assent
f3e9e6cc7dd16a3f2d9add885bd160d227abb713
[ "MIT" ]
82
2019-10-29T20:19:38.000Z
2022-03-22T04:09:27.000Z
test/support/extensions/email_confirmation/user_identity.ex
mitcheaton1/pow_assent
f3e9e6cc7dd16a3f2d9add885bd160d227abb713
[ "MIT" ]
28
2019-10-31T12:38:10.000Z
2021-11-01T18:05:23.000Z
defmodule PowAssent.Test.EmailConfirmation.UserIdentities.UserIdentity do @moduledoc false use Ecto.Schema use PowAssent.Ecto.UserIdentities.Schema, user: PowAssent.Test.EmailConfirmation.Users.User schema "user_identities" do pow_assent_user_identity_fields() end end
26.181818
73
0.809028
855a5c0699cd70f34cdebc43e91e98e486f38a5f
1,502
ex
Elixir
apps/ewallet/lib/ewallet/permissions/bouncer/targets/export_target.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/lib/ewallet/permissions/bouncer/targets/export_target.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/lib/ewallet/permissions/bouncer/targets/export_target.ex
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.136364
75
0.73502
855a62c523208809af98e6474bf7dce7d95353f6
2,059
exs
Elixir
ultimate_tic_tac_toe_bot/test/simple_game_logic_test.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
4
2016-02-03T22:03:45.000Z
2016-04-13T17:24:27.000Z
ultimate_tic_tac_toe_bot/test/simple_game_logic_test.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
2
2016-02-03T00:01:28.000Z
2016-04-13T17:22:58.000Z
ultimate_tic_tac_toe_bot/test/simple_game_logic_test.exs
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
1
2016-02-05T11:30:42.000Z
2016-02-05T11:30:42.000Z
defmodule LogicTestMacro do defmacro test_setting(desc, setting, func, value) do quote do test unquote(desc) do assert_send_settings {unquote(setting), unquote(value)}, apply( GameState, unquote(func), [GameState.initial, unquote(value)]) end end end end defmodule SimpleGameLogicTest do...
38.12963
134
0.727538
855a8234a7fe27fe265d139b41b51ddffb3ba944
2,177
ex
Elixir
lib/timex/ecto/datetimetz.ex
STUDITEMPS/jehovakel_ex_ecto
75ad8adff05f5a44062d6f338ed91c381b7be769
[ "MIT" ]
null
null
null
lib/timex/ecto/datetimetz.ex
STUDITEMPS/jehovakel_ex_ecto
75ad8adff05f5a44062d6f338ed91c381b7be769
[ "MIT" ]
5
2021-09-27T02:14:02.000Z
2021-12-22T09:21:24.000Z
lib/timex/ecto/datetimetz.ex
STUDITEMPS/jehovakel_ex_ecto
75ad8adff05f5a44062d6f338ed91c381b7be769
[ "MIT" ]
2
2021-06-28T06:46:14.000Z
2021-07-05T09:27:19.000Z
defmodule Timex.Ecto.DateTimeWithTimezone do @moduledoc """ This is a special type for storing datetime + timezone information as a composite type. To use this, you must first make sure you have the `datetimetz` type defined in your database: ``` defmodule YourMigration do use Ecto.Migration ...
25.313953
96
0.667432
855abb23b442b8df76a998e3cc8d38d2d1733351
2,137
exs
Elixir
config/prod.exs
webutil/tod
0abde2ae2295aee88a40933b66adf9b0c6e5992f
[ "MIT" ]
null
null
null
config/prod.exs
webutil/tod
0abde2ae2295aee88a40933b66adf9b0c6e5992f
[ "MIT" ]
null
null
null
config/prod.exs
webutil/tod
0abde2ae2295aee88a40933b66adf9b0c6e5992f
[ "MIT" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # TODWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # # Don't ...
32.876923
67
0.716893
855acd297e1cb9c7dbdad515df562ea580ca150e
2,014
exs
Elixir
mix.exs
coingaming/logger_json
05000f70e6964fdf37f3847a046639d3a8587598
[ "MIT" ]
null
null
null
mix.exs
coingaming/logger_json
05000f70e6964fdf37f3847a046639d3a8587598
[ "MIT" ]
null
null
null
mix.exs
coingaming/logger_json
05000f70e6964fdf37f3847a046639d3a8587598
[ "MIT" ]
1
2021-07-02T15:54:21.000Z
2021-07-02T15:54:21.000Z
defmodule LoggerJSON.Mixfile do use Mix.Project @version "3.3.0" def project do [ app: :logger_json, description: "Console Logger back-end, Plug and Ecto.LogEntry adapter that writes logs in JSON format.", package: package(), version: @version, elixir: "~> 1.6", elixirc_p...
27.589041
110
0.583913
855ad4fd78a00408ced2504f21c6b7573792c58a
364
ex
Elixir
lib/exaop/preprocessor.ex
nobrick/exaop
6850ce25337f6123cf135ffa1c3dd61f30448398
[ "MIT" ]
23
2020-08-05T17:48:34.000Z
2021-11-12T12:09:34.000Z
lib/exaop/preprocessor.ex
nobrick/exaop
6850ce25337f6123cf135ffa1c3dd61f30448398
[ "MIT" ]
null
null
null
lib/exaop/preprocessor.ex
nobrick/exaop
6850ce25337f6123cf135ffa1c3dd61f30448398
[ "MIT" ]
null
null
null
defmodule Exaop.Preprocessor do @moduledoc """ This module defines the behaviour for external Exaop setters. """ @typep acc :: Exaop.acc() @typep args :: Exaop.args() @typep params :: Exaop.params() @doc """ Invoked to handle the corresponding `preprocess` step. """ @callback preprocess(params, ar...
24.266667
72
0.662088
855affae2805969322572e3272b31e2878d5885c
1,583
ex
Elixir
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_diff_version_response.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_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_diff_version_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/gdata_diff_version_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 "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.66
92
0.735313
855b13500dbc6ea5a5511cb90c83f7a73560fd7f
3,393
exs
Elixir
mix.exs
kikuzo/custom_rpi3
93f7e08cfbf078fc8b71e7e44711f500d720ca3f
[ "Apache-2.0" ]
null
null
null
mix.exs
kikuzo/custom_rpi3
93f7e08cfbf078fc8b71e7e44711f500d720ca3f
[ "Apache-2.0" ]
null
null
null
mix.exs
kikuzo/custom_rpi3
93f7e08cfbf078fc8b71e7e44711f500d720ca3f
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi3.MixProject do use Mix.Project @github_organization "nerves-project" @app :nerves_system_rpi3 @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ ...
24.235714
83
0.583554
855b533098f7f7759ae0c0786071ddfa70fc85b7
1,049
ex
Elixir
test/support/test_mergeable.ex
paulswartz/concentrate
a69aa51c16071f2669932005be810da198f622c8
[ "MIT" ]
19
2018-01-22T18:39:20.000Z
2022-02-22T16:15:30.000Z
test/support/test_mergeable.ex
mbta/concentrate
bae6e05713ed079b7da53867a01dd007861fb656
[ "MIT" ]
216
2018-01-22T14:22:39.000Z
2022-03-31T10:30:31.000Z
test/support/test_mergeable.ex
paulswartz/concentrate
a69aa51c16071f2669932005be810da198f622c8
[ "MIT" ]
5
2018-01-22T14:18:15.000Z
2021-04-26T18:34:19.000Z
defmodule Concentrate.TestMergeable do @moduledoc """ Simple Mergeable for testing. Value is a list of items, and merging is a unique, sorted list of both provided values. """ use ExUnitProperties defstruct [:key, :value] def new(key, value) do %__MODULE__{ key: key, value: List.wrap(valu...
24.395349
80
0.625357
855b62b90e34d3a2bddef0b453bc107bf9a15f2e
964
ex
Elixir
lib/rumbl.ex
bcoop713/rumbl
831982b86f8f4e6540b6d481e36e2e3c3470b5b1
[ "MIT" ]
null
null
null
lib/rumbl.ex
bcoop713/rumbl
831982b86f8f4e6540b6d481e36e2e3c3470b5b1
[ "MIT" ]
null
null
null
lib/rumbl.ex
bcoop713/rumbl
831982b86f8f4e6540b6d481e36e2e3c3470b5b1
[ "MIT" ]
null
null
null
defmodule Rumbl 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, warn: false children = [ # Start the endpoint when the application starts supervisor(Rumbl.Endpo...
31.096774
71
0.707469
855b6fda9b2fbe77b7562366efa6e5d3c3a81193
666
ex
Elixir
lib/ido_keido_web/controllers/geolocation_controller.ex
isabella232/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
6
2019-11-15T20:34:47.000Z
2021-04-05T03:15:23.000Z
lib/ido_keido_web/controllers/geolocation_controller.ex
FindHotel/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
1
2022-03-20T09:34:42.000Z
2022-03-20T09:34:42.000Z
lib/ido_keido_web/controllers/geolocation_controller.ex
isabella232/ido_keido
871fd5c8b294fdc89e31e8dba173f2a5464de399
[ "Apache-2.0" ]
3
2021-06-09T05:58:09.000Z
2022-03-20T07:05:13.000Z
defmodule IdoKeidoWeb.GeolocationController do @moduledoc """ Controller for geolocation. """ use IdoKeidoWeb, :controller @geolocation Application.get_env(:ido_keido, :injections)[:geolocation] @doc """ Returns city geolocation data for the given IP. """ def city(conn, %{"ip" => ip}) do case @...
22.2
73
0.635135
855b780da45800d68dcfa05e3bfd6b8bf33bb7d1
613
exs
Elixir
farmbot_core/config/ecto.exs
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_core/config/ecto.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_core/config/ecto.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
use Mix.Config config :ecto, json_library: FarmbotCore.JSON config :farmbot_core, ecto_repos: [FarmbotCore.Config.Repo, FarmbotCore.Logger.Repo, FarmbotCore.Asset.Repo] config :farmbot_core, FarmbotCore.Config.Repo, adapter: Sqlite.Ecto2, loggers: [], database: "config.#{Mix.env()}.db", priv: "priv/config" ...
25.541667
88
0.711256
855ba166fb4bac22dbbe37605483f009ff36610e
1,837
exs
Elixir
clients/webmaster/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/webmaster/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/webmaster/mix.exs
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...
27.41791
100
0.655416
855bb1729afb3353a943abbff9da6771e6e36935
823
ex
Elixir
debian/watch.ex
mikeyk/couchdb-lounge
ef6e97547c1e64230d804439b6b2f99f83eef747
[ "Apache-2.0" ]
5
2015-12-11T14:10:55.000Z
2021-01-28T00:12:28.000Z
debian/watch.ex
benoitc/couchdb-lounge
4a151ee0a6c7e86a3e98bca6282938b42e960d0f
[ "Apache-2.0" ]
null
null
null
debian/watch.ex
benoitc/couchdb-lounge
4a151ee0a6c7e86a3e98bca6282938b42e960d0f
[ "Apache-2.0" ]
null
null
null
# 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 3 file version=3 # Uncomment to examine a Webpage # <Webpage URL> <string match> #http://www.example.co...
34.291667
70
0.727825
855bd9da2fa40a954ff342bc0b01b2ef33577ad9
1,803
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/list_devices_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/list_devices_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/list_devices_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...
36.06
200
0.731559
855c1d87fb52977b24fa5d6893e7f5bd7aa2b0cd
132
exs
Elixir
apps/day14/test/day14_test.exs
at7heb/aoc2021
ab31881b40354e28da0feaf5309c9648def85e77
[ "MIT" ]
2
2021-11-24T12:54:15.000Z
2022-01-20T11:02:11.000Z
jpcarver+elixir/day14/test/day14_test.exs
NashFP/advent-2021
d2f4648e904c9105514fd68db2dfe3b0e682093d
[ "MIT" ]
null
null
null
jpcarver+elixir/day14/test/day14_test.exs
NashFP/advent-2021
d2f4648e904c9105514fd68db2dfe3b0e682093d
[ "MIT" ]
null
null
null
defmodule Day14Test do use ExUnit.Case doctest Day14 test "greets the world" do assert Day14.hello() == :world end end
14.666667
34
0.69697
855c2b7b58c2c9ceed46e1935b717c6b5f20646d
1,877
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/list_notes_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/list_notes_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/list_notes_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...
37.54
206
0.748002
855c41e22b3dbb694b5328f3acce46de39eaade6
57
ex
Elixir
xarb/lib/xarb_web/views/layout_view.ex
Erik-joh/examensarbete
951847f0ee5195abc0e3aa5f2b6fff78233127ee
[ "MIT" ]
null
null
null
xarb/lib/xarb_web/views/layout_view.ex
Erik-joh/examensarbete
951847f0ee5195abc0e3aa5f2b6fff78233127ee
[ "MIT" ]
null
null
null
xarb/lib/xarb_web/views/layout_view.ex
Erik-joh/examensarbete
951847f0ee5195abc0e3aa5f2b6fff78233127ee
[ "MIT" ]
null
null
null
defmodule XarbWeb.LayoutView do use XarbWeb, :view end
14.25
31
0.789474
855c46d63aca63fe915100a1c0af4b857be262fb
1,864
exs
Elixir
clients/dialogflow/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.820896
128
0.657725
855c69538f6c0b526cd03cdd9e89f36429fc6f8f
555
ex
Elixir
lib/git/license.ex
enter-haken/frank
5241edab723b69afaa9397b6c1921583cecca564
[ "MIT" ]
null
null
null
lib/git/license.ex
enter-haken/frank
5241edab723b69afaa9397b6c1921583cecca564
[ "MIT" ]
1
2022-03-02T08:25:37.000Z
2022-03-02T08:25:37.000Z
lib/git/license.ex
enter-haken/frank
5241edab723b69afaa9397b6c1921583cecca564
[ "MIT" ]
null
null
null
defmodule Frank.Git.License do require Logger @type t :: %__MODULE__{ name: String.t() } defstruct name: nil def get_license(raw_license \\ "") do %__MODULE__{ name: raw_license |> detect() } end defp detect(license) do cond do String.contains?(license, "MIT Lic...
17.903226
52
0.572973
855c6fedbb04fb1c6a0262d89f813ae0e867afe3
1,139
exs
Elixir
solutions/01_greetings/config/config.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
4
2018-07-26T19:47:26.000Z
2018-08-18T20:27:09.000Z
solutions/02_greetings/config/config.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
null
null
null
solutions/02_greetings/config/config.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
1
2018-08-29T12:38:36.000Z
2018-08-29T12:38:36.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...
36.741935
73
0.755048
855ce1be23dd875d4344ddfcfc2d931fe2515aff
1,911
exs
Elixir
config/dev.exs
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
config/dev.exs
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
config/dev.exs
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "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 :habex, HabexWeb.Endpoint, http: [port: 4000],...
32.389831
170
0.700157
855ce58d9b56b3662e37dab08dca8e7413c248a0
2,871
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/device_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
50.368421
649
0.747126
855d1fabd9c5846279f97c145692da934ac92b45
764
exs
Elixir
apps/admin_api/config/dev.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/config/dev.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_api/config/dev.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :admin_api, AdminAPI.Endpoint, secret_key_base...
34.727273
86
0.781414
855d2440caf2df4e78d52ee6701cbf8db28fbad8
1,179
exs
Elixir
mix.exs
tinenbruno/verk
9365c712bc4062d09cf78a397bcc09aaf1b7494c
[ "MIT" ]
null
null
null
mix.exs
tinenbruno/verk
9365c712bc4062d09cf78a397bcc09aaf1b7494c
[ "MIT" ]
null
null
null
mix.exs
tinenbruno/verk
9365c712bc4062d09cf78a397bcc09aaf1b7494c
[ "MIT" ]
null
null
null
defmodule Verk.Mixfile do use Mix.Project @description """ Verk is a job processing system backed by Redis. """ def project do [app: :verk, version: "1.4.1", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, test_coverage: [tool: Coverex.Ta...
26.2
64
0.525021
855d384f70be114638c2f9b6e28b871b9f149f7c
11,677
exs
Elixir
test/phoenix/integration/long_poll_test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
test/phoenix/integration/long_poll_test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
test/phoenix/integration/long_poll_test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
Code.require_file "../../support/http_client.exs", __DIR__ defmodule Phoenix.Integration.LongPollTest do # TODO: Make this test async use ExUnit.Case import ExUnit.CaptureLog alias Phoenix.Integration.HTTPClient alias Phoenix.Socket.Broadcast alias Phoenix.PubSub.Local alias __MODULE__.Endpoint @modu...
28.832099
112
0.588079
855d5c8e772a14f0fcd6c48de5c559f85ad124a7
5,750
ex
Elixir
apps/feedex_ui/lib/feedex_ui/live/news_live.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_ui/lib/feedex_ui/live/news_live.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_ui/lib/feedex_ui/live/news_live.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FeedexUi.NewsLive do @moduledoc """ Renders the news page. """ use FeedexUi, :live_view alias FeedexUi.Cache.UiState require Logger # ----- lifecycle callbacks ----- @impl true def mount(_params, session, socket) do user = FeedexUi.SessionUtil.user_from_session(session) treemap =...
19.624573
83
0.616696
855d61c3801106bf655fa287e58b11420d686bc4
1,921
exs
Elixir
config/prod.exs
bcentinaro/cors-proxy
19ae9524f392914990fabbb4042f80cae4262982
[ "MIT" ]
1
2020-11-05T07:02:41.000Z
2020-11-05T07:02:41.000Z
config/prod.exs
bcentinaro/cors-proxy
19ae9524f392914990fabbb4042f80cae4262982
[ "MIT" ]
null
null
null
config/prod.exs
bcentinaro/cors-proxy
19ae9524f392914990fabbb4042f80cae4262982
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.574074
69
0.711088
855d8fd5e4ca3136df104f21f4ffc0e7ecf208f6
2,408
ex
Elixir
lib/stranger_web.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
11
2021-01-27T17:21:00.000Z
2021-12-07T13:02:59.000Z
lib/stranger_web.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
null
null
null
lib/stranger_web.ex
Arp-G/stranger
1c7c804b0ab4dbee4c77f1c5adf0d9d5a09aaf41
[ "MIT" ]
null
null
null
defmodule StrangerWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use StrangerWeb, :controller use StrangerWeb, :view The definitions below will be executed for every view, controlle...
22.933333
78
0.686047
855db479dbda35eb27f1667627fe7edfd6947872
1,743
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/label_descriptor.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/lib/google_api/service_management/v1/model/label_descriptor.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/label_descriptor.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 ...
32.886792
110
0.712565
855db81b8733e46924c45d26bdccb69d29fe3046
418
exs
Elixir
elixir/elixir-sips/samples/plug_playground/test/integration/hello_plug_integration_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/plug_playground/test/integration/hello_plug_integration_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/plug_playground/test/integration/hello_plug_integration_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule Integration.HelloPlugIntegrationTest do use ExUnit.Case setup do Plug.Adapters.Cowboy.http HelloPlug, [] :ok end test "fetch root gets 'Hello World!'" do body = fetch('/') assert body == "Hello World!" end defp fetch(url) do base_url = 'http://localhost:4000' {:ok, {{_, ...
20.9
67
0.643541
855db8dd39ca5851b0eaade3e381b3477db6a34c
939
exs
Elixir
apps/site/config/test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/config/test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/config/test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :site, SiteWeb.Endpoint, http: [port: System.get_env("PORT") || 4002], server: true # Let test requests get routed through the :secure pipeline config :site, :secure_pipeline, force_ssl: [ ...
24.710526
70
0.732694
855dca06d31520e92d317e51ee3bde521d69a92e
18,480
ex
Elixir
clients/tasks/lib/google_api/tasks/v1/api/tasks.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tasks/lib/google_api/tasks/v1/api/tasks.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tasks/lib/google_api/tasks/v1/api/tasks.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...
41.342282
192
0.663961
855dcd27019991297b1f3fe99f00f2bc2e04cb18
785
ex
Elixir
test/support/mockenv.ex
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
35
2019-03-10T05:16:16.000Z
2021-12-05T00:12:55.000Z
test/support/mockenv.ex
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
2
2019-03-08T17:01:50.000Z
2019-03-14T09:20:22.000Z
test/support/mockenv.ex
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
null
null
null
defmodule Exenv.Support.Mockenv do defmacro __using__(_) do quote do use GenServer use Exenv.Adapter alias Exenv.Config @impl true def start_link(opts) do GenServer.start_link(__MODULE__, opts, name: __MODULE__) end @impl true def init(opts) do {:...
19.146341
64
0.621656
855de2d8511e4f07794636758fcd058aabd9e342
1,173
ex
Elixir
apps/eth_blockchain/lib/eth_blockchain/abi_encoder.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/eth_blockchain/lib/eth_blockchain/abi_encoder.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/eth_blockchain/lib/eth_blockchain/abi_encoder.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 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 writi...
31.702703
74
0.710997
855decceeb022cd3a9ef18bd74db72bea864ad42
195
ex
Elixir
backend/lib/caffe/ordering/events/order_placed.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/lib/caffe/ordering/events/order_placed.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/lib/caffe/ordering/events/order_placed.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
defmodule Caffe.Ordering.Events.OrderPlaced do use Caffe.Constructor @derive Jason.Encoder defstruct [:order_id, :user_id, :customer_id, :customer_name, :items, :notes, :order_amount] end
27.857143
94
0.774359
855dfab6dd612292c653de6dad1396cf84009ee8
2,042
exs
Elixir
mix.exs
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
mix.exs
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
mix.exs
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.Mixfile do use Mix.Project def project do [app: :eecrit, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases:...
30.029412
89
0.570029
855e031288b13d0a0ac1c7fb3c391aadd9befebf
218
ex
Elixir
examples/learning_switch/lib/learning_switch.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
examples/learning_switch/lib/learning_switch.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
examples/learning_switch/lib/learning_switch.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule LearningSwitch do @moduledoc """ Documentation for LearningSwitch. """ @doc """ Hello world. ## Examples iex> LearningSwitch.hello :world """ def hello do :world end end
11.473684
35
0.610092
855e54c7f8516889db3a341c59c97d3b2aeb47c5
450
exs
Elixir
programming_elixir/chapter6/chop.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
programming_elixir/chapter6/chop.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
programming_elixir/chapter6/chop.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
defmodule Chop do def guess(actual, range = low..high) do guess = div(low+high, 2) IO.puts "Is it #{guess}" _guess(actual, guess, range) end defp _guess(actual, actual, _), do: IO.puts "Yes, It's #{actual}" defp _guess(actual, guess, _..high) when guess < actual, do: guess(actual, guess+1..h...
21.428571
41
0.64
855ec4dc8a01067cee43c1e1efd87462614dbfe0
3,315
ex
Elixir
lib/ex_doc.ex
DisruptiveAngels/ex_doc
d67b5293e6cd10bf440e26cbb913a0fb68a61786
[ "Apache-2.0", "CC-BY-4.0" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
lib/ex_doc.ex
DisruptiveAngels/ex_doc
d67b5293e6cd10bf440e26cbb913a0fb68a61786
[ "Apache-2.0", "CC-BY-4.0" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
lib/ex_doc.ex
DisruptiveAngels/ex_doc
d67b5293e6cd10bf440e26cbb913a0fb68a61786
[ "Apache-2.0", "CC-BY-4.0" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule ExDoc do @moduledoc false @ex_doc_version Mix.Project.config()[:version] alias ExDoc.Config @doc """ Returns the ExDoc version (used in templates). """ @spec version :: String.t() def version, do: @ex_doc_version @doc """ Generates documentation for the given `project`, `vsn` (version) ...
26.95122
98
0.663047
855ecff9cb8be07605fa6c7e885f68d13ba5072c
7,283
ex
Elixir
lib/helpers/helper.ex
terki/modbux
391a1d77e191afe7b0c5fe72e70e4680b41fb85c
[ "Apache-2.0" ]
14
2019-11-14T22:04:24.000Z
2022-02-07T19:36:57.000Z
lib/helpers/helper.ex
terki/modbux
391a1d77e191afe7b0c5fe72e70e4680b41fb85c
[ "Apache-2.0" ]
3
2020-01-11T07:52:53.000Z
2022-01-18T12:08:08.000Z
lib/helpers/helper.ex
terki/modbux
391a1d77e191afe7b0c5fe72e70e4680b41fb85c
[ "Apache-2.0" ]
6
2020-02-26T09:27:35.000Z
2022-03-27T09:50:02.000Z
defmodule Modbux.Helper do @moduledoc """ Binary helper module """ @otp_vesion System.otp_release() |> Integer.parse() |> elem(0) @hi [ 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, ...
11.998353
106
0.444872
855eecc9e3b5ff3453b7bc9033b6cf8cc52ab7c8
2,489
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/81.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/81.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set2/TrainingInstances/81.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** cm adjective cm pnoun noun; pnoun cm cm cardinal noun; conj pn cm cardinal noun; verb_aux conj cm adjective noun; pn pnoun cm particle noun; SYM pnoun cm pn pnoun; noun cm verb verb_aux noun; verb cm verb verb_aux noun; cm pnoun noun noun pnoun; verb_aux conj pnoun noun pnoun; particle pn n...
27.966292
38
0.755323
855f2c0ae6bec8acec56ccf3408f315bf8395437
2,015
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/device_report.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/device_report.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/device_report.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 ...
40.3
239
0.749876
855f2c7fe8dd2c5dcf309a8ddb90e6793ff16697
900
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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.333333
74
0.763333
855f3e1fb19cef0e0981650c638924f7232ab3ea
79
ex
Elixir
lib/retroflect_web/views/user_registration_view.ex
gaslight/retroflect
d98a52dbe4ef14dd50ef06970fba9c673e456647
[ "MIT" ]
3
2021-10-04T15:03:09.000Z
2021-10-05T00:42:19.000Z
lib/retroflect_web/views/user_registration_view.ex
gaslight/retroflect
d98a52dbe4ef14dd50ef06970fba9c673e456647
[ "MIT" ]
29
2021-10-04T12:56:21.000Z
2021-10-20T17:38:12.000Z
lib/retroflect_web/views/user_registration_view.ex
gaslight/retroflect
d98a52dbe4ef14dd50ef06970fba9c673e456647
[ "MIT" ]
null
null
null
defmodule RetroflectWeb.UserRegistrationView do use RetroflectWeb, :view end
19.75
47
0.848101
855f8e1fe13a2d4d1b8fd485cbc7f34e1ac6124d
2,492
exs
Elixir
mix.exs
jamilabreu/oban
5ee1781af993c93208b324024f72c0862cf076c8
[ "Apache-2.0" ]
null
null
null
mix.exs
jamilabreu/oban
5ee1781af993c93208b324024f72c0862cf076c8
[ "Apache-2.0" ]
null
null
null
mix.exs
jamilabreu/oban
5ee1781af993c93208b324024f72c0862cf076c8
[ "Apache-2.0" ]
null
null
null
defmodule Oban.MixProject do use Mix.Project @version "2.0.0-rc.0" def project do [ app: :oban, version: @version, elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), preferred_cli_e...
23.074074
85
0.517255
855faa84c0b33ae1474cc4ed1a4092d9d809c2e7
933
ex
Elixir
app/test/support/channel_case.ex
kylemacey/rocdev
a70e80b9b853803bc9771b7f0ff712b6da27af8f
[ "MIT" ]
14
2017-10-10T19:11:21.000Z
2019-04-20T20:11:01.000Z
app/test/support/channel_case.ex
kylemacey/rocdev
a70e80b9b853803bc9771b7f0ff712b6da27af8f
[ "MIT" ]
41
2017-10-08T03:07:20.000Z
2018-10-15T12:47:34.000Z
app/test/support/channel_case.ex
kylemacey/rocdev
a70e80b9b853803bc9771b7f0ff712b6da27af8f
[ "MIT" ]
7
2017-10-18T10:44:04.000Z
2019-04-15T20:44:49.000Z
defmodule RocdevWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts wit...
24.552632
68
0.714898
855fe4118a67dc0f393a811a2d440cff63a014be
1,783
ex
Elixir
src/lib/harald/hci/commands/informational_parameters/read_buffer_size.ex
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
59
2019-02-16T00:09:58.000Z
2020-03-29T23:37:36.000Z
src/lib/harald/hci/commands/informational_parameters/read_buffer_size.ex
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
19
2019-02-15T22:41:43.000Z
2020-02-15T19:20:57.000Z
src/lib/harald/hci/commands/informational_parameters/read_buffer_size.ex
keeplabs/harald
1c273a47e224032996a744b79c0525cfa967e878
[ "MIT" ]
9
2020-05-07T00:02:36.000Z
2021-09-17T18:17:46.000Z
defmodule Harald.HCI.Commands.InformationalParameters.ReadBufferSize do @moduledoc """ Reference: version 5.2, Vol 4, Part E, 7.4.5. """ alias Harald.HCI.{Commands.Command, ErrorCodes} @behaviour Command @impl Command def decode(<<>>), do: {:ok, %{}} @impl Command def decode_return_parameters( ...
31.839286
96
0.735278
855feff655a8d30804c5d0b3f09e9d1622523a58
1,226
ex
Elixir
lib/display/failure.ex
anaerobeth/elixir-koans
a0f7d5b9a998ed191ed4e2a188568e168c86afbe
[ "MIT" ]
null
null
null
lib/display/failure.ex
anaerobeth/elixir-koans
a0f7d5b9a998ed191ed4e2a188568e168c86afbe
[ "MIT" ]
null
null
null
lib/display/failure.ex
anaerobeth/elixir-koans
a0f7d5b9a998ed191ed4e2a188568e168c86afbe
[ "MIT" ]
null
null
null
defmodule Display.Failure do alias Display.Paint @no_value :ex_unit_no_meaningful_value def format_failure(%{error: %ExUnit.AssertionError{expr: @no_value, message: message}, file: file, line: line}) do """ #{Paint.cyan("Assertion failed in #{file}:#{line}")} #{Paint.red(message)} """ end de...
26.652174
116
0.639478
856003e561a4fb797f9c908d6e4db1e4215cab73
759
exs
Elixir
test/formatter_test.exs
Bleachr/blue_bird
5ea1d1f047ce379bc73b6d7892fdd44392b09569
[ "MIT" ]
null
null
null
test/formatter_test.exs
Bleachr/blue_bird
5ea1d1f047ce379bc73b6d7892fdd44392b09569
[ "MIT" ]
22
2020-04-23T21:21:50.000Z
2021-05-01T21:02:02.000Z
test/formatter_test.exs
Bleachr/blue_bird
5ea1d1f047ce379bc73b6d7892fdd44392b09569
[ "MIT" ]
1
2021-03-02T05:14:01.000Z
2021-03-02T05:14:01.000Z
defmodule BlueBird.Test.FormatterTest do use ExUnit.Case alias BlueBird.Formatter test "Formatter runs Generator and Writer" do path_apib = Path.join(["priv", "static", "docs", "api.apib"]) # path_swagger = Path.join(["priv", "static", "docs", "swagger.json"]) File.rm(path_apib) # File.rm(path_...
29.192308
74
0.666667
856015a0acc6d0442d8d8f65b819df36d66ab877
4,639
ex
Elixir
lib/google_apis/generator/elixir_generator/parameter.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
lib/google_apis/generator/elixir_generator/parameter.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
lib/google_apis/generator/elixir_generator/parameter.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
31.134228
97
0.666307
85601b12f6f34d16fb08aaca68dbd5a6a48a49aa
552
ex
Elixir
plain-planner/elixir/lib/plain_web/views/changeset_view.ex
danielmarreirosdeoliveira/prototypes
047a7d0cae84b31213c06b45304e41a18e0678cb
[ "Apache-2.0" ]
null
null
null
plain-planner/elixir/lib/plain_web/views/changeset_view.ex
danielmarreirosdeoliveira/prototypes
047a7d0cae84b31213c06b45304e41a18e0678cb
[ "Apache-2.0" ]
1
2020-05-10T13:37:43.000Z
2020-05-10T13:37:43.000Z
plain-planner/elixir/lib/plain_web/views/changeset_view.ex
danielmarreirosdeoliveira/prototypes
047a7d0cae84b31213c06b45304e41a18e0678cb
[ "Apache-2.0" ]
null
null
null
defmodule PlainWeb.ChangesetView do use PlainWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `PlainWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset, &transla...
27.6
65
0.735507
85602789c784dddacd95dd0216be254920339c2a
67
ex
Elixir
lib/birdwatch_web/views/layout_view.ex
Faheetah/bird_watch
590c89382c8266e654014a73d8fb4ebfe380db31
[ "Apache-2.0" ]
null
null
null
lib/birdwatch_web/views/layout_view.ex
Faheetah/bird_watch
590c89382c8266e654014a73d8fb4ebfe380db31
[ "Apache-2.0" ]
null
null
null
lib/birdwatch_web/views/layout_view.ex
Faheetah/bird_watch
590c89382c8266e654014a73d8fb4ebfe380db31
[ "Apache-2.0" ]
null
null
null
defmodule BirdWatchWeb.LayoutView do use BirdWatchWeb, :view end
16.75
36
0.820896
8560379f1e9659ceeb09990862dd150851e06b14
1,141
ex
Elixir
lib/yacto/db.ex
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
lib/yacto/db.ex
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
lib/yacto/db.ex
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
defmodule Yacto.DB do @moduledoc """ Yacto の repo を取得するためのモジュール 水平分割をしている場合、シャーディングキーによって利用する repo が変わるため、 直接 repo を利用するのではなく、`Yacto.repo/{2-3}` を利用する必要がある。 """ @callback repos(atom, list) :: [module] @callback repo(atom, list) :: module defp get_config(dbname, databases) do databases = databases...
25.931818
71
0.656442
856050a67ceb844cd86f635dcbf6d0102b010a79
195
exs
Elixir
priv/repo/migrations/20220127172551_add_file_size_to_songs.exs
libreearth/hexa
81938c3a5abc710eb16055d73c43cbf60dbf487e
[ "MIT" ]
null
null
null
priv/repo/migrations/20220127172551_add_file_size_to_songs.exs
libreearth/hexa
81938c3a5abc710eb16055d73c43cbf60dbf487e
[ "MIT" ]
null
null
null
priv/repo/migrations/20220127172551_add_file_size_to_songs.exs
libreearth/hexa
81938c3a5abc710eb16055d73c43cbf60dbf487e
[ "MIT" ]
null
null
null
defmodule Hexa.Repo.Migrations.AddFileSizeToSongs do use Ecto.Migration def change do alter table(:songs) do add :mp3_filesize, :integer, null: false, default: 0 end end end
19.5
58
0.712821
8560a3374ca13bca3916ae2acf142ccf66c48379
5,623
ex
Elixir
lib/tesla/multipart.ex
hasclass/tesla
c1ee0e3417ea269124869ca1ff33fd2364391154
[ "MIT" ]
null
null
null
lib/tesla/multipart.ex
hasclass/tesla
c1ee0e3417ea269124869ca1ff33fd2364391154
[ "MIT" ]
1
2019-10-25T19:27:33.000Z
2019-10-25T19:27:33.000Z
lib/tesla/multipart.ex
hasclass/tesla
c1ee0e3417ea269124869ca1ff33fd2364391154
[ "MIT" ]
1
2020-04-04T03:19:50.000Z
2020-04-04T03:19:50.000Z
defmodule Tesla.Multipart do @moduledoc """ Multipart functionality. ### Example ``` mp = Multipart.new |> Multipart.add_content_type_param("charset=utf-8") |> Multipart.add_field("field1", "foo") |> Multipart.add_field("field2", "bar", headers: [{"content-id", "1"}, {"content-type", "text/pl...
28.688776
107
0.61693
8560aa7b302b9535cbb21257a52096acb2fe2677
1,719
ex
Elixir
backend/lib/backend_web.ex
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "MIT" ]
null
null
null
backend/lib/backend_web.ex
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "MIT" ]
9
2020-02-12T00:40:03.000Z
2021-12-09T01:11:33.000Z
backend/lib/backend_web.ex
ericgroom/gatorgoods
c78af60f463c6c8c6762101a2d8e7102d43bd804
[ "MIT" ]
null
null
null
defmodule BackendWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use BackendWeb, :controller use BackendWeb, :view The definitions below will be executed for every view, controller, ...
22.324675
69
0.679465
8560b71ddf4a95c1ec921f2cbc33e5521f6b5677
1,481
exs
Elixir
test/ex_mon/trainer_test.exs
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
test/ex_mon/trainer_test.exs
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
test/ex_mon/trainer_test.exs
tarcisiooliveira/ExMon-Web-Api
7771fe9db907d395a4141b8a3c8501ac48a028e6
[ "MIT" ]
null
null
null
defmodule ExMon.TrainerTest do use ExMon.DataCase alias ExMon.Trainer describe "changeset/1" do test "when all params are valid, return a valid changeset" do params = %{name: "Tarcisio", password: "123456"} response = Trainer.changeset(params) assert %Ecto.Changeset{ changes...
29.62
71
0.565834
8560b9bd735feefee0b5a312c4828cb3ea90262e
33
exs
Elixir
.iex.exs
pedromtavares/tune
b95bdb5038ccb8c7ae262ef5d0803e53565e192f
[ "MIT" ]
null
null
null
.iex.exs
pedromtavares/tune
b95bdb5038ccb8c7ae262ef5d0803e53565e192f
[ "MIT" ]
null
null
null
.iex.exs
pedromtavares/tune
b95bdb5038ccb8c7ae262ef5d0803e53565e192f
[ "MIT" ]
null
null
null
# Logger.configure(level: :warn)
16.5
32
0.727273
8560f147a744d3a0eb24d96f0e5fc337d5e7a5f4
1,310
exs
Elixir
test/rel/config.exs
guidoholz/nerves_custom_rpi3_opencv
b00a2b1b8a41d387ae2d8667d6dc4ee351273a76
[ "Apache-2.0" ]
null
null
null
test/rel/config.exs
guidoholz/nerves_custom_rpi3_opencv
b00a2b1b8a41d387ae2d8667d6dc4ee351273a76
[ "Apache-2.0" ]
null
null
null
test/rel/config.exs
guidoholz/nerves_custom_rpi3_opencv
b00a2b1b8a41d387ae2d8667d6dc4ee351273a76
[ "Apache-2.0" ]
null
null
null
# This sets the default release built by `mix release` # This sets the default environment used by `mix release` use Mix.Releases.Config, default_release: :default, default_environment: :dev # For a full list of config options for both releases # and environments, visit https://hexdocs.pm/distillery/configuration.html...
34.473684
82
0.750382
8560ff5361e3f20de79a23f946133a81de24d8c8
10,643
ex
Elixir
lib/oban/worker.ex
bglusman/oban
980b17e1235979e261c6b70723d45c09d3098e9d
[ "Apache-2.0" ]
null
null
null
lib/oban/worker.ex
bglusman/oban
980b17e1235979e261c6b70723d45c09d3098e9d
[ "Apache-2.0" ]
null
null
null
lib/oban/worker.ex
bglusman/oban
980b17e1235979e261c6b70723d45c09d3098e9d
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Worker do @moduledoc """ Defines a behavior and macro to guide the creation of worker modules. Worker modules do the work of processing a job. At a minimum they must define a `perform/2` function, which is called with an `args` map and the full `Oban.Job` struct. ## Defining Workers Worker...
32.647239
98
0.662971
8561009ec0a031ef2a3dcb76c1d2943cb2548064
6,787
ex
Elixir
lib/tesla_api/stream.ex
douglasevaristo/teslamate
d239023942b319e9446d2da316d0afbddf701b9d
[ "MIT" ]
1
2021-06-13T04:03:42.000Z
2021-06-13T04:03:42.000Z
lib/tesla_api/stream.ex
douglasevaristo/teslamate
d239023942b319e9446d2da316d0afbddf701b9d
[ "MIT" ]
94
2020-10-26T06:28:30.000Z
2022-03-30T15:03:41.000Z
lib/tesla_api/stream.ex
douglasevaristo/teslamate
d239023942b319e9446d2da316d0afbddf701b9d
[ "MIT" ]
null
null
null
defmodule TeslaApi.Stream do use WebSockex require Logger alias TeslaApi.Auth alias __MODULE__.Data defmodule State do defstruct auth: nil, vehicle_id: nil, timer: nil, receiver: &IO.inspect/1, last_data: nil, timeouts: 0, ...
28.758475
102
0.577575
85612260743e16fc6694974d49356eabab740eba
1,374
exs
Elixir
test/force_close_port_after_test.exs
se-apc/muontrap
a6d91b6b5676c7345e53420c615b04ff3798fe3c
[ "Apache-2.0" ]
null
null
null
test/force_close_port_after_test.exs
se-apc/muontrap
a6d91b6b5676c7345e53420c615b04ff3798fe3c
[ "Apache-2.0" ]
null
null
null
test/force_close_port_after_test.exs
se-apc/muontrap
a6d91b6b5676c7345e53420c615b04ff3798fe3c
[ "Apache-2.0" ]
null
null
null
defmodule ForceClosePortAfterTest do use MuonTrapTest.Case @temp_output_file "test/force_close_port_after_test_output.txt" @temp_output_text "Hello" @force_close_port_after_seconds 3 @expected_output_count @force_close_port_after_seconds test "Test force_close_port_after" do ## Test that command curre...
34.35
116
0.700146
856137e66575a2c1953e4ee80d819caa3364e1eb
556
ex
Elixir
lib/membrane/event/start_of_stream.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
lib/membrane/event/start_of_stream.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
lib/membrane/event/start_of_stream.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Event.StartOfStream do @moduledoc """ Generic Start of Stream event. This event means that first buffers have been sent and will arrive to the pad right away after handling the event. `c:Membrane.Element.Base.Mixin.CommonBehaviour.handle_event/4` by default sends notification to pipeline...
29.263158
81
0.760791
85619950a1582f05b763ea06680b7e3597ad650f
14,701
ex
Elixir
lib/elixir/unicode/unicode.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
1
2022-03-28T12:04:08.000Z
2022-03-28T12:04:08.000Z
lib/elixir/unicode/unicode.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
lib/elixir/unicode/unicode.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
# How to update the Unicode files # # Unicode files can be found in https://www.unicode.org/Public/VERSION_NUMBER/ where # VERSION_NUMBER is the current Unicode version. # # 1. Replace UnicodeData.txt by copying original # 2. Replace PropertyValueAliases.txt by copying original # 3. Replace PropList.txt by copying orig...
27.79017
97
0.608666
8561b8812b3cd9e1a0bc0d4e3ff6444df1493fe0
65
ex
Elixir
lib/arrow_web/views/unauthorized_view.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
lib/arrow_web/views/unauthorized_view.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
775
2019-11-18T16:23:57.000Z
2022-03-28T18:20:04.000Z
lib/arrow_web/views/unauthorized_view.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
1
2019-12-23T13:52:25.000Z
2019-12-23T13:52:25.000Z
defmodule ArrowWeb.UnauthorizedView do use ArrowWeb, :view end
16.25
38
0.815385
8561c1ef97eba93401625487d18128f1e35abd9a
111
exs
Elixir
apps/release_manager/.formatter.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/release_manager/.formatter.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/release_manager/.formatter.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
[ import_deps: [:phoenix], inputs: ["*.{ex,exs}", "{config,lib,test}/**/*.{ex,exs}"], line_length: 120 ]
18.5
60
0.54955
8561dc0c5d7bd7f04c8019cb31bb91bac57470dd
644
ex
Elixir
apps/ael_api/lib/ael_api/api/signature.ex
ehealth-ua/ael.api
dca8395b230e0eac70084dc2c695f5b81648e1cc
[ "MIT" ]
null
null
null
apps/ael_api/lib/ael_api/api/signature.ex
ehealth-ua/ael.api
dca8395b230e0eac70084dc2c695f5b81648e1cc
[ "MIT" ]
null
null
null
apps/ael_api/lib/ael_api/api/signature.ex
ehealth-ua/ael.api
dca8395b230e0eac70084dc2c695f5b81648e1cc
[ "MIT" ]
1
2019-06-12T13:01:42.000Z
2019-06-12T13:01:42.000Z
defmodule Ael.API.Signature do @moduledoc """ Signature validator and data mapper """ use Confex, otp_app: :ael_api use HTTPoison.Base alias Ael.API.ResponseDecoder @conn_timeouts [connect_timeout: 30_000, recv_timeout: 30_000, timeout: 30_000] def process_url(url), do: config()[:endpoint] <> url ...
25.76
81
0.714286
8562125d73342e5664e2f42b05d8ab7cb25e55ae
482
exs
Elixir
src/dguweb/test/models/publisher_test.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
2
2016-08-09T16:46:52.000Z
2016-08-09T16:46:59.000Z
src/dguweb/test/models/publisher_test.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
48
2016-07-14T15:12:41.000Z
2016-09-27T16:19:54.000Z
src/dguweb/test/models/publisher_test.exs
datagovuk/dgu2
3e24bdf27b30c22791efc19029ead05488c8f571
[ "MIT" ]
1
2021-04-10T21:23:44.000Z
2021-04-10T21:23:44.000Z
defmodule DGUWeb.PublisherTest do use DGUWeb.ModelCase alias DGUWeb.Publisher @valid_attrs %{name: "some content", title: "some content", url: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Publisher.changeset(%Publisher{}, @valid_attrs) assert changeset.va...
25.368421
82
0.73029
856256efc55ab14a2501811422e37fc0a5d6fb83
2,934
ex
Elixir
lib/plug/telemetry.ex
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
1,218
2017-07-14T15:13:32.000Z
2022-03-30T16:42:42.000Z
lib/plug/telemetry.ex
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
502
2017-07-19T15:36:44.000Z
2022-03-31T06:47:36.000Z
deps/plug/lib/plug/telemetry.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
376
2017-07-17T15:47:55.000Z
2022-03-23T19:24:30.000Z
defmodule Plug.Telemetry do @moduledoc """ A plug to instrument the pipeline with `:telemetry` events. When plugged, the event prefix is a required option: plug Plug.Telemetry, event_prefix: [:my, :plug] In the example above, two events will be emitted: * `[:my, :plug, :start]` - emitted when the ...
32.6
89
0.68439
85627babd3857f17e4ab5e0dd00a5f39fe4b16f1
1,840
ex
Elixir
clients/replica_pool/lib/google_api/replica_pool/v1beta2/model/replica_pool_auto_healing_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/replica_pool/lib/google_api/replica_pool/v1beta2/model/replica_pool_auto_healing_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/replica_pool/lib/google_api/replica_pool/v1beta2/model/replica_pool_auto_healing_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.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...
39.148936
390
0.770652
8562bc55c9c1da5b63df72d5c465662a0d8062bf
237
exs
Elixir
test/dion_lexer_rst_inline_test.exs
avoceteditors/dion
33198da25f77647630aeeeaf78959906d3a08c9f
[ "BSD-3-Clause" ]
null
null
null
test/dion_lexer_rst_inline_test.exs
avoceteditors/dion
33198da25f77647630aeeeaf78959906d3a08c9f
[ "BSD-3-Clause" ]
4
2021-12-06T01:44:47.000Z
2021-12-12T21:45:21.000Z
test/dion_lexer_rst_inline_test.exs
avoceteditors/dion
33198da25f77647630aeeeaf78959906d3a08c9f
[ "BSD-3-Clause" ]
null
null
null
defmodule Dion.Lexers.RST.Inline.Test do use ExUnit.Case doctest Dion.Lexers.RST.Inline test "Inline lexical analysis" do data = Enum.at(Dion.Lexers.RST.lex_inline("Example"), 0) assert data[:type] == "string" end end
19.75
60
0.704641
8562c3fda6e04e4d63f526266679bb138df431b1
156
ex
Elixir
robotica_face/lib/robotica_face_web/views/layout_view.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica_face/lib/robotica_face_web/views/layout_view.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica_face/lib/robotica_face_web/views/layout_view.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule RoboticaFaceWeb.LayoutView do use RoboticaFaceWeb, :view def active_class(active, active), do: "active" def active_class(_, _), do: "" end
22.285714
48
0.737179
8562c81f9ef6f32958d36cc7b0d2f8db5fe21ca5
1,768
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/list_courses_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/list_courses_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/list_courses_response.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...
34.666667
137
0.7319
8562edb52ee579716a268a62115edfebd3ff059e
1,961
ex
Elixir
lib/example_websocket_upbit/client.ex
ohyecloudy/example-websocket-upbit
e5cf3e165b6cc6403f01064caf6a20ad9fd90053
[ "MIT" ]
null
null
null
lib/example_websocket_upbit/client.ex
ohyecloudy/example-websocket-upbit
e5cf3e165b6cc6403f01064caf6a20ad9fd90053
[ "MIT" ]
null
null
null
lib/example_websocket_upbit/client.ex
ohyecloudy/example-websocket-upbit
e5cf3e165b6cc6403f01064caf6a20ad9fd90053
[ "MIT" ]
1
2022-03-30T12:10:31.000Z
2022-03-30T12:10:31.000Z
defmodule ExampleWebsocketUpbit.Client do use WebSockex require Logger @ping_interval_ms 30_000 defstruct [:ping_tick_timer, :tickers] def start_link(args) do url = Keyword.fetch!(args, :url) state = %__MODULE__{ ping_tick_timer: nil, tickers: Keyword.get(args, :tickers, []) } ...
23.626506
73
0.647119
856301fc265a6b01112d5abb0e874edc4d1a005d
112
exs
Elixir
advent_umbrella_2016/apps/day18/test/day18_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day18/test/day18_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day18/test/day18_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
defmodule Day18Test do use ExUnit.Case doctest Day18 test "the truth" do assert 1 + 1 == 2 end end
12.444444
22
0.660714
856313fd3c1e4de833f1fdd60bf1ba532b7336ec
1,420
ex
Elixir
lib/edgedb/protocol/messages/server/dump_header.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/messages/server/dump_header.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/messages/server/dump_header.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.Protocol.Messages.Server.DumpHeader do @moduledoc false use EdgeDB.Protocol.Message alias EdgeDB.Protocol.{ Datatypes, Types } defmessage( server: true, mtype: 0x40, fields: [ headers: map(), major_ver: Datatypes.UInt16.t(), minor_ver: Datatypes.UInt16...
25.357143
76
0.638732
856342d8133ce5e870388b24e4f29fca7d17dd43
4,399
exs
Elixir
test/controllers/auth_controller_test.exs
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
test/controllers/auth_controller_test.exs
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
test/controllers/auth_controller_test.exs
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
defmodule Changelog.AuthControllerTest do use Changelog.ConnCase use Bamboo.Test alias Changelog.Person test "getting the sign in form", %{conn: conn} do conn = get(conn, sign_in_path(conn, :new)) assert html_response(conn, 200) =~ "Sign In" end @tag :as_user test "getting the sign in form when...
32.345588
126
0.642646
85635c7185b11086495bab5cb2f573063456f141
10,168
ex
Elixir
lib/phoenix_live_view/view.ex
sasa1977/phoenix_live_view
1279f9643b1265caf32f69c8c68fe5c6558ca456
[ "MIT" ]
2
2019-04-05T13:05:12.000Z
2021-05-05T05:15:15.000Z
lib/phoenix_live_view/view.ex
sasa1977/phoenix_live_view
1279f9643b1265caf32f69c8c68fe5c6558ca456
[ "MIT" ]
null
null
null
lib/phoenix_live_view/view.ex
sasa1977/phoenix_live_view
1279f9643b1265caf32f69c8c68fe5c6558ca456
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.View do @moduledoc false import Phoenix.HTML, only: [sigil_E: 2, raw: 1] alias Phoenix.LiveView alias Phoenix.LiveView.Socket @max_session_age 1_209_600 @salt_length 8 @doc """ Strips socket of redudant assign data for rendering. """ def strip(%Socket{} = socket) do ...
26.757895
100
0.625197
856366f85bb1221a2445b3f6c2e6d3a9bb041ea6
603
exs
Elixir
test/this_weekend_web/controllers/page_controller_test.exs
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
null
null
null
test/this_weekend_web/controllers/page_controller_test.exs
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
2
2021-03-10T17:57:38.000Z
2022-03-26T16:51:58.000Z
test/this_weekend_web/controllers/page_controller_test.exs
drews256/this_weekend
6b20f6b591d2f43044c16a6e4fab6ad5822620c7
[ "Apache-2.0" ]
null
null
null
defmodule ThisWeekendWeb.PageControllerTest do use ThisWeekendWeb.ConnCase describe "authenticated user" do setup %{conn: conn} do conn = Plug.Conn.assign(conn, :username, "test_user") {:ok, %{conn: conn}} end test "GET / renders the page with log out link", %{conn: conn} do conn = ...
26.217391
69
0.630182
856385b0f78964b4ecf569c5c9f80c7c14562781
3,826
ex
Elixir
apps/omg_watcher/lib/omg_watcher/state/transaction/signed.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher/lib/omg_watcher/state/transaction/signed.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher/lib/omg_watcher/state/transaction/signed.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
34.160714
113
0.682959
85638b676a0a9ca55d64133c3f3714603210d449
69
exs
Elixir
test/dev_random_ex_test.exs
vaartis/dev_random_ex
ee3210fdc5b1eabdc53097301c2915fa612ec311
[ "BSD-2-Clause-FreeBSD" ]
2
2018-05-24T17:34:19.000Z
2019-01-24T20:05:02.000Z
test/dev_random_ex_test.exs
vaartis/dev_random_ex
ee3210fdc5b1eabdc53097301c2915fa612ec311
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
test/dev_random_ex_test.exs
vaartis/dev_random_ex
ee3210fdc5b1eabdc53097301c2915fa612ec311
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
defmodule DevRandomTest do use ExUnit.Case doctest DevRandom end
13.8
26
0.811594
85638cd4d333080a0fb457b935fa97ed53e025ec
278
exs
Elixir
test/jeopardixir_web/views/layout_view_test.exs
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
1
2021-06-16T15:27:04.000Z
2021-06-16T15:27:04.000Z
test/jeopardixir_web/views/layout_view_test.exs
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
25
2021-06-18T13:08:18.000Z
2021-12-15T19:04:57.000Z
test/jeopardixir_web/views/layout_view_test.exs
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
null
null
null
defmodule JeopardixirWeb.LayoutViewTest do use JeopardixirWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.888889
65
0.773381
8563a9c57b14a8f21403cc851ba61aa6b42d5d8e
349
exs
Elixir
priv/repo/seeds.exs
girorme/starer
4e3840291da6a7d47c0b94aacb456794fbee091b
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
girorme/starer
4e3840291da6a7d47c0b94aacb456794fbee091b
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
girorme/starer
4e3840291da6a7d47c0b94aacb456794fbee091b
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Starer.Repo.insert!(%Starer.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
29.083333
61
0.704871
8563daf994ac903c8c674224633a8d7733c019c5
223
exs
Elixir
exercises/01-elixir/01-basics/12-default-parameter-values/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
exercises/01-elixir/01-basics/12-default-parameter-values/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
exercises/01-elixir/01-basics/12-default-parameter-values/student.exs
engelenv/distributed-applications
e78693a4ffa22b653e2e840427bcc1704040af4e
[ "BSD-3-Clause" ]
null
null
null
defmodule Math do def range_sum(to, from \\ 0, step \\ 1) when is_number(to) and is_number(from) and is_number(step) do if to >= from do from + range_sum(to, from+step, step) else 0 end end end
20.272727
103
0.623318
85642657fa7dd6d8c1de7c233cbe3e1dfa545145
1,394
ex
Elixir
lib/ngram_web/telemetry.ex
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
lib/ngram_web/telemetry.ex
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
lib/ngram_web/telemetry.ex
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
defmodule NgramWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn mo...
28.44898
86
0.669297
856434c209f31c7873a0a7098b4e316abd2a8a6d
7,652
ex
Elixir
lib/ex_sdp/media.ex
ccbill303/ex_sdp
ec99cecff1b297566248b8cd36b898668b4c89e9
[ "Apache-2.0" ]
null
null
null
lib/ex_sdp/media.ex
ccbill303/ex_sdp
ec99cecff1b297566248b8cd36b898668b4c89e9
[ "Apache-2.0" ]
null
null
null
lib/ex_sdp/media.ex
ccbill303/ex_sdp
ec99cecff1b297566248b8cd36b898668b4c89e9
[ "Apache-2.0" ]
null
null
null
defmodule ExSDP.Media do @moduledoc """ This module represents the Media field of SDP. For more details please see [RFC4566 Section 5.14](https://tools.ietf.org/html/rfc4566#section-5.14) """ use Bunch use Bunch.Access alias ExSDP.{ Attribute, Bandwidth, ConnectionData, Encryption } ...
31.105691
102
0.611735
85644cbd0fbf877964b8aae291e2833ee914a3d2
251
ex
Elixir
lib/eatbeep.ex
eatbeep/eatbeep
f6dbe569bbcf9a0cbd10aaf94ff0cb137f01d320
[ "MIT" ]
2
2021-01-31T05:18:20.000Z
2021-04-12T17:40:31.000Z
lib/eatbeep.ex
eatbeep/eatbeep
f6dbe569bbcf9a0cbd10aaf94ff0cb137f01d320
[ "MIT" ]
null
null
null
lib/eatbeep.ex
eatbeep/eatbeep
f6dbe569bbcf9a0cbd10aaf94ff0cb137f01d320
[ "MIT" ]
null
null
null
defmodule Eatbeep do @moduledoc """ Eatbeep keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.1
66
0.752988
856450dade6b0af5a0c21eee324404a06b75d272
9,858
ex
Elixir
lib/surface.ex
paultannenbaum/surface
fde129bb6ff84268cbd266471d39ea4501f09432
[ "MIT" ]
null
null
null
lib/surface.ex
paultannenbaum/surface
fde129bb6ff84268cbd266471d39ea4501f09432
[ "MIT" ]
null
null
null
lib/surface.ex
paultannenbaum/surface
fde129bb6ff84268cbd266471d39ea4501f09432
[ "MIT" ]
null
null
null
defmodule Surface do @moduledoc """ Surface is component based library for **Phoenix LiveView**. Built on top of the new `Phoenix.LiveComponent` API, Surface provides a more declarative way to express and use components in Phoenix. Full documentation and live examples can be found at [surface-demo.msaraiva....
25.806283
124
0.622439
856455058f402ab6f08b118dac0be4a55cde66d7
426
ex
Elixir
lib/processor.ex
desweemerl/origami
9b9111fb06e0ea94ce289e70cac4caffa208dcce
[ "MIT" ]
null
null
null
lib/processor.ex
desweemerl/origami
9b9111fb06e0ea94ce289e70cac4caffa208dcce
[ "MIT" ]
null
null
null
lib/processor.ex
desweemerl/origami
9b9111fb06e0ea94ce289e70cac4caffa208dcce
[ "MIT" ]
null
null
null
defmodule Origami.Processor do @moduledoc false alias Origami.{Document, Parser} alias Origami.Parser.{BufferText, Js} # @var1 = value1 translated as store.set(value1, ['var1']) def process_node(file, {"script", _attributes, children_nodes}, document) do Enum.at(children_nodes, 0) |> Parser.parse(Js...
25.058824
78
0.715962