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
1a0a79612070b70349838dbd1e65deaac32c371e
3,055
exs
Elixir
apps/omg/test/omg/state/transaction/fee_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg/test/omg/state/transaction/fee_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg/test/omg/state/transaction/fee_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.5
110
0.634043
1a0a7de71774c9c5181b9d6764d3fdf096ecc2c3
208
ex
Elixir
lib/mundum_web/controllers/page_controller.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
lib/mundum_web/controllers/page_controller.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
lib/mundum_web/controllers/page_controller.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
defmodule MundumWeb.PageController do use MundumWeb, :controller def index(conn, _params) do fields = ["expense", "category", "supercategory"] render conn, "index.html", fields: fields end end
23.111111
53
0.711538
1a0aba1c26c38a0e2afc36fa9e5499f139fdb19b
1,837
exs
Elixir
clients/webmaster/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/webmaster/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/webmaster/mix.exs
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...
27.41791
100
0.655416
1a0ac36b0868eb5a99de80ff2d5ea0b6f4a03486
414
ex
Elixir
2021/day2/lib/task1.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2021/day2/lib/task1.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
2021/day2/lib/task1.ex
SuddenGunter/adventofcode
702dd927b1d23c4c5c4b2e67898f4b3c914abfcf
[ "MIT" ]
null
null
null
defmodule Task1 do def solution(data) do {total_horizontal, total_vertical} = Enum.reduce( data, {0, 0}, fn x, {h, v} -> case x do {:forward, distance} -> {h + distance, v} {:up, distance} -> {h, v - distance} {:down, distance} -> {h, v +...
21.789474
53
0.483092
1a0ac52270d87e95b3504e6cc37ba318ff1fd8c8
7,974
exs
Elixir
test/tree/rstar/delete_test.exs
tesseract-libs/tesseract-trees
6863cd54e0413fa1b6a44811acb42db30c81a7fd
[ "MIT" ]
null
null
null
test/tree/rstar/delete_test.exs
tesseract-libs/tesseract-trees
6863cd54e0413fa1b6a44811acb42db30c81a7fd
[ "MIT" ]
null
null
null
test/tree/rstar/delete_test.exs
tesseract-libs/tesseract-trees
6863cd54e0413fa1b6a44811acb42db30c81a7fd
[ "MIT" ]
null
null
null
defmodule Tesseract.Tree.RStar.DeleteTest do alias Tesseract.Tree.RStar alias Tesseract.Tree.R.Validation alias Tesseract.Tree.R.Util use ExUnit.Case, async: true test "[R*] Delete: simple case #1" do points = [ a: {1, 1, 1}, b: {2, 2, 2}, c: {3, 3, 3}, d: {4, 4, 4}, e: {5,...
28.077465
94
0.40143
1a0ad16396f74ac781f8020e84d22230a31105dd
222,384
ex
Elixir
lib/codes/codes_t22.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_t22.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_t22.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_T22 do alias IcdCode.ICDCode def _T2200XA do %ICDCode{full_code: "T2200XA", category_code: "T22", short_code: "00XA", full_name: "Burn of unspecified degree of shoulder and upper limb, except wrist and hand, unspecified site, initial encounter", ...
46.729145
160
0.665965
1a0adc58d45e5c699b21e96428bc384a65802f40
543
ex
Elixir
lib/rayray/ray.ex
ckampfe/rayray
933f5fc095c8e959adf2f685ead4e780f766e451
[ "MIT" ]
null
null
null
lib/rayray/ray.ex
ckampfe/rayray
933f5fc095c8e959adf2f685ead4e780f766e451
[ "MIT" ]
null
null
null
lib/rayray/ray.ex
ckampfe/rayray
933f5fc095c8e959adf2f685ead4e780f766e451
[ "MIT" ]
null
null
null
defmodule Rayray.Ray do alias Rayray.Tuple alias Rayray.Matrix defstruct origin: nil, direction: nil def new(origin, direction) do %__MODULE__{origin: origin, direction: direction} end def position(%__MODULE__{origin: origin, direction: direction} = _ray, t) do Tuple.add(origin, Tuple.multiply(di...
25.857143
79
0.718232
1a0afe2c4db1afa9236072c709263d5635b8fd34
1,058
ex
Elixir
lib/bernieflanders/twitter_stream.ex
pjskennedy/bernieflanders
da1fe2ae128d18b717c949affa821602a635ce11
[ "MIT" ]
null
null
null
lib/bernieflanders/twitter_stream.ex
pjskennedy/bernieflanders
da1fe2ae128d18b717c949affa821602a635ce11
[ "MIT" ]
null
null
null
lib/bernieflanders/twitter_stream.ex
pjskennedy/bernieflanders
da1fe2ae128d18b717c949affa821602a635ce11
[ "MIT" ]
null
null
null
defmodule Bernieflanders.Twitterstream do def stream(handles) do IO.puts "Starting Twitter Stream" userIds = twitterIds(handles) # Stream tweets from given user ExTwitter.stream_filter(follow: Enum.join(userIds, ",")) # Filter tweets |> Stream.filter(&(filterTweet(&1, userIds))) # Expand...
28.594595
78
0.653119
1a0b2d8ce6361fa0a360b07ea327bc52b9a1d1ce
2,733
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/query_accessible_data_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/query_accessible_data_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/query_accessible_data_request.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...
47.947368
368
0.761434
1a0b390dfbec0c557fc230d42e03a519b8c51af1
438
ex
Elixir
elixir/lib/homework/merchants/merchant.ex
kellyfelkins/web-homework
b204866bd0a6908efa05ef8f5772b9fa926dbf02
[ "MIT" ]
null
null
null
elixir/lib/homework/merchants/merchant.ex
kellyfelkins/web-homework
b204866bd0a6908efa05ef8f5772b9fa926dbf02
[ "MIT" ]
null
null
null
elixir/lib/homework/merchants/merchant.ex
kellyfelkins/web-homework
b204866bd0a6908efa05ef8f5772b9fa926dbf02
[ "MIT" ]
null
null
null
defmodule Homework.Merchants.Merchant do use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} schema "merchants" do field(:description, :string) field(:name, :string) field(:tid, :string) timestamps() end @doc false def changeset(merchant, attrs) do ...
20.857143
52
0.673516
1a0b533e7a0fce359012305da5f75559792bd282
321
ex
Elixir
web/repositories/project_repo.ex
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
web/repositories/project_repo.ex
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
web/repositories/project_repo.ex
llxff/projects_statistics
343508fc8fc8e9238a546f5230fff50e21126417
[ "Unlicense" ]
null
null
null
defmodule ProjectsStatistics.ProjectRepo do alias ProjectsStatistics.Repo alias ProjectsStatistics.Project def all do {:ok, Repo.all(Project)} end def find(id) do Repo.get(Project, id) end def create(attributes) do %Project{} |> Project.changeset(attributes) |> Repo.insert end end...
16.894737
43
0.697819
1a0b77bc3169143bc6bd43a665dad7c92b929075
1,180
ex
Elixir
lib/tcp_proto.ex
vpsinc/modbus
e1b04916dc12c104e032122738815a1e3910394b
[ "Apache-2.0" ]
null
null
null
lib/tcp_proto.ex
vpsinc/modbus
e1b04916dc12c104e032122738815a1e3910394b
[ "Apache-2.0" ]
null
null
null
lib/tcp_proto.ex
vpsinc/modbus
e1b04916dc12c104e032122738815a1e3910394b
[ "Apache-2.0" ]
null
null
null
defmodule Modbus.Tcp.Protocol do @moduledoc false @behaviour Modbus.Protocol alias __MODULE__.Wrapper alias Modbus.Request alias Modbus.Response import Bitwise def next(tid) do case tid do nil -> 0 _ -> band(tid + 1, 0xFFFF) end end def pack_req(cmd, tid) do cmd |> Request.pa...
21.454545
68
0.626271
1a0bbdd04cc2334df5b99abfdd45fad0888f4d8f
1,075
ex
Elixir
lib/survey_tool/survey.ex
paulfioravanti/survey_tool_elixir
aacf14c97d9e00697c81e6d27f16506644a337c8
[ "MIT" ]
1
2020-01-18T23:27:50.000Z
2020-01-18T23:27:50.000Z
lib/survey_tool/survey.ex
paulfioravanti/survey_tool_elixir
aacf14c97d9e00697c81e6d27f16506644a337c8
[ "MIT" ]
null
null
null
lib/survey_tool/survey.ex
paulfioravanti/survey_tool_elixir
aacf14c97d9e00697c81e6d27f16506644a337c8
[ "MIT" ]
null
null
null
defmodule SurveyTool.Survey do @moduledoc """ Module representing a survey with questions and responses. """ alias __MODULE__, as: Survey alias SurveyTool.{RatingQuestion, SingleSelect} defstruct participant_count: 0, questions: [], response_count: 0 @typedoc "A list of potentially different question t...
26.875
80
0.687442
1a0bd6492cf855b5424193e0168c54337f60434b
71
ex
Elixir
elixir/phoenix_socket/web/views/page_view.ex
BStudent/SPANC-websocket-shootout
44353f1b9bf87ba7017b2788d876e732b410b4c4
[ "MIT" ]
421
2016-09-01T14:16:04.000Z
2022-03-11T14:22:29.000Z
elixir/phoenix_socket/web/views/page_view.ex
BStudent/SPANC-websocket-shootout
44353f1b9bf87ba7017b2788d876e732b410b4c4
[ "MIT" ]
48
2016-09-01T23:10:37.000Z
2020-10-28T14:34:47.000Z
elixir/phoenix_socket/web/views/page_view.ex
thewillhuang/websocket-shootout
d9046f341dc2a1ed54be5e734a546b392db09b05
[ "MIT" ]
84
2016-09-01T14:37:39.000Z
2021-11-10T16:46:13.000Z
defmodule PhoenixSocket.PageView do use PhoenixSocket.Web, :view end
17.75
35
0.816901
1a0be99fb4579270db88c9ce8153a89ca185b81a
1,683
ex
Elixir
lib/cog/models/chat_handle.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/models/chat_handle.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/models/chat_handle.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Models.ChatHandle do use Cog.Model use Cog.Models.EctoJson alias Cog.Models.ChatProvider alias Cog.Models.User schema "chat_handles" do field :handle, :string field :chat_provider_user_id, :string belongs_to :user, User belongs_to :chat_provider, ChatProvider, foreign_key: :pro...
38.25
98
0.736185
1a0c0766a406052b2c6bebbc0298580f4b74f74f
2,835
exs
Elixir
test/unit/logger_json/ecto_test.exs
waltfy/logger_json
e041318e496affdfc44226c33dac38e98a37695a
[ "MIT" ]
null
null
null
test/unit/logger_json/ecto_test.exs
waltfy/logger_json
e041318e496affdfc44226c33dac38e98a37695a
[ "MIT" ]
null
null
null
test/unit/logger_json/ecto_test.exs
waltfy/logger_json
e041318e496affdfc44226c33dac38e98a37695a
[ "MIT" ]
null
null
null
defmodule LoggerJSON.EctoTest do use Logger.Case import ExUnit.CaptureIO require Logger setup do on_exit(fn -> :ok = Logger.configure_backend(LoggerJSON, device: :user, level: nil, metadata: [], json_encoder: Jason) end) diff = :erlang.convert_time_unit(1, :microsecond, :native) entry =...
26.25
110
0.496296
1a0c440fc746bbfd47c6bfb38c29a45f1eca0255
1,222
ex
Elixir
test/fixtures/overlapping_defaults.ex
kelvinst/ex_doc
609d9765dd6f098dc298e5d6db6430859ee934ec
[ "Apache-2.0", "CC-BY-4.0" ]
1,206
2015-01-02T02:05:12.000Z
2022-03-29T17:18:10.000Z
test/fixtures/overlapping_defaults.ex
kelvinst/ex_doc
609d9765dd6f098dc298e5d6db6430859ee934ec
[ "Apache-2.0", "CC-BY-4.0" ]
1,266
2015-01-03T03:26:04.000Z
2022-03-31T09:43:53.000Z
test/fixtures/overlapping_defaults.ex
LaudateCorpus1/ex_doc
0612bac649cbb44ef09c20dedcf7e588a150606c
[ "Apache-2.0", "CC-BY-4.0" ]
300
2015-01-03T04:07:24.000Z
2022-03-29T08:10:56.000Z
defmodule OverlappingDefaults do @moduledoc """ Overlapping default functions """ @doc "Basic example" def overlapping_defaults(one, two) when is_list(two), do: {one, two} @doc "Third default arg overrides previous def clause" def overlapping_defaults(one, two, three \\ []), do: {one, two, three...
33.027027
88
0.662848
1a0c5ce423f3caaa81e939d0cbc8ec72ad19d3e4
491
exs
Elixir
config/test.exs
beccanelson/8th-light-library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
null
null
null
config/test.exs
beccanelson/8th-light-library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
9
2016-09-22T20:30:22.000Z
2016-09-22T21:00:53.000Z
config/test.exs
beccanelson/library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
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 :bookish, Bookish.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :bookish, Bookish.Repo,...
24.55
56
0.733198
1a0cbbff78021a3902aeacd5a387c45ab12705bb
933
ex
Elixir
ImportantExample/CuteReport/debian/postrm.ex
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
3
2018-12-24T19:35:52.000Z
2022-02-04T14:45:59.000Z
ImportantExample/cuteReportView/cutereport/debian/postrm.ex
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
null
null
null
ImportantExample/cuteReportView/cutereport/debian/postrm.ex
xiaohaijin/Qt
54d961c6a8123d8e4daf405b7996aba4be9ab7ed
[ "MIT" ]
1
2019-05-09T02:42:40.000Z
2019-05-09T02:42:40.000Z
#!/bin/sh # postrm script for cutereport # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' ...
24.552632
78
0.629153
1a0cee4aa1a529fafbc24d5b9922a602909fb8e3
2,742
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/account.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/account.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/account.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 &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.545455
276
0.753465
1a0cf58dd313367b33f48c609d607ab0ce0dadbd
1,896
exs
Elixir
clients/service_directory/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/service_directory/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/service_directory/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
28.298507
128
0.66403
1a0cf5b7e42c01234869fffc2b6b64180a8946f2
1,322
ex
Elixir
lib/utils.ex
Bentheburrito/caibot
301720992d668b02f308343c60f53ae050b5481b
[ "MIT" ]
2
2020-07-23T07:41:25.000Z
2020-08-10T22:03:25.000Z
lib/utils.ex
Bentheburrito/caibot
301720992d668b02f308343c60f53ae050b5481b
[ "MIT" ]
null
null
null
lib/utils.ex
Bentheburrito/caibot
301720992d668b02f308343c60f53ae050b5481b
[ "MIT" ]
null
null
null
defmodule Utils do def time_since_epoch(timestamp) do second_diff = DateTime.diff(DateTime.utc_now(), DateTime.from_unix!(timestamp)) time = Time.add(~T[00:00:00], second_diff) ["#{time.hour}h", "#{time.minute}m", "#{time.second}s"] |> Enum.filter(&(String.first(&1) != "0")) |> Enum.join(" ") e...
30.744186
93
0.634644
1a0cfb2369c0f687e99b03998790613d02a4a6d9
5,052
ex
Elixir
lib/graphvix/dot_helpers.ex
futpib/graphvix
9f78c7f4dddd101ac315085bc520c3d282057f27
[ "MIT" ]
null
null
null
lib/graphvix/dot_helpers.ex
futpib/graphvix
9f78c7f4dddd101ac315085bc520c3d282057f27
[ "MIT" ]
null
null
null
lib/graphvix/dot_helpers.ex
futpib/graphvix
9f78c7f4dddd101ac315085bc520c3d282057f27
[ "MIT" ]
null
null
null
defmodule Graphvix.DotHelpers do @moduledoc """ This module contains a set of helper methods for converting Elixir graph data into its DOT representation. """ @doc """ Convert top-level node and edge properties for a graph or subgraph into correct DOT notation. ## Example iex> graph = Graph.new...
27.016043
94
0.639549
1a0d29d709c0d2096a71d6ce7d1fc897db3e6dab
3,010
exs
Elixir
test/groupher_server_web/query/accounts/published/published_meetups_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/groupher_server_web/query/accounts/published/published_meetups_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/groupher_server_web/query/accounts/published/published_meetups_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.Query.Accounts.Published.Meetups do use GroupherServer.TestTools alias GroupherServer.CMS @publish_count 10 setup do {:ok, user} = db_insert(:user) {:ok, meetup} = db_insert(:meetup) {:ok, community} = db_insert(:community) guest_conn = simu_conn(:guest) use...
29.223301
90
0.581728
1a0d44ab507704ca6470136c05fc104bc52901e5
12,200
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/api/models.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/models.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/models.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.077441
187
0.615984
1a0d9066ff99829207378333200cc41605b4a513
2,181
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_reusable_configs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_reusable_configs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/list_reusable_configs_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.150943
204
0.741862
1a0d9d5f2a8d5767271cd8416a2aeb3ddfd14321
226
ex
Elixir
lib/hamlex/node/silent_comment.ex
marnen/hamlex
38322997b12972f60a16d40e44f81d0c178e2523
[ "MIT" ]
null
null
null
lib/hamlex/node/silent_comment.ex
marnen/hamlex
38322997b12972f60a16d40e44f81d0c178e2523
[ "MIT" ]
null
null
null
lib/hamlex/node/silent_comment.ex
marnen/hamlex
38322997b12972f60a16d40e44f81d0c178e2523
[ "MIT" ]
null
null
null
defmodule Hamlex.Node.SilentComment do @derive [Hamlex.Node] @type t :: %__MODULE__{body: Hamlex.Tree.t} defstruct body: [] @spec to_html(t, keyword) :: String.t def to_html(%__MODULE__{}, _opts \\ []), do: "" end
22.6
49
0.659292
1a0da4bd99b690ff86d9eadf9ee79b9541afb549
3,319
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/messaging/ordering/strict/confirm_pipe.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/messaging/ordering/strict/confirm_pipe.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
23
2021-10-12T16:43:06.000Z
2022-03-23T22:07:22.000Z
implementations/elixir/ockam/ockam/lib/ockam/messaging/ordering/strict/confirm_pipe.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1
2021-12-01T19:40:11.000Z
2021-12-01T19:40:11.000Z
defmodule Ockam.Messaging.Ordering.Strict.ConfirmPipe do @moduledoc """ Ockam pipe with receive queue and confirmations. Next message is processed only after previous one was confirmed. NOTE: Confirm pipe should go over backtraceable route NOTE: Confirm pipe doesn't handle message loss. I will get stuck on m...
25.143939
97
0.683338
1a0dd5159e648e58101e66970ea7f4c956ecc49e
4,453
ex
Elixir
lib/bracketeer_web/controllers/bracket_controller.ex
caromo/bracketeer
93b4fcaed0e4f6e83c49af6b3ed2573e3b44fac0
[ "MIT" ]
1
2019-06-20T20:29:10.000Z
2019-06-20T20:29:10.000Z
lib/bracketeer_web/controllers/bracket_controller.ex
caromo/bracketeer
93b4fcaed0e4f6e83c49af6b3ed2573e3b44fac0
[ "MIT" ]
3
2020-07-16T23:11:31.000Z
2021-05-08T14:44:21.000Z
lib/bracketeer_web/controllers/bracket_controller.ex
caromo/bracketeer
93b4fcaed0e4f6e83c49af6b3ed2573e3b44fac0
[ "MIT" ]
null
null
null
defmodule BracketeerWeb.BracketController do require IEx use BracketeerWeb, :controller import Plug.Conn alias Bracketeer.Rooms alias Bracketeer.Rooms.Bracket alias Bracketeer.Rooms.Match def index(conn, _params) do brackets = Rooms.list_brackets() render(conn, "index.html", brackets: brackets) ...
28.915584
99
0.641141
1a0de3c0a1350a06a2d0f512899801ecd8c6e0af
6,646
ex
Elixir
lib/worker/syncer.ex
m4ta1l/bors-ng
a4d04fd740e24d03833cd46a76f0f9e5be96f818
[ "Apache-2.0" ]
1
2020-04-23T20:37:43.000Z
2020-04-23T20:37:43.000Z
lib/worker/syncer.ex
m4ta1l/bors-ng
a4d04fd740e24d03833cd46a76f0f9e5be96f818
[ "Apache-2.0" ]
15
2020-12-11T03:57:12.000Z
2022-03-27T16:46:53.000Z
lib/worker/syncer.ex
m4ta1l/bors-ng
a4d04fd740e24d03833cd46a76f0f9e5be96f818
[ "Apache-2.0" ]
1
2020-04-01T13:34:19.000Z
2020-04-01T13:34:19.000Z
defmodule BorsNG.Worker.Syncer do @moduledoc """ A background task that pulls a full list of opened pull requests from a repo. Patches that don't come up get closed, and patches that don't exist get created. """ alias BorsNG.Worker.Syncer alias BorsNG.Database.Patch alias BorsNG.Database.Project alia...
28.280851
101
0.599759
1a0de85f5c4bdaef6cde6288c20b56536fabee64
8,493
ex
Elixir
deps/postgrex/lib/postgrex/types.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/types.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/types.ex
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
defmodule Postgrex.Types do @moduledoc """ Encodes and decodes between Postgres' protocol and Elixir values. """ alias Postgrex.TypeInfo alias Postgrex.Extension @typedoc """ Postgres internal identifier that maps to a type. See http://www.postgresql.org/docs/9.4/static/datatype-oid.html. """ @typ...
27.9375
92
0.62946
1a0e52beba2b26331054aa2b176f7d9a9f9a215b
2,664
ex
Elixir
lib/pipedrive/helpers/pagination.ex
steady-media/pipedrive
b0234d9caca1317c2550fd25bdf88945797a0a62
[ "MIT" ]
5
2019-08-02T13:17:34.000Z
2022-02-24T17:20:51.000Z
lib/pipedrive/helpers/pagination.ex
steady-media/pipedrive
b0234d9caca1317c2550fd25bdf88945797a0a62
[ "MIT" ]
5
2019-03-05T07:21:56.000Z
2022-01-17T09:47:23.000Z
lib/pipedrive/helpers/pagination.ex
steady-media/pipedrive
b0234d9caca1317c2550fd25bdf88945797a0a62
[ "MIT" ]
1
2020-03-18T18:57:14.000Z
2020-03-18T18:57:14.000Z
defmodule Pipedrive.Helpers.Pagination do @moduledoc """ Helpers around pagination. """ alias Pipedrive.API alias Pipedrive.Helpers.RateLimit # This is the max page size allowed by Pipedrive @max_limit 500 # This is the default timeout *per request* @default_timeout :timer.seconds(10) @doc """ G...
30.272727
94
0.692192
1a0e67df9731364e511c1b7b0c2648d06bd89314
3,106
ex
Elixir
lib/cloak/ciphers/aes_gcm.ex
robinvdvleuten/cloak
70cbf4bc59f15b5f60831d455b8dc7b6f457a1ff
[ "MIT" ]
null
null
null
lib/cloak/ciphers/aes_gcm.ex
robinvdvleuten/cloak
70cbf4bc59f15b5f60831d455b8dc7b6f457a1ff
[ "MIT" ]
null
null
null
lib/cloak/ciphers/aes_gcm.ex
robinvdvleuten/cloak
70cbf4bc59f15b5f60831d455b8dc7b6f457a1ff
[ "MIT" ]
null
null
null
defmodule Cloak.Ciphers.AES.GCM do @moduledoc """ A `Cloak.Cipher` which encrypts values with the AES cipher in GCM (block) mode. Internally relies on Erlang's `:crypto.block_encrypt/4`. """ @behaviour Cloak.Cipher @aad "AES256GCM" @default_iv_length 16 alias Cloak.Tags.Encoder alias Cloak.Tags.Deco...
34.511111
94
0.552801
1a0e6b1371d9f7ca1df65c3628bccab3685b7c4b
4,240
ex
Elixir
lib/app/awesome_filler.ex
vsyrovat/awesome_elixir
cfac2de5402c13f86f99032477daee883b31c020
[ "MIT" ]
2
2019-12-17T11:40:54.000Z
2019-12-22T17:15:29.000Z
lib/app/awesome_filler.ex
vsyrovat/funbox_awesome_elixir
cfac2de5402c13f86f99032477daee883b31c020
[ "MIT" ]
5
2020-10-08T20:36:07.000Z
2020-10-08T21:27:28.000Z
lib/app/awesome_filler.ex
vsyrovat/awesome-elixir
cfac2de5402c13f86f99032477daee883b31c020
[ "MIT" ]
null
null
null
defmodule App.AwesomeFiller do import Ecto.Query, only: [from: 2] require Logger alias App.Github.CatalogFetcher alias App.Github.CatalogParser alias App.Github.Helpers alias App.Github.RepositoryFetcher alias App.LocalCopy alias App.Repo @refresh_period_second 86400 def fill_if_need do Logge...
27.532468
94
0.646226
1a0eb92c808f87d87b56bc07dccdf506fccb9479
1,608
ex
Elixir
clients/ad_sense/lib/google_api/ad_sense/v14/model/payments.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/payments.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense/lib/google_api/ad_sense/v14/model/payments.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 &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.816327
185
0.742537
1a0f0627d314cc93efa95c8b57a5c6ad03cd02ca
1,509
exs
Elixir
test/http_client/adapters/tesla_test.exs
axelson/reverse_proxy_plug
1747a6f2b38b7a0d7967eaf7adfc5876e74b78a3
[ "MIT" ]
172
2018-08-08T22:53:11.000Z
2022-03-16T09:43:21.000Z
test/http_client/adapters/tesla_test.exs
axelson/reverse_proxy_plug
1747a6f2b38b7a0d7967eaf7adfc5876e74b78a3
[ "MIT" ]
74
2018-09-18T14:26:52.000Z
2022-03-18T09:20:50.000Z
test/http_client/adapters/tesla_test.exs
axelson/reverse_proxy_plug
1747a6f2b38b7a0d7967eaf7adfc5876e74b78a3
[ "MIT" ]
40
2018-09-18T15:18:49.000Z
2022-03-19T17:04:16.000Z
defmodule ReverseProxyPlug.HTTPClient.Adapters.TeslaTest do use ExUnit.Case, async: false import Tesla.Mock, only: [json: 2] import Mox alias ReverseProxyPlug.HTTPClient.Adapters.Tesla, as: TeslaClient alias ReverseProxyPlug.TeslaMock alias ReverseProxyPlug.HTTPClient.{ Error, Request, Respo...
25.15
78
0.587806
1a0f1c782da644705720aa7d46dec890e451ed24
1,021
ex
Elixir
apps/banking_api/lib/banking_api/users/inputs/create_user.ex
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
apps/banking_api/lib/banking_api/users/inputs/create_user.ex
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
apps/banking_api/lib/banking_api/users/inputs/create_user.ex
ckoliveira/banking_api
3a4077a97e2cfcb2475bafd582a836bd03f6c6cc
[ "Apache-2.0" ]
null
null
null
defmodule BankingApi.Users.Inputs.CreateUser do @moduledoc """ Create, validate and insert a new user in the database """ use BankingApi.Schema @required [:name, :cpf, :password] @optional [:password_hash] embedded_schema do field :name, :string field :cpf, :string field :password, :string,...
23.744186
56
0.65524
1a0f2f8c80e3c80a54b4c407642d197e93f73a70
3,774
ex
Elixir
apps/reaper/lib/reaper/event/event_handler.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
apps/reaper/lib/reaper/event/event_handler.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
apps/reaper/lib/reaper/event/event_handler.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.Event.EventHandler do @moduledoc "This modules processes all events for Reaper" use Brook.Event.Handler import SmartCity.Event, only: [ dataset_update: 0, error_dataset_update: 0, data_ingest_start: 0, data_extract_start: 0, data_extract_end: 0, file_inges...
29.484375
116
0.709327
1a0f408b98f40323a9c0fb09a2aa59ad5536534d
10,511
ex
Elixir
clients/container/lib/google_api/container/v1/model/cluster_update.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/cluster_update.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container/lib/google_api/container/v1/model/cluster_update.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
82.76378
587
0.756065
1a0f52cfd90019842c35f59754720fbd4b107462
215
exs
Elixir
community/betterdev/priv/repo/migrations/20170816044500_add_bot_channel_to_user.exs
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
79
2017-07-03T13:04:08.000Z
2022-02-11T13:59:37.000Z
community/betterdev/priv/repo/migrations/20170816044500_add_bot_channel_to_user.exs
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
16
2017-07-09T03:16:27.000Z
2022-01-14T14:29:57.000Z
community/betterdev/priv/repo/migrations/20170816044500_add_bot_channel_to_user.exs
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
10
2017-07-09T02:58:59.000Z
2021-09-14T08:01:02.000Z
defmodule Betterdev.Repo.Migrations.AddBotChannelToUser do use Ecto.Migration def change do alter table(:accounts_users) do add :channel, :string add :channel_user_id, :string end end end
19.545455
58
0.72093
1a0f889912dd7820618c37cadc6e2291cf02eb7f
518
ex
Elixir
lib/farmbot/system/init/kernel_mods.ex
FarmBot-Labs/farmbot_os
36d61b8e162655ac0c9a0d2bbb21459b4a82b4e3
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/system/init/kernel_mods.ex
FarmBot-Labs/farmbot_os
36d61b8e162655ac0c9a0d2bbb21459b4a82b4e3
[ "MIT" ]
null
null
null
lib/farmbot/system/init/kernel_mods.ex
FarmBot-Labs/farmbot_os
36d61b8e162655ac0c9a0d2bbb21459b4a82b4e3
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.System.Init.KernelMods do @moduledoc "Loads kernel modules at boot." use Supervisor use Farmbot.Logger @mods Application.get_env(:farmbot, :kernel_modules, []) def start_link(_, opts \\ []) do Supervisor.start_link(__MODULE__, [], opts) end def init([]) do do_checkup() :...
21.583333
66
0.656371
1a0f8a7154ba8b8a40d68a98a6188b45f44ad77b
69
ex
Elixir
web/views/layout_view.ex
joekain/play_channel
14450af4cfda4d59bc4e4157d4081b10941b5abf
[ "MIT" ]
4
2016-03-25T08:10:23.000Z
2018-11-13T22:11:11.000Z
web/views/layout_view.ex
joekain/play_channel
14450af4cfda4d59bc4e4157d4081b10941b5abf
[ "MIT" ]
null
null
null
web/views/layout_view.ex
joekain/play_channel
14450af4cfda4d59bc4e4157d4081b10941b5abf
[ "MIT" ]
null
null
null
defmodule PlayChannel.LayoutView do use PlayChannel.Web, :view end
17.25
35
0.811594
1a0f929e642769106bef25e33c61f5a2393cf394
919
exs
Elixir
config/config.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
config/config.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
config/config.exs
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
use Mix.Config # Configures the endpoint config :artus, Artus.Endpoint, url: [host: "localhost"], root: Path.dirname(__DIR__), secret_key_base: "WXptf2mloqkTth6Sq/rWnGeiJqlTrLYHE0ZCdvajHAOUImJ2svY8LzDCA1+nxzHv", render_errors: [view: Artus.ErrorView, accepts: ~w(html), layout: false], pubsub: [name: Artus.Pu...
27.029412
86
0.746464
1a0f9a3de5d6951018242c711c855fa049a2c49e
2,778
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/cohort.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/cohort.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/cohort.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...
52.415094
760
0.742261
1a0fcd2296312e5f381ac7d5802226338dd6bfa1
1,678
ex
Elixir
lib/pton/accounts/accounts.ex
casey-chow/pton.co
c794dc6903326dc827f5cbd5c7a8e35868a0fa45
[ "MIT" ]
null
null
null
lib/pton/accounts/accounts.ex
casey-chow/pton.co
c794dc6903326dc827f5cbd5c7a8e35868a0fa45
[ "MIT" ]
4
2017-10-18T15:52:20.000Z
2017-10-19T00:18:38.000Z
lib/pton/accounts/accounts.ex
casey-chow/pton.co
c794dc6903326dc827f5cbd5c7a8e35868a0fa45
[ "MIT" ]
null
null
null
defmodule Pton.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias Pton.Repo alias Pton.Accounts.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users do Repo.all(User) |> Repo.preload(:l...
15.980952
59
0.564958
1a10172b44f8a52b48dfcdd786261b6ddc12d68e
2,096
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_move_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_move_request.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/instance_move_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...
37.428571
212
0.726622
1a1065636e5c1b31345ef63dc0e59144096be5b6
1,511
exs
Elixir
test/game/npc/events/combat_ticked_test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/game/npc/events/combat_ticked_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/game/npc/events/combat_ticked_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.NPC.Events.CombatTickedTest do use Data.ModelCase alias Data.Events alias Game.Character alias Game.NPC.Events.CombatTicked alias Game.NPC.State doctest CombatTicked setup [:basic_setup] describe "processing the events" do test "inserts the target into any commands/target actions"...
23.984127
83
0.610192
1a1087df8e4ccb50f365ade2ee4c4b059c9d4117
1,524
ex
Elixir
lib/jumubase_web/views/helpers/map_helpers.ex
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
2
2019-01-20T07:03:30.000Z
2019-04-11T10:20:14.000Z
lib/jumubase_web/views/helpers/map_helpers.ex
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
6
2018-09-20T05:52:14.000Z
2019-04-23T19:27:39.000Z
lib/jumubase_web/views/helpers/map_helpers.ex
richeterre/jumubase-phoenix
7584f890af117d496971b5284bf9de798e22266f
[ "MIT" ]
null
null
null
defmodule JumubaseWeb.MapHelpers do alias Jumubase.Foundation @doc """ Returns an image url for a map showing all hosts. """ def host_map_url do base_url = "https://maps.googleapis.com/maps/api/staticmap?scale=2&size=640x400" markers = Foundation.list_hosts() |> Enum.group_by(& &1.curren...
27.709091
84
0.633858
1a10b6d068e56a07a51c6a9dd99e1f979fbc6caa
1,790
ex
Elixir
solomon/test/support/model_case.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
10
2018-04-12T22:29:52.000Z
2021-10-18T17:07:45.000Z
solomon/test/support/model_case.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
null
null
null
solomon/test/support/model_case.ex
FoxComm/highlander
1aaf8f9e5353b94c34d574c2a92206a1c363b5be
[ "MIT" ]
1
2018-07-06T18:42:05.000Z
2018-07-06T18:42:05.000Z
defmodule Solomon.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 ...
27.121212
84
0.684916
1a110e4dc965ae5321ae19dd6e49312f8fa79771
681
exs
Elixir
test/lib/couchjitsu_track/activity_history_test.exs
taylonr/couchjitsu_track
0a31c450ac734f9d8b69849cb766de0e99f178c4
[ "MIT" ]
null
null
null
test/lib/couchjitsu_track/activity_history_test.exs
taylonr/couchjitsu_track
0a31c450ac734f9d8b69849cb766de0e99f178c4
[ "MIT" ]
null
null
null
test/lib/couchjitsu_track/activity_history_test.exs
taylonr/couchjitsu_track
0a31c450ac734f9d8b69849cb766de0e99f178c4
[ "MIT" ]
null
null
null
defmodule ActivityHistoryTest do use ExUnit.Case alias CouchjitsuTrack.ActivityHistory test "Get statistics should set max to true on the item with the highest number" do activities = [%{month: 1, year: 2016, hours: 10}, %{month: 2, year: 2016, hours: 5}] [stats | _] = ActivityHistory.set_...
40.058824
92
0.656388
1a1112c5ac30903ddf7b58faf30d4c35841069b4
97
ex
Elixir
lib/linx/data.ex
jnbt/linx
f96938ae9a6ec2548147c2269079eac925b503d8
[ "MIT" ]
null
null
null
lib/linx/data.ex
jnbt/linx
f96938ae9a6ec2548147c2269079eac925b503d8
[ "MIT" ]
null
null
null
lib/linx/data.ex
jnbt/linx
f96938ae9a6ec2548147c2269079eac925b503d8
[ "MIT" ]
null
null
null
defmodule Linx.Data do defstruct measurement: nil, tags: nil, fields: nil, timestamp: nil end
32.333333
70
0.752577
1a1188820e4fee96bac3dae3a3ec193d5442d02e
2,821
ex
Elixir
lib/nostrum/struct/interaction.ex
ushitora-anqou/nostrum
93ffcf9ed04380e06e6bffa21a1f51b5193a56d4
[ "MIT" ]
null
null
null
lib/nostrum/struct/interaction.ex
ushitora-anqou/nostrum
93ffcf9ed04380e06e6bffa21a1f51b5193a56d4
[ "MIT" ]
null
null
null
lib/nostrum/struct/interaction.ex
ushitora-anqou/nostrum
93ffcf9ed04380e06e6bffa21a1f51b5193a56d4
[ "MIT" ]
null
null
null
defmodule Nostrum.Struct.Interaction do @moduledoc "Slash command invocation struct." # https://discord.com/developers/docs/interactions/slash-commands#interaction alias Nostrum.Snowflake alias Nostrum.Struct.ApplicationCommandInteractionData alias Nostrum.Struct.Guild.Member alias Nostrum.Struct.User al...
25.880734
80
0.649415
1a118895c64f7c92a1cc0d4e547b8fefb386d68c
3,182
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_match_intent_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_match_intent_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_cx_v3_match_intent_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.794118
242
0.726587
1a119e99378f5bce6dfc25bcdc415bb217855d14
322
exs
Elixir
test/linear_algebra_test.exs
gyson/Numerix
b96a9946b2f9680ab0b24e89287f7b9bf4481d9e
[ "MIT" ]
null
null
null
test/linear_algebra_test.exs
gyson/Numerix
b96a9946b2f9680ab0b24e89287f7b9bf4481d9e
[ "MIT" ]
null
null
null
test/linear_algebra_test.exs
gyson/Numerix
b96a9946b2f9680ab0b24e89287f7b9bf4481d9e
[ "MIT" ]
null
null
null
defmodule Numerix.LinearAlgebraTest do use ExUnit.Case, async: true import Numerix.LinearAlgebra test "dot product is correct for a specific example" do assert dot([1, 2, 3], [4, 5, 6]) == 32 end test "norm of a normal list (for coverage)" do assert norm(2, [1, 2, 3]) == 3.7416573867739458 end en...
23
57
0.677019
1a11a708ad9d32bfe42d99ef60acd9d144d40084
1,059
exs
Elixir
mix.exs
maartenvanvliet/ex_nist
99143ee58851d1797fc017f8c62e2ce74d679ada
[ "MIT" ]
1
2020-01-19T02:47:42.000Z
2020-01-19T02:47:42.000Z
mix.exs
maartenvanvliet/ex_nist
99143ee58851d1797fc017f8c62e2ce74d679ada
[ "MIT" ]
null
null
null
mix.exs
maartenvanvliet/ex_nist
99143ee58851d1797fc017f8c62e2ce74d679ada
[ "MIT" ]
null
null
null
defmodule ExNist.MixProject do use Mix.Project @url "https://github.com/maartenvanvliet/ex_nist" def project do [ app: :ex_nist, version: "1.0.2", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, description: "Set of Ecto.Changeset functions to validate passwords a...
25.214286
143
0.564684
1a11b13cb75a4f4785e3e3fdf32bac3a9239bada
17,529
ex
Elixir
lib/drab/commander.ex
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
lib/drab/commander.ex
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
lib/drab/commander.ex
bdfinlayson/drab
ce11a643ec8fe7e7f622489af5792ef12e69a8c7
[ "MIT" ]
null
null
null
defmodule Drab.Commander do require Logger @moduledoc """ Drab Commander is a module to keep event handlers. All the Drab functions (callbacks, event handlers) are placed in the module called `Commander`. Think about it as a controller for the living pages. Commanders should be placed in `web/commanders` di...
35.628049
116
0.688288
1a11d03f5dc4b4cf0a41c3506cc4b81c47cae36a
3,426
ex
Elixir
lib/flamelex/gui/utils/color_palletes/anakin.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
10
2021-03-02T20:05:13.000Z
2022-03-14T21:10:39.000Z
lib/flamelex/gui/utils/color_palletes/anakin.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-14T18:29:44.000Z
2021-12-23T20:38:27.000Z
lib/flamelex/gui/utils/color_palletes/anakin.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-05T20:41:26.000Z
2021-12-26T01:46:42.000Z
defmodule Flamelex.GUI.ColorsPalletes.Anakin do #TODO we should have a behaviour here probs # https://vimcolors.org/ # hi clear # syntax reset # let g:colors_name = "obiwan" # set background=light # set t_Co=256 # hi Normal guifg=#dadada ctermbg=NONE guibg=#272935 gui=NONE # hi DiffText guifg=#fc75...
35.6875
69
0.720665
1a11dc628e0d2eb286376ed9f9a532effb6b2a2c
726
exs
Elixir
test/bench_test.exs
camshaft/ex_htmlparser
d2155a0cf838915e439335416dc6f2b998aeb51d
[ "MIT" ]
null
null
null
test/bench_test.exs
camshaft/ex_htmlparser
d2155a0cf838915e439335416dc6f2b998aeb51d
[ "MIT" ]
null
null
null
test/bench_test.exs
camshaft/ex_htmlparser
d2155a0cf838915e439335416dc6f2b998aeb51d
[ "MIT" ]
null
null
null
defmodule Test.HTMLParser.Bench do use Test.HTMLParser.Case @base "https://raw.githubusercontent.com/servo/html5ever/master/data/bench/" bench "lipsum-zh", 100, do: b("lipsum-zh") bench "lipsum", 100, do: b("lipsum") bench "tiny-fragment", 100, do: b("tiny-fragment") bench "small-fragment", 100, do: b("sm...
25.928571
78
0.612948
1a1222430dfc4cbd348455646b6e47df085bff50
6,376
ex
Elixir
lib/annon_api/configuration/api.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
328
2017-05-05T15:19:46.000Z
2022-03-11T10:52:45.000Z
lib/annon_api/configuration/api.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
83
2017-04-30T10:36:15.000Z
2019-10-14T13:14:34.000Z
lib/annon_api/configuration/api.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
29
2017-05-02T14:36:50.000Z
2021-09-03T13:36:17.000Z
defmodule Annon.Configuration.API do @moduledoc """ The boundary for the API Configurations system. """ import Ecto.{Query, Changeset}, warn: false alias Annon.Configuration.Repo alias Annon.Configuration.Schemas.API, as: APISchema alias Annon.Configuration.Schemas.Plugin, as: PluginSchema alias Ecto.Mu...
28.088106
110
0.63096
1a1236173e1d1bb3cb408c39af3c2d129eba1389
1,683
ex
Elixir
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1alpha1_delete_issue_model_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1alpha1_delete_issue_model_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1alpha1_delete_issue_model_request.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.166667
117
0.756982
1a125a9ed048ce774cce01b1f2f172df24c3d0d5
865
exs
Elixir
test/wabanex/user_test.exs
igorkf/wabanex
942b5e22c1285ef0206766935aed6f858f7fb16e
[ "RSA-MD" ]
null
null
null
test/wabanex/user_test.exs
igorkf/wabanex
942b5e22c1285ef0206766935aed6f858f7fb16e
[ "RSA-MD" ]
null
null
null
test/wabanex/user_test.exs
igorkf/wabanex
942b5e22c1285ef0206766935aed6f858f7fb16e
[ "RSA-MD" ]
null
null
null
defmodule Wabanex.UserTest do use Wabanex.DataCase, async: true alias Wabanex.User describe "changeset/1" do test "when all params are valid, returns a valid changeset" do params = %{name: "Igor", email: "igor@test.com", password: "123456"} response = User.changeset(params) # test with pa...
28.833333
93
0.610405
1a1262b3c6a5b4444dcc944a1bca77c062888b1b
882
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.666667
74
0.758503
1a126bc8135380829e9d15a52c4bffff70dff49d
6,827
exs
Elixir
apps/omg/test/omg/state/persistence_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg/test/omg/state/persistence_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg/test/omg/state/persistence_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
37.306011
111
0.676285
1a127434b917f6c999f9c83071adc99e8d363c72
6,426
ex
Elixir
lib/wallaby/feature.ex
aarongraham/wallaby
37a4dc379a83b64540c8763e7205752b43bd811e
[ "MIT" ]
1
2020-05-15T20:41:00.000Z
2020-05-15T20:41:00.000Z
lib/wallaby/feature.ex
aarongraham/wallaby
37a4dc379a83b64540c8763e7205752b43bd811e
[ "MIT" ]
null
null
null
lib/wallaby/feature.ex
aarongraham/wallaby
37a4dc379a83b64540c8763e7205752b43bd811e
[ "MIT" ]
null
null
null
defmodule Wallaby.Feature do @moduledoc """ Helpers for writing features. You can `use` or `import` this module. ## use Wallaby.Feature Calling this module with `use` will automatically call `use Wallaby.DSL`. When called with `use` and you are using Ecto, please configure your `otp_app`. ``` confi...
28.945946
266
0.669779
1a1274daef1797a7a368fa897872a187992df517
1,834
ex
Elixir
lib/web_driver_client/w3c_wire_protocol_client/commands/set_cookie.ex
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
8
2019-11-24T18:33:12.000Z
2020-12-09T10:20:09.000Z
lib/web_driver_client/w3c_wire_protocol_client/commands/set_cookie.ex
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
67
2019-12-20T16:33:30.000Z
2021-09-14T03:50:10.000Z
lib/web_driver_client/w3c_wire_protocol_client/commands/set_cookie.ex
fimassuda/web_driver_client
09d373c9a8a923c5e2860f107f84b16565e338f7
[ "MIT" ]
10
2020-06-19T16:15:03.000Z
2021-09-13T17:56:25.000Z
defmodule WebDriverClient.W3CWireProtocolClient.Commands.SetCookie do @moduledoc false import WebDriverClient.W3CWireProtocolClient.Guards alias WebDriverClient.Config alias WebDriverClient.ConnectionError alias WebDriverClient.HTTPResponse alias WebDriverClient.Session alias WebDriverClient.W3CWireProt...
35.960784
91
0.720829
1a1276542a78b2fb864c6e9322ef28291cb1ce54
70
exs
Elixir
test/time_queue_test.exs
lud/time_queue
e4c4e1ab64fdace9b5040b66f1a49fd5f2ade3ac
[ "X11" ]
1
2020-10-03T16:58:26.000Z
2020-10-03T16:58:26.000Z
test/time_queue_test.exs
lud/time_queue
e4c4e1ab64fdace9b5040b66f1a49fd5f2ade3ac
[ "X11" ]
3
2020-05-13T17:21:28.000Z
2020-10-03T12:31:57.000Z
test/time_queue_test.exs
lud/time_queue
e4c4e1ab64fdace9b5040b66f1a49fd5f2ade3ac
[ "X11" ]
1
2020-10-03T07:12:34.000Z
2020-10-03T07:12:34.000Z
defmodule TimeQueueTest do use TimeQueueCase, module: TimeQueue end
17.5
38
0.828571
1a12da8d9bb717138f9f2ac738b7357c4cb94be7
6,852
ex
Elixir
apps/admin_app/lib/admin_app_web/views/order_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/admin_app/lib/admin_app_web/views/order_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/views/order_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule AdminAppWeb.OrderView do use AdminAppWeb, :view alias Snitch.Data.Model.{Country, State} alias Snitch.Domain.Order, as: OrderDomain alias AdminAppWeb.Helpers alias SnitchPayments.PaymentMethodCode @bootstrap_contextual_class %{ "slug" => "light", "cart" => "light", "address" => "light...
24.826087
98
0.641419
1a131f49988e38d8479f5cfc2a4b74716d1505bf
322
ex
Elixir
lib/entities/concert.ex
Lucassifoni/ondix
3b3e54920e1e007d0c29723460c423a7fb52c8a4
[ "MIT" ]
null
null
null
lib/entities/concert.ex
Lucassifoni/ondix
3b3e54920e1e007d0c29723460c423a7fb52c8a4
[ "MIT" ]
null
null
null
lib/entities/concert.ex
Lucassifoni/ondix
3b3e54920e1e007d0c29723460c423a7fb52c8a4
[ "MIT" ]
null
null
null
defmodule Ondix.Entities.Concert do def get(id, relations) do Ondix.Client.getOne("saisons/public/concerts/#{id}", relations) end def list(clauses, page) do Ondix.Client.getList("saisons/public/concerts", clauses, page) end def next() do Ondix.Client.fetch("saisons/public/concerts/next") end e...
24.769231
67
0.717391
1a13302f1e593c33e17278bba4efd5d7462f8758
1,559
ex
Elixir
lib/live_ui_kit/ui/collapse.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
2
2022-03-01T23:32:08.000Z
2022-03-08T10:32:14.000Z
lib/live_ui_kit/ui/collapse.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
null
null
null
lib/live_ui_kit/ui/collapse.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
null
null
null
defmodule LiveUiKit.UI.Collapse do use LiveUiKit.UI @moduledoc """ Collapse is used for toggle showing and hiding content. """ @doc ~S''' Collapse component: ## Examples <button class="btn" phx-click={toggle_collapse("#collapse-one")}> Toggle Collapse </button> <.collapse id...
26.423729
114
0.609365
1a134facb75583ada7cd612f4386bbdadf16ae86
3,760
ex
Elixir
lib/event_store/tasks/migrate.ex
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
lib/event_store/tasks/migrate.ex
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
lib/event_store/tasks/migrate.ex
LeartS/eventstore
f0431bfefcaa1a6fa8251eb6dd0ae8def1d82961
[ "MIT" ]
null
null
null
defmodule EventStore.Tasks.Migrate do @moduledoc """ Task to migrate EventStore """ import EventStore.Tasks.Output alias EventStore.Storage alias EventStore.Config alias EventStore.Storage.Database alias EventStore.Tasks.Migrations @dialyzer {:no_return, exec: 2, handle_response: 1} @doc """ R...
26.478873
105
0.648404
1a1380af1e4f656bb125526c42ab7016f14c360c
2,727
ex
Elixir
lib/outer_web/router.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
lib/outer_web/router.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
lib/outer_web/router.ex
karolsluszniak/clustered_queue_and_pool-phoenix1.6
cbf8f51a3c72cb7a5bde31839c1de056775af4f3
[ "MIT" ]
null
null
null
defmodule OuterWeb.Router do use OuterWeb, :router import OuterWeb.UserAuth pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {OuterWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers plug :fe...
29.967033
86
0.716538
1a1391d47e10a0a5189bd11f5e4c6e10cdeb7e4f
1,208
ex
Elixir
lib/noven_media/filters/thumbnailer.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
8
2020-09-10T09:18:17.000Z
2022-03-25T03:43:25.000Z
lib/noven_media/filters/thumbnailer.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
null
null
null
lib/noven_media/filters/thumbnailer.ex
ConnorRigby/noven
2c34953490585b77b6c7ae8dd772da5028f6a948
[ "Apache-2.0" ]
4
2020-12-28T06:13:51.000Z
2021-04-27T18:00:06.000Z
defmodule NovenMedia.Thumbnailer do use Membrane.Sink alias Membrane.Caps.Video.Raw alias Membrane.Buffer require Logger def_input_pad(:input, caps: Raw, demand_unit: :buffers) @impl true def handle_init(_) do {:ok, %{caps: nil}} end @impl true def handle_caps(:input, caps, ctx, state) do ...
22.37037
71
0.612583
1a13a1b1310aaf74c3ff633443f319b796471c82
363
exs
Elixir
priv/repo/seeds.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
GhAc-2017/RoiimPpaysafe
9bf5f899bce0ec5045c5eee0a358ffa2d3c29d81
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # RoiimPpaysafe.Repo.insert!(%RoiimPpaysafe.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) ...
30.25
61
0.716253
1a13c3634ef42387e1aa72af4ec401f118a0b2a6
1,430
exs
Elixir
config/config.exs
minijackson/banquet
d6f9d7ddbc4788ce2fd3fa084f38aee69f8f7413
[ "MIT" ]
null
null
null
config/config.exs
minijackson/banquet
d6f9d7ddbc4788ce2fd3fa084f38aee69f8f7413
[ "MIT" ]
null
null
null
config/config.exs
minijackson/banquet
d6f9d7ddbc4788ce2fd3fa084f38aee69f8f7413
[ "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 config :banquet, ecto_repos: [Banquet.Repos.Accounts] config :banquet, Banquet.Repos.Accounts, adapter: EctoMnesia.Adapter, storage_type: :disc_copies # This configuration is...
34.047619
73
0.748951
1a140d98ce2fd7beb3da1ec09d55dc7c7d8053cb
2,241
exs
Elixir
src/apps/guild/mix.exs
fortelabsinc/PlayerExchange
442629df9716b45dd31f2bb1127309f4f9d2b0ee
[ "MIT" ]
null
null
null
src/apps/guild/mix.exs
fortelabsinc/PlayerExchange
442629df9716b45dd31f2bb1127309f4f9d2b0ee
[ "MIT" ]
42
2020-04-28T20:39:12.000Z
2022-02-27T03:54:44.000Z
src/apps/guild/mix.exs
fortelabsinc/PlayerExchange
442629df9716b45dd31f2bb1127309f4f9d2b0ee
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2020 forte labs inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, mer...
33.954545
80
0.585007
1a1432cb3c6f5396ec2361303c8d655254186b81
355
exs
Elixir
test/rankings_web/controllers/result_controller_test.exs
spkane31/cc-rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
1
2020-06-28T19:31:07.000Z
2020-06-28T19:31:07.000Z
test/rankings_web/controllers/result_controller_test.exs
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
5
2019-07-25T17:00:39.000Z
2019-07-25T17:12:07.000Z
test/rankings_web/controllers/result_controller_test.exs
spkane31/rankings
0acda9f3ca35abd4874ab06478ad22aa473811bf
[ "MIT" ]
null
null
null
defmodule RankingsWeb.ResultControllerTest do use RankingsWeb.ConnCase test "GET /results", %{conn: conn} do conn = get(conn, "/results") assert html_response(conn, 200) =~ "<!DOCTYPE html>" end test "GET /results/1", %{conn: conn} do conn = get(conn, "/results/1") assert html_response(conn, 2...
25.357143
56
0.656338
1a144ddc4e86d3f78c356549c4fa83a59d239c31
10,118
ex
Elixir
lib/ueberauth/strategy/auth0.ex
Immersiva1/ueberauth_auth0
8ad5c3e93deae9512558dbf4852767f72eb5bf71
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/auth0.ex
Immersiva1/ueberauth_auth0
8ad5c3e93deae9512558dbf4852767f72eb5bf71
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/auth0.ex
Immersiva1/ueberauth_auth0
8ad5c3e93deae9512558dbf4852767f72eb5bf71
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Auth0 do @moduledoc """ Provides an Ueberauth strategy for authenticating with Auth0. You can edit the behaviour of the Strategy by including some options when you register your provider. To set the `uid_field` config :ueberauth, Ueberauth, providers: [ a...
32.325879
144
0.65171
1a144e886b4cb33a42b443e98fda8f9c5b1acb38
37
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_qualified_multiple_aliases_parsing_test_case/MatchedCaptureNonNumericOperation.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_qualified_multiple_aliases_parsing_test_case/MatchedCaptureNonNumericOperation.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_qualified_multiple_aliases_parsing_test_case/MatchedCaptureNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
&one.{} &one.{Two} &one.{Two, Three}
9.25
17
0.540541
1a14563f90ac9eca6c2405bfa3bf4a7630904a08
1,695
ex
Elixir
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/register_debuggee_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/register_debuggee_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/register_debuggee_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 &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.591837
126
0.749853
1a1477962f74d25efaebe836343eb2953146a95c
1,246
ex
Elixir
lib/shippex/carrier/dummy.ex
whitepaperclip/shippex
f7983cac65da495bd7b335e2dfffe2d959269d70
[ "MIT" ]
11
2017-01-16T10:53:56.000Z
2021-06-05T14:51:17.000Z
lib/shippex/carrier/dummy.ex
whitepaperclip/shippex
f7983cac65da495bd7b335e2dfffe2d959269d70
[ "MIT" ]
4
2017-06-17T16:03:56.000Z
2020-12-31T18:04:21.000Z
lib/shippex/carrier/dummy.ex
whitepaperclip/shippex
f7983cac65da495bd7b335e2dfffe2d959269d70
[ "MIT" ]
5
2018-01-30T21:57:56.000Z
2021-01-31T02:09:29.000Z
defmodule Shippex.Carrier.Dummy do @moduledoc false @behaviour Shippex.Carrier @impl true def fetch_rates(_arg) do [ {:high, rate()} ] end @impl true def fetch_rate(arg, _arg2), do: fetch_rates(arg) @impl true def create_transaction(_arg1, _arg2) do {:shipment, %Shippex.Trans...
18.323529
94
0.64366
1a147ac9637585355bc80bbc2032baf3256c2c87
560
ex
Elixir
lib/sx1509/pin.ex
psteininger/sx1509
1b6051ee0904dc7977270db9aa8b6e8711fb211b
[ "MIT" ]
null
null
null
lib/sx1509/pin.ex
psteininger/sx1509
1b6051ee0904dc7977270db9aa8b6e8711fb211b
[ "MIT" ]
null
null
null
lib/sx1509/pin.ex
psteininger/sx1509
1b6051ee0904dc7977270db9aa8b6e8711fb211b
[ "MIT" ]
null
null
null
defmodule SX1509.Pin do @derive Wafer.DeviceID defstruct [:conn, :pin_number] # import SX1509.Guards import Wafer.Guards, except: [is_pin_number: 1] # alias SX1509.{Commands, Pin} alias Wafer.GPIO @behaviour Wafer.Conn @moduledoc """ A connection to a GPIO pin on an MCP23017 device. """ @type t ::...
24.347826
75
0.65
1a14a87034079d326f503cbc9d289416fd6a5d01
954
exs
Elixir
config/config.exs
deadtrickster/slackin_ex
a3584eb51a9bc2a7ff193e313fa6c1ebdf4bccab
[ "MIT" ]
null
null
null
config/config.exs
deadtrickster/slackin_ex
a3584eb51a9bc2a7ff193e313fa6c1ebdf4bccab
[ "MIT" ]
null
null
null
config/config.exs
deadtrickster/slackin_ex
a3584eb51a9bc2a7ff193e313fa6c1ebdf4bccab
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :slackin_ex, SlackinEx.Web.Endpoint, url: [host: "...
35.333333
86
0.762055
1a14cec026a13d9602c857c6b1cfc2910a57a15d
16,464
ex
Elixir
lib/ex_unit/lib/ex_unit/case.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/ex_unit/lib/ex_unit/case.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/case.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2018-04-18T11:25:33.000Z
2018-04-18T11:25:33.000Z
defmodule ExUnit.DuplicateTestError do defexception [:message] end defmodule ExUnit.DuplicateDescribeError do defexception [:message] end defmodule ExUnit.Case do @moduledoc """ Helpers for defining test cases. This module must be used in other modules as a way to configure and prepare them for testing. ...
30.043796
98
0.661261
1a14d012daa75bb1a7571fe45d5f36dad2d2a18a
1,190
exs
Elixir
mix.exs
keathley/hlcid
62e04dfd964c1ffc487127cceb4c700349fdb870
[ "MIT" ]
10
2019-08-25T16:07:40.000Z
2021-07-13T19:08:48.000Z
mix.exs
elixir-toniq/hlcid
3761b7641feb419e4c4ede4adeb946645ecbb23b
[ "MIT" ]
6
2021-11-22T10:23:01.000Z
2022-03-23T11:07:00.000Z
mix.exs
elixir-toniq/hlcid
3761b7641feb419e4c4ede4adeb946645ecbb23b
[ "MIT" ]
2
2020-09-10T22:57:59.000Z
2021-05-19T21:34:15.000Z
defmodule Hlcid.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :hlcid, version: @version, elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), deps: deps(), name: "HLCI...
19.508197
67
0.556303
1a14f6999698f69d44ac850d2d000c4ebad21f9f
470
ex
Elixir
lib/conduit/blog/workflows/create_author_from_user.ex
gordalina/conduit
b949fe3ed3d5c1cd481e4a8df657f9371fb6f77e
[ "MIT" ]
298
2017-06-05T14:28:23.000Z
2022-03-30T16:53:44.000Z
lib/conduit/blog/workflows/create_author_from_user.ex
gordalina/conduit
b949fe3ed3d5c1cd481e4a8df657f9371fb6f77e
[ "MIT" ]
28
2017-07-21T01:06:47.000Z
2021-03-07T12:32:56.000Z
lib/conduit/blog/workflows/create_author_from_user.ex
gordalina/conduit
b949fe3ed3d5c1cd481e4a8df657f9371fb6f77e
[ "MIT" ]
77
2017-08-14T20:12:03.000Z
2021-12-08T22:24:59.000Z
defmodule Conduit.Blog.Workflows.CreateAuthorFromUser do use Commanded.Event.Handler, application: Conduit.App, name: "Blog.Workflows.CreateAuthorFromUser", consistency: :strong alias Conduit.Accounts.Events.UserRegistered alias Conduit.Blog def handle(%UserRegistered{user_uuid: user_uuid, usernam...
29.375
93
0.746809
1a14fc96b004be799dbcca74e46c3bd55739bd46
249
ex
Elixir
lib/featex.ex
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
null
null
null
lib/featex.ex
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
1
2021-05-11T19:13:08.000Z
2021-05-11T19:13:08.000Z
lib/featex.ex
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
null
null
null
defmodule Featex do @moduledoc """ Featex keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.9
66
0.751004
1a14fd08063462b12a6d0b852f8cd85bc1a6932d
18,934
ex
Elixir
lib/radixir/crypto.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
16
2022-01-05T20:41:55.000Z
2022-03-25T09:06:43.000Z
lib/radixir/crypto.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
null
null
null
lib/radixir/crypto.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
1
2022-02-10T21:55:26.000Z
2022-02-10T21:55:26.000Z
defmodule Radixir.Crypto do @moduledoc false # @moduledoc """ # The Radixir.Crypto module exposes a subset of functionality from the Erlang `crypto` # module with the goal of making it easier to include strong cryptography in your # Elixir applications. # This module provides functions for symmetric-key cr...
34.48816
122
0.673128
1a1503c9fc2fc82eef34fd13117ee078958d532b
1,935
ex
Elixir
lib/colorstorm/redis.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
lib/colorstorm/redis.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
lib/colorstorm/redis.ex
timrourke/colorstorm-api
fee60a52701a4f773fcd2c8c5c70a472d0d52f09
[ "MIT" ]
null
null
null
defmodule Colorstorm.Redis do # use Supervisor require Logger @reconnect_after_ms 5_000 @redix_opts [:host, :port, :password, :database] # def start_link do # Supervisor.start_link(__MODULE__, []) # end def initialize do state = %{connection_options: [ host: "localhost", port: 6...
26.148649
91
0.658398
1a1511463f142119c874f685dbca6dcaa4b37877
617
ex
Elixir
packages/rlack/api/web/controllers/api/message_controller.ex
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
1
2017-04-08T20:08:05.000Z
2017-04-08T20:08:05.000Z
packages/rlack/api/web/controllers/api/message_controller.ex
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
null
null
null
packages/rlack/api/web/controllers/api/message_controller.ex
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
null
null
null
defmodule Rlack.MessageController do use Rlack.Web, :controller plug Guardian.Plug.EnsureAuthenticated, handler: Rlack.SessionController def index(conn, params) do last_seen_id = params["last_seen_id"] || 0 room = Repo.get!(Rlack.Room, params["room_id"]) page = Rlack.Message |> where([m...
29.380952
111
0.658023
1a1525972cea99788c52365ba12bafdbdd4647cb
12,400
ex
Elixir
lib/mix/lib/mix/task.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/mix/lib/mix/task.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/task.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Task do @moduledoc """ A simple module that provides conveniences for creating, loading and manipulating tasks. A Mix task can be defined by simply using `Mix.Task` in a module starting with `Mix.Tasks.` and defining the `run/1` function: defmodule Mix.Tasks.Echo do use Mix.Tas...
27.015251
96
0.637419
1a15261ac0d2eea8b66d02ca34340b13ac87d733
4,115
ex
Elixir
lib/hedwig_saliva/adapter.ex
cigzigwon/hedwig_saliva
4ee972f896c793acbdf58a513efec850e2bc0d09
[ "MIT" ]
null
null
null
lib/hedwig_saliva/adapter.ex
cigzigwon/hedwig_saliva
4ee972f896c793acbdf58a513efec850e2bc0d09
[ "MIT" ]
null
null
null
lib/hedwig_saliva/adapter.ex
cigzigwon/hedwig_saliva
4ee972f896c793acbdf58a513efec850e2bc0d09
[ "MIT" ]
null
null
null
defmodule Hedwig.Adapters.Saliva do use Hedwig.Adapter require Logger alias HedwigSaliva.{Connection, RTM} defmodule State do defstruct conn: nil, conn_ref: nil, rooms: %{}, groups: %{}, id: nil, name: nil, opts: nil, ...
27.61745
105
0.586634
1a15340283294e8660b69d0bed46e1cc41a95c99
2,161
ex
Elixir
lib/mango_web/controllers/admin/warehouse_item_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
121
2017-06-24T10:33:38.000Z
2022-03-17T16:02:16.000Z
lib/mango_web/controllers/admin/warehouse_item_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
6
2017-06-24T22:48:21.000Z
2018-03-17T01:20:32.000Z
lib/mango_web/controllers/admin/warehouse_item_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
29
2017-07-03T04:09:15.000Z
2022-03-02T15:45:49.000Z
defmodule MangoWeb.Admin.WarehouseItemController do use MangoWeb, :controller alias Mango.Warehouse def index(conn, _params) do warehouse_items = Warehouse.list_warehouse_items() render(conn, "index.html", warehouse_items: warehouse_items) end def new(conn, _params) do changeset = Warehouse.cha...
36.016667
87
0.704304
1a1547b0b52136dbc8f9f2ac58fe38ed18810841
2,166
ex
Elixir
lib/accent/schemas/operation.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/accent/schemas/operation.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/accent/schemas/operation.ex
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.Operation do use Accent.Schema @duplicated_fields [ :action, :key, :text, :conflicted, :value_type, :plural, :locked, :file_index, :file_comment, :removed, :revision_id, :translation_id, :user_id, :batch_operation_id, :document_id, :v...
25.186047
107
0.68144
1a1588531cd258c2e4f22cbfe8ce33ec53659080
465
ex
Elixir
lib/excommerce/themes/theme.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-04-01T19:14:16.000Z
2019-04-01T19:14:16.000Z
lib/excommerce/themes/theme.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
null
null
null
lib/excommerce/themes/theme.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-03-24T01:50:48.000Z
2019-03-24T01:50:48.000Z
defmodule Excommerce.Themes.Theme do use Ecto.Schema import Ecto.Changeset schema "themes" do field :alias, :string field :description, :string field :name, :string has_one :setting, Excommerce.Settings.Setting timestamps() end @doc false def changeset(theme, attrs) do theme ...
20.217391
55
0.675269
1a158a67386da0debffcfabf2fd00db7e5ee0e36
3,078
ex
Elixir
lib/optimus/option.ex
tinfoil/optimus
b79f26a6386bd3007b1ed4f942fc564119e4e301
[ "MIT" ]
null
null
null
lib/optimus/option.ex
tinfoil/optimus
b79f26a6386bd3007b1ed4f942fc564119e4e301
[ "MIT" ]
null
null
null
lib/optimus/option.ex
tinfoil/optimus
b79f26a6386bd3007b1ed4f942fc564119e4e301
[ "MIT" ]
null
null
null
defmodule Optimus.Option do defstruct [ :name, :value_name, :short, :long, :help, :multiple, :required, :default, :parser ] def new(spec) do Optimus.Option.Builder.build(spec) end def parse(option, parsed, command_line) when length(command_line) > 0 do case parse_...
21.985714
108
0.551007
1a15a70a276354723ad4e876cbd740fd6ff307f7
10,813
ex
Elixir
lib/cbl2019/diameter/dia.ex
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
1
2019-03-22T17:10:48.000Z
2019-03-22T17:10:48.000Z
lib/cbl2019/diameter/dia.ex
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
null
null
null
lib/cbl2019/diameter/dia.ex
zoten/cbl2019
3a71b3ea68ef8e80d8ab51dfd52403b6c7849b62
[ "BSD-3-Clause" ]
null
null
null
defmodule Cbl2019.Diameter.Dia do @moduledoc """ This is the module that defines how the application will manage incoming Diameter requests. It loads records from the generic Diameter application, and from the proxy module for the s13 interface """ use GenServer require Logger require Cbl2019.Conf...
31.161383
83
0.664108
1a15b1eeb79343928d771c86aaacde6fd987170d
16,313
ex
Elixir
lib/elixir/unicode/unicode.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/unicode/unicode.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/unicode/unicode.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
# How to update the Unicode files # # 1. Update CompositionExclusions.txt by copying original as is # 2. Update GraphemeBreakProperty.txt by copying original as is # 3. Update SpecialCasing.txt by removing comments and conditional mappings from original # 4. Update WhiteSpace.txt by copying the proper excerpt from Prop...
27.981132
116
0.636731
1a15e6cafe1f440e2af90bf633b21ecf3fb09ef9
242
exs
Elixir
elixir/basics/immutability_test.exs
tardate/LittleCodingKata
25f37f2a422d1f63a7d03b25a7876d6fa707cf7a
[ "MIT" ]
8
2017-06-02T05:12:11.000Z
2022-01-09T02:50:55.000Z
elixir/basics/immutability_test.exs
tardate/LittleCodingKata
25f37f2a422d1f63a7d03b25a7876d6fa707cf7a
[ "MIT" ]
34
2021-03-09T00:55:40.000Z
2022-03-29T05:54:38.000Z
elixir/basics/immutability_test.exs
tardate/LittleCodingKata
25f37f2a422d1f63a7d03b25a7876d6fa707cf7a
[ "MIT" ]
3
2016-06-15T10:13:12.000Z
2022-01-09T02:51:16.000Z
ExUnit.start defmodule ImmutabilityTest do use ExUnit.Case test "capitalize does not modify original string" do name = "elixir" upname = String.capitalize name assert upname == "Elixir" assert name == "elixir" end end
18.615385
54
0.702479
1a15ebf4be4e121b6d14605e845fd78d4e4e8597
427
ex
Elixir
lib/firestorm_web/web/views/api/v1/user_view.ex
abousamra/firestorm
4270774cb6f47be2f6341cfaac62fd44d3d10505
[ "MIT" ]
null
null
null
lib/firestorm_web/web/views/api/v1/user_view.ex
abousamra/firestorm
4270774cb6f47be2f6341cfaac62fd44d3d10505
[ "MIT" ]
null
null
null
lib/firestorm_web/web/views/api/v1/user_view.ex
abousamra/firestorm
4270774cb6f47be2f6341cfaac62fd44d3d10505
[ "MIT" ]
1
2020-03-20T12:58:37.000Z
2020-03-20T12:58:37.000Z
defmodule FirestormWeb.Web.Api.V1.UserView do use FirestormWeb.Web, :view alias FirestormWeb.Forums.User def render("show.json", %User{id: id, username: username, name: name, inserted_at: inserted_at, updated_at: updated_at} = user) do %{ id: id, name: name, username: username, avatar...
26.6875
132
0.676815
1a161bf0a94426bd108f1971b1921547e6e179d3
2,621
exs
Elixir
test/zxcvbn/time_estimates_test.exs
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
2
2018-10-09T20:17:08.000Z
2018-10-18T23:30:49.000Z
test/zxcvbn/time_estimates_test.exs
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
13
2018-10-06T08:03:23.000Z
2019-10-02T18:50:43.000Z
test/zxcvbn/time_estimates_test.exs
ayonix/zxcvbn-ex
ce5f1a9f5ca3b7b17c895fc237e12cdede85da38
[ "MIT" ]
7
2018-10-06T10:14:41.000Z
2019-10-01T09:29:44.000Z
defmodule Zxcvbn.TimeEstimatesTest do use ExUnit.Case alias Zxcvbn.TimeEstimates describe "estimate_attack_times/1" do test "returns exptected" do expected = %{ crack_times_seconds: %{ online_throttling_100_per_hour: 18.175583333333332, online_no_throttling_10_per_second: 6...
35.90411
71
0.659672