Skip to content

Instantly share code, notes, and snippets.

View mostlyobvious's full-sized avatar

Paweł Pacana mostlyobvious

View GitHub Profile
require "bundler/inline"
gemfile do
source "https://rubygems.org"
ruby "2.7.8" # keyword-hash deprecation warnings
gem "concurrent-ruby", "1.3.3"
end
\timing
\set records 1_000_000
\set repeat 10
CREATE OR REPLACE FUNCTION mk_name (i integer, d integer)
RETURNS varchar
AS $$
DECLARE
separator varchar := '$';
id integer := i % d;
module KakaDudu exposing (..)
import Browser
import Dict
import Html exposing (..)
import Task
import Time
import TimeZone
require "bundler/inline"
gemfile do
source "https://rubygems.org"
gem "sequel"
gem "pg"
gem "concurrent-ruby"
end
require "securerandom"
# frozen_string_literal: true
require "bundler/inline"
gemfile do
source "https://rubygems.org"
gem "sequel"
gem "pg"
gem "concurrent-ruby"
gem "benchmark-ips"
Coverband: detected SimpleCov in test Env, allowing it to start Coverage
Coverband: to ensure no error logs or missing Coverage call `SimpleCov.start` prior to requiring Coverband
E, [2024-01-12T13:17:58.428001 #82678] ERROR -- : coverage failed to store
E, [2024-01-12T13:17:58.428035 #82678] ERROR -- : Coverband Error: #<RuntimeError: coverage measurement is not enabled> coverage measurement is not enabled
E, [2024-01-12T13:17:58.830948 #82678] ERROR -- : coverage failed to store
E, [2024-01-12T13:17:58.830980 #82678] ERROR -- : Coverband Error: #<RuntimeError: coverage measurement is not enabled> coverage measurement is not enabled
Module#name from: REXML::Functions raised an error: #<NoMethodError: undefined method `[]' for nil:NilClass>. Fix your lib to follow normal ruby semantics!
{Module,Class}#name should return resolvable constant name as String or nil
Class#name from: Faker::Travel::Airport raised an error: #<ArgumentError: missing keywords: :size, :region>. Fix your lib to follow normal ruby semant
Coverband: detected SimpleCov in test Env, allowing it to start Coverage
Coverband: to ensure no error logs or missing Coverage call `SimpleCov.start` prior to requiring Coverband
E, [2024-01-12T13:15:02.944498 #82333] ERROR -- : coverage failed to store
E, [2024-01-12T13:15:02.944537 #82333] ERROR -- : Coverband Error: #<RuntimeError: coverage measurement is not enabled> coverage measurement is not enabled
E, [2024-01-12T13:15:03.339597 #82333] ERROR -- : coverage failed to store
E, [2024-01-12T13:15:03.339629 #82333] ERROR -- : Coverband Error: #<RuntimeError: coverage measurement is not enabled> coverage measurement is not enabled
Module#name from: REXML::Functions raised an error: #<NoMethodError: undefined method `[]' for nil:NilClass>. Fix your lib to follow normal ruby semantics!
{Module,Class}#name should return resolvable constant name as String or nil
Class#name from: Faker::Travel::Airport raised an error: #<ArgumentError: missing keywords: :size, :region>. Fix your lib to follow normal ruby semant
#!/usr/bin/env ruby
require "bundler/inline"
require "json"
gemfile do
source "https://rubygems.org"
gem "rails_event_store", "2.9.1"
gem "railties", "~> 7.0.0"
end
#!/usr/bin/env ruby
require "bundler/inline"
require "json"
gemfile do
source "https://rubygems.org"
gem "rails_event_store", "2.9.1"
gem "railties", "~> 7.0.0"
end
#!/usr/bin/env ruby
require "bundler/inline"
require "json"
gemfile do
source "https://rubygems.org"
gem "rails_event_store", "2.9.1"
gem "railties", "~> 7.0.0"
end