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
791307aadd39cedc35449314564847e435c21ee8
990
ex
Elixir
lib/reporters/output_utils.ex
RichMorin/doctor
fc3520990452d9621a2991e01aec3d421f36169b
[ "MIT" ]
null
null
null
lib/reporters/output_utils.ex
RichMorin/doctor
fc3520990452d9621a2991e01aec3d421f36169b
[ "MIT" ]
null
null
null
lib/reporters/output_utils.ex
RichMorin/doctor
fc3520990452d9621a2991e01aec3d421f36169b
[ "MIT" ]
null
null
null
defmodule Doctor.Reporters.OutputUtils do @moduledoc """ This module provides convenience functions for use when generating reports """ @doc """ Generate a line in a table with the given width and padding. Expects a list with either a 2 or 3 element tuple. """ def generate_table_line(line_data) do ...
26.052632
78
0.681818
7913240136783c54256950e45ca7e86c3841367b
519
ex
Elixir
lib/groupher_server_web/middleware/github_user.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/groupher_server_web/middleware/github_user.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/groupher_server_web/middleware/github_user.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServerWeb.Middleware.GithubUser do @behaviour Absinthe.Middleware import Helper.Utils, only: [handle_absinthe_error: 2] alias Helper.OAuth2.Github def call(%{arguments: %{code: code}} = resolution, _) do case Github.user_profile(code) do {:ok, user} -> arguments = resolutio...
27.315789
75
0.674374
79132680b29d7690542e98367e79123af8c30c24
3,839
ex
Elixir
lib/session_worker.ex
kongo2002/retro
781149bfe96a665778319ccea03d5ee66349373d
[ "MIT" ]
null
null
null
lib/session_worker.ex
kongo2002/retro
781149bfe96a665778319ccea03d5ee66349373d
[ "MIT" ]
null
null
null
lib/session_worker.ex
kongo2002/retro
781149bfe96a665778319ccea03d5ee66349373d
[ "MIT" ]
null
null
null
defmodule Retro.SessionWorker do use GenServer alias Retro.Session alias Retro.Participant alias Retro.Entry require Logger def start_link(state) do GenServer.start_link(__MODULE__, state) end def init(%Session{id: id} = state) do Logger.info("session #{id} started.") {:ok, state} end...
23.266667
91
0.600156
79133114af8dc0d5f92526e0e9ef908458aeb3c0
971
exs
Elixir
test/plsm_test.exs
aymiratech/Plsm
8488f06ab3f75666203ccc74ba34290b4c0725a2
[ "MIT" ]
null
null
null
test/plsm_test.exs
aymiratech/Plsm
8488f06ab3f75666203ccc74ba34290b4c0725a2
[ "MIT" ]
null
null
null
test/plsm_test.exs
aymiratech/Plsm
8488f06ab3f75666203ccc74ba34290b4c0725a2
[ "MIT" ]
1
2021-02-10T00:48:58.000Z
2021-02-10T00:48:58.000Z
defmodule PlsmTest do use ExUnit.Case @schema_dir "lib/test_temp/schemas/" describe "plsm task using postgres" do setup do Application.put_env(:plsm, :server, "localhost") Application.put_env(:plsm, :port, "5432") Application.put_env(:plsm, :database_name, "OnTarget") Application.put...
30.34375
68
0.651905
7913495d3c4b2d5aaf52eb4e495e89911e4390b1
1,273
ex
Elixir
lib/credo/check/consistency/line_endings.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
lib/credo/check/consistency/line_endings.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
lib/credo/check/consistency/line_endings.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
defmodule Credo.Check.Consistency.LineEndings do @moduledoc """ Windows and *nix systems use different line-endings in files. While this is not necessarily a concern for the correctness of your code, you should use a consistent style throughout your codebase. """ @explanation [check: @moduledoc] @code_...
32.641026
117
0.755695
791352d6c3e051d80339caaa6f76b28d3b7c82d7
14,997
ex
Elixir
lib/elixir/lib/record.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/elixir/lib/record.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/elixir/lib/record.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule Record do @moduledoc """ Module to work with, define, and import records. Records are simply tuples where the first element is an atom: iex> Record.is_record({User, "john", 27}) true This module provides conveniences for working with records at compilation time, where compile-time fie...
31.639241
101
0.639861
79135818e4e6392f5d1733a1c41b5fb1d5464ea0
365,956
ex
Elixir
lib/openflow/enums.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
lib/openflow/enums.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
lib/openflow/enums.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule Openflow.Enums do @moduledoc "auto generated code" def to_int(Openflow.Hello, :openflow_codec) do openflow_codec_to_int(Openflow.Hello) catch _class, _reason -> Openflow.Hello end def to_int(Openflow.ErrorMsg, :openflow_codec) do openflow_codec_to_int(Openflow.ErrorMsg) catch _cl...
26.106149
97
0.725953
79135cee8af8547ee2340a198804a1500c81701d
2,503
ex
Elixir
discussapp/web/router.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
null
null
null
discussapp/web/router.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
1
2021-03-10T05:09:49.000Z
2021-03-10T05:09:49.000Z
discussapp/web/router.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
null
null
null
defmodule Discussapp.Router do @moduledoc """ The project was created by typing: $mix phoenix.new Discussapp Guide to all the conventions to route with phoenix: user_path GET /users HelloWeb.UserController :index user_path GET /users/:id/edit HelloWeb.UserController :edit user_path ...
35.757143
84
0.697962
791381441dbefbf1501bd54297af436db7265cf1
600
exs
Elixir
priv/repo/migrations/20201222072604_create_messages.exs
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
priv/repo/migrations/20201222072604_create_messages.exs
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
priv/repo/migrations/20201222072604_create_messages.exs
arjit95/elixir-chat
e4db9d37713edb8398017c8629b8064541c5a110
[ "MIT" ]
null
null
null
defmodule Chat.Repo.Migrations.CreateMessages do use Ecto.Migration def change do create table(:messages, primary_key: false) do add :sender_id, references(:users, type: :string, null: false, column: :username, on_delete: :delete_all), primary_key: true add :receipient_id, references(:users, type: ...
35.294118
134
0.716667
7913d6999970ae896ace5be749fdb5315e696a74
1,285
exs
Elixir
elixir-match/app/test/match/logon_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
elixir-match/app/test/match/logon_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
elixir-match/app/test/match/logon_test.exs
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule Match.LogonTest do use Match.DataCase, async: false alias Match.Logon @invite "elixir2019" @user_one "A4E3400CF711E76BBD86C57CA" @user_two "EBDA4E3FDECD8F2759D96250A" test "get and put work" do {:ok, _} = GenServer.start_link(Logon, :ok) {:ok, result} = Logon.put(:logon, "toran", "abcd...
33.815789
88
0.670039
7913eb6d66a11e023689b3ca866888f1edfd21ba
1,129
exs
Elixir
test/membrane_element_audiometer/peakmeter_test.exs
membraneframework/membrane_audiometer_plugin
99709cee14228c9fba516fdc403931e752c23c0e
[ "Apache-2.0" ]
null
null
null
test/membrane_element_audiometer/peakmeter_test.exs
membraneframework/membrane_audiometer_plugin
99709cee14228c9fba516fdc403931e752c23c0e
[ "Apache-2.0" ]
1
2020-08-06T14:22:26.000Z
2020-08-06T14:22:26.000Z
test/membrane_element_audiometer/peakmeter_test.exs
membraneframework/membrane_audiometer_plugin
99709cee14228c9fba516fdc403931e752c23c0e
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Audiometer.PeakmeterTest do use ExUnit.Case, async: true import Membrane.Testing.Assertions alias Membrane.Caps.Audio.Raw alias Membrane.Testing @module Membrane.Audiometer.Peakmeter test "integration" do data = [1, 2, 3, 2, 1] |> Enum.map(&<<&1>>) {:ok, pipeline} = %Test...
28.948718
86
0.668733
7913ffb46b8809130a6b5d7173c4cfe475910878
1,282
ex
Elixir
lib/changelog_web/controllers/post_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2021-03-14T21:12:49.000Z
2021-03-14T21:12:49.000Z
lib/changelog_web/controllers/post_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/post_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule ChangelogWeb.PostController do use ChangelogWeb, :controller alias Changelog.{Post, NewsItem, NewsItemComment} def index(conn, params) do page = NewsItem.published() |> NewsItem.with_object_prefix("post") |> NewsItem.newest_first() |> NewsItem.preload_all() |> Repo.pa...
22.892857
97
0.602964
7914460db8781777641025ff5c4c079ea6e9bc63
997
ex
Elixir
lib/events_tools/accounts/authorization.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
lib/events_tools/accounts/authorization.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
6
2017-10-05T20:16:34.000Z
2017-10-05T20:36:11.000Z
lib/events_tools/accounts/authorization.ex
apps-team/events-tools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
defmodule EventsTools.Accounts.Authorization do use Ecto.Schema import Ecto.Changeset alias EventsTools.Accounts.Authorization schema "authorizations" do field :provider, :string field :uid, :string field :token, :string field :refresh_token, :string field :expires_at, :integer field :p...
28.485714
61
0.72317
79146cc9719bee3b2de6b70d6c3593d0fabd89e7
2,106
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategies_list_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategies_list_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategies_list_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39
167
0.738841
791486dd9c8c6cddc844cdfe1b3eb853e0053dc3
162
exs
Elixir
test/ueberauth_eve_sso_test.exs
lukasni/ueberauth-eve-sso
d0ebf3e37317f0482df0258a02089d0559c8995a
[ "MIT" ]
null
null
null
test/ueberauth_eve_sso_test.exs
lukasni/ueberauth-eve-sso
d0ebf3e37317f0482df0258a02089d0559c8995a
[ "MIT" ]
null
null
null
test/ueberauth_eve_sso_test.exs
lukasni/ueberauth-eve-sso
d0ebf3e37317f0482df0258a02089d0559c8995a
[ "MIT" ]
null
null
null
defmodule UeberauthEVESSOTest do use ExUnit.Case doctest UeberauthEVESSO test "greets the world" do assert UeberauthEVESSO.hello() == :world end end
18
44
0.753086
791501e8c34746768c28a4db230d1a4d9637fe20
1,446
ex
Elixir
lib/mix/tasks/esbuild.ex
denvaar/esbuild
e2d01c87ecd60d02ab8151dcbd51a24a13495f21
[ "MIT" ]
227
2021-07-16T21:14:01.000Z
2022-03-29T20:03:10.000Z
lib/mix/tasks/esbuild.ex
denvaar/esbuild
e2d01c87ecd60d02ab8151dcbd51a24a13495f21
[ "MIT" ]
45
2021-07-17T07:17:53.000Z
2022-03-30T15:40:43.000Z
deps/esbuild/lib/mix/tasks/esbuild.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
36
2021-07-17T02:22:38.000Z
2022-03-30T02:36:57.000Z
defmodule Mix.Tasks.Esbuild do @moduledoc """ Invokes esbuild with the given args. Usage: $ mix esbuild TASK_OPTIONS PROFILE ESBUILD_ARGS Example: $ mix esbuild default assets/js/app.js --bundle --minify --target=es2016 --outdir=priv/static/assets If esbuild is not installed, it is automatica...
24.508475
106
0.691563
791503ea741f7e282d0b6d80c5f2dcb8649d6546
7,717
ex
Elixir
lib/oban/config.ex
qdentity/oban
d511f5ffd2f3b979afd6af94bc802949654ea410
[ "Apache-2.0" ]
null
null
null
lib/oban/config.ex
qdentity/oban
d511f5ffd2f3b979afd6af94bc802949654ea410
[ "Apache-2.0" ]
26
2021-07-24T21:32:21.000Z
2022-03-23T11:55:24.000Z
lib/oban/config.ex
qdentity/oban
d511f5ffd2f3b979afd6af94bc802949654ea410
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Config do @moduledoc """ The Config struct validates and encapsulates Oban instance state. Options passed to `Oban.start_link/1` are validated and stored in a config struct. Internal modules and plugins are always passed the config with a `:conf` key. """ @type t :: %__MODULE__{ c...
30.027237
99
0.621226
79150694c38b7f025ba0b200782655870051137c
1,172
exs
Elixir
test/document_test.exs
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
406
2015-01-01T14:59:37.000Z
2022-02-19T08:08:47.000Z
test/document_test.exs
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
38
2015-01-19T11:58:30.000Z
2019-01-18T14:06:24.000Z
test/document_test.exs
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
64
2015-01-19T09:59:55.000Z
2021-02-06T01:14:59.000Z
defmodule DocumentTest do use ExUnit.Case, async: false setup do TestHelper.cleanup on_exit fn -> TestHelper.cleanup end end test "Prepare document" do Obelisk.Tasks.Init.run [] Obelisk.Tasks.Build.run [] create_post(10) file = "./posts/#{filename(10)}.markdown" document = Obelisk...
21.703704
89
0.653584
79150f4f49b85df13891d53288522ecdc34be718
2,176
exs
Elixir
test/driver/redix_driver_test.exs
sb8244/elixir_redis_bloomfilter
c3266127278131eae00fb6986acb424d1e4cf9d1
[ "MIT" ]
1
2017-09-06T05:15:47.000Z
2017-09-06T05:15:47.000Z
test/driver/redix_driver_test.exs
sb8244/elixir_redis_bloomfilter
c3266127278131eae00fb6986acb424d1e4cf9d1
[ "MIT" ]
null
null
null
test/driver/redix_driver_test.exs
sb8244/elixir_redis_bloomfilter
c3266127278131eae00fb6986acb424d1e4cf9d1
[ "MIT" ]
null
null
null
defmodule RedisBloomfilter.Driver.RedixDriverTest do use ExUnit.Case, async: false alias RedisBloomfilter.Driver.RedixDriver setup do {:ok, redix_pid} = Redix.start_link("redis://localhost:6379", name: :redix) {:ok, redix: redix_pid} end describe "load_lua_scripts" do test "the correct SHAs are...
36.881356
119
0.649357
791549451526c58a1f3e81a400c2c9f3d36454b6
59
exs
Elixir
config/config.exs
WhiteRookPL/production-debugging-workshop.ex
26e81d14ba39c33764ddaee5d6d65a6061f4e823
[ "MIT" ]
5
2017-05-03T08:05:54.000Z
2022-03-11T04:11:00.000Z
config/config.exs
WhiteRookPL/production-debugging-workshop.ex
26e81d14ba39c33764ddaee5d6d65a6061f4e823
[ "MIT" ]
null
null
null
config/config.exs
WhiteRookPL/production-debugging-workshop.ex
26e81d14ba39c33764ddaee5d6d65a6061f4e823
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
use Mix.Config import_config "../apps/*/config/config.exs"
19.666667
43
0.745763
79157143fe4199e0a41e2d10908e9d95b53eb28d
7,677
ex
Elixir
lib/mix/lib/mix/tasks/format.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/mix/lib/mix/tasks/format.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/format.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Format do use Mix.Task @shortdoc "Formats the given files/patterns" @moduledoc """ Formats the given files and patterns. mix format mix.exs "lib/**/*.{ex,exs}" "test/**/*.{ex,exs}" If any of the files is `-`, then the output is read from stdin and written to stdout. Formatti...
30.464286
96
0.669532
79159dea6fcd340f9c5b77c39d63d01a761bbde0
1,961
ex
Elixir
lib/phoenix_container_example_web/telemetry.ex
cogini/phoenix_container_example
2c4d66ad7186ec165b9d260bc232d6c6ee9b2abe
[ "Apache-2.0" ]
19
2020-07-21T06:03:36.000Z
2022-03-21T22:35:22.000Z
lib/phoenix_container_example_web/telemetry.ex
cogini/phoenix_container_example
2c4d66ad7186ec165b9d260bc232d6c6ee9b2abe
[ "Apache-2.0" ]
1
2022-03-08T10:26:55.000Z
2022-03-08T10:26:55.000Z
lib/phoenix_container_example_web/telemetry.ex
cogini/phoenix_container_example
2c4d66ad7186ec165b9d260bc232d6c6ee9b2abe
[ "Apache-2.0" ]
1
2022-02-09T01:25:09.000Z
2022-02-09T01:25:09.000Z
defmodule PhoenixContainerExampleWeb.Telemetry do @moduledoc false 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 measure...
33.810345
97
0.692504
7915b3a4fb48e3a3ff93362d39fd144e0a8b825f
350
exs
Elixir
priv/repo/migrations/20181029050803_create_clicks.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181029050803_create_clicks.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181029050803_create_clicks.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
defmodule JobBoard.Repo.Migrations.CreateClicks do use Ecto.Migration def change do create table(:clicks) do add :job_id, references(:jobs, on_delete: :nothing) add :user_id, references(:users, on_delete: :nothing) timestamps() end create index(:clicks, [:job_id]) create index(:...
21.875
59
0.677143
7915efa5eb175dfcc5dacd4e4f5922e83cf325ed
1,062
exs
Elixir
test/joi/validator/inclustion_test.exs
scottming/joi
1c7546bb0473fa53325533c7ab4aec402bfba0d1
[ "MIT" ]
25
2020-12-03T08:14:51.000Z
2021-09-01T15:34:30.000Z
test/joi/validator/inclustion_test.exs
scottming/joi
1c7546bb0473fa53325533c7ab4aec402bfba0d1
[ "MIT" ]
5
2021-02-13T12:56:56.000Z
2021-07-30T01:27:51.000Z
test/joi/validator/inclustion_test.exs
scottming/joi
1c7546bb0473fa53325533c7ab4aec402bfba0d1
[ "MIT" ]
2
2021-03-15T00:37:13.000Z
2021-07-26T15:21:55.000Z
defmodule Joi.Validator.InclusionTest do @moduledoc false use ExUnit.Case, async: true import Joi.Support.Util import Assertions @field :field @inclusion [:fake_inclusion] @validator :inclusion test "types that support #{@validator}" do assert_lists_equal(types_by(@validator), [:atom, :string, :i...
30.342857
109
0.615819
79160729edd12903fcb068c96aa67d409e27b9fe
2,524
exs
Elixir
test/bf_test.exs
lukad/bf
4a33d7602c98f70024a6d4ed392eeae41385b6d2
[ "MIT" ]
6
2017-02-12T08:52:38.000Z
2021-09-02T06:58:48.000Z
test/bf_test.exs
lukad/bf
4a33d7602c98f70024a6d4ed392eeae41385b6d2
[ "MIT" ]
1
2018-09-21T06:45:31.000Z
2018-09-27T19:19:20.000Z
test/bf_test.exs
lukad/bf
4a33d7602c98f70024a6d4ed392eeae41385b6d2
[ "MIT" ]
null
null
null
defmodule BfTest do use ExUnit.Case doctest Bf import ExUnit.CaptureIO defmacro assert_output(program, output, input \\ "") do quote do assert capture_io(unquote(input), fn -> Bf.run(unquote(program)) end) == unquote(output) end end describe "Bf.run/1" do tes...
22.336283
97
0.38748
79160bc7eb8065fa69284836e9d01b0faee69ec6
991
ex
Elixir
test/support/channel_case.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
test/support/channel_case.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
34
2019-11-10T11:31:37.000Z
2019-11-27T21:26:48.000Z
test/support/channel_case.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
defmodule ClubWeb.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 data structures and query the data layer. Finally, if the test case interacts with...
24.170732
59
0.710394
7916170b6324bf4f36e5643f5a67816df33a3314
349
exs
Elixir
priv/repo/seeds.exs
jordyvanvorselen/chewie-backend
b382ee0726f54d8ae45f2b41f43e38469cecc326
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
jordyvanvorselen/chewie-backend
b382ee0726f54d8ae45f2b41f43e38469cecc326
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
jordyvanvorselen/chewie-backend
b382ee0726f54d8ae45f2b41f43e38469cecc326
[ "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: # # Chewie.Repo.insert!(%Chewie.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
29.083333
61
0.704871
791620b4c9056b5563f7ae17231b5733005b453e
708
ex
Elixir
pulsar/lib/pulsar_web/gettext.ex
Dermah/pulsar.wtf
fed5734578eb4c8b93bd1cdcb6e2f6d894a4af9e
[ "MIT" ]
null
null
null
pulsar/lib/pulsar_web/gettext.ex
Dermah/pulsar.wtf
fed5734578eb4c8b93bd1cdcb6e2f6d894a4af9e
[ "MIT" ]
1
2021-03-09T21:33:42.000Z
2021-03-09T21:33:42.000Z
pulsar/lib/pulsar_web/gettext.ex
Dermah/pulsar.wtf
fed5734578eb4c8b93bd1cdcb6e2f6d894a4af9e
[ "MIT" ]
null
null
null
defmodule PulsarWeb.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 PulsarWeb.Gettext # Simple translation gettext("Here is the...
28.32
72
0.676554
79162857f1fcc6709429c49e93cd5471d7fc2fa7
878
exs
Elixir
socket_gallows/config/config.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
socket_gallows/config/config.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
socket_gallows/config/config.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :socket_gallows, SocketGallowsWeb.Endpoint, url: [...
36.583333
86
0.766515
79165843831eb576f6ad96d770d43e3bfaae3fb2
585
ex
Elixir
lib/lexthink/supervisor.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
1
2015-12-07T13:07:39.000Z
2015-12-07T13:07:39.000Z
lib/lexthink/supervisor.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
null
null
null
lib/lexthink/supervisor.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
null
null
null
defmodule Lexthink.Supervisor do use Supervisor.Behaviour def start_link do :supervisor.start_link({:local, __MODULE__}, __MODULE__, []) end def init([]) do Lexthink.Server = :ets.new(Lexthink.Server, [:ordered_set, :public, :named_table, {:read_concurrency, :true}]) children = [ # Define w...
27.857143
114
0.702564
79166feecc37e6a1d4cb320007878cf23268ca18
4,607
ex
Elixir
lib/ramona/utils.ex
sqdorte/ramona
45ba8b17a8542c4451931b2049ba618be187ecfa
[ "Apache-2.0" ]
1
2019-01-24T19:58:04.000Z
2019-01-24T19:58:04.000Z
lib/ramona/utils.ex
sqdorte/ramona
45ba8b17a8542c4451931b2049ba618be187ecfa
[ "Apache-2.0" ]
null
null
null
lib/ramona/utils.ex
sqdorte/ramona
45ba8b17a8542c4451931b2049ba618be187ecfa
[ "Apache-2.0" ]
null
null
null
defmodule Ramona.Utils do @moduledoc """ Collection of functions to serve as tools for some Cogs. """ alias Alchemy.Client require Logger require Alchemy.Embed, as: Embed @appos "146367028968554496" @ansuz "429110513117429780" @eihwaz "429111918297612298" @unleashed_gid "429110044525592578" @typ...
26.176136
84
0.581289
79167c4bf775b6d4234f8167fef7629a978a7bd6
1,501
ex
Elixir
testData/org/elixir_lang/annotator/module_attribute/module_attributes.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/annotator/module_attribute/module_attributes.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/annotator/module_attribute/module_attributes.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# Preferences > Editors > Colors & Fonts > Elixir setting name in comments above each paragraph defmodule ModuleAttributes do # `@moduledoc` - Documention Module Attributes # `@moduledoc` heredoc - Documention Text @moduledoc """ String Heredocs are highlighted as Documentation Text """ # `@doc` - Document...
29.431373
95
0.660893
79168a29e4d476ecabfa4a954c30da87cadc42eb
1,143
exs
Elixir
config/config.exs
hippware/firebase-admin-ex
bca6f83a8ae94a7fdb0a447030913d03ea170bb1
[ "MIT" ]
null
null
null
config/config.exs
hippware/firebase-admin-ex
bca6f83a8ae94a7fdb0a447030913d03ea170bb1
[ "MIT" ]
null
null
null
config/config.exs
hippware/firebase-admin-ex
bca6f83a8ae94a7fdb0a447030913d03ea170bb1
[ "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.870968
73
0.755906
7916933ca8df035b098e9ffded508759a6d8d1a9
903
ex
Elixir
chapter5/challenges/jwtchallenge/lib/jwtchallenge_web/router.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter5/challenges/jwtchallenge/lib/jwtchallenge_web/router.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter5/challenges/jwtchallenge/lib/jwtchallenge_web/router.ex
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule JwtchallengeWeb.Router do use JwtchallengeWeb, :router pipeline :api do plug :accepts, ["json"] end scope "/api", JwtchallengeWeb do pipe_through :api post "/users", UsersController, :create post "/sign-in", UsersController, :sign_in end # Enables LiveDashboard only for develop...
29.129032
70
0.717608
7916a2b07d278d8b6af443f826d5c4c5566c5564
1,183
ex
Elixir
lib/oli_web/live/sections/main_details.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/live/sections/main_details.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/live/sections/main_details.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule OliWeb.Sections.MainDetails do use Surface.Component alias Surface.Components.Form.{Field, Label, TextInput, Select, ErrorTag} import Ecto.Changeset prop changeset, :any, required: true prop disabled, :boolean, required: true prop is_admin, :boolean, required: true prop brands, :list, require...
35.848485
146
0.655114
7916a810ae4418d39acfe1f20ceeaf0a007dd715
190
exs
Elixir
priv/repo/migrations/20160829161012_change_address_index.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
27
2016-10-15T12:13:22.000Z
2021-02-07T20:31:41.000Z
priv/repo/migrations/20160829161012_change_address_index.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
null
null
null
priv/repo/migrations/20160829161012_change_address_index.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
4
2016-08-21T15:03:29.000Z
2019-11-22T13:15:29.000Z
defmodule EmbedChat.Repo.Migrations.ChangeAddressIndex do use Ecto.Migration def change do drop index(:addresses, [:uuid]) create index(:addresses, [:uuid, :room_id]) end end
21.111111
57
0.726316
7916aaea692fa50b6b5346910080725c3eaf453b
641
ex
Elixir
lib/changelog/data/news/news_item_topic.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/news/news_item_topic.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/news/news_item_topic.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
defmodule Changelog.NewsItemTopic do use Changelog.Data alias Changelog.{NewsItem, Topic} schema "news_item_topics" do field :position, :integer field :delete, :boolean, virtual: true belongs_to :news_item, NewsItem, foreign_key: :item_id belongs_to :topic, Topic timestamps() end def ...
23.740741
79
0.702028
7916aba7fbbe3073903ed066ee280bb8fd12ceef
2,973
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_shipment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/content/lib/google_api/content/v2/model/order_shipment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_shipment.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.67033
164
0.638412
7916ae14ec822a8e2ecb60a402404016dd0986e9
211
ex
Elixir
examples/load-test/server/lib/socket_server/collector/verbose.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
78
2018-12-02T23:58:37.000Z
2021-09-30T18:52:45.000Z
examples/load-test/server/lib/socket_server/collector/verbose.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
23
2018-11-27T14:57:20.000Z
2021-09-24T16:14:43.000Z
examples/load-test/server/lib/socket_server/collector/verbose.ex
pushex-project/push.ex
a6d4b18face39dd84d01a887dce60db2d0001d37
[ "MIT" ]
3
2019-01-30T02:08:37.000Z
2021-09-03T20:53:35.000Z
defmodule SocketServer.Collector.Verbose do def collect() do [ PushEx.Instrumentation.Tracker.connected_socket_count(), PushEx.Instrumentation.Tracker.connected_channel_count() ] end end
23.444444
62
0.748815
7916c71e392ba236995541da9ad59703790fb0c9
1,251
ex
Elixir
lib/mole_web/controllers/learning_controller.ex
the-mikedavis/mole
73d884b5dca4e5371b1b399d7e65c0f4a0229851
[ "BSD-3-Clause" ]
1
2020-07-15T14:39:10.000Z
2020-07-15T14:39:10.000Z
lib/mole_web/controllers/learning_controller.ex
the-mikedavis/mole
73d884b5dca4e5371b1b399d7e65c0f4a0229851
[ "BSD-3-Clause" ]
59
2018-11-05T23:09:10.000Z
2020-07-11T20:44:14.000Z
lib/mole_web/controllers/learning_controller.ex
the-mikedavis/mole
73d884b5dca4e5371b1b399d7e65c0f4a0229851
[ "BSD-3-Clause" ]
null
null
null
defmodule MoleWeb.LearningController do use MoleWeb, :controller alias Mole.Content.Condition alias MoleWeb.Router.Helpers, as: Routes alias MoleWeb.Plugs.Learning plug(:learn) # showing how to play def index(conn, _params) do image = case Condition.to_tuple(conn.assigns.condition) do ...
25.02
70
0.634692
7916e93dcd962925ab8e5e2943b391b664d8e088
717
ex
Elixir
lib/timestamp_web/gettext.ex
ugiete/Timestamp-Converter
04e0eca0918f7c87047bb0cb7849cf853d747f37
[ "MIT" ]
null
null
null
lib/timestamp_web/gettext.ex
ugiete/Timestamp-Converter
04e0eca0918f7c87047bb0cb7849cf853d747f37
[ "MIT" ]
null
null
null
lib/timestamp_web/gettext.ex
ugiete/Timestamp-Converter
04e0eca0918f7c87047bb0cb7849cf853d747f37
[ "MIT" ]
null
null
null
defmodule TimestampWeb.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 TimestampWeb.Gettext # Simple translation gettext("Here ...
28.68
72
0.680614
7916f1384b56338ff0d8f8e926bda1e6031a092e
1,320
ex
Elixir
lib/email_service/repos/email/template_repo.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
2
2019-04-15T22:17:59.000Z
2022-01-03T15:35:36.000Z
lib/email_service/repos/email/template_repo.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
lib/email_service/repos/email/template_repo.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.EmailService.Email.TemplateRepo do use Noizu.Scaffolding....
29.333333
100
0.543182
7916fdcf4aaff1afd458a6a9c9a7a8b5b3af67b1
1,471
ex
Elixir
lib/config_smuggler/encoder.ex
appcues/config_smuggler
c420263591c2991f982dfaece6cae1b180711db1
[ "MIT" ]
11
2019-02-28T22:47:24.000Z
2021-11-11T19:53:17.000Z
lib/config_smuggler/encoder.ex
appcues/config_smuggler
c420263591c2991f982dfaece6cae1b180711db1
[ "MIT" ]
1
2021-06-21T16:22:28.000Z
2021-06-21T16:22:28.000Z
lib/config_smuggler/encoder.ex
appcues/config_smuggler
c420263591c2991f982dfaece6cae1b180711db1
[ "MIT" ]
null
null
null
defmodule ConfigSmuggler.Encoder do @moduledoc false @doc ~S""" Returns a list of encoded key/value tuples. """ @spec encode_app_path_and_opts(atom, [atom], Keyword.t()) :: [{ConfigSmuggler.encoded_key(), ConfigSmuggler.encoded_value()}] def encode_app_path_and_opts(app, path, opts) do if is_...
27.754717
79
0.629504
79170c1849984948fe8cebe65393efeb552ad6be
9,251
ex
Elixir
lib/parent/functional.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
lib/parent/functional.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
lib/parent/functional.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
defmodule Parent.Functional do @moduledoc false alias Parent.Registry use Parent.PublicTypes @opaque t :: %{registry: Registry.t()} @type on_handle_message :: {child_exit_message, t} | :error | :ignore @type child_exit_message :: {:EXIT, pid, id, child_meta, reason :: term} @spec initialize() :: t def...
33.518116
104
0.637228
79171039d82df0b35871104aa7d7cea426906065
1,347
ex
Elixir
lib/atom_tweaks_web/sliding_session_timeout.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
lib/atom_tweaks_web/sliding_session_timeout.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
lib/atom_tweaks_web/sliding_session_timeout.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
defmodule AtomTweaksWeb.SlidingSessionTimeout do @moduledoc """ Times out the session after a period of inactivity. The default timeout is one hour. This can be configured in the application config where the timeout is given as a number of seconds. ``` config :my_app, AtomTweaks.SlidingSessionTimeout, ...
22.830508
93
0.681514
79173da8c0f348b5d8cbd0b29f6ac76c950e4c07
513
ex
Elixir
lib/postoffice/messaging/topic.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
null
null
null
lib/postoffice/messaging/topic.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
null
null
null
lib/postoffice/messaging/topic.ex
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
null
null
null
defmodule Postoffice.Messaging.Topic do use Ecto.Schema import Ecto.Changeset schema "topics" do field :name, :string, null: false field :origin_host, :string, null: true has_many :consumers, Postoffice.Messaging.Publisher has_many :messages, Postoffice.Messaging.Message timestamps() end ...
22.304348
55
0.699805
79177ad84962b5feae3a60b1e1dd50ebd8255632
3,002
ex
Elixir
lib/ja_serializer/builder/pagination_links.ex
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
lib/ja_serializer/builder/pagination_links.ex
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
lib/ja_serializer/builder/pagination_links.ex
gamesrol/ja_serializer
c48d8fb0fb742bd96c30acd40e24f7395f25af2c
[ "Apache-2.0" ]
null
null
null
defmodule JaSerializer.Builder.PaginationLinks do import JaSerializer.Formatter.Utils, only: [format_key: 1] @page_number_origin Application.get_env(:ja_serializer, :page_number_origin, 1) @moduledoc """ Builds JSON-API spec pagination links. Pass in a map with the necessary data: JaSerializer.Build...
30.02
108
0.651899
791799b873dec185a1ddc9327eb1c082020f642d
3,037
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/grid_range.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/grid_range.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/grid_range.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...
51.474576
911
0.708923
7917c5f789e72b012c80eb0c9e8c1b9ca016bf6f
1,675
ex
Elixir
playground_project/lib/crud_tdd_web/router.ex
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
playground_project/lib/crud_tdd_web/router.ex
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
playground_project/lib/crud_tdd_web/router.ex
JohnBortotti/learning-elixir
54ce9c50904e809065d0321d51367cea7a5b2bf8
[ "MIT" ]
null
null
null
defmodule CrudTddWeb.Router do use CrudTddWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", CrudTddWeb do pipe_...
27.916667
70
0.683582
7917cf086791910d2a1c466ad138b9448a678695
253
ex
Elixir
lib/plug_guard.ex
foxzool/plug_guard
a812d4b4c25516e89b1fe8b31f0a4fd5d4874c0c
[ "MIT" ]
null
null
null
lib/plug_guard.ex
foxzool/plug_guard
a812d4b4c25516e89b1fe8b31f0a4fd5d4874c0c
[ "MIT" ]
null
null
null
lib/plug_guard.ex
foxzool/plug_guard
a812d4b4c25516e89b1fe8b31f0a4fd5d4874c0c
[ "MIT" ]
null
null
null
defmodule PlugGuard do @default_path "/oauth" import Plug.Conn use Plug.Router plug Plug.Logger plug :match plug :dispatch post @default_path <> "/token" do conn |> PlugGuard.Server.call |> send_resp(200, "hello") end end
14.882353
35
0.664032
7918036a61e2d8f6f2893efcbbfd7fe3d92b087c
84
exs
Elixir
test/contento_web/views/layout_view_test.exs
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
null
null
null
test/contento_web/views/layout_view_test.exs
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
null
null
null
test/contento_web/views/layout_view_test.exs
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
1
2020-11-21T20:12:01.000Z
2020-11-21T20:12:01.000Z
defmodule ContentoWeb.LayoutViewTest do use ContentoWeb.ConnCase, async: true end
21
39
0.833333
79181a49385ae756f2f2248411fe9c9fa8f66fda
469
ex
Elixir
lib/kazan/errors.ex
chazsconi/kazan
da42cef9686584ed7b46428780d099ce77dae3ea
[ "MIT" ]
null
null
null
lib/kazan/errors.ex
chazsconi/kazan
da42cef9686584ed7b46428780d099ce77dae3ea
[ "MIT" ]
null
null
null
lib/kazan/errors.ex
chazsconi/kazan
da42cef9686584ed7b46428780d099ce77dae3ea
[ "MIT" ]
null
null
null
defmodule Kazan.RemoteError do @moduledoc """ Raised when we get an error from a Kube server. """ defexception [:reason] def message(error) do "Server responded with #{inspect error.reason}" end end defmodule Kazan.BuildRequestError do @moduledoc """ Raised when we get an error from a Kube server....
21.318182
69
0.701493
79182125b3b4f4733682796fd89acc76f40ff1f8
7,754
ex
Elixir
lib/docusign/api/power_forms.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/api/power_forms.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/api/power_forms.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Api.PowerForms do @moduledoc """ API calls for all endpoints tagged `PowerForms`. """ alias DocuSign.Connection import DocuSig...
33.136752
193
0.668429
7918327e3f9a62cc922ead5a6b372fc4469c715e
2,137
exs
Elixir
test/lib/timber/utils/http_event_test.exs
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
test/lib/timber/utils/http_event_test.exs
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
test/lib/timber/utils/http_event_test.exs
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
defmodule Timber.Utils.HTTPEventsTest do use Timber.TestCase alias Timber.Utils.HTTPEvents describe "Timber.Utils.HTTPEvents.normalize_body/1" do test "nil" do assert HTTPEvents.normalize_body(nil) == nil end test "blank string" do assert HTTPEvents.normalize_body("") == "" end ...
26.382716
92
0.581657
791839136e923fa9e253d5906e8288c607841ead
231
ex
Elixir
lib/hologram/compiler/module_def_aggregators/function_definition.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/compiler/module_def_aggregators/function_definition.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/compiler/module_def_aggregators/function_definition.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
alias Hologram.Compiler.IR.FunctionDefinition alias Hologram.Compiler.ModuleDefAggregator defimpl ModuleDefAggregator, for: FunctionDefinition do def aggregate(%{body: body}) do ModuleDefAggregator.aggregate(body) end end
25.666667
55
0.822511
7918832791459b8803385f2ce7d6a9b0ad760c5b
457
exs
Elixir
priv/repo/migrations/20180812115408_create_schedules.exs
ConduitMobileRND/tiktak
6676976749c950ad71dc9caa1333e53aa15d0f7b
[ "MIT" ]
24
2018-12-31T09:44:20.000Z
2022-02-02T03:03:00.000Z
priv/repo/migrations/20180812115408_create_schedules.exs
ConduitMobileRND/tiktak
6676976749c950ad71dc9caa1333e53aa15d0f7b
[ "MIT" ]
null
null
null
priv/repo/migrations/20180812115408_create_schedules.exs
ConduitMobileRND/tiktak
6676976749c950ad71dc9caa1333e53aa15d0f7b
[ "MIT" ]
2
2019-01-23T00:54:45.000Z
2019-05-28T10:14:44.000Z
defmodule TikTak.Repo.Migrations.CreateSchedules do use Ecto.Migration def change do create table(:schedules, primary_key: false) do add :id, :string, primary_key: true add :cron, :string add :date, :string add :delay, :integer add :callback_url, :string add :status, :string...
25.388889
51
0.656455
791893e788e5fe4ac7dd7677c0ba7bbe91a3f785
2,880
ex
Elixir
day07/lib/day07.ex
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
day07/lib/day07.ex
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
day07/lib/day07.ex
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
null
null
null
defmodule Day07 do use Bitwise def part1(input) do parse(input) |> solve end def part2(input) do input = parse(input) b_value = solve(input)[:a] List.keyreplace(input, :b, 1, {:OR, :b, [b_value, 0]}) |> solve end defp solve(instructions) do instructions |> top_sort_input ...
24.615385
79
0.522917
791899015dd7eb649252854bd6f34c1aab0991c3
358
ex
Elixir
lib/sanbase_web/admin/intercom/user_attributes.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase_web/admin/intercom/user_attributes.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase_web/admin/intercom/user_attributes.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.ExAdmin.Intercom.UserAttributes do use ExAdmin.Register register_resource Sanbase.Intercom.UserAttributes do action_items(only: [:show]) index do column(:user, link: true) end show configuration do attributes_table do row(:user, link: true) row(:pr...
18.842105
55
0.673184
7918b30a050416b6f051ac38a3e6c31e1a88a4e6
1,579
ex
Elixir
clients/discovery/lib/google_api/discovery/v1/model/rest_method_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/model/rest_method_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/model/rest_method_request.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...
30.960784
78
0.730209
7918bd44ec7458c3028436d779e34c5fbfa646b2
780
ex
Elixir
lib/ash_json_api/controllers/post_to_relationship.ex
TheFirstAvenger/ash_json_api
763b63f6e9a4a1fbb9d83229f085a1e37c41d659
[ "MIT" ]
null
null
null
lib/ash_json_api/controllers/post_to_relationship.ex
TheFirstAvenger/ash_json_api
763b63f6e9a4a1fbb9d83229f085a1e37c41d659
[ "MIT" ]
null
null
null
lib/ash_json_api/controllers/post_to_relationship.ex
TheFirstAvenger/ash_json_api
763b63f6e9a4a1fbb9d83229f085a1e37c41d659
[ "MIT" ]
null
null
null
defmodule AshJsonApi.Controllers.PostToRelationship do @moduledoc false alias AshJsonApi.Controllers.{Helpers, Response} alias AshJsonApi.Request def init(options) do # initialize options options end def call(conn, options) do action = options[:action] api = options[:api] route = optio...
28.888889
84
0.730769
7918c3406bed2dc857e23923fff7bccc6335e32e
4,761
ex
Elixir
lib/codes/codes_w00.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_w00.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_w00.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_W00 do alias IcdCode.ICDCode def _W000XXA do %ICDCode{full_code: "W000XXA", category_code: "W00", short_code: "0XXA", full_name: "Fall on same level due to ice and snow, initial encounter", short_name: "Fall on same level due to ice and snow...
41.4
105
0.640622
79190561f5cc2386a3e0a84b0b9bb4e8c34e53a5
372
ex
Elixir
lib/app.ex
aifrak/template-elixir
6d4f346b59cd6df03bf75eb5af879b0af5ded9db
[ "MIT" ]
null
null
null
lib/app.ex
aifrak/template-elixir
6d4f346b59cd6df03bf75eb5af879b0af5ded9db
[ "MIT" ]
109
2021-07-14T21:41:23.000Z
2022-03-20T09:31:35.000Z
lib/app.ex
aifrak/template-elixir
6d4f346b59cd6df03bf75eb5af879b0af5ded9db
[ "MIT" ]
null
null
null
defmodule App do @moduledoc """ Documentation for `App`. """ @spec hello :: :world @doc """ Hello world. ## Examples iex> App.hello() :world """ def hello do :world end @doc """ Add a to b. ## Examples iex> App.add(10, 15) 25 """ @spec add(integer, integer...
11.625
40
0.510753
79190b47c1c86f7d3ce28ea12f650eaf50bc7bf3
21,988
ex
Elixir
deps/postgrex/lib/postgrex/type_module.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/type_module.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/type_module.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
defmodule Postgrex.TypeModule do @moduledoc false alias Postgrex.TypeInfo def define(module, extensions, opts) do opts = opts |> Keyword.put_new(:decode_binary, :copy) |> Keyword.put_new(:date, :elixir) config = configure(extensions, opts) define_inline(module, config, opts) end ...
30.581363
80
0.574359
79191c8d1e93e8d15496507b222413ddfa62e895
420
ex
Elixir
test/support/channel_case.ex
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
test/support/channel_case.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
test/support/channel_case.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBoxWeb.ChannelCase do use ExUnit.CaseTemplate using do quote do import Phoenix.ChannelTest import BattleBox.Test.DataHelpers @endpoint BattleBoxWeb.Endpoint end end setup tags do :ok = Ecto.Adapters.SQL.Sandbox.checkout(BattleBox.Repo) unless tags[:async] do...
18.26087
71
0.690476
791922bd32ee8390033906769f424b6473c7e467
165
exs
Elixir
test/test_helper.exs
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
35
2019-03-10T05:16:16.000Z
2021-12-05T00:12:55.000Z
test/test_helper.exs
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
2
2019-03-08T17:01:50.000Z
2019-03-14T09:20:22.000Z
test/test_helper.exs
nsweeting/exenv
88a9863fd055aa4d99ab9bf416c0b35bc86eadac
[ "MIT" ]
null
null
null
Application.stop(:exenv) {:ok, files} = File.ls("./test/support") Enum.each(files, fn file -> Code.require_file("support/#{file}", __DIR__) end) ExUnit.start()
16.5
47
0.672727
79193de0f49cca6139114ddce5843f8a34e886dc
33
exs
Elixir
hello.exs
danilobarion1986/elixir_scripts
211e9d57b2204b60de45afbfb2c22fb3e0157119
[ "MIT" ]
null
null
null
hello.exs
danilobarion1986/elixir_scripts
211e9d57b2204b60de45afbfb2c22fb3e0157119
[ "MIT" ]
null
null
null
hello.exs
danilobarion1986/elixir_scripts
211e9d57b2204b60de45afbfb2c22fb3e0157119
[ "MIT" ]
null
null
null
IO.puts "Hello world of Elixir!"
16.5
32
0.727273
791940feabebd3ae53f706dae6c265692a1c4dfa
1,544
ex
Elixir
lib/app_web/uploaders/file_image.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
lib/app_web/uploaders/file_image.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
lib/app_web/uploaders/file_image.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
defmodule App.FileImage do use Waffle.Definition # Include ecto support (requires package waffle_ecto installed): use Waffle.Ecto.Definition @versions [:original] # To add a thumbnail version: # @versions [:original, :thumb] # Override the bucket on a per definition basis: # def bucket do # :cus...
27.571429
96
0.682642
79195e00b351e9652b75368e8f993e21e80a03e0
18,776
ex
Elixir
deps/timex/lib/datetime/datetime.ex
alex-philippov/jwt-google-tokens
18aa3eccc9a2c1a6016b2fe53b0bc6b1612a04b7
[ "Apache-2.0" ]
null
null
null
deps/timex/lib/datetime/datetime.ex
alex-philippov/jwt-google-tokens
18aa3eccc9a2c1a6016b2fe53b0bc6b1612a04b7
[ "Apache-2.0" ]
null
null
null
deps/timex/lib/datetime/datetime.ex
alex-philippov/jwt-google-tokens
18aa3eccc9a2c1a6016b2fe53b0bc6b1612a04b7
[ "Apache-2.0" ]
1
2019-11-23T12:09:14.000Z
2019-11-23T12:09:14.000Z
defimpl Timex.Protocol, for: DateTime do @moduledoc """ A type which represents a date and time with timezone information (optional, UTC will be assumed for date/times with no timezone information provided). Functions that produce time intervals use UNIX epoch (or simly Epoch) as the default reference date. ...
41.724444
140
0.617118
7919829c44d7bbddcfb76239e2c8f7294e2cd130
2,444
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/pubsub_message.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/model/pubsub_message.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/model/pubsub_message.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.877193
364
0.725041
7919932b23dc0a3af0e4a3e723d310c3f8ffd3c4
1,265
exs
Elixir
config/prod.secret.exs
mikebobadilla/elixir-chat
e0955f9048dd088da8850a05dae5850a4e1f6124
[ "MIT" ]
null
null
null
config/prod.secret.exs
mikebobadilla/elixir-chat
e0955f9048dd088da8850a05dae5850a4e1f6124
[ "MIT" ]
2
2021-03-10T18:12:02.000Z
2021-05-11T14:11:28.000Z
config/prod.secret.exs
mikebobadilla/elixir-chat
e0955f9048dd088da8850a05dae5850a4e1f6124
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
30.119048
66
0.72332
7919b03d7b562e53d87601bf84dc11ce6c544995
1,668
ex
Elixir
clients/domains/lib/google_api/domains/v1alpha2/model/search_domains_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/domains/lib/google_api/domains/v1alpha2/model/search_domains_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/domains/lib/google_api/domains/v1alpha2/model/search_domains_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...
34.75
153
0.752998
7919b97694c6cfcb3cd66c4efa81fe1547a0cbd6
706
ex
Elixir
lib/my_app_web/gettext.ex
ViniciusLinharesAO/phx_api
22168407c0c037b4ae709306aa254cb7e1a16c6d
[ "MIT" ]
31
2019-10-29T11:08:32.000Z
2020-01-28T16:16:04.000Z
lib/my_app_web/gettext.ex
ViniciusLinharesAO/phx_api
22168407c0c037b4ae709306aa254cb7e1a16c6d
[ "MIT" ]
2
2020-04-11T21:56:21.000Z
2020-04-15T12:22:05.000Z
lib/my_app_web/gettext.ex
brandedux/phoenix_api
3613d3d2a232a0d39cd125bd09cceee876fbf475
[ "MIT" ]
1
2019-10-29T14:38:44.000Z
2019-10-29T14:38:44.000Z
defmodule MyAppWeb.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 MyAppWeb.Gettext # Simple translation gettext("Here is the s...
28.24
72
0.675637
7919cdcc3c3aeb5f7f27d6a0e4f2e70bb0c5c082
3,221
ex
Elixir
lib/thrift/generator/behaviour.ex
rchallapalli/elixir-thrift
729e3f616947a6c75762252bb2726221eea2e31b
[ "Apache-2.0" ]
null
null
null
lib/thrift/generator/behaviour.ex
rchallapalli/elixir-thrift
729e3f616947a6c75762252bb2726221eea2e31b
[ "Apache-2.0" ]
null
null
null
lib/thrift/generator/behaviour.ex
rchallapalli/elixir-thrift
729e3f616947a6c75762252bb2726221eea2e31b
[ "Apache-2.0" ]
null
null
null
defmodule Thrift.Generator.Behaviour do @moduledoc """ A generator for a handler module's behaviour. Takes a thrift service definition and creates a behavoiur module for users to implement. Thrift types are converted into Elixir typespecs that are equivalent to their thrift counterparts. """ alias Thrift...
27.067227
88
0.678671
7919d6e3f662336311f9453d746a424f69f2f710
24,378
exs
Elixir
apps/astarte_realm_management/test/astarte_realm_management/engine_test.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
null
null
null
apps/astarte_realm_management/test/astarte_realm_management/engine_test.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
7
2018-03-23T10:53:06.000Z
2019-11-28T14:52:29.000Z
apps/astarte_realm_management/test/astarte_realm_management/engine_test.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
2
2018-03-23T10:29:19.000Z
2019-11-19T15:10:24.000Z
# # This file is part of Astarte. # # Copyright 2017,2018 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
31.253846
99
0.633973
791a1582c6243a2d32103113ac6dc5795b569d7c
194
ex
Elixir
lib/remote_retro_web/plugs/set_current_user.ex
notactuallypagemcconnell/remote_retro
972e24ee3d7132a1646473ebb3b6b2fda4d6bf2e
[ "MIT" ]
null
null
null
lib/remote_retro_web/plugs/set_current_user.ex
notactuallypagemcconnell/remote_retro
972e24ee3d7132a1646473ebb3b6b2fda4d6bf2e
[ "MIT" ]
null
null
null
lib/remote_retro_web/plugs/set_current_user.ex
notactuallypagemcconnell/remote_retro
972e24ee3d7132a1646473ebb3b6b2fda4d6bf2e
[ "MIT" ]
null
null
null
defmodule SetCurrentUser do import Plug.Conn def init(options) do options end def call(conn, _) do conn |> assign(:current_user, get_session(conn, :current_user)) end end
16.166667
62
0.690722
791a1bce424749808675926868b88306684fdc4f
1,153
ex
Elixir
apps/core/test/support/channel_case.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/core/test/support/channel_case.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/core/test/support/channel_case.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
defmodule Legendary.CoreWeb.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 data structures and query the data layer. Finally, if the test case inte...
28.121951
76
0.732003
791a21ec7e93e16f441ff65146a34043ac483360
3,369
ex
Elixir
lib/surface/components/context.ex
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
lib/surface/components/context.ex
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
lib/surface/components/context.ex
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
defmodule Surface.Components.Context do @moduledoc """ A built-in component that allows users to set and retrieve values from the context. """ use Surface.Component @doc """ Puts a value into the context. ## Usage ``` <Context put={{ scope, values }}> ... </Context> ``` Where: * `s...
21.876623
85
0.584743
791a2d5dbdf42947202f8b27a4353667df59547b
1,127
ex
Elixir
lib/exonerate/filter/max_contains.ex
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
14
2021-01-14T20:14:30.000Z
2022-01-28T00:58:07.000Z
lib/exonerate/filter/max_contains.ex
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
13
2019-09-11T17:48:48.000Z
2021-11-22T23:02:44.000Z
lib/exonerate/filter/max_contains.ex
ityonemo/Exonerate
42b888c156c9179d222b78609d34c07f0b887eaf
[ "MIT" ]
1
2021-09-12T13:08:54.000Z
2021-09-12T13:08:54.000Z
defmodule Exonerate.Filter.MaxContains do @moduledoc false @behaviour Exonerate.Filter @derive Exonerate.Compiler @derive {Inspect, except: [:context]} alias Exonerate.Validator import Validator, only: [fun: 2] defstruct [:context, :maximum] def parse(artifact = %{context: context}, %{"contains" =>...
33.147059
122
0.673469
791a5bebd4c9bf243bc8e4fc3fe8a4f4b9025f12
15,602
ex
Elixir
lib/wax/metadata.ex
4eek/wax
eee7c5460267dce2cd8fe76df2e05f46e90e50b6
[ "Apache-2.0" ]
null
null
null
lib/wax/metadata.ex
4eek/wax
eee7c5460267dce2cd8fe76df2e05f46e90e50b6
[ "Apache-2.0" ]
null
null
null
lib/wax/metadata.ex
4eek/wax
eee7c5460267dce2cd8fe76df2e05f46e90e50b6
[ "Apache-2.0" ]
null
null
null
defmodule Wax.Metadata do require Logger use GenServer @moduledoc false @fido_alliance_root_cer_der \ """ -----BEGIN CERTIFICATE----- MIICQzCCAcigAwIBAgIORqmxkzowRM99NQZJurcwCgYIKoZIzj0EAwMwUzELMAkG A1UEBhMCVVMxFjAUBgNVBAoTDUZJRE8gQWxsaWFuY2UxHTAbBgNVBAsTFE1ldGFk YXRhIFRPQyBTaWduaW5nMQ0wCw...
32.43659
98
0.660236
791a7880a433e9e91c73cc96ca0d2c98e09b6fda
681
ex
Elixir
apps/fz_common/lib/fz_integer.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
apps/fz_common/lib/fz_integer.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
1
2020-04-24T01:53:41.000Z
2020-04-24T01:53:41.000Z
apps/fz_common/lib/fz_integer.ex
CloudFire-LLC/cloudfire-ce
416ea0d9c9528790fdf70c432aa4eb507d7b2074
[ "Apache-2.0" ]
null
null
null
defmodule FzCommon.FzInteger do @moduledoc """ Utility functions for working with Integers. """ # Postgres max int size is 4 bytes @max_integer 2_147_483_647 @byte_size_opts [ precision: 2, delimiter: "" ] def clamp(num, min, _max) when is_integer(num) and num < min, do: min def clamp(num, ...
23.482759
71
0.697504
791a96608a5c765ddb93141ef66c548f072c15eb
906
exs
Elixir
lib/logger/mix.exs
mszczygiel/elixir
7dd86ec1f782debcb00d9f078478c3a9509a6375
[ "Apache-2.0" ]
null
null
null
lib/logger/mix.exs
mszczygiel/elixir
7dd86ec1f782debcb00d9f078478c3a9509a6375
[ "Apache-2.0" ]
null
null
null
lib/logger/mix.exs
mszczygiel/elixir
7dd86ec1f782debcb00d9f078478c3a9509a6375
[ "Apache-2.0" ]
null
null
null
defmodule Logger.MixProject do use Mix.Project def project do [ app: :logger, version: System.version(), build_per_environment: false ] end def application do [ registered: [Logger, Logger.BackendSupervisor, Logger.Supervisor, Logger.Watcher], mod: {Logger.App, []}, ...
24.486486
88
0.611479
791aab02b324fd724d810b02392f9fd21a451250
1,096
ex
Elixir
apps/authenticator/lib/crypto/commands/verify_hash.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/authenticator/lib/crypto/commands/verify_hash.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/authenticator/lib/crypto/commands/verify_hash.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule Authenticator.Crypto.Commands.VerifyHash do @moduledoc """ Verify if a given hash matches the given value. """ @typedoc "All possible hash algorithms" @type algorithms :: :argon2 | :bcrypt | :pbkdf2 @doc "Verifies if a credential matches the given secret" @spec execute(credential :: map(), val...
37.793103
96
0.695255
791afb2a74f40766def92b45c7d82efd76781f43
2,003
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/dynamic_segment.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/dynamic_segment.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/dynamic_segment.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...
37.792453
122
0.763854
791b0ba396d15fad28b53af0655e5e21142ce3b1
2,294
ex
Elixir
lib/mechanize/form/submit_button.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
25
2020-06-26T02:21:35.000Z
2022-03-05T18:51:46.000Z
lib/mechanize/form/submit_button.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
29
2019-07-02T21:50:06.000Z
2020-05-28T18:34:01.000Z
lib/mechanize/form/submit_button.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
4
2020-06-24T02:11:47.000Z
2022-03-06T00:50:59.000Z
defmodule Mechanize.Form.SubmitButton do @moduledoc false alias Mechanize.Page.{Element, Elementable} alias Mechanize.{Form, Query} alias Mechanize.Form.ParameterizableField alias Mechanize.Query.BadQueryError @derive [ParameterizableField, Elementable] defstruct [:element, :name, :value, :visible_text]...
26.068182
117
0.644725
791b17d16f023cbeb63e69ba664bf1d1db3b47ab
330
exs
Elixir
priv/repo/migrations/20180728205319_create_principals_to_roles.exs
trutvo/gatehouse
027d4dd35703d84e15b9b2297347350b9a8f5a6b
[ "Apache-2.0" ]
1
2019-07-21T03:48:31.000Z
2019-07-21T03:48:31.000Z
priv/repo/migrations/20180728205319_create_principals_to_roles.exs
trutvo/gatehouse
027d4dd35703d84e15b9b2297347350b9a8f5a6b
[ "Apache-2.0" ]
1
2021-03-07T17:54:41.000Z
2021-03-07T17:54:41.000Z
priv/repo/migrations/20180728205319_create_principals_to_roles.exs
trutvo/gatehouse
027d4dd35703d84e15b9b2297347350b9a8f5a6b
[ "Apache-2.0" ]
2
2019-06-14T06:25:25.000Z
2019-07-21T03:48:33.000Z
defmodule Gatehouse.Repo.Migrations.CreatePrincipalsToRoles do use Ecto.Migration def change do create table(:principals_to_roles) do add :principal_id, references(:principals) add :role_id, references(:roles) end create unique_index(:principals_to_roles, [:principal_id, :role_id]) ...
27.5
74
0.730303
791b19dcbbc9f54e00eaba937baa0e67d3ebdf32
2,197
ex
Elixir
clients/language/lib/google_api/language/v1/model/token.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/token.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/language/lib/google_api/language/v1/model/token.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.232143
137
0.719162
791b42848240b6f0c4be9f80668323e495241284
243
exs
Elixir
priv/repo/migrations/2016032505124138_alter_docks.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
priv/repo/migrations/2016032505124138_alter_docks.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
priv/repo/migrations/2016032505124138_alter_docks.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.Repo.Migrations.AlterDocks do use Ecto.Migration def change do alter table(:docks) do add :account_id, references(:accounts, on_delete: :nothing) end create index(:docks, [:account_id]) end end
18.692308
65
0.683128
791b5c100db41a18de684dab0ad7c09efe053a8d
1,972
exs
Elixir
config/prod.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
config/prod.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
2
2021-03-10T04:15:17.000Z
2021-05-10T23:54:35.000Z
config/prod.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "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.214286
66
0.711968
791b6ad33748c8fa78831d5276075476dea4332b
6,586
ex
Elixir
lib/excg.ex
laozhp/excg
be946bc19011bf17f35d4fa01ed69ad1a0b9dcaa
[ "MIT" ]
1
2016-08-17T09:34:07.000Z
2016-08-17T09:34:07.000Z
lib/excg.ex
laozhp/excg
be946bc19011bf17f35d4fa01ed69ad1a0b9dcaa
[ "MIT" ]
3
2015-09-17T02:47:35.000Z
2015-09-18T02:51:49.000Z
lib/excg.ex
laozhp/excg
be946bc19011bf17f35d4fa01ed69ad1a0b9dcaa
[ "MIT" ]
null
null
null
defmodule Excg do defmacro __using__(_) do quote do import Excg @excg_cur nil for attr <- [:excg_flds, :excg_types, :excg_cfgs, :excg_msgs] do Module.register_attribute(__MODULE__, attr, accumulate: true) end @before_compile unquote(__MODULE__) end end defmacro __be...
33.431472
79
0.611297
791bc35d2be4519f5946164cd80bb507ab2f4bc6
61
ex
Elixir
phoenix0/web/views/page_view.ex
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
phoenix0/web/views/page_view.ex
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
phoenix0/web/views/page_view.ex
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
defmodule Phoenix0.PageView do use Phoenix0.Web, :view end
15.25
30
0.786885
791bfc870e713f5190c92cb8f85df6e3520bc95a
1,985
ex
Elixir
lib/phoenix/live_dashboard/pages/ports_page.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
1
2020-11-04T16:18:16.000Z
2020-11-04T16:18:16.000Z
lib/phoenix/live_dashboard/pages/ports_page.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/pages/ports_page.ex
RomanKotov/phoenix_live_dashboard
439283fa625f5af876e01eb5edcb20aec7f3b2da
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.PortsPage do @moduledoc false use Phoenix.LiveDashboard.PageBuilder alias Phoenix.LiveDashboard.SystemInfo @table_id :table @menu_text "Ports" @impl true def render_page(_assigns) do table( columns: columns(), id: @table_id, row_attrs: &row_attrs/1,...
23.352941
82
0.547103
791c4461dcab2545df15e4415404ec1cdd72e09e
1,647
ex
Elixir
web/web.ex
rdiego26/elixir-web-hello-world
c584699a7266414d5a6229f977dcb21282061e3a
[ "MIT" ]
null
null
null
web/web.ex
rdiego26/elixir-web-hello-world
c584699a7266414d5a6229f977dcb21282061e3a
[ "MIT" ]
null
null
null
web/web.ex
rdiego26/elixir-web-hello-world
c584699a7266414d5a6229f977dcb21282061e3a
[ "MIT" ]
null
null
null
defmodule HelloWorld.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use HelloWorld.Web, :controller use HelloWorld.Web, :view The definitions below will be executed for every view, controller, etc, so keep...
20.085366
88
0.672738
791c4e20590043ee5f87e373a5080df576e6e273
1,165
exs
Elixir
src/047/problem047.exs
fredericojordan/project-euler
75c3f519d5a6ad610362b6904f8fa4d1cde05448
[ "MIT" ]
9
2018-05-06T04:43:08.000Z
2020-12-01T20:51:34.000Z
src/047/problem047.exs
fredericojordan/project-euler
75c3f519d5a6ad610362b6904f8fa4d1cde05448
[ "MIT" ]
null
null
null
src/047/problem047.exs
fredericojordan/project-euler
75c3f519d5a6ad610362b6904f8fa4d1cde05448
[ "MIT" ]
null
null
null
#!/usr/bin/env elixir defmodule Problem047 do @moduledoc """ The first two consecutive numbers to have two distinct prime factors are: 14 = 2 x 7 15 = 3 x 5 The first three consecutive numbers to have three distinct prime factors are: 644 = 2² x 7 x 23 645 = 3 x 5 x 43 646 = 2 x 17 x 19. Find the ...
27.738095
120
0.648069
791c65da0c491134b6c0ef367772e59d6fba8480
358
ex
Elixir
fixtures/elixir_output/get_user_agent.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
4,955
2015-01-02T09:04:20.000Z
2021-10-06T03:54:43.000Z
fixtures/elixir_output/get_user_agent.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
242
2015-03-27T05:59:11.000Z
2021-10-03T08:36:05.000Z
fixtures/elixir_output/get_user_agent.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
504
2015-01-02T16:04:36.000Z
2021-10-01T03:43:55.000Z
request = %HTTPoison.Request{ method: :get, url: "http://205.147.98.6/vc/moviesmagic", options: [], headers: [ {~s|x-msisdn|, ~s|XXXXXXXXXXXXX|}, {~s|User-Agent|, ~s|Mozilla Android6.1|}, ], params: [ {~s|p|, ~s|5|}, {~s|pub|, ~s|testmovie|}, {~s|tkn|, ~s|817263812|}, ], body: "" } ...
19.888889
45
0.550279
791c93889a487b0d487e9597ffbd3cd61cb87507
1,742
ex
Elixir
clients/content/lib/google_api/content/v2/model/datafeed_status_example.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeed_status_example.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeed_status_example.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...
32.259259
104
0.726751
791cb1b50442d4a7e6dd922645e05f3eeb7c2af6
510
ex
Elixir
lib/meeseeks/accumulator/one.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
291
2017-03-27T15:53:36.000Z
2022-03-14T23:01:42.000Z
lib/meeseeks/accumulator/one.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
70
2017-03-30T23:32:34.000Z
2021-06-27T06:26:28.000Z
lib/meeseeks/accumulator/one.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
23
2017-06-18T10:29:04.000Z
2021-11-04T13:08:12.000Z
defmodule Meeseeks.Accumulator.One do use Meeseeks.Accumulator @moduledoc false alias Meeseeks.{Accumulator, Result} defstruct value: nil @impl true def add(%Accumulator.One{value: nil} = acc, document, id) do result = %Result{document: document, id: id} %{acc | value: result} end @impl true...
23.181818
62
0.698039
791cc0664e8137ac1ca096d7541842c92cb6ffd0
9,764
ex
Elixir
lib/operators/operators.ex
carmaproject/towel
471953af77efa675beaa5055e24e7ae645d565c8
[ "MIT" ]
null
null
null
lib/operators/operators.ex
carmaproject/towel
471953af77efa675beaa5055e24e7ae645d565c8
[ "MIT" ]
null
null
null
lib/operators/operators.ex
carmaproject/towel
471953af77efa675beaa5055e24e7ae645d565c8
[ "MIT" ]
null
null
null
defmodule Result.Operators do @moduledoc """ A result operators. """ alias Result.Utils @doc """ Chain together a sequence of computations that may fail. ## Examples iex> val = {:ok, 1} iex> Result.Operators.and_then(val, fn (x) -> {:ok, x + 1} end) {:ok, 2} iex> val = {:error...
25.100257
96
0.55254
791cce90a1f0f88099895bf7d18ea045c58dceb6
365
ex
Elixir
lib/course_planner_web/views/course_matrix_view.ex
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
38
2017-04-11T13:37:38.000Z
2021-05-22T19:35:36.000Z
lib/course_planner_web/views/course_matrix_view.ex
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
226
2017-04-07T13:14:14.000Z
2018-03-08T16:50:11.000Z
lib/course_planner_web/views/course_matrix_view.ex
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
7
2017-08-30T23:58:13.000Z
2021-03-28T11:50:45.000Z
defmodule CoursePlannerWeb.CourseMatrixView do @moduledoc false use CoursePlannerWeb, :view def course_name(offered_courses, id) do offered_courses[id].course.name end def total_students(offered_courses, id) do length(offered_courses[id].students) end def format_student_names(student_names) do ...
21.470588
46
0.764384
791cde850540f0b5723ece032086003079db57ae
4,256
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1/model/binding.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_catalog/lib/google_api/data_catalog/v1/model/binding.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_catalog/lib/google_api/data_catalog/v1/model/binding.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
80.301887
1,972
0.75188
791ce4a8134d4add91195b445140ed79771c08fc
862
exs
Elixir
mix.exs
pk4media/elixir_device
54aa60ebc294fb9523ac836cc86705410afda6b5
[ "MIT" ]
1
2017-02-21T06:17:15.000Z
2017-02-21T06:17:15.000Z
mix.exs
pk4media/elixir_device
54aa60ebc294fb9523ac836cc86705410afda6b5
[ "MIT" ]
null
null
null
mix.exs
pk4media/elixir_device
54aa60ebc294fb9523ac836cc86705410afda6b5
[ "MIT" ]
null
null
null
defmodule Device.Mixfile do use Mix.Project def project do [app: :device, version: "1.0.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps()] end def application do [ap...
22.102564
78
0.577726