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
d5fa7cb93692f41b5ab340bf0c8beddbacdadd69
266
exs
Elixir
priv/repo/migrations/20190313005510_pg_notify_help_topics.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
priv/repo/migrations/20190313005510_pg_notify_help_topics.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
priv/repo/migrations/20190313005510_pg_notify_help_topics.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Data.Repo.Migrations.PgNotifyHelpTopics do use Ecto.Migration def change do execute(""" CREATE TRIGGER config_changed AFTER INSERT OR UPDATE ON help_topics FOR EACH ROW EXECUTE PROCEDURE notify_row_changes() """) end end
19
52
0.714286
d5fa9adea2daab603aae30a89e4bab79bd067d33
1,837
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_bounding_poly.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_bounding_poly.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_bounding_poly.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.22807
161
0.752858
d5fa9b2b8d08a016e31820e290997e755d042ef6
1,054
ex
Elixir
lib/budget.ex
CodeDraken/elixir-bank-formatter
21666f22df12de270c8190bec9a456668a021313
[ "MIT" ]
null
null
null
lib/budget.ex
CodeDraken/elixir-bank-formatter
21666f22df12de270c8190bec9a456668a021313
[ "MIT" ]
null
null
null
lib/budget.ex
CodeDraken/elixir-bank-formatter
21666f22df12de270c8190bec9a456668a021313
[ "MIT" ]
null
null
null
defmodule Budget do alias NimbleCSV.RFC4180, as: CSV def list_transactions do # expect csv to exist & read it grabbing content only "lib/transactions.csv" |> File.read! |> CSV.parse_string |> filter |> normalize |> sort |> print end defp filter(rows) do Enum.map(rows, &Enum...
20.269231
87
0.648008
d5faa8d087272ee14ce57394c5e7e21328d75e91
1,034
ex
Elixir
lib/model/balance.ex
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
8
2015-05-17T20:19:30.000Z
2021-04-07T09:48:10.000Z
lib/model/balance.ex
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
3
2015-05-04T07:44:42.000Z
2016-10-14T22:59:42.000Z
lib/model/balance.ex
fbettag/mt940
c98a0d2b9592ad083478336a1368512b7ed2210a
[ "MIT" ]
6
2015-05-04T01:35:24.000Z
2020-08-29T06:28:32.000Z
defmodule MT940.Balance do @moduledoc false use Timex defmacro __using__(_) do quote do import Helper defstruct [ :modifier, :content, :balance_type, :sign, :currency, :amount, :date ] @type t :: %__MODULE__{} use MT940....
22.977778
116
0.526112
d5faa9dfe2ae3d46cda36cb2d255ce7f2df34fef
5,391
exs
Elixir
test/dnsimple/contacts_test.exs
remiprev/dnsimple-elixir
7a8eb0cec64797f3e72601b5395d8629836ef904
[ "MIT" ]
null
null
null
test/dnsimple/contacts_test.exs
remiprev/dnsimple-elixir
7a8eb0cec64797f3e72601b5395d8629836ef904
[ "MIT" ]
14
2021-02-19T07:09:55.000Z
2022-02-24T12:33:37.000Z
test/dnsimple/contacts_test.exs
littleairmada/dnsimple-elixir
a1b71a9c84d1a440f86199b8f48754e1c88ca19f
[ "MIT" ]
null
null
null
defmodule Dnsimple.ContactsTest do use TestCase, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney @module Dnsimple.Contacts @client %Dnsimple.Client{access_token: "i-am-a-token", base_url: "https://api.dnsimple.test"} describe ".list_contacts" do setup do url = "#{@client.base_url}/v2/1...
37.4375
112
0.641625
d5fabf0bf732abc689c1e7f83e76520bb217f5b5
589
ex
Elixir
lib/exq/support/process.ex
famkampm/exq
4a5207fef305306e4f1b55255bb3dad27b9f9b21
[ "Apache-2.0" ]
1,406
2015-01-16T03:00:32.000Z
2022-03-28T11:38:22.000Z
lib/exq/support/process.ex
famkampm/exq
4a5207fef305306e4f1b55255bb3dad27b9f9b21
[ "Apache-2.0" ]
372
2015-01-08T05:15:11.000Z
2022-03-18T18:05:34.000Z
lib/exq/support/process.ex
famkampm/exq
4a5207fef305306e4f1b55255bb3dad27b9f9b21
[ "Apache-2.0" ]
217
2015-02-01T20:21:36.000Z
2022-01-28T16:19:55.000Z
defmodule Exq.Support.Process do @moduledoc """ Struct for in progress worker. """ defstruct pid: nil, host: nil, job: nil, started_at: nil alias Exq.Support.Config @doc """ Serialize process to JSON. """ def encode(%__MODULE__{} = process) do Config.serializer().encode_process(%{ pid: pro...
21.035714
58
0.658744
d5fae74d127fb166afd503acc9cfd88439aa0afa
2,378
ex
Elixir
lib/pbkdf2/stats.ex
sebn/pbkdf2_elixir
c892b7d9f0a20e749288217d57a18da6fe000fca
[ "BSD-3-Clause" ]
null
null
null
lib/pbkdf2/stats.ex
sebn/pbkdf2_elixir
c892b7d9f0a20e749288217d57a18da6fe000fca
[ "BSD-3-Clause" ]
null
null
null
lib/pbkdf2/stats.ex
sebn/pbkdf2_elixir
c892b7d9f0a20e749288217d57a18da6fe000fca
[ "BSD-3-Clause" ]
null
null
null
defmodule Pbkdf2.Stats do @moduledoc """ Module to provide statistics for the Pbkdf2 password hashing function. ## Configuring Pbkdf2 The main configuration option for Pbkdf2 is the number of rounds that it uses. Increasing this value will increase the complexity, and time taken, of the Pbkdf2 function. ...
33.971429
89
0.707317
d5fb3acf6d45a321e66e3268ca749f847b2e0f93
588
ex
Elixir
lib/extwitter/api/shared/models/request_token.ex
PJUllrich/extwitter
edee88d5b9411bd0e3226c295362e328ae73255d
[ "MIT" ]
null
null
null
lib/extwitter/api/shared/models/request_token.ex
PJUllrich/extwitter
edee88d5b9411bd0e3226c295362e328ae73255d
[ "MIT" ]
null
null
null
lib/extwitter/api/shared/models/request_token.ex
PJUllrich/extwitter
edee88d5b9411bd0e3226c295362e328ae73255d
[ "MIT" ]
null
null
null
defmodule ExTwitter.Model.RequestToken do @moduledoc """ Request Token object. ## Reference [POST oauth/request_token](https://developer.twitter.com/en/docs/basics/authentication/api-reference/request_token) """ @derive {Inspect, except: [:raw_data]} defstruct oauth_token: nil, oauth_token_s...
26.727273
117
0.64966
d5fb4f93e052dda1d87938cf6db6ee417afe47f6
4,150
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_acl.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_acl.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/item_acl.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...
47.159091
176
0.722651
d5fb5f141bf1831f396d5dfc8cb191cc1035f8c0
160
ex
Elixir
apps/ui/web/views/pin_view.ex
joshuawscott/led_control
e7851442b70dfb9940d5bd81463cc05e619b4faa
[ "MIT" ]
null
null
null
apps/ui/web/views/pin_view.ex
joshuawscott/led_control
e7851442b70dfb9940d5bd81463cc05e619b4faa
[ "MIT" ]
null
null
null
apps/ui/web/views/pin_view.ex
joshuawscott/led_control
e7851442b70dfb9940d5bd81463cc05e619b4faa
[ "MIT" ]
null
null
null
defmodule Ui.PinView do use Ui.Web, :view require Logger def render("show.json", %{pin: pin, state: state}) do %{ pin: pin, state: state } end end
17.777778
55
0.6375
d5fb88a17f7aa2f320b4f9c4aa1ce28be26131fe
1,193
ex
Elixir
example_app/web/channels/user_socket.ex
jespr/noegle
e14953085d38384c80993dd750aa85202db11418
[ "MIT" ]
null
null
null
example_app/web/channels/user_socket.ex
jespr/noegle
e14953085d38384c80993dd750aa85202db11418
[ "MIT" ]
1
2017-05-08T15:09:09.000Z
2017-05-10T06:05:24.000Z
example_app/web/channels/user_socket.ex
jespr/noegle
e14953085d38384c80993dd750aa85202db11418
[ "MIT" ]
null
null
null
defmodule NoegleExampleApp.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", NoegleExampleApp.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to ...
31.394737
89
0.708298
d5fb8c57fea87e12eccf0634d44791784d9a0fbb
1,282
ex
Elixir
apps/odd_job_web/lib/odd_job_web/guardian.ex
holsee/odd_job
299117ef7cc5c67e8dbe1fc1f47253ff1cda4b2d
[ "MIT" ]
2
2019-09-15T22:55:28.000Z
2020-01-12T17:39:27.000Z
apps/odd_job_web/lib/odd_job_web/guardian.ex
holsee/odd_job
299117ef7cc5c67e8dbe1fc1f47253ff1cda4b2d
[ "MIT" ]
2
2021-03-09T16:37:48.000Z
2021-05-10T12:02:31.000Z
apps/odd_job_web/lib/odd_job_web/guardian.ex
holsee/odd_job
299117ef7cc5c67e8dbe1fc1f47253ff1cda4b2d
[ "MIT" ]
null
null
null
defmodule OddJobWeb.Guardian do use Guardian, otp_app: :odd_job_web use Guardian.Permissions def subject_for_token(%{id: id}, _claims) do {:ok, to_string(id)} end def subject_for_token(_, _) do {:error, :no_resource_id} end def resource_from_claims(%{"sub" => sub}) do {:ok, OddJob.Acco...
22.892857
73
0.702028
d5fb9085ca3e1a00b618ee1477057df3c42adfe4
2,923
ex
Elixir
server/lib/adapters/postgres/epgsql_implementation.ex
benmccann/realtime
b824fd80e769d56d34ffbaf5355705bc6f3a2aba
[ "Apache-2.0" ]
7
2020-07-15T17:57:51.000Z
2022-01-30T04:37:57.000Z
server/lib/adapters/postgres/epgsql_implementation.ex
benmccann/realtime
b824fd80e769d56d34ffbaf5355705bc6f3a2aba
[ "Apache-2.0" ]
1
2021-06-09T07:27:30.000Z
2021-06-09T07:27:30.000Z
server/lib/adapters/postgres/epgsql_implementation.ex
benmccann/realtime
b824fd80e769d56d34ffbaf5355705bc6f3a2aba
[ "Apache-2.0" ]
2
2021-06-08T05:01:10.000Z
2021-06-09T06:23:34.000Z
# This file draws heavily from https://github.com/cainophile/cainophile # License: https://github.com/cainophile/cainophile/blob/master/LICENSE defmodule Realtime.Adapters.Postgres.EpgsqlImplementation do @behaviour Realtime.Adapters.Postgres.AdapterBehaviour alias Realtime.Replication.State @impl true def i...
27.838095
98
0.600411
d5fb955fcf872b06ab698c232ffb12bf38e921d1
760
ex
Elixir
lib/chat_api_web/controllers/user_profile_controller.ex
m1ome/papercups
8c9bf5569dc23d7bce3fcc3a8909bf6d05be8985
[ "MIT" ]
1
2020-10-02T18:33:47.000Z
2020-10-02T18:33:47.000Z
lib/chat_api_web/controllers/user_profile_controller.ex
kingshalaby1/papercups
8d59b2ee4a22dd29df42fb771e02db14e14dee68
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/user_profile_controller.ex
kingshalaby1/papercups
8d59b2ee4a22dd29df42fb771e02db14e14dee68
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.UserProfileController do use ChatApiWeb, :controller alias ChatApi.Users action_fallback ChatApiWeb.FallbackController def show(conn, _params) do with %{id: user_id} <- conn.assigns.current_user do user_profile = Users.get_user_info(user_id) render(conn, "show.json", user...
31.666667
78
0.709211
d5fb97c5e1b59c20780a025c150b8416b819fdfd
404
exs
Elixir
test/fixtures/inputs_bench.exs
kianmeng/benchee_dsl
79e120ded84645192af372a5a45f9256ddb83313
[ "MIT" ]
3
2020-07-18T11:02:23.000Z
2021-06-24T12:32:56.000Z
test/fixtures/inputs_bench.exs
kianmeng/benchee_dsl
79e120ded84645192af372a5a45f9256ddb83313
[ "MIT" ]
6
2020-05-02T15:32:26.000Z
2020-10-22T11:33:08.000Z
test/fixtures/inputs_bench.exs
kianmeng/benchee_dsl
79e120ded84645192af372a5a45f9256ddb83313
[ "MIT" ]
1
2020-10-22T11:06:05.000Z
2020-10-22T11:06:05.000Z
defmodule InputsBench do use BencheeDsl.Benchmark inputs %{ "Small" => Enum.to_list(1..1_000), "Medium" => Enum.to_list(1..10_000), "Bigger" => Enum.to_list(1..100_000) } config time: 1 job flat_map(input) do Enum.flat_map(input, &map_fun/1) end job "map.flatten", input do input |>...
18.363636
51
0.621287
d5fbcf5a252b849cec1aeabf0ddc65e5dc1fef32
3,278
exs
Elixir
apps/ewallet/test/ewallet/web/v1/serializers/user_serializer_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/v1/serializers/user_serializer_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/v1/serializers/user_serializer_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.V1.UserSerializerTest do use EWallet.Web.SerializerCase, :v1 alias EWallet.Web.V1.UserSerializer alias Ecto.Association.NotLoaded alias EWallet.Web.{Date, Paginator} describe "serialize/1" do test "serializes a user into correct JSON format" do user = insert(:user) expe...
28.258621
60
0.526236
d5fc08bbb9ee94fb15e9cb8f84f320b906fd3563
1,228
exs
Elixir
mix.exs
elixir-vision/zbar
7c319ef1d4316b3610abfa1979bae3b93fbf3672
[ "MIT" ]
9
2019-04-10T19:32:43.000Z
2021-01-08T22:46:22.000Z
mix.exs
elixir-vision/zbar
7c319ef1d4316b3610abfa1979bae3b93fbf3672
[ "MIT" ]
2
2019-08-03T19:52:57.000Z
2020-09-21T04:49:10.000Z
mix.exs
elixir-vision/zbar
7c319ef1d4316b3610abfa1979bae3b93fbf3672
[ "MIT" ]
4
2020-08-20T12:25:03.000Z
2021-04-22T16:57:49.000Z
defmodule Zbar.Mixfile do use Mix.Project def project do [ app: :zbar, version: "0.2.1", description: "Scan one or more barcodes from a JPEG image", elixir: "~> 1.4", make_targets: ["all"], make_clean: ["clean"], compilers: [:elixir_make | Mix.compilers()], build...
20.466667
74
0.513844
d5fc092a3459de357a57e59f9191f82338616f82
1,904
ex
Elixir
lib/cforum_web.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use CforumWeb, :controller use CforumWeb, :view The definitions below will be executed for every view, controller, etc, so keep them short and...
20.923077
101
0.676996
d5fc15214f7725105be7ced15ce1039d7c930f09
1,995
ex
Elixir
lib/coxir/gateway.ex
Xh4H/coxir
72295f796e9e540891c63a21126be4d10e5841fc
[ "Apache-2.0" ]
null
null
null
lib/coxir/gateway.ex
Xh4H/coxir
72295f796e9e540891c63a21126be4d10e5841fc
[ "Apache-2.0" ]
3
2018-08-27T06:12:34.000Z
2018-10-19T05:42:34.000Z
lib/coxir/gateway.ex
Xh4H/coxir
72295f796e9e540891c63a21126be4d10e5841fc
[ "Apache-2.0" ]
null
null
null
defmodule Coxir.Gateway do @moduledoc """ In charge of supervising all the shards, provides methods to interact with them. """ use Supervisor alias Coxir.API alias Coxir.Gateway.Worker @doc false def start_link do token = Coxir.token() %{url: gateway, shards: shards} = API.request(:get, "g...
20.357143
86
0.596491
d5fc420bf1679093bf158c256309ade57c7a6aa6
8,125
exs
Elixir
test/typed_struct_test.exs
Youimmi/typed_struct
7c26d1654097476ebae9944ba6675a0f3fd21e9d
[ "MIT" ]
null
null
null
test/typed_struct_test.exs
Youimmi/typed_struct
7c26d1654097476ebae9944ba6675a0f3fd21e9d
[ "MIT" ]
null
null
null
test/typed_struct_test.exs
Youimmi/typed_struct
7c26d1654097476ebae9944ba6675a0f3fd21e9d
[ "MIT" ]
null
null
null
defmodule TypedStructTest do use ExUnit.Case ############################################################################ ## Test data ## ############################################################################ # Store the bytecode so we can g...
30.317164
80
0.589169
d5fc42af8a32d59b2f7e7f28814d8f6b29d164fd
3,064
ex
Elixir
lib/chat_api_web/controllers/event_subscription_controller.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
lib/chat_api_web/controllers/event_subscription_controller.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
lib/chat_api_web/controllers/event_subscription_controller.ex
ZmagoD/papercups
dff9a5822b809edc4fd8ecf198566f9b14ab613f
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule ChatApiWeb.EventSubscriptionController do use ChatApiWeb, :controller alias ChatApi.EventSubscriptions alias ChatApi.EventSubscriptions.EventSubscription action_fallback ChatApiWeb.FallbackController @spec index(Plug.Conn.t(), map()) :: Plug.Conn.t() def index(conn, _params) do with %{accou...
35.627907
95
0.689295
d5fc4a40d25df2707195543e9fc4ef9da0a5fdf6
4,964
ex
Elixir
test/protobuf/protoc/proto_gen/test.pb.ex
hayesgm/protobuf-ex
9ca03063de265a9690f341fcda77055613f4ff17
[ "MIT" ]
null
null
null
test/protobuf/protoc/proto_gen/test.pb.ex
hayesgm/protobuf-ex
9ca03063de265a9690f341fcda77055613f4ff17
[ "MIT" ]
null
null
null
test/protobuf/protoc/proto_gen/test.pb.ex
hayesgm/protobuf-ex
9ca03063de265a9690f341fcda77055613f4ff17
[ "MIT" ]
null
null
null
defmodule My.Test.Request do use Protobuf, syntax: :proto2 @type t :: %__MODULE__{ key: [integer], hue: integer, hat: integer, deadline: float, somegroup: any, name_mapping: %{integer => String.t}, msg_mapping: %{integer => My.Test.Reply.t}, reset:...
24.944724
100
0.670427
d5fc76cfc987f16d4c96f857455cced98472e78f
292
ex
Elixir
presentation/snippets/jade/grunt.ex
mabrasil/slides-nug_ce-2015
dedd5c2ca1bbc109b5895ae136eac72a399c2ebd
[ "MIT" ]
null
null
null
presentation/snippets/jade/grunt.ex
mabrasil/slides-nug_ce-2015
dedd5c2ca1bbc109b5895ae136eac72a399c2ebd
[ "MIT" ]
null
null
null
presentation/snippets/jade/grunt.ex
mabrasil/slides-nug_ce-2015
dedd5c2ca1bbc109b5895ae136eac72a399c2ebd
[ "MIT" ]
null
null
null
module.exports = function(grunt) { 'use strict'; grunt.initConfig({ jade: { compile: { files: { "index.html": ["src/templates/*.jade"] } } } }); grunt.loadNpmTasks('grunt-contrib-jade'); grunt.registerTask('default', ['jade']); };
14.6
48
0.520548
d5fc86b574c159b68d37ab03519b0cefb451e804
2,036
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_image_oriented_bounding_box_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_image_oriented_bounding_box_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_label_image_oriented_bounding_box_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.103448
173
0.77947
d5fc9c714d91f4932c8213f96acdf3c0aad58a6e
2,106
ex
Elixir
lib/jsonapi_paginator.ex
agleb/jsonapi_paginator
c57c674c61c3e5287f4d38604393fdc5ba267d63
[ "MIT" ]
null
null
null
lib/jsonapi_paginator.ex
agleb/jsonapi_paginator
c57c674c61c3e5287f4d38604393fdc5ba267d63
[ "MIT" ]
null
null
null
lib/jsonapi_paginator.ex
agleb/jsonapi_paginator
c57c674c61c3e5287f4d38604393fdc5ba267d63
[ "MIT" ]
null
null
null
defmodule JsonapiPaginator do @moduledoc """ Simple pagination links renderer for the JSON API """ @doc """ Render links based on the data, given in params map ``` %{ base_url: base_url, page_number: page_number, page_size: page_size, total_pages: total_page...
24.206897
86
0.566952
d5fcc2c3951bbad55197aad918849b053aa6fe1a
2,694
ex
Elixir
lib/authable/grant_types/client_credentials.ex
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
null
null
null
lib/authable/grant_types/client_credentials.ex
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
null
null
null
lib/authable/grant_types/client_credentials.ex
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
1
2021-01-12T00:55:56.000Z
2021-01-12T00:55:56.000Z
defmodule Authable.GrantType.ClientCredentials do @moduledoc """ ClientCredentials grant type for OAuth2 Authorization Server """ use Authable.RepoBase import Authable.Config, only: [repo: 0, app_scopes: 0] import Authable.GrantType.Base alias Authable.GrantType.Error, as: GrantTypeError @behaviour Au...
32.071429
81
0.703415
d5fccb7e67c6e62411cc9c297f2b4f1d717b88d5
2,142
ex
Elixir
lib/steamex/auth/plug.ex
csgo-pug-system/steamex
6b01ec48ba0945450dfa41c03efa562aba7bf747
[ "Apache-2.0" ]
null
null
null
lib/steamex/auth/plug.ex
csgo-pug-system/steamex
6b01ec48ba0945450dfa41c03efa562aba7bf747
[ "Apache-2.0" ]
null
null
null
lib/steamex/auth/plug.ex
csgo-pug-system/steamex
6b01ec48ba0945450dfa41c03efa562aba7bf747
[ "Apache-2.0" ]
null
null
null
defmodule Steamex.Auth.Plug do @moduledoc """ A Plug for handling the return_to request for a Steam auth attempt. If you are using Phoenix, please see `Steamex.Auth.Phoenix`. You should mount this plug at the URL you pass as the `return_to` when calling `Steamex.Auth.auth_url/2`. If the payload from...
32.953846
79
0.651261
d5fcda13977fd60549ed806ccd7ade5e7541d485
13,816
exs
Elixir
apps/nerves_hub_web_core/test/nerves_hub_web_core/firmwares/firmwares_test.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_web_core/test/nerves_hub_web_core/firmwares/firmwares_test.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_web_core/test/nerves_hub_web_core/firmwares/firmwares_test.exs
nerves-hub/beamware
5c239b7125a82d8fcb2b84ff1ad22d3bb0af01eb
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWebCore.FirmwaresTest do use NervesHubWebCore.DataCase, async: true use Oban.Testing, repo: NervesHubWebCore.Repo alias NervesHubWebCore.{ Accounts, Accounts.OrgLimit, DeltaUpdaterMock, Deployments, Firmwares, Firmwares.Firmware, Fixtures, Repo, Support.Fwup...
32.130233
94
0.648885
d5fcf4fdc3a925798d93bc0a4fbc19cf131ec3a2
3,324
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/in_toto.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/in_toto.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/in_toto.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...
47.485714
306
0.727437
d5fd179a23f7ec108617f7a016a90a5f12aa23b9
899
ex
Elixir
lib/EventStage/commandstage.ex
ElinksFr/alchemy
4c64e5c619977a62a5674dbd2b1ef29f76f6f44e
[ "MIT" ]
163
2017-03-01T09:02:35.000Z
2022-03-09T23:31:48.000Z
lib/EventStage/commandstage.ex
ElinksFr/alchemy
4c64e5c619977a62a5674dbd2b1ef29f76f6f44e
[ "MIT" ]
91
2017-02-23T23:23:35.000Z
2021-12-29T23:47:44.000Z
lib/EventStage/commandstage.ex
ElinksFr/alchemy
4c64e5c619977a62a5674dbd2b1ef29f76f6f44e
[ "MIT" ]
38
2017-03-23T13:16:44.000Z
2022-02-26T15:53:32.000Z
defmodule Alchemy.EventStage.CommandStage do # One of the 2 parts of the third stage of the pipeline @moduledoc false # This serves to figure out which message create events # contain a command needing to be run, and then send those forward # to the final stage use GenStage alias Alchemy.EventStage.Cacher...
28.09375
68
0.707453
d5fd1e3ef3b493e92af8b7a91e1052e14125cfd6
602
ex
Elixir
lib/docusign/model/bulk_recipients_update_response.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/bulk_recipients_update_response.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/bulk_recipients_update_response.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.Model.BulkRecipientsUpdateResponse do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :signer ] @type t :: %__...
21.5
75
0.707641
d5fd5ba981d32f8faa7cc4741459efa1262e9c9b
212
ex
Elixir
lib/phone/nanp/gd.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/nanp/gd.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/nanp/gd.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.NANP.GD do @moduledoc false use Helper.Country def regex, do: ~r/^(1)(473)([2-9].{6})$/ def country, do: "Grenada" def a2, do: "GD" def a3, do: "GRD" matcher :regex, ["1473"] end
16.307692
42
0.599057
d5fd7614bcf021e5bd7970448b102e9ee8dd8197
1,808
ex
Elixir
test/support/model_case.ex
prashantpawar/kitteh-test
8b5b9e8a080b495ea6f506597a1bb66be56de064
[ "MIT" ]
null
null
null
test/support/model_case.ex
prashantpawar/kitteh-test
8b5b9e8a080b495ea6f506597a1bb66be56de064
[ "MIT" ]
null
null
null
test/support/model_case.ex
prashantpawar/kitteh-test
8b5b9e8a080b495ea6f506597a1bb66be56de064
[ "MIT" ]
null
null
null
defmodule KittehTest.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. F...
27.393939
84
0.688053
d5fd83a6323f5feec6383318f369ce3342ad3b54
351
ex
Elixir
todo/lib/todo/metrics.ex
ug0/play_with_elixir
03a9c3f088e275d89ac7b5dde86d479e37c17840
[ "MIT" ]
null
null
null
todo/lib/todo/metrics.ex
ug0/play_with_elixir
03a9c3f088e275d89ac7b5dde86d479e37c17840
[ "MIT" ]
null
null
null
todo/lib/todo/metrics.ex
ug0/play_with_elixir
03a9c3f088e275d89ac7b5dde86d479e37c17840
[ "MIT" ]
null
null
null
defmodule Todo.Metrics do use Task def start_link(_) do Task.start_link(&loop/0) end defp loop do Process.sleep(:timer.seconds(10)) IO.inspect(collect_metrics()) loop() end defp collect_metrics do [ memory_usage: :erlang.memory(:total), process_count: :erlang.system_info(:...
16.714286
56
0.663818
d5fd86b560b9287f7428d437dec3791297d515d5
2,938
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/google_cloud_servicenetworking_v1beta_connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/google_cloud_servicenetworking_v1beta_connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/google_cloud_servicenetworking_v1beta_connection.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...
48.163934
389
0.7403
d5fdb0e7b12fa90e7c143c65ffba4bb2548c5817
1,921
ex
Elixir
clients/content/lib/google_api/content/v21/model/productstatuses_custom_batch_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v21/model/productstatuses_custom_batch_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v21/model/productstatuses_custom_batch_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.927273
174
0.741801
d5fdbf64890f1fe820fa798ee5981128165d6ca9
1,716
ex
Elixir
apps/artemis/lib/artemis/contexts/wiki_page/list_wiki_pages.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/lib/artemis/contexts/wiki_page/list_wiki_pages.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/lib/artemis/contexts/wiki_page/list_wiki_pages.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.ListWikiPages do use Artemis.Context import Artemis.Helpers.Filter import Artemis.Helpers.Search import Ecto.Query alias Artemis.Repo alias Artemis.WikiPage @default_order "slug" @default_page_size 25 @default_preload [:user] def call(params \\ %{}, user) do params = defaul...
29.084746
110
0.673077
d5fdc5b18643ae521dd9d1f8bd070f7ff4f548f7
374
ex
Elixir
web/views/error_view.ex
tomaszj/nope-phoenix-app
46bbc16158115bc7db3971049cc8cf617b8ac6e1
[ "MIT" ]
null
null
null
web/views/error_view.ex
tomaszj/nope-phoenix-app
46bbc16158115bc7db3971049cc8cf617b8ac6e1
[ "MIT" ]
null
null
null
web/views/error_view.ex
tomaszj/nope-phoenix-app
46bbc16158115bc7db3971049cc8cf617b8ac6e1
[ "MIT" ]
null
null
null
defmodule NopeApp.ErrorView do use NopeApp.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template,...
20.777778
47
0.697861
d5fdcd878e32f5fb00fe30a8de809b0d7ac674cc
4,339
ex
Elixir
apps/omg_status/lib/omg_status/monitor/statsd_monitor.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_status/lib/omg_status/monitor/statsd_monitor.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_status/lib/omg_status/monitor/statsd_monitor.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.904412
107
0.681032
d5fde938d7a7b7c2a30472d3cabfd11871caf98c
4,539
ex
Elixir
apps/omg/lib/omg/signature.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg/lib/omg/signature.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
apps/omg/lib/omg/signature.ex
karmonezz/elixir-omg
3b26fc072fa553992277e1b9c4bad37b3d61ec6a
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
37.825
132
0.64067
d5fdf718ab4870d957c95381db9141da34841def
264
ex
Elixir
apps/web_server/lib/web_server/routes/tag_router.ex
anyex-project/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
12
2019-02-21T21:29:08.000Z
2019-05-14T11:41:10.000Z
apps/web_server/lib/web_server/routes/tag_router.ex
Hentioe/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
18
2019-02-05T17:19:33.000Z
2019-03-13T13:38:08.000Z
apps/web_server/lib/web_server/routes/tag_router.ex
Hentioe/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
null
null
null
defmodule WebServer.Routes.TagRouter do @moduledoc false alias Storage.Schema.{Tag} use WebServer.Router, schema: Tag, include: [:list, :admin_list, :admin_add, :admin_update, :status_manage, :top] use WebServer.RouterHelper, :default_routes end
24
82
0.742424
d5fe60ed4f34ba51650b879067656c012cb7b6e6
5,396
exs
Elixir
exercises/concept/library-fees/test/library_fees_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
1
2021-06-09T06:57:02.000Z
2021-06-09T06:57:02.000Z
exercises/concept/library-fees/test/library_fees_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
6
2022-03-04T13:05:25.000Z
2022-03-30T18:36:49.000Z
exercises/concept/library-fees/test/library_fees_test.exs
SaschaMann/elixir
2489747bba72a0ba5efa27e7e00441a428fdf987
[ "MIT" ]
null
null
null
defmodule LibraryFeesTest do use ExUnit.Case describe "datetime_from_string/1" do @task_id 1 test "returns NaiveDateTime" do result = LibraryFees.datetime_from_string("2021-01-01T12:00:00Z") assert result.__struct__ == NaiveDateTime end @task_id 1 test "parses an ISO8601 string" do...
33.104294
116
0.663084
d5fe6b645d1d7b92e35c2eb31d097e9907a2f581
4,088
ex
Elixir
lib/barracuda/builder.ex
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
6
2016-08-24T17:53:31.000Z
2021-02-05T11:18:16.000Z
lib/barracuda/builder.ex
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
7
2016-12-28T13:09:30.000Z
2017-03-06T11:11:10.000Z
lib/barracuda/builder.ex
ashneyderman/barracuda
ecce6a1b4a217c0b676d7bfc711897817f4bc12e
[ "MIT" ]
null
null
null
defmodule Barracuda.Builder do @moduledoc ~S""" A DSL to define an interception chain. It provides macro to generate call chains. For example: defmodule GithubClient do use Barracuda.Client interceptor Barracuda.Performance interceptor Barracuda.Validator intercept...
30.507463
109
0.625734
d5fe7a177c1b86c774089ae13e38463d483ec7e7
625
ex
Elixir
lib/pos/menu/dish.ex
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
lib/pos/menu/dish.ex
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
lib/pos/menu/dish.ex
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
defmodule Pos.Menu.Dish do use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "dishes" do field :category, :string field :code, :integer field :description, :string field :name, :string field :need_prepare, :boolean...
25
88
0.6784
d5fe9d719be1a2198d7d0714bca49eb76af42311
4,549
ex
Elixir
lib/mix/phoenix.ex
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
lib/mix/phoenix.ex
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
lib/mix/phoenix.ex
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
defmodule Mix.Phoenix do # Conveniences for Phoenix tasks. @moduledoc false @doc """ Copies files from source dir to target dir according to the given map. Files are evaluated against EEx according to the given binding. """ def copy_from(apps, source_dir, target_dir, binding, mapping) when is_list(m...
28.43125
98
0.56408
d5fea80d912e0bd1187151c0339ce56ae55aca48
1,562
ex
Elixir
git_graphed_api/lib/git_graphed_api_web/channels/user_socket.ex
bahodge/git_graphed
773d34a0522028ef3ecc3f246d8ddf18031205d0
[ "MIT" ]
2
2019-04-14T04:19:08.000Z
2019-04-14T05:22:00.000Z
git_graphed_api/lib/git_graphed_api_web/channels/user_socket.ex
bahodge/git_graphed
773d34a0522028ef3ecc3f246d8ddf18031205d0
[ "MIT" ]
null
null
null
git_graphed_api/lib/git_graphed_api_web/channels/user_socket.ex
bahodge/git_graphed
773d34a0522028ef3ecc3f246d8ddf18031205d0
[ "MIT" ]
null
null
null
defmodule GitGraphedApiWeb.UserSocket do use Phoenix.Socket alias GitGraphedApi.Accounts use Absinthe.Phoenix.Socket, schema: GitGraphedApiWeb.Schema ## Channels channel("__absinthe__:control", GitGraphedApiWeb.AbsintheChannel) # transport(:websocket, Phoenix.Transports.WebSocket) # Socket params ...
30.627451
91
0.690781
d5feb53f07d2d252d73dc21ef1f0ff1a56cfbc49
2,618
ex
Elixir
lib/telegraf.ex
Finbits/telegraf-elixir
2df8d44560286abf5e41035f5ff94cc1ec7b99d6
[ "Apache-2.0" ]
1
2021-12-02T19:29:47.000Z
2021-12-02T19:29:47.000Z
lib/telegraf.ex
Finbits/telegraf-elixir
2df8d44560286abf5e41035f5ff94cc1ec7b99d6
[ "Apache-2.0" ]
5
2022-02-15T13:07:44.000Z
2022-03-28T20:14:56.000Z
lib/telegraf.ex
Finbits/telegraf-elixir
2df8d44560286abf5e41035f5ff94cc1ec7b99d6
[ "Apache-2.0" ]
null
null
null
defmodule Telegraf do use Supervisor @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) @typedoc "Name of the telegraf instance." @type name :: atom() @opts_definition [ name: [ type: :...
25.920792
95
0.632162
d5feda0695260771cfee2b0509f90d82ff719283
69
ex
Elixir
lib/ex_kucoin.ex
mlewis033/ex_kucoin
731b7148d23f10e2ab4f23130bad2e74035a8ce0
[ "MIT" ]
6
2019-05-11T06:08:19.000Z
2022-01-08T11:55:29.000Z
lib/ex_kucoin.ex
mlewis033/ex_kucoin
731b7148d23f10e2ab4f23130bad2e74035a8ce0
[ "MIT" ]
25
2019-10-20T04:19:40.000Z
2022-03-28T17:06:48.000Z
lib/ex_kucoin.ex
mlewis033/ex_kucoin
731b7148d23f10e2ab4f23130bad2e74035a8ce0
[ "MIT" ]
3
2020-07-24T04:38:07.000Z
2022-03-12T22:35:31.000Z
defmodule ExKucoin do @moduledoc """ KuCoin API client """ end
11.5
21
0.666667
d5fedf122b49c3e8c0c3b343360356c0c65d6cfb
57
exs
Elixir
test/test_helper.exs
Route-Now/mailman
24b99cdb8553b441be7e84f2350fe2b93ddd837a
[ "MIT" ]
null
null
null
test/test_helper.exs
Route-Now/mailman
24b99cdb8553b441be7e84f2350fe2b93ddd837a
[ "MIT" ]
null
null
null
test/test_helper.exs
Route-Now/mailman
24b99cdb8553b441be7e84f2350fe2b93ddd837a
[ "MIT" ]
null
null
null
Mailman.TestServerSupervisor.start_link() ExUnit.start()
19
41
0.842105
d5ff1563d2032a0d90b8b10544a69b0b0058ac1d
1,992
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_cancel_survey_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_cancel_survey_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_cancel_survey_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.84
255
0.75502
d5ff47fe4883041844ea93f3df7f15624f6c6798
7,676
ex
Elixir
lib/security/oauth2_plug.ex
LouisMT/Phoenix-API-Toolkit
fda2be3abe253c95ba30fd4334dda88c705aa4ec
[ "Apache-2.0" ]
null
null
null
lib/security/oauth2_plug.ex
LouisMT/Phoenix-API-Toolkit
fda2be3abe253c95ba30fd4334dda88c705aa4ec
[ "Apache-2.0" ]
null
null
null
lib/security/oauth2_plug.ex
LouisMT/Phoenix-API-Toolkit
fda2be3abe253c95ba30fd4334dda88c705aa4ec
[ "Apache-2.0" ]
null
null
null
if Code.ensure_loaded?(:jose) do defmodule PhoenixApiToolkit.Security.Oauth2Plug do @moduledoc """ Plug to verify an Oauth2 JWT. The JWT must be passed to the application in the `authorization` request header prefixed with `Bearer: `. The Plug must be configured with a set of JSON Web Keys used to sig...
36.552381
119
0.636269
d5ff4ca46fe2c1618579e6ddf0ab0feb23595b99
581
exs
Elixir
apps/definition_profile_update/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/definition_profile_update/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/definition_profile_update/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule DefinitionProfileUpdate.MixProject do use Mix.Project def project do [ app: :definition_profile_update, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9"...
18.741935
47
0.554217
d5ff6297eeaabc4ec27668f218be13ab81cd486e
320
ex
Elixir
lib/faktory_worker/random.ex
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
17
2019-04-14T21:35:33.000Z
2019-10-26T10:36:35.000Z
lib/faktory_worker/random.ex
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
75
2019-03-12T12:09:34.000Z
2020-01-04T14:19:11.000Z
lib/faktory_worker/random.ex
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.Random do @moduledoc false def job_id() do random_hex(12) end def process_wid() do random_hex(8) end def string() do random_hex(16) end defp random_hex(byte_length) do byte_length |> :crypto.strong_rand_bytes() |> Base.encode16(case: :lower) end end
14.545455
34
0.66875
d5ff6dcef59d75e51a3a014e291950775d55d86e
3,052
ex
Elixir
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/audit_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
56.518519
1,106
0.751311
d5ff9d975b7aa1c1623074e68261752630451863
16,048
ex
Elixir
apps/domain/lib/domain/projects.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
apps/domain/lib/domain/projects.ex
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
apps/domain/lib/domain/projects.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.000Z
defmodule Domain.Projects do @moduledoc """ The Projects context. """ require Logger import Ecto.Query, warn: false alias Domain.Repo alias Domain.Projects.Assay alias Domain.Projects.Job alias Domain.Projects.Workflow alias Domain.Projects.SampleMetadata @doc """ Returns the list of assays. ...
20.574359
92
0.569292
91001679e56ce2321118ae3860b822ffa13f5600
1,910
exs
Elixir
apps/omg_watcher_rpc/test/omg_watcher_rpc/release_tasks/set_endpoint_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/test/omg_watcher_rpc/release_tasks/set_endpoint_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/test/omg_watcher_rpc/release_tasks/set_endpoint_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
43.409091
119
0.703141
9100227f60d2cd390e885f325b6bb36d9eb38eb8
5,045
ex
Elixir
lib/phoenix_integration/form/messages.ex
roelandvanbatenburg/phoenix_integration
b05007fa987f1a072404ec7727988b7428c07711
[ "Apache-2.0" ]
218
2016-07-29T01:21:45.000Z
2022-02-08T15:19:41.000Z
lib/phoenix_integration/form/messages.ex
roelandvanbatenburg/phoenix_integration
b05007fa987f1a072404ec7727988b7428c07711
[ "Apache-2.0" ]
49
2016-08-06T20:57:43.000Z
2022-01-24T23:46:10.000Z
lib/phoenix_integration/form/messages.ex
roelandvanbatenburg/phoenix_integration
b05007fa987f1a072404ec7727988b7428c07711
[ "Apache-2.0" ]
29
2016-08-18T07:07:37.000Z
2022-01-11T14:39:52.000Z
defmodule PhoenixIntegration.Form.Messages do @moduledoc false # The various messages - both warnings and errors - that can be given to the user. alias PhoenixIntegration.Form.Common @headlines %{ no_such_name_in_form: "You tried to set the value of a tag that isn't in the form.", arity_clash: "You...
30.762195
88
0.566501
910039fc8d6f400ebe27acf3d2b17bca8d2144db
1,813
exs
Elixir
clients/fact_check_tools/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/fact_check_tools/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/fact_check_tools/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.059701
107
0.654164
910062dc6e1ddc3f16631fcf17fbb8279bdfeccd
6,396
ex
Elixir
lib/game/session/login.ex
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
lib/game/session/login.ex
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
lib/game/session/login.ex
deep-spaced/ex_venture
45848abe509620d6d2643b2a780dab01c1ac523b
[ "MIT" ]
null
null
null
defmodule Game.Session.Login do @moduledoc """ Login workflow Displays the MOTD and asks for a login, then password. Will push off to creating an account if that is asked for. """ use Networking.Socket use Game.Environment import Game.Gettext, only: [dgettext: 2] require Logger alias Data.Repo ...
25.686747
112
0.627423
910091b2ba7ce4bc7efa78b13ef695fd452d02e3
685
ex
Elixir
wc3/validator-suite/debian/debian/preinst.ex
Uvacoder/html-demo-code-and-experiments
1bd2ab50afe8f331396c37822301afa8e4903bcd
[ "Apache-2.0" ]
3
2021-11-15T07:54:37.000Z
2021-11-29T03:09:12.000Z
wc3/validator-suite/debian/debian/preinst.ex
Uvacoder/html-demo-code-and-experiments
1bd2ab50afe8f331396c37822301afa8e4903bcd
[ "Apache-2.0" ]
26
2021-11-15T04:26:39.000Z
2021-11-17T00:17:06.000Z
wc3/validator-suite/debian/debian/preinst.ex
Uvacoder/html-demo-code-and-experiments
1bd2ab50afe8f331396c37822301afa8e4903bcd
[ "Apache-2.0" ]
null
null
null
#!/bin/sh # preinst script for vs # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # for details, see ...
19.027778
63
0.624818
91009662b4a46af9e5fa99c171ca49a260d6750d
312
exs
Elixir
apps/admin_api/config/test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/config/test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/config/test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :admin_api, AdminAPI.Endpoint, secret_key_base: "G1DLBdjjJSoSiQRa5Gf8YrWUx5yrX+JFmZx+UBk829W1+e0oJ9TYrW/GkIgrAdfm", server: false config :admin_api, AdminAPI.V1.Endpoint, server: false
31.2
86
0.788462
9101041873e97779ba8b70f17272ddfa4fbb0364
1,435
ex
Elixir
lib/sparql/query/result/formats/csv_decoder.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
lib/sparql/query/result/formats/csv_decoder.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
lib/sparql/query/result/formats/csv_decoder.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
defmodule SPARQL.Query.Result.CSV.Decoder do @moduledoc false use SPARQL.Query.Result.Format.Decoder alias NimbleCSV.RFC4180, as: CSV def decode(content, _opts \\ []) do try do with [header | rows] <- CSV.parse_string(content, skip_headers: false), {:ok, header} <- valid_header(header...
24.741379
82
0.623693
9101074f6d08213418de74721125c7aefddcf640
69
ex
Elixir
lib/ephemeral2_web/views/layout_view.ex
losvedir/ephemeral2
4d48d6b7724127efc4f416ec45c4c2cb28472fc3
[ "MIT" ]
864
2015-05-12T13:00:28.000Z
2022-02-03T20:17:12.000Z
lib/ephemeral2_web/views/layout_view.ex
losvedir/ephemeral2
4d48d6b7724127efc4f416ec45c4c2cb28472fc3
[ "MIT" ]
4
2015-05-13T22:07:17.000Z
2015-07-10T17:03:31.000Z
lib/ephemeral2_web/views/layout_view.ex
losvedir/ephemeral2
4d48d6b7724127efc4f416ec45c4c2cb28472fc3
[ "MIT" ]
71
2015-05-12T13:30:05.000Z
2021-10-01T03:37:40.000Z
defmodule Ephemeral2Web.LayoutView do use Ephemeral2Web, :view end
17.25
37
0.826087
91014f5a3f69bc884dcc0dc6027de0b7e10f845b
560
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_13_ingredients_1.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_13_ingredients_1.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_13_ingredients_1.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.Model.InlineResponse20013Ingredients1 do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"id", :"n...
20
92
0.6875
9101aca5e6b9ec8271aea980b936544bd30250e5
209
exs
Elixir
priv/repo/migrations/20191221113638_create_users.exs
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
1
2019-12-22T16:00:11.000Z
2019-12-22T16:00:11.000Z
priv/repo/migrations/20191221113638_create_users.exs
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
2
2021-03-10T02:31:42.000Z
2021-05-10T22:02:29.000Z
priv/repo/migrations/20191221113638_create_users.exs
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
null
null
null
defmodule Hopper.Repo.Migrations.CreateUsers do import Elixir.Hopper.Repo, only: :functions def up do create_collection("users", :document) end def down do drop_collection("users") end end
17.416667
47
0.727273
9101b19d9bf7fbdc399d6d59d96d0c09fb8bc166
194
exs
Elixir
test/booking_web/controllers/page_controller_test.exs
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
null
null
null
test/booking_web/controllers/page_controller_test.exs
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
2
2021-03-10T16:49:07.000Z
2021-05-11T12:50:22.000Z
test/booking_web/controllers/page_controller_test.exs
mattiaslundberg/booking
469d1469f306b2ab62ce1ee971a825101af6fc7e
[ "MIT" ]
null
null
null
defmodule BookingWeb.PageControllerTest do use BookingWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "app-container" end end
21.555556
54
0.680412
9101ca3c29823f9630eba67163128d585a7055d9
68,987
ex
Elixir
lib/elixir/lib/string.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/string.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [length: 1] defmodule String do @moduledoc ~S""" A String in Elixir is a UTF-8 encoded binary. ## Code points and grapheme cluster The functions in this module act according to the Unicode Standard, version 11.0.0. As per the standard, a code point is a single Unicode Character, ...
27.862278
102
0.645006
9101cbb136dd132dfd5e1e68fd120308d3ec8023
625
exs
Elixir
test/conduit_web/views/error_view_test.exs
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
298
2017-06-05T14:28:23.000Z
2022-03-30T16:53:44.000Z
test/conduit_web/views/error_view_test.exs
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
28
2017-07-21T01:06:47.000Z
2021-03-07T12:32:56.000Z
test/conduit_web/views/error_view_test.exs
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
77
2017-08-14T20:12:03.000Z
2021-12-08T22:24:59.000Z
defmodule ConduitWeb.ErrorViewTest do use ConduitWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(ConduitWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Page not found"}} end tes...
28.409091
66
0.648
9101cf0f5b05926553d83e354724e30a3d6af322
1,326
exs
Elixir
test/gitserv_test.exs
juliettebee/glitter
dd123fe37cfbcd1fc75a971ea94dad661639c072
[ "MIT" ]
null
null
null
test/gitserv_test.exs
juliettebee/glitter
dd123fe37cfbcd1fc75a971ea94dad661639c072
[ "MIT" ]
null
null
null
test/gitserv_test.exs
juliettebee/glitter
dd123fe37cfbcd1fc75a971ea94dad661639c072
[ "MIT" ]
null
null
null
defmodule GitservTest do use ExUnit.Case, async: true use Plug.Test @opts Gitserv.Router.init([]) test "Create git repo" do conn = create_repo("test-repo") assert conn.status == 200 assert conn.resp_body == "Created" delete_repo("test-repo") end test "Delete git repo" do create_rep...
23.678571
114
0.601056
9101d2d9f6ec870d1ba6e06bee2539b5886285c6
711
ex
Elixir
lib/shikoba_web/gettext.ex
vertico/vertico-test
af68000ff99450cf5686d7c5b803931f267c8e19
[ "MIT" ]
3
2021-11-23T23:07:34.000Z
2021-11-24T01:40:01.000Z
lib/shikoba_web/gettext.ex
vertico/vertico-test
af68000ff99450cf5686d7c5b803931f267c8e19
[ "MIT" ]
null
null
null
lib/shikoba_web/gettext.ex
vertico/vertico-test
af68000ff99450cf5686d7c5b803931f267c8e19
[ "MIT" ]
1
2021-07-19T11:48:30.000Z
2021-07-19T11:48:30.000Z
defmodule ShikobaWeb.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 ShikobaWeb.Gettext # Simple translation gettext("Here is t...
28.44
72
0.677918
9101daa89f1e9feb4df4ca9453211ff467089826
2,348
exs
Elixir
mix.exs
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
1
2019-06-21T10:55:33.000Z
2019-06-21T10:55:33.000Z
mix.exs
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
null
null
null
mix.exs
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
null
null
null
defmodule Serum.Mixfile do use Mix.Project @serum_version "1.1.0" def project do [ app: :serum, version: @serum_version, elixir: ">= 1.7.0", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, test_coverage: [tool: ExCoveralls], preferred_cli_en...
23.019608
76
0.51448
9101e7ed01ce1729e90418da0eeba8f75ea9b0e5
5
ex
Elixir
testData/org/elixir_lang/parser_definition/empty_block_dot_operation_parsing_test_case/DecimalWholeNumber.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/empty_block_dot_operation_parsing_test_case/DecimalWholeNumber.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/empty_block_dot_operation_parsing_test_case/DecimalWholeNumber.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
(;).2
5
5
0.2
9101f75915ce6fa23461d50918233fa68a66a3f2
519
exs
Elixir
priv/repo/migrations/20180818155819_create_person_images.exs
allen-garvey/photog-react
c400174d0e456dcbfd565407eb85e8ce80ec59c0
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
priv/repo/migrations/20180818155819_create_person_images.exs
allen-garvey/photog-react
c400174d0e456dcbfd565407eb85e8ce80ec59c0
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/photog/priv/repo/migrations/20180818155819_create_person_images.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Photog.Repo.Migrations.CreatePersonImages do use Ecto.Migration def change do create table(:person_images) do add :person_id, references(:persons, on_delete: :nothing), null: false add :image_id, references(:images, on_delete: :nothing), null: false timestamps() end create...
28.833333
104
0.720617
9101fc58986943cb59182dd99e92d3f59a7677ca
3,195
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/update_table_cell_style_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/docs/lib/google_api/docs/v1/model/update_table_cell_style_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/docs/lib/google_api/docs/v1/model/update_table_cell_style_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
57.053571
558
0.743662
910231287d66e5b13491f7872cacc27646185e71
4,879
ex
Elixir
apps/ewallet_db/lib/ewallet_db/audit.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet_db/lib/ewallet_db/audit.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/lib/ewallet_db/audit.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWalletDB.Audit do @moduledoc """ Ecto Schema representing audits. """ use Arc.Ecto.Schema use Ecto.Schema use EWalletConfig.Types.ExternalID import Ecto.{Changeset, Query} alias Ecto.{Changeset, Multi, UUID} alias EWalletDB.{ Audit, Repo } @primary_key {:uuid, UUID, autogenera...
26.516304
80
0.639885
910259d994ae7448a224180dc17593668c15a6cd
2,502
ex
Elixir
lib/maxmind_csv.ex
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
1
2020-06-20T14:40:16.000Z
2020-06-20T14:40:16.000Z
lib/maxmind_csv.ex
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
null
null
null
lib/maxmind_csv.ex
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MaxMindCSV do @moduledoc """ Adapter for Geolix to work with MaxMind CSV databases. ## Adapter Configuration To start using the adapter with a compatible database you need to add the required configuration entry to your `:geolix` configuration: config :geolix, databas...
32.493506
96
0.708233
91027c934c4f3f867c266592963b694eec2d76c9
96
ex
Elixir
lib/retroflect/mailer.ex
gaslight/retroflect
d98a52dbe4ef14dd50ef06970fba9c673e456647
[ "MIT" ]
3
2021-10-04T15:03:09.000Z
2021-10-05T00:42:19.000Z
lib/retroflect/mailer.ex
gaslight/retroflect
d98a52dbe4ef14dd50ef06970fba9c673e456647
[ "MIT" ]
29
2021-10-04T12:56:21.000Z
2021-10-20T17:38:12.000Z
lib/retroflect/mailer.ex
gaslight/retroflect
d98a52dbe4ef14dd50ef06970fba9c673e456647
[ "MIT" ]
null
null
null
defmodule Retroflect.Mailer do @moduledoc false use Swoosh.Mailer, otp_app: :retroflect end
19.2
41
0.791667
910289b72a55277a124f2932c077c18c70343a42
1,608
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/overlays/activity_log_overlay.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/overlays/activity_log_overlay.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/overlays/activity_log_overlay.ex
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
21.157895
74
0.649254
9102be07bae3a94c2c089110eeb9449648ef2e0a
2,013
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_ship_line_items_shipment_info.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_ship_line_items_shipment_info.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_ship_line_items_shipment_info.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
34.118644
175
0.743666
9102c04df1edd94136eca6ed991436d4a31792d4
2,853
ex
Elixir
lib/ex_doc/config.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/config.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/config.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Config do @moduledoc false @default_source_ref "master" def default_source_ref do @default_source_ref end def before_closing_head_tag(_), do: "" def before_closing_body_tag(_), do: "" defstruct apps: [], api_reference: true, assets: nil, before_c...
33.174419
75
0.527865
9102f0773c25b9fca7e8c73421e75b83d6011d7b
4,078
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_job_trigger.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_job_trigger.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_job_trigger.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...
55.108108
346
0.713095
9102f92125a978a01b738f58df635a73ea08976a
2,037
exs
Elixir
test/models/user_test.exs
jdesilvio/pin-bin-api
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
null
null
null
test/models/user_test.exs
jdesilvio/pin-bin-api
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
5
2018-11-22T01:01:29.000Z
2019-03-15T01:02:43.000Z
test/models/user_test.exs
jdesilvio/pin_bin
3fa1b5ecc21a99e08a11d9bbaf21d558cf5fdbb7
[ "Apache-2.0" ]
null
null
null
defmodule PinBin.UserTest do use PinBin.DataCase alias PinBin.User @valid_attrs %{email: "moe@stooges.com", password: "abc123", username: "moe"} @invalid_attrs %{} describe "changeset/2" do test "changeset with valid attributes" do changeset = User.changeset(%User{}, @valid_attrs) assert ch...
30.402985
79
0.666667
9103170b53953e932a37b873815dd7d9d7f3ed14
2,790
exs
Elixir
test/mix/tasks/nebulex.gen.cache_test.exs
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
1
2021-03-04T12:47:10.000Z
2021-03-04T12:47:10.000Z
test/mix/tasks/nebulex.gen.cache_test.exs
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
test/mix/tasks/nebulex.gen.cache_test.exs
polmiro/nebulex
48215f37a81291b53273753c2eac4a223fc62803
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Nebulex.Gen.CacheTest do use ExUnit.Case, async: false import Nebulex.FileHelpers import Mix.Tasks.Nebulex.Gen.Cache, only: [run: 1] test "generates a new cache" do in_tmp(fn _ -> run(["-c", "Cache"]) assert_file("lib/cache.ex", """ defmodule Cache do use Neb...
21.29771
92
0.554122
91031e924624a08f99727147dadaf4169b311be8
1,638
exs
Elixir
mix.exs
elixir-cldr/cldr_languages
98528bf08268467ea2d338b555ec0af5612e9261
[ "Apache-2.0" ]
null
null
null
mix.exs
elixir-cldr/cldr_languages
98528bf08268467ea2d338b555ec0af5612e9261
[ "Apache-2.0" ]
null
null
null
mix.exs
elixir-cldr/cldr_languages
98528bf08268467ea2d338b555ec0af5612e9261
[ "Apache-2.0" ]
null
null
null
defmodule CldrLanguages.Mixfile do use Mix.Project def project do [ app: :ex_cldr_languages, version: "0.3.1", elixir: "~> 1.5", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), deps: deps(), source_url: "ht...
23.4
120
0.589744
91035d3c98692cc196af11d906e94155b684f038
825
ex
Elixir
backend/lib/spades_web/controllers/api/v1/junk_controller.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
9
2019-10-28T08:48:50.000Z
2021-03-05T09:44:46.000Z
backend/lib/spades_web/controllers/api/v1/junk_controller.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
227
2019-10-28T08:52:58.000Z
2022-02-27T04:31:42.000Z
backend/lib/spades_web/controllers/api/v1/junk_controller.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
4
2020-04-18T19:38:37.000Z
2021-08-02T19:43:03.000Z
defmodule SpadesWeb.API.V1.JunkController do use SpadesWeb, :controller # alias Spades.Rooms # alias Spades.Rooms.Room # alias SpadesUtil.{NameGenerator, Slugify} # alias SpadesGame.GameSupervisor def authtest(conn, _params) do user = conn |> Pow.Plug.current_user() # |> IO.inspect(la...
20.625
73
0.552727
910382afcec7b38def63d4722ade0fe3b73bf9bd
459
ex
Elixir
lib/hl7/2.3.1/segments/ctd.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/segments/ctd.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/segments/ctd.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3_1.Segments.CTD do @moduledoc false require Logger alias HL7.V2_3_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, contact_role: DataTypes.Ce, contact_name: DataTypes.Xpn, contact_address: DataTypes.Xad, contact_location: DataTypes.Pl, contact_co...
24.157895
55
0.712418
91044dc012c07f5d73150aae92656b67c0d9df5a
40,414
ex
Elixir
instrumentation/opentelemetry_phoenix/test/support/phoenix_meta.ex
raphaklaus/opentelemetry-erlang-contrib
b4046eb07395c1751f3a222982720c682a0339fa
[ "Apache-2.0" ]
24
2021-05-07T18:37:11.000Z
2022-03-13T06:21:00.000Z
instrumentation/opentelemetry_phoenix/test/support/phoenix_meta.ex
raphaklaus/opentelemetry-erlang-contrib
b4046eb07395c1751f3a222982720c682a0339fa
[ "Apache-2.0" ]
42
2021-05-10T20:19:22.000Z
2022-03-31T17:48:13.000Z
instrumentation/opentelemetry_phoenix/test/support/phoenix_meta.ex
raphaklaus/opentelemetry-erlang-contrib
b4046eb07395c1751f3a222982720c682a0339fa
[ "Apache-2.0" ]
19
2021-08-30T01:33:54.000Z
2022-03-20T22:01:15.000Z
defmodule PhoenixMeta do def router_dispatch_exception(:plug_wrapper) do %{ conn: %Plug.Conn{ adapter: {Plug.Cowboy.Conn, %{ bindings: %{}, body_length: 0, cert: :undefined, has_body: false, headers: %{ ...
39.582762
320
0.500619
9104c726f9a1f80bf826e95189c5fae04c434006
1,125
exs
Elixir
config/config.exs
ulfurinn/backroll
6328e495a8c0d680a5e3840e9a7ae9271f0b6b90
[ "Apache-2.0" ]
1
2020-01-13T19:56:02.000Z
2020-01-13T19:56:02.000Z
config/config.exs
ulfurinn/backroll
6328e495a8c0d680a5e3840e9a7ae9271f0b6b90
[ "Apache-2.0" ]
null
null
null
config/config.exs
ulfurinn/backroll
6328e495a8c0d680a5e3840e9a7ae9271f0b6b90
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.290323
73
0.752
9104e860c351938ec5da42332c609c53ab8bba0a
4,389
ex
Elixir
lib/database_yaml_config_provider.ex
tlux/database_yaml_config_provider
5b286a3529e28a75bd139be697a3746bb5e247a9
[ "MIT" ]
null
null
null
lib/database_yaml_config_provider.ex
tlux/database_yaml_config_provider
5b286a3529e28a75bd139be697a3746bb5e247a9
[ "MIT" ]
null
null
null
lib/database_yaml_config_provider.ex
tlux/database_yaml_config_provider
5b286a3529e28a75bd139be697a3746bb5e247a9
[ "MIT" ]
null
null
null
defmodule DatabaseYamlConfigProvider do @moduledoc """ A config provider that can load a Rails style database.yml file that has the following structure: ```yaml production: adapter: postgresql database: testdb username: testuser password: myPa$sw0rd host: pgsqlhost port: 5432 ``` ...
26.281437
88
0.675097
91050e3f9a2fac14866ea1daa849606e44eba266
987
ex
Elixir
geronimo/lib/geronimo/kafka/schema_registry_client.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
geronimo/lib/geronimo/kafka/schema_registry_client.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
geronimo/lib/geronimo/kafka/schema_registry_client.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule Geronimo.Kafka.SchemaRegistryClient do use HTTPoison.Base def get_schema(object, id) do case get("/subjects/#{object}/versions/#{id}") do {:ok, %HTTPoison.Response{body: body, headers: _, status_code: 200}} -> body[:schema] |> Poison.decode! |> Utils.atomize {:ok, ...
26.675676
95
0.64843
91052165725a634441b59beb53b12afe3530bbe7
800
ex
Elixir
lib/glimesh_web/live/page_live.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
lib/glimesh_web/live/page_live.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
lib/glimesh_web/live/page_live.ex
YFG-Online/glimesh.tv
5d9bb6f4ab383897c383bf33bbfac783b09e294e
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.PageLive do use GlimeshWeb, :live_view alias Glimesh.Streams alias Glimesh.Accounts @impl true def mount(%{"category" => "following"}, session, socket) do user = Accounts.get_user_by_session_token(session["user_token"]) {:ok, socket |> assign(:page_title, "Followed St...
28.571429
68
0.63625
910538f64117d63497ca9a1378084e16068d2a48
72
exs
Elixir
config/config.exs
dotboris/vote-nerd
ceb9e7a0990d66119da6834511fb54b4cd8e1f37
[ "MIT" ]
null
null
null
config/config.exs
dotboris/vote-nerd
ceb9e7a0990d66119da6834511fb54b4cd8e1f37
[ "MIT" ]
null
null
null
config/config.exs
dotboris/vote-nerd
ceb9e7a0990d66119da6834511fb54b4cd8e1f37
[ "MIT" ]
null
null
null
use Mix.Config config :nadia, token: {:system, "TELEGRAM_BOT_TOKEN"}
14.4
40
0.722222
9105408b6fd6c36b9d3f0431402d78ba0176e6d3
1,435
exs
Elixir
test/controllers/session_controller_test.exs
Ellocsys/kedo
81626082952bfc63c382d015cffaa1ebd80e1f67
[ "MIT" ]
null
null
null
test/controllers/session_controller_test.exs
Ellocsys/kedo
81626082952bfc63c382d015cffaa1ebd80e1f67
[ "MIT" ]
null
null
null
test/controllers/session_controller_test.exs
Ellocsys/kedo
81626082952bfc63c382d015cffaa1ebd80e1f67
[ "MIT" ]
null
null
null
defmodule Pxblog.SessionControllerTest do use Pxblog.ConnCase alias Pxblog.User setup do User.changeset(%User{}, %{username: "test", password: "test", password_confirmation: "test", email: "[email protected]"}) |> Repo.insert {:ok, conn: build_conn()} end test "shows the login form", %{conn: con...
41
125
0.68223
91058cd7746758575aec32977e48b77d588052ba
3,411
exs
Elixir
test/worker/rabbit_connection_test.exs
vikger/ex_rabbit_pool
7a1c698f4b0d16f1ce5863cd0139a48e6cff31a1
[ "Apache-2.0" ]
null
null
null
test/worker/rabbit_connection_test.exs
vikger/ex_rabbit_pool
7a1c698f4b0d16f1ce5863cd0139a48e6cff31a1
[ "Apache-2.0" ]
null
null
null
test/worker/rabbit_connection_test.exs
vikger/ex_rabbit_pool
7a1c698f4b0d16f1ce5863cd0139a48e6cff31a1
[ "Apache-2.0" ]
1
2019-09-25T11:05:57.000Z
2019-09-25T11:05:57.000Z
defmodule ExRabbitPool.Worker.RabbitConnectionTest do use ExUnit.Case, async: false import ExUnit.CaptureLog alias ExRabbitPool.FakeRabbitMQ alias ExRabbitPool.Worker.RabbitConnection, as: ConnWorker setup do rabbitmq_config = [ channels: 5, port: String.to_integer(System.get_env("EX_RABBIT...
37.483516
98
0.693345
9105ae06c2ddf97acba9becf63832c2c35893d5d
2,448
ex
Elixir
lib/sr.ex
GunnarPDX/trade-indicators
e8b78235d556a267ff67cc381f73a2f703b8ca23
[ "MIT" ]
2
2020-11-22T23:42:52.000Z
2021-04-11T06:34:15.000Z
lib/sr.ex
GunnarPDX/trade-indicators
e8b78235d556a267ff67cc381f73a2f703b8ca23
[ "MIT" ]
null
null
null
lib/sr.ex
GunnarPDX/trade-indicators
e8b78235d556a267ff67cc381f73a2f703b8ca23
[ "MIT" ]
null
null
null
defmodule TradeIndicators.SR do alias Enum, as: E alias Decimal, as: D def support_and_resistance_areas(bar_list) when is_list(bar_list) do avg_bar_height = avg_bar_height(bar_list) bar_list |> create_fractals() |> find_levels() |> filter_levels(avg_bar_height) end @fractal_size 5 def...
32.210526
98
0.620098
9105dd3e5c71d613924fb14da293a7382e685717
1,570
ex
Elixir
lib/oli/branding/brand.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/branding/brand.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/branding/brand.ex
DevShashi1993/oli-torus
e6e0b66f0973f9790a5785731b22db6fb1c50a73
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Branding.Brand do use Ecto.Schema import Ecto.Changeset import Oli.Utils alias Oli.Utils.Slug schema "brands" do field :name, :string field :slug, :string field :favicons, :string field :logo, :string field :logo_dark, :string belongs_to :institution, Oli.Institutions....
25.737705
88
0.661146
9105e1889435728ad57e47434bd73c5cb89d80eb
1,148
exs
Elixir
config/config.exs
joshprice/groundstation
ef08065f32c6389d87c84cd36f14052fafe0e3ee
[ "Apache-2.0" ]
23
2019-10-03T05:40:57.000Z
2021-09-29T17:03:59.000Z
config/config.exs
joshprice/groundstation
ef08065f32c6389d87c84cd36f14052fafe0e3ee
[ "Apache-2.0" ]
6
2019-10-12T02:17:34.000Z
2021-05-10T07:01:55.000Z
config/config.exs
beamuav/groundstation
8131d16530d77ea76357ae8ada3cc2b02fa0d55e
[ "Apache-2.0" ]
3
2019-09-09T13:12:23.000Z
2019-09-30T00:16:00.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :groundstation, ecto_repos: [GroundStat...
33.764706
86
0.781359
9105eb8d80f34786e1e962dea2787aeb1015f2fc
106
ex
Elixir
lib/interpreter/builtins.ex
ashton314/elixir-interpreter-demo
dab7da2fdb6c7e8d83539d01fc9ea43e0ed24f5d
[ "MIT" ]
3
2021-05-21T22:32:19.000Z
2021-08-23T15:51:49.000Z
lib/interpreter/builtins.ex
ashton314/elixir_interpreter_demo
dab7da2fdb6c7e8d83539d01fc9ea43e0ed24f5d
[ "MIT" ]
null
null
null
lib/interpreter/builtins.ex
ashton314/elixir_interpreter_demo
dab7da2fdb6c7e8d83539d01fc9ea43e0ed24f5d
[ "MIT" ]
null
null
null
defmodule Interpreter.Builtins do @moduledoc """ Builtin functions for our little language. """ end
17.666667
44
0.735849
91060c581e892bc72e362f1683c0fde68a058953
305
exs
Elixir
priv/repo/migrations/20160915204048_create_account.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
123
2017-04-04T18:15:48.000Z
2021-04-26T08:04:22.000Z
priv/repo/migrations/20160915204048_create_account.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20160915204048_create_account.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
17
2017-04-04T18:58:29.000Z
2021-05-10T21:39:16.000Z
defmodule CanvasAPI.Repo.Migrations.CreateAccount do use Ecto.Migration def change do create table(:accounts, primary_key: false) do add :id, :binary_id, primary_key: true add :inserted_at, :timestamptz, null: false add :updated_at, :timestamptz, null: false end end end
23.461538
52
0.708197
9106185935d8943406731f30856426003d90df32
100
exs
Elixir
test/views/layout_view_test.exs
brandnewio/brandnew-mail-tracker
0f991c82bd95be6a8efaee949b459b77a1e7245d
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
brandnewio/brandnew-mail-tracker
0f991c82bd95be6a8efaee949b459b77a1e7245d
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
brandnewio/brandnew-mail-tracker
0f991c82bd95be6a8efaee949b459b77a1e7245d
[ "MIT" ]
null
null
null
defmodule BrandnewMailTracker.LayoutViewTest do use BrandnewMailTracker.ConnCase, async: true end
25
47
0.86