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
7926fd6d310fac09675f8579ecebede8e3f068de
258
ex
Elixir
lib/prm/web/views/global_parameter_view.ex
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
1
2017-07-27T16:03:28.000Z
2017-07-27T16:03:28.000Z
lib/prm/web/views/global_parameter_view.ex
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
lib/prm/web/views/global_parameter_view.ex
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
defmodule PRM.Web.GlobalParameterView do @moduledoc false use PRM.Web, :view def render("index.json", %{global_parameters: global_parameters}) do Enum.reduce(global_parameters, %{}, fn(x, acc) -> Map.put(acc, x.parameter, x.value) end) end end
25.8
93
0.713178
79270ada7a9d474cdfe282eb944413460112bcc6
534
exs
Elixir
config/test.exs
gpad/les
2317b8055ab24aa857a6cda06f6e529c992c668c
[ "Apache-2.0" ]
11
2018-04-06T14:02:15.000Z
2020-12-09T10:44:03.000Z
config/test.exs
gpad/les
2317b8055ab24aa857a6cda06f6e529c992c668c
[ "Apache-2.0" ]
1
2018-11-18T02:35:23.000Z
2018-11-18T02:35:23.000Z
config/test.exs
gpad/les
2317b8055ab24aa857a6cda06f6e529c992c668c
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :les, LesWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :les, Les.Repo, adapter: E...
26.7
56
0.720974
792720fe907f04e929f4c3c39941c1a6fe45d201
3,682
exs
Elixir
apps/platform_runner/test/performance_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/platform_runner/test/performance_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
apps/platform_runner/test/performance_test.exs
NathanielScottStevens/hindsight
0dda1a931cff85b62eb53d623cc59cdb970ec33a
[ "Apache-2.0" ]
null
null
null
defmodule Platform.Runner.PerformanceTest do use ExUnit.Case use Divo import AssertAsync @moduletag performance: true, divo: true setup do Logger.configure(level: :info) bp = Bypass.open() data = File.read!("perf.data") Bypass.stub(bp, "GET", "/file.csv", fn conn -> Plug.Conn.resp(co...
25.393103
97
0.564096
7927512bcd6968517d52ffe212a0647f8ae14ed7
1,502
exs
Elixir
mix.exs
wyeworks/elixir_console
f72147224131cb43ebea4a5929030928cdf155d0
[ "MIT" ]
60
2019-11-23T15:54:24.000Z
2022-03-24T15:56:32.000Z
mix.exs
wyeworks/elixir_console
f72147224131cb43ebea4a5929030928cdf155d0
[ "MIT" ]
62
2019-11-11T00:44:38.000Z
2022-01-10T13:12:48.000Z
mix.exs
wyeworks/elixir_console
f72147224131cb43ebea4a5929030928cdf155d0
[ "MIT" ]
5
2020-01-15T00:44:30.000Z
2021-05-25T05:06:27.000Z
defmodule ElixirConsole.MixProject do use Mix.Project def project do [ app: :elixir_console, version: "0.1.0", elixir: "~> 1.12.3", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps() ] end # Configura...
25.033333
84
0.583888
792753c24c0f7ff31b937551bd30300f38651028
64
ex
Elixir
examples/your_app/lib/your_app_web/views/session_view.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
11
2020-01-25T16:17:24.000Z
2020-06-03T10:46:27.000Z
examples/your_app/lib/your_app_web/views/session_view.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
null
null
null
examples/your_app/lib/your_app_web/views/session_view.ex
henriquefernandez/entrance
ac10316678a89b6904b17bdcf7a9061d67f055fc
[ "MIT" ]
null
null
null
defmodule YourAppWeb.SessionView do use YourAppWeb, :view end
16
35
0.8125
79277cadaa90ae0c0108fd132d7552c16b6a222d
637
exs
Elixir
metex/mix.exs
laixintao/elixirlabs
40d4b5e0b23279855b35a2911d27718f93a79f7e
[ "BSD-3-Clause" ]
null
null
null
metex/mix.exs
laixintao/elixirlabs
40d4b5e0b23279855b35a2911d27718f93a79f7e
[ "BSD-3-Clause" ]
null
null
null
metex/mix.exs
laixintao/elixirlabs
40d4b5e0b23279855b35a2911d27718f93a79f7e
[ "BSD-3-Clause" ]
null
null
null
defmodule Metex.MixProject do use Mix.Project def project do [ app: :metex, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applica...
20.548387
87
0.55416
7927c1ad90cc70d04c89a1cce71bb9222475200e
395
ex
Elixir
apps/subs_services/lib/subs_services/application.ex
gitter-badger/opensubs.io
76d5b4d355a530c8f496efe3ac2095d87f078997
[ "MIT" ]
36
2018-02-03T10:58:51.000Z
2020-09-19T20:52:17.000Z
apps/subs_services/lib/subs_services/application.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
8
2018-01-17T17:15:48.000Z
2020-07-06T08:56:54.000Z
apps/subs_services/lib/subs_services/application.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
10
2018-05-21T18:20:32.000Z
2022-01-29T14:25:48.000Z
defmodule SubsServices.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec, warn: false Supervisor.start_link([ worker(SubsServices.Store, ["services.json"...
24.6875
61
0.734177
7927ca0c5c6484054028fa767744e1eb81c60ba1
1,137
ex
Elixir
apps/theta_web/lib/theta_web/amp_cache.ex
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
null
null
null
apps/theta_web/lib/theta_web/amp_cache.ex
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
11
2020-07-21T09:34:54.000Z
2021-08-29T07:38:02.000Z
apps/theta_web/lib/theta_web/amp_cache.ex
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
null
null
null
defmodule ThetaWeb.AmpCache do @moduledoc """ ThetaWeb.AmpCache.sign_url "huong-dan-drupal-7-20200304153313.html" Read more: https://developers.google.com/amp/cache/update-cache echo -n > url.txt "/update-cache/c/s/example.com/article?amp_action=flush&amp_ts=$(date +%s)" && cat url.txt | openssl dgst -sh...
36.677419
173
0.67898
79280e44443d82f21bb5c5d6b37d81acbbc30ef1
25
ex
Elixir
kv_store_mix/lib/kv_store_mix.ex
javierarilos/elixir_playground
3148fd22ad67de45d9597747b7fcd453f74e70ae
[ "Apache-2.0" ]
null
null
null
kv_store_mix/lib/kv_store_mix.ex
javierarilos/elixir_playground
3148fd22ad67de45d9597747b7fcd453f74e70ae
[ "Apache-2.0" ]
null
null
null
kv_store_mix/lib/kv_store_mix.ex
javierarilos/elixir_playground
3148fd22ad67de45d9597747b7fcd453f74e70ae
[ "Apache-2.0" ]
null
null
null
defmodule KvStore do end
8.333333
20
0.84
79281ca304c8fad87fc468f7ea92642857fcac35
67
ex
Elixir
lib/fish_web/views/pow/registration_view.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
1
2021-02-09T23:49:40.000Z
2021-02-09T23:49:40.000Z
lib/fish_web/views/pow/registration_view.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
lib/fish_web/views/pow/registration_view.ex
wdiechmann/fish
b63fe109bbfc1cbe515ac31f9adcd9b57c6b21c8
[ "MIT" ]
null
null
null
defmodule FishWeb.Pow.RegistrationView do use FishWeb, :view end
16.75
41
0.80597
792847829326136eeac6bceae8349f3e3e79b5db
2,631
ex
Elixir
extended_example/lib/web/views/dashboard_view.ex
PJUllrich/event-sourcing-with-elixir
7f70e6bc49d9d93f1d86513a1f358e41e07b8304
[ "MIT" ]
19
2020-10-08T14:05:30.000Z
2022-03-18T08:43:11.000Z
extended_example/lib/web/views/dashboard_view.ex
PJUllrich/event-sourcing-with-elixir
7f70e6bc49d9d93f1d86513a1f358e41e07b8304
[ "MIT" ]
null
null
null
extended_example/lib/web/views/dashboard_view.ex
PJUllrich/event-sourcing-with-elixir
7f70e6bc49d9d93f1d86513a1f358e41e07b8304
[ "MIT" ]
3
2021-02-19T08:31:58.000Z
2021-12-09T05:28:55.000Z
defmodule Web.DashboardView do use Web, :view def status(%Vehicle{out_for_delivery: true}) do render(Web.IconView, "badge.html", color: "yellow", label: "Out for Delivery", icon: "fa-truck" ) end def status(%Vehicle{out_for_delivery: false}) do render(Web.IconView, "badge.html", ...
26.31
97
0.643101
79286637f6561d6115a7252e5b9a84386db12bfc
3,038
ex
Elixir
test/support/fixtures/contact_schema.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
test/support/fixtures/contact_schema.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
test/support/fixtures/contact_schema.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Fixtures.ContactSchema do use Absinthe.Schema use Absinthe.Fixture @bruce %{name: "Bruce", age: 35} @others [ %{name: "Joe", age: 21}, %{name: "Jill", age: 43} ] @business %{name: "Someplace", employee_count: 11} query do field :person, type: :person, resolve: ...
19.350318
88
0.568466
7928701baa1f32eec66b5cf190b9774496894e47
268
ex
Elixir
debian/mingw-w64-pdcurses.default.ex
mingw-deb/pdcurses
aa2dec102403fc95f433f22e856f5026557aba10
[ "X11" ]
null
null
null
debian/mingw-w64-pdcurses.default.ex
mingw-deb/pdcurses
aa2dec102403fc95f433f22e856f5026557aba10
[ "X11" ]
null
null
null
debian/mingw-w64-pdcurses.default.ex
mingw-deb/pdcurses
aa2dec102403fc95f433f22e856f5026557aba10
[ "X11" ]
null
null
null
# Defaults for mingw-w64-pdcurses initscript # sourced by /etc/init.d/mingw-w64-pdcurses # installed at /etc/default/mingw-w64-pdcurses by the maintainer scripts # # This is a POSIX shell fragment # # Additional options that are passed to the Daemon. DAEMON_OPTS=""
24.363636
72
0.768657
792873929a59528c5f42fe64a80da4079738841f
1,929
ex
Elixir
lib/mix/tasks/tail.ex
soe/ex_aws_custom
64ed00b7a33c5956e96dbb18512043d2f45822a5
[ "MIT", "Unlicense" ]
null
null
null
lib/mix/tasks/tail.ex
soe/ex_aws_custom
64ed00b7a33c5956e96dbb18512043d2f45822a5
[ "MIT", "Unlicense" ]
null
null
null
lib/mix/tasks/tail.ex
soe/ex_aws_custom
64ed00b7a33c5956e96dbb18512043d2f45822a5
[ "MIT", "Unlicense" ]
null
null
null
defmodule Mix.Tasks.Kinesis.Tail do alias ExAws.Kinesis require Logger use Mix.Task @shortdoc "tails a stream" @moduledoc """ Tails a Stream ## Usage kinesis.tail [stream_name] [options] ## Options --poll N Time in seconds between polling. Default: 5 --debug Sets debug_request...
26.067568
84
0.620529
7928920cfe374a9997804e6fcd4171bbd6dc60ea
440
exs
Elixir
alchemist-server/test/api_test.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
221
2016-05-03T09:46:04.000Z
2021-02-20T05:08:18.000Z
alchemist-server/test/api_test.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
104
2017-02-28T16:26:12.000Z
2021-02-19T22:31:03.000Z
alchemist-server/test/api_test.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
59
2017-03-12T07:07:35.000Z
2021-02-26T19:41:15.000Z
Code.require_file "test_helper.exs", __DIR__ Code.require_file "../lib/api/comp.exs", __DIR__ Code.require_file "../lib/api/docl.exs", __DIR__ defmodule APITest do use ExUnit.Case, async: true import ExUnit.CaptureIO alias Alchemist.API test "DOCL request" do assert capture_io(fn -> API.Docl.proces...
22
59
0.679545
7928a7930e1b2ae27a6e70c59ac1a6fa38975ed4
819
ex
Elixir
apps/cashtrail/test/support/factory/helpers.ex
maxmaccari/cashtrail
74ec7ff1f8a41299a6086dc98719a32cbfbe9ee7
[ "MIT" ]
6
2020-05-02T01:12:24.000Z
2020-06-23T12:31:32.000Z
apps/cashtrail/test/support/factory/helpers.ex
maxmaccari/cashtrail
74ec7ff1f8a41299a6086dc98719a32cbfbe9ee7
[ "MIT" ]
16
2020-05-02T00:07:51.000Z
2021-06-11T01:54:11.000Z
apps/cashtrail/test/support/factory/helpers.ex
maxmaccari/cashtrail
74ec7ff1f8a41299a6086dc98719a32cbfbe9ee7
[ "MIT" ]
null
null
null
defmodule Cashtrail.Factory.Helpers do @moduledoc false def forget(_, _, cardinality \\ :one) def forget(struct, fields, cardinality) when is_list(fields), do: fields |> Enum.reduce(struct, fn field, acc -> forget(acc, field, cardinality) end) def forget(struct, field, cardinali...
22.75
79
0.641026
7928b9a42073d33e7c2ca35b0b13c3eea88604a5
6,049
ex
Elixir
apps/nerves_hub_www/lib/nerves_hub_www_web/live/device_live/show.ex
acrogenesis/nerves_hub_web
27f651dd64b40a034254b50805884f4efd679957
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_www/lib/nerves_hub_www_web/live/device_live/show.ex
acrogenesis/nerves_hub_web
27f651dd64b40a034254b50805884f4efd679957
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_www/lib/nerves_hub_www_web/live/device_live/show.ex
acrogenesis/nerves_hub_web
27f651dd64b40a034254b50805884f4efd679957
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWWWWeb.DeviceLive.Show do use NervesHubWWWWeb, :live_view alias NervesHubDevice.Presence alias NervesHubWebCore.{Accounts, AuditLogs, Devices, Devices.Device, Repo, Products} alias Phoenix.Socket.Broadcast def render(assigns) do NervesHubWWWWeb.DeviceView.render("show.html", assigns...
30.396985
95
0.637626
7928d10bb2bd69dd128744d5b9c3d06685b271dc
43
ex
Elixir
lib/ttf_auth.ex
Waasi/keylex
f5220e310d3a7d474f4aa8ca5f462879d80e66c1
[ "MIT" ]
1
2017-10-20T00:55:04.000Z
2017-10-20T00:55:04.000Z
lib/ttf_auth.ex
Waasi/ttf_auth
f5220e310d3a7d474f4aa8ca5f462879d80e66c1
[ "MIT" ]
null
null
null
lib/ttf_auth.ex
Waasi/ttf_auth
f5220e310d3a7d474f4aa8ca5f462879d80e66c1
[ "MIT" ]
null
null
null
defmodule Keylex do @moduledoc false end
10.75
19
0.790698
792923716c2d71c82640dc9a625bdd43292361a6
1,938
ex
Elixir
lib/dark_matter/decimals/comparison.ex
dark-elixir/dark_matter
3f70edf4220ad1c066489110ef30880a143522fd
[ "Apache-2.0" ]
2
2020-12-01T21:33:44.000Z
2021-05-29T14:51:18.000Z
lib/dark_matter/decimals/comparison.ex
dark-elixir/dark_matter
3f70edf4220ad1c066489110ef30880a143522fd
[ "Apache-2.0" ]
null
null
null
lib/dark_matter/decimals/comparison.ex
dark-elixir/dark_matter
3f70edf4220ad1c066489110ef30880a143522fd
[ "Apache-2.0" ]
2
2020-09-02T14:36:58.000Z
2021-04-22T11:20:43.000Z
defmodule DarkMatter.Decimals.Comparison do @moduledoc """ Decimal comparison functions """ @moduledoc since: "1.0.8" import DarkMatter.Guards, only: [is_numeric: 1] alias DarkMatter.Decimals.Conversion alias DarkMatter.Deps @type comparison() :: :eq | :gt | :lt @doc """ Determines if two `t:Dar...
31.258065
87
0.638803
79292f746f5858ea5e8754480892a3fd8b09a25f
1,397
exs
Elixir
test/adapters/sendgrid_test.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
null
null
null
test/adapters/sendgrid_test.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
null
null
null
test/adapters/sendgrid_test.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
null
null
null
defmodule Receivex.Adapter.SendgridTest do use ExUnit.Case use Plug.Test alias Receivex.Adapter defp setup_webhook do conn = conn(:post, "/_incoming", "raw_body") params = "./test/fixtures/sendgrid.json" |> File.read!() |> Jason.decode!() %{conn | body_params: params} end test "processes val...
38.805556
443
0.624195
792934843426c292fea2747fffefd497b892e325
571
ex
Elixir
2020/elixir/key_value_store/lib/server.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/elixir/key_value_store/lib/server.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/elixir/key_value_store/lib/server.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule KeyValueStore.Server do alias KeyValueStore.Core def start do spawn(fn -> run(Core.new()) end) end def run(store) do store |> listen |> run end def listen(store) do receive do {:put, key, value} -> Core.add_or_update(store, key, value) {:delete...
16.314286
45
0.530648
79298b6f107e85e179ee959ef5e7a6dc565d76d8
5,020
exs
Elixir
config/runtime.exs
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
config/runtime.exs
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
config/runtime.exs
aboutphilippe/papercups
30364cc562f41cd9d5a7ca5357b16ab8484bd5c9
[ "MIT" ]
null
null
null
import Config require_db_ssl = case System.get_env("REQUIRE_DB_SSL") do "true" -> true "false" -> false _ -> true end socket_options = case System.get_env("USE_IP_V6") do "true" -> [:inet6] "false" -> [:inet] _ -> [:inet] end pool_size = String.to_integer(System.get_env("POOL_SIZE") |...
27.888889
95
0.698207
792991462daf48e42d6e3f9a4b71168e06a9a5ae
1,526
ex
Elixir
test/support/data_case.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
test/support/data_case.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
test/support/data_case.ex
enlego/hasher
43b528059119971ffbca6538ffb6713fb78e077f
[ "MIT" ]
null
null
null
defmodule Hasher.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to th...
27.25
77
0.687418
79299e9ddb8246b4b75011a25cb2cfcf5301c043
1,358
ex
Elixir
web/gettext.ex
ikeikeikeike/panglao
6d3f6515d9f1ceb9a2e771ae2d54c222cedbf538
[ "MIT" ]
1
2017-02-18T21:20:17.000Z
2017-02-18T21:20:17.000Z
web/gettext.ex
ikeikeikeike/panglao
6d3f6515d9f1ceb9a2e771ae2d54c222cedbf538
[ "MIT" ]
null
null
null
web/gettext.ex
ikeikeikeike/panglao
6d3f6515d9f1ceb9a2e771ae2d54c222cedbf538
[ "MIT" ]
null
null
null
defmodule Panglao.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 Panglao.Gettext # Simple translation gettext "Here is the str...
25.148148
85
0.67894
7929a386e3a6f7383bbfe970e052348014240b05
2,198
exs
Elixir
test/test_helper.exs
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
superhawk610/oban
9e87ca0e45451efee05db1d430739d348c67acdb
[ "Apache-2.0" ]
null
null
null
Logger.configure(level: :warn) ExUnit.start() Oban.Test.Repo.start_link() defmodule Oban.Case do @moduledoc false use ExUnit.CaseTemplate alias Oban.Integration.Worker alias Oban.Job alias Oban.Test.Repo using do quote do use ExUnitProperties import Oban.Case alias Oban.Integra...
20.933333
92
0.644677
7929a58f4ba38f84023113e4903b0035ff723184
1,069
exs
Elixir
mix.exs
suranyami/google_search_ex
8924631dd1379e0147723077c540ab03d1514ef3
[ "MIT" ]
null
null
null
mix.exs
suranyami/google_search_ex
8924631dd1379e0147723077c540ab03d1514ef3
[ "MIT" ]
null
null
null
mix.exs
suranyami/google_search_ex
8924631dd1379e0147723077c540ab03d1514ef3
[ "MIT" ]
null
null
null
defmodule GoogleSearchEx.Mixfile do use Mix.Project def project do [app: :google_search_ex, description: "An Elixir library for searching with Google.", version: "0.0.1", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, package: package, ...
24.295455
83
0.626754
7929a623066103c8010878bebcf48ac05f063072
1,833
exs
Elixir
clients/cloud_build/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/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.358209
102
0.654664
7929af97bdc1e32e41cd4e35d8acbc23e7320d89
391
ex
Elixir
lib/nectar/route_extender.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
lib/nectar/route_extender.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
lib/nectar/route_extender.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.RouteExtender do defmacro __using__(_opts) do case Code.ensure_loaded(ExtensionsManager.Router) do {:module, module} -> mount_router(module) {:error, _reason} -> do_nothing() end end def mount_router(module) do quote do require unquote(module) unquote(module)....
19.55
56
0.672634
792a0e9c6f699ddc7e3c4f613f03dead61554d1f
1,536
ex
Elixir
web/controllers/region_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
web/controllers/region_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
web/controllers/region_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
defmodule Tox.RegionController do use Tox.Web, :controller alias Tox.Region def index(conn, _params) do regions = Repo.all(Region) render(conn, "index.json", regions: regions) end def create(conn, %{"region" => region_params}) do changeset = Region.changeset(%Region{}, region_params) case ...
27.428571
72
0.61849
792a14f92af6d9911aabc44958f5aff03af72c9c
820
ex
Elixir
chapter2/exlivery/lib/orders/order.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter2/exlivery/lib/orders/order.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter2/exlivery/lib/orders/order.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule Exlivery.Orders.Order do alias Exlivery.Orders.Item alias Exlivery.Users.User @keys [:user_cpf, :delivery_address, :items, :total_price] @enforce_keys @keys defstruct @keys def build( %User{ cpf: cpf, address: address }, [%Item{} | _items] = items ...
21.025641
72
0.620732
792a4ca59efb11590ebf284ca3d86a4757acd53e
7,433
ex
Elixir
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
97.802632
1,480
0.727432
792a5eb62252b36f4cd5bacc4b542a4d31cf0d77
307
exs
Elixir
ListsAndRecursion/7.exs
RckMrkr/Programming-Elixir
0aa6d8e3233d4631db54e4103a206bff126cb953
[ "MIT" ]
null
null
null
ListsAndRecursion/7.exs
RckMrkr/Programming-Elixir
0aa6d8e3233d4631db54e4103a206bff126cb953
[ "MIT" ]
null
null
null
ListsAndRecursion/7.exs
RckMrkr/Programming-Elixir
0aa6d8e3233d4631db54e4103a206bff126cb953
[ "MIT" ]
null
null
null
defmodule Primes do import MyList, only: [span: 2] defp _isPrime(n, 1), do: true defp _isPrime(n, test) when rem(n, test) == 0, do: false defp _isPrime(n, test), do: _isPrime(n, test - 1) defp isPrime(n), do: _isPrime(n, div(n, 2)) def allUpTo(n) do for x <- span(2, n), isPrime(x), do: x end end
25.583333
57
0.638436
792a69c77906ffc137d88d5180feb22eaee63dba
5,631
ex
Elixir
lib/imgproxy.ex
lucacorti/imgproxy
28401af483a5ff77db01dc03cbd3bead2c2acd32
[ "MIT" ]
null
null
null
lib/imgproxy.ex
lucacorti/imgproxy
28401af483a5ff77db01dc03cbd3bead2c2acd32
[ "MIT" ]
null
null
null
lib/imgproxy.ex
lucacorti/imgproxy
28401af483a5ff77db01dc03cbd3bead2c2acd32
[ "MIT" ]
null
null
null
defmodule Imgproxy do @moduledoc """ `Imgproxy` generates urls for use with an [imgproxy](https://imgproxy.net) server. """ defstruct source_url: nil, options: [], extension: nil, prefix: nil, key: nil, salt: nil alias __MODULE__ @type t :: %__MODULE__{ source_url: nil | String.t(), o...
33.123529
115
0.661339
792a9933b3eefe5fb2b316f1ed20ab84498a367e
1,855
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_suggestions.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_suggestions.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_suggestions.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...
32.54386
177
0.754717
792abf9acc9680493c5bd5213cc1ec01ead81c7a
2,673
ex
Elixir
lib/readability/candidate/scoring.ex
fribmendes/readability
4f2449558da835b7cb1680e206f73cce91ab38a6
[ "Apache-2.0" ]
null
null
null
lib/readability/candidate/scoring.ex
fribmendes/readability
4f2449558da835b7cb1680e206f73cce91ab38a6
[ "Apache-2.0" ]
null
null
null
lib/readability/candidate/scoring.ex
fribmendes/readability
4f2449558da835b7cb1680e206f73cce91ab38a6
[ "Apache-2.0" ]
null
null
null
defmodule Readability.Candidate.Scoring do @moduledoc """ Score html tree """ alias Readability.Helper @element_scores %{"div" => 5, "blockquote" => 3, "form" => -3, "th" => -5} @type html_tree :: tuple | list @type options :: list @doc """ Score html tree by some algorithm that check children node...
28.136842
97
0.636738
792af5bf8672ccb9d9a9b5c92d9770394b08d69d
1,141
exs
Elixir
config/config.exs
btbinhtran/html_assertions
299cd83e40b14ca7979a0b28fec13ddf53a9b4fb
[ "MIT" ]
1
2019-04-24T00:11:19.000Z
2019-04-24T00:11:19.000Z
config/config.exs
btbinhtran/html_assertions
299cd83e40b14ca7979a0b28fec13ddf53a9b4fb
[ "MIT" ]
null
null
null
config/config.exs
btbinhtran/html_assertions
299cd83e40b14ca7979a0b28fec13ddf53a9b4fb
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.806452
73
0.755478
792b9ed75ca3994e80ef835a26f9f9700f4ba315
563
ex
Elixir
lib/web/plugs/fetch_game.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/web/plugs/fetch_game.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
lib/web/plugs/fetch_game.ex
oestrich/grapevine-legacy
9d84f8e2d65dda5982686381ffa94a940142e1da
[ "MIT" ]
null
null
null
defmodule Web.Plugs.FetchGame do @moduledoc """ Fetch a user from the session """ import Plug.Conn alias Backbone.Games def init(default), do: default def call(conn, _opts) do case Map.has_key?(conn.params, "client_id") do true -> fetch_game(conn, conn.params["client_id"]) fal...
17.59375
50
0.609236
792ba401583a2e1c84dae2e793bbea88204d3927
2,253
ex
Elixir
core/sup_tree_core/mnesia_nodes_cleaner.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
core/sup_tree_core/mnesia_nodes_cleaner.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
core/sup_tree_core/mnesia_nodes_cleaner.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 AntikytheraCore.MnesiaNodesCleaner do @moduledoc """ A GenServer that periodically removes extra nodes from mnesia schema. When a new node is started it automatically starts to sync both mnesia schema and data with other partici...
35.761905
120
0.730581
792badfb5a069955add3ec2e374bdad0a3dd8b3d
7,160
ex
Elixir
lib/ueberauth/adfs.ex
DefactoSoftware/ueberauth_adfs
7cdc0acb66a47e6ea09c8f90d998f6fc5fca698d
[ "MIT" ]
null
null
null
lib/ueberauth/adfs.ex
DefactoSoftware/ueberauth_adfs
7cdc0acb66a47e6ea09c8f90d998f6fc5fca698d
[ "MIT" ]
1
2022-02-04T10:59:48.000Z
2022-02-04T10:59:48.000Z
lib/ueberauth/adfs.ex
DefactoSoftware/ueberauth_adfs
7cdc0acb66a47e6ea09c8f90d998f6fc5fca698d
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.ADFS do @moduledoc """ ADFS Strategy for Überauth. In ADFS Server setup a new Client using Powershell: ```powershell Add-AdfsClient -Name "OAUTH2 Client" -ClientId "unique-custom-client-id" -RedirectUri "http://localhost:4000/auth/adfs/callback" Add-ADFSRelyingPartyTrust -Name...
29.22449
456
0.649022
792bcb18e3f1ba010fa9593f0471018eb8de89b0
1,880
exs
Elixir
priv/repo/migrations/20201211141735_improve_lti_workflow.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
priv/repo/migrations/20201211141735_improve_lti_workflow.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
priv/repo/migrations/20201211141735_improve_lti_workflow.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Repo.Migrations.ImproveLtiWorkflow do use Ecto.Migration def up do alter table(:institutions) do remove :author_id, references(:authors) end create table(:pending_registrations) do add :country_code, :string add :institution_email, :string add :institution_url, :s...
28.059701
93
0.71117
792bd58d5db8644cd680d3f0f4290fcb0c384706
1,603
ex
Elixir
clients/books/lib/google_api/books/v1/model/family_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/family_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/books/lib/google_api/books/v1/model/family_info.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...
32.06
156
0.724891
792bd634ff030689dbbbc3f994d601fcce3c3da2
15,590
ex
Elixir
lib/elixir/lib/kernel/cli.ex
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/cli.ex
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/cli.ex
mrcasals/elixir
8cb9ebf708f2789a0e7dbf574294b82a55dd2f21
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.CLI do @moduledoc false @compile {:no_warn_undefined, [Logger, IEx]} @blank_config %{ commands: [], output: ".", compile: [], no_halt: false, compiler_options: [], errors: [], pa: [], pz: [], verbose_compile: false, profile: nil } @doc """ This is ...
27.207679
99
0.597498
792bf209281fc221b7142f6cc7ecbca818282333
20,705
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/api/jobs.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/jobs.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/jobs.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.406709
303
0.67433
792c18821dd62dfc1ff197fa0fb0dc49546549fd
5,062
ex
Elixir
clients/ad_mob/lib/google_api/ad_mob/v1/model/network_report_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/model/network_report_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/model/network_report_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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.405405
1,025
0.720071
792c5b6c05d1eb535fac26f9a037d58060c4ab57
1,684
ex
Elixir
apps/tai/lib/mix/tasks/tai.gen.migration.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/lib/mix/tasks/tai.gen.migration.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/mix/tasks/tai.gen.migration.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Tai.Gen.Migration do @shortdoc "Generates migrations for tai" @moduledoc """ Generates database migrations for tai repos: - Tai.NewOrders.OrderRepo """ use Mix.Task import Mix.Ecto import Mix.Generator @doc false def run(args) do # TODO: Is this check actually required? ...
26.3125
97
0.688836
792c6005be7db42c0436e698aeaa0effba303df5
847
ex
Elixir
lib/scenic/view_port/driver/config.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/view_port/driver/config.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/view_port/driver/config.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer April 2018. # Copyright © 2018 Kry10 Industries. All rights reserved. # # helper module for configuring ViewPorts during startup defmodule Scenic.ViewPort.Driver.Config do alias Scenic.ViewPort.Driver.Config # describe the struct. Name nil and opts as an empty list are good defaults...
26.46875
77
0.689492
792c6d89ea809689a384b17d7ba2c8c40da8aa70
64,420
exs
Elixir
test/lib/ex_aws/ec2_test.exs
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
test/lib/ex_aws/ec2_test.exs
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
test/lib/ex_aws/ec2_test.exs
Frameio/ex_aws
3b335b6ed7932b5cf991323d26cf5497e1e6c122
[ "Unlicense", "MIT" ]
null
null
null
defmodule ExAws.EC2Test do use ExUnit.Case, async: true doctest ExAws.EC2 alias ExAws.EC2 @version "2016-11-15" defp build_query(action, params \\ %{}) do action_string = action |> Atom.to_string |> Macro.camelize %ExAws.Operation.Query{ path: "/", params: params |> Map.merge(%{"Versi...
29.837888
153
0.622695
792c9a16301e1b983ca90f8ce3e009c95d657d76
10,177
ex
Elixir
lib/absinthe/plug.ex
mjason/absinthe_plug_cn
230896e5a01b751076b12aa157ca84da0f650acd
[ "BSD-3-Clause" ]
null
null
null
lib/absinthe/plug.ex
mjason/absinthe_plug_cn
230896e5a01b751076b12aa157ca84da0f650acd
[ "BSD-3-Clause" ]
null
null
null
lib/absinthe/plug.ex
mjason/absinthe_plug_cn
230896e5a01b751076b12aa157ca84da0f650acd
[ "BSD-3-Clause" ]
null
null
null
defmodule Absinthe.Plug do @moduledoc """ A plug for using [Absinthe](https://hex.pm/packages/absinthe) (GraphQL). ## Usage In your router: plug Plug.Parsers, parsers: [:urlencoded, :multipart, :json, Absinthe.Plug.Parser], pass: ["*/*"], json_decoder: Poison plug Absinth...
33.25817
556
0.675838
792caa85dcab79b4a8662158c5e09a21be8e07c5
2,422
ex
Elixir
lib/commodity_api/generic/plug/public_ip.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
7
2019-04-11T21:12:49.000Z
2021-04-14T12:56:42.000Z
lib/commodity_api/generic/plug/public_ip.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
null
null
null
lib/commodity_api/generic/plug/public_ip.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
2
2019-06-06T18:05:33.000Z
2019-07-16T08:49:45.000Z
## # https://www.cogini.com/blog/getting-the-client-public-ip-address-in-phoenix/ ## defmodule Commodity.Api.Generic.Plug.PublicIp do @moduledoc """ Get public IP address of request from x-forwarded-for header """ use Commodity.Api, :plug def init(opts), do: opts def call(%{assigns: %{ip: _}} = conn, _opts)...
29.180723
96
0.644509
792d1b54caa055483e6da312f4b394b24089328e
21,454
ex
Elixir
lib/liquex/filter.ex
inspired-consulting/liquex
2ba530727aa87a93dbe9b981b4a90e962b34f4a3
[ "MIT" ]
19
2020-02-29T01:37:11.000Z
2022-03-15T06:45:20.000Z
lib/liquex/filter.ex
inspired-consulting/liquex
2ba530727aa87a93dbe9b981b4a90e962b34f4a3
[ "MIT" ]
19
2020-09-02T19:35:08.000Z
2022-03-31T21:42:16.000Z
lib/liquex/filter.ex
inspired-consulting/liquex
2ba530727aa87a93dbe9b981b4a90e962b34f4a3
[ "MIT" ]
4
2020-10-20T08:22:43.000Z
2022-01-19T17:21:32.000Z
defmodule Liquex.Filter do @moduledoc """ Contains all the basic filters for Liquid """ @type filter_t :: {:filter, [...]} @callback apply(any, filter_t, map) :: any alias Liquex.Context defmacro __using__(_) do quote do @behaviour Liquex.Filter @spec apply(any, Liquex.Filter.filter_t(...
26.71731
130
0.608232
792d2ee87946723a8df7f91695e37a4192e1a32e
1,661
ex
Elixir
lib/freshcom_web.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
9
2018-12-16T14:02:59.000Z
2021-01-19T07:25:40.000Z
lib/freshcom_web.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom_web.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
4
2018-12-16T17:50:01.000Z
2021-01-19T07:25:51.000Z
defmodule FreshcomWeb 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 FreshcomWeb, :controller use FreshcomWeb, :view The definitions below will be executed for every view, controlle...
24.072464
69
0.693558
792d64886f1666823b636dc9d9df1901f539eec1
1,891
exs
Elixir
test/tesla/middleware/retry_with_backoff_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-01T01:34:16.000Z
2020-08-31T15:15:08.000Z
test/tesla/middleware/retry_with_backoff_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-03T03:01:48.000Z
2021-06-08T18:39:40.000Z
test/tesla/middleware/retry_with_backoff_test.exs
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
3
2018-08-12T03:51:52.000Z
2020-02-27T14:29:14.000Z
defmodule Tesla.Middleware.RetryWithBackoffTest do use ExUnit.Case defmodule RetryTestAdapter do def start_link, do: Agent.start_link(fn -> 0 end, name: __MODULE__) def call(env, _opts) do Agent.get_and_update(__MODULE__, fn retries -> response = case env.url do "/succe...
30.5
98
0.644632
792da38f207093dd59773be0f8c3cbcae09c167c
2,118
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/machine_type_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/machine_type_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/machine_type_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.222222
194
0.720963
792da51b39cb39d633ce8cfb46bce72affd6cb61
2,230
exs
Elixir
mix.exs
Gamecode-HQ/sfmt-erlang
62b1a1e25fce9b44f8b3a9ea9d458d751c57cf1b
[ "BSD-3-Clause" ]
null
null
null
mix.exs
Gamecode-HQ/sfmt-erlang
62b1a1e25fce9b44f8b3a9ea9d458d751c57cf1b
[ "BSD-3-Clause" ]
null
null
null
mix.exs
Gamecode-HQ/sfmt-erlang
62b1a1e25fce9b44f8b3a9ea9d458d751c57cf1b
[ "BSD-3-Clause" ]
null
null
null
defmodule Mix.Tasks.Compile.Sfmt do @shortdoc "Compiles Sfmt" def run(_) do File.mkdir("priv") {exec, args} = {"make", ["all"]} if System.find_executable(exec) do build(exec, args) Mix.Project.build_structure :ok else nocompiler_error(exec) end end def build(exec,...
19.910714
78
0.581614
792dab19d1a0c0f5b1c2d6bd4eca555f530c8fa3
173
exs
Elixir
priv/repo/migrations/20211124075928_add_name_to_users.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
1
2022-01-30T19:51:39.000Z
2022-01-30T19:51:39.000Z
priv/repo/migrations/20211124075928_add_name_to_users.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
priv/repo/migrations/20211124075928_add_name_to_users.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
defmodule Sanbase.Repo.Migrations.AddNameToUsers do use Ecto.Migration def change do alter table(:users) do add(:name, :string, null: true) end end end
17.3
51
0.693642
792dbd018e3dabcbd652ec33edfc5265f737078d
3,192
ex
Elixir
lib/sippet/proxy/registry.ex
balena/elixir-sippet-proxy
868f4b1b07f6f214fff084b182076306e580ac9c
[ "BSD-3-Clause" ]
5
2017-06-18T14:19:47.000Z
2021-08-18T17:08:51.000Z
lib/sippet/proxy/registry.ex
balena/elixir-sippet-proxy
868f4b1b07f6f214fff084b182076306e580ac9c
[ "BSD-3-Clause" ]
1
2017-11-02T21:44:24.000Z
2017-11-03T12:19:54.000Z
lib/sippet/proxy/registry.ex
balena/elixir-sippet-proxy
868f4b1b07f6f214fff084b182076306e580ac9c
[ "BSD-3-Clause" ]
1
2017-11-28T23:10:39.000Z
2017-11-28T23:10:39.000Z
defmodule Sippet.Proxy.Registry do @moduledoc """ The Proxy registry, where client and server transaction keys are associated to controller processes. """ @type client_key :: Sippet.Transactions.Client.Key.t @type server_key :: Sippet.Transactions.Server.Key.t @doc """ Starts the proxy registry as a ...
30.113208
79
0.715539
792dbffce1d24bb464aadcdd97bbbf7962e5eaa8
6,856
exs
Elixir
integration_test/sql/transaction.exs
groyoh/ecto_sql
49a732375b928f83f29f995e874e3a580a9caeb8
[ "Apache-2.0" ]
1
2019-05-02T14:02:56.000Z
2019-05-02T14:02:56.000Z
integration_test/sql/transaction.exs
groyoh/ecto_sql
49a732375b928f83f29f995e874e3a580a9caeb8
[ "Apache-2.0" ]
null
null
null
integration_test/sql/transaction.exs
groyoh/ecto_sql
49a732375b928f83f29f995e874e3a580a9caeb8
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.TransactionTest do # We can keep this test async as long as it # is the only one access the transactions table use Ecto.Integration.Case, async: true import Ecto.Query alias Ecto.Integration.PoolRepo # Used for writes alias Ecto.Integration.TestRepo # Used for reads @moduletag...
26.369231
98
0.637544
792dc6d88e82fe998106f665a63c5e3286e0e28a
626
ex
Elixir
apps/mcam_server/lib/mcam_server/mailing/mailer.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/mcam_server/lib/mcam_server/mailing/mailer.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/mcam_server/lib/mcam_server/mailing/mailer.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule McamServer.Mailing.Mailer do @moduledoc """ Sends the emails. """ use Bamboo.Mailer, otp_app: :mcam_server @dialyzer {:nowarn_function, deliver_later: 1} import Bamboo.Email, only: [new_email: 1] def deliver(to, subject, body) do require Logger [from: from(), to: to, subject: subject...
18.969697
61
0.616613
792dd5ae6a413832f9fa9002613ef5d98cb3d83a
1,685
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/add_chart_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/add_chart_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/add_chart_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
35.104167
299
0.754303
792dd8fbf9f17a3c11d09ed9a6c582b103c1e6d3
245
ex
Elixir
lib/hexedio_web/views/layout_view.ex
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
lib/hexedio_web/views/layout_view.ex
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
3
2020-07-16T05:37:16.000Z
2022-03-16T08:58:28.000Z
lib/hexedio_web/views/layout_view.ex
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
defmodule HexedioWeb.LayoutView do use HexedioWeb, :view alias Hexedio.Auth.Guardian alias Hexedio.Posts def maybe_user(conn) do Guardian.Plug.current_resource(conn) end def categories() do Posts.list_categories end end
16.333333
40
0.75102
792df07ba8130731016224adfa75f7a6ab56c7a3
3,596
ex
Elixir
lib/builder.ex
nitros12/formex_ecto
320937c1a99242c62d646da57ca25b05713d81c8
[ "MIT" ]
1
2018-09-16T18:49:49.000Z
2018-09-16T18:49:49.000Z
lib/builder.ex
nitros12/formex_ecto
320937c1a99242c62d646da57ca25b05713d81c8
[ "MIT" ]
null
null
null
lib/builder.ex
nitros12/formex_ecto
320937c1a99242c62d646da57ca25b05713d81c8
[ "MIT" ]
null
null
null
defmodule Formex.BuilderType.Ecto do @moduledoc false defstruct [:form] end defimpl Formex.BuilderProtocol, for: Formex.BuilderType.Ecto do alias Formex.Form alias Formex.Field alias Formex.FormNested alias Formex.FormCollection import Formex.Ecto.Utils require Ecto.Query @repo Application.get_env(:...
24.462585
83
0.581201
792e045035db953b52516e8f637f8814b50e0feb
2,243
exs
Elixir
config/prod.exs
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
config/prod.exs
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
config/prod.exs
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "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.984848
68
0.721801
792e08dde6bbd6f763427370159d7734388e9703
1,131
exs
Elixir
config/config.exs
jvoegele/wait_for_it
a3e722dec8d7c291f545533d70d3dab774e7cb4f
[ "Apache-2.0" ]
10
2018-02-19T12:18:44.000Z
2020-12-03T22:55:48.000Z
config/config.exs
jvoegele/wait_for_it
a3e722dec8d7c291f545533d70d3dab774e7cb4f
[ "Apache-2.0" ]
11
2017-08-30T23:43:06.000Z
2019-04-05T20:15:42.000Z
config/config.exs
jvoegele/wait_for_it
a3e722dec8d7c291f545533d70d3dab774e7cb4f
[ "Apache-2.0" ]
2
2017-08-30T13:11:29.000Z
2017-12-28T20:26:42.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.483871
73
0.753316
792e0bd62fe3ee09594927af11fac3ea4bc41903
1,102
ex
Elixir
test/support/conn_case.ex
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
test/support/conn_case.ex
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
test/support/conn_case.ex
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
defmodule Namuraid.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 and query models. Finally, if the test case interacts with the da...
24.488889
70
0.705989
792e14f974e4836051665fc409305d09f601b447
3,626
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__label_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__label_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__label_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.989247
356
0.722008
792e4535e3073ea5d194e90c25d87b5d22cbea54
13,431
ex
Elixir
lib/mix/tasks/dialyzer.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/dialyzer.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/dialyzer.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Dialyzer do @shortdoc "Runs dialyzer with default or project-defined flags." @moduledoc """ This task compiles the mix project, creates a PLT with dependencies if needed and runs `dialyzer`. Much of its behavior can be managed in configuration as described below. If executed outside of a m...
34.350384
659
0.656541
792e608d83a66cfc30ace6359af4bea001bedaf3
1,213
ex
Elixir
products/lib/products_web/views/error_helpers.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
2
2021-09-21T13:36:49.000Z
2021-09-25T13:17:40.000Z
products/lib/products_web/views/error_helpers.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
null
null
null
products/lib/products_web/views/error_helpers.ex
DivvyPayHQ/federation_poc
74839abf7d3eb8e3029468bbe4d335d7b240da97
[ "MIT" ]
null
null
null
defmodule ProductsWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a static arg...
35.676471
77
0.671888
792e7fead3c647e343ada369a7184d41e3cf0c05
3,481
ex
Elixir
web/views/entry_view.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
web/views/entry_view.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
web/views/entry_view.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
defmodule Artus.EntryView do use Artus.Web, :view import Ecto.Query alias Artus.Repo alias Artus.Tag alias Artus.Cache # TODO: Branch in Entry? Part/Type in Entry? def render_tag(tag) do tag.tag |> Artus.NotMarkdown.to_html() end def get_label(key) do field_defs = Artus.DefinitionManager.f...
25.977612
93
0.62913
792e84a28affe7252d3b42ac7208d9f3e05f0242
1,360
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/resume_proposal_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/resume_proposal_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/resume_proposal_request.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...
31.627907
93
0.772794
792e87f8c9b651d72d842cac2fdb1318dce986fa
33,341
ex
Elixir
apps/cms/lib/custom_html5_scrubber.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/cms/lib/custom_html5_scrubber.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/cms/lib/custom_html5_scrubber.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule CMS.CustomHTML5Scrubber do @moduledoc """ Created to be used in place of HtmlSanitizeEx.html5 so we can add to the list of allowed attributes. Custom additions are: - Inclusion of 'mailto' in valid_schemes - Provides missing quotes to "alt crossorigin usemap ismap width height" """ require H...
15.631036
88
0.510363
792e898fe9e3935a9a296bc80fe82a65c51710f3
2,432
ex
Elixir
lib/nsq/lookupd.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
null
null
null
lib/nsq/lookupd.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
null
null
null
lib/nsq/lookupd.ex
amokan/elixir_nsq
26e9cdf8f6c99b6688e540181a501f53aa5e9e4b
[ "MIT" ]
null
null
null
defmodule NSQ.Lookupd do alias NSQ.Connection, as: C require Logger @typedoc """ All lookupd responses should return a map with these values. If the response is not of that form, it should be normalized into that form. """ @type response :: %{ data: binary, headers: [any], status_code: intege...
29.301205
78
0.622944
792e94a7effdc649be6e0563a12820ff9c0e3f3e
349
ex
Elixir
lib/keywords/application.ex
GunnarPDX/keyword_parser
b6013a5c156672761c71c5b927874c3d9b5567c3
[ "MIT" ]
1
2021-08-17T02:31:07.000Z
2021-08-17T02:31:07.000Z
lib/keywords/application.ex
GunnarPDX/keyword_parser
b6013a5c156672761c71c5b927874c3d9b5567c3
[ "MIT" ]
null
null
null
lib/keywords/application.ex
GunnarPDX/keyword_parser
b6013a5c156672761c71c5b927874c3d9b5567c3
[ "MIT" ]
1
2021-08-17T02:31:14.000Z
2021-08-17T02:31:14.000Z
defmodule Keywords.Application do @moduledoc false use Application @impl true def start(_type, _args) do children = [ {DynamicSupervisor, strategy: :one_for_one, name: Keywords.PatternSupervisor}, {Registry, keys: :unique, name: PatternRegistry} ] Supervisor.start_link(children, strat...
21.8125
84
0.713467
792eb312ee9ca7da26a00e09a6cca6ee537c5731
487
ex
Elixir
lib/vutuv_web/views/error_view.ex
hendri-tobing/vutuv
50a3095e236fe96739a79954157b74b4c4025921
[ "MIT" ]
null
null
null
lib/vutuv_web/views/error_view.ex
hendri-tobing/vutuv
50a3095e236fe96739a79954157b74b4c4025921
[ "MIT" ]
null
null
null
lib/vutuv_web/views/error_view.ex
hendri-tobing/vutuv
50a3095e236fe96739a79954157b74b4c4025921
[ "MIT" ]
null
null
null
defmodule VutuvWeb.ErrorView do use VutuvWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. Fo...
28.647059
61
0.73306
792ec63c9d4fb72d049fdf05584c3933132c5fde
5,438
ex
Elixir
lib/central/account/schemas/user.ex
Teifion/central
feaeb35ec855b62a3ff8de6c364f6190ef0a196c
[ "MIT" ]
1
2022-01-03T16:36:25.000Z
2022-01-03T16:36:25.000Z
lib/central/account/schemas/user.ex
Teifion/central
feaeb35ec855b62a3ff8de6c364f6190ef0a196c
[ "MIT" ]
null
null
null
lib/central/account/schemas/user.ex
Teifion/central
feaeb35ec855b62a3ff8de6c364f6190ef0a196c
[ "MIT" ]
null
null
null
defmodule Central.Account.User do @moduledoc false use CentralWeb, :schema @behaviour Bodyguard.Policy alias Argon2 # import Central.Account.AuthLib, only: [allow?: 2] @extra_fields [] schema "account_users" do field :name, :string field :email, :string field :password, :string field ...
26.270531
94
0.607392
792ee135c4cc8e7ea111d2e07e4bbc6c05997626
879
ex
Elixir
apps/jobex_web/test/support/conn_case.ex
andyl/jobex
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
10
2019-10-24T01:23:07.000Z
2020-02-23T00:27:32.000Z
apps/jobex_web/test/support/conn_case.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
6
2021-03-09T18:41:09.000Z
2021-05-27T13:02:42.000Z
apps/jobex_web/test/support/conn_case.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
1
2019-10-24T01:23:08.000Z
2019-10-24T01:23:08.000Z
defmodule JobexWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the ...
26.636364
59
0.726962
792eec96e3f72331d44d250c8453ac8baa3b4b83
924
ex
Elixir
apps/neoscan/lib/neoscan/transactions/vout.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan/lib/neoscan/transactions/vout.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan/lib/neoscan/transactions/vout.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule Neoscan.Vout do @moduledoc false use Ecto.Schema alias Neoscan.Transaction alias Neoscan.Address alias Neoscan.Asset @primary_key false schema "vouts" do belongs_to( :transaction, Transaction, foreign_key: :transaction_id, references: :id, type: :integer ) ...
19.659574
56
0.635281
792f0490d38f9fce99db48c5429dcd47fd157649
599
exs
Elixir
test/honeydew/worker_supervisor_test.exs
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
test/honeydew/worker_supervisor_test.exs
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
test/honeydew/worker_supervisor_test.exs
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
defmodule Honeydew.WorkerSupervisorTest do use ExUnit.Case, async: true setup do pool = :erlang.unique_integer Honeydew.create_groups(pool) {:ok, supervisor} = Honeydew.WorkerSupervisor.start_link(pool, %{ma: {Stateful, [:state_here]}, num: 7, init_retry: 5, shutdown: 10_000}, nil) # on_exit fn ...
26.043478
146
0.694491
792f1908749c182c4ed61f374df26155525cb9dd
7,624
ex
Elixir
lib/livebook/notebook.ex
qrede/livebook
5f3230f7aa6b638825bd43c6a84302a694240ddf
[ "Apache-2.0" ]
1
2021-05-21T22:14:23.000Z
2021-05-21T22:14:23.000Z
lib/livebook/notebook.ex
cristina007-bot/livebook
101f582196a161a06b62b38fe55c7f8c0a04b54d
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook.ex
cristina007-bot/livebook
101f582196a161a06b62b38fe55c7f8c0a04b54d
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Notebook do @moduledoc false # Data structure representing a notebook. # # A notebook is just the representation and roughly # maps to a file that the user can edit. # A notebook *session* is a living process that holds a specific # notebook instance and allows users to collaboratively...
28.342007
87
0.631689
792f2b202ba0149e063cc3362e6f3aa49234cf3a
2,196
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/system_parameter_rule.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/system_parameter_rule.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/system_parameter_rule.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...
37.862069
177
0.741348
792f3d2a69bbd4561d8605dbdf7ffc5372a65f51
4,944
exs
Elixir
apps/asf_web/test/asf_web/controllers/user_settings_controller_test.exs
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
apps/asf_web/test/asf_web/controllers/user_settings_controller_test.exs
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
apps/asf_web/test/asf_web/controllers/user_settings_controller_test.exs
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
defmodule AsfWeb.UserSettingsControllerTest do use AsfWeb.ConnCase, async: true alias Asf.Accounts import Asf.AccountsFixtures setup :register_and_log_in_user describe "GET /users/settings" do test "renders settings page", %{conn: conn} do conn = get(conn, Routes.user_settings_path(conn, :edit)) ...
38.030769
96
0.649676
792f5932764d1eaa265a722565dfa08b4a0d53e0
1,097
ex
Elixir
hangman/b2/lib/b2_web/router.ex
neal-bpm/TinyHangman
c2b9bcfe9b3c6d918e83271dc943f09706693b4e
[ "MIT" ]
null
null
null
hangman/b2/lib/b2_web/router.ex
neal-bpm/TinyHangman
c2b9bcfe9b3c6d918e83271dc943f09706693b4e
[ "MIT" ]
null
null
null
hangman/b2/lib/b2_web/router.ex
neal-bpm/TinyHangman
c2b9bcfe9b3c6d918e83271dc943f09706693b4e
[ "MIT" ]
null
null
null
defmodule B2Web.Router do use B2Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {B2Web.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["js...
24.377778
70
0.691887
792f5e45362731b1349c2a5bc3a32a833e01337e
1,595
ex
Elixir
lib/flamelex/gui/supervision_tree/memex_stagemanager.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
10
2021-03-02T20:05:13.000Z
2022-03-14T21:10:39.000Z
lib/flamelex/gui/supervision_tree/memex_stagemanager.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
2
2021-12-14T18:29:44.000Z
2021-12-23T20:38:27.000Z
lib/flamelex/gui/supervision_tree/memex_stagemanager.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
2
2021-12-05T20:41:26.000Z
2021-12-26T01:46:42.000Z
defmodule Flamelex.GUI.StageManager.Memex do @moduledoc """ This process holds state for when we use Vim commands. """ use GenServer use Flamelex.ProjectAliases require Logger def start_link(args) do GenServer.start_link(__MODULE__, args) end def init(_args) do Logger.debug "#{__MODULE__} i...
31.27451
78
0.665204
792f684b276904aa5038389d670fd03c6d75f256
1,083
ex
Elixir
lib/exp_web/live/tag_live/form_component.ex
karloescota/exp
77267b80febf6d738b3ac6b6203795feef01e666
[ "MIT" ]
null
null
null
lib/exp_web/live/tag_live/form_component.ex
karloescota/exp
77267b80febf6d738b3ac6b6203795feef01e666
[ "MIT" ]
null
null
null
lib/exp_web/live/tag_live/form_component.ex
karloescota/exp
77267b80febf6d738b3ac6b6203795feef01e666
[ "MIT" ]
null
null
null
defmodule ExpWeb.TagLive.FormComponent do use ExpWeb, :live_component alias Exp.Tags @impl true def update(%{tag: tag} = assigns, socket) do changeset = Tags.change_tag(tag) {:ok, socket |> assign(assigns) |> assign(:changeset, changeset)} end @impl true def handle_event("valida...
25.186047
68
0.641736
792f8d8799e86626952669a16c8ab5b9cc81f2e4
518
exs
Elixir
config/test.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
6
2017-08-10T13:57:06.000Z
2019-01-17T08:48:40.000Z
config/test.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
14
2017-08-08T13:07:00.000Z
2019-02-28T15:10:18.000Z
config/test.exs
ndac-todoroki/DiscordSplatoonBot
6a082b0352684cb64d36fe9116e7f060691cba37
[ "MIT" ]
null
null
null
use Mix.Config # Print only warnings and errors during test config :logger, level: :warn # Goth is used inside of Kane, and needs to read Google credentials config :goth, json: "google_json_creds/discord_splatoon_bot.json" |> Path.expand(__DIR__) |> File.read!() # Discord Bot Settings config :nostrum, # The toke...
30.470588
93
0.747104
792f9af915e2f830388fb7623dc7ffe515f3b959
1,121
exs
Elixir
demo/supandgen/config/config.exs
koenighotze/talks-elixir-intro
d0a5cbbd0fef5752dc3a137e828f9c836566b5a5
[ "MIT" ]
2
2015-09-15T05:40:07.000Z
2016-06-25T13:26:00.000Z
demo/supandgen/config/config.exs
koenighotze/talks-elixir-intro
d0a5cbbd0fef5752dc3a137e828f9c836566b5a5
[ "MIT" ]
null
null
null
demo/supandgen/config/config.exs
koenighotze/talks-elixir-intro
d0a5cbbd0fef5752dc3a137e828f9c836566b5a5
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.16129
73
0.752007
792fa8fee729465d1797602ff5c026cc70d48beb
1,558
exs
Elixir
mix.exs
kowaliklukasz/phoenix-checkers
30021838cc1b9fa2dac83e698d0844e7e281dc26
[ "MIT" ]
null
null
null
mix.exs
kowaliklukasz/phoenix-checkers
30021838cc1b9fa2dac83e698d0844e7e281dc26
[ "MIT" ]
null
null
null
mix.exs
kowaliklukasz/phoenix-checkers
30021838cc1b9fa2dac83e698d0844e7e281dc26
[ "MIT" ]
null
null
null
defmodule PhoenixCheckers.MixProject do use Mix.Project def project do [ app: :phoenix_checkers, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliase...
25.966667
84
0.598845
792fad225e7d72367ac28cc4cbeb119fb07b8547
309
ex
Elixir
lib/fireball_web/resolvers/game_resolver.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
lib/fireball_web/resolvers/game_resolver.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
lib/fireball_web/resolvers/game_resolver.ex
Catharz/fireball
bb9f123c0d2d71b16eda01d3838565e6e762de20
[ "MIT" ]
null
null
null
defmodule FireballWeb.Resolvers.GameResolver do @spec active_games(%Game{}, Absinthe.Resolution.t()) :: {atom, [%Game{}]} def active_games(_args, _info) do now = Timex.now() {:ok, start_time} = Timex.format(now, "{ISO:Extended}") {:ok, [%Game{start_time: start_time, players: []}]} end end
30.9
75
0.660194
792fb7b8b5a64fb8809acdd772ed000325bfa8cb
6,726
ex
Elixir
lib/commanded/commands/dispatcher.ex
zven21/commanded
bd3be98a225629816127cf8ef6624632cd09766e
[ "MIT" ]
null
null
null
lib/commanded/commands/dispatcher.ex
zven21/commanded
bd3be98a225629816127cf8ef6624632cd09766e
[ "MIT" ]
null
null
null
lib/commanded/commands/dispatcher.ex
zven21/commanded
bd3be98a225629816127cf8ef6624632cd09766e
[ "MIT" ]
null
null
null
defmodule Commanded.Commands.Dispatcher do @moduledoc false require Logger alias Commanded.Aggregates.Aggregate alias Commanded.Aggregates.ExecutionContext alias Commanded.Middleware.Pipeline alias Commanded.Telemetry defmodule Payload do @moduledoc false defstruct [ :application, ...
28.991379
96
0.659828
792feefd9cca1b9b6174da077c90497b2b43e811
1,583
ex
Elixir
goal_light_ui/lib/goal_light_ui_web/endpoint.ex
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
goal_light_ui/lib/goal_light_ui_web/endpoint.ex
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
goal_light_ui/lib/goal_light_ui_web/endpoint.ex
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
defmodule GoalLightUiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :goal_light_ui # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "...
29.314815
97
0.722047
793032d87231b95288df47b8d3f8dd36a931a45a
494
exs
Elixir
config/test.exs
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
config/test.exs
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
config/test.exs
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :fighter, FighterWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :fighter, Fighter.Re...
24.7
56
0.734818
79303bc2d827a9bf5258d205655435e768694823
975
ex
Elixir
clients/test_client/lib/google_api/test_client/v2/deserializer.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/test_client/lib/google_api/test_client/v2/deserializer.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/test_client/lib/google_api/test_client/v2/deserializer.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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...
37.5
77
0.766154
79303f31d4e26ce695e61033fff9e1e15b9666a9
1,559
ex
Elixir
clients/fusion_tables/lib/google_api/fusion_tables/v2/model/line.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/fusion_tables/lib/google_api/fusion_tables/v2/model/line.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/fusion_tables/lib/google_api/fusion_tables/v2/model/line.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 ...
31.18
109
0.713278
793084fc62b66a0d686ad30df29e28983f47a398
2,176
exs
Elixir
config/prod.exs
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
2
2017-11-15T20:47:47.000Z
2017-12-02T11:29:10.000Z
config/prod.exs
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "MIT" ]
null
null
null
config/prod.exs
benlime/dashwallet
90754cf9cda72b289d5b802cd9fd7eb094f08acb
[ "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 # DashwalletWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # #...
33.476923
67
0.727022
79308b1a4d6cbdfa1bd3ced8e7c92b7af66b51e4
6,058
ex
Elixir
lib/sanbase_web/graphql/resolvers/insight_resolver.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase_web/graphql/resolvers/insight_resolver.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase_web/graphql/resolvers/insight_resolver.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.Resolvers.InsightResolver do require Logger import Absinthe.Resolution.Helpers, except: [async: 1] alias SanbaseWeb.Graphql.SanbaseDataloader alias Sanbase.Auth.User alias Sanbase.Vote alias Sanbase.Insight.Post alias Sanbase.Comments.EntityComment alias Sanbase.Repo ali...
27.917051
91
0.636679
7930c4d11b54ce1e61f945edb21ab8f652bff77d
2,348
ex
Elixir
lib/auto_api/states/remote_control_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
lib/auto_api/states/remote_control_state.ex
highmobility/auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
5
2020-07-16T07:20:21.000Z
2021-09-22T10:18:04.000Z
lib/auto_api/states/remote_control_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
33.542857
93
0.70017
7930fb235fd394b49833836b284501d7ffda7edf
2,165
ex
Elixir
lib/verk/supervisor.ex
rubikill/verk
0afc45b7141f3cba52a64f3cf70319ce39b6b845
[ "MIT" ]
746
2015-12-13T09:55:47.000Z
2022-03-29T21:57:55.000Z
lib/verk/supervisor.ex
rubikill/verk
0afc45b7141f3cba52a64f3cf70319ce39b6b845
[ "MIT" ]
176
2015-12-16T08:05:19.000Z
2021-12-21T03:38:55.000Z
lib/verk/supervisor.ex
rubikill/verk
0afc45b7141f3cba52a64f3cf70319ce39b6b845
[ "MIT" ]
78
2015-12-16T09:09:52.000Z
2021-11-05T15:06:03.000Z
defmodule Verk.Supervisor do @moduledoc """ Supervisor definition for Verk application. It consists of: * `Verk.ScheduleManager` * GenStage producer named `Verk.EventProducer` * GenStage consumer `Verk.QueueStats` * Redis connectionn named `Verk.Redis` * A `Verk.Queue.Supervisor` per queue ""...
26.728395
86
0.657275
7930fbb62bcd2f9ac26a01d012fdd5541dcb7918
725
ex
Elixir
web/gettext.ex
JohnB/phoenix_test_app
445a19a136865a074a8c59cf97ffeee902383c90
[ "MIT" ]
null
null
null
web/gettext.ex
JohnB/phoenix_test_app
445a19a136865a074a8c59cf97ffeee902383c90
[ "MIT" ]
null
null
null
web/gettext.ex
JohnB/phoenix_test_app
445a19a136865a074a8c59cf97ffeee902383c90
[ "MIT" ]
null
null
null
defmodule PhoenixTestApp.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 PhoenixTestApp.Gettext # Simple translation gettext "H...
29
72
0.688276
793116ae6ef09ed0db72f54cab084e7073de712e
753
ex
Elixir
instrumentation/opentelemetry_oban/test/support/data_case.ex
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
24
2021-05-07T18:37:11.000Z
2022-03-13T06:21:00.000Z
instrumentation/opentelemetry_oban/test/support/data_case.ex
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
42
2021-05-10T20:19:22.000Z
2022-03-31T17:48:13.000Z
instrumentation/opentelemetry_oban/test/support/data_case.ex
RudolfMan/opentelemetry-erlang-contrib
44fd2a6871742380dd6adc112f9776cda501ff1f
[ "Apache-2.0" ]
19
2021-08-30T01:33:54.000Z
2022-03-20T22:01:15.000Z
defmodule DataCase do @moduledoc """ This module defines the setup for tests requiring access to the data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test runs inside a transaction...
22.818182
77
0.699867
79311aa6dfbfdf0cc825acd012116f93d9fca6be
676
exs
Elixir
05_simple_math/mix.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
1
2015-12-15T04:46:41.000Z
2015-12-15T04:46:41.000Z
05_simple_math/mix.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
null
null
null
05_simple_math/mix.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
null
null
null
defmodule SimpleMath.Mixfile do use Mix.Project def project do [app: :simple_math, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app"...
20.484848
77
0.610947
79314cd3a71945c192a8d9dc0bbfb14163968bc4
6,880
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/image_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/image_settings.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/image_settings.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...
62.545455
240
0.718605