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
f743267d9229af5de9222ee84997d4cb78ad14a3
56,774
exs
Elixir
lib/elixir/test/elixir/kernel/expansion_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/expansion_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/expansion_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.ExpansionTarget do defmacro seventeen, do: 17 defmacro bar, do: "bar" end defmodule Kernel.ExpansionTest do use ExUnit.Case, async: false describe "__block__" do test "expands to nil when empty" do assert expand(quote(do: unquote(:__...
25.459193
164
0.531247
f743383c43cf5230c5ca3b67e89e57a5e04fdf7d
3,234
ex
Elixir
lib/advent_of_code/day5.ex
h4cc/adventofcode-2016
0cc75f6238aa90555c395e4d6c5929789756fb53
[ "MIT" ]
null
null
null
lib/advent_of_code/day5.ex
h4cc/adventofcode-2016
0cc75f6238aa90555c395e4d6c5929789756fb53
[ "MIT" ]
null
null
null
lib/advent_of_code/day5.ex
h4cc/adventofcode-2016
0cc75f6238aa90555c395e4d6c5929789756fb53
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Day5 do @input_example "abc" #abc3231929 @input "abbhdwsy" @password_length 8 @chunk_size 100_000 @cores 4 def solve() do @input |> find_password_parallel |> IO.inspect end def solve2() do @input |> find_password_parallel2 |> IO.inspect end defp fi...
26.508197
194
0.53556
f74352a90d99ec467c0adbf6455c3192020425d7
20,982
ex
Elixir
lib/nebulex/caching.ex
boriskohen/nebulex
bd733ceb7c09a46f1a35064ed016acdb4e53aeb3
[ "MIT" ]
null
null
null
lib/nebulex/caching.ex
boriskohen/nebulex
bd733ceb7c09a46f1a35064ed016acdb4e53aeb3
[ "MIT" ]
null
null
null
lib/nebulex/caching.ex
boriskohen/nebulex
bd733ceb7c09a46f1a35064ed016acdb4e53aeb3
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Decorator.Define) do defmodule Nebulex.Caching do @moduledoc """ Declarative annotation-based caching via function [decorators](https://github.com/arjan/decorator). For caching declaration, the abstraction provides three Elixir function decorators: `cacheable `, `cache_evic...
35.62309
130
0.642884
f743d20f3e048e5d81c5a1e4f200cc09f99f3147
1,154
ex
Elixir
lib/excoin/extensions/list/ext.ex
johncosch/excoin
2444d8ea4619013a5da5bb94f92c42e278bbdef4
[ "MIT" ]
1
2016-10-18T23:41:33.000Z
2016-10-18T23:41:33.000Z
lib/excoin/extensions/list/ext.ex
johncosch/excoin
2444d8ea4619013a5da5bb94f92c42e278bbdef4
[ "MIT" ]
null
null
null
lib/excoin/extensions/list/ext.ex
johncosch/excoin
2444d8ea4619013a5da5bb94f92c42e278bbdef4
[ "MIT" ]
1
2016-06-28T21:28:48.000Z
2016-06-28T21:28:48.000Z
defmodule List.Ext do @doc """ Shift takes a list as the first param and the number of records that should be shifted. Returns a tuple with an list containing the values that were removed from the original list and the new list after those values were removed. """ def shift(list, num_to_remove) when num_...
29.589744
97
0.697574
f743d5e45a410de7eb7985b6ae47d98143f43f2e
203
ex
Elixir
lib/phone/gl.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/gl.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/gl.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.GL do @moduledoc false use Helper.Country def regex, do: ~r/^(299)(..)(.{4})/ def country, do: "Greenland" def a2, do: "GL" def a3, do: "GRL" matcher :regex, ["299"] end
15.615385
37
0.596059
f743de91adcdfbacc7065c31eee60ff78996e1f1
907
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/application_gateway_firewall_rule_group.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/application_gateway_firewall_rule_group.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/application_gateway_firewall_rule_group.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Network.Model.ApplicationGatewayFirewallRuleGroup do @moduledoc """ A web application firewall rule group. """ ...
28.34375
117
0.737596
f744033e2753f9f6553e47d88b275d7837347dd4
1,524
exs
Elixir
test/features/admin_edits_post_test.exs
dlederle/tilex
63520eeb013a2a18174de0b6e41e8b99977dbc20
[ "MIT" ]
null
null
null
test/features/admin_edits_post_test.exs
dlederle/tilex
63520eeb013a2a18174de0b6e41e8b99977dbc20
[ "MIT" ]
null
null
null
test/features/admin_edits_post_test.exs
dlederle/tilex
63520eeb013a2a18174de0b6e41e8b99977dbc20
[ "MIT" ]
null
null
null
defmodule AdminEditsPostTest do use Tilex.IntegrationCase, async: Application.get_env(:tilex, :async_feature_test) alias Tilex.Integration.Pages.{ PostForm, PostShowPage } test "fills out form and updates post from post show", %{session: session} do Factory.insert!(:channel, name: "phoenix") d...
26.736842
84
0.64895
f744055877efd205b2fa3bf6aa0776740e0b7200
1,065
ex
Elixir
lib/delta_sharing/profile.ex
instadeq/elixir-delta-sharing-client
9d7b29f842f7310404746747a1299c705d6c0aa3
[ "MIT" ]
2
2021-12-18T19:29:41.000Z
2021-12-18T20:27:10.000Z
lib/delta_sharing/profile.ex
instadeq/elixir-delta-sharing-client
9d7b29f842f7310404746747a1299c705d6c0aa3
[ "MIT" ]
null
null
null
lib/delta_sharing/profile.ex
instadeq/elixir-delta-sharing-client
9d7b29f842f7310404746747a1299c705d6c0aa3
[ "MIT" ]
null
null
null
defmodule DeltaSharing.Profile do alias __MODULE__ @derive {Inspect, except: [:bearerToken]} defstruct path: nil, shareCredentialsVersion: 1, endpoint: "", bearerToken: "" def new(endpoint, bearer_token, path \\ nil, share_credentials_version \\ 1) do %Profile{ path: path, shareCredentialsVers...
25.357143
81
0.56338
f7443709126b49a2c49ad11317ea6c0ff84596c3
1,393
ex
Elixir
lib/bank_account_opening_web/endpoint.ex
viniciusd/bank-account-opening
a36e5c3c8f32e48bf42af958119aef85ff1eeeaa
[ "MIT" ]
null
null
null
lib/bank_account_opening_web/endpoint.ex
viniciusd/bank-account-opening
a36e5c3c8f32e48bf42af958119aef85ff1eeeaa
[ "MIT" ]
null
null
null
lib/bank_account_opening_web/endpoint.ex
viniciusd/bank-account-opening
a36e5c3c8f32e48bf42af958119aef85ff1eeeaa
[ "MIT" ]
null
null
null
defmodule BankAccountWeb.Endpoint do use Phoenix.Endpoint, otp_app: :bank_account_opening # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, ...
29.020833
97
0.719311
f7443b11f9d56cb43bc624505fffb54d4adedc14
446
exs
Elixir
test/test_helper.exs
livinginthepast/ecto_temp
32f57e1aa4b736bdac624376267fdcfa20a3efa0
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
livinginthepast/ecto_temp
32f57e1aa4b736bdac624376267fdcfa20a3efa0
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
livinginthepast/ecto_temp
32f57e1aa4b736bdac624376267fdcfa20a3efa0
[ "Apache-2.0" ]
null
null
null
Logger.configure(level: :info) ExUnit.start() alias EctoTemp.Test.Repo Application.put_env(:ecto, Repo, url: "ecto://postgres@localhost/ecto_temp_test", pool: Ecto.Adapters.SQL.Sandbox ) # Load up the repository, start it, and run migrations _ = Ecto.Adapters.Postgres.storage_down(Repo.config()) Ecto.Adapters.P...
21.238095
54
0.719731
f74441a4c088c7b4304b1c1c85044f932f355e13
461
exs
Elixir
test/places_alloverse_com_web/views/error_view_test.exs
alloverse/places_alloverse_com
5c15ea08a88429378ce8f41047418e166cbde7e9
[ "BSD-2-Clause" ]
null
null
null
test/places_alloverse_com_web/views/error_view_test.exs
alloverse/places_alloverse_com
5c15ea08a88429378ce8f41047418e166cbde7e9
[ "BSD-2-Clause" ]
1
2021-03-10T11:40:47.000Z
2021-03-10T11:40:47.000Z
test/places_alloverse_com_web/views/error_view_test.exs
alloverse/places_alloverse_com
5c15ea08a88429378ce8f41047418e166cbde7e9
[ "BSD-2-Clause" ]
null
null
null
defmodule PlacesAlloverseComWeb.ErrorViewTest do use PlacesAlloverseComWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(PlacesAlloverseComWeb.ErrorView, "404.html", []) == "Not Found" end ...
30.733333
103
0.759219
f7444264521e2e97c769528f914db5177297300e
574
exs
Elixir
mix.exs
henrique-marcomini-movile/docimacy
8571021102408b7526b47170cdbda261bcac6087
[ "Apache-2.0" ]
null
null
null
mix.exs
henrique-marcomini-movile/docimacy
8571021102408b7526b47170cdbda261bcac6087
[ "Apache-2.0" ]
null
null
null
mix.exs
henrique-marcomini-movile/docimacy
8571021102408b7526b47170cdbda261bcac6087
[ "Apache-2.0" ]
null
null
null
defmodule Docimacy.MixProject do use Mix.Project def project do [ app: :docimacy, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_...
19.793103
87
0.578397
f74448000cc8f8e94914267cd4068b218dedb73f
502
ex
Elixir
data/templates/elixir.ex
jjlorenzo/scriptisto
0595ddd4281099e7c9bd74898d75ffbf6c860526
[ "Apache-2.0" ]
213
2019-10-24T23:56:40.000Z
2022-03-23T13:15:55.000Z
data/templates/elixir.ex
jjlorenzo/scriptisto
0595ddd4281099e7c9bd74898d75ffbf6c860526
[ "Apache-2.0" ]
33
2019-10-22T20:08:06.000Z
2022-02-11T11:06:19.000Z
data/templates/elixir.ex
jjlorenzo/scriptisto
0595ddd4281099e7c9bd74898d75ffbf6c860526
[ "Apache-2.0" ]
10
2019-10-25T15:38:56.000Z
2022-01-28T13:03:44.000Z
#!/usr/bin/env scriptisto # scriptisto-begin # script_src: lib/script.ex # build_cmd: MIX_ENV=prod mix escript.build # files: # - path: mix.exs # content: | # defmodule Script.MixProject do # use Mix.Project # def project do # [ # app: :script, # version: "0.1.0", # elixir: "~...
18.592593
44
0.577689
f74453c7a4cd122b4fe22f3dbc696f7bf3753a71
361
exs
Elixir
test/hydra/transformer_test.exs
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
71
2016-01-18T11:30:59.000Z
2021-02-15T04:15:31.000Z
test/hydra/transformer_test.exs
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
7
2016-01-21T22:31:42.000Z
2018-04-06T17:03:59.000Z
test/hydra/transformer_test.exs
doomspork/hydra
641b7c588c2b08ed144d05476118bb165a18a132
[ "Apache-2.0" ]
5
2016-06-13T15:19:27.000Z
2019-12-06T23:07:52.000Z
defmodule Hydra.TransformerTest do use ExUnit.Case, async: true alias Hydra.Transformer @json """ [{ "name": "Sean" }, { "name": "Jeff" }] """ @filter "'.[0]'" @expected_output """ { "name": "Sean" } """ test "transforms JSON" do assert Transformer.transform(@json, @filt...
13.37037
75
0.562327
f7446c22c2d45f9babebf67b35b03813ccae27aa
2,102
exs
Elixir
extended_example/mix.exs
PJUllrich/event-sourcing-with-elixir
7f70e6bc49d9d93f1d86513a1f358e41e07b8304
[ "MIT" ]
19
2020-10-08T14:05:30.000Z
2022-03-18T08:43:11.000Z
extended_example/mix.exs
PJUllrich/event-sourcing-with-elixir
7f70e6bc49d9d93f1d86513a1f358e41e07b8304
[ "MIT" ]
null
null
null
extended_example/mix.exs
PJUllrich/event-sourcing-with-elixir
7f70e6bc49d9d93f1d86513a1f358e41e07b8304
[ "MIT" ]
3
2021-02-19T08:31:58.000Z
2021-12-09T05:28:55.000Z
defmodule Demo.MixProject do use Mix.Project def project do [ app: :demo, version: "0.1.0", build_path: "./_build", config_path: "./config/config.exs", deps_path: "./deps", lockfile: "mix.lock", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), com...
26.948718
84
0.55471
f7446df72f5c03782a98ceb2410eea7eaef4deb4
2,493
exs
Elixir
test/liblink/socket/recvmsg_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
test/liblink/socket/recvmsg_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
test/liblink/socket/recvmsg_test.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 (c) Xerpa # # 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, so...
32.802632
74
0.660249
f74474fa757712d7dd932c5e78986de2e1dd0ff3
5,739
exs
Elixir
test/teslamate/vehicles/vehicle/updating_test.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1
2021-11-03T02:08:43.000Z
2021-11-03T02:08:43.000Z
test/teslamate/vehicles/vehicle/updating_test.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
171
2020-07-08T18:42:57.000Z
2022-03-23T00:55:30.000Z
test/teslamate/vehicles/vehicle/updating_test.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1
2021-03-26T15:46:37.000Z
2021-03-26T15:46:37.000Z
defmodule TeslaMate.Vehicles.Vehicle.UpdatingTest do use TeslaMate.VehicleCase, async: true @tag :capture_log test "logs an update cycle", %{test: name} do now = DateTime.utc_now() now_ts = DateTime.to_unix(now, :millisecond) events = [ {:ok, online_event()}, {:ok, update_event(now_ts - ...
38.006623
99
0.607597
f7448ac96b10fd90155da8ae64926d20ab15557e
2,121
exs
Elixir
config/dev.exs
gildesmarais/website-1
7a19bd98d06a064e52fa279e226002e9c3b986f0
[ "MIT" ]
null
null
null
config/dev.exs
gildesmarais/website-1
7a19bd98d06a064e52fa279e226002e9c3b986f0
[ "MIT" ]
null
null
null
config/dev.exs
gildesmarais/website-1
7a19bd98d06a064e52fa279e226002e9c3b986f0
[ "MIT" ]
null
null
null
import Config # Configure your database config :hierbautberlin, Hierbautberlin.Repo, username: "postgres", password: "postgres", database: "hierbautberlin_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debuggin...
28.28
68
0.702499
f7448d4913ad9d0494c9656be7916ef7360c597c
5,902
ex
Elixir
clients/memcache/lib/google_api/memcache/v1beta2/model/instance.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1beta2/model/instance.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/memcache/lib/google_api/memcache/v1beta2/model/instance.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...
64.152174
479
0.71569
f74495ef8dd4dcd4b8b5a260eb661646c98c3c08
910
ex
Elixir
lib/mock_watcher.ex
mpalmer/elixir_mock
ee939960217f89a2387a294cdac6cd755c8a731c
[ "MIT" ]
25
2017-07-17T03:21:58.000Z
2022-02-12T06:30:33.000Z
lib/mock_watcher.ex
mpalmer/elixir_mock
ee939960217f89a2387a294cdac6cd755c8a731c
[ "MIT" ]
7
2017-04-04T02:10:42.000Z
2017-06-18T00:21:56.000Z
lib/mock_watcher.ex
wanderanimrod/mockex
ee939960217f89a2387a294cdac6cd755c8a731c
[ "MIT" ]
2
2017-10-16T16:00:37.000Z
2021-10-09T05:45:04.000Z
defmodule MockWatcher do @moduledoc false use GenServer def start_link(mock_name) do watcher_name = get_watcher_name_for(mock_name) GenServer.start_link(__MODULE__, %{calls: []}, name: watcher_name) end def init(init_arg) do {:ok, init_arg} end def handle_call({:record_call, fn_name, args}...
25.277778
77
0.685714
f744a6b890d3e3b361ae8eece5bb07dad8115d67
2,994
ex
Elixir
lib/glimesh_web/emails/email.ex
chriscuris/glimesh.tv
e1a78aa763ea5599d045fdfa65237b94fbb28a23
[ "MIT" ]
null
null
null
lib/glimesh_web/emails/email.ex
chriscuris/glimesh.tv
e1a78aa763ea5599d045fdfa65237b94fbb28a23
[ "MIT" ]
null
null
null
lib/glimesh_web/emails/email.ex
chriscuris/glimesh.tv
e1a78aa763ea5599d045fdfa65237b94fbb28a23
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.Emails.Email do use Bamboo.Phoenix, view: GlimeshWeb.EmailView alias Glimesh.Accounts.User alias Glimesh.Streams.Channel alias Glimesh.Streams.Stream alias GlimeshWeb.Router.Helpers, as: Routes import Bamboo.Email def user_base_email do new_email() |> put_html_layout({Glime...
28.245283
99
0.644623
f744bab4106f89d95bfe0c770df1918b858390ac
1,105
ex
Elixir
lib/mix/tasks/h3_geojson_to_db.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
32
2021-04-22T01:55:31.000Z
2022-02-25T13:17:21.000Z
lib/mix/tasks/h3_geojson_to_db.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
58
2021-06-04T18:42:59.000Z
2022-03-31T07:17:01.000Z
lib/mix/tasks/h3_geojson_to_db.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
13
2021-04-10T06:09:15.000Z
2022-03-23T13:07:37.000Z
defmodule Mix.Tasks.H3GeojsonToDb do use Mix.Task @shortdoc "Sync Mappers Opt In State on Console with Database" def run(_) do # start our application Mix.Task.run("app.start") features = getFeatures() # Enum.each(features.geometries, &IO.inspect/1) # Kernel.inspect(:h3.from_geo(Enum.at(Enu...
27.625
85
0.602715
f744bd20c1fc411c431ff6c91d09d734b6f8e8a1
155
exs
Elixir
.formatter.exs
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
30
2021-02-05T18:50:38.000Z
2022-03-12T22:42:29.000Z
.formatter.exs
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
19
2021-01-15T19:14:24.000Z
2022-02-05T14:57:18.000Z
.formatter.exs
justin-m-morgan/surface_bulma
c31faebc818c39d06250574b913096504bd6eeec
[ "MIT" ]
17
2021-02-01T20:57:51.000Z
2022-03-20T17:06:57.000Z
[ import_deps: [:phoenix, :surface, :ecto], inputs: [ "{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}", "priv/catalogue/**" ] ]
17.222222
43
0.522581
f744fbc332b054bef6807924c44a90b9eec82abf
210
exs
Elixir
test/phoenix_hello_web/controllers/page_controller_test.exs
haojiwu/phoenix_hello
aee3d40a018e73b24767de1be5692a9cd9cf2017
[ "MIT" ]
6
2019-06-11T22:16:47.000Z
2021-05-19T10:32:58.000Z
test/phoenix_hello_web/controllers/page_controller_test.exs
haojiwu/phoenix_hello
aee3d40a018e73b24767de1be5692a9cd9cf2017
[ "MIT" ]
2
2021-08-22T19:41:42.000Z
2021-12-16T15:26:14.000Z
test/phoenix_hello_web/controllers/page_controller_test.exs
haojiwu/phoenix_hello
aee3d40a018e73b24767de1be5692a9cd9cf2017
[ "MIT" ]
16
2019-06-12T19:39:41.000Z
2022-03-26T07:34:44.000Z
defmodule PhoenixHelloWeb.PageControllerTest do use PhoenixHelloWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23.333333
60
0.695238
f7450363899dc478873d73830d407553a255a02d
8,719
ex
Elixir
apps/ewallet_db/lib/ewallet_db/token.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/lib/ewallet_db/token.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/lib/ewallet_db/token.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
27.07764
97
0.635279
f74517fc0cabf4d35aa35f934abf2e78d148fadd
724
ex
Elixir
lib/crawly/pipeline.ex
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
1
2020-10-02T18:33:23.000Z
2020-10-02T18:33:23.000Z
lib/crawly/pipeline.ex
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
lib/crawly/pipeline.ex
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
defmodule Crawly.Pipeline do @moduledoc """ A behavior module for implementing a pipeline module A pipeline is a module which takes a given item, and executes a run callback on a given item. A state argument is used to share common information accros multiple items. An `opts` argument is used to pass c...
32.909091
100
0.640884
f74525371b5b8ab536023ea47410bcfb7b32dd94
984
ex
Elixir
2017/elixir/day20/lib/viz.ex
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
null
null
null
2017/elixir/day20/lib/viz.ex
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
null
null
null
2017/elixir/day20/lib/viz.ex
zakora/elixir-aoc2017
216e92cef370081cc0792102e0b40dd3a518d8bf
[ "Unlicense" ]
null
null
null
defmodule Viz do @regex ~r/p=<(-?\d+),(-?\d+),(-?\d+)>, v=<(-?\d+),(-?\d+),(-?\d+)>, a=<(-?\d+),(-?\d+),(-?\d+)>/ def run(filename, n) do particules = filename |> File.stream!([:utf8], :line) |> Enum.map(&parse_line/1) out(particules, n) end def parse_line(line) do Regex.run(@rege...
21.866667
98
0.474593
f7452a89c116b4e945e41511cfff41fd3f4cf544
470
ex
Elixir
lib/salty/stream.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
23
2017-07-04T19:29:43.000Z
2021-02-16T19:44:38.000Z
lib/salty/stream.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
16
2017-08-13T15:31:25.000Z
2019-06-19T14:44:13.000Z
lib/salty/stream.ex
benknowles/libsalty
38a10812865cb855bfa46cf266bb68d51a296f39
[ "Apache-2.0" ]
19
2017-08-10T19:01:49.000Z
2021-06-20T01:34:59.000Z
defmodule Salty.Stream do defmacro __using__(_opts) do quote do @behaviour Salty.Stream alias Salty.Nif, as: C end end def primitive do Salty.Stream.Xsalsa20 end @callback noncebytes() :: non_neg_integer() @callback keybytes() :: non_neg_integer() @callback stream(pos_integer()...
21.363636
91
0.634043
f74532a457306a4cd8e5a91dbddcf25a602091ac
421
ex
Elixir
lib/hl7/2.5/segments/aff.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/aff.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/aff.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.AFF do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, set_id_aff: nil, professional_organization: DataTypes.Xon, professional_organization_address: DataTypes.Xad, professional_organization_affili...
24.764706
69
0.743468
f7458d73fff756632c1987a1a9a0fb926ea825ec
2,654
ex
Elixir
elixir/epi_book/lib/chapter_9/binary_search_tree.ex
wtfleming/data-structures-and-algorithms
f3d55b6642ee0219606c65ac6f1f8c5b402bdf70
[ "MIT" ]
null
null
null
elixir/epi_book/lib/chapter_9/binary_search_tree.ex
wtfleming/data-structures-and-algorithms
f3d55b6642ee0219606c65ac6f1f8c5b402bdf70
[ "MIT" ]
null
null
null
elixir/epi_book/lib/chapter_9/binary_search_tree.ex
wtfleming/data-structures-and-algorithms
f3d55b6642ee0219606c65ac6f1f8c5b402bdf70
[ "MIT" ]
null
null
null
defmodule Chapter9.BinarySearchTree do defstruct [:value, :left, :right] alias Chapter9.BinarySearchTree, as: BST @type t :: %BST{value: number, left: BST.t, right: BST.t} | :empty_node @spec new() :: :empty_node def new(), do: :empty_node @spec insert(BST.t, number) :: BST.t def insert(:empty_node, va...
30.505747
104
0.64318
f7458fad81fd8d89db589d6f282393c1fb057e37
282
exs
Elixir
test/price_register_web/views/layout_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
4
2021-03-09T19:35:37.000Z
2022-03-20T23:31:19.000Z
test/price_register_web/views/layout_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
null
null
null
test/price_register_web/views/layout_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
null
null
null
defmodule PriceRegisterWeb.LayoutViewTest do use PriceRegisterWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
31.333333
65
0.776596
f745b55cab6cf36f57864cbcd9df387320415b10
1,685
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_return_line_item_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/content/lib/google_api/content/v2/model/orders_return_line_item_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_return_line_item_response.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 ...
33.7
192
0.738872
f745bf3a0a8fd6872712388c2af382d87bac5d89
2,985
ex
Elixir
test/support/mocker_server.ex
kintu-games/elidactyl
2d95694ef4a85c72e962379d8d12fc08bd8352ac
[ "MIT" ]
null
null
null
test/support/mocker_server.ex
kintu-games/elidactyl
2d95694ef4a85c72e962379d8d12fc08bd8352ac
[ "MIT" ]
null
null
null
test/support/mocker_server.ex
kintu-games/elidactyl
2d95694ef4a85c72e962379d8d12fc08bd8352ac
[ "MIT" ]
null
null
null
defmodule Elidactyl.MockedServer do @moduledoc false alias Elidactyl.MockedServer.Router alias Elidactyl.MockedServer.Factory alias Elidactyl.MockedServer.ExternalSchema.List, as: ExternalList alias Elidactyl.MockedServer.ExternalSchema.NullResource @objs ~w[server database nest egg egg_variable user serv...
31.09375
114
0.654941
f745cfaa664da945b0963308401eb98037b0deea
298
exs
Elixir
config/config.exs
maennchen/cldr_messages
eef6d643e705ba3ecd8b6bb6ce56377c0e036f7f
[ "Apache-2.0" ]
6
2019-06-09T11:55:49.000Z
2021-08-24T07:58:32.000Z
config/config.exs
maennchen/cldr_messages
eef6d643e705ba3ecd8b6bb6ce56377c0e036f7f
[ "Apache-2.0" ]
10
2020-11-14T00:29:20.000Z
2022-01-18T21:19:59.000Z
config/config.exs
maennchen/cldr_messages
eef6d643e705ba3ecd8b6bb6ce56377c0e036f7f
[ "Apache-2.0" ]
6
2020-02-12T11:37:47.000Z
2022-01-03T14:36:52.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. import Config config :ex_cldr, default_backend: MyApp.Cldr, default_locale: "en" config :ex_money, default_cldr_backend: MyApp.Cldr config :ex_doc, pure_links: true
21.285714
61
0.778523
f745e6ffb8c78cbd48d85cd663a91b3afab85b2d
38,579
ex
Elixir
lib/elixir/lib/code.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
1
2019-05-07T12:01:44.000Z
2019-05-07T12:01:44.000Z
lib/elixir/lib/code.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
defmodule Code do @moduledoc """ Utilities for managing code compilation, code evaluation, and code loading. This module complements Erlang's [`:code` module](http://www.erlang.org/doc/man/code.html) to add behaviour which is specific to Elixir. Almost all of the functions in this module have global side eff...
33.517811
145
0.689131
f745e99fb8d5dccb3701cef03d72a017784a9bb6
316
exs
Elixir
apps/commuter_rail_boarding/test/uploader_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2022-01-30T20:53:07.000Z
2022-01-30T20:53:07.000Z
apps/commuter_rail_boarding/test/uploader_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
47
2021-05-05T10:31:05.000Z
2022-03-30T22:18:14.000Z
apps/commuter_rail_boarding/test/uploader_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
1
2021-05-14T00:35:08.000Z
2021-05-14T00:35:08.000Z
defmodule UploaderTest do @moduledoc false use ExUnit.Case, async: true import Uploader describe "upload/1" do test "uploads a binary" do assert :ok = upload("filename", "binary") # message received from Uploader.Mock assert_received {:upload, "filename", "binary"} end end end
21.066667
53
0.674051
f7460df4c84c939db2126e9f389a2babab941ad3
729
ex
Elixir
lib/hologram/template/parser.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/template/parser.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/template/parser.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Template.Parser do alias Hologram.Template.{DOMTreeBuilder, TagAssembler, Tokenizer} def parse!(markup) do context = %{ attrs: [], attr_key: nil, double_quote_opened?: 0, num_open_braces: 0, prev_tokens: [], tag_name: nil, token_buffer: [] } ...
22.090909
67
0.603567
f7465d7b549440c0b65b966dabaff3860d54bac9
350
ex
Elixir
lib/data_providers/ecto_provider/context_role.ex
Simon-Initiative/lti_1p3_ecto_provider
15b84b35aa2de266a5199bfab73cf339220e2b87
[ "MIT" ]
null
null
null
lib/data_providers/ecto_provider/context_role.ex
Simon-Initiative/lti_1p3_ecto_provider
15b84b35aa2de266a5199bfab73cf339220e2b87
[ "MIT" ]
null
null
null
lib/data_providers/ecto_provider/context_role.ex
Simon-Initiative/lti_1p3_ecto_provider
15b84b35aa2de266a5199bfab73cf339220e2b87
[ "MIT" ]
null
null
null
defmodule Lti_1p3.DataProviders.EctoProvider.ContextRole do use Ecto.Schema import Ecto.Changeset schema "lti_1p3_context_roles" do field :uri, :string end @doc false def changeset(context_role, attrs \\ %{}) do context_role |> cast(attrs, [:uri]) |> validate_required([:uri]) |> unique...
18.421053
59
0.688571
f74662f9ab50a733909a397ee51f3e83348414fe
2,046
ex
Elixir
clients/jobs/lib/google_api/jobs/v2/model/delete_jobs_by_filter_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v2/model/delete_jobs_by_filter_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v2/model/delete_jobs_by_filter_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.117647
264
0.753177
f746925c64d2c83839209f8116095715805531cb
628
ex
Elixir
lib/tentacat/repositories/contents.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
432
2015-01-19T20:38:35.000Z
2022-01-11T14:32:28.000Z
lib/tentacat/repositories/contents.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
183
2015-01-19T08:55:29.000Z
2022-03-01T20:26:03.000Z
lib/tentacat/repositories/contents.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
189
2015-01-04T14:56:59.000Z
2021-12-14T20:48:18.000Z
defmodule Tentacat.Repositories.Contents do import Tentacat alias Tentacat.Client @doc """ Gets the contents of a file or directory in a repository. ## Example Tentacat.Repositories.Contents.content "elixir-lang", "elixir", "CHANGELOG.md" Tentacat.Repositories.Contents.content client, "elixir-l...
31.4
92
0.702229
f746b209856c66ea8314abdd82f99e7e173255e9
2,425
exs
Elixir
deps/phoenix/priv/templates/phoenix.gen.json/controller_test.exs
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
deps/phoenix/priv/templates/phoenix.gen.json/controller_test.exs
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
deps/phoenix/priv/templates/phoenix.gen.json/controller_test.exs
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
defmodule <%= module %>ControllerTest do use <%= base %>.ConnCase alias <%= module %> @valid_attrs <%= inspect params %> @invalid_attrs %{} setup do conn = conn() |> put_req_header("accept", "application/json") {:ok, conn: conn} end test "lists all entries on index", %{conn: conn} do conn =...
39.112903
106
0.602887
f746c685e1603c5d327427a12031373e7a1af9f1
1,526
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_row.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_row.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_row.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.468085
119
0.742464
f746fbd7391170731dad72574e45b7a907341eba
1,430
exs
Elixir
bench/sfsobject_decode_bench.exs
splattael/sfsobject
220c696ede7dbc66bd81530861122a83427e7a9d
[ "MIT" ]
2
2020-05-04T16:08:39.000Z
2020-07-19T18:46:02.000Z
bench/sfsobject_decode_bench.exs
neopoly/sfsobject
220c696ede7dbc66bd81530861122a83427e7a9d
[ "MIT" ]
null
null
null
bench/sfsobject_decode_bench.exs
neopoly/sfsobject
220c696ede7dbc66bd81530861122a83427e7a9d
[ "MIT" ]
null
null
null
defmodule SFSObject.DecodeBench do use Benchfella @empty SFSObject.new @sfsobject @empty @data SFSObject.encode(@sfsobject) bench "decode empty" do SFSObject.decode(@data) end @sfsobject @empty |> SFSObject.put_null("a") @data SFSObject.encode(@sfsobject) bench "decode null" do SFSObject.de...
25.087719
67
0.670629
f7470542130280f3f326fa6b64a9bbc11bae8307
93
ex
Elixir
test/examples/basic/string.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
75
2021-11-17T11:55:13.000Z
2022-03-28T04:35:04.000Z
test/examples/basic/string.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
48
2021-11-15T13:56:14.000Z
2022-03-31T15:55:47.000Z
test/examples/basic/string.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
6
2021-12-22T20:41:27.000Z
2022-03-09T09:07:38.000Z
defmodule Basic.String do def string, do: "abc" def string_block do "abc" end end
11.625
25
0.666667
f747075797085f6dcff5d9b518eb578e74bae4dc
1,670
exs
Elixir
lib/perspective/event_chain/page_buffer/tests/page_buffer_state_test.exs
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
2
2020-04-24T19:43:06.000Z
2020-04-24T19:52:27.000Z
lib/perspective/event_chain/page_buffer/tests/page_buffer_state_test.exs
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
lib/perspective/event_chain/page_buffer/tests/page_buffer_state_test.exs
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
defmodule Perspective.EventChain.PageBuffer.State.Test do use ExUnit.Case, async: true alias Perspective.EventChain.PageBuffer.State test "new" do assert %State{events: []} == State.new() end test "add" do result = State.new() |> State.add(%{some: :event}) assert %State{events: [%{s...
24.558824
84
0.613174
f7471d3757bd3a045a3399dbec9747e111885222
1,623
ex
Elixir
samples/client/petstore/elixir/lib/openapi_petstore/model/additional_properties_class.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
4
2020-07-24T07:02:57.000Z
2022-01-08T17:37:38.000Z
samples/client/petstore/elixir/lib/openapi_petstore/model/additional_properties_class.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
10
2019-06-28T09:01:45.000Z
2022-02-26T12:19:16.000Z
samples/client/petstore/elixir/lib/openapi_petstore/model/additional_properties_class.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
2
2020-04-24T15:18:41.000Z
2021-12-07T09:39:40.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule OpenapiPetstore.Model.AdditionalPropertiesClass do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"map_string", :"map_nu...
32.46
91
0.640173
f74736cf099a47c2b33d06758fc92086f5de30da
496
ex
Elixir
lib/leetcode/defanging_ip_address.ex
ornj/leetcode_ex
a2245c6d7eece967fd095c296d7b5b10120632fd
[ "Unlicense" ]
null
null
null
lib/leetcode/defanging_ip_address.ex
ornj/leetcode_ex
a2245c6d7eece967fd095c296d7b5b10120632fd
[ "Unlicense" ]
null
null
null
lib/leetcode/defanging_ip_address.ex
ornj/leetcode_ex
a2245c6d7eece967fd095c296d7b5b10120632fd
[ "Unlicense" ]
null
null
null
defmodule Leetcode.DefangingIpAddress do @moduledoc """ Given a valid (IPv4) IP address, return a defanged version of that IP address. A defanged IP address replaces every period "." with "[.]". Example 1: Input: address = "1.1.1.1" Output: "1[.]1[.]1[.]1" Example 2: Input: address = "255.100.50.0"...
21.565217
80
0.643145
f74738b39f690ae3cab1aa631f467fa0d0a15a5c
176
exs
Elixir
apps/frontend/config/dev.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/frontend/config/dev.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/frontend/config/dev.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
use Mix.Config config :frontend, Frontend.Endpoint, debug_errors: true, code_reloader: true, check_origin: false, watchers: [] config :phoenix, :stacktrace_depth, 20
17.6
38
0.744318
f74749a729efcf0570de953ba53c935fa8e27fd3
40,270
ex
Elixir
lib/ecto/adapters/myxql/connection.ex
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/myxql/connection.ex
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/myxql/connection.ex
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
if Code.ensure_loaded?(MyXQL) do defmodule Ecto.Adapters.MyXQL.Connection do @moduledoc false @behaviour Ecto.Adapters.SQL.Connection ## Connection @impl true def child_spec(opts) do MyXQL.child_spec(opts) end ## Query @impl true def prepare_execute(conn, name, sql, param...
36.214029
135
0.602682
f7475871047c656ba4b25f1419a289a76905c08f
1,912
ex
Elixir
test/support/cluster.ex
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
845
2017-02-14T14:16:11.000Z
2022-03-30T04:13:08.000Z
test/support/cluster.ex
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
146
2017-04-29T16:11:14.000Z
2022-03-29T08:49:05.000Z
test/support/cluster.ex
alexandrubagu/nebulex
c8870a91644545f7a10a6af825ef6822a40fadf4
[ "MIT" ]
50
2017-08-17T13:44:06.000Z
2022-03-30T11:29:59.000Z
defmodule Nebulex.Cluster do @moduledoc """ Taken from `Phoenix.PubSub.Cluster`. Copyright (c) 2014 Chris McCord """ def spawn(nodes) do # Turn node into a distributed node with the given long name _ = :net_kernel.start([:"primary@127.0.0.1"]) # Allow spawned nodes to fetch all code from this no...
27.314286
98
0.660042
f7476e8f097539f538d147eac4813c20dd7e9d41
1,733
ex
Elixir
lib/pacman/engine.ex
zampino/pacman
889080e26054dd04aa9e3ef5f7971d408a698a86
[ "MIT" ]
null
null
null
lib/pacman/engine.ex
zampino/pacman
889080e26054dd04aa9e3ef5f7971d408a698a86
[ "MIT" ]
null
null
null
lib/pacman/engine.ex
zampino/pacman
889080e26054dd04aa9e3ef5f7971d408a698a86
[ "MIT" ]
null
null
null
defmodule Pacman.Engine do @doc "the main animation loop changes states of the pacman's world" def main(world, outs) do catch_exit event = fetch_event {world, outs} = react_on_event(world, outs, event) world = Pacman.World.move_pacmans(world) Enum.each outs, &(send_state(&1, world)) :timer....
24.757143
74
0.66532
f747811a24828fa46b9612ae945d7114a7337e69
2,913
ex
Elixir
lib/xcribe/conn_parser.ex
brainn-co/xcribe
06e66df0ac28d5b3e525f54bc52ed21722701a06
[ "Apache-2.0" ]
30
2019-12-17T20:09:41.000Z
2021-01-11T13:58:24.000Z
lib/xcribe/conn_parser.ex
Finbits/xcribe
37f4195315e27e415212910f0219c68d96a16d4a
[ "Apache-2.0" ]
36
2019-12-17T20:32:04.000Z
2020-12-02T17:50:49.000Z
lib/xcribe/conn_parser.ex
Finbits/xcribe
37f4195315e27e415212910f0219c68d96a16d4a
[ "Apache-2.0" ]
3
2020-02-21T18:13:59.000Z
2020-10-20T07:59:05.000Z
defmodule Xcribe.ConnParser do @moduledoc false alias Plug.Conn alias Xcribe.{Config, Request, Request.Error} @error_struct %Error{type: :parsing} @doc """ Parse the given `Plug.Conn` and transform it to a `Xcribe.Request`. A description can be provided. If any error occurs a `Xcribe.Request.Error` ...
30.989362
96
0.680055
f747999abf839593aebc3c272fb267b0c8b0152a
2,061
ex
Elixir
lib/type_check/type_error.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
lib/type_check/type_error.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
lib/type_check/type_error.ex
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
defmodule TypeCheck.TypeError do @moduledoc """ Exception to be returned or raised when a value is not of the expected type. This exception has two fields: - `:raw`, which will contain the problem tuple of the type check failure. - `:message`, which will contain a the humanly-readable representation of the ...
35.534483
113
0.719554
f747d18abcc2676366eedd4541769c8f6c2e3706
2,733
exs
Elixir
test/election_web/controllers/vote_controller_test.exs
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
test/election_web/controllers/vote_controller_test.exs
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
test/election_web/controllers/vote_controller_test.exs
manojsamanta/election
e4eca4f2813011954d08eb04d057f84a9f6bda90
[ "MIT" ]
null
null
null
defmodule ElectionWeb.VoteControllerTest do use ElectionWeb.ConnCase alias Election.Voting @create_attrs %{v_2014: true, v_2016: true, v_2018: true, v_2020: true} @update_attrs %{v_2014: false, v_2016: false, v_2018: false, v_2020: false} @invalid_attrs %{v_2014: nil, v_2016: nil, v_2018: nil, v_2020: nil} ...
30.707865
83
0.652397
f747f07da2f4228ef83c1ccfcf5f5ace523d2afe
670
exs
Elixir
episode24/your_app/mix.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode24/your_app/mix.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
episode24/your_app/mix.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule YourApp.Mixfile do use Mix.Project def project do [app: :your_app, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for m...
20.30303
77
0.607463
f7482604635ce8f75b5aa45190ab26f08f6d9e17
2,566
exs
Elixir
test/commands/core_test.exs
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
3
2018-07-01T05:31:02.000Z
2019-08-03T04:11:32.000Z
test/commands/core_test.exs
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
8
2018-06-28T07:30:04.000Z
2018-07-13T07:36:56.000Z
test/commands/core_test.exs
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
null
null
null
defmodule CoreTest do use ExUnit.Case, async: true import Mox alias Wand.CLI.Commands.Core alias Wand.CLI.Executor.Result alias Wand.Test.Helpers describe "validate" do test "returns help if nothing is passed in" do assert Core.validate(["core"]) == {:error, :wrong_command} end test "ret...
27.297872
90
0.627825
f7484ec1fcaf217a0ff1d4949a0f518830232424
7,587
ex
Elixir
lib/teslamate/vehicles/vehicle/summary.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1
2021-11-03T02:08:43.000Z
2021-11-03T02:08:43.000Z
lib/teslamate/vehicles/vehicle/summary.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
170
2020-07-27T05:57:31.000Z
2022-03-01T04:05:16.000Z
lib/teslamate/vehicles/vehicle/summary.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
null
null
null
defmodule TeslaMate.Vehicles.Vehicle.Summary do import TeslaMate.Convert, only: [miles_to_km: 2, mph_to_kmh: 1] alias TeslaApi.Vehicle.State.{Drive, Charge, VehicleState} alias TeslaApi.Vehicle alias TeslaMate.Log.Car defstruct ~w( car display_name state since healthy latitude longitude heading battery_...
38.907692
107
0.702122
f748531ec48e3b1ab7268314e68230f5b5f39d7e
152
ex
Elixir
lib/simple_budget_web/views/token_view.ex
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
2
2019-04-02T01:06:40.000Z
2019-05-13T01:12:24.000Z
lib/simple_budget_web/views/token_view.ex
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
7
2018-12-27T12:33:38.000Z
2021-03-08T22:31:14.000Z
lib/simple_budget_web/views/token_view.ex
corybuecker/simple-budget
d86241ff712552267da87052120468b01d2b8f41
[ "MIT" ]
null
null
null
defmodule SimpleBudgetWeb.TokenView do use SimpleBudgetWeb, :view def render("create.json", %{token: token}) do %{localtoken: token} end end
19
47
0.717105
f74865d707b4b72e982d960a0c0d353f0692e07f
3,086
exs
Elixir
test/central_web/controllers/config/user_config_controller_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
test/central_web/controllers/config/user_config_controller_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
test/central_web/controllers/config/user_config_controller_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule CentralWeb.Config.UserConfigControllerTest do use CentralWeb.ConnCase alias Central.Config alias Central.Helpers.GeneralTestLib setup do GeneralTestLib.conn_setup(~w()) end @key "general.Homepage" describe "listing" do test "index", %{conn: conn} do conn = get(conn, Routes.user...
27.801802
87
0.589436
f7487a5ef05835753ef79f2d01edbe06bc3919ba
20,857
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/api/variants.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/api/variants.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/api/variants.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
50.623786
3,006
0.652203
f7487c461ea89716c3963bc8bb944c9996c0c405
1,530
ex
Elixir
lib/protobuf/protoc/generator/service.ex
tony612/protobuf-elixir
7e7a0f2380d0bb851507d6451ce3688db4e978ae
[ "MIT" ]
419
2017-04-02T13:10:51.000Z
2020-11-15T15:53:17.000Z
lib/protobuf/protoc/generator/service.ex
tony612/protobuf-elixir
7e7a0f2380d0bb851507d6451ce3688db4e978ae
[ "MIT" ]
100
2017-04-02T14:26:41.000Z
2020-11-10T23:43:30.000Z
lib/protobuf/protoc/generator/service.ex
tony612/protobuf-elixir
7e7a0f2380d0bb851507d6451ce3688db4e978ae
[ "MIT" ]
83
2017-07-24T21:50:04.000Z
2020-11-15T08:52:34.000Z
defmodule Protobuf.Protoc.Generator.Service do @moduledoc false alias Protobuf.Protoc.Context alias Protobuf.Protoc.Generator.Util require EEx EEx.function_from_file( :defp, :service_template, Path.expand("./templates/service.ex.eex", :code.priv_dir(:protobuf)), [:assigns] ) @spec gene...
27.818182
98
0.679739
f748972f040eebbc6610129c19cc771bebcee7c5
1,709
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/update_release_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/update_release_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/update_release_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...
34.18
111
0.739029
f748afc0597b1cba73fb6db82cdb1cc5b933f162
30,335
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/node_templates.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/node_templates.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/node_templates.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...
49.729508
511
0.643086
f748e4ce60d0071ab620eabbd1726b748edc6a84
1,394
exs
Elixir
mix.exs
DriesDeBackker/quarp-reactivity
88e297818df4c9fd85af0c14dabe5edc4788ffd4
[ "MIT" ]
3
2019-07-18T12:43:25.000Z
2020-11-26T00:28:26.000Z
mix.exs
DriesDeBackker/quarp-reactivity
88e297818df4c9fd85af0c14dabe5edc4788ffd4
[ "MIT" ]
null
null
null
mix.exs
DriesDeBackker/quarp-reactivity
88e297818df4c9fd85af0c14dabe5edc4788ffd4
[ "MIT" ]
null
null
null
defmodule Quarp.MixProject do use Mix.Project def project do [ app: :quarp, version: "1.2.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), source_url: "https://github.com/DriesDeBackker/quarp...
28.44898
148
0.625538
f748f1a3d03a162d47ba5239fa5c61bda88ab17f
1,109
ex
Elixir
lib/ex_admin/changeset.ex
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
lib/ex_admin/changeset.ex
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
lib/ex_admin/changeset.ex
erikmueller/ex_admin
af8f3e23a03148d8365cc3b71286f855fb919f8c
[ "MIT" ]
null
null
null
defmodule ExAdmin.Changeset do @moduledoc false alias __MODULE__, as: Cs defstruct valid?: true, changeset: nil, errors: nil, dependents: [] def update(%Cs{} = r, items) when is_list(items) do Enum.reduce(items, r, fn({k,v}, acc) -> update(acc, k, v) end) end def update(%Cs{} = r, :changeset, changeset...
29.184211
72
0.628494
f74944ddfaccf0b8f773624a2a2c4026b0f743a6
509
ex
Elixir
lib/central/logging/lib/logging_lib.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central/logging/lib/logging_lib.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central/logging/lib/logging_lib.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule Central.Logging.LoggingLib do import Plug.Conn, only: [assign: 3] @spec colours() :: {String.t(), String.t(), String.t()} def colours(), do: {"#666", "#EEE", "default"} @spec icon() :: String.t() def icon(), do: "far fa-bars" @spec do_not_log(Plug.Conn.t()) :: Plug.Conn.t() def do_not_log(con...
28.277778
80
0.636542
f7494ca8b70a3cc1f1433d040782ba2899d119c1
2,386
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/create_collectd_time_series_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/create_collectd_time_series_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/create_collectd_time_series_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...
45.018868
351
0.750629
f749543145793dc2bcc3225284b721e4da889ce3
5,058
ex
Elixir
lib/couchdb_client.ex
joaohelio/elixir-couchdb-client
de29900f3383db3ac42ff4c8aa17e744369648a9
[ "MIT" ]
5
2015-11-24T15:15:32.000Z
2019-03-03T14:03:39.000Z
lib/couchdb_client.ex
joaohelio/elixir-couchdb-client
de29900f3383db3ac42ff4c8aa17e744369648a9
[ "MIT" ]
null
null
null
lib/couchdb_client.ex
joaohelio/elixir-couchdb-client
de29900f3383db3ac42ff4c8aa17e744369648a9
[ "MIT" ]
3
2015-11-30T13:02:19.000Z
2019-09-09T21:05:14.000Z
defmodule CouchdbClient do @vsn "0.2.3" @moduledoc """ This module conveniently interfaces/proxies - CouchdbClient.Repository - CouchdbClient.Database - CouchdbClient.Document - CouchdbClient.Attachment to provide easy access to a CouchDB instance. It will collect ...
33.276316
97
0.6121
f74966d353dfa0c26f968aefc8f186b75ecb7c8b
5,627
ex
Elixir
lib/cased/event.ex
cased/cased-elixir
a19a4c5d6dec3374c1067a908b357db798cfb2c8
[ "MIT" ]
3
2021-02-06T01:41:33.000Z
2021-07-09T21:19:06.000Z
lib/cased/event.ex
cased/cased-elixir
a19a4c5d6dec3374c1067a908b357db798cfb2c8
[ "MIT" ]
1
2021-07-09T20:34:35.000Z
2021-07-09T20:35:29.000Z
lib/cased/event.ex
cased/cased-elixir
a19a4c5d6dec3374c1067a908b357db798cfb2c8
[ "MIT" ]
2
2021-03-05T22:52:16.000Z
2021-03-18T13:18:30.000Z
defmodule Cased.Event do @moduledoc """ Data modeling a Cased audit event. """ import Norm defstruct [:audit_trail, :id, :url, :data, :published_at, :processed_at] @type t :: %__MODULE__{ audit_trail: Cased.AuditTrail.t(), id: String.t(), url: String.t(), published_...
29.307292
123
0.601386
f7496bbae25422501fbfcbfd4971fe6e52809943
1,341
ex
Elixir
apps/crm/lib/crm.ex
jdambron/phoenix_crm
6d17280e3a6655990840f4714a338f58b7d0c756
[ "MIT" ]
null
null
null
apps/crm/lib/crm.ex
jdambron/phoenix_crm
6d17280e3a6655990840f4714a338f58b7d0c756
[ "MIT" ]
1
2020-04-06T07:42:36.000Z
2020-04-06T07:42:36.000Z
apps/crm/lib/crm.ex
jdambron/phoenix_crm
6d17280e3a6655990840f4714a338f58b7d0c756
[ "MIT" ]
null
null
null
defmodule Crm do alias Crm.{Contact, Update, Group} @repo Crm.Repo def list_contacts do @repo.all(Contact) end def insert_contact(%{"group" => group_id} = attrs) do group = Crm.get_group(group_id) %Contact{} |> Contact.changeset(attrs, group) |> @repo.insert() end def insert_update...
24.381818
77
0.649515
f749703809c17842fa2dc16cfbe301024d0547cb
12,311
ex
Elixir
lib/stripe/core_resources/payment_intent.ex
dkulchenko/stripity_stripe
88deb5a1dffe39aa391dadf5f6cf143c5220a9a6
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/core_resources/payment_intent.ex
dkulchenko/stripity_stripe
88deb5a1dffe39aa391dadf5f6cf143c5220a9a6
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/core_resources/payment_intent.ex
dkulchenko/stripity_stripe
88deb5a1dffe39aa391dadf5f6cf143c5220a9a6
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.PaymentIntent do @moduledoc """ Work with [Stripe `payment_intent` objects](https://stripe.com/docs/api/payment_intents). You can: - [Create a payment_intent](https://stripe.com/docs/api/payment_intents/create) - [Retrieve a payment_intent](https://stripe.com/docs/api/payment_intents/retriev...
39.207006
157
0.59524
f74976781940f1bf44dcd7a9acff55f2b3a47981
959
ex
Elixir
apps/calgy_api/lib/calgy_api/helpers/view_helpers.ex
calgy/calgy
624790f1299271010f963359a7e94097277a9ee8
[ "MIT" ]
1
2017-09-18T08:54:46.000Z
2017-09-18T08:54:46.000Z
apps/calgy_api/lib/calgy_api/helpers/view_helpers.ex
calgy/calgy
624790f1299271010f963359a7e94097277a9ee8
[ "MIT" ]
null
null
null
apps/calgy_api/lib/calgy_api/helpers/view_helpers.ex
calgy/calgy
624790f1299271010f963359a7e94097277a9ee8
[ "MIT" ]
null
null
null
defmodule CalgyApi.Helpers.ViewHelpers do @doc ~S""" Formats a DateTime to an extended ISO8601 format. Equivalent to DateTime.to_iso8601 but truncates to the second and allows nil. ## Examples iex> CalgyApi.Helpers.ViewHelpers.format_datetime(nil) nil iex> {:ok, dt, _} = DateTime.from_iso8...
26.638889
78
0.649635
f7498485f52f5aa3ec927c17505eec82b9d6b58e
75
ex
Elixir
web/views/coherence/unlock_view.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
60
2017-05-09T19:08:26.000Z
2021-01-20T11:09:42.000Z
web/views/coherence/unlock_view.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
6
2017-05-10T15:43:16.000Z
2020-07-15T07:14:41.000Z
web/views/coherence/unlock_view.ex
smpallen99/ucx_chat
0dd98d0eb5e0537521844520ea2ba63a08fd3f19
[ "MIT" ]
10
2017-05-10T04:13:54.000Z
2020-12-28T10:30:27.000Z
defmodule Coherence.UnlockView do use UcxChat.Coherence.Web, :view end
12.5
34
0.786667
f74990135e92afe506fcdc7bbed740999921a079
7,532
exs
Elixir
test/grizzly/zwave/smart_start/meta_extensions/uuid16_test.exs
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
test/grizzly/zwave/smart_start/meta_extensions/uuid16_test.exs
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
test/grizzly/zwave/smart_start/meta_extensions/uuid16_test.exs
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.SmartStart.MetaExtension.UUID16Test do use ExUnit.Case, async: true alias Grizzly.ZWave.SmartStart.MetaExtension.UUID16 test "make a new uuid with hex format" do format = :hex uuid = "0102030405060708090A141516171819" assert {:ok, %{uuid: uuid, format: format}} == UUID16.new...
30.007968
97
0.591609
f749e26905a9fcdb81a66cf60344196afc235439
3,258
ex
Elixir
lib/earmark_parser/helpers/ast_helpers.ex
sionide21/earmark_parser
d9283fd90dad21d4bf4277e284b2e4a8560d14b0
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/helpers/ast_helpers.ex
sionide21/earmark_parser
d9283fd90dad21d4bf4277e284b2e4a8560d14b0
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/helpers/ast_helpers.ex
sionide21/earmark_parser
d9283fd90dad21d4bf4277e284b2e4a8560d14b0
[ "Apache-2.0" ]
null
null
null
defmodule EarmarkParser.Helpers.AstHelpers do @moduledoc false import EarmarkParser.Ast.Emitter import EarmarkParser.Helpers import EarmarkParser.Helpers.AttrParser alias EarmarkParser.Block @doc false def attrs_to_string_keys(key_value_pair) def attrs_to_string_keys({k, vs}) when is_list(vs) do ...
24.133333
104
0.609576
f749eb3660e08e92c892cf00ba4dcea8cccc3dbc
50,463
ex
Elixir
apps/astarte_appengine_api/lib/astarte_appengine_api/device/device.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api/device/device.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_appengine_api/lib/astarte_appengine_api/device/device.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # 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 appl...
29.253913
105
0.603591
f749fa1ea0e618c3d2fcff86da65526c6589cb78
902
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/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...
33.407407
74
0.763858
f74a5de9b113a1a8f8cd9873228a36e85fc77d91
3,375
ex
Elixir
lib/appsignal/instrumentation/decorators.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
lib/appsignal/instrumentation/decorators.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
lib/appsignal/instrumentation/decorators.ex
cblavier/appsignal-elixir
6e191a9e50acab3537a6331cd08c269b9e0fd7f4
[ "MIT" ]
null
null
null
defmodule Appsignal.Instrumentation.Decorators do @moduledoc false require Appsignal.Utils @span Appsignal.Utils.compile_env(:appsignal, :appsignal_span, Appsignal.Span) use Decorator.Define, instrument: 0, instrument: 1, transaction: 0, transaction: 1, transaction_event: 0, transacti...
27.217742
96
0.652148
f74a6875863222359b246c3f501ac703bd65482e
1,031
ex
Elixir
lib/kovacs/watcher.ex
praveenperera/phoenix_kovacs
1ccfa2fbbe77360f55006255f2e6dcd7e5a3548c
[ "Apache-2.0" ]
2
2015-10-10T00:34:44.000Z
2015-10-14T06:53:24.000Z
lib/kovacs/watcher.ex
praveenperera/phoenix_kovacs
1ccfa2fbbe77360f55006255f2e6dcd7e5a3548c
[ "Apache-2.0" ]
null
null
null
lib/kovacs/watcher.ex
praveenperera/phoenix_kovacs
1ccfa2fbbe77360f55006255f2e6dcd7e5a3548c
[ "Apache-2.0" ]
2
2015-09-30T08:08:59.000Z
2020-03-03T22:34:25.000Z
defmodule Kovacs.Watcher do @fswatch_path "fswatch" @max_line_length_for_each_event 2048 def initialise(path) do paths = Enum.join(path, " ") port = Port.open({ :spawn, '#{@fswatch_path} #{paths}' }, [:stderr_to_stdout, :in, :exit_status, :binary, :stream, { :line, @max_line_length_for_each_eve...
22.911111
109
0.630456
f74a6907594139a5ca80739d86d6ff34c162c3b0
89
ex
Elixir
lib/balalaika_bear/status.ex
ayrat-playground/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
5
2018-04-30T09:48:17.000Z
2020-05-01T10:20:15.000Z
lib/balalaika_bear/status.ex
BalalaikaIndustries/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
7
2018-04-28T06:39:10.000Z
2018-04-28T07:31:59.000Z
lib/balalaika_bear/status.ex
ayrat-playground/balalaika_bear
bcccdd4a0caf075e133ef4f162eb13e3d28b2d65
[ "MIT" ]
2
2018-04-27T19:42:04.000Z
2020-05-01T10:20:02.000Z
defmodule BalalaikaBear.Status do use BalalaikaBear.Macro.API, namespace: "status" end
22.25
50
0.808989
f74aa130c365037d8199f97a872740bec8ac79f1
1,144
ex
Elixir
lib/offer_hunters/comments/create.ex
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
3
2021-10-01T21:13:02.000Z
2021-11-05T22:25:55.000Z
lib/offer_hunters/comments/create.ex
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
null
null
null
lib/offer_hunters/comments/create.ex
Ryandls/offer_hunters-backend
abedff162d8623e2fbaa4c5e4a518f1726bef436
[ "MIT" ]
null
null
null
defmodule OfferHunters.Comments.Create do @moduledoc """ Module for create comments """ alias OfferHunters.{Comment, Error, Offer, Repo, User} def call(%{} = params) do case validate_ids(params) do {:ok, _message} -> params |> Comment.changeset() |> Repo.insert() |...
27.238095
87
0.596154
f74af3c37d0d338f78cd40fa18b59e7b3bb3b3af
265
ex
Elixir
examples/basic/NumberAdder.ex
fxn/nimler
7038b2b6fcc41c013f835e929844ef648aa47d62
[ "MIT" ]
83
2019-10-20T12:04:33.000Z
2022-03-17T01:04:26.000Z
examples/basic/NumberAdder.ex
fxn/nimler
7038b2b6fcc41c013f835e929844ef648aa47d62
[ "MIT" ]
18
2019-10-12T17:56:25.000Z
2022-03-21T03:05:02.000Z
examples/basic/NumberAdder.ex
fxn/nimler
7038b2b6fcc41c013f835e929844ef648aa47d62
[ "MIT" ]
6
2020-02-21T14:00:30.000Z
2021-11-06T04:18:38.000Z
defmodule NumberAdder do @on_load :init def init(), do: :erlang.load_nif(to_charlist(Path.join(Path.dirname(__ENV__.file), 'libnif')), 0) def add_numbers(_, _), do: exit(:nif_library_not_loaded) def sub_numbers(_, _), do: exit(:nif_library_not_loaded) end
33.125
99
0.735849
f74b143c78d2e3484f443d1959055bc6ead0aba2
1,448
ex
Elixir
lib/utils.ex
azohra/SlackDB
f59b5d96a27a7452b0e3285a067e8fe2c7e691e0
[ "MIT" ]
10
2019-04-25T23:33:19.000Z
2020-12-08T20:33:59.000Z
lib/utils.ex
azohra/SlackDB
f59b5d96a27a7452b0e3285a067e8fe2c7e691e0
[ "MIT" ]
4
2019-05-03T06:36:12.000Z
2019-12-18T21:43:32.000Z
lib/utils.ex
azohra/SlackDB
f59b5d96a27a7452b0e3285a067e8fe2c7e691e0
[ "MIT" ]
null
null
null
defmodule SlackDB.Utils do @moduledoc false # @emoji_list_regex ~r/:[^:]+:/ @key_type_regex ":thumbsup:|:family:|:hear_no_evil:|:monkey:" @key_schema ~r/(?<key_phrase>.+)\s(?<key_type>#{@key_type_regex})(?<more_metadata>.*)/ @emoji_to_metadata %{ ":thumbsup:" => :voting, ":family:" => :multiple, ...
26.814815
88
0.631215
f74b1678e16cffc7b233528879de8f33fe89204f
868
exs
Elixir
mix.exs
linduxed/taskwarrior.ex
30cec311e2b5373b5068ae37954230adceec5ed7
[ "MIT" ]
null
null
null
mix.exs
linduxed/taskwarrior.ex
30cec311e2b5373b5068ae37954230adceec5ed7
[ "MIT" ]
null
null
null
mix.exs
linduxed/taskwarrior.ex
30cec311e2b5373b5068ae37954230adceec5ed7
[ "MIT" ]
null
null
null
defmodule Taskwarrior.MixProject do use Mix.Project def project do [ app: :taskwarrior, description: description(), package: package(), version: "0.4.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), name: "Taskwarrior", source_url: r...
17.714286
62
0.544931
f74b1a379754c5102af53856987fbf75c74d970f
898
ex
Elixir
test/support/projection_assertions.ex
kianmeng/commanded-ecto-projections
aa5a99488e969fe338db780898cb8bd22599df15
[ "MIT" ]
57
2017-11-09T21:18:22.000Z
2022-02-10T07:58:21.000Z
test/support/projection_assertions.ex
kianmeng/commanded-ecto-projections
aa5a99488e969fe338db780898cb8bd22599df15
[ "MIT" ]
26
2018-01-08T13:31:16.000Z
2022-03-24T20:59:29.000Z
test/support/projection_assertions.ex
kianmeng/commanded-ecto-projections
aa5a99488e969fe338db780898cb8bd22599df15
[ "MIT" ]
25
2017-11-03T20:27:10.000Z
2022-02-23T09:47:11.000Z
defmodule Commanded.Projections.ProjectionAssertions do import ExUnit.Assertions alias Commanded.Projections.Repo def assert_projections(schema, expected) do actual = Repo.all(schema) |> pluck(:name) assert actual == expected end def assert_seen_event(projection_name, expected_last_seen) whe...
29.933333
93
0.73608
f74b1b9f989168a47aa662fe16d5f2f2465b8e8c
1,831
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value_day_part_targeting.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value_day_part_targeting.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value_day_part_targeting.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.696429
131
0.737848
f74b3caf64b0047c328042a35b4166953324c6ab
1,602
ex
Elixir
lib/tox/calendar.ex
hrzndhrn/tox
c7439a9eb83b9989b1866a23c8e6feedbb0b56b6
[ "MIT" ]
6
2020-07-18T06:16:10.000Z
2021-11-12T14:12:20.000Z
lib/tox/calendar.ex
hrzndhrn/tox
c7439a9eb83b9989b1866a23c8e6feedbb0b56b6
[ "MIT" ]
null
null
null
lib/tox/calendar.ex
hrzndhrn/tox
c7439a9eb83b9989b1866a23c8e6feedbb0b56b6
[ "MIT" ]
null
null
null
defmodule Tox.Calendar do @moduledoc false # Since the first version of Tox, Date.beginning_of_week/1 is now available in # Elixir. With this change was also Calendar.day_of_week/3 replaced by # Calendar.day_of_week4. Tox implements beginning_of_week for Date, DateTime # and NaiveDateTime. These implementati...
35.6
91
0.651061
f74b5180f1f58279a13397758fe122cd21e6beb1
219
exs
Elixir
config/config.exs
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
null
null
null
config/config.exs
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
2
2020-07-27T00:13:11.000Z
2020-07-27T05:22:17.000Z
config/config.exs
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
2
2020-07-26T12:32:39.000Z
2020-07-26T23:54:13.000Z
use Mix.Config config :logger, backends: [:console], level: :warning, utc_log: true config :logger, :console, format: "$time $metadata[$level] $message\n", metadata: [:mfa] import_config "#{Mix.env()}.exs"
16.846154
47
0.6621
f74b8be4fcb100c3e2725ae849da36ed981f1aae
1,954
ex
Elixir
test/support/test_schema.ex
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
null
null
null
test/support/test_schema.ex
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
null
null
null
test/support/test_schema.ex
noonie2k/ecto_adapters_dynamodb
199c14348f5787b04b4eb997a1f00d13cc09948c
[ "Apache-2.0" ]
1
2018-09-12T13:11:05.000Z
2018-09-12T13:11:05.000Z
defmodule Ecto.Adapters.DynamoDB.TestSchema.Address do use Ecto.Schema embedded_schema do field :street_number, :integer field :street_name, :string end end defmodule Ecto.Adapters.DynamoDB.TestSchema.Person do use Ecto.Schema @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :b...
30.53125
103
0.702661
f74babf4b45d4907e0c3967814cbcc3ea7054a0f
1,847
ex
Elixir
lib/ash.ex
doawoo/ash
9d59ae5611785bbd2668b0865c743116633afac1
[ "MIT" ]
null
null
null
lib/ash.ex
doawoo/ash
9d59ae5611785bbd2668b0865c743116633afac1
[ "MIT" ]
null
null
null
lib/ash.ex
doawoo/ash
9d59ae5611785bbd2668b0865c743116633afac1
[ "MIT" ]
null
null
null
defmodule Ash do @moduledoc " Types and simple helpers for Ash" alias Ash.Resource.Actions.{Create, Destroy, Read, Update} alias Ash.Resource.Relationships.{BelongsTo, HasMany, HasOne, ManyToMany} @type action :: Create.t() | Read.t() | Update.t() | Destroy.t() @type action_type :: :read | :create | :update ...
34.203704
88
0.672442
f74bb2b616ba424bf8a8a91e27f436ad2ca7c3e3
1,117
exs
Elixir
config/config.exs
ssbb/exshape
7f0de9e7013cfc17d1e417bd2cf61b8be5259a63
[ "MIT" ]
18
2017-04-13T20:13:09.000Z
2021-12-30T08:37:53.000Z
config/config.exs
ssbb/exshape
7f0de9e7013cfc17d1e417bd2cf61b8be5259a63
[ "MIT" ]
16
2017-04-26T03:20:55.000Z
2021-12-29T18:52:37.000Z
config/config.exs
ssbb/exshape
7f0de9e7013cfc17d1e417bd2cf61b8be5259a63
[ "MIT" ]
9
2017-04-24T13:27:37.000Z
2021-01-06T18:18:17.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.751119
f74bfd8d770e4ae8a245cb24ca08d7cd69531ef4
535
exs
Elixir
config/test.exs
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
null
null
null
config/test.exs
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
6
2022-01-05T12:51:37.000Z
2022-01-13T09:52:36.000Z
config/test.exs
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
null
null
null
import Config config :lexin, :dictionaries_root, "test/fixtures/dictionaries" # We don't run a server during test. If one is required, # you can enable the server option below. config :lexin, LexinWeb.Endpoint, http: [ip: {127, 0, 0, 1}, port: 4002], secret_key_base: "8Q7QHw+qU9xnuRwI3P2MSGyDS6auQl/8Ki7GCB63toa6f...
31.470588
86
0.764486
f74c071ed88d75de2bd5760e8d00b0cdcbc8b094
649
ex
Elixir
lib/grizzly/zwave/commands/no_operation.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/zwave/commands/no_operation.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/zwave/commands/no_operation.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.NoOperation do @moduledoc """ This commands does nothing other than test if the node is responding Params: - none - """ @behaviour Grizzly.ZWave.Command alias Grizzly.ZWave.Command alias Grizzly.ZWave.CommandClasses.NoOperation @impl true def new(_opts \\ []) do ...
18.542857
70
0.659476
f74c07c79621caa50dcdb0d367311a83f1a1a395
455
ex
Elixir
lib/bitpal_schemas/currency_settings.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal_schemas/currency_settings.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal_schemas/currency_settings.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPalSchemas.CurrencySettings do use TypedEctoSchema alias BitPalSchemas.AddressKey alias BitPalSchemas.Currency alias BitPalSchemas.Store typed_schema "currency_settings" do field(:required_confirmations, :integer) :: non_neg_integer field(:double_spend_timeout, :integer) :: non_neg_integ...
28.4375
63
0.778022
f74c4f2dc15523a7d49902b3fab033408fd983ea
12,024
exs
Elixir
test/phoenix_live_view/integrations/params_test.exs
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
1
2019-12-07T19:28:57.000Z
2019-12-07T19:28:57.000Z
test/phoenix_live_view/integrations/params_test.exs
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
1
2019-03-17T23:44:09.000Z
2019-03-19T21:52:06.000Z
test/phoenix_live_view/integrations/params_test.exs
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.ParamsTest do use ExUnit.Case, async: false use Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveView alias Phoenix.LiveViewTest.Endpoint @endpoint Endpoint @moduletag :capture_log setup do conn = Phoenix.ConnTest.build_conn() |> Plug.Test.ini...
34.852174
96
0.582834
f74c56b97bed7857d11d2b6873d7b67993b5af83
2,010
exs
Elixir
phx-board-app/mix.exs
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
phx-board-app/mix.exs
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
phx-board-app/mix.exs
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
defmodule Board.MixProject do use Mix.Project def project do [ app: :board, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps...
28.309859
84
0.564179
f74c641850ff97f5ad1995572f05791370e8c3aa
3,110
ex
Elixir
lib/mix/lib/mix/cli.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/cli.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/cli.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defmodule Mix.CLI do @moduledoc false @doc """ Runs Mix according to the command line arguments. """ def main(args \\ System.argv) do Mix.Local.append_archives Mix.Local.append_paths if env_variable_activated?("MIX_QUIET"), do: Mix.shell(Mix.Shell.Quiet) if env_variable_activated?("MIX_DEBUG...
24.68254
88
0.624116
f74c6647c107bd1632e4bec79b51e35c2b04be40
182
ex
Elixir
lib/wallaby/driver/external_command.ex
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
1
2019-01-30T12:08:17.000Z
2019-01-30T12:08:17.000Z
lib/wallaby/driver/external_command.ex
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
2
2019-04-10T08:23:27.000Z
2021-01-25T16:37:23.000Z
lib/wallaby/driver/external_command.ex
carl-al/wallaby
a4c9811902370b15db17fc62d451035ee7464eea
[ "MIT" ]
1
2019-01-29T16:03:55.000Z
2019-01-29T16:03:55.000Z
defmodule Wallaby.Driver.ExternalCommand do @moduledoc false @type t :: %__MODULE__{ executable: String.t, args: [String.t] } defstruct [:executable, args: []] end
16.545455
43
0.67033
f74c7c0f5eea8d1804aa9d88fb8afbc82119ef39
2,176
ex
Elixir
lib/console/labels/label_resolver.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
lib/console/labels/label_resolver.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
lib/console/labels/label_resolver.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Labels.LabelResolver do alias Console.Repo alias Console.Labels.Label alias Console.Labels.DevicesLabels import Ecto.Query alias Console.Alerts def paginate_by_device(%{page: page, page_size: page_size, device_id: device_id, column: column, order: order}, %{context: %{current_organization...
32.477612
175
0.647059
f74c94f66d8b6d69d5557b2cbeeeb5cf5be993d6
3,730
exs
Elixir
test/grpc/integration/service_test.exs
clearjs/grpc-elixir
3dfa4648711ec0a59bb3bba2766de9ce770a0789
[ "Apache-2.0" ]
2
2019-06-18T18:31:24.000Z
2020-12-31T07:24:12.000Z
test/grpc/integration/service_test.exs
clearjs/grpc-elixir
3dfa4648711ec0a59bb3bba2766de9ce770a0789
[ "Apache-2.0" ]
4
2020-02-10T23:40:06.000Z
2021-03-23T18:33:11.000Z
test/grpc/integration/service_test.exs
clearjs/grpc-elixir
3dfa4648711ec0a59bb3bba2766de9ce770a0789
[ "Apache-2.0" ]
7
2019-08-14T21:46:56.000Z
2021-03-23T18:09:21.000Z
defmodule GRPC.Integration.ServiceTest do use GRPC.Integration.TestCase defmodule FeatureServer do use GRPC.Server, service: Routeguide.RouteGuide.Service alias GRPC.Server def get_feature(point, _stream) do simple_feature(point) end def list_features(rectangle, stream) do Enum.ea...
33.303571
93
0.634584