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
7991f6aae19c8e372e1afae217fdf0decfd7b431
71
ex
Elixir
chatourius/lib/chatourius/repo.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
chatourius/lib/chatourius/repo.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
chatourius/lib/chatourius/repo.ex
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule Chatourius.Repo do use Ecto.Repo, otp_app: :chatourius end
17.75
37
0.788732
79920546f6f5734622df1973a2deccfac457fdbd
1,514
ex
Elixir
bank_api/lib/bank_api_web/endpoint.ex
HectorIFC/bank_api
5c1b59d6c8c27bca4cf6c45f5d309152de089436
[ "MIT" ]
1
2020-07-07T14:23:14.000Z
2020-07-07T14:23:14.000Z
bank_api/lib/bank_api_web/endpoint.ex
HectorIFC/bank_api
5c1b59d6c8c27bca4cf6c45f5d309152de089436
[ "MIT" ]
null
null
null
bank_api/lib/bank_api_web/endpoint.ex
HectorIFC/bank_api
5c1b59d6c8c27bca4cf6c45f5d309152de089436
[ "MIT" ]
null
null
null
defmodule BankApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :bank_api # 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: "_bank_api...
28.566038
97
0.715324
799227ad30ce4f0ddc687ea09fb35ab12b895717
1,913
ex
Elixir
apps/dockup_ui/lib/dockup_ui/endpoint.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup_ui/lib/dockup_ui/endpoint.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
apps/dockup_ui/lib/dockup_ui/endpoint.ex
rudydydy/dockup
0d05d1ef65cc5523800bd852178361521cd3e7d8
[ "MIT" ]
null
null
null
defmodule DockupUi.Endpoint do use Phoenix.Endpoint, otp_app: :dockup_ui socket "/socket", DockupUi.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Stati...
26.569444
69
0.703084
799234c0b76898fb90e0205b592a6be1c748ed15
3,988
exs
Elixir
mix.exs
podlove/radiator
3f92973700a218d95a7eed178f96f7c1d74e39a6
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
mix.exs
podlove/radiator
3f92973700a218d95a7eed178f96f7c1d74e39a6
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
mix.exs
podlove/radiator
3f92973700a218d95a7eed178f96f7c1d74e39a6
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule Radiator.MixProject do use Mix.Project @version "0.3.0" def project do [ app: :radiator, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, ...
28.485714
103
0.537362
79923f0475a07fdbbf990b1d5c1123ca903c7aa1
22,342
exs
Elixir
lib/ex_unit/test/ex_unit/assertions_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/ex_unit/test/ex_unit/assertions_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-25T12:52:49.000Z
2019-04-25T13:27:31.000Z
lib/ex_unit/test/ex_unit/assertions_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.AssertionsTest.Value do def tuple, do: {2, 1} def falsy, do: nil def truthy, do: :truthy end defmodule ExUnit.AssertionsTest.BrokenError do defexception [:message] @impl true def message(_) do raise "error" end end alias ExUnit.Asse...
26.821128
123
0.618566
799259bf07a2879687ae3c110ef2984b03efe0c1
6,560
ex
Elixir
lib/policr_mini_bot/plugs/handle_user_joined_cleanup_plug.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
null
null
null
lib/policr_mini_bot/plugs/handle_user_joined_cleanup_plug.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
null
null
null
lib/policr_mini_bot/plugs/handle_user_joined_cleanup_plug.ex
WOCyo/policr-mini
23e5e9f927d083cba5993f39e9f122e3a0ad1be2
[ "MIT" ]
null
null
null
defmodule PolicrMiniBot.HandleUserJoinedCleanupPlug do @moduledoc """ 处理新用户加入。 """ # TODO: 修改模块含义并迁移代码。因为设计改动,此 `:message_handler` 已无实际验证处理流程,仅作删除消息之用。 use PolicrMiniBot, plug: :message_handler alias PolicrMini.{Logger, Chats} alias PolicrMini.Chats.Scheme alias PolicrMini.Schema.Verification alias...
28.898678
99
0.650915
79925a30813c8e73b1efec42e285edc6d9118ded
313
ex
Elixir
lib/elixir_playground/models/snippet.ex
slogsdon/elixir_playground
cabab7a377a814a8741a08fe7b1948b559343050
[ "MIT" ]
3
2015-01-28T06:08:59.000Z
2015-11-05T02:40:18.000Z
lib/elixir_playground/models/snippet.ex
slogsdon/elixir_playground
cabab7a377a814a8741a08fe7b1948b559343050
[ "MIT" ]
null
null
null
lib/elixir_playground/models/snippet.ex
slogsdon/elixir_playground
cabab7a377a814a8741a08fe7b1948b559343050
[ "MIT" ]
null
null
null
defmodule ElixirPlayground.Models.Snippet do use Ecto.Model # Take a look at https://github.com/elixir-lang/ecto#models # for information about defining fields for your model. queryable "snippet" do field :key, :string field :snippet, :string field :created_at, :datetime end end
26.083333
61
0.70607
7992bf262c134c9c9d2104def0402175bd5d5773
291
ex
Elixir
elixir/elixir-sips/samples/ecto_test/lib/ecto_test.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/ecto_test/lib/ecto_test.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/ecto_test/lib/ecto_test.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule EctoTest do require Logger use Application def start(_type, _args) do import Supervisor.Spec children = [ supervisor(EctoTest.Supervisor, []) ] Logger.debug "Application started." Supervisor.start_link children, strategy: :one_for_one end end
17.117647
58
0.701031
7992c60645e6853e64d09146a03b9b71548bcac1
852
ex
Elixir
lib/grouper/supervisor.ex
jvantuyl/grouper
f5b748347e0abaaacfa26c1f46e3e21292327c4e
[ "MIT" ]
null
null
null
lib/grouper/supervisor.ex
jvantuyl/grouper
f5b748347e0abaaacfa26c1f46e3e21292327c4e
[ "MIT" ]
null
null
null
lib/grouper/supervisor.ex
jvantuyl/grouper
f5b748347e0abaaacfa26c1f46e3e21292327c4e
[ "MIT" ]
null
null
null
defmodule Grouper.Supervisor do @moduledoc """ supervisor process for `Grouper` application """ use Supervisor # === API === @doc """ Starts application-level supervisor for Grouper. Maintains global information that drives groups. """ @spec start_link(keyword(), keyword()) :: Supervisor.on_start...
25.058824
95
0.678404
7992cb6b5a31bc5f26a22ebd9ff2dc75cb3cf227
5,554
ex
Elixir
lib/scenic/component/button.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/button.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/button.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.Component.Button do @moduledoc false use Scenic.Component, has_children: false alias Scenic.Graph alias Scenic.Primitive alias Scenic.ViewPort alias Scenic.Primitive.Style.Theme import Scenic.Primitives, only: [{:rrect, 3}, {:text, 3}, {:update_opts, 2}] # import IEx @default_widt...
26.075117
87
0.561577
7992f6263aff900d536f50370e70a17d153b33f0
329
ex
Elixir
web/json_api.ex
mmcc/exq_ui
e4d98b341888faee834d1e4d033a1f3916bfb1e1
[ "Apache-2.0" ]
1
2021-01-20T04:13:01.000Z
2021-01-20T04:13:01.000Z
web/json_api.ex
mmcc/exq_ui
e4d98b341888faee834d1e4d033a1f3916bfb1e1
[ "Apache-2.0" ]
null
null
null
web/json_api.ex
mmcc/exq_ui
e4d98b341888faee834d1e4d033a1f3916bfb1e1
[ "Apache-2.0" ]
3
2021-04-07T14:53:29.000Z
2021-04-07T14:53:49.000Z
defmodule JsonApi do def init(opts), do: opts def call(conn, opts) do jsonify(conn, opts, opts[:on] || "api") end def jsonify(%Plug.Conn{path_info: [on | _path]} = conn, _opts, on) do conn |> Plug.Conn.put_resp_header("content-type", "application/json") end def jsonify(conn, _opts, _on), do: c...
21.933333
71
0.647416
799333424fcfcaed5778e2d3e92af9f3e7b0fad0
1,274
exs
Elixir
test/auto_api/capabilities/messaging_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
test/auto_api/capabilities/messaging_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
5
2020-07-16T07:20:21.000Z
2021-09-22T10:18:04.000Z
test/auto_api/capabilities/messaging_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "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...
47.185185
79
0.781005
799333d34d59d5e17145d9d222ff731e7b1a4a9e
13,517
ex
Elixir
lib/ash/resource/dsl.ex
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
lib/ash/resource/dsl.ex
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
lib/ash/resource/dsl.ex
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Dsl do @moduledoc """ The built in resource DSL. The core DSL components of a resource are: * attributes - `attributes/1` * relationships - `relationships/1` * actions - `actions/1` * validations - `validations/1` * aggregates - `aggregates/1` * calculations - `calculations/1` ...
28.278243
121
0.648147
79936ed1f8e6ef52506079ef25ae7cfcf3000c2c
480
ex
Elixir
lib/hayago_web/router.ex
jeffkreeftmeijer/hayago
f80e3204efc70fb4c144a75952534ef143ab584d
[ "Apache-2.0" ]
60
2019-06-14T02:38:33.000Z
2022-02-27T22:08:36.000Z
lib/hayago_web/router.ex
jeffkreeftmeijer/hayago
f80e3204efc70fb4c144a75952534ef143ab584d
[ "Apache-2.0" ]
2
2020-01-05T09:09:58.000Z
2020-12-31T09:54:13.000Z
lib/hayago_web/router.ex
jeffkreeftmeijer/hayago
f80e3204efc70fb4c144a75952534ef143ab584d
[ "Apache-2.0" ]
15
2019-06-14T02:38:39.000Z
2021-10-30T21:53:08.000Z
defmodule HayagoWeb.Router do use HayagoWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug Phoenix.LiveView.Flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scop...
18.461538
39
0.68125
799372b2a465e59817e015a13ea52de01120243d
13,214
ex
Elixir
test/support/factory.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
test/support/factory.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
test/support/factory.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Support.Factory do @moduledoc """ This module defines the mock data/func to be used by tests that require insert some mock data to db. for example you can db_insert(:user) to insert user into db """ import Helper.Utils, only: [done: 1] alias MastaniServer.Repo alias MastaniServ...
31.840964
96
0.626684
79937353dd5c52437ea4a9c86c82c4d6bb223436
68
exs
Elixir
test/test_helper.exs
Miradorn/absinthe_tutorial
fbe63be1d4acc92c7a85d4a04fd259ac6b5ef072
[ "MIT" ]
69
2017-11-15T17:26:57.000Z
2022-01-25T16:37:40.000Z
test/test_helper.exs
Miradorn/absinthe_tutorial
fbe63be1d4acc92c7a85d4a04fd259ac6b5ef072
[ "MIT" ]
24
2020-01-27T20:44:40.000Z
2020-10-29T05:48:31.000Z
test/test_helper.exs
Miradorn/absinthe_tutorial
fbe63be1d4acc92c7a85d4a04fd259ac6b5ef072
[ "MIT" ]
35
2017-11-12T22:04:10.000Z
2021-07-22T18:00:39.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Blog.Repo, :manual)
13.6
50
0.75
7993b34ab0786f963ab13871713d197b7a87272c
2,484
exs
Elixir
mix.exs
dirkjanm/teslamate
18beefbe694c74c1088ff6f87ef7b4c4190b451e
[ "MIT" ]
null
null
null
mix.exs
dirkjanm/teslamate
18beefbe694c74c1088ff6f87ef7b4c4190b451e
[ "MIT" ]
null
null
null
mix.exs
dirkjanm/teslamate
18beefbe694c74c1088ff6f87ef7b4c4190b451e
[ "MIT" ]
null
null
null
defmodule TeslaMate.MixProject do use Mix.Project def project do [ app: :teslamate, version: "1.14.1", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases()...
25.875
94
0.513285
7993e6e80e82868a54383abfd5d25eca1446e316
2,595
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_update_line_item_shipping_details_request.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/orders_update_line_item_shipping_details_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_update_line_item_shipping_details_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "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 ...
41.190476
191
0.719075
7993f229e06af9313cfcc3d2f1a996c82ff1929b
572
ex
Elixir
lib/tourney/tourney_game_supervisor.ex
zeroasterisk/wordza
e0cdf317855ce2959865e6551f32e85a7c6fc2e1
[ "MIT" ]
null
null
null
lib/tourney/tourney_game_supervisor.ex
zeroasterisk/wordza
e0cdf317855ce2959865e6551f32e85a7c6fc2e1
[ "MIT" ]
null
null
null
lib/tourney/tourney_game_supervisor.ex
zeroasterisk/wordza
e0cdf317855ce2959865e6551f32e85a7c6fc2e1
[ "MIT" ]
null
null
null
defmodule Wordza.TourneyGameSupervisor do @moduledoc """ This is the supervisor for the tourney processes """ use Supervisor def start_link() do Supervisor.start_link(__MODULE__, [], name: __MODULE__) end def init(_) do children = [ worker(Wordza.TourneyGameWorker, [], restart: :temporary)...
22.88
67
0.695804
79941f9f0a7c3eb34f65469e621430b008c6feaa
1,858
ex
Elixir
lib/nerves_hub_cli/certificate.ex
pojiro/nerves_hub_cli
7b0f92b253078302b6c66f7371a716d1e366d6d0
[ "Apache-2.0" ]
28
2018-08-15T02:17:26.000Z
2021-11-25T11:14:24.000Z
lib/nerves_hub_cli/certificate.ex
pojiro/nerves_hub_cli
7b0f92b253078302b6c66f7371a716d1e366d6d0
[ "Apache-2.0" ]
81
2018-08-13T17:14:14.000Z
2021-09-11T13:08:29.000Z
lib/nerves_hub_cli/certificate.ex
pojiro/nerves_hub_cli
7b0f92b253078302b6c66f7371a716d1e366d6d0
[ "Apache-2.0" ]
13
2018-09-14T12:47:26.000Z
2022-02-03T07:28:41.000Z
defmodule NervesHubCLI.Certificate do import X509.Certificate.Extension alias X509.Certificate.{Template, Validity} @user_validity_years 1 @device_validity_years 31 @serial_number_bytes 20 @hash :sha256 def device_template(validity_years \\ @device_validity_years) do validity_years = validity_years...
25.452055
68
0.660926
79942d029e4ba7f27ca0f0db3b4dd08756c1388f
379
exs
Elixir
example/test/test/example_3_test.exs
luochen52/mapd-charting
88e3f049dc10921c5eff63a3b1b539af2a2a71d0
[ "Apache-2.0" ]
123
2018-10-08T01:05:11.000Z
2022-02-20T12:06:24.000Z
example/test/test/example_3_test.exs
luochen52/mapd-charting
88e3f049dc10921c5eff63a3b1b539af2a2a71d0
[ "Apache-2.0" ]
63
2018-10-04T18:47:00.000Z
2022-02-11T18:35:15.000Z
example/test/test/example_3_test.exs
luochen52/mapd-charting
88e3f049dc10921c5eff63a3b1b539af2a2a71d0
[ "Apache-2.0" ]
28
2018-11-02T07:19:56.000Z
2022-02-27T14:26:28.000Z
defmodule ExampleThree do use ExUnit.Case, async: true use Hound.Helpers use Whippet @url Application.get_env(:test, :url) setup do Hound.start_session navigate_to("#{@url}/example3.html") :ok end test "Example 3" do assert Chart.Raster.is_valid("#polymap", %{legend: false, use_map: tru...
19.947368
77
0.686016
79943063dcd249edb84d00b97aba0161a045c535
583
ex
Elixir
api/lib/designhubapi_web/controllers/fallback_controller.ex
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
api/lib/designhubapi_web/controllers/fallback_controller.ex
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
api/lib/designhubapi_web/controllers/fallback_controller.ex
rchatrath7/designhubapi
c38dafd3ba3a2b86ec3a12e71cbf95a5d366134d
[ "MIT" ]
null
null
null
defmodule DesignhubapiWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use DesignhubapiWeb, :controller def call(conn, {:error, %Ecto.Changeset{} = changeset}) do conn |>...
27.761905
80
0.715266
799437742627279559b335b6c7ef8ca585482740
3,436
ex
Elixir
lib/lexthink/server.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
1
2015-12-07T13:07:39.000Z
2015-12-07T13:07:39.000Z
lib/lexthink/server.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
null
null
null
lib/lexthink/server.ex
taybin/lexthink
0afd178dbf372bedd0933b1d2a0f2a84615b96f9
[ "Apache-2.0" ]
null
null
null
# Based off of bank_server by: # Copyright (c) 2012, Loïc Hoguin <essen@ninenines.eu> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE...
29.62069
84
0.655704
7994560a0cedb8663ae7233539af00843e5ef435
22,393
ex
Elixir
lib/elixir/lib/kernel/parallel_compiler.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2020-01-14T18:44:56.000Z
2020-01-14T18:44:56.000Z
lib/elixir/lib/kernel/parallel_compiler.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/parallel_compiler.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule Kernel.ParallelCompiler do @moduledoc """ A module responsible for compiling and requiring files in parallel. """ @doc """ Starts a task for parallel compilation. If you have a file that needs to compile other modules in parallel, the spawned processes need to be aware of the compiler environm...
34.031915
98
0.645559
7994d2e9a00426328d1e93f4aadc4f3817dbfc27
220
ex
Elixir
fixtures/elixir_output/get_basic_auth_no_user.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
4,955
2015-01-02T09:04:20.000Z
2021-10-06T03:54:43.000Z
fixtures/elixir_output/get_basic_auth_no_user.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
242
2015-03-27T05:59:11.000Z
2021-10-03T08:36:05.000Z
fixtures/elixir_output/get_basic_auth_no_user.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
504
2015-01-02T16:04:36.000Z
2021-10-01T03:43:55.000Z
request = %HTTPoison.Request{ method: :get, url: "https://api.test.com/", options: [hackney: [basic_auth: {"", ~s|some_password|}]], headers: [], params: [], body: "" } response = HTTPoison.request(request)
20
60
0.618182
7994db13ae19bc190802a95e9a71ea1e6fb4623f
401
exs
Elixir
priv/repo/migrations/20180522161113_gdpr_compliance.exs
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
1
2017-09-10T23:51:40.000Z
2017-09-10T23:51:40.000Z
priv/repo/migrations/20180522161113_gdpr_compliance.exs
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
24
2018-03-14T18:17:00.000Z
2021-03-01T07:47:53.000Z
priv/repo/migrations/20180522161113_gdpr_compliance.exs
portosummerofcode/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
null
null
null
defmodule Api.Repo.Migrations.GdprCompliance do use Ecto.Migration def change do alter table("users") do add :data_usage_consent, :boolean, default: false add :deleted_at, :naive_datetime remove :birthday remove :bio remove :twitter_handle remove :linkedin_url remove ...
21.105263
55
0.678304
7994ddfc5781058829fe05052c13ee1a9dbef5d6
5,426
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/audit_log.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/audit_log.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/audit_log.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...
64.595238
440
0.738481
7994f16497cc2c6ffe97c8002854840a6f44e829
7,295
ex
Elixir
lib/mix/lib/mix/tasks/deps.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/tasks/deps.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/tasks/deps.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.Tasks.Deps do use Mix.Task import Mix.Dep, only: [load_on_environment: 1, format_dep: 1, format_status: 1, check_lock: 1] @shortdoc "Lists dependencies and their status" @moduledoc ~S""" Lists all dependencies and their status. Dependencies must be specified in the `mix.exs` file in one of...
39.010695
105
0.690884
7994f3f270c47c6bb46c2f8dbf5aac87f898c878
7,967
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_document_page.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_document_page.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_document_page.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.070513
294
0.730137
7994f477f5d0c6c4a4ad88e8813a04008a4f6e1a
634
ex
Elixir
lib/carbon.ex
elixir-carbon/carbon
9537596c9a409e4573cb7cb75cfa0a2e31d9b153
[ "Apache-2.0" ]
13
2016-07-04T00:44:18.000Z
2016-07-11T22:02:11.000Z
lib/carbon.ex
elixir-carbon/carbon
9537596c9a409e4573cb7cb75cfa0a2e31d9b153
[ "Apache-2.0" ]
1
2016-07-12T23:09:45.000Z
2016-07-13T01:19:11.000Z
lib/carbon.ex
elixirdrops/carbon
9537596c9a409e4573cb7cb75cfa0a2e31d9b153
[ "Apache-2.0" ]
1
2016-12-10T07:27:04.000Z
2016-12-10T07:27:04.000Z
defmodule Carbon do def password_hash(password) do Comeonin.Bcrypt.hashpwsalt(password) end def password_verify(password, hash) do Comeonin.Bcrypt.checkpw(password, hash) end def password_verify(_) do Comeonin.Bcrypt.dummy_checkpw end def password_reset_token do # TODO: improve token ge...
19.8125
54
0.705047
7994f9ac3e2b3d0fdb9d41457eff512674ccdab3
535
ex
Elixir
lib/razorpay/error.ex
aarvay/razorpay-elixir
ef9c9360dc1fc433b3731a61aec97a1af90f694b
[ "ISC" ]
1
2018-09-26T11:17:02.000Z
2018-09-26T11:17:02.000Z
lib/razorpay/error.ex
aarvay/razorpay-elixir
ef9c9360dc1fc433b3731a61aec97a1af90f694b
[ "ISC" ]
null
null
null
lib/razorpay/error.ex
aarvay/razorpay-elixir
ef9c9360dc1fc433b3731a61aec97a1af90f694b
[ "ISC" ]
2
2019-10-07T05:53:16.000Z
2019-11-16T12:01:47.000Z
defmodule Razorpay.Error do @derive [Poison.Encoder] defexception [:code, :description, :field] @type t :: %__MODULE__{code: binary, description: binary, field: binary} @type type :: {:error, t} def message(%{code: code, description: desc, field: field}) do code = code |> String.downcase ...
24.318182
74
0.629907
7994fcb54a938579693ba77c12474a270f8ece73
492
ex
Elixir
apps/jobex_web/lib/jobex_web/live/component/counter_comp.ex
andyl/jobex
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
10
2019-10-24T01:23:07.000Z
2020-02-23T00:27:32.000Z
apps/jobex_web/lib/jobex_web/live/component/counter_comp.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
6
2021-03-09T18:41:09.000Z
2021-05-27T13:02:42.000Z
apps/jobex_web/lib/jobex_web/live/component/counter_comp.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
1
2019-10-24T01:23:08.000Z
2019-10-24T01:23:08.000Z
defmodule JobexWeb.Live.Component.CounterComp do use Phoenix.LiveComponent def render(assigns) do ~L""" <div> <h4>CounterComponent: <%= @count %></h4> <button phx-click="com_dec">-</button> <button phx-click="com_inc">+</button> </div> """ end def handle_event("com_inc", _, s...
21.391304
49
0.601626
799523f6fedd7a3fca70b477522958dd8a8bde51
185
exs
Elixir
priv/repo/migrations/20201003190130_change_description_to_text_events.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
priv/repo/migrations/20201003190130_change_description_to_text_events.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
priv/repo/migrations/20201003190130_change_description_to_text_events.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Repo.Migrations.ChangeDescriptionToTextEvents do use Ecto.Migration def change do alter table("events") do modify :description, :text end end end
18.5
66
0.735135
79956dab6ec728af2f551751f746ead9f47993e0
3,262
ex
Elixir
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_google_ads_link.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_google_ads_link.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_google_ads_link.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.684932
353
0.713979
7995a961cd09979d15ba81bcceaaca12b818204a
1,349
ex
Elixir
lib/galapagos_nao/selection.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
21
2018-03-19T02:52:38.000Z
2020-07-21T06:18:54.000Z
lib/galapagos_nao/selection.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
23
2018-02-21T23:34:41.000Z
2018-04-07T15:13:56.000Z
lib/galapagos_nao/selection.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
1
2020-04-28T16:38:03.000Z
2020-04-28T16:38:03.000Z
defmodule GN.Selection do use Agent def select(pid \\ __MODULE__, nets) do cutoffs = cutoffs(nets) for net <- nets do complexity = length(net.layers) level = Enum.min([Enum.find_index(cutoffs, &(&1 >= complexity)) + 1, complexity_levels()]) net_acc = net.test_acc elite_acc = Map.ge...
22.864407
96
0.618977
7995e675dbaa5f2ff0768471e948eb904734a07f
12,890
exs
Elixir
test/crit_web/controllers/setup/animal_controller/update_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
test/crit_web/controllers/setup/animal_controller/update_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
test/crit_web/controllers/setup/animal_controller/update_test.exs
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule CritWeb.Setup.AnimalController.UpdateTest do use CritWeb.ConnCase use PhoenixIntegration alias CritWeb.Setup.AnimalController, as: UnderTest use CritWeb.ConnMacros, controller: UnderTest alias CritBiz.ViewModels.Setup, as: VM import Crit.RepoState alias Crit.Exemplars, as: Ex use FlowAssertion...
36.309859
88
0.646315
79960d40b50bc6a3ae7ffcebc1004e44930dbbc1
1,762
ex
Elixir
clients/prediction/lib/google_api/prediction/v16/model/analyze_data_description_categorical.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/prediction/lib/google_api/prediction/v16/model/analyze_data_description_categorical.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/prediction/lib/google_api/prediction/v16/model/analyze_data_description_categorical.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...
35.24
141
0.767877
79962b6ef64f860157c5a643521aee167186a180
920
ex
Elixir
lib/credo/service/source_file_scopes.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
lib/credo/service/source_file_scopes.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
lib/credo/service/source_file_scopes.ex
sevenseacat/credo
48837401040d9c2340b5fb9c7d786d31f89f6426
[ "MIT" ]
null
null
null
defmodule Credo.Service.SourceFileScopes do use GenServer @table_name __MODULE__ def start_link(opts \\ []) do {:ok, _pid} = GenServer.start_link(__MODULE__, opts, name: __MODULE__) end def get(filename) do GenServer.call(__MODULE__, {:get, filename}) end def put(filename, source) do GenSe...
23
74
0.655435
79962c510f826e19f83bb7d82d76a5a6cf013e38
159
exs
Elixir
base/fc_state_storage/test/fc_state_storage_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
base/fc_state_storage/test/fc_state_storage_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
base/fc_state_storage/test/fc_state_storage_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
defmodule FCStateStorageTest do use ExUnit.Case doctest FCStateStorage test "greets the world" do assert FCStateStorage.hello() == :world end end
17.666667
43
0.748428
799638fff2f16b4345d54ca352570d06d913338f
477
ex
Elixir
lib/elixir_ecommerce_web/controllers/public/products_controller.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
4
2020-05-29T03:33:02.000Z
2021-08-21T23:01:48.000Z
lib/elixir_ecommerce_web/controllers/public/products_controller.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
2
2020-07-29T01:50:46.000Z
2021-08-31T20:10:47.000Z
lib/elixir_ecommerce_web/controllers/public/products_controller.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
1
2022-03-21T18:13:21.000Z
2022-03-21T18:13:21.000Z
defmodule ElixirEcommerceWeb.ProductsController do use ElixirEcommerceWeb, :controller alias ElixirEcommerce.{ UserManager.User, Product, Department } plug ElixirEcommerceWeb.Authorize, resource: User def show(conn, params) do user = Guardian.Plug.current_resource(conn) departments = Dep...
26.5
87
0.742138
79964f892276fda83244fee31d631e9c00078aa4
2,328
ex
Elixir
higher_order/lib/list_comp.ex
pascal-p/elixir-etudes
097937783f33ce19af0b61e1c331482226d1fd96
[ "BSD-2-Clause" ]
null
null
null
higher_order/lib/list_comp.ex
pascal-p/elixir-etudes
097937783f33ce19af0b61e1c331482226d1fd96
[ "BSD-2-Clause" ]
null
null
null
higher_order/lib/list_comp.ex
pascal-p/elixir-etudes
097937783f33ce19af0b61e1c331482226d1fd96
[ "BSD-2-Clause" ]
null
null
null
defmodule ListComp do # private function to return a list of people @spec get_people() :: list(tuple()) defp get_people() do [{"Federico", "M", 22}, {"Kim", "F", 45}, {"Hansa", "F", 30}, {"Tran", "M", 47}, {"Cathy", "F", 32}, {"Elias", "M", 50}] end @doc """ using pattern matching on a list of ...
25.304348
95
0.611254
7996598e8a7b1fbbc9795680c5836702dbdd272d
24,856
exs
Elixir
lib/elixir/test/elixir/base_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/base_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/base_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule BaseTest do use ExUnit.Case, async: true doctest Base import Base test "encode16/1" do assert "" == encode16("") assert "66" == encode16("f") assert "666F" == encode16("fo") assert "666F6F" == encode16("foo") assert "666F6F62" == enc...
31.866667
115
0.656703
79968263a07c0210a5a94167b38e9dd9725c7256
6,132
exs
Elixir
test/commodity_api/iam/user/phone_number/phone_number_policy_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
7
2019-04-11T21:12:49.000Z
2021-04-14T12:56:42.000Z
test/commodity_api/iam/user/phone_number/phone_number_policy_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
null
null
null
test/commodity_api/iam/user/phone_number/phone_number_policy_test.exs
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
2
2019-06-06T18:05:33.000Z
2019-07-16T08:49:45.000Z
## # Copyright 2018 Abdulkadir DILSIZ # # 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...
32.967742
81
0.720809
7996af50570ef75c27826898cd2822ada555f4d0
4,365
ex
Elixir
lib/memo_web/controllers/user_auth.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
lib/memo_web/controllers/user_auth.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
lib/memo_web/controllers/user_auth.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
defmodule MemoWeb.UserAuth do import Plug.Conn import Phoenix.Controller alias Memo.Accounts alias MemoWeb.Router.Helpers, as: Routes # Make the remember me cookie valid for 60 days. # If you want bump or reduce this value, also change # the token expiry itself in UserToken. @max_age 60 * 60 * 24 * 60...
29.1
81
0.6937
799706d81ea1daf3ecedb199a454a15f7ccc98b0
4,823
exs
Elixir
lib/makeup_demo/examples/elixir/sandbox.exs
elixir-makeup/makeup_demo
dcb524d8b6b44885ac51486daffa62db3f7b413f
[ "Apache-2.0" ]
null
null
null
lib/makeup_demo/examples/elixir/sandbox.exs
elixir-makeup/makeup_demo
dcb524d8b6b44885ac51486daffa62db3f7b413f
[ "Apache-2.0" ]
null
null
null
lib/makeup_demo/examples/elixir/sandbox.exs
elixir-makeup/makeup_demo
dcb524d8b6b44885ac51486daffa62db3f7b413f
[ "Apache-2.0" ]
null
null
null
# Numbers 0b0101011 1234 ; 0x1A ; 0xbeef ; 0763 ; 0o123 3.14 ; 5.0e21 ; 0.5e-12 100_000_000 # these are not valid numbers 0b012 ; 0xboar ; 0o888 0B01 ; 0XAF ; 0O123 # Characters ?a ; ?1 ; ?\n ; ?\s ; ?\c ; ? ; ?, ?\x{12} ; ?\x{abcd} ?\x34 ; ?\xF # these show that only the first digit is part of the character ?\123 ;...
19.063241
78
0.560854
79971cb1900210faa7614b710a5ff53217aa0fb3
1,138
ex
Elixir
lib/id_token/firebase.ex
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
lib/id_token/firebase.ex
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
lib/id_token/firebase.ex
Joe-noh/id_token
8486b97dc45f871222a57ba97eca1ef85061daea
[ "MIT" ]
null
null
null
defmodule IDToken.Firebase do @moduledoc """ Predefined callback module for firebase users. """ @behaviour IDToken.Callback @impl true def fetch_certificates do with url = "https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com", {:ok, %Mojito.Response{body: ...
27.756098
106
0.652021
79973e19b9078551334219fcc8331bf8956298ae
194
ex
Elixir
lib/stacky.ex
cthree/stacky
12203434cc60d4b3299cf8e9f1daef414a27380b
[ "MIT" ]
null
null
null
lib/stacky.ex
cthree/stacky
12203434cc60d4b3299cf8e9f1daef414a27380b
[ "MIT" ]
null
null
null
lib/stacky.ex
cthree/stacky
12203434cc60d4b3299cf8e9f1daef414a27380b
[ "MIT" ]
null
null
null
defmodule Stacky do @moduledoc """ Documentation for Stacky. """ @doc """ Hello world. ## Examples iex> Stacky.hello :world """ def hello do :world end end
10.210526
27
0.561856
799757479d088c31beb8d8af79bdb6cf4beca35a
207
exs
Elixir
test/controllers/page_controller_test.exs
tsara27/collab-x-phoenix
828f8fbdcf853a43e096a42dc2f003cf443eb792
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
tsara27/collab-x-phoenix
828f8fbdcf853a43e096a42dc2f003cf443eb792
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
tsara27/collab-x-phoenix
828f8fbdcf853a43e096a42dc2f003cf443eb792
[ "MIT" ]
null
null
null
defmodule CollabXPhoenix.PageControllerTest do use CollabXPhoenix.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23
60
0.695652
79975d8557b6d5e59e31a4e458011d4fef72e4d5
216
ex
Elixir
lib/rpunit/rpunit.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
lib/rpunit/rpunit.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
lib/rpunit/rpunit.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule RoundingPegs.ExUnit do defmacro __using__(_) do quote do import RoundingPegs.ExUnit.Macros import RoundingPegs.ExUnit.Assertions import ShouldI, only: [assign: 2] end end end
19.636364
43
0.708333
79976cf79e6b3749f651f1ae0eb06614f9a67be8
168
exs
Elixir
priv/repo/migrations/20180627034657_add_antitle.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-04-01T19:14:16.000Z
2019-04-01T19:14:16.000Z
priv/repo/migrations/20180627034657_add_antitle.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
null
null
null
priv/repo/migrations/20180627034657_add_antitle.exs
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-03-24T01:50:48.000Z
2019-03-24T01:50:48.000Z
defmodule Excommerce.Repo.Migrations.AddAntitle do use Ecto.Migration def change do alter table(:products) do add :ante_title, :string end end end
16.8
50
0.714286
799781f7e863d090a31dc305b83faa9248a30e68
231
exs
Elixir
priv/repo/migrations/20170526230321_create_user.exs
mcampa/bigcommerce-elixir-app
f1fe40b2a456b49c09970a5317108316f054d5ec
[ "MIT" ]
1
2017-06-02T07:17:22.000Z
2017-06-02T07:17:22.000Z
priv/repo/migrations/20170526230321_create_user.exs
mcampa/bigcommerce-elixir-app
f1fe40b2a456b49c09970a5317108316f054d5ec
[ "MIT" ]
null
null
null
priv/repo/migrations/20170526230321_create_user.exs
mcampa/bigcommerce-elixir-app
f1fe40b2a456b49c09970a5317108316f054d5ec
[ "MIT" ]
null
null
null
defmodule App.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :user_id, :string add :context, :string add :token, :string timestamps() end end end
15.4
43
0.640693
7997ae1ec195d4f6562af49a397a297868ee27a7
1,322
exs
Elixir
mix.exs
aforward-oss/earmark
b44d4817aa2b4047b07f91d633ae83ed27c695ed
[ "Apache-2.0" ]
null
null
null
mix.exs
aforward-oss/earmark
b44d4817aa2b4047b07f91d633ae83ed27c695ed
[ "Apache-2.0" ]
null
null
null
mix.exs
aforward-oss/earmark
b44d4817aa2b4047b07f91d633ae83ed27c695ed
[ "Apache-2.0" ]
null
null
null
Code.eval_file "tasks/readme.exs" defmodule Earmark.Mixfile do use Mix.Project def project do [ app: :earmark, version: "0.2.2", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), escript: escript_config(), deps: deps(), descri...
22.793103
75
0.549924
7997aee078dc158d679c731c3ef1cf62104426ca
1,093
ex
Elixir
lib/cforum/jobs/image_resizer_job.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum/jobs/image_resizer_job.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
lib/cforum/jobs/image_resizer_job.ex
MatthiasApsel/cforum_ex
52c621a583182d82692b74694b0b2792ac23b8ff
[ "MIT" ]
null
null
null
defmodule Cforum.Jobs.ImageResizerJob do use Oban.Worker, queue: :media, max_attempts: 5 alias Cforum.Media def enqueue(img) do %{"medium_id" => img.medium_id} |> Cforum.Jobs.ImageResizerJob.new() |> Oban.insert!() end @impl Oban.Worker def perform(%{"medium_id" => id}, _) do if Applicatio...
25.418605
63
0.655993
7997c9e99c9e94ed9449c27dec72587683d1f01b
1,738
ex
Elixir
robotica_common/lib/mark.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica_common/lib/mark.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica_common/lib/mark.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule RoboticaCommon.Mark do @moduledoc """ Defines functions for marks """ use RoboticaCommon.EventBus alias RoboticaCommon.Date @derive Jason.Encoder @type t :: %__MODULE__{ id: String.t(), status: :done | :cancelled, start_time: %DateTime{}, stop_time: %Dat...
23.808219
96
0.555236
7997db2858f484105f7196cac5b2943e53a92d14
10,023
ex
Elixir
deps/tzdata/lib/tzdata.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/tzdata/lib/tzdata.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/tzdata/lib/tzdata.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
defmodule Tzdata do @moduledoc """ The Tzdata module provides data from the IANA tz database. Also known as the Olson/Eggert database, zoneinfo, tzdata and other names. A list of time zone names (e.g. `America/Los_Angeles`) are provided. As well as functions for finding out the UTC offset, abbreviation, st...
36.580292
206
0.687519
7998108c9e669934d423fb535ac62772c74391b9
929
ex
Elixir
test/fixtures/umbrella_app/apps/web/lib/web/application.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
3,097
2016-07-18T13:59:00.000Z
2022-03-29T00:27:23.000Z
test/fixtures/umbrella_app/apps/web/lib/web/application.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
672
2016-07-18T18:25:29.000Z
2022-02-24T17:39:30.000Z
test/fixtures/umbrella_app/apps/web/lib/web/application.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
483
2016-07-22T14:08:49.000Z
2022-03-21T09:35:23.000Z
defmodule Web.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the applic...
30.966667
81
0.713671
79981f2ec99da0a3917239168871502148d0adf4
470
exs
Elixir
lib/exercism/bob/bob.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/bob/bob.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
lib/exercism/bob/bob.exs
sprql/experimentex
6c8a37ea03b74c5bfece1b2bec21c163a2f2df2f
[ "MIT" ]
null
null
null
defmodule Bob do def hey(input) do cond do question?(input) -> "Sure." nothing?(input) -> "Fine. Be that way!" yelling?(input) -> "Whoa, chill out!" true -> "Whatever." end end defp question?(input) do String.match?(input, ~r/\?$/) end defp yelling?(input) d...
20.434783
69
0.553191
79982a6cd04c6204a17ea8e4ceb04f954e3446b9
422
ex
Elixir
lib/escala/guardian_serializer.ex
vahidabdi/escala_api
84a4a3ef832180f12c6197683933d8cd0ab35ef4
[ "MIT" ]
null
null
null
lib/escala/guardian_serializer.ex
vahidabdi/escala_api
84a4a3ef832180f12c6197683933d8cd0ab35ef4
[ "MIT" ]
null
null
null
lib/escala/guardian_serializer.ex
vahidabdi/escala_api
84a4a3ef832180f12c6197683933d8cd0ab35ef4
[ "MIT" ]
null
null
null
defmodule Escala.GuardianSerializer do @moduledoc """ Guardian Serializer """ @behaviour Guardian.Serializer alias Escala.Accounts alias Escala.Accounts.User def for_token(%User{} = user), do: {:ok, "User:#{user.id}"} def for_token(_), do: {:error, "Unknown resource type"} def from_token("User:" <>...
26.375
65
0.682464
799835440489b6d6f25e8b4e28aec8b400544dd3
2,157
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/preserved_state_preserved_disk.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/preserved_state_preserved_disk.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/preserved_state_preserved_disk.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...
40.698113
383
0.728326
79985904506e0cbce94446335e3ecdc0b667391e
1,293
ex
Elixir
DL-DLR2-004/DL-DLR2-004 (R=10.0).ELEMENT-IoT.ex
Realscrat/decentlab-decoders
3ca5006cd85e3772a15a1b3fff3922c50979eeb6
[ "MIT" ]
13
2020-01-18T22:08:44.000Z
2022-02-06T14:19:57.000Z
DL-DLR2-004/DL-DLR2-004 (R=10.0).ELEMENT-IoT.ex
johannesE/decentlab-decoders
c290ea1218de2c82d665fdc9f71f16682e12d917
[ "MIT" ]
4
2019-05-10T07:17:41.000Z
2021-10-20T16:24:04.000Z
DL-DLR2-004/DL-DLR2-004 (R=10.0).ELEMENT-IoT.ex
johannesE/decentlab-decoders
c290ea1218de2c82d665fdc9f71f16682e12d917
[ "MIT" ]
15
2019-06-04T06:13:32.000Z
2022-02-15T07:28:52.000Z
# https://www.decentlab.com/products/analog-or-digital-sensor-device-for-lorawan defmodule Parser do use Platform.Parsing.Behaviour # device-specific parameters defp r(), do: 10.0 ## test payloads # 0208b200038bb80c60 # 0208b200020c60 def fields do [ %{field: "current", display: "Curren...
25.352941
87
0.550657
79986f472691b449f46431921086ca7b4b7f6e16
362
exs
Elixir
samples/scheduler/mix.exs
thbar/elixir-playground
4c3e8cecb927d05f762b666d3064114451786db4
[ "MIT" ]
14
2016-01-18T13:58:37.000Z
2021-08-09T11:39:54.000Z
samples/scheduler/mix.exs
thbar/elixir-playground
4c3e8cecb927d05f762b666d3064114451786db4
[ "MIT" ]
null
null
null
samples/scheduler/mix.exs
thbar/elixir-playground
4c3e8cecb927d05f762b666d3064114451786db4
[ "MIT" ]
null
null
null
defmodule Scheduler.Mixfile do use Mix.Project def project do [app: :scheduler, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end def application do [applications: [:logger, :quantum]] end defp deps ...
17.238095
39
0.585635
799879c205c506f0c5a9065c620c89297f654b70
14,407
ex
Elixir
apps/donut_graphql/lib/donut.graphql/identity/contact.ex
ZURASTA/donut
b0546c041601e619e76c10d1d2ce62fe5d1701a4
[ "BSD-2-Clause" ]
null
null
null
apps/donut_graphql/lib/donut.graphql/identity/contact.ex
ZURASTA/donut
b0546c041601e619e76c10d1d2ce62fe5d1701a4
[ "BSD-2-Clause" ]
null
null
null
apps/donut_graphql/lib/donut.graphql/identity/contact.ex
ZURASTA/donut
b0546c041601e619e76c10d1d2ce62fe5d1701a4
[ "BSD-2-Clause" ]
null
null
null
defmodule Donut.GraphQL.Identity.Contact do use Donut.GraphQL.Schema.Notation @desc "The priority of a contact" enum :contact_priority do value :primary value :secondary end @desc "A generic contact interface" mutable_interface :contact do immutable do field...
47.547855
253
0.496078
799890f8f8e031592d7b04160422003521530414
533
ex
Elixir
test/factories/user_factory.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
test/factories/user_factory.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
25
2021-03-23T07:27:21.000Z
2021-10-31T15:09:52.000Z
test/factories/user_factory.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
defmodule Gscraper.UserFactory do alias Gscraper.Account.Schemas.User defmacro __using__(_opts) do quote do alias Gscraper.Account.Passwords def user_factory(attrs) do password = attrs[:password] || Faker.Util.format("%6b%3d") user = %User{ username: Faker.Internet.user_...
23.173913
66
0.641651
7998ba4ee48b64a80b3203287ea49ae2beb8d71f
888
ex
Elixir
supervised_list_server/lib/list_server.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
supervised_list_server/lib/list_server.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
supervised_list_server/lib/list_server.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule ListServer do use GenServer ### Public API def start_link do :gen_server.start_link({:local, :list}, __MODULE__, [], []) end def clear do :gen_server.cast(:list, :clear) end def add(item) do :gen_server.cast(:list, {:add, item}) end def remove(item) do :gen_server.cast(:l...
17.076923
63
0.614865
7998bdd660a9922a44ba9157aff4bb516ae24d19
4,881
ex
Elixir
test/support/service_twirp.ex
daskycodes/twirp-elixir
51b701111a3b33601980703417388cd099dc7e44
[ "Apache-2.0" ]
30
2019-11-03T16:30:13.000Z
2020-06-23T19:38:53.000Z
test/support/service_twirp.ex
daskycodes/twirp-elixir
51b701111a3b33601980703417388cd099dc7e44
[ "Apache-2.0" ]
16
2020-03-13T17:56:16.000Z
2020-06-11T10:40:02.000Z
test/support/service_twirp.ex
daskycodes/twirp-elixir
51b701111a3b33601980703417388cd099dc7e44
[ "Apache-2.0" ]
3
2019-12-05T16:43:15.000Z
2020-05-11T21:34:44.000Z
# Generated by the protobuf compile. DO NOT EDIT! defmodule Twirp.Test.EchoService do @moduledoc false use Twirp.Service package "twirp.test" service "Echo" rpc :Echo, Twirp.Test.Req, Twirp.Test.Resp, :echo rpc :BatchEcho, Twirp.Test.BatchReq, Twirp.Test.BatchResp, :batch_echo rpc :SlowEcho, Twirp.Te...
30.12963
104
0.617496
7998bfe41fc28909fd40c74935f15926a3e4a557
184
exs
Elixir
test/meshx_service_mesh_test.exs
andrzej-mag/meshx
390fc96fdff7e4631a6f263ed1aebb506baadd3d
[ "Apache-2.0" ]
18
2021-05-20T07:09:31.000Z
2021-12-22T10:17:56.000Z
test/meshx_service_mesh_test.exs
andrzej-mag/meshx
390fc96fdff7e4631a6f263ed1aebb506baadd3d
[ "Apache-2.0" ]
1
2021-05-26T08:36:36.000Z
2021-05-26T09:53:31.000Z
test/meshx_service_mesh_test.exs
andrzej-mag/meshx
390fc96fdff7e4631a6f263ed1aebb506baadd3d
[ "Apache-2.0" ]
null
null
null
defmodule MeshxServiceMeshTest do use ExUnit.Case test "assert Meshx.ServiceMesh behavior exists" do assert Meshx.ServiceMesh.__info__(:module) == Meshx.ServiceMesh end end
23
67
0.782609
7998e425b6419b053e43744ddcf9efaa80d7fcae
34,803
exs
Elixir
lib/elixir/test/elixir/registry_test.exs
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/elixir/test/elixir/registry_test.exs
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/registry_test.exs
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule RegistryTest do use ExUnit.Case, async: true doctest Registry, except: [:moduledoc] setup config do keys = config[:keys] || :unique partitions = config[:partitions] || 1 listeners = List.wrap(config[:listener]) opts = [keys: keys, name: con...
38.627081
101
0.535615
7998fbfb4d11b0bfca587ae02d17b172fa54d7f9
3,566
exs
Elixir
test/crontab/date_checker_test.exs
mveytsman/crontab
f42a90a1ab227c9137bd9f31d33ccfb1a82439e2
[ "MIT" ]
71
2017-01-17T12:43:20.000Z
2022-03-11T09:31:32.000Z
test/crontab/date_checker_test.exs
mveytsman/crontab
f42a90a1ab227c9137bd9f31d33ccfb1a82439e2
[ "MIT" ]
70
2017-01-18T08:49:19.000Z
2022-03-31T00:34:47.000Z
test/crontab/date_checker_test.exs
mveytsman/crontab
f42a90a1ab227c9137bd9f31d33ccfb1a82439e2
[ "MIT" ]
29
2017-01-02T07:24:11.000Z
2022-03-11T15:57:56.000Z
defmodule Crontab.DateCheckerTest do @moduledoc false use ExUnit.Case, async: true doctest Crontab.DateChecker import Crontab.DateChecker test "2002-01-13 23:00:07 matches * * * * *" do base_date = ~N[2002-01-13 23:00:07] assert matches_date?(:minute, [:*], base_date) == true assert matches_da...
44.024691
84
0.587213
7999182f2a0350c2044a70a6531775ffddc2cf1e
1,395
ex
Elixir
lib/freshcom_web/normalization.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
9
2018-12-16T14:02:59.000Z
2021-01-19T07:25:40.000Z
lib/freshcom_web/normalization.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom_web/normalization.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
4
2018-12-16T17:50:01.000Z
2021-01-19T07:25:51.000Z
defmodule FreshcomWeb.Normalization do def underscore(map, keys) when is_map(map) do Enum.reduce(map, map, fn({k, v}, acc) -> if Enum.member?(keys, k) && acc[k] do %{acc | k => Inflex.underscore(v)} else acc end end) end def underscore(str) when is_binary(str) do Inf...
25.363636
99
0.606452
79992862d51e2fdef7765339fd1a670e55ce84b6
3,719
exs
Elixir
test/siwapp_web/controllers/user_confirmation_controller_test.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
test/siwapp_web/controllers/user_confirmation_controller_test.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
test/siwapp_web/controllers/user_confirmation_controller_test.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
defmodule SiwappWeb.UserConfirmationControllerTest do use SiwappWeb.ConnCase, async: true import Siwapp.AccountsFixtures alias Siwapp.Accounts alias Siwapp.Repo setup do %{user: user_fixture()} end describe "GET /users/confirm" do test "renders the resend confirmation page", %{conn: conn} do ...
35.084906
94
0.648024
79993ac0d1f5a5bd8bf69a4a09d4ec525ca4bf24
27
ex
Elixir
lib/bloglixir.ex
crertel/bloglixir
6c8ee7775ee1f76f8bb9c9f8a9db74e6cf5eecc6
[ "MIT" ]
null
null
null
lib/bloglixir.ex
crertel/bloglixir
6c8ee7775ee1f76f8bb9c9f8a9db74e6cf5eecc6
[ "MIT" ]
null
null
null
lib/bloglixir.ex
crertel/bloglixir
6c8ee7775ee1f76f8bb9c9f8a9db74e6cf5eecc6
[ "MIT" ]
null
null
null
defmodule Bloglixir do end
9
22
0.851852
79993d725a3a3bc7124c987d59878af108ee7623
12,194
ex
Elixir
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/api/groups.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/api/groups.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/api/groups.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...
58.344498
715
0.721502
799965d3ca2731346bf78d1491b819ef5e992481
1,499
exs
Elixir
.formatter.exs
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
.formatter.exs
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
.formatter.exs
kyle5794/ash
82023da84400366d07001593673d1aaa2a418803
[ "MIT" ]
null
null
null
# THIS FILE IS AUTOGENERATED USING `mix ash.formatter` # DONT MODIFY IT BY HAND locals_without_parens = [ accept: 1, action: 1, allow_nil?: 1, argument: 2, argument: 3, attribute: 2, attribute: 3, base_filter: 1, belongs_to: 2, belongs_to: 3, calculate: 2, calculate: 3, change: 1, change: 2,...
17.229885
70
0.640427
79997d23c4e74cc529fc8142ca157c5c468474ec
4,461
ex
Elixir
lib/coxir/struct/member.ex
jos-b/coxir
2365cd300f8e1775c35c8c50f48dec9bc2ea2342
[ "Apache-2.0" ]
null
null
null
lib/coxir/struct/member.ex
jos-b/coxir
2365cd300f8e1775c35c8c50f48dec9bc2ea2342
[ "Apache-2.0" ]
null
null
null
lib/coxir/struct/member.ex
jos-b/coxir
2365cd300f8e1775c35c8c50f48dec9bc2ea2342
[ "Apache-2.0" ]
null
null
null
defmodule Coxir.Struct.Member do @moduledoc """ Defines methods used to interact with guild members. Refer to [this](https://discordapp.com/developers/docs/resources/guild#guild-member-object) for a list of fields and a broader documentation. In addition, the following fields are also embedded. - `user` -...
24.244565
93
0.63618
79999e0ba4efdf46e0002c848e76a48a9b4eaba7
2,842
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/change.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/change.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/change.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...
41.188406
205
0.702322
7999b8da48bb9219341f5bb8b9c5ae8f9f9f21d3
1,050
exs
Elixir
mix.exs
duffelhq/saxy
fb37f1d9ce919e6085a924c2483c515ee6cb997b
[ "MIT" ]
null
null
null
mix.exs
duffelhq/saxy
fb37f1d9ce919e6085a924c2483c515ee6cb997b
[ "MIT" ]
null
null
null
mix.exs
duffelhq/saxy
fb37f1d9ce919e6085a924c2483c515ee6cb997b
[ "MIT" ]
null
null
null
defmodule Saxy.MixProject do use Mix.Project @version "0.9.1" def project() do [ app: :saxy, version: @version, elixir: "~> 1.3", consolidate_protocols: Mix.env() != :test, description: description(), deps: deps(), package: package(), name: "Saxy", docs:...
19.811321
96
0.537143
7999dfa715b0e093b3a9ae3463fc08a348be9722
1,794
exs
Elixir
mix.exs
waltercompanies/logger_json
bdd9ba56a6c883bb54fb44e67fd6b3eac62dde83
[ "MIT" ]
null
null
null
mix.exs
waltercompanies/logger_json
bdd9ba56a6c883bb54fb44e67fd6b3eac62dde83
[ "MIT" ]
null
null
null
mix.exs
waltercompanies/logger_json
bdd9ba56a6c883bb54fb44e67fd6b3eac62dde83
[ "MIT" ]
null
null
null
defmodule LoggerJSON.Mixfile do use Mix.Project @source_url "https://github.com/Nebo15/logger_json" @version "4.1.0" def project do [ app: :logger_json, version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), compilers: [] ++ Mix.compilers(), build...
24.575342
77
0.545151
7999e0bf79648d041a6b212ae5735a5443d7f155
4,338
exs
Elixir
app/test/app_web/controllers/course_controller_test.exs
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
1
2020-02-10T21:35:17.000Z
2020-02-10T21:35:17.000Z
app/test/app_web/controllers/course_controller_test.exs
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/test/app_web/controllers/course_controller_test.exs
kljensen/yale-class-chat
b03e72deed967249a64404bff68b1cf22e7e1e6a
[ "Unlicense" ]
null
null
null
defmodule AppWeb.CourseControllerTest do use AppWeb.ConnCase alias App.Courses alias App.AccountsTest, as: ATest import Plug.Test def fixture(:semester) do semester = App.CoursesTest.semester_fixture() semester end @create_attrs %{department: "some department", name: "some name", number: 42, al...
35.557377
134
0.660904
799a3461cacf5e87c43120ed5631028c45aa86db
775
ex
Elixir
lib/utils/hgeo.ex
wkhere/eastar
b309f4fce41218d821f4cf4af9df39f5f1a36cc0
[ "BSD-2-Clause" ]
18
2016-12-22T16:11:39.000Z
2022-01-28T12:21:14.000Z
lib/utils/hgeo.ex
wkhere/eastar
b309f4fce41218d821f4cf4af9df39f5f1a36cc0
[ "BSD-2-Clause" ]
4
2016-12-11T17:53:40.000Z
2019-09-02T09:05:18.000Z
lib/utils/hgeo.ex
wkhere/eastar
b309f4fce41218d821f4cf4af9df39f5f1a36cc0
[ "BSD-2-Clause" ]
3
2016-12-11T17:44:28.000Z
2019-08-21T01:35:02.000Z
defmodule Astar.Utils.H.Geo do @moduledoc """ Exposes H-function as a shortest distance between two points on Earth globe, plus a number of conversion functions. """ import :math @pi_by_180 pi()/180 @earth_radius 6371 def to_deg({deg, min, sec}), do: deg + min/60 + sec/3600 def to_deg(a) ...
22.142857
61
0.593548
799a34c22d22fb590c485b006eec38a5be4ca451
982
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/deserializer.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...
37.769231
77
0.767821
799a86cde9770baba883e50e707256e0468accaa
876
exs
Elixir
exercises/two-fer/two_fer_test.exs
Tuxified/elixir
6230e2237851cf35532b6a34e4c67b44a28cde1b
[ "MIT" ]
null
null
null
exercises/two-fer/two_fer_test.exs
Tuxified/elixir
6230e2237851cf35532b6a34e4c67b44a28cde1b
[ "MIT" ]
null
null
null
exercises/two-fer/two_fer_test.exs
Tuxified/elixir
6230e2237851cf35532b6a34e4c67b44a28cde1b
[ "MIT" ]
1
2018-07-19T23:43:56.000Z
2018-07-19T23:43:56.000Z
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("two_fer.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule TwoFerTest do use ExUnit.Case test "no name given" do assert TwoFer.two_fer() == "One for you, one for me" end @tag :pending test "a na...
21.365854
85
0.687215
799a97751dc18713afc23c5a25f07ce952250b12
2,723
ex
Elixir
lib/task_bunny/errors.ex
DylanReile/task_bunny
3c23eb345e18daf9c16c6c295a18499eb8584469
[ "MIT" ]
1
2021-03-01T20:31:33.000Z
2021-03-01T20:31:33.000Z
lib/task_bunny/errors.ex
DylanReile/task_bunny
3c23eb345e18daf9c16c6c295a18499eb8584469
[ "MIT" ]
null
null
null
lib/task_bunny/errors.ex
DylanReile/task_bunny
3c23eb345e18daf9c16c6c295a18499eb8584469
[ "MIT" ]
null
null
null
defmodule TaskBunny.ConfigError do @moduledoc """ Raised when an error was found on TaskBunny config """ defexception [:message] def exception(message: message) do title = "Failed to load TaskBunny config" message = "#{title}\n#{message}" %__MODULE__{message: message} end end defmodule TaskBun...
26.696078
77
0.647815
799ac0228b9abb1c9cfc62550107958440191d87
3,246
ex
Elixir
lib/file_system_utils/list_devices.ex
aseigo/file_system_utils
2506d75ae7482d97bc041448d5f1b4b9f8716e54
[ "Apache-2.0" ]
null
null
null
lib/file_system_utils/list_devices.ex
aseigo/file_system_utils
2506d75ae7482d97bc041448d5f1b4b9f8716e54
[ "Apache-2.0" ]
null
null
null
lib/file_system_utils/list_devices.ex
aseigo/file_system_utils
2506d75ae7482d97bc041448d5f1b4b9f8716e54
[ "Apache-2.0" ]
null
null
null
defmodule FileSystemUtils.ListDevices do @moduledoc """ Provides functions to get information about devices available in the system. """ @spec lsblk(devices :: binary | [binary]) :: map @doc """ lsblk - list block devices returns the output of the lsblk command line utilty as json object. ...
30.055556
95
0.635551
799ac35d5c169759f8372a99a10effeb11dfc68f
2,861
exs
Elixir
test_projects/phx_1.6/config/runtime.exs
qhwa/dockerize
d930f06da89a686961da7a5b5bdadb4c9b01ec32
[ "MIT" ]
47
2020-03-04T00:24:26.000Z
2022-01-14T23:34:52.000Z
test_projects/phx_1.6/config/runtime.exs
qhwa/dockerize
d930f06da89a686961da7a5b5bdadb4c9b01ec32
[ "MIT" ]
2
2020-06-09T22:25:06.000Z
2020-06-30T21:18:37.000Z
test_projects/phx_1.6/config/runtime.exs
qhwa/dockerize
d930f06da89a686961da7a5b5bdadb4c9b01ec32
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
38.662162
82
0.697658
799ae02b6145e85bbc49a59e07eca4efadd23d0b
1,877
ex
Elixir
lib/event_store/storage/delete_stream.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
576
2017-11-03T14:11:07.000Z
2022-03-29T06:18:47.000Z
lib/event_store/storage/delete_stream.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
129
2017-11-08T06:10:20.000Z
2021-09-15T16:18:14.000Z
lib/event_store/storage/delete_stream.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
118
2017-11-14T14:10:09.000Z
2022-03-28T13:13:56.000Z
defmodule EventStore.Storage.DeleteStream do @moduledoc false require Logger alias EventStore.Sql.Statements def soft_delete(conn, stream_id, opts) do {schema, opts} = Keyword.pop(opts, :schema) query = Statements.soft_delete_stream(schema) case Postgrex.query(conn, query, [stream_id], opts) do...
27.202899
89
0.602557
799af3cc846dc5e314d2351679b0a7a989fbd019
2,397
exs
Elixir
config/runtime.exs
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
2
2022-01-19T17:59:21.000Z
2022-01-19T18:05:05.000Z
config/runtime.exs
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
null
null
null
config/runtime.exs
myrrlyn/roadtrip
424d85dd6a713e99c27f97f052cff88dbbeb6423
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
35.776119
82
0.690029
799b133e95299b3b5085bddeebe22e2989341eec
1,841
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/document_transform.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/document_transform.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/document_transform.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...
35.403846
183
0.736556
799b3163f673fd466064bb3cfaac06ad94bf19d0
70
ex
Elixir
web/views/email_view.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
web/views/email_view.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
web/views/email_view.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
defmodule FutureCyborg.EmailView do use FutureCyborg.Web, :view end
17.5
35
0.814286
799b6225cfc4cf92959355e08f04525666753538
2,600
ex
Elixir
lib/auto_api/universal_properties_meta.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
lib/auto_api/universal_properties_meta.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
5
2020-07-16T07:20:21.000Z
2021-09-22T10:18:04.000Z
lib/auto_api/universal_properties_meta.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "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.333333
80
0.671923
799b73851804ba03f91e60e7558cda2cbde6e6b3
384
exs
Elixir
priv/repo/migrations/20220312193533_locations_table.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
priv/repo/migrations/20220312193533_locations_table.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
priv/repo/migrations/20220312193533_locations_table.exs
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigade.Repo.Migrations.LocationsTable do use Ecto.Migration def change do create table(:locations) do add :address, :string add :city, :string add :postal, :string add :province, :string add :country, :string add :unit, :string add :buzzer, :string ...
19.2
55
0.627604
799b9f59568b2f2bd53a8539321334293b364b81
699
ex
Elixir
lib/tnd_web/gettext.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
null
null
null
lib/tnd_web/gettext.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
1
2021-05-11T14:31:58.000Z
2021-05-11T14:31:58.000Z
lib/tnd_web/gettext.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
null
null
null
defmodule TndWeb.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 TndWeb.Gettext # Simple translation gettext("Here is the strin...
27.96
72
0.672389
799bf35aaa1cb3b91c6f47e603cc8c8229ebd5f0
20,140
ex
Elixir
apps/ello_core/test/support/factory.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_core/test/support/factory.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_core/test/support/factory.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Core.Factory do alias Ello.Core.{Repo, Discovery, Network, Content, Contest} alias Ello.Core.FactoryTime alias Discovery.{Category, Promotional, Editorial, PagePromotional, CategoryPost} alias Network.{User, Relationship, Flag, CategoryUser} alias Content.{Post, Love, Watch, Asset} alias Cont...
32.224
108
0.528997
799bff3c1deb8419859742933ad509fcce54b940
6,164
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/job.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/job.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/job.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 ...
67
413
0.713822
799c0dad6c67a08e129369edd9b29a2a178999b3
2,576
exs
Elixir
app/priv/repo/seeds.exs
gkzz/jtfparty
d1190b9988857980e0a83cca877d1288f66a8a94
[ "MIT" ]
null
null
null
app/priv/repo/seeds.exs
gkzz/jtfparty
d1190b9988857980e0a83cca877d1288f66a8a94
[ "MIT" ]
17
2020-08-16T12:47:00.000Z
2021-04-06T17:09:15.000Z
app/priv/repo/seeds.exs
gkzz/jtfparty
d1190b9988857980e0a83cca877d1288f66a8a94
[ "MIT" ]
1
2020-08-07T04:33:52.000Z
2020-08-07T04:33:52.000Z
# 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: # # Jtfparty.Repo.insert!(%Jtfparty.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they wi...
34.810811
114
0.706522
799c22ca38e6cb709d0ebcf1937558818630705b
3,148
ex
Elixir
clients/webmaster/lib/google_api/webmaster/v3/model/wmx_sitemap.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/webmaster/lib/google_api/webmaster/v3/model/wmx_sitemap.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/webmaster/lib/google_api/webmaster/v3/model/wmx_sitemap.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...
44.338028
189
0.688056
799c38e9b1efe73a5ac32c5dc2986366199b0acc
1,536
ex
Elixir
lib/sftp/access_service.ex
wstucco/sftp_ex
33e60c691a1aece024aca9d163b8aa24100d9d7d
[ "MIT" ]
null
null
null
lib/sftp/access_service.ex
wstucco/sftp_ex
33e60c691a1aece024aca9d163b8aa24100d9d7d
[ "MIT" ]
null
null
null
lib/sftp/access_service.ex
wstucco/sftp_ex
33e60c691a1aece024aca9d163b8aa24100d9d7d
[ "MIT" ]
null
null
null
require SftpEx.Helpers, as: S require Logger defmodule SFTP.AccessService do @moduledoc "Functions for accessing files and directories" @sftp Application.get_env(:sftp_ex, :sftp_service, SFTP.Service) @doc """ Closes an open file Returns :ok, or {:error, reason} """ def close(connection, handle, _path \...
26.482759
72
0.611979
799c4404fdfb7138f17a643faeebfb759a3f12b1
184
exs
Elixir
priv/repo/migrations/20200423155735_add_variant_to_chapters.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
priv/repo/migrations/20200423155735_add_variant_to_chapters.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
priv/repo/migrations/20200423155735_add_variant_to_chapters.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Repo.Migrations.AddVariantToChapters do use Ecto.Migration def change do alter table(:chapters) do add(:variant, :string, null: false) end end end
18.4
55
0.711957
799c48973b2702a16230c06fe977ae695270ea0b
7,464
exs
Elixir
test/avrora/schema/encoder_test.exs
raphaklaus/avrora
c59a45bf84f726d3892cc13a2344965d0e5ef6ad
[ "MIT" ]
59
2019-07-11T15:29:26.000Z
2022-03-23T19:35:55.000Z
test/avrora/schema/encoder_test.exs
raphaklaus/avrora
c59a45bf84f726d3892cc13a2344965d0e5ef6ad
[ "MIT" ]
63
2019-08-09T17:52:26.000Z
2022-03-16T22:08:04.000Z
test/avrora/schema/encoder_test.exs
raphaklaus/avrora
c59a45bf84f726d3892cc13a2344965d0e5ef6ad
[ "MIT" ]
22
2019-07-29T10:50:47.000Z
2021-09-04T13:37:08.000Z
defmodule Avrora.Schema.EncoderTest do use ExUnit.Case, async: true doctest Avrora.Schema.Encoder import Support.Config alias Avrora.Schema setup :support_config describe "from_json/2" do test "when payload is a valid Record json schema" do {:ok, schema} = Schema.Encoder.from_json(payment_json(...
38.474227
410
0.640541
799c7163e8bf3de80d485a313fade15dd2cc9756
2,300
ex
Elixir
lib/paddington/transducers/launchpad_transducer.ex
lucidstack/paddington
24e7709e33d096d7f0d9c5a6e58401b8c6806bcc
[ "Apache-2.0" ]
6
2016-04-09T00:13:20.000Z
2019-04-15T11:47:59.000Z
lib/paddington/transducers/launchpad_transducer.ex
lucidstack/paddington
24e7709e33d096d7f0d9c5a6e58401b8c6806bcc
[ "Apache-2.0" ]
1
2018-03-19T00:08:52.000Z
2018-03-19T00:08:52.000Z
lib/paddington/transducers/launchpad_transducer.ex
lucidstack/paddington
24e7709e33d096d7f0d9c5a6e58401b8c6806bcc
[ "Apache-2.0" ]
1
2018-03-18T23:56:29.000Z
2018-03-18T23:56:29.000Z
defmodule Paddington.Transducers.LaunchpadTransducer do @behaviour Paddington.Transducer import Logger, only: [warn: 1] defmodule OutOfBoundsCoordsError, do: defexception [:message] defmacro in_bounds(coord), do: quote do: unquote(coord) >= 0 and unquote(coord) <= 7 @grid_status 144 @right_status 144...
28.75
89
0.635652
799cbb84ff4e9710b9730d62f7d96ceb2a72b802
356
ex
Elixir
lib/veil.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
null
null
null
lib/veil.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
null
null
null
lib/veil.ex
hassan/veil
345b5d3539ccaba7e51b4e83583e9d15d8379fd4
[ "MIT" ]
null
null
null
defmodule Veil do @moduledoc """ Documentation for Veil. """ use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Veil.Scheduler, []), worker(Veil.Secret, []) ] opts = [strategy: :one_for_one, name: Veil.Supervisor] Supervisor.s...
17.8
58
0.643258