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
7a955bb4ae600b24bcf34c93344323bc38201686
559
ex
Elixir
web/views/changeset_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
web/views/changeset_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
web/views/changeset_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
defmodule Otherpool.ChangesetView do use Otherpool.Web, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `Otherpool.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset, &...
27.95
65
0.73703
7a956efa5feb4a8088e6da5f5f31d0399eb3745e
575
ex
Elixir
lib/thumbnex/gifs.ex
kianmeng/thumbnex
c763f1bcc5b624cb28d54b4092bfaafad2925018
[ "MIT" ]
55
2016-08-18T13:36:39.000Z
2022-03-23T05:46:37.000Z
lib/thumbnex/gifs.ex
kianmeng/thumbnex
c763f1bcc5b624cb28d54b4092bfaafad2925018
[ "MIT" ]
9
2016-08-23T20:15:03.000Z
2021-08-09T17:56:51.000Z
lib/thumbnex/gifs.ex
kianmeng/thumbnex
c763f1bcc5b624cb28d54b4092bfaafad2925018
[ "MIT" ]
6
2016-10-17T22:10:26.000Z
2021-08-09T10:55:06.000Z
defmodule Thumbnex.Gifs do @doc """ Return the GIF duration in seconds. """ def duration(gif_path) do {result, 0} = System.cmd identify_path(), ~w(-format %T\\n #{gif_path}) centiseconds = Enum.reduce(String.split(result), 0, fn(x, acc) -> String.to_integer(String.trim(x)) + acc end) cent...
25
75
0.655652
7a95738ab8b45717b4443ead3f9abfe2d1b93e47
209
exs
Elixir
apps/exred_ui/priv/repo/migrations/20180127203951_add_positions_to_node.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/priv/repo/migrations/20180127203951_add_positions_to_node.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/priv/repo/migrations/20180127203951_add_positions_to_node.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
defmodule ExredUI.Repo.Migrations.AddPositionsToNode do use Ecto.Migration def change do alter table(:nodes) do add :x, :integer, default: 0 add :y, :integer, default: 0 end end end
19
55
0.674641
7a959d38e9b7864af5ecfb08984008bf8627a5c0
501
exs
Elixir
priv/repo/migrations/20180519045439_create_match_games.exs
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
3
2018-05-28T15:10:11.000Z
2020-08-02T21:14:25.000Z
priv/repo/migrations/20180519045439_create_match_games.exs
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
null
null
null
priv/repo/migrations/20180519045439_create_match_games.exs
cabol/rps
813028c4b7bb18f8c7cbcf4422249a81ccb9f059
[ "MIT" ]
null
null
null
defmodule Rps.Repo.Migrations.CreateMatchGames do use Ecto.Migration def change do create table(:match_games) do add :player1_wins, :integer add :player2_wins, :integer add :winner, :string add :status, :string add :player1_id, references(:users, on_delete: :nothing) add :pl...
25.05
62
0.678643
7a95aeb8facce0c2314870ca0b07352c75384376
4,696
ex
Elixir
test/support/test_helper.ex
zven21/rihanna
5c78ef3aaecf1624bbef1ba7cf87f224ff98e416
[ "MIT" ]
null
null
null
test/support/test_helper.ex
zven21/rihanna
5c78ef3aaecf1624bbef1ba7cf87f224ff98e416
[ "MIT" ]
null
null
null
test/support/test_helper.ex
zven21/rihanna
5c78ef3aaecf1624bbef1ba7cf87f224ff98e416
[ "MIT" ]
null
null
null
defmodule TestHelper do defmacro assert_unordered_list_equality(list_1, list_2) do quote do assert Enum.sort(unquote(list_1)) == Enum.sort(unquote(list_2)) end end def create_jobs_table(_ctx) do {:ok, pg} = Postgrex.start_link(Application.fetch_env!(:rihanna, :postgrex)) drop_jobs_table(%{...
24.082051
106
0.585605
7a95d36d26834162e00d8cf4981d2b67b465df7f
1,784
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/big_query_table_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/big_query_table_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/big_query_table_spec.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.660377
159
0.714686
7a9608757bbeca301c83f922393f7290bae8f627
4,375
exs
Elixir
test/ex_oauth2_provider/oauth2/authorization_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/oauth2/authorization_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/oauth2/authorization_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.AuthorizationTest do use ExOauth2Provider.TestCase alias ExOauth2Provider.Authorization alias ExOauth2Provider.Test.{Fixtures, QueryHelpers} @client_id "Jf5rM8hQBc" @client_secret "secret" @valid_request %{ "client_id" => @client_id, "response_type" => "code", "scope...
39.414414
218
0.714971
7a9617bd7cf4c6808a2043106d6a8c28eef45988
103
ex
Elixir
apps/kv/lib/kv.ex
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
1
2019-04-12T08:50:05.000Z
2019-04-12T08:50:05.000Z
apps/kv/lib/kv.ex
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
apps/kv/lib/kv.ex
mareksuscak/elixir-kv-store
243ef4ae6ff5a3aa7bbe78880059add26b1ab5f5
[ "MIT" ]
null
null
null
defmodule KV do use Application def start(_type, _args) do KV.Supervisor.start_link end end
12.875
28
0.728155
7a96347f3aac75e37640f6e0d76e38c268395bb6
1,382
ex
Elixir
lib/curry.ex
lerencao/MonadEx
b8276cfc354da1e31d82e5ca9dfaa624340e835b
[ "MIT" ]
null
null
null
lib/curry.ex
lerencao/MonadEx
b8276cfc354da1e31d82e5ca9dfaa624340e835b
[ "MIT" ]
null
null
null
lib/curry.ex
lerencao/MonadEx
b8276cfc354da1e31d82e5ca9dfaa624340e835b
[ "MIT" ]
1
2018-09-27T20:47:16.000Z
2018-09-27T20:47:16.000Z
defmodule Curry do @moduledoc """ Simple module for currying functions. """ @doc """ Curries a given function. A function that would normally take three parameters, for example, will take three individual parameters instead. The curry macro works with anonymous functions and captured named functions. ...
25.127273
78
0.598408
7a964cfb9e1594ce8e93518ccb164f5e89d1ed7e
488
ex
Elixir
lib/groupher_server_web/middleware/authorize.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/groupher_server_web/middleware/authorize.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/groupher_server_web/middleware/authorize.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
# --- # Absinthe.Middleware behaviour # --- defmodule GroupherServerWeb.Middleware.Authorize do @moduledoc """ authorize gateway, mainly for login check """ @behaviour Absinthe.Middleware import Helper.Utils, only: [handle_absinthe_error: 3] import Helper.ErrorCode def call(%{context: %{cur_user: _}} =...
23.238095
76
0.721311
7a96555ebad33fd77c462fa1965ce5ddfa7ab089
1,678
exs
Elixir
mix.exs
optikfluffel/wunderground
67ebd8fbb83f2f0d1eb1a6fba1273afa3cec8233
[ "Unlicense" ]
2
2017-08-23T21:48:07.000Z
2017-10-16T21:35:36.000Z
mix.exs
optikfluffel/wunderground
67ebd8fbb83f2f0d1eb1a6fba1273afa3cec8233
[ "Unlicense" ]
8
2017-08-23T10:02:35.000Z
2017-09-03T11:35:36.000Z
mix.exs
optikfluffel/wunderground
67ebd8fbb83f2f0d1eb1a6fba1273afa3cec8233
[ "Unlicense" ]
1
2021-06-22T15:02:15.000Z
2021-06-22T15:02:15.000Z
defmodule Wunderground.Mixfile do use Mix.Project def project do [ app: :wunderground, version: "0.0.9", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(), description: description(), package: package(), test_coverage: [tool: ExCoveralls], p...
25.424242
75
0.545888
7a965d81495a06123e4642759f9cfdb1cbe7787a
207
exs
Elixir
apps/nerves_hub_web_core/priv/repo/migrations/20180926192828_add_firmware_per_product_org_limit.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_web_core/priv/repo/migrations/20180926192828_add_firmware_per_product_org_limit.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_web_core/priv/repo/migrations/20180926192828_add_firmware_per_product_org_limit.exs
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubWebCore.Repo.Migrations.AddFirmwarePerProductOrgLimit do use Ecto.Migration def change do alter table(:org_limits) do add(:firmware_per_product, :integer) end end end
20.7
75
0.763285
7a96968e106707158e49296d8395e533d26d7501
920
ex
Elixir
web/controllers/user_controller.ex
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
null
null
null
web/controllers/user_controller.ex
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
null
null
null
web/controllers/user_controller.ex
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
null
null
null
defmodule Rumbl.UserController do use Rumbl.Web, :controller plug :authenticate_user when action in [:index, :show] alias Rumbl.User def index(conn, _params) do users = Repo.all(Rumbl.User) render conn, "index.html", users: users end def show(conn, %{"id" => id}) do user = Repo.get(Rumbl.User...
26.285714
65
0.629348
7a9698d9596a5ae19b44fc1ed8e21509082efed4
2,433
ex
Elixir
templates/mix/lib/application.ex
Nebo15/enew
9a6ff3993b3be38943023df8d9f6e6a23dcbd8e2
[ "MIT" ]
34
2016-08-13T17:05:32.000Z
2019-10-21T07:11:21.000Z
templates/mix/lib/application.ex
Nebo15/enew
9a6ff3993b3be38943023df8d9f6e6a23dcbd8e2
[ "MIT" ]
7
2016-08-18T11:33:44.000Z
2017-10-03T12:28:27.000Z
templates/mix/lib/application.ex
Nebo15/enew
9a6ff3993b3be38943023df8d9f6e6a23dcbd8e2
[ "MIT" ]
6
2016-10-12T08:57:25.000Z
2021-05-26T04:18:21.000Z
defmodule <%= @module_name %> do @moduledoc """ This is an entry point of <%= @application_name %> application. """<%= if @sup do %> use Application alias <%= @module_name %>.Web.Endpoint # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def sta...
39.241935
115
0.660501
7a96ae355f6c906e94cb250e6b20260aaea88251
851
ex
Elixir
lib/http_client.ex
jordan0day/couchdb-ex
411326a859ef5439d6cc60ba379443ae409ff65e
[ "BSD-2-Clause" ]
null
null
null
lib/http_client.ex
jordan0day/couchdb-ex
411326a859ef5439d6cc60ba379443ae409ff65e
[ "BSD-2-Clause" ]
null
null
null
lib/http_client.ex
jordan0day/couchdb-ex
411326a859ef5439d6cc60ba379443ae409ff65e
[ "BSD-2-Clause" ]
null
null
null
defmodule CouchDBEx.HTTPClient do use HTTPoison.Base @moduledoc false alias CouchDBEx.Worker.AuthServer def process_request_options(options) do # Cookies are handles by hackney if AuthServer.auth_method == :cookie do # Update the hackney options if there are any if Keyword.has_key?(optio...
23
74
0.66745
7a96b62547a756d6dc618b06c4a4813f05eea318
2,028
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/streaming_setup_task.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/streaming_setup_task.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/streaming_setup_task.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.555556
153
0.762327
7a96c9c780b276da9c827bf44cee4fae17dd90ea
1,119
exs
Elixir
mix.exs
mmainz/redix
602cbe21ec345a9328d43fae6b9f34052410f20a
[ "MIT" ]
null
null
null
mix.exs
mmainz/redix
602cbe21ec345a9328d43fae6b9f34052410f20a
[ "MIT" ]
null
null
null
mix.exs
mmainz/redix
602cbe21ec345a9328d43fae6b9f34052410f20a
[ "MIT" ]
null
null
null
defmodule Redix.Mixfile do use Mix.Project @description "Fast, pipelined, resilient Redis driver for Elixir." @repo_url "https://github.com/whatyouhide/redix" @version "0.9.1" def project() do [ app: :redix, version: @version, elixir: "~> 1.6", build_embedded: Mix.env() == :pro...
19.293103
68
0.524576
7a96cbfff41108c95e8d3e044f8444fc0b44533f
11,536
ex
Elixir
lib/elixir/lib/io/ansi/docs.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io/ansi/docs.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io/ansi/docs.ex
jeregrine/elixir
080201477955bcd2d755fb4162966dc6882b1521
[ "Apache-2.0" ]
null
null
null
defmodule IO.ANSI.Docs do @moduledoc false @bullets [?*, ?-, ?+] @default_colors [ enabled: true, doc_code: "cyan,bright", doc_inline_code: "cyan", doc_headings: "yellow,bright", doc_title: "reverse,yellow,bright", ...
30.599469
114
0.624913
7a96dc7ef6f352c6954f9ebe02b9f7130ea23232
550
ex
Elixir
apps/legion/lib/i18n/locale.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
1
2021-01-04T11:06:12.000Z
2021-01-04T11:06:12.000Z
apps/legion/lib/i18n/locale.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
3
2021-01-30T06:40:37.000Z
2021-01-30T06:41:08.000Z
apps/legion/lib/i18n/locale.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
null
null
null
defmodule Legion.Internationalization.Locale do @moduledoc """ Represents a locale, containing a language and its variant. This is a registry-only module, it is not available to be mutated at the runtime. """ use Legion.Stereotype, :model @primary_key {:rfc1766, :string, autogenerate: false} schema "lo...
23.913043
83
0.694545
7a96defdd301f222f2755cc8fb6eb225d642fd4b
874
ex
Elixir
debian/prerm.ex
wish/dev
228217139005967f5e80c922e710f710d8b7bb5a
[ "MIT" ]
11
2019-05-31T20:32:59.000Z
2022-02-28T08:29:21.000Z
debian/prerm.ex
wish/dev
228217139005967f5e80c922e710f710d8b7bb5a
[ "MIT" ]
35
2019-05-14T22:14:52.000Z
2020-09-14T21:00:37.000Z
debian/prerm.ex
wish/dev
228217139005967f5e80c922e710f710d8b7bb5a
[ "MIT" ]
8
2019-05-31T15:58:45.000Z
2022-01-05T05:43:36.000Z
#!/bin/sh # prerm script for dev # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> # ...
22.410256
76
0.624714
7a96df62bca22d056c81ff95dfe2ab96c9f06167
551
ex
Elixir
web/router.ex
hamiltop/ashes
74882221af8d4fd96cd5d88e32fa6a6b3df44c77
[ "MIT" ]
1
2019-09-04T10:06:04.000Z
2019-09-04T10:06:04.000Z
web/router.ex
hamiltop/ashes
74882221af8d4fd96cd5d88e32fa6a6b3df44c77
[ "MIT" ]
null
null
null
web/router.ex
hamiltop/ashes
74882221af8d4fd96cd5d88e32fa6a6b3df44c77
[ "MIT" ]
null
null
null
defmodule Ashes.Router do use Ashes.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end # pipeline :api do # plug :accepts, ["json"] # end scope "/", Ashes do pipe_throug...
19.678571
57
0.662432
7a96e65d69bb88cee4fd5fb192ac93a66d7f4608
19,548
ex
Elixir
lib/elixir/lib/protocol.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/protocol.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/protocol.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
defmodule Protocol do @moduledoc """ Functions for working with protocols. """ @doc """ Defines a new protocol function. Protocols do not allow functions to be defined directly, instead, the regular `Kernel.def/*` macros are replaced by this macro which defines the protocol functions with the appropri...
30.401244
116
0.626509
7a96e70b43228cb90317055d0a47513d3420ef1f
973
ex
Elixir
lib/dgraph_ex/core/expr/regexp.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:41.000Z
2019-05-01T15:18:41.000Z
lib/dgraph_ex/core/expr/regexp.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
null
null
null
lib/dgraph_ex/core/expr/regexp.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:48.000Z
2019-05-01T15:18:48.000Z
defmodule DgraphEx.Core.Expr.Regexp do @moduledoc false alias DgraphEx.Util defstruct label: nil, regex: nil defmacro __using__(_) do quote do def regexp(label, regex), do: unquote(__MODULE__).new(label, regex) end end def new(label, regex) when is_atom(label) and is_binary(reg...
23.166667
78
0.645427
7a9705452d092de417e3b25c1194c6b8365dd00d
252
exs
Elixir
programming/elixir/learning_elixir_code_bundle/code/chapter6/pingpong.exs
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
1
2020-01-09T03:22:09.000Z
2020-01-09T03:22:09.000Z
elixir/tour/learning_elixir_code_bundle/code/chapter6/pingpong.exs
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
null
null
null
elixir/tour/learning_elixir_code_bundle/code/chapter6/pingpong.exs
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
null
null
null
defmodule PingPong do def start_link do spawn_link(fn -> loop() end) end defp loop do receive do {:ping, sender} -> send sender, {:pong, self()} {:pong, sender} -> IO.puts("Received :pong") end end end
15.75
36
0.555556
7a9705ea5af5a4774e8ce7e148b1f701e028b9bf
2,297
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_target_server_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_target_server_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_target_server_config.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
38.932203
192
0.711363
7a970c387a49da074fe5aa819f5f9697ac857a5e
19,281
exs
Elixir
test/registry_test.exs
davec82/horde
033d18f41b73edcdafa7f2083ac49698927d60d5
[ "MIT" ]
null
null
null
test/registry_test.exs
davec82/horde
033d18f41b73edcdafa7f2083ac49698927d60d5
[ "MIT" ]
null
null
null
test/registry_test.exs
davec82/horde
033d18f41b73edcdafa7f2083ac49698927d60d5
[ "MIT" ]
null
null
null
defmodule RegistryTest do use ExUnit.Case, async: true doctest Horde.Registry describe ".start_link/1" do test "only keys: :unique is allowed" do assert_raise ArgumentError, fn -> Horde.Registry.start_link(name: :horde_not_unique, keys: :duplicate) end end end describe "module-ba...
34.929348
98
0.583632
7a972f202f6a617a9a503dc1bd3e8492d3333e37
1,783
ex
Elixir
lib/absinthe/blueprint/document/operation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
lib/absinthe/blueprint/document/operation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
lib/absinthe/blueprint/document/operation.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Blueprint.Document.Operation do @moduledoc false alias Absinthe.Blueprint @enforce_keys [:name, :type] defstruct [ :name, :type, current: false, selections: [], directives: [], variable_definitions: [], variable_uses: [], fragment_uses: [], source_locatio...
29.716667
76
0.623668
7a975d4a6770e9ddd7f5d726166207b2a89dce9d
1,795
ex
Elixir
lib/google_api/you_tube/v3/model/activity.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/activity.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/activity.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "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.795455
471
0.752089
7a975f5563ace4d37029ca9f6cf63ce3e5f89c6b
1,577
ex
Elixir
lib/chit_chat_web/controllers/upload_controller.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
1
2021-09-10T16:49:36.000Z
2021-09-10T16:49:36.000Z
lib/chit_chat_web/controllers/upload_controller.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
2
2020-05-22T18:42:14.000Z
2021-01-25T16:34:38.000Z
lib/chit_chat_web/controllers/upload_controller.ex
areski/ex-chitchat
0ec14e9af6acba40d6708f924b76fb4fbe592dcf
[ "MIT" ]
null
null
null
defmodule ChitChatWeb.UploadController do use ChitChatWeb, :controller alias ChitChat.Documents alias ChitChat.Documents.Upload @upload_directory Application.get_env(:chit_chat, :upload_directory) def show(conn, %{"id" => id}) do upload = Documents.get_upload!(id) local_path = Upload.local_path(upl...
27.189655
82
0.668358
7a97608f740a8ef370906b92d3fae2789b891e43
1,276
ex
Elixir
lib/dutu_web/live/home_live/index.ex
charl3sj/dutu
dbc56c863f5874137175ba4ede34f3ff69a004a6
[ "MIT" ]
null
null
null
lib/dutu_web/live/home_live/index.ex
charl3sj/dutu
dbc56c863f5874137175ba4ede34f3ff69a004a6
[ "MIT" ]
null
null
null
lib/dutu_web/live/home_live/index.ex
charl3sj/dutu
dbc56c863f5874137175ba4ede34f3ff69a004a6
[ "MIT" ]
null
null
null
defmodule DutuWeb.HomeLive.Index do use DutuWeb, :live_view alias Dutu.General @impl true def mount(_params, _session, socket) do {:ok, socket |> assign(:todos, list_todos()) |> assign(:chores, list_chores())} end @impl true def handle_params(params, _url, socket) do {:noreply, a...
26.583333
94
0.676332
7a979a0e009cbedbb282456c24d554ee0029f0d7
479
exs
Elixir
config/test.exs
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
1
2019-06-26T06:53:01.000Z
2019-06-26T06:53:01.000Z
config/test.exs
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
null
null
null
config/test.exs
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "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 :timetracker, TimetrackerWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :timetracker...
25.210526
56
0.743215
7a979fdf0a5329f4f66a5be25b5f9f480e5bbf33
1,863
ex
Elixir
examples/validate.ex
philosophers-stone/transform
1eb2de475c5734aa09d1e04ce75104bb074c78d9
[ "Apache-2.0" ]
29
2015-11-23T21:33:02.000Z
2022-02-16T22:36:12.000Z
examples/validate.ex
philosophers-stone/transform
1eb2de475c5734aa09d1e04ce75104bb074c78d9
[ "Apache-2.0" ]
1
2015-11-26T16:26:35.000Z
2015-11-27T18:23:08.000Z
examples/validate.ex
philosophers-stone/transform
1eb2de475c5734aa09d1e04ce75104bb074c78d9
[ "Apache-2.0" ]
3
2015-11-26T04:19:29.000Z
2019-08-19T16:42:32.000Z
defmodule Validate do import PhStTransform def build_validator(data) do valid_potion = %{ Atom => &from_atom/3, Integer => &from_integer/3, Float => &from_float/3, BitString => &from_bitstring/3, } {_, validator } =...
30.540984
94
0.609769
7a97abcaac34f3ed900a6b013b36c1d79a3dd631
887
exs
Elixir
mix.exs
wingyplus/redoc_ui_plug
0667dd9b5dc53a49355c67177c7bb025b7ddc86b
[ "MIT" ]
null
null
null
mix.exs
wingyplus/redoc_ui_plug
0667dd9b5dc53a49355c67177c7bb025b7ddc86b
[ "MIT" ]
null
null
null
mix.exs
wingyplus/redoc_ui_plug
0667dd9b5dc53a49355c67177c7bb025b7ddc86b
[ "MIT" ]
null
null
null
defmodule Redoc.MixProject do use Mix.Project def project do [ app: :redoc_ui_plug, version: "0.1.1", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), name: "Redoc", source_url: "https://github.com/wingyplus/redoc_ui_plug", package: package()...
19.711111
72
0.558061
7a97afc46a35e68a5c2e81052e8444ac71ef9735
1,807
ex
Elixir
lib/mix/lib/mix/tasks/cmd.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/tasks/cmd.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/tasks/cmd.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.Tasks.Cmd do use Mix.Task @shortdoc "Executes the given command" @recursive true @moduledoc """ Executes the given command. Useful in umbrella applications to execute a command on each child app: mix cmd pwd You can limit which apps the cmd runs in by passing the app names bef...
25.450704
76
0.676259
7a97b69abfcae46efee07812b5ffa4cd24e6bb1c
8,512
exs
Elixir
test/actions/read_test.exs
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
test/actions/read_test.exs
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
test/actions/read_test.exs
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
defmodule Ash.Test.Actions.ReadTest do @moduledoc false use ExUnit.Case, async: true require Ash.Query defmodule Author do @moduledoc false use Ash.Resource, data_layer: Ash.DataLayer.Ets ets do private?(true) end actions do read :default create :default end at...
24.113314
141
0.515508
7a97c896d7e2aef42d23af918984237aead99b66
108
ex
Elixir
web/views/weighticket_relationship_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
web/views/weighticket_relationship_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
web/views/weighticket_relationship_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.WeighticketRelationshipView do use Apiv4.Web, :view use Autox.RelationshipView end
18
46
0.787037
7a97d22ce2573ebe49b530d21c4bf8eeacca8301
972
ex
Elixir
bubblit/lib/bubblit/room/room_supervisor.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
null
null
null
bubblit/lib/bubblit/room/room_supervisor.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
84
2020-04-03T08:06:06.000Z
2022-02-13T12:45:15.000Z
bubblit/lib/bubblit/room/room_supervisor.ex
pula39/BubbLit
12f5bc010ab67fc13797f786d1cd0f10e23bf327
[ "MIT" ]
1
2020-09-25T12:59:02.000Z
2020-09-25T12:59:02.000Z
defmodule Bubblit.Room.DynamicSupervisor do use DynamicSupervisor require Util def start_link(init_arg) do Util.log("#{__MODULE__}이 start_link 됩니다.#{inspect(init_arg)}") DynamicSupervisor.start_link(__MODULE__, init_arg, name: __MODULE__) end def start_child(room_id) do spec = {Bubblit.Room.Proc...
24.923077
72
0.673868
7a97da22e0dac1058f688d933e299451dab16189
1,307
ex
Elixir
web/web.ex
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
web/web.ex
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
web/web.ex
jschoch/guardex
26b2894385efbf032527ceef4a38c23e454faf40
[ "MIT" ]
null
null
null
defmodule Guardex.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Guardex.Web, :controller use Guardex.Web, :view The definitions below will be executed for every view, controller, etc, so keep them sho...
19.507463
88
0.674063
7a984fba0eaba4561247ffe2f1ea266b05233ff4
4,047
ex
Elixir
lib/siwapp/invoices/statistics.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
lib/siwapp/invoices/statistics.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
lib/siwapp/invoices/statistics.ex
peillis/siwapp
f8c11ad2660574395d636674aa449c959f0f87f1
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
defmodule Siwapp.Invoices.Statistics do @moduledoc """ Statistics utils. """ import Ecto.Query alias Siwapp.Invoices.Invoice alias Siwapp.Query alias Siwapp.Repo @spec count(Ecto.Queryable.t(), keyword()) :: non_neg_integer() def count(query, options \\ []) do default = [deleted_at_query: false]...
29.757353
149
0.571782
7a989909a673205d965b7aac0b15ad73901cf969
78
exs
Elixir
test/dnsapp_web/views/page_view_test.exs
tashavanes/dnsapp
92d1069e3ef06df6a990047297d87e91a782a75b
[ "MIT" ]
null
null
null
test/dnsapp_web/views/page_view_test.exs
tashavanes/dnsapp
92d1069e3ef06df6a990047297d87e91a782a75b
[ "MIT" ]
null
null
null
test/dnsapp_web/views/page_view_test.exs
tashavanes/dnsapp
92d1069e3ef06df6a990047297d87e91a782a75b
[ "MIT" ]
null
null
null
defmodule DnsappWeb.PageViewTest do use DnsappWeb.ConnCase, async: true end
19.5
37
0.820513
7a989ccf31badb446827ecf771001d60d63d3d11
455
exs
Elixir
test/example_app_web/views/error_view_test.exs
elixirasturias/example-app
d68d3c141446cf81a9181198b22d51a41b26ce71
[ "MIT" ]
3
2018-05-31T13:06:48.000Z
2020-01-14T03:29:30.000Z
test/example_app_web/views/error_view_test.exs
elixirasturias/example-app
d68d3c141446cf81a9181198b22d51a41b26ce71
[ "MIT" ]
null
null
null
test/example_app_web/views/error_view_test.exs
elixirasturias/example-app
d68d3c141446cf81a9181198b22d51a41b26ce71
[ "MIT" ]
null
null
null
defmodule ExampleAppWeb.ErrorViewTest do use ExampleAppWeb.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(ExampleAppWeb.ErrorView, "404.html", []) == "Not Found" end test "rende...
26.764706
71
0.698901
7a98adc6c6770b175d6ff802c9d603034afb729a
101
exs
Elixir
test/hooks/search_test.exs
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
test/hooks/search_test.exs
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
test/hooks/search_test.exs
dwarvesf/rummage_ecto
c05060ae3ad31e84d22adfac863ae35364603179
[ "MIT" ]
null
null
null
defmodule Rummage.Ecto.Hooks.SearchTest do use ExUnit.Case doctest Rummage.Ecto.Hooks.Search end
20.2
42
0.811881
7a98c1698f384b2e7fd0032cedd77559ff544228
1,756
ex
Elixir
lib/graphito.ex
qgadrian/graphito
a170cab6365445025b81c12060b7b01fc2745a22
[ "MIT" ]
5
2018-05-14T20:57:31.000Z
2020-04-29T15:39:07.000Z
lib/graphito.ex
qgadrian/graphito
a170cab6365445025b81c12060b7b01fc2745a22
[ "MIT" ]
null
null
null
lib/graphito.ex
qgadrian/graphito
a170cab6365445025b81c12060b7b01fc2745a22
[ "MIT" ]
null
null
null
defmodule Graphito.Behaviour do @moduledoc """ Behaviour for Graphite client. """ @typedoc """ Options for a operation: - headers: List of headers that will be send in the request. - query: Query params. - url: The GraphQL host url. """ @type opts :: [ headers: map(), query: Ke...
27.873016
196
0.610478
7a98c4b4e55c319bf332932614a1d9dab01fd676
954
ex
Elixir
generated_code_examples/elixir/classification/linear.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
generated_code_examples/elixir/classification/linear.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
generated_code_examples/elixir/classification/linear.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
defmodule Model do @compile {:inline, read: 2} defp read(bin, pos) do <<_::size(pos)-unit(64)-binary, value::float, _::binary>> = bin value end defp list_to_binary(list) do for i <- list, into: <<>>, do: <<i::float>> end def score(input) do input = list_to_binary(...
63.6
614
0.589099
7a98ed68c949ba0ae7296ff02f3c820a6a9d753f
105
exs
Elixir
test/ecies/parameters_test.exs
exthereum/ex_crypto
d228ce90c22a68bed54e60721e671ad877a64900
[ "MIT" ]
1
2019-01-05T01:43:06.000Z
2019-01-05T01:43:06.000Z
test/ecies/parameters_test.exs
exthereum/ex_crypto
d228ce90c22a68bed54e60721e671ad877a64900
[ "MIT" ]
null
null
null
test/ecies/parameters_test.exs
exthereum/ex_crypto
d228ce90c22a68bed54e60721e671ad877a64900
[ "MIT" ]
1
2020-09-08T08:09:55.000Z
2020-09-08T08:09:55.000Z
defmodule ExthCrypto.ECIES.ParametersTest do use ExUnit.Case doctest ExthCrypto.ECIES.Parameters end
21
44
0.838095
7a98f8b4e7f2e659f1f80cc7c142937aa3005103
1,000
ex
Elixir
web/managers/settings_manager.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
web/managers/settings_manager.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
web/managers/settings_manager.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
defmodule Opencov.SettingsManager do use Opencov.Web, :manager @required_fields ~w()a @optional_fields ~w(restricted_signup_domains signup_enabled default_project_visibility)a def changeset(model, params \\ :invalid) do model |> cast(params, @required_fields ++ @optional_fields) |> validate_requir...
28.571429
91
0.725
7a990b49de8ed972efd53ef0f79c69481c4de6a8
2,245
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/token_pagination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/token_pagination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/token_pagination.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...
44.9
591
0.759465
7a99149e68b71a764e41ba0b25941a8034598617
1,621
ex
Elixir
debian/manpage.1.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
debian/manpage.1.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
debian/manpage.1.ex
dg14/airwave
df6bc2606046bde33afc68b06ad183954d87f365
[ "MIT" ]
null
null
null
.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2019 root <root@unknown>, .\" .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH Airwave SECTION "February 2 2019" ....
28.438596
70
0.66132
7a9921f0b5d64746a1b8a97664e58b13f29a442f
6,505
exs
Elixir
lib/logger/test/logger/backends/console_test.exs
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
lib/logger/test/logger/backends/console_test.exs
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
lib/logger/test/logger/backends/console_test.exs
tnascimento/elixir
9a4d10e702f33d2fa47718cde05375b506b4a3d6
[ "Apache-2.0" ]
null
null
null
defmodule Logger.Backends.ConsoleTest do use Logger.Case require Logger import ExUnit.CaptureIO setup do on_exit(fn -> :ok = Logger.configure_backend( :console, format: nil, device: :user, level: nil, metadata: [], colors: [enabled:...
33.880208
98
0.634281
7a99579a070163d1a8fb612d7cf92adc57aab988
1,701
exs
Elixir
coherence_demo-0.6/mix.exs
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo-0.6/mix.exs
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo-0.6/mix.exs
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
defmodule CoherenceDemo.Mixfile do use Mix.Project def project do [ app: :coherence_demo, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(),...
27
79
0.588477
7a995ce1a18bd5180a3796aeb71c9815520737be
102
exs
Elixir
elixir/137.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/137.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/137.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
IO.puts 2 + 3 IO.puts 2 + 3 == 5 IO.puts String.length("The quick brown fox jumps over the lazy dog")
25.5
68
0.686275
7a99a8b006c125bcdb0a682ebc355d9be0b7bd1b
324
exs
Elixir
test/ref_web/live/page_live_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
test/ref_web/live/page_live_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
test/ref_web/live/page_live_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
defmodule RefWeb.PageLiveTest do use RefWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoenix!" end ...
27
60
0.719136
7a99c397bf1f2a818ecdff0e5f56c7a2b729c5be
1,420
exs
Elixir
apps/importer/mix.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
8
2018-07-06T14:44:10.000Z
2021-08-19T17:24:25.000Z
apps/importer/mix.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
12
2018-07-15T18:43:04.000Z
2022-02-10T16:07:47.000Z
apps/importer/mix.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
1
2018-07-13T17:30:20.000Z
2018-07-13T17:30:20.000Z
defmodule Importer.Mixfile do use Mix.Project def project do [ aliases: aliases(Mix.env()), app: :importer, build_path: "../../_build", config_path: "../../config/config.exs", deps: deps(), deps_path: "../../deps", elixir: "~> 1.6", elixirc_paths: elixirc_paths(M...
23.666667
56
0.571127
7a99c460ec0ed95aae74eeb9f0917eb37a66ae88
338
ex
Elixir
lib/slack/mock.ex
NSFD/slacktapped
b4dc6317e4dff5a1550e10f8fcbc51079db03bcc
[ "MIT" ]
12
2016-09-12T21:51:03.000Z
2020-01-12T18:05:51.000Z
lib/slack/mock.ex
NSFD/slacktapped
b4dc6317e4dff5a1550e10f8fcbc51079db03bcc
[ "MIT" ]
2
2017-02-13T08:17:13.000Z
2017-04-21T15:01:36.000Z
lib/slack/mock.ex
NSFD/slacktapped
b4dc6317e4dff5a1550e10f8fcbc51079db03bcc
[ "MIT" ]
4
2016-10-22T19:38:05.000Z
2018-12-20T17:18:47.000Z
defmodule Slacktapped.Slack.Mock do require Logger @doc """ Pretends to make a request to the configured Slack webhook URL with the provided attachments. Just a stub for debugging and testing, really. ## Example iex> Slacktapped.Slack.Live.post([%{}, %{}]) :ok """ def post(attachments) do ...
18.777778
82
0.668639
7a99c80d10213172e9ff60ee148c1074c5a6c28b
2,006
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/device_report.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/device_report.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/device_report.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...
40.12
239
0.747757
7a9a0bafb83967f7f54c62ec9bdeb11538341534
1,234
ex
Elixir
lib/online_editor/folder.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
lib/online_editor/folder.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
lib/online_editor/folder.ex
zzats/online-editor
2532315b40c974fe766e960e0b0933773907906d
[ "MIT" ]
null
null
null
defmodule OnlineEditor.Folder do use OnlineEditor.Schema import Ecto.Changeset alias OnlineEditor.Document alias OnlineEditor.Folder alias OnlineEditor.Repo alias OnlineEditor.User schema "folders" do field(:name, :string) field(:deleted, :boolean) field(:deleted_at, :naive_datetime) has_...
25.183673
72
0.663695
7a9a0d8bd1a896be4a74ea85a9a0f41d9f69ce10
313
exs
Elixir
project/gamenect/priv/repo/migrations/20161013182825_create_registration_confirmation.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/priv/repo/migrations/20161013182825_create_registration_confirmation.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/priv/repo/migrations/20161013182825_create_registration_confirmation.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
defmodule Gamenect.Repo.Migrations.CreateRegistrationConfirmation do use Ecto.Migration def change do create table(:confirmations) do add :token, :string add :user_id, references(:users, on_delete: :nothing) timestamps() end create index(:confirmations, [:user_id]) end end
20.866667
68
0.70607
7a9a1c7cc2dac9d037f7a3519be38dcd49b811e7
929
exs
Elixir
test/mix.exs
mattludwigs/nerves_system_rpi3a
55d9fda10e35afbf669a2f6339d7235c09e845c4
[ "Apache-2.0" ]
null
null
null
test/mix.exs
mattludwigs/nerves_system_rpi3a
55d9fda10e35afbf669a2f6339d7235c09e845c4
[ "Apache-2.0" ]
null
null
null
test/mix.exs
mattludwigs/nerves_system_rpi3a
55d9fda10e35afbf669a2f6339d7235c09e845c4
[ "Apache-2.0" ]
null
null
null
if Mix.env() == :test do hash = :os.cmd('git rev-parse HEAD') |> to_string |> String.trim() System.put_env("NERVES_FW_VCS_IDENTIFIER", hash) end defmodule Test.MixProject do use Mix.Project def project do [ app: :test, version: "0.1.0", elixir: "~> 1.6", archives: [ner...
22.119048
72
0.620022
7a9a26c23fe3c5d061bd4c5351c709833f44ad58
980
exs
Elixir
mix.exs
gnimona/redlock
cacbf36bee7ebd80ba4f4b698ad92981bd90aa56
[ "MIT" ]
null
null
null
mix.exs
gnimona/redlock
cacbf36bee7ebd80ba4f4b698ad92981bd90aa56
[ "MIT" ]
null
null
null
mix.exs
gnimona/redlock
cacbf36bee7ebd80ba4f4b698ad92981bd90aa56
[ "MIT" ]
1
2020-10-26T03:29:04.000Z
2020-10-26T03:29:04.000Z
defmodule Redlock.Mixfile do use Mix.Project def project do [ app: :redlock, version: "1.0.11", elixir: "~> 1.5", package: package(), start_permanent: Mix.env == :prod, deps: deps() ] end def application do [ extra_applications: [:logger, :secure_random, :...
21.777778
84
0.518367
7a9a3f3d9b07c9d0cebe1fe03ff685a49f1d6aa0
338
exs
Elixir
test/utils_test.exs
tinfoil/libgraph
1b8fb6c2d29239af9058c487bc5d6298d8bb07ad
[ "MIT" ]
366
2017-06-03T23:10:04.000Z
2022-03-22T12:26:38.000Z
test/utils_test.exs
tinfoil/libgraph
1b8fb6c2d29239af9058c487bc5d6298d8bb07ad
[ "MIT" ]
50
2017-07-14T17:55:53.000Z
2022-03-11T07:40:31.000Z
test/utils_test.exs
tinfoil/libgraph
1b8fb6c2d29239af9058c487bc5d6298d8bb07ad
[ "MIT" ]
64
2017-07-29T07:01:42.000Z
2022-03-20T12:07:55.000Z
defmodule Graph.UtilsTest do use ExUnit.Case, async: true defp sizeof(term) do Graph.Utils.sizeof(term) end test "sizeof/1" do assert 64 = sizeof({1, :foo, "bar"}) assert 440 = sizeof(String.duplicate("bar", 128)) assert 8 = sizeof([]) assert 24 = sizeof([1 | 2]) assert 56 = sizeof([1,...
21.125
53
0.615385
7a9a415bf5ba0b3102bf8b7552bbb99651531386
1,625
ex
Elixir
tfl_demo/lib/tfl_demo_web/router.ex
shoz-f/tfl_projects
274db6b952e2f6042f7e3ab2ab2505f55a60de90
[ "Apache-2.0" ]
null
null
null
tfl_demo/lib/tfl_demo_web/router.ex
shoz-f/tfl_projects
274db6b952e2f6042f7e3ab2ab2505f55a60de90
[ "Apache-2.0" ]
null
null
null
tfl_demo/lib/tfl_demo_web/router.ex
shoz-f/tfl_projects
274db6b952e2f6042f7e3ab2ab2505f55a60de90
[ "Apache-2.0" ]
null
null
null
defmodule TflDemoWeb.Router do use TflDemoWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {TflDemoWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug...
26.209677
70
0.686154
7a9a444da9d1bd8f37e95616a75e86dbf0c79b14
1,143
exs
Elixir
config/config.exs
evnu/fuzz_rust_erl_ext
969420b1db1864f4483dba89c51f4a906eec68f1
[ "Apache-2.0" ]
null
null
null
config/config.exs
evnu/fuzz_rust_erl_ext
969420b1db1864f4483dba89c51f4a906eec68f1
[ "Apache-2.0" ]
null
null
null
config/config.exs
evnu/fuzz_rust_erl_ext
969420b1db1864f4483dba89c51f4a906eec68f1
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.870968
73
0.755906
7a9a55f864a6fc1e71e99ce6428544d48b3d8d12
110
exs
Elixir
test/corpus/apply_banned_function.exs
NFIBrokerage/ethyl
014dd11ad2c4a58feed51af005eea427a8ce0f7e
[ "MIT" ]
1
2022-01-21T22:53:26.000Z
2022-01-21T22:53:26.000Z
test/corpus/apply_banned_function.exs
NFIBrokerage/ethyl
014dd11ad2c4a58feed51af005eea427a8ce0f7e
[ "MIT" ]
2
2021-09-24T19:52:21.000Z
2021-09-27T21:46:45.000Z
test/corpus/apply_banned_function.exs
NFIBrokerage/ethyl
014dd11ad2c4a58feed51af005eea427a8ce0f7e
[ "MIT" ]
null
null
null
apply(DateTime, :utc_now, []) apply(:erlang, :binary_to_term, [<<>>]) mod = DateTime apply(mod, :utc_now, [])
22
39
0.645455
7a9a699c9cb93eb3bb266b664d9ec0e73d10f3e6
1,495
ex
Elixir
robotica_hello/lib/robotica_hello_web/views/error_helpers.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica_hello/lib/robotica_hello_web/views/error_helpers.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica_hello/lib/robotica_hello_web/views/error_helpers.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule RoboticaHelloWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> conten...
33.222222
82
0.674247
7a9a6abfb12b35e600aeee527c71448cb8c4f336
1,667
ex
Elixir
clients/content/lib/google_api/content/v21/model/localinventory_custom_batch_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/localinventory_custom_batch_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/localinventory_custom_batch_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...
33.34
171
0.758848
7a9a7bf2b895b579a4295bff76ce748eba91e610
5,692
ex
Elixir
lib/y_2021/d2/day2.ex
jkantarek/advent_of_code
0741ac1e1549f81f64665d5dc6de21768bbeb405
[ "Unlicense" ]
null
null
null
lib/y_2021/d2/day2.ex
jkantarek/advent_of_code
0741ac1e1549f81f64665d5dc6de21768bbeb405
[ "Unlicense" ]
null
null
null
lib/y_2021/d2/day2.ex
jkantarek/advent_of_code
0741ac1e1549f81f64665d5dc6de21768bbeb405
[ "Unlicense" ]
null
null
null
defmodule AdventOfCode.Y2021.Day2 do @moduledoc """ --- Day 2: Dive! --- Now, you need to figure out how to pilot this thing. It seems like the submarine can take a series of commands like forward 1, down 2, or up 3: forward X increases the horizontal position by X units. down X increases the dep...
37.695364
227
0.674104
7a9a82fe0132f67c8f3a85c04a10e1d7618ae82d
1,658
ex
Elixir
lib/sitemap/consts.ex
mkarbowiak/sitemap
9bfbc1d401da0ab486445c59c632d1227a6eb0c3
[ "MIT" ]
103
2016-04-26T17:31:58.000Z
2022-02-15T12:26:06.000Z
lib/sitemap/consts.ex
mkarbowiak/sitemap
9bfbc1d401da0ab486445c59c632d1227a6eb0c3
[ "MIT" ]
31
2016-06-02T17:26:56.000Z
2021-11-17T13:19:26.000Z
lib/sitemap/consts.ex
mkarbowiak/sitemap
9bfbc1d401da0ab486445c59c632d1227a6eb0c3
[ "MIT" ]
24
2016-09-09T23:45:25.000Z
2021-02-15T16:36:43.000Z
defmodule Sitemap.Consts do import Sitemap.Define define(:schemas, %{ geo: "http://www.google.com/geo/schemas/sitemap/1.0", news: "http://www.google.com/schemas/sitemap-news/0.9", image: "http://www.google.com/schemas/sitemap-image/1.1", video: "http://www.google.com/schemas/sitemap-video/1.1", ...
37.681818
69
0.681544
7a9a8ae253bc66f01611d49d0507c266cfb971a4
886
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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.814815
74
0.759594
7a9a997d2a62f6c8360cdcfbf6e9a14d7574cfba
421
exs
Elixir
test/preview_web/views/error_view_test.exs
hexpm/preview
5ce0f85633cf1570433b0b5530af8ac508a9c78a
[ "Apache-2.0" ]
26
2021-01-25T20:30:46.000Z
2021-12-16T08:42:35.000Z
test/preview_web/views/error_view_test.exs
hexpm/preview
5ce0f85633cf1570433b0b5530af8ac508a9c78a
[ "Apache-2.0" ]
17
2021-01-25T18:45:43.000Z
2021-07-23T15:15:41.000Z
test/preview_web/views/error_view_test.exs
hexpm/preview
5ce0f85633cf1570433b0b5530af8ac508a9c78a
[ "Apache-2.0" ]
4
2021-01-25T21:32:28.000Z
2021-07-07T12:36:19.000Z
defmodule PreviewWeb.ErrorViewTest do use PreviewWeb.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(PreviewWeb.ErrorView, "404.html", []) =~ "Page not found" end test "renders 500.html" do ...
28.066667
91
0.733967
7a9ac7382aa8ad66a777947d1bc86b0275370a13
523
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_46.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_46.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_46.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.Model.InlineResponse20046 do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"wineDescription" ] ...
20.115385
91
0.711281
7a9acfe7bfbc589e1a18195c643ece2e309a2430
36,257
ex
Elixir
lib/phoenix_live_view/test/live_view_test.ex
paulstatezny/phoenix_live_view
597c5ddf8af2ca39216a3fe5a44c066774de3abd
[ "MIT" ]
1
2020-12-23T18:28:30.000Z
2020-12-23T18:28:30.000Z
lib/phoenix_live_view/test/live_view_test.ex
paulstatezny/phoenix_live_view
597c5ddf8af2ca39216a3fe5a44c066774de3abd
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/live_view_test.ex
paulstatezny/phoenix_live_view
597c5ddf8af2ca39216a3fe5a44c066774de3abd
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest do @moduledoc """ Conveniences for testing Phoenix LiveViews. In LiveView tests, we interact with views via process communication in substitution of a browser. Like a browser, our test process receives messages about the rendered updates from the view which can be asserted ag...
32.199822
98
0.659928
7a9ade0d0f63fea657744fcd3a53da76a0602825
6,180
ex
Elixir
lib/aws/generated/redshift_data.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/redshift_data.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/redshift_data.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.RedshiftData do @moduledoc """ You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You can run individual SQL statements, which are committed if the stateme...
37.454545
94
0.730259
7a9b023482710773466669855a3e3b745ec1d412
2,004
exs
Elixir
test/assent/strategies/basecamp_test.exs
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
160
2019-09-25T01:07:16.000Z
2022-03-08T00:45:16.000Z
test/assent/strategies/basecamp_test.exs
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
47
2019-09-25T00:38:44.000Z
2022-03-21T17:35:43.000Z
test/assent/strategies/basecamp_test.exs
lmeier/assent
3f5a5d340eb1833cd9d6ada9d7e3056b7e3d4f41
[ "MIT" ]
30
2019-10-04T15:58:06.000Z
2021-12-10T16:43:52.000Z
defmodule Assent.Strategy.BasecampTest do use Assent.Test.OAuth2TestCase alias Assent.Strategy.Basecamp # From https://github.com/basecamp/api/blob/master/sections/authentication.md#get-authorization @user_response %{ "expires_at" => "2012-03-22T16:56:48-05:00", "identity" => %{ "id" => 9_999_99...
31.3125
97
0.589321
7a9b1b32b9d4f64e8da694ba82f6f310df1f21e5
10,257
exs
Elixir
test/external_service_test.exs
doorgan/external_service
5ff51abc9a52350c91b93bbbdf6d8a284b7c0471
[ "Apache-2.0" ]
1
2021-11-07T18:32:43.000Z
2021-11-07T18:32:43.000Z
test/external_service_test.exs
doorgan/external_service
5ff51abc9a52350c91b93bbbdf6d8a284b7c0471
[ "Apache-2.0" ]
null
null
null
test/external_service_test.exs
doorgan/external_service
5ff51abc9a52350c91b93bbbdf6d8a284b7c0471
[ "Apache-2.0" ]
null
null
null
defmodule ExternalServiceTest do use ExUnit.Case alias ExternalService alias ExternalService.RetryOptions @moduletag capture_log: true @fuse_name :"test-fuse" @retry_opts %RetryOptions{ backoff: {:linear, 0, 1} } @expiring_retry_options %RetryOptions{ backoff: {:linear, 1, 1}, expiry: 1 ...
28.811798
98
0.600468
7a9b46012575553a7336586924ea1cdd94181cc2
17,427
exs
Elixir
test/jsonapi/serializer_test.exs
jgelens/jsonapi
776f4be5169787f1d92b5237ae372d6e3e18add2
[ "MIT" ]
null
null
null
test/jsonapi/serializer_test.exs
jgelens/jsonapi
776f4be5169787f1d92b5237ae372d6e3e18add2
[ "MIT" ]
null
null
null
test/jsonapi/serializer_test.exs
jgelens/jsonapi
776f4be5169787f1d92b5237ae372d6e3e18add2
[ "MIT" ]
null
null
null
defmodule JSONAPI.SerializerTest do use ExUnit.Case, async: false alias JSONAPI.{Config, QueryParser, Serializer} defmodule PostView do use JSONAPI.View def fields, do: [:text, :body, :full_description, :inserted_at] def meta(data, _conn), do: %{meta_text: "meta_#{data[:text]}"} def type, do: "...
27.229688
98
0.600734
7a9b5e8049af6ce54c0644089a8cf42b258b6ebf
20,433
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/content_categories.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/content_categories.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/content_categories.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...
43.847639
536
0.615035
7a9bda64bfc107e4557e05bbaac020b5cd6e0e4c
4,245
ex
Elixir
lib/synacor/token.ex
jwarwick/synacor
8d6ce9cbb3765a1b04e493c3d08619c715788269
[ "MIT" ]
null
null
null
lib/synacor/token.ex
jwarwick/synacor
8d6ce9cbb3765a1b04e493c3d08619c715788269
[ "MIT" ]
null
null
null
lib/synacor/token.ex
jwarwick/synacor
8d6ce9cbb3765a1b04e493c3d08619c715788269
[ "MIT" ]
null
null
null
defmodule Synacor.Token do @moduledoc """ Tokenize binary data into instructions """ @doc """ Get the value at the given memory address """ def get_value(offset, bin) do skip = offset * 2 <<_skip::binary-size(skip), value::little-integer-size(16), _rest::binary>> = bin value end @doc """...
27.038217
181
0.57338
7a9bf0b4a119b9833b083bcff2020140b38f8622
1,769
ex
Elixir
lib/cuid.ex
duailibe/cuid
bdc076dc56923b1d0bbdc972c23340a9bcfee1d6
[ "MIT" ]
53
2015-05-04T02:27:54.000Z
2022-02-27T22:29:58.000Z
lib/cuid.ex
duailibe/cuid
bdc076dc56923b1d0bbdc972c23340a9bcfee1d6
[ "MIT" ]
2
2015-09-10T13:19:13.000Z
2016-04-05T10:56:27.000Z
lib/cuid.ex
duailibe/cuid
bdc076dc56923b1d0bbdc972c23340a9bcfee1d6
[ "MIT" ]
3
2017-05-04T14:51:28.000Z
2022-02-24T22:11:27.000Z
defmodule Cuid do @moduledoc """ Collision-resistant ids. Usage: # Start the generator {:ok, generator} = Cuid.start_link # Generate a new CUID Cuid.generate(generator) """ @doc """ Generates and returns a new CUID. """ @spec generate(generator :: pid) :: String.t def gener...
21.573171
91
0.645562
7a9bf2450f4a363e5d43628c65240d54e33c18e6
9,381
exs
Elixir
test/honeydew/queue/erlang_queue_integration_test.exs
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
test/honeydew/queue/erlang_queue_integration_test.exs
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
test/honeydew/queue/erlang_queue_integration_test.exs
evadne/honeydew
c3c2f6095a28393cae13c0e686bdb6257d532ca1
[ "MIT" ]
null
null
null
defmodule Honeydew.ErlangQueueIntegrationTest do use ExUnit.Case, async: false # shares doctest queue name with mnesia queue test alias Honeydew.Job setup [ :setup_queue_name, :setup_queue, :setup_worker_pool] describe "doctests" do setup [:start_doctest_env] doctest Honeydew end tes...
28.776074
104
0.636073
7a9c1d8a6bc283522d14092f41135588a715dbfa
3,632
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/tool_execution.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/tool_execution.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/tool_execution.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
51.885714
198
0.745044
7a9c5880c6201dbaf7ba7b150b5bbbaaa3c0376e
11,447
ex
Elixir
lib/l10n/translator.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
lib/l10n/translator.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/l10n/translator.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
defmodule Timex.Translator do import Timex.Gettext @doc """ This macro sets the locale during execution of a given block of code. """ defmacro with_locale(locale, do: block) do quote do old_locale = Gettext.get_locale(Timex.Gettext) Gettext.put_locale(Timex.Gettext, unquote(locale)) res...
37.903974
141
0.661309
7a9c7abb6694de0871ec5f8bf766229c0720e3e3
2,355
exs
Elixir
mix.exs
kianmeng/cldr_calendars_lunisolar
5754991127fb74722e74e4fc8d0a27f86fc49029
[ "Apache-2.0" ]
null
null
null
mix.exs
kianmeng/cldr_calendars_lunisolar
5754991127fb74722e74e4fc8d0a27f86fc49029
[ "Apache-2.0" ]
null
null
null
mix.exs
kianmeng/cldr_calendars_lunisolar
5754991127fb74722e74e4fc8d0a27f86fc49029
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Calendars.Lunisolar.MixProject do use Mix.Project @version "1.0.0-beta.1" def project do [ app: :ex_cldr_calendars_lunisolar, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), source_url: "https://github.com/elixir-cld...
24.789474
96
0.570701
7a9c8d843fd2660f69275292d5ad17f05b65063c
1,720
ex
Elixir
clients/content/lib/google_api/content/v21/model/orders_return_refund_line_item_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_return_refund_line_item_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/orders_return_refund_line_item_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.4
165
0.736047
7a9c907570fd61d7689ca26591a7aedac33812cf
5,419
ex
Elixir
apps/mishka_content/lib/general/comment.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_content/lib/general/comment.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_content/lib/general/comment.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaContent.General.Comment do alias MishkaDatabase.Schema.MishkaContent.Comment alias MishkaContent.General.CommentLike import Ecto.Query use MishkaDatabase.CRUD, module: Comment, error_atom: :comment, repo: MishkaDatabase.Repo @type data_uuid() :: Ecto.UUID.t @...
33.450617
143
0.670973
7a9ce5ff2d39b462bacbd23b238c5528d4e0dc3d
2,857
exs
Elixir
test/controllers/admin/facebook/access_token_controller_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
test/controllers/admin/facebook/access_token_controller_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
test/controllers/admin/facebook/access_token_controller_test.exs
seansu4you87/betazoids
a8aac9074f5efaad4cd88ffdf7cdef53d4beb5cd
[ "MIT" ]
null
null
null
defmodule Betazoids.Admin.Facebook.AccessTokenControllerTest do use Betazoids.ConnCase alias Betazoids.Facebook.AccessToken @valid_attrs %{token: "some content", type: "some content"} @invalid_attrs %{token: nil} setup do conn = conn() {:ok, conn: conn} end test "lists all entries on index", %{...
39.680556
98
0.714386
7a9d1854fcdb5f25bd519dd5b63de6333891ffa6
209
exs
Elixir
apps/omg_eth/config/test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/config/test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/config/test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
2
2020-06-07T11:14:54.000Z
2020-08-02T07:36:32.000Z
use Mix.Config # bumping these timeouts into infinity - let's rely on test timeouts rather than these config :ethereumex, http_options: [recv_timeout: :infinity] config :omg_eth, exit_period_seconds: 30
23.222222
86
0.779904
7a9d2cc0a9717a8c9af5c738a5aea6dc484a91ee
77
exs
Elixir
server/test/test_helper.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/test/test_helper.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/test/test_helper.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(IdaiFieldServer.Repo, :manual)
25.666667
61
0.805195
7a9d35f1701b3f31b4d7d725f80262e2f90b7049
971
ex
Elixir
lib/remotings/remoting_user.ex
fangkunping/micro-server
3307b605ed33a8c089283274d2713d8ee3798b1a
[ "Apache-2.0" ]
null
null
null
lib/remotings/remoting_user.ex
fangkunping/micro-server
3307b605ed33a8c089283274d2713d8ee3798b1a
[ "Apache-2.0" ]
null
null
null
lib/remotings/remoting_user.ex
fangkunping/micro-server
3307b605ed33a8c089283274d2713d8ee3798b1a
[ "Apache-2.0" ]
null
null
null
defmodule MicroServer.Remoting.User do alias MicroServer.Repo alias MicroServer.User alias MicroServer.AccessParty @doc """ 通过用户id 获取用户数据 """ def get_user(userid) do add_access_party_to_user(Repo.get(User, userid)) end @doc """ 通过 用户名, 密码, 获取用户数据 """ @spec get_user(String.t(), String.t()) ...
22.068182
93
0.654995
7a9d53182878b637e415a7ae522278383d621330
8,856
ex
Elixir
lib/scenic/component/input/checkbox.ex
vacarsu/scenic
51c79d2371f5c2a2c752bf3a20b520494f476497
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/checkbox.ex
vacarsu/scenic
51c79d2371f5c2a2c752bf3a20b520494f476497
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/checkbox.ex
vacarsu/scenic
51c79d2371f5c2a2c752bf3a20b520494f476497
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.Component.Input.Checkbox do @moduledoc """ Add a checkbox to a graph ## Data `{text, checked?}` * `text` - must be a bitstring * `checked?` - must be a boolean and indicates if the checkbox is set. ## Messages When the state of the checkbox, it sends an event message to the host sc...
26.755287
94
0.580962
7a9d72f8714ca1c183291553d93432290a138268
67
ex
Elixir
lib/dobar/email.ex
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
null
null
null
lib/dobar/email.ex
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
14
2019-09-02T18:00:07.000Z
2021-09-02T00:49:54.000Z
lib/dobar/email.ex
ashkan18/dobar
37381af2a56b2456cfe2a0a358169fd2764cd3f0
[ "MIT" ]
1
2016-07-27T14:40:55.000Z
2016-07-27T14:40:55.000Z
defmodule Dobar.Mailer do use Bamboo.Mailer, otp_app: :dobar end
16.75
36
0.776119
7a9d8da2a9a61625b117130754a5872b9b2822a5
1,060
exs
Elixir
test/integration/cases_test.exs
christopherlai/solid
c7f0553f4ce3c12b68484baff42084bee1aa640b
[ "MIT" ]
117
2016-09-04T03:56:08.000Z
2022-03-28T18:51:56.000Z
test/integration/cases_test.exs
christopherlai/solid
c7f0553f4ce3c12b68484baff42084bee1aa640b
[ "MIT" ]
73
2017-03-21T09:22:45.000Z
2022-03-01T20:48:22.000Z
test/integration/cases_test.exs
christopherlai/solid
c7f0553f4ce3c12b68484baff42084bee1aa640b
[ "MIT" ]
25
2017-04-02T02:23:01.000Z
2022-02-27T20:42:13.000Z
cases_dir = "test/cases" for test_case <- File.ls!(cases_dir) do module_name = Module.concat([Solid.Integration.Cases, :"#{test_case}Test"]) defmodule module_name do use ExUnit.Case, async: true import Solid.Helpers @moduletag :integration @liquid_input_file "#{cases_dir}/#{test_case}/input.liqui...
27.894737
87
0.681132
7a9db39b7a8d4d986d82c23912c964cb30b61926
1,998
exs
Elixir
clients/ad_exchange_buyer/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.820896
204
0.674174
7a9db65cabb68b90d46ea2779aca955f9be8805d
1,141
ex
Elixir
2020/liveview/turbo_counter/test/support/channel_case.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/liveview/turbo_counter/test/support/channel_case.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/liveview/turbo_counter/test/support/channel_case.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule TurboCounterWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case intera...
27.829268
74
0.734443
7a9dbd4708840ba4d0a869b3e578c03299d37a79
348
ex
Elixir
lib/bio/player/event/move.ex
xire28/bio
c3266b551f8ac855653d6de7f13fd566f2daa549
[ "MIT" ]
null
null
null
lib/bio/player/event/move.ex
xire28/bio
c3266b551f8ac855653d6de7f13fd566f2daa549
[ "MIT" ]
null
null
null
lib/bio/player/event/move.ex
xire28/bio
c3266b551f8ac855653d6de7f13fd566f2daa549
[ "MIT" ]
null
null
null
defmodule Bio.Player.Event.Move do alias Bio.Position @enforce_keys [:world_id, :player_id, :position] defstruct [:world_id, :player_id, :position] def evaluate(%__MODULE__{ world_id: world_id, player_id: player_id, position: %Position{x: x, y: y} }) do IO.inspect([world_id, ...
23.2
50
0.652299
7a9dcab37537925dc85d802d5070112eb449651c
49
exs
Elixir
test/discovery_test.exs
nerandell/discovery
1bd40ad8a366d28e0f5848835135d989fcb49fdb
[ "MIT" ]
227
2015-01-31T02:32:15.000Z
2021-11-22T11:58:27.000Z
test/discovery_test.exs
nerandell/discovery
1bd40ad8a366d28e0f5848835135d989fcb49fdb
[ "MIT" ]
9
2015-03-26T12:28:41.000Z
2022-01-21T17:00:04.000Z
test/discovery_test.exs
nerandell/discovery
1bd40ad8a366d28e0f5848835135d989fcb49fdb
[ "MIT" ]
20
2015-03-26T12:29:23.000Z
2021-04-06T01:10:46.000Z
defmodule DiscoveryTest do use ExUnit.Case end
12.25
26
0.816327
7a9de73c6aa9f4f722af3e42534eaf92bffcc770
1,687
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/user_locale.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/blogger/lib/google_api/blogger/v3/model/user_locale.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/blogger/lib/google_api/blogger/v3/model/user_locale.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...
31.830189
103
0.699467
7a9dfbcd7f520e31b6386eacb4cb9dde77055114
2,842
ex
Elixir
priv/cabbage/apps/itest/lib/transactions/currency.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/cabbage/apps/itest/lib/transactions/currency.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/cabbage/apps/itest/lib/transactions/currency.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
27.326923
103
0.680155
7a9dfbfb72ae38746850c448c0821d7d28a49a13
4,909
exs
Elixir
apps/ewallet_db/test/ewallet_db/token_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet_db/test/ewallet_db/token_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/test/ewallet_db/token_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWalletDB.TokenTest do use EWalletDB.SchemaCase alias EWalletDB.Token describe "Token factory" do test_has_valid_factory(Token) test_encrypted_map_field(Token, "token", :encrypted_metadata) end describe "insert/1" do test_insert_generate_uuid(Token, :uuid) test_insert_generate_uuid...
32.296053
96
0.613567
7a9e006c2e0b37027beea80619a062c132751728
353
exs
Elixir
priv/repo/seeds.exs
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
3
2018-05-29T12:16:14.000Z
2019-09-25T21:12:36.000Z
priv/repo/seeds.exs
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
23
2018-05-25T21:09:43.000Z
2021-12-16T05:45:25.000Z
priv/repo/seeds.exs
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "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: # # Bearings.Repo.insert!(%Bearings.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they wi...
29.416667
61
0.708215
7a9e57e0e53ffd3d733c0b77adf025e39197a1ec
1,495
ex
Elixir
clients/chat/lib/google_api/chat/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/chat/lib/google_api/chat/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/chat/lib/google_api/chat/v1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.595238
345
0.752508