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
ab7249475af46eaf4fddc5482b076f8e34954c8a
449
ex
Elixir
test/support/phoenix/conn_case.ex
dweremeichik/pow
8c45624c1bf40487680abf5a077549fad2de2141
[ "MIT" ]
null
null
null
test/support/phoenix/conn_case.ex
dweremeichik/pow
8c45624c1bf40487680abf5a077549fad2de2141
[ "MIT" ]
null
null
null
test/support/phoenix/conn_case.ex
dweremeichik/pow
8c45624c1bf40487680abf5a077549fad2de2141
[ "MIT" ]
1
2020-07-13T01:11:17.000Z
2020-07-13T01:11:17.000Z
defmodule Pow.Test.Phoenix.ConnCase do @moduledoc false use ExUnit.CaseTemplate alias Pow.Test.Phoenix.{ControllerAssertions, Endpoint, Router} using do quote do use Phoenix.ConnTest import ControllerAssertions alias Router.Helpers, as: Routes @endpoint Endpoint end end @...
17.96
65
0.69265
ab72670affef473cc4fe3ebc47919b07a1696d74
4,120
exs
Elixir
lib/mix/test/mix/utils_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/test/mix/utils_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/utils_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.Tasks.Cheers do end defmodule Mix.UtilsTest do use MixTest.Case doctest Mix.Utils test :command_to_module do assert Mix.Utils.command_to_module("cheers", Mix.Tasks) == {:module, Mix.Tasks.Cheers} assert Mix.Utils.command_to_module("unknown...
38.504673
105
0.674029
ab72709ad71650be19616ef7e917ffb0d62ae63c
4,433
ex
Elixir
lib/bgsite_official_web/controllers/user_auth.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
1
2021-08-05T12:44:37.000Z
2021-08-05T12:44:37.000Z
lib/bgsite_official_web/controllers/user_auth.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
16
2021-02-20T19:22:45.000Z
2021-06-14T13:59:01.000Z
lib/bgsite_official_web/controllers/user_auth.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
3
2021-05-17T17:54:43.000Z
2021-11-03T15:30:30.000Z
defmodule BgsiteOfficialWeb.UserAuth do import Plug.Conn import Phoenix.Controller alias BgsiteOfficial.Accounts alias BgsiteOfficialWeb.Router.Helpers, as: Routes # Make the remember me cookie valid for 60 days. # If you want bump or reduce this value, also change # the token expiry itself in UserToken...
29.553333
83
0.697947
ab72b200e418c36620e780b85a01235497373ea4
1,014
ex
Elixir
elixir/nucleotide-count/lib/nucleotide_count.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
elixir/nucleotide-count/lib/nucleotide_count.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
elixir/nucleotide-count/lib/nucleotide_count.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule NucleotideCount do @nucleotides [?A, ?C, ?G, ?T] @doc """ Counts individual nucleotides in a NucleotideCount strand. ## Examples iex> NucleotideCount.count('AATAA', ?A) 4 iex> NucleotideCount.count('AATAA', ?T) 1 """ @spec count([char], char) :: non_neg_integer def count(strand, nucl...
24.731707
78
0.66075
ab72e97ff81d74deaff352a455cd0b6fda940d21
4,099
ex
Elixir
lib/tyyppi/value/coercions.ex
am-kantox/tyyppi
0dedffa6cfb0a728b78a8fb34807cc48f0b079e1
[ "MIT" ]
13
2020-07-19T21:02:29.000Z
2021-07-16T12:02:45.000Z
lib/tyyppi/value/coercions.ex
am-kantox/tyyppi
0dedffa6cfb0a728b78a8fb34807cc48f0b079e1
[ "MIT" ]
8
2020-07-20T12:41:51.000Z
2021-03-17T06:46:44.000Z
lib/tyyppi/value/coercions.ex
am-kantox/tyyppi
0dedffa6cfb0a728b78a8fb34807cc48f0b079e1
[ "MIT" ]
null
null
null
defmodule Tyyppi.Value.Coercions do @moduledoc false @spec any(any()) :: Tyyppi.Valuable.either() def any(value), do: {:ok, value} @spec atom(value :: any()) :: Tyyppi.Valuable.either() def atom(atom) when is_atom(atom), do: {:ok, atom} def atom(binary) when is_binary(binary), do: {:ok, String.to_atom(bin...
34.445378
95
0.607953
ab72f62299fbf2a63b334ac7454de1c026584f4e
1,755
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_value_frequency.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_value_frequency.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_value_frequency.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.1
138
0.735613
ab731093a44c33018979e8017b9aa58ed36dee17
2,426
ex
Elixir
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_batch_create_user_links_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_batch_create_user_links_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_batch_create_user_links_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...
37.323077
284
0.749794
ab736a1ff1ae00a96eb415cd94bdf0720e843ebc
1,545
ex
Elixir
test/support/data_case.ex
joaothallis/name-of-the-day
839411b6eb28cefd1b74e2f4e6eafcbb7b7bfd82
[ "MIT" ]
null
null
null
test/support/data_case.ex
joaothallis/name-of-the-day
839411b6eb28cefd1b74e2f4e6eafcbb7b7bfd82
[ "MIT" ]
6
2021-09-07T15:10:50.000Z
2021-10-31T02:56:08.000Z
test/support/data_case.ex
joaothallis/name-of-the-day
839411b6eb28cefd1b74e2f4e6eafcbb7b7bfd82
[ "MIT" ]
null
null
null
defmodule NameOfTheDay.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done...
29.711538
93
0.700324
ab739f7821f12885302f622710eeeb177680bd5a
1,201
ex
Elixir
web/channels/user_socket.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
web/channels/user_socket.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
web/channels/user_socket.ex
mark-b-kauffman/phoenixDSK3LO
999d7f66515a3bf1974d25c3d7ff3b439266452c
[ "BSD-3-Clause", "MIT" ]
null
null
null
defmodule PhoenixDSK3LO.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", PhoenixDSK3LO.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket, timeout: 45_000 # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # ...
31.605263
86
0.706911
ab73a0787db72a02600a8a5b9945bc32ec08c7ff
2,997
exs
Elixir
mix.exs
Zurga/pimoroni_pirate_audio
c781d2195968679bde8cfe4d17d17be918fe2fa5
[ "Apache-2.0" ]
null
null
null
mix.exs
Zurga/pimoroni_pirate_audio
c781d2195968679bde8cfe4d17d17be918fe2fa5
[ "Apache-2.0" ]
null
null
null
mix.exs
Zurga/pimoroni_pirate_audio
c781d2195968679bde8cfe4d17d17be918fe2fa5
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi0.MixProject do use Mix.Project @github_organization "Zurga" @app :pimoroni_pirate_audio @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @...
22.704545
78
0.578579
ab73caa9151a7f604a15be636300fb6be9b1619f
3,443
ex
Elixir
clients/vm_migration/lib/google_api/vm_migration/v1/model/cutover_job.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/vm_migration/lib/google_api/vm_migration/v1/model/cutover_job.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/vm_migration/lib/google_api/vm_migration/v1/model/cutover_job.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...
47.164384
187
0.698519
ab741048b2c2be52a473d8ab5fb6eb89ce683ce9
590
exs
Elixir
test/test_helper.exs
nnnolan/aoc2021
9831e298fae67f1107d9583a07ecbf1c925f977e
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
nnnolan/aoc2021
9831e298fae67f1107d9583a07ecbf1c925f977e
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
nnnolan/aoc2021
9831e298fae67f1107d9583a07ecbf1c925f977e
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.875
74
0.762712
ab741cc215c57ef0ed3f152ea834cec8e57cb776
3,586
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/event_trigger.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/event_trigger.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/event_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...
64.035714
846
0.749024
ab7423ba37f64405bc235b74539f7db5cf7dddd1
2,670
ex
Elixir
apps/tai/lib/tai/venue_adapters/okex/cancel_order.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/venue_adapters/okex/cancel_order.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/lib/tai/venue_adapters/okex/cancel_order.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.VenueAdapters.OkEx.CancelOrder do @moduledoc """ Sends a cancel order request to OkEx. OkEx uses different API endpoints for each of their product types: futures, swap & spot. API responses across these products are inconsistent. """ alias Tai.Orders.Responses @type order :: Tai.Orders...
33.375
101
0.68764
ab7424a46a23369542231e457559683d530bf9b5
6,466
ex
Elixir
host_core/lib/host_core.ex
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core.ex
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
null
null
null
host_core/lib/host_core.ex
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
null
null
null
defmodule HostCore do @moduledoc """ `HostCore` Application. """ require Logger use Application def start(_type, _args) do config = Vapor.load!(HostCore.ConfigPlan) config = post_process_config(config) children = mount_supervisor_tree(config) opts = [strategy: :one_for_one, name: HostCore...
30.64455
105
0.598051
ab743233d2b24104233d5e7a6ad012072cafe681
1,272
ex
Elixir
elixir-example/server/lib/tictactoe_web/views/error_helpers.ex
Limenius/tittactoe
e896dcb6ed2e75d3b5a2e6fb38b1a0c4861404bc
[ "MIT" ]
9
2017-10-09T20:26:23.000Z
2020-10-27T15:50:28.000Z
elixir-example/server/lib/tictactoe_web/views/error_helpers.ex
Limenius/tittactoe
e896dcb6ed2e75d3b5a2e6fb38b1a0c4861404bc
[ "MIT" ]
null
null
null
elixir-example/server/lib/tictactoe_web/views/error_helpers.ex
Limenius/tittactoe
e896dcb6ed2e75d3b5a2e6fb38b1a0c4861404bc
[ "MIT" ]
2
2017-10-25T01:32:21.000Z
2018-12-21T21:44:01.000Z
defmodule TictactoeWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn (error) -> content_...
31.02439
78
0.67217
ab744dc85e442228687717306bfaedf6b4a08533
1,819
ex
Elixir
lib/parser/tree.ex
boomba-bot/boomba
285f24edd69736f3663e5b1c6efa4ee4d54a667e
[ "MIT" ]
null
null
null
lib/parser/tree.ex
boomba-bot/boomba
285f24edd69736f3663e5b1c6efa4ee4d54a667e
[ "MIT" ]
12
2021-09-29T17:49:53.000Z
2021-10-09T14:53:48.000Z
lib/parser/tree.ex
boomba-bot/boomba
285f24edd69736f3663e5b1c6efa4ee4d54a667e
[ "MIT" ]
null
null
null
defmodule Boomba.Parser.Tree do @moduledoc false alias Boomba.Parser.Variables def build(message) when is_binary(message) do opening_brackets = Regex.scan(~r/\${/, message, return: :index) closing_brackets = Regex.scan(~r/}/, message, return: :index) brackets = Enum.sort( opening_brack...
32.482143
88
0.601429
ab7454a7548d90c3668fa251f938ae1f055b6518
1,585
ex
Elixir
lib/hl7/2.5/segments/pid.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/pid.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/pid.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.PID do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, set_id_pid: nil, patient_id: DataTypes.Cx, patient_identifier_list: DataTypes.Cx, alternate_patient_id_pid: DataTypes.Cx, patient_name:...
31.078431
52
0.701577
ab74795f8014a367b446f8f514312b715a4b1da0
203
ex
Elixir
lib/phone/tm.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/tm.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/tm.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.TM do @moduledoc false use Helper.Country def regex, do: ~r/^(993)()(.+)/ def country, do: "Turkmenistan" def a2, do: "TM" def a3, do: "TKM" matcher(:regex, ["993"]) end
15.615385
33
0.605911
ab747c0056d0128eb715fb9c6bb92c931b66b501
4,553
exs
Elixir
test/integration/custom_tag_test.exs
kianmeng/solid
710e161b193a422feeaf2bb0931148e045c719cb
[ "MIT" ]
null
null
null
test/integration/custom_tag_test.exs
kianmeng/solid
710e161b193a422feeaf2bb0931148e045c719cb
[ "MIT" ]
null
null
null
test/integration/custom_tag_test.exs
kianmeng/solid
710e161b193a422feeaf2bb0931148e045c719cb
[ "MIT" ]
null
null
null
defmodule Solid.Integration.CustomTagsTest do use ExUnit.Case, async: true import Solid.Helpers describe "custom tags" do test "pass in custom tag that needs no arguments" do assert render("{% current_date %}", %{}, tags: %{"current_date" => CustomTags.CurrentDate}, parser...
35.294574
115
0.53042
ab74890608804991db612d61de8e8d1ea2025d6a
1,958
exs
Elixir
clients/firebase_app_check/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/firebase_app_check/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/firebase_app_check/mix.exs
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...
29.223881
187
0.66905
ab74f2dba63d26e4c35f5458e5a800453ef39a53
7,327
ex
Elixir
lib/parsers/zoneinfo/zoneinfo.ex
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
lib/parsers/zoneinfo/zoneinfo.ex
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
lib/parsers/zoneinfo/zoneinfo.ex
lafka/timex
99334777d2f5bc13a8b17b19dcd9873058abc0dd
[ "MIT" ]
null
null
null
defmodule Timex.Parsers.ZoneInfo do @moduledoc """ This module is responsible for parsing binary zoneinfo files, such as those found in /usr/local/zoneinfo. """ # See http://linux.about.com/library/cmd/blcmdl5_tzfile.htm or # https://github.com/eggert/tz/blob/master/tzfile.h for details on the tzfile forma...
38.767196
118
0.64119
ab7526a70207a690edf1e649f0ccdbaf36f8789f
2,412
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/serving_restriction.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/serving_restriction.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/serving_restriction.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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.285714
238
0.750829
ab752a0024b462c6bb44b24e0d775c36a70f0dc8
78
exs
Elixir
test/test_helper.exs
wribln/ueberauth_example
290d4023d647e058a3070453ec5482cf982e13da
[ "MIT" ]
1
2021-08-28T07:59:55.000Z
2021-08-28T07:59:55.000Z
test/test_helper.exs
wribln/ueberauth_example
290d4023d647e058a3070453ec5482cf982e13da
[ "MIT" ]
null
null
null
test/test_helper.exs
wribln/ueberauth_example
290d4023d647e058a3070453ec5482cf982e13da
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(UeberauthExample.Repo, :manual)
26
62
0.807692
ab7531ee3e010259826a055b29ffeeb1c1e93811
455
ex
Elixir
lib/protocols/stringifier_protocol.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/protocols/stringifier_protocol.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
null
null
null
lib/protocols/stringifier_protocol.ex
Ventup-IT/digger
60e4cf70ac5f4ab712d45448f8c7971a1db929b2
[ "MIT" ]
1
2021-11-09T14:20:08.000Z
2021-11-09T14:20:08.000Z
defprotocol Digger.Stringifier do @moduledoc """ Documentation for Digger.Stringifier Protocol """ @fallback_to_any true alias Digger.Types @doc """ 'Stringify' a valid Types.data_type according to the protocol implementation """ @spec stringify(Types.data_type(), keyword()) :: Types.valid_return_...
22.75
79
0.692308
ab75461e5bc6694dde8fa04f2cd7f7a139726365
867
ex
Elixir
lib/messengyr/web/views/room_view.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
lib/messengyr/web/views/room_view.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
lib/messengyr/web/views/room_view.ex
josecarlo-macariola/messengyr
b0d141b3665b22be1efd740fde823c20e2ee9615
[ "Unlicense" ]
null
null
null
defmodule Messengyr.Web.RoomView do use Messengyr.Web, :view import Messengyr.Web.MessageView, only: [message_json: 2] import Messengyr.Web.UserView, only: [user_json: 1] def render("show.json", %{room: room, me: me}) do %{ room: room_json(room, %{me: me}) } end def render("index.json", %...
24.771429
93
0.623991
ab754702a44e3f081ad66e07c58b2f47330e03aa
493
exs
Elixir
test/harald/hci/event_test.exs
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
test/harald/hci/event_test.exs
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
test/harald/hci/event_test.exs
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
null
null
null
defmodule Harald.HCI.EventTest do use ExUnit.Case, async: true use ExUnitProperties alias Harald.Generators.HCI.Event, as: EventGen alias Harald.HCI.Event require Harald.Serializable, as: Serializable doctest Event, import: true property "symmetric (de)serialization" do check all bin <- EventGen.bin...
27.388889
51
0.726166
ab7564603763e585123671dad50729104a96d00d
1,155
ex
Elixir
apps/bus_detective/lib/bus_detective/gtfs/agency.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
8
2018-07-06T14:44:10.000Z
2021-08-19T17:24:25.000Z
apps/bus_detective/lib/bus_detective/gtfs/agency.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
12
2018-07-15T18:43:04.000Z
2022-02-10T16:07:47.000Z
apps/bus_detective/lib/bus_detective/gtfs/agency.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
1
2018-07-13T17:30:20.000Z
2018-07-13T17:30:20.000Z
defmodule BusDetective.GTFS.Agency do @moduledoc false use Ecto.Schema import Ecto.Changeset alias BusDetective.GTFS.{Feed, Route} schema "agencies" do belongs_to(:feed, Feed) field(:display_name, :string) field(:fare_url, :string) field(:gtfs_endpoint, :string) field(:gtfs_service_al...
22.211538
77
0.654545
ab75723b62235688492df37c3b7c2b337faa80ca
212
exs
Elixir
priv/repo/migrations/20171128222957_ico_funds_raised.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
priv/repo/migrations/20171128222957_ico_funds_raised.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
priv/repo/migrations/20171128222957_ico_funds_raised.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Repo.Migrations.IcoFundsRaised do use Ecto.Migration def change do alter table(:icos) do add(:funds_raised_usd, :decimal) add(:funds_raised_eth, :decimal) end end end
19.272727
51
0.707547
ab75a7f29782401b08fd0b6348bdbca45f88d28e
1,577
ex
Elixir
test/support/config.ex
mw23/avrora
a143537fdd0c5f1ad9567b6c3cfc260cb07fc7ce
[ "MIT" ]
59
2019-07-11T15:29:26.000Z
2022-03-23T19:35:55.000Z
test/support/config.ex
mw23/avrora
a143537fdd0c5f1ad9567b6c3cfc260cb07fc7ce
[ "MIT" ]
63
2019-08-09T17:52:26.000Z
2022-03-16T22:08:04.000Z
test/support/config.ex
mw23/avrora
a143537fdd0c5f1ad9567b6c3cfc260cb07fc7ce
[ "MIT" ]
22
2019-07-29T10:50:47.000Z
2021-09-04T13:37:08.000Z
defmodule Support.Config do @moduledoc false @behaviour Avrora.Config @doc """ A hook function to be used in `setup`-hook to enable a default configuration. Useful when `Avrora.Config` is used, but no or partial stubs are needed. ## Examples: defmodule MyTest do use ExUnit.Case, a...
25.852459
81
0.663285
ab75d322faf36e151fe85cb2446c839931ba4188
1,800
ex
Elixir
banking_challenge_stone_umbrella/apps/banking_challenge_web/lib/banking_challenge_web.ex
douxsalemk/banking_challenge_stone
59c2790a0f14b68c2b25851c806ebc553227316d
[ "Apache-2.0" ]
null
null
null
banking_challenge_stone_umbrella/apps/banking_challenge_web/lib/banking_challenge_web.ex
douxsalemk/banking_challenge_stone
59c2790a0f14b68c2b25851c806ebc553227316d
[ "Apache-2.0" ]
null
null
null
banking_challenge_stone_umbrella/apps/banking_challenge_web/lib/banking_challenge_web.ex
douxsalemk/banking_challenge_stone
59c2790a0f14b68c2b25851c806ebc553227316d
[ "Apache-2.0" ]
null
null
null
defmodule BankingChallengeWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use BankingChallengeWeb, :controller use BankingChallengeWeb, :view The definitions below will be executed for...
23.684211
76
0.700556
ab75ede99f254240b41fbc060e5ab51305aef816
6,338
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/health_check.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/health_check.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/health_check.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...
59.792453
490
0.709214
ab75f61c1dbc519f6bec173740352b76a975ef3a
1,706
ex
Elixir
lib/bongo/utilities.ex
anuragdalia/bongo
c83c9ef70f76968e122ea7f5ed7ed2857266a13b
[ "MIT" ]
null
null
null
lib/bongo/utilities.ex
anuragdalia/bongo
c83c9ef70f76968e122ea7f5ed7ed2857266a13b
[ "MIT" ]
null
null
null
lib/bongo/utilities.ex
anuragdalia/bongo
c83c9ef70f76968e122ea7f5ed7ed2857266a13b
[ "MIT" ]
null
null
null
defmodule Bongo.Utilities do @debug_config Application.get_env(:bongo, :debug, []) def get_debug_config(key) do @debug_config[key] end def to_struct(kind, attrs) do struct = struct(kind) struct |> Map.to_list() |> Enum.reduce( struct, fn {k, _}, acc -> case {Ma...
21.594937
77
0.54279
ab7649fd3aa1c3e9f222cb5d5205b01ff01f1f07
1,272
exs
Elixir
chapter_7/todo_persistent/snippets/todo/server/client.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T11:55:58.000Z
2021-08-22T13:19:56.000Z
chapter_7/todo_persistent/snippets/todo/server/client.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
null
null
null
chapter_7/todo_persistent/snippets/todo/server/client.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T21:19:45.000Z
2021-08-22T13:20:03.000Z
{:ok, todo_server} = Todo.Server.Client.start() Todo.Server.Client.add_entry(todo_server, %{date: ~D[2018-12-19], title: "Dentist"}) Todo.Server.Client.entries(todo_server, ~D[2018-12-19]) {:ok, pid} = Todo.Server.Client.start() Todo.Server.Client.add_entry(pid, %{date: ~D[2018-12-19], title: "Dentist"}) Todo.Server.C...
41.032258
88
0.718553
ab76ea46886268d540d2a90e89376aa3abfa0368
16,411
ex
Elixir
lib/ecto/query/api.ex
minibikini/ecto
003e172c8dc9aaa1fe84f45e8de2273b1e2105ae
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/api.ex
minibikini/ecto
003e172c8dc9aaa1fe84f45e8de2273b1e2105ae
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/api.ex
minibikini/ecto
003e172c8dc9aaa1fe84f45e8de2273b1e2105ae
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.API do @moduledoc """ Lists all functions allowed in the query API. * Comparison operators: `==`, `!=`, `<=`, `>=`, `<`, `>` * Arithmetic operators: `+`, `-`, `*`, `/` * Boolean operators: `and`, `or`, `not` * Inclusion operator: `in/2` * Search functions: `like/2` and `ili...
29.94708
91
0.663518
ab76f41680b3e86c194ed6bba9a8aa0f330f1fd0
2,001
ex
Elixir
lib/krasukha/helpers/iterative_routine.ex
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
6
2017-01-28T01:11:58.000Z
2021-12-19T22:45:49.000Z
lib/krasukha/helpers/iterative_routine.ex
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
lib/krasukha/helpers/iterative_routine.ex
Zatvobor/krasukha
ac6d2aa1dbd14039817a606c1347058bf1deab31
[ "MIT" ]
null
null
null
require Logger defmodule Krasukha.Helpers.IterativeRoutine do @moduledoc false @doc false def start_routine(parent, mod, strategy, params) when is_atom(strategy) do Process.flag(:trap_exit, true) loop(mod, strategy, params, parent) end @doc false def loop(mod, strategy, params, parent) when is_at...
30.318182
124
0.667666
ab771df97c75ca5dde98b36354adfce554629a7d
298
exs
Elixir
priv/repo/migrations/20180721193449_create_posts.exs
joshddunn/graphql-phoenix
40a8ee9fa5ad74cbd85a64721309934d3091833b
[ "MIT" ]
null
null
null
priv/repo/migrations/20180721193449_create_posts.exs
joshddunn/graphql-phoenix
40a8ee9fa5ad74cbd85a64721309934d3091833b
[ "MIT" ]
null
null
null
priv/repo/migrations/20180721193449_create_posts.exs
joshddunn/graphql-phoenix
40a8ee9fa5ad74cbd85a64721309934d3091833b
[ "MIT" ]
null
null
null
defmodule MyApp.Repo.Migrations.CreatePosts do use Ecto.Migration def change do create table(:posts) do add :title, :string add :body, :text add :user_id, references(:users, on_delete: :nothing) timestamps() end create index(:posts, [:user_id]) end end
18.625
59
0.651007
ab7728d5d182e31748faff64a445673f465d8729
1,735
ex
Elixir
lib/playwright/transport/websocket.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
30
2021-06-01T16:59:35.000Z
2022-03-25T16:56:19.000Z
lib/playwright/transport/websocket.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
35
2021-06-10T17:05:31.000Z
2022-02-11T22:30:36.000Z
lib/playwright/transport/websocket.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
4
2021-08-13T20:38:18.000Z
2022-01-31T04:32:35.000Z
defmodule Playwright.Transport.WebSocket do @moduledoc false # A transport for negotiating messages with a running Playwright websocket # server. defstruct([ :gun, :process_monitor, :stream_ref ]) # module API # ---------------------------------------------------------------------------- ...
25.895522
99
0.557925
ab773e154792e1b5a88941950138c7d800562414
1,967
ex
Elixir
lib/xeroxero/core_api/models/bank_transactions/bank_transaction.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-12-01T18:21:31.000Z
2021-12-01T18:21:31.000Z
lib/xeroxero/core_api/models/bank_transactions/bank_transaction.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
null
null
null
lib/xeroxero/core_api/models/bank_transactions/bank_transaction.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-10-01T12:09:46.000Z
2021-10-01T12:09:46.000Z
defmodule XeroXero.CoreApi.Models.BankTransactions.BankTransaction do use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, except: [:__meta__, :id]} @fields [ :BankTransactionID, :Type, :Status, :LineAmountTypes, :IsReconciled, :Date...
30.734375
76
0.598882
ab7745dd8f11b00fc4988633a69cc7f626c27efd
33,328
ex
Elixir
lib/format/datetime/formatter.ex
tarzan/timex
6f7014659e62b07cff98152543c4456984a8173e
[ "MIT" ]
null
null
null
lib/format/datetime/formatter.ex
tarzan/timex
6f7014659e62b07cff98152543c4456984a8173e
[ "MIT" ]
null
null
null
lib/format/datetime/formatter.ex
tarzan/timex
6f7014659e62b07cff98152543c4456984a8173e
[ "MIT" ]
null
null
null
defmodule Timex.Format.DateTime.Formatter do @moduledoc """ This module defines the behaviour for custom DateTime formatters. """ alias Timex.{Timezone, Translator, Types} alias Timex.Translator alias Timex.Format.FormatError alias Timex.Format.DateTime.Formatters.{Default, Strftime, Relative} alias Ti...
36.704846
116
0.639702
ab774a585d199c8c03b9723f62e5d42eef28b3c6
1,478
exs
Elixir
mix.exs
theblitzapp/phoenix_config
984223f874405f4980babb9d377c3b709f10cd3b
[ "MIT" ]
null
null
null
mix.exs
theblitzapp/phoenix_config
984223f874405f4980babb9d377c3b709f10cd3b
[ "MIT" ]
null
null
null
mix.exs
theblitzapp/phoenix_config
984223f874405f4980babb9d377c3b709f10cd3b
[ "MIT" ]
null
null
null
defmodule PhoenixConfig.MixProject do use Mix.Project def project do [ app: :phoenix_config, version: "0.1.0", elixir: "~> 1.12", description: "Config as code generation for phoenix applications, don't write apps, generate them", start_permanent: Mix.env() == :prod, elixirc_...
25.929825
105
0.602165
ab774aa9c71414fb7c42c62cad00c5c382b97bba
18,749
ex
Elixir
lib/aws/generated/managed_blockchain.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/managed_blockchain.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/managed_blockchain.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.ManagedBlockchain do @moduledoc """ Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows yo...
23.232962
186
0.61566
ab7754384ef3fbcdca63d771cba770c61c37652f
725
ex
Elixir
lib/lucidboard/short_board.ex
yvc74/lucidboard
cf524c4ac0000c7873d6d313b8b067f08a768f09
[ "MIT" ]
1
2019-07-04T03:23:31.000Z
2019-07-04T03:23:31.000Z
lib/lucidboard/short_board.ex
yvc74/lucidboard
cf524c4ac0000c7873d6d313b8b067f08a768f09
[ "MIT" ]
null
null
null
lib/lucidboard/short_board.ex
yvc74/lucidboard
cf524c4ac0000c7873d6d313b8b067f08a768f09
[ "MIT" ]
null
null
null
defmodule Lucidboard.ShortBoard do @moduledoc "Struct for a board in a listing (on the dashboard)" alias Lucidboard.{Event, TimeMachine} @type t :: %__MODULE__{ id: integer, title: String.t(), username: String.t(), updated_at: DateTime.t(), last_event: Event.t() ...
25.892857
76
0.623448
ab77592265d4c42c81c77144d94508648f15a956
162
ex
Elixir
web/controllers/page_controller.ex
KazuCocoa/web_qa
cd0074e950ef354eeafb7d48db685c82d653cc60
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
KazuCocoa/web_qa
cd0074e950ef354eeafb7d48db685c82d653cc60
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
KazuCocoa/web_qa
cd0074e950ef354eeafb7d48db685c82d653cc60
[ "MIT" ]
null
null
null
defmodule WebQaVote.PageController do @moduledoc false use WebQaVote.Web, :controller def index(conn, _params) do render conn, "index.html" end end
16.2
37
0.734568
ab776d989f2049d998a1d45f0dbd6d2139cc16c6
1,905
ex
Elixir
installer/templates/phx_web/telemetry.ex
jesseshieh/phoenix
1776e9df0a71de67374ed488b3f00ccb434045b3
[ "MIT" ]
null
null
null
installer/templates/phx_web/telemetry.ex
jesseshieh/phoenix
1776e9df0a71de67374ed488b3f00ccb434045b3
[ "MIT" ]
1
2020-05-26T19:38:18.000Z
2020-05-26T19:38:18.000Z
installer/templates/phx_web/telemetry.ex
jesseshieh/phoenix
1776e9df0a71de67374ed488b3f00ccb434045b3
[ "MIT" ]
null
null
null
defmodule <%= web_namespace %>.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000...
34.017857
94
0.653018
ab77c3d22ca9f5aa67821254a15c556239ba07f7
1,967
exs
Elixir
config/prod.exs
kerlak/phoenix-elm-test
4f999504069cc6f96e83ce7c918ada5947c96eb7
[ "MIT" ]
1
2019-03-06T16:02:16.000Z
2019-03-06T16:02:16.000Z
config/prod.exs
kerlak/phoenix-elm-test
4f999504069cc6f96e83ce7c918ada5947c96eb7
[ "MIT" ]
null
null
null
config/prod.exs
kerlak/phoenix-elm-test
4f999504069cc6f96e83ce7c918ada5947c96eb7
[ "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...
31.725806
67
0.70971
ab77ccec38ad8598ecbfe03e3da4695322bef609
1,115
ex
Elixir
elixir/lib/homework_web/schemas/companies_schema.ex
williamhudson1218/web-homework
0582a765854b36dd0f54ebff95abbe5f2f54269d
[ "MIT" ]
1
2021-01-24T06:15:39.000Z
2021-01-24T06:15:39.000Z
elixir/lib/homework_web/schemas/companies_schema.ex
williamhudson1218/web-homework
0582a765854b36dd0f54ebff95abbe5f2f54269d
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schemas/companies_schema.ex
williamhudson1218/web-homework
0582a765854b36dd0f54ebff95abbe5f2f54269d
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Schemas.CompaniesSchema do @moduledoc """ Defines the graphql schema for company. """ use Absinthe.Schema.Notation alias HomeworkWeb.Resolvers.CompaniesResolver object :company do field(:id, non_null(:id)) field(:name, :string) field(:credit_line, :integer) field(:ava...
25.340909
50
0.683408
ab77fb8d58a590a9f53bc46615d43c0e666afc10
3,616
ex
Elixir
lib/mix/lib/mix/tasks/deps.tree.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/mix/lib/mix/tasks/deps.tree.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.tree.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule Mix.Tasks.Deps.Tree do use Mix.Task @shortdoc "Prints the dependency tree" @recursive true @moduledoc """ Prints the dependency tree. mix deps.tree If no dependency is given, it uses the tree defined in the `mix.exs` file. ## Command line options * `--only` - the environment to s...
28.928
102
0.610066
ab7806289ecc89a8b6d5117ecdaccaf725fe7bcc
3,277
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/operation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/operation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/operation.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...
56.5
626
0.749466
ab780d052f23a44ecdb56e59aa9aae9817adceda
3,492
ex
Elixir
web/controllers/shop_admin_controller.ex
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
web/controllers/shop_admin_controller.ex
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
web/controllers/shop_admin_controller.ex
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
1
2017-12-15T15:49:16.000Z
2017-12-15T15:49:16.000Z
defmodule Alastair.ShopAdminController do use Alastair.Web, :controller alias Alastair.ShopAdmin def fetch_shop_role(conn, shop_id) do found = from(p in ShopAdmin, where: p.shop_id == ^shop_id and p.user_id == ^conn.assigns.user.id) |> Repo.all Plug.Conn.assign(conn, :shop_admin, found != [])...
36.375
132
0.647766
ab7817cce6dca81f381a1b878d97c59213740148
2,074
ex
Elixir
web/models/article.ex
NorifumiKawamoto/ginjyo
8e28438db4675bb55ba090614c6834190adb61b1
[ "MIT" ]
null
null
null
web/models/article.ex
NorifumiKawamoto/ginjyo
8e28438db4675bb55ba090614c6834190adb61b1
[ "MIT" ]
null
null
null
web/models/article.ex
NorifumiKawamoto/ginjyo
8e28438db4675bb55ba090614c6834190adb61b1
[ "MIT" ]
null
null
null
defmodule Ginjyo.Article do use Ginjyo.Web, :model alias Ginjyo.User alias Ginjyo.TagArticle alias Ginjyo.Article alias Ecto.Changeset @status %{:draft => 0, :private => 1, :public => 2, :members_only => 3} @status_name %{0 => "draft", 1 => "private", 2 => "public", 3 => "members_only"} def get_statu...
23.044444
82
0.648023
ab7877d02abac39a0e76c81d5b55c97e4d387cf0
183
exs
Elixir
apps/theta/priv/repo/migrations/20200301082538_create_config.exs
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
null
null
null
apps/theta/priv/repo/migrations/20200301082538_create_config.exs
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
11
2020-07-21T09:34:54.000Z
2021-08-29T07:38:02.000Z
apps/theta/priv/repo/migrations/20200301082538_create_config.exs
LangPham/thetaproject
c6479d1b761ff58fe6ae5f82e2d9de87a8658883
[ "MIT" ]
null
null
null
defmodule Theta.Repo.Migrations.CreateConfig do use Ecto.Migration def change do create table(:config) do add :key, :string add :value, :string end end end
16.636364
47
0.672131
ab787847cc893c68768acaf611c1a9c6c51ae366
1,378
ex
Elixir
lib/estated/property/structure/other_improvement.ex
jdav-dev/estated
a8476b803eff425b5b73517e7ea180bb7f8cc30b
[ "Apache-2.0" ]
null
null
null
lib/estated/property/structure/other_improvement.ex
jdav-dev/estated
a8476b803eff425b5b73517e7ea180bb7f8cc30b
[ "Apache-2.0" ]
null
null
null
lib/estated/property/structure/other_improvement.ex
jdav-dev/estated
a8476b803eff425b5b73517e7ea180bb7f8cc30b
[ "Apache-2.0" ]
null
null
null
defmodule Estated.Property.Structure.OtherImprovement do @moduledoc "Improvement to a property or building." @moduledoc since: "0.2.0" defstruct [ :type, :sq_ft ] @typedoc "Improvement to a property or building." @typedoc since: "0.2.0" @type t :: %__MODULE__{ type: type() | nil, ...
21.873016
104
0.637155
ab78ab09c141c14dc8bb13e61e973e279b09898b
3,863
ex
Elixir
lib/ex_admin/paginate.ex
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
lib/ex_admin/paginate.ex
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
lib/ex_admin/paginate.ex
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
defmodule ExAdmin.Paginate do @moduledoc false use Xain import ExAdmin.Theme.Helpers import ExAdmin.Gettext def paginate(_, nil, _, _, _, _, _), do: [] def paginate(link, page_number, page_size, total_pages, record_count, name) do markup do theme_module(Paginate).wrap_pagination1 fn -> if...
29.945736
94
0.638882
ab78b0db7634667c009908028f47d6f2f8e71f05
9,569
exs
Elixir
exercises/practice/poker/test/poker_test.exs
kwchang0831/elixir
1b21ae1ca610de97db79e76db890503ba75ce466
[ "MIT" ]
null
null
null
exercises/practice/poker/test/poker_test.exs
kwchang0831/elixir
1b21ae1ca610de97db79e76db890503ba75ce466
[ "MIT" ]
null
null
null
exercises/practice/poker/test/poker_test.exs
kwchang0831/elixir
1b21ae1ca610de97db79e76db890503ba75ce466
[ "MIT" ]
null
null
null
defmodule PokerTest do use ExUnit.Case defp assert_poker(winning_hands, expected_winning_hands) do winning_hands = if is_list(winning_hands) do winning_hands |> Enum.map(&Enum.sort/1) |> Enum.sort() else winning_hands end expected_winning_hands = if ...
34.420863
110
0.704567
ab78c47579093b89c0d47d732fde156783747c64
500
ex
Elixir
lib/hl7/2.4/datatypes/xpn.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/datatypes/xpn.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/datatypes/xpn.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.DataTypes.Xpn do @moduledoc false alias HL7.V2_4.{DataTypes} use HL7.DataType, fields: [ family_name: DataTypes.Fn, given_name: nil, second_and_further_given_names_or_initials_thereof: nil, suffix_eg_jr_or_iii: nil, prefix_eg_dr: nil, degree_eg_md: nil, ...
25
62
0.694
ab78cd3142217221fa3dfd5ae100133a34e57536
284
ex
Elixir
apps/aecore/lib/aecore/persistence/worker/supervisor.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/lib/aecore/persistence/worker/supervisor.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aecore/lib/aecore/persistence/worker/supervisor.ex
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
defmodule Aecore.Persistence.Worker.Supervisor do use Supervisor def start_link(_args) do Supervisor.start_link(__MODULE__, :ok) end def init(:ok) do children = [ Aecore.Persistence.Worker ] Supervisor.init(children, strategy: :one_for_one) end end
17.75
53
0.707746
ab7903d9a4e35bcd235dc514b99c7064592bbd13
294
ex
Elixir
lib/mitbits/application.ex
siddhantmittal7/Mitbits_Cryptocurrency
b02060b1fa6ccc14730433bc4b078b8e5c752a8a
[ "MIT" ]
2
2018-12-10T21:20:04.000Z
2020-07-07T07:28:14.000Z
lib/mitbits/application.ex
prafful13/Mitbits_Cryptocurrency
b02060b1fa6ccc14730433bc4b078b8e5c752a8a
[ "MIT" ]
null
null
null
lib/mitbits/application.ex
prafful13/Mitbits_Cryptocurrency
b02060b1fa6ccc14730433bc4b078b8e5c752a8a
[ "MIT" ]
1
2018-12-16T03:36:18.000Z
2018-12-16T03:36:18.000Z
defmodule Mitbits.Application do use Application def start(_type) do children = [ Mitbits.NodeSupervisor, Mitbits.MinerSupervisor, Mitbits.Driver ] opts = [strategy: :one_for_all, name: Mitbits.Supervisor] Supervisor.start_link(children, opts) end end
19.6
61
0.693878
ab790cd6dc93925254a1a51d6bdf415efa290056
2,160
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy_list_warning.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 ...
40
194
0.724537
ab7931d5907a7587971b0ba8d5aec61300082068
37
ex
Elixir
lib/splinters_bot_elixir.ex
daynyxx/splinters_bot
e10cbca0500fbc7de42358650d69def37370c7a4
[ "MIT" ]
null
null
null
lib/splinters_bot_elixir.ex
daynyxx/splinters_bot
e10cbca0500fbc7de42358650d69def37370c7a4
[ "MIT" ]
2
2020-08-09T04:08:39.000Z
2020-08-09T04:09:55.000Z
lib/splinters_bot_elixir.ex
daynyxx/splinters_bot
e10cbca0500fbc7de42358650d69def37370c7a4
[ "MIT" ]
1
2020-08-01T21:40:05.000Z
2020-08-01T21:40:05.000Z
defmodule SplintersBotElixir do end
9.25
31
0.864865
ab795b3ddad2aa62125405b94c87a3933a63ad7f
1,979
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/firewall_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/firewall_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/firewall_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.58
527
0.738757
ab795c3a11498b20c1ceb852c9cf55f99913478c
2,655
ex
Elixir
test/support/conn_case.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
1
2019-11-02T08:32:25.000Z
2019-11-02T08:32:25.000Z
test/support/conn_case.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
null
null
null
test/support/conn_case.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with t...
30.872093
101
0.67081
ab797b530ffb504676e3dcc78a99f066460fd35c
2,716
ex
Elixir
lib/sms_factor/send_sms.ex
delight-data/sms_factor_elixir
2ca684387df6c069eb0a14e723233dde42d01fea
[ "MIT" ]
1
2021-05-28T15:29:39.000Z
2021-05-28T15:29:39.000Z
lib/sms_factor/send_sms.ex
delight-data/sms_factor_elixir
2ca684387df6c069eb0a14e723233dde42d01fea
[ "MIT" ]
1
2021-07-12T11:56:24.000Z
2021-07-12T11:56:24.000Z
lib/sms_factor/send_sms.ex
delight-data/sms_factor_elixir
2ca684387df6c069eb0a14e723233dde42d01fea
[ "MIT" ]
null
null
null
defmodule SMSFactor.SendSMS do @moduledoc """ Wrappers around **Send SMS** section of SMSFactor API. """ @typedoc """ Params for sending SMS campaign. - `text` **(required)** : Your message - `value` **(required)** : The recipients' numbers - `pushtype` : The push type (alert or marketing) - `delay`...
29.846154
95
0.606038
ab797ceed143a65748f3edcd73b2cf9b27f4dbe0
16,930
ex
Elixir
lib/browser.ex
chrism2671/elixir-browser
906e2e8d33f1ce20bc5d95609004c342607fee63
[ "MIT" ]
null
null
null
lib/browser.ex
chrism2671/elixir-browser
906e2e8d33f1ce20bc5d95609004c342607fee63
[ "MIT" ]
null
null
null
lib/browser.ex
chrism2671/elixir-browser
906e2e8d33f1ce20bc5d95609004c342607fee63
[ "MIT" ]
null
null
null
defmodule Browser do import Browser.Helpers, only: [to_int: 1] defprotocol Ua do @type ua :: String.t @spec to_ua(any) :: ua def to_ua(input) end defimpl Ua, for: BitString do def to_ua(string), do: string end defimpl Ua, for: Plug.Conn do def to_ua(conn) do conn |> Plug.C...
28.646362
1,654
0.600709
ab79c2bace9420f0abc39de2010691c87dd46a55
20,958
ex
Elixir
lib/mongo.ex
kamciokodzi/mongodb-old
99e96a4ae6b963914ab733a8ba551ad1fcf75b2c
[ "Apache-2.0" ]
null
null
null
lib/mongo.ex
kamciokodzi/mongodb-old
99e96a4ae6b963914ab733a8ba551ad1fcf75b2c
[ "Apache-2.0" ]
null
null
null
lib/mongo.ex
kamciokodzi/mongodb-old
99e96a4ae6b963914ab733a8ba551ad1fcf75b2c
[ "Apache-2.0" ]
null
null
null
defmodule Mongo do @moduledoc """ The main entry point for doing queries. All functions take a pool to run the query on. ## Read options All read operations that returns a cursor take the following options for controlling the behaviour of the cursor. * `:batch_size` - Number of documents to fetch in ...
30.911504
117
0.625107
ab79c962e9750f4d35b54e3bfdf38e9974fe5d9a
49
ex
Elixir
lib/autox/transforms/historical_repo_transform.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
lib/autox/transforms/historical_repo_transform.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
20
2016-04-05T06:28:58.000Z
2016-05-12T15:45:37.000Z
lib/autox/transforms/historical_repo_transform.ex
foxnewsnetwork/autox
66ea3f0f7ba8b3f9e910984a2ed3cdf0ef5ef29a
[ "MIT" ]
null
null
null
defmodule Autox.HistoricalRepoTransform do end
16.333333
42
0.857143
ab79e431467273c91f2444e5eba877ad4e754a2c
2,299
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/instances_list_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1/model/instances_list_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1/model/instances_list_response.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...
41.053571
205
0.721618
ab79fd0f44b87852b2e146e655b8304a4b5d834c
1,529
ex
Elixir
.clext/tflint.ex
peterwwillis/clinst
0fff3e125ca3dbb1bdba2d4dde96170c8b644a1f
[ "MIT" ]
null
null
null
.clext/tflint.ex
peterwwillis/clinst
0fff3e125ca3dbb1bdba2d4dde96170c8b644a1f
[ "MIT" ]
null
null
null
.clext/tflint.ex
peterwwillis/clinst
0fff3e125ca3dbb1bdba2d4dde96170c8b644a1f
[ "MIT" ]
null
null
null
#!/usr/bin/env sh set -eu [ "${DEBUG:-0}" = "1" ] && set -x ### Extension-specific variables CLINST_E_NAME="${CLINST_E_NAME:-tflint}" CLINST_E_REV="0.1.0" CLINST_E_BIN_NAME="${CLINST_E_BIN_NAME:-$CLINST_E_NAME}" CLINST_E_DLFILE="${CLINST_E_DLFILE:-$CLINST_E_NAME}.zip" CLINST_E_INSTDIR="${CLINST_E_INSTDIR:-$(pwd)}" CLI...
47.78125
150
0.674951
ab7a0ba44757845b392fa81b97d8ca3f9eb19d43
966
exs
Elixir
mix.exs
chrismccord/phorechat
26c5b2f752f5c8e50d07d49b2b20d9341d8b2464
[ "MIT" ]
1
2021-01-19T05:40:52.000Z
2021-01-19T05:40:52.000Z
mix.exs
chrismccord/phorechat
26c5b2f752f5c8e50d07d49b2b20d9341d8b2464
[ "MIT" ]
null
null
null
mix.exs
chrismccord/phorechat
26c5b2f752f5c8e50d07d49b2b20d9341d8b2464
[ "MIT" ]
1
2015-10-02T15:58:09.000Z
2015-10-02T15:58:09.000Z
defmodule Phorechat.Mixfile do use Mix.Project def project do [app: :phorechat, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] ...
26.108108
63
0.622153
ab7a1d203a2cd8903f8f87ef7612eaa8a4062bf9
1,045
exs
Elixir
priv/repo/migrations/20170526213322_create_demographics_demographic.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
priv/repo/migrations/20170526213322_create_demographics_demographic.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20170526213322_create_demographics_demographic.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.Repo.Migrations.CreateExOneroster.Demographics.Demographic do use Ecto.Migration def change do create table(:demographics) do add :sourcedId, :string add :status, :string add :dateLastModified, :utc_datetime add :metadata, :map add :birthdate, :date add...
36.034483
86
0.704306
ab7a2151d8d9bd509cbb3ce09886795523bc7dc1
24,337
ex
Elixir
lib/phoenix_live_view/channel.ex
mgibowski/phoenix_live_view
16557c1386832c5b596b072190693c362cad8173
[ "MIT" ]
null
null
null
lib/phoenix_live_view/channel.ex
mgibowski/phoenix_live_view
16557c1386832c5b596b072190693c362cad8173
[ "MIT" ]
null
null
null
lib/phoenix_live_view/channel.ex
mgibowski/phoenix_live_view
16557c1386832c5b596b072190693c362cad8173
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Channel do @moduledoc false use GenServer, restart: :temporary require Logger alias Phoenix.LiveView.{Socket, Utils, Diff, Static} alias Phoenix.Socket.Message @prefix :phoenix def start_link({endpoint, from}) do hibernate_after = endpoint.config(:live_view)[:hibernate_a...
31.32175
130
0.638863
ab7a781841b73627421bdd7d33a478d6fbc1f5aa
946
ex
Elixir
lib/cash_flow_ex_web/router.ex
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
lib/cash_flow_ex_web/router.ex
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
lib/cash_flow_ex_web/router.ex
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
defmodule CashFlowExWeb.Router do use Phoenix.Router @absinthe_configuration [ document_providers: {CashFlowExGraphQL, :document_providers}, json_codec: Jason, schema: CashFlowExGraphQL.Schema ] pipeline :api do plug(:accepts, ["json"]) plug(CashFlowExGraphQL.Plugs.Context) end pipel...
22.52381
79
0.682875
ab7a7d8b4f7bd8ba554c35132514cbae0aa18c01
872
ex
Elixir
clients/iam/lib/google_api/iam/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# 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.296296
74
0.755734
ab7a894e39e07d4e4a6dbb7041beca9d1044e8b9
6,517
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_rate_plan.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_rate_plan.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_rate_plan.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.672566
718
0.694031
ab7a985d6fe7711973d16ec1ac932c3eb6332c97
1,481
ex
Elixir
lib/ueberauth/strategy/goodreads/internal.ex
mrbberra/ueberauth_goodreads
eb412ceb8eeb76312f878109d0a307c817da052a
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/goodreads/internal.ex
mrbberra/ueberauth_goodreads
eb412ceb8eeb76312f878109d0a307c817da052a
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/goodreads/internal.ex
mrbberra/ueberauth_goodreads
eb412ceb8eeb76312f878109d0a307c817da052a
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Goodreads.OAuth.Internal do @moduledoc """ A layer to handle OAuth signing, etc. """ def get(url, extraparams, {consumer_key, consumer_secret, _}, token \\ "", token_secret \\ "") do creds = OAuther.credentials( consumer_key: consumer_key, consumer_secret: consumer_...
25.101695
105
0.612424
ab7aacd34d0a36afcd7fedc5445180e9855d08a6
1,070
exs
Elixir
clients/cloud_shell/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_shell/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_shell/test/test_helper.exs
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...
29.722222
83
0.740187
ab7acefed5be21dd621fc917e3a10e9c0dab7a7b
1,488
exs
Elixir
test/supabase_surface/modal_test.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
test/supabase_surface/modal_test.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
test/supabase_surface/modal_test.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.ModalTest do use SupabaseSurface.ConnCase, async: true alias SupabaseSurface.Components.Modal import Phoenix.ConnTest import Phoenix.LiveViewTest @endpoint Endpoint defmodule View do use Surface.LiveView @impl true def render(assigns) do ~F""" ...
25.220339
101
0.63172
ab7aea6e7d2a08f457abc300772389a44653a490
1,304
ex
Elixir
lib/surface_bulma_widgets/components/modal.ex
elcritch/surface_bulma_widgets
94e0d129b6dda95b2dda45ce797e54a60266878b
[ "MIT" ]
null
null
null
lib/surface_bulma_widgets/components/modal.ex
elcritch/surface_bulma_widgets
94e0d129b6dda95b2dda45ce797e54a60266878b
[ "MIT" ]
null
null
null
lib/surface_bulma_widgets/components/modal.ex
elcritch/surface_bulma_widgets
94e0d129b6dda95b2dda45ce797e54a60266878b
[ "MIT" ]
null
null
null
defmodule SurfaceBulmaWidgets.Components.Modal do use Surface.Component alias SurfaceBulma.Button @moduledoc """ The non-card **modal**, with various configuration options. The modal is a stateless component and as such requires outside handling of whether or not the modal should be shown. This componen...
31.804878
137
0.68865
ab7b0b71177af5c75a99f20ebc4c20cd537f6c5a
524
ex
Elixir
examples/ct_ecto/lib/ct/tree_path.ex
50kudos/closure_table
4c1a8e321318dc2dcb2d178b9dbc58431e0211e4
[ "Apache-2.0" ]
null
null
null
examples/ct_ecto/lib/ct/tree_path.ex
50kudos/closure_table
4c1a8e321318dc2dcb2d178b9dbc58431e0211e4
[ "Apache-2.0" ]
null
null
null
examples/ct_ecto/lib/ct/tree_path.ex
50kudos/closure_table
4c1a8e321318dc2dcb2d178b9dbc58431e0211e4
[ "Apache-2.0" ]
null
null
null
defmodule CT.TreePath do use Ecto.Schema import Ecto.Changeset alias CT.Comment @primary_key false schema "tree_paths" do belongs_to :parent_comment, Comment, foreign_key: :ancestor belongs_to :comment, Comment, foreign_key: :descendant field :depth, :integer end def changeset(path, params ...
24.952381
64
0.717557
ab7b1e7124d8b1442e1e765218ab52fa645feaae
2,320
ex
Elixir
clients/redis/lib/google_api/redis/v1/model/status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/redis/lib/google_api/redis/v1/model/status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/redis/lib/google_api/redis/v1/model/status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.419355
134
0.709483
ab7b421d231d3d735ec99f826b8e389798870b0d
2,794
exs
Elixir
test/cfxxl/cert_utils_test.exs
Ispirata/cfexexl
98dc50b1cfe5a682b051b38b83cebc644bc08488
[ "Apache-2.0" ]
5
2017-09-25T18:09:08.000Z
2017-09-26T07:09:10.000Z
test/cfxxl/cert_utils_test.exs
Ispirata/cfexexl
98dc50b1cfe5a682b051b38b83cebc644bc08488
[ "Apache-2.0" ]
11
2017-09-25T17:03:33.000Z
2021-03-12T15:13:54.000Z
test/cfxxl/cert_utils_test.exs
Ispirata/cfexexl
98dc50b1cfe5a682b051b38b83cebc644bc08488
[ "Apache-2.0" ]
3
2017-10-11T16:38:07.000Z
2021-03-12T10:54:50.000Z
defmodule CFXXL.CertUtilsTest do use ExUnit.Case alias CFXXL.CertUtils @test_crt """ -----BEGIN CERTIFICATE----- MIIDkzCCAnugAwIBAgIJAPvrwmDUKC0EMA0GCSqGSIb3DQEBCwUAMGAxCzAJBgNV BAYTAklUMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX aWRnaXRzIFB0eSBMdGQxGTAXBgNVBAMMEHRlc3QtY29tbW9uLW5hbWUwHhcNM...
36.285714
70
0.707588
ab7b76a7b3e44c5d47210a1c3ea7985bc5d1f678
1,989
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/shielded_instance_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/shielded_instance_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/shielded_instance_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.528302
146
0.738059
ab7b8d8f82cf410e0201378fc5171307a769051e
1,794
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__sampled_shapley_attribution.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__sampled_shapley_attribution.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__sampled_shapley_attribution.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...
32.618182
128
0.756968
ab7b90345b266549938705b71006b4c37798a857
494
ex
Elixir
test/fixtures/tasks/migrate.ex
noizu/mnesia_versioning
876860c51eeec464cd65cca265e50ff0fe2326db
[ "MIT" ]
1
2020-12-22T22:51:38.000Z
2020-12-22T22:51:38.000Z
test/fixtures/tasks/migrate.ex
noizu/mnesia_versioning
876860c51eeec464cd65cca265e50ff0fe2326db
[ "MIT" ]
null
null
null
test/fixtures/tasks/migrate.ex
noizu/mnesia_versioning
876860c51eeec464cd65cca265e50ff0fe2326db
[ "MIT" ]
1
2018-03-05T12:02:05.000Z
2018-03-05T12:02:05.000Z
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.MnesiaVersioning.Test.Migrate do use Noizu.MnesiaVersioni...
38
80
0.534413
ab7bd706248096fef7c31360578a5d611f9563fc
1,486
ex
Elixir
lib/battle_box_web/live/scores.ex
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
lib/battle_box_web/live/scores.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
lib/battle_box_web/live/scores.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBoxWeb.Live.Scores do use BattleBoxWeb, :live_view alias BattleBox.GameEngine alias BattleBoxWeb.ArenaView def mount(_params, %{"arena" => arena}, socket) do if connected?(socket) do GameEngine.subscribe_to_arena_events(game_engine(), arena.id, [ :game_start, :game_upd...
25.62069
76
0.64603
ab7be1e5eb65e5662ddd88b78cc4ef5d055c2293
1,379
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_get_sync_authorization_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_get_sync_authorization_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_get_sync_authorization_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
29.340426
85
0.768673
ab7c0b11764e362163afc3bcb9347737db064469
2,622
exs
Elixir
test/transaction_test.exs
kianmeng/monet
6b148aa19721e13d84934a0dd16e911353312559
[ "ISC" ]
null
null
null
test/transaction_test.exs
kianmeng/monet
6b148aa19721e13d84934a0dd16e911353312559
[ "ISC" ]
null
null
null
test/transaction_test.exs
kianmeng/monet
6b148aa19721e13d84934a0dd16e911353312559
[ "ISC" ]
null
null
null
defmodule Monet.Tests.Transaction do use Monet.Tests.Base setup_all do connect() Monet.query!("drop table if exists tx_test") Monet.query!("create table tx_test (id int)") :ok end test "implicit commit" do Monet.query!("truncate table tx_test") assert {:ok, result} = Monet.transaction(fn tx -> Mon...
26.22
103
0.642639
ab7c21bc8cfc58a063401d7807ff589112fae058
199
ex
Elixir
lib/csv_to_es.ex
edwardsmit/csv_to_es
3af32f538cf2fbd618d7caf4130f90b8aa7e601f
[ "MIT" ]
null
null
null
lib/csv_to_es.ex
edwardsmit/csv_to_es
3af32f538cf2fbd618d7caf4130f90b8aa7e601f
[ "MIT" ]
null
null
null
lib/csv_to_es.ex
edwardsmit/csv_to_es
3af32f538cf2fbd618d7caf4130f90b8aa7e601f
[ "MIT" ]
null
null
null
defmodule CsvToEs do @moduledoc """ Documentation for CsvToEs. """ @doc """ Hello world. ## Examples iex> CsvToEs.hello() :world """ def hello do :world end end
10.473684
28
0.562814
ab7c2258232ef90bc1949fa4cb356d904c872087
1,387
exs
Elixir
apps/tai/test/tai/venues/adapters/gdax/asset_balances_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/test/tai/venues/adapters/gdax/asset_balances_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/test/tai/venues/adapters/gdax/asset_balances_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
defmodule Tai.Venues.Adapters.Gdax.AssetBalancesTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney @test_adapters Tai.TestSupport.Helpers.test_venue_adapters() setup_all do HTTPoison.start() adapter = @test_adapters |> Map.fetch!(:gdax) {:ok, %{adapter: adapter}} ...
37.486486
103
0.713771
ab7c39de5209a742ddcfb90ffec27edab01a2200
1,907
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/maintenance_window.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/maintenance_window.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/maintenance_window.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...
38.14
184
0.74882
ab7c623300d75bb96354994d3882f0f8c86bb016
514
exs
Elixir
test/router_test.exs
aitorlb/elixir_http_api
c8222902bafa971efa4aacc4a58a3d596a83e95c
[ "MIT" ]
null
null
null
test/router_test.exs
aitorlb/elixir_http_api
c8222902bafa971efa4aacc4a58a3d596a83e95c
[ "MIT" ]
null
null
null
test/router_test.exs
aitorlb/elixir_http_api
c8222902bafa971efa4aacc4a58a3d596a83e95c
[ "MIT" ]
null
null
null
defmodule HttpApi.RouterTest do use ExUnit.Case, async: true use Plug.Test alias HttpApi.Router @opts Router.init([]) test "handles /api route" do conn = :get |> conn("/api") |> Router.call(@opts) assert conn.state == :sent assert conn.status == 200 end test "returns 404...
17.133333
40
0.587549
ab7c6b7aa99d57b1792bae1a390e163dec18aeb4
1,244
ex
Elixir
lib/app_api_web/v1/serializers/json/conversation_serializer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
2
2018-07-05T15:13:12.000Z
2021-12-16T08:58:56.000Z
lib/app_api_web/v1/serializers/json/conversation_serializer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
null
null
null
lib/app_api_web/v1/serializers/json/conversation_serializer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
2
2018-08-13T21:37:00.000Z
2021-11-10T04:08:26.000Z
defmodule AppApiWeb.V1.JSON.ConversationSerializer do alias AppApi.{Conversation, Repo, User} alias AppApiWeb.V1.JSON.{UserSerializer, ConversationMessageEventSerializer, ConversationMessageSerializer} alias AppApi.Convert require Logger @moduledoc """ Serializes data into V1 JSON response format. """ u...
38.875
189
0.706592
ab7c76b8d98c61ddd13da2d7609febffe5bf5a5f
1,530
ex
Elixir
apps/andi/lib/andi_web/router.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/andi/lib/andi_web/router.ex
AWHServiceAccount/smartcitiesdata
6957afac12809288640b6ba6b576c3016e6033d7
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/andi/lib/andi_web/router.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
null
null
null
defmodule AndiWeb.Router do use AndiWeb, :router @csp "default-src 'self';" <> "style-src 'self' 'unsafe-inline' 'unsafe-eval' https://fonts.googleapis.com;" <> "script-src 'self' 'unsafe-inline' 'unsafe-eval';" <> "font-src https://fonts.gstatic.com data: 'self';" <> "img-src '...
30.6
97
0.672549
ab7c87a90f47738fac131168b79235f8639fc8da
2,124
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/model/subscription_transfer_info.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/subscription_transfer_info.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/subscription_transfer_info.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.647059
300
0.766949
ab7c94e84ce8a82fbe2e352f4e6cd500d15cc287
456
exs
Elixir
test/iris/iris_test.exs
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
test/iris/iris_test.exs
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
test/iris/iris_test.exs
zmoshansky/iris
8470e990e3fd742d95b0ca35efcc6393951f81ee
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule IrisTest do use Iris.Test.Helper @doc """ Simply delegates `process_call`'s to Iris.RPC module. @assigns, @opts declared in Iris.Test.Helper """ test "process_call/2 is delegated correctly" do assert_ok Iris.process_call ["TestModule", "test_public", ["bar"]], :public end test "process_c...
28.5
91
0.708333
ab7cb97ae52003688fe3ad2f11a4432aa517c4b2
2,857
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/generic_signed_attestation.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/generic_signed_attestation.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/generic_signed_attestation.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...
53.90566
384
0.763388
ab7cd1d085d07008a8292f90604ad1984e69df47
101
exs
Elixir
test/vivid/rasterize/circle_test.exs
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
26
2017-01-03T01:18:38.000Z
2019-02-21T09:26:20.000Z
test/vivid/rasterize/circle_test.exs
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
null
null
null
test/vivid/rasterize/circle_test.exs
jamesotron/vivid
01a0089384d8daced8f22a97c49e657fc245fb3c
[ "MIT" ]
2
2017-03-18T22:45:49.000Z
2017-05-08T07:24:58.000Z
defmodule Vivid.Rasterize.CircleTest do use ExUnit.Case doctest Vivid.Rasterize.Vivid.Circle end
20.2
39
0.821782
ab7d042fd576a88c438e83dd98cc084237c60558
1,488
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/get_offers_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/get_offers_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/get_offers_response.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...
31
92
0.759409
ab7d15242c3afc9c347e5d88949e0b59d4a15799
10,279
ex
Elixir
lib/miss/kernel.ex
kianmeng/miss-elixir
46ea760212bcec80957ff7a8951d64c4bd2fc5e2
[ "Apache-2.0" ]
null
null
null
lib/miss/kernel.ex
kianmeng/miss-elixir
46ea760212bcec80957ff7a8951d64c4bd2fc5e2
[ "Apache-2.0" ]
null
null
null
lib/miss/kernel.ex
kianmeng/miss-elixir
46ea760212bcec80957ff7a8951d64c4bd2fc5e2
[ "Apache-2.0" ]
null
null
null
defmodule Miss.Kernel do @moduledoc """ Functions to extend the Elixir `Kernel` module. """ @doc """ Returns `true` if `term` is a charlist. Otherwise returns `false`. A charlist is a list made of non-negative integers, where each integer represents a Unicode code point. These integers must be: - with...
28.632312
98
0.586049
ab7d1f958da1752989b5f64dca5cb78636a27932
4,273
ex
Elixir
lib/changelog_web/controllers/admin/news_issue_controller.ex
wojtekmach/changelog.com
d4a8a7703c5f07a3da63bffd770f4642488cf8fd
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/admin/news_issue_controller.ex
wojtekmach/changelog.com
d4a8a7703c5f07a3da63bffd770f4642488cf8fd
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/admin/news_issue_controller.ex
wojtekmach/changelog.com
d4a8a7703c5f07a3da63bffd770f4642488cf8fd
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.NewsIssueController do use ChangelogWeb, :controller alias Changelog.{NewsIssue, NewsItem, NewsIssueAd, NewsIssueItem, NewsSponsorship} plug :assign_issue when action in [:edit, :update, :publish, :unpublish, :delete] plug Authorize, [Policies.NewsIssue, :issue] plug :scrub_para...
29.068027
93
0.621577