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
1842899089ea0fc9fe14f4bc0e07e218d3bf32ba
120
ex
Elixir
debian/menu.ex
tarkhov/pvm
177f801741ccb52fc1acc6c1643c521a48f04a71
[ "MIT" ]
1
2020-05-09T14:35:17.000Z
2020-05-09T14:35:17.000Z
debian/menu.ex
tarkhov/pvm
177f801741ccb52fc1acc6c1643c521a48f04a71
[ "MIT" ]
4
2020-03-07T09:48:38.000Z
2020-11-20T11:56:27.000Z
debian/menu.ex
tarkhov/phpvm
177f801741ccb52fc1acc6c1643c521a48f04a71
[ "MIT" ]
null
null
null
?package(phpvm):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ title="phpvm" command="/usr/bin/phpvm"
40
78
0.733333
184298078884aee4a42829b83f81b0f728734df1
13,310
ex
Elixir
lib/utils/scenic_events_definitions.ex
scenic-contrib/scenic-widget-contrib
023197f6df07061c5192fd0665f6dc3ff8a67512
[ "Apache-2.0" ]
5
2019-05-29T20:59:16.000Z
2022-01-14T12:22:43.000Z
lib/utils/scenic_events_definitions.ex
scenic-contrib/scenic-widget-contrib
023197f6df07061c5192fd0665f6dc3ff8a67512
[ "Apache-2.0" ]
10
2019-05-28T07:49:24.000Z
2022-01-24T04:33:47.000Z
lib/utils/scenic_events_definitions.ex
scenic-contrib/scenic-widget-contrib
023197f6df07061c5192fd0665f6dc3ff8a67512
[ "Apache-2.0" ]
2
2022-01-05T02:33:43.000Z
2022-01-13T05:43:36.000Z
defmodule ScenicWidgets.ScenicEventsDefinitions do @moduledoc """ Contains module attribute definitions of all the Scenic input events. Example: ``` defmodule SomeModule do use ScenicWidgets.ScenicEventsDefinitions ... handle_cast(@left_shift, state) .. ``` Simply `use` this module...
38.137536
101
0.575357
1842a7f2067da0ab05683da61762394444f0463b
1,503
ex
Elixir
lib/teslamate_web/plugs/accept_language.ex
ograff/teslamate
677891833623df115c5d4fc8278c298697c45a61
[ "MIT" ]
1
2020-05-06T11:37:20.000Z
2020-05-06T11:37:20.000Z
lib/teslamate_web/plugs/accept_language.ex
ograff/teslamate
677891833623df115c5d4fc8278c298697c45a61
[ "MIT" ]
1
2021-05-12T00:04:50.000Z
2021-05-12T00:04:50.000Z
lib/teslamate_web/plugs/accept_language.ex
ograff/teslamate
677891833623df115c5d4fc8278c298697c45a61
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.Plugs.AcceptLanguage do @moduledoc """ Parses the accept-language header if one is available and sets `conn.private[:cldr_locale]` accordingly. The locale can be later retrieved by `Cldr.Plug.AcceptLanguage.get_cldr_locale/1` ## Example plug Cldr.Plug.AcceptLanguage, cl...
25.474576
97
0.681304
1842b1855031433eedaf7a140fa1840756286532
1,148
ex
Elixir
apps/admin_api/lib/admin_api/v1/channels/wallet_channel.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/lib/admin_api/v1/channels/wallet_channel.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/lib/admin_api/v1/channels/wallet_channel.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.8
81
0.708188
1842ba79624c5a073a9146f994b1659eef250875
2,441
ex
Elixir
lib/galapagos_nao/orchestration.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
21
2018-03-19T02:52:38.000Z
2020-07-21T06:18:54.000Z
lib/galapagos_nao/orchestration.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
23
2018-02-21T23:34:41.000Z
2018-04-07T15:13:56.000Z
lib/galapagos_nao/orchestration.ex
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
1
2020-04-28T16:38:03.000Z
2020-04-28T16:38:03.000Z
defmodule GN.Orchestration do import GN.Gluon import GN.Evolution, only: [spawn_offspring: 1, build_layer: 2] import GN.MNIST alias GN.Network, as: Network import GN.Python import GN.Selection, only: [select: 1] use Export.Python def start_and_spawn({_level, net}) do seed_layers = net.layers la...
25.694737
76
0.663253
1842c9eb3f924d0316cb0f8c2f1702fc8d16e5b8
1,595
ex
Elixir
test/support/model_case.ex
josephyi/hextech
ae892029a424aa52655152af1f0660ea77a5d8e1
[ "MIT" ]
null
null
null
test/support/model_case.ex
josephyi/hextech
ae892029a424aa52655152af1f0660ea77a5d8e1
[ "MIT" ]
null
null
null
test/support/model_case.ex
josephyi/hextech
ae892029a424aa52655152af1f0660ea77a5d8e1
[ "MIT" ]
null
null
null
defmodule Hextech.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. For ...
25.725806
84
0.684639
1842f1bd7ed72b95bf85ad35f4222befceec18ab
1,127
exs
Elixir
config/config.exs
reimo/ExHasher
131cdbf7366c53f959e8bca0a2695cf1149acf7e
[ "MIT" ]
null
null
null
config/config.exs
reimo/ExHasher
131cdbf7366c53f959e8bca0a2695cf1149acf7e
[ "MIT" ]
null
null
null
config/config.exs
reimo/ExHasher
131cdbf7366c53f959e8bca0a2695cf1149acf7e
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.354839
73
0.75244
18430bce8cbe17fa3d43ff851ba6e4ae26cef399
1,690
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/drive_folder.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/drive_folder.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/classroom/lib/google_api/classroom/v1/model/drive_folder.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...
31.886792
122
0.702959
184315c16ee2d458ecc3c59f8677af118f5324bc
379
ex
Elixir
lib/planga_web/controllers/page_controller.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
37
2018-07-13T14:08:16.000Z
2021-04-09T15:00:22.000Z
lib/planga_web/controllers/page_controller.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
9
2018-07-16T15:24:39.000Z
2021-09-01T14:21:20.000Z
lib/planga_web/controllers/page_controller.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
3
2018-10-05T20:19:25.000Z
2019-12-05T00:30:01.000Z
defmodule PlangaWeb.PageController do use PlangaWeb, :controller def index(conn, _params) do render(conn, "index.html") end def example(conn, _params) do render(conn, "example.html") end def example2(conn, _params) do render(conn, "second_example.html") end def private_example(conn, _par...
18.95
40
0.704485
184329665c2de2583f57e130e32d07f6b47b0405
97
ex
Elixir
lib/mix/duplex.ex
diodechain/duplex
e1629efb73908480ebd3281236d387a3b9d55bbe
[ "Apache-2.0" ]
null
null
null
lib/mix/duplex.ex
diodechain/duplex
e1629efb73908480ebd3281236d387a3b9d55bbe
[ "Apache-2.0" ]
null
null
null
lib/mix/duplex.ex
diodechain/duplex
e1629efb73908480ebd3281236d387a3b9d55bbe
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Duplex do use Mix.Task def run(args) do Duplex.main(args) end end
12.125
29
0.690722
184339973d14bdb6a80fefcc546f03239be1b4a8
5,364
ex
Elixir
lib/scenic/component/input/radio_button.ex
fhunleth/scenic
02fc61916ebe0cb01bf436832409226cad2d1f8b
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/radio_button.ex
fhunleth/scenic
02fc61916ebe0cb01bf436832409226cad2d1f8b
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/radio_button.ex
fhunleth/scenic
02fc61916ebe0cb01bf436832409226cad2d1f8b
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.Component.Input.RadioButton do @moduledoc """ Add a single radio button to a graph. ## Data `{text, id}` `{text, id, selected?}` * `text` - a bitstring of the text to display * `id` - any term. Identifies the radio button. * `selected?` - boolean. `true` if selected. `false if not`. ...
28.08377
94
0.540641
18434f97d48750e70f259eb91ae2c2dadbce09e3
521
exs
Elixir
test/validator/uri_test.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
27
2015-08-09T16:36:31.000Z
2020-01-26T17:47:17.000Z
test/validator/uri_test.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
14
2015-07-31T07:28:07.000Z
2018-09-06T18:32:37.000Z
test/validator/uri_test.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
19
2015-07-31T01:25:17.000Z
2019-06-29T16:28:42.000Z
defmodule FinTex.Validator.UriTest do use ExUnit.Case test "keyword list, provided URI validation" do assert Vex.valid?([component: "https://example.org"], component: [uri: true]) assert Vex.valid?([component: "https://example.org"], component: [uri: []]) refute Vex.valid?([component: "http://example.o...
43.416667
81
0.635317
1843507c075f91a8fd7f6dbaa5592dd5aaaa5fd9
536
exs
Elixir
priv/repo/migrations/20210406000315_add_submitted_by_id_on_email_requests.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
71
2019-07-02T18:06:15.000Z
2022-03-09T15:30:08.000Z
priv/repo/migrations/20210406000315_add_submitted_by_id_on_email_requests.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
157
2019-07-02T01:21:16.000Z
2022-03-30T16:08:12.000Z
priv/repo/migrations/20210406000315_add_submitted_by_id_on_email_requests.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
45
2019-07-04T05:51:11.000Z
2022-02-27T11:56:02.000Z
defmodule Erlef.Repo.Migrations.AddSubmittedByIdOnEmailRequests do use Ecto.Migration def change do alter table(:member_email_requests) do modify :assigned_to, :uuid, null: true modify :submitted_by, :uuid, null: true add :assigned_to_id, references(:members), null: true add :submitted...
31.529412
77
0.748134
184366f8eb7795dc9e0943badf34ac95e90bcd6f
4,612
exs
Elixir
test/journey_lifetime_test.exs
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
1
2021-10-04T15:49:53.000Z
2021-10-04T15:49:53.000Z
test/journey_lifetime_test.exs
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
1
2021-06-14T02:31:57.000Z
2021-06-14T02:31:57.000Z
test/journey_lifetime_test.exs
shipworthy/journey
95674eb9ca3a1aa932d2ef36753deefe6ce9405e
[ "MIT" ]
null
null
null
defmodule Journey.Test.Lifetime do use ExUnit.Case require WaitForIt @process %Journey.Process{ process_id: "test process", steps: [ %Journey.Step{name: :first_name}, %Journey.Step{name: :birth_month}, %Journey.Step{name: :birth_day}, %Journey.Step{ name: :astrological_si...
36.314961
102
0.669124
184372e32dc441ec186ffd995f38a9f53b2f4958
4,547
ex
Elixir
clients/o_auth2/lib/google_api/o_auth2/v2/api/default.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/o_auth2/lib/google_api/o_auth2/v2/api/default.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/o_auth2/lib/google_api/o_auth2/v2/api/default.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.210084
170
0.680669
184381f0d7753592e017f683376346c72a2095b2
5,272
exs
Elixir
test/json_schema_test_suite/draft7/one_of_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_schema_test_suite/draft7/one_of_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_schema_test_suite/draft7/one_of_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft7.OneOfTest do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|oneOf| do setup do %{schema: JsonXema.new(%{"oneOf" => [%{"type" => "integer"}, %{"minimum" => 2}]})} end test ~s|first oneOf valid|, %{schema: schema} do assert valid?(schem...
25.346154
91
0.531108
184385c4c1d4322eff4473e60f65b019f4276eda
85
exs
Elixir
test/akd/base/start/release_test.exs
annkissam/akd
d9ecd91e005dfeec70d688b98526397fc1374d99
[ "MIT" ]
51
2018-01-07T03:41:05.000Z
2021-06-17T21:39:27.000Z
test/akd/base/start/release_test.exs
annkissam/akd
d9ecd91e005dfeec70d688b98526397fc1374d99
[ "MIT" ]
42
2017-12-24T04:36:39.000Z
2019-05-21T01:32:00.000Z
test/akd/base/start/release_test.exs
annkissam/akd
d9ecd91e005dfeec70d688b98526397fc1374d99
[ "MIT" ]
2
2018-06-15T11:46:28.000Z
2018-08-22T16:03:56.000Z
defmodule Akd.Start.ReleaseTest do use ExUnit.Case doctest Akd.Start.Release end
17
34
0.8
18439ae21820fefe4aa6a12a6753ca463df20d27
558
ex
Elixir
apps/admin_api/test/support/view_case.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/test/support/view_case.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/support/view_case.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminAPI.ViewCase do @moduledoc """ This module defines common behaviors shared between V1 view tests. """ use ExUnit.CaseTemplate def v1 do quote do use ExUnit.Case import EWalletDB.Factory import Phoenix.View alias EWalletDB.Repo alias Ecto.Adapters.SQL.Sandbox ...
20.666667
68
0.673835
1843a27d4a7c71f780ecc7de8db97afb5fcc6415
2,040
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/private_ca/lib/google_api/private_ca/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/private_ca/lib/google_api/private_ca/v1/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.8
307
0.737255
1843a94e964002290c0cc9cc25b3776591f846cb
3,846
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior.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...
60.09375
1,567
0.769631
1843cddac672223fe56ce6fa0a7f506ab66d9b04
2,868
ex
Elixir
apps/mishka_user/lib/acl/action.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
3
2021-06-27T10:26:51.000Z
2022-01-10T13:56:08.000Z
apps/mishka_user/lib/acl/action.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
apps/mishka_user/lib/acl/action.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
defmodule MishkaUser.Acl.Action do @spec actions :: map() def actions() do %{ # client router # "Elixir.MishkaHtmlWeb.BlogsLive" => "admin:*", # admin router "MishkaHtmlWeb.AdminDashboardLive" => "admin:*" , "MishkaHtmlWeb.AdminBlogPostsLive" => "admin:edit" , "MishkaHtmlW...
39.833333
63
0.603905
1844030874b36c62963a9b0e81b9fd0398289be1
2,183
exs
Elixir
talks-articles/languages-n-runtimes/elixir/elixirschool.com/a-basics/p05_control_structures.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/languages-n-runtimes/elixir/elixirschool.com/a-basics/p05_control_structures.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/languages-n-runtimes/elixir/elixirschool.com/a-basics/p05_control_structures.exs
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
## control structures ### if and unless #### * if/2 and unless/2 are defined as macros in 'Kernel', not a language construct if String.valid?(100) do "valid string" else "invalid string" end |> IO.inspect() if 100 do "Truthy" end |> IO.inspect() unless nil do "nil as false" end |> IO.inspect() ### case ##...
26.950617
112
0.621164
184408453625896ad88f2cc70823c021131d8a88
287
ex
Elixir
lib/rdf/xsd/datatypes/int.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
lib/rdf/xsd/datatypes/int.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
lib/rdf/xsd/datatypes/int.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.Int do use RDF.XSD.Datatype.Restriction, name: "int", id: RDF.Utils.Bootstrapping.xsd_iri("int"), base: RDF.XSD.Long def_facet_constraint RDF.XSD.Facets.MinInclusive, -2_147_483_648 def_facet_constraint RDF.XSD.Facets.MaxInclusive, 2_147_483_647 end
28.7
66
0.763066
18442617c03835b364d475584eee66b56bdc7fee
516
ex
Elixir
apps/asf_bo_web/lib/asf_bo_web/live/user/list_controller.ex
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
apps/asf_bo_web/lib/asf_bo_web/live/user/list_controller.ex
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
apps/asf_bo_web/lib/asf_bo_web/live/user/list_controller.ex
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
defmodule AsfBOWeb.Live.User.ListController do use AsfBOWeb, :live_view alias Asf.Accounts def mount(_params, _session, socket) do socket = assign(socket, page_title: "Users", users: [] ) {:ok, socket} end def handle_params(_params, _url, socket) do users = Accounts...
20.64
58
0.649225
1844403b4b9e8dc1d9e2ea9e6651bec657546aaa
9,174
exs
Elixir
test/plugin_manager/event/hook_test.exs
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
3
2022-03-18T14:32:15.000Z
2022-03-24T06:33:21.000Z
test/plugin_manager/event/hook_test.exs
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
3
2022-03-25T08:30:42.000Z
2022-03-27T17:13:46.000Z
test/plugin_manager/event/hook_test.exs
mishka-group/mishka_installer
ab19e3e1e8aaa984ec48d6277a77d567eb5f61ea
[ "Apache-2.0" ]
null
null
null
defmodule MishkaInstallerTest.Event.HookTest do use ExUnit.Case, async: true doctest MishkaInstaller alias MishkaInstaller.Hook alias MsihkaSendingEmailPlugin.{SendingEmail, SendingSMS, SendingHalt} setup_all _tags do start_supervised(SendingEmail) start_supervised(SendingSMS) start_supervised(Se...
47.28866
147
0.706453
184456004714ec452bd982275be4002a5b6be348
1,504
ex
Elixir
apps/rex_web/lib/rex_web.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
null
null
null
apps/rex_web/lib/rex_web.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
16
2020-05-18T20:06:29.000Z
2020-06-08T14:32:11.000Z
apps/rex_web/lib/rex_web.ex
baymax42/rex
7c8571ac308960973fea9e8df77a6f1ad5c16906
[ "MIT" ]
null
null
null
defmodule RexWeb do @moduledoc """ The entry point for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use RexWeb, :controller use RexWeb, :view The definitions below will be executed for every view, controller, etc, so kee...
22.787879
83
0.682181
1844da59f8545ba73de7663225cf5d89b0aa5d50
1,766
exs
Elixir
test/gen_queue/adapters/task_bunny_mock_test.exs
carguero/carguero_gen_queue_task_bunny
d023da59b605cf3b4100098c99df0d51417b87c1
[ "MIT" ]
null
null
null
test/gen_queue/adapters/task_bunny_mock_test.exs
carguero/carguero_gen_queue_task_bunny
d023da59b605cf3b4100098c99df0d51417b87c1
[ "MIT" ]
null
null
null
test/gen_queue/adapters/task_bunny_mock_test.exs
carguero/carguero_gen_queue_task_bunny
d023da59b605cf3b4100098c99df0d51417b87c1
[ "MIT" ]
null
null
null
defmodule GenQueue.Adapters.TaskBunnyMockTest do use ExUnit.Case import GenQueue.Test defmodule Enqueuer do Application.put_env(:carguero_gen_queue_task_bunny, __MODULE__, adapter: GenQueue.Adapters.MockJob) use GenQueue, otp_app: :carguero_gen_queue_task_bunny end setup do setup_test_queue(En...
33.320755
103
0.653454
1844e97147a2d9315f196291b32b432a3470c396
2,240
ex
Elixir
gen/envoy/config/trace/v2/trace.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
5
2018-10-12T13:13:19.000Z
2020-10-03T17:51:37.000Z
gen/envoy/config/trace/v2/trace.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
207
2018-02-09T14:24:14.000Z
2020-07-25T11:09:19.000Z
gen/envoy/config/trace/v2/trace.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
1
2019-08-08T11:30:59.000Z
2019-08-08T11:30:59.000Z
defmodule Envoy.Config.Trace.V2.Tracing do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ http: Envoy.Config.Trace.V2.Tracing.Http.t() | nil } defstruct [:http] field :http, 1, type: Envoy.Config.Trace.V2.Tracing.Http end defmodule Envoy.Config.Trace.V2.Tracing.Htt...
26.666667
93
0.680804
1845344a5ebcc0ce7026983912fe7744b216772d
3,086
ex
Elixir
lib/glfw/font.ex
elcritch/scenic_driver_glfw
bbf02a23a1bf05c77b691629f7273a932f5c8b97
[ "Apache-2.0" ]
1
2019-08-13T08:50:29.000Z
2019-08-13T08:50:29.000Z
lib/glfw/font.ex
gVirtu/scenic_driver_glfw
8f051e14099c24f106babda1ac14886182719668
[ "Apache-2.0" ]
null
null
null
lib/glfw/font.ex
gVirtu/scenic_driver_glfw
8f051e14099c24f106babda1ac14886182719668
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on June 4, 2018. # Copyright © 2018 Kry10 Industries. All rights reserved. # defmodule Scenic.Driver.Glfw.Font do alias Scenic.Driver.Glfw alias Scenic.Cache require Logger # import IEx @system_fonts %{ "roboto" => "/fonts/Roboto/Roboto-Regular.ttf", "roboto_mono" => ...
32.484211
89
0.613415
184571a6c7cc7927ec06b1a68497fcf65810a5b7
117
exs
Elixir
test/support/fixtures/test_test.exs
thiagofm/tddex
c1fa926d8ba75d8ae9ed4e736b75bbd944dead9b
[ "MIT" ]
3
2019-05-20T06:06:54.000Z
2019-05-21T20:30:52.000Z
test/support/fixtures/test_test.exs
thiagofm/tddex
c1fa926d8ba75d8ae9ed4e736b75bbd944dead9b
[ "MIT" ]
1
2019-05-20T07:19:43.000Z
2019-05-20T07:19:43.000Z
test/support/fixtures/test_test.exs
thiagofm/tddex
c1fa926d8ba75d8ae9ed4e736b75bbd944dead9b
[ "MIT" ]
null
null
null
defmodule Tddex.Support.Fixtures.TestTest do use ExUnit.Case test "can do maths" do assert 1 == 1 end end
14.625
44
0.700855
18457c32dc4e81da49cc182a7d7c23805e3d1d18
2,606
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/type.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/type.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/type.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...
46.535714
477
0.726401
184591aca5e1ae854d93be55235cfc1213bd9b06
1,197
exs
Elixir
config/prod.secret.exs
BenSchZA/scrapeth
b724c2d11677868fd136e2853b3eba2bbb21e379
[ "MIT" ]
null
null
null
config/prod.secret.exs
BenSchZA/scrapeth
b724c2d11677868fd136e2853b3eba2bbb21e379
[ "MIT" ]
2
2021-03-09T19:08:53.000Z
2021-05-10T16:15:19.000Z
config/prod.secret.exs
BenSchZA/scrapeth
b724c2d11677868fd136e2853b3eba2bbb21e379
[ "MIT" ]
1
2020-10-10T08:15:58.000Z
2020-10-10T08:15:58.000Z
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
30.692308
76
0.724311
1845d8cdaee968436e75569a528e54e28a37fb27
2,354
ex
Elixir
clients/content/lib/google_api/content/v21/model/accounttax_custom_batch_request_entry.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/accounttax_custom_batch_request_entry.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/accounttax_custom_batch_request_entry.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...
39.898305
167
0.705607
1845e5ff0e26ebad34c384fc2017af1f4e3c3fe9
2,544
ex
Elixir
solomon/web/controllers/permission_controller.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
solomon/web/controllers/permission_controller.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
solomon/web/controllers/permission_controller.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule Solomon.PermissionController do use Solomon.Web, :controller alias Solomon.Repo alias Solomon.Permission alias Solomon.PermissionClaimService alias Solomon.ScopeService def index(conn, _params) do permissions = ScopeService.scoped_index(conn, Permission) render(conn, "index.json", permiss...
34.378378
97
0.665487
1846077baaddc7ff72d697331c3b92c751a02ce6
1,335
ex
Elixir
lib/health_web/views/pressure_view.ex
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
lib/health_web/views/pressure_view.ex
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
2
2021-03-10T04:15:17.000Z
2021-05-10T23:54:35.000Z
lib/health_web/views/pressure_view.ex
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
defmodule HealthWeb.PressureView do use HealthWeb, :view alias Health.DateTools alias HealthWeb.PressureLive def current_datetime(user) do DateTools.current_datetime(user) end def convert_datetime_to_local(time, user) do DateTools.convert(time, user) end def format_local_datetime(time, user)...
20.227273
82
0.58427
18460c4a95cf1eb984dbcef04cb80eda1cc88133
382
ex
Elixir
lib/alchemetrics/event_sourcing/consumer.ex
panoramix360/alchemetrics
7aa973bf951d5b892311831d46285a45cda0cee4
[ "MIT" ]
32
2017-07-06T13:40:00.000Z
2021-10-17T23:56:17.000Z
lib/alchemetrics/event_sourcing/consumer.ex
panoramix360/alchemetrics
7aa973bf951d5b892311831d46285a45cda0cee4
[ "MIT" ]
20
2017-07-06T14:05:33.000Z
2021-12-02T01:04:31.000Z
lib/alchemetrics/event_sourcing/consumer.ex
panoramix360/alchemetrics
7aa973bf951d5b892311831d46285a45cda0cee4
[ "MIT" ]
6
2017-07-06T14:45:38.000Z
2021-10-08T12:27:49.000Z
defmodule Alchemetrics.Consumer do @moduledoc false use ConsumerSupervisor def init(args), do: {:consumer, args} def start_link() do children = [ worker(Alchemetrics.Handler, [], restart: :temporary) ] ConsumerSupervisor.start_link( children, strategy: :one_for_one, subscribe_t...
20.105263
62
0.683246
18461e97b6841c966bd265caf4a2c6930ebe6e1b
1,550
exs
Elixir
apps/ewallet_api/mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_api/mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/mix.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletAPI.Mixfile do use Mix.Project def project do [ app: :ewallet_api, version: "0.1.0-beta", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", elixirc_paths: el...
25
67
0.588387
18462cd5aace18e66dc4c7ef991d147108d5adc4
1,668
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/bgp_service_communities.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/bgp_service_communities.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/bgp_service_communities.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# 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 Microsoft.Azure.Management.Network.Api.BgpServiceCommunities do @moduledoc """ API calls for all endpoints tagged `BgpServiceCommunities`. "...
41.7
192
0.751799
18463c1573588ea2bc56f2bb9eadaf3c85e09ffc
1,089
ex
Elixir
lib/epicenter_web/forms/add_visit_form.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter_web/forms/add_visit_form.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter_web/forms/add_visit_form.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Forms.AddVisitForm do use Ecto.Schema import Ecto.Changeset alias Epicenter.DateParser alias Epicenter.Validation alias EpicenterWeb.Forms.AddVisitForm @primary_key false @required_attrs ~w{occurred_on}a @optional_attrs ~w{relationship}a embedded_schema do field :occurred...
27.923077
94
0.713499
18465b5504ad46e642e0ffb361b229c3c5de0d18
6,795
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/api/operations.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/api/operations.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/api/operations.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 "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...
47.852113
669
0.684768
18468123791b2632c09ec10a2ed1b7885f603301
272
exs
Elixir
server/test/blogsley_web/views/layout_view_test.exs
blogsley/blogsley-absinthe
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
3
2020-01-23T06:37:18.000Z
2020-12-05T08:31:00.000Z
server/test/blogsley_web/views/layout_view_test.exs
blogsley/blogsley-absinthe
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
16
2020-04-04T05:13:52.000Z
2022-03-31T11:19:20.000Z
server/test/blogsley_web/views/layout_view_test.exs
blogsley/blogsley
7266f80a0638f8c30c37b37296ba5d78dcf8fb8b
[ "MIT" ]
null
null
null
defmodule BlogsleyWeb.LayoutViewTest do use BlogsleyWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.222222
65
0.768382
1846964c20453c8a3469884ce7b28b4c4009f181
890
ex
Elixir
clients/library_agent/lib/google_api/library_agent/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/library_agent/lib/google_api/library_agent/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/library_agent/lib/google_api/library_agent/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.962963
74
0.760674
1846c5ae9b56bbd19544e294675e233ed5be4add
125
exs
Elixir
test/fona_test.exs
st23am/fona
83e1439ae154635490cc8b7e077c67497912e4df
[ "MIT" ]
23
2017-09-11T00:50:54.000Z
2021-01-02T22:04:11.000Z
test/fona_test.exs
Hermanverschooten/fona
83e1439ae154635490cc8b7e077c67497912e4df
[ "MIT" ]
null
null
null
test/fona_test.exs
Hermanverschooten/fona
83e1439ae154635490cc8b7e077c67497912e4df
[ "MIT" ]
2
2017-11-16T16:06:00.000Z
2018-09-11T08:58:28.000Z
defmodule FonaTest do use ExUnit.Case doctest Fona test "I should have wrote some" do assert 1 + 1 == 2 end end
13.888889
36
0.672
18473454fb582801fb130a6b615f8957e9d8c800
348
exs
Elixir
src/elixir/scripts/hello_world.exs
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
src/elixir/scripts/hello_world.exs
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
src/elixir/scripts/hello_world.exs
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
7 + 3 IO.puts "Salut" defmodule MyBools do # or true, _ -> true def myOr(true, _), do: true # or false, orice -> orice def myOr(false, anything), do: anything # || false, y -> y def myNSOr(false, anything), do: anything # || nil,y -> y def myNSOr(nil, anything), do: anything # || x,_ -> x def myNSOr(someth...
18.315789
43
0.623563
1847398d1a005c7fa59575c1854218bb9a01b71c
2,899
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_in_store_refund_line_item_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_in_store_refund_line_item_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_in_store_refund_line_item_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 ...
42.632353
185
0.698862
184749270e8894db16ba0b6b5e24e52dd8720a24
2,059
ex
Elixir
clients/books/lib/google_api/books/v1/model/family_info_membership.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/family_info_membership.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/family_info_membership.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 "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.316667
108
0.720738
184749e1ee4902769375aeee6a4d8ff8aa660507
547
ex
Elixir
lib/elixir_bank/query.ex
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "MIT" ]
null
null
null
lib/elixir_bank/query.ex
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "MIT" ]
null
null
null
lib/elixir_bank/query.ex
spacexcorp/elixir-bank
b5cf0592598da469e3c2eb43befeb0a45592ad0a
[ "MIT" ]
null
null
null
defmodule ElixirBank.Query do import Ecto.Query def search(queriable, field, nil), do: from(element in queriable, where: element |> field(^field) |> is_nil()) def search(queriable, field, value), do: from(element in queriable, where: field(element, ^field) == ^value) def sort_by(queriable, field, :asc), ...
34.1875
112
0.709324
18474c964e4299212755f65cca2d1d2ac93fef05
217
ex
Elixir
lib/phone/nanp/sx.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/nanp/sx.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/nanp/sx.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.NANP.SX do @moduledoc false use Helper.Country def regex, do: ~r/^(1)(721)([2-9].{6})$/ def country, do: "Sint Maarten" def a2, do: "SX" def a3, do: "SXM" matcher :regex, ["1721"] end
16.692308
42
0.603687
18477701f4724f435fa8d200c55f3864bfa673a6
2,808
ex
Elixir
lib/dust/parsers/uri.ex
sultaniman/dust
273cf538552870fd07269330c23e993c8859ddd9
[ "Apache-2.0" ]
18
2020-06-16T09:43:34.000Z
2021-11-06T09:35:17.000Z
lib/dust/parsers/uri.ex
imanhodjaev/dust
f834dc92bbaaee82ca76f848bf640d3d37e4c5e8
[ "Apache-2.0" ]
13
2020-10-29T05:33:14.000Z
2022-01-24T18:01:50.000Z
lib/dust/parsers/uri.ex
imanhodjaev/dust
f834dc92bbaaee82ca76f848bf640d3d37e4c5e8
[ "Apache-2.0" ]
null
null
null
defmodule Dust.Parsers.URI do @moduledoc """ Parse document and returl all links/URIs to styles with absolute urls. """ @css_url_regex ~r/url\(['"]?(?<uri>.*?)['"]?\)/ @doc """ Extract all CSS `url(...)` links """ @spec parse(String.t()) :: list(String.t()) def parse(content) do @css_url_regex ...
22.829268
65
0.583333
1847869cd1d9a51eae559f01ce4d7250a253ff48
2,416
ex
Elixir
lib/game/items.ex
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/game/items.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/game/items.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Items do @moduledoc """ Agent for keeping track of items in the system """ use GenServer import Ecto.Query alias Data.Item alias Data.Repo @key :items @doc false def start_link() do GenServer.start_link(__MODULE__, [], name: __MODULE__) end @doc """ Get an item from th...
18.442748
79
0.576573
1847b5404bc6516026d20bdc55f4a6f1d504d598
1,849
exs
Elixir
lib/bootleg/tasks/build/local.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
423
2017-07-19T18:40:45.000Z
2021-12-03T08:26:15.000Z
lib/bootleg/tasks/build/local.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
115
2017-07-19T18:30:14.000Z
2020-10-27T20:53:32.000Z
lib/bootleg/tasks/build/local.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
39
2017-07-20T03:14:18.000Z
2020-11-18T13:39:52.000Z
alias Bootleg.{UI, Config} use Bootleg.DSL task :local_build do invoke(:local_compile) invoke(:local_generate_release) invoke(:local_copy_release) end task :local_compile do mix_env = config({:mix_env, "prod"}) source_path = config({:ex_path, File.cwd!()}) UI.info("Building locally with mix env #{mix_env...
27.191176
86
0.619794
1847daff19c14171819ebd49ed1b06cfe2f86cce
2,768
exs
Elixir
apps/services/test/services/search/token_manager_test.exs
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
4
2018-11-19T06:10:52.000Z
2022-02-03T01:50:23.000Z
apps/services/test/services/search/token_manager_test.exs
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
254
2018-11-19T06:08:51.000Z
2021-07-22T13:47:26.000Z
apps/services/test/services/search/token_manager_test.exs
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
null
null
null
defmodule Services.Search.TokenManagerTest do use ExUnit.Case, async: true doctest Services.Search.TokenManager alias Services.Search.TokenManager setup do manager = start_supervised!(TokenManager) %{manager: manager} end test "defines new tokens from a static value", %{manager: manager} do a...
35.487179
98
0.691474
18480a939bb8201e545400e8751343859a18f522
1,719
ex
Elixir
clients/translate/lib/google_api/translate/v3/model/gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v3/model/gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/translate/lib/google_api/translate/v3/model/gcs_destination.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...
36.574468
376
0.746364
18480bae7937dfce34b2e8f7d29e358a9836ab28
47,548
ex
Elixir
clients/binary_authorization/lib/google_api/binary_authorization/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/binary_authorization/lib/google_api/binary_authorization/v1/api/projects.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/binary_authorization/lib/google_api/binary_authorization/v1/api/projects.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...
46.433594
538
0.625747
18482ca0db67631c31d3639857f602f528b5dcce
2,188
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_custom_token_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_custom_token_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_verify_custom_token_request.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...
35.868852
174
0.729433
1848388ef1793d5dc262b69f66634af2a70b8128
1,115
exs
Elixir
config/config.exs
jpcaruana/enigma
50f7c42dd58cdc95322fb715b7d169717a13575d
[ "MIT" ]
null
null
null
config/config.exs
jpcaruana/enigma
50f7c42dd58cdc95322fb715b7d169717a13575d
[ "MIT" ]
1
2016-08-28T20:30:33.000Z
2016-08-28T20:30:33.000Z
config/config.exs
jpcaruana/enigma
50f7c42dd58cdc95322fb715b7d169717a13575d
[ "MIT" ]
1
2021-04-28T15:30:09.000Z
2021-04-28T15:30:09.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
18483ce0161977e3ea25e82ee56f15d07a02abaf
2,224
ex
Elixir
lib/radixir/core/request/build_transaction/operation/data_object/validator_bft_data.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
16
2022-01-05T20:41:55.000Z
2022-03-25T09:06:43.000Z
lib/radixir/core/request/build_transaction/operation/data_object/validator_bft_data.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
null
null
null
lib/radixir/core/request/build_transaction/operation/data_object/validator_bft_data.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
1
2022-02-10T21:55:26.000Z
2022-02-10T21:55:26.000Z
defmodule Radixir.Core.Request.BuildTransaction.Operation.DataObject.ValidatorBFTdata do @moduledoc false # @moduledoc """ # Methods to create each map in `ValidatorBFTdata` map. # """ alias Radixir.StitchPlan @type stitch_plans :: list(keyword) @type params :: keyword @doc """ Generates stitch plan...
29.263158
101
0.685701
18487a4e4bc44a18233c66590ef6294cd6266256
2,565
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/hive_partitioning_options.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query/lib/google_api/big_query/v2/model/hive_partitioning_options.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/hive_partitioning_options.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 ...
51.3
653
0.755166
18489b8a457ec3b7d2219225fa2dc61080d79f50
339
exs
Elixir
priv/repo/migrations/20150510232929_create_video.exs
thluiz/yehudimtv
71aba0ee537b4bba28474fb20d3209fc261a03d7
[ "MIT" ]
null
null
null
priv/repo/migrations/20150510232929_create_video.exs
thluiz/yehudimtv
71aba0ee537b4bba28474fb20d3209fc261a03d7
[ "MIT" ]
null
null
null
priv/repo/migrations/20150510232929_create_video.exs
thluiz/yehudimtv
71aba0ee537b4bba28474fb20d3209fc261a03d7
[ "MIT" ]
null
null
null
defmodule Yehudimtv.Repo.Migrations.CreateVideo do use Ecto.Migration def change do create table(:videos) do add :identifier, :string add :amazon_identifier, :string add :title, :string add :description, :text add :order, :integer add :episode_id, :integer timestamps ...
18.833333
50
0.654867
1848ce2d83d29917dcb0d2caaa45adf5e7fe3f35
2,897
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_symbol.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_symbol.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_symbol.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...
45.984127
620
0.72972
1848dc59535fa9d85f99ddb2a3bca92946efcd03
1,006
ex
Elixir
playground/live/new.ex
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
2
2022-01-28T13:56:13.000Z
2022-03-20T12:17:54.000Z
playground/live/new.ex
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
null
null
null
playground/live/new.ex
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
null
null
null
defmodule Playground.Live.New do use Phoenix.Component use Phoenix.HTML import Phoenix.LiveView.Helpers use Phoenix.LiveView, layout: {Playground.View, "live.html"} alias Phoenix.LiveView alias Playground.Documents @spec mount(map, struct, LiveView.Socket.t()) :: {:ok, LiveView.Socket.t()} def moun...
25.794872
77
0.659046
1848dcc52005eadf7a51f36ea2df162ade003e6e
1,052
ex
Elixir
lib/netler/message.ex
svan-jansson/netler
36c4738ba4dfec90e9929c91ee36bc61e09a025b
[ "MIT" ]
7
2019-11-26T08:48:43.000Z
2022-01-24T11:55:42.000Z
lib/netler/message.ex
svan-jansson/netler
36c4738ba4dfec90e9929c91ee36bc61e09a025b
[ "MIT" ]
1
2022-02-07T13:12:57.000Z
2022-02-07T13:12:57.000Z
lib/netler/message.ex
svan-jansson/netler
36c4738ba4dfec90e9929c91ee36bc61e09a025b
[ "MIT" ]
null
null
null
defmodule Netler.Message.DecodeError do @moduledoc false defexception [:message] def message(%{message: message}) do "Could not decode message from .NET server: #{message}" end end defmodule Netler.Message do @moduledoc false @server_ok 1 @server_exception 0 @doc "Encodes a message before sendi...
25.047619
86
0.652091
1848e75f77d026d948db72c79748f7bdde7742c2
5,781
ex
Elixir
lib/rig_api/v1/session_blacklist.ex
prakriti07/reactive-interaction-gateway
c9d33064982b5ae12e9af7a300e90b3e7973d0b3
[ "Apache-2.0" ]
null
null
null
lib/rig_api/v1/session_blacklist.ex
prakriti07/reactive-interaction-gateway
c9d33064982b5ae12e9af7a300e90b3e7973d0b3
[ "Apache-2.0" ]
null
null
null
lib/rig_api/v1/session_blacklist.ex
prakriti07/reactive-interaction-gateway
c9d33064982b5ae12e9af7a300e90b3e7973d0b3
[ "Apache-2.0" ]
1
2020-07-17T05:17:32.000Z
2020-07-17T05:17:32.000Z
defmodule RigApi.V1.SessionBlacklist do @moduledoc """ Controller that allows blocking "sessions" for a specific period of time. What a session is depends on your business context and the `JWT_SESSION_FIELD` setting. For example, a session ID could be a random ID assigned to a token upon login, or the id of ...
28.618812
124
0.618751
1848fb3922a5c4ea66145f518c4c20255f1a8d77
147
ex
Elixir
lib/hl7/2.4/datatypes/uvc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/datatypes/uvc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/datatypes/uvc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.DataTypes.Uvc do @moduledoc false use HL7.DataType, fields: [ value_code: nil, value_amount: nil ] end
14.7
35
0.646259
184903f3807ef8b1ef07931c6ed1c4b191f9a50f
10,037
ex
Elixir
lib/zaryn/beacon_chain/subset.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
1
2021-07-06T19:47:14.000Z
2021-07-06T19:47:14.000Z
lib/zaryn/beacon_chain/subset.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
lib/zaryn/beacon_chain/subset.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.BeaconChain.Subset do @moduledoc """ Represents a beacon slot running inside a process waiting to receive transactions to register in a beacon slot """ alias Zaryn.BeaconChain.Slot alias Zaryn.BeaconChain.Slot.EndOfNodeSync alias Zaryn.BeaconChain.Slot.TransactionSummary alias Zaryn.Bea...
30.050898
98
0.680482
184961c3ca9c86be09ca85a51d2c0efffe4fd289
153
exs
Elixir
plants_weather_traffic/apps/plants_server/test/plants_server_test.exs
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
plants_weather_traffic/apps/plants_server/test/plants_server_test.exs
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
plants_weather_traffic/apps/plants_server/test/plants_server_test.exs
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
defmodule PlantsServerTest do use ExUnit.Case doctest PlantsServer test "greets the world" do assert PlantsServer.hello() == :world end end
17
41
0.738562
18496aa7e2939aa6bb13b52126a1df034d63a995
1,722
ex
Elixir
lib/pipeline/download.ex
FreedomBen/tex
8c94703c3dbd7e6adc40d4f29ff45568a6a152df
[ "MIT" ]
null
null
null
lib/pipeline/download.ex
FreedomBen/tex
8c94703c3dbd7e6adc40d4f29ff45568a6a152df
[ "MIT" ]
null
null
null
lib/pipeline/download.ex
FreedomBen/tex
8c94703c3dbd7e6adc40d4f29ff45568a6a152df
[ "MIT" ]
null
null
null
defmodule Tex.Pipeline.Download do @moduledoc false alias Tex.Types.Library alias Tex.Types.Error alias Tex.Net.ReleasesClient alias Tex.Net.TarClient @spec run(Tex.Types.Library.t()) :: {:error, Error.t()} | {:ok, Library.t()} def run(%Library{} = lib) do with {:ok, tar_data} <...
26.90625
94
0.62137
1849972dcf9ca44c412fb5fd5fa20f6364d31279
18,574
ex
Elixir
lib/mix/tasks/talon.gen.theme.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
170
2017-05-25T15:09:53.000Z
2021-07-09T04:04:14.000Z
lib/mix/tasks/talon.gen.theme.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
78
2017-05-25T09:41:55.000Z
2019-01-04T20:53:35.000Z
lib/mix/tasks/talon.gen.theme.ex
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
8
2017-06-24T12:28:06.000Z
2018-09-17T16:11:56.000Z
defmodule Mix.Tasks.Talon.Gen.Theme do @moduledoc """ Install a new Talon theme into your project. mix talon.gen.theme --theme=admin-lte --target-theme=my-theme The target theme will contain: * CRUD templates generators in `web/templates/talon/target_name/generators * Views for of your configured res...
35.719231
115
0.670507
1849a65e1fc73ca198082266aec83da019832efb
1,674
exs
Elixir
mix.exs
cpjolicoeur/pivotal-swimlanes
ebe6b2b48516e6bd8dec557cda2b890f820974be
[ "CC0-1.0" ]
6
2015-10-27T01:46:27.000Z
2021-04-08T18:28:44.000Z
mix.exs
cpjolicoeur/pivotal-swimlanes
ebe6b2b48516e6bd8dec557cda2b890f820974be
[ "CC0-1.0" ]
66
2015-10-23T20:21:12.000Z
2018-04-18T15:25:57.000Z
mix.exs
cpjolicoeur/pivotal-swimlanes
ebe6b2b48516e6bd8dec557cda2b890f820974be
[ "CC0-1.0" ]
null
null
null
defmodule PivotalSwimlanes.Mixfile do use Mix.Project def project do [app: :pivotal_swimlanes, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env ==...
30.436364
89
0.608722
1849b54a491dd8202e282861995cd13fe778b4ad
482
exs
Elixir
golf_phoenix/config/test.exs
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
golf_phoenix/config/test.exs
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
golf_phoenix/config/test.exs
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :golf_phoenix, GolfPhoenixWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :golf_phoen...
25.368421
56
0.744813
1849b7e38c9bc65e799ed68329be024ae2ac0571
10,388
ex
Elixir
lib/elixir/lib/map_set.ex
QuentinDanjou/elixir
09d59d4d19cb11b96bdc5786c70f6a0ca48050c8
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/elixir/lib/map_set.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/map_set.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
defmodule MapSet do @moduledoc """ Functions that work on sets. `MapSet` is the "go to" set data structure in Elixir. A set can be constructed using `MapSet.new/0`: iex> MapSet.new() #MapSet<[]> A set can contain any kind of elements, and elements in a set don't have to be of the same type. B...
25.274939
100
0.608394
1849c11bfeb2af594a63a2461382533aa40da602
846
ex
Elixir
lib/accent/schemas/version.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/accent/schemas/version.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/accent/schemas/version.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.Version do use Accent.Schema schema "versions" do field(:name, :string) field(:tag, :string) field(:parsed_tag, :any, virtual: true) belongs_to(:user, Accent.User) belongs_to(:project, Accent.Project) has_many(:translations, Accent.Translation) has_many(:operations, A...
22.864865
68
0.667849
1849e5c4ee62e050e6f5eb2acbdf245a4a54896e
863
ex
Elixir
apps/tai/lib/tai/venue_adapters/gdax.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/lib/tai/venue_adapters/gdax.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venue_adapters/gdax.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
null
null
null
defmodule Tai.VenueAdapters.Gdax do alias Tai.VenueAdapters.Gdax.{ StreamSupervisor, AssetBalances, MakerTakerFees, Products } @behaviour Tai.Venues.Adapter def stream_supervisor, do: StreamSupervisor defdelegate products(venue_id), to: Products defdelegate asset_balances(venue_id, account...
41.095238
88
0.779838
1849edcb561392f61fd5d9f4a71a93e3c0b577a1
2,184
ex
Elixir
lib/cobol_to_elixir/util.ex
TheFirstAvenger/cobol_to_elixir
549528aed3dd1de8a14bb3a763539b5cbf714811
[ "MIT" ]
65
2021-08-10T19:16:25.000Z
2022-02-23T01:38:13.000Z
lib/cobol_to_elixir/util.ex
TheFirstAvenger/cobol_to_elixir
549528aed3dd1de8a14bb3a763539b5cbf714811
[ "MIT" ]
1
2021-08-15T21:59:54.000Z
2021-08-20T20:30:06.000Z
lib/cobol_to_elixir/util.ex
TheFirstAvenger/cobol_to_elixir
549528aed3dd1de8a14bb3a763539b5cbf714811
[ "MIT" ]
1
2021-08-21T19:53:13.000Z
2021-08-21T19:53:13.000Z
defmodule CobolToElixir.Util do def execute_cobol_code!(cobol, input \\ []) do tmp_folder = generate_tmp_folder() try do case compile_cobol(cobol, tmp_folder) do {"", 0} -> :ok {output, 1} -> raise "Error compiling cobol:\n#{output}" end starting_files = File.ls!(tmp_folder...
29.917808
106
0.64652
1849ff83a0ccea8d2d21704a42988f96acce4a92
1,631
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/delete_developer_metadata_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/delete_developer_metadata_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/delete_developer_metadata_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.979167
160
0.753525
184a113e10aaea6f455e56ca7d4215f8c0d8c16c
1,163
exs
Elixir
apps/app_ui/config/dev.exs
borodark/guardian_live_oss
dcfd0a2b24e68fc9c9d7dbc87dd52a159b7a7f96
[ "MIT" ]
null
null
null
apps/app_ui/config/dev.exs
borodark/guardian_live_oss
dcfd0a2b24e68fc9c9d7dbc87dd52a159b7a7f96
[ "MIT" ]
null
null
null
apps/app_ui/config/dev.exs
borodark/guardian_live_oss
dcfd0a2b24e68fc9c9d7dbc87dd52a159b7a7f96
[ "MIT" ]
1
2018-07-26T17:34:23.000Z
2018-07-26T17:34:23.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :app_ui, AppUi.Endpoint, http: [port: 4000], ...
27.690476
73
0.682717
184a7aa4613fe69ebc14db6436c5f93b42edff38
3,923
ex
Elixir
web/controllers/admin/post_controller.ex
twined/brando_news
401e27e85fbcbf095bc4937b060e37e1eb2a7a8b
[ "MIT" ]
1
2020-01-13T23:44:10.000Z
2020-01-13T23:44:10.000Z
web/controllers/admin/post_controller.ex
twined/brando_news
401e27e85fbcbf095bc4937b060e37e1eb2a7a8b
[ "MIT" ]
5
2016-05-04T08:50:53.000Z
2018-04-23T13:51:23.000Z
web/controllers/admin/post_controller.ex
twined/brando_news
401e27e85fbcbf095bc4937b060e37e1eb2a7a8b
[ "MIT" ]
null
null
null
defmodule Brando.Admin.PostController do @moduledoc """ Controller for the Brando News module. """ use Brando.Web, :controller use Brando.Villain, [:controller, [ image_model: Brando.Image, series_model: Brando.ImageSeries]] import Brando.News.Gettext import Brando.Utils, only: [helpers: 1] im...
24.987261
86
0.604639
184a8109ec7614d7a6dc866777bcab6c2b401466
6,461
exs
Elixir
test/skooma_test.exs
suexcxine/skooma
205d274feeada550d4d8635cf430e45926605112
[ "MIT" ]
67
2019-04-25T03:17:30.000Z
2022-03-05T15:23:39.000Z
test/skooma_test.exs
georgelima/skooma
c33fbbe38a02ccabb95a131325ee38b3fdc4c117
[ "MIT" ]
9
2019-05-01T15:25:07.000Z
2021-09-07T06:11:10.000Z
test/skooma_test.exs
georgelima/skooma
c33fbbe38a02ccabb95a131325ee38b3fdc4c117
[ "MIT" ]
14
2019-05-01T15:27:42.000Z
2021-09-24T17:39:27.000Z
defmodule SkoomaTest do use ExUnit.Case require Logger test "bool types" do test_data = false test_schema = [:bool] expected_results = :ok results = Skooma.valid?(test_data, test_schema) assert(expected_results == results) end test "string types" do test_data = "test" test_schem...
26.371429
78
0.608575
184ab16a2229eba5a745652a437b305cf0277c60
1,337
exs
Elixir
mix.exs
aptinio/elixir_authorizenet
b04adf2691ac58f1a14f28f2c1360b7f21c202f7
[ "Apache-2.0" ]
10
2015-11-14T23:33:07.000Z
2020-07-15T02:08:35.000Z
mix.exs
aptinio/elixir_authorizenet
b04adf2691ac58f1a14f28f2c1360b7f21c202f7
[ "Apache-2.0" ]
4
2016-06-04T17:24:27.000Z
2016-07-06T22:27:16.000Z
mix.exs
aptinio/elixir_authorizenet
b04adf2691ac58f1a14f28f2c1360b7f21c202f7
[ "Apache-2.0" ]
10
2016-06-04T18:28:09.000Z
2021-10-20T04:42:21.000Z
defmodule AuthorizeNet.Mixfile do use Mix.Project def project do [ app: :elixir_authorizenet, name: "elixir_authorizenet", source_url: "https://github.com/marcelog/elixir_authorizenet", version: "0.4.1", elixir: ">= 1.1.0", description: description(), package: package(...
22.283333
90
0.566193
184ac37c1c312b260c98a02adf201b1a1a34b804
593
ex
Elixir
lib/absinthe/blueprint/schema/union_type_definition.ex
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/schema/union_type_definition.ex
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
lib/absinthe/blueprint/schema/union_type_definition.ex
jlgeering/absinthe
a3dbc29640d613928398626ad75a8f03203a1720
[ "MIT" ]
null
null
null
defmodule Absinthe.Blueprint.Schema.UnionTypeDefinition do @moduledoc false alias Absinthe.Blueprint @enforce_keys [:name] defstruct [ :name, description: nil, directives: [], types: [], # Added by phases flags: %{}, errors: [] ] @type t :: %__MODULE__{ name: String....
21.962963
58
0.575042
184ae9b2fefb968b66c8a540e520a87c63880ecd
15,088
ex
Elixir
lib/conduit/test.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
null
null
null
lib/conduit/test.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
null
null
null
lib/conduit/test.ex
log4b/conduit
5ecf5aa0edd831f54c28d596f1cb2d414fc99c6e
[ "MIT" ]
null
null
null
defmodule Conduit.Test do @moduledoc """ Helpers for testing receiving and publishing messages from a message queue. The helpers in this module are intended to be used in conjunction with the `Conduit.TestAdapter`. When you publish a `Conduit.Message` with the `Conduit.TestAdapter` setup, it will send a mess...
32.170576
119
0.694393
184b2ab084f3c5709505a99a65bcee11cb0d1616
1,356
ex
Elixir
lib/teiserver/account/reports/ranks_report.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/teiserver/account/reports/ranks_report.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/account/reports/ranks_report.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Account.RanksReport do alias Central.Helpers.DatePresets alias Teiserver.{Account, User} @spec icon() :: String.t() def icon(), do: "far fa-satellite-dish" @spec run(Plug.Conn.t(), map()) :: {list(), map()} def run(_conn, params) do params = apply_defaults(params) # Date range...
24.214286
67
0.575959
184b3056ca39604f44b3d69bc4543deb4e49735d
2,278
ex
Elixir
lib/elixir/lib/kernel/utils.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/utils.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/utils.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [destructure: 2, defdelegate: 2, defstruct: 2] defmodule Kernel.Utils do @moduledoc false def destructure(list, count) when is_list(list), do: destructure_list(list, count) def destructure(nil, count), do: destructure_nil(count) defp destructure_list(_, 0), do: [] defp destructure_li...
30.783784
98
0.633011
184b5ebbfd2e3dd04869ce7547b436645f057c6e
483
ex
Elixir
lib/zam_web/views/error_view.ex
praxis-of-nines/zam-search
d58261f35a22b7fd84df83674e74d59c925461f5
[ "MIT" ]
11
2019-05-27T23:43:46.000Z
2021-08-24T06:37:23.000Z
lib/zam_web/views/error_view.ex
praxis-of-nines/zam-search
d58261f35a22b7fd84df83674e74d59c925461f5
[ "MIT" ]
1
2020-05-17T04:51:52.000Z
2021-03-25T15:38:33.000Z
lib/zam_web/views/error_view.ex
praxis-of-nines/zam-search
d58261f35a22b7fd84df83674e74d59c925461f5
[ "MIT" ]
2
2019-05-27T23:43:52.000Z
2020-10-15T09:09:58.000Z
defmodule ZamWeb.ErrorView do use ZamWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. For ex...
28.411765
61
0.730849
184b60fc3925cdfcf23cfcc29f764576ba03e632
803
exs
Elixir
apps/parse/test/parse/line_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/parse/test/parse/line_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/parse/test/parse/line_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
defmodule Parse.LineTest do use ExUnit.Case, async: true import Parse.Line alias Model.Line describe "parse_row/1" do test "parses a route CSV map into a %Line{}" do row = %{ "line_id" => "line-Middleborough", "line_short_name" => "", "line_long_name" => "Middleborough/Lakevi...
23.617647
59
0.550436
184b6270dc0fb9ec0313f0f12a8c6f1fe3cd8ef1
1,335
exs
Elixir
test/mavlink_task_test.exs
beamuav/elixir-mavlink
1db95ccb7e631f89159ff1d0927fe7d5722107be
[ "MIT" ]
5
2019-08-10T08:21:38.000Z
2021-05-27T23:51:05.000Z
test/mavlink_task_test.exs
beamuav/elixir-mavlink
1db95ccb7e631f89159ff1d0927fe7d5722107be
[ "MIT" ]
15
2019-08-18T08:47:05.000Z
2021-05-24T07:05:18.000Z
test/mavlink_task_test.exs
beamuav/elixir-mavlink
1db95ccb7e631f89159ff1d0927fe7d5722107be
[ "MIT" ]
null
null
null
defmodule MAVLink.Test.Tasks do use ExUnit.Case import Mix.Tasks.Mavlink @input "#{File.cwd!()}/test/input/test_mavlink.xml" @output_dir "#{File.cwd!()}/test/output" @output "#{@output_dir}/test_mavlink.ex" @output_module "TestMavlink" test "generate" do # Setup output directory File.mkdir_p(@ou...
27.8125
83
0.676404
184baafcf327ce2e04e7ae8f4484cf4719c5fba9
1,917
ex
Elixir
lib/makeup/styles/html/pygments/murphy.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
31
2020-10-02T09:01:30.000Z
2022-03-18T14:58:01.000Z
lib/makeup/styles/html/pygments/murphy.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
21
2020-09-29T12:59:58.000Z
2022-03-07T15:21:48.000Z
lib/makeup/styles/html/pygments/murphy.ex
RudolfMan/makeup
18d38e76f8a2fdb98ccee93f74a57a6430843e3a
[ "BSD-2-Clause" ]
5
2020-12-01T20:17:51.000Z
2022-03-07T09:10:13.000Z
defmodule Makeup.Styles.HTML.MurphyStyle do @moduledoc false @styles %{ :error => "#F00 bg:#FAA", :keyword => "bold #289", :keyword_pseudo => "#08f", :keyword_type => "#66f", :name_attribute => "#007", :name_builtin => "#072", :name_class => "bold #e9e", :name_constant => "bold #5e...
28.191176
43
0.577465
184bc4d87b10cce74cf9134d898d3633220ccd03
6,131
exs
Elixir
test/users_test.exs
mxenabled/atrium-elixir
9d4a112f9b44823536893dcd35151f11d348919c
[ "MIT" ]
2
2020-12-07T23:29:54.000Z
2020-12-07T23:29:55.000Z
test/users_test.exs
jacobparry/atrium-elixir
c88bfe8dd0e0fc3c16df7ba6dbf9207dd6552f4f
[ "MIT" ]
6
2017-11-06T22:39:48.000Z
2020-02-25T15:19:44.000Z
test/users_test.exs
jacobparry/atrium-elixir
c88bfe8dd0e0fc3c16df7ba6dbf9207dd6552f4f
[ "MIT" ]
8
2018-03-02T16:10:38.000Z
2022-02-07T20:39:29.000Z
defmodule Atrium.UsersTest do use ExUnit.Case, async: false doctest Atrium alias Atrium.Users setup _ do # Deletes the users created in each test. # The dev environment limits the developers to 100 users. # This cleans the users created in the test up before each test. # https://atrium.mx.com/...
29.334928
90
0.478552
184bc5a499c08fad329aa5cb16ca01a7dd49d441
12
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_in_operation_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_in_operation_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_in_operation_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
:one in :two
12
12
0.666667
184bcde1210c54e6513aee316b5749ca81209532
2,159
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/get_info_for_observed_beacons_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.18
392
0.77258
184bd8d18878fa09e30d9e52a37bd3b1dc8ab628
1,378
exs
Elixir
apps/moroxite_server/config/config.exs
Hadescho/Moroxite
66c3c35a6317d82349ec0b5ddebc8106a86444b2
[ "MIT" ]
null
null
null
apps/moroxite_server/config/config.exs
Hadescho/Moroxite
66c3c35a6317d82349ec0b5ddebc8106a86444b2
[ "MIT" ]
null
null
null
apps/moroxite_server/config/config.exs
Hadescho/Moroxite
66c3c35a6317d82349ec0b5ddebc8106a86444b2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
33.609756
73
0.743106
184bf6607331b34f23b32c33ca0881db0970d519
1,138
exs
Elixir
mix.exs
kianmeng/ex_chimp
c1f74f8f2e214562a3bf8ac6a74cf59ddf7924bd
[ "MIT" ]
null
null
null
mix.exs
kianmeng/ex_chimp
c1f74f8f2e214562a3bf8ac6a74cf59ddf7924bd
[ "MIT" ]
null
null
null
mix.exs
kianmeng/ex_chimp
c1f74f8f2e214562a3bf8ac6a74cf59ddf7924bd
[ "MIT" ]
null
null
null
defmodule ExChimp.Mixfile do use Mix.Project @version "0.0.6" @description "Basic/minimal Mailchimp API client." def project do [ app: :ex_chimp, version: @version, elixir: "~> 1.2", description: @description, build_embedded: Mix.env() == :prod, start_permanent: Mix.env...
21.074074
90
0.517575
184c05542711c92b15b464cf760ca9ce4fa71495
17,090
exs
Elixir
apps/toniefy/test/toniex/accounts_test.exs
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
17
2021-04-12T10:01:14.000Z
2022-02-25T17:30:27.000Z
apps/toniefy/test/toniex/accounts_test.exs
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
1
2022-03-09T09:35:00.000Z
2022-03-09T11:46:14.000Z
apps/toniefy/test/toniex/accounts_test.exs
benvp/toniefy
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
null
null
null
defmodule Toniex.AccountsTest do use Toniex.DataCase alias Toniex.Accounts import Toniex.AccountsFixtures alias Toniex.Accounts.{User, UserToken} describe "get_user_by_email/1" do test "does not return the user if the email does not exist" do refute Accounts.get_user_by_email("unknown@example.com"...
33.841584
97
0.659801
184c31d13e9489fc2f78455225a5f6d8e1b3d272
1,045
exs
Elixir
test/galapagos_nao/library_test.exs
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
21
2018-03-19T02:52:38.000Z
2020-07-21T06:18:54.000Z
test/galapagos_nao/library_test.exs
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
23
2018-02-21T23:34:41.000Z
2018-04-07T15:13:56.000Z
test/galapagos_nao/library_test.exs
jeffreyksmithjr/galapgos_nao
6123d770b4019c8225d64b9a4a584b4ee0019063
[ "MIT" ]
1
2020-04-28T16:38:03.000Z
2020-04-28T16:38:03.000Z
defmodule GN.LibraryTest do use ExUnit.Case alias GN.Library, as: Library alias GN.Network, as: Network @test_agent_name :testable_library setup do {:ok, agent} = Library.start_link(name: @test_agent_name) {:ok, agent: agent} end test "adds new models to the library and returns them" do net...
27.5
86
0.644976
184c824e2fc2b40bd500cd4631614ffc180f34b1
19,034
ex
Elixir
lib/elixir/lib/regex.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/regex.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/regex.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
defmodule Regex do @moduledoc ~S""" Provides regular expressions for Elixir. Built on top of Erlang's `:re` module. As the `:re` module, Regex is based on PCRE (Perl Compatible Regular Expressions). More information can be found in the [`:re` module documentation](http://www.erlang.org/doc/man/re.html). ...
29.373457
113
0.617947
184cbe83ba928e5ecc3e82bf2d2331407d0e4d74
410
ex
Elixir
lib/mix/tasks/stats.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
lib/mix/tasks/stats.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
lib/mix/tasks/stats.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Changelog.Stats do use Mix.Task @shortdoc "Processes stats for given date, or yesterday" def run(args) when is_nil(args), do: run([]) def run(args) do Mix.Task.run "app.start" case Timex.parse(List.first(args), "{YYYY}-{0M}-{D}") do {:ok, time} -> Changelog.Stats.process(Tim...
25.625
65
0.656098
184cdaf1791b33565613a9edd4c19c954db61690
2,178
exs
Elixir
config/prod.exs
zachncst/escritor
4be56fbed4e86407a547c3592342dd237f52c54c
[ "MIT" ]
null
null
null
config/prod.exs
zachncst/escritor
4be56fbed4e86407a547c3592342dd237f52c54c
[ "MIT" ]
null
null
null
config/prod.exs
zachncst/escritor
4be56fbed4e86407a547c3592342dd237f52c54c
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33
67
0.713499
184cdd2420b65a6a5ac86117cbf56ab633a38c24
77
ex
Elixir
webpage/lib/skeleton_webpage_web/views/page_view.ex
psychowico/phoenix-vuejs-skeleton
6e8fa12bf1050bb08c5e312fd972db92a1e0b214
[ "MIT" ]
null
null
null
webpage/lib/skeleton_webpage_web/views/page_view.ex
psychowico/phoenix-vuejs-skeleton
6e8fa12bf1050bb08c5e312fd972db92a1e0b214
[ "MIT" ]
null
null
null
webpage/lib/skeleton_webpage_web/views/page_view.ex
psychowico/phoenix-vuejs-skeleton
6e8fa12bf1050bb08c5e312fd972db92a1e0b214
[ "MIT" ]
null
null
null
defmodule SkeletonWebpageWeb.PageView do use SkeletonWebpageWeb, :view end
19.25
40
0.844156
184cf5d53403cdb8151a2f2ebff8cc647c818a36
976
exs
Elixir
apps/language_server/mix.exs
hworld/elixir-ls
396edd102b287bcf4265ef02d4b4ae33f7a2fffc
[ "Apache-2.0" ]
null
null
null
apps/language_server/mix.exs
hworld/elixir-ls
396edd102b287bcf4265ef02d4b4ae33f7a2fffc
[ "Apache-2.0" ]
null
null
null
apps/language_server/mix.exs
hworld/elixir-ls
396edd102b287bcf4265ef02d4b4ae33f7a2fffc
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.Mixfile do use Mix.Project def project do [ app: :language_server, version: "0.3.1", elixir: ">= 1.7.0", build_path: "../../_build", config_path: "config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixirc_p...
25.025641
77
0.593238
184cf9b707baff2ead6439b46086a320ecbd728b
2,069
ex
Elixir
lib/ex_p2p/dispatcher.ex
SoCal-Software-Labs/ExP2P
2104c37904e89f32ea84418fd002d19efe4c4bfb
[ "MIT" ]
null
null
null
lib/ex_p2p/dispatcher.ex
SoCal-Software-Labs/ExP2P
2104c37904e89f32ea84418fd002d19efe4c4bfb
[ "MIT" ]
null
null
null
lib/ex_p2p/dispatcher.ex
SoCal-Software-Labs/ExP2P
2104c37904e89f32ea84418fd002d19efe4c4bfb
[ "MIT" ]
null
null
null
defmodule ExP2P.Dispatcher do use GenServer require Logger def start_link(opts) do bind_addr = Keyword.fetch!(opts, :bind_addr) other_opts = Keyword.fetch!(opts, :opts) bootstrap = Keyword.fetch!(opts, :bootstrap_nodes) client_mode = Keyword.fetch!(opts, :client_mode) port_forward = Keyword....
27.959459
97
0.638956